@fantastic.dev/better-stripe 0.100.0 → 0.102.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 (119) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts +2 -0
  4. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts.map +1 -1
  5. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js +16 -0
  6. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js.map +1 -1
  7. package/dist/client/billing/renewalAttach/internal/producer/configureAdmission.d.ts +7 -0
  8. package/dist/client/billing/renewalAttach/internal/producer/configureAdmission.d.ts.map +1 -0
  9. package/dist/client/billing/renewalAttach/internal/producer/configureAdmission.js +117 -0
  10. package/dist/client/billing/renewalAttach/internal/producer/configureAdmission.js.map +1 -0
  11. package/dist/client/billing/renewalAttach/internal/producer/configureJournalData.d.ts +53 -0
  12. package/dist/client/billing/renewalAttach/internal/producer/configureJournalData.d.ts.map +1 -0
  13. package/dist/client/billing/renewalAttach/internal/producer/configureJournalData.js +198 -0
  14. package/dist/client/billing/renewalAttach/internal/producer/configureJournalData.js.map +1 -0
  15. package/dist/client/billing/renewalAttach/internal/producer/configureLineage.d.ts +959 -0
  16. package/dist/client/billing/renewalAttach/internal/producer/configureLineage.d.ts.map +1 -0
  17. package/dist/client/billing/renewalAttach/internal/producer/configureLineage.js +115 -0
  18. package/dist/client/billing/renewalAttach/internal/producer/configureLineage.js.map +1 -0
  19. package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts +2 -0
  20. package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts.map +1 -1
  21. package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js +4 -0
  22. package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js.map +1 -1
  23. package/dist/client/billing/renewalAttach/internal/producer/lineageAuthority.d.ts +1 -0
  24. package/dist/client/billing/renewalAttach/internal/producer/lineageAuthority.d.ts.map +1 -1
  25. package/dist/client/billing/renewalAttach/internal/producer/lineageAuthority.js +1 -0
  26. package/dist/client/billing/renewalAttach/internal/producer/lineageAuthority.js.map +1 -1
  27. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +18 -18
  28. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +9 -9
  29. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +50 -50
  30. package/dist/client/connect/payoutSyncTestHelpers.d.ts +25 -25
  31. package/dist/component/balanceFunding/mutations.d.ts +27 -27
  32. package/dist/component/balanceFunding/queries.d.ts +1 -1
  33. package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
  34. package/dist/component/earnings/triggers.d.ts +22 -22
  35. package/dist/component/payoutRelease/queries.d.ts +2 -2
  36. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  37. package/dist/component/processingCostReconciliation/rollback.d.ts +1 -1
  38. package/dist/component/renewalOperations/attachValidation.d.ts +19 -0
  39. package/dist/component/renewalOperations/attachValidation.d.ts.map +1 -0
  40. package/dist/component/renewalOperations/attachValidation.js +167 -0
  41. package/dist/component/renewalOperations/attachValidation.js.map +1 -0
  42. package/dist/component/renewalOperations/configureAcknowledgement.d.ts +13 -0
  43. package/dist/component/renewalOperations/configureAcknowledgement.d.ts.map +1 -0
  44. package/dist/component/renewalOperations/configureAcknowledgement.js +108 -0
  45. package/dist/component/renewalOperations/configureAcknowledgement.js.map +1 -0
  46. package/dist/component/renewalOperations/configureParent.d.ts +10 -0
  47. package/dist/component/renewalOperations/configureParent.d.ts.map +1 -0
  48. package/dist/component/renewalOperations/configureParent.js +62 -0
  49. package/dist/component/renewalOperations/configureParent.js.map +1 -0
  50. package/dist/component/renewalOperations/configureValidation.d.ts +12 -0
  51. package/dist/component/renewalOperations/configureValidation.d.ts.map +1 -0
  52. package/dist/component/renewalOperations/configureValidation.js +64 -0
  53. package/dist/component/renewalOperations/configureValidation.js.map +1 -0
  54. package/dist/component/renewalOperations/helpers.d.ts +16 -21
  55. package/dist/component/renewalOperations/helpers.d.ts.map +1 -1
  56. package/dist/component/renewalOperations/helpers.js +13 -169
  57. package/dist/component/renewalOperations/helpers.js.map +1 -1
  58. package/dist/component/renewalOperations/mutations.d.ts +6 -6
  59. package/dist/component/renewalOperations/mutations.d.ts.map +1 -1
  60. package/dist/component/renewalOperations/mutations.js +14 -7
  61. package/dist/component/renewalOperations/mutations.js.map +1 -1
  62. package/dist/component/renewalOperations/operationContext.d.ts +12 -0
  63. package/dist/component/renewalOperations/operationContext.d.ts.map +1 -0
  64. package/dist/component/renewalOperations/operationContext.js +14 -0
  65. package/dist/component/renewalOperations/operationContext.js.map +1 -0
  66. package/dist/component/renewalOperations/queries.d.ts +4 -4
  67. package/dist/component/renewalOperations/queries.js +2 -1
  68. package/dist/component/renewalOperations/queries.js.map +1 -1
  69. package/dist/component/renewalOperations/schema.d.ts +59 -59
  70. package/dist/component/renewalOperations/schema.js +3 -3
  71. package/dist/component/renewalOperations/schema.js.map +1 -1
  72. package/dist/component/renewalOperations/stageAcknowledgement.d.ts +15 -0
  73. package/dist/component/renewalOperations/stageAcknowledgement.d.ts.map +1 -0
  74. package/dist/component/renewalOperations/stageAcknowledgement.js +20 -0
  75. package/dist/component/renewalOperations/stageAcknowledgement.js.map +1 -0
  76. package/dist/component/renewalOperations/validationTypes.d.ts +9 -0
  77. package/dist/component/renewalOperations/validationTypes.d.ts.map +1 -0
  78. package/dist/component/renewalOperations/validationTypes.js +2 -0
  79. package/dist/component/renewalOperations/validationTypes.js.map +1 -0
  80. package/dist/component/schema.d.ts +9 -9
  81. package/dist/component/usage/allowance.fixtures.d.ts +25 -25
  82. package/dist/component/usageCredits/accounting.fixtures.d.ts +9 -9
  83. package/dist/shared/renewalOperationJournal.d.ts +1 -1
  84. package/dist/shared/renewalOperationJournal.d.ts.map +1 -1
  85. package/dist/shared/renewalOperationJournal.js +41 -9
  86. package/dist/shared/renewalOperationJournal.js.map +1 -1
  87. package/docs/renewal-context-reads.md +81 -11
  88. package/package.json +1 -1
  89. package/src/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.ts +21 -0
  90. package/src/client/billing/renewalAttach/internal/producer/configureAdmission.ts +179 -0
  91. package/src/client/billing/renewalAttach/internal/producer/configureJournalData.ts +248 -0
  92. package/src/client/billing/renewalAttach/internal/producer/configureLineage.ts +166 -0
  93. package/src/client/billing/renewalAttach/internal/producer/invocationProducer.ts +13 -0
  94. package/src/client/billing/renewalAttach/internal/producer/lineageAuthority.ts +2 -0
  95. package/src/client/billing/renewalAttach/internal/producer/producerConfigureAdmission.integration.test.ts +203 -0
  96. package/src/client/billing/renewalAttach/internal/producer/producerConfigureControls.integration.test.ts +566 -0
  97. package/src/client/billing/renewalAttach/internal/test-fixtures/producerConfigureAdmission.ts +316 -0
  98. package/src/client/billing/renewalAttach/internal/test-fixtures/producerInitialOperation.ts +61 -3
  99. package/src/component/renewalOperations/attachValidation.ts +203 -0
  100. package/src/component/renewalOperations/configureAcknowledgement.test.ts +30 -0
  101. package/src/component/renewalOperations/configureAcknowledgement.ts +182 -0
  102. package/src/component/renewalOperations/configureAcknowledgementControls.test.ts +96 -0
  103. package/src/component/renewalOperations/configureBasis.test.ts +77 -0
  104. package/src/component/renewalOperations/configureCreation.test.ts +75 -0
  105. package/src/component/renewalOperations/configureJournal.fixtures.ts +385 -0
  106. package/src/component/renewalOperations/configureParent.ts +71 -0
  107. package/src/component/renewalOperations/configurePolicy.test.ts +105 -0
  108. package/src/component/renewalOperations/configurePublication.test.ts +85 -0
  109. package/src/component/renewalOperations/configureReceiptBounds.test.ts +39 -0
  110. package/src/component/renewalOperations/configureSourceControls.test.ts +65 -0
  111. package/src/component/renewalOperations/configureValidation.ts +70 -0
  112. package/src/component/renewalOperations/helpers.ts +21 -204
  113. package/src/component/renewalOperations/mutations.ts +16 -7
  114. package/src/component/renewalOperations/operationContext.ts +21 -0
  115. package/src/component/renewalOperations/queries.ts +1 -1
  116. package/src/component/renewalOperations/schema.ts +3 -3
  117. package/src/component/renewalOperations/stageAcknowledgement.ts +45 -0
  118. package/src/component/renewalOperations/validationTypes.ts +9 -0
  119. package/src/shared/renewalOperationJournal.ts +49 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationContext.d.ts","sourceRoot":"","sources":["../../../src/component/renewalOperations/operationContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAKxD,6EAA6E;AAC7E,wBAAsB,oBAAoB,CACxC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EACzB,GAAG,EAAE,GAAG,CAAC,mBAAmB,CAAC;;;;;;;IAW9B"}
