@fantastic.dev/better-stripe 0.38.0 → 0.40.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 +34 -0
- package/MIGRATION.md +9 -0
- package/README.md +21 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +506 -2
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +253 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +506 -2
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +253 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/costRecovery-invoices.d.ts.map +1 -1
- package/dist/client/costRecovery-invoices.js +3 -5
- package/dist/client/costRecovery-invoices.js.map +1 -1
- package/dist/client/costRecovery.d.ts +18 -0
- package/dist/client/costRecovery.d.ts.map +1 -1
- package/dist/client/costRecovery.js +4 -0
- package/dist/client/costRecovery.js.map +1 -1
- package/dist/client/index.d.ts +4 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +3 -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/processingCostDeficit/index.d.ts +27 -0
- package/dist/client/processingCostDeficit/index.d.ts.map +1 -0
- package/dist/client/processingCostDeficit/index.js +54 -0
- package/dist/client/processingCostDeficit/index.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 +284 -0
- package/dist/component/_generated/api.d.ts.map +1 -0
- package/dist/component/_generated/api.js +31 -0
- package/dist/component/_generated/api.js.map +1 -0
- package/dist/component/_generated/component.d.ts +527 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/balanceFunding/helpers.d.ts +86 -0
- package/dist/component/balanceFunding/helpers.d.ts.map +1 -0
- package/dist/component/balanceFunding/helpers.js +68 -0
- package/dist/component/balanceFunding/helpers.js.map +1 -0
- package/dist/component/balanceFunding/importHandler.d.ts +13 -0
- package/dist/component/balanceFunding/importHandler.d.ts.map +1 -0
- package/dist/component/balanceFunding/importHandler.js +130 -0
- package/dist/component/balanceFunding/importHandler.js.map +1 -0
- package/dist/component/balanceFunding/lifecycleHandlers.d.ts +85 -0
- package/dist/component/balanceFunding/lifecycleHandlers.d.ts.map +1 -0
- package/dist/component/balanceFunding/lifecycleHandlers.js +60 -0
- package/dist/component/balanceFunding/lifecycleHandlers.js.map +1 -0
- package/dist/component/balanceFunding/mutationValidators.d.ts +238 -0
- package/dist/component/balanceFunding/mutationValidators.d.ts.map +1 -0
- package/dist/component/balanceFunding/mutationValidators.js +55 -0
- package/dist/component/balanceFunding/mutationValidators.js.map +1 -0
- package/dist/component/balanceFunding/mutations.d.ts +335 -0
- package/dist/component/balanceFunding/mutations.d.ts.map +1 -0
- package/dist/component/balanceFunding/mutations.js +106 -0
- package/dist/component/balanceFunding/mutations.js.map +1 -0
- package/dist/component/balanceFunding/preparationHandlers.d.ts +55 -0
- package/dist/component/balanceFunding/preparationHandlers.d.ts.map +1 -0
- package/dist/component/balanceFunding/preparationHandlers.js +165 -0
- package/dist/component/balanceFunding/preparationHandlers.js.map +1 -0
- package/dist/component/balanceFunding/queries.d.ts +151 -0
- package/dist/component/balanceFunding/queries.d.ts.map +1 -0
- package/dist/component/balanceFunding/queries.js +180 -0
- package/dist/component/balanceFunding/queries.js.map +1 -0
- package/dist/component/balanceFunding/schema.d.ts +748 -0
- package/dist/component/balanceFunding/schema.d.ts.map +1 -0
- package/dist/component/balanceFunding/schema.js +124 -0
- package/dist/component/balanceFunding/schema.js.map +1 -0
- package/dist/component/balanceFunding/stateHandlers.d.ts +58 -0
- package/dist/component/balanceFunding/stateHandlers.d.ts.map +1 -0
- package/dist/component/balanceFunding/stateHandlers.js +160 -0
- package/dist/component/balanceFunding/stateHandlers.js.map +1 -0
- package/dist/component/convex.config.d.ts.map +1 -1
- package/dist/component/convex.config.js +2 -0
- package/dist/component/convex.config.js.map +1 -1
- package/dist/component/costRecovery/completion.d.ts +1 -0
- package/dist/component/costRecovery/completion.d.ts.map +1 -1
- package/dist/component/costRecovery/helpers.d.ts +1 -0
- package/dist/component/costRecovery/helpers.d.ts.map +1 -1
- package/dist/component/costRecovery/mutations.d.ts +5 -0
- package/dist/component/costRecovery/mutations.d.ts.map +1 -1
- package/dist/component/costRecovery/preparation.d.ts +50 -0
- package/dist/component/costRecovery/preparation.d.ts.map +1 -0
- package/dist/component/costRecovery/preparation.js +108 -0
- package/dist/component/costRecovery/preparation.js.map +1 -0
- package/dist/component/costRecovery/queries.d.ts +1 -0
- package/dist/component/costRecovery/queries.d.ts.map +1 -1
- package/dist/component/costRecovery/reservations.d.ts +2 -0
- package/dist/component/costRecovery/reservations.d.ts.map +1 -1
- package/dist/component/costRecovery/schema.d.ts +7 -2
- package/dist/component/costRecovery/schema.d.ts.map +1 -1
- package/dist/component/costRecovery/schema.js +1 -0
- package/dist/component/costRecovery/schema.js.map +1 -1
- package/dist/component/durableExecution/runtime.d.ts +3 -0
- package/dist/component/durableExecution/runtime.d.ts.map +1 -0
- package/dist/component/durableExecution/runtime.js +12 -0
- package/dist/component/durableExecution/runtime.js.map +1 -0
- package/dist/component/earnings/triggers.d.ts +242 -2
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/schema.d.ts +253 -1
- package/dist/component/schema.js +4 -0
- package/dist/component/schema.js.map +1 -1
- package/docs/settlement.md +48 -0
- package/package.json +4 -2
- package/src/client/costRecovery-invoices.ts +3 -7
- package/src/client/costRecovery.test.ts +34 -0
- package/src/client/costRecovery.ts +21 -0
- package/src/client/index.ts +7 -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/processingCostDeficit/README.md +35 -0
- package/src/client/processingCostDeficit/calculator.test.ts +176 -0
- package/src/client/processingCostDeficit/index.ts +91 -0
- package/src/client/settlement/verifiedSale.ts +4 -10
- package/src/component/_generated/api.ts +23 -1
- package/src/component/_generated/component.ts +693 -0
- package/src/component/balanceFunding/failure.test.ts +116 -0
- package/src/component/balanceFunding/helpers.ts +102 -0
- package/src/component/balanceFunding/import.test.ts +221 -0
- package/src/component/balanceFunding/importHandler.ts +146 -0
- package/src/component/balanceFunding/lifecycleHandlers.ts +90 -0
- package/src/component/balanceFunding/lookup.test.ts +113 -0
- package/src/component/balanceFunding/mutationValidators.ts +63 -0
- package/src/component/balanceFunding/mutations.ts +136 -0
- package/src/component/balanceFunding/preparation.test.ts +146 -0
- package/src/component/balanceFunding/preparationHandlers.ts +204 -0
- package/src/component/balanceFunding/queries.ts +221 -0
- package/src/component/balanceFunding/requestLookup.test.ts +160 -0
- package/src/component/balanceFunding/schema.ts +169 -0
- package/src/component/balanceFunding/state.test.ts +352 -0
- package/src/component/balanceFunding/stateHandlers.ts +198 -0
- package/src/component/balanceFunding/validation.test.ts +100 -0
- package/src/component/convex.config.ts +2 -0
- package/src/component/costRecovery/preparation.test.ts +355 -0
- package/src/component/costRecovery/preparation.ts +124 -0
- package/src/component/costRecovery/schema.ts +1 -0
- package/src/component/durableExecution/composition.test.ts +568 -0
- package/src/component/durableExecution/runtime.ts +12 -0
- package/src/component/schema.ts +8 -0
|
@@ -18,6 +18,14 @@ import type * as affiliatePayouts_recipientGuard from "../affiliatePayouts/recip
|
|
|
18
18
|
import type * as affiliateRecovery_accounting from "../affiliateRecovery/accounting.js";
|
|
19
19
|
import type * as affiliateRecovery_mutations from "../affiliateRecovery/mutations.js";
|
|
20
20
|
import type * as affiliateRecovery_queries from "../affiliateRecovery/queries.js";
|
|
21
|
+
import type * as balanceFunding_helpers from "../balanceFunding/helpers.js";
|
|
22
|
+
import type * as balanceFunding_importHandler from "../balanceFunding/importHandler.js";
|
|
23
|
+
import type * as balanceFunding_lifecycleHandlers from "../balanceFunding/lifecycleHandlers.js";
|
|
24
|
+
import type * as balanceFunding_mutationValidators from "../balanceFunding/mutationValidators.js";
|
|
25
|
+
import type * as balanceFunding_mutations from "../balanceFunding/mutations.js";
|
|
26
|
+
import type * as balanceFunding_preparationHandlers from "../balanceFunding/preparationHandlers.js";
|
|
27
|
+
import type * as balanceFunding_queries from "../balanceFunding/queries.js";
|
|
28
|
+
import type * as balanceFunding_stateHandlers from "../balanceFunding/stateHandlers.js";
|
|
21
29
|
import type * as billing_mutations from "../billing/mutations.js";
|
|
22
30
|
import type * as billing_queries from "../billing/queries.js";
|
|
23
31
|
import type * as billing_validators from "../billing/validators.js";
|
|
@@ -38,8 +46,10 @@ import type * as costRecovery_completion from "../costRecovery/completion.js";
|
|
|
38
46
|
import type * as costRecovery_helpers from "../costRecovery/helpers.js";
|
|
39
47
|
import type * as costRecovery_imports from "../costRecovery/imports.js";
|
|
40
48
|
import type * as costRecovery_mutations from "../costRecovery/mutations.js";
|
|
49
|
+
import type * as costRecovery_preparation from "../costRecovery/preparation.js";
|
|
41
50
|
import type * as costRecovery_queries from "../costRecovery/queries.js";
|
|
42
51
|
import type * as costRecovery_reservations from "../costRecovery/reservations.js";
|
|
52
|
+
import type * as durableExecution_runtime from "../durableExecution/runtime.js";
|
|
43
53
|
import type * as earnings_arithmetic from "../earnings/arithmetic.js";
|
|
44
54
|
import type * as earnings_legacyReads from "../earnings/legacyReads.js";
|
|
45
55
|
import type * as earnings_mutations from "../earnings/mutations.js";
|
|
@@ -142,6 +152,14 @@ const fullApi: ApiFromModules<{
|
|
|
142
152
|
"affiliateRecovery/accounting": typeof affiliateRecovery_accounting;
|
|
143
153
|
"affiliateRecovery/mutations": typeof affiliateRecovery_mutations;
|
|
144
154
|
"affiliateRecovery/queries": typeof affiliateRecovery_queries;
|
|
155
|
+
"balanceFunding/helpers": typeof balanceFunding_helpers;
|
|
156
|
+
"balanceFunding/importHandler": typeof balanceFunding_importHandler;
|
|
157
|
+
"balanceFunding/lifecycleHandlers": typeof balanceFunding_lifecycleHandlers;
|
|
158
|
+
"balanceFunding/mutationValidators": typeof balanceFunding_mutationValidators;
|
|
159
|
+
"balanceFunding/mutations": typeof balanceFunding_mutations;
|
|
160
|
+
"balanceFunding/preparationHandlers": typeof balanceFunding_preparationHandlers;
|
|
161
|
+
"balanceFunding/queries": typeof balanceFunding_queries;
|
|
162
|
+
"balanceFunding/stateHandlers": typeof balanceFunding_stateHandlers;
|
|
145
163
|
"billing/mutations": typeof billing_mutations;
|
|
146
164
|
"billing/queries": typeof billing_queries;
|
|
147
165
|
"billing/validators": typeof billing_validators;
|
|
@@ -162,8 +180,10 @@ const fullApi: ApiFromModules<{
|
|
|
162
180
|
"costRecovery/helpers": typeof costRecovery_helpers;
|
|
163
181
|
"costRecovery/imports": typeof costRecovery_imports;
|
|
164
182
|
"costRecovery/mutations": typeof costRecovery_mutations;
|
|
183
|
+
"costRecovery/preparation": typeof costRecovery_preparation;
|
|
165
184
|
"costRecovery/queries": typeof costRecovery_queries;
|
|
166
185
|
"costRecovery/reservations": typeof costRecovery_reservations;
|
|
186
|
+
"durableExecution/runtime": typeof durableExecution_runtime;
|
|
167
187
|
"earnings/arithmetic": typeof earnings_arithmetic;
|
|
168
188
|
"earnings/legacyReads": typeof earnings_legacyReads;
|
|
169
189
|
"earnings/mutations": typeof earnings_mutations;
|
|
@@ -275,4 +295,6 @@ export const internal: FilterApi<
|
|
|
275
295
|
FunctionReference<any, "internal">
|
|
276
296
|
> = anyApi as any;
|
|
277
297
|
|
|
278
|
-
export const components = componentsGeneric() as unknown as {
|
|
298
|
+
export const components = componentsGeneric() as unknown as {
|
|
299
|
+
workflow: import("@convex-dev/workflow/_generated/component.js").ComponentApi<"workflow">;
|
|
300
|
+
};
|