@fantastic.dev/better-stripe 0.29.0 → 0.30.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 (144) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/MIGRATION.md +8 -0
  3. package/README.md +3 -1
  4. package/dist/client/connect/payoutActivationProof.d.ts.map +1 -1
  5. package/dist/client/connect/payoutActivationProof.js +88 -42
  6. package/dist/client/connect/payoutActivationProof.js.map +1 -1
  7. package/dist/client/connect/payoutAdoption.d.ts +3 -0
  8. package/dist/client/connect/payoutAdoption.d.ts.map +1 -1
  9. package/dist/client/connect/payoutAdoption.js +218 -183
  10. package/dist/client/connect/payoutAdoption.js.map +1 -1
  11. package/dist/client/connect/payoutAdoptionCollection.d.ts +21 -0
  12. package/dist/client/connect/payoutAdoptionCollection.d.ts.map +1 -0
  13. package/dist/client/connect/payoutAdoptionCollection.js +44 -0
  14. package/dist/client/connect/payoutAdoptionCollection.js.map +1 -0
  15. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +26 -6
  16. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  17. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +13 -3
  18. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  19. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +3745 -0
  20. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -0
  21. package/dist/client/connect/payoutLargeAdoptionTestHelpers.js +55 -0
  22. package/dist/client/connect/payoutLargeAdoptionTestHelpers.js.map +1 -0
  23. package/dist/client/connect/payoutOutcomeBatches.d.ts +5 -0
  24. package/dist/client/connect/payoutOutcomeBatches.d.ts.map +1 -0
  25. package/dist/client/connect/payoutOutcomeBatches.js +21 -0
  26. package/dist/client/connect/payoutOutcomeBatches.js.map +1 -0
  27. package/dist/client/connect/payoutPolicyState.d.ts +14 -0
  28. package/dist/client/connect/payoutPolicyState.d.ts.map +1 -0
  29. package/dist/client/connect/payoutPolicyState.js +19 -0
  30. package/dist/client/connect/payoutPolicyState.js.map +1 -0
  31. package/dist/client/connect/payoutQualification.js +1 -1
  32. package/dist/client/connect/payoutQualification.js.map +1 -1
  33. package/dist/client/connect/payoutReconciliation.d.ts +11 -6
  34. package/dist/client/connect/payoutReconciliation.d.ts.map +1 -1
  35. package/dist/client/connect/payoutReconciliation.js +62 -16
  36. package/dist/client/connect/payoutReconciliation.js.map +1 -1
  37. package/dist/client/connect/payoutResumableProof.d.ts +17 -0
  38. package/dist/client/connect/payoutResumableProof.d.ts.map +1 -0
  39. package/dist/client/connect/payoutResumableProof.js +25 -0
  40. package/dist/client/connect/payoutResumableProof.js.map +1 -0
  41. package/dist/client/connect/payoutSyncTestHelpers.d.ts +13 -3
  42. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  43. package/dist/client/connect/transferReceipt.d.ts +6 -2
  44. package/dist/client/connect/transferReceipt.d.ts.map +1 -1
  45. package/dist/client/connect/transferReceipt.js +3 -3
  46. package/dist/client/connect/transferReceipt.js.map +1 -1
  47. package/dist/client/payoutPolicy.d.ts.map +1 -1
  48. package/dist/client/payoutPolicy.js +24 -14
  49. package/dist/client/payoutPolicy.js.map +1 -1
  50. package/dist/component/_generated/component.d.ts +72 -0
  51. package/dist/component/_generated/component.d.ts.map +1 -1
  52. package/dist/component/earnings/triggers.d.ts +12 -4
  53. package/dist/component/earnings/triggers.d.ts.map +1 -1
  54. package/dist/component/payoutPolicy/adoption.d.ts.map +1 -1
  55. package/dist/component/payoutPolicy/adoption.js +12 -7
  56. package/dist/component/payoutPolicy/adoption.js.map +1 -1
  57. package/dist/component/payoutPolicy/mutations.d.ts +12 -0
  58. package/dist/component/payoutPolicy/mutations.d.ts.map +1 -1
  59. package/dist/component/payoutPolicy/queries.d.ts +2 -0
  60. package/dist/component/payoutPolicy/queries.d.ts.map +1 -1
  61. package/dist/component/payoutPolicy/schema.d.ts +31 -7
  62. package/dist/component/payoutPolicy/schema.d.ts.map +1 -1
  63. package/dist/component/payoutPolicy/schema.js +2 -0
  64. package/dist/component/payoutPolicy/schema.js.map +1 -1
  65. package/dist/component/payoutRelease/adoption.d.ts +3 -1
  66. package/dist/component/payoutRelease/adoption.d.ts.map +1 -1
  67. package/dist/component/payoutRelease/adoption.js +33 -16
  68. package/dist/component/payoutRelease/adoption.js.map +1 -1
  69. package/dist/component/payoutRelease/fees.d.ts.map +1 -1
  70. package/dist/component/payoutRelease/fees.js +7 -0
  71. package/dist/component/payoutRelease/fees.js.map +1 -1
  72. package/dist/component/payoutRelease/mutations.d.ts +59 -0
  73. package/dist/component/payoutRelease/mutations.d.ts.map +1 -1
  74. package/dist/component/payoutRelease/mutations.js +25 -80
  75. package/dist/component/payoutRelease/mutations.js.map +1 -1
  76. package/dist/component/payoutRelease/outcome.d.ts +69 -0
  77. package/dist/component/payoutRelease/outcome.d.ts.map +1 -0
  78. package/dist/component/payoutRelease/outcome.js +94 -0
  79. package/dist/component/payoutRelease/outcome.js.map +1 -0
  80. package/dist/component/payoutRelease/planning.d.ts.map +1 -1
  81. package/dist/component/payoutRelease/planning.js +5 -2
  82. package/dist/component/payoutRelease/planning.js.map +1 -1
  83. package/dist/component/payoutRelease/queries.d.ts +2 -2
  84. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  85. package/dist/component/payoutRelease/queries.js +2 -0
  86. package/dist/component/payoutRelease/queries.js.map +1 -1
  87. package/dist/component/payoutSnapshots/adoption.d.ts +88 -0
  88. package/dist/component/payoutSnapshots/adoption.d.ts.map +1 -0
  89. package/dist/component/payoutSnapshots/adoption.js +49 -0
  90. package/dist/component/payoutSnapshots/adoption.js.map +1 -0
  91. package/dist/component/payoutSnapshots/financial.d.ts +31 -19
  92. package/dist/component/payoutSnapshots/financial.d.ts.map +1 -1
  93. package/dist/component/payoutSnapshots/financial.js +28 -14
  94. package/dist/component/payoutSnapshots/financial.js.map +1 -1
  95. package/dist/component/payoutSnapshots/localState.d.ts +20 -16
  96. package/dist/component/payoutSnapshots/localState.d.ts.map +1 -1
  97. package/dist/component/payoutSnapshots/localState.js +13 -4
  98. package/dist/component/payoutSnapshots/localState.js.map +1 -1
  99. package/dist/component/payoutSnapshots/mutations.d.ts.map +1 -1
  100. package/dist/component/payoutSnapshots/mutations.js +1 -1
  101. package/dist/component/payoutSnapshots/mutations.js.map +1 -1
  102. package/dist/component/payoutSnapshots/queries.d.ts.map +1 -1
  103. package/dist/component/payoutSnapshots/queries.js +6 -4
  104. package/dist/component/payoutSnapshots/queries.js.map +1 -1
  105. package/dist/component/payoutSnapshots/schema.d.ts +5 -1
  106. package/dist/component/payoutSnapshots/schema.d.ts.map +1 -1
  107. package/dist/component/payoutSnapshots/schema.js +2 -0
  108. package/dist/component/payoutSnapshots/schema.js.map +1 -1
  109. package/dist/component/schema.d.ts +13 -3
  110. package/docs/settlement.md +61 -8
  111. package/package.json +1 -1
  112. package/src/client/connect/payoutActivationProof.ts +123 -53
  113. package/src/client/connect/payoutAdoption.ts +299 -215
  114. package/src/client/connect/payoutAdoptionCollection.ts +78 -0
  115. package/src/client/connect/payoutAdoptionConcurrency.test.ts +266 -0
  116. package/src/client/connect/payoutCacheIdentity.test.ts +93 -0
  117. package/src/client/connect/payoutLargeAdoption.test.ts +541 -0
  118. package/src/client/connect/payoutLargeAdoptionTestHelpers.ts +74 -0
  119. package/src/client/connect/payoutOutcomeBatches.test.ts +40 -0
  120. package/src/client/connect/payoutOutcomeBatches.ts +24 -0
  121. package/src/client/connect/payoutPolicyState.ts +36 -0
  122. package/src/client/connect/payoutQualification.ts +10 -4
  123. package/src/client/connect/payoutReconciliation.ts +86 -7
  124. package/src/client/connect/payoutResumableProof.ts +41 -0
  125. package/src/client/connect/transferReceipt.ts +3 -2
  126. package/src/client/connect/transferReceiptBaseline.test.ts +55 -0
  127. package/src/client/payoutPolicy.ts +37 -23
  128. package/src/component/_generated/api.ts +4 -0
  129. package/src/component/_generated/component.ts +85 -0
  130. package/src/component/payout-snapshots.test.ts +45 -1
  131. package/src/component/payoutPolicy/adoption.ts +20 -7
  132. package/src/component/payoutPolicy/schema.ts +2 -0
  133. package/src/component/payoutRelease/adoption.ts +57 -27
  134. package/src/component/payoutRelease/fees.ts +9 -0
  135. package/src/component/payoutRelease/mutations.ts +26 -96
  136. package/src/component/payoutRelease/outcome.ts +119 -0
  137. package/src/component/payoutRelease/planning.ts +5 -2
  138. package/src/component/payoutRelease/queries.ts +2 -0
  139. package/src/component/payoutSnapshots/adoption.ts +73 -0
  140. package/src/component/payoutSnapshots/financial.ts +33 -20
  141. package/src/component/payoutSnapshots/localState.ts +17 -3
  142. package/src/component/payoutSnapshots/mutations.ts +8 -1
  143. package/src/component/payoutSnapshots/queries.ts +8 -6
  144. package/src/component/payoutSnapshots/schema.ts +2 -0
