@krak-stack/auth 0.2.12 → 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.
@@ -44,6 +44,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
44
44
  readonly id: import("effect/Schema").String;
45
45
  readonly name: import("effect/Schema").String;
46
46
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
47
+ readonly role: import("effect/Schema").String;
47
48
  }>>>;
48
49
  readonly projects: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
49
50
  readonly id: import("effect/Schema").String;
@@ -132,6 +133,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
132
133
  readonly id: import("effect/Schema").String;
133
134
  readonly name: import("effect/Schema").String;
134
135
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
136
+ readonly role: import("effect/Schema").String;
135
137
  }>>>;
136
138
  readonly projects: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
137
139
  readonly id: import("effect/Schema").String;
@@ -252,6 +254,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
252
254
  readonly id: import("effect/Schema").String;
253
255
  readonly name: import("effect/Schema").String;
254
256
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
257
+ readonly role: import("effect/Schema").String;
255
258
  }>>>;
256
259
  readonly projects: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
257
260
  readonly id: import("effect/Schema").String;
@@ -402,6 +405,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
402
405
  readonly id: import("effect/Schema").String;
403
406
  readonly name: import("effect/Schema").String;
404
407
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
408
+ readonly role: import("effect/Schema").String;
405
409
  }>>>;
406
410
  readonly projects: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
407
411
  readonly id: import("effect/Schema").String;
@@ -464,7 +468,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
464
468
  readonly createdAt: import("effect/Schema").DateFromString;
465
469
  readonly updatedAt: import("effect/Schema").DateFromString;
466
470
  }>;
467
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
471
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
468
472
  readonly adminImpersonateUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminImpersonateUser", "POST", "/api/auth/admin/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
469
473
  readonly userId: import("effect/Schema").String;
470
474
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -528,7 +532,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
528
532
  readonly createdAt: import("effect/Schema").DateFromString;
529
533
  readonly updatedAt: import("effect/Schema").DateFromString;
530
534
  }>;
531
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
535
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
532
536
  readonly adminStopImpersonating: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminStopImpersonating", "POST", "/api/auth/admin/stop-impersonating", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
533
537
  readonly session: import("effect/Schema").Struct<{
534
538
  readonly id: import("effect/Schema").String;
@@ -590,7 +594,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
590
594
  readonly createdAt: import("effect/Schema").DateFromString;
591
595
  readonly updatedAt: import("effect/Schema").DateFromString;
592
596
  }>;
593
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
597
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
594
598
  readonly adminUnbanUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminUnbanUser", "POST", "/api/auth/admin/unban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
595
599
  readonly userId: import("effect/Schema").String;
596
600
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -641,13 +645,13 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
641
645
  readonly createdAt: import("effect/Schema").DateFromString;
642
646
  readonly updatedAt: import("effect/Schema").DateFromString;
643
647
  }>;
644
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
648
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
645
649
  readonly apiKeyDelete: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"apiKeyDelete", "POST", "/api/auth/api-key/delete", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
646
650
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
647
651
  readonly keyId: import("effect/Schema").String;
648
652
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
649
653
  readonly success: import("effect/Schema").Boolean;
650
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
654
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
651
655
  readonly apiKeyList: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"apiKeyList", "GET", "/api/auth/api-key/list", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
652
656
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
653
657
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -684,7 +688,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
684
688
  readonly total: import("effect/Schema").Number;
685
689
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
686
690
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
687
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
691
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
688
692
  readonly changePassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"changePassword", "POST", "/api/auth/change-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
689
693
  readonly newPassword: import("effect/Schema").String;
690
694
  readonly currentPassword: import("effect/Schema").String;
@@ -738,7 +742,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
738
742
  readonly createdAt: import("effect/Schema").DateFromString;
739
743
  readonly updatedAt: import("effect/Schema").DateFromString;
740
744
  }>;
741
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
745
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
742
746
  readonly getSession: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
743
747
  readonly disableCookieCache: import("effect/Schema").optional<import("effect/Schema").String>;
744
748
  readonly disableRefresh: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -803,7 +807,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
803
807
  readonly createdAt: import("effect/Schema").DateFromString;
