Skip to content

Commit

Permalink
bump build
Browse files Browse the repository at this point in the history
  • Loading branch information
nkbhasker committed May 1, 2024
1 parent 7aeb716 commit 1e6b727
Show file tree
Hide file tree
Showing 22 changed files with 253 additions and 239 deletions.
2 changes: 1 addition & 1 deletion lib/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions lib/organization.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PartialMessage } from '@bufbuild/protobuf';
import GrpcConnect from './connect';
import CoreClient from './core';
import { CreateOrganizationResponse, GetOrganizationResponse, ListOrganizationsResponse, UpdateOrganization, UpdateOrganizationResponse } from './pkg/grpc/scalekit/v1/organizations/organizations_pb';
import { CreateOrganizationResponse, GetOrganizationResponse, Link, ListOrganizationsResponse, UpdateOrganization, UpdateOrganizationResponse } from './pkg/grpc/scalekit/v1/organizations/organizations_pb';
export default class OrganizationClient {
private readonly grpcConncet;
private readonly coreClient;
Expand Down Expand Up @@ -56,9 +56,9 @@ export default class OrganizationClient {
*/
updateOrganizationByExternalId(externalId: string, organization: PartialMessage<UpdateOrganization>): Promise<UpdateOrganizationResponse>;
/**
* Generate customer portal link for an organization
* Generate admin portal link for an organization
* @param organizationId The organization id
* @returns {Promise<string>} The customer portal link
* @returns {Promise<Link>} The admin portal link object with expiration time and location
*/
generateCustomerPortalLink(organizationId: string): Promise<string>;
generatePortalLink(organizationId: string): Promise<Link>;
}
13 changes: 6 additions & 7 deletions lib/organization.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/organization.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/pkg/grpc/scalekit/v1/commons/commons_pb.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CreateConnectionRequest, CreateConnectionResponse, DeleteConnectionRequest, DisableConnectionRequest, EnableConnectionRequest, GetConnectionRequest, GetConnectionResponse, ListConnectionsRequest, ListConnectionsResponse, ToggleConnectionResponse, UpdateConnectionRequest, UpdateConnectionResponse } from "./connections_pb.js";
import { CreateConnectionRequest, CreateConnectionResponse, DeleteConnectionRequest, GetConnectionRequest, GetConnectionResponse, ListConnectionsRequest, ListConnectionsResponse, ToggleConnectionRequest, ToggleConnectionResponse, UpdateConnectionRequest, UpdateConnectionResponse } from "./connections_pb.js";
import { Empty, MethodKind } from "@bufbuild/protobuf";
/**
* @generated from service scalekit.v1.connections.ConnectionService
Expand Down Expand Up @@ -56,7 +56,7 @@ export declare const ConnectionService: {
*/
readonly enableConnection: {
readonly name: "EnableConnection";
readonly I: typeof EnableConnectionRequest;
readonly I: typeof ToggleConnectionRequest;
readonly O: typeof ToggleConnectionResponse;
readonly kind: MethodKind.Unary;
};
Expand All @@ -65,7 +65,7 @@ export declare const ConnectionService: {
*/
readonly disableConnection: {
readonly name: "DisableConnection";
readonly I: typeof DisableConnectionRequest;
readonly I: typeof ToggleConnectionRequest;
readonly O: typeof ToggleConnectionResponse;
readonly kind: MethodKind.Unary;
};
Expand Down
4 changes: 2 additions & 2 deletions lib/pkg/grpc/scalekit/v1/connections/connections_connect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 19 additions & 55 deletions lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,50 +420,50 @@ export declare class UpdateConnectionRequest extends Message<UpdateConnectionReq
*/
export declare class UpdateConnection extends Message<UpdateConnection> {
/**
* @generated from field: scalekit.v1.connections.ConnectionProvider provider = 1;
* @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
*/
provider: ConnectionProvider;
/**
* @generated from field: scalekit.v1.connections.ConnectionType type = 2;
* @generated from field: scalekit.v1.connections.ConnectionType type = 3;
*/
type: ConnectionType;
/**
* @generated from field: google.protobuf.BoolValue debug_enabled = 3;
* @generated from field: google.protobuf.BoolValue debug_enabled = 6;
*/
debugEnabled?: boolean;
/**
* @generated from field: google.protobuf.StringValue ui_button_title = 4;
* @generated from field: google.protobuf.StringValue ui_button_title = 8;
*/
uiButtonTitle?: string;
/**
* @generated from field: google.protobuf.StringValue logout_uri = 5;
* @generated from field: google.protobuf.StringValue logout_uri = 10;
*/
logoutUri?: string;
/**
* @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 6;
* @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 11;
*/
configurationType: ConfigurationType;
/**
* @generated from oneof scalekit.v1.connections.UpdateConnection.settings
*/
settings: {
/**
* @generated from field: scalekit.v1.connections.OIDCConnectionConfig oidc_config = 7;
* @generated from field: scalekit.v1.connections.OIDCConnectionConfig oidc_config = 13;
*/
value: OIDCConnectionConfig;
case: "oidcConfig";
} | {
/**
* @generated from field: scalekit.v1.connections.SAMLConnectionConfigRequest saml_config = 8;
* @generated from field: scalekit.v1.connections.SAMLConnectionConfigResponse saml_config = 14;
*/
value: SAMLConnectionConfigRequest;
value: SAMLConnectionConfigResponse;
case: "samlConfig";
} | {
case: undefined;
value?: undefined;
};
/**
* @generated from field: map<string, string> attribute_mapping = 9;
* @generated from field: map<string, string> attribute_mapping = 15;
*/
attributeMapping: {
[key: string]: string;
Expand Down Expand Up @@ -684,47 +684,11 @@ export declare class ListConnection extends Message<ListConnection> {
static equals(a: ListConnection | PlainMessage<ListConnection> | undefined, b: ListConnection | PlainMessage<ListConnection> | undefined): boolean;
}
/**
* @generated from message scalekit.v1.connections.EnableConnectionRequest
*/
export declare class EnableConnectionRequest extends Message<EnableConnectionRequest> {
/**
* @generated from oneof scalekit.v1.connections.EnableConnectionRequest.identities
*/
identities: {
/**
* @generated from field: string organization_id = 1;
*/
value: string;
case: "organizationId";
} | {
/**
* @generated from field: string external_id = 2;
*/
value: string;
case: "externalId";
} | {
case: undefined;
value?: undefined;
};
/**
* @generated from field: string id = 3;
*/
id: string;
constructor(data?: PartialMessage<EnableConnectionRequest>);
static readonly runtime: typeof proto3;
static readonly typeName = "scalekit.v1.connections.EnableConnectionRequest";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnableConnectionRequest;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnableConnectionRequest;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnableConnectionRequest;
static equals(a: EnableConnectionRequest | PlainMessage<EnableConnectionRequest> | undefined, b: EnableConnectionRequest | PlainMessage<EnableConnectionRequest> | undefined): boolean;
}
/**
* @generated from message scalekit.v1.connections.DisableConnectionRequest
* @generated from message scalekit.v1.connections.ToggleConnectionRequest
*/
export declare class DisableConnectionRequest extends Message<DisableConnectionRequest> {
export declare class ToggleConnectionRequest extends Message<ToggleConnectionRequest> {
/**
* @generated from oneof scalekit.v1.connections.DisableConnectionRequest.identities
* @generated from oneof scalekit.v1.connections.ToggleConnectionRequest.identities
*/
identities: {
/**
Expand All @@ -746,14 +710,14 @@ export declare class DisableConnectionRequest extends Message<DisableConnectionR
* @generated from field: string id = 3;
*/
id: string;
constructor(data?: PartialMessage<DisableConnectionRequest>);
constructor(data?: PartialMessage<ToggleConnectionRequest>);
static readonly runtime: typeof proto3;
static readonly typeName = "scalekit.v1.connections.DisableConnectionRequest";
static readonly typeName = "scalekit.v1.connections.ToggleConnectionRequest";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisableConnectionRequest;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisableConnectionRequest;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisableConnectionRequest;
static equals(a: DisableConnectionRequest | PlainMessage<DisableConnectionRequest> | undefined, b: DisableConnectionRequest | PlainMessage<DisableConnectionRequest> | undefined): boolean;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleConnectionRequest;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleConnectionRequest;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleConnectionRequest;
static equals(a: ToggleConnectionRequest | PlainMessage<ToggleConnectionRequest> | undefined, b: ToggleConnectionRequest | PlainMessage<ToggleConnectionRequest> | undefined): boolean;
}
/**
* @generated from message scalekit.v1.connections.ToggleConnectionResponse
Expand Down
Loading

0 comments on commit 1e6b727

Please sign in to comment.