@fantastic.dev/better-stripe 0.54.0 → 0.56.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/README.md +3 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +264 -8
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +132 -4
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +264 -8
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +132 -4
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/usage/catalogPrices.d.ts +2 -0
- package/dist/client/usage/catalogPrices.d.ts.map +1 -1
- package/dist/client/usage/catalogPrices.js +15 -0
- package/dist/client/usage/catalogPrices.js.map +1 -1
- package/dist/client/usage/client.d.ts +2 -2
- package/dist/client/usage/client.d.ts.map +1 -1
- package/dist/client/usage/client.js +2 -2
- package/dist/client/usage/client.js.map +1 -1
- package/dist/client/usage/deliveryProvider.d.ts.map +1 -1
- package/dist/client/usage/deliveryProvider.js +26 -1
- package/dist/client/usage/deliveryProvider.js.map +1 -1
- package/dist/client/usage/index.d.ts +9 -0
- package/dist/client/usage/index.d.ts.map +1 -1
- package/dist/client/usage/index.js +1 -0
- package/dist/client/usage/index.js.map +1 -1
- package/dist/client/usage/invoiceObservation.d.ts +38 -0
- package/dist/client/usage/invoiceObservation.d.ts.map +1 -0
- package/dist/client/usage/invoiceObservation.js +157 -0
- package/dist/client/usage/invoiceObservation.js.map +1 -0
- package/dist/client/usage/observationClient.d.ts +83 -0
- package/dist/client/usage/observationClient.d.ts.map +1 -0
- package/dist/client/usage/observationClient.js +157 -0
- package/dist/client/usage/observationClient.js.map +1 -0
- package/dist/client/usage/observationTypes.d.ts +63 -0
- package/dist/client/usage/observationTypes.d.ts.map +1 -0
- package/dist/client/usage/observationTypes.js +59 -0
- package/dist/client/usage/observationTypes.js.map +1 -0
- package/dist/client/usage/providerObservation.d.ts +4 -0
- package/dist/client/usage/providerObservation.d.ts.map +1 -0
- package/dist/client/usage/providerObservation.js +96 -0
- package/dist/client/usage/providerObservation.js.map +1 -0
- package/dist/client/usage/reconciliation.d.ts +12 -0
- package/dist/client/usage/reconciliation.d.ts.map +1 -0
- package/dist/client/usage/reconciliation.js +48 -0
- package/dist/client/usage/reconciliation.js.map +1 -0
- package/dist/client/usage/subscription.fixtures.d.ts +118 -0
- package/dist/client/usage/subscription.fixtures.d.ts.map +1 -0
- package/dist/client/usage/subscription.fixtures.js +84 -0
- package/dist/client/usage/subscription.fixtures.js.map +1 -0
- package/dist/client/usage/subscriptionAbandonment.d.ts +8 -0
- package/dist/client/usage/subscriptionAbandonment.d.ts.map +1 -0
- package/dist/client/usage/subscriptionAbandonment.js +82 -0
- package/dist/client/usage/subscriptionAbandonment.js.map +1 -0
- package/dist/client/usage/subscriptionCancellation.d.ts +9 -0
- package/dist/client/usage/subscriptionCancellation.d.ts.map +1 -0
- package/dist/client/usage/subscriptionCancellation.js +39 -0
- package/dist/client/usage/subscriptionCancellation.js.map +1 -0
- package/dist/client/usage/subscriptionCheckout.d.ts +52 -0
- package/dist/client/usage/subscriptionCheckout.d.ts.map +1 -0
- package/dist/client/usage/subscriptionCheckout.js +94 -0
- package/dist/client/usage/subscriptionCheckout.js.map +1 -0
- package/dist/client/usage/subscriptionClient.d.ts +267 -0
- package/dist/client/usage/subscriptionClient.d.ts.map +1 -0
- package/dist/client/usage/subscriptionClient.js +93 -0
- package/dist/client/usage/subscriptionClient.js.map +1 -0
- package/dist/client/usage/subscriptionErrors.d.ts +5 -0
- package/dist/client/usage/subscriptionErrors.d.ts.map +1 -0
- package/dist/client/usage/subscriptionErrors.js +9 -0
- package/dist/client/usage/subscriptionErrors.js.map +1 -0
- package/dist/client/usage/subscriptionInvoiceSchema.d.ts +203 -0
- package/dist/client/usage/subscriptionInvoiceSchema.d.ts.map +1 -0
- package/dist/client/usage/subscriptionInvoiceSchema.js +108 -0
- package/dist/client/usage/subscriptionInvoiceSchema.js.map +1 -0
- package/dist/client/usage/subscriptionLifecycle.d.ts +80 -0
- package/dist/client/usage/subscriptionLifecycle.d.ts.map +1 -0
- package/dist/client/usage/subscriptionLifecycle.js +87 -0
- package/dist/client/usage/subscriptionLifecycle.js.map +1 -0
- package/dist/client/usage/subscriptionProvider.d.ts +111 -0
- package/dist/client/usage/subscriptionProvider.d.ts.map +1 -0
- package/dist/client/usage/subscriptionProvider.js +147 -0
- package/dist/client/usage/subscriptionProvider.js.map +1 -0
- package/dist/client/usage/subscriptionTerms.d.ts +161 -0
- package/dist/client/usage/subscriptionTerms.d.ts.map +1 -0
- package/dist/client/usage/subscriptionTerms.js +242 -0
- package/dist/client/usage/subscriptionTerms.js.map +1 -0
- package/dist/client/usage/subscriptionTransport.fixtures.d.ts +25 -0
- package/dist/client/usage/subscriptionTransport.fixtures.d.ts.map +1 -0
- package/dist/client/usage/subscriptionTransport.fixtures.js +203 -0
- package/dist/client/usage/subscriptionTransport.fixtures.js.map +1 -0
- package/dist/client/usage/summary.d.ts +50 -0
- package/dist/client/usage/summary.d.ts.map +1 -0
- package/dist/client/usage/summary.js +110 -0
- package/dist/client/usage/summary.js.map +1 -0
- package/dist/client/webhooks/processors.d.ts.map +1 -1
- package/dist/client/webhooks/processors.js +2 -0
- package/dist/client/webhooks/processors.js.map +1 -1
- package/dist/client/webhooks/usageSubscriptions.d.ts +5 -0
- package/dist/client/webhooks/usageSubscriptions.d.ts.map +1 -0
- package/dist/client/webhooks/usageSubscriptions.js +54 -0
- package/dist/client/webhooks/usageSubscriptions.js.map +1 -0
- package/dist/component/_generated/api.d.ts +22 -0
- package/dist/component/_generated/api.d.ts.map +1 -1
- package/dist/component/_generated/api.js.map +1 -1
- package/dist/component/_generated/component.d.ts +255 -5
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/accountClosure/mutations.d.ts.map +1 -1
- package/dist/component/accountClosure/mutations.js +10 -0
- package/dist/component/accountClosure/mutations.js.map +1 -1
- package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
- package/dist/component/balanceFunding/mutations.d.ts +16 -16
- package/dist/component/balanceFunding/preparationHandlers.d.ts +8 -8
- package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
- package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
- package/dist/component/earnings/triggers.d.ts +296 -22
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/payoutRelease/queries.d.ts +2 -2
- package/dist/component/payoutRelease/queries.d.ts.map +1 -1
- package/dist/component/refundHistory/queries.d.ts +1 -1
- package/dist/component/schema.d.ts +132 -4
- package/dist/component/schema.js +8 -0
- package/dist/component/schema.js.map +1 -1
- package/dist/component/usage/mutations.d.ts.map +1 -1
- package/dist/component/usage/mutations.js +5 -0
- package/dist/component/usage/mutations.js.map +1 -1
- package/dist/component/usage/queries.d.ts +2 -0
- package/dist/component/usage/queries.d.ts.map +1 -1
- package/dist/component/usage/schema.d.ts +21 -9
- package/dist/component/usage/schema.d.ts.map +1 -1
- package/dist/component/usage/schema.js +5 -1
- package/dist/component/usage/schema.js.map +1 -1
- package/dist/component/usageDelivery/fields.d.ts +4 -2
- package/dist/component/usageDelivery/fields.d.ts.map +1 -1
- package/dist/component/usageDelivery/fields.js +3 -1
- package/dist/component/usageDelivery/fields.js.map +1 -1
- package/dist/component/usageDelivery/helpers.d.ts +5 -3
- package/dist/component/usageDelivery/helpers.d.ts.map +1 -1
- package/dist/component/usageDelivery/mutations.d.ts +3 -3
- package/dist/component/usageDelivery/mutations.d.ts.map +1 -1
- package/dist/component/usageDelivery/mutations.js +8 -1
- package/dist/component/usageDelivery/mutations.js.map +1 -1
- package/dist/component/usageDelivery/queries.d.ts +19 -3
- package/dist/component/usageDelivery/queries.d.ts.map +1 -1
- package/dist/component/usageDelivery/queries.js +20 -3
- package/dist/component/usageDelivery/queries.js.map +1 -1
- package/dist/component/usageDelivery/schema.d.ts +2 -2
- package/dist/component/usageDelivery/steps.d.ts +1 -1
- package/dist/component/usageDelivery/steps.d.ts.map +1 -1
- package/dist/component/usageDelivery/steps.js +20 -2
- package/dist/component/usageDelivery/steps.js.map +1 -1
- package/dist/component/usageObservations/helpers.d.ts +38 -0
- package/dist/component/usageObservations/helpers.d.ts.map +1 -0
- package/dist/component/usageObservations/helpers.js +80 -0
- package/dist/component/usageObservations/helpers.js.map +1 -0
- package/dist/component/usageObservations/history.d.ts +6 -0
- package/dist/component/usageObservations/history.d.ts.map +1 -0
- package/dist/component/usageObservations/history.js +29 -0
- package/dist/component/usageObservations/history.js.map +1 -0
- package/dist/component/usageObservations/mutations.d.ts +6 -0
- package/dist/component/usageObservations/mutations.d.ts.map +1 -0
- package/dist/component/usageObservations/mutations.js +39 -0
- package/dist/component/usageObservations/mutations.js.map +1 -0
- package/dist/component/usageObservations/queries.d.ts +78 -0
- package/dist/component/usageObservations/queries.d.ts.map +1 -0
- package/dist/component/usageObservations/queries.js +131 -0
- package/dist/component/usageObservations/queries.js.map +1 -0
- package/dist/component/usageObservations/schema.d.ts +72 -0
- package/dist/component/usageObservations/schema.d.ts.map +1 -0
- package/dist/component/usageObservations/schema.js +29 -0
- package/dist/component/usageObservations/schema.js.map +1 -0
- package/dist/component/usageSubscriptions/abandonment.d.ts +4 -0
- package/dist/component/usageSubscriptions/abandonment.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/abandonment.js +59 -0
- package/dist/component/usageSubscriptions/abandonment.js.map +1 -0
- package/dist/component/usageSubscriptions/acceptance.d.ts +11 -0
- package/dist/component/usageSubscriptions/acceptance.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/acceptance.js +38 -0
- package/dist/component/usageSubscriptions/acceptance.js.map +1 -0
- package/dist/component/usageSubscriptions/helpers.d.ts +39 -0
- package/dist/component/usageSubscriptions/helpers.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/helpers.js +28 -0
- package/dist/component/usageSubscriptions/helpers.js.map +1 -0
- package/dist/component/usageSubscriptions/history.d.ts +46 -0
- package/dist/component/usageSubscriptions/history.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/history.js +46 -0
- package/dist/component/usageSubscriptions/history.js.map +1 -0
- package/dist/component/usageSubscriptions/mutations.d.ts +64 -0
- package/dist/component/usageSubscriptions/mutations.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/mutations.js +252 -0
- package/dist/component/usageSubscriptions/mutations.js.map +1 -0
- package/dist/component/usageSubscriptions/queries.d.ts +81 -0
- package/dist/component/usageSubscriptions/queries.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/queries.js +70 -0
- package/dist/component/usageSubscriptions/queries.js.map +1 -0
- package/dist/component/usageSubscriptions/retirement.d.ts +4 -0
- package/dist/component/usageSubscriptions/retirement.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/retirement.js +80 -0
- package/dist/component/usageSubscriptions/retirement.js.map +1 -0
- package/dist/component/usageSubscriptions/schema.d.ts +191 -0
- package/dist/component/usageSubscriptions/schema.d.ts.map +1 -0
- package/dist/component/usageSubscriptions/schema.js +69 -0
- package/dist/component/usageSubscriptions/schema.js.map +1 -0
- package/dist/test.d.ts +6 -0
- package/dist/test.d.ts.map +1 -0
- package/dist/test.js +15 -0
- package/dist/test.js.map +1 -0
- package/docs/README.md +4 -0
- package/docs/evidence/native-metering/clock-finalization-run.json +129 -0
- package/docs/evidence/native-metering/clock-lag-run.json +111 -0
- package/docs/evidence/native-metering/paid-run.json +107 -0
- package/docs/evidence/native-metering/promotional-run.json +103 -0
- package/docs/metered-usage.md +14 -0
- package/docs/metering-setup.md +7 -1
- package/docs/usage-observations.md +152 -0
- package/docs/usage-subscriptions.md +278 -0
- package/package.json +5 -2
- package/src/client/index.ts +26 -0
- package/src/client/usage/catalogPrices.ts +21 -0
- package/src/client/usage/client.ts +2 -2
- package/src/client/usage/deliveryProvider.test.ts +70 -1
- package/src/client/usage/deliveryProvider.ts +43 -2
- package/src/client/usage/index.ts +27 -0
- package/src/client/usage/invoiceObservation.test.ts +195 -0
- package/src/client/usage/invoiceObservation.ts +203 -0
- package/src/client/usage/observationClient.ts +233 -0
- package/src/client/usage/observationTypes.ts +101 -0
- package/src/client/usage/providerObservation.test.ts +207 -0
- package/src/client/usage/providerObservation.ts +124 -0
- package/src/client/usage/reconciliation.test.ts +117 -0
- package/src/client/usage/reconciliation.ts +86 -0
- package/src/client/usage/subscription.fixtures.ts +84 -0
- package/src/client/usage/subscriptionAbandonment.test.ts +124 -0
- package/src/client/usage/subscriptionAbandonment.ts +116 -0
- package/src/client/usage/subscriptionCancellation.ts +90 -0
- package/src/client/usage/subscriptionCheckout.test.ts +31 -0
- package/src/client/usage/subscriptionCheckout.ts +152 -0
- package/src/client/usage/subscriptionClient.test.ts +316 -0
- package/src/client/usage/subscriptionClient.ts +204 -0
- package/src/client/usage/subscriptionErrors.ts +14 -0
- package/src/client/usage/subscriptionInvoiceSchema.ts +116 -0
- package/src/client/usage/subscriptionLifecycle.ts +165 -0
- package/src/client/usage/subscriptionProvider.test.ts +48 -0
- package/src/client/usage/subscriptionProvider.ts +247 -0
- package/src/client/usage/subscriptionTerms.test.ts +158 -0
- package/src/client/usage/subscriptionTerms.ts +294 -0
- package/src/client/usage/subscriptionTransport.fixtures.ts +241 -0
- package/src/client/usage/summary.test.ts +222 -0
- package/src/client/usage/summary.ts +188 -0
- package/src/client/webhooks/processors.ts +2 -0
- package/src/client/webhooks/usageSubscriptions.test.ts +162 -0
- package/src/client/webhooks/usageSubscriptions.ts +81 -0
- package/src/component/_generated/api.ts +22 -0
- package/src/component/_generated/component.ts +335 -0
- package/src/component/accountClosure/mutations.ts +12 -0
- package/src/component/schema.ts +16 -0
- package/src/component/usage/mutations.ts +5 -0
- package/src/component/usage/schema.ts +5 -1
- package/src/component/usageDelivery/fields.ts +3 -0
- package/src/component/usageDelivery/mutations.ts +26 -1
- package/src/component/usageDelivery/queries.ts +30 -3
- package/src/component/usageDelivery/steps.ts +61 -2
- package/src/component/usageObservations/helpers.ts +95 -0
- package/src/component/usageObservations/history.test.ts +87 -0
- package/src/component/usageObservations/history.ts +39 -0
- package/src/component/usageObservations/mutations.ts +39 -0
- package/src/component/usageObservations/queries.test.ts +162 -0
- package/src/component/usageObservations/queries.ts +145 -0
- package/src/component/usageObservations/schema.ts +40 -0
- package/src/component/usageSubscriptions/abandonment.ts +80 -0
- package/src/component/usageSubscriptions/acceptance.test.ts +122 -0
- package/src/component/usageSubscriptions/acceptance.ts +66 -0
- package/src/component/usageSubscriptions/helpers.ts +33 -0
- package/src/component/usageSubscriptions/history.test.ts +69 -0
- package/src/component/usageSubscriptions/history.ts +68 -0
- package/src/component/usageSubscriptions/mutations.test.ts +205 -0
- package/src/component/usageSubscriptions/mutations.ts +275 -0
- package/src/component/usageSubscriptions/queries.ts +78 -0
- package/src/component/usageSubscriptions/retirement.ts +105 -0
- package/src/component/usageSubscriptions/schema.ts +73 -0
package/CHANGELOG.md
CHANGED
|
@@ -26,6 +26,18 @@
|
|
|
26
26
|
- Remove internal tracker references from public documentation and add a
|
|
27
27
|
regression check that prevents their reintroduction.
|
|
28
28
|
|
|
29
|
+
## [0.56.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.55.0...v0.56.0) (2026-10-18)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
- manage metered subscriptions and invoice lifecycle ([#329](https://github.com/FantasticDevHQ/better-stripe/issues/329)) ([460e473](https://github.com/FantasticDevHQ/better-stripe/commit/460e473fec47da38acde0f1f61c843fe47336071))
|
|
34
|
+
|
|
35
|
+
## [0.55.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.54.0...v0.55.0) (2026-10-18)
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
- add scoped usage observations, audit history and reconciliation ([#327](https://github.com/FantasticDevHQ/better-stripe/issues/327)) ([b604728](https://github.com/FantasticDevHQ/better-stripe/commit/b6047284b60523827961182045e2643aa7f8ac32))
|
|
40
|
+
|
|
29
41
|
## [0.54.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.53.0...v0.54.0) (2026-10-18)
|
|
30
42
|
|
|
31
43
|
### Features
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ billing, and Connect marketplaces. It provides checkout, subscriptions, webhook
|
|
|
5
5
|
syncing, marketplace fees and splits, payouts, refunds, and disputes, with React
|
|
6
6
|
hooks and headless UI components.
|
|
7
7
|
|
|
8
|
-
**Version**: `0.
|
|
8
|
+
**Version**: `0.56.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
|
|
9
9
|
|
|
10
10
|
Connect platforms use the default GA API version. Non-Connect merchants using
|
|
11
11
|
customer-only Accounts v2 need preview access and an explicit preview version.
|
|
@@ -130,3 +130,5 @@ MIT
|
|
|
130
130
|
## Metered usage
|
|
131
131
|
|
|
132
132
|
Native Stripe integration supports shared configuration and exact quantity helpers at `@fantastic.dev/better-stripe/usage`. See the [setup guide for developers and AI agents](docs/metering-setup.md) and [contracts and sandbox evidence](docs/metered-usage.md). Operational billing APIs are still under development.
|
|
133
|
+
|
|
134
|
+
[Managed usage subscriptions](docs/usage-subscriptions.md) supports all three billing models, mixed fixed/metered items and Checkout, with retained renewal and invoice provenance.
|
|
@@ -9,6 +9,127 @@ export declare const scope: {
|
|
|
9
9
|
};
|
|
10
10
|
export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
11
11
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
12
|
+
usageSubscriptionControls: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
13
|
+
cancelAtPeriodEnd: boolean;
|
|
14
|
+
firstAttemptAt: number;
|
|
15
|
+
intentKey: string;
|
|
16
|
+
key: string;
|
|
17
|
+
operationId: string;
|
|
18
|
+
resultJson?: string | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
key: import("convex/values").VString<string, "required">;
|
|
21
|
+
intentKey: import("convex/values").VString<string, "required">;
|
|
22
|
+
operationId: import("convex/values").VString<string, "required">;
|
|
23
|
+
cancelAtPeriodEnd: import("convex/values").VBoolean<boolean, "required">;
|
|
24
|
+
firstAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
25
|
+
resultJson: import("convex/values").VString<string | undefined, "optional">;
|
|
26
|
+
}, "required", "cancelAtPeriodEnd" | "firstAttemptAt" | "intentKey" | "key" | "operationId" | "resultJson">, {
|
|
27
|
+
by_key: ["key", "_creationTime"];
|
|
28
|
+
}, {}, {}>;
|
|
29
|
+
usageSubscriptionIntents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
30
|
+
abandonedId?: string | undefined;
|
|
31
|
+
checkoutId?: string | undefined;
|
|
32
|
+
controlKey?: string | undefined;
|
|
33
|
+
firstAttemptAt: number;
|
|
34
|
+
historyCount?: number | undefined;
|
|
35
|
+
key: string;
|
|
36
|
+
method: "checkout" | "direct";
|
|
37
|
+
providerId?: string | undefined;
|
|
38
|
+
retiredAt?: number | undefined;
|
|
39
|
+
retirementInvoiceId?: string | undefined;
|
|
40
|
+
scopeKey: string;
|
|
41
|
+
startedAt?: number | undefined;
|
|
42
|
+
termsJson: string;
|
|
43
|
+
viewJson?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
key: import("convex/values").VString<string, "required">;
|
|
46
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
47
|
+
termsJson: import("convex/values").VString<string, "required">;
|
|
48
|
+
method: import("convex/values").VUnion<"checkout" | "direct", [import("convex/values").VLiteral<"direct", "required">, import("convex/values").VLiteral<"checkout", "required">], "required", never>;
|
|
49
|
+
firstAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
50
|
+
providerId: import("convex/values").VString<string | undefined, "optional">;
|
|
51
|
+
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
52
|
+
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
53
|
+
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
54
|
+
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
55
|
+
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
56
|
+
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
57
|
+
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
58
|
+
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
59
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
60
|
+
by_key: ["key", "_creationTime"];
|
|
61
|
+
by_provider: ["providerId", "_creationTime"];
|
|
62
|
+
}, {}, {}>;
|
|
63
|
+
usageSubscriptionLocks: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
64
|
+
customerAccount: string;
|
|
65
|
+
intentKey: string;
|
|
66
|
+
key: string;
|
|
67
|
+
stripeAccountId: string;
|
|
68
|
+
}, {
|
|
69
|
+
key: import("convex/values").VString<string, "required">;
|
|
70
|
+
intentKey: import("convex/values").VString<string, "required">;
|
|
71
|
+
stripeAccountId: import("convex/values").VString<string, "required">;
|
|
72
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
73
|
+
}, "required", "customerAccount" | "intentKey" | "key" | "stripeAccountId">, {
|
|
74
|
+
by_key: ["key", "_creationTime"];
|
|
75
|
+
by_payer: ["customerAccount", "_creationTime"];
|
|
76
|
+
by_realm: ["stripeAccountId", "_creationTime"];
|
|
77
|
+
}, {}, {}>;
|
|
78
|
+
usageSubscriptionHistory: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
79
|
+
fingerprint: string;
|
|
80
|
+
intentKey: string;
|
|
81
|
+
kind: "invoice" | "retirement" | "subscription";
|
|
82
|
+
observationJson: string;
|
|
83
|
+
resourceId: string;
|
|
84
|
+
startedAt: number;
|
|
85
|
+
}, {
|
|
86
|
+
intentKey: import("convex/values").VString<string, "required">;
|
|
87
|
+
kind: import("convex/values").VUnion<"invoice" | "retirement" | "subscription", [import("convex/values").VLiteral<"subscription", "required">, import("convex/values").VLiteral<"invoice", "required">, import("convex/values").VLiteral<"retirement", "required">], "required", never>;
|
|
88
|
+
resourceId: import("convex/values").VString<string, "required">;
|
|
89
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
90
|
+
observationJson: import("convex/values").VString<string, "required">;
|
|
91
|
+
startedAt: import("convex/values").VFloat64<number, "required">;
|
|
92
|
+
}, "required", "fingerprint" | "intentKey" | "kind" | "observationJson" | "resourceId" | "startedAt">, {
|
|
93
|
+
by_fingerprint: ["fingerprint", "_creationTime"];
|
|
94
|
+
by_intent_kind: ["intentKey", "kind", "_creationTime"];
|
|
95
|
+
}, {}, {}>;
|
|
96
|
+
usageProviderObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
97
|
+
key: string;
|
|
98
|
+
observationJson: string;
|
|
99
|
+
scopeKey: string;
|
|
100
|
+
sourceJson: string;
|
|
101
|
+
startedAt: number;
|
|
102
|
+
}, {
|
|
103
|
+
key: import("convex/values").VString<string, "required">;
|
|
104
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
105
|
+
sourceJson: import("convex/values").VString<string, "required">;
|
|
106
|
+
observationJson: import("convex/values").VString<string, "required">;
|
|
107
|
+
startedAt: import("convex/values").VFloat64<number, "required">;
|
|
108
|
+
}, "required", "key" | "observationJson" | "scopeKey" | "sourceJson" | "startedAt">, {
|
|
109
|
+
by_key: ["key", "_creationTime"];
|
|
110
|
+
}, {}, {}>;
|
|
111
|
+
usageDeliveryHistory: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
112
|
+
attempt: number;
|
|
113
|
+
created?: number | undefined;
|
|
114
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
115
|
+
identity: string;
|
|
116
|
+
phase: "accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired";
|
|
117
|
+
recordedAt: number;
|
|
118
|
+
scopeKey: string;
|
|
119
|
+
sequence: number;
|
|
120
|
+
}, {
|
|
121
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
122
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents">, "required">;
|
|
123
|
+
sequence: import("convex/values").VFloat64<number, "required">;
|
|
124
|
+
attempt: import("convex/values").VFloat64<number, "required">;
|
|
125
|
+
phase: import("convex/values").VUnion<"accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired", [import("convex/values").VLiteral<"started", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"unavailable", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"rejected", "required">, import("convex/values").VLiteral<"held", "required">, import("convex/values").VLiteral<"resumed", "required">, import("convex/values").VLiteral<"window_expired", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">], "required", never>;
|
|
126
|
+
identity: import("convex/values").VString<string, "required">;
|
|
127
|
+
recordedAt: import("convex/values").VFloat64<number, "required">;
|
|
128
|
+
created: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
129
|
+
}, "required", "attempt" | "created" | "eventId" | "identity" | "phase" | "recordedAt" | "scopeKey" | "sequence">, {
|
|
130
|
+
by_event_identity: ["eventId", "identity", "_creationTime"];
|
|
131
|
+
by_event_sequence: ["eventId", "sequence", "_creationTime"];
|
|
132
|
+
}, {}, {}>;
|
|
12
133
|
usageDeliveryLocks: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
13
134
|
eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
|
|
14
135
|
key: string;
|
|
@@ -39,6 +160,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
39
160
|
}, "required", "code" | "dedupe" | "eventId" | "observedAt" | "providerEventId" | "scopeKey">, {
|
|
40
161
|
by_dedupe: ["dedupe", "_creationTime"];
|
|
41
162
|
by_event: ["eventId", "_creationTime"];
|
|
163
|
+
by_scope: ["scopeKey", "_creationTime"];
|
|
42
164
|
}, {}, {}>;
|
|
43
165
|
usageCatalog: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
44
166
|
firstAttemptAt: number;
|
|
@@ -69,8 +191,10 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
69
191
|
recordJson: string;
|
|
70
192
|
reservationId?: import("convex/values").GenericId<"usageReservations"> | undefined;
|
|
71
193
|
scopeKey: string;
|
|
194
|
+
subscriptionId?: string | undefined;
|
|
72
195
|
subscriptionJson: string;
|
|
73
196
|
}, {
|
|
197
|
+
subscriptionId: import("convex/values").VString<string | undefined, "optional">;
|
|
74
198
|
reservationId: import("convex/values").VId<import("convex/values").GenericId<"usageReservations"> | undefined, "optional">;
|
|
75
199
|
scopeKey: import("convex/values").VString<string, "required">;
|
|
76
200
|
identity: import("convex/values").VString<string, "required">;
|
|
@@ -78,8 +202,9 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
78
202
|
subscriptionJson: import("convex/values").VString<string, "required">;
|
|
79
203
|
occurredAt: import("convex/values").VFloat64<number, "required">;
|
|
80
204
|
acceptedAt: import("convex/values").VFloat64<number, "required">;
|
|
81
|
-
}, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionJson">, {
|
|
205
|
+
}, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionId" | "subscriptionJson">, {
|
|
82
206
|
by_identity: ["identity", "_creationTime"];
|
|
207
|
+
by_scope_subscription: ["scopeKey", "subscriptionId", "_creationTime"];
|
|
83
208
|
by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
|
|
84
209
|
}, {}, {}>;
|
|
85
210
|
usageOutbox: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -89,11 +214,12 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
89
214
|
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
90
215
|
firstSendAt?: number | undefined;
|
|
91
216
|
held?: boolean | undefined;
|
|
217
|
+
historySequence?: number | undefined;
|
|
92
218
|
leaseUntil?: number | undefined;
|
|
93
219
|
nextAttemptAt: number;
|
|
94
220
|
provider?: string | undefined;
|
|
95
221
|
providerIdentifier: string;
|
|
96
|
-
reason?: "administrative_hold" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined;
|
|
222
|
+
reason?: "administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined;
|
|
97
223
|
receipt?: {
|
|
98
224
|
created: number;
|
|
99
225
|
identifier: string;
|
|
@@ -102,13 +228,14 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
102
228
|
state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
103
229
|
workflowId?: string | undefined;
|
|
104
230
|
}, {
|
|
231
|
+
historySequence: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
105
232
|
provider: import("convex/values").VString<string | undefined, "optional">;
|
|
106
233
|
workflowId: import("convex/values").VString<string | undefined, "optional">;
|
|
107
234
|
definitionVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
|
|
108
235
|
firstSendAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
109
236
|
leaseUntil: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
110
237
|
held: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
111
|
-
reason: import("convex/values").VUnion<"administrative_hold" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined, [import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"provider_unavailable", "required">, import("convex/values").VLiteral<"provider_outcome_unknown", "required">, import("convex/values").VLiteral<"provider_rejected", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">, import("convex/values").VLiteral<"delivery_window_expired", "required">, import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"administrative_hold", "required">], "optional", never>;
|
|
238
|
+
reason: import("convex/values").VUnion<"administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined, [import("convex/values").VLiteral<"billing_period_closed", "required">, import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"provider_unavailable", "required">, import("convex/values").VLiteral<"provider_outcome_unknown", "required">, import("convex/values").VLiteral<"provider_rejected", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">, import("convex/values").VLiteral<"delivery_window_expired", "required">, import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"administrative_hold", "required">], "optional", never>;
|
|
112
239
|
receipt: import("convex/values").VObject<{
|
|
113
240
|
created: number;
|
|
114
241
|
identifier: string;
|
|
@@ -123,7 +250,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
123
250
|
nextAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
124
251
|
providerIdentifier: import("convex/values").VString<string, "required">;
|
|
125
252
|
dispatch: import("convex/values").VString<string | undefined, "optional">;
|
|
126
|
-
}, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
|
|
253
|
+
}, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
|
|
127
254
|
by_event: ["eventId", "_creationTime"];
|
|
128
255
|
by_provider_identifier: ["providerIdentifier", "_creationTime"];
|
|
129
256
|
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
@@ -154,6 +281,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
154
281
|
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents"> | undefined, "optional">;
|
|
155
282
|
}, "required", "eventId" | "planJson" | "scaledQuantity" | "scopeKey" | "sourceEventId" | "state">, {
|
|
156
283
|
by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
|
|
284
|
+
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
157
285
|
}, {}, {}>;
|
|
158
286
|
refundSyncClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
159
287
|
acceptedAt?: number | undefined;
|
|
@@ -3562,6 +3690,127 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
3562
3690
|
}>;
|
|
3563
3691
|
export declare function historical(currency?: string): Promise<{
|
|
3564
3692
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
3693
|
+
usageSubscriptionControls: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3694
|
+
cancelAtPeriodEnd: boolean;
|
|
3695
|
+
firstAttemptAt: number;
|
|
3696
|
+
intentKey: string;
|
|
3697
|
+
key: string;
|
|
3698
|
+
operationId: string;
|
|
3699
|
+
resultJson?: string | undefined;
|
|
3700
|
+
}, {
|
|
3701
|
+
key: import("convex/values").VString<string, "required">;
|
|
3702
|
+
intentKey: import("convex/values").VString<string, "required">;
|
|
3703
|
+
operationId: import("convex/values").VString<string, "required">;
|
|
3704
|
+
cancelAtPeriodEnd: import("convex/values").VBoolean<boolean, "required">;
|
|
3705
|
+
firstAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
3706
|
+
resultJson: import("convex/values").VString<string | undefined, "optional">;
|
|
3707
|
+
}, "required", "cancelAtPeriodEnd" | "firstAttemptAt" | "intentKey" | "key" | "operationId" | "resultJson">, {
|
|
3708
|
+
by_key: ["key", "_creationTime"];
|
|
3709
|
+
}, {}, {}>;
|
|
3710
|
+
usageSubscriptionIntents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3711
|
+
abandonedId?: string | undefined;
|
|
3712
|
+
checkoutId?: string | undefined;
|
|
3713
|
+
controlKey?: string | undefined;
|
|
3714
|
+
firstAttemptAt: number;
|
|
3715
|
+
historyCount?: number | undefined;
|
|
3716
|
+
key: string;
|
|
3717
|
+
method: "checkout" | "direct";
|
|
3718
|
+
providerId?: string | undefined;
|
|
3719
|
+
retiredAt?: number | undefined;
|
|
3720
|
+
retirementInvoiceId?: string | undefined;
|
|
3721
|
+
scopeKey: string;
|
|
3722
|
+
startedAt?: number | undefined;
|
|
3723
|
+
termsJson: string;
|
|
3724
|
+
viewJson?: string | undefined;
|
|
3725
|
+
}, {
|
|
3726
|
+
key: import("convex/values").VString<string, "required">;
|
|
3727
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3728
|
+
termsJson: import("convex/values").VString<string, "required">;
|
|
3729
|
+
method: import("convex/values").VUnion<"checkout" | "direct", [import("convex/values").VLiteral<"direct", "required">, import("convex/values").VLiteral<"checkout", "required">], "required", never>;
|
|
3730
|
+
firstAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
3731
|
+
providerId: import("convex/values").VString<string | undefined, "optional">;
|
|
3732
|
+
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
3733
|
+
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
3734
|
+
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3735
|
+
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
3736
|
+
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3737
|
+
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3738
|
+
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
3739
|
+
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
3740
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
3741
|
+
by_key: ["key", "_creationTime"];
|
|
3742
|
+
by_provider: ["providerId", "_creationTime"];
|
|
3743
|
+
}, {}, {}>;
|
|
3744
|
+
usageSubscriptionLocks: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3745
|
+
customerAccount: string;
|
|
3746
|
+
intentKey: string;
|
|
3747
|
+
key: string;
|
|
3748
|
+
stripeAccountId: string;
|
|
3749
|
+
}, {
|
|
3750
|
+
key: import("convex/values").VString<string, "required">;
|
|
3751
|
+
intentKey: import("convex/values").VString<string, "required">;
|
|
3752
|
+
stripeAccountId: import("convex/values").VString<string, "required">;
|
|
3753
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
3754
|
+
}, "required", "customerAccount" | "intentKey" | "key" | "stripeAccountId">, {
|
|
3755
|
+
by_key: ["key", "_creationTime"];
|
|
3756
|
+
by_payer: ["customerAccount", "_creationTime"];
|
|
3757
|
+
by_realm: ["stripeAccountId", "_creationTime"];
|
|
3758
|
+
}, {}, {}>;
|
|
3759
|
+
usageSubscriptionHistory: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3760
|
+
fingerprint: string;
|
|
3761
|
+
intentKey: string;
|
|
3762
|
+
kind: "invoice" | "retirement" | "subscription";
|
|
3763
|
+
observationJson: string;
|
|
3764
|
+
resourceId: string;
|
|
3765
|
+
startedAt: number;
|
|
3766
|
+
}, {
|
|
3767
|
+
intentKey: import("convex/values").VString<string, "required">;
|
|
3768
|
+
kind: import("convex/values").VUnion<"invoice" | "retirement" | "subscription", [import("convex/values").VLiteral<"subscription", "required">, import("convex/values").VLiteral<"invoice", "required">, import("convex/values").VLiteral<"retirement", "required">], "required", never>;
|
|
3769
|
+
resourceId: import("convex/values").VString<string, "required">;
|
|
3770
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
3771
|
+
observationJson: import("convex/values").VString<string, "required">;
|
|
3772
|
+
startedAt: import("convex/values").VFloat64<number, "required">;
|
|
3773
|
+
}, "required", "fingerprint" | "intentKey" | "kind" | "observationJson" | "resourceId" | "startedAt">, {
|
|
3774
|
+
by_fingerprint: ["fingerprint", "_creationTime"];
|
|
3775
|
+
by_intent_kind: ["intentKey", "kind", "_creationTime"];
|
|
3776
|
+
}, {}, {}>;
|
|
3777
|
+
usageProviderObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3778
|
+
key: string;
|
|
3779
|
+
observationJson: string;
|
|
3780
|
+
scopeKey: string;
|
|
3781
|
+
sourceJson: string;
|
|
3782
|
+
startedAt: number;
|
|
3783
|
+
}, {
|
|
3784
|
+
key: import("convex/values").VString<string, "required">;
|
|
3785
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3786
|
+
sourceJson: import("convex/values").VString<string, "required">;
|
|
3787
|
+
observationJson: import("convex/values").VString<string, "required">;
|
|
3788
|
+
startedAt: import("convex/values").VFloat64<number, "required">;
|
|
3789
|
+
}, "required", "key" | "observationJson" | "scopeKey" | "sourceJson" | "startedAt">, {
|
|
3790
|
+
by_key: ["key", "_creationTime"];
|
|
3791
|
+
}, {}, {}>;
|
|
3792
|
+
usageDeliveryHistory: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3793
|
+
attempt: number;
|
|
3794
|
+
created?: number | undefined;
|
|
3795
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
3796
|
+
identity: string;
|
|
3797
|
+
phase: "accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired";
|
|
3798
|
+
recordedAt: number;
|
|
3799
|
+
scopeKey: string;
|
|
3800
|
+
sequence: number;
|
|
3801
|
+
}, {
|
|
3802
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3803
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents">, "required">;
|
|
3804
|
+
sequence: import("convex/values").VFloat64<number, "required">;
|
|
3805
|
+
attempt: import("convex/values").VFloat64<number, "required">;
|
|
3806
|
+
phase: import("convex/values").VUnion<"accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired", [import("convex/values").VLiteral<"started", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"unavailable", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"rejected", "required">, import("convex/values").VLiteral<"held", "required">, import("convex/values").VLiteral<"resumed", "required">, import("convex/values").VLiteral<"window_expired", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">], "required", never>;
|
|
3807
|
+
identity: import("convex/values").VString<string, "required">;
|
|
3808
|
+
recordedAt: import("convex/values").VFloat64<number, "required">;
|
|
3809
|
+
created: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3810
|
+
}, "required", "attempt" | "created" | "eventId" | "identity" | "phase" | "recordedAt" | "scopeKey" | "sequence">, {
|
|
3811
|
+
by_event_identity: ["eventId", "identity", "_creationTime"];
|
|
3812
|
+
by_event_sequence: ["eventId", "sequence", "_creationTime"];
|
|
3813
|
+
}, {}, {}>;
|
|
3565
3814
|
usageDeliveryLocks: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3566
3815
|
eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
|
|
3567
3816
|
key: string;
|
|
@@ -3592,6 +3841,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3592
3841
|
}, "required", "code" | "dedupe" | "eventId" | "observedAt" | "providerEventId" | "scopeKey">, {
|
|
3593
3842
|
by_dedupe: ["dedupe", "_creationTime"];
|
|
3594
3843
|
by_event: ["eventId", "_creationTime"];
|
|
3844
|
+
by_scope: ["scopeKey", "_creationTime"];
|
|
3595
3845
|
}, {}, {}>;
|
|
3596
3846
|
usageCatalog: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3597
3847
|
firstAttemptAt: number;
|
|
@@ -3622,8 +3872,10 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3622
3872
|
recordJson: string;
|
|
3623
3873
|
reservationId?: import("convex/values").GenericId<"usageReservations"> | undefined;
|
|
3624
3874
|
scopeKey: string;
|
|
3875
|
+
subscriptionId?: string | undefined;
|
|
3625
3876
|
subscriptionJson: string;
|
|
3626
3877
|
}, {
|
|
3878
|
+
subscriptionId: import("convex/values").VString<string | undefined, "optional">;
|
|
3627
3879
|
reservationId: import("convex/values").VId<import("convex/values").GenericId<"usageReservations"> | undefined, "optional">;
|
|
3628
3880
|
scopeKey: import("convex/values").VString<string, "required">;
|
|
3629
3881
|
identity: import("convex/values").VString<string, "required">;
|
|
@@ -3631,8 +3883,9 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3631
3883
|
subscriptionJson: import("convex/values").VString<string, "required">;
|
|
3632
3884
|
occurredAt: import("convex/values").VFloat64<number, "required">;
|
|
3633
3885
|
acceptedAt: import("convex/values").VFloat64<number, "required">;
|
|
3634
|
-
}, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionJson">, {
|
|
3886
|
+
}, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionId" | "subscriptionJson">, {
|
|
3635
3887
|
by_identity: ["identity", "_creationTime"];
|
|
3888
|
+
by_scope_subscription: ["scopeKey", "subscriptionId", "_creationTime"];
|
|
3636
3889
|
by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
|
|
3637
3890
|
}, {}, {}>;
|
|
3638
3891
|
usageOutbox: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -3642,11 +3895,12 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3642
3895
|
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
3643
3896
|
firstSendAt?: number | undefined;
|
|
3644
3897
|
held?: boolean | undefined;
|
|
3898
|
+
historySequence?: number | undefined;
|
|
3645
3899
|
leaseUntil?: number | undefined;
|
|
3646
3900
|
nextAttemptAt: number;
|
|
3647
3901
|
provider?: string | undefined;
|
|
3648
3902
|
providerIdentifier: string;
|
|
3649
|
-
reason?: "administrative_hold" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined;
|
|
3903
|
+
reason?: "administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined;
|
|
3650
3904
|
receipt?: {
|
|
3651
3905
|
created: number;
|
|
3652
3906
|
identifier: string;
|
|
@@ -3655,13 +3909,14 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3655
3909
|
state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
3656
3910
|
workflowId?: string | undefined;
|
|
3657
3911
|
}, {
|
|
3912
|
+
historySequence: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3658
3913
|
provider: import("convex/values").VString<string | undefined, "optional">;
|
|
3659
3914
|
workflowId: import("convex/values").VString<string | undefined, "optional">;
|
|
3660
3915
|
definitionVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
|
|
3661
3916
|
firstSendAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3662
3917
|
leaseUntil: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3663
3918
|
held: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3664
|
-
reason: import("convex/values").VUnion<"administrative_hold" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined, [import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"provider_unavailable", "required">, import("convex/values").VLiteral<"provider_outcome_unknown", "required">, import("convex/values").VLiteral<"provider_rejected", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">, import("convex/values").VLiteral<"delivery_window_expired", "required">, import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"administrative_hold", "required">], "optional", never>;
|
|
3919
|
+
reason: import("convex/values").VUnion<"administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined, [import("convex/values").VLiteral<"billing_period_closed", "required">, import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"provider_unavailable", "required">, import("convex/values").VLiteral<"provider_outcome_unknown", "required">, import("convex/values").VLiteral<"provider_rejected", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">, import("convex/values").VLiteral<"delivery_window_expired", "required">, import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"administrative_hold", "required">], "optional", never>;
|
|
3665
3920
|
receipt: import("convex/values").VObject<{
|
|
3666
3921
|
created: number;
|
|
3667
3922
|
identifier: string;
|
|
@@ -3676,7 +3931,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3676
3931
|
nextAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
3677
3932
|
providerIdentifier: import("convex/values").VString<string, "required">;
|
|
3678
3933
|
dispatch: import("convex/values").VString<string | undefined, "optional">;
|
|
3679
|
-
}, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
|
|
3934
|
+
}, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
|
|
3680
3935
|
by_event: ["eventId", "_creationTime"];
|
|
3681
3936
|
by_provider_identifier: ["providerIdentifier", "_creationTime"];
|
|
3682
3937
|
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
@@ -3707,6 +3962,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3707
3962
|
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents"> | undefined, "optional">;
|
|
3708
3963
|
}, "required", "eventId" | "planJson" | "scaledQuantity" | "scopeKey" | "sourceEventId" | "state">, {
|
|
3709
3964
|
by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
|
|
3965
|
+
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
3710
3966
|
}, {}, {}>;
|
|
3711
3967
|
refundSyncClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3712
3968
|
acceptedAt?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoutAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutAdoptionTestHelpers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAqBvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,sBAAsB;CACvB,CAAC;AACF,wBAAsB,KAAK,CAAC,OAAO,WAAa,EAAE,QAAQ,SAAQ
|
|
1
|
+
{"version":3,"file":"payoutAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["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