@@ -145,6 +145,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
145
145
  }, {}, {}>;
146
146
  payoutSnapshotSources: import("convex/server").TableDefinition<import("convex/values").VObject<{
147
147
  allocationCurrency?: string | undefined;
148
+ allocationDocId?: import("convex/values").GenericId<"payoutSourceAllocations"> | undefined;
148
149
  allocationPresent: boolean;
149
150
  amount: number;
150
151
  currency: string;
@@ -163,10 +164,13 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
163
164
  sourceCreatedAt: number;
164
165
  status: string;
165
166
  stripeTransferId: string;
167
+ transferDocId?: import("convex/values").GenericId<"transfers"> | undefined;
166
168
  }, {
167
169
  snapshotId: import("convex/values").VId<import("convex/values").GenericId<"payoutSnapshots">, "required">;
168
170
  stripeTransferId: import("convex/values").VString<string, "required">;
169
171
  ledgerFingerprint: import("convex/values").VString<string, "required">;
172
+ transferDocId: import("convex/values").VId<import("convex/values").GenericId<"transfers"> | undefined, "optional">;
173
+ allocationDocId: import("convex/values").VId<import("convex/values").GenericId<"payoutSourceAllocations"> | undefined, "optional">;
170
174
  sourceCreatedAt: import("convex/values").VFloat64<number, "required">;
171
175
  currency: import("convex/values").VString<string, "required">;
172
176
  amount: import("convex/values").VFloat64<number, "required">;
@@ -183,7 +187,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
183
187
  expectedPaid: import("convex/values").VFloat64<number, "required">;
184
188
  expectedReserved: import("convex/values").VFloat64<number, "required">;
185
189
  needsCheck: import("convex/values").VBoolean<boolean, "required">;
186
- }, "required", "allocationCurrency" | "allocationPresent" | "amount" | "currency" | "expectedPaid" | "expectedReserved" | "ledgerFingerprint" | "needsCheck" | "paidAmount" | "reinstatement" | "reservedAmount" | "reversalClaimedAmount" | "reversedAmount" | "role" | "snapshotId" | "sourceChargeId" | "sourceCreatedAt" | "status" | "stripeTransferId">, {
190
+ }, "required", "allocationCurrency" | "allocationDocId" | "allocationPresent" | "amount" | "currency" | "expectedPaid" | "expectedReserved" | "ledgerFingerprint" | "needsCheck" | "paidAmount" | "reinstatement" | "reservedAmount" | "reversalClaimedAmount" | "reversedAmount" | "role" | "snapshotId" | "sourceChargeId" | "sourceCreatedAt" | "status" | "stripeTransferId" | "transferDocId">, {
187
191
  by_snapshot: ["snapshotId", "_creationTime"];
188
192
  by_snapshot_check: ["snapshotId", "needsCheck", "_creationTime"];
189
193
  by_snapshot_transfer: ["snapshotId", "stripeTransferId", "_creationTime"];
@@ -722,6 +726,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
722
726
  fingerprint: string;
723
727
  operationKey: string;
724
728
  }[];
