gap-nodejs-sdk 1.0.267 → 1.0.268
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 -10
- 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 +1 -2
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +0 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.js +0 -96
- package/dist/api/appointment_api/1.0.0/models/pos.d.ts +1 -0
- package/dist/api/appointment_api/1.0.0/models/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/models/pos.js +2 -1
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +20 -23
- 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 +26 -110
- 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 +18 -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/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/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/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/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/pos_client_api/1.0.0/api/income.d.ts +0 -3
- package/dist/api/pos_client_api/1.0.0/api/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/income.js +0 -30
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts +1 -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 +10 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/income.d.ts +0 -3
- package/dist/api/pos_client_api/1.0.0/endpoints/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/endpoints/income.js +0 -3
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts +1 -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 +1 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts +1 -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/models/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/batch_history.js +1 -5
- package/dist/api/pos_client_api/1.0.0/models/check_in.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/models/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_in.js +2 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.js +2 -1
- package/dist/api/pos_client_api/1.0.0/models/income.d.ts +0 -3
- package/dist/api/pos_client_api/1.0.0/models/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/income.js +2 -39
- package/dist/api/pos_client_api/1.0.0/models/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/order.js +2 -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 -14
- 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 +28 -17
- 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 -8
- 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 -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 -31
- 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 +32 -30
- 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/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
|
@@ -18,6 +18,5 @@ export default class Appointment extends Base implements AppointmentAbstractClas
|
|
|
18
18
|
static addBusinessTimeOff(data: Request.AddBusinessTimeOffRequest): Promise<Response.AddBusinessTimeOffResponse>;
|
|
19
19
|
static updateBusinessTimeOff(data: Request.UpdateBusinessTimeOffRequest): Promise<Response.UpdateBusinessTimeOffResponse>;
|
|
20
20
|
static deleteBusinessTimeOff(data: Request.DeleteBusinessTimeOffRequest): Promise<Response.DeleteBusinessTimeOffResponse>;
|
|
21
|
-
static getAppointmentCustomerHistory(data: Request.GetAppointmentCustomerHistoryRequest): Promise<Response.GetAppointmentCustomerHistoryReponse>;
|
|
22
21
|
}
|
|
23
22
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/api/appointment.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,2BAA2B,CAAC;AACjE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AAGvD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,IAAK,YAAW,wBAAwB;IAC7E,OAAc,WAAW,gBAAoB;WAEzB,8BAA8B,CAAC,IAAI,EAAE,OAAO,CAAC,qCAAqC,GAAG,OAAO,CAAC,QAAQ,CAAC,sCAAsC,CAAC;WAU7I,0BAA0B,CAAC,IAAI,EAAE,OAAO,CAAC,iCAAiC,GAAG,OAAO,CAAC,QAAQ,CAAC,kCAAkC,CAAC;WAUjI,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;WAoB3H,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;WAU/G,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AC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;CASzI"}
|
|
@@ -132,15 +132,5 @@ export default class Appointment extends Base {
|
|
|
132
132
|
return null;
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
static getAppointmentCustomerHistory(data) {
|
|
136
|
-
var _a;
|
|
137
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
-
const response = yield this.client.get({
|
|
139
|
-
path: appointment.GET_APPOINTMENT_CUSTOMER_HISTORY,
|
|
140
|
-
query: data
|
|
141
|
-
});
|
|
142
|
-
return Model.AppointmentCustomerHistoryModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
135
|
}
|
|
146
136
|
Appointment.API_VERSION = GapApiVersion.V1;
|
|
@@ -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,wBAcC"}
|
|
@@ -11,6 +11,5 @@ 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
|
-
GET_APPOINTMENT_CUSTOMER_HISTORY: "v1/appointment/customer/list/history",
|
|
14
|
+
SEARCH_APPOINTMENT: "/v1/appointment/appointment/list/search"
|
|
16
15
|
};
|
|
@@ -114,5 +114,4 @@ export declare function AppointmentResourceModel(data: any): {
|
|
|
114
114
|
};
|
|
115
115
|
export declare function AppointmentDetailModel(data: any): Response.GetAppointmentDetailResponse;
|
|
116
116
|
export declare function BusinessTimeOffModel(data: any): Response.GetListBusinessTimeOffResponse;
|
|
117
|
-
export declare function AppointmentCustomerHistoryModel(data: any): Response.GetAppointmentCustomerHistoryReponse;
|
|
118
117
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;EAcjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA4BvF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAkBvF
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;EAcjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA4BvF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAkBvF"}
|
|
@@ -390,99 +390,3 @@ export function BusinessTimeOffModel(data) {
|
|
|
390
390
|
description: (_q = data === null || data === void 0 ? void 0 : data.description) !== null && _q !== void 0 ? _q : null,
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
function AppointmentModel(data) {
|
|
394
|
-
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;
|
|
395
|
-
return {
|
|
396
|
-
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
397
|
-
created_at: (_b = data === null || data === void 0 ? void 0 : data.created_at) !== null && _b !== void 0 ? _b : null,
|
|
398
|
-
updated_at: (_c = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _c !== void 0 ? _c : null,
|
|
399
|
-
booker_name: (_d = data === null || data === void 0 ? void 0 : data.booker_name) !== null && _d !== void 0 ? _d : null,
|
|
400
|
-
booker_contact: (_e = data === null || data === void 0 ? void 0 : data.booker_contact) !== null && _e !== void 0 ? _e : null,
|
|
401
|
-
customer_id: (_f = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _f !== void 0 ? _f : null,
|
|
402
|
-
employee_id: (_g = data === null || data === void 0 ? void 0 : data.employee_id) !== null && _g !== void 0 ? _g : null,
|
|
403
|
-
service_id: (_h = data === null || data === void 0 ? void 0 : data.service_id) !== null && _h !== void 0 ? _h : null,
|
|
404
|
-
start_time: (_j = data === null || data === void 0 ? void 0 : data.start_time) !== null && _j !== void 0 ? _j : null,
|
|
405
|
-
end_time_expected: (_k = data === null || data === void 0 ? void 0 : data.end_time_expected) !== null && _k !== void 0 ? _k : null,
|
|
406
|
-
end_time: (_l = data === null || data === void 0 ? void 0 : data.end_time) !== null && _l !== void 0 ? _l : null,
|
|
407
|
-
price_expected: (_m = data === null || data === void 0 ? void 0 : data.price_expected) !== null && _m !== void 0 ? _m : null,
|
|
408
|
-
price_full: (_o = data === null || data === void 0 ? void 0 : data.price_full) !== null && _o !== void 0 ? _o : null,
|
|
409
|
-
discount: (_p = data === null || data === void 0 ? void 0 : data.discount) !== null && _p !== void 0 ? _p : null,
|
|
410
|
-
price_final: (_q = data === null || data === void 0 ? void 0 : data.price_final) !== null && _q !== void 0 ? _q : null,
|
|
411
|
-
canceled: (_r = data === null || data === void 0 ? void 0 : data.canceled) !== null && _r !== void 0 ? _r : null,
|
|
412
|
-
cancellation_resion: (_s = data === null || data === void 0 ? void 0 : data.cancellation_resion) !== null && _s !== void 0 ? _s : null,
|
|
413
|
-
status: (_t = data === null || data === void 0 ? void 0 : data.status) !== null && _t !== void 0 ? _t : null,
|
|
414
|
-
flag: (_u = data === null || data === void 0 ? void 0 : data.flag) !== null && _u !== void 0 ? _u : null,
|
|
415
|
-
note: (_v = data === null || data === void 0 ? void 0 : data.note) !== null && _v !== void 0 ? _v : null,
|
|
416
|
-
key: (_w = data === null || data === void 0 ? void 0 : data.key) !== null && _w !== void 0 ? _w : null,
|
|
417
|
-
staff_note: (_x = data === null || data === void 0 ? void 0 : data.staff_note) !== null && _x !== void 0 ? _x : null,
|
|
418
|
-
user_ip: (_y = data === null || data === void 0 ? void 0 : data.user_ip) !== null && _y !== void 0 ? _y : null,
|
|
419
|
-
parent_id: (_z = data === null || data === void 0 ? void 0 : data.parent_id) !== null && _z !== void 0 ? _z : null,
|
|
420
|
-
referer: (_0 = data === null || data === void 0 ? void 0 : data.referer) !== null && _0 !== void 0 ? _0 : null,
|
|
421
|
-
is_auto_assign: (_1 = data === null || data === void 0 ? void 0 : data.is_auto_assign) !== null && _1 !== void 0 ? _1 : null,
|
|
422
|
-
booker_email: (_2 = data === null || data === void 0 ? void 0 : data.booker_email) !== null && _2 !== void 0 ? _2 : null,
|
|
423
|
-
order_id: (_3 = data === null || data === void 0 ? void 0 : data.order_id) !== null && _3 !== void 0 ? _3 : null,
|
|
424
|
-
checkin_id: (_4 = data === null || data === void 0 ? void 0 : data.checkin_id) !== null && _4 !== void 0 ? _4 : null,
|
|
425
|
-
accept_consent_term: (_5 = data === null || data === void 0 ? void 0 : data.accept_consent_term) !== null && _5 !== void 0 ? _5 : null,
|
|
426
|
-
custom_service: (_6 = data === null || data === void 0 ? void 0 : data.custom_service) !== null && _6 !== void 0 ? _6 : null,
|
|
427
|
-
extra_data: (_7 = data === null || data === void 0 ? void 0 : data.extra_data) !== null && _7 !== void 0 ? _7 : null,
|
|
428
|
-
service: ServiceAppointmentModel(data === null || data === void 0 ? void 0 : data.service)
|
|
429
|
-
};
|
|
430
|
-
}
|
|
431
|
-
function ServiceAppointmentModel(data) {
|
|
432
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
433
|
-
return {
|
|
434
|
-
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
435
|
-
name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
|
|
436
|
-
create_at: (_c = data === null || data === void 0 ? void 0 : data.create_at) !== null && _c !== void 0 ? _c : null,
|
|
437
|
-
type: (_d = data === null || data === void 0 ? void 0 : data.type) !== null && _d !== void 0 ? _d : null,
|
|
438
|
-
status: (_e = data === null || data === void 0 ? void 0 : data.status) !== null && _e !== void 0 ? _e : null,
|
|
439
|
-
group_id: (_f = data === null || data === void 0 ? void 0 : data.group_id) !== null && _f !== void 0 ? _f : null,
|
|
440
|
-
priority: (_g = data === null || data === void 0 ? void 0 : data.priority) !== null && _g !== void 0 ? _g : null,
|
|
441
|
-
category_id: (_h = data === null || data === void 0 ? void 0 : data.category_id) !== null && _h !== void 0 ? _h : null,
|
|
442
|
-
onwer_id: (_j = data === null || data === void 0 ? void 0 : data.onwer_id) !== null && _j !== void 0 ? _j : null,
|
|
443
|
-
price: (_k = data === null || data === void 0 ? void 0 : data.price) !== null && _k !== void 0 ? _k : null,
|
|
444
|
-
note: (_l = data === null || data === void 0 ? void 0 : data.note) !== null && _l !== void 0 ? _l : null,
|
|
445
|
-
point_bonus: (_m = data === null || data === void 0 ? void 0 : data.point_bonus) !== null && _m !== void 0 ? _m : null,
|
|
446
|
-
duration: (_o = data === null || data === void 0 ? void 0 : data.duration) !== null && _o !== void 0 ? _o : null,
|
|
447
|
-
buffer_time: (_p = data === null || data === void 0 ? void 0 : data.buffer_time) !== null && _p !== void 0 ? _p : null,
|
|
448
|
-
web_booking_visible: (_q = data === null || data === void 0 ? void 0 : data.web_booking_visible) !== null && _q !== void 0 ? _q : null,
|
|
449
|
-
supply_share: (_r = data === null || data === void 0 ? void 0 : data.supply_share) !== null && _r !== void 0 ? _r : null,
|
|
450
|
-
show_on_checkin: (_s = data === null || data === void 0 ? void 0 : data.show_on_checkin) !== null && _s !== void 0 ? _s : null,
|
|
451
|
-
show_on_booking: (_t = data === null || data === void 0 ? void 0 : data.show_on_booking) !== null && _t !== void 0 ? _t : null,
|
|
452
|
-
show_on_pos: (_u = data === null || data === void 0 ? void 0 : data.show_on_pos) !== null && _u !== void 0 ? _u : null,
|
|
453
|
-
image_base_url: (_v = data === null || data === void 0 ? void 0 : data.image_base_url) !== null && _v !== void 0 ? _v : null,
|
|
454
|
-
image_path: (_w = data === null || data === void 0 ? void 0 : data.image_path) !== null && _w !== void 0 ? _w : null,
|
|
455
|
-
};
|
|
456
|
-
}
|
|
457
|
-
function CheckinAppointmentModel(data) {
|
|
458
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
459
|
-
return {
|
|
460
|
-
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
461
|
-
customer_id: (_b = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _b !== void 0 ? _b : null,
|
|
462
|
-
created_at: (_c = data === null || data === void 0 ? void 0 : data.created_at) !== null && _c !== void 0 ? _c : null,
|
|
463
|
-
update_at: (_d = data === null || data === void 0 ? void 0 : data.update_at) !== null && _d !== void 0 ? _d : null,
|
|
464
|
-
owner_id: (_e = data === null || data === void 0 ? void 0 : data.owner_id) !== null && _e !== void 0 ? _e : null,
|
|
465
|
-
checkin_id: (_f = data === null || data === void 0 ? void 0 : data.checkin_id) !== null && _f !== void 0 ? _f : null,
|
|
466
|
-
status: (_g = data === null || data === void 0 ? void 0 : data.status) !== null && _g !== void 0 ? _g : null,
|
|
467
|
-
note: (_h = data === null || data === void 0 ? void 0 : data.note) !== null && _h !== void 0 ? _h : null,
|
|
468
|
-
total_price: (_j = data === null || data === void 0 ? void 0 : data.total_price) !== null && _j !== void 0 ? _j : null,
|
|
469
|
-
discount: (_k = data === null || data === void 0 ? void 0 : data.discount) !== null && _k !== void 0 ? _k : null,
|
|
470
|
-
user_id: (_l = data === null || data === void 0 ? void 0 : data.user_id) !== null && _l !== void 0 ? _l : null,
|
|
471
|
-
point_bonus: (_m = data === null || data === void 0 ? void 0 : data.point_bonus) !== null && _m !== void 0 ? _m : null,
|
|
472
|
-
sms_sent: (_o = data === null || data === void 0 ? void 0 : data.sms_sent) !== null && _o !== void 0 ? _o : null,
|
|
473
|
-
order_id: (_p = data === null || data === void 0 ? void 0 : data.order_id) !== null && _p !== void 0 ? _p : null,
|
|
474
|
-
};
|
|
475
|
-
}
|
|
476
|
-
export function AppointmentCustomerHistoryModel(data) {
|
|
477
|
-
var _a, _b, _c, _d, _e, _f;
|
|
478
|
-
return {
|
|
479
|
-
appointment: ((data === null || data === void 0 ? void 0 : data.appointment) || []).map((item) => AppointmentModel(item)),
|
|
480
|
-
checkin: ((data === null || data === void 0 ? void 0 : data.checkin) || []).map((item) => CheckinAppointmentModel(item)),
|
|
481
|
-
full_name: (_a = data === null || data === void 0 ? void 0 : data.full_name) !== null && _a !== void 0 ? _a : null,
|
|
482
|
-
lifetime_point: (_b = data === null || data === void 0 ? void 0 : data.lifetime_point) !== null && _b !== void 0 ? _b : null,
|
|
483
|
-
phone: (_c = data === null || data === void 0 ? void 0 : data.phone) !== null && _c !== void 0 ? _c : null,
|
|
484
|
-
total_appointment: (_d = data === null || data === void 0 ? void 0 : data.total_appointment) !== null && _d !== void 0 ? _d : null,
|
|
485
|
-
total_money: (_e = data === null || data === void 0 ? void 0 : data.total_money) !== null && _e !== void 0 ? _e : null,
|
|
486
|
-
visit_count: (_f = data === null || data === void 0 ? void 0 : data.visit_count) !== null && _f !== void 0 ? _f : null,
|
|
487
|
-
};
|
|
488
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/pos.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,0BAA0B,EAAC,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/pos.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,0BAA0B,EAAC,MAAM,mBAAmB,CAAC;AA6O7D,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtC;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmFzC;AAiFD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAwBrF"}
|
|
@@ -214,7 +214,7 @@ function StaffModel(data) {
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
function OrderBatchModel(data) {
|
|
217
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
217
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
218
218
|
return {
|
|
219
219
|
card_amount: (_a = data === null || data === void 0 ? void 0 : data.card_amount) !== null && _a !== void 0 ? _a : null,
|
|
220
220
|
cash_amount: (_b = data === null || data === void 0 ? void 0 : data.cash_amount) !== null && _b !== void 0 ? _b : null,
|
|
@@ -230,6 +230,7 @@ function OrderBatchModel(data) {
|
|
|
230
230
|
total_income: (_m = data === null || data === void 0 ? void 0 : data.total_income) !== null && _m !== void 0 ? _m : null,
|
|
231
231
|
cash_discount: (_o = data === null || data === void 0 ? void 0 : data.cash_discount) !== null && _o !== void 0 ? _o : null,
|
|
232
232
|
change: (_p = data === null || data === void 0 ? void 0 : data.change) !== null && _p !== void 0 ? _p : null,
|
|
233
|
+
discount_item: (_q = data === null || data === void 0 ? void 0 : data.discount_item) !== null && _q !== void 0 ? _q : null,
|
|
233
234
|
};
|
|
234
235
|
}
|
|
235
236
|
export function WaitListModel(data) {
|
|
@@ -1,22 +1,22 @@
|
|
|
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 SearchAppointmentRequest = {
|
|
9
|
+
export declare type SearchAppointmentRequest = {
|
|
10
10
|
keywords: string;
|
|
11
11
|
};
|
|
12
|
-
export type GetAppointmentDetailRequest = {
|
|
12
|
+
export declare type GetAppointmentDetailRequest = {
|
|
13
13
|
id: number;
|
|
14
14
|
};
|
|
15
|
-
export type ChangeAppointmentStatusRequest = {
|
|
15
|
+
export declare type ChangeAppointmentStatusRequest = {
|
|
16
16
|
id: number;
|
|
17
17
|
status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
|
|
18
18
|
};
|
|
19
|
-
export type CreateAppointmentRequest = {
|
|
19
|
+
export declare type CreateAppointmentRequest = {
|
|
20
20
|
date: string;
|
|
21
21
|
customer: Customer | null;
|
|
22
22
|
booker: Booker | null;
|
|
@@ -24,44 +24,44 @@ export type CreateAppointmentRequest = {
|
|
|
24
24
|
items: Item[];
|
|
25
25
|
extra_data: ExtraData;
|
|
26
26
|
};
|
|
27
|
-
type Booker = Nullable<{
|
|
27
|
+
declare type Booker = Nullable<{
|
|
28
28
|
booker_name: string;
|
|
29
29
|
booker_phone: string;
|
|
30
30
|
}>;
|
|
31
|
-
type Customer = Nullable<{
|
|
31
|
+
declare type Customer = Nullable<{
|
|
32
32
|
id: number;
|
|
33
33
|
full_name: string;
|
|
34
34
|
phone: string;
|
|
35
35
|
}>;
|
|
36
|
-
type Item = Nullable<{
|
|
36
|
+
declare type Item = Nullable<{
|
|
37
37
|
duration: Duration;
|
|
38
38
|
staff: Staff;
|
|
39
39
|
start_time: StartTime;
|
|
40
40
|
service: Service;
|
|
41
41
|
}>;
|
|
42
|
-
type Duration = Nullable<{
|
|
42
|
+
declare type Duration = Nullable<{
|
|
43
43
|
text: string;
|
|
44
44
|
value: number;
|
|
45
45
|
}>;
|
|
46
|
-
type Staff = Nullable<{
|
|
46
|
+
declare type Staff = Nullable<{
|
|
47
47
|
user_id: number;
|
|
48
48
|
}>;
|
|
49
|
-
type StartTime = Nullable<{
|
|
49
|
+
declare type StartTime = Nullable<{
|
|
50
50
|
value: number;
|
|
51
51
|
text: string;
|
|
52
52
|
}>;
|
|
53
|
-
type Service = Nullable<{
|
|
53
|
+
declare type Service = Nullable<{
|
|
54
54
|
id: number;
|
|
55
55
|
name: string;
|
|
56
56
|
duration: number;
|
|
57
57
|
price: number;
|
|
58
58
|
}>;
|
|
59
|
-
type ExtraData = Nullable<{
|
|
59
|
+
declare type ExtraData = Nullable<{
|
|
60
60
|
highlight: number;
|
|
61
61
|
request: number;
|
|
62
62
|
no_show: number;
|
|
63
63
|
}>;
|
|
64
|
-
export type UpdateAppointmentRequest = {
|
|
64
|
+
export declare type UpdateAppointmentRequest = {
|
|
65
65
|
date: string;
|
|
66
66
|
customer: Customer | null;
|
|
67
67
|
booker: Booker | null;
|
|
@@ -71,7 +71,7 @@ export type UpdateAppointmentRequest = {
|
|
|
71
71
|
appointment_base_id: number;
|
|
72
72
|
status: string;
|
|
73
73
|
};
|
|
74
|
-
export type DragDropUpdateAppointmentRequest = {
|
|
74
|
+
export declare type DragDropUpdateAppointmentRequest = {
|
|
75
75
|
event: {
|
|
76
76
|
id: number;
|
|
77
77
|
start: string;
|
|
@@ -79,13 +79,13 @@ export type DragDropUpdateAppointmentRequest = {
|
|
|
79
79
|
};
|
|
80
80
|
resource: string;
|
|
81
81
|
};
|
|
82
|
-
export type GetListBusinessTimeOffRequest = {
|
|
82
|
+
export declare type GetListBusinessTimeOffRequest = {
|
|
83
83
|
filterType?: number;
|
|
84
84
|
filterStaffId?: number;
|
|
85
85
|
page?: number;
|
|
86
86
|
'per-page'?: number;
|
|
87
87
|
};
|
|
88
|
-
export type AddBusinessTimeOffRequest = {
|
|
88
|
+
export declare type AddBusinessTimeOffRequest = {
|
|
89
89
|
staff_id?: number;
|
|
90
90
|
all_day: number;
|
|
91
91
|
data: {
|
|
@@ -98,13 +98,10 @@ export type AddBusinessTimeOffRequest = {
|
|
|
98
98
|
start_date: string;
|
|
99
99
|
end_date: string;
|
|
100
100
|
};
|
|
101
|
-
export type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
|
|
102
|
-
export type DeleteBusinessTimeOffRequest = {
|
|
101
|
+
export declare type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
|
|
102
|
+
export declare type DeleteBusinessTimeOffRequest = {
|
|
103
103
|
id: number;
|
|
104
104
|
type?: number;
|
|
105
105
|
};
|
|
106
|
-
export type GetAppointmentCustomerHistoryRequest = {
|
|
107
|
-
id: number;
|
|
108
|
-
};
|
|
109
106
|
export {};
|
|
110
107
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -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,wBAAwB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AACD,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;IACn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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"}
|