gap-nodejs-sdk 1.0.499 → 1.0.501
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 +28 -28
- 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 +37 -37
- 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 +5 -5
- 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 +9 -9
- 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/admin.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/admin.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/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/checkin.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.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/dashboard.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/dashboard.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/invoice.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/invoice.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/review.d.ts +18 -18
- package/dist/api/go_check_in_api/1.0.0/types/request/review.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +7 -7
- 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 +6 -6
- 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/admin.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/admin.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/checkin.d.ts +29 -29
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.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/dashboard.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/response/dashboard.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/invoice.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/invoice.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/review.d.ts +23 -23
- package/dist/api/go_check_in_api/1.0.0/types/response/review.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.d.ts +8 -8
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +11 -11
- 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 +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/request/category.d.ts +3 -3
- package/dist/api/go_order_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/request/item.d.ts +9 -9
- package/dist/api/go_order_api/1.0.0/types/request/item.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/request/modifier.d.ts +4 -4
- package/dist/api/go_order_api/1.0.0/types/request/modifier.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/response/category.d.ts +8 -8
- package/dist/api/go_order_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/response/item.d.ts +8 -8
- package/dist/api/go_order_api/1.0.0/types/response/item.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/response/modifier.d.ts +5 -5
- package/dist/api/go_order_api/1.0.0/types/response/modifier.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/check_out.js +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 +13 -13
- 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/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/device.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +9 -9
- 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 +14 -14
- 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/rate.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/rate.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/report.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/report.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/summary.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/summary.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 +16 -16
- 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 +39 -39
- 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/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/response/device.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +6 -6
- 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 +11 -11
- 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 +6 -6
- 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 +32 -32
- 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 +22 -22
- 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/rate.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/rate.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/report.d.ts +8 -8
- package/dist/api/pos_client_api/1.0.0/types/response/report.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/summary.d.ts +7 -7
- package/dist/api/pos_client_api/1.0.0/types/response/summary.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 +3 -3
- 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 +3 -3
- 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/CloverPayment.d.ts +1 -0
- package/dist/clover/CloverPayment.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/payment/payment_interface.d.ts +1 -0
- package/dist/payment/payment_interface.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,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetListStaffResponse = Nullable<{
|
|
2
|
+
export declare type GetListStaffResponse = Nullable<{
|
|
3
3
|
user_id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
code: number;
|
|
@@ -51,11 +51,11 @@ export type GetListStaffResponse = Nullable<{
|
|
|
51
51
|
updated_at: string;
|
|
52
52
|
}[];
|
|
53
53
|
}[]>;
|
|
54
|
-
export type CreateStaffResponse = Nullable<{
|
|
54
|
+
export declare type CreateStaffResponse = Nullable<{
|
|
55
55
|
employee: Employee;
|
|
56
56
|
employeeWorkDay: EmployeeWorkDay;
|
|
57
57
|
}>;
|
|
58
|
-
type Employee = Nullable<{
|
|
58
|
+
declare type Employee = Nullable<{
|
|
59
59
|
user_id: number;
|
|
60
60
|
name: string;
|
|
61
61
|
code: string;
|
|
@@ -71,7 +71,7 @@ type Employee = Nullable<{
|
|
|
71
71
|
commission: any;
|
|
72
72
|
permission: Permission[];
|
|
73
73
|
}>;
|
|
74
|
-
type Permission = Nullable<{
|
|
74
|
+
declare type Permission = Nullable<{
|
|
75
75
|
id: number;
|
|
76
76
|
name: string;
|
|
77
77
|
type: string;
|
|
@@ -79,7 +79,7 @@ type Permission = Nullable<{
|
|
|
79
79
|
created_at: string;
|
|
80
80
|
updated_at: string;
|
|
81
81
|
}>;
|
|
82
|
-
type EmployeeWorkDay = Nullable<{
|
|
82
|
+
declare type EmployeeWorkDay = Nullable<{
|
|
83
83
|
working_day: string;
|
|
84
84
|
mo: string;
|
|
85
85
|
tu: string;
|
|
@@ -92,10 +92,10 @@ type EmployeeWorkDay = Nullable<{
|
|
|
92
92
|
employee_id: number;
|
|
93
93
|
id: number;
|
|
94
94
|
}>;
|
|
95
|
-
export type UpdateStaffResponse = CreateStaffResponse;
|
|
96
|
-
export type DeleteStaffResponse = null;
|
|
97
|
-
export type SortStaffResponse = null;
|
|
98
|
-
export type GetStaffWorkHourResponse = Nullable<{
|
|
95
|
+
export declare type UpdateStaffResponse = CreateStaffResponse;
|
|
96
|
+
export declare type DeleteStaffResponse = null;
|
|
97
|
+
export declare type SortStaffResponse = null;
|
|
98
|
+
export declare type GetStaffWorkHourResponse = Nullable<{
|
|
99
99
|
working_day: string;
|
|
100
100
|
mo: string;
|
|
101
101
|
tu: string;
|
|
@@ -108,8 +108,8 @@ export type GetStaffWorkHourResponse = Nullable<{
|
|
|
108
108
|
id: number;
|
|
109
109
|
employee_id: number;
|
|
110
110
|
}>;
|
|
111
|
-
export type UpdateStaffWorkHourResponse = GetStaffWorkHourResponse;
|
|
112
|
-
export type GetListServiceByStaffResponse = Nullable<{
|
|
111
|
+
export declare type UpdateStaffWorkHourResponse = GetStaffWorkHourResponse;
|
|
112
|
+
export declare type GetListServiceByStaffResponse = Nullable<{
|
|
113
113
|
id: number;
|
|
114
114
|
employee_id: number;
|
|
115
115
|
service_id: number;
|
|
@@ -138,9 +138,9 @@ export type GetListServiceByStaffResponse = Nullable<{
|
|
|
138
138
|
image_path: any;
|
|
139
139
|
};
|
|
140
140
|
}[]>;
|
|
141
|
-
export type AddListServiceByStaffResponse = null;
|
|
142
|
-
export type DeleteListServiceByStaffResponse = null;
|
|
143
|
-
export type GetListPermissionResponse = Nullable<{
|
|
141
|
+
export declare type AddListServiceByStaffResponse = null;
|
|
142
|
+
export declare type DeleteListServiceByStaffResponse = null;
|
|
143
|
+
export declare type GetListPermissionResponse = Nullable<{
|
|
144
144
|
id: number;
|
|
145
145
|
name: string;
|
|
146
146
|
type: string;
|
|
@@ -148,7 +148,7 @@ export type GetListPermissionResponse = Nullable<{
|
|
|
148
148
|
created_at: string;
|
|
149
149
|
updated_at: string;
|
|
150
150
|
}[]>;
|
|
151
|
-
export type SaveCommissionResponse = Nullable<{
|
|
151
|
+
export declare type SaveCommissionResponse = Nullable<{
|
|
152
152
|
id: number;
|
|
153
153
|
staff_id: string;
|
|
154
154
|
type: string;
|
|
@@ -175,7 +175,7 @@ export type SaveCommissionResponse = Nullable<{
|
|
|
175
175
|
check_fixed_amount: number;
|
|
176
176
|
is_fixed_amount: number;
|
|
177
177
|
}>;
|
|
178
|
-
export type UpdateStaffCommissionResponse = Nullable<{
|
|
178
|
+
export declare type UpdateStaffCommissionResponse = Nullable<{
|
|
179
179
|
user_id: number;
|
|
180
180
|
name: string;
|
|
181
181
|
code: number;
|
|
@@ -227,6 +227,6 @@ export type UpdateStaffCommissionResponse = Nullable<{
|
|
|
227
227
|
updated_at: string;
|
|
228
228
|
}[];
|
|
229
229
|
}>;
|
|
230
|
-
export type UpdateRoleAppointmentResponse = null;
|
|
230
|
+
export declare type UpdateRoleAppointmentResponse = null;
|
|
231
231
|
export {};
|
|
232
232
|
//# sourceMappingURL=staff.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,oBAAoB,GAAG,QAAQ,CAAC;IACxC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;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,EAAE,MAAM,CAAA;QACnB,eAAe,EAAE,MAAM,CAAA;KAC1B,CAAA;IACD,UAAU,EAAE;QACR,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;KACrB,EAAE,CAAA;CACN,CAAC,CAAC;AAEH,oBAAY,6BAA6B,GAAG,IAAI,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type CheckInTicket = Nullable<{
|
|
2
|
+
export declare type CheckInTicket = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
subject: string;
|
|
5
5
|
content: string;
|
|
@@ -10,21 +10,21 @@ export type CheckInTicket = Nullable<{
|
|
|
10
10
|
status: number;
|
|
11
11
|
name: string;
|
|
12
12
|
}>;
|
|
13
|
-
export type GetCheckInTicketInfoResponse = Nullable<{
|
|
13
|
+
export declare type GetCheckInTicketInfoResponse = Nullable<{
|
|
14
14
|
items: CheckInTicket[];
|
|
15
15
|
template_text: string;
|
|
16
16
|
}>;
|
|
17
|
-
export type CreateCheckInTicketTemplateResponse = CheckInTicket;
|
|
18
|
-
export type UpdateCheckInTicketTemplateResponse = CheckInTicket;
|
|
19
|
-
export type GetCheckInTicketTemplateResponse = Nullable<CheckInTicket[]>;
|
|
20
|
-
export type CheckInTicketBlockName = Nullable<{
|
|
17
|
+
export declare type CreateCheckInTicketTemplateResponse = CheckInTicket;
|
|
18
|
+
export declare type UpdateCheckInTicketTemplateResponse = CheckInTicket;
|
|
19
|
+
export declare type GetCheckInTicketTemplateResponse = Nullable<CheckInTicket[]>;
|
|
20
|
+
export declare type CheckInTicketBlockName = Nullable<{
|
|
21
21
|
subject: string;
|
|
22
22
|
name: string;
|
|
23
23
|
}>;
|
|
24
|
-
export type GetCheckInTicketListBlockNameResponse = Nullable<CheckInTicketBlockName[]>;
|
|
25
|
-
export type GetCheckInTicketListResponse = Nullable<CheckInTicket[]>;
|
|
26
|
-
export type MoveCheckInSubjectResponse = null;
|
|
27
|
-
export type SetCheckInDefaultTicketTemplateResponse = null;
|
|
28
|
-
export type SortCheckInPriorityResponse = null;
|
|
29
|
-
export type DeleteCheckInTicketTemplateResponse = null;
|
|
24
|
+
export declare type GetCheckInTicketListBlockNameResponse = Nullable<CheckInTicketBlockName[]>;
|
|
25
|
+
export declare type GetCheckInTicketListResponse = Nullable<CheckInTicket[]>;
|
|
26
|
+
export declare type MoveCheckInSubjectResponse = null;
|
|
27
|
+
export declare type SetCheckInDefaultTicketTemplateResponse = null;
|
|
28
|
+
export declare type SortCheckInPriorityResponse = null;
|
|
29
|
+
export declare type DeleteCheckInTicketTemplateResponse = null;
|
|
30
30
|
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,aAAa,GAAG,QAAQ,CAAC;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,GAAG,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,oBAAY,4BAA4B,GAAG,QAAQ,CAAC;IAChD,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,oBAAY,mCAAmC,GAAG,aAAa,CAAA;AAE/D,oBAAY,mCAAmC,GAAG,aAAa,CAAA;AAE/D,oBAAY,gCAAgC,GAAG,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;AAExE,oBAAY,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AACF,oBAAY,qCAAqC,GAAG,QAAQ,CAAC,sBAAsB,EAAE,CAAC,CAAA;AAEtF,oBAAY,4BAA4B,GAAG,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;AAEpE,oBAAY,0BAA0B,GAAG,IAAI,CAAC;AAE9C,oBAAY,uCAAuC,GAAG,IAAI,CAAC;AAE3D,oBAAY,2BAA2B,GAAG,IAAI,CAAC;AAE/C,oBAAY,mCAAmC,GAAG,IAAI,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export type CreateCategoryRequest = {
|
|
1
|
+
export declare type CreateCategoryRequest = {
|
|
2
2
|
name: string;
|
|
3
3
|
image_path: string;
|
|
4
4
|
image_base_url: string;
|
|
5
5
|
};
|
|
6
|
-
export type UpdateCategoryRequest = {
|
|
6
|
+
export declare type UpdateCategoryRequest = {
|
|
7
7
|
id: number;
|
|
8
8
|
name: string;
|
|
9
9
|
status: string;
|
|
10
10
|
image_path: string;
|
|
11
11
|
image_base_url: string;
|
|
12
12
|
};
|
|
13
|
-
export type DeleteCategoryRequest = {
|
|
13
|
+
export declare type DeleteCategoryRequest = {
|
|
14
14
|
id: number;
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type GetListItemRequest = {
|
|
1
|
+
export declare type GetListItemRequest = {
|
|
2
2
|
"page"?: number;
|
|
3
3
|
"per-page"?: number;
|
|
4
4
|
name?: string;
|
|
5
5
|
category_id?: string;
|
|
6
6
|
};
|
|
7
|
-
export type CreateItemRequest = {
|
|
7
|
+
export declare type CreateItemRequest = {
|
|
8
8
|
name: string;
|
|
9
9
|
description: string;
|
|
10
10
|
category_id: number | null;
|
|
@@ -16,14 +16,14 @@ export type CreateItemRequest = {
|
|
|
16
16
|
image: string;
|
|
17
17
|
status: boolean;
|
|
18
18
|
};
|
|
19
|
-
export type UpdateStatusItemRequest = {
|
|
19
|
+
export declare type UpdateStatusItemRequest = {
|
|
20
20
|
id: number;
|
|
21
21
|
status: number;
|
|
22
22
|
};
|
|
23
|
-
export type DeleteItemRequest = {
|
|
23
|
+
export declare type DeleteItemRequest = {
|
|
24
24
|
id: number;
|
|
25
25
|
};
|
|
26
|
-
export type UpdateItemRequest = {
|
|
26
|
+
export declare type UpdateItemRequest = {
|
|
27
27
|
id: number;
|
|
28
28
|
name: string;
|
|
29
29
|
description: string;
|
|
@@ -36,17 +36,17 @@ export type UpdateItemRequest = {
|
|
|
36
36
|
image: string;
|
|
37
37
|
status: boolean;
|
|
38
38
|
};
|
|
39
|
-
export type UploadImageRequest = {
|
|
39
|
+
export declare type UploadImageRequest = {
|
|
40
40
|
file: File;
|
|
41
41
|
} | FormData;
|
|
42
|
-
type ItemVariant = {
|
|
42
|
+
declare type ItemVariant = {
|
|
43
43
|
name: string;
|
|
44
44
|
image: any;
|
|
45
45
|
description: string;
|
|
46
46
|
price: string;
|
|
47
47
|
index: number;
|
|
48
48
|
};
|
|
49
|
-
type Modifier = {
|
|
49
|
+
declare type Modifier = {
|
|
50
50
|
modifier_name: string;
|
|
51
51
|
type: string;
|
|
52
52
|
required: boolean;
|
|
@@ -54,7 +54,7 @@ type Modifier = {
|
|
|
54
54
|
details: Detail[];
|
|
55
55
|
is_selected: boolean;
|
|
56
56
|
};
|
|
57
|
-
type Detail = {
|
|
57
|
+
declare type Detail = {
|
|
58
58
|
image_url: string | null;
|
|
59
59
|
name: string;
|
|
60
60
|
price: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/item.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/item.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,oBAAY,iBAAiB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CA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AAE,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,aAAK,MAAM,GAAG;IACV,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
type DetailModifier = {
|
|
1
|
+
declare type DetailModifier = {
|
|
2
2
|
name: string;
|
|
3
3
|
price: number;
|
|
4
4
|
image_url: string | null;
|
|
5
5
|
};
|
|
6
|
-
export type CreateModifierRequest = {
|
|
6
|
+
export declare type CreateModifierRequest = {
|
|
7
7
|
title: string;
|
|
8
8
|
modifier: {
|
|
9
9
|
modifier_name: string;
|
|
@@ -14,7 +14,7 @@ export type CreateModifierRequest = {
|
|
|
14
14
|
details: DetailModifier[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export type UpdateModifierRequest = {
|
|
17
|
+
export declare type UpdateModifierRequest = {
|
|
18
18
|
id: number;
|
|
19
19
|
title: string;
|
|
20
20
|
modifier: {
|
|
@@ -26,7 +26,7 @@ export type UpdateModifierRequest = {
|
|
|
26
26
|
details: DetailModifier[];
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export type DeleteModifierRequest = {
|
|
29
|
+
export declare type DeleteModifierRequest = {
|
|
30
30
|
id: number;
|
|
31
31
|
};
|
|
32
32
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/modifier.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/modifier.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAA;AACD,oBAAY,qBAAqB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QACN,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,cAAc,EAAE,CAAA;KAC5B,CAAA;CACJ,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QACN,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,cAAc,EAAE,CAAA;KAC5B,CAAA;CACJ,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
type ColorDetail = {
|
|
2
|
+
declare type ColorDetail = {
|
|
3
3
|
type: number;
|
|
4
4
|
id: number;
|
|
5
5
|
item_id: number;
|
|
@@ -9,7 +9,7 @@ type ColorDetail = {
|
|
|
9
9
|
updated_at: string;
|
|
10
10
|
status: number;
|
|
11
11
|
};
|
|
12
|
-
type Modifier = {
|
|
12
|
+
declare type Modifier = {
|
|
13
13
|
is_selected: boolean;
|
|
14
14
|
details: any;
|
|
15
15
|
id: number;
|
|
@@ -18,7 +18,7 @@ type Modifier = {
|
|
|
18
18
|
type: string;
|
|
19
19
|
group_modifier: string;
|
|
20
20
|
};
|
|
21
|
-
type ItemVariant = {
|
|
21
|
+
declare type ItemVariant = {
|
|
22
22
|
id: number;
|
|
23
23
|
item_id: number;
|
|
24
24
|
image: string | null;
|
|
@@ -29,7 +29,7 @@ type ItemVariant = {
|
|
|
29
29
|
created_at: string;
|
|
30
30
|
updated_at: string | null;
|
|
31
31
|
};
|
|
32
|
-
type Item = {
|
|
32
|
+
declare type Item = {
|
|
33
33
|
nutritional_information: any[];
|
|
34
34
|
modifier: Modifier[];
|
|
35
35
|
id: number;
|
|
@@ -51,7 +51,7 @@ type Item = {
|
|
|
51
51
|
priority: number | null;
|
|
52
52
|
item_variants: ItemVariant[];
|
|
53
53
|
};
|
|
54
|
-
export type GetListCategoryResponse = Nullable<{
|
|
54
|
+
export declare type GetListCategoryResponse = Nullable<{
|
|
55
55
|
color_detail: ColorDetail[];
|
|
56
56
|
created_at: string;
|
|
57
57
|
id: number;
|
|
@@ -62,7 +62,7 @@ export type GetListCategoryResponse = Nullable<{
|
|
|
62
62
|
image_base_url: null;
|
|
63
63
|
image_path: null;
|
|
64
64
|
}[]>;
|
|
65
|
-
export type UpdateCategoryResponse = {
|
|
65
|
+
export declare type UpdateCategoryResponse = {
|
|
66
66
|
id: number;
|
|
67
67
|
name: string;
|
|
68
68
|
priority: number;
|
|
@@ -73,7 +73,7 @@ export type UpdateCategoryResponse = {
|
|
|
73
73
|
image_path: string;
|
|
74
74
|
image_base_url: string;
|
|
75
75
|
};
|
|
76
|
-
export type CreateCategoryResponse = UpdateCategoryResponse;
|
|
77
|
-
export type DeleteCategoryResponse = null;
|
|
76
|
+
export declare type CreateCategoryResponse = UpdateCategoryResponse;
|
|
77
|
+
export declare type DeleteCategoryResponse = null;
|
|
78
78
|
export {};
|
|
79
79
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_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/go_order_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,aAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,aAAK,QAAQ,GAAG;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,aAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B,CAAA;AAED,aAAK,IAAI,GAAG;IACR,uBAAuB,EAAE,GAAG,EAAE,CAAC;IAC/B,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,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,IAAI,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
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetListItemRespone = Nullable<{
|
|
2
|
+
export declare type GetListItemRespone = Nullable<{
|
|
3
3
|
nutritional_information: any[];
|
|
4
4
|
modifier: Modifier[];
|
|
5
5
|
id: number;
|
|
@@ -21,7 +21,7 @@ export type GetListItemRespone = Nullable<{
|
|
|
21
21
|
priority: any;
|
|
22
22
|
item_variants: ItemVariant[];
|
|
23
23
|
}[]>;
|
|
24
|
-
export type CreateItemResponse = {
|
|
24
|
+
export declare type CreateItemResponse = {
|
|
25
25
|
created_at: string;
|
|
26
26
|
nutritional_information: any[];
|
|
27
27
|
modifier: Modifier[];
|
|
@@ -35,7 +35,7 @@ export type CreateItemResponse = {
|
|
|
35
35
|
id: number;
|
|
36
36
|
item_variants: ItemVariant[];
|
|
37
37
|
};
|
|
38
|
-
export type UploadImageResponse = Nullable<{
|
|
38
|
+
export declare type UploadImageResponse = Nullable<{
|
|
39
39
|
name: string;
|
|
40
40
|
type: string;
|
|
41
41
|
size: number;
|
|
@@ -44,7 +44,7 @@ export type UploadImageResponse = Nullable<{
|
|
|
44
44
|
url: string;
|
|
45
45
|
delete_url: string;
|
|
46
46
|
}[]>;
|
|
47
|
-
export type UpdateItemResponse = {
|
|
47
|
+
export declare type UpdateItemResponse = {
|
|
48
48
|
nutritional_information: any[];
|
|
49
49
|
modifier: Modifier[];
|
|
50
50
|
id: number;
|
|
@@ -66,8 +66,8 @@ export type UpdateItemResponse = {
|
|
|
66
66
|
priority: any;
|
|
67
67
|
item_variants: ItemVariant[];
|
|
68
68
|
};
|
|
69
|
-
export type DeleteItemResponse = null;
|
|
70
|
-
type Modifier = {
|
|
69
|
+
export declare type DeleteItemResponse = null;
|
|
70
|
+
declare type Modifier = {
|
|
71
71
|
modifier_name: string;
|
|
72
72
|
type: string;
|
|
73
73
|
required: boolean;
|
|
@@ -77,13 +77,13 @@ type Modifier = {
|
|
|
77
77
|
group_modifier: string;
|
|
78
78
|
size_button: string;
|
|
79
79
|
};
|
|
80
|
-
type DetailModifier = {
|
|
80
|
+
declare type DetailModifier = {
|
|
81
81
|
name: string;
|
|
82
82
|
price: string;
|
|
83
83
|
id: string;
|
|
84
84
|
image_url: string | null;
|
|
85
85
|
};
|
|
86
|
-
type ItemVariant = {
|
|
86
|
+
declare type ItemVariant = {
|
|
87
87
|
id: number;
|
|
88
88
|
item_id: number;
|
|
89
89
|
image?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,kBAAkB,GAAG,QAAQ,CAAC;IACtC,uBAAuB,EAAE,GAAG,EAAE,CAAA;IAC9B,QAAQ,EAAE,QAAQ,EAAE,CAAA;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,GAAG,CAAA;IACrB,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,GAAG,CAAA;IACR,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,GAAG,CAAA;IACb,aAAa,E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AE,MAAM,CAAA;IACd,GAAG,EAAE,GAAG,CAAA;IACR,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,GAAG,CAAA;IACb,aAAa,EAAE,WAAW,EAAE,CAAA;CAC/B,CAAA;AAED,oBAAY,kBAAkB,GAAG,IAAI,CAAA;AAErC,aAAK,QAAQ,GAAG;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,WAAW,EAAE,OAAO,CAAA;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,aAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAA;AAED,aAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;CAClB,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
type ModifierDetail = {
|
|
2
|
+
declare type ModifierDetail = {
|
|
3
3
|
name: string;
|
|
4
4
|
price: number;
|
|
5
5
|
image_url: string | null;
|
|
6
6
|
};
|
|
7
|
-
export type GetListModifierResponse = Nullable<{
|
|
7
|
+
export declare type GetListModifierResponse = Nullable<{
|
|
8
8
|
modifier: {
|
|
9
9
|
details: ModifierDetail[];
|
|
10
10
|
modifier_name: string;
|
|
@@ -19,7 +19,7 @@ export type GetListModifierResponse = Nullable<{
|
|
|
19
19
|
created_at: string;
|
|
20
20
|
updated_at: string;
|
|
21
21
|
}[]>;
|
|
22
|
-
export type CreateModifierResponse = {
|
|
22
|
+
export declare type CreateModifierResponse = {
|
|
23
23
|
modifier: {
|
|
24
24
|
details: ModifierDetail[];
|
|
25
25
|
modifier_name: string;
|
|
@@ -33,7 +33,7 @@ export type CreateModifierResponse = {
|
|
|
33
33
|
status: number;
|
|
34
34
|
created_at: string;
|
|
35
35
|
};
|
|
36
|
-
export type UpdateModifierResponse = Nullable<{
|
|
36
|
+
export declare type UpdateModifierResponse = Nullable<{
|
|
37
37
|
modifier: {
|
|
38
38
|
details: ModifierDetail[];
|
|
39
39
|
modifier_name: string;
|
|
@@ -48,6 +48,6 @@ export type UpdateModifierResponse = Nullable<{
|
|
|
48
48
|
created_at: string;
|
|
49
49
|
updated_at: string;
|
|
50
50
|
}>;
|
|
51
|
-
export type DeleteModifierResponse = null;
|
|
51
|
+
export declare type DeleteModifierResponse = null;
|
|
52
52
|
export {};
|
|
53
53
|
//# sourceMappingURL=modifier.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/modifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/modifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,aAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,G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AA;CACrB,CAAC,CAAA;AAEF,oBAAY,sBAAsB,GAAG,IAAI,CAAA"}
|
|
@@ -65,7 +65,7 @@ export default class CheckOut extends Base {
|
|
|
65
65
|
var _a;
|
|
66
66
|
return __awaiter(this, void 0, void 0, function* () {
|
|
67
67
|
const response = yield this.client.get({
|
|
68
|
-
path: check_out.
|
|
68
|
+
path: check_out.GET_CHECKOUT_PRE_BATCH_CLOSE_DETAIL,
|
|
69
69
|
query: data
|
|
70
70
|
});
|
|
71
71
|
return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export type GetBatchHistoryRequest = {
|
|
1
|
+
export declare type GetBatchHistoryRequest = {
|
|
2
2
|
start_date: string;
|
|
3
3
|
end_date: string;
|
|
4
4
|
};
|
|
5
|
-
export type GetBatchDetailRequest = {
|
|
5
|
+
export declare type GetBatchDetailRequest = {
|
|
6
6
|
date?: string;
|
|
7
7
|
};
|
|
8
|
-
export type OpenBatchHistoryRequest = {};
|
|
9
|
-
export type GetOpenBatchDetailRequest = {
|
|
8
|
+
export declare type OpenBatchHistoryRequest = {};
|
|
9
|
+
export declare type GetOpenBatchDetailRequest = {
|
|
10
10
|
serial_number: any;
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=batch_history.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,oBAAY,uBAAuB,GAAG,EAAE,CAAA;AAExC,oBAAY,yBAAyB,GAAG;IACpC,aAAa,EAAE,GAAG,CAAA;CACrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AACD,oBAAY,6BAA6B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type GetCategoryListItemRequest = {};
|
|
1
|
+
export declare type GetCategoryListItemRequest = {};
|
|
2
2
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B,GAAG,EAAE,CAAA"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AtLeastOne } from "../../../../../base_type";
|
|
2
|
-
export type PostCheckInFormSubmitRequest = AtLeastOne<{
|
|
2
|
+
export declare type PostCheckInFormSubmitRequest = AtLeastOne<{
|
|
3
3
|
qr_code: string;
|
|
4
4
|
full_name: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
}>;
|
|
7
|
-
export type GetCheckInListRequest = {
|
|
7
|
+
export declare type GetCheckInListRequest = {
|
|
8
8
|
date: string;
|
|
9
9
|
type?: string;
|
|
10
10
|
page?: number;
|
|
11
11
|
'per-page'?: number;
|
|
12
12
|
};
|
|
13
|
-
export type GetCheckInReportRequest = {
|
|
13
|
+
export declare type GetCheckInReportRequest = {
|
|
14
14
|
date?: string;
|
|
15
15
|
};
|
|
16
|
-
export type GetLastCheckInRequest = {};
|
|
17
|
-
export type GetCheckInInfoRequest = {
|
|
16
|
+
export declare type GetLastCheckInRequest = {};
|
|
17
|
+
export declare type GetCheckInInfoRequest = {
|
|
18
18
|
order_id: number;
|
|
19
19
|
};
|
|
20
|
-
export type SearchCheckInRequest = {
|
|
20
|
+
export declare type SearchCheckInRequest = {
|
|
21
21
|
keywords: string | number;
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=check_in.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,oBAAY,4BAA4B,GAAG,UAAU,CAAC;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAA;CAChB,CAAC,CAAA;AACF,oBAAY,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,oBAAY,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AACD,oBAAY,qBAAqB,GAAG,EAEnC,CAAA;AACD,oBAAY,qBAAqB,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,oBAAoB,GAAG;IAC/B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA"}
|