729
+ collectionKey?: string | undefined;
725
730
  observations: {
726
731
  currency: string;
727
732
  ledgerFingerprint: string;
@@ -732,6 +737,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
732
737
  transactionIds: string[];
733
738
  }[];
734
739
  oldestHeldAt?: number | undefined;
740
+ snapshotId?: import("convex/values").GenericId<"payoutSnapshots"> | undefined;
735
741
  } | undefined;
736
742
  attempted?: boolean | undefined;
737
743
  country: string;
@@ -769,6 +775,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
769
775
  fingerprint: string;
770
776
  operationKey: string;
771
777
  }[];
778
+ collectionKey?: string | undefined;
772
779
  observations: {
773
780
  currency: string;
774
781
  ledgerFingerprint: string;
@@ -779,7 +786,10 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
779
786
  transactionIds: string[];
780
787
  }[];
781
788
  oldestHeldAt?: number | undefined;
789
+ snapshotId?: import("convex/values").GenericId<"payoutSnapshots"> | undefined;
782
790
  } | undefined, {
791
+ snapshotId: import("convex/values").VId<import("convex/values").GenericId<"payoutSnapshots"> | undefined, "optional">;
792
+ collectionKey: import("convex/values").VString<string | undefined, "optional">;
783
793
  observations: import("convex/values").VArray<{
784
794
  currency: string;
785
795
  ledgerFingerprint: string;
@@ -816,7 +826,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
816
826
  fingerprint: import("convex/values").VString<string, "required">;
817
827
  }, "required", "fingerprint" | "operationKey">, "required">;
818
828
  oldestHeldAt: import("convex/values").VFloat64<number | undefined, "optional">;
819
- }, "optional", "claims" | "observations" | "oldestHeldAt">;
829
+ }, "optional", "claims" | "collectionKey" | "observations" | "oldestHeldAt" | "snapshotId">;
820
830
  operationKey: import("convex/values").VString<string, "required">;
