@fantastic.dev/better-stripe 0.71.0 → 0.72.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 (100) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +524 -50
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +246 -9
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +524 -50
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +246 -9
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/paymentSource/resolver.d.ts +6 -1
  12. package/dist/client/paymentSource/resolver.d.ts.map +1 -1
  13. package/dist/client/paymentSource/resolver.js +49 -41
  14. package/dist/client/paymentSource/resolver.js.map +1 -1
  15. package/dist/client/processingCostReconciliation/provider.d.ts.map +1 -1
  16. package/dist/client/processingCostReconciliation/provider.js +14 -2
  17. package/dist/client/processingCostReconciliation/provider.js.map +1 -1
  18. package/dist/client/settlement/authorization.fixture.d.ts +26 -0
  19. package/dist/client/settlement/authorization.fixture.d.ts.map +1 -1
  20. package/dist/client/settlement/execution.d.ts +2 -0
  21. package/dist/client/settlement/execution.d.ts.map +1 -1
  22. package/dist/client/settlement/execution.js.map +1 -1
  23. package/dist/client/usage/index.d.ts +1 -0
  24. package/dist/client/usage/index.d.ts.map +1 -1
  25. package/dist/client/usage/invoiceSale.d.ts +8 -0
  26. package/dist/client/usage/invoiceSale.d.ts.map +1 -1
  27. package/dist/client/usage/invoiceSale.js +3 -0
  28. package/dist/client/usage/invoiceSale.js.map +1 -1
  29. package/dist/client/usage/mixedInvoice.fixtures.d.ts +315 -0
  30. package/dist/client/usage/mixedInvoice.fixtures.d.ts.map +1 -0
  31. package/dist/client/usage/mixedInvoice.fixtures.js +55 -0
  32. package/dist/client/usage/mixedInvoice.fixtures.js.map +1 -0
  33. package/dist/client/usage/mixedInvoiceSale.d.ts +6 -0
  34. package/dist/client/usage/mixedInvoiceSale.d.ts.map +1 -0
  35. package/dist/client/usage/mixedInvoiceSale.js +160 -0
  36. package/dist/client/usage/mixedInvoiceSale.js.map +1 -0
  37. package/dist/client/usage/observationClient.d.ts +2 -2
  38. package/dist/client/usage/observationClient.d.ts.map +1 -1
  39. package/dist/client/usage/retainedInvoiceSource.d.ts +20 -0
  40. package/dist/client/usage/retainedInvoiceSource.d.ts.map +1 -0
  41. package/dist/client/usage/retainedInvoiceSource.js +92 -0
  42. package/dist/client/usage/retainedInvoiceSource.js.map +1 -0
  43. package/dist/client/usage/settlement.d.ts +5 -0
  44. package/dist/client/usage/settlement.d.ts.map +1 -1
  45. package/dist/client/usage/settlement.js +28 -9
  46. package/dist/client/usage/settlement.js.map +1 -1
  47. package/dist/component/_generated/component.d.ts +65 -0
  48. package/dist/component/_generated/component.d.ts.map +1 -1
  49. package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
  50. package/dist/component/balanceFunding/mutations.d.ts +16 -16
  51. package/dist/component/balanceFunding/preparationHandlers.d.ts +8 -8
  52. package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
  53. package/dist/component/earnings/triggers.d.ts +84 -6
  54. package/dist/component/earnings/triggers.d.ts.map +1 -1
  55. package/dist/component/processingCostReconciliation/rollback.d.ts +1 -1
  56. package/dist/component/recoveryWorkflow/helpers.d.ts +13 -0
  57. package/dist/component/recoveryWorkflow/helpers.d.ts.map +1 -1
  58. package/dist/component/recoveryWorkflow/mutations.d.ts +13 -0
  59. package/dist/component/recoveryWorkflow/mutations.d.ts.map +1 -1
  60. package/dist/component/recoveryWorkflow/queries.d.ts +26 -0
  61. package/dist/component/recoveryWorkflow/queries.d.ts.map +1 -1
  62. package/dist/component/recoveryWorkflow/schema.d.ts +464 -16
  63. package/dist/component/recoveryWorkflow/schema.d.ts.map +1 -1
  64. package/dist/component/schema.d.ts +246 -9
  65. package/dist/component/settlement/mutations.d.ts +26 -0
  66. package/dist/component/settlement/mutations.d.ts.map +1 -1
  67. package/dist/component/settlement/queries.d.ts +13 -0
  68. package/dist/component/settlement/queries.d.ts.map +1 -1
  69. package/dist/component/settlement/schema.d.ts +122 -3
  70. package/dist/component/settlement/schema.d.ts.map +1 -1
  71. package/dist/component/settlement/schema.js +2 -0
  72. package/dist/component/settlement/schema.js.map +1 -1
  73. package/dist/component/usage/allowance.fixtures.d.ts +262 -25
  74. package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
  75. package/dist/component/usageCredits/accounting.fixtures.d.ts +246 -9
  76. package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
  77. package/dist/shared/usageInvoiceLines.d.ts +32 -0
  78. package/dist/shared/usageInvoiceLines.d.ts.map +1 -0
  79. package/dist/shared/usageInvoiceLines.js +13 -0
  80. package/dist/shared/usageInvoiceLines.js.map +1 -0
  81. package/docs/evidence/native-metering/mixed-settlement-2026-10-20.json +284 -0
  82. package/docs/metering-setup.md +3 -2
  83. package/docs/usage-example.md +24 -5
  84. package/docs/usage-settlement.md +74 -8
  85. package/docs/usage-verification.md +22 -2
  86. package/package.json +1 -1
  87. package/src/client/paymentSource/resolver.ts +80 -59
  88. package/src/client/processingCostReconciliation/provider.ts +20 -2
  89. package/src/client/settlement/execution.ts +2 -0
  90. package/src/client/usage/index.ts +2 -0
  91. package/src/client/usage/invoiceSale.ts +10 -0
  92. package/src/client/usage/mixedInvoice.fixtures.ts +54 -0
  93. package/src/client/usage/mixedInvoiceSale.test.ts +92 -0
  94. package/src/client/usage/mixedInvoiceSale.ts +196 -0
  95. package/src/client/usage/mixedSettlement.test.ts +187 -0
  96. package/src/client/usage/retainedInvoiceSource.ts +118 -0
  97. package/src/client/usage/settlement.ts +47 -9
  98. package/src/component/_generated/component.ts +50 -0
  99. package/src/component/settlement/schema.ts +2 -0
  100. package/src/shared/usageInvoiceLines.ts +14 -0