@@ -0,0 +1,14 @@
1
+ import { originalRecord } from "./helpers.js";
2
+ import { configureConflict } from "./configureValidation.js";
3
+ import { validateConfigureParent } from "./configureParent.js";
4
+ /** Full source and parent checks for every stored operation API boundary. */
5
+ export async function readCheckedOperation(ctx, row) {
6
+ const full = await originalRecord(ctx, row);
7
+ const parent = await validateConfigureParent(ctx, full);
8
+ if (parent &&
9
+ row.initialBasis &&
10
+ row.initialBasis.basisJSON !== parent.basisJSON)
11
+ configureConflict();
12
+ return full;
13
+ }
14
+ //# sourceMappingURL=operationContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationContext.js","sourceRoot":"","sources":["../../../src/component/renewalOperations/operationContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,6EAA6E;AAC7E,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,GAAyB,EACzB,GAA6B;IAE7B,MAAM,IAAI,GAAG,MAAM,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC5C,MAAM,MAAM,GAAG,MAAM,uBAAuB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACxD,IACE,MAAM;QACN,GAAG,CAAC,YAAY;QAChB,GAAG,CAAC,YAAY,CAAC,SAAS,KAAK,MAAM,CAAC,SAAS;QAE/C,iBAAiB,EAAE,CAAC;IACtB,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -14,11 +14,11 @@ export declare const loadAuthorizedOperation: import("convex/server").Registered
14
14
  recordJSON: string;
