gap-nodejs-sdk 1.0.254 → 1.0.256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/appointment_api/1.0.0/api/appointment.d.ts +0 -1
- package/dist/api/appointment_api/1.0.0/api/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/api/appointment.js +0 -9
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +0 -1
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.js +0 -1
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +19 -22
- 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 +25 -26
- 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/index.d.ts +0 -1
- 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 +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +0 -1
- 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 +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +0 -1
- 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 +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.js +1 -2
- 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/customer.d.ts +2 -2
- 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/index.d.ts +0 -1
- 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 +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +4 -4
- 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/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/customer.d.ts +2 -2
- 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/index.d.ts +0 -1
- 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 +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +3 -10
- 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 +0 -1
- package/dist/api/go_check_in_api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/index.js +0 -1
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/order.js +20 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/endpoints/order.js +2 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +2 -2
- 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 +11 -11
- 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 +2 -2
- 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 +29 -15
- 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 +34 -34
- 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 +6 -6
- 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 +30 -28
- 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/gap-sdk.js +1 -1
- package/dist/http_client/http_client.d.ts.map +1 -1
- package/dist/http_client/http_client.js +2 -3
- 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/dist/utils/form-data.d.ts.map +1 -1
- package/dist/utils/form-data.js +0 -2
- package/package.json +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/business.d.ts +0 -12
- package/dist/api/go_check_in_api/1.0.0/api/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/api/business.js +0 -40
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.d.ts +0 -7
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.js +0 -5
- package/dist/api/go_check_in_api/1.0.0/models/business.d.ts +0 -42
- package/dist/api/go_check_in_api/1.0.0/models/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/business.js +0 -47
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts +0 -27
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/business.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +0 -44
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/business.js +0 -1
|
@@ -8,7 +8,6 @@ export default class Appointment extends Base implements AppointmentAbstractClas
|
|
|
8
8
|
static API_VERSION: GapApiVersion;
|
|
9
9
|
static getAppointmentSpecificDateList(data: Request.GetAppointmentSpecificDateListRequest): Promise<Response.GetAppointmentSpecificDateListResponse>;
|
|
10
10
|
static getAppointmentResourceList(data: Request.GetAppointmentResourceListRequest): Promise<Response.GetAppointmentResourceListResponse>;
|
|
11
|
-
static searchAppointment(data: Request.SearchAppointmentRequest): Promise<DataWithMetaResponse<Response.SearchAppointmentReponse>>;
|
|
12
11
|
static getAppointmentDetail(data: Request.GetAppointmentDetailRequest): Promise<Response.GetAppointmentDetailResponse>;
|
|
13
12
|
static changeAppointmentStatus(data: Request.ChangeAppointmentStatusRequest): Promise<Response.ChangeAppointmentStatusResponse>;
|
|
14
13
|
static createAppointment(data: Request.CreateAppointmentRequest): Promise<Response.CreateAppointmentResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/api/appointment.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,2BAA2B,CAAC;AACjE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9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,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;WAUtG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;WAUtG,yBAAyB,CAAC,IAAI,EAAE,OAAO,CAAC,gCAAgC,GAAG,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAAC;WAU9H,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC;WAU3I,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,yBAAyB,GAAG,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC;WAUzG,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WAUlH,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;CASzI"}
|
|
@@ -26,15 +26,6 @@ export default class Appointment extends Base {
|
|
|
26
26
|
return (((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) || []).map((item) => Model.AppointmentResourceModel(item));
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
static searchAppointment(data) {
|
|
30
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
-
const response = yield this.client.get({
|
|
32
|
-
path: appointment.SEARCH_APPOINTMENT,
|
|
33
|
-
query: data
|
|
34
|
-
});
|
|
35
|
-
return DataWithMetaModel(response, Model.AppointmentDetailModel);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
29
|
// public static async getAppointmentList(data: Request.GetAppointmentListRequest): Promise<Response.GetAppointmentListResponse> {
|
|
39
30
|
// const response = await this.client.get(
|
|
40
31
|
// {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/endpoints/appointment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/endpoints/appointment.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,wBAaC"}
|
|
@@ -11,5 +11,4 @@ export default {
|
|
|
11
11
|
ADD_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/create",
|
|
12
12
|
UPDATE_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/update",
|
|
13
13
|
DELETE_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/delete",
|
|
14
|
-
SEARCH_APPOINTMENT: "/v1/appointment/appointment/list/search"
|
|
15
14
|
};
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetAppointmentSpecificDateListRequest = {
|
|
2
|
+
export declare type GetAppointmentSpecificDateListRequest = {
|
|
3
3
|
date: string;
|
|
4
4
|
appointment_id?: number;
|
|
5
5
|
};
|
|
6
|
-
export type GetAppointmentResourceListRequest = {
|
|
6
|
+
export declare type GetAppointmentResourceListRequest = {
|
|
7
7
|
start_time: string;
|
|
8
8
|
};
|
|
9
|
-
export type
|
|
10
|
-
keywords: string;
|
|
11
|
-
};
|
|
12
|
-
export type GetAppointmentDetailRequest = {
|
|
9
|
+
export declare type GetAppointmentDetailRequest = {
|
|
13
10
|
id: number;
|
|
14
11
|
};
|
|
15
|
-
export type ChangeAppointmentStatusRequest = {
|
|
12
|
+
export declare type ChangeAppointmentStatusRequest = {
|
|
16
13
|
id: number;
|
|
17
14
|
status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
|
|
18
15
|
};
|
|
19
|
-
export type CreateAppointmentRequest = {
|
|
16
|
+
export declare type CreateAppointmentRequest = {
|
|
20
17
|
date: string;
|
|
21
18
|
customer: Customer | null;
|
|
22
19
|
booker: Booker | null;
|
|
@@ -24,44 +21,44 @@ export type CreateAppointmentRequest = {
|
|
|
24
21
|
items: Item[];
|
|
25
22
|
extra_data: ExtraData;
|
|
26
23
|
};
|
|
27
|
-
type Booker = Nullable<{
|
|
24
|
+
declare type Booker = Nullable<{
|
|
28
25
|
booker_name: string;
|
|
29
26
|
booker_phone: string;
|
|
30
27
|
}>;
|
|
31
|
-
type Customer = Nullable<{
|
|
28
|
+
declare type Customer = Nullable<{
|
|
32
29
|
id: number;
|
|
33
30
|
full_name: string;
|
|
34
31
|
phone: string;
|
|
35
32
|
}>;
|
|
36
|
-
type Item = Nullable<{
|
|
33
|
+
declare type Item = Nullable<{
|
|
37
34
|
duration: Duration;
|
|
38
35
|
staff: Staff;
|
|
39
36
|
start_time: StartTime;
|
|
40
37
|
service: Service;
|
|
41
38
|
}>;
|
|
42
|
-
type Duration = Nullable<{
|
|
39
|
+
declare type Duration = Nullable<{
|
|
43
40
|
text: string;
|
|
44
41
|
value: number;
|
|
45
42
|
}>;
|
|
46
|
-
type Staff = Nullable<{
|
|
43
|
+
declare type Staff = Nullable<{
|
|
47
44
|
user_id: number;
|
|
48
45
|
}>;
|
|
49
|
-
type StartTime = Nullable<{
|
|
46
|
+
declare type StartTime = Nullable<{
|
|
50
47
|
value: number;
|
|
51
48
|
text: string;
|
|
52
49
|
}>;
|
|
53
|
-
type Service = Nullable<{
|
|
50
|
+
declare type Service = Nullable<{
|
|
54
51
|
id: number;
|
|
55
52
|
name: string;
|
|
56
53
|
duration: number;
|
|
57
54
|
price: number;
|
|
58
55
|
}>;
|
|
59
|
-
type ExtraData = Nullable<{
|
|
56
|
+
declare type ExtraData = Nullable<{
|
|
60
57
|
highlight: number;
|
|
61
58
|
request: number;
|
|
62
59
|
no_show: number;
|
|
63
60
|
}>;
|
|
64
|
-
export type UpdateAppointmentRequest = {
|
|
61
|
+
export declare type UpdateAppointmentRequest = {
|
|
65
62
|
date: string;
|
|
66
63
|
customer: Customer | null;
|
|
67
64
|
booker: Booker | null;
|
|
@@ -71,7 +68,7 @@ export type UpdateAppointmentRequest = {
|
|
|
71
68
|
appointment_base_id: number;
|
|
72
69
|
status: string;
|
|
73
70
|
};
|
|
74
|
-
export type DragDropUpdateAppointmentRequest = {
|
|
71
|
+
export declare type DragDropUpdateAppointmentRequest = {
|
|
75
72
|
event: {
|
|
76
73
|
id: number;
|
|
77
74
|
start: string;
|
|
@@ -79,13 +76,13 @@ export type DragDropUpdateAppointmentRequest = {
|
|
|
79
76
|
};
|
|
80
77
|
resource: string;
|
|
81
78
|
};
|
|
82
|
-
export type GetListBusinessTimeOffRequest = {
|
|
79
|
+
export declare type GetListBusinessTimeOffRequest = {
|
|
83
80
|
filterType?: number;
|
|
84
81
|
filterStaffId?: number;
|
|
85
82
|
page?: number;
|
|
86
83
|
'per-page'?: number;
|
|
87
84
|
};
|
|
88
|
-
export type AddBusinessTimeOffRequest = {
|
|
85
|
+
export declare type AddBusinessTimeOffRequest = {
|
|
89
86
|
staff_id?: number;
|
|
90
87
|
all_day: number;
|
|
91
88
|
data: {
|
|
@@ -98,8 +95,8 @@ export type AddBusinessTimeOffRequest = {
|
|
|
98
95
|
start_date: string;
|
|
99
96
|
end_date: string;
|
|
100
97
|
};
|
|
101
|
-
export type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
|
|
102
|
-
export type DeleteBusinessTimeOffRequest = {
|
|
98
|
+
export declare type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
|
|
99
|
+
export declare type DeleteBusinessTimeOffRequest = {
|
|
103
100
|
id: number;
|
|
104
101
|
type?: number;
|
|
105
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,qCAAqC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AACD,oBAAY,iCAAiC,GAAG;IAC5C,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA;AAKD,oBAAY,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,oBAAY,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,CAAC;CAC3D,CAAA;AACD,oBAAY,wBAAwB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;CACzB,CAAA;AACD,aAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AACF,aAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC,CAAA;AAEF,aAAK,IAAI,GAAG,QAAQ,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,KAAK,CAAA;IACZ,UAAU,EAAE,SAAS,CAAA;IACrB,OAAO,EAAE,OAAO,CAAA;CACnB,CAAC,CAAA;AAEF,a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IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,oBAAY,yBAAyB,GAAG;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACF,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;KACrC,GAAG,EAAE,CAAC;IACP,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,oBAAY,4BAA4B,GAAG,yBAAyB,CAAC;AAErE,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,oBAAY,iCAAiC,GAAG;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type GetWaitListRequest = {
|
|
1
|
+
export declare type GetWaitListRequest = {
|
|
2
2
|
date: string;
|
|
3
3
|
};
|
|
4
|
-
export type CreateOrderRequest = {
|
|
4
|
+
export declare type CreateOrderRequest = {
|
|
5
5
|
appointment_id: number;
|
|
6
6
|
};
|
|
7
|
-
export type GetAppointmentListRequest = {
|
|
7
|
+
export declare type GetAppointmentListRequest = {
|
|
8
8
|
start_time: string;
|
|
9
9
|
status?: string;
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/pos.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/pos.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA;AACD,oBAAY,kBAAkB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type GetAppointmentServiceListRequest = {};
|
|
1
|
+
export declare type GetAppointmentServiceListRequest = {};
|
|
2
2
|
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,oBAAY,gCAAgC,GAAG,EAE9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB,GAAG,EAAE,CAAA;AACrC,oBAAY,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type GetAppointmentStaffListRequest = {};
|
|
1
|
+
export declare type GetAppointmentStaffListRequest = {};
|
|
2
2
|
//# sourceMappingURL=staff.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,oBAAY,8BAA8B,GAAG,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetAppointmentSpecificDateListResponse = Nullable<{
|
|
2
|
+
export declare type GetAppointmentSpecificDateListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
resourceId: number;
|
|
5
5
|
backgroundColor: string;
|
|
@@ -23,7 +23,7 @@ export type GetAppointmentSpecificDateListResponse = Nullable<{
|
|
|
23
23
|
custom_service: any;
|
|
24
24
|
extra_data: string;
|
|
25
25
|
}[]>;
|
|
26
|
-
type Customer = Nullable<{
|
|
26
|
+
declare type Customer = Nullable<{
|
|
27
27
|
id: number;
|
|
28
28
|
first_name: any;
|
|
29
29
|
last_name: any;
|
|
@@ -59,7 +59,7 @@ type Customer = Nullable<{
|
|
|
59
59
|
lifetime_point: number;
|
|
60
60
|
type: string;
|
|
61
61
|
}>;
|
|
62
|
-
type Staff = Nullable<{
|
|
62
|
+
declare type Staff = Nullable<{
|
|
63
63
|
user_id: number;
|
|
64
64
|
name: string;
|
|
65
65
|
code: number;
|
|
@@ -77,7 +77,7 @@ type Staff = Nullable<{
|
|
|
77
77
|
nickname: string;
|
|
78
78
|
priority_calendar: number;
|
|
79
79
|
}>;
|
|
80
|
-
type Service = Nullable<{
|
|
80
|
+
declare type Service = Nullable<{
|
|
81
81
|
id: number;
|
|
82
82
|
name: string;
|
|
83
83
|
create_at: string;
|
|
@@ -101,7 +101,7 @@ type Service = Nullable<{
|
|
|
101
101
|
image_path: string;
|
|
102
102
|
employee_list: EmployeeList[];
|
|
103
103
|
}>;
|
|
104
|
-
export type GetAppointmentResourceListResponse = Nullable<{
|
|
104
|
+
export declare type GetAppointmentResourceListResponse = Nullable<{
|
|
105
105
|
id: any;
|
|
106
106
|
title: string;
|
|
107
107
|
index: number;
|
|
@@ -110,13 +110,12 @@ export type GetAppointmentResourceListResponse = Nullable<{
|
|
|
110
110
|
image_url: string;
|
|
111
111
|
status: number;
|
|
112
112
|
}[]>;
|
|
113
|
-
type BusinessHour = Nullable<{
|
|
113
|
+
declare type BusinessHour = Nullable<{
|
|
114
114
|
daysOfWeek: number[];
|
|
115
115
|
startTime: string;
|
|
116
116
|
endTime: string;
|
|
117
117
|
}>;
|
|
118
|
-
export type
|
|
119
|
-
export type GetAppointmentDetailResponse = Nullable<{
|
|
118
|
+
export declare type GetAppointmentDetailResponse = Nullable<{
|
|
120
119
|
id: number;
|
|
121
120
|
start_time: string;
|
|
122
121
|
end_time: string;
|
|
@@ -143,14 +142,14 @@ export type GetAppointmentDetailResponse = Nullable<{
|
|
|
143
142
|
extra_data: string;
|
|
144
143
|
order_id: number;
|
|
145
144
|
}>;
|
|
146
|
-
type Duration = Nullable<{
|
|
145
|
+
declare type Duration = Nullable<{
|
|
147
146
|
text: string;
|
|
148
147
|
value: number;
|
|
149
148
|
}>;
|
|
150
|
-
type EmployeeList = Nullable<{
|
|
149
|
+
declare type EmployeeList = Nullable<{
|
|
151
150
|
employee: Employee;
|
|
152
151
|
}>;
|
|
153
|
-
type Employee = Nullable<{
|
|
152
|
+
declare type Employee = Nullable<{
|
|
154
153
|
name: string;
|
|
155
154
|
code: number;
|
|
156
155
|
working_hours: WorkingHour[];
|
|
@@ -169,7 +168,7 @@ type Employee = Nullable<{
|
|
|
169
168
|
nickname: string;
|
|
170
169
|
priority_calendar: number;
|
|
171
170
|
}>;
|
|
172
|
-
type WorkingHour = Nullable<{
|
|
171
|
+
declare type WorkingHour = Nullable<{
|
|
173
172
|
id: number;
|
|
174
173
|
employee_id: number;
|
|
175
174
|
working_day: string;
|
|
@@ -182,7 +181,7 @@ type WorkingHour = Nullable<{
|
|
|
182
181
|
su: string;
|
|
183
182
|
is_active: number;
|
|
184
183
|
}>;
|
|
185
|
-
type Checkin = Nullable<{
|
|
184
|
+
declare type Checkin = Nullable<{
|
|
186
185
|
id: number;
|
|
187
186
|
customer_id: number;
|
|
188
187
|
create_at: string;
|
|
@@ -204,7 +203,7 @@ type Checkin = Nullable<{
|
|
|
204
203
|
products: any[];
|
|
205
204
|
groups: Group[];
|
|
206
205
|
}>;
|
|
207
|
-
type CustomerCheckinService = Nullable<{
|
|
206
|
+
declare type CustomerCheckinService = Nullable<{
|
|
208
207
|
id: number;
|
|
209
208
|
checkin_id: number;
|
|
210
209
|
service_id: number;
|
|
@@ -215,13 +214,13 @@ type CustomerCheckinService = Nullable<{
|
|
|
215
214
|
staff: any;
|
|
216
215
|
service: Service;
|
|
217
216
|
}>;
|
|
218
|
-
type Group = Nullable<{
|
|
217
|
+
declare type Group = Nullable<{
|
|
219
218
|
id: number;
|
|
220
219
|
name: string;
|
|
221
220
|
description: any;
|
|
222
221
|
status: string;
|
|
223
222
|
}>;
|
|
224
|
-
type History = Nullable<{
|
|
223
|
+
declare type History = Nullable<{
|
|
225
224
|
id: number;
|
|
226
225
|
appointment_id: number;
|
|
227
226
|
customer_id: number;
|
|
@@ -232,14 +231,14 @@ type History = Nullable<{
|
|
|
232
231
|
data: any;
|
|
233
232
|
created_at: string;
|
|
234
233
|
}>;
|
|
235
|
-
type CustomerPoint = Nullable<{
|
|
234
|
+
declare type CustomerPoint = Nullable<{
|
|
236
235
|
customer_id: number;
|
|
237
236
|
point: number;
|
|
238
237
|
created_at: any;
|
|
239
238
|
update_at: any;
|
|
240
239
|
lifetime_point: number;
|
|
241
240
|
}>;
|
|
242
|
-
type CheckOut = Nullable<{
|
|
241
|
+
declare type CheckOut = Nullable<{
|
|
243
242
|
id: number;
|
|
244
243
|
customer_id: number;
|
|
245
244
|
created_at: string;
|
|
@@ -255,10 +254,10 @@ type CheckOut = Nullable<{
|
|
|
255
254
|
sms_sent: number;
|
|
256
255
|
order_id: number;
|
|
257
256
|
}>;
|
|
258
|
-
export type ChangeAppointmentStatusResponse = Nullable<string>;
|
|
259
|
-
export type CreateAppointmentResponse = Nullable<number>;
|
|
260
|
-
export type UpdateAppointmentResponse = Nullable<number>;
|
|
261
|
-
export type DragDropUpdateAppointmentResponse = Nullable<{
|
|
257
|
+
export declare type ChangeAppointmentStatusResponse = Nullable<string>;
|
|
258
|
+
export declare type CreateAppointmentResponse = Nullable<number>;
|
|
259
|
+
export declare type UpdateAppointmentResponse = Nullable<number>;
|
|
260
|
+
export declare type DragDropUpdateAppointmentResponse = Nullable<{
|
|
262
261
|
id: number;
|
|
263
262
|
created_at: string;
|
|
264
263
|
updated_at: string;
|
|
@@ -292,7 +291,7 @@ export type DragDropUpdateAppointmentResponse = Nullable<{
|
|
|
292
291
|
custom_service: any;
|
|
293
292
|
extra_data: string;
|
|
294
293
|
}>;
|
|
295
|
-
export type GetListBusinessTimeOffResponse = Nullable<{
|
|
294
|
+
export declare type GetListBusinessTimeOffResponse = Nullable<{
|
|
296
295
|
data: {
|
|
297
296
|
recurring_type: string;
|
|
298
297
|
recurring_end_date: string;
|
|
@@ -309,8 +308,8 @@ export type GetListBusinessTimeOffResponse = Nullable<{
|
|
|
309
308
|
recurring: string;
|
|
310
309
|
description: string;
|
|
311
310
|
}>;
|
|
312
|
-
export type AddBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
|
|
313
|
-
export type UpdateBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
|
|
314
|
-
export type DeleteBusinessTimeOffResponse = null;
|
|
311
|
+
export declare type AddBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
|
|
312
|
+
export declare type UpdateBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
|
|
313
|
+
export declare type DeleteBusinessTimeOffResponse = null;
|
|
315
314
|
export {};
|
|
316
315
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/response/appointment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/response/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,sCAAsC,GAAG,QAAQ,CAAC;IAC1D,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,UAAU,EAAE,GAAG,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,GAAG,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB,EA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AAA;IACjB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAC;AACH,oBAAY,0BAA0B,GAAG,8BAA8B,CAAC;AACxE,oBAAY,6BAA6B,GAAG,8BAA8B,CAAC;AAC3E,oBAAY,6BAA6B,GAAG,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetAppointmentCustomerListResponse = Nullable<{
|
|
2
|
+
export declare type GetAppointmentCustomerListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
full_name: string;
|
|
5
5
|
phone: string;
|
|
@@ -16,7 +16,7 @@ export type GetAppointmentCustomerListResponse = Nullable<{
|
|
|
16
16
|
groups: Group[];
|
|
17
17
|
checkin_count: string;
|
|
18
18
|
}>;
|
|
19
|
-
type Group = Nullable<{
|
|
19
|
+
declare type Group = Nullable<{
|
|
20
20
|
group_id: number;
|
|
21
21
|
}>;
|
|
22
22
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_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/appointment_api/1.0.0/types/response/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,kCAAkC,GAAG,QAAQ,CAAC;IACtD,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,aAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetWaitListResponse = Nullable<{
|
|
2
|
+
export declare type GetWaitListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
customer_id: number;
|
|
5
5
|
create_at: string;
|
|
@@ -14,13 +14,13 @@ export type GetWaitListResponse = Nullable<{
|
|
|
14
14
|
appointment: any;
|
|
15
15
|
customer: Customer;
|
|
16
16
|
}[]>;
|
|
17
|
-
type Service = Nullable<{
|
|
17
|
+
declare type Service = Nullable<{
|
|
18
18
|
id: number;
|
|
19
19
|
name: string;
|
|
20
20
|
price: number;
|
|
21
21
|
duration: number;
|
|
22
22
|
}>;
|
|
23
|
-
type Order = Nullable<{
|
|
23
|
+
declare type Order = Nullable<{
|
|
24
24
|
id: number;
|
|
25
25
|
customer_id: number;
|
|
26
26
|
customer_name: string;
|
|
@@ -68,7 +68,7 @@ type Order = Nullable<{
|
|
|
68
68
|
in_service: any;
|
|
69
69
|
attachment: any;
|
|
70
70
|
}>;
|
|
71
|
-
type Customer = Nullable<{
|
|
71
|
+
declare type Customer = Nullable<{
|
|
72
72
|
id: number;
|
|
73
73
|
first_name: any;
|
|
74
74
|
last_name: any;
|
|
@@ -101,7 +101,7 @@ type Customer = Nullable<{
|
|
|
101
101
|
is_import: number;
|
|
102
102
|
is_checked_in: number;
|
|
103
103
|
}>;
|
|
104
|
-
export type CreateOrderResponse = Nullable<{
|
|
104
|
+
export declare type CreateOrderResponse = Nullable<{
|
|
105
105
|
id: number;
|
|
106
106
|
customer_id: number;
|
|
107
107
|
customer_name: string;
|
|
@@ -183,7 +183,7 @@ export type CreateOrderResponse = Nullable<{
|
|
|
183
183
|
appointment_id: number;
|
|
184
184
|
attachment: any;
|
|
185
185
|
}>;
|
|
186
|
-
type OrderCustomer = Nullable<{
|
|
186
|
+
declare type OrderCustomer = Nullable<{
|
|
187
187
|
id: number;
|
|
188
188
|
first_name: any;
|
|
189
189
|
last_name: any;
|
|
@@ -221,7 +221,7 @@ type OrderCustomer = Nullable<{
|
|
|
221
221
|
last_review: any;
|
|
222
222
|
review_type: string;
|
|
223
223
|
}>;
|
|
224
|
-
type OrderItem = Nullable<{
|
|
224
|
+
declare type OrderItem = Nullable<{
|
|
225
225
|
item_variant: any[];
|
|
226
226
|
item_modifier: any[];
|
|
227
227
|
id: number;
|
|
@@ -245,7 +245,7 @@ type OrderItem = Nullable<{
|
|
|
245
245
|
sub_total: number;
|
|
246
246
|
items: Item[];
|
|
247
247
|
}>;
|
|
248
|
-
type Item = Nullable<{
|
|
248
|
+
declare type Item = Nullable<{
|
|
249
249
|
id: number;
|
|
250
250
|
item_type: number;
|
|
251
251
|
item_id: number;
|
|
@@ -260,12 +260,12 @@ type Item = Nullable<{
|
|
|
260
260
|
additional_data: any;
|
|
261
261
|
giftcard_data: any;
|
|
262
262
|
}>;
|
|
263
|
-
type OrderService = Nullable<{
|
|
263
|
+
declare type OrderService = Nullable<{
|
|
264
264
|
staff_id: number;
|
|
265
265
|
staff_name: string;
|
|
266
266
|
items: Item2[];
|
|
267
267
|
}>;
|
|
268
|
-
type Item2 = Nullable<{
|
|
268
|
+
declare type Item2 = Nullable<{
|
|
269
269
|
item_name: string;
|
|
270
270
|
quantity: number;
|
|
271
271
|
note: any;
|
|
@@ -279,12 +279,12 @@ type Item2 = Nullable<{
|
|
|
279
279
|
commission: number;
|
|
280
280
|
cash_discount: number;
|
|
281
281
|
}>;
|
|
282
|
-
type Staff = Nullable<{
|
|
282
|
+
declare type Staff = Nullable<{
|
|
283
283
|
employee_name: string;
|
|
284
284
|
employee_image: any;
|
|
285
285
|
employee_color: string;
|
|
286
286
|
}>;
|
|
287
|
-
type OrderBatch = Nullable<{
|
|
287
|
+
declare type OrderBatch = Nullable<{
|
|
288
288
|
card_amount: number;
|
|
289
289
|
cash_amount: number;
|
|
290
290
|
check_amount: number;
|
|
@@ -300,11 +300,11 @@ type OrderBatch = Nullable<{
|
|
|
300
300
|
cash_discount: number;
|
|
301
301
|
change: number;
|
|
302
302
|
}>;
|
|
303
|
-
type CheckinStaff = Nullable<{
|
|
303
|
+
declare type CheckinStaff = Nullable<{
|
|
304
304
|
user_id: number;
|
|
305
305
|
name: string;
|
|
306
306
|
}>;
|
|
307
|
-
type Checkin = Nullable<{
|
|
307
|
+
declare type Checkin = Nullable<{
|
|
308
308
|
id: number;
|
|
309
309
|
customer_id: number;
|
|
310
310
|
create_at: string;
|
|
@@ -319,7 +319,7 @@ type Checkin = Nullable<{
|
|
|
319
319
|
appointment: Appointment;
|
|
320
320
|
customer: Customer;
|
|
321
321
|
}>;
|
|
322
|
-
type Appointment = Nullable<{
|
|
322
|
+
declare type Appointment = Nullable<{
|
|
323
323
|
id: number;
|
|
324
324
|
created_at: string;
|
|
325
325
|
updated_at: string;
|
|
@@ -353,7 +353,7 @@ type Appointment = Nullable<{
|
|
|
353
353
|
custom_service: any;
|
|
354
354
|
extra_data: string;
|
|
355
355
|
}>;
|
|
356
|
-
type Employee = Nullable<{
|
|
356
|
+
declare type Employee = Nullable<{
|
|
357
357
|
user_id: number;
|
|
358
358
|
name: string;
|
|
359
359
|
code: number;
|
|
@@ -371,7 +371,7 @@ type Employee = Nullable<{
|
|
|
371
371
|
nickname: string;
|
|
372
372
|
priority_calendar: number;
|
|
373
373
|
}>;
|
|
374
|
-
export type GetAppointmentListResponse = Nullable<{
|
|
374
|
+
export declare type GetAppointmentListResponse = Nullable<{
|
|
375
375
|
id: number;
|
|
376
376
|
resourceId: number;
|
|
377
377
|
backgroundColor: string;
|