@sylphx/contract 0.2.0 → 0.2.1

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 (88) hide show
  1. package/dist/endpoint.d.ts +7 -1
  2. package/dist/endpoint.d.ts.map +1 -1
  3. package/dist/endpoints/admin-ai-playground.d.ts +3 -3
  4. package/dist/endpoints/admin-ai-playground.js +6 -6
  5. package/dist/endpoints/admin-anomalies.d.ts +7 -7
  6. package/dist/endpoints/admin-anomalies.js +14 -14
  7. package/dist/endpoints/admin-apm.d.ts +6 -6
  8. package/dist/endpoints/admin-apm.js +12 -12
  9. package/dist/endpoints/admin-audit.d.ts +185 -52
  10. package/dist/endpoints/admin-audit.d.ts.map +1 -1
  11. package/dist/endpoints/admin-audit.js +113 -113
  12. package/dist/endpoints/admin-billing.d.ts +19 -19
  13. package/dist/endpoints/admin-billing.js +38 -38
  14. package/dist/endpoints/admin-bootstrap.d.ts +1 -1
  15. package/dist/endpoints/admin-bootstrap.js +2 -2
  16. package/dist/endpoints/admin-broadcasts.d.ts +5 -5
  17. package/dist/endpoints/admin-broadcasts.js +10 -10
  18. package/dist/endpoints/admin-builds.d.ts +1 -1
  19. package/dist/endpoints/admin-builds.js +2 -2
  20. package/dist/endpoints/admin-config.d.ts +11 -11
  21. package/dist/endpoints/admin-config.js +22 -22
  22. package/dist/endpoints/admin-consent.d.ts +38 -14
  23. package/dist/endpoints/admin-consent.d.ts.map +1 -1
  24. package/dist/endpoints/admin-consent.js +27 -27
  25. package/dist/endpoints/admin-env-services.d.ts +1 -1
  26. package/dist/endpoints/admin-env-services.js +2 -2
  27. package/dist/endpoints/admin-impersonation.d.ts +9 -9
  28. package/dist/endpoints/admin-impersonation.js +18 -18
  29. package/dist/endpoints/admin-invitations.d.ts +5 -5
  30. package/dist/endpoints/admin-invitations.js +10 -10
  31. package/dist/endpoints/admin-jwt-keys.d.ts +6 -6
  32. package/dist/endpoints/admin-jwt-keys.js +12 -12
  33. package/dist/endpoints/admin-logs.d.ts +7 -7
  34. package/dist/endpoints/admin-logs.js +14 -14
  35. package/dist/endpoints/admin-plans.d.ts +4 -4
  36. package/dist/endpoints/admin-plans.js +8 -8
  37. package/dist/endpoints/admin-project-users.d.ts +8 -8
  38. package/dist/endpoints/admin-project-users.js +16 -16
  39. package/dist/endpoints/admin-projects.d.ts +7 -7
  40. package/dist/endpoints/admin-projects.js +14 -14
  41. package/dist/endpoints/admin-quotas.d.ts +6 -6
  42. package/dist/endpoints/admin-quotas.js +12 -12
  43. package/dist/endpoints/admin-rate-limits.d.ts +2 -2
  44. package/dist/endpoints/admin-rate-limits.js +4 -4
  45. package/dist/endpoints/admin-reconcile.d.ts +1 -1
  46. package/dist/endpoints/admin-reconcile.js +2 -2
  47. package/dist/endpoints/admin-resources.d.ts +2 -2
  48. package/dist/endpoints/admin-resources.js +4 -4
  49. package/dist/endpoints/admin-secrets.d.ts +2 -2
  50. package/dist/endpoints/admin-secrets.js +4 -4
  51. package/dist/endpoints/admin-services.d.ts +1 -1
  52. package/dist/endpoints/admin-services.js +2 -2
  53. package/dist/endpoints/admin-tasks.d.ts +6 -6
  54. package/dist/endpoints/admin-tasks.js +12 -12
  55. package/dist/endpoints/admin-tenants.d.ts +1 -1
  56. package/dist/endpoints/admin-tenants.js +2 -2
  57. package/dist/endpoints/admin-traces.d.ts +5 -5
  58. package/dist/endpoints/admin-traces.js +10 -10
  59. package/dist/endpoints/admin-users.d.ts +8 -8
  60. package/dist/endpoints/admin-users.js +16 -16
  61. package/dist/endpoints/admin-webhook-signature-versions.d.ts +3 -3
  62. package/dist/endpoints/admin-webhook-signature-versions.js +6 -6
  63. package/dist/endpoints/environments.d.ts +9 -0
  64. package/dist/endpoints/environments.d.ts.map +1 -1
  65. package/dist/endpoints/project-manifest.d.ts +16 -16
  66. package/dist/endpoints/storage.d.ts +4 -6
  67. package/dist/endpoints/storage.d.ts.map +1 -1
  68. package/dist/endpoints/storage.js +1 -12
  69. package/dist/hono-app.d.ts +206 -0
  70. package/dist/hono-app.d.ts.map +1 -0
  71. package/dist/hono-app.js +62 -0
  72. package/dist/index.d.ts +399 -228
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +9 -3
  75. package/dist/schemas/admin-audit.d.ts +183 -0
  76. package/dist/schemas/admin-audit.d.ts.map +1 -1
  77. package/dist/schemas/admin-audit.js +144 -0
  78. package/dist/schemas/admin-consent.d.ts +32 -3
  79. package/dist/schemas/admin-consent.d.ts.map +1 -1
  80. package/dist/schemas/admin-consent.js +28 -1
  81. package/dist/schemas/environment.d.ts +6 -0
  82. package/dist/schemas/environment.d.ts.map +1 -1
  83. package/dist/schemas/environment.js +2 -0
  84. package/dist/schemas/project-manifest.d.ts +16 -16
  85. package/dist/schemas/storage.d.ts +4 -0
  86. package/dist/schemas/storage.d.ts.map +1 -1
  87. package/dist/schemas/storage.js +5 -0
  88. package/package.json +12 -2
