@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,3846 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file scalekit/v1/connections/connections.proto (package scalekit.v1.connections, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
-
import { BoolValue, Duration, Message, proto3, protoInt64, StringValue, Struct, Timestamp, UInt32Value } from "@bufbuild/protobuf";
|
|
8
|
-
import { Domain } from "../domains/domains_pb.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @generated from enum scalekit.v1.connections.CodeChallengeType
|
|
12
|
-
*/
|
|
13
|
-
export enum CodeChallengeType {
|
|
14
|
-
/**
|
|
15
|
-
* @generated from enum value: CODE_CHALLENGE_TYPE_UNSPECIFIED = 0;
|
|
16
|
-
*/
|
|
17
|
-
CODE_CHALLENGE_TYPE_UNSPECIFIED = 0,
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @generated from enum value: NUMERIC = 1;
|
|
21
|
-
*/
|
|
22
|
-
NUMERIC = 1,
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @generated from enum value: ALPHANUMERIC = 2;
|
|
26
|
-
*/
|
|
27
|
-
ALPHANUMERIC = 2,
|
|
28
|
-
}
|
|
29
|
-
// Retrieve enum metadata with: proto3.getEnumType(CodeChallengeType)
|
|
30
|
-
proto3.util.setEnumType(CodeChallengeType, "scalekit.v1.connections.CodeChallengeType", [
|
|
31
|
-
{ no: 0, name: "CODE_CHALLENGE_TYPE_UNSPECIFIED" },
|
|
32
|
-
{ no: 1, name: "NUMERIC" },
|
|
33
|
-
{ no: 2, name: "ALPHANUMERIC" },
|
|
34
|
-
]);
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @generated from enum scalekit.v1.connections.ConfigurationType
|
|
38
|
-
*/
|
|
39
|
-
export enum ConfigurationType {
|
|
40
|
-
/**
|
|
41
|
-
* @generated from enum value: CONFIGURATION_TYPE_UNSPECIFIED = 0;
|
|
42
|
-
*/
|
|
43
|
-
CONFIGURATION_TYPE_UNSPECIFIED = 0,
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @generated from enum value: DISCOVERY = 1;
|
|
47
|
-
*/
|
|
48
|
-
DISCOVERY = 1,
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @generated from enum value: MANUAL = 2;
|
|
52
|
-
*/
|
|
53
|
-
MANUAL = 2,
|
|
54
|
-
}
|
|
55
|
-
// Retrieve enum metadata with: proto3.getEnumType(ConfigurationType)
|
|
56
|
-
proto3.util.setEnumType(ConfigurationType, "scalekit.v1.connections.ConfigurationType", [
|
|
57
|
-
{ no: 0, name: "CONFIGURATION_TYPE_UNSPECIFIED" },
|
|
58
|
-
{ no: 1, name: "DISCOVERY" },
|
|
59
|
-
{ no: 2, name: "MANUAL" },
|
|
60
|
-
]);
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @generated from enum scalekit.v1.connections.NameIdFormat
|
|
64
|
-
*/
|
|
65
|
-
export enum NameIdFormat {
|
|
66
|
-
/**
|
|
67
|
-
* @generated from enum value: NAME_ID_FORMAT_NIL = 0;
|
|
68
|
-
*/
|
|
69
|
-
NAME_ID_FORMAT_NIL = 0,
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from enum value: UNSPECIFIED = 1;
|
|
73
|
-
*/
|
|
74
|
-
UNSPECIFIED = 1,
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @generated from enum value: EMAIL = 2;
|
|
78
|
-
*/
|
|
79
|
-
EMAIL = 2,
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @generated from enum value: TRANSIENT = 3;
|
|
83
|
-
*/
|
|
84
|
-
TRANSIENT = 3,
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @generated from enum value: PERSISTENT = 4;
|
|
88
|
-
*/
|
|
89
|
-
PERSISTENT = 4,
|
|
90
|
-
}
|
|
91
|
-
// Retrieve enum metadata with: proto3.getEnumType(NameIdFormat)
|
|
92
|
-
proto3.util.setEnumType(NameIdFormat, "scalekit.v1.connections.NameIdFormat", [
|
|
93
|
-
{ no: 0, name: "NAME_ID_FORMAT_NIL" },
|
|
94
|
-
{ no: 1, name: "UNSPECIFIED" },
|
|
95
|
-
{ no: 2, name: "EMAIL" },
|
|
96
|
-
{ no: 3, name: "TRANSIENT" },
|
|
97
|
-
{ no: 4, name: "PERSISTENT" },
|
|
98
|
-
]);
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @generated from enum scalekit.v1.connections.PasswordlessType
|
|
102
|
-
*/
|
|
103
|
-
export enum PasswordlessType {
|
|
104
|
-
/**
|
|
105
|
-
* @generated from enum value: PasswordlessType_UNSPECIFIED = 0;
|
|
106
|
-
*/
|
|
107
|
-
PasswordlessType_UNSPECIFIED = 0,
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* @generated from enum value: LINK = 1;
|
|
111
|
-
*/
|
|
112
|
-
LINK = 1,
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* @generated from enum value: OTP = 2;
|
|
116
|
-
*/
|
|
117
|
-
OTP = 2,
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @generated from enum value: LINK_OTP = 3;
|
|
121
|
-
*/
|
|
122
|
-
LINK_OTP = 3,
|
|
123
|
-
}
|
|
124
|
-
// Retrieve enum metadata with: proto3.getEnumType(PasswordlessType)
|
|
125
|
-
proto3.util.setEnumType(PasswordlessType, "scalekit.v1.connections.PasswordlessType", [
|
|
126
|
-
{ no: 0, name: "PasswordlessType_UNSPECIFIED" },
|
|
127
|
-
{ no: 1, name: "LINK" },
|
|
128
|
-
{ no: 2, name: "OTP" },
|
|
129
|
-
{ no: 3, name: "LINK_OTP" },
|
|
130
|
-
]);
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @generated from enum scalekit.v1.connections.TestResultStatus
|
|
134
|
-
*/
|
|
135
|
-
export enum TestResultStatus {
|
|
136
|
-
/**
|
|
137
|
-
* @generated from enum value: PENDING = 0;
|
|
138
|
-
*/
|
|
139
|
-
PENDING = 0,
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @generated from enum value: SUCCESS = 1;
|
|
143
|
-
*/
|
|
144
|
-
SUCCESS = 1,
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @generated from enum value: FAILURE = 2;
|
|
148
|
-
*/
|
|
149
|
-
FAILURE = 2,
|
|
150
|
-
}
|
|
151
|
-
// Retrieve enum metadata with: proto3.getEnumType(TestResultStatus)
|
|
152
|
-
proto3.util.setEnumType(TestResultStatus, "scalekit.v1.connections.TestResultStatus", [
|
|
153
|
-
{ no: 0, name: "PENDING" },
|
|
154
|
-
{ no: 1, name: "SUCCESS" },
|
|
155
|
-
{ no: 2, name: "FAILURE" },
|
|
156
|
-
]);
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* enums all
|
|
160
|
-
*
|
|
161
|
-
* @generated from enum scalekit.v1.connections.SAMLSigningOptions
|
|
162
|
-
*/
|
|
163
|
-
export enum SAMLSigningOptions {
|
|
164
|
-
/**
|
|
165
|
-
* @generated from enum value: SAML_SIGNING_OPTIONS_UNSPECIFIED = 0;
|
|
166
|
-
*/
|
|
167
|
-
SAML_SIGNING_OPTIONS_UNSPECIFIED = 0,
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @generated from enum value: NO_SIGNING = 1;
|
|
171
|
-
*/
|
|
172
|
-
NO_SIGNING = 1,
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @generated from enum value: SAML_ONLY_RESPONSE_SIGNING = 2;
|
|
176
|
-
*/
|
|
177
|
-
SAML_ONLY_RESPONSE_SIGNING = 2,
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* @generated from enum value: SAML_ONLY_ASSERTION_SIGNING = 3;
|
|
181
|
-
*/
|
|
182
|
-
SAML_ONLY_ASSERTION_SIGNING = 3,
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @generated from enum value: SAML_RESPONSE_ASSERTION_SIGNING = 4;
|
|
186
|
-
*/
|
|
187
|
-
SAML_RESPONSE_ASSERTION_SIGNING = 4,
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* @generated from enum value: SAML_RESPONSE_OR_ASSERTION_SIGNING = 5;
|
|
191
|
-
*/
|
|
192
|
-
SAML_RESPONSE_OR_ASSERTION_SIGNING = 5,
|
|
193
|
-
}
|
|
194
|
-
// Retrieve enum metadata with: proto3.getEnumType(SAMLSigningOptions)
|
|
195
|
-
proto3.util.setEnumType(SAMLSigningOptions, "scalekit.v1.connections.SAMLSigningOptions", [
|
|
196
|
-
{ no: 0, name: "SAML_SIGNING_OPTIONS_UNSPECIFIED" },
|
|
197
|
-
{ no: 1, name: "NO_SIGNING" },
|
|
198
|
-
{ no: 2, name: "SAML_ONLY_RESPONSE_SIGNING" },
|
|
199
|
-
{ no: 3, name: "SAML_ONLY_ASSERTION_SIGNING" },
|
|
200
|
-
{ no: 4, name: "SAML_RESPONSE_ASSERTION_SIGNING" },
|
|
201
|
-
{ no: 5, name: "SAML_RESPONSE_OR_ASSERTION_SIGNING" },
|
|
202
|
-
]);
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* @generated from enum scalekit.v1.connections.RequestBinding
|
|
206
|
-
*/
|
|
207
|
-
export enum RequestBinding {
|
|
208
|
-
/**
|
|
209
|
-
* @generated from enum value: REQUEST_BINDING_UNSPECIFIED = 0;
|
|
210
|
-
*/
|
|
211
|
-
REQUEST_BINDING_UNSPECIFIED = 0,
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @generated from enum value: HTTP_POST = 1;
|
|
215
|
-
*/
|
|
216
|
-
HTTP_POST = 1,
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @generated from enum value: HTTP_REDIRECT = 2;
|
|
220
|
-
*/
|
|
221
|
-
HTTP_REDIRECT = 2,
|
|
222
|
-
}
|
|
223
|
-
// Retrieve enum metadata with: proto3.getEnumType(RequestBinding)
|
|
224
|
-
proto3.util.setEnumType(RequestBinding, "scalekit.v1.connections.RequestBinding", [
|
|
225
|
-
{ no: 0, name: "REQUEST_BINDING_UNSPECIFIED" },
|
|
226
|
-
{ no: 1, name: "HTTP_POST" },
|
|
227
|
-
{ no: 2, name: "HTTP_REDIRECT" },
|
|
228
|
-
]);
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* @generated from enum scalekit.v1.connections.TokenAuthType
|
|
232
|
-
*/
|
|
233
|
-
export enum TokenAuthType {
|
|
234
|
-
/**
|
|
235
|
-
* @generated from enum value: TOKEN_AUTH_TYPE_UNSPECIFIED = 0;
|
|
236
|
-
*/
|
|
237
|
-
TOKEN_AUTH_TYPE_UNSPECIFIED = 0,
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* @generated from enum value: URL_PARAMS = 1;
|
|
241
|
-
*/
|
|
242
|
-
URL_PARAMS = 1,
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* @generated from enum value: BASIC_AUTH = 2;
|
|
246
|
-
*/
|
|
247
|
-
BASIC_AUTH = 2,
|
|
248
|
-
}
|
|
249
|
-
// Retrieve enum metadata with: proto3.getEnumType(TokenAuthType)
|
|
250
|
-
proto3.util.setEnumType(TokenAuthType, "scalekit.v1.connections.TokenAuthType", [
|
|
251
|
-
{ no: 0, name: "TOKEN_AUTH_TYPE_UNSPECIFIED" },
|
|
252
|
-
{ no: 1, name: "URL_PARAMS" },
|
|
253
|
-
{ no: 2, name: "BASIC_AUTH" },
|
|
254
|
-
]);
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* @generated from enum scalekit.v1.connections.OIDCScope
|
|
258
|
-
*/
|
|
259
|
-
export enum OIDCScope {
|
|
260
|
-
/**
|
|
261
|
-
* @generated from enum value: OIDC_SCOPE_UNSPECIFIED = 0;
|
|
262
|
-
*/
|
|
263
|
-
OIDC_SCOPE_UNSPECIFIED = 0,
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @generated from enum value: openid = 1;
|
|
267
|
-
*/
|
|
268
|
-
openid = 1,
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* @generated from enum value: profile = 2;
|
|
272
|
-
*/
|
|
273
|
-
profile = 2,
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @generated from enum value: email = 3;
|
|
277
|
-
*/
|
|
278
|
-
email = 3,
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* @generated from enum value: address = 4;
|
|
282
|
-
*/
|
|
283
|
-
address = 4,
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* @generated from enum value: phone = 5;
|
|
287
|
-
*/
|
|
288
|
-
phone = 5,
|
|
289
|
-
}
|
|
290
|
-
// Retrieve enum metadata with: proto3.getEnumType(OIDCScope)
|
|
291
|
-
proto3.util.setEnumType(OIDCScope, "scalekit.v1.connections.OIDCScope", [
|
|
292
|
-
{ no: 0, name: "OIDC_SCOPE_UNSPECIFIED" },
|
|
293
|
-
{ no: 1, name: "openid" },
|
|
294
|
-
{ no: 2, name: "profile" },
|
|
295
|
-
{ no: 3, name: "email" },
|
|
296
|
-
{ no: 4, name: "address" },
|
|
297
|
-
{ no: 5, name: "phone" },
|
|
298
|
-
]);
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* @generated from enum scalekit.v1.connections.ConnectionType
|
|
302
|
-
*/
|
|
303
|
-
export enum ConnectionType {
|
|
304
|
-
/**
|
|
305
|
-
* @generated from enum value: INVALID = 0;
|
|
306
|
-
*/
|
|
307
|
-
INVALID = 0,
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* @generated from enum value: OIDC = 1;
|
|
311
|
-
*/
|
|
312
|
-
OIDC = 1,
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* @generated from enum value: SAML = 2;
|
|
316
|
-
*/
|
|
317
|
-
SAML = 2,
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* @generated from enum value: PASSWORD = 3;
|
|
321
|
-
*/
|
|
322
|
-
PASSWORD = 3,
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* @generated from enum value: OAUTH = 4;
|
|
326
|
-
*/
|
|
327
|
-
OAUTH = 4,
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @generated from enum value: PASSWORDLESS = 5;
|
|
331
|
-
*/
|
|
332
|
-
PASSWORDLESS = 5,
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* @generated from enum value: BASIC = 6;
|
|
336
|
-
*/
|
|
337
|
-
BASIC = 6,
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @generated from enum value: BEARER = 7;
|
|
341
|
-
*/
|
|
342
|
-
BEARER = 7,
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* @generated from enum value: API_KEY = 8;
|
|
346
|
-
*/
|
|
347
|
-
API_KEY = 8,
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* @generated from enum value: WEBAUTHN = 9;
|
|
351
|
-
*/
|
|
352
|
-
WEBAUTHN = 9,
|
|
353
|
-
}
|
|
354
|
-
// Retrieve enum metadata with: proto3.getEnumType(ConnectionType)
|
|
355
|
-
proto3.util.setEnumType(ConnectionType, "scalekit.v1.connections.ConnectionType", [
|
|
356
|
-
{ no: 0, name: "INVALID" },
|
|
357
|
-
{ no: 1, name: "OIDC" },
|
|
358
|
-
{ no: 2, name: "SAML" },
|
|
359
|
-
{ no: 3, name: "PASSWORD" },
|
|
360
|
-
{ no: 4, name: "OAUTH" },
|
|
361
|
-
{ no: 5, name: "PASSWORDLESS" },
|
|
362
|
-
{ no: 6, name: "BASIC" },
|
|
363
|
-
{ no: 7, name: "BEARER" },
|
|
364
|
-
{ no: 8, name: "API_KEY" },
|
|
365
|
-
{ no: 9, name: "WEBAUTHN" },
|
|
366
|
-
]);
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* @generated from enum scalekit.v1.connections.ConnectionStatus
|
|
370
|
-
*/
|
|
371
|
-
export enum ConnectionStatus {
|
|
372
|
-
/**
|
|
373
|
-
* @generated from enum value: CONNECTION_STATUS_UNSPECIFIED = 0;
|
|
374
|
-
*/
|
|
375
|
-
CONNECTION_STATUS_UNSPECIFIED = 0,
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* @generated from enum value: DRAFT = 1;
|
|
379
|
-
*/
|
|
380
|
-
DRAFT = 1,
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* @generated from enum value: IN_PROGRESS = 2;
|
|
384
|
-
*/
|
|
385
|
-
IN_PROGRESS = 2,
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* @generated from enum value: COMPLETED = 3;
|
|
389
|
-
*/
|
|
390
|
-
COMPLETED = 3,
|
|
391
|
-
}
|
|
392
|
-
// Retrieve enum metadata with: proto3.getEnumType(ConnectionStatus)
|
|
393
|
-
proto3.util.setEnumType(ConnectionStatus, "scalekit.v1.connections.ConnectionStatus", [
|
|
394
|
-
{ no: 0, name: "CONNECTION_STATUS_UNSPECIFIED" },
|
|
395
|
-
{ no: 1, name: "DRAFT" },
|
|
396
|
-
{ no: 2, name: "IN_PROGRESS" },
|
|
397
|
-
{ no: 3, name: "COMPLETED" },
|
|
398
|
-
]);
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* @generated from enum scalekit.v1.connections.ConnectionProvider
|
|
402
|
-
*/
|
|
403
|
-
export enum ConnectionProvider {
|
|
404
|
-
/**
|
|
405
|
-
* @generated from enum value: CONNECTION_PROVIDER_UNSPECIFIED = 0;
|
|
406
|
-
*/
|
|
407
|
-
CONNECTION_PROVIDER_UNSPECIFIED = 0,
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @generated from enum value: OKTA = 1;
|
|
411
|
-
*/
|
|
412
|
-
OKTA = 1,
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* @generated from enum value: GOOGLE = 2;
|
|
416
|
-
*/
|
|
417
|
-
GOOGLE = 2,
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* @generated from enum value: MICROSOFT_AD = 3;
|
|
421
|
-
*/
|
|
422
|
-
MICROSOFT_AD = 3,
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* @generated from enum value: AUTH0 = 4;
|
|
426
|
-
*/
|
|
427
|
-
AUTH0 = 4,
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* @generated from enum value: ONELOGIN = 5;
|
|
431
|
-
*/
|
|
432
|
-
ONELOGIN = 5,
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* @generated from enum value: PING_IDENTITY = 6;
|
|
436
|
-
*/
|
|
437
|
-
PING_IDENTITY = 6,
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @generated from enum value: JUMPCLOUD = 7;
|
|
441
|
-
*/
|
|
442
|
-
JUMPCLOUD = 7,
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* @generated from enum value: CUSTOM = 8;
|
|
446
|
-
*/
|
|
447
|
-
CUSTOM = 8,
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* @generated from enum value: GITHUB = 9;
|
|
451
|
-
*/
|
|
452
|
-
GITHUB = 9,
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* @generated from enum value: GITLAB = 10;
|
|
456
|
-
*/
|
|
457
|
-
GITLAB = 10,
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* @generated from enum value: LINKEDIN = 11;
|
|
461
|
-
*/
|
|
462
|
-
LINKEDIN = 11,
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* @generated from enum value: SALESFORCE = 12;
|
|
466
|
-
*/
|
|
467
|
-
SALESFORCE = 12,
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* @generated from enum value: MICROSOFT = 13;
|
|
471
|
-
*/
|
|
472
|
-
MICROSOFT = 13,
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* @generated from enum value: IDP_SIMULATOR = 14;
|
|
476
|
-
*/
|
|
477
|
-
IDP_SIMULATOR = 14,
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* @generated from enum value: SCALEKIT = 15;
|
|
481
|
-
*/
|
|
482
|
-
SCALEKIT = 15,
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* @generated from enum value: ADFS = 16;
|
|
486
|
-
*/
|
|
487
|
-
ADFS = 16,
|
|
488
|
-
}
|
|
489
|
-
// Retrieve enum metadata with: proto3.getEnumType(ConnectionProvider)
|
|
490
|
-
proto3.util.setEnumType(ConnectionProvider, "scalekit.v1.connections.ConnectionProvider", [
|
|
491
|
-
{ no: 0, name: "CONNECTION_PROVIDER_UNSPECIFIED" },
|
|
492
|
-
{ no: 1, name: "OKTA" },
|
|
493
|
-
{ no: 2, name: "GOOGLE" },
|
|
494
|
-
{ no: 3, name: "MICROSOFT_AD" },
|
|
495
|
-
{ no: 4, name: "AUTH0" },
|
|
496
|
-
{ no: 5, name: "ONELOGIN" },
|
|
497
|
-
{ no: 6, name: "PING_IDENTITY" },
|
|
498
|
-
{ no: 7, name: "JUMPCLOUD" },
|
|
499
|
-
{ no: 8, name: "CUSTOM" },
|
|
500
|
-
{ no: 9, name: "GITHUB" },
|
|
501
|
-
{ no: 10, name: "GITLAB" },
|
|
502
|
-
{ no: 11, name: "LINKEDIN" },
|
|
503
|
-
{ no: 12, name: "SALESFORCE" },
|
|
504
|
-
{ no: 13, name: "MICROSOFT" },
|
|
505
|
-
{ no: 14, name: "IDP_SIMULATOR" },
|
|
506
|
-
{ no: 15, name: "SCALEKIT" },
|
|
507
|
-
{ no: 16, name: "ADFS" },
|
|
508
|
-
]);
|
|
509
|
-
|
|
510
|
-
/**
|
|
511
|
-
* @generated from message scalekit.v1.connections.AssignDomainsToConnectionRequest
|
|
512
|
-
*/
|
|
513
|
-
export class AssignDomainsToConnectionRequest extends Message<AssignDomainsToConnectionRequest> {
|
|
514
|
-
/**
|
|
515
|
-
* @generated from field: string organization_id = 1;
|
|
516
|
-
*/
|
|
517
|
-
organizationId = "";
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* @generated from field: string connection_id = 2;
|
|
521
|
-
*/
|
|
522
|
-
connectionId = "";
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* @generated from field: repeated string domain_ids = 3;
|
|
526
|
-
*/
|
|
527
|
-
domainIds: string[] = [];
|
|
528
|
-
|
|
529
|
-
constructor(data?: PartialMessage<AssignDomainsToConnectionRequest>) {
|
|
530
|
-
super();
|
|
531
|
-
proto3.util.initPartial(data, this);
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
535
|
-
static readonly typeName = "scalekit.v1.connections.AssignDomainsToConnectionRequest";
|
|
536
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
537
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
538
|
-
{ no: 2, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
539
|
-
{ no: 3, name: "domain_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
540
|
-
]);
|
|
541
|
-
|
|
542
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignDomainsToConnectionRequest {
|
|
543
|
-
return new AssignDomainsToConnectionRequest().fromBinary(bytes, options);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionRequest {
|
|
547
|
-
return new AssignDomainsToConnectionRequest().fromJson(jsonValue, options);
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionRequest {
|
|
551
|
-
return new AssignDomainsToConnectionRequest().fromJsonString(jsonString, options);
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
static equals(a: AssignDomainsToConnectionRequest | PlainMessage<AssignDomainsToConnectionRequest> | undefined, b: AssignDomainsToConnectionRequest | PlainMessage<AssignDomainsToConnectionRequest> | undefined): boolean {
|
|
555
|
-
return proto3.util.equals(AssignDomainsToConnectionRequest, a, b);
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* @generated from message scalekit.v1.connections.AssignDomainsToConnectionResponse
|
|
561
|
-
*/
|
|
562
|
-
export class AssignDomainsToConnectionResponse extends Message<AssignDomainsToConnectionResponse> {
|
|
563
|
-
/**
|
|
564
|
-
* @generated from field: scalekit.v1.connections.Connection connection = 1;
|
|
565
|
-
*/
|
|
566
|
-
connection?: Connection;
|
|
567
|
-
|
|
568
|
-
constructor(data?: PartialMessage<AssignDomainsToConnectionResponse>) {
|
|
569
|
-
super();
|
|
570
|
-
proto3.util.initPartial(data, this);
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
574
|
-
static readonly typeName = "scalekit.v1.connections.AssignDomainsToConnectionResponse";
|
|
575
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
576
|
-
{ no: 1, name: "connection", kind: "message", T: Connection },
|
|
577
|
-
]);
|
|
578
|
-
|
|
579
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignDomainsToConnectionResponse {
|
|
580
|
-
return new AssignDomainsToConnectionResponse().fromBinary(bytes, options);
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionResponse {
|
|
584
|
-
return new AssignDomainsToConnectionResponse().fromJson(jsonValue, options);
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignDomainsToConnectionResponse {
|
|
588
|
-
return new AssignDomainsToConnectionResponse().fromJsonString(jsonString, options);
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
static equals(a: AssignDomainsToConnectionResponse | PlainMessage<AssignDomainsToConnectionResponse> | undefined, b: AssignDomainsToConnectionResponse | PlainMessage<AssignDomainsToConnectionResponse> | undefined): boolean {
|
|
592
|
-
return proto3.util.equals(AssignDomainsToConnectionResponse, a, b);
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* @generated from message scalekit.v1.connections.GetProvidersRequest
|
|
598
|
-
*/
|
|
599
|
-
export class GetProvidersRequest extends Message<GetProvidersRequest> {
|
|
600
|
-
constructor(data?: PartialMessage<GetProvidersRequest>) {
|
|
601
|
-
super();
|
|
602
|
-
proto3.util.initPartial(data, this);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
606
|
-
static readonly typeName = "scalekit.v1.connections.GetProvidersRequest";
|
|
607
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
608
|
-
]);
|
|
609
|
-
|
|
610
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProvidersRequest {
|
|
611
|
-
return new GetProvidersRequest().fromBinary(bytes, options);
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProvidersRequest {
|
|
615
|
-
return new GetProvidersRequest().fromJson(jsonValue, options);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProvidersRequest {
|
|
619
|
-
return new GetProvidersRequest().fromJsonString(jsonString, options);
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
static equals(a: GetProvidersRequest | PlainMessage<GetProvidersRequest> | undefined, b: GetProvidersRequest | PlainMessage<GetProvidersRequest> | undefined): boolean {
|
|
623
|
-
return proto3.util.equals(GetProvidersRequest, a, b);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* @generated from message scalekit.v1.connections.GetProvidersResponse
|
|
629
|
-
*/
|
|
630
|
-
export class GetProvidersResponse extends Message<GetProvidersResponse> {
|
|
631
|
-
/**
|
|
632
|
-
* @generated from field: repeated scalekit.v1.connections.Provider providers = 1;
|
|
633
|
-
*/
|
|
634
|
-
providers: Provider[] = [];
|
|
635
|
-
|
|
636
|
-
constructor(data?: PartialMessage<GetProvidersResponse>) {
|
|
637
|
-
super();
|
|
638
|
-
proto3.util.initPartial(data, this);
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
642
|
-
static readonly typeName = "scalekit.v1.connections.GetProvidersResponse";
|
|
643
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
644
|
-
{ no: 1, name: "providers", kind: "message", T: Provider, repeated: true },
|
|
645
|
-
]);
|
|
646
|
-
|
|
647
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProvidersResponse {
|
|
648
|
-
return new GetProvidersResponse().fromBinary(bytes, options);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProvidersResponse {
|
|
652
|
-
return new GetProvidersResponse().fromJson(jsonValue, options);
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProvidersResponse {
|
|
656
|
-
return new GetProvidersResponse().fromJsonString(jsonString, options);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
static equals(a: GetProvidersResponse | PlainMessage<GetProvidersResponse> | undefined, b: GetProvidersResponse | PlainMessage<GetProvidersResponse> | undefined): boolean {
|
|
660
|
-
return proto3.util.equals(GetProvidersResponse, a, b);
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* @generated from message scalekit.v1.connections.Provider
|
|
666
|
-
*/
|
|
667
|
-
export class Provider extends Message<Provider> {
|
|
668
|
-
/**
|
|
669
|
-
* @generated from field: string key_id = 1;
|
|
670
|
-
*/
|
|
671
|
-
keyId = "";
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* @generated from field: string display_name = 2;
|
|
675
|
-
*/
|
|
676
|
-
displayName = "";
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* @generated from field: optional string description = 3;
|
|
680
|
-
*/
|
|
681
|
-
description?: string;
|
|
682
|
-
|
|
683
|
-
constructor(data?: PartialMessage<Provider>) {
|
|
684
|
-
super();
|
|
685
|
-
proto3.util.initPartial(data, this);
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
689
|
-
static readonly typeName = "scalekit.v1.connections.Provider";
|
|
690
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
691
|
-
{ no: 1, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
692
|
-
{ no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
693
|
-
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
694
|
-
]);
|
|
695
|
-
|
|
696
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Provider {
|
|
697
|
-
return new Provider().fromBinary(bytes, options);
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Provider {
|
|
701
|
-
return new Provider().fromJson(jsonValue, options);
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Provider {
|
|
705
|
-
return new Provider().fromJsonString(jsonString, options);
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
static equals(a: Provider | PlainMessage<Provider> | undefined, b: Provider | PlainMessage<Provider> | undefined): boolean {
|
|
709
|
-
return proto3.util.equals(Provider, a, b);
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
/**
|
|
714
|
-
* @generated from message scalekit.v1.connections.CreateEnvironmentConnectionRequest
|
|
715
|
-
*/
|
|
716
|
-
export class CreateEnvironmentConnectionRequest extends Message<CreateEnvironmentConnectionRequest> {
|
|
717
|
-
/**
|
|
718
|
-
* @generated from field: scalekit.v1.connections.CreateConnection connection = 1;
|
|
719
|
-
*/
|
|
720
|
-
connection?: CreateConnection;
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* @generated from field: optional scalekit.v1.connections.Flags flags = 2;
|
|
724
|
-
*/
|
|
725
|
-
flags?: Flags;
|
|
726
|
-
|
|
727
|
-
constructor(data?: PartialMessage<CreateEnvironmentConnectionRequest>) {
|
|
728
|
-
super();
|
|
729
|
-
proto3.util.initPartial(data, this);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
733
|
-
static readonly typeName = "scalekit.v1.connections.CreateEnvironmentConnectionRequest";
|
|
734
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
735
|
-
{ no: 1, name: "connection", kind: "message", T: CreateConnection },
|
|
736
|
-
{ no: 2, name: "flags", kind: "message", T: Flags, opt: true },
|
|
737
|
-
]);
|
|
738
|
-
|
|
739
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateEnvironmentConnectionRequest {
|
|
740
|
-
return new CreateEnvironmentConnectionRequest().fromBinary(bytes, options);
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateEnvironmentConnectionRequest {
|
|
744
|
-
return new CreateEnvironmentConnectionRequest().fromJson(jsonValue, options);
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateEnvironmentConnectionRequest {
|
|
748
|
-
return new CreateEnvironmentConnectionRequest().fromJsonString(jsonString, options);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
static equals(a: CreateEnvironmentConnectionRequest | PlainMessage<CreateEnvironmentConnectionRequest> | undefined, b: CreateEnvironmentConnectionRequest | PlainMessage<CreateEnvironmentConnectionRequest> | undefined): boolean {
|
|
752
|
-
return proto3.util.equals(CreateEnvironmentConnectionRequest, a, b);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* @generated from message scalekit.v1.connections.CreateConnectionRequest
|
|
758
|
-
*/
|
|
759
|
-
export class CreateConnectionRequest extends Message<CreateConnectionRequest> {
|
|
760
|
-
/**
|
|
761
|
-
* @generated from field: string organization_id = 1;
|
|
762
|
-
*/
|
|
763
|
-
organizationId = "";
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* @generated from field: scalekit.v1.connections.CreateConnection connection = 3;
|
|
767
|
-
*/
|
|
768
|
-
connection?: CreateConnection;
|
|
769
|
-
|
|
770
|
-
constructor(data?: PartialMessage<CreateConnectionRequest>) {
|
|
771
|
-
super();
|
|
772
|
-
proto3.util.initPartial(data, this);
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
776
|
-
static readonly typeName = "scalekit.v1.connections.CreateConnectionRequest";
|
|
777
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
778
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
779
|
-
{ no: 3, name: "connection", kind: "message", T: CreateConnection },
|
|
780
|
-
]);
|
|
781
|
-
|
|
782
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectionRequest {
|
|
783
|
-
return new CreateConnectionRequest().fromBinary(bytes, options);
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectionRequest {
|
|
787
|
-
return new CreateConnectionRequest().fromJson(jsonValue, options);
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectionRequest {
|
|
791
|
-
return new CreateConnectionRequest().fromJsonString(jsonString, options);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
static equals(a: CreateConnectionRequest | PlainMessage<CreateConnectionRequest> | undefined, b: CreateConnectionRequest | PlainMessage<CreateConnectionRequest> | undefined): boolean {
|
|
795
|
-
return proto3.util.equals(CreateConnectionRequest, a, b);
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* @generated from message scalekit.v1.connections.CreateConnection
|
|
801
|
-
*/
|
|
802
|
-
export class CreateConnection extends Message<CreateConnection> {
|
|
803
|
-
/**
|
|
804
|
-
* @generated from field: scalekit.v1.connections.ConnectionProvider provider = 1;
|
|
805
|
-
*/
|
|
806
|
-
provider = ConnectionProvider.CONNECTION_PROVIDER_UNSPECIFIED;
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* @generated from field: scalekit.v1.connections.ConnectionType type = 2;
|
|
810
|
-
*/
|
|
811
|
-
type = ConnectionType.INVALID;
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* @generated from field: string provider_key = 3;
|
|
815
|
-
*/
|
|
816
|
-
providerKey = "";
|
|
817
|
-
|
|
818
|
-
/**
|
|
819
|
-
* @generated from field: optional string key_id = 4;
|
|
820
|
-
*/
|
|
821
|
-
keyId?: string;
|
|
822
|
-
|
|
823
|
-
constructor(data?: PartialMessage<CreateConnection>) {
|
|
824
|
-
super();
|
|
825
|
-
proto3.util.initPartial(data, this);
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
829
|
-
static readonly typeName = "scalekit.v1.connections.CreateConnection";
|
|
830
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
831
|
-
{ no: 1, name: "provider", kind: "enum", T: proto3.getEnumType(ConnectionProvider) },
|
|
832
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(ConnectionType) },
|
|
833
|
-
{ no: 3, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
834
|
-
{ no: 4, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
835
|
-
]);
|
|
836
|
-
|
|
837
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnection {
|
|
838
|
-
return new CreateConnection().fromBinary(bytes, options);
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnection {
|
|
842
|
-
return new CreateConnection().fromJson(jsonValue, options);
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnection {
|
|
846
|
-
return new CreateConnection().fromJsonString(jsonString, options);
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
static equals(a: CreateConnection | PlainMessage<CreateConnection> | undefined, b: CreateConnection | PlainMessage<CreateConnection> | undefined): boolean {
|
|
850
|
-
return proto3.util.equals(CreateConnection, a, b);
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* @generated from message scalekit.v1.connections.Connection
|
|
856
|
-
*/
|
|
857
|
-
export class Connection extends Message<Connection> {
|
|
858
|
-
/**
|
|
859
|
-
* @generated from field: string id = 1;
|
|
860
|
-
*/
|
|
861
|
-
id = "";
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
|
|
865
|
-
*/
|
|
866
|
-
provider = ConnectionProvider.CONNECTION_PROVIDER_UNSPECIFIED;
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* @generated from field: scalekit.v1.connections.ConnectionType type = 3;
|
|
870
|
-
*/
|
|
871
|
-
type = ConnectionType.INVALID;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
|
|
875
|
-
*/
|
|
876
|
-
status = ConnectionStatus.CONNECTION_STATUS_UNSPECIFIED;
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* @generated from field: bool enabled = 5;
|
|
880
|
-
*/
|
|
881
|
-
enabled = false;
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* @generated from field: bool debug_enabled = 6;
|
|
885
|
-
*/
|
|
886
|
-
debugEnabled = false;
|
|
887
|
-
|
|
888
|
-
/**
|
|
889
|
-
* @generated from field: optional string organization_id = 7;
|
|
890
|
-
*/
|
|
891
|
-
organizationId?: string;
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* @generated from field: string ui_button_title = 8;
|
|
895
|
-
*/
|
|
896
|
-
uiButtonTitle = "";
|
|
897
|
-
|
|
898
|
-
/**
|
|
899
|
-
* @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 9;
|
|
900
|
-
*/
|
|
901
|
-
configurationType = ConfigurationType.CONFIGURATION_TYPE_UNSPECIFIED;
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
* @generated from field: string test_connection_uri = 12;
|
|
905
|
-
*/
|
|
906
|
-
testConnectionUri = "";
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* @generated from field: map<string, string> attribute_mapping = 15;
|
|
910
|
-
*/
|
|
911
|
-
attributeMapping: { [key: string]: string } = {};
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* @generated from field: google.protobuf.Timestamp create_time = 16;
|
|
915
|
-
*/
|
|
916
|
-
createTime?: Timestamp;
|
|
917
|
-
|
|
918
|
-
/**
|
|
919
|
-
* @generated from field: google.protobuf.Timestamp update_time = 17;
|
|
920
|
-
*/
|
|
921
|
-
updateTime?: Timestamp;
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* @generated from oneof scalekit.v1.connections.Connection.settings
|
|
925
|
-
*/
|
|
926
|
-
settings: {
|
|
927
|
-
/**
|
|
928
|
-
* @generated from field: scalekit.v1.connections.OIDCConnectionConfig oidc_config = 18;
|
|
929
|
-
*/
|
|
930
|
-
value: OIDCConnectionConfig;
|
|
931
|
-
case: "oidcConfig";
|
|
932
|
-
} | {
|
|
933
|
-
/**
|
|
934
|
-
* @generated from field: scalekit.v1.connections.SAMLConnectionConfigResponse saml_config = 19;
|
|
935
|
-
*/
|
|
936
|
-
value: SAMLConnectionConfigResponse;
|
|
937
|
-
case: "samlConfig";
|
|
938
|
-
} | {
|
|
939
|
-
/**
|
|
940
|
-
* @generated from field: scalekit.v1.connections.OAuthConnectionConfig oauth_config = 20;
|
|
941
|
-
*/
|
|
942
|
-
value: OAuthConnectionConfig;
|
|
943
|
-
case: "oauthConfig";
|
|
944
|
-
} | {
|
|
945
|
-
/**
|
|
946
|
-
* @generated from field: scalekit.v1.connections.PasswordLessConfig passwordless_config = 22;
|
|
947
|
-
*/
|
|
948
|
-
value: PasswordLessConfig;
|
|
949
|
-
case: "passwordlessConfig";
|
|
950
|
-
} | {
|
|
951
|
-
/**
|
|
952
|
-
* @generated from field: scalekit.v1.connections.StaticAuthConfig static_config = 26;
|
|
953
|
-
*/
|
|
954
|
-
value: StaticAuthConfig;
|
|
955
|
-
case: "staticConfig";
|
|
956
|
-
} | {
|
|
957
|
-
/**
|
|
958
|
-
* @generated from field: scalekit.v1.connections.WebAuthConfiguration webauthn_config = 27;
|
|
959
|
-
*/
|
|
960
|
-
value: WebAuthConfiguration;
|
|
961
|
-
case: "webauthnConfig";
|
|
962
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* @generated from field: optional string key_id = 25;
|
|
966
|
-
*/
|
|
967
|
-
keyId?: string;
|
|
968
|
-
|
|
969
|
-
/**
|
|
970
|
-
* @generated from field: string provider_key = 23;
|
|
971
|
-
*/
|
|
972
|
-
providerKey = "";
|
|
973
|
-
|
|
974
|
-
/**
|
|
975
|
-
* @generated from field: repeated scalekit.v1.domains.Domain domains = 24;
|
|
976
|
-
*/
|
|
977
|
-
domains: Domain[] = [];
|
|
978
|
-
|
|
979
|
-
constructor(data?: PartialMessage<Connection>) {
|
|
980
|
-
super();
|
|
981
|
-
proto3.util.initPartial(data, this);
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
985
|
-
static readonly typeName = "scalekit.v1.connections.Connection";
|
|
986
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
987
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
988
|
-
{ no: 2, name: "provider", kind: "enum", T: proto3.getEnumType(ConnectionProvider) },
|
|
989
|
-
{ no: 3, name: "type", kind: "enum", T: proto3.getEnumType(ConnectionType) },
|
|
990
|
-
{ no: 4, name: "status", kind: "enum", T: proto3.getEnumType(ConnectionStatus) },
|
|
991
|
-
{ no: 5, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
992
|
-
{ no: 6, name: "debug_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
993
|
-
{ no: 7, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
994
|
-
{ no: 8, name: "ui_button_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
995
|
-
{ no: 9, name: "configuration_type", kind: "enum", T: proto3.getEnumType(ConfigurationType) },
|
|
996
|
-
{ no: 12, name: "test_connection_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
997
|
-
{ no: 15, name: "attribute_mapping", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
998
|
-
{ no: 16, name: "create_time", kind: "message", T: Timestamp },
|
|
999
|
-
{ no: 17, name: "update_time", kind: "message", T: Timestamp },
|
|
1000
|
-
{ no: 18, name: "oidc_config", kind: "message", T: OIDCConnectionConfig, oneof: "settings" },
|
|
1001
|
-
{ no: 19, name: "saml_config", kind: "message", T: SAMLConnectionConfigResponse, oneof: "settings" },
|
|
1002
|
-
{ no: 20, name: "oauth_config", kind: "message", T: OAuthConnectionConfig, oneof: "settings" },
|
|
1003
|
-
{ no: 22, name: "passwordless_config", kind: "message", T: PasswordLessConfig, oneof: "settings" },
|
|
1004
|
-
{ no: 26, name: "static_config", kind: "message", T: StaticAuthConfig, oneof: "settings" },
|
|
1005
|
-
{ no: 27, name: "webauthn_config", kind: "message", T: WebAuthConfiguration, oneof: "settings" },
|
|
1006
|
-
{ no: 25, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1007
|
-
{ no: 23, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1008
|
-
{ no: 24, name: "domains", kind: "message", T: Domain, repeated: true },
|
|
1009
|
-
]);
|
|
1010
|
-
|
|
1011
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Connection {
|
|
1012
|
-
return new Connection().fromBinary(bytes, options);
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Connection {
|
|
1016
|
-
return new Connection().fromJson(jsonValue, options);
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Connection {
|
|
1020
|
-
return new Connection().fromJsonString(jsonString, options);
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
static equals(a: Connection | PlainMessage<Connection> | undefined, b: Connection | PlainMessage<Connection> | undefined): boolean {
|
|
1024
|
-
return proto3.util.equals(Connection, a, b);
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* @generated from message scalekit.v1.connections.CreateConnectionResponse
|
|
1030
|
-
*/
|
|
1031
|
-
export class CreateConnectionResponse extends Message<CreateConnectionResponse> {
|
|
1032
|
-
/**
|
|
1033
|
-
* @generated from field: scalekit.v1.connections.Connection connection = 1;
|
|
1034
|
-
*/
|
|
1035
|
-
connection?: Connection;
|
|
1036
|
-
|
|
1037
|
-
constructor(data?: PartialMessage<CreateConnectionResponse>) {
|
|
1038
|
-
super();
|
|
1039
|
-
proto3.util.initPartial(data, this);
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1043
|
-
static readonly typeName = "scalekit.v1.connections.CreateConnectionResponse";
|
|
1044
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1045
|
-
{ no: 1, name: "connection", kind: "message", T: Connection },
|
|
1046
|
-
]);
|
|
1047
|
-
|
|
1048
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectionResponse {
|
|
1049
|
-
return new CreateConnectionResponse().fromBinary(bytes, options);
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectionResponse {
|
|
1053
|
-
return new CreateConnectionResponse().fromJson(jsonValue, options);
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectionResponse {
|
|
1057
|
-
return new CreateConnectionResponse().fromJsonString(jsonString, options);
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
static equals(a: CreateConnectionResponse | PlainMessage<CreateConnectionResponse> | undefined, b: CreateConnectionResponse | PlainMessage<CreateConnectionResponse> | undefined): boolean {
|
|
1061
|
-
return proto3.util.equals(CreateConnectionResponse, a, b);
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
/**
|
|
1066
|
-
* @generated from message scalekit.v1.connections.UpdateEnvironmentConnectionRequest
|
|
1067
|
-
*/
|
|
1068
|
-
export class UpdateEnvironmentConnectionRequest extends Message<UpdateEnvironmentConnectionRequest> {
|
|
1069
|
-
/**
|
|
1070
|
-
* @generated from field: string connection_id = 1;
|
|
1071
|
-
*/
|
|
1072
|
-
connectionId = "";
|
|
1073
|
-
|
|
1074
|
-
/**
|
|
1075
|
-
* @generated from field: scalekit.v1.connections.UpdateConnection connection = 3;
|
|
1076
|
-
*/
|
|
1077
|
-
connection?: UpdateConnection;
|
|
1078
|
-
|
|
1079
|
-
constructor(data?: PartialMessage<UpdateEnvironmentConnectionRequest>) {
|
|
1080
|
-
super();
|
|
1081
|
-
proto3.util.initPartial(data, this);
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1085
|
-
static readonly typeName = "scalekit.v1.connections.UpdateEnvironmentConnectionRequest";
|
|
1086
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1087
|
-
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1088
|
-
{ no: 3, name: "connection", kind: "message", T: UpdateConnection },
|
|
1089
|
-
]);
|
|
1090
|
-
|
|
1091
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateEnvironmentConnectionRequest {
|
|
1092
|
-
return new UpdateEnvironmentConnectionRequest().fromBinary(bytes, options);
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateEnvironmentConnectionRequest {
|
|
1096
|
-
return new UpdateEnvironmentConnectionRequest().fromJson(jsonValue, options);
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateEnvironmentConnectionRequest {
|
|
1100
|
-
return new UpdateEnvironmentConnectionRequest().fromJsonString(jsonString, options);
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
static equals(a: UpdateEnvironmentConnectionRequest | PlainMessage<UpdateEnvironmentConnectionRequest> | undefined, b: UpdateEnvironmentConnectionRequest | PlainMessage<UpdateEnvironmentConnectionRequest> | undefined): boolean {
|
|
1104
|
-
return proto3.util.equals(UpdateEnvironmentConnectionRequest, a, b);
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* @generated from message scalekit.v1.connections.UpdateConnectionRequest
|
|
1110
|
-
*/
|
|
1111
|
-
export class UpdateConnectionRequest extends Message<UpdateConnectionRequest> {
|
|
1112
|
-
/**
|
|
1113
|
-
* @generated from field: string organization_id = 1;
|
|
1114
|
-
*/
|
|
1115
|
-
organizationId = "";
|
|
1116
|
-
|
|
1117
|
-
/**
|
|
1118
|
-
* @generated from field: string id = 3;
|
|
1119
|
-
*/
|
|
1120
|
-
id = "";
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* @generated from field: scalekit.v1.connections.UpdateConnection connection = 4;
|
|
1124
|
-
*/
|
|
1125
|
-
connection?: UpdateConnection;
|
|
1126
|
-
|
|
1127
|
-
constructor(data?: PartialMessage<UpdateConnectionRequest>) {
|
|
1128
|
-
super();
|
|
1129
|
-
proto3.util.initPartial(data, this);
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1133
|
-
static readonly typeName = "scalekit.v1.connections.UpdateConnectionRequest";
|
|
1134
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1135
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1136
|
-
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1137
|
-
{ no: 4, name: "connection", kind: "message", T: UpdateConnection },
|
|
1138
|
-
]);
|
|
1139
|
-
|
|
1140
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionRequest {
|
|
1141
|
-
return new UpdateConnectionRequest().fromBinary(bytes, options);
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionRequest {
|
|
1145
|
-
return new UpdateConnectionRequest().fromJson(jsonValue, options);
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionRequest {
|
|
1149
|
-
return new UpdateConnectionRequest().fromJsonString(jsonString, options);
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
static equals(a: UpdateConnectionRequest | PlainMessage<UpdateConnectionRequest> | undefined, b: UpdateConnectionRequest | PlainMessage<UpdateConnectionRequest> | undefined): boolean {
|
|
1153
|
-
return proto3.util.equals(UpdateConnectionRequest, a, b);
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
/**
|
|
1158
|
-
* @generated from message scalekit.v1.connections.UpdateConnection
|
|
1159
|
-
*/
|
|
1160
|
-
export class UpdateConnection extends Message<UpdateConnection> {
|
|
1161
|
-
/**
|
|
1162
|
-
* @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
|
|
1163
|
-
*/
|
|
1164
|
-
provider = ConnectionProvider.CONNECTION_PROVIDER_UNSPECIFIED;
|
|
1165
|
-
|
|
1166
|
-
/**
|
|
1167
|
-
* @generated from field: scalekit.v1.connections.ConnectionType type = 3;
|
|
1168
|
-
*/
|
|
1169
|
-
type = ConnectionType.INVALID;
|
|
1170
|
-
|
|
1171
|
-
/**
|
|
1172
|
-
* @generated from field: google.protobuf.BoolValue debug_enabled = 6;
|
|
1173
|
-
*/
|
|
1174
|
-
debugEnabled?: boolean;
|
|
1175
|
-
|
|
1176
|
-
/**
|
|
1177
|
-
* @generated from field: google.protobuf.StringValue ui_button_title = 8;
|
|
1178
|
-
*/
|
|
1179
|
-
uiButtonTitle?: string;
|
|
1180
|
-
|
|
1181
|
-
/**
|
|
1182
|
-
* @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 11;
|
|
1183
|
-
*/
|
|
1184
|
-
configurationType = ConfigurationType.CONFIGURATION_TYPE_UNSPECIFIED;
|
|
1185
|
-
|
|
1186
|
-
/**
|
|
1187
|
-
* @generated from field: map<string, string> attribute_mapping = 15;
|
|
1188
|
-
*/
|
|
1189
|
-
attributeMapping: { [key: string]: string } = {};
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* @generated from oneof scalekit.v1.connections.UpdateConnection.settings
|
|
1193
|
-
*/
|
|
1194
|
-
settings: {
|
|
1195
|
-
/**
|
|
1196
|
-
* @generated from field: scalekit.v1.connections.OIDCConnectionConfig oidc_config = 16;
|
|
1197
|
-
*/
|
|
1198
|
-
value: OIDCConnectionConfig;
|
|
1199
|
-
case: "oidcConfig";
|
|
1200
|
-
} | {
|
|
1201
|
-
/**
|
|
1202
|
-
* @generated from field: scalekit.v1.connections.SAMLConnectionConfigRequest saml_config = 17;
|
|
1203
|
-
*/
|
|
1204
|
-
value: SAMLConnectionConfigRequest;
|
|
1205
|
-
case: "samlConfig";
|
|
1206
|
-
} | {
|
|
1207
|
-
/**
|
|
1208
|
-
* @generated from field: scalekit.v1.connections.OAuthConnectionConfig oauth_config = 18;
|
|
1209
|
-
*/
|
|
1210
|
-
value: OAuthConnectionConfig;
|
|
1211
|
-
case: "oauthConfig";
|
|
1212
|
-
} | {
|
|
1213
|
-
/**
|
|
1214
|
-
* @generated from field: scalekit.v1.connections.PasswordLessConfig passwordless_config = 20;
|
|
1215
|
-
*/
|
|
1216
|
-
value: PasswordLessConfig;
|
|
1217
|
-
case: "passwordlessConfig";
|
|
1218
|
-
} | {
|
|
1219
|
-
/**
|
|
1220
|
-
* @generated from field: scalekit.v1.connections.StaticAuthConfig static_config = 23;
|
|
1221
|
-
*/
|
|
1222
|
-
value: StaticAuthConfig;
|
|
1223
|
-
case: "staticConfig";
|
|
1224
|
-
} | {
|
|
1225
|
-
/**
|
|
1226
|
-
* @generated from field: scalekit.v1.connections.WebAuthConfiguration webauthn_config = 24;
|
|
1227
|
-
*/
|
|
1228
|
-
value: WebAuthConfiguration;
|
|
1229
|
-
case: "webauthnConfig";
|
|
1230
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* @generated from field: optional string key_id = 22;
|
|
1234
|
-
*/
|
|
1235
|
-
keyId?: string;
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* @generated from field: string provider_key = 21;
|
|
1239
|
-
*/
|
|
1240
|
-
providerKey = "";
|
|
1241
|
-
|
|
1242
|
-
constructor(data?: PartialMessage<UpdateConnection>) {
|
|
1243
|
-
super();
|
|
1244
|
-
proto3.util.initPartial(data, this);
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1248
|
-
static readonly typeName = "scalekit.v1.connections.UpdateConnection";
|
|
1249
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1250
|
-
{ no: 2, name: "provider", kind: "enum", T: proto3.getEnumType(ConnectionProvider) },
|
|
1251
|
-
{ no: 3, name: "type", kind: "enum", T: proto3.getEnumType(ConnectionType) },
|
|
1252
|
-
{ no: 6, name: "debug_enabled", kind: "message", T: BoolValue },
|
|
1253
|
-
{ no: 8, name: "ui_button_title", kind: "message", T: StringValue },
|
|
1254
|
-
{ no: 11, name: "configuration_type", kind: "enum", T: proto3.getEnumType(ConfigurationType) },
|
|
1255
|
-
{ no: 15, name: "attribute_mapping", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1256
|
-
{ no: 16, name: "oidc_config", kind: "message", T: OIDCConnectionConfig, oneof: "settings" },
|
|
1257
|
-
{ no: 17, name: "saml_config", kind: "message", T: SAMLConnectionConfigRequest, oneof: "settings" },
|
|
1258
|
-
{ no: 18, name: "oauth_config", kind: "message", T: OAuthConnectionConfig, oneof: "settings" },
|
|
1259
|
-
{ no: 20, name: "passwordless_config", kind: "message", T: PasswordLessConfig, oneof: "settings" },
|
|
1260
|
-
{ no: 23, name: "static_config", kind: "message", T: StaticAuthConfig, oneof: "settings" },
|
|
1261
|
-
{ no: 24, name: "webauthn_config", kind: "message", T: WebAuthConfiguration, oneof: "settings" },
|
|
1262
|
-
{ no: 22, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1263
|
-
{ no: 21, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1264
|
-
]);
|
|
1265
|
-
|
|
1266
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnection {
|
|
1267
|
-
return new UpdateConnection().fromBinary(bytes, options);
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnection {
|
|
1271
|
-
return new UpdateConnection().fromJson(jsonValue, options);
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnection {
|
|
1275
|
-
return new UpdateConnection().fromJsonString(jsonString, options);
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
static equals(a: UpdateConnection | PlainMessage<UpdateConnection> | undefined, b: UpdateConnection | PlainMessage<UpdateConnection> | undefined): boolean {
|
|
1279
|
-
return proto3.util.equals(UpdateConnection, a, b);
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
|
-
/**
|
|
1284
|
-
* @generated from message scalekit.v1.connections.UpdateConnectionResponse
|
|
1285
|
-
*/
|
|
1286
|
-
export class UpdateConnectionResponse extends Message<UpdateConnectionResponse> {
|
|
1287
|
-
/**
|
|
1288
|
-
* @generated from field: scalekit.v1.connections.Connection connection = 1;
|
|
1289
|
-
*/
|
|
1290
|
-
connection?: Connection;
|
|
1291
|
-
|
|
1292
|
-
constructor(data?: PartialMessage<UpdateConnectionResponse>) {
|
|
1293
|
-
super();
|
|
1294
|
-
proto3.util.initPartial(data, this);
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1298
|
-
static readonly typeName = "scalekit.v1.connections.UpdateConnectionResponse";
|
|
1299
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1300
|
-
{ no: 1, name: "connection", kind: "message", T: Connection },
|
|
1301
|
-
]);
|
|
1302
|
-
|
|
1303
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionResponse {
|
|
1304
|
-
return new UpdateConnectionResponse().fromBinary(bytes, options);
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionResponse {
|
|
1308
|
-
return new UpdateConnectionResponse().fromJson(jsonValue, options);
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionResponse {
|
|
1312
|
-
return new UpdateConnectionResponse().fromJsonString(jsonString, options);
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
static equals(a: UpdateConnectionResponse | PlainMessage<UpdateConnectionResponse> | undefined, b: UpdateConnectionResponse | PlainMessage<UpdateConnectionResponse> | undefined): boolean {
|
|
1316
|
-
return proto3.util.equals(UpdateConnectionResponse, a, b);
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
/**
|
|
1321
|
-
* @generated from message scalekit.v1.connections.DeleteEnvironmentConnectionRequest
|
|
1322
|
-
*/
|
|
1323
|
-
export class DeleteEnvironmentConnectionRequest extends Message<DeleteEnvironmentConnectionRequest> {
|
|
1324
|
-
/**
|
|
1325
|
-
* @generated from field: string connection_id = 3;
|
|
1326
|
-
*/
|
|
1327
|
-
connectionId = "";
|
|
1328
|
-
|
|
1329
|
-
constructor(data?: PartialMessage<DeleteEnvironmentConnectionRequest>) {
|
|
1330
|
-
super();
|
|
1331
|
-
proto3.util.initPartial(data, this);
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1335
|
-
static readonly typeName = "scalekit.v1.connections.DeleteEnvironmentConnectionRequest";
|
|
1336
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1337
|
-
{ no: 3, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1338
|
-
]);
|
|
1339
|
-
|
|
1340
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteEnvironmentConnectionRequest {
|
|
1341
|
-
return new DeleteEnvironmentConnectionRequest().fromBinary(bytes, options);
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteEnvironmentConnectionRequest {
|
|
1345
|
-
return new DeleteEnvironmentConnectionRequest().fromJson(jsonValue, options);
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteEnvironmentConnectionRequest {
|
|
1349
|
-
return new DeleteEnvironmentConnectionRequest().fromJsonString(jsonString, options);
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
static equals(a: DeleteEnvironmentConnectionRequest | PlainMessage<DeleteEnvironmentConnectionRequest> | undefined, b: DeleteEnvironmentConnectionRequest | PlainMessage<DeleteEnvironmentConnectionRequest> | undefined): boolean {
|
|
1353
|
-
return proto3.util.equals(DeleteEnvironmentConnectionRequest, a, b);
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* @generated from message scalekit.v1.connections.DeleteConnectionRequest
|
|
1359
|
-
*/
|
|
1360
|
-
export class DeleteConnectionRequest extends Message<DeleteConnectionRequest> {
|
|
1361
|
-
/**
|
|
1362
|
-
* @generated from field: string organization_id = 1;
|
|
1363
|
-
*/
|
|
1364
|
-
organizationId = "";
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* @generated from field: string id = 3;
|
|
1368
|
-
*/
|
|
1369
|
-
id = "";
|
|
1370
|
-
|
|
1371
|
-
constructor(data?: PartialMessage<DeleteConnectionRequest>) {
|
|
1372
|
-
super();
|
|
1373
|
-
proto3.util.initPartial(data, this);
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1377
|
-
static readonly typeName = "scalekit.v1.connections.DeleteConnectionRequest";
|
|
1378
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1379
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1380
|
-
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1381
|
-
]);
|
|
1382
|
-
|
|
1383
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteConnectionRequest {
|
|
1384
|
-
return new DeleteConnectionRequest().fromBinary(bytes, options);
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteConnectionRequest {
|
|
1388
|
-
return new DeleteConnectionRequest().fromJson(jsonValue, options);
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteConnectionRequest {
|
|
1392
|
-
return new DeleteConnectionRequest().fromJsonString(jsonString, options);
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
static equals(a: DeleteConnectionRequest | PlainMessage<DeleteConnectionRequest> | undefined, b: DeleteConnectionRequest | PlainMessage<DeleteConnectionRequest> | undefined): boolean {
|
|
1396
|
-
return proto3.util.equals(DeleteConnectionRequest, a, b);
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* @generated from message scalekit.v1.connections.GetEnvironmentConnectionRequest
|
|
1402
|
-
*/
|
|
1403
|
-
export class GetEnvironmentConnectionRequest extends Message<GetEnvironmentConnectionRequest> {
|
|
1404
|
-
/**
|
|
1405
|
-
* @generated from field: string connection_id = 1;
|
|
1406
|
-
*/
|
|
1407
|
-
connectionId = "";
|
|
1408
|
-
|
|
1409
|
-
constructor(data?: PartialMessage<GetEnvironmentConnectionRequest>) {
|
|
1410
|
-
super();
|
|
1411
|
-
proto3.util.initPartial(data, this);
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1415
|
-
static readonly typeName = "scalekit.v1.connections.GetEnvironmentConnectionRequest";
|
|
1416
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1417
|
-
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1418
|
-
]);
|
|
1419
|
-
|
|
1420
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetEnvironmentConnectionRequest {
|
|
1421
|
-
return new GetEnvironmentConnectionRequest().fromBinary(bytes, options);
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetEnvironmentConnectionRequest {
|
|
1425
|
-
return new GetEnvironmentConnectionRequest().fromJson(jsonValue, options);
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetEnvironmentConnectionRequest {
|
|
1429
|
-
return new GetEnvironmentConnectionRequest().fromJsonString(jsonString, options);
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
static equals(a: GetEnvironmentConnectionRequest | PlainMessage<GetEnvironmentConnectionRequest> | undefined, b: GetEnvironmentConnectionRequest | PlainMessage<GetEnvironmentConnectionRequest> | undefined): boolean {
|
|
1433
|
-
return proto3.util.equals(GetEnvironmentConnectionRequest, a, b);
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* @generated from message scalekit.v1.connections.GetConnectionRequest
|
|
1439
|
-
*/
|
|
1440
|
-
export class GetConnectionRequest extends Message<GetConnectionRequest> {
|
|
1441
|
-
/**
|
|
1442
|
-
* @generated from field: string organization_id = 1;
|
|
1443
|
-
*/
|
|
1444
|
-
organizationId = "";
|
|
1445
|
-
|
|
1446
|
-
/**
|
|
1447
|
-
* @generated from field: string id = 3;
|
|
1448
|
-
*/
|
|
1449
|
-
id = "";
|
|
1450
|
-
|
|
1451
|
-
constructor(data?: PartialMessage<GetConnectionRequest>) {
|
|
1452
|
-
super();
|
|
1453
|
-
proto3.util.initPartial(data, this);
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1457
|
-
static readonly typeName = "scalekit.v1.connections.GetConnectionRequest";
|
|
1458
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1459
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1460
|
-
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1461
|
-
]);
|
|
1462
|
-
|
|
1463
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionRequest {
|
|
1464
|
-
return new GetConnectionRequest().fromBinary(bytes, options);
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionRequest {
|
|
1468
|
-
return new GetConnectionRequest().fromJson(jsonValue, options);
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionRequest {
|
|
1472
|
-
return new GetConnectionRequest().fromJsonString(jsonString, options);
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
static equals(a: GetConnectionRequest | PlainMessage<GetConnectionRequest> | undefined, b: GetConnectionRequest | PlainMessage<GetConnectionRequest> | undefined): boolean {
|
|
1476
|
-
return proto3.util.equals(GetConnectionRequest, a, b);
|
|
1477
|
-
}
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
/**
|
|
1481
|
-
* @generated from message scalekit.v1.connections.GetConnectionResponse
|
|
1482
|
-
*/
|
|
1483
|
-
export class GetConnectionResponse extends Message<GetConnectionResponse> {
|
|
1484
|
-
/**
|
|
1485
|
-
* @generated from field: scalekit.v1.connections.Connection connection = 1;
|
|
1486
|
-
*/
|
|
1487
|
-
connection?: Connection;
|
|
1488
|
-
|
|
1489
|
-
constructor(data?: PartialMessage<GetConnectionResponse>) {
|
|
1490
|
-
super();
|
|
1491
|
-
proto3.util.initPartial(data, this);
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1495
|
-
static readonly typeName = "scalekit.v1.connections.GetConnectionResponse";
|
|
1496
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1497
|
-
{ no: 1, name: "connection", kind: "message", T: Connection },
|
|
1498
|
-
]);
|
|
1499
|
-
|
|
1500
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionResponse {
|
|
1501
|
-
return new GetConnectionResponse().fromBinary(bytes, options);
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionResponse {
|
|
1505
|
-
return new GetConnectionResponse().fromJson(jsonValue, options);
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionResponse {
|
|
1509
|
-
return new GetConnectionResponse().fromJsonString(jsonString, options);
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
static equals(a: GetConnectionResponse | PlainMessage<GetConnectionResponse> | undefined, b: GetConnectionResponse | PlainMessage<GetConnectionResponse> | undefined): boolean {
|
|
1513
|
-
return proto3.util.equals(GetConnectionResponse, a, b);
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* @generated from message scalekit.v1.connections.ListConnectionsRequest
|
|
1519
|
-
*/
|
|
1520
|
-
export class ListConnectionsRequest extends Message<ListConnectionsRequest> {
|
|
1521
|
-
/**
|
|
1522
|
-
* @generated from field: optional string organization_id = 1;
|
|
1523
|
-
*/
|
|
1524
|
-
organizationId?: string;
|
|
1525
|
-
|
|
1526
|
-
/**
|
|
1527
|
-
* @generated from field: optional string domain = 3;
|
|
1528
|
-
*/
|
|
1529
|
-
domain?: string;
|
|
1530
|
-
|
|
1531
|
-
/**
|
|
1532
|
-
* @generated from field: optional string include = 4;
|
|
1533
|
-
*/
|
|
1534
|
-
include?: string;
|
|
1535
|
-
|
|
1536
|
-
constructor(data?: PartialMessage<ListConnectionsRequest>) {
|
|
1537
|
-
super();
|
|
1538
|
-
proto3.util.initPartial(data, this);
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1542
|
-
static readonly typeName = "scalekit.v1.connections.ListConnectionsRequest";
|
|
1543
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1544
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1545
|
-
{ no: 3, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1546
|
-
{ no: 4, name: "include", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1547
|
-
]);
|
|
1548
|
-
|
|
1549
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectionsRequest {
|
|
1550
|
-
return new ListConnectionsRequest().fromBinary(bytes, options);
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectionsRequest {
|
|
1554
|
-
return new ListConnectionsRequest().fromJson(jsonValue, options);
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectionsRequest {
|
|
1558
|
-
return new ListConnectionsRequest().fromJsonString(jsonString, options);
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
static equals(a: ListConnectionsRequest | PlainMessage<ListConnectionsRequest> | undefined, b: ListConnectionsRequest | PlainMessage<ListConnectionsRequest> | undefined): boolean {
|
|
1562
|
-
return proto3.util.equals(ListConnectionsRequest, a, b);
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
/**
|
|
1567
|
-
* @generated from message scalekit.v1.connections.ListConnectionsResponse
|
|
1568
|
-
*/
|
|
1569
|
-
export class ListConnectionsResponse extends Message<ListConnectionsResponse> {
|
|
1570
|
-
/**
|
|
1571
|
-
* @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
|
|
1572
|
-
*/
|
|
1573
|
-
connections: ListConnection[] = [];
|
|
1574
|
-
|
|
1575
|
-
constructor(data?: PartialMessage<ListConnectionsResponse>) {
|
|
1576
|
-
super();
|
|
1577
|
-
proto3.util.initPartial(data, this);
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1581
|
-
static readonly typeName = "scalekit.v1.connections.ListConnectionsResponse";
|
|
1582
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1583
|
-
{ no: 1, name: "connections", kind: "message", T: ListConnection, repeated: true },
|
|
1584
|
-
]);
|
|
1585
|
-
|
|
1586
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectionsResponse {
|
|
1587
|
-
return new ListConnectionsResponse().fromBinary(bytes, options);
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectionsResponse {
|
|
1591
|
-
return new ListConnectionsResponse().fromJson(jsonValue, options);
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectionsResponse {
|
|
1595
|
-
return new ListConnectionsResponse().fromJsonString(jsonString, options);
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
static equals(a: ListConnectionsResponse | PlainMessage<ListConnectionsResponse> | undefined, b: ListConnectionsResponse | PlainMessage<ListConnectionsResponse> | undefined): boolean {
|
|
1599
|
-
return proto3.util.equals(ListConnectionsResponse, a, b);
|
|
1600
|
-
}
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
/**
|
|
1604
|
-
* @generated from message scalekit.v1.connections.ListConnection
|
|
1605
|
-
*/
|
|
1606
|
-
export class ListConnection extends Message<ListConnection> {
|
|
1607
|
-
/**
|
|
1608
|
-
* @generated from field: string id = 1;
|
|
1609
|
-
*/
|
|
1610
|
-
id = "";
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
* @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
|
|
1614
|
-
*/
|
|
1615
|
-
provider = ConnectionProvider.CONNECTION_PROVIDER_UNSPECIFIED;
|
|
1616
|
-
|
|
1617
|
-
/**
|
|
1618
|
-
* @generated from field: scalekit.v1.connections.ConnectionType type = 3;
|
|
1619
|
-
*/
|
|
1620
|
-
type = ConnectionType.INVALID;
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
|
|
1624
|
-
*/
|
|
1625
|
-
status = ConnectionStatus.CONNECTION_STATUS_UNSPECIFIED;
|
|
1626
|
-
|
|
1627
|
-
/**
|
|
1628
|
-
* @generated from field: bool enabled = 5;
|
|
1629
|
-
*/
|
|
1630
|
-
enabled = false;
|
|
1631
|
-
|
|
1632
|
-
/**
|
|
1633
|
-
* @generated from field: string organization_id = 6;
|
|
1634
|
-
*/
|
|
1635
|
-
organizationId = "";
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* @generated from field: string ui_button_title = 7;
|
|
1639
|
-
*/
|
|
1640
|
-
uiButtonTitle = "";
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1643
|
-
* @generated from field: repeated string domains = 8;
|
|
1644
|
-
*/
|
|
1645
|
-
domains: string[] = [];
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
* @generated from field: string organization_name = 9;
|
|
1649
|
-
*/
|
|
1650
|
-
organizationName = "";
|
|
1651
|
-
|
|
1652
|
-
/**
|
|
1653
|
-
* @generated from field: string provider_key = 10;
|
|
1654
|
-
*/
|
|
1655
|
-
providerKey = "";
|
|
1656
|
-
|
|
1657
|
-
/**
|
|
1658
|
-
* @generated from field: string key_id = 11;
|
|
1659
|
-
*/
|
|
1660
|
-
keyId = "";
|
|
1661
|
-
|
|
1662
|
-
/**
|
|
1663
|
-
* @generated from field: google.protobuf.Timestamp created_at = 12;
|
|
1664
|
-
*/
|
|
1665
|
-
createdAt?: Timestamp;
|
|
1666
|
-
|
|
1667
|
-
constructor(data?: PartialMessage<ListConnection>) {
|
|
1668
|
-
super();
|
|
1669
|
-
proto3.util.initPartial(data, this);
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1673
|
-
static readonly typeName = "scalekit.v1.connections.ListConnection";
|
|
1674
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1675
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1676
|
-
{ no: 2, name: "provider", kind: "enum", T: proto3.getEnumType(ConnectionProvider) },
|
|
1677
|
-
{ no: 3, name: "type", kind: "enum", T: proto3.getEnumType(ConnectionType) },
|
|
1678
|
-
{ no: 4, name: "status", kind: "enum", T: proto3.getEnumType(ConnectionStatus) },
|
|
1679
|
-
{ no: 5, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1680
|
-
{ no: 6, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1681
|
-
{ no: 7, name: "ui_button_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1682
|
-
{ no: 8, name: "domains", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1683
|
-
{ no: 9, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1684
|
-
{ no: 10, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1685
|
-
{ no: 11, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1686
|
-
{ no: 12, name: "created_at", kind: "message", T: Timestamp },
|
|
1687
|
-
]);
|
|
1688
|
-
|
|
1689
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnection {
|
|
1690
|
-
return new ListConnection().fromBinary(bytes, options);
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnection {
|
|
1694
|
-
return new ListConnection().fromJson(jsonValue, options);
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnection {
|
|
1698
|
-
return new ListConnection().fromJsonString(jsonString, options);
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
static equals(a: ListConnection | PlainMessage<ListConnection> | undefined, b: ListConnection | PlainMessage<ListConnection> | undefined): boolean {
|
|
1702
|
-
return proto3.util.equals(ListConnection, a, b);
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
/**
|
|
1707
|
-
* @generated from message scalekit.v1.connections.ListOrganizationConnectionsRequest
|
|
1708
|
-
*/
|
|
1709
|
-
export class ListOrganizationConnectionsRequest extends Message<ListOrganizationConnectionsRequest> {
|
|
1710
|
-
/**
|
|
1711
|
-
* @generated from field: uint32 page_size = 1;
|
|
1712
|
-
*/
|
|
1713
|
-
pageSize = 0;
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* @generated from field: string page_token = 2;
|
|
1717
|
-
*/
|
|
1718
|
-
pageToken = "";
|
|
1719
|
-
|
|
1720
|
-
constructor(data?: PartialMessage<ListOrganizationConnectionsRequest>) {
|
|
1721
|
-
super();
|
|
1722
|
-
proto3.util.initPartial(data, this);
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1726
|
-
static readonly typeName = "scalekit.v1.connections.ListOrganizationConnectionsRequest";
|
|
1727
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1728
|
-
{ no: 1, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1729
|
-
{ no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1730
|
-
]);
|
|
1731
|
-
|
|
1732
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationConnectionsRequest {
|
|
1733
|
-
return new ListOrganizationConnectionsRequest().fromBinary(bytes, options);
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsRequest {
|
|
1737
|
-
return new ListOrganizationConnectionsRequest().fromJson(jsonValue, options);
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsRequest {
|
|
1741
|
-
return new ListOrganizationConnectionsRequest().fromJsonString(jsonString, options);
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
static equals(a: ListOrganizationConnectionsRequest | PlainMessage<ListOrganizationConnectionsRequest> | undefined, b: ListOrganizationConnectionsRequest | PlainMessage<ListOrganizationConnectionsRequest> | undefined): boolean {
|
|
1745
|
-
return proto3.util.equals(ListOrganizationConnectionsRequest, a, b);
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
|
|
1749
|
-
/**
|
|
1750
|
-
* @generated from message scalekit.v1.connections.ListOrganizationConnectionsResponse
|
|
1751
|
-
*/
|
|
1752
|
-
export class ListOrganizationConnectionsResponse extends Message<ListOrganizationConnectionsResponse> {
|
|
1753
|
-
/**
|
|
1754
|
-
* @generated from field: string next_page_token = 1;
|
|
1755
|
-
*/
|
|
1756
|
-
nextPageToken = "";
|
|
1757
|
-
|
|
1758
|
-
/**
|
|
1759
|
-
* @generated from field: uint32 total_size = 2;
|
|
1760
|
-
*/
|
|
1761
|
-
totalSize = 0;
|
|
1762
|
-
|
|
1763
|
-
/**
|
|
1764
|
-
* @generated from field: string prev_page_token = 3;
|
|
1765
|
-
*/
|
|
1766
|
-
prevPageToken = "";
|
|
1767
|
-
|
|
1768
|
-
/**
|
|
1769
|
-
* @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
|
|
1770
|
-
*/
|
|
1771
|
-
connections: ListConnection[] = [];
|
|
1772
|
-
|
|
1773
|
-
constructor(data?: PartialMessage<ListOrganizationConnectionsResponse>) {
|
|
1774
|
-
super();
|
|
1775
|
-
proto3.util.initPartial(data, this);
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1779
|
-
static readonly typeName = "scalekit.v1.connections.ListOrganizationConnectionsResponse";
|
|
1780
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1781
|
-
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1782
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1783
|
-
{ no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1784
|
-
{ no: 4, name: "connections", kind: "message", T: ListConnection, repeated: true },
|
|
1785
|
-
]);
|
|
1786
|
-
|
|
1787
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationConnectionsResponse {
|
|
1788
|
-
return new ListOrganizationConnectionsResponse().fromBinary(bytes, options);
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsResponse {
|
|
1792
|
-
return new ListOrganizationConnectionsResponse().fromJson(jsonValue, options);
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsResponse {
|
|
1796
|
-
return new ListOrganizationConnectionsResponse().fromJsonString(jsonString, options);
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
static equals(a: ListOrganizationConnectionsResponse | PlainMessage<ListOrganizationConnectionsResponse> | undefined, b: ListOrganizationConnectionsResponse | PlainMessage<ListOrganizationConnectionsResponse> | undefined): boolean {
|
|
1800
|
-
return proto3.util.equals(ListOrganizationConnectionsResponse, a, b);
|
|
1801
|
-
}
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
/**
|
|
1805
|
-
* @generated from message scalekit.v1.connections.SearchOrganizationConnectionsRequest
|
|
1806
|
-
*/
|
|
1807
|
-
export class SearchOrganizationConnectionsRequest extends Message<SearchOrganizationConnectionsRequest> {
|
|
1808
|
-
/**
|
|
1809
|
-
* @generated from field: optional string query = 1;
|
|
1810
|
-
*/
|
|
1811
|
-
query?: string;
|
|
1812
|
-
|
|
1813
|
-
/**
|
|
1814
|
-
* @generated from field: optional string provider = 2;
|
|
1815
|
-
*/
|
|
1816
|
-
provider?: string;
|
|
1817
|
-
|
|
1818
|
-
/**
|
|
1819
|
-
* @generated from field: optional scalekit.v1.connections.ConnectionStatus status = 3;
|
|
1820
|
-
*/
|
|
1821
|
-
status?: ConnectionStatus;
|
|
1822
|
-
|
|
1823
|
-
/**
|
|
1824
|
-
* @generated from field: optional scalekit.v1.connections.ConnectionType connection_type = 4;
|
|
1825
|
-
*/
|
|
1826
|
-
connectionType?: ConnectionType;
|
|
1827
|
-
|
|
1828
|
-
/**
|
|
1829
|
-
* @generated from field: optional bool enabled = 7;
|
|
1830
|
-
*/
|
|
1831
|
-
enabled?: boolean;
|
|
1832
|
-
|
|
1833
|
-
/**
|
|
1834
|
-
* @generated from field: uint32 page_size = 5;
|
|
1835
|
-
*/
|
|
1836
|
-
pageSize = 0;
|
|
1837
|
-
|
|
1838
|
-
/**
|
|
1839
|
-
* @generated from field: string page_token = 6;
|
|
1840
|
-
*/
|
|
1841
|
-
pageToken = "";
|
|
1842
|
-
|
|
1843
|
-
constructor(data?: PartialMessage<SearchOrganizationConnectionsRequest>) {
|
|
1844
|
-
super();
|
|
1845
|
-
proto3.util.initPartial(data, this);
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1849
|
-
static readonly typeName = "scalekit.v1.connections.SearchOrganizationConnectionsRequest";
|
|
1850
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1851
|
-
{ no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1852
|
-
{ no: 2, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1853
|
-
{ no: 3, name: "status", kind: "enum", T: proto3.getEnumType(ConnectionStatus), opt: true },
|
|
1854
|
-
{ no: 4, name: "connection_type", kind: "enum", T: proto3.getEnumType(ConnectionType), opt: true },
|
|
1855
|
-
{ no: 7, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1856
|
-
{ no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1857
|
-
{ no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1858
|
-
]);
|
|
1859
|
-
|
|
1860
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationConnectionsRequest {
|
|
1861
|
-
return new SearchOrganizationConnectionsRequest().fromBinary(bytes, options);
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsRequest {
|
|
1865
|
-
return new SearchOrganizationConnectionsRequest().fromJson(jsonValue, options);
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsRequest {
|
|
1869
|
-
return new SearchOrganizationConnectionsRequest().fromJsonString(jsonString, options);
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
static equals(a: SearchOrganizationConnectionsRequest | PlainMessage<SearchOrganizationConnectionsRequest> | undefined, b: SearchOrganizationConnectionsRequest | PlainMessage<SearchOrganizationConnectionsRequest> | undefined): boolean {
|
|
1873
|
-
return proto3.util.equals(SearchOrganizationConnectionsRequest, a, b);
|
|
1874
|
-
}
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
|
-
/**
|
|
1878
|
-
* @generated from message scalekit.v1.connections.SearchOrganizationConnectionsResponse
|
|
1879
|
-
*/
|
|
1880
|
-
export class SearchOrganizationConnectionsResponse extends Message<SearchOrganizationConnectionsResponse> {
|
|
1881
|
-
/**
|
|
1882
|
-
* @generated from field: string next_page_token = 1;
|
|
1883
|
-
*/
|
|
1884
|
-
nextPageToken = "";
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
* @generated from field: uint32 total_size = 2;
|
|
1888
|
-
*/
|
|
1889
|
-
totalSize = 0;
|
|
1890
|
-
|
|
1891
|
-
/**
|
|
1892
|
-
* @generated from field: string prev_page_token = 3;
|
|
1893
|
-
*/
|
|
1894
|
-
prevPageToken = "";
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
|
|
1898
|
-
*/
|
|
1899
|
-
connections: ListConnection[] = [];
|
|
1900
|
-
|
|
1901
|
-
constructor(data?: PartialMessage<SearchOrganizationConnectionsResponse>) {
|
|
1902
|
-
super();
|
|
1903
|
-
proto3.util.initPartial(data, this);
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1907
|
-
static readonly typeName = "scalekit.v1.connections.SearchOrganizationConnectionsResponse";
|
|
1908
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1909
|
-
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1910
|
-
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1911
|
-
{ no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1912
|
-
{ no: 4, name: "connections", kind: "message", T: ListConnection, repeated: true },
|
|
1913
|
-
]);
|
|
1914
|
-
|
|
1915
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationConnectionsResponse {
|
|
1916
|
-
return new SearchOrganizationConnectionsResponse().fromBinary(bytes, options);
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsResponse {
|
|
1920
|
-
return new SearchOrganizationConnectionsResponse().fromJson(jsonValue, options);
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsResponse {
|
|
1924
|
-
return new SearchOrganizationConnectionsResponse().fromJsonString(jsonString, options);
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
static equals(a: SearchOrganizationConnectionsResponse | PlainMessage<SearchOrganizationConnectionsResponse> | undefined, b: SearchOrganizationConnectionsResponse | PlainMessage<SearchOrganizationConnectionsResponse> | undefined): boolean {
|
|
1928
|
-
return proto3.util.equals(SearchOrganizationConnectionsResponse, a, b);
|
|
1929
|
-
}
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
/**
|
|
1933
|
-
* @generated from message scalekit.v1.connections.ToggleEnvironmentConnectionRequest
|
|
1934
|
-
*/
|
|
1935
|
-
export class ToggleEnvironmentConnectionRequest extends Message<ToggleEnvironmentConnectionRequest> {
|
|
1936
|
-
/**
|
|
1937
|
-
* @generated from field: string connection_id = 2;
|
|
1938
|
-
*/
|
|
1939
|
-
connectionId = "";
|
|
1940
|
-
|
|
1941
|
-
constructor(data?: PartialMessage<ToggleEnvironmentConnectionRequest>) {
|
|
1942
|
-
super();
|
|
1943
|
-
proto3.util.initPartial(data, this);
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1947
|
-
static readonly typeName = "scalekit.v1.connections.ToggleEnvironmentConnectionRequest";
|
|
1948
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1949
|
-
{ no: 2, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1950
|
-
]);
|
|
1951
|
-
|
|
1952
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleEnvironmentConnectionRequest {
|
|
1953
|
-
return new ToggleEnvironmentConnectionRequest().fromBinary(bytes, options);
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleEnvironmentConnectionRequest {
|
|
1957
|
-
return new ToggleEnvironmentConnectionRequest().fromJson(jsonValue, options);
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleEnvironmentConnectionRequest {
|
|
1961
|
-
return new ToggleEnvironmentConnectionRequest().fromJsonString(jsonString, options);
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
static equals(a: ToggleEnvironmentConnectionRequest | PlainMessage<ToggleEnvironmentConnectionRequest> | undefined, b: ToggleEnvironmentConnectionRequest | PlainMessage<ToggleEnvironmentConnectionRequest> | undefined): boolean {
|
|
1965
|
-
return proto3.util.equals(ToggleEnvironmentConnectionRequest, a, b);
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
/**
|
|
1970
|
-
* @generated from message scalekit.v1.connections.ToggleConnectionRequest
|
|
1971
|
-
*/
|
|
1972
|
-
export class ToggleConnectionRequest extends Message<ToggleConnectionRequest> {
|
|
1973
|
-
/**
|
|
1974
|
-
* @generated from field: string organization_id = 1;
|
|
1975
|
-
*/
|
|
1976
|
-
organizationId = "";
|
|
1977
|
-
|
|
1978
|
-
/**
|
|
1979
|
-
* @generated from field: string id = 3;
|
|
1980
|
-
*/
|
|
1981
|
-
id = "";
|
|
1982
|
-
|
|
1983
|
-
constructor(data?: PartialMessage<ToggleConnectionRequest>) {
|
|
1984
|
-
super();
|
|
1985
|
-
proto3.util.initPartial(data, this);
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1989
|
-
static readonly typeName = "scalekit.v1.connections.ToggleConnectionRequest";
|
|
1990
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1991
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1992
|
-
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1993
|
-
]);
|
|
1994
|
-
|
|
1995
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleConnectionRequest {
|
|
1996
|
-
return new ToggleConnectionRequest().fromBinary(bytes, options);
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1999
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleConnectionRequest {
|
|
2000
|
-
return new ToggleConnectionRequest().fromJson(jsonValue, options);
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleConnectionRequest {
|
|
2004
|
-
return new ToggleConnectionRequest().fromJsonString(jsonString, options);
|
|
2005
|
-
}
|
|
2006
|
-
|
|
2007
|
-
static equals(a: ToggleConnectionRequest | PlainMessage<ToggleConnectionRequest> | undefined, b: ToggleConnectionRequest | PlainMessage<ToggleConnectionRequest> | undefined): boolean {
|
|
2008
|
-
return proto3.util.equals(ToggleConnectionRequest, a, b);
|
|
2009
|
-
}
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
/**
|
|
2013
|
-
* @generated from message scalekit.v1.connections.ToggleConnectionResponse
|
|
2014
|
-
*/
|
|
2015
|
-
export class ToggleConnectionResponse extends Message<ToggleConnectionResponse> {
|
|
2016
|
-
/**
|
|
2017
|
-
* @generated from field: bool enabled = 1;
|
|
2018
|
-
*/
|
|
2019
|
-
enabled = false;
|
|
2020
|
-
|
|
2021
|
-
/**
|
|
2022
|
-
* @generated from field: optional string error_message = 2;
|
|
2023
|
-
*/
|
|
2024
|
-
errorMessage?: string;
|
|
2025
|
-
|
|
2026
|
-
constructor(data?: PartialMessage<ToggleConnectionResponse>) {
|
|
2027
|
-
super();
|
|
2028
|
-
proto3.util.initPartial(data, this);
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2032
|
-
static readonly typeName = "scalekit.v1.connections.ToggleConnectionResponse";
|
|
2033
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2034
|
-
{ no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2035
|
-
{ no: 2, name: "error_message", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2036
|
-
]);
|
|
2037
|
-
|
|
2038
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleConnectionResponse {
|
|
2039
|
-
return new ToggleConnectionResponse().fromBinary(bytes, options);
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleConnectionResponse {
|
|
2043
|
-
return new ToggleConnectionResponse().fromJson(jsonValue, options);
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleConnectionResponse {
|
|
2047
|
-
return new ToggleConnectionResponse().fromJsonString(jsonString, options);
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
static equals(a: ToggleConnectionResponse | PlainMessage<ToggleConnectionResponse> | undefined, b: ToggleConnectionResponse | PlainMessage<ToggleConnectionResponse> | undefined): boolean {
|
|
2051
|
-
return proto3.util.equals(ToggleConnectionResponse, a, b);
|
|
2052
|
-
}
|
|
2053
|
-
}
|
|
2054
|
-
|
|
2055
|
-
/**
|
|
2056
|
-
* @generated from message scalekit.v1.connections.OIDCConnectionConfig
|
|
2057
|
-
*/
|
|
2058
|
-
export class OIDCConnectionConfig extends Message<OIDCConnectionConfig> {
|
|
2059
|
-
/**
|
|
2060
|
-
* @generated from field: google.protobuf.StringValue issuer = 1;
|
|
2061
|
-
*/
|
|
2062
|
-
issuer?: string;
|
|
2063
|
-
|
|
2064
|
-
/**
|
|
2065
|
-
* @generated from field: google.protobuf.StringValue discovery_endpoint = 2;
|
|
2066
|
-
*/
|
|
2067
|
-
discoveryEndpoint?: string;
|
|
2068
|
-
|
|
2069
|
-
/**
|
|
2070
|
-
* @generated from field: google.protobuf.StringValue authorize_uri = 3;
|
|
2071
|
-
*/
|
|
2072
|
-
authorizeUri?: string;
|
|
2073
|
-
|
|
2074
|
-
/**
|
|
2075
|
-
* @generated from field: google.protobuf.StringValue token_uri = 4;
|
|
2076
|
-
*/
|
|
2077
|
-
tokenUri?: string;
|
|
2078
|
-
|
|
2079
|
-
/**
|
|
2080
|
-
* @generated from field: google.protobuf.StringValue user_info_uri = 5;
|
|
2081
|
-
*/
|
|
2082
|
-
userInfoUri?: string;
|
|
2083
|
-
|
|
2084
|
-
/**
|
|
2085
|
-
* @generated from field: google.protobuf.StringValue jwks_uri = 6;
|
|
2086
|
-
*/
|
|
2087
|
-
jwksUri?: string;
|
|
2088
|
-
|
|
2089
|
-
/**
|
|
2090
|
-
* @generated from field: google.protobuf.StringValue client_id = 8;
|
|
2091
|
-
*/
|
|
2092
|
-
clientId?: string;
|
|
2093
|
-
|
|
2094
|
-
/**
|
|
2095
|
-
* @generated from field: google.protobuf.StringValue client_secret = 9;
|
|
2096
|
-
*/
|
|
2097
|
-
clientSecret?: string;
|
|
2098
|
-
|
|
2099
|
-
/**
|
|
2100
|
-
* @generated from field: repeated scalekit.v1.connections.OIDCScope scopes = 10;
|
|
2101
|
-
*/
|
|
2102
|
-
scopes: OIDCScope[] = [];
|
|
2103
|
-
|
|
2104
|
-
/**
|
|
2105
|
-
* @generated from field: scalekit.v1.connections.TokenAuthType token_auth_type = 11;
|
|
2106
|
-
*/
|
|
2107
|
-
tokenAuthType = TokenAuthType.TOKEN_AUTH_TYPE_UNSPECIFIED;
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* @generated from field: string redirect_uri = 12;
|
|
2111
|
-
*/
|
|
2112
|
-
redirectUri = "";
|
|
2113
|
-
|
|
2114
|
-
/**
|
|
2115
|
-
* @generated from field: google.protobuf.BoolValue pkce_enabled = 13;
|
|
2116
|
-
*/
|
|
2117
|
-
pkceEnabled?: boolean;
|
|
2118
|
-
|
|
2119
|
-
/**
|
|
2120
|
-
* @generated from field: google.protobuf.BoolValue idp_logout_required = 14;
|
|
2121
|
-
*/
|
|
2122
|
-
idpLogoutRequired?: boolean;
|
|
2123
|
-
|
|
2124
|
-
/**
|
|
2125
|
-
* @generated from field: google.protobuf.StringValue post_logout_redirect_uri = 15;
|
|
2126
|
-
*/
|
|
2127
|
-
postLogoutRedirectUri?: string;
|
|
2128
|
-
|
|
2129
|
-
/**
|
|
2130
|
-
* @generated from field: google.protobuf.StringValue backchannel_logout_redirect_uri = 16;
|
|
2131
|
-
*/
|
|
2132
|
-
backchannelLogoutRedirectUri?: string;
|
|
2133
|
-
|
|
2134
|
-
/**
|
|
2135
|
-
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 17;
|
|
2136
|
-
*/
|
|
2137
|
-
syncUserProfileOnLogin?: boolean;
|
|
2138
|
-
|
|
2139
|
-
/**
|
|
2140
|
-
* @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 18;
|
|
2141
|
-
*/
|
|
2142
|
-
jitProvisioningWithSsoEnabled?: boolean;
|
|
2143
|
-
|
|
2144
|
-
constructor(data?: PartialMessage<OIDCConnectionConfig>) {
|
|
2145
|
-
super();
|
|
2146
|
-
proto3.util.initPartial(data, this);
|
|
2147
|
-
}
|
|
2148
|
-
|
|
2149
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2150
|
-
static readonly typeName = "scalekit.v1.connections.OIDCConnectionConfig";
|
|
2151
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2152
|
-
{ no: 1, name: "issuer", kind: "message", T: StringValue },
|
|
2153
|
-
{ no: 2, name: "discovery_endpoint", kind: "message", T: StringValue },
|
|
2154
|
-
{ no: 3, name: "authorize_uri", kind: "message", T: StringValue },
|
|
2155
|
-
{ no: 4, name: "token_uri", kind: "message", T: StringValue },
|
|
2156
|
-
{ no: 5, name: "user_info_uri", kind: "message", T: StringValue },
|
|
2157
|
-
{ no: 6, name: "jwks_uri", kind: "message", T: StringValue },
|
|
2158
|
-
{ no: 8, name: "client_id", kind: "message", T: StringValue },
|
|
2159
|
-
{ no: 9, name: "client_secret", kind: "message", T: StringValue },
|
|
2160
|
-
{ no: 10, name: "scopes", kind: "enum", T: proto3.getEnumType(OIDCScope), repeated: true },
|
|
2161
|
-
{ no: 11, name: "token_auth_type", kind: "enum", T: proto3.getEnumType(TokenAuthType) },
|
|
2162
|
-
{ no: 12, name: "redirect_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2163
|
-
{ no: 13, name: "pkce_enabled", kind: "message", T: BoolValue },
|
|
2164
|
-
{ no: 14, name: "idp_logout_required", kind: "message", T: BoolValue },
|
|
2165
|
-
{ no: 15, name: "post_logout_redirect_uri", kind: "message", T: StringValue },
|
|
2166
|
-
{ no: 16, name: "backchannel_logout_redirect_uri", kind: "message", T: StringValue },
|
|
2167
|
-
{ no: 17, name: "sync_user_profile_on_login", kind: "message", T: BoolValue },
|
|
2168
|
-
{ no: 18, name: "jit_provisioning_with_sso_enabled", kind: "message", T: BoolValue },
|
|
2169
|
-
]);
|
|
2170
|
-
|
|
2171
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OIDCConnectionConfig {
|
|
2172
|
-
return new OIDCConnectionConfig().fromBinary(bytes, options);
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OIDCConnectionConfig {
|
|
2176
|
-
return new OIDCConnectionConfig().fromJson(jsonValue, options);
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OIDCConnectionConfig {
|
|
2180
|
-
return new OIDCConnectionConfig().fromJsonString(jsonString, options);
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
static equals(a: OIDCConnectionConfig | PlainMessage<OIDCConnectionConfig> | undefined, b: OIDCConnectionConfig | PlainMessage<OIDCConnectionConfig> | undefined): boolean {
|
|
2184
|
-
return proto3.util.equals(OIDCConnectionConfig, a, b);
|
|
2185
|
-
}
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
|
-
/**
|
|
2189
|
-
* @generated from message scalekit.v1.connections.OAuthConnectionConfig
|
|
2190
|
-
*/
|
|
2191
|
-
export class OAuthConnectionConfig extends Message<OAuthConnectionConfig> {
|
|
2192
|
-
/**
|
|
2193
|
-
* @generated from field: google.protobuf.StringValue authorize_uri = 3;
|
|
2194
|
-
*/
|
|
2195
|
-
authorizeUri?: string;
|
|
2196
|
-
|
|
2197
|
-
/**
|
|
2198
|
-
* @generated from field: google.protobuf.StringValue token_uri = 4;
|
|
2199
|
-
*/
|
|
2200
|
-
tokenUri?: string;
|
|
2201
|
-
|
|
2202
|
-
/**
|
|
2203
|
-
* @generated from field: google.protobuf.StringValue user_info_uri = 5;
|
|
2204
|
-
*/
|
|
2205
|
-
userInfoUri?: string;
|
|
2206
|
-
|
|
2207
|
-
/**
|
|
2208
|
-
* @generated from field: google.protobuf.StringValue client_id = 8;
|
|
2209
|
-
*/
|
|
2210
|
-
clientId?: string;
|
|
2211
|
-
|
|
2212
|
-
/**
|
|
2213
|
-
* @generated from field: google.protobuf.StringValue client_secret = 9;
|
|
2214
|
-
*/
|
|
2215
|
-
clientSecret?: string;
|
|
2216
|
-
|
|
2217
|
-
/**
|
|
2218
|
-
* @generated from field: repeated string scopes = 10;
|
|
2219
|
-
*/
|
|
2220
|
-
scopes: string[] = [];
|
|
2221
|
-
|
|
2222
|
-
/**
|
|
2223
|
-
* @generated from field: string redirect_uri = 12;
|
|
2224
|
-
*/
|
|
2225
|
-
redirectUri = "";
|
|
2226
|
-
|
|
2227
|
-
/**
|
|
2228
|
-
* @generated from field: google.protobuf.BoolValue pkce_enabled = 13;
|
|
2229
|
-
*/
|
|
2230
|
-
pkceEnabled?: boolean;
|
|
2231
|
-
|
|
2232
|
-
/**
|
|
2233
|
-
* @generated from field: google.protobuf.StringValue prompt = 14;
|
|
2234
|
-
*/
|
|
2235
|
-
prompt?: string;
|
|
2236
|
-
|
|
2237
|
-
/**
|
|
2238
|
-
* @generated from field: google.protobuf.BoolValue use_platform_creds = 15;
|
|
2239
|
-
*/
|
|
2240
|
-
usePlatformCreds?: boolean;
|
|
2241
|
-
|
|
2242
|
-
/**
|
|
2243
|
-
* @generated from field: google.protobuf.StringValue access_type = 16;
|
|
2244
|
-
*/
|
|
2245
|
-
accessType?: string;
|
|
2246
|
-
|
|
2247
|
-
/**
|
|
2248
|
-
* @generated from field: google.protobuf.StringValue custom_scope_name = 17;
|
|
2249
|
-
*/
|
|
2250
|
-
customScopeName?: string;
|
|
2251
|
-
|
|
2252
|
-
/**
|
|
2253
|
-
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 18;
|
|
2254
|
-
*/
|
|
2255
|
-
syncUserProfileOnLogin?: boolean;
|
|
2256
|
-
|
|
2257
|
-
constructor(data?: PartialMessage<OAuthConnectionConfig>) {
|
|
2258
|
-
super();
|
|
2259
|
-
proto3.util.initPartial(data, this);
|
|
2260
|
-
}
|
|
2261
|
-
|
|
2262
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2263
|
-
static readonly typeName = "scalekit.v1.connections.OAuthConnectionConfig";
|
|
2264
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2265
|
-
{ no: 3, name: "authorize_uri", kind: "message", T: StringValue },
|
|
2266
|
-
{ no: 4, name: "token_uri", kind: "message", T: StringValue },
|
|
2267
|
-
{ no: 5, name: "user_info_uri", kind: "message", T: StringValue },
|
|
2268
|
-
{ no: 8, name: "client_id", kind: "message", T: StringValue },
|
|
2269
|
-
{ no: 9, name: "client_secret", kind: "message", T: StringValue },
|
|
2270
|
-
{ no: 10, name: "scopes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2271
|
-
{ no: 12, name: "redirect_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2272
|
-
{ no: 13, name: "pkce_enabled", kind: "message", T: BoolValue },
|
|
2273
|
-
{ no: 14, name: "prompt", kind: "message", T: StringValue },
|
|
2274
|
-
{ no: 15, name: "use_platform_creds", kind: "message", T: BoolValue },
|
|
2275
|
-
{ no: 16, name: "access_type", kind: "message", T: StringValue },
|
|
2276
|
-
{ no: 17, name: "custom_scope_name", kind: "message", T: StringValue },
|
|
2277
|
-
{ no: 18, name: "sync_user_profile_on_login", kind: "message", T: BoolValue },
|
|
2278
|
-
]);
|
|
2279
|
-
|
|
2280
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuthConnectionConfig {
|
|
2281
|
-
return new OAuthConnectionConfig().fromBinary(bytes, options);
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OAuthConnectionConfig {
|
|
2285
|
-
return new OAuthConnectionConfig().fromJson(jsonValue, options);
|
|
2286
|
-
}
|
|
2287
|
-
|
|
2288
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OAuthConnectionConfig {
|
|
2289
|
-
return new OAuthConnectionConfig().fromJsonString(jsonString, options);
|
|
2290
|
-
}
|
|
2291
|
-
|
|
2292
|
-
static equals(a: OAuthConnectionConfig | PlainMessage<OAuthConnectionConfig> | undefined, b: OAuthConnectionConfig | PlainMessage<OAuthConnectionConfig> | undefined): boolean {
|
|
2293
|
-
return proto3.util.equals(OAuthConnectionConfig, a, b);
|
|
2294
|
-
}
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
/**
|
|
2298
|
-
* @generated from message scalekit.v1.connections.PasswordLessConfig
|
|
2299
|
-
*/
|
|
2300
|
-
export class PasswordLessConfig extends Message<PasswordLessConfig> {
|
|
2301
|
-
/**
|
|
2302
|
-
* @generated from field: scalekit.v1.connections.PasswordlessType type = 1;
|
|
2303
|
-
*/
|
|
2304
|
-
type = PasswordlessType.PasswordlessType_UNSPECIFIED;
|
|
2305
|
-
|
|
2306
|
-
/**
|
|
2307
|
-
* @generated from field: optional google.protobuf.UInt32Value frequency = 2;
|
|
2308
|
-
*/
|
|
2309
|
-
frequency?: number;
|
|
2310
|
-
|
|
2311
|
-
/**
|
|
2312
|
-
* @generated from field: optional google.protobuf.UInt32Value validity = 3;
|
|
2313
|
-
*/
|
|
2314
|
-
validity?: number;
|
|
2315
|
-
|
|
2316
|
-
/**
|
|
2317
|
-
* @generated from field: optional google.protobuf.BoolValue enforce_same_browser_origin = 4;
|
|
2318
|
-
*/
|
|
2319
|
-
enforceSameBrowserOrigin?: boolean;
|
|
2320
|
-
|
|
2321
|
-
/**
|
|
2322
|
-
* @generated from field: optional google.protobuf.UInt32Value code_challenge_length = 5;
|
|
2323
|
-
*/
|
|
2324
|
-
codeChallengeLength?: number;
|
|
2325
|
-
|
|
2326
|
-
/**
|
|
2327
|
-
* @generated from field: optional scalekit.v1.connections.CodeChallengeType code_challenge_type = 6;
|
|
2328
|
-
*/
|
|
2329
|
-
codeChallengeType?: CodeChallengeType;
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* @generated from field: optional google.protobuf.BoolValue regenerate_passwordless_credentials_on_resend = 7;
|
|
2333
|
-
*/
|
|
2334
|
-
regeneratePasswordlessCredentialsOnResend?: boolean;
|
|
2335
|
-
|
|
2336
|
-
constructor(data?: PartialMessage<PasswordLessConfig>) {
|
|
2337
|
-
super();
|
|
2338
|
-
proto3.util.initPartial(data, this);
|
|
2339
|
-
}
|
|
2340
|
-
|
|
2341
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2342
|
-
static readonly typeName = "scalekit.v1.connections.PasswordLessConfig";
|
|
2343
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2344
|
-
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(PasswordlessType) },
|
|
2345
|
-
{ no: 2, name: "frequency", kind: "message", T: UInt32Value, opt: true },
|
|
2346
|
-
{ no: 3, name: "validity", kind: "message", T: UInt32Value, opt: true },
|
|
2347
|
-
{ no: 4, name: "enforce_same_browser_origin", kind: "message", T: BoolValue, opt: true },
|
|
2348
|
-
{ no: 5, name: "code_challenge_length", kind: "message", T: UInt32Value, opt: true },
|
|
2349
|
-
{ no: 6, name: "code_challenge_type", kind: "enum", T: proto3.getEnumType(CodeChallengeType), opt: true },
|
|
2350
|
-
{ no: 7, name: "regenerate_passwordless_credentials_on_resend", kind: "message", T: BoolValue, opt: true },
|
|
2351
|
-
]);
|
|
2352
|
-
|
|
2353
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PasswordLessConfig {
|
|
2354
|
-
return new PasswordLessConfig().fromBinary(bytes, options);
|
|
2355
|
-
}
|
|
2356
|
-
|
|
2357
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PasswordLessConfig {
|
|
2358
|
-
return new PasswordLessConfig().fromJson(jsonValue, options);
|
|
2359
|
-
}
|
|
2360
|
-
|
|
2361
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PasswordLessConfig {
|
|
2362
|
-
return new PasswordLessConfig().fromJsonString(jsonString, options);
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2365
|
-
static equals(a: PasswordLessConfig | PlainMessage<PasswordLessConfig> | undefined, b: PasswordLessConfig | PlainMessage<PasswordLessConfig> | undefined): boolean {
|
|
2366
|
-
return proto3.util.equals(PasswordLessConfig, a, b);
|
|
2367
|
-
}
|
|
2368
|
-
}
|
|
2369
|
-
|
|
2370
|
-
/**
|
|
2371
|
-
* @generated from message scalekit.v1.connections.StaticAuthConfig
|
|
2372
|
-
*/
|
|
2373
|
-
export class StaticAuthConfig extends Message<StaticAuthConfig> {
|
|
2374
|
-
/**
|
|
2375
|
-
* @generated from field: google.protobuf.Struct static_config = 1;
|
|
2376
|
-
*/
|
|
2377
|
-
staticConfig?: Struct;
|
|
2378
|
-
|
|
2379
|
-
constructor(data?: PartialMessage<StaticAuthConfig>) {
|
|
2380
|
-
super();
|
|
2381
|
-
proto3.util.initPartial(data, this);
|
|
2382
|
-
}
|
|
2383
|
-
|
|
2384
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2385
|
-
static readonly typeName = "scalekit.v1.connections.StaticAuthConfig";
|
|
2386
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2387
|
-
{ no: 1, name: "static_config", kind: "message", T: Struct },
|
|
2388
|
-
]);
|
|
2389
|
-
|
|
2390
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StaticAuthConfig {
|
|
2391
|
-
return new StaticAuthConfig().fromBinary(bytes, options);
|
|
2392
|
-
}
|
|
2393
|
-
|
|
2394
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StaticAuthConfig {
|
|
2395
|
-
return new StaticAuthConfig().fromJson(jsonValue, options);
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StaticAuthConfig {
|
|
2399
|
-
return new StaticAuthConfig().fromJsonString(jsonString, options);
|
|
2400
|
-
}
|
|
2401
|
-
|
|
2402
|
-
static equals(a: StaticAuthConfig | PlainMessage<StaticAuthConfig> | undefined, b: StaticAuthConfig | PlainMessage<StaticAuthConfig> | undefined): boolean {
|
|
2403
|
-
return proto3.util.equals(StaticAuthConfig, a, b);
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
|
|
2407
|
-
/**
|
|
2408
|
-
* WebAuthConfiguration defines WebAuthn (passkeys) configuration limited to RP and Attestation
|
|
2409
|
-
*
|
|
2410
|
-
* @generated from message scalekit.v1.connections.WebAuthConfiguration
|
|
2411
|
-
*/
|
|
2412
|
-
export class WebAuthConfiguration extends Message<WebAuthConfiguration> {
|
|
2413
|
-
/**
|
|
2414
|
-
* @generated from field: scalekit.v1.connections.WebAuthConfiguration.Rp rp = 1;
|
|
2415
|
-
*/
|
|
2416
|
-
rp?: WebAuthConfiguration_Rp;
|
|
2417
|
-
|
|
2418
|
-
/**
|
|
2419
|
-
* @generated from field: scalekit.v1.connections.WebAuthConfiguration.Attestation attestation = 2;
|
|
2420
|
-
*/
|
|
2421
|
-
attestation?: WebAuthConfiguration_Attestation;
|
|
2422
|
-
|
|
2423
|
-
/**
|
|
2424
|
-
* @generated from field: scalekit.v1.connections.WebAuthConfiguration.Authenticators authenticators = 3;
|
|
2425
|
-
*/
|
|
2426
|
-
authenticators?: WebAuthConfiguration_Authenticators;
|
|
2427
|
-
|
|
2428
|
-
/**
|
|
2429
|
-
* @generated from field: scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection authenticator_selection = 4;
|
|
2430
|
-
*/
|
|
2431
|
-
authenticatorSelection?: WebAuthConfiguration_AuthenticatorSelection;
|
|
2432
|
-
|
|
2433
|
-
/**
|
|
2434
|
-
* @generated from field: scalekit.v1.connections.WebAuthConfiguration.Timeout timeout = 5;
|
|
2435
|
-
*/
|
|
2436
|
-
timeout?: WebAuthConfiguration_Timeout;
|
|
2437
|
-
|
|
2438
|
-
/**
|
|
2439
|
-
* @generated from field: bool enable_auto_registration = 6;
|
|
2440
|
-
*/
|
|
2441
|
-
enableAutoRegistration = false;
|
|
2442
|
-
|
|
2443
|
-
/**
|
|
2444
|
-
* @generated from field: bool show_passkey_button = 7;
|
|
2445
|
-
*/
|
|
2446
|
-
showPasskeyButton = false;
|
|
2447
|
-
|
|
2448
|
-
/**
|
|
2449
|
-
* @generated from field: bool enable_conditional_login = 8;
|
|
2450
|
-
*/
|
|
2451
|
-
enableConditionalLogin = false;
|
|
2452
|
-
|
|
2453
|
-
constructor(data?: PartialMessage<WebAuthConfiguration>) {
|
|
2454
|
-
super();
|
|
2455
|
-
proto3.util.initPartial(data, this);
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2459
|
-
static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration";
|
|
2460
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2461
|
-
{ no: 1, name: "rp", kind: "message", T: WebAuthConfiguration_Rp },
|
|
2462
|
-
{ no: 2, name: "attestation", kind: "message", T: WebAuthConfiguration_Attestation },
|
|
2463
|
-
{ no: 3, name: "authenticators", kind: "message", T: WebAuthConfiguration_Authenticators },
|
|
2464
|
-
{ no: 4, name: "authenticator_selection", kind: "message", T: WebAuthConfiguration_AuthenticatorSelection },
|
|
2465
|
-
{ no: 5, name: "timeout", kind: "message", T: WebAuthConfiguration_Timeout },
|
|
2466
|
-
{ no: 6, name: "enable_auto_registration", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2467
|
-
{ no: 7, name: "show_passkey_button", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2468
|
-
{ no: 8, name: "enable_conditional_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2469
|
-
]);
|
|
2470
|
-
|
|
2471
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration {
|
|
2472
|
-
return new WebAuthConfiguration().fromBinary(bytes, options);
|
|
2473
|
-
}
|
|
2474
|
-
|
|
2475
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration {
|
|
2476
|
-
return new WebAuthConfiguration().fromJson(jsonValue, options);
|
|
2477
|
-
}
|
|
2478
|
-
|
|
2479
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration {
|
|
2480
|
-
return new WebAuthConfiguration().fromJsonString(jsonString, options);
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
static equals(a: WebAuthConfiguration | PlainMessage<WebAuthConfiguration> | undefined, b: WebAuthConfiguration | PlainMessage<WebAuthConfiguration> | undefined): boolean {
|
|
2484
|
-
return proto3.util.equals(WebAuthConfiguration, a, b);
|
|
2485
|
-
}
|
|
2486
|
-
}
|
|
2487
|
-
|
|
2488
|
-
/**
|
|
2489
|
-
* Rp contains relying party identifiers and origins
|
|
2490
|
-
*
|
|
2491
|
-
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Rp
|
|
2492
|
-
*/
|
|
2493
|
-
export class WebAuthConfiguration_Rp extends Message<WebAuthConfiguration_Rp> {
|
|
2494
|
-
/**
|
|
2495
|
-
* Relying party IDs (derived from environment domain and verified custom domain)
|
|
2496
|
-
* At least one required; must be hostnames without scheme or path
|
|
2497
|
-
*
|
|
2498
|
-
* @generated from field: repeated string ids = 1;
|
|
2499
|
-
*/
|
|
2500
|
-
ids: string[] = [];
|
|
2501
|
-
|
|
2502
|
-
/**
|
|
2503
|
-
* Allowed origins corresponding to the RP IDs (https://<domain>)
|
|
2504
|
-
* At least one required; must be HTTPS origins
|
|
2505
|
-
*
|
|
2506
|
-
* @generated from field: repeated string origins = 2;
|
|
2507
|
-
*/
|
|
2508
|
-
origins: string[] = [];
|
|
2509
|
-
|
|
2510
|
-
constructor(data?: PartialMessage<WebAuthConfiguration_Rp>) {
|
|
2511
|
-
super();
|
|
2512
|
-
proto3.util.initPartial(data, this);
|
|
2513
|
-
}
|
|
2514
|
-
|
|
2515
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2516
|
-
static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Rp";
|
|
2517
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2518
|
-
{ no: 1, name: "ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2519
|
-
{ no: 2, name: "origins", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2520
|
-
]);
|
|
2521
|
-
|
|
2522
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Rp {
|
|
2523
|
-
return new WebAuthConfiguration_Rp().fromBinary(bytes, options);
|
|
2524
|
-
}
|
|
2525
|
-
|
|
2526
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Rp {
|
|
2527
|
-
return new WebAuthConfiguration_Rp().fromJson(jsonValue, options);
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Rp {
|
|
2531
|
-
return new WebAuthConfiguration_Rp().fromJsonString(jsonString, options);
|
|
2532
|
-
}
|
|
2533
|
-
|
|
2534
|
-
static equals(a: WebAuthConfiguration_Rp | PlainMessage<WebAuthConfiguration_Rp> | undefined, b: WebAuthConfiguration_Rp | PlainMessage<WebAuthConfiguration_Rp> | undefined): boolean {
|
|
2535
|
-
return proto3.util.equals(WebAuthConfiguration_Rp, a, b);
|
|
2536
|
-
}
|
|
2537
|
-
}
|
|
2538
|
-
|
|
2539
|
-
/**
|
|
2540
|
-
* Attestation preferences for registration
|
|
2541
|
-
*
|
|
2542
|
-
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Attestation
|
|
2543
|
-
*/
|
|
2544
|
-
export class WebAuthConfiguration_Attestation extends Message<WebAuthConfiguration_Attestation> {
|
|
2545
|
-
/**
|
|
2546
|
-
* Conveyance preference
|
|
2547
|
-
*
|
|
2548
|
-
* @generated from field: google.protobuf.StringValue conveyance_preference = 1;
|
|
2549
|
-
*/
|
|
2550
|
-
conveyancePreference?: string;
|
|
2551
|
-
|
|
2552
|
-
/**
|
|
2553
|
-
* Enterprise-approved IDs (optional allowlist when enterprise attestation is used)
|
|
2554
|
-
*
|
|
2555
|
-
* @generated from field: repeated string enterprise_approved_ids = 2;
|
|
2556
|
-
*/
|
|
2557
|
-
enterpriseApprovedIds: string[] = [];
|
|
2558
|
-
|
|
2559
|
-
constructor(data?: PartialMessage<WebAuthConfiguration_Attestation>) {
|
|
2560
|
-
super();
|
|
2561
|
-
proto3.util.initPartial(data, this);
|
|
2562
|
-
}
|
|
2563
|
-
|
|
2564
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2565
|
-
static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Attestation";
|
|
2566
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2567
|
-
{ no: 1, name: "conveyance_preference", kind: "message", T: StringValue },
|
|
2568
|
-
{ no: 2, name: "enterprise_approved_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2569
|
-
]);
|
|
2570
|
-
|
|
2571
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Attestation {
|
|
2572
|
-
return new WebAuthConfiguration_Attestation().fromBinary(bytes, options);
|
|
2573
|
-
}
|
|
2574
|
-
|
|
2575
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Attestation {
|
|
2576
|
-
return new WebAuthConfiguration_Attestation().fromJson(jsonValue, options);
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Attestation {
|
|
2580
|
-
return new WebAuthConfiguration_Attestation().fromJsonString(jsonString, options);
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
|
-
static equals(a: WebAuthConfiguration_Attestation | PlainMessage<WebAuthConfiguration_Attestation> | undefined, b: WebAuthConfiguration_Attestation | PlainMessage<WebAuthConfiguration_Attestation> | undefined): boolean {
|
|
2584
|
-
return proto3.util.equals(WebAuthConfiguration_Attestation, a, b);
|
|
2585
|
-
}
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
/**
|
|
2589
|
-
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Authenticators
|
|
2590
|
-
*/
|
|
2591
|
-
export class WebAuthConfiguration_Authenticators extends Message<WebAuthConfiguration_Authenticators> {
|
|
2592
|
-
/**
|
|
2593
|
-
* @generated from field: google.protobuf.BoolValue validate_entry = 1;
|
|
2594
|
-
*/
|
|
2595
|
-
validateEntry?: boolean;
|
|
2596
|
-
|
|
2597
|
-
/**
|
|
2598
|
-
* @generated from field: google.protobuf.BoolValue validate_entry_permit_zero_aaguid = 2;
|
|
2599
|
-
*/
|
|
2600
|
-
validateEntryPermitZeroAaguid?: boolean;
|
|
2601
|
-
|
|
2602
|
-
/**
|
|
2603
|
-
* @generated from field: google.protobuf.BoolValue validate_anchors = 3;
|
|
2604
|
-
*/
|
|
2605
|
-
validateAnchors?: boolean;
|
|
2606
|
-
|
|
2607
|
-
/**
|
|
2608
|
-
* @generated from field: google.protobuf.BoolValue validate_status = 4;
|
|
2609
|
-
*/
|
|
2610
|
-
validateStatus?: boolean;
|
|
2611
|
-
|
|
2612
|
-
/**
|
|
2613
|
-
* @generated from field: google.protobuf.BoolValue validate_attestation_type = 5;
|
|
2614
|
-
*/
|
|
2615
|
-
validateAttestationType?: boolean;
|
|
2616
|
-
|
|
2617
|
-
/**
|
|
2618
|
-
* @generated from field: repeated string desired_authenticator_status = 6;
|
|
2619
|
-
*/
|
|
2620
|
-
desiredAuthenticatorStatus: string[] = [];
|
|
2621
|
-
|
|
2622
|
-
/**
|
|
2623
|
-
* @generated from field: repeated string undesired_authenticator_status = 7;
|
|
2624
|
-
*/
|
|
2625
|
-
undesiredAuthenticatorStatus: string[] = [];
|
|
2626
|
-
|
|
2627
|
-
constructor(data?: PartialMessage<WebAuthConfiguration_Authenticators>) {
|
|
2628
|
-
super();
|
|
2629
|
-
proto3.util.initPartial(data, this);
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2633
|
-
static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Authenticators";
|
|
2634
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2635
|
-
{ no: 1, name: "validate_entry", kind: "message", T: BoolValue },
|
|
2636
|
-
{ no: 2, name: "validate_entry_permit_zero_aaguid", kind: "message", T: BoolValue },
|
|
2637
|
-
{ no: 3, name: "validate_anchors", kind: "message", T: BoolValue },
|
|
2638
|
-
{ no: 4, name: "validate_status", kind: "message", T: BoolValue },
|
|
2639
|
-
{ no: 5, name: "validate_attestation_type", kind: "message", T: BoolValue },
|
|
2640
|
-
{ no: 6, name: "desired_authenticator_status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2641
|
-
{ no: 7, name: "undesired_authenticator_status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2642
|
-
]);
|
|
2643
|
-
|
|
2644
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Authenticators {
|
|
2645
|
-
return new WebAuthConfiguration_Authenticators().fromBinary(bytes, options);
|
|
2646
|
-
}
|
|
2647
|
-
|
|
2648
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Authenticators {
|
|
2649
|
-
return new WebAuthConfiguration_Authenticators().fromJson(jsonValue, options);
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2652
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Authenticators {
|
|
2653
|
-
return new WebAuthConfiguration_Authenticators().fromJsonString(jsonString, options);
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
|
-
static equals(a: WebAuthConfiguration_Authenticators | PlainMessage<WebAuthConfiguration_Authenticators> | undefined, b: WebAuthConfiguration_Authenticators | PlainMessage<WebAuthConfiguration_Authenticators> | undefined): boolean {
|
|
2657
|
-
return proto3.util.equals(WebAuthConfiguration_Authenticators, a, b);
|
|
2658
|
-
}
|
|
2659
|
-
}
|
|
2660
|
-
|
|
2661
|
-
/**
|
|
2662
|
-
* @generated from message scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection
|
|
2663
|
-
*/
|
|
2664
|
-
export class WebAuthConfiguration_AuthenticatorSelection extends Message<WebAuthConfiguration_AuthenticatorSelection> {
|
|
2665
|
-
/**
|
|
2666
|
-
* User verification requirement
|
|
2667
|
-
*
|
|
2668
|
-
* @generated from field: google.protobuf.StringValue user_verification = 1;
|
|
2669
|
-
*/
|
|
2670
|
-
userVerification?: string;
|
|
2671
|
-
|
|
2672
|
-
/**
|
|
2673
|
-
* @generated from field: google.protobuf.StringValue authenticator_attachment = 2;
|
|
2674
|
-
*/
|
|
2675
|
-
authenticatorAttachment?: string;
|
|
2676
|
-
|
|
2677
|
-
constructor(data?: PartialMessage<WebAuthConfiguration_AuthenticatorSelection>) {
|
|
2678
|
-
super();
|
|
2679
|
-
proto3.util.initPartial(data, this);
|
|
2680
|
-
}
|
|
2681
|
-
|
|
2682
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2683
|
-
static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection";
|
|
2684
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2685
|
-
{ no: 1, name: "user_verification", kind: "message", T: StringValue },
|
|
2686
|
-
{ no: 2, name: "authenticator_attachment", kind: "message", T: StringValue },
|
|
2687
|
-
]);
|
|
2688
|
-
|
|
2689
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_AuthenticatorSelection {
|
|
2690
|
-
return new WebAuthConfiguration_AuthenticatorSelection().fromBinary(bytes, options);
|
|
2691
|
-
}
|
|
2692
|
-
|
|
2693
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_AuthenticatorSelection {
|
|
2694
|
-
return new WebAuthConfiguration_AuthenticatorSelection().fromJson(jsonValue, options);
|
|
2695
|
-
}
|
|
2696
|
-
|
|
2697
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_AuthenticatorSelection {
|
|
2698
|
-
return new WebAuthConfiguration_AuthenticatorSelection().fromJsonString(jsonString, options);
|
|
2699
|
-
}
|
|
2700
|
-
|
|
2701
|
-
static equals(a: WebAuthConfiguration_AuthenticatorSelection | PlainMessage<WebAuthConfiguration_AuthenticatorSelection> | undefined, b: WebAuthConfiguration_AuthenticatorSelection | PlainMessage<WebAuthConfiguration_AuthenticatorSelection> | undefined): boolean {
|
|
2702
|
-
return proto3.util.equals(WebAuthConfiguration_AuthenticatorSelection, a, b);
|
|
2703
|
-
}
|
|
2704
|
-
}
|
|
2705
|
-
|
|
2706
|
-
/**
|
|
2707
|
-
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Timeout
|
|
2708
|
-
*/
|
|
2709
|
-
export class WebAuthConfiguration_Timeout extends Message<WebAuthConfiguration_Timeout> {
|
|
2710
|
-
/**
|
|
2711
|
-
* @generated from field: google.protobuf.Duration registration = 1;
|
|
2712
|
-
*/
|
|
2713
|
-
registration?: Duration;
|
|
2714
|
-
|
|
2715
|
-
/**
|
|
2716
|
-
* @generated from field: google.protobuf.Duration registration_uvd = 2;
|
|
2717
|
-
*/
|
|
2718
|
-
registrationUvd?: Duration;
|
|
2719
|
-
|
|
2720
|
-
/**
|
|
2721
|
-
* @generated from field: google.protobuf.Duration login = 3;
|
|
2722
|
-
*/
|
|
2723
|
-
login?: Duration;
|
|
2724
|
-
|
|
2725
|
-
/**
|
|
2726
|
-
* @generated from field: google.protobuf.Duration login_uvd = 4;
|
|
2727
|
-
*/
|
|
2728
|
-
loginUvd?: Duration;
|
|
2729
|
-
|
|
2730
|
-
constructor(data?: PartialMessage<WebAuthConfiguration_Timeout>) {
|
|
2731
|
-
super();
|
|
2732
|
-
proto3.util.initPartial(data, this);
|
|
2733
|
-
}
|
|
2734
|
-
|
|
2735
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2736
|
-
static readonly typeName = "scalekit.v1.connections.WebAuthConfiguration.Timeout";
|
|
2737
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2738
|
-
{ no: 1, name: "registration", kind: "message", T: Duration },
|
|
2739
|
-
{ no: 2, name: "registration_uvd", kind: "message", T: Duration },
|
|
2740
|
-
{ no: 3, name: "login", kind: "message", T: Duration },
|
|
2741
|
-
{ no: 4, name: "login_uvd", kind: "message", T: Duration },
|
|
2742
|
-
]);
|
|
2743
|
-
|
|
2744
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebAuthConfiguration_Timeout {
|
|
2745
|
-
return new WebAuthConfiguration_Timeout().fromBinary(bytes, options);
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Timeout {
|
|
2749
|
-
return new WebAuthConfiguration_Timeout().fromJson(jsonValue, options);
|
|
2750
|
-
}
|
|
2751
|
-
|
|
2752
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebAuthConfiguration_Timeout {
|
|
2753
|
-
return new WebAuthConfiguration_Timeout().fromJsonString(jsonString, options);
|
|
2754
|
-
}
|
|
2755
|
-
|
|
2756
|
-
static equals(a: WebAuthConfiguration_Timeout | PlainMessage<WebAuthConfiguration_Timeout> | undefined, b: WebAuthConfiguration_Timeout | PlainMessage<WebAuthConfiguration_Timeout> | undefined): boolean {
|
|
2757
|
-
return proto3.util.equals(WebAuthConfiguration_Timeout, a, b);
|
|
2758
|
-
}
|
|
2759
|
-
}
|
|
2760
|
-
|
|
2761
|
-
/**
|
|
2762
|
-
* @generated from message scalekit.v1.connections.SAMLConnectionConfigRequest
|
|
2763
|
-
*/
|
|
2764
|
-
export class SAMLConnectionConfigRequest extends Message<SAMLConnectionConfigRequest> {
|
|
2765
|
-
/**
|
|
2766
|
-
* @generated from field: google.protobuf.StringValue idp_metadata_url = 1;
|
|
2767
|
-
*/
|
|
2768
|
-
idpMetadataUrl?: string;
|
|
2769
|
-
|
|
2770
|
-
/**
|
|
2771
|
-
* @generated from field: google.protobuf.StringValue idp_entity_id = 2;
|
|
2772
|
-
*/
|
|
2773
|
-
idpEntityId?: string;
|
|
2774
|
-
|
|
2775
|
-
/**
|
|
2776
|
-
* @generated from field: google.protobuf.StringValue idp_sso_url = 3;
|
|
2777
|
-
*/
|
|
2778
|
-
idpSsoUrl?: string;
|
|
2779
|
-
|
|
2780
|
-
/**
|
|
2781
|
-
* @generated from field: google.protobuf.StringValue idp_certificate = 4;
|
|
2782
|
-
*/
|
|
2783
|
-
idpCertificate?: string;
|
|
2784
|
-
|
|
2785
|
-
/**
|
|
2786
|
-
* @generated from field: google.protobuf.StringValue idp_slo_url = 5;
|
|
2787
|
-
*/
|
|
2788
|
-
idpSloUrl?: string;
|
|
2789
|
-
|
|
2790
|
-
/**
|
|
2791
|
-
* @generated from field: google.protobuf.StringValue ui_button_title = 6;
|
|
2792
|
-
*/
|
|
2793
|
-
uiButtonTitle?: string;
|
|
2794
|
-
|
|
2795
|
-
/**
|
|
2796
|
-
* @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 7;
|
|
2797
|
-
*/
|
|
2798
|
-
idpNameIdFormat = NameIdFormat.NAME_ID_FORMAT_NIL;
|
|
2799
|
-
|
|
2800
|
-
/**
|
|
2801
|
-
* @generated from field: scalekit.v1.connections.RequestBinding idp_sso_request_binding = 8;
|
|
2802
|
-
*/
|
|
2803
|
-
idpSsoRequestBinding = RequestBinding.REQUEST_BINDING_UNSPECIFIED;
|
|
2804
|
-
|
|
2805
|
-
/**
|
|
2806
|
-
* @generated from field: scalekit.v1.connections.RequestBinding idp_slo_request_binding = 9;
|
|
2807
|
-
*/
|
|
2808
|
-
idpSloRequestBinding = RequestBinding.REQUEST_BINDING_UNSPECIFIED;
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
* @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 10;
|
|
2812
|
-
*/
|
|
2813
|
-
samlSigningOption = SAMLSigningOptions.SAML_SIGNING_OPTIONS_UNSPECIFIED;
|
|
2814
|
-
|
|
2815
|
-
/**
|
|
2816
|
-
* @generated from field: google.protobuf.BoolValue force_authn = 14;
|
|
2817
|
-
*/
|
|
2818
|
-
forceAuthn?: boolean;
|
|
2819
|
-
|
|
2820
|
-
/**
|
|
2821
|
-
* @generated from field: google.protobuf.StringValue default_redirect_uri = 15;
|
|
2822
|
-
*/
|
|
2823
|
-
defaultRedirectUri?: string;
|
|
2824
|
-
|
|
2825
|
-
/**
|
|
2826
|
-
* @generated from field: google.protobuf.BoolValue assertion_encrypted = 16;
|
|
2827
|
-
*/
|
|
2828
|
-
assertionEncrypted?: boolean;
|
|
2829
|
-
|
|
2830
|
-
/**
|
|
2831
|
-
* @generated from field: google.protobuf.BoolValue want_request_signed = 17;
|
|
2832
|
-
*/
|
|
2833
|
-
wantRequestSigned?: boolean;
|
|
2834
|
-
|
|
2835
|
-
/**
|
|
2836
|
-
* @generated from field: google.protobuf.StringValue certificate_id = 18;
|
|
2837
|
-
*/
|
|
2838
|
-
certificateId?: string;
|
|
2839
|
-
|
|
2840
|
-
/**
|
|
2841
|
-
* @generated from field: google.protobuf.BoolValue idp_slo_required = 19;
|
|
2842
|
-
*/
|
|
2843
|
-
idpSloRequired?: boolean;
|
|
2844
|
-
|
|
2845
|
-
/**
|
|
2846
|
-
* @generated from field: google.protobuf.StringValue sp_entity_id = 20;
|
|
2847
|
-
*/
|
|
2848
|
-
spEntityId?: string;
|
|
2849
|
-
|
|
2850
|
-
/**
|
|
2851
|
-
* @generated from field: google.protobuf.StringValue sp_assertion_url = 21;
|
|
2852
|
-
*/
|
|
2853
|
-
spAssertionUrl?: string;
|
|
2854
|
-
|
|
2855
|
-
/**
|
|
2856
|
-
* @generated from field: google.protobuf.StringValue sp_slo_url = 22;
|
|
2857
|
-
*/
|
|
2858
|
-
spSloUrl?: string;
|
|
2859
|
-
|
|
2860
|
-
/**
|
|
2861
|
-
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 23;
|
|
2862
|
-
*/
|
|
2863
|
-
syncUserProfileOnLogin?: boolean;
|
|
2864
|
-
|
|
2865
|
-
/**
|
|
2866
|
-
* @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 24;
|
|
2867
|
-
*/
|
|
2868
|
-
jitProvisioningWithSsoEnabled?: boolean;
|
|
2869
|
-
|
|
2870
|
-
constructor(data?: PartialMessage<SAMLConnectionConfigRequest>) {
|
|
2871
|
-
super();
|
|
2872
|
-
proto3.util.initPartial(data, this);
|
|
2873
|
-
}
|
|
2874
|
-
|
|
2875
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2876
|
-
static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigRequest";
|
|
2877
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2878
|
-
{ no: 1, name: "idp_metadata_url", kind: "message", T: StringValue },
|
|
2879
|
-
{ no: 2, name: "idp_entity_id", kind: "message", T: StringValue },
|
|
2880
|
-
{ no: 3, name: "idp_sso_url", kind: "message", T: StringValue },
|
|
2881
|
-
{ no: 4, name: "idp_certificate", kind: "message", T: StringValue },
|
|
2882
|
-
{ no: 5, name: "idp_slo_url", kind: "message", T: StringValue },
|
|
2883
|
-
{ no: 6, name: "ui_button_title", kind: "message", T: StringValue },
|
|
2884
|
-
{ no: 7, name: "idp_name_id_format", kind: "enum", T: proto3.getEnumType(NameIdFormat) },
|
|
2885
|
-
{ no: 8, name: "idp_sso_request_binding", kind: "enum", T: proto3.getEnumType(RequestBinding) },
|
|
2886
|
-
{ no: 9, name: "idp_slo_request_binding", kind: "enum", T: proto3.getEnumType(RequestBinding) },
|
|
2887
|
-
{ no: 10, name: "saml_signing_option", kind: "enum", T: proto3.getEnumType(SAMLSigningOptions) },
|
|
2888
|
-
{ no: 14, name: "force_authn", kind: "message", T: BoolValue },
|
|
2889
|
-
{ no: 15, name: "default_redirect_uri", kind: "message", T: StringValue },
|
|
2890
|
-
{ no: 16, name: "assertion_encrypted", kind: "message", T: BoolValue },
|
|
2891
|
-
{ no: 17, name: "want_request_signed", kind: "message", T: BoolValue },
|
|
2892
|
-
{ no: 18, name: "certificate_id", kind: "message", T: StringValue },
|
|
2893
|
-
{ no: 19, name: "idp_slo_required", kind: "message", T: BoolValue },
|
|
2894
|
-
{ no: 20, name: "sp_entity_id", kind: "message", T: StringValue },
|
|
2895
|
-
{ no: 21, name: "sp_assertion_url", kind: "message", T: StringValue },
|
|
2896
|
-
{ no: 22, name: "sp_slo_url", kind: "message", T: StringValue },
|
|
2897
|
-
{ no: 23, name: "sync_user_profile_on_login", kind: "message", T: BoolValue },
|
|
2898
|
-
{ no: 24, name: "jit_provisioning_with_sso_enabled", kind: "message", T: BoolValue },
|
|
2899
|
-
]);
|
|
2900
|
-
|
|
2901
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLConnectionConfigRequest {
|
|
2902
|
-
return new SAMLConnectionConfigRequest().fromBinary(bytes, options);
|
|
2903
|
-
}
|
|
2904
|
-
|
|
2905
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLConnectionConfigRequest {
|
|
2906
|
-
return new SAMLConnectionConfigRequest().fromJson(jsonValue, options);
|
|
2907
|
-
}
|
|
2908
|
-
|
|
2909
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLConnectionConfigRequest {
|
|
2910
|
-
return new SAMLConnectionConfigRequest().fromJsonString(jsonString, options);
|
|
2911
|
-
}
|
|
2912
|
-
|
|
2913
|
-
static equals(a: SAMLConnectionConfigRequest | PlainMessage<SAMLConnectionConfigRequest> | undefined, b: SAMLConnectionConfigRequest | PlainMessage<SAMLConnectionConfigRequest> | undefined): boolean {
|
|
2914
|
-
return proto3.util.equals(SAMLConnectionConfigRequest, a, b);
|
|
2915
|
-
}
|
|
2916
|
-
}
|
|
2917
|
-
|
|
2918
|
-
/**
|
|
2919
|
-
* @generated from message scalekit.v1.connections.SAMLConnectionConfigResponse
|
|
2920
|
-
*/
|
|
2921
|
-
export class SAMLConnectionConfigResponse extends Message<SAMLConnectionConfigResponse> {
|
|
2922
|
-
/**
|
|
2923
|
-
* @generated from field: string sp_entity_id = 1;
|
|
2924
|
-
*/
|
|
2925
|
-
spEntityId = "";
|
|
2926
|
-
|
|
2927
|
-
/**
|
|
2928
|
-
* @generated from field: string sp_assertion_url = 2;
|
|
2929
|
-
*/
|
|
2930
|
-
spAssertionUrl = "";
|
|
2931
|
-
|
|
2932
|
-
/**
|
|
2933
|
-
* @generated from field: string sp_metadata_url = 3;
|
|
2934
|
-
*/
|
|
2935
|
-
spMetadataUrl = "";
|
|
2936
|
-
|
|
2937
|
-
/**
|
|
2938
|
-
* @generated from field: google.protobuf.StringValue idp_metadata_url = 4;
|
|
2939
|
-
*/
|
|
2940
|
-
idpMetadataUrl?: string;
|
|
2941
|
-
|
|
2942
|
-
/**
|
|
2943
|
-
* @generated from field: google.protobuf.StringValue idp_entity_id = 5;
|
|
2944
|
-
*/
|
|
2945
|
-
idpEntityId?: string;
|
|
2946
|
-
|
|
2947
|
-
/**
|
|
2948
|
-
* @generated from field: google.protobuf.StringValue idp_sso_url = 6;
|
|
2949
|
-
*/
|
|
2950
|
-
idpSsoUrl?: string;
|
|
2951
|
-
|
|
2952
|
-
/**
|
|
2953
|
-
* @generated from field: repeated scalekit.v1.connections.IDPCertificate idp_certificates = 7;
|
|
2954
|
-
*/
|
|
2955
|
-
idpCertificates: IDPCertificate[] = [];
|
|
2956
|
-
|
|
2957
|
-
/**
|
|
2958
|
-
* @generated from field: google.protobuf.StringValue idp_slo_url = 8;
|
|
2959
|
-
*/
|
|
2960
|
-
idpSloUrl?: string;
|
|
2961
|
-
|
|
2962
|
-
/**
|
|
2963
|
-
* @generated from field: google.protobuf.StringValue ui_button_title = 9;
|
|
2964
|
-
*/
|
|
2965
|
-
uiButtonTitle?: string;
|
|
2966
|
-
|
|
2967
|
-
/**
|
|
2968
|
-
* @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 10;
|
|
2969
|
-
*/
|
|
2970
|
-
idpNameIdFormat = NameIdFormat.NAME_ID_FORMAT_NIL;
|
|
2971
|
-
|
|
2972
|
-
/**
|
|
2973
|
-
* @generated from field: scalekit.v1.connections.RequestBinding idp_sso_request_binding = 11;
|
|
2974
|
-
*/
|
|
2975
|
-
idpSsoRequestBinding = RequestBinding.REQUEST_BINDING_UNSPECIFIED;
|
|
2976
|
-
|
|
2977
|
-
/**
|
|
2978
|
-
* @generated from field: scalekit.v1.connections.RequestBinding idp_slo_request_binding = 12;
|
|
2979
|
-
*/
|
|
2980
|
-
idpSloRequestBinding = RequestBinding.REQUEST_BINDING_UNSPECIFIED;
|
|
2981
|
-
|
|
2982
|
-
/**
|
|
2983
|
-
* @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 13;
|
|
2984
|
-
*/
|
|
2985
|
-
samlSigningOption = SAMLSigningOptions.SAML_SIGNING_OPTIONS_UNSPECIFIED;
|
|
2986
|
-
|
|
2987
|
-
/**
|
|
2988
|
-
* @generated from field: google.protobuf.BoolValue allow_idp_initiated_login = 14;
|
|
2989
|
-
*/
|
|
2990
|
-
allowIdpInitiatedLogin?: boolean;
|
|
2991
|
-
|
|
2992
|
-
/**
|
|
2993
|
-
* @generated from field: google.protobuf.BoolValue force_authn = 15;
|
|
2994
|
-
*/
|
|
2995
|
-
forceAuthn?: boolean;
|
|
2996
|
-
|
|
2997
|
-
/**
|
|
2998
|
-
* @generated from field: google.protobuf.StringValue default_redirect_uri = 16;
|
|
2999
|
-
*/
|
|
3000
|
-
defaultRedirectUri?: string;
|
|
3001
|
-
|
|
3002
|
-
/**
|
|
3003
|
-
* @generated from field: google.protobuf.BoolValue assertion_encrypted = 17;
|
|
3004
|
-
*/
|
|
3005
|
-
assertionEncrypted?: boolean;
|
|
3006
|
-
|
|
3007
|
-
/**
|
|
3008
|
-
* @generated from field: google.protobuf.BoolValue want_request_signed = 18;
|
|
3009
|
-
*/
|
|
3010
|
-
wantRequestSigned?: boolean;
|
|
3011
|
-
|
|
3012
|
-
/**
|
|
3013
|
-
* @generated from field: google.protobuf.StringValue certificate_id = 19;
|
|
3014
|
-
*/
|
|
3015
|
-
certificateId?: string;
|
|
3016
|
-
|
|
3017
|
-
/**
|
|
3018
|
-
* @generated from field: google.protobuf.BoolValue idp_slo_required = 20;
|
|
3019
|
-
*/
|
|
3020
|
-
idpSloRequired?: boolean;
|
|
3021
|
-
|
|
3022
|
-
/**
|
|
3023
|
-
* @generated from field: google.protobuf.StringValue sp_slo_url = 21;
|
|
3024
|
-
*/
|
|
3025
|
-
spSloUrl?: string;
|
|
3026
|
-
|
|
3027
|
-
/**
|
|
3028
|
-
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 22;
|
|
3029
|
-
*/
|
|
3030
|
-
syncUserProfileOnLogin?: boolean;
|
|
3031
|
-
|
|
3032
|
-
/**
|
|
3033
|
-
* @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 23;
|
|
3034
|
-
*/
|
|
3035
|
-
jitProvisioningWithSsoEnabled?: boolean;
|
|
3036
|
-
|
|
3037
|
-
constructor(data?: PartialMessage<SAMLConnectionConfigResponse>) {
|
|
3038
|
-
super();
|
|
3039
|
-
proto3.util.initPartial(data, this);
|
|
3040
|
-
}
|
|
3041
|
-
|
|
3042
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3043
|
-
static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigResponse";
|
|
3044
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3045
|
-
{ no: 1, name: "sp_entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3046
|
-
{ no: 2, name: "sp_assertion_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3047
|
-
{ no: 3, name: "sp_metadata_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3048
|
-
{ no: 4, name: "idp_metadata_url", kind: "message", T: StringValue },
|
|
3049
|
-
{ no: 5, name: "idp_entity_id", kind: "message", T: StringValue },
|
|
3050
|
-
{ no: 6, name: "idp_sso_url", kind: "message", T: StringValue },
|
|
3051
|
-
{ no: 7, name: "idp_certificates", kind: "message", T: IDPCertificate, repeated: true },
|
|
3052
|
-
{ no: 8, name: "idp_slo_url", kind: "message", T: StringValue },
|
|
3053
|
-
{ no: 9, name: "ui_button_title", kind: "message", T: StringValue },
|
|
3054
|
-
{ no: 10, name: "idp_name_id_format", kind: "enum", T: proto3.getEnumType(NameIdFormat) },
|
|
3055
|
-
{ no: 11, name: "idp_sso_request_binding", kind: "enum", T: proto3.getEnumType(RequestBinding) },
|
|
3056
|
-
{ no: 12, name: "idp_slo_request_binding", kind: "enum", T: proto3.getEnumType(RequestBinding) },
|
|
3057
|
-
{ no: 13, name: "saml_signing_option", kind: "enum", T: proto3.getEnumType(SAMLSigningOptions) },
|
|
3058
|
-
{ no: 14, name: "allow_idp_initiated_login", kind: "message", T: BoolValue },
|
|
3059
|
-
{ no: 15, name: "force_authn", kind: "message", T: BoolValue },
|
|
3060
|
-
{ no: 16, name: "default_redirect_uri", kind: "message", T: StringValue },
|
|
3061
|
-
{ no: 17, name: "assertion_encrypted", kind: "message", T: BoolValue },
|
|
3062
|
-
{ no: 18, name: "want_request_signed", kind: "message", T: BoolValue },
|
|
3063
|
-
{ no: 19, name: "certificate_id", kind: "message", T: StringValue },
|
|
3064
|
-
{ no: 20, name: "idp_slo_required", kind: "message", T: BoolValue },
|
|
3065
|
-
{ no: 21, name: "sp_slo_url", kind: "message", T: StringValue },
|
|
3066
|
-
{ no: 22, name: "sync_user_profile_on_login", kind: "message", T: BoolValue },
|
|
3067
|
-
{ no: 23, name: "jit_provisioning_with_sso_enabled", kind: "message", T: BoolValue },
|
|
3068
|
-
]);
|
|
3069
|
-
|
|
3070
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLConnectionConfigResponse {
|
|
3071
|
-
return new SAMLConnectionConfigResponse().fromBinary(bytes, options);
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLConnectionConfigResponse {
|
|
3075
|
-
return new SAMLConnectionConfigResponse().fromJson(jsonValue, options);
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLConnectionConfigResponse {
|
|
3079
|
-
return new SAMLConnectionConfigResponse().fromJsonString(jsonString, options);
|
|
3080
|
-
}
|
|
3081
|
-
|
|
3082
|
-
static equals(a: SAMLConnectionConfigResponse | PlainMessage<SAMLConnectionConfigResponse> | undefined, b: SAMLConnectionConfigResponse | PlainMessage<SAMLConnectionConfigResponse> | undefined): boolean {
|
|
3083
|
-
return proto3.util.equals(SAMLConnectionConfigResponse, a, b);
|
|
3084
|
-
}
|
|
3085
|
-
}
|
|
3086
|
-
|
|
3087
|
-
/**
|
|
3088
|
-
* @generated from message scalekit.v1.connections.IDPCertificate
|
|
3089
|
-
*/
|
|
3090
|
-
export class IDPCertificate extends Message<IDPCertificate> {
|
|
3091
|
-
/**
|
|
3092
|
-
* @generated from field: string certificate = 1;
|
|
3093
|
-
*/
|
|
3094
|
-
certificate = "";
|
|
3095
|
-
|
|
3096
|
-
/**
|
|
3097
|
-
* @generated from field: google.protobuf.Timestamp create_time = 2;
|
|
3098
|
-
*/
|
|
3099
|
-
createTime?: Timestamp;
|
|
3100
|
-
|
|
3101
|
-
/**
|
|
3102
|
-
* @generated from field: google.protobuf.Timestamp expiry_time = 3;
|
|
3103
|
-
*/
|
|
3104
|
-
expiryTime?: Timestamp;
|
|
3105
|
-
|
|
3106
|
-
/**
|
|
3107
|
-
* @generated from field: string id = 4;
|
|
3108
|
-
*/
|
|
3109
|
-
id = "";
|
|
3110
|
-
|
|
3111
|
-
/**
|
|
3112
|
-
* @generated from field: string issuer = 5;
|
|
3113
|
-
*/
|
|
3114
|
-
issuer = "";
|
|
3115
|
-
|
|
3116
|
-
constructor(data?: PartialMessage<IDPCertificate>) {
|
|
3117
|
-
super();
|
|
3118
|
-
proto3.util.initPartial(data, this);
|
|
3119
|
-
}
|
|
3120
|
-
|
|
3121
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3122
|
-
static readonly typeName = "scalekit.v1.connections.IDPCertificate";
|
|
3123
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3124
|
-
{ no: 1, name: "certificate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3125
|
-
{ no: 2, name: "create_time", kind: "message", T: Timestamp },
|
|
3126
|
-
{ no: 3, name: "expiry_time", kind: "message", T: Timestamp },
|
|
3127
|
-
{ no: 4, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3128
|
-
{ no: 5, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3129
|
-
]);
|
|
3130
|
-
|
|
3131
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IDPCertificate {
|
|
3132
|
-
return new IDPCertificate().fromBinary(bytes, options);
|
|
3133
|
-
}
|
|
3134
|
-
|
|
3135
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IDPCertificate {
|
|
3136
|
-
return new IDPCertificate().fromJson(jsonValue, options);
|
|
3137
|
-
}
|
|
3138
|
-
|
|
3139
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IDPCertificate {
|
|
3140
|
-
return new IDPCertificate().fromJsonString(jsonString, options);
|
|
3141
|
-
}
|
|
3142
|
-
|
|
3143
|
-
static equals(a: IDPCertificate | PlainMessage<IDPCertificate> | undefined, b: IDPCertificate | PlainMessage<IDPCertificate> | undefined): boolean {
|
|
3144
|
-
return proto3.util.equals(IDPCertificate, a, b);
|
|
3145
|
-
}
|
|
3146
|
-
}
|
|
3147
|
-
|
|
3148
|
-
/**
|
|
3149
|
-
* @generated from message scalekit.v1.connections.GetOIDCMetadataRequest
|
|
3150
|
-
*/
|
|
3151
|
-
export class GetOIDCMetadataRequest extends Message<GetOIDCMetadataRequest> {
|
|
3152
|
-
/**
|
|
3153
|
-
* @generated from field: scalekit.v1.connections.OIDCMetadataRequest metadata = 1;
|
|
3154
|
-
*/
|
|
3155
|
-
metadata?: OIDCMetadataRequest;
|
|
3156
|
-
|
|
3157
|
-
constructor(data?: PartialMessage<GetOIDCMetadataRequest>) {
|
|
3158
|
-
super();
|
|
3159
|
-
proto3.util.initPartial(data, this);
|
|
3160
|
-
}
|
|
3161
|
-
|
|
3162
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3163
|
-
static readonly typeName = "scalekit.v1.connections.GetOIDCMetadataRequest";
|
|
3164
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3165
|
-
{ no: 1, name: "metadata", kind: "message", T: OIDCMetadataRequest },
|
|
3166
|
-
]);
|
|
3167
|
-
|
|
3168
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOIDCMetadataRequest {
|
|
3169
|
-
return new GetOIDCMetadataRequest().fromBinary(bytes, options);
|
|
3170
|
-
}
|
|
3171
|
-
|
|
3172
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOIDCMetadataRequest {
|
|
3173
|
-
return new GetOIDCMetadataRequest().fromJson(jsonValue, options);
|
|
3174
|
-
}
|
|
3175
|
-
|
|
3176
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOIDCMetadataRequest {
|
|
3177
|
-
return new GetOIDCMetadataRequest().fromJsonString(jsonString, options);
|
|
3178
|
-
}
|
|
3179
|
-
|
|
3180
|
-
static equals(a: GetOIDCMetadataRequest | PlainMessage<GetOIDCMetadataRequest> | undefined, b: GetOIDCMetadataRequest | PlainMessage<GetOIDCMetadataRequest> | undefined): boolean {
|
|
3181
|
-
return proto3.util.equals(GetOIDCMetadataRequest, a, b);
|
|
3182
|
-
}
|
|
3183
|
-
}
|
|
3184
|
-
|
|
3185
|
-
/**
|
|
3186
|
-
* @generated from message scalekit.v1.connections.OIDCMetadataRequest
|
|
3187
|
-
*/
|
|
3188
|
-
export class OIDCMetadataRequest extends Message<OIDCMetadataRequest> {
|
|
3189
|
-
/**
|
|
3190
|
-
* @generated from field: string issuer = 1;
|
|
3191
|
-
*/
|
|
3192
|
-
issuer = "";
|
|
3193
|
-
|
|
3194
|
-
constructor(data?: PartialMessage<OIDCMetadataRequest>) {
|
|
3195
|
-
super();
|
|
3196
|
-
proto3.util.initPartial(data, this);
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3200
|
-
static readonly typeName = "scalekit.v1.connections.OIDCMetadataRequest";
|
|
3201
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3202
|
-
{ no: 1, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3203
|
-
]);
|
|
3204
|
-
|
|
3205
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OIDCMetadataRequest {
|
|
3206
|
-
return new OIDCMetadataRequest().fromBinary(bytes, options);
|
|
3207
|
-
}
|
|
3208
|
-
|
|
3209
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OIDCMetadataRequest {
|
|
3210
|
-
return new OIDCMetadataRequest().fromJson(jsonValue, options);
|
|
3211
|
-
}
|
|
3212
|
-
|
|
3213
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OIDCMetadataRequest {
|
|
3214
|
-
return new OIDCMetadataRequest().fromJsonString(jsonString, options);
|
|
3215
|
-
}
|
|
3216
|
-
|
|
3217
|
-
static equals(a: OIDCMetadataRequest | PlainMessage<OIDCMetadataRequest> | undefined, b: OIDCMetadataRequest | PlainMessage<OIDCMetadataRequest> | undefined): boolean {
|
|
3218
|
-
return proto3.util.equals(OIDCMetadataRequest, a, b);
|
|
3219
|
-
}
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
|
-
/**
|
|
3223
|
-
* @generated from message scalekit.v1.connections.GetOIDCMetadataResponse
|
|
3224
|
-
*/
|
|
3225
|
-
export class GetOIDCMetadataResponse extends Message<GetOIDCMetadataResponse> {
|
|
3226
|
-
/**
|
|
3227
|
-
* @generated from field: string issuer = 1;
|
|
3228
|
-
*/
|
|
3229
|
-
issuer = "";
|
|
3230
|
-
|
|
3231
|
-
/**
|
|
3232
|
-
* @generated from field: string authorization_endpoint = 2;
|
|
3233
|
-
*/
|
|
3234
|
-
authorizationEndpoint = "";
|
|
3235
|
-
|
|
3236
|
-
/**
|
|
3237
|
-
* @generated from field: string token_endpoint = 3;
|
|
3238
|
-
*/
|
|
3239
|
-
tokenEndpoint = "";
|
|
3240
|
-
|
|
3241
|
-
/**
|
|
3242
|
-
* @generated from field: string userinfo_endpoint = 4;
|
|
3243
|
-
*/
|
|
3244
|
-
userinfoEndpoint = "";
|
|
3245
|
-
|
|
3246
|
-
/**
|
|
3247
|
-
* @generated from field: string jwks_uri = 5;
|
|
3248
|
-
*/
|
|
3249
|
-
jwksUri = "";
|
|
3250
|
-
|
|
3251
|
-
constructor(data?: PartialMessage<GetOIDCMetadataResponse>) {
|
|
3252
|
-
super();
|
|
3253
|
-
proto3.util.initPartial(data, this);
|
|
3254
|
-
}
|
|
3255
|
-
|
|
3256
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3257
|
-
static readonly typeName = "scalekit.v1.connections.GetOIDCMetadataResponse";
|
|
3258
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3259
|
-
{ no: 1, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3260
|
-
{ no: 2, name: "authorization_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3261
|
-
{ no: 3, name: "token_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3262
|
-
{ no: 4, name: "userinfo_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3263
|
-
{ no: 5, name: "jwks_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3264
|
-
]);
|
|
3265
|
-
|
|
3266
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOIDCMetadataResponse {
|
|
3267
|
-
return new GetOIDCMetadataResponse().fromBinary(bytes, options);
|
|
3268
|
-
}
|
|
3269
|
-
|
|
3270
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOIDCMetadataResponse {
|
|
3271
|
-
return new GetOIDCMetadataResponse().fromJson(jsonValue, options);
|
|
3272
|
-
}
|
|
3273
|
-
|
|
3274
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOIDCMetadataResponse {
|
|
3275
|
-
return new GetOIDCMetadataResponse().fromJsonString(jsonString, options);
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
static equals(a: GetOIDCMetadataResponse | PlainMessage<GetOIDCMetadataResponse> | undefined, b: GetOIDCMetadataResponse | PlainMessage<GetOIDCMetadataResponse> | undefined): boolean {
|
|
3279
|
-
return proto3.util.equals(GetOIDCMetadataResponse, a, b);
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
|
|
3283
|
-
/**
|
|
3284
|
-
* @generated from message scalekit.v1.connections.GetSAMLMetadataRequest
|
|
3285
|
-
*/
|
|
3286
|
-
export class GetSAMLMetadataRequest extends Message<GetSAMLMetadataRequest> {
|
|
3287
|
-
/**
|
|
3288
|
-
* @generated from field: scalekit.v1.connections.SAMLMetadataRequest metadata = 1;
|
|
3289
|
-
*/
|
|
3290
|
-
metadata?: SAMLMetadataRequest;
|
|
3291
|
-
|
|
3292
|
-
constructor(data?: PartialMessage<GetSAMLMetadataRequest>) {
|
|
3293
|
-
super();
|
|
3294
|
-
proto3.util.initPartial(data, this);
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3298
|
-
static readonly typeName = "scalekit.v1.connections.GetSAMLMetadataRequest";
|
|
3299
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3300
|
-
{ no: 1, name: "metadata", kind: "message", T: SAMLMetadataRequest },
|
|
3301
|
-
]);
|
|
3302
|
-
|
|
3303
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLMetadataRequest {
|
|
3304
|
-
return new GetSAMLMetadataRequest().fromBinary(bytes, options);
|
|
3305
|
-
}
|
|
3306
|
-
|
|
3307
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLMetadataRequest {
|
|
3308
|
-
return new GetSAMLMetadataRequest().fromJson(jsonValue, options);
|
|
3309
|
-
}
|
|
3310
|
-
|
|
3311
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLMetadataRequest {
|
|
3312
|
-
return new GetSAMLMetadataRequest().fromJsonString(jsonString, options);
|
|
3313
|
-
}
|
|
3314
|
-
|
|
3315
|
-
static equals(a: GetSAMLMetadataRequest | PlainMessage<GetSAMLMetadataRequest> | undefined, b: GetSAMLMetadataRequest | PlainMessage<GetSAMLMetadataRequest> | undefined): boolean {
|
|
3316
|
-
return proto3.util.equals(GetSAMLMetadataRequest, a, b);
|
|
3317
|
-
}
|
|
3318
|
-
}
|
|
3319
|
-
|
|
3320
|
-
/**
|
|
3321
|
-
* @generated from message scalekit.v1.connections.SAMLMetadataRequest
|
|
3322
|
-
*/
|
|
3323
|
-
export class SAMLMetadataRequest extends Message<SAMLMetadataRequest> {
|
|
3324
|
-
/**
|
|
3325
|
-
* @generated from field: string metadata_url = 1;
|
|
3326
|
-
*/
|
|
3327
|
-
metadataUrl = "";
|
|
3328
|
-
|
|
3329
|
-
constructor(data?: PartialMessage<SAMLMetadataRequest>) {
|
|
3330
|
-
super();
|
|
3331
|
-
proto3.util.initPartial(data, this);
|
|
3332
|
-
}
|
|
3333
|
-
|
|
3334
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3335
|
-
static readonly typeName = "scalekit.v1.connections.SAMLMetadataRequest";
|
|
3336
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3337
|
-
{ no: 1, name: "metadata_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3338
|
-
]);
|
|
3339
|
-
|
|
3340
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLMetadataRequest {
|
|
3341
|
-
return new SAMLMetadataRequest().fromBinary(bytes, options);
|
|
3342
|
-
}
|
|
3343
|
-
|
|
3344
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLMetadataRequest {
|
|
3345
|
-
return new SAMLMetadataRequest().fromJson(jsonValue, options);
|
|
3346
|
-
}
|
|
3347
|
-
|
|
3348
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLMetadataRequest {
|
|
3349
|
-
return new SAMLMetadataRequest().fromJsonString(jsonString, options);
|
|
3350
|
-
}
|
|
3351
|
-
|
|
3352
|
-
static equals(a: SAMLMetadataRequest | PlainMessage<SAMLMetadataRequest> | undefined, b: SAMLMetadataRequest | PlainMessage<SAMLMetadataRequest> | undefined): boolean {
|
|
3353
|
-
return proto3.util.equals(SAMLMetadataRequest, a, b);
|
|
3354
|
-
}
|
|
3355
|
-
}
|
|
3356
|
-
|
|
3357
|
-
/**
|
|
3358
|
-
* @generated from message scalekit.v1.connections.GetSAMLMetadataResponse
|
|
3359
|
-
*/
|
|
3360
|
-
export class GetSAMLMetadataResponse extends Message<GetSAMLMetadataResponse> {
|
|
3361
|
-
/**
|
|
3362
|
-
* @generated from field: string idp_entity_id = 1;
|
|
3363
|
-
*/
|
|
3364
|
-
idpEntityId = "";
|
|
3365
|
-
|
|
3366
|
-
/**
|
|
3367
|
-
* @generated from field: string idp_sso_url = 2;
|
|
3368
|
-
*/
|
|
3369
|
-
idpSsoUrl = "";
|
|
3370
|
-
|
|
3371
|
-
/**
|
|
3372
|
-
* @generated from field: string idp_slo_url = 3;
|
|
3373
|
-
*/
|
|
3374
|
-
idpSloUrl = "";
|
|
3375
|
-
|
|
3376
|
-
/**
|
|
3377
|
-
* @generated from field: repeated string idp_certificates = 4;
|
|
3378
|
-
*/
|
|
3379
|
-
idpCertificates: string[] = [];
|
|
3380
|
-
|
|
3381
|
-
/**
|
|
3382
|
-
* @generated from field: string idp_name_id_format = 5;
|
|
3383
|
-
*/
|
|
3384
|
-
idpNameIdFormat = "";
|
|
3385
|
-
|
|
3386
|
-
/**
|
|
3387
|
-
* @generated from field: string request_binding = 6;
|
|
3388
|
-
*/
|
|
3389
|
-
requestBinding = "";
|
|
3390
|
-
|
|
3391
|
-
/**
|
|
3392
|
-
* @generated from field: bool want_assertions_signed = 7;
|
|
3393
|
-
*/
|
|
3394
|
-
wantAssertionsSigned = false;
|
|
3395
|
-
|
|
3396
|
-
constructor(data?: PartialMessage<GetSAMLMetadataResponse>) {
|
|
3397
|
-
super();
|
|
3398
|
-
proto3.util.initPartial(data, this);
|
|
3399
|
-
}
|
|
3400
|
-
|
|
3401
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3402
|
-
static readonly typeName = "scalekit.v1.connections.GetSAMLMetadataResponse";
|
|
3403
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3404
|
-
{ no: 1, name: "idp_entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3405
|
-
{ no: 2, name: "idp_sso_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3406
|
-
{ no: 3, name: "idp_slo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3407
|
-
{ no: 4, name: "idp_certificates", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
3408
|
-
{ no: 5, name: "idp_name_id_format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3409
|
-
{ no: 6, name: "request_binding", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3410
|
-
{ no: 7, name: "want_assertions_signed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3411
|
-
]);
|
|
3412
|
-
|
|
3413
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLMetadataResponse {
|
|
3414
|
-
return new GetSAMLMetadataResponse().fromBinary(bytes, options);
|
|
3415
|
-
}
|
|
3416
|
-
|
|
3417
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLMetadataResponse {
|
|
3418
|
-
return new GetSAMLMetadataResponse().fromJson(jsonValue, options);
|
|
3419
|
-
}
|
|
3420
|
-
|
|
3421
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLMetadataResponse {
|
|
3422
|
-
return new GetSAMLMetadataResponse().fromJsonString(jsonString, options);
|
|
3423
|
-
}
|
|
3424
|
-
|
|
3425
|
-
static equals(a: GetSAMLMetadataResponse | PlainMessage<GetSAMLMetadataResponse> | undefined, b: GetSAMLMetadataResponse | PlainMessage<GetSAMLMetadataResponse> | undefined): boolean {
|
|
3426
|
-
return proto3.util.equals(GetSAMLMetadataResponse, a, b);
|
|
3427
|
-
}
|
|
3428
|
-
}
|
|
3429
|
-
|
|
3430
|
-
/**
|
|
3431
|
-
* @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsRequest
|
|
3432
|
-
*/
|
|
3433
|
-
export class GetSAMLCertificateDetailsRequest extends Message<GetSAMLCertificateDetailsRequest> {
|
|
3434
|
-
/**
|
|
3435
|
-
* @generated from field: scalekit.v1.connections.SAMLCertificateRequest certificate = 1;
|
|
3436
|
-
*/
|
|
3437
|
-
certificate?: SAMLCertificateRequest;
|
|
3438
|
-
|
|
3439
|
-
constructor(data?: PartialMessage<GetSAMLCertificateDetailsRequest>) {
|
|
3440
|
-
super();
|
|
3441
|
-
proto3.util.initPartial(data, this);
|
|
3442
|
-
}
|
|
3443
|
-
|
|
3444
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3445
|
-
static readonly typeName = "scalekit.v1.connections.GetSAMLCertificateDetailsRequest";
|
|
3446
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3447
|
-
{ no: 1, name: "certificate", kind: "message", T: SAMLCertificateRequest },
|
|
3448
|
-
]);
|
|
3449
|
-
|
|
3450
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLCertificateDetailsRequest {
|
|
3451
|
-
return new GetSAMLCertificateDetailsRequest().fromBinary(bytes, options);
|
|
3452
|
-
}
|
|
3453
|
-
|
|
3454
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsRequest {
|
|
3455
|
-
return new GetSAMLCertificateDetailsRequest().fromJson(jsonValue, options);
|
|
3456
|
-
}
|
|
3457
|
-
|
|
3458
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsRequest {
|
|
3459
|
-
return new GetSAMLCertificateDetailsRequest().fromJsonString(jsonString, options);
|
|
3460
|
-
}
|
|
3461
|
-
|
|
3462
|
-
static equals(a: GetSAMLCertificateDetailsRequest | PlainMessage<GetSAMLCertificateDetailsRequest> | undefined, b: GetSAMLCertificateDetailsRequest | PlainMessage<GetSAMLCertificateDetailsRequest> | undefined): boolean {
|
|
3463
|
-
return proto3.util.equals(GetSAMLCertificateDetailsRequest, a, b);
|
|
3464
|
-
}
|
|
3465
|
-
}
|
|
3466
|
-
|
|
3467
|
-
/**
|
|
3468
|
-
* @generated from message scalekit.v1.connections.SAMLCertificateRequest
|
|
3469
|
-
*/
|
|
3470
|
-
export class SAMLCertificateRequest extends Message<SAMLCertificateRequest> {
|
|
3471
|
-
/**
|
|
3472
|
-
* @generated from field: string text = 1;
|
|
3473
|
-
*/
|
|
3474
|
-
text = "";
|
|
3475
|
-
|
|
3476
|
-
constructor(data?: PartialMessage<SAMLCertificateRequest>) {
|
|
3477
|
-
super();
|
|
3478
|
-
proto3.util.initPartial(data, this);
|
|
3479
|
-
}
|
|
3480
|
-
|
|
3481
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3482
|
-
static readonly typeName = "scalekit.v1.connections.SAMLCertificateRequest";
|
|
3483
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3484
|
-
{ no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3485
|
-
]);
|
|
3486
|
-
|
|
3487
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLCertificateRequest {
|
|
3488
|
-
return new SAMLCertificateRequest().fromBinary(bytes, options);
|
|
3489
|
-
}
|
|
3490
|
-
|
|
3491
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLCertificateRequest {
|
|
3492
|
-
return new SAMLCertificateRequest().fromJson(jsonValue, options);
|
|
3493
|
-
}
|
|
3494
|
-
|
|
3495
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLCertificateRequest {
|
|
3496
|
-
return new SAMLCertificateRequest().fromJsonString(jsonString, options);
|
|
3497
|
-
}
|
|
3498
|
-
|
|
3499
|
-
static equals(a: SAMLCertificateRequest | PlainMessage<SAMLCertificateRequest> | undefined, b: SAMLCertificateRequest | PlainMessage<SAMLCertificateRequest> | undefined): boolean {
|
|
3500
|
-
return proto3.util.equals(SAMLCertificateRequest, a, b);
|
|
3501
|
-
}
|
|
3502
|
-
}
|
|
3503
|
-
|
|
3504
|
-
/**
|
|
3505
|
-
* @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsResponse
|
|
3506
|
-
*/
|
|
3507
|
-
export class GetSAMLCertificateDetailsResponse extends Message<GetSAMLCertificateDetailsResponse> {
|
|
3508
|
-
/**
|
|
3509
|
-
* @generated from field: string text = 1;
|
|
3510
|
-
*/
|
|
3511
|
-
text = "";
|
|
3512
|
-
|
|
3513
|
-
/**
|
|
3514
|
-
* @generated from field: int64 not_after = 2;
|
|
3515
|
-
*/
|
|
3516
|
-
notAfter = protoInt64.zero;
|
|
3517
|
-
|
|
3518
|
-
/**
|
|
3519
|
-
* @generated from field: int64 not_before = 3;
|
|
3520
|
-
*/
|
|
3521
|
-
notBefore = protoInt64.zero;
|
|
3522
|
-
|
|
3523
|
-
/**
|
|
3524
|
-
* @generated from field: string subject = 4;
|
|
3525
|
-
*/
|
|
3526
|
-
subject = "";
|
|
3527
|
-
|
|
3528
|
-
/**
|
|
3529
|
-
* @generated from field: string issuer = 5;
|
|
3530
|
-
*/
|
|
3531
|
-
issuer = "";
|
|
3532
|
-
|
|
3533
|
-
constructor(data?: PartialMessage<GetSAMLCertificateDetailsResponse>) {
|
|
3534
|
-
super();
|
|
3535
|
-
proto3.util.initPartial(data, this);
|
|
3536
|
-
}
|
|
3537
|
-
|
|
3538
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3539
|
-
static readonly typeName = "scalekit.v1.connections.GetSAMLCertificateDetailsResponse";
|
|
3540
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3541
|
-
{ no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3542
|
-
{ no: 2, name: "not_after", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
3543
|
-
{ no: 3, name: "not_before", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
3544
|
-
{ no: 4, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3545
|
-
{ no: 5, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3546
|
-
]);
|
|
3547
|
-
|
|
3548
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLCertificateDetailsResponse {
|
|
3549
|
-
return new GetSAMLCertificateDetailsResponse().fromBinary(bytes, options);
|
|
3550
|
-
}
|
|
3551
|
-
|
|
3552
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsResponse {
|
|
3553
|
-
return new GetSAMLCertificateDetailsResponse().fromJson(jsonValue, options);
|
|
3554
|
-
}
|
|
3555
|
-
|
|
3556
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsResponse {
|
|
3557
|
-
return new GetSAMLCertificateDetailsResponse().fromJsonString(jsonString, options);
|
|
3558
|
-
}
|
|
3559
|
-
|
|
3560
|
-
static equals(a: GetSAMLCertificateDetailsResponse | PlainMessage<GetSAMLCertificateDetailsResponse> | undefined, b: GetSAMLCertificateDetailsResponse | PlainMessage<GetSAMLCertificateDetailsResponse> | undefined): boolean {
|
|
3561
|
-
return proto3.util.equals(GetSAMLCertificateDetailsResponse, a, b);
|
|
3562
|
-
}
|
|
3563
|
-
}
|
|
3564
|
-
|
|
3565
|
-
/**
|
|
3566
|
-
* @generated from message scalekit.v1.connections.GetConnectionTestResultRequest
|
|
3567
|
-
*/
|
|
3568
|
-
export class GetConnectionTestResultRequest extends Message<GetConnectionTestResultRequest> {
|
|
3569
|
-
/**
|
|
3570
|
-
* @generated from field: string connection_id = 1;
|
|
3571
|
-
*/
|
|
3572
|
-
connectionId = "";
|
|
3573
|
-
|
|
3574
|
-
/**
|
|
3575
|
-
* @generated from field: string test_request_id = 2;
|
|
3576
|
-
*/
|
|
3577
|
-
testRequestId = "";
|
|
3578
|
-
|
|
3579
|
-
constructor(data?: PartialMessage<GetConnectionTestResultRequest>) {
|
|
3580
|
-
super();
|
|
3581
|
-
proto3.util.initPartial(data, this);
|
|
3582
|
-
}
|
|
3583
|
-
|
|
3584
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3585
|
-
static readonly typeName = "scalekit.v1.connections.GetConnectionTestResultRequest";
|
|
3586
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3587
|
-
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3588
|
-
{ no: 2, name: "test_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3589
|
-
]);
|
|
3590
|
-
|
|
3591
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionTestResultRequest {
|
|
3592
|
-
return new GetConnectionTestResultRequest().fromBinary(bytes, options);
|
|
3593
|
-
}
|
|
3594
|
-
|
|
3595
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionTestResultRequest {
|
|
3596
|
-
return new GetConnectionTestResultRequest().fromJson(jsonValue, options);
|
|
3597
|
-
}
|
|
3598
|
-
|
|
3599
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionTestResultRequest {
|
|
3600
|
-
return new GetConnectionTestResultRequest().fromJsonString(jsonString, options);
|
|
3601
|
-
}
|
|
3602
|
-
|
|
3603
|
-
static equals(a: GetConnectionTestResultRequest | PlainMessage<GetConnectionTestResultRequest> | undefined, b: GetConnectionTestResultRequest | PlainMessage<GetConnectionTestResultRequest> | undefined): boolean {
|
|
3604
|
-
return proto3.util.equals(GetConnectionTestResultRequest, a, b);
|
|
3605
|
-
}
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
|
-
/**
|
|
3609
|
-
* @generated from message scalekit.v1.connections.GetConnectionTestResultResponse
|
|
3610
|
-
*/
|
|
3611
|
-
export class GetConnectionTestResultResponse extends Message<GetConnectionTestResultResponse> {
|
|
3612
|
-
/**
|
|
3613
|
-
* @generated from field: scalekit.v1.connections.TestResultStatus status = 1;
|
|
3614
|
-
*/
|
|
3615
|
-
status = TestResultStatus.PENDING;
|
|
3616
|
-
|
|
3617
|
-
/**
|
|
3618
|
-
* @generated from field: optional string user_info = 2;
|
|
3619
|
-
*/
|
|
3620
|
-
userInfo?: string;
|
|
3621
|
-
|
|
3622
|
-
/**
|
|
3623
|
-
* @generated from field: optional string error = 3;
|
|
3624
|
-
*/
|
|
3625
|
-
error?: string;
|
|
3626
|
-
|
|
3627
|
-
/**
|
|
3628
|
-
* @generated from field: optional string error_description = 4;
|
|
3629
|
-
*/
|
|
3630
|
-
errorDescription?: string;
|
|
3631
|
-
|
|
3632
|
-
/**
|
|
3633
|
-
* @generated from field: optional string error_details = 5;
|
|
3634
|
-
*/
|
|
3635
|
-
errorDetails?: string;
|
|
3636
|
-
|
|
3637
|
-
constructor(data?: PartialMessage<GetConnectionTestResultResponse>) {
|
|
3638
|
-
super();
|
|
3639
|
-
proto3.util.initPartial(data, this);
|
|
3640
|
-
}
|
|
3641
|
-
|
|
3642
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3643
|
-
static readonly typeName = "scalekit.v1.connections.GetConnectionTestResultResponse";
|
|
3644
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3645
|
-
{ no: 1, name: "status", kind: "enum", T: proto3.getEnumType(TestResultStatus) },
|
|
3646
|
-
{ no: 2, name: "user_info", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
3647
|
-
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
3648
|
-
{ no: 4, name: "error_description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
3649
|
-
{ no: 5, name: "error_details", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
3650
|
-
]);
|
|
3651
|
-
|
|
3652
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionTestResultResponse {
|
|
3653
|
-
return new GetConnectionTestResultResponse().fromBinary(bytes, options);
|
|
3654
|
-
}
|
|
3655
|
-
|
|
3656
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionTestResultResponse {
|
|
3657
|
-
return new GetConnectionTestResultResponse().fromJson(jsonValue, options);
|
|
3658
|
-
}
|
|
3659
|
-
|
|
3660
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionTestResultResponse {
|
|
3661
|
-
return new GetConnectionTestResultResponse().fromJsonString(jsonString, options);
|
|
3662
|
-
}
|
|
3663
|
-
|
|
3664
|
-
static equals(a: GetConnectionTestResultResponse | PlainMessage<GetConnectionTestResultResponse> | undefined, b: GetConnectionTestResultResponse | PlainMessage<GetConnectionTestResultResponse> | undefined): boolean {
|
|
3665
|
-
return proto3.util.equals(GetConnectionTestResultResponse, a, b);
|
|
3666
|
-
}
|
|
3667
|
-
}
|
|
3668
|
-
|
|
3669
|
-
/**
|
|
3670
|
-
* @generated from message scalekit.v1.connections.PasswordConnectionConfig
|
|
3671
|
-
*/
|
|
3672
|
-
export class PasswordConnectionConfig extends Message<PasswordConnectionConfig> {
|
|
3673
|
-
constructor(data?: PartialMessage<PasswordConnectionConfig>) {
|
|
3674
|
-
super();
|
|
3675
|
-
proto3.util.initPartial(data, this);
|
|
3676
|
-
}
|
|
3677
|
-
|
|
3678
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3679
|
-
static readonly typeName = "scalekit.v1.connections.PasswordConnectionConfig";
|
|
3680
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3681
|
-
]);
|
|
3682
|
-
|
|
3683
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PasswordConnectionConfig {
|
|
3684
|
-
return new PasswordConnectionConfig().fromBinary(bytes, options);
|
|
3685
|
-
}
|
|
3686
|
-
|
|
3687
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PasswordConnectionConfig {
|
|
3688
|
-
return new PasswordConnectionConfig().fromJson(jsonValue, options);
|
|
3689
|
-
}
|
|
3690
|
-
|
|
3691
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PasswordConnectionConfig {
|
|
3692
|
-
return new PasswordConnectionConfig().fromJsonString(jsonString, options);
|
|
3693
|
-
}
|
|
3694
|
-
|
|
3695
|
-
static equals(a: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined, b: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined): boolean {
|
|
3696
|
-
return proto3.util.equals(PasswordConnectionConfig, a, b);
|
|
3697
|
-
}
|
|
3698
|
-
}
|
|
3699
|
-
|
|
3700
|
-
/**
|
|
3701
|
-
* @generated from message scalekit.v1.connections.Flags
|
|
3702
|
-
*/
|
|
3703
|
-
export class Flags extends Message<Flags> {
|
|
3704
|
-
/**
|
|
3705
|
-
* @generated from field: bool is_login = 1;
|
|
3706
|
-
*/
|
|
3707
|
-
isLogin = false;
|
|
3708
|
-
|
|
3709
|
-
/**
|
|
3710
|
-
* @generated from field: bool is_app = 2;
|
|
3711
|
-
*/
|
|
3712
|
-
isApp = false;
|
|
3713
|
-
|
|
3714
|
-
constructor(data?: PartialMessage<Flags>) {
|
|
3715
|
-
super();
|
|
3716
|
-
proto3.util.initPartial(data, this);
|
|
3717
|
-
}
|
|
3718
|
-
|
|
3719
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3720
|
-
static readonly typeName = "scalekit.v1.connections.Flags";
|
|
3721
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3722
|
-
{ no: 1, name: "is_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3723
|
-
{ no: 2, name: "is_app", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3724
|
-
]);
|
|
3725
|
-
|
|
3726
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Flags {
|
|
3727
|
-
return new Flags().fromBinary(bytes, options);
|
|
3728
|
-
}
|
|
3729
|
-
|
|
3730
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Flags {
|
|
3731
|
-
return new Flags().fromJson(jsonValue, options);
|
|
3732
|
-
}
|
|
3733
|
-
|
|
3734
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Flags {
|
|
3735
|
-
return new Flags().fromJsonString(jsonString, options);
|
|
3736
|
-
}
|
|
3737
|
-
|
|
3738
|
-
static equals(a: Flags | PlainMessage<Flags> | undefined, b: Flags | PlainMessage<Flags> | undefined): boolean {
|
|
3739
|
-
return proto3.util.equals(Flags, a, b);
|
|
3740
|
-
}
|
|
3741
|
-
}
|
|
3742
|
-
|
|
3743
|
-
/**
|
|
3744
|
-
* @generated from message scalekit.v1.connections.ListAppConnectionsRequest
|
|
3745
|
-
*/
|
|
3746
|
-
export class ListAppConnectionsRequest extends Message<ListAppConnectionsRequest> {
|
|
3747
|
-
/**
|
|
3748
|
-
* @generated from field: uint32 page_size = 1;
|
|
3749
|
-
*/
|
|
3750
|
-
pageSize = 0;
|
|
3751
|
-
|
|
3752
|
-
/**
|
|
3753
|
-
* @generated from field: string page_token = 2;
|
|
3754
|
-
*/
|
|
3755
|
-
pageToken = "";
|
|
3756
|
-
|
|
3757
|
-
/**
|
|
3758
|
-
* @generated from field: optional string provider = 3;
|
|
3759
|
-
*/
|
|
3760
|
-
provider?: string;
|
|
3761
|
-
|
|
3762
|
-
constructor(data?: PartialMessage<ListAppConnectionsRequest>) {
|
|
3763
|
-
super();
|
|
3764
|
-
proto3.util.initPartial(data, this);
|
|
3765
|
-
}
|
|
3766
|
-
|
|
3767
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3768
|
-
static readonly typeName = "scalekit.v1.connections.ListAppConnectionsRequest";
|
|
3769
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3770
|
-
{ no: 1, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
3771
|
-
{ no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3772
|
-
{ no: 3, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
3773
|
-
]);
|
|
3774
|
-
|
|
3775
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAppConnectionsRequest {
|
|
3776
|
-
return new ListAppConnectionsRequest().fromBinary(bytes, options);
|
|
3777
|
-
}
|
|
3778
|
-
|
|
3779
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAppConnectionsRequest {
|
|
3780
|
-
return new ListAppConnectionsRequest().fromJson(jsonValue, options);
|
|
3781
|
-
}
|
|
3782
|
-
|
|
3783
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAppConnectionsRequest {
|
|
3784
|
-
return new ListAppConnectionsRequest().fromJsonString(jsonString, options);
|
|
3785
|
-
}
|
|
3786
|
-
|
|
3787
|
-
static equals(a: ListAppConnectionsRequest | PlainMessage<ListAppConnectionsRequest> | undefined, b: ListAppConnectionsRequest | PlainMessage<ListAppConnectionsRequest> | undefined): boolean {
|
|
3788
|
-
return proto3.util.equals(ListAppConnectionsRequest, a, b);
|
|
3789
|
-
}
|
|
3790
|
-
}
|
|
3791
|
-
|
|
3792
|
-
/**
|
|
3793
|
-
* @generated from message scalekit.v1.connections.ListAppConnectionsResponse
|
|
3794
|
-
*/
|
|
3795
|
-
export class ListAppConnectionsResponse extends Message<ListAppConnectionsResponse> {
|
|
3796
|
-
/**
|
|
3797
|
-
* @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
|
|
3798
|
-
*/
|
|
3799
|
-
connections: ListConnection[] = [];
|
|
3800
|
-
|
|
3801
|
-
/**
|
|
3802
|
-
* @generated from field: string next_page_token = 2;
|
|
3803
|
-
*/
|
|
3804
|
-
nextPageToken = "";
|
|
3805
|
-
|
|
3806
|
-
/**
|
|
3807
|
-
* @generated from field: string prev_page_token = 3;
|
|
3808
|
-
*/
|
|
3809
|
-
prevPageToken = "";
|
|
3810
|
-
|
|
3811
|
-
/**
|
|
3812
|
-
* @generated from field: uint32 total_size = 4;
|
|
3813
|
-
*/
|
|
3814
|
-
totalSize = 0;
|
|
3815
|
-
|
|
3816
|
-
constructor(data?: PartialMessage<ListAppConnectionsResponse>) {
|
|
3817
|
-
super();
|
|
3818
|
-
proto3.util.initPartial(data, this);
|
|
3819
|
-
}
|
|
3820
|
-
|
|
3821
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
3822
|
-
static readonly typeName = "scalekit.v1.connections.ListAppConnectionsResponse";
|
|
3823
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3824
|
-
{ no: 1, name: "connections", kind: "message", T: ListConnection, repeated: true },
|
|
3825
|
-
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3826
|
-
{ no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3827
|
-
{ no: 4, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
3828
|
-
]);
|
|
3829
|
-
|
|
3830
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAppConnectionsResponse {
|
|
3831
|
-
return new ListAppConnectionsResponse().fromBinary(bytes, options);
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3834
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAppConnectionsResponse {
|
|
3835
|
-
return new ListAppConnectionsResponse().fromJson(jsonValue, options);
|
|
3836
|
-
}
|
|
3837
|
-
|
|
3838
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAppConnectionsResponse {
|
|
3839
|
-
return new ListAppConnectionsResponse().fromJsonString(jsonString, options);
|
|
3840
|
-
}
|
|
3841
|
-
|
|
3842
|
-
static equals(a: ListAppConnectionsResponse | PlainMessage<ListAppConnectionsResponse> | undefined, b: ListAppConnectionsResponse | PlainMessage<ListAppConnectionsResponse> | undefined): boolean {
|
|
3843
|
-
return proto3.util.equals(ListAppConnectionsResponse, a, b);
|
|
3844
|
-
}
|
|
3845
|
-
}
|
|
3846
|
-
|