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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "0.0.118",
3
+ "version": "0.0.119",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -4,6 +4,7 @@ const GET_SET_CUSTOMERS = 'api/customer';
4
4
 
5
5
  export const create = async function (this: WashdayClientInstance, data: {
6
6
  name: string;
7
+ lastName?: string;
7
8
  phone?: string;
8
9
  email?: string;
9
10
  address?: string;
@@ -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 = {
@@ -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 = {