@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
@@ -1,10 +1,10 @@
1
1
  import { Effect } from "effect";
2
- import { AtomHttpApi } from "effect/unstable/reactivity";
3
- import { HttpApi, HttpApiClient } from "effect/unstable/httpapi";
2
+ import { AtomHttpApi } from "effect/reactivity";
3
+ import { HttpApi, HttpApiClient } from "effect/http-api";
4
4
  import { AuthClientApi } from "../api.js";
5
5
  export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?: (() => "en" | "fr") | undefined) => Effect.Effect<{
6
6
  readonly admin: {
7
- readonly createDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/auth/admin/domains", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
7
+ readonly createDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/auth/admin/domains", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
8
8
  readonly hostname: import("effect/Schema").NonEmptyString;
9
9
  readonly rootHostname: import("effect/Schema").NonEmptyString;
10
10
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -25,8 +25,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
25
25
  readonly active: import("effect/Schema").Boolean;
26
26
  readonly createdAt: import("effect/Schema").Date;
27
27
  readonly updatedAt: import("effect/Schema").Date;
28
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
29
- readonly createOrganization: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createOrganization", "POST", "/api/auth/admin/organizations", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
28
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").BadRequest | typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
29
+ readonly createOrganization: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createOrganization", "POST", "/api/auth/admin/organizations", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
30
30
  readonly name: import("effect/Schema").NonEmptyString;
31
31
  readonly slug: import("effect/Schema").NonEmptyString;
32
32
  readonly logo: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -52,8 +52,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
52
52
  readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
53
53
  }>>>;
54
54
  readonly createdAt: import("effect/Schema").Date;
55
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
56
- readonly dashboardStats: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"dashboardStats", "GET", "/api/auth/admin/dashboard-stats", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
55
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
56
+ readonly dashboardStats: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"dashboardStats", "GET", "/api/auth/admin/dashboard-stats", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
57
57
  readonly days: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"7">, import("effect/Schema").Literal<"14">, import("effect/Schema").Literal<"30">, import("effect/Schema").Literal<"90">]>>;
58
58
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
59
59
  readonly totalUsers: import("effect/Schema").Number;
@@ -77,8 +77,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
77
77
  readonly users: import("effect/Schema").Number;
78
78
  readonly organizations: import("effect/Schema").Number;
79
79
  }>>;
80
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
81
- readonly deleteApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteApiKey", "DELETE", "/api/auth/admin/api-keys/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
80
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
81
+ readonly deleteApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"deleteApiKey", "DELETE", "/api/auth/admin/api-keys/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
82
82
  readonly id: import("effect/Schema").String;
83
83
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
84
84
  readonly id: import("effect/Schema").String;
@@ -99,8 +99,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
99
99
  readonly permissions: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>;
100
100
  readonly createdAt: import("effect/Schema").Date;
101
101
  readonly updatedAt: import("effect/Schema").Date;
102
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
103
- readonly deleteDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/auth/admin/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
102
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
103
+ readonly deleteDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/auth/admin/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
104
104
  readonly id: import("effect/Schema").NonEmptyString;
105
105
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
106
106
  readonly id: import("effect/Schema").String;
@@ -117,8 +117,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
117
117
  readonly active: import("effect/Schema").Boolean;
118
118
  readonly createdAt: import("effect/Schema").Date;
119
119
  readonly updatedAt: import("effect/Schema").Date;
120
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
121
- readonly deleteOrganization: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteOrganization", "DELETE", "/api/auth/admin/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
120
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
121
+ readonly deleteOrganization: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"deleteOrganization", "DELETE", "/api/auth/admin/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
122
122
  readonly id: import("effect/Schema").String;
123
123
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
124
124
  readonly id: import("effect/Schema").String;
@@ -141,8 +141,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
141
141
  readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
142
142
  }>>>;
143
143
  readonly createdAt: import("effect/Schema").Date;
144
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
145
- readonly disableApiKeyRateLimit: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"disableApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/disable-rate-limit", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
144
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
145
+ readonly disableApiKeyRateLimit: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"disableApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/disable-rate-limit", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
146
146
  readonly id: import("effect/Schema").String;
147
147
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
148
148
  readonly id: import("effect/Schema").String;
@@ -163,8 +163,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
163
163
  readonly permissions: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>;
164
164
  readonly createdAt: import("effect/Schema").Date;
165
165
  readonly updatedAt: import("effect/Schema").Date;
