gap-nodejs-sdk 1.0.481 → 1.0.482
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 +4 -4
- 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/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 +6 -6
- 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 +4 -4
- package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +25 -25
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/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 +7 -7
- 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 +5 -5
- 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/index.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/api/index.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/index.js +1 -0
- package/dist/api/pos_client_api/1.0.0/api/summary.d.ts +10 -0
- package/dist/api/pos_client_api/1.0.0/api/summary.d.ts.map +1 -0
- package/dist/api/pos_client_api/1.0.0/api/summary.js +18 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/index.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/index.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/endpoints/index.js +1 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/summary.d.ts +5 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/summary.d.ts.map +1 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/summary.js +4 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/summary.d.ts +6 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/summary.d.ts.map +1 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/summary.js +2 -0
- package/dist/api/pos_client_api/1.0.0/models/index.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/models/index.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/index.js +1 -0
- package/dist/api/pos_client_api/1.0.0/models/summary.d.ts +3 -0
- package/dist/api/pos_client_api/1.0.0/models/summary.d.ts.map +1 -0
- package/dist/api/pos_client_api/1.0.0/models/summary.js +56 -0
- 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/index.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/types/request/index.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/index.js +1 -0
- 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 +5 -0
- package/dist/api/pos_client_api/1.0.0/types/request/summary.d.ts.map +1 -0
- package/dist/api/pos_client_api/1.0.0/types/request/summary.js +1 -0
- 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 +38 -38
- 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/index.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/types/response/index.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/index.js +1 -0
- 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 +62 -0
- package/dist/api/pos_client_api/1.0.0/types/response/summary.d.ts.map +1 -0
- package/dist/api/pos_client_api/1.0.0/types/response/summary.js +1 -0
- 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/pos_client_api/index.d.ts +1 -0
- package/dist/api/pos_client_api/index.d.ts.map +1 -1
- package/dist/api/pos_client_api/index.js +1 -0
- 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,9 +1,9 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Detail = Nullable<{
|
|
3
3
|
date: string;
|
|
4
4
|
final_commission: number;
|
|
5
5
|
}>;
|
|
6
|
-
|
|
6
|
+
type EmployeeList = Nullable<{
|
|
7
7
|
user_id: number;
|
|
8
8
|
name: string;
|
|
9
9
|
image_url?: string;
|
|
@@ -11,7 +11,7 @@ declare type EmployeeList = Nullable<{
|
|
|
11
11
|
setting_commission: boolean;
|
|
12
12
|
payroll_list: PayrollList[];
|
|
13
13
|
}>;
|
|
14
|
-
|
|
14
|
+
type PayrollList = Nullable<{
|
|
15
15
|
payroll_id?: number;
|
|
16
16
|
start_date: string;
|
|
17
17
|
end_date: string;
|
|
@@ -19,7 +19,7 @@ declare type PayrollList = Nullable<{
|
|
|
19
19
|
final_commission: number;
|
|
20
20
|
id: number;
|
|
21
21
|
}>;
|
|
22
|
-
|
|
22
|
+
type StaffCommission = Nullable<{
|
|
23
23
|
id: number;
|
|
24
24
|
staff_id: number;
|
|
25
25
|
type: string;
|
|
@@ -42,7 +42,7 @@ declare type StaffCommission = Nullable<{
|
|
|
42
42
|
salary_type: number;
|
|
43
43
|
salary_per_hour: number;
|
|
44
44
|
}>;
|
|
45
|
-
|
|
45
|
+
type Employee = Nullable<{
|
|
46
46
|
user_id: number;
|
|
47
47
|
name: string;
|
|
48
48
|
code: number;
|
|
@@ -62,7 +62,7 @@ declare type Employee = Nullable<{
|
|
|
62
62
|
staff_commission: StaffCommission;
|
|
63
63
|
approved_commission: any;
|
|
64
64
|
}>;
|
|
65
|
-
|
|
65
|
+
type Total = Nullable<{
|
|
66
66
|
income: number;
|
|
67
67
|
commission: number;
|
|
68
68
|
salary: number;
|
|
@@ -76,7 +76,7 @@ declare type Total = Nullable<{
|
|
|
76
76
|
salary_per_hour: number;
|
|
77
77
|
working_hours: number;
|
|
78
78
|
}>;
|
|
79
|
-
|
|
79
|
+
type ApprovePayrollEmployee = Nullable<{
|
|
80
80
|
user_id: number;
|
|
81
81
|
name: string;
|
|
82
82
|
image_url?: string;
|
|
@@ -95,7 +95,7 @@ declare type ApprovePayrollEmployee = Nullable<{
|
|
|
95
95
|
wage_per_hours: boolean;
|
|
96
96
|
list_detail: any;
|
|
97
97
|
}>;
|
|
98
|
-
export
|
|
98
|
+
export type GetPayrollDetailResponse = Nullable<{
|
|
99
99
|
user_id: number;
|
|
100
100
|
name: string;
|
|
101
101
|
image_url?: string;
|
|
@@ -115,24 +115,24 @@ export declare type GetPayrollDetailResponse = Nullable<{
|
|
|
115
115
|
count: PayrollCount;
|
|
116
116
|
commission_percentage: number;
|
|
117
117
|
}>;
|
|
118
|
-
export
|
|
118
|
+
export type PayrollCount = Nullable<{
|
|
119
119
|
day: string | number;
|
|
120
120
|
order: string | number;
|
|
121
121
|
service: string | number;
|
|
122
122
|
}>;
|
|
123
|
-
export
|
|
123
|
+
export type GetAppListPayrollResponse = Nullable<{
|
|
124
124
|
payroll_id: any;
|
|
125
125
|
start_date: string;
|
|
126
126
|
end_date: string;
|
|
127
127
|
total_income: number;
|
|
128
128
|
employee_list: GetPayrollDetailResponse[];
|
|
129
129
|
}>;
|
|
130
|
-
export
|
|
130
|
+
export type GetPayrollListResponse = Nullable<{
|
|
131
131
|
begin_time: string;
|
|
132
132
|
end_time: string;
|
|
133
133
|
employee_list: EmployeeList[];
|
|
134
134
|
}>;
|
|
135
|
-
export
|
|
135
|
+
export type GetCashDiscountSettingResponse = Nullable<{
|
|
136
136
|
id: number;
|
|
137
137
|
owner_percent: number;
|
|
138
138
|
staff_percent: string;
|
|
@@ -140,20 +140,20 @@ export declare type GetCashDiscountSettingResponse = Nullable<{
|
|
|
140
140
|
updated_at: string;
|
|
141
141
|
status: number;
|
|
142
142
|
}>;
|
|
143
|
-
export
|
|
144
|
-
export
|
|
143
|
+
export type UpdateCashDiscountSettingResponse = GetCashDiscountSettingResponse;
|
|
144
|
+
export type GetIncomeDetailResponse = Nullable<{
|
|
145
145
|
employee: Employee;
|
|
146
146
|
order: any[];
|
|
147
147
|
total: Total;
|
|
148
148
|
}>;
|
|
149
|
-
export
|
|
149
|
+
export type GetApprovePayrollResponse = Nullable<{
|
|
150
150
|
payroll_id: any;
|
|
151
151
|
start_date: string;
|
|
152
152
|
end_date: string;
|
|
153
153
|
total_income: number;
|
|
154
154
|
employee_list: ApprovePayrollEmployee[];
|
|
155
155
|
}>;
|
|
156
|
-
export
|
|
156
|
+
export type GetSalaryChartResponse = Nullable<{
|
|
157
157
|
employee_list: {
|
|
158
158
|
[key: string]: Nullable<{
|
|
159
159
|
user_id: number;
|
|
@@ -162,7 +162,7 @@ export declare type GetSalaryChartResponse = Nullable<{
|
|
|
162
162
|
}>;
|
|
163
163
|
};
|
|
164
164
|
}>;
|
|
165
|
-
|
|
165
|
+
type GetSiteIncomeDetail = Nullable<{
|
|
166
166
|
date: string;
|
|
167
167
|
total_income: number;
|
|
168
168
|
total_commission: number;
|
|
@@ -171,7 +171,7 @@ declare type GetSiteIncomeDetail = Nullable<{
|
|
|
171
171
|
total_sales: number;
|
|
172
172
|
total_supply: number;
|
|
173
173
|
}>;
|
|
174
|
-
|
|
174
|
+
type PayrollDailyDetail = Nullable<{
|
|
175
175
|
orderId: number;
|
|
176
176
|
time_of_day: string;
|
|
177
177
|
commission: number;
|
|
@@ -180,7 +180,7 @@ declare type PayrollDailyDetail = Nullable<{
|
|
|
180
180
|
sales: number;
|
|
181
181
|
tip: number;
|
|
182
182
|
}>;
|
|
183
|
-
|
|
183
|
+
type GetSiteIncomeTotal = Nullable<{
|
|
184
184
|
income: number;
|
|
185
185
|
commission: number;
|
|
186
186
|
salary: number;
|
|
@@ -201,17 +201,17 @@ declare type GetSiteIncomeTotal = Nullable<{
|
|
|
201
201
|
discount_charge: number;
|
|
202
202
|
cash_discount_charge: number;
|
|
203
203
|
}>;
|
|
204
|
-
export
|
|
204
|
+
export type GetSiteIncomeDetailResponse = Nullable<{
|
|
205
205
|
employee: Employee;
|
|
206
206
|
details: GetSiteIncomeDetail[];
|
|
207
207
|
total: GetSiteIncomeTotal;
|
|
208
208
|
}>;
|
|
209
|
-
export
|
|
209
|
+
export type GetSalaryDetailResponse = Nullable<{
|
|
210
210
|
date: string;
|
|
211
211
|
work_hours: number;
|
|
212
212
|
salary: Salary;
|
|
213
213
|
}>;
|
|
214
|
-
|
|
214
|
+
type Salary = Nullable<{
|
|
215
215
|
name: string;
|
|
216
216
|
total_salary: number;
|
|
217
217
|
user_id: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/payroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/payroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB,EAAE,MAAM,CAAA;CAC3B,CAAC,CAAA;AAEF,KAAK,YAAY,GAAG,QAAQ,CAAC;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,YAAY,EAAE,WAAW,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,KAAK,WAAW,GAAG,QAAQ,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;IACxB,EAAE,EAAE,MAAM,CAAA;CACb,CAAC,CAAA;AACF,KAAK,eAAe,GAAI,QAAQ,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,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MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,oBAAoB,EAAE,MAAM,CAAA;CAC/B,CAAC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;IAC/C,QAAQ,EAAE,QAAQ,CAAA;IAClB,OAAO,EAAE,mBAAmB,EAAE,CAAA;IAC9B,KAAK,EAAE,kBAAkB,CAAC;CAC7B,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,KAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetPrinterListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
printer_name: string;
|
|
@@ -12,8 +12,8 @@ export declare type GetPrinterListResponse = Nullable<{
|
|
|
12
12
|
updated_at: string;
|
|
13
13
|
status: number;
|
|
14
14
|
}[]>;
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export type GetPrinterDetailResponse = GetPrinterListResponse;
|
|
16
|
+
export type CreatePrinterInfoResponse = Nullable<{
|
|
17
17
|
id: number;
|
|
18
18
|
name: string;
|
|
19
19
|
printer_name: string;
|
|
@@ -23,5 +23,5 @@ export declare type CreatePrinterInfoResponse = Nullable<{
|
|
|
23
23
|
is_bluetooth: number;
|
|
24
24
|
data: string;
|
|
25
25
|
}>;
|
|
26
|
-
export
|
|
26
|
+
export type UpdatePrinterInfoResponse = GetPrinterListResponse;
|
|
27
27
|
//# sourceMappingURL=printer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/printer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/printer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,EAAE,CAAC,CAAA;AAEJ,MAAM,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type SortPostListProductResponse = null;
|
|
3
|
+
export type GetPosListProductResponse = Nullable<{
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
6
6
|
type: string;
|
|
@@ -13,7 +13,7 @@ export declare type GetPosListProductResponse = Nullable<{
|
|
|
13
13
|
updated_at: string;
|
|
14
14
|
status: number;
|
|
15
15
|
}[]>;
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
16
|
+
export type CreatePosProductResponse = GetPosListProductResponse;
|
|
17
|
+
export type UpdatePosProductResponse = GetPosListProductResponse;
|
|
18
|
+
export type DeletePosProductResponse = null;
|
|
19
19
|
//# sourceMappingURL=product.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC;AAE/C,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,GAAG,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,GAAG,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,EAAE,CAAC,CAAA;AAEJ,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,CAAA;AAEhE,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,CAAA;AAEhE,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Nullable } from "src/base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetListRatingResponse = Nullable<{
|
|
3
3
|
start_date: string;
|
|
4
4
|
end_date: string;
|
|
5
5
|
staffRatingList: StaffRatingList[];
|
|
6
6
|
}>;
|
|
7
|
-
|
|
7
|
+
type StaffRatingList = Nullable<{
|
|
8
8
|
id: number;
|
|
9
9
|
staff_id: number;
|
|
10
10
|
staff_name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/rate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/rate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IACzC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,eAAe,EAAE,CAAA;CACrC,CAAC,CAAA;AAEF,KAAK,eAAe,GAAG,QAAQ,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,GAAG,EAAE,CAAA;CACtB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "src/base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetReportResponse = Nullable<{
|
|
3
3
|
summary: Summary;
|
|
4
4
|
payment_report: PaymentReport;
|
|
5
5
|
income_report: IncomeReport;
|
|
@@ -7,14 +7,14 @@ export declare type GetReportResponse = Nullable<{
|
|
|
7
7
|
trending_item_report: TrendingItemReport[];
|
|
8
8
|
best_staff_report: BestStaffReport[];
|
|
9
9
|
}>;
|
|
10
|
-
|
|
10
|
+
type Summary = Nullable<{
|
|
11
11
|
total_total: number;
|
|
12
12
|
total_order_not_customer: number;
|
|
13
13
|
total_income: number;
|
|
14
14
|
total_tip: number;
|
|
15
15
|
total_payroll: number;
|
|
16
16
|
}>;
|
|
17
|
-
|
|
17
|
+
type PaymentReport = Nullable<{
|
|
18
18
|
processing: string;
|
|
19
19
|
awaiting_payment: string;
|
|
20
20
|
success: string;
|
|
@@ -23,7 +23,7 @@ declare type PaymentReport = Nullable<{
|
|
|
23
23
|
cancel: string;
|
|
24
24
|
total: number;
|
|
25
25
|
}>;
|
|
26
|
-
|
|
26
|
+
type IncomeReport = Nullable<{
|
|
27
27
|
card_amount: number;
|
|
28
28
|
cash_amount: number;
|
|
29
29
|
check_amount: number;
|
|
@@ -31,7 +31,7 @@ declare type IncomeReport = Nullable<{
|
|
|
31
31
|
external_cc_amount: number;
|
|
32
32
|
total: number;
|
|
33
33
|
}>;
|
|
34
|
-
|
|
34
|
+
type BatchHistoryReport = Nullable<{
|
|
35
35
|
card_amount: number;
|
|
36
36
|
cash_amount: number;
|
|
37
37
|
check_amount: number;
|
|
@@ -39,16 +39,16 @@ declare type BatchHistoryReport = Nullable<{
|
|
|
39
39
|
external_cc_amount: number;
|
|
40
40
|
total: number;
|
|
41
41
|
}>;
|
|
42
|
-
|
|
42
|
+
type TrendingItemReport = Nullable<{
|
|
43
43
|
count_order: string;
|
|
44
44
|
item_name: string;
|
|
45
45
|
}>;
|
|
46
|
-
|
|
46
|
+
type BestStaffReport = Nullable<{
|
|
47
47
|
income: string;
|
|
48
48
|
staff_id: string;
|
|
49
49
|
staff: Staff;
|
|
50
50
|
}>;
|
|
51
|
-
|
|
51
|
+
type Staff = Nullable<{
|
|
52
52
|
user_id: string;
|
|
53
53
|
name: string;
|
|
54
54
|
code: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,
|
|
1
|
+
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;IACrC,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,aAAa,CAAA;IAC7B,aAAa,EAAE,YAAY,CAAA;IAC3B,oBAAoB,EAAE,kBAAkB,CAAA;IACxC,oBAAoB,EAAE,kBAAkB,EAAE,CAAA;IAC1C,iBAAiB,EAAE,eAAe,EAAE,CAAA;CACvC,CAAC,CAAA;AAEF,KAAK,OAAO,GAAG,QAAQ,CAAC;IACpB,WAAW,EAAE,MAAM,CAAA;I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AE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetServiceListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
create_at: string;
|
|
@@ -14,7 +14,7 @@ export declare type GetServiceListResponse = Nullable<{
|
|
|
14
14
|
web_booking_visible: string;
|
|
15
15
|
group_id: number;
|
|
16
16
|
}>;
|
|
17
|
-
export
|
|
17
|
+
export type UploadFileResponse = Nullable<{
|
|
18
18
|
name: string;
|
|
19
19
|
type: string;
|
|
20
20
|
size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,GAAG,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,GAAG,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;CACrB,EAAE,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetPayrollSettingResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
start_date: string;
|
|
5
5
|
period: string;
|
|
@@ -8,8 +8,8 @@ export declare type GetPayrollSettingResponse = Nullable<{
|
|
|
8
8
|
status: number;
|
|
9
9
|
custom_days: number;
|
|
10
10
|
}>;
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export type UpdatePayrollSettingResponse = GetPayrollSettingResponse;
|
|
12
|
+
export type GetDiscountSettingResponse = Nullable<{
|
|
13
13
|
id: number;
|
|
14
14
|
owner_percentage: number;
|
|
15
15
|
staff_percentage: number;
|
|
@@ -17,8 +17,8 @@ export declare type GetDiscountSettingResponse = Nullable<{
|
|
|
17
17
|
updated_at: string;
|
|
18
18
|
status: number;
|
|
19
19
|
}>;
|
|
20
|
-
export
|
|
21
|
-
export
|
|
20
|
+
export type UpdateDiscountSettingResponse = GetDiscountSettingResponse;
|
|
21
|
+
export type TaxSetting = Nullable<{
|
|
22
22
|
id: number;
|
|
23
23
|
type: string;
|
|
24
24
|
code: any;
|
|
@@ -29,22 +29,22 @@ export declare type TaxSetting = Nullable<{
|
|
|
29
29
|
updated_at: string;
|
|
30
30
|
status: number;
|
|
31
31
|
}>;
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
32
|
+
export type GetTaxSettingResponse = TaxSetting[];
|
|
33
|
+
export type UpdateTaxSettingResponse = null;
|
|
34
|
+
export type GetTurnValueResponse = Nullable<number>;
|
|
35
|
+
export type UpdateTurnValueResponse = GetTurnValueResponse;
|
|
36
|
+
export type TipItem = Nullable<{
|
|
37
37
|
title: string;
|
|
38
38
|
active: number;
|
|
39
39
|
value: any;
|
|
40
40
|
}>;
|
|
41
|
-
export
|
|
41
|
+
export type GetTipResponse = Nullable<{
|
|
42
42
|
type: string;
|
|
43
43
|
status: number;
|
|
44
44
|
tip_items: TipItem[];
|
|
45
45
|
}>;
|
|
46
|
-
export
|
|
47
|
-
export
|
|
46
|
+
export type UpdateTipResponse = Nullable<number>;
|
|
47
|
+
export type Answer = Nullable<{
|
|
48
48
|
id: number;
|
|
49
49
|
system: string;
|
|
50
50
|
type: string;
|
|
@@ -53,17 +53,17 @@ export declare type Answer = Nullable<{
|
|
|
53
53
|
updated_at: string;
|
|
54
54
|
status: number;
|
|
55
55
|
}>;
|
|
56
|
-
export
|
|
56
|
+
export type ListAnswer = Nullable<{
|
|
57
57
|
type: string;
|
|
58
58
|
answer: Answer[];
|
|
59
59
|
}>;
|
|
60
|
-
export
|
|
61
|
-
export
|
|
60
|
+
export type GetListAnswerResponse = ListAnswer[];
|
|
61
|
+
export type CreateAnswerResponse = Nullable<{
|
|
62
62
|
type: string;
|
|
63
63
|
content: string;
|
|
64
64
|
system: string;
|
|
65
65
|
id: number;
|
|
66
66
|
}>;
|
|
67
|
-
export
|
|
68
|
-
export
|
|
67
|
+
export type UpdateAnswerResponse = Answer;
|
|
68
|
+
export type ChangeAnswerStatusResponse = Answer;
|
|
69
69
|
//# sourceMappingURL=setting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/setting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/setting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,yBAAyB,CAAA;AAEpE,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,gBAAgB,EAAE,MAAM,CAAA;IACxB,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,0BAA0B,CAAA;AAEtE,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,GAAG,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,UAAU,EAAE,CAAA;AAEhD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC;AAE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
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Permission = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
type: string;
|
|
@@ -7,7 +7,7 @@ declare type Permission = Nullable<{
|
|
|
7
7
|
created_at: string;
|
|
8
8
|
updated_at: string;
|
|
9
9
|
}>;
|
|
10
|
-
|
|
10
|
+
type Staff = Nullable<{
|
|
11
11
|
user_id: number;
|
|
12
12
|
name: string;
|
|
13
13
|
image_url?: string;
|
|
@@ -22,7 +22,7 @@ declare type Staff = Nullable<{
|
|
|
22
22
|
turn_count: number;
|
|
23
23
|
checkin: string;
|
|
24
24
|
}>;
|
|
25
|
-
export
|
|
25
|
+
export type GetStaffListResponse = Nullable<{
|
|
26
26
|
user_id: number;
|
|
27
27
|
name: string;
|
|
28
28
|
image_url: string;
|
|
@@ -33,7 +33,7 @@ export declare type GetStaffListResponse = Nullable<{
|
|
|
33
33
|
is_checked_in: boolean;
|
|
34
34
|
commission_type: string;
|
|
35
35
|
}>;
|
|
36
|
-
export
|
|
36
|
+
export type GetStaffListByCheckoutResponse = Nullable<{
|
|
37
37
|
user_id: number;
|
|
38
38
|
name: string;
|
|
39
39
|
image_url?: string;
|
|
@@ -41,7 +41,7 @@ export declare type GetStaffListByCheckoutResponse = Nullable<{
|
|
|
41
41
|
sub_total: number;
|
|
42
42
|
service_sub_total: number;
|
|
43
43
|
}>;
|
|
44
|
-
export
|
|
44
|
+
export type GetStaffTurnChartResponse = Nullable<{
|
|
45
45
|
staff: Staff[];
|
|
46
46
|
turn_value: number;
|
|
47
47
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_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","sourceRo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IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAA;CAC5B,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,KAAK,EAAE,KAAK,EAAE,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Nullable } from "src/base_type";
|
|
2
|
+
export type GetSummaryResponse = Nullable<{
|
|
3
|
+
start_date: string;
|
|
4
|
+
end_date: string;
|
|
5
|
+
payment_summary: PaymentSummary;
|
|
6
|
+
payment_details: PaymentDetails;
|
|
7
|
+
tip_details: TipDetails;
|
|
8
|
+
earning: Earning;
|
|
9
|
+
payouts: Payouts;
|
|
10
|
+
customers: Customers;
|
|
11
|
+
}>;
|
|
12
|
+
type PaymentSummary = Nullable<{
|
|
13
|
+
cash: number;
|
|
14
|
+
card: number;
|
|
15
|
+
check: number;
|
|
16
|
+
giftcard: number;
|
|
17
|
+
other: number;
|
|
18
|
+
cashback: number;
|
|
19
|
+
promotion: number;
|
|
20
|
+
redemption: number;
|
|
21
|
+
discount_item: number;
|
|
22
|
+
total: number;
|
|
23
|
+
}>;
|
|
24
|
+
type PaymentDetails = Nullable<{
|
|
25
|
+
total_services: number;
|
|
26
|
+
discount: number;
|
|
27
|
+
total_tips: number;
|
|
28
|
+
product_sales: number;
|
|
29
|
+
giftcard_sales: number;
|
|
30
|
+
total_refund: number;
|
|
31
|
+
tax_and_fees: number;
|
|
32
|
+
}>;
|
|
33
|
+
type TipDetails = Nullable<{
|
|
34
|
+
total_tip: number;
|
|
35
|
+
tip_reduction: number;
|
|
36
|
+
tip_after_reduction: number;
|
|
37
|
+
}>;
|
|
38
|
+
type Earning = Nullable<{
|
|
39
|
+
earning: number;
|
|
40
|
+
discount: number;
|
|
41
|
+
giftcard_used: number;
|
|
42
|
+
tax_and_fees: number;
|
|
43
|
+
final_salon_earning: number;
|
|
44
|
+
}>;
|
|
45
|
+
type Payouts = Nullable<{
|
|
46
|
+
total: number;
|
|
47
|
+
other_deduction: number;
|
|
48
|
+
discount: number;
|
|
49
|
+
check_payout: number;
|
|
50
|
+
different_payout: number;
|
|
51
|
+
}>;
|
|
52
|
+
type Customers = Nullable<{
|
|
53
|
+
total: number;
|
|
54
|
+
appointment: number;
|
|
55
|
+
walk_in: number;
|
|
56
|
+
new: number;
|
|
57
|
+
regular: number;
|
|
58
|
+
vip: number;
|
|
59
|
+
other: number;
|
|
60
|
+
}>;
|
|
61
|
+
export {};
|
|
62
|
+
//# sourceMappingURL=summary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/summary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACtC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,cAAc,CAAA;IAC/B,eAAe,EAAE,cAAc,CAAA;IAC/B,WAAW,EAAE,UAAU,CAAA;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,SAAS,CAAA;CACvB,CAAC,CAAA;AAEF,KAAK,cAAc,GAAG,QAAQ,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EA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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type Ticket = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
subject: string;
|
|
5
5
|
content: string;
|
|
@@ -10,21 +10,21 @@ export declare type Ticket = Nullable<{
|
|
|
10
10
|
status: number;
|
|
11
11
|
name: string;
|
|
12
12
|
}>;
|
|
13
|
-
export
|
|
13
|
+
export type GetPosTicketInfoResponse = Nullable<{
|
|
14
14
|
items: Ticket[];
|
|
15
15
|
template_text: string;
|
|
16
16
|
}>;
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
17
|
+
export type CreatePosTicketTemplateResponse = Ticket;
|
|
18
|
+
export type UpdatePosTicketTemplateResponse = Ticket;
|
|
19
|
+
export type GetPosTicketTemplateResponse = Nullable<Ticket[]>;
|
|
20
|
+
export type PosTicketBlockName = 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 GetPosTicketListBlockNameResponse = Nullable<PosTicketBlockName[]>;
|
|
25
|
+
export type GetPosTicketListResponse = Nullable<Ticket[]>;
|
|
26
|
+
export type MovePosSubjectResponse = null;
|
|
27
|
+
export type SetPosDefaultTicketTemplateResponse = null;
|
|
28
|
+
export type SortPosPriorityResponse = null;
|
|
29
|
+
export type DeletePosTicketTemplateResponse = null;
|
|
30
30
|
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"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