@sylphx/contract 0.3.0 → 0.5.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 +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 +65 -21
- package/dist/endpoints/auth.d.ts.map +1 -1
- package/dist/endpoints/auth.js +9 -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 +187 -321
- 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 +6 -6
- package/dist/endpoints/kv.d.ts +8 -8
- 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 +16 -16
- 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 +18 -42
- 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 +189 -131
- package/dist/endpoints/storage.d.ts.map +1 -1
- package/dist/endpoints/storage.js +96 -59
- 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 +1720 -1209
- 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 +54 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/auth.js +22 -0
- package/dist/schemas/database.d.ts +1 -0
- package/dist/schemas/database.d.ts.map +1 -1
- package/dist/schemas/database.js +1 -0
- 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/project-manifest.d.ts +16 -70
- package/dist/schemas/project-manifest.d.ts.map +1 -1
- package/dist/schemas/project-manifest.js +0 -21
- 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 +55 -4
- package/dist/schemas/resources.d.ts.map +1 -1
- package/dist/schemas/resources.js +52 -1
- package/dist/schemas/storage.d.ts +259 -198
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +159 -140
- 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
|
@@ -5,78 +5,89 @@
|
|
|
5
5
|
* Production mount: `/admin/billing/*`.
|
|
6
6
|
*/
|
|
7
7
|
export declare const adminBillingEndpoints: {
|
|
8
|
-
readonly overview: import("../endpoint.js").Endpoint<"GET", "/operator/billing/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
9
|
-
readonly stats: import("../endpoint.js").Endpoint<"GET", "/operator/billing/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
8
|
+
readonly overview: import("../endpoint.js").Endpoint<"GET", "/operator/billing/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
9
|
+
readonly stats: import("../endpoint.js").Endpoint<"GET", "/operator/billing/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
10
10
|
readonly platformUsage: import("../endpoint.js").Endpoint<"GET", "/operator/billing/usage/platform", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
11
|
+
month: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
11
12
|
startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
12
13
|
endDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
13
14
|
period: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
14
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
15
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
15
16
|
readonly orgUsage: import("../endpoint.js").Endpoint<"GET", "/operator/billing/usage/orgs/:orgId", import("effect/Schema").Struct<{
|
|
16
17
|
orgId: typeof import("effect/Schema").String;
|
|
17
18
|
}>, import("effect/Schema").Struct<{
|
|
19
|
+
month: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
18
20
|
startDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
19
21
|
endDate: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
20
22
|
period: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
21
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
23
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
22
24
|
readonly orgMonthlySummary: import("../endpoint.js").Endpoint<"GET", "/operator/billing/usage/orgs/:orgId/monthly", import("effect/Schema").Struct<{
|
|
23
25
|
orgId: typeof import("effect/Schema").String;
|
|
24
26
|
}>, import("effect/Schema").Struct<{
|
|
25
27
|
month: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
26
28
|
year: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
27
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
29
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
28
30
|
readonly listBalances: import("../endpoint.js").Endpoint<"GET", "/operator/billing/balances", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
29
31
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
30
32
|
offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
31
33
|
status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
32
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
34
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
33
35
|
readonly getBalance: import("../endpoint.js").Endpoint<"GET", "/operator/billing/balances/:orgId", import("effect/Schema").Struct<{
|
|
34
36
|
orgId: typeof import("effect/Schema").String;
|
|
35
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
37
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
36
38
|
readonly getTransactions: import("../endpoint.js").Endpoint<"GET", "/operator/billing/balances/:orgId/transactions", import("effect/Schema").Struct<{
|
|
37
39
|
orgId: typeof import("effect/Schema").String;
|
|
38
40
|
}>, import("effect/Schema").Struct<{
|
|
39
41
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
40
42
|
offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
41
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
43
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
42
44
|
readonly addCredits: import("../endpoint.js").Endpoint<"POST", "/operator/billing/balances/:orgId/credits", import("effect/Schema").Struct<{
|
|
43
45
|
orgId: typeof import("effect/Schema").String;
|
|
44
46
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
45
|
-
|
|
47
|
+
amountDollars: typeof import("effect/Schema").Number;
|
|
46
48
|
description: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
47
|
-
|
|
49
|
+
type: import("effect/Schema").Literal<["purchase", "bonus", "refund", "adjustment"]>;
|
|
50
|
+
}>, typeof import("effect/Schema").Unknown, undefined>;
|
|
48
51
|
readonly updateBalanceSettings: import("../endpoint.js").Endpoint<"PATCH", "/operator/billing/balances/:orgId/settings", import("effect/Schema").Struct<{
|
|
49
52
|
orgId: typeof import("effect/Schema").String;
|
|
50
53
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
autoTopupThresholdCents: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
55
|
-
}>, typeof import("effect/Schema").Unknown>;
|
|
54
|
+
creditLimitDollars: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
55
|
+
alertThresholdDollars: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
56
|
+
}>, typeof import("effect/Schema").Unknown, undefined>;
|
|
56
57
|
readonly listInvoices: import("../endpoint.js").Endpoint<"GET", "/operator/billing/invoices", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
57
58
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
58
59
|
offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
59
60
|
status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
60
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
61
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
61
62
|
readonly getInvoice: import("../endpoint.js").Endpoint<"GET", "/operator/billing/invoices/:invoiceId", import("effect/Schema").Struct<{
|
|
62
63
|
invoiceId: typeof import("effect/Schema").String;
|
|
63
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
64
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
64
65
|
readonly getOrgInvoices: import("../endpoint.js").Endpoint<"GET", "/operator/billing/orgs/:orgId/invoices", import("effect/Schema").Struct<{
|
|
65
66
|
orgId: typeof import("effect/Schema").String;
|
|
66
67
|
}>, import("effect/Schema").Struct<{
|
|
67
68
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
68
69
|
offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
69
70
|
status: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
70
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
71
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
71
72
|
readonly generateInvoice: import("../endpoint.js").Endpoint<"POST", "/operator/billing/orgs/:orgId/invoices", import("effect/Schema").Struct<{
|
|
72
73
|
orgId: typeof import("effect/Schema").String;
|
|
73
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").
|
|
74
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
75
|
+
month: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
76
|
+
}>, typeof import("effect/Schema").Unknown, {
|
|
77
|
+
status: 201;
|
|
78
|
+
}>;
|
|
74
79
|
readonly finalizeInvoice: import("../endpoint.js").Endpoint<"POST", "/operator/billing/invoices/:invoiceId/finalize", import("effect/Schema").Struct<{
|
|
75
80
|
invoiceId: typeof import("effect/Schema").String;
|
|
76
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
77
|
-
readonly getPricing: import("../endpoint.js").Endpoint<"GET", "/operator/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
78
|
-
readonly updatePricing: import("../endpoint.js").Endpoint<"PATCH", "/operator/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
82
|
+
readonly getPricing: import("../endpoint.js").Endpoint<"GET", "/operator/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
83
|
+
readonly updatePricing: import("../endpoint.js").Endpoint<"PATCH", "/operator/billing/pricing", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
84
|
+
service: typeof import("effect/Schema").String;
|
|
85
|
+
metric: typeof import("effect/Schema").String;
|
|
86
|
+
priceMicrodollars: typeof import("effect/Schema").Number;
|
|
87
|
+
freeTierAmount: typeof import("effect/Schema").Number;
|
|
88
|
+
unit: typeof import("effect/Schema").String;
|
|
89
|
+
}>, typeof import("effect/Schema").Unknown, undefined>;
|
|
90
|
+
readonly costAnalysis: import("../endpoint.js").Endpoint<"GET", "/operator/billing/analysis/costs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
91
|
+
readonly topConsumers: import("../endpoint.js").Endpoint<"GET", "/operator/billing/analysis/top-consumers", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
81
92
|
};
|
|
82
93
|
//# sourceMappingURL=admin-billing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-billing.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-billing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"admin-billing.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-billing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsLxB,CAAA"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Production mount: `/admin/billing/*`.
|
|
6
6
|
*/
|
|
7
7
|
import { defineEndpoint } from '../endpoint.js';
|
|
8
|
-
import { AdminBillingAddCreditsInput, AdminBillingInvoiceParams, AdminBillingListQuery, AdminBillingMonthlyQuery, AdminBillingOrgParams, AdminBillingTransactionsQuery,
|
|
8
|
+
import { AdminBillingAddCreditsInput, AdminBillingGenerateInvoiceInput, AdminBillingInvoiceParams, AdminBillingListQuery, AdminBillingMonthlyQuery, AdminBillingOrgParams, AdminBillingTransactionsQuery, AdminBillingUnknownResult, AdminBillingUpdatePricingInput, AdminBillingUpdateSettingsInput, AdminBillingUsageQuery, } from '../schemas/admin-billing.js';
|
|
9
9
|
export const adminBillingEndpoints = {
|
|
10
10
|
// ── Overview ───────────────────────────────────────────────────────────
|
|
11
11
|
overview: defineEndpoint({
|
|
@@ -136,8 +136,9 @@ export const adminBillingEndpoints = {
|
|
|
136
136
|
generateInvoice: defineEndpoint({
|
|
137
137
|
method: 'POST',
|
|
138
138
|
path: '/operator/billing/orgs/:orgId/invoices',
|
|
139
|
+
success: { status: 201 },
|
|
139
140
|
params: AdminBillingOrgParams,
|
|
140
|
-
body:
|
|
141
|
+
body: AdminBillingGenerateInvoiceInput,
|
|
141
142
|
response: AdminBillingUnknownResult,
|
|
142
143
|
plane: 'management',
|
|
143
144
|
summary: 'Generate a manual invoice for an org',
|
|
@@ -164,7 +165,7 @@ export const adminBillingEndpoints = {
|
|
|
164
165
|
updatePricing: defineEndpoint({
|
|
165
166
|
method: 'PATCH',
|
|
166
167
|
path: '/operator/billing/pricing',
|
|
167
|
-
body:
|
|
168
|
+
body: AdminBillingUpdatePricingInput,
|
|
168
169
|
response: AdminBillingUnknownResult,
|
|
169
170
|
plane: 'management',
|
|
170
171
|
summary: 'Update pricing configuration',
|
|
@@ -11,6 +11,6 @@ export declare const adminBootstrapEndpoints: {
|
|
|
11
11
|
opened: typeof import("effect/Schema").Boolean;
|
|
12
12
|
ttlSeconds: typeof import("effect/Schema").Number;
|
|
13
13
|
message: typeof import("effect/Schema").String;
|
|
14
|
-
}
|
|
14
|
+
}>, undefined>;
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=admin-bootstrap.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin Branch Databases endpoints — operator recovery surface.
|
|
3
|
+
*
|
|
4
|
+
* Replaces raw production `branch_databases` UPDATE/INSERT repair steps with
|
|
5
|
+
* scoped service-token endpoints. The controller still owns all CNPG/Rook
|
|
6
|
+
* side effects; these endpoints only mutate the branch DB desired-state row.
|
|
7
|
+
*/
|
|
8
|
+
export declare const adminBranchDatabasesEndpoints: {
|
|
9
|
+
readonly create: import("../endpoint.js").Endpoint<"POST", "/operator/branch-databases/create", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
10
|
+
projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
|
|
11
|
+
envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
|
|
12
|
+
withData: import("effect/Schema").optional<import("effect/Schema").Literal<["none", "last-1d", "last-7d", "all"]>>;
|
|
13
|
+
reason: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
|
|
14
|
+
}>, import("effect/Schema").Struct<{
|
|
15
|
+
operation: import("effect/Schema").Literal<["create", "destroy"]>;
|
|
16
|
+
branchId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
|
|
17
|
+
projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
|
|
18
|
+
envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
|
|
19
|
+
sourceDbId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">>;
|
|
20
|
+
previousStatus: import("effect/Schema").NullOr<import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>>;
|
|
21
|
+
newStatus: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
|
|
22
|
+
idempotent: typeof import("effect/Schema").Boolean;
|
|
23
|
+
}>, {
|
|
24
|
+
status: 202;
|
|
25
|
+
}>;
|
|
26
|
+
readonly destroy: import("../endpoint.js").Endpoint<"POST", "/operator/branch-databases/destroy", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
27
|
+
projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
|
|
28
|
+
envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
|
|
29
|
+
reason: import("effect/Schema").filter<import("effect/Schema").filter<typeof import("effect/Schema").String>>;
|
|
30
|
+
}>, import("effect/Schema").Struct<{
|
|
31
|
+
operation: import("effect/Schema").Literal<["create", "destroy"]>;
|
|
32
|
+
branchId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "BranchDatabaseId">;
|
|
33
|
+
projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
|
|
34
|
+
envId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "EnvironmentId">;
|
|
35
|
+
sourceDbId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ResourceId">>;
|
|
36
|
+
previousStatus: import("effect/Schema").NullOr<import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>>;
|
|
37
|
+
newStatus: import("effect/Schema").Literal<["provisioning", "ready", "destroying", "destroyed", "degraded"]>;
|
|
38
|
+
idempotent: typeof import("effect/Schema").Boolean;
|
|
39
|
+
}>, {
|
|
40
|
+
status: 202;
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=admin-branch-databases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-branch-databases.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-branch-databases.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChC,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin Branch Databases endpoints — operator recovery surface.
|
|
3
|
+
*
|
|
4
|
+
* Replaces raw production `branch_databases` UPDATE/INSERT repair steps with
|
|
5
|
+
* scoped service-token endpoints. The controller still owns all CNPG/Rook
|
|
6
|
+
* side effects; these endpoints only mutate the branch DB desired-state row.
|
|
7
|
+
*/
|
|
8
|
+
import { defineEndpoint } from '../endpoint.js';
|
|
9
|
+
import { AdminBranchDatabaseCreateInput, AdminBranchDatabaseDestroyInput, AdminBranchDatabaseMutationResult, } from '../schemas/admin-branch-databases.js';
|
|
10
|
+
export const adminBranchDatabasesEndpoints = {
|
|
11
|
+
create: defineEndpoint({
|
|
12
|
+
method: 'POST',
|
|
13
|
+
path: '/operator/branch-databases/create',
|
|
14
|
+
success: { status: 202 },
|
|
15
|
+
body: AdminBranchDatabaseCreateInput,
|
|
16
|
+
response: AdminBranchDatabaseMutationResult,
|
|
17
|
+
plane: 'management',
|
|
18
|
+
summary: 'Create a preview branch database from the operator plane',
|
|
19
|
+
description: 'Creates a `branch_databases` desired-state row with status `provisioning` ' +
|
|
20
|
+
'for an ephemeral environment after verifying the project, environment, ' +
|
|
21
|
+
'and source database binding. Refuses when a non-destroyed branch already ' +
|
|
22
|
+
'exists. Requires service token scope `platform:branchdb:create` and emits ' +
|
|
23
|
+
'an `audit_logs` row with `operation=branch_database_create`.',
|
|
24
|
+
tags: ['admin-branch-databases'],
|
|
25
|
+
}),
|
|
26
|
+
destroy: defineEndpoint({
|
|
27
|
+
method: 'POST',
|
|
28
|
+
path: '/operator/branch-databases/destroy',
|
|
29
|
+
success: { status: 202 },
|
|
30
|
+
body: AdminBranchDatabaseDestroyInput,
|
|
31
|
+
response: AdminBranchDatabaseMutationResult,
|
|
32
|
+
plane: 'management',
|
|
33
|
+
summary: 'Schedule preview branch database teardown from the operator plane',
|
|
34
|
+
description: 'Transitions the active branch database for a preview environment to ' +
|
|
35
|
+
'`destroying`; the controller performs CNPG/Rook cleanup and stamps ' +
|
|
36
|
+
'`destroyed`. Re-running while already destroying is idempotent. Requires ' +
|
|
37
|
+
'service token scope `platform:branchdb:destroy` and emits an `audit_logs` ' +
|
|
38
|
+
'row with `operation=branch_database_destroy`.',
|
|
39
|
+
tags: ['admin-branch-databases'],
|
|
40
|
+
}),
|
|
41
|
+
};
|
|
@@ -18,11 +18,13 @@ export declare const adminBroadcastsEndpoints: {
|
|
|
18
18
|
}>, import("effect/Schema").Struct<{
|
|
19
19
|
id: typeof import("effect/Schema").String;
|
|
20
20
|
type: import("effect/Schema").Literal<["email", "push", "in_app"]>;
|
|
21
|
-
status: import("effect/Schema").Literal<["draft", "scheduled", "sending", "sent", "failed"]>;
|
|
21
|
+
status: import("effect/Schema").Literal<["draft", "scheduled", "sending", "sent", "failed", "cancelled"]>;
|
|
22
22
|
subject: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
23
23
|
scheduledAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
24
24
|
createdAt: typeof import("effect/Schema").String;
|
|
25
|
-
}
|
|
25
|
+
}>, {
|
|
26
|
+
status: 201;
|
|
27
|
+
}>;
|
|
26
28
|
readonly list: import("../endpoint.js").Endpoint<"GET", "/operator/broadcasts/broadcasts", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
27
29
|
projectId: typeof import("effect/Schema").String;
|
|
28
30
|
limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -31,7 +33,7 @@ export declare const adminBroadcastsEndpoints: {
|
|
|
31
33
|
broadcasts: import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
32
34
|
id: typeof import("effect/Schema").String;
|
|
33
35
|
type: import("effect/Schema").Literal<["email", "push", "in_app"]>;
|
|
34
|
-
status: import("effect/Schema").Literal<["draft", "scheduled", "sending", "sent", "failed"]>;
|
|
36
|
+
status: import("effect/Schema").Literal<["draft", "scheduled", "sending", "sent", "failed", "cancelled"]>;
|
|
35
37
|
targetSegment: typeof import("effect/Schema").String;
|
|
36
38
|
subject: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
37
39
|
scheduledAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
@@ -52,7 +54,7 @@ export declare const adminBroadcastsEndpoints: {
|
|
|
52
54
|
}>>;
|
|
53
55
|
}>>;
|
|
54
56
|
total: typeof import("effect/Schema").Number;
|
|
55
|
-
}
|
|
57
|
+
}>, undefined>;
|
|
56
58
|
readonly get: import("../endpoint.js").Endpoint<"GET", "/operator/broadcasts/broadcasts/:id", import("effect/Schema").Struct<{
|
|
57
59
|
id: typeof import("effect/Schema").String;
|
|
58
60
|
}>, import("effect/Schema").Struct<{
|
|
@@ -61,7 +63,7 @@ export declare const adminBroadcastsEndpoints: {
|
|
|
61
63
|
broadcast: import("effect/Schema").Struct<{
|
|
62
64
|
id: typeof import("effect/Schema").String;
|
|
63
65
|
type: import("effect/Schema").Literal<["email", "push", "in_app"]>;
|
|
64
|
-
status: import("effect/Schema").Literal<["draft", "scheduled", "sending", "sent", "failed"]>;
|
|
66
|
+
status: import("effect/Schema").Literal<["draft", "scheduled", "sending", "sent", "failed", "cancelled"]>;
|
|
65
67
|
targetSegment: typeof import("effect/Schema").String;
|
|
66
68
|
targetAppIds: import("effect/Schema").NullOr<import("effect/Schema").Array$<typeof import("effect/Schema").String>>;
|
|
67
69
|
subject: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
@@ -81,7 +83,7 @@ export declare const adminBroadcastsEndpoints: {
|
|
|
81
83
|
createdAt: typeof import("effect/Schema").String;
|
|
82
84
|
updatedAt: typeof import("effect/Schema").String;
|
|
83
85
|
}>;
|
|
84
|
-
}
|
|
86
|
+
}>, undefined>;
|
|
85
87
|
readonly send: import("../endpoint.js").Endpoint<"POST", "/operator/broadcasts/broadcasts/:id/send", import("effect/Schema").Struct<{
|
|
86
88
|
id: typeof import("effect/Schema").String;
|
|
87
89
|
}>, import("effect/Schema").Struct<{
|
|
@@ -93,13 +95,13 @@ export declare const adminBroadcastsEndpoints: {
|
|
|
93
95
|
sent: typeof import("effect/Schema").Number;
|
|
94
96
|
failed: typeof import("effect/Schema").Number;
|
|
95
97
|
}>;
|
|
96
|
-
}
|
|
98
|
+
}>, undefined>;
|
|
97
99
|
readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/operator/broadcasts/broadcasts/:id", import("effect/Schema").Struct<{
|
|
98
100
|
id: typeof import("effect/Schema").String;
|
|
99
101
|
}>, import("effect/Schema").Struct<{
|
|
100
102
|
projectId: typeof import("effect/Schema").String;
|
|
101
103
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
102
104
|
success: typeof import("effect/Schema").Boolean;
|
|
103
|
-
}
|
|
105
|
+
}>, undefined>;
|
|
104
106
|
};
|
|
105
107
|
//# sourceMappingURL=admin-broadcasts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-broadcasts.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-broadcasts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAeH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"admin-broadcasts.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-broadcasts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAeH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmD3B,CAAA"}
|
|
@@ -11,6 +11,7 @@ export const adminBroadcastsEndpoints = {
|
|
|
11
11
|
create: defineEndpoint({
|
|
12
12
|
method: 'POST',
|
|
13
13
|
path: '/operator/broadcasts/broadcasts',
|
|
14
|
+
success: { status: 201 },
|
|
14
15
|
query: AdminBroadcastProjectQuery,
|
|
15
16
|
body: AdminCreateBroadcastInput,
|
|
16
17
|
response: AdminCreateBroadcastResult,
|
|
@@ -24,7 +24,7 @@ export declare const adminConfigEndpoints: {
|
|
|
24
24
|
createdAt: typeof import("effect/Schema").String;
|
|
25
25
|
updatedAt: typeof import("effect/Schema").String;
|
|
26
26
|
}>>;
|
|
27
|
-
}
|
|
27
|
+
}>, undefined>;
|
|
28
28
|
readonly updateReferralConfig: import("../endpoint.js").Endpoint<"PATCH", "/operator/config/projects/:projectId/referral-config", import("effect/Schema").Struct<{
|
|
29
29
|
projectId: typeof import("effect/Schema").String;
|
|
30
30
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -55,7 +55,7 @@ export declare const adminConfigEndpoints: {
|
|
|
55
55
|
createdAt: typeof import("effect/Schema").String;
|
|
56
56
|
updatedAt: typeof import("effect/Schema").String;
|
|
57
57
|
}>;
|
|
58
|
-
}
|
|
58
|
+
}>, undefined>;
|
|
59
59
|
readonly getConsentConfig: import("../endpoint.js").Endpoint<"GET", "/operator/config/projects/:projectId/consent-config", import("effect/Schema").Struct<{
|
|
60
60
|
projectId: typeof import("effect/Schema").String;
|
|
61
61
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -80,7 +80,7 @@ export declare const adminConfigEndpoints: {
|
|
|
80
80
|
createdAt: typeof import("effect/Schema").String;
|
|
81
81
|
updatedAt: typeof import("effect/Schema").String;
|
|
82
82
|
}>>;
|
|
83
|
-
}
|
|
83
|
+
}>, undefined>;
|
|
84
84
|
readonly updateConsentConfig: import("../endpoint.js").Endpoint<"PATCH", "/operator/config/projects/:projectId/consent-config", import("effect/Schema").Struct<{
|
|
85
85
|
projectId: typeof import("effect/Schema").String;
|
|
86
86
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -121,7 +121,7 @@ export declare const adminConfigEndpoints: {
|
|
|
121
121
|
createdAt: typeof import("effect/Schema").String;
|
|
122
122
|
updatedAt: typeof import("effect/Schema").String;
|
|
123
123
|
}>;
|
|
124
|
-
}
|
|
124
|
+
}>, undefined>;
|
|
125
125
|
readonly getPushCredentials: import("../endpoint.js").Endpoint<"GET", "/operator/config/projects/:projectId/push-credentials", import("effect/Schema").Struct<{
|
|
126
126
|
projectId: typeof import("effect/Schema").String;
|
|
127
127
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -140,7 +140,7 @@ export declare const adminConfigEndpoints: {
|
|
|
140
140
|
createdAt: typeof import("effect/Schema").String;
|
|
141
141
|
updatedAt: typeof import("effect/Schema").String;
|
|
142
142
|
}>>;
|
|
143
|
-
}
|
|
143
|
+
}>, undefined>;
|
|
144
144
|
readonly updatePushCredentials: import("../endpoint.js").Endpoint<"PATCH", "/operator/config/projects/:projectId/push-credentials", import("effect/Schema").Struct<{
|
|
145
145
|
projectId: typeof import("effect/Schema").String;
|
|
146
146
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -164,17 +164,17 @@ export declare const adminConfigEndpoints: {
|
|
|
164
164
|
createdAt: typeof import("effect/Schema").String;
|
|
165
165
|
updatedAt: typeof import("effect/Schema").String;
|
|
166
166
|
}>;
|
|
167
|
-
}
|
|
167
|
+
}>, undefined>;
|
|
168
168
|
readonly exportUsers: import("../endpoint.js").Endpoint<"POST", "/operator/config/projects/:projectId/users/export", import("effect/Schema").Struct<{
|
|
169
169
|
projectId: typeof import("effect/Schema").String;
|
|
170
170
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
171
171
|
csv: typeof import("effect/Schema").String;
|
|
172
172
|
filename: typeof import("effect/Schema").String;
|
|
173
173
|
count: typeof import("effect/Schema").Number;
|
|
174
|
-
}
|
|
175
|
-
readonly notificationsOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/notifications/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
176
|
-
readonly referralsOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/referrals/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
177
|
-
readonly flagsOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/flags/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
178
|
-
readonly webhooksOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/webhooks/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown>;
|
|
174
|
+
}>, undefined>;
|
|
175
|
+
readonly notificationsOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/notifications/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
176
|
+
readonly referralsOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/referrals/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
177
|
+
readonly flagsOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/flags/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
178
|
+
readonly webhooksOverview: import("../endpoint.js").Endpoint<"GET", "/operator/config/webhooks/overview", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, typeof import("effect/Schema").Unknown, undefined>;
|
|
179
179
|
};
|
|
180
180
|
//# sourceMappingURL=admin-config.d.ts.map
|