rebilly-js-sdk 62.196.0 → 62.196.1
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 +2 -4
- package/README.md +12 -9
- package/dist/rebilly-js-sdk.d.cts +84 -19
- package/dist/rebilly-js-sdk.d.mts +84 -19
- package/dist/rebilly-js-sdk.d.ts +84 -19
- package/dist/rebilly-js-sdk.es.mjs +16 -5
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
- package/scripts/merge-types.js +11 -1
- package/src/create-api-instance.js +1 -1
- package/src/experimental/experimental-resources.js +51 -0
- package/src/{resources/experimental → experimental}/location-resource.js +3 -3
- package/src/{resources/experimental → experimental}/timelines-resource.js +14 -9
- package/src/resources/experimental/experimental-resources.js +0 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
## 62.196.
|
|
1
|
+
## 62.196.1 (2026-10-02)
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
28
|
+
pnpm nx run rebilly-js-sdk:build:dev
|
|
26
29
|
```
|
|
27
30
|
|
|
28
|
-
Build release `dist` folder with sourcemap
|
|
31
|
+
Build release `dist` folder with sourcemap and types
|
|
29
32
|
|
|
30
33
|
```
|
|
31
|
-
|
|
34
|
+
pnpm nx run rebilly-js-sdk:build
|
|
32
35
|
```
|
|
33
36
|
|
|
34
37
|
Run all unit tests
|
|
35
38
|
|
|
36
39
|
```
|
|
37
|
-
|
|
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
|
-
|
|
46
|
+
pnpm nx run rebilly-js-sdk:test:unit:watch
|
|
44
47
|
```
|
|
45
48
|
|
|
46
49
|
Generate coverage report
|
|
47
50
|
|
|
48
51
|
```
|
|
49
|
-
|
|
52
|
+
pnpm nx run rebilly-js-sdk:test:unit:coverage
|
|
50
53
|
```
|
|
51
54
|
|
|
52
|
-
Check that the generated typescript type file is valid (
|
|
55
|
+
Check that the generated typescript type file is valid (build first, which also runs this check)
|
|
53
56
|
|
|
54
57
|
```
|
|
55
|
-
|
|
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 `
|
|
63
|
+
Types are automatically created because `ts:bundle-types` is called as part of `build`.
|
|
@@ -13682,9 +13682,19 @@ export interface coreComponents {
|
|
|
13682
13682
|
recentInvoiceId?: string | null;
|
|
13683
13683
|
/** Details of items in the order. */
|
|
13684
13684
|
items: coreComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
|
|
13685
|
-
/**
|
|
13685
|
+
/**
|
|
13686
|
+
* Delivery address of the order.
|
|
13687
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
13688
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
13689
|
+
* 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).
|
|
13690
|
+
*/
|
|
13686
13691
|
deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
13687
|
-
/**
|
|
13692
|
+
/**
|
|
13693
|
+
* Billing address of the order.
|
|
13694
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
13695
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
13696
|
+
* 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).
|
|
13697
|
+
*/
|
|
13688
13698
|
billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
13689
13699
|
/** Date and time when the order is activated. */
|
|
13690
13700
|
activationTime?: string | null;
|
|
@@ -14310,9 +14320,19 @@ export interface coreComponents {
|
|
|
14310
14320
|
poNumber?: string | null;
|
|
14311
14321
|
/** Notes for the customer that are displayed on the order invoice. */
|
|
14312
14322
|
notes?: string;
|
|
14313
|
-
/**
|
|
14323
|
+
/**
|
|
14324
|
+
* Billing address of the order.
|
|
14325
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
14326
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
14327
|
+
* 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).
|
|
14328
|
+
*/
|
|
14314
14329
|
billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
14315
|
-
/**
|
|
14330
|
+
/**
|
|
14331
|
+
* Delivery address of the order.
|
|
14332
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
14333
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
14334
|
+
* 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).
|
|
14335
|
+
*/
|
|
14316
14336
|
deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
14317
14337
|
/**
|
|
14318
14338
|
* Length of time, in ISO-8601 durations format,
|
|
@@ -53427,9 +53447,19 @@ export interface storefrontComponents {
|
|
|
53427
53447
|
recentInvoiceId?: string | null;
|
|
53428
53448
|
/** Details of items in the order. */
|
|
53429
53449
|
items: storefrontComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
|
|
53430
|
-
/**
|
|
53450
|
+
/**
|
|
53451
|
+
* Delivery address of the order.
|
|
53452
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
53453
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
53454
|
+
* 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).
|
|
53455
|
+
*/
|
|
53431
53456
|
deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
53432
|
-
/**
|
|
53457
|
+
/**
|
|
53458
|
+
* Billing address of the order.
|
|
53459
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
53460
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
53461
|
+
* 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).
|
|
53462
|
+
*/
|
|
53433
53463
|
billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
53434
53464
|
/** Date and time when the order is activated. */
|
|
53435
53465
|
activationTime?: string | null;
|
|
@@ -54055,9 +54085,19 @@ export interface storefrontComponents {
|
|
|
54055
54085
|
poNumber?: string | null;
|
|
54056
54086
|
/** Notes for the customer that are displayed on the order invoice. */
|
|
54057
54087
|
notes?: string;
|
|
54058
|
-
/**
|
|
54088
|
+
/**
|
|
54089
|
+
* Billing address of the order.
|
|
54090
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
54091
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
54092
|
+
* 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).
|
|
54093
|
+
*/
|
|
54059
54094
|
billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
54060
|
-
/**
|
|
54095
|
+
/**
|
|
54096
|
+
* Delivery address of the order.
|
|
54097
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
54098
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
54099
|
+
* 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).
|
|
54100
|
+
*/
|
|
54061
54101
|
deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
54062
54102
|
/**
|
|
54063
54103
|
* Length of time, in ISO-8601 durations format,
|
|
@@ -80122,9 +80162,19 @@ export interface reportsComponents {
|
|
|
80122
80162
|
recentInvoiceId?: string | null;
|
|
80123
80163
|
/** Details of items in the order. */
|
|
80124
80164
|
items: reportsComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
|
|
80125
|
-
/**
|
|
80165
|
+
/**
|
|
80166
|
+
* Delivery address of the order.
|
|
80167
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
80168
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80169
|
+
* 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).
|
|
80170
|
+
*/
|
|
80126
80171
|
deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80127
|
-
/**
|
|
80172
|
+
/**
|
|
80173
|
+
* Billing address of the order.
|
|
80174
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
80175
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80176
|
+
* 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).
|
|
80177
|
+
*/
|
|
80128
80178
|
billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80129
80179
|
/** Date and time when the order is activated. */
|
|
80130
80180
|
activationTime?: string | null;
|
|
@@ -80750,9 +80800,19 @@ export interface reportsComponents {
|
|
|
80750
80800
|
poNumber?: string | null;
|
|
80751
80801
|
/** Notes for the customer that are displayed on the order invoice. */
|
|
80752
80802
|
notes?: string;
|
|
80753
|
-
/**
|
|
80803
|
+
/**
|
|
80804
|
+
* Billing address of the order.
|
|
80805
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
80806
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80807
|
+
* 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).
|
|
80808
|
+
*/
|
|
80754
80809
|
billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80755
|
-
/**
|
|
80810
|
+
/**
|
|
80811
|
+
* Delivery address of the order.
|
|
80812
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
80813
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80814
|
+
* 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).
|
|
80815
|
+
*/
|
|
80756
80816
|
deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80757
80817
|
/**
|
|
80758
80818
|
* Length of time, in ISO-8601 durations format,
|
|
@@ -105027,7 +105087,7 @@ declare module "resources/experimental/subscriptions-resource" {
|
|
|
105027
105087
|
}): rebilly.GetSubscriptionSummaryMetricReportResponsePromise;
|
|
105028
105088
|
};
|
|
105029
105089
|
}
|
|
105030
|
-
declare module "
|
|
105090
|
+
declare module "experimental/timelines-resource" {
|
|
105031
105091
|
export default function TimelinesResource({ apiHandler }: {
|
|
105032
105092
|
apiHandler: any;
|
|
105033
105093
|
}): {
|
|
@@ -105036,7 +105096,7 @@ declare module "resources/experimental/timelines-resource" {
|
|
|
105036
105096
|
limit?: number;
|
|
105037
105097
|
offset?: number;
|
|
105038
105098
|
}): any;
|
|
105039
|
-
getTransaction({ id, eventTypes, limit, offset }: {
|
|
105099
|
+
getTransaction({ id, eventTypes, limit, offset, }: {
|
|
105040
105100
|
id?: string;
|
|
105041
105101
|
eventTypes?: any;
|
|
105042
105102
|
limit?: number;
|
|
@@ -105050,14 +105110,14 @@ declare module "resources/experimental/timelines-resource" {
|
|
|
105050
105110
|
}): any;
|
|
105051
105111
|
};
|
|
105052
105112
|
}
|
|
105053
|
-
declare module "
|
|
105113
|
+
declare module "experimental/location-resource" {
|
|
105054
105114
|
export default function LocationResource({ apiHandler }: {
|
|
105055
105115
|
apiHandler: any;
|
|
105056
105116
|
}): {
|
|
105057
105117
|
query(): any;
|
|
105058
105118
|
};
|
|
105059
105119
|
}
|
|
105060
|
-
declare module "
|
|
105120
|
+
declare module "experimental/experimental-resources" {
|
|
105061
105121
|
export class ExperimentalApiInstance {
|
|
105062
105122
|
constructor({ apiHandler }: {
|
|
105063
105123
|
apiHandler: any;
|
|
@@ -105333,7 +105393,7 @@ declare module "resources/experimental/experimental-resources" {
|
|
|
105333
105393
|
limit?: number;
|
|
105334
105394
|
offset?: number;
|
|
105335
105395
|
}): any;
|
|
105336
|
-
getTransaction({ id, eventTypes, limit, offset }: {
|
|
105396
|
+
getTransaction({ id, eventTypes, limit, offset, }: {
|
|
105337
105397
|
id?: string;
|
|
105338
105398
|
eventTypes?: any;
|
|
105339
105399
|
limit?: number;
|
|
@@ -106043,7 +106103,7 @@ declare module "create-api-instance" {
|
|
|
106043
106103
|
apiHandler: any;
|
|
106044
106104
|
}): StorefrontApiInstance;
|
|
106045
106105
|
import { ApiInstance } from "resources/api-instance";
|
|
106046
|
-
import { ExperimentalApiInstance } from "
|
|
106106
|
+
import { ExperimentalApiInstance } from "experimental/experimental-resources";
|
|
106047
106107
|
import { StorefrontApiInstance } from "resources/storefront/storefront-api-instance";
|
|
106048
106108
|
}
|
|
106049
106109
|
declare module "rebilly-js-sdk" {
|
|
@@ -106069,7 +106129,7 @@ declare module "rebilly-js-sdk" {
|
|
|
106069
106129
|
internalOptions?: InternalOptions;
|
|
106070
106130
|
};
|
|
106071
106131
|
import Errors from "errors/errors";
|
|
106072
|
-
export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("
|
|
106132
|
+
export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("experimental/experimental-resources").ExperimentalApiInstance;
|
|
106073
106133
|
export function RebillyStorefrontAPI({ publishableKey, jwt, sandbox, timeout, organizationId, urls, internalOptions, }?: StorefrontApiParams): import("resources/storefront/storefront-api-instance").StorefrontApiInstance;
|
|
106074
106134
|
import cancellation from "cancellation";
|
|
106075
106135
|
export { Errors as RebillyErrors, cancellation };
|
|
@@ -106079,3 +106139,8 @@ declare module "request-headers" {
|
|
|
106079
106139
|
let Accept: string;
|
|
106080
106140
|
}
|
|
106081
106141
|
}
|
|
106142
|
+
|
|
106143
|
+
/** @deprecated Import from "experimental/experimental-resources" instead. */
|
|
106144
|
+
declare module "resources/experimental/experimental-resources" {
|
|
106145
|
+
export * from "experimental/experimental-resources";
|
|
106146
|
+
}
|
|
@@ -13682,9 +13682,19 @@ export interface coreComponents {
|
|
|
13682
13682
|
recentInvoiceId?: string | null;
|
|
13683
13683
|
/** Details of items in the order. */
|
|
13684
13684
|
items: coreComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
|
|
13685
|
-
/**
|
|
13685
|
+
/**
|
|
13686
|
+
* Delivery address of the order.
|
|
13687
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
13688
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
13689
|
+
* 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).
|
|
13690
|
+
*/
|
|
13686
13691
|
deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
13687
|
-
/**
|
|
13692
|
+
/**
|
|
13693
|
+
* Billing address of the order.
|
|
13694
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
13695
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
13696
|
+
* 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).
|
|
13697
|
+
*/
|
|
13688
13698
|
billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
13689
13699
|
/** Date and time when the order is activated. */
|
|
13690
13700
|
activationTime?: string | null;
|
|
@@ -14310,9 +14320,19 @@ export interface coreComponents {
|
|
|
14310
14320
|
poNumber?: string | null;
|
|
14311
14321
|
/** Notes for the customer that are displayed on the order invoice. */
|
|
14312
14322
|
notes?: string;
|
|
14313
|
-
/**
|
|
14323
|
+
/**
|
|
14324
|
+
* Billing address of the order.
|
|
14325
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
14326
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
14327
|
+
* 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).
|
|
14328
|
+
*/
|
|
14314
14329
|
billingAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
14315
|
-
/**
|
|
14330
|
+
/**
|
|
14331
|
+
* Delivery address of the order.
|
|
14332
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
14333
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
14334
|
+
* 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).
|
|
14335
|
+
*/
|
|
14316
14336
|
deliveryAddress?: coreComponents["schemas"]["ContactObject"] | null;
|
|
14317
14337
|
/**
|
|
14318
14338
|
* Length of time, in ISO-8601 durations format,
|
|
@@ -53427,9 +53447,19 @@ export interface storefrontComponents {
|
|
|
53427
53447
|
recentInvoiceId?: string | null;
|
|
53428
53448
|
/** Details of items in the order. */
|
|
53429
53449
|
items: storefrontComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
|
|
53430
|
-
/**
|
|
53450
|
+
/**
|
|
53451
|
+
* Delivery address of the order.
|
|
53452
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
53453
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
53454
|
+
* 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).
|
|
53455
|
+
*/
|
|
53431
53456
|
deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
53432
|
-
/**
|
|
53457
|
+
/**
|
|
53458
|
+
* Billing address of the order.
|
|
53459
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
53460
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
53461
|
+
* 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).
|
|
53462
|
+
*/
|
|
53433
53463
|
billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
53434
53464
|
/** Date and time when the order is activated. */
|
|
53435
53465
|
activationTime?: string | null;
|
|
@@ -54055,9 +54085,19 @@ export interface storefrontComponents {
|
|
|
54055
54085
|
poNumber?: string | null;
|
|
54056
54086
|
/** Notes for the customer that are displayed on the order invoice. */
|
|
54057
54087
|
notes?: string;
|
|
54058
|
-
/**
|
|
54088
|
+
/**
|
|
54089
|
+
* Billing address of the order.
|
|
54090
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
54091
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
54092
|
+
* 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).
|
|
54093
|
+
*/
|
|
54059
54094
|
billingAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
54060
|
-
/**
|
|
54095
|
+
/**
|
|
54096
|
+
* Delivery address of the order.
|
|
54097
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
54098
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
54099
|
+
* 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).
|
|
54100
|
+
*/
|
|
54061
54101
|
deliveryAddress?: storefrontComponents["schemas"]["ContactObject"] | null;
|
|
54062
54102
|
/**
|
|
54063
54103
|
* Length of time, in ISO-8601 durations format,
|
|
@@ -80122,9 +80162,19 @@ export interface reportsComponents {
|
|
|
80122
80162
|
recentInvoiceId?: string | null;
|
|
80123
80163
|
/** Details of items in the order. */
|
|
80124
80164
|
items: reportsComponents["schemas"]["SubscriptionOrOneTimeSaleItem"][];
|
|
80125
|
-
/**
|
|
80165
|
+
/**
|
|
80166
|
+
* Delivery address of the order.
|
|
80167
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
80168
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80169
|
+
* 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).
|
|
80170
|
+
*/
|
|
80126
80171
|
deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80127
|
-
/**
|
|
80172
|
+
/**
|
|
80173
|
+
* Billing address of the order.
|
|
80174
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
80175
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80176
|
+
* 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).
|
|
80177
|
+
*/
|
|
80128
80178
|
billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80129
80179
|
/** Date and time when the order is activated. */
|
|
80130
80180
|
activationTime?: string | null;
|
|
@@ -80750,9 +80800,19 @@ export interface reportsComponents {
|
|
|
80750
80800
|
poNumber?: string | null;
|
|
80751
80801
|
/** Notes for the customer that are displayed on the order invoice. */
|
|
80752
80802
|
notes?: string;
|
|
80753
|
-
/**
|
|
80803
|
+
/**
|
|
80804
|
+
* Billing address of the order.
|
|
80805
|
+
* Changes to the billing address apply to the upcoming invoice and to invoices created after the change.
|
|
80806
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80807
|
+
* 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).
|
|
80808
|
+
*/
|
|
80754
80809
|
billingAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80755
|
-
/**
|
|
80810
|
+
/**
|
|
80811
|
+
* Delivery address of the order.
|
|
80812
|
+
* Changes to the delivery address apply to the upcoming invoice and to invoices created after the change.
|
|
80813
|
+
* Issued invoices are not updated unless the order is `pending`.
|
|
80814
|
+
* 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).
|
|
80815
|
+
*/
|
|
80756
80816
|
deliveryAddress?: reportsComponents["schemas"]["ContactObject"] | null;
|
|
80757
80817
|
/**
|
|
80758
80818
|
* Length of time, in ISO-8601 durations format,
|
|
@@ -105027,7 +105087,7 @@ declare module "resources/experimental/subscriptions-resource" {
|
|
|
105027
105087
|
}): rebilly.GetSubscriptionSummaryMetricReportResponsePromise;
|
|
105028
105088
|
};
|
|
105029
105089
|
}
|
|
105030
|
-
declare module "
|
|
105090
|
+
declare module "experimental/timelines-resource" {
|
|
105031
105091
|
export default function TimelinesResource({ apiHandler }: {
|
|
105032
105092
|
apiHandler: any;
|
|
105033
105093
|
}): {
|
|
@@ -105036,7 +105096,7 @@ declare module "resources/experimental/timelines-resource" {
|
|
|
105036
105096
|
limit?: number;
|
|
105037
105097
|
offset?: number;
|
|
105038
105098
|
}): any;
|
|
105039
|
-
getTransaction({ id, eventTypes, limit, offset }: {
|
|
105099
|
+
getTransaction({ id, eventTypes, limit, offset, }: {
|
|
105040
105100
|
id?: string;
|
|
105041
105101
|
eventTypes?: any;
|
|
105042
105102
|
limit?: number;
|
|
@@ -105050,14 +105110,14 @@ declare module "resources/experimental/timelines-resource" {
|
|
|
105050
105110
|
}): any;
|
|
105051
105111
|
};
|
|
105052
105112
|
}
|
|
105053
|
-
declare module "
|
|
105113
|
+
declare module "experimental/location-resource" {
|
|
105054
105114
|
export default function LocationResource({ apiHandler }: {
|
|
105055
105115
|
apiHandler: any;
|
|
105056
105116
|
}): {
|
|
105057
105117
|
query(): any;
|
|
105058
105118
|
};
|
|
105059
105119
|
}
|
|
105060
|
-
declare module "
|
|
105120
|
+
declare module "experimental/experimental-resources" {
|
|
105061
105121
|
export class ExperimentalApiInstance {
|
|
105062
105122
|
constructor({ apiHandler }: {
|
|
105063
105123
|
apiHandler: any;
|
|
@@ -105333,7 +105393,7 @@ declare module "resources/experimental/experimental-resources" {
|
|
|
105333
105393
|
limit?: number;
|
|
105334
105394
|
offset?: number;
|
|
105335
105395
|
}): any;
|
|
105336
|
-
getTransaction({ id, eventTypes, limit, offset }: {
|
|
105396
|
+
getTransaction({ id, eventTypes, limit, offset, }: {
|
|
105337
105397
|
id?: string;
|
|
105338
105398
|
eventTypes?: any;
|
|
105339
105399
|
limit?: number;
|
|
@@ -106043,7 +106103,7 @@ declare module "create-api-instance" {
|
|
|
106043
106103
|
apiHandler: any;
|
|
106044
106104
|
}): StorefrontApiInstance;
|
|
106045
106105
|
import { ApiInstance } from "resources/api-instance";
|
|
106046
|
-
import { ExperimentalApiInstance } from "
|
|
106106
|
+
import { ExperimentalApiInstance } from "experimental/experimental-resources";
|
|
106047
106107
|
import { StorefrontApiInstance } from "resources/storefront/storefront-api-instance";
|
|
106048
106108
|
}
|
|
106049
106109
|
declare module "rebilly-js-sdk" {
|
|
@@ -106069,7 +106129,7 @@ declare module "rebilly-js-sdk" {
|
|
|
106069
106129
|
internalOptions?: InternalOptions;
|
|
106070
106130
|
};
|
|
106071
106131
|
import Errors from "errors/errors";
|
|
106072
|
-
export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("
|
|
106132
|
+
export function RebillyExperimentalAPI({ apiKey, sandbox, timeout, organizationId, urls, internalOptions, }?: ApiParams): import("experimental/experimental-resources").ExperimentalApiInstance;
|
|
106073
106133
|
export function RebillyStorefrontAPI({ publishableKey, jwt, sandbox, timeout, organizationId, urls, internalOptions, }?: StorefrontApiParams): import("resources/storefront/storefront-api-instance").StorefrontApiInstance;
|
|
106074
106134
|
import cancellation from "cancellation";
|
|
106075
106135
|
export { Errors as RebillyErrors, cancellation };
|
|
@@ -106079,3 +106139,8 @@ declare module "request-headers" {
|
|
|
106079
106139
|
let Accept: string;
|
|
106080
106140
|
}
|
|
106081
106141
|
}
|
|
106142
|
+
|
|
106143
|
+
/** @deprecated Import from "experimental/experimental-resources" instead. */
|
|
106144
|
+
declare module "resources/experimental/experimental-resources" {
|
|
106145
|
+
export * from "experimental/experimental-resources";
|
|
106146
|
+
}
|