orb-billing 4.74.0 → 5.1.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 (166) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/core.d.ts +7 -4
  3. package/core.d.ts.map +1 -1
  4. package/core.js +16 -9
  5. package/core.js.map +1 -1
  6. package/core.mjs +16 -9
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +151 -14
  9. package/index.d.ts +151 -14
  10. package/index.d.ts.map +1 -1
  11. package/index.js +6 -5
  12. package/index.js.map +1 -1
  13. package/index.mjs +9 -8
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resource.d.ts +1 -1
  17. package/resource.d.ts.map +1 -1
  18. package/resource.js.map +1 -1
  19. package/resource.mjs.map +1 -1
  20. package/resources/alerts.d.ts +20 -88
  21. package/resources/alerts.d.ts.map +1 -1
  22. package/resources/alerts.js.map +1 -1
  23. package/resources/alerts.mjs.map +1 -1
  24. package/resources/beta/beta.d.ts +9 -7313
  25. package/resources/beta/beta.d.ts.map +1 -1
  26. package/resources/beta/beta.js.map +1 -1
  27. package/resources/beta/beta.mjs.map +1 -1
  28. package/resources/beta/external-plan-id.d.ts +7 -7074
  29. package/resources/beta/external-plan-id.d.ts.map +1 -1
  30. package/resources/beta/external-plan-id.js.map +1 -1
  31. package/resources/beta/external-plan-id.mjs.map +1 -1
  32. package/resources/credit-notes.d.ts +64 -164
  33. package/resources/credit-notes.d.ts.map +1 -1
  34. package/resources/credit-notes.js +28 -6
  35. package/resources/credit-notes.js.map +1 -1
  36. package/resources/credit-notes.mjs +27 -4
  37. package/resources/credit-notes.mjs.map +1 -1
  38. package/resources/customers/balance-transactions.d.ts +5 -32
  39. package/resources/customers/balance-transactions.d.ts.map +1 -1
  40. package/resources/customers/balance-transactions.js.map +1 -1
  41. package/resources/customers/balance-transactions.mjs.map +1 -1
  42. package/resources/customers/costs.d.ts +19 -97
  43. package/resources/customers/costs.d.ts.map +1 -1
  44. package/resources/customers/credits/credits.d.ts +4 -4
  45. package/resources/customers/credits/credits.d.ts.map +1 -1
  46. package/resources/customers/credits/credits.js.map +1 -1
  47. package/resources/customers/credits/credits.mjs.map +1 -1
  48. package/resources/customers/credits/index.d.ts +2 -2
  49. package/resources/customers/credits/index.d.ts.map +1 -1
  50. package/resources/customers/credits/index.js.map +1 -1
  51. package/resources/customers/credits/index.mjs.map +1 -1
  52. package/resources/customers/credits/ledger.d.ts +239 -984
  53. package/resources/customers/credits/ledger.d.ts.map +1 -1
  54. package/resources/customers/credits/ledger.js.map +1 -1
  55. package/resources/customers/credits/ledger.mjs.map +1 -1
  56. package/resources/customers/credits/top-ups.d.ts +29 -121
  57. package/resources/customers/credits/top-ups.d.ts.map +1 -1
  58. package/resources/customers/credits/top-ups.js.map +1 -1
  59. package/resources/customers/credits/top-ups.mjs.map +1 -1
  60. package/resources/customers/customers.d.ts +84 -682
  61. package/resources/customers/customers.d.ts.map +1 -1
  62. package/resources/customers/customers.js.map +1 -1
  63. package/resources/customers/customers.mjs.map +1 -1
  64. package/resources/customers/index.d.ts +1 -1
  65. package/resources/customers/index.d.ts.map +1 -1
  66. package/resources/customers/index.js.map +1 -1
  67. package/resources/customers/index.mjs.map +1 -1
  68. package/resources/dimensional-price-groups/dimensional-price-groups.d.ts +6 -2
  69. package/resources/dimensional-price-groups/dimensional-price-groups.d.ts.map +1 -1
  70. package/resources/events/backfills.d.ts +2 -2
  71. package/resources/events/events.d.ts +9 -3
  72. package/resources/events/events.d.ts.map +1 -1
  73. package/resources/index.d.ts +7 -7
  74. package/resources/index.d.ts.map +1 -1
  75. package/resources/index.js +1 -4
  76. package/resources/index.js.map +1 -1
  77. package/resources/index.mjs +3 -3
  78. package/resources/index.mjs.map +1 -1
  79. package/resources/invoice-line-items.d.ts +9 -395
  80. package/resources/invoice-line-items.d.ts.map +1 -1
  81. package/resources/invoice-line-items.js.map +1 -1
  82. package/resources/invoice-line-items.mjs.map +1 -1
  83. package/resources/invoices.d.ts +43 -1704
  84. package/resources/invoices.d.ts.map +1 -1
  85. package/resources/invoices.js +4 -7
  86. package/resources/invoices.js.map +1 -1
  87. package/resources/invoices.mjs +3 -5
  88. package/resources/invoices.mjs.map +1 -1
  89. package/resources/items.d.ts +9 -3
  90. package/resources/items.d.ts.map +1 -1
  91. package/resources/metrics.d.ts +9 -3
  92. package/resources/metrics.d.ts.map +1 -1
  93. package/resources/plans/external-plan-id.d.ts +3 -1
  94. package/resources/plans/external-plan-id.d.ts.map +1 -1
  95. package/resources/plans/plans.d.ts +47 -3783
  96. package/resources/plans/plans.d.ts.map +1 -1
  97. package/resources/plans/plans.js.map +1 -1
  98. package/resources/plans/plans.mjs.map +1 -1
  99. package/resources/prices/external-price-id.d.ts +6 -4
  100. package/resources/prices/external-price-id.d.ts.map +1 -1
  101. package/resources/prices/index.d.ts +1 -1
  102. package/resources/prices/index.d.ts.map +1 -1
  103. package/resources/prices/index.js +1 -2
  104. package/resources/prices/index.js.map +1 -1
  105. package/resources/prices/index.mjs +1 -1
  106. package/resources/prices/index.mjs.map +1 -1
  107. package/resources/prices/prices.d.ts +505 -9417
  108. package/resources/prices/prices.d.ts.map +1 -1
  109. package/resources/prices/prices.js +39 -20
  110. package/resources/prices/prices.js.map +1 -1
  111. package/resources/prices/prices.mjs +38 -18
  112. package/resources/prices/prices.mjs.map +1 -1
  113. package/resources/shared.d.ts +7894 -9
  114. package/resources/shared.d.ts.map +1 -1
  115. package/resources/shared.js +11 -0
  116. package/resources/shared.js.map +1 -1
  117. package/resources/shared.mjs +7 -1
  118. package/resources/shared.mjs.map +1 -1
  119. package/resources/subscription-changes.d.ts +140 -2158
  120. package/resources/subscription-changes.d.ts.map +1 -1
  121. package/resources/subscription-changes.js.map +1 -1
  122. package/resources/subscription-changes.mjs.map +1 -1
  123. package/resources/subscriptions.d.ts +2646 -27141
  124. package/resources/subscriptions.d.ts.map +1 -1
  125. package/resources/subscriptions.js +2 -2
  126. package/resources/subscriptions.js.map +1 -1
  127. package/resources/subscriptions.mjs +2 -2
  128. package/resources/subscriptions.mjs.map +1 -1
  129. package/src/core.ts +17 -8
  130. package/src/index.ts +229 -42
  131. package/src/resource.ts +1 -1
  132. package/src/resources/alerts.ts +20 -94
  133. package/src/resources/beta/beta.ts +124 -8892
  134. package/src/resources/beta/external-plan-id.ts +118 -8593
  135. package/src/resources/credit-notes.ts +67 -216
  136. package/src/resources/customers/balance-transactions.ts +5 -36
  137. package/src/resources/customers/costs.ts +19 -117
  138. package/src/resources/customers/credits/credits.ts +18 -0
  139. package/src/resources/customers/credits/index.ts +9 -0
  140. package/src/resources/customers/credits/ledger.ts +259 -1468
  141. package/src/resources/customers/credits/top-ups.ts +33 -136
  142. package/src/resources/customers/customers.ts +165 -1457
  143. package/src/resources/customers/index.ts +8 -0
  144. package/src/resources/dimensional-price-groups/dimensional-price-groups.ts +2 -2
  145. package/src/resources/events/backfills.ts +2 -2
  146. package/src/resources/events/events.ts +3 -3
  147. package/src/resources/index.ts +42 -22
  148. package/src/resources/invoice-line-items.ts +13 -501
  149. package/src/resources/invoices.ts +65 -2396
  150. package/src/resources/items.ts +3 -3
  151. package/src/resources/metrics.ts +3 -3
  152. package/src/resources/plans/external-plan-id.ts +1 -1
  153. package/src/resources/plans/plans.ts +81 -4563
  154. package/src/resources/prices/external-price-id.ts +4 -4
  155. package/src/resources/prices/index.ts +2 -2
  156. package/src/resources/prices/prices.ts +561 -11851
  157. package/src/resources/shared.ts +9991 -22
  158. package/src/resources/subscription-changes.ts +171 -2670
  159. package/src/resources/subscriptions.ts +3246 -32984
  160. package/src/version.ts +1 -1
  161. package/version.d.ts +1 -1
  162. package/version.d.ts.map +1 -1
  163. package/version.js +1 -1
  164. package/version.js.map +1 -1
  165. package/version.mjs +1 -1
  166. package/version.mjs.map +1 -1
package/index.d.mts CHANGED
@@ -5,22 +5,22 @@ import * as Pagination from "./pagination.js";
5
5
  import { type PageParams, PageResponse } from "./pagination.js";
6
6
  import * as Uploads from "./uploads.js";
7
7
  import * as API from "./resources/index.js";
8
- import { Alert, AlertCreateForCustomerParams, AlertCreateForExternalCustomerParams, AlertCreateForSubscriptionParams, AlertDisableParams, AlertEnableParams, AlertListParams, AlertUpdateParams, Alerts, AlertsPage } from "./resources/alerts.js";
9
- import { CreditNote, CreditNoteCreateParams, CreditNoteListParams, CreditNotes, CreditNotesPage } from "./resources/credit-notes.js";
8
+ import { Alert, AlertCreateForCustomerParams, AlertCreateForExternalCustomerParams, AlertCreateForSubscriptionParams, AlertDisableParams, AlertEnableParams, AlertListParams, AlertUpdateParams, Alerts, AlertsPage, Threshold } from "./resources/alerts.js";
9
+ import { CreditNoteCreateParams, CreditNoteListParams, CreditNotes } from "./resources/credit-notes.js";
10
10
  import { InvoiceLineItemCreateParams, InvoiceLineItemCreateResponse, InvoiceLineItems } from "./resources/invoice-line-items.js";
