@fantastic.dev/better-stripe 0.92.0 → 0.94.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 (96) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/client/billing/renewalAttach/internal/operationJournal.d.ts +41 -0
  4. package/dist/client/billing/renewalAttach/internal/operationJournal.d.ts.map +1 -0
  5. package/dist/client/billing/renewalAttach/internal/operationJournal.js +378 -0
  6. package/dist/client/billing/renewalAttach/internal/operationJournal.js.map +1 -0
  7. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts +44 -0
  8. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts.map +1 -0
  9. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js +251 -0
  10. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js.map +1 -0
  11. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +562 -0
  12. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  13. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +281 -0
  14. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  15. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +562 -0
  16. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  17. package/dist/client/connect/payoutSyncTestHelpers.d.ts +281 -0
  18. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  19. package/dist/client/index.d.ts +3 -2
  20. package/dist/client/index.d.ts.map +1 -1
  21. package/dist/client/index.js +16 -3
  22. package/dist/client/index.js.map +1 -1
  23. package/dist/component/_generated/api.d.ts +6 -0
  24. package/dist/component/_generated/api.d.ts.map +1 -1
  25. package/dist/component/_generated/api.js.map +1 -1
  26. package/dist/component/_generated/component.d.ts +406 -0
  27. package/dist/component/_generated/component.d.ts.map +1 -1
  28. package/dist/component/balanceFunding/mutations.d.ts +27 -27
  29. package/dist/component/balanceFunding/queries.d.ts +1 -1
  30. package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
  31. package/dist/component/earnings/triggers.d.ts +294 -0
  32. package/dist/component/earnings/triggers.d.ts.map +1 -1
  33. package/dist/component/financialObservations/settlementHelpers.d.ts +3 -3
  34. package/dist/component/renewalOperations/helpers.d.ts +236 -0
  35. package/dist/component/renewalOperations/helpers.d.ts.map +1 -0
  36. package/dist/component/renewalOperations/helpers.js +457 -0
  37. package/dist/component/renewalOperations/helpers.js.map +1 -0
  38. package/dist/component/renewalOperations/mutations.d.ts +252 -0
  39. package/dist/component/renewalOperations/mutations.d.ts.map +1 -0
  40. package/dist/component/renewalOperations/mutations.js +340 -0
  41. package/dist/component/renewalOperations/mutations.js.map +1 -0
  42. package/dist/component/renewalOperations/queries.d.ts +163 -0
  43. package/dist/component/renewalOperations/queries.d.ts.map +1 -0
  44. package/dist/component/renewalOperations/queries.js +167 -0
  45. package/dist/component/renewalOperations/queries.js.map +1 -0
  46. package/dist/component/renewalOperations/schema.d.ts +1988 -0
  47. package/dist/component/renewalOperations/schema.d.ts.map +1 -0
  48. package/dist/component/renewalOperations/schema.js +227 -0
  49. package/dist/component/renewalOperations/schema.js.map +1 -0
  50. package/dist/component/schema.d.ts +281 -0
  51. package/dist/component/schema.js +5 -0
  52. package/dist/component/schema.js.map +1 -1
  53. package/dist/component/usage/allowance.fixtures.d.ts +281 -0
  54. package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
  55. package/dist/component/usageCredits/accounting.fixtures.d.ts +297 -16
  56. package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
  57. package/dist/shared/renewalOperationJournal.d.ts +43 -0
  58. package/dist/shared/renewalOperationJournal.d.ts.map +1 -0
  59. package/dist/shared/renewalOperationJournal.js +294 -0
  60. package/dist/shared/renewalOperationJournal.js.map +1 -0
  61. package/docs/renewal-context-reads.md +180 -0
  62. package/package.json +1 -1
  63. package/src/client/billing/renewalAttach/internal/operationJournal.acknowledgement.integration.test.ts +500 -0
  64. package/src/client/billing/renewalAttach/internal/operationJournal.c10.integration.test.ts +560 -0
  65. package/src/client/billing/renewalAttach/internal/operationJournal.controls.integration.test.ts +356 -0
  66. package/src/client/billing/renewalAttach/internal/operationJournal.integration.test.ts +560 -0
  67. package/src/client/billing/renewalAttach/internal/operationJournal.methods.integration.test.ts +534 -0
  68. package/src/client/billing/renewalAttach/internal/operationJournal.ts +561 -0
  69. package/src/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.ts +334 -0
  70. package/src/client/billing/renewalAttach/internal/producer/producerGuards.integration.test.ts +323 -0
  71. package/src/client/billing/renewalAttach/internal/producer/producerInitial.integration.test.ts +301 -0
  72. package/src/client/billing/renewalAttach/internal/producer/producerIsolation.integration.test.ts +531 -0
  73. package/src/client/index.ts +24 -3
  74. package/src/component/_generated/api.ts +6 -0
  75. package/src/component/_generated/component.ts +450 -0
  76. package/src/component/renewalOperations/acknowledgement.fixtures.ts +552 -0
  77. package/src/component/renewalOperations/acknowledgement.test.ts +573 -0
  78. package/src/component/renewalOperations/acknowledgementReads.test.ts +442 -0
  79. package/src/component/renewalOperations/acknowledgementV2.test.ts +493 -0
  80. package/src/component/renewalOperations/acknowledgementV2Publication.test.ts +373 -0
  81. package/src/component/renewalOperations/basisBinding.test.ts +567 -0
  82. package/src/component/renewalOperations/basisLifecycle.test.ts +569 -0
  83. package/src/component/renewalOperations/boundHistory.test.ts +474 -0
  84. package/src/component/renewalOperations/helpers.ts +592 -0
  85. package/src/component/renewalOperations/historyReads.test.ts +595 -0
  86. package/src/component/renewalOperations/initialBasis.test.ts +578 -0
  87. package/src/component/renewalOperations/journal.test.ts +567 -0
  88. package/src/component/renewalOperations/mutations.ts +456 -0
  89. package/src/component/renewalOperations/payload.test.ts +589 -0
  90. package/src/component/renewalOperations/payloadEncoding.test.ts +592 -0
  91. package/src/component/renewalOperations/queries.ts +204 -0
  92. package/src/component/renewalOperations/schema.ts +268 -0
  93. package/src/component/renewalOperations/timingPolicy.fixtures.ts +193 -0
  94. package/src/component/renewalOperations/timingPolicy.test.ts +523 -0
  95. package/src/component/schema.ts +11 -0
  96. package/src/shared/renewalOperationJournal.ts +333 -0
