gap-nodejs-sdk 1.0.331 → 1.0.332
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 +26 -26
- 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 +35 -35
- 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/api/checkin.d.ts +12 -0
- package/dist/api/go_check_in_api/1.0.0/api/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/api/checkin.js +38 -0
- package/dist/api/go_check_in_api/1.0.0/api/index.d.ts +1 -0
- package/dist/api/go_check_in_api/1.0.0/api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/index.js +1 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts +7 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.js +5 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +1 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.js +1 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts +3 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts +152 -0
- package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/models/checkin.js +287 -0
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +1 -0
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.js +1 -0
- 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 +14 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.js +1 -0
- 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/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/index.d.ts +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/index.js +1 -0
- 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/service.d.ts +6 -6
- 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 +278 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.js +1 -0
- 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/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/index.d.ts +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/index.js +1 -0
- 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/service.d.ts +9 -9
- 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 +2 -2
- 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_check_in_api/index.d.ts +1 -0
- package/dist/api/go_check_in_api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/index.js +1 -0
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +12 -12
- 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/gift_card.d.ts +2 -2
- 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 +13 -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/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 +35 -35
- 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/gift_card.d.ts +1 -1
- 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 +19 -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/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 +1 -1
- 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 +1 -1
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_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_check_in_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC;AAEhD,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CAAC;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;QAClB,MAAM,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,WAAW,EAAE,GAAG,CAAA;IAChB,SAAS,EAAE,GAAG,CAAA;IACd,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;CAClB,EAAE,CAAC,CAAA;AAEJ,MAAM,MAAM,6BAA6B,GAAG,QAAQ,CAAC;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;QAClB,MAAM,EAAE,MAAM,CAAA;KACjB,CAAA;CACJ,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC;AAEjD,MAAM,MAAM,6BAA6B,GAAG,6BAA6B,CAAA"}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { Nullable } from "src/base_type";
|
|
2
|
+
export type GetCheckinListResponse = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
create_at: string;
|
|
6
|
+
status: number;
|
|
7
|
+
update_at: string;
|
|
8
|
+
attachment: any;
|
|
9
|
+
type: any;
|
|
10
|
+
show_on_wait_list: number;
|
|
11
|
+
counter: number;
|
|
12
|
+
number_checkin: number;
|
|
13
|
+
customer: Customer;
|
|
14
|
+
customer_point: CustomerPoint;
|
|
15
|
+
check_out: CheckOut;
|
|
16
|
+
promotions: Promotions[];
|
|
17
|
+
services: Services[];
|
|
18
|
+
staffs: Staffs[];
|
|
19
|
+
rewards: any[];
|
|
20
|
+
customer_checkin_services: CustomerCheckinServices[];
|
|
21
|
+
products: any[];
|
|
22
|
+
groups: Group[];
|
|
23
|
+
}>;
|
|
24
|
+
type Customer = Nullable<{
|
|
25
|
+
id: number;
|
|
26
|
+
first_name: any;
|
|
27
|
+
last_name: any;
|
|
28
|
+
full_name: string;
|
|
29
|
+
phone: string;
|
|
30
|
+
email: any;
|
|
31
|
+
address: any;
|
|
32
|
+
city: any;
|
|
33
|
+
state: any;
|
|
34
|
+
country: any;
|
|
35
|
+
gender: any;
|
|
36
|
+
birthday: any;
|
|
37
|
+
create_at: string;
|
|
38
|
+
update_at: string;
|
|
39
|
+
status: any;
|
|
40
|
+
group_id: any;
|
|
41
|
+
note: any;
|
|
42
|
+
parent_id: number;
|
|
43
|
+
rating: any;
|
|
44
|
+
is_yelp: any;
|
|
45
|
+
reachable_email: number;
|
|
46
|
+
reachable_push: number;
|
|
47
|
+
reachable_sms: number;
|
|
48
|
+
visit_count: number;
|
|
49
|
+
last_visited: string;
|
|
50
|
+
image_url: any;
|
|
51
|
+
address2: any;
|
|
52
|
+
postal_code: any;
|
|
53
|
+
is_send_sms: number;
|
|
54
|
+
is_import: number;
|
|
55
|
+
is_checked_in: number;
|
|
56
|
+
is_blocked_from_booking: any;
|
|
57
|
+
source: any;
|
|
58
|
+
current_point: number;
|
|
59
|
+
lifetime_point: number;
|
|
60
|
+
type: string;
|
|
61
|
+
yelp: any;
|
|
62
|
+
last_review: any;
|
|
63
|
+
review_type: string;
|
|
64
|
+
}>;
|
|
65
|
+
type CustomerPoint = Nullable<{
|
|
66
|
+
customer_id: number;
|
|
67
|
+
point: number;
|
|
68
|
+
created_at: string;
|
|
69
|
+
update_at: string;
|
|
70
|
+
lifetime_point: number;
|
|
71
|
+
}>;
|
|
72
|
+
type CheckOut = Nullable<{
|
|
73
|
+
id: number;
|
|
74
|
+
customer_id: number;
|
|
75
|
+
created_at: string;
|
|
76
|
+
update_at: string;
|
|
77
|
+
owner_id: number;
|
|
78
|
+
checkin_id: number;
|
|
79
|
+
status: string;
|
|
80
|
+
note: any;
|
|
81
|
+
total_price: string;
|
|
82
|
+
discount: any;
|
|
83
|
+
user_id: any;
|
|
84
|
+
point_bonus: number;
|
|
85
|
+
sms_sent: number;
|
|
86
|
+
order_id: number;
|
|
87
|
+
}>;
|
|
88
|
+
type Promotions = Nullable<{
|
|
89
|
+
id: number;
|
|
90
|
+
campaign_id: number;
|
|
91
|
+
code: string;
|
|
92
|
+
customer_id: number;
|
|
93
|
+
created_at: string;
|
|
94
|
+
updated_at: any;
|
|
95
|
+
is_used: number;
|
|
96
|
+
expired_date: string;
|
|
97
|
+
limit_used: number;
|
|
98
|
+
total_used: number;
|
|
99
|
+
}>;
|
|
100
|
+
type Services = Nullable<{
|
|
101
|
+
id: number;
|
|
102
|
+
name: string;
|
|
103
|
+
price?: number;
|
|
104
|
+
}>;
|
|
105
|
+
type Staffs = Nullable<{
|
|
106
|
+
user_id: number;
|
|
107
|
+
name: string;
|
|
108
|
+
color_code: string;
|
|
109
|
+
image_url: any;
|
|
110
|
+
}>;
|
|
111
|
+
type CustomerCheckinServices = Nullable<{
|
|
112
|
+
id: number;
|
|
113
|
+
checkin_id: number;
|
|
114
|
+
service_id: number;
|
|
115
|
+
created_at: any;
|
|
116
|
+
updated_at: any;
|
|
117
|
+
staff_id: any;
|
|
118
|
+
price: any;
|
|
119
|
+
staff: any;
|
|
120
|
+
service: {
|
|
121
|
+
id: number;
|
|
122
|
+
name: string;
|
|
123
|
+
price?: number;
|
|
124
|
+
};
|
|
125
|
+
}>;
|
|
126
|
+
type Group = Nullable<{
|
|
127
|
+
id: number;
|
|
128
|
+
name: string;
|
|
129
|
+
description: any;
|
|
130
|
+
status: string;
|
|
131
|
+
}>;
|
|
132
|
+
export type UpdateStatusResponse = Nullable<{
|
|
133
|
+
id: number;
|
|
134
|
+
customer_id: number;
|
|
135
|
+
created_at: string;
|
|
136
|
+
update_at: string;
|
|
137
|
+
owner_id: number;
|
|
138
|
+
checkin_id: number;
|
|
139
|
+
status: string;
|
|
140
|
+
note: any;
|
|
141
|
+
total_price: string;
|
|
142
|
+
discount: any;
|
|
143
|
+
user_id: any;
|
|
144
|
+
point_bonus: number;
|
|
145
|
+
sms_sent: number;
|
|
146
|
+
order_id: number;
|
|
147
|
+
check_in: CheckIn;
|
|
148
|
+
survey: Survey;
|
|
149
|
+
staff: any;
|
|
150
|
+
customer: {
|
|
151
|
+
full_name: string;
|
|
152
|
+
phone: string;
|
|
153
|
+
email: string;
|
|
154
|
+
note: string;
|
|
155
|
+
current_point: number;
|
|
156
|
+
lifetime_point: number;
|
|
157
|
+
create_at: string;
|
|
158
|
+
type: string;
|
|
159
|
+
last_visited: string;
|
|
160
|
+
number_checkin: string;
|
|
161
|
+
yelp: any;
|
|
162
|
+
last_review: any;
|
|
163
|
+
review_type: string;
|
|
164
|
+
};
|
|
165
|
+
customer_point: {
|
|
166
|
+
customer_id: number;
|
|
167
|
+
point: number;
|
|
168
|
+
created_at: string;
|
|
169
|
+
update_at: string;
|
|
170
|
+
lifetime_point: number;
|
|
171
|
+
};
|
|
172
|
+
redeem: any[];
|
|
173
|
+
promotion: any;
|
|
174
|
+
list_redeem: any[];
|
|
175
|
+
list_promotion: any[];
|
|
176
|
+
invoice: Invoice;
|
|
177
|
+
}>;
|
|
178
|
+
type CheckIn = Nullable<{
|
|
179
|
+
id: number;
|
|
180
|
+
customer_id: number;
|
|
181
|
+
create_at: string;
|
|
182
|
+
status: number;
|
|
183
|
+
update_at: string;
|
|
184
|
+
attachment: any;
|
|
185
|
+
type: any;
|
|
186
|
+
show_on_wait_list: number;
|
|
187
|
+
services: Service[];
|
|
188
|
+
staffs: Staff[];
|
|
189
|
+
products: any[];
|
|
190
|
+
customer_checkin_services: CustomerCheckinService[];
|
|
191
|
+
}>;
|
|
192
|
+
type Service = Nullable<{
|
|
193
|
+
name: string;
|
|
194
|
+
}>;
|
|
195
|
+
type Staff = Nullable<{
|
|
196
|
+
user_id: number;
|
|
197
|
+
name: string;
|
|
198
|
+
color_code: string;
|
|
199
|
+
}>;
|
|
200
|
+
type CustomerCheckinService = Nullable<{
|
|
201
|
+
id: number;
|
|
202
|
+
checkin_id: number;
|
|
203
|
+
service_id: number;
|
|
204
|
+
created_at: any;
|
|
205
|
+
updated_at: any;
|
|
206
|
+
staff_id: any;
|
|
207
|
+
price: number;
|
|
208
|
+
staff: any;
|
|
209
|
+
service: {
|
|
210
|
+
id: number;
|
|
211
|
+
name: string;
|
|
212
|
+
price: number;
|
|
213
|
+
};
|
|
214
|
+
}>;
|
|
215
|
+
type Survey = Nullable<{
|
|
216
|
+
id: number;
|
|
217
|
+
key: string;
|
|
218
|
+
checkout_id: number;
|
|
219
|
+
created_at: string;
|
|
220
|
+
updated_at: string;
|
|
221
|
+
rating: any;
|
|
222
|
+
comment: string;
|
|
223
|
+
form_id: any;
|
|
224
|
+
sms_id: number;
|
|
225
|
+
email_id: number;
|
|
226
|
+
status: string;
|
|
227
|
+
customer_id: number;
|
|
228
|
+
}>;
|
|
229
|
+
type Invoice = Nullable<{
|
|
230
|
+
id: number;
|
|
231
|
+
checkout_id: number;
|
|
232
|
+
customer_id: number;
|
|
233
|
+
customer_name: string;
|
|
234
|
+
customer_phone: string;
|
|
235
|
+
promotion_code: any;
|
|
236
|
+
redeem_id: any;
|
|
237
|
+
total_discount: number;
|
|
238
|
+
has_tax: number;
|
|
239
|
+
tax_price: number;
|
|
240
|
+
total_before_discount: number;
|
|
241
|
+
total_after_discount: number;
|
|
242
|
+
total_after_tax: number;
|
|
243
|
+
payment_method: any;
|
|
244
|
+
employee_id: any;
|
|
245
|
+
employee_name: any;
|
|
246
|
+
status: number;
|
|
247
|
+
created_at: string;
|
|
248
|
+
updated_at: string;
|
|
249
|
+
type: string;
|
|
250
|
+
invoice_details: InvoiceDetail[];
|
|
251
|
+
}>;
|
|
252
|
+
type InvoiceDetail = Nullable<{
|
|
253
|
+
id: number;
|
|
254
|
+
invoice_id: number;
|
|
255
|
+
product_type: string;
|
|
256
|
+
product_id: number;
|
|
257
|
+
product_name: string;
|
|
258
|
+
description: any;
|
|
259
|
+
duration: number;
|
|
260
|
+
product_price: number;
|
|
261
|
+
quantity: number;
|
|
262
|
+
promotion_code: any;
|
|
263
|
+
discount_price: number;
|
|
264
|
+
has_tax: number;
|
|
265
|
+
tax_price: number;
|
|
266
|
+
total_after_tax: number;
|
|
267
|
+
total_before_discount: number;
|
|
268
|
+
total_after_discount: number;
|
|
269
|
+
detail: string;
|
|
270
|
+
payment_method: any;
|
|
271
|
+
employee_id: number;
|
|
272
|
+
employee_name: string;
|
|
273
|
+
status: number;
|
|
274
|
+
created_at: string;
|
|
275
|
+
updated_at: any;
|
|
276
|
+
}>;
|
|
277
|
+
export {};
|
|
278
|
+
//# sourceMappingURL=checkin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/checkin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,GAAG,CAAA;IACf,IAAI,EAAE,GAAG,CAAA;IACT,iBAAiB,EAAE,MAAM,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,QAAQ,CAAA;IAClB,cAAc,EAAE,aAAa,CAAA;IAC7B,SAAS,EAAE,QAAQ,CAAA;IACnB,UAAU,EAAE,UAAU,EAAE,CAAA;IACxB,QAAQ,EAAE,QAAQ,EAAE,CAAA;IACpB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,OAAO,EAAE,GAAG,EAAE,CAAA;IACd,yBAAyB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A;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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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;
|
|
@@ -21,7 +21,7 @@ declare type Customer = Nullable<{
|
|
|
21
21
|
is_blocked_from_booking: number;
|
|
22
22
|
source: string;
|
|
23
23
|
}>;
|
|
24
|
-
|
|
24
|
+
type CheckedOutBy = Nullable<{
|
|
25
25
|
user_id: number;
|
|
26
26
|
name: string;
|
|
27
27
|
code: number;
|
|
@@ -39,7 +39,7 @@ declare type CheckedOutBy = Nullable<{
|
|
|
39
39
|
nickname: string;
|
|
40
40
|
priority_calendar: string;
|
|
41
41
|
}>;
|
|
42
|
-
|
|
42
|
+
type Checkin = Nullable<{
|
|
43
43
|
id: number;
|
|
44
44
|
customer_id: number;
|
|
45
45
|
create_at: Date;
|
|
@@ -49,18 +49,18 @@ declare type Checkin = Nullable<{
|
|
|
49
49
|
type: string;
|
|
50
50
|
show_on_wait_list: number;
|
|
51
51
|
}>;
|
|
52
|
-
|
|
52
|
+
type Name = Nullable<{
|
|
53
53
|
name: string;
|
|
54
54
|
}>;
|
|
55
|
-
export
|
|
55
|
+
export type UpdateListGroupResponse = Nullable<{
|
|
56
56
|
customer_id: string;
|
|
57
57
|
group_id: string;
|
|
58
58
|
id: number;
|
|
59
59
|
}[]>;
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
60
|
+
export type GetListCustomerResponse = Customer[];
|
|
61
|
+
export type GetCustomerResponse = Customer;
|
|
62
|
+
export type UpdateCustomerCheckinResponse = Customer;
|
|
63
|
+
export type GetCustomerHistoryCheckinResponse = Nullable<{
|
|
64
64
|
checked_in_at: Date;
|
|
65
65
|
checked_out_at: Date;
|
|
66
66
|
point_added: number;
|
|
@@ -70,8 +70,8 @@ export declare type GetCustomerHistoryCheckinResponse = Nullable<{
|
|
|
70
70
|
checkout_staffs: Name[];
|
|
71
71
|
checkin: Checkin;
|
|
72
72
|
}>;
|
|
73
|
-
export
|
|
74
|
-
export
|
|
73
|
+
export type DeleteCustomersResponse = Customer[];
|
|
74
|
+
export type GetChartInfoResponse = Nullable<{
|
|
75
75
|
all: number;
|
|
76
76
|
vip: number;
|
|
77
77
|
regular: number;
|
|
@@ -81,6 +81,6 @@ export declare type GetChartInfoResponse = Nullable<{
|
|
|
81
81
|
import: number;
|
|
82
82
|
booking: number;
|
|
83
83
|
}>;
|
|
84
|
-
export
|
|
84
|
+
export type ExportMemberResponse = any;
|
|
85
85
|
export {};
|
|
86
86
|
//# 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,MA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
|
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,35 +14,35 @@ 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;
|
|
24
24
|
status: string;
|
|
25
25
|
}[]>;
|
|
26
|
-
export
|
|
27
|
-
export
|
|
26
|
+
export type GetGroupResponse = GroupCustomer[];
|
|
27
|
+
export type CreateGroupResponse = Nullable<{
|
|
28
28
|
id: number;
|
|
29
29
|
name: string;
|
|
30
30
|
status: string;
|
|
31
31
|
}>;
|
|
32
|
-
export
|
|
32
|
+
export type UpdateGroupResponse = Nullable<{
|
|
33
33
|
group: RemoveGroup;
|
|
34
34
|
customers: GroupCustomer[];
|
|
35
35
|
}>;
|
|
36
|
-
export
|
|
36
|
+
export type DeleteGroupResponse = Nullable<{
|
|
37
37
|
id: number;
|
|
38
38
|
name: string;
|
|
39
39
|
description: string;
|
|
40
40
|
status: string;
|
|
41
41
|
}>;
|
|
42
|
-
export
|
|
42
|
+
export type RemoveCustomerResponse = Nullable<{
|
|
43
43
|
group: RemoveGroup;
|
|
44
44
|
customers: GroupCustomer[];
|
|
45
45
|
}>;
|
|
46
|
-
export
|
|
46
|
+
export type GetListCustomerToAddGroupResponse = GroupCustomerDetail;
|
|
47
47
|
export {};
|
|
48
48
|
//# 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;CACjB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -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 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;
|
|
@@ -69,10 +69,10 @@ export declare type CheckInService = Nullable<{
|
|
|
69
69
|
image_base_url: any;
|
|
70
70
|
image_path: any;
|
|
71
71
|
}>;
|
|
72
|
-
export
|
|
73
|
-
export
|
|
74
|
-
export
|
|
75
|
-
export
|
|
76
|
-
export
|
|
72
|
+
export type ShortCheckInServiceResponse = null;
|
|
73
|
+
export type GetCheckInListServiceResponse = Nullable<CheckInService[]>;
|
|
74
|
+
export type UpdateCheckInServiceResponse = CheckInService;
|
|
75
|
+
export type DeleteCheckInServiceResponse = null;
|
|
76
|
+
export type CreateCheckInServiceResponse = CheckInService;
|
|
77
77
|
export {};
|
|
78
78
|
//# sourceMappingURL=service.d.ts.map
|
|
@@ -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":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,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
|