@krak-stack/auth 0.2.11 → 0.2.13
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/admin/api.group.d.ts +4 -0
- package/dist/admin/schema.d.ts +3 -0
- package/dist/admin/schema.js +4 -1
- package/dist/api.d.ts +922 -908
- package/dist/auth/api.group.d.ts +46 -46
- package/dist/auth/api.group.js +2 -1
- package/dist/auth/schema.d.ts +1 -0
- package/dist/auth/schema.js +4 -0
- package/dist/components/admin-organizations.d.ts +111 -1
- package/dist/components/admin-organizations.js +184 -35
- package/dist/components/admin-users.js +56 -80
- package/dist/components/associated-projects-notice.d.ts +6 -0
- package/dist/components/associated-projects-notice.js +24 -0
- package/dist/components/auth-atoms.d.ts +3 -3
- package/dist/components/auth-client-api.d.ts +56 -46
- package/dist/components/auth-forms.d.ts +1 -1
- package/dist/components/auth-forms.js +115 -33
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +1 -1
- package/dist/components/organization-switcher.d.ts +4 -0
- package/dist/components/organization-switcher.js +50 -44
- package/dist/components/scrollable-dialog.d.ts +13 -0
- package/dist/components/scrollable-dialog.js +12 -0
- package/dist/components/user-button.d.ts +4 -0
- package/dist/components/user-button.js +76 -70
- package/dist/extra/api.group.d.ts +6 -1
- package/dist/extra/api.group.js +14 -1
- package/dist/extra/schema.d.ts +12 -0
- package/dist/extra/schema.js +18 -0
- package/dist/server/actor.d.ts +2 -1
- package/dist/service.d.ts +104 -92
- package/package.json +3 -3
package/dist/auth/api.group.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
|
|
3
|
-
import { AuthBadRequest } from "./schema.js";
|
|
3
|
+
import { AuthBadRequest, AuthConflict, AuthExpectationFailed, AuthForbidden, AuthInternalServerError, AuthNotFound, AuthTooManyRequests, AuthUnauthorized } from "./schema.js";
|
|
4
4
|
export * from "./schema.js";
|
|
5
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;
|
|
@@ -54,7 +54,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
54
54
|
readonly createdAt: Schema.DateFromString;
|
|
55
55
|
readonly updatedAt: Schema.DateFromString;
|
|
56
56
|
}>;
|
|
57
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminImpersonateUser", "POST", "/admin/impersonate-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
57
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminImpersonateUser", "POST", "/admin/impersonate-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
58
58
|
readonly userId: Schema.String;
|
|
59
59
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
60
60
|
readonly session: Schema.Struct<{
|
|
@@ -117,7 +117,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
117
117
|
readonly createdAt: Schema.DateFromString;
|
|
118
118
|
readonly updatedAt: Schema.DateFromString;
|
|
119
119
|
}>;
|
|
120
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminStopImpersonating", "POST", "/admin/stop-impersonating", never, never,
|
|
120
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminStopImpersonating", "POST", "/admin/stop-impersonating", never, never, Schema.toCodecJson<Schema.Struct<{}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
121
121
|
readonly session: Schema.Struct<{
|
|
122
122
|
readonly id: Schema.String;
|
|
123
123
|
readonly expiresAt: Schema.DateFromString;
|
|
@@ -178,7 +178,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
178
178
|
readonly createdAt: Schema.DateFromString;
|
|
179
179
|
readonly updatedAt: Schema.DateFromString;
|
|
180
180
|
}>;
|
|
181
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminUnbanUser", "POST", "/admin/unban-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
181
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"adminUnbanUser", "POST", "/admin/unban-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
182
182
|
readonly userId: Schema.String;
|
|
183
183
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
184
184
|
readonly user: Schema.Struct<{
|
|
@@ -228,12 +228,12 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
228
228
|
readonly createdAt: Schema.DateFromString;
|
|
229
229
|
readonly updatedAt: Schema.DateFromString;
|
|
230
230
|
}>;
|
|
231
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeyDelete", "POST", "/api-key/delete", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
231
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeyDelete", "POST", "/api-key/delete", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
232
232
|
readonly configId: Schema.optional<Schema.String>;
|
|
233
233
|
readonly keyId: Schema.String;
|
|
234
234
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
235
235
|
readonly success: Schema.Boolean;
|
|
236
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeyList", "GET", "/api-key/list", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
236
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"apiKeyList", "GET", "/api-key/list", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
237
237
|
readonly configId: Schema.optional<Schema.String>;
|
|
238
238
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
239
239
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
@@ -269,7 +269,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
269
269
|
readonly total: Schema.Number;
|
|
270
270
|
readonly limit: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
271
271
|
readonly offset: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
272
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"changePassword", "POST", "/change-password", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
272
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"changePassword", "POST", "/change-password", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
273
273
|
readonly newPassword: Schema.String;
|
|
274
274
|
readonly currentPassword: Schema.String;
|
|
275
275
|
readonly revokeOtherSessions: Schema.optional<Schema.Boolean>;
|
|
@@ -322,7 +322,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
322
322
|
readonly createdAt: Schema.DateFromString;
|
|
323
323
|
readonly updatedAt: Schema.DateFromString;
|
|
324
324
|
}>;
|
|
325
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSession", "GET", "/get-session", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
325
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSession", "GET", "/get-session", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
326
326
|
readonly disableCookieCache: Schema.optional<Schema.String>;
|
|
327
327
|
readonly disableRefresh: Schema.optional<Schema.String>;
|
|
328
328
|
}>>, never, never, Schema.toCodecJson<Schema.NullOr<Schema.Struct<{
|
|
@@ -386,7 +386,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
386
386
|
readonly createdAt: Schema.DateFromString;
|
|
387
387
|
readonly updatedAt: Schema.DateFromString;
|
|
388
388
|
}>;
|
|
389
|
-
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"linkSocial", "POST", "/link-social", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
389
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"linkSocial", "POST", "/link-social", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
390
390
|
readonly callbackURL: Schema.optional<Schema.String>;
|
|
391
391
|
readonly provider: Schema.String;
|
|
392
392
|
readonly idToken: Schema.optional<Schema.Struct<{
|
|
@@ -453,7 +453,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
453
453
|
readonly updatedAt: Schema.DateFromString;
|
|
454
454
|
}>>;
|
|
455
455
|
readonly status: Schema.optional<Schema.Boolean>;
|
|
456
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listAccounts", "GET", "/list-accounts", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
456
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listAccounts", "GET", "/list-accounts", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
457
457
|
readonly id: Schema.String;
|
|
458
458
|
readonly providerId: Schema.String;
|
|
459
459
|
readonly createdAt: Schema.DateFromString;
|
|
@@ -461,14 +461,14 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
461
461
|
readonly accountId: Schema.String;
|
|
462
462
|
readonly userId: Schema.String;
|
|
463
463
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
464
|
-
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthConsent", "POST", "/oauth2/consent", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
464
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthConsent", "POST", "/oauth2/consent", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
465
465
|
readonly accept: Schema.Boolean;
|
|
466
466
|
readonly scope: Schema.optional<Schema.String>;
|
|
467
467
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
468
468
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
469
469
|
readonly redirect: Schema.Boolean;
|
|
470
470
|
readonly url: Schema.String;
|
|
471
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthPublicClient", "GET", "/oauth2/public-client", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
471
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"oauthPublicClient", "GET", "/oauth2/public-client", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
472
472
|
readonly client_id: Schema.String;
|
|
473
473
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
474
474
|
readonly client_id: Schema.String;
|
|
@@ -479,7 +479,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
479
479
|
readonly tos_uri: Schema.optional<Schema.String>;
|
|
480
480
|
readonly policy_uri: Schema.optional<Schema.String>;
|
|
481
481
|
readonly redirect_uris: Schema.$Array<Schema.String>;
|
|
482
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationAcceptInvitation", "POST", "/organization/accept-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
482
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationAcceptInvitation", "POST", "/organization/accept-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
483
483
|
readonly invitationId: Schema.String;
|
|
484
484
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
485
485
|
readonly invitation: Schema.NullOr<Schema.Struct<{
|
|
@@ -501,7 +501,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
501
501
|
readonly role: Schema.String;
|
|
502
502
|
readonly createdAt: Schema.DateFromString;
|
|
503
503
|
}>>;
|
|
504
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationCancelInvitation", "POST", "/organization/cancel-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
504
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationCancelInvitation", "POST", "/organization/cancel-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
505
505
|
readonly invitationId: Schema.String;
|
|
506
506
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
507
507
|
readonly id: Schema.String;
|
|
@@ -514,7 +514,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
514
514
|
readonly status: Schema.String;
|
|
515
515
|
readonly expiresAt: Schema.DateFromString;
|
|
516
516
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
517
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationCreate", "POST", "/organization/create", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
517
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationCreate", "POST", "/organization/create", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
518
518
|
readonly name: Schema.NonEmptyString;
|
|
519
519
|
readonly slug: Schema.NonEmptyString;
|
|
520
520
|
readonly logo: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -530,7 +530,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
530
530
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
531
531
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
532
532
|
readonly createdAt: Schema.DateFromString;
|
|
533
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationGetFull", "GET", "/organization/get-full-organization", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
533
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationGetFull", "GET", "/organization/get-full-organization", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
534
534
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
535
535
|
readonly organizationSlug: Schema.optional<Schema.String>;
|
|
536
536
|
readonly membersLimit: Schema.optional<Schema.NumberFromString>;
|
|
@@ -600,7 +600,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
600
600
|
readonly expiresAt: Schema.DateFromString;
|
|
601
601
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
602
602
|
}>>;
|
|
603
|
-
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationGetInvitation", "GET", "/organization/get-invitation", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
603
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationGetInvitation", "GET", "/organization/get-invitation", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
604
604
|
readonly id: Schema.String;
|
|
605
605
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
606
606
|
readonly id: Schema.String;
|
|
@@ -615,7 +615,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
615
615
|
readonly organizationName: Schema.String;
|
|
616
616
|
readonly organizationSlug: Schema.String;
|
|
617
617
|
readonly inviterEmail: Schema.String;
|
|
618
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationImpersonateUser", "POST", "/organization/impersonate-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
618
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationImpersonateUser", "POST", "/organization/impersonate-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
619
619
|
readonly organizationId: Schema.NonEmptyString;
|
|
620
620
|
readonly actorUserId: Schema.NonEmptyString;
|
|
621
621
|
readonly targetUserId: Schema.NonEmptyString;
|
|
@@ -681,7 +681,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
681
681
|
readonly createdAt: Schema.DateFromString;
|
|
682
682
|
readonly updatedAt: Schema.DateFromString;
|
|
683
683
|
}>;
|
|
684
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationInviteMember", "POST", "/organization/invite-member", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
684
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationInviteMember", "POST", "/organization/invite-member", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
685
685
|
readonly email: Schema.String;
|
|
686
686
|
readonly role: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
687
687
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
@@ -698,7 +698,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
698
698
|
readonly status: Schema.String;
|
|
699
699
|
readonly expiresAt: Schema.DateFromString;
|
|
700
700
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
701
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationLeave", "POST", "/organization/leave", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
701
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationLeave", "POST", "/organization/leave", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
702
702
|
readonly organizationId: Schema.String;
|
|
703
703
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
704
704
|
readonly id: Schema.String;
|
|
@@ -706,7 +706,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
706
706
|
readonly userId: Schema.String;
|
|
707
707
|
readonly role: Schema.String;
|
|
708
708
|
readonly createdAt: Schema.DateFromString;
|
|
709
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationList", "GET", "/organization/list", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
709
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationList", "GET", "/organization/list", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
710
710
|
readonly id: Schema.String;
|
|
711
711
|
readonly name: Schema.String;
|
|
712
712
|
readonly slug: Schema.String;
|
|
@@ -715,7 +715,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
715
715
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
716
716
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
717
717
|
readonly createdAt: Schema.DateFromString;
|
|
718
|
-
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListInvitations", "GET", "/organization/list-invitations", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
718
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListInvitations", "GET", "/organization/list-invitations", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
719
719
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
720
720
|
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
721
721
|
readonly id: Schema.String;
|
|
@@ -728,7 +728,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
728
728
|
readonly status: Schema.String;
|
|
729
729
|
readonly expiresAt: Schema.DateFromString;
|
|
730
730
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
731
|
-
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListMembers", "GET", "/organization/list-members", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
731
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListMembers", "GET", "/organization/list-members", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
732
732
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
733
733
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
734
734
|
readonly sortBy: Schema.optional<Schema.String>;
|
|
@@ -785,7 +785,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
785
785
|
}>;
|
|
786
786
|
}>>;
|
|
787
787
|
readonly total: Schema.Number;
|
|
788
|
-
}>>, 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<{
|
|
788
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationListUserInvitations", "GET", "/organization/list-user-invitations", never, Schema.toCodecStringTree<Schema.Struct<{}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
789
789
|
readonly id: Schema.String;
|
|
790
790
|
readonly email: Schema.String;
|
|
791
791
|
readonly role: Schema.String;
|
|
@@ -796,7 +796,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
796
796
|
readonly status: Schema.String;
|
|
797
797
|
readonly expiresAt: Schema.DateFromString;
|
|
798
798
|
readonly createdAt: Schema.optional<Schema.DateFromString>;
|
|
799
|
-
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationRejectInvitation", "POST", "/organization/reject-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
799
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationRejectInvitation", "POST", "/organization/reject-invitation", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
800
800
|
readonly invitationId: Schema.String;
|
|
801
801
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
802
802
|
readonly invitation: Schema.NullOr<Schema.Struct<{
|
|
@@ -818,7 +818,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
818
818
|
readonly role: Schema.String;
|
|
819
819
|
readonly createdAt: Schema.DateFromString;
|
|
820
820
|
}>>;
|
|
821
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationRemoveMember", "POST", "/organization/remove-member", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
821
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationRemoveMember", "POST", "/organization/remove-member", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
822
822
|
readonly memberIdOrEmail: Schema.String;
|
|
823
823
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
824
824
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -829,7 +829,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
829
829
|
readonly role: Schema.String;
|
|
830
830
|
readonly createdAt: Schema.DateFromString;
|
|
831
831
|
}>;
|
|
832
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationSetActive", "POST", "/organization/set-active", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
832
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationSetActive", "POST", "/organization/set-active", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
833
833
|
readonly organizationId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
834
834
|
readonly organizationSlug: Schema.optional<Schema.String>;
|
|
835
835
|
}>>, never, Schema.toCodecJson<Schema.NullOr<Schema.Struct<{
|
|
@@ -841,7 +841,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
841
841
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
842
842
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
843
843
|
readonly createdAt: Schema.DateFromString;
|
|
844
|
-
}>>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationUpdate", "POST", "/organization/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
844
|
+
}>>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationUpdate", "POST", "/organization/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
845
845
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
846
846
|
readonly data: Schema.Struct<{
|
|
847
847
|
readonly name: Schema.optional<Schema.NonEmptyString>;
|
|
@@ -859,7 +859,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
859
859
|
readonly userId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
860
860
|
readonly parentId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
861
861
|
readonly createdAt: Schema.DateFromString;
|
|
862
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationUpdateMemberRole", "POST", "/organization/update-member-role", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
862
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationUpdateMemberRole", "POST", "/organization/update-member-role", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
863
863
|
readonly role: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
864
864
|
readonly memberId: Schema.String;
|
|
865
865
|
readonly organizationId: Schema.optional<Schema.String>;
|
|
@@ -869,23 +869,23 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
869
869
|
readonly userId: Schema.String;
|
|
870
870
|
readonly role: Schema.String;
|
|
871
871
|
readonly createdAt: Schema.DateFromString;
|
|
872
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"requestPasswordReset", "POST", "/request-password-reset", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
872
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"requestPasswordReset", "POST", "/request-password-reset", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
873
873
|
readonly email: Schema.String;
|
|
874
874
|
readonly redirectTo: Schema.optional<Schema.String>;
|
|
875
875
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
876
876
|
readonly status: Schema.Boolean;
|
|
877
877
|
readonly message: Schema.String;
|
|
878
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"resetPassword", "POST", "/reset-password", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
878
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"resetPassword", "POST", "/reset-password", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
879
879
|
readonly newPassword: Schema.String;
|
|
880
880
|
readonly token: Schema.optional<Schema.String>;
|
|
881
881
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
882
882
|
readonly status: Schema.Boolean;
|
|
883
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"sendVerificationOtp", "POST", "/email-otp/send-verification-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
883
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"sendVerificationOtp", "POST", "/email-otp/send-verification-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
884
884
|
readonly email: Schema.String;
|
|
885
885
|
readonly type: Schema.Literals<readonly ["sign-in", "email-verification", "forget-password"]>;
|
|
886
886
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
887
887
|
readonly success: Schema.Boolean;
|
|
888
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInEmail", "POST", "/sign-in/email", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
888
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInEmail", "POST", "/sign-in/email", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
889
889
|
readonly email: Schema.String;
|
|
890
890
|
readonly password: Schema.String;
|
|
891
891
|
readonly callbackURL: Schema.optional<Schema.String>;
|
|
@@ -946,7 +946,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
946
946
|
readonly twoFactorRedirect: Schema.Literal<true>;
|
|
947
947
|
readonly twoFactorMethods: Schema.$Array<Schema.String>;
|
|
948
948
|
readonly url: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
949
|
-
}>]>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInEmailOtp", "POST", "/sign-in/email-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
949
|
+
}>]>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInEmailOtp", "POST", "/sign-in/email-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
950
950
|
readonly email: Schema.String;
|
|
951
951
|
readonly otp: Schema.String;
|
|
952
952
|
readonly name: Schema.optional<Schema.String>;
|
|
@@ -1000,7 +1000,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
1000
1000
|
readonly createdAt: Schema.DateFromString;
|
|
1001
1001
|
readonly updatedAt: Schema.DateFromString;
|
|
1002
1002
|
}>;
|
|
1003
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInSocial", "POST", "/sign-in/social", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1003
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signInSocial", "POST", "/sign-in/social", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1004
1004
|
readonly callbackURL: Schema.optional<Schema.String>;
|
|
1005
1005
|
readonly newUserCallbackURL: Schema.optional<Schema.String>;
|
|
1006
1006
|
readonly errorCallbackURL: Schema.optional<Schema.String>;
|
|
@@ -1077,23 +1077,23 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
1077
1077
|
readonly updatedAt: Schema.DateFromString;
|
|
1078
1078
|
}>>;
|
|
1079
1079
|
readonly status: Schema.optional<Schema.Boolean>;
|
|
1080
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signOut", "POST", "/sign-out", never, never, Schema.toCodecJson<Schema.Struct<{}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1080
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"signOut", "POST", "/sign-out", never, never, Schema.toCodecJson<Schema.Struct<{}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1081
1081
|
readonly success: Schema.Boolean;
|
|
1082
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorDisable", "POST", "/two-factor/disable", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1082
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorDisable", "POST", "/two-factor/disable", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1083
1083
|
readonly password: Schema.optional<Schema.String>;
|
|
1084
1084
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1085
1085
|
readonly status: Schema.Boolean;
|
|
1086
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorEnable", "POST", "/two-factor/enable", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1086
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorEnable", "POST", "/two-factor/enable", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1087
1087
|
readonly password: Schema.optional<Schema.String>;
|
|
1088
1088
|
readonly issuer: Schema.optional<Schema.String>;
|
|
1089
1089
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1090
1090
|
readonly totpURI: Schema.String;
|
|
1091
1091
|
readonly backupCodes: Schema.$Array<Schema.String>;
|
|
1092
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorSendOtp", "POST", "/two-factor/send-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1092
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorSendOtp", "POST", "/two-factor/send-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1093
1093
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
1094
1094
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1095
1095
|
readonly status: Schema.Boolean;
|
|
1096
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyBackupCode", "POST", "/two-factor/verify-backup-code", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1096
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyBackupCode", "POST", "/two-factor/verify-backup-code", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1097
1097
|
readonly code: Schema.String;
|
|
1098
1098
|
readonly disableSession: Schema.optional<Schema.Boolean>;
|
|
1099
1099
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
@@ -1147,7 +1147,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
1147
1147
|
readonly createdAt: Schema.DateFromString;
|
|
1148
1148
|
readonly updatedAt: Schema.DateFromString;
|
|
1149
1149
|
}>;
|
|
1150
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyOtp", "POST", "/two-factor/verify-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1150
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyOtp", "POST", "/two-factor/verify-otp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1151
1151
|
readonly code: Schema.String;
|
|
1152
1152
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
1153
1153
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
@@ -1200,7 +1200,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
1200
1200
|
readonly createdAt: Schema.DateFromString;
|
|
1201
1201
|
readonly updatedAt: Schema.DateFromString;
|
|
1202
1202
|
}>;
|
|
1203
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyTotp", "POST", "/two-factor/verify-totp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1203
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"twoFactorVerifyTotp", "POST", "/two-factor/verify-totp", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1204
1204
|
readonly code: Schema.String;
|
|
1205
1205
|
readonly trustDevice: Schema.optional<Schema.Boolean>;
|
|
1206
1206
|
readonly oauth_query: Schema.optional<Schema.String>;
|
|
@@ -1253,12 +1253,12 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
1253
1253
|
readonly createdAt: Schema.DateFromString;
|
|
1254
1254
|
readonly updatedAt: Schema.DateFromString;
|
|
1255
1255
|
}>;
|
|
1256
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"unlinkAccount", "POST", "/unlink-account", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1256
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"unlinkAccount", "POST", "/unlink-account", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1257
1257
|
readonly providerId: Schema.String;
|
|
1258
1258
|
readonly accountId: Schema.optional<Schema.String>;
|
|
1259
1259
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1260
1260
|
readonly status: Schema.Boolean;
|
|
1261
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateUser", "POST", "/update-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1261
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateUser", "POST", "/update-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1262
1262
|
readonly name: Schema.optional<Schema.String>;
|
|
1263
1263
|
readonly image: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1264
1264
|
readonly metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
@@ -1295,7 +1295,7 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
1295
1295
|
}>>>;
|
|
1296
1296
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1297
1297
|
readonly status: Schema.Boolean;
|
|
1298
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"verifyEmailOtp", "POST", "/email-otp/verify-email", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1298
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"verifyEmailOtp", "POST", "/email-otp/verify-email", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1299
1299
|
readonly email: Schema.String;
|
|
1300
1300
|
readonly otp: Schema.String;
|
|
1301
1301
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -1348,4 +1348,4 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
1348
1348
|
readonly createdAt: Schema.DateFromString;
|
|
1349
1349
|
readonly updatedAt: Schema.DateFromString;
|
|
1350
1350
|
}>;
|
|
1351
|
-
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never>, false>;
|
|
1351
|
+
}>>, Schema.toCodecJson<typeof AuthBadRequest | typeof AuthUnauthorized | typeof AuthForbidden | typeof AuthNotFound | typeof AuthConflict | typeof AuthExpectationFailed | typeof AuthTooManyRequests | typeof AuthInternalServerError>, never, never>, false>;
|
package/dist/auth/api.group.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, OpenApi, } from "effect/unstable/httpapi";
|
|
3
|
-
import { AdminBanUserPayload, AdminUserIdPayload, AdminUserResponse, AuthBadRequest, AuthConflict, AuthExpectationFailed, AuthForbidden, AuthInternalServerError, AuthInvitation, AuthNotFound, AuthOrganization, AuthSessionResponse, AuthStatusResponse, AuthSuccessResponse, AuthTooManyRequests, AuthUnauthorized, ChangePasswordPayload, ChangePasswordResponse, CreateOrganizationPayload, DeleteApiKeyPayload, FullAuthOrganization, GetFullOrganizationQuery, GetInvitationQuery, GetInvitationResponse, GetSessionQuery, GetSessionResponse, InvitationActionResponse, InvitationIdPayload, InviteMemberPayload, LeaveOrganizationPayload, LinkedAccount, LinkSocialPayload, ListApiKeysQuery, ListApiKeysResponse, MemberResponse, OAuthConsentPayload, OAuthPublicClient, OAuthPublicClientQuery, OAuthRedirectResponse, OrganizationImpersonateUserPayload, OrganizationImpersonateUserResponse, OrganizationInvitationsQuery, OrganizationListMembersQuery, OrganizationListMembersResponse, RemoveMemberPayload, RequestPasswordResetPayload, RequestPasswordResetResponse, ResetPasswordPayload, SendVerificationOtpPayload, SetActiveOrganizationPayload, SignInEmailOtpPayload, SignInEmailPayload, SignInEmailResponse, SignInResponse, SignInSocialPayload, SignOutPayload, SocialRedirectResponse, TwoFactorBackupVerifyPayload, TwoFactorDisablePayload, TwoFactorEnablePayload, TwoFactorEnableResponse, TwoFactorSendPayload, TwoFactorVerifyPayload, UnlinkAccountPayload, UpdateMemberRolePayload, UpdateOrganizationPayload, UpdateUserPayload, UserInvitationsQuery, VerifyEmailOtpPayload, VerifyEmailOtpResponse, } from "./schema.js";
|
|
3
|
+
import { AdminBanUserPayload, AdminStopImpersonatingPayload, AdminUserIdPayload, AdminUserResponse, AuthBadRequest, AuthConflict, AuthExpectationFailed, AuthForbidden, AuthInternalServerError, AuthInvitation, AuthNotFound, AuthOrganization, AuthSessionResponse, AuthStatusResponse, AuthSuccessResponse, AuthTooManyRequests, AuthUnauthorized, ChangePasswordPayload, ChangePasswordResponse, CreateOrganizationPayload, DeleteApiKeyPayload, FullAuthOrganization, GetFullOrganizationQuery, GetInvitationQuery, GetInvitationResponse, GetSessionQuery, GetSessionResponse, InvitationActionResponse, InvitationIdPayload, InviteMemberPayload, LeaveOrganizationPayload, LinkedAccount, LinkSocialPayload, ListApiKeysQuery, ListApiKeysResponse, MemberResponse, OAuthConsentPayload, OAuthPublicClient, OAuthPublicClientQuery, OAuthRedirectResponse, OrganizationImpersonateUserPayload, OrganizationImpersonateUserResponse, OrganizationInvitationsQuery, OrganizationListMembersQuery, OrganizationListMembersResponse, RemoveMemberPayload, RequestPasswordResetPayload, RequestPasswordResetResponse, ResetPasswordPayload, SendVerificationOtpPayload, SetActiveOrganizationPayload, SignInEmailOtpPayload, SignInEmailPayload, SignInEmailResponse, SignInResponse, SignInSocialPayload, SignOutPayload, SocialRedirectResponse, TwoFactorBackupVerifyPayload, TwoFactorDisablePayload, TwoFactorEnablePayload, TwoFactorEnableResponse, TwoFactorSendPayload, TwoFactorVerifyPayload, UnlinkAccountPayload, UpdateMemberRolePayload, UpdateOrganizationPayload, UpdateUserPayload, UserInvitationsQuery, VerifyEmailOtpPayload, VerifyEmailOtpResponse, } from "./schema.js";
|
|
4
4
|
export * from "./schema.js";
|
|
5
5
|
const errors = [
|
|
6
6
|
AuthBadRequest,
|
|
@@ -218,6 +218,7 @@ export const AuthApiGroup = HttpApiGroup.make("auth")
|
|
|
218
218
|
error: errors,
|
|
219
219
|
}).annotateMerge(docs("Impersonate user", "Starts a user impersonation session.")))
|
|
220
220
|
.add(HttpApiEndpoint.post("adminStopImpersonating", "/admin/stop-impersonating", {
|
|
221
|
+
payload: AdminStopImpersonatingPayload,
|
|
221
222
|
success: AuthSessionResponse,
|
|
222
223
|
error: errors,
|
|
223
224
|
}).annotateMerge(docs("Stop impersonating", "Restores the administrator session.")))
|
package/dist/auth/schema.d.ts
CHANGED
|
@@ -1176,6 +1176,7 @@ export declare const DeleteApiKeyPayload: Schema.Struct<{
|
|
|
1176
1176
|
export declare const AdminUserIdPayload: Schema.Struct<{
|
|
1177
1177
|
readonly userId: Schema.String;
|
|
1178
1178
|
}>;
|
|
1179
|
+
export declare const AdminStopImpersonatingPayload: Schema.Struct<{}>;
|
|
1179
1180
|
export declare const AdminBanUserPayload: Schema.Struct<{
|
|
1180
1181
|
readonly userId: Schema.String;
|
|
1181
1182
|
readonly banReason: Schema.optional<Schema.String>;
|
package/dist/auth/schema.js
CHANGED
|
@@ -602,6 +602,10 @@ export const AdminUserIdPayload = Schema.Struct({
|
|
|
602
602
|
identifier: "AdminUserIdPayload",
|
|
603
603
|
title: "Admin user ID payload",
|
|
604
604
|
});
|
|
605
|
+
export const AdminStopImpersonatingPayload = Schema.Struct({}).annotate({
|
|
606
|
+
identifier: "AdminStopImpersonatingPayload",
|
|
607
|
+
title: "Stop impersonating payload",
|
|
608
|
+
});
|
|
605
609
|
export const AdminBanUserPayload = Schema.Struct({
|
|
606
610
|
userId: Schema.String,
|
|
607
611
|
banReason: Schema.optional(Schema.String),
|
|
@@ -1,6 +1,116 @@
|
|
|
1
1
|
import { type QueryType } from "@krak-stack/registry/query";
|
|
2
|
-
|
|
2
|
+
import { type KrakstackAuthLocale } from "./auth-provider.js";
|
|
3
|
+
declare const defaultMessages: {
|
|
4
|
+
readonly en: {
|
|
5
|
+
readonly admin_column_created: "Created";
|
|
6
|
+
readonly admin_column_id: "ID";
|
|
7
|
+
readonly admin_column_members: "Members";
|
|
8
|
+
readonly admin_column_organization: "Organization";
|
|
9
|
+
readonly admin_column_projects: "Projects";
|
|
10
|
+
readonly organization_action_delete: "Delete organization";
|
|
11
|
+
readonly organization_action_edit: "Edit organization";
|
|
12
|
+
readonly organization_delete_cancel: "Cancel";
|
|
13
|
+
readonly organization_delete_confirm: "Delete";
|
|
14
|
+
readonly organization_delete_description: "Are you sure you want to delete {name}? This action cannot be undone.";
|
|
15
|
+
readonly organization_delete_error: "Unable to delete organization.";
|
|
16
|
+
readonly organization_delete_title: "Delete organization";
|
|
17
|
+
readonly organization_fetch_error: "Unable to load organizations.";
|
|
18
|
+
readonly organization_impersonate_member: "Impersonate";
|
|
19
|
+
readonly organization_impersonate_member_as_organization: "Impersonate (as organization)";
|
|
20
|
+
readonly organization_impersonate_member_as_organization_error: "Unable to impersonate the member as this organization.";
|
|
21
|
+
readonly organization_impersonate_member_error: "Unable to impersonate the member and activate this organization.";
|
|
22
|
+
readonly organization_role_admin: "Admin";
|
|
23
|
+
readonly organization_role_member: "Member";
|
|
24
|
+
readonly organization_role_owner: "Owner";
|
|
25
|
+
readonly organization_role_support: "Support";
|
|
26
|
+
readonly organization_type: "Type";
|
|
27
|
+
readonly organization_type_personal: "Personal";
|
|
28
|
+
readonly organization_type_standard: "Organization";
|
|
29
|
+
};
|
|
30
|
+
readonly fr: {
|
|
31
|
+
readonly admin_column_created: "Créé";
|
|
32
|
+
readonly admin_column_id: "ID";
|
|
33
|
+
readonly admin_column_members: "Membres";
|
|
34
|
+
readonly admin_column_organization: "Organisation";
|
|
35
|
+
readonly admin_column_projects: "Projets";
|
|
36
|
+
readonly organization_action_delete: "Supprimer l'organisation";
|
|
37
|
+
readonly organization_action_edit: "Modifier l'organisation";
|
|
38
|
+
readonly organization_delete_cancel: "Annuler";
|
|
39
|
+
readonly organization_delete_confirm: "Supprimer";
|
|
40
|
+
readonly organization_delete_description: "Êtes-vous sûr de vouloir supprimer {name} ? Cette action est irréversible.";
|
|
41
|
+
readonly organization_delete_error: "Impossible de supprimer l'organisation.";
|
|
42
|
+
readonly organization_delete_title: "Supprimer l'organisation";
|
|
43
|
+
readonly organization_fetch_error: "Impossible de charger les organisations.";
|
|
44
|
+
readonly organization_impersonate_member: "Emprunter l’identité";
|
|
45
|
+
readonly organization_impersonate_member_as_organization: "Emprunter l’identité (en tant qu’organisation)";
|
|
46
|
+
readonly organization_impersonate_member_as_organization_error: "Impossible d’emprunter l’identité du membre en tant que cette organisation.";
|
|
47
|
+
readonly organization_impersonate_member_error: "Impossible d’emprunter l’identité du membre et d’activer cette organisation.";
|
|
48
|
+
readonly organization_role_admin: "Admin";
|
|
49
|
+
readonly organization_role_member: "Membre";
|
|
50
|
+
readonly organization_role_owner: "Propriétaire";
|
|
51
|
+
readonly organization_role_support: "Support";
|
|
52
|
+
readonly organization_type: "Type";
|
|
53
|
+
readonly organization_type_personal: "Personnelle";
|
|
54
|
+
readonly organization_type_standard: "Organisation";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type AdminOrganizationsMessageOverrides = Partial<Record<keyof (typeof defaultMessages)["en"], string>>;
|
|
58
|
+
export declare const adminOrganizationsMessages: (locale: KrakstackAuthLocale, overrides?: AdminOrganizationsMessageOverrides) => {
|
|
59
|
+
admin_column_created: string;
|
|
60
|
+
admin_column_id: string;
|
|
61
|
+
admin_column_members: string;
|
|
62
|
+
admin_column_organization: string;
|
|
63
|
+
admin_column_projects: string;
|
|
64
|
+
organization_action_delete: string;
|
|
65
|
+
organization_action_edit: string;
|
|
66
|
+
organization_delete_cancel: string;
|
|
67
|
+
organization_delete_confirm: string;
|
|
68
|
+
organization_delete_description: string;
|
|
69
|
+
organization_delete_error: string;
|
|
70
|
+
organization_delete_title: string;
|
|
71
|
+
organization_fetch_error: string;
|
|
72
|
+
organization_impersonate_member: string;
|
|
73
|
+
organization_impersonate_member_as_organization: string;
|
|
74
|
+
organization_impersonate_member_as_organization_error: string;
|
|
75
|
+
organization_impersonate_member_error: string;
|
|
76
|
+
organization_role_admin: string;
|
|
77
|
+
organization_role_member: string;
|
|
78
|
+
organization_role_owner: string;
|
|
79
|
+
organization_role_support: string;
|
|
80
|
+
organization_type: string;
|
|
81
|
+
organization_type_personal: string;
|
|
82
|
+
organization_type_standard: string;
|
|
83
|
+
} | {
|
|
84
|
+
admin_column_created: string;
|
|
85
|
+
admin_column_id: string;
|
|
86
|
+
admin_column_members: string;
|
|
87
|
+
admin_column_organization: string;
|
|
88
|
+
admin_column_projects: string;
|
|
89
|
+
organization_action_delete: string;
|
|
90
|
+
organization_action_edit: string;
|
|
91
|
+
organization_delete_cancel: string;
|
|
92
|
+
organization_delete_confirm: string;
|
|
93
|
+
organization_delete_description: string;
|
|
94
|
+
organization_delete_error: string;
|
|
95
|
+
organization_delete_title: string;
|
|
96
|
+
organization_fetch_error: string;
|
|
97
|
+
organization_impersonate_member: string;
|
|
98
|
+
organization_impersonate_member_as_organization: string;
|
|
99
|
+
organization_impersonate_member_as_organization_error: string;
|
|
100
|
+
organization_impersonate_member_error: string;
|
|
101
|
+
organization_role_admin: string;
|
|
102
|
+
organization_role_member: string;
|
|
103
|
+
organization_role_owner: string;
|
|
104
|
+
organization_role_support: string;
|
|
105
|
+
organization_type: string;
|
|
106
|
+
organization_type_personal: string;
|
|
107
|
+
organization_type_standard: string;
|
|
108
|
+
};
|
|
109
|
+
export type AdminOrganizationsMessages = ReturnType<typeof adminOrganizationsMessages>;
|
|
110
|
+
export declare function AdminOrganizationsTable({ messages: messageOverrides, onSearchChange, reloadKey, search, }: {
|
|
111
|
+
messages?: Partial<AdminOrganizationsMessages> | undefined;
|
|
3
112
|
onSearchChange?: (search: QueryType) => void;
|
|
4
113
|
reloadKey?: number;
|
|
5
114
|
search?: QueryType;
|
|
6
115
|
}): import("react").JSX.Element;
|
|
116
|
+
export {};
|