@@ -9,7 +9,7 @@
9
9
  * residual `AdminAuditUnknownResult` cases are documented inline.
10
10
  */
11
11
  export declare const adminAuditEndpoints: {
12
- readonly logs: import("../endpoint.js").Endpoint<"GET", "/admin/audit/logs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
12
+ readonly logs: import("../endpoint.js").Endpoint<"GET", "/operator/audit/logs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
13
13
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
14
14
  offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
15
15
  page: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -47,7 +47,7 @@ export declare const adminAuditEndpoints: {
47
47
  totalActions: typeof import("effect/Schema").Number;
48
48
  actionsByType: import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Number>;
49
49
  }>]>>;
50
- readonly activity: import("../endpoint.js").Endpoint<"GET", "/admin/audit/activity", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
50
+ readonly activity: import("../endpoint.js").Endpoint<"GET", "/operator/audit/activity", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
51
51
  projectId: typeof import("effect/Schema").String;
52
52
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
53
53
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -64,7 +64,7 @@ export declare const adminAuditEndpoints: {
64
64
  }>>;
65
65
  }>>;
66
66
  }>>;
67
- 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<{
67
+ 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<{
68
68
  projects: import("effect/Schema").Array$<import("effect/Schema").Struct<{
69
69
  id: typeof import("effect/Schema").String;
70
70
  name: typeof import("effect/Schema").String;
@@ -109,7 +109,7 @@ export declare const adminAuditEndpoints: {
109
109
  newOrgsThisMonth: typeof import("effect/Schema").Number;
110
110
  userGrowth: typeof import("effect/Schema").Number;
111
111
  }>>;
112
- 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<{
112
+ 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<{
113
113
  revenueTrendData: import("effect/Schema").Array$<import("effect/Schema").Struct<{
114
114
  date: typeof import("effect/Schema").String;
115
115
  revenue: typeof import("effect/Schema").Number;
@@ -131,7 +131,7 @@ export declare const adminAuditEndpoints: {
131
131
  cost: typeof import("effect/Schema").Number;
132
132
  }>>;
133
133
  }>>;
134
- 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<{
134
+ 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<{
135
135
  services: import("effect/Schema").Array$<import("effect/Schema").Struct<{
136
136
  name: typeof import("effect/Schema").String;
137
137
  status: import("effect/Schema").Literal<["healthy", "degraded", "down"]>;
@@ -144,7 +144,7 @@ export declare const adminAuditEndpoints: {
144
144
  percentage: typeof import("effect/Schema").Number;
145
145
  }>;
146
146
  }>>;
147
- 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<{
147
+ 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<{
148
148
  totalUsers: typeof import("effect/Schema").Number;
149
149
  newUsers30d: typeof import("effect/Schema").Number;
150
150
  dau: typeof import("effect/Schema").Number;
@@ -167,7 +167,7 @@ export declare const adminAuditEndpoints: {
167
167
  activeSubscriptions: typeof import("effect/Schema").Number;
168
168
  retention: typeof import("effect/Schema").Number;
169
169
  }>>;
170
- readonly projectOverview: import("../endpoint.js").Endpoint<"GET", "/admin/audit/overview/:id", import("effect/Schema").Struct<{
170
+ readonly projectOverview: import("../endpoint.js").Endpoint<"GET", "/operator/audit/overview/:id", import("effect/Schema").Struct<{
171
171
  id: typeof import("effect/Schema").String;
172
172
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
173
173
  app: import("effect/Schema").Struct<{
@@ -191,7 +191,7 @@ export declare const adminAuditEndpoints: {
191
191
  region: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
192
192
  }>>;
193
193
  }>>;
194
- readonly servicesOverview: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id", import("effect/Schema").Struct<{
194
+ readonly servicesOverview: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id", import("effect/Schema").Struct<{
195
195
  id: typeof import("effect/Schema").String;
196
196
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
197
197
  app: import("effect/Schema").Struct<{
@@ -229,7 +229,7 @@ export declare const adminAuditEndpoints: {
229
229
  region: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
230
230
  }>>;
231
231
  }>>;
232
- readonly ai: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai", import("effect/Schema").Struct<{
232
+ readonly ai: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai", import("effect/Schema").Struct<{
233
233
  id: typeof import("effect/Schema").String;
234
234
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
235
235
  app: import("effect/Schema").Struct<{
@@ -263,7 +263,7 @@ export declare const adminAuditEndpoints: {
263
263
  cost: typeof import("effect/Schema").Number;
264
264
  }>>;
265
265
  }>>;
266
- readonly aiLogs: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai/logs", import("effect/Schema").Struct<{
266
+ readonly aiLogs: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai/logs", import("effect/Schema").Struct<{
267
267
  id: typeof import("effect/Schema").String;
268
268
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
269
269
  logs: import("effect/Schema").Array$<import("effect/Schema").Struct<{
@@ -290,7 +290,7 @@ export declare const adminAuditEndpoints: {
290
290
  totalPages: typeof import("effect/Schema").Number;
291
291
  }>;
292
292
  }>>;
293
- readonly aiRates: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai/rates", import("effect/Schema").Struct<{
293
+ readonly aiRates: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai/rates", import("effect/Schema").Struct<{
294
294
  id: typeof import("effect/Schema").String;
295
295
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
296
296
  currentRPM: typeof import("effect/Schema").Number;
@@ -308,7 +308,7 @@ export declare const adminAuditEndpoints: {
308
308
  avgLatency: typeof import("effect/Schema").Number;
309
309
  }>>;
310
310
  }>>;
311
- readonly aiSummary: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/ai/summary", import("effect/Schema").Struct<{
311
+ readonly aiSummary: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/ai/summary", import("effect/Schema").Struct<{
312
312
  id: typeof import("effect/Schema").String;
313
313
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
314
314
  period: typeof import("effect/Schema").String;
@@ -327,7 +327,7 @@ export declare const adminAuditEndpoints: {
327
327
  cost: typeof import("effect/Schema").Number;
328
328
  }>>;
329
329
  }>>;
330
- readonly billingUsage: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/billing/usage", import("effect/Schema").Struct<{
330
+ readonly billingUsage: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/billing/usage", import("effect/Schema").Struct<{
331
331
  id: typeof import("effect/Schema").String;
332
332
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
333
333
  app: import("effect/Schema").Struct<{
@@ -362,7 +362,7 @@ export declare const adminAuditEndpoints: {
362
362
  message: typeof import("effect/Schema").String;
363
363
  }>>;
364
364
  }>>;
365
- readonly billing: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/billing", import("effect/Schema").Struct<{
365
+ readonly billing: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/billing", import("effect/Schema").Struct<{
366
366
  id: typeof import("effect/Schema").String;
367
367
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
368
368
  app: import("effect/Schema").Struct<{
@@ -403,16 +403,16 @@ export declare const adminAuditEndpoints: {
403
403
  }>>;
404
404
  hasStripeConnected: typeof import("effect/Schema").Boolean;
405
405
  }>>;
406
- readonly obsLogs: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/logs", import("effect/Schema").Struct<{
406
+ readonly obsLogs: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/logs", import("effect/Schema").Struct<{
407
407
  id: typeof import("effect/Schema").String;
408
408
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
409
409
  entries: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
410
410
  hasMore: typeof import("effect/Schema").Boolean;
411
411
  }>>;
412
- readonly obsLogsStream: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/logs/stream", import("effect/Schema").Struct<{
412
+ readonly obsLogsStream: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/logs/stream", import("effect/Schema").Struct<{
413
413
  id: typeof import("effect/Schema").String;
414
414
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
415
- readonly obsMetrics: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/metrics", import("effect/Schema").Struct<{
415
+ readonly obsMetrics: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/metrics", import("effect/Schema").Struct<{
416
416
  id: typeof import("effect/Schema").String;
417
417
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
418
418
  requestRate: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
@@ -422,21 +422,21 @@ export declare const adminAuditEndpoints: {
422
422
  memoryUsage: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
423
423
  podCount: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
424
424
  }>>;
425
- readonly obsMetricsRange: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/metrics/range", import("effect/Schema").Struct<{
425
+ readonly obsMetricsRange: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/metrics/range", import("effect/Schema").Struct<{
426
426
  id: typeof import("effect/Schema").String;
427
427
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
428
428
  series: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
429
429
  }>>;
430
- readonly obsTraces: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/traces", import("effect/Schema").Struct<{
430
+ readonly obsTraces: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/traces", import("effect/Schema").Struct<{
431
431
  id: typeof import("effect/Schema").String;
432
432
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
433
433
  traces: import("effect/Schema").Array$<typeof import("effect/Schema").Unknown>;
434
434
  }>>;
435
- readonly obsTrace: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/obs/traces/:traceId", import("effect/Schema").Struct<{
435
+ readonly obsTrace: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/obs/traces/:traceId", import("effect/Schema").Struct<{
436
436
  id: typeof import("effect/Schema").String;
437
437
  traceId: typeof import("effect/Schema").String;
438
438
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
439
- readonly authService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/auth", import("effect/Schema").Struct<{
439
+ readonly authService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/auth", import("effect/Schema").Struct<{
440
440
  id: typeof import("effect/Schema").String;
441
441
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
442
442
  app: import("effect/Schema").Struct<{
@@ -445,7 +445,7 @@ export declare const adminAuditEndpoints: {
445
445
  slug: typeof import("effect/Schema").String;
446
446
  }>;
447
447
  }>>;
448
- readonly analyticsService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/analytics", import("effect/Schema").Struct<{
448
+ readonly analyticsService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/analytics", import("effect/Schema").Struct<{
449
449
  id: typeof import("effect/Schema").String;
450
450
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
451
451
  app: import("effect/Schema").Struct<{
@@ -453,8 +453,50 @@ export declare const adminAuditEndpoints: {
453
453
  name: typeof import("effect/Schema").String;
454
454
  slug: typeof import("effect/Schema").String;
455
455
  }>;
456
+ eventsToday: typeof import("effect/Schema").Number;
457
+ eventsYesterday: typeof import("effect/Schema").Number;
458
+ eventsThisWeek: typeof import("effect/Schema").Number;
459
+ eventsLastWeek: typeof import("effect/Schema").Number;
460
+ activeUsersThisWeek: typeof import("effect/Schema").Number;
461
+ activeUsersLastWeek: typeof import("effect/Schema").Number;
462
+ uniqueVisitorsThisWeek: typeof import("effect/Schema").Number;
463
+ totalEvents: typeof import("effect/Schema").Number;
464
+ eventsByDay: import("effect/Schema").Array$<import("effect/Schema").Struct<{
465
+ date: typeof import("effect/Schema").String;
466
+ count: typeof import("effect/Schema").Number;
467
+ }>>;
468
+ topEvents: import("effect/Schema").Array$<import("effect/Schema").Struct<{
469
+ name: typeof import("effect/Schema").String;
470
+ count: typeof import("effect/Schema").Number;
471
+ }>>;
472
+ destinations: import("effect/Schema").Array$<import("effect/Schema").Struct<{
473
+ id: typeof import("effect/Schema").String;
474
+ platform: typeof import("effect/Schema").String;
475
+ name: typeof import("effect/Schema").String;
476
+ isActive: typeof import("effect/Schema").Boolean;
477
+ autoForward: typeof import("effect/Schema").Boolean;
478
+ eventFilter: import("effect/Schema").NullOr<import("effect/Schema").Array$<typeof import("effect/Schema").String>>;
479
+ eventsForwarded: typeof import("effect/Schema").Number;
480
+ lastUsedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
481
+ createdAt: typeof import("effect/Schema").String;
482
+ }>>;
483
+ destinationStats: import("effect/Schema").Array$<import("effect/Schema").Struct<{
484
+ platform: typeof import("effect/Schema").String;
485
+ totalEvents: typeof import("effect/Schema").Number;
486
+ successRate: typeof import("effect/Schema").Number;
487
+ lastDelivery: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
488
+ }>>;
489
+ recentDeliveries: import("effect/Schema").Array$<import("effect/Schema").Struct<{
490
+ id: typeof import("effect/Schema").String;
491
+ eventName: typeof import("effect/Schema").String;
492
+ eventTime: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
493
+ status: typeof import("effect/Schema").String;
494
+ errorMessage: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
495
+ conversionValue: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
496
+ sentAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
497
+ }>>;
456
498
  }>>;
457
- readonly jobsService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/jobs", import("effect/Schema").Struct<{
499
+ readonly jobsService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/jobs", import("effect/Schema").Struct<{
458
500
  id: typeof import("effect/Schema").String;
459
501
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
460
502
  app: import("effect/Schema").Struct<{
@@ -462,8 +504,14 @@ export declare const adminAuditEndpoints: {
462
504
  name: typeof import("effect/Schema").String;
463
505
  slug: typeof import("effect/Schema").String;
464
506
  }>;
507
+ scheduledCount: typeof import("effect/Schema").Number;
508
+ runningCount: typeof import("effect/Schema").Number;
509
+ completedToday: typeof import("effect/Schema").Number;
510
+ failedToday: typeof import("effect/Schema").Number;
511
+ totalJobs: typeof import("effect/Schema").Number;
512
+ dlqPendingCount: typeof import("effect/Schema").Number;
465
513
  }>>;
466
- readonly pushService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/push", import("effect/Schema").Struct<{
514
+ readonly pushService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/push", import("effect/Schema").Struct<{
467
515
  id: typeof import("effect/Schema").String;
468
516
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
469
517
  app: import("effect/Schema").Struct<{
@@ -472,7 +520,7 @@ export declare const adminAuditEndpoints: {
472
520
  slug: typeof import("effect/Schema").String;
473
521
  }>;
474
522
  }>>;
475
- readonly runsService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/runs", import("effect/Schema").Struct<{
523
+ readonly runsService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/runs", import("effect/Schema").Struct<{
476
524
  id: typeof import("effect/Schema").String;
477
525
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
478
526
  app: import("effect/Schema").Struct<{
@@ -480,8 +528,14 @@ export declare const adminAuditEndpoints: {
480
528
  name: typeof import("effect/Schema").String;
481
529
  slug: typeof import("effect/Schema").String;
482
530
  }>;
531
+ pendingCount: typeof import("effect/Schema").Number;
532
+ runningCount: typeof import("effect/Schema").Number;
533
+ succeededToday: typeof import("effect/Schema").Number;
534
+ failedToday: typeof import("effect/Schema").Number;
535
+ totalRuns: typeof import("effect/Schema").Number;
536
+ avgDurationMs: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
483
537
  }>>;
484
- readonly workersService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/workers", import("effect/Schema").Struct<{
538
+ readonly workersService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/workers", import("effect/Schema").Struct<{
485
539
  id: typeof import("effect/Schema").String;
486
540
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
487
541
  app: import("effect/Schema").Struct<{
@@ -489,8 +543,14 @@ export declare const adminAuditEndpoints: {
489
543
  name: typeof import("effect/Schema").String;
490
544
  slug: typeof import("effect/Schema").String;
491
545
  }>;
546
+ pendingCount: typeof import("effect/Schema").Number;
547
+ runningCount: typeof import("effect/Schema").Number;
548
+ succeededToday: typeof import("effect/Schema").Number;
549
+ failedToday: typeof import("effect/Schema").Number;
550
+ totalRuns: typeof import("effect/Schema").Number;
551
+ avgDurationMs: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
492
552
  }>>;
493
- readonly listRuns: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/runs/list", import("effect/Schema").Struct<{
553
+ readonly listRuns: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/runs/list", import("effect/Schema").Struct<{
494
554
  id: typeof import("effect/Schema").String;
495
555
  }>, import("effect/Schema").Struct<{
496
556
  status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -509,7 +569,7 @@ export declare const adminAuditEndpoints: {
509
569
  }>>;
510
570
  total: typeof import("effect/Schema").Number;
511
571
  }>>;
512
- readonly listWorkerRuns: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/workers/runs", import("effect/Schema").Struct<{
572
+ readonly listWorkerRuns: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/workers/runs", import("effect/Schema").Struct<{
513
573
  id: typeof import("effect/Schema").String;
514
574
  }>, import("effect/Schema").Struct<{
515
575
  status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -528,7 +588,7 @@ export declare const adminAuditEndpoints: {
528
588
  }>>;
529
589
  total: typeof import("effect/Schema").Number;
530
590
  }>>;
531
- readonly triggersService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/triggers", import("effect/Schema").Struct<{
591
+ readonly triggersService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/triggers", import("effect/Schema").Struct<{
532
592
  id: typeof import("effect/Schema").String;
533
593
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
534
594
  app: import("effect/Schema").Struct<{
@@ -536,36 +596,60 @@ export declare const adminAuditEndpoints: {
536
596
  name: typeof import("effect/Schema").String;
537
597
  slug: typeof import("effect/Schema").String;
538
598
  }>;
599
+ triggers: import("effect/Schema").Array$<import("effect/Schema").Struct<{
600
+ id: typeof import("effect/Schema").String;
601
+ name: typeof import("effect/Schema").String;
602
+ sourceType: import("effect/Schema").Literal<["cron", "event"]>;
603
+ targetType: import("effect/Schema").Literal<["task", "run", "http"]>;
604
+ cronExpression: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
605
+ eventName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
606
+ handlerPath: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
607
+ callbackUrl: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
608
+ status: import("effect/Schema").Literal<["active", "paused", "deleted"]>;
609
+ nextRunAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
610
+ lastRunAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
611
+ createdAt: typeof import("effect/Schema").String;
612
+ updatedAt: typeof import("effect/Schema").String;
613
+ }>>;
614
+ stats: import("effect/Schema").Struct<{
615
+ activeCount: typeof import("effect/Schema").Number;
616
+ pausedCount: typeof import("effect/Schema").Number;
617
+ totalCount: typeof import("effect/Schema").Number;
618
+ firedToday: typeof import("effect/Schema").Number;
619
+ cronCount: typeof import("effect/Schema").Number;
620
+ eventCount: typeof import("effect/Schema").Number;
621
+ httpCount: typeof import("effect/Schema").Number;
622
+ }>;
539
623
  }>>;
540
- readonly pauseTrigger: import("../endpoint.js").Endpoint<"POST", "/admin/audit/projects/:id/triggers/:triggerId/pause", import("effect/Schema").Struct<{
624
+ readonly pauseTrigger: import("../endpoint.js").Endpoint<"POST", "/operator/audit/projects/:id/triggers/:triggerId/pause", import("effect/Schema").Struct<{
541
625
  id: typeof import("effect/Schema").String;
542
626
  triggerId: typeof import("effect/Schema").String;
543
627
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
544
628
  success: typeof import("effect/Schema").Boolean;
545
629
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
546
630
  }>>;
547
- readonly resumeTrigger: import("../endpoint.js").Endpoint<"POST", "/admin/audit/projects/:id/triggers/:triggerId/resume", import("effect/Schema").Struct<{
631
+ readonly resumeTrigger: import("../endpoint.js").Endpoint<"POST", "/operator/audit/projects/:id/triggers/:triggerId/resume", import("effect/Schema").Struct<{
548
632
  id: typeof import("effect/Schema").String;
549
633
  triggerId: typeof import("effect/Schema").String;
550
634
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
551
635
  success: typeof import("effect/Schema").Boolean;
552
636
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
553
637
  }>>;
554
- readonly fireTrigger: import("../endpoint.js").Endpoint<"POST", "/admin/audit/projects/:id/triggers/:triggerId/fire", import("effect/Schema").Struct<{
638
+ readonly fireTrigger: import("../endpoint.js").Endpoint<"POST", "/operator/audit/projects/:id/triggers/:triggerId/fire", import("effect/Schema").Struct<{
555
639
  id: typeof import("effect/Schema").String;
556
640
  triggerId: typeof import("effect/Schema").String;
557
641
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
558
642
  success: typeof import("effect/Schema").Boolean;
559
643
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
560
644
  }>>;
561
- readonly deleteTrigger: import("../endpoint.js").Endpoint<"DELETE", "/admin/audit/projects/:id/triggers/:triggerId", import("effect/Schema").Struct<{
645
+ readonly deleteTrigger: import("../endpoint.js").Endpoint<"DELETE", "/operator/audit/projects/:id/triggers/:triggerId", import("effect/Schema").Struct<{
562
646
  id: typeof import("effect/Schema").String;
563
647
  triggerId: typeof import("effect/Schema").String;
564
648
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
565
649
  success: typeof import("effect/Schema").Boolean;
566
650
  message: import("effect/Schema").optional<typeof import("effect/Schema").String>;
567
651
  }>>;
568
- readonly functionsService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/functions", import("effect/Schema").Struct<{
652
+ readonly functionsService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/functions", import("effect/Schema").Struct<{
569
653
  id: typeof import("effect/Schema").String;
570
654
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
571
655
  app: import("effect/Schema").Struct<{
@@ -574,10 +658,10 @@ export declare const adminAuditEndpoints: {
574
658
  slug: typeof import("effect/Schema").String;
575
659
  }>;
576
660
  }>>;
577
- readonly listFunctions: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/functions/list", import("effect/Schema").Struct<{
661
+ readonly listFunctions: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/functions/list", import("effect/Schema").Struct<{
578
662
  id: typeof import("effect/Schema").String;
579
663
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
580
- readonly listPushSubscribers: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/push/subscribers", import("effect/Schema").Struct<{
664
+ readonly listPushSubscribers: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/push/subscribers", import("effect/Schema").Struct<{
581
665
  id: typeof import("effect/Schema").String;
582
666
  }>, import("effect/Schema").Struct<{
583
667
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -589,7 +673,7 @@ export declare const adminAuditEndpoints: {
589
673
  slug: typeof import("effect/Schema").String;
590
674
  }>;
591
675
  }>>;
592
- readonly emailService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/email", import("effect/Schema").Struct<{
676
+ readonly emailService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/email", import("effect/Schema").Struct<{
593
677
  id: typeof import("effect/Schema").String;
594
678
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
595
679
  app: import("effect/Schema").Struct<{
@@ -597,8 +681,27 @@ export declare const adminAuditEndpoints: {
597
681
  name: typeof import("effect/Schema").String;
598
682
  slug: typeof import("effect/Schema").String;
599
683
  }>;
684
+ stats: import("effect/Schema").Struct<{
685
+ total: typeof import("effect/Schema").Number;
686
+ sent: typeof import("effect/Schema").Number;
687
+ delivered: typeof import("effect/Schema").Number;
688
+ opened: typeof import("effect/Schema").Number;
689
+ clicked: typeof import("effect/Schema").Number;
690
+ bounced: typeof import("effect/Schema").Number;
691
+ openRate: typeof import("effect/Schema").Number;
692
+ clickRate: typeof import("effect/Schema").Number;
693
+ }>;
694
+ templateCount: typeof import("effect/Schema").Number;
695
+ templates: import("effect/Schema").Array$<import("effect/Schema").Struct<{
696
+ id: typeof import("effect/Schema").String;
697
+ key: typeof import("effect/Schema").String;
698
+ name: typeof import("effect/Schema").String;
699
+ type: typeof import("effect/Schema").String;
700
+ isActive: typeof import("effect/Schema").Boolean;
701
+ updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
702
+ }>>;
600
703
  }>>;
601
- readonly consentService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/consent", import("effect/Schema").Struct<{
704
+ readonly consentService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/consent", import("effect/Schema").Struct<{
602
705
  id: typeof import("effect/Schema").String;
603
706
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
604
707
  app: import("effect/Schema").Struct<{
@@ -606,8 +709,17 @@ export declare const adminAuditEndpoints: {
606
709
  name: typeof import("effect/Schema").String;
607
710
  slug: typeof import("effect/Schema").String;
608
711
  }>;
712
+ totalConsents: typeof import("effect/Schema").Number;
713
+ acceptedCount: typeof import("effect/Schema").Number;
714
+ totalChanges: typeof import("effect/Schema").Number;
715
+ acceptRate: typeof import("effect/Schema").Number;
716
+ config: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
717
+ position: typeof import("effect/Schema").String;
718
+ theme: typeof import("effect/Schema").String;
719
+ cookieLifetimeDays: typeof import("effect/Schema").Number;
720
+ }>>;
609
721
  }>>;
610
- readonly webhooksService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/webhooks", import("effect/Schema").Struct<{
722
+ readonly webhooksService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/webhooks", import("effect/Schema").Struct<{
611
723
  id: typeof import("effect/Schema").String;
612
724
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
613
725
  app: import("effect/Schema").Struct<{
@@ -616,7 +728,7 @@ export declare const adminAuditEndpoints: {
616
728
  slug: typeof import("effect/Schema").String;
617
729
  }>;
618
730
  }>>;
619
- readonly referralsService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/referrals", import("effect/Schema").Struct<{
731
+ readonly referralsService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/referrals", import("effect/Schema").Struct<{
620
732
  id: typeof import("effect/Schema").String;
621
733
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
622
734
  app: import("effect/Schema").Struct<{
@@ -625,7 +737,7 @@ export declare const adminAuditEndpoints: {
625
737
  slug: typeof import("effect/Schema").String;
626
738
  }>;
627
739
  }>>;
628
- readonly databaseService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database", import("effect/Schema").Struct<{
740
+ readonly databaseService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database", import("effect/Schema").Struct<{
629
741
  id: typeof import("effect/Schema").String;
630
742
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
631
743
  app: import("effect/Schema").Struct<{
@@ -634,7 +746,7 @@ export declare const adminAuditEndpoints: {
634
746
  slug: typeof import("effect/Schema").String;
635
747
  }>;
636
748
  }>>;
637
- readonly newsletterService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/newsletter", import("effect/Schema").Struct<{
749
+ readonly newsletterService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/newsletter", import("effect/Schema").Struct<{
638
750
  id: typeof import("effect/Schema").String;
639
751
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
640
752
  app: import("effect/Schema").Struct<{
@@ -642,8 +754,29 @@ export declare const adminAuditEndpoints: {
642
754
  name: typeof import("effect/Schema").String;
643
755
  slug: typeof import("effect/Schema").String;
644
756
  }>;
757
+ totalSubscribers: typeof import("effect/Schema").Number;
758
+ verifiedSubscribers: typeof import("effect/Schema").Number;
759
+ unsubscribedCount: typeof import("effect/Schema").Number;
760
+ newSubscribersThisMonth: typeof import("effect/Schema").Number;
761
+ bySource: import("effect/Schema").Array$<import("effect/Schema").Struct<{
762
+ source: typeof import("effect/Schema").String;
763
+ count: typeof import("effect/Schema").Number;
764
+ }>>;
765
+ recentSubscribers: import("effect/Schema").Array$<import("effect/Schema").Struct<{
766
+ id: typeof import("effect/Schema").String;
767
+ email: typeof import("effect/Schema").String;
768
+ name: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
769
+ source: typeof import("effect/Schema").String;
770
+ emailVerified: typeof import("effect/Schema").Boolean;
771
+ createdAt: typeof import("effect/Schema").String;
772
+ }>>;
773
+ automationStats: import("effect/Schema").Struct<{
774
+ sequences: typeof import("effect/Schema").Number;
775
+ activeSequences: typeof import("effect/Schema").Number;
776
+ totalEnrollments: typeof import("effect/Schema").Number;
777
+ }>;
645
778
  }>>;
646
- readonly engagementService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/engagement", import("effect/Schema").Struct<{
779
+ readonly engagementService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/engagement", import("effect/Schema").Struct<{
647
780
  id: typeof import("effect/Schema").String;
648
781
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
649
782
  app: import("effect/Schema").Struct<{
@@ -652,16 +785,16 @@ export declare const adminAuditEndpoints: {
652
785
  slug: typeof import("effect/Schema").String;
653
786
  }>;
654
787
  }>>;
655
- readonly databaseMetrics: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database/metrics", import("effect/Schema").Struct<{
788
+ readonly databaseMetrics: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database/metrics", import("effect/Schema").Struct<{
656
789
  id: typeof import("effect/Schema").String;
657
790
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
658
- readonly databaseQueries: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database/queries", import("effect/Schema").Struct<{
791
+ readonly databaseQueries: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database/queries", import("effect/Schema").Struct<{
659
792
  id: typeof import("effect/Schema").String;
660
793
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
661
- readonly databaseTables: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/database/tables", import("effect/Schema").Struct<{
794
+ readonly databaseTables: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/database/tables", import("effect/Schema").Struct<{
662
795
  id: typeof import("effect/Schema").String;
663
796
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
664
- readonly flagsService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/flags", import("effect/Schema").Struct<{
797
+ readonly flagsService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/flags", import("effect/Schema").Struct<{
665
798
  id: typeof import("effect/Schema").String;
666
799
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
667
800
  app: import("effect/Schema").Struct<{
@@ -670,7 +803,7 @@ export declare const adminAuditEndpoints: {
670
803
  slug: typeof import("effect/Schema").String;
671
804
  }>;
672
805
  }>>;
673
- readonly monitoringService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/monitoring", import("effect/Schema").Struct<{
806
+ readonly monitoringService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/monitoring", import("effect/Schema").Struct<{
674
807
  id: typeof import("effect/Schema").String;
675
808
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
676
809
  app: import("effect/Schema").Struct<{
@@ -679,7 +812,7 @@ export declare const adminAuditEndpoints: {
679
812
  slug: typeof import("effect/Schema").String;
680
813
  }>;
681
814
  }>>;
682
- readonly storageService: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/storage", import("effect/Schema").Struct<{
815
+ readonly storageService: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/storage", import("effect/Schema").Struct<{
683
816
  id: typeof import("effect/Schema").String;
684
817
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
685
818
  app: import("effect/Schema").Struct<{
@@ -688,7 +821,7 @@ export declare const adminAuditEndpoints: {
688
821
  slug: typeof import("effect/Schema").String;
689
822
  }>;
690
823
  }>>;
691
- readonly storageBuckets: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/storage/buckets", import("effect/Schema").Struct<{
824
+ readonly storageBuckets: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/storage/buckets", import("effect/Schema").Struct<{
692
825
  id: typeof import("effect/Schema").String;
693
826
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
694
827
  app: import("effect/Schema").Struct<{
@@ -697,7 +830,7 @@ export declare const adminAuditEndpoints: {
697
830
  slug: typeof import("effect/Schema").String;
698
831
  }>;
699
832
  }>>;
700
- readonly storageFiles: import("../endpoint.js").Endpoint<"GET", "/admin/audit/projects/:id/storage/files", import("effect/Schema").Struct<{
833
+ readonly storageFiles: import("../endpoint.js").Endpoint<"GET", "/operator/audit/projects/:id/storage/files", import("effect/Schema").Struct<{
701
834
  id: typeof import("effect/Schema").String;
702
835
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
703
836
  app: import("effect/Schema").Struct<{
@@ -706,7 +839,7 @@ export declare const adminAuditEndpoints: {
706
839
  slug: typeof import("effect/Schema").String;
707
840
  }>;
708
841
  }>>;
709
- readonly dateRange: import("../endpoint.js").Endpoint<"GET", "/admin/audit/dateRange", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
842
+ readonly dateRange: import("../endpoint.js").Endpoint<"GET", "/operator/audit/dateRange", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
710
843
  startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
711
844
  endDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
712
845
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"admin-audit.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-audit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAoCH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAietB,CAAA"}
1
+ {"version":3,"file":"admin-audit.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-audit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA2CH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAietB,CAAA"}