804
808
  readonly updatedAt: import("effect/Schema").DateFromString;
805
809
  }>;
806
- }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
810
+ }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
807
811
  readonly linkSocial: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"linkSocial", "POST", "/api/auth/link-social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
808
812
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
809
813
  readonly provider: import("effect/Schema").String;
@@ -871,7 +875,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
871
875
  readonly updatedAt: import("effect/Schema").DateFromString;
872
876
  }>>;
873
877
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
874
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
878
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
875
879
  readonly listAccounts: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAccounts", "GET", "/api/auth/list-accounts", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
876
880
  readonly id: import("effect/Schema").String;
877
881
  readonly providerId: import("effect/Schema").String;
@@ -880,7 +884,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
880
884
  readonly accountId: import("effect/Schema").String;
881
885
  readonly userId: import("effect/Schema").String;
882
886
  readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
883
- }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
887
+ }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
884
888
  readonly oauthConsent: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"oauthConsent", "POST", "/api/auth/oauth2/consent", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
885
889
  readonly accept: import("effect/Schema").Boolean;
886
890
  readonly scope: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -888,7 +892,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
888
892
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
889
893
  readonly redirect: import("effect/Schema").Boolean;
890
894
  readonly url: import("effect/Schema").String;
891
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
895
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
892
896
  readonly oauthPublicClient: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"oauthPublicClient", "GET", "/api/auth/oauth2/public-client", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
893
897
  readonly client_id: import("effect/Schema").String;
894
898
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -900,7 +904,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
900
904
  readonly tos_uri: import("effect/Schema").optional<import("effect/Schema").String>;
901
905
  readonly policy_uri: import("effect/Schema").optional<import("effect/Schema").String>;
902
906
  readonly redirect_uris: import("effect/Schema").$Array<import("effect/Schema").String>;
903
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
907
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
904
908
  readonly organizationAcceptInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationAcceptInvitation", "POST", "/api/auth/organization/accept-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
905
909
  readonly invitationId: import("effect/Schema").String;
906
910
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -923,7 +927,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
923
927
  readonly role: import("effect/Schema").String;
924
928
  readonly createdAt: import("effect/Schema").DateFromString;
925
929
  }>>;
926
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
930
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
927
931
  readonly organizationCancelInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationCancelInvitation", "POST", "/api/auth/organization/cancel-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
928
932
  readonly invitationId: import("effect/Schema").String;
929
933
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -937,7 +941,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
937
941
  readonly status: import("effect/Schema").String;
938
942
  readonly expiresAt: import("effect/Schema").DateFromString;
939
943
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
940
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
944
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
941
945
  readonly organizationCreate: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationCreate", "POST", "/api/auth/organization/create", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
942
946
  readonly name: import("effect/Schema").NonEmptyString;
943
947
  readonly slug: import("effect/Schema").NonEmptyString;
@@ -954,7 +958,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
954
958
  readonly userId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
955
959
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
956
960
  readonly createdAt: import("effect/Schema").DateFromString;
957
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
961
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
958
962
  readonly organizationGetFull: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationGetFull", "GET", "/api/auth/organization/get-full-organization", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
959
963
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
960
964
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1025,7 +1029,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1025
1029
  readonly expiresAt: import("effect/Schema").DateFromString;
1026
1030
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1027
1031
  }>>;
1028
- }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1032
+ }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1029
1033
  readonly organizationGetInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationGetInvitation", "GET", "/api/auth/organization/get-invitation", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1030
1034
  readonly id: import("effect/Schema").String;
1031
1035
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1041,7 +1045,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1041
1045
  readonly organizationName: import("effect/Schema").String;
1042
1046
  readonly organizationSlug: import("effect/Schema").String;
1043
1047
  readonly inviterEmail: import("effect/Schema").String;
1044
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1048
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1045
1049
  readonly organizationImpersonateUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationImpersonateUser", "POST", "/api/auth/organization/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1046
1050
  readonly organizationId: import("effect/Schema").NonEmptyString;
1047
1051
  readonly actorUserId: import("effect/Schema").NonEmptyString;
