@krak-stack/auth 0.2.17 → 0.2.19

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.
Files changed (47) hide show
  1. package/README.md +34 -0
  2. package/dist/admin/api.group.d.ts +19 -13
  3. package/dist/admin/api.group.js +1 -1
  4. package/dist/admin/schema.d.ts +9 -7
  5. package/dist/admin/schema.js +1 -2
  6. package/dist/api.d.ts +161 -155
  7. package/dist/api.js +1 -1
  8. package/dist/auth/api.group.d.ts +1 -1
  9. package/dist/auth/api.group.js +1 -1
  10. package/dist/auth/schema.js +1 -1
  11. package/dist/components/admin-organization-form.js +1 -1
  12. package/dist/components/admin-organizations.js +5 -25
  13. package/dist/components/admin-users.js +5 -25
  14. package/dist/components/associated-projects-notice.js +1 -1
  15. package/dist/components/auth-atoms.d.ts +1 -1
  16. package/dist/components/auth-atoms.js +1 -1
  17. package/dist/components/auth-client-api.d.ts +117 -111
  18. package/dist/components/auth-client-api.js +3 -3
  19. package/dist/components/auth-forms.js +2 -2
  20. package/dist/components/auth-provider.d.ts +1 -1
  21. package/dist/components/auth-provider.js +2 -2
  22. package/dist/components/member-required.js +1 -1
  23. package/dist/components/organization-switcher.js +1 -1
  24. package/dist/components/user-button.js +1 -1
  25. package/dist/config.js +2 -2
  26. package/dist/extra/api.group.d.ts +3 -3
  27. package/dist/extra/api.group.js +2 -2
  28. package/dist/extra/schema.d.ts +2 -2
  29. package/dist/extra/schema.js +2 -2
  30. package/dist/index.d.ts +0 -1
  31. package/dist/index.js +0 -1
  32. package/dist/server/actor.d.ts +1 -1
  33. package/dist/server/actor.js +1 -1
  34. package/dist/server/api.group.d.ts +1 -1
  35. package/dist/server/api.group.js +2 -2
  36. package/dist/server/middleware.d.ts +2 -2
  37. package/dist/server/middleware.js +2 -2
  38. package/dist/server/proxy.d.ts +4 -2
  39. package/dist/server/proxy.js +12 -3
  40. package/dist/service.d.ts +141 -141
  41. package/dist/service.js +3 -3
  42. package/package.json +7 -11
  43. package/patches/@lucas-barake%2Feffect-form-react@0.26.0-beta.5.patch +66 -0
  44. package/patches/@lucas-barake%2Feffect-form@0.25.0-beta.6.patch +86 -0
  45. package/patches/README.md +31 -0
  46. package/dist/query.d.ts +0 -49
  47. package/dist/query.js +0 -114
package/dist/service.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Context, Effect, Layer } from "effect";
2
- import { HttpClient } from "effect/unstable/http";
3
- import { HttpApiClient } from "effect/unstable/httpapi";
4
- import { HttpApiError } from "effect/unstable/httpapi";
2
+ import { HttpClient } from "effect/http";
3
+ import { HttpApiClient } from "effect/http-api";
4
+ import { HttpApiError } from "effect/http-api";
5
5
  import { AuthClientConfig, type ClientConfig } from "./config.js";
6
6
  import { ExtraVerifiedApiKey } from "./extra/schema.js";
7
7
  import type { Session, User } from "./schema.js";
@@ -39,9 +39,9 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
39
39
  getActiveMemberRole: (input: {
40
40
  readonly organizationId: string;
41
41
  readonly userId: string;
42
- }) => Effect.Effect<string, import("effect/unstable/http/HttpClientError").HttpClientError | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized, never>;
42
+ }) => Effect.Effect<string, import("effect/http/HttpClientError").HttpClientError | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized, never>;
43
43
  auth: {
44
- readonly adminBanUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminBanUser", "POST", "/api/auth/admin/ban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
44
+ readonly adminBanUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"adminBanUser", "POST", "/api/auth/admin/ban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
45
45
  readonly userId: import("effect/Schema").String;
46
46
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").String>;
47
47
  readonly banExpiresIn: import("effect/Schema").optional<import("effect/Schema").Number>;
@@ -94,7 +94,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
94
94
  readonly updatedAt: import("effect/Schema").DateFromString;
95
95
  }>;
96
96
  }>>, 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>;
97
- 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<{
97
+ readonly adminImpersonateUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"adminImpersonateUser", "POST", "/api/auth/admin/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
98
98
  readonly userId: import("effect/Schema").String;
99
99
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
100
100
  readonly session: import("effect/Schema").Struct<{
@@ -158,7 +158,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
158
158
  readonly updatedAt: import("effect/Schema").DateFromString;
159
159
  }>;
160
160
  }>>, 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>;
161
- 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<{
161
+ readonly adminStopImpersonating: HttpApiClient.Client.Method<import("effect/http-api/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<{
162
162
  readonly session: import("effect/Schema").Struct<{
163
163
  readonly id: import("effect/Schema").String;
164
164
  readonly expiresAt: import("effect/Schema").DateFromString;
@@ -220,7 +220,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
220
220
  readonly updatedAt: import("effect/Schema").DateFromString;
221
221
  }>;
222
222
  }>>, 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>;
223
- 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<{
223
+ readonly adminUnbanUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"adminUnbanUser", "POST", "/api/auth/admin/unban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
224
224
  readonly userId: import("effect/Schema").String;
225
225
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
226
226
  readonly user: import("effect/Schema").Struct<{
@@ -271,13 +271,13 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
271
271
  readonly updatedAt: import("effect/Schema").DateFromString;
272
272
  }>;
273
273
  }>>, 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>;
274
- 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<{
274
+ readonly apiKeyDelete: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"apiKeyDelete", "POST", "/api/auth/api-key/delete", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
275
275
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
276
276
  readonly keyId: import("effect/Schema").String;
277
277
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
278
278
  readonly success: import("effect/Schema").Boolean;
279
279
  }>>, 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>;
280
- 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<{
280
+ readonly apiKeyList: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"apiKeyList", "GET", "/api/auth/api-key/list", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
281
281
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
282
282
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
283
283
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
@@ -314,7 +314,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
314
314
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
315
315
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
316
316
  }>>, 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>;
317
- 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<{
317
+ readonly changePassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"changePassword", "POST", "/api/auth/change-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
318
318
  readonly newPassword: import("effect/Schema").String;
319
319
  readonly currentPassword: import("effect/Schema").String;
320
320
  readonly revokeOtherSessions: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -368,7 +368,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
368
368
  readonly updatedAt: import("effect/Schema").DateFromString;
369
369
  }>;
370
370
  }>>, 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>;
371
- 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<{
371
+ readonly getSession: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
372
372
  readonly disableCookieCache: import("effect/Schema").optional<import("effect/Schema").String>;
373
373
  readonly disableRefresh: import("effect/Schema").optional<import("effect/Schema").String>;
374
374
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -433,7 +433,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
433
433
  readonly updatedAt: import("effect/Schema").DateFromString;
434
434
  }>;
435
435
  }>>>, 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>;
436
- 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<{
436
+ readonly linkSocial: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"linkSocial", "POST", "/api/auth/link-social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
437
437
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
438
438
  readonly provider: import("effect/Schema").String;
439
439
  readonly idToken: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -501,7 +501,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
501
501
  }>>;
502
502
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
503
503
  }>>, 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>;
504
- 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<{
504
+ readonly listAccounts: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listAccounts", "GET", "/api/auth/list-accounts", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
505
505
  readonly id: import("effect/Schema").String;
506
506
  readonly providerId: import("effect/Schema").String;
507
507
  readonly createdAt: import("effect/Schema").DateFromString;
@@ -510,7 +510,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
510
510
  readonly userId: import("effect/Schema").String;
511
511
  readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
512
512
  }>>>, 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>;
