@fantastic.dev/better-stripe 0.37.1 → 0.39.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 +53 -0
- package/MIGRATION.md +9 -0
- package/README.md +25 -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/core/accountCapabilities.d.ts +20 -0
- package/dist/client/core/accountCapabilities.d.ts.map +1 -0
- package/dist/client/core/accountCapabilities.js +7 -0
- package/dist/client/core/accountCapabilities.js.map +1 -0
- package/dist/client/core/accountConfigurations.d.ts +46 -0
- package/dist/client/core/accountConfigurations.d.ts.map +1 -0
- package/dist/client/core/accountConfigurations.js +99 -0
- package/dist/client/core/accountConfigurations.js.map +1 -0
- package/dist/client/core/accountLinks.d.ts +29 -2
- package/dist/client/core/accountLinks.d.ts.map +1 -1
- package/dist/client/core/accountLinks.js +56 -4
- package/dist/client/core/accountLinks.js.map +1 -1
- package/dist/client/core/accounts.d.ts +2 -36
- package/dist/client/core/accounts.d.ts.map +1 -1
- package/dist/client/core/accounts.js +3 -73
- package/dist/client/core/accounts.js.map +1 -1
- package/dist/client/core/billingPortalClient.d.ts +14 -0
- package/dist/client/core/billingPortalClient.d.ts.map +1 -0
- package/dist/client/core/billingPortalClient.js +18 -0
- package/dist/client/core/billingPortalClient.js.map +1 -0
- package/dist/client/costRecovery-invoices.d.ts +4 -4
- package/dist/client/costRecovery.d.ts +19 -1
- 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/financialOutcomes/adapters.d.ts +18 -0
- package/dist/client/financialOutcomes/adapters.d.ts.map +1 -0
- package/dist/client/financialOutcomes/adapters.js +60 -0
- package/dist/client/financialOutcomes/adapters.js.map +1 -0
- package/dist/client/financialOutcomes/contracts.d.ts +42 -0
- package/dist/client/financialOutcomes/contracts.d.ts.map +1 -0
- package/dist/client/financialOutcomes/contracts.js +39 -0
- package/dist/client/financialOutcomes/contracts.js.map +1 -0
- package/dist/client/financialOutcomes/errors.d.ts +6 -0
- package/dist/client/financialOutcomes/errors.d.ts.map +1 -0
- package/dist/client/financialOutcomes/errors.js +22 -0
- package/dist/client/financialOutcomes/errors.js.map +1 -0
- package/dist/client/financialOutcomes/index.d.ts +6 -0
- package/dist/client/financialOutcomes/index.d.ts.map +1 -0
- package/dist/client/financialOutcomes/index.js +4 -0
- package/dist/client/financialOutcomes/index.js.map +1 -0
- package/dist/client/financialOutcomes/retry.d.ts +24 -0
- package/dist/client/financialOutcomes/retry.d.ts.map +1 -0
- package/dist/client/financialOutcomes/retry.js +31 -0
- package/dist/client/financialOutcomes/retry.js.map +1 -0
- package/dist/client/index.d.ts +21 -111
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +11 -85
- package/dist/client/index.js.map +1 -1
- 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/products/catalog.d.ts +26 -0
- package/dist/client/products/catalog.d.ts.map +1 -0
- package/dist/client/products/catalog.js +140 -0
- package/dist/client/products/catalog.js.map +1 -0
- package/dist/client/products/catalogClient.d.ts +109 -0
- package/dist/client/products/catalogClient.d.ts.map +1 -0
- package/dist/client/products/catalogClient.js +84 -0
- package/dist/client/products/catalogClient.js.map +1 -0
- package/dist/client/products/prices.d.ts +1 -0
- package/dist/client/products/prices.d.ts.map +1 -1
- package/dist/client/products/prices.js +1 -0
- package/dist/client/products/prices.js.map +1 -1
- package/dist/client/publicTypes.d.ts +2 -0
- package/dist/client/publicTypes.d.ts.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 +535 -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/products/mutations.d.ts +9 -0
- package/dist/component/products/mutations.d.ts.map +1 -1
- package/dist/component/products/mutations.js +31 -2
- package/dist/component/products/mutations.js.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/read-contracts.md +33 -0
- package/package.json +4 -2
- package/src/client/core/account-session-client.test.ts +74 -0
- package/src/client/core/accountCapabilities.ts +22 -0
- package/src/client/core/accountConfigurations.test.ts +183 -0
- package/src/client/core/accountConfigurations.ts +161 -0
- package/src/client/core/accountLinks.test.ts +6 -2
- package/src/client/core/accountLinks.ts +122 -5
- package/src/client/core/accounts.ts +8 -115
- package/src/client/core/billingPortal.test.ts +247 -0
- package/src/client/core/billingPortalClient.ts +35 -0
- package/src/client/costRecovery.test.ts +34 -0
- package/src/client/costRecovery.ts +21 -0
- package/src/client/financialOutcomes/adapters.ts +88 -0
- package/src/client/financialOutcomes/contracts.ts +43 -0
- package/src/client/financialOutcomes/errors.ts +29 -0
- package/src/client/financialOutcomes/index.ts +5 -0
- package/src/client/financialOutcomes/outcomes.test.ts +254 -0
- package/src/client/financialOutcomes/retry.ts +52 -0
- package/src/client/index.test.ts +0 -64
- package/src/client/index.ts +35 -185
- 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/products/catalog.test.ts +389 -0
- package/src/client/products/catalog.ts +225 -0
- package/src/client/products/catalogClient.ts +172 -0
- package/src/client/products/prices.test.ts +24 -0
- package/src/client/products/prices.ts +2 -0
- package/src/client/publicTypes.ts +13 -0
- package/src/component/_generated/api.ts +27 -1
- package/src/component/_generated/component.ts +707 -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/products/mutations.ts +39 -2
- package/src/component/schema.ts +8 -0
|
@@ -0,0 +1,748 @@
|
|
|
1
|
+
export declare const scopeFields: {
|
|
2
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
3
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
4
|
+
};
|
|
5
|
+
export declare const originalFields: {
|
|
6
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
7
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
8
|
+
previousPaymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
9
|
+
previousPaymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
10
|
+
};
|
|
11
|
+
export declare const originalValue: import("convex/values").VObject<{
|
|
12
|
+
customerAccount: string;
|
|
13
|
+
previousPaymentMethodId: string | null;
|
|
14
|
+
previousPaymentMethodTypes: string[] | null;
|
|
15
|
+
stripeSubscriptionId: string;
|
|
16
|
+
}, {
|
|
17
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
18
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
19
|
+
previousPaymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
20
|
+
previousPaymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
21
|
+
}, "required", "customerAccount" | "previousPaymentMethodId" | "previousPaymentMethodTypes" | "stripeSubscriptionId">;
|
|
22
|
+
export declare const capturedValue: import("convex/values").VObject<{
|
|
23
|
+
customerAccount: string;
|
|
24
|
+
paymentMethodId?: string | undefined;
|
|
25
|
+
previousPaymentMethodId: string | null;
|
|
26
|
+
previousPaymentMethodTypes: string[] | null;
|
|
27
|
+
stripeSubscriptionId: string;
|
|
28
|
+
}, {
|
|
29
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
30
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
31
|
+
previousPaymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
32
|
+
previousPaymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
33
|
+
paymentMethodId: import("convex/values").VString<string | undefined, "optional">;
|
|
34
|
+
}, "required", "customerAccount" | "paymentMethodId" | "previousPaymentMethodId" | "previousPaymentMethodTypes" | "stripeSubscriptionId">;
|
|
35
|
+
export declare const preparationValue: import("convex/values").VObject<{
|
|
36
|
+
customerAccount: string;
|
|
37
|
+
paymentMethodId: string;
|
|
38
|
+
previousPaymentMethodId: string | null;
|
|
39
|
+
previousPaymentMethodTypes: string[] | null;
|
|
40
|
+
stripeSubscriptionId: string;
|
|
41
|
+
}, {
|
|
42
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
43
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
44
|
+
previousPaymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
45
|
+
previousPaymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
46
|
+
paymentMethodId: import("convex/values").VString<string, "required">;
|
|
47
|
+
}, "required", "customerAccount" | "paymentMethodId" | "previousPaymentMethodId" | "previousPaymentMethodTypes" | "stripeSubscriptionId">;
|
|
48
|
+
export declare const receiptValue: import("convex/values").VObject<{
|
|
49
|
+
customerAccount: string;
|
|
50
|
+
paymentMethodId: string | null;
|
|
51
|
+
paymentMethodTypes: string[] | null;
|
|
52
|
+
providerApiVersion: string;
|
|
53
|
+
stripeSubscriptionId: string;
|
|
54
|
+
}, {
|
|
55
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
56
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
57
|
+
paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
58
|
+
paymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
59
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
60
|
+
}, "required", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
|
|
61
|
+
export declare const preparationFields: {
|
|
62
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
63
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
64
|
+
preparation: import("convex/values").VObject<{
|
|
65
|
+
customerAccount: string;
|
|
66
|
+
paymentMethodId?: string | undefined;
|
|
67
|
+
previousPaymentMethodId: string | null;
|
|
68
|
+
previousPaymentMethodTypes: string[] | null;
|
|
69
|
+
stripeSubscriptionId: string;
|
|
70
|
+
}, {
|
|
71
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
72
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
73
|
+
previousPaymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
74
|
+
previousPaymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
75
|
+
paymentMethodId: import("convex/values").VString<string | undefined, "optional">;
|
|
76
|
+
}, "required", "customerAccount" | "paymentMethodId" | "previousPaymentMethodId" | "previousPaymentMethodTypes" | "stripeSubscriptionId">;
|
|
77
|
+
consentAt: import("convex/values").VFloat64<number, "required">;
|
|
78
|
+
consentReference: import("convex/values").VString<string, "required">;
|
|
79
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
80
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
81
|
+
startsPaused: import("convex/values").VBoolean<boolean, "required">;
|
|
82
|
+
verified: import("convex/values").VBoolean<boolean, "required">;
|
|
83
|
+
preparationOperationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations"> | undefined, "optional">;
|
|
84
|
+
operationVersion: import("convex/values").VFloat64<number, "required">;
|
|
85
|
+
activeOperationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations"> | undefined, "optional">;
|
|
86
|
+
};
|
|
87
|
+
export declare const preparationDoc: import("convex/values").VObject<{
|
|
88
|
+
_creationTime: number;
|
|
89
|
+
_id: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
90
|
+
accountId: string;
|
|
91
|
+
activeOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | undefined;
|
|
92
|
+
consentAt: number;
|
|
93
|
+
consentReference: string;
|
|
94
|
+
enabled: boolean;
|
|
95
|
+
operationVersion: number;
|
|
96
|
+
preparation: {
|
|
97
|
+
customerAccount: string;
|
|
98
|
+
paymentMethodId?: string | undefined;
|
|
99
|
+
previousPaymentMethodId: string | null;
|
|
100
|
+
previousPaymentMethodTypes: string[] | null;
|
|
101
|
+
stripeSubscriptionId: string;
|
|
102
|
+
};
|
|
103
|
+
preparationOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | undefined;
|
|
104
|
+
providerApiVersion: string;
|
|
105
|
+
scopeKey: string;
|
|
106
|
+
startsPaused: boolean;
|
|
107
|
+
verified: boolean;
|
|
108
|
+
}, {
|
|
109
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
110
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
111
|
+
preparation: import("convex/values").VObject<{
|
|
112
|
+
customerAccount: string;
|
|
113
|
+
paymentMethodId?: string | undefined;
|
|
114
|
+
previousPaymentMethodId: string | null;
|
|
115
|
+
previousPaymentMethodTypes: string[] | null;
|
|
116
|
+
stripeSubscriptionId: string;
|
|
117
|
+
}, {
|
|
118
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
119
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
120
|
+
previousPaymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
121
|
+
previousPaymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
122
|
+
paymentMethodId: import("convex/values").VString<string | undefined, "optional">;
|
|
123
|
+
}, "required", "customerAccount" | "paymentMethodId" | "previousPaymentMethodId" | "previousPaymentMethodTypes" | "stripeSubscriptionId">;
|
|
124
|
+
consentAt: import("convex/values").VFloat64<number, "required">;
|
|
125
|
+
consentReference: import("convex/values").VString<string, "required">;
|
|
126
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
127
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
128
|
+
startsPaused: import("convex/values").VBoolean<boolean, "required">;
|
|
129
|
+
verified: import("convex/values").VBoolean<boolean, "required">;
|
|
130
|
+
preparationOperationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations"> | undefined, "optional">;
|
|
131
|
+
operationVersion: import("convex/values").VFloat64<number, "required">;
|
|
132
|
+
activeOperationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations"> | undefined, "optional">;
|
|
133
|
+
_id: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
134
|
+
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
135
|
+
}, "required", "_creationTime" | "_id" | "accountId" | "activeOperationId" | "consentAt" | "consentReference" | "enabled" | "operationVersion" | "preparation" | "preparation.customerAccount" | "preparation.paymentMethodId" | "preparation.previousPaymentMethodId" | "preparation.previousPaymentMethodTypes" | "preparation.stripeSubscriptionId" | "preparationOperationId" | "providerApiVersion" | "scopeKey" | "startsPaused" | "verified">;
|
|
136
|
+
export declare const operationRefFields: {
|
|
137
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
138
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
139
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
140
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
141
|
+
};
|
|
142
|
+
export declare const operationRef: import("convex/values").VObject<{
|
|
143
|
+
accountId: string;
|
|
144
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
145
|
+
scopeKey: string;
|
|
146
|
+
version: number;
|
|
147
|
+
}, {
|
|
148
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
149
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
150
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
151
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
152
|
+
}, "required", "accountId" | "operationId" | "scopeKey" | "version">;
|
|
153
|
+
export declare const providerKeys: import("convex/values").VObject<{
|
|
154
|
+
attach?: string | undefined;
|
|
155
|
+
create?: string | undefined;
|
|
156
|
+
disable: string;
|
|
157
|
+
enable: string;
|
|
158
|
+
}, {
|
|
159
|
+
enable: import("convex/values").VString<string, "required">;
|
|
160
|
+
disable: import("convex/values").VString<string, "required">;
|
|
161
|
+
create: import("convex/values").VString<string | undefined, "optional">;
|
|
162
|
+
attach: import("convex/values").VString<string | undefined, "optional">;
|
|
163
|
+
}, "required", "attach" | "create" | "disable" | "enable">;
|
|
164
|
+
export declare const failureCode: import("convex/values").VUnion<"invalid_scope" | "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">], "required", never>;
|
|
165
|
+
export declare const operationFields: {
|
|
166
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
167
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
168
|
+
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
169
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
170
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
171
|
+
kind: import("convex/values").VUnion<"apply" | "prepare", [import("convex/values").VLiteral<"prepare", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
|
|
172
|
+
providerKey: import("convex/values").VString<string, "required">;
|
|
173
|
+
state: import("convex/values").VUnion<"canceled" | "failed" | "pending" | "running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">, import("convex/values").VLiteral<"canceled", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
|
|
174
|
+
cancelRequested: import("convex/values").VBoolean<boolean, "required">;
|
|
175
|
+
failureCode: import("convex/values").VUnion<"invalid_scope" | "policy_invalid" | "unsupported_source" | undefined, [import("convex/values").VLiteral<"invalid_scope", "required">, import("convex/values").VLiteral<"unsupported_source", "required">, import("convex/values").VLiteral<"policy_invalid", "required">], "optional", never>;
|
|
176
|
+
providerKeys: import("convex/values").VObject<{
|
|
177
|
+
attach?: string | undefined;
|
|
178
|
+
create?: string | undefined;
|
|
179
|
+
disable: string;
|
|
180
|
+
enable: string;
|
|
181
|
+
}, {
|
|
182
|
+
enable: import("convex/values").VString<string, "required">;
|
|
183
|
+
disable: import("convex/values").VString<string, "required">;
|
|
184
|
+
create: import("convex/values").VString<string | undefined, "optional">;
|
|
185
|
+
attach: import("convex/values").VString<string | undefined, "optional">;
|
|
186
|
+
}, "required", "attach" | "create" | "disable" | "enable">;
|
|
187
|
+
receipt: import("convex/values").VObject<{
|
|
188
|
+
customerAccount: string;
|
|
189
|
+
paymentMethodId: string | null;
|
|
190
|
+
paymentMethodTypes: string[] | null;
|
|
191
|
+
providerApiVersion: string;
|
|
192
|
+
stripeSubscriptionId: string;
|
|
193
|
+
} | undefined, {
|
|
194
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
195
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
196
|
+
paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
197
|
+
paymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
198
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
199
|
+
}, "optional", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
|
|
200
|
+
};
|
|
201
|
+
export declare const operationDoc: import("convex/values").VObject<{
|
|
202
|
+
_creationTime: number;
|
|
203
|
+
_id: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
204
|
+
accountId: string;
|
|
205
|
+
cancelRequested: boolean;
|
|
206
|
+
enabled: boolean;
|
|
207
|
+
failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
|
|
208
|
+
kind: "apply" | "prepare";
|
|
209
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
210
|
+
providerKey: string;
|
|
211
|
+
providerKeys: {
|
|
212
|
+
attach?: string | undefined;
|
|
213
|
+
create?: string | undefined;
|
|
214
|
+
disable: string;
|
|
215
|
+
enable: string;
|
|
216
|
+
};
|
|
217
|
+
receipt?: {
|
|
218
|
+
customerAccount: string;
|
|
219
|
+
paymentMethodId: string | null;
|
|
220
|
+
paymentMethodTypes: string[] | null;
|
|
221
|
+
providerApiVersion: string;
|
|
222
|
+
stripeSubscriptionId: string;
|
|
223
|
+
} | undefined;
|
|
224
|
+
scopeKey: string;
|
|
225
|
+
state: "canceled" | "failed" | "pending" | "running" | "succeeded" | "unknown";
|
|
226
|
+
version: number;
|
|
227
|
+
}, {
|
|
228
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
229
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
230
|
+
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
231
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
232
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
233
|
+
kind: import("convex/values").VUnion<"apply" | "prepare", [import("convex/values").VLiteral<"prepare", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
|
|
234
|
+
providerKey: import("convex/values").VString<string, "required">;
|
|
235
|
+
state: import("convex/values").VUnion<"canceled" | "failed" | "pending" | "running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">, import("convex/values").VLiteral<"canceled", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
|
|
236
|
+
cancelRequested: import("convex/values").VBoolean<boolean, "required">;
|
|
237
|
+
failureCode: import("convex/values").VUnion<"invalid_scope" | "policy_invalid" | "unsupported_source" | undefined, [import("convex/values").VLiteral<"invalid_scope", "required">, import("convex/values").VLiteral<"unsupported_source", "required">, import("convex/values").VLiteral<"policy_invalid", "required">], "optional", never>;
|
|
238
|
+
providerKeys: import("convex/values").VObject<{
|
|
239
|
+
attach?: string | undefined;
|
|
240
|
+
create?: string | undefined;
|
|
241
|
+
disable: string;
|
|
242
|
+
enable: string;
|
|
243
|
+
}, {
|
|
244
|
+
enable: import("convex/values").VString<string, "required">;
|
|
245
|
+
disable: import("convex/values").VString<string, "required">;
|
|
246
|
+
create: import("convex/values").VString<string | undefined, "optional">;
|
|
247
|
+
attach: import("convex/values").VString<string | undefined, "optional">;
|
|
248
|
+
}, "required", "attach" | "create" | "disable" | "enable">;
|
|
249
|
+
receipt: import("convex/values").VObject<{
|
|
250
|
+
customerAccount: string;
|
|
251
|
+
paymentMethodId: string | null;
|
|
252
|
+
paymentMethodTypes: string[] | null;
|
|
253
|
+
providerApiVersion: string;
|
|
254
|
+
stripeSubscriptionId: string;
|
|
255
|
+
} | undefined, {
|
|
256
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
257
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
258
|
+
paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
259
|
+
paymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
260
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
261
|
+
}, "optional", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
|
|
262
|
+
_id: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
263
|
+
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
264
|
+
}, "required", "_creationTime" | "_id" | "accountId" | "cancelRequested" | "enabled" | "failureCode" | "kind" | "preparationId" | "providerKey" | "providerKeys" | "providerKeys.attach" | "providerKeys.create" | "providerKeys.disable" | "providerKeys.enable" | "receipt" | "receipt.customerAccount" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "scopeKey" | "state" | "version">;
|
|
265
|
+
export declare const conflict: import("convex/values").VObject<{
|
|
266
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
267
|
+
retryable: false;
|
|
268
|
+
status: "conflict";
|
|
269
|
+
}, {
|
|
270
|
+
status: import("convex/values").VLiteral<"conflict", "required">;
|
|
271
|
+
reason: import("convex/values").VUnion<"identity_changed" | "revision_changed" | "scope_busy", [import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"identity_changed", "required">, import("convex/values").VLiteral<"revision_changed", "required">], "required", never>;
|
|
272
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
273
|
+
}, "required", "reason" | "retryable" | "status">;
|
|
274
|
+
export declare const rejected: import("convex/values").VObject<{
|
|
275
|
+
reason: "policy_invalid";
|
|
276
|
+
retryable: false;
|
|
277
|
+
status: "rejected";
|
|
278
|
+
}, {
|
|
279
|
+
status: import("convex/values").VLiteral<"rejected", "required">;
|
|
280
|
+
reason: import("convex/values").VLiteral<"policy_invalid", "required">;
|
|
281
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
282
|
+
}, "required", "reason" | "retryable" | "status">;
|
|
283
|
+
export declare const beginResult: import("convex/values").VUnion<{
|
|
284
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
285
|
+
retryable: false;
|
|
286
|
+
status: "conflict";
|
|
287
|
+
} | {
|
|
288
|
+
reason: "policy_invalid";
|
|
289
|
+
retryable: false;
|
|
290
|
+
status: "rejected";
|
|
291
|
+
} | {
|
|
292
|
+
operation: {
|
|
293
|
+
accountId: string;
|
|
294
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
295
|
+
scopeKey: string;
|
|
296
|
+
version: number;
|
|
297
|
+
};
|
|
298
|
+
status: "accepted";
|
|
299
|
+
} | {
|
|
300
|
+
enabled: boolean;
|
|
301
|
+
status: "unchanged";
|
|
302
|
+
} | {
|
|
303
|
+
reason: "provider_pending";
|
|
304
|
+
retryable: true;
|
|
305
|
+
status: "not_ready";
|
|
306
|
+
}, [import("convex/values").VObject<{
|
|
307
|
+
operation: {
|
|
308
|
+
accountId: string;
|
|
309
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
310
|
+
scopeKey: string;
|
|
311
|
+
version: number;
|
|
312
|
+
};
|
|
313
|
+
status: "accepted";
|
|
314
|
+
}, {
|
|
315
|
+
status: import("convex/values").VLiteral<"accepted", "required">;
|
|
316
|
+
operation: import("convex/values").VObject<{
|
|
317
|
+
accountId: string;
|
|
318
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
319
|
+
scopeKey: string;
|
|
320
|
+
version: number;
|
|
321
|
+
}, {
|
|
322
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
323
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
324
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
325
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
326
|
+
}, "required", "accountId" | "operationId" | "scopeKey" | "version">;
|
|
327
|
+
}, "required", "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "status">, import("convex/values").VObject<{
|
|
328
|
+
enabled: boolean;
|
|
329
|
+
status: "unchanged";
|
|
330
|
+
}, {
|
|
331
|
+
status: import("convex/values").VLiteral<"unchanged", "required">;
|
|
332
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
333
|
+
}, "required", "enabled" | "status">, import("convex/values").VObject<{
|
|
334
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
335
|
+
retryable: false;
|
|
336
|
+
status: "conflict";
|
|
337
|
+
}, {
|
|
338
|
+
status: import("convex/values").VLiteral<"conflict", "required">;
|
|
339
|
+
reason: import("convex/values").VUnion<"identity_changed" | "revision_changed" | "scope_busy", [import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"identity_changed", "required">, import("convex/values").VLiteral<"revision_changed", "required">], "required", never>;
|
|
340
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
341
|
+
}, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
|
|
342
|
+
reason: "policy_invalid";
|
|
343
|
+
retryable: false;
|
|
344
|
+
status: "rejected";
|
|
345
|
+
}, {
|
|
346
|
+
status: import("convex/values").VLiteral<"rejected", "required">;
|
|
347
|
+
reason: import("convex/values").VLiteral<"policy_invalid", "required">;
|
|
348
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
349
|
+
}, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
|
|
350
|
+
reason: "provider_pending";
|
|
351
|
+
retryable: true;
|
|
352
|
+
status: "not_ready";
|
|
353
|
+
}, {
|
|
354
|
+
status: import("convex/values").VLiteral<"not_ready", "required">;
|
|
355
|
+
reason: import("convex/values").VLiteral<"provider_pending", "required">;
|
|
356
|
+
retryable: import("convex/values").VLiteral<true, "required">;
|
|
357
|
+
}, "required", "reason" | "retryable" | "status">], "required", "enabled" | "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "reason" | "retryable" | "status">;
|
|
358
|
+
export declare const preparationsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
359
|
+
accountId: string;
|
|
360
|
+
activeOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | undefined;
|
|
361
|
+
consentAt: number;
|
|
362
|
+
consentReference: string;
|
|
363
|
+
enabled: boolean;
|
|
364
|
+
operationVersion: number;
|
|
365
|
+
preparation: {
|
|
366
|
+
customerAccount: string;
|
|
367
|
+
paymentMethodId?: string | undefined;
|
|
368
|
+
previousPaymentMethodId: string | null;
|
|
369
|
+
previousPaymentMethodTypes: string[] | null;
|
|
370
|
+
stripeSubscriptionId: string;
|
|
371
|
+
};
|
|
372
|
+
preparationOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | undefined;
|
|
373
|
+
providerApiVersion: string;
|
|
374
|
+
scopeKey: string;
|
|
375
|
+
startsPaused: boolean;
|
|
376
|
+
verified: boolean;
|
|
377
|
+
}, {
|
|
378
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
379
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
380
|
+
preparation: import("convex/values").VObject<{
|
|
381
|
+
customerAccount: string;
|
|
382
|
+
paymentMethodId?: string | undefined;
|
|
383
|
+
previousPaymentMethodId: string | null;
|
|
384
|
+
previousPaymentMethodTypes: string[] | null;
|
|
385
|
+
stripeSubscriptionId: string;
|
|
386
|
+
}, {
|
|
387
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
388
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
389
|
+
previousPaymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
390
|
+
previousPaymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
391
|
+
paymentMethodId: import("convex/values").VString<string | undefined, "optional">;
|
|
392
|
+
}, "required", "customerAccount" | "paymentMethodId" | "previousPaymentMethodId" | "previousPaymentMethodTypes" | "stripeSubscriptionId">;
|
|
393
|
+
consentAt: import("convex/values").VFloat64<number, "required">;
|
|
394
|
+
consentReference: import("convex/values").VString<string, "required">;
|
|
395
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
396
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
397
|
+
startsPaused: import("convex/values").VBoolean<boolean, "required">;
|
|
398
|
+
verified: import("convex/values").VBoolean<boolean, "required">;
|
|
399
|
+
preparationOperationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations"> | undefined, "optional">;
|
|
400
|
+
operationVersion: import("convex/values").VFloat64<number, "required">;
|
|
401
|
+
activeOperationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations"> | undefined, "optional">;
|
|
402
|
+
}, "required", "accountId" | "activeOperationId" | "consentAt" | "consentReference" | "enabled" | "operationVersion" | "preparation" | "preparation.customerAccount" | "preparation.paymentMethodId" | "preparation.previousPaymentMethodId" | "preparation.previousPaymentMethodTypes" | "preparation.stripeSubscriptionId" | "preparationOperationId" | "providerApiVersion" | "scopeKey" | "startsPaused" | "verified">, {
|
|
403
|
+
by_account_subscription: ["accountId", "preparation.stripeSubscriptionId", "_creationTime"];
|
|
404
|
+
}, {}, {}>;
|
|
405
|
+
export declare const operationsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
406
|
+
accountId: string;
|
|
407
|
+
cancelRequested: boolean;
|
|
408
|
+
enabled: boolean;
|
|
409
|
+
failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
|
|
410
|
+
kind: "apply" | "prepare";
|
|
411
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
412
|
+
providerKey: string;
|
|
413
|
+
providerKeys: {
|
|
414
|
+
attach?: string | undefined;
|
|
415
|
+
create?: string | undefined;
|
|
416
|
+
disable: string;
|
|
417
|
+
enable: string;
|
|
418
|
+
};
|
|
419
|
+
receipt?: {
|
|
420
|
+
customerAccount: string;
|
|
421
|
+
paymentMethodId: string | null;
|
|
422
|
+
paymentMethodTypes: string[] | null;
|
|
423
|
+
providerApiVersion: string;
|
|
424
|
+
stripeSubscriptionId: string;
|
|
425
|
+
} | undefined;
|
|
426
|
+
scopeKey: string;
|
|
427
|
+
state: "canceled" | "failed" | "pending" | "running" | "succeeded" | "unknown";
|
|
428
|
+
version: number;
|
|
429
|
+
}, {
|
|
430
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
431
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
432
|
+
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
433
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
434
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
435
|
+
kind: import("convex/values").VUnion<"apply" | "prepare", [import("convex/values").VLiteral<"prepare", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
|
|
436
|
+
providerKey: import("convex/values").VString<string, "required">;
|
|
437
|
+
state: import("convex/values").VUnion<"canceled" | "failed" | "pending" | "running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">, import("convex/values").VLiteral<"canceled", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
|
|
438
|
+
cancelRequested: import("convex/values").VBoolean<boolean, "required">;
|
|
439
|
+
failureCode: import("convex/values").VUnion<"invalid_scope" | "policy_invalid" | "unsupported_source" | undefined, [import("convex/values").VLiteral<"invalid_scope", "required">, import("convex/values").VLiteral<"unsupported_source", "required">, import("convex/values").VLiteral<"policy_invalid", "required">], "optional", never>;
|
|
440
|
+
providerKeys: import("convex/values").VObject<{
|
|
441
|
+
attach?: string | undefined;
|
|
442
|
+
create?: string | undefined;
|
|
443
|
+
disable: string;
|
|
444
|
+
enable: string;
|
|
445
|
+
}, {
|
|
446
|
+
enable: import("convex/values").VString<string, "required">;
|
|
447
|
+
disable: import("convex/values").VString<string, "required">;
|
|
448
|
+
create: import("convex/values").VString<string | undefined, "optional">;
|
|
449
|
+
attach: import("convex/values").VString<string | undefined, "optional">;
|
|
450
|
+
}, "required", "attach" | "create" | "disable" | "enable">;
|
|
451
|
+
receipt: import("convex/values").VObject<{
|
|
452
|
+
customerAccount: string;
|
|
453
|
+
paymentMethodId: string | null;
|
|
454
|
+
paymentMethodTypes: string[] | null;
|
|
455
|
+
providerApiVersion: string;
|
|
456
|
+
stripeSubscriptionId: string;
|
|
457
|
+
} | undefined, {
|
|
458
|
+
customerAccount: import("convex/values").VString<string, "required">;
|
|
459
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
460
|
+
paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
461
|
+
paymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
462
|
+
providerApiVersion: import("convex/values").VString<string, "required">;
|
|
463
|
+
}, "optional", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
|
|
464
|
+
}, "required", "accountId" | "cancelRequested" | "enabled" | "failureCode" | "kind" | "preparationId" | "providerKey" | "providerKeys" | "providerKeys.attach" | "providerKeys.create" | "providerKeys.disable" | "providerKeys.enable" | "receipt" | "receipt.customerAccount" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "scopeKey" | "state" | "version">, {
|
|
465
|
+
by_preparation_version: ["preparationId", "version", "_creationTime"];
|
|
466
|
+
}, {}, {}>;
|
|
467
|
+
export declare const importResult: import("convex/values").VObject<{
|
|
468
|
+
operation?: {
|
|
469
|
+
accountId: string;
|
|
470
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
471
|
+
scopeKey: string;
|
|
472
|
+
version: number;
|
|
473
|
+
} | undefined;
|
|
474
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
475
|
+
}, {
|
|
476
|
+
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
477
|
+
operation: import("convex/values").VObject<{
|
|
478
|
+
accountId: string;
|
|
479
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
480
|
+
scopeKey: string;
|
|
481
|
+
version: number;
|
|
482
|
+
} | undefined, {
|
|
483
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
484
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
485
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
486
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
487
|
+
}, "optional", "accountId" | "operationId" | "scopeKey" | "version">;
|
|
488
|
+
}, "required", "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "preparationId">;
|
|
489
|
+
export declare const requestsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
490
|
+
imported?: {
|
|
491
|
+
operation?: {
|
|
492
|
+
accountId: string;
|
|
493
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
494
|
+
scopeKey: string;
|
|
495
|
+
version: number;
|
|
496
|
+
} | undefined;
|
|
497
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
498
|
+
} | undefined;
|
|
499
|
+
payload: string;
|
|
500
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
501
|
+
requestKey: string;
|
|
502
|
+
result?: {
|
|
503
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
504
|
+
retryable: false;
|
|
505
|
+
status: "conflict";
|
|
506
|
+
} | {
|
|
507
|
+
reason: "policy_invalid";
|
|
508
|
+
retryable: false;
|
|
509
|
+
status: "rejected";
|
|
510
|
+
} | {
|
|
511
|
+
operation: {
|
|
512
|
+
accountId: string;
|
|
513
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
514
|
+
scopeKey: string;
|
|
515
|
+
version: number;
|
|
516
|
+
};
|
|
517
|
+
status: "accepted";
|
|
518
|
+
} | {
|
|
519
|
+
enabled: boolean;
|
|
520
|
+
status: "unchanged";
|
|
521
|
+
} | {
|
|
522
|
+
reason: "provider_pending";
|
|
523
|
+
retryable: true;
|
|
524
|
+
status: "not_ready";
|
|
525
|
+
} | undefined;
|
|
526
|
+
}, {
|
|
527
|
+
requestKey: import("convex/values").VString<string, "required">;
|
|
528
|
+
payload: import("convex/values").VString<string, "required">;
|
|
529
|
+
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
530
|
+
result: import("convex/values").VUnion<{
|
|
531
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
532
|
+
retryable: false;
|
|
533
|
+
status: "conflict";
|
|
534
|
+
} | {
|
|
535
|
+
reason: "policy_invalid";
|
|
536
|
+
retryable: false;
|
|
537
|
+
status: "rejected";
|
|
538
|
+
} | {
|
|
539
|
+
operation: {
|
|
540
|
+
accountId: string;
|
|
541
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
542
|
+
scopeKey: string;
|
|
543
|
+
version: number;
|
|
544
|
+
};
|
|
545
|
+
status: "accepted";
|
|
546
|
+
} | {
|
|
547
|
+
enabled: boolean;
|
|
548
|
+
status: "unchanged";
|
|
549
|
+
} | {
|
|
550
|
+
reason: "provider_pending";
|
|
551
|
+
retryable: true;
|
|
552
|
+
status: "not_ready";
|
|
553
|
+
} | undefined, [import("convex/values").VObject<{
|
|
554
|
+
operation: {
|
|
555
|
+
accountId: string;
|
|
556
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
557
|
+
scopeKey: string;
|
|
558
|
+
version: number;
|
|
559
|
+
};
|
|
560
|
+
status: "accepted";
|
|
561
|
+
}, {
|
|
562
|
+
status: import("convex/values").VLiteral<"accepted", "required">;
|
|
563
|
+
operation: import("convex/values").VObject<{
|
|
564
|
+
accountId: string;
|
|
565
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
566
|
+
scopeKey: string;
|
|
567
|
+
version: number;
|
|
568
|
+
}, {
|
|
569
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
570
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
571
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
572
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
573
|
+
}, "required", "accountId" | "operationId" | "scopeKey" | "version">;
|
|
574
|
+
}, "required", "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "status">, import("convex/values").VObject<{
|
|
575
|
+
enabled: boolean;
|
|
576
|
+
status: "unchanged";
|
|
577
|
+
}, {
|
|
578
|
+
status: import("convex/values").VLiteral<"unchanged", "required">;
|
|
579
|
+
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
580
|
+
}, "required", "enabled" | "status">, import("convex/values").VObject<{
|
|
581
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
582
|
+
retryable: false;
|
|
583
|
+
status: "conflict";
|
|
584
|
+
}, {
|
|
585
|
+
status: import("convex/values").VLiteral<"conflict", "required">;
|
|
586
|
+
reason: import("convex/values").VUnion<"identity_changed" | "revision_changed" | "scope_busy", [import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"identity_changed", "required">, import("convex/values").VLiteral<"revision_changed", "required">], "required", never>;
|
|
587
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
588
|
+
}, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
|
|
589
|
+
reason: "policy_invalid";
|
|
590
|
+
retryable: false;
|
|
591
|
+
status: "rejected";
|
|
592
|
+
}, {
|
|
593
|
+
status: import("convex/values").VLiteral<"rejected", "required">;
|
|
594
|
+
reason: import("convex/values").VLiteral<"policy_invalid", "required">;
|
|
595
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
596
|
+
}, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
|
|
597
|
+
reason: "provider_pending";
|
|
598
|
+
retryable: true;
|
|
599
|
+
status: "not_ready";
|
|
600
|
+
}, {
|
|
601
|
+
status: import("convex/values").VLiteral<"not_ready", "required">;
|
|
602
|
+
reason: import("convex/values").VLiteral<"provider_pending", "required">;
|
|
603
|
+
retryable: import("convex/values").VLiteral<true, "required">;
|
|
604
|
+
}, "required", "reason" | "retryable" | "status">], "optional", "enabled" | "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "reason" | "retryable" | "status">;
|
|
605
|
+
imported: import("convex/values").VObject<{
|
|
606
|
+
operation?: {
|
|
607
|
+
accountId: string;
|
|
608
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
609
|
+
scopeKey: string;
|
|
610
|
+
version: number;
|
|
611
|
+
} | undefined;
|
|
612
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
613
|
+
} | undefined, {
|
|
614
|
+
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
615
|
+
operation: import("convex/values").VObject<{
|
|
616
|
+
accountId: string;
|
|
617
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
618
|
+
scopeKey: string;
|
|
619
|
+
version: number;
|
|
620
|
+
} | undefined, {
|
|
621
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
622
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
623
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
624
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
625
|
+
}, "optional", "accountId" | "operationId" | "scopeKey" | "version">;
|
|
626
|
+
}, "optional", "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "preparationId">;
|
|
627
|
+
}, "required", "imported" | "imported.operation" | "imported.operation.accountId" | "imported.operation.operationId" | "imported.operation.scopeKey" | "imported.operation.version" | "imported.preparationId" | "payload" | "preparationId" | "requestKey" | "result" | "result.enabled" | "result.operation" | "result.operation.accountId" | "result.operation.operationId" | "result.operation.scopeKey" | "result.operation.version" | "result.reason" | "result.retryable" | "result.status">, {
|
|
628
|
+
by_request: ["requestKey", "_creationTime"];
|
|
629
|
+
}, {}, {}>;
|
|
630
|
+
export declare const safeStatus: import("convex/values").VObject<{
|
|
631
|
+
accountId: string;
|
|
632
|
+
cancelRequested: boolean;
|
|
633
|
+
failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
|
|
634
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
635
|
+
scopeKey: string;
|
|
636
|
+
state: "canceled" | "failed" | "pending" | "running" | "succeeded" | "unknown";
|
|
637
|
+
version: number;
|
|
638
|
+
}, {
|
|
639
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
640
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
641
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
642
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
643
|
+
state: import("convex/values").VUnion<"canceled" | "failed" | "pending" | "running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">, import("convex/values").VLiteral<"canceled", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
|
|
644
|
+
cancelRequested: import("convex/values").VBoolean<boolean, "required">;
|
|
645
|
+
failureCode: import("convex/values").VUnion<"invalid_scope" | "policy_invalid" | "unsupported_source" | undefined, [import("convex/values").VLiteral<"invalid_scope", "required">, import("convex/values").VLiteral<"unsupported_source", "required">, import("convex/values").VLiteral<"policy_invalid", "required">], "optional", never>;
|
|
646
|
+
}, "required", "accountId" | "cancelRequested" | "failureCode" | "operationId" | "scopeKey" | "state" | "version">;
|
|
647
|
+
export declare const invalidScope: import("convex/values").VObject<{
|
|
648
|
+
reason: "invalid_scope";
|
|
649
|
+
retryable: false;
|
|
650
|
+
status: "rejected";
|
|
651
|
+
}, {
|
|
652
|
+
status: import("convex/values").VLiteral<"rejected", "required">;
|
|
653
|
+
reason: import("convex/values").VLiteral<"invalid_scope", "required">;
|
|
654
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
655
|
+
}, "required", "reason" | "retryable" | "status">;
|
|
656
|
+
export declare const preparationLookup: import("convex/values").VUnion<{
|
|
657
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
658
|
+
retryable: false;
|
|
659
|
+
status: "conflict";
|
|
660
|
+
} | {
|
|
661
|
+
reason: "invalid_scope";
|
|
662
|
+
retryable: false;
|
|
663
|
+
status: "rejected";
|
|
664
|
+
} | {
|
|
665
|
+
operation: {
|
|
666
|
+
accountId: string;
|
|
667
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
668
|
+
scopeKey: string;
|
|
669
|
+
version: number;
|
|
670
|
+
};
|
|
671
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
672
|
+
status: "prepared";
|
|
673
|
+
stripeSubscriptionId: string;
|
|
674
|
+
} | {
|
|
675
|
+
failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
|
|
676
|
+
operation: {
|
|
677
|
+
accountId: string;
|
|
678
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
679
|
+
scopeKey: string;
|
|
680
|
+
version: number;
|
|
681
|
+
};
|
|
682
|
+
status: "canceled" | "failed" | "pending" | "running" | "unknown";
|
|
683
|
+
} | null, [import("convex/values").VObject<{
|
|
684
|
+
operation: {
|
|
685
|
+
accountId: string;
|
|
686
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
687
|
+
scopeKey: string;
|
|
688
|
+
version: number;
|
|
689
|
+
};
|
|
690
|
+
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
691
|
+
status: "prepared";
|
|
692
|
+
stripeSubscriptionId: string;
|
|
693
|
+
}, {
|
|
694
|
+
status: import("convex/values").VLiteral<"prepared", "required">;
|
|
695
|
+
operation: import("convex/values").VObject<{
|
|
696
|
+
accountId: string;
|
|
697
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
698
|
+
scopeKey: string;
|
|
699
|
+
version: number;
|
|
700
|
+
}, {
|
|
701
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
702
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
703
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
704
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
705
|
+
}, "required", "accountId" | "operationId" | "scopeKey" | "version">;
|
|
706
|
+
stripeSubscriptionId: import("convex/values").VString<string, "required">;
|
|
707
|
+
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
708
|
+
}, "required", "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "preparationId" | "status" | "stripeSubscriptionId">, import("convex/values").VObject<{
|
|
709
|
+
failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
|
|
710
|
+
operation: {
|
|
711
|
+
accountId: string;
|
|
712
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
713
|
+
scopeKey: string;
|
|
714
|
+
version: number;
|
|
715
|
+
};
|
|
716
|
+
status: "canceled" | "failed" | "pending" | "running" | "unknown";
|
|
717
|
+
}, {
|
|
718
|
+
status: import("convex/values").VUnion<"canceled" | "failed" | "pending" | "running" | "unknown", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"canceled", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
|
|
719
|
+
operation: import("convex/values").VObject<{
|
|
720
|
+
accountId: string;
|
|
721
|
+
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
722
|
+
scopeKey: string;
|
|
723
|
+
version: number;
|
|
724
|
+
}, {
|
|
725
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
726
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
727
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingOperations">, "required">;
|
|
728
|
+
version: import("convex/values").VFloat64<number, "required">;
|
|
729
|
+
}, "required", "accountId" | "operationId" | "scopeKey" | "version">;
|
|
730
|
+
failureCode: import("convex/values").VUnion<"invalid_scope" | "policy_invalid" | "unsupported_source" | undefined, [import("convex/values").VLiteral<"invalid_scope", "required">, import("convex/values").VLiteral<"unsupported_source", "required">, import("convex/values").VLiteral<"policy_invalid", "required">], "optional", never>;
|
|
731
|
+
}, "required", "failureCode" | "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "status">, import("convex/values").VObject<{
|
|
732
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
733
|
+
retryable: false;
|
|
734
|
+
status: "conflict";
|
|
735
|
+
}, {
|
|
736
|
+
status: import("convex/values").VLiteral<"conflict", "required">;
|
|
737
|
+
reason: import("convex/values").VUnion<"identity_changed" | "revision_changed" | "scope_busy", [import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"identity_changed", "required">, import("convex/values").VLiteral<"revision_changed", "required">], "required", never>;
|
|
738
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
739
|
+
}, "required", "reason" | "retryable" | "status">, import("convex/values").VObject<{
|
|
740
|
+
reason: "invalid_scope";
|
|
741
|
+
retryable: false;
|
|
742
|
+
status: "rejected";
|
|
743
|
+
}, {
|
|
744
|
+
status: import("convex/values").VLiteral<"rejected", "required">;
|
|
745
|
+
reason: import("convex/values").VLiteral<"invalid_scope", "required">;
|
|
746
|
+
retryable: import("convex/values").VLiteral<false, "required">;
|
|
747
|
+
}, "required", "reason" | "retryable" | "status">, import("convex/values").VNull<null, "required">], "required", "failureCode" | "operation" | "operation.accountId" | "operation.operationId" | "operation.scopeKey" | "operation.version" | "preparationId" | "reason" | "retryable" | "status" | "stripeSubscriptionId">;
|
|
748
|
+
//# sourceMappingURL=schema.d.ts.map
|