@@ -1108,7 +1112,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1108
1112
  readonly createdAt: import("effect/Schema").DateFromString;
1109
1113
  readonly updatedAt: import("effect/Schema").DateFromString;
1110
1114
  }>;
1111
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1115
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1112
1116
  readonly organizationInviteMember: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationInviteMember", "POST", "/api/auth/organization/invite-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1113
1117
  readonly email: import("effect/Schema").String;
1114
1118
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
@@ -1126,7 +1130,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1126
1130
  readonly status: import("effect/Schema").String;
1127
1131
  readonly expiresAt: import("effect/Schema").DateFromString;
1128
1132
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1129
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1133
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1130
1134
  readonly organizationLeave: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationLeave", "POST", "/api/auth/organization/leave", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1131
1135
  readonly organizationId: import("effect/Schema").String;
1132
1136
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1135,7 +1139,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1135
1139
  readonly userId: import("effect/Schema").String;
1136
1140
  readonly role: import("effect/Schema").String;
1137
1141
  readonly createdAt: import("effect/Schema").DateFromString;
1138
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1142
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1139
1143
  readonly organizationList: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationList", "GET", "/api/auth/organization/list", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1140
1144
  readonly id: import("effect/Schema").String;
1141
1145
  readonly name: import("effect/Schema").String;
@@ -1145,7 +1149,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1145
1149
  readonly userId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1146
1150
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1147
1151
  readonly createdAt: import("effect/Schema").DateFromString;
1148
- }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1152
+ }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1149
1153
  readonly organizationListInvitations: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationListInvitations", "GET", "/api/auth/organization/list-invitations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1150
1154
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1151
1155
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -1159,7 +1163,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1159
1163
  readonly status: import("effect/Schema").String;
1160
1164
  readonly expiresAt: import("effect/Schema").DateFromString;
1161
1165
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1162
- }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1166
+ }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1163
1167
  readonly organizationListMembers: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationListMembers", "GET", "/api/auth/organization/list-members", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1164
1168
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
1165
1169
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
@@ -1217,7 +1221,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1217
1221
  }>;
1218
1222
  }>>;
1219
1223
  readonly total: import("effect/Schema").Number;
1220
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1224
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1221
1225
  readonly organizationListUserInvitations: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationListUserInvitations", "GET", "/api/auth/organization/list-user-invitations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1222
1226
  readonly id: import("effect/Schema").String;
1223
1227
  readonly email: import("effect/Schema").String;
@@ -1229,7 +1233,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1229
1233
  readonly status: import("effect/Schema").String;
1230
1234
  readonly expiresAt: import("effect/Schema").DateFromString;
1231
1235
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1232
- }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1236
+ }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1233
1237
  readonly organizationRejectInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationRejectInvitation", "POST", "/api/auth/organization/reject-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1234
1238
  readonly invitationId: import("effect/Schema").String;
1235
1239
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1252,7 +1256,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1252
1256
  readonly role: import("effect/Schema").String;
1253
1257
  readonly createdAt: import("effect/Schema").DateFromString;
1254
1258
  }>>;
1255
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1259
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1256
1260
  readonly organizationRemoveMember: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationRemoveMember", "POST", "/api/auth/organization/remove-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1257
1261
  readonly memberIdOrEmail: import("effect/Schema").String;
1258
1262
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1264,7 +1268,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1264
1268
  readonly role: import("effect/Schema").String;
1265
1269
  readonly createdAt: import("effect/Schema").DateFromString;
1266
1270
  }>;
1267
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1271
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1268
1272
  readonly organizationSetActive: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationSetActive", "POST", "/api/auth/organization/set-active", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1269
1273
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1270
1274
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1277,7 +1281,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1277
1281
  readonly userId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1278
1282
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1279
1283
  readonly createdAt: import("effect/Schema").DateFromString;
1280
- }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1284
+ }>>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1281
1285
  readonly organizationUpdate: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdate", "POST", "/api/auth/organization/update", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1282
