@sylphx/contract 0.2.0 → 0.3.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 (125) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/endpoint.d.ts +13 -1
  3. package/dist/endpoint.d.ts.map +1 -1
  4. package/dist/endpoints/admin-ai-playground.d.ts +3 -3
  5. package/dist/endpoints/admin-ai-playground.js +6 -6
  6. package/dist/endpoints/admin-anomalies.d.ts +7 -7
  7. package/dist/endpoints/admin-anomalies.js +14 -14
  8. package/dist/endpoints/admin-apm.d.ts +6 -6
  9. package/dist/endpoints/admin-apm.js +12 -12
  10. package/dist/endpoints/admin-audit.d.ts +185 -52
  11. package/dist/endpoints/admin-audit.d.ts.map +1 -1
  12. package/dist/endpoints/admin-audit.js +113 -113
  13. package/dist/endpoints/admin-billing.d.ts +19 -19
  14. package/dist/endpoints/admin-billing.js +38 -38
  15. package/dist/endpoints/admin-bootstrap.d.ts +1 -1
  16. package/dist/endpoints/admin-bootstrap.js +2 -2
  17. package/dist/endpoints/admin-broadcasts.d.ts +5 -5
  18. package/dist/endpoints/admin-broadcasts.js +10 -10
  19. package/dist/endpoints/admin-builds.d.ts +1 -1
  20. package/dist/endpoints/admin-builds.js +2 -2
  21. package/dist/endpoints/admin-config.d.ts +11 -11
  22. package/dist/endpoints/admin-config.js +22 -22
  23. package/dist/endpoints/admin-consent.d.ts +38 -14
  24. package/dist/endpoints/admin-consent.d.ts.map +1 -1
  25. package/dist/endpoints/admin-consent.js +27 -27
  26. package/dist/endpoints/admin-env-services.d.ts +1 -1
  27. package/dist/endpoints/admin-env-services.js +2 -2
  28. package/dist/endpoints/admin-impersonation.d.ts +9 -9
  29. package/dist/endpoints/admin-impersonation.js +18 -18
  30. package/dist/endpoints/admin-invitations.d.ts +5 -5
  31. package/dist/endpoints/admin-invitations.js +10 -10
  32. package/dist/endpoints/admin-jwt-keys.d.ts +6 -6
  33. package/dist/endpoints/admin-jwt-keys.js +12 -12
  34. package/dist/endpoints/admin-logs.d.ts +7 -7
  35. package/dist/endpoints/admin-logs.js +14 -14
  36. package/dist/endpoints/admin-plans.d.ts +4 -4
  37. package/dist/endpoints/admin-plans.js +8 -8
  38. package/dist/endpoints/admin-project-users.d.ts +8 -8
  39. package/dist/endpoints/admin-project-users.js +16 -16
  40. package/dist/endpoints/admin-projects.d.ts +36 -7
  41. package/dist/endpoints/admin-projects.d.ts.map +1 -1
  42. package/dist/endpoints/admin-projects.js +44 -15
  43. package/dist/endpoints/admin-quotas.d.ts +6 -6
  44. package/dist/endpoints/admin-quotas.js +12 -12
  45. package/dist/endpoints/admin-rate-limits.d.ts +2 -2
  46. package/dist/endpoints/admin-rate-limits.js +4 -4
  47. package/dist/endpoints/admin-reconcile.d.ts +1 -1
  48. package/dist/endpoints/admin-reconcile.js +2 -2
  49. package/dist/endpoints/admin-resources.d.ts +2 -2
  50. package/dist/endpoints/admin-resources.js +4 -4
  51. package/dist/endpoints/admin-secrets.d.ts +2 -2
  52. package/dist/endpoints/admin-secrets.js +4 -4
  53. package/dist/endpoints/admin-services.d.ts +1 -1
  54. package/dist/endpoints/admin-services.js +2 -2
  55. package/dist/endpoints/admin-tasks.d.ts +6 -6
  56. package/dist/endpoints/admin-tasks.js +12 -12
  57. package/dist/endpoints/admin-tenants.d.ts +1 -1
  58. package/dist/endpoints/admin-tenants.js +2 -2
  59. package/dist/endpoints/admin-traces.d.ts +5 -5
  60. package/dist/endpoints/admin-traces.js +10 -10
  61. package/dist/endpoints/admin-users.d.ts +8 -8
  62. package/dist/endpoints/admin-users.js +16 -16
  63. package/dist/endpoints/admin-webhook-signature-versions.d.ts +3 -3
  64. package/dist/endpoints/admin-webhook-signature-versions.js +6 -6
  65. package/dist/endpoints/auth.d.ts +6 -0
  66. package/dist/endpoints/auth.d.ts.map +1 -1
  67. package/dist/endpoints/auth.js +12 -1
  68. package/dist/endpoints/branch-databases.d.ts +27 -28
  69. package/dist/endpoints/branch-databases.d.ts.map +1 -1
  70. package/dist/endpoints/branch-databases.js +7 -7
  71. package/dist/endpoints/databases.d.ts +253 -3
  72. package/dist/endpoints/databases.d.ts.map +1 -1
  73. package/dist/endpoints/databases.js +19 -12
  74. package/dist/endpoints/environments.d.ts +9 -0
  75. package/dist/endpoints/environments.d.ts.map +1 -1
  76. package/dist/endpoints/organizations.d.ts +11 -0
  77. package/dist/endpoints/organizations.d.ts.map +1 -1
  78. package/dist/endpoints/organizations.js +8 -1
  79. package/dist/endpoints/project-manifest.d.ts +42 -34
  80. package/dist/endpoints/project-manifest.d.ts.map +1 -1
  81. package/dist/endpoints/secrets.d.ts +6 -6
  82. package/dist/endpoints/secrets.d.ts.map +1 -1
  83. package/dist/endpoints/secrets.js +6 -5
  84. package/dist/endpoints/storage.d.ts +4 -6
  85. package/dist/endpoints/storage.d.ts.map +1 -1
  86. package/dist/endpoints/storage.js +1 -12
  87. package/dist/hono-app.d.ts +206 -0
  88. package/dist/hono-app.d.ts.map +1 -0
  89. package/dist/hono-app.js +62 -0
  90. package/dist/index.d.ts +503 -278
  91. package/dist/index.d.ts.map +1 -1
  92. package/dist/index.js +10 -4
  93. package/dist/schemas/admin-audit.d.ts +183 -0
  94. package/dist/schemas/admin-audit.d.ts.map +1 -1
  95. package/dist/schemas/admin-audit.js +144 -0
  96. package/dist/schemas/admin-consent.d.ts +32 -3
  97. package/dist/schemas/admin-consent.d.ts.map +1 -1
  98. package/dist/schemas/admin-consent.js +28 -1
  99. package/dist/schemas/admin-projects.d.ts +20 -0
  100. package/dist/schemas/admin-projects.d.ts.map +1 -1
  101. package/dist/schemas/admin-projects.js +17 -0
  102. package/dist/schemas/auth.d.ts +11 -0
  103. package/dist/schemas/auth.d.ts.map +1 -1
  104. package/dist/schemas/auth.js +10 -0
  105. package/dist/schemas/branch-database.d.ts +20 -19
  106. package/dist/schemas/branch-database.d.ts.map +1 -1
  107. package/dist/schemas/branch-database.js +9 -7
  108. package/dist/schemas/environment.d.ts +6 -0
  109. package/dist/schemas/environment.d.ts.map +1 -1
  110. package/dist/schemas/environment.js +2 -0
  111. package/dist/schemas/ids.d.ts +2 -0
  112. package/dist/schemas/ids.d.ts.map +1 -1
  113. package/dist/schemas/ids.js +1 -0
  114. package/dist/schemas/organization.d.ts +24 -2
  115. package/dist/schemas/organization.d.ts.map +1 -1
  116. package/dist/schemas/organization.js +13 -1
  117. package/dist/schemas/project-manifest.d.ts +59 -37
  118. package/dist/schemas/project-manifest.d.ts.map +1 -1
  119. package/dist/schemas/project-manifest.js +11 -3
  120. package/dist/schemas/secret.d.ts +1 -1
  121. package/dist/schemas/secret.js +2 -2
  122. package/dist/schemas/storage.d.ts +4 -5
  123. package/dist/schemas/storage.d.ts.map +1 -1
  124. package/dist/schemas/storage.js +5 -4
  125. package/package.json +16 -2
package/dist/index.d.ts CHANGED
@@ -1,9 +1,15 @@
1
1
  /**
2
2
  * `@sylphx/contract` — the Effect Schema SSOT for every Sylphx API endpoint.
3
3
  *
4
- * This package is framework-free: no Hono, no Next.js, no Zod. Every schema
5
- * exposes Standard Schema's `~standard` interface (via Effect Schema), so
6
- * consumers can swap validator libraries without breaking downstream code.
4
+ * The runtime surface is framework-free (no Hono, no Next.js, no Zod) every
5
+ * schema exposes Standard Schema's `~standard` interface via Effect Schema,
6
+ * so consumers can swap validator libraries without breaking downstream code.
7
+ *
8
+ * The TYPE-LEVEL surface includes `HonoAppFromEndpoints<G>` (`./hono-app`) —
9
+ * a pure type transformer that derives a Hono RPC-compatible app type from
10
+ * an endpoint group. This is what `apps/web` consumes via `hc<T>()` so the
11
+ * Console never needs to import backend route handler types directly. Hono
12
+ * is a TYPE-ONLY peer dep here — not a runtime dependency of this package.
7
13
  *
8
14
  * See ADR-084 for the full rationale.
9
15
  */
@@ -51,7 +57,7 @@ export { branchDatabasesEndpoints } from './endpoints/branch-databases.js';
51
57
  export { challengeEndpoints } from './endpoints/challenge.js';
52
58
  export { ciSettingsEndpoints } from './endpoints/ci-settings.js';
53
59
  export { consentAdminEndpoints } from './endpoints/consent-admin.js';
54
- export { databasesEndpoints } from './endpoints/databases.js';
60
+ export { databasesEndpoints, resourcesEndpoints } from './endpoints/databases.js';
55
61
  export { deploymentsEndpoints } from './endpoints/deployments.js';
56
62
  export { domainsEndpoints } from './endpoints/domains.js';
57
63
  export { edgeDeploymentsEndpoints } from './endpoints/edge-deployments.js';
@@ -97,6 +103,7 @@ export { tasksEndpoints } from './endpoints/tasks.js';
97
103
  export { usersEndpoints } from './endpoints/users.js';
98
104
  export { webhooksEndpoints } from './endpoints/webhooks.js';
99
105
  export * from './errors.js';
106
+ export type { HonoAppFromEndpoints } from './hono-app.js';
100
107
  export * from './schemas/_primitives.js';
101
108
  export * from './schemas/admin-ai-playground.js';
102
109
  export * from './schemas/admin-anomalies.js';
@@ -205,7 +212,7 @@ export * from './schemas/webhooks.js';
205
212
  */
206
213
  export declare const endpoints: {
207
214
  readonly adminAiPlayground: {
208
- readonly listModels: import("./endpoint.js").Endpoint<"GET", "/admin/ai-playground/models", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
215
+ readonly listModels: import("./endpoint.js").Endpoint<"GET", "/operator/ai-playground/models", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
209
216
  models: import("effect/Schema").Array$<import("effect/Schema").Struct<{
210
217
  id: typeof import("effect/Schema").String;
211
218
  name: typeof import("effect/Schema").String;
@@ -221,7 +228,7 @@ export declare const endpoints: {
221
228
  outputCostPer1M: typeof import("effect/Schema").Number;
222
229
  }>>;
223
230
  }>>;
224
- readonly chat: import("./endpoint.js").Endpoint<"POST", "/admin/ai-playground/chat", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
231
+ readonly chat: import("./endpoint.js").Endpoint<"POST", "/operator/ai-playground/chat", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
225
232
  projectId: typeof import("effect/Schema").String;
226
233
  model: typeof import("effect/Schema").String;
227
234
  messages: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -261,7 +268,7 @@ export declare const endpoints: {
261
268
  arguments: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>;
262
269
  }>>>;
263
270
  }>>;
264
- readonly chatStream: import("./endpoint.js").Endpoint<"POST", "/admin/ai-playground/chat/stream", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
271
+ readonly chatStream: import("./endpoint.js").Endpoint<"POST", "/operator/ai-playground/chat/stream", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
265
272
  projectId: typeof import("effect/Schema").String;
266
273
  model: typeof import("effect/Schema").String;
267
274
  messages: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -290,14 +297,14 @@ export declare const endpoints: {
290
297
  }>>;
291
298
  };
292
299
  readonly adminAnomalies: {
293
- readonly stats: import("./endpoint.js").Endpoint<"GET", "/admin/anomalies/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
300
+ readonly stats: import("./endpoint.js").Endpoint<"GET", "/operator/anomalies/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
294
301
  open: typeof import("effect/Schema").Number;
295
302
  acknowledged: typeof import("effect/Schema").Number;
296
303
  resolved: typeof import("effect/Schema").Number;
297
304
  dismissed: typeof import("effect/Schema").Number;
298
305
  total: typeof import("effect/Schema").Number;
299
306
  }>>;
300
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/anomalies/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
307
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/anomalies/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
301
308
  page: import("effect/Schema").optional<typeof import("effect/Schema").String>;
302
309
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
303
310
  status: import("effect/Schema").optional<import("effect/Schema").Literal<["all", "open", "acknowledged", "resolved", "dismissed"]>>;
@@ -326,7 +333,7 @@ export declare const endpoints: {
326
333
  totalPages: typeof import("effect/Schema").Number;
327
334
  }>;
328
335
  }>>;
