@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.
- package/CHANGELOG.md +6 -0
- package/dist/endpoint.d.ts +13 -1
- package/dist/endpoint.d.ts.map +1 -1
- package/dist/endpoints/admin-ai-playground.d.ts +3 -3
- package/dist/endpoints/admin-ai-playground.js +6 -6
- package/dist/endpoints/admin-anomalies.d.ts +7 -7
- package/dist/endpoints/admin-anomalies.js +14 -14
- package/dist/endpoints/admin-apm.d.ts +6 -6
- package/dist/endpoints/admin-apm.js +12 -12
- package/dist/endpoints/admin-audit.d.ts +185 -52
- package/dist/endpoints/admin-audit.d.ts.map +1 -1
- package/dist/endpoints/admin-audit.js +113 -113
- package/dist/endpoints/admin-billing.d.ts +19 -19
- package/dist/endpoints/admin-billing.js +38 -38
- package/dist/endpoints/admin-bootstrap.d.ts +1 -1
- package/dist/endpoints/admin-bootstrap.js +2 -2
- package/dist/endpoints/admin-broadcasts.d.ts +5 -5
- package/dist/endpoints/admin-broadcasts.js +10 -10
- package/dist/endpoints/admin-builds.d.ts +1 -1
- package/dist/endpoints/admin-builds.js +2 -2
- package/dist/endpoints/admin-config.d.ts +11 -11
- package/dist/endpoints/admin-config.js +22 -22
- package/dist/endpoints/admin-consent.d.ts +38 -14
- package/dist/endpoints/admin-consent.d.ts.map +1 -1
- package/dist/endpoints/admin-consent.js +27 -27
- package/dist/endpoints/admin-env-services.d.ts +1 -1
- package/dist/endpoints/admin-env-services.js +2 -2
- package/dist/endpoints/admin-impersonation.d.ts +9 -9
- package/dist/endpoints/admin-impersonation.js +18 -18
- package/dist/endpoints/admin-invitations.d.ts +5 -5
- package/dist/endpoints/admin-invitations.js +10 -10
- package/dist/endpoints/admin-jwt-keys.d.ts +6 -6
- package/dist/endpoints/admin-jwt-keys.js +12 -12
- package/dist/endpoints/admin-logs.d.ts +7 -7
- package/dist/endpoints/admin-logs.js +14 -14
- package/dist/endpoints/admin-plans.d.ts +4 -4
- package/dist/endpoints/admin-plans.js +8 -8
- package/dist/endpoints/admin-project-users.d.ts +8 -8
- package/dist/endpoints/admin-project-users.js +16 -16
- package/dist/endpoints/admin-projects.d.ts +36 -7
- package/dist/endpoints/admin-projects.d.ts.map +1 -1
- package/dist/endpoints/admin-projects.js +44 -15
- package/dist/endpoints/admin-quotas.d.ts +6 -6
- package/dist/endpoints/admin-quotas.js +12 -12
- package/dist/endpoints/admin-rate-limits.d.ts +2 -2
- package/dist/endpoints/admin-rate-limits.js +4 -4
- package/dist/endpoints/admin-reconcile.d.ts +1 -1
- package/dist/endpoints/admin-reconcile.js +2 -2
- package/dist/endpoints/admin-resources.d.ts +2 -2
- package/dist/endpoints/admin-resources.js +4 -4
- package/dist/endpoints/admin-secrets.d.ts +2 -2
- package/dist/endpoints/admin-secrets.js +4 -4
- package/dist/endpoints/admin-services.d.ts +1 -1
- package/dist/endpoints/admin-services.js +2 -2
- package/dist/endpoints/admin-tasks.d.ts +6 -6
- package/dist/endpoints/admin-tasks.js +12 -12
- package/dist/endpoints/admin-tenants.d.ts +1 -1
- package/dist/endpoints/admin-tenants.js +2 -2
- package/dist/endpoints/admin-traces.d.ts +5 -5
- package/dist/endpoints/admin-traces.js +10 -10
- package/dist/endpoints/admin-users.d.ts +8 -8
- package/dist/endpoints/admin-users.js +16 -16
- package/dist/endpoints/admin-webhook-signature-versions.d.ts +3 -3
- package/dist/endpoints/admin-webhook-signature-versions.js +6 -6
- package/dist/endpoints/auth.d.ts +6 -0
- package/dist/endpoints/auth.d.ts.map +1 -1
- package/dist/endpoints/auth.js +12 -1
- package/dist/endpoints/branch-databases.d.ts +27 -28
- package/dist/endpoints/branch-databases.d.ts.map +1 -1
- package/dist/endpoints/branch-databases.js +7 -7
- package/dist/endpoints/databases.d.ts +253 -3
- package/dist/endpoints/databases.d.ts.map +1 -1
- package/dist/endpoints/databases.js +19 -12
- package/dist/endpoints/environments.d.ts +9 -0
- package/dist/endpoints/environments.d.ts.map +1 -1
- package/dist/endpoints/organizations.d.ts +11 -0
- package/dist/endpoints/organizations.d.ts.map +1 -1
- package/dist/endpoints/organizations.js +8 -1
- package/dist/endpoints/project-manifest.d.ts +42 -34
- package/dist/endpoints/project-manifest.d.ts.map +1 -1
- package/dist/endpoints/secrets.d.ts +6 -6
- package/dist/endpoints/secrets.d.ts.map +1 -1
- package/dist/endpoints/secrets.js +6 -5
- package/dist/endpoints/storage.d.ts +4 -6
- package/dist/endpoints/storage.d.ts.map +1 -1
- package/dist/endpoints/storage.js +1 -12
- package/dist/hono-app.d.ts +206 -0
- package/dist/hono-app.d.ts.map +1 -0
- package/dist/hono-app.js +62 -0
- package/dist/index.d.ts +503 -278
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/schemas/admin-audit.d.ts +183 -0
- package/dist/schemas/admin-audit.d.ts.map +1 -1
- package/dist/schemas/admin-audit.js +144 -0
- package/dist/schemas/admin-consent.d.ts +32 -3
- package/dist/schemas/admin-consent.d.ts.map +1 -1
- package/dist/schemas/admin-consent.js +28 -1
- package/dist/schemas/admin-projects.d.ts +20 -0
- package/dist/schemas/admin-projects.d.ts.map +1 -1
- package/dist/schemas/admin-projects.js +17 -0
- package/dist/schemas/auth.d.ts +11 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/auth.js +10 -0
- package/dist/schemas/branch-database.d.ts +20 -19
- package/dist/schemas/branch-database.d.ts.map +1 -1
- package/dist/schemas/branch-database.js +9 -7
- package/dist/schemas/environment.d.ts +6 -0
- package/dist/schemas/environment.d.ts.map +1 -1
- package/dist/schemas/environment.js +2 -0
- package/dist/schemas/ids.d.ts +2 -0
- package/dist/schemas/ids.d.ts.map +1 -1
- package/dist/schemas/ids.js +1 -0
- package/dist/schemas/organization.d.ts +24 -2
- package/dist/schemas/organization.d.ts.map +1 -1
- package/dist/schemas/organization.js +13 -1
- package/dist/schemas/project-manifest.d.ts +59 -37
- package/dist/schemas/project-manifest.d.ts.map +1 -1
- package/dist/schemas/project-manifest.js +11 -3
- package/dist/schemas/secret.d.ts +1 -1
- package/dist/schemas/secret.js +2 -2
- package/dist/schemas/storage.d.ts +4 -5
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +5 -4
- package/package.json +16 -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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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", "/
|
|
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;
|
|
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"}
|