@fantastic.dev/better-stripe 0.100.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +18 -18
  4. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +9 -9
  5. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +18 -18
  6. package/dist/client/connect/payoutSyncTestHelpers.d.ts +9 -9
  7. package/dist/component/balanceFunding/mutations.d.ts +43 -43
  8. package/dist/component/earnings/triggers.d.ts +6 -6
  9. package/dist/component/renewalOperations/attachValidation.d.ts +19 -0
  10. package/dist/component/renewalOperations/attachValidation.d.ts.map +1 -0
  11. package/dist/component/renewalOperations/attachValidation.js +167 -0
  12. package/dist/component/renewalOperations/attachValidation.js.map +1 -0
  13. package/dist/component/renewalOperations/configureAcknowledgement.d.ts +13 -0
  14. package/dist/component/renewalOperations/configureAcknowledgement.d.ts.map +1 -0
  15. package/dist/component/renewalOperations/configureAcknowledgement.js +108 -0
  16. package/dist/component/renewalOperations/configureAcknowledgement.js.map +1 -0
  17. package/dist/component/renewalOperations/configureParent.d.ts +10 -0
  18. package/dist/component/renewalOperations/configureParent.d.ts.map +1 -0
  19. package/dist/component/renewalOperations/configureParent.js +62 -0
  20. package/dist/component/renewalOperations/configureParent.js.map +1 -0
  21. package/dist/component/renewalOperations/configureValidation.d.ts +12 -0
  22. package/dist/component/renewalOperations/configureValidation.d.ts.map +1 -0
  23. package/dist/component/renewalOperations/configureValidation.js +64 -0
  24. package/dist/component/renewalOperations/configureValidation.js.map +1 -0
  25. package/dist/component/renewalOperations/helpers.d.ts +16 -21
  26. package/dist/component/renewalOperations/helpers.d.ts.map +1 -1
  27. package/dist/component/renewalOperations/helpers.js +13 -169
  28. package/dist/component/renewalOperations/helpers.js.map +1 -1
  29. package/dist/component/renewalOperations/mutations.d.ts +6 -6
  30. package/dist/component/renewalOperations/mutations.d.ts.map +1 -1
  31. package/dist/component/renewalOperations/mutations.js +14 -7
  32. package/dist/component/renewalOperations/mutations.js.map +1 -1
  33. package/dist/component/renewalOperations/operationContext.d.ts +12 -0
  34. package/dist/component/renewalOperations/operationContext.d.ts.map +1 -0
  35. package/dist/component/renewalOperations/operationContext.js +14 -0
  36. package/dist/component/renewalOperations/operationContext.js.map +1 -0
  37. package/dist/component/renewalOperations/queries.d.ts +4 -4
  38. package/dist/component/renewalOperations/queries.js +2 -1
  39. package/dist/component/renewalOperations/queries.js.map +1 -1
  40. package/dist/component/renewalOperations/schema.d.ts +59 -59
  41. package/dist/component/renewalOperations/schema.js +3 -3
  42. package/dist/component/renewalOperations/schema.js.map +1 -1
  43. package/dist/component/renewalOperations/stageAcknowledgement.d.ts +15 -0
  44. package/dist/component/renewalOperations/stageAcknowledgement.d.ts.map +1 -0
  45. package/dist/component/renewalOperations/stageAcknowledgement.js +20 -0
  46. package/dist/component/renewalOperations/stageAcknowledgement.js.map +1 -0
  47. package/dist/component/renewalOperations/validationTypes.d.ts +9 -0
  48. package/dist/component/renewalOperations/validationTypes.d.ts.map +1 -0
  49. package/dist/component/renewalOperations/validationTypes.js +2 -0
  50. package/dist/component/renewalOperations/validationTypes.js.map +1 -0
  51. package/dist/component/schema.d.ts +9 -9
  52. package/dist/component/usage/allowance.fixtures.d.ts +9 -9
  53. package/dist/component/usageCredits/accounting.fixtures.d.ts +9 -9
  54. package/dist/shared/renewalOperationJournal.d.ts +1 -1
  55. package/dist/shared/renewalOperationJournal.d.ts.map +1 -1
  56. package/dist/shared/renewalOperationJournal.js +41 -9
  57. package/dist/shared/renewalOperationJournal.js.map +1 -1
  58. package/docs/renewal-context-reads.md +36 -8
  59. package/package.json +1 -1
  60. package/src/component/renewalOperations/attachValidation.ts +203 -0
  61. package/src/component/renewalOperations/configureAcknowledgement.test.ts +30 -0
  62. package/src/component/renewalOperations/configureAcknowledgement.ts +182 -0
  63. package/src/component/renewalOperations/configureAcknowledgementControls.test.ts +96 -0
  64. package/src/component/renewalOperations/configureBasis.test.ts +77 -0
  65. package/src/component/renewalOperations/configureCreation.test.ts +75 -0
  66. package/src/component/renewalOperations/configureJournal.fixtures.ts +385 -0
  67. package/src/component/renewalOperations/configureParent.ts +71 -0
  68. package/src/component/renewalOperations/configurePolicy.test.ts +105 -0
  69. package/src/component/renewalOperations/configurePublication.test.ts +85 -0
  70. package/src/component/renewalOperations/configureReceiptBounds.test.ts +39 -0
  71. package/src/component/renewalOperations/configureSourceControls.test.ts +65 -0
  72. package/src/component/renewalOperations/configureValidation.ts +70 -0
  73. package/src/component/renewalOperations/helpers.ts +21 -204
  74. package/src/component/renewalOperations/mutations.ts +16 -7
  75. package/src/component/renewalOperations/operationContext.ts +21 -0
  76. package/src/component/renewalOperations/queries.ts +1 -1
  77. package/src/component/renewalOperations/schema.ts +3 -3
  78. package/src/component/renewalOperations/stageAcknowledgement.ts +45 -0
  79. package/src/component/renewalOperations/validationTypes.ts +9 -0
  80. package/src/shared/renewalOperationJournal.ts +49 -8