15
15
  revision: 1;
16
16
  activeAttempt: {
17
+ stage: "attach" | "configure";
17
18
  key: string;
18
19
  apiVersion: string;
19
20
  firstDispatchedAt: number;
20
21
  accountJSON: string;
21
- stage: "attach";
22
22
  recordVersion: 2;
23
23
  timingPolicyJSON: string;
24
24
  operationId: import("convex/values").GenericId<"renewalOperations">;
@@ -38,7 +38,7 @@ export declare const loadAuthorizedOperation: import("convex/server").Registered
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
  } | null;
44
44
  } | {
@@ -74,11 +74,11 @@ export declare const readAttempt: import("convex/server").RegisteredQuery<"publi
74
74
  operationId: import("convex/values").GenericId<"renewalOperations">;
75
75
  }, Promise<{
76
76
  reservation: {
77
+ stage: "attach" | "configure";
77
78
  key: string;
78
79
  apiVersion: string;
79
80
  firstDispatchedAt: number;
80
81
  accountJSON: string;
81
- stage: "attach";
82
82
  recordVersion: 2;
83
83
  timingPolicyJSON: string;
84
84
  operationId: import("convex/values").GenericId<"renewalOperations">;
@@ -156,7 +156,7 @@ export declare const readProviderAcknowledgement: import("convex/server").Regist
156
156
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
157
157
  schemaVersion: 1;
158
158
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
159
- stage: "attach";
159
+ stage: "attach" | "configure";
160
160
  };
161
161
  receiptJSON: string;
162
162
  } | null>>;
@@ -1,6 +1,7 @@
1
+ import { readCheckedOperation as originalRecord } from "./operationContext.js";
1
2
  import { v } from "convex/values";
2
3
  import { query } from "../_generated/server.js";
3
- import { originalRecord, currentReservation, eventChain, validateAttachAcknowledgement, validateKnownAcknowledgement, validateV2KnownAcknowledgement, } from "./helpers.js";
4
+ import { currentReservation, eventChain, validateAttachAcknowledgement, validateKnownAcknowledgement, validateV2KnownAcknowledgement, } from "./helpers.js";
4
5
  import { loadedResult, attemptResult, providerAcknowledgementReadResult, } from "./schema.js";
5
6
  /** Full immutable DATA, not a dispatch or Owner capability. */
