@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.
Files changed (36) hide show
  1. package/buf.gen.yaml +2 -1
  2. package/lib/core.js +1 -1
  3. package/lib/directory.d.ts +78 -0
  4. package/lib/directory.js +126 -0
  5. package/lib/directory.js.map +1 -0
  6. package/lib/organization.d.ts +8 -0
  7. package/lib/organization.js +20 -0
  8. package/lib/organization.js.map +1 -1
  9. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +118 -0
  10. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +126 -0
  11. package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +1 -0
  12. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +960 -0
  13. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +1429 -0
  14. package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -0
  15. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +10 -1
  16. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +9 -0
  17. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +1 -1
  18. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +81 -0
  19. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +113 -1
  20. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
  21. package/lib/scalekit.d.ts +27 -1
  22. package/lib/scalekit.js +67 -1
  23. package/lib/scalekit.js.map +1 -1
  24. package/lib/types/organization.d.ts +7 -0
  25. package/lib/types/organization.js +3 -0
  26. package/lib/types/organization.js.map +1 -0
  27. package/package.json +1 -1
  28. package/src/core.ts +1 -1
  29. package/src/directory.ts +173 -0
  30. package/src/organization.ts +24 -1
  31. package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +125 -0
  32. package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +1838 -0
  33. package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +10 -1
  34. package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +155 -0
  35. package/src/scalekit.ts +78 -3
  36. package/src/types/organization.ts +8 -0
