gap-nodejs-sdk 1.0.663 → 1.0.664
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_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.js +10 -9
- 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 +18 -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 +41 -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 +14 -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 +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 +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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Group = {
|
|
3
3
|
group_id: number;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type Customer = Nullable<{
|
|
6
6
|
id: number;
|
|
7
7
|
full_name: string;
|
|
8
8
|
phone: string;
|
|
@@ -22,7 +22,7 @@ declare type Customer = Nullable<{
|
|
|
22
22
|
source: string;
|
|
23
23
|
current_cashback: number;
|
|
24
24
|
}>;
|
|
25
|
-
|
|
25
|
+
type CheckedOutBy = Nullable<{
|
|
26
26
|
user_id: number;
|
|
27
27
|
name: string;
|
|
28
28
|
code: number;
|
|
@@ -40,7 +40,7 @@ declare type CheckedOutBy = Nullable<{
|
|
|
40
40
|
nickname: string;
|
|
41
41
|
priority_calendar: string;
|
|
42
42
|
}>;
|
|
43
|
-
|
|
43
|
+
type Checkin = Nullable<{
|
|
44
44
|
id: number;
|
|
45
45
|
customer_id: number;
|
|
46
46
|
create_at: Date;
|
|
@@ -50,18 +50,18 @@ declare type Checkin = Nullable<{
|
|
|
50
50
|
type: string;
|
|
51
51
|
show_on_wait_list: number;
|
|
52
52
|
}>;
|
|
53
|
-
|
|
53
|
+
type Name = Nullable<{
|
|
54
54
|
name: string;
|
|
55
55
|
}>;
|
|
56
|
-
export
|
|
56
|
+
export type UpdateListGroupResponse = Nullable<{
|
|
57
57
|
customer_id: string;
|
|
58
58
|
group_id: string;
|
|
59
59
|
id: number;
|
|
60
60
|
}[]>;
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
64
|
-
export
|
|
61
|
+
export type GetListCustomerResponse = Customer[];
|
|
62
|
+
export type GetCustomerResponse = Customer;
|
|
63
|
+
export type UpdateCustomerCheckinResponse = Customer;
|
|
64
|
+
export type GetCustomerHistoryCheckinResponse = Nullable<{
|
|
65
65
|
checked_in_at: Date;
|
|
66
66
|
checked_out_at: Date;
|
|
67
67
|
point_added: number;
|
|
@@ -72,7 +72,7 @@ export declare type GetCustomerHistoryCheckinResponse = Nullable<{
|
|
|
72
72
|
checkin: Checkin;
|
|
73
73
|
discount_cashback: number;
|
|
74
74
|
}>;
|
|
75
|
-
export
|
|
75
|
+
export type GetCustomerHistoryPointResponse = Nullable<{
|
|
76
76
|
change: number;
|
|
77
77
|
created_at: string;
|
|
78
78
|
customer_phone: string;
|
|
@@ -83,8 +83,8 @@ export declare type GetCustomerHistoryPointResponse = Nullable<{
|
|
|
83
83
|
new_point: number;
|
|
84
84
|
old_point: number;
|
|
85
85
|
}>;
|
|
86
|
-
export
|
|
87
|
-
export
|
|
86
|
+
export type DeleteCustomersResponse = Customer[];
|
|
87
|
+
export type GetChartInfoResponse = Nullable<{
|
|
88
88
|
all: number;
|
|
89
89
|
vip: number;
|
|
90
90
|
regular: number;
|
|
@@ -94,6 +94,6 @@ export declare type GetChartInfoResponse = Nullable<{
|
|
|
94
94
|
import: number;
|
|
95
95
|
booking: number;
|
|
96
96
|
}>;
|
|
97
|
-
export
|
|
97
|
+
export type ExportMemberResponse = any;
|
|
98
98
|
export {};
|
|
99
99
|
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,IAAI,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,uBAAuB,EAAE,MAAM,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AACH,KAAK,YAAY,GAAG,QAAQ,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KA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AAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,EAAE,CAAC;AAEjD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Customer = {
|
|
3
3
|
all: number;
|
|
4
4
|
vip: number;
|
|
5
5
|
regular: number;
|
|
@@ -9,7 +9,7 @@ declare type Customer = {
|
|
|
9
9
|
booking: number;
|
|
10
10
|
import: number;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
type SurveyCheckin = {
|
|
13
13
|
facebook: string;
|
|
14
14
|
google: string;
|
|
15
15
|
instagram: string;
|
|
@@ -17,17 +17,17 @@ declare type SurveyCheckin = {
|
|
|
17
17
|
total: string;
|
|
18
18
|
website: string;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type Income = {
|
|
21
21
|
totalIncome: number;
|
|
22
22
|
isShow: number;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
type LastReviewDetail = {
|
|
25
25
|
user_name: string;
|
|
26
26
|
rating: number;
|
|
27
27
|
content: string;
|
|
28
28
|
time_create: string;
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
type Review = {
|
|
31
31
|
totalReview: number;
|
|
32
32
|
totalGoCheckinReview: string;
|
|
33
33
|
totalYelpReview: string;
|
|
@@ -36,7 +36,7 @@ declare type Review = {
|
|
|
36
36
|
lastYelpReview: LastReviewDetail;
|
|
37
37
|
lastGoogleReview: LastReviewDetail;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type GetDashboardReportResponse = Nullable<{
|
|
40
40
|
business_name: string;
|
|
41
41
|
id: string;
|
|
42
42
|
member_since: Date;
|
|
@@ -50,7 +50,7 @@ export declare type GetDashboardReportResponse = Nullable<{
|
|
|
50
50
|
totalCampaignSmsSent: string;
|
|
51
51
|
survey_checkin: SurveyCheckin;
|
|
52
52
|
}>;
|
|
53
|
-
export
|
|
53
|
+
export type GetDashboardReportChartResponse = Nullable<Array<{
|
|
54
54
|
category: string;
|
|
55
55
|
checkin: string;
|
|
56
56
|
new_sign_up: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,QAAQ,GAAG;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CA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AAEF,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC,KAAK,CAAC;IACzD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type RemoveGroup = {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
description: string;
|
|
6
6
|
status: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type GroupCustomerDetail = {
|
|
9
9
|
id: number;
|
|
10
10
|
full_name: string;
|
|
11
11
|
email: string;
|
|
@@ -14,10 +14,10 @@ declare type GroupCustomerDetail = {
|
|
|
14
14
|
lifetime_point: number;
|
|
15
15
|
current_point: number;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type GroupCustomer = {
|
|
18
18
|
customer: GroupCustomerDetail;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type GetListGroupResponse = Nullable<{
|
|
21
21
|
id: number;
|
|
22
22
|
name: string;
|
|
23
23
|
description: string;
|
|
@@ -25,26 +25,26 @@ export declare type GetListGroupResponse = Nullable<{
|
|
|
25
25
|
day_of_week: string;
|
|
26
26
|
note: string;
|
|
27
27
|
}[]>;
|
|
28
|
-
export
|
|
29
|
-
export
|
|
28
|
+
export type GetGroupResponse = GroupCustomer[];
|
|
29
|
+
export type CreateGroupResponse = Nullable<{
|
|
30
30
|
id: number;
|
|
31
31
|
name: string;
|
|
32
32
|
status: string;
|
|
33
33
|
}>;
|
|
34
|
-
export
|
|
34
|
+
export type UpdateGroupResponse = Nullable<{
|
|
35
35
|
group: RemoveGroup;
|
|
36
36
|
customers: GroupCustomer[];
|
|
37
37
|
}>;
|
|
38
|
-
export
|
|
38
|
+
export type DeleteGroupResponse = Nullable<{
|
|
39
39
|
id: number;
|
|
40
40
|
name: string;
|
|
41
41
|
description: string;
|
|
42
42
|
status: string;
|
|
43
43
|
}>;
|
|
44
|
-
export
|
|
44
|
+
export type RemoveCustomerResponse = Nullable<{
|
|
45
45
|
group: RemoveGroup;
|
|
46
46
|
customers: GroupCustomer[];
|
|
47
47
|
}>;
|
|
48
|
-
export
|
|
48
|
+
export type GetListCustomerToAddGroupResponse = GroupCustomerDetail;
|
|
49
49
|
export {};
|
|
50
50
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AACD,KAAK,mBAAmB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AACF,KAAK,aAAa,GAAG;IACjB,QAAQ,EAAE,mBAAmB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;CACf,EAAE,CAAC,CAAC;AAEL,MAAM,MAAM,gBAAgB,GAAG,aAAa,EAAE,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACvC,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,aAAa,EAAE,CAAC;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,aAAa,EAAE,CAAC;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,mBAAmB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "src/base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetListByCustomerResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
checkout_id: number;
|
|
5
5
|
customer_id: number;
|
|
@@ -22,7 +22,7 @@ export declare type GetListByCustomerResponse = Nullable<{
|
|
|
22
22
|
type: string;
|
|
23
23
|
invoice_details: InvoiceDetail[];
|
|
24
24
|
}>;
|
|
25
|
-
|
|
25
|
+
type InvoiceDetail = Nullable<{
|
|
26
26
|
id: number;
|
|
27
27
|
invoice_id: number;
|
|
28
28
|
product_type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/invoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,
|
|
1
|
+
{"version":3,"file":"invoice.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/invoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,GAAG,CAAA;IACnB,SAAS,EAAE,GAAG,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,GAAG,CAAA;IACnB,WAAW,EAAE,GAAG,CAAA;IAChB,aAAa,EAAE,GAAG,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,aAAa,EAAE,CAAA;CACnC,CAAC,CAAA;AAEF,KAAK,aAAa,GAAG,QAAQ,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,GAAG,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,GAAG,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,GAAG,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;CAClB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetNotifyAppointmentResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
appointment_id: number;
|
|
5
5
|
customer_id: any;
|
|
@@ -11,12 +11,12 @@ export declare type GetNotifyAppointmentResponse = Nullable<{
|
|
|
11
11
|
is_read: number;
|
|
12
12
|
extra_data: ExtraData;
|
|
13
13
|
}[]>;
|
|
14
|
-
|
|
14
|
+
type ExtraData = Nullable<{
|
|
15
15
|
highlight: number;
|
|
16
16
|
request: number;
|
|
17
17
|
no_show: number;
|
|
18
18
|
}>;
|
|
19
|
-
export
|
|
19
|
+
export type GetNotifySystemResponse = Nullable<{
|
|
20
20
|
id: number;
|
|
21
21
|
user_id: any;
|
|
22
22
|
category: string;
|
|
@@ -34,7 +34,7 @@ export declare type GetNotifySystemResponse = Nullable<{
|
|
|
34
34
|
updated_at: any;
|
|
35
35
|
status: any;
|
|
36
36
|
}[]>;
|
|
37
|
-
export
|
|
37
|
+
export type MaskAsReadResponse = Nullable<{
|
|
38
38
|
id: string;
|
|
39
39
|
}>;
|
|
40
40
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,GAAG,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,GAAG,CAAA;IACT,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,SAAS,CAAC;CACzB,EAAE,CAAC,CAAA;AAEJ,KAAK,SAAS,GAAG,QAAQ,CAAC;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,GAAG,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,GAAG,CAAA;IACZ,UAAU,EAAE,GAAG,CAAA;IACf,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,GAAG,CAAA;CACd,EAAE,CAAC,CAAA;AAEJ,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACtC,EAAE,EAAE,MAAM,CAAA;CACb,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type ReviewDetail = {
|
|
3
3
|
system: string;
|
|
4
4
|
type: string;
|
|
5
5
|
content: string;
|
|
@@ -7,33 +7,33 @@ declare type ReviewDetail = {
|
|
|
7
7
|
created_at: Date;
|
|
8
8
|
id: number;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type ReviewContent = {
|
|
11
11
|
id: number;
|
|
12
12
|
content: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type Review = {
|
|
15
15
|
active: number;
|
|
16
16
|
content: ReviewContent[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type GetCheckinReviewListResponse = Nullable<{
|
|
19
19
|
good_review: Review;
|
|
20
20
|
bad_review: Review;
|
|
21
21
|
}>;
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
22
|
+
export type ActiveCheckinReviewResponse = string;
|
|
23
|
+
export type InactiveCheckinReviewResponse = string;
|
|
24
|
+
export type CreateCheckinReviewContentResponse = ReviewDetail;
|
|
25
|
+
export type UpdateCheckinReviewContentResponse = ReviewDetail;
|
|
26
|
+
export type DeleteCheckinReviewContentResponse = string;
|
|
27
|
+
export type GetGoogleReviewListResponse = Nullable<{
|
|
28
28
|
good_review: Review;
|
|
29
29
|
bad_review: Review;
|
|
30
30
|
}>;
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
|
|
31
|
+
export type ActiveGoogleReviewResponse = string;
|
|
32
|
+
export type InactiveGoogleReviewResponse = string;
|
|
33
|
+
export type CreateGoogleReviewContentResponse = ReviewDetail;
|
|
34
|
+
export type UpdateGoogleReviewContentResponse = ReviewDetail;
|
|
35
|
+
export type DeleteGoogleReviewContentResponse = string;
|
|
36
|
+
type Customer = Nullable<{
|
|
37
37
|
id: number;
|
|
38
38
|
first_name: string;
|
|
39
39
|
last_name: string;
|
|
@@ -71,7 +71,7 @@ declare type Customer = Nullable<{
|
|
|
71
71
|
current_point: number;
|
|
72
72
|
lifetime_point: number;
|
|
73
73
|
}>;
|
|
74
|
-
export
|
|
74
|
+
export type GetListReviewResponse = Nullable<{
|
|
75
75
|
id: number;
|
|
76
76
|
review_id: string;
|
|
77
77
|
user_id: string;
|
|
@@ -93,18 +93,18 @@ export declare type GetListReviewResponse = Nullable<{
|
|
|
93
93
|
status: number;
|
|
94
94
|
customer: Customer;
|
|
95
95
|
}[]>;
|
|
96
|
-
|
|
96
|
+
type Rating = Nullable<{
|
|
97
97
|
five_star: string;
|
|
98
98
|
four_star: string;
|
|
99
99
|
three_star: string;
|
|
100
100
|
two_star: string;
|
|
101
101
|
one_star: string;
|
|
102
102
|
}>;
|
|
103
|
-
|
|
103
|
+
type GoogleReview = Nullable<{
|
|
104
104
|
average_rating: number;
|
|
105
105
|
total_reviews: number;
|
|
106
106
|
}>;
|
|
107
|
-
export
|
|
107
|
+
export type GetReviewReportResponse = Nullable<{
|
|
108
108
|
total_survey: string;
|
|
109
109
|
customer_write_review_into_system: string;
|
|
110
110
|
total_gocheckin_review: string;
|
|
@@ -116,7 +116,7 @@ export declare type GetReviewReportResponse = Nullable<{
|
|
|
116
116
|
total_yelp_review: string;
|
|
117
117
|
yelp_review_rating: Rating;
|
|
118
118
|
}>;
|
|
119
|
-
export
|
|
119
|
+
export type GetSystemMessageResponse = Nullable<{
|
|
120
120
|
id: number;
|
|
121
121
|
customer_id: number;
|
|
122
122
|
from_phone: string;
|
|
@@ -132,7 +132,7 @@ export declare type GetSystemMessageResponse = Nullable<{
|
|
|
132
132
|
updated_at: Date;
|
|
133
133
|
sms_count: number;
|
|
134
134
|
}[]>;
|
|
135
|
-
export
|
|
136
|
-
export
|
|
135
|
+
export type ReplyGoCheckinResponse = Nullable<any>;
|
|
136
|
+
export type ReplyGoogleResponse = Nullable<any>;
|
|
137
137
|
export {};
|
|
138
138
|
//# sourceMappingURL=review.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,YAAY,GAAG;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,IAAI,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,KAAK,aAAa,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AACD,KAAK,MAAM,GAAG;IACV,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,EAAE,CAAC;CAC5B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM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AAmB,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Reward = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
point: number;
|
|
5
5
|
content: string;
|
|
@@ -9,8 +9,8 @@ declare type Reward = Nullable<{
|
|
|
9
9
|
logic_type: string;
|
|
10
10
|
logic_value: string;
|
|
11
11
|
}>;
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type GetListRewardResponse = Reward[];
|
|
13
|
+
export type GetListRewardDiscountResponse = Nullable<{
|
|
14
14
|
id: number;
|
|
15
15
|
customer_id: number;
|
|
16
16
|
type: string;
|
|
@@ -24,10 +24,10 @@ export declare type GetListRewardDiscountResponse = Nullable<{
|
|
|
24
24
|
customer_name: string;
|
|
25
25
|
customer_phone: string;
|
|
26
26
|
}>;
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
27
|
+
export type CreateRewardResponse = Reward;
|
|
28
|
+
export type UpdateRewardResponse = Reward;
|
|
29
|
+
export type DeleteRewardResponse = null;
|
|
30
|
+
export type GetRewardHistoryResponse = Nullable<{
|
|
31
31
|
id: number;
|
|
32
32
|
customer_id: number;
|
|
33
33
|
redeem_id: number;
|
|
@@ -46,6 +46,6 @@ export declare type GetRewardHistoryResponse = Nullable<{
|
|
|
46
46
|
total_price: string;
|
|
47
47
|
discount: string;
|
|
48
48
|
}>[];
|
|
49
|
-
export
|
|
49
|
+
export type ExportRewardHistoryResponse = string;
|
|
50
50
|
export {};
|
|
51
51
|
//# sourceMappingURL=reward.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reward.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/reward.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"reward.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/reward.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,MAAM,EAAE,CAAC;AAE7C,MAAM,MAAM,6BAA6B,GAAG,QAAQ,CAAC;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,IAAI,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC,EAAE,CAAC;AAEL,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Service = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
create_at: string;
|
|
@@ -20,7 +20,7 @@ declare type Service = Nullable<{
|
|
|
20
20
|
image_base_url: any;
|
|
21
21
|
image_path: any;
|
|
22
22
|
}>;
|
|
23
|
-
|
|
23
|
+
type ColorDetail = {
|
|
24
24
|
id: number;
|
|
25
25
|
type: number;
|
|
26
26
|
item_id: number;
|
|
@@ -30,7 +30,7 @@ declare type ColorDetail = {
|
|
|
30
30
|
updated_at: string;
|
|
31
31
|
status: number;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type GetCheckInListByCategoryResponse = Nullable<{
|
|
34
34
|
id: number;
|
|
35
35
|
name: string;
|
|
36
36
|
priority: number;
|
|
@@ -48,7 +48,7 @@ export declare type GetCheckInListByCategoryResponse = Nullable<{
|
|
|
48
48
|
services: Service[];
|
|
49
49
|
color_detail?: ColorDetail;
|
|
50
50
|
}[]>;
|
|
51
|
-
export
|
|
51
|
+
export type CheckInService = Nullable<{
|
|
52
52
|
id: number;
|
|
53
53
|
name: string;
|
|
54
54
|
create_at: string;
|
|
@@ -70,12 +70,12 @@ export declare type CheckInService = Nullable<{
|
|
|
70
70
|
image_path: any;
|
|
71
71
|
hotkey: string;
|
|
72
72
|
}>;
|
|
73
|
-
export
|
|
74
|
-
export
|
|
75
|
-
export
|
|
76
|
-
export
|
|
77
|
-
export
|
|
78
|
-
export
|
|
73
|
+
export type ShortCheckInServiceResponse = null;
|
|
74
|
+
export type GetCheckInListServiceResponse = Nullable<CheckInService[]>;
|
|
75
|
+
export type UpdateCheckInServiceResponse = CheckInService;
|
|
76
|
+
export type DeleteCheckInServiceResponse = null;
|
|
77
|
+
export type CreateCheckInServiceResponse = CheckInService;
|
|
78
|
+
export type GetListStaffByServiceResponse = Nullable<{
|
|
79
79
|
id: string;
|
|
80
80
|
employee_id: string;
|
|
81
81
|
service_id: string;
|
|
@@ -83,7 +83,7 @@ export declare type GetListStaffByServiceResponse = Nullable<{
|
|
|
83
83
|
is_active: any;
|
|
84
84
|
employee: Employee;
|
|
85
85
|
}>;
|
|
86
|
-
|
|
86
|
+
type Employee = Nullable<{
|
|
87
87
|
user_id: string;
|
|
88
88
|
name: string;
|
|
89
89
|
code: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,OAAO,GAAG,QAAQ,CAAC;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,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AAEF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,iBAAiB,EAAE,MAAM,CAAA;CAC5B,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type ServiceFee = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
fee: number;
|
|
5
5
|
status: number;
|
|
@@ -7,23 +7,23 @@ export declare type ServiceFee = Nullable<{
|
|
|
7
7
|
updated_at: string;
|
|
8
8
|
state: number;
|
|
9
9
|
}>;
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
10
|
+
export type GetServiceFeeResponse = ServiceFee;
|
|
11
|
+
export type UpdateServiceFeeResponse = ServiceFee;
|
|
12
|
+
export type GetStoreRatingDisplayResponse = Nullable<{
|
|
13
13
|
is_visible: string;
|
|
14
14
|
}>;
|
|
15
|
-
export
|
|
15
|
+
export type UpdateStoreRatingDisplayResponse = Nullable<{
|
|
16
16
|
is_visible: string;
|
|
17
17
|
}>;
|
|
18
|
-
export
|
|
18
|
+
export type GetCheckOutConfigResponse = Nullable<{
|
|
19
19
|
type: string;
|
|
20
20
|
point_bonus: number;
|
|
21
21
|
}>;
|
|
22
|
-
export
|
|
22
|
+
export type UpdateCheckOutConfigResponse = Nullable<{
|
|
23
23
|
type: string;
|
|
24
24
|
point_bonus: number;
|
|
25
25
|
}>;
|
|
26
|
-
|
|
26
|
+
type Category = Nullable<{
|
|
27
27
|
id: number;
|
|
28
28
|
slug: string;
|
|
29
29
|
title: string;
|
|
@@ -34,7 +34,7 @@ declare type Category = Nullable<{
|
|
|
34
34
|
updated_at: number;
|
|
35
35
|
type: string;
|
|
36
36
|
}>;
|
|
37
|
-
export
|
|
37
|
+
export type GetPoliciesResponse = Nullable<{
|
|
38
38
|
id: number;
|
|
39
39
|
slug: string;
|
|
40
40
|
title: string;
|
|
@@ -54,8 +54,8 @@ export declare type GetPoliciesResponse = Nullable<{
|
|
|
54
54
|
category: Category;
|
|
55
55
|
article_attachments: any[];
|
|
56
56
|
}[]>;
|
|
57
|
-
export
|
|
58
|
-
export
|
|
57
|
+
export type UpdatePoliciesResponse = null;
|
|
58
|
+
export type GetGeneralConfigResponse = Nullable<{
|
|
59
59
|
"config.services.active": number;
|
|
60
60
|
"config.staffs.active": number;
|
|
61
61
|
"config.checkin.ask_email.active": number;
|
|
@@ -63,7 +63,7 @@ export declare type GetGeneralConfigResponse = Nullable<{
|
|
|
63
63
|
"config.review.notification": number;
|
|
64
64
|
"config.checkin.printer.active": number;
|
|
65
65
|
}>;
|
|
66
|
-
export
|
|
66
|
+
export type UpdateGeneralConfigResponse = Nullable<{
|
|
67
67
|
"config.services.active": number;
|
|
68
68
|
"config.staffs.active": number;
|
|
69
69
|
"config.checkin.ask_email.active": number;
|
|
@@ -71,7 +71,7 @@ export declare type UpdateGeneralConfigResponse = Nullable<{
|
|
|
71
71
|
"config.review.notification": number;
|
|
72
72
|
"config.checkin.printer.active": number;
|
|
73
73
|
}>;
|
|
74
|
-
export
|
|
74
|
+
export type GetBusinessWorkHourResponse = Nullable<{
|
|
75
75
|
business_id: number;
|
|
76
76
|
working_day: string;
|
|
77
77
|
mo: string;
|
|
@@ -84,6 +84,6 @@ export declare type GetBusinessWorkHourResponse = Nullable<{
|
|
|
84
84
|
is_active: number;
|
|
85
85
|
type: string;
|
|
86
86
|
}>;
|
|
87
|
-
export
|
|
87
|
+
export type UpdateBusinessWorkHourResponse = GetBusinessWorkHourResponse;
|
|
88
88
|
export {};
|
|
89
89
|
//# sourceMappingURL=settings.d.ts.map
|