166
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
167
- readonly enableApiKeyRateLimit: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"enableApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/enable-rate-limit", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
166
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
167
+ readonly enableApiKeyRateLimit: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"enableApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/enable-rate-limit", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
168
168
  readonly id: import("effect/Schema").String;
169
169
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
170
170
  readonly id: import("effect/Schema").String;
@@ -185,8 +185,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
185
185
  readonly permissions: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>;
186
186
  readonly createdAt: import("effect/Schema").Date;
187
187
  readonly updatedAt: import("effect/Schema").Date;
188
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
189
- readonly getDomainRecords: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/auth/admin/domains/:id/records", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
188
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
189
+ readonly getDomainRecords: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/auth/admin/domains/:id/records", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
190
190
  readonly id: import("effect/Schema").NonEmptyString;
191
191
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
192
192
  readonly required: import("effect/Schema").Boolean;
@@ -194,8 +194,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
194
194
  readonly type: import("effect/Schema").String;
195
195
  readonly name: import("effect/Schema").String;
196
196
  readonly value: import("effect/Schema").String;
197
- }>>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
198
- readonly listApiKeys: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listApiKeys", "GET", "/api/auth/admin/api-keys", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
197
+ }>>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
198
+ readonly listApiKeys: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listApiKeys", "GET", "/api/auth/admin/api-keys", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
199
199
  readonly id: import("effect/Schema").String;
200
200
  readonly configId: import("effect/Schema").String;
201
201
  readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
@@ -214,8 +214,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
214
214
  readonly permissions: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>;
215
215
  readonly createdAt: import("effect/Schema").Date;
216
216
  readonly updatedAt: import("effect/Schema").Date;
217
- }>>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
218
- readonly listDomains: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listDomains", "GET", "/api/auth/admin/domains", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
217
+ }>>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
218
+ readonly listDomains: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listDomains", "GET", "/api/auth/admin/domains", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
219
219
  readonly id: import("effect/Schema").String;
220
220
  readonly hostname: import("effect/Schema").String;
221
221
  readonly rootHostname: import("effect/Schema").String;
@@ -230,15 +230,18 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
230
230
  readonly active: import("effect/Schema").Boolean;
231
231
  readonly createdAt: import("effect/Schema").Date;
232
232
  readonly updatedAt: import("effect/Schema").Date;
233
- }>>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
234
- readonly listOrganizations: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listOrganizations", "GET", "/api/auth/admin/organizations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
235
- readonly page: import("effect/Schema").Int;
236
- readonly pageSize: import("effect/Schema").Int;
233
+ }>>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
234
+ readonly listOrganizations: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listOrganizations", "GET", "/api/auth/admin/organizations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
235
+ readonly page: import("effect/Schema").decodeTo<import("effect/Schema").Int, import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Number, import("effect/Schema").NumberFromString]>>, never, never>;
236
+ readonly pageSize: import("effect/Schema").decodeTo<import("effect/Schema").Int, import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Number, import("effect/Schema").NumberFromString]>>, never, never>;
237
237
  readonly globalFilter: import("effect/Schema").optional<import("effect/Schema").String>;
238
- readonly sort: import("effect/Schema").optional<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
239
- readonly id: import("effect/Schema").NonEmptyString;
240
- readonly direction: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"asc">, import("effect/Schema").Literal<"desc">]>;
241
- }>>, import("effect/Schema").String, never, never>, never, never>>;
238
+ readonly sort: import("effect/Schema").optional<import("effect/Schema").declare<readonly {
239
+ readonly id: string;
240
+ readonly direction: "asc" | "desc";
241
+ }[], readonly {
242
+ readonly id: string;
243
+ readonly direction: "asc" | "desc";
244
+ }[]>>;
242
245
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
243
246
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
244
247
  readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -269,15 +272,18 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
269
272
  readonly total: import("effect/Schema").Int;
270
273
  readonly pageCount: import("effect/Schema").Int;
271
274
  }>;
272
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
273
- readonly listUsers: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listUsers", "GET", "/api/auth/admin/users", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
274
- readonly page: import("effect/Schema").Int;
275
- readonly pageSize: import("effect/Schema").Int;
275
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
276
+ readonly listUsers: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listUsers", "GET", "/api/auth/admin/users", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
277
+ readonly page: import("effect/Schema").decodeTo<import("effect/Schema").Int, import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Number, import("effect/Schema").NumberFromString]>>, never, never>;
278
+ readonly pageSize: import("effect/Schema").decodeTo<import("effect/Schema").Int, import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Number, import("effect/Schema").NumberFromString]>>, never, never>;
276
279
  readonly globalFilter: import("effect/Schema").optional<import("effect/Schema").String>;
