@fantastic.dev/better-stripe 0.55.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.
Files changed (212) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +3 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +216 -38
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +92 -3
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +216 -38
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +92 -3
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/index.d.ts +4 -0
  12. package/dist/client/index.d.ts.map +1 -1
  13. package/dist/client/index.js +1 -0
  14. package/dist/client/index.js.map +1 -1
  15. package/dist/client/usage/catalogPrices.d.ts +2 -0
  16. package/dist/client/usage/catalogPrices.d.ts.map +1 -1
  17. package/dist/client/usage/catalogPrices.js +15 -0
  18. package/dist/client/usage/catalogPrices.js.map +1 -1
  19. package/dist/client/usage/client.d.ts +2 -2
  20. package/dist/client/usage/client.d.ts.map +1 -1
  21. package/dist/client/usage/client.js +2 -2
  22. package/dist/client/usage/client.js.map +1 -1
  23. package/dist/client/usage/deliveryProvider.d.ts.map +1 -1
  24. package/dist/client/usage/deliveryProvider.js +26 -1
  25. package/dist/client/usage/deliveryProvider.js.map +1 -1
  26. package/dist/client/usage/index.d.ts +4 -0
  27. package/dist/client/usage/index.d.ts.map +1 -1
  28. package/dist/client/usage/index.js +1 -0
  29. package/dist/client/usage/index.js.map +1 -1
  30. package/dist/client/usage/subscription.fixtures.d.ts +118 -0
  31. package/dist/client/usage/subscription.fixtures.d.ts.map +1 -0
  32. package/dist/client/usage/subscription.fixtures.js +84 -0
  33. package/dist/client/usage/subscription.fixtures.js.map +1 -0
  34. package/dist/client/usage/subscriptionAbandonment.d.ts +8 -0
  35. package/dist/client/usage/subscriptionAbandonment.d.ts.map +1 -0
  36. package/dist/client/usage/subscriptionAbandonment.js +82 -0
  37. package/dist/client/usage/subscriptionAbandonment.js.map +1 -0
  38. package/dist/client/usage/subscriptionCancellation.d.ts +9 -0
  39. package/dist/client/usage/subscriptionCancellation.d.ts.map +1 -0
  40. package/dist/client/usage/subscriptionCancellation.js +39 -0
  41. package/dist/client/usage/subscriptionCancellation.js.map +1 -0
  42. package/dist/client/usage/subscriptionCheckout.d.ts +52 -0
  43. package/dist/client/usage/subscriptionCheckout.d.ts.map +1 -0
  44. package/dist/client/usage/subscriptionCheckout.js +94 -0
  45. package/dist/client/usage/subscriptionCheckout.js.map +1 -0
  46. package/dist/client/usage/subscriptionClient.d.ts +267 -0
  47. package/dist/client/usage/subscriptionClient.d.ts.map +1 -0
  48. package/dist/client/usage/subscriptionClient.js +93 -0
  49. package/dist/client/usage/subscriptionClient.js.map +1 -0
  50. package/dist/client/usage/subscriptionErrors.d.ts +5 -0
  51. package/dist/client/usage/subscriptionErrors.d.ts.map +1 -0
  52. package/dist/client/usage/subscriptionErrors.js +9 -0
  53. package/dist/client/usage/subscriptionErrors.js.map +1 -0
  54. package/dist/client/usage/subscriptionInvoiceSchema.d.ts +203 -0
  55. package/dist/client/usage/subscriptionInvoiceSchema.d.ts.map +1 -0
  56. package/dist/client/usage/subscriptionInvoiceSchema.js +108 -0
  57. package/dist/client/usage/subscriptionInvoiceSchema.js.map +1 -0
  58. package/dist/client/usage/subscriptionLifecycle.d.ts +80 -0
  59. package/dist/client/usage/subscriptionLifecycle.d.ts.map +1 -0
  60. package/dist/client/usage/subscriptionLifecycle.js +87 -0
  61. package/dist/client/usage/subscriptionLifecycle.js.map +1 -0
  62. package/dist/client/usage/subscriptionProvider.d.ts +111 -0
  63. package/dist/client/usage/subscriptionProvider.d.ts.map +1 -0
  64. package/dist/client/usage/subscriptionProvider.js +147 -0
  65. package/dist/client/usage/subscriptionProvider.js.map +1 -0
  66. package/dist/client/usage/subscriptionTerms.d.ts +161 -0
  67. package/dist/client/usage/subscriptionTerms.d.ts.map +1 -0
  68. package/dist/client/usage/subscriptionTerms.js +242 -0
  69. package/dist/client/usage/subscriptionTerms.js.map +1 -0
  70. package/dist/client/usage/subscriptionTransport.fixtures.d.ts +25 -0
  71. package/dist/client/usage/subscriptionTransport.fixtures.d.ts.map +1 -0
  72. package/dist/client/usage/subscriptionTransport.fixtures.js +203 -0
  73. package/dist/client/usage/subscriptionTransport.fixtures.js.map +1 -0
  74. package/dist/client/webhooks/processors.d.ts.map +1 -1
  75. package/dist/client/webhooks/processors.js +2 -0
  76. package/dist/client/webhooks/processors.js.map +1 -1
  77. package/dist/client/webhooks/usageSubscriptions.d.ts +5 -0
  78. package/dist/client/webhooks/usageSubscriptions.d.ts.map +1 -0
  79. package/dist/client/webhooks/usageSubscriptions.js +54 -0
  80. package/dist/client/webhooks/usageSubscriptions.js.map +1 -0
  81. package/dist/component/_generated/api.d.ts +14 -0
  82. package/dist/component/_generated/api.d.ts.map +1 -1
  83. package/dist/component/_generated/api.js.map +1 -1
  84. package/dist/component/_generated/component.d.ts +160 -5
  85. package/dist/component/_generated/component.d.ts.map +1 -1
  86. package/dist/component/accountClosure/mutations.d.ts.map +1 -1
  87. package/dist/component/accountClosure/mutations.js +10 -0
  88. package/dist/component/accountClosure/mutations.js.map +1 -1
  89. package/dist/component/balanceFunding/preparationHandlers.d.ts +8 -8
  90. package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
  91. package/dist/component/earnings/triggers.d.ts +192 -4
  92. package/dist/component/earnings/triggers.d.ts.map +1 -1
  93. package/dist/component/payoutRelease/queries.d.ts +2 -2
  94. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  95. package/dist/component/schema.d.ts +92 -3
  96. package/dist/component/schema.js +5 -0
  97. package/dist/component/schema.js.map +1 -1
  98. package/dist/component/usage/mutations.d.ts.map +1 -1
  99. package/dist/component/usage/mutations.js +5 -0
  100. package/dist/component/usage/mutations.js.map +1 -1
  101. package/dist/component/usage/queries.d.ts +2 -0
  102. package/dist/component/usage/queries.d.ts.map +1 -1
  103. package/dist/component/usage/schema.d.ts +14 -7
  104. package/dist/component/usage/schema.d.ts.map +1 -1
  105. package/dist/component/usage/schema.js +5 -1
  106. package/dist/component/usage/schema.js.map +1 -1
  107. package/dist/component/usageDelivery/fields.d.ts +3 -2
  108. package/dist/component/usageDelivery/fields.d.ts.map +1 -1
  109. package/dist/component/usageDelivery/fields.js +2 -1
  110. package/dist/component/usageDelivery/fields.js.map +1 -1
  111. package/dist/component/usageDelivery/helpers.d.ts +4 -3
  112. package/dist/component/usageDelivery/helpers.d.ts.map +1 -1
  113. package/dist/component/usageDelivery/mutations.d.ts +3 -3
  114. package/dist/component/usageDelivery/queries.d.ts +17 -3
  115. package/dist/component/usageDelivery/queries.d.ts.map +1 -1
  116. package/dist/component/usageDelivery/queries.js +20 -3
  117. package/dist/component/usageDelivery/queries.js.map +1 -1
  118. package/dist/component/usageDelivery/schema.d.ts +2 -2
  119. package/dist/component/usageDelivery/steps.d.ts +1 -1
  120. package/dist/component/usageDelivery/steps.d.ts.map +1 -1
  121. package/dist/component/usageDelivery/steps.js +12 -1
  122. package/dist/component/usageDelivery/steps.js.map +1 -1
  123. package/dist/component/usageSubscriptions/abandonment.d.ts +4 -0
  124. package/dist/component/usageSubscriptions/abandonment.d.ts.map +1 -0
  125. package/dist/component/usageSubscriptions/abandonment.js +59 -0
  126. package/dist/component/usageSubscriptions/abandonment.js.map +1 -0
  127. package/dist/component/usageSubscriptions/acceptance.d.ts +11 -0
  128. package/dist/component/usageSubscriptions/acceptance.d.ts.map +1 -0
  129. package/dist/component/usageSubscriptions/acceptance.js +38 -0
  130. package/dist/component/usageSubscriptions/acceptance.js.map +1 -0
  131. package/dist/component/usageSubscriptions/helpers.d.ts +39 -0
  132. package/dist/component/usageSubscriptions/helpers.d.ts.map +1 -0
  133. package/dist/component/usageSubscriptions/helpers.js +28 -0
  134. package/dist/component/usageSubscriptions/helpers.js.map +1 -0
  135. package/dist/component/usageSubscriptions/history.d.ts +46 -0
  136. package/dist/component/usageSubscriptions/history.d.ts.map +1 -0
  137. package/dist/component/usageSubscriptions/history.js +46 -0
  138. package/dist/component/usageSubscriptions/history.js.map +1 -0
  139. package/dist/component/usageSubscriptions/mutations.d.ts +64 -0
  140. package/dist/component/usageSubscriptions/mutations.d.ts.map +1 -0
  141. package/dist/component/usageSubscriptions/mutations.js +252 -0
  142. package/dist/component/usageSubscriptions/mutations.js.map +1 -0
  143. package/dist/component/usageSubscriptions/queries.d.ts +81 -0
  144. package/dist/component/usageSubscriptions/queries.d.ts.map +1 -0
  145. package/dist/component/usageSubscriptions/queries.js +70 -0
  146. package/dist/component/usageSubscriptions/queries.js.map +1 -0
  147. package/dist/component/usageSubscriptions/retirement.d.ts +4 -0
  148. package/dist/component/usageSubscriptions/retirement.d.ts.map +1 -0
  149. package/dist/component/usageSubscriptions/retirement.js +80 -0
  150. package/dist/component/usageSubscriptions/retirement.js.map +1 -0
  151. package/dist/component/usageSubscriptions/schema.d.ts +191 -0
  152. package/dist/component/usageSubscriptions/schema.d.ts.map +1 -0
  153. package/dist/component/usageSubscriptions/schema.js +69 -0
  154. package/dist/component/usageSubscriptions/schema.js.map +1 -0
  155. package/dist/test.d.ts +6 -0
  156. package/dist/test.d.ts.map +1 -0
  157. package/dist/test.js +15 -0
  158. package/dist/test.js.map +1 -0
  159. package/docs/README.md +2 -0
  160. package/docs/evidence/native-metering/clock-finalization-run.json +129 -0
  161. package/docs/evidence/native-metering/clock-lag-run.json +111 -0
  162. package/docs/evidence/native-metering/paid-run.json +107 -0
  163. package/docs/evidence/native-metering/promotional-run.json +103 -0
  164. package/docs/metered-usage.md +14 -0
  165. package/docs/metering-setup.md +5 -1
  166. package/docs/usage-subscriptions.md +278 -0
  167. package/package.json +4 -2
  168. package/src/client/index.ts +8 -0
  169. package/src/client/usage/catalogPrices.ts +21 -0
  170. package/src/client/usage/client.ts +2 -2
  171. package/src/client/usage/deliveryProvider.test.ts +70 -1
  172. package/src/client/usage/deliveryProvider.ts +43 -2
  173. package/src/client/usage/index.ts +9 -0
  174. package/src/client/usage/subscription.fixtures.ts +84 -0
  175. package/src/client/usage/subscriptionAbandonment.test.ts +124 -0
  176. package/src/client/usage/subscriptionAbandonment.ts +116 -0
  177. package/src/client/usage/subscriptionCancellation.ts +90 -0
  178. package/src/client/usage/subscriptionCheckout.test.ts +31 -0
  179. package/src/client/usage/subscriptionCheckout.ts +152 -0
  180. package/src/client/usage/subscriptionClient.test.ts +316 -0
  181. package/src/client/usage/subscriptionClient.ts +204 -0
  182. package/src/client/usage/subscriptionErrors.ts +14 -0
  183. package/src/client/usage/subscriptionInvoiceSchema.ts +116 -0
  184. package/src/client/usage/subscriptionLifecycle.ts +165 -0
  185. package/src/client/usage/subscriptionProvider.test.ts +48 -0
  186. package/src/client/usage/subscriptionProvider.ts +247 -0
  187. package/src/client/usage/subscriptionTerms.test.ts +158 -0
  188. package/src/client/usage/subscriptionTerms.ts +294 -0
  189. package/src/client/usage/subscriptionTransport.fixtures.ts +241 -0
  190. package/src/client/webhooks/processors.ts +2 -0
  191. package/src/client/webhooks/usageSubscriptions.test.ts +162 -0
  192. package/src/client/webhooks/usageSubscriptions.ts +81 -0
  193. package/src/component/_generated/api.ts +14 -0
  194. package/src/component/_generated/component.ts +200 -0
  195. package/src/component/accountClosure/mutations.ts +12 -0
  196. package/src/component/schema.ts +10 -0
  197. package/src/component/usage/mutations.ts +5 -0
  198. package/src/component/usage/schema.ts +5 -1
  199. package/src/component/usageDelivery/fields.ts +2 -0
  200. package/src/component/usageDelivery/queries.ts +30 -3
  201. package/src/component/usageDelivery/steps.ts +22 -1
  202. package/src/component/usageSubscriptions/abandonment.ts +80 -0
  203. package/src/component/usageSubscriptions/acceptance.test.ts +122 -0
  204. package/src/component/usageSubscriptions/acceptance.ts +66 -0
  205. package/src/component/usageSubscriptions/helpers.ts +33 -0
  206. package/src/component/usageSubscriptions/history.test.ts +69 -0
  207. package/src/component/usageSubscriptions/history.ts +68 -0
  208. package/src/component/usageSubscriptions/mutations.test.ts +205 -0
  209. package/src/component/usageSubscriptions/mutations.ts +275 -0
  210. package/src/component/usageSubscriptions/queries.ts +78 -0
  211. package/src/component/usageSubscriptions/retirement.ts +105 -0
  212. package/src/component/usageSubscriptions/schema.ts +73 -0