@@ -0,0 +1,1429 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
3
+ // @generated from file scalekit/v1/directories/directories.proto (package scalekit.v1.directories, syntax proto3)
4
+ /* eslint-disable */
5
+ // @ts-nocheck
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.UpdateAttributesResponse = exports.AttributeMapping = exports.AttributeMappings = exports.UpdateAttributesRequest = exports.RoleAssignment = exports.AssignRolesResponse = exports.RoleAssignments = exports.AssignRolesRequest = exports.Stats = exports.Secret = exports.RegenerateDirectorySecretResponse = exports.RegenerateDirectorySecretRequest = exports.CreateDirectorySecretResponse = exports.CreateDirectorySecretRequest = exports.DirectoryGroup = exports.DirectoryUser = exports.DirectoryMapping = exports.ToggleDirectoryResponse = exports.ToggleDirectoryRequest = exports.Directory = exports.ListDirectoryGroupsResponse = exports.ListDirectoryGroupsRequest = exports.ListDirectoryUsersResponse = exports.ListDirectoryUsersRequest = exports.ListDirectoriesResponse = exports.ListDirectoriesRequest = exports.UpdateDirectoryResponse = exports.UpdateDirectory = exports.UpdateDirectoryRequest = exports.CreateDirectoryResponse = exports.CreateDirectory = exports.CreateDirectoryRequest = exports.GetDirectoryResponse = exports.GetDirectoryRequest = exports.SecretStatus = exports.DirectoryStatus = exports.DirectoryProvider = exports.DirectoryType = void 0;
8
+ const protobuf_1 = require("@bufbuild/protobuf");
9
+ /**
10
+ * @generated from enum scalekit.v1.directories.DirectoryType
11
+ */
12
+ var DirectoryType;
13
+ (function (DirectoryType) {
14
+ /**
15
+ * @generated from enum value: DIRECTORY_TYPE_UNSPECIFIED = 0;
16
+ */
17
+ DirectoryType[DirectoryType["DIRECTORY_TYPE_UNSPECIFIED"] = 0] = "DIRECTORY_TYPE_UNSPECIFIED";
18
+ /**
19
+ * @generated from enum value: SCIM = 1;
20
+ */
21
+ DirectoryType[DirectoryType["SCIM"] = 1] = "SCIM";
22
+ /**
23
+ * @generated from enum value: LDAP = 2;
24
+ */
25
+ DirectoryType[DirectoryType["LDAP"] = 2] = "LDAP";
26
+ })(DirectoryType || (exports.DirectoryType = DirectoryType = {}));
27
+ // Retrieve enum metadata with: proto3.getEnumType(DirectoryType)
28
+ protobuf_1.proto3.util.setEnumType(DirectoryType, "scalekit.v1.directories.DirectoryType", [
29
+ { no: 0, name: "DIRECTORY_TYPE_UNSPECIFIED" },
30
+ { no: 1, name: "SCIM" },
31
+ { no: 2, name: "LDAP" },
32
+ ]);
33
+ /**
34
+ * @generated from enum scalekit.v1.directories.DirectoryProvider
35
+ */
36
+ var DirectoryProvider;
37
+ (function (DirectoryProvider) {
38
+ /**
39
+ * @generated from enum value: DIRECTORY_PROVIDER_UNSPECIFIED = 0;
40
+ */
41
+ DirectoryProvider[DirectoryProvider["DIRECTORY_PROVIDER_UNSPECIFIED"] = 0] = "DIRECTORY_PROVIDER_UNSPECIFIED";
42
+ /**
43
+ * @generated from enum value: OKTA = 1;
44
+ */
45
+ DirectoryProvider[DirectoryProvider["OKTA"] = 1] = "OKTA";
46
+ /**
47
+ * @generated from enum value: GOOGLE = 2;
48
+ */
49
+ DirectoryProvider[DirectoryProvider["GOOGLE"] = 2] = "GOOGLE";
50
+ /**
51
+ * @generated from enum value: MICROSOFT_AD = 3;
52
+ */
53
+ DirectoryProvider[DirectoryProvider["MICROSOFT_AD"] = 3] = "MICROSOFT_AD";
54
+ /**
55
+ * @generated from enum value: AUTH0 = 4;
56
+ */
57
+ DirectoryProvider[DirectoryProvider["AUTH0"] = 4] = "AUTH0";
58
+ /**
59
+ * @generated from enum value: ONELOGIN = 5;
60
+ */
61
+ DirectoryProvider[DirectoryProvider["ONELOGIN"] = 5] = "ONELOGIN";
62
+ })(DirectoryProvider || (exports.DirectoryProvider = DirectoryProvider = {}));
63
+ // Retrieve enum metadata with: proto3.getEnumType(DirectoryProvider)
64
+ protobuf_1.proto3.util.setEnumType(DirectoryProvider, "scalekit.v1.directories.DirectoryProvider", [
65
+ { no: 0, name: "DIRECTORY_PROVIDER_UNSPECIFIED" },
66
+ { no: 1, name: "OKTA" },
67
+ { no: 2, name: "GOOGLE" },
68
+ { no: 3, name: "MICROSOFT_AD" },
69
+ { no: 4, name: "AUTH0" },
70
+ { no: 5, name: "ONELOGIN" },
71
+ ]);
72
+ /**
73
+ * @generated from enum scalekit.v1.directories.DirectoryStatus
74
+ */
75
+ var DirectoryStatus;
76
+ (function (DirectoryStatus) {
77
+ /**
78
+ * @generated from enum value: DIRECTORY_STATUS_UNSPECIFIED = 0;
79
+ */
80
+ DirectoryStatus[DirectoryStatus["DIRECTORY_STATUS_UNSPECIFIED"] = 0] = "DIRECTORY_STATUS_UNSPECIFIED";
81
+ /**
82
+ * @generated from enum value: DRAFT = 1;
83
+ */
84
+ DirectoryStatus[DirectoryStatus["DRAFT"] = 1] = "DRAFT";
85
+ /**
86
+ * @generated from enum value: IN_PROGRESS = 2;
87
+ */
88
+ DirectoryStatus[DirectoryStatus["IN_PROGRESS"] = 2] = "IN_PROGRESS";
89
+ /**
90
+ * @generated from enum value: COMPLETED = 3;
91
+ */
92
+ DirectoryStatus[DirectoryStatus["COMPLETED"] = 3] = "COMPLETED";
93
+ })(DirectoryStatus || (exports.DirectoryStatus = DirectoryStatus = {}));
94
+ // Retrieve enum metadata with: proto3.getEnumType(DirectoryStatus)
95
+ protobuf_1.proto3.util.setEnumType(DirectoryStatus, "scalekit.v1.directories.DirectoryStatus", [
96
+ { no: 0, name: "DIRECTORY_STATUS_UNSPECIFIED" },
97
+ { no: 1, name: "DRAFT" },
98
+ { no: 2, name: "IN_PROGRESS" },
99
+ { no: 3, name: "COMPLETED" },
100
+ ]);
101
+ /**
102
+ * @generated from enum scalekit.v1.directories.SecretStatus
103
+ */
104
+ var SecretStatus;
105
+ (function (SecretStatus) {
106
+ /**
107
+ * @generated from enum value: ACTIVE = 0;
108
+ */
109
+ SecretStatus[SecretStatus["ACTIVE"] = 0] = "ACTIVE";
110
+ /**
111
+ * @generated from enum value: INACTIVE = 1;
112
+ */
113
+ SecretStatus[SecretStatus["INACTIVE"] = 1] = "INACTIVE";
114
+ })(SecretStatus || (exports.SecretStatus = SecretStatus = {}));
115
+ // Retrieve enum metadata with: proto3.getEnumType(SecretStatus)
116
+ protobuf_1.proto3.util.setEnumType(SecretStatus, "scalekit.v1.directories.SecretStatus", [
117
+ { no: 0, name: "ACTIVE" },
118
+ { no: 1, name: "INACTIVE" },
119
+ ]);
120
+ /**
121
+ * @generated from message scalekit.v1.directories.GetDirectoryRequest
122
+ */
123
+ class GetDirectoryRequest extends protobuf_1.Message {
124
+ constructor(data) {
125
+ super();
126
+ /**
127
+ * @generated from field: string id = 1;
128
+ */
129
+ this.id = "";
130
+ /**
131
+ * @generated from field: string organization_id = 2;
132
+ */
133
+ this.organizationId = "";
134
+ protobuf_1.proto3.util.initPartial(data, this);
135
+ }
136
+ static fromBinary(bytes, options) {
137
+ return new GetDirectoryRequest().fromBinary(bytes, options);
138
+ }
139
+ static fromJson(jsonValue, options) {
140
+ return new GetDirectoryRequest().fromJson(jsonValue, options);
141
+ }
142
+ static fromJsonString(jsonString, options) {
143
+ return new GetDirectoryRequest().fromJsonString(jsonString, options);
144
+ }
145
+ static equals(a, b) {
146
+ return protobuf_1.proto3.util.equals(GetDirectoryRequest, a, b);
147
+ }
148
+ }
149
+ exports.GetDirectoryRequest = GetDirectoryRequest;
150
+ GetDirectoryRequest.runtime = protobuf_1.proto3;
151
+ GetDirectoryRequest.typeName = "scalekit.v1.directories.GetDirectoryRequest";
152
+ GetDirectoryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
153
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
154
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
155
+ ]);
156
+ /**
157
+ * @generated from message scalekit.v1.directories.GetDirectoryResponse
158
+ */
159
+ class GetDirectoryResponse extends protobuf_1.Message {
160
+ constructor(data) {
161
+ super();
162
+ protobuf_1.proto3.util.initPartial(data, this);
163
+ }
164
+ static fromBinary(bytes, options) {
165
+ return new GetDirectoryResponse().fromBinary(bytes, options);
166
+ }
167
+ static fromJson(jsonValue, options) {
168
+ return new GetDirectoryResponse().fromJson(jsonValue, options);
169
+ }
170
+ static fromJsonString(jsonString, options) {
171
+ return new GetDirectoryResponse().fromJsonString(jsonString, options);
172
+ }
173
+ static equals(a, b) {
174
+ return protobuf_1.proto3.util.equals(GetDirectoryResponse, a, b);
175
+ }
176
+ }
177
+ exports.GetDirectoryResponse = GetDirectoryResponse;
178
+ GetDirectoryResponse.runtime = protobuf_1.proto3;
179
+ GetDirectoryResponse.typeName = "scalekit.v1.directories.GetDirectoryResponse";
180
+ GetDirectoryResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
181
+ { no: 1, name: "directory", kind: "message", T: Directory },
182
+ ]);
183
+ /**
184
+ * @generated from message scalekit.v1.directories.CreateDirectoryRequest
185
+ */
186
+ class CreateDirectoryRequest extends protobuf_1.Message {
187
+ constructor(data) {
188
+ super();
189
+ /**
190
+ * @generated from field: string organization_id = 1;
191
+ */
192
+ this.organizationId = "";
193
+ protobuf_1.proto3.util.initPartial(data, this);
194
+ }
195
+ static fromBinary(bytes, options) {
196
+ return new CreateDirectoryRequest().fromBinary(bytes, options);
197
+ }
198
+ static fromJson(jsonValue, options) {
199
+ return new CreateDirectoryRequest().fromJson(jsonValue, options);
200
+ }
201
+ static fromJsonString(jsonString, options) {
202
+ return new CreateDirectoryRequest().fromJsonString(jsonString, options);
203
+ }
204
+ static equals(a, b) {
205
+ return protobuf_1.proto3.util.equals(CreateDirectoryRequest, a, b);
206
+ }
207
+ }
208
+ exports.CreateDirectoryRequest = CreateDirectoryRequest;
209
+ CreateDirectoryRequest.runtime = protobuf_1.proto3;
210
+ CreateDirectoryRequest.typeName = "scalekit.v1.directories.CreateDirectoryRequest";
211
+ CreateDirectoryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
212
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
213
+ { no: 2, name: "directory", kind: "message", T: CreateDirectory },
214
+ ]);
215
+ /**
216
+ * @generated from message scalekit.v1.directories.CreateDirectory
217
+ */
218
+ class CreateDirectory extends protobuf_1.Message {
219
+ constructor(data) {
220
+ super();
221
+ /**
222
+ * @generated from field: scalekit.v1.directories.DirectoryType directory_type = 1;
223
+ */
224
+ this.directoryType = DirectoryType.DIRECTORY_TYPE_UNSPECIFIED;
225
+ /**
226
+ * @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 2;
227
+ */
228
+ this.directoryProvider = DirectoryProvider.DIRECTORY_PROVIDER_UNSPECIFIED;
229
+ protobuf_1.proto3.util.initPartial(data, this);
230
+ }
231
+ static fromBinary(bytes, options) {
232
+ return new CreateDirectory().fromBinary(bytes, options);
233
+ }
234
+ static fromJson(jsonValue, options) {
235
+ return new CreateDirectory().fromJson(jsonValue, options);
236
+ }
237
+ static fromJsonString(jsonString, options) {
238
+ return new CreateDirectory().fromJsonString(jsonString, options);
239
+ }
240
+ static equals(a, b) {
241
+ return protobuf_1.proto3.util.equals(CreateDirectory, a, b);
242
+ }
243
+ }
244
+ exports.CreateDirectory = CreateDirectory;
245
+ CreateDirectory.runtime = protobuf_1.proto3;
246
+ CreateDirectory.typeName = "scalekit.v1.directories.CreateDirectory";
247
+ CreateDirectory.fields = protobuf_1.proto3.util.newFieldList(() => [
248
+ { no: 1, name: "directory_type", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryType) },
249
+ { no: 2, name: "directory_provider", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryProvider) },
250
+ ]);
251
+ /**
252
+ * @generated from message scalekit.v1.directories.CreateDirectoryResponse
253
+ */
254
+ class CreateDirectoryResponse extends protobuf_1.Message {
255
+ constructor(data) {
256
+ super();
257
+ protobuf_1.proto3.util.initPartial(data, this);
258
+ }
259
+ static fromBinary(bytes, options) {
260
+ return new CreateDirectoryResponse().fromBinary(bytes, options);
261
+ }
262
+ static fromJson(jsonValue, options) {
263
+ return new CreateDirectoryResponse().fromJson(jsonValue, options);
264
+ }
265
+ static fromJsonString(jsonString, options) {
266
+ return new CreateDirectoryResponse().fromJsonString(jsonString, options);
267
+ }
268
+ static equals(a, b) {
269
+ return protobuf_1.proto3.util.equals(CreateDirectoryResponse, a, b);
270
+ }
271
+ }
272
+ exports.CreateDirectoryResponse = CreateDirectoryResponse;
273
+ CreateDirectoryResponse.runtime = protobuf_1.proto3;
274
+ CreateDirectoryResponse.typeName = "scalekit.v1.directories.CreateDirectoryResponse";
275
+ CreateDirectoryResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
276
+ { no: 1, name: "directory", kind: "message", T: Directory },
277
+ ]);
278
+ /**
279
+ * @generated from message scalekit.v1.directories.UpdateDirectoryRequest
280
+ */
281
+ class UpdateDirectoryRequest extends protobuf_1.Message {
282
+ constructor(data) {
283
+ super();
284
+ /**
285
+ * @generated from field: string id = 1;
286
+ */
287
+ this.id = "";
288
+ /**
289
+ * @generated from field: string organization_id = 2;
290
+ */
291
+ this.organizationId = "";
292
+ protobuf_1.proto3.util.initPartial(data, this);
293
+ }
294
+ static fromBinary(bytes, options) {
295
+ return new UpdateDirectoryRequest().fromBinary(bytes, options);
296
+ }
297
+ static fromJson(jsonValue, options) {
298
+ return new UpdateDirectoryRequest().fromJson(jsonValue, options);
299
+ }
300
+ static fromJsonString(jsonString, options) {
301
+ return new UpdateDirectoryRequest().fromJsonString(jsonString, options);
302
+ }
303
+ static equals(a, b) {
304
+ return protobuf_1.proto3.util.equals(UpdateDirectoryRequest, a, b);
305
+ }
306
+ }
307
+ exports.UpdateDirectoryRequest = UpdateDirectoryRequest;
308
+ UpdateDirectoryRequest.runtime = protobuf_1.proto3;
309
+ UpdateDirectoryRequest.typeName = "scalekit.v1.directories.UpdateDirectoryRequest";
310
+ UpdateDirectoryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
311
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
312
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
313
+ { no: 3, name: "directory", kind: "message", T: UpdateDirectory },
314
+ ]);
315
+ /**
316
+ * @generated from message scalekit.v1.directories.UpdateDirectory
317
+ */
318
+ class UpdateDirectory extends protobuf_1.Message {
319
+ constructor(data) {
320
+ super();
321
+ /**
322
+ * @generated from field: string name = 2;
323
+ */
324
+ this.name = "";
325
+ /**
326
+ * @generated from field: scalekit.v1.directories.DirectoryType directory_type = 3;
327
+ */
328
+ this.directoryType = DirectoryType.DIRECTORY_TYPE_UNSPECIFIED;
329
+ /**
330
+ * @generated from field: bool enabled = 7;
331
+ */
332
+ this.enabled = false;
333
+ /**
334
+ * @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 8;
335
+ */
336
+ this.directoryProvider = DirectoryProvider.DIRECTORY_PROVIDER_UNSPECIFIED;
337
+ /**
338
+ * @generated from field: scalekit.v1.directories.DirectoryStatus status = 9;
339
+ */
340
+ this.status = DirectoryStatus.DIRECTORY_STATUS_UNSPECIFIED;
341
+ /**
342
+ * @generated from field: repeated scalekit.v1.directories.DirectoryMapping mappings = 10;
343
+ */
344
+ this.mappings = [];
345
+ protobuf_1.proto3.util.initPartial(data, this);
346
+ }
347
+ static fromBinary(bytes, options) {
348
+ return new UpdateDirectory().fromBinary(bytes, options);
349
+ }
350
+ static fromJson(jsonValue, options) {
351
+ return new UpdateDirectory().fromJson(jsonValue, options);
352
+ }
353
+ static fromJsonString(jsonString, options) {
354
+ return new UpdateDirectory().fromJsonString(jsonString, options);
355
+ }
356
+ static equals(a, b) {
357
+ return protobuf_1.proto3.util.equals(UpdateDirectory, a, b);
358
+ }
359
+ }
360
+ exports.UpdateDirectory = UpdateDirectory;
361
+ UpdateDirectory.runtime = protobuf_1.proto3;
362
+ UpdateDirectory.typeName = "scalekit.v1.directories.UpdateDirectory";
363
+ UpdateDirectory.fields = protobuf_1.proto3.util.newFieldList(() => [
364
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
365
+ { no: 3, name: "directory_type", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryType) },
366
+ { no: 7, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
367
+ { no: 8, name: "directory_provider", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryProvider) },
368
+ { no: 9, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryStatus) },
369
+ { no: 10, name: "mappings", kind: "message", T: DirectoryMapping, repeated: true },
370
+ ]);
371
+ /**
372
+ * @generated from message scalekit.v1.directories.UpdateDirectoryResponse
373
+ */
374
+ class UpdateDirectoryResponse extends protobuf_1.Message {
375
+ constructor(data) {
376
+ super();
377
+ protobuf_1.proto3.util.initPartial(data, this);
378
+ }
379
+ static fromBinary(bytes, options) {
380
+ return new UpdateDirectoryResponse().fromBinary(bytes, options);
381
+ }
382
+ static fromJson(jsonValue, options) {
383
+ return new UpdateDirectoryResponse().fromJson(jsonValue, options);
384
+ }
385
+ static fromJsonString(jsonString, options) {
386
+ return new UpdateDirectoryResponse().fromJsonString(jsonString, options);
387
+ }
388
+ static equals(a, b) {
389
+ return protobuf_1.proto3.util.equals(UpdateDirectoryResponse, a, b);
390
+ }
391
+ }
392
+ exports.UpdateDirectoryResponse = UpdateDirectoryResponse;
393
+ UpdateDirectoryResponse.runtime = protobuf_1.proto3;
394
+ UpdateDirectoryResponse.typeName = "scalekit.v1.directories.UpdateDirectoryResponse";
395
+ UpdateDirectoryResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
396
+ { no: 1, name: "directory", kind: "message", T: Directory },
397
+ ]);
398
+ /**
399
+ * @generated from message scalekit.v1.directories.ListDirectoriesRequest
400
+ */
401
+ class ListDirectoriesRequest extends protobuf_1.Message {
402
+ constructor(data) {
403
+ super();
404
+ /**
405
+ * @generated from field: string organization_id = 1;
406
+ */
407
+ this.organizationId = "";
408
+ protobuf_1.proto3.util.initPartial(data, this);
409
+ }
410
+ static fromBinary(bytes, options) {
411
+ return new ListDirectoriesRequest().fromBinary(bytes, options);
412
+ }
413
+ static fromJson(jsonValue, options) {
414
+ return new ListDirectoriesRequest().fromJson(jsonValue, options);
415
+ }
416
+ static fromJsonString(jsonString, options) {
417
+ return new ListDirectoriesRequest().fromJsonString(jsonString, options);
418
+ }
419
+ static equals(a, b) {
420
+ return protobuf_1.proto3.util.equals(ListDirectoriesRequest, a, b);
421
+ }
422
+ }
423
+ exports.ListDirectoriesRequest = ListDirectoriesRequest;
424
+ ListDirectoriesRequest.runtime = protobuf_1.proto3;
425
+ ListDirectoriesRequest.typeName = "scalekit.v1.directories.ListDirectoriesRequest";
426
+ ListDirectoriesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
427
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
428
+ ]);
429
+ /**
430
+ * @generated from message scalekit.v1.directories.ListDirectoriesResponse
431
+ */
432
+ class ListDirectoriesResponse extends protobuf_1.Message {
433
+ constructor(data) {
434
+ super();
435
+ /**
436
+ * @generated from field: repeated scalekit.v1.directories.Directory directories = 1;
437
+ */
438
+ this.directories = [];
439
+ protobuf_1.proto3.util.initPartial(data, this);
440
+ }
441
+ static fromBinary(bytes, options) {
442
+ return new ListDirectoriesResponse().fromBinary(bytes, options);
443
+ }
444
+ static fromJson(jsonValue, options) {
445
+ return new ListDirectoriesResponse().fromJson(jsonValue, options);
446
+ }
447
+ static fromJsonString(jsonString, options) {
448
+ return new ListDirectoriesResponse().fromJsonString(jsonString, options);
449
+ }
450
+ static equals(a, b) {
451
+ return protobuf_1.proto3.util.equals(ListDirectoriesResponse, a, b);
452
+ }
453
+ }
454
+ exports.ListDirectoriesResponse = ListDirectoriesResponse;
455
+ ListDirectoriesResponse.runtime = protobuf_1.proto3;
456
+ ListDirectoriesResponse.typeName = "scalekit.v1.directories.ListDirectoriesResponse";
457
+ ListDirectoriesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
458
+ { no: 1, name: "directories", kind: "message", T: Directory, repeated: true },
459
+ ]);
460
+ /**
461
+ * @generated from message scalekit.v1.directories.ListDirectoryUsersRequest
462
+ */
463
+ class ListDirectoryUsersRequest extends protobuf_1.Message {
464
+ constructor(data) {
465
+ super();
466
+ /**
467
+ * @generated from field: string organization_id = 1;
468
+ */
469
+ this.organizationId = "";
470
+ /**
471
+ * @generated from field: string directory_id = 2;
472
+ */
473
+ this.directoryId = "";
474
+ /**
475
+ * @generated from field: uint32 page_size = 3;
476
+ */
477
+ this.pageSize = 0;
478
+ /**
479
+ * @generated from field: string page_token = 4;
480
+ */
481
+ this.pageToken = "";
482
+ protobuf_1.proto3.util.initPartial(data, this);
483
+ }
484
+ static fromBinary(bytes, options) {
485
+ return new ListDirectoryUsersRequest().fromBinary(bytes, options);
486
+ }
487
+ static fromJson(jsonValue, options) {
488
+ return new ListDirectoryUsersRequest().fromJson(jsonValue, options);
489
+ }
490
+ static fromJsonString(jsonString, options) {
491
+ return new ListDirectoryUsersRequest().fromJsonString(jsonString, options);
492
+ }
493
+ static equals(a, b) {
494
+ return protobuf_1.proto3.util.equals(ListDirectoryUsersRequest, a, b);
495
+ }
496
+ }
497
+ exports.ListDirectoryUsersRequest = ListDirectoryUsersRequest;
498
+ ListDirectoryUsersRequest.runtime = protobuf_1.proto3;
499
+ ListDirectoryUsersRequest.typeName = "scalekit.v1.directories.ListDirectoryUsersRequest";
500
+ ListDirectoryUsersRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
501
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
502
+ { no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
503
+ { no: 3, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
504
+ { no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
505
+ { no: 5, name: "include_detail", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
506
+ { no: 6, name: "directory_group_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
507
+ { no: 7, name: "updated_after", kind: "message", T: protobuf_1.Timestamp, opt: true },
508
+ ]);
509
+ /**
510
+ * @generated from message scalekit.v1.directories.ListDirectoryUsersResponse
511
+ */
512
+ class ListDirectoryUsersResponse extends protobuf_1.Message {
513
+ constructor(data) {
514
+ super();
515
+ /**
516
+ * @generated from field: repeated scalekit.v1.directories.DirectoryUser users = 1;
517
+ */
518
+ this.users = [];
519
+ /**
520
+ * @generated from field: uint32 total_size = 2;
521
+ */
522
+ this.totalSize = 0;
523
+ /**
524
+ * @generated from field: string next_page_token = 3;
525
+ */
526
+ this.nextPageToken = "";
527
+ /**
528
+ * @generated from field: string prev_page_token = 4;
529
+ */
530
+ this.prevPageToken = "";
531
+ protobuf_1.proto3.util.initPartial(data, this);
532
+ }
533
+ static fromBinary(bytes, options) {
534
+ return new ListDirectoryUsersResponse().fromBinary(bytes, options);
535
+ }
536
+ static fromJson(jsonValue, options) {
537
+ return new ListDirectoryUsersResponse().fromJson(jsonValue, options);
538
+ }
539
+ static fromJsonString(jsonString, options) {
540
+ return new ListDirectoryUsersResponse().fromJsonString(jsonString, options);
541
+ }
542
+ static equals(a, b) {
543
+ return protobuf_1.proto3.util.equals(ListDirectoryUsersResponse, a, b);
544
+ }
545
+ }
546
+ exports.ListDirectoryUsersResponse = ListDirectoryUsersResponse;
547
+ ListDirectoryUsersResponse.runtime = protobuf_1.proto3;
548
+ ListDirectoryUsersResponse.typeName = "scalekit.v1.directories.ListDirectoryUsersResponse";
549
+ ListDirectoryUsersResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
550
+ { no: 1, name: "users", kind: "message", T: DirectoryUser, repeated: true },
551
+ { no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
552
+ { no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
553
+ { no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
554
+ ]);
555
+ /**
556
+ * @generated from message scalekit.v1.directories.ListDirectoryGroupsRequest
557
+ */
558
+ class ListDirectoryGroupsRequest extends protobuf_1.Message {
559
+ constructor(data) {
560
+ super();
561
+ /**
562
+ * @generated from field: string organization_id = 1;
563
+ */
564
+ this.organizationId = "";
565
+ /**
566
+ * @generated from field: string directory_id = 2;
567
+ */
568
+ this.directoryId = "";
569
+ /**
570
+ * @generated from field: uint32 page_size = 3;
571
+ */
572
+ this.pageSize = 0;
573
+ /**
574
+ * @generated from field: string page_token = 4;
575
+ */
576
+ this.pageToken = "";
577
+ protobuf_1.proto3.util.initPartial(data, this);
578
+ }
579
+ static fromBinary(bytes, options) {
580
+ return new ListDirectoryGroupsRequest().fromBinary(bytes, options);
581
+ }
582
+ static fromJson(jsonValue, options) {
583
+ return new ListDirectoryGroupsRequest().fromJson(jsonValue, options);
584
+ }
585
+ static fromJsonString(jsonString, options) {
586
+ return new ListDirectoryGroupsRequest().fromJsonString(jsonString, options);
587
+ }
588
+ static equals(a, b) {
589
+ return protobuf_1.proto3.util.equals(ListDirectoryGroupsRequest, a, b);
590
+ }
591
+ }
592
+ exports.ListDirectoryGroupsRequest = ListDirectoryGroupsRequest;
593
+ ListDirectoryGroupsRequest.runtime = protobuf_1.proto3;
594
+ ListDirectoryGroupsRequest.typeName = "scalekit.v1.directories.ListDirectoryGroupsRequest";
595
+ ListDirectoryGroupsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
596
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
597
+ { no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
598
+ { no: 3, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
599
+ { no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
600
+ { no: 5, name: "updated_after", kind: "message", T: protobuf_1.Timestamp, opt: true },
601
+ { no: 6, name: "include_detail", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
602
+ ]);
603
+ /**
604
+ * @generated from message scalekit.v1.directories.ListDirectoryGroupsResponse
605
+ */
606
+ class ListDirectoryGroupsResponse extends protobuf_1.Message {
607
+ constructor(data) {
608
+ super();
609
+ /**
610
+ * @generated from field: repeated scalekit.v1.directories.DirectoryGroup groups = 1;
611
+ */
612
+ this.groups = [];
613
+ /**
614
+ * @generated from field: uint32 total_size = 2;
615
+ */
616
+ this.totalSize = 0;
617
+ /**
618
+ * @generated from field: string next_page_token = 3;
619
+ */
620
+ this.nextPageToken = "";
621
+ /**
622
+ * @generated from field: string prev_page_token = 4;
623
+ */
624
+ this.prevPageToken = "";
625
+ protobuf_1.proto3.util.initPartial(data, this);
626
+ }
627
+ static fromBinary(bytes, options) {
628
+ return new ListDirectoryGroupsResponse().fromBinary(bytes, options);
629
+ }
630
+ static fromJson(jsonValue, options) {
631
+ return new ListDirectoryGroupsResponse().fromJson(jsonValue, options);
632
+ }
633
+ static fromJsonString(jsonString, options) {
634
+ return new ListDirectoryGroupsResponse().fromJsonString(jsonString, options);
635
+ }
636
+ static equals(a, b) {
637
+ return protobuf_1.proto3.util.equals(ListDirectoryGroupsResponse, a, b);
638
+ }
639
+ }
640
+ exports.ListDirectoryGroupsResponse = ListDirectoryGroupsResponse;
641
+ ListDirectoryGroupsResponse.runtime = protobuf_1.proto3;
642
+ ListDirectoryGroupsResponse.typeName = "scalekit.v1.directories.ListDirectoryGroupsResponse";
643
+ ListDirectoryGroupsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
644
+ { no: 1, name: "groups", kind: "message", T: DirectoryGroup, repeated: true },
645
+ { no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
646
+ { no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
647
+ { no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
648
+ ]);
649
+ /**
650
+ * @generated from message scalekit.v1.directories.Directory
651
+ */
652
+ class Directory extends protobuf_1.Message {
653
+ constructor(data) {
654
+ super();
655
+ /**
656
+ * @generated from field: string id = 1;
657
+ */
658
+ this.id = "";
659
+ /**
660
+ * @generated from field: string name = 2;
661
+ */
662
+ this.name = "";
663
+ /**
664
+ * @generated from field: scalekit.v1.directories.DirectoryType directory_type = 3;
665
+ */
666
+ this.directoryType = DirectoryType.DIRECTORY_TYPE_UNSPECIFIED;
667
+ /**
668
+ * @generated from field: string organization_id = 4;
669
+ */
670
+ this.organizationId = "";
671
+ /**
672
+ * @generated from field: bool enabled = 5;
673
+ */
674
+ this.enabled = false;
675
+ /**
676
+ * @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 6;
677
+ */
678
+ this.directoryProvider = DirectoryProvider.DIRECTORY_PROVIDER_UNSPECIFIED;
679
+ /**
680
+ * @generated from field: string directory_endpoint = 8;
681
+ */
682
+ this.directoryEndpoint = "";
683
+ /**
684
+ * @generated from field: int32 total_users = 9;
685
+ */
686
+ this.totalUsers = 0;
687
+ /**
688
+ * @generated from field: int32 total_groups = 10;
689
+ */
690
+ this.totalGroups = 0;
691
+ /**
692
+ * @generated from field: repeated scalekit.v1.directories.Secret secrets = 11;
693
+ */
694
+ this.secrets = [];
695
+ protobuf_1.proto3.util.initPartial(data, this);
696
+ }
697
+ static fromBinary(bytes, options) {
698
+ return new Directory().fromBinary(bytes, options);
699
+ }
700
+ static fromJson(jsonValue, options) {
701
+ return new Directory().fromJson(jsonValue, options);
702
+ }
703
+ static fromJsonString(jsonString, options) {
704
+ return new Directory().fromJsonString(jsonString, options);
705
+ }
706
+ static equals(a, b) {
707
+ return protobuf_1.proto3.util.equals(Directory, a, b);
708
+ }
709
+ }
710
+ exports.Directory = Directory;
711
+ Directory.runtime = protobuf_1.proto3;
712
+ Directory.typeName = "scalekit.v1.directories.Directory";
713
+ Directory.fields = protobuf_1.proto3.util.newFieldList(() => [
714
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
715
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
716
+ { no: 3, name: "directory_type", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryType) },
717
+ { no: 4, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
718
+ { no: 5, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
719
+ { no: 6, name: "directory_provider", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryProvider) },
720
+ { no: 7, name: "last_synced_at", kind: "message", T: protobuf_1.Timestamp },
721
+ { no: 8, name: "directory_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
722
+ { no: 9, name: "total_users", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
723
+ { no: 10, name: "total_groups", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
724
+ { no: 11, name: "secrets", kind: "message", T: Secret, repeated: true },
725
+ { no: 12, name: "stats", kind: "message", T: Stats },
726
+ { no: 13, name: "role_assignments", kind: "message", T: RoleAssignments },
727
+ { no: 14, name: "attribute_mappings", kind: "message", T: AttributeMappings },
728
+ ]);
729
+ /**
730
+ * @generated from message scalekit.v1.directories.ToggleDirectoryRequest
731
+ */
732
+ class ToggleDirectoryRequest extends protobuf_1.Message {
733
+ constructor(data) {
734
+ super();
735
+ /**
736
+ * @generated from field: string organization_id = 1;
737
+ */
738
+ this.organizationId = "";
739
+ /**
740
+ * @generated from field: string id = 3;
741
+ */
742
+ this.id = "";
743
+ protobuf_1.proto3.util.initPartial(data, this);
744
+ }
745
+ static fromBinary(bytes, options) {
746
+ return new ToggleDirectoryRequest().fromBinary(bytes, options);
747
+ }
748
+ static fromJson(jsonValue, options) {
749
+ return new ToggleDirectoryRequest().fromJson(jsonValue, options);
750
+ }
751
+ static fromJsonString(jsonString, options) {
752
+ return new ToggleDirectoryRequest().fromJsonString(jsonString, options);
753
+ }
754
+ static equals(a, b) {
755
+ return protobuf_1.proto3.util.equals(ToggleDirectoryRequest, a, b);
756
+ }
757
+ }
758
+ exports.ToggleDirectoryRequest = ToggleDirectoryRequest;
759
+ ToggleDirectoryRequest.runtime = protobuf_1.proto3;
760
+ ToggleDirectoryRequest.typeName = "scalekit.v1.directories.ToggleDirectoryRequest";
761
+ ToggleDirectoryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
762
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
763
+ { no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
764
+ ]);
765
+ /**
766
+ * @generated from message scalekit.v1.directories.ToggleDirectoryResponse
767
+ */
768
+ class ToggleDirectoryResponse extends protobuf_1.Message {
769
+ constructor(data) {
770
+ super();
771
+ /**
772
+ * @generated from field: bool enabled = 1;
773
+ */
774
+ this.enabled = false;
775
+ protobuf_1.proto3.util.initPartial(data, this);
776
+ }
777
+ static fromBinary(bytes, options) {
778
+ return new ToggleDirectoryResponse().fromBinary(bytes, options);
779
+ }
780
+ static fromJson(jsonValue, options) {
781
+ return new ToggleDirectoryResponse().fromJson(jsonValue, options);
782
+ }
783
+ static fromJsonString(jsonString, options) {
784
+ return new ToggleDirectoryResponse().fromJsonString(jsonString, options);
785
+ }
786
+ static equals(a, b) {
787
+ return protobuf_1.proto3.util.equals(ToggleDirectoryResponse, a, b);
788
+ }
789
+ }
790
+ exports.ToggleDirectoryResponse = ToggleDirectoryResponse;
791
+ ToggleDirectoryResponse.runtime = protobuf_1.proto3;
792
+ ToggleDirectoryResponse.typeName = "scalekit.v1.directories.ToggleDirectoryResponse";
793
+ ToggleDirectoryResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
794
+ { no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
795
+ { no: 2, name: "error_message", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
796
+ ]);
797
+ /**
798
+ * @generated from message scalekit.v1.directories.DirectoryMapping
799
+ */
800
+ class DirectoryMapping extends protobuf_1.Message {
801
+ constructor(data) {
802
+ super();
803
+ /**
804
+ * @generated from field: string key = 1;
805
+ */
806
+ this.key = "";
807
+ /**
808
+ * @generated from field: string map_to = 2;
809
+ */
810
+ this.mapTo = "";
811
+ /**
812
+ * @generated from field: string display_name = 3;
813
+ */
814
+ this.displayName = "";
815
+ protobuf_1.proto3.util.initPartial(data, this);
816
+ }
817
+ static fromBinary(bytes, options) {
818
+ return new DirectoryMapping().fromBinary(bytes, options);
819
+ }
820
+ static fromJson(jsonValue, options) {
821
+ return new DirectoryMapping().fromJson(jsonValue, options);
822
+ }
823
+ static fromJsonString(jsonString, options) {
824
+ return new DirectoryMapping().fromJsonString(jsonString, options);
825
+ }
826
+ static equals(a, b) {
827
+ return protobuf_1.proto3.util.equals(DirectoryMapping, a, b);
828
+ }
829
+ }
830
+ exports.DirectoryMapping = DirectoryMapping;
831
+ DirectoryMapping.runtime = protobuf_1.proto3;
832
+ DirectoryMapping.typeName = "scalekit.v1.directories.DirectoryMapping";
833
+ DirectoryMapping.fields = protobuf_1.proto3.util.newFieldList(() => [
834
+ { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
835
+ { no: 2, name: "map_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
836
+ { no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
837
+ ]);
838
+ /**
839
+ * @generated from message scalekit.v1.directories.DirectoryUser
840
+ */
841
+ class DirectoryUser extends protobuf_1.Message {
842
+ constructor(data) {
843
+ super();
844
+ /**
845
+ * @generated from field: string id = 1;
846
+ */
847
+ this.id = "";
848
+ /**
849
+ * @generated from field: string email = 2;
850
+ */
851
+ this.email = "";
852
+ /**
853
+ * @generated from field: string preferred_username = 3;
854
+ */
855
+ this.preferredUsername = "";
856
+ /**
857
+ * @generated from field: string given_name = 4;
858
+ */
859
+ this.givenName = "";
860
+ /**
861
+ * @generated from field: string family_name = 5;
862
+ */
863
+ this.familyName = "";
864
+ /**
865
+ * @generated from field: repeated string emails = 16;
866
+ */
867
+ this.emails = [];
868
+ /**
869
+ * @generated from field: repeated scalekit.v1.directories.DirectoryGroup groups = 17;
870
+ */
871
+ this.groups = [];
872
+ protobuf_1.proto3.util.initPartial(data, this);
873
+ }
874
+ static fromBinary(bytes, options) {
875
+ return new DirectoryUser().fromBinary(bytes, options);
876
+ }
877
+ static fromJson(jsonValue, options) {
878
+ return new DirectoryUser().fromJson(jsonValue, options);
879
+ }
880
+ static fromJsonString(jsonString, options) {
881
+ return new DirectoryUser().fromJsonString(jsonString, options);
882
+ }
883
+ static equals(a, b) {
884
+ return protobuf_1.proto3.util.equals(DirectoryUser, a, b);
885
+ }
886
+ }
887
+ exports.DirectoryUser = DirectoryUser;
888
+ DirectoryUser.runtime = protobuf_1.proto3;
889
+ DirectoryUser.typeName = "scalekit.v1.directories.DirectoryUser";
890
+ DirectoryUser.fields = protobuf_1.proto3.util.newFieldList(() => [
891
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
892
+ { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
893
+ { no: 3, name: "preferred_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
894
+ { no: 4, name: "given_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
895
+ { no: 5, name: "family_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
896
+ { no: 6, name: "updated_at", kind: "message", T: protobuf_1.Timestamp },
897
+ { no: 16, name: "emails", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
898
+ { no: 17, name: "groups", kind: "message", T: DirectoryGroup, repeated: true },
899
+ { no: 18, name: "user_detail", kind: "message", T: protobuf_1.Struct },
900
+ ]);
901
+ /**
902
+ * @generated from message scalekit.v1.directories.DirectoryGroup
903
+ */
904
+ class DirectoryGroup extends protobuf_1.Message {
905
+ constructor(data) {
906
+ super();
907
+ /**
908
+ * @generated from field: string id = 1;
909
+ */
910
+ this.id = "";
911
+ /**
912
+ * @generated from field: string display_name = 2;
913
+ */
914
+ this.displayName = "";
915
+ /**
916
+ * @generated from field: int32 total_users = 3;
917
+ */
918
+ this.totalUsers = 0;
919
+ protobuf_1.proto3.util.initPartial(data, this);
920
+ }
921
+ static fromBinary(bytes, options) {
922
+ return new DirectoryGroup().fromBinary(bytes, options);
923
+ }
924
+ static fromJson(jsonValue, options) {
925
+ return new DirectoryGroup().fromJson(jsonValue, options);
926
+ }
927
+ static fromJsonString(jsonString, options) {
928
+ return new DirectoryGroup().fromJsonString(jsonString, options);
929
+ }
930
+ static equals(a, b) {
931
+ return protobuf_1.proto3.util.equals(DirectoryGroup, a, b);
932
+ }
933
+ }
934
+ exports.DirectoryGroup = DirectoryGroup;
935
+ DirectoryGroup.runtime = protobuf_1.proto3;
936
+ DirectoryGroup.typeName = "scalekit.v1.directories.DirectoryGroup";
937
+ DirectoryGroup.fields = protobuf_1.proto3.util.newFieldList(() => [
938
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
939
+ { no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
940
+ { no: 3, name: "total_users", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
941
+ { no: 4, name: "updated_at", kind: "message", T: protobuf_1.Timestamp },
942
+ { no: 5, name: "group_detail", kind: "message", T: protobuf_1.Struct },
943
+ ]);
944
+ /**
945
+ * @generated from message scalekit.v1.directories.CreateDirectorySecretRequest
946
+ */
947
+ class CreateDirectorySecretRequest extends protobuf_1.Message {
948
+ constructor(data) {
949
+ super();
950
+ /**
951
+ * @generated from field: string organization_id = 1;
952
+ */
953
+ this.organizationId = "";
954
+ /**
955
+ * @generated from field: string directory_id = 2;
956
+ */
957
+ this.directoryId = "";
958
+ protobuf_1.proto3.util.initPartial(data, this);
959
+ }
960
+ static fromBinary(bytes, options) {
961
+ return new CreateDirectorySecretRequest().fromBinary(bytes, options);
962
+ }
963
+ static fromJson(jsonValue, options) {
964
+ return new CreateDirectorySecretRequest().fromJson(jsonValue, options);
965
+ }
966
+ static fromJsonString(jsonString, options) {
967
+ return new CreateDirectorySecretRequest().fromJsonString(jsonString, options);
968
+ }
969
+ static equals(a, b) {
970
+ return protobuf_1.proto3.util.equals(CreateDirectorySecretRequest, a, b);
971
+ }
972
+ }
973
+ exports.CreateDirectorySecretRequest = CreateDirectorySecretRequest;
974
+ CreateDirectorySecretRequest.runtime = protobuf_1.proto3;
975
+ CreateDirectorySecretRequest.typeName = "scalekit.v1.directories.CreateDirectorySecretRequest";
976
+ CreateDirectorySecretRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
977
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
978
+ { no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
979
+ ]);
980
+ /**
981
+ * @generated from message scalekit.v1.directories.CreateDirectorySecretResponse
982
+ */
983
+ class CreateDirectorySecretResponse extends protobuf_1.Message {
984
+ constructor(data) {
985
+ super();
986
+ /**
987
+ * @generated from field: string plain_secret = 1;
988
+ */
989
+ this.plainSecret = "";
990
+ protobuf_1.proto3.util.initPartial(data, this);
991
+ }
992
+ static fromBinary(bytes, options) {
993
+ return new CreateDirectorySecretResponse().fromBinary(bytes, options);
994
+ }
995
+ static fromJson(jsonValue, options) {
996
+ return new CreateDirectorySecretResponse().fromJson(jsonValue, options);
997
+ }
998
+ static fromJsonString(jsonString, options) {
999
+ return new CreateDirectorySecretResponse().fromJsonString(jsonString, options);
1000
+ }
1001
+ static equals(a, b) {
1002
+ return protobuf_1.proto3.util.equals(CreateDirectorySecretResponse, a, b);
1003
+ }
1004
+ }
1005
+ exports.CreateDirectorySecretResponse = CreateDirectorySecretResponse;
1006
+ CreateDirectorySecretResponse.runtime = protobuf_1.proto3;
1007
+ CreateDirectorySecretResponse.typeName = "scalekit.v1.directories.CreateDirectorySecretResponse";
1008
+ CreateDirectorySecretResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
1009
+ { no: 1, name: "plain_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1010
+ { no: 2, name: "secret", kind: "message", T: Secret },
1011
+ ]);
1012
+ /**
1013
+ * @generated from message scalekit.v1.directories.RegenerateDirectorySecretRequest
1014
+ */
1015
+ class RegenerateDirectorySecretRequest extends protobuf_1.Message {
1016
+ constructor(data) {
1017
+ super();
1018
+ /**
1019
+ * @generated from field: string organization_id = 1;
1020
+ */
1021
+ this.organizationId = "";
1022
+ /**
1023
+ * @generated from field: string directory_id = 2;
1024
+ */
1025
+ this.directoryId = "";
1026
+ protobuf_1.proto3.util.initPartial(data, this);
1027
+ }
1028
+ static fromBinary(bytes, options) {
1029
+ return new RegenerateDirectorySecretRequest().fromBinary(bytes, options);
1030
+ }
1031
+ static fromJson(jsonValue, options) {
1032
+ return new RegenerateDirectorySecretRequest().fromJson(jsonValue, options);
1033
+ }
1034
+ static fromJsonString(jsonString, options) {
1035
+ return new RegenerateDirectorySecretRequest().fromJsonString(jsonString, options);
1036
+ }
1037
+ static equals(a, b) {
1038
+ return protobuf_1.proto3.util.equals(RegenerateDirectorySecretRequest, a, b);
1039
+ }
1040
+ }
1041
+ exports.RegenerateDirectorySecretRequest = RegenerateDirectorySecretRequest;
1042
+ RegenerateDirectorySecretRequest.runtime = protobuf_1.proto3;
1043
+ RegenerateDirectorySecretRequest.typeName = "scalekit.v1.directories.RegenerateDirectorySecretRequest";
1044
+ RegenerateDirectorySecretRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1045
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1046
+ { no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1047
+ ]);
1048
+ /**
1049
+ * @generated from message scalekit.v1.directories.RegenerateDirectorySecretResponse
1050
+ */
1051
+ class RegenerateDirectorySecretResponse extends protobuf_1.Message {
1052
+ constructor(data) {
1053
+ super();
1054
+ /**
1055
+ * @generated from field: string plain_secret = 1;
1056
+ */
1057
+ this.plainSecret = "";
1058
+ protobuf_1.proto3.util.initPartial(data, this);
1059
+ }
1060
+ static fromBinary(bytes, options) {
1061
+ return new RegenerateDirectorySecretResponse().fromBinary(bytes, options);
1062
+ }
1063
+ static fromJson(jsonValue, options) {
1064
+ return new RegenerateDirectorySecretResponse().fromJson(jsonValue, options);
1065
+ }
1066
+ static fromJsonString(jsonString, options) {
1067
+ return new RegenerateDirectorySecretResponse().fromJsonString(jsonString, options);
1068
+ }
1069
+ static equals(a, b) {
1070
+ return protobuf_1.proto3.util.equals(RegenerateDirectorySecretResponse, a, b);
1071
+ }
1072
+ }
1073
+ exports.RegenerateDirectorySecretResponse = RegenerateDirectorySecretResponse;
1074
+ RegenerateDirectorySecretResponse.runtime = protobuf_1.proto3;
1075
+ RegenerateDirectorySecretResponse.typeName = "scalekit.v1.directories.RegenerateDirectorySecretResponse";
1076
+ RegenerateDirectorySecretResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
1077
+ { no: 1, name: "plain_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1078
+ { no: 2, name: "secret", kind: "message", T: Secret },
1079
+ ]);
1080
+ /**
1081
+ * @generated from message scalekit.v1.directories.Secret
1082
+ */
1083
+ class Secret extends protobuf_1.Message {
1084
+ constructor(data) {
1085
+ super();
1086
+ /**
1087
+ * @generated from field: string id = 1;
1088
+ */
1089
+ this.id = "";
1090
+ /**
1091
+ * @generated from field: string secret_suffix = 4;
1092
+ */
1093
+ this.secretSuffix = "";
1094
+ /**
1095
+ * @generated from field: scalekit.v1.directories.SecretStatus status = 5;
1096
+ */
1097
+ this.status = SecretStatus.ACTIVE;
1098
+ /**
1099
+ * @generated from field: string directory_id = 9;
1100
+ */
1101
+ this.directoryId = "";
1102
+ protobuf_1.proto3.util.initPartial(data, this);
1103
+ }
1104
+ static fromBinary(bytes, options) {
1105
+ return new Secret().fromBinary(bytes, options);
1106
+ }
1107
+ static fromJson(jsonValue, options) {
1108
+ return new Secret().fromJson(jsonValue, options);
1109
+ }
1110
+ static fromJsonString(jsonString, options) {
1111
+ return new Secret().fromJsonString(jsonString, options);
1112
+ }
1113
+ static equals(a, b) {
1114
+ return protobuf_1.proto3.util.equals(Secret, a, b);
1115
+ }
1116
+ }
1117
+ exports.Secret = Secret;
1118
+ Secret.runtime = protobuf_1.proto3;
1119
+ Secret.typeName = "scalekit.v1.directories.Secret";
1120
+ Secret.fields = protobuf_1.proto3.util.newFieldList(() => [
1121
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1122
+ { no: 2, name: "create_time", kind: "message", T: protobuf_1.Timestamp },
1123
+ { no: 4, name: "secret_suffix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1124
+ { no: 5, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(SecretStatus) },
1125
+ { no: 6, name: "expire_time", kind: "message", T: protobuf_1.Timestamp },
1126
+ { no: 7, name: "last_used_time", kind: "message", T: protobuf_1.Timestamp },
1127
+ { no: 9, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1128
+ ]);
1129
+ /**
1130
+ * @generated from message scalekit.v1.directories.Stats
1131
+ */
1132
+ class Stats extends protobuf_1.Message {
1133
+ constructor(data) {
1134
+ super();
1135
+ /**
1136
+ * @generated from field: int32 total_users = 1;
1137
+ */
1138
+ this.totalUsers = 0;
1139
+ /**
1140
+ * @generated from field: int32 total_groups = 2;
1141
+ */
1142
+ this.totalGroups = 0;
1143
+ protobuf_1.proto3.util.initPartial(data, this);
1144
+ }
1145
+ static fromBinary(bytes, options) {
1146
+ return new Stats().fromBinary(bytes, options);
1147
+ }
1148
+ static fromJson(jsonValue, options) {
1149
+ return new Stats().fromJson(jsonValue, options);
1150
+ }
1151
+ static fromJsonString(jsonString, options) {
1152
+ return new Stats().fromJsonString(jsonString, options);
1153
+ }
1154
+ static equals(a, b) {
1155
+ return protobuf_1.proto3.util.equals(Stats, a, b);
1156
+ }
1157
+ }
1158
+ exports.Stats = Stats;
1159
+ Stats.runtime = protobuf_1.proto3;
1160
+ Stats.typeName = "scalekit.v1.directories.Stats";
1161
+ Stats.fields = protobuf_1.proto3.util.newFieldList(() => [
1162
+ { no: 1, name: "total_users", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1163
+ { no: 2, name: "total_groups", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1164
+ { no: 3, name: "group_updated_at", kind: "message", T: protobuf_1.Timestamp },
1165
+ { no: 4, name: "user_updated_at", kind: "message", T: protobuf_1.Timestamp },
1166
+ ]);
1167
+ /**
1168
+ * @generated from message scalekit.v1.directories.AssignRolesRequest
1169
+ */
1170
+ class AssignRolesRequest extends protobuf_1.Message {
1171
+ constructor(data) {
1172
+ super();
1173
+ /**
1174
+ * @generated from field: string organization_id = 1;
1175
+ */
1176
+ this.organizationId = "";
1177
+ /**
1178
+ * @generated from field: string id = 2;
1179
+ */
1180
+ this.id = "";
1181
+ protobuf_1.proto3.util.initPartial(data, this);
1182
+ }
1183
+ static fromBinary(bytes, options) {
1184
+ return new AssignRolesRequest().fromBinary(bytes, options);
1185
+ }
1186
+ static fromJson(jsonValue, options) {
1187
+ return new AssignRolesRequest().fromJson(jsonValue, options);
1188
+ }
1189
+ static fromJsonString(jsonString, options) {
1190
+ return new AssignRolesRequest().fromJsonString(jsonString, options);
1191
+ }
1192
+ static equals(a, b) {
1193
+ return protobuf_1.proto3.util.equals(AssignRolesRequest, a, b);
1194
+ }
1195
+ }
1196
+ exports.AssignRolesRequest = AssignRolesRequest;
1197
+ AssignRolesRequest.runtime = protobuf_1.proto3;
1198
+ AssignRolesRequest.typeName = "scalekit.v1.directories.AssignRolesRequest";
1199
+ AssignRolesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1200
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1201
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1202
+ { no: 3, name: "role_assignments", kind: "message", T: RoleAssignments },
1203
+ ]);
1204
+ /**
1205
+ * @generated from message scalekit.v1.directories.RoleAssignments
1206
+ */
1207
+ class RoleAssignments extends protobuf_1.Message {
1208
+ constructor(data) {
1209
+ super();
1210
+ /**
1211
+ * @generated from field: repeated scalekit.v1.directories.RoleAssignment assignments = 1;
1212
+ */
1213
+ this.assignments = [];
1214
+ protobuf_1.proto3.util.initPartial(data, this);
1215
+ }
1216
+ static fromBinary(bytes, options) {
1217
+ return new RoleAssignments().fromBinary(bytes, options);
1218
+ }
1219
+ static fromJson(jsonValue, options) {
1220
+ return new RoleAssignments().fromJson(jsonValue, options);
1221
+ }
1222
+ static fromJsonString(jsonString, options) {
1223
+ return new RoleAssignments().fromJsonString(jsonString, options);
1224
+ }
1225
+ static equals(a, b) {
1226
+ return protobuf_1.proto3.util.equals(RoleAssignments, a, b);
1227
+ }
1228
+ }
1229
+ exports.RoleAssignments = RoleAssignments;
1230
+ RoleAssignments.runtime = protobuf_1.proto3;
1231
+ RoleAssignments.typeName = "scalekit.v1.directories.RoleAssignments";
1232
+ RoleAssignments.fields = protobuf_1.proto3.util.newFieldList(() => [
1233
+ { no: 1, name: "assignments", kind: "message", T: RoleAssignment, repeated: true },
1234
+ ]);
1235
+ /**
1236
+ * @generated from message scalekit.v1.directories.AssignRolesResponse
1237
+ */
1238
+ class AssignRolesResponse extends protobuf_1.Message {
1239
+ constructor(data) {
1240
+ super();
1241
+ protobuf_1.proto3.util.initPartial(data, this);
1242
+ }
1243
+ static fromBinary(bytes, options) {
1244
+ return new AssignRolesResponse().fromBinary(bytes, options);
1245
+ }
1246
+ static fromJson(jsonValue, options) {
1247
+ return new AssignRolesResponse().fromJson(jsonValue, options);
1248
+ }
1249
+ static fromJsonString(jsonString, options) {
1250
+ return new AssignRolesResponse().fromJsonString(jsonString, options);
1251
+ }
1252
+ static equals(a, b) {
1253
+ return protobuf_1.proto3.util.equals(AssignRolesResponse, a, b);
1254
+ }
1255
+ }
1256
+ exports.AssignRolesResponse = AssignRolesResponse;
1257
+ AssignRolesResponse.runtime = protobuf_1.proto3;
1258
+ AssignRolesResponse.typeName = "scalekit.v1.directories.AssignRolesResponse";
1259
+ AssignRolesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
1260
+ { no: 1, name: "role_assignments", kind: "message", T: RoleAssignments },
1261
+ ]);
1262
+ /**
1263
+ * @generated from message scalekit.v1.directories.RoleAssignment
1264
+ */
1265
+ class RoleAssignment extends protobuf_1.Message {
1266
+ constructor(data) {
1267
+ super();
1268
+ /**
1269
+ * @generated from field: string group_id = 1;
1270
+ */
1271
+ this.groupId = "";
1272
+ /**
1273
+ * @generated from field: string role_id = 2;
1274
+ */
1275
+ this.roleId = "";
1276
+ protobuf_1.proto3.util.initPartial(data, this);
1277
+ }
1278
+ static fromBinary(bytes, options) {
1279
+ return new RoleAssignment().fromBinary(bytes, options);
1280
+ }
1281
+ static fromJson(jsonValue, options) {
1282
+ return new RoleAssignment().fromJson(jsonValue, options);
1283
+ }
1284
+ static fromJsonString(jsonString, options) {
1285
+ return new RoleAssignment().fromJsonString(jsonString, options);
1286
+ }
1287
+ static equals(a, b) {
1288
+ return protobuf_1.proto3.util.equals(RoleAssignment, a, b);
1289
+ }
1290
+ }
1291
+ exports.RoleAssignment = RoleAssignment;
1292
+ RoleAssignment.runtime = protobuf_1.proto3;
1293
+ RoleAssignment.typeName = "scalekit.v1.directories.RoleAssignment";
1294
+ RoleAssignment.fields = protobuf_1.proto3.util.newFieldList(() => [
1295
+ { no: 1, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1296
+ { no: 2, name: "role_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1297
+ ]);
1298
+ /**
1299
+ * @generated from message scalekit.v1.directories.UpdateAttributesRequest
1300
+ */
1301
+ class UpdateAttributesRequest extends protobuf_1.Message {
1302
+ constructor(data) {
1303
+ super();
1304
+ /**
1305
+ * @generated from field: string organization_id = 1;
1306
+ */
1307
+ this.organizationId = "";
1308
+ /**
1309
+ * @generated from field: string id = 2;
1310
+ */
1311
+ this.id = "";
1312
+ protobuf_1.proto3.util.initPartial(data, this);
1313
+ }
1314
+ static fromBinary(bytes, options) {
1315
+ return new UpdateAttributesRequest().fromBinary(bytes, options);
1316
+ }
1317
+ static fromJson(jsonValue, options) {
1318
+ return new UpdateAttributesRequest().fromJson(jsonValue, options);
1319
+ }
1320
+ static fromJsonString(jsonString, options) {
1321
+ return new UpdateAttributesRequest().fromJsonString(jsonString, options);
1322
+ }
1323
+ static equals(a, b) {
1324
+ return protobuf_1.proto3.util.equals(UpdateAttributesRequest, a, b);
1325
+ }
1326
+ }
1327
+ exports.UpdateAttributesRequest = UpdateAttributesRequest;
1328
+ UpdateAttributesRequest.runtime = protobuf_1.proto3;
1329
+ UpdateAttributesRequest.typeName = "scalekit.v1.directories.UpdateAttributesRequest";
1330
+ UpdateAttributesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1331
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1332
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1333
+ { no: 3, name: "attribute_mapping", kind: "message", T: AttributeMappings },
1334
+ ]);
1335
+ /**
1336
+ * @generated from message scalekit.v1.directories.AttributeMappings
1337
+ */
1338
+ class AttributeMappings extends protobuf_1.Message {
1339
+ constructor(data) {
1340
+ super();
1341
+ /**
1342
+ * @generated from field: repeated scalekit.v1.directories.AttributeMapping attributes = 1;
1343
+ */
1344
+ this.attributes = [];
1345
+ protobuf_1.proto3.util.initPartial(data, this);
1346
+ }
1347
+ static fromBinary(bytes, options) {
1348
+ return new AttributeMappings().fromBinary(bytes, options);
1349
+ }
1350
+ static fromJson(jsonValue, options) {
1351
+ return new AttributeMappings().fromJson(jsonValue, options);
1352
+ }
1353
+ static fromJsonString(jsonString, options) {
1354
+ return new AttributeMappings().fromJsonString(jsonString, options);
1355
+ }
1356
+ static equals(a, b) {
1357
+ return protobuf_1.proto3.util.equals(AttributeMappings, a, b);
1358
+ }
1359
+ }
1360
+ exports.AttributeMappings = AttributeMappings;
1361
+ AttributeMappings.runtime = protobuf_1.proto3;
1362
+ AttributeMappings.typeName = "scalekit.v1.directories.AttributeMappings";
1363
+ AttributeMappings.fields = protobuf_1.proto3.util.newFieldList(() => [
1364
+ { no: 1, name: "attributes", kind: "message", T: AttributeMapping, repeated: true },
1365
+ ]);
1366
+ /**
1367
+ * @generated from message scalekit.v1.directories.AttributeMapping
1368
+ */
1369
+ class AttributeMapping extends protobuf_1.Message {
1370
+ constructor(data) {
1371
+ super();
1372
+ /**
1373
+ * @generated from field: string key = 1;
1374
+ */
1375
+ this.key = "";
1376
+ /**
1377
+ * @generated from field: string map_to = 2;
1378
+ */
1379
+ this.mapTo = "";
1380
+ protobuf_1.proto3.util.initPartial(data, this);
1381
+ }
1382
+ static fromBinary(bytes, options) {
1383
+ return new AttributeMapping().fromBinary(bytes, options);
1384
+ }
1385
+ static fromJson(jsonValue, options) {
1386
+ return new AttributeMapping().fromJson(jsonValue, options);
1387
+ }
1388
+ static fromJsonString(jsonString, options) {
1389
+ return new AttributeMapping().fromJsonString(jsonString, options);
1390
+ }
1391
+ static equals(a, b) {
1392
+ return protobuf_1.proto3.util.equals(AttributeMapping, a, b);
1393
+ }
1394
+ }
1395
+ exports.AttributeMapping = AttributeMapping;
1396
+ AttributeMapping.runtime = protobuf_1.proto3;
1397
+ AttributeMapping.typeName = "scalekit.v1.directories.AttributeMapping";
1398
+ AttributeMapping.fields = protobuf_1.proto3.util.newFieldList(() => [
1399
+ { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1400
+ { no: 2, name: "map_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1401
+ ]);
1402
+ /**
1403
+ * @generated from message scalekit.v1.directories.UpdateAttributesResponse
1404
+ */
1405
+ class UpdateAttributesResponse extends protobuf_1.Message {
1406
+ constructor(data) {
1407
+ super();
1408
+ protobuf_1.proto3.util.initPartial(data, this);
1409
+ }
1410
+ static fromBinary(bytes, options) {
1411
+ return new UpdateAttributesResponse().fromBinary(bytes, options);
1412
+ }
1413
+ static fromJson(jsonValue, options) {
1414
+ return new UpdateAttributesResponse().fromJson(jsonValue, options);
1415
+ }
1416
+ static fromJsonString(jsonString, options) {
1417
+ return new UpdateAttributesResponse().fromJsonString(jsonString, options);
1418
+ }
1419
+ static equals(a, b) {
1420
+ return protobuf_1.proto3.util.equals(UpdateAttributesResponse, a, b);
1421
+ }
1422
+ }
1423
+ exports.UpdateAttributesResponse = UpdateAttributesResponse;
1424
+ UpdateAttributesResponse.runtime = protobuf_1.proto3;
1425
+ UpdateAttributesResponse.typeName = "scalekit.v1.directories.UpdateAttributesResponse";
1426
+ UpdateAttributesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
1427
+ { no: 1, name: "attribute_mappings", kind: "message", T: AttributeMappings },
1428
+ ]);
1429
+ //# sourceMappingURL=directories_pb.js.map