@fantastic.dev/better-stripe 0.42.0 → 0.43.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 (126) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +1022 -0
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +511 -0
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +1054 -32
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +527 -16
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/costRecovery-invoices.d.ts +3 -2
  12. package/dist/client/costRecovery-invoices.d.ts.map +1 -1
  13. package/dist/client/costRecovery-invoices.js +10 -5
  14. package/dist/client/costRecovery-invoices.js.map +1 -1
  15. package/dist/client/costRecovery.d.ts +4 -2
  16. package/dist/client/costRecovery.d.ts.map +1 -1
  17. package/dist/client/costRecovery.js +2 -2
  18. package/dist/client/costRecovery.js.map +1 -1
  19. package/dist/client/processingCostReconciliation/client.d.ts +14 -0
  20. package/dist/client/processingCostReconciliation/client.d.ts.map +1 -0
  21. package/dist/client/processingCostReconciliation/client.js +35 -0
  22. package/dist/client/processingCostReconciliation/client.js.map +1 -0
  23. package/dist/client/processingCostReconciliation/contracts.d.ts +172 -0
  24. package/dist/client/processingCostReconciliation/contracts.d.ts.map +1 -0
  25. package/dist/client/processingCostReconciliation/contracts.js +55 -0
  26. package/dist/client/processingCostReconciliation/contracts.js.map +1 -0
  27. package/dist/client/processingCostReconciliation/invoiceFunding.d.ts +15 -0
  28. package/dist/client/processingCostReconciliation/invoiceFunding.d.ts.map +1 -0
  29. package/dist/client/processingCostReconciliation/invoiceFunding.js +195 -0
  30. package/dist/client/processingCostReconciliation/invoiceFunding.js.map +1 -0
  31. package/dist/client/processingCostReconciliation/provider.d.ts +9 -0
  32. package/dist/client/processingCostReconciliation/provider.d.ts.map +1 -0
  33. package/dist/client/processingCostReconciliation/provider.js +148 -0
  34. package/dist/client/processingCostReconciliation/provider.js.map +1 -0
  35. package/dist/client/settlement/processingCostHistory.d.ts +12 -0
  36. package/dist/client/settlement/processingCostHistory.d.ts.map +1 -0
  37. package/dist/client/settlement/processingCostHistory.js +20 -0
  38. package/dist/client/settlement/processingCostHistory.js.map +1 -0
  39. package/dist/client/settlement/processingCosts.d.ts +3 -0
  40. package/dist/client/settlement/processingCosts.d.ts.map +1 -1
  41. package/dist/client/settlement/processingCosts.js +27 -7
  42. package/dist/client/settlement/processingCosts.js.map +1 -1
  43. package/dist/component/_generated/api.d.ts +18 -0
  44. package/dist/component/_generated/api.d.ts.map +1 -1
  45. package/dist/component/_generated/api.js.map +1 -1
  46. package/dist/component/_generated/component.d.ts +515 -0
  47. package/dist/component/_generated/component.d.ts.map +1 -1
  48. package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
  49. package/dist/component/balanceFunding/mutations.d.ts +16 -16
  50. package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
  51. package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
  52. package/dist/component/earnings/triggers.d.ts +318 -16
  53. package/dist/component/earnings/triggers.d.ts.map +1 -1
  54. package/dist/component/payoutRelease/queries.d.ts +2 -2
  55. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  56. package/dist/component/processingCostReconciliation/adoption.d.ts +29 -0
  57. package/dist/component/processingCostReconciliation/adoption.d.ts.map +1 -0
  58. package/dist/component/processingCostReconciliation/adoption.js +58 -0
  59. package/dist/component/processingCostReconciliation/adoption.js.map +1 -0
  60. package/dist/component/processingCostReconciliation/bridge.d.ts +45 -0
  61. package/dist/component/processingCostReconciliation/bridge.d.ts.map +1 -0
  62. package/dist/component/processingCostReconciliation/bridge.js +41 -0
  63. package/dist/component/processingCostReconciliation/bridge.js.map +1 -0
  64. package/dist/component/processingCostReconciliation/helpers.d.ts +327 -0
  65. package/dist/component/processingCostReconciliation/helpers.d.ts.map +1 -0
  66. package/dist/component/processingCostReconciliation/helpers.js +39 -0
  67. package/dist/component/processingCostReconciliation/helpers.js.map +1 -0
  68. package/dist/component/processingCostReconciliation/mutations.d.ts +303 -0
  69. package/dist/component/processingCostReconciliation/mutations.d.ts.map +1 -0
  70. package/dist/component/processingCostReconciliation/mutations.js +121 -0
  71. package/dist/component/processingCostReconciliation/mutations.js.map +1 -0
  72. package/dist/component/processingCostReconciliation/queries.d.ts +422 -0
  73. package/dist/component/processingCostReconciliation/queries.d.ts.map +1 -0
  74. package/dist/component/processingCostReconciliation/queries.js +19 -0
  75. package/dist/component/processingCostReconciliation/queries.js.map +1 -0
  76. package/dist/component/processingCostReconciliation/rollback.d.ts +21 -0
  77. package/dist/component/processingCostReconciliation/rollback.d.ts.map +1 -0
  78. package/dist/component/processingCostReconciliation/rollback.js +54 -0
  79. package/dist/component/processingCostReconciliation/rollback.js.map +1 -0
  80. package/dist/component/processingCostReconciliation/schema.d.ts +2460 -0
  81. package/dist/component/processingCostReconciliation/schema.d.ts.map +1 -0
  82. package/dist/component/processingCostReconciliation/schema.js +137 -0
  83. package/dist/component/processingCostReconciliation/schema.js.map +1 -0
  84. package/dist/component/processingCostReconciliation/steps.d.ts +306 -0
  85. package/dist/component/processingCostReconciliation/steps.d.ts.map +1 -0
  86. package/dist/component/processingCostReconciliation/steps.js +149 -0
  87. package/dist/component/processingCostReconciliation/steps.js.map +1 -0
  88. package/dist/component/processingCostReconciliation/validation.d.ts +13 -0
  89. package/dist/component/processingCostReconciliation/validation.d.ts.map +1 -0
  90. package/dist/component/processingCostReconciliation/validation.js +61 -0
  91. package/dist/component/processingCostReconciliation/validation.js.map +1 -0
  92. package/dist/component/processingCostReconciliation/workflow.d.ts +105 -0
  93. package/dist/component/processingCostReconciliation/workflow.d.ts.map +1 -0
  94. package/dist/component/processingCostReconciliation/workflow.js +33 -0
  95. package/dist/component/processingCostReconciliation/workflow.js.map +1 -0
  96. package/dist/component/schema.d.ts +511 -0
  97. package/dist/component/schema.js +2 -0
  98. package/dist/component/schema.js.map +1 -1
  99. package/package.json +1 -1
  100. package/src/client/costRecovery-invoices.ts +19 -4
  101. package/src/client/costRecovery.ts +4 -2
  102. package/src/client/processingCostReconciliation/client.ts +75 -0
  103. package/src/client/processingCostReconciliation/contracts.ts +176 -0
  104. package/src/client/processingCostReconciliation/invoiceFunding.ts +270 -0
  105. package/src/client/processingCostReconciliation/invoiceProvider.test.ts +353 -0
  106. package/src/client/processingCostReconciliation/provider.test.ts +324 -0
  107. package/src/client/processingCostReconciliation/provider.ts +178 -0
  108. package/src/client/settlement/processingCostHistory.ts +31 -0
  109. package/src/client/settlement/processingCosts.ts +50 -15
  110. package/src/component/_generated/api.ts +18 -0
  111. package/src/component/_generated/component.ts +570 -0
  112. package/src/component/processingCostReconciliation/adoption.test.ts +206 -0
  113. package/src/component/processingCostReconciliation/adoption.ts +77 -0
  114. package/src/component/processingCostReconciliation/bridge.ts +50 -0
  115. package/src/component/processingCostReconciliation/helpers.ts +55 -0
  116. package/src/component/processingCostReconciliation/invoice.test.ts +152 -0
  117. package/src/component/processingCostReconciliation/mutations.ts +148 -0
  118. package/src/component/processingCostReconciliation/queries.ts +18 -0
  119. package/src/component/processingCostReconciliation/rollback.ts +72 -0
  120. package/src/component/processingCostReconciliation/schema.ts +191 -0
  121. package/src/component/processingCostReconciliation/state.test.ts +407 -0
  122. package/src/component/processingCostReconciliation/steps.ts +168 -0
  123. package/src/component/processingCostReconciliation/validation.ts +79 -0
  124. package/src/component/processingCostReconciliation/workflow.test.ts +329 -0
  125. package/src/component/processingCostReconciliation/workflow.ts +50 -0
  126. package/src/component/schema.ts +2 -0
