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