rebilly-js-sdk 56.0.17 → 56.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/rebilly-js-sdk.d.ts +23 -2
- 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,10 @@
|
|
|
1
|
+
## [56.1.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v56.0.17...rebilly-js-sdk-v56.1.0) (2024-03-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **rebilly-js-sdk:** Update resources ([#4071](https://github.com/Rebilly/rebilly/issues/4071)) ([ef7c9b7](https://github.com/Rebilly/rebilly/commit/ef7c9b79716855e2ec284de54762d585f77ad237))
|
|
7
|
+
|
|
1
8
|
## [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
9
|
|
|
3
10
|
## [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 }>
|
|
@@ -34150,6 +34151,22 @@ export interface operations {
|
|
|
34150
34151
|
};
|
|
34151
34152
|
/** Retrieves a list of system events. */
|
|
34152
34153
|
GetEventCollection: {
|
|
34154
|
+
parameters: {
|
|
34155
|
+
query: {
|
|
34156
|
+
/** Limits the number of collection items to be returned. */
|
|
34157
|
+
limit?: coreComponents["parameters"]["collectionLimit"];
|
|
34158
|
+
/** Specifies the starting point within the collection of items to be returned. */
|
|
34159
|
+
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
34160
|
+
/**
|
|
34161
|
+
* Filters the collection items. This field requires
|
|
34162
|
+
* a special format. Use `,` for multiple allowed values. Use `;` for multiple fields.
|
|
34163
|
+
*
|
|
34164
|
+
* For more information, see
|
|
34165
|
+
* [Using filter with collections](https://www.rebilly.com/catalog/all/#section/Using-filter-with-collections).
|
|
34166
|
+
*/
|
|
34167
|
+
filter?: coreComponents["parameters"]["collectionFilter"];
|
|
34168
|
+
};
|
|
34169
|
+
};
|
|
34153
34170
|
responses: {
|
|
34154
34171
|
/** List of system events retrieved. */
|
|
34155
34172
|
200: {
|
|
@@ -82959,7 +82976,7 @@ declare module "resources/events-resource" {
|
|
|
82959
82976
|
export default function EventsResource({ apiHandler }: {
|
|
82960
82977
|
apiHandler: any;
|
|
82961
82978
|
}): {
|
|
82962
|
-
getAll(): rebilly.GetEventCollectionResponsePromise;
|
|
82979
|
+
getAll({ limit, offset, filter }?: rebilly.GetEventCollectionRequest): rebilly.GetEventCollectionResponsePromise;
|
|
82963
82980
|
get({ eventType }: {
|
|
82964
82981
|
eventType: any;
|
|
82965
82982
|
}): rebilly.GetEventResponsePromise;
|
|
@@ -84802,7 +84819,11 @@ declare module "resources/api-instance" {
|
|
|
84802
84819
|
}): rebilly.GetEmailNotificationCollectionResponsePromise;
|
|
84803
84820
|
};
|
|
84804
84821
|
events: {
|
|
84805
|
-
getAll(
|
|
84822
|
+
getAll({ limit, offset, filter }?: {
|
|
84823
|
+
limit?: number;
|
|
84824
|
+
offset?: number;
|
|
84825
|
+
filter?: string;
|
|
84826
|
+
}): rebilly.GetEventCollectionResponsePromise;
|
|
84806
84827
|
get({ eventType }: {
|
|
84807
84828
|
eventType: any;
|
|
84808
84829
|
}): rebilly.GetEventResponsePromise;
|