821
831
  expectedRevision: import("convex/values").VFloat64<number, "required">;
822
832
  mode: import("convex/values").VUnion<"custom" | "stripe_managed", [import("convex/values").VLiteral<"stripe_managed", "required">, import("convex/values").VLiteral<"custom", "required">], "required", never>;
@@ -862,7 +872,7 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
862
872
  }, "required", "interval" | "monthlyDays" | "weeklyDays">;
863
873
  status: import("convex/values").VUnion<"canceled" | "complete" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"canceled", "required">], "required", never>;
864
874
  attempted: import("convex/values").VBoolean<boolean | undefined, "optional">;
865
- }, "required", "accountId" | "adoption" | "adoption.claims" | "adoption.observations" | "adoption.oldestHeldAt" | "attempted" | "country" | "expectedRevision" | "mode" | "observedAt" | "observedSchedule" | "observedSchedule.interval" | "observedSchedule.monthlyDays" | "observedSchedule.weeklyDays" | "operationKey" | "ownerKey" | "previousSchedule" | "previousSchedule.interval" | "previousSchedule.monthlyDays" | "previousSchedule.weeklyDays" | "revision" | "status" | "targetSchedule" | "targetSchedule.interval" | "targetSchedule.monthlyDays" | "targetSchedule.weeklyDays" | "thresholds">, {
875
+ }, "required", "accountId" | "adoption" | "adoption.claims" | "adoption.collectionKey" | "adoption.observations" | "adoption.oldestHeldAt" | "adoption.snapshotId" | "attempted" | "country" | "expectedRevision" | "mode" | "observedAt" | "observedSchedule" | "observedSchedule.interval" | "observedSchedule.monthlyDays" | "observedSchedule.weeklyDays" | "operationKey" | "ownerKey" | "previousSchedule" | "previousSchedule.interval" | "previousSchedule.monthlyDays" | "previousSchedule.weeklyDays" | "revision" | "status" | "targetSchedule" | "targetSchedule.interval" | "targetSchedule.monthlyDays" | "targetSchedule.weeklyDays" | "thresholds">, {
866
876
  by_operation: ["operationKey", "_creationTime"];
867
877
  }, {}, {}>;