@@ -1 +1 @@
1
- {"version":3,"file":"payoutLargeAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutLargeAdoptionTestHelpers.ts"],"names":[],"mappings":"AAGA,wBAAsB,KAAK,CAAC,KAAK,SAAM,EAAE,MAAM,SAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAGtC,MAAM;yBACT;gBAAE,gBAAgB,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAA;aAAE,EAAE;;;GA2C9D"}
@@ -1432,6 +1432,19 @@ export declare function setup(scope?: Scope): Promise<{
1432
1432
  }[];
1433
1433
  usageSource?: {
1434
1434
  customerAccount: string;
1435
+ invoiceLines?: {
1436
+ amount: number;
1437
+ kind: "fixed" | "metered";
1438
+ lineId: string;
1439
+ period: {
1440
+ end: number;
1441
+ start: number;
1442
+ };
1443
+ quantity: string;
1444
+ stripePriceId: string;
1445
+ stripeProductId: string;
1446
+ subscriptionItemId: string;
1447
+ }[] | undefined;
1435
1448
  invoicePaymentId: string;
1436
1449
  livemode: boolean;
1437
1450
  meterId: string;
@@ -1509,6 +1522,19 @@ export declare function setup(scope?: Scope): Promise<{
1509
1522
  }[];
1510
1523
  usageSource?: {
1511
1524
  customerAccount: string;
1525
+ invoiceLines?: {
1526
+ amount: number;
1527
+ kind: "fixed" | "metered";
1528
+ lineId: string;
1529
+ period: {
1530
+ end: number;
1531
+ start: number;
1532
+ };
1533
+ quantity: string;
1534
+ stripePriceId: string;
1535
+ stripeProductId: string;
1536
+ subscriptionItemId: string;
1537
+ }[] | undefined;
1512
1538
  invoicePaymentId: string;
1513
1539
  livemode: boolean;
1514
1540
  meterId: string;
@@ -1538,6 +1564,19 @@ export declare function setup(scope?: Scope): Promise<{
1538
1564
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
1539
1565
  usageSource: import("convex/values").VObject<{
1540
1566
  customerAccount: string;
1567
+ invoiceLines?: {
1568
+ amount: number;
1569
+ kind: "fixed" | "metered";
1570
+ lineId: string;
1571
+ period: {
1572
+ end: number;
1573
+ start: number;
1574
+ };
1575
+ quantity: string;
1576
+ stripePriceId: string;
1577
+ stripeProductId: string;
1578
+ subscriptionItemId: string;
1579
+ }[] | undefined;
1541
1580
  invoicePaymentId: string;
1542
1581
  livemode: boolean;
1543
1582
  meterId: string;
@@ -1552,6 +1591,46 @@ export declare function setup(scope?: Scope): Promise<{
1552
1591
  subscriptionId: string;
1553
1592
  subscriptionItemId: string;
1554
1593
  } | undefined, {
1594
+ invoiceLines: import("convex/values").VArray<{
1595
+ amount: number;
1596
+ kind: "fixed" | "metered";
1597
+ lineId: string;
1598
+ period: {
1599
+ end: number;
1600
+ start: number;
1601
+ };
1602
+ quantity: string;
1603
+ stripePriceId: string;
1604
+ stripeProductId: string;
1605
+ subscriptionItemId: string;
1606
+ }[] | undefined, import("convex/values").VObject<{
1607
+ amount: number;
1608
+ kind: "fixed" | "metered";
1609
+ lineId: string;
1610
+ period: {
1611
+ end: number;
1612
+ start: number;
1613
+ };
1614
+ quantity: string;
1615
+ stripePriceId: string;
1616
+ stripeProductId: string;
1617
+ subscriptionItemId: string;
1618
+ }, {
1619
+ lineId: import("convex/values").VString<string, "required">;
1620
+ stripePriceId: import("convex/values").VString<string, "required">;
1621
+ stripeProductId: import("convex/values").VString<string, "required">;
1622
+ subscriptionItemId: import("convex/values").VString<string, "required">;
1623
+ period: import("convex/values").VObject<{
1624
+ end: number;
1625
+ start: number;
1626
+ }, {
1627
+ start: import("convex/values").VFloat64<number, "required">;
1628
+ end: import("convex/values").VFloat64<number, "required">;
1629
+ }, "required", "end" | "start">;
1630
+ amount: import("convex/values").VFloat64<number, "required">;
1631
+ quantity: import("convex/values").VString<string, "required">;
1632
+ kind: import("convex/values").VUnion<"fixed" | "metered", [import("convex/values").VLiteral<"fixed", "required">, import("convex/values").VLiteral<"metered", "required">], "required", never>;
1633
+ }, "required", "amount" | "kind" | "lineId" | "period" | "period.end" | "period.start" | "quantity" | "stripePriceId" | "stripeProductId" | "subscriptionItemId">, "optional">;
1555
1634
  stripeAccountId: import("convex/values").VString<string, "required">;
1556
1635
  customerAccount: import("convex/values").VString<string, "required">;
1557
1636
  livemode: import("convex/values").VBoolean<boolean, "required">;
@@ -1569,7 +1648,7 @@ export declare function setup(scope?: Scope): Promise<{
1569
1648
  end: import("convex/values").VFloat64<number, "required">;
1570
1649
  }, "required", "end" | "start">;
1571
1650
  model: import("convex/values").VUnion<"included_overage" | "pay_as_you_go", [import("convex/values").VLiteral<"pay_as_you_go", "required">, import("convex/values").VLiteral<"included_overage", "required">], "required", never>;
1572
- }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
1651
+ }, "optional", "customerAccount" | "invoiceLines" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
1573
1652
  creditSource: import("convex/values").VObject<{
1574
1653
  creditGrantId: string;
1575
1654
  customerAccount: string;
@@ -1606,7 +1685,7 @@ export declare function setup(scope?: Scope): Promise<{
1606
1685
  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>;
1607
1686
  amount: import("convex/values").VFloat64<number, "required">;
1608
1687
  }, "required", "amount" | "destinationAccountId" | "role">, "required">;
1609
- }, "optional", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "policyContext" | "policyContext.fields" | "policyContext.namespace" | "policyContext.version" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId" | `policyContext.fields.${string}`>;
1688
+ }, "optional", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "policyContext" | "policyContext.fields" | "policyContext.namespace" | "policyContext.version" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoiceLines" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId" | `policyContext.fields.${string}`>;
1610
1689
  version: import("convex/values").VFloat64<number, "required">;
1611
1690
  sourceKind: import("convex/values").VUnion<"invoice" | "settlement", [import("convex/values").VLiteral<"settlement", "required">, import("convex/values").VLiteral<"invoice", "required">], "required", never>;
1612
1691
  sourceId: import("convex/values").VString<string, "required">;
@@ -1617,7 +1696,7 @@ export declare function setup(scope?: Scope): Promise<{
1617
1696
  activePhase: import("convex/values").VUnion<"execute" | "reconcile" | undefined, [import("convex/values").VLiteral<"execute", "required">, import("convex/values").VLiteral<"reconcile", "required">], "optional", never>;
1618
1697
  resumeQueued: import("convex/values").VBoolean<boolean, "required">;
1619
1698
  outcome: import("convex/values").VUnion<"collect" | "release" | undefined, [import("convex/values").VLiteral<"collect", "required">, import("convex/values").VLiteral<"release", "required">], "optional", never>;
1620
- }, "required", "accountId" | "activePhase" | "allocation" | "allocation.adjustmentAmount" | "allocation.creditSource" | "allocation.creditSource.creditGrantId" | "allocation.creditSource.customerAccount" | "allocation.creditSource.livemode" | "allocation.creditSource.purchaseId" | "allocation.creditSource.stripeAccountId" | "allocation.creditSource.stripePriceId" | "allocation.creditSource.stripeProductId" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.policyContext" | "allocation.policyContext.fields" | "allocation.policyContext.namespace" | "allocation.policyContext.version" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "allocation.usageSource" | "allocation.usageSource.customerAccount" | "allocation.usageSource.invoicePaymentId" | "allocation.usageSource.livemode" | "allocation.usageSource.meterId" | "allocation.usageSource.model" | "allocation.usageSource.period" | "allocation.usageSource.period.end" | "allocation.usageSource.period.start" | "allocation.usageSource.stripeAccountId" | "allocation.usageSource.stripePriceId" | "allocation.usageSource.stripeProductId" | "allocation.usageSource.subscriptionId" | "allocation.usageSource.subscriptionItemId" | "cancelRequested" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "outcome" | "provider" | "providerApiVersion" | "providerStarted" | "releaseUncollectible" | "resumeQueued" | "retryDelayMs" | "scopeKey" | "sourceId" | "sourceKind" | "status" | "version" | "workflowId" | `allocation.policyContext.fields.${string}`>, {
1699
+ }, "required", "accountId" | "activePhase" | "allocation" | "allocation.adjustmentAmount" | "allocation.creditSource" | "allocation.creditSource.creditGrantId" | "allocation.creditSource.customerAccount" | "allocation.creditSource.livemode" | "allocation.creditSource.purchaseId" | "allocation.creditSource.stripeAccountId" | "allocation.creditSource.stripePriceId" | "allocation.creditSource.stripeProductId" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.policyContext" | "allocation.policyContext.fields" | "allocation.policyContext.namespace" | "allocation.policyContext.version" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "allocation.usageSource" | "allocation.usageSource.customerAccount" | "allocation.usageSource.invoiceLines" | "allocation.usageSource.invoicePaymentId" | "allocation.usageSource.livemode" | "allocation.usageSource.meterId" | "allocation.usageSource.model" | "allocation.usageSource.period" | "allocation.usageSource.period.end" | "allocation.usageSource.period.start" | "allocation.usageSource.stripeAccountId" | "allocation.usageSource.stripePriceId" | "allocation.usageSource.stripeProductId" | "allocation.usageSource.subscriptionId" | "allocation.usageSource.subscriptionItemId" | "cancelRequested" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "outcome" | "provider" | "providerApiVersion" | "providerStarted" | "releaseUncollectible" | "resumeQueued" | "retryDelayMs" | "scopeKey" | "sourceId" | "sourceKind" | "status" | "version" | "workflowId" | `allocation.policyContext.fields.${string}`>, {
1621
1700
  by_group: ["groupKey", "_creationTime"];
1622
1701
  by_source: ["sourceKind", "sourceId", "_creationTime"];
1623
1702
  }, {}, {}>;