277
- readonly sort: import("effect/Schema").optional<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
278
- readonly id: import("effect/Schema").NonEmptyString;
279
- readonly direction: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"asc">, import("effect/Schema").Literal<"desc">]>;
280
- }>>, import("effect/Schema").String, never, never>, never, never>>;
280
+ readonly sort: import("effect/Schema").optional<import("effect/Schema").declare<readonly {
281
+ readonly id: string;
282
+ readonly direction: "asc" | "desc";
283
+ }[], readonly {
284
+ readonly id: string;
285
+ readonly direction: "asc" | "desc";
286
+ }[]>>;
281
287
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
282
288
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
283
289
  readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -309,8 +315,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
309
315
  readonly total: import("effect/Schema").Int;
310
316
  readonly pageCount: import("effect/Schema").Int;
311
317
  }>;
312
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
313
- readonly resetApiKeyRateLimit: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resetApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/reset-rate-limit", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
318
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
319
+ readonly resetApiKeyRateLimit: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resetApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/reset-rate-limit", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
314
320
  readonly id: import("effect/Schema").String;
315
321
  }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
316
322
  readonly id: import("effect/Schema").String;
@@ -331,8 +337,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
331
337
  readonly permissions: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>;
332
338
  readonly createdAt: import("effect/Schema").Date;
333
339
  readonly updatedAt: import("effect/Schema").Date;
334
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
335
- readonly updateApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateApiKey", "PATCH", "/api/auth/admin/api-keys/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
340
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
341
+ readonly updateApiKey: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateApiKey", "PATCH", "/api/auth/admin/api-keys/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
336
342
  readonly id: import("effect/Schema").String;
337
343
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
338
344
  readonly name: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -360,8 +366,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
360
366
  readonly permissions: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>;
361
367
  readonly createdAt: import("effect/Schema").Date;
362
368
  readonly updatedAt: import("effect/Schema").Date;
363
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
364
- readonly updateDomain: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateDomain", "PATCH", "/api/auth/admin/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
369
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
370
+ readonly updateDomain: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateDomain", "PATCH", "/api/auth/admin/domains/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
365
371
  readonly id: import("effect/Schema").NonEmptyString;
366
372
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
367
373
  readonly hostname: import("effect/Schema").NonEmptyString;
@@ -384,8 +390,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
384
390
  readonly active: import("effect/Schema").Boolean;
385
391
  readonly createdAt: import("effect/Schema").Date;
386
392
  readonly updatedAt: import("effect/Schema").Date;
387
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
388
- readonly updateOrganization: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateOrganization", "PATCH", "/api/auth/admin/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
393
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
394
+ readonly updateOrganization: HttpApiClient.Client.Method<import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateOrganization", "PATCH", "/api/auth/admin/organizations/:id", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
389
395
  readonly id: import("effect/Schema").String;
390
396
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
391
397
  readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
@@ -413,10 +419,10 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
413
419
  readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
414
420
  }>>>;
415
421
  readonly createdAt: import("effect/Schema").Date;
416
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
422
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
417
423
  };
