washday-sdk 0.0.177 → 0.0.178
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.
|
@@ -35,7 +35,8 @@ export const getOutsourcedOrdersByStore = function (params) {
|
|
|
35
35
|
const queryParams = generateQueryParamsStr([
|
|
36
36
|
'statuses',
|
|
37
37
|
'page',
|
|
38
|
-
'limit'
|
|
38
|
+
'limit',
|
|
39
|
+
'sequence'
|
|
39
40
|
], params);
|
|
40
41
|
return yield axiosInstance.get(`${GET_OUTSOURCED_ORDERS_BY_STORE.replace(':storeId', params.storeId)}?${queryParams}`, config);
|
|
41
42
|
}
|
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ export const getOutsourcedOrdersByOrder = async function (this: WashdayClientIns
|
|
|
20
20
|
export const getOutsourcedOrdersByStore = async function (this: WashdayClientInstance, params: {
|
|
21
21
|
storeId: string,
|
|
22
22
|
statuses?: string[],
|
|
23
|
+
sequence?: string,
|
|
23
24
|
page?: number,
|
|
24
25
|
limit?: number,
|
|
25
26
|
}): Promise<any> {
|
|
@@ -30,7 +31,8 @@ export const getOutsourcedOrdersByStore = async function (this: WashdayClientIns
|
|
|
30
31
|
const queryParams = generateQueryParamsStr([
|
|
31
32
|
'statuses',
|
|
32
33
|
'page',
|
|
33
|
-
'limit'
|
|
34
|
+
'limit',
|
|
35
|
+
'sequence'
|
|
34
36
|
], params);
|
|
35
37
|
return await axiosInstance.get(`${GET_OUTSOURCED_ORDERS_BY_STORE.replace(':storeId', params.storeId)}?${queryParams}`, config);
|
|
36
38
|
} catch (error) {
|