@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,180 @@
|
|
|
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 { HelpDto, HelpEntity } from "./Help";
|
|
18
|
+
import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
|
|
19
|
+
import { LinkDto, LinkEntity } from "@/data/Link";
|
|
20
|
+
export type AccountEntity<Type = EntityType> = Type extends SecuredEntity ? AccountSecuredEntity : AccountPublicEntity;
|
|
21
|
+
export declare class AccountPublicEntity extends PublicBodyEntity {
|
|
22
|
+
id: string;
|
|
23
|
+
whiteLabel?: WhiteLabelSettingsPublicEntity;
|
|
24
|
+
static fromDto(dto: AccountPublicDto): AccountPublicEntity;
|
|
25
|
+
}
|
|
26
|
+
export declare class AccountPublicDto {
|
|
27
|
+
id: string;
|
|
28
|
+
whiteLabel?: WhiteLabelSettingsPublicDto;
|
|
29
|
+
}
|
|
30
|
+
export declare class WhiteLabelSettingsPublicEntity {
|
|
31
|
+
accountName?: string;
|
|
32
|
+
accountColor?: string;
|
|
33
|
+
enableWhiteLabel?: boolean;
|
|
34
|
+
usageCondition?: LinkEntity;
|
|
35
|
+
privacyPolicy?: LinkEntity;
|
|
36
|
+
favicon?: ImageEntity;
|
|
37
|
+
logo?: ImageEntity;
|
|
38
|
+
static fromDto(dto: WhiteLabelSettingsPublicDto): WhiteLabelSettingsPublicEntity;
|
|
39
|
+
}
|
|
40
|
+
export interface WhiteLabelSettingsPublicDto {
|
|
41
|
+
accountName?: string;
|
|
42
|
+
accountColor?: string;
|
|
43
|
+
enableWhiteLabel?: boolean;
|
|
44
|
+
usageCondition?: LinkDto;
|
|
45
|
+
privacyPolicy?: LinkDto;
|
|
46
|
+
favicon?: ImageEntity;
|
|
47
|
+
logo?: ImageEntity;
|
|
48
|
+
}
|
|
49
|
+
export declare class AccountSecuredEntity extends SecuredBodyEntity {
|
|
50
|
+
id: string;
|
|
51
|
+
firstName?: string;
|
|
52
|
+
lastName?: string;
|
|
53
|
+
email?: string;
|
|
54
|
+
picture?: ImageEntity;
|
|
55
|
+
userDomain?: string;
|
|
56
|
+
userWidgetDomain: string;
|
|
57
|
+
languageVariant?: string;
|
|
58
|
+
acls?: AclEntity[];
|
|
59
|
+
profileSettings?: ProfileSettingsEntity;
|
|
60
|
+
calendarSettings?: CalendarSettingsEntity;
|
|
61
|
+
directories?: string[];
|
|
62
|
+
help?: HelpEntity;
|
|
63
|
+
accountSettings?: AccountSettingsEntity;
|
|
64
|
+
constructor();
|
|
65
|
+
static fromAccountDto(dto: AccountDto): AccountSecuredEntity;
|
|
66
|
+
static fromAccountDto2(dto: AccountDto): AccountSecuredEntity;
|
|
67
|
+
static toAccountDto(entity: AccountSecuredEntity): AccountDto;
|
|
68
|
+
static toAccountDto2(entity: AccountSecuredEntity): AccountDto;
|
|
69
|
+
}
|
|
70
|
+
export declare class ProfileSettingsEntity {
|
|
71
|
+
locale?: string;
|
|
72
|
+
timeZone?: string;
|
|
73
|
+
country?: string;
|
|
74
|
+
defaultAccount?: string;
|
|
75
|
+
accountName?: string;
|
|
76
|
+
betaNh?: boolean;
|
|
77
|
+
hasSyncModule?: boolean;
|
|
78
|
+
externalLinks?: {
|
|
79
|
+
label: string;
|
|
80
|
+
link: string;
|
|
81
|
+
}[];
|
|
82
|
+
realm?: string;
|
|
83
|
+
hasVisio?: boolean;
|
|
84
|
+
}
|
|
85
|
+
export declare class CalendarSettingsEntity {
|
|
86
|
+
minTime?: string;
|
|
87
|
+
maxTime?: string;
|
|
88
|
+
eventColor?: string;
|
|
89
|
+
displayDays?: number[];
|
|
90
|
+
eventName?: string;
|
|
91
|
+
slotDuration?: number;
|
|
92
|
+
showBuffer?: boolean;
|
|
93
|
+
privatizeExternal?: boolean;
|
|
94
|
+
defaultView?: string;
|
|
95
|
+
}
|
|
96
|
+
export declare class AclEntity {
|
|
97
|
+
active: boolean;
|
|
98
|
+
organisationId: string;
|
|
99
|
+
organisation: string;
|
|
100
|
+
organisationName?: string;
|
|
101
|
+
userId: string;
|
|
102
|
+
rightIds?: string[];
|
|
103
|
+
}
|
|
104
|
+
export declare class AccountSettingsEntity {
|
|
105
|
+
name?: string;
|
|
106
|
+
email?: string;
|
|
107
|
+
logo?: ImageEntity;
|
|
108
|
+
primaryColor?: string;
|
|
109
|
+
}
|
|
110
|
+
export declare class AccountDto {
|
|
111
|
+
id: string;
|
|
112
|
+
firstName?: string;
|
|
113
|
+
lastName?: string;
|
|
114
|
+
email?: string;
|
|
115
|
+
userDomain?: string;
|
|
116
|
+
userWidgetDomain?: string;
|
|
117
|
+
languageVariant?: string;
|
|
118
|
+
picture?: ImageEntity;
|
|
119
|
+
profileSettings?: {
|
|
120
|
+
country?: string;
|
|
121
|
+
language?: string;
|
|
122
|
+
timeZone?: string;
|
|
123
|
+
defaultAccount?: string;
|
|
124
|
+
accountName?: string;
|
|
125
|
+
betaNh?: boolean;
|
|
126
|
+
hasSyncModule?: boolean;
|
|
127
|
+
externalLinks?: {
|
|
128
|
+
label: string;
|
|
129
|
+
link: string;
|
|
130
|
+
}[];
|
|
131
|
+
realm?: string;
|
|
132
|
+
hasVisio?: boolean;
|
|
133
|
+
preferences?: {
|
|
134
|
+
language?: string;
|
|
135
|
+
timeZone?: string;
|
|
136
|
+
country?: string;
|
|
137
|
+
};
|
|
138
|
+
calendar?: {
|
|
139
|
+
minTime?: string;
|
|
140
|
+
maxTime?: string;
|
|
141
|
+
eventColor?: string;
|
|
142
|
+
displayedDays?: number[];
|
|
143
|
+
eventName?: string;
|
|
144
|
+
slotDuration?: number;
|
|
145
|
+
showBuffer?: boolean;
|
|
146
|
+
privatizeExternal?: boolean;
|
|
147
|
+
defaultView?: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
calendarSettings?: {
|
|
151
|
+
minTime?: string;
|
|
152
|
+
maxTime?: string;
|
|
153
|
+
eventColor?: string;
|
|
154
|
+
displayedDays?: number[];
|
|
155
|
+
eventName?: string;
|
|
156
|
+
slotDuration?: number;
|
|
157
|
+
showBuffer?: boolean;
|
|
158
|
+
privatizeExternal?: boolean;
|
|
159
|
+
defaultView?: string;
|
|
160
|
+
};
|
|
161
|
+
acls?: [
|
|
162
|
+
{
|
|
163
|
+
active: boolean;
|
|
164
|
+
organisationId: string;
|
|
165
|
+
organisation: string;
|
|
166
|
+
organisationName?: string;
|
|
167
|
+
userId: string;
|
|
168
|
+
rightIds?: string[];
|
|
169
|
+
}
|
|
170
|
+
];
|
|
171
|
+
accountSettings?: {
|
|
172
|
+
name?: string;
|
|
173
|
+
email?: string;
|
|
174
|
+
logo?: ImageEntity;
|
|
175
|
+
primaryColor?: string;
|
|
176
|
+
};
|
|
177
|
+
defaultAccount?: string;
|
|
178
|
+
directories?: string[];
|
|
179
|
+
help?: HelpDto;
|
|
180
|
+
}
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
export declare abstract class ActivityEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
date: Date;
|
|
4
|
+
user?: {
|
|
5
|
+
id?: string;
|
|
6
|
+
userName?: string;
|
|
7
|
+
emailAddress?: string;
|
|
8
|
+
firstName?: string;
|
|
9
|
+
lastName?: string;
|
|
10
|
+
};
|
|
11
|
+
marketingConsent?: string;
|
|
12
|
+
type: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict';
|
|
13
|
+
event?: 'created' | 'updated' | 'deleted';
|
|
14
|
+
updatedAttributes?: string[];
|
|
15
|
+
protected constructor(id: string, date: Date, user: {
|
|
16
|
+
id: string;
|
|
17
|
+
userName?: string;
|
|
18
|
+
emailAddress?: string;
|
|
19
|
+
firstName?: string;
|
|
20
|
+
lastName?: string;
|
|
21
|
+
} | undefined, marketingConsent?: string);
|
|
22
|
+
static fromActivityDto(dto: ActivityDto): ActivityEntity | undefined;
|
|
23
|
+
}
|
|
24
|
+
export declare enum AppointmentActivityType {
|
|
25
|
+
DELETE = "appointment-delete",
|
|
26
|
+
CREATION = "appointment-creation",
|
|
27
|
+
FORM_UPDATE = "appointment-form-update",
|
|
28
|
+
LOCATION_UPDATE = "appointment-location-update",
|
|
29
|
+
NOTE_UPDATE = "appointment-note-update",
|
|
30
|
+
RESOURCE_UPDATE = "appointment-resource-update",
|
|
31
|
+
SERVICE_UPDATE = "appointment-service-update",
|
|
32
|
+
STAFF_UPDATE = "appointment-staff-update",
|
|
33
|
+
DATES_UPDATE = "appointment-dates-update",
|
|
34
|
+
STATUS_UPDATE = "appointment-status-update",
|
|
35
|
+
END_UPDATE = "appointment-end-update",
|
|
36
|
+
START_UPDATE = "appointment-start-update",
|
|
37
|
+
CLIENT_UPDATE = "appointment-client-update"
|
|
38
|
+
}
|
|
39
|
+
export declare enum AppointmentActivitySourceType {
|
|
40
|
+
MANUAL = "manual",
|
|
41
|
+
WIDGET = "widget",
|
|
42
|
+
EXTERNAL = "external",
|
|
43
|
+
MANUAL_PHONE = "manualPhone",
|
|
44
|
+
API = "api",
|
|
45
|
+
BACKOFFICE_WIDGET = "backofficeWidget",
|
|
46
|
+
API_MOBILE = "mobile",
|
|
47
|
+
FACEBOOK = "facebook",
|
|
48
|
+
USER = "user"
|
|
49
|
+
}
|
|
50
|
+
export declare class AppointmentActivityEntity extends ActivityEntity {
|
|
51
|
+
start?: Date;
|
|
52
|
+
end?: Date;
|
|
53
|
+
service?: {
|
|
54
|
+
id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
};
|
|
57
|
+
resource?: {
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
};
|
|
61
|
+
staff?: {
|
|
62
|
+
id: string;
|
|
63
|
+
firstName?: string;
|
|
64
|
+
lastName?: string;
|
|
65
|
+
};
|
|
66
|
+
company?: {
|
|
67
|
+
id: string;
|
|
68
|
+
name: string;
|
|
69
|
+
};
|
|
70
|
+
client?: {
|
|
71
|
+
id?: string;
|
|
72
|
+
firstName?: string;
|
|
73
|
+
lastName?: string;
|
|
74
|
+
emailAddress?: string;
|
|
75
|
+
};
|
|
76
|
+
appointmentId: string;
|
|
77
|
+
location?: string;
|
|
78
|
+
notes?: string;
|
|
79
|
+
status?: string;
|
|
80
|
+
activityType?: AppointmentActivityType;
|
|
81
|
+
sourceType?: AppointmentActivitySourceType;
|
|
82
|
+
constructor(id: string, date: Date, user: {
|
|
83
|
+
id: string;
|
|
84
|
+
userName?: string;
|
|
85
|
+
emailAddress?: string;
|
|
86
|
+
firstName?: string;
|
|
87
|
+
lastName?: string;
|
|
88
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
89
|
+
static fromAppointmentDto(id: string, date: Date, user: {
|
|
90
|
+
id: string;
|
|
91
|
+
userName?: string;
|
|
92
|
+
emailAddress?: string;
|
|
93
|
+
firstName?: string;
|
|
94
|
+
lastName?: string;
|
|
95
|
+
} | undefined, dto: AppointmentActivityDto, event?: 'created' | 'updated' | 'deleted', updatedAttributes?: AttributesUpdateType[], marketingConsent?: string): ActivityEntity | undefined;
|
|
96
|
+
}
|
|
97
|
+
export declare class AppointmentUpdateDatesActivityEntity extends AppointmentActivityEntity {
|
|
98
|
+
previousStart?: Date;
|
|
99
|
+
previousEnd?: Date;
|
|
100
|
+
constructor(id: string, date: Date, user: {
|
|
101
|
+
id: string;
|
|
102
|
+
userName?: string;
|
|
103
|
+
emailAddress?: string;
|
|
104
|
+
firstName?: string;
|
|
105
|
+
lastName?: string;
|
|
106
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
107
|
+
}
|
|
108
|
+
export declare class AppointmentUpdateStartActivityEntity extends AppointmentActivityEntity {
|
|
109
|
+
previousStart?: Date;
|
|
110
|
+
constructor(id: string, date: Date, user: {
|
|
111
|
+
id: string;
|
|
112
|
+
userName?: string;
|
|
113
|
+
emailAddress?: string;
|
|
114
|
+
firstName?: string;
|
|
115
|
+
lastName?: string;
|
|
116
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
117
|
+
}
|
|
118
|
+
export declare class AppointmentUpdateEndActivityEntity extends AppointmentActivityEntity {
|
|
119
|
+
previousEnd?: Date;
|
|
120
|
+
constructor(id: string, date: Date, user: {
|
|
121
|
+
id: string;
|
|
122
|
+
userName?: string;
|
|
123
|
+
emailAddress?: string;
|
|
124
|
+
firstName?: string;
|
|
125
|
+
lastName?: string;
|
|
126
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
127
|
+
}
|
|
128
|
+
export declare class AppointmentUpdateStatusActivityEntity extends AppointmentActivityEntity {
|
|
129
|
+
previousStatus?: string;
|
|
130
|
+
constructor(id: string, date: Date, user: {
|
|
131
|
+
id: string;
|
|
132
|
+
userName?: string;
|
|
133
|
+
emailAddress?: string;
|
|
134
|
+
firstName?: string;
|
|
135
|
+
lastName?: string;
|
|
136
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
137
|
+
}
|
|
138
|
+
export declare class AppointmentUpdateStaffActivityEntity extends AppointmentActivityEntity {
|
|
139
|
+
previousStaff?: {
|
|
140
|
+
id: string;
|
|
141
|
+
firstName?: string;
|
|
142
|
+
lastName?: string;
|
|
143
|
+
};
|
|
144
|
+
constructor(id: string, date: Date, user: {
|
|
145
|
+
id: string;
|
|
146
|
+
userName?: string;
|
|
147
|
+
emailAddress?: string;
|
|
148
|
+
firstName?: string;
|
|
149
|
+
lastName?: string;
|
|
150
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
151
|
+
}
|
|
152
|
+
export declare class AppointmentUpdateClientActivityEntity extends AppointmentActivityEntity {
|
|
153
|
+
previousClient?: {
|
|
154
|
+
id: string;
|
|
155
|
+
firstName?: string;
|
|
156
|
+
lastName?: string;
|
|
157
|
+
emailAddress?: string;
|
|
158
|
+
};
|
|
159
|
+
constructor(id: string, date: Date, user: {
|
|
160
|
+
id: string;
|
|
161
|
+
userName?: string;
|
|
162
|
+
emailAddress?: string;
|
|
163
|
+
firstName?: string;
|
|
164
|
+
lastName?: string;
|
|
165
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
166
|
+
}
|
|
167
|
+
export declare class AppointmentUpdateServiceActivityEntity extends AppointmentActivityEntity {
|
|
168
|
+
previousService?: {
|
|
169
|
+
id: string;
|
|
170
|
+
name: string;
|
|
171
|
+
};
|
|
172
|
+
constructor(id: string, date: Date, user: {
|
|
173
|
+
id: string;
|
|
174
|
+
userName?: string;
|
|
175
|
+
emailAddress?: string;
|
|
176
|
+
firstName?: string;
|
|
177
|
+
lastName?: string;
|
|
178
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
179
|
+
}
|
|
180
|
+
export declare class AppointmentUpdateResourceActivityEntity extends AppointmentActivityEntity {
|
|
181
|
+
constructor(id: string, date: Date, user: {
|
|
182
|
+
id: string;
|
|
183
|
+
userName?: string;
|
|
184
|
+
emailAddress?: string;
|
|
185
|
+
firstName?: string;
|
|
186
|
+
lastName?: string;
|
|
187
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
188
|
+
}
|
|
189
|
+
export declare class AppointmentUpdateNoteActivityEntity extends AppointmentActivityEntity {
|
|
190
|
+
previousNotes?: string;
|
|
191
|
+
constructor(id: string, date: Date, user: {
|
|
192
|
+
id: string;
|
|
193
|
+
userName?: string;
|
|
194
|
+
emailAddress?: string;
|
|
195
|
+
firstName?: string;
|
|
196
|
+
lastName?: string;
|
|
197
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
198
|
+
}
|
|
199
|
+
export declare class AppointmentUpdateLocationActivityEntity extends AppointmentActivityEntity {
|
|
200
|
+
previousLocation?: string;
|
|
201
|
+
constructor(id: string, date: Date, user: {
|
|
202
|
+
id: string;
|
|
203
|
+
userName?: string;
|
|
204
|
+
emailAddress?: string;
|
|
205
|
+
firstName?: string;
|
|
206
|
+
lastName?: string;
|
|
207
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
208
|
+
}
|
|
209
|
+
export declare class AppointmentUpdateFormActivityEntity extends AppointmentActivityEntity {
|
|
210
|
+
formValues?: {};
|
|
211
|
+
previousFormValues?: {};
|
|
212
|
+
constructor(id: string, date: Date, user: {
|
|
213
|
+
id: string;
|
|
214
|
+
userName?: string;
|
|
215
|
+
emailAddress?: string;
|
|
216
|
+
firstName?: string;
|
|
217
|
+
lastName?: string;
|
|
218
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
219
|
+
}
|
|
220
|
+
export declare class AppointmentCreationActivityEntity extends AppointmentActivityEntity {
|
|
221
|
+
constructor(id: string, date: Date, user: {
|
|
222
|
+
id: string;
|
|
223
|
+
userName?: string;
|
|
224
|
+
emailAddress?: string;
|
|
225
|
+
firstName?: string;
|
|
226
|
+
lastName?: string;
|
|
227
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
228
|
+
}
|
|
229
|
+
export declare class AppointmentDeletionActivityEntity extends AppointmentActivityEntity {
|
|
230
|
+
constructor(id: string, date: Date, user: {
|
|
231
|
+
id: string;
|
|
232
|
+
userName?: string;
|
|
233
|
+
emailAddress?: string;
|
|
234
|
+
firstName?: string;
|
|
235
|
+
lastName?: string;
|
|
236
|
+
} | undefined, dto: AppointmentActivityDto, marketingConsent?: string);
|
|
237
|
+
}
|
|
238
|
+
export declare class NoteActivityEntity extends ActivityEntity {
|
|
239
|
+
body: string;
|
|
240
|
+
constructor(id: string, date: Date, user: {
|
|
241
|
+
id: string;
|
|
242
|
+
userName?: string;
|
|
243
|
+
emailAddress?: string;
|
|
244
|
+
firstName?: string;
|
|
245
|
+
lastName?: string;
|
|
246
|
+
} | undefined, body: string);
|
|
247
|
+
}
|
|
248
|
+
export declare class FormResultActivityEntity extends ActivityEntity {
|
|
249
|
+
formId?: string;
|
|
250
|
+
formName?: string;
|
|
251
|
+
formResultId?: string;
|
|
252
|
+
constructor(id: string, date: Date, user: {
|
|
253
|
+
id: string;
|
|
254
|
+
userName?: string;
|
|
255
|
+
emailAddress?: string;
|
|
256
|
+
firstName?: string;
|
|
257
|
+
lastName?: string;
|
|
258
|
+
} | undefined, formId?: string, formName?: string, formResultId?: string);
|
|
259
|
+
}
|
|
260
|
+
export declare class ConsentActivityEntity extends ActivityEntity {
|
|
261
|
+
note: string;
|
|
262
|
+
constructor(id: string, date: Date, user: {
|
|
263
|
+
id: string;
|
|
264
|
+
userName?: string;
|
|
265
|
+
emailAddress?: string;
|
|
266
|
+
firstName?: string;
|
|
267
|
+
lastName?: string;
|
|
268
|
+
} | undefined, note: string);
|
|
269
|
+
}
|
|
270
|
+
export declare class Email extends ActivityEntity {
|
|
271
|
+
subject: string;
|
|
272
|
+
body: string;
|
|
273
|
+
constructor(id: string, date: Date, user: {
|
|
274
|
+
id: string;
|
|
275
|
+
userName?: string;
|
|
276
|
+
emailAddress?: string;
|
|
277
|
+
firstName?: string;
|
|
278
|
+
lastName?: string;
|
|
279
|
+
} | undefined, subject: string, body: string);
|
|
280
|
+
}
|
|
281
|
+
export declare class EmailNotificationActivityEntity extends ActivityEntity {
|
|
282
|
+
subject: string;
|
|
283
|
+
body: string;
|
|
284
|
+
emailId: string;
|
|
285
|
+
selfLink: string;
|
|
286
|
+
companyId: string;
|
|
287
|
+
constructor(id: string, date: Date, user: {
|
|
288
|
+
id: string;
|
|
289
|
+
userName?: string;
|
|
290
|
+
emailAddress?: string;
|
|
291
|
+
firstName?: string;
|
|
292
|
+
lastName?: string;
|
|
293
|
+
} | undefined, subject: string, body: string, emailId: string, selfLink: string, companyId: string);
|
|
294
|
+
}
|
|
295
|
+
export declare class TextMessageNotificationActivityEntity extends ActivityEntity {
|
|
296
|
+
body: string;
|
|
297
|
+
constructor(id: string, date: Date, user: {
|
|
298
|
+
id: string;
|
|
299
|
+
userName?: string;
|
|
300
|
+
emailAddress?: string;
|
|
301
|
+
firstName?: string;
|
|
302
|
+
lastName?: string;
|
|
303
|
+
} | undefined, body: string);
|
|
304
|
+
}
|
|
305
|
+
export declare class ConflictActivityEntity extends ActivityEntity {
|
|
306
|
+
constructor(id: string, date: Date, user: {
|
|
307
|
+
id: string;
|
|
308
|
+
userName?: string;
|
|
309
|
+
emailAddress?: string;
|
|
310
|
+
firstName?: string;
|
|
311
|
+
lastName?: string;
|
|
312
|
+
} | undefined);
|
|
313
|
+
}
|
|
314
|
+
declare class AppointmentActivityDto {
|
|
315
|
+
id: string;
|
|
316
|
+
start?: {
|
|
317
|
+
dateTime: string;
|
|
318
|
+
timeZone: string;
|
|
319
|
+
};
|
|
320
|
+
end?: {
|
|
321
|
+
dateTime: string;
|
|
322
|
+
timeZone: string;
|
|
323
|
+
};
|
|
324
|
+
service?: {
|
|
325
|
+
id: string;
|
|
326
|
+
name: string;
|
|
327
|
+
};
|
|
328
|
+
resource?: {
|
|
329
|
+
id: string;
|
|
330
|
+
name: string;
|
|
331
|
+
};
|
|
332
|
+
staff?: {
|
|
333
|
+
id: string;
|
|
334
|
+
firstName?: string;
|
|
335
|
+
lastName?: string;
|
|
336
|
+
};
|
|
337
|
+
company?: {
|
|
338
|
+
id: string;
|
|
339
|
+
name: string;
|
|
340
|
+
};
|
|
341
|
+
client?: {
|
|
342
|
+
id?: string;
|
|
343
|
+
firstName?: string;
|
|
344
|
+
lastName?: string;
|
|
345
|
+
emailAddress?: string;
|
|
346
|
+
};
|
|
347
|
+
formValues?: {};
|
|
348
|
+
notes?: string;
|
|
349
|
+
location?: string;
|
|
350
|
+
status: string;
|
|
351
|
+
sourceType?: AppointmentActivitySourceType;
|
|
352
|
+
changeType?: AppointmentChangeTypes.START | AppointmentChangeTypes.END | AppointmentChangeTypes.STAFF | AppointmentChangeTypes.LOCATION | AppointmentChangeTypes.SERVICE | AppointmentChangeTypes.RESOURCE | AppointmentChangeTypes.FORM | AppointmentChangeTypes.STATUS | AppointmentChangeTypes.NOTES | AppointmentChangeTypes.CLIENT;
|
|
353
|
+
previousStart?: {
|
|
354
|
+
dateTime: string;
|
|
355
|
+
timeZone: string;
|
|
356
|
+
};
|
|
357
|
+
previousEnd?: {
|
|
358
|
+
dateTime: string;
|
|
359
|
+
timeZone: string;
|
|
360
|
+
};
|
|
361
|
+
previousService?: {
|
|
362
|
+
id: string;
|
|
363
|
+
name: string;
|
|
364
|
+
};
|
|
365
|
+
previousStaff?: {
|
|
366
|
+
id: string;
|
|
367
|
+
firstName?: string;
|
|
368
|
+
lastName?: string;
|
|
369
|
+
};
|
|
370
|
+
previousLocation?: string;
|
|
371
|
+
previousNotes?: string;
|
|
372
|
+
previousStatus?: string;
|
|
373
|
+
previousFormValues?: {};
|
|
374
|
+
previousClient?: {
|
|
375
|
+
id: string;
|
|
376
|
+
firstName?: string;
|
|
377
|
+
lastName?: string;
|
|
378
|
+
emailAddress?: string;
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
export type AttributesUpdateType = 'start' | 'end' | 'staff' | 'location' | 'service' | 'resource' | 'form' | 'status' | 'notes' | string;
|
|
382
|
+
export declare enum AppointmentChangeTypes {
|
|
383
|
+
START = "start",
|
|
384
|
+
END = "end",
|
|
385
|
+
STAFF = "staff",
|
|
386
|
+
LOCATION = "location",
|
|
387
|
+
SERVICE = "service",
|
|
388
|
+
RESOURCE = "resource",
|
|
389
|
+
FORM = "form",
|
|
390
|
+
STATUS = "status",
|
|
391
|
+
NOTES = "notes",
|
|
392
|
+
CLIENT = "client"
|
|
393
|
+
}
|
|
394
|
+
export declare class ActivityDto {
|
|
395
|
+
id: string;
|
|
396
|
+
type?: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict';
|
|
397
|
+
event?: 'created' | 'updated' | 'deleted';
|
|
398
|
+
updatedAttributes?: AttributesUpdateType[];
|
|
399
|
+
date?: {
|
|
400
|
+
dateTime: string;
|
|
401
|
+
timeZone?: string;
|
|
402
|
+
};
|
|
403
|
+
user?: {
|
|
404
|
+
id: string;
|
|
405
|
+
userName?: string;
|
|
406
|
+
emailAddress?: string;
|
|
407
|
+
firstName?: string;
|
|
408
|
+
lastName?: string;
|
|
409
|
+
};
|
|
410
|
+
note?: {
|
|
411
|
+
id: string;
|
|
412
|
+
body: string;
|
|
413
|
+
};
|
|
414
|
+
appointment?: AppointmentActivityDto;
|
|
415
|
+
formResult?: {
|
|
416
|
+
id: string;
|
|
417
|
+
form: {
|
|
418
|
+
id: string;
|
|
419
|
+
name: string;
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
marketingConsent?: {
|
|
423
|
+
text: string;
|
|
424
|
+
};
|
|
425
|
+
emailNotification?: {
|
|
426
|
+
subject: string;
|
|
427
|
+
body: string;
|
|
428
|
+
selfLink: string;
|
|
429
|
+
id: string;
|
|
430
|
+
companyId: string;
|
|
431
|
+
};
|
|
432
|
+
email?: {
|
|
433
|
+
subject: string;
|
|
434
|
+
body: string;
|
|
435
|
+
selfLink: string;
|
|
436
|
+
id: string;
|
|
437
|
+
companyId: string;
|
|
438
|
+
};
|
|
439
|
+
textMessage?: {
|
|
440
|
+
body: string;
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
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,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
|
+
}
|