gap-nodejs-sdk 1.0.427 → 1.0.428
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 +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 +3 -3
- 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 +6 -6
- 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 +11 -11
- 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 +2 -2
- 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 +3 -3
- 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/payroll.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/api/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/payroll.js +10 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/payroll.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/endpoints/payroll.js +2 -1
- package/dist/api/pos_client_api/1.0.0/interfaces/payroll.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/payroll.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/models/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/payroll.js +15 -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 +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 +7 -7
- 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 +18 -13
- 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 -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 +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 +4 -4
- 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 +10 -10
- 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 +5 -5
- 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 +31 -19
- 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 +2 -2
- 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 +2 -2
- 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/payment/payment_interface.d.ts +1 -1
- package/dist/payment/payment_interface.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,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type CheckInTicket = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
subject: string;
|
|
5
5
|
content: string;
|
|
@@ -10,21 +10,21 @@ export declare type CheckInTicket = Nullable<{
|
|
|
10
10
|
status: number;
|
|
11
11
|
name: string;
|
|
12
12
|
}>;
|
|
13
|
-
export
|
|
13
|
+
export type GetCheckInTicketInfoResponse = Nullable<{
|
|
14
14
|
items: CheckInTicket[];
|
|
15
15
|
template_text: string;
|
|
16
16
|
}>;
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
17
|
+
export type CreateCheckInTicketTemplateResponse = CheckInTicket;
|
|
18
|
+
export type UpdateCheckInTicketTemplateResponse = CheckInTicket;
|
|
19
|
+
export type GetCheckInTicketTemplateResponse = Nullable<CheckInTicket[]>;
|
|
20
|
+
export type CheckInTicketBlockName = Nullable<{
|
|
21
21
|
subject: string;
|
|
22
22
|
name: string;
|
|
23
23
|
}>;
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
24
|
+
export type GetCheckInTicketListBlockNameResponse = Nullable<CheckInTicketBlockName[]>;
|
|
25
|
+
export type GetCheckInTicketListResponse = Nullable<CheckInTicket[]>;
|
|
26
|
+
export type MoveCheckInSubjectResponse = null;
|
|
27
|
+
export type SetCheckInDefaultTicketTemplateResponse = null;
|
|
28
|
+
export type SortCheckInPriorityResponse = null;
|
|
29
|
+
export type DeleteCheckInTicketTemplateResponse = null;
|
|
30
30
|
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,GAAG,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAChD,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAA;AAE/D,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAA;AAE/D,MAAM,MAAM,gCAAgC,GAAG,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;AAExE,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,QAAQ,CAAC,sBAAsB,EAAE,CAAC,CAAA;AAEtF,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;AAEpE,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC;AAE9C,MAAM,MAAM,uCAAuC,GAAG,IAAI,CAAC;AAE3D,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC;AAE/C,MAAM,MAAM,mCAAmC,GAAG,IAAI,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CreateCategoryRequest = {
|
|
2
2
|
name: string;
|
|
3
3
|
image_path: string;
|
|
4
4
|
image_base_url: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type UpdateCategoryRequest = {
|
|
7
7
|
id: number;
|
|
8
8
|
name: string;
|
|
9
9
|
status: string;
|
|
10
10
|
image_path: string;
|
|
11
11
|
image_base_url: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type DeleteCategoryRequest = {
|
|
14
14
|
id: number;
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetListItemRequest = {
|
|
2
2
|
"page"?: number;
|
|
3
3
|
"per-page"?: number;
|
|
4
4
|
name?: string;
|
|
5
5
|
category_id?: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type CreateItemRequest = {
|
|
8
8
|
name: string;
|
|
9
9
|
description: string;
|
|
10
10
|
category_id: number | null;
|
|
@@ -16,14 +16,14 @@ export declare type CreateItemRequest = {
|
|
|
16
16
|
image: string;
|
|
17
17
|
status: boolean;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type UpdateStatusItemRequest = {
|
|
20
20
|
id: number;
|
|
21
21
|
status: number;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type DeleteItemRequest = {
|
|
24
24
|
id: number;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type UpdateItemRequest = {
|
|
27
27
|
id: number;
|
|
28
28
|
name: string;
|
|
29
29
|
description: string;
|
|
@@ -36,17 +36,17 @@ export declare type UpdateItemRequest = {
|
|
|
36
36
|
image: string;
|
|
37
37
|
status: boolean;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type UploadImageRequest = {
|
|
40
40
|
file: File;
|
|
41
41
|
} | FormData;
|
|
42
|
-
|
|
42
|
+
type ItemVariant = {
|
|
43
43
|
name: string;
|
|
44
44
|
image: any;
|
|
45
45
|
description: string;
|
|
46
46
|
price: string;
|
|
47
47
|
index: number;
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
type Modifier = {
|
|
50
50
|
modifier_name: string;
|
|
51
51
|
type: string;
|
|
52
52
|
required: boolean;
|
|
@@ -54,7 +54,7 @@ declare type Modifier = {
|
|
|
54
54
|
details: Detail[];
|
|
55
55
|
is_selected: boolean;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
type Detail = {
|
|
58
58
|
image_url: string | null;
|
|
59
59
|
name: string;
|
|
60
60
|
price: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/item.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/item.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,WAAW,EAAE,CAAA;IAC5B,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,WAAW,EAAE,CAAA;IAC5B,QAAQ,EAAE,QAAQ,EAAE,CAAA;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,IAAI,CAAC;CACd,GAAG,QAAQ,CAAC;AAEb,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,GAAG,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,KAAK,QAAQ,GAAG;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,KAAK,MAAM,GAAG;IACV,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type DetailModifier = {
|
|
2
2
|
name: string;
|
|
3
3
|
price: number;
|
|
4
4
|
image_url: string | null;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type CreateModifierRequest = {
|
|
7
7
|
title: string;
|
|
8
8
|
modifier: {
|
|
9
9
|
modifier_name: string;
|
|
@@ -14,7 +14,7 @@ export declare type CreateModifierRequest = {
|
|
|
14
14
|
details: DetailModifier[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type UpdateModifierRequest = {
|
|
18
18
|
id: number;
|
|
19
19
|
title: string;
|
|
20
20
|
modifier: {
|
|
@@ -26,7 +26,7 @@ export declare type UpdateModifierRequest = {
|
|
|
26
26
|
details: DetailModifier[];
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type DeleteModifierRequest = {
|
|
30
30
|
id: number;
|
|
31
31
|
};
|
|
32
32
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/modifier.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/request/modifier.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAA;AACD,MAAM,MAAM,qBAAqB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QACN,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,cAAc,EAAE,CAAA;KAC5B,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QACN,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,cAAc,EAAE,CAAA;KAC5B,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type ColorDetail = {
|
|
3
3
|
type: number;
|
|
4
4
|
id: number;
|
|
5
5
|
item_id: number;
|
|
@@ -9,7 +9,7 @@ declare type ColorDetail = {
|
|
|
9
9
|
updated_at: string;
|
|
10
10
|
status: number;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
type Modifier = {
|
|
13
13
|
is_selected: boolean;
|
|
14
14
|
details: any;
|
|
15
15
|
id: number;
|
|
@@ -18,7 +18,7 @@ declare type Modifier = {
|
|
|
18
18
|
type: string;
|
|
19
19
|
group_modifier: string;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
type ItemVariant = {
|
|
22
22
|
id: number;
|
|
23
23
|
item_id: number;
|
|
24
24
|
image: string | null;
|
|
@@ -29,7 +29,7 @@ declare type ItemVariant = {
|
|
|
29
29
|
created_at: string;
|
|
30
30
|
updated_at: string | null;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
type Item = {
|
|
33
33
|
nutritional_information: any[];
|
|
34
34
|
modifier: Modifier[];
|
|
35
35
|
id: number;
|
|
@@ -51,7 +51,7 @@ declare type Item = {
|
|
|
51
51
|
priority: number | null;
|
|
52
52
|
item_variants: ItemVariant[];
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type GetListCategoryResponse = Nullable<{
|
|
55
55
|
color_detail: ColorDetail[];
|
|
56
56
|
created_at: string;
|
|
57
57
|
id: number;
|
|
@@ -62,7 +62,7 @@ export declare type GetListCategoryResponse = Nullable<{
|
|
|
62
62
|
image_base_url: null;
|
|
63
63
|
image_path: null;
|
|
64
64
|
}[]>;
|
|
65
|
-
export
|
|
65
|
+
export type UpdateCategoryResponse = {
|
|
66
66
|
id: number;
|
|
67
67
|
name: string;
|
|
68
68
|
priority: number;
|
|
@@ -73,7 +73,7 @@ export declare type UpdateCategoryResponse = {
|
|
|
73
73
|
image_path: string;
|
|
74
74
|
image_base_url: string;
|
|
75
75
|
};
|
|
76
|
-
export
|
|
77
|
-
export
|
|
76
|
+
export type CreateCategoryResponse = UpdateCategoryResponse;
|
|
77
|
+
export type DeleteCategoryResponse = null;
|
|
78
78
|
export {};
|
|
79
79
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,KAAK,QAAQ,GAAG;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,KAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAA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UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,CAAC;IAC1B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,CAAA;AAE3D,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetListItemRespone = Nullable<{
|
|
3
3
|
nutritional_information: any[];
|
|
4
4
|
modifier: Modifier[];
|
|
5
5
|
id: number;
|
|
@@ -21,7 +21,7 @@ export declare type GetListItemRespone = Nullable<{
|
|
|
21
21
|
priority: any;
|
|
22
22
|
item_variants: ItemVariant[];
|
|
23
23
|
}[]>;
|
|
24
|
-
export
|
|
24
|
+
export type CreateItemResponse = {
|
|
25
25
|
created_at: string;
|
|
26
26
|
nutritional_information: any[];
|
|
27
27
|
modifier: Modifier[];
|
|
@@ -35,7 +35,7 @@ export declare type CreateItemResponse = {
|
|
|
35
35
|
id: number;
|
|
36
36
|
item_variants: ItemVariant[];
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type UploadImageResponse = Nullable<{
|
|
39
39
|
name: string;
|
|
40
40
|
type: string;
|
|
41
41
|
size: number;
|
|
@@ -44,7 +44,7 @@ export declare type UploadImageResponse = Nullable<{
|
|
|
44
44
|
url: string;
|
|
45
45
|
delete_url: string;
|
|
46
46
|
}[]>;
|
|
47
|
-
export
|
|
47
|
+
export type UpdateItemResponse = {
|
|
48
48
|
nutritional_information: any[];
|
|
49
49
|
modifier: Modifier[];
|
|
50
50
|
id: number;
|
|
@@ -66,8 +66,8 @@ export declare type UpdateItemResponse = {
|
|
|
66
66
|
priority: any;
|
|
67
67
|
item_variants: ItemVariant[];
|
|
68
68
|
};
|
|
69
|
-
export
|
|
70
|
-
|
|
69
|
+
export type DeleteItemResponse = null;
|
|
70
|
+
type Modifier = {
|
|
71
71
|
modifier_name: string;
|
|
72
72
|
type: string;
|
|
73
73
|
required: boolean;
|
|
@@ -77,13 +77,13 @@ declare type Modifier = {
|
|
|
77
77
|
group_modifier: string;
|
|
78
78
|
size_button: string;
|
|
79
79
|
};
|
|
80
|
-
|
|
80
|
+
type DetailModifier = {
|
|
81
81
|
name: string;
|
|
82
82
|
price: string;
|
|
83
83
|
id: string;
|
|
84
84
|
image_url: string | null;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
type ItemVariant = {
|
|
87
87
|
id: number;
|
|
88
88
|
item_id: number;
|
|
89
89
|
image?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACtC,uBAAuB,EAAE,GAAG,EAAE,CAAA;IAC9B,QAAQ,EAAE,QAAQ,EAAE,CAAA;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,GAAG,CAAA;IACrB,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,MA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
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type ModifierDetail = {
|
|
3
3
|
name: string;
|
|
4
4
|
price: number;
|
|
5
5
|
image_url: string | null;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type GetListModifierResponse = Nullable<{
|
|
8
8
|
modifier: {
|
|
9
9
|
details: ModifierDetail[];
|
|
10
10
|
modifier_name: string;
|
|
@@ -19,7 +19,7 @@ export declare type GetListModifierResponse = Nullable<{
|
|
|
19
19
|
created_at: string;
|
|
20
20
|
updated_at: string;
|
|
21
21
|
}[]>;
|
|
22
|
-
export
|
|
22
|
+
export type CreateModifierResponse = {
|
|
23
23
|
modifier: {
|
|
24
24
|
details: ModifierDetail[];
|
|
25
25
|
modifier_name: string;
|
|
@@ -33,7 +33,7 @@ export declare type CreateModifierResponse = {
|
|
|
33
33
|
status: number;
|
|
34
34
|
created_at: string;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type UpdateModifierResponse = Nullable<{
|
|
37
37
|
modifier: {
|
|
38
38
|
details: ModifierDetail[];
|
|
39
39
|
modifier_name: string;
|
|
@@ -48,6 +48,6 @@ export declare type UpdateModifierResponse = Nullable<{
|
|
|
48
48
|
created_at: string;
|
|
49
49
|
updated_at: string;
|
|
50
50
|
}>;
|
|
51
|
-
export
|
|
51
|
+
export type DeleteModifierResponse = null;
|
|
52
52
|
export {};
|
|
53
53
|
//# sourceMappingURL=modifier.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/modifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"modifier.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_order_api/1.0.0/types/response/modifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,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IACF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAA"}
|
|
@@ -18,5 +18,6 @@ export default class Payroll extends Base implements PayrollAbstractClass {
|
|
|
18
18
|
static getAppListPayroll(data: Request.GetAppListPayrollRequest): Promise<Array<Response.GetAppListPayrollResponse>>;
|
|
19
19
|
static getPayrollDetail(data: Request.GetPayrollDetailRequest): Promise<Array<Response.GetPayrollDetailResponse>>;
|
|
20
20
|
static getSiteIncomeDetail(data: Request.GetSiteIncomeDetailRequest): Promise<Response.GetSiteIncomeDetailResponse>;
|
|
21
|
+
static getSalaryDetail(data: Request.GetSalaryDetailRequest): Promise<Array<Response.GetSalaryDetailResponse>>;
|
|
21
22
|
}
|
|
22
23
|
//# sourceMappingURL=payroll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/api/payroll.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,OAAO,IAAI,MAAM,uBAAuB,CAAC;AAIzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAI9C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,IAAK,YAAW,oBAAoB;IACrE,OAAc,WAAW,gBAAoB;WAEzB,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAoB7F,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAA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,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;WAU7G,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;WAS1G,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC;WAS5G,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;CAS9H"}
|
|
@@ -175,5 +175,15 @@ export default class Payroll extends Base {
|
|
|
175
175
|
return Model.GetSiteIncomeDetail((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
|
+
static getSalaryDetail(data) {
|
|
179
|
+
var _a;
|
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
+
const response = yield this.client.get({
|
|
182
|
+
path: payroll.GET_SITE_INCOME_DETAIL,
|
|
183
|
+
query: data
|
|
184
|
+
});
|
|
185
|
+
return (((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) || []).map(item => Model.GetSiteIncomeDetailModel(item));
|
|
186
|
+
});
|
|
187
|
+
}
|
|
178
188
|
}
|
|
179
189
|
Payroll.API_VERSION = GapApiVersion.V1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/endpoints/payroll.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/endpoints/payroll.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAmBC"}
|
|
@@ -15,5 +15,6 @@ export default {
|
|
|
15
15
|
GET_SALARY_CHART: "/v1/pos/payroll/site/salary-chart",
|
|
16
16
|
GET_APP_LIST_PAYROLL: '/v1/pos/payroll/site/app-list-payroll',
|
|
17
17
|
GET_PAYROLL_DETAIL: '/v1/pos/payroll/site/get-payroll-detail',
|
|
18
|
-
GET_SITE_INCOME_DETAIL: '/v1/pos/payroll/site/income-detail'
|
|
18
|
+
GET_SITE_INCOME_DETAIL: '/v1/pos/payroll/site/income-detail',
|
|
19
|
+
GET_SALARY_DETAIL: '/v1/pos/payroll/site/get-salary-detail'
|
|
19
20
|
};
|
|
@@ -17,5 +17,6 @@ export default abstract class Payroll {
|
|
|
17
17
|
static getSalaryChart: (data: Request.GetSalaryChartRequest) => Promise<Response.GetSalaryChartResponse>;
|
|
18
18
|
static getAppListPayroll: (data: Request.GetAppListPayrollRequest) => Promise<Array<Response.GetAppListPayrollResponse>>;
|
|
19
19
|
static getPayrollDetail: (data: Request.GetPayrollDetailRequest) => Promise<Array<Response.GetPayrollDetailResponse>>;
|
|
20
|
+
static getSalaryDetail: (data: Request.GetSalaryDetailRequest) => Promise<Array<Response.GetSalaryDetailResponse>>;
|
|
20
21
|
}
|
|
21
22
|
//# sourceMappingURL=payroll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/interfaces/payroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,OAAO;IACjC,OAAc,cAAc,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,KAAK,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAChH,OAAc,iBAAiB,EAAE,CAAC,IAAI,EAAE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O,CAAC,KAAK,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,CAAC;IAC7H,OAAc,eAAe,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,sBAAsB,KAAK,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,CAAC;CAC7H"}
|
|
@@ -7,4 +7,5 @@ export declare function IncomeModel(data: any): Response.GetIncomeDetailResponse
|
|
|
7
7
|
export declare function ApprovePayrollModel(data: any): Response.GetApprovePayrollResponse;
|
|
8
8
|
export declare function SalaryChartModel(data: any): Response.GetSalaryChartResponse;
|
|
9
9
|
export declare function GetSiteIncomeDetail(data: any): Response.GetSiteIncomeDetailResponse;
|
|
10
|
+
export declare function GetSiteIncomeDetailModel(data: any): Response.GetSalaryDetailResponse;
|
|
10
11
|
//# sourceMappingURL=payroll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/payroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AA4B7C,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CA4BvE;AAcD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CA0B/E;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,yBAAyB,CAQjF;AAaD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAS3F;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/payroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AA4B7C,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CA4BvE;AAcD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CA0B/E;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,yBAAyB,CAQjF;AAaD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAS3F;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,uBAAuB,CAqCvE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,yBAAyB,CA6BjF;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAY3E;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,2BAA2B,CA2DnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,uBAAuB,CAUpF"}
|
|
@@ -124,7 +124,7 @@ export function CashDisCountSettingModel(data) {
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
export function IncomeModel(data) {
|
|
127
|
-
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;
|
|
127
|
+
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;
|
|
128
128
|
return {
|
|
129
129
|
employee: {
|
|
130
130
|
user_id: (_b = (_a = data === null || data === void 0 ? void 0 : data.employee) === null || _a === void 0 ? void 0 : _a.user_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -157,6 +157,8 @@ export function IncomeModel(data) {
|
|
|
157
157
|
cash_income: (_26 = (_25 = data === null || data === void 0 ? void 0 : data.total) === null || _25 === void 0 ? void 0 : _25.cash_income) !== null && _26 !== void 0 ? _26 : null,
|
|
158
158
|
check_income: (_28 = (_27 = data === null || data === void 0 ? void 0 : data.total) === null || _27 === void 0 ? void 0 : _27.check_income) !== null && _28 !== void 0 ? _28 : null,
|
|
159
159
|
total: (_30 = (_29 = data === null || data === void 0 ? void 0 : data.total) === null || _29 === void 0 ? void 0 : _29.total) !== null && _30 !== void 0 ? _30 : null,
|
|
160
|
+
salary_per_hour: (_31 = data === null || data === void 0 ? void 0 : data.salary_per_hour) !== null && _31 !== void 0 ? _31 : null,
|
|
161
|
+
working_hours: (_32 = data === null || data === void 0 ? void 0 : data.working_hours) !== null && _32 !== void 0 ? _32 : null,
|
|
160
162
|
}
|
|
161
163
|
};
|
|
162
164
|
}
|
|
@@ -270,3 +272,15 @@ export function GetSiteIncomeDetail(data) {
|
|
|
270
272
|
}
|
|
271
273
|
};
|
|
272
274
|
}
|
|
275
|
+
export function GetSiteIncomeDetailModel(data) {
|
|
276
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
277
|
+
return {
|
|
278
|
+
date: (_a = data === null || data === void 0 ? void 0 : data.date) !== null && _a !== void 0 ? _a : null,
|
|
279
|
+
salary: {
|
|
280
|
+
name: (_c = (_b = data === null || data === void 0 ? void 0 : data.salary) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : null,
|
|
281
|
+
total_salary: (_e = (_d = data === null || data === void 0 ? void 0 : data.salary) === null || _d === void 0 ? void 0 : _d.name) !== null && _e !== void 0 ? _e : null,
|
|
282
|
+
user_id: (_g = (_f = data === null || data === void 0 ? void 0 : data.salary) === null || _f === void 0 ? void 0 : _f.name) !== null && _g !== void 0 ? _g : null,
|
|
283
|
+
},
|
|
284
|
+
work_hours: (_h = data === null || data === void 0 ? void 0 : data.work_hours) !== null && _h !== void 0 ? _h : null
|
|
285
|
+
};
|
|
286
|
+
}
|
|
@@ -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"}
|