513
- 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<{
513
+ readonly oauthConsent: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"oauthConsent", "POST", "/api/auth/oauth2/consent", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
514
514
  readonly accept: import("effect/Schema").Boolean;
515
515
  readonly scope: import("effect/Schema").optional<import("effect/Schema").String>;
516
516
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -518,7 +518,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
518
518
  readonly redirect: import("effect/Schema").Boolean;
519
519
  readonly url: import("effect/Schema").String;
520
520
  }>>, 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>;
521
- 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<{
521
+ readonly oauthPublicClient: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"oauthPublicClient", "GET", "/api/auth/oauth2/public-client", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
522
522
  readonly client_id: import("effect/Schema").String;
523
523
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
524
524
  readonly client_id: import("effect/Schema").String;
@@ -530,7 +530,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
530
530
  readonly policy_uri: import("effect/Schema").optional<import("effect/Schema").String>;
531
531
  readonly redirect_uris: import("effect/Schema").$Array<import("effect/Schema").String>;
532
532
  }>>, 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>;
533
- 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<{
533
+ readonly organizationAcceptInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationAcceptInvitation", "POST", "/api/auth/organization/accept-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
534
534
  readonly invitationId: import("effect/Schema").String;
535
535
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
536
536
  readonly invitation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -553,7 +553,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
553
553
  readonly createdAt: import("effect/Schema").DateFromString;
554
554
  }>>;
555
555
  }>>, 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>;
556
- 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<{
556
+ readonly organizationCancelInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationCancelInvitation", "POST", "/api/auth/organization/cancel-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
557
557
  readonly invitationId: import("effect/Schema").String;
558
558
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
559
559
  readonly id: import("effect/Schema").String;
@@ -567,7 +567,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
567
567
  readonly expiresAt: import("effect/Schema").DateFromString;
568
568
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
569
569
  }>>, 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>;
570
- 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<{
570
+ readonly organizationCreate: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationCreate", "POST", "/api/auth/organization/create", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
571
571
  readonly name: import("effect/Schema").NonEmptyString;
572
572
  readonly slug: import("effect/Schema").NonEmptyString;
573
573
  readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -584,7 +584,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
584
584
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
585
585
  readonly createdAt: import("effect/Schema").DateFromString;
586
586
  }>>, 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>;
587
- 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<{
587
+ readonly organizationGetFull: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationGetFull", "GET", "/api/auth/organization/get-full-organization", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
588
588
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
589
589
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
590
590
  readonly membersLimit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
@@ -655,7 +655,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
655
655
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
656
656
  }>>;
657
657
  }>>>, 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>;
658
- 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<{
658
+ readonly organizationGetInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationGetInvitation", "GET", "/api/auth/organization/get-invitation", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
659
659
  readonly id: import("effect/Schema").String;
660
660
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
661
661
  readonly id: import("effect/Schema").String;
@@ -671,7 +671,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
671
671
  readonly organizationSlug: import("effect/Schema").String;
672
672
  readonly inviterEmail: import("effect/Schema").String;
673
673
  }>>, 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>;
674
- 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<{
674
+ readonly organizationImpersonateUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationImpersonateUser", "POST", "/api/auth/organization/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
675
675
  readonly organizationId: import("effect/Schema").NonEmptyString;
676
676
  readonly actorUserId: import("effect/Schema").NonEmptyString;
677
677
  readonly targetUserId: import("effect/Schema").NonEmptyString;
@@ -738,7 +738,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
738
738
  readonly updatedAt: import("effect/Schema").DateFromString;
739
739
  }>;
740
740
  }>>, 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>;
741
- 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<{
741
+ readonly organizationInviteMember: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationInviteMember", "POST", "/api/auth/organization/invite-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
742
742
  readonly email: import("effect/Schema").String;
743
743
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
744
744
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -756,7 +756,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
756
756
  readonly expiresAt: import("effect/Schema").DateFromString;
757
757
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
758
758
  }>>, 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>;
759
- 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<{
759
+ readonly organizationLeave: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationLeave", "POST", "/api/auth/organization/leave", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
760
760
  readonly organizationId: import("effect/Schema").String;
761
761
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
762
762
  readonly id: import("effect/Schema").String;
@@ -765,7 +765,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
765
765
  readonly role: import("effect/Schema").String;
766
766
  readonly createdAt: import("effect/Schema").DateFromString;
767
767
  }>>, 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>;
768
- 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<{
768
+ readonly organizationList: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationList", "GET", "/api/auth/organization/list", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
769
769
  readonly id: import("effect/Schema").String;
770
770
  readonly name: import("effect/Schema").String;
771
771
  readonly slug: import("effect/Schema").String;
@@ -775,7 +775,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
775
775
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
776
776
  readonly createdAt: import("effect/Schema").DateFromString;
777
777
  }>>>, 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>;
778
- 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<{
778
+ readonly organizationListInvitations: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationListInvitations", "GET", "/api/auth/organization/list-invitations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
779
779
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
780
780
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
781
781
  readonly id: import("effect/Schema").String;
@@ -789,7 +789,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
789
789
  readonly expiresAt: import("effect/Schema").DateFromString;
790
790
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
791
791
  }>>>, 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>;
792
- 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<{
792
+ readonly organizationListMembers: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationListMembers", "GET", "/api/auth/organization/list-members", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
793
793
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
794
794
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
795
795
  readonly sortBy: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -847,7 +847,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
847
847
  }>>;
848
848
  readonly total: import("effect/Schema").Number;
849
849
  }>>, 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>;
850
- 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<{
850
+ readonly organizationListUserInvitations: HttpApiClient.Client.Method<import("effect/http-api/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<{
851
851
  readonly id: import("effect/Schema").String;
852
852
  readonly email: import("effect/Schema").String;
853
853
  readonly role: import("effect/Schema").String;
@@ -859,7 +859,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
859
859
  readonly expiresAt: import("effect/Schema").DateFromString;
860
860
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
861
861
  }>>>, 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>;
862
- 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<{
862
+ readonly organizationRejectInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationRejectInvitation", "POST", "/api/auth/organization/reject-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
863
863
  readonly invitationId: import("effect/Schema").String;
864
864
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
865
865
  readonly invitation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -882,7 +882,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
882
882
  readonly createdAt: import("effect/Schema").DateFromString;
883
883
  }>>;
884
884
  }>>, 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>;
885
- 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<{
885
+ readonly organizationRemoveMember: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationRemoveMember", "POST", "/api/auth/organization/remove-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
886
886
  readonly memberIdOrEmail: import("effect/Schema").String;
887
887
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
888
888
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -894,7 +894,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
894
894
  readonly createdAt: import("effect/Schema").DateFromString;
895
895
  }>;
896
896
  }>>, 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>;
897
- 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<{
897
+ readonly organizationSetActive: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationSetActive", "POST", "/api/auth/organization/set-active", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
898
898
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
899
899
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
900
900
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -907,7 +907,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
907
907
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
908
908
  readonly createdAt: import("effect/Schema").DateFromString;
909
909
  }>>>, 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>;
