@fantastic.dev/better-stripe 0.40.0 → 0.41.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 (98) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +442 -0
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +237 -16
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +442 -0
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +237 -16
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/costRecovery-invoices.d.ts +2 -2
  12. package/dist/client/costRecovery-invoices.d.ts.map +1 -1
  13. package/dist/client/costRecovery-invoices.js +4 -1
  14. package/dist/client/costRecovery-invoices.js.map +1 -1
  15. package/dist/client/costRecovery.d.ts +5 -2
  16. package/dist/client/costRecovery.d.ts.map +1 -1
  17. package/dist/client/costRecovery.js +3 -1
  18. package/dist/client/costRecovery.js.map +1 -1
  19. package/dist/client/recoveryWorkflow/client.d.ts +14 -0
  20. package/dist/client/recoveryWorkflow/client.d.ts.map +1 -0
  21. package/dist/client/recoveryWorkflow/client.js +34 -0
  22. package/dist/client/recoveryWorkflow/client.js.map +1 -0
  23. package/dist/client/recoveryWorkflow/contracts.d.ts +63 -0
  24. package/dist/client/recoveryWorkflow/contracts.d.ts.map +1 -0
  25. package/dist/client/recoveryWorkflow/contracts.js +11 -0
  26. package/dist/client/recoveryWorkflow/contracts.js.map +1 -0
  27. package/dist/client/recoveryWorkflow/provider.d.ts +10 -0
  28. package/dist/client/recoveryWorkflow/provider.d.ts.map +1 -0
  29. package/dist/client/recoveryWorkflow/provider.js +80 -0
  30. package/dist/client/recoveryWorkflow/provider.js.map +1 -0
  31. package/dist/client/recoveryWorkflow/settlement.d.ts +6 -0
  32. package/dist/client/recoveryWorkflow/settlement.d.ts.map +1 -0
  33. package/dist/client/recoveryWorkflow/settlement.js +43 -0
  34. package/dist/client/recoveryWorkflow/settlement.js.map +1 -0
  35. package/dist/component/_generated/api.d.ts +12 -0
  36. package/dist/component/_generated/api.d.ts.map +1 -1
  37. package/dist/component/_generated/api.js.map +1 -1
  38. package/dist/component/_generated/component.d.ts +164 -0
  39. package/dist/component/_generated/component.d.ts.map +1 -1
  40. package/dist/component/balanceFunding/mutations.d.ts +16 -16
  41. package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
  42. package/dist/component/earnings/triggers.d.ts +210 -16
  43. package/dist/component/earnings/triggers.d.ts.map +1 -1
  44. package/dist/component/payoutRelease/queries.d.ts +2 -2
  45. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  46. package/dist/component/recoveryWorkflow/bridge.d.ts +21 -0
  47. package/dist/component/recoveryWorkflow/bridge.d.ts.map +1 -0
  48. package/dist/component/recoveryWorkflow/bridge.js +52 -0
  49. package/dist/component/recoveryWorkflow/bridge.js.map +1 -0
  50. package/dist/component/recoveryWorkflow/helpers.d.ts +83 -0
  51. package/dist/component/recoveryWorkflow/helpers.d.ts.map +1 -0
  52. package/dist/component/recoveryWorkflow/helpers.js +48 -0
  53. package/dist/component/recoveryWorkflow/helpers.js.map +1 -0
  54. package/dist/component/recoveryWorkflow/mutations.d.ts +91 -0
  55. package/dist/component/recoveryWorkflow/mutations.d.ts.map +1 -0
  56. package/dist/component/recoveryWorkflow/mutations.js +177 -0
  57. package/dist/component/recoveryWorkflow/mutations.js.map +1 -0
  58. package/dist/component/recoveryWorkflow/queries.d.ts +118 -0
  59. package/dist/component/recoveryWorkflow/queries.d.ts.map +1 -0
  60. package/dist/component/recoveryWorkflow/queries.js +20 -0
  61. package/dist/component/recoveryWorkflow/queries.js.map +1 -0
  62. package/dist/component/recoveryWorkflow/schema.d.ts +653 -0
  63. package/dist/component/recoveryWorkflow/schema.d.ts.map +1 -0
  64. package/dist/component/recoveryWorkflow/schema.js +81 -0
  65. package/dist/component/recoveryWorkflow/schema.js.map +1 -0
  66. package/dist/component/recoveryWorkflow/steps.d.ts +70 -0
  67. package/dist/component/recoveryWorkflow/steps.d.ts.map +1 -0
  68. package/dist/component/recoveryWorkflow/steps.js +94 -0
  69. package/dist/component/recoveryWorkflow/steps.js.map +1 -0
  70. package/dist/component/recoveryWorkflow/workflow.d.ts +22 -0
  71. package/dist/component/recoveryWorkflow/workflow.d.ts.map +1 -0
  72. package/dist/component/recoveryWorkflow/workflow.js +56 -0
  73. package/dist/component/recoveryWorkflow/workflow.js.map +1 -0
  74. package/dist/component/schema.d.ts +221 -0
  75. package/dist/component/schema.js +3 -0
  76. package/dist/component/schema.js.map +1 -1
  77. package/package.json +1 -1
  78. package/src/client/costRecovery-invoices.ts +6 -0
  79. package/src/client/costRecovery.ts +8 -3
  80. package/src/client/recoveryWorkflow/client.test.ts +37 -0
  81. package/src/client/recoveryWorkflow/client.ts +76 -0
  82. package/src/client/recoveryWorkflow/contracts.ts +72 -0
  83. package/src/client/recoveryWorkflow/provider.test.ts +424 -0
  84. package/src/client/recoveryWorkflow/provider.ts +119 -0
  85. package/src/client/recoveryWorkflow/settlement.ts +67 -0
  86. package/src/component/_generated/api.ts +12 -0
  87. package/src/component/_generated/component.ts +222 -0
  88. package/src/component/recoveryWorkflow/bridge.test.ts +481 -0
  89. package/src/component/recoveryWorkflow/bridge.ts +66 -0
  90. package/src/component/recoveryWorkflow/helpers.ts +58 -0
  91. package/src/component/recoveryWorkflow/journal.test.ts +104 -0
  92. package/src/component/recoveryWorkflow/mutations.ts +224 -0
  93. package/src/component/recoveryWorkflow/queries.ts +19 -0
  94. package/src/component/recoveryWorkflow/schema.ts +92 -0
  95. package/src/component/recoveryWorkflow/state.test.ts +191 -0
  96. package/src/component/recoveryWorkflow/steps.ts +97 -0
  97. package/src/component/recoveryWorkflow/workflow.ts +73 -0
  98. package/src/component/schema.ts +6 -0