@@ -1655,6 +1734,19 @@ export declare function setup(scope?: Scope): Promise<{
1655
1734
  }[];
1656
1735
  usageSource?: {
1657
1736
  customerAccount: string;
1737
+ invoiceLines?: {
1738
+ amount: number;
1739
+ kind: "fixed" | "metered";
1740
+ lineId: string;
1741
+ period: {
1742
+ end: number;
1743
+ start: number;
1744
+ };
1745
+ quantity: string;
1746
+ stripePriceId: string;
1747
+ stripeProductId: string;
1748
+ subscriptionItemId: string;
1749
+ }[] | undefined;
1658
1750
  invoicePaymentId: string;
1659
1751
  livemode: boolean;
1660
1752
  meterId: string;
@@ -1718,6 +1810,19 @@ export declare function setup(scope?: Scope): Promise<{
1718
1810
  }[];
1719
1811
  usageSource?: {
1720
1812
  customerAccount: string;
1813
+ invoiceLines?: {
1814
+ amount: number;
1815
+ kind: "fixed" | "metered";
1816
+ lineId: string;
1817
+ period: {
1818
+ end: number;
1819
+ start: number;
1820
+ };
1821
+ quantity: string;
1822
+ stripePriceId: string;
1823
+ stripeProductId: string;
1824
+ subscriptionItemId: string;
1825
+ }[] | undefined;
1721
1826
  invoicePaymentId: string;
1722
1827
  livemode: boolean;
1723
1828
  meterId: string;
@@ -1786,6 +1891,19 @@ export declare function setup(scope?: Scope): Promise<{
1786
1891
  }[];
1787
1892
  usageSource?: {
1788
1893
  customerAccount: string;
1894
+ invoiceLines?: {
1895
+ amount: number;
1896
+ kind: "fixed" | "metered";
1897
+ lineId: string;
1898
+ period: {
1899
+ end: number;
1900
+ start: number;
1901
+ };
1902
+ quantity: string;
1903
+ stripePriceId: string;
1904
+ stripeProductId: string;
1905
+ subscriptionItemId: string;
1906
+ }[] | undefined;
1789
1907
  invoicePaymentId: string;
1790
1908
  livemode: boolean;
1791
1909
  meterId: string;
@@ -1815,6 +1933,19 @@ export declare function setup(scope?: Scope): Promise<{
1815
1933
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
1816
1934
  usageSource: import("convex/values").VObject<{
1817
1935
  customerAccount: string;
1936
+ invoiceLines?: {
1937
+ amount: number;
1938
+ kind: "fixed" | "metered";
1939
+ lineId: string;
1940
+ period: {
1941
+ end: number;
1942
+ start: number;
1943
+ };
1944
+ quantity: string;
1945
+ stripePriceId: string;
1946
+ stripeProductId: string;
1947
+ subscriptionItemId: string;
1948
+ }[] | undefined;
1818
1949
  invoicePaymentId: string;
1819
1950
  livemode: boolean;
1820
1951
  meterId: string;
@@ -1829,6 +1960,46 @@ export declare function setup(scope?: Scope): Promise<{
1829
1960
  subscriptionId: string;
1830
1961
  subscriptionItemId: string;
1831
1962
  } | undefined, {
1963
+ invoiceLines: import("convex/values").VArray<{
1964
+ amount: number;
1965
+ kind: "fixed" | "metered";
1966
+ lineId: string;
1967
+ period: {
1968
+ end: number;
1969
+ start: number;
1970
+ };
1971
+ quantity: string;
1972
+ stripePriceId: string;
1973
+ stripeProductId: string;
1974
+ subscriptionItemId: string;
1975
+ }[] | undefined, import("convex/values").VObject<{
1976
+ amount: number;
1977
+ kind: "fixed" | "metered";
1978
+ lineId: string;
1979
+ period: {
1980
+ end: number;
1981
+ start: number;
1982
+ };
1983
+ quantity: string;
1984
+ stripePriceId: string;
1985
+ stripeProductId: string;
1986
+ subscriptionItemId: string;
1987
+ }, {
1988
+ lineId: import("convex/values").VString<string, "required">;
1989
+ stripePriceId: import("convex/values").VString<string, "required">;
1990
+ stripeProductId: import("convex/values").VString<string, "required">;
1991
+ subscriptionItemId: import("convex/values").VString<string, "required">;
1992
+ period: import("convex/values").VObject<{
1993
+ end: number;
1994
+ start: number;
1995
+ }, {
1996
+ start: import("convex/values").VFloat64<number, "required">;
1997
+ end: import("convex/values").VFloat64<number, "required">;
1998
+ }, "required", "end" | "start">;
1999
+ amount: import("convex/values").VFloat64<number, "required">;
2000
+ quantity: import("convex/values").VString<string, "required">;
2001
+ kind: import("convex/values").VUnion<"fixed" | "metered", [import("convex/values").VLiteral<"fixed", "required">, import("convex/values").VLiteral<"metered", "required">], "required", never>;
2002
+ }, "required", "amount" | "kind" | "lineId" | "period" | "period.end" | "period.start" | "quantity" | "stripePriceId" | "stripeProductId" | "subscriptionItemId">, "optional">;
1832
2003
  stripeAccountId: import("convex/values").VString<string, "required">;
1833
2004
  customerAccount: import("convex/values").VString<string, "required">;
1834
2005
  livemode: import("convex/values").VBoolean<boolean, "required">;
@@ -1846,7 +2017,7 @@ export declare function setup(scope?: Scope): Promise<{
1846
2017
  end: import("convex/values").VFloat64<number, "required">;
1847
2018
  }, "required", "end" | "start">;
1848
2019
  model: import("convex/values").VUnion<"included_overage" | "pay_as_you_go", [import("convex/values").VLiteral<"pay_as_you_go", "required">, import("convex/values").VLiteral<"included_overage", "required">], "required", never>;
1849
- }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
2020
+ }, "optional", "customerAccount" | "invoiceLines" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
1850
2021
  creditSource: import("convex/values").VObject<{
1851
2022
  creditGrantId: string;
1852
2023
  customerAccount: string;
@@ -1883,10 +2054,10 @@ export declare function setup(scope?: Scope): Promise<{
1883
2054
  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>;
1884
2055
  amount: import("convex/values").VFloat64<number, "required">;
1885
2056
  }, "required", "amount" | "destinationAccountId" | "role">, "required">;
1886
- }, "optional", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "policyContext" | "policyContext.fields" | "policyContext.namespace" | "policyContext.version" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId" | `policyContext.fields.${string}`>;
1887
- }, "required", "accountId" | "allocation" | "allocation.adjustmentAmount" | "allocation.creditSource" | "allocation.creditSource.creditGrantId" | "allocation.creditSource.customerAccount" | "allocation.creditSource.livemode" | "allocation.creditSource.purchaseId" | "allocation.creditSource.stripeAccountId" | "allocation.creditSource.stripePriceId" | "allocation.creditSource.stripeProductId" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.policyContext" | "allocation.policyContext.fields" | "allocation.policyContext.namespace" | "allocation.policyContext.version" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "allocation.usageSource" | "allocation.usageSource.customerAccount" | "allocation.usageSource.invoicePaymentId" | "allocation.usageSource.livemode" | "allocation.usageSource.meterId" | "allocation.usageSource.model" | "allocation.usageSource.period" | "allocation.usageSource.period.end" | "allocation.usageSource.period.start" | "allocation.usageSource.stripeAccountId" | "allocation.usageSource.stripePriceId" | "allocation.usageSource.stripeProductId" | "allocation.usageSource.subscriptionId" | "allocation.usageSource.subscriptionItemId" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "provider" | "providerApiVersion" | "releaseUncollectible" | "retryDelayMs" | "scopeKey" | `allocation.policyContext.fields.${string}`>;
2057
+ }, "optional", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "policyContext" | "policyContext.fields" | "policyContext.namespace" | "policyContext.version" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoiceLines" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId" | `policyContext.fields.${string}`>;
2058
+ }, "required", "accountId" | "allocation" | "allocation.adjustmentAmount" | "allocation.creditSource" | "allocation.creditSource.creditGrantId" | "allocation.creditSource.customerAccount" | "allocation.creditSource.livemode" | "allocation.creditSource.purchaseId" | "allocation.creditSource.stripeAccountId" | "allocation.creditSource.stripePriceId" | "allocation.creditSource.stripeProductId" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.policyContext" | "allocation.policyContext.fields" | "allocation.policyContext.namespace" | "allocation.policyContext.version" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "allocation.usageSource" | "allocation.usageSource.customerAccount" | "allocation.usageSource.invoiceLines" | "allocation.usageSource.invoicePaymentId" | "allocation.usageSource.livemode" | "allocation.usageSource.meterId" | "allocation.usageSource.model" | "allocation.usageSource.period" | "allocation.usageSource.period.end" | "allocation.usageSource.period.start" | "allocation.usageSource.stripeAccountId" | "allocation.usageSource.stripePriceId" | "allocation.usageSource.stripeProductId" | "allocation.usageSource.subscriptionId" | "allocation.usageSource.subscriptionItemId" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "provider" | "providerApiVersion" | "releaseUncollectible" | "retryDelayMs" | "scopeKey" | `allocation.policyContext.fields.${string}`>;
1888
2059
  operationId: import("convex/values").VId<import("convex/values").GenericId<"recoveryWorkflowOperations">, "required">;
1889
- }, "required", "binding" | "binding.accountId" | "binding.allocation" | "binding.allocation.adjustmentAmount" | "binding.allocation.creditSource" | "binding.allocation.creditSource.creditGrantId" | "binding.allocation.creditSource.customerAccount" | "binding.allocation.creditSource.livemode" | "binding.allocation.creditSource.purchaseId" | "binding.allocation.creditSource.stripeAccountId" | "binding.allocation.creditSource.stripePriceId" | "binding.allocation.creditSource.stripeProductId" | "binding.allocation.currency" | "binding.allocation.gross" | "binding.allocation.paymentId" | "binding.allocation.paymentIntentId" | "binding.allocation.platformNet" | "binding.allocation.policyContext" | "binding.allocation.policyContext.fields" | "binding.allocation.policyContext.namespace" | "binding.allocation.policyContext.version" | "binding.allocation.processingFee" | "binding.allocation.sourceChargeId" | "binding.allocation.sourceInvoiceId" | "binding.allocation.transfers" | "binding.allocation.usageSource" | "binding.allocation.usageSource.customerAccount" | "binding.allocation.usageSource.invoicePaymentId" | "binding.allocation.usageSource.livemode" | "binding.allocation.usageSource.meterId" | "binding.allocation.usageSource.model" | "binding.allocation.usageSource.period" | "binding.allocation.usageSource.period.end" | "binding.allocation.usageSource.period.start" | "binding.allocation.usageSource.stripeAccountId" | "binding.allocation.usageSource.stripePriceId" | "binding.allocation.usageSource.stripeProductId" | "binding.allocation.usageSource.subscriptionId" | "binding.allocation.usageSource.subscriptionItemId" | "binding.completion" | "binding.currency" | "binding.definitionVersion" | "binding.groupKey" | "binding.maxAttempts" | "binding.provider" | "binding.providerApiVersion" | "binding.releaseUncollectible" | "binding.retryDelayMs" | "binding.scopeKey" | "operationId" | "requestKey" | `binding.allocation.policyContext.fields.${string}`>, {
2060
+ }, "required", "binding" | "binding.accountId" | "binding.allocation" | "binding.allocation.adjustmentAmount" | "binding.allocation.creditSource" | "binding.allocation.creditSource.creditGrantId" | "binding.allocation.creditSource.customerAccount" | "binding.allocation.creditSource.livemode" | "binding.allocation.creditSource.purchaseId" | "binding.allocation.creditSource.stripeAccountId" | "binding.allocation.creditSource.stripePriceId" | "binding.allocation.creditSource.stripeProductId" | "binding.allocation.currency" | "binding.allocation.gross" | "binding.allocation.paymentId" | "binding.allocation.paymentIntentId" | "binding.allocation.platformNet" | "binding.allocation.policyContext" | "binding.allocation.policyContext.fields" | "binding.allocation.policyContext.namespace" | "binding.allocation.policyContext.version" | "binding.allocation.processingFee" | "binding.allocation.sourceChargeId" | "binding.allocation.sourceInvoiceId" | "binding.allocation.transfers" | "binding.allocation.usageSource" | "binding.allocation.usageSource.customerAccount" | "binding.allocation.usageSource.invoiceLines" | "binding.allocation.usageSource.invoicePaymentId" | "binding.allocation.usageSource.livemode" | "binding.allocation.usageSource.meterId" | "binding.allocation.usageSource.model" | "binding.allocation.usageSource.period" | "binding.allocation.usageSource.period.end" | "binding.allocation.usageSource.period.start" | "binding.allocation.usageSource.stripeAccountId" | "binding.allocation.usageSource.stripePriceId" | "binding.allocation.usageSource.stripeProductId" | "binding.allocation.usageSource.subscriptionId" | "binding.allocation.usageSource.subscriptionItemId" | "binding.completion" | "binding.currency" | "binding.definitionVersion" | "binding.groupKey" | "binding.maxAttempts" | "binding.provider" | "binding.providerApiVersion" | "binding.releaseUncollectible" | "binding.retryDelayMs" | "binding.scopeKey" | "operationId" | "requestKey" | `binding.allocation.policyContext.fields.${string}`>, {
1890
2061
  by_key: ["requestKey", "_creationTime"];
1891
2062
  }, {}, {}>;
