@swishapp/api-client 0.18.0 → 0.20.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.
@@ -105,6 +105,10 @@ export type PageInfo = {
105
105
  * The cursor for the previous page
106
106
  */
107
107
  previous: string | null;
108
+ /**
109
+ * The total number of items across all pages
110
+ */
111
+ totalCount: number;
108
112
  };
109
113
  export type PaginatedResponse = {
110
114
  pageInfo: PageInfo;
package/dist/types.d.ts CHANGED
@@ -22,6 +22,7 @@ export type CreateListResponse = Awaited<ReturnType<SwishClient["lists"]["create
22
22
  export type DeleteListByIdResponse = Awaited<ReturnType<SwishClient["lists"]["deleteById"]>>;
23
23
  export type UpdateListByIdResponse = Awaited<ReturnType<SwishClient["lists"]["updateById"]>>;
24
24
  export type OrderItemsResponse = Awaited<ReturnType<SwishClient["lists"]["orderItems"]>>;
25
+ export type AddItemsToListResponse = Awaited<ReturnType<SwishClient["lists"]["addItemsToList"]>>;
25
26
  export type SetListsByIdResponse = Awaited<ReturnType<SwishClient["items"]["setListsById"]>>;
26
27
  export type CustomerAccountsVersionResponse = Awaited<ReturnType<SwishClient["profiles"]["customerAccountsVersion"]>>;
27
28
  export type CreateProfileTokenResponse = Awaited<ReturnType<SwishClient["profiles"]["createToken"]>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swishapp/api-client",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "A lightweight JS client for the Swish REST API.",
5
5
  "homepage": "https://developers.swish.app/libraries/api-client",
6
6
  "type": "module",