@krak-stack/auth 0.2.0 → 0.2.1
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/dist/access.d.ts +1 -3
- package/dist/access.js +1 -3
- package/dist/admin/api.group.d.ts +36 -36
- package/dist/admin/api.group.js +13 -13
- package/dist/api.d.ts +837 -837
- package/dist/auth/api.group.d.ts +86 -86
- package/dist/auth/api.group.js +8 -8
- package/dist/auth/schema.d.ts +48 -40
- package/dist/auth/schema.js +12 -9
- package/dist/components/admin-organization-form.js +1 -0
- package/dist/components/admin-organizations.d.ts +4 -5
- package/dist/components/admin-organizations.js +34 -31
- package/dist/components/admin-users.d.ts +5 -6
- package/dist/components/admin-users.js +51 -50
- package/dist/components/api-key-edit-form.js +2 -1
- package/dist/components/auth-atoms.d.ts +103 -103
- package/dist/components/auth-client-api.d.ts +834 -2351
- package/dist/components/auth-client-api.js +11 -7
- package/dist/components/auth-forms.js +6 -1
- package/dist/components/auth-provider.d.ts +13 -13
- package/dist/components/member-required.js +2 -2
- package/dist/components/organization-switcher.js +72 -69
- package/dist/components/user-button.js +31 -26
- package/dist/extra/api.group.d.ts +19 -19
- package/dist/extra/api.group.js +3 -3
- package/dist/extra/schema.d.ts +1 -2
- package/dist/extra/schema.js +1 -2
- package/dist/query.js +5 -5
- package/dist/server/api.group.d.ts +29 -29
- package/dist/server/api.group.js +12 -12
- package/dist/service.d.ts +1513 -1951
- package/package.json +4 -4
package/dist/auth/api.group.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { Schema } from "effect";
|
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
|
|
3
3
|
import { AuthBadRequest } from "./schema.js";
|
|
4
4
|
export * from "./schema.js";
|
|
5
|
-
export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndpoint.HttpApiEndpoint<"adminBanUser", "POST", "/admin/ban-user",
|
|
5
|
+
export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndpoint.HttpApiEndpoint<"adminBanUser", "POST", "/admin/ban-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
6
6
|
readonly userId: Schema.String;
|
|
7
7
|
readonly banReason: Schema.optional<Schema.String>;
|
|
8
8
|
readonly banExpiresIn: Schema.optional<Schema.Number>;
|
|
9
|
-
}>>,
|
|
9
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
10
10
|
readonly user: Schema.Struct<{
|
|
11
11
|
readonly id: Schema.String;
|
|
12
12
|
readonly name: Schema.String;
|
|
@@ -22,9 +22,9 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
22
22
|
readonly createdAt: Schema.DateFromString;
|
|
23
23
|
readonly updatedAt: Schema.DateFromString;
|
|
24
24
|
}>;
|
|
25
|
-
}>>,
|
|
25
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminImpersonateUser", "POST", "/admin/impersonate-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
26
26
|
readonly userId: Schema.String;
|
|
27
|
-
}>>,
|
|
27
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
28
28
|
readonly session: Schema.Struct<{
|
|
29
29
|
readonly id: Schema.String;
|
|
30
30
|
readonly expiresAt: Schema.DateFromString;
|
|
@@ -53,7 +53,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
53
53
|
readonly createdAt: Schema.DateFromString;
|
|
54
54
|
readonly updatedAt: Schema.DateFromString;
|
|
55
55
|
}>;
|
|
56
|
-
}>>,
|
|
56
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminStopImpersonating", "POST", "/admin/stop-impersonating", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
57
57
|
readonly session: Schema.Struct<{
|
|
58
58
|
readonly id: Schema.String;
|
|
59
59
|
readonly expiresAt: Schema.DateFromString;
|
|
@@ -82,9 +82,9 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
82
82
|
readonly createdAt: Schema.DateFromString;
|
|
83
83
|
readonly updatedAt: Schema.DateFromString;
|
|
84
84
|
}>;
|
|
85
|
-
}>>,
|
|
85
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminUnbanUser", "POST", "/admin/unban-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
86
86
|
readonly userId: Schema.String;
|
|
87
|
-
}>>,
|
|
87
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
88
88
|
readonly user: Schema.Struct<{
|
|
89
89
|
readonly id: Schema.String;
|
|
90
90
|
readonly name: Schema.String;
|
|
@@ -100,19 +100,19 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
100
100
|
readonly createdAt: Schema.DateFromString;
|
|
101
101
|
readonly updatedAt: Schema.DateFromString;
|
|
102
102
|
}>;
|
|
103
|
-
}>>,
|
|
103
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeyDelete", "POST", "/api-key/delete", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
104
104
|
readonly configId: Schema.optional<Schema.String>;
|
|
105
105
|
readonly keyId: Schema.String;
|
|
106
|
-
}>>,
|
|
106
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
107
107
|
readonly success: Schema.Boolean;
|
|
108
|
-
}>>,
|
|
108
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeyList", "GET", "/api-key/list", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
109
109
|
readonly configId: Schema.optional<Schema.String>;
|
|
110
110
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
111
111
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
112
112
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
113
113
|
readonly sortBy: Schema.optional<Schema.String>;
|
|
114
114
|
readonly sortDirection: Schema.optional<Schema.Literals<readonly ["asc", "desc"]>>;
|
|
115
|
-
}>>,
|
|
115
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
116
116
|
readonly apiKeys: Schema.$Array<Schema.Struct<{
|
|
117
117
|
readonly id: Schema.String;
|
|
118
118
|
readonly name: Schema.NullOr<Schema.String>;
|
|
@@ -141,11 +141,11 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
141
141
|
readonly total: Schema.Number;
|
|
142
142
|
readonly limit: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
143
143
|
readonly offset: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
144
|
-
}>>,
|
|
144
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"changePassword", "POST", "/change-password", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
145
145
|
readonly newPassword: Schema.String;
|
|
146
146
|
readonly currentPassword: Schema.String;
|
|
147
147
|
readonly revokeOtherSessions: Schema.optional<Schema.Boolean>;
|
|
148
|
-
}>>,
|
|
148
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
149
149
|
readonly token: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
150
150
|
readonly user: Schema.Struct<{
|
|
151
151
|
readonly id: Schema.String;
|
|
@@ -162,10 +162,10 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
162
162
|
readonly createdAt: Schema.DateFromString;
|
|
163
163
|
readonly updatedAt: Schema.DateFromString;
|
|
164
164
|
}>;
|
|
165
|
-
}>>,
|
|
165
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSession", "GET", "/get-session", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
166
166
|
readonly disableCookieCache: Schema.optional<Schema.String>;
|
|
167
167
|
readonly disableRefresh: Schema.optional<Schema.String>;
|
|
168
|
-
}>>,
|
|
168
|
+
}>>, never, never, Schema.toCodecJson<Schema.NullOr<Schema.Struct<{
|
|
169
169
|
readonly session: Schema.Struct<{
|
|
170
170
|
readonly id: Schema.String;
|
|
171
171
|
readonly expiresAt: Schema.DateFromString;
|
|
@@ -194,7 +194,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
194
194
|
readonly createdAt: Schema.DateFromString;
|
|
195
195
|
readonly updatedAt: Schema.DateFromString;
|
|
196
196
|
}>;
|
|
197
|
-
}>>>,
|
|
197
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"linkSocial", "POST", "/link-social", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
198
198
|
readonly callbackURL: Schema.optional<Schema.String>;
|
|
199
199
|
readonly provider: Schema.String;
|
|
200
200
|
readonly idToken: Schema.optional<Schema.Struct<{
|
|
@@ -209,7 +209,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
209
209
|
readonly errorCallbackURL: Schema.optional<Schema.String>;
|
|
210
210
|
readonly disableRedirect: Schema.optional<Schema.Boolean>;
|
|
211
211
|
readonly additionalData: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
212
|
-
}>>,
|
|
212
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
213
213
|
readonly url: Schema.optional<Schema.String>;
|
|
214
214
|
readonly redirect: Schema.Boolean;
|
|
215
215
|
readonly token: Schema.optional<Schema.String>;
|
|
@@ -229,7 +229,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
229
229
|
readonly updatedAt: Schema.DateFromString;
|
|
230
230
|
}>>;
|
|
231
231
|
readonly status: Schema.optional<Schema.Boolean>;
|
|
232
|
-
}>>,
|
|
232
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listAccounts", "GET", "/list-accounts", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
233
233
|
readonly id: Schema.String;
|
|
234
234
|
readonly providerId: Schema.String;
|
|
235
235
|
readonly createdAt: Schema.DateFromString;
|
|
@@ -237,16 +237,16 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
237
237
|
readonly accountId: Schema.String;
|
|
238
238
|
readonly userId: Schema.String;
|
|
239
239
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
240
|
-
}>>>,
|
|
240
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthConsent", "POST", "/oauth2/consent", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
241
241
|
readonly accept: Schema.Boolean;
|
|
242
242
|
readonly scope: Schema.optional<Schema.String>;
|
|
243
243
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
244
|
-
}>>,
|
|
244
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
245
245
|
readonly redirect: Schema.Boolean;
|
|
246
246
|
readonly url: Schema.String;
|
|
247
|
-
}>>,
|
|
247
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthPublicClient", "GET", "/oauth2/public-client", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
248
248
|
readonly client_id: Schema.String;
|
|
249
|
-
}>>,
|
|
249
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
250
250
|
readonly client_id: Schema.String;
|
|
251
251
|
readonly client_name: Schema.optional<Schema.String>;
|
|
252
252
|
readonly client_uri: Schema.optional<Schema.String>;
|
|
@@ -255,9 +255,9 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
255
255
|
readonly tos_uri: Schema.optional<Schema.String>;
|
|
256
256
|
readonly policy_uri: Schema.optional<Schema.String>;
|
|
257
257
|
readonly redirect_uris: Schema.$Array<Schema.String>;
|
|
258
|
-
}>>,
|
|
258
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationAcceptInvitation", "POST", "/organization/accept-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
259
259
|
readonly invitationId: Schema.String;
|
|
260
|
-
}>>,
|
|
260
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
261
261
|
readonly invitation: Schema.NullOr<Schema.Struct<{
|
|
262
262
|
readonly id: Schema.String;
|
|
263
263
|
readonly email: Schema.String;
|
|
@@ -277,9 +277,9 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
277
277
|
readonly role: Schema.String;
|
|
278
278
|
readonly createdAt: Schema.DateFromString;
|
|
279
279
|
}>>;
|
|
280
|
-
}>>,
|
|
280
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationCancelInvitation", "POST", "/organization/cancel-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
281
281
|
readonly invitationId: Schema.String;
|
|
282
|
-
}>>,
|
|
282
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
283
283
|
readonly id: Schema.String;
|
|
284
284
|
readonly email: Schema.String;
|
|
285
285
|
readonly role: Schema.String;
|
|
@@ -290,14 +290,14 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
290
290
|
readonly status: Schema.String;
|
|
291
291
|
readonly expiresAt: Schema.DateFromString;
|
|
292
292
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
293
|
-
}>>,
|
|
293
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationCreate", "POST", "/organization/create", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
294
294
|
readonly name: Schema.NonEmptyString;
|
|
295
295
|
readonly slug: Schema.NonEmptyString;
|
|
296
296
|
readonly logo: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
297
297
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
298
298
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
299
299
|
readonly keepCurrentActiveOrganization: Schema.optional<Schema.Boolean>;
|
|
300
|
-
}>>,
|
|
300
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
301
301
|
readonly id: Schema.String;
|
|
302
302
|
readonly name: Schema.String;
|
|
303
303
|
readonly slug: Schema.String;
|
|
@@ -306,11 +306,11 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
306
306
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
307
307
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
308
308
|
readonly createdAt: Schema.DateFromString;
|
|
309
|
-
}>>,
|
|
309
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationGetFull", "GET", "/organization/get-full-organization", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
310
310
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
311
311
|
readonly organizationSlug: Schema.optional<Schema.String>;
|
|
312
312
|
readonly membersLimit: Schema.optional<Schema.NumberFromString>;
|
|
313
|
-
}>>,
|
|
313
|
+
}>>, never, never, Schema.toCodecJson<Schema.NullOr<Schema.Struct<{
|
|
314
314
|
readonly id: Schema.String;
|
|
315
315
|
readonly name: Schema.String;
|
|
316
316
|
readonly slug: Schema.String;
|
|
@@ -353,9 +353,9 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
353
353
|
readonly expiresAt: Schema.DateFromString;
|
|
354
354
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
355
355
|
}>>;
|
|
356
|
-
}>>>,
|
|
356
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationGetInvitation", "GET", "/organization/get-invitation", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
357
357
|
readonly id: Schema.String;
|
|
358
|
-
}>>,
|
|
358
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
359
359
|
readonly id: Schema.String;
|
|
360
360
|
readonly email: Schema.String;
|
|
361
361
|
readonly role: Schema.String;
|
|
@@ -368,12 +368,12 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
368
368
|
readonly organizationName: Schema.String;
|
|
369
369
|
readonly organizationSlug: Schema.String;
|
|
370
370
|
readonly inviterEmail: Schema.String;
|
|
371
|
-
}>>,
|
|
371
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationImpersonateUser", "POST", "/organization/impersonate-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
372
372
|
readonly organizationId: Schema.NonEmptyString;
|
|
373
373
|
readonly actorUserId: Schema.NonEmptyString;
|
|
374
374
|
readonly targetUserId: Schema.NonEmptyString;
|
|
375
375
|
readonly expiresInSeconds: Schema.optional<Schema.Number>;
|
|
376
|
-
}>>,
|
|
376
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
377
377
|
readonly session: Schema.Struct<{
|
|
378
378
|
readonly id: Schema.String;
|
|
379
379
|
readonly expiresAt: Schema.DateFromString;
|
|
@@ -402,13 +402,13 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
402
402
|
readonly createdAt: Schema.DateFromString;
|
|
403
403
|
readonly updatedAt: Schema.DateFromString;
|
|
404
404
|
}>;
|
|
405
|
-
}>>,
|
|
405
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationInviteMember", "POST", "/organization/invite-member", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
406
406
|
readonly email: Schema.String;
|
|
407
407
|
readonly role: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
408
408
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
409
409
|
readonly resend: Schema.optional<Schema.Boolean>;
|
|
410
410
|
readonly teamId: Schema.optional<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
411
|
-
}>>,
|
|
411
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
412
412
|
readonly id: Schema.String;
|
|
413
413
|
readonly email: Schema.String;
|
|
414
414
|
readonly role: Schema.String;
|
|
@@ -419,15 +419,15 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
419
419
|
readonly status: Schema.String;
|
|
420
420
|
readonly expiresAt: Schema.DateFromString;
|
|
421
421
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
422
|
-
}>>,
|
|
422
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationLeave", "POST", "/organization/leave", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
423
423
|
readonly organizationId: Schema.String;
|
|
424
|
-
}>>,
|
|
424
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
425
425
|
readonly id: Schema.String;
|
|
426
426
|
readonly organizationId: Schema.String;
|
|
427
427
|
readonly userId: Schema.String;
|
|
428
428
|
readonly role: Schema.String;
|
|
429
429
|
readonly createdAt: Schema.DateFromString;
|
|
430
|
-
}>>,
|
|
430
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationList", "GET", "/organization/list", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
431
431
|
readonly id: Schema.String;
|
|
432
432
|
readonly name: Schema.String;
|
|
433
433
|
readonly slug: Schema.String;
|
|
@@ -436,9 +436,9 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
436
436
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
437
437
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
438
438
|
readonly createdAt: Schema.DateFromString;
|
|
439
|
-
}>>>,
|
|
439
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListInvitations", "GET", "/organization/list-invitations", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
440
440
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
441
|
-
}>>,
|
|
441
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
442
442
|
readonly id: Schema.String;
|
|
443
443
|
readonly email: Schema.String;
|
|
444
444
|
readonly role: Schema.String;
|
|
@@ -449,7 +449,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
449
449
|
readonly status: Schema.String;
|
|
450
450
|
readonly expiresAt: Schema.DateFromString;
|
|
451
451
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
452
|
-
}>>>,
|
|
452
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListMembers", "GET", "/organization/list-members", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
453
453
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
454
454
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
455
455
|
readonly sortBy: Schema.optional<Schema.String>;
|
|
@@ -459,7 +459,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
459
459
|
readonly filterOperator: Schema.optional<Schema.String>;
|
|
460
460
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
461
461
|
readonly organizationSlug: Schema.optional<Schema.String>;
|
|
462
|
-
}>>,
|
|
462
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
463
463
|
readonly members: Schema.$Array<Schema.Struct<{
|
|
464
464
|
readonly id: Schema.String;
|
|
465
465
|
readonly organizationId: Schema.String;
|
|
@@ -483,7 +483,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
483
483
|
}>;
|
|
484
484
|
}>>;
|
|
485
485
|
readonly total: Schema.Number;
|
|
486
|
-
}>>,
|
|
486
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListUserInvitations", "GET", "/organization/list-user-invitations", never, Schema.toCodecStringTree<Schema.Struct<{}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
487
487
|
readonly id: Schema.String;
|
|
488
488
|
readonly email: Schema.String;
|
|
489
489
|
readonly role: Schema.String;
|
|
@@ -494,9 +494,9 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
494
494
|
readonly status: Schema.String;
|
|
495
495
|
readonly expiresAt: Schema.DateFromString;
|
|
496
496
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
497
|
-
}>>>,
|
|
497
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationRejectInvitation", "POST", "/organization/reject-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
498
498
|
readonly invitationId: Schema.String;
|
|
499
|
-
}>>,
|
|
499
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
500
500
|
readonly invitation: Schema.NullOr<Schema.Struct<{
|
|
501
501
|
readonly id: Schema.String;
|
|
502
502
|
readonly email: Schema.String;
|
|
@@ -516,10 +516,10 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
516
516
|
readonly role: Schema.String;
|
|
517
517
|
readonly createdAt: Schema.DateFromString;
|
|
518
518
|
}>>;
|
|
519
|
-
}>>,
|
|
519
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationRemoveMember", "POST", "/organization/remove-member", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
520
520
|
readonly memberIdOrEmail: Schema.String;
|
|
521
521
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
522
|
-
}>>,
|
|
522
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
523
523
|
readonly member: Schema.Struct<{
|
|
524
524
|
readonly id: Schema.String;
|
|
525
525
|
readonly organizationId: Schema.String;
|
|
@@ -527,10 +527,10 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
527
527
|
readonly role: Schema.String;
|
|
528
528
|
readonly createdAt: Schema.DateFromString;
|
|
529
529
|
}>;
|
|
530
|
-
}>>,
|
|
530
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationSetActive", "POST", "/organization/set-active", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
531
531
|
readonly organizationId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
532
532
|
readonly organizationSlug: Schema.optional<Schema.String>;
|
|
533
|
-
}>>,
|
|
533
|
+
}>>, never, Schema.toCodecJson<Schema.NullOr<Schema.Struct<{
|
|
534
534
|
readonly id: Schema.String;
|
|
535
535
|
readonly name: Schema.String;
|
|
536
536
|
readonly slug: Schema.String;
|
|
@@ -539,7 +539,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
539
539
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
540
540
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
541
541
|
readonly createdAt: Schema.DateFromString;
|
|
542
|
-
}>>>,
|
|
542
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationUpdate", "POST", "/organization/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
543
543
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
544
544
|
readonly data: Schema.Struct<{
|
|
545
545
|
readonly name: Schema.optional<Schema.NonEmptyString>;
|
|
@@ -548,7 +548,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
548
548
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
549
549
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
550
550
|
}>;
|
|
551
|
-
}>>,
|
|
551
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
552
552
|
readonly id: Schema.String;
|
|
553
553
|
readonly name: Schema.String;
|
|
554
554
|
readonly slug: Schema.String;
|
|
@@ -557,39 +557,39 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
557
557
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
558
558
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
559
559
|
readonly createdAt: Schema.DateFromString;
|
|
560
|
-
}>>,
|
|
560
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationUpdateMemberRole", "POST", "/organization/update-member-role", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
561
561
|
readonly role: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
562
562
|
readonly memberId: Schema.String;
|
|
563
563
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
564
|
-
}>>,
|
|
564
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
565
565
|
readonly id: Schema.String;
|
|
566
566
|
readonly organizationId: Schema.String;
|
|
567
567
|
readonly userId: Schema.String;
|
|
568
568
|
readonly role: Schema.String;
|
|
569
569
|
readonly createdAt: Schema.DateFromString;
|
|
570
|
-
}>>,
|
|
570
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"requestPasswordReset", "POST", "/request-password-reset", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
571
571
|
readonly email: Schema.String;
|
|
572
572
|
readonly redirectTo: Schema.optional<Schema.String>;
|
|
573
|
-
}>>,
|
|
573
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
574
574
|
readonly status: Schema.Boolean;
|
|
575
575
|
readonly message: Schema.String;
|
|
576
|
-
}>>,
|
|
576
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"resetPassword", "POST", "/reset-password", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
577
577
|
readonly newPassword: Schema.String;
|
|
578
578
|
readonly token: Schema.optional<Schema.String>;
|
|
579
|
-
}>>,
|
|
579
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
580
580
|
readonly status: Schema.Boolean;
|
|
581
|
-
}>>,
|
|
581
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"sendVerificationOtp", "POST", "/email-otp/send-verification-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
582
582
|
readonly email: Schema.String;
|
|
583
583
|
readonly type: Schema.Literals<readonly ["sign-in", "email-verification", "forget-password"]>;
|
|
584
|
-
}>>,
|
|
584
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
585
585
|
readonly success: Schema.Boolean;
|
|
586
|
-
}>>,
|
|
586
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInEmail", "POST", "/sign-in/email", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
587
587
|
readonly email: Schema.String;
|
|
588
588
|
readonly password: Schema.String;
|
|
589
589
|
readonly callbackURL: Schema.optional<Schema.String>;
|
|
590
590
|
readonly rememberMe: Schema.optional<Schema.Boolean>;
|
|
591
591
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
592
|
-
}>>,
|
|
592
|
+
}>>, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
|
|
593
593
|
readonly redirect: Schema.Boolean;
|
|
594
594
|
readonly token: Schema.String;
|
|
595
595
|
readonly url: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -612,12 +612,12 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
612
612
|
readonly twoFactorRedirect: Schema.Literal<true>;
|
|
613
613
|
readonly twoFactorMethods: Schema.$Array<Schema.String>;
|
|
614
614
|
readonly url: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
615
|
-
}>]>>,
|
|
615
|
+
}>]>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInEmailOtp", "POST", "/sign-in/email-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
616
616
|
readonly email: Schema.String;
|
|
617
617
|
readonly otp: Schema.String;
|
|
618
618
|
readonly name: Schema.optional<Schema.String>;
|
|
619
619
|
readonly image: Schema.optional<Schema.String>;
|
|
620
|
-
}>>,
|
|
620
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
621
621
|
readonly token: Schema.optional<Schema.String>;
|
|
622
622
|
readonly user: Schema.Struct<{
|
|
623
623
|
readonly id: Schema.String;
|
|
@@ -634,7 +634,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
634
634
|
readonly createdAt: Schema.DateFromString;
|
|
635
635
|
readonly updatedAt: Schema.DateFromString;
|
|
636
636
|
}>;
|
|
637
|
-
}>>,
|
|
637
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInSocial", "POST", "/sign-in/social", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
638
638
|
readonly callbackURL: Schema.optional<Schema.String>;
|
|
639
639
|
readonly newUserCallbackURL: Schema.optional<Schema.String>;
|
|
640
640
|
readonly errorCallbackURL: Schema.optional<Schema.String>;
|
|
@@ -659,7 +659,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
659
659
|
readonly loginHint: Schema.optional<Schema.String>;
|
|
660
660
|
readonly additionalData: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
661
661
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
662
|
-
}>>,
|
|
662
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
663
663
|
readonly url: Schema.optional<Schema.String>;
|
|
664
664
|
readonly redirect: Schema.Boolean;
|
|
665
665
|
readonly token: Schema.optional<Schema.String>;
|
|
@@ -679,28 +679,28 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
679
679
|
readonly updatedAt: Schema.DateFromString;
|
|
680
680
|
}>>;
|
|
681
681
|
readonly status: Schema.optional<Schema.Boolean>;
|
|
682
|
-
}>>,
|
|
682
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signOut", "POST", "/sign-out", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
683
683
|
readonly success: Schema.Boolean;
|
|
684
|
-
}>>,
|
|
684
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorDisable", "POST", "/two-factor/disable", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
685
685
|
readonly password: Schema.optional<Schema.String>;
|
|
686
|
-
}>>,
|
|
686
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
687
687
|
readonly status: Schema.Boolean;
|
|
688
|
-
}>>,
|
|
688
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorEnable", "POST", "/two-factor/enable", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
689
689
|
readonly password: Schema.optional<Schema.String>;
|
|
690
690
|
readonly issuer: Schema.optional<Schema.String>;
|
|
691
|
-
}>>,
|
|
691
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
692
692
|
readonly totpURI: Schema.String;
|
|
693
693
|
readonly backupCodes: Schema.$Array<Schema.String>;
|
|
694
|
-
}>>,
|
|
694
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorSendOtp", "POST", "/two-factor/send-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
695
695
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
696
|
-
}>>,
|
|
696
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
697
697
|
readonly status: Schema.Boolean;
|
|
698
|
-
}>>,
|
|
698
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyBackupCode", "POST", "/two-factor/verify-backup-code", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
699
699
|
readonly code: Schema.String;
|
|
700
700
|
readonly disableSession: Schema.optional<Schema.Boolean>;
|
|
701
701
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
702
702
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
703
|
-
}>>,
|
|
703
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
704
704
|
readonly token: Schema.optional<Schema.String>;
|
|
705
705
|
readonly user: Schema.Struct<{
|
|
706
706
|
readonly id: Schema.String;
|
|
@@ -717,11 +717,11 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
717
717
|
readonly createdAt: Schema.DateFromString;
|
|
718
718
|
readonly updatedAt: Schema.DateFromString;
|
|
719
719
|
}>;
|
|
720
|
-
}>>,
|
|
720
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyOtp", "POST", "/two-factor/verify-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
721
721
|
readonly code: Schema.String;
|
|
722
722
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
723
723
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
724
|
-
}>>,
|
|
724
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
725
725
|
readonly token: Schema.optional<Schema.String>;
|
|
726
726
|
readonly user: Schema.Struct<{
|
|
727
727
|
readonly id: Schema.String;
|
|
@@ -738,11 +738,11 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
738
738
|
readonly createdAt: Schema.DateFromString;
|
|
739
739
|
readonly updatedAt: Schema.DateFromString;
|
|
740
740
|
}>;
|
|
741
|
-
}>>,
|
|
741
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyTotp", "POST", "/two-factor/verify-totp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
742
742
|
readonly code: Schema.String;
|
|
743
743
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
744
744
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
745
|
-
}>>,
|
|
745
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
746
746
|
readonly token: Schema.optional<Schema.String>;
|
|
747
747
|
readonly user: Schema.Struct<{
|
|
748
748
|
readonly id: Schema.String;
|
|
@@ -759,20 +759,20 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
759
759
|
readonly createdAt: Schema.DateFromString;
|
|
760
760
|
readonly updatedAt: Schema.DateFromString;
|
|
761
761
|
}>;
|
|
762
|
-
}>>,
|
|
762
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"unlinkAccount", "POST", "/unlink-account", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
763
763
|
readonly providerId: Schema.String;
|
|
764
764
|
readonly accountId: Schema.optional<Schema.String>;
|
|
765
|
-
}>>,
|
|
765
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
766
766
|
readonly status: Schema.Boolean;
|
|
767
|
-
}>>,
|
|
767
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateUser", "POST", "/update-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
768
768
|
readonly name: Schema.optional<Schema.String>;
|
|
769
769
|
readonly image: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
770
|
-
}>>,
|
|
770
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
771
771
|
readonly status: Schema.Boolean;
|
|
772
|
-
}>>,
|
|
772
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"verifyEmailOtp", "POST", "/email-otp/verify-email", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
773
773
|
readonly email: Schema.String;
|
|
774
774
|
readonly otp: Schema.String;
|
|
775
|
-
}>>,
|
|
775
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
776
776
|
readonly status: Schema.Literal<true>;
|
|
777
777
|
readonly token: Schema.NullOr<Schema.String>;
|
|
778
778
|
readonly user: Schema.Struct<{
|
|
@@ -790,4 +790,4 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
790
790
|
readonly createdAt: Schema.DateFromString;
|
|
791
791
|
readonly updatedAt: Schema.DateFromString;
|
|
792
792
|
}>;
|
|
793
|
-
}>>,
|
|
793
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never>, false>;
|