@fantastic.dev/better-stripe 0.59.0 → 0.60.1

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 (230) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +5 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +676 -50
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +322 -9
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +644 -18
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +338 -25
  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/paymentSource/resolver.d.ts +12 -1
  14. package/dist/client/paymentSource/resolver.d.ts.map +1 -1
  15. package/dist/client/paymentSource/resolver.fixtures.d.ts +220 -0
  16. package/dist/client/paymentSource/resolver.fixtures.d.ts.map +1 -0
  17. package/dist/client/paymentSource/resolver.fixtures.js +189 -0
  18. package/dist/client/paymentSource/resolver.fixtures.js.map +1 -0
  19. package/dist/client/paymentSource/resolver.js +28 -3
  20. package/dist/client/paymentSource/resolver.js.map +1 -1
  21. package/dist/client/settlement/execution.d.ts +25 -0
  22. package/dist/client/settlement/execution.d.ts.map +1 -1
  23. package/dist/client/settlement/execution.js +2 -0
  24. package/dist/client/settlement/execution.js.map +1 -1
  25. package/dist/client/usage/catalogPrices.d.ts +1 -1
  26. package/dist/client/usage/catalogPrices.d.ts.map +1 -1
  27. package/dist/client/usage/catalogPrices.js +4 -4
  28. package/dist/client/usage/catalogPrices.js.map +1 -1
  29. package/dist/client/usage/client.d.ts +2 -2
  30. package/dist/client/usage/client.js +2 -2
  31. package/dist/client/usage/creditCapacity.d.ts.map +1 -1
  32. package/dist/client/usage/creditCapacity.js +7 -1
  33. package/dist/client/usage/creditCapacity.js.map +1 -1
  34. package/dist/client/usage/creditClient.d.ts +3 -0
  35. package/dist/client/usage/creditClient.d.ts.map +1 -1
  36. package/dist/client/usage/creditDelivery.d.ts.map +1 -1
  37. package/dist/client/usage/creditDelivery.js +4 -1
  38. package/dist/client/usage/creditDelivery.js.map +1 -1
  39. package/dist/client/usage/creditLifecycle.d.ts.map +1 -1
  40. package/dist/client/usage/creditLifecycle.js +2 -1
  41. package/dist/client/usage/creditLifecycle.js.map +1 -1
  42. package/dist/client/usage/creditNative.d.ts +3 -0
  43. package/dist/client/usage/creditNative.d.ts.map +1 -1
  44. package/dist/client/usage/creditNative.js +3 -0
  45. package/dist/client/usage/creditNative.js.map +1 -1
  46. package/dist/client/usage/creditProvider.d.ts.map +1 -1
  47. package/dist/client/usage/creditProvider.js +2 -1
  48. package/dist/client/usage/creditProvider.js.map +1 -1
  49. package/dist/client/usage/creditRead.d.ts +1 -0
  50. package/dist/client/usage/creditRead.d.ts.map +1 -1
  51. package/dist/client/usage/creditReconciliation.d.ts.map +1 -1
  52. package/dist/client/usage/creditReconciliation.js +11 -3
  53. package/dist/client/usage/creditReconciliation.js.map +1 -1
  54. package/dist/client/usage/creditRevenue.d.ts +22 -0
  55. package/dist/client/usage/creditRevenue.d.ts.map +1 -0
  56. package/dist/client/usage/creditRevenue.js +118 -0
  57. package/dist/client/usage/creditRevenue.js.map +1 -0
  58. package/dist/client/usage/creditSettlement.d.ts +29 -0
  59. package/dist/client/usage/creditSettlement.d.ts.map +1 -0
  60. package/dist/client/usage/creditSettlement.fixtures.d.ts +216 -0
  61. package/dist/client/usage/creditSettlement.fixtures.d.ts.map +1 -0
  62. package/dist/client/usage/creditSettlement.fixtures.js +59 -0
  63. package/dist/client/usage/creditSettlement.fixtures.js.map +1 -0
  64. package/dist/client/usage/creditSettlement.js +70 -0
  65. package/dist/client/usage/creditSettlement.js.map +1 -0
  66. package/dist/client/usage/creditTransport.fixtures.d.ts +8 -1
  67. package/dist/client/usage/creditTransport.fixtures.d.ts.map +1 -1
  68. package/dist/client/usage/creditTransport.fixtures.js +27 -5
  69. package/dist/client/usage/creditTransport.fixtures.js.map +1 -1
  70. package/dist/client/usage/index.d.ts +4 -0
  71. package/dist/client/usage/index.d.ts.map +1 -1
  72. package/dist/client/usage/invoiceSale.d.ts +22 -0
  73. package/dist/client/usage/invoiceSale.d.ts.map +1 -0
  74. package/dist/client/usage/invoiceSale.fixtures.d.ts +285 -0
  75. package/dist/client/usage/invoiceSale.fixtures.d.ts.map +1 -0
  76. package/dist/client/usage/invoiceSale.fixtures.js +104 -0
  77. package/dist/client/usage/invoiceSale.fixtures.js.map +1 -0
  78. package/dist/client/usage/invoiceSale.js +117 -0
  79. package/dist/client/usage/invoiceSale.js.map +1 -0
  80. package/dist/client/usage/observationClient.d.ts +2 -2
  81. package/dist/client/usage/observationClient.d.ts.map +1 -1
  82. package/dist/client/usage/settlement.d.ts +32 -0
  83. package/dist/client/usage/settlement.d.ts.map +1 -0
  84. package/dist/client/usage/settlement.js +60 -0
  85. package/dist/client/usage/settlement.js.map +1 -0
  86. package/dist/client/usage/settlementClient.d.ts +51 -0
  87. package/dist/client/usage/settlementClient.d.ts.map +1 -0
  88. package/dist/client/usage/settlementClient.js +35 -0
  89. package/dist/client/usage/settlementClient.js.map +1 -0
  90. package/dist/client/usage/subscriptionCancellation.d.ts.map +1 -1
  91. package/dist/client/usage/subscriptionCancellation.js +3 -2
  92. package/dist/client/usage/subscriptionCancellation.js.map +1 -1
  93. package/dist/client/usage/subscriptionCheckout.d.ts.map +1 -1
  94. package/dist/client/usage/subscriptionCheckout.js +3 -2
  95. package/dist/client/usage/subscriptionCheckout.js.map +1 -1
  96. package/dist/client/usage/subscriptionLifecycle.d.ts +1 -0
  97. package/dist/client/usage/subscriptionLifecycle.d.ts.map +1 -1
  98. package/dist/client/usage/subscriptionLifecycle.js +3 -2
  99. package/dist/client/usage/subscriptionLifecycle.js.map +1 -1
  100. package/dist/client/usage/subscriptionProvider.d.ts +2 -0
  101. package/dist/client/usage/subscriptionProvider.d.ts.map +1 -1
  102. package/dist/client/usage/subscriptionProvider.js +9 -2
  103. package/dist/client/usage/subscriptionProvider.js.map +1 -1
  104. package/dist/component/_generated/component.d.ts +146 -0
  105. package/dist/component/_generated/component.d.ts.map +1 -1
  106. package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
  107. package/dist/component/balanceFunding/mutations.d.ts +27 -27
  108. package/dist/component/earnings/triggers.d.ts +172 -12
  109. package/dist/component/earnings/triggers.d.ts.map +1 -1
  110. package/dist/component/financialObservations/settlementHelpers.d.ts.map +1 -1
  111. package/dist/component/financialObservations/settlementHelpers.js +2 -0
  112. package/dist/component/financialObservations/settlementHelpers.js.map +1 -1
  113. package/dist/component/recoveryWorkflow/helpers.d.ts +25 -0
  114. package/dist/component/recoveryWorkflow/helpers.d.ts.map +1 -1
  115. package/dist/component/recoveryWorkflow/mutations.d.ts +25 -0
  116. package/dist/component/recoveryWorkflow/mutations.d.ts.map +1 -1
  117. package/dist/component/recoveryWorkflow/queries.d.ts +50 -0
  118. package/dist/component/recoveryWorkflow/queries.d.ts.map +1 -1
  119. package/dist/component/recoveryWorkflow/schema.d.ts +566 -10
  120. package/dist/component/recoveryWorkflow/schema.d.ts.map +1 -1
  121. package/dist/component/schema.d.ts +322 -9
  122. package/dist/component/settlement/mutations.d.ts +50 -0
  123. package/dist/component/settlement/mutations.d.ts.map +1 -1
  124. package/dist/component/settlement/mutations.js +8 -1
  125. package/dist/component/settlement/mutations.js.map +1 -1
  126. package/dist/component/settlement/queries.d.ts +25 -0
  127. package/dist/component/settlement/queries.d.ts.map +1 -1
  128. package/dist/component/settlement/schema.d.ts +128 -1
  129. package/dist/component/settlement/schema.d.ts.map +1 -1
  130. package/dist/component/settlement/schema.js +22 -0
  131. package/dist/component/settlement/schema.js.map +1 -1
  132. package/dist/component/usage/allowance.fixtures.d.ts +4212 -0
  133. package/dist/component/usage/allowance.fixtures.d.ts.map +1 -0
  134. package/dist/component/usage/allowance.fixtures.js +67 -0
  135. package/dist/component/usage/allowance.fixtures.js.map +1 -0
  136. package/dist/component/usageCredits/accounting.fixtures.d.ts +4235 -0
  137. package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -0
  138. package/dist/component/usageCredits/accounting.fixtures.js +89 -0
  139. package/dist/component/usageCredits/accounting.fixtures.js.map +1 -0
  140. package/dist/component/usageCredits/helpers.d.ts +7 -0
  141. package/dist/component/usageCredits/helpers.d.ts.map +1 -1
  142. package/dist/component/usageCredits/helpers.js +5 -0
  143. package/dist/component/usageCredits/helpers.js.map +1 -1
  144. package/dist/component/usageCredits/mutations.d.ts +6 -0
  145. package/dist/component/usageCredits/mutations.d.ts.map +1 -1
  146. package/dist/component/usageCredits/mutations.js +70 -7
  147. package/dist/component/usageCredits/mutations.js.map +1 -1
  148. package/dist/component/usageCredits/purchase.d.ts +1 -0
  149. package/dist/component/usageCredits/purchase.d.ts.map +1 -1
  150. package/dist/component/usageCredits/queries.d.ts +10 -0
  151. package/dist/component/usageCredits/queries.d.ts.map +1 -1
  152. package/dist/component/usageCredits/schema.d.ts +24 -4
  153. package/dist/component/usageCredits/schema.d.ts.map +1 -1
  154. package/dist/component/usageCredits/schema.js +4 -0
  155. package/dist/component/usageCredits/schema.js.map +1 -1
  156. package/dist/component/usageSubscriptions/history.d.ts.map +1 -1
  157. package/dist/component/usageSubscriptions/history.js +3 -1
  158. package/dist/component/usageSubscriptions/history.js.map +1 -1
  159. package/dist/component/usageSubscriptions/mutations.d.ts +5 -0
  160. package/dist/component/usageSubscriptions/mutations.d.ts.map +1 -1
  161. package/dist/component/usageSubscriptions/mutations.js +19 -0
  162. package/dist/component/usageSubscriptions/mutations.js.map +1 -1
  163. package/dist/component/usageSubscriptions/queries.d.ts +2 -0
  164. package/dist/component/usageSubscriptions/queries.d.ts.map +1 -1
  165. package/dist/component/usageSubscriptions/schema.d.ts +7 -2
  166. package/dist/component/usageSubscriptions/schema.d.ts.map +1 -1
  167. package/dist/component/usageSubscriptions/schema.js +1 -0
  168. package/dist/component/usageSubscriptions/schema.js.map +1 -1
  169. package/docs/README.md +4 -0
  170. package/docs/settlement.md +4 -0
  171. package/docs/usage-credits.md +6 -1
  172. package/docs/usage-security.md +130 -0
  173. package/docs/usage-settlement.md +162 -0
  174. package/package.json +3 -1
  175. package/src/client/index.ts +9 -0
  176. package/src/client/paymentSource/resolver.fixtures.ts +216 -0
  177. package/src/client/paymentSource/resolver.test.ts +11 -207
  178. package/src/client/paymentSource/resolver.ts +54 -2
  179. package/src/client/settlement/execution.ts +24 -0
  180. package/src/client/usage/catalogPrices.ts +4 -2
  181. package/src/client/usage/client.ts +2 -2
  182. package/src/client/usage/creditBackingIsolation.test.ts +110 -0
  183. package/src/client/usage/creditCapacity.test.ts +80 -1
  184. package/src/client/usage/creditCapacity.ts +10 -1
  185. package/src/client/usage/creditDelivery.ts +4 -0
  186. package/src/client/usage/creditLifecycle.ts +2 -0
  187. package/src/client/usage/creditNative.ts +5 -0
  188. package/src/client/usage/creditProofBounds.test.ts +187 -0
  189. package/src/client/usage/creditProvider.test.ts +74 -0
  190. package/src/client/usage/creditProvider.ts +2 -0
  191. package/src/client/usage/creditReconciliation.ts +18 -3
  192. package/src/client/usage/creditRevenue.test.ts +105 -0
  193. package/src/client/usage/creditRevenue.ts +163 -0
  194. package/src/client/usage/creditSettlement.fixtures.ts +70 -0
  195. package/src/client/usage/creditSettlement.test.ts +66 -0
  196. package/src/client/usage/creditSettlement.ts +94 -0
  197. package/src/client/usage/creditSettlementRecovery.test.ts +173 -0
  198. package/src/client/usage/creditTransport.fixtures.ts +31 -5
  199. package/src/client/usage/index.ts +9 -0
  200. package/src/client/usage/invoiceSale.fixtures.ts +103 -0
  201. package/src/client/usage/invoiceSale.test.ts +184 -0
  202. package/src/client/usage/invoiceSale.ts +155 -0
  203. package/src/client/usage/settlement.test.ts +179 -0
  204. package/src/client/usage/settlement.ts +81 -0
  205. package/src/client/usage/settlementClient.ts +84 -0
  206. package/src/client/usage/subscriptionCancellation.ts +3 -2
  207. package/src/client/usage/subscriptionCheckout.ts +7 -2
  208. package/src/client/usage/subscriptionClient.test.ts +60 -1
  209. package/src/client/usage/subscriptionLifecycle.ts +3 -2
  210. package/src/client/usage/subscriptionProvider.ts +27 -3
  211. package/src/component/_generated/component.ts +150 -1
  212. package/src/component/financialObservations/settlementHelpers.ts +2 -0
  213. package/src/component/settlement/mutations.ts +10 -1
  214. package/src/component/settlement/schema.ts +26 -0
  215. package/src/component/settlement/settlement-claims.test.ts +54 -0
  216. package/src/component/usage/allowance.fixtures.ts +77 -0
  217. package/src/component/usage/allowance.test.ts +3 -66
  218. package/src/component/usage/allowanceBounds.test.ts +79 -0
  219. package/src/component/usage/historyIsolation.test.ts +124 -0
  220. package/src/component/usageCredits/accounting.fixtures.ts +96 -0
  221. package/src/component/usageCredits/accounting.test.ts +176 -82
  222. package/src/component/usageCredits/freshness.test.ts +33 -0
  223. package/src/component/usageCredits/helpers.ts +8 -0
  224. package/src/component/usageCredits/mutations.ts +83 -5
  225. package/src/component/usageCredits/quotas.test.ts +63 -0
  226. package/src/component/usageCredits/schema.ts +10 -0
  227. package/src/component/usageSubscriptions/history.test.ts +57 -0
  228. package/src/component/usageSubscriptions/history.ts +3 -1
  229. package/src/component/usageSubscriptions/mutations.ts +23 -0
  230. package/src/component/usageSubscriptions/schema.ts +1 -0
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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
- }, "required", "accountKey" | "available" | "chargeId" | "consumed" | "creditGrantId" | "effectiveAt" | "expiresAt" | "frozen" | "nativeCreated" | "nativeCustomerKey" | "nativeExpired" | "nativeObservationJson" | "nativeUnused" | "observedAt" | "paymentIntentId" | "proofJson" | "purchaseKey" | "reserved">, {
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"];
@@ -1119,6 +1129,15 @@ export declare function setup(scope?: Scope): Promise<{
1119
1129
  activePhase?: "execute" | "reconcile" | undefined;
1120
1130
  allocation?: {
1121
1131
  adjustmentAmount?: number | undefined;
1132
+ creditSource?: {
1133
+ creditGrantId: string;
1134
+ customerAccount: string;
1135
+ livemode: boolean;
1136
+ purchaseId: string;
1137
+ stripeAccountId: string;
1138
+ stripePriceId: string;
1139
+ stripeProductId: string;
1140
+ } | undefined;
1122
1141
  currency: string;
1123
1142
  gross: number;
1124
1143
  paymentId?: string | undefined;
@@ -1132,6 +1151,22 @@ export declare function setup(scope?: Scope): Promise<{
1132
1151
  destinationAccountId: string;
1133
1152
  role: "affiliate" | "other" | "store";
1134
1153
  }[];
1154
+ usageSource?: {
1155
+ customerAccount: string;
1156
+ invoicePaymentId: string;
1157
+ livemode: boolean;
1158
+ meterId: string;
1159
+ model: "included_overage" | "pay_as_you_go";
1160
+ period: {
1161
+ end: number;
1162
+ start: number;
1163
+ };
1164
+ stripeAccountId: string;
1165
+ stripePriceId: string;
1166
+ stripeProductId: string;
1167
+ subscriptionId: string;
1168
+ subscriptionItemId: string;
1169
+ } | undefined;
1135
1170
  } | undefined;
1136
1171
  cancelRequested: boolean;
1137
1172
  completion?: string | undefined;
@@ -1166,6 +1201,15 @@ export declare function setup(scope?: Scope): Promise<{
1166
1201
  retryDelayMs: import("convex/values").VFloat64<number, "required">;
1167
1202
  allocation: import("convex/values").VObject<{
1168
1203
  adjustmentAmount?: number | undefined;
1204
+ creditSource?: {
1205
+ creditGrantId: string;
1206
+ customerAccount: string;
1207
+ livemode: boolean;
1208
+ purchaseId: string;
1209
+ stripeAccountId: string;
1210
+ stripePriceId: string;
1211
+ stripeProductId: string;
1212
+ } | undefined;
1169
1213
  currency: string;
1170
1214
  gross: number;
1171
1215
  paymentId?: string | undefined;
@@ -1179,10 +1223,77 @@ export declare function setup(scope?: Scope): Promise<{
1179
1223
  destinationAccountId: string;
1180
1224
  role: "affiliate" | "other" | "store";
1181
1225
  }[];
1226
+ usageSource?: {
1227
+ customerAccount: string;
1228
+ invoicePaymentId: string;
1229
+ livemode: boolean;
1230
+ meterId: string;
1231
+ model: "included_overage" | "pay_as_you_go";
1232
+ period: {
1233
+ end: number;
1234
+ start: number;
1235
+ };
1236
+ stripeAccountId: string;
1237
+ stripePriceId: string;
1238
+ stripeProductId: string;
1239
+ subscriptionId: string;
1240
+ subscriptionItemId: string;
1241
+ } | undefined;
1182
1242
  } | undefined, {
1183
1243
  sourceChargeId: import("convex/values").VString<string, "required">;
1184
1244
  paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
1185
1245
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
1246
+ usageSource: import("convex/values").VObject<{
1247
+ customerAccount: string;
1248
+ invoicePaymentId: string;
1249
+ livemode: boolean;
1250
+ meterId: string;
1251
+ model: "included_overage" | "pay_as_you_go";
1252
+ period: {
1253
+ end: number;
1254
+ start: number;
1255
+ };
1256
+ stripeAccountId: string;
1257
+ stripePriceId: string;
1258
+ stripeProductId: string;
1259
+ subscriptionId: string;
1260
+ subscriptionItemId: string;
1261
+ } | undefined, {
1262
+ stripeAccountId: import("convex/values").VString<string, "required">;
1263
+ customerAccount: import("convex/values").VString<string, "required">;
1264
+ livemode: import("convex/values").VBoolean<boolean, "required">;
1265
+ meterId: import("convex/values").VString<string, "required">;
1266
+ stripePriceId: import("convex/values").VString<string, "required">;
1267
+ stripeProductId: import("convex/values").VString<string, "required">;
1268
+ subscriptionId: import("convex/values").VString<string, "required">;
1269
+ subscriptionItemId: import("convex/values").VString<string, "required">;
1270
+ invoicePaymentId: import("convex/values").VString<string, "required">;
1271
+ period: import("convex/values").VObject<{
1272
+ end: number;
1273
+ start: number;
1274
+ }, {
1275
+ start: import("convex/values").VFloat64<number, "required">;
1276
+ end: import("convex/values").VFloat64<number, "required">;
1277
+ }, "required", "end" | "start">;
1278
+ model: import("convex/values").VUnion<"included_overage" | "pay_as_you_go", [import("convex/values").VLiteral<"pay_as_you_go", "required">, import("convex/values").VLiteral<"included_overage", "required">], "required", never>;
1279
+ }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
1280
+ creditSource: import("convex/values").VObject<{
1281
+ creditGrantId: string;
1282
+ customerAccount: string;
1283
+ livemode: boolean;
1284
+ purchaseId: string;
1285
+ stripeAccountId: string;
1286
+ stripePriceId: string;
1287
+ stripeProductId: string;
1288
+ } | undefined, {
1289
+ stripeAccountId: import("convex/values").VString<string, "required">;
1290
+ customerAccount: import("convex/values").VString<string, "required">;
1291
+ livemode: import("convex/values").VBoolean<boolean, "required">;
1292
+ purchaseId: import("convex/values").VString<string, "required">;
1293
+ creditGrantId: import("convex/values").VString<string, "required">;
1294
+ stripePriceId: import("convex/values").VString<string, "required">;
1295
+ stripeProductId: import("convex/values").VString<string, "required">;
1296
+ }, "optional", "creditGrantId" | "customerAccount" | "livemode" | "purchaseId" | "stripeAccountId" | "stripePriceId" | "stripeProductId">;
1186
1297
  gross: import("convex/values").VFloat64<number, "required">;
1187
1298
  currency: import("convex/values").VString<string, "required">;
1188
1299
  processingFee: import("convex/values").VFloat64<number, "required">;
@@ -1202,7 +1313,7 @@ export declare function setup(scope?: Scope): Promise<{
1202
1313
  role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
1203
1314
  amount: import("convex/values").VFloat64<number, "required">;
1204
1315
  }, "required", "amount" | "destinationAccountId" | "role">, "required">;
1205
- }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
1316
+ }, "optional", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId">;
1206
1317
  version: import("convex/values").VFloat64<number, "required">;
1207
1318
  sourceKind: import("convex/values").VUnion<"invoice" | "settlement", [import("convex/values").VLiteral<"settlement", "required">, import("convex/values").VLiteral<"invoice", "required">], "required", never>;
1208
1319
  sourceId: import("convex/values").VString<string, "required">;
@@ -1213,7 +1324,7 @@ export declare function setup(scope?: Scope): Promise<{
1213
1324
  activePhase: import("convex/values").VUnion<"execute" | "reconcile" | undefined, [import("convex/values").VLiteral<"execute", "required">, import("convex/values").VLiteral<"reconcile", "required">], "optional", never>;
1214
1325
  resumeQueued: import("convex/values").VBoolean<boolean, "required">;
1215
1326
  outcome: import("convex/values").VUnion<"collect" | "release" | undefined, [import("convex/values").VLiteral<"collect", "required">, import("convex/values").VLiteral<"release", "required">], "optional", never>;
1216
- }, "required", "accountId" | "activePhase" | "allocation" | "allocation.adjustmentAmount" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "cancelRequested" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "outcome" | "provider" | "providerApiVersion" | "providerStarted" | "releaseUncollectible" | "resumeQueued" | "retryDelayMs" | "scopeKey" | "sourceId" | "sourceKind" | "status" | "version" | "workflowId">, {
1327
+ }, "required", "accountId" | "activePhase" | "allocation" | "allocation.adjustmentAmount" | "allocation.creditSource" | "allocation.creditSource.creditGrantId" | "allocation.creditSource.customerAccount" | "allocation.creditSource.livemode" | "allocation.creditSource.purchaseId" | "allocation.creditSource.stripeAccountId" | "allocation.creditSource.stripePriceId" | "allocation.creditSource.stripeProductId" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "allocation.usageSource" | "allocation.usageSource.customerAccount" | "allocation.usageSource.invoicePaymentId" | "allocation.usageSource.livemode" | "allocation.usageSource.meterId" | "allocation.usageSource.model" | "allocation.usageSource.period" | "allocation.usageSource.period.end" | "allocation.usageSource.period.start" | "allocation.usageSource.stripeAccountId" | "allocation.usageSource.stripePriceId" | "allocation.usageSource.stripeProductId" | "allocation.usageSource.subscriptionId" | "allocation.usageSource.subscriptionItemId" | "cancelRequested" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "outcome" | "provider" | "providerApiVersion" | "providerStarted" | "releaseUncollectible" | "resumeQueued" | "retryDelayMs" | "scopeKey" | "sourceId" | "sourceKind" | "status" | "version" | "workflowId">, {
1217
1328
  by_group: ["groupKey", "_creationTime"];
1218
1329
  by_source: ["sourceKind", "sourceId", "_creationTime"];
1219
1330
  }, {}, {}>;
@@ -1222,6 +1333,15 @@ export declare function setup(scope?: Scope): Promise<{
1222
1333
  accountId: string;
1223
1334
  allocation?: {
1224
1335
  adjustmentAmount?: number | undefined;
1336
+ creditSource?: {
1337
+ creditGrantId: string;
1338
+ customerAccount: string;
1339
+ livemode: boolean;
1340
+ purchaseId: string;
1341
+ stripeAccountId: string;
1342
+ stripePriceId: string;
1343
+ stripeProductId: string;
1344
+ } | undefined;
1225
1345
  currency: string;
1226
1346
  gross: number;
1227
1347
  paymentId?: string | undefined;
@@ -1235,6 +1355,22 @@ export declare function setup(scope?: Scope): Promise<{
1235
1355
  destinationAccountId: string;
1236
1356
  role: "affiliate" | "other" | "store";
1237
1357
  }[];
1358
+ usageSource?: {
1359
+ customerAccount: string;
1360
+ invoicePaymentId: string;
1361
+ livemode: boolean;
1362
+ meterId: string;
1363
+ model: "included_overage" | "pay_as_you_go";
1364
+ period: {
1365
+ end: number;
1366
+ start: number;
1367
+ };
1368
+ stripeAccountId: string;
1369
+ stripePriceId: string;
1370
+ stripeProductId: string;
1371
+ subscriptionId: string;
1372
+ subscriptionItemId: string;
1373
+ } | undefined;
1238
1374
  } | undefined;
1239
1375
  completion?: string | undefined;
1240
1376
  currency: string;
@@ -1255,6 +1391,15 @@ export declare function setup(scope?: Scope): Promise<{
1255
1391
  accountId: string;
1256
1392
  allocation?: {
1257
1393
  adjustmentAmount?: number | undefined;
1394
+ creditSource?: {
1395
+ creditGrantId: string;
1396
+ customerAccount: string;
1397
+ livemode: boolean;
1398
+ purchaseId: string;
1399
+ stripeAccountId: string;
1400
+ stripePriceId: string;
1401
+ stripeProductId: string;
1402
+ } | undefined;
1258
1403
  currency: string;
1259
1404
  gross: number;
1260
1405
  paymentId?: string | undefined;
@@ -1268,6 +1413,22 @@ export declare function setup(scope?: Scope): Promise<{
1268
1413
  destinationAccountId: string;
1269
1414
  role: "affiliate" | "other" | "store";
1270
1415
  }[];
1416
+ usageSource?: {
1417
+ customerAccount: string;
1418
+ invoicePaymentId: string;
1419
+ livemode: boolean;
1420
+ meterId: string;
1421
+ model: "included_overage" | "pay_as_you_go";
1422
+ period: {
1423
+ end: number;
1424
+ start: number;
1425
+ };
1426
+ stripeAccountId: string;
1427
+ stripePriceId: string;
1428
+ stripeProductId: string;
1429
+ subscriptionId: string;
1430
+ subscriptionItemId: string;
1431
+ } | undefined;
1271
1432
  } | undefined;
1272
1433
  completion?: string | undefined;
1273
1434
  currency: string;
@@ -1293,6 +1454,15 @@ export declare function setup(scope?: Scope): Promise<{
1293
1454
  retryDelayMs: import("convex/values").VFloat64<number, "required">;
1294
1455
  allocation: import("convex/values").VObject<{
1295
1456
  adjustmentAmount?: number | undefined;
1457
+ creditSource?: {
1458
+ creditGrantId: string;
1459
+ customerAccount: string;
1460
+ livemode: boolean;
1461
+ purchaseId: string;
1462
+ stripeAccountId: string;
1463
+ stripePriceId: string;
1464
+ stripeProductId: string;
1465
+ } | undefined;
1296
1466
  currency: string;
1297
1467
  gross: number;
1298
1468
  paymentId?: string | undefined;
@@ -1306,10 +1476,77 @@ export declare function setup(scope?: Scope): Promise<{
1306
1476
  destinationAccountId: string;
1307
1477
  role: "affiliate" | "other" | "store";
1308
1478
  }[];
1479
+ usageSource?: {
1480
+ customerAccount: string;
1481
+ invoicePaymentId: string;
1482
+ livemode: boolean;
1483
+ meterId: string;
1484
+ model: "included_overage" | "pay_as_you_go";
1485
+ period: {
1486
+ end: number;
1487
+ start: number;
1488
+ };
1489
+ stripeAccountId: string;
1490
+ stripePriceId: string;
1491
+ stripeProductId: string;
1492
+ subscriptionId: string;
1493
+ subscriptionItemId: string;
1494
+ } | undefined;
1309
1495
  } | undefined, {
1310
1496
  sourceChargeId: import("convex/values").VString<string, "required">;
1311
1497
  paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
1312
1498
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
1499
+ usageSource: import("convex/values").VObject<{
1500
+ customerAccount: string;
1501
+ invoicePaymentId: string;
1502
+ livemode: boolean;
1503
+ meterId: string;
1504
+ model: "included_overage" | "pay_as_you_go";
1505
+ period: {
1506
+ end: number;
1507
+ start: number;
1508
+ };
1509
+ stripeAccountId: string;
1510
+ stripePriceId: string;
1511
+ stripeProductId: string;
1512
+ subscriptionId: string;
1513
+ subscriptionItemId: string;
1514
+ } | undefined, {
1515
+ stripeAccountId: import("convex/values").VString<string, "required">;
1516
+ customerAccount: import("convex/values").VString<string, "required">;
1517
+ livemode: import("convex/values").VBoolean<boolean, "required">;
1518
+ meterId: import("convex/values").VString<string, "required">;
1519
+ stripePriceId: import("convex/values").VString<string, "required">;
1520
+ stripeProductId: import("convex/values").VString<string, "required">;
1521
+ subscriptionId: import("convex/values").VString<string, "required">;
1522
+ subscriptionItemId: import("convex/values").VString<string, "required">;
1523
+ invoicePaymentId: import("convex/values").VString<string, "required">;
1524
+ period: import("convex/values").VObject<{
1525
+ end: number;
1526
+ start: number;
1527
+ }, {
1528
+ start: import("convex/values").VFloat64<number, "required">;
1529
+ end: import("convex/values").VFloat64<number, "required">;
1530
+ }, "required", "end" | "start">;
1531
+ model: import("convex/values").VUnion<"included_overage" | "pay_as_you_go", [import("convex/values").VLiteral<"pay_as_you_go", "required">, import("convex/values").VLiteral<"included_overage", "required">], "required", never>;
1532
+ }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
1533
+ creditSource: import("convex/values").VObject<{
1534
+ creditGrantId: string;
1535
+ customerAccount: string;
1536
+ livemode: boolean;
1537
+ purchaseId: string;
1538
+ stripeAccountId: string;
1539
+ stripePriceId: string;
1540
+ stripeProductId: string;
1541
+ } | undefined, {
1542
+ stripeAccountId: import("convex/values").VString<string, "required">;
1543
+ customerAccount: import("convex/values").VString<string, "required">;
1544
+ livemode: import("convex/values").VBoolean<boolean, "required">;
1545
+ purchaseId: import("convex/values").VString<string, "required">;
1546
+ creditGrantId: import("convex/values").VString<string, "required">;
1547
+ stripePriceId: import("convex/values").VString<string, "required">;
1548
+ stripeProductId: import("convex/values").VString<string, "required">;
1549
+ }, "optional", "creditGrantId" | "customerAccount" | "livemode" | "purchaseId" | "stripeAccountId" | "stripePriceId" | "stripeProductId">;
1313
1550
  gross: import("convex/values").VFloat64<number, "required">;
1314
1551
  currency: import("convex/values").VString<string, "required">;
1315
1552
  processingFee: import("convex/values").VFloat64<number, "required">;
@@ -1329,10 +1566,10 @@ export declare function setup(scope?: Scope): Promise<{
1329
1566
  role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
1330
1567
  amount: import("convex/values").VFloat64<number, "required">;
1331
1568
  }, "required", "amount" | "destinationAccountId" | "role">, "required">;
1332
- }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
1333
- }, "required", "accountId" | "allocation" | "allocation.adjustmentAmount" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "provider" | "providerApiVersion" | "releaseUncollectible" | "retryDelayMs" | "scopeKey">;
1569
+ }, "optional", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId">;
1570
+ }, "required", "accountId" | "allocation" | "allocation.adjustmentAmount" | "allocation.creditSource" | "allocation.creditSource.creditGrantId" | "allocation.creditSource.customerAccount" | "allocation.creditSource.livemode" | "allocation.creditSource.purchaseId" | "allocation.creditSource.stripeAccountId" | "allocation.creditSource.stripePriceId" | "allocation.creditSource.stripeProductId" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "allocation.usageSource" | "allocation.usageSource.customerAccount" | "allocation.usageSource.invoicePaymentId" | "allocation.usageSource.livemode" | "allocation.usageSource.meterId" | "allocation.usageSource.model" | "allocation.usageSource.period" | "allocation.usageSource.period.end" | "allocation.usageSource.period.start" | "allocation.usageSource.stripeAccountId" | "allocation.usageSource.stripePriceId" | "allocation.usageSource.stripeProductId" | "allocation.usageSource.subscriptionId" | "allocation.usageSource.subscriptionItemId" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "provider" | "providerApiVersion" | "releaseUncollectible" | "retryDelayMs" | "scopeKey">;
1334
1571
  operationId: import("convex/values").VId<import("convex/values").GenericId<"recoveryWorkflowOperations">, "required">;
1335
- }, "required", "binding" | "binding.accountId" | "binding.allocation" | "binding.allocation.adjustmentAmount" | "binding.allocation.currency" | "binding.allocation.gross" | "binding.allocation.paymentId" | "binding.allocation.paymentIntentId" | "binding.allocation.platformNet" | "binding.allocation.processingFee" | "binding.allocation.sourceChargeId" | "binding.allocation.sourceInvoiceId" | "binding.allocation.transfers" | "binding.completion" | "binding.currency" | "binding.definitionVersion" | "binding.groupKey" | "binding.maxAttempts" | "binding.provider" | "binding.providerApiVersion" | "binding.releaseUncollectible" | "binding.retryDelayMs" | "binding.scopeKey" | "operationId" | "requestKey">, {
1572
+ }, "required", "binding" | "binding.accountId" | "binding.allocation" | "binding.allocation.adjustmentAmount" | "binding.allocation.creditSource" | "binding.allocation.creditSource.creditGrantId" | "binding.allocation.creditSource.customerAccount" | "binding.allocation.creditSource.livemode" | "binding.allocation.creditSource.purchaseId" | "binding.allocation.creditSource.stripeAccountId" | "binding.allocation.creditSource.stripePriceId" | "binding.allocation.creditSource.stripeProductId" | "binding.allocation.currency" | "binding.allocation.gross" | "binding.allocation.paymentId" | "binding.allocation.paymentIntentId" | "binding.allocation.platformNet" | "binding.allocation.processingFee" | "binding.allocation.sourceChargeId" | "binding.allocation.sourceInvoiceId" | "binding.allocation.transfers" | "binding.allocation.usageSource" | "binding.allocation.usageSource.customerAccount" | "binding.allocation.usageSource.invoicePaymentId" | "binding.allocation.usageSource.livemode" | "binding.allocation.usageSource.meterId" | "binding.allocation.usageSource.model" | "binding.allocation.usageSource.period" | "binding.allocation.usageSource.period.end" | "binding.allocation.usageSource.period.start" | "binding.allocation.usageSource.stripeAccountId" | "binding.allocation.usageSource.stripePriceId" | "binding.allocation.usageSource.stripeProductId" | "binding.allocation.usageSource.subscriptionId" | "binding.allocation.usageSource.subscriptionItemId" | "binding.completion" | "binding.currency" | "binding.definitionVersion" | "binding.groupKey" | "binding.maxAttempts" | "binding.provider" | "binding.providerApiVersion" | "binding.releaseUncollectible" | "binding.retryDelayMs" | "binding.scopeKey" | "operationId" | "requestKey">, {
1336
1573
  by_key: ["requestKey", "_creationTime"];
1337
1574
  }, {}, {}>;
1338
1575
  balanceFundingPreparations: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -1640,6 +1877,14 @@ export declare function setup(scope?: Scope): Promise<{
1640
1877
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
1641
1878
  requestKey: string;
1642
1879
  result?: {
1880
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
1881
+ retryable: false;
1882
+ status: "conflict";
1883
+ } | {
1884
+ reason: "policy_invalid";
1885
+ retryable: false;
1886
+ status: "rejected";
1887
+ } | {
1643
1888
  operation: {
1644
1889
  accountId: string;
1645
1890
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -1650,14 +1895,6 @@ export declare function setup(scope?: Scope): Promise<{
1650
1895
  } | {
1651
1896
  enabled: boolean;
1652
1897
  status: "unchanged";
1653
- } | {
1654
- reason: "identity_changed" | "revision_changed" | "scope_busy";
1655
- retryable: false;
1656
- status: "conflict";
1657
- } | {
1658
- reason: "policy_invalid";
1659
- retryable: false;
1660
- status: "rejected";
1661
1898
  } | {
1662
1899
  reason: "provider_pending";
1663
1900
  retryable: true;
@@ -1668,6 +1905,14 @@ export declare function setup(scope?: Scope): Promise<{
1668
1905
  payload: import("convex/values").VString<string, "required">;
1669
1906
  preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
1670
1907
  result: import("convex/values").VUnion<{
1908
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
1909
+ retryable: false;
1910
+ status: "conflict";
1911
+ } | {
1912
+ reason: "policy_invalid";
1913
+ retryable: false;
1914
+ status: "rejected";
1915
+ } | {
1671
1916
  operation: {
1672
1917
  accountId: string;
1673
1918
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -1678,14 +1923,6 @@ export declare function setup(scope?: Scope): Promise<{
1678
1923
  } | {
1679
1924
  enabled: boolean;
1680
1925
  status: "unchanged";
1681
- } | {
1682
- reason: "identity_changed" | "revision_changed" | "scope_busy";
1683
- retryable: false;
1684
- status: "conflict";
1685
- } | {
1686
- reason: "policy_invalid";
1687
- retryable: false;
1688
- status: "rejected";
1689
1926
  } | {
1690
1927
  reason: "provider_pending";
1691
1928
  retryable: true;
@@ -3130,6 +3367,15 @@ export declare function setup(scope?: Scope): Promise<{
3130
3367
  }, {}, {}>;
3131
3368
  settlementAllocations: import("convex/server").TableDefinition<import("convex/values").VObject<{
3132
3369
  adjustmentAmount?: number | undefined;
3370
+ creditSource?: {
3371
+ creditGrantId: string;
3372
+ customerAccount: string;
3373
+ livemode: boolean;
3374
+ purchaseId: string;
3375
+ stripeAccountId: string;
3376
+ stripePriceId: string;
3377
+ stripeProductId: string;
3378
+ } | undefined;
3133
3379
  currency: string;
3134
3380
  gross: number;
3135
3381
  paymentId?: string | undefined;
@@ -3143,10 +3389,77 @@ export declare function setup(scope?: Scope): Promise<{
3143
3389
  destinationAccountId: string;
3144
3390
  role: "affiliate" | "other" | "store";
3145
3391
  }[];
3392
+ usageSource?: {
3393
+ customerAccount: string;
3394
+ invoicePaymentId: string;
3395
+ livemode: boolean;
3396
+ meterId: string;
3397
+ model: "included_overage" | "pay_as_you_go";
3398
+ period: {
3399
+ end: number;
3400
+ start: number;
3401
+ };
3402
+ stripeAccountId: string;
3403
+ stripePriceId: string;
3404
+ stripeProductId: string;
3405
+ subscriptionId: string;
3406
+ subscriptionItemId: string;
3407
+ } | undefined;
3146
3408
  }, {
3147
3409
  sourceChargeId: import("convex/values").VString<string, "required">;
3148
3410
  paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
3149
3411
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
3412
+ usageSource: import("convex/values").VObject<{
3413
+ customerAccount: string;
3414
+ invoicePaymentId: string;
3415
+ livemode: boolean;
3416
+ meterId: string;
3417
+ model: "included_overage" | "pay_as_you_go";
3418
+ period: {
3419
+ end: number;
3420
+ start: number;
3421
+ };
3422
+ stripeAccountId: string;
3423
+ stripePriceId: string;
3424
+ stripeProductId: string;
3425
+ subscriptionId: string;
3426
+ subscriptionItemId: string;
3427
+ } | undefined, {
3428
+ stripeAccountId: import("convex/values").VString<string, "required">;
3429
+ customerAccount: import("convex/values").VString<string, "required">;
3430
+ livemode: import("convex/values").VBoolean<boolean, "required">;
3431
+ meterId: import("convex/values").VString<string, "required">;
3432
+ stripePriceId: import("convex/values").VString<string, "required">;
3433
+ stripeProductId: import("convex/values").VString<string, "required">;
3434
+ subscriptionId: import("convex/values").VString<string, "required">;
3435
+ subscriptionItemId: import("convex/values").VString<string, "required">;
3436
+ invoicePaymentId: import("convex/values").VString<string, "required">;
3437
+ period: import("convex/values").VObject<{
3438
+ end: number;
3439
+ start: number;
3440
+ }, {
3441
+ start: import("convex/values").VFloat64<number, "required">;
3442
+ end: import("convex/values").VFloat64<number, "required">;
3443
+ }, "required", "end" | "start">;
3444
+ model: import("convex/values").VUnion<"included_overage" | "pay_as_you_go", [import("convex/values").VLiteral<"pay_as_you_go", "required">, import("convex/values").VLiteral<"included_overage", "required">], "required", never>;
3445
+ }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
3446
+ creditSource: import("convex/values").VObject<{
3447
+ creditGrantId: string;
3448
+ customerAccount: string;
3449
+ livemode: boolean;
3450
+ purchaseId: string;
3451
+ stripeAccountId: string;
3452
+ stripePriceId: string;
3453
+ stripeProductId: string;
3454
+ } | undefined, {
3455
+ stripeAccountId: import("convex/values").VString<string, "required">;
3456
+ customerAccount: import("convex/values").VString<string, "required">;
3457
+ livemode: import("convex/values").VBoolean<boolean, "required">;
3458
+ purchaseId: import("convex/values").VString<string, "required">;
3459
+ creditGrantId: import("convex/values").VString<string, "required">;
3460
+ stripePriceId: import("convex/values").VString<string, "required">;
3461
+ stripeProductId: import("convex/values").VString<string, "required">;
3462
+ }, "optional", "creditGrantId" | "customerAccount" | "livemode" | "purchaseId" | "stripeAccountId" | "stripePriceId" | "stripeProductId">;
3150
3463
  gross: import("convex/values").VFloat64<number, "required">;
3151
3464
  currency: import("convex/values").VString<string, "required">;
3152
3465
  processingFee: import("convex/values").VFloat64<number, "required">;
@@ -3166,7 +3479,7 @@ export declare function setup(scope?: Scope): Promise<{
3166
3479
  role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
3167
3480
  amount: import("convex/values").VFloat64<number, "required">;
3168
3481
  }, "required", "amount" | "destinationAccountId" | "role">, "required">;
3169
- }, "required", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">, {
3482
+ }, "required", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId">, {
3170
3483
  by_source_charge: ["sourceChargeId", "_creationTime"];
3171
3484
  }, {}, {}>;
3172
3485
  commissionTerms: import("convex/server").TableDefinition<import("convex/values").VObject<{