@fantastic.dev/better-stripe 0.60.0 → 0.61.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 +5 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +26 -6
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +13 -3
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +26 -6
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +13 -3
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/usage/creditCapacity.d.ts.map +1 -1
- package/dist/client/usage/creditCapacity.js +7 -1
- package/dist/client/usage/creditCapacity.js.map +1 -1
- package/dist/client/usage/creditClient.d.ts +3 -0
- package/dist/client/usage/creditClient.d.ts.map +1 -1
- package/dist/client/usage/creditDelivery.d.ts.map +1 -1
- package/dist/client/usage/creditDelivery.js +4 -1
- package/dist/client/usage/creditDelivery.js.map +1 -1
- package/dist/client/usage/creditLifecycle.d.ts.map +1 -1
- package/dist/client/usage/creditLifecycle.js +2 -1
- package/dist/client/usage/creditLifecycle.js.map +1 -1
- package/dist/client/usage/creditNative.d.ts +3 -0
- package/dist/client/usage/creditNative.d.ts.map +1 -1
- package/dist/client/usage/creditNative.js +3 -0
- package/dist/client/usage/creditNative.js.map +1 -1
- package/dist/client/usage/creditProvider.d.ts.map +1 -1
- package/dist/client/usage/creditProvider.js +2 -1
- package/dist/client/usage/creditProvider.js.map +1 -1
- package/dist/client/usage/creditRead.d.ts +1 -0
- package/dist/client/usage/creditRead.d.ts.map +1 -1
- package/dist/client/usage/creditReconciliation.d.ts.map +1 -1
- package/dist/client/usage/creditReconciliation.js +11 -3
- package/dist/client/usage/creditReconciliation.js.map +1 -1
- package/dist/client/usage/creditSettlement.fixtures.d.ts +1 -0
- package/dist/client/usage/creditSettlement.fixtures.d.ts.map +1 -1
- package/dist/client/usage/creditTransport.fixtures.d.ts +1 -0
- package/dist/client/usage/creditTransport.fixtures.d.ts.map +1 -1
- package/dist/client/usage/creditTransport.fixtures.js +2 -1
- package/dist/client/usage/creditTransport.fixtures.js.map +1 -1
- package/dist/client/usage/index.d.ts +2 -0
- package/dist/client/usage/index.d.ts.map +1 -1
- package/dist/client/usage/subscriptionCancellation.d.ts.map +1 -1
- package/dist/client/usage/subscriptionCancellation.js +3 -2
- package/dist/client/usage/subscriptionCancellation.js.map +1 -1
- package/dist/client/usage/subscriptionCheckout.d.ts.map +1 -1
- package/dist/client/usage/subscriptionCheckout.js +3 -2
- package/dist/client/usage/subscriptionCheckout.js.map +1 -1
- package/dist/client/usage/subscriptionLifecycle.d.ts +1 -0
- package/dist/client/usage/subscriptionLifecycle.d.ts.map +1 -1
- package/dist/client/usage/subscriptionLifecycle.js +3 -2
- package/dist/client/usage/subscriptionLifecycle.js.map +1 -1
- package/dist/client/usage/subscriptionProvider.d.ts +2 -0
- package/dist/client/usage/subscriptionProvider.d.ts.map +1 -1
- package/dist/client/usage/subscriptionProvider.js +9 -2
- package/dist/client/usage/subscriptionProvider.js.map +1 -1
- package/dist/component/_generated/component.d.ts +21 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/earnings/triggers.d.ts +16 -6
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/schema.d.ts +13 -3
- package/dist/component/usage/allowance.fixtures.d.ts +4212 -0
- package/dist/component/usage/allowance.fixtures.d.ts.map +1 -0
- package/dist/component/usage/allowance.fixtures.js +67 -0
- package/dist/component/usage/allowance.fixtures.js.map +1 -0
- package/dist/component/usageCredits/accounting.fixtures.d.ts +4235 -0
- package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -0
- package/dist/component/usageCredits/accounting.fixtures.js +89 -0
- package/dist/component/usageCredits/accounting.fixtures.js.map +1 -0
- package/dist/component/usageCredits/helpers.d.ts +7 -0
- package/dist/component/usageCredits/helpers.d.ts.map +1 -1
- package/dist/component/usageCredits/helpers.js +5 -0
- package/dist/component/usageCredits/helpers.js.map +1 -1
- package/dist/component/usageCredits/mutations.d.ts +6 -0
- package/dist/component/usageCredits/mutations.d.ts.map +1 -1
- package/dist/component/usageCredits/mutations.js +70 -7
- package/dist/component/usageCredits/mutations.js.map +1 -1
- package/dist/component/usageCredits/purchase.d.ts +1 -0
- package/dist/component/usageCredits/purchase.d.ts.map +1 -1
- package/dist/component/usageCredits/queries.d.ts +10 -0
- package/dist/component/usageCredits/queries.d.ts.map +1 -1
- package/dist/component/usageCredits/schema.d.ts +24 -4
- package/dist/component/usageCredits/schema.d.ts.map +1 -1
- package/dist/component/usageCredits/schema.js +4 -0
- package/dist/component/usageCredits/schema.js.map +1 -1
- package/dist/component/usageSubscriptions/history.d.ts.map +1 -1
- package/dist/component/usageSubscriptions/history.js +3 -1
- package/dist/component/usageSubscriptions/history.js.map +1 -1
- package/dist/component/usageSubscriptions/mutations.d.ts +5 -0
- package/dist/component/usageSubscriptions/mutations.d.ts.map +1 -1
- package/dist/component/usageSubscriptions/mutations.js +19 -0
- package/dist/component/usageSubscriptions/mutations.js.map +1 -1
- package/dist/component/usageSubscriptions/queries.d.ts +2 -0
- package/dist/component/usageSubscriptions/queries.d.ts.map +1 -1
- package/dist/component/usageSubscriptions/schema.d.ts +7 -2
- package/dist/component/usageSubscriptions/schema.d.ts.map +1 -1
- package/dist/component/usageSubscriptions/schema.js +1 -0
- package/dist/component/usageSubscriptions/schema.js.map +1 -1
- package/dist/react/index.d.ts +12 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +7 -0
- package/dist/react/index.js.map +1 -1
- package/dist/react/workflows/Pagination.d.ts +1 -0
- package/dist/react/workflows/Pagination.d.ts.map +1 -1
- package/dist/react/workflows/Pagination.js +1 -0
- package/dist/react/workflows/Pagination.js.map +1 -1
- package/dist/react/workflows/Usage.fixtures.d.ts +17 -0
- package/dist/react/workflows/Usage.fixtures.d.ts.map +1 -0
- package/dist/react/workflows/Usage.fixtures.js +79 -0
- package/dist/react/workflows/Usage.fixtures.js.map +1 -0
- package/dist/react/workflows/Usage.types.d.ts +25 -0
- package/dist/react/workflows/Usage.types.d.ts.map +1 -0
- package/dist/react/workflows/Usage.types.js +11 -0
- package/dist/react/workflows/Usage.types.js.map +1 -0
- package/dist/react/workflows/UsageAllowance.d.ts +14 -0
- package/dist/react/workflows/UsageAllowance.d.ts.map +1 -0
- package/dist/react/workflows/UsageAllowance.js +21 -0
- package/dist/react/workflows/UsageAllowance.js.map +1 -0
- package/dist/react/workflows/UsageBilling.d.ts +20 -0
- package/dist/react/workflows/UsageBilling.d.ts.map +1 -0
- package/dist/react/workflows/UsageBilling.js +40 -0
- package/dist/react/workflows/UsageBilling.js.map +1 -0
- package/dist/react/workflows/UsageCredits.d.ts +14 -0
- package/dist/react/workflows/UsageCredits.d.ts.map +1 -0
- package/dist/react/workflows/UsageCredits.js +25 -0
- package/dist/react/workflows/UsageCredits.js.map +1 -0
- package/dist/react/workflows/UsageHistory.d.ts +40 -0
- package/dist/react/workflows/UsageHistory.d.ts.map +1 -0
- package/dist/react/workflows/UsageHistory.js +74 -0
- package/dist/react/workflows/UsageHistory.js.map +1 -0
- package/dist/react/workflows/UsageSummary.d.ts +19 -0
- package/dist/react/workflows/UsageSummary.d.ts.map +1 -0
- package/dist/react/workflows/UsageSummary.js +54 -0
- package/dist/react/workflows/UsageSummary.js.map +1 -0
- package/dist/react/workflows/usage-format.d.ts +11 -0
- package/dist/react/workflows/usage-format.d.ts.map +1 -0
- package/dist/react/workflows/usage-format.js +43 -0
- package/dist/react/workflows/usage-format.js.map +1 -0
- package/dist/react/workflows/usage-scope.d.ts +5 -0
- package/dist/react/workflows/usage-scope.d.ts.map +1 -0
- package/dist/react/workflows/usage-scope.js +26 -0
- package/dist/react/workflows/usage-scope.js.map +1 -0
- package/docs/README.md +4 -0
- package/docs/react-api.md +4 -0
- package/docs/usage-credits.md +6 -1
- package/docs/usage-react.md +182 -0
- package/docs/usage-security.md +130 -0
- package/package.json +3 -1
- package/src/client/usage/creditBackingIsolation.test.ts +110 -0
- package/src/client/usage/creditCapacity.test.ts +80 -1
- package/src/client/usage/creditCapacity.ts +10 -1
- package/src/client/usage/creditDelivery.ts +4 -0
- package/src/client/usage/creditLifecycle.ts +2 -0
- package/src/client/usage/creditNative.ts +5 -0
- package/src/client/usage/creditProofBounds.test.ts +187 -0
- package/src/client/usage/creditProvider.test.ts +74 -0
- package/src/client/usage/creditProvider.ts +2 -0
- package/src/client/usage/creditReconciliation.ts +18 -3
- package/src/client/usage/creditTransport.fixtures.ts +2 -1
- package/src/client/usage/index.ts +3 -0
- package/src/client/usage/subscriptionCancellation.ts +3 -2
- package/src/client/usage/subscriptionCheckout.ts +7 -2
- package/src/client/usage/subscriptionClient.test.ts +60 -1
- package/src/client/usage/subscriptionLifecycle.ts +3 -2
- package/src/client/usage/subscriptionProvider.ts +27 -3
- package/src/component/_generated/component.ts +40 -1
- package/src/component/usage/allowance.fixtures.ts +77 -0
- package/src/component/usage/allowance.test.ts +3 -66
- package/src/component/usage/allowanceBounds.test.ts +79 -0
- package/src/component/usage/historyIsolation.test.ts +124 -0
- package/src/component/usageCredits/accounting.fixtures.ts +96 -0
- package/src/component/usageCredits/accounting.test.ts +176 -82
- package/src/component/usageCredits/freshness.test.ts +33 -0
- package/src/component/usageCredits/helpers.ts +8 -0
- package/src/component/usageCredits/mutations.ts +83 -5
- package/src/component/usageCredits/quotas.test.ts +63 -0
- package/src/component/usageCredits/schema.ts +10 -0
- package/src/component/usageSubscriptions/history.test.ts +57 -0
- package/src/component/usageSubscriptions/history.ts +3 -1
- package/src/component/usageSubscriptions/mutations.ts +23 -0
- package/src/component/usageSubscriptions/schema.ts +1 -0
- package/src/react/index.ts +20 -0
- package/src/react/workflows/Pagination.tsx +2 -0
- package/src/react/workflows/Usage.fixtures.ts +88 -0
- package/src/react/workflows/Usage.test.tsx +373 -0
- package/src/react/workflows/Usage.types.ts +39 -0
- package/src/react/workflows/UsageAllowance.tsx +114 -0
- package/src/react/workflows/UsageBilling.tsx +90 -0
- package/src/react/workflows/UsageCredits.tsx +112 -0
- package/src/react/workflows/UsageHistory.test.tsx +206 -0
- package/src/react/workflows/UsageHistory.tsx +154 -0
- package/src/react/workflows/UsageSummary.tsx +204 -0
- package/src/react/workflows/usage-format.ts +48 -0
- package/src/react/workflows/usage-scope.ts +42 -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.61.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.60.1...v0.61.0) (2026-10-18)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
- **react:** reusable metered billing views for all three models ([#341](https://github.com/FantasticDevHQ/better-stripe/issues/341)) ([0eee6cc](https://github.com/FantasticDevHQ/better-stripe/commit/0eee6cc1a6d3ebd821b855a04f98cc017c6198f6))
|
|
34
|
+
|
|
35
|
+
## [0.60.1](https://github.com/FantasticDevHQ/better-stripe/compare/v0.60.0...v0.60.1) (2026-10-18)
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
- **usage:** enforce original customer and recovery boundaries ([#339](https://github.com/FantasticDevHQ/better-stripe/issues/339)) ([35c0af1](https://github.com/FantasticDevHQ/better-stripe/commit/35c0af1293a78420485bcbb25470c6159ea48d89))
|
|
40
|
+
|
|
29
41
|
## [0.60.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.59.0...v0.60.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.61.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.
|
|
@@ -138,3 +138,7 @@ See [payment-backed prepaid usage](docs/usage-credits.md) for purchases, atomic
|
|
|
138
138
|
See [included usage and optional limits](./docs/usage-limits.md) for atomic reservation accounting, monthly resets and overage policy.
|
|
139
139
|
|
|
140
140
|
See [native usage settlement](./docs/usage-settlement.md) for original paid invoices, issuer-service purchases and affiliate policy.
|
|
141
|
+
|
|
142
|
+
See [metered billing authorization](docs/usage-security.md) for host ownership checks, idempotent work, bounded native proofs and recovery.
|
|
143
|
+
|
|
144
|
+
Use the [reusable metered billing UI](docs/usage-react.md) for exact usage, allowance, prepaid and paginated history views through authenticated host adapters.
|
|
@@ -184,6 +184,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
184
184
|
historyCount?: number | undefined;
|
|
185
185
|
key: string;
|
|
186
186
|
method: "checkout" | "direct";
|
|
187
|
+
observationStartedAt?: number | undefined;
|
|
187
188
|
providerId?: string | undefined;
|
|
188
189
|
retiredAt?: number | undefined;
|
|
189
190
|
retirementInvoiceId?: string | undefined;
|
|
@@ -201,12 +202,13 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
201
202
|
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
202
203
|
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
203
204
|
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
205
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
204
206
|
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
205
207
|
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
206
208
|
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
207
209
|
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
208
210
|
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
209
|
-
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
211
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "observationStartedAt" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
210
212
|
by_key: ["key", "_creationTime"];
|
|
211
213
|
by_provider: ["providerId", "_creationTime"];
|
|
212
214
|
}, {}, {}>;
|
|
@@ -486,6 +488,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
486
488
|
paymentIntentId?: string | undefined;
|
|
487
489
|
paymentKey?: string | undefined;
|
|
488
490
|
paymentProofJson?: string | undefined;
|
|
491
|
+
recoveryReason?: "native_state_changed" | "payment_disputed" | "payment_refunded" | undefined;
|
|
489
492
|
refundedAmount?: number | undefined;
|
|
490
493
|
state: "canceled" | "frozen" | "pending" | "ready";
|
|
491
494
|
termsJson: string;
|
|
@@ -502,9 +505,10 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
502
505
|
paymentKey: import("convex/values").VString<string | undefined, "optional">;
|
|
503
506
|
paymentProofJson: import("convex/values").VString<string | undefined, "optional">;
|
|
504
507
|
refundedAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
508
|
+
recoveryReason: import("convex/values").VUnion<"native_state_changed" | "payment_disputed" | "payment_refunded" | undefined, [import("convex/values").VLiteral<"payment_refunded", "required">, import("convex/values").VLiteral<"payment_disputed", "required">, import("convex/values").VLiteral<"native_state_changed", "required">], "optional", never>;
|
|
505
509
|
grantFirstAttemptAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
506
510
|
creditGrantId: import("convex/values").VString<string | undefined, "optional">;
|
|
507
|
-
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "refundedAmount" | "state" | "termsJson">, {
|
|
511
|
+
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "recoveryReason" | "refundedAmount" | "state" | "termsJson">, {
|
|
508
512
|
by_account: ["accountKey", "_creationTime"];
|
|
509
513
|
by_customer_capacity: ["nativeCustomerKey", "capacityReserved", "_creationTime"];
|
|
510
514
|
by_key: ["key", "_creationTime"];
|
|
@@ -524,9 +528,12 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
524
528
|
nativeExpired?: boolean | undefined;
|
|
525
529
|
nativeObservationJson?: string | undefined;
|
|
526
530
|
nativeUnused: boolean;
|
|
531
|
+
observationConflictAt?: number | undefined;
|
|
532
|
+
observationStartedAt?: number | undefined;
|
|
527
533
|
observedAt?: number | undefined;
|
|
528
534
|
paymentIntentId: string;
|
|
529
535
|
proofJson: string;
|
|
536
|
+
proofStartedAt?: number | undefined;
|
|
530
537
|
purchaseKey: string;
|
|
531
538
|
reserved: string;
|
|
532
539
|
}, {
|
|
@@ -548,7 +555,10 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
548
555
|
nativeExpired: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
549
556
|
nativeObservationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
550
557
|
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
551
|
-
|
|
558
|
+
proofStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
559
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
560
|
+
observationConflictAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
561
|
+
}, "required", "accountKey" | "available" | "chargeId" | "consumed" | "creditGrantId" | "effectiveAt" | "expiresAt" | "frozen" | "nativeCreated" | "nativeCustomerKey" | "nativeExpired" | "nativeObservationJson" | "nativeUnused" | "observationConflictAt" | "observationStartedAt" | "observedAt" | "paymentIntentId" | "proofJson" | "proofStartedAt" | "purchaseKey" | "reserved">, {
|
|
552
562
|
by_account: ["accountKey", "_creationTime"];
|
|
553
563
|
by_customer_unused: ["nativeCustomerKey", "nativeUnused", "_creationTime"];
|
|
554
564
|
by_native: ["creditGrantId", "_creationTime"];
|
|
@@ -4460,6 +4470,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4460
4470
|
historyCount?: number | undefined;
|
|
4461
4471
|
key: string;
|
|
4462
4472
|
method: "checkout" | "direct";
|
|
4473
|
+
observationStartedAt?: number | undefined;
|
|
4463
4474
|
providerId?: string | undefined;
|
|
4464
4475
|
retiredAt?: number | undefined;
|
|
4465
4476
|
retirementInvoiceId?: string | undefined;
|
|
@@ -4477,12 +4488,13 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4477
4488
|
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
4478
4489
|
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
4479
4490
|
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4491
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4480
4492
|
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
4481
4493
|
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4482
4494
|
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4483
4495
|
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
4484
4496
|
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
4485
|
-
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
4497
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "observationStartedAt" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
4486
4498
|
by_key: ["key", "_creationTime"];
|
|
4487
4499
|
by_provider: ["providerId", "_creationTime"];
|
|
4488
4500
|
}, {}, {}>;
|
|
@@ -4762,6 +4774,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4762
4774
|
paymentIntentId?: string | undefined;
|
|
4763
4775
|
paymentKey?: string | undefined;
|
|
4764
4776
|
paymentProofJson?: string | undefined;
|
|
4777
|
+
recoveryReason?: "native_state_changed" | "payment_disputed" | "payment_refunded" | undefined;
|
|
4765
4778
|
refundedAmount?: number | undefined;
|
|
4766
4779
|
state: "canceled" | "frozen" | "pending" | "ready";
|
|
4767
4780
|
termsJson: string;
|
|
@@ -4778,9 +4791,10 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4778
4791
|
paymentKey: import("convex/values").VString<string | undefined, "optional">;
|
|
4779
4792
|
paymentProofJson: import("convex/values").VString<string | undefined, "optional">;
|
|
4780
4793
|
refundedAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4794
|
+
recoveryReason: import("convex/values").VUnion<"native_state_changed" | "payment_disputed" | "payment_refunded" | undefined, [import("convex/values").VLiteral<"payment_refunded", "required">, import("convex/values").VLiteral<"payment_disputed", "required">, import("convex/values").VLiteral<"native_state_changed", "required">], "optional", never>;
|
|
4781
4795
|
grantFirstAttemptAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4782
4796
|
creditGrantId: import("convex/values").VString<string | undefined, "optional">;
|
|
4783
|
-
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "refundedAmount" | "state" | "termsJson">, {
|
|
4797
|
+
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "recoveryReason" | "refundedAmount" | "state" | "termsJson">, {
|
|
4784
4798
|
by_account: ["accountKey", "_creationTime"];
|
|
4785
4799
|
by_customer_capacity: ["nativeCustomerKey", "capacityReserved", "_creationTime"];
|
|
4786
4800
|
by_key: ["key", "_creationTime"];
|
|
@@ -4800,9 +4814,12 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4800
4814
|
nativeExpired?: boolean | undefined;
|
|
4801
4815
|
nativeObservationJson?: string | undefined;
|
|
4802
4816
|
nativeUnused: boolean;
|
|
4817
|
+
observationConflictAt?: number | undefined;
|
|
4818
|
+
observationStartedAt?: number | undefined;
|
|
4803
4819
|
observedAt?: number | undefined;
|
|
4804
4820
|
paymentIntentId: string;
|
|
4805
4821
|
proofJson: string;
|
|
4822
|
+
proofStartedAt?: number | undefined;
|
|
4806
4823
|
purchaseKey: string;
|
|
4807
4824
|
reserved: string;
|
|
4808
4825
|
}, {
|
|
@@ -4824,7 +4841,10 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4824
4841
|
nativeExpired: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4825
4842
|
nativeObservationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
4826
4843
|
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4827
|
-
|
|
4844
|
+
proofStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4845
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4846
|
+
observationConflictAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4847
|
+
}, "required", "accountKey" | "available" | "chargeId" | "consumed" | "creditGrantId" | "effectiveAt" | "expiresAt" | "frozen" | "nativeCreated" | "nativeCustomerKey" | "nativeExpired" | "nativeObservationJson" | "nativeUnused" | "observationConflictAt" | "observationStartedAt" | "observedAt" | "paymentIntentId" | "proofJson" | "proofStartedAt" | "purchaseKey" | "reserved">, {
|
|
4828
4848
|
by_account: ["accountKey", "_creationTime"];
|
|
4829
4849
|
by_customer_unused: ["nativeCustomerKey", "nativeUnused", "_creationTime"];
|
|
4830
4850
|
by_native: ["creditGrantId", "_creationTime"];
|
|
@@ -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":["../../../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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDrB"}
|
|
@@ -185,6 +185,7 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
185
185
|
historyCount?: number | undefined;
|
|
186
186
|
key: string;
|
|
187
187
|
method: "checkout" | "direct";
|
|
188
|
+
observationStartedAt?: number | undefined;
|
|
188
189
|
providerId?: string | undefined;
|
|
189
190
|
retiredAt?: number | undefined;
|
|
190
191
|
retirementInvoiceId?: string | undefined;
|
|
@@ -202,12 +203,13 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
202
203
|
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
203
204
|
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
204
205
|
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
206
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
205
207
|
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
206
208
|
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
207
209
|
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
208
210
|
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
209
211
|
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
210
|
-
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
212
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "observationStartedAt" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
211
213
|
by_key: ["key", "_creationTime"];
|
|
212
214
|
by_provider: ["providerId", "_creationTime"];
|
|
213
215
|
}, {}, {}>;
|
|
@@ -487,6 +489,7 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
487
489
|
paymentIntentId?: string | undefined;
|
|
488
490
|
paymentKey?: string | undefined;
|
|
489
491
|
paymentProofJson?: string | undefined;
|
|
492
|
+
recoveryReason?: "native_state_changed" | "payment_disputed" | "payment_refunded" | undefined;
|
|
490
493
|
refundedAmount?: number | undefined;
|
|
491
494
|
state: "canceled" | "frozen" | "pending" | "ready";
|
|
492
495
|
termsJson: string;
|
|
@@ -503,9 +506,10 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
503
506
|
paymentKey: import("convex/values").VString<string | undefined, "optional">;
|
|
504
507
|
paymentProofJson: import("convex/values").VString<string | undefined, "optional">;
|
|
505
508
|
refundedAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
509
|
+
recoveryReason: import("convex/values").VUnion<"native_state_changed" | "payment_disputed" | "payment_refunded" | undefined, [import("convex/values").VLiteral<"payment_refunded", "required">, import("convex/values").VLiteral<"payment_disputed", "required">, import("convex/values").VLiteral<"native_state_changed", "required">], "optional", never>;
|
|
506
510
|
grantFirstAttemptAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
507
511
|
creditGrantId: import("convex/values").VString<string | undefined, "optional">;
|
|
508
|
-
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "refundedAmount" | "state" | "termsJson">, {
|
|
512
|
+
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "recoveryReason" | "refundedAmount" | "state" | "termsJson">, {
|
|
509
513
|
by_account: ["accountKey", "_creationTime"];
|
|
510
514
|
by_customer_capacity: ["nativeCustomerKey", "capacityReserved", "_creationTime"];
|
|
511
515
|
by_key: ["key", "_creationTime"];
|
|
@@ -525,9 +529,12 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
525
529
|
nativeExpired?: boolean | undefined;
|
|
526
530
|
nativeObservationJson?: string | undefined;
|
|
527
531
|
nativeUnused: boolean;
|
|
532
|
+
observationConflictAt?: number | undefined;
|
|
533
|
+
observationStartedAt?: number | undefined;
|
|
528
534
|
observedAt?: number | undefined;
|
|
529
535
|
paymentIntentId: string;
|
|
530
536
|
proofJson: string;
|
|
537
|
+
proofStartedAt?: number | undefined;
|
|
531
538
|
purchaseKey: string;
|
|
532
539
|
reserved: string;
|
|
533
540
|
}, {
|
|
@@ -549,7 +556,10 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
549
556
|
nativeExpired: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
550
557
|
nativeObservationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
551
558
|
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
552
|
-
|
|
559
|
+
proofStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
560
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
561
|
+
observationConflictAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
562
|
+
}, "required", "accountKey" | "available" | "chargeId" | "consumed" | "creditGrantId" | "effectiveAt" | "expiresAt" | "frozen" | "nativeCreated" | "nativeCustomerKey" | "nativeExpired" | "nativeObservationJson" | "nativeUnused" | "observationConflictAt" | "observationStartedAt" | "observedAt" | "paymentIntentId" | "proofJson" | "proofStartedAt" | "purchaseKey" | "reserved">, {
|
|
553
563
|
by_account: ["accountKey", "_creationTime"];
|
|
554
564
|
by_customer_unused: ["nativeCustomerKey", "nativeUnused", "_creationTime"];
|
|
555
565
|
by_native: ["creditGrantId", "_creationTime"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoutExecutionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutExecutionTestHelpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM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AAM,CAAC;gBACf,QAAQ,EAAE,MAAM,CAAC;gBACjB,QAAQ,EAAE,MAAM,CAAC;aAClB;;;;gBAsCG,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsBrB"}
|
|
@@ -175,6 +175,7 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
175
175
|
historyCount?: number | undefined;
|
|
176
176
|
key: string;
|
|
177
177
|
method: "checkout" | "direct";
|
|
178
|
+
observationStartedAt?: number | undefined;
|
|
178
179
|
providerId?: string | undefined;
|
|
179
180
|
retiredAt?: number | undefined;
|
|
180
181
|
retirementInvoiceId?: string | undefined;
|
|
@@ -192,12 +193,13 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
192
193
|
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
193
194
|
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
194
195
|
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
196
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
195
197
|
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
196
198
|
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
197
199
|
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
198
200
|
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
199
201
|
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
200
|
-
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
202
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "observationStartedAt" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
201
203
|
by_key: ["key", "_creationTime"];
|
|
202
204
|
by_provider: ["providerId", "_creationTime"];
|
|
203
205
|
}, {}, {}>;
|
|
@@ -477,6 +479,7 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
477
479
|
paymentIntentId?: string | undefined;
|
|
478
480
|
paymentKey?: string | undefined;
|
|
479
481
|
paymentProofJson?: string | undefined;
|
|
482
|
+
recoveryReason?: "native_state_changed" | "payment_disputed" | "payment_refunded" | undefined;
|
|
480
483
|
refundedAmount?: number | undefined;
|
|
481
484
|
state: "canceled" | "frozen" | "pending" | "ready";
|
|
482
485
|
termsJson: string;
|
|
@@ -493,9 +496,10 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
493
496
|
paymentKey: import("convex/values").VString<string | undefined, "optional">;
|
|
494
497
|
paymentProofJson: import("convex/values").VString<string | undefined, "optional">;
|
|
495
498
|
refundedAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
499
|
+
recoveryReason: import("convex/values").VUnion<"native_state_changed" | "payment_disputed" | "payment_refunded" | undefined, [import("convex/values").VLiteral<"payment_refunded", "required">, import("convex/values").VLiteral<"payment_disputed", "required">, import("convex/values").VLiteral<"native_state_changed", "required">], "optional", never>;
|
|
496
500
|
grantFirstAttemptAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
497
501
|
creditGrantId: import("convex/values").VString<string | undefined, "optional">;
|
|
498
|
-
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "refundedAmount" | "state" | "termsJson">, {
|
|
502
|
+
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "recoveryReason" | "refundedAmount" | "state" | "termsJson">, {
|
|
499
503
|
by_account: ["accountKey", "_creationTime"];
|
|
500
504
|
by_customer_capacity: ["nativeCustomerKey", "capacityReserved", "_creationTime"];
|
|
501
505
|
by_key: ["key", "_creationTime"];
|
|
@@ -515,9 +519,12 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
515
519
|
nativeExpired?: boolean | undefined;
|
|
516
520
|
nativeObservationJson?: string | undefined;
|
|
517
521
|
nativeUnused: boolean;
|
|
522
|
+
observationConflictAt?: number | undefined;
|
|
523
|
+
observationStartedAt?: number | undefined;
|
|
518
524
|
observedAt?: number | undefined;
|
|
519
525
|
paymentIntentId: string;
|
|
520
526
|
proofJson: string;
|
|
527
|
+
proofStartedAt?: number | undefined;
|
|
521
528
|
purchaseKey: string;
|
|
522
529
|
reserved: string;
|
|
523
530
|
}, {
|
|
@@ -539,7 +546,10 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
539
546
|
nativeExpired: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
540
547
|
nativeObservationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
541
548
|
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
542
|
-
|
|
549
|
+
proofStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
550
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
551
|
+
observationConflictAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
552
|
+
}, "required", "accountKey" | "available" | "chargeId" | "consumed" | "creditGrantId" | "effectiveAt" | "expiresAt" | "frozen" | "nativeCreated" | "nativeCustomerKey" | "nativeExpired" | "nativeObservationJson" | "nativeUnused" | "observationConflictAt" | "observationStartedAt" | "observedAt" | "paymentIntentId" | "proofJson" | "proofStartedAt" | "purchaseKey" | "reserved">, {
|
|
543
553
|
by_account: ["accountKey", "_creationTime"];
|
|
544
554
|
by_customer_unused: ["nativeCustomerKey", "nativeUnused", "_creationTime"];
|
|
545
555
|
by_native: ["creditGrantId", "_creationTime"];
|
|
@@ -4452,6 +4462,7 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
4452
4462
|
historyCount?: number | undefined;
|
|
4453
4463
|
key: string;
|
|
4454
4464
|
method: "checkout" | "direct";
|
|
4465
|
+
observationStartedAt?: number | undefined;
|
|
4455
4466
|
providerId?: string | undefined;
|
|
4456
4467
|
retiredAt?: number | undefined;
|
|
4457
4468
|
retirementInvoiceId?: string | undefined;
|
|
@@ -4469,12 +4480,13 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
4469
4480
|
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
4470
4481
|
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
4471
4482
|
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4483
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4472
4484
|
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
4473
4485
|
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4474
4486
|
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4475
4487
|
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
4476
4488
|
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
4477
|
-
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
4489
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "observationStartedAt" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
4478
4490
|
by_key: ["key", "_creationTime"];
|
|
4479
4491
|
by_provider: ["providerId", "_creationTime"];
|
|
4480
4492
|
}, {}, {}>;
|
|
@@ -4754,6 +4766,7 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
4754
4766
|
paymentIntentId?: string | undefined;
|
|
4755
4767
|
paymentKey?: string | undefined;
|
|
4756
4768
|
paymentProofJson?: string | undefined;
|
|
4769
|
+
recoveryReason?: "native_state_changed" | "payment_disputed" | "payment_refunded" | undefined;
|
|
4757
4770
|
refundedAmount?: number | undefined;
|
|
4758
4771
|
state: "canceled" | "frozen" | "pending" | "ready";
|
|
4759
4772
|
termsJson: string;
|
|
@@ -4770,9 +4783,10 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
4770
4783
|
paymentKey: import("convex/values").VString<string | undefined, "optional">;
|
|
4771
4784
|
paymentProofJson: import("convex/values").VString<string | undefined, "optional">;
|
|
4772
4785
|
refundedAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4786
|
+
recoveryReason: import("convex/values").VUnion<"native_state_changed" | "payment_disputed" | "payment_refunded" | undefined, [import("convex/values").VLiteral<"payment_refunded", "required">, import("convex/values").VLiteral<"payment_disputed", "required">, import("convex/values").VLiteral<"native_state_changed", "required">], "optional", never>;
|
|
4773
4787
|
grantFirstAttemptAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4774
4788
|
creditGrantId: import("convex/values").VString<string | undefined, "optional">;
|
|
4775
|
-
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "refundedAmount" | "state" | "termsJson">, {
|
|
4789
|
+
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "recoveryReason" | "refundedAmount" | "state" | "termsJson">, {
|
|
4776
4790
|
by_account: ["accountKey", "_creationTime"];
|
|
4777
4791
|
by_customer_capacity: ["nativeCustomerKey", "capacityReserved", "_creationTime"];
|
|
4778
4792
|
by_key: ["key", "_creationTime"];
|
|
@@ -4792,9 +4806,12 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
4792
4806
|
nativeExpired?: boolean | undefined;
|
|
4793
4807
|
nativeObservationJson?: string | undefined;
|
|
4794
4808
|
nativeUnused: boolean;
|
|
4809
|
+
observationConflictAt?: number | undefined;
|
|
4810
|
+
observationStartedAt?: number | undefined;
|
|
4795
4811
|
observedAt?: number | undefined;
|
|
4796
4812
|
paymentIntentId: string;
|
|
4797
4813
|
proofJson: string;
|
|
4814
|
+
proofStartedAt?: number | undefined;
|
|
4798
4815
|
purchaseKey: string;
|
|
4799
4816
|
reserved: string;
|
|
4800
4817
|
}, {
|
|
@@ -4816,7 +4833,10 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
4816
4833
|
nativeExpired: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4817
4834
|
nativeObservationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
4818
4835
|
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4819
|
-
|
|
4836
|
+
proofStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4837
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4838
|
+
observationConflictAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
4839
|
+
}, "required", "accountKey" | "available" | "chargeId" | "consumed" | "creditGrantId" | "effectiveAt" | "expiresAt" | "frozen" | "nativeCreated" | "nativeCustomerKey" | "nativeExpired" | "nativeObservationJson" | "nativeUnused" | "observationConflictAt" | "observationStartedAt" | "observedAt" | "paymentIntentId" | "proofJson" | "proofStartedAt" | "purchaseKey" | "reserved">, {
|
|
4820
4840
|
by_account: ["accountKey", "_creationTime"];
|
|
4821
4841
|
by_customer_unused: ["nativeCustomerKey", "nativeUnused", "_creationTime"];
|
|
4822
4842
|
by_native: ["creditGrantId", "_creationTime"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoutLargeAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutLargeAdoptionTestHelpers.ts"],"names":[],"mappings":"AAGA,wBAAsB,KAAK,CAAC,KAAK,SAAM,EAAE,MAAM,SAAK
|
|
1
|
+
{"version":3,"file":"payoutLargeAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutLargeAdoptionTestHelpers.ts"],"names":[],"mappings":"AAGA,wBAAsB,KAAK,CAAC,KAAK,SAAM,EAAE,MAAM,SAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAGtC,MAAM;yBACT;gBAAE,gBAAgB,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAA;aAAE,EAAE;;;GA2C9D"}
|
|
@@ -189,6 +189,7 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
189
189
|
historyCount?: number | undefined;
|
|
190
190
|
key: string;
|
|
191
191
|
method: "checkout" | "direct";
|
|
192
|
+
observationStartedAt?: number | undefined;
|
|
192
193
|
providerId?: string | undefined;
|
|
193
194
|
retiredAt?: number | undefined;
|
|
194
195
|
retirementInvoiceId?: string | undefined;
|
|
@@ -206,12 +207,13 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
206
207
|
checkoutId: import("convex/values").VString<string | undefined, "optional">;
|
|
207
208
|
viewJson: import("convex/values").VString<string | undefined, "optional">;
|
|
208
209
|
startedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
210
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
209
211
|
controlKey: import("convex/values").VString<string | undefined, "optional">;
|
|
210
212
|
historyCount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
211
213
|
retiredAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
212
214
|
abandonedId: import("convex/values").VString<string | undefined, "optional">;
|
|
213
215
|
retirementInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
214
|
-
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
216
|
+
}, "required", "abandonedId" | "checkoutId" | "controlKey" | "firstAttemptAt" | "historyCount" | "key" | "method" | "observationStartedAt" | "providerId" | "retiredAt" | "retirementInvoiceId" | "scopeKey" | "startedAt" | "termsJson" | "viewJson">, {
|
|
215
217
|
by_key: ["key", "_creationTime"];
|
|
216
218
|
by_provider: ["providerId", "_creationTime"];
|
|
217
219
|
}, {}, {}>;
|
|
@@ -491,6 +493,7 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
491
493
|
paymentIntentId?: string | undefined;
|
|
492
494
|
paymentKey?: string | undefined;
|
|
493
495
|
paymentProofJson?: string | undefined;
|
|
496
|
+
recoveryReason?: "native_state_changed" | "payment_disputed" | "payment_refunded" | undefined;
|
|
494
497
|
refundedAmount?: number | undefined;
|
|
495
498
|
state: "canceled" | "frozen" | "pending" | "ready";
|
|
496
499
|
termsJson: string;
|
|
@@ -507,9 +510,10 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
507
510
|
paymentKey: import("convex/values").VString<string | undefined, "optional">;
|
|
508
511
|
paymentProofJson: import("convex/values").VString<string | undefined, "optional">;
|
|
509
512
|
refundedAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
513
|
+
recoveryReason: import("convex/values").VUnion<"native_state_changed" | "payment_disputed" | "payment_refunded" | undefined, [import("convex/values").VLiteral<"payment_refunded", "required">, import("convex/values").VLiteral<"payment_disputed", "required">, import("convex/values").VLiteral<"native_state_changed", "required">], "optional", never>;
|
|
510
514
|
grantFirstAttemptAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
511
515
|
creditGrantId: import("convex/values").VString<string | undefined, "optional">;
|
|
512
|
-
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "refundedAmount" | "state" | "termsJson">, {
|
|
516
|
+
}, "required", "accountKey" | "capacityReserved" | "creditGrantId" | "firstAttemptAt" | "grantFirstAttemptAt" | "key" | "nativeCustomerKey" | "paymentAttemptedAt" | "paymentIntentId" | "paymentKey" | "paymentProofJson" | "recoveryReason" | "refundedAmount" | "state" | "termsJson">, {
|
|
513
517
|
by_account: ["accountKey", "_creationTime"];
|
|
514
518
|
by_customer_capacity: ["nativeCustomerKey", "capacityReserved", "_creationTime"];
|
|
515
519
|
by_key: ["key", "_creationTime"];
|
|
@@ -529,9 +533,12 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
529
533
|
nativeExpired?: boolean | undefined;
|
|
530
534
|
nativeObservationJson?: string | undefined;
|
|
531
535
|
nativeUnused: boolean;
|
|
536
|
+
observationConflictAt?: number | undefined;
|
|
537
|
+
observationStartedAt?: number | undefined;
|
|
532
538
|
observedAt?: number | undefined;
|
|
533
539
|
paymentIntentId: string;
|
|
534
540
|
proofJson: string;
|
|
541
|
+
proofStartedAt?: number | undefined;
|
|
535
542
|
purchaseKey: string;
|
|
536
543
|
reserved: string;
|
|
537
544
|
}, {
|
|
@@ -553,7 +560,10 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
553
560
|
nativeExpired: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
554
561
|
nativeObservationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
555
562
|
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
556
|
-
|
|
563
|
+
proofStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
564
|
+
observationStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
565
|
+
observationConflictAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
566
|
+
}, "required", "accountKey" | "available" | "chargeId" | "consumed" | "creditGrantId" | "effectiveAt" | "expiresAt" | "frozen" | "nativeCreated" | "nativeCustomerKey" | "nativeExpired" | "nativeObservationJson" | "nativeUnused" | "observationConflictAt" | "observationStartedAt" | "observedAt" | "paymentIntentId" | "proofJson" | "proofStartedAt" | "purchaseKey" | "reserved">, {
|
|
557
567
|
by_account: ["accountKey", "_creationTime"];
|
|
558
568
|
by_customer_unused: ["nativeCustomerKey", "nativeUnused", "_creationTime"];
|
|
559
569
|
by_native: ["creditGrantId", "_creationTime"];
|