@fantastic.dev/better-stripe 0.39.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.
- package/CHANGELOG.md +24 -0
- package/README.md +1 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +442 -0
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +221 -0
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +442 -0
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +221 -0
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/costRecovery-invoices.d.ts +2 -2
- package/dist/client/costRecovery-invoices.d.ts.map +1 -1
- package/dist/client/costRecovery-invoices.js +7 -6
- package/dist/client/costRecovery-invoices.js.map +1 -1
- package/dist/client/costRecovery.d.ts +5 -2
- package/dist/client/costRecovery.d.ts.map +1 -1
- package/dist/client/costRecovery.js +3 -1
- package/dist/client/costRecovery.js.map +1 -1
- package/dist/client/index.d.ts +3 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +2 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/paymentSource/client.d.ts +21 -0
- package/dist/client/paymentSource/client.d.ts.map +1 -0
- package/dist/client/paymentSource/client.js +8 -0
- package/dist/client/paymentSource/client.js.map +1 -0
- package/dist/client/paymentSource/contracts.d.ts +30 -0
- package/dist/client/paymentSource/contracts.d.ts.map +1 -0
- package/dist/client/paymentSource/contracts.js +16 -0
- package/dist/client/paymentSource/contracts.js.map +1 -0
- package/dist/client/paymentSource/economics.d.ts +12 -0
- package/dist/client/paymentSource/economics.d.ts.map +1 -0
- package/dist/client/paymentSource/economics.js +13 -0
- package/dist/client/paymentSource/economics.js.map +1 -0
- package/dist/client/paymentSource/funding.d.ts +10 -0
- package/dist/client/paymentSource/funding.d.ts.map +1 -0
- package/dist/client/paymentSource/funding.js +12 -0
- package/dist/client/paymentSource/funding.js.map +1 -0
- package/dist/client/paymentSource/history.d.ts +13 -0
- package/dist/client/paymentSource/history.d.ts.map +1 -0
- package/dist/client/paymentSource/history.js +41 -0
- package/dist/client/paymentSource/history.js.map +1 -0
- package/dist/client/paymentSource/resolver.d.ts +6 -0
- package/dist/client/paymentSource/resolver.d.ts.map +1 -0
- package/dist/client/paymentSource/resolver.js +222 -0
- package/dist/client/paymentSource/resolver.js.map +1 -0
- package/dist/client/recoveryWorkflow/client.d.ts +14 -0
- package/dist/client/recoveryWorkflow/client.d.ts.map +1 -0
- package/dist/client/recoveryWorkflow/client.js +34 -0
- package/dist/client/recoveryWorkflow/client.js.map +1 -0
- package/dist/client/recoveryWorkflow/contracts.d.ts +63 -0
- package/dist/client/recoveryWorkflow/contracts.d.ts.map +1 -0
- package/dist/client/recoveryWorkflow/contracts.js +11 -0
- package/dist/client/recoveryWorkflow/contracts.js.map +1 -0
- package/dist/client/recoveryWorkflow/provider.d.ts +10 -0
- package/dist/client/recoveryWorkflow/provider.d.ts.map +1 -0
- package/dist/client/recoveryWorkflow/provider.js +80 -0
- package/dist/client/recoveryWorkflow/provider.js.map +1 -0
- package/dist/client/recoveryWorkflow/settlement.d.ts +6 -0
- package/dist/client/recoveryWorkflow/settlement.d.ts.map +1 -0
- package/dist/client/recoveryWorkflow/settlement.js +43 -0
- package/dist/client/recoveryWorkflow/settlement.js.map +1 -0
- package/dist/client/settlement/verifiedSale.d.ts.map +1 -1
- package/dist/client/settlement/verifiedSale.js +4 -6
- package/dist/client/settlement/verifiedSale.js.map +1 -1
- package/dist/component/_generated/api.d.ts +12 -0
- package/dist/component/_generated/api.d.ts.map +1 -1
- package/dist/component/_generated/api.js.map +1 -1
- package/dist/component/_generated/component.d.ts +164 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/earnings/triggers.d.ts +194 -0
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/payoutRelease/queries.d.ts +2 -2
- package/dist/component/payoutRelease/queries.d.ts.map +1 -1
- package/dist/component/recoveryWorkflow/bridge.d.ts +21 -0
- package/dist/component/recoveryWorkflow/bridge.d.ts.map +1 -0
- package/dist/component/recoveryWorkflow/bridge.js +52 -0
- package/dist/component/recoveryWorkflow/bridge.js.map +1 -0
- package/dist/component/recoveryWorkflow/helpers.d.ts +83 -0
- package/dist/component/recoveryWorkflow/helpers.d.ts.map +1 -0
- package/dist/component/recoveryWorkflow/helpers.js +48 -0
- package/dist/component/recoveryWorkflow/helpers.js.map +1 -0
- package/dist/component/recoveryWorkflow/mutations.d.ts +91 -0
- package/dist/component/recoveryWorkflow/mutations.d.ts.map +1 -0
- package/dist/component/recoveryWorkflow/mutations.js +177 -0
- package/dist/component/recoveryWorkflow/mutations.js.map +1 -0
- package/dist/component/recoveryWorkflow/queries.d.ts +118 -0
- package/dist/component/recoveryWorkflow/queries.d.ts.map +1 -0
- package/dist/component/recoveryWorkflow/queries.js +20 -0
- package/dist/component/recoveryWorkflow/queries.js.map +1 -0
- package/dist/component/recoveryWorkflow/schema.d.ts +653 -0
- package/dist/component/recoveryWorkflow/schema.d.ts.map +1 -0
- package/dist/component/recoveryWorkflow/schema.js +81 -0
- package/dist/component/recoveryWorkflow/schema.js.map +1 -0
- package/dist/component/recoveryWorkflow/steps.d.ts +70 -0
- package/dist/component/recoveryWorkflow/steps.d.ts.map +1 -0
- package/dist/component/recoveryWorkflow/steps.js +94 -0
- package/dist/component/recoveryWorkflow/steps.js.map +1 -0
- package/dist/component/recoveryWorkflow/workflow.d.ts +22 -0
- package/dist/component/recoveryWorkflow/workflow.d.ts.map +1 -0
- package/dist/component/recoveryWorkflow/workflow.js +56 -0
- package/dist/component/recoveryWorkflow/workflow.js.map +1 -0
- package/dist/component/schema.d.ts +221 -0
- package/dist/component/schema.js +3 -0
- package/dist/component/schema.js.map +1 -1
- package/docs/settlement.md +48 -0
- package/package.json +1 -1
- package/src/client/costRecovery-invoices.ts +9 -7
- package/src/client/costRecovery.ts +8 -3
- package/src/client/index.ts +6 -2
- package/src/client/paymentSource/client.ts +13 -0
- package/src/client/paymentSource/contracts.ts +33 -0
- package/src/client/paymentSource/economics.ts +20 -0
- package/src/client/paymentSource/funding.ts +23 -0
- package/src/client/paymentSource/history.ts +48 -0
- package/src/client/paymentSource/resolver.test.ts +582 -0
- package/src/client/paymentSource/resolver.ts +350 -0
- package/src/client/recoveryWorkflow/client.test.ts +37 -0
- package/src/client/recoveryWorkflow/client.ts +76 -0
- package/src/client/recoveryWorkflow/contracts.ts +72 -0
- package/src/client/recoveryWorkflow/provider.test.ts +424 -0
- package/src/client/recoveryWorkflow/provider.ts +119 -0
- package/src/client/recoveryWorkflow/settlement.ts +67 -0
- package/src/client/settlement/verifiedSale.ts +4 -10
- package/src/component/_generated/api.ts +12 -0
- package/src/component/_generated/component.ts +222 -0
- package/src/component/recoveryWorkflow/bridge.test.ts +481 -0
- package/src/component/recoveryWorkflow/bridge.ts +66 -0
- package/src/component/recoveryWorkflow/helpers.ts +58 -0
- package/src/component/recoveryWorkflow/journal.test.ts +104 -0
- package/src/component/recoveryWorkflow/mutations.ts +224 -0
- package/src/component/recoveryWorkflow/queries.ts +19 -0
- package/src/component/recoveryWorkflow/schema.ts +92 -0
- package/src/component/recoveryWorkflow/state.test.ts +191 -0
- package/src/component/recoveryWorkflow/steps.ts +97 -0
- package/src/component/recoveryWorkflow/workflow.ts +73 -0
- package/src/component/schema.ts +6 -0
|
@@ -10,6 +10,227 @@ 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
|
+
recoveryWorkflowOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
14
|
+
accountId: string;
|
|
15
|
+
activePhase?: "execute" | "reconcile" | undefined;
|
|
16
|
+
allocation?: {
|
|
17
|
+
adjustmentAmount?: number | undefined;
|
|
18
|
+
currency: string;
|
|
19
|
+
gross: number;
|
|
20
|
+
paymentId?: string | undefined;
|
|
21
|
+
paymentIntentId?: string | undefined;
|
|
22
|
+
platformNet: number;
|
|
23
|
+
processingFee: number;
|
|
24
|
+
sourceChargeId: string;
|
|
25
|
+
sourceInvoiceId?: string | undefined;
|
|
26
|
+
transfers: {
|
|
27
|
+
amount: number;
|
|
28
|
+
destinationAccountId: string;
|
|
29
|
+
role: "affiliate" | "other" | "store";
|
|
30
|
+
}[];
|
|
31
|
+
} | undefined;
|
|
32
|
+
cancelRequested: boolean;
|
|
33
|
+
completion?: string | undefined;
|
|
34
|
+
currency: string;
|
|
35
|
+
definitionVersion: number;
|
|
36
|
+
groupKey: string;
|
|
37
|
+
maxAttempts: number;
|
|
38
|
+
outcome?: "collect" | "release" | undefined;
|
|
39
|
+
provider: string;
|
|
40
|
+
providerApiVersion: string;
|
|
41
|
+
providerStarted: boolean;
|
|
42
|
+
releaseUncollectible: boolean;
|
|
43
|
+
resumeQueued: boolean;
|
|
44
|
+
retryDelayMs: number;
|
|
45
|
+
scopeKey: string;
|
|
46
|
+
sourceId: string;
|
|
47
|
+
sourceKind: "invoice" | "settlement";
|
|
48
|
+
status: "canceled" | "completed" | "queued" | "running" | "unknown" | "waiting";
|
|
49
|
+
version: number;
|
|
50
|
+
workflowId?: string | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
53
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
54
|
+
currency: import("convex/values").VString<string, "required">;
|
|
55
|
+
groupKey: import("convex/values").VString<string, "required">;
|
|
56
|
+
provider: import("convex/values").VString<string, "required">;
|
|
57
|
+
completion: import("convex/values").VString<string | undefined, "optional">;
|
|
58
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
59
|
+
definitionVersion: import("convex/values").VFloat64<number, "required">;
|
|
60
|
+
releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
|
|
61
|
+
maxAttempts: import("convex/values").VFloat64<number, "required">;
|
|
62
|
+
retryDelayMs: import("convex/values").VFloat64<number, "required">;
|
|
63
|
+
allocation: import("convex/values").VObject<{
|
|
64
|
+
adjustmentAmount?: number | undefined;
|
|
65
|
+
currency: string;
|
|
66
|
+
gross: number;
|
|
67
|
+
paymentId?: string | undefined;
|
|
68
|
+
paymentIntentId?: string | undefined;
|
|
69
|
+
platformNet: number;
|
|
70
|
+
processingFee: number;
|
|
71
|
+
sourceChargeId: string;
|
|
72
|
+
sourceInvoiceId?: string | undefined;
|
|
73
|
+
transfers: {
|
|
74
|
+
amount: number;
|
|
75
|
+
destinationAccountId: string;
|
|
76
|
+
role: "affiliate" | "other" | "store";
|
|
77
|
+
}[];
|
|
78
|
+
} | undefined, {
|
|
79
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
80
|
+
paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
|
|
81
|
+
sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
82
|
+
gross: import("convex/values").VFloat64<number, "required">;
|
|
83
|
+
currency: import("convex/values").VString<string, "required">;
|
|
84
|
+
processingFee: import("convex/values").VFloat64<number, "required">;
|
|
85
|
+
platformNet: import("convex/values").VFloat64<number, "required">;
|
|
86
|
+
adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
87
|
+
paymentId: import("convex/values").VString<string | undefined, "optional">;
|
|
88
|
+
transfers: import("convex/values").VArray<{
|
|
89
|
+
amount: number;
|
|
90
|
+
destinationAccountId: string;
|
|
91
|
+
role: "affiliate" | "other" | "store";
|
|
92
|
+
}[], import("convex/values").VObject<{
|
|
93
|
+
amount: number;
|
|
94
|
+
destinationAccountId: string;
|
|
95
|
+
role: "affiliate" | "other" | "store";
|
|
96
|
+
}, {
|
|
97
|
+
destinationAccountId: import("convex/values").VString<string, "required">;
|
|
98
|
+
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>;
|
|
99
|
+
amount: import("convex/values").VFloat64<number, "required">;
|
|
100
|
+
}, "required", "amount" | "destinationAccountId" | "role">, "required">;
|
|
101
|
+
}, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
|
|
102
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
103
|
+
sourceKind: import("convex/values").VUnion<"invoice" | "settlement", [import("convex/values").VLiteral<"settlement", "required">, import("convex/values").VLiteral<"invoice", "required">], "required", never>;
|
|
104
|
+
sourceId: import("convex/values").VString<string, "required">;
|
|
105
|
+
workflowId: import("convex/values").VString<string | undefined, "optional">;
|
|
106
|
+
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>;
|
|
107
|
+
cancelRequested: import("convex/values").VBoolean<boolean, "required">;
|
|
108
|
+
providerStarted: import("convex/values").VBoolean<boolean, "required">;
|
|
109
|
+
activePhase: import("convex/values").VUnion<"execute" | "reconcile" | undefined, [import("convex/values").VLiteral<"execute", "required">, import("convex/values").VLiteral<"reconcile", "required">], "optional", never>;
|
|
110
|
+
resumeQueued: import("convex/values").VBoolean<boolean, "required">;
|
|
111
|
+
outcome: import("convex/values").VUnion<"collect" | "release" | undefined, [import("convex/values").VLiteral<"collect", "required">, import("convex/values").VLiteral<"release", "required">], "optional", never>;
|
|
112
|
+
}, "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">, {
|
|
113
|
+
by_group: ["groupKey", "_creationTime"];
|
|
114
|
+
by_source: ["sourceKind", "sourceId", "_creationTime"];
|
|
115
|
+
}, {}, {}>;
|
|
116
|
+
recoveryWorkflowRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
117
|
+
binding: {
|
|
118
|
+
accountId: string;
|
|
119
|
+
allocation?: {
|
|
120
|
+
adjustmentAmount?: number | undefined;
|
|
121
|
+
currency: string;
|
|
122
|
+
gross: number;
|
|
123
|
+
paymentId?: string | undefined;
|
|
124
|
+
paymentIntentId?: string | undefined;
|
|
125
|
+
platformNet: number;
|
|
126
|
+
processingFee: number;
|
|
127
|
+
sourceChargeId: string;
|
|
128
|
+
sourceInvoiceId?: string | undefined;
|
|
129
|
+
transfers: {
|
|
130
|
+
amount: number;
|
|
131
|
+
destinationAccountId: string;
|
|
132
|
+
role: "affiliate" | "other" | "store";
|
|
133
|
+
}[];
|
|
134
|
+
} | undefined;
|
|
135
|
+
completion?: string | undefined;
|
|
136
|
+
currency: string;
|
|
137
|
+
definitionVersion: number;
|
|
138
|
+
groupKey: string;
|
|
139
|
+
maxAttempts: number;
|
|
140
|
+
provider: string;
|
|
141
|
+
providerApiVersion: string;
|
|
142
|
+
releaseUncollectible: boolean;
|
|
143
|
+
retryDelayMs: number;
|
|
144
|
+
scopeKey: string;
|
|
145
|
+
};
|
|
146
|
+
operationId: import("convex/values").GenericId<"recoveryWorkflowOperations">;
|
|
147
|
+
requestKey: string;
|
|
148
|
+
}, {
|
|
149
|
+
requestKey: import("convex/values").VString<string, "required">;
|
|
150
|
+
binding: import("convex/values").VObject<{
|
|
151
|
+
accountId: string;
|
|
152
|
+
allocation?: {
|
|
153
|
+
adjustmentAmount?: number | undefined;
|
|
154
|
+
currency: string;
|
|
155
|
+
gross: number;
|
|
156
|
+
paymentId?: string | undefined;
|
|
157
|
+
paymentIntentId?: string | undefined;
|
|
158
|
+
platformNet: number;
|
|
159
|
+
processingFee: number;
|
|
160
|
+
sourceChargeId: string;
|
|
161
|
+
sourceInvoiceId?: string | undefined;
|
|
162
|
+
transfers: {
|
|
163
|
+
amount: number;
|
|
164
|
+
destinationAccountId: string;
|
|
165
|
+
role: "affiliate" | "other" | "store";
|
|
166
|
+
}[];
|
|
167
|
+
} | undefined;
|
|
168
|
+
completion?: string | undefined;
|
|
169
|
+
currency: string;
|
|
170
|
+
definitionVersion: number;
|
|
171
|
+
groupKey: string;
|
|
172
|
+
maxAttempts: number;
|
|
173
|
+
provider: string;
|
|
174
|
+
providerApiVersion: string;
|
|
175
|
+
releaseUncollectible: boolean;
|
|
176
|
+
retryDelayMs: number;
|
|
177
|
+
scopeKey: string;
|
|
178
|
+
}, {
|
|
179
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
180
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
181
|
+
currency: import("convex/values").VString<string, "required">;
|
|
182
|
+
groupKey: import("convex/values").VString<string, "required">;
|
|
183
|
+
provider: import("convex/values").VString<string, "required">;
|
|
184
|
+
completion: import("convex/values").VString<string | undefined, "optional">;
|
|
185
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
186
|
+
definitionVersion: import("convex/values").VFloat64<number, "required">;
|
|
187
|
+
releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
|
|
188
|
+
maxAttempts: import("convex/values").VFloat64<number, "required">;
|
|
189
|
+
retryDelayMs: import("convex/values").VFloat64<number, "required">;
|
|
190
|
+
allocation: import("convex/values").VObject<{
|
|
191
|
+
adjustmentAmount?: number | undefined;
|
|
192
|
+
currency: string;
|
|
193
|
+
gross: number;
|
|
194
|
+
paymentId?: string | undefined;
|
|
195
|
+
paymentIntentId?: string | undefined;
|
|
196
|
+
platformNet: number;
|
|
197
|
+
processingFee: number;
|
|
198
|
+
sourceChargeId: string;
|
|
199
|
+
sourceInvoiceId?: string | undefined;
|
|
200
|
+
transfers: {
|
|
201
|
+
amount: number;
|
|
202
|
+
destinationAccountId: string;
|
|
203
|
+
role: "affiliate" | "other" | "store";
|
|
204
|
+
}[];
|
|
205
|
+
} | undefined, {
|
|
206
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
207
|
+
paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
|
|
208
|
+
sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
209
|
+
gross: import("convex/values").VFloat64<number, "required">;
|
|
210
|
+
currency: import("convex/values").VString<string, "required">;
|
|
211
|
+
processingFee: import("convex/values").VFloat64<number, "required">;
|
|
212
|
+
platformNet: import("convex/values").VFloat64<number, "required">;
|
|
213
|
+
adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
214
|
+
paymentId: import("convex/values").VString<string | undefined, "optional">;
|
|
215
|
+
transfers: import("convex/values").VArray<{
|
|
216
|
+
amount: number;
|
|
217
|
+
destinationAccountId: string;
|
|
218
|
+
role: "affiliate" | "other" | "store";
|
|
219
|
+
}[], import("convex/values").VObject<{
|
|
220
|
+
amount: number;
|
|
221
|
+
destinationAccountId: string;
|
|
222
|
+
role: "affiliate" | "other" | "store";
|
|
223
|
+
}, {
|
|
224
|
+
destinationAccountId: import("convex/values").VString<string, "required">;
|
|
225
|
+
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>;
|
|
226
|
+
amount: import("convex/values").VFloat64<number, "required">;
|
|
227
|
+
}, "required", "amount" | "destinationAccountId" | "role">, "required">;
|
|
228
|
+
}, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
|
|
229
|
+
}, "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">;
|
|
230
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"recoveryWorkflowOperations">, "required">;
|
|
231
|
+
}, "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">, {
|
|
232
|
+
by_key: ["requestKey", "_creationTime"];
|
|
233
|
+
}, {}, {}>;
|
|
13
234
|
balanceFundingPreparations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
14
235
|
accountId: string;
|
|
15
236
|
activeOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | 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,EAA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