@fantastic.dev/better-stripe 0.99.0 → 0.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.d.ts +8 -0
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.js +27 -1
- package/dist/client/billing/renewalAttach/internal/operations/initialAttach.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.d.ts +10 -0
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.js +49 -0
- package/dist/client/billing/renewalAttach/internal/producer/attachAcknowledgement.js.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts +2 -0
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js +6 -0
- package/dist/client/billing/renewalAttach/internal/producer/invocationProducer.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.d.ts +9 -0
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.js +22 -0
- package/dist/client/billing/renewalAttach/internal/producer/recoveryEntry.js.map +1 -1
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.d.ts +9 -0
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.d.ts.map +1 -1
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.js +27 -0
- package/dist/client/billing/renewalAttach/internal/recovery/recoveryActor.js.map +1 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +18 -18
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +9 -9
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +50 -50
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +25 -25
- package/dist/component/balanceFunding/queries.d.ts +1 -1
- package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
- package/dist/component/earnings/triggers.d.ts +22 -22
- package/dist/component/payoutRelease/queries.d.ts +2 -2
- package/dist/component/payoutRelease/queries.d.ts.map +1 -1
- package/dist/component/processingCostReconciliation/rollback.d.ts +1 -1
- package/dist/component/renewalOperations/attachValidation.d.ts +19 -0
- package/dist/component/renewalOperations/attachValidation.d.ts.map +1 -0
- package/dist/component/renewalOperations/attachValidation.js +167 -0
- package/dist/component/renewalOperations/attachValidation.js.map +1 -0
- package/dist/component/renewalOperations/configureAcknowledgement.d.ts +13 -0
- package/dist/component/renewalOperations/configureAcknowledgement.d.ts.map +1 -0
- package/dist/component/renewalOperations/configureAcknowledgement.js +108 -0
- package/dist/component/renewalOperations/configureAcknowledgement.js.map +1 -0
- package/dist/component/renewalOperations/configureParent.d.ts +10 -0
- package/dist/component/renewalOperations/configureParent.d.ts.map +1 -0
- package/dist/component/renewalOperations/configureParent.js +62 -0
- package/dist/component/renewalOperations/configureParent.js.map +1 -0
- package/dist/component/renewalOperations/configureValidation.d.ts +12 -0
- package/dist/component/renewalOperations/configureValidation.d.ts.map +1 -0
- package/dist/component/renewalOperations/configureValidation.js +64 -0
- package/dist/component/renewalOperations/configureValidation.js.map +1 -0
- package/dist/component/renewalOperations/helpers.d.ts +16 -21
- package/dist/component/renewalOperations/helpers.d.ts.map +1 -1
- package/dist/component/renewalOperations/helpers.js +13 -169
- package/dist/component/renewalOperations/helpers.js.map +1 -1
- package/dist/component/renewalOperations/mutations.d.ts +6 -6
- package/dist/component/renewalOperations/mutations.d.ts.map +1 -1
- package/dist/component/renewalOperations/mutations.js +14 -7
- package/dist/component/renewalOperations/mutations.js.map +1 -1
- package/dist/component/renewalOperations/operationContext.d.ts +12 -0
- package/dist/component/renewalOperations/operationContext.d.ts.map +1 -0
- package/dist/component/renewalOperations/operationContext.js +14 -0
- package/dist/component/renewalOperations/operationContext.js.map +1 -0
- package/dist/component/renewalOperations/queries.d.ts +4 -4
- package/dist/component/renewalOperations/queries.js +2 -1
- package/dist/component/renewalOperations/queries.js.map +1 -1
- package/dist/component/renewalOperations/schema.d.ts +59 -59
- package/dist/component/renewalOperations/schema.js +3 -3
- package/dist/component/renewalOperations/schema.js.map +1 -1
- package/dist/component/renewalOperations/stageAcknowledgement.d.ts +15 -0
- package/dist/component/renewalOperations/stageAcknowledgement.d.ts.map +1 -0
- package/dist/component/renewalOperations/stageAcknowledgement.js +20 -0
- package/dist/component/renewalOperations/stageAcknowledgement.js.map +1 -0
- package/dist/component/renewalOperations/validationTypes.d.ts +9 -0
- package/dist/component/renewalOperations/validationTypes.d.ts.map +1 -0
- package/dist/component/renewalOperations/validationTypes.js +2 -0
- package/dist/component/renewalOperations/validationTypes.js.map +1 -0
- package/dist/component/schema.d.ts +9 -9
- package/dist/component/usage/allowance.fixtures.d.ts +9 -9
- package/dist/component/usageCredits/accounting.fixtures.d.ts +9 -9
- package/dist/shared/renewalOperationJournal.d.ts +1 -1
- package/dist/shared/renewalOperationJournal.d.ts.map +1 -1
- package/dist/shared/renewalOperationJournal.js +41 -9
- package/dist/shared/renewalOperationJournal.js.map +1 -1
- package/docs/renewal-context-reads.md +59 -8
- package/package.json +1 -1
- package/src/client/billing/renewalAttach/internal/operations/initialAttach.ts +28 -1
- package/src/client/billing/renewalAttach/internal/producer/attachAcknowledgement.ts +65 -0
- package/src/client/billing/renewalAttach/internal/producer/invocationProducer.ts +8 -0
- package/src/client/billing/renewalAttach/internal/producer/producerAcknowledgement.integration.test.ts +320 -0
- package/src/client/billing/renewalAttach/internal/producer/producerAcknowledgementControls.integration.test.ts +411 -0
- package/src/client/billing/renewalAttach/internal/producer/recoveryEntry.ts +35 -1
- package/src/client/billing/renewalAttach/internal/recovery/recoveryActor.ts +39 -0
- package/src/component/renewalOperations/attachValidation.ts +203 -0
- package/src/component/renewalOperations/configureAcknowledgement.test.ts +30 -0
- package/src/component/renewalOperations/configureAcknowledgement.ts +182 -0
- package/src/component/renewalOperations/configureAcknowledgementControls.test.ts +96 -0
- package/src/component/renewalOperations/configureBasis.test.ts +77 -0
- package/src/component/renewalOperations/configureCreation.test.ts +75 -0
- package/src/component/renewalOperations/configureJournal.fixtures.ts +385 -0
- package/src/component/renewalOperations/configureParent.ts +71 -0
- package/src/component/renewalOperations/configurePolicy.test.ts +105 -0
- package/src/component/renewalOperations/configurePublication.test.ts +85 -0
- package/src/component/renewalOperations/configureReceiptBounds.test.ts +39 -0
- package/src/component/renewalOperations/configureSourceControls.test.ts +65 -0
- package/src/component/renewalOperations/configureValidation.ts +70 -0
- package/src/component/renewalOperations/helpers.ts +21 -204
- package/src/component/renewalOperations/mutations.ts +16 -7
- package/src/component/renewalOperations/operationContext.ts +21 -0
- package/src/component/renewalOperations/queries.ts +1 -1
- package/src/component/renewalOperations/schema.ts +3 -3
- package/src/component/renewalOperations/stageAcknowledgement.ts +45 -0
- package/src/component/renewalOperations/validationTypes.ts +9 -0
- package/src/shared/renewalOperationJournal.ts +49 -8
|
@@ -75,10 +75,10 @@ export declare const knownAcknowledgement: import("convex/values").VObject<{
|
|
|
75
75
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
76
76
|
schemaVersion: 1;
|
|
77
77
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
78
|
-
stage: "attach";
|
|
78
|
+
stage: "attach" | "configure";
|
|
79
79
|
}, {
|
|
80
80
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
81
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
81
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
82
82
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
83
83
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
84
84
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -105,11 +105,11 @@ export declare const retentionReceipt: import("convex/values").VObject<{
|
|
|
105
105
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
106
106
|
schemaVersion: 1;
|
|
107
107
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
108
|
-
stage: "attach";
|
|
108
|
+
stage: "attach" | "configure";
|
|
109
109
|
status: "retained";
|
|
110
110
|
}, {
|
|
111
111
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
112
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
112
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
113
113
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
114
114
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
115
115
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -135,7 +135,7 @@ export declare const providerAcknowledgementReadResult: import("convex/values").
|
|
|
135
135
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
136
136
|
schemaVersion: 1;
|
|
137
137
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
138
|
-
stage: "attach";
|
|
138
|
+
stage: "attach" | "configure";
|
|
139
139
|
status: "retained";
|
|
140
140
|
};
|
|
141
141
|
} | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
|
|
@@ -151,7 +151,7 @@ export declare const providerAcknowledgementReadResult: import("convex/values").
|
|
|
151
151
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
152
152
|
schemaVersion: 1;
|
|
153
153
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
154
|
-
stage: "attach";
|
|
154
|
+
stage: "attach" | "configure";
|
|
155
155
|
status: "retained";
|
|
156
156
|
};
|
|
157
157
|
}, {
|
|
@@ -166,11 +166,11 @@ export declare const providerAcknowledgementReadResult: import("convex/values").
|
|
|
166
166
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
167
167
|
schemaVersion: 1;
|
|
168
168
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
169
|
-
stage: "attach";
|
|
169
|
+
stage: "attach" | "configure";
|
|
170
170
|
status: "retained";
|
|
171
171
|
}, {
|
|
172
172
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
173
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
173
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
174
174
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
175
175
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
176
176
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -190,13 +190,13 @@ export declare const initialBasisDescriptor: import("convex/values").VObject<{
|
|
|
190
190
|
basisJSON: string;
|
|
191
191
|
policyJSON: string;
|
|
192
192
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
193
|
-
stage: "attach";
|
|
193
|
+
stage: "attach" | "configure";
|
|
194
194
|
version: 1;
|
|
195
195
|
}, {
|
|
196
196
|
version: import("convex/values").VLiteral<1, "required">;
|
|
197
197
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
198
198
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
199
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
199
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
200
200
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
201
201
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
202
202
|
}, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -210,7 +210,7 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
|
|
|
210
210
|
basisJSON: string;
|
|
211
211
|
policyJSON: string;
|
|
212
212
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
213
|
-
stage: "attach";
|
|
213
|
+
stage: "attach" | "configure";
|
|
214
214
|
version: 1;
|
|
215
215
|
} | undefined;
|
|
216
216
|
knownAcknowledgement?: {
|
|
@@ -223,7 +223,7 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
|
|
|
223
223
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
224
224
|
schemaVersion: 1;
|
|
225
225
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
226
|
-
stage: "attach";
|
|
226
|
+
stage: "attach" | "configure";
|
|
227
227
|
} | undefined;
|
|
228
228
|
logicalOperationId: string;
|
|
229
229
|
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
@@ -238,13 +238,13 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
|
|
|
238
238
|
basisJSON: string;
|
|
239
239
|
policyJSON: string;
|
|
240
240
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
241
|
-
stage: "attach";
|
|
241
|
+
stage: "attach" | "configure";
|
|
242
242
|
version: 1;
|
|
243
243
|
} | undefined, {
|
|
244
244
|
version: import("convex/values").VLiteral<1, "required">;
|
|
245
245
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
246
246
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
247
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
247
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
248
248
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
249
249
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
250
250
|
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -267,10 +267,10 @@ export declare const operationsTable: import("convex/server").TableDefinition<im
|
|
|
267
267
|
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
268
268
|
schemaVersion: 1;
|
|
269
269
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
270
|
-
stage: "attach";
|
|
270
|
+
stage: "attach" | "configure";
|
|
271
271
|
} | undefined, {
|
|
272
272
|
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
273
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
273
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
274
274
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
275
275
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
276
276
|
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
@@ -352,7 +352,7 @@ export declare const attemptsTable: import("convex/server").TableDefinition<impo
|
|
|
352
352
|
preparedRevision: 0;
|
|
353
353
|
recordVersion: 2;
|
|
354
354
|
requestBinding: string;
|
|
355
|
-
stage: "attach";
|
|
355
|
+
stage: "attach" | "configure";
|
|
356
356
|
timingPolicyJSON: string;
|
|
357
357
|
}, [import("convex/values").VObject<{
|
|
358
358
|
accountJSON: string;
|
|
@@ -407,7 +407,7 @@ export declare const attemptsTable: import("convex/server").TableDefinition<impo
|
|
|
407
407
|
preparedRevision: 0;
|
|
408
408
|
recordVersion: 2;
|
|
409
409
|
requestBinding: string;
|
|
410
|
-
stage: "attach";
|
|
410
|
+
stage: "attach" | "configure";
|
|
411
411
|
timingPolicyJSON: string;
|
|
412
412
|
}, {
|
|
413
413
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -425,7 +425,7 @@ export declare const attemptsTable: import("convex/server").TableDefinition<impo
|
|
|
425
425
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
426
426
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
427
427
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
428
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
428
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
429
429
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
430
430
|
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
431
431
|
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">, {
|
|
@@ -468,7 +468,7 @@ export declare const reservationData: import("convex/values").VUnion<{
|
|
|
468
468
|
recordJSON: string;
|
|
469
469
|
recordVersion: 2;
|
|
470
470
|
requestBinding: string;
|
|
471
|
-
stage: "attach";
|
|
471
|
+
stage: "attach" | "configure";
|
|
472
472
|
timingPolicyJSON: string;
|
|
473
473
|
}, [import("convex/values").VObject<{
|
|
474
474
|
accountJSON: string;
|
|
@@ -526,7 +526,7 @@ export declare const reservationData: import("convex/values").VUnion<{
|
|
|
526
526
|
recordJSON: string;
|
|
527
527
|
recordVersion: 2;
|
|
528
528
|
requestBinding: string;
|
|
529
|
-
stage: "attach";
|
|
529
|
+
stage: "attach" | "configure";
|
|
530
530
|
timingPolicyJSON: string;
|
|
531
531
|
}, {
|
|
532
532
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -544,7 +544,7 @@ export declare const reservationData: import("convex/values").VUnion<{
|
|
|
544
544
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
545
545
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
546
546
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
547
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
547
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
548
548
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
549
549
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
550
550
|
recordJSON: import("convex/values").VString<string, "required">;
|
|
@@ -584,7 +584,7 @@ export declare const reservationSummary: import("convex/values").VUnion<{
|
|
|
584
584
|
preparedRevision: 0;
|
|
585
585
|
recordVersion: 2;
|
|
586
586
|
requestBinding: string;
|
|
587
|
-
stage: "attach";
|
|
587
|
+
stage: "attach" | "configure";
|
|
588
588
|
timingPolicyJSON: string;
|
|
589
589
|
}, [import("convex/values").VObject<{
|
|
590
590
|
accountJSON: string;
|
|
@@ -639,7 +639,7 @@ export declare const reservationSummary: import("convex/values").VUnion<{
|
|
|
639
639
|
preparedRevision: 0;
|
|
640
640
|
recordVersion: 2;
|
|
641
641
|
requestBinding: string;
|
|
642
|
-
stage: "attach";
|
|
642
|
+
stage: "attach" | "configure";
|
|
643
643
|
timingPolicyJSON: string;
|
|
644
644
|
}, {
|
|
645
645
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -657,7 +657,7 @@ export declare const reservationSummary: import("convex/values").VUnion<{
|
|
|
657
657
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
658
658
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
659
659
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
660
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
660
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
661
661
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
662
662
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
663
663
|
}, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">], "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
|
|
@@ -709,7 +709,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
709
709
|
recordJSON: string;
|
|
710
710
|
recordVersion: 2;
|
|
711
711
|
requestBinding: string;
|
|
712
|
-
stage: "attach";
|
|
712
|
+
stage: "attach" | "configure";
|
|
713
713
|
timingPolicyJSON: string;
|
|
714
714
|
};
|
|
715
715
|
} | {
|
|
@@ -752,7 +752,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
752
752
|
recordJSON: string;
|
|
753
753
|
recordVersion: 2;
|
|
754
754
|
requestBinding: string;
|
|
755
|
-
stage: "attach";
|
|
755
|
+
stage: "attach" | "configure";
|
|
756
756
|
timingPolicyJSON: string;
|
|
757
757
|
};
|
|
758
758
|
} | {
|
|
@@ -799,7 +799,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
799
799
|
recordJSON: string;
|
|
800
800
|
recordVersion: 2;
|
|
801
801
|
requestBinding: string;
|
|
802
|
-
stage: "attach";
|
|
802
|
+
stage: "attach" | "configure";
|
|
803
803
|
timingPolicyJSON: string;
|
|
804
804
|
};
|
|
805
805
|
}, {
|
|
@@ -843,7 +843,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
843
843
|
recordJSON: string;
|
|
844
844
|
recordVersion: 2;
|
|
845
845
|
requestBinding: string;
|
|
846
|
-
stage: "attach";
|
|
846
|
+
stage: "attach" | "configure";
|
|
847
847
|
timingPolicyJSON: string;
|
|
848
848
|
}, [import("convex/values").VObject<{
|
|
849
849
|
accountJSON: string;
|
|
@@ -901,7 +901,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
901
901
|
recordJSON: string;
|
|
902
902
|
recordVersion: 2;
|
|
903
903
|
requestBinding: string;
|
|
904
|
-
stage: "attach";
|
|
904
|
+
stage: "attach" | "configure";
|
|
905
905
|
timingPolicyJSON: string;
|
|
906
906
|
}, {
|
|
907
907
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -919,7 +919,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
919
919
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
920
920
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
921
921
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
922
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
922
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
923
923
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
924
924
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
925
925
|
recordJSON: import("convex/values").VString<string, "required">;
|
|
@@ -964,7 +964,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
964
964
|
recordJSON: string;
|
|
965
965
|
recordVersion: 2;
|
|
966
966
|
requestBinding: string;
|
|
967
|
-
stage: "attach";
|
|
967
|
+
stage: "attach" | "configure";
|
|
968
968
|
timingPolicyJSON: string;
|
|
969
969
|
};
|
|
970
970
|
}, {
|
|
@@ -1007,7 +1007,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
1007
1007
|
recordJSON: string;
|
|
1008
1008
|
recordVersion: 2;
|
|
1009
1009
|
requestBinding: string;
|
|
1010
|
-
stage: "attach";
|
|
1010
|
+
stage: "attach" | "configure";
|
|
1011
1011
|
timingPolicyJSON: string;
|
|
1012
1012
|
}, [import("convex/values").VObject<{
|
|
1013
1013
|
accountJSON: string;
|
|
@@ -1065,7 +1065,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
1065
1065
|
recordJSON: string;
|
|
1066
1066
|
recordVersion: 2;
|
|
1067
1067
|
requestBinding: string;
|
|
1068
|
-
stage: "attach";
|
|
1068
|
+
stage: "attach" | "configure";
|
|
1069
1069
|
timingPolicyJSON: string;
|
|
1070
1070
|
}, {
|
|
1071
1071
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -1083,7 +1083,7 @@ export declare const reserveResult: import("convex/values").VUnion<{
|
|
|
1083
1083
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
1084
1084
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
1085
1085
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
1086
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
1086
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
1087
1087
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
1088
1088
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
1089
1089
|
recordJSON: import("convex/values").VString<string, "required">;
|
|
@@ -1120,7 +1120,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
|
|
|
1120
1120
|
preparedRevision: 0;
|
|
1121
1121
|
recordVersion: 2;
|
|
1122
1122
|
requestBinding: string;
|
|
1123
|
-
stage: "attach";
|
|
1123
|
+
stage: "attach" | "configure";
|
|
1124
1124
|
timingPolicyJSON: string;
|
|
1125
1125
|
};
|
|
1126
1126
|
initialBasis: {
|
|
@@ -1128,7 +1128,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
|
|
|
1128
1128
|
basisJSON: string;
|
|
1129
1129
|
policyJSON: string;
|
|
1130
1130
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
1131
|
-
stage: "attach";
|
|
1131
|
+
stage: "attach" | "configure";
|
|
1132
1132
|
version: 1;
|
|
1133
1133
|
} | null;
|
|
1134
1134
|
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
@@ -1190,7 +1190,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
|
|
|
1190
1190
|
preparedRevision: 0;
|
|
1191
1191
|
recordVersion: 2;
|
|
1192
1192
|
requestBinding: string;
|
|
1193
|
-
stage: "attach";
|
|
1193
|
+
stage: "attach" | "configure";
|
|
1194
1194
|
timingPolicyJSON: string;
|
|
1195
1195
|
};
|
|
1196
1196
|
initialBasis: {
|
|
@@ -1198,7 +1198,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
|
|
|
1198
1198
|
basisJSON: string;
|
|
1199
1199
|
policyJSON: string;
|
|
1200
1200
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
1201
|
-
stage: "attach";
|
|
1201
|
+
stage: "attach" | "configure";
|
|
1202
1202
|
version: 1;
|
|
1203
1203
|
} | null;
|
|
1204
1204
|
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
@@ -1227,7 +1227,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
|
|
|
1227
1227
|
preparedRevision: 0;
|
|
1228
1228
|
recordVersion: 2;
|
|
1229
1229
|
requestBinding: string;
|
|
1230
|
-
stage: "attach";
|
|
1230
|
+
stage: "attach" | "configure";
|
|
1231
1231
|
timingPolicyJSON: string;
|
|
1232
1232
|
}, {
|
|
1233
1233
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -1245,7 +1245,7 @@ export declare const loadedResult: import("convex/values").VUnion<{
|
|
|
1245
1245
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
1246
1246
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
1247
1247
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
1248
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
1248
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
1249
1249
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
1250
1250
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
1251
1251
|
}, "required", "accountJSON" | "apiVersion" | "attemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "committedRevision" | "firstDispatchedAt" | "key" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON">;
|
|
@@ -1254,20 +1254,20 @@ export declare const loadedResult: import("convex/values").VUnion<{
|
|
|
1254
1254
|
basisJSON: string;
|
|
1255
1255
|
policyJSON: string;
|
|
1256
1256
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
1257
|
-
stage: "attach";
|
|
1257
|
+
stage: "attach" | "configure";
|
|
1258
1258
|
version: 1;
|
|
1259
1259
|
} | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
|
|
1260
1260
|
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
1261
1261
|
basisJSON: string;
|
|
1262
1262
|
policyJSON: string;
|
|
1263
1263
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
1264
|
-
stage: "attach";
|
|
1264
|
+
stage: "attach" | "configure";
|
|
1265
1265
|
version: 1;
|
|
1266
1266
|
}, {
|
|
1267
1267
|
version: import("convex/values").VLiteral<1, "required">;
|
|
1268
1268
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
1269
1269
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
1270
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
1270
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
1271
1271
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
1272
1272
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
1273
1273
|
}, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">], "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -1411,7 +1411,7 @@ export declare const appendArgs: {
|
|
|
1411
1411
|
recordJSON: string;
|
|
1412
1412
|
recordVersion: 2;
|
|
1413
1413
|
requestBinding: string;
|
|
1414
|
-
stage: "attach";
|
|
1414
|
+
stage: "attach" | "configure";
|
|
1415
1415
|
timingPolicyJSON: string;
|
|
1416
1416
|
}, [import("convex/values").VObject<{
|
|
1417
1417
|
accountJSON: string;
|
|
@@ -1469,7 +1469,7 @@ export declare const appendArgs: {
|
|
|
1469
1469
|
recordJSON: string;
|
|
1470
1470
|
recordVersion: 2;
|
|
1471
1471
|
requestBinding: string;
|
|
1472
|
-
stage: "attach";
|
|
1472
|
+
stage: "attach" | "configure";
|
|
1473
1473
|
timingPolicyJSON: string;
|
|
1474
1474
|
}, {
|
|
1475
1475
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -1487,7 +1487,7 @@ export declare const appendArgs: {
|
|
|
1487
1487
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
1488
1488
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
1489
1489
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
1490
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
1490
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
1491
1491
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
1492
1492
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
1493
1493
|
recordJSON: import("convex/values").VString<string, "required">;
|
|
@@ -1546,7 +1546,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
|
|
|
1546
1546
|
recordJSON: string;
|
|
1547
1547
|
recordVersion: 2;
|
|
1548
1548
|
requestBinding: string;
|
|
1549
|
-
stage: "attach";
|
|
1549
|
+
stage: "attach" | "configure";
|
|
1550
1550
|
timingPolicyJSON: string;
|
|
1551
1551
|
};
|
|
1552
1552
|
sequence: 1 | 2 | 3;
|
|
@@ -1598,7 +1598,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
|
|
|
1598
1598
|
recordJSON: string;
|
|
1599
1599
|
recordVersion: 2;
|
|
1600
1600
|
requestBinding: string;
|
|
1601
|
-
stage: "attach";
|
|
1601
|
+
stage: "attach" | "configure";
|
|
1602
1602
|
timingPolicyJSON: string;
|
|
1603
1603
|
}, [import("convex/values").VObject<{
|
|
1604
1604
|
accountJSON: string;
|
|
@@ -1656,7 +1656,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
|
|
|
1656
1656
|
recordJSON: string;
|
|
1657
1657
|
recordVersion: 2;
|
|
1658
1658
|
requestBinding: string;
|
|
1659
|
-
stage: "attach";
|
|
1659
|
+
stage: "attach" | "configure";
|
|
1660
1660
|
timingPolicyJSON: string;
|
|
1661
1661
|
}, {
|
|
1662
1662
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -1674,7 +1674,7 @@ export declare const eventReceipt: import("convex/values").VObject<{
|
|
|
1674
1674
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
1675
1675
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
1676
1676
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
1677
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
1677
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
1678
1678
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
1679
1679
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
1680
1680
|
recordJSON: import("convex/values").VString<string, "required">;
|
|
@@ -1747,7 +1747,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
|
|
|
1747
1747
|
recordJSON: string;
|
|
1748
1748
|
recordVersion: 2;
|
|
1749
1749
|
requestBinding: string;
|
|
1750
|
-
stage: "attach";
|
|
1750
|
+
stage: "attach" | "configure";
|
|
1751
1751
|
timingPolicyJSON: string;
|
|
1752
1752
|
};
|
|
1753
1753
|
} | null, [import("convex/values").VNull<null, "required">, import("convex/values").VObject<{
|
|
@@ -1798,7 +1798,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
|
|
|
1798
1798
|
recordJSON: string;
|
|
1799
1799
|
recordVersion: 2;
|
|
1800
1800
|
requestBinding: string;
|
|
1801
|
-
stage: "attach";
|
|
1801
|
+
stage: "attach" | "configure";
|
|
1802
1802
|
timingPolicyJSON: string;
|
|
1803
1803
|
};
|
|
1804
1804
|
}, {
|
|
@@ -1839,7 +1839,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
|
|
|
1839
1839
|
recordJSON: string;
|
|
1840
1840
|
recordVersion: 2;
|
|
1841
1841
|
requestBinding: string;
|
|
1842
|
-
stage: "attach";
|
|
1842
|
+
stage: "attach" | "configure";
|
|
1843
1843
|
timingPolicyJSON: string;
|
|
1844
1844
|
}, [import("convex/values").VObject<{
|
|
1845
1845
|
accountJSON: string;
|
|
@@ -1897,7 +1897,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
|
|
|
1897
1897
|
recordJSON: string;
|
|
1898
1898
|
recordVersion: 2;
|
|
1899
1899
|
requestBinding: string;
|
|
1900
|
-
stage: "attach";
|
|
1900
|
+
stage: "attach" | "configure";
|
|
1901
1901
|
timingPolicyJSON: string;
|
|
1902
1902
|
}, {
|
|
1903
1903
|
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
@@ -1915,7 +1915,7 @@ export declare const attemptResult: import("convex/values").VUnion<{
|
|
|
1915
1915
|
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
1916
1916
|
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
1917
1917
|
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
1918
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
1918
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
1919
1919
|
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
1920
1920
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
1921
1921
|
recordJSON: import("convex/values").VString<string, "required">;
|
|
@@ -1961,7 +1961,7 @@ export declare const basisBindingReceipt: import("convex/values").VObject<{
|
|
|
1961
1961
|
basisJSON: string;
|
|
1962
1962
|
policyJSON: string;
|
|
1963
1963
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
1964
|
-
stage: "attach";
|
|
1964
|
+
stage: "attach" | "configure";
|
|
1965
1965
|
version: 1;
|
|
1966
1966
|
};
|
|
1967
1967
|
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
@@ -1974,13 +1974,13 @@ export declare const basisBindingReceipt: import("convex/values").VObject<{
|
|
|
1974
1974
|
basisJSON: string;
|
|
1975
1975
|
policyJSON: string;
|
|
1976
1976
|
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
1977
|
-
stage: "attach";
|
|
1977
|
+
stage: "attach" | "configure";
|
|
1978
1978
|
version: 1;
|
|
1979
1979
|
}, {
|
|
1980
1980
|
version: import("convex/values").VLiteral<1, "required">;
|
|
1981
1981
|
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
1982
1982
|
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
1983
|
-
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
1983
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
1984
1984
|
policyJSON: import("convex/values").VString<string, "required">;
|
|
1985
1985
|
basisJSON: import("convex/values").VString<string, "required">;
|
|
1986
1986
|
}, "required", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
@@ -26,7 +26,7 @@ export const payloadsTable = defineTable({
|
|
|
26
26
|
});
|
|
27
27
|
const knownAcknowledgementFields = {
|
|
28
28
|
schemaVersion: v.literal(1),
|
|
29
|
-
stage
|
|
29
|
+
stage,
|
|
30
30
|
attemptId: v.id("renewalOperationAttempts"),
|
|
31
31
|
sourcePayloadId: v.id("renewalOperationPayloads"),
|
|
32
32
|
dispatchEventId: v.id("renewalOperationEvents"),
|
|
@@ -55,7 +55,7 @@ export const initialBasisDescriptor = v.object({
|
|
|
55
55
|
version: v.literal(1),
|
|
56
56
|
attemptId: v.id("renewalOperationAttempts"),
|
|
57
57
|
sourcePayloadId: v.id("renewalOperationPayloads"),
|
|
58
|
-
stage
|
|
58
|
+
stage,
|
|
59
59
|
policyJSON: v.string(),
|
|
60
60
|
basisJSON: v.string(),
|
|
61
61
|
});
|
|
@@ -116,7 +116,7 @@ const legacyAttemptFields = {
|
|
|
116
116
|
const operationalAttemptFields = {
|
|
117
117
|
...attemptFields,
|
|
118
118
|
recordVersion: v.literal(2),
|
|
119
|
-
stage
|
|
119
|
+
stage,
|
|
120
120
|
timingPolicyJSON: v.string(),
|
|
121
121
|
};
|
|
122
122
|
export const attemptsTable = defineTable(v.union(v.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/component/renewalOperations/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAA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AC,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;CACzE,CAAC;AACF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,GAAG,WAAW;IACd,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC;IACvC,WAAW,EAAE,eAAe;CAC7B,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,GAAG,WAAW;IACd,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC;CACxC,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAClC,CAAC,CAAC,IAAI,EAAE,EACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;CACjC,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC;IACtC,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,0BAA0B,CAAC;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC1B,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC;IACtC,YAAY,EAAE,sBAAsB;CACrC,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { canonicalJournalRecord } from "../../shared/renewalOperationJournal.js";
|
|
2
|
+
import type { Reservation, CheckedEvents } from "./validationTypes.js";
|
|
3
|
+
export declare function validateStageAcknowledgement(full: ReturnType<typeof canonicalJournalRecord>, reservation: Reservation, events: CheckedEvents, receiptJSON: string): Promise<{
|
|
4
|
+
receiptJSON: string;
|
|
5
|
+
receiptBinding: string;
|
|
6
|
+
receipt: import("../../client/renewal.js").RenewalConfigurationReceiptV2;
|
|
7
|
+
stage: "configure";
|
|
8
|
+
} | {
|
|
9
|
+
receiptJSON: string;
|
|
10
|
+
receiptBinding: string;
|
|
11
|
+
receipt: import("../../client/renewal.js").RenewalScheduleAttachmentReceiptV2;
|
|
12
|
+
stage: "attach";
|
|
13
|
+
}>;
|
|
14
|
+
export declare function validateStageReceiptEventDATA(raw: string, admitted: Awaited<ReturnType<typeof validateStageAcknowledgement>>): void;
|
|
15
|
+
//# sourceMappingURL=stageAcknowledgement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stageAcknowledgement.d.ts","sourceRoot":"","sources":["../../../src/component/renewalOperations/stageAcknowledgement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAUvE,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,EAC/C,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,aAAa,EACrB,WAAW,EAAE,MAAM;;;;WAUR,WAAW;;;;;WASb,QAAQ;GAElB;AACD,wBAAgB,6BAA6B,CAC3C,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC,QAKnE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { validateAttachAcknowledgement, validateAttachReceiptEventDATA, } from "./attachValidation.js";
|
|
2
|
+
import { validateConfigureAcknowledgement, validateConfigureReceiptEventDATA, } from "./configureAcknowledgement.js";
|
|
3
|
+
export async function validateStageAcknowledgement(full, reservation, events, receiptJSON) {
|
|
4
|
+
if (reservation.stage === "configure" && "recordVersion" in reservation)
|
|
5
|
+
return {
|
|
6
|
+
...(await validateConfigureAcknowledgement(full, reservation, events, receiptJSON)),
|
|
7
|
+
stage: "configure",
|
|
8
|
+
};
|
|
9
|
+
return {
|
|
10
|
+
...(await validateAttachAcknowledgement(full, reservation, events, receiptJSON)),
|
|
11
|
+
stage: "attach",
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export function validateStageReceiptEventDATA(raw, admitted) {
|
|
15
|
+
if (admitted.stage === "configure")
|
|
16
|
+
validateConfigureReceiptEventDATA(raw, admitted.receipt);
|
|
17
|
+
else
|
|
18
|
+
validateAttachReceiptEventDATA(raw, admitted.receipt);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=stageAcknowledgement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stageAcknowledgement.js","sourceRoot":"","sources":["../../../src/component/renewalOperations/stageAcknowledgement.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,IAA+C,EAC/C,WAAwB,EACxB,MAAqB,EACrB,WAAmB;IAEnB,IAAI,WAAW,CAAC,KAAK,KAAK,WAAW,IAAI,eAAe,IAAI,WAAW;QACrE,OAAO;YACL,GAAG,CAAC,MAAM,gCAAgC,CACxC,IAAI,EACJ,WAAW,EACX,MAAM,EACN,WAAW,CACZ,CAAC;YACF,KAAK,EAAE,WAAoB;SAC5B,CAAC;IACJ,OAAO;QACL,GAAG,CAAC,MAAM,6BAA6B,CACrC,IAAI,EACJ,WAAW,EACX,MAAM,EACN,WAAW,CACZ,CAAC;QACF,KAAK,EAAE,QAAiB;KACzB,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,6BAA6B,CAC3C,GAAW,EACX,QAAkE;IAElE,IAAI,QAAQ,CAAC,KAAK,KAAK,WAAW;QAChC,iCAAiC,CAAC,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;;QACtD,8BAA8B,CAAC,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC7D,CAAC"}
|