package/CHANGELOG.md CHANGED
@@ -26,6 +26,12 @@
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
+
29
35
  ## [0.55.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.54.0...v0.55.0) (2026-10-18)
30
36
 
31
37
  ### 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.55.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.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,90 @@ 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
+ }, {}, {}>;
12
96
  usageProviderObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
13
97
  key: string;
14
98
  observationJson: string;
@@ -76,6 +160,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
76
160
  }, "required", "code" | "dedupe" | "eventId" | "observedAt" | "providerEventId" | "scopeKey">, {
77
161
  by_dedupe: ["dedupe", "_creationTime"];
78
162
  by_event: ["eventId", "_creationTime"];
163
+ by_scope: ["scopeKey", "_creationTime"];
79
164
  }, {}, {}>;
80
165
  usageCatalog: import("convex/server").TableDefinition<import("convex/values").VObject<{
81
166
  firstAttemptAt: number;
@@ -106,8 +191,10 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
106
191
  recordJson: string;
107
192
  reservationId?: import("convex/values").GenericId<"usageReservations"> | undefined;
108
193
  scopeKey: string;
194
+ subscriptionId?: string | undefined;
109
195
  subscriptionJson: string;
110
196
  }, {
197
+ subscriptionId: import("convex/values").VString<string | undefined, "optional">;
111
198
  reservationId: import("convex/values").VId<import("convex/values").GenericId<"usageReservations"> | undefined, "optional">;
112
199
  scopeKey: import("convex/values").VString<string, "required">;
113
200
  identity: import("convex/values").VString<string, "required">;
@@ -115,8 +202,9 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
115
202
  subscriptionJson: import("convex/values").VString<string, "required">;
116
203
  occurredAt: import("convex/values").VFloat64<number, "required">;
117
204
  acceptedAt: import("convex/values").VFloat64<number, "required">;
118
- }, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionJson">, {
205
+ }, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionId" | "subscriptionJson">, {
119
206
  by_identity: ["identity", "_creationTime"];
