@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,213 @@
|
|
|
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 { SettingsPeriodWorkingDto, SettingsPeriodWorkingEntity, SettingsWorkingDayDto, SettingsWorkingDayEntity } from "./WorkingHours";
|
|
18
|
+
import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
|
|
19
|
+
import { ServiceGroupPublicDto, ServiceGroupPublicEntity } from "@/data/ServiceGroup";
|
|
20
|
+
export type ServiceEntity<Type = EntityType> = Type extends SecuredEntity ? ServiceSecuredEntity : ServicePublicEntity;
|
|
21
|
+
export type ServicesListEntity<Type = EntityType> = Type extends SecuredEntity ? ServicesListSecuredEntity : ServicesListPublicEntity;
|
|
22
|
+
export declare class ServicePublicEntity extends PublicBodyEntity {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
payable?: boolean;
|
|
27
|
+
price?: number;
|
|
28
|
+
picture?: ImageEntity;
|
|
29
|
+
readableDuration?: string;
|
|
30
|
+
duration?: number;
|
|
31
|
+
locations: ('companyAddress' | 'videoconference' | 'phone' | 'custom')[];
|
|
32
|
+
locationCustom?: string;
|
|
33
|
+
staffs?: string[];
|
|
34
|
+
maxCancellationDelay?: number;
|
|
35
|
+
extendedProperties?: Map<string, any>;
|
|
36
|
+
static fromDto(dto: ServicePublicDto): ServicePublicEntity;
|
|
37
|
+
}
|
|
38
|
+
export declare class ServicesListPublicEntity extends PublicBodyEntity {
|
|
39
|
+
services?: ServicePublicEntity[];
|
|
40
|
+
groups?: ServiceGroupPublicEntity[];
|
|
41
|
+
static fromDto(dto: ServicesListPublicDto): ServicesListPublicEntity;
|
|
42
|
+
}
|
|
43
|
+
export declare class ServicePublicDto {
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
description?: string;
|
|
47
|
+
payable?: boolean;
|
|
48
|
+
price?: number;
|
|
49
|
+
picture?: ImageEntity;
|
|
50
|
+
readableDuration?: string;
|
|
51
|
+
duration?: number;
|
|
52
|
+
maxCancellationDelay?: number;
|
|
53
|
+
locations: ('companyAddress' | 'videoconference' | 'phone' | 'custom')[];
|
|
54
|
+
locationCustom?: string;
|
|
55
|
+
staffs?: string[];
|
|
56
|
+
extendedProperties?: Map<string, any>;
|
|
57
|
+
}
|
|
58
|
+
export declare class ServicesListPublicDto {
|
|
59
|
+
services?: ServicePublicDto[];
|
|
60
|
+
groups?: ServiceGroupPublicDto[];
|
|
61
|
+
}
|
|
62
|
+
export declare enum ServiceTypeEntity {
|
|
63
|
+
DEFAULT = "default",
|
|
64
|
+
EVENT = "event"
|
|
65
|
+
}
|
|
66
|
+
export declare class ServiceSecuredEntity extends SecuredBodyEntity {
|
|
67
|
+
id?: string;
|
|
68
|
+
cipherId?: string;
|
|
69
|
+
company?: {
|
|
70
|
+
id: string;
|
|
71
|
+
name?: string;
|
|
72
|
+
};
|
|
73
|
+
name: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
capacity: number;
|
|
76
|
+
price?: number;
|
|
77
|
+
bufferDuration?: number;
|
|
78
|
+
preparationDuration?: number;
|
|
79
|
+
validation?: 'location' | 'staff' | 'manager' | 'auto';
|
|
80
|
+
externalId?: string;
|
|
81
|
+
duration: number;
|
|
82
|
+
locations: ('companyAddress' | 'videoconference' | 'phone' | 'custom')[];
|
|
83
|
+
locationCustom?: string;
|
|
84
|
+
picture?: ImageEntity;
|
|
85
|
+
staffsSkill?: string[];
|
|
86
|
+
color?: string;
|
|
87
|
+
checkFilterColor?: string;
|
|
88
|
+
type?: ServiceTypeEntity;
|
|
89
|
+
availability?: 'public' | 'backoffice' | 'hidden' | 'disabled';
|
|
90
|
+
minAppointmentDate?: string;
|
|
91
|
+
maxAppointmentDate?: string;
|
|
92
|
+
appointmentDateScope?: string;
|
|
93
|
+
i18n?: {
|
|
94
|
+
fr?: {
|
|
95
|
+
name?: string;
|
|
96
|
+
description?: string;
|
|
97
|
+
};
|
|
98
|
+
en?: {
|
|
99
|
+
name?: string;
|
|
100
|
+
description?: string;
|
|
101
|
+
};
|
|
102
|
+
de?: {
|
|
103
|
+
name?: string;
|
|
104
|
+
description?: string;
|
|
105
|
+
};
|
|
106
|
+
pt?: {
|
|
107
|
+
name?: string;
|
|
108
|
+
description?: string;
|
|
109
|
+
};
|
|
110
|
+
es?: {
|
|
111
|
+
name?: string;
|
|
112
|
+
description?: string;
|
|
113
|
+
};
|
|
114
|
+
nl?: {
|
|
115
|
+
name?: string;
|
|
116
|
+
description?: string;
|
|
117
|
+
};
|
|
118
|
+
jp?: {
|
|
119
|
+
name?: string;
|
|
120
|
+
description?: string;
|
|
121
|
+
};
|
|
122
|
+
it?: {
|
|
123
|
+
name?: string;
|
|
124
|
+
description?: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
resources?: {
|
|
128
|
+
id: string;
|
|
129
|
+
name?: string;
|
|
130
|
+
quantity?: number;
|
|
131
|
+
}[];
|
|
132
|
+
maxCancellationDelay?: number;
|
|
133
|
+
useWorkingHours: boolean;
|
|
134
|
+
workingHours: SettingsWorkingDayEntity[];
|
|
135
|
+
customWorkingHours: SettingsPeriodWorkingEntity[];
|
|
136
|
+
constructor();
|
|
137
|
+
static fromServiceDto(dto: ServiceSecuredDto): ServiceSecuredEntity;
|
|
138
|
+
static toServiceDto(entity: ServiceSecuredEntity): ServiceSecuredDto;
|
|
139
|
+
}
|
|
140
|
+
export declare class ServiceSecuredDto {
|
|
141
|
+
id?: string;
|
|
142
|
+
cipherId?: string;
|
|
143
|
+
company?: {
|
|
144
|
+
id: string;
|
|
145
|
+
name?: string;
|
|
146
|
+
};
|
|
147
|
+
name: string;
|
|
148
|
+
duration: number;
|
|
149
|
+
locations: ('companyAddress' | 'videoconference' | 'phone' | 'custom')[];
|
|
150
|
+
locationCustom?: string;
|
|
151
|
+
picture?: ImageEntity;
|
|
152
|
+
description?: string;
|
|
153
|
+
capacity: number;
|
|
154
|
+
price?: number;
|
|
155
|
+
bufferDuration?: number;
|
|
156
|
+
preparationDuration?: number;
|
|
157
|
+
validation?: 'location' | 'staff' | 'manager' | 'auto';
|
|
158
|
+
externalId?: string;
|
|
159
|
+
staff?: {
|
|
160
|
+
id: string;
|
|
161
|
+
}[];
|
|
162
|
+
color?: string;
|
|
163
|
+
availability?: 'public' | 'backoffice' | 'hidden' | 'disabled';
|
|
164
|
+
resource?: {
|
|
165
|
+
id: string;
|
|
166
|
+
name?: string;
|
|
167
|
+
quantity?: number;
|
|
168
|
+
}[];
|
|
169
|
+
bypassFreeBusyAvailabilities?: boolean;
|
|
170
|
+
minAppointmentDate?: string;
|
|
171
|
+
maxAppointmentDate?: string;
|
|
172
|
+
appointmentDateScope?: string;
|
|
173
|
+
i18n?: {
|
|
174
|
+
fr?: {
|
|
175
|
+
name?: string;
|
|
176
|
+
description?: string;
|
|
177
|
+
};
|
|
178
|
+
en?: {
|
|
179
|
+
name?: string;
|
|
180
|
+
description?: string;
|
|
181
|
+
};
|
|
182
|
+
de?: {
|
|
183
|
+
name?: string;
|
|
184
|
+
description?: string;
|
|
185
|
+
};
|
|
186
|
+
pt?: {
|
|
187
|
+
name?: string;
|
|
188
|
+
description?: string;
|
|
189
|
+
};
|
|
190
|
+
es?: {
|
|
191
|
+
name?: string;
|
|
192
|
+
description?: string;
|
|
193
|
+
};
|
|
194
|
+
nl?: {
|
|
195
|
+
name?: string;
|
|
196
|
+
description?: string;
|
|
197
|
+
};
|
|
198
|
+
jp?: {
|
|
199
|
+
name?: string;
|
|
200
|
+
description?: string;
|
|
201
|
+
};
|
|
202
|
+
it?: {
|
|
203
|
+
name?: string;
|
|
204
|
+
description?: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
maxCancellationDelay?: number;
|
|
208
|
+
useWorkingHours?: boolean;
|
|
209
|
+
workingHours?: SettingsWorkingDayDto[];
|
|
210
|
+
customWorkingHours?: SettingsPeriodWorkingDto[];
|
|
211
|
+
}
|
|
212
|
+
export declare class ServicesListSecuredEntity extends Array<ServiceSecuredEntity> {
|
|
213
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ImageEntity } from "./Image";
|
|
2
|
+
import { EntityType, SecuredEntity } from "@/data/Common";
|
|
3
|
+
export type ServiceGroupEntity<Type = EntityType> = Type extends SecuredEntity ? ServiceGroupSecuredEntity : ServiceGroupPublicEntity;
|
|
4
|
+
export declare class ServiceGroupPublicEntity {
|
|
5
|
+
members?: {
|
|
6
|
+
id: string;
|
|
7
|
+
}[];
|
|
8
|
+
name: string;
|
|
9
|
+
id: string;
|
|
10
|
+
picture?: ImageEntity;
|
|
11
|
+
parent?: string;
|
|
12
|
+
static fromDto(dto: ServiceGroupPublicDto): ServiceGroupPublicEntity;
|
|
13
|
+
}
|
|
14
|
+
export declare class ServiceGroupPublicDto {
|
|
15
|
+
members?: {
|
|
16
|
+
id: string;
|
|
17
|
+
}[];
|
|
18
|
+
name: string;
|
|
19
|
+
id: string;
|
|
20
|
+
picture?: ImageEntity;
|
|
21
|
+
parent?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class ServiceGroupSecuredEntity {
|
|
24
|
+
id?: string;
|
|
25
|
+
name: string;
|
|
26
|
+
color: string;
|
|
27
|
+
picture?: ImageEntity;
|
|
28
|
+
members?: {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
}[];
|
|
32
|
+
parent?: {
|
|
33
|
+
id?: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
};
|
|
36
|
+
externalId?: string;
|
|
37
|
+
companyId: string;
|
|
38
|
+
cipherId?: string;
|
|
39
|
+
static fromServiceGroupDto(dto: ServiceGroupSecuredDto, companyId: string): ServiceGroupSecuredEntity;
|
|
40
|
+
static toServiceGroupDto(entity: ServiceGroupSecuredEntity): ServiceGroupSecuredDto;
|
|
41
|
+
}
|
|
42
|
+
export declare class ServiceGroupSecuredDto {
|
|
43
|
+
id?: string;
|
|
44
|
+
name: string;
|
|
45
|
+
color: string;
|
|
46
|
+
picture?: ImageEntity;
|
|
47
|
+
members?: {
|
|
48
|
+
id: string;
|
|
49
|
+
name: string;
|
|
50
|
+
}[];
|
|
51
|
+
parent?: {
|
|
52
|
+
id?: string;
|
|
53
|
+
name?: string;
|
|
54
|
+
};
|
|
55
|
+
externalId?: string;
|
|
56
|
+
cipherId?: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SettingsPeriodWorkingDto, SettingsPeriodWorkingEntity } from "./WorkingHours";
|
|
2
|
+
export declare class ServiceResourceEntity {
|
|
3
|
+
id?: string;
|
|
4
|
+
company: {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
name: string;
|
|
8
|
+
quantity: number;
|
|
9
|
+
availability: boolean;
|
|
10
|
+
services?: {
|
|
11
|
+
id: string;
|
|
12
|
+
}[];
|
|
13
|
+
customWorkingHours?: SettingsPeriodWorkingEntity[];
|
|
14
|
+
static fromServiceResourceDto(dto: ServiceResourceDto, companyId: string): ServiceResourceEntity;
|
|
15
|
+
static toServiceResourceDto(entity: ServiceResourceEntity): ServiceResourceDto;
|
|
16
|
+
}
|
|
17
|
+
export declare class ServiceResourceDto {
|
|
18
|
+
id?: string;
|
|
19
|
+
name: string;
|
|
20
|
+
quantity: number;
|
|
21
|
+
availability: boolean;
|
|
22
|
+
services?: {
|
|
23
|
+
id: string;
|
|
24
|
+
}[];
|
|
25
|
+
customWorkingHours?: SettingsPeriodWorkingDto[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class SettingsEntity {
|
|
2
|
+
private id?;
|
|
3
|
+
calendar: {
|
|
4
|
+
useMandatoryFieldsForFreeMode: boolean;
|
|
5
|
+
};
|
|
6
|
+
static fromSettingsDto(organisation: string, dto: SettingsDto): SettingsEntity;
|
|
7
|
+
}
|
|
8
|
+
export declare class SettingsDto {
|
|
9
|
+
calendar: {
|
|
10
|
+
useMandatoryFieldsForFreeMode: boolean;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ShortPollingNotificationObject, ShortPollingNotificationObjectDb } from "./shortPollingNotification/ShortPollingNotificationObject";
|
|
2
|
+
export type ShortPollingNotificationType = 'event' | 'report';
|
|
3
|
+
export type ShortPollingNotificationSubType = 'new' | 'update' | 'delete' | 'accept' | 'decline' | 'fail';
|
|
4
|
+
export declare class ShortPollingNotificationEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
type: ShortPollingNotificationType;
|
|
7
|
+
subType: ShortPollingNotificationSubType;
|
|
8
|
+
notificationObject?: ShortPollingNotificationObject;
|
|
9
|
+
date: Date;
|
|
10
|
+
static fromNotificationDto(dto: ShortPollingNotificationDto, messageOutputType?: ShortPollingNotificationSubType): ShortPollingNotificationEntity;
|
|
11
|
+
}
|
|
12
|
+
export declare class ShortPollingNotificationDto {
|
|
13
|
+
type: ShortPollingNotificationType;
|
|
14
|
+
notificationObject: ShortPollingNotificationObjectDb;
|
|
15
|
+
status?: ShortPollingNotificationSubType;
|
|
16
|
+
date?: {
|
|
17
|
+
"dateTime": string;
|
|
18
|
+
"timeZone": string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare class ShortPollingNotificationContainerDto {
|
|
22
|
+
items: ShortPollingNotificationDto[];
|
|
23
|
+
totalItems: number;
|
|
24
|
+
nextSyncToken: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { SettingsPeriodWorkingDto, SettingsPeriodWorkingEntity, SettingsWorkingDayDto, SettingsWorkingDayEntity } from "./WorkingHours";
|
|
18
|
+
import { FormItemEntity } from "./Form";
|
|
19
|
+
import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
|
|
20
|
+
export type StaffEntity<Type = EntityType> = Type extends SecuredEntity ? StaffSecuredEntity : StaffPublicEntity;
|
|
21
|
+
export declare class StaffPublicEntity extends PublicBodyEntity {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
firstName?: string;
|
|
25
|
+
lastName?: string;
|
|
26
|
+
picture?: ImageEntity;
|
|
27
|
+
extendedProperties?: Map<string, any>;
|
|
28
|
+
static fromDto(dto: StaffPublicDto): StaffPublicEntity;
|
|
29
|
+
}
|
|
30
|
+
export declare class StaffPublicDto {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
firstName?: string;
|
|
34
|
+
lastName?: string;
|
|
35
|
+
picture?: ImageEntity;
|
|
36
|
+
extendedProperties?: Map<string, any>;
|
|
37
|
+
}
|
|
38
|
+
export declare class StaffSecuredEntity extends SecuredBodyEntity {
|
|
39
|
+
id?: string;
|
|
40
|
+
cipherId?: string;
|
|
41
|
+
userId?: string;
|
|
42
|
+
company?: {
|
|
43
|
+
id: string;
|
|
44
|
+
name?: string;
|
|
45
|
+
};
|
|
46
|
+
firstName?: string;
|
|
47
|
+
lastName?: string;
|
|
48
|
+
gender?: string;
|
|
49
|
+
title?: string;
|
|
50
|
+
email?: string;
|
|
51
|
+
phone?: string;
|
|
52
|
+
otherPhone?: string;
|
|
53
|
+
description?: string;
|
|
54
|
+
vacations?: {
|
|
55
|
+
startDate?: Date;
|
|
56
|
+
endDate?: Date;
|
|
57
|
+
}[];
|
|
58
|
+
role?: string;
|
|
59
|
+
workingHours?: SettingsWorkingDayEntity[];
|
|
60
|
+
customWorkingHours?: SettingsPeriodWorkingEntity[];
|
|
61
|
+
picture?: ImageEntity;
|
|
62
|
+
servicesSkill?: string[];
|
|
63
|
+
color?: string;
|
|
64
|
+
availableForWidget: boolean;
|
|
65
|
+
externalId?: string;
|
|
66
|
+
additionalFields?: FormItemEntity[];
|
|
67
|
+
externalCalendars?: {
|
|
68
|
+
url: string;
|
|
69
|
+
}[];
|
|
70
|
+
calendarLink?: {
|
|
71
|
+
mineType: string;
|
|
72
|
+
url: string;
|
|
73
|
+
};
|
|
74
|
+
fullName(): string;
|
|
75
|
+
static fromStaffDto(dto: StaffSecuredDto): StaffSecuredEntity;
|
|
76
|
+
static toStaffDto(entity: StaffSecuredEntity): StaffSecuredDto;
|
|
77
|
+
}
|
|
78
|
+
export declare class StaffSecuredDto {
|
|
79
|
+
id?: string;
|
|
80
|
+
cipherId?: string;
|
|
81
|
+
company?: {
|
|
82
|
+
id: string;
|
|
83
|
+
name?: string;
|
|
84
|
+
};
|
|
85
|
+
firstName?: string;
|
|
86
|
+
lastName?: string;
|
|
87
|
+
gender?: string;
|
|
88
|
+
title?: string;
|
|
89
|
+
email?: string;
|
|
90
|
+
phone?: string;
|
|
91
|
+
otherPhone?: string;
|
|
92
|
+
description?: string;
|
|
93
|
+
vacations?: {
|
|
94
|
+
startDate?: string;
|
|
95
|
+
endDate?: string;
|
|
96
|
+
}[];
|
|
97
|
+
role?: string;
|
|
98
|
+
workingHours?: SettingsWorkingDayDto[];
|
|
99
|
+
customWorkingHours?: SettingsPeriodWorkingDto[];
|
|
100
|
+
picture?: ImageEntity;
|
|
101
|
+
services?: {
|
|
102
|
+
id: string;
|
|
103
|
+
}[];
|
|
104
|
+
color?: string;
|
|
105
|
+
availableForWidget: boolean;
|
|
106
|
+
externalId?: string;
|
|
107
|
+
additionalFields?: FormItemEntity[];
|
|
108
|
+
externalCalendars?: {
|
|
109
|
+
url: string;
|
|
110
|
+
}[];
|
|
111
|
+
calendarLink?: {
|
|
112
|
+
mineType: string;
|
|
113
|
+
url: string;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { FormItemEntity } from "./Form";
|
|
17
|
+
export declare class StaffFormsEntity {
|
|
18
|
+
id: string;
|
|
19
|
+
mobilePhoneMandatory: boolean;
|
|
20
|
+
otherPhoneMandatory: boolean;
|
|
21
|
+
emailMandatory: boolean;
|
|
22
|
+
descriptionMandatory: boolean;
|
|
23
|
+
lastnameMandatory: boolean;
|
|
24
|
+
titleMandatory: boolean;
|
|
25
|
+
firstnameMandatory: boolean;
|
|
26
|
+
genderMandatory: boolean;
|
|
27
|
+
title?: string;
|
|
28
|
+
fields?: FormItemEntity[];
|
|
29
|
+
static fromStaffFormsDto(dto: StaffFormsDto, account: string): StaffFormsEntity;
|
|
30
|
+
}
|
|
31
|
+
export declare class StaffFormsDto {
|
|
32
|
+
'mobilePhone-mandatory': boolean;
|
|
33
|
+
'otherPhone-mandatory': boolean;
|
|
34
|
+
'email-mandatory': boolean;
|
|
35
|
+
'description-mandatory': boolean;
|
|
36
|
+
'lastname-mandatory': boolean;
|
|
37
|
+
'title-mandatory': boolean;
|
|
38
|
+
'firstname-mandatory': boolean;
|
|
39
|
+
'gender-mandatory': boolean;
|
|
40
|
+
title?: string;
|
|
41
|
+
fields?: FormItemEntity[];
|
|
42
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { SettingsWorkingDayDto, SettingsWorkingDayEntity } from "./WorkingHours";
|
|
2
|
+
import { EntityType, SecuredEntity } from "@/data/Common";
|
|
3
|
+
export type StaffGroupEntity<Type = EntityType> = Type extends SecuredEntity ? StaffGroupSecuredEntity : StaffGroupPublicEntity;
|
|
4
|
+
export declare class StaffGroupPublicEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
members: {
|
|
8
|
+
id: string;
|
|
9
|
+
}[];
|
|
10
|
+
constructor();
|
|
11
|
+
static fromDto(dto: StaffGroupPublicDto): StaffGroupPublicEntity;
|
|
12
|
+
}
|
|
13
|
+
export declare class StaffGroupPublicDto {
|
|
14
|
+
id?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
members?: {
|
|
17
|
+
id: string;
|
|
18
|
+
}[];
|
|
19
|
+
}
|
|
20
|
+
export declare class StaffGroupSecuredEntity {
|
|
21
|
+
id?: string;
|
|
22
|
+
name: string;
|
|
23
|
+
color: string;
|
|
24
|
+
members?: {
|
|
25
|
+
id: string;
|
|
26
|
+
firstName: string;
|
|
27
|
+
lastName: string;
|
|
28
|
+
}[];
|
|
29
|
+
managers?: {
|
|
30
|
+
id: string;
|
|
31
|
+
firstName: string;
|
|
32
|
+
lastName: string;
|
|
33
|
+
}[];
|
|
34
|
+
workingHours?: SettingsWorkingDayEntity[];
|
|
35
|
+
externalId?: string;
|
|
36
|
+
companyId: string;
|
|
37
|
+
cipherId?: string;
|
|
38
|
+
static fromStaffGroupDto(dto: StaffGroupSecuredDto, companyId: string): StaffGroupSecuredEntity;
|
|
39
|
+
static toStaffGroupDto(entity: StaffGroupSecuredEntity): StaffGroupSecuredDto;
|
|
40
|
+
}
|
|
41
|
+
export declare class StaffGroupSecuredDto {
|
|
42
|
+
id?: string;
|
|
43
|
+
name: string;
|
|
44
|
+
color: string;
|
|
45
|
+
members?: {
|
|
46
|
+
id: string;
|
|
47
|
+
firstName: string;
|
|
48
|
+
lastName: string;
|
|
49
|
+
}[];
|
|
50
|
+
managers?: {
|
|
51
|
+
id: string;
|
|
52
|
+
firstName: string;
|
|
53
|
+
lastName: string;
|
|
54
|
+
}[];
|
|
55
|
+
workingHours?: SettingsWorkingDayDto[];
|
|
56
|
+
externalId?: string;
|
|
57
|
+
cipherId?: string;
|
|
58
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { GlobalRight } from "./Rights";
|
|
18
|
+
export declare class UserEntity {
|
|
19
|
+
id?: string;
|
|
20
|
+
firstName?: string;
|
|
21
|
+
lastName?: string;
|
|
22
|
+
picture?: ImageEntity;
|
|
23
|
+
anonymous: boolean;
|
|
24
|
+
color?: string;
|
|
25
|
+
login?: string;
|
|
26
|
+
checkFilterColor?: string;
|
|
27
|
+
companies?: {
|
|
28
|
+
companyId?: string;
|
|
29
|
+
companyName?: string;
|
|
30
|
+
staffIds?: string[];
|
|
31
|
+
role?: string;
|
|
32
|
+
rights?: GlobalRight[];
|
|
33
|
+
}[];
|
|
34
|
+
staffIds?: string[];
|
|
35
|
+
accounts?: {
|
|
36
|
+
id?: string;
|
|
37
|
+
email?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
}[];
|
|
40
|
+
static fromUserDto(dto: UserDto | UserLightDto): UserEntity;
|
|
41
|
+
static fromUserLightDto(dto: UserLightDto): UserEntity;
|
|
42
|
+
}
|
|
43
|
+
export declare class UserDto {
|
|
44
|
+
id?: string;
|
|
45
|
+
firstName: string;
|
|
46
|
+
lastName: string;
|
|
47
|
+
picture?: ImageEntity;
|
|
48
|
+
login?: string;
|
|
49
|
+
companies?: [
|
|
50
|
+
{
|
|
51
|
+
companyId?: string;
|
|
52
|
+
companyName?: string;
|
|
53
|
+
staffIds?: string[];
|
|
54
|
+
role?: string;
|
|
55
|
+
rights?: GlobalRight[];
|
|
56
|
+
}
|
|
57
|
+
];
|
|
58
|
+
accounts?: [
|
|
59
|
+
{
|
|
60
|
+
id?: string;
|
|
61
|
+
email?: string;
|
|
62
|
+
name?: string;
|
|
63
|
+
}
|
|
64
|
+
];
|
|
65
|
+
}
|
|
66
|
+
export declare class UserLightDto {
|
|
67
|
+
i?: string;
|
|
68
|
+
f: string;
|
|
69
|
+
l: string;
|
|
70
|
+
p?: {
|
|
71
|
+
u: string;
|
|
72
|
+
m: string;
|
|
73
|
+
};
|
|
74
|
+
e?: string;
|
|
75
|
+
c?: [
|
|
76
|
+
{
|
|
77
|
+
i?: string;
|
|
78
|
+
n?: string;
|
|
79
|
+
s?: string[];
|
|
80
|
+
r?: string;
|
|
81
|
+
a?: GlobalRight[];
|
|
82
|
+
}
|
|
83
|
+
];
|
|
84
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class WidgetUrlCipherEntity {
|
|
2
|
+
cipherUrl: string;
|
|
3
|
+
shortenerUrl: string;
|
|
4
|
+
static fromWidgetUrlCipherDto(dto: WidgetUrlCipherDto): WidgetUrlCipherEntity;
|
|
5
|
+
}
|
|
6
|
+
export declare class WidgetUrlCipherDto {
|
|
7
|
+
cipherUrl: string;
|
|
8
|
+
shortenerUrl: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class WidgetUrlCipherInputEntity {
|
|
11
|
+
url: string;
|
|
12
|
+
shortener: boolean;
|
|
13
|
+
numberOfAllowedAppointments?: number;
|
|
14
|
+
unencryptedParameters?: string;
|
|
15
|
+
constructor(url: string);
|
|
16
|
+
static toWidgetUrlCipherInputDto(entity: WidgetUrlCipherInputEntity): WidgetUrlCipherInputDto;
|
|
17
|
+
}
|
|
18
|
+
export declare class WidgetUrlCipherInputDto {
|
|
19
|
+
url: string;
|
|
20
|
+
shortener?: boolean;
|
|
21
|
+
numberOfAllowedAppointments?: number;
|
|
22
|
+
unencryptedParameters?: string;
|
|
23
|
+
}
|