910
- 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<{
910
+ readonly organizationUpdate: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdate", "POST", "/api/auth/organization/update", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
911
911
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
912
912
  readonly data: import("effect/Schema").Struct<{
913
913
  readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
@@ -926,7 +926,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
926
926
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
927
927
  readonly createdAt: import("effect/Schema").DateFromString;
928
928
  }>>, 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>;
929
- 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<{
929
+ readonly organizationUpdateMemberRole: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdateMemberRole", "POST", "/api/auth/organization/update-member-role", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
930
930
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
931
931
  readonly memberId: import("effect/Schema").String;
932
932
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -937,26 +937,26 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
937
937
  readonly role: import("effect/Schema").String;
938
938
  readonly createdAt: import("effect/Schema").DateFromString;
939
939
  }>>, 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>;
940
- 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<{
940
+ readonly requestPasswordReset: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"requestPasswordReset", "POST", "/api/auth/request-password-reset", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
941
941
  readonly email: import("effect/Schema").String;
942
942
  readonly redirectTo: import("effect/Schema").optional<import("effect/Schema").String>;
943
943
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
944
944
  readonly status: import("effect/Schema").Boolean;
945
945
  readonly message: import("effect/Schema").String;
946
946
  }>>, 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>;
947
- 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<{
947
+ readonly resetPassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resetPassword", "POST", "/api/auth/reset-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
948
948
  readonly newPassword: import("effect/Schema").String;
949
949
  readonly token: import("effect/Schema").optional<import("effect/Schema").String>;
950
950
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
951
951
  readonly status: import("effect/Schema").Boolean;
952
952
  }>>, 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>;
953
- 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<{
953
+ readonly sendVerificationOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"sendVerificationOtp", "POST", "/api/auth/email-otp/send-verification-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
954
954
  readonly email: import("effect/Schema").String;
955
955
  readonly type: import("effect/Schema").Literals<readonly ["sign-in", "email-verification", "forget-password"]>;
956
956
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
957
957
  readonly success: import("effect/Schema").Boolean;
958
958
  }>>, 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>;
959
- 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<{
959
+ readonly signInEmail: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signInEmail", "POST", "/api/auth/sign-in/email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
960
960
  readonly email: import("effect/Schema").String;
961
961
  readonly password: import("effect/Schema").String;
962
962
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1018,7 +1018,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1018
1018
  readonly twoFactorMethods: import("effect/Schema").$Array<import("effect/Schema").String>;
1019
1019
  readonly url: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1020
1020
  }>]>>, 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>;
1021
- 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<{
1021
+ readonly signInEmailOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signInEmailOtp", "POST", "/api/auth/sign-in/email-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1022
1022
  readonly email: import("effect/Schema").String;
1023
1023
  readonly otp: import("effect/Schema").String;
1024
1024
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1073,7 +1073,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1073
1073
  readonly updatedAt: import("effect/Schema").DateFromString;
1074
1074
  }>;
1075
1075
  }>>, 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>;
1076
- 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<{
1076
+ readonly signInSocial: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signInSocial", "POST", "/api/auth/sign-in/social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1077
1077
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
1078
1078
  readonly newUserCallbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
1079
1079
  readonly errorCallbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1151,27 +1151,27 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1151
1151
  }>>;
1152
1152
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1153
1153
  }>>, 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>;
1154
- 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<{
1154
+ readonly signOut: HttpApiClient.Client.Method<import("effect/http-api/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<{
1155
1155
  readonly success: import("effect/Schema").Boolean;
1156
1156
  }>>, 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>;
1157
- 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<{
1157
+ readonly twoFactorDisable: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorDisable", "POST", "/api/auth/two-factor/disable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1158
1158
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
1159
1159
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1160
1160
  readonly status: import("effect/Schema").Boolean;
1161
1161
  }>>, 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>;
1162
- 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<{
1162
+ readonly twoFactorEnable: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorEnable", "POST", "/api/auth/two-factor/enable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1163
1163
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
1164
1164
  readonly issuer: import("effect/Schema").optional<import("effect/Schema").String>;
1165
1165
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1166
1166
  readonly totpURI: import("effect/Schema").String;
1167
1167
  readonly backupCodes: import("effect/Schema").$Array<import("effect/Schema").String>;
1168
1168
  }>>, 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>;
1169
- 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<{
1169
+ readonly twoFactorSendOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorSendOtp", "POST", "/api/auth/two-factor/send-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1170
1170
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1171
1171
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1172
1172
  readonly status: import("effect/Schema").Boolean;
1173
1173
  }>>, 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>;
1174
- 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<{
1174
+ readonly twoFactorVerifyBackupCode: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyBackupCode", "POST", "/api/auth/two-factor/verify-backup-code", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1175
1175
  readonly code: import("effect/Schema").String;
1176
1176
  readonly disableSession: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1177
1177
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -1226,7 +1226,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1226
1226
  readonly updatedAt: import("effect/Schema").DateFromString;
1227
1227
  }>;
1228
1228
  }>>, 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>;
1229
- 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<{
1229
+ readonly twoFactorVerifyOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyOtp", "POST", "/api/auth/two-factor/verify-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1230
1230
  readonly code: import("effect/Schema").String;
1231
1231
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1232
1232
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1280,7 +1280,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1280
1280
  readonly updatedAt: import("effect/Schema").DateFromString;
1281
1281
  }>;
1282
1282
  }>>, 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>;
1283
- 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<{
1283
+ readonly twoFactorVerifyTotp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyTotp", "POST", "/api/auth/two-factor/verify-totp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1284
1284
  readonly code: import("effect/Schema").String;
1285
1285
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1286
1286
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1334,13 +1334,13 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1334
1334
  readonly updatedAt: import("effect/Schema").DateFromString;
1335
1335
  }>;
1336
1336
  }>>, 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>;
1337
- 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<{
1337
+ readonly unlinkAccount: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"unlinkAccount", "POST", "/api/auth/unlink-account", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1338
1338
  readonly providerId: import("effect/Schema").String;
1339
1339
  readonly accountId: import("effect/Schema").optional<import("effect/Schema").String>;
1340
1340
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1341
1341
  readonly status: import("effect/Schema").Boolean;
1342
1342
  }>>, 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>;
1343
- 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<{
1343
+ readonly updateUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateUser", "POST", "/api/auth/update-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1344
1344
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
1345
1345
  readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1346
1346
  readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -1378,7 +1378,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1378
1378
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1379
1379
  readonly status: import("effect/Schema").Boolean;
1380
1380
  }>>, 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>;
1381
- 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<{
1381
+ readonly verifyEmailOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"verifyEmailOtp", "POST", "/api/auth/email-otp/verify-email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1382
1382
  readonly email: import("effect/Schema").String;
1383
1383
  readonly otp: import("effect/Schema").String;
1384
1384
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1434,7 +1434,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1434
1434
  }>>, 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>;
1435
1435
  };
