@scalekit-sdk/node 2.2.0-beta.0 → 2.2.0
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/.nvmrc +1 -1
- package/README.md +5 -5
- package/buf.gen.yaml +1 -5
- package/lib/auth.d.ts +9 -6
- package/lib/auth.js +4 -20
- package/lib/auth.js.map +1 -1
- package/lib/connect.d.ts +3 -3
- package/lib/connect.js +1 -2
- package/lib/connect.js.map +1 -1
- package/lib/connection.d.ts +2 -2
- package/lib/connection.js +4 -4
- package/lib/connection.js.map +1 -1
- package/lib/core.js +2 -2
- package/lib/core.js.map +1 -1
- package/lib/directory.d.ts +2 -2
- package/lib/directory.js +7 -7
- package/lib/directory.js.map +1 -1
- package/lib/domain.d.ts +6 -5
- package/lib/domain.js +4 -5
- package/lib/domain.js.map +1 -1
- package/lib/errors/base-exception.d.ts +1 -1
- package/lib/errors/base-exception.js +1 -1
- package/lib/errors/base-exception.js.map +1 -1
- package/lib/organization.d.ts +10 -9
- package/lib/organization.js +11 -9
- package/lib/organization.js.map +1 -1
- package/lib/passwordless.d.ts +2 -2
- package/lib/passwordless.js +8 -7
- package/lib/passwordless.js.map +1 -1
- package/lib/permission.d.ts +6 -5
- package/lib/permission.js +10 -11
- package/lib/permission.js.map +1 -1
- package/lib/pkg/grpc/buf/validate/validate_pb.d.ts +7 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js +25 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js +25 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js +25 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/visibility_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js +25 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js.map +1 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js +25 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +48 -42
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +27 -263
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +371 -325
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +132 -835
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +113 -87
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +45 -201
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +262 -265
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js +92 -938
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +162 -157
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +42 -313
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1488 -1459
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +353 -2362
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +520 -483
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +224 -1555
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +219 -191
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +96 -553
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +76 -102
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +37 -393
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +36 -26
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +20 -69
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +447 -400
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +163 -1238
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +622 -556
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +201 -1718
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +135 -132
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +55 -518
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +445 -413
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +142 -1490
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/role.d.ts +8 -7
- package/lib/role.js +14 -14
- package/lib/role.js.map +1 -1
- package/lib/scalekit.d.ts +0 -4
- package/lib/scalekit.js +0 -4
- package/lib/scalekit.js.map +1 -1
- package/lib/session.js +15 -24
- package/lib/session.js.map +1 -1
- package/lib/user.d.ts +6 -5
- package/lib/user.js +17 -20
- package/lib/user.js.map +1 -1
- package/lib/webauthn.js +6 -5
- package/lib/webauthn.js.map +1 -1
- package/package.json +6 -10
- package/reference.md +0 -671
- package/src/auth.ts +17 -17
- package/src/connect.ts +4 -5
- package/src/connection.ts +5 -5
- package/src/core.ts +2 -2
- package/src/directory.ts +8 -8
- package/src/domain.ts +9 -8
- package/src/errors/base-exception.ts +3 -2
- package/src/organization.ts +18 -15
- package/src/passwordless.ts +12 -11
- package/src/permission.ts +15 -15
- package/src/pkg/grpc/buf/validate/validate_pb.ts +28 -0
- package/src/pkg/grpc/google/api/annotations_pb.ts +28 -0
- package/src/pkg/grpc/google/api/field_behavior_pb.ts +28 -0
- package/src/pkg/grpc/google/api/visibility_pb.ts +28 -0
- package/src/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.ts +28 -0
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +97 -182
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +473 -850
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +153 -225
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +361 -830
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +237 -358
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +1625 -2826
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +687 -1413
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +286 -542
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +115 -328
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +50 -80
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +558 -1183
- package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +765 -1669
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +195 -447
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +592 -1339
- package/src/role.ts +21 -19
- package/src/scalekit.ts +0 -9
- package/src/session.ts +20 -34
- package/src/user.ts +30 -26
- package/src/webauthn.ts +10 -9
- package/tests/utils/test-data.ts +17 -8
- package/lib/connected-accounts.d.ts +0 -96
- package/lib/connected-accounts.js +0 -186
- package/lib/connected-accounts.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +0 -19
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +0 -27
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +0 -118
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +0 -126
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +0 -37
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +0 -45
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.d.ts +0 -82
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js +0 -90
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.d.ts +0 -87
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js +0 -95
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.d.ts +0 -718
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js +0 -893
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +0 -172
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +0 -180
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +0 -154
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +0 -162
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +0 -73
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +0 -81
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +0 -171
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +0 -179
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +0 -250
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +0 -258
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +0 -46
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +0 -54
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.d.ts +0 -75
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js +0 -83
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.d.ts +0 -431
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js +0 -627
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +0 -173
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +0 -181
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +0 -1
- package/lib/tools.d.ts +0 -75
- package/lib/tools.js +0 -127
- package/lib/tools.js.map +0 -1
- package/src/connected-accounts.ts +0 -283
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +0 -26
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +0 -125
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +0 -44
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +0 -89
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.ts +0 -94
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.ts +0 -1294
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +0 -179
- package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +0 -161
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +0 -80
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +0 -178
- package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +0 -257
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +0 -53
- package/src/pkg/grpc/scalekit/v1/tools/tools_connect.ts +0 -82
- package/src/pkg/grpc/scalekit/v1/tools/tools_pb.ts +0 -847
- package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +0 -180
- package/src/tools.ts +0 -166
- package/tests/connected-accounts.test.ts +0 -434
- package/tests/tools.test.ts +0 -239
|
@@ -1,718 +0,0 @@
|
|
|
1
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
-
import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* Status of a connected account indicating its current state
|
|
5
|
-
*
|
|
6
|
-
* @generated from enum scalekit.v1.connected_accounts.ConnectorStatus
|
|
7
|
-
*/
|
|
8
|
-
export declare enum ConnectorStatus {
|
|
9
|
-
/**
|
|
10
|
-
* Default/unknown status
|
|
11
|
-
*
|
|
12
|
-
* @generated from enum value: CONNECTION_STATUS_UNSPECIFIED = 0;
|
|
13
|
-
*/
|
|
14
|
-
CONNECTION_STATUS_UNSPECIFIED = 0,
|
|
15
|
-
/**
|
|
16
|
-
* Account is connected and credentials are valid
|
|
17
|
-
*
|
|
18
|
-
* @generated from enum value: ACTIVE = 1;
|
|
19
|
-
*/
|
|
20
|
-
ACTIVE = 1,
|
|
21
|
-
/**
|
|
22
|
-
* Access token has expired and needs refresh
|
|
23
|
-
*
|
|
24
|
-
* @generated from enum value: EXPIRED = 2;
|
|
25
|
-
*/
|
|
26
|
-
EXPIRED = 2,
|
|
27
|
-
/**
|
|
28
|
-
* Account awaiting user authorization
|
|
29
|
-
*
|
|
30
|
-
* @generated from enum value: PENDING_AUTH = 3;
|
|
31
|
-
*/
|
|
32
|
-
PENDING_AUTH = 3
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Type of authentication mechanism used for the connected account
|
|
36
|
-
*
|
|
37
|
-
* @generated from enum scalekit.v1.connected_accounts.ConnectorType
|
|
38
|
-
*/
|
|
39
|
-
export declare enum ConnectorType {
|
|
40
|
-
/**
|
|
41
|
-
* Default/unknown type
|
|
42
|
-
*
|
|
43
|
-
* @generated from enum value: CONNECTION_TYPE_UNSPECIFIED = 0;
|
|
44
|
-
*/
|
|
45
|
-
CONNECTION_TYPE_UNSPECIFIED = 0,
|
|
46
|
-
/**
|
|
47
|
-
* OAuth 2.0 authorization with access and refresh tokens
|
|
48
|
-
*
|
|
49
|
-
* @generated from enum value: OAUTH = 1;
|
|
50
|
-
*/
|
|
51
|
-
OAUTH = 1,
|
|
52
|
-
/**
|
|
53
|
-
* Static API key authentication
|
|
54
|
-
*
|
|
55
|
-
* @generated from enum value: API_KEY = 2;
|
|
56
|
-
*/
|
|
57
|
-
API_KEY = 2,
|
|
58
|
-
/**
|
|
59
|
-
* HTTP Basic Authentication (username/password)
|
|
60
|
-
*
|
|
61
|
-
* @generated from enum value: BASIC_AUTH = 3;
|
|
62
|
-
*/
|
|
63
|
-
BASIC_AUTH = 3,
|
|
64
|
-
/**
|
|
65
|
-
* Bearer token authentication
|
|
66
|
-
*
|
|
67
|
-
* @generated from enum value: BEARER_TOKEN = 4;
|
|
68
|
-
*/
|
|
69
|
-
BEARER_TOKEN = 4,
|
|
70
|
-
/**
|
|
71
|
-
* Custom authentication mechanism
|
|
72
|
-
*
|
|
73
|
-
* @generated from enum value: CUSTOM = 5;
|
|
74
|
-
*/
|
|
75
|
-
CUSTOM = 5,
|
|
76
|
-
/**
|
|
77
|
-
* Basic authentication (alias)
|
|
78
|
-
*
|
|
79
|
-
* @generated from enum value: BASIC = 6;
|
|
80
|
-
*/
|
|
81
|
-
BASIC = 6
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* @generated from message scalekit.v1.connected_accounts.ListConnectedAccountsRequest
|
|
85
|
-
*/
|
|
86
|
-
export declare class ListConnectedAccountsRequest extends Message<ListConnectedAccountsRequest> {
|
|
87
|
-
/**
|
|
88
|
-
* @generated from field: optional string organization_id = 1;
|
|
89
|
-
*/
|
|
90
|
-
organizationId?: string;
|
|
91
|
-
/**
|
|
92
|
-
* @generated from field: optional string user_id = 2;
|
|
93
|
-
*/
|
|
94
|
-
userId?: string;
|
|
95
|
-
/**
|
|
96
|
-
* @generated from field: optional string connector = 3;
|
|
97
|
-
*/
|
|
98
|
-
connector?: string;
|
|
99
|
-
/**
|
|
100
|
-
* @generated from field: optional string identifier = 4;
|
|
101
|
-
*/
|
|
102
|
-
identifier?: string;
|
|
103
|
-
/**
|
|
104
|
-
* @generated from field: string provider = 5;
|
|
105
|
-
*/
|
|
106
|
-
provider: string;
|
|
107
|
-
/**
|
|
108
|
-
* @generated from field: uint32 page_size = 6;
|
|
109
|
-
*/
|
|
110
|
-
pageSize: number;
|
|
111
|
-
/**
|
|
112
|
-
* @generated from field: string page_token = 7;
|
|
113
|
-
*/
|
|
114
|
-
pageToken: string;
|
|
115
|
-
/**
|
|
116
|
-
* @generated from field: string query = 8;
|
|
117
|
-
*/
|
|
118
|
-
query: string;
|
|
119
|
-
constructor(data?: PartialMessage<ListConnectedAccountsRequest>);
|
|
120
|
-
static readonly runtime: typeof proto3;
|
|
121
|
-
static readonly typeName = "scalekit.v1.connected_accounts.ListConnectedAccountsRequest";
|
|
122
|
-
static readonly fields: FieldList;
|
|
123
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectedAccountsRequest;
|
|
124
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectedAccountsRequest;
|
|
125
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectedAccountsRequest;
|
|
126
|
-
static equals(a: ListConnectedAccountsRequest | PlainMessage<ListConnectedAccountsRequest> | undefined, b: ListConnectedAccountsRequest | PlainMessage<ListConnectedAccountsRequest> | undefined): boolean;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* @generated from message scalekit.v1.connected_accounts.ListConnectedAccountsResponse
|
|
130
|
-
*/
|
|
131
|
-
export declare class ListConnectedAccountsResponse extends Message<ListConnectedAccountsResponse> {
|
|
132
|
-
/**
|
|
133
|
-
* @generated from field: repeated scalekit.v1.connected_accounts.ConnectedAccountForList connected_accounts = 1;
|
|
134
|
-
*/
|
|
135
|
-
connectedAccounts: ConnectedAccountForList[];
|
|
136
|
-
/**
|
|
137
|
-
* @generated from field: uint32 total_size = 2;
|
|
138
|
-
*/
|
|
139
|
-
totalSize: number;
|
|
140
|
-
/**
|
|
141
|
-
* @generated from field: string next_page_token = 3;
|
|
142
|
-
*/
|
|
143
|
-
nextPageToken: string;
|
|
144
|
-
/**
|
|
145
|
-
* @generated from field: string prev_page_token = 4;
|
|
146
|
-
*/
|
|
147
|
-
prevPageToken: string;
|
|
148
|
-
constructor(data?: PartialMessage<ListConnectedAccountsResponse>);
|
|
149
|
-
static readonly runtime: typeof proto3;
|
|
150
|
-
static readonly typeName = "scalekit.v1.connected_accounts.ListConnectedAccountsResponse";
|
|
151
|
-
static readonly fields: FieldList;
|
|
152
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectedAccountsResponse;
|
|
153
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectedAccountsResponse;
|
|
154
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectedAccountsResponse;
|
|
155
|
-
static equals(a: ListConnectedAccountsResponse | PlainMessage<ListConnectedAccountsResponse> | undefined, b: ListConnectedAccountsResponse | PlainMessage<ListConnectedAccountsResponse> | undefined): boolean;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* @generated from message scalekit.v1.connected_accounts.SearchConnectedAccountsRequest
|
|
159
|
-
*/
|
|
160
|
-
export declare class SearchConnectedAccountsRequest extends Message<SearchConnectedAccountsRequest> {
|
|
161
|
-
/**
|
|
162
|
-
* @generated from field: string query = 1;
|
|
163
|
-
*/
|
|
164
|
-
query: string;
|
|
165
|
-
/**
|
|
166
|
-
* @generated from field: uint32 page_size = 2;
|
|
167
|
-
*/
|
|
168
|
-
pageSize: number;
|
|
169
|
-
/**
|
|
170
|
-
* @generated from field: string page_token = 3;
|
|
171
|
-
*/
|
|
172
|
-
pageToken: string;
|
|
173
|
-
/**
|
|
174
|
-
* @generated from field: string connection_id = 4;
|
|
175
|
-
*/
|
|
176
|
-
connectionId: string;
|
|
177
|
-
constructor(data?: PartialMessage<SearchConnectedAccountsRequest>);
|
|
178
|
-
static readonly runtime: typeof proto3;
|
|
179
|
-
static readonly typeName = "scalekit.v1.connected_accounts.SearchConnectedAccountsRequest";
|
|
180
|
-
static readonly fields: FieldList;
|
|
181
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchConnectedAccountsRequest;
|
|
182
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchConnectedAccountsRequest;
|
|
183
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchConnectedAccountsRequest;
|
|
184
|
-
static equals(a: SearchConnectedAccountsRequest | PlainMessage<SearchConnectedAccountsRequest> | undefined, b: SearchConnectedAccountsRequest | PlainMessage<SearchConnectedAccountsRequest> | undefined): boolean;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* @generated from message scalekit.v1.connected_accounts.SearchConnectedAccountsResponse
|
|
188
|
-
*/
|
|
189
|
-
export declare class SearchConnectedAccountsResponse extends Message<SearchConnectedAccountsResponse> {
|
|
190
|
-
/**
|
|
191
|
-
* @generated from field: repeated scalekit.v1.connected_accounts.ConnectedAccountForList connected_accounts = 1;
|
|
192
|
-
*/
|
|
193
|
-
connectedAccounts: ConnectedAccountForList[];
|
|
194
|
-
/**
|
|
195
|
-
* @generated from field: uint32 total_size = 2;
|
|
196
|
-
*/
|
|
197
|
-
totalSize: number;
|
|
198
|
-
/**
|
|
199
|
-
* @generated from field: string next_page_token = 3;
|
|
200
|
-
*/
|
|
201
|
-
nextPageToken: string;
|
|
202
|
-
/**
|
|
203
|
-
* @generated from field: string prev_page_token = 4;
|
|
204
|
-
*/
|
|
205
|
-
prevPageToken: string;
|
|
206
|
-
constructor(data?: PartialMessage<SearchConnectedAccountsResponse>);
|
|
207
|
-
static readonly runtime: typeof proto3;
|
|
208
|
-
static readonly typeName = "scalekit.v1.connected_accounts.SearchConnectedAccountsResponse";
|
|
209
|
-
static readonly fields: FieldList;
|
|
210
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchConnectedAccountsResponse;
|
|
211
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchConnectedAccountsResponse;
|
|
212
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchConnectedAccountsResponse;
|
|
213
|
-
static equals(a: SearchConnectedAccountsResponse | PlainMessage<SearchConnectedAccountsResponse> | undefined, b: SearchConnectedAccountsResponse | PlainMessage<SearchConnectedAccountsResponse> | undefined): boolean;
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* @generated from message scalekit.v1.connected_accounts.CreateConnectedAccountRequest
|
|
217
|
-
*/
|
|
218
|
-
export declare class CreateConnectedAccountRequest extends Message<CreateConnectedAccountRequest> {
|
|
219
|
-
/**
|
|
220
|
-
* @generated from field: optional string organization_id = 1;
|
|
221
|
-
*/
|
|
222
|
-
organizationId?: string;
|
|
223
|
-
/**
|
|
224
|
-
* @generated from field: optional string user_id = 2;
|
|
225
|
-
*/
|
|
226
|
-
userId?: string;
|
|
227
|
-
/**
|
|
228
|
-
* @generated from field: optional string connector = 3;
|
|
229
|
-
*/
|
|
230
|
-
connector?: string;
|
|
231
|
-
/**
|
|
232
|
-
* @generated from field: optional string identifier = 4;
|
|
233
|
-
*/
|
|
234
|
-
identifier?: string;
|
|
235
|
-
/**
|
|
236
|
-
* @generated from field: scalekit.v1.connected_accounts.CreateConnectedAccount connected_account = 5;
|
|
237
|
-
*/
|
|
238
|
-
connectedAccount?: CreateConnectedAccount;
|
|
239
|
-
constructor(data?: PartialMessage<CreateConnectedAccountRequest>);
|
|
240
|
-
static readonly runtime: typeof proto3;
|
|
241
|
-
static readonly typeName = "scalekit.v1.connected_accounts.CreateConnectedAccountRequest";
|
|
242
|
-
static readonly fields: FieldList;
|
|
243
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectedAccountRequest;
|
|
244
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectedAccountRequest;
|
|
245
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectedAccountRequest;
|
|
246
|
-
static equals(a: CreateConnectedAccountRequest | PlainMessage<CreateConnectedAccountRequest> | undefined, b: CreateConnectedAccountRequest | PlainMessage<CreateConnectedAccountRequest> | undefined): boolean;
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* @generated from message scalekit.v1.connected_accounts.CreateConnectedAccountResponse
|
|
250
|
-
*/
|
|
251
|
-
export declare class CreateConnectedAccountResponse extends Message<CreateConnectedAccountResponse> {
|
|
252
|
-
/**
|
|
253
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectedAccount connected_account = 1;
|
|
254
|
-
*/
|
|
255
|
-
connectedAccount?: ConnectedAccount;
|
|
256
|
-
constructor(data?: PartialMessage<CreateConnectedAccountResponse>);
|
|
257
|
-
static readonly runtime: typeof proto3;
|
|
258
|
-
static readonly typeName = "scalekit.v1.connected_accounts.CreateConnectedAccountResponse";
|
|
259
|
-
static readonly fields: FieldList;
|
|
260
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectedAccountResponse;
|
|
261
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectedAccountResponse;
|
|
262
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectedAccountResponse;
|
|
263
|
-
static equals(a: CreateConnectedAccountResponse | PlainMessage<CreateConnectedAccountResponse> | undefined, b: CreateConnectedAccountResponse | PlainMessage<CreateConnectedAccountResponse> | undefined): boolean;
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* @generated from message scalekit.v1.connected_accounts.UpdateConnectedAccountRequest
|
|
267
|
-
*/
|
|
268
|
-
export declare class UpdateConnectedAccountRequest extends Message<UpdateConnectedAccountRequest> {
|
|
269
|
-
/**
|
|
270
|
-
* @generated from field: optional string organization_id = 1;
|
|
271
|
-
*/
|
|
272
|
-
organizationId?: string;
|
|
273
|
-
/**
|
|
274
|
-
* @generated from field: optional string user_id = 2;
|
|
275
|
-
*/
|
|
276
|
-
userId?: string;
|
|
277
|
-
/**
|
|
278
|
-
* @generated from field: optional string connector = 3;
|
|
279
|
-
*/
|
|
280
|
-
connector?: string;
|
|
281
|
-
/**
|
|
282
|
-
* @generated from field: optional string identifier = 4;
|
|
283
|
-
*/
|
|
284
|
-
identifier?: string;
|
|
285
|
-
/**
|
|
286
|
-
* @generated from field: optional string id = 6;
|
|
287
|
-
*/
|
|
288
|
-
id?: string;
|
|
289
|
-
/**
|
|
290
|
-
* @generated from field: scalekit.v1.connected_accounts.UpdateConnectedAccount connected_account = 5;
|
|
291
|
-
*/
|
|
292
|
-
connectedAccount?: UpdateConnectedAccount;
|
|
293
|
-
constructor(data?: PartialMessage<UpdateConnectedAccountRequest>);
|
|
294
|
-
static readonly runtime: typeof proto3;
|
|
295
|
-
static readonly typeName = "scalekit.v1.connected_accounts.UpdateConnectedAccountRequest";
|
|
296
|
-
static readonly fields: FieldList;
|
|
297
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectedAccountRequest;
|
|
298
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectedAccountRequest;
|
|
299
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectedAccountRequest;
|
|
300
|
-
static equals(a: UpdateConnectedAccountRequest | PlainMessage<UpdateConnectedAccountRequest> | undefined, b: UpdateConnectedAccountRequest | PlainMessage<UpdateConnectedAccountRequest> | undefined): boolean;
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* @generated from message scalekit.v1.connected_accounts.UpdateConnectedAccountResponse
|
|
304
|
-
*/
|
|
305
|
-
export declare class UpdateConnectedAccountResponse extends Message<UpdateConnectedAccountResponse> {
|
|
306
|
-
/**
|
|
307
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectedAccount connected_account = 1;
|
|
308
|
-
*/
|
|
309
|
-
connectedAccount?: ConnectedAccount;
|
|
310
|
-
constructor(data?: PartialMessage<UpdateConnectedAccountResponse>);
|
|
311
|
-
static readonly runtime: typeof proto3;
|
|
312
|
-
static readonly typeName = "scalekit.v1.connected_accounts.UpdateConnectedAccountResponse";
|
|
313
|
-
static readonly fields: FieldList;
|
|
314
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectedAccountResponse;
|
|
315
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectedAccountResponse;
|
|
316
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectedAccountResponse;
|
|
317
|
-
static equals(a: UpdateConnectedAccountResponse | PlainMessage<UpdateConnectedAccountResponse> | undefined, b: UpdateConnectedAccountResponse | PlainMessage<UpdateConnectedAccountResponse> | undefined): boolean;
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* @generated from message scalekit.v1.connected_accounts.DeleteConnectedAccountRequest
|
|
321
|
-
*/
|
|
322
|
-
export declare class DeleteConnectedAccountRequest extends Message<DeleteConnectedAccountRequest> {
|
|
323
|
-
/**
|
|
324
|
-
* @generated from field: optional string organization_id = 1;
|
|
325
|
-
*/
|
|
326
|
-
organizationId?: string;
|
|
327
|
-
/**
|
|
328
|
-
* @generated from field: optional string user_id = 2;
|
|
329
|
-
*/
|
|
330
|
-
userId?: string;
|
|
331
|
-
/**
|
|
332
|
-
* @generated from field: optional string connector = 3;
|
|
333
|
-
*/
|
|
334
|
-
connector?: string;
|
|
335
|
-
/**
|
|
336
|
-
* @generated from field: optional string identifier = 4;
|
|
337
|
-
*/
|
|
338
|
-
identifier?: string;
|
|
339
|
-
/**
|
|
340
|
-
* @generated from field: optional string id = 5;
|
|
341
|
-
*/
|
|
342
|
-
id?: string;
|
|
343
|
-
constructor(data?: PartialMessage<DeleteConnectedAccountRequest>);
|
|
344
|
-
static readonly runtime: typeof proto3;
|
|
345
|
-
static readonly typeName = "scalekit.v1.connected_accounts.DeleteConnectedAccountRequest";
|
|
346
|
-
static readonly fields: FieldList;
|
|
347
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteConnectedAccountRequest;
|
|
348
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteConnectedAccountRequest;
|
|
349
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteConnectedAccountRequest;
|
|
350
|
-
static equals(a: DeleteConnectedAccountRequest | PlainMessage<DeleteConnectedAccountRequest> | undefined, b: DeleteConnectedAccountRequest | PlainMessage<DeleteConnectedAccountRequest> | undefined): boolean;
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
* @generated from message scalekit.v1.connected_accounts.DeleteConnectedAccountResponse
|
|
354
|
-
*/
|
|
355
|
-
export declare class DeleteConnectedAccountResponse extends Message<DeleteConnectedAccountResponse> {
|
|
356
|
-
constructor(data?: PartialMessage<DeleteConnectedAccountResponse>);
|
|
357
|
-
static readonly runtime: typeof proto3;
|
|
358
|
-
static readonly typeName = "scalekit.v1.connected_accounts.DeleteConnectedAccountResponse";
|
|
359
|
-
static readonly fields: FieldList;
|
|
360
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteConnectedAccountResponse;
|
|
361
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteConnectedAccountResponse;
|
|
362
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteConnectedAccountResponse;
|
|
363
|
-
static equals(a: DeleteConnectedAccountResponse | PlainMessage<DeleteConnectedAccountResponse> | undefined, b: DeleteConnectedAccountResponse | PlainMessage<DeleteConnectedAccountResponse> | undefined): boolean;
|
|
364
|
-
}
|
|
365
|
-
/**
|
|
366
|
-
* @generated from message scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountRequest
|
|
367
|
-
*/
|
|
368
|
-
export declare class GetMagicLinkForConnectedAccountRequest extends Message<GetMagicLinkForConnectedAccountRequest> {
|
|
369
|
-
/**
|
|
370
|
-
* @generated from field: optional string organization_id = 1;
|
|
371
|
-
*/
|
|
372
|
-
organizationId?: string;
|
|
373
|
-
/**
|
|
374
|
-
* @generated from field: optional string user_id = 2;
|
|
375
|
-
*/
|
|
376
|
-
userId?: string;
|
|
377
|
-
/**
|
|
378
|
-
* @generated from field: optional string connector = 3;
|
|
379
|
-
*/
|
|
380
|
-
connector?: string;
|
|
381
|
-
/**
|
|
382
|
-
* @generated from field: optional string identifier = 4;
|
|
383
|
-
*/
|
|
384
|
-
identifier?: string;
|
|
385
|
-
/**
|
|
386
|
-
* @generated from field: optional string id = 5;
|
|
387
|
-
*/
|
|
388
|
-
id?: string;
|
|
389
|
-
constructor(data?: PartialMessage<GetMagicLinkForConnectedAccountRequest>);
|
|
390
|
-
static readonly runtime: typeof proto3;
|
|
391
|
-
static readonly typeName = "scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountRequest";
|
|
392
|
-
static readonly fields: FieldList;
|
|
393
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMagicLinkForConnectedAccountRequest;
|
|
394
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMagicLinkForConnectedAccountRequest;
|
|
395
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMagicLinkForConnectedAccountRequest;
|
|
396
|
-
static equals(a: GetMagicLinkForConnectedAccountRequest | PlainMessage<GetMagicLinkForConnectedAccountRequest> | undefined, b: GetMagicLinkForConnectedAccountRequest | PlainMessage<GetMagicLinkForConnectedAccountRequest> | undefined): boolean;
|
|
397
|
-
}
|
|
398
|
-
/**
|
|
399
|
-
* @generated from message scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountResponse
|
|
400
|
-
*/
|
|
401
|
-
export declare class GetMagicLinkForConnectedAccountResponse extends Message<GetMagicLinkForConnectedAccountResponse> {
|
|
402
|
-
/**
|
|
403
|
-
* @generated from field: string link = 1;
|
|
404
|
-
*/
|
|
405
|
-
link: string;
|
|
406
|
-
/**
|
|
407
|
-
* @generated from field: google.protobuf.Timestamp expiry = 2;
|
|
408
|
-
*/
|
|
409
|
-
expiry?: Timestamp;
|
|
410
|
-
constructor(data?: PartialMessage<GetMagicLinkForConnectedAccountResponse>);
|
|
411
|
-
static readonly runtime: typeof proto3;
|
|
412
|
-
static readonly typeName = "scalekit.v1.connected_accounts.GetMagicLinkForConnectedAccountResponse";
|
|
413
|
-
static readonly fields: FieldList;
|
|
414
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMagicLinkForConnectedAccountResponse;
|
|
415
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMagicLinkForConnectedAccountResponse;
|
|
416
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMagicLinkForConnectedAccountResponse;
|
|
417
|
-
static equals(a: GetMagicLinkForConnectedAccountResponse | PlainMessage<GetMagicLinkForConnectedAccountResponse> | undefined, b: GetMagicLinkForConnectedAccountResponse | PlainMessage<GetMagicLinkForConnectedAccountResponse> | undefined): boolean;
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
* @generated from message scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierRequest
|
|
421
|
-
*/
|
|
422
|
-
export declare class GetConnectedAccountByIdentifierRequest extends Message<GetConnectedAccountByIdentifierRequest> {
|
|
423
|
-
/**
|
|
424
|
-
* @generated from field: optional string organization_id = 1;
|
|
425
|
-
*/
|
|
426
|
-
organizationId?: string;
|
|
427
|
-
/**
|
|
428
|
-
* @generated from field: optional string user_id = 2;
|
|
429
|
-
*/
|
|
430
|
-
userId?: string;
|
|
431
|
-
/**
|
|
432
|
-
* @generated from field: optional string connector = 3;
|
|
433
|
-
*/
|
|
434
|
-
connector?: string;
|
|
435
|
-
/**
|
|
436
|
-
* @generated from field: optional string identifier = 4;
|
|
437
|
-
*/
|
|
438
|
-
identifier?: string;
|
|
439
|
-
/**
|
|
440
|
-
* @generated from field: optional string id = 5;
|
|
441
|
-
*/
|
|
442
|
-
id?: string;
|
|
443
|
-
constructor(data?: PartialMessage<GetConnectedAccountByIdentifierRequest>);
|
|
444
|
-
static readonly runtime: typeof proto3;
|
|
445
|
-
static readonly typeName = "scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierRequest";
|
|
446
|
-
static readonly fields: FieldList;
|
|
447
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectedAccountByIdentifierRequest;
|
|
448
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectedAccountByIdentifierRequest;
|
|
449
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectedAccountByIdentifierRequest;
|
|
450
|
-
static equals(a: GetConnectedAccountByIdentifierRequest | PlainMessage<GetConnectedAccountByIdentifierRequest> | undefined, b: GetConnectedAccountByIdentifierRequest | PlainMessage<GetConnectedAccountByIdentifierRequest> | undefined): boolean;
|
|
451
|
-
}
|
|
452
|
-
/**
|
|
453
|
-
* @generated from message scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierResponse
|
|
454
|
-
*/
|
|
455
|
-
export declare class GetConnectedAccountByIdentifierResponse extends Message<GetConnectedAccountByIdentifierResponse> {
|
|
456
|
-
/**
|
|
457
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectedAccount connected_account = 1;
|
|
458
|
-
*/
|
|
459
|
-
connectedAccount?: ConnectedAccount;
|
|
460
|
-
constructor(data?: PartialMessage<GetConnectedAccountByIdentifierResponse>);
|
|
461
|
-
static readonly runtime: typeof proto3;
|
|
462
|
-
static readonly typeName = "scalekit.v1.connected_accounts.GetConnectedAccountByIdentifierResponse";
|
|
463
|
-
static readonly fields: FieldList;
|
|
464
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectedAccountByIdentifierResponse;
|
|
465
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectedAccountByIdentifierResponse;
|
|
466
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectedAccountByIdentifierResponse;
|
|
467
|
-
static equals(a: GetConnectedAccountByIdentifierResponse | PlainMessage<GetConnectedAccountByIdentifierResponse> | undefined, b: GetConnectedAccountByIdentifierResponse | PlainMessage<GetConnectedAccountByIdentifierResponse> | undefined): boolean;
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* @generated from message scalekit.v1.connected_accounts.ConnectedAccount
|
|
471
|
-
*/
|
|
472
|
-
export declare class ConnectedAccount extends Message<ConnectedAccount> {
|
|
473
|
-
/**
|
|
474
|
-
* @generated from field: string identifier = 1;
|
|
475
|
-
*/
|
|
476
|
-
identifier: string;
|
|
477
|
-
/**
|
|
478
|
-
* @generated from field: string provider = 2;
|
|
479
|
-
*/
|
|
480
|
-
provider: string;
|
|
481
|
-
/**
|
|
482
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorStatus status = 3;
|
|
483
|
-
*/
|
|
484
|
-
status: ConnectorStatus;
|
|
485
|
-
/**
|
|
486
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorType authorization_type = 4;
|
|
487
|
-
*/
|
|
488
|
-
authorizationType: ConnectorType;
|
|
489
|
-
/**
|
|
490
|
-
* @generated from field: scalekit.v1.connected_accounts.AuthorizationDetails authorization_details = 5;
|
|
491
|
-
*/
|
|
492
|
-
authorizationDetails?: AuthorizationDetails;
|
|
493
|
-
/**
|
|
494
|
-
* @generated from field: google.protobuf.Timestamp token_expires_at = 6;
|
|
495
|
-
*/
|
|
496
|
-
tokenExpiresAt?: Timestamp;
|
|
497
|
-
/**
|
|
498
|
-
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
499
|
-
*/
|
|
500
|
-
updatedAt?: Timestamp;
|
|
501
|
-
/**
|
|
502
|
-
* @generated from field: string connector = 8;
|
|
503
|
-
*/
|
|
504
|
-
connector: string;
|
|
505
|
-
/**
|
|
506
|
-
* @generated from field: google.protobuf.Timestamp last_used_at = 9;
|
|
507
|
-
*/
|
|
508
|
-
lastUsedAt?: Timestamp;
|
|
509
|
-
/**
|
|
510
|
-
* @generated from field: string id = 10;
|
|
511
|
-
*/
|
|
512
|
-
id: string;
|
|
513
|
-
/**
|
|
514
|
-
* @generated from field: string connection_id = 11;
|
|
515
|
-
*/
|
|
516
|
-
connectionId: string;
|
|
517
|
-
/**
|
|
518
|
-
* @generated from field: google.protobuf.Struct api_config = 12;
|
|
519
|
-
*/
|
|
520
|
-
apiConfig?: Struct;
|
|
521
|
-
constructor(data?: PartialMessage<ConnectedAccount>);
|
|
522
|
-
static readonly runtime: typeof proto3;
|
|
523
|
-
static readonly typeName = "scalekit.v1.connected_accounts.ConnectedAccount";
|
|
524
|
-
static readonly fields: FieldList;
|
|
525
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectedAccount;
|
|
526
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectedAccount;
|
|
527
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectedAccount;
|
|
528
|
-
static equals(a: ConnectedAccount | PlainMessage<ConnectedAccount> | undefined, b: ConnectedAccount | PlainMessage<ConnectedAccount> | undefined): boolean;
|
|
529
|
-
}
|
|
530
|
-
/**
|
|
531
|
-
* Payload for creating a new connected account - only authorization details required
|
|
532
|
-
*
|
|
533
|
-
* @generated from message scalekit.v1.connected_accounts.CreateConnectedAccount
|
|
534
|
-
*/
|
|
535
|
-
export declare class CreateConnectedAccount extends Message<CreateConnectedAccount> {
|
|
536
|
-
/**
|
|
537
|
-
* @generated from field: scalekit.v1.connected_accounts.AuthorizationDetails authorization_details = 5;
|
|
538
|
-
*/
|
|
539
|
-
authorizationDetails?: AuthorizationDetails;
|
|
540
|
-
/**
|
|
541
|
-
* @generated from field: google.protobuf.Struct api_config = 11;
|
|
542
|
-
*/
|
|
543
|
-
apiConfig?: Struct;
|
|
544
|
-
constructor(data?: PartialMessage<CreateConnectedAccount>);
|
|
545
|
-
static readonly runtime: typeof proto3;
|
|
546
|
-
static readonly typeName = "scalekit.v1.connected_accounts.CreateConnectedAccount";
|
|
547
|
-
static readonly fields: FieldList;
|
|
548
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectedAccount;
|
|
549
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectedAccount;
|
|
550
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectedAccount;
|
|
551
|
-
static equals(a: CreateConnectedAccount | PlainMessage<CreateConnectedAccount> | undefined, b: CreateConnectedAccount | PlainMessage<CreateConnectedAccount> | undefined): boolean;
|
|
552
|
-
}
|
|
553
|
-
/**
|
|
554
|
-
* Payload for updating an existing connected account - all fields optional
|
|
555
|
-
*
|
|
556
|
-
* @generated from message scalekit.v1.connected_accounts.UpdateConnectedAccount
|
|
557
|
-
*/
|
|
558
|
-
export declare class UpdateConnectedAccount extends Message<UpdateConnectedAccount> {
|
|
559
|
-
/**
|
|
560
|
-
* @generated from field: scalekit.v1.connected_accounts.AuthorizationDetails authorization_details = 5;
|
|
561
|
-
*/
|
|
562
|
-
authorizationDetails?: AuthorizationDetails;
|
|
563
|
-
/**
|
|
564
|
-
* @generated from field: google.protobuf.Struct api_config = 10;
|
|
565
|
-
*/
|
|
566
|
-
apiConfig?: Struct;
|
|
567
|
-
constructor(data?: PartialMessage<UpdateConnectedAccount>);
|
|
568
|
-
static readonly runtime: typeof proto3;
|
|
569
|
-
static readonly typeName = "scalekit.v1.connected_accounts.UpdateConnectedAccount";
|
|
570
|
-
static readonly fields: FieldList;
|
|
571
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectedAccount;
|
|
572
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectedAccount;
|
|
573
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectedAccount;
|
|
574
|
-
static equals(a: UpdateConnectedAccount | PlainMessage<UpdateConnectedAccount> | undefined, b: UpdateConnectedAccount | PlainMessage<UpdateConnectedAccount> | undefined): boolean;
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
* Connected account summary for list operations - excludes sensitive authorization details
|
|
578
|
-
*
|
|
579
|
-
* @generated from message scalekit.v1.connected_accounts.ConnectedAccountForList
|
|
580
|
-
*/
|
|
581
|
-
export declare class ConnectedAccountForList extends Message<ConnectedAccountForList> {
|
|
582
|
-
/**
|
|
583
|
-
* @generated from field: string identifier = 1;
|
|
584
|
-
*/
|
|
585
|
-
identifier: string;
|
|
586
|
-
/**
|
|
587
|
-
* @generated from field: string provider = 2;
|
|
588
|
-
*/
|
|
589
|
-
provider: string;
|
|
590
|
-
/**
|
|
591
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorStatus status = 3;
|
|
592
|
-
*/
|
|
593
|
-
status: ConnectorStatus;
|
|
594
|
-
/**
|
|
595
|
-
* @generated from field: scalekit.v1.connected_accounts.ConnectorType authorization_type = 4;
|
|
596
|
-
*/
|
|
597
|
-
authorizationType: ConnectorType;
|
|
598
|
-
/**
|
|
599
|
-
* @generated from field: google.protobuf.Timestamp token_expires_at = 6;
|
|
600
|
-
*/
|
|
601
|
-
tokenExpiresAt?: Timestamp;
|
|
602
|
-
/**
|
|
603
|
-
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
604
|
-
*/
|
|
605
|
-
updatedAt?: Timestamp;
|
|
606
|
-
/**
|
|
607
|
-
* @generated from field: string connector = 8;
|
|
608
|
-
*/
|
|
609
|
-
connector: string;
|
|
610
|
-
/**
|
|
611
|
-
* @generated from field: google.protobuf.Timestamp last_used_at = 9;
|
|
612
|
-
*/
|
|
613
|
-
lastUsedAt?: Timestamp;
|
|
614
|
-
/**
|
|
615
|
-
* @generated from field: string id = 10;
|
|
616
|
-
*/
|
|
617
|
-
id: string;
|
|
618
|
-
/**
|
|
619
|
-
* @generated from field: string connection_id = 11;
|
|
620
|
-
*/
|
|
621
|
-
connectionId: string;
|
|
622
|
-
constructor(data?: PartialMessage<ConnectedAccountForList>);
|
|
623
|
-
static readonly runtime: typeof proto3;
|
|
624
|
-
static readonly typeName = "scalekit.v1.connected_accounts.ConnectedAccountForList";
|
|
625
|
-
static readonly fields: FieldList;
|
|
626
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectedAccountForList;
|
|
627
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectedAccountForList;
|
|
628
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectedAccountForList;
|
|
629
|
-
static equals(a: ConnectedAccountForList | PlainMessage<ConnectedAccountForList> | undefined, b: ConnectedAccountForList | PlainMessage<ConnectedAccountForList> | undefined): boolean;
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* Authentication credentials container supporting multiple auth types
|
|
633
|
-
*
|
|
634
|
-
* @generated from message scalekit.v1.connected_accounts.AuthorizationDetails
|
|
635
|
-
*/
|
|
636
|
-
export declare class AuthorizationDetails extends Message<AuthorizationDetails> {
|
|
637
|
-
/**
|
|
638
|
-
* @generated from oneof scalekit.v1.connected_accounts.AuthorizationDetails.details
|
|
639
|
-
*/
|
|
640
|
-
details: {
|
|
641
|
-
/**
|
|
642
|
-
* OAuth 2.0 credentials
|
|
643
|
-
*
|
|
644
|
-
* @generated from field: scalekit.v1.connected_accounts.OauthToken oauth_token = 1;
|
|
645
|
-
*/
|
|
646
|
-
value: OauthToken;
|
|
647
|
-
case: "oauthToken";
|
|
648
|
-
} | {
|
|
649
|
-
/**
|
|
650
|
-
* Static authentication credentials
|
|
651
|
-
*
|
|
652
|
-
* @generated from field: scalekit.v1.connected_accounts.StaticAuth static_auth = 2;
|
|
653
|
-
*/
|
|
654
|
-
value: StaticAuth;
|
|
655
|
-
case: "staticAuth";
|
|
656
|
-
} | {
|
|
657
|
-
case: undefined;
|
|
658
|
-
value?: undefined;
|
|
659
|
-
};
|
|
660
|
-
constructor(data?: PartialMessage<AuthorizationDetails>);
|
|
661
|
-
static readonly runtime: typeof proto3;
|
|
662
|
-
static readonly typeName = "scalekit.v1.connected_accounts.AuthorizationDetails";
|
|
663
|
-
static readonly fields: FieldList;
|
|
664
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthorizationDetails;
|
|
665
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthorizationDetails;
|
|
666
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthorizationDetails;
|
|
667
|
-
static equals(a: AuthorizationDetails | PlainMessage<AuthorizationDetails> | undefined, b: AuthorizationDetails | PlainMessage<AuthorizationDetails> | undefined): boolean;
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* OAuth 2.0 access and refresh tokens with scopes
|
|
671
|
-
*
|
|
672
|
-
* @generated from message scalekit.v1.connected_accounts.OauthToken
|
|
673
|
-
*/
|
|
674
|
-
export declare class OauthToken extends Message<OauthToken> {
|
|
675
|
-
/**
|
|
676
|
-
* @generated from field: string access_token = 1;
|
|
677
|
-
*/
|
|
678
|
-
accessToken: string;
|
|
679
|
-
/**
|
|
680
|
-
* @generated from field: string refresh_token = 2;
|
|
681
|
-
*/
|
|
682
|
-
refreshToken: string;
|
|
683
|
-
/**
|
|
684
|
-
* @generated from field: repeated string scopes = 3;
|
|
685
|
-
*/
|
|
686
|
-
scopes: string[];
|
|
687
|
-
/**
|
|
688
|
-
* @generated from field: string domain = 4;
|
|
689
|
-
*/
|
|
690
|
-
domain: string;
|
|
691
|
-
constructor(data?: PartialMessage<OauthToken>);
|
|
692
|
-
static readonly runtime: typeof proto3;
|
|
693
|
-
static readonly typeName = "scalekit.v1.connected_accounts.OauthToken";
|
|
694
|
-
static readonly fields: FieldList;
|
|
695
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OauthToken;
|
|
696
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OauthToken;
|
|
697
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OauthToken;
|
|
698
|
-
static equals(a: OauthToken | PlainMessage<OauthToken> | undefined, b: OauthToken | PlainMessage<OauthToken> | undefined): boolean;
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* Static authentication credentials for API keys, bearer tokens, or basic auth
|
|
702
|
-
*
|
|
703
|
-
* @generated from message scalekit.v1.connected_accounts.StaticAuth
|
|
704
|
-
*/
|
|
705
|
-
export declare class StaticAuth extends Message<StaticAuth> {
|
|
706
|
-
/**
|
|
707
|
-
* @generated from field: google.protobuf.Struct details = 1;
|
|
708
|
-
*/
|
|
709
|
-
details?: Struct;
|
|
710
|
-
constructor(data?: PartialMessage<StaticAuth>);
|
|
711
|
-
static readonly runtime: typeof proto3;
|
|
712
|
-
static readonly typeName = "scalekit.v1.connected_accounts.StaticAuth";
|
|
713
|
-
static readonly fields: FieldList;
|
|
714
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StaticAuth;
|
|
715
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StaticAuth;
|
|
716
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StaticAuth;
|
|
717
|
-
static equals(a: StaticAuth | PlainMessage<StaticAuth> | undefined, b: StaticAuth | PlainMessage<StaticAuth> | undefined): boolean;
|
|
718
|
-
}
|