@sylphx/contract 0.2.1 → 0.4.0

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 (53) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/endpoint.d.ts +6 -0
  3. package/dist/endpoint.d.ts.map +1 -1
  4. package/dist/endpoints/admin-projects.d.ts +29 -0
  5. package/dist/endpoints/admin-projects.d.ts.map +1 -1
  6. package/dist/endpoints/admin-projects.js +30 -1
  7. package/dist/endpoints/auth.d.ts +47 -0
  8. package/dist/endpoints/auth.d.ts.map +1 -1
  9. package/dist/endpoints/auth.js +19 -1
  10. package/dist/endpoints/branch-databases.d.ts +27 -28
  11. package/dist/endpoints/branch-databases.d.ts.map +1 -1
  12. package/dist/endpoints/branch-databases.js +7 -7
  13. package/dist/endpoints/databases.d.ts +253 -3
  14. package/dist/endpoints/databases.d.ts.map +1 -1
  15. package/dist/endpoints/databases.js +19 -12
  16. package/dist/endpoints/organizations.d.ts +11 -0
  17. package/dist/endpoints/organizations.d.ts.map +1 -1
  18. package/dist/endpoints/organizations.js +8 -1
  19. package/dist/endpoints/project-manifest.d.ts +26 -18
  20. package/dist/endpoints/project-manifest.d.ts.map +1 -1
  21. package/dist/endpoints/secrets.d.ts +6 -6
  22. package/dist/endpoints/secrets.d.ts.map +1 -1
  23. package/dist/endpoints/secrets.js +6 -5
  24. package/dist/endpoints/storage.d.ts +183 -125
  25. package/dist/endpoints/storage.d.ts.map +1 -1
  26. package/dist/endpoints/storage.js +96 -59
  27. package/dist/index.d.ts +323 -164
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +1 -1
  30. package/dist/schemas/admin-projects.d.ts +20 -0
  31. package/dist/schemas/admin-projects.d.ts.map +1 -1
  32. package/dist/schemas/admin-projects.js +17 -0
  33. package/dist/schemas/auth.d.ts +65 -0
  34. package/dist/schemas/auth.d.ts.map +1 -1
  35. package/dist/schemas/auth.js +32 -0
  36. package/dist/schemas/branch-database.d.ts +20 -19
  37. package/dist/schemas/branch-database.d.ts.map +1 -1
  38. package/dist/schemas/branch-database.js +9 -7
  39. package/dist/schemas/ids.d.ts +2 -0
  40. package/dist/schemas/ids.d.ts.map +1 -1
  41. package/dist/schemas/ids.js +1 -0
  42. package/dist/schemas/organization.d.ts +24 -2
  43. package/dist/schemas/organization.d.ts.map +1 -1
  44. package/dist/schemas/organization.js +13 -1
  45. package/dist/schemas/project-manifest.d.ts +43 -21
  46. package/dist/schemas/project-manifest.d.ts.map +1 -1
  47. package/dist/schemas/project-manifest.js +11 -3
  48. package/dist/schemas/secret.d.ts +1 -1
  49. package/dist/schemas/secret.js +2 -2
  50. package/dist/schemas/storage.d.ts +259 -203
  51. package/dist/schemas/storage.d.ts.map +1 -1
  52. package/dist/schemas/storage.js +159 -144
  53. package/package.json +5 -1
package/dist/index.d.ts CHANGED
@@ -57,7 +57,7 @@ export { branchDatabasesEndpoints } from './endpoints/branch-databases.js';
57
57
  export { challengeEndpoints } from './endpoints/challenge.js';
58
58
  export { ciSettingsEndpoints } from './endpoints/ci-settings.js';
59
59
  export { consentAdminEndpoints } from './endpoints/consent-admin.js';
60
- export { databasesEndpoints } from './endpoints/databases.js';
60
+ export { databasesEndpoints, resourcesEndpoints } from './endpoints/databases.js';
61
61
  export { deploymentsEndpoints } from './endpoints/deployments.js';
62
62
  export { domainsEndpoints } from './endpoints/domains.js';
63
63
  export { edgeDeploymentsEndpoints } from './endpoints/edge-deployments.js';
@@ -2350,6 +2350,35 @@ export declare const endpoints: {
2350
2350
  secretKey: typeof import("effect/Schema").String;
2351
2351
  publicKey: typeof import("effect/Schema").String;
2352
2352
  }>>;
2353
+ readonly rotateEnvironmentCredentials: import("./endpoint.js").Endpoint<"POST", "/operator/projects/environments/:environmentId/credentials/rotate", import("effect/Schema").Struct<{
2354
+ environmentId: typeof import("effect/Schema").String;
2355
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2356
+ reason: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
2357
+ syncDeploymentSecret: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
2358
+ }>, import("effect/Schema").Struct<{
2359
+ environmentId: typeof import("effect/Schema").String;
2360
+ envType: import("effect/Schema").Literal<["development", "staging", "production"]>;
2361
+ secretKey: typeof import("effect/Schema").String;
2362
+ publicKey: typeof import("effect/Schema").String;
2363
+ syncedDeploymentSecret: typeof import("effect/Schema").Boolean;
2364
+ queued: typeof import("effect/Schema").Boolean;
2365
+ generation: typeof import("effect/Schema").Number;
2366
+ }>>;
2367
+ readonly rotateEnvironmentCredentialsBySlug: import("./endpoint.js").Endpoint<"POST", "/operator/projects/by-slug/:projectSlug/environments/:environmentName/credentials/rotate", import("effect/Schema").Struct<{
2368
+ projectSlug: typeof import("effect/Schema").String;
2369
+ environmentName: typeof import("effect/Schema").String;
2370
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2371
+ reason: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
2372
+ syncDeploymentSecret: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
2373
+ }>, import("effect/Schema").Struct<{
2374
+ environmentId: typeof import("effect/Schema").String;
2375
+ envType: import("effect/Schema").Literal<["development", "staging", "production"]>;
2376
+ secretKey: typeof import("effect/Schema").String;
2377
+ publicKey: typeof import("effect/Schema").String;
2378
+ syncedDeploymentSecret: typeof import("effect/Schema").Boolean;
2379
+ queued: typeof import("effect/Schema").Boolean;
2380
+ generation: typeof import("effect/Schema").Number;
2381
+ }>>;
2353
2382
  readonly platformResources: import("./endpoint.js").Endpoint<"GET", "/operator/projects/:id/platform-resources", import("effect/Schema").Struct<{
2354
2383
  id: typeof import("effect/Schema").String;
2355
2384
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -3589,6 +3618,12 @@ export declare const endpoints: {
3589
3618
  email: typeof import("effect/Schema").String;
3590
3619
  emailVerified: typeof import("effect/Schema").Boolean;
3591
3620
  }>>;
3621
+ readonly resendEmailVerification: import("./endpoint.js").Endpoint<"POST", "/auth/resend-verification", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
3622
+ email: import("effect/Schema").filter<typeof import("effect/Schema").String>;
3623
+ }>, import("effect/Schema").Struct<{
3624
+ success: import("effect/Schema").Literal<[true]>;
3625
+ message: typeof import("effect/Schema").String;
3626
+ }>>;
3592
3627
  readonly signOut: import("./endpoint.js").Endpoint<"POST", "/auth/logout", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
