@fantastic.dev/better-stripe 0.34.0 → 0.35.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 (258) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +486 -2
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +243 -1
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +486 -2
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +243 -1
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/connect/refundCommandEvidence.d.ts +14 -0
  12. package/dist/client/connect/refundCommandEvidence.d.ts.map +1 -0
  13. package/dist/client/connect/refundCommandEvidence.js +20 -0
  14. package/dist/client/connect/refundCommandEvidence.js.map +1 -0
  15. package/dist/client/connect/refundCommandNormalization.d.ts +11 -0
  16. package/dist/client/connect/refundCommandNormalization.d.ts.map +1 -0
  17. package/dist/client/connect/refundCommandNormalization.js +12 -0
  18. package/dist/client/connect/refundCommandNormalization.js.map +1 -0
  19. package/dist/client/financialObservations.d.ts +42 -0
  20. package/dist/client/financialObservations.d.ts.map +1 -0
  21. package/dist/client/financialObservations.js +58 -0
  22. package/dist/client/financialObservations.js.map +1 -0
  23. package/dist/client/financialOwnership.d.ts +52 -0
  24. package/dist/client/financialOwnership.d.ts.map +1 -0
  25. package/dist/client/financialOwnership.js +72 -0
  26. package/dist/client/financialOwnership.js.map +1 -0
  27. package/dist/client/index.d.ts +2 -2
  28. package/dist/client/index.d.ts.map +1 -1
  29. package/dist/client/index.js +2 -2
  30. package/dist/client/index.js.map +1 -1
  31. package/dist/client/observationPagination.d.ts +10 -0
  32. package/dist/client/observationPagination.d.ts.map +1 -0
  33. package/dist/client/observationPagination.js +12 -0
  34. package/dist/client/observationPagination.js.map +1 -0
  35. package/dist/client/publicTypes.d.ts +5 -0
  36. package/dist/client/publicTypes.d.ts.map +1 -1
  37. package/dist/client/readContracts.d.ts +29 -0
  38. package/dist/client/readContracts.d.ts.map +1 -1
  39. package/dist/client/readContracts.js +10 -0
  40. package/dist/client/readContracts.js.map +1 -1
  41. package/dist/client/transferObservations.d.ts +59 -0
  42. package/dist/client/transferObservations.d.ts.map +1 -0
  43. package/dist/client/transferObservations.js +82 -0
  44. package/dist/client/transferObservations.js.map +1 -0
  45. package/dist/component/_generated/component.d.ts +506 -0
  46. package/dist/component/_generated/component.d.ts.map +1 -1
  47. package/dist/component/affiliateRecovery/mutations.d.ts.map +1 -1
  48. package/dist/component/affiliateRecovery/mutations.js +4 -1
  49. package/dist/component/affiliateRecovery/mutations.js.map +1 -1
  50. package/dist/component/connect/mutations.d.ts.map +1 -1
  51. package/dist/component/connect/mutations.js +18 -2
  52. package/dist/component/connect/mutations.js.map +1 -1
  53. package/dist/component/connect/queries.d.ts +8 -0
  54. package/dist/component/connect/queries.d.ts.map +1 -1
  55. package/dist/component/connect/reversalClaims.d.ts.map +1 -1
  56. package/dist/component/connect/reversalClaims.js +7 -1
  57. package/dist/component/connect/reversalClaims.js.map +1 -1
  58. package/dist/component/connect/reversalReceipts.d.ts.map +1 -1
  59. package/dist/component/connect/reversalReceipts.js +2 -0
  60. package/dist/component/connect/reversalReceipts.js.map +1 -1
  61. package/dist/component/connect/schema.d.ts +11 -1
  62. package/dist/component/connect/schema.d.ts.map +1 -1
  63. package/dist/component/connect/schema.js +9 -1
  64. package/dist/component/connect/schema.js.map +1 -1
  65. package/dist/component/connect/validators.d.ts +9 -1
  66. package/dist/component/connect/validators.d.ts.map +1 -1
  67. package/dist/component/connect/validators.js +2 -0
  68. package/dist/component/connect/validators.js.map +1 -1
  69. package/dist/component/earnings/triggers.d.ts +426 -2
  70. package/dist/component/earnings/triggers.d.ts.map +1 -1
  71. package/dist/component/earnings/triggers.js +7 -1
  72. package/dist/component/earnings/triggers.js.map +1 -1
  73. package/dist/component/financialObservations/continuation.d.ts +7 -0
  74. package/dist/component/financialObservations/continuation.d.ts.map +1 -0
  75. package/dist/component/financialObservations/continuation.js +131 -0
  76. package/dist/component/financialObservations/continuation.js.map +1 -0
  77. package/dist/component/financialObservations/generations.d.ts +6 -0
  78. package/dist/component/financialObservations/generations.d.ts.map +1 -0
  79. package/dist/component/financialObservations/generations.js +46 -0
  80. package/dist/component/financialObservations/generations.js.map +1 -0
  81. package/dist/component/financialObservations/mutations.d.ts +62 -0
  82. package/dist/component/financialObservations/mutations.d.ts.map +1 -0
  83. package/dist/component/financialObservations/mutations.js +69 -0
  84. package/dist/component/financialObservations/mutations.js.map +1 -0
  85. package/dist/component/financialObservations/queries.d.ts +307 -0
  86. package/dist/component/financialObservations/queries.d.ts.map +1 -0
  87. package/dist/component/financialObservations/queries.js +219 -0
  88. package/dist/component/financialObservations/queries.js.map +1 -0
  89. package/dist/component/financialObservations/schema.d.ts +182 -0
  90. package/dist/component/financialObservations/schema.d.ts.map +1 -0
  91. package/dist/component/financialObservations/schema.js +53 -0
  92. package/dist/component/financialObservations/schema.js.map +1 -0
  93. package/dist/component/financialObservations/settlement.d.ts +7 -0
  94. package/dist/component/financialObservations/settlement.d.ts.map +1 -0
  95. package/dist/component/financialObservations/settlement.js +118 -0
  96. package/dist/component/financialObservations/settlement.js.map +1 -0
  97. package/dist/component/financialObservations/settlementHelpers.d.ts +46 -0
  98. package/dist/component/financialObservations/settlementHelpers.d.ts.map +1 -0
  99. package/dist/component/financialObservations/settlementHelpers.js +70 -0
  100. package/dist/component/financialObservations/settlementHelpers.js.map +1 -0
  101. package/dist/component/financialObservations/transferBatches.d.ts +12 -0
  102. package/dist/component/financialObservations/transferBatches.d.ts.map +1 -0
  103. package/dist/component/financialObservations/transferBatches.js +76 -0
  104. package/dist/component/financialObservations/transferBatches.js.map +1 -0
  105. package/dist/component/financialObservations/transferContinuation.d.ts +5 -0
  106. package/dist/component/financialObservations/transferContinuation.d.ts.map +1 -0
  107. package/dist/component/financialObservations/transferContinuation.js +35 -0
  108. package/dist/component/financialObservations/transferContinuation.js.map +1 -0
  109. package/dist/component/financialObservations/transferContinuationState.d.ts +8 -0
  110. package/dist/component/financialObservations/transferContinuationState.d.ts.map +1 -0
  111. package/dist/component/financialObservations/transferContinuationState.js +69 -0
  112. package/dist/component/financialObservations/transferContinuationState.js.map +1 -0
  113. package/dist/component/financialObservations/transferContinuationSteps.d.ts +5 -0
  114. package/dist/component/financialObservations/transferContinuationSteps.d.ts.map +1 -0
  115. package/dist/component/financialObservations/transferContinuationSteps.js +174 -0
  116. package/dist/component/financialObservations/transferContinuationSteps.js.map +1 -0
  117. package/dist/component/financialObservations/transferHelpers.d.ts +18 -0
  118. package/dist/component/financialObservations/transferHelpers.d.ts.map +1 -0
  119. package/dist/component/financialObservations/transferHelpers.js +37 -0
  120. package/dist/component/financialObservations/transferHelpers.js.map +1 -0
  121. package/dist/component/financialObservations/transferReferenceSchema.d.ts +56 -0
  122. package/dist/component/financialObservations/transferReferenceSchema.d.ts.map +1 -0
  123. package/dist/component/financialObservations/transferReferenceSchema.js +21 -0
  124. package/dist/component/financialObservations/transferReferenceSchema.js.map +1 -0
  125. package/dist/component/financialObservations/transferSchema.d.ts +237 -0
  126. package/dist/component/financialObservations/transferSchema.d.ts.map +1 -0
  127. package/dist/component/financialObservations/transferSchema.js +65 -0
  128. package/dist/component/financialObservations/transferSchema.js.map +1 -0
  129. package/dist/component/financialObservations/transfers.d.ts +7 -0
  130. package/dist/component/financialObservations/transfers.d.ts.map +1 -0
  131. package/dist/component/financialObservations/transfers.js +79 -0
  132. package/dist/component/financialObservations/transfers.js.map +1 -0
  133. package/dist/component/financialOwnership/helpers.d.ts +37 -0
  134. package/dist/component/financialOwnership/helpers.d.ts.map +1 -0
  135. package/dist/component/financialOwnership/helpers.js +76 -0
  136. package/dist/component/financialOwnership/helpers.js.map +1 -0
  137. package/dist/component/financialOwnership/mutations.d.ts +28 -0
  138. package/dist/component/financialOwnership/mutations.d.ts.map +1 -0
  139. package/dist/component/financialOwnership/mutations.js +74 -0
  140. package/dist/component/financialOwnership/mutations.js.map +1 -0
  141. package/dist/component/financialOwnership/queries.d.ts +57 -0
  142. package/dist/component/financialOwnership/queries.d.ts.map +1 -0
  143. package/dist/component/financialOwnership/queries.js +50 -0
  144. package/dist/component/financialOwnership/queries.js.map +1 -0
  145. package/dist/component/financialOwnership/schema.d.ts +140 -0
  146. package/dist/component/financialOwnership/schema.d.ts.map +1 -0
  147. package/dist/component/financialOwnership/schema.js +35 -0
  148. package/dist/component/financialOwnership/schema.js.map +1 -0
  149. package/dist/component/payoutRelease/queries.d.ts +2 -2
  150. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  151. package/dist/component/refundHistory/commandBinding.d.ts +17 -0
  152. package/dist/component/refundHistory/commandBinding.d.ts.map +1 -0
  153. package/dist/component/refundHistory/commandBinding.js +41 -0
  154. package/dist/component/refundHistory/commandBinding.js.map +1 -0
  155. package/dist/component/refundHistory/commandEvidence.d.ts +50 -0
  156. package/dist/component/refundHistory/commandEvidence.d.ts.map +1 -0
  157. package/dist/component/refundHistory/commandEvidence.js +54 -0
  158. package/dist/component/refundHistory/commandEvidence.js.map +1 -0
  159. package/dist/component/refundHistory/commandEvidenceValidator.d.ts +89 -0
  160. package/dist/component/refundHistory/commandEvidenceValidator.d.ts.map +1 -0
  161. package/dist/component/refundHistory/commandEvidenceValidator.js +8 -0
  162. package/dist/component/refundHistory/commandEvidenceValidator.js.map +1 -0
  163. package/dist/component/refundHistory/commandFields.d.ts +8 -0
  164. package/dist/component/refundHistory/commandFields.d.ts.map +1 -0
  165. package/dist/component/refundHistory/commandFields.js +9 -0
  166. package/dist/component/refundHistory/commandFields.js.map +1 -0
  167. package/dist/component/refundHistory/mutations.d.ts +8 -0
  168. package/dist/component/refundHistory/mutations.d.ts.map +1 -0
  169. package/dist/component/refundHistory/mutations.js +25 -0
  170. package/dist/component/refundHistory/mutations.js.map +1 -0
  171. package/dist/component/refundHistory/queries.d.ts +51 -0
  172. package/dist/component/refundHistory/queries.d.ts.map +1 -1
  173. package/dist/component/refundHistory/queries.js +14 -0
  174. package/dist/component/refundHistory/queries.js.map +1 -1
  175. package/dist/component/schema.d.ts +243 -1
  176. package/dist/component/schema.js +12 -0
  177. package/dist/component/schema.js.map +1 -1
  178. package/dist/component/settlement/mutations.d.ts.map +1 -1
  179. package/dist/component/settlement/mutations.js +5 -1
  180. package/dist/component/settlement/mutations.js.map +1 -1
  181. package/dist/shared/refundCommandScope.d.ts +10 -0
  182. package/dist/shared/refundCommandScope.d.ts.map +1 -0
  183. package/dist/shared/refundCommandScope.js +9 -0
  184. package/dist/shared/refundCommandScope.js.map +1 -0
  185. package/docs/financial-observations.md +159 -0
  186. package/docs/financial-ownership.md +54 -0
  187. package/docs/refund-command-evidence.md +49 -0
  188. package/package.json +5 -2
  189. package/src/client/connect/refundCommandEvidence.ts +41 -0
  190. package/src/client/connect/refundCommandNormalization.ts +28 -0
  191. package/src/client/financialObservations.test.ts +109 -0
  192. package/src/client/financialObservations.ts +106 -0
  193. package/src/client/financialOwnership.test.ts +80 -0
  194. package/src/client/financialOwnership.ts +116 -0
  195. package/src/client/index.ts +2 -2
  196. package/src/client/observationPagination.ts +11 -0
  197. package/src/client/publicTypes.ts +37 -0
  198. package/src/client/readContracts.ts +21 -0
  199. package/src/client/refund-command-evidence.test.ts +68 -0
  200. package/src/client/refund-command-normalization.test.ts +61 -0
  201. package/src/client/transferContinuation.test.ts +94 -0
  202. package/src/client/transferObservations.test.ts +98 -0
  203. package/src/client/transferObservations.ts +180 -0
  204. package/src/component/_generated/api.ts +44 -0
  205. package/src/component/_generated/component.ts +590 -0
  206. package/src/component/affiliateRecovery/mutations.ts +10 -1
  207. package/src/component/connect/mutations.ts +29 -2
  208. package/src/component/connect/reversalClaims.ts +19 -1
  209. package/src/component/connect/reversalReceipts.ts +2 -0
  210. package/src/component/connect/schema.ts +9 -1
  211. package/src/component/connect/validators.ts +2 -0
  212. package/src/component/core/reset.test.ts +8 -1
  213. package/src/component/earnings/earnings-totals.test.ts +14 -10
  214. package/src/component/earnings/triggers.ts +9 -1
  215. package/src/component/financialObservations/continuation.test.ts +445 -0
  216. package/src/component/financialObservations/continuation.ts +159 -0
  217. package/src/component/financialObservations/generations.ts +53 -0
  218. package/src/component/financialObservations/mutations.ts +75 -0
  219. package/src/component/financialObservations/observation-boundaries.test.ts +466 -0
  220. package/src/component/financialObservations/queries.ts +246 -0
  221. package/src/component/financialObservations/schema.ts +68 -0
  222. package/src/component/financialObservations/settlement-observations.test.ts +86 -0
  223. package/src/component/financialObservations/settlement.ts +142 -0
  224. package/src/component/financialObservations/settlementHelpers.ts +92 -0
  225. package/src/component/financialObservations/transfer-batches.test.ts +61 -0
  226. package/src/component/financialObservations/transfer-boundaries.test.ts +116 -0
  227. package/src/component/financialObservations/transfer-continuation-guards.test.ts +428 -0
  228. package/src/component/financialObservations/transfer-continuation.test.ts +154 -0
  229. package/src/component/financialObservations/transfer-observations.test.ts +212 -0
  230. package/src/component/financialObservations/transfer-overflow.test.ts +181 -0
  231. package/src/component/financialObservations/transfer-writers.test.ts +162 -0
  232. package/src/component/financialObservations/transferBatches.ts +96 -0
  233. package/src/component/financialObservations/transferContinuation.ts +53 -0
  234. package/src/component/financialObservations/transferContinuationState.ts +85 -0
  235. package/src/component/financialObservations/transferContinuationSteps.ts +232 -0
  236. package/src/component/financialObservations/transferHelpers.ts +38 -0
  237. package/src/component/financialObservations/transferReferenceSchema.ts +20 -0
  238. package/src/component/financialObservations/transferSchema.ts +74 -0
  239. package/src/component/financialObservations/transfers.ts +99 -0
  240. package/src/component/financialOwnership/financial-ownership.test.ts +102 -0
  241. package/src/component/financialOwnership/helpers.ts +98 -0
  242. package/src/component/financialOwnership/mutations.ts +83 -0
  243. package/src/component/financialOwnership/ownership-boundaries.test.ts +308 -0
  244. package/src/component/financialOwnership/queries.ts +65 -0
  245. package/src/component/financialOwnership/schema.ts +35 -0
  246. package/src/component/refundHistory/command-evidence.test.ts +288 -0
  247. package/src/component/refundHistory/command-normalization-resource.test.ts +77 -0
  248. package/src/component/refundHistory/command-normalization.test.ts +229 -0
  249. package/src/component/refundHistory/command-provenance.test.ts +59 -0
  250. package/src/component/refundHistory/commandBinding.ts +54 -0
  251. package/src/component/refundHistory/commandEvidence.ts +71 -0
  252. package/src/component/refundHistory/commandEvidenceValidator.ts +18 -0
  253. package/src/component/refundHistory/commandFields.ts +9 -0
  254. package/src/component/refundHistory/mutations.ts +33 -0
  255. package/src/component/refundHistory/queries.ts +15 -0
  256. package/src/component/schema.ts +22 -0
  257. package/src/component/settlement/mutations.ts +5 -1
  258. package/src/shared/refundCommandScope.ts +19 -0
