@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
@@ -14,6 +14,19 @@ export declare const allocationFields: {
14
14
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
15
15
  usageSource: import("convex/values").VObject<{
16
16
  customerAccount: string;
17
+ invoiceLines?: {
18
+ amount: number;
19
+ kind: "fixed" | "metered";
20
+ lineId: string;
21
+ period: {
22
+ end: number;
23
+ start: number;
24
+ };
25
+ quantity: string;
26
+ stripePriceId: string;
27
+ stripeProductId: string;
28
+ subscriptionItemId: string;
29
+ }[] | undefined;
17
30
  invoicePaymentId: string;
18
31
  livemode: boolean;
19
32
  meterId: string;
@@ -28,6 +41,46 @@ export declare const allocationFields: {
28
41
  subscriptionId: string;
29
42
  subscriptionItemId: string;
30
43
  } | undefined, {
44
+ invoiceLines: import("convex/values").VArray<{
45
+ amount: number;
46
+ kind: "fixed" | "metered";
47
+ lineId: string;
48
+ period: {
49
+ end: number;
50
+ start: number;
51
+ };
52
+ quantity: string;
53
+ stripePriceId: string;
54
+ stripeProductId: string;
55
+ subscriptionItemId: string;
56
+ }[] | undefined, import("convex/values").VObject<{
57
+ amount: number;
58
+ kind: "fixed" | "metered";
59
+ lineId: string;
60
+ period: {
61
+ end: number;
62
+ start: number;
63
+ };
64
+ quantity: string;
65
+ stripePriceId: string;
66
+ stripeProductId: string;
67
+ subscriptionItemId: string;
68
+ }, {
69
+ lineId: import("convex/values").VString<string, "required">;
70
+ stripePriceId: import("convex/values").VString<string, "required">;
71
+ stripeProductId: import("convex/values").VString<string, "required">;
72
+ subscriptionItemId: import("convex/values").VString<string, "required">;
73
+ period: import("convex/values").VObject<{
74
+ end: number;
75
+ start: number;
76
+ }, {
77
+ start: import("convex/values").VFloat64<number, "required">;
78
+ end: import("convex/values").VFloat64<number, "required">;
79
+ }, "required", "end" | "start">;
80
+ amount: import("convex/values").VFloat64<number, "required">;
81
+ quantity: import("convex/values").VString<string, "required">;
82
+ kind: import("convex/values").VUnion<"fixed" | "metered", [import("convex/values").VLiteral<"fixed", "required">, import("convex/values").VLiteral<"metered", "required">], "required", never>;
83
+ }, "required", "amount" | "kind" | "lineId" | "period" | "period.end" | "period.start" | "quantity" | "stripePriceId" | "stripeProductId" | "subscriptionItemId">, "optional">;
31
84
  stripeAccountId: import("convex/values").VString<string, "required">;
32
85
  customerAccount: import("convex/values").VString<string, "required">;
33
86
  livemode: import("convex/values").VBoolean<boolean, "required">;
@@ -45,7 +98,7 @@ export declare const allocationFields: {
45
98
  end: import("convex/values").VFloat64<number, "required">;
46
99
  }, "required", "end" | "start">;
47
100
  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>;
48
- }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
101
+ }, "optional", "customerAccount" | "invoiceLines" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
49
102
  creditSource: import("convex/values").VObject<{
50
103
  creditGrantId: string;
51
104
  customerAccount: string;
@@ -114,6 +167,19 @@ export declare const allocationsTable: import("convex/server").TableDefinition<i
114
167
  }[];
115
168
  usageSource?: {
116
169
  customerAccount: string;
170
+ invoiceLines?: {
171
+ amount: number;
172
+ kind: "fixed" | "metered";
173
+ lineId: string;
174
+ period: {
175
+ end: number;
176
+ start: number;
177
+ };
178
+ quantity: string;
179
+ stripePriceId: string;
180
+ stripeProductId: string;
181
+ subscriptionItemId: string;
182
+ }[] | undefined;
117
183
  invoicePaymentId: string;
118
184
  livemode: boolean;
119
185
  meterId: string;
@@ -143,6 +209,19 @@ export declare const allocationsTable: import("convex/server").TableDefinition<i
143
209
  sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
144
210
  usageSource: import("convex/values").VObject<{
145
211
  customerAccount: string;
212
+ invoiceLines?: {
213
+ amount: number;
214
+ kind: "fixed" | "metered";
215
+ lineId: string;
216
+ period: {
217
+ end: number;
218
+ start: number;
219
+ };
220
+ quantity: string;
221
+ stripePriceId: string;
222
+ stripeProductId: string;
223
+ subscriptionItemId: string;
224
+ }[] | undefined;
146
225
  invoicePaymentId: string;
147
226
  livemode: boolean;
148
227
  meterId: string;
@@ -157,6 +236,46 @@ export declare const allocationsTable: import("convex/server").TableDefinition<i
157
236
  subscriptionId: string;
158
237
  subscriptionItemId: string;
159
238
  } | undefined, {
239
+ invoiceLines: import("convex/values").VArray<{
240
+ amount: number;
241
+ kind: "fixed" | "metered";
242
+ lineId: string;
243
+ period: {
244
+ end: number;
245
+ start: number;
246
+ };
247
+ quantity: string;
248
+ stripePriceId: string;
249
+ stripeProductId: string;
250
+ subscriptionItemId: string;
251
+ }[] | undefined, import("convex/values").VObject<{
252
+ amount: number;
253
+ kind: "fixed" | "metered";
254
+ lineId: string;
255
+ period: {
256
+ end: number;
257
+ start: number;
258
+ };
259
+ quantity: string;
260
+ stripePriceId: string;
261
+ stripeProductId: string;
262
+ subscriptionItemId: string;
263
+ }, {
264
+ lineId: import("convex/values").VString<string, "required">;
265
+ stripePriceId: import("convex/values").VString<string, "required">;
266
+ stripeProductId: import("convex/values").VString<string, "required">;
267
+ subscriptionItemId: import("convex/values").VString<string, "required">;
268
+ period: import("convex/values").VObject<{
269
+ end: number;
270
+ start: number;
271
+ }, {
272
+ start: import("convex/values").VFloat64<number, "required">;
273
+ end: import("convex/values").VFloat64<number, "required">;
274
+ }, "required", "end" | "start">;
275
+ amount: import("convex/values").VFloat64<number, "required">;
276
+ quantity: import("convex/values").VString<string, "required">;
277
+ kind: import("convex/values").VUnion<"fixed" | "metered", [import("convex/values").VLiteral<"fixed", "required">, import("convex/values").VLiteral<"metered", "required">], "required", never>;
278
+ }, "required", "amount" | "kind" | "lineId" | "period" | "period.end" | "period.start" | "quantity" | "stripePriceId" | "stripeProductId" | "subscriptionItemId">, "optional">;
160
279
  stripeAccountId: import("convex/values").VString<string, "required">;
161
280
  customerAccount: import("convex/values").VString<string, "required">;
162
281
  livemode: import("convex/values").VBoolean<boolean, "required">;
@@ -174,7 +293,7 @@ export declare const allocationsTable: import("convex/server").TableDefinition<i
174
293
  end: import("convex/values").VFloat64<number, "required">;
175
294
  }, "required", "end" | "start">;
176
295
  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>;
177
- }, "optional", "customerAccount" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
296
+ }, "optional", "customerAccount" | "invoiceLines" | "invoicePaymentId" | "livemode" | "meterId" | "model" | "period" | "period.end" | "period.start" | "stripeAccountId" | "stripePriceId" | "stripeProductId" | "subscriptionId" | "subscriptionItemId">;
178
297
  creditSource: import("convex/values").VObject<{
179
298
  creditGrantId: string;
180
299
  customerAccount: string;
@@ -211,7 +330,7 @@ export declare const allocationsTable: import("convex/server").TableDefinition<i
211
330
  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>;
212
331
  amount: import("convex/values").VFloat64<number, "required">;
213
332
  }, "required", "amount" | "destinationAccountId" | "role">, "required">;