1892
2063
  balanceFundingPreparations: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -3714,6 +3885,19 @@ export declare function setup(scope?: Scope): Promise<{
3714
3885
  }[];
3715
3886
  usageSource?: {
3716
3887
  customerAccount: string;
3888
+ invoiceLines?: {
3889
+ amount: number;
3890
+ kind: "fixed" | "metered";
3891
+ lineId: string;
3892
+ period: {
3893
+ end: number;
3894
+ start: number;
3895
+ };
3896
+ quantity: string;
3897
+ stripePriceId: string;
3898
+ stripeProductId: string;
3899
+ subscriptionItemId: string;
3900
+ }[] | undefined;
3717
3901
  invoicePaymentId: string;
3718
3902
  livemode: boolean;
3719
3903
  meterId: string;
@@ -3743,6 +3927,19 @@ export declare function setup(scope?: Scope): Promise<{
3743
3927
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
3744
3928
  usageSource: import("convex/values").VObject<{
3745
3929
  customerAccount: string;
3930
+ invoiceLines?: {
3931
+ amount: number;
3932
+ kind: "fixed" | "metered";
3933
+ lineId: string;
3934
+ period: {
3935
+ end: number;
3936
+ start: number;
3937
+ };
3938
+ quantity: string;
3939
+ stripePriceId: string;
3940
+ stripeProductId: string;
3941
+ subscriptionItemId: string;
3942
+ }[] | undefined;
3746
3943
  invoicePaymentId: string;
3747
3944
  livemode: boolean;
3748
3945
  meterId: string;
@@ -3757,6 +3954,46 @@ export declare function setup(scope?: Scope): Promise<{
3757
3954
  subscriptionId: string;
3758
3955
  subscriptionItemId: string;
3759
3956
  } | undefined, {
3957
+ invoiceLines: import("convex/values").VArray<{
3958
+ amount: number;
3959
+ kind: "fixed" | "metered";
3960
+ lineId: string;
3961
+ period: {
3962
+ end: number;
3963
+ start: number;
3964
+ };
3965
+ quantity: string;
3966
+ stripePriceId: string;
3967
+ stripeProductId: string;
3968
+ subscriptionItemId: string;
3969
+ }[] | undefined, import("convex/values").VObject<{
3970
+ amount: number;
3971
+ kind: "fixed" | "metered";
3972
+ lineId: string;
3973
+ period: {
3974
+ end: number;
3975
+ start: number;
3976
+ };
3977
+ quantity: string;
3978
+ stripePriceId: string;
3979
+ stripeProductId: string;
3980
+ subscriptionItemId: string;
3981
+ }, {
3982
+ lineId: import("convex/values").VString<string, "required">;
3983
+ stripePriceId: import("convex/values").VString<string, "required">;
3984
+ stripeProductId: import("convex/values").VString<string, "required">;
3985
+ subscriptionItemId: import("convex/values").VString<string, "required">;
3986
+ period: import("convex/values").VObject<{
3987
+ end: number;
3988
+ start: number;
3989
+ }, {
3990
+ start: import("convex/values").VFloat64<number, "required">;
3991
+ end: import("convex/values").VFloat64<number, "required">;
3992
+ }, "required", "end" | "start">;
3993
+ amount: import("convex/values").VFloat64<number, "required">;
3994
+ quantity: import("convex/values").VString<string, "required">;
3995
+ kind: import("convex/values").VUnion<"fixed" | "metered", [import("convex/values").VLiteral<"fixed", "required">, import("convex/values").VLiteral<"metered", "required">], "required", never>;
3996
+ }, "required", "amount" | "kind" | "lineId" | "period" | "period.end" | "period.start" | "quantity" | "stripePriceId" | "stripeProductId" | "subscriptionItemId">, "optional">;
3760
3997
  stripeAccountId: import("convex/values").VString<string, "required">;
3761
3998
  customerAccount: import("convex/values").VString<string, "required">;
3762
3999
  livemode: import("convex/values").VBoolean<boolean, "required">;
@@ -3774,7 +4011,7 @@ export declare function setup(scope?: Scope): Promise<{
3774
4011
  end: import("convex/values").VFloat64<number, "required">;
3775
4012
  }, "required", "end" | "start">;
3776
4013
  model: import("convex/values").VUnion<"included_overage" | "pay_as_you_go", [import("convex/values").VLiteral<"pay_as_you_go", "required">, import("convex/values").VLiteral<"included_overage", "required">], "required", never>;
3777
- }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
4014
+ }, "optional", "customerAccount" | "invoiceLines" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
3778
4015
  creditSource: import("convex/values").VObject<{
3779
4016
  creditGrantId: string;
3780
4017
  customerAccount: string;
@@ -3811,7 +4048,7 @@ export declare function setup(scope?: Scope): Promise<{
3811
4048
  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>;
3812
4049
  amount: import("convex/values").VFloat64<number, "required">;
3813
4050
  }, "required", "amount" | "destinationAccountId" | "role">, "required">;
3814
- }, "required", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "policyContext" | "policyContext.fields" | "policyContext.namespace" | "policyContext.version" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId" | `policyContext.fields.${string}`>, {
4051
+ }, "required", "adjustmentAmount" | "creditSource" | "creditSource.creditGrantId" | "creditSource.customerAccount" | "creditSource.livemode" | "creditSource.purchaseId" | "creditSource.stripeAccountId" | "creditSource.stripePriceId" | "creditSource.stripeProductId" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "policyContext" | "policyContext.fields" | "policyContext.namespace" | "policyContext.version" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers" | "usageSource" | "usageSource.customerAccount" | "usageSource.invoiceLines" | "usageSource.invoicePaymentId" | "usageSource.livemode" | "usageSource.meterId" | "usageSource.model" | "usageSource.period" | "usageSource.period.end" | "usageSource.period.start" | "usageSource.stripeAccountId" | "usageSource.stripePriceId" | "usageSource.stripeProductId" | "usageSource.subscriptionId" | "usageSource.subscriptionItemId" | `policyContext.fields.${string}`>, {
3815
4052
  by_source_charge: ["sourceChargeId", "_creationTime"];
3816
4053
  }, {}, {}>;
