orb-billing 4.74.0 → 5.0.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 (137) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/index.d.mts +148 -14
  3. package/index.d.ts +148 -14
  4. package/index.d.ts.map +1 -1
  5. package/index.js +0 -3
  6. package/index.js.map +1 -1
  7. package/index.mjs +3 -6
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/alerts.d.ts +20 -88
  11. package/resources/alerts.d.ts.map +1 -1
  12. package/resources/alerts.js.map +1 -1
  13. package/resources/alerts.mjs.map +1 -1
  14. package/resources/beta/beta.d.ts +9 -7313
  15. package/resources/beta/beta.d.ts.map +1 -1
  16. package/resources/beta/beta.js.map +1 -1
  17. package/resources/beta/beta.mjs.map +1 -1
  18. package/resources/beta/external-plan-id.d.ts +7 -7074
  19. package/resources/beta/external-plan-id.d.ts.map +1 -1
  20. package/resources/beta/external-plan-id.js.map +1 -1
  21. package/resources/beta/external-plan-id.mjs.map +1 -1
  22. package/resources/credit-notes.d.ts +9 -163
  23. package/resources/credit-notes.d.ts.map +1 -1
  24. package/resources/credit-notes.js +3 -6
  25. package/resources/credit-notes.js.map +1 -1
  26. package/resources/credit-notes.mjs +2 -4
  27. package/resources/credit-notes.mjs.map +1 -1
  28. package/resources/customers/balance-transactions.d.ts +5 -32
  29. package/resources/customers/balance-transactions.d.ts.map +1 -1
  30. package/resources/customers/balance-transactions.js.map +1 -1
  31. package/resources/customers/balance-transactions.mjs.map +1 -1
  32. package/resources/customers/costs.d.ts +3 -81
  33. package/resources/customers/costs.d.ts.map +1 -1
  34. package/resources/customers/credits/credits.d.ts +4 -4
  35. package/resources/customers/credits/credits.d.ts.map +1 -1
  36. package/resources/customers/credits/credits.js.map +1 -1
  37. package/resources/customers/credits/credits.mjs.map +1 -1
  38. package/resources/customers/credits/index.d.ts +2 -2
  39. package/resources/customers/credits/index.d.ts.map +1 -1
  40. package/resources/customers/credits/index.js.map +1 -1
  41. package/resources/customers/credits/index.mjs.map +1 -1
  42. package/resources/customers/credits/ledger.d.ts +171 -962
  43. package/resources/customers/credits/ledger.d.ts.map +1 -1
  44. package/resources/customers/credits/ledger.js.map +1 -1
  45. package/resources/customers/credits/ledger.mjs.map +1 -1
  46. package/resources/customers/credits/top-ups.d.ts +29 -121
  47. package/resources/customers/credits/top-ups.d.ts.map +1 -1
  48. package/resources/customers/credits/top-ups.js.map +1 -1
  49. package/resources/customers/credits/top-ups.mjs.map +1 -1
  50. package/resources/customers/customers.d.ts +72 -678
  51. package/resources/customers/customers.d.ts.map +1 -1
  52. package/resources/customers/customers.js.map +1 -1
  53. package/resources/customers/customers.mjs.map +1 -1
  54. package/resources/customers/index.d.ts +1 -1
  55. package/resources/customers/index.d.ts.map +1 -1
  56. package/resources/customers/index.js.map +1 -1
  57. package/resources/customers/index.mjs.map +1 -1
  58. package/resources/index.d.ts +7 -7
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +1 -4
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +3 -3
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/invoice-line-items.d.ts +6 -395
  65. package/resources/invoice-line-items.d.ts.map +1 -1
  66. package/resources/invoice-line-items.js.map +1 -1
  67. package/resources/invoice-line-items.mjs.map +1 -1
  68. package/resources/invoices.d.ts +30 -1700
  69. package/resources/invoices.d.ts.map +1 -1
  70. package/resources/invoices.js +3 -6
  71. package/resources/invoices.js.map +1 -1
  72. package/resources/invoices.mjs +2 -4
  73. package/resources/invoices.mjs.map +1 -1
  74. package/resources/plans/plans.d.ts +7 -3801
  75. package/resources/plans/plans.d.ts.map +1 -1
  76. package/resources/plans/plans.js.map +1 -1
  77. package/resources/plans/plans.mjs.map +1 -1
  78. package/resources/prices/external-price-id.d.ts +3 -3
  79. package/resources/prices/external-price-id.d.ts.map +1 -1
  80. package/resources/prices/index.d.ts +1 -1
  81. package/resources/prices/index.d.ts.map +1 -1
  82. package/resources/prices/index.js +1 -2
  83. package/resources/prices/index.js.map +1 -1
  84. package/resources/prices/index.mjs +1 -1
  85. package/resources/prices/index.mjs.map +1 -1
  86. package/resources/prices/prices.d.ts +346 -9372
  87. package/resources/prices/prices.d.ts.map +1 -1
  88. package/resources/prices/prices.js +39 -20
  89. package/resources/prices/prices.js.map +1 -1
  90. package/resources/prices/prices.mjs +38 -18
  91. package/resources/prices/prices.mjs.map +1 -1
  92. package/resources/shared.d.ts +7269 -9
  93. package/resources/shared.d.ts.map +1 -1
  94. package/resources/shared.js +11 -0
  95. package/resources/shared.js.map +1 -1
  96. package/resources/shared.mjs +7 -1
  97. package/resources/shared.mjs.map +1 -1
  98. package/resources/subscription-changes.d.ts +138 -2158
  99. package/resources/subscription-changes.d.ts.map +1 -1
  100. package/resources/subscription-changes.js.map +1 -1
  101. package/resources/subscription-changes.mjs.map +1 -1
  102. package/resources/subscriptions.d.ts +2639 -27234
  103. package/resources/subscriptions.d.ts.map +1 -1
  104. package/resources/subscriptions.js +1 -1
  105. package/resources/subscriptions.js.map +1 -1
  106. package/resources/subscriptions.mjs +1 -1
  107. package/resources/subscriptions.mjs.map +1 -1
  108. package/src/index.ts +219 -42
  109. package/src/resources/alerts.ts +20 -94
  110. package/src/resources/beta/beta.ts +124 -8892
  111. package/src/resources/beta/external-plan-id.ts +118 -8593
  112. package/src/resources/credit-notes.ts +10 -217
  113. package/src/resources/customers/balance-transactions.ts +5 -36
  114. package/src/resources/customers/costs.ts +3 -101
  115. package/src/resources/customers/credits/credits.ts +18 -0
  116. package/src/resources/customers/credits/index.ts +9 -0
  117. package/src/resources/customers/credits/ledger.ts +212 -1435
  118. package/src/resources/customers/credits/top-ups.ts +33 -136
  119. package/src/resources/customers/customers.ts +162 -1454
  120. package/src/resources/customers/index.ts +8 -0
  121. package/src/resources/index.ts +42 -22
  122. package/src/resources/invoice-line-items.ts +10 -501
  123. package/src/resources/invoices.ts +60 -2394
  124. package/src/resources/plans/plans.ts +38 -4588
  125. package/src/resources/prices/external-price-id.ts +3 -3
  126. package/src/resources/prices/index.ts +2 -2
  127. package/src/resources/prices/prices.ts +500 -11810
  128. package/src/resources/shared.ts +9582 -22
  129. package/src/resources/subscription-changes.ts +171 -2670
  130. package/src/resources/subscriptions.ts +3162 -32900
  131. package/src/version.ts +1 -1
  132. package/version.d.ts +1 -1
  133. package/version.d.ts.map +1 -1
  134. package/version.js +1 -1
  135. package/version.js.map +1 -1
  136. package/version.mjs +1 -1
  137. package/version.mjs.map +1 -1