418
424
  readonly auth: {
419
- 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<{
425
+ 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<{
420
426
  readonly userId: import("effect/Schema").String;
421
427
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").String>;
422
428
  readonly banExpiresIn: import("effect/Schema").optional<import("effect/Schema").Number>;
@@ -469,7 +475,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
469
475
  readonly updatedAt: import("effect/Schema").DateFromString;
470
476
  }>;
471
477
  }>>, 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>;
472
- readonly adminImpersonateUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminImpersonateUser", "POST", "/api/auth/admin/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
478
+ 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<{
473
479
  readonly userId: import("effect/Schema").String;
474
480
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
475
481
  readonly session: import("effect/Schema").Struct<{
@@ -533,7 +539,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
533
539
  readonly updatedAt: import("effect/Schema").DateFromString;
534
540
  }>;
535
541
  }>>, 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>;
536
- readonly adminStopImpersonating: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminStopImpersonating", "POST", "/api/auth/admin/stop-impersonating", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
542
+ 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<{
537
543
  readonly session: import("effect/Schema").Struct<{
538
544
  readonly id: import("effect/Schema").String;
539
545
  readonly expiresAt: import("effect/Schema").DateFromString;
@@ -595,7 +601,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
595
601
  readonly updatedAt: import("effect/Schema").DateFromString;
596
602
  }>;
597
603
  }>>, 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>;
598
- readonly adminUnbanUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"adminUnbanUser", "POST", "/api/auth/admin/unban-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
604
+ 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<{
599
605
  readonly userId: import("effect/Schema").String;
600
606
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
601
607
  readonly user: import("effect/Schema").Struct<{
@@ -646,13 +652,13 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
646
652
  readonly updatedAt: import("effect/Schema").DateFromString;
647
653
  }>;
648
654
  }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
649
- readonly apiKeyDelete: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"apiKeyDelete", "POST", "/api/auth/api-key/delete", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
655
+ 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<{
650
656
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
651
657
  readonly keyId: import("effect/Schema").String;
652
658
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
653
659
  readonly success: import("effect/Schema").Boolean;
654
660
  }>>, 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>;
655
- readonly apiKeyList: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"apiKeyList", "GET", "/api/auth/api-key/list", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
661
+ 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<{
656
662
  readonly configId: import("effect/Schema").optional<import("effect/Schema").String>;
657
663
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
658
664
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
@@ -689,7 +695,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
689
695
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
690
696
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
691
697
  }>>, 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>;
692
- readonly changePassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"changePassword", "POST", "/api/auth/change-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
698
+ 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<{
693
699
  readonly newPassword: import("effect/Schema").String;
694
700
  readonly currentPassword: import("effect/Schema").String;
695
701
  readonly revokeOtherSessions: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -743,7 +749,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
743
749
  readonly updatedAt: import("effect/Schema").DateFromString;
744
750
  }>;
745
751
  }>>, 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>;
746
- readonly getSession: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
752
+ 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<{
747
753
  readonly disableCookieCache: import("effect/Schema").optional<import("effect/Schema").String>;
748
754
  readonly disableRefresh: import("effect/Schema").optional<import("effect/Schema").String>;
749
755
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -808,7 +814,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
808
814
  readonly updatedAt: import("effect/Schema").DateFromString;
809
815
  }>;
810
816
  }>>>, 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>;
811
- readonly linkSocial: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"linkSocial", "POST", "/api/auth/link-social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
817
+ 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<{
812
818
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
813
819
  readonly provider: import("effect/Schema").String;
814
820
  readonly idToken: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -876,7 +882,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
876
882
  }>>;
877
883
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
878
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>;
879
- readonly listAccounts: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAccounts", "GET", "/api/auth/list-accounts", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
885
+ 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<{
880
886
  readonly id: import("effect/Schema").String;
881
887
  readonly providerId: import("effect/Schema").String;
882
888
  readonly createdAt: import("effect/Schema").DateFromString;
@@ -885,7 +891,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
885
891
  readonly userId: import("effect/Schema").String;
886
892
  readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
887
893
  }>>>, 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>;
888
- readonly oauthConsent: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"oauthConsent", "POST", "/api/auth/oauth2/consent", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
894
+ 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<{
889
895
  readonly accept: import("effect/Schema").Boolean;
890
896
  readonly scope: import("effect/Schema").optional<import("effect/Schema").String>;
891
897
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -893,7 +899,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
893
899
  readonly redirect: import("effect/Schema").Boolean;
894
900
  readonly url: import("effect/Schema").String;
895
901
  }>>, 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>;
896
- readonly oauthPublicClient: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"oauthPublicClient", "GET", "/api/auth/oauth2/public-client", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
902
+ 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<{
897
903
  readonly client_id: import("effect/Schema").String;
898
904
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
899
905
  readonly client_id: import("effect/Schema").String;
@@ -905,7 +911,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
905
911
  readonly policy_uri: import("effect/Schema").optional<import("effect/Schema").String>;
906
912
  readonly redirect_uris: import("effect/Schema").$Array<import("effect/Schema").String>;
907
913
  }>>, 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>;
908
- readonly organizationAcceptInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationAcceptInvitation", "POST", "/api/auth/organization/accept-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
914
+ 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<{
909
915
  readonly invitationId: import("effect/Schema").String;
910
916
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
911
917
  readonly invitation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -928,7 +934,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
928
934
  readonly createdAt: import("effect/Schema").DateFromString;
929
935
  }>>;
930
936
  }>>, 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>;
931
- readonly organizationCancelInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationCancelInvitation", "POST", "/api/auth/organization/cancel-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
937
+ 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<{
932
938
  readonly invitationId: import("effect/Schema").String;
933
939
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
934
940
  readonly id: import("effect/Schema").String;
@@ -942,7 +948,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
942
948
  readonly expiresAt: import("effect/Schema").DateFromString;
943
949
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
944
950
  }>>, 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>;