@@ -1 +1 @@
1
- {"version":3,"file":"payoutAdoptionTestHelpers.d.ts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gBACb,MAAM,EAAE,MAAM,CAAC;gBACf,QAAQ,EAAE,MAAM,CAAC;gBACjB,QAAQ,EAAE,MAAM,CAAC;aAClB;;;;gBA2CG,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDrB"}
@@ -10,6 +10,517 @@ export declare const scope: {
10
10
  };
11
11
  export declare function setup(amounts?: number[]): Promise<{
12
12
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
13
+ processingCostReconciliationOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
+ accountId: string;
15
+ claimKey: string;
16
+ currency: string;
17
+ definitionVersion: number;
18
+ expectedRevision: number;
19
+ failure?: {
20
+ reason: "fee_pending" | "history_incomplete" | "provider_pending";
21
+ retryable: true;
22
+ status: "not_ready";
23
+ } | {
24
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
25
+ retryable: false;
26
+ status: "conflict";
27
+ } | {
28
+ reason: "currency_mismatch" | "invalid_scope" | "payment_not_payable" | "policy_invalid" | "unsupported_source";
29
+ retryable: false;
30
+ status: "rejected";
31
+ } | {
32
+ reason: "history_incomplete" | "provider_outcome_unknown";
33
+ retryable: false;
34
+ status: "unknown";
35
+ } | undefined;
36
+ importHook?: string | undefined;
37
+ maxAttempts: number;
38
+ policy: {
39
+ liability: {
40
+ disputeCosts: "all" | "none";
41
+ processingCosts: "all" | "none" | "uncovered";
42
+ };
43
+ rounding: "ceil" | "floor" | "nearest";
44
+ sellingFee: number;
45
+ };
46
+ projection?: string | undefined;
47
+ provider: string;
48
+ providerApiVersion: string;
49
+ requestKey: string;
50
+ result?: {
51
+ claim: {
52
+ _creationTime: number;
53
+ _id: import("convex/values").GenericId<"recoveryClaims">;
54
+ accountId: string;
55
+ amountDue: number;
56
+ claimKey: string;
57
+ collectedAmount: number;
58
+ currency: string;
59
+ openingCollection?: {
60
+ amountDue: number;
61
+ collectedAmount: number;
62
+ operationKey: string;
63
+ revision: number;
64
+ } | undefined;
65
+ outstanding: number;
66
+ reservedAmount: number;
67
+ revision: number;
68
+ scopeKey: string;
69
+ sign: "negative" | "positive" | "zero";
70
+ sourceChargeId: string;
71
+ sourceGross: number;
72
+ sourceProcessingFee: number;
73
+ };
74
+ deficit: {
75
+ amountDue: number;
76
+ currency: string;
77
+ disputeLiability: number;
78
+ processingLiability: number;
79
+ retainedFee: number;
80
+ };
81
+ observation: {
82
+ currency: string;
83
+ disputeFees: number;
84
+ gross: number;
85
+ originalProcessingFee: number;
86
+ paymentIntentId: string;
87
+ principalReturned: number;
88
+ processingFee: number;
89
+ provenance: {
90
+ customerAccountId: string;
91
+ invoiceId: string;
92
+ invoicePaymentId: string;
93
+ recoveryInvoiceItemId?: string | undefined;
94
+ stripePriceId?: string | undefined;
95
+ stripeProductId?: string | undefined;
96
+ subscriptionId?: string | undefined;
97
+ };
98
+ sourceChargeId: string;
99
+ };
100
+ rollbackClaim?: {
101
+ _creationTime: number;
102
+ _id: import("convex/values").GenericId<"recoveryClaims">;
103
+ accountId: string;
104
+ amountDue: number;
105
+ claimKey: string;
106
+ collectedAmount: number;
107
+ currency: string;
108
+ openingCollection?: {
109
+ amountDue: number;
110
+ collectedAmount: number;
111
+ operationKey: string;
112
+ revision: number;
113
+ } | undefined;
114
+ outstanding: number;
115
+ reservedAmount: number;
116
+ revision: number;
117
+ scopeKey: string;
118
+ sign: "negative" | "positive" | "zero";
119
+ sourceChargeId: string;
120
+ sourceGross: number;
121
+ sourceProcessingFee: number;
122
+ } | undefined;
123
+ } | undefined;
124
+ retryDelayMs: number;
125
+ rollback?: {
126
+ expectedRevision: number;
127
+ groupKey: string;
128
+ } | undefined;
129
+ scopeKey: string;
130
+ source: {
131
+ customerAccountId: string;
132
+ gross: number;
133
+ invoiceId?: string | undefined;
134
+ kind: "sale";
135
+ paymentIntentId: string;
136
+ stripeAccountId?: string | undefined;
137
+ stripePriceId?: string | undefined;
138
+ stripeProductId?: string | undefined;
139
+ subscriptionId?: string | undefined;
140
+ } | {
141
+ gross: number;
142
+ groupKey: string;
143
+ kind: "invoice_recovery";
144
+ paymentIntentId: string;
145
+ };
146
+ status: "completed" | "conflict" | "queued" | "rejected" | "running" | "unknown" | "waiting";
147
+ version: number;
148
+ workflowId?: string | undefined;
149
+ }, {
150
+ accountId: import("convex/values").VString<string, "required">;
151
+ scopeKey: import("convex/values").VString<string, "required">;
152
+ currency: import("convex/values").VString<string, "required">;
153
+ claimKey: import("convex/values").VString<string, "required">;
154
+ source: import("convex/values").VUnion<{
155
+ customerAccountId: string;
156
+ gross: number;
157
+ invoiceId?: string | undefined;
158
+ kind: "sale";
159
+ paymentIntentId: string;
160
+ stripeAccountId?: string | undefined;
161
+ stripePriceId?: string | undefined;
162
+ stripeProductId?: string | undefined;
163
+ subscriptionId?: string | undefined;
164
+ } | {
165
+ gross: number;
166
+ groupKey: string;
167
+ kind: "invoice_recovery";
168
+ paymentIntentId: string;
169
+ }, [import("convex/values").VObject<{
170
+ customerAccountId: string;
171
+ gross: number;
172
+ invoiceId?: string | undefined;
173
+ kind: "sale";
174
+ paymentIntentId: string;
175
+ stripeAccountId?: string | undefined;
176
+ stripePriceId?: string | undefined;
177
+ stripeProductId?: string | undefined;
178
+ subscriptionId?: string | undefined;
179
+ }, {
180
+ kind: import("convex/values").VLiteral<"sale", "required">;
181
+ paymentIntentId: import("convex/values").VString<string, "required">;
182
+ gross: import("convex/values").VFloat64<number, "required">;
183
+ customerAccountId: import("convex/values").VString<string, "required">;
184
+ invoiceId: import("convex/values").VString<string | undefined, "optional">;
185
+ subscriptionId: import("convex/values").VString<string | undefined, "optional">;
186
+ stripeAccountId: import("convex/values").VString<string | undefined, "optional">;
187
+ stripePriceId: import("convex/values").VString<string | undefined, "optional">;
188
+ stripeProductId: import("convex/values").VString<string | undefined, "optional">;
189
+ }, "required", "customerAccountId" | "gross" | "invoiceId" | "kind" | "paymentIntentId" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId">, import("convex/values").VObject<{
190
+ gross: number;
191
+ groupKey: string;
192
+ kind: "invoice_recovery";
193
+ paymentIntentId: string;
194
+ }, {
195
+ kind: import("convex/values").VLiteral<"invoice_recovery", "required">;
196
+ paymentIntentId: import("convex/values").VString<string, "required">;
197
+ gross: import("convex/values").VFloat64<number, "required">;
198
+ groupKey: import("convex/values").VString<string, "required">;
199
+ }, "required", "gross" | "groupKey" | "kind" | "paymentIntentId">], "required", "customerAccountId" | "gross" | "groupKey" | "invoiceId" | "kind" | "paymentIntentId" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId">;
200
+ policy: import("convex/values").VObject<{
201
+ liability: {
202
+ disputeCosts: "all" | "none";
203
+ processingCosts: "all" | "none" | "uncovered";
204
+ };
205
+ rounding: "ceil" | "floor" | "nearest";
206
+ sellingFee: number;
207
+ }, {
208
+ sellingFee: import("convex/values").VFloat64<number, "required">;
209
+ liability: import("convex/values").VObject<{
210
+ disputeCosts: "all" | "none";
211
+ processingCosts: "all" | "none" | "uncovered";
212
+ }, {
213
+ processingCosts: import("convex/values").VUnion<"all" | "none" | "uncovered", [import("convex/values").VLiteral<"uncovered", "required">, import("convex/values").VLiteral<"all", "required">, import("convex/values").VLiteral<"none", "required">], "required", never>;
214
+ disputeCosts: import("convex/values").VUnion<"all" | "none", [import("convex/values").VLiteral<"all", "required">, import("convex/values").VLiteral<"none", "required">], "required", never>;
215
+ }, "required", "disputeCosts" | "processingCosts">;
216
+ rounding: import("convex/values").VUnion<"ceil" | "floor" | "nearest", [import("convex/values").VLiteral<"nearest", "required">, import("convex/values").VLiteral<"floor", "required">, import("convex/values").VLiteral<"ceil", "required">], "required", never>;
217
+ }, "required", "liability" | "liability.disputeCosts" | "liability.processingCosts" | "rounding" | "sellingFee">;
218
+ expectedRevision: import("convex/values").VFloat64<number, "required">;
219
+ rollback: import("convex/values").VObject<{
220
+ expectedRevision: number;
221
+ groupKey: string;
222
+ } | undefined, {
223
+ groupKey: import("convex/values").VString<string, "required">;
224
+ expectedRevision: import("convex/values").VFloat64<number, "required">;
225
+ }, "optional", "expectedRevision" | "groupKey">;
226
+ provider: import("convex/values").VString<string, "required">;
227
+ projection: import("convex/values").VString<string | undefined, "optional">;
228
+ importHook: import("convex/values").VString<string | undefined, "optional">;
229
+ providerApiVersion: import("convex/values").VString<string, "required">;
230
+ definitionVersion: import("convex/values").VFloat64<number, "required">;
231
+ maxAttempts: import("convex/values").VFloat64<number, "required">;
232
+ retryDelayMs: import("convex/values").VFloat64<number, "required">;
233
+ requestKey: import("convex/values").VString<string, "required">;
234
+ version: import("convex/values").VFloat64<number, "required">;
235
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
236
+ status: import("convex/values").VUnion<"completed" | "conflict" | "queued" | "rejected" | "running" | "unknown" | "waiting", [import("convex/values").VLiteral<"queued", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"waiting", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"conflict", "required">, import("convex/values").VLiteral<"rejected", "required">, import("convex/values").VLiteral<"unknown", "required">], "required", never>;
237
+ failure: import("convex/values").VUnion<{
238
+ reason: "fee_pending" | "history_incomplete" | "provider_pending";
239
+ retryable: true;
240
+ status: "not_ready";
241
+ } | {
242
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
243
+ retryable: false;
244
+ status: "conflict";
245
+ } | {
246
+ reason: "currency_mismatch" | "invalid_scope" | "payment_not_payable" | "policy_invalid" | "unsupported_source";
247
+ retryable: false;
248
+ status: "rejected";
249
+ } | {
250
+ reason: "history_incomplete" | "provider_outcome_unknown";
251
+ retryable: false;
252
+ status: "unknown";
253
+ } | undefined, [import("convex/values").VObject<{
254
+ reason: "fee_pending" | "history_incomplete" | "provider_pending";
255
+ retryable: true;
256
+ status: "not_ready";
257
+ }, {
258
+ status: import("convex/values").VLiteral<"not_ready", "required">;
259
+ reason: import("convex/values").VUnion<"fee_pending" | "history_incomplete" | "provider_pending", [import("convex/values").VLiteral<"provider_pending", "required">, import("convex/values").VLiteral<"fee_pending", "required">, import("convex/values").VLiteral<"history_incomplete", "required">], "required", never>;
260
+ retryable: import("convex/values").VLiteral<true, "required">;
261
+ }, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
262
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
263
+ retryable: false;
264
+ status: "conflict";
265
+ }, {
266
+ status: import("convex/values").VLiteral<"conflict", "required">;
267
+ reason: import("convex/values").VUnion<"identity_changed" | "revision_changed" | "scope_busy", [import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"revision_changed", "required">, import("convex/values").VLiteral<"identity_changed", "required">], "required", never>;
268
+ retryable: import("convex/values").VLiteral<false, "required">;
269
+ }, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
270
+ reason: "currency_mismatch" | "invalid_scope" | "payment_not_payable" | "policy_invalid" | "unsupported_source";
271
+ retryable: false;
272
+ status: "rejected";
273
+ }, {
274
+ status: import("convex/values").VLiteral<"rejected", "required">;
275
+ reason: import("convex/values").VUnion<"currency_mismatch" | "invalid_scope" | "payment_not_payable" | "policy_invalid" | "unsupported_source", [import("convex/values").VLiteral<"invalid_scope", "required">, import("convex/values").VLiteral<"unsupported_source", "required">, import("convex/values").VLiteral<"policy_invalid", "required">, import("convex/values").VLiteral<"payment_not_payable", "required">, import("convex/values").VLiteral<"currency_mismatch", "required">], "required", never>;
276
+ retryable: import("convex/values").VLiteral<false, "required">;
277
+ }, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
278
+ reason: "history_incomplete" | "provider_outcome_unknown";
279
+ retryable: false;
280
+ status: "unknown";
281
+ }, {
282
+ status: import("convex/values").VLiteral<"unknown", "required">;
283
+ reason: import("convex/values").VUnion<"history_incomplete" | "provider_outcome_unknown", [import("convex/values").VLiteral<"provider_outcome_unknown", "required">, import("convex/values").VLiteral<"history_incomplete", "required">], "required", never>;
284
+ retryable: import("convex/values").VLiteral<false, "required">;
285
+ }, "required", "reason" | "retryable" | "status">], "optional", "reason" | "retryable" | "status">;
286
+ result: import("convex/values").VObject<{
287
+ claim: {
288
+ _creationTime: number;
289
+ _id: import("convex/values").GenericId<"recoveryClaims">;
290
+ accountId: string;
291
+ amountDue: number;
292
+ claimKey: string;
293
+ collectedAmount: number;
294
+ currency: string;
295
+ openingCollection?: {
296
+ amountDue: number;
297
+ collectedAmount: number;
298
+ operationKey: string;
299
+ revision: number;
300
+ } | undefined;
301
+ outstanding: number;
302
+ reservedAmount: number;
303
+ revision: number;
304
+ scopeKey: string;
305
+ sign: "negative" | "positive" | "zero";
306
+ sourceChargeId: string;
307
+ sourceGross: number;
308
+ sourceProcessingFee: number;
309
+ };
310
+ deficit: {
311
+ amountDue: number;
312
+ currency: string;
313
+ disputeLiability: number;
314
+ processingLiability: number;
315
+ retainedFee: number;
316
+ };
317
+ observation: {
318
+ currency: string;
319
+ disputeFees: number;
320
+ gross: number;
321
+ originalProcessingFee: number;
322
+ paymentIntentId: string;
323
+ principalReturned: number;
324
+ processingFee: number;
325
+ provenance: {
326
+ customerAccountId: string;
327
+ invoiceId: string;
328
+ invoicePaymentId: string;
329
+ recoveryInvoiceItemId?: string | undefined;
330
+ stripePriceId?: string | undefined;
331
+ stripeProductId?: string | undefined;
332
+ subscriptionId?: string | undefined;
333
+ };
334
+ sourceChargeId: string;
335
+ };
336
+ rollbackClaim?: {
337
+ _creationTime: number;
338
+ _id: import("convex/values").GenericId<"recoveryClaims">;
339
+ accountId: string;
340
+ amountDue: number;
341
+ claimKey: string;
342
+ collectedAmount: number;
343
+ currency: string;
344
+ openingCollection?: {
345
+ amountDue: number;
346
+ collectedAmount: number;
347
+ operationKey: string;
348
+ revision: number;
349
+ } | undefined;
350
+ outstanding: number;
351
+ reservedAmount: number;
352
+ revision: number;
353
+ scopeKey: string;
354
+ sign: "negative" | "positive" | "zero";
355
+ sourceChargeId: string;
356
+ sourceGross: number;
357
+ sourceProcessingFee: number;
358
+ } | undefined;
359
+ } | undefined, {
360
+ claim: import("convex/values").VObject<{
361
+ _creationTime: number;
362
+ _id: import("convex/values").GenericId<"recoveryClaims">;
363
+ accountId: string;
364
+ amountDue: number;
365
+ claimKey: string;
366
+ collectedAmount: number;
367
+ currency: string;
368
+ openingCollection?: {
369
+ amountDue: number;
370
+ collectedAmount: number;
371
+ operationKey: string;
372
+ revision: number;
373
+ } | undefined;
374
+ outstanding: number;
375
+ reservedAmount: number;
376
+ revision: number;
377
+ scopeKey: string;
378
+ sign: "negative" | "positive" | "zero";
379
+ sourceChargeId: string;
380
+ sourceGross: number;
381
+ sourceProcessingFee: number;
382
+ }, {
383
+ accountId: import("convex/values").VString<string, "required">;
384
+ scopeKey: import("convex/values").VString<string, "required">;
385
+ currency: import("convex/values").VString<string, "required">;
386
+ claimKey: import("convex/values").VString<string, "required">;
387
+ sourceChargeId: import("convex/values").VString<string, "required">;
388
+ sourceGross: import("convex/values").VFloat64<number, "required">;
389
+ sourceProcessingFee: import("convex/values").VFloat64<number, "required">;
390
+ amountDue: import("convex/values").VFloat64<number, "required">;
391
+ revision: import("convex/values").VFloat64<number, "required">;
392
+ collectedAmount: import("convex/values").VFloat64<number, "required">;
393
+ reservedAmount: import("convex/values").VFloat64<number, "required">;
394
+ outstanding: import("convex/values").VFloat64<number, "required">;
395
+ sign: import("convex/values").VUnion<"negative" | "positive" | "zero", [import("convex/values").VLiteral<"positive", "required">, import("convex/values").VLiteral<"negative", "required">, import("convex/values").VLiteral<"zero", "required">], "required", never>;
396
+ openingCollection: import("convex/values").VObject<{
397
+ amountDue: number;
398
+ collectedAmount: number;
399
+ operationKey: string;
400
+ revision: number;
401
+ } | undefined, {
402
+ operationKey: import("convex/values").VString<string, "required">;
403
+ amountDue: import("convex/values").VFloat64<number, "required">;
404
+ revision: import("convex/values").VFloat64<number, "required">;
405
+ collectedAmount: import("convex/values").VFloat64<number, "required">;
406
+ }, "optional", "amountDue" | "collectedAmount" | "operationKey" | "revision">;
407
+ _id: import("convex/values").VId<import("convex/values").GenericId<"recoveryClaims">, "required">;
408
+ _creationTime: import("convex/values").VFloat64<number, "required">;
409
+ }, "required", "_creationTime" | "_id" | "accountId" | "amountDue" | "claimKey" | "collectedAmount" | "currency" | "openingCollection" | "openingCollection.amountDue" | "openingCollection.collectedAmount" | "openingCollection.operationKey" | "openingCollection.revision" | "outstanding" | "reservedAmount" | "revision" | "scopeKey" | "sign" | "sourceChargeId" | "sourceGross" | "sourceProcessingFee">;
410
+ rollbackClaim: import("convex/values").VObject<{
411
+ _creationTime: number;
412
+ _id: import("convex/values").GenericId<"recoveryClaims">;
413
+ accountId: string;
414
+ amountDue: number;
415
+ claimKey: string;
416
+ collectedAmount: number;
417
+ currency: string;
418
+ openingCollection?: {
419
+ amountDue: number;
420
+ collectedAmount: number;
421
+ operationKey: string;
422
+ revision: number;
423
+ } | undefined;
424
+ outstanding: number;
425
+ reservedAmount: number;
426
+ revision: number;
427
+ scopeKey: string;
428
+ sign: "negative" | "positive" | "zero";
429
+ sourceChargeId: string;
430
+ sourceGross: number;
431
+ sourceProcessingFee: number;
432
+ } | undefined, {
433
+ accountId: import("convex/values").VString<string, "required">;
434
+ scopeKey: import("convex/values").VString<string, "required">;
435
+ currency: import("convex/values").VString<string, "required">;
436
+ claimKey: import("convex/values").VString<string, "required">;
437
+ sourceChargeId: import("convex/values").VString<string, "required">;
438
+ sourceGross: import("convex/values").VFloat64<number, "required">;
439
+ sourceProcessingFee: import("convex/values").VFloat64<number, "required">;
440
+ amountDue: import("convex/values").VFloat64<number, "required">;
441
+ revision: import("convex/values").VFloat64<number, "required">;
442
+ collectedAmount: import("convex/values").VFloat64<number, "required">;
443
+ reservedAmount: import("convex/values").VFloat64<number, "required">;
444
+ outstanding: import("convex/values").VFloat64<number, "required">;
445
+ sign: import("convex/values").VUnion<"negative" | "positive" | "zero", [import("convex/values").VLiteral<"positive", "required">, import("convex/values").VLiteral<"negative", "required">, import("convex/values").VLiteral<"zero", "required">], "required", never>;
446
+ openingCollection: import("convex/values").VObject<{
447
+ amountDue: number;
448
+ collectedAmount: number;
449
+ operationKey: string;
450
+ revision: number;
451
+ } | undefined, {
452
+ operationKey: import("convex/values").VString<string, "required">;
453
+ amountDue: import("convex/values").VFloat64<number, "required">;
454
+ revision: import("convex/values").VFloat64<number, "required">;
455
+ collectedAmount: import("convex/values").VFloat64<number, "required">;
456
+ }, "optional", "amountDue" | "collectedAmount" | "operationKey" | "revision">;
457
+ _id: import("convex/values").VId<import("convex/values").GenericId<"recoveryClaims">, "required">;
458
+ _creationTime: import("convex/values").VFloat64<number, "required">;
459
+ }, "optional", "_creationTime" | "_id" | "accountId" | "amountDue" | "claimKey" | "collectedAmount" | "currency" | "openingCollection" | "openingCollection.amountDue" | "openingCollection.collectedAmount" | "openingCollection.operationKey" | "openingCollection.revision" | "outstanding" | "reservedAmount" | "revision" | "scopeKey" | "sign" | "sourceChargeId" | "sourceGross" | "sourceProcessingFee">;
460
+ deficit: import("convex/values").VObject<{
461
+ amountDue: number;
462
+ currency: string;
463
+ disputeLiability: number;
464
+ processingLiability: number;
465
+ retainedFee: number;
466
+ }, {
467
+ currency: import("convex/values").VString<string, "required">;
468
+ retainedFee: import("convex/values").VFloat64<number, "required">;
469
+ processingLiability: import("convex/values").VFloat64<number, "required">;
470
+ disputeLiability: import("convex/values").VFloat64<number, "required">;
471
+ amountDue: import("convex/values").VFloat64<number, "required">;
472
+ }, "required", "amountDue" | "currency" | "disputeLiability" | "processingLiability" | "retainedFee">;
473
+ observation: import("convex/values").VObject<{
474
+ currency: string;
475
+ disputeFees: number;
476
+ gross: number;
477
+ originalProcessingFee: number;
478
+ paymentIntentId: string;
479
+ principalReturned: number;
480
+ processingFee: number;
481
+ provenance: {
482
+ customerAccountId: string;
483
+ invoiceId: string;
484
+ invoicePaymentId: string;
485
+ recoveryInvoiceItemId?: string | undefined;
486
+ stripePriceId?: string | undefined;
487
+ stripeProductId?: string | undefined;
488
+ subscriptionId?: string | undefined;
489
+ };
490
+ sourceChargeId: string;
491
+ }, {
492
+ paymentIntentId: import("convex/values").VString<string, "required">;
493
+ sourceChargeId: import("convex/values").VString<string, "required">;
494
+ currency: import("convex/values").VString<string, "required">;
495
+ gross: import("convex/values").VFloat64<number, "required">;
496
+ originalProcessingFee: import("convex/values").VFloat64<number, "required">;
497
+ processingFee: import("convex/values").VFloat64<number, "required">;
498
+ disputeFees: import("convex/values").VFloat64<number, "required">;
499
+ principalReturned: import("convex/values").VFloat64<number, "required">;
500
+ provenance: import("convex/values").VObject<{
501
+ customerAccountId: string;
502
+ invoiceId: string;
503
+ invoicePaymentId: string;
504
+ recoveryInvoiceItemId?: string | undefined;
505
+ stripePriceId?: string | undefined;
506
+ stripeProductId?: string | undefined;
507
+ subscriptionId?: string | undefined;
508
+ }, {
509
+ invoiceId: import("convex/values").VString<string, "required">;
510
+ invoicePaymentId: import("convex/values").VString<string, "required">;
511
+ recoveryInvoiceItemId: import("convex/values").VString<string | undefined, "optional">;
512
+ customerAccountId: import("convex/values").VString<string, "required">;
513
+ subscriptionId: import("convex/values").VString<string | undefined, "optional">;
514
+ stripePriceId: import("convex/values").VString<string | undefined, "optional">;
515
+ stripeProductId: import("convex/values").VString<string | undefined, "optional">;
516
+ }, "required", "customerAccountId" | "invoiceId" | "invoicePaymentId" | "recoveryInvoiceItemId" | "stripePriceId" | "stripeProductId" | "subscriptionId">;
517
+ }, "required", "currency" | "disputeFees" | "gross" | "originalProcessingFee" | "paymentIntentId" | "principalReturned" | "processingFee" | "provenance" | "provenance.customerAccountId" | "provenance.invoiceId" | "provenance.invoicePaymentId" | "provenance.recoveryInvoiceItemId" | "provenance.stripePriceId" | "provenance.stripeProductId" | "provenance.subscriptionId" | "sourceChargeId">;
518
+ }, "optional", "claim" | "claim._creationTime" | "claim._id" | "claim.accountId" | "claim.amountDue" | "claim.claimKey" | "claim.collectedAmount" | "claim.currency" | "claim.openingCollection" | "claim.openingCollection.amountDue" | "claim.openingCollection.collectedAmount" | "claim.openingCollection.operationKey" | "claim.openingCollection.revision" | "claim.outstanding" | "claim.reservedAmount" | "claim.revision" | "claim.scopeKey" | "claim.sign" | "claim.sourceChargeId" | "claim.sourceGross" | "claim.sourceProcessingFee" | "deficit" | "deficit.amountDue" | "deficit.currency" | "deficit.disputeLiability" | "deficit.processingLiability" | "deficit.retainedFee" | "observation" | "observation.currency" | "observation.disputeFees" | "observation.gross" | "observation.originalProcessingFee" | "observation.paymentIntentId" | "observation.principalReturned" | "observation.processingFee" | "observation.provenance" | "observation.provenance.customerAccountId" | "observation.provenance.invoiceId" | "observation.provenance.invoicePaymentId" | "observation.provenance.recoveryInvoiceItemId" | "observation.provenance.stripePriceId" | "observation.provenance.stripeProductId" | "observation.provenance.subscriptionId" | "observation.sourceChargeId" | "rollbackClaim" | "rollbackClaim._creationTime" | "rollbackClaim._id" | "rollbackClaim.accountId" | "rollbackClaim.amountDue" | "rollbackClaim.claimKey" | "rollbackClaim.collectedAmount" | "rollbackClaim.currency" | "rollbackClaim.openingCollection" | "rollbackClaim.openingCollection.amountDue" | "rollbackClaim.openingCollection.collectedAmount" | "rollbackClaim.openingCollection.operationKey" | "rollbackClaim.openingCollection.revision" | "rollbackClaim.outstanding" | "rollbackClaim.reservedAmount" | "rollbackClaim.revision" | "rollbackClaim.scopeKey" | "rollbackClaim.sign" | "rollbackClaim.sourceChargeId" | "rollbackClaim.sourceGross" | "rollbackClaim.sourceProcessingFee">;
519
+ }, "required", "accountId" | "claimKey" | "currency" | "definitionVersion" | "expectedRevision" | "failure" | "failure.reason" | "failure.retryable" | "failure.status" | "importHook" | "maxAttempts" | "policy" | "policy.liability" | "policy.liability.disputeCosts" | "policy.liability.processingCosts" | "policy.rounding" | "policy.sellingFee" | "projection" | "provider" | "providerApiVersion" | "requestKey" | "result" | "result.claim" | "result.claim._creationTime" | "result.claim._id" | "result.claim.accountId" | "result.claim.amountDue" | "result.claim.claimKey" | "result.claim.collectedAmount" | "result.claim.currency" | "result.claim.openingCollection" | "result.claim.openingCollection.amountDue" | "result.claim.openingCollection.collectedAmount" | "result.claim.openingCollection.operationKey" | "result.claim.openingCollection.revision" | "result.claim.outstanding" | "result.claim.reservedAmount" | "result.claim.revision" | "result.claim.scopeKey" | "result.claim.sign" | "result.claim.sourceChargeId" | "result.claim.sourceGross" | "result.claim.sourceProcessingFee" | "result.deficit" | "result.deficit.amountDue" | "result.deficit.currency" | "result.deficit.disputeLiability" | "result.deficit.processingLiability" | "result.deficit.retainedFee" | "result.observation" | "result.observation.currency" | "result.observation.disputeFees" | "result.observation.gross" | "result.observation.originalProcessingFee" | "result.observation.paymentIntentId" | "result.observation.principalReturned" | "result.observation.processingFee" | "result.observation.provenance" | "result.observation.provenance.customerAccountId" | "result.observation.provenance.invoiceId" | "result.observation.provenance.invoicePaymentId" | "result.observation.provenance.recoveryInvoiceItemId" | "result.observation.provenance.stripePriceId" | "result.observation.provenance.stripeProductId" | "result.observation.provenance.subscriptionId" | "result.observation.sourceChargeId" | "result.rollbackClaim" | "result.rollbackClaim._creationTime" | "result.rollbackClaim._id" | "result.rollbackClaim.accountId" | "result.rollbackClaim.amountDue" | "result.rollbackClaim.claimKey" | "result.rollbackClaim.collectedAmount" | "result.rollbackClaim.currency" | "result.rollbackClaim.openingCollection" | "result.rollbackClaim.openingCollection.amountDue" | "result.rollbackClaim.openingCollection.collectedAmount" | "result.rollbackClaim.openingCollection.operationKey" | "result.rollbackClaim.openingCollection.revision" | "result.rollbackClaim.outstanding" | "result.rollbackClaim.reservedAmount" | "result.rollbackClaim.revision" | "result.rollbackClaim.scopeKey" | "result.rollbackClaim.sign" | "result.rollbackClaim.sourceChargeId" | "result.rollbackClaim.sourceGross" | "result.rollbackClaim.sourceProcessingFee" | "retryDelayMs" | "rollback" | "rollback.expectedRevision" | "rollback.groupKey" | "scopeKey" | "source" | "source.customerAccountId" | "source.gross" | "source.groupKey" | "source.invoiceId" | "source.kind" | "source.paymentIntentId" | "source.stripeAccountId" | "source.stripePriceId" | "source.stripeProductId" | "source.subscriptionId" | "status" | "version" | "workflowId">, {
520
+ by_claim_status: ["claimKey", "status", "_creationTime"];
521
+ by_payment_scope: ["accountId", "scopeKey", "currency", "source.paymentIntentId", "_creationTime"];
522
+ by_request: ["requestKey", "_creationTime"];
523
+ }, {}, {}>;
13
524
  recoveryWorkflowOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
525
  accountId: string;
15
526
  activePhase?: "execute" | "reconcile" | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"payoutExecutionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutExecutionTestHelpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAIvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,sBAAsB;CACvB,CAAC;AACF,wBAAsB,KAAK,CAAC,OAAO,WAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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