washday-sdk 0.0.118 → 0.0.119
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/package.json
CHANGED
package/src/api/customers/put.ts
CHANGED
|
@@ -17,6 +17,7 @@ const GET_SET_CUSTOMERS_APP = 'api/v2/washdayapp/customers';
|
|
|
17
17
|
|
|
18
18
|
export const updateById = async function (this: WashdayClientInstance, id: string, data: {
|
|
19
19
|
name?: string;
|
|
20
|
+
lastName?: string;
|
|
20
21
|
phone?: string;
|
|
21
22
|
email?: string;
|
|
22
23
|
address?: string;
|
|
@@ -45,9 +46,11 @@ export const updateById = async function (this: WashdayClientInstance, id: strin
|
|
|
45
46
|
|
|
46
47
|
export const updateByIdCustomersApp = async function (this: WashdayClientInstance, id: string, data: {
|
|
47
48
|
name?: string;
|
|
49
|
+
lastName?: string;
|
|
48
50
|
phone?: string;
|
|
49
51
|
address?: string;
|
|
50
52
|
notes?: string;
|
|
53
|
+
customersAppPushNotificationToken?: string;
|
|
51
54
|
}): Promise<any> {
|
|
52
55
|
try {
|
|
53
56
|
const config = {
|
package/src/api/order/put.ts
CHANGED
|
@@ -95,7 +95,8 @@ export const setOrderCleanedBySequence = async function (this: WashdayClientInst
|
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
export const setOrderCollectedBySequence = async function (this: WashdayClientInstance, sequence: string, storeId: string, data: {
|
|
98
|
-
collectedDateTime: string
|
|
98
|
+
collectedDateTime: string;
|
|
99
|
+
collectWithAmountDue?: boolean
|
|
99
100
|
}): Promise<any> {
|
|
100
101
|
try {
|
|
101
102
|
const config = {
|