gap-nodejs-sdk 1.0.501 → 1.0.502
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/models/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_in.js +13 -2
- 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 +24 -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/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,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetListStaffResponse = Nullable<{
|
|
3
3
|
user_id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
code: number;
|
|
@@ -51,11 +51,11 @@ export declare type GetListStaffResponse = Nullable<{
|
|
|
51
51
|
updated_at: string;
|
|
52
52
|
}[];
|
|
53
53
|
}[]>;
|
|
54
|
-
export
|
|
54
|
+
export type CreateStaffResponse = Nullable<{
|
|
55
55
|
employee: Employee;
|
|
56
56
|
employeeWorkDay: EmployeeWorkDay;
|
|
57
57
|
}>;
|
|
58
|
-
|
|
58
|
+
type Employee = Nullable<{
|
|
59
59
|
user_id: number;
|
|
60
60
|
name: string;
|
|
61
61
|
code: string;
|
|
@@ -71,7 +71,7 @@ declare type Employee = Nullable<{
|
|
|
71
71
|
commission: any;
|
|
72
72
|
permission: Permission[];
|
|
73
73
|
}>;
|
|
74
|
-
|
|
74
|
+
type Permission = Nullable<{
|
|
75
75
|
id: number;
|
|
76
76
|
name: string;
|
|
77
77
|
type: string;
|
|
@@ -79,7 +79,7 @@ declare type Permission = Nullable<{
|
|
|
79
79
|
created_at: string;
|
|
80
80
|
updated_at: string;
|
|
81
81
|
}>;
|
|
82
|
-
|
|
82
|
+
type EmployeeWorkDay = Nullable<{
|
|
83
83
|
working_day: string;
|
|
84
84
|
mo: string;
|
|
85
85
|
tu: string;
|
|
@@ -92,10 +92,10 @@ declare type EmployeeWorkDay = Nullable<{
|
|
|
92
92
|
employee_id: number;
|
|
93
93
|
id: number;
|
|
94
94
|
}>;
|
|
95
|
-
export
|
|
96
|
-
export
|
|
97
|
-
export
|
|
98
|
-
export
|
|
95
|
+
export type UpdateStaffResponse = CreateStaffResponse;
|
|
96
|
+
export type DeleteStaffResponse = null;
|
|
97
|
+
export type SortStaffResponse = null;
|
|
98
|
+
export type GetStaffWorkHourResponse = Nullable<{
|
|
99
99
|
working_day: string;
|
|
100
100
|
mo: string;
|
|
101
101
|
tu: string;
|
|
@@ -108,8 +108,8 @@ export declare type GetStaffWorkHourResponse = Nullable<{
|
|
|
108
108
|
id: number;
|
|
109
109
|
employee_id: number;
|
|
110
110
|
}>;
|
|
111
|
-
export
|
|
112
|
-
export
|
|
111
|
+
export type UpdateStaffWorkHourResponse = GetStaffWorkHourResponse;
|
|
112
|
+
export type GetListServiceByStaffResponse = Nullable<{
|
|
113
113
|
id: number;
|
|
114
114
|
employee_id: number;
|
|
115
115
|
service_id: number;
|
|
@@ -138,9 +138,9 @@ export declare type GetListServiceByStaffResponse = Nullable<{
|
|
|
138
138
|
image_path: any;
|
|
139
139
|
};
|
|
140
140
|
}[]>;
|
|
141
|
-
export
|
|
142
|
-
export
|
|
143
|
-
export
|
|
141
|
+
export type AddListServiceByStaffResponse = null;
|
|
142
|
+
export type DeleteListServiceByStaffResponse = null;
|
|
143
|
+
export type GetListPermissionResponse = Nullable<{
|
|
144
144
|
id: number;
|
|
145
145
|
name: string;
|
|
146
146
|
type: string;
|
|
@@ -148,7 +148,7 @@ export declare type GetListPermissionResponse = Nullable<{
|
|
|
148
148
|
created_at: string;
|
|
149
149
|
updated_at: string;
|
|
150
150
|
}[]>;
|
|
151
|
-
export
|
|
151
|
+
export type SaveCommissionResponse = Nullable<{
|
|
152
152
|
id: number;
|
|
153
153
|
staff_id: string;
|
|
154
154
|
type: string;
|
|
@@ -175,7 +175,7 @@ export declare type SaveCommissionResponse = Nullable<{
|
|
|
175
175
|
check_fixed_amount: number;
|
|
176
176
|
is_fixed_amount: number;
|
|
177
177
|
}>;
|
|
178
|
-
export
|
|
178
|
+
export type UpdateStaffCommissionResponse = Nullable<{
|
|
179
179
|
user_id: number;
|
|
180
180
|
name: string;
|
|
181
181
|
code: number;
|
|
@@ -227,6 +227,6 @@ export declare type UpdateStaffCommissionResponse = Nullable<{
|
|
|
227
227
|
updated_at: string;
|
|
228
228
|
}[];
|
|
229
229
|
}>;
|
|
230
|
-
export
|
|
230
|
+
export 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,MAAM,MAAM,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;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,OAAO,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE;QACR,EAAE,EAAE,MAAM,CAAA;QACV,QAAQ,EAAE,MAAM,CAAA;QAChB,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,GAAG,CAAA;QACT,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;QAClB,MAAM,EAAE,MAAM,CAAA;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export
|
|
2
|
+
export type CheckInTicket = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
subject: string;
|
|
5
5
|
content: string;
|
|
@@ -10,21 +10,21 @@ export declare type CheckInTicket = Nullable<{
|
|
|
10
10
|
status: number;
|
|
11
11
|
name: string;
|
|
12
12
|
}>;
|
|
13
|
-
export
|
|
13
|
+
export type GetCheckInTicketInfoResponse = Nullable<{
|
|
14
14
|
items: CheckInTicket[];
|
|
15
15
|
template_text: string;
|
|
16
16
|
}>;
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
17
|
+
export type CreateCheckInTicketTemplateResponse = CheckInTicket;
|
|
18
|
+
export type UpdateCheckInTicketTemplateResponse = CheckInTicket;
|
|
19
|
+
export type GetCheckInTicketTemplateResponse = Nullable<CheckInTicket[]>;
|
|
20
|
+
export type CheckInTicketBlockName = Nullable<{
|
|
21
21
|
subject: string;
|
|
22
22
|
name: string;
|
|
23
23
|
}>;
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
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;
|
|
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","sour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
|
1
|
+
export type CreateCategoryRequest = {
|
|
2
2
|
name: string;
|
|
3
3
|
image_path: string;
|
|
4
4
|
image_base_url: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export 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
|
|
13
|
+
export 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,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,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,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetListItemRequest = {
|
|
2
2
|
"page"?: number;
|
|
3
3
|
"per-page"?: number;
|
|
4
4
|
name?: string;
|
|
5
5
|
category_id?: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type CreateItemRequest = {
|
|
8
8
|
name: string;
|
|
9
9
|
description: string;
|
|
10
10
|
category_id: number | null;
|
|
@@ -16,14 +16,14 @@ export declare type CreateItemRequest = {
|
|
|
16
16
|
image: string;
|
|
17
17
|
status: boolean;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type UpdateStatusItemRequest = {
|
|
20
20
|
id: number;
|
|
21
21
|
status: number;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type DeleteItemRequest = {
|
|
24
24
|
id: number;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type UpdateItemRequest = {
|
|
27
27
|
id: number;
|
|
28
28
|
name: string;
|
|
29
29
|
description: string;
|
|
@@ -36,17 +36,17 @@ export declare type UpdateItemRequest = {
|
|
|
36
36
|
image: string;
|
|
37
37
|
status: boolean;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type UploadImageRequest = {
|
|
40
40
|
file: File;
|
|
41
41
|
} | FormData;
|
|
42
|
-
|
|
42
|
+
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
|
-
|
|
49
|
+
type Modifier = {
|
|
50
50
|
modifier_name: string;
|
|
51
51
|
type: string;
|
|
52
52
|
required: boolean;
|
|
@@ -54,7 +54,7 @@ declare type Modifier = {
|
|
|
54
54
|
details: Detail[];
|
|
55
55
|
is_selected: boolean;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
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"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AAEb,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,GAAG,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,KAAK,QAAQ,GAAG;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,KAAK,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
|
-
|
|
1
|
+
type DetailModifier = {
|
|
2
2
|
name: string;
|
|
3
3
|
price: number;
|
|
4
4
|
image_url: string | null;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type CreateModifierRequest = {
|
|
7
7
|
title: string;
|
|
8
8
|
modifier: {
|
|
9
9
|
modifier_name: string;
|
|
@@ -14,7 +14,7 @@ export declare type CreateModifierRequest = {
|
|
|
14
14
|
details: DetailModifier[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type UpdateModifierRequest = {
|
|
18
18
|
id: number;
|
|
19
19
|
title: string;
|
|
20
20
|
modifier: {
|
|
@@ -26,7 +26,7 @@ export declare type UpdateModifierRequest = {
|
|
|
26
26
|
details: DetailModifier[];
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export 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,KAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAA;AACD,MAAM,MAAM,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,MAAM,MAAM,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,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type ColorDetail = {
|
|
3
3
|
type: number;
|
|
4
4
|
id: number;
|
|
5
5
|
item_id: number;
|
|
@@ -9,7 +9,7 @@ declare type ColorDetail = {
|
|
|
9
9
|
updated_at: string;
|
|
10
10
|
status: number;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
type Modifier = {
|
|
13
13
|
is_selected: boolean;
|
|
14
14
|
details: any;
|
|
15
15
|
id: number;
|
|
@@ -18,7 +18,7 @@ declare type Modifier = {
|
|
|
18
18
|
type: string;
|
|
19
19
|
group_modifier: string;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
type ItemVariant = {
|
|
22
22
|
id: number;
|
|
23
23
|
item_id: number;
|
|
24
24
|
image: string | null;
|
|
@@ -29,7 +29,7 @@ declare type ItemVariant = {
|
|
|
29
29
|
created_at: string;
|
|
30
30
|
updated_at: string | null;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
type Item = {
|
|
33
33
|
nutritional_information: any[];
|
|
34
34
|
modifier: Modifier[];
|
|
35
35
|
id: number;
|
|
@@ -51,7 +51,7 @@ declare type Item = {
|
|
|
51
51
|
priority: number | null;
|
|
52
52
|
item_variants: ItemVariant[];
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type GetListCategoryResponse = Nullable<{
|
|
55
55
|
color_detail: ColorDetail[];
|
|
56
56
|
created_at: string;
|
|
57
57
|
id: number;
|
|
@@ -62,7 +62,7 @@ export declare type GetListCategoryResponse = Nullable<{
|
|
|
62
62
|
image_base_url: null;
|
|
63
63
|
image_path: null;
|
|
64
64
|
}[]>;
|
|
65
|
-
export
|
|
65
|
+
export type UpdateCategoryResponse = {
|
|
66
66
|
id: number;
|
|
67
67
|
name: string;
|
|
68
68
|
priority: number;
|
|
@@ -73,7 +73,7 @@ export declare type UpdateCategoryResponse = {
|
|
|
73
73
|
image_path: string;
|
|
74
74
|
image_base_url: string;
|
|
75
75
|
};
|
|
76
|
-
export
|
|
77
|
-
export
|
|
76
|
+
export type CreateCategoryResponse = UpdateCategoryResponse;
|
|
77
|
+
export 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,KAAK,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,KAAK,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,KAAK,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,KAAK,IAAI,GAAG;IACR,uBAAuB,EAAE,GAAG,EAAE,CAAC;IAC/B,QAAQ,EAAE,QAA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,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,CAAA;AAE3D,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetListItemRespone = Nullable<{
|
|
3
3
|
nutritional_information: any[];
|
|
4
4
|
modifier: Modifier[];
|
|
5
5
|
id: number;
|
|
@@ -21,7 +21,7 @@ export declare type GetListItemRespone = Nullable<{
|
|
|
21
21
|
priority: any;
|
|
22
22
|
item_variants: ItemVariant[];
|
|
23
23
|
}[]>;
|
|
24
|
-
export
|
|
24
|
+
export type CreateItemResponse = {
|
|
25
25
|
created_at: string;
|
|
26
26
|
nutritional_information: any[];
|
|
27
27
|
modifier: Modifier[];
|
|
@@ -35,7 +35,7 @@ export declare type CreateItemResponse = {
|
|
|
35
35
|
id: number;
|
|
36
36
|
item_variants: ItemVariant[];
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type UploadImageResponse = Nullable<{
|
|
39
39
|
name: string;
|
|
40
40
|
type: string;
|
|
41
41
|
size: number;
|
|
@@ -44,7 +44,7 @@ export declare type UploadImageResponse = Nullable<{
|
|
|
44
44
|
url: string;
|
|
45
45
|
delete_url: string;
|
|
46
46
|
}[]>;
|
|
47
|
-
export
|
|
47
|
+
export type UpdateItemResponse = {
|
|
48
48
|
nutritional_information: any[];
|
|
49
49
|
modifier: Modifier[];
|
|
50
50
|
id: number;
|
|
@@ -66,8 +66,8 @@ export declare type UpdateItemResponse = {
|
|
|
66
66
|
priority: any;
|
|
67
67
|
item_variants: ItemVariant[];
|
|
68
68
|
};
|
|
69
|
-
export
|
|
70
|
-
|
|
69
|
+
export type DeleteItemResponse = null;
|
|
70
|
+
type Modifier = {
|
|
71
71
|
modifier_name: string;
|
|
72
72
|
type: string;
|
|
73
73
|
required: boolean;
|
|
@@ -77,13 +77,13 @@ declare type Modifier = {
|
|
|
77
77
|
group_modifier: string;
|
|
78
78
|
size_button: string;
|
|
79
79
|
};
|
|
80
|
-
|
|
80
|
+
type DetailModifier = {
|
|
81
81
|
name: string;
|
|
82
82
|
price: string;
|
|
83
83
|
id: string;
|
|
84
84
|
image_url: string | null;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
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,MAAM,MAAM,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,CAA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AAE,GAAG,CAAA;IACT,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,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,EAAE,WAAW,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAA;AAErC,KAAK,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,KAAK,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,KAAK,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
|
-
|
|
2
|
+
type ModifierDetail = {
|
|
3
3
|
name: string;
|
|
4
4
|
price: number;
|
|
5
5
|
image_url: string | null;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type GetListModifierResponse = Nullable<{
|
|
8
8
|
modifier: {
|
|
9
9
|
details: ModifierDetail[];
|
|
10
10
|
modifier_name: string;
|
|
@@ -19,7 +19,7 @@ export declare type GetListModifierResponse = Nullable<{
|
|
|
19
19
|
created_at: string;
|
|
20
20
|
updated_at: string;
|
|
21
21
|
}[]>;
|
|
22
|
-
export
|
|
22
|
+
export type CreateModifierResponse = {
|
|
23
23
|
modifier: {
|
|
24
24
|
details: ModifierDetail[];
|
|
25
25
|
modifier_name: string;
|
|
@@ -33,7 +33,7 @@ export declare type CreateModifierResponse = {
|
|
|
33
33
|
status: number;
|
|
34
34
|
created_at: string;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type UpdateModifierResponse = Nullable<{
|
|
37
37
|
modifier: {
|
|
38
38
|
details: ModifierDetail[];
|
|
39
39
|
modifier_name: string;
|
|
@@ -48,6 +48,6 @@ export declare type UpdateModifierResponse = Nullable<{
|
|
|
48
48
|
created_at: string;
|
|
49
49
|
updated_at: string;
|
|
50
50
|
}>;
|
|
51
|
-
export
|
|
51
|
+
export 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,KAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAA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AU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAsI7C,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,6BAA6B,CAwD3F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CAS/E;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAK3E;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgFzC;AAmBD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAsI7C,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,6BAA6B,CAwD3F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CAS/E;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAK3E;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgFzC;AAmBD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,qBAAqB,CA8C5E"}
|
|
@@ -324,8 +324,18 @@ export function SearchCheckInModel(data) {
|
|
|
324
324
|
item_name: (_a = data === null || data === void 0 ? void 0 : data.item_name) !== null && _a !== void 0 ? _a : null,
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
+
function StaffModel(data) {
|
|
328
|
+
var _a, _b, _c, _d, _e;
|
|
329
|
+
return {
|
|
330
|
+
employee_id: (_a = data === null || data === void 0 ? void 0 : data.employee_id) !== null && _a !== void 0 ? _a : null,
|
|
331
|
+
employee_name: (_b = data === null || data === void 0 ? void 0 : data.employee_name) !== null && _b !== void 0 ? _b : null,
|
|
332
|
+
employee_image: (_c = data === null || data === void 0 ? void 0 : data.employee_image) !== null && _c !== void 0 ? _c : null,
|
|
333
|
+
employee_color: (_d = data === null || data === void 0 ? void 0 : data.employee_color) !== null && _d !== void 0 ? _d : null,
|
|
334
|
+
employee_full_name: (_e = data === null || data === void 0 ? void 0 : data.employee_full_name) !== null && _e !== void 0 ? _e : null,
|
|
335
|
+
};
|
|
336
|
+
}
|
|
327
337
|
function OrderModel(data) {
|
|
328
|
-
var _a, _b, _c, _d, _e, _f;
|
|
338
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
329
339
|
return {
|
|
330
340
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
331
341
|
customer_name: (_b = data === null || data === void 0 ? void 0 : data.customer_name) !== null && _b !== void 0 ? _b : null,
|
|
@@ -333,7 +343,8 @@ export function SearchCheckInModel(data) {
|
|
|
333
343
|
employee_name: (_d = data === null || data === void 0 ? void 0 : data.employee_name) !== null && _d !== void 0 ? _d : null,
|
|
334
344
|
created_at: (_e = data === null || data === void 0 ? void 0 : data.created_at) !== null && _e !== void 0 ? _e : null,
|
|
335
345
|
order_status: (_f = data === null || data === void 0 ? void 0 : data.order_status) !== null && _f !== void 0 ? _f : null,
|
|
336
|
-
services: (data === null || data === void 0 ? void 0 : data.services) ? data === null || data === void 0 ? void 0 : data.services.map(item => ServiceModel(item)) : null
|
|
346
|
+
services: (data === null || data === void 0 ? void 0 : data.services) ? data === null || data === void 0 ? void 0 : data.services.map(item => ServiceModel(item)) : null,
|
|
347
|
+
staffs: (data === null || data === void 0 ? void 0 : data.staffs) ? (_g = data === null || data === void 0 ? void 0 : data.staffs) === null || _g === void 0 ? void 0 : _g.map((item) => StaffModel(item)) : null,
|
|
337
348
|
};
|
|
338
349
|
}
|
|
339
350
|
return {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetBatchHistoryRequest = {
|
|
2
2
|
start_date: string;
|
|
3
3
|
end_date: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type GetBatchDetailRequest = {
|
|
6
6
|
date?: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type OpenBatchHistoryRequest = {};
|
|
9
|
+
export 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,MAAM,MAAM,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,EAAE,CAAA;AAExC,MAAM,MAAM,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,MAAM,MAAM,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AACD,MAAM,MAAM,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,MAAM,MAAM,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
|
|
1
|
+
export 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,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAA"}
|