@agendize/js-agendize-api 1.33.1 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agendizeApi.d.ts +556 -0
- package/dist/browserStorage/browserStorage.d.ts +46 -0
- package/dist/config.d.ts +19 -0
- package/dist/data/Account.d.ts +220 -0
- package/dist/data/Activity.d.ts +506 -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 +28 -0
- package/dist/data/CommonEnum.d.ts +44 -0
- package/dist/data/Company.d.ts +162 -0
- package/dist/data/CompanyPerformance.d.ts +26 -0
- package/dist/data/CompanySettings.d.ts +17 -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 +20 -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 +220 -0
- package/dist/data/EventUpdate.d.ts +9 -0
- package/dist/data/Form.d.ts +229 -0
- package/dist/data/FormResult.d.ts +61 -0
- package/dist/data/FormResultStatus.d.ts +23 -0
- package/dist/data/FreeSlot.d.ts +72 -0
- package/dist/data/Help.d.ts +18 -0
- package/dist/data/Image.d.ts +24 -0
- package/dist/data/Integration.d.ts +36 -0
- package/dist/data/Link.d.ts +10 -0
- package/dist/data/Log.d.ts +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 +176 -0
- package/dist/data/ReportingExportResponse.d.ts +20 -0
- package/dist/data/Rights.d.ts +140 -0
- package/dist/data/Service.d.ts +224 -0
- package/dist/data/ServiceGroup.d.ts +57 -0
- package/dist/data/ServiceResource.d.ts +26 -0
- package/dist/data/Settings.d.ts +29 -0
- package/dist/data/ShortPollingNotification.d.ts +35 -0
- package/dist/data/Shortener.d.ts +8 -0
- package/dist/data/Staff.d.ts +115 -0
- package/dist/data/StaffForms.d.ts +42 -0
- package/dist/data/StaffGroup.d.ts +58 -0
- package/dist/data/User.d.ts +84 -0
- package/dist/data/WidgetUrlCipher.d.ts +23 -0
- package/dist/data/WorkingHours.d.ts +94 -0
- package/dist/data/account/Permission.d.ts +46 -0
- package/dist/data/action/ShareLink.d.ts +55 -0
- package/dist/data/conference/Conference.d.ts +161 -0
- package/dist/data/conference/ConferenceAssignment.d.ts +194 -0
- package/dist/data/conference/ConferenceForm.d.ts +36 -0
- package/dist/data/conference/ConferenceInvitee.d.ts +31 -0
- package/dist/data/conference/ConferenceLocation.d.ts +359 -0
- package/dist/data/conference/ConferenceSpeaker.d.ts +28 -0
- package/dist/data/conference/ConferenceSubscriptionRules.d.ts +12 -0
- package/dist/data/conference/ConferenceTag.d.ts +29 -0
- package/dist/data/conference/Registration.d.ts +56 -0
- package/dist/data/conference/RegistrationCancel.d.ts +26 -0
- package/dist/data/conference/RegistrationClient.d.ts +16 -0
- package/dist/data/conference/Session.d.ts +140 -0
- package/dist/data/conference/Widget.d.ts +94 -0
- package/dist/data/dashboard/DashboardStructure.d.ts +42 -0
- package/dist/data/dashboard/KeyFigures.d.ts +9 -0
- package/dist/data/planning/Planning.d.ts +17 -0
- package/dist/data/planning/PlanningDay.d.ts +12 -0
- package/dist/data/planning/PlanningHour.d.ts +10 -0
- package/dist/data/planning/PlanningWeek.d.ts +13 -0
- package/dist/data/scheduling/Availabilities.d.ts +102 -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/companySettingsDb.d.ts +11 -0
- package/dist/db/conferenceDb.d.ts +26 -0
- package/dist/db/conferenceInviteeDb.d.ts +27 -0
- package/dist/db/conferenceRegistrationDb.d.ts +11 -0
- package/dist/db/conferenceSessionDb.d.ts +27 -0
- package/dist/db/conferenceSpeakerDb.d.ts +27 -0
- package/dist/db/conferenceTagDb.d.ts +12 -0
- package/dist/db/contactDb.d.ts +26 -0
- package/dist/db/crmSettingsDb.d.ts +9 -0
- package/dist/db/customStatusDb.d.ts +13 -0
- package/dist/db/eventDb.d.ts +29 -0
- package/dist/db/externalEventDb.d.ts +26 -0
- package/dist/db/formBuilderDb.d.ts +26 -0
- package/dist/db/icsEventDb.d.ts +25 -0
- package/dist/db/index.d.ts +73 -0
- package/dist/db/noteDb.d.ts +27 -0
- package/dist/db/notificationDb.d.ts +9 -0
- package/dist/db/notificationStatusDb.d.ts +26 -0
- package/dist/db/planningDb.d.ts +27 -0
- package/dist/db/privacyPolicyDb.d.ts +24 -0
- package/dist/db/promoteFieldDb.d.ts +9 -0
- package/dist/db/queueDb.d.ts +27 -0
- package/dist/db/rightsDb.d.ts +25 -0
- package/dist/db/serviceDb.d.ts +28 -0
- package/dist/db/serviceGroupDb.d.ts +31 -0
- package/dist/db/serviceResourceDb.d.ts +27 -0
- package/dist/db/settingsDb.d.ts +24 -0
- package/dist/db/shortPollingNotificationDb.d.ts +28 -0
- package/dist/db/sseNotificationDb.d.ts +0 -0
- package/dist/db/staffDb.d.ts +28 -0
- package/dist/db/staffFormsDb.d.ts +25 -0
- package/dist/db/staffGroupDb.d.ts +32 -0
- package/dist/db/userDb.d.ts +27 -0
- package/dist/db/userDefaultDb.d.ts +20 -0
- package/dist/db/userDirectoryDb.d.ts +28 -0
- package/dist/db/widgetFormDb.d.ts +25 -0
- package/dist/eventFetchedMeta/eventMeta.d.ts +24 -0
- package/dist/eventFetchedMeta/eventMetaStorage.d.ts +63 -0
- package/dist/index.d.ts +99 -0
- package/dist/js-agendize-api.es.js +11404 -7764
- package/dist/repository/index.d.ts +86 -0
- package/dist/repository/public/accountPublicRepository.d.ts +40 -0
- package/dist/repository/public/availabilityPublicRepository.d.ts +39 -0
- package/dist/repository/public/companyPublicRepository.d.ts +24 -0
- package/dist/repository/public/conferencePublicRepository.d.ts +27 -0
- package/dist/repository/public/customStatusPublicRepository.d.ts +28 -0
- package/dist/repository/public/eventPublicRepository.d.ts +42 -0
- package/dist/repository/public/formPublicRepository.d.ts +25 -0
- package/dist/repository/public/freeSlotPublicRepository.d.ts +40 -0
- package/dist/repository/public/queuePublicRepository.d.ts +22 -0
- package/dist/repository/public/queueRegistrationPublicRepository.d.ts +22 -0
- package/dist/repository/public/registrationPublicRepository.d.ts +22 -0
- package/dist/repository/public/servicePublicRepository.d.ts +24 -0
- package/dist/repository/public/sessionPublicRepository.d.ts +23 -0
- package/dist/repository/public/staffGroupPublicRepository.d.ts +24 -0
- package/dist/repository/public/staffPublicRepository.d.ts +24 -0
- package/dist/repository/public/widgetPublicRepository.d.ts +26 -0
- package/dist/repository/secured/CRMSettingsSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/accountSecuredRepository.d.ts +44 -0
- package/dist/repository/secured/activitySecuredRepository.d.ts +43 -0
- package/dist/repository/secured/additionalFieldsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/availabilitySecuredRepository.d.ts +42 -0
- package/dist/repository/secured/calendarSecuredRepository.d.ts +33 -0
- package/dist/repository/secured/changelogSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/companyPerformanceSecuredRepository.d.ts +37 -0
- package/dist/repository/secured/companySecuredRepository.d.ts +34 -0
- package/dist/repository/secured/companySettingsSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/conferenceInviteeSecuredRepository.d.ts +47 -0
- package/dist/repository/secured/conferenceRegistrationSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/conferenceSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/conferenceSessionSecuredRepository.d.ts +49 -0
- package/dist/repository/secured/conferenceSpeakerSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/conferenceTagSecuredRepository.d.ts +31 -0
- package/dist/repository/secured/connectorsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/contactExternalSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/contactSecuredRepository.d.ts +38 -0
- package/dist/repository/secured/customStatusSecuredRepository.d.ts +32 -0
- package/dist/repository/secured/dasboardStructureSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/dashboardSecuredRepository.d.ts +20 -0
- package/dist/repository/secured/eventSecuredRepository.d.ts +67 -0
- package/dist/repository/secured/exportAppointmentsSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/exportCalendarSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/externalEventSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/formBuilderSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/formResultSecuredRepository.d.ts +31 -0
- package/dist/repository/secured/formResultStatusSecuredRepository.d.ts +30 -0
- package/dist/repository/secured/freeSlotSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/icsEventSecuredRepository.d.ts +34 -0
- package/dist/repository/secured/integrationsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/logSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/noteSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/notificationSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/notificationStatusSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/permissionSecuredRepository.d.ts +45 -0
- package/dist/repository/secured/planningSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/privacyPolicySecuredRepository.d.ts +41 -0
- package/dist/repository/secured/promoteFieldSecuredRepository.d.ts +26 -0
- package/dist/repository/secured/queueRegistrationSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/queueSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/reportingSecuredRepository.d.ts +42 -0
- package/dist/repository/secured/rightsSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/scheduleSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/schedulingRightsSecuredRepository.d.ts +26 -0
- package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/serviceResourceSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/serviceSecuredRepository.d.ts +36 -0
- package/dist/repository/secured/settingsSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/shareLinkSecuredRepository.d.ts +38 -0
- package/dist/repository/secured/shortPollingNotificationSecuredRepository.d.ts +32 -0
- package/dist/repository/secured/shortenerSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/sseNotificationSecuredRepository.d.ts +0 -0
- package/dist/repository/secured/staffFormsSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/staffGroupSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/staffSecuredRepository.d.ts +41 -0
- package/dist/repository/secured/tagSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/userAbstractSecuredRepository.d.ts +55 -0
- package/dist/repository/secured/userDefaultSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/userDirectorySecuredRepository.d.ts +41 -0
- package/dist/repository/secured/userSecuredRepository.d.ts +33 -0
- package/dist/repository/secured/widgetFormSecuredRepository.d.ts +45 -0
- package/dist/repository/secured/widgetUrlCipherSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/workingPlanningSecuredRepository.d.ts +29 -0
- package/dist/service/index.d.ts +47 -0
- package/dist/service/items/EventFields.d.ts +30 -0
- package/dist/service/public/WidgetError.d.ts +7 -0
- package/dist/service/public/accountPublicService.d.ts +20 -0
- package/dist/service/public/availabilityPublicService.d.ts +20 -0
- package/dist/service/public/companyPublicService.d.ts +6 -0
- package/dist/service/public/conferencePublicService.d.ts +6 -0
- package/dist/service/public/customStatusPublicService.d.ts +5 -0
- package/dist/service/public/eventPublicService.d.ts +30 -0
- package/dist/service/public/formPublicService.d.ts +7 -0
- package/dist/service/public/freeSlotPublicService.d.ts +20 -0
- package/dist/service/public/queueInscriptionPublicService.d.ts +5 -0
- package/dist/service/public/queuePublicService.d.ts +5 -0
- package/dist/service/public/registrationPublicService.d.ts +8 -0
- package/dist/service/public/servicePublicService.d.ts +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/availabilitiesSecuredService.d.ts +20 -0
- package/dist/service/secured/batchSecuredService.d.ts +20 -0
- package/dist/service/secured/calendarSecuredService.d.ts +28 -0
- package/dist/service/secured/changelogSecuredService.d.ts +20 -0
- package/dist/service/secured/companyPerformanceSecuredService.d.ts +20 -0
- package/dist/service/secured/companySecuredService.d.ts +27 -0
- package/dist/service/secured/companySettingsSecuredService.d.ts +6 -0
- package/dist/service/secured/conferenceInviteeSecuredService.d.ts +25 -0
- package/dist/service/secured/conferenceRegistrationSecuredService.d.ts +13 -0
- package/dist/service/secured/conferenceSecuredService.d.ts +25 -0
- package/dist/service/secured/conferenceSessionSecuredService.d.ts +26 -0
- package/dist/service/secured/conferenceSpeakerSecuredService.d.ts +30 -0
- package/dist/service/secured/conferenceTagSecuredService.d.ts +10 -0
- package/dist/service/secured/connectorsSecuredService.d.ts +5 -0
- package/dist/service/secured/contactExternalSecuredService.d.ts +21 -0
- package/dist/service/secured/contactSecuredService.d.ts +26 -0
- package/dist/service/secured/crmSettingsSecuredService.d.ts +5 -0
- package/dist/service/secured/customStatusSecuredService.d.ts +9 -0
- package/dist/service/secured/dashboardSecuredService.d.ts +5 -0
- package/dist/service/secured/dashboardStructureSecuredService.d.ts +5 -0
- package/dist/service/secured/eventSecuredService.d.ts +46 -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 +21 -0
- package/dist/service/secured/freeStaffSecuredService.d.ts +19 -0
- package/dist/service/secured/integrationsSecuredService.d.ts +5 -0
- package/dist/service/secured/logSecuredService.d.ts +19 -0
- package/dist/service/secured/noteSecuredService.d.ts +22 -0
- package/dist/service/secured/notificationSecuredService.d.ts +6 -0
- package/dist/service/secured/permissionsSecuredService.d.ts +23 -0
- package/dist/service/secured/planningSecuredService.d.ts +25 -0
- package/dist/service/secured/privacyPolicySecuredService.d.ts +20 -0
- package/dist/service/secured/promoteFieldSecuredService.d.ts +5 -0
- package/dist/service/secured/queueRegistrationSecuredService.d.ts +23 -0
- package/dist/service/secured/queueSecuredService.d.ts +25 -0
- package/dist/service/secured/reportingSecuredService.d.ts +20 -0
- package/dist/service/secured/rightsSecuredService.d.ts +20 -0
- package/dist/service/secured/scheduleSecuredService.d.ts +5 -0
- package/dist/service/secured/schedulingRightsSecuredService.d.ts +7 -0
- package/dist/service/secured/serviceGroupSecuredService.d.ts +25 -0
- package/dist/service/secured/serviceResourceSecuredService.d.ts +25 -0
- package/dist/service/secured/serviceSecuredService.d.ts +25 -0
- package/dist/service/secured/settingsSecuredService.d.ts +20 -0
- package/dist/service/secured/shareLinkSecuredService.d.ts +21 -0
- package/dist/service/secured/shortPollingNotificationSecuredService.d.ts +10 -0
- package/dist/service/secured/shortenerSecuredService.d.ts +20 -0
- package/dist/service/secured/staffFormsSecuredService.d.ts +20 -0
- package/dist/service/secured/staffGroupSecuredService.d.ts +25 -0
- package/dist/service/secured/staffSecuredService.d.ts +26 -0
- package/dist/service/secured/tagSecuredService.d.ts +5 -0
- package/dist/service/secured/userDirectorySecuredService.d.ts +20 -0
- package/dist/service/secured/userSecuredService.d.ts +33 -0
- package/dist/service/secured/widgetFormSecuredService.d.ts +26 -0
- package/dist/service/secured/widgetUrlCipherSecuredService.d.ts +21 -0
- package/dist/service/secured/workingPlanningSecuredService.d.ts +6 -0
- package/dist/utils/axiosLoggerBuilder.d.ts +11 -0
- package/dist/utils/colorManager.d.ts +7 -0
- package/dist/utils/date.d.ts +12 -0
- package/dist/utils/encoding.d.ts +7 -0
- package/dist/utils/formUtils.d.ts +4 -0
- package/dist/utils/logger.d.ts +40 -0
- package/dist/utils/pkceUtils.d.ts +10 -0
- package/dist/utils/widgetForms.d.ts +7 -0
- package/package.json +9 -3
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
export declare class ReportingExportBodyEntity {
|
|
2
|
+
timeZone?: string;
|
|
3
|
+
fields?: ReportingExportBodyFieldsEntity;
|
|
4
|
+
filter?: ReportingExportBodyFilterEntity;
|
|
5
|
+
constructor();
|
|
6
|
+
static toReportingExportBodyDto(entity: ReportingExportBodyEntity): ReportingExportBodyDto;
|
|
7
|
+
}
|
|
8
|
+
export declare class ReportingExportBodyFilterEntity {
|
|
9
|
+
start?: Date;
|
|
10
|
+
end?: Date;
|
|
11
|
+
companyIds?: string[];
|
|
12
|
+
constructor();
|
|
13
|
+
static toReportingExportBodyFilterDto(entity: ReportingExportBodyFilterEntity): ReportingExportBodyFilterDto;
|
|
14
|
+
}
|
|
15
|
+
export declare class ReportingExportBodyFieldsEntity {
|
|
16
|
+
company?: ReportingExportBodyFieldCompanyEntity;
|
|
17
|
+
service?: ReportingExportBodyFieldServiceEntity;
|
|
18
|
+
staff?: ReportingExportBodyFieldStaffEntity;
|
|
19
|
+
client?: ReportingExportBodyFieldClientEntity;
|
|
20
|
+
appointment?: ReportingExportBodyFieldAppointmentEntity;
|
|
21
|
+
constructor();
|
|
22
|
+
static toReportingExportBodyFieldsDto(entity: ReportingExportBodyFieldsEntity): ReportingExportBodyFieldsDto;
|
|
23
|
+
}
|
|
24
|
+
export declare class ReportingExportBodyFieldCompanyEntity {
|
|
25
|
+
name?: boolean;
|
|
26
|
+
address?: ReportingExportBodyFieldCompanyAddressEntity;
|
|
27
|
+
email?: boolean;
|
|
28
|
+
phone?: boolean;
|
|
29
|
+
latitude?: boolean;
|
|
30
|
+
longitude?: boolean;
|
|
31
|
+
externalId?: boolean;
|
|
32
|
+
id?: boolean;
|
|
33
|
+
constructor();
|
|
34
|
+
static toReportingExportBodyFieldCompanyDto(entity: ReportingExportBodyFieldCompanyEntity): ReportingExportBodyFieldCompanyDto;
|
|
35
|
+
}
|
|
36
|
+
export declare class ReportingExportBodyFieldCompanyAddressEntity {
|
|
37
|
+
street?: boolean;
|
|
38
|
+
additionalStreet?: boolean;
|
|
39
|
+
zipCode?: boolean;
|
|
40
|
+
city?: boolean;
|
|
41
|
+
country?: boolean;
|
|
42
|
+
state?: boolean;
|
|
43
|
+
constructor();
|
|
44
|
+
static toReportingExportBodyFieldCompanyAddressDto(entity: ReportingExportBodyFieldCompanyAddressEntity): ReportingExportBodyFieldCompanyAddressDto;
|
|
45
|
+
}
|
|
46
|
+
export declare class ReportingExportBodyFieldServiceEntity {
|
|
47
|
+
name?: boolean;
|
|
48
|
+
duration?: boolean;
|
|
49
|
+
capacity?: boolean;
|
|
50
|
+
price?: boolean;
|
|
51
|
+
categoryLevel1Name?: boolean;
|
|
52
|
+
categoryLevel2Name?: boolean;
|
|
53
|
+
externalId?: boolean;
|
|
54
|
+
id?: boolean;
|
|
55
|
+
categoryLevel1ExternalId?: boolean;
|
|
56
|
+
categoryLevel1Id?: boolean;
|
|
57
|
+
categoryLevel2ExternalId?: boolean;
|
|
58
|
+
categoryLevel2Id?: boolean;
|
|
59
|
+
constructor();
|
|
60
|
+
static toReportingExportBodyFieldServiceDto(entity: ReportingExportBodyFieldServiceEntity): ReportingExportBodyFieldServiceDto;
|
|
61
|
+
}
|
|
62
|
+
export declare class ReportingExportBodyFieldStaffEntity {
|
|
63
|
+
firstName?: boolean;
|
|
64
|
+
lastName?: boolean;
|
|
65
|
+
email?: boolean;
|
|
66
|
+
phone?: boolean;
|
|
67
|
+
groupName?: boolean;
|
|
68
|
+
externalId?: boolean;
|
|
69
|
+
id?: boolean;
|
|
70
|
+
groupExternalId?: boolean;
|
|
71
|
+
groupId?: boolean;
|
|
72
|
+
constructor();
|
|
73
|
+
static toReportingExportBodyFieldStaffDto(entity: ReportingExportBodyFieldStaffEntity): ReportingExportBodyFieldStaffDto;
|
|
74
|
+
}
|
|
75
|
+
export declare class ReportingExportBodyFieldClientEntity {
|
|
76
|
+
firstName?: boolean;
|
|
77
|
+
lastName?: boolean;
|
|
78
|
+
email?: boolean;
|
|
79
|
+
phone?: boolean;
|
|
80
|
+
id?: boolean;
|
|
81
|
+
constructor();
|
|
82
|
+
static toReportingExportBodyFieldClientDto(entity: ReportingExportBodyFieldClientEntity): ReportingExportBodyFieldClientDto;
|
|
83
|
+
}
|
|
84
|
+
export declare class ReportingExportBodyFieldAppointmentEntity {
|
|
85
|
+
start?: boolean;
|
|
86
|
+
end?: boolean;
|
|
87
|
+
location?: boolean;
|
|
88
|
+
status?: boolean;
|
|
89
|
+
notes?: boolean;
|
|
90
|
+
customFields?: boolean;
|
|
91
|
+
sourceInterface?: boolean;
|
|
92
|
+
source?: boolean;
|
|
93
|
+
creationDate?: boolean;
|
|
94
|
+
id?: boolean;
|
|
95
|
+
constructor();
|
|
96
|
+
static toReportingExportBodyFieldAppointmentDto(entity: ReportingExportBodyFieldAppointmentEntity): ReportingExportBodyFieldAppointmentDto;
|
|
97
|
+
}
|
|
98
|
+
export declare class ReportingExportBodyDto {
|
|
99
|
+
timeZone?: string;
|
|
100
|
+
fields?: ReportingExportBodyFieldsDto;
|
|
101
|
+
filter?: ReportingExportBodyFilterDto;
|
|
102
|
+
}
|
|
103
|
+
export declare class ReportingExportBodyFilterDto {
|
|
104
|
+
start?: string;
|
|
105
|
+
end?: string;
|
|
106
|
+
companyIds?: string[];
|
|
107
|
+
}
|
|
108
|
+
export declare class ReportingExportBodyFieldsDto {
|
|
109
|
+
company?: ReportingExportBodyFieldCompanyDto;
|
|
110
|
+
service?: ReportingExportBodyFieldServiceDto;
|
|
111
|
+
staff?: ReportingExportBodyFieldStaffDto;
|
|
112
|
+
client?: ReportingExportBodyFieldClientDto;
|
|
113
|
+
appointment?: ReportingExportBodyFieldAppointmentDto;
|
|
114
|
+
}
|
|
115
|
+
export declare class ReportingExportBodyFieldCompanyDto {
|
|
116
|
+
name?: boolean;
|
|
117
|
+
address?: ReportingExportBodyFieldCompanyAddressDto;
|
|
118
|
+
email?: boolean;
|
|
119
|
+
phone?: boolean;
|
|
120
|
+
latitude?: boolean;
|
|
121
|
+
longitude?: boolean;
|
|
122
|
+
externalId?: boolean;
|
|
123
|
+
id?: boolean;
|
|
124
|
+
}
|
|
125
|
+
export declare class ReportingExportBodyFieldCompanyAddressDto {
|
|
126
|
+
street?: boolean;
|
|
127
|
+
additionalStreet?: boolean;
|
|
128
|
+
zipCode?: boolean;
|
|
129
|
+
city?: boolean;
|
|
130
|
+
country?: boolean;
|
|
131
|
+
state?: boolean;
|
|
132
|
+
}
|
|
133
|
+
export declare class ReportingExportBodyFieldServiceDto {
|
|
134
|
+
name?: boolean;
|
|
135
|
+
duration?: boolean;
|
|
136
|
+
capacity?: boolean;
|
|
137
|
+
price?: boolean;
|
|
138
|
+
categoryLevel1Name?: boolean;
|
|
139
|
+
categoryLevel2Name?: boolean;
|
|
140
|
+
externalId?: boolean;
|
|
141
|
+
id?: boolean;
|
|
142
|
+
categoryLevel1ExternalId?: boolean;
|
|
143
|
+
categoryLevel1Id?: boolean;
|
|
144
|
+
categoryLevel2ExternalId?: boolean;
|
|
145
|
+
categoryLevel2Id?: boolean;
|
|
146
|
+
}
|
|
147
|
+
export declare class ReportingExportBodyFieldStaffDto {
|
|
148
|
+
firstName?: boolean;
|
|
149
|
+
lastName?: boolean;
|
|
150
|
+
email?: boolean;
|
|
151
|
+
phone?: boolean;
|
|
152
|
+
groupName?: boolean;
|
|
153
|
+
externalId?: boolean;
|
|
154
|
+
id?: boolean;
|
|
155
|
+
groupExternalId?: boolean;
|
|
156
|
+
groupId?: boolean;
|
|
157
|
+
}
|
|
158
|
+
export declare class ReportingExportBodyFieldClientDto {
|
|
159
|
+
firstName?: boolean;
|
|
160
|
+
lastName?: boolean;
|
|
161
|
+
email?: boolean;
|
|
162
|
+
phone?: boolean;
|
|
163
|
+
id?: boolean;
|
|
164
|
+
}
|
|
165
|
+
export declare class ReportingExportBodyFieldAppointmentDto {
|
|
166
|
+
start?: boolean;
|
|
167
|
+
end?: boolean;
|
|
168
|
+
location?: boolean;
|
|
169
|
+
status?: boolean;
|
|
170
|
+
notes?: boolean;
|
|
171
|
+
customFields?: boolean;
|
|
172
|
+
sourceInterface?: boolean;
|
|
173
|
+
source?: boolean;
|
|
174
|
+
creationDate?: boolean;
|
|
175
|
+
id?: boolean;
|
|
176
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum ExportStatus {
|
|
2
|
+
REQUESTED = "requested",
|
|
3
|
+
IN_PROGRESS = "inProgress",
|
|
4
|
+
FINISHED = "finished",
|
|
5
|
+
FAILED = "failed"
|
|
6
|
+
}
|
|
7
|
+
export declare class ReportingExportResponseEntity {
|
|
8
|
+
id?: string;
|
|
9
|
+
status?: ExportStatus;
|
|
10
|
+
requested?: Date;
|
|
11
|
+
static fromReportingDto(dto: ReportingExportResponseDto): ReportingExportResponseEntity;
|
|
12
|
+
}
|
|
13
|
+
export declare class ReportingExportResponseDto {
|
|
14
|
+
id?: string;
|
|
15
|
+
status?: ExportStatus;
|
|
16
|
+
requested?: {
|
|
17
|
+
dateTime: string;
|
|
18
|
+
timeZone: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
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 enum GlobalRight {
|
|
17
|
+
owner = 0,
|
|
18
|
+
accountAdministrator = 1,
|
|
19
|
+
accountAnalytics = 2,
|
|
20
|
+
chatAdministrator = 3,
|
|
21
|
+
chatOperator = 4,
|
|
22
|
+
schedulingAdministrator = 5,
|
|
23
|
+
schedulingStaff = 6,
|
|
24
|
+
testimonialsAdministrator = 7,
|
|
25
|
+
testimonialsModeration = 8,
|
|
26
|
+
accountBilling = 9,
|
|
27
|
+
accountButtons = 10,
|
|
28
|
+
accountEmails = 11,
|
|
29
|
+
accountCalls = 12,
|
|
30
|
+
accountForms = 13,
|
|
31
|
+
accountCRM = 14,
|
|
32
|
+
accountSchedulingAdministrator = 15,
|
|
33
|
+
accountSchedulingSchedule = 16,
|
|
34
|
+
accountSchedulingRead = 17,
|
|
35
|
+
queue = 18,
|
|
36
|
+
schedulingRead = 19,
|
|
37
|
+
accountDataOfficer = 20,
|
|
38
|
+
accountWorkflows = 21,
|
|
39
|
+
accountWorkingPlanning = 22,
|
|
40
|
+
schedulingTeamManager = 23,
|
|
41
|
+
accountConferenceAdministrator = 24,
|
|
42
|
+
schedulingNone = 25,
|
|
43
|
+
accountConferenceSchedule = 26,
|
|
44
|
+
accountConferenceRead = 27,
|
|
45
|
+
conferenceAdministrator = 28,
|
|
46
|
+
conferenceSchedule = 29,
|
|
47
|
+
conferenceRead = 30
|
|
48
|
+
}
|
|
49
|
+
export declare class RightsEntity {
|
|
50
|
+
id: string;
|
|
51
|
+
object?: RightObject;
|
|
52
|
+
scheduling?: SchedulingRight;
|
|
53
|
+
settings?: SettingsRight;
|
|
54
|
+
report?: ReportRight;
|
|
55
|
+
queue?: QueueRight;
|
|
56
|
+
form?: FormRight;
|
|
57
|
+
client?: ClientRight;
|
|
58
|
+
workflow?: WorkflowRight;
|
|
59
|
+
workingPlanning?: WorkingPlanningRight;
|
|
60
|
+
planning?: PlanningRight;
|
|
61
|
+
conference?: ConferenceRight;
|
|
62
|
+
dashboard?: DashboardRight;
|
|
63
|
+
whiteLabel?: WhiteLabelRight;
|
|
64
|
+
static fromRightsDto(dto: RightsDto): RightsEntity;
|
|
65
|
+
}
|
|
66
|
+
export interface RightObject {
|
|
67
|
+
type: 'company';
|
|
68
|
+
id: string;
|
|
69
|
+
}
|
|
70
|
+
export interface SchedulingRight {
|
|
71
|
+
appointment: string;
|
|
72
|
+
staffAppointment: string;
|
|
73
|
+
}
|
|
74
|
+
export interface SettingsRight {
|
|
75
|
+
company: string;
|
|
76
|
+
service: string;
|
|
77
|
+
staff: string;
|
|
78
|
+
resource: string;
|
|
79
|
+
staffCustomPeriod: string;
|
|
80
|
+
process: string;
|
|
81
|
+
widget: string;
|
|
82
|
+
notifications: string;
|
|
83
|
+
payments: string;
|
|
84
|
+
messages: string;
|
|
85
|
+
calendars: string;
|
|
86
|
+
crm: string;
|
|
87
|
+
}
|
|
88
|
+
export interface ReportRight {
|
|
89
|
+
report: string;
|
|
90
|
+
}
|
|
91
|
+
export interface QueueRight {
|
|
92
|
+
queue: string;
|
|
93
|
+
}
|
|
94
|
+
export interface FormRight {
|
|
95
|
+
form: string;
|
|
96
|
+
}
|
|
97
|
+
export interface ClientRight {
|
|
98
|
+
client: string;
|
|
99
|
+
}
|
|
100
|
+
export interface WorkflowRight {
|
|
101
|
+
workflow: string;
|
|
102
|
+
}
|
|
103
|
+
export interface WorkingPlanningRight {
|
|
104
|
+
workingPlanning: string;
|
|
105
|
+
}
|
|
106
|
+
export interface PlanningRight {
|
|
107
|
+
planning: string;
|
|
108
|
+
}
|
|
109
|
+
export interface ConferenceRight {
|
|
110
|
+
conference: string;
|
|
111
|
+
forms: string;
|
|
112
|
+
registrations: string;
|
|
113
|
+
sessions: string;
|
|
114
|
+
speakers: string;
|
|
115
|
+
tags: string;
|
|
116
|
+
}
|
|
117
|
+
export interface DashboardRight {
|
|
118
|
+
dashboard: string;
|
|
119
|
+
}
|
|
120
|
+
export interface WhiteLabelRight {
|
|
121
|
+
name: string;
|
|
122
|
+
logo: string;
|
|
123
|
+
favicon: string;
|
|
124
|
+
}
|
|
125
|
+
export declare class RightsDto {
|
|
126
|
+
id: string;
|
|
127
|
+
object?: RightObject;
|
|
128
|
+
scheduling?: SchedulingRight;
|
|
129
|
+
settings?: SettingsRight;
|
|
130
|
+
report?: ReportRight;
|
|
131
|
+
queue?: QueueRight;
|
|
132
|
+
form?: FormRight;
|
|
133
|
+
client?: ClientRight;
|
|
134
|
+
workflow?: WorkflowRight;
|
|
135
|
+
workingPlanning?: WorkingPlanningRight;
|
|
136
|
+
planning?: PlanningRight;
|
|
137
|
+
conference?: ConferenceRight;
|
|
138
|
+
whiteLabel?: WhiteLabelRight;
|
|
139
|
+
dashboard?: DashboardRight;
|
|
140
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
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 type LocationType = "companyAddress" | "videoconference" | "phone" | "custom";
|
|
23
|
+
export type LocationValue = {
|
|
24
|
+
type: LocationType;
|
|
25
|
+
value: string;
|
|
26
|
+
};
|
|
27
|
+
export declare class ServicePublicEntity extends PublicBodyEntity {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
payable?: boolean;
|
|
32
|
+
price?: number;
|
|
33
|
+
picture?: ImageEntity;
|
|
34
|
+
readableDuration?: string;
|
|
35
|
+
duration?: number;
|
|
36
|
+
locations: LocationType[];
|
|
37
|
+
locationCustom?: string;
|
|
38
|
+
minAppointmentDate?: Date;
|
|
39
|
+
maxAppointmentDate?: Date;
|
|
40
|
+
staffs?: string[];
|
|
41
|
+
maxCancellationDelay?: number;
|
|
42
|
+
externalId?: string;
|
|
43
|
+
extendedProperties?: Map<string, any>;
|
|
44
|
+
static fromDto(dto: ServicePublicDto): ServicePublicEntity;
|
|
45
|
+
}
|
|
46
|
+
export declare class ServicesListPublicEntity extends PublicBodyEntity {
|
|
47
|
+
services?: ServicePublicEntity[];
|
|
48
|
+
groups?: ServiceGroupPublicEntity[];
|
|
49
|
+
static fromDto(dto: ServicesListPublicDto): ServicesListPublicEntity;
|
|
50
|
+
}
|
|
51
|
+
export declare class ServicePublicDto {
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
payable?: boolean;
|
|
56
|
+
price?: number;
|
|
57
|
+
picture?: ImageEntity;
|
|
58
|
+
readableDuration?: string;
|
|
59
|
+
duration?: number;
|
|
60
|
+
maxCancellationDelay?: number;
|
|
61
|
+
minAppointment?: string;
|
|
62
|
+
maxAppointment?: string;
|
|
63
|
+
locations: LocationType[];
|
|
64
|
+
locationCustom?: string;
|
|
65
|
+
staffs?: string[];
|
|
66
|
+
externalId?: string;
|
|
67
|
+
extendedProperties?: Map<string, any>;
|
|
68
|
+
}
|
|
69
|
+
export declare class ServicesListPublicDto {
|
|
70
|
+
services?: ServicePublicDto[];
|
|
71
|
+
groups?: ServiceGroupPublicDto[];
|
|
72
|
+
}
|
|
73
|
+
export declare enum ServiceTypeEntity {
|
|
74
|
+
DEFAULT = "default",
|
|
75
|
+
EVENT = "event"
|
|
76
|
+
}
|
|
77
|
+
export declare class ServiceSecuredEntity extends SecuredBodyEntity {
|
|
78
|
+
id?: string;
|
|
79
|
+
cipherId?: string;
|
|
80
|
+
company?: {
|
|
81
|
+
id: string;
|
|
82
|
+
name?: string;
|
|
83
|
+
};
|
|
84
|
+
name: string;
|
|
85
|
+
description?: string;
|
|
86
|
+
capacity: number;
|
|
87
|
+
price?: number;
|
|
88
|
+
bufferDuration?: number;
|
|
89
|
+
preparationDuration?: number;
|
|
90
|
+
validation?: 'location' | 'staff' | 'manager' | 'auto';
|
|
91
|
+
externalId?: string;
|
|
92
|
+
duration: number;
|
|
93
|
+
locations: LocationType[];
|
|
94
|
+
locationCustom?: string;
|
|
95
|
+
picture?: ImageEntity;
|
|
96
|
+
staffsSkill?: string[];
|
|
97
|
+
color?: string;
|
|
98
|
+
checkFilterColor?: string;
|
|
99
|
+
type?: ServiceTypeEntity;
|
|
100
|
+
availability?: 'public' | 'backoffice' | 'hidden' | 'disabled';
|
|
101
|
+
minAppointmentDate?: string;
|
|
102
|
+
maxAppointmentDate?: string;
|
|
103
|
+
appointmentDateScope?: string;
|
|
104
|
+
i18n?: {
|
|
105
|
+
fr?: {
|
|
106
|
+
name?: string;
|
|
107
|
+
description?: string;
|
|
108
|
+
};
|
|
109
|
+
en?: {
|
|
110
|
+
name?: string;
|
|
111
|
+
description?: string;
|
|
112
|
+
};
|
|
113
|
+
de?: {
|
|
114
|
+
name?: string;
|
|
115
|
+
description?: string;
|
|
116
|
+
};
|
|
117
|
+
pt?: {
|
|
118
|
+
name?: string;
|
|
119
|
+
description?: string;
|
|
120
|
+
};
|
|
121
|
+
es?: {
|
|
122
|
+
name?: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
};
|
|
125
|
+
nl?: {
|
|
126
|
+
name?: string;
|
|
127
|
+
description?: string;
|
|
128
|
+
};
|
|
129
|
+
jp?: {
|
|
130
|
+
name?: string;
|
|
131
|
+
description?: string;
|
|
132
|
+
};
|
|
133
|
+
it?: {
|
|
134
|
+
name?: string;
|
|
135
|
+
description?: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
resources?: {
|
|
139
|
+
id: string;
|
|
140
|
+
name?: string;
|
|
141
|
+
quantity?: number;
|
|
142
|
+
}[];
|
|
143
|
+
maxCancellationDelay?: number;
|
|
144
|
+
useWorkingHours: boolean;
|
|
145
|
+
workingHours: SettingsWorkingDayEntity[];
|
|
146
|
+
customWorkingHours: SettingsPeriodWorkingEntity[];
|
|
147
|
+
constructor();
|
|
148
|
+
static fromServiceDto(dto: ServiceSecuredDto): ServiceSecuredEntity;
|
|
149
|
+
static toServiceDto(entity: ServiceSecuredEntity, lang?: string): ServiceSecuredDto;
|
|
150
|
+
}
|
|
151
|
+
export declare class ServiceSecuredDto {
|
|
152
|
+
id?: string;
|
|
153
|
+
cipherId?: string;
|
|
154
|
+
company?: {
|
|
155
|
+
id: string;
|
|
156
|
+
name?: string;
|
|
157
|
+
};
|
|
158
|
+
name: string;
|
|
159
|
+
duration: number;
|
|
160
|
+
locations: LocationType[];
|
|
161
|
+
locationCustom?: string;
|
|
162
|
+
picture?: ImageEntity;
|
|
163
|
+
description?: string;
|
|
164
|
+
capacity: number;
|
|
165
|
+
price?: number;
|
|
166
|
+
bufferDuration?: number;
|
|
167
|
+
preparationDuration?: number;
|
|
168
|
+
validation?: 'location' | 'staff' | 'manager' | 'auto';
|
|
169
|
+
externalId?: string;
|
|
170
|
+
staff?: {
|
|
171
|
+
id: string;
|
|
172
|
+
}[];
|
|
173
|
+
color?: string;
|
|
174
|
+
availability?: 'public' | 'backoffice' | 'hidden' | 'disabled';
|
|
175
|
+
resource?: {
|
|
176
|
+
id: string;
|
|
177
|
+
name?: string;
|
|
178
|
+
quantity?: number;
|
|
179
|
+
}[];
|
|
180
|
+
bypassFreeBusyAvailabilities?: boolean;
|
|
181
|
+
minAppointmentDate?: string;
|
|
182
|
+
maxAppointmentDate?: string;
|
|
183
|
+
appointmentDateScope?: string;
|
|
184
|
+
i18n?: {
|
|
185
|
+
fr?: {
|
|
186
|
+
name?: string;
|
|
187
|
+
description?: string;
|
|
188
|
+
};
|
|
189
|
+
en?: {
|
|
190
|
+
name?: string;
|
|
191
|
+
description?: string;
|
|
192
|
+
};
|
|
193
|
+
de?: {
|
|
194
|
+
name?: string;
|
|
195
|
+
description?: string;
|
|
196
|
+
};
|
|
197
|
+
pt?: {
|
|
198
|
+
name?: string;
|
|
199
|
+
description?: string;
|
|
200
|
+
};
|
|
201
|
+
es?: {
|
|
202
|
+
name?: string;
|
|
203
|
+
description?: string;
|
|
204
|
+
};
|
|
205
|
+
nl?: {
|
|
206
|
+
name?: string;
|
|
207
|
+
description?: string;
|
|
208
|
+
};
|
|
209
|
+
jp?: {
|
|
210
|
+
name?: string;
|
|
211
|
+
description?: string;
|
|
212
|
+
};
|
|
213
|
+
it?: {
|
|
214
|
+
name?: string;
|
|
215
|
+
description?: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
maxCancellationDelay?: number;
|
|
219
|
+
useWorkingHours?: boolean;
|
|
220
|
+
workingHours?: SettingsWorkingDayDto[];
|
|
221
|
+
customWorkingHours?: SettingsPeriodWorkingDto[];
|
|
222
|
+
}
|
|
223
|
+
export declare class ServicesListSecuredEntity extends Array<ServiceSecuredEntity> {
|
|
224
|
+
}
|
|
@@ -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,29 @@
|
|
|
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 SettingsEntity {
|
|
17
|
+
private id?;
|
|
18
|
+
calendar: {
|
|
19
|
+
useMandatoryFieldsForFreeMode: boolean;
|
|
20
|
+
};
|
|
21
|
+
internalAppointmentTitles?: string[];
|
|
22
|
+
static fromSettingsDto(organisation: string, dto: SettingsDto): SettingsEntity;
|
|
23
|
+
}
|
|
24
|
+
export declare class SettingsDto {
|
|
25
|
+
calendar: {
|
|
26
|
+
useMandatoryFieldsForFreeMode: boolean;
|
|
27
|
+
};
|
|
28
|
+
internalAppointmentTitles?: string[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ShortPollingNotificationObject, ShortPollingNotificationObjectDb } from "./shortPollingNotification/ShortPollingNotificationObject";
|
|
2
|
+
import { ShortPollingNotificationScope } from "@/service/secured/shortPollingNotificationSecuredService";
|
|
3
|
+
export type ShortPollingNotificationType = 'event' | 'report';
|
|
4
|
+
export type ShortPollingNotificationSubType = 'new' | 'update' | 'delete' | 'accept' | 'decline' | 'fail';
|
|
5
|
+
export declare class ShortPollingNotificationEntity {
|
|
6
|
+
id: string;
|
|
7
|
+
type: ShortPollingNotificationType;
|
|
8
|
+
subType: ShortPollingNotificationSubType;
|
|
9
|
+
notificationObject?: ShortPollingNotificationObject;
|
|
10
|
+
date: Date;
|
|
11
|
+
static fromNotificationDto(dto: ShortPollingNotificationDto, messageOutputType?: ShortPollingNotificationSubType): ShortPollingNotificationEntity;
|
|
12
|
+
}
|
|
13
|
+
export declare class ShortPollingNotificationPingEntity {
|
|
14
|
+
pingScopes?: ShortPollingNotificationScope[];
|
|
15
|
+
nextSyncToken: number;
|
|
16
|
+
static fromDto(dto: ShortPollingNotificationPingDto): ShortPollingNotificationPingEntity;
|
|
17
|
+
}
|
|
18
|
+
export declare class ShortPollingNotificationDto {
|
|
19
|
+
type: ShortPollingNotificationType;
|
|
20
|
+
notificationObject: ShortPollingNotificationObjectDb;
|
|
21
|
+
status?: ShortPollingNotificationSubType;
|
|
22
|
+
date?: {
|
|
23
|
+
"dateTime": string;
|
|
24
|
+
"timeZone": string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export declare class ShortPollingNotificationContainerDto {
|
|
28
|
+
items: ShortPollingNotificationDto[];
|
|
29
|
+
totalItems: number;
|
|
30
|
+
nextSyncToken: number;
|
|
31
|
+
}
|
|
32
|
+
export declare class ShortPollingNotificationPingDto {
|
|
33
|
+
pingScopes?: ShortPollingNotificationScope[];
|
|
34
|
+
nextSyncToken: number;
|
|
35
|
+
}
|