orb-billing 6.22.0 → 6.24.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.
- package/CHANGELOG.md +21 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/events/backfills.d.mts +11 -1
- package/resources/events/backfills.d.mts.map +1 -1
- package/resources/events/backfills.d.ts +11 -1
- package/resources/events/backfills.d.ts.map +1 -1
- package/resources/events/backfills.js +6 -1
- package/resources/events/backfills.js.map +1 -1
- package/resources/events/backfills.mjs +6 -1
- package/resources/events/backfills.mjs.map +1 -1
- package/resources/invoices.d.mts +27 -0
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +27 -0
- package/resources/invoices.d.ts.map +1 -1
- package/resources/shared.d.mts +18 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +18 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/webhooks.d.mts +9 -0
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +9 -0
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +0 -1
- package/src/resources/events/backfills.ts +14 -2
- package/src/resources/invoices.ts +30 -0
- package/src/resources/shared.ts +20 -0
- package/src/resources/webhooks.ts +10 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/shared.d.ts
CHANGED
|
@@ -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
|