package/CHANGELOG.md CHANGED
@@ -26,6 +26,12 @@
26
26
  - Remove internal tracker references from public documentation and add a
27
27
  regression check that prevents their reintroduction.
28
28
 
29
+ ## [0.101.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.100.0...v0.101.0) (2026-10-31)
30
+
31
+ ### Features
32
+
33
+ - retain parent-bound configure journal data ([#444](https://github.com/FantasticDevHQ/better-stripe/issues/444)) ([d497ce5](https://github.com/FantasticDevHQ/better-stripe/commit/d497ce5296c9d465de42f19494690e2eeabd933d))
34
+
29
35
  ## [0.100.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.99.0...v0.100.0) (2026-10-31)
30
36
 
31
37
  ### Features
package/README.md CHANGED
@@ -5,7 +5,7 @@ billing, and Connect marketplaces. It provides checkout, subscriptions, webhook
5
5
  syncing, marketplace fees and splits, payouts, refunds, and disputes, with React
6
6
  hooks and headless UI components.
7
7
 
8
- **Version**: `0.100.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
8
+ **Version**: `0.101.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
9
9
 
10
10
  Connect platforms use the default GA API version. Non-Connect merchants using
11
11
  customer-only Accounts v2 need preview access and an explicit preview version.
@@ -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">, {
@@ -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">, {
@@ -24,7 +24,7 @@ export declare function setup(scope?: Scope): Promise<{
24
24
  basisJSON: string;
25
25
  policyJSON: string;
26
26
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
27
- stage: "attach";
27
+ stage: "attach" | "configure";
28
28
  version: 1;
29
29
  } | undefined;
30
30
  knownAcknowledgement?: {
@@ -37,7 +37,7 @@ export declare function setup(scope?: Scope): Promise<{
37
37
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
38
38
  schemaVersion: 1;
39
39
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
40
- stage: "attach";
40
+ stage: "attach" | "configure";
41
41
  } | undefined;
42
42
  logicalOperationId: string;
43
43
  payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
@@ -52,13 +52,13 @@ export declare function setup(scope?: Scope): Promise<{
52
52
  basisJSON: string;
53
53
  policyJSON: string;
54
54
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
55
- stage: "attach";
55
+ stage: "attach" | "configure";
56
56
  version: 1;
57
57
  } | undefined, {
58
58
  version: import("convex/values").VLiteral<1, "required">;
59
59
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
60
60
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
61
- stage: import("convex/values").VLiteral<"attach", "required">;
61
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
62
62
  policyJSON: import("convex/values").VString<string, "required">;
63
63
  basisJSON: import("convex/values").VString<string, "required">;
64
64
  }, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
@@ -81,10 +81,10 @@ export declare function setup(scope?: Scope): Promise<{
81
81
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
82
82
  schemaVersion: 1;
83
83
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
84
- stage: "attach";
84
+ stage: "attach" | "configure";
85
85
  } | undefined, {
86
86
  schemaVersion: import("convex/values").VLiteral<1, "required">;
87
- stage: import("convex/values").VLiteral<"attach", "required">;
87
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
88
88
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
89
89
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
90
90
  dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
@@ -132,7 +132,7 @@ export declare function setup(scope?: Scope): Promise<{
132
132
  preparedRevision: 0;
133
133
  recordVersion: 2;
134
134
  requestBinding: string;
135
- stage: "attach";
135
+ stage: "attach" | "configure";
136
136
  timingPolicyJSON: string;
137
137
  }, [import("convex/values").VObject<{
138
138
  accountJSON: string;
@@ -187,7 +187,7 @@ export declare function setup(scope?: Scope): Promise<{
187
187
  preparedRevision: 0;
188
188
  recordVersion: 2;
189
189
  requestBinding: string;
190
- stage: "attach";
190
+ stage: "attach" | "configure";
191
191
  timingPolicyJSON: string;
192
192
  }, {
193
193
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -205,7 +205,7 @@ export declare function setup(scope?: Scope): Promise<{
205
205
  preparedRevision: import("convex/values").VLiteral<0, "required">;
206
206
  committedRevision: import("convex/values").VLiteral<1, "required">;
207
207
  recordVersion: import("convex/values").VLiteral<2, "required">;
208
- stage: import("convex/values").VLiteral<"attach", "required">;
208
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
209
209
  timingPolicyJSON: import("convex/values").VString<string, "required">;
210
210
  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>;
211
211
  }, "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">, {
@@ -22,6 +22,14 @@ export declare const begin: import("convex/server").RegisteredMutation<"public",
22
22
  requestKey: string;
23
23
  scopeKey: string;
24
24
  }, Promise<{
25
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
26
+ retryable: false;
27
+ status: "conflict";
28
+ } | {
29
+ reason: "policy_invalid";
30
+ retryable: false;
31
+ status: "rejected";
32
+ } | {
25
33
  operation: {
26
34
  accountId: string;
27
35
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -32,14 +40,6 @@ export declare const begin: import("convex/server").RegisteredMutation<"public",
32
40
  } | {
33
41
  enabled: boolean;
34
42
  status: "unchanged";
35
- } | {
36
- reason: "identity_changed" | "revision_changed" | "scope_busy";
37
- retryable: false;
38
- status: "conflict";
39
- } | {
40
- reason: "policy_invalid";
41
- retryable: false;
42
- status: "rejected";
43
43
  } | {
44
44
  reason: "provider_pending";
45
45
  retryable: true;
@@ -395,6 +395,14 @@ export declare const prepare: import("convex/server").RegisteredMutation<"public
395
395
  requestKey: string;
396
396
  scopeKey: string;
397
397
  }, Promise<{
398
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
399
+ retryable: false;
400
+ status: "conflict";
401
+ } | {
402
+ reason: "policy_invalid";
403
+ retryable: false;
404
+ status: "rejected";
405
+ } | {
398
406
  operation: {
399
407
  accountId: string;
400
408
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -405,14 +413,6 @@ export declare const prepare: import("convex/server").RegisteredMutation<"public
405
413
  } | {
406
414
  enabled: boolean;
407
415
  status: "unchanged";
408
- } | {
409
- reason: "identity_changed" | "revision_changed" | "scope_busy";
410
- retryable: false;
411
- status: "conflict";
412
- } | {
413
- reason: "policy_invalid";
414
- retryable: false;
415
- status: "rejected";
416
416
  } | {
417
417
  reason: "provider_pending";
418
418
  retryable: true;
@@ -595,6 +595,22 @@ export declare const startWorkflow: import("convex/server").RegisteredMutation<"
595
595
  } & {
596
596
  providerAction: string;
597
597
  }, Promise<{
598
+ reason: "history_incomplete" | "provider_outcome_unknown";
599
+ retryable: false;
600
+ status: "unknown";
601
+ } | {
602
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
603
+ retryable: false;
604
+ status: "conflict";
605
+ } | {
606
+ reason: "invalid_scope" | "policy_invalid" | "unsupported_source";
607
+ retryable: false;
608
+ status: "rejected";
609
+ } | {
610
+ reason: "provider_pending";
611
+ retryable: true;
612
+ status: "not_ready";
613
+ } | {
598
614
  operation: {
599
615
  accountId: string;
600
616
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -611,7 +627,16 @@ export declare const startWorkflow: import("convex/server").RegisteredMutation<"
611
627
  version: number;
612
628
  };
613
629
  status: "canceled";
614
- } | {
630
+ }>>;
631
+ export declare const resumeWorkflow: import("convex/server").RegisteredMutation<"public", {
632
+ accountId: string;
633
+ definitionVersion: string;
634
+ operationId: import("convex/values").GenericId<"balanceFundingOperations">;
635
+ providerApiVersion: string;
636
+ scopeKey: string;
637
+ stripeSubscriptionId: string;
638
+ version: number;
639
+ }, Promise<{
615
640
  reason: "history_incomplete" | "provider_outcome_unknown";
616
641
  retryable: false;
617
642
  status: "unknown";
@@ -627,16 +652,7 @@ export declare const startWorkflow: import("convex/server").RegisteredMutation<"
627
652
  reason: "provider_pending";
628
653
  retryable: true;
629
654
  status: "not_ready";
630
- }>>;
631
- export declare const resumeWorkflow: import("convex/server").RegisteredMutation<"public", {
632
- accountId: string;
633
- definitionVersion: string;
634
- operationId: import("convex/values").GenericId<"balanceFundingOperations">;
635
- providerApiVersion: string;
636
- scopeKey: string;
637
- stripeSubscriptionId: string;
638
- version: number;
639
- }, Promise<{
655
+ } | {
640
656
  operation: {
641
657
  accountId: string;
642
658
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -653,22 +669,6 @@ export declare const resumeWorkflow: import("convex/server").RegisteredMutation<
653
669
  version: number;
654
670
  };
655
671
  status: "canceled";
656
- } | {
657
- reason: "history_incomplete" | "provider_outcome_unknown";
658
- retryable: false;
659
- status: "unknown";
660
- } | {
661
- reason: "identity_changed" | "revision_changed" | "scope_busy";
662
- retryable: false;
663
- status: "conflict";
664
- } | {
665
- reason: "invalid_scope" | "policy_invalid" | "unsupported_source";
666
- retryable: false;
667
- status: "rejected";
668
- } | {
669
- reason: "provider_pending";
670
- retryable: true;
671
- status: "not_ready";
672
672
  }>>;
673
673
  export declare const cancelWorkflow: import("convex/server").RegisteredMutation<"public", {
674
674
  accountId: string;