945
- readonly organizationCreate: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationCreate", "POST", "/api/auth/organization/create", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
951
+ 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<{
946
952
  readonly name: import("effect/Schema").NonEmptyString;
947
953
  readonly slug: import("effect/Schema").NonEmptyString;
948
954
  readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -959,7 +965,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
959
965
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
960
966
  readonly createdAt: import("effect/Schema").DateFromString;
961
967
  }>>, 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>;
962
- readonly organizationGetFull: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationGetFull", "GET", "/api/auth/organization/get-full-organization", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
968
+ 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<{
963
969
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
964
970
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
965
971
  readonly membersLimit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
@@ -1030,7 +1036,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1030
1036
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1031
1037
  }>>;
1032
1038
  }>>>, 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>;
1033
- readonly organizationGetInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationGetInvitation", "GET", "/api/auth/organization/get-invitation", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1039
+ 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<{
1034
1040
  readonly id: import("effect/Schema").String;
1035
1041
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1036
1042
  readonly id: import("effect/Schema").String;
@@ -1046,7 +1052,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1046
1052
  readonly organizationSlug: import("effect/Schema").String;
1047
1053
  readonly inviterEmail: import("effect/Schema").String;
1048
1054
  }>>, 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>;
1049
- readonly organizationImpersonateUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationImpersonateUser", "POST", "/api/auth/organization/impersonate-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1055
+ 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<{
1050
1056
  readonly organizationId: import("effect/Schema").NonEmptyString;
1051
1057
  readonly actorUserId: import("effect/Schema").NonEmptyString;
1052
1058
  readonly targetUserId: import("effect/Schema").NonEmptyString;
@@ -1113,7 +1119,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1113
1119
  readonly updatedAt: import("effect/Schema").DateFromString;
1114
1120
  }>;
1115
1121
  }>>, 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>;
1116
- readonly organizationInviteMember: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationInviteMember", "POST", "/api/auth/organization/invite-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1122
+ 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<{
1117
1123
  readonly email: import("effect/Schema").String;
1118
1124
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
1119
1125
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1131,7 +1137,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1131
1137
  readonly expiresAt: import("effect/Schema").DateFromString;
1132
1138
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1133
1139
  }>>, 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>;
1134
- readonly organizationLeave: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationLeave", "POST", "/api/auth/organization/leave", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1140
+ 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<{
1135
1141
  readonly organizationId: import("effect/Schema").String;
1136
1142
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1137
1143
  readonly id: import("effect/Schema").String;
@@ -1140,7 +1146,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1140
1146
  readonly role: import("effect/Schema").String;
1141
1147
  readonly createdAt: import("effect/Schema").DateFromString;
1142
1148
  }>>, 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>;
1143
- readonly organizationList: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationList", "GET", "/api/auth/organization/list", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1149
+ 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<{
1144
1150
  readonly id: import("effect/Schema").String;
1145
1151
  readonly name: import("effect/Schema").String;
1146
1152
  readonly slug: import("effect/Schema").String;
@@ -1150,7 +1156,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1150
1156
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1151
1157
  readonly createdAt: import("effect/Schema").DateFromString;
1152
1158
  }>>>, 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>;
1153
- readonly organizationListInvitations: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationListInvitations", "GET", "/api/auth/organization/list-invitations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1159
+ 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<{
1154
1160
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1155
1161
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1156
1162
  readonly id: import("effect/Schema").String;
@@ -1164,7 +1170,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1164
1170
  readonly expiresAt: import("effect/Schema").DateFromString;
1165
1171
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1166
1172
  }>>>, 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>;
1167
- readonly organizationListMembers: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationListMembers", "GET", "/api/auth/organization/list-members", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1173
+ 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<{
1168
1174
  readonly limit: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
1169
1175
  readonly offset: import("effect/Schema").optional<import("effect/Schema").NumberFromString>;
1170
1176
  readonly sortBy: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1222,7 +1228,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1222
1228
  }>>;
1223
1229
  readonly total: import("effect/Schema").Number;
1224
1230
  }>>, 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>;
