orb-billing 5.19.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/index.d.mts +0 -1
  3. package/index.d.ts +0 -1
  4. package/index.d.ts.map +1 -1
  5. package/index.js.map +1 -1
  6. package/index.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/resources/beta/beta.d.ts +12 -0
  9. package/resources/beta/beta.d.ts.map +1 -1
  10. package/resources/beta/beta.js.map +1 -1
  11. package/resources/beta/beta.mjs.map +1 -1
  12. package/resources/beta/external-plan-id.d.ts +12 -0
  13. package/resources/beta/external-plan-id.d.ts.map +1 -1
  14. package/resources/customers/credits/ledger.d.ts +17 -0
  15. package/resources/customers/credits/ledger.d.ts.map +1 -1
  16. package/resources/customers/credits/ledger.js.map +1 -1
  17. package/resources/customers/credits/ledger.mjs.map +1 -1
  18. package/resources/plans/plans.d.ts +6 -0
  19. package/resources/plans/plans.d.ts.map +1 -1
  20. package/resources/plans/plans.js.map +1 -1
  21. package/resources/plans/plans.mjs.map +1 -1
  22. package/resources/prices/prices.d.ts +18 -0
  23. package/resources/prices/prices.d.ts.map +1 -1
  24. package/resources/prices/prices.js.map +1 -1
  25. package/resources/prices/prices.mjs.map +1 -1
  26. package/resources/shared.d.ts +910 -70
  27. package/resources/shared.d.ts.map +1 -1
  28. package/resources/shared.js.map +1 -1
  29. package/resources/shared.mjs.map +1 -1
  30. package/resources/subscriptions.d.ts +30 -0
  31. package/resources/subscriptions.d.ts.map +1 -1
  32. package/resources/subscriptions.js.map +1 -1
  33. package/resources/subscriptions.mjs.map +1 -1
  34. package/src/index.ts +0 -1
  35. package/src/resources/beta/beta.ts +14 -0
  36. package/src/resources/beta/external-plan-id.ts +14 -0
  37. package/src/resources/customers/credits/ledger.ts +21 -0
  38. package/src/resources/plans/plans.ts +7 -0
  39. package/src/resources/prices/prices.ts +21 -0
  40. package/src/resources/shared.ts +1082 -76
  41. package/src/resources/subscriptions.ts +35 -0
  42. package/src/version.ts +1 -1
  43. package/version.d.ts +1 -1
  44. package/version.js +1 -1
  45. 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.19.0'; // x-release-please-version
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.19.0";
1
+ export declare const VERSION = "5.20.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.19.0'; // x-release-please-version
4
+ exports.VERSION = '5.20.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.19.0'; // x-release-please-version
1
+ export const VERSION = '5.20.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map