@scalekit-sdk/node 2.2.0 → 2.2.2
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/{reference.md → REFERENCE.md} +530 -77
- package/lib/core.js +1 -1
- package/package.json +9 -3
- package/.github/dependabot.yml +0 -10
- package/.nvmrc +0 -1
- package/buf.gen.yaml +0 -20
- package/jest.config.js +0 -15
- package/src/auth.ts +0 -99
- package/src/connect.ts +0 -32
- package/src/connection.ts +0 -267
- package/src/constants/user.ts +0 -22
- package/src/core.ts +0 -139
- package/src/directory.ts +0 -431
- package/src/domain.ts +0 -273
- package/src/errors/base-exception.ts +0 -263
- package/src/errors/index.ts +0 -3
- package/src/errors/specific-exceptions.ts +0 -88
- package/src/index.ts +0 -10
- package/src/organization.ts +0 -571
- package/src/passwordless.ts +0 -139
- package/src/permission.ts +0 -310
- package/src/pkg/grpc/buf/validate/validate_pb.ts +0 -28
- package/src/pkg/grpc/google/api/annotations_pb.ts +0 -28
- package/src/pkg/grpc/google/api/field_behavior_pb.ts +0 -28
- package/src/pkg/grpc/google/api/visibility_pb.ts +0 -28
- package/src/pkg/grpc/protoc-gen-openapiv2/options/annotations_pb.ts +0 -28
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +0 -257
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +0 -836
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +0 -264
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +0 -794
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +0 -452
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +0 -2645
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +0 -1393
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +0 -599
- package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +0 -311
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +0 -200
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +0 -1141
- package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +0 -1491
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +0 -497
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +0 -1404
- package/src/role.ts +0 -463
- package/src/scalekit.ts +0 -800
- package/src/session.ts +0 -323
- package/src/types/auth.ts +0 -73
- package/src/types/organization.ts +0 -12
- package/src/types/scalekit.ts +0 -50
- package/src/types/user.ts +0 -21
- package/src/user.ts +0 -829
- package/src/webauthn.ts +0 -99
- package/tests/README.md +0 -25
- package/tests/connection.test.ts +0 -42
- package/tests/directory.test.ts +0 -46
- package/tests/domain.test.ts +0 -293
- package/tests/organization.test.ts +0 -81
- package/tests/passwordless.test.ts +0 -108
- package/tests/permission.test.ts +0 -399
- package/tests/role.test.ts +0 -323
- package/tests/scalekit.test.ts +0 -104
- package/tests/setup.ts +0 -34
- package/tests/users.test.ts +0 -168
- package/tests/utils/test-data.ts +0 -490
- package/tsconfig.json +0 -19
|
@@ -1,836 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file scalekit/v1/auth/auth.proto (package scalekit.v1.auth, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
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";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Describes the file scalekit/v1/auth/auth.proto.
|
|
20
|
-
*/
|
|
21
|
-
export const file_scalekit_v1_auth_auth: GenFile = /*@__PURE__*/
|
|
22
|
-
fileDesc("ChtzY2FsZWtpdC92MS9hdXRoL2F1dGgucHJvdG8SEHNjYWxla2l0LnYxLmF1dGgiKAoWTGlzdEF1dGhNZXRob2RzUmVxdWVzdBIOCgZpbnRlbnQYASABKAkiTQoXTGlzdEF1dGhNZXRob2RzUmVzcG9uc2USMgoMYXV0aF9tZXRob2RzGAEgAygLMhwuc2NhbGVraXQudjEuYXV0aC5BdXRoTWV0aG9kItMHCgpBdXRoTWV0aG9kEm8KDWNvbm5lY3Rpb25faWQYASABKAlCWJJBTDIyVW5pcXVlIGlkZW50aWZpZXIgZm9yIHRoZSBjb25uZWN0aW9uIHRvIGJlIHRvZ2dsZWRKFiJjb25uXzEyMTMxMjQzNDEyMzMxMiK6SAZyBBABGCASQAoPY29ubmVjdGlvbl90eXBlGAIgASgOMicuc2NhbGVraXQudjEuY29ubmVjdGlvbnMuQ29ubmVjdGlvblR5cGUSEAoIcHJvdmlkZXIYAyABKAkSgAEKE2F1dGhfaW5pdGlhdGlvbl91cmkYBCABKAlCY5JBVjIeVVJJIHRvIGluaXRpYXRlIHRoZSBjb25uZWN0aW9uSjQiaHR0cHM6Ly9zc28uYWNtZWNvcnAuY29tL3Nzby92MS9vaWRjL2Nvbm5fMTIzL2luaXQiukgHcgUQARj/ARJoChFwYXNzd29yZGx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bnNSZXNwb25zZSI4grUYAhgB+tLkkwIJEgdQUkVWSUVXgtPkkwIdEhsvYXBpL3YxL2F1dGg6Y3VzdG9taXphdGlvbnMSiAEKD0dldEF1dGhGZWF0dXJlcxIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRopLnNjYWxla2l0LnYxLmF1dGguR2V0QXV0aEZlYXR1cmVzUmVzcG9uc2UiMoK1GAIYAfrS5JMCCRIHUFJFVklFV4LT5JMCFxIVL2FwaS92MS9hdXRoOmZlYXR1cmVzEs0CChZVcGRhdGVMb2dpblVzZXJEZXRhaWxzEi8uc2NhbGVraXQudjEuYXV0aC5VcGRhdGVMb2dpblVzZXJEZXRhaWxzUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSLpAZJBegoLQ29ubmVjdGlvbnMSJVVwZGF0ZSBVc2VyIERldGFpbHMgZm9yIGxvZ2luIHJlcXVlc3QaJVVwZGF0ZSBVc2VyIERldGFpbHMgZm9yIGxvZ2luIHJlcXVlc3RKHQoDMjAwEhYKFERlbGV0ZWQgU3VjY2Vzc2Z1bGx5grUYAhgE+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]);
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @generated from message scalekit.v1.auth.ListAuthMethodsRequest
|
|
26
|
-
*/
|
|
27
|
-
export type ListAuthMethodsRequest = Message<"scalekit.v1.auth.ListAuthMethodsRequest"> & {
|
|
28
|
-
/**
|
|
29
|
-
* @generated from field: string intent = 1;
|
|
30
|
-
*/
|
|
31
|
-
intent: string;
|
|
32
|
-
};
|
|
33
|
-
|
|
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);
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @generated from message scalekit.v1.auth.ListAuthMethodsResponse
|
|
43
|
-
*/
|
|
44
|
-
export type ListAuthMethodsResponse = Message<"scalekit.v1.auth.ListAuthMethodsResponse"> & {
|
|
45
|
-
/**
|
|
46
|
-
* @generated from field: repeated scalekit.v1.auth.AuthMethod auth_methods = 1;
|
|
47
|
-
*/
|
|
48
|
-
authMethods: AuthMethod[];
|
|
49
|
-
};
|
|
50
|
-
|
|
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);
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @generated from message scalekit.v1.auth.AuthMethod
|
|
60
|
-
*/
|
|
61
|
-
export type AuthMethod = Message<"scalekit.v1.auth.AuthMethod"> & {
|
|
62
|
-
/**
|
|
63
|
-
* @generated from field: string connection_id = 1;
|
|
64
|
-
*/
|
|
65
|
-
connectionId: string;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @generated from field: scalekit.v1.connections.ConnectionType connection_type = 2;
|
|
69
|
-
*/
|
|
70
|
-
connectionType: ConnectionType;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @generated from field: string provider = 3;
|
|
74
|
-
*/
|
|
75
|
-
provider: string;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @generated from field: string auth_initiation_uri = 4;
|
|
79
|
-
*/
|
|
80
|
-
authInitiationUri: string;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @generated from field: optional scalekit.v1.connections.PasswordlessType passwordless_type = 5;
|
|
84
|
-
*/
|
|
85
|
-
passwordlessType?: PasswordlessType;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @generated from field: optional uint32 code_challenge_length = 6;
|
|
89
|
-
*/
|
|
90
|
-
codeChallengeLength?: number;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @generated from field: optional bool enable_webauthn_auto_registration = 7;
|
|
94
|
-
*/
|
|
95
|
-
enableWebauthnAutoRegistration?: boolean;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @generated from field: optional bool show_passkey_button = 8;
|
|
99
|
-
*/
|
|
100
|
-
showPasskeyButton?: boolean;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @generated from field: optional bool enable_webauthn_conditional_login = 9;
|
|
104
|
-
*/
|
|
105
|
-
enableWebauthnConditionalLogin?: boolean;
|
|
106
|
-
};
|
|
107
|
-
|
|
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);
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @generated from message scalekit.v1.auth.DiscoveryAuthMethodRequest
|
|
117
|
-
*/
|
|
118
|
-
export type DiscoveryAuthMethodRequest = Message<"scalekit.v1.auth.DiscoveryAuthMethodRequest"> & {
|
|
119
|
-
/**
|
|
120
|
-
* @generated from field: scalekit.v1.auth.DiscoveryRequest discovery_request = 2;
|
|
121
|
-
*/
|
|
122
|
-
discoveryRequest?: DiscoveryRequest;
|
|
123
|
-
};
|
|
124
|
-
|
|
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);
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @generated from message scalekit.v1.auth.DiscoveryRequest
|
|
134
|
-
*/
|
|
135
|
-
export type DiscoveryRequest = Message<"scalekit.v1.auth.DiscoveryRequest"> & {
|
|
136
|
-
/**
|
|
137
|
-
* @generated from field: string email = 1;
|
|
138
|
-
*/
|
|
139
|
-
email: string;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @generated from field: scalekit.v1.auth.Intent intent = 2;
|
|
143
|
-
*/
|
|
144
|
-
intent: Intent;
|
|
145
|
-
};
|
|
146
|
-
|
|
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);
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* @generated from message scalekit.v1.auth.DiscoveryAuthMethodResponse
|
|
156
|
-
*/
|
|
157
|
-
export type DiscoveryAuthMethodResponse = Message<"scalekit.v1.auth.DiscoveryAuthMethodResponse"> & {
|
|
158
|
-
/**
|
|
159
|
-
* @generated from field: scalekit.v1.auth.AuthMethod auth_method = 1;
|
|
160
|
-
*/
|
|
161
|
-
authMethod?: AuthMethod;
|
|
162
|
-
};
|
|
163
|
-
|
|
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);
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @generated from message scalekit.v1.auth.GetAuthCustomizationsRequest
|
|
173
|
-
*/
|
|
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);
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @generated from message scalekit.v1.auth.GetAuthCustomizationsResponse
|
|
186
|
-
*/
|
|
187
|
-
export type GetAuthCustomizationsResponse = Message<"scalekit.v1.auth.GetAuthCustomizationsResponse"> & {
|
|
188
|
-
/**
|
|
189
|
-
* @generated from field: google.protobuf.Struct customization_settings = 2;
|
|
190
|
-
*/
|
|
191
|
-
customizationSettings?: JsonObject;
|
|
192
|
-
};
|
|
193
|
-
|
|
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);
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* @generated from message scalekit.v1.auth.GetAuthFeaturesResponse
|
|
203
|
-
*/
|
|
204
|
-
export type GetAuthFeaturesResponse = Message<"scalekit.v1.auth.GetAuthFeaturesResponse"> & {
|
|
205
|
-
/**
|
|
206
|
-
* @generated from field: google.protobuf.Struct features = 1;
|
|
207
|
-
*/
|
|
208
|
-
features?: JsonObject;
|
|
209
|
-
};
|
|
210
|
-
|
|
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);
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @generated from message scalekit.v1.auth.VerifyPasswordLessOtpRequest
|
|
220
|
-
*/
|
|
221
|
-
export type VerifyPasswordLessOtpRequest = Message<"scalekit.v1.auth.VerifyPasswordLessOtpRequest"> & {
|
|
222
|
-
/**
|
|
223
|
-
* @generated from field: scalekit.v1.auth.OTPRequest otp_req = 2;
|
|
224
|
-
*/
|
|
225
|
-
otpReq?: OTPRequest;
|
|
226
|
-
};
|
|
227
|
-
|
|
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);
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* @generated from message scalekit.v1.auth.VerifyPasswordLessOtpResponse
|
|
237
|
-
*/
|
|
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);
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* @generated from message scalekit.v1.auth.OTPRequest
|
|
250
|
-
*/
|
|
251
|
-
export type OTPRequest = Message<"scalekit.v1.auth.OTPRequest"> & {
|
|
252
|
-
/**
|
|
253
|
-
* @generated from field: string code_challenge = 1;
|
|
254
|
-
*/
|
|
255
|
-
codeChallenge: string;
|
|
256
|
-
};
|
|
257
|
-
|
|
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);
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @generated from message scalekit.v1.auth.ListUserOrganizationsResponse
|
|
267
|
-
*/
|
|
268
|
-
export type ListUserOrganizationsResponse = Message<"scalekit.v1.auth.ListUserOrganizationsResponse"> & {
|
|
269
|
-
/**
|
|
270
|
-
* @generated from field: repeated scalekit.v1.auth.Organization organizations = 1;
|
|
271
|
-
*/
|
|
272
|
-
organizations: Organization[];
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* @generated from field: scalekit.v1.auth.UserDetails user = 2;
|
|
276
|
-
*/
|
|
277
|
-
user?: UserDetails;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* @generated from field: scalekit.v1.auth.Intent intent = 3;
|
|
281
|
-
*/
|
|
282
|
-
intent: Intent;
|
|
283
|
-
};
|
|
284
|
-
|
|
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);
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* @generated from message scalekit.v1.auth.Organization
|
|
294
|
-
*/
|
|
295
|
-
export type Organization = Message<"scalekit.v1.auth.Organization"> & {
|
|
296
|
-
/**
|
|
297
|
-
* @generated from field: string id = 1;
|
|
298
|
-
*/
|
|
299
|
-
id: string;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* @generated from field: string name = 2;
|
|
303
|
-
*/
|
|
304
|
-
name: string;
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* @generated from field: string membership_status = 3;
|
|
308
|
-
*/
|
|
309
|
-
membershipStatus: string;
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* @generated from field: optional string invitation_inviter_email = 4;
|
|
313
|
-
*/
|
|
314
|
-
invitationInviterEmail?: string;
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* @generated from field: optional google.protobuf.Timestamp invitation_accepted_at = 5;
|
|
318
|
-
*/
|
|
319
|
-
invitationAcceptedAt?: Timestamp;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* @generated from field: optional google.protobuf.Timestamp invitation_created_at = 6;
|
|
323
|
-
*/
|
|
324
|
-
invitationCreatedAt?: Timestamp;
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* @generated from field: optional google.protobuf.Timestamp invitation_expires_at = 7;
|
|
328
|
-
*/
|
|
329
|
-
invitationExpiresAt?: Timestamp;
|
|
330
|
-
};
|
|
331
|
-
|
|
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);
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @generated from message scalekit.v1.auth.UserDetails
|
|
341
|
-
*/
|
|
342
|
-
export type UserDetails = Message<"scalekit.v1.auth.UserDetails"> & {
|
|
343
|
-
/**
|
|
344
|
-
* @generated from field: string email = 1;
|
|
345
|
-
*/
|
|
346
|
-
email: string;
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* @generated from field: string first_name = 2;
|
|
350
|
-
*/
|
|
351
|
-
firstName: string;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* @generated from field: string last_name = 3;
|
|
355
|
-
*/
|
|
356
|
-
lastName: string;
|
|
357
|
-
};
|
|
358
|
-
|
|
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);
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* @generated from message scalekit.v1.auth.SignupOrganizationRequest
|
|
368
|
-
*/
|
|
369
|
-
export type SignupOrganizationRequest = Message<"scalekit.v1.auth.SignupOrganizationRequest"> & {
|
|
370
|
-
/**
|
|
371
|
-
* making all optional for now
|
|
372
|
-
*
|
|
373
|
-
* @generated from field: string organization_name = 1;
|
|
374
|
-
*/
|
|
375
|
-
organizationName: string;
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* @generated from field: string first_name = 2;
|
|
379
|
-
*/
|
|
380
|
-
firstName: string;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* @generated from field: string last_name = 3;
|
|
384
|
-
*/
|
|
385
|
-
lastName: string;
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* @generated from field: string full_name = 4;
|
|
389
|
-
*/
|
|
390
|
-
fullName: string;
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* @generated from field: string phone_number = 5;
|
|
394
|
-
*/
|
|
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);
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* @generated from message scalekit.v1.auth.SignupOrganizationResponse
|
|
407
|
-
*/
|
|
408
|
-
export type SignupOrganizationResponse = Message<"scalekit.v1.auth.SignupOrganizationResponse"> & {
|
|
409
|
-
/**
|
|
410
|
-
* @generated from field: string organization_id = 1;
|
|
411
|
-
*/
|
|
412
|
-
organizationId: string;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* @generated from field: string organization_name = 2;
|
|
416
|
-
*/
|
|
417
|
-
organizationName: string;
|
|
418
|
-
};
|
|
419
|
-
|
|
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);
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* @generated from message scalekit.v1.auth.UpdateLoginUserDetailsRequest
|
|
429
|
-
*/
|
|
430
|
-
export type UpdateLoginUserDetailsRequest = Message<"scalekit.v1.auth.UpdateLoginUserDetailsRequest"> & {
|
|
431
|
-
/**
|
|
432
|
-
* @generated from field: string connection_id = 1;
|
|
433
|
-
*/
|
|
434
|
-
connectionId: string;
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* @generated from field: string login_request_id = 2;
|
|
438
|
-
*/
|
|
439
|
-
loginRequestId: string;
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* @generated from field: scalekit.v1.auth.User user = 3;
|
|
443
|
-
*/
|
|
444
|
-
user?: User;
|
|
445
|
-
};
|
|
446
|
-
|
|
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);
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* @generated from message scalekit.v1.auth.User
|
|
456
|
-
*/
|
|
457
|
-
export type User = Message<"scalekit.v1.auth.User"> & {
|
|
458
|
-
/**
|
|
459
|
-
* @generated from field: string sub = 1;
|
|
460
|
-
*/
|
|
461
|
-
sub: string;
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* @generated from field: string email = 2;
|
|
465
|
-
*/
|
|
466
|
-
email: string;
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* @generated from field: string given_name = 3;
|
|
470
|
-
*/
|
|
471
|
-
givenName: string;
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* @generated from field: string family_name = 4;
|
|
475
|
-
*/
|
|
476
|
-
familyName: string;
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* @generated from field: bool email_verified = 5;
|
|
480
|
-
*/
|
|
481
|
-
emailVerified: boolean;
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* @generated from field: string phone_number = 6;
|
|
485
|
-
*/
|
|
486
|
-
phoneNumber: string;
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* @generated from field: bool phone_number_verified = 7;
|
|
490
|
-
*/
|
|
491
|
-
phoneNumberVerified: boolean;
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* @generated from field: string name = 8;
|
|
495
|
-
*/
|
|
496
|
-
name: string;
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* @generated from field: string preferred_username = 9;
|
|
500
|
-
*/
|
|
501
|
-
preferredUsername: string;
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* @generated from field: string picture = 10;
|
|
505
|
-
*/
|
|
506
|
-
picture: string;
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* @generated from field: string gender = 11;
|
|
510
|
-
*/
|
|
511
|
-
gender: string;
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* @generated from field: string locale = 12;
|
|
515
|
-
*/
|
|
516
|
-
locale: string;
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* @generated from field: repeated string groups = 13;
|
|
520
|
-
*/
|
|
521
|
-
groups: string[];
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* @generated from field: google.protobuf.Struct custom_attributes = 14;
|
|
525
|
-
*/
|
|
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);
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* @generated from message scalekit.v1.auth.GetAuthStateResponse
|
|
538
|
-
*/
|
|
539
|
-
export type GetAuthStateResponse = Message<"scalekit.v1.auth.GetAuthStateResponse"> & {
|
|
540
|
-
/**
|
|
541
|
-
* @generated from field: scalekit.v1.auth.AuthState auth_state = 1;
|
|
542
|
-
*/
|
|
543
|
-
authState: AuthState;
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* @generated from field: scalekit.v1.auth.UserDetails user = 2;
|
|
547
|
-
*/
|
|
548
|
-
user?: UserDetails;
|
|
549
|
-
};
|
|
550
|
-
|
|
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);
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* @generated from message scalekit.v1.auth.GetAuthErrorRequest
|
|
560
|
-
*/
|
|
561
|
-
export type GetAuthErrorRequest = Message<"scalekit.v1.auth.GetAuthErrorRequest"> & {
|
|
562
|
-
/**
|
|
563
|
-
* @generated from field: string error_id = 1;
|
|
564
|
-
*/
|
|
565
|
-
errorId: string;
|
|
566
|
-
};
|
|
567
|
-
|
|
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);
|
|
574
|
-
|
|
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;
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* @generated from field: string error_description = 2;
|
|
586
|
-
*/
|
|
587
|
-
errorDescription: string;
|
|
588
|
-
};
|
|
589
|
-
|
|
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);
|
|
596
|
-
|
|
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,
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* @generated from enum value: sign_up = 2;
|
|
613
|
-
*/
|
|
614
|
-
sign_up = 2,
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Describes the enum scalekit.v1.auth.Intent.
|
|
619
|
-
*/
|
|
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 {
|
|
627
|
-
/**
|
|
628
|
-
* @generated from enum value: AUTH_STATE_UNSPECIFIED = 0;
|
|
629
|
-
*/
|
|
630
|
-
AUTH_STATE_UNSPECIFIED = 0,
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* @generated from enum value: AUTHENTICATION_IN_PROGRESS = 1;
|
|
634
|
-
*/
|
|
635
|
-
AUTHENTICATION_IN_PROGRESS = 1,
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* @generated from enum value: ORGANIZATION_SWITCHER = 2;
|
|
639
|
-
*/
|
|
640
|
-
ORGANIZATION_SWITCHER = 2,
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* @generated from enum value: ORGANIZATION_SELECTED = 3;
|
|
644
|
-
*/
|
|
645
|
-
ORGANIZATION_SELECTED = 3,
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* @generated from enum value: ORGANIZATION_SIGNUP = 4;
|
|
649
|
-
*/
|
|
650
|
-
ORGANIZATION_SIGNUP = 4,
|
|
651
|
-
|
|
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,
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* @generated from enum value: VERIFICATION_MAGIC_LINK_SENT = 16;
|
|
709
|
-
*/
|
|
710
|
-
VERIFICATION_MAGIC_LINK_SENT = 16,
|
|
711
|
-
|
|
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,
|
|
726
|
-
}
|
|
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
|
-
|