1225
- readonly organizationListUserInvitations: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationListUserInvitations", "GET", "/api/auth/organization/list-user-invitations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1231
+ 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<{
1226
1232
  readonly id: import("effect/Schema").String;
1227
1233
  readonly email: import("effect/Schema").String;
1228
1234
  readonly role: import("effect/Schema").String;
@@ -1234,7 +1240,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1234
1240
  readonly expiresAt: import("effect/Schema").DateFromString;
1235
1241
  readonly createdAt: import("effect/Schema").optional<import("effect/Schema").DateFromString>;
1236
1242
  }>>>, 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>;
1237
- readonly organizationRejectInvitation: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationRejectInvitation", "POST", "/api/auth/organization/reject-invitation", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1243
+ 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<{
1238
1244
  readonly invitationId: import("effect/Schema").String;
1239
1245
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1240
1246
  readonly invitation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -1257,7 +1263,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1257
1263
  readonly createdAt: import("effect/Schema").DateFromString;
1258
1264
  }>>;
1259
1265
  }>>, 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>;
1260
- readonly organizationRemoveMember: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationRemoveMember", "POST", "/api/auth/organization/remove-member", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1266
+ 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<{
1261
1267
  readonly memberIdOrEmail: import("effect/Schema").String;
1262
1268
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1263
1269
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1269,7 +1275,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1269
1275
  readonly createdAt: import("effect/Schema").DateFromString;
1270
1276
  }>;
1271
1277
  }>>, 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>;
1272
- readonly organizationSetActive: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationSetActive", "POST", "/api/auth/organization/set-active", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1278
+ 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<{
1273
1279
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1274
1280
  readonly organizationSlug: import("effect/Schema").optional<import("effect/Schema").String>;
1275
1281
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -1282,7 +1288,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1282
1288
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1283
1289
  readonly createdAt: import("effect/Schema").DateFromString;
1284
1290
  }>>>, 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>;
1285
- readonly organizationUpdate: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdate", "POST", "/api/auth/organization/update", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1291
+ 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<{
1286
1292
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1287
1293
  readonly data: import("effect/Schema").Struct<{
1288
1294
  readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
@@ -1301,7 +1307,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1301
1307
  readonly parentId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1302
1308
  readonly createdAt: import("effect/Schema").DateFromString;
1303
1309
  }>>, 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>;
1304
- readonly organizationUpdateMemberRole: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"organizationUpdateMemberRole", "POST", "/api/auth/organization/update-member-role", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1310
+ 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<{
1305
1311
  readonly role: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>]>;
1306
1312
  readonly memberId: import("effect/Schema").String;
1307
1313
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1312,26 +1318,26 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1312
1318
  readonly role: import("effect/Schema").String;
1313
1319
  readonly createdAt: import("effect/Schema").DateFromString;
1314
1320
  }>>, 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>;
1315
- readonly requestPasswordReset: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"requestPasswordReset", "POST", "/api/auth/request-password-reset", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1321
+ 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<{
1316
1322
  readonly email: import("effect/Schema").String;
1317
1323
  readonly redirectTo: import("effect/Schema").optional<import("effect/Schema").String>;
1318
1324
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1319
1325
  readonly status: import("effect/Schema").Boolean;
1320
1326
  readonly message: import("effect/Schema").String;
1321
1327
  }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1322
- readonly resetPassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resetPassword", "POST", "/api/auth/reset-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1328
+ 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<{
1323
1329
  readonly newPassword: import("effect/Schema").String;
1324
1330
  readonly token: import("effect/Schema").optional<import("effect/Schema").String>;
1325
1331
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1326
1332
  readonly status: import("effect/Schema").Boolean;
1327
1333
  }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1328
- readonly sendVerificationOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendVerificationOtp", "POST", "/api/auth/email-otp/send-verification-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1334
+ 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<{
1329
1335
  readonly email: import("effect/Schema").String;
1330
1336
  readonly type: import("effect/Schema").Literals<readonly ["sign-in", "email-verification", "forget-password"]>;
1331
1337
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1332
1338
  readonly success: import("effect/Schema").Boolean;
1333
1339
  }>>, 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>;
1334
- readonly signInEmail: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInEmail", "POST", "/api/auth/sign-in/email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1340
+ 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<{
1335
1341
  readonly email: import("effect/Schema").String;
1336
1342
  readonly password: import("effect/Schema").String;
1337
1343
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1393,7 +1399,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1393
1399
  readonly twoFactorMethods: import("effect/Schema").$Array<import("effect/Schema").String>;
1394
1400
  readonly url: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1395
1401
  }>]>>, 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>;
