gap-nodejs-sdk 1.0.329 → 1.0.331
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/types/request/appointment.d.ts +26 -26
- 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 +35 -35
- 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/models/group.d.ts +18 -2
- package/dist/api/go_check_in_api/1.0.0/models/group.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/group.js +22 -42
- 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/campaign.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/request/campaign.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 +8 -8
- 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/group.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/request/group.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/campaign.d.ts +25 -25
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.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 +13 -13
- 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/group.d.ts +10 -10
- package/dist/api/go_check_in_api/1.0.0/types/response/group.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/types/request/batch_history.d.ts +4 -4
- 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 +12 -12
- 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 +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 +35 -35
- 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 +31 -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/base_type.d.ts +2 -2
- package/dist/base_type.d.ts.map +1 -1
- package/dist/clover/types.d.ts +2 -0
- package/dist/clover/types.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":"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,CA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AAA;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;
|
|
@@ -28,7 +28,7 @@ type Batch = Nullable<{
|
|
|
28
28
|
external_cc_amount: number;
|
|
29
29
|
discount_item: any;
|
|
30
30
|
}>;
|
|
31
|
-
type Summary = Nullable<{
|
|
31
|
+
declare type Summary = Nullable<{
|
|
32
32
|
date: string;
|
|
33
33
|
display_date: string;
|
|
34
34
|
display_date_time: string;
|
|
@@ -58,7 +58,7 @@ type Summary = Nullable<{
|
|
|
58
58
|
device_serial_number: string;
|
|
59
59
|
status: number;
|
|
60
60
|
}>;
|
|
61
|
-
export type GetBatchHistoryResponse = Nullable<{
|
|
61
|
+
export declare type GetBatchHistoryResponse = Nullable<{
|
|
62
62
|
date: string;
|
|
63
63
|
display_date: string;
|
|
64
64
|
display_date_time: string;
|
|
@@ -87,7 +87,7 @@ export type GetBatchHistoryResponse = Nullable<{
|
|
|
87
87
|
device_serial_number: any;
|
|
88
88
|
status: number;
|
|
89
89
|
}>;
|
|
90
|
-
export type GetBatchDetailResponse = Nullable<{
|
|
90
|
+
export declare type GetBatchDetailResponse = Nullable<{
|
|
91
91
|
batches: Batch[];
|
|
92
92
|
summary: Summary;
|
|
93
93
|
}>;
|
|
@@ -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;I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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,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
2
|
import { MultiplePaymentDataResponse } from "../../../1.0.0/types/response/order";
|
|
3
|
-
type OrderBatch = Nullable<{
|
|
3
|
+
declare type OrderBatch = Nullable<{
|
|
4
4
|
card_amount: number;
|
|
5
5
|
cash_amount: number;
|
|
6
6
|
check_amount: number;
|
|
@@ -16,7 +16,7 @@ type OrderBatch = Nullable<{
|
|
|
16
16
|
cash_discount: number;
|
|
17
17
|
change: number;
|
|
18
18
|
}>;
|
|
19
|
-
type Tip = Nullable<{
|
|
19
|
+
declare type Tip = Nullable<{
|
|
20
20
|
id: number;
|
|
21
21
|
order_id: number;
|
|
22
22
|
created_at: string;
|
|
@@ -30,12 +30,12 @@ type Tip = Nullable<{
|
|
|
30
30
|
giftcard_code: any;
|
|
31
31
|
is_updated: number;
|
|
32
32
|
}>;
|
|
33
|
-
type Service = Nullable<{
|
|
33
|
+
declare type Service = Nullable<{
|
|
34
34
|
staff_name: string;
|
|
35
35
|
staff_id: number;
|
|
36
36
|
items: ServiceItem[];
|
|
37
37
|
}>;
|
|
38
|
-
type ServiceItem = Nullable<{
|
|
38
|
+
declare type ServiceItem = Nullable<{
|
|
39
39
|
item_name: string;
|
|
40
40
|
quantity: number;
|
|
41
41
|
price: number;
|
|
@@ -53,14 +53,14 @@ type ServiceItem = Nullable<{
|
|
|
53
53
|
item_id: number;
|
|
54
54
|
type: number;
|
|
55
55
|
}>;
|
|
56
|
-
type Staff = Nullable<{
|
|
56
|
+
declare type Staff = Nullable<{
|
|
57
57
|
employee_name: string;
|
|
58
58
|
employee_image: string;
|
|
59
59
|
employee_color: string;
|
|
60
60
|
employee_id: string;
|
|
61
61
|
employee_full_name: string;
|
|
62
62
|
}>;
|
|
63
|
-
type OrderPaymentMethod = Nullable<{
|
|
63
|
+
declare type OrderPaymentMethod = Nullable<{
|
|
64
64
|
id: number;
|
|
65
65
|
order_id: number;
|
|
66
66
|
payment_method_type: number;
|
|
@@ -71,7 +71,7 @@ type OrderPaymentMethod = Nullable<{
|
|
|
71
71
|
status: number;
|
|
72
72
|
giftcard_code: string;
|
|
73
73
|
}>;
|
|
74
|
-
type PaymentHistory = Nullable<{
|
|
74
|
+
declare type PaymentHistory = Nullable<{
|
|
75
75
|
id: number;
|
|
76
76
|
payment_id: string;
|
|
77
77
|
order_id: string;
|
|
@@ -90,7 +90,7 @@ type PaymentHistory = Nullable<{
|
|
|
90
90
|
entry_type: string;
|
|
91
91
|
last_four: string;
|
|
92
92
|
}>;
|
|
93
|
-
type Customer = Nullable<{
|
|
93
|
+
declare type Customer = Nullable<{
|
|
94
94
|
id: number;
|
|
95
95
|
full_name: string;
|
|
96
96
|
phone: string;
|
|
@@ -99,7 +99,7 @@ type Customer = Nullable<{
|
|
|
99
99
|
customer_point: number;
|
|
100
100
|
customer_type: number;
|
|
101
101
|
}>;
|
|
102
|
-
type Order = Nullable<{
|
|
102
|
+
declare type Order = Nullable<{
|
|
103
103
|
id: number;
|
|
104
104
|
customer_name: string;
|
|
105
105
|
customer_phone: string;
|
|
@@ -108,10 +108,10 @@ type Order = Nullable<{
|
|
|
108
108
|
order_status: number;
|
|
109
109
|
services: OrderService[];
|
|
110
110
|
}>;
|
|
111
|
-
type OrderService = Nullable<{
|
|
111
|
+
declare type OrderService = Nullable<{
|
|
112
112
|
item_name: string;
|
|
113
113
|
}>;
|
|
114
|
-
export type PostCheckInFormSubmitResponse = Nullable<{
|
|
114
|
+
export declare type PostCheckInFormSubmitResponse = Nullable<{
|
|
115
115
|
total_before_discount: number;
|
|
116
116
|
total_after_discount: number;
|
|
117
117
|
tax: number;
|
|
@@ -165,7 +165,7 @@ export type PostCheckInFormSubmitResponse = Nullable<{
|
|
|
165
165
|
attachment: any;
|
|
166
166
|
multiple_payment: MultiplePaymentDataResponse;
|
|
167
167
|
}>;
|
|
168
|
-
export type GetCheckInInfoResponse = Nullable<{
|
|
168
|
+
export declare type GetCheckInInfoResponse = Nullable<{
|
|
169
169
|
id: number;
|
|
170
170
|
customer_id?: number;
|
|
171
171
|
customer_name: string;
|
|
@@ -243,7 +243,7 @@ export type GetCheckInInfoResponse = Nullable<{
|
|
|
243
243
|
attachment: any;
|
|
244
244
|
multiple_payment: MultiplePaymentDataResponse;
|
|
245
245
|
}>;
|
|
246
|
-
export type GetCheckInReportResponse = Nullable<{
|
|
246
|
+
export declare type GetCheckInReportResponse = Nullable<{
|
|
247
247
|
all: number;
|
|
248
248
|
pending: number;
|
|
249
249
|
processing: number;
|
|
@@ -251,11 +251,11 @@ export type GetCheckInReportResponse = Nullable<{
|
|
|
251
251
|
done: number;
|
|
252
252
|
settlement_fail: number;
|
|
253
253
|
}>;
|
|
254
|
-
export type GetLastCheckInResponse = Nullable<{
|
|
254
|
+
export declare type GetLastCheckInResponse = Nullable<{
|
|
255
255
|
id: number;
|
|
256
256
|
updated_at: number;
|
|
257
257
|
}>;
|
|
258
|
-
export type SearchCheckInResponse = Nullable<{
|
|
258
|
+
export declare type SearchCheckInResponse = Nullable<{
|
|
259
259
|
customer: Customer[];
|
|
260
260
|
order: Order[];
|
|
261
261
|
}>;
|
|
@@ -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;AAClD,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAElF,
|
|
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,EA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1.0.0/types/response/order";
|
|
3
|
-
type Customer = Nullable<{
|
|
3
|
+
declare type Customer = Nullable<{
|
|
4
4
|
id: number;
|
|
5
5
|
first_name: any;
|
|
6
6
|
last_name: any;
|
|
@@ -38,7 +38,7 @@ type Customer = Nullable<{
|
|
|
38
38
|
last_review: any;
|
|
39
39
|
review_type: string;
|
|
40
40
|
}>;
|
|
41
|
-
type Redeem = Nullable<{
|
|
41
|
+
declare type Redeem = Nullable<{
|
|
42
42
|
id: number;
|
|
43
43
|
point: number;
|
|
44
44
|
content: string;
|
|
@@ -48,7 +48,7 @@ type Redeem = Nullable<{
|
|
|
48
48
|
logic_type: string;
|
|
49
49
|
logic_value: string;
|
|
50
50
|
}>;
|
|
51
|
-
type Order = Nullable<{
|
|
51
|
+
declare type Order = Nullable<{
|
|
52
52
|
item_variant: any[];
|
|
53
53
|
item_modifier: any[];
|
|
54
54
|
id: number;
|
|
@@ -70,7 +70,7 @@ type Order = Nullable<{
|
|
|
70
70
|
sub_total: number;
|
|
71
71
|
items: OrderItem[];
|
|
72
72
|
}>;
|
|
73
|
-
type OrderItem = Nullable<{
|
|
73
|
+
declare type OrderItem = Nullable<{
|
|
74
74
|
additional_data: any;
|
|
75
75
|
id: number;
|
|
76
76
|
item_type: number;
|
|
@@ -84,12 +84,12 @@ type OrderItem = Nullable<{
|
|
|
84
84
|
note: any;
|
|
85
85
|
gift_card_code: any;
|
|
86
86
|
}>;
|
|
87
|
-
type Service = Nullable<{
|
|
87
|
+
declare type Service = Nullable<{
|
|
88
88
|
staff_name: string;
|
|
89
89
|
staff_id: number;
|
|
90
90
|
items: ServiceItem[];
|
|
91
91
|
}>;
|
|
92
|
-
type ServiceItem = Nullable<{
|
|
92
|
+
declare type ServiceItem = Nullable<{
|
|
93
93
|
item_name: string;
|
|
94
94
|
quantity: number;
|
|
95
95
|
note: any;
|
|
@@ -104,13 +104,13 @@ type ServiceItem = Nullable<{
|
|
|
104
104
|
cash_discount: number;
|
|
105
105
|
additional_data: any;
|
|
106
106
|
}>;
|
|
107
|
-
type Staff = Nullable<{
|
|
107
|
+
declare type Staff = Nullable<{
|
|
108
108
|
employee_name: string;
|
|
109
109
|
employee_image?: string;
|
|
110
110
|
employee_color: string;
|
|
111
111
|
employee_full_name: string;
|
|
112
112
|
}>;
|
|
113
|
-
type OrderBatch = Nullable<{
|
|
113
|
+
declare type OrderBatch = Nullable<{
|
|
114
114
|
card_amount: number;
|
|
115
115
|
cash_amount: number;
|
|
116
116
|
check_amount: number;
|
|
@@ -127,7 +127,7 @@ type OrderBatch = Nullable<{
|
|
|
127
127
|
change: number;
|
|
128
128
|
discount_item: number;
|
|
129
129
|
}>;
|
|
130
|
-
type Tip = Nullable<{
|
|
130
|
+
declare type Tip = Nullable<{
|
|
131
131
|
data: Daum[];
|
|
132
132
|
id: number;
|
|
133
133
|
order_id: number;
|
|
@@ -141,14 +141,14 @@ type Tip = Nullable<{
|
|
|
141
141
|
giftcard_code: any;
|
|
142
142
|
is_updated: number;
|
|
143
143
|
}>;
|
|
144
|
-
type Daum = Nullable<{
|
|
144
|
+
declare type Daum = Nullable<{
|
|
145
145
|
staff_id: number;
|
|
146
146
|
staff_name: string;
|
|
147
147
|
value_type: string;
|
|
148
148
|
value: string;
|
|
149
149
|
total: string;
|
|
150
150
|
}>;
|
|
151
|
-
type Invoice = Nullable<{
|
|
151
|
+
declare type Invoice = Nullable<{
|
|
152
152
|
id: number;
|
|
153
153
|
checkout_id: number;
|
|
154
154
|
customer_id: any;
|
|
@@ -171,7 +171,7 @@ type Invoice = Nullable<{
|
|
|
171
171
|
type: string;
|
|
172
172
|
invoice_details: InvoiceDetail[];
|
|
173
173
|
}>;
|
|
174
|
-
type InvoiceDetail = Nullable<{
|
|
174
|
+
declare type InvoiceDetail = Nullable<{
|
|
175
175
|
id: number;
|
|
176
176
|
invoice_id: number;
|
|
177
177
|
product_type: string;
|
|
@@ -196,7 +196,7 @@ type InvoiceDetail = Nullable<{
|
|
|
196
196
|
created_at: string;
|
|
197
197
|
updated_at: any;
|
|
198
198
|
}>;
|
|
199
|
-
type OrderDiscount = Nullable<{
|
|
199
|
+
declare type OrderDiscount = Nullable<{
|
|
200
200
|
id: number;
|
|
201
201
|
order_id: number;
|
|
202
202
|
item_type: string;
|
|
@@ -212,7 +212,7 @@ type OrderDiscount = Nullable<{
|
|
|
212
212
|
point: number;
|
|
213
213
|
name: string;
|
|
214
214
|
}>;
|
|
215
|
-
type Payment = Nullable<{
|
|
215
|
+
declare type Payment = Nullable<{
|
|
216
216
|
id: number;
|
|
217
217
|
order_id: number;
|
|
218
218
|
payment_method_type: number;
|
|
@@ -223,7 +223,7 @@ type Payment = Nullable<{
|
|
|
223
223
|
status: number;
|
|
224
224
|
giftcard_code: number;
|
|
225
225
|
}>;
|
|
226
|
-
type Summary = Nullable<{
|
|
226
|
+
declare type Summary = Nullable<{
|
|
227
227
|
card_amount: number;
|
|
228
228
|
card_amount_count: number;
|
|
229
229
|
cash_amount: number;
|
|
@@ -249,7 +249,7 @@ type Summary = Nullable<{
|
|
|
249
249
|
service_fee: number;
|
|
250
250
|
total: number;
|
|
251
251
|
}>;
|
|
252
|
-
type PaymentHistory = Nullable<{
|
|
252
|
+
declare type PaymentHistory = Nullable<{
|
|
253
253
|
id: number;
|
|
254
254
|
payment_id: string;
|
|
255
255
|
order_id: string;
|
|
@@ -268,12 +268,12 @@ type PaymentHistory = Nullable<{
|
|
|
268
268
|
entry_type: string;
|
|
269
269
|
last_four: string;
|
|
270
270
|
}>;
|
|
271
|
-
export type PostUpdateInServiceResponse = GetCheckOutInfoResponse & {
|
|
271
|
+
export declare type PostUpdateInServiceResponse = GetCheckOutInfoResponse & {
|
|
272
272
|
checkin_number: number | null;
|
|
273
273
|
appointment_id: number | null;
|
|
274
274
|
in_service: 0 | 1 | null;
|
|
275
275
|
};
|
|
276
|
-
export type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
276
|
+
export declare type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
277
277
|
id: number;
|
|
278
278
|
order_code: string;
|
|
279
279
|
created_date: string;
|
|
@@ -281,7 +281,7 @@ export type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
|
281
281
|
total_after_discount: number;
|
|
282
282
|
qr_code: any;
|
|
283
283
|
}>;
|
|
284
|
-
export type GetCheckOutInfoResponse = Nullable<{
|
|
284
|
+
export declare type GetCheckOutInfoResponse = Nullable<{
|
|
285
285
|
appointment_id: number;
|
|
286
286
|
checkin_number: number;
|
|
287
287
|
in_service: number;
|
|
@@ -364,18 +364,18 @@ export type GetCheckOutInfoResponse = Nullable<{
|
|
|
364
364
|
attachment: any;
|
|
365
365
|
multiple_payment: MultiplePaymentDataResponse;
|
|
366
366
|
}>;
|
|
367
|
-
export type GetCheckOutHistoryListResponse = GetCheckOutInfoResponse;
|
|
368
|
-
export type GetCheckOutBatchCloseSummaryResponse = Nullable<{
|
|
367
|
+
export declare type GetCheckOutHistoryListResponse = GetCheckOutInfoResponse;
|
|
368
|
+
export declare type GetCheckOutBatchCloseSummaryResponse = Nullable<{
|
|
369
369
|
amount: number;
|
|
370
370
|
count: number;
|
|
371
371
|
summary: Summary;
|
|
372
372
|
}>;
|
|
373
|
-
export type PostCheckOutAddItemResponse = GetCheckOutInfoResponse;
|
|
374
|
-
export type GetCheckoutResendRatingResponse = Nullable<{
|
|
373
|
+
export declare type PostCheckOutAddItemResponse = GetCheckOutInfoResponse;
|
|
374
|
+
export declare type GetCheckoutResendRatingResponse = Nullable<{
|
|
375
375
|
sent_id: string;
|
|
376
376
|
topic: string;
|
|
377
377
|
}>;
|
|
378
|
-
export type PostCheckOutDeleteByStaffResponse = Nullable<{
|
|
378
|
+
export declare type PostCheckOutDeleteByStaffResponse = Nullable<{
|
|
379
379
|
id: number;
|
|
380
380
|
customer_id: any;
|
|
381
381
|
customer_name: string;
|
|
@@ -458,13 +458,13 @@ export type PostCheckOutDeleteByStaffResponse = Nullable<{
|
|
|
458
458
|
attachment: any;
|
|
459
459
|
multiple_payment: MultiplePaymentDataResponse;
|
|
460
460
|
}>;
|
|
461
|
-
export type PostCheckOutUpdateItemResponse = GetCheckOutInfoResponse;
|
|
462
|
-
export type PostCheckOutUpdateStaffResponse = number | null;
|
|
463
|
-
export type PostCalculateTaxResponse = GetCheckOutInfoResponse;
|
|
464
|
-
export type PostUpdateOrderSuccessToSettledResponse = Nullable<{
|
|
461
|
+
export declare type PostCheckOutUpdateItemResponse = GetCheckOutInfoResponse;
|
|
462
|
+
export declare type PostCheckOutUpdateStaffResponse = number | null;
|
|
463
|
+
export declare type PostCalculateTaxResponse = GetCheckOutInfoResponse;
|
|
464
|
+
export declare type PostUpdateOrderSuccessToSettledResponse = Nullable<{
|
|
465
465
|
id: string;
|
|
466
466
|
}>;
|
|
467
|
-
export type PostCheckOutUpdatePaymentDataResponse = Nullable<{
|
|
467
|
+
export declare type PostCheckOutUpdatePaymentDataResponse = Nullable<{
|
|
468
468
|
external_id: number;
|
|
469
469
|
payment_id: number;
|
|
470
470
|
payment_status: any;
|
|
@@ -473,13 +473,13 @@ export type PostCheckOutUpdatePaymentDataResponse = Nullable<{
|
|
|
473
473
|
updated_at: string;
|
|
474
474
|
id: number;
|
|
475
475
|
}>;
|
|
476
|
-
export type PostCheckOutDiscountRedeemResponse = GetCheckOutInfoResponse;
|
|
477
|
-
export type PostCheckOutUpdateIsWaitingResponse = GetCheckOutInfoResponse;
|
|
478
|
-
export type PostCheckOutUpdateStatusResponse = GetCheckOutInfoResponse;
|
|
479
|
-
export type PostCheckOutDiscountPromotionResponse = GetCheckOutInfoResponse;
|
|
480
|
-
export type PostCheckOutInvoiceSendResponse = {
|
|
476
|
+
export declare type PostCheckOutDiscountRedeemResponse = GetCheckOutInfoResponse;
|
|
477
|
+
export declare type PostCheckOutUpdateIsWaitingResponse = GetCheckOutInfoResponse;
|
|
478
|
+
export declare type PostCheckOutUpdateStatusResponse = GetCheckOutInfoResponse;
|
|
479
|
+
export declare type PostCheckOutDiscountPromotionResponse = GetCheckOutInfoResponse;
|
|
480
|
+
export declare type PostCheckOutInvoiceSendResponse = {
|
|
481
481
|
order_id: number;
|
|
482
482
|
};
|
|
483
|
-
export type PostMergeOrderResponse = GetCheckOutInfoResponse;
|
|
483
|
+
export declare type PostMergeOrderResponse = GetCheckOutInfoResponse;
|
|
484
484
|
export {};
|
|
485
485
|
//# sourceMappingURL=check_out.d.ts.map
|