207
+ by_scope_subscription: ["scopeKey", "subscriptionId", "_creationTime"];
120
208
  by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
121
209
  }, {}, {}>;
122
210
  usageOutbox: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -131,7 +219,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
131
219
  nextAttemptAt: number;
132
220
  provider?: string | undefined;
133
221
  providerIdentifier: string;
134
- 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;
135
223
  receipt?: {
136
224
  created: number;
137
225
  identifier: string;
@@ -147,7 +235,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
147
235
  firstSendAt: import("convex/values").VFloat64<number | undefined, "optional">;
148
236
  leaseUntil: import("convex/values").VFloat64<number | undefined, "optional">;
149
237
  held: import("convex/values").VBoolean<boolean | undefined, "optional">;
150
- 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>;
151
239
  receipt: import("convex/values").VObject<{
152
240
  created: number;
153
241
  identifier: string;
@@ -193,6 +281,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
193
281
  eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents"> | undefined, "optional">;
194
282
  }, "required", "eventId" | "planJson" | "scaledQuantity" | "scopeKey" | "sourceEventId" | "state">, {
195
283
  by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
284
+ by_scope_state: ["scopeKey", "state", "_creationTime"];
196
285
  }, {}, {}>;
197
286
  refundSyncClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
198
287
  acceptedAt?: number | undefined;
@@ -1254,6 +1343,14 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
1254
1343
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
1255
1344
  requestKey: string;
1256
1345
  result?: {
1346
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
1347
+ retryable: false;
1348
+ status: "conflict";
1349
+ } | {
1350
+ reason: "policy_invalid";
1351
+ retryable: false;
1352
+ status: "rejected";
1353
+ } | {
1257
1354
  operation: {
1258
1355
  accountId: string;
1259
1356
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -1264,14 +1361,6 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
1264
1361
  } | {
1265
1362
  enabled: boolean;
1266
1363
  status: "unchanged";
1267
- } | {
1268
- reason: "identity_changed" | "revision_changed" | "scope_busy";
1269
- retryable: false;
1270
- status: "conflict";
1271
- } | {
1272
- reason: "policy_invalid";
1273
- retryable: false;
1274
- status: "rejected";
1275
1364
  } | {
1276
1365
  reason: "provider_pending";
1277
1366
  retryable: true;
@@ -1282,6 +1371,14 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
1282
1371
  payload: import("convex/values").VString<string, "required">;
1283
1372
  preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
1284
1373
  result: import("convex/values").VUnion<{
1374
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
1375
+ retryable: false;
1376
+ status: "conflict";
1377
+ } | {
1378
+ reason: "policy_invalid";
1379
+ retryable: false;
1380
+ status: "rejected";
1381
+ } | {
1285
1382
  operation: {
1286
1383
  accountId: string;
1287
1384
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -1292,14 +1389,6 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
1292
1389
  } | {
1293
1390
  enabled: boolean;
1294
1391
  status: "unchanged";
1295
- } | {
1296
- reason: "identity_changed" | "revision_changed" | "scope_busy";
1297
- retryable: false;
1298
- status: "conflict";
1299
- } | {
1300
- reason: "policy_invalid";
1301
- retryable: false;
1302
- status: "rejected";
1303
1392
  } | {
1304
1393
  reason: "provider_pending";
1305
1394
  retryable: true;
@@ -3601,6 +3690,90 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
3601
3690
  }>;
3602
3691
  export declare function historical(currency?: string): Promise<{
3603
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
+ }, {}, {}>;
3604
3777
  usageProviderObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
3605
3778
  key: string;
3606
3779
  observationJson: string;
@@ -3668,6 +3841,7 @@ export declare function historical(currency?: string): Promise<{
3668
3841
  }, "required", "code" | "dedupe" | "eventId" | "observedAt" | "providerEventId" | "scopeKey">, {
3669
3842
  by_dedupe: ["dedupe", "_creationTime"];
3670
3843
  by_event: ["eventId", "_creationTime"];
3844
+ by_scope: ["scopeKey", "_creationTime"];
3671
3845
  }, {}, {}>;
3672
3846
  usageCatalog: import("convex/server").TableDefinition<import("convex/values").VObject<{
3673
3847
  firstAttemptAt: number;
@@ -3698,8 +3872,10 @@ export declare function historical(currency?: string): Promise<{
3698
3872
  recordJson: string;
3699
3873
  reservationId?: import("convex/values").GenericId<"usageReservations"> | undefined;
3700
3874
  scopeKey: string;
3875
+ subscriptionId?: string | undefined;
3701
3876
  subscriptionJson: string;
3702
3877
  }, {
3878
+ subscriptionId: import("convex/values").VString<string | undefined, "optional">;
3703
3879
  reservationId: import("convex/values").VId<import("convex/values").GenericId<"usageReservations"> | undefined, "optional">;
3704
3880
  scopeKey: import("convex/values").VString<string, "required">;
3705
3881
  identity: import("convex/values").VString<string, "required">;
@@ -3707,8 +3883,9 @@ export declare function historical(currency?: string): Promise<{
3707
3883
  subscriptionJson: import("convex/values").VString<string, "required">;
3708
3884
  occurredAt: import("convex/values").VFloat64<number, "required">;
3709
3885
  acceptedAt: import("convex/values").VFloat64<number, "required">;
3710
- }, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionJson">, {
3886
+ }, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionId" | "subscriptionJson">, {
3711
3887
  by_identity: ["identity", "_creationTime"];
3888
+ by_scope_subscription: ["scopeKey", "subscriptionId", "_creationTime"];
3712
3889
  by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
3713
3890
  }, {}, {}>;
3714
3891
  usageOutbox: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -3723,7 +3900,7 @@ export declare function historical(currency?: string): Promise<{
3723
3900
  nextAttemptAt: number;
3724
3901
  provider?: string | undefined;
3725
3902
  providerIdentifier: string;
3726
- 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;
3727
3904
  receipt?: {
3728
3905
  created: number;
3729
3906
  identifier: string;
@@ -3739,7 +3916,7 @@ export declare function historical(currency?: string): Promise<{
3739
3916
  firstSendAt: import("convex/values").VFloat64<number | undefined, "optional">;
3740
3917
  leaseUntil: import("convex/values").VFloat64<number | undefined, "optional">;
3741
3918
  held: import("convex/values").VBoolean<boolean | undefined, "optional">;
3742
- 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>;
3743
3920
  receipt: import("convex/values").VObject<{
3744
3921
  created: number;
3745
3922
  identifier: string;
@@ -3785,6 +3962,7 @@ export declare function historical(currency?: string): Promise<{
3785
3962
  eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents"> | undefined, "optional">;
3786
3963
  }, "required", "eventId" | "planJson" | "scaledQuantity" | "scopeKey" | "sourceEventId" | "state">, {
3787
3964
  by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
3965
+ by_scope_state: ["scopeKey", "state", "_creationTime"];
3788
3966
  }, {}, {}>;
3789
3967
  refundSyncClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
3790
3968
  acceptedAt?: number | undefined;
@@ -4846,6 +5024,14 @@ export declare function historical(currency?: string): Promise<{
4846
5024
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
4847
5025
  requestKey: string;
4848
5026
  result?: {
5027
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
5028
+ retryable: false;
5029
+ status: "conflict";
5030
+ } | {
5031
+ reason: "policy_invalid";
5032
+ retryable: false;
5033
+ status: "rejected";
5034
+ } | {
4849
5035
  operation: {
4850
5036
  accountId: string;
4851
5037
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -4856,14 +5042,6 @@ export declare function historical(currency?: string): Promise<{
4856
5042
  } | {
4857
5043
  enabled: boolean;
4858
5044
  status: "unchanged";
4859
- } | {
4860
- reason: "identity_changed" | "revision_changed" | "scope_busy";
4861
- retryable: false;
4862
- status: "conflict";
4863
- } | {
4864
- reason: "policy_invalid";
4865
- retryable: false;
4866
- status: "rejected";
4867
5045
  } | {
4868
5046
  reason: "provider_pending";
4869
5047
  retryable: true;
@@ -4874,6 +5052,14 @@ export declare function historical(currency?: string): Promise<{
4874
5052
  payload: import("convex/values").VString<string, "required">;
4875
5053
  preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
4876
5054
  result: import("convex/values").VUnion<{
5055
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
5056
+ retryable: false;
5057
+ status: "conflict";
5058
+ } | {
5059
+ reason: "policy_invalid";
5060
+ retryable: false;
5061
+ status: "rejected";
5062
+ } | {
4877
5063
  operation: {
4878
5064
  accountId: string;
4879
5065
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -4884,14 +5070,6 @@ export declare function historical(currency?: string): Promise<{
4884
5070
  } | {
4885
5071
  enabled: boolean;
4886
5072
  status: "unchanged";
4887
- } | {
4888
- reason: "identity_changed" | "revision_changed" | "scope_busy";
4889
- retryable: false;
4890
- status: "conflict";
4891
- } | {
4892
- reason: "policy_invalid";
4893
- retryable: false;
4894
- status: "rejected";
4895
5073
  } | {
4896
5074
  reason: "provider_pending";
4897
5075
  retryable: true;
@@ -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,OAA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