@fantastic.dev/better-stripe 0.35.0 → 0.37.1

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 (94) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +178 -0
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +89 -0
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +178 -0
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +89 -0
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/operationEvidence.d.ts +37 -0
  12. package/dist/client/operationEvidence.d.ts.map +1 -0
  13. package/dist/client/operationEvidence.js +44 -0
  14. package/dist/client/operationEvidence.js.map +1 -0
  15. package/dist/client/publicTypes.d.ts +1 -0
  16. package/dist/client/publicTypes.d.ts.map +1 -1
  17. package/dist/client/readContracts.d.ts +2 -0
  18. package/dist/client/readContracts.d.ts.map +1 -1
  19. package/dist/client/readContracts.js +4 -0
  20. package/dist/client/readContracts.js.map +1 -1
  21. package/dist/component/_generated/component.d.ts +181 -0
  22. package/dist/component/_generated/component.d.ts.map +1 -1
  23. package/dist/component/earnings/pairedAdjustment.d.ts +12 -0
  24. package/dist/component/earnings/pairedAdjustment.d.ts.map +1 -0
  25. package/dist/component/earnings/pairedAdjustment.js +46 -0
  26. package/dist/component/earnings/pairedAdjustment.js.map +1 -0
  27. package/dist/component/earnings/triggers.d.ts +120 -0
  28. package/dist/component/earnings/triggers.d.ts.map +1 -1
  29. package/dist/component/earnings/triggers.js +10 -2
  30. package/dist/component/earnings/triggers.js.map +1 -1
  31. package/dist/component/operationEvidence/canonical.d.ts +4 -0
  32. package/dist/component/operationEvidence/canonical.d.ts.map +1 -0
  33. package/dist/component/operationEvidence/canonical.js +8 -0
  34. package/dist/component/operationEvidence/canonical.js.map +1 -0
  35. package/dist/component/operationEvidence/helpers.d.ts +87 -0
  36. package/dist/component/operationEvidence/helpers.d.ts.map +1 -0
  37. package/dist/component/operationEvidence/helpers.js +49 -0
  38. package/dist/component/operationEvidence/helpers.js.map +1 -0
  39. package/dist/component/operationEvidence/maintenance.d.ts +88 -0
  40. package/dist/component/operationEvidence/maintenance.d.ts.map +1 -0
  41. package/dist/component/operationEvidence/maintenance.js +59 -0
  42. package/dist/component/operationEvidence/maintenance.js.map +1 -0
  43. package/dist/component/operationEvidence/mutations.d.ts +97 -0
  44. package/dist/component/operationEvidence/mutations.d.ts.map +1 -0
  45. package/dist/component/operationEvidence/mutations.js +14 -0
  46. package/dist/component/operationEvidence/mutations.js.map +1 -0
  47. package/dist/component/operationEvidence/queries.d.ts +205 -0
  48. package/dist/component/operationEvidence/queries.d.ts.map +1 -0
  49. package/dist/component/operationEvidence/queries.js +75 -0
  50. package/dist/component/operationEvidence/queries.js.map +1 -0
  51. package/dist/component/operationEvidence/schema.d.ts +536 -0
  52. package/dist/component/operationEvidence/schema.d.ts.map +1 -0
  53. package/dist/component/operationEvidence/schema.js +53 -0
  54. package/dist/component/operationEvidence/schema.js.map +1 -0
  55. package/dist/component/payoutRelease/queries.d.ts +2 -2
  56. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  57. package/dist/component/refundHistory/commandEvidence.d.ts +1 -1
  58. package/dist/component/refundHistory/commandEvidence.d.ts.map +1 -1
  59. package/dist/component/refundHistory/commandEvidence.js +6 -2
  60. package/dist/component/refundHistory/commandEvidence.js.map +1 -1
  61. package/dist/component/refundHistory/originalSeller.d.ts +5 -0
  62. package/dist/component/refundHistory/originalSeller.d.ts.map +1 -0
  63. package/dist/component/refundHistory/originalSeller.js +35 -0
  64. package/dist/component/refundHistory/originalSeller.js.map +1 -0
  65. package/dist/component/refundHistory/queries.d.ts +1 -1
  66. package/dist/component/schema.d.ts +89 -0
  67. package/dist/component/schema.js +3 -0
  68. package/dist/component/schema.js.map +1 -1
  69. package/docs/financial-observations.md +85 -0
  70. package/docs/refund-command-evidence.md +6 -0
  71. package/package.json +1 -1
  72. package/src/client/operationEvidence.test.ts +110 -0
  73. package/src/client/operationEvidence.ts +92 -0
  74. package/src/client/publicTypes.ts +8 -0
  75. package/src/client/readContracts.ts +4 -0
  76. package/src/component/_generated/api.ts +10 -0
  77. package/src/component/_generated/component.ts +207 -0
  78. package/src/component/earnings/paired-adjustment.test.ts +258 -0
  79. package/src/component/earnings/pairedAdjustment.ts +77 -0
  80. package/src/component/earnings/triggers.ts +14 -10
  81. package/src/component/operationEvidence/canonical.ts +10 -0
  82. package/src/component/operationEvidence/helpers.ts +65 -0
  83. package/src/component/operationEvidence/integrity.test.ts +257 -0
  84. package/src/component/operationEvidence/maintenance.test.ts +152 -0
  85. package/src/component/operationEvidence/maintenance.ts +89 -0
  86. package/src/component/operationEvidence/mutations.ts +14 -0
  87. package/src/component/operationEvidence/queries.ts +108 -0
  88. package/src/component/operationEvidence/reads.test.ts +140 -0
  89. package/src/component/operationEvidence/schema.ts +62 -0
  90. package/src/component/refundHistory/commandEvidence.ts +7 -2
  91. package/src/component/refundHistory/original-seller-boundaries.test.ts +138 -0
  92. package/src/component/refundHistory/original-seller.test.ts +175 -0
  93. package/src/component/refundHistory/originalSeller.ts +48 -0
  94. package/src/component/schema.ts +6 -0
