@scalekit-sdk/node 2.0.1 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jest.config.js +15 -0
- package/lib/core.d.ts +1 -1
- package/lib/core.js +31 -31
- package/lib/core.js.map +1 -1
- package/lib/domain.d.ts +6 -2
- package/lib/domain.js +4 -4
- package/lib/domain.js.map +1 -1
- package/lib/errors/base-exception.d.ts +32 -0
- package/lib/errors/base-exception.js +238 -0
- package/lib/errors/base-exception.js.map +1 -0
- package/lib/errors/index.d.ts +2 -0
- package/lib/errors/index.js +20 -0
- package/lib/errors/index.js.map +1 -0
- package/lib/errors/specific-exceptions.d.ts +39 -0
- package/lib/errors/specific-exceptions.js +90 -0
- package/lib/errors/specific-exceptions.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +34 -87
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +31 -120
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +19 -10
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +18 -9
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +213 -6
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +273 -5
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +34 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +45 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +29 -0
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +43 -1
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +21 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +20 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +110 -5
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +164 -5
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +48 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +47 -0
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +289 -4
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +452 -11
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/scalekit.d.ts +3 -3
- package/lib/scalekit.js +35 -22
- package/lib/scalekit.js.map +1 -1
- package/lib/types/user.d.ts +1 -1
- package/lib/user.d.ts +10 -3
- package/lib/user.js +26 -5
- package/lib/user.js.map +1 -1
- package/package.json +6 -2
- package/src/core.ts +31 -32
- package/src/domain.ts +6 -3
- package/src/errors/base-exception.ts +262 -0
- package/src/errors/index.ts +3 -0
- package/src/errors/specific-exceptions.ts +88 -0
- package/src/index.ts +3 -1
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +49 -129
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +19 -10
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +383 -8
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +50 -0
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +55 -0
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +21 -1
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +218 -5
- package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +48 -1
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +571 -6
- package/src/scalekit.ts +39 -23
- package/src/types/user.ts +1 -1
- package/src/user.ts +34 -7
- package/tests/README.md +25 -0
- package/tests/connection.test.ts +42 -0
- package/tests/directory.test.ts +46 -0
- package/tests/domain.test.ts +176 -0
- package/tests/organization.test.ts +65 -0
- package/tests/passwordless.test.ts +108 -0
- package/tests/scalekit.test.ts +104 -0
- package/tests/setup.ts +34 -0
- package/tests/users.test.ts +168 -0
- package/tests/utils/test-data.ts +314 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
-
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
+
import { Domain } from "../domains/domains_pb.js";
|
|
3
4
|
/**
|
|
4
5
|
* @generated from enum scalekit.v1.connections.CodeChallengeType
|
|
5
6
|
*/
|
|
@@ -218,7 +219,19 @@ export declare enum ConnectionType {
|
|
|
218
219
|
/**
|
|
219
220
|
* @generated from enum value: PASSWORDLESS = 5;
|
|
220
221
|
*/
|
|
221
|
-
PASSWORDLESS = 5
|
|
222
|
+
PASSWORDLESS = 5,
|
|
223
|
+
/**
|
|
224
|
+
* @generated from enum value: BASIC = 6;
|
|
225
|
+
*/
|
|
226
|
+
BASIC = 6,
|
|
227
|
+
/**
|
|
228
|
+
* @generated from enum value: BEARER = 7;
|
|
229
|
+
*/
|
|
230
|
+
BEARER = 7,
|
|
231
|
+
/**
|
|
232
|
+
* @generated from enum value: API_KEY = 8;
|
|
233
|
+
*/
|
|
234
|
+
API_KEY = 8
|
|
222
235
|
}
|
|
223
236
|
/**
|
|
224
237
|
* @generated from enum scalekit.v1.connections.ConnectionStatus
|
|
@@ -314,6 +327,48 @@ export declare enum ConnectionProvider {
|
|
|
314
327
|
*/
|
|
315
328
|
ADFS = 16
|
|
316
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* @generated from message scalekit.v1.connections.AssignDomainsToConnectionRequest
|
|
332
|
+
*/
|
|
333
|
+
export declare class AssignDomainsToConnectionRequest extends Message<AssignDomainsToConnectionRequest> {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: string organization_id = 1;
|
|
336
|
+
*/
|
|
337
|
+
organizationId: string;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: string connection_id = 2;
|
|
340
|
+
*/
|
|
341
|
+
connectionId: string;
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: repeated string domain_ids = 3;
|
|
344
|
+
*/
|
|
345
|
+
domainIds: string[];
|
|
346
|
+
constructor(data?: PartialMessage<AssignDomainsToConnectionRequest>);
|
|
347
|
+
static readonly runtime: typeof proto3;
|
|
348
|
+
static readonly typeName = "scalekit.v1.connections.AssignDomainsToConnectionRequest";
|
|
349
|
+
static readonly fields: FieldList;
|
|
350
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignDomainsToConnectionRequest;
|
|
351
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionRequest;
|
|
352
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionRequest;
|
|
353
|
+
static equals(a: AssignDomainsToConnectionRequest | PlainMessage<AssignDomainsToConnectionRequest> | undefined, b: AssignDomainsToConnectionRequest | PlainMessage<AssignDomainsToConnectionRequest> | undefined): boolean;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* @generated from message scalekit.v1.connections.AssignDomainsToConnectionResponse
|
|
357
|
+
*/
|
|
358
|
+
export declare class AssignDomainsToConnectionResponse extends Message<AssignDomainsToConnectionResponse> {
|
|
359
|
+
/**
|
|
360
|
+
* @generated from field: scalekit.v1.connections.Connection connection = 1;
|
|
361
|
+
*/
|
|
362
|
+
connection?: Connection;
|
|
363
|
+
constructor(data?: PartialMessage<AssignDomainsToConnectionResponse>);
|
|
364
|
+
static readonly runtime: typeof proto3;
|
|
365
|
+
static readonly typeName = "scalekit.v1.connections.AssignDomainsToConnectionResponse";
|
|
366
|
+
static readonly fields: FieldList;
|
|
367
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignDomainsToConnectionResponse;
|
|
368
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionResponse;
|
|
369
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionResponse;
|
|
370
|
+
static equals(a: AssignDomainsToConnectionResponse | PlainMessage<AssignDomainsToConnectionResponse> | undefined, b: AssignDomainsToConnectionResponse | PlainMessage<AssignDomainsToConnectionResponse> | undefined): boolean;
|
|
371
|
+
}
|
|
317
372
|
/**
|
|
318
373
|
* @generated from message scalekit.v1.connections.GetProvidersRequest
|
|
319
374
|
*/
|
|
@@ -377,6 +432,10 @@ export declare class CreateEnvironmentConnectionRequest extends Message<CreateEn
|
|
|
377
432
|
* @generated from field: scalekit.v1.connections.CreateConnection connection = 1;
|
|
378
433
|
*/
|
|
379
434
|
connection?: CreateConnection;
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: optional scalekit.v1.connections.Flags flags = 2;
|
|
437
|
+
*/
|
|
438
|
+
flags?: Flags;
|
|
380
439
|
constructor(data?: PartialMessage<CreateEnvironmentConnectionRequest>);
|
|
381
440
|
static readonly runtime: typeof proto3;
|
|
382
441
|
static readonly typeName = "scalekit.v1.connections.CreateEnvironmentConnectionRequest";
|
|
@@ -419,6 +478,14 @@ export declare class CreateConnection extends Message<CreateConnection> {
|
|
|
419
478
|
* @generated from field: scalekit.v1.connections.ConnectionType type = 2;
|
|
420
479
|
*/
|
|
421
480
|
type: ConnectionType;
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: string provider_key = 3;
|
|
483
|
+
*/
|
|
484
|
+
providerKey: string;
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: optional string key_id = 4;
|
|
487
|
+
*/
|
|
488
|
+
keyId?: string;
|
|
422
489
|
constructor(data?: PartialMessage<CreateConnection>);
|
|
423
490
|
static readonly runtime: typeof proto3;
|
|
424
491
|
static readonly typeName = "scalekit.v1.connections.CreateConnection";
|
|
@@ -513,14 +580,28 @@ export declare class Connection extends Message<Connection> {
|
|
|
513
580
|
*/
|
|
514
581
|
value: PasswordLessConfig;
|
|
515
582
|
case: "passwordlessConfig";
|
|
583
|
+
} | {
|
|
584
|
+
/**
|
|
585
|
+
* @generated from field: scalekit.v1.connections.StaticAuthConfig static_config = 26;
|
|
586
|
+
*/
|
|
587
|
+
value: StaticAuthConfig;
|
|
588
|
+
case: "staticConfig";
|
|
516
589
|
} | {
|
|
517
590
|
case: undefined;
|
|
518
591
|
value?: undefined;
|
|
519
592
|
};
|
|
520
593
|
/**
|
|
521
|
-
* @generated from field: optional string key_id =
|
|
594
|
+
* @generated from field: optional string key_id = 25;
|
|
522
595
|
*/
|
|
523
596
|
keyId?: string;
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: string provider_key = 23;
|
|
599
|
+
*/
|
|
600
|
+
providerKey: string;
|
|
601
|
+
/**
|
|
602
|
+
* @generated from field: repeated scalekit.v1.domains.Domain domains = 24;
|
|
603
|
+
*/
|
|
604
|
+
domains: Domain[];
|
|
524
605
|
constructor(data?: PartialMessage<Connection>);
|
|
525
606
|
static readonly runtime: typeof proto3;
|
|
526
607
|
static readonly typeName = "scalekit.v1.connections.Connection";
|
|
@@ -650,14 +731,24 @@ export declare class UpdateConnection extends Message<UpdateConnection> {
|
|
|
650
731
|
*/
|
|
651
732
|
value: PasswordLessConfig;
|
|
652
733
|
case: "passwordlessConfig";
|
|
734
|
+
} | {
|
|
735
|
+
/**
|
|
736
|
+
* @generated from field: scalekit.v1.connections.StaticAuthConfig static_config = 23;
|
|
737
|
+
*/
|
|
738
|
+
value: StaticAuthConfig;
|
|
739
|
+
case: "staticConfig";
|
|
653
740
|
} | {
|
|
654
741
|
case: undefined;
|
|
655
742
|
value?: undefined;
|
|
656
743
|
};
|
|
657
744
|
/**
|
|
658
|
-
* @generated from field: optional string key_id =
|
|
745
|
+
* @generated from field: optional string key_id = 22;
|
|
659
746
|
*/
|
|
660
747
|
keyId?: string;
|
|
748
|
+
/**
|
|
749
|
+
* @generated from field: string provider_key = 21;
|
|
750
|
+
*/
|
|
751
|
+
providerKey: string;
|
|
661
752
|
constructor(data?: PartialMessage<UpdateConnection>);
|
|
662
753
|
static readonly runtime: typeof proto3;
|
|
663
754
|
static readonly typeName = "scalekit.v1.connections.UpdateConnection";
|
|
@@ -859,6 +950,18 @@ export declare class ListConnection extends Message<ListConnection> {
|
|
|
859
950
|
* @generated from field: string organization_name = 9;
|
|
860
951
|
*/
|
|
861
952
|
organizationName: string;
|
|
953
|
+
/**
|
|
954
|
+
* @generated from field: string provider_key = 10;
|
|
955
|
+
*/
|
|
956
|
+
providerKey: string;
|
|
957
|
+
/**
|
|
958
|
+
* @generated from field: string key_id = 11;
|
|
959
|
+
*/
|
|
960
|
+
keyId: string;
|
|
961
|
+
/**
|
|
962
|
+
* @generated from field: google.protobuf.Timestamp created_at = 12;
|
|
963
|
+
*/
|
|
964
|
+
createdAt?: Timestamp;
|
|
862
965
|
constructor(data?: PartialMessage<ListConnection>);
|
|
863
966
|
static readonly runtime: typeof proto3;
|
|
864
967
|
static readonly typeName = "scalekit.v1.connections.ListConnection";
|
|
@@ -927,9 +1030,9 @@ export declare class SearchOrganizationConnectionsRequest extends Message<Search
|
|
|
927
1030
|
*/
|
|
928
1031
|
query?: string;
|
|
929
1032
|
/**
|
|
930
|
-
* @generated from field: optional
|
|
1033
|
+
* @generated from field: optional string provider = 2;
|
|
931
1034
|
*/
|
|
932
|
-
provider?:
|
|
1035
|
+
provider?: string;
|
|
933
1036
|
/**
|
|
934
1037
|
* @generated from field: optional scalekit.v1.connections.ConnectionStatus status = 3;
|
|
935
1038
|
*/
|
|
@@ -938,6 +1041,10 @@ export declare class SearchOrganizationConnectionsRequest extends Message<Search
|
|
|
938
1041
|
* @generated from field: optional scalekit.v1.connections.ConnectionType connection_type = 4;
|
|
939
1042
|
*/
|
|
940
1043
|
connectionType?: ConnectionType;
|
|
1044
|
+
/**
|
|
1045
|
+
* @generated from field: optional bool enabled = 7;
|
|
1046
|
+
*/
|
|
1047
|
+
enabled?: boolean;
|
|
941
1048
|
/**
|
|
942
1049
|
* @generated from field: uint32 page_size = 5;
|
|
943
1050
|
*/
|
|
@@ -1160,6 +1267,10 @@ export declare class OAuthConnectionConfig extends Message<OAuthConnectionConfig
|
|
|
1160
1267
|
* @generated from field: google.protobuf.BoolValue use_platform_creds = 15;
|
|
1161
1268
|
*/
|
|
1162
1269
|
usePlatformCreds?: boolean;
|
|
1270
|
+
/**
|
|
1271
|
+
* @generated from field: google.protobuf.StringValue access_type = 16;
|
|
1272
|
+
*/
|
|
1273
|
+
accessType?: string;
|
|
1163
1274
|
constructor(data?: PartialMessage<OAuthConnectionConfig>);
|
|
1164
1275
|
static readonly runtime: typeof proto3;
|
|
1165
1276
|
static readonly typeName = "scalekit.v1.connections.OAuthConnectionConfig";
|
|
@@ -1197,6 +1308,10 @@ export declare class PasswordLessConfig extends Message<PasswordLessConfig> {
|
|
|
1197
1308
|
* @generated from field: optional scalekit.v1.connections.CodeChallengeType code_challenge_type = 6;
|
|
1198
1309
|
*/
|
|
1199
1310
|
codeChallengeType?: CodeChallengeType;
|
|
1311
|
+
/**
|
|
1312
|
+
* @generated from field: optional google.protobuf.BoolValue regenerate_passwordless_credentials_on_resend = 7;
|
|
1313
|
+
*/
|
|
1314
|
+
regeneratePasswordlessCredentialsOnResend?: boolean;
|
|
1200
1315
|
constructor(data?: PartialMessage<PasswordLessConfig>);
|
|
1201
1316
|
static readonly runtime: typeof proto3;
|
|
1202
1317
|
static readonly typeName = "scalekit.v1.connections.PasswordLessConfig";
|
|
@@ -1206,6 +1321,23 @@ export declare class PasswordLessConfig extends Message<PasswordLessConfig> {
|
|
|
1206
1321
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PasswordLessConfig;
|
|
1207
1322
|
static equals(a: PasswordLessConfig | PlainMessage<PasswordLessConfig> | undefined, b: PasswordLessConfig | PlainMessage<PasswordLessConfig> | undefined): boolean;
|
|
1208
1323
|
}
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from message scalekit.v1.connections.StaticAuthConfig
|
|
1326
|
+
*/
|
|
1327
|
+
export declare class StaticAuthConfig extends Message<StaticAuthConfig> {
|
|
1328
|
+
/**
|
|
1329
|
+
* @generated from field: google.protobuf.Struct static_config = 1;
|
|
1330
|
+
*/
|
|
1331
|
+
staticConfig?: Struct;
|
|
1332
|
+
constructor(data?: PartialMessage<StaticAuthConfig>);
|
|
1333
|
+
static readonly runtime: typeof proto3;
|
|
1334
|
+
static readonly typeName = "scalekit.v1.connections.StaticAuthConfig";
|
|
1335
|
+
static readonly fields: FieldList;
|
|
1336
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StaticAuthConfig;
|
|
1337
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StaticAuthConfig;
|
|
1338
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StaticAuthConfig;
|
|
1339
|
+
static equals(a: StaticAuthConfig | PlainMessage<StaticAuthConfig> | undefined, b: StaticAuthConfig | PlainMessage<StaticAuthConfig> | undefined): boolean;
|
|
1340
|
+
}
|
|
1209
1341
|
/**
|
|
1210
1342
|
* @generated from message scalekit.v1.connections.SAMLConnectionConfigRequest
|
|
1211
1343
|
*/
|
|
@@ -1689,3 +1821,78 @@ export declare class PasswordConnectionConfig extends Message<PasswordConnection
|
|
|
1689
1821
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PasswordConnectionConfig;
|
|
1690
1822
|
static equals(a: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined, b: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined): boolean;
|
|
1691
1823
|
}
|
|
1824
|
+
/**
|
|
1825
|
+
* @generated from message scalekit.v1.connections.Flags
|
|
1826
|
+
*/
|
|
1827
|
+
export declare class Flags extends Message<Flags> {
|
|
1828
|
+
/**
|
|
1829
|
+
* @generated from field: bool is_login = 1;
|
|
1830
|
+
*/
|
|
1831
|
+
isLogin: boolean;
|
|
1832
|
+
/**
|
|
1833
|
+
* @generated from field: bool is_app = 2;
|
|
1834
|
+
*/
|
|
1835
|
+
isApp: boolean;
|
|
1836
|
+
constructor(data?: PartialMessage<Flags>);
|
|
1837
|
+
static readonly runtime: typeof proto3;
|
|
1838
|
+
static readonly typeName = "scalekit.v1.connections.Flags";
|
|
1839
|
+
static readonly fields: FieldList;
|
|
1840
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Flags;
|
|
1841
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Flags;
|
|
1842
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Flags;
|
|
1843
|
+
static equals(a: Flags | PlainMessage<Flags> | undefined, b: Flags | PlainMessage<Flags> | undefined): boolean;
|
|
1844
|
+
}
|
|
1845
|
+
/**
|
|
1846
|
+
* @generated from message scalekit.v1.connections.ListAppConnectionsRequest
|
|
1847
|
+
*/
|
|
1848
|
+
export declare class ListAppConnectionsRequest extends Message<ListAppConnectionsRequest> {
|
|
1849
|
+
/**
|
|
1850
|
+
* @generated from field: uint32 page_size = 1;
|
|
1851
|
+
*/
|
|
1852
|
+
pageSize: number;
|
|
1853
|
+
/**
|
|
1854
|
+
* @generated from field: string page_token = 2;
|
|
1855
|
+
*/
|
|
1856
|
+
pageToken: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* @generated from field: optional string provider = 3;
|
|
1859
|
+
*/
|
|
1860
|
+
provider?: string;
|
|
1861
|
+
constructor(data?: PartialMessage<ListAppConnectionsRequest>);
|
|
1862
|
+
static readonly runtime: typeof proto3;
|
|
1863
|
+
static readonly typeName = "scalekit.v1.connections.ListAppConnectionsRequest";
|
|
1864
|
+
static readonly fields: FieldList;
|
|
1865
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAppConnectionsRequest;
|
|
1866
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAppConnectionsRequest;
|
|
1867
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAppConnectionsRequest;
|
|
1868
|
+
static equals(a: ListAppConnectionsRequest | PlainMessage<ListAppConnectionsRequest> | undefined, b: ListAppConnectionsRequest | PlainMessage<ListAppConnectionsRequest> | undefined): boolean;
|
|
1869
|
+
}
|
|
1870
|
+
/**
|
|
1871
|
+
* @generated from message scalekit.v1.connections.ListAppConnectionsResponse
|
|
1872
|
+
*/
|
|
1873
|
+
export declare class ListAppConnectionsResponse extends Message<ListAppConnectionsResponse> {
|
|
1874
|
+
/**
|
|
1875
|
+
* @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
|
|
1876
|
+
*/
|
|
1877
|
+
connections: ListConnection[];
|
|
1878
|
+
/**
|
|
1879
|
+
* @generated from field: string next_page_token = 2;
|
|
1880
|
+
*/
|
|
1881
|
+
nextPageToken: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* @generated from field: string prev_page_token = 3;
|
|
1884
|
+
*/
|
|
1885
|
+
prevPageToken: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* @generated from field: uint32 total_size = 4;
|
|
1888
|
+
*/
|
|
1889
|
+
totalSize: number;
|
|
1890
|
+
constructor(data?: PartialMessage<ListAppConnectionsResponse>);
|
|
1891
|
+
static readonly runtime: typeof proto3;
|
|
1892
|
+
static readonly typeName = "scalekit.v1.connections.ListAppConnectionsResponse";
|
|
1893
|
+
static readonly fields: FieldList;
|
|
1894
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAppConnectionsResponse;
|
|
1895
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAppConnectionsResponse;
|
|
1896
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAppConnectionsResponse;
|
|
1897
|
+
static equals(a: ListAppConnectionsResponse | PlainMessage<ListAppConnectionsResponse> | undefined, b: ListAppConnectionsResponse | PlainMessage<ListAppConnectionsResponse> | undefined): boolean;
|
|
1898
|
+
}
|