orb-billing 5.27.0 → 5.28.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 +8 -0
- package/package.json +1 -1
- package/resources/shared.d.ts +14 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/subscriptions.d.ts +12 -0
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/resources/shared.ts +17 -0
- package/src/resources/subscriptions.ts +14 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.28.0 (2025-11-05)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.27.0...v5.28.0](https://github.com/orbcorp/orb-node/compare/v5.27.0...v5.28.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([c6adfcd](https://github.com/orbcorp/orb-node/commit/c6adfcddb900c27adf353be1ef0cbd932cb68da3))
|
|
10
|
+
|
|
3
11
|
## 5.27.0 (2025-11-04)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.26.0...v5.27.0](https://github.com/orbcorp/orb-node/compare/v5.26.0...v5.27.0)
|
package/package.json
CHANGED
package/resources/shared.d.ts
CHANGED
|
@@ -11362,6 +11362,12 @@ export interface PriceInterval {
|
|
|
11362
11362
|
* The day of the month that Orb bills for this price
|
|
11363
11363
|
*/
|
|
11364
11364
|
billing_cycle_day: number;
|
|
11365
|
+
/**
|
|
11366
|
+
* For in-arrears prices. If true, and the price interval ends mid-cycle, the final
|
|
11367
|
+
* line item will be deferred to the next scheduled invoice instead of being billed
|
|
11368
|
+
* mid-cycle.
|
|
11369
|
+
*/
|
|
11370
|
+
can_defer_billing: boolean;
|
|
11365
11371
|
/**
|
|
11366
11372
|
* The end of the current billing period. This is an exclusive timestamp, such that
|
|
11367
11373
|
* the instant returned is exactly the end of the billing period. Set to null if
|
|
@@ -11492,6 +11498,10 @@ export interface TieredConfig {
|
|
|
11492
11498
|
* Tiers for rating based on total usage quantities into the specified tier
|
|
11493
11499
|
*/
|
|
11494
11500
|
tiers: Array<Tier>;
|
|
11501
|
+
/**
|
|
11502
|
+
* If true, subtotals from this price are prorated based on the service period
|
|
11503
|
+
*/
|
|
11504
|
+
prorated?: boolean;
|
|
11495
11505
|
}
|
|
11496
11506
|
export interface TieredConversionRateConfig {
|
|
11497
11507
|
conversion_rate_type: 'tiered';
|
|
@@ -11542,6 +11552,10 @@ export interface UnitConfig {
|
|
|
11542
11552
|
* Rate per unit of usage
|
|
11543
11553
|
*/
|
|
11544
11554
|
unit_amount: string;
|
|
11555
|
+
/**
|
|
11556
|
+
* If true, subtotals from this price are prorated based on the service period
|
|
11557
|
+
*/
|
|
11558
|
+
prorated?: boolean;
|
|
11545
11559
|
}
|
|
11546
11560
|
export interface UnitConversionRateConfig {
|
|
11547
11561
|
conversion_rate_type: 'unit';
|