rebilly-js-sdk 62.244.0 → 62.246.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.
- package/CHANGELOG.md +1 -1
- package/dist/rebilly-js-sdk.d.cts +44 -13
- package/dist/rebilly-js-sdk.d.mts +44 -13
- package/dist/rebilly-js-sdk.d.ts +44 -13
- package/dist/rebilly-js-sdk.es.mjs +78 -73
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
- package/scripts/type-generation/schema-customizations.js +16 -8
- package/src/resources/customers-resource.js +2 -1
- package/src/resources/invoices-resource.js +2 -1
- package/src/resources/kyc-documents-resource.js +2 -1
- package/src/resources/orders-resource.js +2 -1
- package/src/resources/subscriptions-resource.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -24119,10 +24119,17 @@ export interface coreComponents {
|
|
|
24119
24119
|
displayName?: string;
|
|
24120
24120
|
/** Unique hash value that represents the user. */
|
|
24121
24121
|
hash?: string;
|
|
24122
|
-
/** Specifies
|
|
24122
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
24123
24123
|
requiresCardOnFile?: boolean;
|
|
24124
24124
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
24125
24125
|
hasCardOnFile?: boolean;
|
|
24126
|
+
/**
|
|
24127
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
24128
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
24129
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
24130
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
24131
|
+
*/
|
|
24132
|
+
hasActivePlan?: boolean;
|
|
24126
24133
|
/**
|
|
24127
24134
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
24128
24135
|
* This value is returned only to organization owners.
|
|
@@ -32863,6 +32870,8 @@ export interface operations {
|
|
|
32863
32870
|
* order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
|
|
32864
32871
|
*/
|
|
32865
32872
|
sort?: coreComponents["parameters"]["collectionSort"];
|
|
32873
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
32874
|
+
links?: string;
|
|
32866
32875
|
};
|
|
32867
32876
|
};
|
|
32868
32877
|
responses: {
|
|
@@ -34130,6 +34139,8 @@ export interface operations {
|
|
|
34130
34139
|
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
34131
34140
|
*/
|
|
34132
34141
|
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
34142
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
34143
|
+
links?: string;
|
|
34133
34144
|
};
|
|
34134
34145
|
};
|
|
34135
34146
|
responses: {
|
|
@@ -35611,6 +35622,8 @@ export interface operations {
|
|
|
35611
35622
|
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
35612
35623
|
*/
|
|
35613
35624
|
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
35625
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
35626
|
+
links?: string;
|
|
35614
35627
|
};
|
|
35615
35628
|
};
|
|
35616
35629
|
responses: {
|
|
@@ -37201,6 +37214,8 @@ export interface operations {
|
|
|
37201
37214
|
* For more information, see [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
37202
37215
|
*/
|
|
37203
37216
|
expand?: coreComponents["parameters"]["orderExpand"];
|
|
37217
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
37218
|
+
links?: string;
|
|
37204
37219
|
};
|
|
37205
37220
|
};
|
|
37206
37221
|
responses: {
|
|
@@ -37987,6 +38002,8 @@ export interface operations {
|
|
|
37987
38002
|
* For more information, see [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
37988
38003
|
*/
|
|
37989
38004
|
expand?: coreComponents["parameters"]["subscriptionExpand"];
|
|
38005
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
38006
|
+
links?: string;
|
|
37990
38007
|
};
|
|
37991
38008
|
};
|
|
37992
38009
|
responses: {
|
|
@@ -64788,10 +64805,17 @@ export interface storefrontComponents {
|
|
|
64788
64805
|
displayName?: string;
|
|
64789
64806
|
/** Unique hash value that represents the user. */
|
|
64790
64807
|
hash?: string;
|
|
64791
|
-
/** Specifies
|
|
64808
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
64792
64809
|
requiresCardOnFile?: boolean;
|
|
64793
64810
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
64794
64811
|
hasCardOnFile?: boolean;
|
|
64812
|
+
/**
|
|
64813
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
64814
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
64815
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
64816
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
64817
|
+
*/
|
|
64818
|
+
hasActivePlan?: boolean;
|
|
64795
64819
|
/**
|
|
64796
64820
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
64797
64821
|
* This value is returned only to organization owners.
|
|
@@ -92643,10 +92667,17 @@ export interface reportsComponents {
|
|
|
92643
92667
|
displayName?: string;
|
|
92644
92668
|
/** Unique hash value that represents the user. */
|
|
92645
92669
|
hash?: string;
|
|
92646
|
-
/** Specifies
|
|
92670
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
92647
92671
|
requiresCardOnFile?: boolean;
|
|
92648
92672
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
92649
92673
|
hasCardOnFile?: boolean;
|
|
92674
|
+
/**
|
|
92675
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
92676
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
92677
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
92678
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
92679
|
+
*/
|
|
92680
|
+
hasActivePlan?: boolean;
|
|
92650
92681
|
/**
|
|
92651
92682
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
92652
92683
|
* This value is returned only to organization owners.
|
|
@@ -104513,7 +104544,7 @@ declare module "resources/customers-resource" {
|
|
|
104513
104544
|
export default function CustomersResource({ apiHandler }: {
|
|
104514
104545
|
apiHandler: any;
|
|
104515
104546
|
}): {
|
|
104516
|
-
getAll({ limit, offset, filter, q, expand, fields, sort, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
104547
|
+
getAll({ limit, offset, filter, q, expand, fields, sort, links, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
104517
104548
|
create({ id, data, expand }: rebilly.CreateCustomerRequest): rebilly.PostCustomerResponsePromise;
|
|
104518
104549
|
get({ id, expand, fields }: {
|
|
104519
104550
|
id: any;
|
|
@@ -104987,7 +105018,7 @@ declare module "resources/invoices-resource" {
|
|
|
104987
105018
|
export default function InvoicesResource({ apiHandler }: {
|
|
104988
105019
|
apiHandler: any;
|
|
104989
105020
|
}): {
|
|
104990
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
105021
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
104991
105022
|
create({ id, data }: rebilly.CreateInvoiceRequest): rebilly.PostInvoiceResponsePromise;
|
|
104992
105023
|
get({ id, expand }: {
|
|
104993
105024
|
id: any;
|
|
@@ -105111,7 +105142,7 @@ declare module "resources/kyc-documents-resource" {
|
|
|
105111
105142
|
export default function KycDocumentsResource({ apiHandler }: {
|
|
105112
105143
|
apiHandler: any;
|
|
105113
105144
|
}): {
|
|
105114
|
-
getAll({ limit, offset, filter, sort, expand, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
105145
|
+
getAll({ limit, offset, filter, sort, expand, links, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
105115
105146
|
create({ id, data }: rebilly.CreateKycDocumentRequest): rebilly.PostKycDocumentResponsePromise;
|
|
105116
105147
|
get({ id }: {
|
|
105117
105148
|
id: any;
|
|
@@ -105272,7 +105303,7 @@ declare module "resources/orders-resource" {
|
|
|
105272
105303
|
export default function OrdersResource({ apiHandler }: {
|
|
105273
105304
|
apiHandler: any;
|
|
105274
105305
|
}): {
|
|
105275
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
105306
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
105276
105307
|
create({ id, data, expand }: rebilly.CreateOrderRequest): rebilly.PostOrderResponsePromise;
|
|
105277
105308
|
get({ id, expand }: {
|
|
105278
105309
|
id: any;
|
|
@@ -105873,7 +105904,7 @@ declare module "resources/subscriptions-resource" {
|
|
|
105873
105904
|
export default function SubscriptionsResource({ apiHandler }: {
|
|
105874
105905
|
apiHandler: any;
|
|
105875
105906
|
}): {
|
|
105876
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
105907
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
105877
105908
|
create({ id, data, expand }: rebilly.CreateSubscriptionRequest): rebilly.PostSubscriptionResponsePromise;
|
|
105878
105909
|
get({ id, expand }: {
|
|
105879
105910
|
id: any;
|
|
@@ -106463,7 +106494,7 @@ declare module "resources/api-instance" {
|
|
|
106463
106494
|
}): any;
|
|
106464
106495
|
};
|
|
106465
106496
|
customers: {
|
|
106466
|
-
getAll({ limit, offset, filter, q, expand, fields, sort, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
106497
|
+
getAll({ limit, offset, filter, q, expand, fields, sort, links, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
106467
106498
|
create({ id, data, expand }: rebilly.CreateCustomerRequest): rebilly.PostCustomerResponsePromise;
|
|
106468
106499
|
get({ id, expand, fields }: {
|
|
106469
106500
|
id: any;
|
|
@@ -106877,7 +106908,7 @@ declare module "resources/api-instance" {
|
|
|
106877
106908
|
}): rebilly.GetIntegrationResponsePromise;
|
|
106878
106909
|
};
|
|
106879
106910
|
invoices: {
|
|
106880
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
106911
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
106881
106912
|
create({ id, data }: rebilly.CreateInvoiceRequest): rebilly.PostInvoiceResponsePromise;
|
|
106882
106913
|
get({ id, expand }: {
|
|
106883
106914
|
id: any;
|
|
@@ -106985,7 +107016,7 @@ declare module "resources/api-instance" {
|
|
|
106985
107016
|
}): any;
|
|
106986
107017
|
};
|
|
106987
107018
|
kycDocuments: {
|
|
106988
|
-
getAll({ limit, offset, filter, sort, expand, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
107019
|
+
getAll({ limit, offset, filter, sort, expand, links, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
106989
107020
|
create({ id, data }: rebilly.CreateKycDocumentRequest): rebilly.PostKycDocumentResponsePromise;
|
|
106990
107021
|
get({ id }: {
|
|
106991
107022
|
id: any;
|
|
@@ -107114,7 +107145,7 @@ declare module "resources/api-instance" {
|
|
|
107114
107145
|
}): rebilly.GetOrderReactivationResponsePromise;
|
|
107115
107146
|
};
|
|
107116
107147
|
orders: {
|
|
107117
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
107148
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
107118
107149
|
create({ id, data, expand }: rebilly.CreateOrderRequest): rebilly.PostOrderResponsePromise;
|
|
107119
107150
|
get({ id, expand }: {
|
|
107120
107151
|
id: any;
|
|
@@ -107571,7 +107602,7 @@ declare module "resources/api-instance" {
|
|
|
107571
107602
|
}): rebilly.GetSubscriptionReactivationResponsePromise;
|
|
107572
107603
|
};
|
|
107573
107604
|
subscriptions: {
|
|
107574
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
107605
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
107575
107606
|
create({ id, data, expand }: rebilly.CreateSubscriptionRequest): rebilly.PostSubscriptionResponsePromise;
|
|
107576
107607
|
get({ id, expand }: {
|
|
107577
107608
|
id: any;
|
|
@@ -24119,10 +24119,17 @@ export interface coreComponents {
|
|
|
24119
24119
|
displayName?: string;
|
|
24120
24120
|
/** Unique hash value that represents the user. */
|
|
24121
24121
|
hash?: string;
|
|
24122
|
-
/** Specifies
|
|
24122
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
24123
24123
|
requiresCardOnFile?: boolean;
|
|
24124
24124
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
24125
24125
|
hasCardOnFile?: boolean;
|
|
24126
|
+
/**
|
|
24127
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
24128
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
24129
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
24130
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
24131
|
+
*/
|
|
24132
|
+
hasActivePlan?: boolean;
|
|
24126
24133
|
/**
|
|
24127
24134
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
24128
24135
|
* This value is returned only to organization owners.
|
|
@@ -32863,6 +32870,8 @@ export interface operations {
|
|
|
32863
32870
|
* order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
|
|
32864
32871
|
*/
|
|
32865
32872
|
sort?: coreComponents["parameters"]["collectionSort"];
|
|
32873
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
32874
|
+
links?: string;
|
|
32866
32875
|
};
|
|
32867
32876
|
};
|
|
32868
32877
|
responses: {
|
|
@@ -34130,6 +34139,8 @@ export interface operations {
|
|
|
34130
34139
|
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
34131
34140
|
*/
|
|
34132
34141
|
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
34142
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
34143
|
+
links?: string;
|
|
34133
34144
|
};
|
|
34134
34145
|
};
|
|
34135
34146
|
responses: {
|
|
@@ -35611,6 +35622,8 @@ export interface operations {
|
|
|
35611
35622
|
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
35612
35623
|
*/
|
|
35613
35624
|
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
35625
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
35626
|
+
links?: string;
|
|
35614
35627
|
};
|
|
35615
35628
|
};
|
|
35616
35629
|
responses: {
|
|
@@ -37201,6 +37214,8 @@ export interface operations {
|
|
|
37201
37214
|
* For more information, see [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
37202
37215
|
*/
|
|
37203
37216
|
expand?: coreComponents["parameters"]["orderExpand"];
|
|
37217
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
37218
|
+
links?: string;
|
|
37204
37219
|
};
|
|
37205
37220
|
};
|
|
37206
37221
|
responses: {
|
|
@@ -37987,6 +38002,8 @@ export interface operations {
|
|
|
37987
38002
|
* For more information, see [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
37988
38003
|
*/
|
|
37989
38004
|
expand?: coreComponents["parameters"]["subscriptionExpand"];
|
|
38005
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
38006
|
+
links?: string;
|
|
37990
38007
|
};
|
|
37991
38008
|
};
|
|
37992
38009
|
responses: {
|
|
@@ -64788,10 +64805,17 @@ export interface storefrontComponents {
|
|
|
64788
64805
|
displayName?: string;
|
|
64789
64806
|
/** Unique hash value that represents the user. */
|
|
64790
64807
|
hash?: string;
|
|
64791
|
-
/** Specifies
|
|
64808
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
64792
64809
|
requiresCardOnFile?: boolean;
|
|
64793
64810
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
64794
64811
|
hasCardOnFile?: boolean;
|
|
64812
|
+
/**
|
|
64813
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
64814
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
64815
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
64816
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
64817
|
+
*/
|
|
64818
|
+
hasActivePlan?: boolean;
|
|
64795
64819
|
/**
|
|
64796
64820
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
64797
64821
|
* This value is returned only to organization owners.
|
|
@@ -92643,10 +92667,17 @@ export interface reportsComponents {
|
|
|
92643
92667
|
displayName?: string;
|
|
92644
92668
|
/** Unique hash value that represents the user. */
|
|
92645
92669
|
hash?: string;
|
|
92646
|
-
/** Specifies
|
|
92670
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
92647
92671
|
requiresCardOnFile?: boolean;
|
|
92648
92672
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
92649
92673
|
hasCardOnFile?: boolean;
|
|
92674
|
+
/**
|
|
92675
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
92676
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
92677
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
92678
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
92679
|
+
*/
|
|
92680
|
+
hasActivePlan?: boolean;
|
|
92650
92681
|
/**
|
|
92651
92682
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
92652
92683
|
* This value is returned only to organization owners.
|
|
@@ -104513,7 +104544,7 @@ declare module "resources/customers-resource" {
|
|
|
104513
104544
|
export default function CustomersResource({ apiHandler }: {
|
|
104514
104545
|
apiHandler: any;
|
|
104515
104546
|
}): {
|
|
104516
|
-
getAll({ limit, offset, filter, q, expand, fields, sort, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
104547
|
+
getAll({ limit, offset, filter, q, expand, fields, sort, links, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
104517
104548
|
create({ id, data, expand }: rebilly.CreateCustomerRequest): rebilly.PostCustomerResponsePromise;
|
|
104518
104549
|
get({ id, expand, fields }: {
|
|
104519
104550
|
id: any;
|
|
@@ -104987,7 +105018,7 @@ declare module "resources/invoices-resource" {
|
|
|
104987
105018
|
export default function InvoicesResource({ apiHandler }: {
|
|
104988
105019
|
apiHandler: any;
|
|
104989
105020
|
}): {
|
|
104990
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
105021
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
104991
105022
|
create({ id, data }: rebilly.CreateInvoiceRequest): rebilly.PostInvoiceResponsePromise;
|
|
104992
105023
|
get({ id, expand }: {
|
|
104993
105024
|
id: any;
|
|
@@ -105111,7 +105142,7 @@ declare module "resources/kyc-documents-resource" {
|
|
|
105111
105142
|
export default function KycDocumentsResource({ apiHandler }: {
|
|
105112
105143
|
apiHandler: any;
|
|
105113
105144
|
}): {
|
|
105114
|
-
getAll({ limit, offset, filter, sort, expand, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
105145
|
+
getAll({ limit, offset, filter, sort, expand, links, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
105115
105146
|
create({ id, data }: rebilly.CreateKycDocumentRequest): rebilly.PostKycDocumentResponsePromise;
|
|
105116
105147
|
get({ id }: {
|
|
105117
105148
|
id: any;
|
|
@@ -105272,7 +105303,7 @@ declare module "resources/orders-resource" {
|
|
|
105272
105303
|
export default function OrdersResource({ apiHandler }: {
|
|
105273
105304
|
apiHandler: any;
|
|
105274
105305
|
}): {
|
|
105275
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
105306
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
105276
105307
|
create({ id, data, expand }: rebilly.CreateOrderRequest): rebilly.PostOrderResponsePromise;
|
|
105277
105308
|
get({ id, expand }: {
|
|
105278
105309
|
id: any;
|
|
@@ -105873,7 +105904,7 @@ declare module "resources/subscriptions-resource" {
|
|
|
105873
105904
|
export default function SubscriptionsResource({ apiHandler }: {
|
|
105874
105905
|
apiHandler: any;
|
|
105875
105906
|
}): {
|
|
105876
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
105907
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
105877
105908
|
create({ id, data, expand }: rebilly.CreateSubscriptionRequest): rebilly.PostSubscriptionResponsePromise;
|
|
105878
105909
|
get({ id, expand }: {
|
|
105879
105910
|
id: any;
|
|
@@ -106463,7 +106494,7 @@ declare module "resources/api-instance" {
|
|
|
106463
106494
|
}): any;
|
|
106464
106495
|
};
|
|
106465
106496
|
customers: {
|
|
106466
|
-
getAll({ limit, offset, filter, q, expand, fields, sort, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
106497
|
+
getAll({ limit, offset, filter, q, expand, fields, sort, links, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
106467
106498
|
create({ id, data, expand }: rebilly.CreateCustomerRequest): rebilly.PostCustomerResponsePromise;
|
|
106468
106499
|
get({ id, expand, fields }: {
|
|
106469
106500
|
id: any;
|
|
@@ -106877,7 +106908,7 @@ declare module "resources/api-instance" {
|
|
|
106877
106908
|
}): rebilly.GetIntegrationResponsePromise;
|
|
106878
106909
|
};
|
|
106879
106910
|
invoices: {
|
|
106880
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
106911
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
106881
106912
|
create({ id, data }: rebilly.CreateInvoiceRequest): rebilly.PostInvoiceResponsePromise;
|
|
106882
106913
|
get({ id, expand }: {
|
|
106883
106914
|
id: any;
|
|
@@ -106985,7 +107016,7 @@ declare module "resources/api-instance" {
|
|
|
106985
107016
|
}): any;
|
|
106986
107017
|
};
|
|
106987
107018
|
kycDocuments: {
|
|
106988
|
-
getAll({ limit, offset, filter, sort, expand, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
107019
|
+
getAll({ limit, offset, filter, sort, expand, links, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
106989
107020
|
create({ id, data }: rebilly.CreateKycDocumentRequest): rebilly.PostKycDocumentResponsePromise;
|
|
106990
107021
|
get({ id }: {
|
|
106991
107022
|
id: any;
|
|
@@ -107114,7 +107145,7 @@ declare module "resources/api-instance" {
|
|
|
107114
107145
|
}): rebilly.GetOrderReactivationResponsePromise;
|
|
107115
107146
|
};
|
|
107116
107147
|
orders: {
|
|
107117
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
107148
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
107118
107149
|
create({ id, data, expand }: rebilly.CreateOrderRequest): rebilly.PostOrderResponsePromise;
|
|
107119
107150
|
get({ id, expand }: {
|
|
107120
107151
|
id: any;
|
|
@@ -107571,7 +107602,7 @@ declare module "resources/api-instance" {
|
|
|
107571
107602
|
}): rebilly.GetSubscriptionReactivationResponsePromise;
|
|
107572
107603
|
};
|
|
107573
107604
|
subscriptions: {
|
|
107574
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
107605
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
107575
107606
|
create({ id, data, expand }: rebilly.CreateSubscriptionRequest): rebilly.PostSubscriptionResponsePromise;
|
|
107576
107607
|
get({ id, expand }: {
|
|
107577
107608
|
id: any;
|
package/dist/rebilly-js-sdk.d.ts
CHANGED
|
@@ -24119,10 +24119,17 @@ export interface coreComponents {
|
|
|
24119
24119
|
displayName?: string;
|
|
24120
24120
|
/** Unique hash value that represents the user. */
|
|
24121
24121
|
hash?: string;
|
|
24122
|
-
/** Specifies
|
|
24122
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
24123
24123
|
requiresCardOnFile?: boolean;
|
|
24124
24124
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
24125
24125
|
hasCardOnFile?: boolean;
|
|
24126
|
+
/**
|
|
24127
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
24128
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
24129
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
24130
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
24131
|
+
*/
|
|
24132
|
+
hasActivePlan?: boolean;
|
|
24126
24133
|
/**
|
|
24127
24134
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
24128
24135
|
* This value is returned only to organization owners.
|
|
@@ -32863,6 +32870,8 @@ export interface operations {
|
|
|
32863
32870
|
* order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
|
|
32864
32871
|
*/
|
|
32865
32872
|
sort?: coreComponents["parameters"]["collectionSort"];
|
|
32873
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
32874
|
+
links?: string;
|
|
32866
32875
|
};
|
|
32867
32876
|
};
|
|
32868
32877
|
responses: {
|
|
@@ -34130,6 +34139,8 @@ export interface operations {
|
|
|
34130
34139
|
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
34131
34140
|
*/
|
|
34132
34141
|
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
34142
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
34143
|
+
links?: string;
|
|
34133
34144
|
};
|
|
34134
34145
|
};
|
|
34135
34146
|
responses: {
|
|
@@ -35611,6 +35622,8 @@ export interface operations {
|
|
|
35611
35622
|
* [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
35612
35623
|
*/
|
|
35613
35624
|
expand?: coreComponents["parameters"]["collectionExpand"];
|
|
35625
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
35626
|
+
links?: string;
|
|
35614
35627
|
};
|
|
35615
35628
|
};
|
|
35616
35629
|
responses: {
|
|
@@ -37201,6 +37214,8 @@ export interface operations {
|
|
|
37201
37214
|
* For more information, see [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
37202
37215
|
*/
|
|
37203
37216
|
expand?: coreComponents["parameters"]["orderExpand"];
|
|
37217
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
37218
|
+
links?: string;
|
|
37204
37219
|
};
|
|
37205
37220
|
};
|
|
37206
37221
|
responses: {
|
|
@@ -37987,6 +38002,8 @@ export interface operations {
|
|
|
37987
38002
|
* For more information, see [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
|
|
37988
38003
|
*/
|
|
37989
38004
|
expand?: coreComponents["parameters"]["subscriptionExpand"];
|
|
38005
|
+
/** Limits `_links` to these rels. An empty value omits `_links`. Omit the parameter to return every rel. */
|
|
38006
|
+
links?: string;
|
|
37990
38007
|
};
|
|
37991
38008
|
};
|
|
37992
38009
|
responses: {
|
|
@@ -64788,10 +64805,17 @@ export interface storefrontComponents {
|
|
|
64788
64805
|
displayName?: string;
|
|
64789
64806
|
/** Unique hash value that represents the user. */
|
|
64790
64807
|
hash?: string;
|
|
64791
|
-
/** Specifies
|
|
64808
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
64792
64809
|
requiresCardOnFile?: boolean;
|
|
64793
64810
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
64794
64811
|
hasCardOnFile?: boolean;
|
|
64812
|
+
/**
|
|
64813
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
64814
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
64815
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
64816
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
64817
|
+
*/
|
|
64818
|
+
hasActivePlan?: boolean;
|
|
64795
64819
|
/**
|
|
64796
64820
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
64797
64821
|
* This value is returned only to organization owners.
|
|
@@ -92643,10 +92667,17 @@ export interface reportsComponents {
|
|
|
92643
92667
|
displayName?: string;
|
|
92644
92668
|
/** Unique hash value that represents the user. */
|
|
92645
92669
|
hash?: string;
|
|
92646
|
-
/** Specifies
|
|
92670
|
+
/** Specifies if the current organization must have a Rebilly subscription to use the Rebilly UI. */
|
|
92647
92671
|
requiresCardOnFile?: boolean;
|
|
92648
92672
|
/** Specifies whether the current organization has an active payment card on file. */
|
|
92649
92673
|
hasCardOnFile?: boolean;
|
|
92674
|
+
/**
|
|
92675
|
+
* Specifies if the current organization has a Rebilly subscription.
|
|
92676
|
+
* This value is `true` while the subscription is active, in its trial period, or paused,
|
|
92677
|
+
* and after the subscription is canceled until the end of its current service period.
|
|
92678
|
+
* This value applies only when `requiresCardOnFile` is `true`.
|
|
92679
|
+
*/
|
|
92680
|
+
hasActivePlan?: boolean;
|
|
92650
92681
|
/**
|
|
92651
92682
|
* Session token used to manage the payment method on file for a Rebilly subscription.
|
|
92652
92683
|
* This value is returned only to organization owners.
|
|
@@ -104513,7 +104544,7 @@ declare module "resources/customers-resource" {
|
|
|
104513
104544
|
export default function CustomersResource({ apiHandler }: {
|
|
104514
104545
|
apiHandler: any;
|
|
104515
104546
|
}): {
|
|
104516
|
-
getAll({ limit, offset, filter, q, expand, fields, sort, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
104547
|
+
getAll({ limit, offset, filter, q, expand, fields, sort, links, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
104517
104548
|
create({ id, data, expand }: rebilly.CreateCustomerRequest): rebilly.PostCustomerResponsePromise;
|
|
104518
104549
|
get({ id, expand, fields }: {
|
|
104519
104550
|
id: any;
|
|
@@ -104987,7 +105018,7 @@ declare module "resources/invoices-resource" {
|
|
|
104987
105018
|
export default function InvoicesResource({ apiHandler }: {
|
|
104988
105019
|
apiHandler: any;
|
|
104989
105020
|
}): {
|
|
104990
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
105021
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
104991
105022
|
create({ id, data }: rebilly.CreateInvoiceRequest): rebilly.PostInvoiceResponsePromise;
|
|
104992
105023
|
get({ id, expand }: {
|
|
104993
105024
|
id: any;
|
|
@@ -105111,7 +105142,7 @@ declare module "resources/kyc-documents-resource" {
|
|
|
105111
105142
|
export default function KycDocumentsResource({ apiHandler }: {
|
|
105112
105143
|
apiHandler: any;
|
|
105113
105144
|
}): {
|
|
105114
|
-
getAll({ limit, offset, filter, sort, expand, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
105145
|
+
getAll({ limit, offset, filter, sort, expand, links, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
105115
105146
|
create({ id, data }: rebilly.CreateKycDocumentRequest): rebilly.PostKycDocumentResponsePromise;
|
|
105116
105147
|
get({ id }: {
|
|
105117
105148
|
id: any;
|
|
@@ -105272,7 +105303,7 @@ declare module "resources/orders-resource" {
|
|
|
105272
105303
|
export default function OrdersResource({ apiHandler }: {
|
|
105273
105304
|
apiHandler: any;
|
|
105274
105305
|
}): {
|
|
105275
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
105306
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
105276
105307
|
create({ id, data, expand }: rebilly.CreateOrderRequest): rebilly.PostOrderResponsePromise;
|
|
105277
105308
|
get({ id, expand }: {
|
|
105278
105309
|
id: any;
|
|
@@ -105873,7 +105904,7 @@ declare module "resources/subscriptions-resource" {
|
|
|
105873
105904
|
export default function SubscriptionsResource({ apiHandler }: {
|
|
105874
105905
|
apiHandler: any;
|
|
105875
105906
|
}): {
|
|
105876
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
105907
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
105877
105908
|
create({ id, data, expand }: rebilly.CreateSubscriptionRequest): rebilly.PostSubscriptionResponsePromise;
|
|
105878
105909
|
get({ id, expand }: {
|
|
105879
105910
|
id: any;
|
|
@@ -106463,7 +106494,7 @@ declare module "resources/api-instance" {
|
|
|
106463
106494
|
}): any;
|
|
106464
106495
|
};
|
|
106465
106496
|
customers: {
|
|
106466
|
-
getAll({ limit, offset, filter, q, expand, fields, sort, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
106497
|
+
getAll({ limit, offset, filter, q, expand, fields, sort, links, }?: rebilly.GetCustomerCollectionRequest): rebilly.GetCustomerCollectionResponsePromise;
|
|
106467
106498
|
create({ id, data, expand }: rebilly.CreateCustomerRequest): rebilly.PostCustomerResponsePromise;
|
|
106468
106499
|
get({ id, expand, fields }: {
|
|
106469
106500
|
id: any;
|
|
@@ -106877,7 +106908,7 @@ declare module "resources/api-instance" {
|
|
|
106877
106908
|
}): rebilly.GetIntegrationResponsePromise;
|
|
106878
106909
|
};
|
|
106879
106910
|
invoices: {
|
|
106880
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
106911
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetInvoiceCollectionRequest): rebilly.GetInvoiceCollectionResponsePromise;
|
|
106881
106912
|
create({ id, data }: rebilly.CreateInvoiceRequest): rebilly.PostInvoiceResponsePromise;
|
|
106882
106913
|
get({ id, expand }: {
|
|
106883
106914
|
id: any;
|
|
@@ -106985,7 +107016,7 @@ declare module "resources/api-instance" {
|
|
|
106985
107016
|
}): any;
|
|
106986
107017
|
};
|
|
106987
107018
|
kycDocuments: {
|
|
106988
|
-
getAll({ limit, offset, filter, sort, expand, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
107019
|
+
getAll({ limit, offset, filter, sort, expand, links, }?: rebilly.GetKycDocumentCollectionRequest): rebilly.GetKycDocumentCollectionResponsePromise;
|
|
106989
107020
|
create({ id, data }: rebilly.CreateKycDocumentRequest): rebilly.PostKycDocumentResponsePromise;
|
|
106990
107021
|
get({ id }: {
|
|
106991
107022
|
id: any;
|
|
@@ -107114,7 +107145,7 @@ declare module "resources/api-instance" {
|
|
|
107114
107145
|
}): rebilly.GetOrderReactivationResponsePromise;
|
|
107115
107146
|
};
|
|
107116
107147
|
orders: {
|
|
107117
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
107148
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetOrderCollectionRequest): rebilly.GetOrderCollectionResponsePromise;
|
|
107118
107149
|
create({ id, data, expand }: rebilly.CreateOrderRequest): rebilly.PostOrderResponsePromise;
|
|
107119
107150
|
get({ id, expand }: {
|
|
107120
107151
|
id: any;
|
|
@@ -107571,7 +107602,7 @@ declare module "resources/api-instance" {
|
|
|
107571
107602
|
}): rebilly.GetSubscriptionReactivationResponsePromise;
|
|
107572
107603
|
};
|
|
107573
107604
|
subscriptions: {
|
|
107574
|
-
getAll({ filter, sort, limit, offset, q, expand, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
107605
|
+
getAll({ filter, sort, limit, offset, q, expand, links, }?: rebilly.GetSubscriptionCollectionRequest): rebilly.GetSubscriptionCollectionResponsePromise;
|
|
107575
107606
|
create({ id, data, expand }: rebilly.CreateSubscriptionRequest): rebilly.PostSubscriptionResponsePromise;
|
|
107576
107607
|
get({ id, expand }: {
|
|
107577
107608
|
id: any;
|