@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.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/client/billing/renewalAttach/internal/operationJournal.d.ts +41 -0
- package/dist/client/billing/renewalAttach/internal/operationJournal.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/internal/operationJournal.js +378 -0
- package/dist/client/billing/renewalAttach/internal/operationJournal.js.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts +44 -0
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js +251 -0
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js.map +1 -0
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +562 -0
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +281 -0
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +562 -0
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +281 -0
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/index.d.ts +3 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +16 -3
- package/dist/client/index.js.map +1 -1
- package/dist/component/_generated/api.d.ts +6 -0
- package/dist/component/_generated/api.d.ts.map +1 -1
- package/dist/component/_generated/api.js.map +1 -1
- package/dist/component/_generated/component.d.ts +406 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/balanceFunding/mutations.d.ts +27 -27
- package/dist/component/balanceFunding/queries.d.ts +1 -1
- package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
- package/dist/component/earnings/triggers.d.ts +294 -0
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/financialObservations/settlementHelpers.d.ts +3 -3
- package/dist/component/renewalOperations/helpers.d.ts +236 -0
- package/dist/component/renewalOperations/helpers.d.ts.map +1 -0
- package/dist/component/renewalOperations/helpers.js +457 -0
- package/dist/component/renewalOperations/helpers.js.map +1 -0
- package/dist/component/renewalOperations/mutations.d.ts +252 -0
- package/dist/component/renewalOperations/mutations.d.ts.map +1 -0
- package/dist/component/renewalOperations/mutations.js +340 -0
- package/dist/component/renewalOperations/mutations.js.map +1 -0
- package/dist/component/renewalOperations/queries.d.ts +163 -0
- package/dist/component/renewalOperations/queries.d.ts.map +1 -0
- package/dist/component/renewalOperations/queries.js +167 -0
- package/dist/component/renewalOperations/queries.js.map +1 -0
- package/dist/component/renewalOperations/schema.d.ts +1988 -0
- package/dist/component/renewalOperations/schema.d.ts.map +1 -0
- package/dist/component/renewalOperations/schema.js +227 -0
- package/dist/component/renewalOperations/schema.js.map +1 -0
- package/dist/component/schema.d.ts +281 -0
- package/dist/component/schema.js +5 -0
- package/dist/component/schema.js.map +1 -1
- package/dist/component/usage/allowance.fixtures.d.ts +281 -0
- package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
- package/dist/component/usageCredits/accounting.fixtures.d.ts +297 -16
- package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
- package/dist/shared/renewalOperationJournal.d.ts +43 -0
- package/dist/shared/renewalOperationJournal.d.ts.map +1 -0
- package/dist/shared/renewalOperationJournal.js +294 -0
- package/dist/shared/renewalOperationJournal.js.map +1 -0
- package/docs/renewal-context-reads.md +180 -0
- package/package.json +1 -1
- package/src/client/billing/renewalAttach/internal/operationJournal.acknowledgement.integration.test.ts +500 -0
- package/src/client/billing/renewalAttach/internal/operationJournal.c10.integration.test.ts +560 -0
- package/src/client/billing/renewalAttach/internal/operationJournal.controls.integration.test.ts +356 -0
- package/src/client/billing/renewalAttach/internal/operationJournal.integration.test.ts +560 -0
- package/src/client/billing/renewalAttach/internal/operationJournal.methods.integration.test.ts +534 -0
- package/src/client/billing/renewalAttach/internal/operationJournal.ts +561 -0
- package/src/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.ts +334 -0
- package/src/client/billing/renewalAttach/internal/producer/producerGuards.integration.test.ts +323 -0
- package/src/client/billing/renewalAttach/internal/producer/producerInitial.integration.test.ts +301 -0
- package/src/client/billing/renewalAttach/internal/producer/producerIsolation.integration.test.ts +531 -0
- package/src/client/index.ts +24 -3
- package/src/component/_generated/api.ts +6 -0
- package/src/component/_generated/component.ts +450 -0
- package/src/component/renewalOperations/acknowledgement.fixtures.ts +552 -0
- package/src/component/renewalOperations/acknowledgement.test.ts +573 -0
- package/src/component/renewalOperations/acknowledgementReads.test.ts +442 -0
- package/src/component/renewalOperations/acknowledgementV2.test.ts +493 -0
- package/src/component/renewalOperations/acknowledgementV2Publication.test.ts +373 -0
- package/src/component/renewalOperations/basisBinding.test.ts +567 -0
- package/src/component/renewalOperations/basisLifecycle.test.ts +569 -0
- package/src/component/renewalOperations/boundHistory.test.ts +474 -0
- package/src/component/renewalOperations/helpers.ts +592 -0
- package/src/component/renewalOperations/historyReads.test.ts +595 -0
- package/src/component/renewalOperations/initialBasis.test.ts +578 -0
- package/src/component/renewalOperations/journal.test.ts +567 -0
- package/src/component/renewalOperations/mutations.ts +456 -0
- package/src/component/renewalOperations/payload.test.ts +589 -0
- package/src/component/renewalOperations/payloadEncoding.test.ts +592 -0
- package/src/component/renewalOperations/queries.ts +204 -0
- package/src/component/renewalOperations/schema.ts +268 -0
- package/src/component/renewalOperations/timingPolicy.fixtures.ts +193 -0
- package/src/component/renewalOperations/timingPolicy.test.ts +523 -0
- package/src/component/schema.ts +11 -0
- package/src/shared/renewalOperationJournal.ts +333 -0
|
@@ -1,5 +1,286 @@
|
|
|
1
1
|
export declare function large(count?: number, amount?: number): Promise<{
|
|
2
2
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
3
|
+
renewalOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
4
|
+
activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
|
|
5
|
+
authorizationId: string;
|
|
6
|
+
authorizationRevision: number;
|
|
7
|
+
authorizationScope: string;
|
|
8
|
+
initialBasis?: {
|
|
9
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
10
|
+
basisJSON: string;
|
|
11
|
+
policyJSON: string;
|
|
12
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
13
|
+
stage: "attach";
|
|
14
|
+
version: 1;
|
|
15
|
+
} | undefined;
|
|
16
|
+
knownAcknowledgement?: {
|
|
17
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
18
|
+
dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
19
|
+
dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
20
|
+
receiptBinding: string;
|
|
21
|
+
receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
22
|
+
responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
23
|
+
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
24
|
+
schemaVersion: 1;
|
|
25
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
26
|
+
stage: "attach";
|
|
27
|
+
} | undefined;
|
|
28
|
+
logicalOperationId: string;
|
|
29
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
30
|
+
recordVersion?: 2 | undefined;
|
|
31
|
+
requestBinding: string;
|
|
32
|
+
revision: 0 | 1;
|
|
33
|
+
state: "PREPARED" | "RESERVED";
|
|
34
|
+
}, {
|
|
35
|
+
recordVersion: import("convex/values").VLiteral<2 | undefined, "optional">;
|
|
36
|
+
initialBasis: import("convex/values").VObject<{
|
|
37
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
38
|
+
basisJSON: string;
|
|
39
|
+
policyJSON: string;
|
|
40
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
41
|
+
stage: "attach";
|
|
42
|
+
version: 1;
|
|
43
|
+
} | undefined, {
|
|
44
|
+
version: import("convex/values").VLiteral<1, "required">;
|
|
45
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
46
|
+
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
47
|
+
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
48
|
+
policyJSON: import("convex/values").VString<string, "required">;
|
|
49
|
+
basisJSON: import("convex/values").VString<string, "required">;
|
|
50
|
+
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
51
|
+
authorizationScope: import("convex/values").VString<string, "required">;
|
|
52
|
+
authorizationId: import("convex/values").VString<string, "required">;
|
|
53
|
+
authorizationRevision: import("convex/values").VFloat64<number, "required">;
|
|
54
|
+
logicalOperationId: import("convex/values").VString<string, "required">;
|
|
55
|
+
requestBinding: import("convex/values").VString<string, "required">;
|
|
56
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
57
|
+
revision: import("convex/values").VUnion<0 | 1, [import("convex/values").VLiteral<0, "required">, import("convex/values").VLiteral<1, "required">], "required", never>;
|
|
58
|
+
state: import("convex/values").VUnion<"PREPARED" | "RESERVED", [import("convex/values").VLiteral<"PREPARED", "required">, import("convex/values").VLiteral<"RESERVED", "required">], "required", never>;
|
|
59
|
+
activeAttemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts"> | undefined, "optional">;
|
|
60
|
+
knownAcknowledgement: import("convex/values").VObject<{
|
|
61
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
62
|
+
dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
63
|
+
dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
64
|
+
receiptBinding: string;
|
|
65
|
+
receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
66
|
+
responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
67
|
+
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
68
|
+
schemaVersion: 1;
|
|
69
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
70
|
+
stage: "attach";
|
|
71
|
+
} | undefined, {
|
|
72
|
+
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
73
|
+
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
74
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
75
|
+
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
76
|
+
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
77
|
+
dispatchPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
78
|
+
responseEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
79
|
+
responsePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
80
|
+
receiptPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
81
|
+
receiptBinding: import("convex/values").VString<string, "required">;
|
|
82
|
+
}, "optional", "attemptId" | "dispatchEventId" | "dispatchPayloadId" | "receiptBinding" | "receiptPayloadId" | "responseEventId" | "responsePayloadId" | "schemaVersion" | "sourcePayloadId" | "stage">;
|
|
83
|
+
}, "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">, {
|
|
84
|
+
by_authorizationScope_and_logicalOperationId: ["authorizationScope", "logicalOperationId", "_creationTime"];
|
|
85
|
+
}, {}, {}>;
|
|
86
|
+
renewalOperationAttempts: import("convex/server").TableDefinition<import("convex/values").VUnion<{
|
|
87
|
+
accountJSON: string;
|
|
88
|
+
apiVersion: string;
|
|
89
|
+
authorizationId: string;
|
|
90
|
+
authorizationRevision: number;
|
|
91
|
+
authorizationScope: string;
|
|
92
|
+
basisJSON: string;
|
|
93
|
+
committedRevision: 1;
|
|
94
|
+
firstDispatchedAt: number;
|
|
95
|
+
key: string;
|
|
96
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
97
|
+
logicalOperationId: string;
|
|
98
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
99
|
+
ordinal: 1;
|
|
100
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
101
|
+
preparedRevision: 0;
|
|
102
|
+
requestBinding: string;
|
|
103
|
+
stage: "attach" | "configure";
|
|
104
|
+
} | {
|
|
105
|
+
accountJSON: string;
|
|
106
|
+
apiVersion: string;
|
|
107
|
+
authorizationId: string;
|
|
108
|
+
authorizationRevision: number;
|
|
109
|
+
authorizationScope: string;
|
|
110
|
+
committedRevision: 1;
|
|
111
|
+
firstDispatchedAt: number;
|
|
112
|
+
key: string;
|
|
113
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
114
|
+
logicalOperationId: string;
|
|
115
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
116
|
+
ordinal: 1;
|
|
117
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
118
|
+
preparedRevision: 0;
|
|
119
|
+
recordVersion: 2;
|
|
120
|
+
requestBinding: string;
|
|
121
|
+
stage: "attach";
|
|
122
|
+
timingPolicyJSON: string;
|
|
123
|
+
}, [import("convex/values").VObject<{
|
|
124
|
+
accountJSON: string;
|
|
125
|
+
apiVersion: string;
|
|
126
|
+
authorizationId: string;
|
|
127
|
+
authorizationRevision: number;
|
|
128
|
+
authorizationScope: string;
|
|
129
|
+
basisJSON: string;
|
|
130
|
+
committedRevision: 1;
|
|
131
|
+
firstDispatchedAt: number;
|
|
132
|
+
key: string;
|
|
133
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
134
|
+
logicalOperationId: string;
|
|
135
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
136
|
+
ordinal: 1;
|
|
137
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
138
|
+
preparedRevision: 0;
|
|
139
|
+
requestBinding: string;
|
|
140
|
+
stage: "attach" | "configure";
|
|
141
|
+
}, {
|
|
142
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
143
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
144
|
+
authorizationScope: import("convex/values").VString<string, "required">;
|
|
145
|
+
authorizationId: import("convex/values").VString<string, "required">;
|
|
146
|
+
authorizationRevision: import("convex/values").VFloat64<number, "required">;
|
|
147
|
+
logicalOperationId: import("convex/values").VString<string, "required">;
|
|
148
|
+
requestBinding: import("convex/values").VString<string, "required">;
|
|
149
|
+
key: import("convex/values").VString<string, "required">;
|
|
150
|
+
apiVersion: import("convex/values").VString<string, "required">;
|
|
151
|
+
accountJSON: import("convex/values").VString<string, "required">;
|
|
152
|
+
firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
|
|
153
|
+
ordinal: import("convex/values").VLiteral<1, "required">;
|
|
154
|
+
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
155
|
+
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
156
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
157
|
+
basisJSON: import("convex/values").VString<string, "required">;
|
|
158
|
+
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>;
|
|
159
|
+
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "requestBinding" | "stage">, import("convex/values").VObject<{
|
|
160
|
+
accountJSON: string;
|
|
161
|
+
apiVersion: string;
|
|
162
|
+
authorizationId: string;
|
|
163
|
+
authorizationRevision: number;
|
|
164
|
+
authorizationScope: string;
|
|
165
|
+
committedRevision: 1;
|
|
166
|
+
firstDispatchedAt: number;
|
|
167
|
+
key: string;
|
|
168
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
169
|
+
logicalOperationId: string;
|
|
170
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
171
|
+
ordinal: 1;
|
|
172
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
173
|
+
preparedRevision: 0;
|
|
174
|
+
recordVersion: 2;
|
|
175
|
+
requestBinding: string;
|
|
176
|
+
stage: "attach";
|
|
177
|
+
timingPolicyJSON: string;
|
|
178
|
+
}, {
|
|
179
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
180
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
181
|
+
authorizationScope: import("convex/values").VString<string, "required">;
|
|
182
|
+
authorizationId: import("convex/values").VString<string, "required">;
|
|
183
|
+
authorizationRevision: import("convex/values").VFloat64<number, "required">;
|
|
184
|
+
logicalOperationId: import("convex/values").VString<string, "required">;
|
|
185
|
+
requestBinding: import("convex/values").VString<string, "required">;
|
|
186
|
+
key: import("convex/values").VString<string, "required">;
|
|
187
|
+
apiVersion: import("convex/values").VString<string, "required">;
|
|
188
|
+
accountJSON: import("convex/values").VString<string, "required">;
|
|
189
|
+
firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
|
|
190
|
+
ordinal: import("convex/values").VLiteral<1, "required">;
|
|
191
|
+
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
192
|
+
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
193
|
+
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
194
|
+
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
195
|
+
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
196
|
+
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
197
|
+
}, "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">, {
|
|
198
|
+
by_operationId: ["operationId", "_creationTime"];
|
|
199
|
+
}, {}, {}>;
|
|
200
|
+
renewalOperationEvents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
201
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
202
|
+
binding: string;
|
|
203
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
204
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
205
|
+
sequence: 1 | 2 | 3;
|
|
206
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
207
|
+
stage: "attach" | "configure";
|
|
208
|
+
}, {
|
|
209
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
210
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
211
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
212
|
+
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
213
|
+
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>;
|
|
214
|
+
binding: import("convex/values").VString<string, "required">;
|
|
215
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
216
|
+
}, "required", "attemptId" | "binding" | "operationId" | "payloadId" | "sequence" | "sourcePayloadId" | "stage">, {
|
|
217
|
+
by_attemptId_and_sequence: ["attemptId", "sequence", "_creationTime"];
|
|
218
|
+
}, {}, {}>;
|
|
219
|
+
renewalOperationPayloads: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
220
|
+
codecVersion: 1;
|
|
221
|
+
json: string;
|
|
222
|
+
owner?: {
|
|
223
|
+
kind: "operation";
|
|
224
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
225
|
+
} | {
|
|
226
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
227
|
+
kind: "event";
|
|
228
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
229
|
+
sequence: 1 | 2 | 3;
|
|
230
|
+
stage: "attach" | "configure";
|
|
231
|
+
} | {
|
|
232
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
233
|
+
kind: "receipt";
|
|
234
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
235
|
+
stage: "attach" | "configure";
|
|
236
|
+
} | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
codecVersion: import("convex/values").VLiteral<1, "required">;
|
|
239
|
+
json: import("convex/values").VString<string, "required">;
|
|
240
|
+
owner: import("convex/values").VUnion<{
|
|
241
|
+
kind: "operation";
|
|
242
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
243
|
+
} | {
|
|
244
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
245
|
+
kind: "event";
|
|
246
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
247
|
+
sequence: 1 | 2 | 3;
|
|
248
|
+
stage: "attach" | "configure";
|
|
249
|
+
} | {
|
|
250
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
251
|
+
kind: "receipt";
|
|
252
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
253
|
+
stage: "attach" | "configure";
|
|
254
|
+
} | undefined, [import("convex/values").VObject<{
|
|
255
|
+
kind: "operation";
|
|
256
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
257
|
+
}, {
|
|
258
|
+
kind: import("convex/values").VLiteral<"operation", "required">;
|
|
259
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
260
|
+
}, "required", "kind" | "operationId">, import("convex/values").VObject<{
|
|
261
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
262
|
+
kind: "event";
|
|
263
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
264
|
+
sequence: 1 | 2 | 3;
|
|
265
|
+
stage: "attach" | "configure";
|
|
266
|
+
}, {
|
|
267
|
+
kind: import("convex/values").VLiteral<"event", "required">;
|
|
268
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
269
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
270
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
271
|
+
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>;
|
|
272
|
+
}, "required", "attemptId" | "kind" | "operationId" | "sequence" | "stage">, import("convex/values").VObject<{
|
|
273
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
274
|
+
kind: "receipt";
|
|
275
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
276
|
+
stage: "attach" | "configure";
|
|
277
|
+
}, {
|
|
278
|
+
kind: import("convex/values").VLiteral<"receipt", "required">;
|
|
279
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
280
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
281
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
282
|
+
}, "required", "attemptId" | "kind" | "operationId" | "stage">], "optional", "attemptId" | "kind" | "operationId" | "sequence" | "stage">;
|
|
283
|
+
}, "required", "codecVersion" | "json" | "owner" | "owner.attemptId" | "owner.kind" | "owner.operationId" | "owner.sequence" | "owner.stage">, {}, {}, {}>;
|
|
3
284
|
reversalObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
4
285
|
deleted: boolean;
|
|
5
286
|
fingerprint: string;
|
|
@@ -4856,6 +5137,287 @@ export declare function large(count?: number, amount?: number): Promise<{
|
|
|
4856
5137
|
export declare function withHistory(count?: number, amount?: number): Promise<{
|
|
4857
5138
|
s: {
|
|
4858
5139
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
5140
|
+
renewalOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
5141
|
+
activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
|
|
5142
|
+
authorizationId: string;
|
|
5143
|
+
authorizationRevision: number;
|
|
5144
|
+
authorizationScope: string;
|
|
5145
|
+
initialBasis?: {
|
|
5146
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5147
|
+
basisJSON: string;
|
|
5148
|
+
policyJSON: string;
|
|
5149
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5150
|
+
stage: "attach";
|
|
5151
|
+
version: 1;
|
|
5152
|
+
} | undefined;
|
|
5153
|
+
knownAcknowledgement?: {
|
|
5154
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5155
|
+
dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
5156
|
+
dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5157
|
+
receiptBinding: string;
|
|
5158
|
+
receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5159
|
+
responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
5160
|
+
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5161
|
+
schemaVersion: 1;
|
|
5162
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5163
|
+
stage: "attach";
|
|
5164
|
+
} | undefined;
|
|
5165
|
+
logicalOperationId: string;
|
|
5166
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5167
|
+
recordVersion?: 2 | undefined;
|
|
5168
|
+
requestBinding: string;
|
|
5169
|
+
revision: 0 | 1;
|
|
5170
|
+
state: "PREPARED" | "RESERVED";
|
|
5171
|
+
}, {
|
|
5172
|
+
recordVersion: import("convex/values").VLiteral<2 | undefined, "optional">;
|
|
5173
|
+
initialBasis: import("convex/values").VObject<{
|
|
5174
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5175
|
+
basisJSON: string;
|
|
5176
|
+
policyJSON: string;
|
|
5177
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5178
|
+
stage: "attach";
|
|
5179
|
+
version: 1;
|
|
5180
|
+
} | undefined, {
|
|
5181
|
+
version: import("convex/values").VLiteral<1, "required">;
|
|
5182
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5183
|
+
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5184
|
+
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5185
|
+
policyJSON: import("convex/values").VString<string, "required">;
|
|
5186
|
+
basisJSON: import("convex/values").VString<string, "required">;
|
|
5187
|
+
}, "optional", "attemptId" | "basisJSON" | "policyJSON" | "sourcePayloadId" | "stage" | "version">;
|
|
5188
|
+
authorizationScope: import("convex/values").VString<string, "required">;
|
|
5189
|
+
authorizationId: import("convex/values").VString<string, "required">;
|
|
5190
|
+
authorizationRevision: import("convex/values").VFloat64<number, "required">;
|
|
5191
|
+
logicalOperationId: import("convex/values").VString<string, "required">;
|
|
5192
|
+
requestBinding: import("convex/values").VString<string, "required">;
|
|
5193
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5194
|
+
revision: import("convex/values").VUnion<0 | 1, [import("convex/values").VLiteral<0, "required">, import("convex/values").VLiteral<1, "required">], "required", never>;
|
|
5195
|
+
state: import("convex/values").VUnion<"PREPARED" | "RESERVED", [import("convex/values").VLiteral<"PREPARED", "required">, import("convex/values").VLiteral<"RESERVED", "required">], "required", never>;
|
|
5196
|
+
activeAttemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts"> | undefined, "optional">;
|
|
5197
|
+
knownAcknowledgement: import("convex/values").VObject<{
|
|
5198
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5199
|
+
dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
5200
|
+
dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5201
|
+
receiptBinding: string;
|
|
5202
|
+
receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5203
|
+
responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
|
|
5204
|
+
responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5205
|
+
schemaVersion: 1;
|
|
5206
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5207
|
+
stage: "attach";
|
|
5208
|
+
} | undefined, {
|
|
5209
|
+
schemaVersion: import("convex/values").VLiteral<1, "required">;
|
|
5210
|
+
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5211
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5212
|
+
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5213
|
+
dispatchEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
5214
|
+
dispatchPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5215
|
+
responseEventId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationEvents">, "required">;
|
|
5216
|
+
responsePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5217
|
+
receiptPayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5218
|
+
receiptBinding: import("convex/values").VString<string, "required">;
|
|
5219
|
+
}, "optional", "attemptId" | "dispatchEventId" | "dispatchPayloadId" | "receiptBinding" | "receiptPayloadId" | "responseEventId" | "responsePayloadId" | "schemaVersion" | "sourcePayloadId" | "stage">;
|
|
5220
|
+
}, "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">, {
|
|
5221
|
+
by_authorizationScope_and_logicalOperationId: ["authorizationScope", "logicalOperationId", "_creationTime"];
|
|
5222
|
+
}, {}, {}>;
|
|
5223
|
+
renewalOperationAttempts: import("convex/server").TableDefinition<import("convex/values").VUnion<{
|
|
5224
|
+
accountJSON: string;
|
|
5225
|
+
apiVersion: string;
|
|
5226
|
+
authorizationId: string;
|
|
5227
|
+
authorizationRevision: number;
|
|
5228
|
+
authorizationScope: string;
|
|
5229
|
+
basisJSON: string;
|
|
5230
|
+
committedRevision: 1;
|
|
5231
|
+
firstDispatchedAt: number;
|
|
5232
|
+
key: string;
|
|
5233
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
5234
|
+
logicalOperationId: string;
|
|
5235
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5236
|
+
ordinal: 1;
|
|
5237
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5238
|
+
preparedRevision: 0;
|
|
5239
|
+
requestBinding: string;
|
|
5240
|
+
stage: "attach" | "configure";
|
|
5241
|
+
} | {
|
|
5242
|
+
accountJSON: string;
|
|
5243
|
+
apiVersion: string;
|
|
5244
|
+
authorizationId: string;
|
|
5245
|
+
authorizationRevision: number;
|
|
5246
|
+
authorizationScope: string;
|
|
5247
|
+
committedRevision: 1;
|
|
5248
|
+
firstDispatchedAt: number;
|
|
5249
|
+
key: string;
|
|
5250
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
5251
|
+
logicalOperationId: string;
|
|
5252
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5253
|
+
ordinal: 1;
|
|
5254
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5255
|
+
preparedRevision: 0;
|
|
5256
|
+
recordVersion: 2;
|
|
5257
|
+
requestBinding: string;
|
|
5258
|
+
stage: "attach";
|
|
5259
|
+
timingPolicyJSON: string;
|
|
5260
|
+
}, [import("convex/values").VObject<{
|
|
5261
|
+
accountJSON: string;
|
|
5262
|
+
apiVersion: string;
|
|
5263
|
+
authorizationId: string;
|
|
5264
|
+
authorizationRevision: number;
|
|
5265
|
+
authorizationScope: string;
|
|
5266
|
+
basisJSON: string;
|
|
5267
|
+
committedRevision: 1;
|
|
5268
|
+
firstDispatchedAt: number;
|
|
5269
|
+
key: string;
|
|
5270
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
5271
|
+
logicalOperationId: string;
|
|
5272
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5273
|
+
ordinal: 1;
|
|
5274
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5275
|
+
preparedRevision: 0;
|
|
5276
|
+
requestBinding: string;
|
|
5277
|
+
stage: "attach" | "configure";
|
|
5278
|
+
}, {
|
|
5279
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
5280
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5281
|
+
authorizationScope: import("convex/values").VString<string, "required">;
|
|
5282
|
+
authorizationId: import("convex/values").VString<string, "required">;
|
|
5283
|
+
authorizationRevision: import("convex/values").VFloat64<number, "required">;
|
|
5284
|
+
logicalOperationId: import("convex/values").VString<string, "required">;
|
|
5285
|
+
requestBinding: import("convex/values").VString<string, "required">;
|
|
5286
|
+
key: import("convex/values").VString<string, "required">;
|
|
5287
|
+
apiVersion: import("convex/values").VString<string, "required">;
|
|
5288
|
+
accountJSON: import("convex/values").VString<string, "required">;
|
|
5289
|
+
firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
|
|
5290
|
+
ordinal: import("convex/values").VLiteral<1, "required">;
|
|
5291
|
+
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
5292
|
+
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
5293
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5294
|
+
basisJSON: import("convex/values").VString<string, "required">;
|
|
5295
|
+
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>;
|
|
5296
|
+
}, "required", "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "requestBinding" | "stage">, import("convex/values").VObject<{
|
|
5297
|
+
accountJSON: string;
|
|
5298
|
+
apiVersion: string;
|
|
5299
|
+
authorizationId: string;
|
|
5300
|
+
authorizationRevision: number;
|
|
5301
|
+
authorizationScope: string;
|
|
5302
|
+
committedRevision: 1;
|
|
5303
|
+
firstDispatchedAt: number;
|
|
5304
|
+
key: string;
|
|
5305
|
+
lastSequence: 0 | 1 | 2 | 3;
|
|
5306
|
+
logicalOperationId: string;
|
|
5307
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5308
|
+
ordinal: 1;
|
|
5309
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5310
|
+
preparedRevision: 0;
|
|
5311
|
+
recordVersion: 2;
|
|
5312
|
+
requestBinding: string;
|
|
5313
|
+
stage: "attach";
|
|
5314
|
+
timingPolicyJSON: string;
|
|
5315
|
+
}, {
|
|
5316
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
5317
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5318
|
+
authorizationScope: import("convex/values").VString<string, "required">;
|
|
5319
|
+
authorizationId: import("convex/values").VString<string, "required">;
|
|
5320
|
+
authorizationRevision: import("convex/values").VFloat64<number, "required">;
|
|
5321
|
+
logicalOperationId: import("convex/values").VString<string, "required">;
|
|
5322
|
+
requestBinding: import("convex/values").VString<string, "required">;
|
|
5323
|
+
key: import("convex/values").VString<string, "required">;
|
|
5324
|
+
apiVersion: import("convex/values").VString<string, "required">;
|
|
5325
|
+
accountJSON: import("convex/values").VString<string, "required">;
|
|
5326
|
+
firstDispatchedAt: import("convex/values").VFloat64<number, "required">;
|
|
5327
|
+
ordinal: import("convex/values").VLiteral<1, "required">;
|
|
5328
|
+
preparedRevision: import("convex/values").VLiteral<0, "required">;
|
|
5329
|
+
committedRevision: import("convex/values").VLiteral<1, "required">;
|
|
5330
|
+
recordVersion: import("convex/values").VLiteral<2, "required">;
|
|
5331
|
+
stage: import("convex/values").VLiteral<"attach", "required">;
|
|
5332
|
+
timingPolicyJSON: import("convex/values").VString<string, "required">;
|
|
5333
|
+
lastSequence: import("convex/values").VUnion<0 | 1 | 2 | 3, [import("convex/values").VLiteral<0, "required">, import("convex/values").VUnion<1 | 2 | 3, [import("convex/values").VLiteral<1, "required">, import("convex/values").VLiteral<2, "required">, import("convex/values").VLiteral<3, "required">], "required", never>], "required", never>;
|
|
5334
|
+
}, "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">, {
|
|
5335
|
+
by_operationId: ["operationId", "_creationTime"];
|
|
5336
|
+
}, {}, {}>;
|
|
5337
|
+
renewalOperationEvents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
5338
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5339
|
+
binding: string;
|
|
5340
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5341
|
+
payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5342
|
+
sequence: 1 | 2 | 3;
|
|
5343
|
+
sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
|
|
5344
|
+
stage: "attach" | "configure";
|
|
5345
|
+
}, {
|
|
5346
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
5347
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5348
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5349
|
+
sourcePayloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5350
|
+
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>;
|
|
5351
|
+
binding: import("convex/values").VString<string, "required">;
|
|
5352
|
+
payloadId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationPayloads">, "required">;
|
|
5353
|
+
}, "required", "attemptId" | "binding" | "operationId" | "payloadId" | "sequence" | "sourcePayloadId" | "stage">, {
|
|
5354
|
+
by_attemptId_and_sequence: ["attemptId", "sequence", "_creationTime"];
|
|
5355
|
+
}, {}, {}>;
|
|
5356
|
+
renewalOperationPayloads: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
5357
|
+
codecVersion: 1;
|
|
5358
|
+
json: string;
|
|
5359
|
+
owner?: {
|
|
5360
|
+
kind: "operation";
|
|
5361
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5362
|
+
} | {
|
|
5363
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5364
|
+
kind: "event";
|
|
5365
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5366
|
+
sequence: 1 | 2 | 3;
|
|
5367
|
+
stage: "attach" | "configure";
|
|
5368
|
+
} | {
|
|
5369
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5370
|
+
kind: "receipt";
|
|
5371
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5372
|
+
stage: "attach" | "configure";
|
|
5373
|
+
} | undefined;
|
|
5374
|
+
}, {
|
|
5375
|
+
codecVersion: import("convex/values").VLiteral<1, "required">;
|
|
5376
|
+
json: import("convex/values").VString<string, "required">;
|
|
5377
|
+
owner: import("convex/values").VUnion<{
|
|
5378
|
+
kind: "operation";
|
|
5379
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5380
|
+
} | {
|
|
5381
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5382
|
+
kind: "event";
|
|
5383
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5384
|
+
sequence: 1 | 2 | 3;
|
|
5385
|
+
stage: "attach" | "configure";
|
|
5386
|
+
} | {
|
|
5387
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5388
|
+
kind: "receipt";
|
|
5389
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5390
|
+
stage: "attach" | "configure";
|
|
5391
|
+
} | undefined, [import("convex/values").VObject<{
|
|
5392
|
+
kind: "operation";
|
|
5393
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5394
|
+
}, {
|
|
5395
|
+
kind: import("convex/values").VLiteral<"operation", "required">;
|
|
5396
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
5397
|
+
}, "required", "kind" | "operationId">, import("convex/values").VObject<{
|
|
5398
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5399
|
+
kind: "event";
|
|
5400
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5401
|
+
sequence: 1 | 2 | 3;
|
|
5402
|
+
stage: "attach" | "configure";
|
|
5403
|
+
}, {
|
|
5404
|
+
kind: import("convex/values").VLiteral<"event", "required">;
|
|
5405
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
5406
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5407
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5408
|
+
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>;
|
|
5409
|
+
}, "required", "attemptId" | "kind" | "operationId" | "sequence" | "stage">, import("convex/values").VObject<{
|
|
5410
|
+
attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
|
|
5411
|
+
kind: "receipt";
|
|
5412
|
+
operationId: import("convex/values").GenericId<"renewalOperations">;
|
|
5413
|
+
stage: "attach" | "configure";
|
|
5414
|
+
}, {
|
|
5415
|
+
kind: import("convex/values").VLiteral<"receipt", "required">;
|
|
5416
|
+
operationId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperations">, "required">;
|
|
5417
|
+
attemptId: import("convex/values").VId<import("convex/values").GenericId<"renewalOperationAttempts">, "required">;
|
|
5418
|
+
stage: import("convex/values").VUnion<"attach" | "configure", [import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"configure", "required">], "required", never>;
|
|
5419
|
+
}, "required", "attemptId" | "kind" | "operationId" | "stage">], "optional", "attemptId" | "kind" | "operationId" | "sequence" | "stage">;
|
|
5420
|
+
}, "required", "codecVersion" | "json" | "owner" | "owner.attemptId" | "owner.kind" | "owner.operationId" | "owner.sequence" | "owner.stage">, {}, {}, {}>;
|
|
4859
5421
|
reversalObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
4860
5422
|
deleted: boolean;
|
|
4861
5423
|
fingerprint: string;
|