@greatwait/contracts 0.1.0-alpha.2 → 0.1.0-alpha.4
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/README.md +11 -9
- package/dist/authority.d.ts +84 -21
- package/dist/authority.js +47 -2
- package/dist/billing.d.ts +1001 -0
- package/dist/billing.js +684 -0
- package/dist/callback-safety.d.ts +2 -2
- package/dist/callback-safety.js +2 -2
- package/dist/compatibility.d.ts +3 -3
- package/dist/compatibility.js +1 -1
- package/dist/data-export.d.ts +67 -0
- package/dist/data-export.js +182 -0
- package/dist/endpoints.d.ts +181 -240
- package/dist/endpoints.js +77 -81
- package/dist/events.d.ts +17 -17
- package/dist/events.js +1 -1
- package/dist/first-value-journey.d.ts +192 -42
- package/dist/first-value-journey.js +212 -6
- package/dist/forecast.d.ts +71 -71
- package/dist/forecast.js +1 -1
- package/dist/identifiers.d.ts +20 -20
- package/dist/identifiers.js +1 -1
- package/dist/identity.d.ts +45 -41
- package/dist/identity.js +5 -4
- package/dist/index.d.ts +13 -8
- package/dist/index.js +13 -8
- package/dist/mcp.d.ts +201 -0
- package/dist/mcp.js +214 -0
- package/dist/naming.d.ts +45 -0
- package/dist/naming.js +159 -0
- package/dist/oauth.d.ts +186 -172
- package/dist/oauth.js +84 -8
- package/dist/operation-definitions.d.ts +9 -0
- package/dist/operation-definitions.js +7 -0
- package/dist/operations.d.ts +4359 -2214
- package/dist/operations.js +2754 -881
- package/dist/organization-lifecycle.d.ts +34 -0
- package/dist/organization-lifecycle.js +122 -0
- package/dist/partition.d.ts +26 -0
- package/dist/policy.d.ts +4 -4
- package/dist/policy.js +9 -5
- package/dist/problems.d.ts +32 -26
- package/dist/problems.js +6 -2
- package/dist/protocol.d.ts +204 -75
- package/dist/protocol.js +108 -36
- package/dist/scheduling-records.d.ts +343 -285
- package/dist/scheduling-records.js +1 -1
- package/dist/scheduling.d.ts +670 -360
- package/dist/scheduling.js +382 -56
- package/dist/secrets.d.ts +119 -105
- package/dist/secrets.js +1 -1
- package/dist/signatures.d.ts +74 -74
- package/dist/signatures.js +1 -1
- package/dist/tenancy.d.ts +142 -68
- package/dist/tenancy.js +70 -17
- package/dist/test-sink.d.ts +127 -127
- package/dist/test-sink.js +1 -1
- package/dist/time.d.ts +4 -4
- package/dist/time.js +1 -1
- package/dist/timing.d.ts +65 -0
- package/dist/timing.js +82 -0
- package/dist/usage.d.ts +103 -47
- package/dist/usage.js +197 -31
- package/dist/workspace.d.ts +34 -34
- package/dist/workspace.js +1 -1
- package/dist/zod-values.d.ts +3 -0
- package/dist/zod-values.js +2 -0
- package/dist/zod.d.ts +2 -0
- package/dist/zod.js +2 -0
- package/generated/v1/examples/attempts.list.response.json +4 -0
- package/generated/v1/examples/attempts.read.response.json +4 -0
- package/generated/v1/examples/billing.autotopup.request.json +5 -0
- package/generated/v1/examples/billing.autotopup.response.json +120 -0
- package/generated/v1/examples/billing.autotopuppreview.request.json +19 -0
- package/generated/v1/examples/billing.autotopuppreview.response.json +45 -0
- package/generated/v1/examples/billing.budgets.request.json +13 -0
- package/generated/v1/examples/billing.budgets.response.json +22 -0
- package/generated/v1/examples/billing.ceiling.request.json +8 -0
- package/generated/v1/examples/billing.ceiling.response.json +120 -0
- package/generated/v1/examples/billing.change.request.json +5 -0
- package/generated/v1/examples/billing.change.response.json +12 -0
- package/generated/v1/examples/billing.funding.response.json +120 -0
- package/generated/v1/examples/billing.fundingquote.request.json +7 -0
- package/generated/v1/examples/billing.fundingquote.response.json +13 -0
- package/generated/v1/examples/billing.ledger.response.json +23 -0
- package/generated/v1/examples/billing.notices.response.json +41 -0
- package/generated/v1/examples/billing.notificationsettings.response.json +17 -0
- package/generated/v1/examples/billing.notificationsettingsupdate.request.json +9 -0
- package/generated/v1/examples/billing.notificationsettingsupdate.response.json +17 -0
- package/generated/v1/examples/billing.portal.response.json +3 -0
- package/generated/v1/examples/billing.projects.response.json +12 -0
- package/generated/v1/examples/billing.purchase.request.json +5 -0
- package/generated/v1/examples/billing.purchase.response.json +120 -0
- package/generated/v1/examples/billing.quote.request.json +4 -0
- package/generated/v1/examples/billing.quote.response.json +19 -0
- package/generated/v1/examples/billing.reconcile.response.json +73 -0
- package/generated/v1/examples/billing.refundrequest.request.json +10 -0
- package/generated/v1/examples/billing.refundrequest.response.json +11 -0
- package/generated/v1/examples/billing.refundresolution.request.json +4 -0
- package/generated/v1/examples/billing.refundresolution.response.json +120 -0
- package/generated/v1/examples/billing.summary.response.json +73 -0
- package/generated/v1/examples/context.read.response.json +6 -0
- package/generated/v1/examples/credentials.connection.response.json +16 -0
- package/generated/v1/examples/endpoints.acknowledgeSigningKeyRotation.response.json +18 -0
- package/generated/v1/examples/endpoints.create.response.json +1 -1
- package/generated/v1/examples/endpoints.disable.response.json +0 -1
- package/generated/v1/examples/{endpoints.verify.response.json → endpoints.enable.response.json} +4 -5
- package/generated/v1/examples/endpoints.list.response.json +1 -2
- package/generated/v1/examples/endpoints.read.response.json +2 -2
- package/generated/v1/examples/endpoints.revealSigningSecret.response.json +7 -0
- package/generated/v1/examples/endpoints.rotateSigningKey.response.json +1 -2
- package/generated/v1/examples/endpoints.update.response.json +1 -1
- package/generated/v1/examples/executions.list.response.json +20 -0
- package/generated/v1/examples/exports.cancel.response.json +11 -0
- package/generated/v1/examples/exports.create.request.json +1 -0
- package/generated/v1/examples/exports.create.response.json +8 -0
- package/generated/v1/examples/exports.part.response.json +5 -0
- package/generated/v1/examples/exports.read.response.json +8 -0
- package/generated/v1/examples/occurrences.read.response.json +4 -0
- package/generated/v1/examples/organizations.close.request.json +5 -0
- package/generated/v1/examples/organizations.close.response.json +10 -0
- package/generated/v1/examples/organizations.lifecycle.response.json +10 -0
- package/generated/v1/examples/organizations.restore.request.json +3 -0
- package/generated/v1/examples/organizations.restore.response.json +10 -0
- package/generated/v1/examples/projects.archive.request.json +3 -0
- package/generated/v1/examples/projects.archive.response.json +14 -0
- package/generated/v1/examples/projects.create.response.json +10 -1
- package/generated/v1/examples/projects.delete.response.json +9 -0
- package/generated/v1/examples/projects.list.response.json +12 -2
- package/generated/v1/examples/projects.rename.request.json +3 -0
- package/generated/v1/examples/projects.rename.response.json +14 -0
- package/generated/v1/examples/schedules.archive.response.json +3 -0
- package/generated/v1/examples/schedules.cancel.response.json +3 -0
- package/generated/v1/examples/schedules.create.request.json +4 -0
- package/generated/v1/examples/schedules.create.response.json +3 -0
- package/generated/v1/examples/schedules.list.response.json +3 -0
- package/generated/v1/examples/schedules.pause.response.json +3 -0
- package/generated/v1/examples/schedules.read.response.json +6 -0
- package/generated/v1/examples/schedules.replace.request.json +4 -0
- package/generated/v1/examples/schedules.replace.response.json +3 -0
- package/generated/v1/examples/schedules.resume.response.json +3 -0
- package/generated/v1/examples/timing.summary.response.json +35 -0
- package/generated/v1/examples/usage.read.response.json +1 -0
- package/generated/v1/first-value-journey.json +19 -10
- package/generated/v1/manifest.json +1019 -53
- package/generated/v1/openapi.json +30597 -5709
- package/generated/v1/policy-matrix.json +290 -45
- package/generated/v1/schemas/attempts.list.response.json +24 -1
- package/generated/v1/schemas/attempts.read.response.json +24 -1
- package/generated/v1/schemas/billing.autotopup.request-headers.json +13 -0
- package/generated/v1/schemas/billing.autotopup.request.json +22 -0
- package/generated/v1/schemas/billing.autotopup.response-headers.json +10 -0
- package/generated/v1/schemas/billing.autotopup.response.json +552 -0
- package/generated/v1/schemas/billing.autotopuppreview.request.json +77 -0
- package/generated/v1/schemas/billing.autotopuppreview.response.json +277 -0
- package/generated/v1/schemas/billing.budgets.request-headers.json +13 -0
- package/generated/v1/schemas/billing.budgets.request.json +66 -0
- package/generated/v1/schemas/billing.budgets.response-headers.json +10 -0
- package/generated/v1/schemas/billing.budgets.response.json +92 -0
- package/generated/v1/schemas/billing.ceiling.request-headers.json +13 -0
- package/generated/v1/schemas/billing.ceiling.request.json +40 -0
- package/generated/v1/schemas/billing.ceiling.response-headers.json +10 -0
- package/generated/v1/schemas/billing.ceiling.response.json +552 -0
- package/generated/v1/schemas/billing.change.request-headers.json +13 -0
- package/generated/v1/schemas/billing.change.request.json +22 -0
- package/generated/v1/schemas/billing.change.response.json +119 -0
- package/generated/v1/schemas/billing.funding.response.json +552 -0
- package/generated/v1/schemas/billing.fundingquote.request.json +28 -0
- package/generated/v1/schemas/billing.fundingquote.response.json +61 -0
- package/generated/v1/schemas/billing.ledger.query.json +16 -0
- package/generated/v1/schemas/billing.ledger.response.json +125 -0
- package/generated/v1/schemas/billing.notices.query.json +16 -0
- package/generated/v1/schemas/billing.notices.response.json +278 -0
- package/generated/v1/schemas/billing.notificationsettings.response.json +70 -0
- package/generated/v1/schemas/billing.notificationsettingsupdate.request-headers.json +13 -0
- package/generated/v1/schemas/billing.notificationsettingsupdate.request.json +36 -0
- package/generated/v1/schemas/billing.notificationsettingsupdate.response-headers.json +10 -0
- package/generated/v1/schemas/billing.notificationsettingsupdate.response.json +70 -0
- package/generated/v1/schemas/billing.portal.response.json +11 -0
- package/generated/v1/schemas/billing.projects.response.json +119 -0
- package/generated/v1/schemas/billing.purchase.request-headers.json +13 -0
- package/generated/v1/schemas/billing.purchase.request.json +22 -0
- package/generated/v1/schemas/billing.purchase.response-headers.json +10 -0
- package/generated/v1/schemas/billing.purchase.response.json +552 -0
- package/generated/v1/schemas/billing.quote.request.json +20 -0
- package/generated/v1/schemas/billing.quote.response.json +86 -0
- package/generated/v1/schemas/billing.reconcile.response.json +468 -0
- package/generated/v1/schemas/billing.refundrequest.request-headers.json +13 -0
- package/generated/v1/schemas/billing.refundrequest.request.json +42 -0
- package/generated/v1/schemas/billing.refundrequest.response-headers.json +10 -0
- package/generated/v1/schemas/billing.refundrequest.response.json +45 -0
- package/generated/v1/schemas/billing.refundresolution.request-headers.json +13 -0
- package/generated/v1/schemas/billing.refundresolution.request.json +61 -0
- package/generated/v1/schemas/billing.refundresolution.response-headers.json +10 -0
- package/generated/v1/schemas/billing.refundresolution.response.json +552 -0
- package/generated/v1/schemas/billing.summary.response.json +468 -0
- package/generated/v1/schemas/context.read.response.json +45 -0
- package/generated/v1/schemas/credentials.connection.response.json +66 -0
- package/generated/v1/schemas/credentials.create.request.json +2 -0
- package/generated/v1/schemas/credentials.create.response.json +2 -0
- package/generated/v1/schemas/credentials.list.response.json +2 -0
- package/generated/v1/schemas/credentials.revoke.response.json +2 -0
- package/generated/v1/schemas/credentials.rotate.response.json +4 -0
- package/generated/v1/schemas/{endpoints.verify.request-headers.json → endpoints.acknowledgeSigningKeyRotation.request-headers.json} +2 -1
- package/generated/v1/schemas/{endpoints.verify.response.json → endpoints.acknowledgeSigningKeyRotation.response.json} +8 -21
- package/generated/v1/schemas/endpoints.create.request.json +5 -0
- package/generated/v1/schemas/endpoints.create.response.json +8 -21
- package/generated/v1/schemas/endpoints.disable.response.json +8 -21
- package/generated/v1/schemas/endpoints.enable.response-headers.json +11 -0
- package/generated/v1/schemas/endpoints.enable.response.json +87 -0
- package/generated/v1/schemas/endpoints.list.response.json +8 -21
- package/generated/v1/schemas/endpoints.read.response.json +8 -21
- package/generated/v1/schemas/endpoints.revealSigningSecret.response.json +43 -0
- package/generated/v1/schemas/endpoints.rotateSigningKey.response.json +8 -21
- package/generated/v1/schemas/endpoints.update.request.json +5 -0
- package/generated/v1/schemas/endpoints.update.response.json +8 -21
- package/generated/v1/schemas/executions.list.query.json +46 -0
- package/generated/v1/schemas/executions.list.response.json +116 -0
- package/generated/v1/schemas/exports.cancel.response.json +48 -0
- package/generated/v1/schemas/exports.create.request.json +6 -0
- package/generated/v1/schemas/exports.create.response.json +38 -0
- package/generated/v1/schemas/exports.part.query.json +11 -0
- package/generated/v1/schemas/exports.part.response.json +22 -0
- package/generated/v1/schemas/exports.read.response.json +38 -0
- package/generated/v1/schemas/grants.list.response.json +2 -0
- package/generated/v1/schemas/grants.revoke.response.json +2 -0
- package/generated/v1/schemas/occurrences.list.query.json +5 -0
- package/generated/v1/schemas/occurrences.list.response.json +23 -0
- package/generated/v1/schemas/occurrences.read.response.json +23 -0
- package/generated/v1/schemas/occurrences.redeliver.response.json +24 -1
- package/generated/v1/schemas/organizations.close.request.json +20 -0
- package/generated/v1/schemas/organizations.close.response.json +68 -0
- package/generated/v1/schemas/organizations.lifecycle.response.json +68 -0
- package/generated/v1/schemas/organizations.restore.request.json +13 -0
- package/generated/v1/schemas/organizations.restore.response.json +68 -0
- package/generated/v1/schemas/projects.archive.request-headers.json +11 -0
- package/generated/v1/schemas/projects.archive.request.json +10 -0
- package/generated/v1/schemas/projects.archive.response-headers.json +11 -0
- package/generated/v1/schemas/projects.archive.response.json +79 -0
- package/generated/v1/schemas/projects.create.response.json +55 -1
- package/generated/v1/schemas/projects.delete.request-headers.json +11 -0
- package/generated/v1/schemas/projects.delete.response.json +37 -0
- package/generated/v1/schemas/projects.list.response.json +61 -2
- package/generated/v1/schemas/projects.rename.request-headers.json +11 -0
- package/generated/v1/schemas/projects.rename.request.json +12 -0
- package/generated/v1/schemas/projects.rename.response-headers.json +11 -0
- package/generated/v1/schemas/projects.rename.response.json +79 -0
- package/generated/v1/schemas/schedules.archive.response.json +90 -2
- package/generated/v1/schemas/schedules.cancel.response.json +90 -2
- package/generated/v1/schemas/schedules.create.request.json +24 -3
- package/generated/v1/schemas/schedules.create.response.json +90 -2
- package/generated/v1/schemas/schedules.list.query.json +13 -0
- package/generated/v1/schemas/schedules.list.response.json +67 -2
- package/generated/v1/schemas/schedules.pause.response.json +90 -2
- package/generated/v1/schemas/schedules.read.response.json +90 -2
- package/generated/v1/schemas/schedules.replace.request.json +24 -3
- package/generated/v1/schemas/schedules.replace.response.json +90 -2
- package/generated/v1/schemas/schedules.resume.response.json +90 -2
- package/generated/v1/schemas/timing.summary.response.json +191 -0
- package/generated/v1/schemas/usage.read.query.json +7 -0
- package/generated/v1/schemas/usage.read.response.json +36 -1
- package/generated/v1/snippets/attempts.list.json +1 -0
- package/generated/v1/snippets/attempts.read.json +1 -0
- package/generated/v1/snippets/billing.autotopup.json +6 -0
- package/generated/v1/snippets/billing.autotopuppreview.json +6 -0
- package/generated/v1/snippets/billing.budgets.json +6 -0
- package/generated/v1/snippets/billing.ceiling.json +6 -0
- package/generated/v1/snippets/billing.change.json +6 -0
- package/generated/v1/snippets/billing.funding.json +6 -0
- package/generated/v1/snippets/billing.fundingquote.json +6 -0
- package/generated/v1/snippets/billing.ledger.json +6 -0
- package/generated/v1/snippets/billing.notices.json +6 -0
- package/generated/v1/snippets/billing.notificationsettings.json +6 -0
- package/generated/v1/snippets/billing.notificationsettingsupdate.json +6 -0
- package/generated/v1/snippets/billing.portal.json +6 -0
- package/generated/v1/snippets/billing.projects.json +6 -0
- package/generated/v1/snippets/billing.purchase.json +6 -0
- package/generated/v1/snippets/billing.quote.json +6 -0
- package/generated/v1/snippets/billing.reconcile.json +6 -0
- package/generated/v1/snippets/billing.refundrequest.json +6 -0
- package/generated/v1/snippets/billing.refundresolution.json +6 -0
- package/generated/v1/snippets/billing.summary.json +6 -0
- package/generated/v1/snippets/context.read.json +6 -0
- package/generated/v1/snippets/credentials.connection.json +6 -0
- package/generated/v1/snippets/credentials.create.json +1 -0
- package/generated/v1/snippets/credentials.list.json +1 -0
- package/generated/v1/snippets/credentials.revoke.json +1 -0
- package/generated/v1/snippets/credentials.rotate.json +1 -0
- package/generated/v1/snippets/endpoints.acknowledgeSigningKeyRotation.json +6 -0
- package/generated/v1/snippets/endpoints.create.json +1 -0
- package/generated/v1/snippets/endpoints.disable.json +1 -0
- package/generated/v1/snippets/{endpoints.verify.json → endpoints.enable.json} +4 -3
- package/generated/v1/snippets/endpoints.list.json +1 -0
- package/generated/v1/snippets/endpoints.read.json +1 -0
- package/generated/v1/snippets/endpoints.revealSigningSecret.json +6 -0
- package/generated/v1/snippets/endpoints.rotateSigningKey.json +1 -0
- package/generated/v1/snippets/endpoints.update.json +1 -0
- package/generated/v1/snippets/executions.list.json +6 -0
- package/generated/v1/snippets/exports.cancel.json +6 -0
- package/generated/v1/snippets/exports.create.json +6 -0
- package/generated/v1/snippets/exports.part.json +6 -0
- package/generated/v1/snippets/exports.read.json +6 -0
- package/generated/v1/snippets/forecast.read.json +1 -0
- package/generated/v1/snippets/forecast.windows.json +1 -0
- package/generated/v1/snippets/grants.list.json +1 -0
- package/generated/v1/snippets/grants.revoke.json +1 -0
- package/generated/v1/snippets/journey/await-occurrence.json +6 -0
- package/generated/v1/snippets/journey/check-credential.json +6 -0
- package/generated/v1/snippets/journey/check-service.json +6 -0
- package/generated/v1/snippets/journey/clean-up.json +6 -0
- package/generated/v1/snippets/journey/create-destination.json +6 -0
- package/generated/v1/snippets/journey/create-one-shot.json +6 -0
- package/generated/v1/snippets/journey/read-attempt.json +6 -0
- package/generated/v1/snippets/journey/read-schedule.json +6 -0
- package/generated/v1/snippets/journey/replay-one-shot.json +6 -0
- package/generated/v1/snippets/meta.scaffold.json +1 -0
- package/generated/v1/snippets/meta.version.json +1 -0
- package/generated/v1/snippets/occurrences.list.json +1 -0
- package/generated/v1/snippets/occurrences.read.json +1 -0
- package/generated/v1/snippets/occurrences.redeliver.json +1 -0
- package/generated/v1/snippets/organizations.close.json +6 -0
- package/generated/v1/snippets/organizations.lifecycle.json +6 -0
- package/generated/v1/snippets/organizations.restore.json +6 -0
- package/generated/v1/snippets/projects.archive.json +6 -0
- package/generated/v1/snippets/projects.create.json +1 -0
- package/generated/v1/snippets/projects.delete.json +6 -0
- package/generated/v1/snippets/projects.list.json +1 -0
- package/generated/v1/snippets/projects.rename.json +6 -0
- package/generated/v1/snippets/schedules.archive.json +1 -0
- package/generated/v1/snippets/schedules.cancel.json +1 -0
- package/generated/v1/snippets/schedules.create.json +4 -3
- package/generated/v1/snippets/schedules.list.json +1 -0
- package/generated/v1/snippets/schedules.pause.json +1 -0
- package/generated/v1/snippets/schedules.read.json +1 -0
- package/generated/v1/snippets/schedules.replace.json +4 -3
- package/generated/v1/snippets/schedules.resume.json +1 -0
- package/generated/v1/snippets/sinkdeliveries.list.json +1 -0
- package/generated/v1/snippets/sinkdeliveries.read.json +1 -0
- package/generated/v1/snippets/testsinks.configure.json +1 -0
- package/generated/v1/snippets/testsinks.create.json +1 -0
- package/generated/v1/snippets/testsinks.delete.json +1 -0
- package/generated/v1/snippets/testsinks.list.json +1 -0
- package/generated/v1/snippets/testsinks.read.json +1 -0
- package/generated/v1/snippets/timing.summary.json +6 -0
- package/generated/v1/snippets/usage.read.json +1 -0
- package/package.json +2 -7
- package/dist/callback-ownership.d.ts +0 -58
- package/dist/callback-ownership.js +0 -71
- package/generated/v1/callback-endpoint-verification.json +0 -59
- /package/generated/v1/schemas/{endpoints.verify.response-headers.json → endpoints.acknowledgeSigningKeyRotation.response-headers.json} +0 -0
|
@@ -0,0 +1,1001 @@
|
|
|
1
|
+
import { z } from "./zod.js";
|
|
2
|
+
import { projectIdSchema } from "./identifiers.js";
|
|
3
|
+
export declare const BILLING_AMOUNT_SCALE: 6;
|
|
4
|
+
export declare const BILLING_CURRENCY: "USD";
|
|
5
|
+
/**
|
|
6
|
+
* Exact integer money on the wire.
|
|
7
|
+
*
|
|
8
|
+
* PostgreSQL uses `bigint`; JSON uses a canonical decimal string because a
|
|
9
|
+
* JavaScript number cannot represent every ledger amount without rounding.
|
|
10
|
+
*/
|
|
11
|
+
export declare const microdollarAmountSchema: import("zod").ZodString;
|
|
12
|
+
export declare const nonnegativeMicrodollarAmountSchema: import("zod").ZodString;
|
|
13
|
+
export declare const BILLING_ACTIVATION_MODES: readonly ["disabled", "shadow", "enforced"];
|
|
14
|
+
export declare const BILLING_BLOCK_REASONS: readonly ["billing-state-missing", "billing-account-closed", "project-ineligible", "insufficient-credit", "execution-cap-reached"];
|
|
15
|
+
export declare const BILLING_ENTRY_KINDS: readonly ["credit_granted", "credit_reversed", "attempt_debited", "attempt_released", "shadow_attempt_debited", "shadow_attempt_released", "late_evidence_waived", "policy_installed", "budget_policy_updated", "budget_threshold_reached", "budget_exhausted", "budget_recovered", "automatic_charge_ceiling_updated", "payment_reserved", "payment_submitted", "payment_pending", "payment_paid", "payment_failed", "payment_canceled", "payment_authentication_required", "payment_action_required", "payment_refunded", "payment_disputed", "payment_reversed", "payment_dispute_restored", "refund_requested", "payment_refund_canceled", "automatic_top_up_cap_reached", "automatic_charge_threshold_reached", "automatic_charge_threshold_recovered", "low_credit_reached", "low_credit_recovered", "notification_settings_updated", "service_blocked", "service_restored"];
|
|
16
|
+
export declare const BILLING_PAYMENT_KINDS: readonly ["manual", "automatic"];
|
|
17
|
+
export declare const BILLING_PAYMENT_STATES: readonly ["pending", "paid", "failed", "authentication-required", "action-required", "canceled", "refunded", "reversed", "disputed"];
|
|
18
|
+
declare const nonnegativeExactMoneySchema: import("zod").ZodObject<{
|
|
19
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
20
|
+
microdollars: import("zod").ZodString;
|
|
21
|
+
scale: import("zod").ZodLiteral<6>;
|
|
22
|
+
}, import("zod/v4/core").$strip>;
|
|
23
|
+
export declare const exactCentMoneySchema: import("zod").ZodObject<{
|
|
24
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
25
|
+
microdollars: import("zod").ZodString;
|
|
26
|
+
scale: import("zod").ZodLiteral<6>;
|
|
27
|
+
}, import("zod/v4/core").$strip>;
|
|
28
|
+
export declare const manualFundingCreditSchema: import("zod").ZodObject<{
|
|
29
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
30
|
+
microdollars: import("zod").ZodString;
|
|
31
|
+
scale: import("zod").ZodLiteral<6>;
|
|
32
|
+
}, import("zod/v4/core").$strip>;
|
|
33
|
+
export declare const billingAutoTopUpConfigurationSchema: import("zod").ZodObject<{
|
|
34
|
+
ceiling: import("zod").ZodObject<{
|
|
35
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
36
|
+
microdollars: import("zod").ZodString;
|
|
37
|
+
scale: import("zod").ZodLiteral<6>;
|
|
38
|
+
}, import("zod/v4/core").$strip>;
|
|
39
|
+
credit: import("zod").ZodObject<{
|
|
40
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
41
|
+
microdollars: import("zod").ZodString;
|
|
42
|
+
scale: import("zod").ZodLiteral<6>;
|
|
43
|
+
}, import("zod/v4/core").$strip>;
|
|
44
|
+
triggerBelow: import("zod").ZodObject<{
|
|
45
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
46
|
+
microdollars: import("zod").ZodString;
|
|
47
|
+
scale: import("zod").ZodLiteral<6>;
|
|
48
|
+
}, import("zod/v4/core").$strip>;
|
|
49
|
+
}, import("zod/v4/core").$strict>;
|
|
50
|
+
export declare const billingAutoTopUpPreviewRequestSchema: import("zod").ZodObject<{
|
|
51
|
+
action: import("zod").ZodEnum<{
|
|
52
|
+
enable: "enable";
|
|
53
|
+
edit: "edit";
|
|
54
|
+
disable: "disable";
|
|
55
|
+
resume: "resume";
|
|
56
|
+
}>;
|
|
57
|
+
ceiling: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
58
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
59
|
+
microdollars: import("zod").ZodString;
|
|
60
|
+
scale: import("zod").ZodLiteral<6>;
|
|
61
|
+
}, import("zod/v4/core").$strip>>;
|
|
62
|
+
credit: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
63
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
64
|
+
microdollars: import("zod").ZodString;
|
|
65
|
+
scale: import("zod").ZodLiteral<6>;
|
|
66
|
+
}, import("zod/v4/core").$strip>>;
|
|
67
|
+
expectedRevision: import("zod").ZodNumber;
|
|
68
|
+
triggerBelow: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
69
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
70
|
+
microdollars: import("zod").ZodString;
|
|
71
|
+
scale: import("zod").ZodLiteral<6>;
|
|
72
|
+
}, import("zod/v4/core").$strip>>;
|
|
73
|
+
}, import("zod/v4/core").$strict>;
|
|
74
|
+
export declare const billingAutoTopUpApplyRequestSchema: import("zod").ZodObject<{
|
|
75
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
76
|
+
expectedRevision: import("zod").ZodNumber;
|
|
77
|
+
preview: import("zod").ZodString;
|
|
78
|
+
}, import("zod/v4/core").$strict>;
|
|
79
|
+
export declare const billingFundingQuoteRequestSchema: import("zod").ZodObject<{
|
|
80
|
+
credit: import("zod").ZodObject<{
|
|
81
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
82
|
+
microdollars: import("zod").ZodString;
|
|
83
|
+
scale: import("zod").ZodLiteral<6>;
|
|
84
|
+
}, import("zod/v4/core").$strip>;
|
|
85
|
+
}, import("zod/v4/core").$strict>;
|
|
86
|
+
export declare const billingFundingQuoteSchema: import("zod").ZodObject<{
|
|
87
|
+
credit: import("zod").ZodObject<{
|
|
88
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
89
|
+
microdollars: import("zod").ZodString;
|
|
90
|
+
scale: import("zod").ZodLiteral<6>;
|
|
91
|
+
}, import("zod/v4/core").$strip>;
|
|
92
|
+
expectedRevision: import("zod").ZodNumber;
|
|
93
|
+
expiresAt: import("zod").ZodString;
|
|
94
|
+
gross: import("zod").ZodLiteral<null>;
|
|
95
|
+
quote: import("zod").ZodString;
|
|
96
|
+
tax: import("zod").ZodLiteral<null>;
|
|
97
|
+
taxStatus: import("zod").ZodLiteral<"calculated-at-checkout">;
|
|
98
|
+
}, import("zod/v4/core").$strict>;
|
|
99
|
+
export declare const billingPurchaseRequestSchema: import("zod").ZodObject<{
|
|
100
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
101
|
+
expectedRevision: import("zod").ZodNumber;
|
|
102
|
+
quote: import("zod").ZodString;
|
|
103
|
+
}, import("zod/v4/core").$strict>;
|
|
104
|
+
export declare const billingCeilingUpdateRequestSchema: import("zod").ZodObject<{
|
|
105
|
+
automaticExecutionTopUpCeiling: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
106
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
107
|
+
microdollars: import("zod").ZodString;
|
|
108
|
+
scale: import("zod").ZodLiteral<6>;
|
|
109
|
+
}, import("zod/v4/core").$strip>>;
|
|
110
|
+
expectedRevision: import("zod").ZodNumber;
|
|
111
|
+
}, import("zod/v4/core").$strict>;
|
|
112
|
+
export declare const billingAutoTopUpRuleSchema: import("zod").ZodObject<{
|
|
113
|
+
cooldownUntil: import("zod").ZodNullable<import("zod").ZodString>;
|
|
114
|
+
desired: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
115
|
+
ceiling: import("zod").ZodObject<{
|
|
116
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
117
|
+
microdollars: import("zod").ZodString;
|
|
118
|
+
scale: import("zod").ZodLiteral<6>;
|
|
119
|
+
}, import("zod/v4/core").$strip>;
|
|
120
|
+
credit: import("zod").ZodObject<{
|
|
121
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
122
|
+
microdollars: import("zod").ZodString;
|
|
123
|
+
scale: import("zod").ZodLiteral<6>;
|
|
124
|
+
}, import("zod/v4/core").$strip>;
|
|
125
|
+
triggerBelow: import("zod").ZodObject<{
|
|
126
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
127
|
+
microdollars: import("zod").ZodString;
|
|
128
|
+
scale: import("zod").ZodLiteral<6>;
|
|
129
|
+
}, import("zod/v4/core").$strip>;
|
|
130
|
+
}, import("zod/v4/core").$strict>>;
|
|
131
|
+
effective: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
132
|
+
ceiling: import("zod").ZodObject<{
|
|
133
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
134
|
+
microdollars: import("zod").ZodString;
|
|
135
|
+
scale: import("zod").ZodLiteral<6>;
|
|
136
|
+
}, import("zod/v4/core").$strip>;
|
|
137
|
+
credit: import("zod").ZodObject<{
|
|
138
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
139
|
+
microdollars: import("zod").ZodString;
|
|
140
|
+
scale: import("zod").ZodLiteral<6>;
|
|
141
|
+
}, import("zod/v4/core").$strip>;
|
|
142
|
+
triggerBelow: import("zod").ZodObject<{
|
|
143
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
144
|
+
microdollars: import("zod").ZodString;
|
|
145
|
+
scale: import("zod").ZodLiteral<6>;
|
|
146
|
+
}, import("zod/v4/core").$strip>;
|
|
147
|
+
}, import("zod/v4/core").$strict>>;
|
|
148
|
+
setupUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
149
|
+
state: import("zod").ZodEnum<{
|
|
150
|
+
disabled: "disabled";
|
|
151
|
+
"payment-method-required": "payment-method-required";
|
|
152
|
+
ready: "ready";
|
|
153
|
+
}>;
|
|
154
|
+
suspension: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
155
|
+
at: import("zod").ZodString;
|
|
156
|
+
reason: import("zod").ZodEnum<{
|
|
157
|
+
"authentication-required": "authentication-required";
|
|
158
|
+
"payment-failed": "payment-failed";
|
|
159
|
+
}>;
|
|
160
|
+
}, import("zod/v4/core").$strict>>;
|
|
161
|
+
}, import("zod/v4/core").$strict>;
|
|
162
|
+
export declare const billingAutoTopUpPreviewSchema: import("zod").ZodObject<{
|
|
163
|
+
action: import("zod").ZodEnum<{
|
|
164
|
+
enable: "enable";
|
|
165
|
+
edit: "edit";
|
|
166
|
+
disable: "disable";
|
|
167
|
+
resume: "resume";
|
|
168
|
+
}>;
|
|
169
|
+
after: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
170
|
+
ceiling: import("zod").ZodObject<{
|
|
171
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
172
|
+
microdollars: import("zod").ZodString;
|
|
173
|
+
scale: import("zod").ZodLiteral<6>;
|
|
174
|
+
}, import("zod/v4/core").$strip>;
|
|
175
|
+
credit: import("zod").ZodObject<{
|
|
176
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
177
|
+
microdollars: import("zod").ZodString;
|
|
178
|
+
scale: import("zod").ZodLiteral<6>;
|
|
179
|
+
}, import("zod/v4/core").$strip>;
|
|
180
|
+
triggerBelow: import("zod").ZodObject<{
|
|
181
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
182
|
+
microdollars: import("zod").ZodString;
|
|
183
|
+
scale: import("zod").ZodLiteral<6>;
|
|
184
|
+
}, import("zod/v4/core").$strip>;
|
|
185
|
+
}, import("zod/v4/core").$strict>>;
|
|
186
|
+
before: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
187
|
+
ceiling: import("zod").ZodObject<{
|
|
188
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
189
|
+
microdollars: import("zod").ZodString;
|
|
190
|
+
scale: import("zod").ZodLiteral<6>;
|
|
191
|
+
}, import("zod/v4/core").$strip>;
|
|
192
|
+
credit: import("zod").ZodObject<{
|
|
193
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
194
|
+
microdollars: import("zod").ZodString;
|
|
195
|
+
scale: import("zod").ZodLiteral<6>;
|
|
196
|
+
}, import("zod/v4/core").$strip>;
|
|
197
|
+
triggerBelow: import("zod").ZodObject<{
|
|
198
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
199
|
+
microdollars: import("zod").ZodString;
|
|
200
|
+
scale: import("zod").ZodLiteral<6>;
|
|
201
|
+
}, import("zod/v4/core").$strip>;
|
|
202
|
+
}, import("zod/v4/core").$strict>>;
|
|
203
|
+
currentPeriod: import("zod").ZodObject<{
|
|
204
|
+
end: import("zod").ZodString;
|
|
205
|
+
pending: import("zod").ZodObject<{
|
|
206
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
207
|
+
microdollars: import("zod").ZodString;
|
|
208
|
+
scale: import("zod").ZodLiteral<6>;
|
|
209
|
+
}, import("zod/v4/core").$strip>;
|
|
210
|
+
remaining: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
211
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
212
|
+
microdollars: import("zod").ZodString;
|
|
213
|
+
scale: import("zod").ZodLiteral<6>;
|
|
214
|
+
}, import("zod/v4/core").$strip>>;
|
|
215
|
+
settled: import("zod").ZodObject<{
|
|
216
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
217
|
+
microdollars: import("zod").ZodString;
|
|
218
|
+
scale: import("zod").ZodLiteral<6>;
|
|
219
|
+
}, import("zod/v4/core").$strip>;
|
|
220
|
+
start: import("zod").ZodString;
|
|
221
|
+
}, import("zod/v4/core").$strict>;
|
|
222
|
+
expectedRevision: import("zod").ZodNumber;
|
|
223
|
+
expandsAuthority: import("zod").ZodBoolean;
|
|
224
|
+
expiresAt: import("zod").ZodString;
|
|
225
|
+
preview: import("zod").ZodString;
|
|
226
|
+
subscribedProjectFees: import("zod").ZodObject<{
|
|
227
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
228
|
+
microdollars: import("zod").ZodString;
|
|
229
|
+
scale: import("zod").ZodLiteral<6>;
|
|
230
|
+
}, import("zod/v4/core").$strip>;
|
|
231
|
+
}, import("zod/v4/core").$strict>;
|
|
232
|
+
export declare const billingPaymentOperationSchema: import("zod").ZodObject<{
|
|
233
|
+
createdAt: import("zod").ZodString;
|
|
234
|
+
credit: import("zod").ZodObject<{
|
|
235
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
236
|
+
microdollars: import("zod").ZodString;
|
|
237
|
+
scale: import("zod").ZodLiteral<6>;
|
|
238
|
+
}, import("zod/v4/core").$strip>;
|
|
239
|
+
gross: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
240
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
241
|
+
microdollars: import("zod").ZodString;
|
|
242
|
+
scale: import("zod").ZodLiteral<6>;
|
|
243
|
+
}, import("zod/v4/core").$strip>>;
|
|
244
|
+
id: import("zod").ZodString;
|
|
245
|
+
kind: import("zod").ZodEnum<{
|
|
246
|
+
manual: "manual";
|
|
247
|
+
automatic: "automatic";
|
|
248
|
+
}>;
|
|
249
|
+
paymentUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
250
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
251
|
+
receiptUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
252
|
+
state: import("zod").ZodEnum<{
|
|
253
|
+
pending: "pending";
|
|
254
|
+
paid: "paid";
|
|
255
|
+
failed: "failed";
|
|
256
|
+
"authentication-required": "authentication-required";
|
|
257
|
+
"action-required": "action-required";
|
|
258
|
+
canceled: "canceled";
|
|
259
|
+
refunded: "refunded";
|
|
260
|
+
reversed: "reversed";
|
|
261
|
+
disputed: "disputed";
|
|
262
|
+
}>;
|
|
263
|
+
tax: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
264
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
265
|
+
microdollars: import("zod").ZodString;
|
|
266
|
+
scale: import("zod").ZodLiteral<6>;
|
|
267
|
+
}, import("zod/v4/core").$strip>>;
|
|
268
|
+
taxStatus: import("zod").ZodEnum<{
|
|
269
|
+
confirmed: "confirmed";
|
|
270
|
+
"calculated-at-checkout": "calculated-at-checkout";
|
|
271
|
+
}>;
|
|
272
|
+
updatedAt: import("zod").ZodString;
|
|
273
|
+
}, import("zod/v4/core").$strict>;
|
|
274
|
+
export declare const billingFundingViewSchema: import("zod").ZodObject<{
|
|
275
|
+
automaticExecutionTopUp: import("zod").ZodObject<{
|
|
276
|
+
ceiling: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
277
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
278
|
+
microdollars: import("zod").ZodString;
|
|
279
|
+
scale: import("zod").ZodLiteral<6>;
|
|
280
|
+
}, import("zod/v4/core").$strip>>;
|
|
281
|
+
currentPeriod: import("zod").ZodObject<{
|
|
282
|
+
end: import("zod").ZodString;
|
|
283
|
+
pending: import("zod").ZodObject<{
|
|
284
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
285
|
+
microdollars: import("zod").ZodString;
|
|
286
|
+
scale: import("zod").ZodLiteral<6>;
|
|
287
|
+
}, import("zod/v4/core").$strip>;
|
|
288
|
+
remaining: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
289
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
290
|
+
microdollars: import("zod").ZodString;
|
|
291
|
+
scale: import("zod").ZodLiteral<6>;
|
|
292
|
+
}, import("zod/v4/core").$strip>>;
|
|
293
|
+
settled: import("zod").ZodObject<{
|
|
294
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
295
|
+
microdollars: import("zod").ZodString;
|
|
296
|
+
scale: import("zod").ZodLiteral<6>;
|
|
297
|
+
}, import("zod/v4/core").$strip>;
|
|
298
|
+
start: import("zod").ZodString;
|
|
299
|
+
}, import("zod/v4/core").$strip>;
|
|
300
|
+
rule: import("zod").ZodObject<{
|
|
301
|
+
cooldownUntil: import("zod").ZodNullable<import("zod").ZodString>;
|
|
302
|
+
desired: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
303
|
+
ceiling: import("zod").ZodObject<{
|
|
304
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
305
|
+
microdollars: import("zod").ZodString;
|
|
306
|
+
scale: import("zod").ZodLiteral<6>;
|
|
307
|
+
}, import("zod/v4/core").$strip>;
|
|
308
|
+
credit: import("zod").ZodObject<{
|
|
309
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
310
|
+
microdollars: import("zod").ZodString;
|
|
311
|
+
scale: import("zod").ZodLiteral<6>;
|
|
312
|
+
}, import("zod/v4/core").$strip>;
|
|
313
|
+
triggerBelow: import("zod").ZodObject<{
|
|
314
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
315
|
+
microdollars: import("zod").ZodString;
|
|
316
|
+
scale: import("zod").ZodLiteral<6>;
|
|
317
|
+
}, import("zod/v4/core").$strip>;
|
|
318
|
+
}, import("zod/v4/core").$strict>>;
|
|
319
|
+
effective: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
320
|
+
ceiling: import("zod").ZodObject<{
|
|
321
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
322
|
+
microdollars: import("zod").ZodString;
|
|
323
|
+
scale: import("zod").ZodLiteral<6>;
|
|
324
|
+
}, import("zod/v4/core").$strip>;
|
|
325
|
+
credit: import("zod").ZodObject<{
|
|
326
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
327
|
+
microdollars: import("zod").ZodString;
|
|
328
|
+
scale: import("zod").ZodLiteral<6>;
|
|
329
|
+
}, import("zod/v4/core").$strip>;
|
|
330
|
+
triggerBelow: import("zod").ZodObject<{
|
|
331
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
332
|
+
microdollars: import("zod").ZodString;
|
|
333
|
+
scale: import("zod").ZodLiteral<6>;
|
|
334
|
+
}, import("zod/v4/core").$strip>;
|
|
335
|
+
}, import("zod/v4/core").$strict>>;
|
|
336
|
+
setupUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
337
|
+
state: import("zod").ZodEnum<{
|
|
338
|
+
disabled: "disabled";
|
|
339
|
+
"payment-method-required": "payment-method-required";
|
|
340
|
+
ready: "ready";
|
|
341
|
+
}>;
|
|
342
|
+
suspension: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
343
|
+
at: import("zod").ZodString;
|
|
344
|
+
reason: import("zod").ZodEnum<{
|
|
345
|
+
"authentication-required": "authentication-required";
|
|
346
|
+
"payment-failed": "payment-failed";
|
|
347
|
+
}>;
|
|
348
|
+
}, import("zod/v4/core").$strict>>;
|
|
349
|
+
}, import("zod/v4/core").$strict>;
|
|
350
|
+
revision: import("zod").ZodNumber;
|
|
351
|
+
}, import("zod/v4/core").$strip>;
|
|
352
|
+
credit: import("zod").ZodObject<{
|
|
353
|
+
amountOwed: import("zod").ZodObject<{
|
|
354
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
355
|
+
microdollars: import("zod").ZodString;
|
|
356
|
+
scale: import("zod").ZodLiteral<6>;
|
|
357
|
+
}, import("zod/v4/core").$strip>;
|
|
358
|
+
available: import("zod").ZodObject<{
|
|
359
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
360
|
+
microdollars: import("zod").ZodString;
|
|
361
|
+
scale: import("zod").ZodLiteral<6>;
|
|
362
|
+
}, import("zod/v4/core").$strip>;
|
|
363
|
+
reserved: import("zod").ZodObject<{
|
|
364
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
365
|
+
microdollars: import("zod").ZodString;
|
|
366
|
+
scale: import("zod").ZodLiteral<6>;
|
|
367
|
+
}, import("zod/v4/core").$strip>;
|
|
368
|
+
}, import("zod/v4/core").$strip>;
|
|
369
|
+
freshness: import("zod").ZodObject<{
|
|
370
|
+
kind: import("zod").ZodLiteral<"authoritative">;
|
|
371
|
+
}, import("zod/v4/core").$strip>;
|
|
372
|
+
paymentOperations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
373
|
+
createdAt: import("zod").ZodString;
|
|
374
|
+
credit: import("zod").ZodObject<{
|
|
375
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
376
|
+
microdollars: import("zod").ZodString;
|
|
377
|
+
scale: import("zod").ZodLiteral<6>;
|
|
378
|
+
}, import("zod/v4/core").$strip>;
|
|
379
|
+
gross: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
380
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
381
|
+
microdollars: import("zod").ZodString;
|
|
382
|
+
scale: import("zod").ZodLiteral<6>;
|
|
383
|
+
}, import("zod/v4/core").$strip>>;
|
|
384
|
+
id: import("zod").ZodString;
|
|
385
|
+
kind: import("zod").ZodEnum<{
|
|
386
|
+
manual: "manual";
|
|
387
|
+
automatic: "automatic";
|
|
388
|
+
}>;
|
|
389
|
+
paymentUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
390
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
391
|
+
receiptUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
392
|
+
state: import("zod").ZodEnum<{
|
|
393
|
+
pending: "pending";
|
|
394
|
+
paid: "paid";
|
|
395
|
+
failed: "failed";
|
|
396
|
+
"authentication-required": "authentication-required";
|
|
397
|
+
"action-required": "action-required";
|
|
398
|
+
canceled: "canceled";
|
|
399
|
+
refunded: "refunded";
|
|
400
|
+
reversed: "reversed";
|
|
401
|
+
disputed: "disputed";
|
|
402
|
+
}>;
|
|
403
|
+
tax: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
404
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
405
|
+
microdollars: import("zod").ZodString;
|
|
406
|
+
scale: import("zod").ZodLiteral<6>;
|
|
407
|
+
}, import("zod/v4/core").$strip>>;
|
|
408
|
+
taxStatus: import("zod").ZodEnum<{
|
|
409
|
+
confirmed: "confirmed";
|
|
410
|
+
"calculated-at-checkout": "calculated-at-checkout";
|
|
411
|
+
}>;
|
|
412
|
+
updatedAt: import("zod").ZodString;
|
|
413
|
+
}, import("zod/v4/core").$strict>>;
|
|
414
|
+
subscribedProjectFees: import("zod").ZodObject<{
|
|
415
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
416
|
+
microdollars: import("zod").ZodString;
|
|
417
|
+
scale: import("zod").ZodLiteral<6>;
|
|
418
|
+
}, import("zod/v4/core").$strip>;
|
|
419
|
+
}, import("zod/v4/core").$strict>;
|
|
420
|
+
export declare const BILLING_NOTICE_KINDS: readonly ["budget-warning", "budget-exhausted", "low-credit", "automatic-top-up-cap-reached", "funding-blocked", "payment-pending", "payment-succeeded", "payment-failed", "payment-authentication-required", "payment-outcome-unresolved", "service-restored"];
|
|
421
|
+
type BillingNoticeMoney = z.infer<typeof nonnegativeExactMoneySchema>;
|
|
422
|
+
export interface BillingNotice {
|
|
423
|
+
readonly amounts: {
|
|
424
|
+
readonly available?: BillingNoticeMoney | undefined;
|
|
425
|
+
readonly gross?: BillingNoticeMoney | undefined;
|
|
426
|
+
readonly limit?: BillingNoticeMoney | undefined;
|
|
427
|
+
readonly threshold?: BillingNoticeMoney | undefined;
|
|
428
|
+
};
|
|
429
|
+
readonly detail: string;
|
|
430
|
+
readonly email: {
|
|
431
|
+
readonly attempts: number;
|
|
432
|
+
readonly failureCode?: string | undefined;
|
|
433
|
+
readonly lastAttemptAt: string | null;
|
|
434
|
+
readonly state: "pending" | "delivered" | "failed" | "suppressed";
|
|
435
|
+
};
|
|
436
|
+
readonly id: string;
|
|
437
|
+
readonly kind: (typeof BILLING_NOTICE_KINDS)[number];
|
|
438
|
+
readonly occurredAt: string;
|
|
439
|
+
readonly payment: {
|
|
440
|
+
readonly operation: string;
|
|
441
|
+
readonly state: (typeof BILLING_PAYMENT_STATES)[number];
|
|
442
|
+
} | null;
|
|
443
|
+
readonly recoveryPath: "#billing" | "#billing-funding" | "#billing-notification-settings";
|
|
444
|
+
readonly resolvedAt: string | null;
|
|
445
|
+
readonly scope: {
|
|
446
|
+
readonly kind: "organization";
|
|
447
|
+
} | {
|
|
448
|
+
readonly kind: "project";
|
|
449
|
+
readonly project: z.infer<typeof projectIdSchema>;
|
|
450
|
+
};
|
|
451
|
+
readonly severity: "warning" | "critical" | "recovery";
|
|
452
|
+
readonly state: "active" | "resolved";
|
|
453
|
+
readonly title: string;
|
|
454
|
+
readonly updatedAt: string;
|
|
455
|
+
}
|
|
456
|
+
export interface BillingNoticePage {
|
|
457
|
+
readonly data: readonly BillingNotice[];
|
|
458
|
+
readonly freshness: {
|
|
459
|
+
readonly kind: "authoritative";
|
|
460
|
+
};
|
|
461
|
+
readonly nextCursor?: string | undefined;
|
|
462
|
+
}
|
|
463
|
+
export interface BillingNotificationSettings {
|
|
464
|
+
readonly criticalEmail: true;
|
|
465
|
+
readonly freshness: {
|
|
466
|
+
readonly kind: "authoritative";
|
|
467
|
+
};
|
|
468
|
+
readonly lowCreditThreshold: z.infer<typeof exactCentMoneySchema>;
|
|
469
|
+
readonly noncriticalEmail: boolean;
|
|
470
|
+
readonly recipients: {
|
|
471
|
+
readonly billingContacts: "active-billing-role-members";
|
|
472
|
+
readonly owners: true;
|
|
473
|
+
};
|
|
474
|
+
readonly revision: number;
|
|
475
|
+
}
|
|
476
|
+
export interface BillingNotificationSettingsUpdateRequest {
|
|
477
|
+
readonly expectedRevision: number;
|
|
478
|
+
readonly lowCreditThreshold: z.infer<typeof exactCentMoneySchema>;
|
|
479
|
+
readonly noncriticalEmail: boolean;
|
|
480
|
+
}
|
|
481
|
+
export declare const billingNoticeRecoveryPathSchema: import("zod").ZodEnum<{
|
|
482
|
+
"#billing": "#billing";
|
|
483
|
+
"#billing-funding": "#billing-funding";
|
|
484
|
+
"#billing-notification-settings": "#billing-notification-settings";
|
|
485
|
+
}>;
|
|
486
|
+
export declare const billingNoticeSchema: z.ZodType<BillingNotice>;
|
|
487
|
+
export declare const billingNoticePageSchema: z.ZodType<BillingNoticePage>;
|
|
488
|
+
export declare const billingNotificationSettingsSchema: z.ZodType<BillingNotificationSettings>;
|
|
489
|
+
export declare const billingNotificationSettingsUpdateRequestSchema: z.ZodType<BillingNotificationSettingsUpdateRequest>;
|
|
490
|
+
export declare const billingRefundRequestCreateSchema: import("zod").ZodObject<{
|
|
491
|
+
amount: import("zod").ZodObject<{
|
|
492
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
493
|
+
microdollars: import("zod").ZodString;
|
|
494
|
+
scale: import("zod").ZodLiteral<6>;
|
|
495
|
+
}, import("zod/v4/core").$strip>;
|
|
496
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
497
|
+
paymentOperation: import("zod").ZodString;
|
|
498
|
+
reason: import("zod").ZodString;
|
|
499
|
+
}, import("zod/v4/core").$strict>;
|
|
500
|
+
export declare const billingRefundResolutionRequestSchema: import("zod").ZodObject<{
|
|
501
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
502
|
+
decision: import("zod").ZodEnum<{
|
|
503
|
+
completed: "completed";
|
|
504
|
+
declined: "declined";
|
|
505
|
+
}>;
|
|
506
|
+
gross: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
507
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
508
|
+
microdollars: import("zod").ZodString;
|
|
509
|
+
scale: import("zod").ZodLiteral<6>;
|
|
510
|
+
}, import("zod/v4/core").$strip>>;
|
|
511
|
+
providerRefund: import("zod").ZodOptional<import("zod").ZodString>;
|
|
512
|
+
tax: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
513
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
514
|
+
microdollars: import("zod").ZodString;
|
|
515
|
+
scale: import("zod").ZodLiteral<6>;
|
|
516
|
+
}, import("zod/v4/core").$strip>>;
|
|
517
|
+
}, import("zod/v4/core").$strict>;
|
|
518
|
+
export declare const billingRefundRequestViewSchema: import("zod").ZodObject<{
|
|
519
|
+
amount: import("zod").ZodObject<{
|
|
520
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
521
|
+
microdollars: import("zod").ZodString;
|
|
522
|
+
scale: import("zod").ZodLiteral<6>;
|
|
523
|
+
}, import("zod/v4/core").$strip>;
|
|
524
|
+
id: import("zod").ZodString;
|
|
525
|
+
paymentOperation: import("zod").ZodString;
|
|
526
|
+
requestedAt: import("zod").ZodString;
|
|
527
|
+
state: import("zod").ZodLiteral<"operator-review-pending">;
|
|
528
|
+
}, import("zod/v4/core").$strict>;
|
|
529
|
+
export type BillingFundingQuoteRequest = z.infer<typeof billingFundingQuoteRequestSchema>;
|
|
530
|
+
export type BillingFundingQuote = z.infer<typeof billingFundingQuoteSchema>;
|
|
531
|
+
export type BillingAutoTopUpConfiguration = z.infer<typeof billingAutoTopUpConfigurationSchema>;
|
|
532
|
+
export type BillingAutoTopUpRule = z.infer<typeof billingAutoTopUpRuleSchema>;
|
|
533
|
+
export type BillingAutoTopUpPreviewRequest = z.infer<typeof billingAutoTopUpPreviewRequestSchema>;
|
|
534
|
+
export type BillingAutoTopUpPreview = z.infer<typeof billingAutoTopUpPreviewSchema>;
|
|
535
|
+
export type BillingAutoTopUpApplyRequest = z.infer<typeof billingAutoTopUpApplyRequestSchema>;
|
|
536
|
+
export type BillingPurchaseRequest = z.infer<typeof billingPurchaseRequestSchema>;
|
|
537
|
+
export type BillingCeilingUpdateRequest = z.infer<typeof billingCeilingUpdateRequestSchema>;
|
|
538
|
+
export type BillingPaymentOperation = z.infer<typeof billingPaymentOperationSchema>;
|
|
539
|
+
export type BillingFundingView = z.infer<typeof billingFundingViewSchema>;
|
|
540
|
+
export type BillingRefundRequestCreate = z.infer<typeof billingRefundRequestCreateSchema>;
|
|
541
|
+
export type BillingRefundResolutionRequest = z.infer<typeof billingRefundResolutionRequestSchema>;
|
|
542
|
+
export type BillingRefundRequestView = z.infer<typeof billingRefundRequestViewSchema>;
|
|
543
|
+
export declare const billingBudgetUpdateRequestSchema: import("zod").ZodObject<{
|
|
544
|
+
advisoryBudget: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
545
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
546
|
+
microdollars: import("zod").ZodString;
|
|
547
|
+
scale: import("zod").ZodLiteral<6>;
|
|
548
|
+
}, import("zod/v4/core").$strip>>;
|
|
549
|
+
expectedRevision: import("zod").ZodNumber;
|
|
550
|
+
hardCap: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
551
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
552
|
+
microdollars: import("zod").ZodString;
|
|
553
|
+
scale: import("zod").ZodLiteral<6>;
|
|
554
|
+
}, import("zod/v4/core").$strip>>;
|
|
555
|
+
}, import("zod/v4/core").$strip>;
|
|
556
|
+
export type BillingBudgetUpdateRequest = z.infer<typeof billingBudgetUpdateRequestSchema>;
|
|
557
|
+
export declare const billingBudgetPolicySchema: import("zod").ZodObject<{
|
|
558
|
+
desired: import("zod").ZodObject<{
|
|
559
|
+
advisoryBudget: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
560
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
561
|
+
microdollars: import("zod").ZodString;
|
|
562
|
+
scale: import("zod").ZodLiteral<6>;
|
|
563
|
+
}, import("zod/v4/core").$strip>>;
|
|
564
|
+
hardCap: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
565
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
566
|
+
microdollars: import("zod").ZodString;
|
|
567
|
+
scale: import("zod").ZodLiteral<6>;
|
|
568
|
+
}, import("zod/v4/core").$strip>>;
|
|
569
|
+
}, import("zod/v4/core").$strip>;
|
|
570
|
+
desiredRevision: import("zod").ZodNumber;
|
|
571
|
+
effectiveRevision: import("zod").ZodNumber;
|
|
572
|
+
pending: import("zod").ZodBoolean;
|
|
573
|
+
}, import("zod/v4/core").$strip>;
|
|
574
|
+
export declare const billingPeriodSummarySchema: import("zod").ZodObject<{
|
|
575
|
+
advisoryBudget: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
576
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
577
|
+
microdollars: import("zod").ZodString;
|
|
578
|
+
scale: import("zod").ZodLiteral<6>;
|
|
579
|
+
}, import("zod/v4/core").$strip>>;
|
|
580
|
+
hardCap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
581
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
582
|
+
microdollars: import("zod").ZodString;
|
|
583
|
+
scale: import("zod").ZodLiteral<6>;
|
|
584
|
+
}, import("zod/v4/core").$strip>>;
|
|
585
|
+
remainingToHardCap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
586
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
587
|
+
microdollars: import("zod").ZodString;
|
|
588
|
+
scale: import("zod").ZodLiteral<6>;
|
|
589
|
+
}, import("zod/v4/core").$strip>>;
|
|
590
|
+
advisoryBudgetProgress: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
591
|
+
committed: import("zod").ZodObject<{
|
|
592
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
593
|
+
microdollars: import("zod").ZodString;
|
|
594
|
+
scale: import("zod").ZodLiteral<6>;
|
|
595
|
+
}, import("zod/v4/core").$strip>;
|
|
596
|
+
remaining: import("zod").ZodObject<{
|
|
597
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
598
|
+
microdollars: import("zod").ZodString;
|
|
599
|
+
scale: import("zod").ZodLiteral<6>;
|
|
600
|
+
}, import("zod/v4/core").$strip>;
|
|
601
|
+
}, import("zod/v4/core").$strip>>;
|
|
602
|
+
automaticExecutionTopUp: import("zod").ZodObject<{
|
|
603
|
+
cap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
604
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
605
|
+
microdollars: import("zod").ZodString;
|
|
606
|
+
scale: import("zod").ZodLiteral<6>;
|
|
607
|
+
}, import("zod/v4/core").$strip>>;
|
|
608
|
+
pending: import("zod").ZodObject<{
|
|
609
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
610
|
+
microdollars: import("zod").ZodString;
|
|
611
|
+
scale: import("zod").ZodLiteral<6>;
|
|
612
|
+
}, import("zod/v4/core").$strip>;
|
|
613
|
+
remainingToCap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
614
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
615
|
+
microdollars: import("zod").ZodString;
|
|
616
|
+
scale: import("zod").ZodLiteral<6>;
|
|
617
|
+
}, import("zod/v4/core").$strip>>;
|
|
618
|
+
settled: import("zod").ZodObject<{
|
|
619
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
620
|
+
microdollars: import("zod").ZodString;
|
|
621
|
+
scale: import("zod").ZodLiteral<6>;
|
|
622
|
+
}, import("zod/v4/core").$strip>;
|
|
623
|
+
}, import("zod/v4/core").$strip>;
|
|
624
|
+
subscribedProjectFees: import("zod").ZodObject<{
|
|
625
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
626
|
+
microdollars: import("zod").ZodString;
|
|
627
|
+
scale: import("zod").ZodLiteral<6>;
|
|
628
|
+
}, import("zod/v4/core").$strip>;
|
|
629
|
+
reservedUsage: import("zod").ZodObject<{
|
|
630
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
631
|
+
microdollars: import("zod").ZodString;
|
|
632
|
+
scale: import("zod").ZodLiteral<6>;
|
|
633
|
+
}, import("zod/v4/core").$strip>;
|
|
634
|
+
settledUsage: import("zod").ZodObject<{
|
|
635
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
636
|
+
microdollars: import("zod").ZodString;
|
|
637
|
+
scale: import("zod").ZodLiteral<6>;
|
|
638
|
+
}, import("zod/v4/core").$strip>;
|
|
639
|
+
start: import("zod").ZodString;
|
|
640
|
+
end: import("zod").ZodString;
|
|
641
|
+
}, import("zod/v4/core").$strip>;
|
|
642
|
+
export declare const billingSummarySchema: import("zod").ZodObject<{
|
|
643
|
+
activation: import("zod").ZodObject<{
|
|
644
|
+
boundary: import("zod").ZodString;
|
|
645
|
+
mode: import("zod").ZodEnum<{
|
|
646
|
+
disabled: "disabled";
|
|
647
|
+
shadow: "shadow";
|
|
648
|
+
enforced: "enforced";
|
|
649
|
+
}>;
|
|
650
|
+
}, import("zod/v4/core").$strip>;
|
|
651
|
+
blockingReasons: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
652
|
+
"billing-state-missing": "billing-state-missing";
|
|
653
|
+
"billing-account-closed": "billing-account-closed";
|
|
654
|
+
"project-ineligible": "project-ineligible";
|
|
655
|
+
"insufficient-credit": "insufficient-credit";
|
|
656
|
+
"execution-cap-reached": "execution-cap-reached";
|
|
657
|
+
}>>;
|
|
658
|
+
budgetPolicy: import("zod").ZodObject<{
|
|
659
|
+
desired: import("zod").ZodObject<{
|
|
660
|
+
advisoryBudget: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
661
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
662
|
+
microdollars: import("zod").ZodString;
|
|
663
|
+
scale: import("zod").ZodLiteral<6>;
|
|
664
|
+
}, import("zod/v4/core").$strip>>;
|
|
665
|
+
hardCap: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
666
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
667
|
+
microdollars: import("zod").ZodString;
|
|
668
|
+
scale: import("zod").ZodLiteral<6>;
|
|
669
|
+
}, import("zod/v4/core").$strip>>;
|
|
670
|
+
}, import("zod/v4/core").$strip>;
|
|
671
|
+
desiredRevision: import("zod").ZodNumber;
|
|
672
|
+
effectiveRevision: import("zod").ZodNumber;
|
|
673
|
+
pending: import("zod").ZodBoolean;
|
|
674
|
+
}, import("zod/v4/core").$strip>;
|
|
675
|
+
closedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
676
|
+
credit: import("zod").ZodObject<{
|
|
677
|
+
available: import("zod").ZodObject<{
|
|
678
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
679
|
+
microdollars: import("zod").ZodString;
|
|
680
|
+
scale: import("zod").ZodLiteral<6>;
|
|
681
|
+
}, import("zod/v4/core").$strip>;
|
|
682
|
+
consumed: import("zod").ZodObject<{
|
|
683
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
684
|
+
microdollars: import("zod").ZodString;
|
|
685
|
+
scale: import("zod").ZodLiteral<6>;
|
|
686
|
+
}, import("zod/v4/core").$strip>;
|
|
687
|
+
reserved: import("zod").ZodObject<{
|
|
688
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
689
|
+
microdollars: import("zod").ZodString;
|
|
690
|
+
scale: import("zod").ZodLiteral<6>;
|
|
691
|
+
}, import("zod/v4/core").$strip>;
|
|
692
|
+
}, import("zod/v4/core").$strip>;
|
|
693
|
+
desiredRevision: import("zod").ZodNumber;
|
|
694
|
+
effectiveRevision: import("zod").ZodNumber;
|
|
695
|
+
freshness: import("zod").ZodObject<{
|
|
696
|
+
kind: import("zod").ZodLiteral<"authoritative">;
|
|
697
|
+
}, import("zod/v4/core").$strip>;
|
|
698
|
+
includedProject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
699
|
+
period: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
700
|
+
advisoryBudget: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
701
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
702
|
+
microdollars: import("zod").ZodString;
|
|
703
|
+
scale: import("zod").ZodLiteral<6>;
|
|
704
|
+
}, import("zod/v4/core").$strip>>;
|
|
705
|
+
hardCap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
706
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
707
|
+
microdollars: import("zod").ZodString;
|
|
708
|
+
scale: import("zod").ZodLiteral<6>;
|
|
709
|
+
}, import("zod/v4/core").$strip>>;
|
|
710
|
+
remainingToHardCap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
711
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
712
|
+
microdollars: import("zod").ZodString;
|
|
713
|
+
scale: import("zod").ZodLiteral<6>;
|
|
714
|
+
}, import("zod/v4/core").$strip>>;
|
|
715
|
+
advisoryBudgetProgress: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
716
|
+
committed: import("zod").ZodObject<{
|
|
717
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
718
|
+
microdollars: import("zod").ZodString;
|
|
719
|
+
scale: import("zod").ZodLiteral<6>;
|
|
720
|
+
}, import("zod/v4/core").$strip>;
|
|
721
|
+
remaining: import("zod").ZodObject<{
|
|
722
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
723
|
+
microdollars: import("zod").ZodString;
|
|
724
|
+
scale: import("zod").ZodLiteral<6>;
|
|
725
|
+
}, import("zod/v4/core").$strip>;
|
|
726
|
+
}, import("zod/v4/core").$strip>>;
|
|
727
|
+
automaticExecutionTopUp: import("zod").ZodObject<{
|
|
728
|
+
cap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
729
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
730
|
+
microdollars: import("zod").ZodString;
|
|
731
|
+
scale: import("zod").ZodLiteral<6>;
|
|
732
|
+
}, import("zod/v4/core").$strip>>;
|
|
733
|
+
pending: import("zod").ZodObject<{
|
|
734
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
735
|
+
microdollars: import("zod").ZodString;
|
|
736
|
+
scale: import("zod").ZodLiteral<6>;
|
|
737
|
+
}, import("zod/v4/core").$strip>;
|
|
738
|
+
remainingToCap: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
739
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
740
|
+
microdollars: import("zod").ZodString;
|
|
741
|
+
scale: import("zod").ZodLiteral<6>;
|
|
742
|
+
}, import("zod/v4/core").$strip>>;
|
|
743
|
+
settled: import("zod").ZodObject<{
|
|
744
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
745
|
+
microdollars: import("zod").ZodString;
|
|
746
|
+
scale: import("zod").ZodLiteral<6>;
|
|
747
|
+
}, import("zod/v4/core").$strip>;
|
|
748
|
+
}, import("zod/v4/core").$strip>;
|
|
749
|
+
subscribedProjectFees: import("zod").ZodObject<{
|
|
750
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
751
|
+
microdollars: import("zod").ZodString;
|
|
752
|
+
scale: import("zod").ZodLiteral<6>;
|
|
753
|
+
}, import("zod/v4/core").$strip>;
|
|
754
|
+
reservedUsage: import("zod").ZodObject<{
|
|
755
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
756
|
+
microdollars: import("zod").ZodString;
|
|
757
|
+
scale: import("zod").ZodLiteral<6>;
|
|
758
|
+
}, import("zod/v4/core").$strip>;
|
|
759
|
+
settledUsage: import("zod").ZodObject<{
|
|
760
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
761
|
+
microdollars: import("zod").ZodString;
|
|
762
|
+
scale: import("zod").ZodLiteral<6>;
|
|
763
|
+
}, import("zod/v4/core").$strip>;
|
|
764
|
+
start: import("zod").ZodString;
|
|
765
|
+
end: import("zod").ZodString;
|
|
766
|
+
}, import("zod/v4/core").$strip>>;
|
|
767
|
+
pending: import("zod").ZodBoolean;
|
|
768
|
+
priceVersion: import("zod").ZodString;
|
|
769
|
+
trialExpiresAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
770
|
+
}, import("zod/v4/core").$strip>;
|
|
771
|
+
export type BillingSummaryView = z.infer<typeof billingSummarySchema>;
|
|
772
|
+
export declare const billingBudgetUpdateResponseSchema: import("zod").ZodObject<{
|
|
773
|
+
budgetPolicy: import("zod").ZodObject<{
|
|
774
|
+
desired: import("zod").ZodObject<{
|
|
775
|
+
advisoryBudget: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
776
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
777
|
+
microdollars: import("zod").ZodString;
|
|
778
|
+
scale: import("zod").ZodLiteral<6>;
|
|
779
|
+
}, import("zod/v4/core").$strip>>;
|
|
780
|
+
hardCap: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
781
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
782
|
+
microdollars: import("zod").ZodString;
|
|
783
|
+
scale: import("zod").ZodLiteral<6>;
|
|
784
|
+
}, import("zod/v4/core").$strip>>;
|
|
785
|
+
}, import("zod/v4/core").$strip>;
|
|
786
|
+
desiredRevision: import("zod").ZodNumber;
|
|
787
|
+
effectiveRevision: import("zod").ZodNumber;
|
|
788
|
+
pending: import("zod").ZodBoolean;
|
|
789
|
+
}, import("zod/v4/core").$strip>;
|
|
790
|
+
freshness: import("zod").ZodObject<{
|
|
791
|
+
kind: import("zod").ZodLiteral<"authoritative">;
|
|
792
|
+
}, import("zod/v4/core").$strip>;
|
|
793
|
+
}, import("zod/v4/core").$strip>;
|
|
794
|
+
export type BillingBudgetUpdateResponse = z.infer<typeof billingBudgetUpdateResponseSchema>;
|
|
795
|
+
export declare const billingBudgetUpdateRequestHeadersSchema: import("zod").ZodObject<{
|
|
796
|
+
"Idempotency-Key": import("zod").ZodString;
|
|
797
|
+
}, import("zod/v4/core").$strip>;
|
|
798
|
+
export declare const billingLedgerEntrySchema: import("zod").ZodObject<{
|
|
799
|
+
amount: import("zod").ZodObject<{
|
|
800
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
801
|
+
microdollars: import("zod").ZodString;
|
|
802
|
+
scale: import("zod").ZodLiteral<6>;
|
|
803
|
+
}, import("zod/v4/core").$strip>;
|
|
804
|
+
kind: import("zod").ZodEnum<{
|
|
805
|
+
credit_granted: "credit_granted";
|
|
806
|
+
credit_reversed: "credit_reversed";
|
|
807
|
+
attempt_debited: "attempt_debited";
|
|
808
|
+
attempt_released: "attempt_released";
|
|
809
|
+
shadow_attempt_debited: "shadow_attempt_debited";
|
|
810
|
+
shadow_attempt_released: "shadow_attempt_released";
|
|
811
|
+
late_evidence_waived: "late_evidence_waived";
|
|
812
|
+
policy_installed: "policy_installed";
|
|
813
|
+
budget_policy_updated: "budget_policy_updated";
|
|
814
|
+
budget_threshold_reached: "budget_threshold_reached";
|
|
815
|
+
budget_exhausted: "budget_exhausted";
|
|
816
|
+
budget_recovered: "budget_recovered";
|
|
817
|
+
automatic_charge_ceiling_updated: "automatic_charge_ceiling_updated";
|
|
818
|
+
payment_reserved: "payment_reserved";
|
|
819
|
+
payment_submitted: "payment_submitted";
|
|
820
|
+
payment_pending: "payment_pending";
|
|
821
|
+
payment_paid: "payment_paid";
|
|
822
|
+
payment_failed: "payment_failed";
|
|
823
|
+
payment_canceled: "payment_canceled";
|
|
824
|
+
payment_authentication_required: "payment_authentication_required";
|
|
825
|
+
payment_action_required: "payment_action_required";
|
|
826
|
+
payment_refunded: "payment_refunded";
|
|
827
|
+
payment_disputed: "payment_disputed";
|
|
828
|
+
payment_reversed: "payment_reversed";
|
|
829
|
+
payment_dispute_restored: "payment_dispute_restored";
|
|
830
|
+
refund_requested: "refund_requested";
|
|
831
|
+
payment_refund_canceled: "payment_refund_canceled";
|
|
832
|
+
automatic_top_up_cap_reached: "automatic_top_up_cap_reached";
|
|
833
|
+
automatic_charge_threshold_reached: "automatic_charge_threshold_reached";
|
|
834
|
+
automatic_charge_threshold_recovered: "automatic_charge_threshold_recovered";
|
|
835
|
+
low_credit_reached: "low_credit_reached";
|
|
836
|
+
low_credit_recovered: "low_credit_recovered";
|
|
837
|
+
notification_settings_updated: "notification_settings_updated";
|
|
838
|
+
service_blocked: "service_blocked";
|
|
839
|
+
service_restored: "service_restored";
|
|
840
|
+
}>;
|
|
841
|
+
period: import("zod").ZodOptional<import("zod").ZodString>;
|
|
842
|
+
recordedAt: import("zod").ZodString;
|
|
843
|
+
reference: import("zod").ZodObject<{
|
|
844
|
+
attempt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
845
|
+
creditLot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
846
|
+
event: import("zod").ZodString;
|
|
847
|
+
paymentOperation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
848
|
+
}, import("zod/v4/core").$strip>;
|
|
849
|
+
sequence: import("zod").ZodString;
|
|
850
|
+
}, import("zod/v4/core").$strip>;
|
|
851
|
+
export type BillingLedgerEntryView = z.infer<typeof billingLedgerEntrySchema>;
|
|
852
|
+
export declare const billingLedgerRequestSchema: import("zod").ZodObject<{
|
|
853
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
854
|
+
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
855
|
+
}, import("zod/v4/core").$strip>;
|
|
856
|
+
export type BillingLedgerRequest = z.infer<typeof billingLedgerRequestSchema>;
|
|
857
|
+
export declare const billingLedgerPageSchema: import("zod").ZodObject<{
|
|
858
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
859
|
+
amount: import("zod").ZodObject<{
|
|
860
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
861
|
+
microdollars: import("zod").ZodString;
|
|
862
|
+
scale: import("zod").ZodLiteral<6>;
|
|
863
|
+
}, import("zod/v4/core").$strip>;
|
|
864
|
+
kind: import("zod").ZodEnum<{
|
|
865
|
+
credit_granted: "credit_granted";
|
|
866
|
+
credit_reversed: "credit_reversed";
|
|
867
|
+
attempt_debited: "attempt_debited";
|
|
868
|
+
attempt_released: "attempt_released";
|
|
869
|
+
shadow_attempt_debited: "shadow_attempt_debited";
|
|
870
|
+
shadow_attempt_released: "shadow_attempt_released";
|
|
871
|
+
late_evidence_waived: "late_evidence_waived";
|
|
872
|
+
policy_installed: "policy_installed";
|
|
873
|
+
budget_policy_updated: "budget_policy_updated";
|
|
874
|
+
budget_threshold_reached: "budget_threshold_reached";
|
|
875
|
+
budget_exhausted: "budget_exhausted";
|
|
876
|
+
budget_recovered: "budget_recovered";
|
|
877
|
+
automatic_charge_ceiling_updated: "automatic_charge_ceiling_updated";
|
|
878
|
+
payment_reserved: "payment_reserved";
|
|
879
|
+
payment_submitted: "payment_submitted";
|
|
880
|
+
payment_pending: "payment_pending";
|
|
881
|
+
payment_paid: "payment_paid";
|
|
882
|
+
payment_failed: "payment_failed";
|
|
883
|
+
payment_canceled: "payment_canceled";
|
|
884
|
+
payment_authentication_required: "payment_authentication_required";
|
|
885
|
+
payment_action_required: "payment_action_required";
|
|
886
|
+
payment_refunded: "payment_refunded";
|
|
887
|
+
payment_disputed: "payment_disputed";
|
|
888
|
+
payment_reversed: "payment_reversed";
|
|
889
|
+
payment_dispute_restored: "payment_dispute_restored";
|
|
890
|
+
refund_requested: "refund_requested";
|
|
891
|
+
payment_refund_canceled: "payment_refund_canceled";
|
|
892
|
+
automatic_top_up_cap_reached: "automatic_top_up_cap_reached";
|
|
893
|
+
automatic_charge_threshold_reached: "automatic_charge_threshold_reached";
|
|
894
|
+
automatic_charge_threshold_recovered: "automatic_charge_threshold_recovered";
|
|
895
|
+
low_credit_reached: "low_credit_reached";
|
|
896
|
+
low_credit_recovered: "low_credit_recovered";
|
|
897
|
+
notification_settings_updated: "notification_settings_updated";
|
|
898
|
+
service_blocked: "service_blocked";
|
|
899
|
+
service_restored: "service_restored";
|
|
900
|
+
}>;
|
|
901
|
+
period: import("zod").ZodOptional<import("zod").ZodString>;
|
|
902
|
+
recordedAt: import("zod").ZodString;
|
|
903
|
+
reference: import("zod").ZodObject<{
|
|
904
|
+
attempt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
905
|
+
creditLot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
906
|
+
event: import("zod").ZodString;
|
|
907
|
+
paymentOperation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
908
|
+
}, import("zod/v4/core").$strip>;
|
|
909
|
+
sequence: import("zod").ZodString;
|
|
910
|
+
}, import("zod/v4/core").$strip>>;
|
|
911
|
+
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
912
|
+
freshness: import("zod").ZodObject<{
|
|
913
|
+
kind: import("zod").ZodLiteral<"authoritative">;
|
|
914
|
+
}, import("zod/v4/core").$strip>;
|
|
915
|
+
}, import("zod/v4/core").$strip>;
|
|
916
|
+
export type BillingLedgerPage = z.infer<typeof billingLedgerPageSchema>;
|
|
917
|
+
export declare const PROJECT_BILLING_ACTIONS: readonly ["add", "cancel", "transfer-included"];
|
|
918
|
+
export declare const projectBillingQuoteRequestSchema: import("zod").ZodObject<{
|
|
919
|
+
action: import("zod").ZodEnum<{
|
|
920
|
+
add: "add";
|
|
921
|
+
cancel: "cancel";
|
|
922
|
+
"transfer-included": "transfer-included";
|
|
923
|
+
}>;
|
|
924
|
+
project: import("zod").ZodString;
|
|
925
|
+
fromProject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
926
|
+
}, import("zod/v4/core").$strict>;
|
|
927
|
+
export declare const projectBillingQuoteSchema: import("zod").ZodObject<{
|
|
928
|
+
action: import("zod").ZodEnum<{
|
|
929
|
+
add: "add";
|
|
930
|
+
cancel: "cancel";
|
|
931
|
+
"transfer-included": "transfer-included";
|
|
932
|
+
}>;
|
|
933
|
+
project: import("zod").ZodString;
|
|
934
|
+
fromProject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
935
|
+
quote: import("zod").ZodString;
|
|
936
|
+
expectedRevision: import("zod").ZodNumber;
|
|
937
|
+
expiresAt: import("zod").ZodString;
|
|
938
|
+
charge: import("zod").ZodObject<{
|
|
939
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
940
|
+
microdollars: import("zod").ZodString;
|
|
941
|
+
scale: import("zod").ZodLiteral<6>;
|
|
942
|
+
}, import("zod/v4/core").$strip>;
|
|
943
|
+
monthlyProjectFees: import("zod").ZodObject<{
|
|
944
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
945
|
+
microdollars: import("zod").ZodString;
|
|
946
|
+
scale: import("zod").ZodLiteral<6>;
|
|
947
|
+
}, import("zod/v4/core").$strip>;
|
|
948
|
+
effectiveAt: import("zod").ZodString;
|
|
949
|
+
formerIncludedWillBlock: import("zod").ZodBoolean;
|
|
950
|
+
}, import("zod/v4/core").$strict>;
|
|
951
|
+
export declare const projectBillingChangeRequestSchema: import("zod").ZodObject<{
|
|
952
|
+
quote: import("zod").ZodString;
|
|
953
|
+
expectedRevision: import("zod").ZodNumber;
|
|
954
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
955
|
+
}, import("zod/v4/core").$strict>;
|
|
956
|
+
export declare const projectBillingStateSchema: import("zod").ZodObject<{
|
|
957
|
+
includedProject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
958
|
+
desiredRevision: import("zod").ZodNumber;
|
|
959
|
+
effectiveRevision: import("zod").ZodNumber;
|
|
960
|
+
pending: import("zod").ZodBoolean;
|
|
961
|
+
recurringProjectFees: import("zod").ZodObject<{
|
|
962
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
963
|
+
microdollars: import("zod").ZodString;
|
|
964
|
+
scale: import("zod").ZodLiteral<6>;
|
|
965
|
+
}, import("zod/v4/core").$strip>;
|
|
966
|
+
projects: import("zod").ZodArray<import("zod").ZodObject<{
|
|
967
|
+
name: import("zod").ZodString;
|
|
968
|
+
project: import("zod").ZodString;
|
|
969
|
+
access: import("zod").ZodEnum<{
|
|
970
|
+
paid: "paid";
|
|
971
|
+
included: "included";
|
|
972
|
+
blocked: "blocked";
|
|
973
|
+
}>;
|
|
974
|
+
paidThroughAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
975
|
+
renewalGraceUntil: import("zod").ZodOptional<import("zod").ZodString>;
|
|
976
|
+
cancellationAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
977
|
+
deleted: import("zod").ZodBoolean;
|
|
978
|
+
}, import("zod/v4/core").$strip>>;
|
|
979
|
+
pendingOperations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
980
|
+
id: import("zod").ZodString;
|
|
981
|
+
kind: import("zod").ZodEnum<{
|
|
982
|
+
add: "add";
|
|
983
|
+
cancel: "cancel";
|
|
984
|
+
}>;
|
|
985
|
+
project: import("zod").ZodString;
|
|
986
|
+
state: import("zod").ZodEnum<{
|
|
987
|
+
pending: "pending";
|
|
988
|
+
"action-required": "action-required";
|
|
989
|
+
}>;
|
|
990
|
+
paymentUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
991
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
992
|
+
}, import("zod/v4/core").$strip>>;
|
|
993
|
+
}, import("zod/v4/core").$strip>;
|
|
994
|
+
export declare const billingPortalSchema: import("zod").ZodObject<{
|
|
995
|
+
url: import("zod").ZodString;
|
|
996
|
+
}, import("zod/v4/core").$strip>;
|
|
997
|
+
export type ProjectBillingQuoteRequest = z.infer<typeof projectBillingQuoteRequestSchema>;
|
|
998
|
+
export type ProjectBillingQuote = z.infer<typeof projectBillingQuoteSchema>;
|
|
999
|
+
export type ProjectBillingChangeRequest = z.infer<typeof projectBillingChangeRequestSchema>;
|
|
1000
|
+
export type ProjectBillingState = z.infer<typeof projectBillingStateSchema>;
|
|
1001
|
+
export {};
|