package/CHANGELOG.md CHANGED
@@ -26,6 +26,104 @@
26
26
  - Remove internal tracker references from public documentation and add a
27
27
  regression check that prevents their reintroduction.
28
28
 
29
+ ## [0.37.1](https://github.com/FantasticDevHQ/better-stripe/compare/v0.37.0...v0.37.1) (2026-10-17)
30
+
31
+ ### Bug Fixes
32
+
33
+ - **release:** preserve parseable descriptions and correct release notes ([e3f93d9](https://github.com/FantasticDevHQ/better-stripe/commit/e3f93d9276d5f51468d11fdfa932605db2e748e4))
34
+ - **release:** preserve parseable reviewed release descriptions ([7aaf445](https://github.com/FantasticDevHQ/better-stripe/commit/7aaf445af08ed59d04c0d5e7958dfd82f5282974))
35
+ - **release:** reject nested version selectors in notes ([067b45e](https://github.com/FantasticDevHQ/better-stripe/commit/067b45e575e2b4cadd3e07a2db1a1c9dee73960f))
36
+
37
+ ## [0.37.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.35.0...v0.37.0) (2026-10-17)
38
+
39
+ ### Release correction
40
+
41
+ The reviewed 0.36 release PR description lost the separators required by
42
+ Release Please. Its normal release run skipped publication. The existing release
43
+ automation then generated and merged 0.37 before independent candidate acceptance.
44
+ That automatic merge did not satisfy the required prepublication review process.
45
+ There was no published 0.36 package. The first generated 0.37 notes repeated older
46
+ history, including an obsolete package-name change and a withdrawn refund-reader
47
+ prototype. Those entries did not describe new 0.37 behavior.
48
+
49
+ The 0.37 runtime, source, React package, Vite example and packaged guides match
50
+ the reviewed 0.36 candidate. The accepted changes since 0.35 are described below;
51
+ there is no new package rename in 0.37.
52
+
53
+ ### Features
54
+
55
+ - Preserve exact original/latest operation evidence through explicit trusted
56
+ maintenance, headerless payload storage and bounded readers. Maintenance
57
+ evidence generations do not observe raw financial writes or establish complete
58
+ lifecycle, ownership, liability or closure coverage.
59
+
60
+ ### Bug fixes
61
+
62
+ - Qualify ownerless refund-command receipts using a unique immutable original
63
+ settlement allocation with exact charge, PaymentIntent and currency identity.
64
+ Later same-PaymentIntent payment-routing changes cannot reassign the original
65
+ store. Missing allocation proof, payment-only legacy receipts, conflicting
66
+ persisted accounts and ambiguous recipient routes remain unavailable. The
67
+ withdrawn reader based on mutable payment routing is not the final implementation.
68
+ - Reuse a validated same-currency earnings summary after the existing subtract,
69
+ reset, reapply and safe-integer checks. This does not fix the native read-limit
70
+ failure for admitted claims with 1,000 distinct destinations.
71
+
72
+ Automatic publication is separate from independent public-artifact verification
73
+ and installed application adoption. These changes do not enable financial
74
+ admission, provider execution, refund retry authority, access changes, missing
75
+ history migration or account closure readiness.
76
+
77
+ ## [0.36.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.35.0...v0.36.0) (2026-10-17)
78
+
79
+ ### Features
80
+
81
+ - Preserve exact original/latest operation evidence through explicit trusted
82
+ maintenance, headerless payload storage and bounded read APIs. Maintenance
83
+ evidence generations do not track unobserved raw financial writes or establish
84
+ complete lifecycle, ownership or closure coverage. See the
85
+ [financial observation guide](docs/financial-observations.md).
86
+ ([b409fd4](https://github.com/FantasticDevHQ/better-stripe/commit/b409fd4af5afdec303747c8c5b78accb3ef02ee9))
87
+
88
+ ### Bug Fixes
89
+
90
+ - Qualify ownerless refund-command receipts against a unique immutable original
91
+ settlement allocation with exact charge, payment intent and currency. Normal
92
+ same-payment routing updates cannot redirect the original store; affiliates,
93
+ replacement stores, conflicting persisted accounts and ambiguous allocation
94
+ routes remain unavailable. Persisted destination-account receipts retain parity.
95
+ ([173f0e1](https://github.com/FantasticDevHQ/better-stripe/commit/173f0e1be7963485ee67042b36704387815f6db0))
96
+ - Use component-compatible bounded operation-evidence pagination.
97
+ ([78a524c](https://github.com/FantasticDevHQ/better-stripe/commit/78a524cb13900a2a111183e41ac53cd2e9b038bb))
98
+
99
+ ### Performance
100
+
101
+ - Reuse one exact same-bucket earnings summary read while preserving subtract,
102
+ zero-count reset, reapply and safe-integer validation before any no-op persistence
103
+ decision. Financial/risk callbacks remain unchanged.
104
+ ([47449d2](https://github.com/FantasticDevHQ/better-stripe/commit/47449d241354eb1e21ef4b3538263b2400c1aa03))
105
+
106
+ ### Scope and limitations
107
+
108
+ - Original-seller qualification requires immutable allocation authority. Ownerless
109
+ payment-only legacy receipts, missing allocation payment intents and ownerless
110
+ destination history without that authority stay unavailable. Mutable payment
111
+ routing or metadata cannot reconstruct original merchant identity. No migration
112
+ or first-read ownership pin is introduced; existing account-filtered history and
113
+ the 100-row ingestion owner backfill retain their prior limits. Hosts still own
114
+ original command/fingerprint, charge verification and authorization. See the
115
+ [refund-command evidence guide](docs/refund-command-evidence.md).
116
+ - The earnings optimization does not fix the admitted 1,000-distinct-destination
117
+ reversal claim's native read-budget failure. Resource failures remain atomic;
118
+ they do not reject the original financial contract by adding a smaller cap or
119
+ truncate transfer references. Existing native document/read/write limits apply.
120
+ - Operation evidence remains explicit trusted-maintenance evidence, not automatic
121
+ financial-writer observation, migration/backfill completion, liability admission
122
+ fencing or account-closure readiness. Financial observation coverage remains
123
+ UNKNOWN. No host reconciliation, provider execution, refund retry authority,
124
+ money/access change or Dojo adoption is enabled by this release alone.
125
+ - Retain measured stricter quality floors without relaxing existing gates.
126
+
29
127
  ## [0.35.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.34.0...v0.35.0) (2026-10-16)
30
128
 
31
129
  ### Features
package/README.md CHANGED
@@ -70,7 +70,7 @@ claim execution are completed.
70
70
 
71
71
  ## Status
72
72
 
73
- **Version**: `0.35.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
73
+ **Version**: `0.37.1` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
74
74
 
75
75
  Used in production by its authors. Webhook pipeline is covered by unit tests and a live E2E harness (`npm run e2e:webhooks`) that fires real Stripe-signed events and asserts the ledger.
76
76
 
@@ -9,6 +9,95 @@ export declare const scope: {
9
9
  };
10
10
  export declare function setup(amounts?: number[], currency?: string): Promise<{
11
11
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
12
+ operationEvidencePayloads: import("convex/server").TableDefinition<import("convex/values").VObject<{
13
+ commissionExposure?: {
14
+ chargeAmount: number;
15
+ disputeId?: string | undefined;
16
+ disputeState?: "lost" | "open" | "won" | undefined;
17
+ finalized: boolean;
18
+ kind: "dispute" | "refund";
19
+ principal: number;
20
+ refundId?: string | undefined;
21
+ refundedPrincipal?: number | undefined;
22
+ } | undefined;
23
+ operationId: string;
24
+ slices: {
25
+ from: number;
26
+ stripeTransferId: string;
27
+ to: number;
28
+ }[];
29
+ sourceChargeId: string;
30
+ }, {
31
+ operationId: import("convex/values").VString<string, "required">;
32
+ sourceChargeId: import("convex/values").VString<string, "required">;
33
+ slices: import("convex/values").VArray<{
34
+ from: number;
35
+ stripeTransferId: string;
36
+ to: number;
37
+ }[], import("convex/values").VObject<{
38
+ from: number;
39
+ stripeTransferId: string;
40
+ to: number;
41
+ }, {
42
+ stripeTransferId: import("convex/values").VString<string, "required">;
43
+ from: import("convex/values").VFloat64<number, "required">;
44
+ to: import("convex/values").VFloat64<number, "required">;
45
+ }, "required", "from" | "stripeTransferId" | "to">, "required">;
46
+ commissionExposure: import("convex/values").VObject<{
47
+ chargeAmount: number;
48
+ disputeId?: string | undefined;
49
+ disputeState?: "lost" | "open" | "won" | undefined;
50
+ finalized: boolean;
51
+ kind: "dispute" | "refund";
52
+ principal: number;
53
+ refundId?: string | undefined;
54
+ refundedPrincipal?: number | undefined;
55
+ } | undefined, {
56
+ kind: import("convex/values").VUnion<"dispute" | "refund", [import("convex/values").VLiteral<"refund", "required">, import("convex/values").VLiteral<"dispute", "required">], "required", never>;
57
+ chargeAmount: import("convex/values").VFloat64<number, "required">;
58
+ principal: import("convex/values").VFloat64<number, "required">;
59
+ finalized: import("convex/values").VBoolean<boolean, "required">;
60
+ disputeState: import("convex/values").VUnion<"lost" | "open" | "won" | undefined, [import("convex/values").VLiteral<"open", "required">, import("convex/values").VLiteral<"lost", "required">, import("convex/values").VLiteral<"won", "required">], "optional", never>;
61
+ disputeId: import("convex/values").VString<string | undefined, "optional">;
62
+ refundedPrincipal: import("convex/values").VFloat64<number | undefined, "optional">;
63
+ refundId: import("convex/values").VString<string | undefined, "optional">;
64
+ }, "optional", "chargeAmount" | "disputeId" | "disputeState" | "finalized" | "kind" | "principal" | "refundId" | "refundedPrincipal">;
65
+ }, "required", "commissionExposure" | "commissionExposure.chargeAmount" | "commissionExposure.disputeId" | "commissionExposure.disputeState" | "commissionExposure.finalized" | "commissionExposure.kind" | "commissionExposure.principal" | "commissionExposure.refundId" | "commissionExposure.refundedPrincipal" | "operationId" | "slices" | "sourceChargeId">, {}, {}, {}>;
66
+ operationEvidenceHeaders: import("convex/server").TableDefinition<import("convex/values").VObject<{
67
+ firstObservedAt: number;
68
+ generation: number;
69
+ isContradictory: boolean;
70
+ latestFingerprint: string;
71
+ latestPayloadId: import("convex/values").GenericId<"operationEvidencePayloads">;
72
+ operationDigest: string;
73
+ originalFingerprint: string;
74
+ originalIdentityFingerprint: string;
75
+ originalPayloadId: import("convex/values").GenericId<"operationEvidencePayloads">;
76
+ producer: "trusted_host_maintenance";
77
+ producerVersion: 1;
78
+ sourceChargeDigest: string;
79
+ sourceCreatedAt: number;
80
+ sourceId: import("convex/values").GenericId<"transferReversalOps">;
81
+ }, {
82
+ sourceId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
83
+ originalPayloadId: import("convex/values").VId<import("convex/values").GenericId<"operationEvidencePayloads">, "required">;
84
+ latestPayloadId: import("convex/values").VId<import("convex/values").GenericId<"operationEvidencePayloads">, "required">;
85
+ producer: import("convex/values").VLiteral<"trusted_host_maintenance", "required">;
86
+ producerVersion: import("convex/values").VLiteral<1, "required">;
87
+ firstObservedAt: import("convex/values").VFloat64<number, "required">;
88
+ sourceCreatedAt: import("convex/values").VFloat64<number, "required">;
89
+ originalFingerprint: import("convex/values").VString<string, "required">;
90
+ latestFingerprint: import("convex/values").VString<string, "required">;
91
+ originalIdentityFingerprint: import("convex/values").VString<string, "required">;
92
+ operationDigest: import("convex/values").VString<string, "required">;
93
+ sourceChargeDigest: import("convex/values").VString<string, "required">;
94
+ generation: import("convex/values").VFloat64<number, "required">;
95
+ isContradictory: import("convex/values").VBoolean<boolean, "required">;
96
+ }, "required", "firstObservedAt" | "generation" | "isContradictory" | "latestFingerprint" | "latestPayloadId" | "operationDigest" | "originalFingerprint" | "originalIdentityFingerprint" | "originalPayloadId" | "producer" | "producerVersion" | "sourceChargeDigest" | "sourceCreatedAt" | "sourceId">, {
97
+ by_operation_digest: ["operationDigest", "_creationTime"];
98
+ by_source_charge_digest: ["sourceChargeDigest", "_creationTime"];
99
+ by_source_id: ["sourceId", "_creationTime"];
100
+ }, {}, {}>;
12
101
  financialTransferObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
13
102
  bucketKey: string;
14
103
  fingerprint: string;
@@ -2133,6 +2222,95 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
2133
2222
  }>;
2134
2223
  export declare function historical(currency?: string): Promise<{
2135
2224
  t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
2225
+ operationEvidencePayloads: import("convex/server").TableDefinition<import("convex/values").VObject<{
2226
+ commissionExposure?: {
2227
+ chargeAmount: number;
2228
+ disputeId?: string | undefined;
2229
+ disputeState?: "lost" | "open" | "won" | undefined;
2230
+ finalized: boolean;
2231
+ kind: "dispute" | "refund";
2232
+ principal: number;
2233
+ refundId?: string | undefined;
2234
+ refundedPrincipal?: number | undefined;
2235
+ } | undefined;
2236
+ operationId: string;
2237
+ slices: {
2238
+ from: number;
2239
+ stripeTransferId: string;
2240
+ to: number;
2241
+ }[];
2242
+ sourceChargeId: string;
2243
+ }, {
2244
+ operationId: import("convex/values").VString<string, "required">;
2245
+ sourceChargeId: import("convex/values").VString<string, "required">;
2246
+ slices: import("convex/values").VArray<{
2247
+ from: number;
2248
+ stripeTransferId: string;
2249
+ to: number;
2250
+ }[], import("convex/values").VObject<{
2251
+ from: number;
2252
+ stripeTransferId: string;
2253
+ to: number;
2254
+ }, {
2255
+ stripeTransferId: import("convex/values").VString<string, "required">;
2256
+ from: import("convex/values").VFloat64<number, "required">;
2257
+ to: import("convex/values").VFloat64<number, "required">;
2258
+ }, "required", "from" | "stripeTransferId" | "to">, "required">;
2259
+ commissionExposure: import("convex/values").VObject<{
2260
+ chargeAmount: number;
2261
+ disputeId?: string | undefined;
2262
+ disputeState?: "lost" | "open" | "won" | undefined;
2263
+ finalized: boolean;
2264
+ kind: "dispute" | "refund";
2265
+ principal: number;
2266
+ refundId?: string | undefined;
2267
+ refundedPrincipal?: number | undefined;
2268
+ } | undefined, {
2269
+ kind: import("convex/values").VUnion<"dispute" | "refund", [import("convex/values").VLiteral<"refund", "required">, import("convex/values").VLiteral<"dispute", "required">], "required", never>;
2270
+ chargeAmount: import("convex/values").VFloat64<number, "required">;
2271
+ principal: import("convex/values").VFloat64<number, "required">;
2272
+ finalized: import("convex/values").VBoolean<boolean, "required">;
2273
+ disputeState: import("convex/values").VUnion<"lost" | "open" | "won" | undefined, [import("convex/values").VLiteral<"open", "required">, import("convex/values").VLiteral<"lost", "required">, import("convex/values").VLiteral<"won", "required">], "optional", never>;
2274
+ disputeId: import("convex/values").VString<string | undefined, "optional">;
2275
+ refundedPrincipal: import("convex/values").VFloat64<number | undefined, "optional">;
2276
+ refundId: import("convex/values").VString<string | undefined, "optional">;
2277
+ }, "optional", "chargeAmount" | "disputeId" | "disputeState" | "finalized" | "kind" | "principal" | "refundId" | "refundedPrincipal">;
2278
+ }, "required", "commissionExposure" | "commissionExposure.chargeAmount" | "commissionExposure.disputeId" | "commissionExposure.disputeState" | "commissionExposure.finalized" | "commissionExposure.kind" | "commissionExposure.principal" | "commissionExposure.refundId" | "commissionExposure.refundedPrincipal" | "operationId" | "slices" | "sourceChargeId">, {}, {}, {}>;
2279
+ operationEvidenceHeaders: import("convex/server").TableDefinition<import("convex/values").VObject<{
2280
+ firstObservedAt: number;
2281
+ generation: number;
2282
+ isContradictory: boolean;
2283
+ latestFingerprint: string;
2284
+ latestPayloadId: import("convex/values").GenericId<"operationEvidencePayloads">;
2285
+ operationDigest: string;
2286
+ originalFingerprint: string;
2287
+ originalIdentityFingerprint: string;
2288
+ originalPayloadId: import("convex/values").GenericId<"operationEvidencePayloads">;
2289
+ producer: "trusted_host_maintenance";
2290
+ producerVersion: 1;
2291
+ sourceChargeDigest: string;
2292
+ sourceCreatedAt: number;
2293
+ sourceId: import("convex/values").GenericId<"transferReversalOps">;
2294
+ }, {
2295
+ sourceId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
2296
+ originalPayloadId: import("convex/values").VId<import("convex/values").GenericId<"operationEvidencePayloads">, "required">;
2297
+ latestPayloadId: import("convex/values").VId<import("convex/values").GenericId<"operationEvidencePayloads">, "required">;
2298
+ producer: import("convex/values").VLiteral<"trusted_host_maintenance", "required">;
2299
+ producerVersion: import("convex/values").VLiteral<1, "required">;
2300
+ firstObservedAt: import("convex/values").VFloat64<number, "required">;
2301
+ sourceCreatedAt: import("convex/values").VFloat64<number, "required">;
2302
+ originalFingerprint: import("convex/values").VString<string, "required">;
2303
+ latestFingerprint: import("convex/values").VString<string, "required">;
2304
+ originalIdentityFingerprint: import("convex/values").VString<string, "required">;
2305
+ operationDigest: import("convex/values").VString<string, "required">;
2306
+ sourceChargeDigest: import("convex/values").VString<string, "required">;
2307
+ generation: import("convex/values").VFloat64<number, "required">;
2308
+ isContradictory: import("convex/values").VBoolean<boolean, "required">;
2309
+ }, "required", "firstObservedAt" | "generation" | "isContradictory" | "latestFingerprint" | "latestPayloadId" | "operationDigest" | "originalFingerprint" | "originalIdentityFingerprint" | "originalPayloadId" | "producer" | "producerVersion" | "sourceChargeDigest" | "sourceCreatedAt" | "sourceId">, {
2310
+ by_operation_digest: ["operationDigest", "_creationTime"];
2311
+ by_source_charge_digest: ["sourceChargeDigest", "_creationTime"];
2312
+ by_source_id: ["sourceId", "_creationTime"];
2313
+ }, {}, {}>;
2136
2314
  financialTransferObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
2137
2315
  bucketKey: string;
2138
2316
  fingerprint: string;
@@ -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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;;;;;;;;;;YAKjC,QAAQ;;;;;wBAQA,IAAI;;;;;;;YAUZ,IAAI;;;;YAIJ,QAAQ,8BAAoB,MAAM;YAGlC,MAAM,iCACW;gBACb,MAAM,EAAE,MAAM,CAAC;gBACf,QAAQ,EAAE,MAAM,CAAC;gBACjB,QAAQ,EAAE,MAAM,CAAC;aAClB;;;;gBA2CG,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDrB"}
@@ -10,6 +10,95 @@ 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
+ operationEvidencePayloads: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
+ commissionExposure?: {
15
+ chargeAmount: number;
16
+ disputeId?: string | undefined;
17
+ disputeState?: "lost" | "open" | "won" | undefined;
18
+ finalized: boolean;
19
+ kind: "dispute" | "refund";
20
+ principal: number;
21
+ refundId?: string | undefined;
22
+ refundedPrincipal?: number | undefined;
23
+ } | undefined;
24
+ operationId: string;
25
+ slices: {
26
+ from: number;
27
+ stripeTransferId: string;
28
+ to: number;
29
+ }[];
30
+ sourceChargeId: string;
31
+ }, {
32
+ operationId: import("convex/values").VString<string, "required">;
33
+ sourceChargeId: import("convex/values").VString<string, "required">;
34
+ slices: import("convex/values").VArray<{
35
+ from: number;
36
+ stripeTransferId: string;
37
+ to: number;
38
+ }[], import("convex/values").VObject<{
39
+ from: number;
40
+ stripeTransferId: string;
41
+ to: number;
42
+ }, {
43
+ stripeTransferId: import("convex/values").VString<string, "required">;
44
+ from: import("convex/values").VFloat64<number, "required">;
45
+ to: import("convex/values").VFloat64<number, "required">;
46
+ }, "required", "from" | "stripeTransferId" | "to">, "required">;
47
+ commissionExposure: import("convex/values").VObject<{
48
+ chargeAmount: number;
49
+ disputeId?: string | undefined;
50
+ disputeState?: "lost" | "open" | "won" | undefined;
51
+ finalized: boolean;
52
+ kind: "dispute" | "refund";
53
+ principal: number;
54
+ refundId?: string | undefined;
55
+ refundedPrincipal?: number | undefined;
56
+ } | undefined, {
57
+ kind: import("convex/values").VUnion<"dispute" | "refund", [import("convex/values").VLiteral<"refund", "required">, import("convex/values").VLiteral<"dispute", "required">], "required", never>;
58
+ chargeAmount: import("convex/values").VFloat64<number, "required">;
59
+ principal: import("convex/values").VFloat64<number, "required">;
60
+ finalized: import("convex/values").VBoolean<boolean, "required">;
61
+ disputeState: import("convex/values").VUnion<"lost" | "open" | "won" | undefined, [import("convex/values").VLiteral<"open", "required">, import("convex/values").VLiteral<"lost", "required">, import("convex/values").VLiteral<"won", "required">], "optional", never>;
62
+ disputeId: import("convex/values").VString<string | undefined, "optional">;
63
+ refundedPrincipal: import("convex/values").VFloat64<number | undefined, "optional">;
64
+ refundId: import("convex/values").VString<string | undefined, "optional">;
65
+ }, "optional", "chargeAmount" | "disputeId" | "disputeState" | "finalized" | "kind" | "principal" | "refundId" | "refundedPrincipal">;
66
+ }, "required", "commissionExposure" | "commissionExposure.chargeAmount" | "commissionExposure.disputeId" | "commissionExposure.disputeState" | "commissionExposure.finalized" | "commissionExposure.kind" | "commissionExposure.principal" | "commissionExposure.refundId" | "commissionExposure.refundedPrincipal" | "operationId" | "slices" | "sourceChargeId">, {}, {}, {}>;
67
+ operationEvidenceHeaders: import("convex/server").TableDefinition<import("convex/values").VObject<{
68
+ firstObservedAt: number;
69
+ generation: number;
70
+ isContradictory: boolean;
71
+ latestFingerprint: string;
72
+ latestPayloadId: import("convex/values").GenericId<"operationEvidencePayloads">;
73
+ operationDigest: string;
74
+ originalFingerprint: string;
75
+ originalIdentityFingerprint: string;
76
+ originalPayloadId: import("convex/values").GenericId<"operationEvidencePayloads">;
77
+ producer: "trusted_host_maintenance";
78
+ producerVersion: 1;
79
+ sourceChargeDigest: string;
80
+ sourceCreatedAt: number;
81
+ sourceId: import("convex/values").GenericId<"transferReversalOps">;
82
+ }, {
83
+ sourceId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
84
+ originalPayloadId: import("convex/values").VId<import("convex/values").GenericId<"operationEvidencePayloads">, "required">;
85
+ latestPayloadId: import("convex/values").VId<import("convex/values").GenericId<"operationEvidencePayloads">, "required">;
86
+ producer: import("convex/values").VLiteral<"trusted_host_maintenance", "required">;
87
+ producerVersion: import("convex/values").VLiteral<1, "required">;
88
+ firstObservedAt: import("convex/values").VFloat64<number, "required">;
89
+ sourceCreatedAt: import("convex/values").VFloat64<number, "required">;
90
+ originalFingerprint: import("convex/values").VString<string, "required">;
91
+ latestFingerprint: import("convex/values").VString<string, "required">;
92
+ originalIdentityFingerprint: import("convex/values").VString<string, "required">;
93
+ operationDigest: import("convex/values").VString<string, "required">;
94
+ sourceChargeDigest: import("convex/values").VString<string, "required">;
95
+ generation: import("convex/values").VFloat64<number, "required">;
96
+ isContradictory: import("convex/values").VBoolean<boolean, "required">;
97
+ }, "required", "firstObservedAt" | "generation" | "isContradictory" | "latestFingerprint" | "latestPayloadId" | "operationDigest" | "originalFingerprint" | "originalIdentityFingerprint" | "originalPayloadId" | "producer" | "producerVersion" | "sourceChargeDigest" | "sourceCreatedAt" | "sourceId">, {
98
+ by_operation_digest: ["operationDigest", "_creationTime"];
99
+ by_source_charge_digest: ["sourceChargeDigest", "_creationTime"];
100
+ by_source_id: ["sourceId", "_creationTime"];
101
+ }, {}, {}>;
13
102
  financialTransferObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
103
  bucketKey: string;
15
104
  fingerprint: string;
@@ -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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