@scalekit-sdk/node 2.2.0-beta.0 → 2.2.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/.nvmrc +1 -1
- package/README.md +5 -5
- package/buf.gen.yaml +1 -5
- package/lib/auth.d.ts +9 -6
- package/lib/auth.js +4 -20
- package/lib/auth.js.map +1 -1
- package/lib/connect.d.ts +3 -3
- package/lib/connect.js +1 -2
- package/lib/connect.js.map +1 -1
- package/lib/connection.d.ts +2 -2
- package/lib/connection.js +4 -4
- package/lib/connection.js.map +1 -1
- package/lib/core.js +2 -2
- package/lib/core.js.map +1 -1
- package/lib/directory.d.ts +2 -2
- package/lib/directory.js +7 -7
- package/lib/directory.js.map +1 -1
- package/lib/domain.d.ts +6 -5
- package/lib/domain.js +4 -5
- package/lib/domain.js.map +1 -1
- package/lib/errors/base-exception.d.ts +1 -1
- package/lib/errors/base-exception.js +1 -1
- package/lib/errors/base-exception.js.map +1 -1
- package/lib/organization.d.ts +10 -9
- package/lib/organization.js +11 -9
- package/lib/organization.js.map +1 -1
- package/lib/passwordless.d.ts +2 -2
- package/lib/passwordless.js +8 -7
- package/lib/passwordless.js.map +1 -1
- package/lib/permission.d.ts +6 -5
- package/lib/permission.js +10 -11
- package/lib/permission.js.map +1 -1
- package/lib/pkg/grpc/buf/validate/validate_pb.d.ts +7 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js +25 -0
- package/lib/pkg/grpc/buf/validate/validate_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js +25 -0
- package/lib/pkg/grpc/google/api/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js +25 -0
- package/lib/pkg/grpc/google/api/field_behavior_pb.js.map +1 -0
- package/lib/pkg/grpc/google/api/visibility_pb.d.ts +7 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js +25 -0
- package/lib/pkg/grpc/google/api/visibility_pb.js.map +1 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.d.ts +7 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js +25 -0
- package/lib/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +48 -42
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +27 -263
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +371 -325
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +132 -835
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +113 -87
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +45 -201
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +262 -265
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js +92 -938
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +162 -157
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +42 -313
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1488 -1459
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +353 -2362
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +520 -483
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +224 -1555
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +219 -191
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +96 -553
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +76 -102
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +37 -393
- package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +36 -26
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +20 -69
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +447 -400
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +163 -1238
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +622 -556
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +201 -1718
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +135 -132
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +55 -518
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +445 -413
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +142 -1490
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/role.d.ts +8 -7
- package/lib/role.js +14 -14
- package/lib/role.js.map +1 -1
- package/lib/scalekit.d.ts +0 -4
- package/lib/scalekit.js +0 -4
- package/lib/scalekit.js.map +1 -1
- package/lib/session.js +15 -24
- package/lib/session.js.map +1 -1
- package/lib/user.d.ts +6 -5
- package/lib/user.js +17 -20
- package/lib/user.js.map +1 -1
- package/lib/webauthn.js +6 -5
- package/lib/webauthn.js.map +1 -1
- package/package.json +6 -10
- package/reference.md +0 -671
- package/src/auth.ts +17 -17
- package/src/connect.ts +4 -5
- package/src/connection.ts +5 -5
- package/src/core.ts +2 -2
- package/src/directory.ts +8 -8
- package/src/domain.ts +9 -8
- package/src/errors/base-exception.ts +3 -2
- package/src/organization.ts +18 -15
- package/src/passwordless.ts +12 -11
- package/src/permission.ts +15 -15
- package/src/pkg/grpc/buf/validate/validate_pb.ts +28 -0
- package/src/pkg/grpc/google/api/annotations_pb.ts +28 -0
- package/src/pkg/grpc/google/api/field_behavior_pb.ts +28 -0
- package/src/pkg/grpc/google/api/visibility_pb.ts +28 -0
- package/src/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.ts +28 -0
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +97 -182
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +473 -850
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +153 -225
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +361 -830
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +237 -358
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +1625 -2826
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +687 -1413
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +286 -542
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +115 -328
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +50 -80
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +558 -1183
- package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +765 -1669
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +195 -447
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +592 -1339
- package/src/role.ts +21 -19
- package/src/scalekit.ts +0 -9
- package/src/session.ts +20 -34
- package/src/user.ts +30 -26
- package/src/webauthn.ts +10 -9
- package/tests/utils/test-data.ts +17 -8
- package/lib/connected-accounts.d.ts +0 -96
- package/lib/connected-accounts.js +0 -186
- package/lib/connected-accounts.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +0 -19
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +0 -27
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +0 -118
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +0 -126
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +0 -37
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +0 -45
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.d.ts +0 -82
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js +0 -90
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.d.ts +0 -87
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js +0 -95
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.d.ts +0 -718
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js +0 -893
- package/lib/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +0 -172
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +0 -180
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +0 -154
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +0 -162
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +0 -73
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +0 -81
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +0 -171
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +0 -179
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +0 -250
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +0 -258
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +0 -46
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +0 -54
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.d.ts +0 -75
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js +0 -83
- package/lib/pkg/grpc/scalekit/v1/tools/tools_connect.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.d.ts +0 -431
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js +0 -627
- package/lib/pkg/grpc/scalekit/v1/tools/tools_pb.js.map +0 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.d.ts +0 -173
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js +0 -181
- package/lib/pkg/grpc/scalekit/v1/users/users_connect.js.map +0 -1
- package/lib/tools.d.ts +0 -75
- package/lib/tools.js +0 -127
- package/lib/tools.js.map +0 -1
- package/src/connected-accounts.ts +0 -283
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +0 -26
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +0 -125
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +0 -44
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +0 -89
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_connect.ts +0 -94
- package/src/pkg/grpc/scalekit/v1/connected_accounts/connected_accounts_pb.ts +0 -1294
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +0 -179
- package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +0 -161
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +0 -80
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +0 -178
- package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +0 -257
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +0 -53
- package/src/pkg/grpc/scalekit/v1/tools/tools_connect.ts +0 -82
- package/src/pkg/grpc/scalekit/v1/tools/tools_pb.ts +0 -847
- package/src/pkg/grpc/scalekit/v1/users/users_connect.ts +0 -180
- package/src/tools.ts +0 -166
- package/tests/connected-accounts.test.ts +0 -434
- package/tests/tools.test.ts +0 -239
|
@@ -1,263 +1,83 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file scalekit/v1/auth/auth.proto (package scalekit.v1.auth, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import { file_google_api_annotations } from "../../../google/api/annotations_pb";
|
|
9
|
+
import { file_google_api_visibility } from "../../../google/api/visibility_pb";
|
|
10
|
+
import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import { file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
12
|
+
import { file_protoc_gen_openapiv2_options_annotations } from "../../../protoc-gen-openapiv2/options/annotations_pb";
|
|
13
|
+
import type { ConnectionType, PasswordlessType } from "../connections/connections_pb";
|
|
14
|
+
import { file_scalekit_v1_connections_connections } from "../connections/connections_pb";
|
|
15
|
+
import { file_scalekit_v1_options_options } from "../options/options_pb";
|
|
16
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
9
17
|
|
|
10
18
|
/**
|
|
11
|
-
*
|
|
19
|
+
* Describes the file scalekit/v1/auth/auth.proto.
|
|
12
20
|
*/
|
|
13
|
-
export
|
|
14
|
-
/**
|
|
15
|
-
* @generated from enum value: INTENT_UNSPECIFIED = 0;
|
|
16
|
-
*/
|
|
17
|
-
INTENT_UNSPECIFIED = 0,
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @generated from enum value: sign_in = 1;
|
|
21
|
-
*/
|
|
22
|
-
sign_in = 1,
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @generated from enum value: sign_up = 2;
|
|
26
|
-
*/
|
|
27
|
-
sign_up = 2,
|
|
28
|
-
}
|
|
29
|
-
// Retrieve enum metadata with: proto3.getEnumType(Intent)
|
|
30
|
-
proto3.util.setEnumType(Intent, "scalekit.v1.auth.Intent", [
|
|
31
|
-
{ no: 0, name: "INTENT_UNSPECIFIED" },
|
|
32
|
-
{ no: 1, name: "sign_in" },
|
|
33
|
-
{ no: 2, name: "sign_up" },
|
|
34
|
-
]);
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @generated from enum scalekit.v1.auth.AuthState
|
|
38
|
-
*/
|
|
39
|
-
export enum AuthState {
|
|
40
|
-
/**
|
|
41
|
-
* @generated from enum value: AUTH_STATE_UNSPECIFIED = 0;
|
|
42
|
-
*/
|
|
43
|
-
AUTH_STATE_UNSPECIFIED = 0,
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @generated from enum value: AUTHENTICATION_IN_PROGRESS = 1;
|
|
47
|
-
*/
|
|
48
|
-
AUTHENTICATION_IN_PROGRESS = 1,
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @generated from enum value: ORGANIZATION_SWITCHER = 2;
|
|
52
|
-
*/
|
|
53
|
-
ORGANIZATION_SWITCHER = 2,
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @generated from enum value: ORGANIZATION_SELECTED = 3;
|
|
57
|
-
*/
|
|
58
|
-
ORGANIZATION_SELECTED = 3,
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @generated from enum value: ORGANIZATION_SIGNUP = 4;
|
|
62
|
-
*/
|
|
63
|
-
ORGANIZATION_SIGNUP = 4,
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @generated from enum value: ORGANIZATION_SWITCHER_SIGNUP = 5;
|
|
67
|
-
*/
|
|
68
|
-
ORGANIZATION_SWITCHER_SIGNUP = 5,
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @generated from enum value: OTP_VERIFICATION_PENDING = 6;
|
|
72
|
-
*/
|
|
73
|
-
OTP_VERIFICATION_PENDING = 6,
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @generated from enum value: MAGIC_LINK_SENT = 7;
|
|
77
|
-
*/
|
|
78
|
-
MAGIC_LINK_SENT = 7,
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @generated from enum value: LINK_SENT_OTP_VERIFICATION_PENDING = 8;
|
|
82
|
-
*/
|
|
83
|
-
LINK_SENT_OTP_VERIFICATION_PENDING = 8,
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @generated from enum value: OTP_VERIFIED = 9;
|
|
87
|
-
*/
|
|
88
|
-
OTP_VERIFIED = 9,
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @generated from enum value: LINK_VERIFIED = 10;
|
|
92
|
-
*/
|
|
93
|
-
LINK_VERIFIED = 10,
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @generated from enum value: SSO_AUTHENTICATED = 11;
|
|
97
|
-
*/
|
|
98
|
-
SSO_AUTHENTICATED = 11,
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @generated from enum value: ORG_USER_CREATED = 12;
|
|
102
|
-
*/
|
|
103
|
-
ORG_USER_CREATED = 12,
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @generated from enum value: AUTHENTICATION_COMPLETED = 13;
|
|
107
|
-
*/
|
|
108
|
-
AUTHENTICATION_COMPLETED = 13,
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @generated from enum value: AUTHENTICATION_FAILED = 14;
|
|
112
|
-
*/
|
|
113
|
-
AUTHENTICATION_FAILED = 14,
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @generated from enum value: WEBAUTHN_VERIFIED = 15;
|
|
117
|
-
*/
|
|
118
|
-
WEBAUTHN_VERIFIED = 15,
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @generated from enum value: VERIFICATION_MAGIC_LINK_SENT = 16;
|
|
122
|
-
*/
|
|
123
|
-
VERIFICATION_MAGIC_LINK_SENT = 16,
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @generated from enum value: VERIFICATION_MAGIC_LINK_OTP_SENT = 17;
|
|
127
|
-
*/
|
|
128
|
-
VERIFICATION_MAGIC_LINK_OTP_SENT = 17,
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @generated from enum value: VERIFICATION_OTP_SENT = 18;
|
|
132
|
-
*/
|
|
133
|
-
VERIFICATION_OTP_SENT = 18,
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @generated from enum value: VERIFICATION_COMPLETED = 19;
|
|
137
|
-
*/
|
|
138
|
-
VERIFICATION_COMPLETED = 19,
|
|
139
|
-
}
|
|
140
|
-
// Retrieve enum metadata with: proto3.getEnumType(AuthState)
|
|
141
|
-
proto3.util.setEnumType(AuthState, "scalekit.v1.auth.AuthState", [
|
|
142
|
-
{ no: 0, name: "AUTH_STATE_UNSPECIFIED" },
|
|
143
|
-
{ no: 1, name: "AUTHENTICATION_IN_PROGRESS" },
|
|
144
|
-
{ no: 2, name: "ORGANIZATION_SWITCHER" },
|
|
145
|
-
{ no: 3, name: "ORGANIZATION_SELECTED" },
|
|
146
|
-
{ no: 4, name: "ORGANIZATION_SIGNUP" },
|
|
147
|
-
{ no: 5, name: "ORGANIZATION_SWITCHER_SIGNUP" },
|
|
148
|
-
{ no: 6, name: "OTP_VERIFICATION_PENDING" },
|
|
149
|
-
{ no: 7, name: "MAGIC_LINK_SENT" },
|
|
150
|
-
{ no: 8, name: "LINK_SENT_OTP_VERIFICATION_PENDING" },
|
|
151
|
-
{ no: 9, name: "OTP_VERIFIED" },
|
|
152
|
-
{ no: 10, name: "LINK_VERIFIED" },
|
|
153
|
-
{ no: 11, name: "SSO_AUTHENTICATED" },
|
|
154
|
-
{ no: 12, name: "ORG_USER_CREATED" },
|
|
155
|
-
{ no: 13, name: "AUTHENTICATION_COMPLETED" },
|
|
156
|
-
{ no: 14, name: "AUTHENTICATION_FAILED" },
|
|
157
|
-
{ no: 15, name: "WEBAUTHN_VERIFIED" },
|
|
158
|
-
{ no: 16, name: "VERIFICATION_MAGIC_LINK_SENT" },
|
|
159
|
-
{ no: 17, name: "VERIFICATION_MAGIC_LINK_OTP_SENT" },
|
|
160
|
-
{ no: 18, name: "VERIFICATION_OTP_SENT" },
|
|
161
|
-
{ no: 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0CChZVcGRhdGVMb2dpblVzZXJEZXRhaWxzEi8uc2NhbGVraXQudjEuYXV0aC5VcGRhdGVMb2dpblVzZXJEZXRhaWxzUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSLpAZJBegoLQ29ubmVjdGlvbnMSJVVwZGF0ZSBVc2VyIERldGFpbHMgZm9yIGxvZ2luIHJlcXVlc3QaJVVwZGF0ZSBVc2VyIERldGFpbHMgZm9yIGxvZ2luIHJlcXVlc3RKHQoDMjAwEhYKFERlbGV0ZWQgU3VjY2Vzc2Z1bGx5grUYAhgE+tLkkwIJEgdQUkVWSUVXgtPkkwJROgR1c2VyIkkvYXBpL3YxL2Nvbm5lY3Rpb25zL3tjb25uZWN0aW9uX2lkfS9hdXRoLXJlcXVlc3RzL3tsb2dpbl9yZXF1ZXN0X2lkfS91c2VyQjBaLmdpdGh1Yi5jb20vc2NhbGVraXQtaW5jL3NjYWxla2l0L3BrZy9ncnBjL2F1dGhiBnByb3RvMw", [file_buf_validate_validate, file_google_api_annotations, file_google_api_visibility, file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp, file_protoc_gen_openapiv2_options_annotations, file_scalekit_v1_connections_connections, file_scalekit_v1_options_options]);
|
|
163
23
|
|
|
164
24
|
/**
|
|
165
25
|
* @generated from message scalekit.v1.auth.ListAuthMethodsRequest
|
|
166
26
|
*/
|
|
167
|
-
export
|
|
27
|
+
export type ListAuthMethodsRequest = Message<"scalekit.v1.auth.ListAuthMethodsRequest"> & {
|
|
168
28
|
/**
|
|
169
29
|
* @generated from field: string intent = 1;
|
|
170
30
|
*/
|
|
171
|
-
intent
|
|
172
|
-
|
|
173
|
-
constructor(data?: PartialMessage<ListAuthMethodsRequest>) {
|
|
174
|
-
super();
|
|
175
|
-
proto3.util.initPartial(data, this);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
179
|
-
static readonly typeName = "scalekit.v1.auth.ListAuthMethodsRequest";
|
|
180
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
181
|
-
{ no: 1, name: "intent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
182
|
-
]);
|
|
183
|
-
|
|
184
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAuthMethodsRequest {
|
|
185
|
-
return new ListAuthMethodsRequest().fromBinary(bytes, options);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAuthMethodsRequest {
|
|
189
|
-
return new ListAuthMethodsRequest().fromJson(jsonValue, options);
|
|
190
|
-
}
|
|
31
|
+
intent: string;
|
|
32
|
+
};
|
|
191
33
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
199
|
-
}
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message scalekit.v1.auth.ListAuthMethodsRequest.
|
|
36
|
+
* Use `create(ListAuthMethodsRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const ListAuthMethodsRequestSchema: GenMessage<ListAuthMethodsRequest> = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_scalekit_v1_auth_auth, 0);
|
|
200
40
|
|
|
201
41
|
/**
|
|
202
42
|
* @generated from message scalekit.v1.auth.ListAuthMethodsResponse
|
|
203
43
|
*/
|
|
204
|
-
export
|
|
44
|
+
export type ListAuthMethodsResponse = Message<"scalekit.v1.auth.ListAuthMethodsResponse"> & {
|
|
205
45
|
/**
|
|
206
46
|
* @generated from field: repeated scalekit.v1.auth.AuthMethod auth_methods = 1;
|
|
207
47
|
*/
|
|
208
|
-
authMethods: AuthMethod[]
|
|
209
|
-
|
|
210
|
-
constructor(data?: PartialMessage<ListAuthMethodsResponse>) {
|
|
211
|
-
super();
|
|
212
|
-
proto3.util.initPartial(data, this);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
216
|
-
static readonly typeName = "scalekit.v1.auth.ListAuthMethodsResponse";
|
|
217
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
218
|
-
{ no: 1, name: "auth_methods", kind: "message", T: AuthMethod, repeated: true },
|
|
219
|
-
]);
|
|
220
|
-
|
|
221
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAuthMethodsResponse {
|
|
222
|
-
return new ListAuthMethodsResponse().fromBinary(bytes, options);
|
|
223
|
-
}
|
|
48
|
+
authMethods: AuthMethod[];
|
|
49
|
+
};
|
|
224
50
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
static equals(a: ListAuthMethodsResponse | PlainMessage<ListAuthMethodsResponse> | undefined, b: ListAuthMethodsResponse | PlainMessage<ListAuthMethodsResponse> | undefined): boolean {
|
|
234
|
-
return proto3.util.equals(ListAuthMethodsResponse, a, b);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message scalekit.v1.auth.ListAuthMethodsResponse.
|
|
53
|
+
* Use `create(ListAuthMethodsResponseSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const ListAuthMethodsResponseSchema: GenMessage<ListAuthMethodsResponse> = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_scalekit_v1_auth_auth, 1);
|
|
237
57
|
|
|
238
58
|
/**
|
|
239
59
|
* @generated from message scalekit.v1.auth.AuthMethod
|
|
240
60
|
*/
|
|
241
|
-
export
|
|
61
|
+
export type AuthMethod = Message<"scalekit.v1.auth.AuthMethod"> & {
|
|
242
62
|
/**
|
|
243
63
|
* @generated from field: string connection_id = 1;
|
|
244
64
|
*/
|
|
245
|
-
connectionId
|
|
65
|
+
connectionId: string;
|
|
246
66
|
|
|
247
67
|
/**
|
|
248
68
|
* @generated from field: scalekit.v1.connections.ConnectionType connection_type = 2;
|
|
249
69
|
*/
|
|
250
|
-
connectionType
|
|
70
|
+
connectionType: ConnectionType;
|
|
251
71
|
|
|
252
72
|
/**
|
|
253
73
|
* @generated from field: string provider = 3;
|
|
254
74
|
*/
|
|
255
|
-
provider
|
|
75
|
+
provider: string;
|
|
256
76
|
|
|
257
77
|
/**
|
|
258
78
|
* @generated from field: string auth_initiation_uri = 4;
|
|
259
79
|
*/
|
|
260
|
-
authInitiationUri
|
|
80
|
+
authInitiationUri: string;
|
|
261
81
|
|
|
262
82
|
/**
|
|
263
83
|
* @generated from field: optional scalekit.v1.connections.PasswordlessType passwordless_type = 5;
|
|
@@ -283,378 +103,173 @@ export class AuthMethod extends Message<AuthMethod> {
|
|
|
283
103
|
* @generated from field: optional bool enable_webauthn_conditional_login = 9;
|
|
284
104
|
*/
|
|
285
105
|
enableWebauthnConditionalLogin?: boolean;
|
|
106
|
+
};
|
|
286
107
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
static readonly typeName = "scalekit.v1.auth.AuthMethod";
|
|
294
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
295
|
-
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
296
|
-
{ no: 2, name: "connection_type", kind: "enum", T: proto3.getEnumType(ConnectionType) },
|
|
297
|
-
{ no: 3, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
298
|
-
{ no: 4, name: "auth_initiation_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
299
|
-
{ no: 5, name: "passwordless_type", kind: "enum", T: proto3.getEnumType(PasswordlessType), opt: true },
|
|
300
|
-
{ no: 6, name: "code_challenge_length", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
301
|
-
{ no: 7, name: "enable_webauthn_auto_registration", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
302
|
-
{ no: 8, name: "show_passkey_button", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
303
|
-
{ no: 9, name: "enable_webauthn_conditional_login", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
304
|
-
]);
|
|
305
|
-
|
|
306
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthMethod {
|
|
307
|
-
return new AuthMethod().fromBinary(bytes, options);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthMethod {
|
|
311
|
-
return new AuthMethod().fromJson(jsonValue, options);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthMethod {
|
|
315
|
-
return new AuthMethod().fromJsonString(jsonString, options);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
static equals(a: AuthMethod | PlainMessage<AuthMethod> | undefined, b: AuthMethod | PlainMessage<AuthMethod> | undefined): boolean {
|
|
319
|
-
return proto3.util.equals(AuthMethod, a, b);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message scalekit.v1.auth.AuthMethod.
|
|
110
|
+
* Use `create(AuthMethodSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const AuthMethodSchema: GenMessage<AuthMethod> = /*@__PURE__*/
|
|
113
|
+
messageDesc(file_scalekit_v1_auth_auth, 2);
|
|
322
114
|
|
|
323
115
|
/**
|
|
324
116
|
* @generated from message scalekit.v1.auth.DiscoveryAuthMethodRequest
|
|
325
117
|
*/
|
|
326
|
-
export
|
|
118
|
+
export type DiscoveryAuthMethodRequest = Message<"scalekit.v1.auth.DiscoveryAuthMethodRequest"> & {
|
|
327
119
|
/**
|
|
328
120
|
* @generated from field: scalekit.v1.auth.DiscoveryRequest discovery_request = 2;
|
|
329
121
|
*/
|
|
330
122
|
discoveryRequest?: DiscoveryRequest;
|
|
123
|
+
};
|
|
331
124
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
static readonly typeName = "scalekit.v1.auth.DiscoveryAuthMethodRequest";
|
|
339
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
340
|
-
{ no: 2, name: "discovery_request", kind: "message", T: DiscoveryRequest },
|
|
341
|
-
]);
|
|
342
|
-
|
|
343
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoveryAuthMethodRequest {
|
|
344
|
-
return new DiscoveryAuthMethodRequest().fromBinary(bytes, options);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodRequest {
|
|
348
|
-
return new DiscoveryAuthMethodRequest().fromJson(jsonValue, options);
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodRequest {
|
|
352
|
-
return new DiscoveryAuthMethodRequest().fromJsonString(jsonString, options);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
static equals(a: DiscoveryAuthMethodRequest | PlainMessage<DiscoveryAuthMethodRequest> | undefined, b: DiscoveryAuthMethodRequest | PlainMessage<DiscoveryAuthMethodRequest> | undefined): boolean {
|
|
356
|
-
return proto3.util.equals(DiscoveryAuthMethodRequest, a, b);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
125
|
+
/**
|
|
126
|
+
* Describes the message scalekit.v1.auth.DiscoveryAuthMethodRequest.
|
|
127
|
+
* Use `create(DiscoveryAuthMethodRequestSchema)` to create a new message.
|
|
128
|
+
*/
|
|
129
|
+
export const DiscoveryAuthMethodRequestSchema: GenMessage<DiscoveryAuthMethodRequest> = /*@__PURE__*/
|
|
130
|
+
messageDesc(file_scalekit_v1_auth_auth, 3);
|
|
359
131
|
|
|
360
132
|
/**
|
|
361
133
|
* @generated from message scalekit.v1.auth.DiscoveryRequest
|
|
362
134
|
*/
|
|
363
|
-
export
|
|
135
|
+
export type DiscoveryRequest = Message<"scalekit.v1.auth.DiscoveryRequest"> & {
|
|
364
136
|
/**
|
|
365
137
|
* @generated from field: string email = 1;
|
|
366
138
|
*/
|
|
367
|
-
email
|
|
139
|
+
email: string;
|
|
368
140
|
|
|
369
141
|
/**
|
|
370
142
|
* @generated from field: scalekit.v1.auth.Intent intent = 2;
|
|
371
143
|
*/
|
|
372
|
-
intent
|
|
373
|
-
|
|
374
|
-
constructor(data?: PartialMessage<DiscoveryRequest>) {
|
|
375
|
-
super();
|
|
376
|
-
proto3.util.initPartial(data, this);
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
380
|
-
static readonly typeName = "scalekit.v1.auth.DiscoveryRequest";
|
|
381
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
382
|
-
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
383
|
-
{ no: 2, name: "intent", kind: "enum", T: proto3.getEnumType(Intent) },
|
|
384
|
-
]);
|
|
144
|
+
intent: Intent;
|
|
145
|
+
};
|
|
385
146
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryRequest {
|
|
395
|
-
return new DiscoveryRequest().fromJsonString(jsonString, options);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
static equals(a: DiscoveryRequest | PlainMessage<DiscoveryRequest> | undefined, b: DiscoveryRequest | PlainMessage<DiscoveryRequest> | undefined): boolean {
|
|
399
|
-
return proto3.util.equals(DiscoveryRequest, a, b);
|
|
400
|
-
}
|
|
401
|
-
}
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message scalekit.v1.auth.DiscoveryRequest.
|
|
149
|
+
* Use `create(DiscoveryRequestSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export const DiscoveryRequestSchema: GenMessage<DiscoveryRequest> = /*@__PURE__*/
|
|
152
|
+
messageDesc(file_scalekit_v1_auth_auth, 4);
|
|
402
153
|
|
|
403
154
|
/**
|
|
404
155
|
* @generated from message scalekit.v1.auth.DiscoveryAuthMethodResponse
|
|
405
156
|
*/
|
|
406
|
-
export
|
|
157
|
+
export type DiscoveryAuthMethodResponse = Message<"scalekit.v1.auth.DiscoveryAuthMethodResponse"> & {
|
|
407
158
|
/**
|
|
408
159
|
* @generated from field: scalekit.v1.auth.AuthMethod auth_method = 1;
|
|
409
160
|
*/
|
|
410
161
|
authMethod?: AuthMethod;
|
|
162
|
+
};
|
|
411
163
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
static readonly typeName = "scalekit.v1.auth.DiscoveryAuthMethodResponse";
|
|
419
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
420
|
-
{ no: 1, name: "auth_method", kind: "message", T: AuthMethod },
|
|
421
|
-
]);
|
|
422
|
-
|
|
423
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoveryAuthMethodResponse {
|
|
424
|
-
return new DiscoveryAuthMethodResponse().fromBinary(bytes, options);
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodResponse {
|
|
428
|
-
return new DiscoveryAuthMethodResponse().fromJson(jsonValue, options);
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodResponse {
|
|
432
|
-
return new DiscoveryAuthMethodResponse().fromJsonString(jsonString, options);
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
static equals(a: DiscoveryAuthMethodResponse | PlainMessage<DiscoveryAuthMethodResponse> | undefined, b: DiscoveryAuthMethodResponse | PlainMessage<DiscoveryAuthMethodResponse> | undefined): boolean {
|
|
436
|
-
return proto3.util.equals(DiscoveryAuthMethodResponse, a, b);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
164
|
+
/**
|
|
165
|
+
* Describes the message scalekit.v1.auth.DiscoveryAuthMethodResponse.
|
|
166
|
+
* Use `create(DiscoveryAuthMethodResponseSchema)` to create a new message.
|
|
167
|
+
*/
|
|
168
|
+
export const DiscoveryAuthMethodResponseSchema: GenMessage<DiscoveryAuthMethodResponse> = /*@__PURE__*/
|
|
169
|
+
messageDesc(file_scalekit_v1_auth_auth, 5);
|
|
439
170
|
|
|
440
171
|
/**
|
|
441
172
|
* @generated from message scalekit.v1.auth.GetAuthCustomizationsRequest
|
|
442
173
|
*/
|
|
443
|
-
export
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
]);
|
|
453
|
-
|
|
454
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthCustomizationsRequest {
|
|
455
|
-
return new GetAuthCustomizationsRequest().fromBinary(bytes, options);
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthCustomizationsRequest {
|
|
459
|
-
return new GetAuthCustomizationsRequest().fromJson(jsonValue, options);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthCustomizationsRequest {
|
|
463
|
-
return new GetAuthCustomizationsRequest().fromJsonString(jsonString, options);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
static equals(a: GetAuthCustomizationsRequest | PlainMessage<GetAuthCustomizationsRequest> | undefined, b: GetAuthCustomizationsRequest | PlainMessage<GetAuthCustomizationsRequest> | undefined): boolean {
|
|
467
|
-
return proto3.util.equals(GetAuthCustomizationsRequest, a, b);
|
|
468
|
-
}
|
|
469
|
-
}
|
|
174
|
+
export type GetAuthCustomizationsRequest = Message<"scalekit.v1.auth.GetAuthCustomizationsRequest"> & {
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message scalekit.v1.auth.GetAuthCustomizationsRequest.
|
|
179
|
+
* Use `create(GetAuthCustomizationsRequestSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export const GetAuthCustomizationsRequestSchema: GenMessage<GetAuthCustomizationsRequest> = /*@__PURE__*/
|
|
182
|
+
messageDesc(file_scalekit_v1_auth_auth, 6);
|
|
470
183
|
|
|
471
184
|
/**
|
|
472
185
|
* @generated from message scalekit.v1.auth.GetAuthCustomizationsResponse
|
|
473
186
|
*/
|
|
474
|
-
export
|
|
187
|
+
export type GetAuthCustomizationsResponse = Message<"scalekit.v1.auth.GetAuthCustomizationsResponse"> & {
|
|
475
188
|
/**
|
|
476
189
|
* @generated from field: google.protobuf.Struct customization_settings = 2;
|
|
477
190
|
*/
|
|
478
|
-
customizationSettings?:
|
|
479
|
-
|
|
480
|
-
constructor(data?: PartialMessage<GetAuthCustomizationsResponse>) {
|
|
481
|
-
super();
|
|
482
|
-
proto3.util.initPartial(data, this);
|
|
483
|
-
}
|
|
191
|
+
customizationSettings?: JsonObject;
|
|
192
|
+
};
|
|
484
193
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthCustomizationsResponse {
|
|
492
|
-
return new GetAuthCustomizationsResponse().fromBinary(bytes, options);
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthCustomizationsResponse {
|
|
496
|
-
return new GetAuthCustomizationsResponse().fromJson(jsonValue, options);
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthCustomizationsResponse {
|
|
500
|
-
return new GetAuthCustomizationsResponse().fromJsonString(jsonString, options);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
static equals(a: GetAuthCustomizationsResponse | PlainMessage<GetAuthCustomizationsResponse> | undefined, b: GetAuthCustomizationsResponse | PlainMessage<GetAuthCustomizationsResponse> | undefined): boolean {
|
|
504
|
-
return proto3.util.equals(GetAuthCustomizationsResponse, a, b);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
194
|
+
/**
|
|
195
|
+
* Describes the message scalekit.v1.auth.GetAuthCustomizationsResponse.
|
|
196
|
+
* Use `create(GetAuthCustomizationsResponseSchema)` to create a new message.
|
|
197
|
+
*/
|
|
198
|
+
export const GetAuthCustomizationsResponseSchema: GenMessage<GetAuthCustomizationsResponse> = /*@__PURE__*/
|
|
199
|
+
messageDesc(file_scalekit_v1_auth_auth, 7);
|
|
507
200
|
|
|
508
201
|
/**
|
|
509
202
|
* @generated from message scalekit.v1.auth.GetAuthFeaturesResponse
|
|
510
203
|
*/
|
|
511
|
-
export
|
|
204
|
+
export type GetAuthFeaturesResponse = Message<"scalekit.v1.auth.GetAuthFeaturesResponse"> & {
|
|
512
205
|
/**
|
|
513
206
|
* @generated from field: google.protobuf.Struct features = 1;
|
|
514
207
|
*/
|
|
515
|
-
features?:
|
|
516
|
-
|
|
517
|
-
constructor(data?: PartialMessage<GetAuthFeaturesResponse>) {
|
|
518
|
-
super();
|
|
519
|
-
proto3.util.initPartial(data, this);
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
523
|
-
static readonly typeName = "scalekit.v1.auth.GetAuthFeaturesResponse";
|
|
524
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
525
|
-
{ no: 1, name: "features", kind: "message", T: Struct },
|
|
526
|
-
]);
|
|
527
|
-
|
|
528
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthFeaturesResponse {
|
|
529
|
-
return new GetAuthFeaturesResponse().fromBinary(bytes, options);
|
|
530
|
-
}
|
|
208
|
+
features?: JsonObject;
|
|
209
|
+
};
|
|
531
210
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
static equals(a: GetAuthFeaturesResponse | PlainMessage<GetAuthFeaturesResponse> | undefined, b: GetAuthFeaturesResponse | PlainMessage<GetAuthFeaturesResponse> | undefined): boolean {
|
|
541
|
-
return proto3.util.equals(GetAuthFeaturesResponse, a, b);
|
|
542
|
-
}
|
|
543
|
-
}
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message scalekit.v1.auth.GetAuthFeaturesResponse.
|
|
213
|
+
* Use `create(GetAuthFeaturesResponseSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export const GetAuthFeaturesResponseSchema: GenMessage<GetAuthFeaturesResponse> = /*@__PURE__*/
|
|
216
|
+
messageDesc(file_scalekit_v1_auth_auth, 8);
|
|
544
217
|
|
|
545
218
|
/**
|
|
546
219
|
* @generated from message scalekit.v1.auth.VerifyPasswordLessOtpRequest
|
|
547
220
|
*/
|
|
548
|
-
export
|
|
221
|
+
export type VerifyPasswordLessOtpRequest = Message<"scalekit.v1.auth.VerifyPasswordLessOtpRequest"> & {
|
|
549
222
|
/**
|
|
550
223
|
* @generated from field: scalekit.v1.auth.OTPRequest otp_req = 2;
|
|
551
224
|
*/
|
|
552
225
|
otpReq?: OTPRequest;
|
|
226
|
+
};
|
|
553
227
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
static readonly typeName = "scalekit.v1.auth.VerifyPasswordLessOtpRequest";
|
|
561
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
562
|
-
{ no: 2, name: "otp_req", kind: "message", T: OTPRequest },
|
|
563
|
-
]);
|
|
564
|
-
|
|
565
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyPasswordLessOtpRequest {
|
|
566
|
-
return new VerifyPasswordLessOtpRequest().fromBinary(bytes, options);
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpRequest {
|
|
570
|
-
return new VerifyPasswordLessOtpRequest().fromJson(jsonValue, options);
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpRequest {
|
|
574
|
-
return new VerifyPasswordLessOtpRequest().fromJsonString(jsonString, options);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
static equals(a: VerifyPasswordLessOtpRequest | PlainMessage<VerifyPasswordLessOtpRequest> | undefined, b: VerifyPasswordLessOtpRequest | PlainMessage<VerifyPasswordLessOtpRequest> | undefined): boolean {
|
|
578
|
-
return proto3.util.equals(VerifyPasswordLessOtpRequest, a, b);
|
|
579
|
-
}
|
|
580
|
-
}
|
|
228
|
+
/**
|
|
229
|
+
* Describes the message scalekit.v1.auth.VerifyPasswordLessOtpRequest.
|
|
230
|
+
* Use `create(VerifyPasswordLessOtpRequestSchema)` to create a new message.
|
|
231
|
+
*/
|
|
232
|
+
export const VerifyPasswordLessOtpRequestSchema: GenMessage<VerifyPasswordLessOtpRequest> = /*@__PURE__*/
|
|
233
|
+
messageDesc(file_scalekit_v1_auth_auth, 9);
|
|
581
234
|
|
|
582
235
|
/**
|
|
583
236
|
* @generated from message scalekit.v1.auth.VerifyPasswordLessOtpResponse
|
|
584
237
|
*/
|
|
585
|
-
export
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
]);
|
|
595
|
-
|
|
596
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyPasswordLessOtpResponse {
|
|
597
|
-
return new VerifyPasswordLessOtpResponse().fromBinary(bytes, options);
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpResponse {
|
|
601
|
-
return new VerifyPasswordLessOtpResponse().fromJson(jsonValue, options);
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpResponse {
|
|
605
|
-
return new VerifyPasswordLessOtpResponse().fromJsonString(jsonString, options);
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
static equals(a: VerifyPasswordLessOtpResponse | PlainMessage<VerifyPasswordLessOtpResponse> | undefined, b: VerifyPasswordLessOtpResponse | PlainMessage<VerifyPasswordLessOtpResponse> | undefined): boolean {
|
|
609
|
-
return proto3.util.equals(VerifyPasswordLessOtpResponse, a, b);
|
|
610
|
-
}
|
|
611
|
-
}
|
|
238
|
+
export type VerifyPasswordLessOtpResponse = Message<"scalekit.v1.auth.VerifyPasswordLessOtpResponse"> & {
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Describes the message scalekit.v1.auth.VerifyPasswordLessOtpResponse.
|
|
243
|
+
* Use `create(VerifyPasswordLessOtpResponseSchema)` to create a new message.
|
|
244
|
+
*/
|
|
245
|
+
export const VerifyPasswordLessOtpResponseSchema: GenMessage<VerifyPasswordLessOtpResponse> = /*@__PURE__*/
|
|
246
|
+
messageDesc(file_scalekit_v1_auth_auth, 10);
|
|
612
247
|
|
|
613
248
|
/**
|
|
614
249
|
* @generated from message scalekit.v1.auth.OTPRequest
|
|
615
250
|
*/
|
|
616
|
-
export
|
|
251
|
+
export type OTPRequest = Message<"scalekit.v1.auth.OTPRequest"> & {
|
|
617
252
|
/**
|
|
618
253
|
* @generated from field: string code_challenge = 1;
|
|
619
254
|
*/
|
|
620
|
-
codeChallenge
|
|
621
|
-
|
|
622
|
-
constructor(data?: PartialMessage<OTPRequest>) {
|
|
623
|
-
super();
|
|
624
|
-
proto3.util.initPartial(data, this);
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
628
|
-
static readonly typeName = "scalekit.v1.auth.OTPRequest";
|
|
629
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
630
|
-
{ no: 1, name: "code_challenge", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
631
|
-
]);
|
|
632
|
-
|
|
633
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OTPRequest {
|
|
634
|
-
return new OTPRequest().fromBinary(bytes, options);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OTPRequest {
|
|
638
|
-
return new OTPRequest().fromJson(jsonValue, options);
|
|
639
|
-
}
|
|
255
|
+
codeChallenge: string;
|
|
256
|
+
};
|
|
640
257
|
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
}
|
|
648
|
-
}
|
|
258
|
+
/**
|
|
259
|
+
* Describes the message scalekit.v1.auth.OTPRequest.
|
|
260
|
+
* Use `create(OTPRequestSchema)` to create a new message.
|
|
261
|
+
*/
|
|
262
|
+
export const OTPRequestSchema: GenMessage<OTPRequest> = /*@__PURE__*/
|
|
263
|
+
messageDesc(file_scalekit_v1_auth_auth, 11);
|
|
649
264
|
|
|
650
265
|
/**
|
|
651
266
|
* @generated from message scalekit.v1.auth.ListUserOrganizationsResponse
|
|
652
267
|
*/
|
|
653
|
-
export
|
|
268
|
+
export type ListUserOrganizationsResponse = Message<"scalekit.v1.auth.ListUserOrganizationsResponse"> & {
|
|
654
269
|
/**
|
|
655
270
|
* @generated from field: repeated scalekit.v1.auth.Organization organizations = 1;
|
|
656
271
|
*/
|
|
657
|
-
organizations: Organization[]
|
|
272
|
+
organizations: Organization[];
|
|
658
273
|
|
|
659
274
|
/**
|
|
660
275
|
* @generated from field: scalekit.v1.auth.UserDetails user = 2;
|
|
@@ -664,56 +279,34 @@ export class ListUserOrganizationsResponse extends Message<ListUserOrganizations
|
|
|
664
279
|
/**
|
|
665
280
|
* @generated from field: scalekit.v1.auth.Intent intent = 3;
|
|
666
281
|
*/
|
|
667
|
-
intent
|
|
668
|
-
|
|
669
|
-
constructor(data?: PartialMessage<ListUserOrganizationsResponse>) {
|
|
670
|
-
super();
|
|
671
|
-
proto3.util.initPartial(data, this);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
675
|
-
static readonly typeName = "scalekit.v1.auth.ListUserOrganizationsResponse";
|
|
676
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
677
|
-
{ no: 1, name: "organizations", kind: "message", T: Organization, repeated: true },
|
|
678
|
-
{ no: 2, name: "user", kind: "message", T: UserDetails },
|
|
679
|
-
{ no: 3, name: "intent", kind: "enum", T: proto3.getEnumType(Intent) },
|
|
680
|
-
]);
|
|
681
|
-
|
|
682
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUserOrganizationsResponse {
|
|
683
|
-
return new ListUserOrganizationsResponse().fromBinary(bytes, options);
|
|
684
|
-
}
|
|
282
|
+
intent: Intent;
|
|
283
|
+
};
|
|
685
284
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
static equals(a: ListUserOrganizationsResponse | PlainMessage<ListUserOrganizationsResponse> | undefined, b: ListUserOrganizationsResponse | PlainMessage<ListUserOrganizationsResponse> | undefined): boolean {
|
|
695
|
-
return proto3.util.equals(ListUserOrganizationsResponse, a, b);
|
|
696
|
-
}
|
|
697
|
-
}
|
|
285
|
+
/**
|
|
286
|
+
* Describes the message scalekit.v1.auth.ListUserOrganizationsResponse.
|
|
287
|
+
* Use `create(ListUserOrganizationsResponseSchema)` to create a new message.
|
|
288
|
+
*/
|
|
289
|
+
export const ListUserOrganizationsResponseSchema: GenMessage<ListUserOrganizationsResponse> = /*@__PURE__*/
|
|
290
|
+
messageDesc(file_scalekit_v1_auth_auth, 12);
|
|
698
291
|
|
|
699
292
|
/**
|
|
700
293
|
* @generated from message scalekit.v1.auth.Organization
|
|
701
294
|
*/
|
|
702
|
-
export
|
|
295
|
+
export type Organization = Message<"scalekit.v1.auth.Organization"> & {
|
|
703
296
|
/**
|
|
704
297
|
* @generated from field: string id = 1;
|
|
705
298
|
*/
|
|
706
|
-
id
|
|
299
|
+
id: string;
|
|
707
300
|
|
|
708
301
|
/**
|
|
709
302
|
* @generated from field: string name = 2;
|
|
710
303
|
*/
|
|
711
|
-
name
|
|
304
|
+
name: string;
|
|
712
305
|
|
|
713
306
|
/**
|
|
714
307
|
* @generated from field: string membership_status = 3;
|
|
715
308
|
*/
|
|
716
|
-
membershipStatus
|
|
309
|
+
membershipStatus: string;
|
|
717
310
|
|
|
718
311
|
/**
|
|
719
312
|
* @generated from field: optional string invitation_inviter_email = 4;
|
|
@@ -734,480 +327,510 @@ export class Organization extends Message<Organization> {
|
|
|
734
327
|
* @generated from field: optional google.protobuf.Timestamp invitation_expires_at = 7;
|
|
735
328
|
*/
|
|
736
329
|
invitationExpiresAt?: Timestamp;
|
|
330
|
+
};
|
|
737
331
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
static readonly typeName = "scalekit.v1.auth.Organization";
|
|
745
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
746
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
747
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
748
|
-
{ no: 3, name: "membership_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
749
|
-
{ no: 4, name: "invitation_inviter_email", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
750
|
-
{ no: 5, name: "invitation_accepted_at", kind: "message", T: Timestamp, opt: true },
|
|
751
|
-
{ no: 6, name: "invitation_created_at", kind: "message", T: Timestamp, opt: true },
|
|
752
|
-
{ no: 7, name: "invitation_expires_at", kind: "message", T: Timestamp, opt: true },
|
|
753
|
-
]);
|
|
754
|
-
|
|
755
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Organization {
|
|
756
|
-
return new Organization().fromBinary(bytes, options);
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Organization {
|
|
760
|
-
return new Organization().fromJson(jsonValue, options);
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Organization {
|
|
764
|
-
return new Organization().fromJsonString(jsonString, options);
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
static equals(a: Organization | PlainMessage<Organization> | undefined, b: Organization | PlainMessage<Organization> | undefined): boolean {
|
|
768
|
-
return proto3.util.equals(Organization, a, b);
|
|
769
|
-
}
|
|
770
|
-
}
|
|
332
|
+
/**
|
|
333
|
+
* Describes the message scalekit.v1.auth.Organization.
|
|
334
|
+
* Use `create(OrganizationSchema)` to create a new message.
|
|
335
|
+
*/
|
|
336
|
+
export const OrganizationSchema: GenMessage<Organization> = /*@__PURE__*/
|
|
337
|
+
messageDesc(file_scalekit_v1_auth_auth, 13);
|
|
771
338
|
|
|
772
339
|
/**
|
|
773
340
|
* @generated from message scalekit.v1.auth.UserDetails
|
|
774
341
|
*/
|
|
775
|
-
export
|
|
342
|
+
export type UserDetails = Message<"scalekit.v1.auth.UserDetails"> & {
|
|
776
343
|
/**
|
|
777
344
|
* @generated from field: string email = 1;
|
|
778
345
|
*/
|
|
779
|
-
email
|
|
346
|
+
email: string;
|
|
780
347
|
|
|
781
348
|
/**
|
|
782
349
|
* @generated from field: string first_name = 2;
|
|
783
350
|
*/
|
|
784
|
-
firstName
|
|
351
|
+
firstName: string;
|
|
785
352
|
|
|
786
353
|
/**
|
|
787
354
|
* @generated from field: string last_name = 3;
|
|
788
355
|
*/
|
|
789
|
-
lastName
|
|
790
|
-
|
|
791
|
-
constructor(data?: PartialMessage<UserDetails>) {
|
|
792
|
-
super();
|
|
793
|
-
proto3.util.initPartial(data, this);
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
797
|
-
static readonly typeName = "scalekit.v1.auth.UserDetails";
|
|
798
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
799
|
-
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
800
|
-
{ no: 2, name: "first_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
801
|
-
{ no: 3, name: "last_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
802
|
-
]);
|
|
803
|
-
|
|
804
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserDetails {
|
|
805
|
-
return new UserDetails().fromBinary(bytes, options);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserDetails {
|
|
809
|
-
return new UserDetails().fromJson(jsonValue, options);
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserDetails {
|
|
813
|
-
return new UserDetails().fromJsonString(jsonString, options);
|
|
814
|
-
}
|
|
356
|
+
lastName: string;
|
|
357
|
+
};
|
|
815
358
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
359
|
+
/**
|
|
360
|
+
* Describes the message scalekit.v1.auth.UserDetails.
|
|
361
|
+
* Use `create(UserDetailsSchema)` to create a new message.
|
|
362
|
+
*/
|
|
363
|
+
export const UserDetailsSchema: GenMessage<UserDetails> = /*@__PURE__*/
|
|
364
|
+
messageDesc(file_scalekit_v1_auth_auth, 14);
|
|
820
365
|
|
|
821
366
|
/**
|
|
822
367
|
* @generated from message scalekit.v1.auth.SignupOrganizationRequest
|
|
823
368
|
*/
|
|
824
|
-
export
|
|
369
|
+
export type SignupOrganizationRequest = Message<"scalekit.v1.auth.SignupOrganizationRequest"> & {
|
|
825
370
|
/**
|
|
826
371
|
* making all optional for now
|
|
827
372
|
*
|
|
828
373
|
* @generated from field: string organization_name = 1;
|
|
829
374
|
*/
|
|
830
|
-
organizationName
|
|
375
|
+
organizationName: string;
|
|
831
376
|
|
|
832
377
|
/**
|
|
833
378
|
* @generated from field: string first_name = 2;
|
|
834
379
|
*/
|
|
835
|
-
firstName
|
|
380
|
+
firstName: string;
|
|
836
381
|
|
|
837
382
|
/**
|
|
838
383
|
* @generated from field: string last_name = 3;
|
|
839
384
|
*/
|
|
840
|
-
lastName
|
|
385
|
+
lastName: string;
|
|
841
386
|
|
|
842
387
|
/**
|
|
843
388
|
* @generated from field: string full_name = 4;
|
|
844
389
|
*/
|
|
845
|
-
fullName
|
|
390
|
+
fullName: string;
|
|
846
391
|
|
|
847
392
|
/**
|
|
848
393
|
* @generated from field: string phone_number = 5;
|
|
849
394
|
*/
|
|
850
|
-
phoneNumber
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
860
|
-
{ no: 1, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
861
|
-
{ no: 2, name: "first_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
862
|
-
{ no: 3, name: "last_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
863
|
-
{ no: 4, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
864
|
-
{ no: 5, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
865
|
-
]);
|
|
866
|
-
|
|
867
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignupOrganizationRequest {
|
|
868
|
-
return new SignupOrganizationRequest().fromBinary(bytes, options);
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignupOrganizationRequest {
|
|
872
|
-
return new SignupOrganizationRequest().fromJson(jsonValue, options);
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignupOrganizationRequest {
|
|
876
|
-
return new SignupOrganizationRequest().fromJsonString(jsonString, options);
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
static equals(a: SignupOrganizationRequest | PlainMessage<SignupOrganizationRequest> | undefined, b: SignupOrganizationRequest | PlainMessage<SignupOrganizationRequest> | undefined): boolean {
|
|
880
|
-
return proto3.util.equals(SignupOrganizationRequest, a, b);
|
|
881
|
-
}
|
|
882
|
-
}
|
|
395
|
+
phoneNumber: string;
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Describes the message scalekit.v1.auth.SignupOrganizationRequest.
|
|
400
|
+
* Use `create(SignupOrganizationRequestSchema)` to create a new message.
|
|
401
|
+
*/
|
|
402
|
+
export const SignupOrganizationRequestSchema: GenMessage<SignupOrganizationRequest> = /*@__PURE__*/
|
|
403
|
+
messageDesc(file_scalekit_v1_auth_auth, 15);
|
|
883
404
|
|
|
884
405
|
/**
|
|
885
406
|
* @generated from message scalekit.v1.auth.SignupOrganizationResponse
|
|
886
407
|
*/
|
|
887
|
-
export
|
|
408
|
+
export type SignupOrganizationResponse = Message<"scalekit.v1.auth.SignupOrganizationResponse"> & {
|
|
888
409
|
/**
|
|
889
410
|
* @generated from field: string organization_id = 1;
|
|
890
411
|
*/
|
|
891
|
-
organizationId
|
|
412
|
+
organizationId: string;
|
|
892
413
|
|
|
893
414
|
/**
|
|
894
415
|
* @generated from field: string organization_name = 2;
|
|
895
416
|
*/
|
|
896
|
-
organizationName
|
|
897
|
-
|
|
898
|
-
constructor(data?: PartialMessage<SignupOrganizationResponse>) {
|
|
899
|
-
super();
|
|
900
|
-
proto3.util.initPartial(data, this);
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
904
|
-
static readonly typeName = "scalekit.v1.auth.SignupOrganizationResponse";
|
|
905
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
906
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
907
|
-
{ no: 2, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
908
|
-
]);
|
|
909
|
-
|
|
910
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignupOrganizationResponse {
|
|
911
|
-
return new SignupOrganizationResponse().fromBinary(bytes, options);
|
|
912
|
-
}
|
|
417
|
+
organizationName: string;
|
|
418
|
+
};
|
|
913
419
|
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
static equals(a: SignupOrganizationResponse | PlainMessage<SignupOrganizationResponse> | undefined, b: SignupOrganizationResponse | PlainMessage<SignupOrganizationResponse> | undefined): boolean {
|
|
923
|
-
return proto3.util.equals(SignupOrganizationResponse, a, b);
|
|
924
|
-
}
|
|
925
|
-
}
|
|
420
|
+
/**
|
|
421
|
+
* Describes the message scalekit.v1.auth.SignupOrganizationResponse.
|
|
422
|
+
* Use `create(SignupOrganizationResponseSchema)` to create a new message.
|
|
423
|
+
*/
|
|
424
|
+
export const SignupOrganizationResponseSchema: GenMessage<SignupOrganizationResponse> = /*@__PURE__*/
|
|
425
|
+
messageDesc(file_scalekit_v1_auth_auth, 16);
|
|
926
426
|
|
|
927
427
|
/**
|
|
928
428
|
* @generated from message scalekit.v1.auth.UpdateLoginUserDetailsRequest
|
|
929
429
|
*/
|
|
930
|
-
export
|
|
430
|
+
export type UpdateLoginUserDetailsRequest = Message<"scalekit.v1.auth.UpdateLoginUserDetailsRequest"> & {
|
|
931
431
|
/**
|
|
932
432
|
* @generated from field: string connection_id = 1;
|
|
933
433
|
*/
|
|
934
|
-
connectionId
|
|
434
|
+
connectionId: string;
|
|
935
435
|
|
|
936
436
|
/**
|
|
937
437
|
* @generated from field: string login_request_id = 2;
|
|
938
438
|
*/
|
|
939
|
-
loginRequestId
|
|
439
|
+
loginRequestId: string;
|
|
940
440
|
|
|
941
441
|
/**
|
|
942
442
|
* @generated from field: scalekit.v1.auth.User user = 3;
|
|
943
443
|
*/
|
|
944
444
|
user?: User;
|
|
445
|
+
};
|
|
945
446
|
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
static readonly typeName = "scalekit.v1.auth.UpdateLoginUserDetailsRequest";
|
|
953
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
954
|
-
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
955
|
-
{ no: 2, name: "login_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
956
|
-
{ no: 3, name: "user", kind: "message", T: User },
|
|
957
|
-
]);
|
|
958
|
-
|
|
959
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLoginUserDetailsRequest {
|
|
960
|
-
return new UpdateLoginUserDetailsRequest().fromBinary(bytes, options);
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLoginUserDetailsRequest {
|
|
964
|
-
return new UpdateLoginUserDetailsRequest().fromJson(jsonValue, options);
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLoginUserDetailsRequest {
|
|
968
|
-
return new UpdateLoginUserDetailsRequest().fromJsonString(jsonString, options);
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
static equals(a: UpdateLoginUserDetailsRequest | PlainMessage<UpdateLoginUserDetailsRequest> | undefined, b: UpdateLoginUserDetailsRequest | PlainMessage<UpdateLoginUserDetailsRequest> | undefined): boolean {
|
|
972
|
-
return proto3.util.equals(UpdateLoginUserDetailsRequest, a, b);
|
|
973
|
-
}
|
|
974
|
-
}
|
|
447
|
+
/**
|
|
448
|
+
* Describes the message scalekit.v1.auth.UpdateLoginUserDetailsRequest.
|
|
449
|
+
* Use `create(UpdateLoginUserDetailsRequestSchema)` to create a new message.
|
|
450
|
+
*/
|
|
451
|
+
export const UpdateLoginUserDetailsRequestSchema: GenMessage<UpdateLoginUserDetailsRequest> = /*@__PURE__*/
|
|
452
|
+
messageDesc(file_scalekit_v1_auth_auth, 17);
|
|
975
453
|
|
|
976
454
|
/**
|
|
977
455
|
* @generated from message scalekit.v1.auth.User
|
|
978
456
|
*/
|
|
979
|
-
export
|
|
457
|
+
export type User = Message<"scalekit.v1.auth.User"> & {
|
|
980
458
|
/**
|
|
981
459
|
* @generated from field: string sub = 1;
|
|
982
460
|
*/
|
|
983
|
-
sub
|
|
461
|
+
sub: string;
|
|
984
462
|
|
|
985
463
|
/**
|
|
986
464
|
* @generated from field: string email = 2;
|
|
987
465
|
*/
|
|
988
|
-
email
|
|
466
|
+
email: string;
|
|
989
467
|
|
|
990
468
|
/**
|
|
991
469
|
* @generated from field: string given_name = 3;
|
|
992
470
|
*/
|
|
993
|
-
givenName
|
|
471
|
+
givenName: string;
|
|
994
472
|
|
|
995
473
|
/**
|
|
996
474
|
* @generated from field: string family_name = 4;
|
|
997
475
|
*/
|
|
998
|
-
familyName
|
|
476
|
+
familyName: string;
|
|
999
477
|
|
|
1000
478
|
/**
|
|
1001
479
|
* @generated from field: bool email_verified = 5;
|
|
1002
480
|
*/
|
|
1003
|
-
emailVerified
|
|
481
|
+
emailVerified: boolean;
|
|
1004
482
|
|
|
1005
483
|
/**
|
|
1006
484
|
* @generated from field: string phone_number = 6;
|
|
1007
485
|
*/
|
|
1008
|
-
phoneNumber
|
|
486
|
+
phoneNumber: string;
|
|
1009
487
|
|
|
1010
488
|
/**
|
|
1011
489
|
* @generated from field: bool phone_number_verified = 7;
|
|
1012
490
|
*/
|
|
1013
|
-
phoneNumberVerified
|
|
491
|
+
phoneNumberVerified: boolean;
|
|
1014
492
|
|
|
1015
493
|
/**
|
|
1016
494
|
* @generated from field: string name = 8;
|
|
1017
495
|
*/
|
|
1018
|
-
name
|
|
496
|
+
name: string;
|
|
1019
497
|
|
|
1020
498
|
/**
|
|
1021
499
|
* @generated from field: string preferred_username = 9;
|
|
1022
500
|
*/
|
|
1023
|
-
preferredUsername
|
|
501
|
+
preferredUsername: string;
|
|
1024
502
|
|
|
1025
503
|
/**
|
|
1026
504
|
* @generated from field: string picture = 10;
|
|
1027
505
|
*/
|
|
1028
|
-
picture
|
|
506
|
+
picture: string;
|
|
1029
507
|
|
|
1030
508
|
/**
|
|
1031
509
|
* @generated from field: string gender = 11;
|
|
1032
510
|
*/
|
|
1033
|
-
gender
|
|
511
|
+
gender: string;
|
|
1034
512
|
|
|
1035
513
|
/**
|
|
1036
514
|
* @generated from field: string locale = 12;
|
|
1037
515
|
*/
|
|
1038
|
-
locale
|
|
516
|
+
locale: string;
|
|
1039
517
|
|
|
1040
518
|
/**
|
|
1041
519
|
* @generated from field: repeated string groups = 13;
|
|
1042
520
|
*/
|
|
1043
|
-
groups: string[]
|
|
521
|
+
groups: string[];
|
|
1044
522
|
|
|
1045
523
|
/**
|
|
1046
524
|
* @generated from field: google.protobuf.Struct custom_attributes = 14;
|
|
1047
525
|
*/
|
|
1048
|
-
customAttributes?:
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1058
|
-
{ no: 1, name: "sub", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1059
|
-
{ no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1060
|
-
{ no: 3, name: "given_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1061
|
-
{ no: 4, name: "family_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1062
|
-
{ no: 5, name: "email_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1063
|
-
{ no: 6, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1064
|
-
{ no: 7, name: "phone_number_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1065
|
-
{ no: 8, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1066
|
-
{ no: 9, name: "preferred_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1067
|
-
{ no: 10, name: "picture", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1068
|
-
{ no: 11, name: "gender", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1069
|
-
{ no: 12, name: "locale", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1070
|
-
{ no: 13, name: "groups", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1071
|
-
{ no: 14, name: "custom_attributes", kind: "message", T: Struct },
|
|
1072
|
-
]);
|
|
1073
|
-
|
|
1074
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User {
|
|
1075
|
-
return new User().fromBinary(bytes, options);
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User {
|
|
1079
|
-
return new User().fromJson(jsonValue, options);
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User {
|
|
1083
|
-
return new User().fromJsonString(jsonString, options);
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean {
|
|
1087
|
-
return proto3.util.equals(User, a, b);
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
526
|
+
customAttributes?: JsonObject;
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Describes the message scalekit.v1.auth.User.
|
|
531
|
+
* Use `create(UserSchema)` to create a new message.
|
|
532
|
+
*/
|
|
533
|
+
export const UserSchema: GenMessage<User> = /*@__PURE__*/
|
|
534
|
+
messageDesc(file_scalekit_v1_auth_auth, 18);
|
|
1090
535
|
|
|
1091
536
|
/**
|
|
1092
537
|
* @generated from message scalekit.v1.auth.GetAuthStateResponse
|
|
1093
538
|
*/
|
|
1094
|
-
export
|
|
539
|
+
export type GetAuthStateResponse = Message<"scalekit.v1.auth.GetAuthStateResponse"> & {
|
|
1095
540
|
/**
|
|
1096
541
|
* @generated from field: scalekit.v1.auth.AuthState auth_state = 1;
|
|
1097
542
|
*/
|
|
1098
|
-
authState
|
|
543
|
+
authState: AuthState;
|
|
1099
544
|
|
|
1100
545
|
/**
|
|
1101
546
|
* @generated from field: scalekit.v1.auth.UserDetails user = 2;
|
|
1102
547
|
*/
|
|
1103
548
|
user?: UserDetails;
|
|
549
|
+
};
|
|
1104
550
|
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
static readonly typeName = "scalekit.v1.auth.GetAuthStateResponse";
|
|
1112
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1113
|
-
{ no: 1, name: "auth_state", kind: "enum", T: proto3.getEnumType(AuthState) },
|
|
1114
|
-
{ no: 2, name: "user", kind: "message", T: UserDetails },
|
|
1115
|
-
]);
|
|
1116
|
-
|
|
1117
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthStateResponse {
|
|
1118
|
-
return new GetAuthStateResponse().fromBinary(bytes, options);
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthStateResponse {
|
|
1122
|
-
return new GetAuthStateResponse().fromJson(jsonValue, options);
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthStateResponse {
|
|
1126
|
-
return new GetAuthStateResponse().fromJsonString(jsonString, options);
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
static equals(a: GetAuthStateResponse | PlainMessage<GetAuthStateResponse> | undefined, b: GetAuthStateResponse | PlainMessage<GetAuthStateResponse> | undefined): boolean {
|
|
1130
|
-
return proto3.util.equals(GetAuthStateResponse, a, b);
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
551
|
+
/**
|
|
552
|
+
* Describes the message scalekit.v1.auth.GetAuthStateResponse.
|
|
553
|
+
* Use `create(GetAuthStateResponseSchema)` to create a new message.
|
|
554
|
+
*/
|
|
555
|
+
export const GetAuthStateResponseSchema: GenMessage<GetAuthStateResponse> = /*@__PURE__*/
|
|
556
|
+
messageDesc(file_scalekit_v1_auth_auth, 19);
|
|
1133
557
|
|
|
1134
558
|
/**
|
|
1135
559
|
* @generated from message scalekit.v1.auth.GetAuthErrorRequest
|
|
1136
560
|
*/
|
|
1137
|
-
export
|
|
561
|
+
export type GetAuthErrorRequest = Message<"scalekit.v1.auth.GetAuthErrorRequest"> & {
|
|
1138
562
|
/**
|
|
1139
563
|
* @generated from field: string error_id = 1;
|
|
1140
564
|
*/
|
|
1141
|
-
errorId
|
|
565
|
+
errorId: string;
|
|
566
|
+
};
|
|
1142
567
|
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
568
|
+
/**
|
|
569
|
+
* Describes the message scalekit.v1.auth.GetAuthErrorRequest.
|
|
570
|
+
* Use `create(GetAuthErrorRequestSchema)` to create a new message.
|
|
571
|
+
*/
|
|
572
|
+
export const GetAuthErrorRequestSchema: GenMessage<GetAuthErrorRequest> = /*@__PURE__*/
|
|
573
|
+
messageDesc(file_scalekit_v1_auth_auth, 20);
|
|
1147
574
|
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
575
|
+
/**
|
|
576
|
+
* @generated from message scalekit.v1.auth.GetAuthErrorResponse
|
|
577
|
+
*/
|
|
578
|
+
export type GetAuthErrorResponse = Message<"scalekit.v1.auth.GetAuthErrorResponse"> & {
|
|
579
|
+
/**
|
|
580
|
+
* @generated from field: string error = 1;
|
|
581
|
+
*/
|
|
582
|
+
error: string;
|
|
1153
583
|
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
584
|
+
/**
|
|
585
|
+
* @generated from field: string error_description = 2;
|
|
586
|
+
*/
|
|
587
|
+
errorDescription: string;
|
|
588
|
+
};
|
|
1157
589
|
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
590
|
+
/**
|
|
591
|
+
* Describes the message scalekit.v1.auth.GetAuthErrorResponse.
|
|
592
|
+
* Use `create(GetAuthErrorResponseSchema)` to create a new message.
|
|
593
|
+
*/
|
|
594
|
+
export const GetAuthErrorResponseSchema: GenMessage<GetAuthErrorResponse> = /*@__PURE__*/
|
|
595
|
+
messageDesc(file_scalekit_v1_auth_auth, 21);
|
|
1161
596
|
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
597
|
+
/**
|
|
598
|
+
* @generated from enum scalekit.v1.auth.Intent
|
|
599
|
+
*/
|
|
600
|
+
export enum Intent {
|
|
601
|
+
/**
|
|
602
|
+
* @generated from enum value: INTENT_UNSPECIFIED = 0;
|
|
603
|
+
*/
|
|
604
|
+
INTENT_UNSPECIFIED = 0,
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* @generated from enum value: sign_in = 1;
|
|
608
|
+
*/
|
|
609
|
+
sign_in = 1,
|
|
1165
610
|
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
611
|
+
/**
|
|
612
|
+
* @generated from enum value: sign_up = 2;
|
|
613
|
+
*/
|
|
614
|
+
sign_up = 2,
|
|
1169
615
|
}
|
|
1170
616
|
|
|
1171
617
|
/**
|
|
1172
|
-
*
|
|
618
|
+
* Describes the enum scalekit.v1.auth.Intent.
|
|
1173
619
|
*/
|
|
1174
|
-
export
|
|
620
|
+
export const IntentSchema: GenEnum<Intent> = /*@__PURE__*/
|
|
621
|
+
enumDesc(file_scalekit_v1_auth_auth, 0);
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @generated from enum scalekit.v1.auth.AuthState
|
|
625
|
+
*/
|
|
626
|
+
export enum AuthState {
|
|
1175
627
|
/**
|
|
1176
|
-
* @generated from
|
|
628
|
+
* @generated from enum value: AUTH_STATE_UNSPECIFIED = 0;
|
|
1177
629
|
*/
|
|
1178
|
-
|
|
630
|
+
AUTH_STATE_UNSPECIFIED = 0,
|
|
1179
631
|
|
|
1180
632
|
/**
|
|
1181
|
-
* @generated from
|
|
633
|
+
* @generated from enum value: AUTHENTICATION_IN_PROGRESS = 1;
|
|
1182
634
|
*/
|
|
1183
|
-
|
|
635
|
+
AUTHENTICATION_IN_PROGRESS = 1,
|
|
1184
636
|
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
637
|
+
/**
|
|
638
|
+
* @generated from enum value: ORGANIZATION_SWITCHER = 2;
|
|
639
|
+
*/
|
|
640
|
+
ORGANIZATION_SWITCHER = 2,
|
|
1189
641
|
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
{ no: 2, name: "error_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1195
|
-
]);
|
|
642
|
+
/**
|
|
643
|
+
* @generated from enum value: ORGANIZATION_SELECTED = 3;
|
|
644
|
+
*/
|
|
645
|
+
ORGANIZATION_SELECTED = 3,
|
|
1196
646
|
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
647
|
+
/**
|
|
648
|
+
* @generated from enum value: ORGANIZATION_SIGNUP = 4;
|
|
649
|
+
*/
|
|
650
|
+
ORGANIZATION_SIGNUP = 4,
|
|
1200
651
|
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
652
|
+
/**
|
|
653
|
+
* @generated from enum value: ORGANIZATION_SWITCHER_SIGNUP = 5;
|
|
654
|
+
*/
|
|
655
|
+
ORGANIZATION_SWITCHER_SIGNUP = 5,
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* @generated from enum value: OTP_VERIFICATION_PENDING = 6;
|
|
659
|
+
*/
|
|
660
|
+
OTP_VERIFICATION_PENDING = 6,
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @generated from enum value: MAGIC_LINK_SENT = 7;
|
|
664
|
+
*/
|
|
665
|
+
MAGIC_LINK_SENT = 7,
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @generated from enum value: LINK_SENT_OTP_VERIFICATION_PENDING = 8;
|
|
669
|
+
*/
|
|
670
|
+
LINK_SENT_OTP_VERIFICATION_PENDING = 8,
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* @generated from enum value: OTP_VERIFIED = 9;
|
|
674
|
+
*/
|
|
675
|
+
OTP_VERIFIED = 9,
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* @generated from enum value: LINK_VERIFIED = 10;
|
|
679
|
+
*/
|
|
680
|
+
LINK_VERIFIED = 10,
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @generated from enum value: SSO_AUTHENTICATED = 11;
|
|
684
|
+
*/
|
|
685
|
+
SSO_AUTHENTICATED = 11,
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @generated from enum value: ORG_USER_CREATED = 12;
|
|
689
|
+
*/
|
|
690
|
+
ORG_USER_CREATED = 12,
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* @generated from enum value: AUTHENTICATION_COMPLETED = 13;
|
|
694
|
+
*/
|
|
695
|
+
AUTHENTICATION_COMPLETED = 13,
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @generated from enum value: AUTHENTICATION_FAILED = 14;
|
|
699
|
+
*/
|
|
700
|
+
AUTHENTICATION_FAILED = 14,
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @generated from enum value: WEBAUTHN_VERIFIED = 15;
|
|
704
|
+
*/
|
|
705
|
+
WEBAUTHN_VERIFIED = 15,
|
|
1204
706
|
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
707
|
+
/**
|
|
708
|
+
* @generated from enum value: VERIFICATION_MAGIC_LINK_SENT = 16;
|
|
709
|
+
*/
|
|
710
|
+
VERIFICATION_MAGIC_LINK_SENT = 16,
|
|
1208
711
|
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
712
|
+
/**
|
|
713
|
+
* @generated from enum value: VERIFICATION_MAGIC_LINK_OTP_SENT = 17;
|
|
714
|
+
*/
|
|
715
|
+
VERIFICATION_MAGIC_LINK_OTP_SENT = 17,
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* @generated from enum value: VERIFICATION_OTP_SENT = 18;
|
|
719
|
+
*/
|
|
720
|
+
VERIFICATION_OTP_SENT = 18,
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* @generated from enum value: VERIFICATION_COMPLETED = 19;
|
|
724
|
+
*/
|
|
725
|
+
VERIFICATION_COMPLETED = 19,
|
|
1212
726
|
}
|
|
1213
727
|
|
|
728
|
+
/**
|
|
729
|
+
* Describes the enum scalekit.v1.auth.AuthState.
|
|
730
|
+
*/
|
|
731
|
+
export const AuthStateSchema: GenEnum<AuthState> = /*@__PURE__*/
|
|
732
|
+
enumDesc(file_scalekit_v1_auth_auth, 1);
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* @generated from service scalekit.v1.auth.AuthService
|
|
736
|
+
*/
|
|
737
|
+
export const AuthService: GenService<{
|
|
738
|
+
/**
|
|
739
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ListAuthMethods
|
|
740
|
+
*/
|
|
741
|
+
listAuthMethods: {
|
|
742
|
+
methodKind: "unary";
|
|
743
|
+
input: typeof ListAuthMethodsRequestSchema;
|
|
744
|
+
output: typeof ListAuthMethodsResponseSchema;
|
|
745
|
+
},
|
|
746
|
+
/**
|
|
747
|
+
* @generated from rpc scalekit.v1.auth.AuthService.DiscoveryAuthMethod
|
|
748
|
+
*/
|
|
749
|
+
discoveryAuthMethod: {
|
|
750
|
+
methodKind: "unary";
|
|
751
|
+
input: typeof DiscoveryAuthMethodRequestSchema;
|
|
752
|
+
output: typeof DiscoveryAuthMethodResponseSchema;
|
|
753
|
+
},
|
|
754
|
+
/**
|
|
755
|
+
* @generated from rpc scalekit.v1.auth.AuthService.VerifyPasswordLessOtp
|
|
756
|
+
*/
|
|
757
|
+
verifyPasswordLessOtp: {
|
|
758
|
+
methodKind: "unary";
|
|
759
|
+
input: typeof VerifyPasswordLessOtpRequestSchema;
|
|
760
|
+
output: typeof VerifyPasswordLessOtpResponseSchema;
|
|
761
|
+
},
|
|
762
|
+
/**
|
|
763
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ResendPasswordless
|
|
764
|
+
*/
|
|
765
|
+
resendPasswordless: {
|
|
766
|
+
methodKind: "unary";
|
|
767
|
+
input: typeof EmptySchema;
|
|
768
|
+
output: typeof EmptySchema;
|
|
769
|
+
},
|
|
770
|
+
/**
|
|
771
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ListUserOrganizations
|
|
772
|
+
*/
|
|
773
|
+
listUserOrganizations: {
|
|
774
|
+
methodKind: "unary";
|
|
775
|
+
input: typeof EmptySchema;
|
|
776
|
+
output: typeof ListUserOrganizationsResponseSchema;
|
|
777
|
+
},
|
|
778
|
+
/**
|
|
779
|
+
* @generated from rpc scalekit.v1.auth.AuthService.SignupOrganization
|
|
780
|
+
*/
|
|
781
|
+
signupOrganization: {
|
|
782
|
+
methodKind: "unary";
|
|
783
|
+
input: typeof SignupOrganizationRequestSchema;
|
|
784
|
+
output: typeof SignupOrganizationResponseSchema;
|
|
785
|
+
},
|
|
786
|
+
/**
|
|
787
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthState
|
|
788
|
+
*/
|
|
789
|
+
getAuthState: {
|
|
790
|
+
methodKind: "unary";
|
|
791
|
+
input: typeof EmptySchema;
|
|
792
|
+
output: typeof GetAuthStateResponseSchema;
|
|
793
|
+
},
|
|
794
|
+
/**
|
|
795
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthError
|
|
796
|
+
*/
|
|
797
|
+
getAuthError: {
|
|
798
|
+
methodKind: "unary";
|
|
799
|
+
input: typeof GetAuthErrorRequestSchema;
|
|
800
|
+
output: typeof GetAuthErrorResponseSchema;
|
|
801
|
+
},
|
|
802
|
+
/**
|
|
803
|
+
* @generated from rpc scalekit.v1.auth.AuthService.Logout
|
|
804
|
+
*/
|
|
805
|
+
logout: {
|
|
806
|
+
methodKind: "unary";
|
|
807
|
+
input: typeof EmptySchema;
|
|
808
|
+
output: typeof EmptySchema;
|
|
809
|
+
},
|
|
810
|
+
/**
|
|
811
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthCustomizations
|
|
812
|
+
*/
|
|
813
|
+
getAuthCustomizations: {
|
|
814
|
+
methodKind: "unary";
|
|
815
|
+
input: typeof GetAuthCustomizationsRequestSchema;
|
|
816
|
+
output: typeof GetAuthCustomizationsResponseSchema;
|
|
817
|
+
},
|
|
818
|
+
/**
|
|
819
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthFeatures
|
|
820
|
+
*/
|
|
821
|
+
getAuthFeatures: {
|
|
822
|
+
methodKind: "unary";
|
|
823
|
+
input: typeof EmptySchema;
|
|
824
|
+
output: typeof GetAuthFeaturesResponseSchema;
|
|
825
|
+
},
|
|
826
|
+
/**
|
|
827
|
+
* @generated from rpc scalekit.v1.auth.AuthService.UpdateLoginUserDetails
|
|
828
|
+
*/
|
|
829
|
+
updateLoginUserDetails: {
|
|
830
|
+
methodKind: "unary";
|
|
831
|
+
input: typeof UpdateLoginUserDetailsRequestSchema;
|
|
832
|
+
output: typeof EmptySchema;
|
|
833
|
+
},
|
|
834
|
+
}> = /*@__PURE__*/
|
|
835
|
+
serviceDesc(file_scalekit_v1_auth_auth, 0);
|
|
836
|
+
|