@@ -676,7 +676,7 @@ class Subscriptions extends resource_1.APIResource {
676
676
  }
677
677
  /**
678
678
  * This endpoint can be used to unschedule any pending plan changes on an existing
679
- * subscription.
679
+ * subscription. When called, all upcoming plan changes will be unscheduled.
680
680
  */
681
681
  unschedulePendingPlanChanges(subscriptionId, options) {
682
682
  return this._client.post(`/subscriptions/${subscriptionId}/unschedule_pending_plan_changes`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAQ3C,iDAAsD;AAEtD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiQG;IACH,MAAM,CACJ,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAA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,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,cAAc,4BAA4B,EAAE;YACrF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CACT,cAAsB,EACtB,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,cAAc,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;CACF;AA/hCD,sCA+hCC;AAED,MAAa,iBAAkB,SAAQ,iBAAkB;CAAG;AAA5D,8CAA4D;AAE5D,MAAa,sCAAuC,SAAQ,iBAAuC;CAAG;AAAtG,wFAAsG;AAkuItG,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AACpD,aAAa,CAAC,sCAAsC,GAAG,sCAAsC,CAAC"}
@@ -673,7 +673,7 @@ export class Subscriptions extends APIResource {
673
673
  }
674
674
  /**
675
675
  * This endpoint can be used to unschedule any pending plan changes on an existing
676
- * subscription.
676
+ * subscription. When called, all upcoming plan changes will be unscheduled.
677
677
  */
678
678
  unschedulePendingPlanChanges(subscriptionId, options) {
679
679
  return this._client.post(`/subscriptions/${subscriptionId}/unschedule_pending_plan_changes`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.mjs","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAQpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC;IAED;;;OAGG;IACH,4BAA4B,CAC1B,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,cAAc,kCAAkC,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,sBAAsB,CACpB,cAAsB,EACtB,IAA8C,EAC9C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,cAAc,4BAA4B,EAAE;YACrF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CACT,cAAsB,EACtB,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,cAAc,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;CACF;AAED,MAAM,OAAO,iBAAkB,SAAQ,IAAkB;CAAG;AAE5D,MAAM,OAAO,sCAAuC,SAAQ,IAAuC;CAAG;AAkuItG,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AACpD,aAAa,CAAC,sCAAsC,GAAG,sCAAsC,CAAC"}
package/src/index.ts CHANGED
@@ -19,21 +19,15 @@ import {
19
19
  AlertUpdateParams,
20
20
  Alerts,
21
21
  AlertsPage,
22
+ Threshold,
22
23
  } from './resources/alerts';
23
- import {
24
- CreditNote,
25
- CreditNoteCreateParams,
26
- CreditNoteListParams,
27
- CreditNotes,
28
- CreditNotesPage,
29
- } from './resources/credit-notes';
24
+ import { CreditNoteCreateParams, CreditNoteListParams, CreditNotes } from './resources/credit-notes';
30
25
  import {
31
26
  InvoiceLineItemCreateParams,
32
27
  InvoiceLineItemCreateResponse,
33
28
  InvoiceLineItems,
34
29
  } from './resources/invoice-line-items';
35
30
  import {
36
- Invoice,
37
31
  InvoiceCreateParams,
38
32
  InvoiceFetchUpcomingParams,
39
33
  InvoiceFetchUpcomingResponse,
@@ -42,7 +36,6 @@ import {
42
36
  InvoiceMarkPaidParams,
43
37
  InvoiceUpdateParams,
44
38
  Invoices,
45
- InvoicesPage,
46
39
  } from './resources/invoices';
47
40
  import {
48
41
  Item,
@@ -61,6 +54,7 @@ import {
61
54
  Metrics,
62
55
  } from './resources/metrics';
63
56
  import {
57
+ MutatedSubscription,
64
58
  SubscriptionChangeApplyParams,
65
59
  SubscriptionChangeApplyResponse,
66
60
  SubscriptionChangeCancelResponse,
@@ -68,11 +62,38 @@ import {
68
62
  SubscriptionChanges,
69
63
  } from './resources/subscription-changes';
70
64
  import {
65
+ DiscountOverride,
66
+ NewSubscriptionBPSPrice,
67
+ NewSubscriptionBulkBPSPrice,
68
+ NewSubscriptionBulkPrice,
69
+ NewSubscriptionBulkWithProrationPrice,
70
+ NewSubscriptionCumulativeGroupedBulkPrice,
71
+ NewSubscriptionGroupedAllocationPrice,
72
+ NewSubscriptionGroupedTieredPackagePrice,
73
+ NewSubscriptionGroupedTieredPrice,
74
+ NewSubscriptionGroupedWithMeteredMinimumPrice,
75
+ NewSubscriptionGroupedWithProratedMinimumPrice,
76
+ NewSubscriptionMatrixPrice,
77
+ NewSubscriptionMatrixWithAllocationPrice,
78
+ NewSubscriptionMatrixWithDisplayNamePrice,
79
+ NewSubscriptionMaxGroupTieredPackagePrice,
80
+ NewSubscriptionPackagePrice,
81
+ NewSubscriptionPackageWithAllocationPrice,
82
+ NewSubscriptionScalableMatrixWithTieredPricingPrice,
83
+ NewSubscriptionScalableMatrixWithUnitPricingPrice,
84
+ NewSubscriptionThresholdTotalAmountPrice,
85
+ NewSubscriptionTierWithProrationPrice,
86
+ NewSubscriptionTieredBPSPrice,
87
+ NewSubscriptionTieredPackagePrice,
88
+ NewSubscriptionTieredPackageWithMinimumPrice,
89
+ NewSubscriptionTieredPrice,
90
+ NewSubscriptionTieredWithMinimumPrice,
91
+ NewSubscriptionUnitPrice,
92
+ NewSubscriptionUnitWithPercentPrice,
93
+ NewSubscriptionUnitWithProrationPrice,
71
94
  Subscription,
72
95
  SubscriptionCancelParams,
73
- SubscriptionCancelResponse,
74
96
  SubscriptionCreateParams,
75
- SubscriptionCreateResponse,
76
97
  SubscriptionFetchCostsParams,
77
98
  SubscriptionFetchCostsResponse,
78
99
  SubscriptionFetchScheduleParams,
@@ -81,22 +102,13 @@ import {
81
102
  SubscriptionFetchUsageParams,
82
103
  SubscriptionListParams,
83
104
  SubscriptionPriceIntervalsParams,
84
- SubscriptionPriceIntervalsResponse,
85
105
  SubscriptionRedeemCouponParams,
86
- SubscriptionRedeemCouponResponse,
87
106
  SubscriptionSchedulePlanChangeParams,
88
- SubscriptionSchedulePlanChangeResponse,
89
107
  SubscriptionTriggerPhaseParams,
90
- SubscriptionTriggerPhaseResponse,
91
- SubscriptionUnscheduleCancellationResponse,
92
108
  SubscriptionUnscheduleFixedFeeQuantityUpdatesParams,
93
- SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse,
94
- SubscriptionUnschedulePendingPlanChangesResponse,
95
109
  SubscriptionUpdateFixedFeeQuantityParams,
96
- SubscriptionUpdateFixedFeeQuantityResponse,
97
110
  SubscriptionUpdateParams,
98
111
  SubscriptionUpdateTrialParams,
99
- SubscriptionUpdateTrialResponse,
100
112
  SubscriptionUsage,
101
113
  Subscriptions,
102
114
  SubscriptionsPage,
@@ -117,13 +129,21 @@ import {
117
129
  CouponsPage,
118
130
  } from './resources/coupons/coupons';
119
131
  import {
132
+ AccountingProviderConfig,
133
+ AddressInput,
120
134
  Customer,
121
135
  CustomerCreateParams,
136
+ CustomerHierarchyConfig,
122
137
  CustomerListParams,
123
138
  CustomerUpdateByExternalIDParams,
124
139
  CustomerUpdateParams,
125
140
  Customers,
126
141
  CustomersPage,
142
+ NewAccountingSyncConfiguration,
143
+ NewAvalaraTaxConfiguration,
144
+ NewReportingConfiguration,
145
+ NewSphereConfiguration,
146
+ NewTaxJarConfiguration,
127
147
  } from './resources/customers/customers';
128
148
  import {
129
149
  DimensionalPriceGroup,
@@ -152,16 +172,16 @@ import {
152
172
  } from './resources/plans/plans';
153
173
  import {
154
174
  EvaluatePriceGroup,
155
- Price,
156
175
  PriceCreateParams,
157
176
  PriceEvaluateMultipleParams,
158
177
  PriceEvaluateMultipleResponse,
159
178
  PriceEvaluateParams,
179
+ PriceEvaluatePreviewEventsParams,
180
+ PriceEvaluatePreviewEventsResponse,
160
181
  PriceEvaluateResponse,
161
182
  PriceListParams,
162
183
  PriceUpdateParams,
163
184
  Prices,
164
- PricesPage,
165
185
  } from './resources/prices/prices';
166
186
 
167
187
  export interface ClientOptions {
@@ -363,13 +383,11 @@ Orb.Beta = Beta;
363
383
  Orb.Coupons = Coupons;
364
384
  Orb.CouponsPage = CouponsPage;
365
385
  Orb.CreditNotes = CreditNotes;
366
- Orb.CreditNotesPage = CreditNotesPage;
367
386
  Orb.Customers = Customers;
368
387
  Orb.CustomersPage = CustomersPage;
369
388
  Orb.Events = Events;
370
389
  Orb.InvoiceLineItems = InvoiceLineItems;
371
390
  Orb.Invoices = Invoices;
372
- Orb.InvoicesPage = InvoicesPage;
373
391
  Orb.Items = Items;
374
392
  Orb.ItemsPage = ItemsPage;
375
393
  Orb.Metrics = Metrics;
@@ -377,7 +395,6 @@ Orb.BillableMetricsPage = BillableMetricsPage;
377
395
  Orb.Plans = Plans;
378
396
  Orb.PlansPage = PlansPage;
379
397
  Orb.Prices = Prices;
380
- Orb.PricesPage = PricesPage;
381
398
  Orb.SubscriptionsPage = SubscriptionsPage;
382
399
  Orb.SubscriptionFetchScheduleResponsesPage = SubscriptionFetchScheduleResponsesPage;
383
400
  Orb.Alerts = Alerts;
@@ -410,15 +427,21 @@ export declare namespace Orb {
410
427
 
411
428
  export {
412
429
  CreditNotes as CreditNotes,
413
- type CreditNote as CreditNote,
414
- CreditNotesPage as CreditNotesPage,
415
430
  type CreditNoteCreateParams as CreditNoteCreateParams,
416
431
  type CreditNoteListParams as CreditNoteListParams,
417
432
  };
418
433
 
419
434
  export {
420
435
  Customers as Customers,
436
+ type AccountingProviderConfig as AccountingProviderConfig,
437
+ type AddressInput as AddressInput,
421
438
  type Customer as Customer,
439
+ type CustomerHierarchyConfig as CustomerHierarchyConfig,
440
+ type NewAccountingSyncConfiguration as NewAccountingSyncConfiguration,
441
+ type NewAvalaraTaxConfiguration as NewAvalaraTaxConfiguration,
442
+ type NewReportingConfiguration as NewReportingConfiguration,
443
+ type NewSphereConfiguration as NewSphereConfiguration,
444
+ type NewTaxJarConfiguration as NewTaxJarConfiguration,
422
445
  CustomersPage as CustomersPage,
423
446
  type CustomerCreateParams as CustomerCreateParams,
424
447
  type CustomerUpdateParams as CustomerUpdateParams,
@@ -445,9 +468,7 @@ export declare namespace Orb {
445
468
 
446
469
  export {
447
470
  Invoices as Invoices,
448
- type Invoice as Invoice,
449
471
  type InvoiceFetchUpcomingResponse as InvoiceFetchUpcomingResponse,
450
- InvoicesPage as InvoicesPage,
451
472
  type InvoiceCreateParams as InvoiceCreateParams,
452
473
  type InvoiceUpdateParams as InvoiceUpdateParams,
453
474
  type InvoiceListParams as InvoiceListParams,
@@ -486,34 +507,52 @@ export declare namespace Orb {
486
507
  export {
487
508
  Prices as Prices,
488
509
  type EvaluatePriceGroup as EvaluatePriceGroup,
489
- type Price as Price,
490
510
  type PriceEvaluateResponse as PriceEvaluateResponse,
491
511
  type PriceEvaluateMultipleResponse as PriceEvaluateMultipleResponse,
492
- PricesPage as PricesPage,
512
+ type PriceEvaluatePreviewEventsResponse as PriceEvaluatePreviewEventsResponse,
493
513
  type PriceCreateParams as PriceCreateParams,
494
514
  type PriceUpdateParams as PriceUpdateParams,
495
515
  type PriceListParams as PriceListParams,
496
516
  type PriceEvaluateParams as PriceEvaluateParams,
497
517
  type PriceEvaluateMultipleParams as PriceEvaluateMultipleParams,
518
+ type PriceEvaluatePreviewEventsParams as PriceEvaluatePreviewEventsParams,
498
519
  };
499
520
 
500
521
  export {
501
522
  type Subscriptions as Subscriptions,
523
+ type DiscountOverride as DiscountOverride,
524
+ type NewSubscriptionBPSPrice as NewSubscriptionBPSPrice,
525
+ type NewSubscriptionBulkBPSPrice as NewSubscriptionBulkBPSPrice,
526
+ type NewSubscriptionBulkPrice as NewSubscriptionBulkPrice,
527
+ type NewSubscriptionBulkWithProrationPrice as NewSubscriptionBulkWithProrationPrice,
528
+ type NewSubscriptionCumulativeGroupedBulkPrice as NewSubscriptionCumulativeGroupedBulkPrice,
529
+ type NewSubscriptionGroupedAllocationPrice as NewSubscriptionGroupedAllocationPrice,
530
+ type NewSubscriptionGroupedTieredPackagePrice as NewSubscriptionGroupedTieredPackagePrice,
531
+ type NewSubscriptionGroupedTieredPrice as NewSubscriptionGroupedTieredPrice,
532
+ type NewSubscriptionGroupedWithMeteredMinimumPrice as NewSubscriptionGroupedWithMeteredMinimumPrice,
533
+ type NewSubscriptionGroupedWithProratedMinimumPrice as NewSubscriptionGroupedWithProratedMinimumPrice,
534
+ type NewSubscriptionMatrixPrice as NewSubscriptionMatrixPrice,
535
+ type NewSubscriptionMatrixWithAllocationPrice as NewSubscriptionMatrixWithAllocationPrice,
536
+ type NewSubscriptionMatrixWithDisplayNamePrice as NewSubscriptionMatrixWithDisplayNamePrice,
537
+ type NewSubscriptionMaxGroupTieredPackagePrice as NewSubscriptionMaxGroupTieredPackagePrice,
538
+ type NewSubscriptionPackagePrice as NewSubscriptionPackagePrice,
539
+ type NewSubscriptionPackageWithAllocationPrice as NewSubscriptionPackageWithAllocationPrice,
540
+ type NewSubscriptionScalableMatrixWithTieredPricingPrice as NewSubscriptionScalableMatrixWithTieredPricingPrice,
541
+ type NewSubscriptionScalableMatrixWithUnitPricingPrice as NewSubscriptionScalableMatrixWithUnitPricingPrice,
542
+ type NewSubscriptionThresholdTotalAmountPrice as NewSubscriptionThresholdTotalAmountPrice,
543
+ type NewSubscriptionTierWithProrationPrice as NewSubscriptionTierWithProrationPrice,
544
+ type NewSubscriptionTieredBPSPrice as NewSubscriptionTieredBPSPrice,
545
+ type NewSubscriptionTieredPackagePrice as NewSubscriptionTieredPackagePrice,
546
+ type NewSubscriptionTieredPackageWithMinimumPrice as NewSubscriptionTieredPackageWithMinimumPrice,
547
+ type NewSubscriptionTieredPrice as NewSubscriptionTieredPrice,
548
+ type NewSubscriptionTieredWithMinimumPrice as NewSubscriptionTieredWithMinimumPrice,
549
+ type NewSubscriptionUnitPrice as NewSubscriptionUnitPrice,
550
+ type NewSubscriptionUnitWithPercentPrice as NewSubscriptionUnitWithPercentPrice,
551
+ type NewSubscriptionUnitWithProrationPrice as NewSubscriptionUnitWithProrationPrice,
502
552
  type Subscription as Subscription,
503
553
  type SubscriptionUsage as SubscriptionUsage,
504
- type SubscriptionCreateResponse as SubscriptionCreateResponse,
505
- type SubscriptionCancelResponse as SubscriptionCancelResponse,
506
554
  type SubscriptionFetchCostsResponse as SubscriptionFetchCostsResponse,
507
555
  type SubscriptionFetchScheduleResponse as SubscriptionFetchScheduleResponse,
508
- type SubscriptionPriceIntervalsResponse as SubscriptionPriceIntervalsResponse,
509
- type SubscriptionRedeemCouponResponse as SubscriptionRedeemCouponResponse,
510
- type SubscriptionSchedulePlanChangeResponse as SubscriptionSchedulePlanChangeResponse,
511
- type SubscriptionTriggerPhaseResponse as SubscriptionTriggerPhaseResponse,
512
- type SubscriptionUnscheduleCancellationResponse as SubscriptionUnscheduleCancellationResponse,
513
- type SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse as SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse,
514
- type SubscriptionUnschedulePendingPlanChangesResponse as SubscriptionUnschedulePendingPlanChangesResponse,
515
- type SubscriptionUpdateFixedFeeQuantityResponse as SubscriptionUpdateFixedFeeQuantityResponse,
516
- type SubscriptionUpdateTrialResponse as SubscriptionUpdateTrialResponse,
517
556
  SubscriptionsPage as SubscriptionsPage,
518
557
  SubscriptionFetchScheduleResponsesPage as SubscriptionFetchScheduleResponsesPage,
519
558
  type SubscriptionCreateParams as SubscriptionCreateParams,
@@ -535,6 +574,7 @@ export declare namespace Orb {
535
574
  export {
536
575
  Alerts as Alerts,
537
576
  type Alert as Alert,
577
+ type Threshold as Threshold,
538
578
  AlertsPage as AlertsPage,
539
579
  type AlertUpdateParams as AlertUpdateParams,
540
580
  type AlertListParams as AlertListParams,
@@ -555,20 +595,157 @@ export declare namespace Orb {
555
595
 
556
596
  export {
557
597
  SubscriptionChanges as SubscriptionChanges,
598
+ type MutatedSubscription as MutatedSubscription,
558
599
  type SubscriptionChangeRetrieveResponse as SubscriptionChangeRetrieveResponse,
559
600
  type SubscriptionChangeApplyResponse as SubscriptionChangeApplyResponse,
560
601
  type SubscriptionChangeCancelResponse as SubscriptionChangeCancelResponse,
561
602
  type SubscriptionChangeApplyParams as SubscriptionChangeApplyParams,
562
603
  };
563
604
 
605
+ export type Address = API.Address;
606
+ export type AdjustmentInterval = API.AdjustmentInterval;
607
+ export type AggregatedCost = API.AggregatedCost;
608
+ export type Allocation = API.Allocation;
564
609
  export type AmountDiscount = API.AmountDiscount;
610
+ export type AmountDiscountInterval = API.AmountDiscountInterval;
611
+ export type BillableMetricTiny = API.BillableMetricTiny;
612
+ export type BillingCycleAnchorConfiguration = API.BillingCycleAnchorConfiguration;
613
+ export type BillingCycleConfiguration = API.BillingCycleConfiguration;
565
614
  export type BillingCycleRelativeDate = API.BillingCycleRelativeDate;
615
+ export type BPSConfig = API.BPSConfig;
616
+ export type BPSTier = API.BPSTier;
617
+ export type BulkBPSConfig = API.BulkBPSConfig;
618
+ export type BulkBPSTier = API.BulkBPSTier;
619
+ export type BulkConfig = API.BulkConfig;
620
+ export type BulkTier = API.BulkTier;
621
+ export type ChangedSubscriptionResources = API.ChangedSubscriptionResources;
622
+ export type ConversionRateTier = API.ConversionRateTier;
623
+ export type ConversionRateTieredConfig = API.ConversionRateTieredConfig;
624
+ export type ConversionRateUnitConfig = API.ConversionRateUnitConfig;
625
+ export type CouponRedemption = API.CouponRedemption;
626
+ export type CreditNote = API.CreditNote;
627
+ export type CreditNoteTiny = API.CreditNoteTiny;
628
+ export type CustomExpiration = API.CustomExpiration;
629
+ export type CustomerMinified = API.CustomerMinified;
630
+ export type CustomerTaxID = API.CustomerTaxID;
631
+ export type DimensionalPriceConfiguration = API.DimensionalPriceConfiguration;
566
632
  export type Discount = API.Discount;
633
+ export type FixedFeeQuantityScheduleEntry = API.FixedFeeQuantityScheduleEntry;
634
+ export type FixedFeeQuantityTransition = API.FixedFeeQuantityTransition;
635
+ export type Invoice = API.Invoice;
567
636
  export type InvoiceLevelDiscount = API.InvoiceLevelDiscount;
637
+ export type InvoiceTiny = API.InvoiceTiny;
638
+ export type ItemSlim = API.ItemSlim;
639
+ export type MatrixConfig = API.MatrixConfig;
640
+ export type MatrixSubLineItem = API.MatrixSubLineItem;
641
+ export type MatrixValue = API.MatrixValue;
642
+ export type MatrixWithAllocationConfig = API.MatrixWithAllocationConfig;
643
+ export type Maximum = API.Maximum;
644
+ export type MaximumInterval = API.MaximumInterval;
645
+ export type Minimum = API.Minimum;
646
+ export type MinimumInterval = API.MinimumInterval;
647
+ export type MonetaryAmountDiscountAdjustment = API.MonetaryAmountDiscountAdjustment;
648
+ export type MonetaryMaximumAdjustment = API.MonetaryMaximumAdjustment;
649
+ export type MonetaryMinimumAdjustment = API.MonetaryMinimumAdjustment;
650
+ export type MonetaryPercentageDiscountAdjustment = API.MonetaryPercentageDiscountAdjustment;
651
+ export type MonetaryUsageDiscountAdjustment = API.MonetaryUsageDiscountAdjustment;
652
+ export type NewAllocationPrice = API.NewAllocationPrice;
653
+ export type NewAmountDiscount = API.NewAmountDiscount;
654
+ export type NewBillingCycleConfiguration = API.NewBillingCycleConfiguration;
655
+ export type NewDimensionalPriceConfiguration = API.NewDimensionalPriceConfiguration;
656
+ export type NewFloatingBPSPrice = API.NewFloatingBPSPrice;
657
+ export type NewFloatingBulkBPSPrice = API.NewFloatingBulkBPSPrice;
658
+ export type NewFloatingBulkPrice = API.NewFloatingBulkPrice;
659
+ export type NewFloatingBulkWithProrationPrice = API.NewFloatingBulkWithProrationPrice;
660
+ export type NewFloatingCumulativeGroupedBulkPrice = API.NewFloatingCumulativeGroupedBulkPrice;
661
+ export type NewFloatingGroupedAllocationPrice = API.NewFloatingGroupedAllocationPrice;
662
+ export type NewFloatingGroupedTieredPackagePrice = API.NewFloatingGroupedTieredPackagePrice;
663
+ export type NewFloatingGroupedTieredPrice = API.NewFloatingGroupedTieredPrice;
664
+ export type NewFloatingGroupedWithMeteredMinimumPrice = API.NewFloatingGroupedWithMeteredMinimumPrice;
665
+ export type NewFloatingGroupedWithProratedMinimumPrice = API.NewFloatingGroupedWithProratedMinimumPrice;
666
+ export type NewFloatingMatrixPrice = API.NewFloatingMatrixPrice;
667
+ export type NewFloatingMatrixWithAllocationPrice = API.NewFloatingMatrixWithAllocationPrice;
668
+ export type NewFloatingMatrixWithDisplayNamePrice = API.NewFloatingMatrixWithDisplayNamePrice;
669
+ export type NewFloatingMaxGroupTieredPackagePrice = API.NewFloatingMaxGroupTieredPackagePrice;
670
+ export type NewFloatingPackagePrice = API.NewFloatingPackagePrice;
671
+ export type NewFloatingPackageWithAllocationPrice = API.NewFloatingPackageWithAllocationPrice;
672
+ export type NewFloatingScalableMatrixWithTieredPricingPrice =
673
+ API.NewFloatingScalableMatrixWithTieredPricingPrice;
674
+ export type NewFloatingScalableMatrixWithUnitPricingPrice =
675
+ API.NewFloatingScalableMatrixWithUnitPricingPrice;
676
+ export type NewFloatingThresholdTotalAmountPrice = API.NewFloatingThresholdTotalAmountPrice;
677
+ export type NewFloatingTieredBPSPrice = API.NewFloatingTieredBPSPrice;
678
+ export type NewFloatingTieredPackagePrice = API.NewFloatingTieredPackagePrice;
679
+ export type NewFloatingTieredPackageWithMinimumPrice = API.NewFloatingTieredPackageWithMinimumPrice;
680
+ export type NewFloatingTieredPrice = API.NewFloatingTieredPrice;
681
+ export type NewFloatingTieredWithMinimumPrice = API.NewFloatingTieredWithMinimumPrice;
682
+ export type NewFloatingTieredWithProrationPrice = API.NewFloatingTieredWithProrationPrice;
683
+ export type NewFloatingUnitPrice = API.NewFloatingUnitPrice;
684
+ export type NewFloatingUnitWithPercentPrice = API.NewFloatingUnitWithPercentPrice;
685
+ export type NewFloatingUnitWithProrationPrice = API.NewFloatingUnitWithProrationPrice;
686
+ export type NewMaximum = API.NewMaximum;
687
+ export type NewMinimum = API.NewMinimum;
688
+ export type NewPercentageDiscount = API.NewPercentageDiscount;
689
+ export type NewPlanBPSPrice = API.NewPlanBPSPrice;
690
+ export type NewPlanBulkBPSPrice = API.NewPlanBulkBPSPrice;
691
+ export type NewPlanBulkPrice = API.NewPlanBulkPrice;
692
+ export type NewPlanBulkWithProrationPrice = API.NewPlanBulkWithProrationPrice;
693
+ export type NewPlanCumulativeGroupedBulkPrice = API.NewPlanCumulativeGroupedBulkPrice;
694
+ export type NewPlanGroupedAllocationPrice = API.NewPlanGroupedAllocationPrice;
695
+ export type NewPlanGroupedTieredPackagePrice = API.NewPlanGroupedTieredPackagePrice;
696
+ export type NewPlanGroupedTieredPrice = API.NewPlanGroupedTieredPrice;
697
+ export type NewPlanGroupedWithMeteredMinimumPrice = API.NewPlanGroupedWithMeteredMinimumPrice;
698
+ export type NewPlanGroupedWithProratedMinimumPrice = API.NewPlanGroupedWithProratedMinimumPrice;
699
+ export type NewPlanMatrixPrice = API.NewPlanMatrixPrice;
700
+ export type NewPlanMatrixWithAllocationPrice = API.NewPlanMatrixWithAllocationPrice;
701
+ export type NewPlanMatrixWithDisplayNamePrice = API.NewPlanMatrixWithDisplayNamePrice;
702
+ export type NewPlanMaxGroupTieredPackagePrice = API.NewPlanMaxGroupTieredPackagePrice;
703
+ export type NewPlanPackagePrice = API.NewPlanPackagePrice;
704
+ export type NewPlanPackageWithAllocationPrice = API.NewPlanPackageWithAllocationPrice;
705
+ export type NewPlanScalableMatrixWithTieredPricingPrice = API.NewPlanScalableMatrixWithTieredPricingPrice;
706
+ export type NewPlanScalableMatrixWithUnitPricingPrice = API.NewPlanScalableMatrixWithUnitPricingPrice;
707
+ export type NewPlanThresholdTotalAmountPrice = API.NewPlanThresholdTotalAmountPrice;
708
+ export type NewPlanTierWithProrationPrice = API.NewPlanTierWithProrationPrice;
709
+ export type NewPlanTieredBPSPrice = API.NewPlanTieredBPSPrice;
710
+ export type NewPlanTieredPackagePrice = API.NewPlanTieredPackagePrice;
711
+ export type NewPlanTieredPackageWithMinimumPrice = API.NewPlanTieredPackageWithMinimumPrice;
712
+ export type NewPlanTieredPrice = API.NewPlanTieredPrice;
713
+ export type NewPlanTieredWithMinimumPrice = API.NewPlanTieredWithMinimumPrice;
714
+ export type NewPlanUnitPrice = API.NewPlanUnitPrice;
715
+ export type NewPlanUnitWithPercentPrice = API.NewPlanUnitWithPercentPrice;
716
+ export type NewPlanUnitWithProrationPrice = API.NewPlanUnitWithProrationPrice;
717
+ export type NewUsageDiscount = API.NewUsageDiscount;
718
+ export type OtherSubLineItem = API.OtherSubLineItem;
719
+ export type PackageConfig = API.PackageConfig;
568
720
  export type PaginationMetadata = API.PaginationMetadata;
721
+ export type PerPriceCost = API.PerPriceCost;
569
722
  export type PercentageDiscount = API.PercentageDiscount;
723
+ export type PercentageDiscountInterval = API.PercentageDiscountInterval;
724
+ export type PlanPhaseAmountDiscountAdjustment = API.PlanPhaseAmountDiscountAdjustment;
725
+ export type PlanPhaseMaximumAdjustment = API.PlanPhaseMaximumAdjustment;
726
+ export type PlanPhaseMinimumAdjustment = API.PlanPhaseMinimumAdjustment;
727
+ export type PlanPhasePercentageDiscountAdjustment = API.PlanPhasePercentageDiscountAdjustment;
728
+ export type PlanPhaseUsageDiscountAdjustment = API.PlanPhaseUsageDiscountAdjustment;
729
+ export type Price = API.Price;
730
+ export type PriceInterval = API.PriceInterval;
731
+ export type SubLineItemGrouping = API.SubLineItemGrouping;
732
+ export type SubLineItemMatrixConfig = API.SubLineItemMatrixConfig;
733
+ export type SubscriptionChangeMinified = API.SubscriptionChangeMinified;
734
+ export type SubscriptionMinified = API.SubscriptionMinified;
735
+ export type SubscriptionTrialInfo = API.SubscriptionTrialInfo;
736
+ export type TaxAmount = API.TaxAmount;
737
+ export type Tier = API.Tier;
738
+ export type TierConfig = API.TierConfig;
739
+ export type TierSubLineItem = API.TierSubLineItem;
740
+ export type TieredBPSConfig = API.TieredBPSConfig;
741
+ export type TieredConfig = API.TieredConfig;
742
+ export type TieredConversionRateConfig = API.TieredConversionRateConfig;
743
+ export type TransformPriceFilter = API.TransformPriceFilter;
570
744
  export type TrialDiscount = API.TrialDiscount;
745
+ export type UnitConfig = API.UnitConfig;
746
+ export type UnitConversionRateConfig = API.UnitConversionRateConfig;
571
747
  export type UsageDiscount = API.UsageDiscount;
748
+ export type UsageDiscountInterval = API.UsageDiscountInterval;
572
749
  }
573
750
 
574
751
  export { toFile, fileFromPath } from './uploads';