@fantastic.dev/better-stripe 0.91.0 → 0.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/client/billing/renewalAttach/internal/configure/actor.d.ts +6 -0
  4. package/dist/client/billing/renewalAttach/internal/configure/actor.d.ts.map +1 -1
  5. package/dist/client/billing/renewalAttach/internal/configure/actor.js +46 -56
  6. package/dist/client/billing/renewalAttach/internal/configure/actor.js.map +1 -1
  7. package/dist/client/billing/renewalAttach/internal/configure/ownedContinuation.d.ts +3 -0
  8. package/dist/client/billing/renewalAttach/internal/configure/ownedContinuation.d.ts.map +1 -0
  9. package/dist/client/billing/renewalAttach/internal/configure/ownedContinuation.js +61 -0
  10. package/dist/client/billing/renewalAttach/internal/configure/ownedContinuation.js.map +1 -0
  11. package/dist/client/billing/renewalAttach/internal/observation/actor.d.ts.map +1 -1
  12. package/dist/client/billing/renewalAttach/internal/observation/actor.js +25 -4
  13. package/dist/client/billing/renewalAttach/internal/observation/actor.js.map +1 -1
  14. package/dist/client/billing/renewalAttach/internal/observation/capture.d.ts.map +1 -1
  15. package/dist/client/billing/renewalAttach/internal/observation/capture.js +3 -2
  16. package/dist/client/billing/renewalAttach/internal/observation/capture.js.map +1 -1
  17. package/dist/client/billing/renewalAttach/internal/observation/configureAcknowledgement.d.ts +5 -0
  18. package/dist/client/billing/renewalAttach/internal/observation/configureAcknowledgement.d.ts.map +1 -0
  19. package/dist/client/billing/renewalAttach/internal/observation/configureAcknowledgement.js +11 -0
  20. package/dist/client/billing/renewalAttach/internal/observation/configureAcknowledgement.js.map +1 -0
  21. package/dist/client/billing/renewalAttach/internal/observation/types.d.ts +5 -0
  22. package/dist/client/billing/renewalAttach/internal/observation/types.d.ts.map +1 -1
  23. package/dist/client/billing/renewalAttach/internal/observation/types.js.map +1 -1
  24. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts +30 -0
  25. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts.map +1 -0
  26. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js +113 -0
  27. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js.map +1 -0
  28. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +562 -0
  29. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  30. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +281 -0
  31. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  32. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +562 -0
  33. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  34. package/dist/client/connect/payoutSyncTestHelpers.d.ts +281 -0
  35. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  36. package/dist/client/index.d.ts +3 -2
  37. package/dist/client/index.d.ts.map +1 -1
  38. package/dist/client/index.js +16 -3
  39. package/dist/client/index.js.map +1 -1
  40. package/dist/component/_generated/api.d.ts +6 -0
  41. package/dist/component/_generated/api.d.ts.map +1 -1
  42. package/dist/component/_generated/api.js.map +1 -1
  43. package/dist/component/_generated/component.d.ts +406 -0
  44. package/dist/component/_generated/component.d.ts.map +1 -1
  45. package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
  46. package/dist/component/earnings/triggers.d.ts +294 -0
  47. package/dist/component/earnings/triggers.d.ts.map +1 -1
  48. package/dist/component/payoutRelease/queries.d.ts +2 -2
  49. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  50. package/dist/component/processingCostReconciliation/rollback.d.ts +1 -1
  51. package/dist/component/renewalOperations/helpers.d.ts +236 -0
  52. package/dist/component/renewalOperations/helpers.d.ts.map +1 -0
  53. package/dist/component/renewalOperations/helpers.js +457 -0
  54. package/dist/component/renewalOperations/helpers.js.map +1 -0
  55. package/dist/component/renewalOperations/mutations.d.ts +252 -0
  56. package/dist/component/renewalOperations/mutations.d.ts.map +1 -0
  57. package/dist/component/renewalOperations/mutations.js +340 -0
  58. package/dist/component/renewalOperations/mutations.js.map +1 -0
  59. package/dist/component/renewalOperations/queries.d.ts +163 -0
  60. package/dist/component/renewalOperations/queries.d.ts.map +1 -0
  61. package/dist/component/renewalOperations/queries.js +167 -0
  62. package/dist/component/renewalOperations/queries.js.map +1 -0
  63. package/dist/component/renewalOperations/schema.d.ts +1988 -0
  64. package/dist/component/renewalOperations/schema.d.ts.map +1 -0
  65. package/dist/component/renewalOperations/schema.js +227 -0
  66. package/dist/component/renewalOperations/schema.js.map +1 -0
  67. package/dist/component/schema.d.ts +281 -0
  68. package/dist/component/schema.js +5 -0
  69. package/dist/component/schema.js.map +1 -1
  70. package/dist/component/usage/allowance.fixtures.d.ts +281 -0
  71. package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
  72. package/dist/component/usageCredits/accounting.fixtures.d.ts +281 -0
  73. package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
  74. package/dist/shared/renewalOperationJournal.d.ts +43 -0
  75. package/dist/shared/renewalOperationJournal.d.ts.map +1 -0
  76. package/dist/shared/renewalOperationJournal.js +294 -0
  77. package/dist/shared/renewalOperationJournal.js.map +1 -0
  78. package/docs/renewal-context-reads.md +152 -0
  79. package/docs/renewal-material-observation.md +32 -11
  80. package/package.json +1 -1
  81. package/src/client/billing/renewalAttach/internal/configure/actor.ts +63 -52
  82. package/src/client/billing/renewalAttach/internal/configure/ownedContinuation.ts +56 -0
  83. package/src/client/billing/renewalAttach/internal/observation/actor.ts +46 -3
  84. package/src/client/billing/renewalAttach/internal/observation/capture.ts +3 -2
  85. package/src/client/billing/renewalAttach/internal/observation/configureAcknowledgement.ts +20 -0
  86. package/src/client/billing/renewalAttach/internal/observation/observationConfigureACK.integration.test.ts +36 -0
  87. package/src/client/billing/renewalAttach/internal/observation/observationConfigureACKControls.integration.test.ts +48 -0
  88. package/src/client/billing/renewalAttach/internal/observation/observationConfigureACKLifecycle.integration.test.ts +44 -0
  89. package/src/client/billing/renewalAttach/internal/observation/observationConfiguredHistory.integration.test.ts +34 -0
  90. package/src/client/billing/renewalAttach/internal/observation/types.ts +5 -0
  91. package/src/client/billing/renewalAttach/internal/operationJournal.integration.test.ts +380 -0
  92. package/src/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.ts +155 -0
  93. package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteAssertions.ts +5 -1
  94. package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteDeclarations.ts +12 -1
  95. package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteDelegate.ts +38 -0
  96. package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteHistory.ts +8 -0
  97. package/src/client/billing/renewalAttach/internal/test-fixtures/configureWriteOperation.ts +10 -23
  98. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKAssertions.ts +115 -0
  99. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKDeclarations.ts +141 -0
  100. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleAssertions.ts +74 -0
  101. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleDeclarations.ts +79 -0
  102. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleInstrumentation.ts +207 -0
  103. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKLifecycleOperation.ts +494 -0
  104. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfigureACKOperation.ts +452 -0
  105. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryAssertions.ts +88 -0
  106. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryDeclarations.ts +170 -0
  107. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryNative.ts +99 -0
  108. package/src/client/billing/renewalAttach/internal/test-fixtures/observationConfiguredHistoryOperation.ts +411 -0
  109. package/src/client/index.ts +24 -3
  110. package/src/component/_generated/api.ts +6 -0
  111. package/src/component/_generated/component.ts +450 -0
  112. package/src/component/renewalOperations/acknowledgement.fixtures.ts +552 -0
  113. package/src/component/renewalOperations/acknowledgement.test.ts +573 -0
  114. package/src/component/renewalOperations/acknowledgementReads.test.ts +442 -0
  115. package/src/component/renewalOperations/acknowledgementV2.test.ts +493 -0
  116. package/src/component/renewalOperations/acknowledgementV2Publication.test.ts +373 -0
  117. package/src/component/renewalOperations/basisBinding.test.ts +567 -0
  118. package/src/component/renewalOperations/basisLifecycle.test.ts +569 -0
  119. package/src/component/renewalOperations/boundHistory.test.ts +474 -0
  120. package/src/component/renewalOperations/helpers.ts +592 -0
  121. package/src/component/renewalOperations/historyReads.test.ts +595 -0
  122. package/src/component/renewalOperations/initialBasis.test.ts +578 -0
  123. package/src/component/renewalOperations/journal.test.ts +567 -0
  124. package/src/component/renewalOperations/mutations.ts +456 -0
  125. package/src/component/renewalOperations/payload.test.ts +589 -0
  126. package/src/component/renewalOperations/payloadEncoding.test.ts +592 -0
  127. package/src/component/renewalOperations/queries.ts +204 -0
  128. package/src/component/renewalOperations/schema.ts +268 -0
  129. package/src/component/renewalOperations/timingPolicy.fixtures.ts +193 -0
  130. package/src/component/renewalOperations/timingPolicy.test.ts +523 -0
  131. package/src/component/schema.ts +11 -0
  132. package/src/shared/renewalOperationJournal.ts +333 -0
@@ -1,5 +1,286 @@
1
1
  export declare function setupAllowance(): 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;
@@ -1 +1 @@
1
- {"version":3,"file":"allowance.fixtures.d.ts","sourceRoot":"","sources":["../../../src/component/usage/allowance.fixtures.ts"],"names":[],"mappings":"AAiBA,wBAAsB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAS5B,GAAG;gBACH,OAAO;gBACP,KAAK;gBACL,IAAI;oBAAI,IAAI;oBAAU,SAAS;;gBAC/B,IAAI;oBAAI,QAAQ;oBAAS,iBAAiB;;gBAC1C,gBAAgB;gBAChB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBC,KAAK;YAAO,GAAG;;;;;;;;;;;;;;;YAxClB,IAAI;YAAU,QAAQ;;;GA6DhC"}
@@ -1,5 +1,286 @@
1
1
  export declare function setupCredits(): 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;