rebilly-js-sdk 62.196.0 → 62.196.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,3 @@
1
- ## 62.196.0 (2026-10-01)
1
+ ## 62.196.2 (2026-10-02)
2
2
 
3
- ### Features
4
-
5
- - **fe:** Schedule order item changes for the next renewal in Recomm ([#27231](https://github.com/Rebilly/rebilly/pull/27231))
3
+ This was a version bump only for rebilly-js-sdk to align it with other projects, there were no code changes.
package/README.md CHANGED
@@ -19,42 +19,45 @@ To install and use the JS SDK, see the [JS SDK quickstart](https://www.rebilly.c
19
19
 
20
20
  ## Development
21
21
 
22
+ The resources in `src/resources` are generated from the API definitions by `js-sdk-generator:generate-sdk-code` and are not committed.
23
+ Run the commands below through Nx, which generates them first.
24
+
22
25
  Build development `dist` folder without sourcemap
23
26
 
24
27
  ```
25
- npm run build:dev
28
+ pnpm nx run rebilly-js-sdk:build:dev
26
29
  ```
27
30
 
28
- Build release `dist` folder with sourcemap (release)
31
+ Build release `dist` folder with sourcemap and types
29
32
 
30
33
  ```
31
- npm run build:prod
34
+ pnpm nx run rebilly-js-sdk:build
32
35
  ```
33
36
 
34
37
  Run all unit tests
35
38
 
36
39
  ```
37
- npm run unit
40
+ pnpm nx run rebilly-js-sdk:test:unit
38
41
  ```
39
42
 
40
43
  Watch unit tests and re-run on change
41
44
 
42
45
  ```
43
- npm run unit:watch
46
+ pnpm nx run rebilly-js-sdk:test:unit:watch
44
47
  ```
45
48
 
46
49
  Generate coverage report
47
50
 
48
51
  ```
49
- npm run coverage
52
+ pnpm nx run rebilly-js-sdk:test:unit:coverage
50
53
  ```
51
54
 
52
- Check that the generated typescript type file is valid (note: you should build the types first, by using `npm run ts:bundle-types`)
55
+ Check that the generated typescript type file is valid (build first, which also runs this check)
53
56
 
54
57
  ```
55
- npm run test:check-build-types
58
+ pnpm nx run rebilly-js-sdk:test:check-build-types
56
59
  ```
57
60
 
58
61
  ## Typescript types generation
59
62
 
60
- Types are automatically created because `npm run ts:bundle-types` is called as part of `npm run build:prod`.
63
+ Types are automatically created because `ts:bundle-types` is called as part of `build`.
@@ -3162,7 +3162,11 @@ export interface corePaths {
3162
3162
  };
3163
3163
  };
3164
3164
  "/invoices/{id}/abandon": {
3165
- /** Abandons an invoice with a specified ID. */
3165
+ /**
3166
+ * Abandons an invoice with a specified ID.
3167
+ * This operation removes credit memo allocations from the invoice.
3168
+ * Unused credit returns to the credit memo.
3169
+ */
3166
3170
  post: operations["PostInvoiceAbandonment"];
3167
3171
  parameters: {
3168
3172
  path: {
@@ -3172,7 +3176,11 @@ export interface corePaths {
3172
3176
  };
3173
3177
  };
3174
3178
  "/invoices/{id}/void": {
3175
- /** Voids an invoice with a specified ID. */
3179
+ /**
3180
+ * Voids an invoice with a specified ID.
3181
+ * This operation removes credit memo allocations from the invoice.
3182
+ * Unused credit returns to the credit memo.
3183
+ */
3176
3184
  post: operations["PostInvoiceVoid"];
3177
3185
  parameters: {
3178
3186
  path: {
@@ -13682,9 +13690,19 @@ export interface coreComponents {
13682
13690
  recentInvoiceId?: string | null;
13683
13691
  /** Details of items in the order. */
13684
13692
  items: coreComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
13685
- /** Delivery address of the order. */
13693
+ /**
13694
+ * Delivery address of the order.
13695
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
13696
+ * Issued invoices are not updated unless the order is `pending`.
13697
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
13698
+ */
13686
13699
  deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
13687
- /** Billing address of the order. */
13700
+ /**
13701
+ * Billing address of the order.
13702
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
13703
+ * Issued invoices are not updated unless the order is `pending`.
13704
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
13705
+ */
13688
13706
  billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
13689
13707
  /** Date and time when the order is activated. */
13690
13708
  activationTime?: string | null;
@@ -14310,9 +14328,19 @@ export interface coreComponents {
14310
14328
  poNumber?: string | null;
14311
14329
  /** Notes for the customer that are displayed on the order invoice. */
14312
14330
  notes?: string;
14313
- /** Billing address of the order. */
14331
+ /**
14332
+ * Billing address of the order.
14333
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
14334
+ * Issued invoices are not updated unless the order is `pending`.
14335
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
14336
+ */
14314
14337
  billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
14315
- /** Delivery address of the order. */
14338
+ /**
14339
+ * Delivery address of the order.
14340
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
14341
+ * Issued invoices are not updated unless the order is `pending`.
14342
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
14343
+ */
14316
14344
  deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
14317
14345
  /**
14318
14346
  * Length of time, in ISO-8601 durations format,
@@ -33346,7 +33374,11 @@ export interface operations {
33346
33374
  };
33347
33375
  };
33348
33376
  };
33349
- /** Abandons an invoice with a specified ID. */
33377
+ /**
33378
+ * Abandons an invoice with a specified ID.
33379
+ * This operation removes credit memo allocations from the invoice.
33380
+ * Unused credit returns to the credit memo.
33381
+ */
33350
33382
  PostInvoiceAbandonment: {
33351
33383
  parameters: {
33352
33384
  path: {
@@ -33368,7 +33400,11 @@ export interface operations {
33368
33400
  429: coreComponents["responses"]["TooManyRequests"];
33369
33401
  };
33370
33402
  };
33371
- /** Voids an invoice with a specified ID. */
33403
+ /**
33404
+ * Voids an invoice with a specified ID.
33405
+ * This operation removes credit memo allocations from the invoice.
33406
+ * Unused credit returns to the credit memo.
33407
+ */
33372
33408
  PostInvoiceVoid: {
33373
33409
  parameters: {
33374
33410
  path: {
@@ -53427,9 +53463,19 @@ export interface storefrontComponents {
53427
53463
  recentInvoiceId?: string | null;
53428
53464
  /** Details of items in the order. */
53429
53465
  items: storefrontComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
53430
- /** Delivery address of the order. */
53466
+ /**
53467
+ * Delivery address of the order.
53468
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
53469
+ * Issued invoices are not updated unless the order is `pending`.
53470
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
53471
+ */
53431
53472
  deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
53432
- /** Billing address of the order. */
53473
+ /**
53474
+ * Billing address of the order.
53475
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
53476
+ * Issued invoices are not updated unless the order is `pending`.
53477
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
53478
+ */
53433
53479
  billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
53434
53480
  /** Date and time when the order is activated. */
53435
53481
  activationTime?: string | null;
@@ -54055,9 +54101,19 @@ export interface storefrontComponents {
54055
54101
  poNumber?: string | null;
54056
54102
  /** Notes for the customer that are displayed on the order invoice. */
54057
54103
  notes?: string;
54058
- /** Billing address of the order. */
54104
+ /**
54105
+ * Billing address of the order.
54106
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
54107
+ * Issued invoices are not updated unless the order is `pending`.
54108
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
54109
+ */
54059
54110
  billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
54060
- /** Delivery address of the order. */
54111
+ /**
54112
+ * Delivery address of the order.
54113
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
54114
+ * Issued invoices are not updated unless the order is `pending`.
54115
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
54116
+ */
54061
54117
  deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
54062
54118
  /**
54063
54119
  * Length of time, in ISO-8601 durations format,
@@ -80122,9 +80178,19 @@ export interface reportsComponents {
80122
80178
  recentInvoiceId?: string | null;
80123
80179
  /** Details of items in the order. */
80124
80180
  items: reportsComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
80125
- /** Delivery address of the order. */
80181
+ /**
80182
+ * Delivery address of the order.
80183
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
80184
+ * Issued invoices are not updated unless the order is `pending`.
80185
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
80186
+ */
80126
80187
  deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80127
- /** Billing address of the order. */
80188
+ /**
80189
+ * Billing address of the order.
80190
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
80191
+ * Issued invoices are not updated unless the order is `pending`.
80192
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
80193
+ */
80128
80194
  billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80129
80195
  /** Date and time when the order is activated. */
80130
80196
  activationTime?: string | null;
@@ -80750,9 +80816,19 @@ export interface reportsComponents {
80750
80816
  poNumber?: string | null;
80751
80817
  /** Notes for the customer that are displayed on the order invoice. */
80752
80818
  notes?: string;
80753
- /** Billing address of the order. */
80819
+ /**
80820
+ * Billing address of the order.
80821
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
80822
+ * Issued invoices are not updated unless the order is `pending`.
80823
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
80824
+ */
80754
80825
  billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80755
- /** Delivery address of the order. */
80826
+ /**
80827
+ * Delivery address of the order.
80828
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
80829
+ * Issued invoices are not updated unless the order is `pending`.
80830
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
80831
+ */
80756
80832
  deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80757
80833
  /**
80758
80834
  * Length of time, in ISO-8601 durations format,
@@ -105027,7 +105103,7 @@ declare module "resources/experimental/subscriptions-resource" {
105027
105103
  }): rebilly.GetSubscriptionSummaryMetricReportResponsePromise;
105028
105104
  };
105029
105105
  }
105030
- declare module "resources/experimental/timelines-resource" {
105106
+ declare module "experimental/timelines-resource" {
105031
105107
  export default function TimelinesResource({ apiHandler }: {
105032
105108
  apiHandler: any;
105033
105109
  }): {
@@ -105036,7 +105112,7 @@ declare module "resources/experimental/timelines-resource" {
105036
105112
  limit?: number;
105037
105113
  offset?: number;
105038
105114
  }): any;
105039
- getTransaction({ id, eventTypes, limit, offset }: {
105115
+ getTransaction({ id, eventTypes, limit, offset, }: {
105040
105116
  id?: string;
105041
105117
  eventTypes?: any;
105042
105118
  limit?: number;
@@ -105050,14 +105126,14 @@ declare module "resources/experimental/timelines-resource" {
105050
105126
  }): any;
105051
105127
  };
105052
105128
  }
105053
- declare module "resources/experimental/location-resource" {
105129
+ declare module "experimental/location-resource" {
105054
105130
  export default function LocationResource({ apiHandler }: {
105055
105131
  apiHandler: any;
105056
105132
  }): {
105057
105133
  query(): any;
105058
105134
  };
105059
105135
  }
105060
- declare module "resources/experimental/experimental-resources" {
105136
+ declare module "experimental/experimental-resources" {
105061
105137
  export class ExperimentalApiInstance {
105062
105138
  constructor({ apiHandler }: {
105063
105139
  apiHandler: any;
@@ -105333,7 +105409,7 @@ declare module "resources/experimental/experimental-resources" {
105333
105409
  limit?: number;
105334
105410
  offset?: number;
105335
105411
  }): any;
105336
- getTransaction({ id, eventTypes, limit, offset }: {
105412
+ getTransaction({ id, eventTypes, limit, offset, }: {
105337
105413
  id?: string;
105338
105414
  eventTypes?: any;
105339
105415
  limit?: number;
@@ -106043,7 +106119,7 @@ declare module "create-api-instance" {
106043
106119
  apiHandler: any;
106044
106120
  }): StorefrontApiInstance;
106045
106121
  import { ApiInstance } from "resources/api-instance";
106046
- import { ExperimentalApiInstance } from "resources/experimental/experimental-resources";
106122
+ import { ExperimentalApiInstance } from "experimental/experimental-resources";
106047
106123
  import { StorefrontApiInstance } from "resources/storefront/storefront-api-instance";
106048
106124
  }
106049
106125
  declare module "rebilly-js-sdk" {
@@ -106069,7 +106145,7 @@ declare module "rebilly-js-sdk" {
106069
106145
  internalOptions?: InternalOptions;
106070
106146
  };
106071
106147
  import Errors from "errors/errors";
106072
- export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("resources/experimental/experimental-resources").ExperimentalApiInstance;
106148
+ export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("experimental/experimental-resources").ExperimentalApiInstance;
106073
106149
  export function RebillyStorefrontAPI({ publishableKey, jwt, sandbox, timeout, organizationId, urls, internalOptions, }?: StorefrontApiParams): import("resources/storefront/storefront-api-instance").StorefrontApiInstance;
106074
106150
  import cancellation from "cancellation";
106075
106151
  export { Errors as RebillyErrors, cancellation };
@@ -106079,3 +106155,8 @@ declare module "request-headers" {
106079
106155
  let Accept: string;
106080
106156
  }
106081
106157
  }
106158
+
106159
+ /** @deprecated Import from "experimental/experimental-resources" instead. */
106160
+ declare module "resources/experimental/experimental-resources" {
106161
+ export * from "experimental/experimental-resources";
106162
+ }
@@ -3162,7 +3162,11 @@ export interface corePaths {
3162
3162
  };
3163
3163
  };
3164
3164
  "/invoices/{id}/abandon": {
3165
- /** Abandons an invoice with a specified ID. */
3165
+ /**
3166
+ * Abandons an invoice with a specified ID.
3167
+ * This operation removes credit memo allocations from the invoice.
3168
+ * Unused credit returns to the credit memo.
3169
+ */
3166
3170
  post: operations["PostInvoiceAbandonment"];
3167
3171
  parameters: {
3168
3172
  path: {
@@ -3172,7 +3176,11 @@ export interface corePaths {
3172
3176
  };
3173
3177
  };
3174
3178
  "/invoices/{id}/void": {
3175
- /** Voids an invoice with a specified ID. */
3179
+ /**
3180
+ * Voids an invoice with a specified ID.
3181
+ * This operation removes credit memo allocations from the invoice.
3182
+ * Unused credit returns to the credit memo.
3183
+ */
3176
3184
  post: operations["PostInvoiceVoid"];
3177
3185
  parameters: {
3178
3186
  path: {
@@ -13682,9 +13690,19 @@ export interface coreComponents {
13682
13690
  recentInvoiceId?: string | null;
13683
13691
  /** Details of items in the order. */
13684
13692
  items: coreComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
13685
- /** Delivery address of the order. */
13693
+ /**
13694
+ * Delivery address of the order.
13695
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
13696
+ * Issued invoices are not updated unless the order is `pending`.
13697
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
13698
+ */
13686
13699
  deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
13687
- /** Billing address of the order. */
13700
+ /**
13701
+ * Billing address of the order.
13702
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
13703
+ * Issued invoices are not updated unless the order is `pending`.
13704
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
13705
+ */
13688
13706
  billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
13689
13707
  /** Date and time when the order is activated. */
13690
13708
  activationTime?: string | null;
@@ -14310,9 +14328,19 @@ export interface coreComponents {
14310
14328
  poNumber?: string | null;
14311
14329
  /** Notes for the customer that are displayed on the order invoice. */
14312
14330
  notes?: string;
14313
- /** Billing address of the order. */
14331
+ /**
14332
+ * Billing address of the order.
14333
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
14334
+ * Issued invoices are not updated unless the order is `pending`.
14335
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
14336
+ */
14314
14337
  billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
14315
- /** Delivery address of the order. */
14338
+ /**
14339
+ * Delivery address of the order.
14340
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
14341
+ * Issued invoices are not updated unless the order is `pending`.
14342
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
14343
+ */
14316
14344
  deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
14317
14345
  /**
14318
14346
  * Length of time, in ISO-8601 durations format,
@@ -33346,7 +33374,11 @@ export interface operations {
33346
33374
  };
33347
33375
  };
33348
33376
  };
33349
- /** Abandons an invoice with a specified ID. */
33377
+ /**
33378
+ * Abandons an invoice with a specified ID.
33379
+ * This operation removes credit memo allocations from the invoice.
33380
+ * Unused credit returns to the credit memo.
33381
+ */
33350
33382
  PostInvoiceAbandonment: {
33351
33383
  parameters: {
33352
33384
  path: {
@@ -33368,7 +33400,11 @@ export interface operations {
33368
33400
  429: coreComponents["responses"]["TooManyRequests"];
33369
33401
  };
33370
33402
  };
33371
- /** Voids an invoice with a specified ID. */
33403
+ /**
33404
+ * Voids an invoice with a specified ID.
33405
+ * This operation removes credit memo allocations from the invoice.
33406
+ * Unused credit returns to the credit memo.
33407
+ */
33372
33408
  PostInvoiceVoid: {
33373
33409
  parameters: {
33374
33410
  path: {
@@ -53427,9 +53463,19 @@ export interface storefrontComponents {
53427
53463
  recentInvoiceId?: string | null;
53428
53464
  /** Details of items in the order. */
53429
53465
  items: storefrontComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
53430
- /** Delivery address of the order. */
53466
+ /**
53467
+ * Delivery address of the order.
53468
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
53469
+ * Issued invoices are not updated unless the order is `pending`.
53470
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
53471
+ */
53431
53472
  deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
53432
- /** Billing address of the order. */
53473
+ /**
53474
+ * Billing address of the order.
53475
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
53476
+ * Issued invoices are not updated unless the order is `pending`.
53477
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
53478
+ */
53433
53479
  billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
53434
53480
  /** Date and time when the order is activated. */
53435
53481
  activationTime?: string | null;
@@ -54055,9 +54101,19 @@ export interface storefrontComponents {
54055
54101
  poNumber?: string | null;
54056
54102
  /** Notes for the customer that are displayed on the order invoice. */
54057
54103
  notes?: string;
54058
- /** Billing address of the order. */
54104
+ /**
54105
+ * Billing address of the order.
54106
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
54107
+ * Issued invoices are not updated unless the order is `pending`.
54108
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
54109
+ */
54059
54110
  billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
54060
- /** Delivery address of the order. */
54111
+ /**
54112
+ * Delivery address of the order.
54113
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
54114
+ * Issued invoices are not updated unless the order is `pending`.
54115
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
54116
+ */
54061
54117
  deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
54062
54118
  /**
54063
54119
  * Length of time, in ISO-8601 durations format,
@@ -80122,9 +80178,19 @@ export interface reportsComponents {
80122
80178
  recentInvoiceId?: string | null;
80123
80179
  /** Details of items in the order. */
80124
80180
  items: reportsComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
80125
- /** Delivery address of the order. */
80181
+ /**
80182
+ * Delivery address of the order.
80183
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
80184
+ * Issued invoices are not updated unless the order is `pending`.
80185
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
80186
+ */
80126
80187
  deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80127
- /** Billing address of the order. */
80188
+ /**
80189
+ * Billing address of the order.
80190
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
80191
+ * Issued invoices are not updated unless the order is `pending`.
80192
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
80193
+ */
80128
80194
  billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80129
80195
  /** Date and time when the order is activated. */
80130
80196
  activationTime?: string | null;
@@ -80750,9 +80816,19 @@ export interface reportsComponents {
80750
80816
  poNumber?: string | null;
80751
80817
  /** Notes for the customer that are displayed on the order invoice. */
80752
80818
  notes?: string;
80753
- /** Billing address of the order. */
80819
+ /**
80820
+ * Billing address of the order.
80821
+ * Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
80822
+ * Issued invoices are not updated unless the order is `pending`.
80823
+ * To change the billing address on an issued invoice that has no payment attempts or applied credits, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=billingaddress).
80824
+ */
80754
80825
  billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80755
- /** Delivery address of the order. */
80826
+ /**
80827
+ * Delivery address of the order.
80828
+ * Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
80829
+ * Issued invoices are not updated unless the order is `pending`.
80830
+ * To change the delivery address on an unpaid, past-due, or partially paid invoice, use the [upsert an invoice API operation](https://www.rebilly.com/catalog/all/invoices/putinvoice#invoices/putinvoice/t=request&path=deliveryaddress).
80831
+ */
80756
80832
  deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
80757
80833
  /**
80758
80834
  * Length of time, in ISO-8601 durations format,
@@ -105027,7 +105103,7 @@ declare module "resources/experimental/subscriptions-resource" {
105027
105103
  }): rebilly.GetSubscriptionSummaryMetricReportResponsePromise;
105028
105104
  };
105029
105105
  }
105030
- declare module "resources/experimental/timelines-resource" {
105106
+ declare module "experimental/timelines-resource" {
105031
105107
  export default function TimelinesResource({ apiHandler }: {
105032
105108
  apiHandler: any;
105033
105109
  }): {
@@ -105036,7 +105112,7 @@ declare module "resources/experimental/timelines-resource" {
105036
105112
  limit?: number;
105037
105113
  offset?: number;
105038
105114
  }): any;
105039
- getTransaction({ id, eventTypes, limit, offset }: {
105115
+ getTransaction({ id, eventTypes, limit, offset, }: {
105040
105116
  id?: string;
105041
105117
  eventTypes?: any;
105042
105118
  limit?: number;
@@ -105050,14 +105126,14 @@ declare module "resources/experimental/timelines-resource" {
105050
105126
  }): any;
105051
105127
  };
105052
105128
  }
105053
- declare module "resources/experimental/location-resource" {
105129
+ declare module "experimental/location-resource" {
105054
105130
  export default function LocationResource({ apiHandler }: {
105055
105131
  apiHandler: any;
105056
105132
  }): {
105057
105133
  query(): any;
105058
105134
  };
105059
105135
  }
105060
- declare module "resources/experimental/experimental-resources" {
105136
+ declare module "experimental/experimental-resources" {
105061
105137
  export class ExperimentalApiInstance {
105062
105138
  constructor({ apiHandler }: {
105063
105139
  apiHandler: any;
@@ -105333,7 +105409,7 @@ declare module "resources/experimental/experimental-resources" {
105333
105409
  limit?: number;
105334
105410
  offset?: number;
105335
105411
  }): any;
105336
- getTransaction({ id, eventTypes, limit, offset }: {
105412
+ getTransaction({ id, eventTypes, limit, offset, }: {
105337
105413
  id?: string;
105338
105414
  eventTypes?: any;
105339
105415
  limit?: number;
@@ -106043,7 +106119,7 @@ declare module "create-api-instance" {
106043
106119
  apiHandler: any;
106044
106120
  }): StorefrontApiInstance;
106045
106121
  import { ApiInstance } from "resources/api-instance";
106046
- import { ExperimentalApiInstance } from "resources/experimental/experimental-resources";
106122
+ import { ExperimentalApiInstance } from "experimental/experimental-resources";
106047
106123
  import { StorefrontApiInstance } from "resources/storefront/storefront-api-instance";
106048
106124
  }
106049
106125
  declare module "rebilly-js-sdk" {
@@ -106069,7 +106145,7 @@ declare module "rebilly-js-sdk" {
106069
106145
  internalOptions?: InternalOptions;
106070
106146
  };
106071
106147
  import Errors from "errors/errors";
106072
- export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("resources/experimental/experimental-resources").ExperimentalApiInstance;
106148
+ export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("experimental/experimental-resources").ExperimentalApiInstance;
106073
106149
  export function RebillyStorefrontAPI({ publishableKey, jwt, sandbox, timeout, organizationId, urls, internalOptions, }?: StorefrontApiParams): import("resources/storefront/storefront-api-instance").StorefrontApiInstance;
106074
106150
  import cancellation from "cancellation";
106075
106151
  export { Errors as RebillyErrors, cancellation };
@@ -106079,3 +106155,8 @@ declare module "request-headers" {
106079
106155
  let Accept: string;
106080
106156
  }
106081
106157
  }
106158
+
106159
+ /** @deprecated Import from "experimental/experimental-resources" instead. */
106160
+ declare module "resources/experimental/experimental-resources" {
106161
+ export * from "experimental/experimental-resources";
106162
+ }