@@ -0,0 +1,1988 @@
1
+ export declare const stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
2
+ /** Immutable creation, first reservation and bounded append-only stage DATA. */
3
+ export declare const payloadsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
4
+ codecVersion: 1;
5
+ json: string;
6
+ owner?: {
7
+ kind: "operation";
8
+ operationId: import("convex/values").GenericId<"renewalOperations">;
9
+ } | {
10
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
11
+ kind: "event";
12
+ operationId: import("convex/values").GenericId<"renewalOperations">;
13
+ sequence: 1 | 2 | 3;
14
+ stage: "attach" | "configure";
15
+ } | {
16
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
17
+ kind: "receipt";
18
+ operationId: import("convex/values").GenericId<"renewalOperations">;
19
+ stage: "attach" | "configure";
20
+ } | undefined;
21
+ }, {
22
+ codecVersion: import("convex/values").VLiteral<1, "required">;
23
+ json: import("convex/values").VString<string, "required">;
24
+ owner: import("convex/values").VUnion<{
25
+ kind: "operation";
26
+ operationId: import("convex/values").GenericId<"renewalOperations">;
27
+ } | {
28
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
29
+ kind: "event";
30
+ operationId: import("convex/values").GenericId<"renewalOperations">;
31
+ sequence: 1 | 2 | 3;
32
+ stage: "attach" | "configure";
33
+ } | {
34
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
35
+ kind: "receipt";
36
+ operationId: import("convex/values").GenericId<"renewalOperations">;
37
+ stage: "attach" | "configure";
38
+ } | undefined, [import("convex/values").VObject<{
39
+ kind: "operation";
40
+ operationId: import("convex/values").GenericId<"renewalOperations">;
41
+ }, {
42
+ kind: import("convex/values").VLiteral<"operation", "required">;
43
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
44
+ }, "required", "kind" | "operationId">, import("convex/values").VObject<{
45
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
46
+ kind: "event";
47
+ operationId: import("convex/values").GenericId<"renewalOperations">;
48
+ sequence: 1 | 2 | 3;
49
+ stage: "attach" | "configure";
50
+ }, {
51
+ kind: import("convex/values").VLiteral<"event", "required">;
52
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
53
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
54
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
55
+ sequence: 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>;
56
+ }, "required", "attemptId" | "kind" | "operationId" | "sequence" | "stage">, import("convex/values").VObject<{
57
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
58
+ kind: "receipt";
59
+ operationId: import("convex/values").GenericId<"renewalOperations">;
60
+ stage: "attach" | "configure";
61
+ }, {
62
+ kind: import("convex/values").VLiteral<"receipt", "required">;
63
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
64
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
65
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
66
+ }, "required", "attemptId" | "kind" | "operationId" | "stage">], "optional", "attemptId" | "kind" | "operationId" | "sequence" | "stage">;
67
+ }, "required", "codecVersion" | "json" | "owner" | "owner.attemptId" | "owner.kind" | "owner.operationId" | "owner.sequence" | "owner.stage">, {}, {}, {}>;
68
+ export declare const knownAcknowledgement: import("convex/values").VObject<{
69
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
70
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
71
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
72
+ receiptBinding: string;
73
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
74
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
75
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
76
+ schemaVersion: 1;
77
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
78
+ stage: "attach";
79
+ }, {
80
+ schemaVersion: import("convex/values").VLiteral<1, "required">;
81
+ stage: import("convex/values").VLiteral<"attach", "required">;
82
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
83
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
84
+ dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
85
+ dispatchPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
86
+ responseEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
87
+ responsePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
88
+ receiptPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
89
+ receiptBinding: import("convex/values").VString<string, "required">;
90
+ }, "required", "attemptId" | "dispatchEventId" | "dispatchPayloadId" | "receiptBinding" | "receiptPayloadId" | "responseEventId" | "responsePayloadId" | "schemaVersion" | "sourcePayloadId" | "stage">;
91
+ export declare const retainAcknowledgementArgs: {
92
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
93
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
94
+ expectedSequence: import("convex/values").VUnion<2 | 3, [import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>;
95
+ receiptJSON: import("convex/values").VString<string, "required">;
96
+ };
97
+ export declare const retentionReceipt: import("convex/values").VObject<{
98
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
99
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
100
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
101
+ operationId: import("convex/values").GenericId<"renewalOperations">;
102
+ receiptBinding: string;
103
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
104
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
105
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
106
+ schemaVersion: 1;
107
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
108
+ stage: "attach";
109
+ status: "retained";
110
+ }, {
111
+ schemaVersion: import("convex/values").VLiteral<1, "required">;
112
+ stage: import("convex/values").VLiteral<"attach", "required">;
113
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
114
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
115
+ dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
116
+ dispatchPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
117
+ responseEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
118
+ responsePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
119
+ receiptPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
120
+ receiptBinding: import("convex/values").VString<string, "required">;
121
+ status: import("convex/values").VLiteral<"retained", "required">;
122
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
123
+ }, "required", "attemptId" | "dispatchEventId" | "dispatchPayloadId" | "operationId" | "receiptBinding" | "receiptPayloadId" | "responseEventId" | "responsePayloadId" | "schemaVersion" | "sourcePayloadId" | "stage" | "status">;
124
+ /** One complete retained receipt, without duplicating source or history DATA. */
125
+ export declare const providerAcknowledgementReadResult: import("convex/values").VUnion<{
126
+ receiptJSON: string;
127
+ retention: {
128
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
129
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
130
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
131
+ operationId: import("convex/values").GenericId<"renewalOperations">;
132
+ receiptBinding: string;
133
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
134
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
135
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
136
+ schemaVersion: 1;
137
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
138
+ stage: "attach";
139
+ status: "retained";
140
+ };
141
+ } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
142
+ receiptJSON: string;
143
+ retention: {
144
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
145
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
146
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
147
+ operationId: import("convex/values").GenericId<"renewalOperations">;
148
+ receiptBinding: string;
149
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
150
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
151
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
152
+ schemaVersion: 1;
153
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
154
+ stage: "attach";
155
+ status: "retained";
156
+ };
157
+ }, {
158
+ retention: import("convex/values").VObject<{
159
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
160
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
161
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
162
+ operationId: import("convex/values").GenericId<"renewalOperations">;
163
+ receiptBinding: string;
164
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
165
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
166
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
167
+ schemaVersion: 1;
168
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
169
+ stage: "attach";
170
+ status: "retained";
171
+ }, {
172
+ schemaVersion: import("convex/values").VLiteral<1, "required">;
173
+ stage: import("convex/values").VLiteral<"attach", "required">;
174
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
175
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
176
+ dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
177
+ dispatchPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
178
+ responseEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
179
+ responsePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
180
+ receiptPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
181
+ receiptBinding: import("convex/values").VString<string, "required">;
182
+ status: import("convex/values").VLiteral<"retained", "required">;
183
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
184
+ }, "required", "attemptId" | "dispatchEventId" | "dispatchPayloadId" | "operationId" | "receiptBinding" | "receiptPayloadId" | "responseEventId" | "responsePayloadId" | "schemaVersion" | "sourcePayloadId" | "stage" | "status">;
185
+ receiptJSON: import("convex/values").VString<string, "required">;
186
+ }, "required", "receiptJSON" | "retention" | "retention.attemptId" | "retention.dispatchEventId" | "retention.dispatchPayloadId" | "retention.operationId" | "retention.receiptBinding" | "retention.receiptPayloadId" | "retention.responseEventId" | "retention.responsePayloadId" | "retention.schemaVersion" | "retention.sourcePayloadId" | "retention.stage" | "retention.status">], "required", "receiptJSON" | "retention" | "retention.attemptId" | "retention.dispatchEventId" | "retention.dispatchPayloadId" | "retention.operationId" | "retention.receiptBinding" | "retention.receiptPayloadId" | "retention.responseEventId" | "retention.responsePayloadId" | "retention.schemaVersion" | "retention.sourcePayloadId" | "retention.stage" | "retention.status">;
187
+ /** Closed unsigned basis DATA; not a clock, Origin or Owner capability. */
188
+ export declare const initialBasisDescriptor: import("convex/values").VObject<{
189
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
190
+ basisJSON: string;
191
+ policyJSON: string;
192
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
193
+ stage: "attach";
194
+ version: 1;
195
+ }, {
196
+ version: import("convex/values").VLiteral<1, "required">;
197
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
198
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
199
+ stage: import("convex/values").VLiteral<"attach", "required">;
200
+ policyJSON: import("convex/values").VString<string, "required">;
201
+ basisJSON: import("convex/values").VString<string, "required">;
202
+ }, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
203
+ export declare const operationsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
204
+ activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
205
+ authorizationId: string;
206
+ authorizationRevision: number;
207
+ authorizationScope: string;
208
+ initialBasis?: {
209
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
210
+ basisJSON: string;
211
+ policyJSON: string;
212
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
213
+ stage: "attach";
214
+ version: 1;
215
+ } | undefined;
216
+ knownAcknowledgement?: {
217
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
218
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
219
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
220
+ receiptBinding: string;
221
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
222
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
223
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
224
+ schemaVersion: 1;
225
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
226
+ stage: "attach";
227
+ } | undefined;
228
+ logicalOperationId: string;
229
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
230
+ recordVersion?: 2 | undefined;
231
+ requestBinding: string;
232
+ revision: 0 | 1;
233
+ state: "PREPARED" | "RESERVED";
234
+ }, {
235
+ recordVersion: import("convex/values").VLiteral<2 | undefined, "optional">;
236
+ initialBasis: import("convex/values").VObject<{
237
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
238
+ basisJSON: string;
239
+ policyJSON: string;
240
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
241
+ stage: "attach";
242
+ version: 1;
243
+ } | undefined, {
244
+ version: import("convex/values").VLiteral<1, "required">;
245
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
246
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
247
+ stage: import("convex/values").VLiteral<"attach", "required">;
248
+ policyJSON: import("convex/values").VString<string, "required">;
249
+ basisJSON: import("convex/values").VString<string, "required">;
250
+ }, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
251
+ authorizationScope: import("convex/values").VString<string, "required">;
252
+ authorizationId: import("convex/values").VString<string, "required">;
253
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
254
+ logicalOperationId: import("convex/values").VString<string, "required">;
255
+ requestBinding: import("convex/values").VString<string, "required">;
256
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
257
+ revision: import("convex/values").VUnion<0 | 1, [import("convex/values").VLiteral<0, "required">, import("convex/values").VLiteral<1, "required">], "required", never>;
258
+ state: import("convex/values").VUnion<"PREPARED" | "RESERVED", [import("convex/values").VLiteral<"PREPARED", "required">, import("convex/values").VLiteral<"RESERVED", "required">], "required", never>;
259
+ activeAttemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts"> | undefined, "optional">;
260
+ knownAcknowledgement: import("convex/values").VObject<{
261
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
262
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
263
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
264
+ receiptBinding: string;
265
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
266
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
267
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
268
+ schemaVersion: 1;
269
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
270
+ stage: "attach";
271
+ } | undefined, {
272
+ schemaVersion: import("convex/values").VLiteral<1, "required">;
273
+ stage: import("convex/values").VLiteral<"attach", "required">;
274
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
275
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
276
+ dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
277
+ dispatchPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
278
+ responseEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
279
+ responsePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
280
+ receiptPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
281
+ receiptBinding: import("convex/values").VString<string, "required">;
282
+ }, "optional", "attemptId" | "dispatchEventId" | "dispatchPayloadId" | "receiptBinding" | "receiptPayloadId" | "responseEventId" | "responsePayloadId" | "schemaVersion" | "sourcePayloadId" | "stage">;
283
+ }, "required", "activeAttemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "initialBasis" | "initialBasis.attemptId" | "initialBasis.basisJSON" | "initialBasis.policyJSON" | "initialBasis.sourcePayloadId" | "initialBasis.stage" | "initialBasis.version" | "knownAcknowledgement" | "knownAcknowledgement.attemptId" | "knownAcknowledgement.dispatchEventId" | "knownAcknowledgement.dispatchPayloadId" | "knownAcknowledgement.receiptBinding" | "knownAcknowledgement.receiptPayloadId" | "knownAcknowledgement.responseEventId" | "knownAcknowledgement.responsePayloadId" | "knownAcknowledgement.schemaVersion" | "knownAcknowledgement.sourcePayloadId" | "knownAcknowledgement.stage" | "logicalOperationId" | "payloadId" | "recordVersion" | "requestBinding" | "revision" | "state">, {
284
+ by_authorizationScope_and_logicalOperationId: ["authorizationScope", "logicalOperationId", "_creationTime"];
285
+ }, {}, {}>;
286
+ export declare const creationArgs: {
287
+ authorizationScope: import("convex/values").VString<string, "required">;
288
+ logicalOperationId: import("convex/values").VString<string, "required">;
289
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
290
+ recordJSON: import("convex/values").VString<string, "required">;
291
+ };
292
+ export declare const creationResult: import("convex/values").VUnion<{
293
+ operationId: import("convex/values").GenericId<"renewalOperations">;
294
+ status: "created";
295
+ } | {
296
+ operationId: import("convex/values").GenericId<"renewalOperations">;
297
+ status: "existing";
298
+ } | {
299
+ reason: "identity_changed";
300
+ status: "conflict";
301
+ }, [import("convex/values").VObject<{
302
+ operationId: import("convex/values").GenericId<"renewalOperations">;
303
+ status: "created";
304
+ }, {
305
+ status: import("convex/values").VLiteral<"created", "required">;
306
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
307
+ }, "required", "operationId" | "status">, import("convex/values").VObject<{
308
+ operationId: import("convex/values").GenericId<"renewalOperations">;
309
+ status: "existing";
310
+ }, {
311
+ status: import("convex/values").VLiteral<"existing", "required">;
312
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
313
+ }, "required", "operationId" | "status">, import("convex/values").VObject<{
314
+ reason: "identity_changed";
315
+ status: "conflict";
316
+ }, {
317
+ status: import("convex/values").VLiteral<"conflict", "required">;
318
+ reason: import("convex/values").VLiteral<"identity_changed", "required">;
319
+ }, "required", "reason" | "status">], "required", "operationId" | "reason" | "status">;
320
+ export declare const attemptsTable: import("convex/server").TableDefinition<import("convex/values").VUnion<{
321
+ accountJSON: string;
322
+ apiVersion: string;
323
+ authorizationId: string;
324
+ authorizationRevision: number;
325
+ authorizationScope: string;
326
+ basisJSON: string;
327
+ committedRevision: 1;
328
+ firstDispatchedAt: number;
329
+ key: string;
330
+ lastSequence: 0 | 1 | 2 | 3;
331
+ logicalOperationId: string;
332
+ operationId: import("convex/values").GenericId<"renewalOperations">;
333
+ ordinal: 1;
334
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
335
+ preparedRevision: 0;
336
+ requestBinding: string;
337
+ stage: "attach" | "configure";
338
+ } | {
339
+ accountJSON: string;
340
+ apiVersion: string;
341
+ authorizationId: string;
342
+ authorizationRevision: number;
343
+ authorizationScope: string;
344
+ committedRevision: 1;
345
+ firstDispatchedAt: number;
346
+ key: string;
347
+ lastSequence: 0 | 1 | 2 | 3;
348
+ logicalOperationId: string;
349
+ operationId: import("convex/values").GenericId<"renewalOperations">;
350
+ ordinal: 1;
351
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
352
+ preparedRevision: 0;
353
+ recordVersion: 2;
354
+ requestBinding: string;
355
+ stage: "attach";
356
+ timingPolicyJSON: string;
357
+ }, [import("convex/values").VObject<{
358
+ accountJSON: string;
359
+ apiVersion: string;
360
+ authorizationId: string;
361
+ authorizationRevision: number;
362
+ authorizationScope: string;
363
+ basisJSON: string;
364
+ committedRevision: 1;
365
+ firstDispatchedAt: number;
366
+ key: string;
367
+ lastSequence: 0 | 1 | 2 | 3;
368
+ logicalOperationId: string;
369
+ operationId: import("convex/values").GenericId<"renewalOperations">;
370
+ ordinal: 1;
371
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
372
+ preparedRevision: 0;
373
+ requestBinding: string;
374
+ stage: "attach" | "configure";
375
+ }, {
376
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
377
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
378
+ authorizationScope: import("convex/values").VString<string, "required">;
379
+ authorizationId: import("convex/values").VString<string, "required">;
380
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
381
+ logicalOperationId: import("convex/values").VString<string, "required">;
382
+ requestBinding: import("convex/values").VString<string, "required">;
383
+ key: import("convex/values").VString<string, "required">;
384
+ apiVersion: import("convex/values").VString<string, "required">;
385
+ accountJSON: import("convex/values").VString<string, "required">;
386
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
387
+ ordinal: import("convex/values").VLiteral<1, "required">;
388
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
389
+ committedRevision: import("convex/values").VLiteral<1, "required">;
390
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
391
+ basisJSON: import("convex/values").VString<string, "required">;
392
+ 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>;
393
+ }, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "requestBinding" | "stage">, import("convex/values").VObject<{
394
+ accountJSON: string;
395
+ apiVersion: string;
396
+ authorizationId: string;
397
+ authorizationRevision: number;
398
+ authorizationScope: string;
399
+ committedRevision: 1;
400
+ firstDispatchedAt: number;
401
+ key: string;
402
+ lastSequence: 0 | 1 | 2 | 3;
403
+ logicalOperationId: string;
404
+ operationId: import("convex/values").GenericId<"renewalOperations">;
405
+ ordinal: 1;
406
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
407
+ preparedRevision: 0;
408
+ recordVersion: 2;
409
+ requestBinding: string;
410
+ stage: "attach";
411
+ timingPolicyJSON: string;
412
+ }, {
413
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
414
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
415
+ authorizationScope: import("convex/values").VString<string, "required">;
416
+ authorizationId: import("convex/values").VString<string, "required">;
417
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
418
+ logicalOperationId: import("convex/values").VString<string, "required">;
419
+ requestBinding: import("convex/values").VString<string, "required">;
420
+ key: import("convex/values").VString<string, "required">;
421
+ apiVersion: import("convex/values").VString<string, "required">;
422
+ accountJSON: import("convex/values").VString<string, "required">;
423
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
424
+ ordinal: import("convex/values").VLiteral<1, "required">;
425
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
426
+ committedRevision: import("convex/values").VLiteral<1, "required">;
427
+ recordVersion: import("convex/values").VLiteral<2, "required">;
428
+ stage: import("convex/values").VLiteral<"attach", "required">;
429
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
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
+ }, "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">, {
432
+ by_operationId: ["operationId", "_creationTime"];
433
+ }, {}, {}>;
434
+ export declare const reservationData: import("convex/values").VUnion<{
435
+ accountJSON: string;
436
+ apiVersion: string;
437
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
438
+ authorizationId: string;
439
+ authorizationRevision: number;
440
+ authorizationScope: string;
441
+ basisJSON: string;
442
+ committedRevision: 1;
443
+ firstDispatchedAt: number;
444
+ key: string;
445
+ logicalOperationId: string;
446
+ operationId: import("convex/values").GenericId<"renewalOperations">;
447
+ ordinal: 1;
448
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
449
+ preparedRevision: 0;
450
+ recordJSON: string;
451
+ requestBinding: string;
452
+ stage: "attach" | "configure";
453
+ } | {
454
+ accountJSON: string;
455
+ apiVersion: string;
456
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
457
+ authorizationId: string;
458
+ authorizationRevision: number;
459
+ authorizationScope: string;
460
+ committedRevision: 1;
461
+ firstDispatchedAt: number;
462
+ key: string;
463
+ logicalOperationId: string;
464
+ operationId: import("convex/values").GenericId<"renewalOperations">;
465
+ ordinal: 1;
466
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
467
+ preparedRevision: 0;
468
+ recordJSON: string;
469
+ recordVersion: 2;
470
+ requestBinding: string;
471
+ stage: "attach";
472
+ timingPolicyJSON: string;
473
+ }, [import("convex/values").VObject<{
474
+ accountJSON: string;
475
+ apiVersion: string;
476
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
477
+ authorizationId: string;
478
+ authorizationRevision: number;
479
+ authorizationScope: string;
480
+ basisJSON: string;
481
+ committedRevision: 1;
482
+ firstDispatchedAt: number;
483
+ key: string;
484
+ logicalOperationId: string;
485
+ operationId: import("convex/values").GenericId<"renewalOperations">;
486
+ ordinal: 1;
487
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
488
+ preparedRevision: 0;
489
+ recordJSON: string;
490
+ requestBinding: string;
491
+ stage: "attach" | "configure";
492
+ }, {
493
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
494
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
495
+ authorizationScope: import("convex/values").VString<string, "required">;
496
+ authorizationId: import("convex/values").VString<string, "required">;
497
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
498
+ logicalOperationId: import("convex/values").VString<string, "required">;
499
+ requestBinding: import("convex/values").VString<string, "required">;
500
+ key: import("convex/values").VString<string, "required">;
501
+ apiVersion: import("convex/values").VString<string, "required">;
502
+ accountJSON: import("convex/values").VString<string, "required">;
503
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
504
+ ordinal: import("convex/values").VLiteral<1, "required">;
505
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
506
+ committedRevision: import("convex/values").VLiteral<1, "required">;
507
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
508
+ basisJSON: import("convex/values").VString<string, "required">;
509
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
510
+ recordJSON: import("convex/values").VString<string, "required">;
511
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "requestBinding" | "stage">, import("convex/values").VObject<{
512
+ accountJSON: string;
513
+ apiVersion: string;
514
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
515
+ authorizationId: string;
516
+ authorizationRevision: number;
517
+ authorizationScope: string;
518
+ committedRevision: 1;
519
+ firstDispatchedAt: number;
520
+ key: string;
521
+ logicalOperationId: string;
522
+ operationId: import("convex/values").GenericId<"renewalOperations">;
523
+ ordinal: 1;
524
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
525
+ preparedRevision: 0;
526
+ recordJSON: string;
527
+ recordVersion: 2;
528
+ requestBinding: string;
529
+ stage: "attach";
530
+ timingPolicyJSON: string;
531
+ }, {
532
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
533
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
534
+ authorizationScope: import("convex/values").VString<string, "required">;
535
+ authorizationId: import("convex/values").VString<string, "required">;
536
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
537
+ logicalOperationId: import("convex/values").VString<string, "required">;
538
+ requestBinding: import("convex/values").VString<string, "required">;
539
+ key: import("convex/values").VString<string, "required">;
540
+ apiVersion: import("convex/values").VString<string, "required">;
541
+ accountJSON: import("convex/values").VString<string, "required">;
542
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
543
+ ordinal: import("convex/values").VLiteral<1, "required">;
544
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
545
+ committedRevision: import("convex/values").VLiteral<1, "required">;
546
+ recordVersion: import("convex/values").VLiteral<2, "required">;
547
+ stage: import("convex/values").VLiteral<"attach", "required">;
548
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
549
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
550
+ recordJSON: import("convex/values").VString<string, "required">;
551
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
552
+ export declare const reservationSummary: import("convex/values").VUnion<{
553
+ accountJSON: string;
554
+ apiVersion: string;
555
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
556
+ authorizationId: string;
557
+ authorizationRevision: number;
558
+ authorizationScope: string;
559
+ basisJSON: string;
560
+ committedRevision: 1;
561
+ firstDispatchedAt: number;
562
+ key: string;
563
+ logicalOperationId: string;
564
+ operationId: import("convex/values").GenericId<"renewalOperations">;
565
+ ordinal: 1;
566
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
567
+ preparedRevision: 0;
568
+ requestBinding: string;
569
+ stage: "attach" | "configure";
570
+ } | {
571
+ accountJSON: string;
572
+ apiVersion: string;
573
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
574
+ authorizationId: string;
575
+ authorizationRevision: number;
576
+ authorizationScope: string;
577
+ committedRevision: 1;
578
+ firstDispatchedAt: number;
579
+ key: string;
580
+ logicalOperationId: string;
581
+ operationId: import("convex/values").GenericId<"renewalOperations">;
582
+ ordinal: 1;
583
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
584
+ preparedRevision: 0;
585
+ recordVersion: 2;
586
+ requestBinding: string;
587
+ stage: "attach";
588
+ timingPolicyJSON: string;
589
+ }, [import("convex/values").VObject<{
590
+ accountJSON: string;
591
+ apiVersion: string;
592
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
593
+ authorizationId: string;
594
+ authorizationRevision: number;
595
+ authorizationScope: string;
596
+ basisJSON: string;
597
+ committedRevision: 1;
598
+ firstDispatchedAt: number;
599
+ key: string;
600
+ logicalOperationId: string;
601
+ operationId: import("convex/values").GenericId<"renewalOperations">;
602
+ ordinal: 1;
603
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
604
+ preparedRevision: 0;
605
+ requestBinding: string;
606
+ stage: "attach" | "configure";
607
+ }, {
608
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
609
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
610
+ authorizationScope: import("convex/values").VString<string, "required">;
611
+ authorizationId: import("convex/values").VString<string, "required">;
612
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
613
+ logicalOperationId: import("convex/values").VString<string, "required">;
614
+ requestBinding: import("convex/values").VString<string, "required">;
615
+ key: import("convex/values").VString<string, "required">;
616
+ apiVersion: import("convex/values").VString<string, "required">;
617
+ accountJSON: import("convex/values").VString<string, "required">;
618
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
619
+ ordinal: import("convex/values").VLiteral<1, "required">;
620
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
621
+ committedRevision: import("convex/values").VLiteral<1, "required">;
622
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
623
+ basisJSON: import("convex/values").VString<string, "required">;
624
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
625
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "requestBinding" | "stage">, import("convex/values").VObject<{
626
+ accountJSON: string;
627
+ apiVersion: string;
628
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
629
+ authorizationId: string;
630
+ authorizationRevision: number;
631
+ authorizationScope: string;
632
+ committedRevision: 1;
633
+ firstDispatchedAt: number;
634
+ key: string;
635
+ logicalOperationId: string;
636
+ operationId: import("convex/values").GenericId<"renewalOperations">;
637
+ ordinal: 1;
638
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
639
+ preparedRevision: 0;
640
+ recordVersion: 2;
641
+ requestBinding: string;
642
+ stage: "attach";
643
+ timingPolicyJSON: string;
644
+ }, {
645
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
646
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
647
+ authorizationScope: import("convex/values").VString<string, "required">;
648
+ authorizationId: import("convex/values").VString<string, "required">;
649
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
650
+ logicalOperationId: import("convex/values").VString<string, "required">;
651
+ requestBinding: import("convex/values").VString<string, "required">;
652
+ key: import("convex/values").VString<string, "required">;
653
+ apiVersion: import("convex/values").VString<string, "required">;
654
+ accountJSON: import("convex/values").VString<string, "required">;
655
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
656
+ ordinal: import("convex/values").VLiteral<1, "required">;
657
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
658
+ committedRevision: import("convex/values").VLiteral<1, "required">;
659
+ recordVersion: import("convex/values").VLiteral<2, "required">;
660
+ stage: import("convex/values").VLiteral<"attach", "required">;
661
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
662
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
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">;
664
+ export declare const reserveArgs: {
665
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
666
+ expectedRevision: import("convex/values").VFloat64<number, "required">;
667
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
668
+ expectedRequestBinding: import("convex/values").VString<string, "required">;
669
+ recordJSON: import("convex/values").VString<string, "required">;
670
+ };
671
+ export declare const reserveResult: import("convex/values").VUnion<{
672
+ committedRevision: 1;
673
+ disposition: "acquired";
674
+ previousRevision: 0;
675
+ reservation: {
676
+ accountJSON: string;
677
+ apiVersion: string;
678
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
679
+ authorizationId: string;
680
+ authorizationRevision: number;
681
+ authorizationScope: string;
682
+ basisJSON: string;
683
+ committedRevision: 1;
684
+ firstDispatchedAt: number;
685
+ key: string;
686
+ logicalOperationId: string;
687
+ operationId: import("convex/values").GenericId<"renewalOperations">;
688
+ ordinal: 1;
689
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
690
+ preparedRevision: 0;
691
+ recordJSON: string;
692
+ requestBinding: string;
693
+ stage: "attach" | "configure";
694
+ } | {
695
+ accountJSON: string;
696
+ apiVersion: string;
697
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
698
+ authorizationId: string;
699
+ authorizationRevision: number;
700
+ authorizationScope: string;
701
+ committedRevision: 1;
702
+ firstDispatchedAt: number;
703
+ key: string;
704
+ logicalOperationId: string;
705
+ operationId: import("convex/values").GenericId<"renewalOperations">;
706
+ ordinal: 1;
707
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
708
+ preparedRevision: 0;
709
+ recordJSON: string;
710
+ recordVersion: 2;
711
+ requestBinding: string;
712
+ stage: "attach";
713
+ timingPolicyJSON: string;
714
+ };
715
+ } | {
716
+ committedRevision: 1;
717
+ disposition: "existing";
718
+ reservation: {
719
+ accountJSON: string;
720
+ apiVersion: string;
721
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
722
+ authorizationId: string;
723
+ authorizationRevision: number;
724
+ authorizationScope: string;
725
+ basisJSON: string;
726
+ committedRevision: 1;
727
+ firstDispatchedAt: number;
728
+ key: string;
729
+ logicalOperationId: string;
730
+ operationId: import("convex/values").GenericId<"renewalOperations">;
731
+ ordinal: 1;
732
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
733
+ preparedRevision: 0;
734
+ recordJSON: string;
735
+ requestBinding: string;
736
+ stage: "attach" | "configure";
737
+ } | {
738
+ accountJSON: string;
739
+ apiVersion: string;
740
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
741
+ authorizationId: string;
742
+ authorizationRevision: number;
743
+ authorizationScope: string;
744
+ committedRevision: 1;
745
+ firstDispatchedAt: number;
746
+ key: string;
747
+ logicalOperationId: string;
748
+ operationId: import("convex/values").GenericId<"renewalOperations">;
749
+ ordinal: 1;
750
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
751
+ preparedRevision: 0;
752
+ recordJSON: string;
753
+ recordVersion: 2;
754
+ requestBinding: string;
755
+ stage: "attach";
756
+ timingPolicyJSON: string;
757
+ };
758
+ } | {
759
+ disposition: "conflict";
760
+ reason: "identity_changed";
761
+ }, [import("convex/values").VObject<{
762
+ committedRevision: 1;
763
+ disposition: "acquired";
764
+ previousRevision: 0;
765
+ reservation: {
766
+ accountJSON: string;
767
+ apiVersion: string;
768
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
769
+ authorizationId: string;
770
+ authorizationRevision: number;
771
+ authorizationScope: string;
772
+ basisJSON: string;
773
+ committedRevision: 1;
774
+ firstDispatchedAt: number;
775
+ key: string;
776
+ logicalOperationId: string;
777
+ operationId: import("convex/values").GenericId<"renewalOperations">;
778
+ ordinal: 1;
779
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
780
+ preparedRevision: 0;
781
+ recordJSON: string;
782
+ requestBinding: string;
783
+ stage: "attach" | "configure";
784
+ } | {
785
+ accountJSON: string;
786
+ apiVersion: string;
787
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
788
+ authorizationId: string;
789
+ authorizationRevision: number;
790
+ authorizationScope: string;
791
+ committedRevision: 1;
792
+ firstDispatchedAt: number;
793
+ key: string;
794
+ logicalOperationId: string;
795
+ operationId: import("convex/values").GenericId<"renewalOperations">;
796
+ ordinal: 1;
797
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
798
+ preparedRevision: 0;
799
+ recordJSON: string;
800
+ recordVersion: 2;
801
+ requestBinding: string;
802
+ stage: "attach";
803
+ timingPolicyJSON: string;
804
+ };
805
+ }, {
806
+ disposition: import("convex/values").VLiteral<"acquired", "required">;
807
+ previousRevision: import("convex/values").VLiteral<0, "required">;
808
+ committedRevision: import("convex/values").VLiteral<1, "required">;
809
+ reservation: import("convex/values").VUnion<{
810
+ accountJSON: string;
811
+ apiVersion: string;
812
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
813
+ authorizationId: string;
814
+ authorizationRevision: number;
815
+ authorizationScope: string;
816
+ basisJSON: string;
817
+ committedRevision: 1;
818
+ firstDispatchedAt: number;
819
+ key: string;
820
+ logicalOperationId: string;
821
+ operationId: import("convex/values").GenericId<"renewalOperations">;
822
+ ordinal: 1;
823
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
824
+ preparedRevision: 0;
825
+ recordJSON: string;
826
+ requestBinding: string;
827
+ stage: "attach" | "configure";
828
+ } | {
829
+ accountJSON: string;
830
+ apiVersion: string;
831
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
832
+ authorizationId: string;
833
+ authorizationRevision: number;
834
+ authorizationScope: string;
835
+ committedRevision: 1;
836
+ firstDispatchedAt: number;
837
+ key: string;
838
+ logicalOperationId: string;
839
+ operationId: import("convex/values").GenericId<"renewalOperations">;
840
+ ordinal: 1;
841
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
842
+ preparedRevision: 0;
843
+ recordJSON: string;
844
+ recordVersion: 2;
845
+ requestBinding: string;
846
+ stage: "attach";
847
+ timingPolicyJSON: string;
848
+ }, [import("convex/values").VObject<{
849
+ accountJSON: string;
850
+ apiVersion: string;
851
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
852
+ authorizationId: string;
853
+ authorizationRevision: number;
854
+ authorizationScope: string;
855
+ basisJSON: string;
856
+ committedRevision: 1;
857
+ firstDispatchedAt: number;
858
+ key: string;
859
+ logicalOperationId: string;
860
+ operationId: import("convex/values").GenericId<"renewalOperations">;
861
+ ordinal: 1;
862
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
863
+ preparedRevision: 0;
864
+ recordJSON: string;
865
+ requestBinding: string;
866
+ stage: "attach" | "configure";
867
+ }, {
868
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
869
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
870
+ authorizationScope: import("convex/values").VString<string, "required">;
871
+ authorizationId: import("convex/values").VString<string, "required">;
872
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
873
+ logicalOperationId: import("convex/values").VString<string, "required">;
874
+ requestBinding: import("convex/values").VString<string, "required">;
875
+ key: import("convex/values").VString<string, "required">;
876
+ apiVersion: import("convex/values").VString<string, "required">;
877
+ accountJSON: import("convex/values").VString<string, "required">;
878
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
879
+ ordinal: import("convex/values").VLiteral<1, "required">;
880
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
881
+ committedRevision: import("convex/values").VLiteral<1, "required">;
882
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
883
+ basisJSON: import("convex/values").VString<string, "required">;
884
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
885
+ recordJSON: import("convex/values").VString<string, "required">;
886
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "requestBinding" | "stage">, import("convex/values").VObject<{
887
+ accountJSON: string;
888
+ apiVersion: string;
889
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
890
+ authorizationId: string;
891
+ authorizationRevision: number;
892
+ authorizationScope: string;
893
+ committedRevision: 1;
894
+ firstDispatchedAt: number;
895
+ key: string;
896
+ logicalOperationId: string;
897
+ operationId: import("convex/values").GenericId<"renewalOperations">;
898
+ ordinal: 1;
899
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
900
+ preparedRevision: 0;
901
+ recordJSON: string;
902
+ recordVersion: 2;
903
+ requestBinding: string;
904
+ stage: "attach";
905
+ timingPolicyJSON: string;
906
+ }, {
907
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
908
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
909
+ authorizationScope: import("convex/values").VString<string, "required">;
910
+ authorizationId: import("convex/values").VString<string, "required">;
911
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
912
+ logicalOperationId: import("convex/values").VString<string, "required">;
913
+ requestBinding: import("convex/values").VString<string, "required">;
914
+ key: import("convex/values").VString<string, "required">;
915
+ apiVersion: import("convex/values").VString<string, "required">;
916
+ accountJSON: import("convex/values").VString<string, "required">;
917
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
918
+ ordinal: import("convex/values").VLiteral<1, "required">;
919
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
920
+ committedRevision: import("convex/values").VLiteral<1, "required">;
921
+ recordVersion: import("convex/values").VLiteral<2, "required">;
922
+ stage: import("convex/values").VLiteral<"attach", "required">;
923
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
924
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
925
+ recordJSON: import("convex/values").VString<string, "required">;
926
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
927
+ }, "required", "committedRevision" | "disposition" | "previousRevision" | "reservation" | "reservation.accountJSON" | "reservation.apiVersion" | "reservation.attemptId" | "reservation.authorizationId" | "reservation.authorizationRevision" | "reservation.authorizationScope" | "reservation.basisJSON" | "reservation.committedRevision" | "reservation.firstDispatchedAt" | "reservation.key" | "reservation.logicalOperationId" | "reservation.operationId" | "reservation.ordinal" | "reservation.payloadId" | "reservation.preparedRevision" | "reservation.recordJSON" | "reservation.recordVersion" | "reservation.requestBinding" | "reservation.stage" | "reservation.timingPolicyJSON">, import("convex/values").VObject<{
928
+ committedRevision: 1;
929
+ disposition: "existing";
930
+ reservation: {
931
+ accountJSON: string;
932
+ apiVersion: string;
933
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
934
+ authorizationId: string;
935
+ authorizationRevision: number;
936
+ authorizationScope: string;
937
+ basisJSON: string;
938
+ committedRevision: 1;
939
+ firstDispatchedAt: number;
940
+ key: string;
941
+ logicalOperationId: string;
942
+ operationId: import("convex/values").GenericId<"renewalOperations">;
943
+ ordinal: 1;
944
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
945
+ preparedRevision: 0;
946
+ recordJSON: string;
947
+ requestBinding: string;
948
+ stage: "attach" | "configure";
949
+ } | {
950
+ accountJSON: string;
951
+ apiVersion: string;
952
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
953
+ authorizationId: string;
954
+ authorizationRevision: number;
955
+ authorizationScope: string;
956
+ committedRevision: 1;
957
+ firstDispatchedAt: number;
958
+ key: string;
959
+ logicalOperationId: string;
960
+ operationId: import("convex/values").GenericId<"renewalOperations">;
961
+ ordinal: 1;
962
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
963
+ preparedRevision: 0;
964
+ recordJSON: string;
965
+ recordVersion: 2;
966
+ requestBinding: string;
967
+ stage: "attach";
968
+ timingPolicyJSON: string;
969
+ };
970
+ }, {
971
+ disposition: import("convex/values").VLiteral<"existing", "required">;
972
+ committedRevision: import("convex/values").VLiteral<1, "required">;
973
+ reservation: import("convex/values").VUnion<{
974
+ accountJSON: string;
975
+ apiVersion: string;
976
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
977
+ authorizationId: string;
978
+ authorizationRevision: number;
979
+ authorizationScope: string;
980
+ basisJSON: string;
981
+ committedRevision: 1;
982
+ firstDispatchedAt: number;
983
+ key: string;
984
+ logicalOperationId: string;
985
+ operationId: import("convex/values").GenericId<"renewalOperations">;
986
+ ordinal: 1;
987
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
988
+ preparedRevision: 0;
989
+ recordJSON: string;
990
+ requestBinding: string;
991
+ stage: "attach" | "configure";
992
+ } | {
993
+ accountJSON: string;
994
+ apiVersion: string;
995
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
996
+ authorizationId: string;
997
+ authorizationRevision: number;
998
+ authorizationScope: string;
999
+ committedRevision: 1;
1000
+ firstDispatchedAt: number;
1001
+ key: string;
1002
+ logicalOperationId: string;
1003
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1004
+ ordinal: 1;
1005
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1006
+ preparedRevision: 0;
1007
+ recordJSON: string;
1008
+ recordVersion: 2;
1009
+ requestBinding: string;
1010
+ stage: "attach";
1011
+ timingPolicyJSON: string;
1012
+ }, [import("convex/values").VObject<{
1013
+ accountJSON: string;
1014
+ apiVersion: string;
1015
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1016
+ authorizationId: string;
1017
+ authorizationRevision: number;
1018
+ authorizationScope: string;
1019
+ basisJSON: string;
1020
+ committedRevision: 1;
1021
+ firstDispatchedAt: number;
1022
+ key: string;
1023
+ logicalOperationId: string;
1024
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1025
+ ordinal: 1;
1026
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1027
+ preparedRevision: 0;
1028
+ recordJSON: string;
1029
+ requestBinding: string;
1030
+ stage: "attach" | "configure";
1031
+ }, {
1032
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1033
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1034
+ authorizationScope: import("convex/values").VString<string, "required">;
1035
+ authorizationId: import("convex/values").VString<string, "required">;
1036
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1037
+ logicalOperationId: import("convex/values").VString<string, "required">;
1038
+ requestBinding: import("convex/values").VString<string, "required">;
1039
+ key: import("convex/values").VString<string, "required">;
1040
+ apiVersion: import("convex/values").VString<string, "required">;
1041
+ accountJSON: import("convex/values").VString<string, "required">;
1042
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1043
+ ordinal: import("convex/values").VLiteral<1, "required">;
1044
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1045
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1046
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1047
+ basisJSON: import("convex/values").VString<string, "required">;
1048
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1049
+ recordJSON: import("convex/values").VString<string, "required">;
1050
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "requestBinding" | "stage">, import("convex/values").VObject<{
1051
+ accountJSON: string;
1052
+ apiVersion: string;
1053
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1054
+ authorizationId: string;
1055
+ authorizationRevision: number;
1056
+ authorizationScope: string;
1057
+ committedRevision: 1;
1058
+ firstDispatchedAt: number;
1059
+ key: string;
1060
+ logicalOperationId: string;
1061
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1062
+ ordinal: 1;
1063
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1064
+ preparedRevision: 0;
1065
+ recordJSON: string;
1066
+ recordVersion: 2;
1067
+ requestBinding: string;
1068
+ stage: "attach";
1069
+ timingPolicyJSON: string;
1070
+ }, {
1071
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1072
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1073
+ authorizationScope: import("convex/values").VString<string, "required">;
1074
+ authorizationId: import("convex/values").VString<string, "required">;
1075
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1076
+ logicalOperationId: import("convex/values").VString<string, "required">;
1077
+ requestBinding: import("convex/values").VString<string, "required">;
1078
+ key: import("convex/values").VString<string, "required">;
1079
+ apiVersion: import("convex/values").VString<string, "required">;
1080
+ accountJSON: import("convex/values").VString<string, "required">;
1081
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1082
+ ordinal: import("convex/values").VLiteral<1, "required">;
1083
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1084
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1085
+ recordVersion: import("convex/values").VLiteral<2, "required">;
1086
+ stage: import("convex/values").VLiteral<"attach", "required">;
1087
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
1088
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1089
+ recordJSON: import("convex/values").VString<string, "required">;
1090
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
1091
+ }, "required", "committedRevision" | "disposition" | "reservation" | "reservation.accountJSON" | "reservation.apiVersion" | "reservation.attemptId" | "reservation.authorizationId" | "reservation.authorizationRevision" | "reservation.authorizationScope" | "reservation.basisJSON" | "reservation.committedRevision" | "reservation.firstDispatchedAt" | "reservation.key" | "reservation.logicalOperationId" | "reservation.operationId" | "reservation.ordinal" | "reservation.payloadId" | "reservation.preparedRevision" | "reservation.recordJSON" | "reservation.recordVersion" | "reservation.requestBinding" | "reservation.stage" | "reservation.timingPolicyJSON">, import("convex/values").VObject<{
1092
+ disposition: "conflict";
1093
+ reason: "identity_changed";
1094
+ }, {
1095
+ disposition: import("convex/values").VLiteral<"conflict", "required">;
1096
+ reason: import("convex/values").VLiteral<"identity_changed", "required">;
1097
+ }, "required", "disposition" | "reason">], "required", "committedRevision" | "disposition" | "previousRevision" | "reason" | "reservation" | "reservation.accountJSON" | "reservation.apiVersion" | "reservation.attemptId" | "reservation.authorizationId" | "reservation.authorizationRevision" | "reservation.authorizationScope" | "reservation.basisJSON" | "reservation.committedRevision" | "reservation.firstDispatchedAt" | "reservation.key" | "reservation.logicalOperationId" | "reservation.operationId" | "reservation.ordinal" | "reservation.payloadId" | "reservation.preparedRevision" | "reservation.recordJSON" | "reservation.recordVersion" | "reservation.requestBinding" | "reservation.stage" | "reservation.timingPolicyJSON">;
1098
+ export declare const loadedResult: import("convex/values").VUnion<{
1099
+ activeAttempt: null;
1100
+ initialBasis: null;
1101
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1102
+ recordJSON: string;
1103
+ recordVersion: 2;
1104
+ revision: 0;
1105
+ } | {
1106
+ activeAttempt: {
1107
+ accountJSON: string;
1108
+ apiVersion: string;
1109
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1110
+ authorizationId: string;
1111
+ authorizationRevision: number;
1112
+ authorizationScope: string;
1113
+ committedRevision: 1;
1114
+ firstDispatchedAt: number;
1115
+ key: string;
1116
+ logicalOperationId: string;
1117
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1118
+ ordinal: 1;
1119
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1120
+ preparedRevision: 0;
1121
+ recordVersion: 2;
1122
+ requestBinding: string;
1123
+ stage: "attach";
1124
+ timingPolicyJSON: string;
1125
+ };
1126
+ initialBasis: {
1127
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1128
+ basisJSON: string;
1129
+ policyJSON: string;
1130
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1131
+ stage: "attach";
1132
+ version: 1;
1133
+ } | null;
1134
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1135
+ recordJSON: string;
1136
+ recordVersion: 2;
1137
+ revision: 1;
1138
+ } | {
1139
+ activeAttempt: {
1140
+ accountJSON: string;
1141
+ apiVersion: string;
1142
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1143
+ authorizationId: string;
1144
+ authorizationRevision: number;
1145
+ authorizationScope: string;
1146
+ basisJSON: string;
1147
+ committedRevision: 1;
1148
+ firstDispatchedAt: number;
1149
+ key: string;
1150
+ logicalOperationId: string;
1151
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1152
+ ordinal: 1;
1153
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1154
+ preparedRevision: 0;
1155
+ requestBinding: string;
1156
+ stage: "attach" | "configure";
1157
+ } | null;
1158
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1159
+ recordJSON: string;
1160
+ revision: 0 | 1;
1161
+ } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
1162
+ activeAttempt: null;
1163
+ initialBasis: null;
1164
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1165
+ recordJSON: string;
1166
+ recordVersion: 2;
1167
+ revision: 0;
1168
+ }, {
1169
+ recordVersion: import("convex/values").VLiteral<2, "required">;
1170
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1171
+ recordJSON: import("convex/values").VString<string, "required">;
1172
+ revision: import("convex/values").VLiteral<0, "required">;
1173
+ activeAttempt: import("convex/values").VNull<null, "required">;
1174
+ initialBasis: import("convex/values").VNull<null, "required">;
1175
+ }, "required", "activeAttempt" | "initialBasis" | "operationId" | "recordJSON" | "recordVersion" | "revision">, import("convex/values").VObject<{
1176
+ activeAttempt: {
1177
+ accountJSON: string;
1178
+ apiVersion: string;
1179
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1180
+ authorizationId: string;
1181
+ authorizationRevision: number;
1182
+ authorizationScope: string;
1183
+ committedRevision: 1;
1184
+ firstDispatchedAt: number;
1185
+ key: string;
1186
+ logicalOperationId: string;
1187
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1188
+ ordinal: 1;
1189
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1190
+ preparedRevision: 0;
1191
+ recordVersion: 2;
1192
+ requestBinding: string;
1193
+ stage: "attach";
1194
+ timingPolicyJSON: string;
1195
+ };
1196
+ initialBasis: {
1197
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1198
+ basisJSON: string;
1199
+ policyJSON: string;
1200
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1201
+ stage: "attach";
1202
+ version: 1;
1203
+ } | null;
1204
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1205
+ recordJSON: string;
1206
+ recordVersion: 2;
1207
+ revision: 1;
1208
+ }, {
1209
+ recordVersion: import("convex/values").VLiteral<2, "required">;
1210
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1211
+ recordJSON: import("convex/values").VString<string, "required">;
1212
+ revision: import("convex/values").VLiteral<1, "required">;
1213
+ activeAttempt: import("convex/values").VObject<{
1214
+ accountJSON: string;
1215
+ apiVersion: string;
1216
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1217
+ authorizationId: string;
1218
+ authorizationRevision: number;
1219
+ authorizationScope: string;
1220
+ committedRevision: 1;
1221
+ firstDispatchedAt: number;
1222
+ key: string;
1223
+ logicalOperationId: string;
1224
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1225
+ ordinal: 1;
1226
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1227
+ preparedRevision: 0;
1228
+ recordVersion: 2;
1229
+ requestBinding: string;
1230
+ stage: "attach";
1231
+ timingPolicyJSON: string;
1232
+ }, {
1233
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1234
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1235
+ authorizationScope: import("convex/values").VString<string, "required">;
1236
+ authorizationId: import("convex/values").VString<string, "required">;
1237
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1238
+ logicalOperationId: import("convex/values").VString<string, "required">;
1239
+ requestBinding: import("convex/values").VString<string, "required">;
1240
+ key: import("convex/values").VString<string, "required">;
1241
+ apiVersion: import("convex/values").VString<string, "required">;
1242
+ accountJSON: import("convex/values").VString<string, "required">;
1243
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1244
+ ordinal: import("convex/values").VLiteral<1, "required">;
1245
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1246
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1247
+ recordVersion: import("convex/values").VLiteral<2, "required">;
1248
+ stage: import("convex/values").VLiteral<"attach", "required">;
1249
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
1250
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1251
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
1252
+ initialBasis: import("convex/values").VUnion<{
1253
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1254
+ basisJSON: string;
1255
+ policyJSON: string;
1256
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1257
+ stage: "attach";
1258
+ version: 1;
1259
+ } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
1260
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1261
+ basisJSON: string;
1262
+ policyJSON: string;
1263
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1264
+ stage: "attach";
1265
+ version: 1;
1266
+ }, {
1267
+ version: import("convex/values").VLiteral<1, "required">;
1268
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1269
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1270
+ stage: import("convex/values").VLiteral<"attach", "required">;
1271
+ policyJSON: import("convex/values").VString<string, "required">;
1272
+ basisJSON: import("convex/values").VString<string, "required">;
1273
+ }, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">], "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
1274
+ }, "required", "activeAttempt" | "activeAttempt.accountJSON" | "activeAttempt.apiVersion" | "activeAttempt.attemptId" | "activeAttempt.authorizationId" | "activeAttempt.authorizationRevision" | "activeAttempt.authorizationScope" | "activeAttempt.committedRevision" | "activeAttempt.firstDispatchedAt" | "activeAttempt.key" | "activeAttempt.logicalOperationId" | "activeAttempt.operationId" | "activeAttempt.ordinal" | "activeAttempt.payloadId" | "activeAttempt.preparedRevision" | "activeAttempt.recordVersion" | "activeAttempt.requestBinding" | "activeAttempt.stage" | "activeAttempt.timingPolicyJSON" | "initialBasis" | "initialBasis.attemptId" | "initialBasis.basisJSON" | "initialBasis.policyJSON" | "initialBasis.sourcePayloadId" | "initialBasis.stage" | "initialBasis.version" | "operationId" | "recordJSON" | "recordVersion" | "revision">, import("convex/values").VObject<{
1275
+ activeAttempt: {
1276
+ accountJSON: string;
1277
+ apiVersion: string;
1278
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1279
+ authorizationId: string;
1280
+ authorizationRevision: number;
1281
+ authorizationScope: string;
1282
+ basisJSON: string;
1283
+ committedRevision: 1;
1284
+ firstDispatchedAt: number;
1285
+ key: string;
1286
+ logicalOperationId: string;
1287
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1288
+ ordinal: 1;
1289
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1290
+ preparedRevision: 0;
1291
+ requestBinding: string;
1292
+ stage: "attach" | "configure";
1293
+ } | null;
1294
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1295
+ recordJSON: string;
1296
+ revision: 0 | 1;
1297
+ }, {
1298
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1299
+ recordJSON: import("convex/values").VString<string, "required">;
1300
+ revision: import("convex/values").VUnion<0 | 1, [import("convex/values").VLiteral<0, "required">, import("convex/values").VLiteral<1, "required">], "required", never>;
1301
+ activeAttempt: import("convex/values").VUnion<{
1302
+ accountJSON: string;
1303
+ apiVersion: string;
1304
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1305
+ authorizationId: string;
1306
+ authorizationRevision: number;
1307
+ authorizationScope: string;
1308
+ basisJSON: string;
1309
+ committedRevision: 1;
1310
+ firstDispatchedAt: number;
1311
+ key: string;
1312
+ logicalOperationId: string;
1313
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1314
+ ordinal: 1;
1315
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1316
+ preparedRevision: 0;
1317
+ requestBinding: string;
1318
+ stage: "attach" | "configure";
1319
+ } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
1320
+ accountJSON: string;
1321
+ apiVersion: string;
1322
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1323
+ authorizationId: string;
1324
+ authorizationRevision: number;
1325
+ authorizationScope: string;
1326
+ basisJSON: string;
1327
+ committedRevision: 1;
1328
+ firstDispatchedAt: number;
1329
+ key: string;
1330
+ logicalOperationId: string;
1331
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1332
+ ordinal: 1;
1333
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1334
+ preparedRevision: 0;
1335
+ requestBinding: string;
1336
+ stage: "attach" | "configure";
1337
+ }, {
1338
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1339
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1340
+ authorizationScope: import("convex/values").VString<string, "required">;
1341
+ authorizationId: import("convex/values").VString<string, "required">;
1342
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1343
+ logicalOperationId: import("convex/values").VString<string, "required">;
1344
+ requestBinding: import("convex/values").VString<string, "required">;
1345
+ key: import("convex/values").VString<string, "required">;
1346
+ apiVersion: import("convex/values").VString<string, "required">;
1347
+ accountJSON: import("convex/values").VString<string, "required">;
1348
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1349
+ ordinal: import("convex/values").VLiteral<1, "required">;
1350
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1351
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1352
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1353
+ basisJSON: import("convex/values").VString<string, "required">;
1354
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1355
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "requestBinding" | "stage">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "requestBinding" | "stage">;
1356
+ }, "required", "activeAttempt" | "activeAttempt.accountJSON" | "activeAttempt.apiVersion" | "activeAttempt.attemptId" | "activeAttempt.authorizationId" | "activeAttempt.authorizationRevision" | "activeAttempt.authorizationScope" | "activeAttempt.basisJSON" | "activeAttempt.committedRevision" | "activeAttempt.firstDispatchedAt" | "activeAttempt.key" | "activeAttempt.logicalOperationId" | "activeAttempt.operationId" | "activeAttempt.ordinal" | "activeAttempt.payloadId" | "activeAttempt.preparedRevision" | "activeAttempt.requestBinding" | "activeAttempt.stage" | "operationId" | "recordJSON" | "revision">], "required", "activeAttempt" | "activeAttempt.accountJSON" | "activeAttempt.apiVersion" | "activeAttempt.attemptId" | "activeAttempt.authorizationId" | "activeAttempt.authorizationRevision" | "activeAttempt.authorizationScope" | "activeAttempt.basisJSON" | "activeAttempt.committedRevision" | "activeAttempt.firstDispatchedAt" | "activeAttempt.key" | "activeAttempt.logicalOperationId" | "activeAttempt.operationId" | "activeAttempt.ordinal" | "activeAttempt.payloadId" | "activeAttempt.preparedRevision" | "activeAttempt.recordVersion" | "activeAttempt.requestBinding" | "activeAttempt.stage" | "activeAttempt.timingPolicyJSON" | "initialBasis" | "initialBasis.attemptId" | "initialBasis.basisJSON" | "initialBasis.policyJSON" | "initialBasis.sourcePayloadId" | "initialBasis.stage" | "initialBasis.version" | "operationId" | "recordJSON" | "recordVersion" | "revision">;
1357
+ export declare const eventsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
1358
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1359
+ binding: string;
1360
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1361
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1362
+ sequence: 1 | 2 | 3;
1363
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1364
+ stage: "attach" | "configure";
1365
+ }, {
1366
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1367
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1368
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1369
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1370
+ sequence: 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>;
1371
+ binding: import("convex/values").VString<string, "required">;
1372
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1373
+ }, "required", "attemptId" | "binding" | "operationId" | "payloadId" | "sequence" | "sourcePayloadId" | "stage">, {
1374
+ by_attemptId_and_sequence: ["attemptId", "sequence", "_creationTime"];
1375
+ }, {}, {}>;
1376
+ export declare const appendArgs: {
1377
+ reservation: import("convex/values").VUnion<{
1378
+ accountJSON: string;
1379
+ apiVersion: string;
1380
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1381
+ authorizationId: string;
1382
+ authorizationRevision: number;
1383
+ authorizationScope: string;
1384
+ basisJSON: string;
1385
+ committedRevision: 1;
1386
+ firstDispatchedAt: number;
1387
+ key: string;
1388
+ logicalOperationId: string;
1389
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1390
+ ordinal: 1;
1391
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1392
+ preparedRevision: 0;
1393
+ recordJSON: string;
1394
+ requestBinding: string;
1395
+ stage: "attach" | "configure";
1396
+ } | {
1397
+ accountJSON: string;
1398
+ apiVersion: string;
1399
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1400
+ authorizationId: string;
1401
+ authorizationRevision: number;
1402
+ authorizationScope: string;
1403
+ committedRevision: 1;
1404
+ firstDispatchedAt: number;
1405
+ key: string;
1406
+ logicalOperationId: string;
1407
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1408
+ ordinal: 1;
1409
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1410
+ preparedRevision: 0;
1411
+ recordJSON: string;
1412
+ recordVersion: 2;
1413
+ requestBinding: string;
1414
+ stage: "attach";
1415
+ timingPolicyJSON: string;
1416
+ }, [import("convex/values").VObject<{
1417
+ accountJSON: string;
1418
+ apiVersion: string;
1419
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1420
+ authorizationId: string;
1421
+ authorizationRevision: number;
1422
+ authorizationScope: string;
1423
+ basisJSON: string;
1424
+ committedRevision: 1;
1425
+ firstDispatchedAt: number;
1426
+ key: string;
1427
+ logicalOperationId: string;
1428
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1429
+ ordinal: 1;
1430
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1431
+ preparedRevision: 0;
1432
+ recordJSON: string;
1433
+ requestBinding: string;
1434
+ stage: "attach" | "configure";
1435
+ }, {
1436
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1437
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1438
+ authorizationScope: import("convex/values").VString<string, "required">;
1439
+ authorizationId: import("convex/values").VString<string, "required">;
1440
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1441
+ logicalOperationId: import("convex/values").VString<string, "required">;
1442
+ requestBinding: import("convex/values").VString<string, "required">;
1443
+ key: import("convex/values").VString<string, "required">;
1444
+ apiVersion: import("convex/values").VString<string, "required">;
1445
+ accountJSON: import("convex/values").VString<string, "required">;
1446
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1447
+ ordinal: import("convex/values").VLiteral<1, "required">;
1448
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1449
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1450
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1451
+ basisJSON: import("convex/values").VString<string, "required">;
1452
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1453
+ recordJSON: import("convex/values").VString<string, "required">;
1454
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "requestBinding" | "stage">, import("convex/values").VObject<{
1455
+ accountJSON: string;
1456
+ apiVersion: string;
1457
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1458
+ authorizationId: string;
1459
+ authorizationRevision: number;
1460
+ authorizationScope: string;
1461
+ committedRevision: 1;
1462
+ firstDispatchedAt: number;
1463
+ key: string;
1464
+ logicalOperationId: string;
1465
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1466
+ ordinal: 1;
1467
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1468
+ preparedRevision: 0;
1469
+ recordJSON: string;
1470
+ recordVersion: 2;
1471
+ requestBinding: string;
1472
+ stage: "attach";
1473
+ timingPolicyJSON: string;
1474
+ }, {
1475
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1476
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1477
+ authorizationScope: import("convex/values").VString<string, "required">;
1478
+ authorizationId: import("convex/values").VString<string, "required">;
1479
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1480
+ logicalOperationId: import("convex/values").VString<string, "required">;
1481
+ requestBinding: import("convex/values").VString<string, "required">;
1482
+ key: import("convex/values").VString<string, "required">;
1483
+ apiVersion: import("convex/values").VString<string, "required">;
1484
+ accountJSON: import("convex/values").VString<string, "required">;
1485
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1486
+ ordinal: import("convex/values").VLiteral<1, "required">;
1487
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1488
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1489
+ recordVersion: import("convex/values").VLiteral<2, "required">;
1490
+ stage: import("convex/values").VLiteral<"attach", "required">;
1491
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
1492
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1493
+ recordJSON: import("convex/values").VString<string, "required">;
1494
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
1495
+ expectedSequence: import("convex/values").VFloat64<number, "required">;
1496
+ event: import("convex/values").VObject<{
1497
+ binding: string;
1498
+ dataJSON: string;
1499
+ sequence: 1 | 2 | 3;
1500
+ }, {
1501
+ sequence: 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>;
1502
+ binding: import("convex/values").VString<string, "required">;
1503
+ dataJSON: import("convex/values").VString<string, "required">;
1504
+ }, "required", "binding" | "dataJSON" | "sequence">;
1505
+ };
1506
+ export declare const eventReceipt: import("convex/values").VObject<{
1507
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1508
+ binding: string;
1509
+ eventId: import("convex/values").GenericId<"renewalOperationEvents">;
1510
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1511
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1512
+ reservation: {
1513
+ accountJSON: string;
1514
+ apiVersion: string;
1515
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1516
+ authorizationId: string;
1517
+ authorizationRevision: number;
1518
+ authorizationScope: string;
1519
+ basisJSON: string;
1520
+ committedRevision: 1;
1521
+ firstDispatchedAt: number;
1522
+ key: string;
1523
+ logicalOperationId: string;
1524
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1525
+ ordinal: 1;
1526
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1527
+ preparedRevision: 0;
1528
+ recordJSON: string;
1529
+ requestBinding: string;
1530
+ stage: "attach" | "configure";
1531
+ } | {
1532
+ accountJSON: string;
1533
+ apiVersion: string;
1534
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1535
+ authorizationId: string;
1536
+ authorizationRevision: number;
1537
+ authorizationScope: string;
1538
+ committedRevision: 1;
1539
+ firstDispatchedAt: number;
1540
+ key: string;
1541
+ logicalOperationId: string;
1542
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1543
+ ordinal: 1;
1544
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1545
+ preparedRevision: 0;
1546
+ recordJSON: string;
1547
+ recordVersion: 2;
1548
+ requestBinding: string;
1549
+ stage: "attach";
1550
+ timingPolicyJSON: string;
1551
+ };
1552
+ sequence: 1 | 2 | 3;
1553
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1554
+ stage: "attach" | "configure";
1555
+ }, {
1556
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1557
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1558
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1559
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1560
+ sequence: 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>;
1561
+ binding: import("convex/values").VString<string, "required">;
1562
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1563
+ eventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
1564
+ reservation: import("convex/values").VUnion<{
1565
+ accountJSON: string;
1566
+ apiVersion: string;
1567
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1568
+ authorizationId: string;
1569
+ authorizationRevision: number;
1570
+ authorizationScope: string;
1571
+ basisJSON: string;
1572
+ committedRevision: 1;
1573
+ firstDispatchedAt: number;
1574
+ key: string;
1575
+ logicalOperationId: string;
1576
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1577
+ ordinal: 1;
1578
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1579
+ preparedRevision: 0;
1580
+ recordJSON: string;
1581
+ requestBinding: string;
1582
+ stage: "attach" | "configure";
1583
+ } | {
1584
+ accountJSON: string;
1585
+ apiVersion: string;
1586
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1587
+ authorizationId: string;
1588
+ authorizationRevision: number;
1589
+ authorizationScope: string;
1590
+ committedRevision: 1;
1591
+ firstDispatchedAt: number;
1592
+ key: string;
1593
+ logicalOperationId: string;
1594
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1595
+ ordinal: 1;
1596
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1597
+ preparedRevision: 0;
1598
+ recordJSON: string;
1599
+ recordVersion: 2;
1600
+ requestBinding: string;
1601
+ stage: "attach";
1602
+ timingPolicyJSON: string;
1603
+ }, [import("convex/values").VObject<{
1604
+ accountJSON: string;
1605
+ apiVersion: string;
1606
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1607
+ authorizationId: string;
1608
+ authorizationRevision: number;
1609
+ authorizationScope: string;
1610
+ basisJSON: string;
1611
+ committedRevision: 1;
1612
+ firstDispatchedAt: number;
1613
+ key: string;
1614
+ logicalOperationId: string;
1615
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1616
+ ordinal: 1;
1617
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1618
+ preparedRevision: 0;
1619
+ recordJSON: string;
1620
+ requestBinding: string;
1621
+ stage: "attach" | "configure";
1622
+ }, {
1623
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1624
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1625
+ authorizationScope: import("convex/values").VString<string, "required">;
1626
+ authorizationId: import("convex/values").VString<string, "required">;
1627
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1628
+ logicalOperationId: import("convex/values").VString<string, "required">;
1629
+ requestBinding: import("convex/values").VString<string, "required">;
1630
+ key: import("convex/values").VString<string, "required">;
1631
+ apiVersion: import("convex/values").VString<string, "required">;
1632
+ accountJSON: import("convex/values").VString<string, "required">;
1633
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1634
+ ordinal: import("convex/values").VLiteral<1, "required">;
1635
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1636
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1637
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1638
+ basisJSON: import("convex/values").VString<string, "required">;
1639
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1640
+ recordJSON: import("convex/values").VString<string, "required">;
1641
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "requestBinding" | "stage">, import("convex/values").VObject<{
1642
+ accountJSON: string;
1643
+ apiVersion: string;
1644
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1645
+ authorizationId: string;
1646
+ authorizationRevision: number;
1647
+ authorizationScope: string;
1648
+ committedRevision: 1;
1649
+ firstDispatchedAt: number;
1650
+ key: string;
1651
+ logicalOperationId: string;
1652
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1653
+ ordinal: 1;
1654
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1655
+ preparedRevision: 0;
1656
+ recordJSON: string;
1657
+ recordVersion: 2;
1658
+ requestBinding: string;
1659
+ stage: "attach";
1660
+ timingPolicyJSON: string;
1661
+ }, {
1662
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1663
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1664
+ authorizationScope: import("convex/values").VString<string, "required">;
1665
+ authorizationId: import("convex/values").VString<string, "required">;
1666
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1667
+ logicalOperationId: import("convex/values").VString<string, "required">;
1668
+ requestBinding: import("convex/values").VString<string, "required">;
1669
+ key: import("convex/values").VString<string, "required">;
1670
+ apiVersion: import("convex/values").VString<string, "required">;
1671
+ accountJSON: import("convex/values").VString<string, "required">;
1672
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1673
+ ordinal: import("convex/values").VLiteral<1, "required">;
1674
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1675
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1676
+ recordVersion: import("convex/values").VLiteral<2, "required">;
1677
+ stage: import("convex/values").VLiteral<"attach", "required">;
1678
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
1679
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1680
+ recordJSON: import("convex/values").VString<string, "required">;
1681
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
1682
+ }, "required", "attemptId" | "binding" | "eventId" | "operationId" | "payloadId" | "reservation" | "reservation.accountJSON" | "reservation.apiVersion" | "reservation.attemptId" | "reservation.authorizationId" | "reservation.authorizationRevision" | "reservation.authorizationScope" | "reservation.basisJSON" | "reservation.committedRevision" | "reservation.firstDispatchedAt" | "reservation.key" | "reservation.logicalOperationId" | "reservation.operationId" | "reservation.ordinal" | "reservation.payloadId" | "reservation.preparedRevision" | "reservation.recordJSON" | "reservation.recordVersion" | "reservation.requestBinding" | "reservation.stage" | "reservation.timingPolicyJSON" | "sequence" | "sourcePayloadId" | "stage">;
1683
+ export declare const eventDescriptor: import("convex/values").VObject<{
1684
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1685
+ binding: string;
1686
+ eventId: import("convex/values").GenericId<"renewalOperationEvents">;
1687
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1688
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1689
+ sequence: 1 | 2 | 3;
1690
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1691
+ stage: "attach" | "configure";
1692
+ }, {
1693
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1694
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1695
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1696
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1697
+ sequence: 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>;
1698
+ binding: import("convex/values").VString<string, "required">;
1699
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1700
+ eventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
1701
+ }, "required", "attemptId" | "binding" | "eventId" | "operationId" | "payloadId" | "sequence" | "sourcePayloadId" | "stage">;
1702
+ export declare const attemptResult: import("convex/values").VUnion<{
1703
+ events: {
1704
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1705
+ binding: string;
1706
+ eventId: import("convex/values").GenericId<"renewalOperationEvents">;
1707
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1708
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1709
+ sequence: 1 | 2 | 3;
1710
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1711
+ stage: "attach" | "configure";
1712
+ }[];
1713
+ reservation: {
1714
+ accountJSON: string;
1715
+ apiVersion: string;
1716
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1717
+ authorizationId: string;
1718
+ authorizationRevision: number;
1719
+ authorizationScope: string;
1720
+ basisJSON: string;
1721
+ committedRevision: 1;
1722
+ firstDispatchedAt: number;
1723
+ key: string;
1724
+ logicalOperationId: string;
1725
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1726
+ ordinal: 1;
1727
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1728
+ preparedRevision: 0;
1729
+ recordJSON: string;
1730
+ requestBinding: string;
1731
+ stage: "attach" | "configure";
1732
+ } | {
1733
+ accountJSON: string;
1734
+ apiVersion: string;
1735
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1736
+ authorizationId: string;
1737
+ authorizationRevision: number;
1738
+ authorizationScope: string;
1739
+ committedRevision: 1;
1740
+ firstDispatchedAt: number;
1741
+ key: string;
1742
+ logicalOperationId: string;
1743
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1744
+ ordinal: 1;
1745
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1746
+ preparedRevision: 0;
1747
+ recordJSON: string;
1748
+ recordVersion: 2;
1749
+ requestBinding: string;
1750
+ stage: "attach";
1751
+ timingPolicyJSON: string;
1752
+ };
1753
+ } | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
1754
+ events: {
1755
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1756
+ binding: string;
1757
+ eventId: import("convex/values").GenericId<"renewalOperationEvents">;
1758
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1759
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1760
+ sequence: 1 | 2 | 3;
1761
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1762
+ stage: "attach" | "configure";
1763
+ }[];
1764
+ reservation: {
1765
+ accountJSON: string;
1766
+ apiVersion: string;
1767
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1768
+ authorizationId: string;
1769
+ authorizationRevision: number;
1770
+ authorizationScope: string;
1771
+ basisJSON: string;
1772
+ committedRevision: 1;
1773
+ firstDispatchedAt: number;
1774
+ key: string;
1775
+ logicalOperationId: string;
1776
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1777
+ ordinal: 1;
1778
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1779
+ preparedRevision: 0;
1780
+ recordJSON: string;
1781
+ requestBinding: string;
1782
+ stage: "attach" | "configure";
1783
+ } | {
1784
+ accountJSON: string;
1785
+ apiVersion: string;
1786
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1787
+ authorizationId: string;
1788
+ authorizationRevision: number;
1789
+ authorizationScope: string;
1790
+ committedRevision: 1;
1791
+ firstDispatchedAt: number;
1792
+ key: string;
1793
+ logicalOperationId: string;
1794
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1795
+ ordinal: 1;
1796
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1797
+ preparedRevision: 0;
1798
+ recordJSON: string;
1799
+ recordVersion: 2;
1800
+ requestBinding: string;
1801
+ stage: "attach";
1802
+ timingPolicyJSON: string;
1803
+ };
1804
+ }, {
1805
+ reservation: import("convex/values").VUnion<{
1806
+ accountJSON: string;
1807
+ apiVersion: string;
1808
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1809
+ authorizationId: string;
1810
+ authorizationRevision: number;
1811
+ authorizationScope: string;
1812
+ basisJSON: string;
1813
+ committedRevision: 1;
1814
+ firstDispatchedAt: number;
1815
+ key: string;
1816
+ logicalOperationId: string;
1817
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1818
+ ordinal: 1;
1819
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1820
+ preparedRevision: 0;
1821
+ recordJSON: string;
1822
+ requestBinding: string;
1823
+ stage: "attach" | "configure";
1824
+ } | {
1825
+ accountJSON: string;
1826
+ apiVersion: string;
1827
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1828
+ authorizationId: string;
1829
+ authorizationRevision: number;
1830
+ authorizationScope: string;
1831
+ committedRevision: 1;
1832
+ firstDispatchedAt: number;
1833
+ key: string;
1834
+ logicalOperationId: string;
1835
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1836
+ ordinal: 1;
1837
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1838
+ preparedRevision: 0;
1839
+ recordJSON: string;
1840
+ recordVersion: 2;
1841
+ requestBinding: string;
1842
+ stage: "attach";
1843
+ timingPolicyJSON: string;
1844
+ }, [import("convex/values").VObject<{
1845
+ accountJSON: string;
1846
+ apiVersion: string;
1847
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1848
+ authorizationId: string;
1849
+ authorizationRevision: number;
1850
+ authorizationScope: string;
1851
+ basisJSON: string;
1852
+ committedRevision: 1;
1853
+ firstDispatchedAt: number;
1854
+ key: string;
1855
+ logicalOperationId: string;
1856
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1857
+ ordinal: 1;
1858
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1859
+ preparedRevision: 0;
1860
+ recordJSON: string;
1861
+ requestBinding: string;
1862
+ stage: "attach" | "configure";
1863
+ }, {
1864
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1865
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1866
+ authorizationScope: import("convex/values").VString<string, "required">;
1867
+ authorizationId: import("convex/values").VString<string, "required">;
1868
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1869
+ logicalOperationId: import("convex/values").VString<string, "required">;
1870
+ requestBinding: import("convex/values").VString<string, "required">;
1871
+ key: import("convex/values").VString<string, "required">;
1872
+ apiVersion: import("convex/values").VString<string, "required">;
1873
+ accountJSON: import("convex/values").VString<string, "required">;
1874
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1875
+ ordinal: import("convex/values").VLiteral<1, "required">;
1876
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1877
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1878
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1879
+ basisJSON: import("convex/values").VString<string, "required">;
1880
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1881
+ recordJSON: import("convex/values").VString<string, "required">;
1882
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "requestBinding" | "stage">, import("convex/values").VObject<{
1883
+ accountJSON: string;
1884
+ apiVersion: string;
1885
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1886
+ authorizationId: string;
1887
+ authorizationRevision: number;
1888
+ authorizationScope: string;
1889
+ committedRevision: 1;
1890
+ firstDispatchedAt: number;
1891
+ key: string;
1892
+ logicalOperationId: string;
1893
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1894
+ ordinal: 1;
1895
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1896
+ preparedRevision: 0;
1897
+ recordJSON: string;
1898
+ recordVersion: 2;
1899
+ requestBinding: string;
1900
+ stage: "attach";
1901
+ timingPolicyJSON: string;
1902
+ }, {
1903
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1904
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1905
+ authorizationScope: import("convex/values").VString<string, "required">;
1906
+ authorizationId: import("convex/values").VString<string, "required">;
1907
+ authorizationRevision: import("convex/values").VFloat64<number, "required">;
1908
+ logicalOperationId: import("convex/values").VString<string, "required">;
1909
+ requestBinding: import("convex/values").VString<string, "required">;
1910
+ key: import("convex/values").VString<string, "required">;
1911
+ apiVersion: import("convex/values").VString<string, "required">;
1912
+ accountJSON: import("convex/values").VString<string, "required">;
1913
+ firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
1914
+ ordinal: import("convex/values").VLiteral<1, "required">;
1915
+ preparedRevision: import("convex/values").VLiteral<0, "required">;
1916
+ committedRevision: import("convex/values").VLiteral<1, "required">;
1917
+ recordVersion: import("convex/values").VLiteral<2, "required">;
1918
+ stage: import("convex/values").VLiteral<"attach", "required">;
1919
+ timingPolicyJSON: import("convex/values").VString<string, "required">;
1920
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1921
+ recordJSON: import("convex/values").VString<string, "required">;
1922
+ }, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordJSON" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
1923
+ events: import("convex/values").VArray<{
1924
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1925
+ binding: string;
1926
+ eventId: import("convex/values").GenericId<"renewalOperationEvents">;
1927
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1928
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1929
+ sequence: 1 | 2 | 3;
1930
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1931
+ stage: "attach" | "configure";
1932
+ }[], import("convex/values").VObject<{
1933
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1934
+ binding: string;
1935
+ eventId: import("convex/values").GenericId<"renewalOperationEvents">;
1936
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1937
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1938
+ sequence: 1 | 2 | 3;
1939
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1940
+ stage: "attach" | "configure";
1941
+ }, {
1942
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1943
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1944
+ stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
1945
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1946
+ sequence: 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>;
1947
+ binding: import("convex/values").VString<string, "required">;
1948
+ payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1949
+ eventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
1950
+ }, "required", "attemptId" | "binding" | "eventId" | "operationId" | "payloadId" | "sequence" | "sourcePayloadId" | "stage">, "required">;
1951
+ }, "required", "events" | "reservation" | "reservation.accountJSON" | "reservation.apiVersion" | "reservation.attemptId" | "reservation.authorizationId" | "reservation.authorizationRevision" | "reservation.authorizationScope" | "reservation.basisJSON" | "reservation.committedRevision" | "reservation.firstDispatchedAt" | "reservation.key" | "reservation.logicalOperationId" | "reservation.operationId" | "reservation.ordinal" | "reservation.payloadId" | "reservation.preparedRevision" | "reservation.recordJSON" | "reservation.recordVersion" | "reservation.requestBinding" | "reservation.stage" | "reservation.timingPolicyJSON">], "required", "events" | "reservation" | "reservation.accountJSON" | "reservation.apiVersion" | "reservation.attemptId" | "reservation.authorizationId" | "reservation.authorizationRevision" | "reservation.authorizationScope" | "reservation.basisJSON" | "reservation.committedRevision" | "reservation.firstDispatchedAt" | "reservation.key" | "reservation.logicalOperationId" | "reservation.operationId" | "reservation.ordinal" | "reservation.payloadId" | "reservation.preparedRevision" | "reservation.recordJSON" | "reservation.recordVersion" | "reservation.requestBinding" | "reservation.stage" | "reservation.timingPolicyJSON">;
1952
+ export declare const bindInitialBasisArgs: {
1953
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1954
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1955
+ policyJSON: import("convex/values").VString<string, "required">;
1956
+ basisJSON: import("convex/values").VString<string, "required">;
1957
+ };
1958
+ export declare const basisBindingReceipt: import("convex/values").VObject<{
1959
+ initialBasis: {
1960
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1961
+ basisJSON: string;
1962
+ policyJSON: string;
1963
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1964
+ stage: "attach";
1965
+ version: 1;
1966
+ };
1967
+ operationId: import("convex/values").GenericId<"renewalOperations">;
1968
+ status: "bound";
1969
+ }, {
1970
+ status: import("convex/values").VLiteral<"bound", "required">;
1971
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
1972
+ initialBasis: import("convex/values").VObject<{
1973
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
1974
+ basisJSON: string;
1975
+ policyJSON: string;
1976
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
1977
+ stage: "attach";
1978
+ version: 1;
1979
+ }, {
1980
+ version: import("convex/values").VLiteral<1, "required">;
1981
+ attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
1982
+ sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
1983
+ stage: import("convex/values").VLiteral<"attach", "required">;
1984
+ policyJSON: import("convex/values").VString<string, "required">;
1985
+ basisJSON: import("convex/values").VString<string, "required">;
1986
+ }, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
1987
+ }, "required", "initialBasis" | "initialBasis.attemptId" | "initialBasis.basisJSON" | "initialBasis.policyJSON" | "initialBasis.sourcePayloadId" | "initialBasis.stage" | "initialBasis.version" | "operationId" | "status">;
1988
+ //# sourceMappingURL=schema.d.ts.map