gap-nodejs-sdk 1.0.230 → 1.0.232
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 +5 -0
- 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 +40 -0
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +4 -0
- 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 +4 -0
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +1 -0
- 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 +20 -0
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +38 -15
- 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 +41 -21
- 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 +13 -13
- 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/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 +19 -19
- 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/notification.d.ts +3 -3
- 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/interfaces/order.d.ts +3 -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/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/payroll.js +7 -5
- 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 +15 -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 +28 -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 +21 -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
|
@@ -3,6 +3,7 @@ import Base from "../../../../base/Base";
|
|
|
3
3
|
import { GapApiVersion } from "../../../../base_type";
|
|
4
4
|
import * as Request from "../types/request";
|
|
5
5
|
import * as Response from "../types/response";
|
|
6
|
+
import { DataWithMetaResponse } from "../../../../types";
|
|
6
7
|
export default class Appointment extends Base implements AppointmentAbstractClass {
|
|
7
8
|
static API_VERSION: GapApiVersion;
|
|
8
9
|
static getAppointmentSpecificDateList(data: Request.GetAppointmentSpecificDateListRequest): Promise<Response.GetAppointmentSpecificDateListResponse>;
|
|
@@ -12,5 +13,9 @@ export default class Appointment extends Base implements AppointmentAbstractClas
|
|
|
12
13
|
static createAppointment(data: Request.CreateAppointmentRequest): Promise<Response.CreateAppointmentResponse>;
|
|
13
14
|
static updateAppointment(data: Request.UpdateAppointmentRequest): Promise<Response.UpdateAppointmentResponse>;
|
|
14
15
|
static dragDropUpdateAppointment(data: Request.DragDropUpdateAppointmentRequest): Promise<Response.DragDropUpdateAppointmentResponse>;
|
|
16
|
+
static getListBusinessTimeOff(data: Request.GetListBusinessTimeOffRequest): Promise<DataWithMetaResponse<Response.GetListBusinessTimeOffResponse>>;
|
|
17
|
+
static addBusinessTimeOff(data: Request.AddBusinessTimeOffRequest): Promise<Response.AddBusinessTimeOffResponse>;
|
|
18
|
+
static updateBusinessTimeOff(data: Request.UpdateBusinessTimeOffRequest): Promise<Response.UpdateBusinessTimeOffResponse>;
|
|
19
|
+
static deleteBusinessTimeOff(data: Request.DeleteListBusinessTimeOffRequest): Promise<Response.DeleteListBusinessTimeOffResponse>;
|
|
15
20
|
}
|
|
16
21
|
//# 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,MAAM,CAAC,OAAO,OAAO,WAAY,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";
|
|
5
5
|
import * as Model from "../models";
|
|
6
|
+
import { DataWithMetaModel } from "../../../../models";
|
|
7
|
+
import { BusinessTimeOffModel } from "../models";
|
|
6
8
|
export default class Appointment extends Base {
|
|
7
9
|
static getAppointmentSpecificDateList(data) {
|
|
8
10
|
var _a;
|
|
@@ -83,5 +85,43 @@ export default class Appointment extends Base {
|
|
|
83
85
|
return Model.DragDropUpdateAppointmentModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
84
86
|
});
|
|
85
87
|
}
|
|
88
|
+
static getListBusinessTimeOff(data) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const response = yield this.client.get({
|
|
91
|
+
path: appointment.GET_LIST_BUSINESS_TIME_OFF,
|
|
92
|
+
query: data
|
|
93
|
+
});
|
|
94
|
+
return DataWithMetaModel(response, Model.BusinessTimeOffModel);
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
static addBusinessTimeOff(data) {
|
|
98
|
+
var _a;
|
|
99
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
+
const response = yield this.client.post({
|
|
101
|
+
path: appointment.ADD_BUSINESS_TIME_OFF,
|
|
102
|
+
data: data
|
|
103
|
+
});
|
|
104
|
+
return BusinessTimeOffModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
static updateBusinessTimeOff(data) {
|
|
108
|
+
var _a;
|
|
109
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
const response = yield this.client.post({
|
|
111
|
+
path: appointment.UPDATE_BUSINESS_TIME_OFF,
|
|
112
|
+
data: data
|
|
113
|
+
});
|
|
114
|
+
return BusinessTimeOffModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
static deleteBusinessTimeOff(data) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
const response = yield this.client.post({
|
|
120
|
+
path: appointment.DELETE_BUSINESS_TIME_OFF,
|
|
121
|
+
data: data
|
|
122
|
+
});
|
|
123
|
+
return null;
|
|
124
|
+
});
|
|
125
|
+
}
|
|
86
126
|
}
|
|
87
127
|
Appointment.API_VERSION = GapApiVersion.V1;
|
|
@@ -6,6 +6,10 @@ declare const _default: {
|
|
|
6
6
|
CREATE_APPOINTMENT: string;
|
|
7
7
|
UPDATE_APPOINTMENT: string;
|
|
8
8
|
DRAG_DROP_UPDATE_APPOINTMENT: string;
|
|
9
|
+
GET_LIST_BUSINESS_TIME_OFF: string;
|
|
10
|
+
ADD_BUSINESS_TIME_OFF: string;
|
|
11
|
+
UPDATE_BUSINESS_TIME_OFF: string;
|
|
12
|
+
DELETE_BUSINESS_TIME_OFF: string;
|
|
9
13
|
};
|
|
10
14
|
export default _default;
|
|
11
15
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -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"}
|
|
@@ -7,4 +7,8 @@ export default {
|
|
|
7
7
|
CREATE_APPOINTMENT: "/v1/appointment/appointment/form/create",
|
|
8
8
|
UPDATE_APPOINTMENT: "/v1/appointment/appointment/form/update",
|
|
9
9
|
DRAG_DROP_UPDATE_APPOINTMENT: "/v1/appointment/appointment/form/drag-drop-update",
|
|
10
|
+
GET_LIST_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/list",
|
|
11
|
+
ADD_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/create",
|
|
12
|
+
UPDATE_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/update",
|
|
13
|
+
DELETE_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/delete",
|
|
10
14
|
};
|
|
@@ -108,4 +108,5 @@ export declare function AppointmentResourceModel(data: any): {
|
|
|
108
108
|
image_url: any;
|
|
109
109
|
};
|
|
110
110
|
export declare function AppointmentDetailModel(data: any): Response.GetAppointmentDetailResponse;
|
|
111
|
+
export declare function BusinessTimeOffModel(data: any): Response.GetListBusinessTimeOffResponse;
|
|
111
112
|
//# 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;;;;;;;EASjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA2BvF"}
|
|
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;;;;;;;EASjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA2BvF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAkBvF"}
|
|
@@ -364,3 +364,23 @@ export function AppointmentDetailModel(data) {
|
|
|
364
364
|
extra_data: (_t = data === null || data === void 0 ? void 0 : data.extra_data) !== null && _t !== void 0 ? _t : null,
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
|
+
export function BusinessTimeOffModel(data) {
|
|
368
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
369
|
+
return {
|
|
370
|
+
data: {
|
|
371
|
+
recurring_type: (_a = data === null || data === void 0 ? void 0 : data.recurring_type) !== null && _a !== void 0 ? _a : null,
|
|
372
|
+
recurring_end_date: (_b = data === null || data === void 0 ? void 0 : data.recurring_end_date) !== null && _b !== void 0 ? _b : null,
|
|
373
|
+
},
|
|
374
|
+
id: (_c = data === null || data === void 0 ? void 0 : data.id) !== null && _c !== void 0 ? _c : null,
|
|
375
|
+
start_date: (_d = data === null || data === void 0 ? void 0 : data.start_date) !== null && _d !== void 0 ? _d : null,
|
|
376
|
+
end_date: (_e = data === null || data === void 0 ? void 0 : data.end_date) !== null && _e !== void 0 ? _e : null,
|
|
377
|
+
all_day: (_f = data === null || data === void 0 ? void 0 : data.all_day) !== null && _f !== void 0 ? _f : null,
|
|
378
|
+
type: (_g = data === null || data === void 0 ? void 0 : data.type) !== null && _g !== void 0 ? _g : null,
|
|
379
|
+
staff_id: (_h = data === null || data === void 0 ? void 0 : data.staff_id) !== null && _h !== void 0 ? _h : null,
|
|
380
|
+
note: (_j = data === null || data === void 0 ? void 0 : data.note) !== null && _j !== void 0 ? _j : null,
|
|
381
|
+
created_at: (_k = data === null || data === void 0 ? void 0 : data.created_at) !== null && _k !== void 0 ? _k : null,
|
|
382
|
+
updated_at: (_l = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _l !== void 0 ? _l : null,
|
|
383
|
+
recurring: (_m = data === null || data === void 0 ? void 0 : data.recurring) !== null && _m !== void 0 ? _m : null,
|
|
384
|
+
description: (_o = data === null || data === void 0 ? void 0 : data.description) !== null && _o !== void 0 ? _o : null,
|
|
385
|
+
};
|
|
386
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetAppointmentSpecificDateListRequest = {
|
|
3
3
|
date: string;
|
|
4
4
|
appointment_id?: number;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type GetAppointmentResourceListRequest = {
|
|
7
7
|
start_time: string;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type GetAppointmentDetailRequest = {
|
|
10
10
|
id: number;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ChangeAppointmentStatusRequest = {
|
|
13
13
|
id: number;
|
|
14
14
|
status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type CreateAppointmentRequest = {
|
|
17
17
|
date: string;
|
|
18
18
|
customer: Customer | null;
|
|
19
19
|
booker: Booker | null;
|
|
@@ -21,44 +21,44 @@ export declare type CreateAppointmentRequest = {
|
|
|
21
21
|
items: Item[];
|
|
22
22
|
extra_data: ExtraData;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
type Booker = Nullable<{
|
|
25
25
|
booker_name: string;
|
|
26
26
|
booker_phone: string;
|
|
27
27
|
}>;
|
|
28
|
-
|
|
28
|
+
type Customer = Nullable<{
|
|
29
29
|
id: number;
|
|
30
30
|
full_name: string;
|
|
31
31
|
phone: string;
|
|
32
32
|
}>;
|
|
33
|
-
|
|
33
|
+
type Item = Nullable<{
|
|
34
34
|
duration: Duration;
|
|
35
35
|
staff: Staff;
|
|
36
36
|
start_time: StartTime;
|
|
37
37
|
service: Service;
|
|
38
38
|
}>;
|
|
39
|
-
|
|
39
|
+
type Duration = Nullable<{
|
|
40
40
|
text: string;
|
|
41
41
|
value: number;
|
|
42
42
|
}>;
|
|
43
|
-
|
|
43
|
+
type Staff = Nullable<{
|
|
44
44
|
user_id: number;
|
|
45
45
|
}>;
|
|
46
|
-
|
|
46
|
+
type StartTime = Nullable<{
|
|
47
47
|
value: number;
|
|
48
48
|
text: string;
|
|
49
49
|
}>;
|
|
50
|
-
|
|
50
|
+
type Service = Nullable<{
|
|
51
51
|
id: number;
|
|
52
52
|
name: string;
|
|
53
53
|
duration: number;
|
|
54
54
|
price: number;
|
|
55
55
|
}>;
|
|
56
|
-
|
|
56
|
+
type ExtraData = Nullable<{
|
|
57
57
|
highlight: number;
|
|
58
58
|
request: number;
|
|
59
59
|
no_show: number;
|
|
60
60
|
}>;
|
|
61
|
-
export
|
|
61
|
+
export type UpdateAppointmentRequest = {
|
|
62
62
|
date: string;
|
|
63
63
|
customer: Customer | null;
|
|
64
64
|
booker: Booker | null;
|
|
@@ -68,7 +68,7 @@ export declare type UpdateAppointmentRequest = {
|
|
|
68
68
|
appointment_base_id: number;
|
|
69
69
|
status: string;
|
|
70
70
|
};
|
|
71
|
-
export
|
|
71
|
+
export type DragDropUpdateAppointmentRequest = {
|
|
72
72
|
event: {
|
|
73
73
|
id: number;
|
|
74
74
|
start: string;
|
|
@@ -76,5 +76,28 @@ export declare type DragDropUpdateAppointmentRequest = {
|
|
|
76
76
|
};
|
|
77
77
|
resource: string;
|
|
78
78
|
};
|
|
79
|
+
export type GetListBusinessTimeOffRequest = {
|
|
80
|
+
filterStaffId?: number;
|
|
81
|
+
page?: number;
|
|
82
|
+
perPage?: number;
|
|
83
|
+
};
|
|
84
|
+
export type AddBusinessTimeOffRequest = {
|
|
85
|
+
staff_id?: number;
|
|
86
|
+
all_day: 0 | 1;
|
|
87
|
+
data: {
|
|
88
|
+
recurring_type: string;
|
|
89
|
+
recurring_end_date: string | null;
|
|
90
|
+
} | [];
|
|
91
|
+
type?: 0 | 1;
|
|
92
|
+
recurring: '0' | '1';
|
|
93
|
+
description: string;
|
|
94
|
+
start_date: string;
|
|
95
|
+
end_date: string;
|
|
96
|
+
};
|
|
97
|
+
export type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
|
|
98
|
+
export type DeleteListBusinessTimeOffRequest = {
|
|
99
|
+
id: number;
|
|
100
|
+
type?: number;
|
|
101
|
+
};
|
|
79
102
|
export {};
|
|
80
103
|
//# 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,MAAM,MAAM,qCAAqC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG;IAC5C,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA;AAKD,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,CAAC;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E,MAAM,MAAM,gCAAgC,GAAG;IAC3C,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,MAAM,MAAM,iCAAiC,GAAG;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetWaitListRequest = {
|
|
2
2
|
date: string;
|
|
3
3
|
};
|
|
4
|
-
export
|
|
4
|
+
export type CreateOrderRequest = {
|
|
5
5
|
appointment_id: number;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export 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,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA;AACD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export 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,MAAM,MAAM,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,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAA;AACrC,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export 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,MAAM,MAAM,8BAA8B,GAAG,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetAppointmentSpecificDateListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
resourceId: number;
|
|
5
5
|
backgroundColor: string;
|
|
@@ -23,7 +23,7 @@ export declare type GetAppointmentSpecificDateListResponse = Nullable<{
|
|
|
23
23
|
custom_service: any;
|
|
24
24
|
extra_data: string;
|
|
25
25
|
}[]>;
|
|
26
|
-
|
|
26
|
+
type Customer = Nullable<{
|
|
27
27
|
id: number;
|
|
28
28
|
first_name: any;
|
|
29
29
|
last_name: any;
|
|
@@ -59,7 +59,7 @@ declare type Customer = Nullable<{
|
|
|
59
59
|
lifetime_point: number;
|
|
60
60
|
type: string;
|
|
61
61
|
}>;
|
|
62
|
-
|
|
62
|
+
type Staff = Nullable<{
|
|
63
63
|
user_id: number;
|
|
64
64
|
name: string;
|
|
65
65
|
code: number;
|
|
@@ -77,7 +77,7 @@ declare type Staff = Nullable<{
|
|
|
77
77
|
nickname: string;
|
|
78
78
|
priority_calendar: number;
|
|
79
79
|
}>;
|
|
80
|
-
|
|
80
|
+
type Service = Nullable<{
|
|
81
81
|
id: number;
|
|
82
82
|
name: string;
|
|
83
83
|
create_at: string;
|
|
@@ -101,7 +101,7 @@ declare type Service = Nullable<{
|
|
|
101
101
|
image_path: string;
|
|
102
102
|
employee_list: EmployeeList[];
|
|
103
103
|
}>;
|
|
104
|
-
export
|
|
104
|
+
export type GetAppointmentResourceListResponse = Nullable<{
|
|
105
105
|
id: any;
|
|
106
106
|
title: string;
|
|
107
107
|
index: number;
|
|
@@ -109,12 +109,12 @@ export declare type GetAppointmentResourceListResponse = Nullable<{
|
|
|
109
109
|
businessHours: BusinessHour[];
|
|
110
110
|
image_url: string;
|
|
111
111
|
}[]>;
|
|
112
|
-
|
|
112
|
+
type BusinessHour = Nullable<{
|
|
113
113
|
daysOfWeek: number[];
|
|
114
114
|
startTime: string;
|
|
115
115
|
endTime: string;
|
|
116
116
|
}>;
|
|
117
|
-
export
|
|
117
|
+
export type GetAppointmentDetailResponse = Nullable<{
|
|
118
118
|
id: number;
|
|
119
119
|
start_time: string;
|
|
120
120
|
end_time: string;
|
|
@@ -140,14 +140,14 @@ export declare type GetAppointmentDetailResponse = Nullable<{
|
|
|
140
140
|
custom_service: any;
|
|
141
141
|
extra_data: string;
|
|
142
142
|
}>;
|
|
143
|
-
|
|
143
|
+
type Duration = Nullable<{
|
|
144
144
|
text: string;
|
|
145
145
|
value: number;
|
|
146
146
|
}>;
|
|
147
|
-
|
|
147
|
+
type EmployeeList = Nullable<{
|
|
148
148
|
employee: Employee;
|
|
149
149
|
}>;
|
|
150
|
-
|
|
150
|
+
type Employee = Nullable<{
|
|
151
151
|
name: string;
|
|
152
152
|
code: number;
|
|
153
153
|
working_hours: WorkingHour[];
|
|
@@ -166,7 +166,7 @@ declare type Employee = Nullable<{
|
|
|
166
166
|
nickname: string;
|
|
167
167
|
priority_calendar: number;
|
|
168
168
|
}>;
|
|
169
|
-
|
|
169
|
+
type WorkingHour = Nullable<{
|
|
170
170
|
id: number;
|
|
171
171
|
employee_id: number;
|
|
172
172
|
working_day: string;
|
|
@@ -179,7 +179,7 @@ declare type WorkingHour = Nullable<{
|
|
|
179
179
|
su: string;
|
|
180
180
|
is_active: number;
|
|
181
181
|
}>;
|
|
182
|
-
|
|
182
|
+
type Checkin = Nullable<{
|
|
183
183
|
id: number;
|
|
184
184
|
customer_id: number;
|
|
185
185
|
create_at: string;
|
|
@@ -201,7 +201,7 @@ declare type Checkin = Nullable<{
|
|
|
201
201
|
products: any[];
|
|
202
202
|
groups: Group[];
|
|
203
203
|
}>;
|
|
204
|
-
|
|
204
|
+
type CustomerCheckinService = Nullable<{
|
|
205
205
|
id: number;
|
|
206
206
|
checkin_id: number;
|
|
207
207
|
service_id: number;
|
|
@@ -212,13 +212,13 @@ declare type CustomerCheckinService = Nullable<{
|
|
|
212
212
|
staff: any;
|
|
213
213
|
service: Service;
|
|
214
214
|
}>;
|
|
215
|
-
|
|
215
|
+
type Group = Nullable<{
|
|
216
216
|
id: number;
|
|
217
217
|
name: string;
|
|
218
218
|
description: any;
|
|
219
219
|
status: string;
|
|
220
220
|
}>;
|
|
221
|
-
|
|
221
|
+
type History = Nullable<{
|
|
222
222
|
id: number;
|
|
223
223
|
appointment_id: number;
|
|
224
224
|
customer_id: number;
|
|
@@ -229,14 +229,14 @@ declare type History = Nullable<{
|
|
|
229
229
|
data: any;
|
|
230
230
|
created_at: string;
|
|
231
231
|
}>;
|
|
232
|
-
|
|
232
|
+
type CustomerPoint = Nullable<{
|
|
233
233
|
customer_id: number;
|
|
234
234
|
point: number;
|
|
235
235
|
created_at: any;
|
|
236
236
|
update_at: any;
|
|
237
237
|
lifetime_point: number;
|
|
238
238
|
}>;
|
|
239
|
-
|
|
239
|
+
type CheckOut = Nullable<{
|
|
240
240
|
id: number;
|
|
241
241
|
customer_id: number;
|
|
242
242
|
created_at: string;
|
|
@@ -252,10 +252,10 @@ declare type CheckOut = Nullable<{
|
|
|
252
252
|
sms_sent: number;
|
|
253
253
|
order_id: number;
|
|
254
254
|
}>;
|
|
255
|
-
export
|
|
256
|
-
export
|
|
257
|
-
export
|
|
258
|
-
export
|
|
255
|
+
export type ChangeAppointmentStatusResponse = Nullable<string>;
|
|
256
|
+
export type CreateAppointmentResponse = Nullable<number>;
|
|
257
|
+
export type UpdateAppointmentResponse = Nullable<number>;
|
|
258
|
+
export type DragDropUpdateAppointmentResponse = Nullable<{
|
|
259
259
|
id: number;
|
|
260
260
|
created_at: string;
|
|
261
261
|
updated_at: string;
|
|
@@ -289,5 +289,25 @@ export declare type DragDropUpdateAppointmentResponse = Nullable<{
|
|
|
289
289
|
custom_service: any;
|
|
290
290
|
extra_data: string;
|
|
291
291
|
}>;
|
|
292
|
+
export type GetListBusinessTimeOffResponse = Nullable<{
|
|
293
|
+
data: {
|
|
294
|
+
recurring_type: string;
|
|
295
|
+
recurring_end_date: string;
|
|
296
|
+
};
|
|
297
|
+
id: number;
|
|
298
|
+
start_date: string;
|
|
299
|
+
end_date: string;
|
|
300
|
+
all_day: number;
|
|
301
|
+
type: number;
|
|
302
|
+
staff_id: number;
|
|
303
|
+
note: string;
|
|
304
|
+
created_at: string;
|
|
305
|
+
updated_at: string;
|
|
306
|
+
recurring: string;
|
|
307
|
+
description: string;
|
|
308
|
+
}>;
|
|
309
|
+
export type AddBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
|
|
310
|
+
export type UpdateBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
|
|
311
|
+
export type DeleteListBusinessTimeOffResponse = null;
|
|
292
312
|
export {};
|
|
293
313
|
//# 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":"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/response/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,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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,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,8BAA8B,CAAC;AACxE,MAAM,MAAM,6BAA6B,GAAG,8BAA8B,CAAC;AAC3E,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetAppointmentCustomerListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
full_name: string;
|
|
5
5
|
phone: string;
|
|
@@ -16,7 +16,7 @@ export declare type GetAppointmentCustomerListResponse = Nullable<{
|
|
|
16
16
|
groups: Group[];
|
|
17
17
|
checkin_count: string;
|
|
18
18
|
}>;
|
|
19
|
-
|
|
19
|
+
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,MAAM,MAAM,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,KAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
|