@agendize/js-agendize-api 1.28.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/README.md +23 -0
- package/dist/agendizeApi.d.ts +522 -0
- package/dist/browserStorage/browserStorage.d.ts +43 -0
- package/dist/config.d.ts +19 -0
- package/dist/data/Account.d.ts +180 -0
- package/dist/data/Activity.d.ts +443 -0
- package/dist/data/Address.d.ts +46 -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 +15 -0
- package/dist/data/CommonEnum.d.ts +44 -0
- package/dist/data/Company.d.ts +157 -0
- package/dist/data/CompanyPerformance.d.ts +26 -0
- package/dist/data/Connector.d.ts +26 -0
- package/dist/data/Consent.d.ts +4 -0
- package/dist/data/Contact.d.ts +202 -0
- package/dist/data/CustomStatus.d.ts +16 -0
- package/dist/data/Employee.d.ts +27 -0
- package/dist/data/Error.d.ts +65 -0
- package/dist/data/Event.d.ts +216 -0
- package/dist/data/EventSearch.d.ts +217 -0
- package/dist/data/EventUpdate.d.ts +9 -0
- package/dist/data/Form.d.ts +224 -0
- package/dist/data/FormResult.d.ts +61 -0
- package/dist/data/FormResultStatus.d.ts +23 -0
- package/dist/data/FreeSlot.d.ts +71 -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 +77 -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 +42 -0
- package/dist/data/ReportingExportBody.d.ts +170 -0
- package/dist/data/ReportingExportResponse.d.ts +15 -0
- package/dist/data/Rights.d.ts +123 -0
- package/dist/data/Service.d.ts +213 -0
- package/dist/data/ServiceGroup.d.ts +57 -0
- package/dist/data/ServiceResource.d.ts +26 -0
- package/dist/data/Settings.d.ts +12 -0
- package/dist/data/ShortPollingNotification.d.ts +25 -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 +23 -0
- package/dist/data/WorkingHours.d.ts +94 -0
- package/dist/data/conference/Conference.d.ts +156 -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 +36 -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 +115 -0
- package/dist/data/conference/Widget.d.ts +92 -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/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/companyDb.d.ts +26 -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 +24 -0
- package/dist/db/index.d.ts +72 -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 +13 -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 +91 -0
- package/dist/js-agendize-api.es.js +28770 -0
- package/dist/repository/index.d.ts +84 -0
- package/dist/repository/public/accountPublicRepository.d.ts +39 -0
- package/dist/repository/public/companyPublicRepository.d.ts +23 -0
- package/dist/repository/public/conferencePublicRepository.d.ts +26 -0
- package/dist/repository/public/customStatusPublicRepository.d.ts +28 -0
- package/dist/repository/public/eventPublicRepository.d.ts +39 -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/calendarSecuredRepository.d.ts +33 -0
- package/dist/repository/secured/changelogSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/companyPerformanceSecuredRepository.d.ts +37 -0
- package/dist/repository/secured/companySecuredRepository.d.ts +32 -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 +25 -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 +66 -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 +43 -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/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 +35 -0
- package/dist/repository/secured/settingsSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/shortPollingNotificationSecuredRepository.d.ts +31 -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 +40 -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 +28 -0
- package/dist/service/index.d.ts +46 -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/companyPublicService.d.ts +5 -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 +29 -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 +21 -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/authenticationSecuredService.d.ts +56 -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/companyPerformanceSecuredService.d.ts +20 -0
- package/dist/service/secured/companySecuredService.d.ts +26 -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 +44 -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 +23 -0
- package/dist/service/secured/formResultStatusSecuredService.d.ts +6 -0
- package/dist/service/secured/freeSlotSecuredService.d.ts +20 -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/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/shortPollingNotificationSecuredService.d.ts +9 -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 +5 -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 +6 -0
- package/package.json +67 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { CalendarWorkingDayDto, CalendarWorkingDayEntity } from "./WorkingHours";
|
|
2
|
+
import { CalendarsDto } from "@/service/secured/calendarSecuredService";
|
|
3
|
+
/**
|
|
4
|
+
* Copyright 2022 Agendize All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at.
|
|
9
|
+
*
|
|
10
|
+
* Http://www.apache.org/licenses/LICENSE-2.0.
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
export declare class CalendarsEntity {
|
|
19
|
+
users: CalendarEntity[];
|
|
20
|
+
static fromDto(dto: CalendarsDto): CalendarsEntity;
|
|
21
|
+
}
|
|
22
|
+
export declare class CalendarEntity {
|
|
23
|
+
id?: string;
|
|
24
|
+
companies: CalendarCompanyEntity[];
|
|
25
|
+
anonymous: boolean;
|
|
26
|
+
static fromCalendarDto(dto: CalendarDto, timeZone: string, vacations: VacationDto[]): CalendarEntity;
|
|
27
|
+
}
|
|
28
|
+
export declare class CalendarCompanyEntity {
|
|
29
|
+
companyId: string;
|
|
30
|
+
staffId: string;
|
|
31
|
+
ics: string[];
|
|
32
|
+
workingHours: CalendarWorkingDayEntity[];
|
|
33
|
+
static fromCalendarCompanyDto(dto: CalendarCompanyDto, timeZone: string): CalendarCompanyEntity;
|
|
34
|
+
}
|
|
35
|
+
export declare class CalendarTeamEntity {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
company: string;
|
|
39
|
+
managers?: string[];
|
|
40
|
+
members?: string[];
|
|
41
|
+
static fromDto(dto: CalendarTeamDto | CalendarTeamLightDto): CalendarTeamEntity;
|
|
42
|
+
static fromLightDto(dto: CalendarTeamLightDto): CalendarTeamEntity;
|
|
43
|
+
}
|
|
44
|
+
export declare class CalendarDto {
|
|
45
|
+
userId: string;
|
|
46
|
+
companies: CalendarCompanyDto[];
|
|
47
|
+
}
|
|
48
|
+
export declare class CalendarTeamDto {
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
company: string;
|
|
52
|
+
managers?: CalendarTeamManagerDto[];
|
|
53
|
+
members?: CalendarTeamMemberDto[];
|
|
54
|
+
}
|
|
55
|
+
export declare class CalendarTeamLightDto {
|
|
56
|
+
i: string;
|
|
57
|
+
n: string;
|
|
58
|
+
c: string;
|
|
59
|
+
m?: CalendarTeamManagerDto[];
|
|
60
|
+
g?: CalendarTeamMemberDto[];
|
|
61
|
+
}
|
|
62
|
+
export declare class CalendarTeamMemberDto {
|
|
63
|
+
id: string;
|
|
64
|
+
}
|
|
65
|
+
export declare class CalendarTeamManagerDto {
|
|
66
|
+
id: string;
|
|
67
|
+
}
|
|
68
|
+
export declare class CalendarCompanyDto {
|
|
69
|
+
companyId: string;
|
|
70
|
+
staffId: string;
|
|
71
|
+
ics: string[];
|
|
72
|
+
workingHours: CalendarWorkingDayDto[];
|
|
73
|
+
}
|
|
74
|
+
export declare class VacationDto {
|
|
75
|
+
ownerId: string;
|
|
76
|
+
start: number;
|
|
77
|
+
end: number;
|
|
78
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class ChangeEntity {
|
|
2
|
+
fieldName: string;
|
|
3
|
+
oldValue: string;
|
|
4
|
+
newValue: string;
|
|
5
|
+
}
|
|
6
|
+
declare class ChangeDto {
|
|
7
|
+
fieldName: string;
|
|
8
|
+
oldValue: string;
|
|
9
|
+
newValue: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class ChangelogEntity {
|
|
12
|
+
id: string;
|
|
13
|
+
changes: ChangeEntity[];
|
|
14
|
+
static fromChangelogDto(dto: ChangelogDto): ChangelogEntity;
|
|
15
|
+
}
|
|
16
|
+
export declare class ChangelogDto {
|
|
17
|
+
id: string;
|
|
18
|
+
changes: ChangeDto[];
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare type EntityType = PublicEntity | SecuredEntity;
|
|
2
|
+
declare type PublicEntity = 'Public';
|
|
3
|
+
declare type SecuredEntity = 'Secured';
|
|
4
|
+
export type { EntityType, PublicEntity, SecuredEntity };
|
|
5
|
+
declare class BodyEntity<EntityType> {
|
|
6
|
+
bodyEntityType: EntityType;
|
|
7
|
+
constructor(type: EntityType);
|
|
8
|
+
}
|
|
9
|
+
declare class PublicBodyEntity extends BodyEntity<PublicEntity> {
|
|
10
|
+
constructor();
|
|
11
|
+
}
|
|
12
|
+
declare class SecuredBodyEntity extends BodyEntity<SecuredEntity> {
|
|
13
|
+
constructor();
|
|
14
|
+
}
|
|
15
|
+
export { BodyEntity, PublicBodyEntity, SecuredBodyEntity };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ContactEntity } from "./Contact";
|
|
2
|
+
export declare class CommonEnum {
|
|
3
|
+
static getEnumValues(enumValues: any): string[];
|
|
4
|
+
}
|
|
5
|
+
export declare enum Gender {
|
|
6
|
+
male = 0,
|
|
7
|
+
female = 1,
|
|
8
|
+
other = 2
|
|
9
|
+
}
|
|
10
|
+
export declare enum Title {
|
|
11
|
+
none = 0,
|
|
12
|
+
mr = 1,
|
|
13
|
+
mrs = 2,
|
|
14
|
+
dr = 3
|
|
15
|
+
}
|
|
16
|
+
export declare enum Language {
|
|
17
|
+
fr = 0,
|
|
18
|
+
en = 1,
|
|
19
|
+
es = 2,
|
|
20
|
+
de = 3,
|
|
21
|
+
it = 4,
|
|
22
|
+
jp = 5,
|
|
23
|
+
pt = 6,
|
|
24
|
+
nl = 7
|
|
25
|
+
}
|
|
26
|
+
export declare enum NotificationType {
|
|
27
|
+
all = 0,
|
|
28
|
+
email = 1,
|
|
29
|
+
sms = 2,
|
|
30
|
+
none = 3
|
|
31
|
+
}
|
|
32
|
+
export declare enum PromoteFieldKey {
|
|
33
|
+
MISC1 = 0,
|
|
34
|
+
MISC2 = 1,
|
|
35
|
+
MISC3 = 2,
|
|
36
|
+
MISC4 = 3,
|
|
37
|
+
MISC5 = 4,
|
|
38
|
+
MISC6 = 5,
|
|
39
|
+
MISC7 = 6,
|
|
40
|
+
MISC8 = 7,
|
|
41
|
+
MISC9 = 8,
|
|
42
|
+
MISC10 = 9
|
|
43
|
+
}
|
|
44
|
+
export declare function valuePromoteFieldFromContact(fieldKey: string, contact: ContactEntity): string;
|
|
@@ -0,0 +1,157 @@
|
|
|
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
|
+
import { ImageEntity } from "./Image";
|
|
17
|
+
import { AddressDto, AddressEntity, GeoLocationDto, GeoLocationEntity } from "./Address";
|
|
18
|
+
import { SettingsWorkingDayDto, SettingsWorkingDayEntity } from "./WorkingHours";
|
|
19
|
+
import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "./Common";
|
|
20
|
+
export type CompanyEntity<Type = EntityType> = Type extends SecuredEntity ? CompanySecuredEntity : CompanyPublicEntity;
|
|
21
|
+
export declare enum CompanyContactMatchingType {
|
|
22
|
+
EMAIL = "SEARCH_BY_EMAIL",
|
|
23
|
+
PHONE = "SEARCH_BY_PHONE",
|
|
24
|
+
REF = "SEARCH_BY_REF"
|
|
25
|
+
}
|
|
26
|
+
export declare class CompanyPublicEntity extends PublicBodyEntity {
|
|
27
|
+
id?: string;
|
|
28
|
+
name: string;
|
|
29
|
+
picture?: ImageEntity;
|
|
30
|
+
address?: AddressEntity;
|
|
31
|
+
phone?: string;
|
|
32
|
+
email?: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
instagramLink?: string;
|
|
35
|
+
twitterLink?: string;
|
|
36
|
+
facebookLink?: string;
|
|
37
|
+
linkedInLink?: string;
|
|
38
|
+
websiteLink?: string;
|
|
39
|
+
timeZone?: string;
|
|
40
|
+
currency?: {
|
|
41
|
+
iso?: string;
|
|
42
|
+
symbol?: string;
|
|
43
|
+
};
|
|
44
|
+
workingHours?: SettingsWorkingDayEntity[];
|
|
45
|
+
headerBackgroundColor?: string;
|
|
46
|
+
displayPrice?: boolean;
|
|
47
|
+
randomStaff?: boolean;
|
|
48
|
+
scheduledItems?: 'staff-service' | 'service-staff' | 'service' | string;
|
|
49
|
+
enableWhiteLabel?: boolean;
|
|
50
|
+
extendedProperties?: Map<string, any>;
|
|
51
|
+
accountId: string;
|
|
52
|
+
crmBindKey?: CompanyContactMatchingType | string;
|
|
53
|
+
toDto(): CompanyPublicDto;
|
|
54
|
+
static fromDto(dto: CompanyPublicDto): CompanyPublicEntity;
|
|
55
|
+
}
|
|
56
|
+
export declare class CompanyPublicDto {
|
|
57
|
+
id?: string;
|
|
58
|
+
name: string;
|
|
59
|
+
address?: AddressDto;
|
|
60
|
+
picture?: ImageEntity;
|
|
61
|
+
phone?: string;
|
|
62
|
+
email?: string;
|
|
63
|
+
description?: string;
|
|
64
|
+
currency?: {
|
|
65
|
+
iso?: string;
|
|
66
|
+
symbol?: string;
|
|
67
|
+
};
|
|
68
|
+
headerBackgroundColor?: string;
|
|
69
|
+
displayPrice?: boolean;
|
|
70
|
+
randomStaff?: boolean;
|
|
71
|
+
scheduledItems?: 'staff-service' | 'service-staff' | 'service' | string;
|
|
72
|
+
crmBindKey?: CompanyContactMatchingType | string;
|
|
73
|
+
socialMedias?: {
|
|
74
|
+
instagramLink?: string;
|
|
75
|
+
twitterLink?: string;
|
|
76
|
+
facebookPageLink?: string;
|
|
77
|
+
linkedInLink?: string;
|
|
78
|
+
};
|
|
79
|
+
websiteLink?: string;
|
|
80
|
+
timeZone?: string;
|
|
81
|
+
workingHours?: SettingsWorkingDayDto[];
|
|
82
|
+
extendedProperties?: Map<string, any>;
|
|
83
|
+
enableWhiteLabel?: boolean;
|
|
84
|
+
accountId: string;
|
|
85
|
+
}
|
|
86
|
+
export declare class CompanySecuredEntity extends SecuredBodyEntity {
|
|
87
|
+
id?: string;
|
|
88
|
+
name: string;
|
|
89
|
+
picture?: ImageEntity;
|
|
90
|
+
address?: AddressEntity;
|
|
91
|
+
geolocation?: GeoLocationEntity;
|
|
92
|
+
phone?: string;
|
|
93
|
+
email?: string;
|
|
94
|
+
description?: string;
|
|
95
|
+
instagramLink?: string;
|
|
96
|
+
twitterLink?: string;
|
|
97
|
+
facebookLink?: string;
|
|
98
|
+
linkedInLink?: string;
|
|
99
|
+
websiteLink?: string;
|
|
100
|
+
timeZone?: string;
|
|
101
|
+
currency?: string;
|
|
102
|
+
workingHours?: SettingsWorkingDayEntity[];
|
|
103
|
+
encryptedId?: string;
|
|
104
|
+
owner: {
|
|
105
|
+
id: string;
|
|
106
|
+
userName: string;
|
|
107
|
+
};
|
|
108
|
+
photo?: ImageEntity;
|
|
109
|
+
externalId?: string;
|
|
110
|
+
vacations?: {
|
|
111
|
+
endDate: Date;
|
|
112
|
+
startDate: Date;
|
|
113
|
+
}[];
|
|
114
|
+
externalCalendars?: {
|
|
115
|
+
address: string;
|
|
116
|
+
type: string;
|
|
117
|
+
}[];
|
|
118
|
+
pmrAccess?: boolean;
|
|
119
|
+
static toDto(entity: CompanySecuredEntity): CompanySecuredDto;
|
|
120
|
+
}
|
|
121
|
+
export declare class CompanySecuredDto {
|
|
122
|
+
id?: string;
|
|
123
|
+
encryptedId?: string;
|
|
124
|
+
owner: {
|
|
125
|
+
id: string;
|
|
126
|
+
userName: string;
|
|
127
|
+
};
|
|
128
|
+
name: string;
|
|
129
|
+
address?: AddressEntity;
|
|
130
|
+
geolocation?: GeoLocationDto;
|
|
131
|
+
photo?: ImageEntity;
|
|
132
|
+
picture?: ImageEntity;
|
|
133
|
+
phone?: string;
|
|
134
|
+
email?: string;
|
|
135
|
+
description?: string;
|
|
136
|
+
socialMedias?: {
|
|
137
|
+
instagramLink?: string;
|
|
138
|
+
twitteLink?: string;
|
|
139
|
+
facebookPageLink?: string;
|
|
140
|
+
linkedInLink?: string;
|
|
141
|
+
};
|
|
142
|
+
websiteLink?: string;
|
|
143
|
+
timeZone?: string;
|
|
144
|
+
externalId?: string;
|
|
145
|
+
currency?: string;
|
|
146
|
+
workingHours?: SettingsWorkingDayDto[];
|
|
147
|
+
vacations?: {
|
|
148
|
+
endDate: string;
|
|
149
|
+
startDate: string;
|
|
150
|
+
}[];
|
|
151
|
+
externalCalendars?: {
|
|
152
|
+
address: string;
|
|
153
|
+
type: string;
|
|
154
|
+
}[];
|
|
155
|
+
pmrAccess?: boolean;
|
|
156
|
+
static fromDto(dto: CompanySecuredDto): CompanySecuredEntity;
|
|
157
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 CompanyPerformanceEntity {
|
|
17
|
+
appointmentMade: number;
|
|
18
|
+
appointmentCancel: number;
|
|
19
|
+
appointmentFinish: number;
|
|
20
|
+
static fromCompanyPerformanceDto(dto: CompanyPerformanceDto): CompanyPerformanceEntity;
|
|
21
|
+
}
|
|
22
|
+
export declare class CompanyPerformanceDto {
|
|
23
|
+
appointmentMade: number;
|
|
24
|
+
appointmentCancel: number;
|
|
25
|
+
appointmentFinish: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class ConnectorEntity {
|
|
2
|
+
name: string;
|
|
3
|
+
service: string;
|
|
4
|
+
provider: string;
|
|
5
|
+
status: 'available' | 'installed' | 'disabled';
|
|
6
|
+
type: 'calendar' | 'contacts' | 'visio' | 'unknown';
|
|
7
|
+
description: string;
|
|
8
|
+
title: string;
|
|
9
|
+
logoUrl: string;
|
|
10
|
+
initializeLink: string;
|
|
11
|
+
revokeLink: string;
|
|
12
|
+
constructor();
|
|
13
|
+
static fromDto(dto: ConnectorDto): ConnectorEntity;
|
|
14
|
+
}
|
|
15
|
+
export declare class ConnectorDto {
|
|
16
|
+
name?: string;
|
|
17
|
+
service?: string;
|
|
18
|
+
provider?: string;
|
|
19
|
+
status?: 'available' | 'installed' | 'disabled';
|
|
20
|
+
type?: 'calendar' | 'contacts' | 'visio';
|
|
21
|
+
description?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
logoUrl?: string;
|
|
24
|
+
initializeLink?: string;
|
|
25
|
+
revokeLink?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
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
|
+
import { ImageEntity } from './Image';
|
|
17
|
+
import { ConsentEntity } from "./Consent";
|
|
18
|
+
import { AddressDto, AddressEntity } from "./Address";
|
|
19
|
+
import { PromoteFieldKey } from "./CommonEnum";
|
|
20
|
+
export declare class ContactEntity {
|
|
21
|
+
id?: string;
|
|
22
|
+
owner?: {
|
|
23
|
+
userName: string;
|
|
24
|
+
};
|
|
25
|
+
firstName?: string;
|
|
26
|
+
lastName?: string;
|
|
27
|
+
email?: string;
|
|
28
|
+
emailAddresses?: ContactEmailAddressEntity[];
|
|
29
|
+
phone?: string;
|
|
30
|
+
phoneNumbers?: ContactPhoneNumberEntity[];
|
|
31
|
+
picture?: ImageEntity;
|
|
32
|
+
externalId?: string;
|
|
33
|
+
marketingConsent?: ConsentEntity;
|
|
34
|
+
marketingOptins?: {
|
|
35
|
+
email?: {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
title?: string;
|
|
40
|
+
gender?: string;
|
|
41
|
+
tags?: ContactTagEntity[];
|
|
42
|
+
companyName?: string;
|
|
43
|
+
jobTitle?: string;
|
|
44
|
+
address?: AddressEntity;
|
|
45
|
+
birthDate?: string;
|
|
46
|
+
language?: string;
|
|
47
|
+
languageSpoken?: string;
|
|
48
|
+
languageUnderstood?: string[];
|
|
49
|
+
additionalFieldsTitle?: string;
|
|
50
|
+
additionalFields?: ContactAdditionalFieldEntity[];
|
|
51
|
+
creationDate?: Date;
|
|
52
|
+
timeZone?: string;
|
|
53
|
+
fax?: string;
|
|
54
|
+
notification?: string;
|
|
55
|
+
reminder?: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
isExternal?: boolean;
|
|
58
|
+
static fromContactDto(dto: ContactDto, isExternal?: boolean): ContactEntity;
|
|
59
|
+
static toContactDto(entity: ContactEntity): ContactDto;
|
|
60
|
+
}
|
|
61
|
+
export declare class ContactAdvancedSearchEntity {
|
|
62
|
+
firstName?: string;
|
|
63
|
+
lastName?: string;
|
|
64
|
+
externalId?: string;
|
|
65
|
+
email?: string;
|
|
66
|
+
phone?: string;
|
|
67
|
+
zipcode?: string;
|
|
68
|
+
emailMarketing?: boolean;
|
|
69
|
+
blocked?: boolean;
|
|
70
|
+
tags?: ContactTagEntity[];
|
|
71
|
+
activityDateMin?: string;
|
|
72
|
+
activityDateMax?: string;
|
|
73
|
+
showAnonymized?: boolean;
|
|
74
|
+
constructor();
|
|
75
|
+
get countFilter(): number;
|
|
76
|
+
static toDto(entity: ContactAdvancedSearchEntity): ContactAdvancedSearchDto;
|
|
77
|
+
}
|
|
78
|
+
export declare class ContactAdvancedSearchDto {
|
|
79
|
+
firstName?: string;
|
|
80
|
+
lastName?: string;
|
|
81
|
+
externalId?: string;
|
|
82
|
+
email?: string;
|
|
83
|
+
phone?: string;
|
|
84
|
+
zipcode?: string;
|
|
85
|
+
emailMarketing?: boolean;
|
|
86
|
+
blocked?: boolean;
|
|
87
|
+
tags?: ContactTagEntity[];
|
|
88
|
+
activityDateMin?: string;
|
|
89
|
+
activityDateMax?: string;
|
|
90
|
+
showAnonymized?: boolean;
|
|
91
|
+
}
|
|
92
|
+
export declare class ContactPhoneNumberEntity {
|
|
93
|
+
number: string;
|
|
94
|
+
primary?: boolean;
|
|
95
|
+
mobile?: boolean;
|
|
96
|
+
static fromContactPhoneNumberDto(dto: ContactPhoneNumberDto): ContactPhoneNumberEntity;
|
|
97
|
+
static toContactPhoneNumberDto(entity: ContactPhoneNumberEntity): ContactPhoneNumberDto;
|
|
98
|
+
}
|
|
99
|
+
export declare class ContactEmailAddressEntity {
|
|
100
|
+
email: string;
|
|
101
|
+
primary?: boolean;
|
|
102
|
+
static fromContactEmailAddressDto(dto: ContactEmailAddressDto): ContactEmailAddressEntity;
|
|
103
|
+
static toContactEmailAddressDto(entity: ContactEmailAddressEntity): ContactEmailAddressDto;
|
|
104
|
+
}
|
|
105
|
+
export declare class ContactTagEntity {
|
|
106
|
+
id?: string;
|
|
107
|
+
tag: string;
|
|
108
|
+
color?: string;
|
|
109
|
+
textColor?: string;
|
|
110
|
+
static fromContactTagDto(dto: ContactTagDto): ContactTagEntity;
|
|
111
|
+
static toContactTagDto(entity: ContactTagEntity): ContactTagDto;
|
|
112
|
+
}
|
|
113
|
+
export declare class AdditionalFieldsEntity {
|
|
114
|
+
title?: string;
|
|
115
|
+
fields?: ContactAdditionalFieldEntity[];
|
|
116
|
+
static fromAdditionalFieldsDto(dto: AdditionalFieldsDto): AdditionalFieldsEntity;
|
|
117
|
+
static toAdditionalFieldsDto(entity: AdditionalFieldsEntity): AdditionalFieldsDto;
|
|
118
|
+
}
|
|
119
|
+
export declare class ContactAdditionalFieldEntity {
|
|
120
|
+
id: string;
|
|
121
|
+
name: string;
|
|
122
|
+
mandatory: boolean;
|
|
123
|
+
value?: string;
|
|
124
|
+
static fromContactAdditionalFieldDto(dto: ContactAdditionalFieldDto): ContactAdditionalFieldEntity;
|
|
125
|
+
static toContactAdditionalFieldDto(entity: ContactAdditionalFieldEntity): ContactAdditionalFieldDto;
|
|
126
|
+
}
|
|
127
|
+
export declare class ContactDto {
|
|
128
|
+
id?: string;
|
|
129
|
+
owner?: {
|
|
130
|
+
userName: string;
|
|
131
|
+
};
|
|
132
|
+
firstName?: string;
|
|
133
|
+
lastName?: string;
|
|
134
|
+
email?: string;
|
|
135
|
+
emailAddresses?: ContactEmailAddressDto[];
|
|
136
|
+
phone?: string;
|
|
137
|
+
phoneNumbers?: ContactPhoneNumberDto[];
|
|
138
|
+
picture?: ImageEntity;
|
|
139
|
+
externalId?: string;
|
|
140
|
+
marketingConsent?: ConsentEntity;
|
|
141
|
+
marketingOptins?: {
|
|
142
|
+
email?: {
|
|
143
|
+
enabled: boolean;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
title?: string;
|
|
147
|
+
gender?: string;
|
|
148
|
+
tags?: ContactTagDto[];
|
|
149
|
+
companyName?: string;
|
|
150
|
+
jobTitle?: string;
|
|
151
|
+
address?: AddressDto;
|
|
152
|
+
birthDate?: string;
|
|
153
|
+
language?: string;
|
|
154
|
+
languageSpoken?: string;
|
|
155
|
+
languageUnderstood?: string[];
|
|
156
|
+
additionalFieldsTitle?: string;
|
|
157
|
+
additionalFields?: ContactAdditionalFieldDto[];
|
|
158
|
+
creationDate?: string;
|
|
159
|
+
timeZone?: string;
|
|
160
|
+
fax?: string;
|
|
161
|
+
notificationType?: string;
|
|
162
|
+
reminderType?: string;
|
|
163
|
+
description?: string;
|
|
164
|
+
}
|
|
165
|
+
export declare class ContactPhoneNumberDto {
|
|
166
|
+
number: string;
|
|
167
|
+
primary?: boolean;
|
|
168
|
+
mobile?: boolean;
|
|
169
|
+
}
|
|
170
|
+
export declare class ContactEmailAddressDto {
|
|
171
|
+
email: string;
|
|
172
|
+
primary?: boolean;
|
|
173
|
+
}
|
|
174
|
+
export declare class ContactTagDto {
|
|
175
|
+
id?: string;
|
|
176
|
+
tag: string;
|
|
177
|
+
color?: string;
|
|
178
|
+
}
|
|
179
|
+
export declare class ContactAdditionalFieldDto {
|
|
180
|
+
id: string;
|
|
181
|
+
name: string;
|
|
182
|
+
mandatory: boolean;
|
|
183
|
+
value?: string;
|
|
184
|
+
}
|
|
185
|
+
export declare class AdditionalFieldsDto {
|
|
186
|
+
title?: string;
|
|
187
|
+
fields?: ContactAdditionalFieldDto[];
|
|
188
|
+
}
|
|
189
|
+
export declare class PromoteFieldEntity {
|
|
190
|
+
id: string;
|
|
191
|
+
fieldKey: PromoteFieldKey;
|
|
192
|
+
account: string;
|
|
193
|
+
index: number;
|
|
194
|
+
static fromPromoteFieldDto(dto: PromoteFieldDto): PromoteFieldEntity;
|
|
195
|
+
static toPromoteFieldDto(entity: PromoteFieldEntity): PromoteFieldDto;
|
|
196
|
+
}
|
|
197
|
+
export declare class PromoteFieldDto {
|
|
198
|
+
id: string;
|
|
199
|
+
fieldKey: PromoteFieldKey;
|
|
200
|
+
account: string;
|
|
201
|
+
index: number;
|
|
202
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class CustomStatusEntity {
|
|
2
|
+
id?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
native?: boolean;
|
|
7
|
+
static fromCustomStatusDto(dto: CustomStatusDto): CustomStatusEntity;
|
|
8
|
+
static toCustomStatusDto(entity: CustomStatusEntity): CustomStatusDto;
|
|
9
|
+
}
|
|
10
|
+
export declare class CustomStatusDto {
|
|
11
|
+
id?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
color?: string;
|
|
15
|
+
native?: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
import { UserEntity } from "./User";
|
|
17
|
+
import { StaffEntity } from "./Staff";
|
|
18
|
+
export declare class EmployeeEntity {
|
|
19
|
+
user?: {
|
|
20
|
+
user?: UserEntity;
|
|
21
|
+
staffs?: StaffEntity[];
|
|
22
|
+
};
|
|
23
|
+
staff?: StaffEntity;
|
|
24
|
+
private constructor();
|
|
25
|
+
static fromUserEntity(user: UserEntity, staffs?: StaffEntity[]): EmployeeEntity;
|
|
26
|
+
static fromStaffEntity(staff: StaffEntity): EmployeeEntity;
|
|
27
|
+
}
|