gap-nodejs-sdk 1.0.255 → 1.0.256
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/api/appointment.d.ts +0 -2
- package/dist/api/appointment_api/1.0.0/api/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/api/appointment.js +0 -19
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +0 -2
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.js +0 -2
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +0 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.js +0 -96
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +19 -25
- 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 +25 -110
- 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 +17 -17
- 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/api/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.js +1 -2
- 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/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +4 -4
- 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/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +3 -10
- 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/go_check_in_api/index.d.ts +0 -1
- package/dist/api/go_check_in_api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/index.js +0 -1
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/order.js +20 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/endpoints/order.js +2 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts.map +1 -1
- 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 +29 -15
- 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 +5 -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 +30 -28
- 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 +19 -19
- 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/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 +17 -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 +2 -3
- 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/dist/utils/form-data.d.ts.map +1 -1
- package/dist/utils/form-data.js +0 -2
- package/package.json +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/business.d.ts +0 -12
- package/dist/api/go_check_in_api/1.0.0/api/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/api/business.js +0 -40
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.d.ts +0 -7
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.js +0 -5
- package/dist/api/go_check_in_api/1.0.0/models/business.d.ts +0 -42
- package/dist/api/go_check_in_api/1.0.0/models/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/business.js +0 -47
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts +0 -27
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/business.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +0 -44
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/business.js +0 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export type GetPosTicketInfoRequest = {
|
|
1
|
+
export declare type GetPosTicketInfoRequest = {
|
|
2
2
|
type?: string;
|
|
3
3
|
};
|
|
4
|
-
export type CreatePosTicketTemplateRequest = {
|
|
4
|
+
export declare type CreatePosTicketTemplateRequest = {
|
|
5
5
|
subject: string;
|
|
6
6
|
content?: string;
|
|
7
7
|
type?: string;
|
|
8
8
|
};
|
|
9
|
-
export type DeletePosTicketTemplateRequest = {
|
|
9
|
+
export declare type DeletePosTicketTemplateRequest = {
|
|
10
10
|
id: number;
|
|
11
11
|
type?: string;
|
|
12
12
|
};
|
|
13
|
-
export type UpdatePosTicketTemplateRequest = {
|
|
13
|
+
export declare type UpdatePosTicketTemplateRequest = {
|
|
14
14
|
id: number;
|
|
15
15
|
subject?: string;
|
|
16
16
|
content?: string;
|
|
17
17
|
type?: string;
|
|
18
18
|
};
|
|
19
|
-
export type MovePosSubjectRequest = {
|
|
19
|
+
export declare type MovePosSubjectRequest = {
|
|
20
20
|
id: number;
|
|
21
21
|
action?: string;
|
|
22
22
|
type?: string;
|
|
23
23
|
};
|
|
24
|
-
export type SetPosDefaultTicketTemplateRequest = {
|
|
24
|
+
export declare type SetPosDefaultTicketTemplateRequest = {
|
|
25
25
|
type: string;
|
|
26
26
|
};
|
|
27
|
-
export type GetPosTicketTemplateRequest = {};
|
|
28
|
-
export type GetPosTicketListBlockNameRequest = {};
|
|
29
|
-
export type SortPosPriorityRequest = {
|
|
27
|
+
export declare type GetPosTicketTemplateRequest = {};
|
|
28
|
+
export declare type GetPosTicketListBlockNameRequest = {};
|
|
29
|
+
export declare type SortPosPriorityRequest = {
|
|
30
30
|
tickets: string;
|
|
31
31
|
};
|
|
32
|
-
export type GetPosTicketListRequest = {
|
|
32
|
+
export declare type GetPosTicketListRequest = {
|
|
33
33
|
type?: string;
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/ticket.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/ticket.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,oBAAY,8BAA8B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,oBAAY,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,oBAAY,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,oBAAY,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,oBAAY,kCAAkC,GAAG;IAC7C,IAAI,EAAE,MAAM,CAAA;CACf,CAAA;AACD,oBAAY,2BAA2B,GAAG,EAAE,CAAA;AAE5C,oBAAY,gCAAgC,GAAG,EAAE,CAAA;AAEjD,oBAAY,sBAAsB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,oBAAY,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type GetTimeKeepingListRequest = {
|
|
1
|
+
export declare type GetTimeKeepingListRequest = {
|
|
2
2
|
page?: number;
|
|
3
3
|
"per-page"?: number;
|
|
4
4
|
staff_name?: string;
|
|
@@ -8,7 +8,7 @@ export type GetTimeKeepingListRequest = {
|
|
|
8
8
|
checkin_from?: string;
|
|
9
9
|
checkout_to?: string;
|
|
10
10
|
};
|
|
11
|
-
export type AddTimeKeepingRequest = {
|
|
11
|
+
export declare type AddTimeKeepingRequest = {
|
|
12
12
|
staff_id?: number;
|
|
13
13
|
time_in: string;
|
|
14
14
|
time_out?: number;
|
|
@@ -22,7 +22,7 @@ export type AddTimeKeepingRequest = {
|
|
|
22
22
|
checkout_to?: string;
|
|
23
23
|
staff_name: string;
|
|
24
24
|
};
|
|
25
|
-
export type UpdateTimeKeepingRequest = {
|
|
25
|
+
export declare type UpdateTimeKeepingRequest = {
|
|
26
26
|
id: number;
|
|
27
27
|
time_in: string;
|
|
28
28
|
time_out?: string;
|
|
@@ -36,14 +36,14 @@ export type UpdateTimeKeepingRequest = {
|
|
|
36
36
|
checkout_to?: string;
|
|
37
37
|
staff_name?: string;
|
|
38
38
|
};
|
|
39
|
-
export type RemoveTimeKeepingRequest = {
|
|
39
|
+
export declare type RemoveTimeKeepingRequest = {
|
|
40
40
|
id: number;
|
|
41
41
|
};
|
|
42
|
-
export type GetTimeKeepingListStaffRequest = {};
|
|
43
|
-
export type PostTimeKeepingCheckInRequest = {
|
|
42
|
+
export declare type GetTimeKeepingListStaffRequest = {};
|
|
43
|
+
export declare type PostTimeKeepingCheckInRequest = {
|
|
44
44
|
staff_id: number;
|
|
45
45
|
};
|
|
46
|
-
export type PostTimeKeepingCheckOutRequest = {
|
|
46
|
+
export declare type PostTimeKeepingCheckOutRequest = {
|
|
47
47
|
staff_id: number;
|
|
48
48
|
};
|
|
49
49
|
//# sourceMappingURL=time_keeping.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time_keeping.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/time_keeping.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"time_keeping.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/time_keeping.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB,GAAG;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AACD,oBAAY,qBAAqB,GAAG;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA;AACD,oBAAY,wBAAwB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,oBAAY,wBAAwB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AACD,oBAAY,8BAA8B,GAAG,EAAE,CAAA;AAC/C,oBAAY,6BAA6B,GAAG;IACxC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AACD,oBAAY,8BAA8B,GAAG;IACzC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type UnsubscribeContactRequest = {};
|
|
1
|
+
export declare type UnsubscribeContactRequest = {};
|
|
2
2
|
//# sourceMappingURL=unsubscribe_contact.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsubscribe_contact.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"unsubscribe_contact.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB,GAAG,EAEvC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/user.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/user.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
type Batch = Nullable<{
|
|
2
|
+
declare type Batch = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
order_id: number;
|
|
5
5
|
customer_id: number;
|
|
@@ -27,7 +27,7 @@ type Batch = Nullable<{
|
|
|
27
27
|
deposit: number;
|
|
28
28
|
external_cc_amount: number;
|
|
29
29
|
}>;
|
|
30
|
-
type Summary = Nullable<{
|
|
30
|
+
declare type Summary = Nullable<{
|
|
31
31
|
date: string;
|
|
32
32
|
display_date: string;
|
|
33
33
|
display_date_time: string;
|
|
@@ -49,7 +49,7 @@ type Summary = Nullable<{
|
|
|
49
49
|
deposit: number;
|
|
50
50
|
total: number;
|
|
51
51
|
}>;
|
|
52
|
-
export type GetBatchHistoryResponse = Nullable<{
|
|
52
|
+
export declare type GetBatchHistoryResponse = Nullable<{
|
|
53
53
|
date: string;
|
|
54
54
|
display_date: string;
|
|
55
55
|
display_date_time: string;
|
|
@@ -71,7 +71,7 @@ export type GetBatchHistoryResponse = Nullable<{
|
|
|
71
71
|
deposit: number;
|
|
72
72
|
total: number;
|
|
73
73
|
}>;
|
|
74
|
-
export type GetBatchDetailResponse = Nullable<{
|
|
74
|
+
export declare type GetBatchDetailResponse = Nullable<{
|
|
75
75
|
batches: Batch[];
|
|
76
76
|
summary: Summary;
|
|
77
77
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/batch_history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/batch_history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,aAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,MAAM,CA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E,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC,CAAA;AAEF,oBAAY,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetBusinessInfoResponse = Nullable<{
|
|
2
|
+
export declare type GetBusinessInfoResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
phone: string;
|
|
@@ -13,7 +13,7 @@ export type GetBusinessInfoResponse = Nullable<{
|
|
|
13
13
|
business_code: any;
|
|
14
14
|
country_code: string;
|
|
15
15
|
}>;
|
|
16
|
-
export type PostBusinessUpdateInfoResponse = Nullable<{
|
|
16
|
+
export declare type PostBusinessUpdateInfoResponse = Nullable<{
|
|
17
17
|
id: number;
|
|
18
18
|
name: string;
|
|
19
19
|
phone: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/business.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/business.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,uBAAuB,GAAG,QAAQ,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,WAAW,EAAE,GAAG,CAAA;IAChB,aAAa,EAAE,GAAG,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AAEF,oBAAY,8BAA8B,GAAG,QAAQ,CAAC;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,WAAW,EAAE,GAAG,CAAA;IAChB,aAAa,EAAE,GAAG,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
type Item = Nullable<{
|
|
2
|
+
declare type Item = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
price: number;
|
|
@@ -9,7 +9,7 @@ type Item = Nullable<{
|
|
|
9
9
|
color_code903: string;
|
|
10
10
|
duration: number;
|
|
11
11
|
}>;
|
|
12
|
-
export type GetCategoryListItemResponse = Nullable<{
|
|
12
|
+
export declare type GetCategoryListItemResponse = Nullable<{
|
|
13
13
|
id: number;
|
|
14
14
|
name: string;
|
|
15
15
|
priority: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,aAAK,IAAI,GAAG,QAAQ,CAAC;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA;AAEF,oBAAY,2BAA2B,GAAG,QAAQ,CAAC;IAC/C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,IAAI,EAAE,CAAA;CAChB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
type OrderBatch = Nullable<{
|
|
2
|
+
declare type OrderBatch = Nullable<{
|
|
3
3
|
card_amount: number;
|
|
4
4
|
cash_amount: number;
|
|
5
5
|
check_amount: number;
|
|
@@ -15,7 +15,7 @@ type OrderBatch = Nullable<{
|
|
|
15
15
|
cash_discount: number;
|
|
16
16
|
change: number;
|
|
17
17
|
}>;
|
|
18
|
-
type Tip = Nullable<{
|
|
18
|
+
declare type Tip = Nullable<{
|
|
19
19
|
id: number;
|
|
20
20
|
order_id: number;
|
|
21
21
|
created_at: string;
|
|
@@ -29,12 +29,12 @@ type Tip = Nullable<{
|
|
|
29
29
|
giftcard_code: any;
|
|
30
30
|
is_updated: number;
|
|
31
31
|
}>;
|
|
32
|
-
type Service = Nullable<{
|
|
32
|
+
declare type Service = Nullable<{
|
|
33
33
|
staff_name: string;
|
|
34
34
|
staff_id: number;
|
|
35
35
|
items: ServiceItem[];
|
|
36
36
|
}>;
|
|
37
|
-
type ServiceItem = Nullable<{
|
|
37
|
+
declare type ServiceItem = Nullable<{
|
|
38
38
|
item_name: string;
|
|
39
39
|
quantity: number;
|
|
40
40
|
price: number;
|
|
@@ -52,13 +52,13 @@ type ServiceItem = Nullable<{
|
|
|
52
52
|
item_id: number;
|
|
53
53
|
type: number;
|
|
54
54
|
}>;
|
|
55
|
-
type Staff = Nullable<{
|
|
55
|
+
declare type Staff = Nullable<{
|
|
56
56
|
employee_name: string;
|
|
57
57
|
employee_image: string;
|
|
58
58
|
employee_color: string;
|
|
59
59
|
employee_id: string;
|
|
60
60
|
}>;
|
|
61
|
-
type OrderPaymentMethod = Nullable<{
|
|
61
|
+
declare type OrderPaymentMethod = Nullable<{
|
|
62
62
|
id: number;
|
|
63
63
|
order_id: number;
|
|
64
64
|
payment_method_type: number;
|
|
@@ -69,7 +69,7 @@ type OrderPaymentMethod = Nullable<{
|
|
|
69
69
|
status: number;
|
|
70
70
|
giftcard_code: string;
|
|
71
71
|
}>;
|
|
72
|
-
type PaymentHistory = Nullable<{
|
|
72
|
+
declare type PaymentHistory = Nullable<{
|
|
73
73
|
id: number;
|
|
74
74
|
payment_id: string;
|
|
75
75
|
order_id: string;
|
|
@@ -88,7 +88,7 @@ type PaymentHistory = Nullable<{
|
|
|
88
88
|
entry_type: string;
|
|
89
89
|
last_four: string;
|
|
90
90
|
}>;
|
|
91
|
-
type Customer = Nullable<{
|
|
91
|
+
declare type Customer = Nullable<{
|
|
92
92
|
id: number;
|
|
93
93
|
full_name: string;
|
|
94
94
|
phone: string;
|
|
@@ -97,7 +97,7 @@ type Customer = Nullable<{
|
|
|
97
97
|
customer_point: number;
|
|
98
98
|
customer_type: number;
|
|
99
99
|
}>;
|
|
100
|
-
type Order = Nullable<{
|
|
100
|
+
declare type Order = Nullable<{
|
|
101
101
|
id: number;
|
|
102
102
|
customer_name: string;
|
|
103
103
|
customer_phone: string;
|
|
@@ -106,10 +106,10 @@ type Order = Nullable<{
|
|
|
106
106
|
order_status: number;
|
|
107
107
|
services: OrderService[];
|
|
108
108
|
}>;
|
|
109
|
-
type OrderService = Nullable<{
|
|
109
|
+
declare type OrderService = Nullable<{
|
|
110
110
|
item_name: string;
|
|
111
111
|
}>;
|
|
112
|
-
export type PostCheckInFormSubmitResponse = Nullable<{
|
|
112
|
+
export declare type PostCheckInFormSubmitResponse = Nullable<{
|
|
113
113
|
total_before_discount: number;
|
|
114
114
|
total_after_discount: number;
|
|
115
115
|
tax: number;
|
|
@@ -162,7 +162,7 @@ export type PostCheckInFormSubmitResponse = Nullable<{
|
|
|
162
162
|
staff_code: any[];
|
|
163
163
|
attachment: any;
|
|
164
164
|
}>;
|
|
165
|
-
export type GetCheckInInfoResponse = Nullable<{
|
|
165
|
+
export declare type GetCheckInInfoResponse = Nullable<{
|
|
166
166
|
id: number;
|
|
167
167
|
customer_id?: number;
|
|
168
168
|
customer_name: string;
|
|
@@ -239,7 +239,7 @@ export type GetCheckInInfoResponse = Nullable<{
|
|
|
239
239
|
in_service: 0 | 1;
|
|
240
240
|
attachment: any;
|
|
241
241
|
}>;
|
|
242
|
-
export type GetCheckInReportResponse = Nullable<{
|
|
242
|
+
export declare type GetCheckInReportResponse = Nullable<{
|
|
243
243
|
all: number;
|
|
244
244
|
pending: number;
|
|
245
245
|
processing: number;
|
|
@@ -247,11 +247,11 @@ export type GetCheckInReportResponse = Nullable<{
|
|
|
247
247
|
done: number;
|
|
248
248
|
settlement_fail: number;
|
|
249
249
|
}>;
|
|
250
|
-
export type GetLastCheckInResponse = Nullable<{
|
|
250
|
+
export declare type GetLastCheckInResponse = Nullable<{
|
|
251
251
|
id: number;
|
|
252
252
|
updated_at: number;
|
|
253
253
|
}>;
|
|
254
|
-
export type SearchCheckInResponse = Nullable<{
|
|
254
|
+
export declare type SearchCheckInResponse = Nullable<{
|
|
255
255
|
customer: Customer[];
|
|
256
256
|
order: Order[];
|
|
257
257
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,aAAK,UAAU,GAAG,QAAQ,CAAC;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,aAAK,GAAG,GAAG,QAAQ,CAAC;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EA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
|
first_name: any;
|
|
5
5
|
last_name: any;
|
|
@@ -37,7 +37,7 @@ type Customer = Nullable<{
|
|
|
37
37
|
last_review: any;
|
|
38
38
|
review_type: string;
|
|
39
39
|
}>;
|
|
40
|
-
type Redeem = Nullable<{
|
|
40
|
+
declare type Redeem = Nullable<{
|
|
41
41
|
id: number;
|
|
42
42
|
point: number;
|
|
43
43
|
content: string;
|
|
@@ -47,7 +47,7 @@ type Redeem = Nullable<{
|
|
|
47
47
|
logic_type: string;
|
|
48
48
|
logic_value: string;
|
|
49
49
|
}>;
|
|
50
|
-
type Order = Nullable<{
|
|
50
|
+
declare type Order = Nullable<{
|
|
51
51
|
item_variant: any[];
|
|
52
52
|
item_modifier: any[];
|
|
53
53
|
id: number;
|
|
@@ -69,7 +69,7 @@ type Order = Nullable<{
|
|
|
69
69
|
sub_total: number;
|
|
70
70
|
items: OrderItem[];
|
|
71
71
|
}>;
|
|
72
|
-
type OrderItem = Nullable<{
|
|
72
|
+
declare type OrderItem = Nullable<{
|
|
73
73
|
additional_data: any;
|
|
74
74
|
id: number;
|
|
75
75
|
item_type: number;
|
|
@@ -83,12 +83,12 @@ type OrderItem = Nullable<{
|
|
|
83
83
|
note: any;
|
|
84
84
|
gift_card_code: any;
|
|
85
85
|
}>;
|
|
86
|
-
type Service = Nullable<{
|
|
86
|
+
declare type Service = Nullable<{
|
|
87
87
|
staff_name: string;
|
|
88
88
|
staff_id: number;
|
|
89
89
|
items: ServiceItem[];
|
|
90
90
|
}>;
|
|
91
|
-
type ServiceItem = Nullable<{
|
|
91
|
+
declare type ServiceItem = Nullable<{
|
|
92
92
|
item_name: string;
|
|
93
93
|
quantity: number;
|
|
94
94
|
note: any;
|
|
@@ -103,12 +103,12 @@ type ServiceItem = Nullable<{
|
|
|
103
103
|
cash_discount: number;
|
|
104
104
|
additional_data: any;
|
|
105
105
|
}>;
|
|
106
|
-
type Staff = Nullable<{
|
|
106
|
+
declare type Staff = Nullable<{
|
|
107
107
|
employee_name: string;
|
|
108
108
|
employee_image?: string;
|
|
109
109
|
employee_color: string;
|
|
110
110
|
}>;
|
|
111
|
-
type OrderBatch = Nullable<{
|
|
111
|
+
declare type OrderBatch = Nullable<{
|
|
112
112
|
card_amount: number;
|
|
113
113
|
cash_amount: number;
|
|
114
114
|
check_amount: number;
|
|
@@ -124,7 +124,7 @@ type OrderBatch = Nullable<{
|
|
|
124
124
|
cash_discount: number;
|
|
125
125
|
change: number;
|
|
126
126
|
}>;
|
|
127
|
-
type Tip = Nullable<{
|
|
127
|
+
declare type Tip = Nullable<{
|
|
128
128
|
data: Daum[];
|
|
129
129
|
id: number;
|
|
130
130
|
order_id: number;
|
|
@@ -138,14 +138,14 @@ type Tip = Nullable<{
|
|
|
138
138
|
giftcard_code: any;
|
|
139
139
|
is_updated: number;
|
|
140
140
|
}>;
|
|
141
|
-
type Daum = Nullable<{
|
|
141
|
+
declare type Daum = Nullable<{
|
|
142
142
|
staff_id: number;
|
|
143
143
|
staff_name: string;
|
|
144
144
|
value_type: string;
|
|
145
145
|
value: string;
|
|
146
146
|
total: string;
|
|
147
147
|
}>;
|
|
148
|
-
type Invoice = Nullable<{
|
|
148
|
+
declare type Invoice = Nullable<{
|
|
149
149
|
id: number;
|
|
150
150
|
checkout_id: number;
|
|
151
151
|
customer_id: any;
|
|
@@ -168,7 +168,7 @@ type Invoice = Nullable<{
|
|
|
168
168
|
type: string;
|
|
169
169
|
invoice_details: InvoiceDetail[];
|
|
170
170
|
}>;
|
|
171
|
-
type InvoiceDetail = Nullable<{
|
|
171
|
+
declare type InvoiceDetail = Nullable<{
|
|
172
172
|
id: number;
|
|
173
173
|
invoice_id: number;
|
|
174
174
|
product_type: string;
|
|
@@ -193,7 +193,7 @@ type InvoiceDetail = Nullable<{
|
|
|
193
193
|
created_at: string;
|
|
194
194
|
updated_at: any;
|
|
195
195
|
}>;
|
|
196
|
-
type OrderDiscount = Nullable<{
|
|
196
|
+
declare type OrderDiscount = Nullable<{
|
|
197
197
|
id: number;
|
|
198
198
|
order_id: number;
|
|
199
199
|
item_type: string;
|
|
@@ -208,7 +208,7 @@ type OrderDiscount = Nullable<{
|
|
|
208
208
|
content: string;
|
|
209
209
|
point: number;
|
|
210
210
|
}>;
|
|
211
|
-
type Payment = Nullable<{
|
|
211
|
+
declare type Payment = Nullable<{
|
|
212
212
|
id: number;
|
|
213
213
|
order_id: number;
|
|
214
214
|
payment_method_type: number;
|
|
@@ -219,7 +219,7 @@ type Payment = Nullable<{
|
|
|
219
219
|
status: number;
|
|
220
220
|
giftcard_code: number;
|
|
221
221
|
}>;
|
|
222
|
-
type Summary = Nullable<{
|
|
222
|
+
declare type Summary = Nullable<{
|
|
223
223
|
card_amount: number;
|
|
224
224
|
card_amount_count: number;
|
|
225
225
|
cash_amount: number;
|
|
@@ -244,7 +244,7 @@ type Summary = Nullable<{
|
|
|
244
244
|
service_fee: number;
|
|
245
245
|
total: number;
|
|
246
246
|
}>;
|
|
247
|
-
type PaymentHistory = Nullable<{
|
|
247
|
+
declare type PaymentHistory = Nullable<{
|
|
248
248
|
id: number;
|
|
249
249
|
payment_id: string;
|
|
250
250
|
order_id: string;
|
|
@@ -263,12 +263,12 @@ type PaymentHistory = Nullable<{
|
|
|
263
263
|
entry_type: string;
|
|
264
264
|
last_four: string;
|
|
265
265
|
}>;
|
|
266
|
-
export type PostUpdateInServiceResponse = GetCheckOutInfoResponse & {
|
|
266
|
+
export declare type PostUpdateInServiceResponse = GetCheckOutInfoResponse & {
|
|
267
267
|
checkin_number: number | null;
|
|
268
268
|
appointment_id: number | null;
|
|
269
269
|
in_service: 0 | 1 | null;
|
|
270
270
|
};
|
|
271
|
-
export type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
271
|
+
export declare type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
272
272
|
id: number;
|
|
273
273
|
order_code: string;
|
|
274
274
|
created_date: string;
|
|
@@ -276,7 +276,7 @@ export type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
|
276
276
|
total_after_discount: number;
|
|
277
277
|
qr_code: any;
|
|
278
278
|
}>;
|
|
279
|
-
export type GetCheckOutInfoResponse = Nullable<{
|
|
279
|
+
export declare type GetCheckOutInfoResponse = Nullable<{
|
|
280
280
|
appointment_id: number;
|
|
281
281
|
checkin_number: number;
|
|
282
282
|
in_service: number;
|
|
@@ -358,18 +358,18 @@ export type GetCheckOutInfoResponse = Nullable<{
|
|
|
358
358
|
service_subtotal: number;
|
|
359
359
|
attachment: any;
|
|
360
360
|
}>;
|
|
361
|
-
export type GetCheckOutHistoryListResponse = GetCheckOutInfoResponse;
|
|
362
|
-
export type GetCheckOutBatchCloseSummaryResponse = Nullable<{
|
|
361
|
+
export declare type GetCheckOutHistoryListResponse = GetCheckOutInfoResponse;
|
|
362
|
+
export declare type GetCheckOutBatchCloseSummaryResponse = Nullable<{
|
|
363
363
|
amount: number;
|
|
364
364
|
count: number;
|
|
365
365
|
summary: Summary;
|
|
366
366
|
}>;
|
|
367
|
-
export type PostCheckOutAddItemResponse = GetCheckOutInfoResponse;
|
|
368
|
-
export type GetCheckoutResendRatingResponse = Nullable<{
|
|
367
|
+
export declare type PostCheckOutAddItemResponse = GetCheckOutInfoResponse;
|
|
368
|
+
export declare type GetCheckoutResendRatingResponse = Nullable<{
|
|
369
369
|
sent_id: string;
|
|
370
370
|
topic: string;
|
|
371
371
|
}>;
|
|
372
|
-
export type PostCheckOutDeleteByStaffResponse = Nullable<{
|
|
372
|
+
export declare type PostCheckOutDeleteByStaffResponse = Nullable<{
|
|
373
373
|
id: number;
|
|
374
374
|
customer_id: any;
|
|
375
375
|
customer_name: string;
|
|
@@ -451,13 +451,13 @@ export type PostCheckOutDeleteByStaffResponse = Nullable<{
|
|
|
451
451
|
appointment_id: any;
|
|
452
452
|
attachment: any;
|
|
453
453
|
}>;
|
|
454
|
-
export type PostCheckOutUpdateItemResponse = GetCheckOutInfoResponse;
|
|
455
|
-
export type PostCheckOutUpdateStaffResponse = number | null;
|
|
456
|
-
export type PostCalculateTaxResponse = GetCheckOutInfoResponse;
|
|
457
|
-
export type PostUpdateOrderSuccessToSettledResponse = Nullable<{
|
|
454
|
+
export declare type PostCheckOutUpdateItemResponse = GetCheckOutInfoResponse;
|
|
455
|
+
export declare type PostCheckOutUpdateStaffResponse = number | null;
|
|
456
|
+
export declare type PostCalculateTaxResponse = GetCheckOutInfoResponse;
|
|
457
|
+
export declare type PostUpdateOrderSuccessToSettledResponse = Nullable<{
|
|
458
458
|
id: string;
|
|
459
459
|
}>;
|
|
460
|
-
export type PostCheckOutUpdatePaymentDataResponse = Nullable<{
|
|
460
|
+
export declare type PostCheckOutUpdatePaymentDataResponse = Nullable<{
|
|
461
461
|
external_id: number;
|
|
462
462
|
payment_id: number;
|
|
463
463
|
payment_status: any;
|
|
@@ -466,11 +466,11 @@ export type PostCheckOutUpdatePaymentDataResponse = Nullable<{
|
|
|
466
466
|
updated_at: string;
|
|
467
467
|
id: number;
|
|
468
468
|
}>;
|
|
469
|
-
export type PostCheckOutDiscountRedeemResponse = GetCheckOutInfoResponse;
|
|
470
|
-
export type PostCheckOutUpdateIsWaitingResponse = GetCheckOutInfoResponse;
|
|
471
|
-
export type PostCheckOutUpdateStatusResponse = GetCheckOutInfoResponse;
|
|
472
|
-
export type PostCheckOutDiscountPromotionResponse = GetCheckOutInfoResponse;
|
|
473
|
-
export type PostCheckOutInvoiceSendResponse = {
|
|
469
|
+
export declare type PostCheckOutDiscountRedeemResponse = GetCheckOutInfoResponse;
|
|
470
|
+
export declare type PostCheckOutUpdateIsWaitingResponse = GetCheckOutInfoResponse;
|
|
471
|
+
export declare type PostCheckOutUpdateStatusResponse = GetCheckOutInfoResponse;
|
|
472
|
+
export declare type PostCheckOutDiscountPromotionResponse = GetCheckOutInfoResponse;
|
|
473
|
+
export declare type PostCheckOutInvoiceSendResponse = {
|
|
474
474
|
order_id: number;
|
|
475
475
|
};
|
|
476
476
|
export {};
|