washday-sdk 0.0.199 → 0.0.200
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 +1 -1
- package/src/api/order/post.ts +3 -1
- package/src/api/order/put.ts +3 -1
- package/src/api/users/post.ts +0 -1
package/package.json
CHANGED
package/src/api/order/post.ts
CHANGED
|
@@ -11,7 +11,8 @@ export const createPaymentLine = async function (this: WashdayClientInstance, id
|
|
|
11
11
|
amountPaid: number,
|
|
12
12
|
cashierBox: string,
|
|
13
13
|
paymentMethod: string
|
|
14
|
-
paymentDate: Date
|
|
14
|
+
paymentDate: Date,
|
|
15
|
+
pinUserId?: string
|
|
15
16
|
}): Promise<any> {
|
|
16
17
|
try {
|
|
17
18
|
const config = {
|
|
@@ -69,6 +70,7 @@ export const bulkCreatePaymentLines = async function (this: WashdayClientInstanc
|
|
|
69
70
|
amount: number;
|
|
70
71
|
cashierBoxId: string;
|
|
71
72
|
paymentDate: Date;
|
|
73
|
+
pinUserId?: string;
|
|
72
74
|
}[],
|
|
73
75
|
}): Promise<AxiosResponse<any, any>> {
|
|
74
76
|
try {
|
package/src/api/order/put.ts
CHANGED
|
@@ -43,6 +43,7 @@ export const updateById = async function (this: WashdayClientInstance, id: strin
|
|
|
43
43
|
export const updatePaymentLineById = async function (this: WashdayClientInstance, orderId: string, id: string, data: {
|
|
44
44
|
amountPaid: number
|
|
45
45
|
updatedDate: Date
|
|
46
|
+
pinUserId?: string
|
|
46
47
|
}): Promise<any> {
|
|
47
48
|
try {
|
|
48
49
|
const config = {
|
|
@@ -103,7 +104,8 @@ export const setOrderCleanedBySequence = async function (this: WashdayClientInst
|
|
|
103
104
|
|
|
104
105
|
export const setOrderCollectedBySequence = async function (this: WashdayClientInstance, sequence: string, storeId: string, data: {
|
|
105
106
|
collectedDateTime: string;
|
|
106
|
-
collectWithAmountDue?: boolean
|
|
107
|
+
collectWithAmountDue?: boolean,
|
|
108
|
+
pinUserId?: string
|
|
107
109
|
}): Promise<any> {
|
|
108
110
|
try {
|
|
109
111
|
const config = {
|
package/src/api/users/post.ts
CHANGED