868
878
  currencyTotals: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -1999,6 +2009,7 @@ export declare function historical(currency?: string): Promise<{
1999
2009
  }, {}, {}>;
2000
2010
  payoutSnapshotSources: import("convex/server").TableDefinition<import("convex/values").VObject<{
2001
2011
  allocationCurrency?: string | undefined;
2012
+ allocationDocId?: import("convex/values").GenericId<"payoutSourceAllocations"> | undefined;
2002
2013
  allocationPresent: boolean;
2003
2014
  amount: number;
2004
2015
  currency: string;
@@ -2017,10 +2028,13 @@ export declare function historical(currency?: string): Promise<{
2017
2028
  sourceCreatedAt: number;
2018
2029
  status: string;
2019
2030
  stripeTransferId: string;
2031
+ transferDocId?: import("convex/values").GenericId<"transfers"> | undefined;
2020
2032
  }, {
2021
2033
  snapshotId: import("convex/values").VId<import("convex/values").GenericId<"payoutSnapshots">, "required">;
2022
2034
  stripeTransferId: import("convex/values").VString<string, "required">;
2023
2035
  ledgerFingerprint: import("convex/values").VString<string, "required">;
2036
+ transferDocId: import("convex/values").VId<import("convex/values").GenericId<"transfers"> | undefined, "optional">;
2037
+ allocationDocId: import("convex/values").VId<import("convex/values").GenericId<"payoutSourceAllocations"> | undefined, "optional">;
2024
2038
  sourceCreatedAt: import("convex/values").VFloat64<number, "required">;
2025
2039
  currency: import("convex/values").VString<string, "required">;
2026
2040
  amount: import("convex/values").VFloat64<number, "required">;
@@ -2037,7 +2051,7 @@ export declare function historical(currency?: string): Promise<{
2037
2051
  expectedPaid: import("convex/values").VFloat64<number, "required">;
2038
2052
  expectedReserved: import("convex/values").VFloat64<number, "required">;
2039
2053
  needsCheck: import("convex/values").VBoolean<boolean, "required">;
2040
- }, "required", "allocationCurrency" | "allocationPresent" | "amount" | "currency" | "expectedPaid" | "expectedReserved" | "ledgerFingerprint" | "needsCheck" | "paidAmount" | "reinstatement" | "reservedAmount" | "reversalClaimedAmount" | "reversedAmount" | "role" | "snapshotId" | "sourceChargeId" | "sourceCreatedAt" | "status" | "stripeTransferId">, {
2054
+ }, "required", "allocationCurrency" | "allocationDocId" | "allocationPresent" | "amount" | "currency" | "expectedPaid" | "expectedReserved" | "ledgerFingerprint" | "needsCheck" | "paidAmount" | "reinstatement" | "reservedAmount" | "reversalClaimedAmount" | "reversedAmount" | "role" | "snapshotId" | "sourceChargeId" | "sourceCreatedAt" | "status" | "stripeTransferId" | "transferDocId">, {
2041
2055
  by_snapshot: ["snapshotId", "_creationTime"];
2042
2056
  by_snapshot_check: ["snapshotId", "needsCheck", "_creationTime"];
2043
2057
  by_snapshot_transfer: ["snapshotId", "stripeTransferId", "_creationTime"];
@@ -2576,6 +2590,7 @@ export declare function historical(currency?: string): Promise<{
2576
2590
  fingerprint: string;
2577
2591
  operationKey: string;
2578
2592
  }[];
2593
+ collectionKey?: string | undefined;
2579
2594
  observations: {
2580
2595
  currency: string;
2581
2596
  ledgerFingerprint: string;
@@ -2586,6 +2601,7 @@ export declare function historical(currency?: string): Promise<{
2586
2601
  transactionIds: string[];
2587
2602
  }[];
2588
2603
  oldestHeldAt?: number | undefined;
2604
+ snapshotId?: import("convex/values").GenericId<"payoutSnapshots"> | undefined;
2589
2605
  } | undefined;
2590
2606
  attempted?: boolean | undefined;
2591
2607
  country: string;
@@ -2623,6 +2639,7 @@ export declare function historical(currency?: string): Promise<{
2623
2639
  fingerprint: string;
2624
2640
  operationKey: string;
2625
2641
  }[];
2642
+ collectionKey?: string | undefined;
2626
2643
  observations: {
2627
2644
  currency: string;
2628
2645
  ledgerFingerprint: string;
@@ -2633,7 +2650,10 @@ export declare function historical(currency?: string): Promise<{
2633
2650
  transactionIds: string[];
2634
2651
  }[];
2635
2652
  oldestHeldAt?: number | undefined;
2653
+ snapshotId?: import("convex/values").GenericId<"payoutSnapshots"> | undefined;
2636
2654
  } | undefined, {
2655
+ snapshotId: import("convex/values").VId<import("convex/values").GenericId<"payoutSnapshots"> | undefined, "optional">;
2656
+ collectionKey: import("convex/values").VString<string | undefined, "optional">;
2637
2657
  observations: import("convex/values").VArray<{
2638
2658
  currency: string;
2639
2659
  ledgerFingerprint: string;
@@ -2670,7 +2690,7 @@ export declare function historical(currency?: string): Promise<{
2670
2690
  fingerprint: import("convex/values").VString<string, "required">;
2671
2691
  }, "required", "fingerprint" | "operationKey">, "required">;
2672
2692
  oldestHeldAt: import("convex/values").VFloat64<number | undefined, "optional">;
2673
- }, "optional", "claims" | "observations" | "oldestHeldAt">;
2693
+ }, "optional", "claims" | "collectionKey" | "observations" | "oldestHeldAt" | "snapshotId">;
2674
2694
  operationKey: import("convex/values").VString<string, "required">;
2675
2695
  expectedRevision: import("convex/values").VFloat64<number, "required">;
2676
2696
  mode: import("convex/values").VUnion<"custom" | "stripe_managed", [import("convex/values").VLiteral<"stripe_managed", "required">, import("convex/values").VLiteral<"custom", "required">], "required", never>;
@@ -2716,7 +2736,7 @@ export declare function historical(currency?: string): Promise<{
2716
2736
  }, "required", "interval" | "monthlyDays" | "weeklyDays">;
2717
2737
  status: import("convex/values").VUnion<"canceled" | "complete" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"canceled", "required">], "required", never>;
2718
2738
  attempted: import("convex/values").VBoolean<boolean | undefined, "optional">;
2719
- }, "required", "accountId" | "adoption" | "adoption.claims" | "adoption.observations" | "adoption.oldestHeldAt" | "attempted" | "country" | "expectedRevision" | "mode" | "observedAt" | "observedSchedule" | "observedSchedule.interval" | "observedSchedule.monthlyDays" | "observedSchedule.weeklyDays" | "operationKey" | "ownerKey" | "previousSchedule" | "previousSchedule.interval" | "previousSchedule.monthlyDays" | "previousSchedule.weeklyDays" | "revision" | "status" | "targetSchedule" | "targetSchedule.interval" | "targetSchedule.monthlyDays" | "targetSchedule.weeklyDays" | "thresholds">, {
2739
+ }, "required", "accountId" | "adoption" | "adoption.claims" | "adoption.collectionKey" | "adoption.observations" | "adoption.oldestHeldAt" | "adoption.snapshotId" | "attempted" | "country" | "expectedRevision" | "mode" | "observedAt" | "observedSchedule" | "observedSchedule.interval" | "observedSchedule.monthlyDays" | "observedSchedule.weeklyDays" | "operationKey" | "ownerKey" | "previousSchedule" | "previousSchedule.interval" | "previousSchedule.monthlyDays" | "previousSchedule.weeklyDays" | "revision" | "status" | "targetSchedule" | "targetSchedule.interval" | "targetSchedule.monthlyDays" | "targetSchedule.weeklyDays" | "thresholds">, {
2720
2740
  by_operation: ["operationKey", "_creationTime"];
2721
2741
  }, {}, {}>;
2722
2742
  currencyTotals: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"payoutAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutAdoptionTestHelpers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAKvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDrB"}
