gap-nodejs-sdk 1.0.662 → 1.0.663
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 +20 -20
- 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 +9 -9
- 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 +28 -28
- 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 +14 -14
- 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 +2 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.js +4 -2
- package/dist/api/pos_client_api/1.0.0/models/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/customer.js +2 -1
- package/dist/api/pos_client_api/1.0.0/models/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/order.js +5 -3
- package/dist/api/pos_client_api/1.0.0/types/request/appointment.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/appointment.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +16 -16
- 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 +5 -5
- 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/group.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/group.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 +17 -17
- 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 +3 -3
- 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 +8 -8
- 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/appointment.d.ts +21 -21
- package/dist/api/pos_client_api/1.0.0/types/response/appointment.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 +19 -18
- 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 +42 -40
- 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 +15 -14
- 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/group.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/group.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 +34 -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 +27 -27
- 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 +8 -8
- 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 +11 -11
- 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
|
@@ -135,7 +135,7 @@ function OrderDiscountModel(data) {
|
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
function PaymentModel(data) {
|
|
138
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
138
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
139
139
|
return {
|
|
140
140
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
141
141
|
order_id: (_b = data === null || data === void 0 ? void 0 : data.order_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -147,6 +147,7 @@ function PaymentModel(data) {
|
|
|
147
147
|
status: (_h = data === null || data === void 0 ? void 0 : data.status) !== null && _h !== void 0 ? _h : null,
|
|
148
148
|
giftcard_code: (_j = data === null || data === void 0 ? void 0 : data.giftcard_code) !== null && _j !== void 0 ? _j : null,
|
|
149
149
|
giftcard: (_k = data === null || data === void 0 ? void 0 : data.giftcard) !== null && _k !== void 0 ? _k : null,
|
|
150
|
+
data: (_l = data === null || data === void 0 ? void 0 : data.data) !== null && _l !== void 0 ? _l : null
|
|
150
151
|
};
|
|
151
152
|
}
|
|
152
153
|
function CustomerModel(data) {
|
|
@@ -572,7 +573,7 @@ function HistoryModel(data) {
|
|
|
572
573
|
};
|
|
573
574
|
}
|
|
574
575
|
function AwaitingPaymentsModel(data) {
|
|
575
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
576
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
576
577
|
return {
|
|
577
578
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
578
579
|
order_id: (_b = data === null || data === void 0 ? void 0 : data.order_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -585,6 +586,7 @@ function AwaitingPaymentsModel(data) {
|
|
|
585
586
|
giftcard_code: (_j = data === null || data === void 0 ? void 0 : data.giftcard_code) !== null && _j !== void 0 ? _j : null,
|
|
586
587
|
gift_card_code: (_k = data === null || data === void 0 ? void 0 : data.gift_card_code) !== null && _k !== void 0 ? _k : null,
|
|
587
588
|
giftcard: (_l = data === null || data === void 0 ? void 0 : data.giftcard) !== null && _l !== void 0 ? _l : null,
|
|
589
|
+
data: (_m = data === null || data === void 0 ? void 0 : data.data) !== null && _m !== void 0 ? _m : null
|
|
588
590
|
};
|
|
589
591
|
}
|
|
590
592
|
export function UpdateOrderSuccessToSettledModel(data) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/customer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/customer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA2I9C,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,uBAAuB,CAK7E;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,yBAAyB,CA6CjF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,0BAA0B,CAYnF;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAmD9E"}
|
|
@@ -85,7 +85,7 @@ function OrderItemModel(data) {
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
function PaymentItemModel(data) {
|
|
88
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
88
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
89
89
|
return {
|
|
90
90
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
91
91
|
order_id: (_b = data === null || data === void 0 ? void 0 : data.order_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -97,6 +97,7 @@ function PaymentItemModel(data) {
|
|
|
97
97
|
status: (_h = data === null || data === void 0 ? void 0 : data.status) !== null && _h !== void 0 ? _h : null,
|
|
98
98
|
giftcard_code: (_j = data === null || data === void 0 ? void 0 : data.giftcard_code) !== null && _j !== void 0 ? _j : null,
|
|
99
99
|
giftcard: (_k = data === null || data === void 0 ? void 0 : data.giftcard) !== null && _k !== void 0 ? _k : null,
|
|
100
|
+
data: (_l = data === null || data === void 0 ? void 0 : data.data) !== null && _l !== void 0 ? _l : null
|
|
100
101
|
};
|
|
101
102
|
}
|
|
102
103
|
function AppointmentModel(data) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAmR9C,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CAS/E;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CA6E3E;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,2BAA2B,CASjF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CAqB5E;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAqF9E;AAmBD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,yBAAyB,CAUpF;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAIzF;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAetF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;EAqBnD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function PaymentModel(data) {
|
|
2
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
3
3
|
return {
|
|
4
4
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
5
5
|
order_id: (_b = data === null || data === void 0 ? void 0 : data.order_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -10,7 +10,8 @@ function PaymentModel(data) {
|
|
|
10
10
|
updated_at: (_g = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _g !== void 0 ? _g : null,
|
|
11
11
|
status: (_h = data === null || data === void 0 ? void 0 : data.status) !== null && _h !== void 0 ? _h : null,
|
|
12
12
|
giftcard: (_j = data === null || data === void 0 ? void 0 : data.giftcard) !== null && _j !== void 0 ? _j : null,
|
|
13
|
-
giftcard_code: (_k = data === null || data === void 0 ? void 0 : data.giftcard_code) !== null && _k !== void 0 ? _k : null
|
|
13
|
+
giftcard_code: (_k = data === null || data === void 0 ? void 0 : data.giftcard_code) !== null && _k !== void 0 ? _k : null,
|
|
14
|
+
data: (_l = data === null || data === void 0 ? void 0 : data.data) !== null && _l !== void 0 ? _l : null
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
17
|
function CustomerModel(data) {
|
|
@@ -169,7 +170,7 @@ function StaffModel(data) {
|
|
|
169
170
|
};
|
|
170
171
|
}
|
|
171
172
|
function OrderPaymentMethodModel(data) {
|
|
172
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
173
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
173
174
|
return {
|
|
174
175
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
175
176
|
order_id: (_b = data === null || data === void 0 ? void 0 : data.order_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -181,6 +182,7 @@ function OrderPaymentMethodModel(data) {
|
|
|
181
182
|
status: (_h = data === null || data === void 0 ? void 0 : data.status) !== null && _h !== void 0 ? _h : null,
|
|
182
183
|
giftcard_code: (_j = data === null || data === void 0 ? void 0 : data.giftcard_code) !== null && _j !== void 0 ? _j : null,
|
|
183
184
|
giftcard: (_k = data === null || data === void 0 ? void 0 : data.giftcard) !== null && _k !== void 0 ? _k : null,
|
|
185
|
+
data: (_l = data === null || data === void 0 ? void 0 : data.data) !== null && _l !== void 0 ? _l : null,
|
|
184
186
|
};
|
|
185
187
|
}
|
|
186
188
|
function TipModel(data) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type GetListAppointmentRequest = {
|
|
1
|
+
export declare type GetListAppointmentRequest = {
|
|
2
2
|
type?: string;
|
|
3
3
|
appointment_type?: string;
|
|
4
4
|
page?: number;
|
|
@@ -7,7 +7,7 @@ export type GetListAppointmentRequest = {
|
|
|
7
7
|
start_time: string;
|
|
8
8
|
staffs?: string;
|
|
9
9
|
};
|
|
10
|
-
export type GetListStaffAppointmentRequest = {
|
|
10
|
+
export declare type GetListStaffAppointmentRequest = {
|
|
11
11
|
start_time: string;
|
|
12
12
|
page?: number;
|
|
13
13
|
is_pagination?: number;
|
|
@@ -16,10 +16,10 @@ export type GetListStaffAppointmentRequest = {
|
|
|
16
16
|
keyword?: string;
|
|
17
17
|
type?: string;
|
|
18
18
|
};
|
|
19
|
-
export type GetDetailAppointmentRequest = {
|
|
19
|
+
export declare type GetDetailAppointmentRequest = {
|
|
20
20
|
id: number | string;
|
|
21
21
|
};
|
|
22
|
-
export type PostResendReminderRequest = {
|
|
22
|
+
export declare type PostResendReminderRequest = {
|
|
23
23
|
appointment_id: number | string;
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB,GAAG;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,oBAAY,8BAA8B,GAAG;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAA;CAClC,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export type GetBatchHistoryRequest = {
|
|
1
|
+
export declare type GetBatchHistoryRequest = {
|
|
2
2
|
start_date: string;
|
|
3
3
|
end_date: string;
|
|
4
4
|
};
|
|
5
|
-
export type GetBatchDetailRequest = {
|
|
5
|
+
export declare type GetBatchDetailRequest = {
|
|
6
6
|
date?: string;
|
|
7
7
|
};
|
|
8
|
-
export type OpenBatchHistoryRequest = {};
|
|
9
|
-
export type GetOpenBatchDetailRequest = {
|
|
8
|
+
export declare type OpenBatchHistoryRequest = {};
|
|
9
|
+
export declare type GetOpenBatchDetailRequest = {
|
|
10
10
|
serial_number: any;
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=batch_history.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,oBAAY,uBAAuB,GAAG,EAAE,CAAA;AAExC,oBAAY,yBAAyB,GAAG;IACpC,aAAa,EAAE,GAAG,CAAA;CACrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AACD,oBAAY,6BAA6B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type GetCategoryListItemRequest = {};
|
|
1
|
+
export declare type GetCategoryListItemRequest = {};
|
|
2
2
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B,GAAG,EAAE,CAAA"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { AtLeastOne } from "../../../../../base_type";
|
|
2
|
-
export type PostCheckInFormSubmitRequest = AtLeastOne<{
|
|
2
|
+
export declare type PostCheckInFormSubmitRequest = AtLeastOne<{
|
|
3
3
|
qr_code: string;
|
|
4
4
|
full_name: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
pos_device_name?: string;
|
|
7
7
|
pos_device_os?: string;
|
|
8
8
|
}>;
|
|
9
|
-
export type GetCheckInListRequest = {
|
|
9
|
+
export declare type GetCheckInListRequest = {
|
|
10
10
|
date: string;
|
|
11
11
|
type?: string;
|
|
12
12
|
page?: number;
|
|
13
13
|
'per-page'?: number;
|
|
14
14
|
pos_device_name?: string;
|
|
15
15
|
};
|
|
16
|
-
export type GetCheckInReportRequest = {
|
|
16
|
+
export declare type GetCheckInReportRequest = {
|
|
17
17
|
date?: string;
|
|
18
18
|
};
|
|
19
|
-
export type GetLastCheckInRequest = {};
|
|
20
|
-
export type GetCheckInInfoRequest = {
|
|
19
|
+
export declare type GetLastCheckInRequest = {};
|
|
20
|
+
export declare type GetCheckInInfoRequest = {
|
|
21
21
|
order_id: number;
|
|
22
22
|
};
|
|
23
|
-
export type SearchCheckInRequest = {
|
|
23
|
+
export declare type SearchCheckInRequest = {
|
|
24
24
|
keywords: string | number;
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=check_in.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,oBAAY,4BAA4B,GAAG,UAAU,CAAC;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC,CAAA;AACF,oBAAY,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAA;AACD,oBAAY,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AACD,oBAAY,qBAAqB,GAAG,EAEnC,CAAA;AACD,oBAAY,qBAAqB,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,oBAAoB,GAAG;IAC/B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA"}
|
|
@@ -66,7 +66,7 @@ export interface PostCheckOutUpdateOrderWithCreditCardPaymentRequest {
|
|
|
66
66
|
external_credit_card?: number;
|
|
67
67
|
}[];
|
|
68
68
|
}
|
|
69
|
-
export type PostCheckOutUpdateOrderProcessOnPaxRequest = {
|
|
69
|
+
export declare type PostCheckOutUpdateOrderProcessOnPaxRequest = {
|
|
70
70
|
order_id: number;
|
|
71
71
|
external_id?: number;
|
|
72
72
|
change: number;
|
|
@@ -155,62 +155,62 @@ export interface PostCheckOutItemAddComboRequest {
|
|
|
155
155
|
combo_id: number;
|
|
156
156
|
combo_items: number;
|
|
157
157
|
}
|
|
158
|
-
export type GetCheckoutResendRatingRequest = {
|
|
158
|
+
export declare type GetCheckoutResendRatingRequest = {
|
|
159
159
|
order_id: number;
|
|
160
160
|
};
|
|
161
|
-
export type PostCustomerAchAvailableRequest = {
|
|
161
|
+
export declare type PostCustomerAchAvailableRequest = {
|
|
162
162
|
username: string;
|
|
163
163
|
};
|
|
164
|
-
export type PostAchResendRequest = {
|
|
164
|
+
export declare type PostAchResendRequest = {
|
|
165
165
|
order_id: number;
|
|
166
166
|
};
|
|
167
|
-
export type PostAchVoidRequest = {
|
|
167
|
+
export declare type PostAchVoidRequest = {
|
|
168
168
|
order_id: number;
|
|
169
169
|
};
|
|
170
|
-
export type PostUpdateOrderSuccessToSettledRequest = {};
|
|
171
|
-
export type PostCalculateTaxRequest = {
|
|
170
|
+
export declare type PostUpdateOrderSuccessToSettledRequest = {};
|
|
171
|
+
export declare type PostCalculateTaxRequest = {
|
|
172
172
|
order_id: number;
|
|
173
173
|
cash_discount: number;
|
|
174
174
|
};
|
|
175
|
-
export type PostCalculatePaymentRequest = {
|
|
175
|
+
export declare type PostCalculatePaymentRequest = {
|
|
176
176
|
order_id: number;
|
|
177
177
|
cash_amount: number;
|
|
178
178
|
external_cc: number;
|
|
179
179
|
};
|
|
180
|
-
export type PostCheckOutDeleteByStaffRequest = {
|
|
180
|
+
export declare type PostCheckOutDeleteByStaffRequest = {
|
|
181
181
|
order_id: number;
|
|
182
182
|
staff_id: number;
|
|
183
183
|
};
|
|
184
|
-
export type PostCheckOutUpdateItemRequest = {
|
|
184
|
+
export declare type PostCheckOutUpdateItemRequest = {
|
|
185
185
|
id: number;
|
|
186
186
|
order_id: number;
|
|
187
187
|
price?: number;
|
|
188
188
|
quantity?: number;
|
|
189
189
|
additional_data?: string;
|
|
190
190
|
};
|
|
191
|
-
export type PostCheckOutUpdateStaffRequest = {
|
|
191
|
+
export declare type PostCheckOutUpdateStaffRequest = {
|
|
192
192
|
order_id: number;
|
|
193
193
|
staff_id: number;
|
|
194
194
|
order_item_id: string | number;
|
|
195
195
|
staff_id_old?: number;
|
|
196
196
|
staff?: any;
|
|
197
197
|
};
|
|
198
|
-
export type PostCheckOutInvoiceSendRequest = {
|
|
198
|
+
export declare type PostCheckOutInvoiceSendRequest = {
|
|
199
199
|
type?: 'sms' | 'email';
|
|
200
200
|
order_id: number;
|
|
201
201
|
phone?: string;
|
|
202
202
|
};
|
|
203
|
-
export type PostMergeOrderRequest = {
|
|
203
|
+
export declare type PostMergeOrderRequest = {
|
|
204
204
|
parent_id: number;
|
|
205
205
|
list_merged: number[];
|
|
206
206
|
};
|
|
207
|
-
export type PostDuplicateOrderRequest = {
|
|
207
|
+
export declare type PostDuplicateOrderRequest = {
|
|
208
208
|
order_id: number;
|
|
209
209
|
};
|
|
210
|
-
export type PostCheckOutEditItemRequest = {
|
|
210
|
+
export declare type PostCheckOutEditItemRequest = {
|
|
211
211
|
order_id: number;
|
|
212
212
|
order_item_id: number;
|
|
213
213
|
price: number;
|
|
214
214
|
};
|
|
215
|
-
export type PostCheckOutHistoryEditListRequest = any;
|
|
215
|
+
export declare type PostCheckOutHistoryEditListRequest = any;
|
|
216
216
|
//# sourceMappingURL=check_out.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_out.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,CAAC,GAAG,CAAC,CAAA;CACpB;AAED,MAAM,WAAW,kBAAkB;CAClC;AAED,MAAM,WAAW,6BAA6B;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC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AE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,+BAA+B;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,mDAAmD;IAChE,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,oBAAoB,CAAC,EAAE,MAAM,CAAA;KAChC,EAAE,CAAA;CACN;AAED,
|
|
1
|
+
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_out.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,CAAC,GAAG,CAAC,CAAA;CACpB;AAED,MAAM,WAAW,kBAAkB;CAClC;AAED,MAAM,WAAW,6BAA6B;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,GAAG,CAAC;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mCAAmC;IAChD,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAChC;AAED,MAAM,WAAW,qCAAqC;IAClD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,O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CACnB,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,oBAAY,kCAAkC,GAAG,GAAG,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export type GetComboSiteInfoRequest = {
|
|
1
|
+
export declare type GetComboSiteInfoRequest = {
|
|
2
2
|
id: number;
|
|
3
3
|
};
|
|
4
|
-
export type GetComboSiteListRequest = {
|
|
4
|
+
export declare type GetComboSiteListRequest = {
|
|
5
5
|
category_id: number;
|
|
6
6
|
status?: number;
|
|
7
7
|
};
|
|
8
|
-
export type SortComboRequest = {
|
|
8
|
+
export declare type SortComboRequest = {
|
|
9
9
|
items: string;
|
|
10
10
|
};
|
|
11
|
-
export type CreateComboRequest = {
|
|
11
|
+
export declare type CreateComboRequest = {
|
|
12
12
|
category_id: number;
|
|
13
13
|
name: string;
|
|
14
14
|
description: string;
|
|
@@ -25,10 +25,10 @@ export type CreateComboRequest = {
|
|
|
25
25
|
}[];
|
|
26
26
|
statusFilter?: number;
|
|
27
27
|
};
|
|
28
|
-
export type UpdateComboRequest = CreateComboRequest & {
|
|
28
|
+
export declare type UpdateComboRequest = CreateComboRequest & {
|
|
29
29
|
id: number;
|
|
30
30
|
};
|
|
31
|
-
export type DeleteComboRequest = {
|
|
31
|
+
export declare type DeleteComboRequest = {
|
|
32
32
|
id: number;
|
|
33
33
|
status: string;
|
|
34
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combo.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/combo.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"combo.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/combo.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AAED,oBAAY,uBAAuB,GAAG;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,oBAAY,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,kBAAkB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE;QACT,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,OAAO,EAAE,MAAM,CAAA;QACf,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,SAAS,EAAE,GAAG,EAAE,CAAA;QAChB,MAAM,EAAE,MAAM,CAAA;KACjB,EAAE,CAAC;IACJ,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,oBAAY,kBAAkB,GAAG,kBAAkB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpE,oBAAY,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commission.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/commission.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"commission.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/commission.ts"],"names":[],"mappings":"AAAA,oBAAY,+BAA+B,GAAG;IAC1C,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export type GetCustomerListRequest = {
|
|
1
|
+
export declare type GetCustomerListRequest = {
|
|
2
2
|
phone?: string;
|
|
3
3
|
full_name?: string;
|
|
4
4
|
signal?: any;
|
|
5
5
|
};
|
|
6
|
-
export type GetCustomerDetailRequest = {
|
|
6
|
+
export declare type GetCustomerDetailRequest = {
|
|
7
7
|
phone: string;
|
|
8
8
|
};
|
|
9
|
-
export type GetCustomerHistoryRequest = {
|
|
9
|
+
export declare type GetCustomerHistoryRequest = {
|
|
10
10
|
phone?: string;
|
|
11
11
|
id?: number;
|
|
12
12
|
};
|
|
13
|
-
export type UpdateCustomerRequest = {
|
|
13
|
+
export declare type UpdateCustomerRequest = {
|
|
14
14
|
customer_phone: string;
|
|
15
15
|
customer_name?: string;
|
|
16
16
|
note?: string;
|
|
@@ -19,7 +19,7 @@ export type UpdateCustomerRequest = {
|
|
|
19
19
|
birthday?: string;
|
|
20
20
|
order_id?: string;
|
|
21
21
|
};
|
|
22
|
-
export type GetCustomerSummaryHistoryRequest = {
|
|
22
|
+
export declare type GetCustomerSummaryHistoryRequest = {
|
|
23
23
|
phone?: string;
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,GAAG,CAAC;CAChB,CAAA;AAED,oBAAY,wBAAwB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAA;AAED,oBAAY,gCAAgC,GAAG;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type GetListPosDeviceRequest = {
|
|
1
|
+
export declare type GetListPosDeviceRequest = {
|
|
2
2
|
id: number;
|
|
3
3
|
device_id: string;
|
|
4
4
|
device_name: string;
|
|
@@ -11,10 +11,10 @@ export type GetListPosDeviceRequest = {
|
|
|
11
11
|
updated_at: Date;
|
|
12
12
|
last_login_at: Date;
|
|
13
13
|
};
|
|
14
|
-
export type DeletePosDeviceRequest = {
|
|
14
|
+
export declare type DeletePosDeviceRequest = {
|
|
15
15
|
id: number;
|
|
16
16
|
};
|
|
17
|
-
export type UpdateStaffRatingDeviceRequest = {
|
|
17
|
+
export declare type UpdateStaffRatingDeviceRequest = {
|
|
18
18
|
id: number;
|
|
19
19
|
is_show_staff_rating: number;
|
|
20
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/device.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/device.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,aAAa,EAAE,IAAI,CAAC;CACvB,CAAA;AAED,oBAAY,sBAAsB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AAED,oBAAY,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC;CAChC,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export type GetCheckGiftCardRequest = {
|
|
1
|
+
export declare type GetCheckGiftCardRequest = {
|
|
2
2
|
code: string | number;
|
|
3
3
|
is_get_history?: number;
|
|
4
4
|
};
|
|
5
|
-
export type PostResetGiftCardRequest = {
|
|
5
|
+
export declare type PostResetGiftCardRequest = {
|
|
6
6
|
gift_card_id: number;
|
|
7
7
|
order_id: number;
|
|
8
8
|
};
|
|
9
|
-
export type GetGiftCardListRequest = {
|
|
9
|
+
export declare type GetGiftCardListRequest = {
|
|
10
10
|
page: number;
|
|
11
11
|
'per-page': number;
|
|
12
12
|
code?: number | string;
|
|
@@ -15,23 +15,23 @@ export type GetGiftCardListRequest = {
|
|
|
15
15
|
type?: string;
|
|
16
16
|
sort?: string;
|
|
17
17
|
};
|
|
18
|
-
export type CreateMultiGiftCardRequest = {
|
|
18
|
+
export declare type CreateMultiGiftCardRequest = {
|
|
19
19
|
quantity: number;
|
|
20
20
|
};
|
|
21
|
-
export type CreateGiftCardRequest = {
|
|
21
|
+
export declare type CreateGiftCardRequest = {
|
|
22
22
|
code: string | number;
|
|
23
23
|
amount: number;
|
|
24
24
|
balance: number;
|
|
25
25
|
status: number;
|
|
26
26
|
};
|
|
27
|
-
export type FileImportGiftCardRequest = {};
|
|
28
|
-
export type GetGiftCardSiteDetailRequest = {
|
|
27
|
+
export declare type FileImportGiftCardRequest = {};
|
|
28
|
+
export declare type GetGiftCardSiteDetailRequest = {
|
|
29
29
|
id: number;
|
|
30
30
|
};
|
|
31
|
-
export type UploadFileGiftCardRequest = {
|
|
31
|
+
export declare type UploadFileGiftCardRequest = {
|
|
32
32
|
file: File;
|
|
33
33
|
} | FormData;
|
|
34
|
-
export type ExportGiftCardRequest = {
|
|
34
|
+
export declare type ExportGiftCardRequest = {
|
|
35
35
|
page?: number;
|
|
36
36
|
'per-page'?: number;
|
|
37
37
|
sort?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/gift_card.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/gift_card.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AACD,oBAAY,wBAAwB,GAAG;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,sBAAsB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,0BAA0B,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,oBAAY,yBAAyB,GAAG,EAAE,CAAA;AAE1C,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,IAAI,EAAE,IAAI,CAAC;CACd,GAAG,QAAQ,CAAC;AAEb,oBAAY,qBAAqB,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export type PostGroupPOSRequest = {
|
|
1
|
+
export declare type PostGroupPOSRequest = {
|
|
2
2
|
name: string;
|
|
3
3
|
status: number;
|
|
4
4
|
data: string;
|
|
5
5
|
color_code: string;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
8
|
-
export type UpdateGroupPOSRequest = {
|
|
8
|
+
export declare type UpdateGroupPOSRequest = {
|
|
9
9
|
id: number;
|
|
10
10
|
user_ids: string;
|
|
11
11
|
};
|
|
12
|
-
export type DeleteGroupPOSRequest = {
|
|
12
|
+
export declare type DeleteGroupPOSRequest = {
|
|
13
13
|
id: number;
|
|
14
14
|
};
|
|
15
|
-
export type DeleteUserFromGroupPOSRequest = {
|
|
15
|
+
export declare type DeleteUserFromGroupPOSRequest = {
|
|
16
16
|
id: number;
|
|
17
17
|
user_ids: string;
|
|
18
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/group.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/group.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,oBAAY,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AAED,oBAAY,6BAA6B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export type GetIncomeHistoryRequest = {
|
|
1
|
+
export declare type GetIncomeHistoryRequest = {
|
|
2
2
|
chart?: 0 | 1;
|
|
3
3
|
type?: 'day' | 'week' | 'month' | 'year';
|
|
4
4
|
start_date?: string;
|
|
5
5
|
end_date?: string;
|
|
6
6
|
year?: number;
|
|
7
7
|
};
|
|
8
|
-
export type GetStaffDailyIncomeRequest = {
|
|
8
|
+
export declare type GetStaffDailyIncomeRequest = {
|
|
9
9
|
type: 'day' | 'week' | 'month' | 'year';
|
|
10
10
|
date: string;
|
|
11
11
|
month: string;
|
|
@@ -19,17 +19,17 @@ export type GetStaffDailyIncomeRequest = {
|
|
|
19
19
|
is_pagination?: number;
|
|
20
20
|
page?: number;
|
|
21
21
|
};
|
|
22
|
-
export type GetPromotionDetailRequest = {
|
|
22
|
+
export declare type GetPromotionDetailRequest = {
|
|
23
23
|
start_date: string;
|
|
24
24
|
end_date: string;
|
|
25
25
|
is_income_view?: number;
|
|
26
26
|
};
|
|
27
|
-
export type GetRewardDetailRequest = {
|
|
27
|
+
export declare type GetRewardDetailRequest = {
|
|
28
28
|
start_date: string;
|
|
29
29
|
end_date: string;
|
|
30
30
|
is_income_view?: number;
|
|
31
31
|
};
|
|
32
|
-
export type GetGiftCardDetailRequest = {
|
|
32
|
+
export declare type GetGiftCardDetailRequest = {
|
|
33
33
|
start_date: string;
|
|
34
34
|
end_date: string;
|
|
35
35
|
is_income_view?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/income.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/income.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,oBAAY,0BAA0B,GAAG;IACrC,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB,GAAG;IACA,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AAED,oBAAY,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AAED,oBAAY,wBAAwB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|