gap-nodejs-sdk 1.0.263 → 1.0.265
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 +1 -0
- 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 +10 -0
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +1 -0
- 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 +2 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +1 -0
- 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 +96 -0
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +23 -20
- 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 +110 -26
- 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/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/api/income.d.ts +3 -0
- package/dist/api/pos_client_api/1.0.0/api/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/income.js +30 -0
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts +0 -1
- 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 +0 -10
- package/dist/api/pos_client_api/1.0.0/endpoints/income.d.ts +3 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/endpoints/income.js +3 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts +0 -1
- 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 +0 -1
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts +0 -1
- 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/models/income.d.ts +3 -0
- package/dist/api/pos_client_api/1.0.0/models/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/income.js +32 -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 +14 -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 +17 -27
- 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 +26 -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 -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/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":"commission.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/commission.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"commission.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/commission.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+BAA+B,GAAG;IAC1C,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetCustomerListRequest = {
|
|
2
2
|
phone?: string;
|
|
3
3
|
full_name?: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type GetCustomerDetailRequest = {
|
|
6
6
|
phone: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type GetCustomerHistoryRequest = {
|
|
9
9
|
phone: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type UpdateCustomerRequest = {
|
|
12
12
|
customer_phone: string;
|
|
13
13
|
customer_name?: string;
|
|
14
14
|
note?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/gift_card.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/gift_card.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB,CAAA;AACD,MAAM,MAAM,wBAAwB,GAAG;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetIncomeHistoryRequest = {
|
|
2
2
|
chart?: 0 | 1;
|
|
3
3
|
type?: 'day' | 'week' | 'month' | 'year';
|
|
4
4
|
start_date?: string;
|
|
5
5
|
end_date?: string;
|
|
6
6
|
year?: number;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type GetStaffDailyIncomeRequest = {
|
|
9
9
|
type: 'day' | 'week' | 'month' | 'year';
|
|
10
10
|
date: string;
|
|
11
11
|
} | {
|
|
@@ -13,4 +13,16 @@ export declare type GetStaffDailyIncomeRequest = {
|
|
|
13
13
|
start_date: string;
|
|
14
14
|
end_date: string;
|
|
15
15
|
};
|
|
16
|
+
export type GetPromotionDetailRequest = {
|
|
17
|
+
start_date: string;
|
|
18
|
+
end_date: string;
|
|
19
|
+
};
|
|
20
|
+
export type GetRewardDetailRequest = {
|
|
21
|
+
start_date: string;
|
|
22
|
+
end_date: string;
|
|
23
|
+
};
|
|
24
|
+
export type GetGiftCardDetailRequest = {
|
|
25
|
+
start_date: string;
|
|
26
|
+
end_date: string;
|
|
27
|
+
};
|
|
16
28
|
//# sourceMappingURL=income.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/income.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/income.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IAClC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;CAChB,GAAG;IACA,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetOrderCheckInListRequest = {
|
|
2
2
|
type?: string;
|
|
3
3
|
from: string;
|
|
4
4
|
to: string;
|
|
@@ -6,25 +6,25 @@ export declare type GetOrderCheckInListRequest = {
|
|
|
6
6
|
page?: number;
|
|
7
7
|
'per-page'?: number;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type GetOrderDetailRequest = {
|
|
10
10
|
id: number;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type GetOrderHistoryListRequest = {
|
|
13
13
|
order_id: number;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type GetReportCheckInRequest = {
|
|
16
16
|
type?: string;
|
|
17
17
|
from: string;
|
|
18
18
|
to: string;
|
|
19
19
|
page?: number;
|
|
20
20
|
'per-page'?: number;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type UpdateOrderStaffRequest = {
|
|
23
23
|
order_id: number;
|
|
24
24
|
order_item_id: string;
|
|
25
25
|
staff_id: number;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type RemoveOrderRequest = {
|
|
28
28
|
order_id: number;
|
|
29
29
|
page?: number;
|
|
30
30
|
'per-page'?: number;
|
|
@@ -33,14 +33,14 @@ export declare type RemoveOrderRequest = {
|
|
|
33
33
|
to?: string;
|
|
34
34
|
payment_type?: number;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type ExportOrderRequest = {
|
|
37
37
|
type: string;
|
|
38
38
|
from: string;
|
|
39
39
|
to: string;
|
|
40
40
|
payment_type: number;
|
|
41
41
|
export: number;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type SubmitCheckoutRequest = {
|
|
44
44
|
order_id: number;
|
|
45
45
|
change: number;
|
|
46
46
|
payment: {
|
|
@@ -52,7 +52,7 @@ export declare type SubmitCheckoutRequest = {
|
|
|
52
52
|
external_credit_card?: number;
|
|
53
53
|
}[];
|
|
54
54
|
};
|
|
55
|
-
export
|
|
55
|
+
export type SubmitPaymentRequest = {
|
|
56
56
|
order_id: number;
|
|
57
57
|
external_id?: number;
|
|
58
58
|
change: number;
|
|
@@ -67,7 +67,7 @@ export declare type SubmitPaymentRequest = {
|
|
|
67
67
|
external_credit_card?: number;
|
|
68
68
|
}[];
|
|
69
69
|
};
|
|
70
|
-
export
|
|
70
|
+
export type UpdatePaymentDataRequest = {
|
|
71
71
|
order_id: number;
|
|
72
72
|
type: string;
|
|
73
73
|
payment_id: number;
|
|
@@ -75,24 +75,24 @@ export declare type UpdatePaymentDataRequest = {
|
|
|
75
75
|
data: any;
|
|
76
76
|
status: number;
|
|
77
77
|
};
|
|
78
|
-
export
|
|
78
|
+
export type AddNoteRequest = {
|
|
79
79
|
order_id: number;
|
|
80
80
|
note: string;
|
|
81
81
|
};
|
|
82
|
-
export
|
|
82
|
+
export type UpdatePaymentSignatureRequest = {
|
|
83
83
|
file: string;
|
|
84
84
|
order_id: number | string;
|
|
85
85
|
};
|
|
86
|
-
export
|
|
86
|
+
export type GetMultiplePaymentInfoRequest = {
|
|
87
87
|
external_id: number;
|
|
88
88
|
};
|
|
89
|
-
export
|
|
89
|
+
export type AddMultiplePaymentRequest = {
|
|
90
90
|
amount: number;
|
|
91
91
|
data: any;
|
|
92
92
|
external_id: number;
|
|
93
93
|
payment_type: string;
|
|
94
94
|
};
|
|
95
|
-
export
|
|
95
|
+
export type RemoveMultiplePaymentRequest = {
|
|
96
96
|
external_id: number;
|
|
97
97
|
multi_payment_detail_id: number;
|
|
98
98
|
data: any;
|
|
@@ -100,7 +100,7 @@ export declare type RemoveMultiplePaymentRequest = {
|
|
|
100
100
|
payment_action: string;
|
|
101
101
|
payment_status: string;
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export type VoidMultiplePaymentRequest = {
|
|
104
104
|
external_id: number;
|
|
105
105
|
void_data: {
|
|
106
106
|
multi_payment_detail_id: number;
|
|
@@ -110,17 +110,7 @@ export declare type VoidMultiplePaymentRequest = {
|
|
|
110
110
|
payment_status?: string;
|
|
111
111
|
}[];
|
|
112
112
|
};
|
|
113
|
-
export
|
|
114
|
-
external_id: number;
|
|
115
|
-
refund_data: {
|
|
116
|
-
multi_payment_detail_id: number;
|
|
117
|
-
data: any;
|
|
118
|
-
payment_action?: string;
|
|
119
|
-
payment_id?: string;
|
|
120
|
-
payment_status?: string;
|
|
121
|
-
}[];
|
|
122
|
-
};
|
|
123
|
-
export declare type UpdateMultiplePaymentStatusRequest = {
|
|
113
|
+
export type UpdateMultiplePaymentStatusRequest = {
|
|
124
114
|
order_id: string;
|
|
125
115
|
status: number;
|
|
126
116
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/order.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/order.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AACD,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAYD,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAID,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,C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M,CAAA;CACjB,CAAA"}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetPayrollListRequest = {
|
|
2
2
|
start_date?: string;
|
|
3
3
|
end_date?: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type ApprovePayrollRequest = {
|
|
6
6
|
period?: string;
|
|
7
7
|
custom_days?: string;
|
|
8
8
|
start_date: string;
|
|
9
9
|
end_date: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export type GetCashDiscountSettingRequest = {};
|
|
12
|
+
export type UpdateCashDiscountSettingRequest = {
|
|
13
13
|
owner_percent: number;
|
|
14
14
|
staff_percent: number;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type GetIncomeDetailRequest = {
|
|
17
17
|
staff_id: number;
|
|
18
18
|
start_date: string;
|
|
19
19
|
end_date: string;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type GetApprovePayrollRequest = {
|
|
22
22
|
start_date?: string;
|
|
23
23
|
end_date?: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type ExportPayrollRequest = {
|
|
26
26
|
start_date?: string;
|
|
27
27
|
end_date?: string;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type ExportApprovePayrollRequest = {
|
|
30
30
|
start_date?: string;
|
|
31
31
|
end_date?: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type ExportIncomeDetailRequest = {
|
|
34
34
|
staff_id: number;
|
|
35
35
|
start_date: string;
|
|
36
36
|
end_date: string;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type GetSalaryChartRequest = {
|
|
39
39
|
start_date?: string;
|
|
40
40
|
end_date?: string;
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type GetAppListPayrollRequest = {
|
|
43
43
|
start_date?: string;
|
|
44
44
|
end_date?: string;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export type GetPayrollDetailRequest = {
|
|
47
47
|
start_date: string;
|
|
48
48
|
end_date: string;
|
|
49
49
|
};
|
|
50
|
-
export
|
|
50
|
+
export type GetSiteIncomeDetailRequest = {
|
|
51
51
|
staff_id: number;
|
|
52
52
|
start_date?: string;
|
|
53
53
|
end_date?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/payroll.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/payroll.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAWD,MAAM,MAAM,6BAA6B,GAAG,EAAE,CAAA;AAC9C,MAAM,MAAM,gCAAgC,GAAG;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAA;AACD,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AACD,MAAM,MAAM,wBAAwB,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA;AACD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA;AACD,MAAM,MAAM,yBAAyB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA;AACD,MAAM,MAAM,wBAAwB,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AACD,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,EAAC,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetPrinterListRequest = {
|
|
2
2
|
start_date?: string;
|
|
3
3
|
end_date?: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type GetPrinterDetailRequest = {
|
|
6
6
|
id: number;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type CreatePrinterInfoRequest = {
|
|
9
9
|
name: string;
|
|
10
10
|
printer_name: string;
|
|
11
11
|
printer_id: string;
|
|
@@ -14,7 +14,7 @@ export declare type CreatePrinterInfoRequest = {
|
|
|
14
14
|
is_bluetooth: number;
|
|
15
15
|
data: string;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type UpdatePrinterInfoRequest = {
|
|
18
18
|
id: number;
|
|
19
19
|
name: string;
|
|
20
20
|
printer_name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/printer.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/printer.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA;AACD,MAAM,MAAM,wBAAwB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SortPostListProductRequest = {
|
|
2
2
|
items: string;
|
|
3
3
|
};
|
|
4
|
-
export
|
|
4
|
+
export type GetPosListProductRequest = {
|
|
5
5
|
category_id: number;
|
|
6
6
|
status: number;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type CreatePosProductRequest = {
|
|
9
9
|
name: string;
|
|
10
10
|
category_id: number;
|
|
11
11
|
price: number;
|
|
@@ -13,7 +13,7 @@ export declare type CreatePosProductRequest = {
|
|
|
13
13
|
group_id: string;
|
|
14
14
|
status: number;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type UpdatePosProductRequest = {
|
|
17
17
|
id: number;
|
|
18
18
|
name: string;
|
|
19
19
|
category_id: number;
|
|
@@ -22,7 +22,7 @@ export declare type UpdatePosProductRequest = {
|
|
|
22
22
|
group_id: string;
|
|
23
23
|
status: number;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type DeletePosProductRequest = {
|
|
26
26
|
id: number;
|
|
27
27
|
category_id: number;
|
|
28
28
|
statusFilter: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/product.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/product.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG;IACrC,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAA"}
|
|
@@ -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,MAAM,MAAM,qBAAqB,GAAG,EAEnC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAA;CACb,CAAA"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type GetPayrollSettingRequest = {};
|
|
2
|
+
export type UpdatePayrollSettingRequest = {
|
|
3
3
|
period: string;
|
|
4
4
|
start_date?: string;
|
|
5
5
|
custom_days?: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type GetDiscountSettingRequest = {};
|
|
8
|
+
export type UpdateDiscountSettingRequest = {
|
|
9
9
|
owner_percent: number;
|
|
10
10
|
staff_percent: number;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type GetTaxSettingRequest = {};
|
|
13
|
+
export type UpdateTaxSettingRequest = {
|
|
14
14
|
sevice_val: number;
|
|
15
15
|
product_val: number;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
17
|
+
export type GetTurnValueRequest = {};
|
|
18
|
+
export type UpdateTurnValueRequest = {
|
|
19
19
|
value: number;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
21
|
+
export type GetTipRequest = {};
|
|
22
|
+
export type UpdateTipRequest = {};
|
|
23
|
+
export type GetListAnswerRequest = {};
|
|
24
|
+
export type CreateAnswerRequest = {
|
|
25
25
|
type: string;
|
|
26
26
|
content: string;
|
|
27
27
|
system: string;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type UpdateAnswerRequest = {
|
|
30
30
|
id: number;
|
|
31
31
|
content: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export 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,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAA;AAEzC,MAAM,MAAM,2BAA2B,GAAG;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AACD,MAAM,MAAM,yBAAyB,GAAG,EAAE,CAAA;AAC1C,MAAM,MAAM,4BAA4B,GAAG;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAA;AAErC,MAAM,MAAM,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAA;AAEpC,MAAM,MAAM,sBAAsB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,EAAE,CAAA;AAE9B,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAA;AAEjC,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAA;AAErC,MAAM,MAAM,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type GetStaffListRequest = {};
|
|
2
|
+
export type GetStaffListByCheckoutRequest = {
|
|
3
3
|
id: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export 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,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAA;AAEpC,MAAM,MAAM,6BAA6B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,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
|
|
1
|
+
export type GetPosTicketInfoRequest = {
|
|
2
2
|
type?: string;
|
|
3
3
|
};
|
|
4
|
-
export
|
|
4
|
+
export type CreatePosTicketTemplateRequest = {
|
|
5
5
|
subject: string;
|
|
6
6
|
content?: string;
|
|
7
7
|
type?: string;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type DeletePosTicketTemplateRequest = {
|
|
10
10
|
id: number;
|
|
11
11
|
type?: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type UpdatePosTicketTemplateRequest = {
|
|
14
14
|
id: number;
|
|
15
15
|
subject?: string;
|
|
16
16
|
content?: string;
|
|
17
17
|
type?: string;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type MovePosSubjectRequest = {
|
|
20
20
|
id: number;
|
|
21
21
|
action?: string;
|
|
22
22
|
type?: string;
|
|
23
23
|
};
|
|
24
|
-
export
|
|
24
|
+
export type SetPosDefaultTicketTemplateRequest = {
|
|
25
25
|
type: string;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
27
|
+
export type GetPosTicketTemplateRequest = {};
|
|
28
|
+
export type GetPosTicketListBlockNameRequest = {};
|
|
29
|
+
export type SortPosPriorityRequest = {
|
|
30
30
|
tickets: string;
|
|
31
31
|
};
|
|
32
|
-
export
|
|
32
|
+
export 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,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,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,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG;IAC7C,IAAI,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG,EAAE,CAAA;AAE5C,MAAM,MAAM,gCAAgC,GAAG,EAAE,CAAA;AAEjD,MAAM,MAAM,sBAAsB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetTimeKeepingListRequest = {
|
|
2
2
|
page?: number;
|
|
3
3
|
"per-page"?: number;
|
|
4
4
|
staff_name?: string;
|
|
@@ -8,7 +8,7 @@ export declare type GetTimeKeepingListRequest = {
|
|
|
8
8
|
checkin_from?: string;
|
|
9
9
|
checkout_to?: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type AddTimeKeepingRequest = {
|
|
12
12
|
staff_id?: number;
|
|
13
13
|
time_in: string;
|
|
14
14
|
time_out?: number;
|
|
@@ -22,7 +22,7 @@ export declare type AddTimeKeepingRequest = {
|
|
|
22
22
|
checkout_to?: string;
|
|
23
23
|
staff_name: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type UpdateTimeKeepingRequest = {
|
|
26
26
|
id: number;
|
|
27
27
|
time_in: string;
|
|
28
28
|
time_out?: string;
|
|
@@ -36,14 +36,14 @@ export declare type UpdateTimeKeepingRequest = {
|
|
|
36
36
|
checkout_to?: string;
|
|
37
37
|
staff_name?: string;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type RemoveTimeKeepingRequest = {
|
|
40
40
|
id: number;
|
|
41
41
|
};
|
|
42
|
-
export
|
|
43
|
-
export
|
|
42
|
+
export type GetTimeKeepingListStaffRequest = {};
|
|
43
|
+
export type PostTimeKeepingCheckInRequest = {
|
|
44
44
|
staff_id: number;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export 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,MAAM,MAAM,yBAAyB,GAA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,MAAM,wBAAwB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG,EAAE,CAAA;AAC/C,MAAM,MAAM,6BAA6B,GAAG;IACxC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG;IACzC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export 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,MAAM,MAAM,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,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAA"}
|