214
- }, "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}`>, {
333
+ }, "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}`>, {
215
334
  by_source_charge: ["sourceChargeId", "_creationTime"];
216
335
  }, {}, {}>;
217
336
  export declare const commissionFields: {
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/component/settlement/schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,gMAGzB,CAAC;AACF,eAAO,MAAM,gBAAgB;IAC3B,aAAa;;;;;;;;;IAOb,cAAc;IACd,eAAe;IACf,eAAe;IACf,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAeX,YAAY;;;;;;;;;;;;;;;;;IAWZ,KAAK;IACL,QAAQ;IACR,aAAa;IACb,WAAW;IACX,gBAAgB;IAChB,S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AkB;CACnB,CAAC;AACF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;UAGhC,CAAC;AACF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;UAK+B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { usageInvoiceLineProof } from "../../shared/usageInvoiceLines.js";
1
2
  import { defineTable } from "convex/server";
2
3
  import { v } from "convex/values";
3
4
  import { splitRecipientRoleValidator } from "../lib/fees.js";
@@ -12,6 +13,7 @@ export const allocationFields = {
12
13
  paymentIntentId: v.optional(v.string()),
13
14
  sourceInvoiceId: v.optional(v.string()),
14
15
  usageSource: v.optional(v.object({
16
+ invoiceLines: v.optional(v.array(usageInvoiceLineProof)),
15
17
  stripeAccountId: v.string(),
16
18
  customerAccount: v.string(),
17
19
  livemode: v.boolean(),
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/component/settlement/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAC7D,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAClC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EACpB,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CACtB,CAAC;AACF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,aAAa,EAAE,CAAC,CAAC,QAAQ,CACvB,CAAC,CAAC,MAAM,CAAC;QACP,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACrB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;KACzC,CAAC,CACH;IACD,cAAc,EAAE,CAAC,CAAC,MAA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