1436
1436
  authExtra: {
1437
- 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<{
1437
+ readonly createApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1438
1438
  readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
1439
1439
  readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
1440
1440
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1444,7 +1444,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1444
1444
  readonly id: import("effect/Schema").String;
1445
1445
  readonly key: import("effect/Schema").String;
1446
1446
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1447
- readonly getOrganizationPublicProfile: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationPublicProfile", "GET", "/api/auth/organization-profile", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1447
+ readonly getOrganizationPublicProfile: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationPublicProfile", "GET", "/api/auth/organization-profile", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1448
1448
  readonly organizationId: import("effect/Schema").String;
1449
1449
  readonly locale: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>>;
1450
1450
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1498,7 +1498,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1498
1498
  readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
1499
1499
  readonly icon: import("effect/Schema").NullOr<import("effect/Schema").String>;
1500
1500
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1501
- readonly getProjectPublicConfig: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1501
+ readonly getProjectPublicConfig: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1502
1502
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
1503
1503
  readonly clientId: import("effect/Schema").optional<import("effect/Schema").String>;
1504
1504
  readonly host: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1516,18 +1516,18 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1516
1516
  readonly google: import("effect/Schema").Boolean;
1517
1517
  }>;
1518
1518
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1519
- 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<{
1519
+ readonly listAssociatedProjects: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listAssociatedProjects", "GET", "/api/auth/associated-projects", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1520
1520
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1521
1521
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1522
1522
  readonly id: import("effect/Schema").String;
1523
1523
  readonly name: import("effect/Schema").String;
1524
1524
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1525
- 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<{
1525
+ readonly setPassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setPassword", "POST", "/api/auth/set-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1526
1526
  readonly newPassword: import("effect/Schema").NonEmptyString;
1527
1527
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1528
1528
  readonly ok: import("effect/Schema").Boolean;
1529
1529
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1530
- readonly updateApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateApiKey", "PATCH", "/api/auth/api-key/:keyId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1530
+ readonly updateApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateApiKey", "PATCH", "/api/auth/api-key/:keyId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1531
1531
  keyId: import("effect/Schema").NonEmptyString;
1532
1532
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1533
1533
  readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
@@ -1538,12 +1538,12 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1538
1538
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1539
1539
  readonly ok: import("effect/Schema").Boolean;
1540
1540
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1541
- readonly uploadUserImage: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", never, never, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
1542
- readonly file: import("effect/Schema").decodeTo<import("effect/unstable/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/unstable/http/Multipart").PersistedFileSchema>, never, never>;
1541
+ readonly uploadUserImage: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", never, never, import("effect/Schema").toCodecJson<import("effect/http-api/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
1542
+ readonly file: import("effect/Schema").decodeTo<import("effect/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/http/Multipart").PersistedFileSchema>, never, never>;
1543
1543
  }>>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1544
1544
  readonly url: import("effect/Schema").String;
1545
1545
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1546
- readonly verifyApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1546
+ readonly verifyApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1547
1547
  readonly key: import("effect/Schema").NonEmptyString;
1548
1548
  readonly configId: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>>;
1549
1549
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1567,14 +1567,14 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1567
1567
  readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Unknown>;
1568
1568
  }>>;
1569
1569
  }>>, import("effect/Schema").toCodecJson<typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1570
- readonly verifyPassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyPassword", "POST", "/api/auth/verify-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1570
+ readonly verifyPassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"verifyPassword", "POST", "/api/auth/verify-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1571
1571
  readonly password: import("effect/Schema").NonEmptyString;
1572
1572
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1573
1573
  readonly ok: import("effect/Schema").Boolean;
1574
1574
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1575
1575
  };
1576
1576
  domains: {
1577
- readonly createDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/domains", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1577
+ readonly createDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/domains", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1578
1578
  readonly hostname: import("effect/Schema").NonEmptyString;
1579
1579
  readonly rootHostname: import("effect/Schema").NonEmptyString;
1580
1580
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1596,7 +1596,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1596
1596
  readonly createdAt: import("effect/Schema").Date;
1597
1597
  readonly updatedAt: import("effect/Schema").Date;
1598
1598
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1599
- readonly deleteDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1599
+ readonly deleteDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1600
1600
  readonly id: import("effect/Schema").NonEmptyString;
1601
1601
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1602
1602
  readonly id: import("effect/Schema").String;
@@ -1614,7 +1614,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1614
1614
  readonly createdAt: import("effect/Schema").Date;
1615
1615
  readonly updatedAt: import("effect/Schema").Date;
1616
1616
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1617
- readonly getDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomain", "GET", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1617
+ readonly getDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getDomain", "GET", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1618
1618
  readonly id: import("effect/Schema").NonEmptyString;
1619
1619
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1620
1620
  readonly id: import("effect/Schema").String;
@@ -1632,7 +1632,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1632
1632
  readonly createdAt: import("effect/Schema").Date;
1633
1633
  readonly updatedAt: import("effect/Schema").Date;
1634
1634
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1635
- readonly getDomainByHost: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainByHost", "GET", "/api/domains/by-host/:hostname", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1635
+ readonly getDomainByHost: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getDomainByHost", "GET", "/api/domains/by-host/:hostname", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1636
1636
  readonly hostname: import("effect/Schema").NonEmptyString;
1637
1637
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1638
1638
  readonly id: import("effect/Schema").String;
@@ -1650,7 +1650,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1650
1650
  readonly createdAt: import("effect/Schema").Date;
1651
1651
  readonly updatedAt: import("effect/Schema").Date;
1652
1652
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1653
- readonly getDomainRecords: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/domains/:id/records", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1653
+ readonly getDomainRecords: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/domains/:id/records", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1654
1654
  readonly id: import("effect/Schema").NonEmptyString;
1655
1655
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1656
1656
  readonly required: import("effect/Schema").Boolean;
@@ -1661,7 +1661,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1661
1661
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1662
1662
  };
1663
1663
  organizations: {
1664
- readonly getActiveMember: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getActiveMember", "GET", "/api/organizations/:organizationId/members/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1664
+ readonly getActiveMember: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getActiveMember", "GET", "/api/organizations/:organizationId/members/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1665
1665
  readonly organizationId: import("effect/Schema").NonEmptyString;
1666
1666
  readonly userId: import("effect/Schema").NonEmptyString;
1667
1667
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1715,7 +1715,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1715
1715
  readonly updatedAt: import("effect/Schema").Date;
1716
1716
  }>;
1717
1717
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1718
- readonly getOrganization: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getOrganization", "GET", "/api/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1718
+ readonly getOrganization: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getOrganization", "GET", "/api/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1719
1719
  readonly id: import("effect/Schema").NonEmptyString;
1720
1720
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1721
1721
  readonly id: import("effect/Schema").String;
@@ -1776,7 +1776,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1776
1776
  readonly parentId: import("effect/Schema").NullOr<import("effect/Schema").String>;
1777
1777
  readonly createdAt: import("effect/Schema").Date;
1778
1778
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1779
- readonly getOrganizationChildren: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationChildren", "GET", "/api/organizations/:organizationId/children", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1779
+ readonly getOrganizationChildren: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationChildren", "GET", "/api/organizations/:organizationId/children", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1780
1780
  readonly organizationId: import("effect/Schema").NonEmptyString;
1781
1781
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1782
1782
  readonly id: import("effect/Schema").String;
@@ -1837,7 +1837,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1837
1837
  readonly parentId: import("effect/Schema").NullOr<import("effect/Schema").String>;
1838
1838
  readonly createdAt: import("effect/Schema").Date;
1839
1839
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1840
- readonly listOrganizationMembers: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listOrganizationMembers", "GET", "/api/organizations/:organizationId/members", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1840
+ readonly listOrganizationMembers: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listOrganizationMembers", "GET", "/api/organizations/:organizationId/members", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1841
1841
  readonly organizationId: import("effect/Schema").NonEmptyString;
1842
1842
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1843
1843
  readonly id: import("effect/Schema").String;
@@ -1890,7 +1890,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1890
1890
  readonly updatedAt: import("effect/Schema").Date;
1891
1891
  }>;
1892
1892
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1893
- readonly listOrganizations: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listOrganizations", "GET", "/api/organizations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1893
+ readonly listOrganizations: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listOrganizations", "GET", "/api/organizations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1894
1894
  readonly ids: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
1895
1895
  readonly userId: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
1896
1896
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1957,7 +1957,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
1957
1957
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
1958
1958
  };
