@agendize/js-agendize-api 1.36.0 → 1.37.0
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/agendizeApi.d.ts +575 -0
- package/dist/browserStorage/browserStorage.d.ts +46 -0
- package/dist/config.d.ts +19 -0
- package/dist/data/Account.d.ts +224 -0
- package/dist/data/Activity.d.ts +529 -0
- package/dist/data/Address.d.ts +46 -0
- package/dist/data/Attendee.d.ts +59 -0
- package/dist/data/Batch.d.ts +41 -0
- package/dist/data/CRMSettings.d.ts +35 -0
- package/dist/data/Calendar.d.ts +78 -0
- package/dist/data/Changelog.d.ts +20 -0
- package/dist/data/Common.d.ts +33 -0
- package/dist/data/CommonEnum.d.ts +44 -0
- package/dist/data/Company.d.ts +170 -0
- package/dist/data/CompanyPerformance.d.ts +26 -0
- package/dist/data/CompanySettings.d.ts +29 -0
- package/dist/data/Connector.d.ts +26 -0
- package/dist/data/Consent.d.ts +4 -0
- package/dist/data/Contact.d.ts +208 -0
- package/dist/data/CustomStatus.d.ts +20 -0
- package/dist/data/Employee.d.ts +27 -0
- package/dist/data/Error.d.ts +65 -0
- package/dist/data/Event.d.ts +222 -0
- package/dist/data/EventSearch.d.ts +232 -0
- package/dist/data/EventUpdate.d.ts +9 -0
- package/dist/data/Form.d.ts +230 -0
- package/dist/data/FormResult.d.ts +61 -0
- package/dist/data/FormResultStatus.d.ts +23 -0
- package/dist/data/FreeSlot.d.ts +72 -0
- package/dist/data/Help.d.ts +18 -0
- package/dist/data/Image.d.ts +24 -0
- package/dist/data/Integration.d.ts +36 -0
- package/dist/data/Link.d.ts +10 -0
- package/dist/data/Log.d.ts +79 -0
- package/dist/data/LoginProvider.d.ts +17 -0
- package/dist/data/LoginRealm.d.ts +20 -0
- package/dist/data/Note.d.ts +27 -0
- package/dist/data/Notification.d.ts +51 -0
- package/dist/data/NotificationStatus.d.ts +5 -0
- package/dist/data/PrivacyPolicy.d.ts +43 -0
- package/dist/data/Queue.d.ts +54 -0
- package/dist/data/QueueRegistration.d.ts +101 -0
- package/dist/data/Reporting.d.ts +34 -0
- package/dist/data/ReportingExportBody.d.ts +176 -0
- package/dist/data/ReportingExportResponse.d.ts +20 -0
- package/dist/data/Rights.d.ts +140 -0
- package/dist/data/Service.d.ts +234 -0
- package/dist/data/ServiceGroup.d.ts +57 -0
- package/dist/data/ServiceResource.d.ts +26 -0
- package/dist/data/Settings.d.ts +29 -0
- package/dist/data/ShortPollingNotification.d.ts +35 -0
- package/dist/data/Shortener.d.ts +8 -0
- package/dist/data/Staff.d.ts +115 -0
- package/dist/data/StaffForms.d.ts +42 -0
- package/dist/data/StaffGroup.d.ts +58 -0
- package/dist/data/User.d.ts +84 -0
- package/dist/data/WidgetUrlCipher.d.ts +25 -0
- package/dist/data/WorkingHours.d.ts +94 -0
- package/dist/data/account/Permission.d.ts +46 -0
- package/dist/data/action/ShareLink.d.ts +55 -0
- package/dist/data/conference/Conference.d.ts +161 -0
- package/dist/data/conference/ConferenceAssignment.d.ts +194 -0
- package/dist/data/conference/ConferenceForm.d.ts +36 -0
- package/dist/data/conference/ConferenceInvitee.d.ts +31 -0
- package/dist/data/conference/ConferenceLocation.d.ts +359 -0
- package/dist/data/conference/ConferenceSpeaker.d.ts +28 -0
- package/dist/data/conference/ConferenceSubscriptionRules.d.ts +12 -0
- package/dist/data/conference/ConferenceTag.d.ts +29 -0
- package/dist/data/conference/Registration.d.ts +56 -0
- package/dist/data/conference/RegistrationCancel.d.ts +26 -0
- package/dist/data/conference/RegistrationClient.d.ts +16 -0
- package/dist/data/conference/Session.d.ts +140 -0
- package/dist/data/conference/Widget.d.ts +94 -0
- package/dist/data/crm/ClientMessage.d.ts +42 -0
- package/dist/data/dashboard/DashboardStructure.d.ts +42 -0
- package/dist/data/dashboard/KeyFigures.d.ts +9 -0
- package/dist/data/planning/Planning.d.ts +17 -0
- package/dist/data/planning/PlanningDay.d.ts +12 -0
- package/dist/data/planning/PlanningHour.d.ts +10 -0
- package/dist/data/planning/PlanningWeek.d.ts +13 -0
- package/dist/data/scheduling/Availabilities.d.ts +103 -0
- package/dist/data/scheduling/SchedulingRights.d.ts +40 -0
- package/dist/data/scheduling/WorkingPlanning.d.ts +119 -0
- package/dist/data/scheduling/schedule/CompanySchedule.d.ts +19 -0
- package/dist/data/scheduling/schedule/ScheduleWorkingHours.d.ts +18 -0
- package/dist/data/scheduling/schedule/UserSchedules.d.ts +20 -0
- package/dist/data/shortPollingNotification/ShortPollingNotificationEvent.d.ts +58 -0
- package/dist/data/shortPollingNotification/ShortPollingNotificationObject.d.ts +4 -0
- package/dist/data/shortPollingNotification/ShortPollingNotificationReport.d.ts +8 -0
- package/dist/db/DashboardStructureDb.d.ts +12 -0
- package/dist/db/calendarDb.d.ts +26 -0
- package/dist/db/calendarTeamDb.d.ts +27 -0
- package/dist/db/calendarTeamDefaultDb.d.ts +20 -0
- package/dist/db/clientMessageDb.d.ts +10 -0
- package/dist/db/companyDb.d.ts +26 -0
- package/dist/db/companySettingsDb.d.ts +11 -0
- package/dist/db/conferenceDb.d.ts +26 -0
- package/dist/db/conferenceInviteeDb.d.ts +27 -0
- package/dist/db/conferenceRegistrationDb.d.ts +11 -0
- package/dist/db/conferenceSessionDb.d.ts +27 -0
- package/dist/db/conferenceSpeakerDb.d.ts +27 -0
- package/dist/db/conferenceTagDb.d.ts +12 -0
- package/dist/db/contactDb.d.ts +26 -0
- package/dist/db/crmSettingsDb.d.ts +9 -0
- package/dist/db/customStatusDb.d.ts +13 -0
- package/dist/db/eventDb.d.ts +29 -0
- package/dist/db/externalEventDb.d.ts +26 -0
- package/dist/db/formBuilderDb.d.ts +26 -0
- package/dist/db/icsEventDb.d.ts +25 -0
- package/dist/db/index.d.ts +74 -0
- package/dist/db/noteDb.d.ts +27 -0
- package/dist/db/notificationDb.d.ts +9 -0
- package/dist/db/notificationStatusDb.d.ts +26 -0
- package/dist/db/planningDb.d.ts +27 -0
- package/dist/db/privacyPolicyDb.d.ts +24 -0
- package/dist/db/promoteFieldDb.d.ts +9 -0
- package/dist/db/queueDb.d.ts +27 -0
- package/dist/db/rightsDb.d.ts +25 -0
- package/dist/db/serviceDb.d.ts +28 -0
- package/dist/db/serviceGroupDb.d.ts +31 -0
- package/dist/db/serviceResourceDb.d.ts +27 -0
- package/dist/db/settingsDb.d.ts +24 -0
- package/dist/db/shortPollingNotificationDb.d.ts +28 -0
- package/dist/db/sseNotificationDb.d.ts +0 -0
- package/dist/db/staffDb.d.ts +28 -0
- package/dist/db/staffFormsDb.d.ts +25 -0
- package/dist/db/staffGroupDb.d.ts +32 -0
- package/dist/db/userDb.d.ts +27 -0
- package/dist/db/userDefaultDb.d.ts +20 -0
- package/dist/db/userDirectoryDb.d.ts +28 -0
- package/dist/db/widgetFormDb.d.ts +25 -0
- package/dist/eventFetchedMeta/eventMeta.d.ts +24 -0
- package/dist/eventFetchedMeta/eventMetaStorage.d.ts +63 -0
- package/dist/index.d.ts +102 -0
- package/dist/js-agendize-api.es.js +2632 -3335
- package/dist/repository/index.d.ts +87 -0
- package/dist/repository/public/accountPublicRepository.d.ts +40 -0
- package/dist/repository/public/availabilityPublicRepository.d.ts +39 -0
- package/dist/repository/public/companyPublicRepository.d.ts +24 -0
- package/dist/repository/public/conferencePublicRepository.d.ts +27 -0
- package/dist/repository/public/customStatusPublicRepository.d.ts +28 -0
- package/dist/repository/public/eventPublicRepository.d.ts +42 -0
- package/dist/repository/public/formPublicRepository.d.ts +25 -0
- package/dist/repository/public/freeSlotPublicRepository.d.ts +40 -0
- package/dist/repository/public/queuePublicRepository.d.ts +22 -0
- package/dist/repository/public/queueRegistrationPublicRepository.d.ts +22 -0
- package/dist/repository/public/registrationPublicRepository.d.ts +22 -0
- package/dist/repository/public/servicePublicRepository.d.ts +24 -0
- package/dist/repository/public/sessionPublicRepository.d.ts +23 -0
- package/dist/repository/public/staffGroupPublicRepository.d.ts +24 -0
- package/dist/repository/public/staffPublicRepository.d.ts +24 -0
- package/dist/repository/public/widgetPublicRepository.d.ts +26 -0
- package/dist/repository/secured/CRMSettingsSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/accountSecuredRepository.d.ts +44 -0
- package/dist/repository/secured/activitySecuredRepository.d.ts +43 -0
- package/dist/repository/secured/additionalFieldsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/appointmentAttendeeSecuredRepository.d.ts +47 -0
- package/dist/repository/secured/availabilitySecuredRepository.d.ts +42 -0
- package/dist/repository/secured/calendarSecuredRepository.d.ts +33 -0
- package/dist/repository/secured/changelogSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/clientMessageSecuredRepository.d.ts +29 -0
- package/dist/repository/secured/companyPerformanceSecuredRepository.d.ts +37 -0
- package/dist/repository/secured/companySecuredRepository.d.ts +34 -0
- package/dist/repository/secured/companySettingsSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/conferenceInviteeSecuredRepository.d.ts +47 -0
- package/dist/repository/secured/conferenceRegistrationSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/conferenceSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/conferenceSessionSecuredRepository.d.ts +49 -0
- package/dist/repository/secured/conferenceSpeakerSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/conferenceTagSecuredRepository.d.ts +31 -0
- package/dist/repository/secured/connectorsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/contactExternalSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/contactSecuredRepository.d.ts +38 -0
- package/dist/repository/secured/customStatusSecuredRepository.d.ts +32 -0
- package/dist/repository/secured/dasboardStructureSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/dashboardSecuredRepository.d.ts +20 -0
- package/dist/repository/secured/eventSecuredRepository.d.ts +67 -0
- package/dist/repository/secured/exportAppointmentsSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/exportCalendarSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/externalEventSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/formBuilderSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/formResultSecuredRepository.d.ts +31 -0
- package/dist/repository/secured/formResultStatusSecuredRepository.d.ts +30 -0
- package/dist/repository/secured/freeSlotSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/icsEventSecuredRepository.d.ts +34 -0
- package/dist/repository/secured/integrationsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/logSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/noteSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/notificationSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/notificationStatusSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/permissionSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/planningSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/privacyPolicySecuredRepository.d.ts +41 -0
- package/dist/repository/secured/promoteFieldSecuredRepository.d.ts +26 -0
- package/dist/repository/secured/queueRegistrationSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/queueSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/reportingSecuredRepository.d.ts +42 -0
- package/dist/repository/secured/rightsSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/scheduleSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/schedulingRightsSecuredRepository.d.ts +26 -0
- package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/serviceResourceSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/serviceSecuredRepository.d.ts +36 -0
- package/dist/repository/secured/settingsSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/shareLinkSecuredRepository.d.ts +38 -0
- package/dist/repository/secured/shortPollingNotificationSecuredRepository.d.ts +32 -0
- package/dist/repository/secured/shortenerSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/sseNotificationSecuredRepository.d.ts +0 -0
- package/dist/repository/secured/staffFormsSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/staffGroupSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/staffSecuredRepository.d.ts +41 -0
- package/dist/repository/secured/tagSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/userAbstractSecuredRepository.d.ts +55 -0
- package/dist/repository/secured/userDefaultSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/userDirectorySecuredRepository.d.ts +41 -0
- package/dist/repository/secured/userSecuredRepository.d.ts +33 -0
- package/dist/repository/secured/widgetFormSecuredRepository.d.ts +45 -0
- package/dist/repository/secured/widgetUrlCipherSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/workingPlanningSecuredRepository.d.ts +34 -0
- package/dist/service/index.d.ts +47 -0
- package/dist/service/items/EventFields.d.ts +30 -0
- package/dist/service/public/WidgetError.d.ts +7 -0
- package/dist/service/public/accountPublicService.d.ts +20 -0
- package/dist/service/public/availabilityPublicService.d.ts +21 -0
- package/dist/service/public/companyPublicService.d.ts +6 -0
- package/dist/service/public/conferencePublicService.d.ts +6 -0
- package/dist/service/public/customStatusPublicService.d.ts +5 -0
- package/dist/service/public/eventPublicService.d.ts +30 -0
- package/dist/service/public/formPublicService.d.ts +7 -0
- package/dist/service/public/freeSlotPublicService.d.ts +20 -0
- package/dist/service/public/queueInscriptionPublicService.d.ts +5 -0
- package/dist/service/public/queuePublicService.d.ts +5 -0
- package/dist/service/public/registrationPublicService.d.ts +8 -0
- package/dist/service/public/servicePublicService.d.ts +22 -0
- package/dist/service/public/sessionPublicService.d.ts +5 -0
- package/dist/service/public/staffGroupPublicService.d.ts +6 -0
- package/dist/service/public/staffPublicService.d.ts +6 -0
- package/dist/service/public/widgetPublicService.d.ts +5 -0
- package/dist/service/public/widgetResponse.d.ts +3 -0
- package/dist/service/secured/FormResultSecuredService.d.ts +8 -0
- package/dist/service/secured/accountSecuredService.d.ts +23 -0
- package/dist/service/secured/activitySecuredService.d.ts +22 -0
- package/dist/service/secured/additionalFieldsSecuredService.d.ts +5 -0
- package/dist/service/secured/attendeeSecuredService.d.ts +25 -0
- package/dist/service/secured/authenticationSecuredService.d.ts +56 -0
- package/dist/service/secured/availabilitiesSecuredService.d.ts +20 -0
- package/dist/service/secured/batchSecuredService.d.ts +20 -0
- package/dist/service/secured/calendarSecuredService.d.ts +28 -0
- package/dist/service/secured/changelogSecuredService.d.ts +20 -0
- package/dist/service/secured/clientMessageSecuredService.d.ts +6 -0
- package/dist/service/secured/companyPerformanceSecuredService.d.ts +20 -0
- package/dist/service/secured/companySecuredService.d.ts +27 -0
- package/dist/service/secured/companySettingsSecuredService.d.ts +6 -0
- package/dist/service/secured/conferenceInviteeSecuredService.d.ts +25 -0
- package/dist/service/secured/conferenceRegistrationSecuredService.d.ts +13 -0
- package/dist/service/secured/conferenceSecuredService.d.ts +25 -0
- package/dist/service/secured/conferenceSessionSecuredService.d.ts +26 -0
- package/dist/service/secured/conferenceSpeakerSecuredService.d.ts +30 -0
- package/dist/service/secured/conferenceTagSecuredService.d.ts +10 -0
- package/dist/service/secured/connectorsSecuredService.d.ts +5 -0
- package/dist/service/secured/contactExternalSecuredService.d.ts +21 -0
- package/dist/service/secured/contactSecuredService.d.ts +26 -0
- package/dist/service/secured/crmSettingsSecuredService.d.ts +5 -0
- package/dist/service/secured/customStatusSecuredService.d.ts +9 -0
- package/dist/service/secured/dashboardSecuredService.d.ts +5 -0
- package/dist/service/secured/dashboardStructureSecuredService.d.ts +5 -0
- package/dist/service/secured/eventSecuredService.d.ts +161 -0
- package/dist/service/secured/exportAppointmentsSecuredService.d.ts +7 -0
- package/dist/service/secured/exportCalendarSecuredService.d.ts +5 -0
- package/dist/service/secured/formBuilderSecuredService.d.ts +24 -0
- package/dist/service/secured/formResultStatusSecuredService.d.ts +6 -0
- package/dist/service/secured/freeSlotSecuredService.d.ts +21 -0
- package/dist/service/secured/freeStaffSecuredService.d.ts +19 -0
- package/dist/service/secured/integrationsSecuredService.d.ts +5 -0
- package/dist/service/secured/logSecuredService.d.ts +19 -0
- package/dist/service/secured/noteSecuredService.d.ts +22 -0
- package/dist/service/secured/notificationSecuredService.d.ts +6 -0
- package/dist/service/secured/permissionsSecuredService.d.ts +24 -0
- package/dist/service/secured/planningSecuredService.d.ts +25 -0
- package/dist/service/secured/privacyPolicySecuredService.d.ts +20 -0
- package/dist/service/secured/promoteFieldSecuredService.d.ts +5 -0
- package/dist/service/secured/queueRegistrationSecuredService.d.ts +23 -0
- package/dist/service/secured/queueSecuredService.d.ts +25 -0
- package/dist/service/secured/reportingSecuredService.d.ts +20 -0
- package/dist/service/secured/rightsSecuredService.d.ts +20 -0
- package/dist/service/secured/scheduleSecuredService.d.ts +5 -0
- package/dist/service/secured/schedulingRightsSecuredService.d.ts +7 -0
- package/dist/service/secured/serviceGroupSecuredService.d.ts +25 -0
- package/dist/service/secured/serviceResourceSecuredService.d.ts +25 -0
- package/dist/service/secured/serviceSecuredService.d.ts +25 -0
- package/dist/service/secured/settingsSecuredService.d.ts +20 -0
- package/dist/service/secured/shareLinkSecuredService.d.ts +21 -0
- package/dist/service/secured/shortPollingNotificationSecuredService.d.ts +10 -0
- package/dist/service/secured/shortenerSecuredService.d.ts +20 -0
- package/dist/service/secured/staffFormsSecuredService.d.ts +20 -0
- package/dist/service/secured/staffGroupSecuredService.d.ts +25 -0
- package/dist/service/secured/staffSecuredService.d.ts +26 -0
- package/dist/service/secured/tagSecuredService.d.ts +5 -0
- package/dist/service/secured/userDirectorySecuredService.d.ts +20 -0
- package/dist/service/secured/userSecuredService.d.ts +33 -0
- package/dist/service/secured/widgetFormSecuredService.d.ts +26 -0
- package/dist/service/secured/widgetUrlCipherSecuredService.d.ts +21 -0
- package/dist/service/secured/workingPlanningSecuredService.d.ts +6 -0
- package/dist/utils/axiosLoggerBuilder.d.ts +11 -0
- package/dist/utils/colorManager.d.ts +7 -0
- package/dist/utils/date.d.ts +12 -0
- package/dist/utils/encoding.d.ts +8 -0
- package/dist/utils/formUtils.d.ts +4 -0
- package/dist/utils/logger.d.ts +40 -0
- package/dist/utils/pkceUtils.d.ts +10 -0
- package/dist/utils/widgetForms.d.ts +7 -0
- package/package.json +2 -2
|
@@ -0,0 +1,529 @@
|
|
|
1
|
+
import { ConferenceLocationEntity, ConferenceLocationSecuredDto } from "@/data/conference/ConferenceLocation";
|
|
2
|
+
export declare abstract class ActivityEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
date: Date;
|
|
5
|
+
user?: {
|
|
6
|
+
id?: string;
|
|
7
|
+
userName?: string;
|
|
8
|
+
emailAddress?: string;
|
|
9
|
+
firstName?: string;
|
|
10
|
+
lastName?: string;
|
|
11
|
+
};
|
|
12
|
+
marketingConsent?: string;
|
|
13
|
+
type: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict' | 'conferenceRegistration' | 'marketingEmail' | 'marketingTextMessage';
|
|
14
|
+
event?: 'created' | 'updated' | 'deleted';
|
|
15
|
+
updatedAttributes?: string[];
|
|
16
|
+
protected constructor(id: string, date: Date, user: {
|
|
17
|
+
id: string;
|
|
18
|
+
userName?: string;
|
|
19
|
+
emailAddress?: string;
|
|
20
|
+
firstName?: string;
|
|
21
|
+
lastName?: string;
|
|
22
|
+
} | undefined, marketingConsent?: string);
|
|
23
|
+
static fromActivityDto(dto: ActivityDto): ActivityEntity | undefined;
|
|
24
|
+
}
|
|
25
|
+
export declare enum AppointmentActivityType {
|
|
26
|
+
DELETE = "appointment-delete",
|
|
27
|
+
CREATION = "appointment-creation",
|
|
28
|
+
FORM_UPDATE = "appointment-form-update",
|
|
29
|
+
LOCATION_UPDATE = "appointment-location-update",
|
|
30
|
+
NOTE_UPDATE = "appointment-note-update",
|
|
31
|
+
RESOURCE_UPDATE = "appointment-resource-update",
|
|
32
|
+
SERVICE_UPDATE = "appointment-service-update",
|
|
33
|
+
STAFF_UPDATE = "appointment-staff-update",
|
|
34
|
+
DATES_UPDATE = "appointment-dates-update",
|
|
35
|
+
STATUS_UPDATE = "appointment-status-update",
|
|
36
|
+
END_UPDATE = "appointment-end-update",
|
|
37
|
+
START_UPDATE = "appointment-start-update",
|
|
38
|
+
CLIENT_UPDATE = "appointment-client-update"
|
|
39
|
+
}
|
|
40
|
+
export declare enum AppointmentActivitySourceType {
|
|
41
|
+
MANUAL = "manual",
|
|
42
|
+
WIDGET = "widget",
|
|
43
|
+
INTERNAL_WIDGET = "internalWidget",
|
|
44
|
+
EXTERNAL = "external",
|
|
45
|
+
MANUAL_PHONE = "manualPhone",
|
|
46
|
+
API = "api",
|
|
47
|
+
BACKOFFICE_WIDGET = "backofficeWidget",
|
|
48
|
+
API_MOBILE = "mobile",
|
|
49
|
+
FACEBOOK = "facebook",
|
|
50
|
+
USER = "user"
|
|
51
|
+
}
|
|
52
|
+
export declare class AppointmentActivityEntity extends ActivityEntity {
|
|
53
|
+
start?: Date;
|
|
54
|
+
end?: Date;
|
|
55
|
+
service?: {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
};
|
|
59
|
+
resource?: {
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
};
|
|
63
|
+
staff?: {
|
|
64
|
+
id: string;
|
|
65
|
+
firstName?: string;
|
|
66
|
+
lastName?: string;
|
|
67
|
+
};
|
|
68
|
+
company?: {
|
|
69
|
+
id: string;
|
|
70
|
+
name: string;
|
|
71
|
+
};
|
|
72
|
+
client?: {
|
|
73
|
+
id?: string;
|
|
74
|
+
firstName?: string;
|
|
75
|
+
lastName?: string;
|
|
76
|
+
emailAddress?: string;
|
|
77
|
+
};
|
|
78
|
+
appointmentId: string;
|
|
79
|
+
location?: string;
|
|
80
|
+
notes?: string;
|
|
81
|
+
status?: string;
|
|
82
|
+
activityType?: AppointmentActivityType;
|
|
83
|
+
sourceType?: AppointmentActivitySourceType;
|
|
84
|
+
constructor(id: string, date: Date, user: {
|
|
85
|
+
id: string;
|
|
86
|
+
userName?: string;
|
|
87
|
+
emailAddress?: string;
|
|
88
|
+
firstName?: string;
|
|
89
|
+
lastName?: string;
|
|
90
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
91
|
+
static fromAppointmentDto(id: string, date: Date, user: {
|
|
92
|
+
id: string;
|
|
93
|
+
userName?: string;
|
|
94
|
+
emailAddress?: string;
|
|
95
|
+
firstName?: string;
|
|
96
|
+
lastName?: string;
|
|
97
|
+
} | undefined, dto: AppointmentActivityDto, event?: 'created' | 'updated' | 'deleted', updatedAttributes?: AttributesUpdateType[], marketingConsent?: string): ActivityEntity | undefined;
|
|
98
|
+
}
|
|
99
|
+
export declare class AppointmentUpdateDatesActivityEntity extends AppointmentActivityEntity {
|
|
100
|
+
previousStart?: Date;
|
|
101
|
+
previousEnd?: Date;
|
|
102
|
+
constructor(id: string, date: Date, user: {
|
|
103
|
+
id: string;
|
|
104
|
+
userName?: string;
|
|
105
|
+
emailAddress?: string;
|
|
106
|
+
firstName?: string;
|
|
107
|
+
lastName?: string;
|
|
108
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
109
|
+
}
|
|
110
|
+
export declare class AppointmentUpdateStartActivityEntity extends AppointmentActivityEntity {
|
|
111
|
+
previousStart?: Date;
|
|
112
|
+
constructor(id: string, date: Date, user: {
|
|
113
|
+
id: string;
|
|
114
|
+
userName?: string;
|
|
115
|
+
emailAddress?: string;
|
|
116
|
+
firstName?: string;
|
|
117
|
+
lastName?: string;
|
|
118
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
119
|
+
}
|
|
120
|
+
export declare class AppointmentUpdateEndActivityEntity extends AppointmentActivityEntity {
|
|
121
|
+
previousEnd?: Date;
|
|
122
|
+
constructor(id: string, date: Date, user: {
|
|
123
|
+
id: string;
|
|
124
|
+
userName?: string;
|
|
125
|
+
emailAddress?: string;
|
|
126
|
+
firstName?: string;
|
|
127
|
+
lastName?: string;
|
|
128
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
129
|
+
}
|
|
130
|
+
export declare class AppointmentUpdateStatusActivityEntity extends AppointmentActivityEntity {
|
|
131
|
+
previousStatus?: string;
|
|
132
|
+
constructor(id: string, date: Date, user: {
|
|
133
|
+
id: string;
|
|
134
|
+
userName?: string;
|
|
135
|
+
emailAddress?: string;
|
|
136
|
+
firstName?: string;
|
|
137
|
+
lastName?: string;
|
|
138
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
139
|
+
}
|
|
140
|
+
export declare class AppointmentUpdateStaffActivityEntity extends AppointmentActivityEntity {
|
|
141
|
+
previousStaff?: {
|
|
142
|
+
id: string;
|
|
143
|
+
firstName?: string;
|
|
144
|
+
lastName?: string;
|
|
145
|
+
};
|
|
146
|
+
constructor(id: string, date: Date, user: {
|
|
147
|
+
id: string;
|
|
148
|
+
userName?: string;
|
|
149
|
+
emailAddress?: string;
|
|
150
|
+
firstName?: string;
|
|
151
|
+
lastName?: string;
|
|
152
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
153
|
+
}
|
|
154
|
+
export declare class AppointmentUpdateClientActivityEntity extends AppointmentActivityEntity {
|
|
155
|
+
previousClient?: {
|
|
156
|
+
id: string;
|
|
157
|
+
firstName?: string;
|
|
158
|
+
lastName?: string;
|
|
159
|
+
emailAddress?: string;
|
|
160
|
+
};
|
|
161
|
+
constructor(id: string, date: Date, user: {
|
|
162
|
+
id: string;
|
|
163
|
+
userName?: string;
|
|
164
|
+
emailAddress?: string;
|
|
165
|
+
firstName?: string;
|
|
166
|
+
lastName?: string;
|
|
167
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
168
|
+
}
|
|
169
|
+
export declare class AppointmentUpdateServiceActivityEntity extends AppointmentActivityEntity {
|
|
170
|
+
previousService?: {
|
|
171
|
+
id: string;
|
|
172
|
+
name: string;
|
|
173
|
+
};
|
|
174
|
+
constructor(id: string, date: Date, user: {
|
|
175
|
+
id: string;
|
|
176
|
+
userName?: string;
|
|
177
|
+
emailAddress?: string;
|
|
178
|
+
firstName?: string;
|
|
179
|
+
lastName?: string;
|
|
180
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
181
|
+
}
|
|
182
|
+
export declare class AppointmentUpdateResourceActivityEntity extends AppointmentActivityEntity {
|
|
183
|
+
constructor(id: string, date: Date, user: {
|
|
184
|
+
id: string;
|
|
185
|
+
userName?: string;
|
|
186
|
+
emailAddress?: string;
|
|
187
|
+
firstName?: string;
|
|
188
|
+
lastName?: string;
|
|
189
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
190
|
+
}
|
|
191
|
+
export declare class AppointmentUpdateNoteActivityEntity extends AppointmentActivityEntity {
|
|
192
|
+
previousNotes?: string;
|
|
193
|
+
constructor(id: string, date: Date, user: {
|
|
194
|
+
id: string;
|
|
195
|
+
userName?: string;
|
|
196
|
+
emailAddress?: string;
|
|
197
|
+
firstName?: string;
|
|
198
|
+
lastName?: string;
|
|
199
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
200
|
+
}
|
|
201
|
+
export declare class AppointmentUpdateLocationActivityEntity extends AppointmentActivityEntity {
|
|
202
|
+
previousLocation?: string;
|
|
203
|
+
constructor(id: string, date: Date, user: {
|
|
204
|
+
id: string;
|
|
205
|
+
userName?: string;
|
|
206
|
+
emailAddress?: string;
|
|
207
|
+
firstName?: string;
|
|
208
|
+
lastName?: string;
|
|
209
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
210
|
+
}
|
|
211
|
+
export declare class AppointmentUpdateFormActivityEntity extends AppointmentActivityEntity {
|
|
212
|
+
formValues?: {};
|
|
213
|
+
previousFormValues?: {};
|
|
214
|
+
constructor(id: string, date: Date, user: {
|
|
215
|
+
id: string;
|
|
216
|
+
userName?: string;
|
|
217
|
+
emailAddress?: string;
|
|
218
|
+
firstName?: string;
|
|
219
|
+
lastName?: string;
|
|
220
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
221
|
+
}
|
|
222
|
+
export declare class AppointmentCreationActivityEntity extends AppointmentActivityEntity {
|
|
223
|
+
constructor(id: string, date: Date, user: {
|
|
224
|
+
id: string;
|
|
225
|
+
userName?: string;
|
|
226
|
+
emailAddress?: string;
|
|
227
|
+
firstName?: string;
|
|
228
|
+
lastName?: string;
|
|
229
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
230
|
+
}
|
|
231
|
+
export declare class AppointmentDeletionActivityEntity extends AppointmentActivityEntity {
|
|
232
|
+
constructor(id: string, date: Date, user: {
|
|
233
|
+
id: string;
|
|
234
|
+
userName?: string;
|
|
235
|
+
emailAddress?: string;
|
|
236
|
+
firstName?: string;
|
|
237
|
+
lastName?: string;
|
|
238
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
239
|
+
}
|
|
240
|
+
export declare class NoteActivityEntity extends ActivityEntity {
|
|
241
|
+
body: string;
|
|
242
|
+
constructor(id: string, date: Date, user: {
|
|
243
|
+
id: string;
|
|
244
|
+
userName?: string;
|
|
245
|
+
emailAddress?: string;
|
|
246
|
+
firstName?: string;
|
|
247
|
+
lastName?: string;
|
|
248
|
+
} | undefined, body: string);
|
|
249
|
+
}
|
|
250
|
+
export declare class FormResultActivityEntity extends ActivityEntity {
|
|
251
|
+
formId?: string;
|
|
252
|
+
formName?: string;
|
|
253
|
+
formResultId?: string;
|
|
254
|
+
constructor(id: string, date: Date, user: {
|
|
255
|
+
id: string;
|
|
256
|
+
userName?: string;
|
|
257
|
+
emailAddress?: string;
|
|
258
|
+
firstName?: string;
|
|
259
|
+
lastName?: string;
|
|
260
|
+
} | undefined, formId?: string, formName?: string, formResultId?: string);
|
|
261
|
+
}
|
|
262
|
+
export declare class ConsentActivityEntity extends ActivityEntity {
|
|
263
|
+
note: string;
|
|
264
|
+
constructor(id: string, date: Date, user: {
|
|
265
|
+
id: string;
|
|
266
|
+
userName?: string;
|
|
267
|
+
emailAddress?: string;
|
|
268
|
+
firstName?: string;
|
|
269
|
+
lastName?: string;
|
|
270
|
+
} | undefined, note: string);
|
|
271
|
+
}
|
|
272
|
+
export declare class Email extends ActivityEntity {
|
|
273
|
+
subject: string;
|
|
274
|
+
body: string;
|
|
275
|
+
constructor(id: string, date: Date, user: {
|
|
276
|
+
id: string;
|
|
277
|
+
userName?: string;
|
|
278
|
+
emailAddress?: string;
|
|
279
|
+
firstName?: string;
|
|
280
|
+
lastName?: string;
|
|
281
|
+
} | undefined, subject: string, body: string);
|
|
282
|
+
}
|
|
283
|
+
export declare class EmailNotificationActivityEntity extends ActivityEntity {
|
|
284
|
+
subject: string;
|
|
285
|
+
body: string;
|
|
286
|
+
emailId: string;
|
|
287
|
+
selfLink: string;
|
|
288
|
+
companyId: string;
|
|
289
|
+
constructor(id: string, date: Date, user: {
|
|
290
|
+
id: string;
|
|
291
|
+
userName?: string;
|
|
292
|
+
emailAddress?: string;
|
|
293
|
+
firstName?: string;
|
|
294
|
+
lastName?: string;
|
|
295
|
+
} | undefined, subject: string, body: string, emailId: string, selfLink: string, companyId: string);
|
|
296
|
+
}
|
|
297
|
+
export declare class MarketingEmailNotificationActivityEntity extends ActivityEntity {
|
|
298
|
+
subject: string;
|
|
299
|
+
body: string;
|
|
300
|
+
emailId: string;
|
|
301
|
+
selfLink?: string;
|
|
302
|
+
constructor(id: string, date: Date, user: {
|
|
303
|
+
id: string;
|
|
304
|
+
userName?: string;
|
|
305
|
+
emailAddress?: string;
|
|
306
|
+
firstName?: string;
|
|
307
|
+
lastName?: string;
|
|
308
|
+
} | undefined, subject: string, body: string, emailId: string, selfLink?: string);
|
|
309
|
+
}
|
|
310
|
+
export declare class MarketingTextMessageNotificationActivityEntity extends ActivityEntity {
|
|
311
|
+
body: string;
|
|
312
|
+
constructor(id: string, date: Date, user: {
|
|
313
|
+
id: string;
|
|
314
|
+
userName?: string;
|
|
315
|
+
emailAddress?: string;
|
|
316
|
+
firstName?: string;
|
|
317
|
+
lastName?: string;
|
|
318
|
+
} | undefined, body: string);
|
|
319
|
+
}
|
|
320
|
+
export declare class TextMessageNotificationActivityEntity extends ActivityEntity {
|
|
321
|
+
body: string;
|
|
322
|
+
constructor(id: string, date: Date, user: {
|
|
323
|
+
id: string;
|
|
324
|
+
userName?: string;
|
|
325
|
+
emailAddress?: string;
|
|
326
|
+
firstName?: string;
|
|
327
|
+
lastName?: string;
|
|
328
|
+
} | undefined, body: string);
|
|
329
|
+
}
|
|
330
|
+
export declare class ConflictActivityEntity extends ActivityEntity {
|
|
331
|
+
constructor(id: string, date: Date, user: {
|
|
332
|
+
id: string;
|
|
333
|
+
userName?: string;
|
|
334
|
+
emailAddress?: string;
|
|
335
|
+
firstName?: string;
|
|
336
|
+
lastName?: string;
|
|
337
|
+
} | undefined);
|
|
338
|
+
}
|
|
339
|
+
export declare class ConferenceRegistrationActivityEntity extends ActivityEntity {
|
|
340
|
+
selfLink?: string;
|
|
341
|
+
numberOfSeats?: number;
|
|
342
|
+
conference?: {
|
|
343
|
+
id?: string;
|
|
344
|
+
title?: string;
|
|
345
|
+
capacity?: number;
|
|
346
|
+
waitingListEnabled?: boolean;
|
|
347
|
+
};
|
|
348
|
+
session?: {
|
|
349
|
+
id?: string;
|
|
350
|
+
start?: Date;
|
|
351
|
+
end?: Date;
|
|
352
|
+
};
|
|
353
|
+
sourceType?: "undefined" | "manuel" | "widget" | "external" | "api" | "backofficeWidget" | "mobile" | "sessionCancelled" | "conferenceCancelled";
|
|
354
|
+
source?: string;
|
|
355
|
+
status?: "accepted" | "cancelled" | "waitingList";
|
|
356
|
+
location?: ConferenceLocationEntity;
|
|
357
|
+
company?: {
|
|
358
|
+
id?: string;
|
|
359
|
+
name?: string;
|
|
360
|
+
};
|
|
361
|
+
constructor(id: string, date: Date, user: {
|
|
362
|
+
id: string;
|
|
363
|
+
userName?: string;
|
|
364
|
+
emailAddress?: string;
|
|
365
|
+
firstName?: string;
|
|
366
|
+
lastName?: string;
|
|
367
|
+
} | undefined, conferenceRegistration: ConferenceRegistrationActivityDto);
|
|
368
|
+
}
|
|
369
|
+
declare class AppointmentActivityDto {
|
|
370
|
+
id: string;
|
|
371
|
+
start?: {
|
|
372
|
+
dateTime: string;
|
|
373
|
+
timeZone: string;
|
|
374
|
+
};
|
|
375
|
+
end?: {
|
|
376
|
+
dateTime: string;
|
|
377
|
+
timeZone: string;
|
|
378
|
+
};
|
|
379
|
+
service?: {
|
|
380
|
+
id: string;
|
|
381
|
+
name: string;
|
|
382
|
+
};
|
|
383
|
+
resource?: {
|
|
384
|
+
id: string;
|
|
385
|
+
name: string;
|
|
386
|
+
};
|
|
387
|
+
staff?: {
|
|
388
|
+
id: string;
|
|
389
|
+
firstName?: string;
|
|
390
|
+
lastName?: string;
|
|
391
|
+
};
|
|
392
|
+
company?: {
|
|
393
|
+
id: string;
|
|
394
|
+
name: string;
|
|
395
|
+
};
|
|
396
|
+
client?: {
|
|
397
|
+
id?: string;
|
|
398
|
+
firstName?: string;
|
|
399
|
+
lastName?: string;
|
|
400
|
+
emailAddress?: string;
|
|
401
|
+
};
|
|
402
|
+
formValues?: {};
|
|
403
|
+
notes?: string;
|
|
404
|
+
location?: string;
|
|
405
|
+
status: string;
|
|
406
|
+
sourceType?: AppointmentActivitySourceType;
|
|
407
|
+
changeType?: AppointmentChangeTypes.START | AppointmentChangeTypes.END | AppointmentChangeTypes.STAFF | AppointmentChangeTypes.LOCATION | AppointmentChangeTypes.SERVICE | AppointmentChangeTypes.RESOURCE | AppointmentChangeTypes.FORM | AppointmentChangeTypes.STATUS | AppointmentChangeTypes.NOTES | AppointmentChangeTypes.CLIENT;
|
|
408
|
+
previousStart?: {
|
|
409
|
+
dateTime: string;
|
|
410
|
+
timeZone: string;
|
|
411
|
+
};
|
|
412
|
+
previousEnd?: {
|
|
413
|
+
dateTime: string;
|
|
414
|
+
timeZone: string;
|
|
415
|
+
};
|
|
416
|
+
previousService?: {
|
|
417
|
+
id: string;
|
|
418
|
+
name: string;
|
|
419
|
+
};
|
|
420
|
+
previousStaff?: {
|
|
421
|
+
id: string;
|
|
422
|
+
firstName?: string;
|
|
423
|
+
lastName?: string;
|
|
424
|
+
};
|
|
425
|
+
previousLocation?: string;
|
|
426
|
+
previousNotes?: string;
|
|
427
|
+
previousStatus?: string;
|
|
428
|
+
previousFormValues?: {};
|
|
429
|
+
previousClient?: {
|
|
430
|
+
id: string;
|
|
431
|
+
firstName?: string;
|
|
432
|
+
lastName?: string;
|
|
433
|
+
emailAddress?: string;
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
declare class ConferenceRegistrationActivityDto {
|
|
437
|
+
selfLink?: string;
|
|
438
|
+
id: string;
|
|
439
|
+
numberOfSeats?: number;
|
|
440
|
+
conference?: {
|
|
441
|
+
id?: string;
|
|
442
|
+
title?: string;
|
|
443
|
+
capacity?: number;
|
|
444
|
+
waitingListEnabled?: boolean;
|
|
445
|
+
};
|
|
446
|
+
session?: {
|
|
447
|
+
id?: string;
|
|
448
|
+
start?: {
|
|
449
|
+
dateTime: string;
|
|
450
|
+
timeZone: string;
|
|
451
|
+
};
|
|
452
|
+
end?: {
|
|
453
|
+
dateTime: string;
|
|
454
|
+
timeZone: string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
sourceType?: "undefined" | "manuel" | "widget" | "external" | "api" | "backofficeWidget" | "mobile" | "sessionCancelled" | "conferenceCancelled";
|
|
458
|
+
source?: string;
|
|
459
|
+
status?: "accepted" | "cancelled" | "waitingList";
|
|
460
|
+
location?: ConferenceLocationSecuredDto;
|
|
461
|
+
company?: {
|
|
462
|
+
id?: string;
|
|
463
|
+
name?: string;
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
export type AttributesUpdateType = 'start' | 'end' | 'staff' | 'location' | 'service' | 'resource' | 'form' | 'status' | 'notes' | string;
|
|
467
|
+
export declare enum AppointmentChangeTypes {
|
|
468
|
+
START = "start",
|
|
469
|
+
END = "end",
|
|
470
|
+
STAFF = "staff",
|
|
471
|
+
LOCATION = "location",
|
|
472
|
+
SERVICE = "service",
|
|
473
|
+
RESOURCE = "resource",
|
|
474
|
+
FORM = "form",
|
|
475
|
+
STATUS = "status",
|
|
476
|
+
NOTES = "notes",
|
|
477
|
+
CLIENT = "client"
|
|
478
|
+
}
|
|
479
|
+
export declare class ActivityDto {
|
|
480
|
+
id: string;
|
|
481
|
+
type?: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict' | 'conferenceRegistration' | 'marketingEmail' | 'marketingTextMessage';
|
|
482
|
+
event?: 'created' | 'updated' | 'deleted';
|
|
483
|
+
updatedAttributes?: AttributesUpdateType[];
|
|
484
|
+
date?: {
|
|
485
|
+
dateTime: string;
|
|
486
|
+
timeZone?: string;
|
|
487
|
+
};
|
|
488
|
+
user?: {
|
|
489
|
+
id: string;
|
|
490
|
+
userName?: string;
|
|
491
|
+
emailAddress?: string;
|
|
492
|
+
firstName?: string;
|
|
493
|
+
lastName?: string;
|
|
494
|
+
};
|
|
495
|
+
note?: {
|
|
496
|
+
id: string;
|
|
497
|
+
body: string;
|
|
498
|
+
};
|
|
499
|
+
appointment?: AppointmentActivityDto;
|
|
500
|
+
formResult?: {
|
|
501
|
+
id: string;
|
|
502
|
+
form: {
|
|
503
|
+
id: string;
|
|
504
|
+
name: string;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
marketingConsent?: {
|
|
508
|
+
text: string;
|
|
509
|
+
};
|
|
510
|
+
emailNotification?: {
|
|
511
|
+
subject: string;
|
|
512
|
+
body: string;
|
|
513
|
+
selfLink: string;
|
|
514
|
+
id: string;
|
|
515
|
+
companyId: string;
|
|
516
|
+
};
|
|
517
|
+
email?: {
|
|
518
|
+
subject: string;
|
|
519
|
+
body: string;
|
|
520
|
+
selfLink: string;
|
|
521
|
+
id: string;
|
|
522
|
+
companyId: string;
|
|
523
|
+
};
|
|
524
|
+
textMessage?: {
|
|
525
|
+
body: string;
|
|
526
|
+
};
|
|
527
|
+
conferenceRegistration?: ConferenceRegistrationActivityDto;
|
|
528
|
+
}
|
|
529
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2022 Agendize All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at.
|
|
7
|
+
*
|
|
8
|
+
* Http://www.apache.org/licenses/LICENSE-2.0.
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare class AddressEntity {
|
|
17
|
+
street?: string;
|
|
18
|
+
otherStreet?: string;
|
|
19
|
+
zipCode?: string;
|
|
20
|
+
city?: string;
|
|
21
|
+
country?: string;
|
|
22
|
+
state?: string;
|
|
23
|
+
latitude?: number;
|
|
24
|
+
longitude?: number;
|
|
25
|
+
static fromAddressDto(dto: AddressDto): AddressEntity;
|
|
26
|
+
static toAddressDto(entity: AddressEntity): AddressDto;
|
|
27
|
+
}
|
|
28
|
+
export declare class AddressDto {
|
|
29
|
+
street?: string;
|
|
30
|
+
otherStreet?: string;
|
|
31
|
+
zipCode?: string;
|
|
32
|
+
zipcode?: string;
|
|
33
|
+
city?: string;
|
|
34
|
+
country?: string;
|
|
35
|
+
state?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare class GeoLocationEntity {
|
|
38
|
+
latitude?: number;
|
|
39
|
+
longitude?: number;
|
|
40
|
+
static fromDto(dto: GeoLocationDto): GeoLocationEntity;
|
|
41
|
+
static toDto(entity: GeoLocationEntity): GeoLocationDto;
|
|
42
|
+
}
|
|
43
|
+
export declare class GeoLocationDto {
|
|
44
|
+
lat?: number;
|
|
45
|
+
lng?: number;
|
|
46
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { BodyEntityInterface, EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
|
|
2
|
+
export declare enum AttendeeType {
|
|
3
|
+
CLIENT = "client"
|
|
4
|
+
}
|
|
5
|
+
export declare enum AttendeeStatus {
|
|
6
|
+
TENTATIVE = "tentative"
|
|
7
|
+
}
|
|
8
|
+
export type EventEntity<Type = EntityType> = (Type extends SecuredEntity ? AttendeeSecuredEntity : AttendeePublicEntity) & BodyEntityInterface;
|
|
9
|
+
export declare class AttendeePublicEntity extends PublicBodyEntity {
|
|
10
|
+
id?: string;
|
|
11
|
+
client?: {
|
|
12
|
+
id: string;
|
|
13
|
+
firstName?: string;
|
|
14
|
+
lastName?: string;
|
|
15
|
+
email?: string;
|
|
16
|
+
externalId?: string;
|
|
17
|
+
};
|
|
18
|
+
status?: AttendeeStatus;
|
|
19
|
+
type: AttendeeType;
|
|
20
|
+
static fromDto(dto: AttendeePublicEntity): AttendeePublicEntity;
|
|
21
|
+
}
|
|
22
|
+
export declare class AttendeePublicDto {
|
|
23
|
+
id?: string;
|
|
24
|
+
client?: {
|
|
25
|
+
id: string;
|
|
26
|
+
firstName?: string;
|
|
27
|
+
lastName?: string;
|
|
28
|
+
email?: string;
|
|
29
|
+
externalId?: string;
|
|
30
|
+
};
|
|
31
|
+
status?: string;
|
|
32
|
+
type: string;
|
|
33
|
+
}
|
|
34
|
+
export declare class AttendeeSecuredEntity extends SecuredBodyEntity {
|
|
35
|
+
id?: string;
|
|
36
|
+
client?: {
|
|
37
|
+
id: string;
|
|
38
|
+
firstName?: string;
|
|
39
|
+
lastName?: string;
|
|
40
|
+
email?: string;
|
|
41
|
+
externalId?: string;
|
|
42
|
+
};
|
|
43
|
+
status?: AttendeeStatus;
|
|
44
|
+
type: AttendeeType;
|
|
45
|
+
static fromDto(dto: AttendeeSecuredDto): AttendeeSecuredEntity;
|
|
46
|
+
static toDto(entity: AttendeeSecuredEntity, timeZone?: string): AttendeeSecuredDto;
|
|
47
|
+
}
|
|
48
|
+
export declare class AttendeeSecuredDto {
|
|
49
|
+
id?: string;
|
|
50
|
+
client?: {
|
|
51
|
+
id: string;
|
|
52
|
+
firstName?: string;
|
|
53
|
+
lastName?: string;
|
|
54
|
+
email?: string;
|
|
55
|
+
externalId?: string;
|
|
56
|
+
};
|
|
57
|
+
status?: AttendeeStatus;
|
|
58
|
+
type: AttendeeType;
|
|
59
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023 Agendize All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at.
|
|
7
|
+
*
|
|
8
|
+
* Http://www.apache.org/licenses/LICENSE-2.0.
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare enum BatchableApi {
|
|
17
|
+
'CONFERENCE_SPEAKER_API' = 0,
|
|
18
|
+
'EVENT' = 1
|
|
19
|
+
}
|
|
20
|
+
export declare class BatchRequest<T> {
|
|
21
|
+
api: BatchableApi;
|
|
22
|
+
method: 'LIST' | 'POST' | 'GET' | 'DELETE' | 'PUT' | 'PATCH';
|
|
23
|
+
body?: T;
|
|
24
|
+
queryParams?: any;
|
|
25
|
+
constructor(api: BatchableApi, method: 'LIST' | 'POST' | 'GET' | 'DELETE' | 'PUT' | 'PATCH', queryParam?: any, body?: T);
|
|
26
|
+
toBatchRequestDto(): BatchRequestDto<T>;
|
|
27
|
+
}
|
|
28
|
+
export declare class BatchRequestDto<T> {
|
|
29
|
+
path: string;
|
|
30
|
+
method: 'POST' | 'GET' | 'DELETE' | 'PUT' | 'PATCH';
|
|
31
|
+
body?: T;
|
|
32
|
+
name?: string;
|
|
33
|
+
headers?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare class BatchResponseDto<T> {
|
|
36
|
+
path: string;
|
|
37
|
+
method: 'POST' | 'GET' | 'DELETE' | 'PUT' | 'PATCH';
|
|
38
|
+
body?: T;
|
|
39
|
+
status: number;
|
|
40
|
+
name?: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AdditionalFieldsDto, AdditionalFieldsEntity } from "./Contact";
|
|
2
|
+
export declare enum ContactMatchingType {
|
|
3
|
+
EMAIL = "emailAddress",
|
|
4
|
+
PHONE = "phoneNumber",
|
|
5
|
+
REF = "clientReference"
|
|
6
|
+
}
|
|
7
|
+
export declare class CRMSettingsEntity {
|
|
8
|
+
account: string;
|
|
9
|
+
additionalFields: AdditionalFieldsEntity;
|
|
10
|
+
contactPropertyMatching: ContactMatchingType;
|
|
11
|
+
locationFiltering: boolean;
|
|
12
|
+
locationAppointmentFiltering: boolean;
|
|
13
|
+
fieldColumns: String[];
|
|
14
|
+
sync: CRMSettingsSyncEntity;
|
|
15
|
+
constructor(account: string);
|
|
16
|
+
static fromCRMSettingsDTO(account: string, dto: CRMSettingsDTO): CRMSettingsEntity;
|
|
17
|
+
}
|
|
18
|
+
export declare class CRMSettingsSyncEntity {
|
|
19
|
+
clientLookup: boolean;
|
|
20
|
+
createNewClient: boolean;
|
|
21
|
+
constructor();
|
|
22
|
+
static fromCRMSettingsSyncDto(dto: CRMSettingsSyncDto): CRMSettingsSyncEntity;
|
|
23
|
+
}
|
|
24
|
+
export declare class CRMSettingsDTO {
|
|
25
|
+
additionalFields?: AdditionalFieldsDto;
|
|
26
|
+
contactPropertyMatching?: ContactMatchingType;
|
|
27
|
+
locationFiltering?: boolean;
|
|
28
|
+
locationAppointmentFiltering?: boolean;
|
|
29
|
+
fieldColumns?: String[];
|
|
30
|
+
sync?: CRMSettingsSyncDto;
|
|
31
|
+
}
|
|
32
|
+
export declare class CRMSettingsSyncDto {
|
|
33
|
+
clientLookup?: boolean;
|
|
34
|
+
createNewClient?: boolean;
|
|
35
|
+
}
|