@sylphx/contract 0.4.0 → 0.5.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.
- package/CHANGELOG.md +12 -0
- package/dist/endpoint.d.ts +45 -3
- package/dist/endpoint.d.ts.map +1 -1
- package/dist/endpoint.js +9 -0
- package/dist/endpoints/admin-ai-playground.d.ts +3 -3
- package/dist/endpoints/admin-anomalies.d.ts +7 -7
- package/dist/endpoints/admin-apm.d.ts +6 -6
- package/dist/endpoints/admin-audit.d.ts +94 -58
- package/dist/endpoints/admin-audit.d.ts.map +1 -1
- package/dist/endpoints/admin-audit.js +8 -1
- package/dist/endpoints/admin-billing.d.ts +35 -24
- package/dist/endpoints/admin-billing.d.ts.map +1 -1
- package/dist/endpoints/admin-billing.js +4 -3
- package/dist/endpoints/admin-bootstrap.d.ts +1 -1
- package/dist/endpoints/admin-branch-databases.d.ts +43 -0
- package/dist/endpoints/admin-branch-databases.d.ts.map +1 -0
- package/dist/endpoints/admin-branch-databases.js +41 -0
- package/dist/endpoints/admin-broadcasts.d.ts +10 -8
- package/dist/endpoints/admin-broadcasts.d.ts.map +1 -1
- package/dist/endpoints/admin-broadcasts.js +1 -0
- package/dist/endpoints/admin-builds.d.ts +1 -1
- package/dist/endpoints/admin-config.d.ts +11 -11
- package/dist/endpoints/admin-consent.d.ts +78 -41
- package/dist/endpoints/admin-consent.d.ts.map +1 -1
- package/dist/endpoints/admin-consent.js +9 -6
- package/dist/endpoints/admin-env-services.d.ts +1 -1
- package/dist/endpoints/admin-impersonation.d.ts +9 -9
- package/dist/endpoints/admin-invitations.d.ts +9 -5
- package/dist/endpoints/admin-invitations.d.ts.map +1 -1
- package/dist/endpoints/admin-invitations.js +2 -0
- package/dist/endpoints/admin-jwt-keys.d.ts +6 -6
- package/dist/endpoints/admin-logs.d.ts +7 -7
- package/dist/endpoints/admin-plans.d.ts +6 -4
- package/dist/endpoints/admin-plans.d.ts.map +1 -1
- package/dist/endpoints/admin-plans.js +1 -0
- package/dist/endpoints/admin-project-users.d.ts +8 -8
- package/dist/endpoints/admin-projects.d.ts +11 -9
- package/dist/endpoints/admin-projects.d.ts.map +1 -1
- package/dist/endpoints/admin-projects.js +3 -2
- package/dist/endpoints/admin-quotas.d.ts +6 -6
- package/dist/endpoints/admin-rate-limits.d.ts +2 -2
- package/dist/endpoints/admin-reconcile.d.ts +1 -1
- package/dist/endpoints/admin-resources.d.ts +2 -2
- package/dist/endpoints/admin-secrets.d.ts +2 -2
- package/dist/endpoints/admin-services.d.ts +1 -1
- package/dist/endpoints/admin-tasks.d.ts +6 -6
- package/dist/endpoints/admin-tenants.d.ts +3 -1
- package/dist/endpoints/admin-tenants.d.ts.map +1 -1
- package/dist/endpoints/admin-tenants.js +1 -0
- package/dist/endpoints/admin-traces.d.ts +5 -5
- package/dist/endpoints/admin-users.d.ts +8 -8
- package/dist/endpoints/admin-webhook-signature-versions.d.ts +5 -3
- package/dist/endpoints/admin-webhook-signature-versions.d.ts.map +1 -1
- package/dist/endpoints/admin-webhook-signature-versions.js +1 -0
- package/dist/endpoints/ai-admin.d.ts +5 -5
- package/dist/endpoints/analytics-admin.d.ts +123 -38
- package/dist/endpoints/analytics-admin.d.ts.map +1 -1
- package/dist/endpoints/analytics-admin.js +17 -9
- package/dist/endpoints/analytics.d.ts +4 -4
- package/dist/endpoints/audit-chain.d.ts +1 -1
- package/dist/endpoints/audit.d.ts +1 -1
- package/dist/endpoints/auth-admin.d.ts +5 -5
- package/dist/endpoints/auth.d.ts +25 -22
- package/dist/endpoints/auth.d.ts.map +1 -1
- package/dist/endpoints/auth.js +2 -2
- package/dist/endpoints/backups.d.ts +4 -4
- package/dist/endpoints/billing-console.d.ts +16 -16
- package/dist/endpoints/billing-settings.d.ts +11 -11
- package/dist/endpoints/branch-databases.d.ts +8 -4
- package/dist/endpoints/branch-databases.d.ts.map +1 -1
- package/dist/endpoints/branch-databases.js +2 -0
- package/dist/endpoints/challenge.d.ts +5 -5
- package/dist/endpoints/ci-settings.d.ts +8 -8
- package/dist/endpoints/consent-admin.d.ts +9 -7
- package/dist/endpoints/consent-admin.d.ts.map +1 -1
- package/dist/endpoints/consent-admin.js +1 -0
- package/dist/endpoints/databases.d.ts +189 -323
- package/dist/endpoints/databases.d.ts.map +1 -1
- package/dist/endpoints/databases.js +42 -41
- package/dist/endpoints/deployments.d.ts +71 -18
- package/dist/endpoints/deployments.d.ts.map +1 -1
- package/dist/endpoints/deployments.js +9 -1
- package/dist/endpoints/domains.d.ts +33 -23
- package/dist/endpoints/domains.d.ts.map +1 -1
- package/dist/endpoints/domains.js +7 -4
- package/dist/endpoints/email-admin.d.ts +29 -23
- package/dist/endpoints/email-admin.d.ts.map +1 -1
- package/dist/endpoints/email-admin.js +3 -0
- package/dist/endpoints/email.d.ts +4 -4
- package/dist/endpoints/engagement-admin.d.ts +6 -6
- package/dist/endpoints/env-vars.d.ts +3 -3
- package/dist/endpoints/environments.d.ts +30 -27
- package/dist/endpoints/environments.d.ts.map +1 -1
- package/dist/endpoints/environments.js +3 -7
- package/dist/endpoints/experiments.d.ts +20 -18
- package/dist/endpoints/experiments.d.ts.map +1 -1
- package/dist/endpoints/experiments.js +1 -0
- package/dist/endpoints/flags-admin.d.ts +73 -9
- package/dist/endpoints/flags-admin.d.ts.map +1 -1
- package/dist/endpoints/flags-admin.js +1 -0
- package/dist/endpoints/flags.d.ts +1 -1
- package/dist/endpoints/github.d.ts +3 -3
- package/dist/endpoints/image-opt.d.ts +2 -2
- package/dist/endpoints/kv-admin.d.ts +7 -7
- package/dist/endpoints/kv-admin.js +1 -1
- package/dist/endpoints/kv.d.ts +27 -21
- package/dist/endpoints/kv.d.ts.map +1 -1
- package/dist/endpoints/kv.js +9 -9
- package/dist/endpoints/monitoring-admin.d.ts +10 -10
- package/dist/endpoints/monitoring.d.ts +2 -2
- package/dist/endpoints/newsletter.d.ts +30 -24
- package/dist/endpoints/newsletter.d.ts.map +1 -1
- package/dist/endpoints/newsletter.js +3 -0
- package/dist/endpoints/notifications-admin.d.ts +17 -17
- package/dist/endpoints/notifications.d.ts +23 -16
- package/dist/endpoints/notifications.d.ts.map +1 -1
- package/dist/endpoints/oidc.d.ts +6 -4
- package/dist/endpoints/oidc.d.ts.map +1 -1
- package/dist/endpoints/oidc.js +1 -0
- package/dist/endpoints/organizations.d.ts +56 -48
- package/dist/endpoints/organizations.d.ts.map +1 -1
- package/dist/endpoints/organizations.js +4 -0
- package/dist/endpoints/plans.d.ts +9 -7
- package/dist/endpoints/plans.d.ts.map +1 -1
- package/dist/endpoints/plans.js +1 -0
- package/dist/endpoints/privacy.d.ts +11 -9
- package/dist/endpoints/privacy.d.ts.map +1 -1
- package/dist/endpoints/privacy.js +1 -0
- package/dist/endpoints/project-manifest.d.ts +126 -44
- package/dist/endpoints/project-manifest.d.ts.map +1 -1
- package/dist/endpoints/projects.d.ts +7 -5
- package/dist/endpoints/projects.d.ts.map +1 -1
- package/dist/endpoints/projects.js +2 -1
- package/dist/endpoints/rate-limits.d.ts +4 -4
- package/dist/endpoints/realtime-admin.d.ts +6 -4
- package/dist/endpoints/realtime-admin.d.ts.map +1 -1
- package/dist/endpoints/realtime-admin.js +1 -0
- package/dist/endpoints/realtime.d.ts +3 -3
- package/dist/endpoints/referrals-admin.d.ts +7 -5
- package/dist/endpoints/referrals-admin.d.ts.map +1 -1
- package/dist/endpoints/referrals-admin.js +1 -0
- package/dist/endpoints/refresh.d.ts +1 -1
- package/dist/endpoints/regions.d.ts +5 -22
- package/dist/endpoints/regions.d.ts.map +1 -1
- package/dist/endpoints/regions.js +5 -27
- package/dist/endpoints/runners.d.ts +4 -4
- package/dist/endpoints/saml.d.ts +13 -11
- package/dist/endpoints/saml.d.ts.map +1 -1
- package/dist/endpoints/saml.js +1 -0
- package/dist/endpoints/search.d.ts +3 -3
- package/dist/endpoints/secrets.d.ts +9 -7
- package/dist/endpoints/secrets.d.ts.map +1 -1
- package/dist/endpoints/secrets.js +1 -0
- package/dist/endpoints/security.d.ts +28 -28
- package/dist/endpoints/service-tokens.d.ts +20 -12
- package/dist/endpoints/service-tokens.d.ts.map +1 -1
- package/dist/endpoints/service-tokens.js +4 -0
- package/dist/endpoints/session-replay.d.ts +4 -4
- package/dist/endpoints/storage-admin.d.ts +14 -10
- package/dist/endpoints/storage-admin.d.ts.map +1 -1
- package/dist/endpoints/storage-admin.js +3 -1
- package/dist/endpoints/storage.d.ts +30 -12
- package/dist/endpoints/storage.d.ts.map +1 -1
- package/dist/endpoints/storage.js +11 -1
- package/dist/endpoints/tasks.d.ts +13 -9
- package/dist/endpoints/tasks.d.ts.map +1 -1
- package/dist/endpoints/tasks.js +2 -0
- package/dist/endpoints/users.d.ts +12 -12
- package/dist/endpoints/webhooks.d.ts +10 -10
- package/dist/hono-app.d.ts +55 -26
- package/dist/hono-app.d.ts.map +1 -1
- package/dist/index.d.ts +1644 -1101
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/schemas/admin-audit.d.ts +50 -0
- package/dist/schemas/admin-audit.d.ts.map +1 -1
- package/dist/schemas/admin-audit.js +43 -0
- package/dist/schemas/admin-billing.d.ts +19 -5
- package/dist/schemas/admin-billing.d.ts.map +1 -1
- package/dist/schemas/admin-billing.js +16 -5
- package/dist/schemas/admin-branch-databases.d.ts +34 -0
- package/dist/schemas/admin-branch-databases.d.ts.map +1 -0
- package/dist/schemas/admin-branch-databases.js +33 -0
- package/dist/schemas/admin-broadcasts.d.ts +6 -6
- package/dist/schemas/admin-broadcasts.d.ts.map +1 -1
- package/dist/schemas/admin-broadcasts.js +1 -1
- package/dist/schemas/admin-consent.d.ts +90 -6
- package/dist/schemas/admin-consent.d.ts.map +1 -1
- package/dist/schemas/admin-consent.js +50 -3
- package/dist/schemas/analytics-admin.d.ts +99 -9
- package/dist/schemas/analytics-admin.d.ts.map +1 -1
- package/dist/schemas/analytics-admin.js +70 -0
- package/dist/schemas/auth.d.ts +1 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/auth.js +1 -0
- package/dist/schemas/database.d.ts +3 -2
- package/dist/schemas/database.d.ts.map +1 -1
- package/dist/schemas/database.js +3 -2
- package/dist/schemas/deployment.d.ts +53 -0
- package/dist/schemas/deployment.d.ts.map +1 -1
- package/dist/schemas/deployment.js +53 -1
- package/dist/schemas/experiments.d.ts +13 -33
- package/dist/schemas/experiments.d.ts.map +1 -1
- package/dist/schemas/experiments.js +5 -4
- package/dist/schemas/flags-admin.d.ts +115 -19
- package/dist/schemas/flags-admin.d.ts.map +1 -1
- package/dist/schemas/flags-admin.js +28 -8
- 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/kv-admin.d.ts +1 -1
- package/dist/schemas/kv-admin.js +1 -1
- package/dist/schemas/kv.d.ts +12 -4
- package/dist/schemas/kv.d.ts.map +1 -1
- package/dist/schemas/kv.js +17 -5
- package/dist/schemas/notifications.d.ts +11 -0
- package/dist/schemas/notifications.d.ts.map +1 -1
- package/dist/schemas/notifications.js +11 -0
- package/dist/schemas/project-manifest.d.ts +239 -76
- package/dist/schemas/project-manifest.d.ts.map +1 -1
- package/dist/schemas/project-manifest.js +74 -23
- package/dist/schemas/project.d.ts +3 -3
- package/dist/schemas/project.d.ts.map +1 -1
- package/dist/schemas/project.js +2 -2
- package/dist/schemas/region.d.ts +4 -52
- package/dist/schemas/region.d.ts.map +1 -1
- package/dist/schemas/region.js +4 -46
- package/dist/schemas/resources.d.ts +59 -8
- package/dist/schemas/resources.d.ts.map +1 -1
- package/dist/schemas/resources.js +54 -3
- package/dist/schemas/storage.d.ts +29 -0
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +19 -0
- package/package.json +1 -1
- package/dist/endpoints/edge-deployments.d.ts +0 -92
- package/dist/endpoints/edge-deployments.d.ts.map +0 -1
- package/dist/endpoints/edge-deployments.js +0 -58
- package/dist/schemas/edge-deployments.d.ts +0 -140
- package/dist/schemas/edge-deployments.d.ts.map +0 -1
- package/dist/schemas/edge-deployments.js +0 -87
|
@@ -2,14 +2,20 @@
|
|
|
2
2
|
* Admin Consent endpoints — Console operator dashboard consent type catalogue ops.
|
|
3
3
|
* Mirrors `apps/api/src/server/platform/routes/admin/consent/`.
|
|
4
4
|
*
|
|
5
|
-
* Production mount: `/
|
|
5
|
+
* Production mount: `/operator/consent/*`. Distinct from the `/consent/*`
|
|
6
6
|
* BaaS plane and the `consent-admin` (Wave 3D) project-scoped admin plane.
|
|
7
7
|
*/
|
|
8
8
|
export declare const adminConsentEndpoints: {
|
|
9
9
|
readonly listTypes: import("../endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/consent-types", import("effect/Schema").Struct<{
|
|
10
10
|
projectId: typeof import("effect/Schema").String;
|
|
11
|
-
}>, import("effect/Schema").
|
|
11
|
+
}>, import("effect/Schema").Struct<{
|
|
12
|
+
includeInactive: import("effect/Schema").optional<import("effect/Schema").Literal<["true", "false"]>>;
|
|
13
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
12
14
|
consentTypes: import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
15
|
+
totalConsents: typeof import("effect/Schema").Number;
|
|
16
|
+
grantedCount: typeof import("effect/Schema").Number;
|
|
17
|
+
deniedCount: typeof import("effect/Schema").Number;
|
|
18
|
+
grantRate: typeof import("effect/Schema").Number;
|
|
13
19
|
id: typeof import("effect/Schema").String;
|
|
14
20
|
slug: typeof import("effect/Schema").String;
|
|
15
21
|
category: import("effect/Schema").Literal<["necessary", "analytics", "marketing", "preferences", "functional"]>;
|
|
@@ -23,7 +29,7 @@ export declare const adminConsentEndpoints: {
|
|
|
23
29
|
updatedAt: typeof import("effect/Schema").String;
|
|
24
30
|
}>>;
|
|
25
31
|
total: typeof import("effect/Schema").Number;
|
|
26
|
-
}
|
|
32
|
+
}>, undefined>;
|
|
27
33
|
readonly createType: import("../endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types", import("effect/Schema").Struct<{
|
|
28
34
|
projectId: typeof import("effect/Schema").String;
|
|
29
35
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -35,20 +41,20 @@ export declare const adminConsentEndpoints: {
|
|
|
35
41
|
defaultEnabled: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
36
42
|
sortOrder: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
37
43
|
}>, import("effect/Schema").Struct<{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
44
|
+
id: typeof import("effect/Schema").String;
|
|
45
|
+
slug: typeof import("effect/Schema").String;
|
|
46
|
+
category: import("effect/Schema").Literal<["necessary", "analytics", "marketing", "preferences", "functional"]>;
|
|
47
|
+
name: typeof import("effect/Schema").String;
|
|
48
|
+
description: typeof import("effect/Schema").String;
|
|
49
|
+
required: typeof import("effect/Schema").Boolean;
|
|
50
|
+
defaultEnabled: typeof import("effect/Schema").Boolean;
|
|
51
|
+
sortOrder: typeof import("effect/Schema").Number;
|
|
52
|
+
isActive: typeof import("effect/Schema").Boolean;
|
|
53
|
+
createdAt: typeof import("effect/Schema").String;
|
|
54
|
+
updatedAt: typeof import("effect/Schema").String;
|
|
55
|
+
}>, {
|
|
56
|
+
status: 201;
|
|
57
|
+
}>;
|
|
52
58
|
readonly updateType: import("../endpoint.js").Endpoint<"PATCH", "/operator/consent/projects/:projectId/consent-types/:typeId", import("effect/Schema").Struct<{
|
|
53
59
|
projectId: typeof import("effect/Schema").String;
|
|
54
60
|
typeId: typeof import("effect/Schema").String;
|
|
@@ -62,56 +68,87 @@ export declare const adminConsentEndpoints: {
|
|
|
62
68
|
sortOrder: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
63
69
|
isActive: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
64
70
|
}>, import("effect/Schema").Struct<{
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}>;
|
|
78
|
-
}>>;
|
|
71
|
+
id: typeof import("effect/Schema").String;
|
|
72
|
+
slug: typeof import("effect/Schema").String;
|
|
73
|
+
category: import("effect/Schema").Literal<["necessary", "analytics", "marketing", "preferences", "functional"]>;
|
|
74
|
+
name: typeof import("effect/Schema").String;
|
|
75
|
+
description: typeof import("effect/Schema").String;
|
|
76
|
+
required: typeof import("effect/Schema").Boolean;
|
|
77
|
+
defaultEnabled: typeof import("effect/Schema").Boolean;
|
|
78
|
+
sortOrder: typeof import("effect/Schema").Number;
|
|
79
|
+
isActive: typeof import("effect/Schema").Boolean;
|
|
80
|
+
createdAt: typeof import("effect/Schema").String;
|
|
81
|
+
updatedAt: typeof import("effect/Schema").String;
|
|
82
|
+
}>, undefined>;
|
|
79
83
|
readonly deleteType: import("../endpoint.js").Endpoint<"DELETE", "/operator/consent/projects/:projectId/consent-types/:typeId", import("effect/Schema").Struct<{
|
|
80
84
|
projectId: typeof import("effect/Schema").String;
|
|
81
85
|
typeId: typeof import("effect/Schema").String;
|
|
82
86
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
83
87
|
success: typeof import("effect/Schema").Boolean;
|
|
84
|
-
}
|
|
88
|
+
}>, undefined>;
|
|
85
89
|
readonly reactivateType: import("../endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types/:typeId/reactivate", import("effect/Schema").Struct<{
|
|
86
90
|
projectId: typeof import("effect/Schema").String;
|
|
87
91
|
typeId: typeof import("effect/Schema").String;
|
|
88
92
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
89
93
|
success: typeof import("effect/Schema").Boolean;
|
|
90
|
-
}
|
|
94
|
+
}>, undefined>;
|
|
91
95
|
readonly reorderTypes: import("../endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types/reorder", import("effect/Schema").Struct<{
|
|
92
96
|
projectId: typeof import("effect/Schema").String;
|
|
93
97
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
94
98
|
consentTypeIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
95
99
|
}>, import("effect/Schema").Struct<{
|
|
96
100
|
success: typeof import("effect/Schema").Boolean;
|
|
97
|
-
}
|
|
101
|
+
}>, undefined>;
|
|
98
102
|
readonly bulkDeleteTypes: import("../endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/consent-types/bulk-delete", import("effect/Schema").Struct<{
|
|
99
103
|
projectId: typeof import("effect/Schema").String;
|
|
100
104
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
101
105
|
consentTypeIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
102
106
|
}>, import("effect/Schema").Struct<{
|
|
103
107
|
deleted: typeof import("effect/Schema").Number;
|
|
104
|
-
}
|
|
108
|
+
}>, undefined>;
|
|
105
109
|
readonly listUserConsents: import("../endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/user-consents", import("effect/Schema").Struct<{
|
|
106
110
|
projectId: typeof import("effect/Schema").String;
|
|
107
111
|
}>, import("effect/Schema").Struct<{
|
|
108
112
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
109
|
-
offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
110
113
|
userId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
111
|
-
|
|
114
|
+
consentTypeId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
115
|
+
granted: import("effect/Schema").optional<import("effect/Schema").Literal<["true", "false"]>>;
|
|
116
|
+
search: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
117
|
+
cursor: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
118
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
119
|
+
consents: import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
120
|
+
id: typeof import("effect/Schema").String;
|
|
121
|
+
userId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
122
|
+
anonymousId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
123
|
+
granted: typeof import("effect/Schema").Boolean;
|
|
124
|
+
grantedAt: typeof import("effect/Schema").String;
|
|
125
|
+
source: typeof import("effect/Schema").String;
|
|
126
|
+
version: typeof import("effect/Schema").Number;
|
|
127
|
+
createdAt: typeof import("effect/Schema").String;
|
|
128
|
+
consentType: import("effect/Schema").Struct<{
|
|
129
|
+
id: typeof import("effect/Schema").String;
|
|
130
|
+
name: typeof import("effect/Schema").String;
|
|
131
|
+
slug: typeof import("effect/Schema").String;
|
|
132
|
+
category: import("effect/Schema").Literal<["necessary", "analytics", "marketing", "preferences", "functional"]>;
|
|
133
|
+
}>;
|
|
134
|
+
user: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
135
|
+
email: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
136
|
+
name: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
137
|
+
}>>;
|
|
138
|
+
}>>;
|
|
139
|
+
nextCursor: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
140
|
+
hasMore: typeof import("effect/Schema").Boolean;
|
|
141
|
+
}>, undefined>;
|
|
112
142
|
readonly exportUserConsents: import("../endpoint.js").Endpoint<"POST", "/operator/consent/projects/:projectId/user-consents/export", import("effect/Schema").Struct<{
|
|
113
143
|
projectId: typeof import("effect/Schema").String;
|
|
114
|
-
}>, import("effect/Schema").
|
|
144
|
+
}>, import("effect/Schema").Struct<{
|
|
145
|
+
consentTypeId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
146
|
+
granted: import("effect/Schema").optional<import("effect/Schema").Literal<["true", "false"]>>;
|
|
147
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
148
|
+
csv: typeof import("effect/Schema").String;
|
|
149
|
+
filename: typeof import("effect/Schema").String;
|
|
150
|
+
count: typeof import("effect/Schema").Number;
|
|
151
|
+
}>, undefined>;
|
|
115
152
|
readonly stats: import("../endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/consent-stats", import("effect/Schema").Struct<{
|
|
116
153
|
projectId: typeof import("effect/Schema").String;
|
|
117
154
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -134,14 +171,14 @@ export declare const adminConsentEndpoints: {
|
|
|
134
171
|
deniedCount: typeof import("effect/Schema").Number;
|
|
135
172
|
overallGrantRate: typeof import("effect/Schema").Number;
|
|
136
173
|
}>;
|
|
137
|
-
}
|
|
174
|
+
}>, undefined>;
|
|
138
175
|
readonly projectOverview: import("../endpoint.js").Endpoint<"GET", "/operator/consent/projects/:projectId/consent-overview", import("effect/Schema").Struct<{
|
|
139
176
|
projectId: typeof import("effect/Schema").String;
|
|
140
177
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
141
178
|
totalVisitors: typeof import("effect/Schema").Number;
|
|
142
179
|
consentTypeCount: typeof import("effect/Schema").Number;
|
|
143
180
|
weeklyChanges: typeof import("effect/Schema").Number;
|
|
144
|
-
}
|
|
145
|
-
readonly platformOverview: import("../endpoint.js").Endpoint<"GET", "/operator/consent/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
181
|
+
}>, undefined>;
|
|
182
|
+
readonly platformOverview: import("../endpoint.js").Endpoint<"GET", "/operator/consent/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
146
183
|
};
|
|
147
184
|
//# sourceMappingURL=admin-consent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-consent.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-consent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"admin-consent.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-consent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHxB,CAAA"}
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* Admin Consent endpoints — Console operator dashboard consent type catalogue ops.
|
|
3
3
|
* Mirrors `apps/api/src/server/platform/routes/admin/consent/`.
|
|
4
4
|
*
|
|
5
|
-
* Production mount: `/
|
|
5
|
+
* Production mount: `/operator/consent/*`. Distinct from the `/consent/*`
|
|
6
6
|
* BaaS plane and the `consent-admin` (Wave 3D) project-scoped admin plane.
|
|
7
7
|
*/
|
|
8
8
|
import { defineEndpoint } from '../endpoint.js';
|
|
9
|
-
import { AdminBulkDeleteConsentTypesInput, AdminBulkDeleteConsentTypesResult, AdminConsentProjectOverviewResult, AdminConsentProjectParams, AdminConsentStatsResult, AdminConsentSuccessResult,
|
|
9
|
+
import { AdminBulkDeleteConsentTypesInput, AdminBulkDeleteConsentTypesResult, AdminConsentProjectOverviewResult, AdminConsentProjectParams, AdminConsentStatsResult, AdminConsentSuccessResult, AdminConsentType, AdminConsentTypeParams, AdminConsentUnknownResult, AdminCreateConsentTypeInput, AdminExportUserConsentsQuery, AdminExportUserConsentsResult, AdminListConsentTypesQuery, AdminListConsentTypesResult, AdminListUserConsentsQuery, AdminListUserConsentsResult, AdminReorderConsentTypesInput, AdminUpdateConsentTypeInput, } from '../schemas/admin-consent.js';
|
|
10
10
|
export const adminConsentEndpoints = {
|
|
11
11
|
// ── Consent types ──────────────────────────────────────────────────────
|
|
12
12
|
listTypes: defineEndpoint({
|
|
13
13
|
method: 'GET',
|
|
14
14
|
path: '/operator/consent/projects/:projectId/consent-types',
|
|
15
15
|
params: AdminConsentProjectParams,
|
|
16
|
+
query: AdminListConsentTypesQuery,
|
|
16
17
|
response: AdminListConsentTypesResult,
|
|
17
18
|
plane: 'management',
|
|
18
19
|
summary: 'List consent types for a project',
|
|
@@ -21,9 +22,10 @@ export const adminConsentEndpoints = {
|
|
|
21
22
|
createType: defineEndpoint({
|
|
22
23
|
method: 'POST',
|
|
23
24
|
path: '/operator/consent/projects/:projectId/consent-types',
|
|
25
|
+
success: { status: 201 },
|
|
24
26
|
params: AdminConsentProjectParams,
|
|
25
27
|
body: AdminCreateConsentTypeInput,
|
|
26
|
-
response:
|
|
28
|
+
response: AdminConsentType,
|
|
27
29
|
plane: 'management',
|
|
28
30
|
summary: 'Create a consent type',
|
|
29
31
|
tags: ['admin-consent'],
|
|
@@ -33,7 +35,7 @@ export const adminConsentEndpoints = {
|
|
|
33
35
|
path: '/operator/consent/projects/:projectId/consent-types/:typeId',
|
|
34
36
|
params: AdminConsentTypeParams,
|
|
35
37
|
body: AdminUpdateConsentTypeInput,
|
|
36
|
-
response:
|
|
38
|
+
response: AdminConsentType,
|
|
37
39
|
plane: 'management',
|
|
38
40
|
summary: 'Update a consent type',
|
|
39
41
|
tags: ['admin-consent'],
|
|
@@ -82,7 +84,7 @@ export const adminConsentEndpoints = {
|
|
|
82
84
|
path: '/operator/consent/projects/:projectId/user-consents',
|
|
83
85
|
params: AdminConsentProjectParams,
|
|
84
86
|
query: AdminListUserConsentsQuery,
|
|
85
|
-
response:
|
|
87
|
+
response: AdminListUserConsentsResult,
|
|
86
88
|
plane: 'management',
|
|
87
89
|
summary: 'List user consent records for a project',
|
|
88
90
|
tags: ['admin-consent'],
|
|
@@ -91,7 +93,8 @@ export const adminConsentEndpoints = {
|
|
|
91
93
|
method: 'POST',
|
|
92
94
|
path: '/operator/consent/projects/:projectId/user-consents/export',
|
|
93
95
|
params: AdminConsentProjectParams,
|
|
94
|
-
|
|
96
|
+
query: AdminExportUserConsentsQuery,
|
|
97
|
+
response: AdminExportUserConsentsResult,
|
|
95
98
|
plane: 'management',
|
|
96
99
|
summary: 'Export user consent records as CSV (GDPR compliance)',
|
|
97
100
|
tags: ['admin-consent'],
|
|
@@ -23,6 +23,6 @@ export declare const adminEnvServicesEndpoints: {
|
|
|
23
23
|
newDigest: typeof import("effect/Schema").String;
|
|
24
24
|
deploymentId: typeof import("effect/Schema").String;
|
|
25
25
|
reused: typeof import("effect/Schema").Boolean;
|
|
26
|
-
}
|
|
26
|
+
}>, undefined>;
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=admin-env-services.d.ts.map
|
|
@@ -12,20 +12,20 @@ export declare const adminImpersonationEndpoints: {
|
|
|
12
12
|
token: typeof import("effect/Schema").String;
|
|
13
13
|
sessionId: typeof import("effect/Schema").String;
|
|
14
14
|
expiresAt: typeof import("effect/Schema").String;
|
|
15
|
-
}
|
|
15
|
+
}>, undefined>;
|
|
16
16
|
readonly end: import("../endpoint.js").Endpoint<"POST", "/operator/impersonation/end", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
17
17
|
sessionId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
18
18
|
}>, import("effect/Schema").Struct<{
|
|
19
19
|
success: typeof import("effect/Schema").Boolean;
|
|
20
20
|
sessionsEnded: typeof import("effect/Schema").Number;
|
|
21
|
-
}
|
|
21
|
+
}>, undefined>;
|
|
22
22
|
readonly info: import("../endpoint.js").Endpoint<"GET", "/operator/impersonation/info", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
23
23
|
isImpersonation: typeof import("effect/Schema").Boolean;
|
|
24
24
|
adminUserId: typeof import("effect/Schema").String;
|
|
25
25
|
adminEmail: typeof import("effect/Schema").String;
|
|
26
26
|
adminName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
27
27
|
impersonatedAt: typeof import("effect/Schema").String;
|
|
28
|
-
}
|
|
28
|
+
}>>, undefined>;
|
|
29
29
|
readonly active: import("../endpoint.js").Endpoint<"GET", "/operator/impersonation/active", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
30
30
|
sessionId: typeof import("effect/Schema").String;
|
|
31
31
|
adminUserId: typeof import("effect/Schema").String;
|
|
@@ -36,7 +36,7 @@ export declare const adminImpersonationEndpoints: {
|
|
|
36
36
|
targetName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
37
37
|
impersonatedAt: typeof import("effect/Schema").String;
|
|
38
38
|
lastActiveAt: typeof import("effect/Schema").String;
|
|
39
|
-
}
|
|
39
|
+
}>>, undefined>;
|
|
40
40
|
readonly startChallenge: import("../endpoint.js").Endpoint<"POST", "/operator/impersonation/start-challenge", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
41
41
|
targetUserId: typeof import("effect/Schema").String;
|
|
42
42
|
reason: typeof import("effect/Schema").String;
|
|
@@ -54,7 +54,7 @@ export declare const adminImpersonationEndpoints: {
|
|
|
54
54
|
userVerification: import("effect/Schema").Literal<["required"]>;
|
|
55
55
|
timeout: typeof import("effect/Schema").Number;
|
|
56
56
|
}>;
|
|
57
|
-
}
|
|
57
|
+
}>, undefined>;
|
|
58
58
|
readonly startStepup: import("../endpoint.js").Endpoint<"POST", "/operator/impersonation/start-stepup", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
59
59
|
requestId: typeof import("effect/Schema").String;
|
|
60
60
|
challengeKey: typeof import("effect/Schema").String;
|
|
@@ -70,7 +70,7 @@ export declare const adminImpersonationEndpoints: {
|
|
|
70
70
|
branch: import("effect/Schema").Literal<["awaiting-consent"]>;
|
|
71
71
|
requestId: typeof import("effect/Schema").String;
|
|
72
72
|
consentDeadline: typeof import("effect/Schema").String;
|
|
73
|
-
}>]
|
|
73
|
+
}>]>, undefined>;
|
|
74
74
|
readonly respondConsent: import("../endpoint.js").Endpoint<"POST", "/operator/impersonation/consent/:id", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
75
75
|
decision: import("effect/Schema").Literal<["approve", "deny"]>;
|
|
76
76
|
}>, import("effect/Schema").Union<[import("effect/Schema").Struct<{
|
|
@@ -82,7 +82,7 @@ export declare const adminImpersonationEndpoints: {
|
|
|
82
82
|
}>, import("effect/Schema").Struct<{
|
|
83
83
|
branch: import("effect/Schema").Literal<["denied"]>;
|
|
84
84
|
requestId: typeof import("effect/Schema").String;
|
|
85
|
-
}>]
|
|
85
|
+
}>]>, undefined>;
|
|
86
86
|
readonly listRequests: import("../endpoint.js").Endpoint<"GET", "/operator/impersonation/requests", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
87
87
|
id: typeof import("effect/Schema").String;
|
|
88
88
|
operatorId: typeof import("effect/Schema").String;
|
|
@@ -95,11 +95,11 @@ export declare const adminImpersonationEndpoints: {
|
|
|
95
95
|
startedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
96
96
|
endedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
97
97
|
createdAt: typeof import("effect/Schema").String;
|
|
98
|
-
}
|
|
98
|
+
}>>, undefined>;
|
|
99
99
|
readonly endSession: import("../endpoint.js").Endpoint<"POST", "/operator/impersonation/end/:id", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
100
100
|
success: typeof import("effect/Schema").Boolean;
|
|
101
101
|
requestId: typeof import("effect/Schema").String;
|
|
102
102
|
sessionId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
103
|
-
}
|
|
103
|
+
}>, undefined>;
|
|
104
104
|
};
|
|
105
105
|
//# sourceMappingURL=admin-impersonation.d.ts.map
|
|
@@ -15,7 +15,9 @@ export declare const adminInvitationsEndpoints: {
|
|
|
15
15
|
role: import("effect/Schema").Literal<["user", "admin", "super_admin"]>;
|
|
16
16
|
inviteUrl: typeof import("effect/Schema").String;
|
|
17
17
|
expiresAt: typeof import("effect/Schema").String;
|
|
18
|
-
}
|
|
18
|
+
}>, {
|
|
19
|
+
status: 201;
|
|
20
|
+
}>;
|
|
19
21
|
readonly list: import("../endpoint.js").Endpoint<"GET", "/operator/invitations/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
20
22
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
21
23
|
offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -42,19 +44,19 @@ export declare const adminInvitationsEndpoints: {
|
|
|
42
44
|
totalMembers: typeof import("effect/Schema").Number;
|
|
43
45
|
pendingInvites: typeof import("effect/Schema").Number;
|
|
44
46
|
acceptedInvites: typeof import("effect/Schema").Number;
|
|
45
|
-
}>]
|
|
47
|
+
}>]>, undefined>;
|
|
46
48
|
readonly revoke: import("../endpoint.js").Endpoint<"DELETE", "/operator/invitations/:id", import("effect/Schema").Struct<{
|
|
47
49
|
id: typeof import("effect/Schema").String;
|
|
48
50
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
49
51
|
success: typeof import("effect/Schema").Boolean;
|
|
50
|
-
}
|
|
52
|
+
}>, undefined>;
|
|
51
53
|
readonly resend: import("../endpoint.js").Endpoint<"POST", "/operator/invitations/:id/resend", import("effect/Schema").Struct<{
|
|
52
54
|
id: typeof import("effect/Schema").String;
|
|
53
55
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
54
56
|
success: typeof import("effect/Schema").Boolean;
|
|
55
57
|
inviteUrl: typeof import("effect/Schema").String;
|
|
56
58
|
expiresAt: typeof import("effect/Schema").String;
|
|
57
|
-
}
|
|
59
|
+
}>, undefined>;
|
|
58
60
|
readonly accept: import("../endpoint.js").Endpoint<"POST", "/operator/invitations/accept", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
59
61
|
code: typeof import("effect/Schema").String;
|
|
60
62
|
name: typeof import("effect/Schema").String;
|
|
@@ -68,6 +70,8 @@ export declare const adminInvitationsEndpoints: {
|
|
|
68
70
|
name: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
69
71
|
role: import("effect/Schema").Literal<["user", "admin", "super_admin"]>;
|
|
70
72
|
}>;
|
|
71
|
-
}
|
|
73
|
+
}>, {
|
|
74
|
+
status: 201;
|
|
75
|
+
}>;
|
|
72
76
|
};
|
|
73
77
|
//# sourceMappingURL=admin-invitations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-invitations.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-invitations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAeH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"admin-invitations.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-invitations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAeH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD5B,CAAA"}
|
|
@@ -10,6 +10,7 @@ export const adminInvitationsEndpoints = {
|
|
|
10
10
|
create: defineEndpoint({
|
|
11
11
|
method: 'POST',
|
|
12
12
|
path: '/operator/invitations/',
|
|
13
|
+
success: { status: 201 },
|
|
13
14
|
body: AdminCreateInvitationInput,
|
|
14
15
|
response: AdminCreateInvitationResult,
|
|
15
16
|
plane: 'management',
|
|
@@ -46,6 +47,7 @@ export const adminInvitationsEndpoints = {
|
|
|
46
47
|
accept: defineEndpoint({
|
|
47
48
|
method: 'POST',
|
|
48
49
|
path: '/operator/invitations/accept',
|
|
50
|
+
success: { status: 201 },
|
|
49
51
|
body: AdminAcceptInvitationInput,
|
|
50
52
|
response: AdminAcceptInvitationResult,
|
|
51
53
|
plane: 'management',
|
|
@@ -17,7 +17,7 @@ export declare const adminJwtKeysEndpoints: {
|
|
|
17
17
|
gracedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
18
18
|
retiredAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
19
19
|
}>>;
|
|
20
|
-
}
|
|
20
|
+
}>, undefined>;
|
|
21
21
|
readonly get: import("../endpoint.js").Endpoint<"GET", "/operator/jwt-keys/keys/:keyId", import("effect/Schema").Struct<{
|
|
22
22
|
keyId: typeof import("effect/Schema").String;
|
|
23
23
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -36,14 +36,14 @@ export declare const adminJwtKeysEndpoints: {
|
|
|
36
36
|
email: typeof import("effect/Schema").String;
|
|
37
37
|
name: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
38
38
|
}>>;
|
|
39
|
-
}
|
|
39
|
+
}>, undefined>;
|
|
40
40
|
readonly rotate: import("../endpoint.js").Endpoint<"POST", "/operator/jwt-keys/rotate", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
41
41
|
reason: import("effect/Schema").Literal<["scheduled", "manual", "compromise"]>;
|
|
42
42
|
notes: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
43
43
|
}>, import("effect/Schema").Struct<{
|
|
44
44
|
success: typeof import("effect/Schema").Boolean;
|
|
45
45
|
newKeyId: typeof import("effect/Schema").String;
|
|
46
|
-
}
|
|
46
|
+
}>, undefined>;
|
|
47
47
|
readonly forceRetire: import("../endpoint.js").Endpoint<"POST", "/operator/jwt-keys/keys/:keyId/retire", import("effect/Schema").Struct<{
|
|
48
48
|
keyId: typeof import("effect/Schema").String;
|
|
49
49
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -52,7 +52,7 @@ export declare const adminJwtKeysEndpoints: {
|
|
|
52
52
|
success: typeof import("effect/Schema").Boolean;
|
|
53
53
|
keyId: typeof import("effect/Schema").String;
|
|
54
54
|
wasActive: typeof import("effect/Schema").Boolean;
|
|
55
|
-
}
|
|
55
|
+
}>, undefined>;
|
|
56
56
|
readonly rotations: import("../endpoint.js").Endpoint<"GET", "/operator/jwt-keys/rotations", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
57
57
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
58
58
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -64,12 +64,12 @@ export declare const adminJwtKeysEndpoints: {
|
|
|
64
64
|
notes: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
65
65
|
createdAt: typeof import("effect/Schema").String;
|
|
66
66
|
}>>;
|
|
67
|
-
}
|
|
67
|
+
}>, undefined>;
|
|
68
68
|
readonly status: import("../endpoint.js").Endpoint<"GET", "/operator/jwt-keys/status", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
69
69
|
rotationNeeded: typeof import("effect/Schema").Boolean;
|
|
70
70
|
activeKeyId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
71
71
|
activeKeySince: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
72
72
|
rotationIntervalDays: typeof import("effect/Schema").Number;
|
|
73
|
-
}
|
|
73
|
+
}>, undefined>;
|
|
74
74
|
};
|
|
75
75
|
//# sourceMappingURL=admin-jwt-keys.d.ts.map
|
|
@@ -21,7 +21,7 @@ export declare const adminLogsEndpoints: {
|
|
|
21
21
|
start: typeof import("effect/Schema").String;
|
|
22
22
|
end: typeof import("effect/Schema").String;
|
|
23
23
|
}>;
|
|
24
|
-
}
|
|
24
|
+
}>, undefined>;
|
|
25
25
|
readonly list: import("../endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/logs", import("effect/Schema").Struct<{
|
|
26
26
|
projectId: typeof import("effect/Schema").String;
|
|
27
27
|
}>, import("effect/Schema").Struct<{
|
|
@@ -47,7 +47,7 @@ export declare const adminLogsEndpoints: {
|
|
|
47
47
|
}>>;
|
|
48
48
|
total: typeof import("effect/Schema").Number;
|
|
49
49
|
hasMore: typeof import("effect/Schema").Boolean;
|
|
50
|
-
}
|
|
50
|
+
}>, undefined>;
|
|
51
51
|
readonly get: import("../endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/logs/:logId", import("effect/Schema").Struct<{
|
|
52
52
|
projectId: typeof import("effect/Schema").String;
|
|
53
53
|
logId: typeof import("effect/Schema").String;
|
|
@@ -61,7 +61,7 @@ export declare const adminLogsEndpoints: {
|
|
|
61
61
|
userId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
62
62
|
context: import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
|
|
63
63
|
createdAt: typeof import("effect/Schema").String;
|
|
64
|
-
}
|
|
64
|
+
}>, undefined>;
|
|
65
65
|
readonly forTrace: import("../endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/traces/:traceId/logs", import("effect/Schema").Struct<{
|
|
66
66
|
projectId: typeof import("effect/Schema").String;
|
|
67
67
|
traceId: typeof import("effect/Schema").String;
|
|
@@ -72,7 +72,7 @@ export declare const adminLogsEndpoints: {
|
|
|
72
72
|
source: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
73
73
|
context: import("effect/Schema").NullOr<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
|
|
74
74
|
createdAt: typeof import("effect/Schema").String;
|
|
75
|
-
}
|
|
75
|
+
}>>, undefined>;
|
|
76
76
|
readonly volume: import("../endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/volume", import("effect/Schema").Struct<{
|
|
77
77
|
projectId: typeof import("effect/Schema").String;
|
|
78
78
|
}>, import("effect/Schema").Struct<{
|
|
@@ -82,7 +82,7 @@ export declare const adminLogsEndpoints: {
|
|
|
82
82
|
hour: typeof import("effect/Schema").String;
|
|
83
83
|
count: typeof import("effect/Schema").Number;
|
|
84
84
|
errors: typeof import("effect/Schema").Number;
|
|
85
|
-
}
|
|
85
|
+
}>>, undefined>;
|
|
86
86
|
readonly topErrors: import("../endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/top-errors", import("effect/Schema").Struct<{
|
|
87
87
|
projectId: typeof import("effect/Schema").String;
|
|
88
88
|
}>, import("effect/Schema").Struct<{
|
|
@@ -93,7 +93,7 @@ export declare const adminLogsEndpoints: {
|
|
|
93
93
|
message: typeof import("effect/Schema").String;
|
|
94
94
|
count: typeof import("effect/Schema").Number;
|
|
95
95
|
lastSeen: typeof import("effect/Schema").String;
|
|
96
|
-
}
|
|
96
|
+
}>>, undefined>;
|
|
97
97
|
readonly topSources: import("../endpoint.js").Endpoint<"GET", "/operator/logs/projects/:projectId/top-sources", import("effect/Schema").Struct<{
|
|
98
98
|
projectId: typeof import("effect/Schema").String;
|
|
99
99
|
}>, import("effect/Schema").Struct<{
|
|
@@ -104,6 +104,6 @@ export declare const adminLogsEndpoints: {
|
|
|
104
104
|
source: typeof import("effect/Schema").String;
|
|
105
105
|
count: typeof import("effect/Schema").Number;
|
|
106
106
|
errors: typeof import("effect/Schema").Number;
|
|
107
|
-
}
|
|
107
|
+
}>>, undefined>;
|
|
108
108
|
};
|
|
109
109
|
//# sourceMappingURL=admin-logs.d.ts.map
|
|
@@ -21,7 +21,7 @@ export declare const adminPlansEndpoints: {
|
|
|
21
21
|
sortOrder: typeof import("effect/Schema").Number;
|
|
22
22
|
}>>;
|
|
23
23
|
total: typeof import("effect/Schema").Number;
|
|
24
|
-
}
|
|
24
|
+
}>, undefined>;
|
|
25
25
|
readonly create: import("../endpoint.js").Endpoint<"POST", "/operator/plans/", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
26
26
|
projectId: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
27
27
|
name: typeof import("effect/Schema").String;
|
|
@@ -36,7 +36,9 @@ export declare const adminPlansEndpoints: {
|
|
|
36
36
|
id: typeof import("effect/Schema").String;
|
|
37
37
|
slug: typeof import("effect/Schema").String;
|
|
38
38
|
name: typeof import("effect/Schema").String;
|
|
39
|
-
}
|
|
39
|
+
}>, {
|
|
40
|
+
status: 201;
|
|
41
|
+
}>;
|
|
40
42
|
readonly update: import("../endpoint.js").Endpoint<"PATCH", "/operator/plans/:planId", import("effect/Schema").Struct<{
|
|
41
43
|
planId: typeof import("effect/Schema").String;
|
|
42
44
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -52,12 +54,12 @@ export declare const adminPlansEndpoints: {
|
|
|
52
54
|
id: typeof import("effect/Schema").String;
|
|
53
55
|
slug: typeof import("effect/Schema").String;
|
|
54
56
|
name: typeof import("effect/Schema").String;
|
|
55
|
-
}
|
|
57
|
+
}>, undefined>;
|
|
56
58
|
readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/operator/plans/:planId", import("effect/Schema").Struct<{
|
|
57
59
|
planId: typeof import("effect/Schema").String;
|
|
58
60
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
59
61
|
id: typeof import("effect/Schema").String;
|
|
60
62
|
name: typeof import("effect/Schema").String;
|
|
61
|
-
}
|
|
63
|
+
}>, undefined>;
|
|
62
64
|
};
|
|
63
65
|
//# sourceMappingURL=admin-plans.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-plans.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-plans.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAcH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"admin-plans.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-plans.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAcH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCtB,CAAA"}
|