6
7
  export const loadAuthorizedOperation = query({
@@ -1 +1 @@
1
- {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../src/component/renewalOperations/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,YAAY,EACZ,aAAa,EACb,iCAAiC,GAClC,MAAM,aAAa,CAAC;AAErB,+DAA+D;AAC/D,MAAM,CAAC,MAAM,uBAAuB,GAAG,KAAK,CAAC;IAC3C,IAAI,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,EAAE;IAChD,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC3B,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,mBAAmB,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QACpE,IAA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AAI,CAAC;gBAChC,OAAO;oBACL,SAAS,EAAE;wBACT,MAAM,EAAE,UAAmB;wBAC3B,WAAW;wBACX,GAAG,KAAK,CAAC,QAAQ;qBAClB;oBACD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,WAAW;iBACxC,CAAC;YACJ,CAAC;YACD,IAAI,GAAG,CAAC,oBAAoB,KAAK,SAAS;gBAAE,OAAO,IAAI,CAAC;YACxD,IAAI,WAAW,CAAC,KAAK,KAAK,QAAQ;gBAChC,MAAM,KAAK,CAAC,0BAA0B,CAAC,CAAC;YAC1C,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAC9B,0BAA0B,EAC1B,GAAG,CAAC,oBAAoB,CAAC,gBAAgB,CAC1C,CAAC;YACF,IAAI,CAAC,OAAO;gBAAE,MAAM,KAAK,CAAC,0BAA0B,CAAC,CAAC;YACtD,MAAM,QAAQ,GAAG,MAAM,6BAA6B,CAClD,IAAI,EACJ,WAAW,EACX,MAAM,EACN,OAAO,CAAC,IAAI,CACb,CAAC;YACF,MAAM,QAAQ,GAAG,MAAM,4BAA4B,CACjD,GAAG,EACH,GAAG,EACH,WAAW,EACX,MAAM,EACN,QAAQ,CACT,CAAC;YACF,IAAI,QAAQ,KAAK,IAAI;gBAAE,MAAM,KAAK,CAAC,0BAA0B,CAAC,CAAC;YAC/D,OAAO;gBACL,SAAS,EAAE,EAAE,MAAM,EAAE,UAAmB,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE;gBACpE,WAAW,EAAE,QAAQ,CAAC,WAAW;aAClC,CAAC;QACJ,CAAC;QAAC,MAAM,CAAC;YACP,MAAM,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
@@ -75,10 +75,10 @@ export declare const knownAcknowledgement: import("convex/values").VObject<{
75
75
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
76
76
  schemaVersion: 1;
77
77
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
78
- stage: "attach";
78
+ stage: "attach" | "configure";
79
79
  }, {
80
80
  schemaVersion: import("convex/values").VLiteral<1, "required">;
81
- stage: import("convex/values").VLiteral<"attach", "required">;
81
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
82
82
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
83
83
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
84
84
  dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
@@ -105,11 +105,11 @@ export declare const retentionReceipt: import("convex/values").VObject<{
105
105
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
106
106
  schemaVersion: 1;
107
107
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
108
- stage: "attach";
108
+ stage: "attach" | "configure";
109
109
  status: "retained";
110
110
  }, {
111
111
  schemaVersion: import("convex/values").VLiteral<1, "required">;
112
- stage: import("convex/values").VLiteral<"attach", "required">;
112
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
113
113
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
114
114
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
115
115
  dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
@@ -135,7 +135,7 @@ export declare const providerAcknowledgementReadResult: import("convex/values").
135
135
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
136
136
  schemaVersion: 1;
137
137
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
138
- stage: "attach";
138
+ stage: "attach" | "configure";
139
139
  status: "retained";
140
140
  };
141
141
  } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
@@ -151,7 +151,7 @@ export declare const providerAcknowledgementReadResult: import("convex/values").
151
151
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
152
152
  schemaVersion: 1;
153
153
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
154
- stage: "attach";
154
+ stage: "attach" | "configure";
155
155
  status: "retained";
156
156
  };
157
157
  }, {
@@ -166,11 +166,11 @@ export declare const providerAcknowledgementReadResult: import("convex/values").
166
166
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
167
167
  schemaVersion: 1;
168
168
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
169
- stage: "attach";
169
+ stage: "attach" | "configure";
170
170
  status: "retained";
171
171
  }, {
172
172
  schemaVersion: import("convex/values").VLiteral<1, "required">;
173
- stage: import("convex/values").VLiteral<"attach", "required">;
173
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
174
174
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
175
175
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
176
176
  dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
@@ -190,13 +190,13 @@ export declare const initialBasisDescriptor: import("convex/values").VObject<{
190
190
  basisJSON: string;
191
191
  policyJSON: string;
192
192
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
193
- stage: "attach";
193
+ stage: "attach" | "configure";
194
194
  version: 1;
195
195
  }, {
196
196
  version: import("convex/values").VLiteral<1, "required">;
197
197
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
198
198
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
199
- stage: import("convex/values").VLiteral<"attach", "required">;
199
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
200
200
  policyJSON: import("convex/values").VString<string, "required">;
201
201
  basisJSON: import("convex/values").VString<string, "required">;
202
202
  }, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
@@ -210,7 +210,7 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
210
210
  basisJSON: string;
211
211
  policyJSON: string;
212
212
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
213
- stage: "attach";
213
+ stage: "attach" | "configure";
214
214
  version: 1;
215
215
  } | undefined;
216
216
  knownAcknowledgement?: {
@@ -223,7 +223,7 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
223
223
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
224
224
  schemaVersion: 1;
225
225
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
226
- stage: "attach";
226
+ stage: "attach" | "configure";
227
227
  } | undefined;
228
228
  logicalOperationId: string;
229
229
  payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
@@ -238,13 +238,13 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
238
238
  basisJSON: string;
239
239
  policyJSON: string;
240
240
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
241
- stage: "attach";
241
+ stage: "attach" | "configure";
242
242
  version: 1;
243
243
  } | undefined, {
244
244
  version: import("convex/values").VLiteral<1, "required">;
245
245
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
246
246
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
247
- stage: import("convex/values").VLiteral<"attach", "required">;
247
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
248
248
  policyJSON: import("convex/values").VString<string, "required">;
249
249
  basisJSON: import("convex/values").VString<string, "required">;
250
250
  }, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
