gap-nodejs-sdk 1.0.460 → 1.0.461
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/api/appointment.d.ts +1 -0
- package/dist/api/appointment_api/1.0.0/api/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/api/appointment.js +10 -9
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +1 -0
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.js +1 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +99 -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 +27 -26
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +27 -27
- 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 +36 -36
- 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 +16 -16
- 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 +22 -22
- 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/models/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/batch_history.js +1 -2
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +13 -13
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/device.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +9 -9
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +18 -18
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +14 -14
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/rate.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/rate.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/report.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/report.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/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 -5
- 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 +15 -15
- 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 +36 -36
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/response/device.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +11 -11
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +31 -31
- 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 +21 -21
- 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/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
|
@@ -9,6 +9,7 @@ export default class Appointment extends Base implements AppointmentAbstractClas
|
|
|
9
9
|
static getAppointmentSpecificDateList(data: Request.GetAppointmentSpecificDateListRequest): Promise<Response.GetAppointmentSpecificDateListResponse>;
|
|
10
10
|
static getAppointmentResourceList(data: Request.GetAppointmentResourceListRequest): Promise<Response.GetAppointmentResourceListResponse>;
|
|
11
11
|
static searchAppointment(data: Request.SearchAppointmentRequest): Promise<DataWithMetaResponse<Response.SearchAppointmentReponse>>;
|
|
12
|
+
static getAppointmentList(data: Request.GetAppointmentListRequest): Promise<Response.GetAppointmentListResponse>;
|
|
12
13
|
static getAppointmentDetail(data: Request.GetAppointmentDetailRequest): Promise<Response.GetAppointmentDetailResponse>;
|
|
13
14
|
static getDepositDetail(data: Request.GetDepositDetailRequest): Promise<Response.GetDepositDetailResponse>;
|
|
14
15
|
static createDeposit(data: Request.CreateDepositRequest): Promise<Response.CreateDepositResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/api/appointment.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,2BAA2B,CAAC;AACjE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AAGvD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,IAAK,YAAW,wBAAwB;IAC7E,OAAc,WAAW,gBAAoB;WAEzB,8BAA8B,CAAC,IAAI,EAAE,OAAO,CAAC,qCAAqC,GAAG,OAAO,CAAC,QAAQ,CAAC,sCAAsC,CAAC;WAU7I,0BAA0B,CAAC,IAAI,EAAE,OAAO,CAAC,iCAAiC,GAAG,OAAO,CAAC,QAAQ,CAAC,kCAAk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,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC;WAS5G,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC;CAS5I"}
|
|
@@ -35,15 +35,16 @@ export default class Appointment extends Base {
|
|
|
35
35
|
return DataWithMetaModel(response, Model.AppointmentDetailModel);
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
static getAppointmentList(data) {
|
|
39
|
+
var _a;
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
const response = yield this.client.get({
|
|
42
|
+
path: appointment.GET_APPOINTMENT_LIST_BOOKING,
|
|
43
|
+
query: data
|
|
44
|
+
});
|
|
45
|
+
return (((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) || []).map((item) => Model.AppointmentListModel(item));
|
|
46
|
+
});
|
|
47
|
+
}
|
|
47
48
|
static getAppointmentDetail(data) {
|
|
48
49
|
var _a;
|
|
49
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/endpoints/appointment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/endpoints/appointment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
GET_APPOINTMENT_SPECIFIC_DATE_LIST: "/v1/appointment/appointment/list/specific-date",
|
|
3
3
|
GET_APPOINTMENT_RESOURCE_LIST: "/v1/appointment/appointment/list/resource",
|
|
4
|
-
|
|
4
|
+
GET_APPOINTMENT_LIST_BOOKING: "/v1/appointment/appointment/list/all",
|
|
5
5
|
GET_APPOINTMENT_DETAIL: "/v1/appointment/appointment/list/detail",
|
|
6
6
|
CHANGE_APPOINTMENT_STATUS: "/v1/appointment/appointment/form/change-status",
|
|
7
7
|
CREATE_APPOINTMENT: "/v1/appointment/appointment/form/create",
|
|
@@ -108,6 +108,105 @@ export declare function AppointmentResourceModel(data: any): {
|
|
|
108
108
|
image_url: any;
|
|
109
109
|
status: any;
|
|
110
110
|
};
|
|
111
|
+
export declare function AppointmentListModel(data: any): {
|
|
112
|
+
id: any;
|
|
113
|
+
resourceId: any;
|
|
114
|
+
backgroundColor: any;
|
|
115
|
+
borderColor: any;
|
|
116
|
+
rendering: any;
|
|
117
|
+
note: any;
|
|
118
|
+
start: any;
|
|
119
|
+
end: any;
|
|
120
|
+
title: any;
|
|
121
|
+
overlap: any;
|
|
122
|
+
is_auto_assign: any;
|
|
123
|
+
service_id: any;
|
|
124
|
+
child_appointment_id: any;
|
|
125
|
+
checkin_id: any;
|
|
126
|
+
order_id: any;
|
|
127
|
+
status: any;
|
|
128
|
+
customer: {
|
|
129
|
+
id: any;
|
|
130
|
+
first_name: any;
|
|
131
|
+
last_name: any;
|
|
132
|
+
full_name: any;
|
|
133
|
+
phone: any;
|
|
134
|
+
email: any;
|
|
135
|
+
address: any;
|
|
136
|
+
city: any;
|
|
137
|
+
state: any;
|
|
138
|
+
country: any;
|
|
139
|
+
gender: any;
|
|
140
|
+
birthday: any;
|
|
141
|
+
create_at: any;
|
|
142
|
+
update_at: any;
|
|
143
|
+
status: any;
|
|
144
|
+
group_id: any;
|
|
145
|
+
note: any;
|
|
146
|
+
parent_id: any;
|
|
147
|
+
rating: any;
|
|
148
|
+
is_yelp: any;
|
|
149
|
+
reachable_email: any;
|
|
150
|
+
reachable_push: any;
|
|
151
|
+
reachable_sms: any;
|
|
152
|
+
visit_count: any;
|
|
153
|
+
last_visited: any;
|
|
154
|
+
image_url: any;
|
|
155
|
+
address2: any;
|
|
156
|
+
postal_code: any;
|
|
157
|
+
is_send_sms: any;
|
|
158
|
+
is_import: any;
|
|
159
|
+
is_checked_in: any;
|
|
160
|
+
current_point: any;
|
|
161
|
+
lifetime_point: any;
|
|
162
|
+
type: any;
|
|
163
|
+
};
|
|
164
|
+
staff: {
|
|
165
|
+
user_id: any;
|
|
166
|
+
name: any;
|
|
167
|
+
code: any;
|
|
168
|
+
created_at: any;
|
|
169
|
+
updated_at: any;
|
|
170
|
+
color_code: any;
|
|
171
|
+
image_url: any;
|
|
172
|
+
delete_image_url: any;
|
|
173
|
+
priority: any;
|
|
174
|
+
commission_type: any;
|
|
175
|
+
turn_priority: any;
|
|
176
|
+
last_turn_priority: any;
|
|
177
|
+
phone: any;
|
|
178
|
+
address: any;
|
|
179
|
+
nickname: any;
|
|
180
|
+
priority_calendar: any;
|
|
181
|
+
};
|
|
182
|
+
services: {
|
|
183
|
+
id: any;
|
|
184
|
+
name: any;
|
|
185
|
+
create_at: any;
|
|
186
|
+
type: any;
|
|
187
|
+
status: any;
|
|
188
|
+
group_id: any;
|
|
189
|
+
priority: any;
|
|
190
|
+
category_id: any;
|
|
191
|
+
onwer_id: any;
|
|
192
|
+
price: any;
|
|
193
|
+
note: any;
|
|
194
|
+
point_bonus: any;
|
|
195
|
+
duration: any;
|
|
196
|
+
buffer_time: any;
|
|
197
|
+
web_booking_visible: any;
|
|
198
|
+
supply_share: any;
|
|
199
|
+
show_on_checkin: any;
|
|
200
|
+
show_on_booking: any;
|
|
201
|
+
show_on_pos: any;
|
|
202
|
+
image_base_url: any;
|
|
203
|
+
image_path: any;
|
|
204
|
+
employee_list: any;
|
|
205
|
+
};
|
|
206
|
+
customer_type: any;
|
|
207
|
+
custom_service: any;
|
|
208
|
+
extra_data: any;
|
|
209
|
+
};
|
|
111
210
|
export declare function AppointmentDetailModel(data: any): Response.GetAppointmentDetailResponse;
|
|
112
211
|
export declare function DepositDetailModel(data: any): Response.GetDepositDetailResponse;
|
|
113
212
|
export declare function BusinessTimeOffModel(data: any): Response.GetListBusinessTimeOffResponse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;EAgBjD;
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;EAgBjD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB7C;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA4BvF;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CA4D/E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAkBvF;AA4FD,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,oCAAoC,CAWxG;AAED,eAAO,MAAM,wBAAwB,SAAW,GAAG;;CAIlD,CAAA"}
|
|
@@ -317,32 +317,33 @@ export function AppointmentResourceModel(data) {
|
|
|
317
317
|
status: (_f = data === null || data === void 0 ? void 0 : data.status) !== null && _f !== void 0 ? _f : null,
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
320
|
+
export function AppointmentListModel(data) {
|
|
321
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
322
|
+
return {
|
|
323
|
+
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
324
|
+
resourceId: (_b = data === null || data === void 0 ? void 0 : data.resourceId) !== null && _b !== void 0 ? _b : null,
|
|
325
|
+
backgroundColor: (_c = data === null || data === void 0 ? void 0 : data.backgroundColor) !== null && _c !== void 0 ? _c : null,
|
|
326
|
+
borderColor: (_d = data === null || data === void 0 ? void 0 : data.borderColor) !== null && _d !== void 0 ? _d : null,
|
|
327
|
+
rendering: (_e = data === null || data === void 0 ? void 0 : data.rendering) !== null && _e !== void 0 ? _e : null,
|
|
328
|
+
note: (_f = data === null || data === void 0 ? void 0 : data.note) !== null && _f !== void 0 ? _f : null,
|
|
329
|
+
start: (_g = data === null || data === void 0 ? void 0 : data.start) !== null && _g !== void 0 ? _g : null,
|
|
330
|
+
end: (_h = data === null || data === void 0 ? void 0 : data.end) !== null && _h !== void 0 ? _h : null,
|
|
331
|
+
title: (_j = data === null || data === void 0 ? void 0 : data.title) !== null && _j !== void 0 ? _j : null,
|
|
332
|
+
overlap: (_k = data === null || data === void 0 ? void 0 : data.overlap) !== null && _k !== void 0 ? _k : null,
|
|
333
|
+
is_auto_assign: (_l = data === null || data === void 0 ? void 0 : data.is_auto_assign) !== null && _l !== void 0 ? _l : null,
|
|
334
|
+
service_id: (_m = data === null || data === void 0 ? void 0 : data.service_id) !== null && _m !== void 0 ? _m : null,
|
|
335
|
+
child_appointment_id: (_o = data === null || data === void 0 ? void 0 : data.child_appointment_id) !== null && _o !== void 0 ? _o : null,
|
|
336
|
+
checkin_id: (_p = data === null || data === void 0 ? void 0 : data.checkin_id) !== null && _p !== void 0 ? _p : null,
|
|
337
|
+
order_id: (_q = data === null || data === void 0 ? void 0 : data.order_id) !== null && _q !== void 0 ? _q : null,
|
|
338
|
+
status: (_r = data === null || data === void 0 ? void 0 : data.status) !== null && _r !== void 0 ? _r : null,
|
|
339
|
+
customer: CustomerModel(data === null || data === void 0 ? void 0 : data.customer),
|
|
340
|
+
staff: StaffModel(data === null || data === void 0 ? void 0 : data.staff),
|
|
341
|
+
services: ServiceModel(data === null || data === void 0 ? void 0 : data.services),
|
|
342
|
+
customer_type: (_s = data === null || data === void 0 ? void 0 : data.customer_type) !== null && _s !== void 0 ? _s : null,
|
|
343
|
+
custom_service: (_t = data === null || data === void 0 ? void 0 : data.custom_service) !== null && _t !== void 0 ? _t : null,
|
|
344
|
+
extra_data: (_u = data === null || data === void 0 ? void 0 : data.extra_data) !== null && _u !== void 0 ? _u : null,
|
|
345
|
+
};
|
|
346
|
+
}
|
|
346
347
|
export function AppointmentDetailModel(data) {
|
|
347
348
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
348
349
|
return {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetAppointmentSpecificDateListRequest = {
|
|
3
3
|
date: string;
|
|
4
4
|
appointment_id?: number;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type GetAppointmentResourceListRequest = {
|
|
7
7
|
start_time: string;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type SearchAppointmentRequest = {
|
|
10
10
|
keywords: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type GetAppointmentDetailRequest = {
|
|
13
13
|
id: number;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type GetDepositDetailRequest = {
|
|
16
16
|
id: number;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type CreateDepositRequest = {
|
|
19
19
|
amount: number;
|
|
20
20
|
appointment_id: number;
|
|
21
21
|
external_deposit_id: string;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type ChangeAppointmentStatusRequest = {
|
|
24
24
|
id: number;
|
|
25
25
|
status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type CreateAppointmentRequest = {
|
|
28
28
|
date: string;
|
|
29
29
|
customer: Customer | null;
|
|
30
30
|
booker: Booker | null;
|
|
@@ -32,44 +32,44 @@ export declare type CreateAppointmentRequest = {
|
|
|
32
32
|
items: Item[];
|
|
33
33
|
extra_data: ExtraData;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
type Booker = Nullable<{
|
|
36
36
|
booker_name: string;
|
|
37
37
|
booker_phone: string;
|
|
38
38
|
}>;
|
|
39
|
-
|
|
39
|
+
type Customer = Nullable<{
|
|
40
40
|
id: number;
|
|
41
41
|
full_name: string;
|
|
42
42
|
phone: string;
|
|
43
43
|
}>;
|
|
44
|
-
|
|
44
|
+
type Item = Nullable<{
|
|
45
45
|
duration: Duration;
|
|
46
46
|
staff: Staff;
|
|
47
47
|
start_time: StartTime;
|
|
48
48
|
service: Service;
|
|
49
49
|
}>;
|
|
50
|
-
|
|
50
|
+
type Duration = Nullable<{
|
|
51
51
|
text: string;
|
|
52
52
|
value: number;
|
|
53
53
|
}>;
|
|
54
|
-
|
|
54
|
+
type Staff = Nullable<{
|
|
55
55
|
user_id: number;
|
|
56
56
|
}>;
|
|
57
|
-
|
|
57
|
+
type StartTime = Nullable<{
|
|
58
58
|
value: number;
|
|
59
59
|
text: string;
|
|
60
60
|
}>;
|
|
61
|
-
|
|
61
|
+
type Service = Nullable<{
|
|
62
62
|
id: number;
|
|
63
63
|
name: string;
|
|
64
64
|
duration: number;
|
|
65
65
|
price: number;
|
|
66
66
|
}>;
|
|
67
|
-
|
|
67
|
+
type ExtraData = Nullable<{
|
|
68
68
|
highlight: number;
|
|
69
69
|
request: number;
|
|
70
70
|
no_show: number;
|
|
71
71
|
}>;
|
|
72
|
-
export
|
|
72
|
+
export type UpdateAppointmentRequest = {
|
|
73
73
|
date: string;
|
|
74
74
|
customer: Customer | null;
|
|
75
75
|
booker: Booker | null;
|
|
@@ -79,7 +79,7 @@ export declare type UpdateAppointmentRequest = {
|
|
|
79
79
|
appointment_base_id: number;
|
|
80
80
|
status: string;
|
|
81
81
|
};
|
|
82
|
-
export
|
|
82
|
+
export type DragDropUpdateAppointmentRequest = {
|
|
83
83
|
event: {
|
|
84
84
|
id: number;
|
|
85
85
|
start: string;
|
|
@@ -87,13 +87,13 @@ export declare type DragDropUpdateAppointmentRequest = {
|
|
|
87
87
|
};
|
|
88
88
|
resource: string;
|
|
89
89
|
};
|
|
90
|
-
export
|
|
90
|
+
export type GetListBusinessTimeOffRequest = {
|
|
91
91
|
filterType?: number;
|
|
92
92
|
filterStaffId?: number;
|
|
93
93
|
page?: number;
|
|
94
94
|
'per-page'?: number;
|
|
95
95
|
};
|
|
96
|
-
export
|
|
96
|
+
export type AddBusinessTimeOffRequest = {
|
|
97
97
|
staff_id?: number;
|
|
98
98
|
all_day: number;
|
|
99
99
|
data: {
|
|
@@ -106,27 +106,27 @@ export declare type AddBusinessTimeOffRequest = {
|
|
|
106
106
|
start_date: string;
|
|
107
107
|
end_date: string;
|
|
108
108
|
};
|
|
109
|
-
export
|
|
110
|
-
export
|
|
109
|
+
export type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
|
|
110
|
+
export type DeleteBusinessTimeOffRequest = {
|
|
111
111
|
id: number;
|
|
112
112
|
type?: number;
|
|
113
113
|
};
|
|
114
|
-
export
|
|
114
|
+
export type GetAppointmentCustomerHistoryRequest = {
|
|
115
115
|
id: number;
|
|
116
116
|
};
|
|
117
|
-
export
|
|
117
|
+
export type CreateRefundRequest = {
|
|
118
118
|
amount: number;
|
|
119
119
|
appointment_id: number;
|
|
120
120
|
external_deposit_id: string;
|
|
121
121
|
};
|
|
122
|
-
export
|
|
122
|
+
export type InitPaymentRequest = {
|
|
123
123
|
appointment_id: number;
|
|
124
124
|
};
|
|
125
|
-
export
|
|
125
|
+
export type CreateStripePaymentRequest = {
|
|
126
126
|
appointment_id: number;
|
|
127
127
|
external_payment_id: string;
|
|
128
128
|
};
|
|
129
|
-
export
|
|
129
|
+
export type GetBusinessWorkingHourRequest = {
|
|
130
130
|
business_id: number;
|
|
131
131
|
};
|
|
132
132
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,qCAAqC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG;IAC5C,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA;AAKD,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC/B,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,CAAC;CAC3D,CAAA;AACD,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;CACzB,CAAA;AACD,KAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AACF,KAAK,QAA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,MAAM,MAAM,0BAA0B,GAAG;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC/B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IACxC,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iCAAiC,GAAG;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetWaitListRequest = {
|
|
2
2
|
date: string;
|
|
3
3
|
};
|
|
4
|
-
export
|
|
4
|
+
export type CreateOrderRequest = {
|
|
5
5
|
appointment_id: number;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type GetAppointmentListRequest = {
|
|
8
8
|
start_time: string;
|
|
9
9
|
status?: string;
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/pos.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/pos.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA;AACD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetAppointmentServiceListRequest = {};
|
|
2
2
|
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gCAAgC,GAAG,EAE9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAA;AACrC,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetAppointmentStaffListRequest = {};
|
|
2
2
|
//# sourceMappingURL=staff.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,GAAG,EAAE,CAAA"}
|