@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,1766 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file scalekit/v1/organizations/organizations.proto (package scalekit.v1.organizations, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
-
import { BoolValue, FieldMask, Int32Value, Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
-
import { RegionCode } from "../commons/commons_pb.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Feature represents the available features that can be enabled for an organization's portal link
|
|
12
|
-
*
|
|
13
|
-
* @generated from enum scalekit.v1.organizations.Feature
|
|
14
|
-
*/
|
|
15
|
-
export enum Feature {
|
|
16
|
-
/**
|
|
17
|
-
* An unspecified or invalid feature value
|
|
18
|
-
*
|
|
19
|
-
* @generated from enum value: FEATURE_UNSPECIFIED = 0;
|
|
20
|
-
*/
|
|
21
|
-
FEATURE_UNSPECIFIED = 0,
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @generated from enum value: UNSPECIFIED = 0 [deprecated = true];
|
|
25
|
-
* @deprecated
|
|
26
|
-
*/
|
|
27
|
-
UNSPECIFIED = 0,
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Enables directory synchronization configuration in the portal
|
|
31
|
-
*
|
|
32
|
-
* @generated from enum value: dir_sync = 1;
|
|
33
|
-
*/
|
|
34
|
-
dir_sync = 1,
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Enables Single Sign-On (SSO) configuration in the portal
|
|
38
|
-
*
|
|
39
|
-
* @generated from enum value: sso = 2;
|
|
40
|
-
*/
|
|
41
|
-
sso = 2,
|
|
42
|
-
}
|
|
43
|
-
// Retrieve enum metadata with: proto3.getEnumType(Feature)
|
|
44
|
-
proto3.util.setEnumType(Feature, "scalekit.v1.organizations.Feature", [
|
|
45
|
-
{ no: 0, name: "FEATURE_UNSPECIFIED" },
|
|
46
|
-
{ no: 0, name: "UNSPECIFIED" },
|
|
47
|
-
{ no: 1, name: "dir_sync" },
|
|
48
|
-
{ no: 2, name: "sso" },
|
|
49
|
-
]);
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @generated from message scalekit.v1.organizations.CreateOrganizationRequest
|
|
53
|
-
*/
|
|
54
|
-
export class CreateOrganizationRequest extends Message<CreateOrganizationRequest> {
|
|
55
|
-
/**
|
|
56
|
-
* Organization details
|
|
57
|
-
*
|
|
58
|
-
* @generated from field: scalekit.v1.organizations.CreateOrganization organization = 1;
|
|
59
|
-
*/
|
|
60
|
-
organization?: CreateOrganization;
|
|
61
|
-
|
|
62
|
-
constructor(data?: PartialMessage<CreateOrganizationRequest>) {
|
|
63
|
-
super();
|
|
64
|
-
proto3.util.initPartial(data, this);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
68
|
-
static readonly typeName = "scalekit.v1.organizations.CreateOrganizationRequest";
|
|
69
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
70
|
-
{ no: 1, name: "organization", kind: "message", T: CreateOrganization },
|
|
71
|
-
]);
|
|
72
|
-
|
|
73
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationRequest {
|
|
74
|
-
return new CreateOrganizationRequest().fromBinary(bytes, options);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationRequest {
|
|
78
|
-
return new CreateOrganizationRequest().fromJson(jsonValue, options);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationRequest {
|
|
82
|
-
return new CreateOrganizationRequest().fromJsonString(jsonString, options);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
static equals(a: CreateOrganizationRequest | PlainMessage<CreateOrganizationRequest> | undefined, b: CreateOrganizationRequest | PlainMessage<CreateOrganizationRequest> | undefined): boolean {
|
|
86
|
-
return proto3.util.equals(CreateOrganizationRequest, a, b);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @generated from message scalekit.v1.organizations.CreateOrganizationResponse
|
|
92
|
-
*/
|
|
93
|
-
export class CreateOrganizationResponse extends Message<CreateOrganizationResponse> {
|
|
94
|
-
/**
|
|
95
|
-
* @generated from field: scalekit.v1.organizations.Organization organization = 1;
|
|
96
|
-
*/
|
|
97
|
-
organization?: Organization;
|
|
98
|
-
|
|
99
|
-
constructor(data?: PartialMessage<CreateOrganizationResponse>) {
|
|
100
|
-
super();
|
|
101
|
-
proto3.util.initPartial(data, this);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
105
|
-
static readonly typeName = "scalekit.v1.organizations.CreateOrganizationResponse";
|
|
106
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
107
|
-
{ no: 1, name: "organization", kind: "message", T: Organization },
|
|
108
|
-
]);
|
|
109
|
-
|
|
110
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationResponse {
|
|
111
|
-
return new CreateOrganizationResponse().fromBinary(bytes, options);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationResponse {
|
|
115
|
-
return new CreateOrganizationResponse().fromJson(jsonValue, options);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationResponse {
|
|
119
|
-
return new CreateOrganizationResponse().fromJsonString(jsonString, options);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
static equals(a: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined, b: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined): boolean {
|
|
123
|
-
return proto3.util.equals(CreateOrganizationResponse, a, b);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @generated from message scalekit.v1.organizations.CreateOrganization
|
|
129
|
-
*/
|
|
130
|
-
export class CreateOrganization extends Message<CreateOrganization> {
|
|
131
|
-
/**
|
|
132
|
-
* @generated from field: string display_name = 4;
|
|
133
|
-
*/
|
|
134
|
-
displayName = "";
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* @generated from field: scalekit.v1.commons.RegionCode region_code = 5;
|
|
138
|
-
*/
|
|
139
|
-
regionCode = RegionCode.REGION_CODE_UNSPECIFIED;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @generated from field: optional string external_id = 6;
|
|
143
|
-
*/
|
|
144
|
-
externalId?: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @generated from field: map<string, string> metadata = 7;
|
|
148
|
-
*/
|
|
149
|
-
metadata: { [key: string]: string } = {};
|
|
150
|
-
|
|
151
|
-
constructor(data?: PartialMessage<CreateOrganization>) {
|
|
152
|
-
super();
|
|
153
|
-
proto3.util.initPartial(data, this);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
157
|
-
static readonly typeName = "scalekit.v1.organizations.CreateOrganization";
|
|
158
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
159
|
-
{ no: 4, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
160
|
-
{ no: 5, name: "region_code", kind: "enum", T: proto3.getEnumType(RegionCode) },
|
|
161
|
-
{ no: 6, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
162
|
-
{ no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
163
|
-
]);
|
|
164
|
-
|
|
165
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganization {
|
|
166
|
-
return new CreateOrganization().fromBinary(bytes, options);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganization {
|
|
170
|
-
return new CreateOrganization().fromJson(jsonValue, options);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganization {
|
|
174
|
-
return new CreateOrganization().fromJsonString(jsonString, options);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
static equals(a: CreateOrganization | PlainMessage<CreateOrganization> | undefined, b: CreateOrganization | PlainMessage<CreateOrganization> | undefined): boolean {
|
|
178
|
-
return proto3.util.equals(CreateOrganization, a, b);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @generated from message scalekit.v1.organizations.Organization
|
|
184
|
-
*/
|
|
185
|
-
export class Organization extends Message<Organization> {
|
|
186
|
-
/**
|
|
187
|
-
* Id
|
|
188
|
-
*
|
|
189
|
-
* @generated from field: string id = 1;
|
|
190
|
-
*/
|
|
191
|
-
id = "";
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Created Time
|
|
195
|
-
*
|
|
196
|
-
* @generated from field: google.protobuf.Timestamp create_time = 2;
|
|
197
|
-
*/
|
|
198
|
-
createTime?: Timestamp;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Updated time
|
|
202
|
-
*
|
|
203
|
-
* @generated from field: google.protobuf.Timestamp update_time = 3;
|
|
204
|
-
*/
|
|
205
|
-
updateTime?: Timestamp;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Name of the org to be used in display
|
|
209
|
-
*
|
|
210
|
-
* @generated from field: string display_name = 4;
|
|
211
|
-
*/
|
|
212
|
-
displayName = "";
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Optional regioncode
|
|
216
|
-
*
|
|
217
|
-
* @generated from field: scalekit.v1.commons.RegionCode region_code = 5;
|
|
218
|
-
*/
|
|
219
|
-
regionCode = RegionCode.REGION_CODE_UNSPECIFIED;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* External Id is useful to store a unique identifier for a given Org that. The unique Identifier can be the id of your tenant / org in your SaaSApp
|
|
223
|
-
*
|
|
224
|
-
* @generated from field: optional string external_id = 6;
|
|
225
|
-
*/
|
|
226
|
-
externalId?: string;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Key value pairs extension attributes.
|
|
230
|
-
*
|
|
231
|
-
* @generated from field: map<string, string> metadata = 7;
|
|
232
|
-
*/
|
|
233
|
-
metadata: { [key: string]: string } = {};
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Organization Settings
|
|
237
|
-
*
|
|
238
|
-
* @generated from field: scalekit.v1.organizations.OrganizationSettings settings = 8;
|
|
239
|
-
*/
|
|
240
|
-
settings?: OrganizationSettings;
|
|
241
|
-
|
|
242
|
-
constructor(data?: PartialMessage<Organization>) {
|
|
243
|
-
super();
|
|
244
|
-
proto3.util.initPartial(data, this);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
248
|
-
static readonly typeName = "scalekit.v1.organizations.Organization";
|
|
249
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
250
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
251
|
-
{ no: 2, name: "create_time", kind: "message", T: Timestamp },
|
|
252
|
-
{ no: 3, name: "update_time", kind: "message", T: Timestamp },
|
|
253
|
-
{ no: 4, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
254
|
-
{ no: 5, name: "region_code", kind: "enum", T: proto3.getEnumType(RegionCode) },
|
|
255
|
-
{ no: 6, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
256
|
-
{ no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
257
|
-
{ no: 8, name: "settings", kind: "message", T: OrganizationSettings },
|
|
258
|
-
]);
|
|
259
|
-
|
|
260
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Organization {
|
|
261
|
-
return new Organization().fromBinary(bytes, options);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Organization {
|
|
265
|
-
return new Organization().fromJson(jsonValue, options);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Organization {
|
|
269
|
-
return new Organization().fromJsonString(jsonString, options);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
static equals(a: Organization | PlainMessage<Organization> | undefined, b: Organization | PlainMessage<Organization> | undefined): boolean {
|
|
273
|
-
return proto3.util.equals(Organization, a, b);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* @generated from message scalekit.v1.organizations.UpdateOrganizationRequest
|
|
279
|
-
*/
|
|
280
|
-
export class UpdateOrganizationRequest extends Message<UpdateOrganizationRequest> {
|
|
281
|
-
/**
|
|
282
|
-
* @generated from oneof scalekit.v1.organizations.UpdateOrganizationRequest.identities
|
|
283
|
-
*/
|
|
284
|
-
identities: {
|
|
285
|
-
/**
|
|
286
|
-
* @generated from field: string id = 1;
|
|
287
|
-
*/
|
|
288
|
-
value: string;
|
|
289
|
-
case: "id";
|
|
290
|
-
} | {
|
|
291
|
-
/**
|
|
292
|
-
* @generated from field: string external_id = 2;
|
|
293
|
-
*/
|
|
294
|
-
value: string;
|
|
295
|
-
case: "externalId";
|
|
296
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* @generated from field: scalekit.v1.organizations.UpdateOrganization organization = 3;
|
|
300
|
-
*/
|
|
301
|
-
organization?: UpdateOrganization;
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* @generated from field: google.protobuf.FieldMask update_mask = 99;
|
|
305
|
-
*/
|
|
306
|
-
updateMask?: FieldMask;
|
|
307
|
-
|
|
308
|
-
constructor(data?: PartialMessage<UpdateOrganizationRequest>) {
|
|
309
|
-
super();
|
|
310
|
-
proto3.util.initPartial(data, this);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
314
|
-
static readonly typeName = "scalekit.v1.organizations.UpdateOrganizationRequest";
|
|
315
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
316
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identities" },
|
|
317
|
-
{ no: 2, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identities" },
|
|
318
|
-
{ no: 3, name: "organization", kind: "message", T: UpdateOrganization },
|
|
319
|
-
{ no: 99, name: "update_mask", kind: "message", T: FieldMask },
|
|
320
|
-
]);
|
|
321
|
-
|
|
322
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationRequest {
|
|
323
|
-
return new UpdateOrganizationRequest().fromBinary(bytes, options);
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationRequest {
|
|
327
|
-
return new UpdateOrganizationRequest().fromJson(jsonValue, options);
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationRequest {
|
|
331
|
-
return new UpdateOrganizationRequest().fromJsonString(jsonString, options);
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
static equals(a: UpdateOrganizationRequest | PlainMessage<UpdateOrganizationRequest> | undefined, b: UpdateOrganizationRequest | PlainMessage<UpdateOrganizationRequest> | undefined): boolean {
|
|
335
|
-
return proto3.util.equals(UpdateOrganizationRequest, a, b);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* For update messages ensure the indexes are same as the base model itself.
|
|
341
|
-
*
|
|
342
|
-
* @generated from message scalekit.v1.organizations.UpdateOrganization
|
|
343
|
-
*/
|
|
344
|
-
export class UpdateOrganization extends Message<UpdateOrganization> {
|
|
345
|
-
/**
|
|
346
|
-
* @generated from field: optional string display_name = 4;
|
|
347
|
-
*/
|
|
348
|
-
displayName?: string;
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* @generated from field: optional string external_id = 6;
|
|
352
|
-
*/
|
|
353
|
-
externalId?: string;
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* @generated from field: map<string, string> metadata = 7;
|
|
357
|
-
*/
|
|
358
|
-
metadata: { [key: string]: string } = {};
|
|
359
|
-
|
|
360
|
-
constructor(data?: PartialMessage<UpdateOrganization>) {
|
|
361
|
-
super();
|
|
362
|
-
proto3.util.initPartial(data, this);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
366
|
-
static readonly typeName = "scalekit.v1.organizations.UpdateOrganization";
|
|
367
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
368
|
-
{ no: 4, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
369
|
-
{ no: 6, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
370
|
-
{ no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
371
|
-
]);
|
|
372
|
-
|
|
373
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganization {
|
|
374
|
-
return new UpdateOrganization().fromBinary(bytes, options);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganization {
|
|
378
|
-
return new UpdateOrganization().fromJson(jsonValue, options);
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganization {
|
|
382
|
-
return new UpdateOrganization().fromJsonString(jsonString, options);
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
static equals(a: UpdateOrganization | PlainMessage<UpdateOrganization> | undefined, b: UpdateOrganization | PlainMessage<UpdateOrganization> | undefined): boolean {
|
|
386
|
-
return proto3.util.equals(UpdateOrganization, a, b);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* @generated from message scalekit.v1.organizations.UpdateOrganizationResponse
|
|
392
|
-
*/
|
|
393
|
-
export class UpdateOrganizationResponse extends Message<UpdateOrganizationResponse> {
|
|
394
|
-
/**
|
|
395
|
-
* @generated from field: scalekit.v1.organizations.Organization organization = 1;
|
|
396
|
-
*/
|
|
397
|
-
organization?: Organization;
|
|
398
|
-
|
|
399
|
-
constructor(data?: PartialMessage<UpdateOrganizationResponse>) {
|
|
400
|
-
super();
|
|
401
|
-
proto3.util.initPartial(data, this);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
405
|
-
static readonly typeName = "scalekit.v1.organizations.UpdateOrganizationResponse";
|
|
406
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
407
|
-
{ no: 1, name: "organization", kind: "message", T: Organization },
|
|
408
|
-
]);
|
|
409
|
-
|
|
410
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationResponse {
|
|
411
|
-
return new UpdateOrganizationResponse().fromBinary(bytes, options);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationResponse {
|
|
415
|
-
return new UpdateOrganizationResponse().fromJson(jsonValue, options);
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationResponse {
|
|
419
|
-
return new UpdateOrganizationResponse().fromJsonString(jsonString, options);
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
static equals(a: UpdateOrganizationResponse | PlainMessage<UpdateOrganizationResponse> | undefined, b: UpdateOrganizationResponse | PlainMessage<UpdateOrganizationResponse> | undefined): boolean {
|
|
423
|
-
return proto3.util.equals(UpdateOrganizationResponse, a, b);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* @generated from message scalekit.v1.organizations.GetOrganizationRequest
|
|
429
|
-
*/
|
|
430
|
-
export class GetOrganizationRequest extends Message<GetOrganizationRequest> {
|
|
431
|
-
/**
|
|
432
|
-
* @generated from oneof scalekit.v1.organizations.GetOrganizationRequest.identities
|
|
433
|
-
*/
|
|
434
|
-
identities: {
|
|
435
|
-
/**
|
|
436
|
-
* @generated from field: string id = 1;
|
|
437
|
-
*/
|
|
438
|
-
value: string;
|
|
439
|
-
case: "id";
|
|
440
|
-
} | {
|
|
441
|
-
/**
|
|
442
|
-
* @generated from field: string external_id = 2;
|
|
443
|
-
*/
|
|
444
|
-
value: string;
|
|
445
|
-
case: "externalId";
|
|
446
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
447
|
-
|
|
448
|
-
constructor(data?: PartialMessage<GetOrganizationRequest>) {
|
|
449
|
-
super();
|
|
450
|
-
proto3.util.initPartial(data, this);
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
454
|
-
static readonly typeName = "scalekit.v1.organizations.GetOrganizationRequest";
|
|
455
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
456
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identities" },
|
|
457
|
-
{ no: 2, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identities" },
|
|
458
|
-
]);
|
|
459
|
-
|
|
460
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRequest {
|
|
461
|
-
return new GetOrganizationRequest().fromBinary(bytes, options);
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRequest {
|
|
465
|
-
return new GetOrganizationRequest().fromJson(jsonValue, options);
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRequest {
|
|
469
|
-
return new GetOrganizationRequest().fromJsonString(jsonString, options);
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
static equals(a: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined, b: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined): boolean {
|
|
473
|
-
return proto3.util.equals(GetOrganizationRequest, a, b);
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* @generated from message scalekit.v1.organizations.GetOrganizationResponse
|
|
479
|
-
*/
|
|
480
|
-
export class GetOrganizationResponse extends Message<GetOrganizationResponse> {
|
|
481
|
-
/**
|
|
482
|
-
* @generated from field: scalekit.v1.organizations.Organization organization = 1;
|
|
483
|
-
*/
|
|
484
|
-
organization?: Organization;
|
|
485
|
-
|
|
486
|
-
constructor(data?: PartialMessage<GetOrganizationResponse>) {
|
|
487
|
-
super();
|
|
488
|
-
proto3.util.initPartial(data, this);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
492
|
-
static readonly typeName = "scalekit.v1.organizations.GetOrganizationResponse";
|
|
493
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
494
|
-
{ no: 1, name: "organization", kind: "message", T: Organization },
|
|
495
|
-
]);
|
|
496
|
-
|
|
497
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationResponse {
|
|
498
|
-
return new GetOrganizationResponse().fromBinary(bytes, options);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationResponse {
|
|
502
|
-
return new GetOrganizationResponse().fromJson(jsonValue, options);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationResponse {
|
|
506
|
-
return new GetOrganizationResponse().fromJsonString(jsonString, options);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
static equals(a: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined, b: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined): boolean {
|
|
510
|
-
return proto3.util.equals(GetOrganizationResponse, a, b);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* @generated from message scalekit.v1.organizations.ListOrganizationsRequest
|
|
516
|
-
*/
|
|
517
|
-
export class ListOrganizationsRequest extends Message<ListOrganizationsRequest> {
|
|
518
|
-
/**
|
|
519
|
-
* @generated from field: uint32 page_size = 1;
|
|
520
|
-
*/
|
|
521
|
-
pageSize = 0;
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* @generated from field: string page_token = 2;
|
|
525
|
-
*/
|
|
526
|
-
pageToken = "";
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* @generated from field: optional string external_id = 3;
|
|
530
|
-
*/
|
|
531
|
-
externalId?: string;
|
|
532
|
-
|
|
533
|
-
constructor(data?: PartialMessage<ListOrganizationsRequest>) {
|
|
534
|
-
super();
|
|
535
|
-
proto3.util.initPartial(data, this);
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
539
|
-
static readonly typeName = "scalekit.v1.organizations.ListOrganizationsRequest";
|
|
540
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
541
|
-
{ no: 1, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
542
|
-
{ no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
543
|
-
{ no: 3, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
544
|
-
]);
|
|
545
|
-
|
|
546
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationsRequest {
|
|
547
|
-
return new ListOrganizationsRequest().fromBinary(bytes, options);
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationsRequest {
|
|
551
|
-
return new ListOrganizationsRequest().fromJson(jsonValue, options);
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationsRequest {
|
|
555
|
-
return new ListOrganizationsRequest().fromJsonString(jsonString, options);
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
static equals(a: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined, b: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined): boolean {
|
|
559
|
-
return proto3.util.equals(ListOrganizationsRequest, a, b);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* @generated from message scalekit.v1.organizations.ListOrganizationsResponse
|
|
565
|
-
*/
|
|
566
|
-
export class ListOrganizationsResponse extends Message<ListOrganizationsResponse> {
|
|
567
|
-
/**
|
|
568
|
-
* @generated from field: string next_page_token = 1;
|
|
569
|
-
*/
|
|
570
|
-
nextPageToken = "";
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* @generated from field: uint32 total_size = 2;
|
|
574
|
-
*/
|
|
575
|
-
totalSize = 0;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* @generated from field: repeated scalekit.v1.organizations.Organization organizations = 3;
|
|
579
|
-
*/
|
|
580
|
-
organizations: Organization[] = [];
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* @generated from field: string prev_page_token = 4;
|
|
584
|
-
*/
|
|
585
|
-
prevPageToken = "";
|
|
586
|
-
|
|
587
|
-
constructor(data?: PartialMessage<ListOrganizationsResponse>) {
|
|
588
|
-
super();
|
|
589
|
-
proto3.util.initPartial(data, this);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
593
|
-
static readonly typeName = "scalekit.v1.organizations.ListOrganizationsResponse";
|
|
594
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
595
|
-
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
596
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
597
|
-
{ no: 3, name: "organizations", kind: "message", T: Organization, repeated: true },
|
|
598
|
-
{ no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
599
|
-
]);
|
|
600
|
-
|
|
601
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationsResponse {
|
|
602
|
-
return new ListOrganizationsResponse().fromBinary(bytes, options);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationsResponse {
|
|
606
|
-
return new ListOrganizationsResponse().fromJson(jsonValue, options);
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationsResponse {
|
|
610
|
-
return new ListOrganizationsResponse().fromJsonString(jsonString, options);
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
static equals(a: ListOrganizationsResponse | PlainMessage<ListOrganizationsResponse> | undefined, b: ListOrganizationsResponse | PlainMessage<ListOrganizationsResponse> | undefined): boolean {
|
|
614
|
-
return proto3.util.equals(ListOrganizationsResponse, a, b);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* @generated from message scalekit.v1.organizations.SearchOrganizationsRequest
|
|
620
|
-
*/
|
|
621
|
-
export class SearchOrganizationsRequest extends Message<SearchOrganizationsRequest> {
|
|
622
|
-
/**
|
|
623
|
-
* @generated from field: string query = 1;
|
|
624
|
-
*/
|
|
625
|
-
query = "";
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* @generated from field: uint32 page_size = 2;
|
|
629
|
-
*/
|
|
630
|
-
pageSize = 0;
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* @generated from field: string page_token = 3;
|
|
634
|
-
*/
|
|
635
|
-
pageToken = "";
|
|
636
|
-
|
|
637
|
-
constructor(data?: PartialMessage<SearchOrganizationsRequest>) {
|
|
638
|
-
super();
|
|
639
|
-
proto3.util.initPartial(data, this);
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
643
|
-
static readonly typeName = "scalekit.v1.organizations.SearchOrganizationsRequest";
|
|
644
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
645
|
-
{ no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
646
|
-
{ no: 2, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
647
|
-
{ no: 3, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
648
|
-
]);
|
|
649
|
-
|
|
650
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationsRequest {
|
|
651
|
-
return new SearchOrganizationsRequest().fromBinary(bytes, options);
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationsRequest {
|
|
655
|
-
return new SearchOrganizationsRequest().fromJson(jsonValue, options);
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationsRequest {
|
|
659
|
-
return new SearchOrganizationsRequest().fromJsonString(jsonString, options);
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
static equals(a: SearchOrganizationsRequest | PlainMessage<SearchOrganizationsRequest> | undefined, b: SearchOrganizationsRequest | PlainMessage<SearchOrganizationsRequest> | undefined): boolean {
|
|
663
|
-
return proto3.util.equals(SearchOrganizationsRequest, a, b);
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* @generated from message scalekit.v1.organizations.SearchOrganizationsResponse
|
|
669
|
-
*/
|
|
670
|
-
export class SearchOrganizationsResponse extends Message<SearchOrganizationsResponse> {
|
|
671
|
-
/**
|
|
672
|
-
* @generated from field: string next_page_token = 1;
|
|
673
|
-
*/
|
|
674
|
-
nextPageToken = "";
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* @generated from field: uint32 total_size = 2;
|
|
678
|
-
*/
|
|
679
|
-
totalSize = 0;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* @generated from field: repeated scalekit.v1.organizations.Organization organizations = 3;
|
|
683
|
-
*/
|
|
684
|
-
organizations: Organization[] = [];
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* @generated from field: string prev_page_token = 4;
|
|
688
|
-
*/
|
|
689
|
-
prevPageToken = "";
|
|
690
|
-
|
|
691
|
-
constructor(data?: PartialMessage<SearchOrganizationsResponse>) {
|
|
692
|
-
super();
|
|
693
|
-
proto3.util.initPartial(data, this);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
697
|
-
static readonly typeName = "scalekit.v1.organizations.SearchOrganizationsResponse";
|
|
698
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
699
|
-
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
700
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
701
|
-
{ no: 3, name: "organizations", kind: "message", T: Organization, repeated: true },
|
|
702
|
-
{ no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
703
|
-
]);
|
|
704
|
-
|
|
705
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationsResponse {
|
|
706
|
-
return new SearchOrganizationsResponse().fromBinary(bytes, options);
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationsResponse {
|
|
710
|
-
return new SearchOrganizationsResponse().fromJson(jsonValue, options);
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationsResponse {
|
|
714
|
-
return new SearchOrganizationsResponse().fromJsonString(jsonString, options);
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
static equals(a: SearchOrganizationsResponse | PlainMessage<SearchOrganizationsResponse> | undefined, b: SearchOrganizationsResponse | PlainMessage<SearchOrganizationsResponse> | undefined): boolean {
|
|
718
|
-
return proto3.util.equals(SearchOrganizationsResponse, a, b);
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* @generated from message scalekit.v1.organizations.DeleteOrganizationRequest
|
|
724
|
-
*/
|
|
725
|
-
export class DeleteOrganizationRequest extends Message<DeleteOrganizationRequest> {
|
|
726
|
-
/**
|
|
727
|
-
* @generated from oneof scalekit.v1.organizations.DeleteOrganizationRequest.identities
|
|
728
|
-
*/
|
|
729
|
-
identities: {
|
|
730
|
-
/**
|
|
731
|
-
* @generated from field: string id = 1;
|
|
732
|
-
*/
|
|
733
|
-
value: string;
|
|
734
|
-
case: "id";
|
|
735
|
-
} | {
|
|
736
|
-
/**
|
|
737
|
-
* @generated from field: string external_id = 2;
|
|
738
|
-
*/
|
|
739
|
-
value: string;
|
|
740
|
-
case: "externalId";
|
|
741
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
742
|
-
|
|
743
|
-
constructor(data?: PartialMessage<DeleteOrganizationRequest>) {
|
|
744
|
-
super();
|
|
745
|
-
proto3.util.initPartial(data, this);
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
749
|
-
static readonly typeName = "scalekit.v1.organizations.DeleteOrganizationRequest";
|
|
750
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
751
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identities" },
|
|
752
|
-
{ no: 2, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identities" },
|
|
753
|
-
]);
|
|
754
|
-
|
|
755
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationRequest {
|
|
756
|
-
return new DeleteOrganizationRequest().fromBinary(bytes, options);
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest {
|
|
760
|
-
return new DeleteOrganizationRequest().fromJson(jsonValue, options);
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest {
|
|
764
|
-
return new DeleteOrganizationRequest().fromJsonString(jsonString, options);
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
static equals(a: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined, b: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined): boolean {
|
|
768
|
-
return proto3.util.equals(DeleteOrganizationRequest, a, b);
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* @generated from message scalekit.v1.organizations.GeneratePortalLinkRequest
|
|
774
|
-
*/
|
|
775
|
-
export class GeneratePortalLinkRequest extends Message<GeneratePortalLinkRequest> {
|
|
776
|
-
/**
|
|
777
|
-
* @generated from field: string id = 1;
|
|
778
|
-
*/
|
|
779
|
-
id = "";
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* Deprecated: Use features
|
|
783
|
-
*
|
|
784
|
-
* @generated from field: optional bool sso = 2 [deprecated = true];
|
|
785
|
-
* @deprecated
|
|
786
|
-
*/
|
|
787
|
-
sso?: boolean;
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
* Deprecated: Use features
|
|
791
|
-
*
|
|
792
|
-
* @generated from field: optional bool directory_sync = 3 [deprecated = true];
|
|
793
|
-
* @deprecated
|
|
794
|
-
*/
|
|
795
|
-
directorySync?: boolean;
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
* @generated from field: repeated scalekit.v1.organizations.Feature features = 4;
|
|
799
|
-
*/
|
|
800
|
-
features: Feature[] = [];
|
|
801
|
-
|
|
802
|
-
constructor(data?: PartialMessage<GeneratePortalLinkRequest>) {
|
|
803
|
-
super();
|
|
804
|
-
proto3.util.initPartial(data, this);
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
808
|
-
static readonly typeName = "scalekit.v1.organizations.GeneratePortalLinkRequest";
|
|
809
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
810
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
811
|
-
{ no: 2, name: "sso", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
812
|
-
{ no: 3, name: "directory_sync", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
813
|
-
{ no: 4, name: "features", kind: "enum", T: proto3.getEnumType(Feature), repeated: true },
|
|
814
|
-
]);
|
|
815
|
-
|
|
816
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratePortalLinkRequest {
|
|
817
|
-
return new GeneratePortalLinkRequest().fromBinary(bytes, options);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratePortalLinkRequest {
|
|
821
|
-
return new GeneratePortalLinkRequest().fromJson(jsonValue, options);
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratePortalLinkRequest {
|
|
825
|
-
return new GeneratePortalLinkRequest().fromJsonString(jsonString, options);
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
static equals(a: GeneratePortalLinkRequest | PlainMessage<GeneratePortalLinkRequest> | undefined, b: GeneratePortalLinkRequest | PlainMessage<GeneratePortalLinkRequest> | undefined): boolean {
|
|
829
|
-
return proto3.util.equals(GeneratePortalLinkRequest, a, b);
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* @generated from message scalekit.v1.organizations.GetPortalLinkRequest
|
|
835
|
-
*/
|
|
836
|
-
export class GetPortalLinkRequest extends Message<GetPortalLinkRequest> {
|
|
837
|
-
/**
|
|
838
|
-
* @generated from field: string id = 1;
|
|
839
|
-
*/
|
|
840
|
-
id = "";
|
|
841
|
-
|
|
842
|
-
constructor(data?: PartialMessage<GetPortalLinkRequest>) {
|
|
843
|
-
super();
|
|
844
|
-
proto3.util.initPartial(data, this);
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
848
|
-
static readonly typeName = "scalekit.v1.organizations.GetPortalLinkRequest";
|
|
849
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
850
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
851
|
-
]);
|
|
852
|
-
|
|
853
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPortalLinkRequest {
|
|
854
|
-
return new GetPortalLinkRequest().fromBinary(bytes, options);
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPortalLinkRequest {
|
|
858
|
-
return new GetPortalLinkRequest().fromJson(jsonValue, options);
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortalLinkRequest {
|
|
862
|
-
return new GetPortalLinkRequest().fromJsonString(jsonString, options);
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
static equals(a: GetPortalLinkRequest | PlainMessage<GetPortalLinkRequest> | undefined, b: GetPortalLinkRequest | PlainMessage<GetPortalLinkRequest> | undefined): boolean {
|
|
866
|
-
return proto3.util.equals(GetPortalLinkRequest, a, b);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* @generated from message scalekit.v1.organizations.DeletePortalLinkRequest
|
|
872
|
-
*/
|
|
873
|
-
export class DeletePortalLinkRequest extends Message<DeletePortalLinkRequest> {
|
|
874
|
-
/**
|
|
875
|
-
* @generated from field: string id = 1;
|
|
876
|
-
*/
|
|
877
|
-
id = "";
|
|
878
|
-
|
|
879
|
-
constructor(data?: PartialMessage<DeletePortalLinkRequest>) {
|
|
880
|
-
super();
|
|
881
|
-
proto3.util.initPartial(data, this);
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
885
|
-
static readonly typeName = "scalekit.v1.organizations.DeletePortalLinkRequest";
|
|
886
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
887
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
888
|
-
]);
|
|
889
|
-
|
|
890
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePortalLinkRequest {
|
|
891
|
-
return new DeletePortalLinkRequest().fromBinary(bytes, options);
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePortalLinkRequest {
|
|
895
|
-
return new DeletePortalLinkRequest().fromJson(jsonValue, options);
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePortalLinkRequest {
|
|
899
|
-
return new DeletePortalLinkRequest().fromJsonString(jsonString, options);
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
static equals(a: DeletePortalLinkRequest | PlainMessage<DeletePortalLinkRequest> | undefined, b: DeletePortalLinkRequest | PlainMessage<DeletePortalLinkRequest> | undefined): boolean {
|
|
903
|
-
return proto3.util.equals(DeletePortalLinkRequest, a, b);
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* @generated from message scalekit.v1.organizations.DeletePortalLinkByIdRequest
|
|
909
|
-
*/
|
|
910
|
-
export class DeletePortalLinkByIdRequest extends Message<DeletePortalLinkByIdRequest> {
|
|
911
|
-
/**
|
|
912
|
-
* @generated from field: string id = 1;
|
|
913
|
-
*/
|
|
914
|
-
id = "";
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* @generated from field: string link_id = 2;
|
|
918
|
-
*/
|
|
919
|
-
linkId = "";
|
|
920
|
-
|
|
921
|
-
constructor(data?: PartialMessage<DeletePortalLinkByIdRequest>) {
|
|
922
|
-
super();
|
|
923
|
-
proto3.util.initPartial(data, this);
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
927
|
-
static readonly typeName = "scalekit.v1.organizations.DeletePortalLinkByIdRequest";
|
|
928
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
929
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
930
|
-
{ no: 2, name: "link_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
931
|
-
]);
|
|
932
|
-
|
|
933
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePortalLinkByIdRequest {
|
|
934
|
-
return new DeletePortalLinkByIdRequest().fromBinary(bytes, options);
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePortalLinkByIdRequest {
|
|
938
|
-
return new DeletePortalLinkByIdRequest().fromJson(jsonValue, options);
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePortalLinkByIdRequest {
|
|
942
|
-
return new DeletePortalLinkByIdRequest().fromJsonString(jsonString, options);
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
static equals(a: DeletePortalLinkByIdRequest | PlainMessage<DeletePortalLinkByIdRequest> | undefined, b: DeletePortalLinkByIdRequest | PlainMessage<DeletePortalLinkByIdRequest> | undefined): boolean {
|
|
946
|
-
return proto3.util.equals(DeletePortalLinkByIdRequest, a, b);
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
/**
|
|
951
|
-
* @generated from message scalekit.v1.organizations.Link
|
|
952
|
-
*/
|
|
953
|
-
export class Link extends Message<Link> {
|
|
954
|
-
/**
|
|
955
|
-
* @generated from field: string id = 1;
|
|
956
|
-
*/
|
|
957
|
-
id = "";
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
* @generated from field: string location = 2;
|
|
961
|
-
*/
|
|
962
|
-
location = "";
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* @generated from field: google.protobuf.Timestamp expire_time = 3;
|
|
966
|
-
*/
|
|
967
|
-
expireTime?: Timestamp;
|
|
968
|
-
|
|
969
|
-
constructor(data?: PartialMessage<Link>) {
|
|
970
|
-
super();
|
|
971
|
-
proto3.util.initPartial(data, this);
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
975
|
-
static readonly typeName = "scalekit.v1.organizations.Link";
|
|
976
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
977
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
978
|
-
{ no: 2, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
979
|
-
{ no: 3, name: "expire_time", kind: "message", T: Timestamp },
|
|
980
|
-
]);
|
|
981
|
-
|
|
982
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Link {
|
|
983
|
-
return new Link().fromBinary(bytes, options);
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Link {
|
|
987
|
-
return new Link().fromJson(jsonValue, options);
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Link {
|
|
991
|
-
return new Link().fromJsonString(jsonString, options);
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
static equals(a: Link | PlainMessage<Link> | undefined, b: Link | PlainMessage<Link> | undefined): boolean {
|
|
995
|
-
return proto3.util.equals(Link, a, b);
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* @generated from message scalekit.v1.organizations.GeneratePortalLinkResponse
|
|
1001
|
-
*/
|
|
1002
|
-
export class GeneratePortalLinkResponse extends Message<GeneratePortalLinkResponse> {
|
|
1003
|
-
/**
|
|
1004
|
-
* @generated from field: scalekit.v1.organizations.Link link = 1;
|
|
1005
|
-
*/
|
|
1006
|
-
link?: Link;
|
|
1007
|
-
|
|
1008
|
-
constructor(data?: PartialMessage<GeneratePortalLinkResponse>) {
|
|
1009
|
-
super();
|
|
1010
|
-
proto3.util.initPartial(data, this);
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1014
|
-
static readonly typeName = "scalekit.v1.organizations.GeneratePortalLinkResponse";
|
|
1015
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1016
|
-
{ no: 1, name: "link", kind: "message", T: Link },
|
|
1017
|
-
]);
|
|
1018
|
-
|
|
1019
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratePortalLinkResponse {
|
|
1020
|
-
return new GeneratePortalLinkResponse().fromBinary(bytes, options);
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratePortalLinkResponse {
|
|
1024
|
-
return new GeneratePortalLinkResponse().fromJson(jsonValue, options);
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratePortalLinkResponse {
|
|
1028
|
-
return new GeneratePortalLinkResponse().fromJsonString(jsonString, options);
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
static equals(a: GeneratePortalLinkResponse | PlainMessage<GeneratePortalLinkResponse> | undefined, b: GeneratePortalLinkResponse | PlainMessage<GeneratePortalLinkResponse> | undefined): boolean {
|
|
1032
|
-
return proto3.util.equals(GeneratePortalLinkResponse, a, b);
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* @generated from message scalekit.v1.organizations.GetPortalLinksResponse
|
|
1038
|
-
*/
|
|
1039
|
-
export class GetPortalLinksResponse extends Message<GetPortalLinksResponse> {
|
|
1040
|
-
/**
|
|
1041
|
-
* @generated from field: repeated scalekit.v1.organizations.Link links = 1;
|
|
1042
|
-
*/
|
|
1043
|
-
links: Link[] = [];
|
|
1044
|
-
|
|
1045
|
-
constructor(data?: PartialMessage<GetPortalLinksResponse>) {
|
|
1046
|
-
super();
|
|
1047
|
-
proto3.util.initPartial(data, this);
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1051
|
-
static readonly typeName = "scalekit.v1.organizations.GetPortalLinksResponse";
|
|
1052
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1053
|
-
{ no: 1, name: "links", kind: "message", T: Link, repeated: true },
|
|
1054
|
-
]);
|
|
1055
|
-
|
|
1056
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPortalLinksResponse {
|
|
1057
|
-
return new GetPortalLinksResponse().fromBinary(bytes, options);
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPortalLinksResponse {
|
|
1061
|
-
return new GetPortalLinksResponse().fromJson(jsonValue, options);
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortalLinksResponse {
|
|
1065
|
-
return new GetPortalLinksResponse().fromJsonString(jsonString, options);
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
static equals(a: GetPortalLinksResponse | PlainMessage<GetPortalLinksResponse> | undefined, b: GetPortalLinksResponse | PlainMessage<GetPortalLinksResponse> | undefined): boolean {
|
|
1069
|
-
return proto3.util.equals(GetPortalLinksResponse, a, b);
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* @generated from message scalekit.v1.organizations.UpdateOrganizationSettingsRequest
|
|
1075
|
-
*/
|
|
1076
|
-
export class UpdateOrganizationSettingsRequest extends Message<UpdateOrganizationSettingsRequest> {
|
|
1077
|
-
/**
|
|
1078
|
-
* @generated from field: string id = 1;
|
|
1079
|
-
*/
|
|
1080
|
-
id = "";
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* @generated from field: scalekit.v1.organizations.OrganizationSettings settings = 2;
|
|
1084
|
-
*/
|
|
1085
|
-
settings?: OrganizationSettings;
|
|
1086
|
-
|
|
1087
|
-
constructor(data?: PartialMessage<UpdateOrganizationSettingsRequest>) {
|
|
1088
|
-
super();
|
|
1089
|
-
proto3.util.initPartial(data, this);
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1093
|
-
static readonly typeName = "scalekit.v1.organizations.UpdateOrganizationSettingsRequest";
|
|
1094
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1095
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1096
|
-
{ no: 2, name: "settings", kind: "message", T: OrganizationSettings },
|
|
1097
|
-
]);
|
|
1098
|
-
|
|
1099
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationSettingsRequest {
|
|
1100
|
-
return new UpdateOrganizationSettingsRequest().fromBinary(bytes, options);
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationSettingsRequest {
|
|
1104
|
-
return new UpdateOrganizationSettingsRequest().fromJson(jsonValue, options);
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationSettingsRequest {
|
|
1108
|
-
return new UpdateOrganizationSettingsRequest().fromJsonString(jsonString, options);
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
static equals(a: UpdateOrganizationSettingsRequest | PlainMessage<UpdateOrganizationSettingsRequest> | undefined, b: UpdateOrganizationSettingsRequest | PlainMessage<UpdateOrganizationSettingsRequest> | undefined): boolean {
|
|
1112
|
-
return proto3.util.equals(UpdateOrganizationSettingsRequest, a, b);
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* @generated from message scalekit.v1.organizations.UpdateOrganizationSessionSettingsRequest
|
|
1118
|
-
*/
|
|
1119
|
-
export class UpdateOrganizationSessionSettingsRequest extends Message<UpdateOrganizationSessionSettingsRequest> {
|
|
1120
|
-
/**
|
|
1121
|
-
* @generated from field: string id = 1;
|
|
1122
|
-
*/
|
|
1123
|
-
id = "";
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* @generated from field: string environment_id = 2;
|
|
1127
|
-
*/
|
|
1128
|
-
environmentId = "";
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* @generated from field: scalekit.v1.organizations.OrganizationSessionSettings session_settings = 3;
|
|
1132
|
-
*/
|
|
1133
|
-
sessionSettings?: OrganizationSessionSettings;
|
|
1134
|
-
|
|
1135
|
-
constructor(data?: PartialMessage<UpdateOrganizationSessionSettingsRequest>) {
|
|
1136
|
-
super();
|
|
1137
|
-
proto3.util.initPartial(data, this);
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1141
|
-
static readonly typeName = "scalekit.v1.organizations.UpdateOrganizationSessionSettingsRequest";
|
|
1142
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1143
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1144
|
-
{ no: 2, name: "environment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1145
|
-
{ no: 3, name: "session_settings", kind: "message", T: OrganizationSessionSettings },
|
|
1146
|
-
]);
|
|
1147
|
-
|
|
1148
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationSessionSettingsRequest {
|
|
1149
|
-
return new UpdateOrganizationSessionSettingsRequest().fromBinary(bytes, options);
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationSessionSettingsRequest {
|
|
1153
|
-
return new UpdateOrganizationSessionSettingsRequest().fromJson(jsonValue, options);
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationSessionSettingsRequest {
|
|
1157
|
-
return new UpdateOrganizationSessionSettingsRequest().fromJsonString(jsonString, options);
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
static equals(a: UpdateOrganizationSessionSettingsRequest | PlainMessage<UpdateOrganizationSessionSettingsRequest> | undefined, b: UpdateOrganizationSessionSettingsRequest | PlainMessage<UpdateOrganizationSessionSettingsRequest> | undefined): boolean {
|
|
1161
|
-
return proto3.util.equals(UpdateOrganizationSessionSettingsRequest, a, b);
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* @generated from message scalekit.v1.organizations.UpdateOrganizationSessionSettingsResponse
|
|
1167
|
-
*/
|
|
1168
|
-
export class UpdateOrganizationSessionSettingsResponse extends Message<UpdateOrganizationSessionSettingsResponse> {
|
|
1169
|
-
/**
|
|
1170
|
-
* @generated from field: string environment_id = 1;
|
|
1171
|
-
*/
|
|
1172
|
-
environmentId = "";
|
|
1173
|
-
|
|
1174
|
-
/**
|
|
1175
|
-
* @generated from field: string organization_id = 2;
|
|
1176
|
-
*/
|
|
1177
|
-
organizationId = "";
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* @generated from field: scalekit.v1.organizations.OrganizationSessionSettings session_settings = 3;
|
|
1181
|
-
*/
|
|
1182
|
-
sessionSettings?: OrganizationSessionSettings;
|
|
1183
|
-
|
|
1184
|
-
constructor(data?: PartialMessage<UpdateOrganizationSessionSettingsResponse>) {
|
|
1185
|
-
super();
|
|
1186
|
-
proto3.util.initPartial(data, this);
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1190
|
-
static readonly typeName = "scalekit.v1.organizations.UpdateOrganizationSessionSettingsResponse";
|
|
1191
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1192
|
-
{ no: 1, name: "environment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1193
|
-
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1194
|
-
{ no: 3, name: "session_settings", kind: "message", T: OrganizationSessionSettings },
|
|
1195
|
-
]);
|
|
1196
|
-
|
|
1197
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationSessionSettingsResponse {
|
|
1198
|
-
return new UpdateOrganizationSessionSettingsResponse().fromBinary(bytes, options);
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationSessionSettingsResponse {
|
|
1202
|
-
return new UpdateOrganizationSessionSettingsResponse().fromJson(jsonValue, options);
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationSessionSettingsResponse {
|
|
1206
|
-
return new UpdateOrganizationSessionSettingsResponse().fromJsonString(jsonString, options);
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
static equals(a: UpdateOrganizationSessionSettingsResponse | PlainMessage<UpdateOrganizationSessionSettingsResponse> | undefined, b: UpdateOrganizationSessionSettingsResponse | PlainMessage<UpdateOrganizationSessionSettingsResponse> | undefined): boolean {
|
|
1210
|
-
return proto3.util.equals(UpdateOrganizationSessionSettingsResponse, a, b);
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
/**
|
|
1215
|
-
* @generated from message scalekit.v1.organizations.OrganizationUserManagementSettings
|
|
1216
|
-
*/
|
|
1217
|
-
export class OrganizationUserManagementSettings extends Message<OrganizationUserManagementSettings> {
|
|
1218
|
-
/**
|
|
1219
|
-
* @generated from field: google.protobuf.Int32Value max_allowed_users = 1;
|
|
1220
|
-
*/
|
|
1221
|
-
maxAllowedUsers?: number;
|
|
1222
|
-
|
|
1223
|
-
constructor(data?: PartialMessage<OrganizationUserManagementSettings>) {
|
|
1224
|
-
super();
|
|
1225
|
-
proto3.util.initPartial(data, this);
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1229
|
-
static readonly typeName = "scalekit.v1.organizations.OrganizationUserManagementSettings";
|
|
1230
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1231
|
-
{ no: 1, name: "max_allowed_users", kind: "message", T: Int32Value },
|
|
1232
|
-
]);
|
|
1233
|
-
|
|
1234
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrganizationUserManagementSettings {
|
|
1235
|
-
return new OrganizationUserManagementSettings().fromBinary(bytes, options);
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrganizationUserManagementSettings {
|
|
1239
|
-
return new OrganizationUserManagementSettings().fromJson(jsonValue, options);
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrganizationUserManagementSettings {
|
|
1243
|
-
return new OrganizationUserManagementSettings().fromJsonString(jsonString, options);
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
static equals(a: OrganizationUserManagementSettings | PlainMessage<OrganizationUserManagementSettings> | undefined, b: OrganizationUserManagementSettings | PlainMessage<OrganizationUserManagementSettings> | undefined): boolean {
|
|
1247
|
-
return proto3.util.equals(OrganizationUserManagementSettings, a, b);
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
/**
|
|
1252
|
-
* @generated from message scalekit.v1.organizations.OrganizationSessionSettings
|
|
1253
|
-
*/
|
|
1254
|
-
export class OrganizationSessionSettings extends Message<OrganizationSessionSettings> {
|
|
1255
|
-
/**
|
|
1256
|
-
* @generated from field: google.protobuf.Int32Value absolute_session_timeout = 1;
|
|
1257
|
-
*/
|
|
1258
|
-
absoluteSessionTimeout?: number;
|
|
1259
|
-
|
|
1260
|
-
/**
|
|
1261
|
-
* @generated from field: google.protobuf.BoolValue session_management_enabled = 2;
|
|
1262
|
-
*/
|
|
1263
|
-
sessionManagementEnabled?: boolean;
|
|
1264
|
-
|
|
1265
|
-
/**
|
|
1266
|
-
* @generated from field: google.protobuf.Int32Value idle_session_timeout = 3;
|
|
1267
|
-
*/
|
|
1268
|
-
idleSessionTimeout?: number;
|
|
1269
|
-
|
|
1270
|
-
/**
|
|
1271
|
-
* @generated from field: google.protobuf.BoolValue idle_session_enabled = 4;
|
|
1272
|
-
*/
|
|
1273
|
-
idleSessionEnabled?: boolean;
|
|
1274
|
-
|
|
1275
|
-
constructor(data?: PartialMessage<OrganizationSessionSettings>) {
|
|
1276
|
-
super();
|
|
1277
|
-
proto3.util.initPartial(data, this);
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1281
|
-
static readonly typeName = "scalekit.v1.organizations.OrganizationSessionSettings";
|
|
1282
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1283
|
-
{ no: 1, name: "absolute_session_timeout", kind: "message", T: Int32Value },
|
|
1284
|
-
{ no: 2, name: "session_management_enabled", kind: "message", T: BoolValue },
|
|
1285
|
-
{ no: 3, name: "idle_session_timeout", kind: "message", T: Int32Value },
|
|
1286
|
-
{ no: 4, name: "idle_session_enabled", kind: "message", T: BoolValue },
|
|
1287
|
-
]);
|
|
1288
|
-
|
|
1289
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrganizationSessionSettings {
|
|
1290
|
-
return new OrganizationSessionSettings().fromBinary(bytes, options);
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrganizationSessionSettings {
|
|
1294
|
-
return new OrganizationSessionSettings().fromJson(jsonValue, options);
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrganizationSessionSettings {
|
|
1298
|
-
return new OrganizationSessionSettings().fromJsonString(jsonString, options);
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
static equals(a: OrganizationSessionSettings | PlainMessage<OrganizationSessionSettings> | undefined, b: OrganizationSessionSettings | PlainMessage<OrganizationSessionSettings> | undefined): boolean {
|
|
1302
|
-
return proto3.util.equals(OrganizationSessionSettings, a, b);
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
/**
|
|
1307
|
-
* @generated from message scalekit.v1.organizations.GetOrganizationSessionSettingsRequest
|
|
1308
|
-
*/
|
|
1309
|
-
export class GetOrganizationSessionSettingsRequest extends Message<GetOrganizationSessionSettingsRequest> {
|
|
1310
|
-
/**
|
|
1311
|
-
* @generated from field: string id = 1;
|
|
1312
|
-
*/
|
|
1313
|
-
id = "";
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
* @generated from field: string environment_id = 2;
|
|
1317
|
-
*/
|
|
1318
|
-
environmentId = "";
|
|
1319
|
-
|
|
1320
|
-
constructor(data?: PartialMessage<GetOrganizationSessionSettingsRequest>) {
|
|
1321
|
-
super();
|
|
1322
|
-
proto3.util.initPartial(data, this);
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1326
|
-
static readonly typeName = "scalekit.v1.organizations.GetOrganizationSessionSettingsRequest";
|
|
1327
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1328
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1329
|
-
{ no: 2, name: "environment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1330
|
-
]);
|
|
1331
|
-
|
|
1332
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationSessionSettingsRequest {
|
|
1333
|
-
return new GetOrganizationSessionSettingsRequest().fromBinary(bytes, options);
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationSessionSettingsRequest {
|
|
1337
|
-
return new GetOrganizationSessionSettingsRequest().fromJson(jsonValue, options);
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationSessionSettingsRequest {
|
|
1341
|
-
return new GetOrganizationSessionSettingsRequest().fromJsonString(jsonString, options);
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
static equals(a: GetOrganizationSessionSettingsRequest | PlainMessage<GetOrganizationSessionSettingsRequest> | undefined, b: GetOrganizationSessionSettingsRequest | PlainMessage<GetOrganizationSessionSettingsRequest> | undefined): boolean {
|
|
1345
|
-
return proto3.util.equals(GetOrganizationSessionSettingsRequest, a, b);
|
|
1346
|
-
}
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* @generated from message scalekit.v1.organizations.CreateOrganizationSessionSettingsRequest
|
|
1351
|
-
*/
|
|
1352
|
-
export class CreateOrganizationSessionSettingsRequest extends Message<CreateOrganizationSessionSettingsRequest> {
|
|
1353
|
-
/**
|
|
1354
|
-
* @generated from field: string id = 1;
|
|
1355
|
-
*/
|
|
1356
|
-
id = "";
|
|
1357
|
-
|
|
1358
|
-
/**
|
|
1359
|
-
* @generated from field: string environment_id = 2;
|
|
1360
|
-
*/
|
|
1361
|
-
environmentId = "";
|
|
1362
|
-
|
|
1363
|
-
constructor(data?: PartialMessage<CreateOrganizationSessionSettingsRequest>) {
|
|
1364
|
-
super();
|
|
1365
|
-
proto3.util.initPartial(data, this);
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1369
|
-
static readonly typeName = "scalekit.v1.organizations.CreateOrganizationSessionSettingsRequest";
|
|
1370
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1371
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1372
|
-
{ no: 2, name: "environment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1373
|
-
]);
|
|
1374
|
-
|
|
1375
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationSessionSettingsRequest {
|
|
1376
|
-
return new CreateOrganizationSessionSettingsRequest().fromBinary(bytes, options);
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationSessionSettingsRequest {
|
|
1380
|
-
return new CreateOrganizationSessionSettingsRequest().fromJson(jsonValue, options);
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationSessionSettingsRequest {
|
|
1384
|
-
return new CreateOrganizationSessionSettingsRequest().fromJsonString(jsonString, options);
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
static equals(a: CreateOrganizationSessionSettingsRequest | PlainMessage<CreateOrganizationSessionSettingsRequest> | undefined, b: CreateOrganizationSessionSettingsRequest | PlainMessage<CreateOrganizationSessionSettingsRequest> | undefined): boolean {
|
|
1388
|
-
return proto3.util.equals(CreateOrganizationSessionSettingsRequest, a, b);
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
/**
|
|
1393
|
-
* @generated from message scalekit.v1.organizations.CreateOrganizationSessionSettingsResponse
|
|
1394
|
-
*/
|
|
1395
|
-
export class CreateOrganizationSessionSettingsResponse extends Message<CreateOrganizationSessionSettingsResponse> {
|
|
1396
|
-
/**
|
|
1397
|
-
* @generated from field: string environment_id = 1;
|
|
1398
|
-
*/
|
|
1399
|
-
environmentId = "";
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* @generated from field: string organization_id = 2;
|
|
1403
|
-
*/
|
|
1404
|
-
organizationId = "";
|
|
1405
|
-
|
|
1406
|
-
/**
|
|
1407
|
-
* @generated from field: scalekit.v1.organizations.OrganizationSessionSettings session_settings = 3;
|
|
1408
|
-
*/
|
|
1409
|
-
sessionSettings?: OrganizationSessionSettings;
|
|
1410
|
-
|
|
1411
|
-
constructor(data?: PartialMessage<CreateOrganizationSessionSettingsResponse>) {
|
|
1412
|
-
super();
|
|
1413
|
-
proto3.util.initPartial(data, this);
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1417
|
-
static readonly typeName = "scalekit.v1.organizations.CreateOrganizationSessionSettingsResponse";
|
|
1418
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1419
|
-
{ no: 1, name: "environment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1420
|
-
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1421
|
-
{ no: 3, name: "session_settings", kind: "message", T: OrganizationSessionSettings },
|
|
1422
|
-
]);
|
|
1423
|
-
|
|
1424
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationSessionSettingsResponse {
|
|
1425
|
-
return new CreateOrganizationSessionSettingsResponse().fromBinary(bytes, options);
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationSessionSettingsResponse {
|
|
1429
|
-
return new CreateOrganizationSessionSettingsResponse().fromJson(jsonValue, options);
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationSessionSettingsResponse {
|
|
1433
|
-
return new CreateOrganizationSessionSettingsResponse().fromJsonString(jsonString, options);
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
static equals(a: CreateOrganizationSessionSettingsResponse | PlainMessage<CreateOrganizationSessionSettingsResponse> | undefined, b: CreateOrganizationSessionSettingsResponse | PlainMessage<CreateOrganizationSessionSettingsResponse> | undefined): boolean {
|
|
1437
|
-
return proto3.util.equals(CreateOrganizationSessionSettingsResponse, a, b);
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
/**
|
|
1442
|
-
* @generated from message scalekit.v1.organizations.GetOrganizationSessionSettingsResponse
|
|
1443
|
-
*/
|
|
1444
|
-
export class GetOrganizationSessionSettingsResponse extends Message<GetOrganizationSessionSettingsResponse> {
|
|
1445
|
-
/**
|
|
1446
|
-
* @generated from field: string environment_id = 1;
|
|
1447
|
-
*/
|
|
1448
|
-
environmentId = "";
|
|
1449
|
-
|
|
1450
|
-
/**
|
|
1451
|
-
* @generated from field: string organization_id = 2;
|
|
1452
|
-
*/
|
|
1453
|
-
organizationId = "";
|
|
1454
|
-
|
|
1455
|
-
/**
|
|
1456
|
-
* @generated from field: scalekit.v1.organizations.OrganizationSessionSettings session_settings = 3;
|
|
1457
|
-
*/
|
|
1458
|
-
sessionSettings?: OrganizationSessionSettings;
|
|
1459
|
-
|
|
1460
|
-
constructor(data?: PartialMessage<GetOrganizationSessionSettingsResponse>) {
|
|
1461
|
-
super();
|
|
1462
|
-
proto3.util.initPartial(data, this);
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1466
|
-
static readonly typeName = "scalekit.v1.organizations.GetOrganizationSessionSettingsResponse";
|
|
1467
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1468
|
-
{ no: 1, name: "environment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1469
|
-
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1470
|
-
{ no: 3, name: "session_settings", kind: "message", T: OrganizationSessionSettings },
|
|
1471
|
-
]);
|
|
1472
|
-
|
|
1473
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationSessionSettingsResponse {
|
|
1474
|
-
return new GetOrganizationSessionSettingsResponse().fromBinary(bytes, options);
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationSessionSettingsResponse {
|
|
1478
|
-
return new GetOrganizationSessionSettingsResponse().fromJson(jsonValue, options);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationSessionSettingsResponse {
|
|
1482
|
-
return new GetOrganizationSessionSettingsResponse().fromJsonString(jsonString, options);
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
static equals(a: GetOrganizationSessionSettingsResponse | PlainMessage<GetOrganizationSessionSettingsResponse> | undefined, b: GetOrganizationSessionSettingsResponse | PlainMessage<GetOrganizationSessionSettingsResponse> | undefined): boolean {
|
|
1486
|
-
return proto3.util.equals(GetOrganizationSessionSettingsResponse, a, b);
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
/**
|
|
1491
|
-
* @generated from message scalekit.v1.organizations.DeleteOrganizationSessionSettingsRequest
|
|
1492
|
-
*/
|
|
1493
|
-
export class DeleteOrganizationSessionSettingsRequest extends Message<DeleteOrganizationSessionSettingsRequest> {
|
|
1494
|
-
/**
|
|
1495
|
-
* @generated from field: string id = 1;
|
|
1496
|
-
*/
|
|
1497
|
-
id = "";
|
|
1498
|
-
|
|
1499
|
-
/**
|
|
1500
|
-
* @generated from field: string environment_id = 2;
|
|
1501
|
-
*/
|
|
1502
|
-
environmentId = "";
|
|
1503
|
-
|
|
1504
|
-
constructor(data?: PartialMessage<DeleteOrganizationSessionSettingsRequest>) {
|
|
1505
|
-
super();
|
|
1506
|
-
proto3.util.initPartial(data, this);
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1510
|
-
static readonly typeName = "scalekit.v1.organizations.DeleteOrganizationSessionSettingsRequest";
|
|
1511
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1512
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1513
|
-
{ no: 2, name: "environment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1514
|
-
]);
|
|
1515
|
-
|
|
1516
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationSessionSettingsRequest {
|
|
1517
|
-
return new DeleteOrganizationSessionSettingsRequest().fromBinary(bytes, options);
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationSessionSettingsRequest {
|
|
1521
|
-
return new DeleteOrganizationSessionSettingsRequest().fromJson(jsonValue, options);
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationSessionSettingsRequest {
|
|
1525
|
-
return new DeleteOrganizationSessionSettingsRequest().fromJsonString(jsonString, options);
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
static equals(a: DeleteOrganizationSessionSettingsRequest | PlainMessage<DeleteOrganizationSessionSettingsRequest> | undefined, b: DeleteOrganizationSessionSettingsRequest | PlainMessage<DeleteOrganizationSessionSettingsRequest> | undefined): boolean {
|
|
1529
|
-
return proto3.util.equals(DeleteOrganizationSessionSettingsRequest, a, b);
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* @generated from message scalekit.v1.organizations.OrganizationSettings
|
|
1535
|
-
*/
|
|
1536
|
-
export class OrganizationSettings extends Message<OrganizationSettings> {
|
|
1537
|
-
/**
|
|
1538
|
-
* @generated from field: repeated scalekit.v1.organizations.OrganizationSettingsFeature features = 1;
|
|
1539
|
-
*/
|
|
1540
|
-
features: OrganizationSettingsFeature[] = [];
|
|
1541
|
-
|
|
1542
|
-
constructor(data?: PartialMessage<OrganizationSettings>) {
|
|
1543
|
-
super();
|
|
1544
|
-
proto3.util.initPartial(data, this);
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1548
|
-
static readonly typeName = "scalekit.v1.organizations.OrganizationSettings";
|
|
1549
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1550
|
-
{ no: 1, name: "features", kind: "message", T: OrganizationSettingsFeature, repeated: true },
|
|
1551
|
-
]);
|
|
1552
|
-
|
|
1553
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrganizationSettings {
|
|
1554
|
-
return new OrganizationSettings().fromBinary(bytes, options);
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrganizationSettings {
|
|
1558
|
-
return new OrganizationSettings().fromJson(jsonValue, options);
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrganizationSettings {
|
|
1562
|
-
return new OrganizationSettings().fromJsonString(jsonString, options);
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
static equals(a: OrganizationSettings | PlainMessage<OrganizationSettings> | undefined, b: OrganizationSettings | PlainMessage<OrganizationSettings> | undefined): boolean {
|
|
1566
|
-
return proto3.util.equals(OrganizationSettings, a, b);
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* @generated from message scalekit.v1.organizations.OrganizationSettingsFeature
|
|
1572
|
-
*/
|
|
1573
|
-
export class OrganizationSettingsFeature extends Message<OrganizationSettingsFeature> {
|
|
1574
|
-
/**
|
|
1575
|
-
* @generated from field: string name = 1;
|
|
1576
|
-
*/
|
|
1577
|
-
name = "";
|
|
1578
|
-
|
|
1579
|
-
/**
|
|
1580
|
-
* @generated from field: bool enabled = 2;
|
|
1581
|
-
*/
|
|
1582
|
-
enabled = false;
|
|
1583
|
-
|
|
1584
|
-
constructor(data?: PartialMessage<OrganizationSettingsFeature>) {
|
|
1585
|
-
super();
|
|
1586
|
-
proto3.util.initPartial(data, this);
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1589
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1590
|
-
static readonly typeName = "scalekit.v1.organizations.OrganizationSettingsFeature";
|
|
1591
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1592
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1593
|
-
{ no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1594
|
-
]);
|
|
1595
|
-
|
|
1596
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrganizationSettingsFeature {
|
|
1597
|
-
return new OrganizationSettingsFeature().fromBinary(bytes, options);
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrganizationSettingsFeature {
|
|
1601
|
-
return new OrganizationSettingsFeature().fromJson(jsonValue, options);
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrganizationSettingsFeature {
|
|
1605
|
-
return new OrganizationSettingsFeature().fromJsonString(jsonString, options);
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
static equals(a: OrganizationSettingsFeature | PlainMessage<OrganizationSettingsFeature> | undefined, b: OrganizationSettingsFeature | PlainMessage<OrganizationSettingsFeature> | undefined): boolean {
|
|
1609
|
-
return proto3.util.equals(OrganizationSettingsFeature, a, b);
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* @generated from message scalekit.v1.organizations.UpsertUserManagementSettingsRequest
|
|
1615
|
-
*/
|
|
1616
|
-
export class UpsertUserManagementSettingsRequest extends Message<UpsertUserManagementSettingsRequest> {
|
|
1617
|
-
/**
|
|
1618
|
-
* @generated from field: string organization_id = 1;
|
|
1619
|
-
*/
|
|
1620
|
-
organizationId = "";
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* @generated from field: scalekit.v1.organizations.OrganizationUserManagementSettings settings = 2;
|
|
1624
|
-
*/
|
|
1625
|
-
settings?: OrganizationUserManagementSettings;
|
|
1626
|
-
|
|
1627
|
-
constructor(data?: PartialMessage<UpsertUserManagementSettingsRequest>) {
|
|
1628
|
-
super();
|
|
1629
|
-
proto3.util.initPartial(data, this);
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1633
|
-
static readonly typeName = "scalekit.v1.organizations.UpsertUserManagementSettingsRequest";
|
|
1634
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1635
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1636
|
-
{ no: 2, name: "settings", kind: "message", T: OrganizationUserManagementSettings },
|
|
1637
|
-
]);
|
|
1638
|
-
|
|
1639
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpsertUserManagementSettingsRequest {
|
|
1640
|
-
return new UpsertUserManagementSettingsRequest().fromBinary(bytes, options);
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpsertUserManagementSettingsRequest {
|
|
1644
|
-
return new UpsertUserManagementSettingsRequest().fromJson(jsonValue, options);
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpsertUserManagementSettingsRequest {
|
|
1648
|
-
return new UpsertUserManagementSettingsRequest().fromJsonString(jsonString, options);
|
|
1649
|
-
}
|
|
1650
|
-
|
|
1651
|
-
static equals(a: UpsertUserManagementSettingsRequest | PlainMessage<UpsertUserManagementSettingsRequest> | undefined, b: UpsertUserManagementSettingsRequest | PlainMessage<UpsertUserManagementSettingsRequest> | undefined): boolean {
|
|
1652
|
-
return proto3.util.equals(UpsertUserManagementSettingsRequest, a, b);
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* @generated from message scalekit.v1.organizations.UpsertUserManagementSettingsResponse
|
|
1658
|
-
*/
|
|
1659
|
-
export class UpsertUserManagementSettingsResponse extends Message<UpsertUserManagementSettingsResponse> {
|
|
1660
|
-
/**
|
|
1661
|
-
* @generated from field: scalekit.v1.organizations.OrganizationUserManagementSettings settings = 1;
|
|
1662
|
-
*/
|
|
1663
|
-
settings?: OrganizationUserManagementSettings;
|
|
1664
|
-
|
|
1665
|
-
constructor(data?: PartialMessage<UpsertUserManagementSettingsResponse>) {
|
|
1666
|
-
super();
|
|
1667
|
-
proto3.util.initPartial(data, this);
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1671
|
-
static readonly typeName = "scalekit.v1.organizations.UpsertUserManagementSettingsResponse";
|
|
1672
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1673
|
-
{ no: 1, name: "settings", kind: "message", T: OrganizationUserManagementSettings },
|
|
1674
|
-
]);
|
|
1675
|
-
|
|
1676
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpsertUserManagementSettingsResponse {
|
|
1677
|
-
return new UpsertUserManagementSettingsResponse().fromBinary(bytes, options);
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpsertUserManagementSettingsResponse {
|
|
1681
|
-
return new UpsertUserManagementSettingsResponse().fromJson(jsonValue, options);
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1684
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpsertUserManagementSettingsResponse {
|
|
1685
|
-
return new UpsertUserManagementSettingsResponse().fromJsonString(jsonString, options);
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
static equals(a: UpsertUserManagementSettingsResponse | PlainMessage<UpsertUserManagementSettingsResponse> | undefined, b: UpsertUserManagementSettingsResponse | PlainMessage<UpsertUserManagementSettingsResponse> | undefined): boolean {
|
|
1689
|
-
return proto3.util.equals(UpsertUserManagementSettingsResponse, a, b);
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
/**
|
|
1694
|
-
* @generated from message scalekit.v1.organizations.GetOrganizationUserManagementSettingsRequest
|
|
1695
|
-
*/
|
|
1696
|
-
export class GetOrganizationUserManagementSettingsRequest extends Message<GetOrganizationUserManagementSettingsRequest> {
|
|
1697
|
-
/**
|
|
1698
|
-
* @generated from field: string organization_id = 1;
|
|
1699
|
-
*/
|
|
1700
|
-
organizationId = "";
|
|
1701
|
-
|
|
1702
|
-
constructor(data?: PartialMessage<GetOrganizationUserManagementSettingsRequest>) {
|
|
1703
|
-
super();
|
|
1704
|
-
proto3.util.initPartial(data, this);
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1708
|
-
static readonly typeName = "scalekit.v1.organizations.GetOrganizationUserManagementSettingsRequest";
|
|
1709
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1710
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1711
|
-
]);
|
|
1712
|
-
|
|
1713
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationUserManagementSettingsRequest {
|
|
1714
|
-
return new GetOrganizationUserManagementSettingsRequest().fromBinary(bytes, options);
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationUserManagementSettingsRequest {
|
|
1718
|
-
return new GetOrganizationUserManagementSettingsRequest().fromJson(jsonValue, options);
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationUserManagementSettingsRequest {
|
|
1722
|
-
return new GetOrganizationUserManagementSettingsRequest().fromJsonString(jsonString, options);
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
static equals(a: GetOrganizationUserManagementSettingsRequest | PlainMessage<GetOrganizationUserManagementSettingsRequest> | undefined, b: GetOrganizationUserManagementSettingsRequest | PlainMessage<GetOrganizationUserManagementSettingsRequest> | undefined): boolean {
|
|
1726
|
-
return proto3.util.equals(GetOrganizationUserManagementSettingsRequest, a, b);
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* @generated from message scalekit.v1.organizations.GetOrganizationUserManagementSettingsResponse
|
|
1732
|
-
*/
|
|
1733
|
-
export class GetOrganizationUserManagementSettingsResponse extends Message<GetOrganizationUserManagementSettingsResponse> {
|
|
1734
|
-
/**
|
|
1735
|
-
* @generated from field: scalekit.v1.organizations.OrganizationUserManagementSettings settings = 1;
|
|
1736
|
-
*/
|
|
1737
|
-
settings?: OrganizationUserManagementSettings;
|
|
1738
|
-
|
|
1739
|
-
constructor(data?: PartialMessage<GetOrganizationUserManagementSettingsResponse>) {
|
|
1740
|
-
super();
|
|
1741
|
-
proto3.util.initPartial(data, this);
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1745
|
-
static readonly typeName = "scalekit.v1.organizations.GetOrganizationUserManagementSettingsResponse";
|
|
1746
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1747
|
-
{ no: 1, name: "settings", kind: "message", T: OrganizationUserManagementSettings },
|
|
1748
|
-
]);
|
|
1749
|
-
|
|
1750
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationUserManagementSettingsResponse {
|
|
1751
|
-
return new GetOrganizationUserManagementSettingsResponse().fromBinary(bytes, options);
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationUserManagementSettingsResponse {
|
|
1755
|
-
return new GetOrganizationUserManagementSettingsResponse().fromJson(jsonValue, options);
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationUserManagementSettingsResponse {
|
|
1759
|
-
return new GetOrganizationUserManagementSettingsResponse().fromJsonString(jsonString, options);
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
static equals(a: GetOrganizationUserManagementSettingsResponse | PlainMessage<GetOrganizationUserManagementSettingsResponse> | undefined, b: GetOrganizationUserManagementSettingsResponse | PlainMessage<GetOrganizationUserManagementSettingsResponse> | undefined): boolean {
|
|
1763
|
-
return proto3.util.equals(GetOrganizationUserManagementSettingsResponse, a, b);
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
|