@scalekit-sdk/node 1.0.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/LICENSE +21 -0
- package/README.md +49 -0
- package/buf.gen.yaml +14 -0
- package/lib/connect.d.ts +9 -0
- package/lib/connect.js +31 -0
- package/lib/connect.js.map +1 -0
- package/lib/connection.d.ts +28 -0
- package/lib/connection.js +68 -0
- package/lib/connection.js.map +1 -0
- package/lib/constants/user.d.ts +4 -0
- package/lib/constants/user.js +24 -0
- package/lib/constants/user.js.map +1 -0
- package/lib/core.d.ts +37 -0
- package/lib/core.js +160 -0
- package/lib/core.js.map +1 -0
- package/lib/domain.d.ts +33 -0
- package/lib/domain.js +74 -0
- package/lib/domain.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +26 -0
- package/lib/index.js.map +1 -0
- package/lib/organization.d.ts +64 -0
- package/lib/organization.js +116 -0
- package/lib/organization.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +20 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +36 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +73 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +81 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1252 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +1536 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +55 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +63 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +394 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +469 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +245 -0
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +369 -0
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +98 -0
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +135 -0
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +92 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +100 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +424 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +559 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -0
- package/lib/scalekit.d.ts +60 -0
- package/lib/scalekit.js +140 -0
- package/lib/scalekit.js.map +1 -0
- package/lib/types/scalekit.d.ts +26 -0
- package/lib/types/scalekit.js +10 -0
- package/lib/types/scalekit.js.map +1 -0
- package/lib/types/user.d.ts +56 -0
- package/lib/types/user.js +3 -0
- package/lib/types/user.js.map +1 -0
- package/package.json +45 -0
- package/src/connect.ts +33 -0
- package/src/connection.ts +69 -0
- package/src/constants/user.ts +22 -0
- package/src/core.ts +127 -0
- package/src/domain.ts +75 -0
- package/src/index.ts +7 -0
- package/src/organization.ts +129 -0
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +36 -0
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +80 -0
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +2138 -0
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +62 -0
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +687 -0
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +461 -0
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +156 -0
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +99 -0
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +774 -0
- package/src/scalekit.ts +155 -0
- package/src/types/scalekit.ts +30 -0
- package/src/types/user.ts +59 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { FieldMask, Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
+
import { RegionCode } from "../commons/commons_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* @generated from message scalekit.v1.organizations.CreateOrganizationRequest
|
|
6
|
+
*/
|
|
7
|
+
export declare class CreateOrganizationRequest extends Message<CreateOrganizationRequest> {
|
|
8
|
+
/**
|
|
9
|
+
* Organization details
|
|
10
|
+
*
|
|
11
|
+
* @generated from field: scalekit.v1.organizations.CreateOrganization organization = 1;
|
|
12
|
+
*/
|
|
13
|
+
organization?: CreateOrganization;
|
|
14
|
+
constructor(data?: PartialMessage<CreateOrganizationRequest>);
|
|
15
|
+
static readonly runtime: typeof proto3;
|
|
16
|
+
static readonly typeName = "scalekit.v1.organizations.CreateOrganizationRequest";
|
|
17
|
+
static readonly fields: FieldList;
|
|
18
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationRequest;
|
|
19
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationRequest;
|
|
20
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationRequest;
|
|
21
|
+
static equals(a: CreateOrganizationRequest | PlainMessage<CreateOrganizationRequest> | undefined, b: CreateOrganizationRequest | PlainMessage<CreateOrganizationRequest> | undefined): boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @generated from message scalekit.v1.organizations.CreateOrganizationResponse
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateOrganizationResponse extends Message<CreateOrganizationResponse> {
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: scalekit.v1.organizations.Organization organization = 1;
|
|
29
|
+
*/
|
|
30
|
+
organization?: Organization;
|
|
31
|
+
constructor(data?: PartialMessage<CreateOrganizationResponse>);
|
|
32
|
+
static readonly runtime: typeof proto3;
|
|
33
|
+
static readonly typeName = "scalekit.v1.organizations.CreateOrganizationResponse";
|
|
34
|
+
static readonly fields: FieldList;
|
|
35
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationResponse;
|
|
36
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationResponse;
|
|
37
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationResponse;
|
|
38
|
+
static equals(a: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined, b: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined): boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message scalekit.v1.organizations.CreateOrganization
|
|
42
|
+
*/
|
|
43
|
+
export declare class CreateOrganization extends Message<CreateOrganization> {
|
|
44
|
+
/**
|
|
45
|
+
* Name of the org to be used in display
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string display_name = 4;
|
|
48
|
+
*/
|
|
49
|
+
displayName: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional regioncode
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: scalekit.v1.commons.RegionCode region_code = 5;
|
|
54
|
+
*/
|
|
55
|
+
regionCode: RegionCode;
|
|
56
|
+
/**
|
|
57
|
+
* External Id is useful to store a unique identifier for a given Org that. The unique Identifier can be the id of your tenant / org in your SaaSApp
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: optional string external_id = 6;
|
|
60
|
+
*/
|
|
61
|
+
externalId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Key value pairs extension attributes.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: map<string, string> metadata = 7;
|
|
66
|
+
*/
|
|
67
|
+
metadata: {
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
};
|
|
70
|
+
constructor(data?: PartialMessage<CreateOrganization>);
|
|
71
|
+
static readonly runtime: typeof proto3;
|
|
72
|
+
static readonly typeName = "scalekit.v1.organizations.CreateOrganization";
|
|
73
|
+
static readonly fields: FieldList;
|
|
74
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganization;
|
|
75
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganization;
|
|
76
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganization;
|
|
77
|
+
static equals(a: CreateOrganization | PlainMessage<CreateOrganization> | undefined, b: CreateOrganization | PlainMessage<CreateOrganization> | undefined): boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message scalekit.v1.organizations.Organization
|
|
81
|
+
*/
|
|
82
|
+
export declare class Organization extends Message<Organization> {
|
|
83
|
+
/**
|
|
84
|
+
* Id
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: string id = 1;
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
/**
|
|
90
|
+
* Created Time
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: google.protobuf.Timestamp create_time = 2;
|
|
93
|
+
*/
|
|
94
|
+
createTime?: Timestamp;
|
|
95
|
+
/**
|
|
96
|
+
* Updated time
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: google.protobuf.Timestamp update_time = 3;
|
|
99
|
+
*/
|
|
100
|
+
updateTime?: Timestamp;
|
|
101
|
+
/**
|
|
102
|
+
* Name of the org to be used in display
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: string display_name = 4;
|
|
105
|
+
*/
|
|
106
|
+
displayName: string;
|
|
107
|
+
/**
|
|
108
|
+
* Optional regioncode
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: scalekit.v1.commons.RegionCode region_code = 5;
|
|
111
|
+
*/
|
|
112
|
+
regionCode: RegionCode;
|
|
113
|
+
/**
|
|
114
|
+
* External Id is useful to store a unique identifier for a given Org that. The unique Identifier can be the id of your tenant / org in your SaaSApp
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: optional string external_id = 6;
|
|
117
|
+
*/
|
|
118
|
+
externalId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Key value pairs extension attributes.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: map<string, string> metadata = 7;
|
|
123
|
+
*/
|
|
124
|
+
metadata: {
|
|
125
|
+
[key: string]: string;
|
|
126
|
+
};
|
|
127
|
+
constructor(data?: PartialMessage<Organization>);
|
|
128
|
+
static readonly runtime: typeof proto3;
|
|
129
|
+
static readonly typeName = "scalekit.v1.organizations.Organization";
|
|
130
|
+
static readonly fields: FieldList;
|
|
131
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Organization;
|
|
132
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Organization;
|
|
133
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Organization;
|
|
134
|
+
static equals(a: Organization | PlainMessage<Organization> | undefined, b: Organization | PlainMessage<Organization> | undefined): boolean;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @generated from message scalekit.v1.organizations.UpdateOrganizationRequest
|
|
138
|
+
*/
|
|
139
|
+
export declare class UpdateOrganizationRequest extends Message<UpdateOrganizationRequest> {
|
|
140
|
+
/**
|
|
141
|
+
* @generated from oneof scalekit.v1.organizations.UpdateOrganizationRequest.identities
|
|
142
|
+
*/
|
|
143
|
+
identities: {
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: string id = 1;
|
|
146
|
+
*/
|
|
147
|
+
value: string;
|
|
148
|
+
case: "id";
|
|
149
|
+
} | {
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: string external_id = 2;
|
|
152
|
+
*/
|
|
153
|
+
value: string;
|
|
154
|
+
case: "externalId";
|
|
155
|
+
} | {
|
|
156
|
+
case: undefined;
|
|
157
|
+
value?: undefined;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: scalekit.v1.organizations.UpdateOrganization organization = 3;
|
|
161
|
+
*/
|
|
162
|
+
organization?: UpdateOrganization;
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 99;
|
|
165
|
+
*/
|
|
166
|
+
updateMask?: FieldMask;
|
|
167
|
+
constructor(data?: PartialMessage<UpdateOrganizationRequest>);
|
|
168
|
+
static readonly runtime: typeof proto3;
|
|
169
|
+
static readonly typeName = "scalekit.v1.organizations.UpdateOrganizationRequest";
|
|
170
|
+
static readonly fields: FieldList;
|
|
171
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationRequest;
|
|
172
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationRequest;
|
|
173
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationRequest;
|
|
174
|
+
static equals(a: UpdateOrganizationRequest | PlainMessage<UpdateOrganizationRequest> | undefined, b: UpdateOrganizationRequest | PlainMessage<UpdateOrganizationRequest> | undefined): boolean;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* For update messages ensure the indexes are same as the base model itself.
|
|
178
|
+
*
|
|
179
|
+
* @generated from message scalekit.v1.organizations.UpdateOrganization
|
|
180
|
+
*/
|
|
181
|
+
export declare class UpdateOrganization extends Message<UpdateOrganization> {
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: optional string display_name = 4;
|
|
184
|
+
*/
|
|
185
|
+
displayName?: string;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: optional string external_id = 6;
|
|
188
|
+
*/
|
|
189
|
+
externalId?: string;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: map<string, string> metadata = 7;
|
|
192
|
+
*/
|
|
193
|
+
metadata: {
|
|
194
|
+
[key: string]: string;
|
|
195
|
+
};
|
|
196
|
+
constructor(data?: PartialMessage<UpdateOrganization>);
|
|
197
|
+
static readonly runtime: typeof proto3;
|
|
198
|
+
static readonly typeName = "scalekit.v1.organizations.UpdateOrganization";
|
|
199
|
+
static readonly fields: FieldList;
|
|
200
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganization;
|
|
201
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganization;
|
|
202
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganization;
|
|
203
|
+
static equals(a: UpdateOrganization | PlainMessage<UpdateOrganization> | undefined, b: UpdateOrganization | PlainMessage<UpdateOrganization> | undefined): boolean;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message scalekit.v1.organizations.UpdateOrganizationResponse
|
|
207
|
+
*/
|
|
208
|
+
export declare class UpdateOrganizationResponse extends Message<UpdateOrganizationResponse> {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: scalekit.v1.organizations.Organization organization = 1;
|
|
211
|
+
*/
|
|
212
|
+
organization?: Organization;
|
|
213
|
+
constructor(data?: PartialMessage<UpdateOrganizationResponse>);
|
|
214
|
+
static readonly runtime: typeof proto3;
|
|
215
|
+
static readonly typeName = "scalekit.v1.organizations.UpdateOrganizationResponse";
|
|
216
|
+
static readonly fields: FieldList;
|
|
217
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationResponse;
|
|
218
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationResponse;
|
|
219
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationResponse;
|
|
220
|
+
static equals(a: UpdateOrganizationResponse | PlainMessage<UpdateOrganizationResponse> | undefined, b: UpdateOrganizationResponse | PlainMessage<UpdateOrganizationResponse> | undefined): boolean;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @generated from message scalekit.v1.organizations.GetOrganizationRequest
|
|
224
|
+
*/
|
|
225
|
+
export declare class GetOrganizationRequest extends Message<GetOrganizationRequest> {
|
|
226
|
+
/**
|
|
227
|
+
* @generated from oneof scalekit.v1.organizations.GetOrganizationRequest.identities
|
|
228
|
+
*/
|
|
229
|
+
identities: {
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: string id = 1;
|
|
232
|
+
*/
|
|
233
|
+
value: string;
|
|
234
|
+
case: "id";
|
|
235
|
+
} | {
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: string external_id = 2;
|
|
238
|
+
*/
|
|
239
|
+
value: string;
|
|
240
|
+
case: "externalId";
|
|
241
|
+
} | {
|
|
242
|
+
case: undefined;
|
|
243
|
+
value?: undefined;
|
|
244
|
+
};
|
|
245
|
+
constructor(data?: PartialMessage<GetOrganizationRequest>);
|
|
246
|
+
static readonly runtime: typeof proto3;
|
|
247
|
+
static readonly typeName = "scalekit.v1.organizations.GetOrganizationRequest";
|
|
248
|
+
static readonly fields: FieldList;
|
|
249
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRequest;
|
|
250
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRequest;
|
|
251
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRequest;
|
|
252
|
+
static equals(a: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined, b: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined): boolean;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @generated from message scalekit.v1.organizations.GetOrganizationResponse
|
|
256
|
+
*/
|
|
257
|
+
export declare class GetOrganizationResponse extends Message<GetOrganizationResponse> {
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: scalekit.v1.organizations.Organization organization = 1;
|
|
260
|
+
*/
|
|
261
|
+
organization?: Organization;
|
|
262
|
+
constructor(data?: PartialMessage<GetOrganizationResponse>);
|
|
263
|
+
static readonly runtime: typeof proto3;
|
|
264
|
+
static readonly typeName = "scalekit.v1.organizations.GetOrganizationResponse";
|
|
265
|
+
static readonly fields: FieldList;
|
|
266
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationResponse;
|
|
267
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationResponse;
|
|
268
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationResponse;
|
|
269
|
+
static equals(a: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined, b: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined): boolean;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* @generated from message scalekit.v1.organizations.ListOrganizationsRequest
|
|
273
|
+
*/
|
|
274
|
+
export declare class ListOrganizationsRequest extends Message<ListOrganizationsRequest> {
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: uint32 page_size = 1;
|
|
277
|
+
*/
|
|
278
|
+
pageSize: number;
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: string page_token = 2;
|
|
281
|
+
*/
|
|
282
|
+
pageToken: string;
|
|
283
|
+
constructor(data?: PartialMessage<ListOrganizationsRequest>);
|
|
284
|
+
static readonly runtime: typeof proto3;
|
|
285
|
+
static readonly typeName = "scalekit.v1.organizations.ListOrganizationsRequest";
|
|
286
|
+
static readonly fields: FieldList;
|
|
287
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationsRequest;
|
|
288
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationsRequest;
|
|
289
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationsRequest;
|
|
290
|
+
static equals(a: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined, b: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined): boolean;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* @generated from message scalekit.v1.organizations.ListOrganizationsResponse
|
|
294
|
+
*/
|
|
295
|
+
export declare class ListOrganizationsResponse extends Message<ListOrganizationsResponse> {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: string next_page_token = 1;
|
|
298
|
+
*/
|
|
299
|
+
nextPageToken: string;
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: uint32 total_size = 2;
|
|
302
|
+
*/
|
|
303
|
+
totalSize: number;
|
|
304
|
+
/**
|
|
305
|
+
* @generated from field: repeated scalekit.v1.organizations.Organization organizations = 3;
|
|
306
|
+
*/
|
|
307
|
+
organizations: Organization[];
|
|
308
|
+
constructor(data?: PartialMessage<ListOrganizationsResponse>);
|
|
309
|
+
static readonly runtime: typeof proto3;
|
|
310
|
+
static readonly typeName = "scalekit.v1.organizations.ListOrganizationsResponse";
|
|
311
|
+
static readonly fields: FieldList;
|
|
312
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationsResponse;
|
|
313
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationsResponse;
|
|
314
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationsResponse;
|
|
315
|
+
static equals(a: ListOrganizationsResponse | PlainMessage<ListOrganizationsResponse> | undefined, b: ListOrganizationsResponse | PlainMessage<ListOrganizationsResponse> | undefined): boolean;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* @generated from message scalekit.v1.organizations.DeleteOrganizationRequest
|
|
319
|
+
*/
|
|
320
|
+
export declare class DeleteOrganizationRequest extends Message<DeleteOrganizationRequest> {
|
|
321
|
+
/**
|
|
322
|
+
* @generated from oneof scalekit.v1.organizations.DeleteOrganizationRequest.identities
|
|
323
|
+
*/
|
|
324
|
+
identities: {
|
|
325
|
+
/**
|
|
326
|
+
* @generated from field: string id = 1;
|
|
327
|
+
*/
|
|
328
|
+
value: string;
|
|
329
|
+
case: "id";
|
|
330
|
+
} | {
|
|
331
|
+
/**
|
|
332
|
+
* @generated from field: string external_id = 2;
|
|
333
|
+
*/
|
|
334
|
+
value: string;
|
|
335
|
+
case: "externalId";
|
|
336
|
+
} | {
|
|
337
|
+
case: undefined;
|
|
338
|
+
value?: undefined;
|
|
339
|
+
};
|
|
340
|
+
constructor(data?: PartialMessage<DeleteOrganizationRequest>);
|
|
341
|
+
static readonly runtime: typeof proto3;
|
|
342
|
+
static readonly typeName = "scalekit.v1.organizations.DeleteOrganizationRequest";
|
|
343
|
+
static readonly fields: FieldList;
|
|
344
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationRequest;
|
|
345
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest;
|
|
346
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest;
|
|
347
|
+
static equals(a: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined, b: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined): boolean;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* @generated from message scalekit.v1.organizations.CustomerPortalLinkRequest
|
|
351
|
+
*/
|
|
352
|
+
export declare class CustomerPortalLinkRequest extends Message<CustomerPortalLinkRequest> {
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: string id = 1;
|
|
355
|
+
*/
|
|
356
|
+
id: string;
|
|
357
|
+
constructor(data?: PartialMessage<CustomerPortalLinkRequest>);
|
|
358
|
+
static readonly runtime: typeof proto3;
|
|
359
|
+
static readonly typeName = "scalekit.v1.organizations.CustomerPortalLinkRequest";
|
|
360
|
+
static readonly fields: FieldList;
|
|
361
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomerPortalLinkRequest;
|
|
362
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomerPortalLinkRequest;
|
|
363
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomerPortalLinkRequest;
|
|
364
|
+
static equals(a: CustomerPortalLinkRequest | PlainMessage<CustomerPortalLinkRequest> | undefined, b: CustomerPortalLinkRequest | PlainMessage<CustomerPortalLinkRequest> | undefined): boolean;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* @generated from message scalekit.v1.organizations.Link
|
|
368
|
+
*/
|
|
369
|
+
export declare class Link extends Message<Link> {
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string id = 1;
|
|
372
|
+
*/
|
|
373
|
+
id: string;
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: string location = 2;
|
|
376
|
+
*/
|
|
377
|
+
location: string;
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: google.protobuf.Timestamp expire_time = 3;
|
|
380
|
+
*/
|
|
381
|
+
expireTime?: Timestamp;
|
|
382
|
+
constructor(data?: PartialMessage<Link>);
|
|
383
|
+
static readonly runtime: typeof proto3;
|
|
384
|
+
static readonly typeName = "scalekit.v1.organizations.Link";
|
|
385
|
+
static readonly fields: FieldList;
|
|
386
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Link;
|
|
387
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Link;
|
|
388
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Link;
|
|
389
|
+
static equals(a: Link | PlainMessage<Link> | undefined, b: Link | PlainMessage<Link> | undefined): boolean;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* @generated from message scalekit.v1.organizations.GenerateCustomerPortalLinkResponse
|
|
393
|
+
*/
|
|
394
|
+
export declare class GenerateCustomerPortalLinkResponse extends Message<GenerateCustomerPortalLinkResponse> {
|
|
395
|
+
/**
|
|
396
|
+
* @generated from field: scalekit.v1.organizations.Link link = 1;
|
|
397
|
+
*/
|
|
398
|
+
link?: Link;
|
|
399
|
+
constructor(data?: PartialMessage<GenerateCustomerPortalLinkResponse>);
|
|
400
|
+
static readonly runtime: typeof proto3;
|
|
401
|
+
static readonly typeName = "scalekit.v1.organizations.GenerateCustomerPortalLinkResponse";
|
|
402
|
+
static readonly fields: FieldList;
|
|
403
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateCustomerPortalLinkResponse;
|
|
404
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateCustomerPortalLinkResponse;
|
|
405
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateCustomerPortalLinkResponse;
|
|
406
|
+
static equals(a: GenerateCustomerPortalLinkResponse | PlainMessage<GenerateCustomerPortalLinkResponse> | undefined, b: GenerateCustomerPortalLinkResponse | PlainMessage<GenerateCustomerPortalLinkResponse> | undefined): boolean;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @generated from message scalekit.v1.organizations.CustomerPortalLinksResponse
|
|
410
|
+
*/
|
|
411
|
+
export declare class CustomerPortalLinksResponse extends Message<CustomerPortalLinksResponse> {
|
|
412
|
+
/**
|
|
413
|
+
* @generated from field: repeated scalekit.v1.organizations.Link links = 1;
|
|
414
|
+
*/
|
|
415
|
+
links: Link[];
|
|
416
|
+
constructor(data?: PartialMessage<CustomerPortalLinksResponse>);
|
|
417
|
+
static readonly runtime: typeof proto3;
|
|
418
|
+
static readonly typeName = "scalekit.v1.organizations.CustomerPortalLinksResponse";
|
|
419
|
+
static readonly fields: FieldList;
|
|
420
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomerPortalLinksResponse;
|
|
421
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomerPortalLinksResponse;
|
|
422
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomerPortalLinksResponse;
|
|
423
|
+
static equals(a: CustomerPortalLinksResponse | PlainMessage<CustomerPortalLinksResponse> | undefined, b: CustomerPortalLinksResponse | PlainMessage<CustomerPortalLinksResponse> | undefined): boolean;
|
|
424
|
+
}
|