@@ -267,10 +267,10 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
267
267
  responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
268
268
  schemaVersion: 1;
269
269
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
270
- stage: "attach";
270
+ stage: "attach" | "configure";
271
271
  } | undefined, {
272
272
  schemaVersion: import("convex/values").VLiteral<1, "required">;
273
- stage: import("convex/values").VLiteral<"attach", "required">;
273
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
274
274
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
275
275
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
276
276
  dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
@@ -352,7 +352,7 @@ export declare const attemptsTable: import("convex/server").TableDefinition<impo
352
352
  preparedRevision: 0;
353
353
  recordVersion: 2;
354
354
  requestBinding: string;
355
- stage: "attach";
355
+ stage: "attach" | "configure";
356
356
  timingPolicyJSON: string;
357
357
  }, [import("convex/values").VObject<{
358
358
  accountJSON: string;
@@ -407,7 +407,7 @@ export declare const attemptsTable: import("convex/server").TableDefinition<impo
407
407
  preparedRevision: 0;
408
408
  recordVersion: 2;
409
409
  requestBinding: string;
410
- stage: "attach";
410
+ stage: "attach" | "configure";
411
411
  timingPolicyJSON: string;
412
412
  }, {
413
413
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -425,7 +425,7 @@ export declare const attemptsTable: import("convex/server").TableDefinition<impo
425
425
  preparedRevision: import("convex/values").VLiteral<0, "required">;
426
426
  committedRevision: import("convex/values").VLiteral<1, "required">;
427
427
  recordVersion: import("convex/values").VLiteral<2, "required">;
428
- stage: import("convex/values").VLiteral<"attach", "required">;
428
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
429
429
  timingPolicyJSON: import("convex/values").VString<string, "required">;
430
430
  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>;
431
431
  }, "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">, {
@@ -468,7 +468,7 @@ export declare const reservationData: import("convex/values").VUnion<{
468
468
  recordJSON: string;
469
469
  recordVersion: 2;
470
470
  requestBinding: string;
471
- stage: "attach";
471
+ stage: "attach" | "configure";
472
472
  timingPolicyJSON: string;
473
473
  }, [import("convex/values").VObject<{
474
474
  accountJSON: string;
@@ -526,7 +526,7 @@ export declare const reservationData: import("convex/values").VUnion<{
526
526
  recordJSON: string;
527
527
  recordVersion: 2;
528
528
  requestBinding: string;
529
- stage: "attach";
529
+ stage: "attach" | "configure";
530
530
  timingPolicyJSON: string;
531
531
  }, {
532
532
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -544,7 +544,7 @@ export declare const reservationData: import("convex/values").VUnion<{
544
544
  preparedRevision: import("convex/values").VLiteral<0, "required">;
545
545
  committedRevision: import("convex/values").VLiteral<1, "required">;
546
546
  recordVersion: import("convex/values").VLiteral<2, "required">;
547
- stage: import("convex/values").VLiteral<"attach", "required">;
547
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
548
548
  timingPolicyJSON: import("convex/values").VString<string, "required">;
549
549
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
550
550
  recordJSON: import("convex/values").VString<string, "required">;
@@ -584,7 +584,7 @@ export declare const reservationSummary: import("convex/values").VUnion<{
584
584
  preparedRevision: 0;
585
585
  recordVersion: 2;
586
586
  requestBinding: string;
587
- stage: "attach";
587
+ stage: "attach" | "configure";
588
588
  timingPolicyJSON: string;
589
589
  }, [import("convex/values").VObject<{
590
590
  accountJSON: string;
@@ -639,7 +639,7 @@ export declare const reservationSummary: import("convex/values").VUnion<{
639
639
  preparedRevision: 0;
640
640
  recordVersion: 2;
641
641
  requestBinding: string;
642
- stage: "attach";
642
+ stage: "attach" | "configure";
643
643
  timingPolicyJSON: string;
644
644
  }, {
645
645
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -657,7 +657,7 @@ export declare const reservationSummary: import("convex/values").VUnion<{
657
657
  preparedRevision: import("convex/values").VLiteral<0, "required">;
658
658
  committedRevision: import("convex/values").VLiteral<1, "required">;
659
659
  recordVersion: import("convex/values").VLiteral<2, "required">;
660
- stage: import("convex/values").VLiteral<"attach", "required">;
660
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
661
661
  timingPolicyJSON: import("convex/values").VString<string, "required">;
662
662
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
663
663
  }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
@@ -709,7 +709,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
709
709
  recordJSON: string;
710
710
  recordVersion: 2;
711
711
  requestBinding: string;
712
- stage: "attach";
712
+ stage: "attach" | "configure";
713
713
  timingPolicyJSON: string;
714
714
  };
715
715
  } | {
@@ -752,7 +752,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
752
752
  recordJSON: string;
753
753
  recordVersion: 2;
754
754
  requestBinding: string;
755
- stage: "attach";
755
+ stage: "attach" | "configure";
756
756
  timingPolicyJSON: string;
757
757
  };
758
758
  } | {
@@ -799,7 +799,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
799
799
  recordJSON: string;
800
800
  recordVersion: 2;
801
801
  requestBinding: string;
802
- stage: "attach";
802
+ stage: "attach" | "configure";
803
803
  timingPolicyJSON: string;
804
804
  };
805
805
  }, {
@@ -843,7 +843,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
843
843
  recordJSON: string;
844
844
  recordVersion: 2;
845
845
  requestBinding: string;
846
- stage: "attach";
846
+ stage: "attach" | "configure";
847
847
  timingPolicyJSON: string;
848
848
  }, [import("convex/values").VObject<{
849
849
  accountJSON: string;
@@ -901,7 +901,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
901
901
  recordJSON: string;
902
902
  recordVersion: 2;
903
903
  requestBinding: string;
904
- stage: "attach";
904
+ stage: "attach" | "configure";
905
905
  timingPolicyJSON: string;
906
906
  }, {
907
907
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -919,7 +919,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
919
919
  preparedRevision: import("convex/values").VLiteral<0, "required">;
920
920
  committedRevision: import("convex/values").VLiteral<1, "required">;
921
921
  recordVersion: import("convex/values").VLiteral<2, "required">;
922
- stage: import("convex/values").VLiteral<"attach", "required">;
922
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
923
923
  timingPolicyJSON: import("convex/values").VString<string, "required">;
924
924
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
925
925
  recordJSON: import("convex/values").VString<string, "required">;
@@ -964,7 +964,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
964
964
  recordJSON: string;
965
965
  recordVersion: 2;
966
966
  requestBinding: string;
967
- stage: "attach";
967
+ stage: "attach" | "configure";
968
968
  timingPolicyJSON: string;
969
969
  };
970
970
  }, {
@@ -1007,7 +1007,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
1007
1007
  recordJSON: string;
1008
1008
  recordVersion: 2;
1009
1009
  requestBinding: string;
1010
- stage: "attach";
1010
+ stage: "attach" | "configure";
1011
1011
  timingPolicyJSON: string;
1012
1012
  }, [import("convex/values").VObject<{
1013
1013
  accountJSON: string;
@@ -1065,7 +1065,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
1065
1065
  recordJSON: string;
1066
1066
  recordVersion: 2;
1067
1067
  requestBinding: string;
1068
- stage: "attach";
1068
+ stage: "attach" | "configure";
1069
1069
  timingPolicyJSON: string;
1070
1070
  }, {
1071
1071
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -1083,7 +1083,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
1083
1083
  preparedRevision: import("convex/values").VLiteral<0, "required">;
1084
1084
  committedRevision: import("convex/values").VLiteral<1, "required">;
1085
1085
  recordVersion: import("convex/values").VLiteral<2, "required">;
1086
- stage: import("convex/values").VLiteral<"attach", "required">;
1086
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1087
1087
  timingPolicyJSON: import("convex/values").VString<string, "required">;
1088
1088
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1089
1089
  recordJSON: import("convex/values").VString<string, "required">;
@@ -1120,7 +1120,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
1120
1120
  preparedRevision: 0;
1121
1121
  recordVersion: 2;
1122
1122
  requestBinding: string;
1123
- stage: "attach";
1123
+ stage: "attach" | "configure";
1124
1124
  timingPolicyJSON: string;
1125
1125
  };
1126
1126
  initialBasis: {
@@ -1128,7 +1128,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
1128
1128
  basisJSON: string;
1129
1129
  policyJSON: string;
1130
1130
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1131
- stage: "attach";
1131
+ stage: "attach" | "configure";
1132
1132
  version: 1;
1133
1133
  } | null;
1134
1134
  operationId: import("convex/values").GenericId<"renewalOperations">;
@@ -1190,7 +1190,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
1190
1190
  preparedRevision: 0;
1191
1191
  recordVersion: 2;
1192
1192
  requestBinding: string;
1193
- stage: "attach";
1193
+ stage: "attach" | "configure";
1194
1194
  timingPolicyJSON: string;
1195
1195
  };
1196
1196
  initialBasis: {
@@ -1198,7 +1198,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
1198
1198
  basisJSON: string;
1199
1199
  policyJSON: string;
1200
1200
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1201
- stage: "attach";
1201
+ stage: "attach" | "configure";
1202
1202
  version: 1;
1203
1203
  } | null;
1204
1204
  operationId: import("convex/values").GenericId<"renewalOperations">;
@@ -1227,7 +1227,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
1227
1227
  preparedRevision: 0;
1228
1228
  recordVersion: 2;
1229
1229
  requestBinding: string;
1230
- stage: "attach";
1230
+ stage: "attach" | "configure";
1231
1231
  timingPolicyJSON: string;
1232
1232
  }, {
1233
1233
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -1245,7 +1245,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
1245
1245
  preparedRevision: import("convex/values").VLiteral<0, "required">;
1246
1246
  committedRevision: import("convex/values").VLiteral<1, "required">;
1247
1247
  recordVersion: import("convex/values").VLiteral<2, "required">;
1248
- stage: import("convex/values").VLiteral<"attach", "required">;
1248
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1249
1249
  timingPolicyJSON: import("convex/values").VString<string, "required">;
1250
1250
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1251
1251
  }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
@@ -1254,20 +1254,20 @@ export declare const loadedResult: import("convex/values").VUnion<{
1254
1254
  basisJSON: string;
1255
1255
  policyJSON: string;
1256
1256
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1257
- stage: "attach";
1257
+ stage: "attach" | "configure";
1258
1258
  version: 1;
1259
1259
  } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
1260
1260
  attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1261
1261
  basisJSON: string;
1262
1262
  policyJSON: string;
1263
1263
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1264
- stage: "attach";
1264
+ stage: "attach" | "configure";
1265
1265
  version: 1;
1266
1266
  }, {
1267
1267
  version: import("convex/values").VLiteral<1, "required">;
1268
1268
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1269
1269
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1270
- stage: import("convex/values").VLiteral<"attach", "required">;
1270
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1271
1271
  policyJSON: import("convex/values").VString<string, "required">;
1272
1272
  basisJSON: import("convex/values").VString<string, "required">;
1273
1273
  }, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">], "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
@@ -1411,7 +1411,7 @@ export declare const appendArgs: {
1411
1411
  recordJSON: string;
1412
1412
  recordVersion: 2;
1413
1413
  requestBinding: string;
1414
- stage: "attach";
1414
+ stage: "attach" | "configure";
1415
1415
  timingPolicyJSON: string;
1416
1416
  }, [import("convex/values").VObject<{
1417
1417
  accountJSON: string;
@@ -1469,7 +1469,7 @@ export declare const appendArgs: {
1469
1469
  recordJSON: string;
1470
1470
  recordVersion: 2;
1471
1471
  requestBinding: string;
1472
- stage: "attach";
1472
+ stage: "attach" | "configure";
1473
1473
  timingPolicyJSON: string;
1474
1474
  }, {
1475
1475
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -1487,7 +1487,7 @@ export declare const appendArgs: {
1487
1487
  preparedRevision: import("convex/values").VLiteral<0, "required">;
1488
1488
  committedRevision: import("convex/values").VLiteral<1, "required">;
1489
1489
  recordVersion: import("convex/values").VLiteral<2, "required">;
1490
- stage: import("convex/values").VLiteral<"attach", "required">;
1490
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1491
1491
  timingPolicyJSON: import("convex/values").VString<string, "required">;
1492
1492
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1493
1493
  recordJSON: import("convex/values").VString<string, "required">;
@@ -1546,7 +1546,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
1546
1546
  recordJSON: string;
1547
1547
  recordVersion: 2;
1548
1548
  requestBinding: string;
1549
- stage: "attach";
1549
+ stage: "attach" | "configure";
1550
1550
  timingPolicyJSON: string;
1551
1551
  };
1552
1552
  sequence: 1 | 2 | 3;
@@ -1598,7 +1598,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
1598
1598
  recordJSON: string;
1599
1599
  recordVersion: 2;
1600
1600
  requestBinding: string;
1601
- stage: "attach";
1601
+ stage: "attach" | "configure";
1602
1602
  timingPolicyJSON: string;
1603
1603
  }, [import("convex/values").VObject<{
1604
1604
  accountJSON: string;
@@ -1656,7 +1656,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
1656
1656
  recordJSON: string;
1657
1657
  recordVersion: 2;
1658
1658
  requestBinding: string;
1659
- stage: "attach";
1659
+ stage: "attach" | "configure";
1660
1660
  timingPolicyJSON: string;
1661
1661
  }, {
1662
1662
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -1674,7 +1674,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
1674
1674
  preparedRevision: import("convex/values").VLiteral<0, "required">;
1675
1675
  committedRevision: import("convex/values").VLiteral<1, "required">;
1676
1676
  recordVersion: import("convex/values").VLiteral<2, "required">;
1677
- stage: import("convex/values").VLiteral<"attach", "required">;
1677
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1678
1678
  timingPolicyJSON: import("convex/values").VString<string, "required">;
1679
1679
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1680
1680
  recordJSON: import("convex/values").VString<string, "required">;
@@ -1747,7 +1747,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
1747
1747
  recordJSON: string;
1748
1748
  recordVersion: 2;
1749
1749
  requestBinding: string;
1750
- stage: "attach";
1750
+ stage: "attach" | "configure";
1751
1751
  timingPolicyJSON: string;
1752
1752
  };
1753
1753
  } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
@@ -1798,7 +1798,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
1798
1798
  recordJSON: string;
1799
1799
  recordVersion: 2;
1800
1800
  requestBinding: string;
1801
- stage: "attach";
1801
+ stage: "attach" | "configure";
1802
1802
  timingPolicyJSON: string;
1803
1803
  };
1804
1804
  }, {
@@ -1839,7 +1839,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
1839
1839
  recordJSON: string;
1840
1840
  recordVersion: 2;
1841
1841
  requestBinding: string;
1842
- stage: "attach";
1842
+ stage: "attach" | "configure";
1843
1843
  timingPolicyJSON: string;
1844
1844
  }, [import("convex/values").VObject<{
1845
1845
  accountJSON: string;
@@ -1897,7 +1897,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
1897
1897
  recordJSON: string;
1898
1898
  recordVersion: 2;
1899
1899
  requestBinding: string;
1900
- stage: "attach";
1900
+ stage: "attach" | "configure";
1901
1901
  timingPolicyJSON: string;
1902
1902
  }, {
1903
1903
  operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
@@ -1915,7 +1915,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
1915
1915
  preparedRevision: import("convex/values").VLiteral<0, "required">;
1916
1916
  committedRevision: import("convex/values").VLiteral<1, "required">;
1917
1917
  recordVersion: import("convex/values").VLiteral<2, "required">;
1918
- stage: import("convex/values").VLiteral<"attach", "required">;
1918
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1919
1919
  timingPolicyJSON: import("convex/values").VString<string, "required">;
1920
1920
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1921
1921
  recordJSON: import("convex/values").VString<string, "required">;
@@ -1961,7 +1961,7 @@ export declare const basisBindingReceipt: import("convex/values").VObject<{
1961
1961
  basisJSON: string;
1962
1962
  policyJSON: string;
1963
1963
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1964
- stage: "attach";
1964
+ stage: "attach" | "configure";
1965
1965
  version: 1;
1966
1966
  };
1967
1967
  operationId: import("convex/values").GenericId<"renewalOperations">;
@@ -1974,13 +1974,13 @@ export declare const basisBindingReceipt: import("convex/values").VObject<{
1974
1974
  basisJSON: string;
1975
1975
  policyJSON: string;
1976
1976
  sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1977
- stage: "attach";
1977
+ stage: "attach" | "configure";
1978
1978
  version: 1;
1979
1979
  }, {
1980
1980
  version: import("convex/values").VLiteral<1, "required">;
1981
1981
  attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1982
1982
  sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1983
- stage: import("convex/values").VLiteral<"attach", "required">;
1983
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1984
1984
  policyJSON: import("convex/values").VString<string, "required">;
1985
1985
  basisJSON: import("convex/values").VString<string, "required">;
1986
1986
  }, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;