rebilly-js-sdk 56.0.17 → 56.2.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 +14 -0
- package/dist/rebilly-js-sdk.d.ts +56 -14
- package/dist/rebilly-js-sdk.es.js +551 -549
- package/dist/rebilly-js-sdk.umd.js +2 -2
- package/package.json +1 -1
- package/src/resources/events-resource.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [56.2.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v56.1.0...rebilly-js-sdk-v56.2.0) (2024-03-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **rebilly-js-sdk:** update resources ([#4167](https://github.com/Rebilly/rebilly/issues/4167)) ([e8a8580](https://github.com/Rebilly/rebilly/commit/e8a858092398042a284207141e5297d70da744f1))
|
|
7
|
+
|
|
8
|
+
## [56.1.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v56.0.17...rebilly-js-sdk-v56.1.0) (2024-03-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **rebilly-js-sdk:** Update resources ([#4071](https://github.com/Rebilly/rebilly/issues/4071)) ([ef7c9b7](https://github.com/Rebilly/rebilly/commit/ef7c9b79716855e2ec284de54762d585f77ad237))
|
|
14
|
+
|
|
1
15
|
## [56.0.17](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v56.0.16...rebilly-js-sdk-v56.0.17) (2024-03-19)
|
|
2
16
|
|
|
3
17
|
## [56.0.16](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v56.0.15...rebilly-js-sdk-v56.0.16) (2024-03-18)
|
package/dist/rebilly-js-sdk.d.ts
CHANGED
|
@@ -1245,6 +1245,7 @@ declare module rebilly {
|
|
|
1245
1245
|
type GetEmailNotificationCollectionResponse = operations['GetEmailNotificationCollection']['responses']['200']['content']['application/json'][0]
|
|
1246
1246
|
type GetEmailNotificationCollectionResponsePromise = Promise<{ items: {fields: GetEmailNotificationCollectionResponse}[], getJSON: object, total?: number, offset?: number, limit?: number }>
|
|
1247
1247
|
|
|
1248
|
+
type GetEventCollectionRequest = operations['GetEventCollection']['parameters']["query"] & (operations['GetEventCollection']['parameters'] extends {path: {}} ? operations['GetEventCollection']['parameters']["path"] : {})
|
|
1248
1249
|
|
|
1249
1250
|
type GetEventCollectionResponse = operations['GetEventCollection']['responses']['200']['content']['application/json'][0]
|
|
1250
1251
|
type GetEventCollectionResponsePromise = Promise<{ items: {fields: GetEventCollectionResponse}[], getJSON: object, total?: number, offset?: number, limit?: number }>
|
|
@@ -12371,8 +12372,8 @@ export interface coreComponents {
|
|
|
12371
12372
|
* This value cannot be more than one service period in the past.
|
|
12372
12373
|
*/
|
|
12373
12374
|
startTime?: string | null;
|
|
12374
|
-
/** Date and time when the subscription
|
|
12375
|
-
|
|
12375
|
+
/** Date and time when the subscription is deactivated. */
|
|
12376
|
+
churnTime?: string | null;
|
|
12376
12377
|
/** Date and time when the subscription renews. */
|
|
12377
12378
|
renewalTime?: string | null;
|
|
12378
12379
|
/** Current billing period number. */
|
|
@@ -12514,6 +12515,11 @@ export interface coreComponents {
|
|
|
12514
12515
|
* If this value is `null`, this field uses risk metadata that is captured when creating the payment token.
|
|
12515
12516
|
*/
|
|
12516
12517
|
riskMetadata?: coreComponents["schemas"]["RiskMetadata"] | null;
|
|
12518
|
+
/**
|
|
12519
|
+
* Customer JWT to access billing portal. This field is presented only if billing portal exists.
|
|
12520
|
+
* This is an experimental field and can be changed or removed in the future.
|
|
12521
|
+
*/
|
|
12522
|
+
billingPortalToken?: string | null;
|
|
12517
12523
|
customFields?: coreComponents["schemas"]["ResourceCustomFields"];
|
|
12518
12524
|
createdTime?: coreComponents["schemas"]["CreatedTime"];
|
|
12519
12525
|
updatedTime?: coreComponents["schemas"]["UpdatedTime"];
|
|
@@ -19387,6 +19393,7 @@ export interface coreComponents {
|
|
|
19387
19393
|
| "canceled"
|
|
19388
19394
|
| "declined"
|
|
19389
19395
|
| "unknown";
|
|
19396
|
+
method?: coreComponents["schemas"]["PaymentMethod"];
|
|
19390
19397
|
/** Name of the payment gateway that processed, or is selected to process, the transaction. */
|
|
19391
19398
|
gatewayName?: coreComponents["schemas"]["GatewayName"];
|
|
19392
19399
|
/** ID of the selected payment instrument for the transaction. */
|
|
@@ -22054,8 +22061,8 @@ export interface coreComponents {
|
|
|
22054
22061
|
* This value cannot be more than one service period in the past.
|
|
22055
22062
|
*/
|
|
22056
22063
|
startTime?: string | null;
|
|
22057
|
-
/** Date and time when the subscription
|
|
22058
|
-
|
|
22064
|
+
/** Date and time when the subscription is deactivated. */
|
|
22065
|
+
churnTime?: string;
|
|
22059
22066
|
/** Date and time when the subscription renews. */
|
|
22060
22067
|
renewalTime?: string;
|
|
22061
22068
|
/** Current billing period number. */
|
|
@@ -34150,6 +34157,24 @@ export interface operations {
|
|
|
34150
34157
|
};
|
|
34151
34158
|
/** Retrieves a list of system events. */
|
|
34152
34159
|
GetEventCollection: {
|
|
34160
|
+
parameters: {
|
|
34161
|
+
query: {
|
|
34162
|
+
/** Limits the number of collection items to be returned. */
|
|
34163
|
+
limit?: coreComponents["parameters"]["collectionLimit"];
|
|
34164
|
+
/** Specifies the starting point within the collection of items to be returned. */
|
|
34165
|
+
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
34166
|
+
/**
|
|
34167
|
+
* Filters the collection items. This field requires
|
|
34168
|
+
* a special format. Use `,` for multiple allowed values. Use `;` for multiple fields.
|
|
34169
|
+
*
|
|
34170
|
+
* For more information, see
|
|
34171
|
+
* [Using filter with collections](https://www.rebilly.com/catalog/all/#section/Using-filter-with-collections).
|
|
34172
|
+
*/
|
|
34173
|
+
filter?: coreComponents["parameters"]["collectionFilter"];
|
|
34174
|
+
/** Use this field to perform a partial search of text fields. */
|
|
34175
|
+
q?: coreComponents["parameters"]["collectionQuery"];
|
|
34176
|
+
};
|
|
34177
|
+
};
|
|
34153
34178
|
responses: {
|
|
34154
34179
|
/** List of system events retrieved. */
|
|
34155
34180
|
200: {
|
|
@@ -45345,8 +45370,8 @@ export interface storefrontComponents {
|
|
|
45345
45370
|
* This value cannot be more than one service period in the past.
|
|
45346
45371
|
*/
|
|
45347
45372
|
startTime?: string | null;
|
|
45348
|
-
/** Date and time when the subscription
|
|
45349
|
-
|
|
45373
|
+
/** Date and time when the subscription is deactivated. */
|
|
45374
|
+
churnTime?: string | null;
|
|
45350
45375
|
/** Date and time when the subscription renews. */
|
|
45351
45376
|
renewalTime?: string | null;
|
|
45352
45377
|
/** Current billing period number. */
|
|
@@ -45488,6 +45513,11 @@ export interface storefrontComponents {
|
|
|
45488
45513
|
* If this value is `null`, this field uses risk metadata that is captured when creating the payment token.
|
|
45489
45514
|
*/
|
|
45490
45515
|
riskMetadata?: storefrontComponents["schemas"]["RiskMetadata"] | null;
|
|
45516
|
+
/**
|
|
45517
|
+
* Customer JWT to access billing portal. This field is presented only if billing portal exists.
|
|
45518
|
+
* This is an experimental field and can be changed or removed in the future.
|
|
45519
|
+
*/
|
|
45520
|
+
billingPortalToken?: string | null;
|
|
45491
45521
|
customFields?: storefrontComponents["schemas"]["ResourceCustomFields"];
|
|
45492
45522
|
createdTime?: storefrontComponents["schemas"]["CreatedTime"];
|
|
45493
45523
|
updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
|
|
@@ -52361,6 +52391,7 @@ export interface storefrontComponents {
|
|
|
52361
52391
|
| "canceled"
|
|
52362
52392
|
| "declined"
|
|
52363
52393
|
| "unknown";
|
|
52394
|
+
method?: storefrontComponents["schemas"]["PaymentMethod"];
|
|
52364
52395
|
/** Name of the payment gateway that processed, or is selected to process, the transaction. */
|
|
52365
52396
|
gatewayName?: storefrontComponents["schemas"]["GatewayName"];
|
|
52366
52397
|
/** ID of the selected payment instrument for the transaction. */
|
|
@@ -55028,8 +55059,8 @@ export interface storefrontComponents {
|
|
|
55028
55059
|
* This value cannot be more than one service period in the past.
|
|
55029
55060
|
*/
|
|
55030
55061
|
startTime?: string | null;
|
|
55031
|
-
/** Date and time when the subscription
|
|
55032
|
-
|
|
55062
|
+
/** Date and time when the subscription is deactivated. */
|
|
55063
|
+
churnTime?: string;
|
|
55033
55064
|
/** Date and time when the subscription renews. */
|
|
55034
55065
|
renewalTime?: string;
|
|
55035
55066
|
/** Current billing period number. */
|
|
@@ -67638,8 +67669,8 @@ export interface reportsComponents {
|
|
|
67638
67669
|
* This value cannot be more than one service period in the past.
|
|
67639
67670
|
*/
|
|
67640
67671
|
startTime?: string | null;
|
|
67641
|
-
/** Date and time when the subscription
|
|
67642
|
-
|
|
67672
|
+
/** Date and time when the subscription is deactivated. */
|
|
67673
|
+
churnTime?: string | null;
|
|
67643
67674
|
/** Date and time when the subscription renews. */
|
|
67644
67675
|
renewalTime?: string | null;
|
|
67645
67676
|
/** Current billing period number. */
|
|
@@ -67781,6 +67812,11 @@ export interface reportsComponents {
|
|
|
67781
67812
|
* If this value is `null`, this field uses risk metadata that is captured when creating the payment token.
|
|
67782
67813
|
*/
|
|
67783
67814
|
riskMetadata?: reportsComponents["schemas"]["RiskMetadata"] | null;
|
|
67815
|
+
/**
|
|
67816
|
+
* Customer JWT to access billing portal. This field is presented only if billing portal exists.
|
|
67817
|
+
* This is an experimental field and can be changed or removed in the future.
|
|
67818
|
+
*/
|
|
67819
|
+
billingPortalToken?: string | null;
|
|
67784
67820
|
customFields?: reportsComponents["schemas"]["ResourceCustomFields"];
|
|
67785
67821
|
createdTime?: reportsComponents["schemas"]["CreatedTime"];
|
|
67786
67822
|
updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
|
|
@@ -74654,6 +74690,7 @@ export interface reportsComponents {
|
|
|
74654
74690
|
| "canceled"
|
|
74655
74691
|
| "declined"
|
|
74656
74692
|
| "unknown";
|
|
74693
|
+
method?: reportsComponents["schemas"]["PaymentMethod"];
|
|
74657
74694
|
/** Name of the payment gateway that processed, or is selected to process, the transaction. */
|
|
74658
74695
|
gatewayName?: reportsComponents["schemas"]["GatewayName"];
|
|
74659
74696
|
/** ID of the selected payment instrument for the transaction. */
|
|
@@ -77321,8 +77358,8 @@ export interface reportsComponents {
|
|
|
77321
77358
|
* This value cannot be more than one service period in the past.
|
|
77322
77359
|
*/
|
|
77323
77360
|
startTime?: string | null;
|
|
77324
|
-
/** Date and time when the subscription
|
|
77325
|
-
|
|
77361
|
+
/** Date and time when the subscription is deactivated. */
|
|
77362
|
+
churnTime?: string;
|
|
77326
77363
|
/** Date and time when the subscription renews. */
|
|
77327
77364
|
renewalTime?: string;
|
|
77328
77365
|
/** Current billing period number. */
|
|
@@ -82959,7 +82996,7 @@ declare module "resources/events-resource" {
|
|
|
82959
82996
|
export default function EventsResource({ apiHandler }: {
|
|
82960
82997
|
apiHandler: any;
|
|
82961
82998
|
}): {
|
|
82962
|
-
getAll(): rebilly.GetEventCollectionResponsePromise;
|
|
82999
|
+
getAll({ limit, offset, filter, q }?: rebilly.GetEventCollectionRequest): rebilly.GetEventCollectionResponsePromise;
|
|
82963
83000
|
get({ eventType }: {
|
|
82964
83001
|
eventType: any;
|
|
82965
83002
|
}): rebilly.GetEventResponsePromise;
|
|
@@ -84802,7 +84839,12 @@ declare module "resources/api-instance" {
|
|
|
84802
84839
|
}): rebilly.GetEmailNotificationCollectionResponsePromise;
|
|
84803
84840
|
};
|
|
84804
84841
|
events: {
|
|
84805
|
-
getAll(
|
|
84842
|
+
getAll({ limit, offset, filter, q }?: {
|
|
84843
|
+
limit?: number;
|
|
84844
|
+
offset?: number;
|
|
84845
|
+
filter?: string;
|
|
84846
|
+
q?: string;
|
|
84847
|
+
}): rebilly.GetEventCollectionResponsePromise;
|
|
84806
84848
|
get({ eventType }: {
|
|
84807
84849
|
eventType: any;
|
|
84808
84850
|
}): rebilly.GetEventResponsePromise;
|