washday-sdk 1.5.4 → 1.5.5

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.
@@ -313,7 +313,7 @@ export const exportUnpaidOrdersReportCSV = function (storeId, params) {
313
313
  'timezone',
314
314
  'customerName'
315
315
  ], params);
316
- return yield this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/export?${queryParams}`, config);
316
+ return yield this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/exportcsv?${queryParams}`, config);
317
317
  }
318
318
  catch (error) {
319
319
  console.error('Error fetching exportUnpaidOrdersReportCSV:', error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -344,7 +344,7 @@ export const exportUnpaidOrdersReportCSV = async function (this: WashdayClientIn
344
344
  'timezone',
345
345
  'customerName'
346
346
  ], params);
347
- return await this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/export?${queryParams}`, config);
347
+ return await this.axiosInstance.get(`${GET_SET_REPORTS}/${storeId}/unpaidOrders/exportcsv?${queryParams}`, config);
348
348
  } catch (error) {
349
349
  console.error('Error fetching exportUnpaidOrdersReportCSV:', error);
350
350
  throw error;