11
- import { Invoice, InvoiceCreateParams, InvoiceFetchUpcomingParams, InvoiceFetchUpcomingResponse, InvoiceIssueParams, InvoiceListParams, InvoiceMarkPaidParams, InvoiceUpdateParams, Invoices, InvoicesPage } from "./resources/invoices.js";
11
+ import { InvoiceCreateParams, InvoiceFetchUpcomingParams, InvoiceFetchUpcomingResponse, InvoiceIssueParams, InvoiceListParams, InvoiceMarkPaidParams, InvoiceUpdateParams, Invoices } from "./resources/invoices.js";
12
12
  import { Item, ItemCreateParams, ItemListParams, ItemUpdateParams, Items, ItemsPage } from "./resources/items.js";
13
13
  import { BillableMetric, BillableMetricsPage, MetricCreateParams, MetricListParams, MetricUpdateParams, Metrics } from "./resources/metrics.js";
14
- import { SubscriptionChangeApplyParams, SubscriptionChangeApplyResponse, SubscriptionChangeCancelResponse, SubscriptionChangeRetrieveResponse, SubscriptionChanges } from "./resources/subscription-changes.js";
15
- import { Subscription, SubscriptionCancelParams, SubscriptionCancelResponse, SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionFetchCostsParams, SubscriptionFetchCostsResponse, SubscriptionFetchScheduleParams, SubscriptionFetchScheduleResponse, SubscriptionFetchScheduleResponsesPage, SubscriptionFetchUsageParams, SubscriptionListParams, SubscriptionPriceIntervalsParams, SubscriptionPriceIntervalsResponse, SubscriptionRedeemCouponParams, SubscriptionRedeemCouponResponse, SubscriptionSchedulePlanChangeParams, SubscriptionSchedulePlanChangeResponse, SubscriptionTriggerPhaseParams, SubscriptionTriggerPhaseResponse, SubscriptionUnscheduleCancellationResponse, SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse, SubscriptionUnschedulePendingPlanChangesResponse, SubscriptionUpdateFixedFeeQuantityParams, SubscriptionUpdateFixedFeeQuantityResponse, SubscriptionUpdateParams, SubscriptionUpdateTrialParams, SubscriptionUpdateTrialResponse, SubscriptionUsage, Subscriptions, SubscriptionsPage } from "./resources/subscriptions.js";
14
+ import { MutatedSubscription, SubscriptionChangeApplyParams, SubscriptionChangeApplyResponse, SubscriptionChangeCancelResponse, SubscriptionChangeRetrieveResponse, SubscriptionChanges } from "./resources/subscription-changes.js";
15
+ import { DiscountOverride, NewSubscriptionBPSPrice, NewSubscriptionBulkBPSPrice, NewSubscriptionBulkPrice, NewSubscriptionBulkWithProrationPrice, NewSubscriptionCumulativeGroupedBulkPrice, NewSubscriptionGroupedAllocationPrice, NewSubscriptionGroupedTieredPackagePrice, NewSubscriptionGroupedTieredPrice, NewSubscriptionGroupedWithMeteredMinimumPrice, NewSubscriptionGroupedWithProratedMinimumPrice, NewSubscriptionMatrixPrice, NewSubscriptionMatrixWithAllocationPrice, NewSubscriptionMatrixWithDisplayNamePrice, NewSubscriptionMaxGroupTieredPackagePrice, NewSubscriptionPackagePrice, NewSubscriptionPackageWithAllocationPrice, NewSubscriptionScalableMatrixWithTieredPricingPrice, NewSubscriptionScalableMatrixWithUnitPricingPrice, NewSubscriptionThresholdTotalAmountPrice, NewSubscriptionTierWithProrationPrice, NewSubscriptionTieredBPSPrice, NewSubscriptionTieredPackagePrice, NewSubscriptionTieredPackageWithMinimumPrice, NewSubscriptionTieredPrice, NewSubscriptionTieredWithMinimumPrice, NewSubscriptionUnitPrice, NewSubscriptionUnitWithPercentPrice, NewSubscriptionUnitWithProrationPrice, Subscription, SubscriptionCancelParams, SubscriptionCreateParams, SubscriptionFetchCostsParams, SubscriptionFetchCostsResponse, SubscriptionFetchScheduleParams, SubscriptionFetchScheduleResponse, SubscriptionFetchScheduleResponsesPage, SubscriptionFetchUsageParams, SubscriptionListParams, SubscriptionPriceIntervalsParams, SubscriptionRedeemCouponParams, SubscriptionSchedulePlanChangeParams, SubscriptionTriggerPhaseParams, SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, SubscriptionUpdateFixedFeeQuantityParams, SubscriptionUpdateParams, SubscriptionUpdateTrialParams, SubscriptionUsage, Subscriptions, SubscriptionsPage } from "./resources/subscriptions.js";
16
16
  import { TopLevel, TopLevelPingResponse } from "./resources/top-level.js";
17
17
  import { Beta, BetaCreatePlanVersionParams, BetaSetDefaultPlanVersionParams, PlanVersion, PlanVersionPhase } from "./resources/beta/beta.js";
18
18
  import { Coupon, CouponCreateParams, CouponListParams, Coupons, CouponsPage } from "./resources/coupons/coupons.js";
19
- import { Customer, CustomerCreateParams, CustomerListParams, CustomerUpdateByExternalIDParams, CustomerUpdateParams, Customers, CustomersPage } from "./resources/customers/customers.js";
19
+ import { AccountingProviderConfig, AddressInput, Customer, CustomerCreateParams, CustomerHierarchyConfig, CustomerListParams, CustomerUpdateByExternalIDParams, CustomerUpdateParams, Customers, CustomersPage, NewAccountingSyncConfiguration, NewAvalaraTaxConfiguration, NewReportingConfiguration, NewSphereConfiguration, NewTaxJarConfiguration } from "./resources/customers/customers.js";
20
20
  import { DimensionalPriceGroup, DimensionalPriceGroupCreateParams, DimensionalPriceGroupListParams, DimensionalPriceGroups, DimensionalPriceGroupsPage } from "./resources/dimensional-price-groups/dimensional-price-groups.js";
21
21
  import { EventDeprecateResponse, EventIngestParams, EventIngestResponse, EventSearchParams, EventSearchResponse, EventUpdateParams, EventUpdateResponse, Events } from "./resources/events/events.js";
22
22
  import { Plan, PlanCreateParams, PlanListParams, PlanUpdateParams, Plans, PlansPage } from "./resources/plans/plans.js";