1959
1959
  users: {
1960
- readonly getUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/api/users/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1960
+ readonly getUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/api/users/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1961
1961
  readonly id: import("effect/Schema").NonEmptyString;
1962
1962
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1963
1963
  readonly id: import("effect/Schema").String;
@@ -2003,12 +2003,12 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2003
2003
  readonly createdAt: import("effect/Schema").Date;
2004
2004
  readonly updatedAt: import("effect/Schema").Date;
2005
2005
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
2006
- readonly getUserActiveOrganization: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUserActiveOrganization", "GET", "/api/organizations/user/:userId/active", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2006
+ readonly getUserActiveOrganization: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getUserActiveOrganization", "GET", "/api/organizations/user/:userId/active", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2007
2007
  readonly userId: import("effect/Schema").NonEmptyString;
2008
2008
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2009
2009
  readonly id: import("effect/Schema").NullOr<import("effect/Schema").String>;
2010
2010
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
2011
- readonly listUsersByIds: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listUsersByIds", "GET", "/api/users", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2011
+ readonly listUsersByIds: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listUsersByIds", "GET", "/api/users", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2012
2012
  readonly ids: import("effect/Schema").NonEmptyString;
2013
2013
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2014
2014
  readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -2068,9 +2068,9 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2068
2068
  getActiveMemberRole: (input: {
2069
2069
  readonly organizationId: string;
2070
2070
  readonly userId: string;
2071
- }) => Effect.Effect<string, import("effect/unstable/http/HttpClientError").HttpClientError | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized, never>;
2071
+ }) => Effect.Effect<string, import("effect/http/HttpClientError").HttpClientError | HttpApiError.InternalServerError | HttpApiError.NotFound | import("effect/Schema").SchemaError | HttpApiError.Unauthorized, never>;
2072
2072
  auth: {
2073
- readonly adminBanUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminBanUser", "POST", "/api/auth/admin/ban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2073
+ readonly adminBanUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"adminBanUser", "POST", "/api/auth/admin/ban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2074
2074
  readonly userId: import("effect/Schema").String;
2075
2075
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").String>;
2076
2076
  readonly banExpiresIn: import("effect/Schema").optional<import("effect/Schema").Number>;
@@ -2123,7 +2123,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2123
2123
  readonly updatedAt: import("effect/Schema").DateFromString;
2124
2124
  }>;
2125
2125
  }>>, 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>;
2126
- 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<{
2126
+ readonly adminImpersonateUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"adminImpersonateUser", "POST", "/api/auth/admin/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2127
2127
  readonly userId: import("effect/Schema").String;
2128
2128
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2129
2129
  readonly session: import("effect/Schema").Struct<{
@@ -2187,7 +2187,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2187
2187
  readonly updatedAt: import("effect/Schema").DateFromString;
2188
2188
  }>;
2189
2189
  }>>, 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>;
2190
- 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<{
2190
+ readonly adminStopImpersonating: HttpApiClient.Client.Method<import("effect/http-api/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<{
2191
2191
  readonly session: import("effect/Schema").Struct<{
2192
2192
  readonly id: import("effect/Schema").String;
2193
2193
  readonly expiresAt: import("effect/Schema").DateFromString;
@@ -2249,7 +2249,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2249
2249
  readonly updatedAt: import("effect/Schema").DateFromString;
2250
2250
  }>;
2251
2251
  }>>, 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>;
2252
- 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<{
2252
+ readonly adminUnbanUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"adminUnbanUser", "POST", "/api/auth/admin/unban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2253
2253
  readonly userId: import("effect/Schema").String;
2254
2254
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2255
2255
  readonly user: import("effect/Schema").Struct<{
@@ -2300,13 +2300,13 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2300
2300
  readonly updatedAt: import("effect/Schema").DateFromString;
2301
2301
  }>;
2302
2302
  }>>, 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>;
2303
- 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<{
2303
+ readonly apiKeyDelete: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"apiKeyDelete", "POST", "/api/auth/api-key/delete", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2304
2304
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
2305
2305
  readonly keyId: import("effect/Schema").String;
2306
2306
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2307
2307
  readonly success: import("effect/Schema").Boolean;
2308
2308
  }>>, 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>;
2309
- 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<{
2309
+ readonly apiKeyList: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"apiKeyList", "GET", "/api/auth/api-key/list", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2310
2310
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
2311
2311
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
2312
2312
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
@@ -2343,7 +2343,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2343
2343
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
2344
2344
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
2345
2345
  }>>, 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>;
2346
- 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<{
2346
+ readonly changePassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"changePassword", "POST", "/api/auth/change-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2347
2347
  readonly newPassword: import("effect/Schema").String;
2348
2348
  readonly currentPassword: import("effect/Schema").String;
2349
2349
  readonly revokeOtherSessions: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -2397,7 +2397,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2397
2397
  readonly updatedAt: import("effect/Schema").DateFromString;
2398
2398
  }>;
2399
2399
  }>>, 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>;
2400
- 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<{
2400
+ readonly getSession: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2401
2401
  readonly disableCookieCache: import("effect/Schema").optional<import("effect/Schema").String>;
2402
2402
  readonly disableRefresh: import("effect/Schema").optional<import("effect/Schema").String>;
2403
2403
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -2462,7 +2462,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2462
2462
  readonly updatedAt: import("effect/Schema").DateFromString;
2463
2463
  }>;
2464
2464
  }>>>, 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>;
2465
- 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<{
2465
+ readonly linkSocial: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"linkSocial", "POST", "/api/auth/link-social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2466
2466
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
2467
2467
  readonly provider: import("effect/Schema").String;
2468
2468
  readonly idToken: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -2530,7 +2530,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2530
2530
  }>>;
2531
2531
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
2532
2532
  }>>, 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>;
2533
- 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<{
2533
+ readonly listAccounts: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listAccounts", "GET", "/api/auth/list-accounts", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2534
2534
  readonly id: import("effect/Schema").String;
2535
2535
  readonly providerId: import("effect/Schema").String;
2536
2536
  readonly createdAt: import("effect/Schema").DateFromString;
@@ -2539,7 +2539,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2539
2539
  readonly userId: import("effect/Schema").String;
2540
2540
  readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
2541
2541
  }>>>, 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>;
2542
- 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<{
2542
+ readonly oauthConsent: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"oauthConsent", "POST", "/api/auth/oauth2/consent", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2543
2543
  readonly accept: import("effect/Schema").Boolean;
2544
2544
  readonly scope: import("effect/Schema").optional<import("effect/Schema").String>;
2545
2545
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -2547,7 +2547,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2547
2547
  readonly redirect: import("effect/Schema").Boolean;
2548
2548
  readonly url: import("effect/Schema").String;
2549
2549
  }>>, 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>;
2550
- 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<{
2550
+ readonly oauthPublicClient: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"oauthPublicClient", "GET", "/api/auth/oauth2/public-client", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2551
2551
  readonly client_id: import("effect/Schema").String;
2552
2552
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2553
2553
  readonly client_id: import("effect/Schema").String;
@@ -2559,7 +2559,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2559
2559
  readonly policy_uri: import("effect/Schema").optional<import("effect/Schema").String>;
2560
2560
  readonly redirect_uris: import("effect/Schema").$Array<import("effect/Schema").String>;
2561
2561
  }>>, 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>;
2562
- 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<{
2562
+ readonly organizationAcceptInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationAcceptInvitation", "POST", "/api/auth/organization/accept-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2563
2563
  readonly invitationId: import("effect/Schema").String;
2564
2564
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2565
2565
  readonly invitation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -2582,7 +2582,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2582
2582
  readonly createdAt: import("effect/Schema").DateFromString;
2583
2583
  }>>;
2584
2584
  }>>, 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>;
2585
- 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<{
2585
+ readonly organizationCancelInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationCancelInvitation", "POST", "/api/auth/organization/cancel-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2586
2586
  readonly invitationId: import("effect/Schema").String;
2587
2587
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2588
2588
  readonly id: import("effect/Schema").String;
@@ -2596,7 +2596,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2596
2596
  readonly expiresAt: import("effect/Schema").DateFromString;
2597
2597
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
2598
2598
  }>>, 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>;