3593
3628
  success: typeof import("effect/Schema").Boolean;
3594
3629
  }>>;
@@ -3601,6 +3636,47 @@ export declare const endpoints: {
3601
3636
  emailVerified: typeof import("effect/Schema").Boolean;
3602
3637
  }>>;
3603
3638
  }>>;
3639
+ readonly getPrincipal: import("./endpoint.js").Endpoint<"GET", "/auth/principal", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Union<[import("effect/Schema").Struct<{
3640
+ principalType: import("effect/Schema").Literal<["user"]>;
3641
+ user: import("effect/Schema").Struct<{
3642
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "UserId">;
3643
+ email: typeof import("effect/Schema").String;
3644
+ name: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
3645
+ }>;
3646
+ orgs: import("effect/Schema").Array$<import("effect/Schema").Struct<{
3647
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "OrgId">;
3648
+ slug: typeof import("effect/Schema").String;
3649
+ name: typeof import("effect/Schema").String;
3650
+ email: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
3651
+ billingEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
3652
+ logoUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
3653
+ metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>>;
3654
+ createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
3655
+ }>>;
3656
+ }>, import("effect/Schema").Struct<{
3657
+ principalType: import("effect/Schema").Literal<["service_token"]>;
3658
+ serviceToken: import("effect/Schema").Struct<{
3659
+ id: typeof import("effect/Schema").String;
3660
+ name: typeof import("effect/Schema").String;
3661
+ tokenType: import("effect/Schema").Literal<["service", "oidc"]>;
3662
+ tokenPrefix: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
3663
+ orgId: typeof import("effect/Schema").String;
3664
+ projectId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
3665
+ environmentId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
3666
+ scopes: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
3667
+ expiresAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
3668
+ }>;
3669
+ org: import("effect/Schema").Struct<{
3670
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "OrgId">;
3671
+ slug: typeof import("effect/Schema").String;
3672
+ name: typeof import("effect/Schema").String;
3673
+ email: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
3674
+ billingEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
3675
+ logoUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
3676
+ metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>>;
3677
+ createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
3678
+ }>;
3679
+ }>]>>;
3604
3680
  readonly deviceInit: import("./endpoint.js").Endpoint<"POST", "/auth/device", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
3605
3681
  client_id: typeof import("effect/Schema").String;
3606
3682
  scope: import("effect/Schema").optional<import("effect/Schema").Array$<typeof import("effect/Schema").String>>;
@@ -4188,61 +4264,61 @@ export declare const endpoints: {
4188
4264
  };
4189
4265
  readonly branchDatabases: {
4190
4266
  readonly list: import("./endpoint.js").Endpoint<"GET", "/projects/:id/preview-envs/branch-dbs", import("effect/Schema").Struct<{
4191
- id: typeof import("effect/Schema").String;
4267
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4192
4268
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4193
4269
  branches: import("effect/Schema").Array$<import("effect/Schema").Struct<{
4194
- id: typeof import("effect/Schema").String;
4195
- projectId: typeof import("effect/Schema").String;
4196
- envId: typeof import("effect/Schema").String;
4197
- sourceDbId: typeof import("effect/Schema").String;
4270
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4271
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4272
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4273
+ sourceDbId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">;
4198
4274
  cnpgClusterName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4199
4275
  connectionString: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4200
4276
  dataMode: import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>;
4201
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4277
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4202
4278
  createdAt: typeof import("effect/Schema").String;
4203
4279
  destroyedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4204
4280
  }>>;
4205
4281
  }>>;
4206
4282
  readonly create: import("./endpoint.js").Endpoint<"POST", "/projects/:id/preview-envs/:envId/branch-db", import("effect/Schema").Struct<{
4207
- id: typeof import("effect/Schema").String;
4208
- envId: typeof import("effect/Schema").String;
4283
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4284
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4209
4285
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4210
- previewEnvId: typeof import("effect/Schema").String;
4286
+ previewEnvId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4211
4287
  withData: import("effect/Schema").optional<import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>>;
4212
4288
  }>, import("effect/Schema").Struct<{
4213
- id: typeof import("effect/Schema").String;
4214
- projectId: typeof import("effect/Schema").String;
4215
- envId: typeof import("effect/Schema").String;
4216
- sourceDbId: typeof import("effect/Schema").String;
4289
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4290
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4291
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4292
+ sourceDbId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">;
4217
4293
  cnpgClusterName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4218
4294
  connectionString: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4219
4295
  dataMode: import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>;
4220
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4296
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4221
4297
  createdAt: typeof import("effect/Schema").String;
4222
4298
  destroyedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4223
4299
  }>>;
4224
4300
  readonly get: import("./endpoint.js").Endpoint<"GET", "/projects/:id/preview-envs/:envId/branch-db", import("effect/Schema").Struct<{
4225
- id: typeof import("effect/Schema").String;
4226
- envId: typeof import("effect/Schema").String;
4301
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4302
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4227
4303
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4228
- id: typeof import("effect/Schema").String;
4229
- projectId: typeof import("effect/Schema").String;
4230
- envId: typeof import("effect/Schema").String;
4231
- sourceDbId: typeof import("effect/Schema").String;
4304
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4305
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4306
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4307
+ sourceDbId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">;
4232
4308
  cnpgClusterName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4233
4309
  connectionString: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4234
4310
  dataMode: import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>;
4235
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4311
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4236
4312
  createdAt: typeof import("effect/Schema").String;
4237
4313
  destroyedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4238
4314
  }>>;
4239
4315
  readonly destroy: import("./endpoint.js").Endpoint<"DELETE", "/projects/:id/preview-envs/:envId/branch-db", import("effect/Schema").Struct<{
4240
- id: typeof import("effect/Schema").String;
4241
- envId: typeof import("effect/Schema").String;
4316
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4317
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4242
4318
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4243
4319
  success: typeof import("effect/Schema").Boolean;
4244
- branchId: typeof import("effect/Schema").String;
4245
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4320
+ branchId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4321
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4246
4322
  }>>;
4247
4323
  };
