@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,146 +1,43 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
import { ConnectionType, PasswordlessType } from "../connections/connections_pb
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { ConnectionType, PasswordlessType } from "../connections/connections_pb";
|
|
4
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
5
|
/**
|
|
5
|
-
*
|
|
6
|
+
* Describes the file scalekit/v1/auth/auth.proto.
|
|
6
7
|
*/
|
|
7
|
-
export declare
|
|
8
|
-
/**
|
|
9
|
-
* @generated from enum value: INTENT_UNSPECIFIED = 0;
|
|
10
|
-
*/
|
|
11
|
-
INTENT_UNSPECIFIED = 0,
|
|
12
|
-
/**
|
|
13
|
-
* @generated from enum value: sign_in = 1;
|
|
14
|
-
*/
|
|
15
|
-
sign_in = 1,
|
|
16
|
-
/**
|
|
17
|
-
* @generated from enum value: sign_up = 2;
|
|
18
|
-
*/
|
|
19
|
-
sign_up = 2
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @generated from enum scalekit.v1.auth.AuthState
|
|
23
|
-
*/
|
|
24
|
-
export declare enum AuthState {
|
|
25
|
-
/**
|
|
26
|
-
* @generated from enum value: AUTH_STATE_UNSPECIFIED = 0;
|
|
27
|
-
*/
|
|
28
|
-
AUTH_STATE_UNSPECIFIED = 0,
|
|
29
|
-
/**
|
|
30
|
-
* @generated from enum value: AUTHENTICATION_IN_PROGRESS = 1;
|
|
31
|
-
*/
|
|
32
|
-
AUTHENTICATION_IN_PROGRESS = 1,
|
|
33
|
-
/**
|
|
34
|
-
* @generated from enum value: ORGANIZATION_SWITCHER = 2;
|
|
35
|
-
*/
|
|
36
|
-
ORGANIZATION_SWITCHER = 2,
|
|
37
|
-
/**
|
|
38
|
-
* @generated from enum value: ORGANIZATION_SELECTED = 3;
|
|
39
|
-
*/
|
|
40
|
-
ORGANIZATION_SELECTED = 3,
|
|
41
|
-
/**
|
|
42
|
-
* @generated from enum value: ORGANIZATION_SIGNUP = 4;
|
|
43
|
-
*/
|
|
44
|
-
ORGANIZATION_SIGNUP = 4,
|
|
45
|
-
/**
|
|
46
|
-
* @generated from enum value: ORGANIZATION_SWITCHER_SIGNUP = 5;
|
|
47
|
-
*/
|
|
48
|
-
ORGANIZATION_SWITCHER_SIGNUP = 5,
|
|
49
|
-
/**
|
|
50
|
-
* @generated from enum value: OTP_VERIFICATION_PENDING = 6;
|
|
51
|
-
*/
|
|
52
|
-
OTP_VERIFICATION_PENDING = 6,
|
|
53
|
-
/**
|
|
54
|
-
* @generated from enum value: MAGIC_LINK_SENT = 7;
|
|
55
|
-
*/
|
|
56
|
-
MAGIC_LINK_SENT = 7,
|
|
57
|
-
/**
|
|
58
|
-
* @generated from enum value: LINK_SENT_OTP_VERIFICATION_PENDING = 8;
|
|
59
|
-
*/
|
|
60
|
-
LINK_SENT_OTP_VERIFICATION_PENDING = 8,
|
|
61
|
-
/**
|
|
62
|
-
* @generated from enum value: OTP_VERIFIED = 9;
|
|
63
|
-
*/
|
|
64
|
-
OTP_VERIFIED = 9,
|
|
65
|
-
/**
|
|
66
|
-
* @generated from enum value: LINK_VERIFIED = 10;
|
|
67
|
-
*/
|
|
68
|
-
LINK_VERIFIED = 10,
|
|
69
|
-
/**
|
|
70
|
-
* @generated from enum value: SSO_AUTHENTICATED = 11;
|
|
71
|
-
*/
|
|
72
|
-
SSO_AUTHENTICATED = 11,
|
|
73
|
-
/**
|
|
74
|
-
* @generated from enum value: ORG_USER_CREATED = 12;
|
|
75
|
-
*/
|
|
76
|
-
ORG_USER_CREATED = 12,
|
|
77
|
-
/**
|
|
78
|
-
* @generated from enum value: AUTHENTICATION_COMPLETED = 13;
|
|
79
|
-
*/
|
|
80
|
-
AUTHENTICATION_COMPLETED = 13,
|
|
81
|
-
/**
|
|
82
|
-
* @generated from enum value: AUTHENTICATION_FAILED = 14;
|
|
83
|
-
*/
|
|
84
|
-
AUTHENTICATION_FAILED = 14,
|
|
85
|
-
/**
|
|
86
|
-
* @generated from enum value: WEBAUTHN_VERIFIED = 15;
|
|
87
|
-
*/
|
|
88
|
-
WEBAUTHN_VERIFIED = 15,
|
|
89
|
-
/**
|
|
90
|
-
* @generated from enum value: VERIFICATION_MAGIC_LINK_SENT = 16;
|
|
91
|
-
*/
|
|
92
|
-
VERIFICATION_MAGIC_LINK_SENT = 16,
|
|
93
|
-
/**
|
|
94
|
-
* @generated from enum value: VERIFICATION_MAGIC_LINK_OTP_SENT = 17;
|
|
95
|
-
*/
|
|
96
|
-
VERIFICATION_MAGIC_LINK_OTP_SENT = 17,
|
|
97
|
-
/**
|
|
98
|
-
* @generated from enum value: VERIFICATION_OTP_SENT = 18;
|
|
99
|
-
*/
|
|
100
|
-
VERIFICATION_OTP_SENT = 18,
|
|
101
|
-
/**
|
|
102
|
-
* @generated from enum value: VERIFICATION_COMPLETED = 19;
|
|
103
|
-
*/
|
|
104
|
-
VERIFICATION_COMPLETED = 19
|
|
105
|
-
}
|
|
8
|
+
export declare const file_scalekit_v1_auth_auth: GenFile;
|
|
106
9
|
/**
|
|
107
10
|
* @generated from message scalekit.v1.auth.ListAuthMethodsRequest
|
|
108
11
|
*/
|
|
109
|
-
export
|
|
12
|
+
export type ListAuthMethodsRequest = Message<"scalekit.v1.auth.ListAuthMethodsRequest"> & {
|
|
110
13
|
/**
|
|
111
14
|
* @generated from field: string intent = 1;
|
|
112
15
|
*/
|
|
113
16
|
intent: string;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAuthMethodsRequest;
|
|
121
|
-
static equals(a: ListAuthMethodsRequest | PlainMessage<ListAuthMethodsRequest> | undefined, b: ListAuthMethodsRequest | PlainMessage<ListAuthMethodsRequest> | undefined): boolean;
|
|
122
|
-
}
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message scalekit.v1.auth.ListAuthMethodsRequest.
|
|
20
|
+
* Use `create(ListAuthMethodsRequestSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export declare const ListAuthMethodsRequestSchema: GenMessage<ListAuthMethodsRequest>;
|
|
123
23
|
/**
|
|
124
24
|
* @generated from message scalekit.v1.auth.ListAuthMethodsResponse
|
|
125
25
|
*/
|
|
126
|
-
export
|
|
26
|
+
export type ListAuthMethodsResponse = Message<"scalekit.v1.auth.ListAuthMethodsResponse"> & {
|
|
127
27
|
/**
|
|
128
28
|
* @generated from field: repeated scalekit.v1.auth.AuthMethod auth_methods = 1;
|
|
129
29
|
*/
|
|
130
30
|
authMethods: AuthMethod[];
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAuthMethodsResponse;
|
|
138
|
-
static equals(a: ListAuthMethodsResponse | PlainMessage<ListAuthMethodsResponse> | undefined, b: ListAuthMethodsResponse | PlainMessage<ListAuthMethodsResponse> | undefined): boolean;
|
|
139
|
-
}
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message scalekit.v1.auth.ListAuthMethodsResponse.
|
|
34
|
+
* Use `create(ListAuthMethodsResponseSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export declare const ListAuthMethodsResponseSchema: GenMessage<ListAuthMethodsResponse>;
|
|
140
37
|
/**
|
|
141
38
|
* @generated from message scalekit.v1.auth.AuthMethod
|
|
142
39
|
*/
|
|
143
|
-
export
|
|
40
|
+
export type AuthMethod = Message<"scalekit.v1.auth.AuthMethod"> & {
|
|
144
41
|
/**
|
|
145
42
|
* @generated from field: string connection_id = 1;
|
|
146
43
|
*/
|
|
@@ -177,36 +74,30 @@ export declare class AuthMethod extends Message<AuthMethod> {
|
|
|
177
74
|
* @generated from field: optional bool enable_webauthn_conditional_login = 9;
|
|
178
75
|
*/
|
|
179
76
|
enableWebauthnConditionalLogin?: boolean;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthMethod;
|
|
187
|
-
static equals(a: AuthMethod | PlainMessage<AuthMethod> | undefined, b: AuthMethod | PlainMessage<AuthMethod> | undefined): boolean;
|
|
188
|
-
}
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message scalekit.v1.auth.AuthMethod.
|
|
80
|
+
* Use `create(AuthMethodSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export declare const AuthMethodSchema: GenMessage<AuthMethod>;
|
|
189
83
|
/**
|
|
190
84
|
* @generated from message scalekit.v1.auth.DiscoveryAuthMethodRequest
|
|
191
85
|
*/
|
|
192
|
-
export
|
|
86
|
+
export type DiscoveryAuthMethodRequest = Message<"scalekit.v1.auth.DiscoveryAuthMethodRequest"> & {
|
|
193
87
|
/**
|
|
194
88
|
* @generated from field: scalekit.v1.auth.DiscoveryRequest discovery_request = 2;
|
|
195
89
|
*/
|
|
196
90
|
discoveryRequest?: DiscoveryRequest;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodRequest;
|
|
204
|
-
static equals(a: DiscoveryAuthMethodRequest | PlainMessage<DiscoveryAuthMethodRequest> | undefined, b: DiscoveryAuthMethodRequest | PlainMessage<DiscoveryAuthMethodRequest> | undefined): boolean;
|
|
205
|
-
}
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message scalekit.v1.auth.DiscoveryAuthMethodRequest.
|
|
94
|
+
* Use `create(DiscoveryAuthMethodRequestSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const DiscoveryAuthMethodRequestSchema: GenMessage<DiscoveryAuthMethodRequest>;
|
|
206
97
|
/**
|
|
207
98
|
* @generated from message scalekit.v1.auth.DiscoveryRequest
|
|
208
99
|
*/
|
|
209
|
-
export
|
|
100
|
+
export type DiscoveryRequest = Message<"scalekit.v1.auth.DiscoveryRequest"> & {
|
|
210
101
|
/**
|
|
211
102
|
* @generated from field: string email = 1;
|
|
212
103
|
*/
|
|
@@ -215,130 +106,104 @@ export declare class DiscoveryRequest extends Message<DiscoveryRequest> {
|
|
|
215
106
|
* @generated from field: scalekit.v1.auth.Intent intent = 2;
|
|
216
107
|
*/
|
|
217
108
|
intent: Intent;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryRequest;
|
|
225
|
-
static equals(a: DiscoveryRequest | PlainMessage<DiscoveryRequest> | undefined, b: DiscoveryRequest | PlainMessage<DiscoveryRequest> | undefined): boolean;
|
|
226
|
-
}
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message scalekit.v1.auth.DiscoveryRequest.
|
|
112
|
+
* Use `create(DiscoveryRequestSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const DiscoveryRequestSchema: GenMessage<DiscoveryRequest>;
|
|
227
115
|
/**
|
|
228
116
|
* @generated from message scalekit.v1.auth.DiscoveryAuthMethodResponse
|
|
229
117
|
*/
|
|
230
|
-
export
|
|
118
|
+
export type DiscoveryAuthMethodResponse = Message<"scalekit.v1.auth.DiscoveryAuthMethodResponse"> & {
|
|
231
119
|
/**
|
|
232
120
|
* @generated from field: scalekit.v1.auth.AuthMethod auth_method = 1;
|
|
233
121
|
*/
|
|
234
122
|
authMethod?: AuthMethod;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryAuthMethodResponse;
|
|
242
|
-
static equals(a: DiscoveryAuthMethodResponse | PlainMessage<DiscoveryAuthMethodResponse> | undefined, b: DiscoveryAuthMethodResponse | PlainMessage<DiscoveryAuthMethodResponse> | undefined): boolean;
|
|
243
|
-
}
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Describes the message scalekit.v1.auth.DiscoveryAuthMethodResponse.
|
|
126
|
+
* Use `create(DiscoveryAuthMethodResponseSchema)` to create a new message.
|
|
127
|
+
*/
|
|
128
|
+
export declare const DiscoveryAuthMethodResponseSchema: GenMessage<DiscoveryAuthMethodResponse>;
|
|
244
129
|
/**
|
|
245
130
|
* @generated from message scalekit.v1.auth.GetAuthCustomizationsRequest
|
|
246
131
|
*/
|
|
247
|
-
export
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthCustomizationsRequest;
|
|
254
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthCustomizationsRequest;
|
|
255
|
-
static equals(a: GetAuthCustomizationsRequest | PlainMessage<GetAuthCustomizationsRequest> | undefined, b: GetAuthCustomizationsRequest | PlainMessage<GetAuthCustomizationsRequest> | undefined): boolean;
|
|
256
|
-
}
|
|
132
|
+
export type GetAuthCustomizationsRequest = Message<"scalekit.v1.auth.GetAuthCustomizationsRequest"> & {};
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message scalekit.v1.auth.GetAuthCustomizationsRequest.
|
|
135
|
+
* Use `create(GetAuthCustomizationsRequestSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export declare const GetAuthCustomizationsRequestSchema: GenMessage<GetAuthCustomizationsRequest>;
|
|
257
138
|
/**
|
|
258
139
|
* @generated from message scalekit.v1.auth.GetAuthCustomizationsResponse
|
|
259
140
|
*/
|
|
260
|
-
export
|
|
141
|
+
export type GetAuthCustomizationsResponse = Message<"scalekit.v1.auth.GetAuthCustomizationsResponse"> & {
|
|
261
142
|
/**
|
|
262
143
|
* @generated from field: google.protobuf.Struct customization_settings = 2;
|
|
263
144
|
*/
|
|
264
|
-
customizationSettings?:
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthCustomizationsResponse;
|
|
272
|
-
static equals(a: GetAuthCustomizationsResponse | PlainMessage<GetAuthCustomizationsResponse> | undefined, b: GetAuthCustomizationsResponse | PlainMessage<GetAuthCustomizationsResponse> | undefined): boolean;
|
|
273
|
-
}
|
|
145
|
+
customizationSettings?: JsonObject;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message scalekit.v1.auth.GetAuthCustomizationsResponse.
|
|
149
|
+
* Use `create(GetAuthCustomizationsResponseSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export declare const GetAuthCustomizationsResponseSchema: GenMessage<GetAuthCustomizationsResponse>;
|
|
274
152
|
/**
|
|
275
153
|
* @generated from message scalekit.v1.auth.GetAuthFeaturesResponse
|
|
276
154
|
*/
|
|
277
|
-
export
|
|
155
|
+
export type GetAuthFeaturesResponse = Message<"scalekit.v1.auth.GetAuthFeaturesResponse"> & {
|
|
278
156
|
/**
|
|
279
157
|
* @generated from field: google.protobuf.Struct features = 1;
|
|
280
158
|
*/
|
|
281
|
-
features?:
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthFeaturesResponse;
|
|
289
|
-
static equals(a: GetAuthFeaturesResponse | PlainMessage<GetAuthFeaturesResponse> | undefined, b: GetAuthFeaturesResponse | PlainMessage<GetAuthFeaturesResponse> | undefined): boolean;
|
|
290
|
-
}
|
|
159
|
+
features?: JsonObject;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message scalekit.v1.auth.GetAuthFeaturesResponse.
|
|
163
|
+
* Use `create(GetAuthFeaturesResponseSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export declare const GetAuthFeaturesResponseSchema: GenMessage<GetAuthFeaturesResponse>;
|
|
291
166
|
/**
|
|
292
167
|
* @generated from message scalekit.v1.auth.VerifyPasswordLessOtpRequest
|
|
293
168
|
*/
|
|
294
|
-
export
|
|
169
|
+
export type VerifyPasswordLessOtpRequest = Message<"scalekit.v1.auth.VerifyPasswordLessOtpRequest"> & {
|
|
295
170
|
/**
|
|
296
171
|
* @generated from field: scalekit.v1.auth.OTPRequest otp_req = 2;
|
|
297
172
|
*/
|
|
298
173
|
otpReq?: OTPRequest;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpRequest;
|
|
306
|
-
static equals(a: VerifyPasswordLessOtpRequest | PlainMessage<VerifyPasswordLessOtpRequest> | undefined, b: VerifyPasswordLessOtpRequest | PlainMessage<VerifyPasswordLessOtpRequest> | undefined): boolean;
|
|
307
|
-
}
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message scalekit.v1.auth.VerifyPasswordLessOtpRequest.
|
|
177
|
+
* Use `create(VerifyPasswordLessOtpRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const VerifyPasswordLessOtpRequestSchema: GenMessage<VerifyPasswordLessOtpRequest>;
|
|
308
180
|
/**
|
|
309
181
|
* @generated from message scalekit.v1.auth.VerifyPasswordLessOtpResponse
|
|
310
182
|
*/
|
|
311
|
-
export
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpResponse;
|
|
318
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPasswordLessOtpResponse;
|
|
319
|
-
static equals(a: VerifyPasswordLessOtpResponse | PlainMessage<VerifyPasswordLessOtpResponse> | undefined, b: VerifyPasswordLessOtpResponse | PlainMessage<VerifyPasswordLessOtpResponse> | undefined): boolean;
|
|
320
|
-
}
|
|
183
|
+
export type VerifyPasswordLessOtpResponse = Message<"scalekit.v1.auth.VerifyPasswordLessOtpResponse"> & {};
|
|
184
|
+
/**
|
|
185
|
+
* Describes the message scalekit.v1.auth.VerifyPasswordLessOtpResponse.
|
|
186
|
+
* Use `create(VerifyPasswordLessOtpResponseSchema)` to create a new message.
|
|
187
|
+
*/
|
|
188
|
+
export declare const VerifyPasswordLessOtpResponseSchema: GenMessage<VerifyPasswordLessOtpResponse>;
|
|
321
189
|
/**
|
|
322
190
|
* @generated from message scalekit.v1.auth.OTPRequest
|
|
323
191
|
*/
|
|
324
|
-
export
|
|
192
|
+
export type OTPRequest = Message<"scalekit.v1.auth.OTPRequest"> & {
|
|
325
193
|
/**
|
|
326
194
|
* @generated from field: string code_challenge = 1;
|
|
327
195
|
*/
|
|
328
196
|
codeChallenge: string;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OTPRequest;
|
|
336
|
-
static equals(a: OTPRequest | PlainMessage<OTPRequest> | undefined, b: OTPRequest | PlainMessage<OTPRequest> | undefined): boolean;
|
|
337
|
-
}
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Describes the message scalekit.v1.auth.OTPRequest.
|
|
200
|
+
* Use `create(OTPRequestSchema)` to create a new message.
|
|
201
|
+
*/
|
|
202
|
+
export declare const OTPRequestSchema: GenMessage<OTPRequest>;
|
|
338
203
|
/**
|
|
339
204
|
* @generated from message scalekit.v1.auth.ListUserOrganizationsResponse
|
|
340
205
|
*/
|
|
341
|
-
export
|
|
206
|
+
export type ListUserOrganizationsResponse = Message<"scalekit.v1.auth.ListUserOrganizationsResponse"> & {
|
|
342
207
|
/**
|
|
343
208
|
* @generated from field: repeated scalekit.v1.auth.Organization organizations = 1;
|
|
344
209
|
*/
|
|
@@ -351,19 +216,16 @@ export declare class ListUserOrganizationsResponse extends Message<ListUserOrgan
|
|
|
351
216
|
* @generated from field: scalekit.v1.auth.Intent intent = 3;
|
|
352
217
|
*/
|
|
353
218
|
intent: Intent;
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUserOrganizationsResponse;
|
|
361
|
-
static equals(a: ListUserOrganizationsResponse | PlainMessage<ListUserOrganizationsResponse> | undefined, b: ListUserOrganizationsResponse | PlainMessage<ListUserOrganizationsResponse> | undefined): boolean;
|
|
362
|
-
}
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Describes the message scalekit.v1.auth.ListUserOrganizationsResponse.
|
|
222
|
+
* Use `create(ListUserOrganizationsResponseSchema)` to create a new message.
|
|
223
|
+
*/
|
|
224
|
+
export declare const ListUserOrganizationsResponseSchema: GenMessage<ListUserOrganizationsResponse>;
|
|
363
225
|
/**
|
|
364
226
|
* @generated from message scalekit.v1.auth.Organization
|
|
365
227
|
*/
|
|
366
|
-
export
|
|
228
|
+
export type Organization = Message<"scalekit.v1.auth.Organization"> & {
|
|
367
229
|
/**
|
|
368
230
|
* @generated from field: string id = 1;
|
|
369
231
|
*/
|
|
@@ -392,19 +254,16 @@ export declare class Organization extends Message<Organization> {
|
|
|
392
254
|
* @generated from field: optional google.protobuf.Timestamp invitation_expires_at = 7;
|
|
393
255
|
*/
|
|
394
256
|
invitationExpiresAt?: Timestamp;
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Organization;
|
|
402
|
-
static equals(a: Organization | PlainMessage<Organization> | undefined, b: Organization | PlainMessage<Organization> | undefined): boolean;
|
|
403
|
-
}
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Describes the message scalekit.v1.auth.Organization.
|
|
260
|
+
* Use `create(OrganizationSchema)` to create a new message.
|
|
261
|
+
*/
|
|
262
|
+
export declare const OrganizationSchema: GenMessage<Organization>;
|
|
404
263
|
/**
|
|
405
264
|
* @generated from message scalekit.v1.auth.UserDetails
|
|
406
265
|
*/
|
|
407
|
-
export
|
|
266
|
+
export type UserDetails = Message<"scalekit.v1.auth.UserDetails"> & {
|
|
408
267
|
/**
|
|
409
268
|
* @generated from field: string email = 1;
|
|
410
269
|
*/
|
|
@@ -417,19 +276,16 @@ export declare class UserDetails extends Message<UserDetails> {
|
|
|
417
276
|
* @generated from field: string last_name = 3;
|
|
418
277
|
*/
|
|
419
278
|
lastName: string;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserDetails;
|
|
427
|
-
static equals(a: UserDetails | PlainMessage<UserDetails> | undefined, b: UserDetails | PlainMessage<UserDetails> | undefined): boolean;
|
|
428
|
-
}
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message scalekit.v1.auth.UserDetails.
|
|
282
|
+
* Use `create(UserDetailsSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export declare const UserDetailsSchema: GenMessage<UserDetails>;
|
|
429
285
|
/**
|
|
430
286
|
* @generated from message scalekit.v1.auth.SignupOrganizationRequest
|
|
431
287
|
*/
|
|
432
|
-
export
|
|
288
|
+
export type SignupOrganizationRequest = Message<"scalekit.v1.auth.SignupOrganizationRequest"> & {
|
|
433
289
|
/**
|
|
434
290
|
* making all optional for now
|
|
435
291
|
*
|
|
@@ -452,19 +308,16 @@ export declare class SignupOrganizationRequest extends Message<SignupOrganizatio
|
|
|
452
308
|
* @generated from field: string phone_number = 5;
|
|
453
309
|
*/
|
|
454
310
|
phoneNumber: string;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignupOrganizationRequest;
|
|
462
|
-
static equals(a: SignupOrganizationRequest | PlainMessage<SignupOrganizationRequest> | undefined, b: SignupOrganizationRequest | PlainMessage<SignupOrganizationRequest> | undefined): boolean;
|
|
463
|
-
}
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* Describes the message scalekit.v1.auth.SignupOrganizationRequest.
|
|
314
|
+
* Use `create(SignupOrganizationRequestSchema)` to create a new message.
|
|
315
|
+
*/
|
|
316
|
+
export declare const SignupOrganizationRequestSchema: GenMessage<SignupOrganizationRequest>;
|
|
464
317
|
/**
|
|
465
318
|
* @generated from message scalekit.v1.auth.SignupOrganizationResponse
|
|
466
319
|
*/
|
|
467
|
-
export
|
|
320
|
+
export type SignupOrganizationResponse = Message<"scalekit.v1.auth.SignupOrganizationResponse"> & {
|
|
468
321
|
/**
|
|
469
322
|
* @generated from field: string organization_id = 1;
|
|
470
323
|
*/
|
|
@@ -473,19 +326,16 @@ export declare class SignupOrganizationResponse extends Message<SignupOrganizati
|
|
|
473
326
|
* @generated from field: string organization_name = 2;
|
|
474
327
|
*/
|
|
475
328
|
organizationName: string;
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignupOrganizationResponse;
|
|
483
|
-
static equals(a: SignupOrganizationResponse | PlainMessage<SignupOrganizationResponse> | undefined, b: SignupOrganizationResponse | PlainMessage<SignupOrganizationResponse> | undefined): boolean;
|
|
484
|
-
}
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* Describes the message scalekit.v1.auth.SignupOrganizationResponse.
|
|
332
|
+
* Use `create(SignupOrganizationResponseSchema)` to create a new message.
|
|
333
|
+
*/
|
|
334
|
+
export declare const SignupOrganizationResponseSchema: GenMessage<SignupOrganizationResponse>;
|
|
485
335
|
/**
|
|
486
336
|
* @generated from message scalekit.v1.auth.UpdateLoginUserDetailsRequest
|
|
487
337
|
*/
|
|
488
|
-
export
|
|
338
|
+
export type UpdateLoginUserDetailsRequest = Message<"scalekit.v1.auth.UpdateLoginUserDetailsRequest"> & {
|
|
489
339
|
/**
|
|
490
340
|
* @generated from field: string connection_id = 1;
|
|
491
341
|
*/
|
|
@@ -498,19 +348,16 @@ export declare class UpdateLoginUserDetailsRequest extends Message<UpdateLoginUs
|
|
|
498
348
|
* @generated from field: scalekit.v1.auth.User user = 3;
|
|
499
349
|
*/
|
|
500
350
|
user?: User;
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLoginUserDetailsRequest;
|
|
508
|
-
static equals(a: UpdateLoginUserDetailsRequest | PlainMessage<UpdateLoginUserDetailsRequest> | undefined, b: UpdateLoginUserDetailsRequest | PlainMessage<UpdateLoginUserDetailsRequest> | undefined): boolean;
|
|
509
|
-
}
|
|
351
|
+
};
|
|
352
|
+
/**
|
|
353
|
+
* Describes the message scalekit.v1.auth.UpdateLoginUserDetailsRequest.
|
|
354
|
+
* Use `create(UpdateLoginUserDetailsRequestSchema)` to create a new message.
|
|
355
|
+
*/
|
|
356
|
+
export declare const UpdateLoginUserDetailsRequestSchema: GenMessage<UpdateLoginUserDetailsRequest>;
|
|
510
357
|
/**
|
|
511
358
|
* @generated from message scalekit.v1.auth.User
|
|
512
359
|
*/
|
|
513
|
-
export
|
|
360
|
+
export type User = Message<"scalekit.v1.auth.User"> & {
|
|
514
361
|
/**
|
|
515
362
|
* @generated from field: string sub = 1;
|
|
516
363
|
*/
|
|
@@ -566,20 +413,17 @@ export declare class User extends Message<User> {
|
|
|
566
413
|
/**
|
|
567
414
|
* @generated from field: google.protobuf.Struct custom_attributes = 14;
|
|
568
415
|
*/
|
|
569
|
-
customAttributes?:
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User;
|
|
577
|
-
static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean;
|
|
578
|
-
}
|
|
416
|
+
customAttributes?: JsonObject;
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* Describes the message scalekit.v1.auth.User.
|
|
420
|
+
* Use `create(UserSchema)` to create a new message.
|
|
421
|
+
*/
|
|
422
|
+
export declare const UserSchema: GenMessage<User>;
|
|
579
423
|
/**
|
|
580
424
|
* @generated from message scalekit.v1.auth.GetAuthStateResponse
|
|
581
425
|
*/
|
|
582
|
-
export
|
|
426
|
+
export type GetAuthStateResponse = Message<"scalekit.v1.auth.GetAuthStateResponse"> & {
|
|
583
427
|
/**
|
|
584
428
|
* @generated from field: scalekit.v1.auth.AuthState auth_state = 1;
|
|
585
429
|
*/
|
|
@@ -588,36 +432,30 @@ export declare class GetAuthStateResponse extends Message<GetAuthStateResponse>
|
|
|
588
432
|
* @generated from field: scalekit.v1.auth.UserDetails user = 2;
|
|
589
433
|
*/
|
|
590
434
|
user?: UserDetails;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthStateResponse;
|
|
598
|
-
static equals(a: GetAuthStateResponse | PlainMessage<GetAuthStateResponse> | undefined, b: GetAuthStateResponse | PlainMessage<GetAuthStateResponse> | undefined): boolean;
|
|
599
|
-
}
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Describes the message scalekit.v1.auth.GetAuthStateResponse.
|
|
438
|
+
* Use `create(GetAuthStateResponseSchema)` to create a new message.
|
|
439
|
+
*/
|
|
440
|
+
export declare const GetAuthStateResponseSchema: GenMessage<GetAuthStateResponse>;
|
|
600
441
|
/**
|
|
601
442
|
* @generated from message scalekit.v1.auth.GetAuthErrorRequest
|
|
602
443
|
*/
|
|
603
|
-
export
|
|
444
|
+
export type GetAuthErrorRequest = Message<"scalekit.v1.auth.GetAuthErrorRequest"> & {
|
|
604
445
|
/**
|
|
605
446
|
* @generated from field: string error_id = 1;
|
|
606
447
|
*/
|
|
607
448
|
errorId: string;
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthErrorRequest;
|
|
615
|
-
static equals(a: GetAuthErrorRequest | PlainMessage<GetAuthErrorRequest> | undefined, b: GetAuthErrorRequest | PlainMessage<GetAuthErrorRequest> | undefined): boolean;
|
|
616
|
-
}
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* Describes the message scalekit.v1.auth.GetAuthErrorRequest.
|
|
452
|
+
* Use `create(GetAuthErrorRequestSchema)` to create a new message.
|
|
453
|
+
*/
|
|
454
|
+
export declare const GetAuthErrorRequestSchema: GenMessage<GetAuthErrorRequest>;
|
|
617
455
|
/**
|
|
618
456
|
* @generated from message scalekit.v1.auth.GetAuthErrorResponse
|
|
619
457
|
*/
|
|
620
|
-
export
|
|
458
|
+
export type GetAuthErrorResponse = Message<"scalekit.v1.auth.GetAuthErrorResponse"> & {
|
|
621
459
|
/**
|
|
622
460
|
* @generated from field: string error = 1;
|
|
623
461
|
*/
|
|
@@ -626,12 +464,220 @@ export declare class GetAuthErrorResponse extends Message<GetAuthErrorResponse>
|
|
|
626
464
|
* @generated from field: string error_description = 2;
|
|
627
465
|
*/
|
|
628
466
|
errorDescription: string;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Describes the message scalekit.v1.auth.GetAuthErrorResponse.
|
|
470
|
+
* Use `create(GetAuthErrorResponseSchema)` to create a new message.
|
|
471
|
+
*/
|
|
472
|
+
export declare const GetAuthErrorResponseSchema: GenMessage<GetAuthErrorResponse>;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from enum scalekit.v1.auth.Intent
|
|
475
|
+
*/
|
|
476
|
+
export declare enum Intent {
|
|
477
|
+
/**
|
|
478
|
+
* @generated from enum value: INTENT_UNSPECIFIED = 0;
|
|
479
|
+
*/
|
|
480
|
+
INTENT_UNSPECIFIED = 0,
|
|
481
|
+
/**
|
|
482
|
+
* @generated from enum value: sign_in = 1;
|
|
483
|
+
*/
|
|
484
|
+
sign_in = 1,
|
|
485
|
+
/**
|
|
486
|
+
* @generated from enum value: sign_up = 2;
|
|
487
|
+
*/
|
|
488
|
+
sign_up = 2
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Describes the enum scalekit.v1.auth.Intent.
|
|
492
|
+
*/
|
|
493
|
+
export declare const IntentSchema: GenEnum<Intent>;
|
|
494
|
+
/**
|
|
495
|
+
* @generated from enum scalekit.v1.auth.AuthState
|
|
496
|
+
*/
|
|
497
|
+
export declare enum AuthState {
|
|
498
|
+
/**
|
|
499
|
+
* @generated from enum value: AUTH_STATE_UNSPECIFIED = 0;
|
|
500
|
+
*/
|
|
501
|
+
AUTH_STATE_UNSPECIFIED = 0,
|
|
502
|
+
/**
|
|
503
|
+
* @generated from enum value: AUTHENTICATION_IN_PROGRESS = 1;
|
|
504
|
+
*/
|
|
505
|
+
AUTHENTICATION_IN_PROGRESS = 1,
|
|
506
|
+
/**
|
|
507
|
+
* @generated from enum value: ORGANIZATION_SWITCHER = 2;
|
|
508
|
+
*/
|
|
509
|
+
ORGANIZATION_SWITCHER = 2,
|
|
510
|
+
/**
|
|
511
|
+
* @generated from enum value: ORGANIZATION_SELECTED = 3;
|
|
512
|
+
*/
|
|
513
|
+
ORGANIZATION_SELECTED = 3,
|
|
514
|
+
/**
|
|
515
|
+
* @generated from enum value: ORGANIZATION_SIGNUP = 4;
|
|
516
|
+
*/
|
|
517
|
+
ORGANIZATION_SIGNUP = 4,
|
|
518
|
+
/**
|
|
519
|
+
* @generated from enum value: ORGANIZATION_SWITCHER_SIGNUP = 5;
|
|
520
|
+
*/
|
|
521
|
+
ORGANIZATION_SWITCHER_SIGNUP = 5,
|
|
522
|
+
/**
|
|
523
|
+
* @generated from enum value: OTP_VERIFICATION_PENDING = 6;
|
|
524
|
+
*/
|
|
525
|
+
OTP_VERIFICATION_PENDING = 6,
|
|
526
|
+
/**
|
|
527
|
+
* @generated from enum value: MAGIC_LINK_SENT = 7;
|
|
528
|
+
*/
|
|
529
|
+
MAGIC_LINK_SENT = 7,
|
|
530
|
+
/**
|
|
531
|
+
* @generated from enum value: LINK_SENT_OTP_VERIFICATION_PENDING = 8;
|
|
532
|
+
*/
|
|
533
|
+
LINK_SENT_OTP_VERIFICATION_PENDING = 8,
|
|
534
|
+
/**
|
|
535
|
+
* @generated from enum value: OTP_VERIFIED = 9;
|
|
536
|
+
*/
|
|
537
|
+
OTP_VERIFIED = 9,
|
|
538
|
+
/**
|
|
539
|
+
* @generated from enum value: LINK_VERIFIED = 10;
|
|
540
|
+
*/
|
|
541
|
+
LINK_VERIFIED = 10,
|
|
542
|
+
/**
|
|
543
|
+
* @generated from enum value: SSO_AUTHENTICATED = 11;
|
|
544
|
+
*/
|
|
545
|
+
SSO_AUTHENTICATED = 11,
|
|
546
|
+
/**
|
|
547
|
+
* @generated from enum value: ORG_USER_CREATED = 12;
|
|
548
|
+
*/
|
|
549
|
+
ORG_USER_CREATED = 12,
|
|
550
|
+
/**
|
|
551
|
+
* @generated from enum value: AUTHENTICATION_COMPLETED = 13;
|
|
552
|
+
*/
|
|
553
|
+
AUTHENTICATION_COMPLETED = 13,
|
|
554
|
+
/**
|
|
555
|
+
* @generated from enum value: AUTHENTICATION_FAILED = 14;
|
|
556
|
+
*/
|
|
557
|
+
AUTHENTICATION_FAILED = 14,
|
|
558
|
+
/**
|
|
559
|
+
* @generated from enum value: WEBAUTHN_VERIFIED = 15;
|
|
560
|
+
*/
|
|
561
|
+
WEBAUTHN_VERIFIED = 15,
|
|
562
|
+
/**
|
|
563
|
+
* @generated from enum value: VERIFICATION_MAGIC_LINK_SENT = 16;
|
|
564
|
+
*/
|
|
565
|
+
VERIFICATION_MAGIC_LINK_SENT = 16,
|
|
566
|
+
/**
|
|
567
|
+
* @generated from enum value: VERIFICATION_MAGIC_LINK_OTP_SENT = 17;
|
|
568
|
+
*/
|
|
569
|
+
VERIFICATION_MAGIC_LINK_OTP_SENT = 17,
|
|
570
|
+
/**
|
|
571
|
+
* @generated from enum value: VERIFICATION_OTP_SENT = 18;
|
|
572
|
+
*/
|
|
573
|
+
VERIFICATION_OTP_SENT = 18,
|
|
574
|
+
/**
|
|
575
|
+
* @generated from enum value: VERIFICATION_COMPLETED = 19;
|
|
576
|
+
*/
|
|
577
|
+
VERIFICATION_COMPLETED = 19
|
|
637
578
|
}
|
|
579
|
+
/**
|
|
580
|
+
* Describes the enum scalekit.v1.auth.AuthState.
|
|
581
|
+
*/
|
|
582
|
+
export declare const AuthStateSchema: GenEnum<AuthState>;
|
|
583
|
+
/**
|
|
584
|
+
* @generated from service scalekit.v1.auth.AuthService
|
|
585
|
+
*/
|
|
586
|
+
export declare const AuthService: GenService<{
|
|
587
|
+
/**
|
|
588
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ListAuthMethods
|
|
589
|
+
*/
|
|
590
|
+
listAuthMethods: {
|
|
591
|
+
methodKind: "unary";
|
|
592
|
+
input: typeof ListAuthMethodsRequestSchema;
|
|
593
|
+
output: typeof ListAuthMethodsResponseSchema;
|
|
594
|
+
};
|
|
595
|
+
/**
|
|
596
|
+
* @generated from rpc scalekit.v1.auth.AuthService.DiscoveryAuthMethod
|
|
597
|
+
*/
|
|
598
|
+
discoveryAuthMethod: {
|
|
599
|
+
methodKind: "unary";
|
|
600
|
+
input: typeof DiscoveryAuthMethodRequestSchema;
|
|
601
|
+
output: typeof DiscoveryAuthMethodResponseSchema;
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
* @generated from rpc scalekit.v1.auth.AuthService.VerifyPasswordLessOtp
|
|
605
|
+
*/
|
|
606
|
+
verifyPasswordLessOtp: {
|
|
607
|
+
methodKind: "unary";
|
|
608
|
+
input: typeof VerifyPasswordLessOtpRequestSchema;
|
|
609
|
+
output: typeof VerifyPasswordLessOtpResponseSchema;
|
|
610
|
+
};
|
|
611
|
+
/**
|
|
612
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ResendPasswordless
|
|
613
|
+
*/
|
|
614
|
+
resendPasswordless: {
|
|
615
|
+
methodKind: "unary";
|
|
616
|
+
input: typeof EmptySchema;
|
|
617
|
+
output: typeof EmptySchema;
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* @generated from rpc scalekit.v1.auth.AuthService.ListUserOrganizations
|
|
621
|
+
*/
|
|
622
|
+
listUserOrganizations: {
|
|
623
|
+
methodKind: "unary";
|
|
624
|
+
input: typeof EmptySchema;
|
|
625
|
+
output: typeof ListUserOrganizationsResponseSchema;
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* @generated from rpc scalekit.v1.auth.AuthService.SignupOrganization
|
|
629
|
+
*/
|
|
630
|
+
signupOrganization: {
|
|
631
|
+
methodKind: "unary";
|
|
632
|
+
input: typeof SignupOrganizationRequestSchema;
|
|
633
|
+
output: typeof SignupOrganizationResponseSchema;
|
|
634
|
+
};
|
|
635
|
+
/**
|
|
636
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthState
|
|
637
|
+
*/
|
|
638
|
+
getAuthState: {
|
|
639
|
+
methodKind: "unary";
|
|
640
|
+
input: typeof EmptySchema;
|
|
641
|
+
output: typeof GetAuthStateResponseSchema;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthError
|
|
645
|
+
*/
|
|
646
|
+
getAuthError: {
|
|
647
|
+
methodKind: "unary";
|
|
648
|
+
input: typeof GetAuthErrorRequestSchema;
|
|
649
|
+
output: typeof GetAuthErrorResponseSchema;
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* @generated from rpc scalekit.v1.auth.AuthService.Logout
|
|
653
|
+
*/
|
|
654
|
+
logout: {
|
|
655
|
+
methodKind: "unary";
|
|
656
|
+
input: typeof EmptySchema;
|
|
657
|
+
output: typeof EmptySchema;
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthCustomizations
|
|
661
|
+
*/
|
|
662
|
+
getAuthCustomizations: {
|
|
663
|
+
methodKind: "unary";
|
|
664
|
+
input: typeof GetAuthCustomizationsRequestSchema;
|
|
665
|
+
output: typeof GetAuthCustomizationsResponseSchema;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* @generated from rpc scalekit.v1.auth.AuthService.GetAuthFeatures
|
|
669
|
+
*/
|
|
670
|
+
getAuthFeatures: {
|
|
671
|
+
methodKind: "unary";
|
|
672
|
+
input: typeof EmptySchema;
|
|
673
|
+
output: typeof GetAuthFeaturesResponseSchema;
|
|
674
|
+
};
|
|
675
|
+
/**
|
|
676
|
+
* @generated from rpc scalekit.v1.auth.AuthService.UpdateLoginUserDetails
|
|
677
|
+
*/
|
|
678
|
+
updateLoginUserDetails: {
|
|
679
|
+
methodKind: "unary";
|
|
680
|
+
input: typeof UpdateLoginUserDetailsRequestSchema;
|
|
681
|
+
output: typeof EmptySchema;
|
|
682
|
+
};
|
|
683
|
+
}>;
|