2599
- 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<{
2599
+ readonly organizationCreate: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationCreate", "POST", "/api/auth/organization/create", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2600
2600
  readonly name: import("effect/Schema").NonEmptyString;
2601
2601
  readonly slug: import("effect/Schema").NonEmptyString;
2602
2602
  readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2613,7 +2613,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2613
2613
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2614
2614
  readonly createdAt: import("effect/Schema").DateFromString;
2615
2615
  }>>, 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>;
2616
- 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<{
2616
+ readonly organizationGetFull: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationGetFull", "GET", "/api/auth/organization/get-full-organization", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2617
2617
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
2618
2618
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
2619
2619
  readonly membersLimit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
@@ -2684,7 +2684,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2684
2684
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
2685
2685
  }>>;
2686
2686
  }>>>, 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>;
2687
- 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<{
2687
+ readonly organizationGetInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationGetInvitation", "GET", "/api/auth/organization/get-invitation", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2688
2688
  readonly id: import("effect/Schema").String;
2689
2689
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2690
2690
  readonly id: import("effect/Schema").String;
@@ -2700,7 +2700,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2700
2700
  readonly organizationSlug: import("effect/Schema").String;
2701
2701
  readonly inviterEmail: import("effect/Schema").String;
2702
2702
  }>>, 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>;
2703
- 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<{
2703
+ readonly organizationImpersonateUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationImpersonateUser", "POST", "/api/auth/organization/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2704
2704
  readonly organizationId: import("effect/Schema").NonEmptyString;
2705
2705
  readonly actorUserId: import("effect/Schema").NonEmptyString;
2706
2706
  readonly targetUserId: import("effect/Schema").NonEmptyString;
@@ -2767,7 +2767,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2767
2767
  readonly updatedAt: import("effect/Schema").DateFromString;
2768
2768
  }>;
2769
2769
  }>>, 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>;
2770
- 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<{
2770
+ readonly organizationInviteMember: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationInviteMember", "POST", "/api/auth/organization/invite-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2771
2771
  readonly email: import("effect/Schema").String;
2772
2772
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
2773
2773
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -2785,7 +2785,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2785
2785
  readonly expiresAt: import("effect/Schema").DateFromString;
2786
2786
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
2787
2787
  }>>, 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>;
2788
- 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<{
2788
+ readonly organizationLeave: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationLeave", "POST", "/api/auth/organization/leave", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2789
2789
  readonly organizationId: import("effect/Schema").String;
2790
2790
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2791
2791
  readonly id: import("effect/Schema").String;
@@ -2794,7 +2794,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2794
2794
  readonly role: import("effect/Schema").String;
2795
2795
  readonly createdAt: import("effect/Schema").DateFromString;
2796
2796
  }>>, 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>;
2797
- 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<{
2797
+ readonly organizationList: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationList", "GET", "/api/auth/organization/list", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2798
2798
  readonly id: import("effect/Schema").String;
2799
2799
  readonly name: import("effect/Schema").String;
2800
2800
  readonly slug: import("effect/Schema").String;
@@ -2804,7 +2804,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2804
2804
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2805
2805
  readonly createdAt: import("effect/Schema").DateFromString;
2806
2806
  }>>>, 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>;
2807
- 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<{
2807
+ readonly organizationListInvitations: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationListInvitations", "GET", "/api/auth/organization/list-invitations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2808
2808
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
2809
2809
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2810
2810
  readonly id: import("effect/Schema").String;
@@ -2818,7 +2818,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2818
2818
  readonly expiresAt: import("effect/Schema").DateFromString;
2819
2819
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
2820
2820
  }>>>, 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>;
2821
- 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<{
2821
+ readonly organizationListMembers: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationListMembers", "GET", "/api/auth/organization/list-members", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2822
2822
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
2823
2823
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
2824
2824
  readonly sortBy: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -2876,7 +2876,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2876
2876
  }>>;
2877
2877
  readonly total: import("effect/Schema").Number;
2878
2878
  }>>, 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>;
2879
- 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<{
2879
+ readonly organizationListUserInvitations: HttpApiClient.Client.Method<import("effect/http-api/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<{
2880
2880
  readonly id: import("effect/Schema").String;
2881
2881
  readonly email: import("effect/Schema").String;
2882
2882
  readonly role: import("effect/Schema").String;
@@ -2888,7 +2888,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2888
2888
  readonly expiresAt: import("effect/Schema").DateFromString;
2889
2889
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
2890
2890
  }>>>, 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>;
2891
- 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<{
2891
+ readonly organizationRejectInvitation: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationRejectInvitation", "POST", "/api/auth/organization/reject-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2892
2892
  readonly invitationId: import("effect/Schema").String;
2893
2893
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2894
2894
  readonly invitation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -2911,7 +2911,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2911
2911
  readonly createdAt: import("effect/Schema").DateFromString;
2912
2912
  }>>;
2913
2913
  }>>, 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>;
2914
- 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<{
2914
+ readonly organizationRemoveMember: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationRemoveMember", "POST", "/api/auth/organization/remove-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2915
2915
  readonly memberIdOrEmail: import("effect/Schema").String;
2916
2916
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
2917
2917
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -2923,7 +2923,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2923
2923
  readonly createdAt: import("effect/Schema").DateFromString;
2924
2924
  }>;
2925
2925
  }>>, 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>;
2926
- 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<{
2926
+ readonly organizationSetActive: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationSetActive", "POST", "/api/auth/organization/set-active", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2927
2927
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2928
2928
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
2929
2929
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -2936,7 +2936,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2936
2936
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2937
2937
  readonly createdAt: import("effect/Schema").DateFromString;
2938
2938
  }>>>, 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>;
2939
- 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<{
2939
+ readonly organizationUpdate: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdate", "POST", "/api/auth/organization/update", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2940
2940
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
2941
2941
  readonly data: import("effect/Schema").Struct<{
2942
2942
  readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
@@ -2955,7 +2955,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2955
2955
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2956
2956
  readonly createdAt: import("effect/Schema").DateFromString;
2957
2957
  }>>, 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>;
2958
- 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<{
2958
+ readonly organizationUpdateMemberRole: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdateMemberRole", "POST", "/api/auth/organization/update-member-role", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2959
2959
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
2960
2960
  readonly memberId: import("effect/Schema").String;
2961
2961
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -2966,26 +2966,26 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
2966
2966
  readonly role: import("effect/Schema").String;
2967
2967
  readonly createdAt: import("effect/Schema").DateFromString;
2968
2968
  }>>, 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>;
2969
- 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<{
2969
+ readonly requestPasswordReset: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"requestPasswordReset", "POST", "/api/auth/request-password-reset", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2970
2970
  readonly email: import("effect/Schema").String;
2971
2971
  readonly redirectTo: import("effect/Schema").optional<import("effect/Schema").String>;
2972
2972
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2973
2973
  readonly status: import("effect/Schema").Boolean;
2974
2974
  readonly message: import("effect/Schema").String;
2975
2975
  }>>, 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>;
2976
- 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<{
2976
+ readonly resetPassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resetPassword", "POST", "/api/auth/reset-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2977
2977
  readonly newPassword: import("effect/Schema").String;
2978
2978
  readonly token: import("effect/Schema").optional<import("effect/Schema").String>;
2979
2979
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2980
2980
  readonly status: import("effect/Schema").Boolean;
2981
2981
  }>>, 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>;
2982
- 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<{
2982
+ readonly sendVerificationOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"sendVerificationOtp", "POST", "/api/auth/email-otp/send-verification-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2983
2983
  readonly email: import("effect/Schema").String;
2984
2984
  readonly type: import("effect/Schema").Literals<readonly ["sign-in", "email-verification", "forget-password"]>;
2985
2985
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2986
2986
  readonly success: import("effect/Schema").Boolean;
2987
2987
  }>>, 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>;
2988
- 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<{
2988
+ readonly signInEmail: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signInEmail", "POST", "/api/auth/sign-in/email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2989
2989
  readonly email: import("effect/Schema").String;
2990
2990
  readonly password: import("effect/Schema").String;
2991
2991
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -3047,7 +3047,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3047
3047
  readonly twoFactorMethods: import("effect/Schema").$Array<import("effect/Schema").String>;
3048
3048
  readonly url: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
3049
3049
  }>]>>, 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>;
