gap-nodejs-sdk 1.0.481 → 1.0.483
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/models/appointment.d.ts +3 -0
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.js +4 -1
- 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 +40 -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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export function SummaryListModel(data) {
|
|
2
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51;
|
|
3
|
+
return {
|
|
4
|
+
start_date: (_a = data === null || data === void 0 ? void 0 : data.start_date) !== null && _a !== void 0 ? _a : null,
|
|
5
|
+
end_date: (_b = data === null || data === void 0 ? void 0 : data.end_date) !== null && _b !== void 0 ? _b : null,
|
|
6
|
+
payment_summary: {
|
|
7
|
+
cash: (_d = (_c = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _c === void 0 ? void 0 : _c.cash) !== null && _d !== void 0 ? _d : null,
|
|
8
|
+
card: (_f = (_e = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _e === void 0 ? void 0 : _e.card) !== null && _f !== void 0 ? _f : null,
|
|
9
|
+
check: (_h = (_g = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _g === void 0 ? void 0 : _g.check) !== null && _h !== void 0 ? _h : null,
|
|
10
|
+
giftcard: (_k = (_j = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _j === void 0 ? void 0 : _j.giftcard) !== null && _k !== void 0 ? _k : null,
|
|
11
|
+
other: (_m = (_l = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _l === void 0 ? void 0 : _l.other) !== null && _m !== void 0 ? _m : null,
|
|
12
|
+
cashback: (_p = (_o = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _o === void 0 ? void 0 : _o.cashback) !== null && _p !== void 0 ? _p : null,
|
|
13
|
+
promotion: (_r = (_q = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _q === void 0 ? void 0 : _q.promotion) !== null && _r !== void 0 ? _r : null,
|
|
14
|
+
redemption: (_t = (_s = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _s === void 0 ? void 0 : _s.redemption) !== null && _t !== void 0 ? _t : null,
|
|
15
|
+
discount_item: (_v = (_u = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _u === void 0 ? void 0 : _u.discount_item) !== null && _v !== void 0 ? _v : null,
|
|
16
|
+
total: (_x = (_w = data === null || data === void 0 ? void 0 : data.payment_summary) === null || _w === void 0 ? void 0 : _w.total) !== null && _x !== void 0 ? _x : null,
|
|
17
|
+
},
|
|
18
|
+
payment_details: {
|
|
19
|
+
total_services: (_z = (_y = data === null || data === void 0 ? void 0 : data.payment_details) === null || _y === void 0 ? void 0 : _y.total_services) !== null && _z !== void 0 ? _z : null,
|
|
20
|
+
discount: (_1 = (_0 = data === null || data === void 0 ? void 0 : data.payment_details) === null || _0 === void 0 ? void 0 : _0.discount) !== null && _1 !== void 0 ? _1 : null,
|
|
21
|
+
total_tips: (_3 = (_2 = data === null || data === void 0 ? void 0 : data.payment_details) === null || _2 === void 0 ? void 0 : _2.total_tips) !== null && _3 !== void 0 ? _3 : null,
|
|
22
|
+
product_sales: (_5 = (_4 = data === null || data === void 0 ? void 0 : data.payment_details) === null || _4 === void 0 ? void 0 : _4.product_sales) !== null && _5 !== void 0 ? _5 : null,
|
|
23
|
+
giftcard_sales: (_7 = (_6 = data === null || data === void 0 ? void 0 : data.payment_details) === null || _6 === void 0 ? void 0 : _6.giftcard_sales) !== null && _7 !== void 0 ? _7 : null,
|
|
24
|
+
total_refund: (_9 = (_8 = data === null || data === void 0 ? void 0 : data.payment_details) === null || _8 === void 0 ? void 0 : _8.total_refund) !== null && _9 !== void 0 ? _9 : null,
|
|
25
|
+
tax_and_fees: (_11 = (_10 = data === null || data === void 0 ? void 0 : data.payment_details) === null || _10 === void 0 ? void 0 : _10.tax_and_fees) !== null && _11 !== void 0 ? _11 : null,
|
|
26
|
+
},
|
|
27
|
+
tip_details: {
|
|
28
|
+
total_tip: (_13 = (_12 = data === null || data === void 0 ? void 0 : data.tip_details) === null || _12 === void 0 ? void 0 : _12.total_tip) !== null && _13 !== void 0 ? _13 : null,
|
|
29
|
+
tip_reduction: (_15 = (_14 = data === null || data === void 0 ? void 0 : data.tip_details) === null || _14 === void 0 ? void 0 : _14.tip_reduction) !== null && _15 !== void 0 ? _15 : null,
|
|
30
|
+
tip_after_reduction: (_17 = (_16 = data === null || data === void 0 ? void 0 : data.tip_details) === null || _16 === void 0 ? void 0 : _16.tip_after_reduction) !== null && _17 !== void 0 ? _17 : null,
|
|
31
|
+
},
|
|
32
|
+
earning: {
|
|
33
|
+
earning: (_19 = (_18 = data === null || data === void 0 ? void 0 : data.earning) === null || _18 === void 0 ? void 0 : _18.earning) !== null && _19 !== void 0 ? _19 : null,
|
|
34
|
+
discount: (_21 = (_20 = data === null || data === void 0 ? void 0 : data.earning) === null || _20 === void 0 ? void 0 : _20.discount) !== null && _21 !== void 0 ? _21 : null,
|
|
35
|
+
giftcard_used: (_23 = (_22 = data === null || data === void 0 ? void 0 : data.earning) === null || _22 === void 0 ? void 0 : _22.giftcard_used) !== null && _23 !== void 0 ? _23 : null,
|
|
36
|
+
tax_and_fees: (_25 = (_24 = data === null || data === void 0 ? void 0 : data.earning) === null || _24 === void 0 ? void 0 : _24.tax_and_fees) !== null && _25 !== void 0 ? _25 : null,
|
|
37
|
+
final_salon_earning: (_27 = (_26 = data === null || data === void 0 ? void 0 : data.earning) === null || _26 === void 0 ? void 0 : _26.final_salon_earning) !== null && _27 !== void 0 ? _27 : null,
|
|
38
|
+
},
|
|
39
|
+
payouts: {
|
|
40
|
+
total: (_29 = (_28 = data === null || data === void 0 ? void 0 : data.payouts) === null || _28 === void 0 ? void 0 : _28.total) !== null && _29 !== void 0 ? _29 : null,
|
|
41
|
+
other_deduction: (_31 = (_30 = data === null || data === void 0 ? void 0 : data.payouts) === null || _30 === void 0 ? void 0 : _30.other_deduction) !== null && _31 !== void 0 ? _31 : null,
|
|
42
|
+
discount: (_33 = (_32 = data === null || data === void 0 ? void 0 : data.payouts) === null || _32 === void 0 ? void 0 : _32.discount) !== null && _33 !== void 0 ? _33 : null,
|
|
43
|
+
check_payout: (_35 = (_34 = data === null || data === void 0 ? void 0 : data.payouts) === null || _34 === void 0 ? void 0 : _34.check_payout) !== null && _35 !== void 0 ? _35 : null,
|
|
44
|
+
different_payout: (_37 = (_36 = data === null || data === void 0 ? void 0 : data.payouts) === null || _36 === void 0 ? void 0 : _36.different_payout) !== null && _37 !== void 0 ? _37 : null,
|
|
45
|
+
},
|
|
46
|
+
customers: {
|
|
47
|
+
total: (_39 = (_38 = data === null || data === void 0 ? void 0 : data.customers) === null || _38 === void 0 ? void 0 : _38.total) !== null && _39 !== void 0 ? _39 : null,
|
|
48
|
+
appointment: (_41 = (_40 = data === null || data === void 0 ? void 0 : data.customers) === null || _40 === void 0 ? void 0 : _40.appointment) !== null && _41 !== void 0 ? _41 : null,
|
|
49
|
+
walk_in: (_43 = (_42 = data === null || data === void 0 ? void 0 : data.customers) === null || _42 === void 0 ? void 0 : _42.walk_in) !== null && _43 !== void 0 ? _43 : null,
|
|
50
|
+
new: (_45 = (_44 = data === null || data === void 0 ? void 0 : data.customers) === null || _44 === void 0 ? void 0 : _44.new) !== null && _45 !== void 0 ? _45 : null,
|
|
51
|
+
regular: (_47 = (_46 = data === null || data === void 0 ? void 0 : data.customers) === null || _46 === void 0 ? void 0 : _46.regular) !== null && _47 !== void 0 ? _47 : null,
|
|
52
|
+
vip: (_49 = (_48 = data === null || data === void 0 ? void 0 : data.customers) === null || _48 === void 0 ? void 0 : _48.vip) !== null && _49 !== void 0 ? _49 : null,
|
|
53
|
+
other: (_51 = (_50 = data === null || data === void 0 ? void 0 : data.customers) === null || _50 === void 0 ? void 0 : _50.other) !== null && _51 !== void 0 ? _51 : null,
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetBatchHistoryRequest = {
|
|
2
2
|
start_date: string;
|
|
3
3
|
end_date: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type GetBatchDetailRequest = {
|
|
6
6
|
date?: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type OpenBatchHistoryRequest = {};
|
|
9
|
+
export type GetOpenBatchDetailRequest = {
|
|
10
10
|
serial_number: any;
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=batch_history.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/batch_history.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,EAAE,CAAA;AAExC,MAAM,MAAM,yBAAyB,GAAG;IACpC,aAAa,EAAE,GAAG,CAAA;CACrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AACD,MAAM,MAAM,6BAA6B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/call.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetCategoryListItemRequest = {};
|
|
2
2
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAA"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AtLeastOne } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type PostCheckInFormSubmitRequest = AtLeastOne<{
|
|
3
3
|
qr_code: string;
|
|
4
4
|
full_name: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
}>;
|
|
7
|
-
export
|
|
7
|
+
export type GetCheckInListRequest = {
|
|
8
8
|
date: string;
|
|
9
9
|
type?: string;
|
|
10
10
|
page?: number;
|
|
11
11
|
'per-page'?: number;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type GetCheckInReportRequest = {
|
|
14
14
|
date?: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type GetLastCheckInRequest = {};
|
|
17
|
+
export type GetCheckInInfoRequest = {
|
|
18
18
|
order_id: number;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type SearchCheckInRequest = {
|
|
21
21
|
keywords: string | number;
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=check_in.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAA;CAChB,CAAC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG,EAEnC,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA"}
|
|
@@ -131,54 +131,54 @@ export interface PostCheckOutItemAddComboRequest {
|
|
|
131
131
|
combo_id: number;
|
|
132
132
|
combo_items: number;
|
|
133
133
|
}
|
|
134
|
-
export
|
|
134
|
+
export type GetCheckoutResendRatingRequest = {
|
|
135
135
|
order_id: number;
|
|
136
136
|
};
|
|
137
|
-
export
|
|
137
|
+
export type PostCustomerAchAvailableRequest = {
|
|
138
138
|
username: string;
|
|
139
139
|
};
|
|
140
|
-
export
|
|
140
|
+
export type PostAchResendRequest = {
|
|
141
141
|
order_id: number;
|
|
142
142
|
};
|
|
143
|
-
export
|
|
143
|
+
export type PostAchVoidRequest = {
|
|
144
144
|
order_id: number;
|
|
145
145
|
};
|
|
146
|
-
export
|
|
147
|
-
export
|
|
146
|
+
export type PostUpdateOrderSuccessToSettledRequest = {};
|
|
147
|
+
export type PostCalculateTaxRequest = {
|
|
148
148
|
order_id: number;
|
|
149
149
|
cash_discount: number;
|
|
150
150
|
};
|
|
151
|
-
export
|
|
151
|
+
export type PostCalculatePaymentRequest = {
|
|
152
152
|
order_id: number;
|
|
153
153
|
cash_amount: number;
|
|
154
154
|
external_cc: number;
|
|
155
155
|
};
|
|
156
|
-
export
|
|
156
|
+
export type PostCheckOutDeleteByStaffRequest = {
|
|
157
157
|
order_id: number;
|
|
158
158
|
staff_id: number;
|
|
159
159
|
};
|
|
160
|
-
export
|
|
160
|
+
export type PostCheckOutUpdateItemRequest = {
|
|
161
161
|
id: number;
|
|
162
162
|
order_id: number;
|
|
163
163
|
price?: number;
|
|
164
164
|
quantity?: number;
|
|
165
165
|
additional_data?: string;
|
|
166
166
|
};
|
|
167
|
-
export
|
|
167
|
+
export type PostCheckOutUpdateStaffRequest = {
|
|
168
168
|
order_id: number;
|
|
169
169
|
staff_id: number;
|
|
170
170
|
order_item_id: string | number;
|
|
171
171
|
};
|
|
172
|
-
export
|
|
172
|
+
export type PostCheckOutInvoiceSendRequest = {
|
|
173
173
|
type?: 'sms' | 'email';
|
|
174
174
|
order_id: number;
|
|
175
175
|
phone?: string;
|
|
176
176
|
};
|
|
177
|
-
export
|
|
177
|
+
export type PostMergeOrderRequest = {
|
|
178
178
|
parent_id: number;
|
|
179
179
|
list_merged: number[];
|
|
180
180
|
};
|
|
181
|
-
export
|
|
181
|
+
export type PostDuplicateOrderRequest = {
|
|
182
182
|
order_id: number;
|
|
183
183
|
};
|
|
184
184
|
//# 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;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAA;CACb;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,0BAA0B;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;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AI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACnC;AAED,MAAM,WAAW,+BAA+B;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACvB;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,CAAA;CACb;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,0BAA0B;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,6BAA6B;IAC1C,Q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MAAM,CAAA;CACjC,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG;IACzC,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;CACzB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetComboSiteInfoRequest = {
|
|
2
2
|
id: number;
|
|
3
3
|
};
|
|
4
|
-
export
|
|
4
|
+
export type GetComboSiteListRequest = {
|
|
5
5
|
category_id: number;
|
|
6
6
|
status?: number;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type SortComboRequest = {
|
|
9
9
|
items: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type CreateComboRequest = {
|
|
12
12
|
category_id: number;
|
|
13
13
|
name: string;
|
|
14
14
|
description: string;
|
|
@@ -25,10 +25,10 @@ export declare type CreateComboRequest = {
|
|
|
25
25
|
}[];
|
|
26
26
|
statusFilter?: number;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type UpdateComboRequest = CreateComboRequest & {
|
|
29
29
|
id: number;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export 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,MAAM,MAAM,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,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,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpE,MAAM,MAAM,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,MAAM,MAAM,+BAA+B,GAAG;IAC1C,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetCustomerListRequest = {
|
|
2
2
|
phone?: string;
|
|
3
3
|
full_name?: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type GetCustomerDetailRequest = {
|
|
6
6
|
phone: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type GetCustomerHistoryRequest = {
|
|
9
9
|
phone: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type UpdateCustomerRequest = {
|
|
12
12
|
customer_phone: string;
|
|
13
13
|
customer_name?: string;
|
|
14
14
|
note?: string;
|
|
@@ -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,MAAM,MAAM,sBAAsB,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetListPosDeviceRequest = {
|
|
2
2
|
id: number;
|
|
3
3
|
device_id: string;
|
|
4
4
|
device_name: string;
|
|
@@ -11,10 +11,10 @@ export declare type GetListPosDeviceRequest = {
|
|
|
11
11
|
updated_at: Date;
|
|
12
12
|
last_login_at: Date;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type DeletePosDeviceRequest = {
|
|
15
15
|
id: number;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export 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,MAAM,MAAM,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,MAAM,MAAM,sBAAsB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC;CAChC,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetCheckGiftCardRequest = {
|
|
2
2
|
code: string | number;
|
|
3
3
|
};
|
|
4
|
-
export
|
|
4
|
+
export type PostResetGiftCardRequest = {
|
|
5
5
|
gift_card_id: number;
|
|
6
6
|
order_id: number;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type GetGiftCardListRequest = {
|
|
9
9
|
page: number;
|
|
10
10
|
'per-page': number;
|
|
11
11
|
code?: number | string;
|
|
@@ -14,23 +14,23 @@ export declare type GetGiftCardListRequest = {
|
|
|
14
14
|
type?: string;
|
|
15
15
|
sort?: string;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type CreateMultiGiftCardRequest = {
|
|
18
18
|
quantity: number;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type CreateGiftCardRequest = {
|
|
21
21
|
code: string | number;
|
|
22
22
|
amount: number;
|
|
23
23
|
balance: number;
|
|
24
24
|
status: number;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
27
|
-
export
|
|
26
|
+
export type FileImportGiftCardRequest = {};
|
|
27
|
+
export type GetGiftCardSiteDetailRequest = {
|
|
28
28
|
id: number;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type UploadFileGiftCardRequest = {
|
|
31
31
|
file: File;
|
|
32
32
|
} | FormData;
|
|
33
|
-
export
|
|
33
|
+
export type ExportGiftCardRequest = {
|
|
34
34
|
page?: number;
|
|
35
35
|
'per-page'?: number;
|
|
36
36
|
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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';
|
|
4
4
|
start_date?: string;
|
|
5
5
|
end_date?: string;
|
|
6
6
|
year?: number;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type GetStaffDailyIncomeRequest = {
|
|
9
9
|
type: 'day' | 'week' | 'month' | 'year';
|
|
10
10
|
date: string;
|
|
11
11
|
month: string;
|
|
@@ -15,17 +15,17 @@ export declare type GetStaffDailyIncomeRequest = {
|
|
|
15
15
|
start_date: string;
|
|
16
16
|
end_date: string;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type GetPromotionDetailRequest = {
|
|
19
19
|
start_date: string;
|
|
20
20
|
end_date: string;
|
|
21
21
|
is_income_view?: number;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type GetRewardDetailRequest = {
|
|
24
24
|
start_date: string;
|
|
25
25
|
end_date: string;
|
|
26
26
|
is_income_view?: number;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type GetGiftCardDetailRequest = {
|
|
29
29
|
start_date: string;
|
|
30
30
|
end_date: string;
|
|
31
31
|
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,MAAM,MAAM,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,MAAM,MAAM,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;CACpB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AAED,MAAM,MAAM,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":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
@@ -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,MAAM,MAAM,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetOrderCheckInListRequest = {
|
|
2
2
|
type?: string;
|
|
3
3
|
from: string;
|
|
4
4
|
to: string;
|
|
@@ -7,25 +7,25 @@ export declare type GetOrderCheckInListRequest = {
|
|
|
7
7
|
'per-page'?: number;
|
|
8
8
|
keyword?: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type GetOrderDetailRequest = {
|
|
11
11
|
id: number;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type GetOrderHistoryListRequest = {
|
|
14
14
|
order_id: number;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type GetReportCheckInRequest = {
|
|
17
17
|
type?: string;
|
|
18
18
|
from: string;
|
|
19
19
|
to: string;
|
|
20
20
|
page?: number;
|
|
21
21
|
'per-page'?: number;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type UpdateOrderStaffRequest = {
|
|
24
24
|
order_id: number;
|
|
25
25
|
order_item_id: string;
|
|
26
26
|
staff_id: number;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type RemoveOrderRequest = {
|
|
29
29
|
order_id: number;
|
|
30
30
|
page?: number;
|
|
31
31
|
'per-page'?: number;
|
|
@@ -34,14 +34,14 @@ export declare type RemoveOrderRequest = {
|
|
|
34
34
|
to?: string;
|
|
35
35
|
payment_type?: number;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type ExportOrderRequest = {
|
|
38
38
|
type: string;
|
|
39
39
|
from: string;
|
|
40
40
|
to: string;
|
|
41
41
|
payment_type: number;
|
|
42
42
|
export: number;
|
|
43
43
|
};
|
|
44
|
-
export
|
|
44
|
+
export type SubmitCheckoutRequest = {
|
|
45
45
|
order_id: number;
|
|
46
46
|
change: number;
|
|
47
47
|
payment: {
|
|
@@ -53,7 +53,7 @@ export declare type SubmitCheckoutRequest = {
|
|
|
53
53
|
external_credit_card?: number;
|
|
54
54
|
}[];
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type SubmitPaymentRequest = {
|
|
57
57
|
order_id: number;
|
|
58
58
|
external_id?: number;
|
|
59
59
|
change: number;
|
|
@@ -71,7 +71,7 @@ export declare type SubmitPaymentRequest = {
|
|
|
71
71
|
employee_id?: number;
|
|
72
72
|
employee_name?: string;
|
|
73
73
|
};
|
|
74
|
-
export
|
|
74
|
+
export type UpdatePaymentDataRequest = {
|
|
75
75
|
order_id: number;
|
|
76
76
|
type: string;
|
|
77
77
|
payment_id: number;
|
|
@@ -80,25 +80,25 @@ export declare type UpdatePaymentDataRequest = {
|
|
|
80
80
|
status: number;
|
|
81
81
|
multi_payment_detail_id?: number;
|
|
82
82
|
};
|
|
83
|
-
export
|
|
83
|
+
export type AddNoteRequest = {
|
|
84
84
|
order_id: number;
|
|
85
85
|
note: string;
|
|
86
86
|
};
|
|
87
|
-
export
|
|
87
|
+
export type UpdatePaymentSignatureRequest = {
|
|
88
88
|
file: string;
|
|
89
89
|
order_id: number | string;
|
|
90
90
|
multi_payment_detail_id?: number;
|
|
91
91
|
};
|
|
92
|
-
export
|
|
92
|
+
export type GetMultiplePaymentInfoRequest = {
|
|
93
93
|
external_id: number;
|
|
94
94
|
};
|
|
95
|
-
export
|
|
95
|
+
export type AddMultiplePaymentRequest = {
|
|
96
96
|
amount: number;
|
|
97
97
|
data: any;
|
|
98
98
|
external_id: number;
|
|
99
99
|
payment_type: string;
|
|
100
100
|
};
|
|
101
|
-
export
|
|
101
|
+
export type RemoveMultiplePaymentRequest = {
|
|
102
102
|
external_id: number;
|
|
103
103
|
multi_payment_detail_id: number;
|
|
104
104
|
data: any;
|
|
@@ -106,7 +106,7 @@ export declare type RemoveMultiplePaymentRequest = {
|
|
|
106
106
|
payment_action: string;
|
|
107
107
|
payment_status: string;
|
|
108
108
|
};
|
|
109
|
-
export
|
|
109
|
+
export type VoidMultiplePaymentRequest = {
|
|
110
110
|
external_id: number;
|
|
111
111
|
void_data: {
|
|
112
112
|
multi_payment_detail_id: number;
|
|
@@ -116,7 +116,7 @@ export declare type VoidMultiplePaymentRequest = {
|
|
|
116
116
|
payment_status?: string;
|
|
117
117
|
}[];
|
|
118
118
|
};
|
|
119
|
-
export
|
|
119
|
+
export type RefundMultiplePaymentRequest = {
|
|
120
120
|
external_id: number;
|
|
121
121
|
refund_data: {
|
|
122
122
|
multi_payment_detail_id: number;
|
|
@@ -127,7 +127,7 @@ export declare type RefundMultiplePaymentRequest = {
|
|
|
127
127
|
amount: number;
|
|
128
128
|
}[];
|
|
129
129
|
};
|
|
130
|
-
export
|
|
130
|
+
export type UpdateMultiplePaymentStatusRequest = {
|
|
131
131
|
order_id: string;
|
|
132
132
|
status: number;
|
|
133
133
|
};
|