@scalekit-sdk/node 2.2.0-beta.1 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/{reference.md → REFERENCE.md} +530 -748
- package/lib/auth.d.ts +9 -6
- package/lib/auth.js +4 -20
- package/lib/auth.js.map +1 -1
- package/lib/connect.d.ts +3 -3
- package/lib/connect.js +1 -2
- package/lib/connect.js.map +1 -1
- package/lib/connection.d.ts +2 -2
- package/lib/connection.js +4 -4
- package/lib/connection.js.map +1 -1
- package/lib/core.js +2 -2
- package/lib/core.js.map +1 -1
- package/lib/directory.d.ts +2 -2
- package/lib/directory.js +7 -7
- package/lib/directory.js.map +1 -1
- package/lib/domain.d.ts +6 -5
- package/lib/domain.js +4 -5
- package/lib/domain.js.map +1 -1
- package/lib/errors/base-exception.d.ts +1 -1
- package/lib/errors/base-exception.js +1 -1
- package/lib/errors/base-exception.js.map +1 -1
- package/lib/organization.d.ts +10 -9
- package/lib/organization.js +11 -9
- package/lib/organization.js.map +1 -1
- package/lib/passwordless.d.ts +2 -2
- package/lib/passwordless.js +8 -7
- package/lib/passwordless.js.map +1 -1
- package/lib/permission.d.ts +6 -5
- package/lib/permission.js +10 -11
- package/lib/permission.js.map +1 -1
- package/lib/pkg/grpc/buf/validate/validate_pb.d.ts +7 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js +25 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js +25 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js +25 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/visibility_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js +25 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js.map +1 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js +25 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +48 -42
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +27 -263
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +371 -325
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +132 -835
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +113 -87
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +45 -201
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +262 -265
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js +92 -938
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +162 -157
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +42 -313
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1488 -1459
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +353 -2362
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +520 -483
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +224 -1555
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +219 -191
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +96 -553
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +76 -102
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +37 -393
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +36 -26
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +20 -69
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +447 -400
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +163 -1238
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +622 -556
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +201 -1718
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +135 -132
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +55 -518
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +445 -413
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +142 -1490
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/role.d.ts +8 -7
- package/lib/role.js +14 -14
- package/lib/role.js.map +1 -1
- package/lib/scalekit.d.ts +0 -4
- package/lib/scalekit.js +0 -4
- package/lib/scalekit.js.map +1 -1
- package/lib/session.js +15 -24
- package/lib/session.js.map +1 -1
- package/lib/user.d.ts +6 -5
- package/lib/user.js +17 -20
- package/lib/user.js.map +1 -1
- package/lib/webauthn.js +6 -5
- package/lib/webauthn.js.map +1 -1
- package/package.json +12 -10
- package/.github/dependabot.yml +0 -10
- package/.nvmrc +0 -1
- package/buf.gen.yaml +0 -24
- package/jest.config.js +0 -15
- package/lib/connected-accounts.d.ts +0 -119
- package/lib/connected-accounts.js +0 -241
- package/lib/connected-accounts.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +0 -19
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +0 -27
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +0 -118
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +0 -126
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +0 -37
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +0 -45
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.d.ts +0 -82
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js +0 -90
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.d.ts +0 -87
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js +0 -95
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.d.ts +0 -718
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js +0 -893
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +0 -172
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +0 -180
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +0 -154
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +0 -162
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +0 -73
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +0 -81
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +0 -171
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +0 -179
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +0 -250
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +0 -258
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +0 -46
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +0 -54
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.d.ts +0 -75
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js +0 -83
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.d.ts +0 -431
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js +0 -627
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +0 -173
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +0 -181
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +0 -1
- package/lib/tools.d.ts +0 -75
- package/lib/tools.js +0 -127
- package/lib/tools.js.map +0 -1
- package/src/auth.ts +0 -99
- package/src/connect.ts +0 -33
- package/src/connected-accounts.ts +0 -358
- package/src/connection.ts +0 -267
- package/src/constants/user.ts +0 -22
- package/src/core.ts +0 -139
- package/src/directory.ts +0 -431
- package/src/domain.ts +0 -272
- package/src/errors/base-exception.ts +0 -262
- package/src/errors/index.ts +0 -3
- package/src/errors/specific-exceptions.ts +0 -88
- package/src/index.ts +0 -10
- package/src/organization.ts +0 -568
- package/src/passwordless.ts +0 -138
- package/src/permission.ts +0 -310
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +0 -26
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +0 -342
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +0 -125
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +0 -1213
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +0 -44
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +0 -336
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +0 -89
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +0 -1263
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +0 -573
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.ts +0 -94
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.ts +0 -1294
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +0 -179
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +0 -3846
- package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +0 -161
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +0 -2119
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +0 -80
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +0 -855
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +0 -524
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +0 -230
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +0 -178
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +0 -1766
- package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +0 -257
- package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +0 -2395
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +0 -53
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +0 -749
- package/src/pkg/grpc/scalekit/v1/tools/tools_connect.ts +0 -82
- package/src/pkg/grpc/scalekit/v1/tools/tools_pb.ts +0 -847
- package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +0 -180
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +0 -2151
- package/src/role.ts +0 -461
- package/src/scalekit.ts +0 -809
- package/src/session.ts +0 -337
- package/src/tools.ts +0 -166
- package/src/types/auth.ts +0 -73
- package/src/types/organization.ts +0 -12
- package/src/types/scalekit.ts +0 -50
- package/src/types/user.ts +0 -21
- package/src/user.ts +0 -825
- package/src/webauthn.ts +0 -98
- package/tests/README.md +0 -25
- package/tests/connected-accounts.test.ts +0 -472
- package/tests/connection.test.ts +0 -42
- package/tests/directory.test.ts +0 -46
- package/tests/domain.test.ts +0 -293
- package/tests/organization.test.ts +0 -81
- package/tests/passwordless.test.ts +0 -108
- package/tests/permission.test.ts +0 -399
- package/tests/role.test.ts +0 -323
- package/tests/scalekit.test.ts +0 -104
- package/tests/setup.ts +0 -34
- package/tests/tools.test.ts +0 -239
- package/tests/users.test.ts +0 -168
- package/tests/utils/test-data.ts +0 -481
- package/tsconfig.json +0 -19
|
@@ -1,2119 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file scalekit/v1/directories/directories.proto (package scalekit.v1.directories, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from enum scalekit.v1.directories.DirectoryType
|
|
11
|
-
*/
|
|
12
|
-
export enum DirectoryType {
|
|
13
|
-
/**
|
|
14
|
-
* @generated from enum value: DIRECTORY_TYPE_UNSPECIFIED = 0;
|
|
15
|
-
*/
|
|
16
|
-
DIRECTORY_TYPE_UNSPECIFIED = 0,
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @generated from enum value: SCIM = 1;
|
|
20
|
-
*/
|
|
21
|
-
SCIM = 1,
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @generated from enum value: LDAP = 2;
|
|
25
|
-
*/
|
|
26
|
-
LDAP = 2,
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @generated from enum value: POLL = 3;
|
|
30
|
-
*/
|
|
31
|
-
POLL = 3,
|
|
32
|
-
}
|
|
33
|
-
// Retrieve enum metadata with: proto3.getEnumType(DirectoryType)
|
|
34
|
-
proto3.util.setEnumType(DirectoryType, "scalekit.v1.directories.DirectoryType", [
|
|
35
|
-
{ no: 0, name: "DIRECTORY_TYPE_UNSPECIFIED" },
|
|
36
|
-
{ no: 1, name: "SCIM" },
|
|
37
|
-
{ no: 2, name: "LDAP" },
|
|
38
|
-
{ no: 3, name: "POLL" },
|
|
39
|
-
]);
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @generated from enum scalekit.v1.directories.DirectoryProvider
|
|
43
|
-
*/
|
|
44
|
-
export enum DirectoryProvider {
|
|
45
|
-
/**
|
|
46
|
-
* @generated from enum value: DIRECTORY_PROVIDER_UNSPECIFIED = 0;
|
|
47
|
-
*/
|
|
48
|
-
DIRECTORY_PROVIDER_UNSPECIFIED = 0,
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @generated from enum value: OKTA = 1;
|
|
52
|
-
*/
|
|
53
|
-
OKTA = 1,
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @generated from enum value: GOOGLE = 2;
|
|
57
|
-
*/
|
|
58
|
-
GOOGLE = 2,
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @generated from enum value: MICROSOFT_AD = 3;
|
|
62
|
-
*/
|
|
63
|
-
MICROSOFT_AD = 3,
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @generated from enum value: AUTH0 = 4;
|
|
67
|
-
*/
|
|
68
|
-
AUTH0 = 4,
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @generated from enum value: ONELOGIN = 5;
|
|
72
|
-
*/
|
|
73
|
-
ONELOGIN = 5,
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @generated from enum value: JUMPCLOUD = 6;
|
|
77
|
-
*/
|
|
78
|
-
JUMPCLOUD = 6,
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @generated from enum value: PING_IDENTITY = 7;
|
|
82
|
-
*/
|
|
83
|
-
PING_IDENTITY = 7,
|
|
84
|
-
}
|
|
85
|
-
// Retrieve enum metadata with: proto3.getEnumType(DirectoryProvider)
|
|
86
|
-
proto3.util.setEnumType(DirectoryProvider, "scalekit.v1.directories.DirectoryProvider", [
|
|
87
|
-
{ no: 0, name: "DIRECTORY_PROVIDER_UNSPECIFIED" },
|
|
88
|
-
{ no: 1, name: "OKTA" },
|
|
89
|
-
{ no: 2, name: "GOOGLE" },
|
|
90
|
-
{ no: 3, name: "MICROSOFT_AD" },
|
|
91
|
-
{ no: 4, name: "AUTH0" },
|
|
92
|
-
{ no: 5, name: "ONELOGIN" },
|
|
93
|
-
{ no: 6, name: "JUMPCLOUD" },
|
|
94
|
-
{ no: 7, name: "PING_IDENTITY" },
|
|
95
|
-
]);
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @generated from enum scalekit.v1.directories.DirectoryStatus
|
|
99
|
-
*/
|
|
100
|
-
export enum DirectoryStatus {
|
|
101
|
-
/**
|
|
102
|
-
* @generated from enum value: DIRECTORY_STATUS_UNSPECIFIED = 0;
|
|
103
|
-
*/
|
|
104
|
-
DIRECTORY_STATUS_UNSPECIFIED = 0,
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @generated from enum value: DRAFT = 1;
|
|
108
|
-
*/
|
|
109
|
-
DRAFT = 1,
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @generated from enum value: IN_PROGRESS = 2;
|
|
113
|
-
*/
|
|
114
|
-
IN_PROGRESS = 2,
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @generated from enum value: COMPLETED = 3;
|
|
118
|
-
*/
|
|
119
|
-
COMPLETED = 3,
|
|
120
|
-
}
|
|
121
|
-
// Retrieve enum metadata with: proto3.getEnumType(DirectoryStatus)
|
|
122
|
-
proto3.util.setEnumType(DirectoryStatus, "scalekit.v1.directories.DirectoryStatus", [
|
|
123
|
-
{ no: 0, name: "DIRECTORY_STATUS_UNSPECIFIED" },
|
|
124
|
-
{ no: 1, name: "DRAFT" },
|
|
125
|
-
{ no: 2, name: "IN_PROGRESS" },
|
|
126
|
-
{ no: 3, name: "COMPLETED" },
|
|
127
|
-
]);
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @generated from enum scalekit.v1.directories.SecretStatus
|
|
131
|
-
*/
|
|
132
|
-
export enum SecretStatus {
|
|
133
|
-
/**
|
|
134
|
-
* @generated from enum value: ACTIVE = 0;
|
|
135
|
-
*/
|
|
136
|
-
ACTIVE = 0,
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @generated from enum value: INACTIVE = 1;
|
|
140
|
-
*/
|
|
141
|
-
INACTIVE = 1,
|
|
142
|
-
}
|
|
143
|
-
// Retrieve enum metadata with: proto3.getEnumType(SecretStatus)
|
|
144
|
-
proto3.util.setEnumType(SecretStatus, "scalekit.v1.directories.SecretStatus", [
|
|
145
|
-
{ no: 0, name: "ACTIVE" },
|
|
146
|
-
{ no: 1, name: "INACTIVE" },
|
|
147
|
-
]);
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @generated from message scalekit.v1.directories.GetDirectoryRequest
|
|
151
|
-
*/
|
|
152
|
-
export class GetDirectoryRequest extends Message<GetDirectoryRequest> {
|
|
153
|
-
/**
|
|
154
|
-
* @generated from field: string id = 1;
|
|
155
|
-
*/
|
|
156
|
-
id = "";
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @generated from field: string organization_id = 2;
|
|
160
|
-
*/
|
|
161
|
-
organizationId = "";
|
|
162
|
-
|
|
163
|
-
constructor(data?: PartialMessage<GetDirectoryRequest>) {
|
|
164
|
-
super();
|
|
165
|
-
proto3.util.initPartial(data, this);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
169
|
-
static readonly typeName = "scalekit.v1.directories.GetDirectoryRequest";
|
|
170
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
171
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
172
|
-
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
173
|
-
]);
|
|
174
|
-
|
|
175
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDirectoryRequest {
|
|
176
|
-
return new GetDirectoryRequest().fromBinary(bytes, options);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDirectoryRequest {
|
|
180
|
-
return new GetDirectoryRequest().fromJson(jsonValue, options);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDirectoryRequest {
|
|
184
|
-
return new GetDirectoryRequest().fromJsonString(jsonString, options);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
static equals(a: GetDirectoryRequest | PlainMessage<GetDirectoryRequest> | undefined, b: GetDirectoryRequest | PlainMessage<GetDirectoryRequest> | undefined): boolean {
|
|
188
|
-
return proto3.util.equals(GetDirectoryRequest, a, b);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* @generated from message scalekit.v1.directories.GetDirectoryResponse
|
|
194
|
-
*/
|
|
195
|
-
export class GetDirectoryResponse extends Message<GetDirectoryResponse> {
|
|
196
|
-
/**
|
|
197
|
-
* @generated from field: scalekit.v1.directories.Directory directory = 1;
|
|
198
|
-
*/
|
|
199
|
-
directory?: Directory;
|
|
200
|
-
|
|
201
|
-
constructor(data?: PartialMessage<GetDirectoryResponse>) {
|
|
202
|
-
super();
|
|
203
|
-
proto3.util.initPartial(data, this);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
207
|
-
static readonly typeName = "scalekit.v1.directories.GetDirectoryResponse";
|
|
208
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
209
|
-
{ no: 1, name: "directory", kind: "message", T: Directory },
|
|
210
|
-
]);
|
|
211
|
-
|
|
212
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDirectoryResponse {
|
|
213
|
-
return new GetDirectoryResponse().fromBinary(bytes, options);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDirectoryResponse {
|
|
217
|
-
return new GetDirectoryResponse().fromJson(jsonValue, options);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDirectoryResponse {
|
|
221
|
-
return new GetDirectoryResponse().fromJsonString(jsonString, options);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
static equals(a: GetDirectoryResponse | PlainMessage<GetDirectoryResponse> | undefined, b: GetDirectoryResponse | PlainMessage<GetDirectoryResponse> | undefined): boolean {
|
|
225
|
-
return proto3.util.equals(GetDirectoryResponse, a, b);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* @generated from message scalekit.v1.directories.CreateDirectoryRequest
|
|
231
|
-
*/
|
|
232
|
-
export class CreateDirectoryRequest extends Message<CreateDirectoryRequest> {
|
|
233
|
-
/**
|
|
234
|
-
* @generated from field: string organization_id = 1;
|
|
235
|
-
*/
|
|
236
|
-
organizationId = "";
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* @generated from field: scalekit.v1.directories.CreateDirectory directory = 2;
|
|
240
|
-
*/
|
|
241
|
-
directory?: CreateDirectory;
|
|
242
|
-
|
|
243
|
-
constructor(data?: PartialMessage<CreateDirectoryRequest>) {
|
|
244
|
-
super();
|
|
245
|
-
proto3.util.initPartial(data, this);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
249
|
-
static readonly typeName = "scalekit.v1.directories.CreateDirectoryRequest";
|
|
250
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
251
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
252
|
-
{ no: 2, name: "directory", kind: "message", T: CreateDirectory },
|
|
253
|
-
]);
|
|
254
|
-
|
|
255
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectoryRequest {
|
|
256
|
-
return new CreateDirectoryRequest().fromBinary(bytes, options);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectoryRequest {
|
|
260
|
-
return new CreateDirectoryRequest().fromJson(jsonValue, options);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectoryRequest {
|
|
264
|
-
return new CreateDirectoryRequest().fromJsonString(jsonString, options);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
static equals(a: CreateDirectoryRequest | PlainMessage<CreateDirectoryRequest> | undefined, b: CreateDirectoryRequest | PlainMessage<CreateDirectoryRequest> | undefined): boolean {
|
|
268
|
-
return proto3.util.equals(CreateDirectoryRequest, a, b);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* @generated from message scalekit.v1.directories.CreateDirectory
|
|
274
|
-
*/
|
|
275
|
-
export class CreateDirectory extends Message<CreateDirectory> {
|
|
276
|
-
/**
|
|
277
|
-
* @generated from field: scalekit.v1.directories.DirectoryType directory_type = 1;
|
|
278
|
-
*/
|
|
279
|
-
directoryType = DirectoryType.DIRECTORY_TYPE_UNSPECIFIED;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 2;
|
|
283
|
-
*/
|
|
284
|
-
directoryProvider = DirectoryProvider.DIRECTORY_PROVIDER_UNSPECIFIED;
|
|
285
|
-
|
|
286
|
-
constructor(data?: PartialMessage<CreateDirectory>) {
|
|
287
|
-
super();
|
|
288
|
-
proto3.util.initPartial(data, this);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
292
|
-
static readonly typeName = "scalekit.v1.directories.CreateDirectory";
|
|
293
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
294
|
-
{ no: 1, name: "directory_type", kind: "enum", T: proto3.getEnumType(DirectoryType) },
|
|
295
|
-
{ no: 2, name: "directory_provider", kind: "enum", T: proto3.getEnumType(DirectoryProvider) },
|
|
296
|
-
]);
|
|
297
|
-
|
|
298
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectory {
|
|
299
|
-
return new CreateDirectory().fromBinary(bytes, options);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectory {
|
|
303
|
-
return new CreateDirectory().fromJson(jsonValue, options);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectory {
|
|
307
|
-
return new CreateDirectory().fromJsonString(jsonString, options);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
static equals(a: CreateDirectory | PlainMessage<CreateDirectory> | undefined, b: CreateDirectory | PlainMessage<CreateDirectory> | undefined): boolean {
|
|
311
|
-
return proto3.util.equals(CreateDirectory, a, b);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* @generated from message scalekit.v1.directories.CreateDirectoryResponse
|
|
317
|
-
*/
|
|
318
|
-
export class CreateDirectoryResponse extends Message<CreateDirectoryResponse> {
|
|
319
|
-
/**
|
|
320
|
-
* @generated from field: scalekit.v1.directories.Directory directory = 1;
|
|
321
|
-
*/
|
|
322
|
-
directory?: Directory;
|
|
323
|
-
|
|
324
|
-
constructor(data?: PartialMessage<CreateDirectoryResponse>) {
|
|
325
|
-
super();
|
|
326
|
-
proto3.util.initPartial(data, this);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
330
|
-
static readonly typeName = "scalekit.v1.directories.CreateDirectoryResponse";
|
|
331
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
332
|
-
{ no: 1, name: "directory", kind: "message", T: Directory },
|
|
333
|
-
]);
|
|
334
|
-
|
|
335
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectoryResponse {
|
|
336
|
-
return new CreateDirectoryResponse().fromBinary(bytes, options);
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectoryResponse {
|
|
340
|
-
return new CreateDirectoryResponse().fromJson(jsonValue, options);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectoryResponse {
|
|
344
|
-
return new CreateDirectoryResponse().fromJsonString(jsonString, options);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
static equals(a: CreateDirectoryResponse | PlainMessage<CreateDirectoryResponse> | undefined, b: CreateDirectoryResponse | PlainMessage<CreateDirectoryResponse> | undefined): boolean {
|
|
348
|
-
return proto3.util.equals(CreateDirectoryResponse, a, b);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* @generated from message scalekit.v1.directories.UpdateDirectoryRequest
|
|
354
|
-
*/
|
|
355
|
-
export class UpdateDirectoryRequest extends Message<UpdateDirectoryRequest> {
|
|
356
|
-
/**
|
|
357
|
-
* @generated from field: string id = 1;
|
|
358
|
-
*/
|
|
359
|
-
id = "";
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* @generated from field: string organization_id = 2;
|
|
363
|
-
*/
|
|
364
|
-
organizationId = "";
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* @generated from field: scalekit.v1.directories.UpdateDirectory directory = 3;
|
|
368
|
-
*/
|
|
369
|
-
directory?: UpdateDirectory;
|
|
370
|
-
|
|
371
|
-
constructor(data?: PartialMessage<UpdateDirectoryRequest>) {
|
|
372
|
-
super();
|
|
373
|
-
proto3.util.initPartial(data, this);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
377
|
-
static readonly typeName = "scalekit.v1.directories.UpdateDirectoryRequest";
|
|
378
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
379
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
380
|
-
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
381
|
-
{ no: 3, name: "directory", kind: "message", T: UpdateDirectory },
|
|
382
|
-
]);
|
|
383
|
-
|
|
384
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDirectoryRequest {
|
|
385
|
-
return new UpdateDirectoryRequest().fromBinary(bytes, options);
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDirectoryRequest {
|
|
389
|
-
return new UpdateDirectoryRequest().fromJson(jsonValue, options);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDirectoryRequest {
|
|
393
|
-
return new UpdateDirectoryRequest().fromJsonString(jsonString, options);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
static equals(a: UpdateDirectoryRequest | PlainMessage<UpdateDirectoryRequest> | undefined, b: UpdateDirectoryRequest | PlainMessage<UpdateDirectoryRequest> | undefined): boolean {
|
|
397
|
-
return proto3.util.equals(UpdateDirectoryRequest, a, b);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* @generated from message scalekit.v1.directories.UpdateDirectory
|
|
403
|
-
*/
|
|
404
|
-
export class UpdateDirectory extends Message<UpdateDirectory> {
|
|
405
|
-
/**
|
|
406
|
-
* @generated from field: string name = 2;
|
|
407
|
-
*/
|
|
408
|
-
name = "";
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* @generated from field: scalekit.v1.directories.DirectoryType directory_type = 3;
|
|
412
|
-
*/
|
|
413
|
-
directoryType = DirectoryType.DIRECTORY_TYPE_UNSPECIFIED;
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* @generated from field: bool enabled = 7;
|
|
417
|
-
*/
|
|
418
|
-
enabled = false;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 8;
|
|
422
|
-
*/
|
|
423
|
-
directoryProvider = DirectoryProvider.DIRECTORY_PROVIDER_UNSPECIFIED;
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* @generated from field: scalekit.v1.directories.DirectoryStatus status = 9;
|
|
427
|
-
*/
|
|
428
|
-
status = DirectoryStatus.DIRECTORY_STATUS_UNSPECIFIED;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* @generated from field: repeated scalekit.v1.directories.DirectoryMapping mappings = 10;
|
|
432
|
-
*/
|
|
433
|
-
mappings: DirectoryMapping[] = [];
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* @generated from field: repeated scalekit.v1.directories.ExternalGroup groups = 15;
|
|
437
|
-
*/
|
|
438
|
-
groups: ExternalGroup[] = [];
|
|
439
|
-
|
|
440
|
-
constructor(data?: PartialMessage<UpdateDirectory>) {
|
|
441
|
-
super();
|
|
442
|
-
proto3.util.initPartial(data, this);
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
446
|
-
static readonly typeName = "scalekit.v1.directories.UpdateDirectory";
|
|
447
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
448
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
449
|
-
{ no: 3, name: "directory_type", kind: "enum", T: proto3.getEnumType(DirectoryType) },
|
|
450
|
-
{ no: 7, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
451
|
-
{ no: 8, name: "directory_provider", kind: "enum", T: proto3.getEnumType(DirectoryProvider) },
|
|
452
|
-
{ no: 9, name: "status", kind: "enum", T: proto3.getEnumType(DirectoryStatus) },
|
|
453
|
-
{ no: 10, name: "mappings", kind: "message", T: DirectoryMapping, repeated: true },
|
|
454
|
-
{ no: 15, name: "groups", kind: "message", T: ExternalGroup, repeated: true },
|
|
455
|
-
]);
|
|
456
|
-
|
|
457
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDirectory {
|
|
458
|
-
return new UpdateDirectory().fromBinary(bytes, options);
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDirectory {
|
|
462
|
-
return new UpdateDirectory().fromJson(jsonValue, options);
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDirectory {
|
|
466
|
-
return new UpdateDirectory().fromJsonString(jsonString, options);
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
static equals(a: UpdateDirectory | PlainMessage<UpdateDirectory> | undefined, b: UpdateDirectory | PlainMessage<UpdateDirectory> | undefined): boolean {
|
|
470
|
-
return proto3.util.equals(UpdateDirectory, a, b);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* @generated from message scalekit.v1.directories.UpdateDirectoryResponse
|
|
476
|
-
*/
|
|
477
|
-
export class UpdateDirectoryResponse extends Message<UpdateDirectoryResponse> {
|
|
478
|
-
/**
|
|
479
|
-
* @generated from field: scalekit.v1.directories.Directory directory = 1;
|
|
480
|
-
*/
|
|
481
|
-
directory?: Directory;
|
|
482
|
-
|
|
483
|
-
constructor(data?: PartialMessage<UpdateDirectoryResponse>) {
|
|
484
|
-
super();
|
|
485
|
-
proto3.util.initPartial(data, this);
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
489
|
-
static readonly typeName = "scalekit.v1.directories.UpdateDirectoryResponse";
|
|
490
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
491
|
-
{ no: 1, name: "directory", kind: "message", T: Directory },
|
|
492
|
-
]);
|
|
493
|
-
|
|
494
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDirectoryResponse {
|
|
495
|
-
return new UpdateDirectoryResponse().fromBinary(bytes, options);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDirectoryResponse {
|
|
499
|
-
return new UpdateDirectoryResponse().fromJson(jsonValue, options);
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDirectoryResponse {
|
|
503
|
-
return new UpdateDirectoryResponse().fromJsonString(jsonString, options);
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
static equals(a: UpdateDirectoryResponse | PlainMessage<UpdateDirectoryResponse> | undefined, b: UpdateDirectoryResponse | PlainMessage<UpdateDirectoryResponse> | undefined): boolean {
|
|
507
|
-
return proto3.util.equals(UpdateDirectoryResponse, a, b);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* @generated from message scalekit.v1.directories.AssignGroupsForDirectoryRequest
|
|
513
|
-
*/
|
|
514
|
-
export class AssignGroupsForDirectoryRequest extends Message<AssignGroupsForDirectoryRequest> {
|
|
515
|
-
/**
|
|
516
|
-
* @generated from field: string id = 1;
|
|
517
|
-
*/
|
|
518
|
-
id = "";
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* @generated from field: string organization_id = 2;
|
|
522
|
-
*/
|
|
523
|
-
organizationId = "";
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* @generated from field: repeated string external_ids = 3;
|
|
527
|
-
*/
|
|
528
|
-
externalIds: string[] = [];
|
|
529
|
-
|
|
530
|
-
constructor(data?: PartialMessage<AssignGroupsForDirectoryRequest>) {
|
|
531
|
-
super();
|
|
532
|
-
proto3.util.initPartial(data, this);
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
536
|
-
static readonly typeName = "scalekit.v1.directories.AssignGroupsForDirectoryRequest";
|
|
537
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
538
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
539
|
-
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
540
|
-
{ no: 3, name: "external_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
541
|
-
]);
|
|
542
|
-
|
|
543
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignGroupsForDirectoryRequest {
|
|
544
|
-
return new AssignGroupsForDirectoryRequest().fromBinary(bytes, options);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignGroupsForDirectoryRequest {
|
|
548
|
-
return new AssignGroupsForDirectoryRequest().fromJson(jsonValue, options);
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignGroupsForDirectoryRequest {
|
|
552
|
-
return new AssignGroupsForDirectoryRequest().fromJsonString(jsonString, options);
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
static equals(a: AssignGroupsForDirectoryRequest | PlainMessage<AssignGroupsForDirectoryRequest> | undefined, b: AssignGroupsForDirectoryRequest | PlainMessage<AssignGroupsForDirectoryRequest> | undefined): boolean {
|
|
556
|
-
return proto3.util.equals(AssignGroupsForDirectoryRequest, a, b);
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* @generated from message scalekit.v1.directories.ListDirectoriesRequest
|
|
562
|
-
*/
|
|
563
|
-
export class ListDirectoriesRequest extends Message<ListDirectoriesRequest> {
|
|
564
|
-
/**
|
|
565
|
-
* @generated from field: string organization_id = 1;
|
|
566
|
-
*/
|
|
567
|
-
organizationId = "";
|
|
568
|
-
|
|
569
|
-
constructor(data?: PartialMessage<ListDirectoriesRequest>) {
|
|
570
|
-
super();
|
|
571
|
-
proto3.util.initPartial(data, this);
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
575
|
-
static readonly typeName = "scalekit.v1.directories.ListDirectoriesRequest";
|
|
576
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
577
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
578
|
-
]);
|
|
579
|
-
|
|
580
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoriesRequest {
|
|
581
|
-
return new ListDirectoriesRequest().fromBinary(bytes, options);
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoriesRequest {
|
|
585
|
-
return new ListDirectoriesRequest().fromJson(jsonValue, options);
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoriesRequest {
|
|
589
|
-
return new ListDirectoriesRequest().fromJsonString(jsonString, options);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
static equals(a: ListDirectoriesRequest | PlainMessage<ListDirectoriesRequest> | undefined, b: ListDirectoriesRequest | PlainMessage<ListDirectoriesRequest> | undefined): boolean {
|
|
593
|
-
return proto3.util.equals(ListDirectoriesRequest, a, b);
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* @generated from message scalekit.v1.directories.ListDirectoriesResponse
|
|
599
|
-
*/
|
|
600
|
-
export class ListDirectoriesResponse extends Message<ListDirectoriesResponse> {
|
|
601
|
-
/**
|
|
602
|
-
* @generated from field: repeated scalekit.v1.directories.Directory directories = 1;
|
|
603
|
-
*/
|
|
604
|
-
directories: Directory[] = [];
|
|
605
|
-
|
|
606
|
-
constructor(data?: PartialMessage<ListDirectoriesResponse>) {
|
|
607
|
-
super();
|
|
608
|
-
proto3.util.initPartial(data, this);
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
612
|
-
static readonly typeName = "scalekit.v1.directories.ListDirectoriesResponse";
|
|
613
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
614
|
-
{ no: 1, name: "directories", kind: "message", T: Directory, repeated: true },
|
|
615
|
-
]);
|
|
616
|
-
|
|
617
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoriesResponse {
|
|
618
|
-
return new ListDirectoriesResponse().fromBinary(bytes, options);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoriesResponse {
|
|
622
|
-
return new ListDirectoriesResponse().fromJson(jsonValue, options);
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoriesResponse {
|
|
626
|
-
return new ListDirectoriesResponse().fromJsonString(jsonString, options);
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
static equals(a: ListDirectoriesResponse | PlainMessage<ListDirectoriesResponse> | undefined, b: ListDirectoriesResponse | PlainMessage<ListDirectoriesResponse> | undefined): boolean {
|
|
630
|
-
return proto3.util.equals(ListDirectoriesResponse, a, b);
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* @generated from message scalekit.v1.directories.ListDirectoryUsersRequest
|
|
636
|
-
*/
|
|
637
|
-
export class ListDirectoryUsersRequest extends Message<ListDirectoryUsersRequest> {
|
|
638
|
-
/**
|
|
639
|
-
* @generated from field: string organization_id = 1;
|
|
640
|
-
*/
|
|
641
|
-
organizationId = "";
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* @generated from field: string directory_id = 2;
|
|
645
|
-
*/
|
|
646
|
-
directoryId = "";
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* @generated from field: uint32 page_size = 3;
|
|
650
|
-
*/
|
|
651
|
-
pageSize = 0;
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* @generated from field: string page_token = 4;
|
|
655
|
-
*/
|
|
656
|
-
pageToken = "";
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* @generated from field: optional bool include_detail = 5;
|
|
660
|
-
*/
|
|
661
|
-
includeDetail?: boolean;
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* @generated from field: optional string directory_group_id = 6;
|
|
665
|
-
*/
|
|
666
|
-
directoryGroupId?: string;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* @generated from field: optional google.protobuf.Timestamp updated_after = 7;
|
|
670
|
-
*/
|
|
671
|
-
updatedAfter?: Timestamp;
|
|
672
|
-
|
|
673
|
-
constructor(data?: PartialMessage<ListDirectoryUsersRequest>) {
|
|
674
|
-
super();
|
|
675
|
-
proto3.util.initPartial(data, this);
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
679
|
-
static readonly typeName = "scalekit.v1.directories.ListDirectoryUsersRequest";
|
|
680
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
681
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
682
|
-
{ no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
683
|
-
{ no: 3, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
684
|
-
{ no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
685
|
-
{ no: 5, name: "include_detail", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
686
|
-
{ no: 6, name: "directory_group_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
687
|
-
{ no: 7, name: "updated_after", kind: "message", T: Timestamp, opt: true },
|
|
688
|
-
]);
|
|
689
|
-
|
|
690
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryUsersRequest {
|
|
691
|
-
return new ListDirectoryUsersRequest().fromBinary(bytes, options);
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryUsersRequest {
|
|
695
|
-
return new ListDirectoryUsersRequest().fromJson(jsonValue, options);
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryUsersRequest {
|
|
699
|
-
return new ListDirectoryUsersRequest().fromJsonString(jsonString, options);
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
static equals(a: ListDirectoryUsersRequest | PlainMessage<ListDirectoryUsersRequest> | undefined, b: ListDirectoryUsersRequest | PlainMessage<ListDirectoryUsersRequest> | undefined): boolean {
|
|
703
|
-
return proto3.util.equals(ListDirectoryUsersRequest, a, b);
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* @generated from message scalekit.v1.directories.ListDirectoryUsersResponse
|
|
709
|
-
*/
|
|
710
|
-
export class ListDirectoryUsersResponse extends Message<ListDirectoryUsersResponse> {
|
|
711
|
-
/**
|
|
712
|
-
* @generated from field: repeated scalekit.v1.directories.DirectoryUser users = 1;
|
|
713
|
-
*/
|
|
714
|
-
users: DirectoryUser[] = [];
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* @generated from field: uint32 total_size = 2;
|
|
718
|
-
*/
|
|
719
|
-
totalSize = 0;
|
|
720
|
-
|
|
721
|
-
/**
|
|
722
|
-
* @generated from field: string next_page_token = 3;
|
|
723
|
-
*/
|
|
724
|
-
nextPageToken = "";
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* @generated from field: string prev_page_token = 4;
|
|
728
|
-
*/
|
|
729
|
-
prevPageToken = "";
|
|
730
|
-
|
|
731
|
-
constructor(data?: PartialMessage<ListDirectoryUsersResponse>) {
|
|
732
|
-
super();
|
|
733
|
-
proto3.util.initPartial(data, this);
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
737
|
-
static readonly typeName = "scalekit.v1.directories.ListDirectoryUsersResponse";
|
|
738
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
739
|
-
{ no: 1, name: "users", kind: "message", T: DirectoryUser, repeated: true },
|
|
740
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
741
|
-
{ no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
742
|
-
{ no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
743
|
-
]);
|
|
744
|
-
|
|
745
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryUsersResponse {
|
|
746
|
-
return new ListDirectoryUsersResponse().fromBinary(bytes, options);
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryUsersResponse {
|
|
750
|
-
return new ListDirectoryUsersResponse().fromJson(jsonValue, options);
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryUsersResponse {
|
|
754
|
-
return new ListDirectoryUsersResponse().fromJsonString(jsonString, options);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
static equals(a: ListDirectoryUsersResponse | PlainMessage<ListDirectoryUsersResponse> | undefined, b: ListDirectoryUsersResponse | PlainMessage<ListDirectoryUsersResponse> | undefined): boolean {
|
|
758
|
-
return proto3.util.equals(ListDirectoryUsersResponse, a, b);
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* @generated from message scalekit.v1.directories.ListDirectoryGroupsRequest
|
|
764
|
-
*/
|
|
765
|
-
export class ListDirectoryGroupsRequest extends Message<ListDirectoryGroupsRequest> {
|
|
766
|
-
/**
|
|
767
|
-
* @generated from field: string organization_id = 1;
|
|
768
|
-
*/
|
|
769
|
-
organizationId = "";
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* @generated from field: string directory_id = 2;
|
|
773
|
-
*/
|
|
774
|
-
directoryId = "";
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* @generated from field: uint32 page_size = 3;
|
|
778
|
-
*/
|
|
779
|
-
pageSize = 0;
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* @generated from field: string page_token = 4;
|
|
783
|
-
*/
|
|
784
|
-
pageToken = "";
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* @generated from field: optional google.protobuf.Timestamp updated_after = 5;
|
|
788
|
-
*/
|
|
789
|
-
updatedAfter?: Timestamp;
|
|
790
|
-
|
|
791
|
-
/**
|
|
792
|
-
* @generated from field: optional bool include_detail = 6;
|
|
793
|
-
*/
|
|
794
|
-
includeDetail?: boolean;
|
|
795
|
-
|
|
796
|
-
/**
|
|
797
|
-
* @generated from field: optional bool include_external_groups = 7;
|
|
798
|
-
*/
|
|
799
|
-
includeExternalGroups?: boolean;
|
|
800
|
-
|
|
801
|
-
constructor(data?: PartialMessage<ListDirectoryGroupsRequest>) {
|
|
802
|
-
super();
|
|
803
|
-
proto3.util.initPartial(data, this);
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
807
|
-
static readonly typeName = "scalekit.v1.directories.ListDirectoryGroupsRequest";
|
|
808
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
809
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
810
|
-
{ no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
811
|
-
{ no: 3, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
812
|
-
{ no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
813
|
-
{ no: 5, name: "updated_after", kind: "message", T: Timestamp, opt: true },
|
|
814
|
-
{ no: 6, name: "include_detail", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
815
|
-
{ no: 7, name: "include_external_groups", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
816
|
-
]);
|
|
817
|
-
|
|
818
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryGroupsRequest {
|
|
819
|
-
return new ListDirectoryGroupsRequest().fromBinary(bytes, options);
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryGroupsRequest {
|
|
823
|
-
return new ListDirectoryGroupsRequest().fromJson(jsonValue, options);
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryGroupsRequest {
|
|
827
|
-
return new ListDirectoryGroupsRequest().fromJsonString(jsonString, options);
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
static equals(a: ListDirectoryGroupsRequest | PlainMessage<ListDirectoryGroupsRequest> | undefined, b: ListDirectoryGroupsRequest | PlainMessage<ListDirectoryGroupsRequest> | undefined): boolean {
|
|
831
|
-
return proto3.util.equals(ListDirectoryGroupsRequest, a, b);
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* @generated from message scalekit.v1.directories.ListDirectoryGroupsResponse
|
|
837
|
-
*/
|
|
838
|
-
export class ListDirectoryGroupsResponse extends Message<ListDirectoryGroupsResponse> {
|
|
839
|
-
/**
|
|
840
|
-
* @generated from field: repeated scalekit.v1.directories.DirectoryGroup groups = 1;
|
|
841
|
-
*/
|
|
842
|
-
groups: DirectoryGroup[] = [];
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* @generated from field: uint32 total_size = 2;
|
|
846
|
-
*/
|
|
847
|
-
totalSize = 0;
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* @generated from field: string next_page_token = 3;
|
|
851
|
-
*/
|
|
852
|
-
nextPageToken = "";
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* @generated from field: string prev_page_token = 4;
|
|
856
|
-
*/
|
|
857
|
-
prevPageToken = "";
|
|
858
|
-
|
|
859
|
-
constructor(data?: PartialMessage<ListDirectoryGroupsResponse>) {
|
|
860
|
-
super();
|
|
861
|
-
proto3.util.initPartial(data, this);
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
865
|
-
static readonly typeName = "scalekit.v1.directories.ListDirectoryGroupsResponse";
|
|
866
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
867
|
-
{ no: 1, name: "groups", kind: "message", T: DirectoryGroup, repeated: true },
|
|
868
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
869
|
-
{ no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
870
|
-
{ no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
871
|
-
]);
|
|
872
|
-
|
|
873
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryGroupsResponse {
|
|
874
|
-
return new ListDirectoryGroupsResponse().fromBinary(bytes, options);
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryGroupsResponse {
|
|
878
|
-
return new ListDirectoryGroupsResponse().fromJson(jsonValue, options);
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryGroupsResponse {
|
|
882
|
-
return new ListDirectoryGroupsResponse().fromJsonString(jsonString, options);
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
static equals(a: ListDirectoryGroupsResponse | PlainMessage<ListDirectoryGroupsResponse> | undefined, b: ListDirectoryGroupsResponse | PlainMessage<ListDirectoryGroupsResponse> | undefined): boolean {
|
|
886
|
-
return proto3.util.equals(ListDirectoryGroupsResponse, a, b);
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* @generated from message scalekit.v1.directories.ListDirectoryGroupsSummaryRequest
|
|
892
|
-
*/
|
|
893
|
-
export class ListDirectoryGroupsSummaryRequest extends Message<ListDirectoryGroupsSummaryRequest> {
|
|
894
|
-
/**
|
|
895
|
-
* @generated from field: string organization_id = 1;
|
|
896
|
-
*/
|
|
897
|
-
organizationId = "";
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* @generated from field: string directory_id = 2;
|
|
901
|
-
*/
|
|
902
|
-
directoryId = "";
|
|
903
|
-
|
|
904
|
-
constructor(data?: PartialMessage<ListDirectoryGroupsSummaryRequest>) {
|
|
905
|
-
super();
|
|
906
|
-
proto3.util.initPartial(data, this);
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
910
|
-
static readonly typeName = "scalekit.v1.directories.ListDirectoryGroupsSummaryRequest";
|
|
911
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
912
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
913
|
-
{ no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
914
|
-
]);
|
|
915
|
-
|
|
916
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryGroupsSummaryRequest {
|
|
917
|
-
return new ListDirectoryGroupsSummaryRequest().fromBinary(bytes, options);
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryGroupsSummaryRequest {
|
|
921
|
-
return new ListDirectoryGroupsSummaryRequest().fromJson(jsonValue, options);
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryGroupsSummaryRequest {
|
|
925
|
-
return new ListDirectoryGroupsSummaryRequest().fromJsonString(jsonString, options);
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
static equals(a: ListDirectoryGroupsSummaryRequest | PlainMessage<ListDirectoryGroupsSummaryRequest> | undefined, b: ListDirectoryGroupsSummaryRequest | PlainMessage<ListDirectoryGroupsSummaryRequest> | undefined): boolean {
|
|
929
|
-
return proto3.util.equals(ListDirectoryGroupsSummaryRequest, a, b);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* @generated from message scalekit.v1.directories.Directory
|
|
935
|
-
*/
|
|
936
|
-
export class Directory extends Message<Directory> {
|
|
937
|
-
/**
|
|
938
|
-
* @generated from field: string id = 1;
|
|
939
|
-
*/
|
|
940
|
-
id = "";
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
* @generated from field: string name = 2;
|
|
944
|
-
*/
|
|
945
|
-
name = "";
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* @generated from field: scalekit.v1.directories.DirectoryType directory_type = 3;
|
|
949
|
-
*/
|
|
950
|
-
directoryType = DirectoryType.DIRECTORY_TYPE_UNSPECIFIED;
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* @generated from field: string organization_id = 4;
|
|
954
|
-
*/
|
|
955
|
-
organizationId = "";
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* @generated from field: bool enabled = 5;
|
|
959
|
-
*/
|
|
960
|
-
enabled = false;
|
|
961
|
-
|
|
962
|
-
/**
|
|
963
|
-
* @generated from field: scalekit.v1.directories.DirectoryProvider directory_provider = 6;
|
|
964
|
-
*/
|
|
965
|
-
directoryProvider = DirectoryProvider.DIRECTORY_PROVIDER_UNSPECIFIED;
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @generated from field: google.protobuf.Timestamp last_synced_at = 7;
|
|
969
|
-
*/
|
|
970
|
-
lastSyncedAt?: Timestamp;
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* @generated from field: string directory_endpoint = 8;
|
|
974
|
-
*/
|
|
975
|
-
directoryEndpoint = "";
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* @generated from field: int32 total_users = 9;
|
|
979
|
-
*/
|
|
980
|
-
totalUsers = 0;
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* @generated from field: int32 total_groups = 10;
|
|
984
|
-
*/
|
|
985
|
-
totalGroups = 0;
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* @generated from field: repeated scalekit.v1.directories.Secret secrets = 11;
|
|
989
|
-
*/
|
|
990
|
-
secrets: Secret[] = [];
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* @generated from field: scalekit.v1.directories.Stats stats = 12;
|
|
994
|
-
*/
|
|
995
|
-
stats?: Stats;
|
|
996
|
-
|
|
997
|
-
/**
|
|
998
|
-
* @generated from field: scalekit.v1.directories.RoleAssignments role_assignments = 13;
|
|
999
|
-
*/
|
|
1000
|
-
roleAssignments?: RoleAssignments;
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* @generated from field: scalekit.v1.directories.AttributeMappings attribute_mappings = 14;
|
|
1004
|
-
*/
|
|
1005
|
-
attributeMappings?: AttributeMappings;
|
|
1006
|
-
|
|
1007
|
-
/**
|
|
1008
|
-
* @generated from field: string status = 15;
|
|
1009
|
-
*/
|
|
1010
|
-
status = "";
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* @generated from field: string email = 16;
|
|
1014
|
-
*/
|
|
1015
|
-
email = "";
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* @generated from field: string groups_tracked = 17;
|
|
1019
|
-
*/
|
|
1020
|
-
groupsTracked = "";
|
|
1021
|
-
|
|
1022
|
-
constructor(data?: PartialMessage<Directory>) {
|
|
1023
|
-
super();
|
|
1024
|
-
proto3.util.initPartial(data, this);
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1028
|
-
static readonly typeName = "scalekit.v1.directories.Directory";
|
|
1029
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1030
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1031
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1032
|
-
{ no: 3, name: "directory_type", kind: "enum", T: proto3.getEnumType(DirectoryType) },
|
|
1033
|
-
{ no: 4, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1034
|
-
{ no: 5, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1035
|
-
{ no: 6, name: "directory_provider", kind: "enum", T: proto3.getEnumType(DirectoryProvider) },
|
|
1036
|
-
{ no: 7, name: "last_synced_at", kind: "message", T: Timestamp },
|
|
1037
|
-
{ no: 8, name: "directory_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1038
|
-
{ no: 9, name: "total_users", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1039
|
-
{ no: 10, name: "total_groups", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1040
|
-
{ no: 11, name: "secrets", kind: "message", T: Secret, repeated: true },
|
|
1041
|
-
{ no: 12, name: "stats", kind: "message", T: Stats },
|
|
1042
|
-
{ no: 13, name: "role_assignments", kind: "message", T: RoleAssignments },
|
|
1043
|
-
{ no: 14, name: "attribute_mappings", kind: "message", T: AttributeMappings },
|
|
1044
|
-
{ no: 15, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1045
|
-
{ no: 16, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1046
|
-
{ no: 17, name: "groups_tracked", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1047
|
-
]);
|
|
1048
|
-
|
|
1049
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Directory {
|
|
1050
|
-
return new Directory().fromBinary(bytes, options);
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Directory {
|
|
1054
|
-
return new Directory().fromJson(jsonValue, options);
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Directory {
|
|
1058
|
-
return new Directory().fromJsonString(jsonString, options);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
static equals(a: Directory | PlainMessage<Directory> | undefined, b: Directory | PlainMessage<Directory> | undefined): boolean {
|
|
1062
|
-
return proto3.util.equals(Directory, a, b);
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* @generated from message scalekit.v1.directories.ToggleDirectoryRequest
|
|
1068
|
-
*/
|
|
1069
|
-
export class ToggleDirectoryRequest extends Message<ToggleDirectoryRequest> {
|
|
1070
|
-
/**
|
|
1071
|
-
* @generated from field: string organization_id = 1;
|
|
1072
|
-
*/
|
|
1073
|
-
organizationId = "";
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
* @generated from field: string id = 3;
|
|
1077
|
-
*/
|
|
1078
|
-
id = "";
|
|
1079
|
-
|
|
1080
|
-
constructor(data?: PartialMessage<ToggleDirectoryRequest>) {
|
|
1081
|
-
super();
|
|
1082
|
-
proto3.util.initPartial(data, this);
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1086
|
-
static readonly typeName = "scalekit.v1.directories.ToggleDirectoryRequest";
|
|
1087
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1088
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1089
|
-
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1090
|
-
]);
|
|
1091
|
-
|
|
1092
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleDirectoryRequest {
|
|
1093
|
-
return new ToggleDirectoryRequest().fromBinary(bytes, options);
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleDirectoryRequest {
|
|
1097
|
-
return new ToggleDirectoryRequest().fromJson(jsonValue, options);
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleDirectoryRequest {
|
|
1101
|
-
return new ToggleDirectoryRequest().fromJsonString(jsonString, options);
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
static equals(a: ToggleDirectoryRequest | PlainMessage<ToggleDirectoryRequest> | undefined, b: ToggleDirectoryRequest | PlainMessage<ToggleDirectoryRequest> | undefined): boolean {
|
|
1105
|
-
return proto3.util.equals(ToggleDirectoryRequest, a, b);
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
/**
|
|
1110
|
-
* @generated from message scalekit.v1.directories.ToggleDirectoryResponse
|
|
1111
|
-
*/
|
|
1112
|
-
export class ToggleDirectoryResponse extends Message<ToggleDirectoryResponse> {
|
|
1113
|
-
/**
|
|
1114
|
-
* @generated from field: bool enabled = 1;
|
|
1115
|
-
*/
|
|
1116
|
-
enabled = false;
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* @generated from field: optional string error_message = 2;
|
|
1120
|
-
*/
|
|
1121
|
-
errorMessage?: string;
|
|
1122
|
-
|
|
1123
|
-
constructor(data?: PartialMessage<ToggleDirectoryResponse>) {
|
|
1124
|
-
super();
|
|
1125
|
-
proto3.util.initPartial(data, this);
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1129
|
-
static readonly typeName = "scalekit.v1.directories.ToggleDirectoryResponse";
|
|
1130
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1131
|
-
{ no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1132
|
-
{ no: 2, name: "error_message", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1133
|
-
]);
|
|
1134
|
-
|
|
1135
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleDirectoryResponse {
|
|
1136
|
-
return new ToggleDirectoryResponse().fromBinary(bytes, options);
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleDirectoryResponse {
|
|
1140
|
-
return new ToggleDirectoryResponse().fromJson(jsonValue, options);
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleDirectoryResponse {
|
|
1144
|
-
return new ToggleDirectoryResponse().fromJsonString(jsonString, options);
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
static equals(a: ToggleDirectoryResponse | PlainMessage<ToggleDirectoryResponse> | undefined, b: ToggleDirectoryResponse | PlainMessage<ToggleDirectoryResponse> | undefined): boolean {
|
|
1148
|
-
return proto3.util.equals(ToggleDirectoryResponse, a, b);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
/**
|
|
1153
|
-
* @generated from message scalekit.v1.directories.DirectoryMapping
|
|
1154
|
-
*/
|
|
1155
|
-
export class DirectoryMapping extends Message<DirectoryMapping> {
|
|
1156
|
-
/**
|
|
1157
|
-
* @generated from field: string key = 1;
|
|
1158
|
-
*/
|
|
1159
|
-
key = "";
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* @generated from field: string map_to = 2;
|
|
1163
|
-
*/
|
|
1164
|
-
mapTo = "";
|
|
1165
|
-
|
|
1166
|
-
/**
|
|
1167
|
-
* @generated from field: string display_name = 3;
|
|
1168
|
-
*/
|
|
1169
|
-
displayName = "";
|
|
1170
|
-
|
|
1171
|
-
constructor(data?: PartialMessage<DirectoryMapping>) {
|
|
1172
|
-
super();
|
|
1173
|
-
proto3.util.initPartial(data, this);
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1177
|
-
static readonly typeName = "scalekit.v1.directories.DirectoryMapping";
|
|
1178
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1179
|
-
{ no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1180
|
-
{ no: 2, name: "map_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1181
|
-
{ no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1182
|
-
]);
|
|
1183
|
-
|
|
1184
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectoryMapping {
|
|
1185
|
-
return new DirectoryMapping().fromBinary(bytes, options);
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectoryMapping {
|
|
1189
|
-
return new DirectoryMapping().fromJson(jsonValue, options);
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectoryMapping {
|
|
1193
|
-
return new DirectoryMapping().fromJsonString(jsonString, options);
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
static equals(a: DirectoryMapping | PlainMessage<DirectoryMapping> | undefined, b: DirectoryMapping | PlainMessage<DirectoryMapping> | undefined): boolean {
|
|
1197
|
-
return proto3.util.equals(DirectoryMapping, a, b);
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
* @generated from message scalekit.v1.directories.DirectoryUser
|
|
1203
|
-
*/
|
|
1204
|
-
export class DirectoryUser extends Message<DirectoryUser> {
|
|
1205
|
-
/**
|
|
1206
|
-
* @generated from field: string id = 1;
|
|
1207
|
-
*/
|
|
1208
|
-
id = "";
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* @generated from field: string email = 2;
|
|
1212
|
-
*/
|
|
1213
|
-
email = "";
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* @generated from field: string preferred_username = 3;
|
|
1217
|
-
*/
|
|
1218
|
-
preferredUsername = "";
|
|
1219
|
-
|
|
1220
|
-
/**
|
|
1221
|
-
* @generated from field: string given_name = 4;
|
|
1222
|
-
*/
|
|
1223
|
-
givenName = "";
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* @generated from field: string family_name = 5;
|
|
1227
|
-
*/
|
|
1228
|
-
familyName = "";
|
|
1229
|
-
|
|
1230
|
-
/**
|
|
1231
|
-
* @generated from field: google.protobuf.Timestamp updated_at = 6;
|
|
1232
|
-
*/
|
|
1233
|
-
updatedAt?: Timestamp;
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
* @generated from field: repeated string emails = 16;
|
|
1237
|
-
*/
|
|
1238
|
-
emails: string[] = [];
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* @generated from field: repeated scalekit.v1.directories.DirectoryGroup groups = 17;
|
|
1242
|
-
*/
|
|
1243
|
-
groups: DirectoryGroup[] = [];
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
* @generated from field: google.protobuf.Struct user_detail = 18;
|
|
1247
|
-
*/
|
|
1248
|
-
userDetail?: Struct;
|
|
1249
|
-
|
|
1250
|
-
constructor(data?: PartialMessage<DirectoryUser>) {
|
|
1251
|
-
super();
|
|
1252
|
-
proto3.util.initPartial(data, this);
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1256
|
-
static readonly typeName = "scalekit.v1.directories.DirectoryUser";
|
|
1257
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1258
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1259
|
-
{ no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1260
|
-
{ no: 3, name: "preferred_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1261
|
-
{ no: 4, name: "given_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1262
|
-
{ no: 5, name: "family_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1263
|
-
{ no: 6, name: "updated_at", kind: "message", T: Timestamp },
|
|
1264
|
-
{ no: 16, name: "emails", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1265
|
-
{ no: 17, name: "groups", kind: "message", T: DirectoryGroup, repeated: true },
|
|
1266
|
-
{ no: 18, name: "user_detail", kind: "message", T: Struct },
|
|
1267
|
-
]);
|
|
1268
|
-
|
|
1269
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectoryUser {
|
|
1270
|
-
return new DirectoryUser().fromBinary(bytes, options);
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectoryUser {
|
|
1274
|
-
return new DirectoryUser().fromJson(jsonValue, options);
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectoryUser {
|
|
1278
|
-
return new DirectoryUser().fromJsonString(jsonString, options);
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
static equals(a: DirectoryUser | PlainMessage<DirectoryUser> | undefined, b: DirectoryUser | PlainMessage<DirectoryUser> | undefined): boolean {
|
|
1282
|
-
return proto3.util.equals(DirectoryUser, a, b);
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
* @generated from message scalekit.v1.directories.ExternalGroup
|
|
1288
|
-
*/
|
|
1289
|
-
export class ExternalGroup extends Message<ExternalGroup> {
|
|
1290
|
-
/**
|
|
1291
|
-
* @generated from field: string external_id = 1;
|
|
1292
|
-
*/
|
|
1293
|
-
externalId = "";
|
|
1294
|
-
|
|
1295
|
-
/**
|
|
1296
|
-
* @generated from field: string display_name = 2;
|
|
1297
|
-
*/
|
|
1298
|
-
displayName = "";
|
|
1299
|
-
|
|
1300
|
-
/**
|
|
1301
|
-
* @generated from field: string email = 3;
|
|
1302
|
-
*/
|
|
1303
|
-
email = "";
|
|
1304
|
-
|
|
1305
|
-
constructor(data?: PartialMessage<ExternalGroup>) {
|
|
1306
|
-
super();
|
|
1307
|
-
proto3.util.initPartial(data, this);
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1311
|
-
static readonly typeName = "scalekit.v1.directories.ExternalGroup";
|
|
1312
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1313
|
-
{ no: 1, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1314
|
-
{ no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1315
|
-
{ no: 3, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1316
|
-
]);
|
|
1317
|
-
|
|
1318
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExternalGroup {
|
|
1319
|
-
return new ExternalGroup().fromBinary(bytes, options);
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExternalGroup {
|
|
1323
|
-
return new ExternalGroup().fromJson(jsonValue, options);
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExternalGroup {
|
|
1327
|
-
return new ExternalGroup().fromJsonString(jsonString, options);
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
static equals(a: ExternalGroup | PlainMessage<ExternalGroup> | undefined, b: ExternalGroup | PlainMessage<ExternalGroup> | undefined): boolean {
|
|
1331
|
-
return proto3.util.equals(ExternalGroup, a, b);
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
* @generated from message scalekit.v1.directories.DirectoryGroup
|
|
1337
|
-
*/
|
|
1338
|
-
export class DirectoryGroup extends Message<DirectoryGroup> {
|
|
1339
|
-
/**
|
|
1340
|
-
* @generated from field: string id = 1;
|
|
1341
|
-
*/
|
|
1342
|
-
id = "";
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* @generated from field: string display_name = 2;
|
|
1346
|
-
*/
|
|
1347
|
-
displayName = "";
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* @generated from field: int32 total_users = 3;
|
|
1351
|
-
*/
|
|
1352
|
-
totalUsers = 0;
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* @generated from field: google.protobuf.Timestamp updated_at = 4;
|
|
1356
|
-
*/
|
|
1357
|
-
updatedAt?: Timestamp;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* @generated from field: google.protobuf.Struct group_detail = 5;
|
|
1361
|
-
*/
|
|
1362
|
-
groupDetail?: Struct;
|
|
1363
|
-
|
|
1364
|
-
constructor(data?: PartialMessage<DirectoryGroup>) {
|
|
1365
|
-
super();
|
|
1366
|
-
proto3.util.initPartial(data, this);
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1370
|
-
static readonly typeName = "scalekit.v1.directories.DirectoryGroup";
|
|
1371
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1372
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1373
|
-
{ no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1374
|
-
{ no: 3, name: "total_users", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1375
|
-
{ no: 4, name: "updated_at", kind: "message", T: Timestamp },
|
|
1376
|
-
{ no: 5, name: "group_detail", kind: "message", T: Struct },
|
|
1377
|
-
]);
|
|
1378
|
-
|
|
1379
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectoryGroup {
|
|
1380
|
-
return new DirectoryGroup().fromBinary(bytes, options);
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectoryGroup {
|
|
1384
|
-
return new DirectoryGroup().fromJson(jsonValue, options);
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectoryGroup {
|
|
1388
|
-
return new DirectoryGroup().fromJsonString(jsonString, options);
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
static equals(a: DirectoryGroup | PlainMessage<DirectoryGroup> | undefined, b: DirectoryGroup | PlainMessage<DirectoryGroup> | undefined): boolean {
|
|
1392
|
-
return proto3.util.equals(DirectoryGroup, a, b);
|
|
1393
|
-
}
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
/**
|
|
1397
|
-
* @generated from message scalekit.v1.directories.CreateDirectorySecretRequest
|
|
1398
|
-
*/
|
|
1399
|
-
export class CreateDirectorySecretRequest extends Message<CreateDirectorySecretRequest> {
|
|
1400
|
-
/**
|
|
1401
|
-
* @generated from field: string organization_id = 1;
|
|
1402
|
-
*/
|
|
1403
|
-
organizationId = "";
|
|
1404
|
-
|
|
1405
|
-
/**
|
|
1406
|
-
* @generated from field: string directory_id = 2;
|
|
1407
|
-
*/
|
|
1408
|
-
directoryId = "";
|
|
1409
|
-
|
|
1410
|
-
constructor(data?: PartialMessage<CreateDirectorySecretRequest>) {
|
|
1411
|
-
super();
|
|
1412
|
-
proto3.util.initPartial(data, this);
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1416
|
-
static readonly typeName = "scalekit.v1.directories.CreateDirectorySecretRequest";
|
|
1417
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1418
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1419
|
-
{ no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1420
|
-
]);
|
|
1421
|
-
|
|
1422
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectorySecretRequest {
|
|
1423
|
-
return new CreateDirectorySecretRequest().fromBinary(bytes, options);
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectorySecretRequest {
|
|
1427
|
-
return new CreateDirectorySecretRequest().fromJson(jsonValue, options);
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectorySecretRequest {
|
|
1431
|
-
return new CreateDirectorySecretRequest().fromJsonString(jsonString, options);
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
static equals(a: CreateDirectorySecretRequest | PlainMessage<CreateDirectorySecretRequest> | undefined, b: CreateDirectorySecretRequest | PlainMessage<CreateDirectorySecretRequest> | undefined): boolean {
|
|
1435
|
-
return proto3.util.equals(CreateDirectorySecretRequest, a, b);
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
/**
|
|
1440
|
-
* @generated from message scalekit.v1.directories.CreateDirectorySecretResponse
|
|
1441
|
-
*/
|
|
1442
|
-
export class CreateDirectorySecretResponse extends Message<CreateDirectorySecretResponse> {
|
|
1443
|
-
/**
|
|
1444
|
-
* @generated from field: string plain_secret = 1;
|
|
1445
|
-
*/
|
|
1446
|
-
plainSecret = "";
|
|
1447
|
-
|
|
1448
|
-
/**
|
|
1449
|
-
* @generated from field: scalekit.v1.directories.Secret secret = 2;
|
|
1450
|
-
*/
|
|
1451
|
-
secret?: Secret;
|
|
1452
|
-
|
|
1453
|
-
constructor(data?: PartialMessage<CreateDirectorySecretResponse>) {
|
|
1454
|
-
super();
|
|
1455
|
-
proto3.util.initPartial(data, this);
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1459
|
-
static readonly typeName = "scalekit.v1.directories.CreateDirectorySecretResponse";
|
|
1460
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1461
|
-
{ no: 1, name: "plain_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1462
|
-
{ no: 2, name: "secret", kind: "message", T: Secret },
|
|
1463
|
-
]);
|
|
1464
|
-
|
|
1465
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectorySecretResponse {
|
|
1466
|
-
return new CreateDirectorySecretResponse().fromBinary(bytes, options);
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectorySecretResponse {
|
|
1470
|
-
return new CreateDirectorySecretResponse().fromJson(jsonValue, options);
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectorySecretResponse {
|
|
1474
|
-
return new CreateDirectorySecretResponse().fromJsonString(jsonString, options);
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
static equals(a: CreateDirectorySecretResponse | PlainMessage<CreateDirectorySecretResponse> | undefined, b: CreateDirectorySecretResponse | PlainMessage<CreateDirectorySecretResponse> | undefined): boolean {
|
|
1478
|
-
return proto3.util.equals(CreateDirectorySecretResponse, a, b);
|
|
1479
|
-
}
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
/**
|
|
1483
|
-
* @generated from message scalekit.v1.directories.RegenerateDirectorySecretRequest
|
|
1484
|
-
*/
|
|
1485
|
-
export class RegenerateDirectorySecretRequest extends Message<RegenerateDirectorySecretRequest> {
|
|
1486
|
-
/**
|
|
1487
|
-
* @generated from field: string organization_id = 1;
|
|
1488
|
-
*/
|
|
1489
|
-
organizationId = "";
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* @generated from field: string directory_id = 2;
|
|
1493
|
-
*/
|
|
1494
|
-
directoryId = "";
|
|
1495
|
-
|
|
1496
|
-
constructor(data?: PartialMessage<RegenerateDirectorySecretRequest>) {
|
|
1497
|
-
super();
|
|
1498
|
-
proto3.util.initPartial(data, this);
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1502
|
-
static readonly typeName = "scalekit.v1.directories.RegenerateDirectorySecretRequest";
|
|
1503
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1504
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1505
|
-
{ no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1506
|
-
]);
|
|
1507
|
-
|
|
1508
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegenerateDirectorySecretRequest {
|
|
1509
|
-
return new RegenerateDirectorySecretRequest().fromBinary(bytes, options);
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretRequest {
|
|
1513
|
-
return new RegenerateDirectorySecretRequest().fromJson(jsonValue, options);
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretRequest {
|
|
1517
|
-
return new RegenerateDirectorySecretRequest().fromJsonString(jsonString, options);
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
static equals(a: RegenerateDirectorySecretRequest | PlainMessage<RegenerateDirectorySecretRequest> | undefined, b: RegenerateDirectorySecretRequest | PlainMessage<RegenerateDirectorySecretRequest> | undefined): boolean {
|
|
1521
|
-
return proto3.util.equals(RegenerateDirectorySecretRequest, a, b);
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
/**
|
|
1526
|
-
* @generated from message scalekit.v1.directories.RegenerateDirectorySecretResponse
|
|
1527
|
-
*/
|
|
1528
|
-
export class RegenerateDirectorySecretResponse extends Message<RegenerateDirectorySecretResponse> {
|
|
1529
|
-
/**
|
|
1530
|
-
* @generated from field: string plain_secret = 1;
|
|
1531
|
-
*/
|
|
1532
|
-
plainSecret = "";
|
|
1533
|
-
|
|
1534
|
-
/**
|
|
1535
|
-
* @generated from field: scalekit.v1.directories.Secret secret = 2;
|
|
1536
|
-
*/
|
|
1537
|
-
secret?: Secret;
|
|
1538
|
-
|
|
1539
|
-
constructor(data?: PartialMessage<RegenerateDirectorySecretResponse>) {
|
|
1540
|
-
super();
|
|
1541
|
-
proto3.util.initPartial(data, this);
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1545
|
-
static readonly typeName = "scalekit.v1.directories.RegenerateDirectorySecretResponse";
|
|
1546
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1547
|
-
{ no: 1, name: "plain_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1548
|
-
{ no: 2, name: "secret", kind: "message", T: Secret },
|
|
1549
|
-
]);
|
|
1550
|
-
|
|
1551
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegenerateDirectorySecretResponse {
|
|
1552
|
-
return new RegenerateDirectorySecretResponse().fromBinary(bytes, options);
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretResponse {
|
|
1556
|
-
return new RegenerateDirectorySecretResponse().fromJson(jsonValue, options);
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegenerateDirectorySecretResponse {
|
|
1560
|
-
return new RegenerateDirectorySecretResponse().fromJsonString(jsonString, options);
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
static equals(a: RegenerateDirectorySecretResponse | PlainMessage<RegenerateDirectorySecretResponse> | undefined, b: RegenerateDirectorySecretResponse | PlainMessage<RegenerateDirectorySecretResponse> | undefined): boolean {
|
|
1564
|
-
return proto3.util.equals(RegenerateDirectorySecretResponse, a, b);
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
/**
|
|
1569
|
-
* @generated from message scalekit.v1.directories.Secret
|
|
1570
|
-
*/
|
|
1571
|
-
export class Secret extends Message<Secret> {
|
|
1572
|
-
/**
|
|
1573
|
-
* @generated from field: string id = 1;
|
|
1574
|
-
*/
|
|
1575
|
-
id = "";
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
* @generated from field: google.protobuf.Timestamp create_time = 2;
|
|
1579
|
-
*/
|
|
1580
|
-
createTime?: Timestamp;
|
|
1581
|
-
|
|
1582
|
-
/**
|
|
1583
|
-
* @generated from field: string secret_suffix = 4;
|
|
1584
|
-
*/
|
|
1585
|
-
secretSuffix = "";
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
* @generated from field: scalekit.v1.directories.SecretStatus status = 5;
|
|
1589
|
-
*/
|
|
1590
|
-
status = SecretStatus.ACTIVE;
|
|
1591
|
-
|
|
1592
|
-
/**
|
|
1593
|
-
* @generated from field: google.protobuf.Timestamp expire_time = 6;
|
|
1594
|
-
*/
|
|
1595
|
-
expireTime?: Timestamp;
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* @generated from field: google.protobuf.Timestamp last_used_time = 7;
|
|
1599
|
-
*/
|
|
1600
|
-
lastUsedTime?: Timestamp;
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* @generated from field: string directory_id = 9;
|
|
1604
|
-
*/
|
|
1605
|
-
directoryId = "";
|
|
1606
|
-
|
|
1607
|
-
constructor(data?: PartialMessage<Secret>) {
|
|
1608
|
-
super();
|
|
1609
|
-
proto3.util.initPartial(data, this);
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1613
|
-
static readonly typeName = "scalekit.v1.directories.Secret";
|
|
1614
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1615
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1616
|
-
{ no: 2, name: "create_time", kind: "message", T: Timestamp },
|
|
1617
|
-
{ no: 4, name: "secret_suffix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1618
|
-
{ no: 5, name: "status", kind: "enum", T: proto3.getEnumType(SecretStatus) },
|
|
1619
|
-
{ no: 6, name: "expire_time", kind: "message", T: Timestamp },
|
|
1620
|
-
{ no: 7, name: "last_used_time", kind: "message", T: Timestamp },
|
|
1621
|
-
{ no: 9, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1622
|
-
]);
|
|
1623
|
-
|
|
1624
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Secret {
|
|
1625
|
-
return new Secret().fromBinary(bytes, options);
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Secret {
|
|
1629
|
-
return new Secret().fromJson(jsonValue, options);
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Secret {
|
|
1633
|
-
return new Secret().fromJsonString(jsonString, options);
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
static equals(a: Secret | PlainMessage<Secret> | undefined, b: Secret | PlainMessage<Secret> | undefined): boolean {
|
|
1637
|
-
return proto3.util.equals(Secret, a, b);
|
|
1638
|
-
}
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
/**
|
|
1642
|
-
* @generated from message scalekit.v1.directories.Stats
|
|
1643
|
-
*/
|
|
1644
|
-
export class Stats extends Message<Stats> {
|
|
1645
|
-
/**
|
|
1646
|
-
* @generated from field: int32 total_users = 1;
|
|
1647
|
-
*/
|
|
1648
|
-
totalUsers = 0;
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* @generated from field: int32 total_groups = 2;
|
|
1652
|
-
*/
|
|
1653
|
-
totalGroups = 0;
|
|
1654
|
-
|
|
1655
|
-
/**
|
|
1656
|
-
* @generated from field: google.protobuf.Timestamp group_updated_at = 3;
|
|
1657
|
-
*/
|
|
1658
|
-
groupUpdatedAt?: Timestamp;
|
|
1659
|
-
|
|
1660
|
-
/**
|
|
1661
|
-
* @generated from field: google.protobuf.Timestamp user_updated_at = 4;
|
|
1662
|
-
*/
|
|
1663
|
-
userUpdatedAt?: Timestamp;
|
|
1664
|
-
|
|
1665
|
-
constructor(data?: PartialMessage<Stats>) {
|
|
1666
|
-
super();
|
|
1667
|
-
proto3.util.initPartial(data, this);
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1671
|
-
static readonly typeName = "scalekit.v1.directories.Stats";
|
|
1672
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1673
|
-
{ no: 1, name: "total_users", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1674
|
-
{ no: 2, name: "total_groups", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1675
|
-
{ no: 3, name: "group_updated_at", kind: "message", T: Timestamp },
|
|
1676
|
-
{ no: 4, name: "user_updated_at", kind: "message", T: Timestamp },
|
|
1677
|
-
]);
|
|
1678
|
-
|
|
1679
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Stats {
|
|
1680
|
-
return new Stats().fromBinary(bytes, options);
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Stats {
|
|
1684
|
-
return new Stats().fromJson(jsonValue, options);
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Stats {
|
|
1688
|
-
return new Stats().fromJsonString(jsonString, options);
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
static equals(a: Stats | PlainMessage<Stats> | undefined, b: Stats | PlainMessage<Stats> | undefined): boolean {
|
|
1692
|
-
return proto3.util.equals(Stats, a, b);
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
/**
|
|
1697
|
-
* @generated from message scalekit.v1.directories.AssignRolesRequest
|
|
1698
|
-
*/
|
|
1699
|
-
export class AssignRolesRequest extends Message<AssignRolesRequest> {
|
|
1700
|
-
/**
|
|
1701
|
-
* @generated from field: string organization_id = 1;
|
|
1702
|
-
*/
|
|
1703
|
-
organizationId = "";
|
|
1704
|
-
|
|
1705
|
-
/**
|
|
1706
|
-
* @generated from field: string id = 2;
|
|
1707
|
-
*/
|
|
1708
|
-
id = "";
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* @generated from field: scalekit.v1.directories.RoleAssignments role_assignments = 3;
|
|
1712
|
-
*/
|
|
1713
|
-
roleAssignments?: RoleAssignments;
|
|
1714
|
-
|
|
1715
|
-
constructor(data?: PartialMessage<AssignRolesRequest>) {
|
|
1716
|
-
super();
|
|
1717
|
-
proto3.util.initPartial(data, this);
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1721
|
-
static readonly typeName = "scalekit.v1.directories.AssignRolesRequest";
|
|
1722
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1723
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1724
|
-
{ no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1725
|
-
{ no: 3, name: "role_assignments", kind: "message", T: RoleAssignments },
|
|
1726
|
-
]);
|
|
1727
|
-
|
|
1728
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignRolesRequest {
|
|
1729
|
-
return new AssignRolesRequest().fromBinary(bytes, options);
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignRolesRequest {
|
|
1733
|
-
return new AssignRolesRequest().fromJson(jsonValue, options);
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignRolesRequest {
|
|
1737
|
-
return new AssignRolesRequest().fromJsonString(jsonString, options);
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
static equals(a: AssignRolesRequest | PlainMessage<AssignRolesRequest> | undefined, b: AssignRolesRequest | PlainMessage<AssignRolesRequest> | undefined): boolean {
|
|
1741
|
-
return proto3.util.equals(AssignRolesRequest, a, b);
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
/**
|
|
1746
|
-
* @generated from message scalekit.v1.directories.RoleAssignments
|
|
1747
|
-
*/
|
|
1748
|
-
export class RoleAssignments extends Message<RoleAssignments> {
|
|
1749
|
-
/**
|
|
1750
|
-
* @generated from field: repeated scalekit.v1.directories.RoleAssignment assignments = 1;
|
|
1751
|
-
*/
|
|
1752
|
-
assignments: RoleAssignment[] = [];
|
|
1753
|
-
|
|
1754
|
-
constructor(data?: PartialMessage<RoleAssignments>) {
|
|
1755
|
-
super();
|
|
1756
|
-
proto3.util.initPartial(data, this);
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1760
|
-
static readonly typeName = "scalekit.v1.directories.RoleAssignments";
|
|
1761
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1762
|
-
{ no: 1, name: "assignments", kind: "message", T: RoleAssignment, repeated: true },
|
|
1763
|
-
]);
|
|
1764
|
-
|
|
1765
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoleAssignments {
|
|
1766
|
-
return new RoleAssignments().fromBinary(bytes, options);
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoleAssignments {
|
|
1770
|
-
return new RoleAssignments().fromJson(jsonValue, options);
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoleAssignments {
|
|
1774
|
-
return new RoleAssignments().fromJsonString(jsonString, options);
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
static equals(a: RoleAssignments | PlainMessage<RoleAssignments> | undefined, b: RoleAssignments | PlainMessage<RoleAssignments> | undefined): boolean {
|
|
1778
|
-
return proto3.util.equals(RoleAssignments, a, b);
|
|
1779
|
-
}
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
|
-
/**
|
|
1783
|
-
* @generated from message scalekit.v1.directories.AssignRolesResponse
|
|
1784
|
-
*/
|
|
1785
|
-
export class AssignRolesResponse extends Message<AssignRolesResponse> {
|
|
1786
|
-
/**
|
|
1787
|
-
* @generated from field: scalekit.v1.directories.RoleAssignments role_assignments = 1;
|
|
1788
|
-
*/
|
|
1789
|
-
roleAssignments?: RoleAssignments;
|
|
1790
|
-
|
|
1791
|
-
constructor(data?: PartialMessage<AssignRolesResponse>) {
|
|
1792
|
-
super();
|
|
1793
|
-
proto3.util.initPartial(data, this);
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1797
|
-
static readonly typeName = "scalekit.v1.directories.AssignRolesResponse";
|
|
1798
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1799
|
-
{ no: 1, name: "role_assignments", kind: "message", T: RoleAssignments },
|
|
1800
|
-
]);
|
|
1801
|
-
|
|
1802
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignRolesResponse {
|
|
1803
|
-
return new AssignRolesResponse().fromBinary(bytes, options);
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignRolesResponse {
|
|
1807
|
-
return new AssignRolesResponse().fromJson(jsonValue, options);
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignRolesResponse {
|
|
1811
|
-
return new AssignRolesResponse().fromJsonString(jsonString, options);
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
static equals(a: AssignRolesResponse | PlainMessage<AssignRolesResponse> | undefined, b: AssignRolesResponse | PlainMessage<AssignRolesResponse> | undefined): boolean {
|
|
1815
|
-
return proto3.util.equals(AssignRolesResponse, a, b);
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
/**
|
|
1820
|
-
* @generated from message scalekit.v1.directories.RoleAssignment
|
|
1821
|
-
*/
|
|
1822
|
-
export class RoleAssignment extends Message<RoleAssignment> {
|
|
1823
|
-
/**
|
|
1824
|
-
* @generated from field: string group_id = 1;
|
|
1825
|
-
*/
|
|
1826
|
-
groupId = "";
|
|
1827
|
-
|
|
1828
|
-
/**
|
|
1829
|
-
* @generated from field: string role_name = 2;
|
|
1830
|
-
*/
|
|
1831
|
-
roleName = "";
|
|
1832
|
-
|
|
1833
|
-
/**
|
|
1834
|
-
* @generated from field: string role_id = 3;
|
|
1835
|
-
*/
|
|
1836
|
-
roleId = "";
|
|
1837
|
-
|
|
1838
|
-
constructor(data?: PartialMessage<RoleAssignment>) {
|
|
1839
|
-
super();
|
|
1840
|
-
proto3.util.initPartial(data, this);
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1844
|
-
static readonly typeName = "scalekit.v1.directories.RoleAssignment";
|
|
1845
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1846
|
-
{ no: 1, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1847
|
-
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1848
|
-
{ no: 3, name: "role_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1849
|
-
]);
|
|
1850
|
-
|
|
1851
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoleAssignment {
|
|
1852
|
-
return new RoleAssignment().fromBinary(bytes, options);
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoleAssignment {
|
|
1856
|
-
return new RoleAssignment().fromJson(jsonValue, options);
|
|
1857
|
-
}
|
|
1858
|
-
|
|
1859
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoleAssignment {
|
|
1860
|
-
return new RoleAssignment().fromJsonString(jsonString, options);
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
static equals(a: RoleAssignment | PlainMessage<RoleAssignment> | undefined, b: RoleAssignment | PlainMessage<RoleAssignment> | undefined): boolean {
|
|
1864
|
-
return proto3.util.equals(RoleAssignment, a, b);
|
|
1865
|
-
}
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
/**
|
|
1869
|
-
* @generated from message scalekit.v1.directories.UpdateAttributesRequest
|
|
1870
|
-
*/
|
|
1871
|
-
export class UpdateAttributesRequest extends Message<UpdateAttributesRequest> {
|
|
1872
|
-
/**
|
|
1873
|
-
* @generated from field: string organization_id = 1;
|
|
1874
|
-
*/
|
|
1875
|
-
organizationId = "";
|
|
1876
|
-
|
|
1877
|
-
/**
|
|
1878
|
-
* @generated from field: string id = 2;
|
|
1879
|
-
*/
|
|
1880
|
-
id = "";
|
|
1881
|
-
|
|
1882
|
-
/**
|
|
1883
|
-
* @generated from field: scalekit.v1.directories.AttributeMappings attribute_mapping = 3;
|
|
1884
|
-
*/
|
|
1885
|
-
attributeMapping?: AttributeMappings;
|
|
1886
|
-
|
|
1887
|
-
constructor(data?: PartialMessage<UpdateAttributesRequest>) {
|
|
1888
|
-
super();
|
|
1889
|
-
proto3.util.initPartial(data, this);
|
|
1890
|
-
}
|
|
1891
|
-
|
|
1892
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1893
|
-
static readonly typeName = "scalekit.v1.directories.UpdateAttributesRequest";
|
|
1894
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1895
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1896
|
-
{ no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1897
|
-
{ no: 3, name: "attribute_mapping", kind: "message", T: AttributeMappings },
|
|
1898
|
-
]);
|
|
1899
|
-
|
|
1900
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAttributesRequest {
|
|
1901
|
-
return new UpdateAttributesRequest().fromBinary(bytes, options);
|
|
1902
|
-
}
|
|
1903
|
-
|
|
1904
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAttributesRequest {
|
|
1905
|
-
return new UpdateAttributesRequest().fromJson(jsonValue, options);
|
|
1906
|
-
}
|
|
1907
|
-
|
|
1908
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAttributesRequest {
|
|
1909
|
-
return new UpdateAttributesRequest().fromJsonString(jsonString, options);
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
static equals(a: UpdateAttributesRequest | PlainMessage<UpdateAttributesRequest> | undefined, b: UpdateAttributesRequest | PlainMessage<UpdateAttributesRequest> | undefined): boolean {
|
|
1913
|
-
return proto3.util.equals(UpdateAttributesRequest, a, b);
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
/**
|
|
1918
|
-
* @generated from message scalekit.v1.directories.AttributeMappings
|
|
1919
|
-
*/
|
|
1920
|
-
export class AttributeMappings extends Message<AttributeMappings> {
|
|
1921
|
-
/**
|
|
1922
|
-
* @generated from field: repeated scalekit.v1.directories.AttributeMapping attributes = 1;
|
|
1923
|
-
*/
|
|
1924
|
-
attributes: AttributeMapping[] = [];
|
|
1925
|
-
|
|
1926
|
-
constructor(data?: PartialMessage<AttributeMappings>) {
|
|
1927
|
-
super();
|
|
1928
|
-
proto3.util.initPartial(data, this);
|
|
1929
|
-
}
|
|
1930
|
-
|
|
1931
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1932
|
-
static readonly typeName = "scalekit.v1.directories.AttributeMappings";
|
|
1933
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1934
|
-
{ no: 1, name: "attributes", kind: "message", T: AttributeMapping, repeated: true },
|
|
1935
|
-
]);
|
|
1936
|
-
|
|
1937
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeMappings {
|
|
1938
|
-
return new AttributeMappings().fromBinary(bytes, options);
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeMappings {
|
|
1942
|
-
return new AttributeMappings().fromJson(jsonValue, options);
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeMappings {
|
|
1946
|
-
return new AttributeMappings().fromJsonString(jsonString, options);
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
static equals(a: AttributeMappings | PlainMessage<AttributeMappings> | undefined, b: AttributeMappings | PlainMessage<AttributeMappings> | undefined): boolean {
|
|
1950
|
-
return proto3.util.equals(AttributeMappings, a, b);
|
|
1951
|
-
}
|
|
1952
|
-
}
|
|
1953
|
-
|
|
1954
|
-
/**
|
|
1955
|
-
* @generated from message scalekit.v1.directories.AttributeMapping
|
|
1956
|
-
*/
|
|
1957
|
-
export class AttributeMapping extends Message<AttributeMapping> {
|
|
1958
|
-
/**
|
|
1959
|
-
* @generated from field: string key = 1;
|
|
1960
|
-
*/
|
|
1961
|
-
key = "";
|
|
1962
|
-
|
|
1963
|
-
/**
|
|
1964
|
-
* @generated from field: string map_to = 2;
|
|
1965
|
-
*/
|
|
1966
|
-
mapTo = "";
|
|
1967
|
-
|
|
1968
|
-
constructor(data?: PartialMessage<AttributeMapping>) {
|
|
1969
|
-
super();
|
|
1970
|
-
proto3.util.initPartial(data, this);
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1974
|
-
static readonly typeName = "scalekit.v1.directories.AttributeMapping";
|
|
1975
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1976
|
-
{ no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1977
|
-
{ no: 2, name: "map_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1978
|
-
]);
|
|
1979
|
-
|
|
1980
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributeMapping {
|
|
1981
|
-
return new AttributeMapping().fromBinary(bytes, options);
|
|
1982
|
-
}
|
|
1983
|
-
|
|
1984
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributeMapping {
|
|
1985
|
-
return new AttributeMapping().fromJson(jsonValue, options);
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributeMapping {
|
|
1989
|
-
return new AttributeMapping().fromJsonString(jsonString, options);
|
|
1990
|
-
}
|
|
1991
|
-
|
|
1992
|
-
static equals(a: AttributeMapping | PlainMessage<AttributeMapping> | undefined, b: AttributeMapping | PlainMessage<AttributeMapping> | undefined): boolean {
|
|
1993
|
-
return proto3.util.equals(AttributeMapping, a, b);
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
/**
|
|
1998
|
-
* @generated from message scalekit.v1.directories.UpdateAttributesResponse
|
|
1999
|
-
*/
|
|
2000
|
-
export class UpdateAttributesResponse extends Message<UpdateAttributesResponse> {
|
|
2001
|
-
/**
|
|
2002
|
-
* @generated from field: scalekit.v1.directories.AttributeMappings attribute_mappings = 1;
|
|
2003
|
-
*/
|
|
2004
|
-
attributeMappings?: AttributeMappings;
|
|
2005
|
-
|
|
2006
|
-
constructor(data?: PartialMessage<UpdateAttributesResponse>) {
|
|
2007
|
-
super();
|
|
2008
|
-
proto3.util.initPartial(data, this);
|
|
2009
|
-
}
|
|
2010
|
-
|
|
2011
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2012
|
-
static readonly typeName = "scalekit.v1.directories.UpdateAttributesResponse";
|
|
2013
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2014
|
-
{ no: 1, name: "attribute_mappings", kind: "message", T: AttributeMappings },
|
|
2015
|
-
]);
|
|
2016
|
-
|
|
2017
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAttributesResponse {
|
|
2018
|
-
return new UpdateAttributesResponse().fromBinary(bytes, options);
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAttributesResponse {
|
|
2022
|
-
return new UpdateAttributesResponse().fromJson(jsonValue, options);
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAttributesResponse {
|
|
2026
|
-
return new UpdateAttributesResponse().fromJsonString(jsonString, options);
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
static equals(a: UpdateAttributesResponse | PlainMessage<UpdateAttributesResponse> | undefined, b: UpdateAttributesResponse | PlainMessage<UpdateAttributesResponse> | undefined): boolean {
|
|
2030
|
-
return proto3.util.equals(UpdateAttributesResponse, a, b);
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
/**
|
|
2035
|
-
* @generated from message scalekit.v1.directories.DeleteDirectoryRequest
|
|
2036
|
-
*/
|
|
2037
|
-
export class DeleteDirectoryRequest extends Message<DeleteDirectoryRequest> {
|
|
2038
|
-
/**
|
|
2039
|
-
* @generated from field: string organization_id = 1;
|
|
2040
|
-
*/
|
|
2041
|
-
organizationId = "";
|
|
2042
|
-
|
|
2043
|
-
/**
|
|
2044
|
-
* @generated from field: string id = 3;
|
|
2045
|
-
*/
|
|
2046
|
-
id = "";
|
|
2047
|
-
|
|
2048
|
-
constructor(data?: PartialMessage<DeleteDirectoryRequest>) {
|
|
2049
|
-
super();
|
|
2050
|
-
proto3.util.initPartial(data, this);
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2054
|
-
static readonly typeName = "scalekit.v1.directories.DeleteDirectoryRequest";
|
|
2055
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2056
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2057
|
-
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2058
|
-
]);
|
|
2059
|
-
|
|
2060
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteDirectoryRequest {
|
|
2061
|
-
return new DeleteDirectoryRequest().fromBinary(bytes, options);
|
|
2062
|
-
}
|
|
2063
|
-
|
|
2064
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteDirectoryRequest {
|
|
2065
|
-
return new DeleteDirectoryRequest().fromJson(jsonValue, options);
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteDirectoryRequest {
|
|
2069
|
-
return new DeleteDirectoryRequest().fromJsonString(jsonString, options);
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
|
-
static equals(a: DeleteDirectoryRequest | PlainMessage<DeleteDirectoryRequest> | undefined, b: DeleteDirectoryRequest | PlainMessage<DeleteDirectoryRequest> | undefined): boolean {
|
|
2073
|
-
return proto3.util.equals(DeleteDirectoryRequest, a, b);
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
/**
|
|
2078
|
-
* @generated from message scalekit.v1.directories.TriggerDirectorySyncRequest
|
|
2079
|
-
*/
|
|
2080
|
-
export class TriggerDirectorySyncRequest extends Message<TriggerDirectorySyncRequest> {
|
|
2081
|
-
/**
|
|
2082
|
-
* @generated from field: string directory_id = 1;
|
|
2083
|
-
*/
|
|
2084
|
-
directoryId = "";
|
|
2085
|
-
|
|
2086
|
-
/**
|
|
2087
|
-
* @generated from field: string organization_id = 2;
|
|
2088
|
-
*/
|
|
2089
|
-
organizationId = "";
|
|
2090
|
-
|
|
2091
|
-
constructor(data?: PartialMessage<TriggerDirectorySyncRequest>) {
|
|
2092
|
-
super();
|
|
2093
|
-
proto3.util.initPartial(data, this);
|
|
2094
|
-
}
|
|
2095
|
-
|
|
2096
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2097
|
-
static readonly typeName = "scalekit.v1.directories.TriggerDirectorySyncRequest";
|
|
2098
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2099
|
-
{ no: 1, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2100
|
-
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2101
|
-
]);
|
|
2102
|
-
|
|
2103
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TriggerDirectorySyncRequest {
|
|
2104
|
-
return new TriggerDirectorySyncRequest().fromBinary(bytes, options);
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TriggerDirectorySyncRequest {
|
|
2108
|
-
return new TriggerDirectorySyncRequest().fromJson(jsonValue, options);
|
|
2109
|
-
}
|
|
2110
|
-
|
|
2111
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TriggerDirectorySyncRequest {
|
|
2112
|
-
return new TriggerDirectorySyncRequest().fromJsonString(jsonString, options);
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
|
-
static equals(a: TriggerDirectorySyncRequest | PlainMessage<TriggerDirectorySyncRequest> | undefined, b: TriggerDirectorySyncRequest | PlainMessage<TriggerDirectorySyncRequest> | undefined): boolean {
|
|
2116
|
-
return proto3.util.equals(TriggerDirectorySyncRequest, a, b);
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
|