orb-billing 5.18.0 → 5.20.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 +16 -0
- package/index.d.mts +0 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/beta/beta.d.ts +12 -0
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/external-plan-id.d.ts +12 -0
- package/resources/beta/external-plan-id.d.ts.map +1 -1
- package/resources/customers/credits/ledger.d.ts +27 -0
- package/resources/customers/credits/ledger.d.ts.map +1 -1
- package/resources/customers/credits/ledger.js.map +1 -1
- package/resources/customers/credits/ledger.mjs.map +1 -1
- package/resources/plans/plans.d.ts +6 -0
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/plans/plans.js.map +1 -1
- package/resources/plans/plans.mjs.map +1 -1
- package/resources/prices/prices.d.ts +18 -0
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/prices/prices.js.map +1 -1
- package/resources/prices/prices.mjs.map +1 -1
- package/resources/shared.d.ts +910 -70
- 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 +30 -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/index.ts +0 -1
- package/src/resources/beta/beta.ts +14 -0
- package/src/resources/beta/external-plan-id.ts +14 -0
- package/src/resources/customers/credits/ledger.ts +33 -0
- package/src/resources/plans/plans.ts +7 -0
- package/src/resources/prices/prices.ts +21 -0
- package/src/resources/shared.ts +1082 -76
- package/src/resources/subscriptions.ts +35 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -5521,6 +5521,13 @@ export namespace SubscriptionCreateParams {
|
|
|
5521
5521
|
*/
|
|
5522
5522
|
unit_rating_key: string;
|
|
5523
5523
|
|
|
5524
|
+
/**
|
|
5525
|
+
* If provided, this amount will be used as the unit rate when an event does not
|
|
5526
|
+
* have a value for the `unit_rating_key`. If not provided, events missing a unit
|
|
5527
|
+
* rate will be ignored.
|
|
5528
|
+
*/
|
|
5529
|
+
default_unit_rate?: string | null;
|
|
5530
|
+
|
|
5524
5531
|
/**
|
|
5525
5532
|
* An optional key in the event data to group by (e.g., event ID). All events will
|
|
5526
5533
|
* also be grouped by their unit rate.
|
|
@@ -6281,6 +6288,13 @@ export namespace SubscriptionCreateParams {
|
|
|
6281
6288
|
*/
|
|
6282
6289
|
unit_rating_key: string;
|
|
6283
6290
|
|
|
6291
|
+
/**
|
|
6292
|
+
* If provided, this amount will be used as the unit rate when an event does not
|
|
6293
|
+
* have a value for the `unit_rating_key`. If not provided, events missing a unit
|
|
6294
|
+
* rate will be ignored.
|
|
6295
|
+
*/
|
|
6296
|
+
default_unit_rate?: string | null;
|
|
6297
|
+
|
|
6284
6298
|
/**
|
|
6285
6299
|
* An optional key in the event data to group by (e.g., event ID). All events will
|
|
6286
6300
|
* also be grouped by their unit rate.
|
|
@@ -7103,6 +7117,13 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
7103
7117
|
*/
|
|
7104
7118
|
unit_rating_key: string;
|
|
7105
7119
|
|
|
7120
|
+
/**
|
|
7121
|
+
* If provided, this amount will be used as the unit rate when an event does not
|
|
7122
|
+
* have a value for the `unit_rating_key`. If not provided, events missing a unit
|
|
7123
|
+
* rate will be ignored.
|
|
7124
|
+
*/
|
|
7125
|
+
default_unit_rate?: string | null;
|
|
7126
|
+
|
|
7106
7127
|
/**
|
|
7107
7128
|
* An optional key in the event data to group by (e.g., event ID). All events will
|
|
7108
7129
|
* also be grouped by their unit rate.
|
|
@@ -8175,6 +8196,13 @@ export namespace SubscriptionSchedulePlanChangeParams {
|
|
|
8175
8196
|
*/
|
|
8176
8197
|
unit_rating_key: string;
|
|
8177
8198
|
|
|
8199
|
+
/**
|
|
8200
|
+
* If provided, this amount will be used as the unit rate when an event does not
|
|
8201
|
+
* have a value for the `unit_rating_key`. If not provided, events missing a unit
|
|
8202
|
+
* rate will be ignored.
|
|
8203
|
+
*/
|
|
8204
|
+
default_unit_rate?: string | null;
|
|
8205
|
+
|
|
8178
8206
|
/**
|
|
8179
8207
|
* An optional key in the event data to group by (e.g., event ID). All events will
|
|
8180
8208
|
* also be grouped by their unit rate.
|
|
@@ -8935,6 +8963,13 @@ export namespace SubscriptionSchedulePlanChangeParams {
|
|
|
8935
8963
|
*/
|
|
8936
8964
|
unit_rating_key: string;
|
|
8937
8965
|
|
|
8966
|
+
/**
|
|
8967
|
+
* If provided, this amount will be used as the unit rate when an event does not
|
|
8968
|
+
* have a value for the `unit_rating_key`. If not provided, events missing a unit
|
|
8969
|
+
* rate will be ignored.
|
|
8970
|
+
*/
|
|
8971
|
+
default_unit_rate?: string | null;
|
|
8972
|
+
|
|
8938
8973
|
/**
|
|
8939
8974
|
* An optional key in the event data to group by (e.g., event ID). All events will
|
|
8940
8975
|
* also be grouped by their unit rate.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.20.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.20.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.20.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|