@fantastic.dev/better-stripe 0.99.0 → 0.101.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 +12 -0
- package/README.md +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.d.ts +8 -0
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.js +27 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.d.ts +10 -0
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.js +49 -0
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.js.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts +2 -0
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js +6 -0
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.d.ts +9 -0
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.js +22 -0
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.d.ts +9 -0
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.js +27 -0
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.js.map +1 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +18 -18
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +9 -9
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +50 -50
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +25 -25
- package/dist/component/balanceFunding/queries.d.ts +1 -1
- package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
- package/dist/component/earnings/triggers.d.ts +22 -22
- package/dist/component/payoutRelease/queries.d.ts +2 -2
- package/dist/component/payoutRelease/queries.d.ts.map +1 -1
- package/dist/component/processingCostReconciliation/rollback.d.ts +1 -1
- package/dist/component/renewalOperations/attachValidation.d.ts +19 -0
- package/dist/component/renewalOperations/attachValidation.d.ts.map +1 -0
- package/dist/component/renewalOperations/attachValidation.js +167 -0
- package/dist/component/renewalOperations/attachValidation.js.map +1 -0
- package/dist/component/renewalOperations/configureAcknowledgement.d.ts +13 -0
- package/dist/component/renewalOperations/configureAcknowledgement.d.ts.map +1 -0
- package/dist/component/renewalOperations/configureAcknowledgement.js +108 -0
- package/dist/component/renewalOperations/configureAcknowledgement.js.map +1 -0
- package/dist/component/renewalOperations/configureParent.d.ts +10 -0
- package/dist/component/renewalOperations/configureParent.d.ts.map +1 -0
- package/dist/component/renewalOperations/configureParent.js +62 -0
- package/dist/component/renewalOperations/configureParent.js.map +1 -0
- package/dist/component/renewalOperations/configureValidation.d.ts +12 -0
- package/dist/component/renewalOperations/configureValidation.d.ts.map +1 -0
- package/dist/component/renewalOperations/configureValidation.js +64 -0
- package/dist/component/renewalOperations/configureValidation.js.map +1 -0
- package/dist/component/renewalOperations/helpers.d.ts +16 -21
- package/dist/component/renewalOperations/helpers.d.ts.map +1 -1
- package/dist/component/renewalOperations/helpers.js +13 -169
- package/dist/component/renewalOperations/helpers.js.map +1 -1
- package/dist/component/renewalOperations/mutations.d.ts +6 -6
- package/dist/component/renewalOperations/mutations.d.ts.map +1 -1
- package/dist/component/renewalOperations/mutations.js +14 -7
- package/dist/component/renewalOperations/mutations.js.map +1 -1
- package/dist/component/renewalOperations/operationContext.d.ts +12 -0
- package/dist/component/renewalOperations/operationContext.d.ts.map +1 -0
- package/dist/component/renewalOperations/operationContext.js +14 -0
- package/dist/component/renewalOperations/operationContext.js.map +1 -0
- package/dist/component/renewalOperations/queries.d.ts +4 -4
- package/dist/component/renewalOperations/queries.js +2 -1
- package/dist/component/renewalOperations/queries.js.map +1 -1
- package/dist/component/renewalOperations/schema.d.ts +59 -59
- package/dist/component/renewalOperations/schema.js +3 -3
- package/dist/component/renewalOperations/schema.js.map +1 -1
- package/dist/component/renewalOperations/stageAcknowledgement.d.ts +15 -0
- package/dist/component/renewalOperations/stageAcknowledgement.d.ts.map +1 -0
- package/dist/component/renewalOperations/stageAcknowledgement.js +20 -0
- package/dist/component/renewalOperations/stageAcknowledgement.js.map +1 -0
- package/dist/component/renewalOperations/validationTypes.d.ts +9 -0
- package/dist/component/renewalOperations/validationTypes.d.ts.map +1 -0
- package/dist/component/renewalOperations/validationTypes.js +2 -0
- package/dist/component/renewalOperations/validationTypes.js.map +1 -0
- package/dist/component/schema.d.ts +9 -9
- package/dist/component/usage/allowance.fixtures.d.ts +9 -9
- package/dist/component/usageCredits/accounting.fixtures.d.ts +9 -9
- package/dist/shared/renewalOperationJournal.d.ts +1 -1
- package/dist/shared/renewalOperationJournal.d.ts.map +1 -1
- package/dist/shared/renewalOperationJournal.js +41 -9
- package/dist/shared/renewalOperationJournal.js.map +1 -1
- package/docs/renewal-context-reads.md +59 -8
- package/package.json +1 -1
- package/src/client/billing/renewalAttach/internal/operations/initialAttach.ts +28 -1
- package/src/client/billing/renewalAttach/internal/producer/attachAcknowledgement.ts +65 -0
- package/src/client/billing/renewalAttach/internal/producer/invocationProducer.ts +8 -0
- package/src/client/billing/renewalAttach/internal/producer/producerAcknowledgement.integration.test.ts +320 -0
- package/src/client/billing/renewalAttach/internal/producer/producerAcknowledgementControls.integration.test.ts +411 -0
- package/src/client/billing/renewalAttach/internal/producer/recoveryEntry.ts +35 -1
- package/src/client/billing/renewalAttach/internal/recovery/recoveryActor.ts +39 -0
- package/src/component/renewalOperations/attachValidation.ts +203 -0
- package/src/component/renewalOperations/configureAcknowledgement.test.ts +30 -0
- package/src/component/renewalOperations/configureAcknowledgement.ts +182 -0
- package/src/component/renewalOperations/configureAcknowledgementControls.test.ts +96 -0
- package/src/component/renewalOperations/configureBasis.test.ts +77 -0
- package/src/component/renewalOperations/configureCreation.test.ts +75 -0
- package/src/component/renewalOperations/configureJournal.fixtures.ts +385 -0
- package/src/component/renewalOperations/configureParent.ts +71 -0
- package/src/component/renewalOperations/configurePolicy.test.ts +105 -0
- package/src/component/renewalOperations/configurePublication.test.ts +85 -0
- package/src/component/renewalOperations/configureReceiptBounds.test.ts +39 -0
- package/src/component/renewalOperations/configureSourceControls.test.ts +65 -0
- package/src/component/renewalOperations/configureValidation.ts +70 -0
- package/src/component/renewalOperations/helpers.ts +21 -204
- package/src/component/renewalOperations/mutations.ts +16 -7
- package/src/component/renewalOperations/operationContext.ts +21 -0
- package/src/component/renewalOperations/queries.ts +1 -1
- package/src/component/renewalOperations/schema.ts +3 -3
- package/src/component/renewalOperations/stageAcknowledgement.ts +45 -0
- package/src/component/renewalOperations/validationTypes.ts +9 -0
- package/src/shared/renewalOperationJournal.ts +49 -8
|
@@ -19,7 +19,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
19
19
|
basisJSON: string;
|
|
20
20
|
policyJSON: string;
|
|
21
21
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
22
|
-
stage: "attach";
|
|
22
|
+
stage: "attach" | "configure";
|
|
23
23
|
version: 1;
|
|
24
24
|
} | undefined;
|
|
25
25
|
knownAcknowledgement?: {
|
|
@@ -32,7 +32,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
32
32
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
33
33
|
schemaVersion: 1;
|
|
34
34
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
35
|
-
stage: "attach";
|
|
35
|
+
stage: "attach" | "configure";
|
|
36
36
|
} | undefined;
|
|
37
37
|
logicalOperationId: string;
|
|
38
38
|
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
@@ -47,13 +47,13 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
47
47
|
basisJSON: string;
|
|
48
48
|
policyJSON: string;
|
|
49
49
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
50
|
-
stage: "attach";
|
|
50
|
+
stage: "attach" | "configure";
|
|
51
51
|
version: 1;
|
|
52
52
|
} | undefined, {
|
|
53
53
|
version: import("convex/values").VLiteral<1, "required">;
|
|
54
54
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
55
55
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
56
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
56
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
57
57
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
58
58
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
59
59
|
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -76,10 +76,10 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
76
76
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
77
77
|
schemaVersion: 1;
|
|
78
78
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
79
|
-
stage: "attach";
|
|
79
|
+
stage: "attach" | "configure";
|
|
80
80
|
} | undefined, {
|
|
81
81
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
82
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
82
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
83
83
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
84
84
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
85
85
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -127,7 +127,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
127
127
|
preparedRevision: 0;
|
|
128
128
|
recordVersion: 2;
|
|
129
129
|
requestBinding: string;
|
|
130
|
-
stage: "attach";
|
|
130
|
+
stage: "attach" | "configure";
|
|
131
131
|
timingPolicyJSON: string;
|
|
132
132
|
}, [import("convex/values").VObject<{
|
|
133
133
|
accountJSON: string;
|
|
@@ -182,7 +182,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
182
182
|
preparedRevision: 0;
|
|
183
183
|
recordVersion: 2;
|
|
184
184
|
requestBinding: string;
|
|
185
|
-
stage: "attach";
|
|
185
|
+
stage: "attach" | "configure";
|
|
186
186
|
timingPolicyJSON: string;
|
|
187
187
|
}, {
|
|
188
188
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -200,7 +200,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
200
200
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
201
201
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
202
202
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
203
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
203
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
204
204
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
205
205
|
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
206
206
|
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">, {
|
|
@@ -5155,7 +5155,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
5155
5155
|
basisJSON: string;
|
|
5156
5156
|
policyJSON: string;
|
|
5157
5157
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5158
|
-
stage: "attach";
|
|
5158
|
+
stage: "attach" | "configure";
|
|
5159
5159
|
version: 1;
|
|
5160
5160
|
} | undefined;
|
|
5161
5161
|
knownAcknowledgement?: {
|
|
@@ -5168,7 +5168,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
5168
5168
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5169
5169
|
schemaVersion: 1;
|
|
5170
5170
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5171
|
-
stage: "attach";
|
|
5171
|
+
stage: "attach" | "configure";
|
|
5172
5172
|
} | undefined;
|
|
5173
5173
|
logicalOperationId: string;
|
|
5174
5174
|
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
@@ -5183,13 +5183,13 @@ export declare function historical(currency?: string): Promise<{
|
|
|
5183
5183
|
basisJSON: string;
|
|
5184
5184
|
policyJSON: string;
|
|
5185
5185
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5186
|
-
stage: "attach";
|
|
5186
|
+
stage: "attach" | "configure";
|
|
5187
5187
|
version: 1;
|
|
5188
5188
|
} | undefined, {
|
|
5189
5189
|
version: import("convex/values").VLiteral<1, "required">;
|
|
5190
5190
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5191
5191
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5192
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5192
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5193
5193
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
5194
5194
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
5195
5195
|
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -5212,10 +5212,10 @@ export declare function historical(currency?: string): Promise<{
|
|
|
5212
5212
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5213
5213
|
schemaVersion: 1;
|
|
5214
5214
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5215
|
-
stage: "attach";
|
|
5215
|
+
stage: "attach" | "configure";
|
|
5216
5216
|
} | undefined, {
|
|
5217
5217
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
5218
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5218
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5219
5219
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5220
5220
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5221
5221
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -5263,7 +5263,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
5263
5263
|
preparedRevision: 0;
|
|
5264
5264
|
recordVersion: 2;
|
|
5265
5265
|
requestBinding: string;
|
|
5266
|
-
stage: "attach";
|
|
5266
|
+
stage: "attach" | "configure";
|
|
5267
5267
|
timingPolicyJSON: string;
|
|
5268
5268
|
}, [import("convex/values").VObject<{
|
|
5269
5269
|
accountJSON: string;
|
|
@@ -5318,7 +5318,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
5318
5318
|
preparedRevision: 0;
|
|
5319
5319
|
recordVersion: 2;
|
|
5320
5320
|
requestBinding: string;
|
|
5321
|
-
stage: "attach";
|
|
5321
|
+
stage: "attach" | "configure";
|
|
5322
5322
|
timingPolicyJSON: string;
|
|
5323
5323
|
}, {
|
|
5324
5324
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -5336,7 +5336,7 @@ export declare function historical(currency?: string): Promise<{
|
|
|
5336
5336
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
5337
5337
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
5338
5338
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
5339
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5339
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5340
5340
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
5341
5341
|
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
5342
5342
|
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">, {
|
|
@@ -20,7 +20,7 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
20
20
|
basisJSON: string;
|
|
21
21
|
policyJSON: string;
|
|
22
22
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
23
|
-
stage: "attach";
|
|
23
|
+
stage: "attach" | "configure";
|
|
24
24
|
version: 1;
|
|
25
25
|
} | undefined;
|
|
26
26
|
knownAcknowledgement?: {
|
|
@@ -33,7 +33,7 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
33
33
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
34
34
|
schemaVersion: 1;
|
|
35
35
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
36
|
-
stage: "attach";
|
|
36
|
+
stage: "attach" | "configure";
|
|
37
37
|
} | undefined;
|
|
38
38
|
logicalOperationId: string;
|
|
39
39
|
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
@@ -48,13 +48,13 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
48
48
|
basisJSON: string;
|
|
49
49
|
policyJSON: string;
|
|
50
50
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
51
|
-
stage: "attach";
|
|
51
|
+
stage: "attach" | "configure";
|
|
52
52
|
version: 1;
|
|
53
53
|
} | undefined, {
|
|
54
54
|
version: import("convex/values").VLiteral<1, "required">;
|
|
55
55
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
56
56
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
57
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
57
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
58
58
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
59
59
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
60
60
|
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -77,10 +77,10 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
77
77
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
78
78
|
schemaVersion: 1;
|
|
79
79
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
80
|
-
stage: "attach";
|
|
80
|
+
stage: "attach" | "configure";
|
|
81
81
|
} | undefined, {
|
|
82
82
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
83
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
83
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
84
84
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
85
85
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
86
86
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -128,7 +128,7 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
128
128
|
preparedRevision: 0;
|
|
129
129
|
recordVersion: 2;
|
|
130
130
|
requestBinding: string;
|
|
131
|
-
stage: "attach";
|
|
131
|
+
stage: "attach" | "configure";
|
|
132
132
|
timingPolicyJSON: string;
|
|
133
133
|
}, [import("convex/values").VObject<{
|
|
134
134
|
accountJSON: string;
|
|
@@ -183,7 +183,7 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
183
183
|
preparedRevision: 0;
|
|
184
184
|
recordVersion: 2;
|
|
185
185
|
requestBinding: string;
|
|
186
|
-
stage: "attach";
|
|
186
|
+
stage: "attach" | "configure";
|
|
187
187
|
timingPolicyJSON: string;
|
|
188
188
|
}, {
|
|
189
189
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -201,7 +201,7 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
201
201
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
202
202
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
203
203
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
204
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
204
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
205
205
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
206
206
|
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
207
207
|
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">, {
|
|
@@ -10,7 +10,7 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
10
10
|
basisJSON: string;
|
|
11
11
|
policyJSON: string;
|
|
12
12
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
13
|
-
stage: "attach";
|
|
13
|
+
stage: "attach" | "configure";
|
|
14
14
|
version: 1;
|
|
15
15
|
} | undefined;
|
|
16
16
|
knownAcknowledgement?: {
|
|
@@ -23,7 +23,7 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
23
23
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
24
24
|
schemaVersion: 1;
|
|
25
25
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
26
|
-
stage: "attach";
|
|
26
|
+
stage: "attach" | "configure";
|
|
27
27
|
} | undefined;
|
|
28
28
|
logicalOperationId: string;
|
|
29
29
|
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
@@ -38,13 +38,13 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
38
38
|
basisJSON: string;
|
|
39
39
|
policyJSON: string;
|
|
40
40
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
41
|
-
stage: "attach";
|
|
41
|
+
stage: "attach" | "configure";
|
|
42
42
|
version: 1;
|
|
43
43
|
} | undefined, {
|
|
44
44
|
version: import("convex/values").VLiteral<1, "required">;
|
|
45
45
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
46
46
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
47
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
47
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
48
48
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
49
49
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
50
50
|
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -67,10 +67,10 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
67
67
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
68
68
|
schemaVersion: 1;
|
|
69
69
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
70
|
-
stage: "attach";
|
|
70
|
+
stage: "attach" | "configure";
|
|
71
71
|
} | undefined, {
|
|
72
72
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
73
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
73
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
74
74
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
75
75
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
76
76
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -118,7 +118,7 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
118
118
|
preparedRevision: 0;
|
|
119
119
|
recordVersion: 2;
|
|
120
120
|
requestBinding: string;
|
|
121
|
-
stage: "attach";
|
|
121
|
+
stage: "attach" | "configure";
|
|
122
122
|
timingPolicyJSON: string;
|
|
123
123
|
}, [import("convex/values").VObject<{
|
|
124
124
|
accountJSON: string;
|
|
@@ -173,7 +173,7 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
173
173
|
preparedRevision: 0;
|
|
174
174
|
recordVersion: 2;
|
|
175
175
|
requestBinding: string;
|
|
176
|
-
stage: "attach";
|
|
176
|
+
stage: "attach" | "configure";
|
|
177
177
|
timingPolicyJSON: string;
|
|
178
178
|
}, {
|
|
179
179
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -191,7 +191,7 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
191
191
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
192
192
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
193
193
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
194
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
194
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
195
195
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
196
196
|
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
197
197
|
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">, {
|
|
@@ -2632,6 +2632,14 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
2632
2632
|
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
2633
2633
|
requestKey: string;
|
|
2634
2634
|
result?: {
|
|
2635
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
2636
|
+
retryable: false;
|
|
2637
|
+
status: "conflict";
|
|
2638
|
+
} | {
|
|
2639
|
+
reason: "policy_invalid";
|
|
2640
|
+
retryable: false;
|
|
2641
|
+
status: "rejected";
|
|
2642
|
+
} | {
|
|
2635
2643
|
operation: {
|
|
2636
2644
|
accountId: string;
|
|
2637
2645
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -2642,14 +2650,6 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
2642
2650
|
} | {
|
|
2643
2651
|
enabled: boolean;
|
|
2644
2652
|
status: "unchanged";
|
|
2645
|
-
} | {
|
|
2646
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
2647
|
-
retryable: false;
|
|
2648
|
-
status: "conflict";
|
|
2649
|
-
} | {
|
|
2650
|
-
reason: "policy_invalid";
|
|
2651
|
-
retryable: false;
|
|
2652
|
-
status: "rejected";
|
|
2653
2653
|
} | {
|
|
2654
2654
|
reason: "provider_pending";
|
|
2655
2655
|
retryable: true;
|
|
@@ -2660,6 +2660,14 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
2660
2660
|
payload: import("convex/values").VString<string, "required">;
|
|
2661
2661
|
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
2662
2662
|
result: import("convex/values").VUnion<{
|
|
2663
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
2664
|
+
retryable: false;
|
|
2665
|
+
status: "conflict";
|
|
2666
|
+
} | {
|
|
2667
|
+
reason: "policy_invalid";
|
|
2668
|
+
retryable: false;
|
|
2669
|
+
status: "rejected";
|
|
2670
|
+
} | {
|
|
2663
2671
|
operation: {
|
|
2664
2672
|
accountId: string;
|
|
2665
2673
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -2670,14 +2678,6 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
2670
2678
|
} | {
|
|
2671
2679
|
enabled: boolean;
|
|
2672
2680
|
status: "unchanged";
|
|
2673
|
-
} | {
|
|
2674
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
2675
|
-
retryable: false;
|
|
2676
|
-
status: "conflict";
|
|
2677
|
-
} | {
|
|
2678
|
-
reason: "policy_invalid";
|
|
2679
|
-
retryable: false;
|
|
2680
|
-
status: "rejected";
|
|
2681
2681
|
} | {
|
|
2682
2682
|
reason: "provider_pending";
|
|
2683
2683
|
retryable: true;
|
|
@@ -5147,7 +5147,7 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
5147
5147
|
basisJSON: string;
|
|
5148
5148
|
policyJSON: string;
|
|
5149
5149
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5150
|
-
stage: "attach";
|
|
5150
|
+
stage: "attach" | "configure";
|
|
5151
5151
|
version: 1;
|
|
5152
5152
|
} | undefined;
|
|
5153
5153
|
knownAcknowledgement?: {
|
|
@@ -5160,7 +5160,7 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
5160
5160
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5161
5161
|
schemaVersion: 1;
|
|
5162
5162
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5163
|
-
stage: "attach";
|
|
5163
|
+
stage: "attach" | "configure";
|
|
5164
5164
|
} | undefined;
|
|
5165
5165
|
logicalOperationId: string;
|
|
5166
5166
|
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
@@ -5175,13 +5175,13 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
5175
5175
|
basisJSON: string;
|
|
5176
5176
|
policyJSON: string;
|
|
5177
5177
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5178
|
-
stage: "attach";
|
|
5178
|
+
stage: "attach" | "configure";
|
|
5179
5179
|
version: 1;
|
|
5180
5180
|
} | undefined, {
|
|
5181
5181
|
version: import("convex/values").VLiteral<1, "required">;
|
|
5182
5182
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5183
5183
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5184
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5184
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5185
5185
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
5186
5186
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
5187
5187
|
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -5204,10 +5204,10 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
5204
5204
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5205
5205
|
schemaVersion: 1;
|
|
5206
5206
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5207
|
-
stage: "attach";
|
|
5207
|
+
stage: "attach" | "configure";
|
|
5208
5208
|
} | undefined, {
|
|
5209
5209
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
5210
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5210
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5211
5211
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5212
5212
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5213
5213
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -5255,7 +5255,7 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
5255
5255
|
preparedRevision: 0;
|
|
5256
5256
|
recordVersion: 2;
|
|
5257
5257
|
requestBinding: string;
|
|
5258
|
-
stage: "attach";
|
|
5258
|
+
stage: "attach" | "configure";
|
|
5259
5259
|
timingPolicyJSON: string;
|
|
5260
5260
|
}, [import("convex/values").VObject<{
|
|
5261
5261
|
accountJSON: string;
|
|
@@ -5310,7 +5310,7 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
5310
5310
|
preparedRevision: 0;
|
|
5311
5311
|
recordVersion: 2;
|
|
5312
5312
|
requestBinding: string;
|
|
5313
|
-
stage: "attach";
|
|
5313
|
+
stage: "attach" | "configure";
|
|
5314
5314
|
timingPolicyJSON: string;
|
|
5315
5315
|
}, {
|
|
5316
5316
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -5328,7 +5328,7 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
5328
5328
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
5329
5329
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
5330
5330
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
5331
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5331
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5332
5332
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
5333
5333
|
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
5334
5334
|
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">, {
|
|
@@ -7769,6 +7769,14 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
7769
7769
|
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
7770
7770
|
requestKey: string;
|
|
7771
7771
|
result?: {
|
|
7772
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
7773
|
+
retryable: false;
|
|
7774
|
+
status: "conflict";
|
|
7775
|
+
} | {
|
|
7776
|
+
reason: "policy_invalid";
|
|
7777
|
+
retryable: false;
|
|
7778
|
+
status: "rejected";
|
|
7779
|
+
} | {
|
|
7772
7780
|
operation: {
|
|
7773
7781
|
accountId: string;
|
|
7774
7782
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -7779,14 +7787,6 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
7779
7787
|
} | {
|
|
7780
7788
|
enabled: boolean;
|
|
7781
7789
|
status: "unchanged";
|
|
7782
|
-
} | {
|
|
7783
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
7784
|
-
retryable: false;
|
|
7785
|
-
status: "conflict";
|
|
7786
|
-
} | {
|
|
7787
|
-
reason: "policy_invalid";
|
|
7788
|
-
retryable: false;
|
|
7789
|
-
status: "rejected";
|
|
7790
7790
|
} | {
|
|
7791
7791
|
reason: "provider_pending";
|
|
7792
7792
|
retryable: true;
|
|
@@ -7797,6 +7797,14 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
7797
7797
|
payload: import("convex/values").VString<string, "required">;
|
|
7798
7798
|
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
7799
7799
|
result: import("convex/values").VUnion<{
|
|
7800
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
7801
|
+
retryable: false;
|
|
7802
|
+
status: "conflict";
|
|
7803
|
+
} | {
|
|
7804
|
+
reason: "policy_invalid";
|
|
7805
|
+
retryable: false;
|
|
7806
|
+
status: "rejected";
|
|
7807
|
+
} | {
|
|
7800
7808
|
operation: {
|
|
7801
7809
|
accountId: string;
|
|
7802
7810
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -7807,14 +7815,6 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
|
7807
7815
|
} | {
|
|
7808
7816
|
enabled: boolean;
|
|
7809
7817
|
status: "unchanged";
|
|
7810
|
-
} | {
|
|
7811
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
7812
|
-
retryable: false;
|
|
7813
|
-
status: "conflict";
|
|
7814
|
-
} | {
|
|
7815
|
-
reason: "policy_invalid";
|
|
7816
|
-
retryable: false;
|
|
7817
|
-
status: "rejected";
|
|
7818
7818
|
} | {
|
|
7819
7819
|
reason: "provider_pending";
|
|
7820
7820
|
retryable: true;
|