gap-nodejs-sdk 1.0.273 → 1.0.275
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 +21 -21
- 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 +30 -30
- 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 +18 -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/types/request/business.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/request/business.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/business.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/response/business.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 +4 -4
- 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/check_in.d.ts +31 -0
- package/dist/api/pos_client_api/1.0.0/models/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_in.js +3 -0
- package/dist/api/pos_client_api/1.0.0/models/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.js +3 -0
- package/dist/api/pos_client_api/1.0.0/models/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/order.js +2 -0
- 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 +5 -5
- 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 +18 -18
- 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 +18 -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 +37 -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 +10 -10
- 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 +33 -31
- 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 +0 -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/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB,GAAG,EAEnC,CAAA;AAED,oBAAY,iBAAiB,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAA;CACb,CAAA"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export type GetPayrollSettingRequest = {};
|
|
2
|
-
export type UpdatePayrollSettingRequest = {
|
|
1
|
+
export declare type GetPayrollSettingRequest = {};
|
|
2
|
+
export declare type UpdatePayrollSettingRequest = {
|
|
3
3
|
period: string;
|
|
4
4
|
start_date?: string;
|
|
5
5
|
custom_days?: string;
|
|
6
6
|
};
|
|
7
|
-
export type GetDiscountSettingRequest = {};
|
|
8
|
-
export type UpdateDiscountSettingRequest = {
|
|
7
|
+
export declare type GetDiscountSettingRequest = {};
|
|
8
|
+
export declare type UpdateDiscountSettingRequest = {
|
|
9
9
|
owner_percent: number;
|
|
10
10
|
staff_percent: number;
|
|
11
11
|
};
|
|
12
|
-
export type GetTaxSettingRequest = {};
|
|
13
|
-
export type UpdateTaxSettingRequest = {
|
|
12
|
+
export declare type GetTaxSettingRequest = {};
|
|
13
|
+
export declare type UpdateTaxSettingRequest = {
|
|
14
14
|
sevice_val: number;
|
|
15
15
|
product_val: number;
|
|
16
16
|
};
|
|
17
|
-
export type GetTurnValueRequest = {};
|
|
18
|
-
export type UpdateTurnValueRequest = {
|
|
17
|
+
export declare type GetTurnValueRequest = {};
|
|
18
|
+
export declare type UpdateTurnValueRequest = {
|
|
19
19
|
value: number;
|
|
20
20
|
};
|
|
21
|
-
export type GetTipRequest = {};
|
|
22
|
-
export type UpdateTipRequest = {};
|
|
23
|
-
export type GetListAnswerRequest = {};
|
|
24
|
-
export type CreateAnswerRequest = {
|
|
21
|
+
export declare type GetTipRequest = {};
|
|
22
|
+
export declare type UpdateTipRequest = {};
|
|
23
|
+
export declare type GetListAnswerRequest = {};
|
|
24
|
+
export declare type CreateAnswerRequest = {
|
|
25
25
|
type: string;
|
|
26
26
|
content: string;
|
|
27
27
|
system: string;
|
|
28
28
|
};
|
|
29
|
-
export type UpdateAnswerRequest = {
|
|
29
|
+
export declare type UpdateAnswerRequest = {
|
|
30
30
|
id: number;
|
|
31
31
|
content: string;
|
|
32
32
|
};
|
|
33
|
-
export type ChangeAnswerStatusRequest = {
|
|
33
|
+
export declare type ChangeAnswerStatusRequest = {
|
|
34
34
|
id: number;
|
|
35
35
|
status: number;
|
|
36
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/setting.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/setting.ts"],"names":[],"mappings":"AAEA,oBAAY,wBAAwB,GAAG,EAAE,CAAA;AAEzC,oBAAY,2BAA2B,GAAG;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AACD,oBAAY,yBAAyB,GAAG,EAAE,CAAA;AAC1C,oBAAY,4BAA4B,GAAG;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,oBAAY,oBAAoB,GAAG,EAAE,CAAA;AAErC,oBAAY,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,oBAAY,mBAAmB,GAAG,EAAE,CAAA;AAEpC,oBAAY,sBAAsB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,aAAa,GAAG,EAAE,CAAA;AAE9B,oBAAY,gBAAgB,GAAG,EAAE,CAAA;AAEjC,oBAAY,oBAAoB,GAAG,EAAE,CAAA;AAErC,oBAAY,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,oBAAY,mBAAmB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type GetStaffListRequest = {};
|
|
2
|
-
export type GetStaffListByCheckoutRequest = {
|
|
1
|
+
export declare type GetStaffListRequest = {};
|
|
2
|
+
export declare type GetStaffListByCheckoutRequest = {
|
|
3
3
|
id: string;
|
|
4
4
|
};
|
|
5
|
-
export type GetStaffTurnChartRequest = {
|
|
5
|
+
export declare type GetStaffTurnChartRequest = {
|
|
6
6
|
date: string;
|
|
7
7
|
sort: 'asc' | 'desc';
|
|
8
8
|
type: 'checkin' | 'turn_count';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB,GAAG,EAAE,CAAA;AAEpC,oBAAY,6BAA6B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AAED,oBAAY,wBAAwB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;IACrB,IAAI,EAAE,SAAS,GAAG,YAAY,CAAA;CACjC,CAAA"}
|
|
@@ -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;
|
|
@@ -54,7 +54,7 @@ type Summary = Nullable<{
|
|
|
54
54
|
total_cash: number;
|
|
55
55
|
total_card: number;
|
|
56
56
|
}>;
|
|
57
|
-
export type GetBatchHistoryResponse = Nullable<{
|
|
57
|
+
export declare type GetBatchHistoryResponse = Nullable<{
|
|
58
58
|
date: string;
|
|
59
59
|
display_date: string;
|
|
60
60
|
display_date_time: string;
|
|
@@ -76,7 +76,7 @@ export type GetBatchHistoryResponse = Nullable<{
|
|
|
76
76
|
deposit: number;
|
|
77
77
|
total: number;
|
|
78
78
|
}>;
|
|
79
|
-
export type GetBatchDetailResponse = Nullable<{
|
|
79
|
+
export declare type GetBatchDetailResponse = Nullable<{
|
|
80
80
|
batches: Batch[];
|
|
81
81
|
summary: Summary;
|
|
82
82
|
}>;
|
|
@@ -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,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C,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,6 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
import { MultiplePaymentDataResponse } from "../../../1.0.0/types/response/order";
|
|
3
|
+
declare type OrderBatch = Nullable<{
|
|
3
4
|
card_amount: number;
|
|
4
5
|
cash_amount: number;
|
|
5
6
|
check_amount: number;
|
|
@@ -15,7 +16,7 @@ type OrderBatch = Nullable<{
|
|
|
15
16
|
cash_discount: number;
|
|
16
17
|
change: number;
|
|
17
18
|
}>;
|
|
18
|
-
type Tip = Nullable<{
|
|
19
|
+
declare type Tip = Nullable<{
|
|
19
20
|
id: number;
|
|
20
21
|
order_id: number;
|
|
21
22
|
created_at: string;
|
|
@@ -29,12 +30,12 @@ type Tip = Nullable<{
|
|
|
29
30
|
giftcard_code: any;
|
|
30
31
|
is_updated: number;
|
|
31
32
|
}>;
|
|
32
|
-
type Service = Nullable<{
|
|
33
|
+
declare type Service = Nullable<{
|
|
33
34
|
staff_name: string;
|
|
34
35
|
staff_id: number;
|
|
35
36
|
items: ServiceItem[];
|
|
36
37
|
}>;
|
|
37
|
-
type ServiceItem = Nullable<{
|
|
38
|
+
declare type ServiceItem = Nullable<{
|
|
38
39
|
item_name: string;
|
|
39
40
|
quantity: number;
|
|
40
41
|
price: number;
|
|
@@ -52,13 +53,13 @@ type ServiceItem = Nullable<{
|
|
|
52
53
|
item_id: number;
|
|
53
54
|
type: number;
|
|
54
55
|
}>;
|
|
55
|
-
type Staff = Nullable<{
|
|
56
|
+
declare type Staff = Nullable<{
|
|
56
57
|
employee_name: string;
|
|
57
58
|
employee_image: string;
|
|
58
59
|
employee_color: string;
|
|
59
60
|
employee_id: string;
|
|
60
61
|
}>;
|
|
61
|
-
type OrderPaymentMethod = Nullable<{
|
|
62
|
+
declare type OrderPaymentMethod = Nullable<{
|
|
62
63
|
id: number;
|
|
63
64
|
order_id: number;
|
|
64
65
|
payment_method_type: number;
|
|
@@ -69,7 +70,7 @@ type OrderPaymentMethod = Nullable<{
|
|
|
69
70
|
status: number;
|
|
70
71
|
giftcard_code: string;
|
|
71
72
|
}>;
|
|
72
|
-
type PaymentHistory = Nullable<{
|
|
73
|
+
declare type PaymentHistory = Nullable<{
|
|
73
74
|
id: number;
|
|
74
75
|
payment_id: string;
|
|
75
76
|
order_id: string;
|
|
@@ -88,7 +89,7 @@ type PaymentHistory = Nullable<{
|
|
|
88
89
|
entry_type: string;
|
|
89
90
|
last_four: string;
|
|
90
91
|
}>;
|
|
91
|
-
type Customer = Nullable<{
|
|
92
|
+
declare type Customer = Nullable<{
|
|
92
93
|
id: number;
|
|
93
94
|
full_name: string;
|
|
94
95
|
phone: string;
|
|
@@ -97,7 +98,7 @@ type Customer = Nullable<{
|
|
|
97
98
|
customer_point: number;
|
|
98
99
|
customer_type: number;
|
|
99
100
|
}>;
|
|
100
|
-
type Order = Nullable<{
|
|
101
|
+
declare type Order = Nullable<{
|
|
101
102
|
id: number;
|
|
102
103
|
customer_name: string;
|
|
103
104
|
customer_phone: string;
|
|
@@ -106,10 +107,10 @@ type Order = Nullable<{
|
|
|
106
107
|
order_status: number;
|
|
107
108
|
services: OrderService[];
|
|
108
109
|
}>;
|
|
109
|
-
type OrderService = Nullable<{
|
|
110
|
+
declare type OrderService = Nullable<{
|
|
110
111
|
item_name: string;
|
|
111
112
|
}>;
|
|
112
|
-
export type PostCheckInFormSubmitResponse = Nullable<{
|
|
113
|
+
export declare type PostCheckInFormSubmitResponse = Nullable<{
|
|
113
114
|
total_before_discount: number;
|
|
114
115
|
total_after_discount: number;
|
|
115
116
|
tax: number;
|
|
@@ -161,8 +162,9 @@ export type PostCheckInFormSubmitResponse = Nullable<{
|
|
|
161
162
|
service_subtotal: number;
|
|
162
163
|
staff_code: any[];
|
|
163
164
|
attachment: any;
|
|
165
|
+
multiple_payment: MultiplePaymentDataResponse;
|
|
164
166
|
}>;
|
|
165
|
-
export type GetCheckInInfoResponse = Nullable<{
|
|
167
|
+
export declare type GetCheckInInfoResponse = Nullable<{
|
|
166
168
|
id: number;
|
|
167
169
|
customer_id?: number;
|
|
168
170
|
customer_name: string;
|
|
@@ -238,8 +240,9 @@ export type GetCheckInInfoResponse = Nullable<{
|
|
|
238
240
|
checkin_number: number;
|
|
239
241
|
in_service: 0 | 1;
|
|
240
242
|
attachment: any;
|
|
243
|
+
multiple_payment: MultiplePaymentDataResponse;
|
|
241
244
|
}>;
|
|
242
|
-
export type GetCheckInReportResponse = Nullable<{
|
|
245
|
+
export declare type GetCheckInReportResponse = Nullable<{
|
|
243
246
|
all: number;
|
|
244
247
|
pending: number;
|
|
245
248
|
processing: number;
|
|
@@ -247,11 +250,11 @@ export type GetCheckInReportResponse = Nullable<{
|
|
|
247
250
|
done: number;
|
|
248
251
|
settlement_fail: number;
|
|
249
252
|
}>;
|
|
250
|
-
export type GetLastCheckInResponse = Nullable<{
|
|
253
|
+
export declare type GetLastCheckInResponse = Nullable<{
|
|
251
254
|
id: number;
|
|
252
255
|
updated_at: number;
|
|
253
256
|
}>;
|
|
254
|
-
export type SearchCheckInResponse = Nullable<{
|
|
257
|
+
export declare type SearchCheckInResponse = Nullable<{
|
|
255
258
|
customer: Customer[];
|
|
256
259
|
order: Order[];
|
|
257
260
|
}>;
|
|
@@ -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;
|
|
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;AAClD,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAElF,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,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,GAAG,CAAA;IACX,QAAQ,EAAE,M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