package/CHANGELOG.md CHANGED
@@ -26,6 +26,16 @@
26
26
  - Remove internal tracker references from public documentation and add a
27
27
  regression check that prevents their reintroduction.
28
28
 
29
+ ## [0.41.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.40.0...v0.41.0) (2026-10-17)
30
+
31
+ ### Features
32
+
33
+ - orchestrate durable recovery groups ([a140f64](https://github.com/FantasticDevHQ/better-stripe/commit/a140f642977f6816ca39cc817359c2638064ca5d))
34
+
35
+ ### Maintenance
36
+
37
+ - ratchet recovery workflow coverage floors ([30a567b](https://github.com/FantasticDevHQ/better-stripe/commit/30a567b4b3053dd3a622e9ce08a77c79ed3863ed))
38
+
29
39
  ## [0.40.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.39.0...v0.40.0) (2026-10-17)
30
40
 
31
41
  ### Features
package/README.md CHANGED
@@ -70,7 +70,7 @@ claim execution are completed.
70
70
 
71
71
  ## Status
72
72
 
73
- **Version**: `0.40.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
73
+ **Version**: `0.41.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
74
74
 
75
75
  Used in production by its authors. Webhook pipeline is covered by unit tests and a live E2E harness (`npm run e2e:webhooks`) that fires real Stripe-signed events and asserts the ledger.
76
76
 
@@ -9,6 +9,227 @@ export declare const scope: {
9
9
  };
10
10
  export declare function setup(amounts?: number[], currency?: string): Promise<{
11
11
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
12
+ recoveryWorkflowOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
13
+ accountId: string;
14
+ activePhase?: "execute" | "reconcile" | undefined;
15
+ allocation?: {
16
+ adjustmentAmount?: number | undefined;
17
+ currency: string;
18
+ gross: number;
19
+ paymentId?: string | undefined;
20
+ paymentIntentId?: string | undefined;
21
+ platformNet: number;
22
+ processingFee: number;
23
+ sourceChargeId: string;
24
+ sourceInvoiceId?: string | undefined;
25
+ transfers: {
26
+ amount: number;
27
+ destinationAccountId: string;
28
+ role: "affiliate" | "other" | "store";
29
+ }[];
30
+ } | undefined;
31
+ cancelRequested: boolean;
32
+ completion?: string | undefined;
33
+ currency: string;
34
+ definitionVersion: number;
35
+ groupKey: string;
36
+ maxAttempts: number;
37
+ outcome?: "collect" | "release" | undefined;
38
+ provider: string;
39
+ providerApiVersion: string;
40
+ providerStarted: boolean;
41
+ releaseUncollectible: boolean;
42
+ resumeQueued: boolean;
43
+ retryDelayMs: number;
44
+ scopeKey: string;
45
+ sourceId: string;
46
+ sourceKind: "invoice" | "settlement";
47
+ status: "canceled" | "completed" | "queued" | "running" | "unknown" | "waiting";
48
+ version: number;
49
+ workflowId?: string | undefined;
50
+ }, {
51
+ accountId: import("convex/values").VString<string, "required">;
52
+ scopeKey: import("convex/values").VString<string, "required">;
53
+ currency: import("convex/values").VString<string, "required">;
54
+ groupKey: import("convex/values").VString<string, "required">;
55
+ provider: import("convex/values").VString<string, "required">;
56
+ completion: import("convex/values").VString<string | undefined, "optional">;
57
+ providerApiVersion: import("convex/values").VString<string, "required">;
58
+ definitionVersion: import("convex/values").VFloat64<number, "required">;
59
+ releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
60
+ maxAttempts: import("convex/values").VFloat64<number, "required">;
61
+ retryDelayMs: import("convex/values").VFloat64<number, "required">;
62
+ allocation: import("convex/values").VObject<{
63
+ adjustmentAmount?: number | undefined;
64
+ currency: string;
65
+ gross: number;
66
+ paymentId?: string | undefined;
67
+ paymentIntentId?: string | undefined;
68
+ platformNet: number;
69
+ processingFee: number;
70
+ sourceChargeId: string;
71
+ sourceInvoiceId?: string | undefined;
72
+ transfers: {
73
+ amount: number;
74
+ destinationAccountId: string;
75
+ role: "affiliate" | "other" | "store";
76
+ }[];
77
+ } | undefined, {
78
+ sourceChargeId: import("convex/values").VString<string, "required">;
79
+ paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
80
+ sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
81
+ gross: import("convex/values").VFloat64<number, "required">;
82
+ currency: import("convex/values").VString<string, "required">;
83
+ processingFee: import("convex/values").VFloat64<number, "required">;
84
+ platformNet: import("convex/values").VFloat64<number, "required">;
85
+ adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
86
+ paymentId: import("convex/values").VString<string | undefined, "optional">;
87
+ transfers: import("convex/values").VArray<{
88
+ amount: number;
89
+ destinationAccountId: string;
90
+ role: "affiliate" | "other" | "store";
91
+ }[], import("convex/values").VObject<{
92
+ amount: number;
93
+ destinationAccountId: string;
94
+ role: "affiliate" | "other" | "store";
95
+ }, {
96
+ destinationAccountId: import("convex/values").VString<string, "required">;
97
+ 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>;
98
+ amount: import("convex/values").VFloat64<number, "required">;
99
+ }, "required", "amount" | "destinationAccountId" | "role">, "required">;
100
+ }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
101
+ version: import("convex/values").VFloat64<number, "required">;
102
+ sourceKind: import("convex/values").VUnion<"invoice" | "settlement", [import("convex/values").VLiteral<"settlement", "required">, import("convex/values").VLiteral<"invoice", "required">], "required", never>;
103
+ sourceId: import("convex/values").VString<string, "required">;
104
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
105
+ status: import("convex/values").VUnion<"canceled" | "completed" | "queued" | "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<"unknown", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"canceled", "required">], "required", never>;
106
+ cancelRequested: import("convex/values").VBoolean<boolean, "required">;
107
+ providerStarted: import("convex/values").VBoolean<boolean, "required">;
108
+ activePhase: import("convex/values").VUnion<"execute" | "reconcile" | undefined, [import("convex/values").VLiteral<"execute", "required">, import("convex/values").VLiteral<"reconcile", "required">], "optional", never>;
109
+ resumeQueued: import("convex/values").VBoolean<boolean, "required">;
110
+ outcome: import("convex/values").VUnion<"collect" | "release" | undefined, [import("convex/values").VLiteral<"collect", "required">, import("convex/values").VLiteral<"release", "required">], "optional", never>;
111
+ }, "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">, {
112
+ by_group: ["groupKey", "_creationTime"];
113
+ by_source: ["sourceKind", "sourceId", "_creationTime"];
114
+ }, {}, {}>;
115
+ recoveryWorkflowRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
116
+ binding: {
117
+ accountId: string;
118
+ allocation?: {
119
+ adjustmentAmount?: number | undefined;
120
+ currency: string;
121
+ gross: number;
122
+ paymentId?: string | undefined;
123
+ paymentIntentId?: string | undefined;
124
+ platformNet: number;
125
+ processingFee: number;
126
+ sourceChargeId: string;
127
+ sourceInvoiceId?: string | undefined;
128
+ transfers: {
129
+ amount: number;
130
+ destinationAccountId: string;
131
+ role: "affiliate" | "other" | "store";
132
+ }[];
133
+ } | undefined;
134
+ completion?: string | undefined;
135
+ currency: string;
136
+ definitionVersion: number;
137
+ groupKey: string;
138
+ maxAttempts: number;
139
+ provider: string;
140
+ providerApiVersion: string;
141
+ releaseUncollectible: boolean;
142
+ retryDelayMs: number;
143
+ scopeKey: string;
144
+ };
145
+ operationId: import("convex/values").GenericId<"recoveryWorkflowOperations">;
146
+ requestKey: string;
147
+ }, {
148
+ requestKey: import("convex/values").VString<string, "required">;
149
+ binding: import("convex/values").VObject<{
150
+ accountId: string;
151
+ allocation?: {
152
+ adjustmentAmount?: number | undefined;
153
+ currency: string;
154
+ gross: number;
155
+ paymentId?: string | undefined;
156
+ paymentIntentId?: string | undefined;
157
+ platformNet: number;
158
+ processingFee: number;
159
+ sourceChargeId: string;
160
+ sourceInvoiceId?: string | undefined;
161
+ transfers: {
162
+ amount: number;
163
+ destinationAccountId: string;
164
+ role: "affiliate" | "other" | "store";
165
+ }[];
166
+ } | undefined;
167
+ completion?: string | undefined;
168
+ currency: string;
169
+ definitionVersion: number;
170
+ groupKey: string;
171
+ maxAttempts: number;
172
+ provider: string;
173
+ providerApiVersion: string;
174
+ releaseUncollectible: boolean;
175
+ retryDelayMs: number;
176
+ scopeKey: string;
177
+ }, {
178
+ accountId: import("convex/values").VString<string, "required">;
179
+ scopeKey: import("convex/values").VString<string, "required">;
180
+ currency: import("convex/values").VString<string, "required">;
181
+ groupKey: import("convex/values").VString<string, "required">;
182
+ provider: import("convex/values").VString<string, "required">;
183
+ completion: import("convex/values").VString<string | undefined, "optional">;
184
+ providerApiVersion: import("convex/values").VString<string, "required">;
185
+ definitionVersion: import("convex/values").VFloat64<number, "required">;
186
+ releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
187
+ maxAttempts: import("convex/values").VFloat64<number, "required">;
188
+ retryDelayMs: import("convex/values").VFloat64<number, "required">;
189
+ allocation: import("convex/values").VObject<{
190
+ adjustmentAmount?: number | undefined;
191
+ currency: string;
192
+ gross: number;
193
+ paymentId?: string | undefined;
194
+ paymentIntentId?: string | undefined;
195
+ platformNet: number;
196
+ processingFee: number;
197
+ sourceChargeId: string;
198
+ sourceInvoiceId?: string | undefined;
199
+ transfers: {
200
+ amount: number;
201
+ destinationAccountId: string;
202
+ role: "affiliate" | "other" | "store";
203
+ }[];
204
+ } | undefined, {
205
+ sourceChargeId: import("convex/values").VString<string, "required">;
206
+ paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
207
+ sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
208
+ gross: import("convex/values").VFloat64<number, "required">;
209
+ currency: import("convex/values").VString<string, "required">;
210
+ processingFee: import("convex/values").VFloat64<number, "required">;
211
+ platformNet: import("convex/values").VFloat64<number, "required">;
212
+ adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
213
+ paymentId: import("convex/values").VString<string | undefined, "optional">;
214
+ transfers: import("convex/values").VArray<{
215
+ amount: number;
216
+ destinationAccountId: string;
217
+ role: "affiliate" | "other" | "store";
218
+ }[], import("convex/values").VObject<{
219
+ amount: number;
220
+ destinationAccountId: string;
221
+ role: "affiliate" | "other" | "store";
222
+ }, {
223
+ destinationAccountId: import("convex/values").VString<string, "required">;
224
+ 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>;
225
+ amount: import("convex/values").VFloat64<number, "required">;
226
+ }, "required", "amount" | "destinationAccountId" | "role">, "required">;
227
+ }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
228
+ }, "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">;
229
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"recoveryWorkflowOperations">, "required">;
230
+ }, "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">, {
231
+ by_key: ["requestKey", "_creationTime"];
232
+ }, {}, {}>;
12
233
  balanceFundingPreparations: import("convex/server").TableDefinition<import("convex/values").VObject<{
13
234
  accountId: string;
14
235
  activeOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | undefined;
@@ -2474,6 +2695,227 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
2474
2695
  }>;
2475
2696
  export declare function historical(currency?: string): Promise<{
2476
2697
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
2698
+ recoveryWorkflowOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
2699
+ accountId: string;
2700
+ activePhase?: "execute" | "reconcile" | undefined;
2701
+ allocation?: {
2702
+ adjustmentAmount?: number | undefined;
2703
+ currency: string;
2704
+ gross: number;
2705
+ paymentId?: string | undefined;
2706
+ paymentIntentId?: string | undefined;
2707
+ platformNet: number;
2708
+ processingFee: number;
2709
+ sourceChargeId: string;
2710
+ sourceInvoiceId?: string | undefined;
2711
+ transfers: {
2712
+ amount: number;
2713
+ destinationAccountId: string;
2714
+ role: "affiliate" | "other" | "store";
2715
+ }[];
2716
+ } | undefined;
2717
+ cancelRequested: boolean;
2718
+ completion?: string | undefined;
2719
+ currency: string;
2720
+ definitionVersion: number;
2721
+ groupKey: string;
2722
+ maxAttempts: number;
2723
+ outcome?: "collect" | "release" | undefined;
2724
+ provider: string;
2725
+ providerApiVersion: string;
2726
+ providerStarted: boolean;
2727
+ releaseUncollectible: boolean;
2728
+ resumeQueued: boolean;
2729
+ retryDelayMs: number;
2730
+ scopeKey: string;
2731
+ sourceId: string;
2732
+ sourceKind: "invoice" | "settlement";
2733
+ status: "canceled" | "completed" | "queued" | "running" | "unknown" | "waiting";
2734
+ version: number;
2735
+ workflowId?: string | undefined;
2736
+ }, {
2737
+ accountId: import("convex/values").VString<string, "required">;
2738
+ scopeKey: import("convex/values").VString<string, "required">;
2739
+ currency: import("convex/values").VString<string, "required">;
2740
+ groupKey: import("convex/values").VString<string, "required">;
2741
+ provider: import("convex/values").VString<string, "required">;
2742
+ completion: import("convex/values").VString<string | undefined, "optional">;
2743
+ providerApiVersion: import("convex/values").VString<string, "required">;
2744
+ definitionVersion: import("convex/values").VFloat64<number, "required">;
2745
+ releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
2746
+ maxAttempts: import("convex/values").VFloat64<number, "required">;
2747
+ retryDelayMs: import("convex/values").VFloat64<number, "required">;
2748
+ allocation: import("convex/values").VObject<{
2749
+ adjustmentAmount?: number | undefined;
2750
+ currency: string;
2751
+ gross: number;
2752
+ paymentId?: string | undefined;
2753
+ paymentIntentId?: string | undefined;
2754
+ platformNet: number;
2755
+ processingFee: number;
2756
+ sourceChargeId: string;
2757
+ sourceInvoiceId?: string | undefined;
2758
+ transfers: {
2759
+ amount: number;
2760
+ destinationAccountId: string;
2761
+ role: "affiliate" | "other" | "store";
2762
+ }[];
2763
+ } | undefined, {
2764
+ sourceChargeId: import("convex/values").VString<string, "required">;
2765
+ paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
2766
+ sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
2767
+ gross: import("convex/values").VFloat64<number, "required">;
2768
+ currency: import("convex/values").VString<string, "required">;
2769
+ processingFee: import("convex/values").VFloat64<number, "required">;
2770
+ platformNet: import("convex/values").VFloat64<number, "required">;
2771
+ adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
2772
+ paymentId: import("convex/values").VString<string | undefined, "optional">;
2773
+ transfers: import("convex/values").VArray<{
2774
+ amount: number;
2775
+ destinationAccountId: string;
2776
+ role: "affiliate" | "other" | "store";
2777
+ }[], import("convex/values").VObject<{
2778
+ amount: number;
2779
+ destinationAccountId: string;
2780
+ role: "affiliate" | "other" | "store";
2781
+ }, {
2782
+ destinationAccountId: import("convex/values").VString<string, "required">;
2783
+ 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>;
2784
+ amount: import("convex/values").VFloat64<number, "required">;
2785
+ }, "required", "amount" | "destinationAccountId" | "role">, "required">;
2786
+ }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
2787
+ version: import("convex/values").VFloat64<number, "required">;
2788
+ sourceKind: import("convex/values").VUnion<"invoice" | "settlement", [import("convex/values").VLiteral<"settlement", "required">, import("convex/values").VLiteral<"invoice", "required">], "required", never>;
2789
+ sourceId: import("convex/values").VString<string, "required">;
2790
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
2791
+ status: import("convex/values").VUnion<"canceled" | "completed" | "queued" | "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<"unknown", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"canceled", "required">], "required", never>;
2792
+ cancelRequested: import("convex/values").VBoolean<boolean, "required">;
2793
+ providerStarted: import("convex/values").VBoolean<boolean, "required">;
2794
+ activePhase: import("convex/values").VUnion<"execute" | "reconcile" | undefined, [import("convex/values").VLiteral<"execute", "required">, import("convex/values").VLiteral<"reconcile", "required">], "optional", never>;
2795
+ resumeQueued: import("convex/values").VBoolean<boolean, "required">;
2796
+ outcome: import("convex/values").VUnion<"collect" | "release" | undefined, [import("convex/values").VLiteral<"collect", "required">, import("convex/values").VLiteral<"release", "required">], "optional", never>;
2797
+ }, "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">, {
2798
+ by_group: ["groupKey", "_creationTime"];
2799
+ by_source: ["sourceKind", "sourceId", "_creationTime"];
2800
+ }, {}, {}>;
2801
+ recoveryWorkflowRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
2802
+ binding: {
2803
+ accountId: string;
2804
+ allocation?: {
2805
+ adjustmentAmount?: number | undefined;
2806
+ currency: string;
2807
+ gross: number;
2808
+ paymentId?: string | undefined;
2809
+ paymentIntentId?: string | undefined;
2810
+ platformNet: number;
2811
+ processingFee: number;
2812
+ sourceChargeId: string;
2813
+ sourceInvoiceId?: string | undefined;
2814
+ transfers: {
2815
+ amount: number;
2816
+ destinationAccountId: string;
2817
+ role: "affiliate" | "other" | "store";
2818
+ }[];
2819
+ } | undefined;
2820
+ completion?: string | undefined;
2821
+ currency: string;
2822
+ definitionVersion: number;
2823
+ groupKey: string;
2824
+ maxAttempts: number;
2825
+ provider: string;
2826
+ providerApiVersion: string;
2827
+ releaseUncollectible: boolean;
2828
+ retryDelayMs: number;
2829
+ scopeKey: string;
2830
+ };
2831
+ operationId: import("convex/values").GenericId<"recoveryWorkflowOperations">;
2832
+ requestKey: string;
2833
+ }, {
2834
+ requestKey: import("convex/values").VString<string, "required">;
2835
+ binding: import("convex/values").VObject<{
2836
+ accountId: string;
2837
+ allocation?: {
2838
+ adjustmentAmount?: number | undefined;
2839
+ currency: string;
2840
+ gross: number;
2841
+ paymentId?: string | undefined;
2842
+ paymentIntentId?: string | undefined;
2843
+ platformNet: number;
2844
+ processingFee: number;
2845
+ sourceChargeId: string;
2846
+ sourceInvoiceId?: string | undefined;
2847
+ transfers: {
2848
+ amount: number;
2849
+ destinationAccountId: string;
2850
+ role: "affiliate" | "other" | "store";
2851
+ }[];
2852
+ } | undefined;
2853
+ completion?: string | undefined;
2854
+ currency: string;
2855
+ definitionVersion: number;
2856
+ groupKey: string;
2857
+ maxAttempts: number;
2858
+ provider: string;
2859
+ providerApiVersion: string;
2860
+ releaseUncollectible: boolean;
2861
+ retryDelayMs: number;
2862
+ scopeKey: string;
2863
+ }, {
2864
+ accountId: import("convex/values").VString<string, "required">;
2865
+ scopeKey: import("convex/values").VString<string, "required">;
2866
+ currency: import("convex/values").VString<string, "required">;
2867
+ groupKey: import("convex/values").VString<string, "required">;
2868
+ provider: import("convex/values").VString<string, "required">;
2869
+ completion: import("convex/values").VString<string | undefined, "optional">;
2870
+ providerApiVersion: import("convex/values").VString<string, "required">;
2871
+ definitionVersion: import("convex/values").VFloat64<number, "required">;
2872
+ releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
2873
+ maxAttempts: import("convex/values").VFloat64<number, "required">;
2874
+ retryDelayMs: import("convex/values").VFloat64<number, "required">;
2875
+ allocation: import("convex/values").VObject<{
2876
+ adjustmentAmount?: number | undefined;
2877
+ currency: string;
2878
+ gross: number;
2879
+ paymentId?: string | undefined;
2880
+ paymentIntentId?: string | undefined;
2881
+ platformNet: number;
2882
+ processingFee: number;
2883
+ sourceChargeId: string;
2884
+ sourceInvoiceId?: string | undefined;
2885
+ transfers: {
2886
+ amount: number;
2887
+ destinationAccountId: string;
2888
+ role: "affiliate" | "other" | "store";
2889
+ }[];
2890
+ } | undefined, {
2891
+ sourceChargeId: import("convex/values").VString<string, "required">;
2892
+ paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
2893
+ sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
2894
+ gross: import("convex/values").VFloat64<number, "required">;
2895
+ currency: import("convex/values").VString<string, "required">;
2896
+ processingFee: import("convex/values").VFloat64<number, "required">;
2897
+ platformNet: import("convex/values").VFloat64<number, "required">;
2898
+ adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
2899
+ paymentId: import("convex/values").VString<string | undefined, "optional">;
2900
+ transfers: import("convex/values").VArray<{
2901
+ amount: number;
2902
+ destinationAccountId: string;
2903
+ role: "affiliate" | "other" | "store";
2904
+ }[], import("convex/values").VObject<{
2905
+ amount: number;
2906
+ destinationAccountId: string;
2907
+ role: "affiliate" | "other" | "store";
2908
+ }, {
2909
+ destinationAccountId: import("convex/values").VString<string, "required">;
2910
+ 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>;
2911
+ amount: import("convex/values").VFloat64<number, "required">;
2912
+ }, "required", "amount" | "destinationAccountId" | "role">, "required">;
2913
+ }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
2914
+ }, "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">;
2915
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"recoveryWorkflowOperations">, "required">;
2916
+ }, "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">, {
2917
+ by_key: ["requestKey", "_creationTime"];
2918
+ }, {}, {}>;
2477
2919
  balanceFundingPreparations: import("convex/server").TableDefinition<import("convex/values").VObject<{
2478
2920
  accountId: string;
2479
2921
  activeOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"payoutAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutAdoptionTestHelpers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAKvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,sBAAsB;CACvB,CAAC;AACF,wBAAsB,KAAK,CAAC,OAAO,WAAa,EAAE,QAAQ,SAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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