3817
4054
  commissionTerms: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"payoutSyncTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutSyncTestHelpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAIvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,MAAM,MAAM,KAAK,GACf;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAClE,KAAK,IAAI,GAAG,CACV,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,cAAc,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,KAC3C,OAAO,CAAC,OAAO,CAAC,CAAC;AACtB,wBAAsB,SAAS,kBAU9B;AACD,wBAAsB,KAAK,CACzB,KAAK,GAAE,KAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAKxC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAAQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCzC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQtC"}
@@ -3,8 +3,13 @@ import type { FinancialOutcome } from "../financialOutcomes/contracts.js";
3
3
  import { type VerifiedPaymentSource, type VerifiedPaymentSourceOptions } from "./contracts.js";
4
4
  /** Read-only provenance. Current subscription items and application metadata never prove original price/funding. */
5
5
  export declare function resolveVerifiedPaymentSource(stripe: Stripe, input: VerifiedPaymentSourceOptions, eligibility?: {
6
- requirePayable: true;
6
+ requirePayable: boolean;
7
7
  customerId: string;
8
+ /** Internal native-line verifier; never exposed as browser input. */
9
+ verifyInvoiceLines?: (invoice: Stripe.Invoice, lines: Stripe.InvoiceLineItem[]) => {
10
+ stripePriceId: string;
11
+ stripeProductId: string;
12
+ } | null;
8
13
  invoiceLine?: {
9
14
  id: string;
10
15
  zeroAmountLineIds?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../src/client/paymentSource/resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EAClC,MAAM,gBAAgB,CAAC;AAqCxB,oHAAoH;AACpH,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,4BAA4B,EACnC,WAAW,CAAC,EAAE;IACZ,cAAc,EAAE,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE;QACZ,EAAE,EAAE,MAAM,CAAC;QACX,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;QAC7B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,MAAM,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;KACxC,CAAC;CACH,GACA,OAAO,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,CAgWlD"}
1
+ {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../src/client/paymentSource/resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EAClC,MAAM,gBAAgB,CAAC;AAqCxB,oHAAoH;AACpH,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,4BAA4B,EACnC,WAAW,CAAC,EAAE;IACZ,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,kBAAkB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