@scalekit-sdk/node 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/buf.gen.yaml +2 -1
- package/lib/core.js +1 -1
- package/lib/core.js.map +1 -1
- package/lib/passwordless.d.ts +55 -0
- package/lib/passwordless.js +111 -0
- package/lib/passwordless.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +37 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +45 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +184 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +245 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +28 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +27 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +349 -3
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +406 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +38 -2
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +36 -0
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +152 -3
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +234 -3
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +11 -2
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +9 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +36 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +38 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +6 -2
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +7 -2
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +37 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +36 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +233 -10
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +325 -7
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/scalekit.d.ts +2 -0
- package/lib/scalekit.js +2 -0
- package/lib/scalekit.js.map +1 -1
- package/package.json +1 -1
- package/src/core.ts +1 -1
- package/src/passwordless.ts +135 -0
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +44 -0
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +330 -0
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +28 -1
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +598 -1
- package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +38 -2
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +283 -2
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +11 -2
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +56 -0
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +8 -2
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +37 -1
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +435 -11
- package/src/scalekit.ts +6 -0
|
@@ -4,8 +4,33 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.SAMLMetadataRequest = exports.GetSAMLMetadataRequest = exports.GetOIDCMetadataResponse = exports.OIDCMetadataRequest = exports.GetOIDCMetadataRequest = exports.IDPCertificate = exports.SAMLConnectionConfigResponse = exports.SAMLConnectionConfigRequest = exports.PasswordLessConfig = exports.OAuthConnectionConfig = exports.OIDCConnectionConfig = exports.ToggleConnectionResponse = exports.ToggleConnectionRequest = exports.ToggleEnvironmentConnectionRequest = exports.SearchOrganizationConnectionsResponse = exports.SearchOrganizationConnectionsRequest = exports.ListOrganizationConnectionsResponse = exports.ListOrganizationConnectionsRequest = exports.ListConnection = exports.ListConnectionsResponse = exports.ListConnectionsRequest = exports.GetConnectionResponse = exports.GetConnectionRequest = exports.GetEnvironmentConnectionRequest = exports.DeleteConnectionRequest = exports.DeleteEnvironmentConnectionRequest = exports.UpdateConnectionResponse = exports.UpdateConnection = exports.UpdateConnectionRequest = exports.UpdateEnvironmentConnectionRequest = exports.CreateConnectionResponse = exports.Connection = exports.CreateConnection = exports.CreateConnectionRequest = exports.CreateEnvironmentConnectionRequest = exports.Provider = exports.GetProvidersResponse = exports.GetProvidersRequest = exports.ConnectionProvider = exports.ConnectionStatus = exports.ConnectionType = exports.OIDCScope = exports.TokenAuthType = exports.RequestBinding = exports.SAMLSigningOptions = exports.TestResultStatus = exports.PasswordlessType = exports.NameIdFormat = exports.ConfigurationType = exports.CodeChallengeType = void 0;
|
|
8
|
+
exports.PasswordConnectionConfig = exports.GetConnectionTestResultResponse = exports.GetConnectionTestResultRequest = exports.GetSAMLCertificateDetailsResponse = exports.SAMLCertificateRequest = exports.GetSAMLCertificateDetailsRequest = exports.GetSAMLMetadataResponse = void 0;
|
|
8
9
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum scalekit.v1.connections.CodeChallengeType
|
|
12
|
+
*/
|
|
13
|
+
var CodeChallengeType;
|
|
14
|
+
(function (CodeChallengeType) {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: CODE_CHALLENGE_TYPE_UNSPECIFIED = 0;
|
|
17
|
+
*/
|
|
18
|
+
CodeChallengeType[CodeChallengeType["CODE_CHALLENGE_TYPE_UNSPECIFIED"] = 0] = "CODE_CHALLENGE_TYPE_UNSPECIFIED";
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: NUMERIC = 1;
|
|
21
|
+
*/
|
|
22
|
+
CodeChallengeType[CodeChallengeType["NUMERIC"] = 1] = "NUMERIC";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: ALPHANUMERIC = 2;
|
|
25
|
+
*/
|
|
26
|
+
CodeChallengeType[CodeChallengeType["ALPHANUMERIC"] = 2] = "ALPHANUMERIC";
|
|
27
|
+
})(CodeChallengeType || (exports.CodeChallengeType = CodeChallengeType = {}));
|
|
28
|
+
// Retrieve enum metadata with: proto3.getEnumType(CodeChallengeType)
|
|
29
|
+
protobuf_1.proto3.util.setEnumType(CodeChallengeType, "scalekit.v1.connections.CodeChallengeType", [
|
|
30
|
+
{ no: 0, name: "CODE_CHALLENGE_TYPE_UNSPECIFIED" },
|
|
31
|
+
{ no: 1, name: "NUMERIC" },
|
|
32
|
+
{ no: 2, name: "ALPHANUMERIC" },
|
|
33
|
+
]);
|
|
9
34
|
/**
|
|
10
35
|
* @generated from enum scalekit.v1.connections.ConfigurationType
|
|
11
36
|
*/
|
|
@@ -64,6 +89,59 @@ protobuf_1.proto3.util.setEnumType(NameIdFormat, "scalekit.v1.connections.NameId
|
|
|
64
89
|
{ no: 3, name: "TRANSIENT" },
|
|
65
90
|
{ no: 4, name: "PERSISTENT" },
|
|
66
91
|
]);
|
|
92
|
+
/**
|
|
93
|
+
* @generated from enum scalekit.v1.connections.PasswordlessType
|
|
94
|
+
*/
|
|
95
|
+
var PasswordlessType;
|
|
96
|
+
(function (PasswordlessType) {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from enum value: PasswordlessType_UNSPECIFIED = 0;
|
|
99
|
+
*/
|
|
100
|
+
PasswordlessType[PasswordlessType["PasswordlessType_UNSPECIFIED"] = 0] = "PasswordlessType_UNSPECIFIED";
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum value: LINK = 1;
|
|
103
|
+
*/
|
|
104
|
+
PasswordlessType[PasswordlessType["LINK"] = 1] = "LINK";
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum value: OTP = 2;
|
|
107
|
+
*/
|
|
108
|
+
PasswordlessType[PasswordlessType["OTP"] = 2] = "OTP";
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: LINK_OTP = 3;
|
|
111
|
+
*/
|
|
112
|
+
PasswordlessType[PasswordlessType["LINK_OTP"] = 3] = "LINK_OTP";
|
|
113
|
+
})(PasswordlessType || (exports.PasswordlessType = PasswordlessType = {}));
|
|
114
|
+
// Retrieve enum metadata with: proto3.getEnumType(PasswordlessType)
|
|
115
|
+
protobuf_1.proto3.util.setEnumType(PasswordlessType, "scalekit.v1.connections.PasswordlessType", [
|
|
116
|
+
{ no: 0, name: "PasswordlessType_UNSPECIFIED" },
|
|
117
|
+
{ no: 1, name: "LINK" },
|
|
118
|
+
{ no: 2, name: "OTP" },
|
|
119
|
+
{ no: 3, name: "LINK_OTP" },
|
|
120
|
+
]);
|
|
121
|
+
/**
|
|
122
|
+
* @generated from enum scalekit.v1.connections.TestResultStatus
|
|
123
|
+
*/
|
|
124
|
+
var TestResultStatus;
|
|
125
|
+
(function (TestResultStatus) {
|
|
126
|
+
/**
|
|
127
|
+
* @generated from enum value: PENDING = 0;
|
|
128
|
+
*/
|
|
129
|
+
TestResultStatus[TestResultStatus["PENDING"] = 0] = "PENDING";
|
|
130
|
+
/**
|
|
131
|
+
* @generated from enum value: SUCCESS = 1;
|
|
132
|
+
*/
|
|
133
|
+
TestResultStatus[TestResultStatus["SUCCESS"] = 1] = "SUCCESS";
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum value: FAILURE = 2;
|
|
136
|
+
*/
|
|
137
|
+
TestResultStatus[TestResultStatus["FAILURE"] = 2] = "FAILURE";
|
|
138
|
+
})(TestResultStatus || (exports.TestResultStatus = TestResultStatus = {}));
|
|
139
|
+
// Retrieve enum metadata with: proto3.getEnumType(TestResultStatus)
|
|
140
|
+
protobuf_1.proto3.util.setEnumType(TestResultStatus, "scalekit.v1.connections.TestResultStatus", [
|
|
141
|
+
{ no: 0, name: "PENDING" },
|
|
142
|
+
{ no: 1, name: "SUCCESS" },
|
|
143
|
+
{ no: 2, name: "FAILURE" },
|
|
144
|
+
]);
|
|
67
145
|
/**
|
|
68
146
|
* enums all
|
|
69
147
|
*
|
|
@@ -91,6 +169,10 @@ var SAMLSigningOptions;
|
|
|
91
169
|
* @generated from enum value: SAML_RESPONSE_ASSERTION_SIGNING = 4;
|
|
92
170
|
*/
|
|
93
171
|
SAMLSigningOptions[SAMLSigningOptions["SAML_RESPONSE_ASSERTION_SIGNING"] = 4] = "SAML_RESPONSE_ASSERTION_SIGNING";
|
|
172
|
+
/**
|
|
173
|
+
* @generated from enum value: SAML_RESPONSE_OR_ASSERTION_SIGNING = 5;
|
|
174
|
+
*/
|
|
175
|
+
SAMLSigningOptions[SAMLSigningOptions["SAML_RESPONSE_OR_ASSERTION_SIGNING"] = 5] = "SAML_RESPONSE_OR_ASSERTION_SIGNING";
|
|
94
176
|
})(SAMLSigningOptions || (exports.SAMLSigningOptions = SAMLSigningOptions = {}));
|
|
95
177
|
// Retrieve enum metadata with: proto3.getEnumType(SAMLSigningOptions)
|
|
96
178
|
protobuf_1.proto3.util.setEnumType(SAMLSigningOptions, "scalekit.v1.connections.SAMLSigningOptions", [
|
|
@@ -99,6 +181,7 @@ protobuf_1.proto3.util.setEnumType(SAMLSigningOptions, "scalekit.v1.connections.
|
|
|
99
181
|
{ no: 2, name: "SAML_ONLY_RESPONSE_SIGNING" },
|
|
100
182
|
{ no: 3, name: "SAML_ONLY_ASSERTION_SIGNING" },
|
|
101
183
|
{ no: 4, name: "SAML_RESPONSE_ASSERTION_SIGNING" },
|
|
184
|
+
{ no: 5, name: "SAML_RESPONSE_OR_ASSERTION_SIGNING" },
|
|
102
185
|
]);
|
|
103
186
|
/**
|
|
104
187
|
* @generated from enum scalekit.v1.connections.RequestBinding
|
|
@@ -212,6 +295,10 @@ var ConnectionType;
|
|
|
212
295
|
* @generated from enum value: OAUTH = 4;
|
|
213
296
|
*/
|
|
214
297
|
ConnectionType[ConnectionType["OAUTH"] = 4] = "OAUTH";
|
|
298
|
+
/**
|
|
299
|
+
* @generated from enum value: PASSWORDLESS = 5;
|
|
300
|
+
*/
|
|
301
|
+
ConnectionType[ConnectionType["PASSWORDLESS"] = 5] = "PASSWORDLESS";
|
|
215
302
|
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
216
303
|
// Retrieve enum metadata with: proto3.getEnumType(ConnectionType)
|
|
217
304
|
protobuf_1.proto3.util.setEnumType(ConnectionType, "scalekit.v1.connections.ConnectionType", [
|
|
@@ -220,6 +307,7 @@ protobuf_1.proto3.util.setEnumType(ConnectionType, "scalekit.v1.connections.Conn
|
|
|
220
307
|
{ no: 2, name: "SAML" },
|
|
221
308
|
{ no: 3, name: "PASSWORD" },
|
|
222
309
|
{ no: 4, name: "OAUTH" },
|
|
310
|
+
{ no: 5, name: "PASSWORDLESS" },
|
|
223
311
|
]);
|
|
224
312
|
/**
|
|
225
313
|
* @generated from enum scalekit.v1.connections.ConnectionStatus
|
|
@@ -307,6 +395,22 @@ var ConnectionProvider;
|
|
|
307
395
|
* @generated from enum value: SALESFORCE = 12;
|
|
308
396
|
*/
|
|
309
397
|
ConnectionProvider[ConnectionProvider["SALESFORCE"] = 12] = "SALESFORCE";
|
|
398
|
+
/**
|
|
399
|
+
* @generated from enum value: MICROSOFT = 13;
|
|
400
|
+
*/
|
|
401
|
+
ConnectionProvider[ConnectionProvider["MICROSOFT"] = 13] = "MICROSOFT";
|
|
402
|
+
/**
|
|
403
|
+
* @generated from enum value: IDP_SIMULATOR = 14;
|
|
404
|
+
*/
|
|
405
|
+
ConnectionProvider[ConnectionProvider["IDP_SIMULATOR"] = 14] = "IDP_SIMULATOR";
|
|
406
|
+
/**
|
|
407
|
+
* @generated from enum value: SCALEKIT = 15;
|
|
408
|
+
*/
|
|
409
|
+
ConnectionProvider[ConnectionProvider["SCALEKIT"] = 15] = "SCALEKIT";
|
|
410
|
+
/**
|
|
411
|
+
* @generated from enum value: ADFS = 16;
|
|
412
|
+
*/
|
|
413
|
+
ConnectionProvider[ConnectionProvider["ADFS"] = 16] = "ADFS";
|
|
310
414
|
})(ConnectionProvider || (exports.ConnectionProvider = ConnectionProvider = {}));
|
|
311
415
|
// Retrieve enum metadata with: proto3.getEnumType(ConnectionProvider)
|
|
312
416
|
protobuf_1.proto3.util.setEnumType(ConnectionProvider, "scalekit.v1.connections.ConnectionProvider", [
|
|
@@ -323,6 +427,10 @@ protobuf_1.proto3.util.setEnumType(ConnectionProvider, "scalekit.v1.connections.
|
|
|
323
427
|
{ no: 10, name: "GITLAB" },
|
|
324
428
|
{ no: 11, name: "LINKEDIN" },
|
|
325
429
|
{ no: 12, name: "SALESFORCE" },
|
|
430
|
+
{ no: 13, name: "MICROSOFT" },
|
|
431
|
+
{ no: 14, name: "IDP_SIMULATOR" },
|
|
432
|
+
{ no: 15, name: "SCALEKIT" },
|
|
433
|
+
{ no: 16, name: "ADFS" },
|
|
326
434
|
]);
|
|
327
435
|
/**
|
|
328
436
|
* @generated from message scalekit.v1.connections.GetProvidersRequest
|
|
@@ -597,6 +705,7 @@ Connection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
597
705
|
{ no: 18, name: "oidc_config", kind: "message", T: OIDCConnectionConfig, oneof: "settings" },
|
|
598
706
|
{ no: 19, name: "saml_config", kind: "message", T: SAMLConnectionConfigResponse, oneof: "settings" },
|
|
599
707
|
{ no: 20, name: "oauth_config", kind: "message", T: OAuthConnectionConfig, oneof: "settings" },
|
|
708
|
+
{ no: 22, name: "passwordless_config", kind: "message", T: PasswordLessConfig, oneof: "settings" },
|
|
600
709
|
{ no: 21, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
601
710
|
]);
|
|
602
711
|
/**
|
|
@@ -749,6 +858,7 @@ UpdateConnection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
749
858
|
{ no: 16, name: "oidc_config", kind: "message", T: OIDCConnectionConfig, oneof: "settings" },
|
|
750
859
|
{ no: 17, name: "saml_config", kind: "message", T: SAMLConnectionConfigRequest, oneof: "settings" },
|
|
751
860
|
{ no: 18, name: "oauth_config", kind: "message", T: OAuthConnectionConfig, oneof: "settings" },
|
|
861
|
+
{ no: 20, name: "passwordless_config", kind: "message", T: PasswordLessConfig, oneof: "settings" },
|
|
752
862
|
{ no: 19, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
753
863
|
]);
|
|
754
864
|
/**
|
|
@@ -1033,6 +1143,14 @@ class ListConnection extends protobuf_1.Message {
|
|
|
1033
1143
|
* @generated from field: string ui_button_title = 7;
|
|
1034
1144
|
*/
|
|
1035
1145
|
this.uiButtonTitle = "";
|
|
1146
|
+
/**
|
|
1147
|
+
* @generated from field: repeated string domains = 8;
|
|
1148
|
+
*/
|
|
1149
|
+
this.domains = [];
|
|
1150
|
+
/**
|
|
1151
|
+
* @generated from field: string organization_name = 9;
|
|
1152
|
+
*/
|
|
1153
|
+
this.organizationName = "";
|
|
1036
1154
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1037
1155
|
}
|
|
1038
1156
|
static fromBinary(bytes, options) {
|
|
@@ -1059,6 +1177,176 @@ ListConnection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1059
1177
|
{ no: 5, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1060
1178
|
{ no: 6, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1061
1179
|
{ no: 7, name: "ui_button_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1180
|
+
{ no: 8, name: "domains", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1181
|
+
{ no: 9, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1182
|
+
]);
|
|
1183
|
+
/**
|
|
1184
|
+
* @generated from message scalekit.v1.connections.ListOrganizationConnectionsRequest
|
|
1185
|
+
*/
|
|
1186
|
+
class ListOrganizationConnectionsRequest extends protobuf_1.Message {
|
|
1187
|
+
constructor(data) {
|
|
1188
|
+
super();
|
|
1189
|
+
/**
|
|
1190
|
+
* @generated from field: uint32 page_size = 1;
|
|
1191
|
+
*/
|
|
1192
|
+
this.pageSize = 0;
|
|
1193
|
+
/**
|
|
1194
|
+
* @generated from field: string page_token = 2;
|
|
1195
|
+
*/
|
|
1196
|
+
this.pageToken = "";
|
|
1197
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1198
|
+
}
|
|
1199
|
+
static fromBinary(bytes, options) {
|
|
1200
|
+
return new ListOrganizationConnectionsRequest().fromBinary(bytes, options);
|
|
1201
|
+
}
|
|
1202
|
+
static fromJson(jsonValue, options) {
|
|
1203
|
+
return new ListOrganizationConnectionsRequest().fromJson(jsonValue, options);
|
|
1204
|
+
}
|
|
1205
|
+
static fromJsonString(jsonString, options) {
|
|
1206
|
+
return new ListOrganizationConnectionsRequest().fromJsonString(jsonString, options);
|
|
1207
|
+
}
|
|
1208
|
+
static equals(a, b) {
|
|
1209
|
+
return protobuf_1.proto3.util.equals(ListOrganizationConnectionsRequest, a, b);
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
exports.ListOrganizationConnectionsRequest = ListOrganizationConnectionsRequest;
|
|
1213
|
+
ListOrganizationConnectionsRequest.runtime = protobuf_1.proto3;
|
|
1214
|
+
ListOrganizationConnectionsRequest.typeName = "scalekit.v1.connections.ListOrganizationConnectionsRequest";
|
|
1215
|
+
ListOrganizationConnectionsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1216
|
+
{ no: 1, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1217
|
+
{ no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1218
|
+
]);
|
|
1219
|
+
/**
|
|
1220
|
+
* @generated from message scalekit.v1.connections.ListOrganizationConnectionsResponse
|
|
1221
|
+
*/
|
|
1222
|
+
class ListOrganizationConnectionsResponse extends protobuf_1.Message {
|
|
1223
|
+
constructor(data) {
|
|
1224
|
+
super();
|
|
1225
|
+
/**
|
|
1226
|
+
* @generated from field: string next_page_token = 1;
|
|
1227
|
+
*/
|
|
1228
|
+
this.nextPageToken = "";
|
|
1229
|
+
/**
|
|
1230
|
+
* @generated from field: uint32 total_size = 2;
|
|
1231
|
+
*/
|
|
1232
|
+
this.totalSize = 0;
|
|
1233
|
+
/**
|
|
1234
|
+
* @generated from field: string prev_page_token = 3;
|
|
1235
|
+
*/
|
|
1236
|
+
this.prevPageToken = "";
|
|
1237
|
+
/**
|
|
1238
|
+
* @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
|
|
1239
|
+
*/
|
|
1240
|
+
this.connections = [];
|
|
1241
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1242
|
+
}
|
|
1243
|
+
static fromBinary(bytes, options) {
|
|
1244
|
+
return new ListOrganizationConnectionsResponse().fromBinary(bytes, options);
|
|
1245
|
+
}
|
|
1246
|
+
static fromJson(jsonValue, options) {
|
|
1247
|
+
return new ListOrganizationConnectionsResponse().fromJson(jsonValue, options);
|
|
1248
|
+
}
|
|
1249
|
+
static fromJsonString(jsonString, options) {
|
|
1250
|
+
return new ListOrganizationConnectionsResponse().fromJsonString(jsonString, options);
|
|
1251
|
+
}
|
|
1252
|
+
static equals(a, b) {
|
|
1253
|
+
return protobuf_1.proto3.util.equals(ListOrganizationConnectionsResponse, a, b);
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
exports.ListOrganizationConnectionsResponse = ListOrganizationConnectionsResponse;
|
|
1257
|
+
ListOrganizationConnectionsResponse.runtime = protobuf_1.proto3;
|
|
1258
|
+
ListOrganizationConnectionsResponse.typeName = "scalekit.v1.connections.ListOrganizationConnectionsResponse";
|
|
1259
|
+
ListOrganizationConnectionsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1260
|
+
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1261
|
+
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1262
|
+
{ no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1263
|
+
{ no: 4, name: "connections", kind: "message", T: ListConnection, repeated: true },
|
|
1264
|
+
]);
|
|
1265
|
+
/**
|
|
1266
|
+
* @generated from message scalekit.v1.connections.SearchOrganizationConnectionsRequest
|
|
1267
|
+
*/
|
|
1268
|
+
class SearchOrganizationConnectionsRequest extends protobuf_1.Message {
|
|
1269
|
+
constructor(data) {
|
|
1270
|
+
super();
|
|
1271
|
+
/**
|
|
1272
|
+
* @generated from field: uint32 page_size = 5;
|
|
1273
|
+
*/
|
|
1274
|
+
this.pageSize = 0;
|
|
1275
|
+
/**
|
|
1276
|
+
* @generated from field: string page_token = 6;
|
|
1277
|
+
*/
|
|
1278
|
+
this.pageToken = "";
|
|
1279
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1280
|
+
}
|
|
1281
|
+
static fromBinary(bytes, options) {
|
|
1282
|
+
return new SearchOrganizationConnectionsRequest().fromBinary(bytes, options);
|
|
1283
|
+
}
|
|
1284
|
+
static fromJson(jsonValue, options) {
|
|
1285
|
+
return new SearchOrganizationConnectionsRequest().fromJson(jsonValue, options);
|
|
1286
|
+
}
|
|
1287
|
+
static fromJsonString(jsonString, options) {
|
|
1288
|
+
return new SearchOrganizationConnectionsRequest().fromJsonString(jsonString, options);
|
|
1289
|
+
}
|
|
1290
|
+
static equals(a, b) {
|
|
1291
|
+
return protobuf_1.proto3.util.equals(SearchOrganizationConnectionsRequest, a, b);
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
exports.SearchOrganizationConnectionsRequest = SearchOrganizationConnectionsRequest;
|
|
1295
|
+
SearchOrganizationConnectionsRequest.runtime = protobuf_1.proto3;
|
|
1296
|
+
SearchOrganizationConnectionsRequest.typeName = "scalekit.v1.connections.SearchOrganizationConnectionsRequest";
|
|
1297
|
+
SearchOrganizationConnectionsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1298
|
+
{ no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1299
|
+
{ no: 2, name: "provider", kind: "enum", T: protobuf_1.proto3.getEnumType(ConnectionProvider), opt: true },
|
|
1300
|
+
{ no: 3, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(ConnectionStatus), opt: true },
|
|
1301
|
+
{ no: 4, name: "connection_type", kind: "enum", T: protobuf_1.proto3.getEnumType(ConnectionType), opt: true },
|
|
1302
|
+
{ no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1303
|
+
{ no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1304
|
+
]);
|
|
1305
|
+
/**
|
|
1306
|
+
* @generated from message scalekit.v1.connections.SearchOrganizationConnectionsResponse
|
|
1307
|
+
*/
|
|
1308
|
+
class SearchOrganizationConnectionsResponse extends protobuf_1.Message {
|
|
1309
|
+
constructor(data) {
|
|
1310
|
+
super();
|
|
1311
|
+
/**
|
|
1312
|
+
* @generated from field: string next_page_token = 1;
|
|
1313
|
+
*/
|
|
1314
|
+
this.nextPageToken = "";
|
|
1315
|
+
/**
|
|
1316
|
+
* @generated from field: uint32 total_size = 2;
|
|
1317
|
+
*/
|
|
1318
|
+
this.totalSize = 0;
|
|
1319
|
+
/**
|
|
1320
|
+
* @generated from field: string prev_page_token = 3;
|
|
1321
|
+
*/
|
|
1322
|
+
this.prevPageToken = "";
|
|
1323
|
+
/**
|
|
1324
|
+
* @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
|
|
1325
|
+
*/
|
|
1326
|
+
this.connections = [];
|
|
1327
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1328
|
+
}
|
|
1329
|
+
static fromBinary(bytes, options) {
|
|
1330
|
+
return new SearchOrganizationConnectionsResponse().fromBinary(bytes, options);
|
|
1331
|
+
}
|
|
1332
|
+
static fromJson(jsonValue, options) {
|
|
1333
|
+
return new SearchOrganizationConnectionsResponse().fromJson(jsonValue, options);
|
|
1334
|
+
}
|
|
1335
|
+
static fromJsonString(jsonString, options) {
|
|
1336
|
+
return new SearchOrganizationConnectionsResponse().fromJsonString(jsonString, options);
|
|
1337
|
+
}
|
|
1338
|
+
static equals(a, b) {
|
|
1339
|
+
return protobuf_1.proto3.util.equals(SearchOrganizationConnectionsResponse, a, b);
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
exports.SearchOrganizationConnectionsResponse = SearchOrganizationConnectionsResponse;
|
|
1343
|
+
SearchOrganizationConnectionsResponse.runtime = protobuf_1.proto3;
|
|
1344
|
+
SearchOrganizationConnectionsResponse.typeName = "scalekit.v1.connections.SearchOrganizationConnectionsResponse";
|
|
1345
|
+
SearchOrganizationConnectionsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1346
|
+
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1347
|
+
{ no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1348
|
+
{ no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1349
|
+
{ no: 4, name: "connections", kind: "message", T: ListConnection, repeated: true },
|
|
1062
1350
|
]);
|
|
1063
1351
|
/**
|
|
1064
1352
|
* @generated from message scalekit.v1.connections.ToggleEnvironmentConnectionRequest
|
|
@@ -1208,6 +1496,9 @@ OIDCConnectionConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1208
1496
|
{ no: 11, name: "token_auth_type", kind: "enum", T: protobuf_1.proto3.getEnumType(TokenAuthType) },
|
|
1209
1497
|
{ no: 12, name: "redirect_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1210
1498
|
{ no: 13, name: "pkce_enabled", kind: "message", T: protobuf_1.BoolValue },
|
|
1499
|
+
{ no: 14, name: "idp_logout_required", kind: "message", T: protobuf_1.BoolValue },
|
|
1500
|
+
{ no: 15, name: "post_logout_redirect_uri", kind: "message", T: protobuf_1.StringValue },
|
|
1501
|
+
{ no: 16, name: "backchannel_logout_redirect_uri", kind: "message", T: protobuf_1.StringValue },
|
|
1211
1502
|
]);
|
|
1212
1503
|
/**
|
|
1213
1504
|
* @generated from message scalekit.v1.connections.OAuthConnectionConfig
|
|
@@ -1250,6 +1541,44 @@ OAuthConnectionConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1250
1541
|
{ no: 10, name: "scopes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1251
1542
|
{ no: 12, name: "redirect_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1252
1543
|
{ no: 13, name: "pkce_enabled", kind: "message", T: protobuf_1.BoolValue },
|
|
1544
|
+
{ no: 14, name: "prompt", kind: "message", T: protobuf_1.StringValue },
|
|
1545
|
+
{ no: 15, name: "use_platform_creds", kind: "message", T: protobuf_1.BoolValue },
|
|
1546
|
+
]);
|
|
1547
|
+
/**
|
|
1548
|
+
* @generated from message scalekit.v1.connections.PasswordLessConfig
|
|
1549
|
+
*/
|
|
1550
|
+
class PasswordLessConfig extends protobuf_1.Message {
|
|
1551
|
+
constructor(data) {
|
|
1552
|
+
super();
|
|
1553
|
+
/**
|
|
1554
|
+
* @generated from field: scalekit.v1.connections.PasswordlessType type = 1;
|
|
1555
|
+
*/
|
|
1556
|
+
this.type = PasswordlessType.PasswordlessType_UNSPECIFIED;
|
|
1557
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1558
|
+
}
|
|
1559
|
+
static fromBinary(bytes, options) {
|
|
1560
|
+
return new PasswordLessConfig().fromBinary(bytes, options);
|
|
1561
|
+
}
|
|
1562
|
+
static fromJson(jsonValue, options) {
|
|
1563
|
+
return new PasswordLessConfig().fromJson(jsonValue, options);
|
|
1564
|
+
}
|
|
1565
|
+
static fromJsonString(jsonString, options) {
|
|
1566
|
+
return new PasswordLessConfig().fromJsonString(jsonString, options);
|
|
1567
|
+
}
|
|
1568
|
+
static equals(a, b) {
|
|
1569
|
+
return protobuf_1.proto3.util.equals(PasswordLessConfig, a, b);
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
exports.PasswordLessConfig = PasswordLessConfig;
|
|
1573
|
+
PasswordLessConfig.runtime = protobuf_1.proto3;
|
|
1574
|
+
PasswordLessConfig.typeName = "scalekit.v1.connections.PasswordLessConfig";
|
|
1575
|
+
PasswordLessConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1576
|
+
{ no: 1, name: "type", kind: "enum", T: protobuf_1.proto3.getEnumType(PasswordlessType) },
|
|
1577
|
+
{ no: 2, name: "frequency", kind: "message", T: protobuf_1.UInt32Value, opt: true },
|
|
1578
|
+
{ no: 3, name: "validity", kind: "message", T: protobuf_1.UInt32Value, opt: true },
|
|
1579
|
+
{ no: 4, name: "enforce_same_browser_origin", kind: "message", T: protobuf_1.BoolValue, opt: true },
|
|
1580
|
+
{ no: 5, name: "code_challenge_length", kind: "message", T: protobuf_1.UInt32Value, opt: true },
|
|
1581
|
+
{ no: 6, name: "code_challenge_type", kind: "enum", T: protobuf_1.proto3.getEnumType(CodeChallengeType), opt: true },
|
|
1253
1582
|
]);
|
|
1254
1583
|
/**
|
|
1255
1584
|
* @generated from message scalekit.v1.connections.SAMLConnectionConfigRequest
|
|
@@ -1306,6 +1635,8 @@ SAMLConnectionConfigRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1306
1635
|
{ no: 15, name: "default_redirect_uri", kind: "message", T: protobuf_1.StringValue },
|
|
1307
1636
|
{ no: 16, name: "assertion_encrypted", kind: "message", T: protobuf_1.BoolValue },
|
|
1308
1637
|
{ no: 17, name: "want_request_signed", kind: "message", T: protobuf_1.BoolValue },
|
|
1638
|
+
{ no: 18, name: "certificate_id", kind: "message", T: protobuf_1.StringValue },
|
|
1639
|
+
{ no: 19, name: "idp_slo_required", kind: "message", T: protobuf_1.BoolValue },
|
|
1309
1640
|
]);
|
|
1310
1641
|
/**
|
|
1311
1642
|
* @generated from message scalekit.v1.connections.SAMLConnectionConfigResponse
|
|
@@ -1382,6 +1713,9 @@ SAMLConnectionConfigResponse.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
1382
1713
|
{ no: 16, name: "default_redirect_uri", kind: "message", T: protobuf_1.StringValue },
|
|
1383
1714
|
{ no: 17, name: "assertion_encrypted", kind: "message", T: protobuf_1.BoolValue },
|
|
1384
1715
|
{ no: 18, name: "want_request_signed", kind: "message", T: protobuf_1.BoolValue },
|
|
1716
|
+
{ no: 19, name: "certificate_id", kind: "message", T: protobuf_1.StringValue },
|
|
1717
|
+
{ no: 20, name: "idp_slo_required", kind: "message", T: protobuf_1.BoolValue },
|
|
1718
|
+
{ no: 21, name: "sp_slo_url", kind: "message", T: protobuf_1.StringValue },
|
|
1385
1719
|
]);
|
|
1386
1720
|
/**
|
|
1387
1721
|
* @generated from message scalekit.v1.connections.IDPCertificate
|
|
@@ -1763,6 +2097,77 @@ GetSAMLCertificateDetailsResponse.fields = protobuf_1.proto3.util.newFieldList((
|
|
|
1763
2097
|
{ no: 4, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1764
2098
|
{ no: 5, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1765
2099
|
]);
|
|
2100
|
+
/**
|
|
2101
|
+
* @generated from message scalekit.v1.connections.GetConnectionTestResultRequest
|
|
2102
|
+
*/
|
|
2103
|
+
class GetConnectionTestResultRequest extends protobuf_1.Message {
|
|
2104
|
+
constructor(data) {
|
|
2105
|
+
super();
|
|
2106
|
+
/**
|
|
2107
|
+
* @generated from field: string connection_id = 1;
|
|
2108
|
+
*/
|
|
2109
|
+
this.connectionId = "";
|
|
2110
|
+
/**
|
|
2111
|
+
* @generated from field: string test_request_id = 2;
|
|
2112
|
+
*/
|
|
2113
|
+
this.testRequestId = "";
|
|
2114
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2115
|
+
}
|
|
2116
|
+
static fromBinary(bytes, options) {
|
|
2117
|
+
return new GetConnectionTestResultRequest().fromBinary(bytes, options);
|
|
2118
|
+
}
|
|
2119
|
+
static fromJson(jsonValue, options) {
|
|
2120
|
+
return new GetConnectionTestResultRequest().fromJson(jsonValue, options);
|
|
2121
|
+
}
|
|
2122
|
+
static fromJsonString(jsonString, options) {
|
|
2123
|
+
return new GetConnectionTestResultRequest().fromJsonString(jsonString, options);
|
|
2124
|
+
}
|
|
2125
|
+
static equals(a, b) {
|
|
2126
|
+
return protobuf_1.proto3.util.equals(GetConnectionTestResultRequest, a, b);
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
exports.GetConnectionTestResultRequest = GetConnectionTestResultRequest;
|
|
2130
|
+
GetConnectionTestResultRequest.runtime = protobuf_1.proto3;
|
|
2131
|
+
GetConnectionTestResultRequest.typeName = "scalekit.v1.connections.GetConnectionTestResultRequest";
|
|
2132
|
+
GetConnectionTestResultRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2133
|
+
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2134
|
+
{ no: 2, name: "test_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2135
|
+
]);
|
|
2136
|
+
/**
|
|
2137
|
+
* @generated from message scalekit.v1.connections.GetConnectionTestResultResponse
|
|
2138
|
+
*/
|
|
2139
|
+
class GetConnectionTestResultResponse extends protobuf_1.Message {
|
|
2140
|
+
constructor(data) {
|
|
2141
|
+
super();
|
|
2142
|
+
/**
|
|
2143
|
+
* @generated from field: scalekit.v1.connections.TestResultStatus status = 1;
|
|
2144
|
+
*/
|
|
2145
|
+
this.status = TestResultStatus.PENDING;
|
|
2146
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2147
|
+
}
|
|
2148
|
+
static fromBinary(bytes, options) {
|
|
2149
|
+
return new GetConnectionTestResultResponse().fromBinary(bytes, options);
|
|
2150
|
+
}
|
|
2151
|
+
static fromJson(jsonValue, options) {
|
|
2152
|
+
return new GetConnectionTestResultResponse().fromJson(jsonValue, options);
|
|
2153
|
+
}
|
|
2154
|
+
static fromJsonString(jsonString, options) {
|
|
2155
|
+
return new GetConnectionTestResultResponse().fromJsonString(jsonString, options);
|
|
2156
|
+
}
|
|
2157
|
+
static equals(a, b) {
|
|
2158
|
+
return protobuf_1.proto3.util.equals(GetConnectionTestResultResponse, a, b);
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
exports.GetConnectionTestResultResponse = GetConnectionTestResultResponse;
|
|
2162
|
+
GetConnectionTestResultResponse.runtime = protobuf_1.proto3;
|
|
2163
|
+
GetConnectionTestResultResponse.typeName = "scalekit.v1.connections.GetConnectionTestResultResponse";
|
|
2164
|
+
GetConnectionTestResultResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2165
|
+
{ no: 1, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(TestResultStatus) },
|
|
2166
|
+
{ no: 2, name: "user_info", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2167
|
+
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2168
|
+
{ no: 4, name: "error_description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2169
|
+
{ no: 5, name: "error_details", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2170
|
+
]);
|
|
1766
2171
|
/**
|
|
1767
2172
|
* @generated from message scalekit.v1.connections.PasswordConnectionConfig
|
|
1768
2173
|
*/
|