1396
- readonly signInEmailOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInEmailOtp", "POST", "/api/auth/sign-in/email-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1402
+ 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<{
1397
1403
  readonly email: import("effect/Schema").String;
1398
1404
  readonly otp: import("effect/Schema").String;
1399
1405
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1448,7 +1454,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1448
1454
  readonly updatedAt: import("effect/Schema").DateFromString;
1449
1455
  }>;
1450
1456
  }>>, 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>;
1451
- readonly signInSocial: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInSocial", "POST", "/api/auth/sign-in/social", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1457
+ 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<{
1452
1458
  readonly callbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
1453
1459
  readonly newUserCallbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
1454
1460
  readonly errorCallbackURL: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1526,27 +1532,27 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1526
1532
  }>>;
1527
1533
  readonly status: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1528
1534
  }>>, 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>;
1529
- readonly signOut: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signOut", "POST", "/api/auth/sign-out", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1535
+ 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<{
1530
1536
  readonly success: import("effect/Schema").Boolean;
1531
1537
  }>>, 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>;
1532
- readonly twoFactorDisable: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorDisable", "POST", "/api/auth/two-factor/disable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1538
+ 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<{
1533
1539
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
1534
1540
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1535
1541
  readonly status: import("effect/Schema").Boolean;
1536
1542
  }>>, 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>;
1537
- readonly twoFactorEnable: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorEnable", "POST", "/api/auth/two-factor/enable", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1543
+ 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<{
1538
1544
  readonly password: import("effect/Schema").optional<import("effect/Schema").String>;
1539
1545
  readonly issuer: import("effect/Schema").optional<import("effect/Schema").String>;
1540
1546
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1541
1547
  readonly totpURI: import("effect/Schema").String;
1542
1548
  readonly backupCodes: import("effect/Schema").$Array<import("effect/Schema").String>;
1543
1549
  }>>, 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>;
1544
- readonly twoFactorSendOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorSendOtp", "POST", "/api/auth/two-factor/send-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1550
+ 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<{
1545
1551
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1546
1552
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1547
1553
  readonly status: import("effect/Schema").Boolean;
1548
1554
  }>>, 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>;
1549
- readonly twoFactorVerifyBackupCode: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyBackupCode", "POST", "/api/auth/two-factor/verify-backup-code", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1555
+ 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<{
1550
1556
  readonly code: import("effect/Schema").String;
1551
1557
  readonly disableSession: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1552
1558
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -1601,7 +1607,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1601
1607
  readonly updatedAt: import("effect/Schema").DateFromString;
1602
1608
  }>;
1603
1609
  }>>, 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>;
1604
- readonly twoFactorVerifyOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyOtp", "POST", "/api/auth/two-factor/verify-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1610
+ 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<{
1605
1611
  readonly code: import("effect/Schema").String;
1606
1612
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1607
1613
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1655,7 +1661,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1655
1661
  readonly updatedAt: import("effect/Schema").DateFromString;
1656
1662
  }>;
1657
1663
  }>>, 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>;
1658
- readonly twoFactorVerifyTotp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"twoFactorVerifyTotp", "POST", "/api/auth/two-factor/verify-totp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1664
+ 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<{
1659
1665
  readonly code: import("effect/Schema").String;
1660
1666
  readonly trustDevice: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1661
1667
  readonly oauth_query: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1709,13 +1715,13 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1709
1715
  readonly updatedAt: import("effect/Schema").DateFromString;
1710
1716
  }>;
1711
1717
  }>>, import("effect/Schema").toCodecJson<typeof import("../auth/schema.js").AuthBadRequest | typeof import("../auth/schema.js").AuthUnauthorized | typeof import("../auth/schema.js").AuthForbidden | typeof import("../auth/schema.js").AuthNotFound | typeof import("../auth/schema.js").AuthConflict | typeof import("../auth/schema.js").AuthExpectationFailed | typeof import("../auth/schema.js").AuthTooManyRequests | typeof import("../auth/schema.js").AuthInternalServerError>, never, never>, never, never>;
1712
- readonly unlinkAccount: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"unlinkAccount", "POST", "/api/auth/unlink-account", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1718
+ 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<{
1713
1719
  readonly providerId: import("effect/Schema").String;
1714
1720
  readonly accountId: import("effect/Schema").optional<import("effect/Schema").String>;
1715
1721
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1716
1722
  readonly status: import("effect/Schema").Boolean;
1717
1723
  }>>, 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>;
1718
- readonly updateUser: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateUser", "POST", "/api/auth/update-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1724
+ 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<{
1719
1725
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
1720
1726
  readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1721
1727
  readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -1753,7 +1759,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1753
1759
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1754
1760
  readonly status: import("effect/Schema").Boolean;
1755
1761
  }>>, 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>;
