skedify-types
Version:
87 lines (82 loc) • 2.88 kB
JavaScript
// src/resources/appointment.ts
var AppointmentStateEnum = /* @__PURE__ */ ((AppointmentStateEnum2) => {
AppointmentStateEnum2["ACCEPTED"] = "accepted";
AppointmentStateEnum2["INCOMING"] = "incoming";
AppointmentStateEnum2["OUTGOING"] = "outgoing";
AppointmentStateEnum2["COMPLETED"] = "completed";
AppointmentStateEnum2["CANCELLED"] = "cancelled";
AppointmentStateEnum2["OCCURRED"] = "occurred";
return AppointmentStateEnum2;
})(AppointmentStateEnum || {});
var AppointmentUserType = /* @__PURE__ */ ((AppointmentUserType2) => {
AppointmentUserType2["CUSTOMER"] = "customer";
AppointmentUserType2["EMPLOYEE"] = "employee";
return AppointmentUserType2;
})(AppointmentUserType || {});
var ApplicationType = /* @__PURE__ */ ((ApplicationType2) => {
ApplicationType2["WEB_APP"] = "Skedify_Web_Application";
ApplicationType2["PLUGIN"] = "Skedify_Plugin";
ApplicationType2["PBA_BOOKING"] = "Skedify_PBA_booking";
ApplicationType2["PBA_SELF_SERVICE"] = "Skedify_PBA_selfservice";
return ApplicationType2;
})(ApplicationType || {});
// src/resources/employees.ts
var State = /* @__PURE__ */ ((State2) => {
State2[State2["PENDING"] = 0] = "PENDING";
State2[State2["SUSPENDED"] = 4] = "SUSPENDED";
State2[State2["ACTIVE"] = 8] = "ACTIVE";
return State2;
})(State || {});
// src/resources/enterpriseSettings.ts
var WebAppCustomerBehaviour = /* @__PURE__ */ ((WebAppCustomerBehaviour2) => {
WebAppCustomerBehaviour2["ENABLED"] = "enabled";
WebAppCustomerBehaviour2["DISABLED"] = "disabled";
return WebAppCustomerBehaviour2;
})(WebAppCustomerBehaviour || {});
// src/resources/subject.ts
var MeetingTypeEnum = /* @__PURE__ */ ((MeetingTypeEnum2) => {
MeetingTypeEnum2["OFFICE"] = "office";
MeetingTypeEnum2["ON_LOCATION"] = "on_location";
MeetingTypeEnum2["PHONE"] = "phone";
MeetingTypeEnum2["VIDEO"] = "video";
return MeetingTypeEnum2;
})(MeetingTypeEnum || {});
var QuestionDataTypeEnum = {
FINAL_REMARKS: "final_remarks",
TEXT: "text",
NUMBER: "number",
WEBSITE: "website"
};
var QuestionInputTypeEnum = {
TEXT_AREA: "text_area",
TEXT_FIELD: "text_field",
CHECK_BOXES: "check_boxes",
RADIO_BUTTONS: "radio_buttons"
};
var QuestionTypeEnum = {
LONG_TEXT: "long_text",
SHORT_TEXT: "short_text",
SELECT: "select",
NUMBER: "number"
};
// src/utils.ts
var DateFormat = /* @__PURE__ */ ((DateFormat2) => {
DateFormat2["HOURS_MINUTES"] = "HH:mm";
DateFormat2["DATE"] = "yyyy-MM-dd";
DateFormat2["DATE_TIME"] = "yyyy-MM-dd'T'HH:mm:ssxxx";
DateFormat2["DATE_WRITTEN"] = "E dd MMM yyyy";
DateFormat2["DATE_TIME_WRITTEN"] = "E dd MMM yyyy - HH:mm";
return DateFormat2;
})(DateFormat || {});
export {
ApplicationType,
AppointmentStateEnum,
AppointmentUserType,
DateFormat,
MeetingTypeEnum,
QuestionDataTypeEnum,
QuestionInputTypeEnum,
QuestionTypeEnum,
State,
WebAppCustomerBehaviour
};