gap-nodejs-sdk 1.0.208 → 1.0.210
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/dist/api/appointment_api/1.0.0/models/pos.d.ts +1 -0
- package/dist/api/appointment_api/1.0.0/models/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/models/pos.js +2 -1
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +15 -15
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +3 -3
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +21 -21
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +14 -13
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +6 -6
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +3 -3
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/base_api/1.0.0/types/request/auth.d.ts +3 -3
- package/dist/api/base_api/1.0.0/types/request/auth.d.ts.map +1 -1
- package/dist/api/base_api/1.0.0/types/response/auth.d.ts +6 -6
- package/dist/api/base_api/1.0.0/types/response/auth.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
- package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
- package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/key_storage.js +3 -1
- package/dist/api/pos_client_api/1.0.0/models/payroll.d.ts +1 -58
- package/dist/api/pos_client_api/1.0.0/models/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/payroll.js +33 -20
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +11 -11
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +11 -11
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
- package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
- package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
- package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +34 -34
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +7 -5
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +22 -22
- package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +32 -25
- package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
- package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
- package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/models/checkout.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/models/checkout.js +3 -1
- package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
- package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
- package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
- package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
- package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +19 -17
- package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
- package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
- package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
- package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
- package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
- package/dist/gap-sdk.js +1 -1
- package/dist/http_client/http_client.d.ts.map +1 -1
- package/dist/http_client/http_client.js +40 -39
- package/dist/http_client/types.d.ts +5 -5
- package/dist/http_client/types.d.ts.map +1 -1
- package/dist/types/meta.d.ts +2 -2
- package/dist/types/meta.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/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
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type ServiceFee = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
fee: number;
|
|
5
5
|
status: number;
|
|
@@ -7,23 +7,23 @@ export declare type ServiceFee = Nullable<{
|
|
|
7
7
|
updated_at: string;
|
|
8
8
|
state: number;
|
|
9
9
|
}>;
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
10
|
+
export type GetServiceFeeResponse = ServiceFee;
|
|
11
|
+
export type UpdateServiceFeeResponse = ServiceFee;
|
|
12
|
+
export type GetStoreRatingDisplayResponse = Nullable<{
|
|
13
13
|
is_visible: string;
|
|
14
14
|
}>;
|
|
15
|
-
export
|
|
15
|
+
export type UpdateStoreRatingDisplayResponse = Nullable<{
|
|
16
16
|
is_visible: string;
|
|
17
17
|
}>;
|
|
18
|
-
export
|
|
18
|
+
export type GetCheckOutConfigResponse = Nullable<{
|
|
19
19
|
type: string;
|
|
20
20
|
point_bonus: number;
|
|
21
21
|
}>;
|
|
22
|
-
export
|
|
22
|
+
export type UpdateCheckOutConfigResponse = Nullable<{
|
|
23
23
|
type: string;
|
|
24
24
|
point_bonus: number;
|
|
25
25
|
}>;
|
|
26
|
-
|
|
26
|
+
type Category = Nullable<{
|
|
27
27
|
id: number;
|
|
28
28
|
slug: string;
|
|
29
29
|
title: string;
|
|
@@ -34,7 +34,7 @@ declare type Category = Nullable<{
|
|
|
34
34
|
updated_at: number;
|
|
35
35
|
type: string;
|
|
36
36
|
}>;
|
|
37
|
-
export
|
|
37
|
+
export type GetPoliciesResponse = Nullable<{
|
|
38
38
|
id: number;
|
|
39
39
|
slug: string;
|
|
40
40
|
title: string;
|
|
@@ -54,8 +54,8 @@ export declare type GetPoliciesResponse = Nullable<{
|
|
|
54
54
|
category: Category;
|
|
55
55
|
article_attachments: any[];
|
|
56
56
|
}[]>;
|
|
57
|
-
export
|
|
58
|
-
export
|
|
57
|
+
export type UpdatePoliciesResponse = null;
|
|
58
|
+
export type GetGeneralConfigResponse = Nullable<{
|
|
59
59
|
"config.services.active": number;
|
|
60
60
|
"config.staffs.active": number;
|
|
61
61
|
"config.checkin.ask_email.active": number;
|
|
@@ -63,7 +63,7 @@ export declare type GetGeneralConfigResponse = Nullable<{
|
|
|
63
63
|
"config.review.notification": number;
|
|
64
64
|
"config.checkin.printer.active": number;
|
|
65
65
|
}>;
|
|
66
|
-
export
|
|
66
|
+
export type UpdateGeneralConfigResponse = Nullable<{
|
|
67
67
|
"config.services.active": number;
|
|
68
68
|
"config.staffs.active": number;
|
|
69
69
|
"config.checkin.ask_email.active": number;
|
|
@@ -71,7 +71,7 @@ export declare type UpdateGeneralConfigResponse = Nullable<{
|
|
|
71
71
|
"config.review.notification": number;
|
|
72
72
|
"config.checkin.printer.active": number;
|
|
73
73
|
}>;
|
|
74
|
-
export
|
|
74
|
+
export type GetBusinessWorkHourResponse = Nullable<{
|
|
75
75
|
business_id: number;
|
|
76
76
|
working_day: string;
|
|
77
77
|
mo: string;
|
|
@@ -84,6 +84,6 @@ export declare type GetBusinessWorkHourResponse = Nullable<{
|
|
|
84
84
|
is_active: number;
|
|
85
85
|
type: string;
|
|
86
86
|
}>;
|
|
87
|
-
export
|
|
87
|
+
export type UpdateBusinessWorkHourResponse = GetBusinessWorkHourResponse;
|
|
88
88
|
export {};
|
|
89
89
|
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAA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A;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,2BAA2B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetSMSRemainResponse = Nullable<{
|
|
3
3
|
remain_balance: {
|
|
4
4
|
price: number;
|
|
5
5
|
sms: number;
|
|
@@ -16,7 +16,7 @@ export declare type GetSMSRemainResponse = Nullable<{
|
|
|
16
16
|
total: number;
|
|
17
17
|
};
|
|
18
18
|
}>;
|
|
19
|
-
export
|
|
19
|
+
export type GetSMSHistoryResponse = Nullable<{
|
|
20
20
|
id: number;
|
|
21
21
|
package_price: number;
|
|
22
22
|
package_sms: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sms.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/sms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"sms.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/sms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IACxC,cAAc,EAAE;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,GAAG,EAAE,MAAM,CAAA;KACd,CAAA;IACD,SAAS,EAAE;QACP,IAAI,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,GAAG,EAAE,MAAM,CAAA;SACd,CAAA;QACD,QAAQ,EAAE;YACN,KAAK,EAAE,MAAM,CAAA;YACb,GAAG,EAAE,MAAM,CAAA;SACd,CAAA;QACD,KAAK,EAAE,MAAM,CAAA;KAChB,CAAA;CACJ,CAAC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACrB,EAAE,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetListStaffResponse = Nullable<{
|
|
3
3
|
user_id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
code: number;
|
|
@@ -51,11 +51,11 @@ export declare type GetListStaffResponse = Nullable<{
|
|
|
51
51
|
updated_at: string;
|
|
52
52
|
}[];
|
|
53
53
|
}[]>;
|
|
54
|
-
export
|
|
54
|
+
export type CreateStaffResponse = Nullable<{
|
|
55
55
|
employee: Employee;
|
|
56
56
|
employeeWorkDay: EmployeeWorkDay;
|
|
57
57
|
}>;
|
|
58
|
-
|
|
58
|
+
type Employee = Nullable<{
|
|
59
59
|
user_id: number;
|
|
60
60
|
name: string;
|
|
61
61
|
code: string;
|
|
@@ -71,7 +71,7 @@ declare type Employee = Nullable<{
|
|
|
71
71
|
commission: any;
|
|
72
72
|
permission: Permission[];
|
|
73
73
|
}>;
|
|
74
|
-
|
|
74
|
+
type Permission = Nullable<{
|
|
75
75
|
id: number;
|
|
76
76
|
name: string;
|
|
77
77
|
type: string;
|
|
@@ -79,7 +79,7 @@ declare type Permission = Nullable<{
|
|
|
79
79
|
created_at: string;
|
|
80
80
|
updated_at: string;
|
|
81
81
|
}>;
|
|
82
|
-
|
|
82
|
+
type EmployeeWorkDay = Nullable<{
|
|
83
83
|
working_day: string;
|
|
84
84
|
mo: string;
|
|
85
85
|
tu: string;
|
|
@@ -92,10 +92,10 @@ declare type EmployeeWorkDay = Nullable<{
|
|
|
92
92
|
employee_id: number;
|
|
93
93
|
id: number;
|
|
94
94
|
}>;
|
|
95
|
-
export
|
|
96
|
-
export
|
|
97
|
-
export
|
|
98
|
-
export
|
|
95
|
+
export type UpdateStaffResponse = CreateStaffResponse;
|
|
96
|
+
export type DeleteStaffResponse = null;
|
|
97
|
+
export type SortStaffResponse = null;
|
|
98
|
+
export type GetStaffWorkHourResponse = Nullable<{
|
|
99
99
|
working_day: string;
|
|
100
100
|
mo: string;
|
|
101
101
|
tu: string;
|
|
@@ -108,8 +108,8 @@ export declare type GetStaffWorkHourResponse = Nullable<{
|
|
|
108
108
|
id: number;
|
|
109
109
|
employee_id: number;
|
|
110
110
|
}>;
|
|
111
|
-
export
|
|
112
|
-
export
|
|
111
|
+
export type UpdateStaffWorkHourResponse = GetStaffWorkHourResponse;
|
|
112
|
+
export type GetListServiceByStaffResponse = Nullable<{
|
|
113
113
|
id: number;
|
|
114
114
|
employee_id: number;
|
|
115
115
|
service_id: number;
|
|
@@ -138,9 +138,9 @@ export declare type GetListServiceByStaffResponse = Nullable<{
|
|
|
138
138
|
image_path: any;
|
|
139
139
|
};
|
|
140
140
|
}[]>;
|
|
141
|
-
export
|
|
142
|
-
export
|
|
143
|
-
export
|
|
141
|
+
export type AddListServiceByStaffResponse = null;
|
|
142
|
+
export type DeleteListServiceByStaffResponse = null;
|
|
143
|
+
export type GetListPermissionResponse = Nullable<{
|
|
144
144
|
id: number;
|
|
145
145
|
name: string;
|
|
146
146
|
type: string;
|
|
@@ -148,7 +148,7 @@ export declare type GetListPermissionResponse = Nullable<{
|
|
|
148
148
|
created_at: string;
|
|
149
149
|
updated_at: string;
|
|
150
150
|
}[]>;
|
|
151
|
-
export
|
|
151
|
+
export type SaveCommissionResponse = Nullable<{
|
|
152
152
|
id: number;
|
|
153
153
|
staff_id: string;
|
|
154
154
|
type: string;
|
|
@@ -171,7 +171,7 @@ export declare type SaveCommissionResponse = Nullable<{
|
|
|
171
171
|
salary_type: number;
|
|
172
172
|
salary_per_hour: number;
|
|
173
173
|
}>;
|
|
174
|
-
export
|
|
174
|
+
export type UpdateStaffCommissionResponse = Nullable<{
|
|
175
175
|
user_id: number;
|
|
176
176
|
name: string;
|
|
177
177
|
code: number;
|
|
@@ -223,6 +223,6 @@ export declare type UpdateStaffCommissionResponse = Nullable<{
|
|
|
223
223
|
updated_at: string;
|
|
224
224
|
}[];
|
|
225
225
|
}>;
|
|
226
|
-
export
|
|
226
|
+
export type UpdateRoleAppointmentResponse = null;
|
|
227
227
|
export {};
|
|
228
228
|
//# sourceMappingURL=staff.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IACxC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,KAAK,EAAE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,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;KACrB,EAAE,CAAA;CACN,CAAC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type CheckInTicket = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
subject: string;
|
|
5
5
|
content: string;
|
|
@@ -10,21 +10,21 @@ export declare type CheckInTicket = Nullable<{
|
|
|
10
10
|
status: number;
|
|
11
11
|
name: string;
|
|
12
12
|
}>;
|
|
13
|
-
export
|
|
13
|
+
export type GetCheckInTicketInfoResponse = Nullable<{
|
|
14
14
|
items: CheckInTicket[];
|
|
15
15
|
template_text: string;
|
|
16
16
|
}>;
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
17
|
+
export type CreateCheckInTicketTemplateResponse = CheckInTicket;
|
|
18
|
+
export type UpdateCheckInTicketTemplateResponse = CheckInTicket;
|
|
19
|
+
export type GetCheckInTicketTemplateResponse = Nullable<CheckInTicket[]>;
|
|
20
|
+
export type CheckInTicketBlockName = Nullable<{
|
|
21
21
|
subject: string;
|
|
22
22
|
name: string;
|
|
23
23
|
}>;
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
24
|
+
export type GetCheckInTicketListBlockNameResponse = Nullable<CheckInTicketBlockName[]>;
|
|
25
|
+
export type GetCheckInTicketListResponse = Nullable<CheckInTicket[]>;
|
|
26
|
+
export type MoveCheckInSubjectResponse = null;
|
|
27
|
+
export type SetCheckInDefaultTicketTemplateResponse = null;
|
|
28
|
+
export type SortCheckInPriorityResponse = null;
|
|
29
|
+
export type DeleteCheckInTicketTemplateResponse = null;
|
|
30
30
|
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,GAAG,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAChD,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAA;AAE/D,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAA;AAE/D,MAAM,MAAM,gCAAgC,GAAG,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;AAExE,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,QAAQ,CAAC,sBAAsB,EAAE,CAAC,CAAA;AAEtF,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;AAEpE,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC;AAE9C,MAAM,MAAM,uCAAuC,GAAG,IAAI,CAAC;AAE3D,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC;AAE/C,MAAM,MAAM,mCAAmC,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/key_storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/key_storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CAsD5E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function KeyStorageModel(data) {
|
|
2
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30;
|
|
2
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
|
|
3
3
|
return {
|
|
4
4
|
in_service_feature: (_a = data === null || data === void 0 ? void 0 : data.in_service_feature) !== null && _a !== void 0 ? _a : null,
|
|
5
5
|
ach_payment_active: (_b = data === null || data === void 0 ? void 0 : data.ach_payment_active) !== null && _b !== void 0 ? _b : null,
|
|
@@ -50,5 +50,7 @@ export function KeyStorageModel(data) {
|
|
|
50
50
|
checkin_ask_birthday_active: (_28 = data === null || data === void 0 ? void 0 : data.checkin_ask_birthday_active) !== null && _28 !== void 0 ? _28 : 1,
|
|
51
51
|
checkin_show_point: (_29 = data === null || data === void 0 ? void 0 : data.checkin_show_point) !== null && _29 !== void 0 ? _29 : 1,
|
|
52
52
|
checkin_ask_email_active: (_30 = data === null || data === void 0 ? void 0 : data.checkin_ask_email_active) !== null && _30 !== void 0 ? _30 : 1,
|
|
53
|
+
checkin_staffs_active: (_31 = data === null || data === void 0 ? void 0 : data.checkin_staffs_active) !== null && _31 !== void 0 ? _31 : 1,
|
|
54
|
+
checkin_services_active: (_32 = data === null || data === void 0 ? void 0 : data.checkin_services_active) !== null && _32 !== void 0 ? _32 : 1,
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -6,62 +6,5 @@ export declare function CashDisCountSettingModel(data: any): Response.GetCashDis
|
|
|
6
6
|
export declare function IncomeModel(data: any): Response.GetIncomeDetailResponse;
|
|
7
7
|
export declare function ApprovePayrollModel(data: any): Response.GetApprovePayrollResponse;
|
|
8
8
|
export declare function SalaryChartModel(data: any): Response.GetSalaryChartResponse;
|
|
9
|
-
export declare function GetSiteIncomeDetail(data: any):
|
|
10
|
-
employee: {
|
|
11
|
-
user_id: any;
|
|
12
|
-
name: any;
|
|
13
|
-
code: any;
|
|
14
|
-
created_at: any;
|
|
15
|
-
updated_at: any;
|
|
16
|
-
color_code: any;
|
|
17
|
-
image_url: any;
|
|
18
|
-
delete_image_url: any;
|
|
19
|
-
priority: any;
|
|
20
|
-
commission_type: any;
|
|
21
|
-
turn_priority: any;
|
|
22
|
-
last_turn_priority: any;
|
|
23
|
-
phone: any;
|
|
24
|
-
address: any;
|
|
25
|
-
nickname: any;
|
|
26
|
-
priority_calendar: any;
|
|
27
|
-
staff_commission: {
|
|
28
|
-
id: any;
|
|
29
|
-
staff_id: any;
|
|
30
|
-
type: any;
|
|
31
|
-
rate: any;
|
|
32
|
-
created_at: any;
|
|
33
|
-
updated_at: any;
|
|
34
|
-
status: any;
|
|
35
|
-
salary_by_period: any;
|
|
36
|
-
service_rate: any;
|
|
37
|
-
product_rate: any;
|
|
38
|
-
gift_card_rate: any;
|
|
39
|
-
cash_check_percentage: any;
|
|
40
|
-
card_charge: any;
|
|
41
|
-
cash_bonus: any;
|
|
42
|
-
is_tip_to_check: any;
|
|
43
|
-
tip_to_check_percentage: any;
|
|
44
|
-
count_day_off_state: any;
|
|
45
|
-
count_day_off_value: any;
|
|
46
|
-
day_can_not_off: any;
|
|
47
|
-
salary_type: any;
|
|
48
|
-
salary_per_hour: any;
|
|
49
|
-
};
|
|
50
|
-
approved_commission: any;
|
|
51
|
-
};
|
|
52
|
-
details: any;
|
|
53
|
-
total: {
|
|
54
|
-
income: any;
|
|
55
|
-
commission: any;
|
|
56
|
-
salary: any;
|
|
57
|
-
card_charge: any;
|
|
58
|
-
supply_share: any;
|
|
59
|
-
tip_before_charge: any;
|
|
60
|
-
tip_charge: any;
|
|
61
|
-
tip_after_charge: any;
|
|
62
|
-
cash_income: any;
|
|
63
|
-
check_income: any;
|
|
64
|
-
total: any;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
9
|
+
export declare function GetSiteIncomeDetail(data: any): Response.GetSiteIncomeDetailResponse;
|
|
67
10
|
//# sourceMappingURL=payroll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/payroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AA4B7C,wBAAgB,YAAY,CAAC,IAA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B,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAY3E;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,2BAA2B,CAwDnF"}
|
|
@@ -204,7 +204,7 @@ export function SalaryChartModel(data) {
|
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
export function GetSiteIncomeDetail(data) {
|
|
207
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
|
|
207
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38;
|
|
208
208
|
return {
|
|
209
209
|
employee: {
|
|
210
210
|
user_id: (_b = (_a = data === null || data === void 0 ? void 0 : data.employee) === null || _a === void 0 ? void 0 : _a.user_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -226,31 +226,44 @@ export function GetSiteIncomeDetail(data) {
|
|
|
226
226
|
staff_commission: StaffCommissionModel((_8 = data === null || data === void 0 ? void 0 : data.employee) === null || _8 === void 0 ? void 0 : _8.staff_commission),
|
|
227
227
|
approved_commission: (_10 = (_9 = data === null || data === void 0 ? void 0 : data.employee) === null || _9 === void 0 ? void 0 : _9.approved_commission) !== null && _10 !== void 0 ? _10 : null,
|
|
228
228
|
},
|
|
229
|
-
details: data === null || data === void 0 ? void 0 : data.details.map((detail) =>
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
229
|
+
details: data === null || data === void 0 ? void 0 : data.details.map((detail) => {
|
|
230
|
+
var _a, _b, _c, _d, _e, _f;
|
|
231
|
+
return ({
|
|
232
|
+
date: (_a = detail === null || detail === void 0 ? void 0 : detail.date) !== null && _a !== void 0 ? _a : null,
|
|
233
|
+
total_income: (_b = detail === null || detail === void 0 ? void 0 : detail.total_income) !== null && _b !== void 0 ? _b : null,
|
|
234
|
+
total_commission: (_c = detail === null || detail === void 0 ? void 0 : detail.total_commission) !== null && _c !== void 0 ? _c : null,
|
|
235
|
+
total_tip: (_d = detail === null || detail === void 0 ? void 0 : detail.total_tip) !== null && _d !== void 0 ? _d : null,
|
|
236
|
+
total_sales: (_e = detail === null || detail === void 0 ? void 0 : detail.total_sales) !== null && _e !== void 0 ? _e : null,
|
|
237
|
+
total_supply: (_f = detail === null || detail === void 0 ? void 0 : detail.total_supply) !== null && _f !== void 0 ? _f : null,
|
|
238
|
+
payroll_daily_details: ((detail === null || detail === void 0 ? void 0 : detail.payroll_daily_details) || []).map((item) => {
|
|
239
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
240
|
+
return ({
|
|
241
|
+
orderId: (_a = item === null || item === void 0 ? void 0 : item.orderId) !== null && _a !== void 0 ? _a : null,
|
|
242
|
+
time_of_day: (_b = item === null || item === void 0 ? void 0 : item.time_of_day) !== null && _b !== void 0 ? _b : null,
|
|
243
|
+
commission: (_c = item === null || item === void 0 ? void 0 : item.commission) !== null && _c !== void 0 ? _c : null,
|
|
244
|
+
income: (_d = item === null || item === void 0 ? void 0 : item.income) !== null && _d !== void 0 ? _d : null,
|
|
245
|
+
supply: (_e = item === null || item === void 0 ? void 0 : item.supply) !== null && _e !== void 0 ? _e : null,
|
|
246
|
+
sales: (_f = item === null || item === void 0 ? void 0 : item.sales) !== null && _f !== void 0 ? _f : null,
|
|
247
|
+
tip: (_g = item === null || item === void 0 ? void 0 : item.tip) !== null && _g !== void 0 ? _g : null,
|
|
248
|
+
});
|
|
249
|
+
}),
|
|
250
|
+
});
|
|
251
|
+
}),
|
|
242
252
|
total: {
|
|
243
253
|
income: (_12 = (_11 = data === null || data === void 0 ? void 0 : data.total) === null || _11 === void 0 ? void 0 : _11.income) !== null && _12 !== void 0 ? _12 : null,
|
|
244
254
|
commission: (_14 = (_13 = data === null || data === void 0 ? void 0 : data.total) === null || _13 === void 0 ? void 0 : _13.commission) !== null && _14 !== void 0 ? _14 : null,
|
|
245
255
|
salary: (_16 = (_15 = data === null || data === void 0 ? void 0 : data.total) === null || _15 === void 0 ? void 0 : _15.salary) !== null && _16 !== void 0 ? _16 : null,
|
|
246
256
|
card_charge: (_18 = (_17 = data === null || data === void 0 ? void 0 : data.total) === null || _17 === void 0 ? void 0 : _17.card_charge) !== null && _18 !== void 0 ? _18 : null,
|
|
247
257
|
supply_share: (_20 = (_19 = data === null || data === void 0 ? void 0 : data.total) === null || _19 === void 0 ? void 0 : _19.supply_share) !== null && _20 !== void 0 ? _20 : null,
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
258
|
+
working_hours: (_22 = (_21 = data === null || data === void 0 ? void 0 : data.total) === null || _21 === void 0 ? void 0 : _21.working_hours) !== null && _22 !== void 0 ? _22 : null,
|
|
259
|
+
salary_per_hour: (_24 = (_23 = data === null || data === void 0 ? void 0 : data.total) === null || _23 === void 0 ? void 0 : _23.salary_per_hour) !== null && _24 !== void 0 ? _24 : null,
|
|
260
|
+
tip_before_charge: (_26 = (_25 = data === null || data === void 0 ? void 0 : data.total) === null || _25 === void 0 ? void 0 : _25.tip_before_charge) !== null && _26 !== void 0 ? _26 : null,
|
|
261
|
+
tip_charge: (_28 = (_27 = data === null || data === void 0 ? void 0 : data.total) === null || _27 === void 0 ? void 0 : _27.tip_charge) !== null && _28 !== void 0 ? _28 : null,
|
|
262
|
+
tip_after_charge: (_30 = (_29 = data === null || data === void 0 ? void 0 : data.total) === null || _29 === void 0 ? void 0 : _29.tip_after_charge) !== null && _30 !== void 0 ? _30 : null,
|
|
263
|
+
cash_income: (_32 = (_31 = data === null || data === void 0 ? void 0 : data.total) === null || _31 === void 0 ? void 0 : _31.cash_income) !== null && _32 !== void 0 ? _32 : null,
|
|
264
|
+
check_income: (_34 = (_33 = data === null || data === void 0 ? void 0 : data.total) === null || _33 === void 0 ? void 0 : _33.check_income) !== null && _34 !== void 0 ? _34 : null,
|
|
265
|
+
total: (_36 = (_35 = data === null || data === void 0 ? void 0 : data.total) === null || _35 === void 0 ? void 0 : _35.total) !== null && _36 !== void 0 ? _36 : null,
|
|
266
|
+
sales: (_38 = (_37 = data === null || data === void 0 ? void 0 : data.total) === null || _37 === void 0 ? void 0 : _37.sales) !== null && _38 !== void 0 ? _38 : null,
|
|
254
267
|
}
|
|
255
268
|
};
|
|
256
269
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetBatchHistoryRequest = {
|
|
2
2
|
start_date: string;
|
|
3
3
|
end_date: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type GetBatchDetailRequest = {
|
|
6
6
|
date?: string;
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=batch_history.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AACD,MAAM,MAAM,6BAA6B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetCategoryListItemRequest = {};
|
|
2
2
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAA"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AtLeastOne } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type PostCheckInFormSubmitRequest = AtLeastOne<{
|
|
3
3
|
qr_code: string;
|
|
4
4
|
full_name: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
}>;
|
|
7
|
-
export
|
|
7
|
+
export type GetCheckInListRequest = {
|
|
8
8
|
date: string;
|
|
9
9
|
type?: string;
|
|
10
10
|
page?: number;
|
|
11
11
|
'per-page'?: number;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type GetCheckInReportRequest = {
|
|
14
14
|
date?: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type GetLastCheckInRequest = {};
|
|
17
|
+
export type GetCheckInInfoRequest = {
|
|
18
18
|
order_id: number;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type SearchCheckInRequest = {
|
|
21
21
|
keywords: string | number;
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=check_in.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAA;CAChB,CAAC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG,EAEnC,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA"}
|