1756
- readonly verifyEmailOtp: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyEmailOtp", "POST", "/api/auth/email-otp/verify-email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1762
+ 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<{
1757
1763
  readonly email: import("effect/Schema").String;
1758
1764
  readonly otp: import("effect/Schema").String;
1759
1765
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1809,7 +1815,7 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1809
1815
  }>>, 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>;
1810
1816
  };
1811
1817
  readonly authExtra: {
1812
- readonly createApiKey: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1818
+ 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<{
1813
1819
  readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
1814
1820
  readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
1815
1821
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1818,8 +1824,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1818
1824
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1819
1825
  readonly id: import("effect/Schema").String;
1820
1826
  readonly key: import("effect/Schema").String;
1821
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1822
- 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<{
1827
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1828
+ 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<{
1823
1829
  readonly organizationId: import("effect/Schema").String;
1824
1830
  readonly locale: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>>;
1825
1831
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1872,8 +1878,8 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1872
1878
  }>>>;
1873
1879
  readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
1874
1880
  readonly icon: import("effect/Schema").NullOr<import("effect/Schema").String>;
1875
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
1876
- 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<{
1881
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").NotFound | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
1882
+ 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<{
1877
1883
  readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
1878
1884
  readonly clientId: import("effect/Schema").optional<import("effect/Schema").String>;
1879
1885
  readonly host: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1890,19 +1896,19 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1890
1896
  readonly emailOtp: import("effect/Schema").Boolean;
1891
1897
  readonly google: import("effect/Schema").Boolean;
1892
1898
  }>;
1893
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
1894
- readonly listAssociatedProjects: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAssociatedProjects", "GET", "/api/auth/associated-projects", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1899
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
1900
+ 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<{
1895
1901
  readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
1896
1902
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1897
1903
  readonly id: import("effect/Schema").String;
1898
1904
  readonly name: import("effect/Schema").String;
1899
- }>>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, never, never>;
1900
- readonly setPassword: HttpApiClient.Client.Method<import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setPassword", "POST", "/api/auth/set-password", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1905
+ }>>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError>, never, never>, never, never>;
1906
+ 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<{
1901
1907
  readonly newPassword: import("effect/Schema").NonEmptyString;
1902
1908
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1903
1909
  readonly ok: import("effect/Schema").Boolean;
1904
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1905
- 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<{
1910
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1911
+ 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<{
1906
1912
  keyId: import("effect/Schema").NonEmptyString;
1907
1913
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1908
1914
  readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
@@ -1912,13 +1918,13 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1912
1918
  readonly referrers: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1913
1919
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1914
1920
  readonly ok: import("effect/Schema").Boolean;
1915
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1916
- 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<{
1917
- readonly file: import("effect/Schema").decodeTo<import("effect/unstable/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/unstable/http/Multipart").PersistedFileSchema>, never, never>;
1921
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1922
+ 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<{
1923
+ readonly file: import("effect/Schema").decodeTo<import("effect/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/http/Multipart").PersistedFileSchema>, never, never>;
1918
1924
  }>>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1919
1925
  readonly url: import("effect/Schema").String;
1920
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1921
- 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<{
1926
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1927
+ 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<{
1922
1928
  readonly key: import("effect/Schema").NonEmptyString;
1923
1929
  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">]>>;
1924
1930
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -1942,11 +1948,11 @@ export declare const authHttpClient: (baseUrl?: string | undefined, getLocale?:
1942
1948
  readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Unknown>;
1943
1949
  }>>;
1944
1950
  }>>, import("effect/Schema").toCodecJson<typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1945
- 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<{
1951
+ 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<{
1946
1952
  readonly password: import("effect/Schema").NonEmptyString;
1947
1953
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
1948
1954
  readonly ok: import("effect/Schema").Boolean;
1949
- }>>, import("effect/Schema").toCodecJson<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1955
+ }>>, import("effect/Schema").toCodecJson<typeof import("effect/http-api/HttpApiError").Unauthorized | typeof import("effect/http-api/HttpApiError").Forbidden | typeof import("effect/http-api/HttpApiError").InternalServerError | typeof import("../extra/schema.js").ExtraBadRequest>, never, never>, never, never>;
1950
1956
  };
1951
1957
  }, never, never>;
1952
1958
  type AuthClientApiGroups = typeof AuthClientApi extends HttpApi.HttpApi<string, infer Groups> ? Groups : never;