329
- readonly get: import("./endpoint.js").Endpoint<"GET", "/admin/anomalies/:anomalyId", import("effect/Schema").Struct<{
336
+ readonly get: import("./endpoint.js").Endpoint<"GET", "/operator/anomalies/:anomalyId", import("effect/Schema").Struct<{
330
337
  anomalyId: typeof import("effect/Schema").String;
331
338
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
332
339
  id: typeof import("effect/Schema").String;
@@ -344,19 +351,19 @@ export declare const endpoints: {
344
351
  resolutionNotes: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
345
352
  createdAt: typeof import("effect/Schema").String;
346
353
  }>>;
347
- readonly acknowledge: import("./endpoint.js").Endpoint<"POST", "/admin/anomalies/:anomalyId/acknowledge", import("effect/Schema").Struct<{
354
+ readonly acknowledge: import("./endpoint.js").Endpoint<"POST", "/operator/anomalies/:anomalyId/acknowledge", import("effect/Schema").Struct<{
348
355
  anomalyId: typeof import("effect/Schema").String;
349
356
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
350
357
  success: typeof import("effect/Schema").Boolean;
351
358
  status: import("effect/Schema").Literal<["open", "acknowledged", "resolved", "dismissed"]>;
352
359
  }>>;
353
- readonly dismiss: import("./endpoint.js").Endpoint<"POST", "/admin/anomalies/:anomalyId/dismiss", import("effect/Schema").Struct<{
360
+ readonly dismiss: import("./endpoint.js").Endpoint<"POST", "/operator/anomalies/:anomalyId/dismiss", import("effect/Schema").Struct<{
354
361
  anomalyId: typeof import("effect/Schema").String;
355
362
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
356
363
  success: typeof import("effect/Schema").Boolean;
357
364
  status: import("effect/Schema").Literal<["open", "acknowledged", "resolved", "dismissed"]>;
358
365
  }>>;
359
- readonly resolve: import("./endpoint.js").Endpoint<"POST", "/admin/anomalies/:anomalyId/resolve", import("effect/Schema").Struct<{
366
+ readonly resolve: import("./endpoint.js").Endpoint<"POST", "/operator/anomalies/:anomalyId/resolve", import("effect/Schema").Struct<{
360
367
  anomalyId: typeof import("effect/Schema").String;
361
368
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
362
369
  notes: typeof import("effect/Schema").String;
@@ -364,7 +371,7 @@ export declare const endpoints: {
364
371
  success: typeof import("effect/Schema").Boolean;
365
372
  status: import("effect/Schema").Literal<["open", "acknowledged", "resolved", "dismissed"]>;
366
373
  }>>;
367
- readonly errorsOverview: import("./endpoint.js").Endpoint<"GET", "/admin/anomalies/errors/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
374
+ readonly errorsOverview: import("./endpoint.js").Endpoint<"GET", "/operator/anomalies/errors/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
368
375
  total: typeof import("effect/Schema").Number;
369
376
  unresolved: typeof import("effect/Schema").Number;
370
377
  bySeverity: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Number>;
@@ -391,7 +398,7 @@ export declare const endpoints: {
391
398
  }>>;
392
399
  };
393
400
  readonly adminApm: {
394
- readonly overview: import("./endpoint.js").Endpoint<"GET", "/admin/apm/:projectId/overview", import("effect/Schema").Struct<{
401
+ readonly overview: import("./endpoint.js").Endpoint<"GET", "/operator/apm/:projectId/overview", import("effect/Schema").Struct<{
395
402
  projectId: typeof import("effect/Schema").String;
396
403
  }>, import("effect/Schema").Struct<{
397
404
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -410,7 +417,7 @@ export declare const endpoints: {
410
417
  end: typeof import("effect/Schema").String;
411
418
  }>;
412
419
  }>>;
413
- readonly endpoints: import("./endpoint.js").Endpoint<"GET", "/admin/apm/:projectId/endpoints", import("effect/Schema").Struct<{
420
+ readonly endpoints: import("./endpoint.js").Endpoint<"GET", "/operator/apm/:projectId/endpoints", import("effect/Schema").Struct<{
414
421
  projectId: typeof import("effect/Schema").String;
415
422
  }>, import("effect/Schema").Struct<{
416
423
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -432,7 +439,7 @@ export declare const endpoints: {
432
439
  total: typeof import("effect/Schema").Number;
433
440
  hasMore: typeof import("effect/Schema").Boolean;
434
441
  }>>;
435
- readonly endpointTrend: import("./endpoint.js").Endpoint<"GET", "/admin/apm/:projectId/endpoints/trend", import("effect/Schema").Struct<{
442
+ readonly endpointTrend: import("./endpoint.js").Endpoint<"GET", "/operator/apm/:projectId/endpoints/trend", import("effect/Schema").Struct<{
436
443
  projectId: typeof import("effect/Schema").String;
437
444
  }>, import("effect/Schema").Struct<{
438
445
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -448,7 +455,7 @@ export declare const endpoints: {
448
455
  p95Ms: typeof import("effect/Schema").Number;
449
456
  p99Ms: typeof import("effect/Schema").Number;
450
457
  }>>>;
451
- readonly slowestEndpoints: import("./endpoint.js").Endpoint<"GET", "/admin/apm/:projectId/endpoints/slowest", import("effect/Schema").Struct<{
458
+ readonly slowestEndpoints: import("./endpoint.js").Endpoint<"GET", "/operator/apm/:projectId/endpoints/slowest", import("effect/Schema").Struct<{
452
459
  projectId: typeof import("effect/Schema").String;
453
460
  }>, import("effect/Schema").Struct<{
454
461
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -461,7 +468,7 @@ export declare const endpoints: {
461
468
  p95Ms: typeof import("effect/Schema").Number;
462
469
  requestCount: typeof import("effect/Schema").Number;
463
470
  }>>>;
464
- readonly errorEndpoints: import("./endpoint.js").Endpoint<"GET", "/admin/apm/:projectId/endpoints/errors", import("effect/Schema").Struct<{
471
+ readonly errorEndpoints: import("./endpoint.js").Endpoint<"GET", "/operator/apm/:projectId/endpoints/errors", import("effect/Schema").Struct<{
465
472
  projectId: typeof import("effect/Schema").String;
466
473
  }>, import("effect/Schema").Struct<{
467
474
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -474,7 +481,7 @@ export declare const endpoints: {
474
481
  errorRate: typeof import("effect/Schema").Number;
475
482
  requestCount: typeof import("effect/Schema").Number;
476
483
  }>>>;
477
- readonly hourlyVolume: import("./endpoint.js").Endpoint<"GET", "/admin/apm/:projectId/volume", import("effect/Schema").Struct<{
484
+ readonly hourlyVolume: import("./endpoint.js").Endpoint<"GET", "/operator/apm/:projectId/volume", import("effect/Schema").Struct<{
478
485
  projectId: typeof import("effect/Schema").String;
479
486
  }>, import("effect/Schema").Struct<{
480
487
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -486,7 +493,7 @@ export declare const endpoints: {
486
493
  }>>>;
487
494
  };
488
495
  readonly adminAudit: {
489
- readonly logs: import("./endpoint.js").Endpoint<"GET", "/admin/audit/logs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
496
+ readonly logs: import("./endpoint.js").Endpoint<"GET", "/operator/audit/logs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
490
497
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
491
498
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
492
499
  page: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -524,7 +531,7 @@ export declare const endpoints: {
524
531
  totalActions: typeof import("effect/Schema").Number;
525
532
  actionsByType: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Number>;
526
533
  }>]>>;
527
- readonly activity: import("./endpoint.js").Endpoint<"GET", "/admin/audit/activity", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
534
+ readonly activity: import("./endpoint.js").Endpoint<"GET", "/operator/audit/activity", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
528
535
  projectId: typeof import("effect/Schema").String;
529
536
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
530
537
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -541,7 +548,7 @@ export declare const endpoints: {
541
548
  }>>;
542
549
  }>>;
543
550
  }>>;
544
- readonly dashboard: import("./endpoint.js").Endpoint<"GET", "/admin/audit/overview/dashboard", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
551
+ readonly dashboard: import("./endpoint.js").Endpoint<"GET", "/operator/audit/overview/dashboard", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
545
552
  projects: import("effect/Schema").Array$<import("effect/Schema").Struct<{
546
553
  id: typeof import("effect/Schema").String;
547
554
  name: typeof import("effect/Schema").String;
@@ -586,7 +593,7 @@ export declare const endpoints: {
586
593
  newOrgsThisMonth: typeof import("effect/Schema").Number;
587
594
  userGrowth: typeof import("effect/Schema").Number;
588
595
  }>>;
589
- readonly charts: import("./endpoint.js").Endpoint<"GET", "/admin/audit/overview/charts", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
596
+ readonly charts: import("./endpoint.js").Endpoint<"GET", "/operator/audit/overview/charts", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
590
597
  revenueTrendData: import("effect/Schema").Array$<import("effect/Schema").Struct<{
591
598
  date: typeof import("effect/Schema").String;
592
599
  revenue: typeof import("effect/Schema").Number;
@@ -608,7 +615,7 @@ export declare const endpoints: {
608
615
  cost: typeof import("effect/Schema").Number;
609
616
  }>>;
610
617
  }>>;
611
- readonly health: import("./endpoint.js").Endpoint<"GET", "/admin/audit/overview/health", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
618
+ readonly health: import("./endpoint.js").Endpoint<"GET", "/operator/audit/overview/health", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
612
619
  services: import("effect/Schema").Array$<import("effect/Schema").Struct<{
613
620
  name: typeof import("effect/Schema").String;
614
621
  status: import("effect/Schema").Literal<["healthy", "degraded", "down"]>;
@@ -621,7 +628,7 @@ export declare const endpoints: {
621
628
  percentage: typeof import("effect/Schema").Number;
622
629
  }>;
623
630
  }>>;
624
- readonly analytics: import("./endpoint.js").Endpoint<"GET", "/admin/audit/overview/analytics", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
631
+ readonly analytics: import("./endpoint.js").Endpoint<"GET", "/operator/audit/overview/analytics", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
625
632
  totalUsers: typeof import("effect/Schema").Number;
626
633
  newUsers30d: typeof import("effect/Schema").Number;
627
634
  dau: typeof import("effect/Schema").Number;
@@ -644,7 +651,7 @@ export declare const endpoints: {
644
651
  activeSubscriptions: typeof import("effect/Schema").Number;
645
652
  retention: typeof import("effect/Schema").Number;
646
653
  }>>;
647
- readonly projectOverview: import("./endpoint.js").Endpoint<"GET", "/admin/audit/overview/:id", import("effect/Schema").Struct<{
654
+ readonly projectOverview: import("./endpoint.js").Endpoint<"GET", "/operator/audit/overview/:id", import("effect/Schema").Struct<{
648
655
  id: typeof import("effect/Schema").String;
649
656
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
650
657
  app: import("effect/Schema").Struct<{
@@ -668,7 +675,7 @@ export declare const endpoints: {
668
675
  region: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
669
676
  }>>;
670
677
  }>>;
671
- readonly servicesOverview: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id", import("effect/Schema").Struct<{
678
+ readonly servicesOverview: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id", import("effect/Schema").Struct<{
672
679
  id: typeof import("effect/Schema").String;
673
680
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
674
681
  app: import("effect/Schema").Struct<{
@@ -706,7 +713,7 @@ export declare const endpoints: {
706
713
  region: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
707
714
  }>>;
708
715
  }>>;
709
- readonly ai: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai", import("effect/Schema").Struct<{
716
+ readonly ai: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai", import("effect/Schema").Struct<{
710
717
  id: typeof import("effect/Schema").String;
711
718
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
712
719
  app: import("effect/Schema").Struct<{
@@ -740,7 +747,7 @@ export declare const endpoints: {
740
747
  cost: typeof import("effect/Schema").Number;
741
748
  }>>;
742
749
  }>>;
743
- readonly aiLogs: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai/logs", import("effect/Schema").Struct<{
750
+ readonly aiLogs: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai/logs", import("effect/Schema").Struct<{
744
751
  id: typeof import("effect/Schema").String;
745
752
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
746
753
  logs: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -767,7 +774,7 @@ export declare const endpoints: {
767
774
  totalPages: typeof import("effect/Schema").Number;
768
775
  }>;
769
776
  }>>;
770
- readonly aiRates: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai/rates", import("effect/Schema").Struct<{
777
+ readonly aiRates: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai/rates", import("effect/Schema").Struct<{
771
778
  id: typeof import("effect/Schema").String;
772
779
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
773
780
  currentRPM: typeof import("effect/Schema").Number;
@@ -785,7 +792,7 @@ export declare const endpoints: {
785
792
  avgLatency: typeof import("effect/Schema").Number;
786
793
  }>>;
787
794
  }>>;
788
- readonly aiSummary: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai/summary", import("effect/Schema").Struct<{
795
+ readonly aiSummary: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai/summary", import("effect/Schema").Struct<{
789
796
  id: typeof import("effect/Schema").String;
790
797
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
791
798
  period: typeof import("effect/Schema").String;
@@ -804,7 +811,7 @@ export declare const endpoints: {
804
811
  cost: typeof import("effect/Schema").Number;
805
812
  }>>;
806
813
  }>>;
807
- readonly billingUsage: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/billing/usage", import("effect/Schema").Struct<{
814
+ readonly billingUsage: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/billing/usage", import("effect/Schema").Struct<{
808
815
  id: typeof import("effect/Schema").String;
809
816
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
810
817
  app: import("effect/Schema").Struct<{
@@ -839,7 +846,7 @@ export declare const endpoints: {
839
846
  message: typeof import("effect/Schema").String;
840
847
  }>>;
841
848
  }>>;
842
- readonly billing: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/billing", import("effect/Schema").Struct<{
849
+ readonly billing: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/billing", import("effect/Schema").Struct<{
843
850
  id: typeof import("effect/Schema").String;
844
851
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
845
852
  app: import("effect/Schema").Struct<{
@@ -880,16 +887,16 @@ export declare const endpoints: {
880
887
  }>>;
881
888
  hasStripeConnected: typeof import("effect/Schema").Boolean;
882
889
  }>>;
883
- readonly obsLogs: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/logs", import("effect/Schema").Struct<{
890
+ readonly obsLogs: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/logs", import("effect/Schema").Struct<{
884
891
  id: typeof import("effect/Schema").String;
885
892
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
886
893
  entries: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
887
894
  hasMore: typeof import("effect/Schema").Boolean;
888
895
  }>>;
889
- readonly obsLogsStream: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/logs/stream", import("effect/Schema").Struct<{
896
+ readonly obsLogsStream: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/logs/stream", import("effect/Schema").Struct<{
890
897
  id: typeof import("effect/Schema").String;
891
898
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
892
- readonly obsMetrics: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/metrics", import("effect/Schema").Struct<{
899
+ readonly obsMetrics: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/metrics", import("effect/Schema").Struct<{
893
900
  id: typeof import("effect/Schema").String;
894
901
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
895
902
  requestRate: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
@@ -899,21 +906,21 @@ export declare const endpoints: {
899
906
  memoryUsage: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
900
907
  podCount: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
901
908
  }>>;
902
- readonly obsMetricsRange: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/metrics/range", import("effect/Schema").Struct<{
909
+ readonly obsMetricsRange: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/metrics/range", import("effect/Schema").Struct<{
903
910
  id: typeof import("effect/Schema").String;
904
911
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
905
912
  series: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
906
913
  }>>;
907
- readonly obsTraces: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/traces", import("effect/Schema").Struct<{
914
+ readonly obsTraces: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/traces", import("effect/Schema").Struct<{
908
915
  id: typeof import("effect/Schema").String;
909
916
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
910
917
  traces: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
911
918
  }>>;
912
- readonly obsTrace: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/traces/:traceId", import("effect/Schema").Struct<{
919
+ readonly obsTrace: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/traces/:traceId", import("effect/Schema").Struct<{
913
920
  id: typeof import("effect/Schema").String;
914
921
  traceId: typeof import("effect/Schema").String;
915
922
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
916
- readonly authService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/auth", import("effect/Schema").Struct<{
923
+ readonly authService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/auth", import("effect/Schema").Struct<{
917
924
  id: typeof import("effect/Schema").String;
918
925
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
919
926
  app: import("effect/Schema").Struct<{
@@ -922,7 +929,7 @@ export declare const endpoints: {
922
929
  slug: typeof import("effect/Schema").String;
923
930
  }>;
924
931
  }>>;
925
- readonly analyticsService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/analytics", import("effect/Schema").Struct<{
932
+ readonly analyticsService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/analytics", import("effect/Schema").Struct<{
926
933
  id: typeof import("effect/Schema").String;
927
934
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
928
935
  app: import("effect/Schema").Struct<{
@@ -930,8 +937,50 @@ export declare const endpoints: {
930
937
  name: typeof import("effect/Schema").String;
931
938
  slug: typeof import("effect/Schema").String;
932
939
  }>;
940
+ eventsToday: typeof import("effect/Schema").Number;
941
+ eventsYesterday: typeof import("effect/Schema").Number;
942
+ eventsThisWeek: typeof import("effect/Schema").Number;
943
+ eventsLastWeek: typeof import("effect/Schema").Number;
944
+ activeUsersThisWeek: typeof import("effect/Schema").Number;
945
+ activeUsersLastWeek: typeof import("effect/Schema").Number;
946
+ uniqueVisitorsThisWeek: typeof import("effect/Schema").Number;
947
+ totalEvents: typeof import("effect/Schema").Number;
948
+ eventsByDay: import("effect/Schema").Array$<import("effect/Schema").Struct<{
949
+ date: typeof import("effect/Schema").String;
950
+ count: typeof import("effect/Schema").Number;
951
+ }>>;
952
+ topEvents: import("effect/Schema").Array$<import("effect/Schema").Struct<{
953
+ name: typeof import("effect/Schema").String;
954
+ count: typeof import("effect/Schema").Number;
955
+ }>>;
956
+ destinations: import("effect/Schema").Array$<import("effect/Schema").Struct<{
957
+ id: typeof import("effect/Schema").String;
958
+ platform: typeof import("effect/Schema").String;
959
+ name: typeof import("effect/Schema").String;
960
+ isActive: typeof import("effect/Schema").Boolean;
961
+ autoForward: typeof import("effect/Schema").Boolean;
962
+ eventFilter: import("effect/Schema").NullOr<import("effect/Schema").Array$<typeof import("effect/Schema").String>>;
963
+ eventsForwarded: typeof import("effect/Schema").Number;
964
+ lastUsedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
965
+ createdAt: typeof import("effect/Schema").String;
966
+ }>>;
967
+ destinationStats: import("effect/Schema").Array$<import("effect/Schema").Struct<{
968
+ platform: typeof import("effect/Schema").String;
969
+ totalEvents: typeof import("effect/Schema").Number;
970
+ successRate: typeof import("effect/Schema").Number;
971
+ lastDelivery: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
972
+ }>>;
973
+ recentDeliveries: import("effect/Schema").Array$<import("effect/Schema").Struct<{
974
+ id: typeof import("effect/Schema").String;
975
+ eventName: typeof import("effect/Schema").String;
976
+ eventTime: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
977
+ status: typeof import("effect/Schema").String;
978
+ errorMessage: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
979
+ conversionValue: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
980
+ sentAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
981
+ }>>;
933
982
  }>>;
934
- readonly jobsService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/jobs", import("effect/Schema").Struct<{
983
+ readonly jobsService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/jobs", import("effect/Schema").Struct<{
935
984
  id: typeof import("effect/Schema").String;
936
985
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
937
986
  app: import("effect/Schema").Struct<{
@@ -939,8 +988,14 @@ export declare const endpoints: {
939
988
  name: typeof import("effect/Schema").String;
940
989
  slug: typeof import("effect/Schema").String;
941
990
  }>;
991
+ scheduledCount: typeof import("effect/Schema").Number;
992
+ runningCount: typeof import("effect/Schema").Number;
993
+ completedToday: typeof import("effect/Schema").Number;
994
+ failedToday: typeof import("effect/Schema").Number;
995
+ totalJobs: typeof import("effect/Schema").Number;
996
+ dlqPendingCount: typeof import("effect/Schema").Number;
942
997
  }>>;
943
- readonly pushService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/push", import("effect/Schema").Struct<{
998
+ readonly pushService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/push", import("effect/Schema").Struct<{
944
999
  id: typeof import("effect/Schema").String;
945
1000
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
946
1001
  app: import("effect/Schema").Struct<{
@@ -949,7 +1004,7 @@ export declare const endpoints: {
949
1004
  slug: typeof import("effect/Schema").String;
950
1005
  }>;
951
1006
  }>>;
952
- readonly runsService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/runs", import("effect/Schema").Struct<{
1007
+ readonly runsService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/runs", import("effect/Schema").Struct<{
953
1008
  id: typeof import("effect/Schema").String;
954
1009
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
955
1010
  app: import("effect/Schema").Struct<{
@@ -957,8 +1012,14 @@ export declare const endpoints: {
957
1012
  name: typeof import("effect/Schema").String;
958
1013
  slug: typeof import("effect/Schema").String;
959
1014
  }>;
1015
+ pendingCount: typeof import("effect/Schema").Number;
1016
+ runningCount: typeof import("effect/Schema").Number;
1017
+ succeededToday: typeof import("effect/Schema").Number;
1018
+ failedToday: typeof import("effect/Schema").Number;
1019
+ totalRuns: typeof import("effect/Schema").Number;
1020
+ avgDurationMs: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
960
1021
  }>>;
961
- readonly workersService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/workers", import("effect/Schema").Struct<{
1022
+ readonly workersService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/workers", import("effect/Schema").Struct<{
962
1023
  id: typeof import("effect/Schema").String;
963
1024
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
964
1025
  app: import("effect/Schema").Struct<{
@@ -966,8 +1027,14 @@ export declare const endpoints: {
966
1027
  name: typeof import("effect/Schema").String;
967
1028
  slug: typeof import("effect/Schema").String;
968
1029
  }>;
1030
+ pendingCount: typeof import("effect/Schema").Number;
1031
+ runningCount: typeof import("effect/Schema").Number;
1032
+ succeededToday: typeof import("effect/Schema").Number;
1033
+ failedToday: typeof import("effect/Schema").Number;
1034
+ totalRuns: typeof import("effect/Schema").Number;
1035
+ avgDurationMs: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
969
1036
  }>>;
970
- readonly listRuns: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/runs/list", import("effect/Schema").Struct<{
1037
+ readonly listRuns: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/runs/list", import("effect/Schema").Struct<{
971
1038
  id: typeof import("effect/Schema").String;
972
1039
  }>, import("effect/Schema").Struct<{
973
1040
  status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -986,7 +1053,7 @@ export declare const endpoints: {
986
1053
  }>>;
987
1054
  total: typeof import("effect/Schema").Number;
988
1055
  }>>;
989
- readonly listWorkerRuns: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/workers/runs", import("effect/Schema").Struct<{
1056
+ readonly listWorkerRuns: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/workers/runs", import("effect/Schema").Struct<{
990
1057
  id: typeof import("effect/Schema").String;
991
1058
  }>, import("effect/Schema").Struct<{
992
1059
  status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1005,7 +1072,7 @@ export declare const endpoints: {
1005
1072
  }>>;
1006
1073
  total: typeof import("effect/Schema").Number;
1007
1074
  }>>;
1008
- readonly triggersService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/triggers", import("effect/Schema").Struct<{
1075
+ readonly triggersService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/triggers", import("effect/Schema").Struct<{
1009
1076
  id: typeof import("effect/Schema").String;
1010
1077
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1011
1078
  app: import("effect/Schema").Struct<{
@@ -1013,36 +1080,60 @@ export declare const endpoints: {
1013
1080
  name: typeof import("effect/Schema").String;
1014
1081
  slug: typeof import("effect/Schema").String;
1015
1082
  }>;
1083
+ triggers: import("effect/Schema").Array$<import("effect/Schema").Struct<{
1084
+ id: typeof import("effect/Schema").String;
1085
+ name: typeof import("effect/Schema").String;
1086
+ sourceType: import("effect/Schema").Literal<["cron", "event"]>;
1087
+ targetType: import("effect/Schema").Literal<["task", "run", "http"]>;
1088
+ cronExpression: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1089
+ eventName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1090
+ handlerPath: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1091
+ callbackUrl: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1092
+ status: import("effect/Schema").Literal<["active", "paused", "deleted"]>;
1093
+ nextRunAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1094
+ lastRunAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1095
+ createdAt: typeof import("effect/Schema").String;
1096
+ updatedAt: typeof import("effect/Schema").String;
1097
+ }>>;
1098
+ stats: import("effect/Schema").Struct<{
1099
+ activeCount: typeof import("effect/Schema").Number;
1100
+ pausedCount: typeof import("effect/Schema").Number;
1101
+ totalCount: typeof import("effect/Schema").Number;
1102
+ firedToday: typeof import("effect/Schema").Number;
1103
+ cronCount: typeof import("effect/Schema").Number;
1104
+ eventCount: typeof import("effect/Schema").Number;
1105
+ httpCount: typeof import("effect/Schema").Number;
1106
+ }>;
1016
1107
  }>>;
1017
- readonly pauseTrigger: import("./endpoint.js").Endpoint<"POST", "/admin/audit/projects/:id/triggers/:triggerId/pause", import("effect/Schema").Struct<{
1108
+ readonly pauseTrigger: import("./endpoint.js").Endpoint<"POST", "/operator/audit/projects/:id/triggers/:triggerId/pause", import("effect/Schema").Struct<{
1018
1109
  id: typeof import("effect/Schema").String;
1019
1110
  triggerId: typeof import("effect/Schema").String;
1020
1111
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1021
1112
  success: typeof import("effect/Schema").Boolean;
1022
1113
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1023
1114
  }>>;
1024
- readonly resumeTrigger: import("./endpoint.js").Endpoint<"POST", "/admin/audit/projects/:id/triggers/:triggerId/resume", import("effect/Schema").Struct<{
1115
+ readonly resumeTrigger: import("./endpoint.js").Endpoint<"POST", "/operator/audit/projects/:id/triggers/:triggerId/resume", import("effect/Schema").Struct<{
1025
1116
  id: typeof import("effect/Schema").String;
1026
1117
  triggerId: typeof import("effect/Schema").String;
1027
1118
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1028
1119
  success: typeof import("effect/Schema").Boolean;
1029
1120
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1030
1121
  }>>;
1031
- readonly fireTrigger: import("./endpoint.js").Endpoint<"POST", "/admin/audit/projects/:id/triggers/:triggerId/fire", import("effect/Schema").Struct<{
1122
+ readonly fireTrigger: import("./endpoint.js").Endpoint<"POST", "/operator/audit/projects/:id/triggers/:triggerId/fire", import("effect/Schema").Struct<{
1032
1123
  id: typeof import("effect/Schema").String;
1033
1124
  triggerId: typeof import("effect/Schema").String;
1034
1125
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1035
1126
  success: typeof import("effect/Schema").Boolean;
1036
1127
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1037
1128
  }>>;
1038
- readonly deleteTrigger: import("./endpoint.js").Endpoint<"DELETE", "/admin/audit/projects/:id/triggers/:triggerId", import("effect/Schema").Struct<{
1129
+ readonly deleteTrigger: import("./endpoint.js").Endpoint<"DELETE", "/operator/audit/projects/:id/triggers/:triggerId", import("effect/Schema").Struct<{
1039
1130
  id: typeof import("effect/Schema").String;
1040
1131
  triggerId: typeof import("effect/Schema").String;
1041
1132
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1042
1133
  success: typeof import("effect/Schema").Boolean;
1043
1134
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1044
1135
  }>>;
1045
- readonly functionsService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/functions", import("effect/Schema").Struct<{
1136
+ readonly functionsService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/functions", import("effect/Schema").Struct<{
1046
1137
  id: typeof import("effect/Schema").String;
1047
1138
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1048
1139
  app: import("effect/Schema").Struct<{
@@ -1051,10 +1142,10 @@ export declare const endpoints: {
1051
1142
  slug: typeof import("effect/Schema").String;
1052
1143
  }>;
1053
1144
  }>>;
1054
- readonly listFunctions: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/functions/list", import("effect/Schema").Struct<{
1145
+ readonly listFunctions: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/functions/list", import("effect/Schema").Struct<{
1055
1146
  id: typeof import("effect/Schema").String;
1056
1147
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1057
- readonly listPushSubscribers: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/push/subscribers", import("effect/Schema").Struct<{
1148
+ readonly listPushSubscribers: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/push/subscribers", import("effect/Schema").Struct<{
1058
1149
  id: typeof import("effect/Schema").String;
1059
1150
  }>, import("effect/Schema").Struct<{
1060
1151
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1066,7 +1157,7 @@ export declare const endpoints: {
1066
1157
  slug: typeof import("effect/Schema").String;
1067
1158
  }>;
1068
1159
  }>>;
1069
- readonly emailService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/email", import("effect/Schema").Struct<{
1160
+ readonly emailService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/email", import("effect/Schema").Struct<{
1070
1161
  id: typeof import("effect/Schema").String;
1071
1162
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1072
1163
  app: import("effect/Schema").Struct<{
@@ -1074,8 +1165,27 @@ export declare const endpoints: {
1074
1165
  name: typeof import("effect/Schema").String;
1075
1166
  slug: typeof import("effect/Schema").String;
1076
1167
  }>;
1168
+ stats: import("effect/Schema").Struct<{
1169
+ total: typeof import("effect/Schema").Number;
1170
+ sent: typeof import("effect/Schema").Number;
1171
+ delivered: typeof import("effect/Schema").Number;
1172
+ opened: typeof import("effect/Schema").Number;
1173
+ clicked: typeof import("effect/Schema").Number;
1174
+ bounced: typeof import("effect/Schema").Number;
1175
+ openRate: typeof import("effect/Schema").Number;
1176
+ clickRate: typeof import("effect/Schema").Number;
1177
+ }>;
1178
+ templateCount: typeof import("effect/Schema").Number;
1179
+ templates: import("effect/Schema").Array$<import("effect/Schema").Struct<{
1180
+ id: typeof import("effect/Schema").String;
1181
+ key: typeof import("effect/Schema").String;
1182
+ name: typeof import("effect/Schema").String;
1183
+ type: typeof import("effect/Schema").String;
1184
+ isActive: typeof import("effect/Schema").Boolean;
1185
+ updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1186
+ }>>;
1077
1187
  }>>;
1078
- readonly consentService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/consent", import("effect/Schema").Struct<{
1188
+ readonly consentService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/consent", import("effect/Schema").Struct<{
1079
1189
  id: typeof import("effect/Schema").String;
1080
1190
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1081
1191
  app: import("effect/Schema").Struct<{
@@ -1083,8 +1193,17 @@ export declare const endpoints: {
1083
1193
  name: typeof import("effect/Schema").String;
1084
1194
  slug: typeof import("effect/Schema").String;
1085
1195
  }>;
1196
+ totalConsents: typeof import("effect/Schema").Number;
1197
+ acceptedCount: typeof import("effect/Schema").Number;
1198
+ totalChanges: typeof import("effect/Schema").Number;
1199
+ acceptRate: typeof import("effect/Schema").Number;
1200
+ config: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
1201
+ position: typeof import("effect/Schema").String;
1202
+ theme: typeof import("effect/Schema").String;
1203
+ cookieLifetimeDays: typeof import("effect/Schema").Number;
1204
+ }>>;
1086
1205
  }>>;
1087
- readonly webhooksService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/webhooks", import("effect/Schema").Struct<{
1206
+ readonly webhooksService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/webhooks", import("effect/Schema").Struct<{
1088
1207
  id: typeof import("effect/Schema").String;
1089
1208
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1090
1209
  app: import("effect/Schema").Struct<{
@@ -1093,7 +1212,7 @@ export declare const endpoints: {
1093
1212
  slug: typeof import("effect/Schema").String;
1094
1213
  }>;
1095
1214
  }>>;
1096
- readonly referralsService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/referrals", import("effect/Schema").Struct<{
1215
+ readonly referralsService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/referrals", import("effect/Schema").Struct<{
1097
1216
  id: typeof import("effect/Schema").String;
1098
1217
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1099
1218
  app: import("effect/Schema").Struct<{
@@ -1102,7 +1221,7 @@ export declare const endpoints: {
1102
1221
  slug: typeof import("effect/Schema").String;
1103
1222
  }>;
1104
1223
  }>>;
1105
- readonly databaseService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database", import("effect/Schema").Struct<{
1224
+ readonly databaseService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database", import("effect/Schema").Struct<{
1106
1225
  id: typeof import("effect/Schema").String;
1107
1226
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1108
1227
  app: import("effect/Schema").Struct<{
@@ -1111,7 +1230,7 @@ export declare const endpoints: {
1111
1230
  slug: typeof import("effect/Schema").String;
1112
1231
  }>;
1113
1232
  }>>;
1114
- readonly newsletterService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/newsletter", import("effect/Schema").Struct<{
1233
+ readonly newsletterService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/newsletter", import("effect/Schema").Struct<{
1115
1234
  id: typeof import("effect/Schema").String;
1116
1235
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1117
1236
  app: import("effect/Schema").Struct<{
@@ -1119,8 +1238,29 @@ export declare const endpoints: {
1119
1238
  name: typeof import("effect/Schema").String;
1120
1239
  slug: typeof import("effect/Schema").String;
1121
1240
  }>;
1241
+ totalSubscribers: typeof import("effect/Schema").Number;
1242
+ verifiedSubscribers: typeof import("effect/Schema").Number;
1243
+ unsubscribedCount: typeof import("effect/Schema").Number;
1244
+ newSubscribersThisMonth: typeof import("effect/Schema").Number;
1245
+ bySource: import("effect/Schema").Array$<import("effect/Schema").Struct<{
1246
+ source: typeof import("effect/Schema").String;
1247
+ count: typeof import("effect/Schema").Number;
1248
+ }>>;
1249
+ recentSubscribers: import("effect/Schema").Array$<import("effect/Schema").Struct<{
1250
+ id: typeof import("effect/Schema").String;
1251
+ email: typeof import("effect/Schema").String;
1252
+ name: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1253
+ source: typeof import("effect/Schema").String;
1254
+ emailVerified: typeof import("effect/Schema").Boolean;
1255
+ createdAt: typeof import("effect/Schema").String;
1256
+ }>>;
1257
+ automationStats: import("effect/Schema").Struct<{
1258
+ sequences: typeof import("effect/Schema").Number;
1259
+ activeSequences: typeof import("effect/Schema").Number;
1260
+ totalEnrollments: typeof import("effect/Schema").Number;
1261
+ }>;
1122
1262
  }>>;
1123
- readonly engagementService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/engagement", import("effect/Schema").Struct<{
1263
+ readonly engagementService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/engagement", import("effect/Schema").Struct<{
1124
1264
  id: typeof import("effect/Schema").String;
1125
1265
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1126
1266
  app: import("effect/Schema").Struct<{
@@ -1129,16 +1269,16 @@ export declare const endpoints: {
1129
1269
  slug: typeof import("effect/Schema").String;
1130
1270
  }>;
1131
1271
  }>>;
1132
- readonly databaseMetrics: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database/metrics", import("effect/Schema").Struct<{
1272
+ readonly databaseMetrics: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database/metrics", import("effect/Schema").Struct<{
1133
1273
  id: typeof import("effect/Schema").String;
1134
1274
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1135
- readonly databaseQueries: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database/queries", import("effect/Schema").Struct<{
1275
+ readonly databaseQueries: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database/queries", import("effect/Schema").Struct<{
1136
1276
  id: typeof import("effect/Schema").String;
1137
1277
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1138
- readonly databaseTables: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database/tables", import("effect/Schema").Struct<{
1278
+ readonly databaseTables: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database/tables", import("effect/Schema").Struct<{
1139
1279
  id: typeof import("effect/Schema").String;
1140
1280
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1141
- readonly flagsService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/flags", import("effect/Schema").Struct<{
1281
+ readonly flagsService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/flags", import("effect/Schema").Struct<{
1142
1282
  id: typeof import("effect/Schema").String;
1143
1283
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1144
1284
  app: import("effect/Schema").Struct<{
@@ -1147,7 +1287,7 @@ export declare const endpoints: {
1147
1287
  slug: typeof import("effect/Schema").String;
1148
1288
  }>;
1149
1289
  }>>;
1150
- readonly monitoringService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/monitoring", import("effect/Schema").Struct<{
1290
+ readonly monitoringService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/monitoring", import("effect/Schema").Struct<{
1151
1291
  id: typeof import("effect/Schema").String;
1152
1292
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1153
1293
  app: import("effect/Schema").Struct<{
@@ -1156,7 +1296,7 @@ export declare const endpoints: {
1156
1296
  slug: typeof import("effect/Schema").String;
1157
1297
  }>;
1158
1298
  }>>;
1159
- readonly storageService: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/storage", import("effect/Schema").Struct<{
1299
+ readonly storageService: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/storage", import("effect/Schema").Struct<{
1160
1300
  id: typeof import("effect/Schema").String;
1161
1301
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1162
1302
  app: import("effect/Schema").Struct<{
@@ -1165,7 +1305,7 @@ export declare const endpoints: {
1165
1305
  slug: typeof import("effect/Schema").String;
1166
1306
  }>;
1167
1307
  }>>;
1168
- readonly storageBuckets: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/storage/buckets", import("effect/Schema").Struct<{
1308
+ readonly storageBuckets: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/storage/buckets", import("effect/Schema").Struct<{
1169
1309
  id: typeof import("effect/Schema").String;
1170
1310
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1171
1311
  app: import("effect/Schema").Struct<{
@@ -1174,7 +1314,7 @@ export declare const endpoints: {
1174
1314
  slug: typeof import("effect/Schema").String;
1175
1315
  }>;
1176
1316
  }>>;
1177
- readonly storageFiles: import("./endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/storage/files", import("effect/Schema").Struct<{
1317
+ readonly storageFiles: import("./endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/storage/files", import("effect/Schema").Struct<{
1178
1318
  id: typeof import("effect/Schema").String;
1179
1319
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1180
1320
  app: import("effect/Schema").Struct<{
@@ -1183,53 +1323,53 @@ export declare const endpoints: {
1183
1323
  slug: typeof import("effect/Schema").String;
1184
1324
  }>;
1185
1325
  }>>;
1186
- readonly dateRange: import("./endpoint.js").Endpoint<"GET", "/admin/audit/dateRange", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1326
+ readonly dateRange: import("./endpoint.js").Endpoint<"GET", "/operator/audit/dateRange", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1187
1327
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1188
1328
  endDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1189
1329
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1190
1330
  };
1191
1331
  readonly adminBilling: {
1192
- readonly overview: import("./endpoint.js").Endpoint<"GET", "/admin/billing/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1193
- readonly stats: import("./endpoint.js").Endpoint<"GET", "/admin/billing/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1194
- readonly platformUsage: import("./endpoint.js").Endpoint<"GET", "/admin/billing/usage/platform", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1332
+ readonly overview: import("./endpoint.js").Endpoint<"GET", "/operator/billing/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1333
+ readonly stats: import("./endpoint.js").Endpoint<"GET", "/operator/billing/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1334
+ readonly platformUsage: import("./endpoint.js").Endpoint<"GET", "/operator/billing/usage/platform", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1195
1335
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1196
1336
  endDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1197
1337
  period: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1198
1338
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1199
- readonly orgUsage: import("./endpoint.js").Endpoint<"GET", "/admin/billing/usage/orgs/:orgId", import("effect/Schema").Struct<{
1339
+ readonly orgUsage: import("./endpoint.js").Endpoint<"GET", "/operator/billing/usage/orgs/:orgId", import("effect/Schema").Struct<{
1200
1340
  orgId: typeof import("effect/Schema").String;
1201
1341
  }>, import("effect/Schema").Struct<{
1202
1342
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1203
1343
  endDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1204
1344
  period: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1205
1345
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1206
- readonly orgMonthlySummary: import("./endpoint.js").Endpoint<"GET", "/admin/billing/usage/orgs/:orgId/monthly", import("effect/Schema").Struct<{
1346
+ readonly orgMonthlySummary: import("./endpoint.js").Endpoint<"GET", "/operator/billing/usage/orgs/:orgId/monthly", import("effect/Schema").Struct<{
1207
1347
  orgId: typeof import("effect/Schema").String;
1208
1348
  }>, import("effect/Schema").Struct<{
1209
1349
  month: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1210
1350
  year: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1211
1351
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1212
- readonly listBalances: import("./endpoint.js").Endpoint<"GET", "/admin/billing/balances", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1352
+ readonly listBalances: import("./endpoint.js").Endpoint<"GET", "/operator/billing/balances", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1213
1353
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1214
1354
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1215
1355
  status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1216
1356
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1217
- readonly getBalance: import("./endpoint.js").Endpoint<"GET", "/admin/billing/balances/:orgId", import("effect/Schema").Struct<{
1357
+ readonly getBalance: import("./endpoint.js").Endpoint<"GET", "/operator/billing/balances/:orgId", import("effect/Schema").Struct<{
1218
1358
  orgId: typeof import("effect/Schema").String;
1219
1359
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1220
- readonly getTransactions: import("./endpoint.js").Endpoint<"GET", "/admin/billing/balances/:orgId/transactions", import("effect/Schema").Struct<{
1360
+ readonly getTransactions: import("./endpoint.js").Endpoint<"GET", "/operator/billing/balances/:orgId/transactions", import("effect/Schema").Struct<{
1221
1361
  orgId: typeof import("effect/Schema").String;
1222
1362
  }>, import("effect/Schema").Struct<{
1223
1363
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1224
1364
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1225
1365
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1226
- readonly addCredits: import("./endpoint.js").Endpoint<"POST", "/admin/billing/balances/:orgId/credits", import("effect/Schema").Struct<{
1366
+ readonly addCredits: import("./endpoint.js").Endpoint<"POST", "/operator/billing/balances/:orgId/credits", import("effect/Schema").Struct<{
1227
1367
  orgId: typeof import("effect/Schema").String;
1228
1368
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1229
1369
  amountCents: typeof import("effect/Schema").Number;
1230
1370
  description: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1231
1371
  }>, typeof import("effect/Schema").Unknown>;
1232
- readonly updateBalanceSettings: import("./endpoint.js").Endpoint<"PATCH", "/admin/billing/balances/:orgId/settings", import("effect/Schema").Struct<{
1372
+ readonly updateBalanceSettings: import("./endpoint.js").Endpoint<"PATCH", "/operator/billing/balances/:orgId/settings", import("effect/Schema").Struct<{
1233
1373
  orgId: typeof import("effect/Schema").String;
1234
1374
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1235
1375
  lowBalanceThresholdCents: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
@@ -1237,41 +1377,41 @@ export declare const endpoints: {
1237
1377
  autoTopupAmountCents: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
1238
1378
  autoTopupThresholdCents: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
1239
1379
  }>, typeof import("effect/Schema").Unknown>;
1240
- readonly listInvoices: import("./endpoint.js").Endpoint<"GET", "/admin/billing/invoices", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1380
+ readonly listInvoices: import("./endpoint.js").Endpoint<"GET", "/operator/billing/invoices", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1241
1381
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1242
1382
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1243
1383
  status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1244
1384
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1245
- readonly getInvoice: import("./endpoint.js").Endpoint<"GET", "/admin/billing/invoices/:invoiceId", import("effect/Schema").Struct<{
1385
+ readonly getInvoice: import("./endpoint.js").Endpoint<"GET", "/operator/billing/invoices/:invoiceId", import("effect/Schema").Struct<{
1246
1386
  invoiceId: typeof import("effect/Schema").String;
1247
1387
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1248
- readonly getOrgInvoices: import("./endpoint.js").Endpoint<"GET", "/admin/billing/orgs/:orgId/invoices", import("effect/Schema").Struct<{
1388
+ readonly getOrgInvoices: import("./endpoint.js").Endpoint<"GET", "/operator/billing/orgs/:orgId/invoices", import("effect/Schema").Struct<{
1249
1389
  orgId: typeof import("effect/Schema").String;
1250
1390
  }>, import("effect/Schema").Struct<{
1251
1391
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1252
1392
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1253
1393
  status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1254
1394
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1255
- readonly generateInvoice: import("./endpoint.js").Endpoint<"POST", "/admin/billing/orgs/:orgId/invoices", import("effect/Schema").Struct<{
1395
+ readonly generateInvoice: import("./endpoint.js").Endpoint<"POST", "/operator/billing/orgs/:orgId/invoices", import("effect/Schema").Struct<{
1256
1396
  orgId: typeof import("effect/Schema").String;
1257
1397
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>, typeof import("effect/Schema").Unknown>;
1258
- readonly finalizeInvoice: import("./endpoint.js").Endpoint<"POST", "/admin/billing/invoices/:invoiceId/finalize", import("effect/Schema").Struct<{
1398
+ readonly finalizeInvoice: import("./endpoint.js").Endpoint<"POST", "/operator/billing/invoices/:invoiceId/finalize", import("effect/Schema").Struct<{
1259
1399
  invoiceId: typeof import("effect/Schema").String;
1260
1400
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1261
- readonly getPricing: import("./endpoint.js").Endpoint<"GET", "/admin/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1262
- readonly updatePricing: import("./endpoint.js").Endpoint<"PATCH", "/admin/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>, typeof import("effect/Schema").Unknown>;
1263
- readonly costAnalysis: import("./endpoint.js").Endpoint<"GET", "/admin/billing/analysis/costs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1264
- readonly topConsumers: import("./endpoint.js").Endpoint<"GET", "/admin/billing/analysis/top-consumers", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1401
+ readonly getPricing: import("./endpoint.js").Endpoint<"GET", "/operator/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1402
+ readonly updatePricing: import("./endpoint.js").Endpoint<"PATCH", "/operator/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>, typeof import("effect/Schema").Unknown>;
1403
+ readonly costAnalysis: import("./endpoint.js").Endpoint<"GET", "/operator/billing/analysis/costs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1404
+ readonly topConsumers: import("./endpoint.js").Endpoint<"GET", "/operator/billing/analysis/top-consumers", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1265
1405
  };
1266
1406
  readonly adminBootstrap: {
1267
- readonly resetWindow: import("./endpoint.js").Endpoint<"POST", "/admin/reset-bootstrap-window", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{}>, import("effect/Schema").Struct<{
1407
+ readonly resetWindow: import("./endpoint.js").Endpoint<"POST", "/operator/reset-bootstrap-window", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{}>, import("effect/Schema").Struct<{
1268
1408
  opened: typeof import("effect/Schema").Boolean;
1269
1409
  ttlSeconds: typeof import("effect/Schema").Number;
1270
1410
  message: typeof import("effect/Schema").String;
1271
1411
  }>>;
1272
1412
  };
1273
1413
  readonly adminBuilds: {
1274
- readonly reap: import("./endpoint.js").Endpoint<"POST", "/admin/builds/reap", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1414
+ readonly reap: import("./endpoint.js").Endpoint<"POST", "/operator/builds/reap", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1275
1415
  olderThan: import("effect/Schema").filter<typeof import("effect/Schema").String>;
1276
1416
  dryRun: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
1277
1417
  reason: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>>;
@@ -1290,7 +1430,7 @@ export declare const endpoints: {
1290
1430
  }>>;
1291
1431
  };
1292
1432
  readonly adminBroadcasts: {
1293
- readonly create: import("./endpoint.js").Endpoint<"POST", "/admin/broadcasts/broadcasts", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1433
+ readonly create: import("./endpoint.js").Endpoint<"POST", "/operator/broadcasts/broadcasts", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1294
1434
  projectId: typeof import("effect/Schema").String;
1295
1435
  }>, import("effect/Schema").Struct<{
1296
1436
  type: import("effect/Schema").Literal<["email", "push", "in_app"]>;
@@ -1307,7 +1447,7 @@ export declare const endpoints: {
1307
1447
  scheduledAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1308
1448
  createdAt: typeof import("effect/Schema").String;
1309
1449
  }>>;
1310
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/broadcasts/broadcasts", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1450
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/broadcasts/broadcasts", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1311
1451
  projectId: typeof import("effect/Schema").String;
1312
1452
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1313
1453
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1337,7 +1477,7 @@ export declare const endpoints: {
1337
1477
  }>>;
1338
1478
  total: typeof import("effect/Schema").Number;
1339
1479
  }>>;
1340
- readonly get: import("./endpoint.js").Endpoint<"GET", "/admin/broadcasts/broadcasts/:id", import("effect/Schema").Struct<{
1480
+ readonly get: import("./endpoint.js").Endpoint<"GET", "/operator/broadcasts/broadcasts/:id", import("effect/Schema").Struct<{
1341
1481
  id: typeof import("effect/Schema").String;
1342
1482
  }>, import("effect/Schema").Struct<{
1343
1483
  projectId: typeof import("effect/Schema").String;
@@ -1366,7 +1506,7 @@ export declare const endpoints: {
1366
1506
  updatedAt: typeof import("effect/Schema").String;
1367
1507
  }>;
1368
1508
  }>>;
1369
- readonly send: import("./endpoint.js").Endpoint<"POST", "/admin/broadcasts/broadcasts/:id/send", import("effect/Schema").Struct<{
1509
+ readonly send: import("./endpoint.js").Endpoint<"POST", "/operator/broadcasts/broadcasts/:id/send", import("effect/Schema").Struct<{
1370
1510
  id: typeof import("effect/Schema").String;
1371
1511
  }>, import("effect/Schema").Struct<{
1372
1512
  projectId: typeof import("effect/Schema").String;
@@ -1378,7 +1518,7 @@ export declare const endpoints: {
1378
1518
  failed: typeof import("effect/Schema").Number;
1379
1519
  }>;
1380
1520
  }>>;
1381
- readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/admin/broadcasts/broadcasts/:id", import("effect/Schema").Struct<{
1521
+ readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/operator/broadcasts/broadcasts/:id", import("effect/Schema").Struct<{
1382
1522
  id: typeof import("effect/Schema").String;
1383
1523
  }>, import("effect/Schema").Struct<{
1384
1524
  projectId: typeof import("effect/Schema").String;
@@ -1387,7 +1527,7 @@ export declare const endpoints: {
1387
1527
  }>>;
1388
1528
  };
1389
1529
  readonly adminConfig: {
1390
- readonly getReferralConfig: import("./endpoint.js").Endpoint<"GET", "/admin/config/projects/:projectId/referral-config", import("effect/Schema").Struct<{
1530
+ readonly getReferralConfig: import("./endpoint.js").Endpoint<"GET", "/operator/config/projects/:projectId/referral-config", import("effect/Schema").Struct<{
1391
1531
  projectId: typeof import("effect/Schema").String;
1392
1532
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1393
1533
  config: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -1407,7 +1547,7 @@ export declare const endpoints: {
1407
1547
  updatedAt: typeof import("effect/Schema").String;
1408
1548
  }>>;
1409
1549
  }>>;
1410
- readonly updateReferralConfig: import("./endpoint.js").Endpoint<"PATCH", "/admin/config/projects/:projectId/referral-config", import("effect/Schema").Struct<{
1550
+ readonly updateReferralConfig: import("./endpoint.js").Endpoint<"PATCH", "/operator/config/projects/:projectId/referral-config", import("effect/Schema").Struct<{
1411
1551
  projectId: typeof import("effect/Schema").String;
1412
1552
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1413
1553
  isActive: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
@@ -1438,7 +1578,7 @@ export declare const endpoints: {
1438
1578
  updatedAt: typeof import("effect/Schema").String;
1439
1579
  }>;
1440
1580
  }>>;
1441
- readonly getConsentConfig: import("./endpoint.js").Endpoint<"GET", "/admin/config/projects/:projectId/consent-config", import("effect/Schema").Struct<{
1581
+ readonly getConsentConfig: import("./endpoint.js").Endpoint<"GET", "/operator/config/projects/:projectId/consent-config", import("effect/Schema").Struct<{
1442
1582
  projectId: typeof import("effect/Schema").String;
1443
1583
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1444
1584
  config: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -1463,7 +1603,7 @@ export declare const endpoints: {
1463
1603
  updatedAt: typeof import("effect/Schema").String;
1464
1604
  }>>;
1465
1605
  }>>;
1466
- readonly updateConsentConfig: import("./endpoint.js").Endpoint<"PATCH", "/admin/config/projects/:projectId/consent-config", import("effect/Schema").Struct<{
1606
+ readonly updateConsentConfig: import("./endpoint.js").Endpoint<"PATCH", "/operator/config/projects/:projectId/consent-config", import("effect/Schema").Struct<{
1467
1607
  projectId: typeof import("effect/Schema").String;
1468
1608
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1469
1609
  isActive: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
@@ -1504,7 +1644,7 @@ export declare const endpoints: {
1504
1644
  updatedAt: typeof import("effect/Schema").String;
1505
1645
  }>;
1506
1646
  }>>;
1507
- readonly getPushCredentials: import("./endpoint.js").Endpoint<"GET", "/admin/config/projects/:projectId/push-credentials", import("effect/Schema").Struct<{
1647
+ readonly getPushCredentials: import("./endpoint.js").Endpoint<"GET", "/operator/config/projects/:projectId/push-credentials", import("effect/Schema").Struct<{
1508
1648
  projectId: typeof import("effect/Schema").String;
1509
1649
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1510
1650
  credentials: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -1523,7 +1663,7 @@ export declare const endpoints: {
1523
1663
  updatedAt: typeof import("effect/Schema").String;
1524
1664
  }>>;
1525
1665
  }>>;
1526
- readonly updatePushCredentials: import("./endpoint.js").Endpoint<"PATCH", "/admin/config/projects/:projectId/push-credentials", import("effect/Schema").Struct<{
1666
+ readonly updatePushCredentials: import("./endpoint.js").Endpoint<"PATCH", "/operator/config/projects/:projectId/push-credentials", import("effect/Schema").Struct<{
1527
1667
  projectId: typeof import("effect/Schema").String;
1528
1668
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1529
1669
  platform: import("effect/Schema").Literal<["ios", "android", "web"]>;
@@ -1547,20 +1687,20 @@ export declare const endpoints: {
1547
1687
  updatedAt: typeof import("effect/Schema").String;
1548
1688
  }>;
1549
1689
  }>>;
1550
- readonly exportUsers: import("./endpoint.js").Endpoint<"POST", "/admin/config/projects/:projectId/users/export", import("effect/Schema").Struct<{
1690
+ readonly exportUsers: import("./endpoint.js").Endpoint<"POST", "/operator/config/projects/:projectId/users/export", import("effect/Schema").Struct<{
1551
1691
  projectId: typeof import("effect/Schema").String;
1552
1692
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1553
1693
  csv: typeof import("effect/Schema").String;
1554
1694
  filename: typeof import("effect/Schema").String;
1555
1695
  count: typeof import("effect/Schema").Number;
1556
1696
  }>>;
1557
- readonly notificationsOverview: import("./endpoint.js").Endpoint<"GET", "/admin/config/notifications/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1558
- readonly referralsOverview: import("./endpoint.js").Endpoint<"GET", "/admin/config/referrals/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1559
- readonly flagsOverview: import("./endpoint.js").Endpoint<"GET", "/admin/config/flags/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1560
- readonly webhooksOverview: import("./endpoint.js").Endpoint<"GET", "/admin/config/webhooks/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1697
+ readonly notificationsOverview: import("./endpoint.js").Endpoint<"GET", "/operator/config/notifications/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1698
+ readonly referralsOverview: import("./endpoint.js").Endpoint<"GET", "/operator/config/referrals/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1699
+ readonly flagsOverview: import("./endpoint.js").Endpoint<"GET", "/operator/config/flags/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1700
+ readonly webhooksOverview: import("./endpoint.js").Endpoint<"GET", "/operator/config/webhooks/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1561
1701
  };
1562
1702
  readonly adminEnvServices: {
1563
- readonly repoint: import("./endpoint.js").Endpoint<"POST", "/admin/env-services/repoint", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1703
+ readonly repoint: import("./endpoint.js").Endpoint<"POST", "/operator/env-services/repoint", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1564
1704
  envId: import("effect/Schema").filter<typeof import("effect/Schema").String>;
1565
1705
  service: import("effect/Schema").filter<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>>;
1566
1706
  digest: import("effect/Schema").filter<typeof import("effect/Schema").String>;
@@ -1574,7 +1714,7 @@ export declare const endpoints: {
1574
1714
  }>>;
1575
1715
  };
1576
1716
  readonly adminConsent: {
1577
- readonly listTypes: import("./endpoint.js").Endpoint<"GET", "/admin/consent/projects/:projectId/consent-types", import("effect/Schema").Struct<{
1717
+ readonly listTypes: import("./endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/consent-types", import("effect/Schema").Struct<{
1578
1718
  projectId: typeof import("effect/Schema").String;
1579
1719
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1580
1720
  consentTypes: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -1592,7 +1732,7 @@ export declare const endpoints: {
1592
1732
  }>>;
1593
1733
  total: typeof import("effect/Schema").Number;
1594
1734
  }>>;
1595
- readonly createType: import("./endpoint.js").Endpoint<"POST", "/admin/consent/projects/:projectId/consent-types", import("effect/Schema").Struct<{
1735
+ readonly createType: import("./endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types", import("effect/Schema").Struct<{
1596
1736
  projectId: typeof import("effect/Schema").String;
1597
1737
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1598
1738
  category: import("effect/Schema").Literal<["necessary", "analytics", "marketing", "preferences", "functional"]>;
@@ -1617,7 +1757,7 @@ export declare const endpoints: {
1617
1757
  updatedAt: typeof import("effect/Schema").String;
1618
1758
  }>;
1619
1759
  }>>;
1620
- readonly updateType: import("./endpoint.js").Endpoint<"PATCH", "/admin/consent/projects/:projectId/consent-types/:typeId", import("effect/Schema").Struct<{
1760
+ readonly updateType: import("./endpoint.js").Endpoint<"PATCH", "/operator/consent/projects/:projectId/consent-types/:typeId", import("effect/Schema").Struct<{
1621
1761
  projectId: typeof import("effect/Schema").String;
1622
1762
  typeId: typeof import("effect/Schema").String;
1623
1763
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -1644,52 +1784,76 @@ export declare const endpoints: {
1644
1784
  updatedAt: typeof import("effect/Schema").String;
1645
1785
  }>;
1646
1786
  }>>;
1647
- readonly deleteType: import("./endpoint.js").Endpoint<"DELETE", "/admin/consent/projects/:projectId/consent-types/:typeId", import("effect/Schema").Struct<{
1787
+ readonly deleteType: import("./endpoint.js").Endpoint<"DELETE", "/operator/consent/projects/:projectId/consent-types/:typeId", import("effect/Schema").Struct<{
1648
1788
  projectId: typeof import("effect/Schema").String;
1649
1789
  typeId: typeof import("effect/Schema").String;
1650
1790
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1651
1791
  success: typeof import("effect/Schema").Boolean;
1652
1792
  }>>;
1653
- readonly reactivateType: import("./endpoint.js").Endpoint<"POST", "/admin/consent/projects/:projectId/consent-types/:typeId/reactivate", import("effect/Schema").Struct<{
1793
+ readonly reactivateType: import("./endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types/:typeId/reactivate", import("effect/Schema").Struct<{
1654
1794
  projectId: typeof import("effect/Schema").String;
1655
1795
  typeId: typeof import("effect/Schema").String;
1656
1796
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1657
1797
  success: typeof import("effect/Schema").Boolean;
1658
1798
  }>>;
1659
- readonly reorderTypes: import("./endpoint.js").Endpoint<"POST", "/admin/consent/projects/:projectId/consent-types/reorder", import("effect/Schema").Struct<{
1799
+ readonly reorderTypes: import("./endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types/reorder", import("effect/Schema").Struct<{
1660
1800
  projectId: typeof import("effect/Schema").String;
1661
1801
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1662
1802
  consentTypeIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
1663
1803
  }>, import("effect/Schema").Struct<{
1664
1804
  success: typeof import("effect/Schema").Boolean;
1665
1805
  }>>;
1666
- readonly bulkDeleteTypes: import("./endpoint.js").Endpoint<"POST", "/admin/consent/projects/:projectId/consent-types/bulk-delete", import("effect/Schema").Struct<{
1806
+ readonly bulkDeleteTypes: import("./endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types/bulk-delete", import("effect/Schema").Struct<{
1667
1807
  projectId: typeof import("effect/Schema").String;
1668
1808
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1669
1809
  consentTypeIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
1670
1810
  }>, import("effect/Schema").Struct<{
1671
1811
  deleted: typeof import("effect/Schema").Number;
1672
1812
  }>>;
1673
- readonly listUserConsents: import("./endpoint.js").Endpoint<"GET", "/admin/consent/projects/:projectId/user-consents", import("effect/Schema").Struct<{
1813
+ readonly listUserConsents: import("./endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/user-consents", import("effect/Schema").Struct<{
1674
1814
  projectId: typeof import("effect/Schema").String;
1675
1815
  }>, import("effect/Schema").Struct<{
1676
1816
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1677
1817
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1678
1818
  userId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1679
1819
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1680
- readonly exportUserConsents: import("./endpoint.js").Endpoint<"POST", "/admin/consent/projects/:projectId/user-consents/export", import("effect/Schema").Struct<{
1820
+ readonly exportUserConsents: import("./endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/user-consents/export", import("effect/Schema").Struct<{
1681
1821
  projectId: typeof import("effect/Schema").String;
1682
1822
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1683
- readonly stats: import("./endpoint.js").Endpoint<"GET", "/admin/consent/projects/:projectId/consent-stats", import("effect/Schema").Struct<{
1823
+ readonly stats: import("./endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/consent-stats", import("effect/Schema").Struct<{
1684
1824
  projectId: typeof import("effect/Schema").String;
1685
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1686
- readonly projectOverview: import("./endpoint.js").Endpoint<"GET", "/admin/consent/projects/:projectId/consent-overview", import("effect/Schema").Struct<{
1825
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1826
+ byType: import("effect/Schema").Array$<import("effect/Schema").Struct<{
1827
+ consentTypeId: typeof import("effect/Schema").String;
1828
+ category: import("effect/Schema").Literal<["necessary", "analytics", "marketing", "preferences", "functional"]>;
1829
+ slug: typeof import("effect/Schema").String;
1830
+ name: typeof import("effect/Schema").String;
1831
+ required: typeof import("effect/Schema").Boolean;
1832
+ totalConsents: typeof import("effect/Schema").Number;
1833
+ grantedCount: typeof import("effect/Schema").Number;
1834
+ deniedCount: typeof import("effect/Schema").Number;
1835
+ uniqueUsers: typeof import("effect/Schema").Number;
1836
+ grantRate: typeof import("effect/Schema").Number;
1837
+ denyRate: typeof import("effect/Schema").Number;
1838
+ }>>;
1839
+ totals: import("effect/Schema").Struct<{
1840
+ totalConsents: typeof import("effect/Schema").Number;
1841
+ grantedCount: typeof import("effect/Schema").Number;
1842
+ deniedCount: typeof import("effect/Schema").Number;
1843
+ overallGrantRate: typeof import("effect/Schema").Number;
1844
+ }>;
1845
+ }>>;
1846
+ readonly projectOverview: import("./endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/consent-overview", import("effect/Schema").Struct<{
1687
1847
  projectId: typeof import("effect/Schema").String;
1688
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1689
- readonly platformOverview: import("./endpoint.js").Endpoint<"GET", "/admin/consent/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1848
+ }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1849
+ totalVisitors: typeof import("effect/Schema").Number;
1850
+ consentTypeCount: typeof import("effect/Schema").Number;
1851
+ weeklyChanges: typeof import("effect/Schema").Number;
1852
+ }>>;
1853
+ readonly platformOverview: import("./endpoint.js").Endpoint<"GET", "/operator/consent/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
1690
1854
  };
1691
1855
  readonly adminImpersonation: {
1692
- readonly start: import("./endpoint.js").Endpoint<"POST", "/admin/impersonation/start", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1856
+ readonly start: import("./endpoint.js").Endpoint<"POST", "/operator/impersonation/start", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1693
1857
  targetUserId: typeof import("effect/Schema").String;
1694
1858
  }>, import("effect/Schema").Struct<{
1695
1859
  success: typeof import("effect/Schema").Boolean;
@@ -1697,20 +1861,20 @@ export declare const endpoints: {
1697
1861
  sessionId: typeof import("effect/Schema").String;
1698
1862
  expiresAt: typeof import("effect/Schema").String;
1699
1863
  }>>;
1700
- readonly end: import("./endpoint.js").Endpoint<"POST", "/admin/impersonation/end", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1864
+ readonly end: import("./endpoint.js").Endpoint<"POST", "/operator/impersonation/end", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1701
1865
  sessionId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1702
1866
  }>, import("effect/Schema").Struct<{
1703
1867
  success: typeof import("effect/Schema").Boolean;
1704
1868
  sessionsEnded: typeof import("effect/Schema").Number;
1705
1869
  }>>;
1706
- readonly info: import("./endpoint.js").Endpoint<"GET", "/admin/impersonation/info", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").NullOr<import("effect/Schema").Struct<{
1870
+ readonly info: import("./endpoint.js").Endpoint<"GET", "/operator/impersonation/info", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").NullOr<import("effect/Schema").Struct<{
1707
1871
  isImpersonation: typeof import("effect/Schema").Boolean;
1708
1872
  adminUserId: typeof import("effect/Schema").String;
1709
1873
  adminEmail: typeof import("effect/Schema").String;
1710
1874
  adminName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1711
1875
  impersonatedAt: typeof import("effect/Schema").String;
1712
1876
  }>>>;
1713
- readonly active: import("./endpoint.js").Endpoint<"GET", "/admin/impersonation/active", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
1877
+ readonly active: import("./endpoint.js").Endpoint<"GET", "/operator/impersonation/active", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
1714
1878
  sessionId: typeof import("effect/Schema").String;
1715
1879
  adminUserId: typeof import("effect/Schema").String;
1716
1880
  adminEmail: typeof import("effect/Schema").String;
@@ -1721,7 +1885,7 @@ export declare const endpoints: {
1721
1885
  impersonatedAt: typeof import("effect/Schema").String;
1722
1886
  lastActiveAt: typeof import("effect/Schema").String;
1723
1887
  }>>>;
1724
- readonly startChallenge: import("./endpoint.js").Endpoint<"POST", "/admin/impersonation/start-challenge", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1888
+ readonly startChallenge: import("./endpoint.js").Endpoint<"POST", "/operator/impersonation/start-challenge", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1725
1889
  targetUserId: typeof import("effect/Schema").String;
1726
1890
  reason: typeof import("effect/Schema").String;
1727
1891
  }>, import("effect/Schema").Struct<{
@@ -1739,7 +1903,7 @@ export declare const endpoints: {
1739
1903
  timeout: typeof import("effect/Schema").Number;
1740
1904
  }>;
1741
1905
  }>>;
1742
- readonly startStepup: import("./endpoint.js").Endpoint<"POST", "/admin/impersonation/start-stepup", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1906
+ readonly startStepup: import("./endpoint.js").Endpoint<"POST", "/operator/impersonation/start-stepup", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1743
1907
  requestId: typeof import("effect/Schema").String;
1744
1908
  challengeKey: typeof import("effect/Schema").String;
1745
1909
  assertion: typeof import("effect/Schema").Unknown;
@@ -1755,7 +1919,7 @@ export declare const endpoints: {
1755
1919
  requestId: typeof import("effect/Schema").String;
1756
1920
  consentDeadline: typeof import("effect/Schema").String;
1757
1921
  }>]>>;
1758
- readonly respondConsent: import("./endpoint.js").Endpoint<"POST", "/admin/impersonation/consent/:id", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1922
+ readonly respondConsent: import("./endpoint.js").Endpoint<"POST", "/operator/impersonation/consent/:id", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1759
1923
  decision: import("effect/Schema").Literal<["approve", "deny"]>;
1760
1924
  }>, import("effect/Schema").Union<[import("effect/Schema").Struct<{
1761
1925
  branch: import("effect/Schema").Literal<["approved"]>;
@@ -1767,7 +1931,7 @@ export declare const endpoints: {
1767
1931
  branch: import("effect/Schema").Literal<["denied"]>;
1768
1932
  requestId: typeof import("effect/Schema").String;
1769
1933
  }>]>>;
1770
- readonly listRequests: import("./endpoint.js").Endpoint<"GET", "/admin/impersonation/requests", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
1934
+ readonly listRequests: import("./endpoint.js").Endpoint<"GET", "/operator/impersonation/requests", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
1771
1935
  id: typeof import("effect/Schema").String;
1772
1936
  operatorId: typeof import("effect/Schema").String;
1773
1937
  targetUserId: typeof import("effect/Schema").String;
@@ -1780,14 +1944,14 @@ export declare const endpoints: {
1780
1944
  endedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1781
1945
  createdAt: typeof import("effect/Schema").String;
1782
1946
  }>>>;
1783
- readonly endSession: import("./endpoint.js").Endpoint<"POST", "/admin/impersonation/end/:id", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1947
+ readonly endSession: import("./endpoint.js").Endpoint<"POST", "/operator/impersonation/end/:id", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1784
1948
  success: typeof import("effect/Schema").Boolean;
1785
1949
  requestId: typeof import("effect/Schema").String;
1786
1950
  sessionId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1787
1951
  }>>;
1788
1952
  };
1789
1953
  readonly adminInvitations: {
1790
- readonly create: import("./endpoint.js").Endpoint<"POST", "/admin/invitations/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1954
+ readonly create: import("./endpoint.js").Endpoint<"POST", "/operator/invitations/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1791
1955
  email: typeof import("effect/Schema").String;
1792
1956
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "admin", "super_admin"]>>;
1793
1957
  note: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1798,7 +1962,7 @@ export declare const endpoints: {
1798
1962
  inviteUrl: typeof import("effect/Schema").String;
1799
1963
  expiresAt: typeof import("effect/Schema").String;
1800
1964
  }>>;
1801
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/invitations/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1965
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/invitations/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1802
1966
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1803
1967
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1804
1968
  statsOnly: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1825,19 +1989,19 @@ export declare const endpoints: {
1825
1989
  pendingInvites: typeof import("effect/Schema").Number;
1826
1990
  acceptedInvites: typeof import("effect/Schema").Number;
1827
1991
  }>]>>;
1828
- readonly revoke: import("./endpoint.js").Endpoint<"DELETE", "/admin/invitations/:id", import("effect/Schema").Struct<{
1992
+ readonly revoke: import("./endpoint.js").Endpoint<"DELETE", "/operator/invitations/:id", import("effect/Schema").Struct<{
1829
1993
  id: typeof import("effect/Schema").String;
1830
1994
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1831
1995
  success: typeof import("effect/Schema").Boolean;
1832
1996
  }>>;
1833
- readonly resend: import("./endpoint.js").Endpoint<"POST", "/admin/invitations/:id/resend", import("effect/Schema").Struct<{
1997
+ readonly resend: import("./endpoint.js").Endpoint<"POST", "/operator/invitations/:id/resend", import("effect/Schema").Struct<{
1834
1998
  id: typeof import("effect/Schema").String;
1835
1999
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1836
2000
  success: typeof import("effect/Schema").Boolean;
1837
2001
  inviteUrl: typeof import("effect/Schema").String;
1838
2002
  expiresAt: typeof import("effect/Schema").String;
1839
2003
  }>>;
1840
- readonly accept: import("./endpoint.js").Endpoint<"POST", "/admin/invitations/accept", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2004
+ readonly accept: import("./endpoint.js").Endpoint<"POST", "/operator/invitations/accept", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1841
2005
  code: typeof import("effect/Schema").String;
1842
2006
  name: typeof import("effect/Schema").String;
1843
2007
  password: typeof import("effect/Schema").String;
@@ -1853,7 +2017,7 @@ export declare const endpoints: {
1853
2017
  }>>;
1854
2018
  };
1855
2019
  readonly adminJwtKeys: {
1856
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/jwt-keys/keys", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2020
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/jwt-keys/keys", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1857
2021
  keys: import("effect/Schema").Array$<import("effect/Schema").Struct<{
1858
2022
  id: typeof import("effect/Schema").String;
1859
2023
  keyId: typeof import("effect/Schema").String;
@@ -1866,7 +2030,7 @@ export declare const endpoints: {
1866
2030
  retiredAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1867
2031
  }>>;
1868
2032
  }>>;
1869
- readonly get: import("./endpoint.js").Endpoint<"GET", "/admin/jwt-keys/keys/:keyId", import("effect/Schema").Struct<{
2033
+ readonly get: import("./endpoint.js").Endpoint<"GET", "/operator/jwt-keys/keys/:keyId", import("effect/Schema").Struct<{
1870
2034
  keyId: typeof import("effect/Schema").String;
1871
2035
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1872
2036
  id: typeof import("effect/Schema").String;
@@ -1885,14 +2049,14 @@ export declare const endpoints: {
1885
2049
  name: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1886
2050
  }>>;
1887
2051
  }>>;
1888
- readonly rotate: import("./endpoint.js").Endpoint<"POST", "/admin/jwt-keys/rotate", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2052
+ readonly rotate: import("./endpoint.js").Endpoint<"POST", "/operator/jwt-keys/rotate", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1889
2053
  reason: import("effect/Schema").Literal<["scheduled", "manual", "compromise"]>;
1890
2054
  notes: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1891
2055
  }>, import("effect/Schema").Struct<{
1892
2056
  success: typeof import("effect/Schema").Boolean;
1893
2057
  newKeyId: typeof import("effect/Schema").String;
1894
2058
  }>>;
1895
- readonly forceRetire: import("./endpoint.js").Endpoint<"POST", "/admin/jwt-keys/keys/:keyId/retire", import("effect/Schema").Struct<{
2059
+ readonly forceRetire: import("./endpoint.js").Endpoint<"POST", "/operator/jwt-keys/keys/:keyId/retire", import("effect/Schema").Struct<{
1896
2060
  keyId: typeof import("effect/Schema").String;
1897
2061
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1898
2062
  notes: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1901,7 +2065,7 @@ export declare const endpoints: {
1901
2065
  keyId: typeof import("effect/Schema").String;
1902
2066
  wasActive: typeof import("effect/Schema").Boolean;
1903
2067
  }>>;
1904
- readonly rotations: import("./endpoint.js").Endpoint<"GET", "/admin/jwt-keys/rotations", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2068
+ readonly rotations: import("./endpoint.js").Endpoint<"GET", "/operator/jwt-keys/rotations", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1905
2069
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
1906
2070
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1907
2071
  rotations: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -1913,7 +2077,7 @@ export declare const endpoints: {
1913
2077
  createdAt: typeof import("effect/Schema").String;
1914
2078
  }>>;
1915
2079
  }>>;
1916
- readonly status: import("./endpoint.js").Endpoint<"GET", "/admin/jwt-keys/status", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2080
+ readonly status: import("./endpoint.js").Endpoint<"GET", "/operator/jwt-keys/status", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
1917
2081
  rotationNeeded: typeof import("effect/Schema").Boolean;
1918
2082
  activeKeyId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
1919
2083
  activeKeySince: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
@@ -1921,7 +2085,7 @@ export declare const endpoints: {
1921
2085
  }>>;
1922
2086
  };
1923
2087
  readonly adminLogs: {
1924
- readonly stats: import("./endpoint.js").Endpoint<"GET", "/admin/logs/projects/:projectId/stats", import("effect/Schema").Struct<{
2088
+ readonly stats: import("./endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/stats", import("effect/Schema").Struct<{
1925
2089
  projectId: typeof import("effect/Schema").String;
1926
2090
  }>, import("effect/Schema").Struct<{
1927
2091
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1938,7 +2102,7 @@ export declare const endpoints: {
1938
2102
  end: typeof import("effect/Schema").String;
1939
2103
  }>;
1940
2104
  }>>;
1941
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/logs/projects/:projectId/logs", import("effect/Schema").Struct<{
2105
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/logs", import("effect/Schema").Struct<{
1942
2106
  projectId: typeof import("effect/Schema").String;
1943
2107
  }>, import("effect/Schema").Struct<{
1944
2108
  levels: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1964,7 +2128,7 @@ export declare const endpoints: {
1964
2128
  total: typeof import("effect/Schema").Number;
1965
2129
  hasMore: typeof import("effect/Schema").Boolean;
1966
2130
  }>>;
1967
- readonly get: import("./endpoint.js").Endpoint<"GET", "/admin/logs/projects/:projectId/logs/:logId", import("effect/Schema").Struct<{
2131
+ readonly get: import("./endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/logs/:logId", import("effect/Schema").Struct<{
1968
2132
  projectId: typeof import("effect/Schema").String;
1969
2133
  logId: typeof import("effect/Schema").String;
1970
2134
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -1978,7 +2142,7 @@ export declare const endpoints: {
1978
2142
  context: import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
1979
2143
  createdAt: typeof import("effect/Schema").String;
1980
2144
  }>>;
1981
- readonly forTrace: import("./endpoint.js").Endpoint<"GET", "/admin/logs/projects/:projectId/traces/:traceId/logs", import("effect/Schema").Struct<{
2145
+ readonly forTrace: import("./endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/traces/:traceId/logs", import("effect/Schema").Struct<{
1982
2146
  projectId: typeof import("effect/Schema").String;
1983
2147
  traceId: typeof import("effect/Schema").String;
1984
2148
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -1989,7 +2153,7 @@ export declare const endpoints: {
1989
2153
  context: import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
1990
2154
  createdAt: typeof import("effect/Schema").String;
1991
2155
  }>>>;
1992
- readonly volume: import("./endpoint.js").Endpoint<"GET", "/admin/logs/projects/:projectId/volume", import("effect/Schema").Struct<{
2156
+ readonly volume: import("./endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/volume", import("effect/Schema").Struct<{
1993
2157
  projectId: typeof import("effect/Schema").String;
1994
2158
  }>, import("effect/Schema").Struct<{
1995
2159
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -1999,7 +2163,7 @@ export declare const endpoints: {
1999
2163
  count: typeof import("effect/Schema").Number;
2000
2164
  errors: typeof import("effect/Schema").Number;
2001
2165
  }>>>;
2002
- readonly topErrors: import("./endpoint.js").Endpoint<"GET", "/admin/logs/projects/:projectId/top-errors", import("effect/Schema").Struct<{
2166
+ readonly topErrors: import("./endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/top-errors", import("effect/Schema").Struct<{
2003
2167
  projectId: typeof import("effect/Schema").String;
2004
2168
  }>, import("effect/Schema").Struct<{
2005
2169
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2010,7 +2174,7 @@ export declare const endpoints: {
2010
2174
  count: typeof import("effect/Schema").Number;
2011
2175
  lastSeen: typeof import("effect/Schema").String;
2012
2176
  }>>>;
2013
- readonly topSources: import("./endpoint.js").Endpoint<"GET", "/admin/logs/projects/:projectId/top-sources", import("effect/Schema").Struct<{
2177
+ readonly topSources: import("./endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/top-sources", import("effect/Schema").Struct<{
2014
2178
  projectId: typeof import("effect/Schema").String;
2015
2179
  }>, import("effect/Schema").Struct<{
2016
2180
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2023,7 +2187,7 @@ export declare const endpoints: {
2023
2187
  }>>>;
2024
2188
  };
2025
2189
  readonly adminPlans: {
2026
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/plans/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2190
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/plans/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2027
2191
  projectId: typeof import("effect/Schema").String;
2028
2192
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2029
2193
  plans: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -2040,7 +2204,7 @@ export declare const endpoints: {
2040
2204
  }>>;
2041
2205
  total: typeof import("effect/Schema").Number;
2042
2206
  }>>;
2043
- readonly create: import("./endpoint.js").Endpoint<"POST", "/admin/plans/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2207
+ readonly create: import("./endpoint.js").Endpoint<"POST", "/operator/plans/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2044
2208
  projectId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
2045
2209
  name: typeof import("effect/Schema").String;
2046
2210
  slug: typeof import("effect/Schema").String;
@@ -2055,7 +2219,7 @@ export declare const endpoints: {
2055
2219
  slug: typeof import("effect/Schema").String;
2056
2220
  name: typeof import("effect/Schema").String;
2057
2221
  }>>;
2058
- readonly update: import("./endpoint.js").Endpoint<"PATCH", "/admin/plans/:planId", import("effect/Schema").Struct<{
2222
+ readonly update: import("./endpoint.js").Endpoint<"PATCH", "/operator/plans/:planId", import("effect/Schema").Struct<{
2059
2223
  planId: typeof import("effect/Schema").String;
2060
2224
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2061
2225
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2071,7 +2235,7 @@ export declare const endpoints: {
2071
2235
  slug: typeof import("effect/Schema").String;
2072
2236
  name: typeof import("effect/Schema").String;
2073
2237
  }>>;
2074
- readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/admin/plans/:planId", import("effect/Schema").Struct<{
2238
+ readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/operator/plans/:planId", import("effect/Schema").Struct<{
2075
2239
  planId: typeof import("effect/Schema").String;
2076
2240
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2077
2241
  id: typeof import("effect/Schema").String;
@@ -2079,7 +2243,7 @@ export declare const endpoints: {
2079
2243
  }>>;
2080
2244
  };
2081
2245
  readonly adminProjects: {
2082
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/projects/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2246
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/projects/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2083
2247
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
2084
2248
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
2085
2249
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -2095,7 +2259,7 @@ export declare const endpoints: {
2095
2259
  limit: typeof import("effect/Schema").Number;
2096
2260
  offset: typeof import("effect/Schema").Number;
2097
2261
  }>>;
2098
- readonly get: import("./endpoint.js").Endpoint<"GET", "/admin/projects/:id", import("effect/Schema").Struct<{
2262
+ readonly get: import("./endpoint.js").Endpoint<"GET", "/operator/projects/:id", import("effect/Schema").Struct<{
2099
2263
  id: typeof import("effect/Schema").String;
2100
2264
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2101
2265
  id: typeof import("effect/Schema").String;
@@ -2133,7 +2297,7 @@ export declare const endpoints: {
2133
2297
  errorMessage: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
2134
2298
  }>>;
2135
2299
  }>>;
2136
- readonly create: import("./endpoint.js").Endpoint<"POST", "/admin/projects/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2300
+ readonly create: import("./endpoint.js").Endpoint<"POST", "/operator/projects/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2137
2301
  name: typeof import("effect/Schema").String;
2138
2302
  slug: typeof import("effect/Schema").String;
2139
2303
  domains: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
@@ -2156,7 +2320,7 @@ export declare const endpoints: {
2156
2320
  }>>;
2157
2321
  }>;
2158
2322
  }>>;
2159
- readonly update: import("./endpoint.js").Endpoint<"PATCH", "/admin/projects/:id", import("effect/Schema").Struct<{
2323
+ readonly update: import("./endpoint.js").Endpoint<"PATCH", "/operator/projects/:id", import("effect/Schema").Struct<{
2160
2324
  id: typeof import("effect/Schema").String;
2161
2325
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2162
2326
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2172,13 +2336,13 @@ export declare const endpoints: {
2172
2336
  slug: typeof import("effect/Schema").String;
2173
2337
  buildMachineType: import("effect/Schema").Literal<["standard", "large", "xlarge"]>;
2174
2338
  }>>;
2175
- readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/admin/projects/:id", import("effect/Schema").Struct<{
2339
+ readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/operator/projects/:id", import("effect/Schema").Struct<{
2176
2340
  id: typeof import("effect/Schema").String;
2177
2341
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2178
2342
  id: typeof import("effect/Schema").String;
2179
2343
  name: typeof import("effect/Schema").String;
2180
2344
  }>>;
2181
- readonly regenerateSecretKey: import("./endpoint.js").Endpoint<"POST", "/admin/projects/environments/:environmentId/regenerate-key", import("effect/Schema").Struct<{
2345
+ readonly regenerateSecretKey: import("./endpoint.js").Endpoint<"POST", "/operator/projects/environments/:environmentId/regenerate-key", import("effect/Schema").Struct<{
2182
2346
  environmentId: typeof import("effect/Schema").String;
2183
2347
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2184
2348
  environmentId: typeof import("effect/Schema").String;
@@ -2186,7 +2350,36 @@ export declare const endpoints: {
2186
2350
  secretKey: typeof import("effect/Schema").String;
2187
2351
  publicKey: typeof import("effect/Schema").String;
2188
2352
  }>>;
2189
- readonly platformResources: import("./endpoint.js").Endpoint<"GET", "/admin/projects/:id/platform-resources", import("effect/Schema").Struct<{
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
+ }>>;
2382
+ readonly platformResources: import("./endpoint.js").Endpoint<"GET", "/operator/projects/:id/platform-resources", import("effect/Schema").Struct<{
2190
2383
  id: typeof import("effect/Schema").String;
2191
2384
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
2192
2385
  role: typeof import("effect/Schema").String;
@@ -2196,7 +2389,7 @@ export declare const endpoints: {
2196
2389
  }>>>;
2197
2390
  };
2198
2391
  readonly adminProjectUsers: {
2199
- readonly getByProjectId: import("./endpoint.js").Endpoint<"GET", "/admin/project-users/projects/:projectId/users", import("effect/Schema").Struct<{
2392
+ readonly getByProjectId: import("./endpoint.js").Endpoint<"GET", "/operator/project-users/projects/:projectId/users", import("effect/Schema").Struct<{
2200
2393
  projectId: typeof import("effect/Schema").String;
2201
2394
  }>, import("effect/Schema").Struct<{
2202
2395
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2225,7 +2418,7 @@ export declare const endpoints: {
2225
2418
  limit: typeof import("effect/Schema").Number;
2226
2419
  offset: typeof import("effect/Schema").Number;
2227
2420
  }>>;
2228
- readonly getByIdOrSlug: import("./endpoint.js").Endpoint<"GET", "/admin/project-users/projects/:id/users", import("effect/Schema").Struct<{
2421
+ readonly getByIdOrSlug: import("./endpoint.js").Endpoint<"GET", "/operator/project-users/projects/:id/users", import("effect/Schema").Struct<{
2229
2422
  id: typeof import("effect/Schema").String;
2230
2423
  }>, import("effect/Schema").Struct<{
2231
2424
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2259,7 +2452,7 @@ export declare const endpoints: {
2259
2452
  limit: typeof import("effect/Schema").Number;
2260
2453
  offset: typeof import("effect/Schema").Number;
2261
2454
  }>>;
2262
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/project-users/projects/:id/users/list", import("effect/Schema").Struct<{
2455
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/project-users/projects/:id/users/list", import("effect/Schema").Struct<{
2263
2456
  id: typeof import("effect/Schema").String;
2264
2457
  }>, import("effect/Schema").Struct<{
2265
2458
  cursor: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2291,7 +2484,7 @@ export declare const endpoints: {
2291
2484
  hasMore: typeof import("effect/Schema").Boolean;
2292
2485
  total: typeof import("effect/Schema").Number;
2293
2486
  }>>;
2294
- readonly updateStatus: import("./endpoint.js").Endpoint<"PATCH", "/admin/project-users/projects/:projectId/users/:userId/status", import("effect/Schema").Struct<{
2487
+ readonly updateStatus: import("./endpoint.js").Endpoint<"PATCH", "/operator/project-users/projects/:projectId/users/:userId/status", import("effect/Schema").Struct<{
2295
2488
  projectId: typeof import("effect/Schema").String;
2296
2489
  userId: typeof import("effect/Schema").String;
2297
2490
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -2302,7 +2495,7 @@ export declare const endpoints: {
2302
2495
  status: import("effect/Schema").Literal<["active", "suspended", "banned"]>;
2303
2496
  statusReason: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
2304
2497
  }>>;
2305
- readonly updateRole: import("./endpoint.js").Endpoint<"PATCH", "/admin/project-users/projects/:projectId/users/:userId/role", import("effect/Schema").Struct<{
2498
+ readonly updateRole: import("./endpoint.js").Endpoint<"PATCH", "/operator/project-users/projects/:projectId/users/:userId/role", import("effect/Schema").Struct<{
2306
2499
  projectId: typeof import("effect/Schema").String;
2307
2500
  userId: typeof import("effect/Schema").String;
2308
2501
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -2311,13 +2504,13 @@ export declare const endpoints: {
2311
2504
  id: typeof import("effect/Schema").String;
2312
2505
  role: import("effect/Schema").Literal<["user", "admin", "super_admin"]>;
2313
2506
  }>>;
2314
- readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/admin/project-users/projects/:projectId/users/:userId", import("effect/Schema").Struct<{
2507
+ readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/operator/project-users/projects/:projectId/users/:userId", import("effect/Schema").Struct<{
2315
2508
  projectId: typeof import("effect/Schema").String;
2316
2509
  userId: typeof import("effect/Schema").String;
2317
2510
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2318
2511
  success: typeof import("effect/Schema").Boolean;
2319
2512
  }>>;
2320
- readonly bulkUpdateStatus: import("./endpoint.js").Endpoint<"POST", "/admin/project-users/projects/:projectId/users/bulk-status", import("effect/Schema").Struct<{
2513
+ readonly bulkUpdateStatus: import("./endpoint.js").Endpoint<"POST", "/operator/project-users/projects/:projectId/users/bulk-status", import("effect/Schema").Struct<{
2321
2514
  projectId: typeof import("effect/Schema").String;
2322
2515
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2323
2516
  userIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
@@ -2327,7 +2520,7 @@ export declare const endpoints: {
2327
2520
  updated: typeof import("effect/Schema").Number;
2328
2521
  total: typeof import("effect/Schema").Number;
2329
2522
  }>>;
2330
- readonly bulkDelete: import("./endpoint.js").Endpoint<"POST", "/admin/project-users/projects/:projectId/users/bulk-delete", import("effect/Schema").Struct<{
2523
+ readonly bulkDelete: import("./endpoint.js").Endpoint<"POST", "/operator/project-users/projects/:projectId/users/bulk-delete", import("effect/Schema").Struct<{
2331
2524
  projectId: typeof import("effect/Schema").String;
2332
2525
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2333
2526
  userIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
@@ -2337,7 +2530,7 @@ export declare const endpoints: {
2337
2530
  }>>;
2338
2531
  };
2339
2532
  readonly adminQuotas: {
2340
- readonly getProjectQuotas: import("./endpoint.js").Endpoint<"GET", "/admin/quotas/projects/:projectId/quotas", import("effect/Schema").Struct<{
2533
+ readonly getProjectQuotas: import("./endpoint.js").Endpoint<"GET", "/operator/quotas/projects/:projectId/quotas", import("effect/Schema").Struct<{
2341
2534
  projectId: typeof import("effect/Schema").String;
2342
2535
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2343
2536
  projectId: typeof import("effect/Schema").String;
@@ -2358,7 +2551,7 @@ export declare const endpoints: {
2358
2551
  overallStatus: import("effect/Schema").Literal<["ok", "warning", "critical", "exceeded", "blocked"]>;
2359
2552
  unacknowledgedAlertsCount: typeof import("effect/Schema").Number;
2360
2553
  }>>;
2361
- readonly getQuotaStats: import("./endpoint.js").Endpoint<"GET", "/admin/quotas/projects/:projectId/quotas/stats", import("effect/Schema").Struct<{
2554
+ readonly getQuotaStats: import("./endpoint.js").Endpoint<"GET", "/operator/quotas/projects/:projectId/quotas/stats", import("effect/Schema").Struct<{
2362
2555
  projectId: typeof import("effect/Schema").String;
2363
2556
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2364
2557
  atLimit: typeof import("effect/Schema").Number;
@@ -2367,7 +2560,7 @@ export declare const endpoints: {
2367
2560
  ok: typeof import("effect/Schema").Number;
2368
2561
  total: typeof import("effect/Schema").Number;
2369
2562
  }>>;
2370
- readonly getQuotaAlerts: import("./endpoint.js").Endpoint<"GET", "/admin/quotas/projects/:projectId/quotas/alerts", import("effect/Schema").Struct<{
2563
+ readonly getQuotaAlerts: import("./endpoint.js").Endpoint<"GET", "/operator/quotas/projects/:projectId/quotas/alerts", import("effect/Schema").Struct<{
2371
2564
  projectId: typeof import("effect/Schema").String;
2372
2565
  }>, import("effect/Schema").Struct<{
2373
2566
  acknowledged: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2386,7 +2579,7 @@ export declare const endpoints: {
2386
2579
  acknowledgedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
2387
2580
  }>>;
2388
2581
  }>>;
2389
- readonly getQuotaHistory: import("./endpoint.js").Endpoint<"GET", "/admin/quotas/projects/:projectId/quotas/history", import("effect/Schema").Struct<{
2582
+ readonly getQuotaHistory: import("./endpoint.js").Endpoint<"GET", "/operator/quotas/projects/:projectId/quotas/history", import("effect/Schema").Struct<{
2390
2583
  projectId: typeof import("effect/Schema").String;
2391
2584
  }>, import("effect/Schema").Struct<{
2392
2585
  service: typeof import("effect/Schema").String;
@@ -2398,7 +2591,7 @@ export declare const endpoints: {
2398
2591
  value: typeof import("effect/Schema").Number;
2399
2592
  }>>;
2400
2593
  }>>;
2401
- readonly updateQuota: import("./endpoint.js").Endpoint<"PATCH", "/admin/quotas/projects/:projectId/quotas", import("effect/Schema").Struct<{
2594
+ readonly updateQuota: import("./endpoint.js").Endpoint<"PATCH", "/operator/quotas/projects/:projectId/quotas", import("effect/Schema").Struct<{
2402
2595
  projectId: typeof import("effect/Schema").String;
2403
2596
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2404
2597
  service: typeof import("effect/Schema").String;
@@ -2420,7 +2613,7 @@ export declare const endpoints: {
2420
2613
  isActive: typeof import("effect/Schema").Boolean;
2421
2614
  }>;
2422
2615
  }>>;
2423
- readonly acknowledgeAlert: import("./endpoint.js").Endpoint<"POST", "/admin/quotas/alerts/:alertId/acknowledge", import("effect/Schema").Struct<{
2616
+ readonly acknowledgeAlert: import("./endpoint.js").Endpoint<"POST", "/operator/quotas/alerts/:alertId/acknowledge", import("effect/Schema").Struct<{
2424
2617
  alertId: typeof import("effect/Schema").String;
2425
2618
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2426
2619
  success: typeof import("effect/Schema").Boolean;
@@ -2428,7 +2621,7 @@ export declare const endpoints: {
2428
2621
  }>>;
2429
2622
  };
2430
2623
  readonly adminRateLimits: {
2431
- readonly listStrategies: import("./endpoint.js").Endpoint<"GET", "/admin/rate-limits/strategies", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2624
+ readonly listStrategies: import("./endpoint.js").Endpoint<"GET", "/operator/rate-limits/strategies", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2432
2625
  multipliers: import("effect/Schema").Array$<import("effect/Schema").Struct<{
2433
2626
  credentialType: import("effect/Schema").Literal<["public", "secret", "service", "session", "spiffe", "unknown"]>;
2434
2627
  multiplier: typeof import("effect/Schema").Number;
@@ -2437,7 +2630,7 @@ export declare const endpoints: {
2437
2630
  lastUpdatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
2438
2631
  }>>;
2439
2632
  }>>;
2440
- readonly setStrategy: import("./endpoint.js").Endpoint<"POST", "/admin/rate-limits/strategies", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2633
+ readonly setStrategy: import("./endpoint.js").Endpoint<"POST", "/operator/rate-limits/strategies", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2441
2634
  credentialType: import("effect/Schema").Literal<["public", "secret", "service", "session", "spiffe", "unknown"]>;
2442
2635
  multiplier: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>;
2443
2636
  exempt: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
@@ -2455,7 +2648,7 @@ export declare const endpoints: {
2455
2648
  }>>;
2456
2649
  };
2457
2650
  readonly adminReconcile: {
2458
- readonly reset: import("./endpoint.js").Endpoint<"POST", "/admin/reconcile/reset", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2651
+ readonly reset: import("./endpoint.js").Endpoint<"POST", "/operator/reconcile/reset", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2459
2652
  kind: import("effect/Schema").Union<[import("effect/Schema").Literal<["service"]>, import("effect/Schema").Literal<["environment"]>]>;
2460
2653
  id: import("effect/Schema").filter<typeof import("effect/Schema").String>;
2461
2654
  to: import("effect/Schema").Union<[import("effect/Schema").Literal<["pending"]>, import("effect/Schema").Literal<["synced"]>]>;
@@ -2469,7 +2662,7 @@ export declare const endpoints: {
2469
2662
  }>>;
2470
2663
  };
2471
2664
  readonly adminResources: {
2472
- readonly forceDelete: import("./endpoint.js").Endpoint<"DELETE", "/admin/resources/:id", import("effect/Schema").Struct<{
2665
+ readonly forceDelete: import("./endpoint.js").Endpoint<"DELETE", "/operator/resources/:id", import("effect/Schema").Struct<{
2473
2666
  id: import("effect/Schema").filter<typeof import("effect/Schema").String>;
2474
2667
  }>, import("effect/Schema").Struct<{
2475
2668
  reason: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
@@ -2482,7 +2675,7 @@ export declare const endpoints: {
2482
2675
  reallyForce: typeof import("effect/Schema").Boolean;
2483
2676
  dependentsDeleted: typeof import("effect/Schema").Number;
2484
2677
  }>>;
2485
- readonly reseal: import("./endpoint.js").Endpoint<"POST", "/admin/resources/reseal", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2678
+ readonly reseal: import("./endpoint.js").Endpoint<"POST", "/operator/resources/reseal", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2486
2679
  keyId: import("effect/Schema").filter<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>>;
2487
2680
  filter: import("effect/Schema").optional<import("effect/Schema").Struct<{
2488
2681
  projectId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2505,7 +2698,7 @@ export declare const endpoints: {
2505
2698
  }>>;
2506
2699
  };
2507
2700
  readonly adminSecrets: {
2508
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2701
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2509
2702
  secrets: import("effect/Schema").Array$<import("effect/Schema").Struct<{
2510
2703
  type: import("effect/Schema").Literal<["break-glass", "encryption-key", "jwt-signing"]>;
2511
2704
  lastRotatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
@@ -2515,7 +2708,7 @@ export declare const endpoints: {
2515
2708
  clusterSecretRef: typeof import("effect/Schema").String;
2516
2709
  }>>;
2517
2710
  }>>;
2518
- readonly rotate: import("./endpoint.js").Endpoint<"POST", "/admin/secrets/rotate", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2711
+ readonly rotate: import("./endpoint.js").Endpoint<"POST", "/operator/secrets/rotate", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2519
2712
  type: import("effect/Schema").Literal<["break-glass", "encryption-key", "jwt-signing"]>;
2520
2713
  dryRun: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
2521
2714
  reason: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2534,7 +2727,7 @@ export declare const endpoints: {
2534
2727
  }>>;
2535
2728
  };
2536
2729
  readonly adminServices: {
2537
- readonly imageStatus: import("./endpoint.js").Endpoint<"GET", "/admin/services/image-status", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2730
+ readonly imageStatus: import("./endpoint.js").Endpoint<"GET", "/operator/services/image-status", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2538
2731
  services: import("effect/Schema").Array$<import("effect/Schema").Struct<{
2539
2732
  name: typeof import("effect/Schema").String;
2540
2733
  dbRef: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
@@ -2547,7 +2740,7 @@ export declare const endpoints: {
2547
2740
  }>>;
2548
2741
  };
2549
2742
  readonly adminTasks: {
2550
- readonly listTasks: import("./endpoint.js").Endpoint<"GET", "/admin/tasks/projects/:projectId/tasks", import("effect/Schema").Struct<{
2743
+ readonly listTasks: import("./endpoint.js").Endpoint<"GET", "/operator/tasks/projects/:projectId/tasks", import("effect/Schema").Struct<{
2551
2744
  projectId: typeof import("effect/Schema").String;
2552
2745
  }>, import("effect/Schema").Struct<{
2553
2746
  page: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2595,7 +2788,7 @@ export declare const endpoints: {
2595
2788
  totalPages: typeof import("effect/Schema").Number;
2596
2789
  }>;
2597
2790
  }>>;
2598
- readonly listJobsCursor: import("./endpoint.js").Endpoint<"GET", "/admin/tasks/projects/:projectId/jobs/cursor", import("effect/Schema").Struct<{
2791
+ readonly listJobsCursor: import("./endpoint.js").Endpoint<"GET", "/operator/tasks/projects/:projectId/jobs/cursor", import("effect/Schema").Struct<{
2599
2792
  projectId: typeof import("effect/Schema").String;
2600
2793
  }>, import("effect/Schema").Struct<{
2601
2794
  cursor: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2626,7 +2819,7 @@ export declare const endpoints: {
2626
2819
  hasMore: typeof import("effect/Schema").Boolean;
2627
2820
  total: typeof import("effect/Schema").Number;
2628
2821
  }>>;
2629
- readonly cancelJob: import("./endpoint.js").Endpoint<"POST", "/admin/tasks/projects/:projectId/jobs/:jobId/cancel", import("effect/Schema").Struct<{
2822
+ readonly cancelJob: import("./endpoint.js").Endpoint<"POST", "/operator/tasks/projects/:projectId/jobs/:jobId/cancel", import("effect/Schema").Struct<{
2630
2823
  projectId: typeof import("effect/Schema").String;
2631
2824
  jobId: typeof import("effect/Schema").String;
2632
2825
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -2663,7 +2856,7 @@ export declare const endpoints: {
2663
2856
  createdAt: typeof import("effect/Schema").String;
2664
2857
  }>>;
2665
2858
  }>>;
2666
- readonly listDLQEntries: import("./endpoint.js").Endpoint<"GET", "/admin/tasks/projects/:projectId/dlq", import("effect/Schema").Struct<{
2859
+ readonly listDLQEntries: import("./endpoint.js").Endpoint<"GET", "/operator/tasks/projects/:projectId/dlq", import("effect/Schema").Struct<{
2667
2860
  projectId: typeof import("effect/Schema").String;
2668
2861
  }>, import("effect/Schema").Struct<{
2669
2862
  page: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2690,7 +2883,7 @@ export declare const endpoints: {
2690
2883
  totalPages: typeof import("effect/Schema").Number;
2691
2884
  }>;
2692
2885
  }>>;
2693
- readonly retryDLQEntry: import("./endpoint.js").Endpoint<"POST", "/admin/tasks/projects/:projectId/dlq/:entryId/retry", import("effect/Schema").Struct<{
2886
+ readonly retryDLQEntry: import("./endpoint.js").Endpoint<"POST", "/operator/tasks/projects/:projectId/dlq/:entryId/retry", import("effect/Schema").Struct<{
2694
2887
  projectId: typeof import("effect/Schema").String;
2695
2888
  entryId: typeof import("effect/Schema").String;
2696
2889
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -2707,7 +2900,7 @@ export declare const endpoints: {
2707
2900
  createdAt: typeof import("effect/Schema").String;
2708
2901
  }>;
2709
2902
  }>>;
2710
- readonly resolveDLQEntry: import("./endpoint.js").Endpoint<"POST", "/admin/tasks/projects/:projectId/dlq/:entryId/resolve", import("effect/Schema").Struct<{
2903
+ readonly resolveDLQEntry: import("./endpoint.js").Endpoint<"POST", "/operator/tasks/projects/:projectId/dlq/:entryId/resolve", import("effect/Schema").Struct<{
2711
2904
  projectId: typeof import("effect/Schema").String;
2712
2905
  entryId: typeof import("effect/Schema").String;
2713
2906
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -2726,7 +2919,7 @@ export declare const endpoints: {
2726
2919
  }>>;
2727
2920
  };
2728
2921
  readonly adminTenants: {
2729
- readonly create: import("./endpoint.js").Endpoint<"POST", "/admin/tenants/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2922
+ readonly create: import("./endpoint.js").Endpoint<"POST", "/operator/tenants/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2730
2923
  orgName: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
2731
2924
  orgSlug: import("effect/Schema").filter<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>>;
2732
2925
  projectName: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
@@ -2740,7 +2933,7 @@ export declare const endpoints: {
2740
2933
  }>>;
2741
2934
  };
2742
2935
  readonly adminTraces: {
2743
- readonly stats: import("./endpoint.js").Endpoint<"GET", "/admin/traces/projects/:projectId/stats", import("effect/Schema").Struct<{
2936
+ readonly stats: import("./endpoint.js").Endpoint<"GET", "/operator/traces/projects/:projectId/stats", import("effect/Schema").Struct<{
2744
2937
  projectId: typeof import("effect/Schema").String;
2745
2938
  }>, import("effect/Schema").Struct<{
2746
2939
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2763,7 +2956,7 @@ export declare const endpoints: {
2763
2956
  end: typeof import("effect/Schema").String;
2764
2957
  }>;
2765
2958
  }>>;
2766
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/traces/projects/:projectId/traces", import("effect/Schema").Struct<{
2959
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/traces/projects/:projectId/traces", import("effect/Schema").Struct<{
2767
2960
  projectId: typeof import("effect/Schema").String;
2768
2961
  }>, import("effect/Schema").Struct<{
2769
2962
  statusFilter: import("effect/Schema").optional<import("effect/Schema").Literal<["all", "2xx", "3xx", "4xx", "5xx", "error"]>>;
@@ -2792,7 +2985,7 @@ export declare const endpoints: {
2792
2985
  total: typeof import("effect/Schema").Number;
2793
2986
  hasMore: typeof import("effect/Schema").Boolean;
2794
2987
  }>>;
2795
- readonly get: import("./endpoint.js").Endpoint<"GET", "/admin/traces/projects/:projectId/traces/:traceId", import("effect/Schema").Struct<{
2988
+ readonly get: import("./endpoint.js").Endpoint<"GET", "/operator/traces/projects/:projectId/traces/:traceId", import("effect/Schema").Struct<{
2796
2989
  projectId: typeof import("effect/Schema").String;
2797
2990
  traceId: typeof import("effect/Schema").String;
2798
2991
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -2829,7 +3022,7 @@ export declare const endpoints: {
2829
3022
  spanCount: typeof import("effect/Schema").Number;
2830
3023
  }>>;
2831
3024
  }>>;
2832
- readonly slowEndpoints: import("./endpoint.js").Endpoint<"GET", "/admin/traces/projects/:projectId/slow-endpoints", import("effect/Schema").Struct<{
3025
+ readonly slowEndpoints: import("./endpoint.js").Endpoint<"GET", "/operator/traces/projects/:projectId/slow-endpoints", import("effect/Schema").Struct<{
2833
3026
  projectId: typeof import("effect/Schema").String;
2834
3027
  }>, import("effect/Schema").Struct<{
2835
3028
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2842,7 +3035,7 @@ export declare const endpoints: {
2842
3035
  p95Ms: typeof import("effect/Schema").Number;
2843
3036
  requestCount: typeof import("effect/Schema").Number;
2844
3037
  }>>>;
2845
- readonly errorEndpoints: import("./endpoint.js").Endpoint<"GET", "/admin/traces/projects/:projectId/error-endpoints", import("effect/Schema").Struct<{
3038
+ readonly errorEndpoints: import("./endpoint.js").Endpoint<"GET", "/operator/traces/projects/:projectId/error-endpoints", import("effect/Schema").Struct<{
2846
3039
  projectId: typeof import("effect/Schema").String;
2847
3040
  }>, import("effect/Schema").Struct<{
2848
3041
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2857,7 +3050,7 @@ export declare const endpoints: {
2857
3050
  }>>>;
2858
3051
  };
2859
3052
  readonly adminUsers: {
2860
- readonly search: import("./endpoint.js").Endpoint<"GET", "/admin/users/users", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
3053
+ readonly search: import("./endpoint.js").Endpoint<"GET", "/operator/users/users", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2861
3054
  query: import("effect/Schema").optional<typeof import("effect/Schema").String>;
2862
3055
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
2863
3056
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2881,7 +3074,7 @@ export declare const endpoints: {
2881
3074
  emailVerified: typeof import("effect/Schema").Number;
2882
3075
  unreadAlerts: typeof import("effect/Schema").Number;
2883
3076
  }>]>>;
2884
- readonly get: import("./endpoint.js").Endpoint<"GET", "/admin/users/users/:userId", import("effect/Schema").Struct<{
3077
+ readonly get: import("./endpoint.js").Endpoint<"GET", "/operator/users/users/:userId", import("effect/Schema").Struct<{
2885
3078
  userId: typeof import("effect/Schema").String;
2886
3079
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2887
3080
  id: typeof import("effect/Schema").String;
@@ -2904,7 +3097,7 @@ export declare const endpoints: {
2904
3097
  status: typeof import("effect/Schema").String;
2905
3098
  }>>;
2906
3099
  }>>;
2907
- readonly updateRole: import("./endpoint.js").Endpoint<"PATCH", "/admin/users/users/:userId/role", import("effect/Schema").Struct<{
3100
+ readonly updateRole: import("./endpoint.js").Endpoint<"PATCH", "/operator/users/users/:userId/role", import("effect/Schema").Struct<{
2908
3101
  userId: typeof import("effect/Schema").String;
2909
3102
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2910
3103
  role: import("effect/Schema").Literal<["user", "admin", "super_admin"]>;
@@ -2912,13 +3105,13 @@ export declare const endpoints: {
2912
3105
  id: typeof import("effect/Schema").String;
2913
3106
  role: import("effect/Schema").Literal<["user", "admin", "super_admin"]>;
2914
3107
  }>>;
2915
- readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/admin/users/users/:userId", import("effect/Schema").Struct<{
3108
+ readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/operator/users/users/:userId", import("effect/Schema").Struct<{
2916
3109
  userId: typeof import("effect/Schema").String;
2917
3110
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2918
3111
  id: typeof import("effect/Schema").String;
2919
3112
  email: typeof import("effect/Schema").String;
2920
3113
  }>>;
2921
- readonly getSessions: import("./endpoint.js").Endpoint<"GET", "/admin/users/users/:userId/sessions", import("effect/Schema").Struct<{
3114
+ readonly getSessions: import("./endpoint.js").Endpoint<"GET", "/operator/users/users/:userId/sessions", import("effect/Schema").Struct<{
2922
3115
  userId: typeof import("effect/Schema").String;
2923
3116
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2924
3117
  sessions: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -2936,19 +3129,19 @@ export declare const endpoints: {
2936
3129
  expiresAt: typeof import("effect/Schema").String;
2937
3130
  }>>;
2938
3131
  }>>;
2939
- readonly revokeSessions: import("./endpoint.js").Endpoint<"DELETE", "/admin/users/users/:userId/sessions", import("effect/Schema").Struct<{
3132
+ readonly revokeSessions: import("./endpoint.js").Endpoint<"DELETE", "/operator/users/users/:userId/sessions", import("effect/Schema").Struct<{
2940
3133
  userId: typeof import("effect/Schema").String;
2941
3134
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2942
3135
  userId: typeof import("effect/Schema").String;
2943
3136
  revokedCount: typeof import("effect/Schema").Number;
2944
3137
  }>>;
2945
- readonly revokeSession: import("./endpoint.js").Endpoint<"DELETE", "/admin/users/users/:userId/sessions/:sessionId", import("effect/Schema").Struct<{
3138
+ readonly revokeSession: import("./endpoint.js").Endpoint<"DELETE", "/operator/users/users/:userId/sessions/:sessionId", import("effect/Schema").Struct<{
2946
3139
  userId: typeof import("effect/Schema").String;
2947
3140
  sessionId: typeof import("effect/Schema").String;
2948
3141
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2949
3142
  sessionId: typeof import("effect/Schema").String;
2950
3143
  }>>;
2951
- readonly verifyEmail: import("./endpoint.js").Endpoint<"POST", "/admin/users/users/:userId/verify-email", import("effect/Schema").Struct<{
3144
+ readonly verifyEmail: import("./endpoint.js").Endpoint<"POST", "/operator/users/users/:userId/verify-email", import("effect/Schema").Struct<{
2952
3145
  userId: typeof import("effect/Schema").String;
2953
3146
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2954
3147
  id: typeof import("effect/Schema").String;
@@ -2956,7 +3149,7 @@ export declare const endpoints: {
2956
3149
  }>>;
2957
3150
  };
2958
3151
  readonly adminWebhookSignatureVersions: {
2959
- readonly list: import("./endpoint.js").Endpoint<"GET", "/admin/webhooks/signature-versions", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
3152
+ readonly list: import("./endpoint.js").Endpoint<"GET", "/operator/webhooks/signature-versions", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2960
3153
  versions: import("effect/Schema").Array$<import("effect/Schema").Struct<{
2961
3154
  version: typeof import("effect/Schema").Number;
2962
3155
  algorithm: import("effect/Schema").Literal<["HMAC-SHA256", "HMAC-SHA512"]>;
@@ -2968,7 +3161,7 @@ export declare const endpoints: {
2968
3161
  updatedBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
2969
3162
  }>>;
2970
3163
  }>>;
2971
- readonly create: import("./endpoint.js").Endpoint<"POST", "/admin/webhooks/signature-versions", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
3164
+ readonly create: import("./endpoint.js").Endpoint<"POST", "/operator/webhooks/signature-versions", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2972
3165
  version: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>;
2973
3166
  algorithm: import("effect/Schema").Literal<["HMAC-SHA256", "HMAC-SHA512"]>;
2974
3167
  hmacKeyKmsId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -2983,7 +3176,7 @@ export declare const endpoints: {
2983
3176
  updatedAt: typeof import("effect/Schema").String;
2984
3177
  updatedBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
2985
3178
  }>>;
2986
- readonly update: import("./endpoint.js").Endpoint<"PATCH", "/admin/webhooks/signature-versions/:version", import("effect/Schema").Struct<{
3179
+ readonly update: import("./endpoint.js").Endpoint<"PATCH", "/operator/webhooks/signature-versions/:version", import("effect/Schema").Struct<{
2987
3180
  version: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").NumberFromString>>;
2988
3181
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
2989
3182
  active: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
@@ -3425,6 +3618,12 @@ export declare const endpoints: {
3425
3618
  email: typeof import("effect/Schema").String;
3426
3619
  emailVerified: typeof import("effect/Schema").Boolean;
3427
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
+ }>>;
3428
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<{
3429
3628
  success: typeof import("effect/Schema").Boolean;
3430
3629
  }>>;
@@ -4024,61 +4223,61 @@ export declare const endpoints: {
4024
4223
  };
4025
4224
  readonly branchDatabases: {
4026
4225
  readonly list: import("./endpoint.js").Endpoint<"GET", "/projects/:id/preview-envs/branch-dbs", import("effect/Schema").Struct<{
4027
- id: typeof import("effect/Schema").String;
4226
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4028
4227
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4029
4228
  branches: import("effect/Schema").Array$<import("effect/Schema").Struct<{
4030
- id: typeof import("effect/Schema").String;
4031
- projectId: typeof import("effect/Schema").String;
4032
- envId: typeof import("effect/Schema").String;
4033
- sourceDbId: typeof import("effect/Schema").String;
4229
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4230
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4231
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4232
+ sourceDbId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">;
4034
4233
  cnpgClusterName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4035
4234
  connectionString: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4036
4235
  dataMode: import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>;
4037
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4236
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4038
4237
  createdAt: typeof import("effect/Schema").String;
4039
4238
  destroyedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4040
4239
  }>>;
4041
4240
  }>>;
4042
4241
  readonly create: import("./endpoint.js").Endpoint<"POST", "/projects/:id/preview-envs/:envId/branch-db", import("effect/Schema").Struct<{
4043
- id: typeof import("effect/Schema").String;
4044
- envId: typeof import("effect/Schema").String;
4242
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4243
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4045
4244
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4046
- previewEnvId: typeof import("effect/Schema").String;
4245
+ previewEnvId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4047
4246
  withData: import("effect/Schema").optional<import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>>;
4048
4247
  }>, import("effect/Schema").Struct<{
4049
- id: typeof import("effect/Schema").String;
4050
- projectId: typeof import("effect/Schema").String;
4051
- envId: typeof import("effect/Schema").String;
4052
- sourceDbId: typeof import("effect/Schema").String;
4248
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4249
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4250
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4251
+ sourceDbId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">;
4053
4252
  cnpgClusterName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4054
4253
  connectionString: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4055
4254
  dataMode: import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>;
4056
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4255
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4057
4256
  createdAt: typeof import("effect/Schema").String;
4058
4257
  destroyedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4059
4258
  }>>;
4060
4259
  readonly get: import("./endpoint.js").Endpoint<"GET", "/projects/:id/preview-envs/:envId/branch-db", import("effect/Schema").Struct<{
4061
- id: typeof import("effect/Schema").String;
4062
- envId: typeof import("effect/Schema").String;
4260
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4261
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4063
4262
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4064
- id: typeof import("effect/Schema").String;
4065
- projectId: typeof import("effect/Schema").String;
4066
- envId: typeof import("effect/Schema").String;
4067
- sourceDbId: typeof import("effect/Schema").String;
4263
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4264
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4265
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4266
+ sourceDbId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">;
4068
4267
  cnpgClusterName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4069
4268
  connectionString: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4070
4269
  dataMode: import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>;
4071
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4270
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4072
4271
  createdAt: typeof import("effect/Schema").String;
4073
4272
  destroyedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
4074
4273
  }>>;
4075
4274
  readonly destroy: import("./endpoint.js").Endpoint<"DELETE", "/projects/:id/preview-envs/:envId/branch-db", import("effect/Schema").Struct<{
4076
- id: typeof import("effect/Schema").String;
4077
- envId: typeof import("effect/Schema").String;
4275
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
4276
+ envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
4078
4277
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
4079
4278
  success: typeof import("effect/Schema").Boolean;
4080
- branchId: typeof import("effect/Schema").String;
4081
- status: import("effect/Schema").Literal<["provisioning", "ready", "destroyed", "degraded"]>;
4279
+ branchId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
4280
+ status: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
4082
4281
  }>>;
4083
4282
  };
4084
4283
  readonly ciSettings: {
@@ -5885,6 +6084,7 @@ export declare const endpoints: {
5885
6084
  url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
5886
6085
  deployAppId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
5887
6086
  namespace: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6087
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
5888
6088
  createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
5889
6089
  updatedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
5890
6090
  status: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -5937,6 +6137,7 @@ export declare const endpoints: {
5937
6137
  url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
5938
6138
  deployAppId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
5939
6139
  namespace: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6140
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
5940
6141
  createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
5941
6142
  updatedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
5942
6143
  status: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -5973,6 +6174,7 @@ export declare const endpoints: {
5973
6174
  allowPrivilegeEscalation: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
5974
6175
  privileged: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
5975
6176
  }>>;
6177
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
5976
6178
  settings: import("effect/Schema").optional<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
5977
6179
  }>, import("effect/Schema").Struct<{
5978
6180
  id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
@@ -5996,6 +6198,7 @@ export declare const endpoints: {
5996
6198
  url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
5997
6199
  deployAppId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
5998
6200
  namespace: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6201
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
5999
6202
  createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6000
6203
  updatedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6001
6204
  status: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -6055,6 +6258,7 @@ export declare const endpoints: {
6055
6258
  url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6056
6259
  deployAppId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6057
6260
  namespace: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6261
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
6058
6262
  createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6059
6263
  updatedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6060
6264
  status: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -6085,6 +6289,7 @@ export declare const endpoints: {
6085
6289
  url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6086
6290
  deployAppId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6087
6291
  namespace: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6292
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
6088
6293
  createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6089
6294
  updatedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6090
6295
  status: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -6134,6 +6339,7 @@ export declare const endpoints: {
6134
6339
  url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6135
6340
  deployAppId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6136
6341
  namespace: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6342
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
6137
6343
  createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6138
6344
  updatedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6139
6345
  status: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -6169,6 +6375,7 @@ export declare const endpoints: {
6169
6375
  allowPrivilegeEscalation: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
6170
6376
  privileged: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
6171
6377
  }>>;
6378
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
6172
6379
  settings: import("effect/Schema").optional<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
6173
6380
  }>, import("effect/Schema").Struct<{
6174
6381
  id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
@@ -6192,6 +6399,7 @@ export declare const endpoints: {
6192
6399
  url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6193
6400
  deployAppId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6194
6401
  namespace: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
6402
+ defaultHealthAgentMode: import("effect/Schema").optional<import("effect/Schema").Literal<["auto", "passthrough", "disabled"]>>;
6195
6403
  createdAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6196
6404
  updatedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
6197
6405
  status: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -8212,6 +8420,17 @@ export declare const endpoints: {
8212
8420
  limit: typeof import("effect/Schema").Number;
8213
8421
  offset: typeof import("effect/Schema").Number;
8214
8422
  }>>;
8423
+ 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<{
8424
+ organizations: import("effect/Schema").Array$<import("effect/Schema").Struct<{
8425
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "OrgId">;
8426
+ name: typeof import("effect/Schema").String;
8427
+ slug: typeof import("effect/Schema").String;
8428
+ logoUrl: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
8429
+ role: import("effect/Schema").Literal<["super_admin", "admin", "billing", "analytics", "developer", "viewer", "member"]>;
8430
+ joinedAt: typeof import("effect/Schema").String;
8431
+ createdAt: typeof import("effect/Schema").String;
8432
+ }>>;
8433
+ }>>;
8215
8434
  readonly get: import("./endpoint.js").Endpoint<"GET", "/orgs/:orgId", import("effect/Schema").Struct<{
8216
8435
  orgId: typeof import("effect/Schema").String;
8217
8436
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -9350,9 +9569,10 @@ export declare const endpoints: {
9350
9569
  }[] | undefined;
9351
9570
  readonly services?: readonly {
9352
9571
  readonly name: string;
9353
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9572
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9354
9573
  readonly port?: number | undefined;
9355
9574
  readonly env?: readonly string[] | undefined;
9575
+ readonly resources?: readonly string[] | undefined;
9356
9576
  readonly replicas?: number | undefined;
9357
9577
  readonly command?: string | undefined;
9358
9578
  readonly internal_port?: number | undefined;
@@ -9362,7 +9582,6 @@ export declare const endpoints: {
9362
9582
  readonly scale_to_zero?: boolean | undefined;
9363
9583
  readonly idle_timeout_seconds?: number | undefined;
9364
9584
  readonly min_replicas?: number | undefined;
9365
- readonly resources?: readonly string[] | undefined;
9366
9585
  }[] | undefined;
9367
9586
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9368
9587
  readonly env?: {
@@ -9402,9 +9621,10 @@ export declare const endpoints: {
9402
9621
  }[] | undefined;
9403
9622
  readonly services?: readonly {
9404
9623
  readonly name: string;
9405
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9624
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9406
9625
  readonly port?: number | undefined;
9407
9626
  readonly env?: readonly string[] | undefined;
9627
+ readonly resources?: readonly string[] | undefined;
9408
9628
  readonly replicas?: number | undefined;
9409
9629
  readonly command?: string | undefined;
9410
9630
  readonly internal_port?: number | undefined;
@@ -9414,7 +9634,6 @@ export declare const endpoints: {
9414
9634
  readonly scale_to_zero?: boolean | undefined;
9415
9635
  readonly idle_timeout_seconds?: number | undefined;
9416
9636
  readonly min_replicas?: number | undefined;
9417
- readonly resources?: readonly string[] | undefined;
9418
9637
  }[] | undefined;
9419
9638
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9420
9639
  readonly env?: {
@@ -9454,9 +9673,10 @@ export declare const endpoints: {
9454
9673
  }[] | undefined;
9455
9674
  readonly services?: readonly {
9456
9675
  readonly name: string;
9457
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9676
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9458
9677
  readonly port?: number | undefined;
9459
9678
  readonly env?: readonly string[] | undefined;
9679
+ readonly resources?: readonly string[] | undefined;
9460
9680
  readonly replicas?: number | undefined;
9461
9681
  readonly command?: string | undefined;
9462
9682
  readonly internal_port?: number | undefined;
@@ -9466,7 +9686,6 @@ export declare const endpoints: {
9466
9686
  readonly scale_to_zero?: boolean | undefined;
9467
9687
  readonly idle_timeout_seconds?: number | undefined;
9468
9688
  readonly min_replicas?: number | undefined;
9469
- readonly resources?: readonly string[] | undefined;
9470
9689
  }[] | undefined;
9471
9690
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9472
9691
  readonly env?: {
@@ -9506,9 +9725,10 @@ export declare const endpoints: {
9506
9725
  }[] | undefined;
9507
9726
  readonly services?: readonly {
9508
9727
  readonly name: string;
9509
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9728
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9510
9729
  readonly port?: number | undefined;
9511
9730
  readonly env?: readonly string[] | undefined;
9731
+ readonly resources?: readonly string[] | undefined;
9512
9732
  readonly replicas?: number | undefined;
9513
9733
  readonly command?: string | undefined;
9514
9734
  readonly internal_port?: number | undefined;
@@ -9518,7 +9738,6 @@ export declare const endpoints: {
9518
9738
  readonly scale_to_zero?: boolean | undefined;
9519
9739
  readonly idle_timeout_seconds?: number | undefined;
9520
9740
  readonly min_replicas?: number | undefined;
9521
- readonly resources?: readonly string[] | undefined;
9522
9741
  }[] | undefined;
9523
9742
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9524
9743
  readonly env?: {
@@ -9559,9 +9778,10 @@ export declare const endpoints: {
9559
9778
  }[] | undefined;
9560
9779
  readonly services?: readonly {
9561
9780
  readonly name: string;
9562
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9781
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9563
9782
  readonly port?: number | undefined;
9564
9783
  readonly env?: readonly string[] | undefined;
9784
+ readonly resources?: readonly string[] | undefined;
9565
9785
  readonly replicas?: number | undefined;
9566
9786
  readonly command?: string | undefined;
9567
9787
  readonly internal_port?: number | undefined;
@@ -9571,7 +9791,6 @@ export declare const endpoints: {
9571
9791
  readonly scale_to_zero?: boolean | undefined;
9572
9792
  readonly idle_timeout_seconds?: number | undefined;
9573
9793
  readonly min_replicas?: number | undefined;
9574
- readonly resources?: readonly string[] | undefined;
9575
9794
  }[] | undefined;
9576
9795
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9577
9796
  readonly env?: {
@@ -9611,9 +9830,10 @@ export declare const endpoints: {
9611
9830
  }[] | undefined;
9612
9831
  readonly services?: readonly {
9613
9832
  readonly name: string;
9614
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9833
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9615
9834
  readonly port?: number | undefined;
9616
9835
  readonly env?: readonly string[] | undefined;
9836
+ readonly resources?: readonly string[] | undefined;
9617
9837
  readonly replicas?: number | undefined;
9618
9838
  readonly command?: string | undefined;
9619
9839
  readonly internal_port?: number | undefined;
@@ -9623,7 +9843,6 @@ export declare const endpoints: {
9623
9843
  readonly scale_to_zero?: boolean | undefined;
9624
9844
  readonly idle_timeout_seconds?: number | undefined;
9625
9845
  readonly min_replicas?: number | undefined;
9626
- readonly resources?: readonly string[] | undefined;
9627
9846
  }[] | undefined;
9628
9847
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9629
9848
  readonly env?: {
@@ -9663,9 +9882,10 @@ export declare const endpoints: {
9663
9882
  }[] | undefined;
9664
9883
  readonly services?: readonly {
9665
9884
  readonly name: string;
9666
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9885
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9667
9886
  readonly port?: number | undefined;
9668
9887
  readonly env?: readonly string[] | undefined;
9888
+ readonly resources?: readonly string[] | undefined;
9669
9889
  readonly replicas?: number | undefined;
9670
9890
  readonly command?: string | undefined;
9671
9891
  readonly internal_port?: number | undefined;
@@ -9675,7 +9895,6 @@ export declare const endpoints: {
9675
9895
  readonly scale_to_zero?: boolean | undefined;
9676
9896
  readonly idle_timeout_seconds?: number | undefined;
9677
9897
  readonly min_replicas?: number | undefined;
9678
- readonly resources?: readonly string[] | undefined;
9679
9898
  }[] | undefined;
9680
9899
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9681
9900
  readonly env?: {
@@ -9715,9 +9934,10 @@ export declare const endpoints: {
9715
9934
  }[] | undefined;
9716
9935
  readonly services?: readonly {
9717
9936
  readonly name: string;
9718
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
9937
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9719
9938
  readonly port?: number | undefined;
9720
9939
  readonly env?: readonly string[] | undefined;
9940
+ readonly resources?: readonly string[] | undefined;
9721
9941
  readonly replicas?: number | undefined;
9722
9942
  readonly command?: string | undefined;
9723
9943
  readonly internal_port?: number | undefined;
@@ -9727,7 +9947,6 @@ export declare const endpoints: {
9727
9947
  readonly scale_to_zero?: boolean | undefined;
9728
9948
  readonly idle_timeout_seconds?: number | undefined;
9729
9949
  readonly min_replicas?: number | undefined;
9730
- readonly resources?: readonly string[] | undefined;
9731
9950
  }[] | undefined;
9732
9951
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9733
9952
  readonly env?: {
@@ -9759,7 +9978,8 @@ export declare const endpoints: {
9759
9978
  };
9760
9979
  }, never>>;
9761
9980
  resources: import("effect/Schema").optional<import("effect/Schema").Struct<{
9762
- postgres: import("effect/Schema").optional<import("effect/Schema").Struct<{
9981
+ database: import("effect/Schema").optional<import("effect/Schema").Struct<{
9982
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["postgres"]>>;
9763
9983
  tier: import("effect/Schema").Literal<["nano", "micro", "standard", "large", "xl"]>;
9764
9984
  storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
9765
9985
  version: import("effect/Schema").optional<import("effect/Schema").Literal<["15", "16", "17"]>>;
@@ -9779,7 +9999,10 @@ export declare const endpoints: {
9779
9999
  mount: typeof import("effect/Schema").String;
9780
10000
  }>>>;
9781
10001
  search: import("effect/Schema").optional<import("effect/Schema").Struct<{
10002
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["typesense"]>>;
9782
10003
  tier: import("effect/Schema").Literal<["micro", "standard"]>;
10004
+ storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10005
+ nodes: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
9783
10006
  }>>;
9784
10007
  }>>;
9785
10008
  ci: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -9863,9 +10086,10 @@ export declare const endpoints: {
9863
10086
  }[] | undefined;
9864
10087
  readonly services?: readonly {
9865
10088
  readonly name: string;
9866
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10089
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9867
10090
  readonly port?: number | undefined;
9868
10091
  readonly env?: readonly string[] | undefined;
10092
+ readonly resources?: readonly string[] | undefined;
9869
10093
  readonly replicas?: number | undefined;
9870
10094
  readonly command?: string | undefined;
9871
10095
  readonly internal_port?: number | undefined;
@@ -9875,7 +10099,6 @@ export declare const endpoints: {
9875
10099
  readonly scale_to_zero?: boolean | undefined;
9876
10100
  readonly idle_timeout_seconds?: number | undefined;
9877
10101
  readonly min_replicas?: number | undefined;
9878
- readonly resources?: readonly string[] | undefined;
9879
10102
  }[] | undefined;
9880
10103
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9881
10104
  readonly env?: {
@@ -9915,9 +10138,10 @@ export declare const endpoints: {
9915
10138
  }[] | undefined;
9916
10139
  readonly services?: readonly {
9917
10140
  readonly name: string;
9918
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10141
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9919
10142
  readonly port?: number | undefined;
9920
10143
  readonly env?: readonly string[] | undefined;
10144
+ readonly resources?: readonly string[] | undefined;
9921
10145
  readonly replicas?: number | undefined;
9922
10146
  readonly command?: string | undefined;
9923
10147
  readonly internal_port?: number | undefined;
@@ -9927,7 +10151,6 @@ export declare const endpoints: {
9927
10151
  readonly scale_to_zero?: boolean | undefined;
9928
10152
  readonly idle_timeout_seconds?: number | undefined;
9929
10153
  readonly min_replicas?: number | undefined;
9930
- readonly resources?: readonly string[] | undefined;
9931
10154
  }[] | undefined;
9932
10155
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9933
10156
  readonly env?: {
@@ -9967,9 +10190,10 @@ export declare const endpoints: {
9967
10190
  }[] | undefined;
9968
10191
  readonly services?: readonly {
9969
10192
  readonly name: string;
9970
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10193
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
9971
10194
  readonly port?: number | undefined;
9972
10195
  readonly env?: readonly string[] | undefined;
10196
+ readonly resources?: readonly string[] | undefined;
9973
10197
  readonly replicas?: number | undefined;
9974
10198
  readonly command?: string | undefined;
9975
10199
  readonly internal_port?: number | undefined;
@@ -9979,7 +10203,6 @@ export declare const endpoints: {
9979
10203
  readonly scale_to_zero?: boolean | undefined;
9980
10204
  readonly idle_timeout_seconds?: number | undefined;
9981
10205
  readonly min_replicas?: number | undefined;
9982
- readonly resources?: readonly string[] | undefined;
9983
10206
  }[] | undefined;
9984
10207
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
9985
10208
  readonly env?: {
@@ -10019,9 +10242,10 @@ export declare const endpoints: {
10019
10242
  }[] | undefined;
10020
10243
  readonly services?: readonly {
10021
10244
  readonly name: string;
10022
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10245
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10023
10246
  readonly port?: number | undefined;
10024
10247
  readonly env?: readonly string[] | undefined;
10248
+ readonly resources?: readonly string[] | undefined;
10025
10249
  readonly replicas?: number | undefined;
10026
10250
  readonly command?: string | undefined;
10027
10251
  readonly internal_port?: number | undefined;
@@ -10031,7 +10255,6 @@ export declare const endpoints: {
10031
10255
  readonly scale_to_zero?: boolean | undefined;
10032
10256
  readonly idle_timeout_seconds?: number | undefined;
10033
10257
  readonly min_replicas?: number | undefined;
10034
- readonly resources?: readonly string[] | undefined;
10035
10258
  }[] | undefined;
10036
10259
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10037
10260
  readonly env?: {
@@ -10072,9 +10295,10 @@ export declare const endpoints: {
10072
10295
  }[] | undefined;
10073
10296
  readonly services?: readonly {
10074
10297
  readonly name: string;
10075
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10298
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10076
10299
  readonly port?: number | undefined;
10077
10300
  readonly env?: readonly string[] | undefined;
10301
+ readonly resources?: readonly string[] | undefined;
10078
10302
  readonly replicas?: number | undefined;
10079
10303
  readonly command?: string | undefined;
10080
10304
  readonly internal_port?: number | undefined;
@@ -10084,7 +10308,6 @@ export declare const endpoints: {
10084
10308
  readonly scale_to_zero?: boolean | undefined;
10085
10309
  readonly idle_timeout_seconds?: number | undefined;
10086
10310
  readonly min_replicas?: number | undefined;
10087
- readonly resources?: readonly string[] | undefined;
10088
10311
  }[] | undefined;
10089
10312
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10090
10313
  readonly env?: {
@@ -10124,9 +10347,10 @@ export declare const endpoints: {
10124
10347
  }[] | undefined;
10125
10348
  readonly services?: readonly {
10126
10349
  readonly name: string;
10127
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10350
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10128
10351
  readonly port?: number | undefined;
10129
10352
  readonly env?: readonly string[] | undefined;
10353
+ readonly resources?: readonly string[] | undefined;
10130
10354
  readonly replicas?: number | undefined;
10131
10355
  readonly command?: string | undefined;
10132
10356
  readonly internal_port?: number | undefined;
@@ -10136,7 +10360,6 @@ export declare const endpoints: {
10136
10360
  readonly scale_to_zero?: boolean | undefined;
10137
10361
  readonly idle_timeout_seconds?: number | undefined;
10138
10362
  readonly min_replicas?: number | undefined;
10139
- readonly resources?: readonly string[] | undefined;
10140
10363
  }[] | undefined;
10141
10364
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10142
10365
  readonly env?: {
@@ -10176,9 +10399,10 @@ export declare const endpoints: {
10176
10399
  }[] | undefined;
10177
10400
  readonly services?: readonly {
10178
10401
  readonly name: string;
10179
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10402
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10180
10403
  readonly port?: number | undefined;
10181
10404
  readonly env?: readonly string[] | undefined;
10405
+ readonly resources?: readonly string[] | undefined;
10182
10406
  readonly replicas?: number | undefined;
10183
10407
  readonly command?: string | undefined;
10184
10408
  readonly internal_port?: number | undefined;
@@ -10188,7 +10412,6 @@ export declare const endpoints: {
10188
10412
  readonly scale_to_zero?: boolean | undefined;
10189
10413
  readonly idle_timeout_seconds?: number | undefined;
10190
10414
  readonly min_replicas?: number | undefined;
10191
- readonly resources?: readonly string[] | undefined;
10192
10415
  }[] | undefined;
10193
10416
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10194
10417
  readonly env?: {
@@ -10228,9 +10451,10 @@ export declare const endpoints: {
10228
10451
  }[] | undefined;
10229
10452
  readonly services?: readonly {
10230
10453
  readonly name: string;
10231
- readonly type?: "function" | "web" | "cron" | "worker" | undefined;
10454
+ readonly type?: "function" | "cron" | "web" | "worker" | undefined;
10232
10455
  readonly port?: number | undefined;
10233
10456
  readonly env?: readonly string[] | undefined;
10457
+ readonly resources?: readonly string[] | undefined;
10234
10458
  readonly replicas?: number | undefined;
10235
10459
  readonly command?: string | undefined;
10236
10460
  readonly internal_port?: number | undefined;
@@ -10240,7 +10464,6 @@ export declare const endpoints: {
10240
10464
  readonly scale_to_zero?: boolean | undefined;
10241
10465
  readonly idle_timeout_seconds?: number | undefined;
10242
10466
  readonly min_replicas?: number | undefined;
10243
- readonly resources?: readonly string[] | undefined;
10244
10467
  }[] | undefined;
10245
10468
  readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
10246
10469
  readonly env?: {
@@ -10272,7 +10495,8 @@ export declare const endpoints: {
10272
10495
  };
10273
10496
  }, never>>;
10274
10497
  resources: import("effect/Schema").optional<import("effect/Schema").Struct<{
10275
- postgres: import("effect/Schema").optional<import("effect/Schema").Struct<{
10498
+ database: import("effect/Schema").optional<import("effect/Schema").Struct<{
10499
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["postgres"]>>;
10276
10500
  tier: import("effect/Schema").Literal<["nano", "micro", "standard", "large", "xl"]>;
10277
10501
  storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10278
10502
  version: import("effect/Schema").optional<import("effect/Schema").Literal<["15", "16", "17"]>>;
@@ -10292,7 +10516,10 @@ export declare const endpoints: {
10292
10516
  mount: typeof import("effect/Schema").String;
10293
10517
  }>>>;
10294
10518
  search: import("effect/Schema").optional<import("effect/Schema").Struct<{
10519
+ engine: import("effect/Schema").optional<import("effect/Schema").Literal<["typesense"]>>;
10295
10520
  tier: import("effect/Schema").Literal<["micro", "standard"]>;
10521
+ storage_gb: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10522
+ nodes: import("effect/Schema").optional<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").Number>>>;
10296
10523
  }>>;
10297
10524
  }>>;
10298
10525
  ci: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -10831,8 +11058,8 @@ export declare const endpoints: {
10831
11058
  };
10832
11059
  readonly secrets: {
10833
11060
  readonly list: import("./endpoint.js").Endpoint<"GET", "/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10834
- projectId: typeof import("effect/Schema").String;
10835
- environmentId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11061
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
11062
+ environmentId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">>;
10836
11063
  includeInactive: import("effect/Schema").optional<typeof import("effect/Schema").String>;
10837
11064
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10838
11065
  secrets: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -10850,7 +11077,7 @@ export declare const endpoints: {
10850
11077
  }>>;
10851
11078
  }>>;
10852
11079
  readonly get: import("./endpoint.js").Endpoint<"GET", "/secrets/detail", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10853
- id: typeof import("effect/Schema").String;
11080
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "SecretId">;
10854
11081
  reveal: import("effect/Schema").optional<typeof import("effect/Schema").String>;
10855
11082
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10856
11083
  id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "SecretId">;
@@ -10873,7 +11100,7 @@ export declare const endpoints: {
10873
11100
  updatedAt: typeof import("effect/Schema").String;
10874
11101
  }>>;
10875
11102
  readonly create: import("./endpoint.js").Endpoint<"POST", "/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10876
- projectId: typeof import("effect/Schema").String;
11103
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
10877
11104
  key: import("effect/Schema").filter<import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>>;
10878
11105
  value: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
10879
11106
  description: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -10895,7 +11122,7 @@ export declare const endpoints: {
10895
11122
  version: typeof import("effect/Schema").String;
10896
11123
  }>>;
10897
11124
  readonly delete: import("./endpoint.js").Endpoint<"DELETE", "/secrets", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10898
- id: typeof import("effect/Schema").String;
11125
+ id: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "SecretId">;
10899
11126
  }>, import("effect/Schema").Struct<{
10900
11127
  success: typeof import("effect/Schema").Boolean;
10901
11128
  }>>;
@@ -10910,7 +11137,7 @@ export declare const endpoints: {
10910
11137
  rolledBackTo: typeof import("effect/Schema").String;
10911
11138
  }>>;
10912
11139
  readonly stats: import("./endpoint.js").Endpoint<"GET", "/secrets/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10913
- projectId: typeof import("effect/Schema").String;
11140
+ projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
10914
11141
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
10915
11142
  stats: import("effect/Schema").Array$<import("effect/Schema").Struct<{
10916
11143
  environmentId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
@@ -11663,6 +11890,10 @@ export declare const endpoints: {
11663
11890
  publicUrl: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11664
11891
  fileId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11665
11892
  expiresAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11893
+ presignedUrl: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11894
+ storageKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11895
+ tokenPayload: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11896
+ url: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11666
11897
  uploadEndpoint: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11667
11898
  clientPayload: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11668
11899
  maxSize: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
@@ -11793,12 +12024,6 @@ export declare const endpoints: {
11793
12024
  uploadedAt: import("effect/Schema").optional<typeof import("effect/Schema").String>;
11794
12025
  }>;
11795
12026
  }>>;
11796
- readonly softDelete: import("./endpoint.js").Endpoint<"DELETE", "/storage/files/:id", import("effect/Schema").Struct<{
11797
- id: typeof import("effect/Schema").String;
11798
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
11799
- success: import("effect/Schema").Literal<[true]>;
11800
- isDeleted: import("effect/Schema").Literal<[true]>;
11801
- }>>;
11802
12027
  };
11803
12028
  readonly storageAdmin: {
11804
12029
  readonly listBuckets: import("./endpoint.js").Endpoint<"GET", "/storage/projects/:id/buckets", import("effect/Schema").Struct<{