@@ -10,6 +10,238 @@ export declare const scope: {
10
10
  };
11
11
  export declare function setup(amounts?: number[]): Promise<{
12
12
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
13
+ financialTransferObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
+ bucketKey: string;
15
+ fingerprint: string;
16
+ generation: number;
17
+ isContradictory: boolean;
18
+ observedFingerprint: string;
19
+ orgId?: string | undefined;
20
+ ownershipFingerprint: string;
21
+ ownershipStatus: "ambiguous" | "contradictory" | "registered" | "unknown";
22
+ producer: "transfer_fact";
23
+ producerVersion: 1;
24
+ registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
25
+ role?: "affiliate" | "other" | "store" | undefined;
26
+ sourceChargeId?: string | undefined;
27
+ sourceInvoiceId?: string | undefined;
28
+ stripeTransferId: string;
29
+ transferId: import("convex/values").GenericId<"transfers">;
30
+ userId?: string | undefined;
31
+ }, {
32
+ transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">;
33
+ stripeTransferId: import("convex/values").VString<string, "required">;
34
+ sourceChargeId: import("convex/values").VString<string | undefined, "optional">;
35
+ sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
36
+ bucketKey: import("convex/values").VString<string, "required">;
37
+ role: import("convex/values").VUnion<"affiliate" | "other" | "store" | undefined, [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "optional", never>;
38
+ registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
39
+ userId: import("convex/values").VString<string | undefined, "optional">;
40
+ orgId: import("convex/values").VString<string | undefined, "optional">;
41
+ ownershipStatus: import("convex/values").VUnion<"ambiguous" | "contradictory" | "registered" | "unknown", [import("convex/values").VLiteral<"registered", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"ambiguous", "required">, import("convex/values").VLiteral<"contradictory", "required">], "required", never>;
42
+ producer: import("convex/values").VLiteral<"transfer_fact", "required">;
43
+ producerVersion: import("convex/values").VLiteral<1, "required">;
44
+ fingerprint: import("convex/values").VString<string, "required">;
45
+ observedFingerprint: import("convex/values").VString<string, "required">;
46
+ ownershipFingerprint: import("convex/values").VString<string, "required">;
47
+ generation: import("convex/values").VFloat64<number, "required">;
48
+ isContradictory: import("convex/values").VBoolean<boolean, "required">;
49
+ }, "required", "bucketKey" | "fingerprint" | "generation" | "isContradictory" | "observedFingerprint" | "orgId" | "ownershipFingerprint" | "ownershipStatus" | "producer" | "producerVersion" | "registrationId" | "role" | "sourceChargeId" | "sourceInvoiceId" | "stripeTransferId" | "transferId" | "userId">, {
50
+ by_bucket_key: ["bucketKey", "_creationTime"];
51
+ by_owner: ["userId", "orgId", "_creationTime"];
52
+ by_transfer_id: ["transferId", "_creationTime"];
53
+ }, {}, {}>;
54
+ financialTransferBatches: import("convex/server").TableDefinition<import("convex/values").VObject<{
55
+ continuation?: {
56
+ nextReference: number;
57
+ producerGeneration: number;
58
+ sourceFingerprint: string;
59
+ state: "complete" | "held" | "indexing" | "validating";
60
+ validatedReferences: number;
61
+ } | undefined;
62
+ fingerprint: string;
63
+ generation: number;
64
+ isContradictory: boolean;
65
+ isOverflow: true;
66
+ observedFingerprint: string;
67
+ operationId: string;
68
+ originalOperationId: import("convex/values").GenericId<"transferReversalOps">;
69
+ producer: "transfer_frontier_claim" | "transfer_frontier_release";
70
+ producerVersion: 1;
71
+ referenceCount: number;
72
+ sourceChargeId: string;
73
+ state: "complete" | "pending";
74
+ transferIds: import("convex/values").GenericId<"transfers">[];
75
+ }, {
76
+ originalOperationId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
77
+ operationId: import("convex/values").VString<string, "required">;
78
+ sourceChargeId: import("convex/values").VString<string, "required">;
79
+ producer: import("convex/values").VUnion<"transfer_frontier_claim" | "transfer_frontier_release", [import("convex/values").VLiteral<"transfer_frontier_release", "required">, import("convex/values").VLiteral<"transfer_frontier_claim", "required">], "required", never>;
80
+ producerVersion: import("convex/values").VLiteral<1, "required">;
81
+ fingerprint: import("convex/values").VString<string, "required">;
82
+ generation: import("convex/values").VFloat64<number, "required">;
83
+ observedFingerprint: import("convex/values").VString<string, "required">;
84
+ isContradictory: import("convex/values").VBoolean<boolean, "required">;
85
+ referenceCount: import("convex/values").VFloat64<number, "required">;
86
+ transferIds: import("convex/values").VArray<import("convex/values").GenericId<"transfers">[], import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">, "required">;
87
+ isOverflow: import("convex/values").VLiteral<true, "required">;
88
+ state: import("convex/values").VUnion<"complete" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"complete", "required">], "required", never>;
89
+ continuation: import("convex/values").VObject<{
90
+ nextReference: number;
91
+ producerGeneration: number;
92
+ sourceFingerprint: string;
93
+ state: "complete" | "held" | "indexing" | "validating";
94
+ validatedReferences: number;
95
+ } | undefined, {
96
+ state: import("convex/values").VUnion<"complete" | "held" | "indexing" | "validating", [import("convex/values").VLiteral<"indexing", "required">, import("convex/values").VLiteral<"validating", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
97
+ nextReference: import("convex/values").VFloat64<number, "required">;
98
+ validatedReferences: import("convex/values").VFloat64<number, "required">;
99
+ producerGeneration: import("convex/values").VFloat64<number, "required">;
100
+ sourceFingerprint: import("convex/values").VString<string, "required">;
101
+ }, "optional", "nextReference" | "producerGeneration" | "sourceFingerprint" | "state" | "validatedReferences">;
102
+ }, "required", "continuation" | "continuation.nextReference" | "continuation.producerGeneration" | "continuation.sourceFingerprint" | "continuation.state" | "continuation.validatedReferences" | "fingerprint" | "generation" | "isContradictory" | "isOverflow" | "observedFingerprint" | "operationId" | "originalOperationId" | "producer" | "producerVersion" | "referenceCount" | "sourceChargeId" | "state" | "transferIds">, {
103
+ by_operation_id: ["operationId", "_creationTime"];
104
+ by_original_operation_id: ["originalOperationId", "_creationTime"];
105
+ by_original_operation_producer: ["originalOperationId", "producer", "_creationTime"];
106
+ by_state: ["state", "_creationTime"];
107
+ }, {}, {}>;
108
+ financialTransferBatchReferences: import("convex/server").TableDefinition<import("convex/values").VObject<{
109
+ batchId: import("convex/values").GenericId<"financialTransferBatches">;
110
+ observationGeneration: number;
111
+ observationId: import("convex/values").GenericId<"financialTransferObservations">;
112
+ observedFingerprint: string;
113
+ ownershipFingerprint: string;
114
+ position: number;
115
+ sourceFingerprint: string;
116
+ transferId: import("convex/values").GenericId<"transfers">;
117
+ }, {
118
+ batchId: import("convex/values").VId<import("convex/values").GenericId<"financialTransferBatches">, "required">;
119
+ position: import("convex/values").VFloat64<number, "required">;
120
+ transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">;
121
+ observationId: import("convex/values").VId<import("convex/values").GenericId<"financialTransferObservations">, "required">;
122
+ observationGeneration: import("convex/values").VFloat64<number, "required">;
123
+ sourceFingerprint: import("convex/values").VString<string, "required">;
124
+ observedFingerprint: import("convex/values").VString<string, "required">;
125
+ ownershipFingerprint: import("convex/values").VString<string, "required">;
126
+ }, "required", "batchId" | "observationGeneration" | "observationId" | "observedFingerprint" | "ownershipFingerprint" | "position" | "sourceFingerprint" | "transferId">, {
127
+ by_batch_position: ["batchId", "position", "_creationTime"];
128
+ by_batch_transfer: ["batchId", "transferId", "_creationTime"];
129
+ }, {}, {}>;
130
+ financialSourceObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
131
+ allocationId: import("convex/values").GenericId<"settlementAllocations">;
132
+ continuation?: {
133
+ nextLeg: number;
134
+ state: "complete" | "held" | "indexing" | "validating";
135
+ validatedLegs: number;
136
+ } | undefined;
137
+ fingerprint: string;
138
+ generation: number;
139
+ indexedLegCount: number;
140
+ isContradictory: boolean;
141
+ isOverflow: boolean;
142
+ legCount: number;
143
+ observedFingerprint: string;
144
+ ownershipFingerprint: string;
145
+ producer: "settlement_allocation";
146
+ producerVersion: 1;
147
+ sourceChargeId: string;
148
+ }, {
149
+ allocationId: import("convex/values").VId<import("convex/values").GenericId<"settlementAllocations">, "required">;
150
+ sourceChargeId: import("convex/values").VString<string, "required">;
151
+ producer: import("convex/values").VLiteral<"settlement_allocation", "required">;
152
+ producerVersion: import("convex/values").VLiteral<1, "required">;
153
+ fingerprint: import("convex/values").VString<string, "required">;
154
+ observedFingerprint: import("convex/values").VString<string, "required">;
155
+ ownershipFingerprint: import("convex/values").VString<string, "required">;
156
+ generation: import("convex/values").VFloat64<number, "required">;
157
+ legCount: import("convex/values").VFloat64<number, "required">;
158
+ indexedLegCount: import("convex/values").VFloat64<number, "required">;
159
+ isOverflow: import("convex/values").VBoolean<boolean, "required">;
160
+ isContradictory: import("convex/values").VBoolean<boolean, "required">;
161
+ continuation: import("convex/values").VObject<{
162
+ nextLeg: number;
163
+ state: "complete" | "held" | "indexing" | "validating";
164
+ validatedLegs: number;
165
+ } | undefined, {
166
+ state: import("convex/values").VUnion<"complete" | "held" | "indexing" | "validating", [import("convex/values").VLiteral<"indexing", "required">, import("convex/values").VLiteral<"validating", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
167
+ nextLeg: import("convex/values").VFloat64<number, "required">;
168
+ validatedLegs: import("convex/values").VFloat64<number, "required">;
169
+ }, "optional", "nextLeg" | "state" | "validatedLegs">;
170
+ }, "required", "allocationId" | "continuation" | "continuation.nextLeg" | "continuation.state" | "continuation.validatedLegs" | "fingerprint" | "generation" | "indexedLegCount" | "isContradictory" | "isOverflow" | "legCount" | "observedFingerprint" | "ownershipFingerprint" | "producer" | "producerVersion" | "sourceChargeId">, {
171
+ by_allocation_id: ["allocationId", "_creationTime"];
172
+ }, {}, {}>;
173
+ financialSourceLegs: import("convex/server").TableDefinition<import("convex/values").VObject<{
174
+ allocationId: import("convex/values").GenericId<"settlementAllocations">;
175
+ bucketKey: string;
176
+ legIndex: number;
177
+ orgId?: string | undefined;
178
+ ownershipStatus: "ambiguous" | "contradictory" | "registered" | "unknown";
179
+ registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
180
+ role: "affiliate" | "other" | "store";
181
+ sourceChargeId: string;
182
+ userId?: string | undefined;
183
+ }, {
184
+ allocationId: import("convex/values").VId<import("convex/values").GenericId<"settlementAllocations">, "required">;
185
+ sourceChargeId: import("convex/values").VString<string, "required">;
186
+ legIndex: import("convex/values").VFloat64<number, "required">;
187
+ bucketKey: import("convex/values").VString<string, "required">;
188
+ role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
189
+ registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
190
+ userId: import("convex/values").VString<string | undefined, "optional">;
191
+ orgId: import("convex/values").VString<string | undefined, "optional">;
192
+ ownershipStatus: import("convex/values").VUnion<"ambiguous" | "contradictory" | "registered" | "unknown", [import("convex/values").VLiteral<"registered", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"ambiguous", "required">, import("convex/values").VLiteral<"contradictory", "required">], "required", never>;
193
+ }, "required", "allocationId" | "bucketKey" | "legIndex" | "orgId" | "ownershipStatus" | "registrationId" | "role" | "sourceChargeId" | "userId">, {
194
+ by_allocation_id_and_leg_index: ["allocationId", "legIndex", "_creationTime"];
195
+ by_bucket_key: ["bucketKey", "_creationTime"];
196
+ by_owner: ["userId", "orgId", "_creationTime"];
197
+ }, {}, {}>;
198
+ financialObservationGenerations: import("convex/server").TableDefinition<import("convex/values").VObject<{
199
+ generation: number;
200
+ scopeKey: string;
201
+ }, {
202
+ scopeKey: import("convex/values").VString<string, "required">;
203
+ generation: import("convex/values").VFloat64<number, "required">;
204
+ }, "required", "generation" | "scopeKey">, {
205
+ by_scope_key: ["scopeKey", "_creationTime"];
206
+ }, {}, {}>;
207
+ financialOwnership: import("convex/server").TableDefinition<import("convex/values").VObject<{
208
+ bucketKey: string;
209
+ generation: number;
210
+ kind: "logical" | "stripe_account";
211
+ orgId?: string | undefined;
212
+ source: {
213
+ integration: string;
214
+ recordId: string;
215
+ };
216
+ userId: string;
217
+ }, {
218
+ userId: import("convex/values").VString<string, "required">;
219
+ orgId: import("convex/values").VString<string | undefined, "optional">;
220
+ bucketKey: import("convex/values").VString<string, "required">;
221
+ kind: import("convex/values").VUnion<"logical" | "stripe_account", [import("convex/values").VLiteral<"stripe_account", "required">, import("convex/values").VLiteral<"logical", "required">], "required", never>;
222
+ source: import("convex/values").VObject<{
223
+ integration: string;
224
+ recordId: string;
225
+ }, {
226
+ integration: import("convex/values").VString<string, "required">;
227
+ recordId: import("convex/values").VString<string, "required">;
228
+ }, "required", "integration" | "recordId">;
229
+ generation: import("convex/values").VFloat64<number, "required">;
230
+ }, "required", "bucketKey" | "generation" | "kind" | "orgId" | "source" | "source.integration" | "source.recordId" | "userId">, {
231
+ by_bucket_key: ["bucketKey", "_creationTime"];
232
+ by_owner: ["userId", "orgId", "_creationTime"];
233
+ }, {}, {}>;
234
+ financialOwnershipGenerations: import("convex/server").TableDefinition<import("convex/values").VObject<{
235
+ generation: number;
236
+ orgId?: string | undefined;
237
+ userId: string;
238
+ }, {
239
+ userId: import("convex/values").VString<string, "required">;
240
+ orgId: import("convex/values").VString<string | undefined, "optional">;
241
+ generation: import("convex/values").VFloat64<number, "required">;
242
+ }, "required", "generation" | "orgId" | "userId">, {
243
+ by_owner: ["userId", "orgId", "_creationTime"];
244
+ }, {}, {}>;
13
245
  payoutWorkerJobs: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
246
  accountId: string;
15
247
  cadenceMs: number;
@@ -1551,11 +1783,19 @@ export declare function setup(amounts?: number[]): Promise<{
1551
1783
  failureReason?: string | undefined;
1552
1784
  metadata?: any;
1553
1785
  reason?: "duplicate" | "expired_uncaptured_charge" | "fraudulent" | "requested_by_customer" | undefined;
1786
+ refundCommandConflict?: boolean | undefined;
1787
+ refundCommandKey?: string | undefined;
1788
+ refundCommandNormalizationVersion?: 1 | undefined;
1789
+ refundCommandObservedAt?: number | undefined;
1554
1790
  status: "canceled" | "failed" | "pending" | "requires_action" | "succeeded";
1555
1791
  stripeChargeId?: string | undefined;
1556
1792
  stripePaymentIntentId?: string | undefined;
1557
1793
  stripeRefundId: string;
1558
1794
  }, {
1795
+ refundCommandNormalizationVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
1796
+ refundCommandKey: import("convex/values").VString<string | undefined, "optional">;
1797
+ refundCommandConflict: import("convex/values").VBoolean<boolean | undefined, "optional">;
1798
+ refundCommandObservedAt: import("convex/values").VFloat64<number | undefined, "optional">;
1559
1799
  stripeRefundId: import("convex/values").VString<string, "required">;
1560
1800
  stripePaymentIntentId: import("convex/values").VString<string | undefined, "optional">;
1561
1801
  stripeChargeId: import("convex/values").VString<string | undefined, "optional">;
@@ -1566,12 +1806,14 @@ export declare function setup(amounts?: number[]): Promise<{
1566
1806
  reason: import("convex/values").VUnion<"duplicate" | "expired_uncaptured_charge" | "fraudulent" | "requested_by_customer" | undefined, [import("convex/values").VLiteral<"duplicate", "required">, import("convex/values").VLiteral<"fraudulent", "required">, import("convex/values").VLiteral<"requested_by_customer", "required">, import("convex/values").VLiteral<"expired_uncaptured_charge", "required">], "optional", never>;
1567
1807
  failureReason: import("convex/values").VString<string | undefined, "optional">;
1568
1808
  metadata: import("convex/values").VAny<any, "optional", string>;
1569
- }, "required", "accountId" | "amount" | "currency" | "failureReason" | "metadata" | "reason" | "status" | "stripeChargeId" | "stripePaymentIntentId" | "stripeRefundId" | `metadata.${string}`>, {
1809
+ }, "required", "accountId" | "amount" | "currency" | "failureReason" | "metadata" | "reason" | "refundCommandConflict" | "refundCommandKey" | "refundCommandNormalizationVersion" | "refundCommandObservedAt" | "status" | "stripeChargeId" | "stripePaymentIntentId" | "stripeRefundId" | `metadata.${string}`>, {
1570
1810
  by_account_id: ["accountId", "_creationTime"];
1571
1811
  by_account_id_and_status: ["accountId", "status", "_creationTime"];
1572
1812
  by_account_id_and_stripe_payment_intent_id: ["accountId", "stripePaymentIntentId", "_creationTime"];
1573
1813
  by_account_id_and_stripe_payment_intent_id_and_status: ["accountId", "stripePaymentIntentId", "status", "_creationTime"];
1574
1814
  by_payment_intent_id_and_status: ["stripePaymentIntentId", "status", "_creationTime"];
1815
+ by_refund_command_key: ["refundCommandKey", "_creationTime"];
1816
+ by_refund_command_normalization_version: ["refundCommandNormalizationVersion", "_creationTime"];
1575
1817
  by_status: ["status", "_creationTime"];
1576
1818
  by_stripe_payment_intent_id: ["stripePaymentIntentId", "_creationTime"];
1577
1819
  by_stripe_refund_id: ["stripeRefundId", "_creationTime"];
@@ -1 +1 @@
1
- {"version":3,"file":"payoutExecutionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutExecutionTestHelpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAIvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,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