washday-sdk 0.0.189 → 0.0.190

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.
@@ -20,6 +20,7 @@ export const getList = function (storeId, params) {
20
20
  const queryParams = generateQueryParamsStr([
21
21
  'pageNum',
22
22
  'limit',
23
+ 'cashierBoxId'
23
24
  ], params);
24
25
  return yield axiosInstance.get(`${GET_CASH_UP_REPORTS}/${storeId}?${queryParams}`, config);
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "0.0.189",
3
+ "version": "0.0.190",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -9,6 +9,7 @@ const GET_CASH_UP_REPORTS = 'api/cashupreports';
9
9
  export const getList = async function (this: WashdayClientInstance, storeId: string, params: {
10
10
  pageNum?: string;
11
11
  limit?: string;
12
+ cashierBoxId?: string;
12
13
  }): Promise<any> {
13
14
  try {
14
15
  const config = {
@@ -17,6 +18,7 @@ export const getList = async function (this: WashdayClientInstance, storeId: str
17
18
  const queryParams = generateQueryParamsStr([
18
19
  'pageNum',
19
20
  'limit',
21
+ 'cashierBoxId'
20
22
  ], params);
21
23
  return await axiosInstance.get(`${GET_CASH_UP_REPORTS}/${storeId}?${queryParams}`, config);
22
24
  } catch (error) {