1286
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1283
1287
  readonly data: import("effect/Schema").Struct<{
@@ -1296,7 +1300,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1296
1300
  readonly userId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1297
1301
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1298
1302
  readonly createdAt: import("effect/Schema").DateFromString;
1299
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1303
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1300
1304
  readonly organizationUpdateMemberRole: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdateMemberRole", "POST", "/api/auth/organization/update-member-role", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1301
1305
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
1302
1306
  readonly memberId: import("effect/Schema").String;
@@ -1307,26 +1311,26 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1307
1311
  readonly userId: import("effect/Schema").String;
1308
1312
  readonly role: import("effect/Schema").String;
1309
1313
  readonly createdAt: import("effect/Schema").DateFromString;
1310
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1314
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1311
1315
  readonly requestPasswordReset: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"requestPasswordReset", "POST", "/api/auth/request-password-reset", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1312
1316
  readonly email: import("effect/Schema").String;
1313
1317
  readonly redirectTo: import("effect/Schema").optional<import("effect/Schema").String>;
1314
1318
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1315
1319
  readonly status: import("effect/Schema").Boolean;
1316
1320
  readonly message: import("effect/Schema").String;
1317
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1321
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1318
1322
  readonly resetPassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resetPassword", "POST", "/api/auth/reset-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1319
1323
  readonly newPassword: import("effect/Schema").String;
1320
1324
  readonly token: import("effect/Schema").optional<import("effect/Schema").String>;
1321
1325
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1322
1326
  readonly status: import("effect/Schema").Boolean;
1323
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1327
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1324
1328
  readonly sendVerificationOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendVerificationOtp", "POST", "/api/auth/email-otp/send-verification-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1325
1329
  readonly email: import("effect/Schema").String;
1326
1330
  readonly type: import("effect/Schema").Literals<readonly ["sign-in", "email-verification", "forget-password"]>;
1327
1331
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1328
1332
  readonly success: import("effect/Schema").Boolean;
1329
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1333
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1330
1334
  readonly signInEmail: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInEmail", "POST", "/api/auth/sign-in/email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1331
1335
  readonly email: import("effect/Schema").String;
1332
1336
  readonly password: import("effect/Schema").String;
@@ -1388,7 +1392,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1388
1392
  readonly twoFactorRedirect: import("effect/Schema").Literal<true>;
1389
1393
  readonly twoFactorMethods: import("effect/Schema").$Array<import("effect/Schema").String>;
1390
1394
  readonly url: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1391
- }>]>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1395
+ }>]>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1392
1396
  readonly signInEmailOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInEmailOtp", "POST", "/api/auth/sign-in/email-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1393
1397
  readonly email: import("effect/Schema").String;
1394
1398
  readonly otp: import("effect/Schema").String;
@@ -1443,7 +1447,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1443
1447
  readonly createdAt: import("effect/Schema").DateFromString;
1444
1448
  readonly updatedAt: import("effect/Schema").DateFromString;
1445
1449
  }>;
1446
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1450
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1447
1451
  readonly signInSocial: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInSocial", "POST", "/api/auth/sign-in/social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1448
1452
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
1449
1453
  readonly newUserCallbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1521,27 +1525,27 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1521
1525
  readonly updatedAt: import("effect/Schema").DateFromString;
1522
1526
  }>>;
1523
1527
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1524
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1528
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1525
1529
  readonly signOut: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signOut", "POST", "/api/auth/sign-out", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1526
1530
  readonly success: import("effect/Schema").Boolean;
1527
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1531
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1528
1532
  readonly twoFactorDisable: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorDisable", "POST", "/api/auth/two-factor/disable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1529
1533
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
1530
1534
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1531
1535
  readonly status: import("effect/Schema").Boolean;
1532
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1536
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1533
1537
  readonly twoFactorEnable: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorEnable", "POST", "/api/auth/two-factor/enable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1534
1538
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
1535
1539
  readonly issuer: import("effect/Schema").optional<import("effect/Schema").String>;
1536
1540
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1537
1541
  readonly totpURI: import("effect/Schema").String;
1538
1542
  readonly backupCodes: import("effect/Schema").$Array<import("effect/Schema").String>;
1539
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1543
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1540
1544
  readonly twoFactorSendOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorSendOtp", "POST", "/api/auth/two-factor/send-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1541