4248
4324
  readonly ciSettings: {
@@ -8385,6 +8461,17 @@ export declare const endpoints: {
8385
8461
  limit: typeof import("effect/Schema").Number;
8386
8462
  offset: typeof import("effect/Schema").Number;
8387
8463
  }>>;
8464
+ readonly memberships: import("./endpoint.js").Endpoint<"GET", "/orgs/memberships", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
8465
+ organizations: import("effect/Schema").Array$<import("effect/Schema").Struct<{
8466
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "OrgId">;
8467
+ name: typeof import("effect/Schema").String;
8468
+ slug: typeof import("effect/Schema").String;
8469
+ logoUrl: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
8470
+ role: import("effect/Schema").Literal<["super_admin", "admin", "billing", "analytics", "developer", "viewer", "member"]>;
8471
+ joinedAt: typeof import("effect/Schema").String;
8472
+ createdAt: typeof import("effect/Schema").String;
8473
+ }>>;
8474
+ }>>;
8388
8475
  readonly get: import("./endpoint.js").Endpoint<"GET", "/orgs/:orgId", import("effect/Schema").Struct<{
8389
8476
  orgId: typeof import("effect/Schema").String;
8390
8477
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -9526,6 +9613,7 @@ export declare const endpoints: {
9526
9613
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9527
9614
  readonly port?: number | undefined;
9528
9615
  readonly env?: readonly string[] | undefined;
9616
+ readonly resources?: readonly string[] | undefined;
9529
9617
  readonly replicas?: number | undefined;
9530
9618
  readonly command?: string | undefined;
9531
9619
  readonly internal_port?: number | undefined;
@@ -9535,7 +9623,6 @@ export declare const endpoints: {
9535
9623
  readonly scale_to_zero?: boolean | undefined;
9536
9624
  readonly idle_timeout_seconds?: number | undefined;
9537
9625
  readonly min_replicas?: number | undefined;
9538
- readonly resources?: readonly string[] | undefined;
9539
9626
  }[] | undefined;
9540
9627
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9541
9628
  readonly env?: {
@@ -9578,6 +9665,7 @@ export declare const endpoints: {
9578
9665
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9579
9666
  readonly port?: number | undefined;
9580
9667
  readonly env?: readonly string[] | undefined;
9668
+ readonly resources?: readonly string[] | undefined;
9581
9669
  readonly replicas?: number | undefined;
9582
9670
  readonly command?: string | undefined;
9583
9671
  readonly internal_port?: number | undefined;
@@ -9587,7 +9675,6 @@ export declare const endpoints: {
9587
9675
  readonly scale_to_zero?: boolean | undefined;
9588
9676
  readonly idle_timeout_seconds?: number | undefined;
9589
9677
  readonly min_replicas?: number | undefined;
9590
- readonly resources?: readonly string[] | undefined;
9591
9678
  }[] | undefined;
9592
9679
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9593
9680
  readonly env?: {
@@ -9630,6 +9717,7 @@ export declare const endpoints: {
9630
9717
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9631
9718
  readonly port?: number | undefined;
9632
9719
  readonly env?: readonly string[] | undefined;
9720
+ readonly resources?: readonly string[] | undefined;
9633
9721
  readonly replicas?: number | undefined;
9634
9722
  readonly command?: string | undefined;
9635
9723
  readonly internal_port?: number | undefined;
@@ -9639,7 +9727,6 @@ export declare const endpoints: {
9639
9727
  readonly scale_to_zero?: boolean | undefined;
9640
9728
  readonly idle_timeout_seconds?: number | undefined;
9641
9729
  readonly min_replicas?: number | undefined;
9642
- readonly resources?: readonly string[] | undefined;
9643
9730
  }[] | undefined;
9644
9731
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9645
9732
  readonly env?: {
@@ -9682,6 +9769,7 @@ export declare const endpoints: {
9682
9769
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9683
9770
  readonly port?: number | undefined;
9684
9771
  readonly env?: readonly string[] | undefined;
9772
+ readonly resources?: readonly string[] | undefined;
9685
9773
  readonly replicas?: number | undefined;
9686
9774
  readonly command?: string | undefined;
9687
9775
  readonly internal_port?: number | undefined;
@@ -9691,7 +9779,6 @@ export declare const endpoints: {
9691
9779
  readonly scale_to_zero?: boolean | undefined;
9692
9780
  readonly idle_timeout_seconds?: number | undefined;
9693
9781
  readonly min_replicas?: number | undefined;
9694
- readonly resources?: readonly string[] | undefined;
9695
9782
  }[] | undefined;
9696
9783
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9697
9784
  readonly env?: {
@@ -9735,6 +9822,7 @@ export declare const endpoints: {
9735
9822
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9736
9823
  readonly port?: number | undefined;
9737
9824
  readonly env?: readonly string[] | undefined;
9825
+ readonly resources?: readonly string[] | undefined;
9738
9826
  readonly replicas?: number | undefined;
9739
9827
  readonly command?: string | undefined;
9740
9828
  readonly internal_port?: number | undefined;
@@ -9744,7 +9832,6 @@ export declare const endpoints: {
9744
9832
  readonly scale_to_zero?: boolean | undefined;
9745
9833
  readonly idle_timeout_seconds?: number | undefined;
9746
9834
  readonly min_replicas?: number | undefined;
9747
- readonly resources?: readonly string[] | undefined;
9748
9835
  }[] | undefined;
9749
9836
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9750
9837
  readonly env?: {
@@ -9787,6 +9874,7 @@ export declare const endpoints: {
9787
9874
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9788
9875
  readonly port?: number | undefined;
9789
9876
  readonly env?: readonly string[] | undefined;
9877
+ readonly resources?: readonly string[] | undefined;
9790
9878
  readonly replicas?: number | undefined;
9791
9879
  readonly command?: string | undefined;
9792
9880
  readonly internal_port?: number | undefined;
@@ -9796,7 +9884,6 @@ export declare const endpoints: {
9796
9884
  readonly scale_to_zero?: boolean | undefined;
9797
9885
  readonly idle_timeout_seconds?: number | undefined;
9798
9886
  readonly min_replicas?: number | undefined;
9799
- readonly resources?: readonly string[] | undefined;
9800
9887
  }[] | undefined;
9801
9888
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9802
9889
  readonly env?: {
@@ -9839,6 +9926,7 @@ export declare const endpoints: {
9839
9926
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9840
9927
  readonly port?: number | undefined;
9841
9928
  readonly env?: readonly string[] | undefined;
9929
+ readonly resources?: readonly string[] | undefined;
9842
9930
  readonly replicas?: number | undefined;
9843
9931
  readonly command?: string | undefined;
9844
9932
  readonly internal_port?: number | undefined;
@@ -9848,7 +9936,6 @@ export declare const endpoints: {
9848
9936
  readonly scale_to_zero?: boolean | undefined;
9849
9937
  readonly idle_timeout_seconds?: number | undefined;
9850
9938
  readonly min_replicas?: number | undefined;
9851
- readonly resources?: readonly string[] | undefined;
9852
9939
  }[] | undefined;
9853
9940
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9854
9941
  readonly env?: {
@@ -9891,6 +9978,7 @@ export declare const endpoints: {
9891
9978
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9892
9979
  readonly port?: number | undefined;
9893
9980
  readonly env?: readonly string[] | undefined;
9981
+ readonly resources?: readonly string[] | undefined;
9894
9982
  readonly replicas?: number | undefined;
9895
9983
  readonly command?: string | undefined;
9896
9984
  readonly internal_port?: number | undefined;
@@ -9900,7 +9988,6 @@ export declare const endpoints: {
9900
9988
  readonly scale_to_zero?: boolean | undefined;
9901
9989
  readonly idle_timeout_seconds?: number | undefined;
9902
9990
  readonly min_replicas?: number | undefined;
9903
- readonly resources?: readonly string[] | undefined;
9904
9991
  }[] | undefined;
9905
9992
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9906
9993
  readonly env?: {
@@ -9932,7 +10019,8 @@ export declare const endpoints: {
9932
10019
  };
9933
10020
  }, never>>;
9934
10021
  resources: import("effect/Schema").optional<import("effect/Schema").Struct<{
9935
- postgres: import("effect/Schema").optional<import("effect/Schema").Struct<{
10022
+ database: import("effect/Schema").optional<import("effect/Schema").Struct<{
10023
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["postgres"]>>;
9936
10024
  tier: import("effect/Schema").Literal<["nano", "micro", "standard", "large", "xl"]>;
9937
10025
  storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
9938
10026
  version: import("effect/Schema").optional<import("effect/Schema").Literal<["15", "16", "17"]>>;
@@ -9952,7 +10040,10 @@ export declare const endpoints: {
9952
10040
  mount: typeof import("effect/Schema").String;
9953
10041
  }>>>;
9954
10042
  search: import("effect/Schema").optional<import("effect/Schema").Struct<{
10043
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["typesense"]>>;
9955
10044
  tier: import("effect/Schema").Literal<["micro", "standard"]>;
10045
+ storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10046
+ nodes: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
9956
10047
  }>>;
9957
10048
  }>>;
9958
10049
  ci: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -10039,6 +10130,7 @@ export declare const endpoints: {
10039
10130
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10040
10131
  readonly port?: number | undefined;
10041
10132
  readonly env?: readonly string[] | undefined;
10133
+ readonly resources?: readonly string[] | undefined;
10042
10134
  readonly replicas?: number | undefined;
10043
10135
  readonly command?: string | undefined;
10044
10136
  readonly internal_port?: number | undefined;
@@ -10048,7 +10140,6 @@ export declare const endpoints: {
10048
10140
  readonly scale_to_zero?: boolean | undefined;
10049
10141
  readonly idle_timeout_seconds?: number | undefined;
10050
10142
  readonly min_replicas?: number | undefined;
10051
- readonly resources?: readonly string[] | undefined;
10052
10143
  }[] | undefined;
10053
10144
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10054
10145
  readonly env?: {
@@ -10091,6 +10182,7 @@ export declare const endpoints: {
10091
10182
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10092
10183
  readonly port?: number | undefined;
10093
10184
  readonly env?: readonly string[] | undefined;
10185
+ readonly resources?: readonly string[] | undefined;
10094
10186
  readonly replicas?: number | undefined;
10095
10187
  readonly command?: string | undefined;
10096
10188
  readonly internal_port?: number | undefined;
@@ -10100,7 +10192,6 @@ export declare const endpoints: {
10100
10192
  readonly scale_to_zero?: boolean | undefined;
10101
10193
  readonly idle_timeout_seconds?: number | undefined;
10102
10194
  readonly min_replicas?: number | undefined;
10103
- readonly resources?: readonly string[] | undefined;
10104
10195
  }[] | undefined;
10105
10196
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10106
10197
  readonly env?: {
@@ -10143,6 +10234,7 @@ export declare const endpoints: {
10143
10234
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10144
10235
  readonly port?: number | undefined;
10145
10236
  readonly env?: readonly string[] | undefined;
10237
+ readonly resources?: readonly string[] | undefined;
10146
10238
  readonly replicas?: number | undefined;
10147
10239
  readonly command?: string | undefined;
10148
10240
  readonly internal_port?: number | undefined;
@@ -10152,7 +10244,6 @@ export declare const endpoints: {
10152
10244
  readonly scale_to_zero?: boolean | undefined;
10153
10245
  readonly idle_timeout_seconds?: number | undefined;
10154
10246
  readonly min_replicas?: number | undefined;
10155
- readonly resources?: readonly string[] | undefined;
10156
10247
  }[] | undefined;
10157
10248
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10158
10249
  readonly env?: {
@@ -10195,6 +10286,7 @@ export declare const endpoints: {
10195
10286
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10196
10287
  readonly port?: number | undefined;
10197
10288
  readonly env?: readonly string[] | undefined;
10289
+ readonly resources?: readonly string[] | undefined;
10198
10290
  readonly replicas?: number | undefined;
10199
10291
  readonly command?: string | undefined;
10200
10292
  readonly internal_port?: number | undefined;
@@ -10204,7 +10296,6 @@ export declare const endpoints: {
10204
10296
  readonly scale_to_zero?: boolean | undefined;
10205
10297
  readonly idle_timeout_seconds?: number | undefined;
10206
10298
  readonly min_replicas?: number | undefined;
10207
- readonly resources?: readonly string[] | undefined;
10208
10299
  }[] | undefined;
10209
10300
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10210
10301
  readonly env?: {
@@ -10248,6 +10339,7 @@ export declare const endpoints: {
10248
10339
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10249
10340
  readonly port?: number | undefined;
10250
10341
  readonly env?: readonly string[] | undefined;
10342
+ readonly resources?: readonly string[] | undefined;
10251
10343
  readonly replicas?: number | undefined;
10252
10344
  readonly command?: string | undefined;
10253
10345
  readonly internal_port?: number | undefined;
@@ -10257,7 +10349,6 @@ export declare const endpoints: {
10257
10349
  readonly scale_to_zero?: boolean | undefined;
10258
10350
  readonly idle_timeout_seconds?: number | undefined;
10259
10351
  readonly min_replicas?: number | undefined;
10260
- readonly resources?: readonly string[] | undefined;
10261
10352
  }[] | undefined;
10262
10353
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10263
10354
  readonly env?: {
@@ -10300,6 +10391,7 @@ export declare const endpoints: {
10300
10391
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10301
10392
  readonly port?: number | undefined;
10302
10393
  readonly env?: readonly string[] | undefined;
10394
+ readonly resources?: readonly string[] | undefined;
10303
10395
  readonly replicas?: number | undefined;
10304
10396
  readonly command?: string | undefined;
10305
10397
  readonly internal_port?: number | undefined;
@@ -10309,7 +10401,6 @@ export declare const endpoints: {
10309
10401
  readonly scale_to_zero?: boolean | undefined;
10310
10402
  readonly idle_timeout_seconds?: number | undefined;
10311
10403
  readonly min_replicas?: number | undefined;
10312
- readonly resources?: readonly string[] | undefined;
10313
10404
  }[] | undefined;
10314
10405
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10315
10406
  readonly env?: {
@@ -10352,6 +10443,7 @@ export declare const endpoints: {
10352
10443
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10353
10444
  readonly port?: number | undefined;
10354
10445
  readonly env?: readonly string[] | undefined;
10446
+ readonly resources?: readonly string[] | undefined;
10355
10447
  readonly replicas?: number | undefined;
10356
10448
  readonly command?: string | undefined;
10357
10449
  readonly internal_port?: number | undefined;
@@ -10361,7 +10453,6 @@ export declare const endpoints: {
10361
10453
  readonly scale_to_zero?: boolean | undefined;
10362
10454
  readonly idle_timeout_seconds?: number | undefined;
10363
10455
  readonly min_replicas?: number | undefined;
10364
- readonly resources?: readonly string[] | undefined;
10365
10456
  }[] | undefined;
10366
10457
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10367
10458
  readonly env?: {
@@ -10404,6 +10495,7 @@ export declare const endpoints: {
10404
10495
  readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10405
10496
  readonly port?: number | undefined;
10406
10497
  readonly env?: readonly string[] | undefined;
10498
+ readonly resources?: readonly string[] | undefined;
10407
10499
  readonly replicas?: number | undefined;
10408
10500
  readonly command?: string | undefined;
10409
10501
  readonly internal_port?: number | undefined;
@@ -10413,7 +10505,6 @@ export declare const endpoints: {
10413
10505
  readonly scale_to_zero?: boolean | undefined;
10414
10506
  readonly idle_timeout_seconds?: number | undefined;
10415
10507
  readonly min_replicas?: number | undefined;
10416
- readonly resources?: readonly string[] | undefined;
10417
10508
  }[] | undefined;
10418
10509
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10419
10510
  readonly env?: {
@@ -10445,7 +10536,8 @@ export declare const endpoints: {
10445
10536
  };
10446
10537
  }, never>>;
10447
10538
  resources: import("effect/Schema").optional<import("effect/Schema").Struct<{
10448
- postgres: import("effect/Schema").optional<import("effect/Schema").Struct<{
10539
+ database: import("effect/Schema").optional<import("effect/Schema").Struct<{
10540
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["postgres"]>>;
10449
10541
  tier: import("effect/Schema").Literal<["nano", "micro", "standard", "large", "xl"]>;
10450
10542
  storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10451
10543
  version: import("effect/Schema").optional<import("effect/Schema").Literal<["15", "16", "17"]>>;
@@ -10465,7 +10557,10 @@ export declare const endpoints: {
10465
10557
  mount: typeof import("effect/Schema").String;
10466
10558
  }>>>;
10467
10559
  search: import("effect/Schema").optional<import("effect/Schema").Struct<{
10560
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["typesense"]>>;
10468
10561
  tier: import("effect/Schema").Literal<["micro", "standard"]>;
10562
+ storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10563
+ nodes: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10469
10564
  }>>;
10470
10565
  }>>;
10471
10566
  ci: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -11004,8 +11099,8 @@ export declare const endpoints: {
11004
11099
  };
11005
11100
  readonly secrets: {
11006
11101
  readonly list: import("./endpoint.js").Endpoint<"GET", "/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11007
- projectId: typeof import("effect/Schema").String;
11008
- environmentId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11102
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
11103
+ environmentId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">>;
11009
11104
  includeInactive: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11010
11105
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11011
11106
  secrets: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -11023,7 +11118,7 @@ export declare const endpoints: {
11023
11118
  }>>;
11024
11119
  }>>;
11025
11120
  readonly get: import("./endpoint.js").Endpoint<"GET", "/secrets/detail", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11026
- id: typeof import("effect/Schema").String;
11121
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "SecretId">;
11027
11122
  reveal: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11028
11123
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11029
11124
  id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "SecretId">;
@@ -11046,7 +11141,7 @@ export declare const endpoints: {
11046
11141
  updatedAt: typeof import("effect/Schema").String;
11047
11142
  }>>;
11048
11143
  readonly create: import("./endpoint.js").Endpoint<"POST", "/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11049
- projectId: typeof import("effect/Schema").String;
11144
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
11050
11145
  key: import("effect/Schema").filter<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>>;
11051
11146
  value: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
11052
11147
  description: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -11068,7 +11163,7 @@ export declare const endpoints: {
11068
11163
  version: typeof import("effect/Schema").String;
11069
11164
  }>>;
11070
11165
  readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11071
- id: typeof import("effect/Schema").String;
11166
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "SecretId">;
11072
11167
  }>, import("effect/Schema").Struct<{
11073
11168
  success: typeof import("effect/Schema").Boolean;
11074
11169
  }>>;
@@ -11083,7 +11178,7 @@ export declare const endpoints: {
11083
11178
  rolledBackTo: typeof import("effect/Schema").String;
11084
11179
  }>>;
11085
11180
  readonly stats: import("./endpoint.js").Endpoint<"GET", "/secrets/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11086
- projectId: typeof import("effect/Schema").String;
11181
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
11087
11182
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11088
11183
  stats: import("effect/Schema").Array$<import("effect/Schema").Struct<{
11089
11184
  environmentId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
@@ -11823,153 +11918,217 @@ export declare const endpoints: {
11823
11918
  }>>;
11824
11919
  };
11825
11920
  readonly storage: {
11826
- readonly upload: import("./endpoint.js").Endpoint<"POST", "/storage/upload", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11827
- filename: typeof import("effect/Schema").String;
11828
- contentType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11829
- size: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
11830
- path: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11831
- type: import("effect/Schema").optional<import("effect/Schema").Literal<["file", "avatar"]>>;
11832
- userId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11921
+ readonly createUpload: import("./endpoint.js").Endpoint<"POST", "/storage/uploads", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11922
+ filename: import("effect/Schema").filter<typeof import("effect/Schema").String>;
11923
+ contentType: import("effect/Schema").filter<typeof import("effect/Schema").String>;
11924
+ size: import("effect/Schema").filter<typeof import("effect/Schema").Number>;
11925
+ folder: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11926
+ visibility: import("effect/Schema").optional<import("effect/Schema").Literal<["public", "private"]>>;
11833
11927
  metadata: import("effect/Schema").optional<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
11928
+ checksumSha256: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11929
+ ifNoneMatch: import("effect/Schema").optional<import("effect/Schema").Literal<["*"]>>;
11930
+ }>, import("effect/Schema").Union<[import("effect/Schema").Struct<{
11931
+ method: import("effect/Schema").Literal<["PUT"]>;
11932
+ uploadId: import("effect/Schema").brand<typeof import("effect/Schema").String, "UploadId">;
11933
+ fileId: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11934
+ url: typeof import("effect/Schema").String;
11935
+ headers: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").String>;
11936
+ expiresAt: typeof import("effect/Schema").DateFromString;
11937
+ }>, import("effect/Schema").Struct<{
11938
+ method: import("effect/Schema").Literal<["MULTIPART"]>;
11939
+ uploadId: import("effect/Schema").brand<typeof import("effect/Schema").String, "UploadId">;
11940
+ fileId: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11941
+ partSize: typeof import("effect/Schema").Number;
11942
+ partCount: typeof import("effect/Schema").Number;
11943
+ parts: import("effect/Schema").Array$<import("effect/Schema").Struct<{
11944
+ partNumber: import("effect/Schema").filter<typeof import("effect/Schema").Number>;
11945
+ url: typeof import("effect/Schema").String;
11946
+ expiresAt: typeof import("effect/Schema").DateFromString;
11947
+ }>>;
11948
+ expiresAt: typeof import("effect/Schema").DateFromString;
11949
+ }>]>>;
11950
+ readonly abortUpload: import("./endpoint.js").Endpoint<"DELETE", "/storage/uploads/:uploadId", import("effect/Schema").Struct<{
11951
+ uploadId: typeof import("effect/Schema").String;
11952
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{}>>;
11953
+ readonly presignUploadPart: import("./endpoint.js").Endpoint<"POST", "/storage/uploads/:uploadId/parts/:partNumber", import("effect/Schema").Struct<{
11954
+ uploadId: typeof import("effect/Schema").String;
11955
+ partNumber: typeof import("effect/Schema").NumberFromString;
11956
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11957
+ url: typeof import("effect/Schema").String;
11958
+ expiresAt: typeof import("effect/Schema").DateFromString;
11959
+ }>>;
11960
+ readonly completeUpload: import("./endpoint.js").Endpoint<"POST", "/storage/uploads/:uploadId:complete", import("effect/Schema").Struct<{
11961
+ uploadId: typeof import("effect/Schema").String;
11962
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11963
+ parts: import("effect/Schema").Array$<import("effect/Schema").Struct<{
11964
+ partNumber: import("effect/Schema").filter<typeof import("effect/Schema").Number>;
11965
+ etag: import("effect/Schema").filter<typeof import("effect/Schema").String>;
11966
+ }>>;
11834
11967
  }>, import("effect/Schema").Struct<{
11835
- uploadUrl: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11836
- publicUrl: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11837
- fileId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11838
- expiresAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11839
- presignedUrl: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11840
- storageKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11841
- tokenPayload: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11842
- url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11843
- uploadEndpoint: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11844
- clientPayload: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11845
- maxSize: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
11846
- maxMultipartSize: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
11847
- multipartThreshold: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
11848
- allowedContentTypes: import("effect/Schema").optional<import("effect/Schema").Array$<typeof import("effect/Schema").String>>;
11849
- instructions: import("effect/Schema").optional<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
11850
- }>>;
11851
- readonly presignedUrl: import("./endpoint.js").Endpoint<"POST", "/storage/upload-url", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11968
+ fileId: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11969
+ url: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11970
+ size: typeof import("effect/Schema").Number;
11971
+ etag: typeof import("effect/Schema").String;
11972
+ checksumSha256: typeof import("effect/Schema").String;
11973
+ }>>;
11974
+ readonly listFiles: import("./endpoint.js").Endpoint<"GET", "/storage/files", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11975
+ folder: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11976
+ cursor: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11977
+ limit: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
11978
+ includeDeleted: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
11979
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11980
+ files: import("effect/Schema").Array$<import("effect/Schema").Struct<{
11981
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11982
+ filename: typeof import("effect/Schema").String;
11983
+ contentType: typeof import("effect/Schema").String;
11984
+ size: typeof import("effect/Schema").Number;
11985
+ checksumSha256: typeof import("effect/Schema").String;
11986
+ etag: typeof import("effect/Schema").String;
11987
+ visibility: import("effect/Schema").Literal<["public", "private"]>;
11988
+ folder: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11989
+ metadata: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>;
11990
+ url: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11991
+ isDeleted: typeof import("effect/Schema").Boolean;
11992
+ createdAt: typeof import("effect/Schema").DateFromString;
11993
+ updatedAt: typeof import("effect/Schema").DateFromString;
11994
+ }>>;
11995
+ nextCursor: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11996
+ }>>;
11997
+ readonly getFile: import("./endpoint.js").Endpoint<"GET", "/storage/files/:fileId", import("effect/Schema").Struct<{
11998
+ fileId: typeof import("effect/Schema").String;
11999
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
12000
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11852
12001
  filename: typeof import("effect/Schema").String;
11853
12002
  contentType: typeof import("effect/Schema").String;
11854
- size: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
11855
- }>, import("effect/Schema").Struct<{
11856
- uploadUrl: typeof import("effect/Schema").String;
12003
+ size: typeof import("effect/Schema").Number;
12004
+ checksumSha256: typeof import("effect/Schema").String;
12005
+ etag: typeof import("effect/Schema").String;
12006
+ visibility: import("effect/Schema").Literal<["public", "private"]>;
12007
+ folder: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12008
+ metadata: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>;
12009
+ url: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12010
+ isDeleted: typeof import("effect/Schema").Boolean;
12011
+ createdAt: typeof import("effect/Schema").DateFromString;
12012
+ updatedAt: typeof import("effect/Schema").DateFromString;
12013
+ }>>;
12014
+ readonly deleteFile: import("./endpoint.js").Endpoint<"DELETE", "/storage/files/:fileId", import("effect/Schema").Struct<{
11857
12015
  fileId: typeof import("effect/Schema").String;
11858
- expiresAt: typeof import("effect/Schema").String;
12016
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
12017
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
12018
+ isDeleted: import("effect/Schema").Literal<[true]>;
11859
12019
  }>>;
11860
- readonly signedUrl: import("./endpoint.js").Endpoint<"POST", "/storage/signed-url", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
12020
+ readonly restoreFile: import("./endpoint.js").Endpoint<"POST", "/storage/files/:fileId:restore", import("effect/Schema").Struct<{
11861
12021
  fileId: typeof import("effect/Schema").String;
11862
- expiresIn: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
12022
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
12023
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
12024
+ filename: typeof import("effect/Schema").String;
12025
+ contentType: typeof import("effect/Schema").String;
12026
+ size: typeof import("effect/Schema").Number;
12027
+ checksumSha256: typeof import("effect/Schema").String;
12028
+ etag: typeof import("effect/Schema").String;
12029
+ visibility: import("effect/Schema").Literal<["public", "private"]>;
12030
+ folder: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12031
+ metadata: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>;
12032
+ url: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12033
+ isDeleted: typeof import("effect/Schema").Boolean;
12034
+ createdAt: typeof import("effect/Schema").DateFromString;
12035
+ updatedAt: typeof import("effect/Schema").DateFromString;
12036
+ }>>;
12037
+ readonly signFileUrl: import("./endpoint.js").Endpoint<"POST", "/storage/files/:fileId:signedUrl", import("effect/Schema").Struct<{
12038
+ fileId: typeof import("effect/Schema").String;
12039
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
12040
+ expiresIn: import("effect/Schema").optional<import("effect/Schema").filter<typeof import("effect/Schema").Number>>;
11863
12041
  disposition: import("effect/Schema").optional<import("effect/Schema").Literal<["attachment", "inline"]>>;
11864
12042
  userId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11865
12043
  }>, import("effect/Schema").Struct<{
11866
12044
  url: typeof import("effect/Schema").String;
11867
- expiresAt: typeof import("effect/Schema").String;
12045
+ expiresAt: typeof import("effect/Schema").DateFromString;
11868
12046
  file: import("effect/Schema").Struct<{
11869
- id: typeof import("effect/Schema").String;
12047
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11870
12048
  filename: typeof import("effect/Schema").String;
11871
- mimeType: typeof import("effect/Schema").String;
11872
- sizeBytes: typeof import("effect/Schema").Number;
11873
- isPrivate: typeof import("effect/Schema").Boolean;
12049
+ contentType: typeof import("effect/Schema").String;
12050
+ size: typeof import("effect/Schema").Number;
12051
+ checksumSha256: typeof import("effect/Schema").String;
12052
+ etag: typeof import("effect/Schema").String;
12053
+ visibility: import("effect/Schema").Literal<["public", "private"]>;
12054
+ folder: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12055
+ metadata: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>;
12056
+ url: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12057
+ isDeleted: typeof import("effect/Schema").Boolean;
12058
+ createdAt: typeof import("effect/Schema").DateFromString;
12059
+ updatedAt: typeof import("effect/Schema").DateFromString;
11874
12060
  }>;
11875
12061
  }>>;
11876
- readonly list: import("./endpoint.js").Endpoint<"GET", "/storage/files", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11877
- prefix: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11878
- limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11879
- cursor: import("effect/Schema").optional<typeof import("effect/Schema").String>;
12062
+ readonly copyFile: import("./endpoint.js").Endpoint<"POST", "/storage/files/:fileId:copy", import("effect/Schema").Struct<{
12063
+ fileId: typeof import("effect/Schema").String;
11880
12064
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11881
- files: import("effect/Schema").Array$<import("effect/Schema").Struct<{
11882
- id: typeof import("effect/Schema").String;
11883
- size: typeof import("effect/Schema").Number;
11884
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11885
- filename: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11886
- path: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11887
- key: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11888
- url: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
11889
- contentType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11890
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11891
- isPrivate: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
11892
- metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>>;
11893
- createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11894
- uploadedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11895
- }>>;
11896
- nextCursor: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11897
- hasMore: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
11898
- }>>;
11899
- readonly get: import("./endpoint.js").Endpoint<"GET", "/storage/files/:id", import("effect/Schema").Struct<{
11900
- id: typeof import("effect/Schema").String;
11901
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11902
- id: typeof import("effect/Schema").String;
11903
- size: typeof import("effect/Schema").Number;
11904
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
12065
+ folder: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11905
12066
  filename: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11906
- path: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11907
- key: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11908
- url: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
11909
- contentType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11910
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11911
- isPrivate: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
11912
- metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>>;
11913
- createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11914
- uploadedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11915
- }>>;
11916
- readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/storage/files/:id", import("effect/Schema").Struct<{
11917
- id: typeof import("effect/Schema").String;
11918
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11919
- success: typeof import("effect/Schema").Boolean;
12067
+ visibility: import("effect/Schema").optional<import("effect/Schema").Literal<["public", "private"]>>;
12068
+ metadata: import("effect/Schema").optional<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
12069
+ }>, import("effect/Schema").Struct<{
12070
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
12071
+ filename: typeof import("effect/Schema").String;
12072
+ contentType: typeof import("effect/Schema").String;
12073
+ size: typeof import("effect/Schema").Number;
12074
+ checksumSha256: typeof import("effect/Schema").String;
12075
+ etag: typeof import("effect/Schema").String;
12076
+ visibility: import("effect/Schema").Literal<["public", "private"]>;
12077
+ folder: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12078
+ metadata: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>;
12079
+ url: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12080
+ isDeleted: typeof import("effect/Schema").Boolean;
12081
+ createdAt: typeof import("effect/Schema").DateFromString;
12082
+ updatedAt: typeof import("effect/Schema").DateFromString;
11920
12083
  }>>;
11921
- readonly listVersions: import("./endpoint.js").Endpoint<"GET", "/storage/files/:id/versions", import("effect/Schema").Struct<{
11922
- id: typeof import("effect/Schema").String;
12084
+ readonly listFileVersions: import("./endpoint.js").Endpoint<"GET", "/storage/files/:fileId/versions", import("effect/Schema").Struct<{
12085
+ fileId: typeof import("effect/Schema").String;
11923
12086
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11924
12087
  versions: import("effect/Schema").Array$<import("effect/Schema").Struct<{
11925
- id: typeof import("effect/Schema").String;
11926
- fileId: typeof import("effect/Schema").String;
12088
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileVersionId">;
12089
+ fileId: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11927
12090
  versionNumber: typeof import("effect/Schema").Number;
11928
- sizeBytes: typeof import("effect/Schema").Number;
11929
- contentType: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11930
- checksumSha256: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11931
- createdAt: typeof import("effect/Schema").String;
12091
+ size: typeof import("effect/Schema").Number;
12092
+ contentType: typeof import("effect/Schema").String;
12093
+ checksumSha256: typeof import("effect/Schema").String;
12094
+ etag: typeof import("effect/Schema").String;
12095
+ createdAt: typeof import("effect/Schema").DateFromString;
11932
12096
  createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11933
12097
  isCurrent: typeof import("effect/Schema").Boolean;
11934
12098
  }>>;
11935
12099
  }>>;
11936
- readonly restoreVersion: import("./endpoint.js").Endpoint<"POST", "/storage/files/:id/versions/:versionId/restore", import("effect/Schema").Struct<{
11937
- id: typeof import("effect/Schema").String;
12100
+ readonly restoreFileVersion: import("./endpoint.js").Endpoint<"POST", "/storage/files/:fileId/versions/:versionId:restore", import("effect/Schema").Struct<{
12101
+ fileId: typeof import("effect/Schema").String;
11938
12102
  versionId: typeof import("effect/Schema").String;
11939
12103
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11940
- success: import("effect/Schema").Literal<[true]>;
12104
+ file: import("effect/Schema").Struct<{
12105
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
12106
+ filename: typeof import("effect/Schema").String;
12107
+ contentType: typeof import("effect/Schema").String;
12108
+ size: typeof import("effect/Schema").Number;
12109
+ checksumSha256: typeof import("effect/Schema").String;
12110
+ etag: typeof import("effect/Schema").String;
12111
+ visibility: import("effect/Schema").Literal<["public", "private"]>;
12112
+ folder: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12113
+ metadata: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>;
12114
+ url: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
12115
+ isDeleted: typeof import("effect/Schema").Boolean;
12116
+ createdAt: typeof import("effect/Schema").DateFromString;
12117
+ updatedAt: typeof import("effect/Schema").DateFromString;
12118
+ }>;
11941
12119
  version: import("effect/Schema").Struct<{
11942
- id: typeof import("effect/Schema").String;
11943
- fileId: typeof import("effect/Schema").String;
12120
+ id: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileVersionId">;
12121
+ fileId: import("effect/Schema").brand<typeof import("effect/Schema").String, "FileId">;
11944
12122
  versionNumber: typeof import("effect/Schema").Number;
11945
- sizeBytes: typeof import("effect/Schema").Number;
11946
- contentType: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11947
- checksumSha256: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11948
- createdAt: typeof import("effect/Schema").String;
12123
+ size: typeof import("effect/Schema").Number;
12124
+ contentType: typeof import("effect/Schema").String;
12125
+ checksumSha256: typeof import("effect/Schema").String;
12126
+ etag: typeof import("effect/Schema").String;
12127
+ createdAt: typeof import("effect/Schema").DateFromString;
11949
12128
  createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
11950
12129
  isCurrent: typeof import("effect/Schema").Boolean;
11951
12130
  }>;
11952
12131
  }>>;
11953
- readonly restoreFile: import("./endpoint.js").Endpoint<"POST", "/storage/files/:id/restore", import("effect/Schema").Struct<{
11954
- id: typeof import("effect/Schema").String;
11955
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11956
- success: import("effect/Schema").Literal<[true]>;
11957
- file: import("effect/Schema").Struct<{
11958
- id: typeof import("effect/Schema").String;
11959
- size: typeof import("effect/Schema").Number;
11960
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11961
- filename: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11962
- path: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11963
- key: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11964
- url: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
11965
- contentType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11966
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11967
- isPrivate: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
11968
- metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>>;
11969
- createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11970
- uploadedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11971
- }>;
11972
- }>>;
11973
12132
  };
11974
12133
  readonly storageAdmin: {
11975
12134
  readonly listBuckets: import("./endpoint.js").Endpoint<"GET", "/storage/projects/:id/buckets", import("effect/Schema").Struct<{