3050
- 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<{
3050
+ readonly signInEmailOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signInEmailOtp", "POST", "/api/auth/sign-in/email-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3051
3051
  readonly email: import("effect/Schema").String;
3052
3052
  readonly otp: import("effect/Schema").String;
3053
3053
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -3102,7 +3102,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3102
3102
  readonly updatedAt: import("effect/Schema").DateFromString;
3103
3103
  }>;
3104
3104
  }>>, 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>;
3105
- 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<{
3105
+ readonly signInSocial: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signInSocial", "POST", "/api/auth/sign-in/social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3106
3106
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
3107
3107
  readonly newUserCallbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
3108
3108
  readonly errorCallbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -3180,27 +3180,27 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3180
3180
  }>>;
3181
3181
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
3182
3182
  }>>, 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>;
3183
- 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<{
3183
+ readonly signOut: HttpApiClient.Client.Method<import("effect/http-api/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<{
3184
3184
  readonly success: import("effect/Schema").Boolean;
3185
3185
  }>>, 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>;
3186
- 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<{
3186
+ readonly twoFactorDisable: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorDisable", "POST", "/api/auth/two-factor/disable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3187
3187
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
3188
3188
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3189
3189
  readonly status: import("effect/Schema").Boolean;
3190
3190
  }>>, 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>;
3191
- 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<{
3191
+ readonly twoFactorEnable: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorEnable", "POST", "/api/auth/two-factor/enable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3192
3192
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
3193
3193
  readonly issuer: import("effect/Schema").optional<import("effect/Schema").String>;
3194
3194
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3195
3195
  readonly totpURI: import("effect/Schema").String;
3196
3196
  readonly backupCodes: import("effect/Schema").$Array<import("effect/Schema").String>;
3197
3197
  }>>, 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>;
3198
- 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<{
3198
+ readonly twoFactorSendOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorSendOtp", "POST", "/api/auth/two-factor/send-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3199
3199
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
3200
3200
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3201
3201
  readonly status: import("effect/Schema").Boolean;
3202
3202
  }>>, 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>;
3203
- 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<{
3203
+ readonly twoFactorVerifyBackupCode: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyBackupCode", "POST", "/api/auth/two-factor/verify-backup-code", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3204
3204
  readonly code: import("effect/Schema").String;
3205
3205
  readonly disableSession: import("effect/Schema").optional<import("effect/Schema").Boolean>;
3206
3206
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -3255,7 +3255,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3255
3255
  readonly updatedAt: import("effect/Schema").DateFromString;
3256
3256
  }>;
3257
3257
  }>>, 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>;
3258
- 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<{
3258
+ readonly twoFactorVerifyOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyOtp", "POST", "/api/auth/two-factor/verify-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3259
3259
  readonly code: import("effect/Schema").String;
3260
3260
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
3261
3261
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -3309,7 +3309,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3309
3309
  readonly updatedAt: import("effect/Schema").DateFromString;
3310
3310
  }>;
3311
3311
  }>>, 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>;
3312
- 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<{
3312
+ readonly twoFactorVerifyTotp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyTotp", "POST", "/api/auth/two-factor/verify-totp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3313
3313
  readonly code: import("effect/Schema").String;
3314
3314
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
3315
3315
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -3363,13 +3363,13 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3363
3363
  readonly updatedAt: import("effect/Schema").DateFromString;
3364
3364
  }>;
3365
3365
  }>>, 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>;
3366
- 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<{
3366
+ readonly unlinkAccount: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"unlinkAccount", "POST", "/api/auth/unlink-account", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3367
3367
  readonly providerId: import("effect/Schema").String;
3368
3368
  readonly accountId: import("effect/Schema").optional<import("effect/Schema").String>;
3369
3369
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3370
3370
  readonly status: import("effect/Schema").Boolean;
3371
3371
  }>>, 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>;
3372
- 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<{
3372
+ readonly updateUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateUser", "POST", "/api/auth/update-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3373
3373
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
3374
3374
  readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
3375
3375
  readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -3407,7 +3407,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3407
3407
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3408
3408
  readonly status: import("effect/Schema").Boolean;
3409
3409
  }>>, 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>;
3410
- 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<{
3410
+ readonly verifyEmailOtp: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"verifyEmailOtp", "POST", "/api/auth/email-otp/verify-email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3411
3411
  readonly email: import("effect/Schema").String;
3412
3412
  readonly otp: import("effect/Schema").String;
3413
3413
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -3463,7 +3463,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3463
3463
  }>>, 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>;
3464
3464
  };
3465
3465
  authExtra: {
3466
- 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<{
3466
+ readonly createApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3467
3467
  readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
3468
3468
  readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
3469
3469
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -3473,7 +3473,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3473
3473
  readonly id: import("effect/Schema").String;
3474
3474
  readonly key: import("effect/Schema").String;
3475
3475
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
3476
- readonly getOrganizationPublicProfile: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationPublicProfile", "GET", "/api/auth/organization-profile", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3476
+ readonly getOrganizationPublicProfile: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationPublicProfile", "GET", "/api/auth/organization-profile", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3477
3477
  readonly organizationId: import("effect/Schema").String;
3478
3478
  readonly locale: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>>;
3479
3479
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -3527,7 +3527,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3527
3527
  readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
3528
3528
  readonly icon: import("effect/Schema").NullOr<import("effect/Schema").String>;
3529
3529
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3530
- readonly getProjectPublicConfig: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3530
+ readonly getProjectPublicConfig: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3531
3531
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
3532
3532
  readonly clientId: import("effect/Schema").optional<import("effect/Schema").String>;
3533
3533
  readonly host: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -3545,18 +3545,18 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3545
3545
  readonly google: import("effect/Schema").Boolean;
3546
3546
  }>;
3547
3547
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3548
- 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<{
3548
+ readonly listAssociatedProjects: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listAssociatedProjects", "GET", "/api/auth/associated-projects", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3549
3549
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
3550
3550
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3551
3551
  readonly id: import("effect/Schema").String;
3552
3552
  readonly name: import("effect/Schema").String;
3553
3553
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3554
- 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<{
3554
+ readonly setPassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setPassword", "POST", "/api/auth/set-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3555
3555
  readonly newPassword: import("effect/Schema").NonEmptyString;
3556
3556
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3557
3557
  readonly ok: import("effect/Schema").Boolean;
3558
3558
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
3559
- readonly updateApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateApiKey", "PATCH", "/api/auth/api-key/:keyId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3559
+ readonly updateApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateApiKey", "PATCH", "/api/auth/api-key/:keyId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3560
3560
  keyId: import("effect/Schema").NonEmptyString;
3561
3561
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3562
3562
  readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
@@ -3567,12 +3567,12 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3567
3567
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3568
3568
  readonly ok: import("effect/Schema").Boolean;
3569
3569
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
3570
- readonly uploadUserImage: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", never, never, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
3571
- readonly file: import("effect/Schema").decodeTo<import("effect/unstable/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/unstable/http/Multipart").PersistedFileSchema>, never, never>;
3570
+ readonly uploadUserImage: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", never, never, import("effect/Schema").toCodecJson<import("effect/http-api/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
3571
+ readonly file: import("effect/Schema").decodeTo<import("effect/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/http/Multipart").PersistedFileSchema>, never, never>;
3572
3572
  }>>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3573
3573
  readonly url: import("effect/Schema").String;
3574
3574
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
3575
- readonly verifyApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3575
+ readonly verifyApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3576
3576
  readonly key: import("effect/Schema").NonEmptyString;
3577
3577
  readonly configId: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>>;
3578
3578
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -3596,14 +3596,14 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3596
3596
  readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Unknown>;
3597
3597
  }>>;
3598
3598
  }>>, import("effect/Schema").toCodecJson<typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