23
- import { EvaluatePriceGroup, Price, PriceCreateParams, PriceEvaluateMultipleParams, PriceEvaluateMultipleResponse, PriceEvaluateParams, PriceEvaluateResponse, PriceListParams, PriceUpdateParams, Prices, PricesPage } from "./resources/prices/prices.js";
23
+ import { EvaluatePriceGroup, PriceCreateParams, PriceEvaluateMultipleParams, PriceEvaluateMultipleResponse, PriceEvaluateParams, PriceEvaluatePreviewEventsParams, PriceEvaluatePreviewEventsResponse, PriceEvaluateResponse, PriceListParams, PriceUpdateParams, Prices } from "./resources/prices/prices.js";
24
24
  export interface ClientOptions {
25
25
  /**
26
26
  * Defaults to process.env['ORB_API_KEY'].
@@ -42,6 +42,8 @@ export interface ClientOptions {
42
42
  *
43
43
  * Note that request timeouts are retried by default, so in a worst-case scenario you may wait
44
44
  * much longer than this timeout before the promise succeeds or fails.
45
+ *
46
+ * @unit milliseconds
45
47
  */
46
48
  timeout?: number | undefined;
47
49
  /**
@@ -84,6 +86,7 @@ export interface ClientOptions {
84
86
  * API Client for interfacing with the Orb API.
85
87
  */
86
88
  export declare class Orb extends Core.APIClient {
89
+ #private;
87
90
  apiKey: string;
88
91
  webhookSecret: string | null;
89
92
  private _options;
@@ -159,27 +162,161 @@ export declare namespace Orb {
159
162
  export { TopLevel as TopLevel, type TopLevelPingResponse as TopLevelPingResponse };
160
163
  export { Beta as Beta, type PlanVersion as PlanVersion, type PlanVersionPhase as PlanVersionPhase, type BetaCreatePlanVersionParams as BetaCreatePlanVersionParams, type BetaSetDefaultPlanVersionParams as BetaSetDefaultPlanVersionParams, };
161
164
  export { Coupons as Coupons, type Coupon as Coupon, CouponsPage as CouponsPage, type CouponCreateParams as CouponCreateParams, type CouponListParams as CouponListParams, };
162
- export { CreditNotes as CreditNotes, type CreditNote as CreditNote, CreditNotesPage as CreditNotesPage, type CreditNoteCreateParams as CreditNoteCreateParams, type CreditNoteListParams as CreditNoteListParams, };
163
- export { Customers as Customers, type Customer as Customer, CustomersPage as CustomersPage, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, type CustomerUpdateByExternalIDParams as CustomerUpdateByExternalIDParams, };
165
+ export { CreditNotes as CreditNotes, type CreditNoteCreateParams as CreditNoteCreateParams, type CreditNoteListParams as CreditNoteListParams, };
166
+ export { Customers as Customers, type AccountingProviderConfig as AccountingProviderConfig, type AddressInput as AddressInput, type Customer as Customer, type CustomerHierarchyConfig as CustomerHierarchyConfig, type NewAccountingSyncConfiguration as NewAccountingSyncConfiguration, type NewAvalaraTaxConfiguration as NewAvalaraTaxConfiguration, type NewReportingConfiguration as NewReportingConfiguration, type NewSphereConfiguration as NewSphereConfiguration, type NewTaxJarConfiguration as NewTaxJarConfiguration, CustomersPage as CustomersPage, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, type CustomerUpdateByExternalIDParams as CustomerUpdateByExternalIDParams, };
164
167
  export { Events as Events, type EventUpdateResponse as EventUpdateResponse, type EventDeprecateResponse as EventDeprecateResponse, type EventIngestResponse as EventIngestResponse, type EventSearchResponse as EventSearchResponse, type EventUpdateParams as EventUpdateParams, type EventIngestParams as EventIngestParams, type EventSearchParams as EventSearchParams, };
165
168
  export { InvoiceLineItems as InvoiceLineItems, type InvoiceLineItemCreateResponse as InvoiceLineItemCreateResponse, type InvoiceLineItemCreateParams as InvoiceLineItemCreateParams, };
166
- export { Invoices as Invoices, type Invoice as Invoice, type InvoiceFetchUpcomingResponse as InvoiceFetchUpcomingResponse, InvoicesPage as InvoicesPage, type InvoiceCreateParams as InvoiceCreateParams, type InvoiceUpdateParams as InvoiceUpdateParams, type InvoiceListParams as InvoiceListParams, type InvoiceFetchUpcomingParams as InvoiceFetchUpcomingParams, type InvoiceIssueParams as InvoiceIssueParams, type InvoiceMarkPaidParams as InvoiceMarkPaidParams, };
169
+ export { Invoices as Invoices, type InvoiceFetchUpcomingResponse as InvoiceFetchUpcomingResponse, type InvoiceCreateParams as InvoiceCreateParams, type InvoiceUpdateParams as InvoiceUpdateParams, type InvoiceListParams as InvoiceListParams, type InvoiceFetchUpcomingParams as InvoiceFetchUpcomingParams, type InvoiceIssueParams as InvoiceIssueParams, type InvoiceMarkPaidParams as InvoiceMarkPaidParams, };
167
170
  export { Items as Items, type Item as Item, ItemsPage as ItemsPage, type ItemCreateParams as ItemCreateParams, type ItemUpdateParams as ItemUpdateParams, type ItemListParams as ItemListParams, };
168
171
  export { Metrics as Metrics, type BillableMetric as BillableMetric, BillableMetricsPage as BillableMetricsPage, type MetricCreateParams as MetricCreateParams, type MetricUpdateParams as MetricUpdateParams, type MetricListParams as MetricListParams, };
169
172
  export { Plans as Plans, type Plan as Plan, PlansPage as PlansPage, type PlanCreateParams as PlanCreateParams, type PlanUpdateParams as PlanUpdateParams, type PlanListParams as PlanListParams, };
170
- export { Prices as Prices, type EvaluatePriceGroup as EvaluatePriceGroup, type Price as Price, type PriceEvaluateResponse as PriceEvaluateResponse, type PriceEvaluateMultipleResponse as PriceEvaluateMultipleResponse, PricesPage as PricesPage, type PriceCreateParams as PriceCreateParams, type PriceUpdateParams as PriceUpdateParams, type PriceListParams as PriceListParams, type PriceEvaluateParams as PriceEvaluateParams, type PriceEvaluateMultipleParams as PriceEvaluateMultipleParams, };
171
- export { type Subscriptions as Subscriptions, type Subscription as Subscription, type SubscriptionUsage as SubscriptionUsage, type SubscriptionCreateResponse as SubscriptionCreateResponse, type SubscriptionCancelResponse as SubscriptionCancelResponse, type SubscriptionFetchCostsResponse as SubscriptionFetchCostsResponse, type SubscriptionFetchScheduleResponse as SubscriptionFetchScheduleResponse, type SubscriptionPriceIntervalsResponse as SubscriptionPriceIntervalsResponse, type SubscriptionRedeemCouponResponse as SubscriptionRedeemCouponResponse, type SubscriptionSchedulePlanChangeResponse as SubscriptionSchedulePlanChangeResponse, type SubscriptionTriggerPhaseResponse as SubscriptionTriggerPhaseResponse, type SubscriptionUnscheduleCancellationResponse as SubscriptionUnscheduleCancellationResponse, type SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse as SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse, type SubscriptionUnschedulePendingPlanChangesResponse as SubscriptionUnschedulePendingPlanChangesResponse, type SubscriptionUpdateFixedFeeQuantityResponse as SubscriptionUpdateFixedFeeQuantityResponse, type SubscriptionUpdateTrialResponse as SubscriptionUpdateTrialResponse, SubscriptionsPage as SubscriptionsPage, SubscriptionFetchScheduleResponsesPage as SubscriptionFetchScheduleResponsesPage, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionCancelParams as SubscriptionCancelParams, type SubscriptionFetchCostsParams as SubscriptionFetchCostsParams, type SubscriptionFetchScheduleParams as SubscriptionFetchScheduleParams, type SubscriptionFetchUsageParams as SubscriptionFetchUsageParams, type SubscriptionPriceIntervalsParams as SubscriptionPriceIntervalsParams, type SubscriptionRedeemCouponParams as SubscriptionRedeemCouponParams, type SubscriptionSchedulePlanChangeParams as SubscriptionSchedulePlanChangeParams, type SubscriptionTriggerPhaseParams as SubscriptionTriggerPhaseParams, type SubscriptionUnscheduleFixedFeeQuantityUpdatesParams as SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, type SubscriptionUpdateFixedFeeQuantityParams as SubscriptionUpdateFixedFeeQuantityParams, type SubscriptionUpdateTrialParams as SubscriptionUpdateTrialParams, };
172
- export { Alerts as Alerts, type Alert as Alert, AlertsPage as AlertsPage, type AlertUpdateParams as AlertUpdateParams, type AlertListParams as AlertListParams, type AlertCreateForCustomerParams as AlertCreateForCustomerParams, type AlertCreateForExternalCustomerParams as AlertCreateForExternalCustomerParams, type AlertCreateForSubscriptionParams as AlertCreateForSubscriptionParams, type AlertDisableParams as AlertDisableParams, type AlertEnableParams as AlertEnableParams, };
173
+ export { Prices as Prices, type EvaluatePriceGroup as EvaluatePriceGroup, type PriceEvaluateResponse as PriceEvaluateResponse, type PriceEvaluateMultipleResponse as PriceEvaluateMultipleResponse, type PriceEvaluatePreviewEventsResponse as PriceEvaluatePreviewEventsResponse, type PriceCreateParams as PriceCreateParams, type PriceUpdateParams as PriceUpdateParams, type PriceListParams as PriceListParams, type PriceEvaluateParams as PriceEvaluateParams, type PriceEvaluateMultipleParams as PriceEvaluateMultipleParams, type PriceEvaluatePreviewEventsParams as PriceEvaluatePreviewEventsParams, };
174
+ export { type Subscriptions as Subscriptions, type DiscountOverride as DiscountOverride, type NewSubscriptionBPSPrice as NewSubscriptionBPSPrice, type NewSubscriptionBulkBPSPrice as NewSubscriptionBulkBPSPrice, type NewSubscriptionBulkPrice as NewSubscriptionBulkPrice, type NewSubscriptionBulkWithProrationPrice as NewSubscriptionBulkWithProrationPrice, type NewSubscriptionCumulativeGroupedBulkPrice as NewSubscriptionCumulativeGroupedBulkPrice, type NewSubscriptionGroupedAllocationPrice as NewSubscriptionGroupedAllocationPrice, type NewSubscriptionGroupedTieredPackagePrice as NewSubscriptionGroupedTieredPackagePrice, type NewSubscriptionGroupedTieredPrice as NewSubscriptionGroupedTieredPrice, type NewSubscriptionGroupedWithMeteredMinimumPrice as NewSubscriptionGroupedWithMeteredMinimumPrice, type NewSubscriptionGroupedWithProratedMinimumPrice as NewSubscriptionGroupedWithProratedMinimumPrice, type NewSubscriptionMatrixPrice as NewSubscriptionMatrixPrice, type NewSubscriptionMatrixWithAllocationPrice as NewSubscriptionMatrixWithAllocationPrice, type NewSubscriptionMatrixWithDisplayNamePrice as NewSubscriptionMatrixWithDisplayNamePrice, type NewSubscriptionMaxGroupTieredPackagePrice as NewSubscriptionMaxGroupTieredPackagePrice, type NewSubscriptionPackagePrice as NewSubscriptionPackagePrice, type NewSubscriptionPackageWithAllocationPrice as NewSubscriptionPackageWithAllocationPrice, type NewSubscriptionScalableMatrixWithTieredPricingPrice as NewSubscriptionScalableMatrixWithTieredPricingPrice, type NewSubscriptionScalableMatrixWithUnitPricingPrice as NewSubscriptionScalableMatrixWithUnitPricingPrice, type NewSubscriptionThresholdTotalAmountPrice as NewSubscriptionThresholdTotalAmountPrice, type NewSubscriptionTierWithProrationPrice as NewSubscriptionTierWithProrationPrice, type NewSubscriptionTieredBPSPrice as NewSubscriptionTieredBPSPrice, type NewSubscriptionTieredPackagePrice as NewSubscriptionTieredPackagePrice, type NewSubscriptionTieredPackageWithMinimumPrice as NewSubscriptionTieredPackageWithMinimumPrice, type NewSubscriptionTieredPrice as NewSubscriptionTieredPrice, type NewSubscriptionTieredWithMinimumPrice as NewSubscriptionTieredWithMinimumPrice, type NewSubscriptionUnitPrice as NewSubscriptionUnitPrice, type NewSubscriptionUnitWithPercentPrice as NewSubscriptionUnitWithPercentPrice, type NewSubscriptionUnitWithProrationPrice as NewSubscriptionUnitWithProrationPrice, type Subscription as Subscription, type SubscriptionUsage as SubscriptionUsage, type SubscriptionFetchCostsResponse as SubscriptionFetchCostsResponse, type SubscriptionFetchScheduleResponse as SubscriptionFetchScheduleResponse, SubscriptionsPage as SubscriptionsPage, SubscriptionFetchScheduleResponsesPage as SubscriptionFetchScheduleResponsesPage, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionCancelParams as SubscriptionCancelParams, type SubscriptionFetchCostsParams as SubscriptionFetchCostsParams, type SubscriptionFetchScheduleParams as SubscriptionFetchScheduleParams, type SubscriptionFetchUsageParams as SubscriptionFetchUsageParams, type SubscriptionPriceIntervalsParams as SubscriptionPriceIntervalsParams, type SubscriptionRedeemCouponParams as SubscriptionRedeemCouponParams, type SubscriptionSchedulePlanChangeParams as SubscriptionSchedulePlanChangeParams, type SubscriptionTriggerPhaseParams as SubscriptionTriggerPhaseParams, type SubscriptionUnscheduleFixedFeeQuantityUpdatesParams as SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, type SubscriptionUpdateFixedFeeQuantityParams as SubscriptionUpdateFixedFeeQuantityParams, type SubscriptionUpdateTrialParams as SubscriptionUpdateTrialParams, };
175
+ export { Alerts as Alerts, type Alert as Alert, type Threshold as Threshold, AlertsPage as AlertsPage, type AlertUpdateParams as AlertUpdateParams, type AlertListParams as AlertListParams, type AlertCreateForCustomerParams as AlertCreateForCustomerParams, type AlertCreateForExternalCustomerParams as AlertCreateForExternalCustomerParams, type AlertCreateForSubscriptionParams as AlertCreateForSubscriptionParams, type AlertDisableParams as AlertDisableParams, type AlertEnableParams as AlertEnableParams, };
173
176
  export { type DimensionalPriceGroups as DimensionalPriceGroups, type DimensionalPriceGroup as DimensionalPriceGroup, DimensionalPriceGroupsPage as DimensionalPriceGroupsPage, type DimensionalPriceGroupCreateParams as DimensionalPriceGroupCreateParams, type DimensionalPriceGroupListParams as DimensionalPriceGroupListParams, };
174
- export { SubscriptionChanges as SubscriptionChanges, type SubscriptionChangeRetrieveResponse as SubscriptionChangeRetrieveResponse, type SubscriptionChangeApplyResponse as SubscriptionChangeApplyResponse, type SubscriptionChangeCancelResponse as SubscriptionChangeCancelResponse, type SubscriptionChangeApplyParams as SubscriptionChangeApplyParams, };
177
+ export { SubscriptionChanges as SubscriptionChanges, type MutatedSubscription as MutatedSubscription, type SubscriptionChangeRetrieveResponse as SubscriptionChangeRetrieveResponse, type SubscriptionChangeApplyResponse as SubscriptionChangeApplyResponse, type SubscriptionChangeCancelResponse as SubscriptionChangeCancelResponse, type SubscriptionChangeApplyParams as SubscriptionChangeApplyParams, };
178
+ export type Address = API.Address;
179
+ export type AdjustmentInterval = API.AdjustmentInterval;
180
+ export type AggregatedCost = API.AggregatedCost;
181
+ export type Allocation = API.Allocation;
175
182
  export type AmountDiscount = API.AmountDiscount;
183
+ export type AmountDiscountInterval = API.AmountDiscountInterval;
184
+ export type BillableMetricTiny = API.BillableMetricTiny;
185
+ export type BillingCycleAnchorConfiguration = API.BillingCycleAnchorConfiguration;
186
+ export type BillingCycleConfiguration = API.BillingCycleConfiguration;
176
187
  export type BillingCycleRelativeDate = API.BillingCycleRelativeDate;
188
+ export type BPSConfig = API.BPSConfig;
189
+ export type BPSTier = API.BPSTier;
190
+ export type BulkBPSConfig = API.BulkBPSConfig;
191
+ export type BulkBPSTier = API.BulkBPSTier;
192
+ export type BulkConfig = API.BulkConfig;
193
+ export type BulkTier = API.BulkTier;
194
+ export type ChangedSubscriptionResources = API.ChangedSubscriptionResources;
195
+ export type ConversionRateTier = API.ConversionRateTier;
196
+ export type ConversionRateTieredConfig = API.ConversionRateTieredConfig;
197
+ export type ConversionRateUnitConfig = API.ConversionRateUnitConfig;
198
+ export type CouponRedemption = API.CouponRedemption;
199
+ export type CreditNote = API.CreditNote;
200
+ export type CreditNoteTiny = API.CreditNoteTiny;
201
+ export type CustomExpiration = API.CustomExpiration;
202
+ export type CustomerMinified = API.CustomerMinified;
203
+ export type CustomerTaxID = API.CustomerTaxID;
204
+ export type DimensionalPriceConfiguration = API.DimensionalPriceConfiguration;
177
205
  export type Discount = API.Discount;
206
+ export type FixedFeeQuantityScheduleEntry = API.FixedFeeQuantityScheduleEntry;
207
+ export type FixedFeeQuantityTransition = API.FixedFeeQuantityTransition;
208
+ export type Invoice = API.Invoice;
178
209
  export type InvoiceLevelDiscount = API.InvoiceLevelDiscount;
210
+ export type InvoiceTiny = API.InvoiceTiny;
211
+ export type ItemSlim = API.ItemSlim;
212
+ export type MatrixConfig = API.MatrixConfig;
213
+ export type MatrixSubLineItem = API.MatrixSubLineItem;
214
+ export type MatrixValue = API.MatrixValue;
215
+ export type MatrixWithAllocationConfig = API.MatrixWithAllocationConfig;
216
+ export type Maximum = API.Maximum;
217
+ export type MaximumInterval = API.MaximumInterval;
218
+ export type Minimum = API.Minimum;
219
+ export type MinimumInterval = API.MinimumInterval;
220
+ export type MonetaryAmountDiscountAdjustment = API.MonetaryAmountDiscountAdjustment;
221
+ export type MonetaryMaximumAdjustment = API.MonetaryMaximumAdjustment;
222
+ export type MonetaryMinimumAdjustment = API.MonetaryMinimumAdjustment;
223
+ export type MonetaryPercentageDiscountAdjustment = API.MonetaryPercentageDiscountAdjustment;
224
+ export type MonetaryUsageDiscountAdjustment = API.MonetaryUsageDiscountAdjustment;
225
+ export type NewAllocationPrice = API.NewAllocationPrice;
226
+ export type NewAmountDiscount = API.NewAmountDiscount;
227
+ export type NewBillingCycleConfiguration = API.NewBillingCycleConfiguration;
228
+ export type NewDimensionalPriceConfiguration = API.NewDimensionalPriceConfiguration;
229
+ export type NewFloatingBPSPrice = API.NewFloatingBPSPrice;
230
+ export type NewFloatingBulkBPSPrice = API.NewFloatingBulkBPSPrice;
231
+ export type NewFloatingBulkPrice = API.NewFloatingBulkPrice;
232
+ export type NewFloatingBulkWithProrationPrice = API.NewFloatingBulkWithProrationPrice;
233
+ export type NewFloatingCumulativeGroupedBulkPrice = API.NewFloatingCumulativeGroupedBulkPrice;
234
+ export type NewFloatingGroupedAllocationPrice = API.NewFloatingGroupedAllocationPrice;
235
+ export type NewFloatingGroupedTieredPackagePrice = API.NewFloatingGroupedTieredPackagePrice;
236
+ export type NewFloatingGroupedTieredPrice = API.NewFloatingGroupedTieredPrice;
237
+ export type NewFloatingGroupedWithMeteredMinimumPrice = API.NewFloatingGroupedWithMeteredMinimumPrice;
238
+ export type NewFloatingGroupedWithProratedMinimumPrice = API.NewFloatingGroupedWithProratedMinimumPrice;
239
+ export type NewFloatingMatrixPrice = API.NewFloatingMatrixPrice;
240
+ export type NewFloatingMatrixWithAllocationPrice = API.NewFloatingMatrixWithAllocationPrice;
241
+ export type NewFloatingMatrixWithDisplayNamePrice = API.NewFloatingMatrixWithDisplayNamePrice;
242
+ export type NewFloatingMaxGroupTieredPackagePrice = API.NewFloatingMaxGroupTieredPackagePrice;
243
+ export type NewFloatingPackagePrice = API.NewFloatingPackagePrice;
244
+ export type NewFloatingPackageWithAllocationPrice = API.NewFloatingPackageWithAllocationPrice;
245
+ export type NewFloatingScalableMatrixWithTieredPricingPrice = API.NewFloatingScalableMatrixWithTieredPricingPrice;
246
+ export type NewFloatingScalableMatrixWithUnitPricingPrice = API.NewFloatingScalableMatrixWithUnitPricingPrice;
247
+ export type NewFloatingThresholdTotalAmountPrice = API.NewFloatingThresholdTotalAmountPrice;
248
+ export type NewFloatingTieredBPSPrice = API.NewFloatingTieredBPSPrice;
249
+ export type NewFloatingTieredPackagePrice = API.NewFloatingTieredPackagePrice;
250
+ export type NewFloatingTieredPackageWithMinimumPrice = API.NewFloatingTieredPackageWithMinimumPrice;
251
+ export type NewFloatingTieredPrice = API.NewFloatingTieredPrice;
252
+ export type NewFloatingTieredWithMinimumPrice = API.NewFloatingTieredWithMinimumPrice;
253
+ export type NewFloatingTieredWithProrationPrice = API.NewFloatingTieredWithProrationPrice;
254
+ export type NewFloatingUnitPrice = API.NewFloatingUnitPrice;
255
+ export type NewFloatingUnitWithPercentPrice = API.NewFloatingUnitWithPercentPrice;
256
+ export type NewFloatingUnitWithProrationPrice = API.NewFloatingUnitWithProrationPrice;
257
+ export type NewMaximum = API.NewMaximum;
258
+ export type NewMinimum = API.NewMinimum;
259
+ export type NewPercentageDiscount = API.NewPercentageDiscount;
260
+ export type NewPlanBPSPrice = API.NewPlanBPSPrice;
261
+ export type NewPlanBulkBPSPrice = API.NewPlanBulkBPSPrice;
262
+ export type NewPlanBulkPrice = API.NewPlanBulkPrice;
263
+ export type NewPlanBulkWithProrationPrice = API.NewPlanBulkWithProrationPrice;
264
+ export type NewPlanCumulativeGroupedBulkPrice = API.NewPlanCumulativeGroupedBulkPrice;
265
+ export type NewPlanGroupedAllocationPrice = API.NewPlanGroupedAllocationPrice;
266
+ export type NewPlanGroupedTieredPackagePrice = API.NewPlanGroupedTieredPackagePrice;
267
+ export type NewPlanGroupedTieredPrice = API.NewPlanGroupedTieredPrice;
268
+ export type NewPlanGroupedWithMeteredMinimumPrice = API.NewPlanGroupedWithMeteredMinimumPrice;
269
+ export type NewPlanGroupedWithProratedMinimumPrice = API.NewPlanGroupedWithProratedMinimumPrice;
270
+ export type NewPlanMatrixPrice = API.NewPlanMatrixPrice;
271
+ export type NewPlanMatrixWithAllocationPrice = API.NewPlanMatrixWithAllocationPrice;
272
+ export type NewPlanMatrixWithDisplayNamePrice = API.NewPlanMatrixWithDisplayNamePrice;
273
+ export type NewPlanMaxGroupTieredPackagePrice = API.NewPlanMaxGroupTieredPackagePrice;
274
+ export type NewPlanPackagePrice = API.NewPlanPackagePrice;
275
+ export type NewPlanPackageWithAllocationPrice = API.NewPlanPackageWithAllocationPrice;
276
+ export type NewPlanScalableMatrixWithTieredPricingPrice = API.NewPlanScalableMatrixWithTieredPricingPrice;
277
+ export type NewPlanScalableMatrixWithUnitPricingPrice = API.NewPlanScalableMatrixWithUnitPricingPrice;
278
+ export type NewPlanThresholdTotalAmountPrice = API.NewPlanThresholdTotalAmountPrice;
279
+ export type NewPlanTierWithProrationPrice = API.NewPlanTierWithProrationPrice;
280
+ export type NewPlanTieredBPSPrice = API.NewPlanTieredBPSPrice;
281
+ export type NewPlanTieredPackagePrice = API.NewPlanTieredPackagePrice;
282
+ export type NewPlanTieredPackageWithMinimumPrice = API.NewPlanTieredPackageWithMinimumPrice;
283
+ export type NewPlanTieredPrice = API.NewPlanTieredPrice;
284
+ export type NewPlanTieredWithMinimumPrice = API.NewPlanTieredWithMinimumPrice;
285
+ export type NewPlanUnitPrice = API.NewPlanUnitPrice;
286
+ export type NewPlanUnitWithPercentPrice = API.NewPlanUnitWithPercentPrice;
287
+ export type NewPlanUnitWithProrationPrice = API.NewPlanUnitWithProrationPrice;
288
+ export type NewUsageDiscount = API.NewUsageDiscount;
289
+ export type OtherSubLineItem = API.OtherSubLineItem;
290
+ export type PackageConfig = API.PackageConfig;
179
291
  export type PaginationMetadata = API.PaginationMetadata;
292
+ export type PerPriceCost = API.PerPriceCost;
180
293
  export type PercentageDiscount = API.PercentageDiscount;
294
+ export type PercentageDiscountInterval = API.PercentageDiscountInterval;
295
+ export type PlanPhaseAmountDiscountAdjustment = API.PlanPhaseAmountDiscountAdjustment;
296
+ export type PlanPhaseMaximumAdjustment = API.PlanPhaseMaximumAdjustment;
297
+ export type PlanPhaseMinimumAdjustment = API.PlanPhaseMinimumAdjustment;
298
+ export type PlanPhasePercentageDiscountAdjustment = API.PlanPhasePercentageDiscountAdjustment;
299
+ export type PlanPhaseUsageDiscountAdjustment = API.PlanPhaseUsageDiscountAdjustment;
300
+ export type Price = API.Price;
301
+ export type PriceInterval = API.PriceInterval;
302
+ export type SubLineItemGrouping = API.SubLineItemGrouping;
303
+ export type SubLineItemMatrixConfig = API.SubLineItemMatrixConfig;
304
+ export type SubscriptionChangeMinified = API.SubscriptionChangeMinified;
305
+ export type SubscriptionMinified = API.SubscriptionMinified;
306
+ export type SubscriptionTrialInfo = API.SubscriptionTrialInfo;
307
+ export type TaxAmount = API.TaxAmount;
308
+ export type Tier = API.Tier;
309
+ export type TierConfig = API.TierConfig;
310
+ export type TierSubLineItem = API.TierSubLineItem;
311
+ export type TieredBPSConfig = API.TieredBPSConfig;
312
+ export type TieredConfig = API.TieredConfig;
313
+ export type TieredConversionRateConfig = API.TieredConversionRateConfig;
314
+ export type TransformPriceFilter = API.TransformPriceFilter;
181
315
  export type TrialDiscount = API.TrialDiscount;
316
+ export type UnitConfig = API.UnitConfig;
317
+ export type UnitConversionRateConfig = API.UnitConversionRateConfig;
182
318
  export type UsageDiscount = API.UsageDiscount;
319
+ export type UsageDiscountInterval = API.UsageDiscountInterval;
183
320
  }
184
321
  export { toFile, fileFromPath } from "./uploads.js";
185
322
  export { OrbError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, URLNotFound, NotFoundError, ConflictError, RateLimitError, BadRequestError, RequestTooLarge, TooManyRequests, ResourceNotFound, ResourceConflict, ResourceTooLarge, AuthenticationError, InternalServerError, ConstraintViolation, FeatureNotAvailable, PermissionDeniedError, RequestValidationError, OrbAuthenticationError, OrbInternalServerError, UnprocessableEntityError, DuplicateResourceCreation, } from "./error.js";
package/index.d.ts CHANGED
@@ -5,22 +5,22 @@ import * as Pagination from "./pagination.js";
5
5
  import { type PageParams, PageResponse } from "./pagination.js";
6
6
  import * as Uploads from "./uploads.js";
7
7
  import * as API from "./resources/index.js";
8
- import { Alert, AlertCreateForCustomerParams, AlertCreateForExternalCustomerParams, AlertCreateForSubscriptionParams, AlertDisableParams, AlertEnableParams, AlertListParams, AlertUpdateParams, Alerts, AlertsPage } from "./resources/alerts.js";
9
- import { CreditNote, CreditNoteCreateParams, CreditNoteListParams, CreditNotes, CreditNotesPage } from "./resources/credit-notes.js";
8
+ import { Alert, AlertCreateForCustomerParams, AlertCreateForExternalCustomerParams, AlertCreateForSubscriptionParams, AlertDisableParams, AlertEnableParams, AlertListParams, AlertUpdateParams, Alerts, AlertsPage, Threshold } from "./resources/alerts.js";
9
+ import { CreditNoteCreateParams, CreditNoteListParams, CreditNotes } from "./resources/credit-notes.js";
10
10
  import { InvoiceLineItemCreateParams, InvoiceLineItemCreateResponse, InvoiceLineItems } from "./resources/invoice-line-items.js";
11
- import { Invoice, InvoiceCreateParams, InvoiceFetchUpcomingParams, InvoiceFetchUpcomingResponse, InvoiceIssueParams, InvoiceListParams, InvoiceMarkPaidParams, InvoiceUpdateParams, Invoices, InvoicesPage } from "./resources/invoices.js";
11
+ import { InvoiceCreateParams, InvoiceFetchUpcomingParams, InvoiceFetchUpcomingResponse, InvoiceIssueParams, InvoiceListParams, InvoiceMarkPaidParams, InvoiceUpdateParams, Invoices } from "./resources/invoices.js";
12
12
  import { Item, ItemCreateParams, ItemListParams, ItemUpdateParams, Items, ItemsPage } from "./resources/items.js";
13
13
  import { BillableMetric, BillableMetricsPage, MetricCreateParams, MetricListParams, MetricUpdateParams, Metrics } from "./resources/metrics.js";
14
- import { SubscriptionChangeApplyParams, SubscriptionChangeApplyResponse, SubscriptionChangeCancelResponse, SubscriptionChangeRetrieveResponse, SubscriptionChanges } from "./resources/subscription-changes.js";
15
- import { Subscription, SubscriptionCancelParams, SubscriptionCancelResponse, SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionFetchCostsParams, SubscriptionFetchCostsResponse, SubscriptionFetchScheduleParams, SubscriptionFetchScheduleResponse, SubscriptionFetchScheduleResponsesPage, SubscriptionFetchUsageParams, SubscriptionListParams, SubscriptionPriceIntervalsParams, SubscriptionPriceIntervalsResponse, SubscriptionRedeemCouponParams, SubscriptionRedeemCouponResponse, SubscriptionSchedulePlanChangeParams, SubscriptionSchedulePlanChangeResponse, SubscriptionTriggerPhaseParams, SubscriptionTriggerPhaseResponse, SubscriptionUnscheduleCancellationResponse, SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse, SubscriptionUnschedulePendingPlanChangesResponse, SubscriptionUpdateFixedFeeQuantityParams, SubscriptionUpdateFixedFeeQuantityResponse, SubscriptionUpdateParams, SubscriptionUpdateTrialParams, SubscriptionUpdateTrialResponse, SubscriptionUsage, Subscriptions, SubscriptionsPage } from "./resources/subscriptions.js";
14
+ import { MutatedSubscription, SubscriptionChangeApplyParams, SubscriptionChangeApplyResponse, SubscriptionChangeCancelResponse, SubscriptionChangeRetrieveResponse, SubscriptionChanges } from "./resources/subscription-changes.js";
15
+ import { DiscountOverride, NewSubscriptionBPSPrice, NewSubscriptionBulkBPSPrice, NewSubscriptionBulkPrice, NewSubscriptionBulkWithProrationPrice, NewSubscriptionCumulativeGroupedBulkPrice, NewSubscriptionGroupedAllocationPrice, NewSubscriptionGroupedTieredPackagePrice, NewSubscriptionGroupedTieredPrice, NewSubscriptionGroupedWithMeteredMinimumPrice, NewSubscriptionGroupedWithProratedMinimumPrice, NewSubscriptionMatrixPrice, NewSubscriptionMatrixWithAllocationPrice, NewSubscriptionMatrixWithDisplayNamePrice, NewSubscriptionMaxGroupTieredPackagePrice, NewSubscriptionPackagePrice, NewSubscriptionPackageWithAllocationPrice, NewSubscriptionScalableMatrixWithTieredPricingPrice, NewSubscriptionScalableMatrixWithUnitPricingPrice, NewSubscriptionThresholdTotalAmountPrice, NewSubscriptionTierWithProrationPrice, NewSubscriptionTieredBPSPrice, NewSubscriptionTieredPackagePrice, NewSubscriptionTieredPackageWithMinimumPrice, NewSubscriptionTieredPrice, NewSubscriptionTieredWithMinimumPrice, NewSubscriptionUnitPrice, NewSubscriptionUnitWithPercentPrice, NewSubscriptionUnitWithProrationPrice, Subscription, SubscriptionCancelParams, SubscriptionCreateParams, SubscriptionFetchCostsParams, SubscriptionFetchCostsResponse, SubscriptionFetchScheduleParams, SubscriptionFetchScheduleResponse, SubscriptionFetchScheduleResponsesPage, SubscriptionFetchUsageParams, SubscriptionListParams, SubscriptionPriceIntervalsParams, SubscriptionRedeemCouponParams, SubscriptionSchedulePlanChangeParams, SubscriptionTriggerPhaseParams, SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, SubscriptionUpdateFixedFeeQuantityParams, SubscriptionUpdateParams, SubscriptionUpdateTrialParams, SubscriptionUsage, Subscriptions, SubscriptionsPage } from "./resources/subscriptions.js";
16
16
  import { TopLevel, TopLevelPingResponse } from "./resources/top-level.js";
17
17
  import { Beta, BetaCreatePlanVersionParams, BetaSetDefaultPlanVersionParams, PlanVersion, PlanVersionPhase } from "./resources/beta/beta.js";
18
18
  import { Coupon, CouponCreateParams, CouponListParams, Coupons, CouponsPage } from "./resources/coupons/coupons.js";
19
- import { Customer, CustomerCreateParams, CustomerListParams, CustomerUpdateByExternalIDParams, CustomerUpdateParams, Customers, CustomersPage } from "./resources/customers/customers.js";
19
+ import { AccountingProviderConfig, AddressInput, Customer, CustomerCreateParams, CustomerHierarchyConfig, CustomerListParams, CustomerUpdateByExternalIDParams, CustomerUpdateParams, Customers, CustomersPage, NewAccountingSyncConfiguration, NewAvalaraTaxConfiguration, NewReportingConfiguration, NewSphereConfiguration, NewTaxJarConfiguration } from "./resources/customers/customers.js";
20
20
  import { DimensionalPriceGroup, DimensionalPriceGroupCreateParams, DimensionalPriceGroupListParams, DimensionalPriceGroups, DimensionalPriceGroupsPage } from "./resources/dimensional-price-groups/dimensional-price-groups.js";
21
21
  import { EventDeprecateResponse, EventIngestParams, EventIngestResponse, EventSearchParams, EventSearchResponse, EventUpdateParams, EventUpdateResponse, Events } from "./resources/events/events.js";
22
22
  import { Plan, PlanCreateParams, PlanListParams, PlanUpdateParams, Plans, PlansPage } from "./resources/plans/plans.js";
23
- import { EvaluatePriceGroup, Price, PriceCreateParams, PriceEvaluateMultipleParams, PriceEvaluateMultipleResponse, PriceEvaluateParams, PriceEvaluateResponse, PriceListParams, PriceUpdateParams, Prices, PricesPage } from "./resources/prices/prices.js";
23
+ import { EvaluatePriceGroup, PriceCreateParams, PriceEvaluateMultipleParams, PriceEvaluateMultipleResponse, PriceEvaluateParams, PriceEvaluatePreviewEventsParams, PriceEvaluatePreviewEventsResponse, PriceEvaluateResponse, PriceListParams, PriceUpdateParams, Prices } from "./resources/prices/prices.js";
24
24
  export interface ClientOptions {
25
25
  /**
26
26
  * Defaults to process.env['ORB_API_KEY'].
@@ -42,6 +42,8 @@ export interface ClientOptions {
42
42
  *
43
43
  * Note that request timeouts are retried by default, so in a worst-case scenario you may wait
44
44
  * much longer than this timeout before the promise succeeds or fails.
45
+ *
46
+ * @unit milliseconds
45
47
  */
46
48
  timeout?: number | undefined;
47
49
  /**
@@ -84,6 +86,7 @@ export interface ClientOptions {
84
86
  * API Client for interfacing with the Orb API.
85
87
  */
86
88
  export declare class Orb extends Core.APIClient {
89
+ #private;
87
90
  apiKey: string;
88
91
  webhookSecret: string | null;
89
92
  private _options;
@@ -159,27 +162,161 @@ export declare namespace Orb {
159
162
  export { TopLevel as TopLevel, type TopLevelPingResponse as TopLevelPingResponse };
160
163
  export { Beta as Beta, type PlanVersion as PlanVersion, type PlanVersionPhase as PlanVersionPhase, type BetaCreatePlanVersionParams as BetaCreatePlanVersionParams, type BetaSetDefaultPlanVersionParams as BetaSetDefaultPlanVersionParams, };
161
164
  export { Coupons as Coupons, type Coupon as Coupon, CouponsPage as CouponsPage, type CouponCreateParams as CouponCreateParams, type CouponListParams as CouponListParams, };
162
- export { CreditNotes as CreditNotes, type CreditNote as CreditNote, CreditNotesPage as CreditNotesPage, type CreditNoteCreateParams as CreditNoteCreateParams, type CreditNoteListParams as CreditNoteListParams, };
163
- export { Customers as Customers, type Customer as Customer, CustomersPage as CustomersPage, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, type CustomerUpdateByExternalIDParams as CustomerUpdateByExternalIDParams, };
165
+ export { CreditNotes as CreditNotes, type CreditNoteCreateParams as CreditNoteCreateParams, type CreditNoteListParams as CreditNoteListParams, };
166
+ export { Customers as Customers, type AccountingProviderConfig as AccountingProviderConfig, type AddressInput as AddressInput, type Customer as Customer, type CustomerHierarchyConfig as CustomerHierarchyConfig, type NewAccountingSyncConfiguration as NewAccountingSyncConfiguration, type NewAvalaraTaxConfiguration as NewAvalaraTaxConfiguration, type NewReportingConfiguration as NewReportingConfiguration, type NewSphereConfiguration as NewSphereConfiguration, type NewTaxJarConfiguration as NewTaxJarConfiguration, CustomersPage as CustomersPage, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, type CustomerUpdateByExternalIDParams as CustomerUpdateByExternalIDParams, };
164
167
  export { Events as Events, type EventUpdateResponse as EventUpdateResponse, type EventDeprecateResponse as EventDeprecateResponse, type EventIngestResponse as EventIngestResponse, type EventSearchResponse as EventSearchResponse, type EventUpdateParams as EventUpdateParams, type EventIngestParams as EventIngestParams, type EventSearchParams as EventSearchParams, };
165
168
  export { InvoiceLineItems as InvoiceLineItems, type InvoiceLineItemCreateResponse as InvoiceLineItemCreateResponse, type InvoiceLineItemCreateParams as InvoiceLineItemCreateParams, };
166
- export { Invoices as Invoices, type Invoice as Invoice, type InvoiceFetchUpcomingResponse as InvoiceFetchUpcomingResponse, InvoicesPage as InvoicesPage, type InvoiceCreateParams as InvoiceCreateParams, type InvoiceUpdateParams as InvoiceUpdateParams, type InvoiceListParams as InvoiceListParams, type InvoiceFetchUpcomingParams as InvoiceFetchUpcomingParams, type InvoiceIssueParams as InvoiceIssueParams, type InvoiceMarkPaidParams as InvoiceMarkPaidParams, };
169
+ export { Invoices as Invoices, type InvoiceFetchUpcomingResponse as InvoiceFetchUpcomingResponse, type InvoiceCreateParams as InvoiceCreateParams, type InvoiceUpdateParams as InvoiceUpdateParams, type InvoiceListParams as InvoiceListParams, type InvoiceFetchUpcomingParams as InvoiceFetchUpcomingParams, type InvoiceIssueParams as InvoiceIssueParams, type InvoiceMarkPaidParams as InvoiceMarkPaidParams, };
167
170
  export { Items as Items, type Item as Item, ItemsPage as ItemsPage, type ItemCreateParams as ItemCreateParams, type ItemUpdateParams as ItemUpdateParams, type ItemListParams as ItemListParams, };
168
171
  export { Metrics as Metrics, type BillableMetric as BillableMetric, BillableMetricsPage as BillableMetricsPage, type MetricCreateParams as MetricCreateParams, type MetricUpdateParams as MetricUpdateParams, type MetricListParams as MetricListParams, };
169
172
  export { Plans as Plans, type Plan as Plan, PlansPage as PlansPage, type PlanCreateParams as PlanCreateParams, type PlanUpdateParams as PlanUpdateParams, type PlanListParams as PlanListParams, };
170
- export { Prices as Prices, type EvaluatePriceGroup as EvaluatePriceGroup, type Price as Price, type PriceEvaluateResponse as PriceEvaluateResponse, type PriceEvaluateMultipleResponse as PriceEvaluateMultipleResponse, PricesPage as PricesPage, type PriceCreateParams as PriceCreateParams, type PriceUpdateParams as PriceUpdateParams, type PriceListParams as PriceListParams, type PriceEvaluateParams as PriceEvaluateParams, type PriceEvaluateMultipleParams as PriceEvaluateMultipleParams, };
171
- export { type Subscriptions as Subscriptions, type Subscription as Subscription, type SubscriptionUsage as SubscriptionUsage, type SubscriptionCreateResponse as SubscriptionCreateResponse, type SubscriptionCancelResponse as SubscriptionCancelResponse, type SubscriptionFetchCostsResponse as SubscriptionFetchCostsResponse, type SubscriptionFetchScheduleResponse as SubscriptionFetchScheduleResponse, type SubscriptionPriceIntervalsResponse as SubscriptionPriceIntervalsResponse, type SubscriptionRedeemCouponResponse as SubscriptionRedeemCouponResponse, type SubscriptionSchedulePlanChangeResponse as SubscriptionSchedulePlanChangeResponse, type SubscriptionTriggerPhaseResponse as SubscriptionTriggerPhaseResponse, type SubscriptionUnscheduleCancellationResponse as SubscriptionUnscheduleCancellationResponse, type SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse as SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse, type SubscriptionUnschedulePendingPlanChangesResponse as SubscriptionUnschedulePendingPlanChangesResponse, type SubscriptionUpdateFixedFeeQuantityResponse as SubscriptionUpdateFixedFeeQuantityResponse, type SubscriptionUpdateTrialResponse as SubscriptionUpdateTrialResponse, SubscriptionsPage as SubscriptionsPage, SubscriptionFetchScheduleResponsesPage as SubscriptionFetchScheduleResponsesPage, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionCancelParams as SubscriptionCancelParams, type SubscriptionFetchCostsParams as SubscriptionFetchCostsParams, type SubscriptionFetchScheduleParams as SubscriptionFetchScheduleParams, type SubscriptionFetchUsageParams as SubscriptionFetchUsageParams, type SubscriptionPriceIntervalsParams as SubscriptionPriceIntervalsParams, type SubscriptionRedeemCouponParams as SubscriptionRedeemCouponParams, type SubscriptionSchedulePlanChangeParams as SubscriptionSchedulePlanChangeParams, type SubscriptionTriggerPhaseParams as SubscriptionTriggerPhaseParams, type SubscriptionUnscheduleFixedFeeQuantityUpdatesParams as SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, type SubscriptionUpdateFixedFeeQuantityParams as SubscriptionUpdateFixedFeeQuantityParams, type SubscriptionUpdateTrialParams as SubscriptionUpdateTrialParams, };
172
- export { Alerts as Alerts, type Alert as Alert, AlertsPage as AlertsPage, type AlertUpdateParams as AlertUpdateParams, type AlertListParams as AlertListParams, type AlertCreateForCustomerParams as AlertCreateForCustomerParams, type AlertCreateForExternalCustomerParams as AlertCreateForExternalCustomerParams, type AlertCreateForSubscriptionParams as AlertCreateForSubscriptionParams, type AlertDisableParams as AlertDisableParams, type AlertEnableParams as AlertEnableParams, };
173
+ export { Prices as Prices, type EvaluatePriceGroup as EvaluatePriceGroup, type PriceEvaluateResponse as PriceEvaluateResponse, type PriceEvaluateMultipleResponse as PriceEvaluateMultipleResponse, type PriceEvaluatePreviewEventsResponse as PriceEvaluatePreviewEventsResponse, type PriceCreateParams as PriceCreateParams, type PriceUpdateParams as PriceUpdateParams, type PriceListParams as PriceListParams, type PriceEvaluateParams as PriceEvaluateParams, type PriceEvaluateMultipleParams as PriceEvaluateMultipleParams, type PriceEvaluatePreviewEventsParams as PriceEvaluatePreviewEventsParams, };
174
+ export { type Subscriptions as Subscriptions, type DiscountOverride as DiscountOverride, type NewSubscriptionBPSPrice as NewSubscriptionBPSPrice, type NewSubscriptionBulkBPSPrice as NewSubscriptionBulkBPSPrice, type NewSubscriptionBulkPrice as NewSubscriptionBulkPrice, type NewSubscriptionBulkWithProrationPrice as NewSubscriptionBulkWithProrationPrice, type NewSubscriptionCumulativeGroupedBulkPrice as NewSubscriptionCumulativeGroupedBulkPrice, type NewSubscriptionGroupedAllocationPrice as NewSubscriptionGroupedAllocationPrice, type NewSubscriptionGroupedTieredPackagePrice as NewSubscriptionGroupedTieredPackagePrice, type NewSubscriptionGroupedTieredPrice as NewSubscriptionGroupedTieredPrice, type NewSubscriptionGroupedWithMeteredMinimumPrice as NewSubscriptionGroupedWithMeteredMinimumPrice, type NewSubscriptionGroupedWithProratedMinimumPrice as NewSubscriptionGroupedWithProratedMinimumPrice, type NewSubscriptionMatrixPrice as NewSubscriptionMatrixPrice, type NewSubscriptionMatrixWithAllocationPrice as NewSubscriptionMatrixWithAllocationPrice, type NewSubscriptionMatrixWithDisplayNamePrice as NewSubscriptionMatrixWithDisplayNamePrice, type NewSubscriptionMaxGroupTieredPackagePrice as NewSubscriptionMaxGroupTieredPackagePrice, type NewSubscriptionPackagePrice as NewSubscriptionPackagePrice, type NewSubscriptionPackageWithAllocationPrice as NewSubscriptionPackageWithAllocationPrice, type NewSubscriptionScalableMatrixWithTieredPricingPrice as NewSubscriptionScalableMatrixWithTieredPricingPrice, type NewSubscriptionScalableMatrixWithUnitPricingPrice as NewSubscriptionScalableMatrixWithUnitPricingPrice, type NewSubscriptionThresholdTotalAmountPrice as NewSubscriptionThresholdTotalAmountPrice, type NewSubscriptionTierWithProrationPrice as NewSubscriptionTierWithProrationPrice, type NewSubscriptionTieredBPSPrice as NewSubscriptionTieredBPSPrice, type NewSubscriptionTieredPackagePrice as NewSubscriptionTieredPackagePrice, type NewSubscriptionTieredPackageWithMinimumPrice as NewSubscriptionTieredPackageWithMinimumPrice, type NewSubscriptionTieredPrice as NewSubscriptionTieredPrice, type NewSubscriptionTieredWithMinimumPrice as NewSubscriptionTieredWithMinimumPrice, type NewSubscriptionUnitPrice as NewSubscriptionUnitPrice, type NewSubscriptionUnitWithPercentPrice as NewSubscriptionUnitWithPercentPrice, type NewSubscriptionUnitWithProrationPrice as NewSubscriptionUnitWithProrationPrice, type Subscription as Subscription, type SubscriptionUsage as SubscriptionUsage, type SubscriptionFetchCostsResponse as SubscriptionFetchCostsResponse, type SubscriptionFetchScheduleResponse as SubscriptionFetchScheduleResponse, SubscriptionsPage as SubscriptionsPage, SubscriptionFetchScheduleResponsesPage as SubscriptionFetchScheduleResponsesPage, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionCancelParams as SubscriptionCancelParams, type SubscriptionFetchCostsParams as SubscriptionFetchCostsParams, type SubscriptionFetchScheduleParams as SubscriptionFetchScheduleParams, type SubscriptionFetchUsageParams as SubscriptionFetchUsageParams, type SubscriptionPriceIntervalsParams as SubscriptionPriceIntervalsParams, type SubscriptionRedeemCouponParams as SubscriptionRedeemCouponParams, type SubscriptionSchedulePlanChangeParams as SubscriptionSchedulePlanChangeParams, type SubscriptionTriggerPhaseParams as SubscriptionTriggerPhaseParams, type SubscriptionUnscheduleFixedFeeQuantityUpdatesParams as SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, type SubscriptionUpdateFixedFeeQuantityParams as SubscriptionUpdateFixedFeeQuantityParams, type SubscriptionUpdateTrialParams as SubscriptionUpdateTrialParams, };
175
+ export { Alerts as Alerts, type Alert as Alert, type Threshold as Threshold, AlertsPage as AlertsPage, type AlertUpdateParams as AlertUpdateParams, type AlertListParams as AlertListParams, type AlertCreateForCustomerParams as AlertCreateForCustomerParams, type AlertCreateForExternalCustomerParams as AlertCreateForExternalCustomerParams, type AlertCreateForSubscriptionParams as AlertCreateForSubscriptionParams, type AlertDisableParams as AlertDisableParams, type AlertEnableParams as AlertEnableParams, };
173
176
  export { type DimensionalPriceGroups as DimensionalPriceGroups, type DimensionalPriceGroup as DimensionalPriceGroup, DimensionalPriceGroupsPage as DimensionalPriceGroupsPage, type DimensionalPriceGroupCreateParams as DimensionalPriceGroupCreateParams, type DimensionalPriceGroupListParams as DimensionalPriceGroupListParams, };
174
- export { SubscriptionChanges as SubscriptionChanges, type SubscriptionChangeRetrieveResponse as SubscriptionChangeRetrieveResponse, type SubscriptionChangeApplyResponse as SubscriptionChangeApplyResponse, type SubscriptionChangeCancelResponse as SubscriptionChangeCancelResponse, type SubscriptionChangeApplyParams as SubscriptionChangeApplyParams, };
177
+ export { SubscriptionChanges as SubscriptionChanges, type MutatedSubscription as MutatedSubscription, type SubscriptionChangeRetrieveResponse as SubscriptionChangeRetrieveResponse, type SubscriptionChangeApplyResponse as SubscriptionChangeApplyResponse, type SubscriptionChangeCancelResponse as SubscriptionChangeCancelResponse, type SubscriptionChangeApplyParams as SubscriptionChangeApplyParams, };
178
+ export type Address = API.Address;
179
+ export type AdjustmentInterval = API.AdjustmentInterval;
180
+ export type AggregatedCost = API.AggregatedCost;
181
+ export type Allocation = API.Allocation;
175
182
  export type AmountDiscount = API.AmountDiscount;
183
+ export type AmountDiscountInterval = API.AmountDiscountInterval;
184
+ export type BillableMetricTiny = API.BillableMetricTiny;
185
+ export type BillingCycleAnchorConfiguration = API.BillingCycleAnchorConfiguration;
186
+ export type BillingCycleConfiguration = API.BillingCycleConfiguration;
176
187
  export type BillingCycleRelativeDate = API.BillingCycleRelativeDate;
188
+ export type BPSConfig = API.BPSConfig;
189
+ export type BPSTier = API.BPSTier;
190
+ export type BulkBPSConfig = API.BulkBPSConfig;
191
+ export type BulkBPSTier = API.BulkBPSTier;
192
+ export type BulkConfig = API.BulkConfig;
193
+ export type BulkTier = API.BulkTier;
194
+ export type ChangedSubscriptionResources = API.ChangedSubscriptionResources;
195
+ export type ConversionRateTier = API.ConversionRateTier;
196
+ export type ConversionRateTieredConfig = API.ConversionRateTieredConfig;
197
+ export type ConversionRateUnitConfig = API.ConversionRateUnitConfig;
198
+ export type CouponRedemption = API.CouponRedemption;
199
+ export type CreditNote = API.CreditNote;
200
+ export type CreditNoteTiny = API.CreditNoteTiny;
201
+ export type CustomExpiration = API.CustomExpiration;
202
+ export type CustomerMinified = API.CustomerMinified;
203
+ export type CustomerTaxID = API.CustomerTaxID;
204
+ export type DimensionalPriceConfiguration = API.DimensionalPriceConfiguration;
177
205
  export type Discount = API.Discount;
206
+ export type FixedFeeQuantityScheduleEntry = API.FixedFeeQuantityScheduleEntry;
207
+ export type FixedFeeQuantityTransition = API.FixedFeeQuantityTransition;
208
+ export type Invoice = API.Invoice;
178
209
  export type InvoiceLevelDiscount = API.InvoiceLevelDiscount;
210
+ export type InvoiceTiny = API.InvoiceTiny;
211
+ export type ItemSlim = API.ItemSlim;
212
+ export type MatrixConfig = API.MatrixConfig;
213
+ export type MatrixSubLineItem = API.MatrixSubLineItem;
214
+ export type MatrixValue = API.MatrixValue;
215
+ export type MatrixWithAllocationConfig = API.MatrixWithAllocationConfig;
216
+ export type Maximum = API.Maximum;
217
+ export type MaximumInterval = API.MaximumInterval;
218
+ export type Minimum = API.Minimum;
219
+ export type MinimumInterval = API.MinimumInterval;
220
+ export type MonetaryAmountDiscountAdjustment = API.MonetaryAmountDiscountAdjustment;
221
+ export type MonetaryMaximumAdjustment = API.MonetaryMaximumAdjustment;
222
+ export type MonetaryMinimumAdjustment = API.MonetaryMinimumAdjustment;
223
+ export type MonetaryPercentageDiscountAdjustment = API.MonetaryPercentageDiscountAdjustment;
224
+ export type MonetaryUsageDiscountAdjustment = API.MonetaryUsageDiscountAdjustment;
225
+ export type NewAllocationPrice = API.NewAllocationPrice;
226
+ export type NewAmountDiscount = API.NewAmountDiscount;
227
+ export type NewBillingCycleConfiguration = API.NewBillingCycleConfiguration;
228
+ export type NewDimensionalPriceConfiguration = API.NewDimensionalPriceConfiguration;
229
+ export type NewFloatingBPSPrice = API.NewFloatingBPSPrice;
230
+ export type NewFloatingBulkBPSPrice = API.NewFloatingBulkBPSPrice;
231
+ export type NewFloatingBulkPrice = API.NewFloatingBulkPrice;
232
+ export type NewFloatingBulkWithProrationPrice = API.NewFloatingBulkWithProrationPrice;
233
+ export type NewFloatingCumulativeGroupedBulkPrice = API.NewFloatingCumulativeGroupedBulkPrice;
234
+ export type NewFloatingGroupedAllocationPrice = API.NewFloatingGroupedAllocationPrice;
235
+ export type NewFloatingGroupedTieredPackagePrice = API.NewFloatingGroupedTieredPackagePrice;
236
+ export type NewFloatingGroupedTieredPrice = API.NewFloatingGroupedTieredPrice;
237
+ export type NewFloatingGroupedWithMeteredMinimumPrice = API.NewFloatingGroupedWithMeteredMinimumPrice;
238
+ export type NewFloatingGroupedWithProratedMinimumPrice = API.NewFloatingGroupedWithProratedMinimumPrice;
239
+ export type NewFloatingMatrixPrice = API.NewFloatingMatrixPrice;
240
+ export type NewFloatingMatrixWithAllocationPrice = API.NewFloatingMatrixWithAllocationPrice;
241
+ export type NewFloatingMatrixWithDisplayNamePrice = API.NewFloatingMatrixWithDisplayNamePrice;
242
+ export type NewFloatingMaxGroupTieredPackagePrice = API.NewFloatingMaxGroupTieredPackagePrice;
243
+ export type NewFloatingPackagePrice = API.NewFloatingPackagePrice;
244
+ export type NewFloatingPackageWithAllocationPrice = API.NewFloatingPackageWithAllocationPrice;
245
+ export type NewFloatingScalableMatrixWithTieredPricingPrice = API.NewFloatingScalableMatrixWithTieredPricingPrice;
246
+ export type NewFloatingScalableMatrixWithUnitPricingPrice = API.NewFloatingScalableMatrixWithUnitPricingPrice;
247
+ export type NewFloatingThresholdTotalAmountPrice = API.NewFloatingThresholdTotalAmountPrice;
248
+ export type NewFloatingTieredBPSPrice = API.NewFloatingTieredBPSPrice;
249
+ export type NewFloatingTieredPackagePrice = API.NewFloatingTieredPackagePrice;
250
+ export type NewFloatingTieredPackageWithMinimumPrice = API.NewFloatingTieredPackageWithMinimumPrice;
251
+ export type NewFloatingTieredPrice = API.NewFloatingTieredPrice;
252
+ export type NewFloatingTieredWithMinimumPrice = API.NewFloatingTieredWithMinimumPrice;
253
+ export type NewFloatingTieredWithProrationPrice = API.NewFloatingTieredWithProrationPrice;
254
+ export type NewFloatingUnitPrice = API.NewFloatingUnitPrice;
255
+ export type NewFloatingUnitWithPercentPrice = API.NewFloatingUnitWithPercentPrice;
256
+ export type NewFloatingUnitWithProrationPrice = API.NewFloatingUnitWithProrationPrice;
257
+ export type NewMaximum = API.NewMaximum;
258
+ export type NewMinimum = API.NewMinimum;
259
+ export type NewPercentageDiscount = API.NewPercentageDiscount;
260
+ export type NewPlanBPSPrice = API.NewPlanBPSPrice;
261
+ export type NewPlanBulkBPSPrice = API.NewPlanBulkBPSPrice;
262
+ export type NewPlanBulkPrice = API.NewPlanBulkPrice;
263
+ export type NewPlanBulkWithProrationPrice = API.NewPlanBulkWithProrationPrice;
264
+ export type NewPlanCumulativeGroupedBulkPrice = API.NewPlanCumulativeGroupedBulkPrice;
265
+ export type NewPlanGroupedAllocationPrice = API.NewPlanGroupedAllocationPrice;
266
+ export type NewPlanGroupedTieredPackagePrice = API.NewPlanGroupedTieredPackagePrice;
267
+ export type NewPlanGroupedTieredPrice = API.NewPlanGroupedTieredPrice;
268
+ export type NewPlanGroupedWithMeteredMinimumPrice = API.NewPlanGroupedWithMeteredMinimumPrice;
269
+ export type NewPlanGroupedWithProratedMinimumPrice = API.NewPlanGroupedWithProratedMinimumPrice;
270
+ export type NewPlanMatrixPrice = API.NewPlanMatrixPrice;
271
+ export type NewPlanMatrixWithAllocationPrice = API.NewPlanMatrixWithAllocationPrice;
272
+ export type NewPlanMatrixWithDisplayNamePrice = API.NewPlanMatrixWithDisplayNamePrice;
273
+ export type NewPlanMaxGroupTieredPackagePrice = API.NewPlanMaxGroupTieredPackagePrice;
274
+ export type NewPlanPackagePrice = API.NewPlanPackagePrice;
275
+ export type NewPlanPackageWithAllocationPrice = API.NewPlanPackageWithAllocationPrice;
276
+ export type NewPlanScalableMatrixWithTieredPricingPrice = API.NewPlanScalableMatrixWithTieredPricingPrice;
277
+ export type NewPlanScalableMatrixWithUnitPricingPrice = API.NewPlanScalableMatrixWithUnitPricingPrice;
278
+ export type NewPlanThresholdTotalAmountPrice = API.NewPlanThresholdTotalAmountPrice;
279
+ export type NewPlanTierWithProrationPrice = API.NewPlanTierWithProrationPrice;
280
+ export type NewPlanTieredBPSPrice = API.NewPlanTieredBPSPrice;
281
+ export type NewPlanTieredPackagePrice = API.NewPlanTieredPackagePrice;
282
+ export type NewPlanTieredPackageWithMinimumPrice = API.NewPlanTieredPackageWithMinimumPrice;
283
+ export type NewPlanTieredPrice = API.NewPlanTieredPrice;
284
+ export type NewPlanTieredWithMinimumPrice = API.NewPlanTieredWithMinimumPrice;
285
+ export type NewPlanUnitPrice = API.NewPlanUnitPrice;
286
+ export type NewPlanUnitWithPercentPrice = API.NewPlanUnitWithPercentPrice;
287
+ export type NewPlanUnitWithProrationPrice = API.NewPlanUnitWithProrationPrice;
288
+ export type NewUsageDiscount = API.NewUsageDiscount;
289
+ export type OtherSubLineItem = API.OtherSubLineItem;
290
+ export type PackageConfig = API.PackageConfig;
179
291
  export type PaginationMetadata = API.PaginationMetadata;
292
+ export type PerPriceCost = API.PerPriceCost;
180
293
  export type PercentageDiscount = API.PercentageDiscount;
294
+ export type PercentageDiscountInterval = API.PercentageDiscountInterval;
295
+ export type PlanPhaseAmountDiscountAdjustment = API.PlanPhaseAmountDiscountAdjustment;
296
+ export type PlanPhaseMaximumAdjustment = API.PlanPhaseMaximumAdjustment;
297
+ export type PlanPhaseMinimumAdjustment = API.PlanPhaseMinimumAdjustment;
298
+ export type PlanPhasePercentageDiscountAdjustment = API.PlanPhasePercentageDiscountAdjustment;
299
+ export type PlanPhaseUsageDiscountAdjustment = API.PlanPhaseUsageDiscountAdjustment;
300
+ export type Price = API.Price;
301
+ export type PriceInterval = API.PriceInterval;
302
+ export type SubLineItemGrouping = API.SubLineItemGrouping;
303
+ export type SubLineItemMatrixConfig = API.SubLineItemMatrixConfig;
304
+ export type SubscriptionChangeMinified = API.SubscriptionChangeMinified;
305
+ export type SubscriptionMinified = API.SubscriptionMinified;
306
+ export type SubscriptionTrialInfo = API.SubscriptionTrialInfo;
307
+ export type TaxAmount = API.TaxAmount;
308
+ export type Tier = API.Tier;
309
+ export type TierConfig = API.TierConfig;
310
+ export type TierSubLineItem = API.TierSubLineItem;
311
+ export type TieredBPSConfig = API.TieredBPSConfig;
312
+ export type TieredConfig = API.TieredConfig;
313
+ export type TieredConversionRateConfig = API.TieredConversionRateConfig;
314
+ export type TransformPriceFilter = API.TransformPriceFilter;
181
315
  export type TrialDiscount = API.TrialDiscount;
316
+ export type UnitConfig = API.UnitConfig;
317
+ export type UnitConversionRateConfig = API.UnitConversionRateConfig;
182
318
  export type UsageDiscount = API.UsageDiscount;
319
+ export type UsageDiscountInterval = API.UsageDiscountInterval;
183
320
  }
184
321
  export { toFile, fileFromPath } from "./uploads.js";
185
322
  export { OrbError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, URLNotFound, NotFoundError, ConflictError, RateLimitError, BadRequestError, RequestTooLarge, TooManyRequests, ResourceNotFound, ResourceConflict, ResourceTooLarge, AuthenticationError, InternalServerError, ConstraintViolation, FeatureNotAvailable, PermissionDeniedError, RequestValidationError, OrbAuthenticationError, OrbInternalServerError, UnprocessableEntityError, DuplicateResourceCreation, } from "./error.js";
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACL,KAAK,EACL,4BAA4B,EAC5B,oCAAoC,EACpC,gCAAgC,EAChC,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,UAAU,EACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACX,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,OAAO,EACP,mBAAmB,EACnB,0BAA0B,EAC1B,4BAA4B,EAC5B,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,IAAI,EACJ,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,KAAK,EACL,SAAS,EACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,E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