@@ -146,6 +146,7 @@ export declare function setup(amounts?: number[]): Promise<{
146
146
  }, {}, {}>;
147
147
  payoutSnapshotSources: import("convex/server").TableDefinition<import("convex/values").VObject<{
148
148
  allocationCurrency?: string | undefined;
149
+ allocationDocId?: import("convex/values").GenericId<"payoutSourceAllocations"> | undefined;
149
150
  allocationPresent: boolean;
150
151
  amount: number;
151
152
  currency: string;
@@ -164,10 +165,13 @@ export declare function setup(amounts?: number[]): Promise<{
164
165
  sourceCreatedAt: number;
165
166
  status: string;
166
167
  stripeTransferId: string;
168
+ transferDocId?: import("convex/values").GenericId<"transfers"> | undefined;
167
169
  }, {
168
170
  snapshotId: import("convex/values").VId<import("convex/values").GenericId<"payoutSnapshots">, "required">;
169
171
  stripeTransferId: import("convex/values").VString<string, "required">;
170
172
  ledgerFingerprint: import("convex/values").VString<string, "required">;
173
+ transferDocId: import("convex/values").VId<import("convex/values").GenericId<"transfers"> | undefined, "optional">;
174
+ allocationDocId: import("convex/values").VId<import("convex/values").GenericId<"payoutSourceAllocations"> | undefined, "optional">;
171
175
  sourceCreatedAt: import("convex/values").VFloat64<number, "required">;
172
176
  currency: import("convex/values").VString<string, "required">;
173
177
  amount: import("convex/values").VFloat64<number, "required">;
@@ -184,7 +188,7 @@ export declare function setup(amounts?: number[]): Promise<{
184
188
  expectedPaid: import("convex/values").VFloat64<number, "required">;
185
189
  expectedReserved: import("convex/values").VFloat64<number, "required">;
186
190
  needsCheck: import("convex/values").VBoolean<boolean, "required">;
187
- }, "required", "allocationCurrency" | "allocationPresent" | "amount" | "currency" | "expectedPaid" | "expectedReserved" | "ledgerFingerprint" | "needsCheck" | "paidAmount" | "reinstatement" | "reservedAmount" | "reversalClaimedAmount" | "reversedAmount" | "role" | "snapshotId" | "sourceChargeId" | "sourceCreatedAt" | "status" | "stripeTransferId">, {
191
+ }, "required", "allocationCurrency" | "allocationDocId" | "allocationPresent" | "amount" | "currency" | "expectedPaid" | "expectedReserved" | "ledgerFingerprint" | "needsCheck" | "paidAmount" | "reinstatement" | "reservedAmount" | "reversalClaimedAmount" | "reversedAmount" | "role" | "snapshotId" | "sourceChargeId" | "sourceCreatedAt" | "status" | "stripeTransferId" | "transferDocId">, {
188
192
  by_snapshot: ["snapshotId", "_creationTime"];
189
193
  by_snapshot_check: ["snapshotId", "needsCheck", "_creationTime"];
190
194
  by_snapshot_transfer: ["snapshotId", "stripeTransferId", "_creationTime"];
@@ -723,6 +727,7 @@ export declare function setup(amounts?: number[]): Promise<{
723
727
  fingerprint: string;
724
728
  operationKey: string;
725
729
  }[];
730
+ collectionKey?: string | undefined;
726
731
  observations: {
727
732
  currency: string;
728
733
  ledgerFingerprint: string;
@@ -733,6 +738,7 @@ export declare function setup(amounts?: number[]): Promise<{
733
738
  transactionIds: string[];
734
739
  }[];
735
740
  oldestHeldAt?: number | undefined;
741
+ snapshotId?: import("convex/values").GenericId<"payoutSnapshots"> | undefined;
736
742
  } | undefined;
737
743
  attempted?: boolean | undefined;
738
744
  country: string;
@@ -770,6 +776,7 @@ export declare function setup(amounts?: number[]): Promise<{
770
776
  fingerprint: string;
771
777
  operationKey: string;
772
778
  }[];
779
+ collectionKey?: string | undefined;
773
780
  observations: {
774
781
  currency: string;
775
782
  ledgerFingerprint: string;
@@ -780,7 +787,10 @@ export declare function setup(amounts?: number[]): Promise<{
780
787
  transactionIds: string[];
781
788
  }[];
782
789
  oldestHeldAt?: number | undefined;
790
+ snapshotId?: import("convex/values").GenericId<"payoutSnapshots"> | undefined;
783
791
  } | undefined, {
792
+ snapshotId: import("convex/values").VId<import("convex/values").GenericId<"payoutSnapshots"> | undefined, "optional">;
793
+ collectionKey: import("convex/values").VString<string | undefined, "optional">;
784
794
  observations: import("convex/values").VArray<{
785
795
  currency: string;
786
796
  ledgerFingerprint: string;
@@ -817,7 +827,7 @@ export declare function setup(amounts?: number[]): Promise<{
817
827
  fingerprint: import("convex/values").VString<string, "required">;
818
828
  }, "required", "fingerprint" | "operationKey">, "required">;
819
829
  oldestHeldAt: import("convex/values").VFloat64<number | undefined, "optional">;
820
- }, "optional", "claims" | "observations" | "oldestHeldAt">;
830
+ }, "optional", "claims" | "collectionKey" | "observations" | "oldestHeldAt" | "snapshotId">;
821
831
  operationKey: import("convex/values").VString<string, "required">;
822
832
  expectedRevision: import("convex/values").VFloat64<number, "required">;
823
833
  mode: import("convex/values").VUnion<"custom" | "stripe_managed", [import("convex/values").VLiteral<"stripe_managed", "required">, import("convex/values").VLiteral<"custom", "required">], "required", never>;
@@ -863,7 +873,7 @@ export declare function setup(amounts?: number[]): Promise<{
863
873
  }, "required", "interval" | "monthlyDays" | "weeklyDays">;
864
874
  status: import("convex/values").VUnion<"canceled" | "complete" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"canceled", "required">], "required", never>;
865
875
  attempted: import("convex/values").VBoolean<boolean | undefined, "optional">;
866
- }, "required", "accountId" | "adoption" | "adoption.claims" | "adoption.observations" | "adoption.oldestHeldAt" | "attempted" | "country" | "expectedRevision" | "mode" | "observedAt" | "observedSchedule" | "observedSchedule.interval" | "observedSchedule.monthlyDays" | "observedSchedule.weeklyDays" | "operationKey" | "ownerKey" | "previousSchedule" | "previousSchedule.interval" | "previousSchedule.monthlyDays" | "previousSchedule.weeklyDays" | "revision" | "status" | "targetSchedule" | "targetSchedule.interval" | "targetSchedule.monthlyDays" | "targetSchedule.weeklyDays" | "thresholds">, {
876
+ }, "required", "accountId" | "adoption" | "adoption.claims" | "adoption.collectionKey" | "adoption.observations" | "adoption.oldestHeldAt" | "adoption.snapshotId" | "attempted" | "country" | "expectedRevision" | "mode" | "observedAt" | "observedSchedule" | "observedSchedule.interval" | "observedSchedule.monthlyDays" | "observedSchedule.weeklyDays" | "operationKey" | "ownerKey" | "previousSchedule" | "previousSchedule.interval" | "previousSchedule.monthlyDays" | "previousSchedule.weeklyDays" | "revision" | "status" | "targetSchedule" | "targetSchedule.interval" | "targetSchedule.monthlyDays" | "targetSchedule.weeklyDays" | "thresholds">, {
867
877
  by_operation: ["operationKey", "_creationTime"];
868
878
  }, {}, {}>;
869
879
  currencyTotals: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -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,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,sBAAsB;CACvB,CAAC;AACF,wBAAsB,KAAK,CAAC,OAAO,WAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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