orb-billing 6.23.0 → 6.25.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 (40) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +1 -1
  3. package/resources/dimensional-price-groups/dimensional-price-groups.d.mts +12 -0
  4. package/resources/dimensional-price-groups/dimensional-price-groups.d.mts.map +1 -1
  5. package/resources/dimensional-price-groups/dimensional-price-groups.d.ts +12 -0
  6. package/resources/dimensional-price-groups/dimensional-price-groups.d.ts.map +1 -1
  7. package/resources/dimensional-price-groups/dimensional-price-groups.js +3 -0
  8. package/resources/dimensional-price-groups/dimensional-price-groups.js.map +1 -1
  9. package/resources/dimensional-price-groups/dimensional-price-groups.mjs +3 -0
  10. package/resources/dimensional-price-groups/dimensional-price-groups.mjs.map +1 -1
  11. package/resources/events/backfills.d.mts +11 -1
  12. package/resources/events/backfills.d.mts.map +1 -1
  13. package/resources/events/backfills.d.ts +11 -1
  14. package/resources/events/backfills.d.ts.map +1 -1
  15. package/resources/events/backfills.js +6 -1
  16. package/resources/events/backfills.js.map +1 -1
  17. package/resources/events/backfills.mjs +6 -1
  18. package/resources/events/backfills.mjs.map +1 -1
  19. package/resources/invoices.d.mts +27 -0
  20. package/resources/invoices.d.mts.map +1 -1
  21. package/resources/invoices.d.ts +27 -0
  22. package/resources/invoices.d.ts.map +1 -1
  23. package/resources/shared.d.mts +18 -0
  24. package/resources/shared.d.mts.map +1 -1
  25. package/resources/shared.d.ts +18 -0
  26. package/resources/shared.d.ts.map +1 -1
  27. package/resources/webhooks.d.mts +9 -0
  28. package/resources/webhooks.d.mts.map +1 -1
  29. package/resources/webhooks.d.ts +9 -0
  30. package/resources/webhooks.d.ts.map +1 -1
  31. package/src/resources/dimensional-price-groups/dimensional-price-groups.ts +15 -1
  32. package/src/resources/events/backfills.ts +14 -2
  33. package/src/resources/invoices.ts +30 -0
  34. package/src/resources/shared.ts +20 -0
  35. package/src/resources/webhooks.ts +10 -0
  36. package/src/version.ts +1 -1
  37. package/version.d.mts +1 -1
  38. package/version.d.ts +1 -1
  39. package/version.js +1 -1
  40. package/version.mjs +1 -1
@@ -547,6 +547,15 @@ export declare namespace ChangedSubscriptionResources {
547
547
  * the most recent attempt.
548
548
  */
549
549
  payment_failed_at: string | null;
550
+ /**
551
+ * When payment for this invoice was received. For an invoice manually marked as
552
+ * paid, this is the `payment_received_date` that was supplied. For an invoice paid
553
+ * through a payment provider, this is the settlement time reported by that
554
+ * provider. It is `null` for an invoice that became `paid` without a payment, such
555
+ * as a $0 invoice or one fully covered by credit notes. By contrast, `paid_at` is
556
+ * when the invoice reached the `paid` status in Orb.
557
+ */
558
+ payment_received_at: string | null;
550
559
  /**
551
560
  * If payment was attempted on this invoice, this will be the start time of the
552
561
  * most recent attempt. This field is especially useful for delayed-notification
@@ -1551,6 +1560,15 @@ export interface Invoice {
1551
1560
  * the most recent attempt.
1552
1561
  */
1553
1562
  payment_failed_at: string | null;
1563
+ /**
1564
+ * When payment for this invoice was received. For an invoice manually marked as
1565
+ * paid, this is the `payment_received_date` that was supplied. For an invoice paid
1566
+ * through a payment provider, this is the settlement time reported by that
1567
+ * provider. It is `null` for an invoice that became `paid` without a payment, such
1568
+ * as a $0 invoice or one fully covered by credit notes. By contrast, `paid_at` is
1569
+ * when the invoice reached the `paid` status in Orb.
1570
+ */
1571
+ payment_received_at: string | null;
1554
1572
  /**
1555
1573
  * If payment was attempted on this invoice, this will be the start time of the
1556
1574
  * most recent attempt. This field is especially useful for delayed-notification