@scalekit-sdk/node 1.0.7 → 1.0.8
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/buf.gen.yaml +2 -1
- package/lib/core.js +1 -1
- package/lib/directory.d.ts +78 -0
- package/lib/directory.js +126 -0
- package/lib/directory.js.map +1 -0
- package/lib/organization.d.ts +8 -0
- package/lib/organization.js +20 -0
- package/lib/organization.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +118 -0
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +126 -0
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +960 -0
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +1429 -0
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +10 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +9 -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 +81 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +113 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/scalekit.d.ts +27 -1
- package/lib/scalekit.js +67 -1
- package/lib/scalekit.js.map +1 -1
- package/lib/types/organization.d.ts +7 -0
- package/lib/types/organization.js +3 -0
- package/lib/types/organization.js.map +1 -0
- package/package.json +1 -1
- package/src/core.ts +1 -1
- package/src/directory.ts +173 -0
- package/src/organization.ts +24 -1
- package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +125 -0
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +1838 -0
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +10 -1
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +155 -0
- package/src/scalekit.ts +78 -3
- package/src/types/organization.ts +8 -0
|
@@ -0,0 +1,960 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from enum scalekit.v1.directories.DirectoryType
|
|
5
|
+
*/
|
|
6
|
+
export declare enum DirectoryType {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from enum value: DIRECTORY_TYPE_UNSPECIFIED = 0;
|
|
9
|
+
*/
|
|
10
|
+
DIRECTORY_TYPE_UNSPECIFIED = 0,
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum value: SCIM = 1;
|
|
13
|
+
*/
|
|
14
|
+
SCIM = 1,
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: LDAP = 2;
|
|
17
|
+
*/
|
|
18
|
+
LDAP = 2
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum scalekit.v1.directories.DirectoryProvider
|
|
22
|
+
*/
|
|
23
|
+
export declare enum DirectoryProvider {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: DIRECTORY_PROVIDER_UNSPECIFIED = 0;
|
|
26
|
+
*/
|
|
27
|
+
DIRECTORY_PROVIDER_UNSPECIFIED = 0,
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: OKTA = 1;
|
|
30
|
+
*/
|
|
31
|
+
OKTA = 1,
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: GOOGLE = 2;
|
|
34
|
+
*/
|
|
35
|
+
GOOGLE = 2,
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: MICROSOFT_AD = 3;
|
|
38
|
+
*/
|
|
39
|
+
MICROSOFT_AD = 3,
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: AUTH0 = 4;
|
|
42
|
+
*/
|
|
43
|
+
AUTH0 = 4,
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: ONELOGIN = 5;
|
|
46
|
+
*/
|
|
47
|
+
ONELOGIN = 5
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum scalekit.v1.directories.DirectoryStatus
|
|
51
|
+
*/
|
|
52
|
+
export declare enum DirectoryStatus {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: DIRECTORY_STATUS_UNSPECIFIED = 0;
|
|
55
|
+
*/
|
|
56
|
+
DIRECTORY_STATUS_UNSPECIFIED = 0,
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum value: DRAFT = 1;
|
|
59
|
+
*/
|
|
60
|
+
DRAFT = 1,
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: IN_PROGRESS = 2;
|
|
63
|
+
*/
|
|
64
|
+
IN_PROGRESS = 2,
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: COMPLETED = 3;
|
|
67
|
+
*/
|
|
68
|
+
COMPLETED = 3
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @generated from enum scalekit.v1.directories.SecretStatus
|
|
72
|
+
*/
|
|
73
|
+
export declare enum SecretStatus {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from enum value: ACTIVE = 0;
|
|
76
|
+
*/
|
|
77
|
+
ACTIVE = 0,
|
|
78
|
+
/**
|
|
79
|
+
* @generated from enum value: INACTIVE = 1;
|
|
80
|
+
*/
|
|
81
|
+
INACTIVE = 1
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message scalekit.v1.directories.GetDirectoryRequest
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetDirectoryRequest extends Message<GetDirectoryRequest> {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: string id = 1;
|
|
89
|
+
*/
|
|
90
|
+
id: string;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string organization_id = 2;
|
|
93
|
+
*/
|
|
94
|
+
organizationId: string;
|
|
95
|
+
constructor(data?: PartialMessage<GetDirectoryRequest>);
|
|
96
|
+
static readonly runtime: typeof proto3;
|
|
97
|
+
static readonly typeName = "scalekit.v1.directories.GetDirectoryRequest";
|
|
98
|
+
static readonly fields: FieldList;
|
|
99
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDirectoryRequest;
|
|
100
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDirectoryRequest;
|
|
101
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDirectoryRequest;
|
|
102
|
+
static equals(a: GetDirectoryRequest | PlainMessage<GetDirectoryRequest> | undefined, b: GetDirectoryRequest | PlainMessage<GetDirectoryRequest> | undefined): boolean;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @generated from message scalekit.v1.directories.GetDirectoryResponse
|
|
106
|
+
*/
|
|
107
|
+
export declare class GetDirectoryResponse extends Message<GetDirectoryResponse> {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: scalekit.v1.directories.Directory directory = 1;
|
|
110
|
+
*/
|
|
111
|
+
directory?: Directory;
|
|
112
|
+
constructor(data?: PartialMessage<GetDirectoryResponse>);
|
|
113
|
+
static readonly runtime: typeof proto3;
|
|
114
|
+
static readonly typeName = "scalekit.v1.directories.GetDirectoryResponse";
|
|
115
|
+
static readonly fields: FieldList;
|
|
116
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDirectoryResponse;
|
|
117
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDirectoryResponse;
|
|
118
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDirectoryResponse;
|
|
119
|
+
static equals(a: GetDirectoryResponse | PlainMessage<GetDirectoryResponse> | undefined, b: GetDirectoryResponse | PlainMessage<GetDirectoryResponse> | undefined): boolean;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* @generated from message scalekit.v1.directories.CreateDirectoryRequest
|
|
123
|
+
*/
|
|
124
|
+
export declare class CreateDirectoryRequest extends Message<CreateDirectoryRequest> {
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: string organization_id = 1;
|
|
127
|
+
*/
|
|
128
|
+
organizationId: string;
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: scalekit.v1.directories.CreateDirectory directory = 2;
|
|
131
|
+
*/
|
|
132
|
+
directory?: CreateDirectory;
|
|
133
|
+
constructor(data?: PartialMessage<CreateDirectoryRequest>);
|
|
134
|
+
static readonly runtime: typeof proto3;
|
|
135
|
+
static readonly typeName = "scalekit.v1.directories.CreateDirectoryRequest";
|
|
136
|
+
static readonly fields: FieldList;
|
|
137
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectoryRequest;
|
|
138
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectoryRequest;
|
|
139
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectoryRequest;
|
|
140
|
+
static equals(a: CreateDirectoryRequest | PlainMessage<CreateDirectoryRequest> | undefined, b: CreateDirectoryRequest | PlainMessage<CreateDirectoryRequest> | undefined): boolean;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message scalekit.v1.directories.CreateDirectory
|
|
144
|
+
*/
|
|
145
|
+
export declare class CreateDirectory extends Message<CreateDirectory> {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: scalekit.v1.directories.DirectoryType directory_type = 1;
|
|
148
|
+
*/
|
|
149
|
+
directoryType: DirectoryType;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 2;
|
|
152
|
+
*/
|
|
153
|
+
directoryProvider: DirectoryProvider;
|
|
154
|
+
constructor(data?: PartialMessage<CreateDirectory>);
|
|
155
|
+
static readonly runtime: typeof proto3;
|
|
156
|
+
static readonly typeName = "scalekit.v1.directories.CreateDirectory";
|
|
157
|
+
static readonly fields: FieldList;
|
|
158
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectory;
|
|
159
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectory;
|
|
160
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectory;
|
|
161
|
+
static equals(a: CreateDirectory | PlainMessage<CreateDirectory> | undefined, b: CreateDirectory | PlainMessage<CreateDirectory> | undefined): boolean;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @generated from message scalekit.v1.directories.CreateDirectoryResponse
|
|
165
|
+
*/
|
|
166
|
+
export declare class CreateDirectoryResponse extends Message<CreateDirectoryResponse> {
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: scalekit.v1.directories.Directory directory = 1;
|
|
169
|
+
*/
|
|
170
|
+
directory?: Directory;
|
|
171
|
+
constructor(data?: PartialMessage<CreateDirectoryResponse>);
|
|
172
|
+
static readonly runtime: typeof proto3;
|
|
173
|
+
static readonly typeName = "scalekit.v1.directories.CreateDirectoryResponse";
|
|
174
|
+
static readonly fields: FieldList;
|
|
175
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectoryResponse;
|
|
176
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectoryResponse;
|
|
177
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectoryResponse;
|
|
178
|
+
static equals(a: CreateDirectoryResponse | PlainMessage<CreateDirectoryResponse> | undefined, b: CreateDirectoryResponse | PlainMessage<CreateDirectoryResponse> | undefined): boolean;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* @generated from message scalekit.v1.directories.UpdateDirectoryRequest
|
|
182
|
+
*/
|
|
183
|
+
export declare class UpdateDirectoryRequest extends Message<UpdateDirectoryRequest> {
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: string id = 1;
|
|
186
|
+
*/
|
|
187
|
+
id: string;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: string organization_id = 2;
|
|
190
|
+
*/
|
|
191
|
+
organizationId: string;
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: scalekit.v1.directories.UpdateDirectory directory = 3;
|
|
194
|
+
*/
|
|
195
|
+
directory?: UpdateDirectory;
|
|
196
|
+
constructor(data?: PartialMessage<UpdateDirectoryRequest>);
|
|
197
|
+
static readonly runtime: typeof proto3;
|
|
198
|
+
static readonly typeName = "scalekit.v1.directories.UpdateDirectoryRequest";
|
|
199
|
+
static readonly fields: FieldList;
|
|
200
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDirectoryRequest;
|
|
201
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDirectoryRequest;
|
|
202
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDirectoryRequest;
|
|
203
|
+
static equals(a: UpdateDirectoryRequest | PlainMessage<UpdateDirectoryRequest> | undefined, b: UpdateDirectoryRequest | PlainMessage<UpdateDirectoryRequest> | undefined): boolean;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message scalekit.v1.directories.UpdateDirectory
|
|
207
|
+
*/
|
|
208
|
+
export declare class UpdateDirectory extends Message<UpdateDirectory> {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string name = 2;
|
|
211
|
+
*/
|
|
212
|
+
name: string;
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: scalekit.v1.directories.DirectoryType directory_type = 3;
|
|
215
|
+
*/
|
|
216
|
+
directoryType: DirectoryType;
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: bool enabled = 7;
|
|
219
|
+
*/
|
|
220
|
+
enabled: boolean;
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 8;
|
|
223
|
+
*/
|
|
224
|
+
directoryProvider: DirectoryProvider;
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: scalekit.v1.directories.DirectoryStatus status = 9;
|
|
227
|
+
*/
|
|
228
|
+
status: DirectoryStatus;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: repeated scalekit.v1.directories.DirectoryMapping mappings = 10;
|
|
231
|
+
*/
|
|
232
|
+
mappings: DirectoryMapping[];
|
|
233
|
+
constructor(data?: PartialMessage<UpdateDirectory>);
|
|
234
|
+
static readonly runtime: typeof proto3;
|
|
235
|
+
static readonly typeName = "scalekit.v1.directories.UpdateDirectory";
|
|
236
|
+
static readonly fields: FieldList;
|
|
237
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDirectory;
|
|
238
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDirectory;
|
|
239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDirectory;
|
|
240
|
+
static equals(a: UpdateDirectory | PlainMessage<UpdateDirectory> | undefined, b: UpdateDirectory | PlainMessage<UpdateDirectory> | undefined): boolean;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message scalekit.v1.directories.UpdateDirectoryResponse
|
|
244
|
+
*/
|
|
245
|
+
export declare class UpdateDirectoryResponse extends Message<UpdateDirectoryResponse> {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: scalekit.v1.directories.Directory directory = 1;
|
|
248
|
+
*/
|
|
249
|
+
directory?: Directory;
|
|
250
|
+
constructor(data?: PartialMessage<UpdateDirectoryResponse>);
|
|
251
|
+
static readonly runtime: typeof proto3;
|
|
252
|
+
static readonly typeName = "scalekit.v1.directories.UpdateDirectoryResponse";
|
|
253
|
+
static readonly fields: FieldList;
|
|
254
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDirectoryResponse;
|
|
255
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDirectoryResponse;
|
|
256
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDirectoryResponse;
|
|
257
|
+
static equals(a: UpdateDirectoryResponse | PlainMessage<UpdateDirectoryResponse> | undefined, b: UpdateDirectoryResponse | PlainMessage<UpdateDirectoryResponse> | undefined): boolean;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message scalekit.v1.directories.ListDirectoriesRequest
|
|
261
|
+
*/
|
|
262
|
+
export declare class ListDirectoriesRequest extends Message<ListDirectoriesRequest> {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: string organization_id = 1;
|
|
265
|
+
*/
|
|
266
|
+
organizationId: string;
|
|
267
|
+
constructor(data?: PartialMessage<ListDirectoriesRequest>);
|
|
268
|
+
static readonly runtime: typeof proto3;
|
|
269
|
+
static readonly typeName = "scalekit.v1.directories.ListDirectoriesRequest";
|
|
270
|
+
static readonly fields: FieldList;
|
|
271
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoriesRequest;
|
|
272
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoriesRequest;
|
|
273
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoriesRequest;
|
|
274
|
+
static equals(a: ListDirectoriesRequest | PlainMessage<ListDirectoriesRequest> | undefined, b: ListDirectoriesRequest | PlainMessage<ListDirectoriesRequest> | undefined): boolean;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* @generated from message scalekit.v1.directories.ListDirectoriesResponse
|
|
278
|
+
*/
|
|
279
|
+
export declare class ListDirectoriesResponse extends Message<ListDirectoriesResponse> {
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: repeated scalekit.v1.directories.Directory directories = 1;
|
|
282
|
+
*/
|
|
283
|
+
directories: Directory[];
|
|
284
|
+
constructor(data?: PartialMessage<ListDirectoriesResponse>);
|
|
285
|
+
static readonly runtime: typeof proto3;
|
|
286
|
+
static readonly typeName = "scalekit.v1.directories.ListDirectoriesResponse";
|
|
287
|
+
static readonly fields: FieldList;
|
|
288
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoriesResponse;
|
|
289
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoriesResponse;
|
|
290
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoriesResponse;
|
|
291
|
+
static equals(a: ListDirectoriesResponse | PlainMessage<ListDirectoriesResponse> | undefined, b: ListDirectoriesResponse | PlainMessage<ListDirectoriesResponse> | undefined): boolean;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* @generated from message scalekit.v1.directories.ListDirectoryUsersRequest
|
|
295
|
+
*/
|
|
296
|
+
export declare class ListDirectoryUsersRequest extends Message<ListDirectoryUsersRequest> {
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string organization_id = 1;
|
|
299
|
+
*/
|
|
300
|
+
organizationId: string;
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: string directory_id = 2;
|
|
303
|
+
*/
|
|
304
|
+
directoryId: string;
|
|
305
|
+
/**
|
|
306
|
+
* @generated from field: uint32 page_size = 3;
|
|
307
|
+
*/
|
|
308
|
+
pageSize: number;
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: string page_token = 4;
|
|
311
|
+
*/
|
|
312
|
+
pageToken: string;
|
|
313
|
+
/**
|
|
314
|
+
* @generated from field: optional bool include_detail = 5;
|
|
315
|
+
*/
|
|
316
|
+
includeDetail?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* @generated from field: optional string directory_group_id = 6;
|
|
319
|
+
*/
|
|
320
|
+
directoryGroupId?: string;
|
|
321
|
+
/**
|
|
322
|
+
* @generated from field: optional google.protobuf.Timestamp updated_after = 7;
|
|
323
|
+
*/
|
|
324
|
+
updatedAfter?: Timestamp;
|
|
325
|
+
constructor(data?: PartialMessage<ListDirectoryUsersRequest>);
|
|
326
|
+
static readonly runtime: typeof proto3;
|
|
327
|
+
static readonly typeName = "scalekit.v1.directories.ListDirectoryUsersRequest";
|
|
328
|
+
static readonly fields: FieldList;
|
|
329
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryUsersRequest;
|
|
330
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryUsersRequest;
|
|
331
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryUsersRequest;
|
|
332
|
+
static equals(a: ListDirectoryUsersRequest | PlainMessage<ListDirectoryUsersRequest> | undefined, b: ListDirectoryUsersRequest | PlainMessage<ListDirectoryUsersRequest> | undefined): boolean;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* @generated from message scalekit.v1.directories.ListDirectoryUsersResponse
|
|
336
|
+
*/
|
|
337
|
+
export declare class ListDirectoryUsersResponse extends Message<ListDirectoryUsersResponse> {
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: repeated scalekit.v1.directories.DirectoryUser users = 1;
|
|
340
|
+
*/
|
|
341
|
+
users: DirectoryUser[];
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: uint32 total_size = 2;
|
|
344
|
+
*/
|
|
345
|
+
totalSize: number;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: string next_page_token = 3;
|
|
348
|
+
*/
|
|
349
|
+
nextPageToken: string;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: string prev_page_token = 4;
|
|
352
|
+
*/
|
|
353
|
+
prevPageToken: string;
|
|
354
|
+
constructor(data?: PartialMessage<ListDirectoryUsersResponse>);
|
|
355
|
+
static readonly runtime: typeof proto3;
|
|
356
|
+
static readonly typeName = "scalekit.v1.directories.ListDirectoryUsersResponse";
|
|
357
|
+
static readonly fields: FieldList;
|
|
358
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryUsersResponse;
|
|
359
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryUsersResponse;
|
|
360
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryUsersResponse;
|
|
361
|
+
static equals(a: ListDirectoryUsersResponse | PlainMessage<ListDirectoryUsersResponse> | undefined, b: ListDirectoryUsersResponse | PlainMessage<ListDirectoryUsersResponse> | undefined): boolean;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @generated from message scalekit.v1.directories.ListDirectoryGroupsRequest
|
|
365
|
+
*/
|
|
366
|
+
export declare class ListDirectoryGroupsRequest extends Message<ListDirectoryGroupsRequest> {
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: string organization_id = 1;
|
|
369
|
+
*/
|
|
370
|
+
organizationId: string;
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: string directory_id = 2;
|
|
373
|
+
*/
|
|
374
|
+
directoryId: string;
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: uint32 page_size = 3;
|
|
377
|
+
*/
|
|
378
|
+
pageSize: number;
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string page_token = 4;
|
|
381
|
+
*/
|
|
382
|
+
pageToken: string;
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: optional google.protobuf.Timestamp updated_after = 5;
|
|
385
|
+
*/
|
|
386
|
+
updatedAfter?: Timestamp;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from field: optional bool include_detail = 6;
|
|
389
|
+
*/
|
|
390
|
+
includeDetail?: boolean;
|
|
391
|
+
constructor(data?: PartialMessage<ListDirectoryGroupsRequest>);
|
|
392
|
+
static readonly runtime: typeof proto3;
|
|
393
|
+
static readonly typeName = "scalekit.v1.directories.ListDirectoryGroupsRequest";
|
|
394
|
+
static readonly fields: FieldList;
|
|
395
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryGroupsRequest;
|
|
396
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryGroupsRequest;
|
|
397
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryGroupsRequest;
|
|
398
|
+
static equals(a: ListDirectoryGroupsRequest | PlainMessage<ListDirectoryGroupsRequest> | undefined, b: ListDirectoryGroupsRequest | PlainMessage<ListDirectoryGroupsRequest> | undefined): boolean;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* @generated from message scalekit.v1.directories.ListDirectoryGroupsResponse
|
|
402
|
+
*/
|
|
403
|
+
export declare class ListDirectoryGroupsResponse extends Message<ListDirectoryGroupsResponse> {
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: repeated scalekit.v1.directories.DirectoryGroup groups = 1;
|
|
406
|
+
*/
|
|
407
|
+
groups: DirectoryGroup[];
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: uint32 total_size = 2;
|
|
410
|
+
*/
|
|
411
|
+
totalSize: number;
|
|
412
|
+
/**
|
|
413
|
+
* @generated from field: string next_page_token = 3;
|
|
414
|
+
*/
|
|
415
|
+
nextPageToken: string;
|
|
416
|
+
/**
|
|
417
|
+
* @generated from field: string prev_page_token = 4;
|
|
418
|
+
*/
|
|
419
|
+
prevPageToken: string;
|
|
420
|
+
constructor(data?: PartialMessage<ListDirectoryGroupsResponse>);
|
|
421
|
+
static readonly runtime: typeof proto3;
|
|
422
|
+
static readonly typeName = "scalekit.v1.directories.ListDirectoryGroupsResponse";
|
|
423
|
+
static readonly fields: FieldList;
|
|
424
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryGroupsResponse;
|
|
425
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryGroupsResponse;
|
|
426
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryGroupsResponse;
|
|
427
|
+
static equals(a: ListDirectoryGroupsResponse | PlainMessage<ListDirectoryGroupsResponse> | undefined, b: ListDirectoryGroupsResponse | PlainMessage<ListDirectoryGroupsResponse> | undefined): boolean;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* @generated from message scalekit.v1.directories.Directory
|
|
431
|
+
*/
|
|
432
|
+
export declare class Directory extends Message<Directory> {
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: string id = 1;
|
|
435
|
+
*/
|
|
436
|
+
id: string;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: string name = 2;
|
|
439
|
+
*/
|
|
440
|
+
name: string;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: scalekit.v1.directories.DirectoryType directory_type = 3;
|
|
443
|
+
*/
|
|
444
|
+
directoryType: DirectoryType;
|
|
445
|
+
/**
|
|
446
|
+
* @generated from field: string organization_id = 4;
|
|
447
|
+
*/
|
|
448
|
+
organizationId: string;
|
|
449
|
+
/**
|
|
450
|
+
* @generated from field: bool enabled = 5;
|
|
451
|
+
*/
|
|
452
|
+
enabled: boolean;
|
|
453
|
+
/**
|
|
454
|
+
* @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 6;
|
|
455
|
+
*/
|
|
456
|
+
directoryProvider: DirectoryProvider;
|
|
457
|
+
/**
|
|
458
|
+
* @generated from field: google.protobuf.Timestamp last_synced_at = 7;
|
|
459
|
+
*/
|
|
460
|
+
lastSyncedAt?: Timestamp;
|
|
461
|
+
/**
|
|
462
|
+
* @generated from field: string directory_endpoint = 8;
|
|
463
|
+
*/
|
|
464
|
+
directoryEndpoint: string;
|
|
465
|
+
/**
|
|
466
|
+
* @generated from field: int32 total_users = 9;
|
|
467
|
+
*/
|
|
468
|
+
totalUsers: number;
|
|
469
|
+
/**
|
|
470
|
+
* @generated from field: int32 total_groups = 10;
|
|
471
|
+
*/
|
|
472
|
+
totalGroups: number;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: repeated scalekit.v1.directories.Secret secrets = 11;
|
|
475
|
+
*/
|
|
476
|
+
secrets: Secret[];
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: scalekit.v1.directories.Stats stats = 12;
|
|
479
|
+
*/
|
|
480
|
+
stats?: Stats;
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: scalekit.v1.directories.RoleAssignments role_assignments = 13;
|
|
483
|
+
*/
|
|
484
|
+
roleAssignments?: RoleAssignments;
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: scalekit.v1.directories.AttributeMappings attribute_mappings = 14;
|
|
487
|
+
*/
|
|
488
|
+
attributeMappings?: AttributeMappings;
|
|
489
|
+
constructor(data?: PartialMessage<Directory>);
|
|
490
|
+
static readonly runtime: typeof proto3;
|
|
491
|
+
static readonly typeName = "scalekit.v1.directories.Directory";
|
|
492
|
+
static readonly fields: FieldList;
|
|
493
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Directory;
|
|
494
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Directory;
|
|
495
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Directory;
|
|
496
|
+
static equals(a: Directory | PlainMessage<Directory> | undefined, b: Directory | PlainMessage<Directory> | undefined): boolean;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* @generated from message scalekit.v1.directories.ToggleDirectoryRequest
|
|
500
|
+
*/
|
|
501
|
+
export declare class ToggleDirectoryRequest extends Message<ToggleDirectoryRequest> {
|
|
502
|
+
/**
|
|
503
|
+
* @generated from field: string organization_id = 1;
|
|
504
|
+
*/
|
|
505
|
+
organizationId: string;
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: string id = 3;
|
|
508
|
+
*/
|
|
509
|
+
id: string;
|
|
510
|
+
constructor(data?: PartialMessage<ToggleDirectoryRequest>);
|
|
511
|
+
static readonly runtime: typeof proto3;
|
|
512
|
+
static readonly typeName = "scalekit.v1.directories.ToggleDirectoryRequest";
|
|
513
|
+
static readonly fields: FieldList;
|
|
514
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleDirectoryRequest;
|
|
515
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleDirectoryRequest;
|
|
516
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleDirectoryRequest;
|
|
517
|
+
static equals(a: ToggleDirectoryRequest | PlainMessage<ToggleDirectoryRequest> | undefined, b: ToggleDirectoryRequest | PlainMessage<ToggleDirectoryRequest> | undefined): boolean;
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* @generated from message scalekit.v1.directories.ToggleDirectoryResponse
|
|
521
|
+
*/
|
|
522
|
+
export declare class ToggleDirectoryResponse extends Message<ToggleDirectoryResponse> {
|
|
523
|
+
/**
|
|
524
|
+
* @generated from field: bool enabled = 1;
|
|
525
|
+
*/
|
|
526
|
+
enabled: boolean;
|
|
527
|
+
/**
|
|
528
|
+
* @generated from field: optional string error_message = 2;
|
|
529
|
+
*/
|
|
530
|
+
errorMessage?: string;
|
|
531
|
+
constructor(data?: PartialMessage<ToggleDirectoryResponse>);
|
|
532
|
+
static readonly runtime: typeof proto3;
|
|
533
|
+
static readonly typeName = "scalekit.v1.directories.ToggleDirectoryResponse";
|
|
534
|
+
static readonly fields: FieldList;
|
|
535
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleDirectoryResponse;
|
|
536
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleDirectoryResponse;
|
|
537
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleDirectoryResponse;
|
|
538
|
+
static equals(a: ToggleDirectoryResponse | PlainMessage<ToggleDirectoryResponse> | undefined, b: ToggleDirectoryResponse | PlainMessage<ToggleDirectoryResponse> | undefined): boolean;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* @generated from message scalekit.v1.directories.DirectoryMapping
|
|
542
|
+
*/
|
|
543
|
+
export declare class DirectoryMapping extends Message<DirectoryMapping> {
|
|
544
|
+
/**
|
|
545
|
+
* @generated from field: string key = 1;
|
|
546
|
+
*/
|
|
547
|
+
key: string;
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: string map_to = 2;
|
|
550
|
+
*/
|
|
551
|
+
mapTo: string;
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: string display_name = 3;
|
|
554
|
+
*/
|
|
555
|
+
displayName: string;
|
|
556
|
+
constructor(data?: PartialMessage<DirectoryMapping>);
|
|
557
|
+
static readonly runtime: typeof proto3;
|
|
558
|
+
static readonly typeName = "scalekit.v1.directories.DirectoryMapping";
|
|
559
|
+
static readonly fields: FieldList;
|
|
560
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectoryMapping;
|
|
561
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectoryMapping;
|
|
562
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectoryMapping;
|
|
563
|
+
static equals(a: DirectoryMapping | PlainMessage<DirectoryMapping> | undefined, b: DirectoryMapping | PlainMessage<DirectoryMapping> | undefined): boolean;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* @generated from message scalekit.v1.directories.DirectoryUser
|
|
567
|
+
*/
|
|
568
|
+
export declare class DirectoryUser extends Message<DirectoryUser> {
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: string id = 1;
|
|
571
|
+
*/
|
|
572
|
+
id: string;
|
|
573
|
+
/**
|
|
574
|
+
* @generated from field: string email = 2;
|
|
575
|
+
*/
|
|
576
|
+
email: string;
|
|
577
|
+
/**
|
|
578
|
+
* @generated from field: string preferred_username = 3;
|
|
579
|
+
*/
|
|
580
|
+
preferredUsername: string;
|
|
581
|
+
/**
|
|
582
|
+
* @generated from field: string given_name = 4;
|
|
583
|
+
*/
|
|
584
|
+
givenName: string;
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: string family_name = 5;
|
|
587
|
+
*/
|
|
588
|
+
familyName: string;
|
|
589
|
+
/**
|
|
590
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 6;
|
|
591
|
+
*/
|
|
592
|
+
updatedAt?: Timestamp;
|
|
593
|
+
/**
|
|
594
|
+
* @generated from field: repeated string emails = 16;
|
|
595
|
+
*/
|
|
596
|
+
emails: string[];
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: repeated scalekit.v1.directories.DirectoryGroup groups = 17;
|
|
599
|
+
*/
|
|
600
|
+
groups: DirectoryGroup[];
|
|
601
|
+
/**
|
|
602
|
+
* @generated from field: google.protobuf.Struct user_detail = 18;
|
|
603
|
+
*/
|
|
604
|
+
userDetail?: Struct;
|
|
605
|
+
constructor(data?: PartialMessage<DirectoryUser>);
|
|
606
|
+
static readonly runtime: typeof proto3;
|
|
607
|
+
static readonly typeName = "scalekit.v1.directories.DirectoryUser";
|
|
608
|
+
static readonly fields: FieldList;
|
|
609
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectoryUser;
|
|
610
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectoryUser;
|
|
611
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectoryUser;
|
|
612
|
+
static equals(a: DirectoryUser | PlainMessage<DirectoryUser> | undefined, b: DirectoryUser | PlainMessage<DirectoryUser> | undefined): boolean;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* @generated from message scalekit.v1.directories.DirectoryGroup
|
|
616
|
+
*/
|
|
617
|
+
export declare class DirectoryGroup extends Message<DirectoryGroup> {
|
|
618
|
+
/**
|
|
619
|
+
* @generated from field: string id = 1;
|
|
620
|
+
*/
|
|
621
|
+
id: string;
|
|
622
|
+
/**
|
|
623
|
+
* @generated from field: string display_name = 2;
|
|
624
|
+
*/
|
|
625
|
+
displayName: string;
|
|
626
|
+
/**
|
|
627
|
+
* @generated from field: int32 total_users = 3;
|
|
628
|
+
*/
|
|
629
|
+
totalUsers: number;
|
|
630
|
+
/**
|
|
631
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 4;
|
|
632
|
+
*/
|
|
633
|
+
updatedAt?: Timestamp;
|
|
634
|
+
/**
|
|
635
|
+
* @generated from field: google.protobuf.Struct group_detail = 5;
|
|
636
|
+
*/
|
|
637
|
+
groupDetail?: Struct;
|
|
638
|
+
constructor(data?: PartialMessage<DirectoryGroup>);
|
|
639
|
+
static readonly runtime: typeof proto3;
|
|
640
|
+
static readonly typeName = "scalekit.v1.directories.DirectoryGroup";
|
|
641
|
+
static readonly fields: FieldList;
|
|
642
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectoryGroup;
|
|
643
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectoryGroup;
|
|
644
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectoryGroup;
|
|
645
|
+
static equals(a: DirectoryGroup | PlainMessage<DirectoryGroup> | undefined, b: DirectoryGroup | PlainMessage<DirectoryGroup> | undefined): boolean;
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* @generated from message scalekit.v1.directories.CreateDirectorySecretRequest
|
|
649
|
+
*/
|
|
650
|
+
export declare class CreateDirectorySecretRequest extends Message<CreateDirectorySecretRequest> {
|
|
651
|
+
/**
|
|
652
|
+
* @generated from field: string organization_id = 1;
|
|
653
|
+
*/
|
|
654
|
+
organizationId: string;
|
|
655
|
+
/**
|
|
656
|
+
* @generated from field: string directory_id = 2;
|
|
657
|
+
*/
|
|
658
|
+
directoryId: string;
|
|
659
|
+
constructor(data?: PartialMessage<CreateDirectorySecretRequest>);
|
|
660
|
+
static readonly runtime: typeof proto3;
|
|
661
|
+
static readonly typeName = "scalekit.v1.directories.CreateDirectorySecretRequest";
|
|
662
|
+
static readonly fields: FieldList;
|
|
663
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectorySecretRequest;
|
|
664
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectorySecretRequest;
|
|
665
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectorySecretRequest;
|
|
666
|
+
static equals(a: CreateDirectorySecretRequest | PlainMessage<CreateDirectorySecretRequest> | undefined, b: CreateDirectorySecretRequest | PlainMessage<CreateDirectorySecretRequest> | undefined): boolean;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* @generated from message scalekit.v1.directories.CreateDirectorySecretResponse
|
|
670
|
+
*/
|
|
671
|
+
export declare class CreateDirectorySecretResponse extends Message<CreateDirectorySecretResponse> {
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: string plain_secret = 1;
|
|
674
|
+
*/
|
|
675
|
+
plainSecret: string;
|
|
676
|
+
/**
|
|
677
|
+
* @generated from field: scalekit.v1.directories.Secret secret = 2;
|
|
678
|
+
*/
|
|
679
|
+
secret?: Secret;
|
|
680
|
+
constructor(data?: PartialMessage<CreateDirectorySecretResponse>);
|
|
681
|
+
static readonly runtime: typeof proto3;
|
|
682
|
+
static readonly typeName = "scalekit.v1.directories.CreateDirectorySecretResponse";
|
|
683
|
+
static readonly fields: FieldList;
|
|
684
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectorySecretResponse;
|
|
685
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectorySecretResponse;
|
|
686
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectorySecretResponse;
|
|
687
|
+
static equals(a: CreateDirectorySecretResponse | PlainMessage<CreateDirectorySecretResponse> | undefined, b: CreateDirectorySecretResponse | PlainMessage<CreateDirectorySecretResponse> | undefined): boolean;
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* @generated from message scalekit.v1.directories.RegenerateDirectorySecretRequest
|
|
691
|
+
*/
|
|
692
|
+
export declare class RegenerateDirectorySecretRequest extends Message<RegenerateDirectorySecretRequest> {
|
|
693
|
+
/**
|
|
694
|
+
* @generated from field: string organization_id = 1;
|
|
695
|
+
*/
|
|
696
|
+
organizationId: string;
|
|
697
|
+
/**
|
|
698
|
+
* @generated from field: string directory_id = 2;
|
|
699
|
+
*/
|
|
700
|
+
directoryId: string;
|
|
701
|
+
constructor(data?: PartialMessage<RegenerateDirectorySecretRequest>);
|
|
702
|
+
static readonly runtime: typeof proto3;
|
|
703
|
+
static readonly typeName = "scalekit.v1.directories.RegenerateDirectorySecretRequest";
|
|
704
|
+
static readonly fields: FieldList;
|
|
705
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegenerateDirectorySecretRequest;
|
|
706
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretRequest;
|
|
707
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretRequest;
|
|
708
|
+
static equals(a: RegenerateDirectorySecretRequest | PlainMessage<RegenerateDirectorySecretRequest> | undefined, b: RegenerateDirectorySecretRequest | PlainMessage<RegenerateDirectorySecretRequest> | undefined): boolean;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* @generated from message scalekit.v1.directories.RegenerateDirectorySecretResponse
|
|
712
|
+
*/
|
|
713
|
+
export declare class RegenerateDirectorySecretResponse extends Message<RegenerateDirectorySecretResponse> {
|
|
714
|
+
/**
|
|
715
|
+
* @generated from field: string plain_secret = 1;
|
|
716
|
+
*/
|
|
717
|
+
plainSecret: string;
|
|
718
|
+
/**
|
|
719
|
+
* @generated from field: scalekit.v1.directories.Secret secret = 2;
|
|
720
|
+
*/
|
|
721
|
+
secret?: Secret;
|
|
722
|
+
constructor(data?: PartialMessage<RegenerateDirectorySecretResponse>);
|
|
723
|
+
static readonly runtime: typeof proto3;
|
|
724
|
+
static readonly typeName = "scalekit.v1.directories.RegenerateDirectorySecretResponse";
|
|
725
|
+
static readonly fields: FieldList;
|
|
726
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegenerateDirectorySecretResponse;
|
|
727
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretResponse;
|
|
728
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretResponse;
|
|
729
|
+
static equals(a: RegenerateDirectorySecretResponse | PlainMessage<RegenerateDirectorySecretResponse> | undefined, b: RegenerateDirectorySecretResponse | PlainMessage<RegenerateDirectorySecretResponse> | undefined): boolean;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* @generated from message scalekit.v1.directories.Secret
|
|
733
|
+
*/
|
|
734
|
+
export declare class Secret extends Message<Secret> {
|
|
735
|
+
/**
|
|
736
|
+
* @generated from field: string id = 1;
|
|
737
|
+
*/
|
|
738
|
+
id: string;
|
|
739
|
+
/**
|
|
740
|
+
* @generated from field: google.protobuf.Timestamp create_time = 2;
|
|
741
|
+
*/
|
|
742
|
+
createTime?: Timestamp;
|
|
743
|
+
/**
|
|
744
|
+
* @generated from field: string secret_suffix = 4;
|
|
745
|
+
*/
|
|
746
|
+
secretSuffix: string;
|
|
747
|
+
/**
|
|
748
|
+
* @generated from field: scalekit.v1.directories.SecretStatus status = 5;
|
|
749
|
+
*/
|
|
750
|
+
status: SecretStatus;
|
|
751
|
+
/**
|
|
752
|
+
* @generated from field: google.protobuf.Timestamp expire_time = 6;
|
|
753
|
+
*/
|
|
754
|
+
expireTime?: Timestamp;
|
|
755
|
+
/**
|
|
756
|
+
* @generated from field: google.protobuf.Timestamp last_used_time = 7;
|
|
757
|
+
*/
|
|
758
|
+
lastUsedTime?: Timestamp;
|
|
759
|
+
/**
|
|
760
|
+
* @generated from field: string directory_id = 9;
|
|
761
|
+
*/
|
|
762
|
+
directoryId: string;
|
|
763
|
+
constructor(data?: PartialMessage<Secret>);
|
|
764
|
+
static readonly runtime: typeof proto3;
|
|
765
|
+
static readonly typeName = "scalekit.v1.directories.Secret";
|
|
766
|
+
static readonly fields: FieldList;
|
|
767
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Secret;
|
|
768
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Secret;
|
|
769
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Secret;
|
|
770
|
+
static equals(a: Secret | PlainMessage<Secret> | undefined, b: Secret | PlainMessage<Secret> | undefined): boolean;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* @generated from message scalekit.v1.directories.Stats
|
|
774
|
+
*/
|
|
775
|
+
export declare class Stats extends Message<Stats> {
|
|
776
|
+
/**
|
|
777
|
+
* @generated from field: int32 total_users = 1;
|
|
778
|
+
*/
|
|
779
|
+
totalUsers: number;
|
|
780
|
+
/**
|
|
781
|
+
* @generated from field: int32 total_groups = 2;
|
|
782
|
+
*/
|
|
783
|
+
totalGroups: number;
|
|
784
|
+
/**
|
|
785
|
+
* @generated from field: google.protobuf.Timestamp group_updated_at = 3;
|
|
786
|
+
*/
|
|
787
|
+
groupUpdatedAt?: Timestamp;
|
|
788
|
+
/**
|
|
789
|
+
* @generated from field: google.protobuf.Timestamp user_updated_at = 4;
|
|
790
|
+
*/
|
|
791
|
+
userUpdatedAt?: Timestamp;
|
|
792
|
+
constructor(data?: PartialMessage<Stats>);
|
|
793
|
+
static readonly runtime: typeof proto3;
|
|
794
|
+
static readonly typeName = "scalekit.v1.directories.Stats";
|
|
795
|
+
static readonly fields: FieldList;
|
|
796
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Stats;
|
|
797
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Stats;
|
|
798
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Stats;
|
|
799
|
+
static equals(a: Stats | PlainMessage<Stats> | undefined, b: Stats | PlainMessage<Stats> | undefined): boolean;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* @generated from message scalekit.v1.directories.AssignRolesRequest
|
|
803
|
+
*/
|
|
804
|
+
export declare class AssignRolesRequest extends Message<AssignRolesRequest> {
|
|
805
|
+
/**
|
|
806
|
+
* @generated from field: string organization_id = 1;
|
|
807
|
+
*/
|
|
808
|
+
organizationId: string;
|
|
809
|
+
/**
|
|
810
|
+
* @generated from field: string id = 2;
|
|
811
|
+
*/
|
|
812
|
+
id: string;
|
|
813
|
+
/**
|
|
814
|
+
* @generated from field: scalekit.v1.directories.RoleAssignments role_assignments = 3;
|
|
815
|
+
*/
|
|
816
|
+
roleAssignments?: RoleAssignments;
|
|
817
|
+
constructor(data?: PartialMessage<AssignRolesRequest>);
|
|
818
|
+
static readonly runtime: typeof proto3;
|
|
819
|
+
static readonly typeName = "scalekit.v1.directories.AssignRolesRequest";
|
|
820
|
+
static readonly fields: FieldList;
|
|
821
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignRolesRequest;
|
|
822
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignRolesRequest;
|
|
823
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignRolesRequest;
|
|
824
|
+
static equals(a: AssignRolesRequest | PlainMessage<AssignRolesRequest> | undefined, b: AssignRolesRequest | PlainMessage<AssignRolesRequest> | undefined): boolean;
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
* @generated from message scalekit.v1.directories.RoleAssignments
|
|
828
|
+
*/
|
|
829
|
+
export declare class RoleAssignments extends Message<RoleAssignments> {
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: repeated scalekit.v1.directories.RoleAssignment assignments = 1;
|
|
832
|
+
*/
|
|
833
|
+
assignments: RoleAssignment[];
|
|
834
|
+
constructor(data?: PartialMessage<RoleAssignments>);
|
|
835
|
+
static readonly runtime: typeof proto3;
|
|
836
|
+
static readonly typeName = "scalekit.v1.directories.RoleAssignments";
|
|
837
|
+
static readonly fields: FieldList;
|
|
838
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoleAssignments;
|
|
839
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoleAssignments;
|
|
840
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoleAssignments;
|
|
841
|
+
static equals(a: RoleAssignments | PlainMessage<RoleAssignments> | undefined, b: RoleAssignments | PlainMessage<RoleAssignments> | undefined): boolean;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* @generated from message scalekit.v1.directories.AssignRolesResponse
|
|
845
|
+
*/
|
|
846
|
+
export declare class AssignRolesResponse extends Message<AssignRolesResponse> {
|
|
847
|
+
/**
|
|
848
|
+
* @generated from field: scalekit.v1.directories.RoleAssignments role_assignments = 1;
|
|
849
|
+
*/
|
|
850
|
+
roleAssignments?: RoleAssignments;
|
|
851
|
+
constructor(data?: PartialMessage<AssignRolesResponse>);
|
|
852
|
+
static readonly runtime: typeof proto3;
|
|
853
|
+
static readonly typeName = "scalekit.v1.directories.AssignRolesResponse";
|
|
854
|
+
static readonly fields: FieldList;
|
|
855
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignRolesResponse;
|
|
856
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignRolesResponse;
|
|
857
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignRolesResponse;
|
|
858
|
+
static equals(a: AssignRolesResponse | PlainMessage<AssignRolesResponse> | undefined, b: AssignRolesResponse | PlainMessage<AssignRolesResponse> | undefined): boolean;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* @generated from message scalekit.v1.directories.RoleAssignment
|
|
862
|
+
*/
|
|
863
|
+
export declare class RoleAssignment extends Message<RoleAssignment> {
|
|
864
|
+
/**
|
|
865
|
+
* @generated from field: string group_id = 1;
|
|
866
|
+
*/
|
|
867
|
+
groupId: string;
|
|
868
|
+
/**
|
|
869
|
+
* @generated from field: string role_id = 2;
|
|
870
|
+
*/
|
|
871
|
+
roleId: string;
|
|
872
|
+
constructor(data?: PartialMessage<RoleAssignment>);
|
|
873
|
+
static readonly runtime: typeof proto3;
|
|
874
|
+
static readonly typeName = "scalekit.v1.directories.RoleAssignment";
|
|
875
|
+
static readonly fields: FieldList;
|
|
876
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoleAssignment;
|
|
877
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoleAssignment;
|
|
878
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoleAssignment;
|
|
879
|
+
static equals(a: RoleAssignment | PlainMessage<RoleAssignment> | undefined, b: RoleAssignment | PlainMessage<RoleAssignment> | undefined): boolean;
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* @generated from message scalekit.v1.directories.UpdateAttributesRequest
|
|
883
|
+
*/
|
|
884
|
+
export declare class UpdateAttributesRequest extends Message<UpdateAttributesRequest> {
|
|
885
|
+
/**
|
|
886
|
+
* @generated from field: string organization_id = 1;
|
|
887
|
+
*/
|
|
888
|
+
organizationId: string;
|
|
889
|
+
/**
|
|
890
|
+
* @generated from field: string id = 2;
|
|
891
|
+
*/
|
|
892
|
+
id: string;
|
|
893
|
+
/**
|
|
894
|
+
* @generated from field: scalekit.v1.directories.AttributeMappings attribute_mapping = 3;
|
|
895
|
+
*/
|
|
896
|
+
attributeMapping?: AttributeMappings;
|
|
897
|
+
constructor(data?: PartialMessage<UpdateAttributesRequest>);
|
|
898
|
+
static readonly runtime: typeof proto3;
|
|
899
|
+
static readonly typeName = "scalekit.v1.directories.UpdateAttributesRequest";
|
|
900
|
+
static readonly fields: FieldList;
|
|
901
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAttributesRequest;
|
|
902
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAttributesRequest;
|
|
903
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAttributesRequest;
|
|
904
|
+
static equals(a: UpdateAttributesRequest | PlainMessage<UpdateAttributesRequest> | undefined, b: UpdateAttributesRequest | PlainMessage<UpdateAttributesRequest> | undefined): boolean;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* @generated from message scalekit.v1.directories.AttributeMappings
|
|
908
|
+
*/
|
|
909
|
+
export declare class AttributeMappings extends Message<AttributeMappings> {
|
|
910
|
+
/**
|
|
911
|
+
* @generated from field: repeated scalekit.v1.directories.AttributeMapping attributes = 1;
|
|
912
|
+
*/
|
|
913
|
+
attributes: AttributeMapping[];
|
|
914
|
+
constructor(data?: PartialMessage<AttributeMappings>);
|
|
915
|
+
static readonly runtime: typeof proto3;
|
|
916
|
+
static readonly typeName = "scalekit.v1.directories.AttributeMappings";
|
|
917
|
+
static readonly fields: FieldList;
|
|
918
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeMappings;
|
|
919
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeMappings;
|
|
920
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeMappings;
|
|
921
|
+
static equals(a: AttributeMappings | PlainMessage<AttributeMappings> | undefined, b: AttributeMappings | PlainMessage<AttributeMappings> | undefined): boolean;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* @generated from message scalekit.v1.directories.AttributeMapping
|
|
925
|
+
*/
|
|
926
|
+
export declare class AttributeMapping extends Message<AttributeMapping> {
|
|
927
|
+
/**
|
|
928
|
+
* @generated from field: string key = 1;
|
|
929
|
+
*/
|
|
930
|
+
key: string;
|
|
931
|
+
/**
|
|
932
|
+
* @generated from field: string map_to = 2;
|
|
933
|
+
*/
|
|
934
|
+
mapTo: string;
|
|
935
|
+
constructor(data?: PartialMessage<AttributeMapping>);
|
|
936
|
+
static readonly runtime: typeof proto3;
|
|
937
|
+
static readonly typeName = "scalekit.v1.directories.AttributeMapping";
|
|
938
|
+
static readonly fields: FieldList;
|
|
939
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeMapping;
|
|
940
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeMapping;
|
|
941
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeMapping;
|
|
942
|
+
static equals(a: AttributeMapping | PlainMessage<AttributeMapping> | undefined, b: AttributeMapping | PlainMessage<AttributeMapping> | undefined): boolean;
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* @generated from message scalekit.v1.directories.UpdateAttributesResponse
|
|
946
|
+
*/
|
|
947
|
+
export declare class UpdateAttributesResponse extends Message<UpdateAttributesResponse> {
|
|
948
|
+
/**
|
|
949
|
+
* @generated from field: scalekit.v1.directories.AttributeMappings attribute_mappings = 1;
|
|
950
|
+
*/
|
|
951
|
+
attributeMappings?: AttributeMappings;
|
|
952
|
+
constructor(data?: PartialMessage<UpdateAttributesResponse>);
|
|
953
|
+
static readonly runtime: typeof proto3;
|
|
954
|
+
static readonly typeName = "scalekit.v1.directories.UpdateAttributesResponse";
|
|
955
|
+
static readonly fields: FieldList;
|
|
956
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAttributesResponse;
|
|
957
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAttributesResponse;
|
|
958
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAttributesResponse;
|
|
959
|
+
static equals(a: UpdateAttributesResponse | PlainMessage<UpdateAttributesResponse> | undefined, b: UpdateAttributesResponse | PlainMessage<UpdateAttributesResponse> | undefined): boolean;
|
|
960
|
+
}
|