1545
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1542
1546
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1543
1547
  readonly status: import("effect/Schema").Boolean;
1544
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1548
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1545
1549
  readonly twoFactorVerifyBackupCode: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyBackupCode", "POST", "/api/auth/two-factor/verify-backup-code", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1546
1550
  readonly code: import("effect/Schema").String;
1547
1551
  readonly disableSession: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -1596,7 +1600,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1596
1600
  readonly createdAt: import("effect/Schema").DateFromString;
1597
1601
  readonly updatedAt: import("effect/Schema").DateFromString;
1598
1602
  }>;
1599
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1603
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1600
1604
  readonly twoFactorVerifyOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyOtp", "POST", "/api/auth/two-factor/verify-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1601
1605
  readonly code: import("effect/Schema").String;
1602
1606
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -1650,7 +1654,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1650
1654
  readonly createdAt: import("effect/Schema").DateFromString;
1651
1655
  readonly updatedAt: import("effect/Schema").DateFromString;
1652
1656
  }>;
1653
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1657
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1654
1658
  readonly twoFactorVerifyTotp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyTotp", "POST", "/api/auth/two-factor/verify-totp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1655
1659
  readonly code: import("effect/Schema").String;
1656
1660
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -1704,13 +1708,13 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1704
1708
  readonly createdAt: import("effect/Schema").DateFromString;
1705
1709
  readonly updatedAt: import("effect/Schema").DateFromString;
1706
1710
  }>;
1707
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1711
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1708
1712
  readonly unlinkAccount: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"unlinkAccount", "POST", "/api/auth/unlink-account", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1709
1713
  readonly providerId: import("effect/Schema").String;
1710
1714
  readonly accountId: import("effect/Schema").optional<import("effect/Schema").String>;
1711
1715
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1712
1716
  readonly status: import("effect/Schema").Boolean;
1713
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1717
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1714
1718
  readonly updateUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateUser", "POST", "/api/auth/update-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1715
1719
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
1716
1720
  readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1748,7 +1752,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1748
1752
  }>>>;
1749
1753
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1750
1754
  readonly status: import("effect/Schema").Boolean;
1751
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1755
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1752
1756
  readonly verifyEmailOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyEmailOtp", "POST", "/api/auth/email-otp/verify-email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1753
1757
  readonly email: import("effect/Schema").String;
1754
1758
  readonly otp: import("effect/Schema").String;
@@ -1802,7 +1806,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1802
1806
  readonly createdAt: import("effect/Schema").DateFromString;
1803
1807
  readonly updatedAt: import("effect/Schema").DateFromString;
1804
1808
  }>;
1805
- }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest>, never, never>, never, never>;
1809
+ }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1806
1810
  };
1807
1811
  readonly authExtra: {
1808
1812
  readonly createApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1887,6 +1891,12 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1887
1891
  readonly google: import("effect/Schema").Boolean;
1888
1892
  }>;
1889
1893
  }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
1894
+ readonly listAssociatedProjects: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAssociatedProjects", "GET", "/api/auth/associated-projects", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1895
+ readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1896
+ }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1897
+ readonly id: import("effect/Schema").String;
1898
+ readonly name: import("effect/Schema").String;
1899
+ }>>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
1890
1900
  readonly setPassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setPassword", "POST", "/api/auth/set-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1891
1901
  readonly newPassword: import("effect/Schema").NonEmptyString;
1892
1902
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -16,5 +16,5 @@ export declare function VerifyEmail(props: AuthFormProps): import("react").JSX.E
16
16
  export declare function ForgotPassword(props: AuthFormProps): import("react").JSX.Element;
17
17
  export declare function ResetPassword(props: AuthFormProps): import("react").JSX.Element;
18
18
  export declare function TwoFactor(props: AuthFormProps): import("react").JSX.Element;
19
- export declare const navigateTarget: (target: string, navigate: ReturnType<typeof useNavigate>) => Promise<void>;
19
+ export declare const navigateTarget: (target: string, navigate: ReturnType<typeof useNavigate>) => Promise<void> | undefined;
20
20
  export {};