3599
- readonly verifyPassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyPassword", "POST", "/api/auth/verify-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3599
+ readonly verifyPassword: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"verifyPassword", "POST", "/api/auth/verify-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3600
3600
  readonly password: import("effect/Schema").NonEmptyString;
3601
3601
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3602
3602
  readonly ok: import("effect/Schema").Boolean;
3603
3603
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError | typeof import("./extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
3604
3604
  };
3605
3605
  domains: {
3606
- readonly createDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/domains", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3606
+ readonly createDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/domains", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3607
3607
  readonly hostname: import("effect/Schema").NonEmptyString;
3608
3608
  readonly rootHostname: import("effect/Schema").NonEmptyString;
3609
3609
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -3625,7 +3625,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3625
3625
  readonly createdAt: import("effect/Schema").Date;
3626
3626
  readonly updatedAt: import("effect/Schema").Date;
3627
3627
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3628
- readonly deleteDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3628
+ readonly deleteDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3629
3629
  readonly id: import("effect/Schema").NonEmptyString;
3630
3630
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3631
3631
  readonly id: import("effect/Schema").String;
@@ -3643,7 +3643,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3643
3643
  readonly createdAt: import("effect/Schema").Date;
3644
3644
  readonly updatedAt: import("effect/Schema").Date;
3645
3645
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3646
- readonly getDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomain", "GET", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3646
+ readonly getDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getDomain", "GET", "/api/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3647
3647
  readonly id: import("effect/Schema").NonEmptyString;
3648
3648
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3649
3649
  readonly id: import("effect/Schema").String;
@@ -3661,7 +3661,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3661
3661
  readonly createdAt: import("effect/Schema").Date;
3662
3662
  readonly updatedAt: import("effect/Schema").Date;
3663
3663
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3664
- readonly getDomainByHost: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainByHost", "GET", "/api/domains/by-host/:hostname", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3664
+ readonly getDomainByHost: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getDomainByHost", "GET", "/api/domains/by-host/:hostname", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3665
3665
  readonly hostname: import("effect/Schema").NonEmptyString;
3666
3666
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3667
3667
  readonly id: import("effect/Schema").String;
@@ -3679,7 +3679,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3679
3679
  readonly createdAt: import("effect/Schema").Date;
3680
3680
  readonly updatedAt: import("effect/Schema").Date;
3681
3681
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3682
- readonly getDomainRecords: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/domains/:id/records", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3682
+ readonly getDomainRecords: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/domains/:id/records", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3683
3683
  readonly id: import("effect/Schema").NonEmptyString;
3684
3684
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3685
3685
  readonly required: import("effect/Schema").Boolean;
@@ -3690,7 +3690,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3690
3690
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3691
3691
  };
3692
3692
  organizations: {
3693
- readonly getActiveMember: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getActiveMember", "GET", "/api/organizations/:organizationId/members/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3693
+ readonly getActiveMember: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getActiveMember", "GET", "/api/organizations/:organizationId/members/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3694
3694
  readonly organizationId: import("effect/Schema").NonEmptyString;
3695
3695
  readonly userId: import("effect/Schema").NonEmptyString;
3696
3696
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -3744,7 +3744,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3744
3744
  readonly updatedAt: import("effect/Schema").Date;
3745
3745
  }>;
3746
3746
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3747
- readonly getOrganization: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getOrganization", "GET", "/api/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3747
+ readonly getOrganization: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getOrganization", "GET", "/api/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3748
3748
  readonly id: import("effect/Schema").NonEmptyString;
3749
3749
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3750
3750
  readonly id: import("effect/Schema").String;
@@ -3805,7 +3805,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3805
3805
  readonly parentId: import("effect/Schema").NullOr<import("effect/Schema").String>;
3806
3806
  readonly createdAt: import("effect/Schema").Date;
3807
3807
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3808
- readonly getOrganizationChildren: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationChildren", "GET", "/api/organizations/:organizationId/children", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3808
+ readonly getOrganizationChildren: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getOrganizationChildren", "GET", "/api/organizations/:organizationId/children", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3809
3809
  readonly organizationId: import("effect/Schema").NonEmptyString;
3810
3810
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3811
3811
  readonly id: import("effect/Schema").String;
@@ -3866,7 +3866,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3866
3866
  readonly parentId: import("effect/Schema").NullOr<import("effect/Schema").String>;
3867
3867
  readonly createdAt: import("effect/Schema").Date;
3868
3868
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3869
- readonly listOrganizationMembers: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listOrganizationMembers", "GET", "/api/organizations/:organizationId/members", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3869
+ readonly listOrganizationMembers: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listOrganizationMembers", "GET", "/api/organizations/:organizationId/members", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3870
3870
  readonly organizationId: import("effect/Schema").NonEmptyString;
3871
3871
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3872
3872
  readonly id: import("effect/Schema").String;
@@ -3919,7 +3919,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3919
3919
  readonly updatedAt: import("effect/Schema").Date;
3920
3920
  }>;
3921
3921
  }>>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3922
- readonly listOrganizations: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listOrganizations", "GET", "/api/organizations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3922
+ readonly listOrganizations: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listOrganizations", "GET", "/api/organizations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3923
3923
  readonly ids: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
3924
3924
  readonly userId: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
3925
3925
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -3986,7 +3986,7 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
3986
3986
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
3987
3987
  };
3988
3988
  users: {
3989
- readonly getUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/api/users/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3989
+ readonly getUser: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/api/users/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
3990
3990
  readonly id: import("effect/Schema").NonEmptyString;
3991
3991
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
3992
3992
  readonly id: import("effect/Schema").String;
@@ -4032,12 +4032,12 @@ declare const AuthService_base: Context.ServiceClass<AuthService, "@krak-stack/a
4032
4032
  readonly createdAt: import("effect/Schema").Date;
4033
4033
  readonly updatedAt: import("effect/Schema").Date;
4034
4034
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
4035
- readonly getUserActiveOrganization: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUserActiveOrganization", "GET", "/api/organizations/user/:userId/active", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
4035
+ readonly getUserActiveOrganization: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getUserActiveOrganization", "GET", "/api/organizations/user/:userId/active", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
4036
4036
  readonly userId: import("effect/Schema").NonEmptyString;
4037
4037
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
4038
4038
  readonly id: import("effect/Schema").NullOr<import("effect/Schema").String>;
4039
4039
  }>>, import("effect/Schema").toCodecJson<typeof HttpApiError.Unauthorized | typeof HttpApiError.InternalServerError>, never, never>, never, never>;
4040
- readonly listUsersByIds: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listUsersByIds", "GET", "/api/users", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
4040
+ readonly listUsersByIds: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listUsersByIds", "GET", "/api/users", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
4041
4041
  readonly ids: import("effect/Schema").NonEmptyString;
4042
4042
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
4043
4043
  readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{