@agendize/js-agendize-api 1.35.0 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agendizeApi.d.ts +575 -0
- package/dist/browserStorage/browserStorage.d.ts +46 -0
- package/dist/config.d.ts +19 -0
- package/dist/data/Account.d.ts +224 -0
- package/dist/data/Activity.d.ts +529 -0
- package/dist/data/Address.d.ts +46 -0
- package/dist/data/Attendee.d.ts +59 -0
- package/dist/data/Batch.d.ts +41 -0
- package/dist/data/CRMSettings.d.ts +35 -0
- package/dist/data/Calendar.d.ts +78 -0
- package/dist/data/Changelog.d.ts +20 -0
- package/dist/data/Common.d.ts +33 -0
- package/dist/data/CommonEnum.d.ts +44 -0
- package/dist/data/Company.d.ts +170 -0
- package/dist/data/CompanyPerformance.d.ts +26 -0
- package/dist/data/CompanySettings.d.ts +29 -0
- package/dist/data/Connector.d.ts +26 -0
- package/dist/data/Consent.d.ts +4 -0
- package/dist/data/Contact.d.ts +208 -0
- package/dist/data/CustomStatus.d.ts +20 -0
- package/dist/data/Employee.d.ts +27 -0
- package/dist/data/Error.d.ts +65 -0
- package/dist/data/Event.d.ts +222 -0
- package/dist/data/EventSearch.d.ts +232 -0
- package/dist/data/EventUpdate.d.ts +9 -0
- package/dist/data/Form.d.ts +230 -0
- package/dist/data/FormResult.d.ts +61 -0
- package/dist/data/FormResultStatus.d.ts +23 -0
- package/dist/data/FreeSlot.d.ts +72 -0
- package/dist/data/Help.d.ts +18 -0
- package/dist/data/Image.d.ts +24 -0
- package/dist/data/Integration.d.ts +36 -0
- package/dist/data/Link.d.ts +10 -0
- package/dist/data/Log.d.ts +79 -0
- package/dist/data/LoginProvider.d.ts +17 -0
- package/dist/data/LoginRealm.d.ts +20 -0
- package/dist/data/Note.d.ts +27 -0
- package/dist/data/Notification.d.ts +51 -0
- package/dist/data/NotificationStatus.d.ts +5 -0
- package/dist/data/PrivacyPolicy.d.ts +43 -0
- package/dist/data/Queue.d.ts +54 -0
- package/dist/data/QueueRegistration.d.ts +101 -0
- package/dist/data/Reporting.d.ts +34 -0
- package/dist/data/ReportingExportBody.d.ts +176 -0
- package/dist/data/ReportingExportResponse.d.ts +20 -0
- package/dist/data/Rights.d.ts +140 -0
- package/dist/data/Service.d.ts +234 -0
- package/dist/data/ServiceGroup.d.ts +57 -0
- package/dist/data/ServiceResource.d.ts +26 -0
- package/dist/data/Settings.d.ts +29 -0
- package/dist/data/ShortPollingNotification.d.ts +35 -0
- package/dist/data/Shortener.d.ts +8 -0
- package/dist/data/Staff.d.ts +115 -0
- package/dist/data/StaffForms.d.ts +42 -0
- package/dist/data/StaffGroup.d.ts +58 -0
- package/dist/data/User.d.ts +84 -0
- package/dist/data/WidgetUrlCipher.d.ts +25 -0
- package/dist/data/WorkingHours.d.ts +94 -0
- package/dist/data/account/Permission.d.ts +46 -0
- package/dist/data/action/ShareLink.d.ts +55 -0
- package/dist/data/conference/Conference.d.ts +161 -0
- package/dist/data/conference/ConferenceAssignment.d.ts +194 -0
- package/dist/data/conference/ConferenceForm.d.ts +36 -0
- package/dist/data/conference/ConferenceInvitee.d.ts +31 -0
- package/dist/data/conference/ConferenceLocation.d.ts +359 -0
- package/dist/data/conference/ConferenceSpeaker.d.ts +28 -0
- package/dist/data/conference/ConferenceSubscriptionRules.d.ts +12 -0
- package/dist/data/conference/ConferenceTag.d.ts +29 -0
- package/dist/data/conference/Registration.d.ts +56 -0
- package/dist/data/conference/RegistrationCancel.d.ts +26 -0
- package/dist/data/conference/RegistrationClient.d.ts +16 -0
- package/dist/data/conference/Session.d.ts +140 -0
- package/dist/data/conference/Widget.d.ts +94 -0
- package/dist/data/crm/ClientMessage.d.ts +42 -0
- package/dist/data/dashboard/DashboardStructure.d.ts +42 -0
- package/dist/data/dashboard/KeyFigures.d.ts +9 -0
- package/dist/data/planning/Planning.d.ts +17 -0
- package/dist/data/planning/PlanningDay.d.ts +12 -0
- package/dist/data/planning/PlanningHour.d.ts +10 -0
- package/dist/data/planning/PlanningWeek.d.ts +13 -0
- package/dist/data/scheduling/Availabilities.d.ts +103 -0
- package/dist/data/scheduling/SchedulingRights.d.ts +40 -0
- package/dist/data/scheduling/WorkingPlanning.d.ts +119 -0
- package/dist/data/scheduling/schedule/CompanySchedule.d.ts +19 -0
- package/dist/data/scheduling/schedule/ScheduleWorkingHours.d.ts +18 -0
- package/dist/data/scheduling/schedule/UserSchedules.d.ts +20 -0
- package/dist/data/shortPollingNotification/ShortPollingNotificationEvent.d.ts +58 -0
- package/dist/data/shortPollingNotification/ShortPollingNotificationObject.d.ts +4 -0
- package/dist/data/shortPollingNotification/ShortPollingNotificationReport.d.ts +8 -0
- package/dist/db/DashboardStructureDb.d.ts +12 -0
- package/dist/db/calendarDb.d.ts +26 -0
- package/dist/db/calendarTeamDb.d.ts +27 -0
- package/dist/db/calendarTeamDefaultDb.d.ts +20 -0
- package/dist/db/clientMessageDb.d.ts +10 -0
- package/dist/db/companyDb.d.ts +26 -0
- package/dist/db/companySettingsDb.d.ts +11 -0
- package/dist/db/conferenceDb.d.ts +26 -0
- package/dist/db/conferenceInviteeDb.d.ts +27 -0
- package/dist/db/conferenceRegistrationDb.d.ts +11 -0
- package/dist/db/conferenceSessionDb.d.ts +27 -0
- package/dist/db/conferenceSpeakerDb.d.ts +27 -0
- package/dist/db/conferenceTagDb.d.ts +12 -0
- package/dist/db/contactDb.d.ts +26 -0
- package/dist/db/crmSettingsDb.d.ts +9 -0
- package/dist/db/customStatusDb.d.ts +13 -0
- package/dist/db/eventDb.d.ts +29 -0
- package/dist/db/externalEventDb.d.ts +26 -0
- package/dist/db/formBuilderDb.d.ts +26 -0
- package/dist/db/icsEventDb.d.ts +25 -0
- package/dist/db/index.d.ts +74 -0
- package/dist/db/noteDb.d.ts +27 -0
- package/dist/db/notificationDb.d.ts +9 -0
- package/dist/db/notificationStatusDb.d.ts +26 -0
- package/dist/db/planningDb.d.ts +27 -0
- package/dist/db/privacyPolicyDb.d.ts +24 -0
- package/dist/db/promoteFieldDb.d.ts +9 -0
- package/dist/db/queueDb.d.ts +27 -0
- package/dist/db/rightsDb.d.ts +25 -0
- package/dist/db/serviceDb.d.ts +28 -0
- package/dist/db/serviceGroupDb.d.ts +31 -0
- package/dist/db/serviceResourceDb.d.ts +27 -0
- package/dist/db/settingsDb.d.ts +24 -0
- package/dist/db/shortPollingNotificationDb.d.ts +28 -0
- package/dist/db/sseNotificationDb.d.ts +0 -0
- package/dist/db/staffDb.d.ts +28 -0
- package/dist/db/staffFormsDb.d.ts +25 -0
- package/dist/db/staffGroupDb.d.ts +32 -0
- package/dist/db/userDb.d.ts +27 -0
- package/dist/db/userDefaultDb.d.ts +20 -0
- package/dist/db/userDirectoryDb.d.ts +28 -0
- package/dist/db/widgetFormDb.d.ts +25 -0
- package/dist/eventFetchedMeta/eventMeta.d.ts +24 -0
- package/dist/eventFetchedMeta/eventMetaStorage.d.ts +63 -0
- package/dist/index.d.ts +102 -0
- package/dist/js-agendize-api.es.js +33381 -0
- package/dist/repository/index.d.ts +87 -0
- package/dist/repository/public/accountPublicRepository.d.ts +40 -0
- package/dist/repository/public/availabilityPublicRepository.d.ts +39 -0
- package/dist/repository/public/companyPublicRepository.d.ts +24 -0
- package/dist/repository/public/conferencePublicRepository.d.ts +27 -0
- package/dist/repository/public/customStatusPublicRepository.d.ts +28 -0
- package/dist/repository/public/eventPublicRepository.d.ts +42 -0
- package/dist/repository/public/formPublicRepository.d.ts +25 -0
- package/dist/repository/public/freeSlotPublicRepository.d.ts +40 -0
- package/dist/repository/public/queuePublicRepository.d.ts +22 -0
- package/dist/repository/public/queueRegistrationPublicRepository.d.ts +22 -0
- package/dist/repository/public/registrationPublicRepository.d.ts +22 -0
- package/dist/repository/public/servicePublicRepository.d.ts +24 -0
- package/dist/repository/public/sessionPublicRepository.d.ts +23 -0
- package/dist/repository/public/staffGroupPublicRepository.d.ts +24 -0
- package/dist/repository/public/staffPublicRepository.d.ts +24 -0
- package/dist/repository/public/widgetPublicRepository.d.ts +26 -0
- package/dist/repository/secured/CRMSettingsSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/accountSecuredRepository.d.ts +44 -0
- package/dist/repository/secured/activitySecuredRepository.d.ts +43 -0
- package/dist/repository/secured/additionalFieldsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/appointmentAttendeeSecuredRepository.d.ts +47 -0
- package/dist/repository/secured/availabilitySecuredRepository.d.ts +42 -0
- package/dist/repository/secured/calendarSecuredRepository.d.ts +33 -0
- package/dist/repository/secured/changelogSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/clientMessageSecuredRepository.d.ts +29 -0
- package/dist/repository/secured/companyPerformanceSecuredRepository.d.ts +37 -0
- package/dist/repository/secured/companySecuredRepository.d.ts +34 -0
- package/dist/repository/secured/companySettingsSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/conferenceInviteeSecuredRepository.d.ts +47 -0
- package/dist/repository/secured/conferenceRegistrationSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/conferenceSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/conferenceSessionSecuredRepository.d.ts +49 -0
- package/dist/repository/secured/conferenceSpeakerSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/conferenceTagSecuredRepository.d.ts +31 -0
- package/dist/repository/secured/connectorsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/contactExternalSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/contactSecuredRepository.d.ts +38 -0
- package/dist/repository/secured/customStatusSecuredRepository.d.ts +32 -0
- package/dist/repository/secured/dasboardStructureSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/dashboardSecuredRepository.d.ts +20 -0
- package/dist/repository/secured/eventSecuredRepository.d.ts +67 -0
- package/dist/repository/secured/exportAppointmentsSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/exportCalendarSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/externalEventSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/formBuilderSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/formResultSecuredRepository.d.ts +31 -0
- package/dist/repository/secured/formResultStatusSecuredRepository.d.ts +30 -0
- package/dist/repository/secured/freeSlotSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/icsEventSecuredRepository.d.ts +34 -0
- package/dist/repository/secured/integrationsSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/logSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/noteSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/notificationSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/notificationStatusSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/permissionSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/planningSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/privacyPolicySecuredRepository.d.ts +41 -0
- package/dist/repository/secured/promoteFieldSecuredRepository.d.ts +26 -0
- package/dist/repository/secured/queueRegistrationSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/queueSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/reportingSecuredRepository.d.ts +42 -0
- package/dist/repository/secured/rightsSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/scheduleSecuredRepository.d.ts +25 -0
- package/dist/repository/secured/schedulingRightsSecuredRepository.d.ts +26 -0
- package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/serviceResourceSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/serviceSecuredRepository.d.ts +36 -0
- package/dist/repository/secured/settingsSecuredRepository.d.ts +27 -0
- package/dist/repository/secured/shareLinkSecuredRepository.d.ts +38 -0
- package/dist/repository/secured/shortPollingNotificationSecuredRepository.d.ts +32 -0
- package/dist/repository/secured/shortenerSecuredRepository.d.ts +39 -0
- package/dist/repository/secured/sseNotificationSecuredRepository.d.ts +0 -0
- package/dist/repository/secured/staffFormsSecuredRepository.d.ts +40 -0
- package/dist/repository/secured/staffGroupSecuredRepository.d.ts +50 -0
- package/dist/repository/secured/staffSecuredRepository.d.ts +41 -0
- package/dist/repository/secured/tagSecuredRepository.d.ts +24 -0
- package/dist/repository/secured/userAbstractSecuredRepository.d.ts +55 -0
- package/dist/repository/secured/userDefaultSecuredRepository.d.ts +28 -0
- package/dist/repository/secured/userDirectorySecuredRepository.d.ts +41 -0
- package/dist/repository/secured/userSecuredRepository.d.ts +33 -0
- package/dist/repository/secured/widgetFormSecuredRepository.d.ts +45 -0
- package/dist/repository/secured/widgetUrlCipherSecuredRepository.d.ts +46 -0
- package/dist/repository/secured/workingPlanningSecuredRepository.d.ts +34 -0
- package/dist/service/index.d.ts +47 -0
- package/dist/service/items/EventFields.d.ts +30 -0
- package/dist/service/public/WidgetError.d.ts +7 -0
- package/dist/service/public/accountPublicService.d.ts +20 -0
- package/dist/service/public/availabilityPublicService.d.ts +21 -0
- package/dist/service/public/companyPublicService.d.ts +6 -0
- package/dist/service/public/conferencePublicService.d.ts +6 -0
- package/dist/service/public/customStatusPublicService.d.ts +5 -0
- package/dist/service/public/eventPublicService.d.ts +30 -0
- package/dist/service/public/formPublicService.d.ts +7 -0
- package/dist/service/public/freeSlotPublicService.d.ts +20 -0
- package/dist/service/public/queueInscriptionPublicService.d.ts +5 -0
- package/dist/service/public/queuePublicService.d.ts +5 -0
- package/dist/service/public/registrationPublicService.d.ts +8 -0
- package/dist/service/public/servicePublicService.d.ts +22 -0
- package/dist/service/public/sessionPublicService.d.ts +5 -0
- package/dist/service/public/staffGroupPublicService.d.ts +6 -0
- package/dist/service/public/staffPublicService.d.ts +6 -0
- package/dist/service/public/widgetPublicService.d.ts +5 -0
- package/dist/service/public/widgetResponse.d.ts +3 -0
- package/dist/service/secured/FormResultSecuredService.d.ts +8 -0
- package/dist/service/secured/accountSecuredService.d.ts +23 -0
- package/dist/service/secured/activitySecuredService.d.ts +22 -0
- package/dist/service/secured/additionalFieldsSecuredService.d.ts +5 -0
- package/dist/service/secured/attendeeSecuredService.d.ts +25 -0
- package/dist/service/secured/authenticationSecuredService.d.ts +56 -0
- package/dist/service/secured/availabilitiesSecuredService.d.ts +20 -0
- package/dist/service/secured/batchSecuredService.d.ts +20 -0
- package/dist/service/secured/calendarSecuredService.d.ts +28 -0
- package/dist/service/secured/changelogSecuredService.d.ts +20 -0
- package/dist/service/secured/clientMessageSecuredService.d.ts +6 -0
- package/dist/service/secured/companyPerformanceSecuredService.d.ts +20 -0
- package/dist/service/secured/companySecuredService.d.ts +27 -0
- package/dist/service/secured/companySettingsSecuredService.d.ts +6 -0
- package/dist/service/secured/conferenceInviteeSecuredService.d.ts +25 -0
- package/dist/service/secured/conferenceRegistrationSecuredService.d.ts +13 -0
- package/dist/service/secured/conferenceSecuredService.d.ts +25 -0
- package/dist/service/secured/conferenceSessionSecuredService.d.ts +26 -0
- package/dist/service/secured/conferenceSpeakerSecuredService.d.ts +30 -0
- package/dist/service/secured/conferenceTagSecuredService.d.ts +10 -0
- package/dist/service/secured/connectorsSecuredService.d.ts +5 -0
- package/dist/service/secured/contactExternalSecuredService.d.ts +21 -0
- package/dist/service/secured/contactSecuredService.d.ts +26 -0
- package/dist/service/secured/crmSettingsSecuredService.d.ts +5 -0
- package/dist/service/secured/customStatusSecuredService.d.ts +9 -0
- package/dist/service/secured/dashboardSecuredService.d.ts +5 -0
- package/dist/service/secured/dashboardStructureSecuredService.d.ts +5 -0
- package/dist/service/secured/eventSecuredService.d.ts +161 -0
- package/dist/service/secured/exportAppointmentsSecuredService.d.ts +7 -0
- package/dist/service/secured/exportCalendarSecuredService.d.ts +5 -0
- package/dist/service/secured/formBuilderSecuredService.d.ts +24 -0
- package/dist/service/secured/formResultStatusSecuredService.d.ts +6 -0
- package/dist/service/secured/freeSlotSecuredService.d.ts +21 -0
- package/dist/service/secured/freeStaffSecuredService.d.ts +19 -0
- package/dist/service/secured/integrationsSecuredService.d.ts +5 -0
- package/dist/service/secured/logSecuredService.d.ts +19 -0
- package/dist/service/secured/noteSecuredService.d.ts +22 -0
- package/dist/service/secured/notificationSecuredService.d.ts +6 -0
- package/dist/service/secured/permissionsSecuredService.d.ts +24 -0
- package/dist/service/secured/planningSecuredService.d.ts +25 -0
- package/dist/service/secured/privacyPolicySecuredService.d.ts +20 -0
- package/dist/service/secured/promoteFieldSecuredService.d.ts +5 -0
- package/dist/service/secured/queueRegistrationSecuredService.d.ts +23 -0
- package/dist/service/secured/queueSecuredService.d.ts +25 -0
- package/dist/service/secured/reportingSecuredService.d.ts +20 -0
- package/dist/service/secured/rightsSecuredService.d.ts +20 -0
- package/dist/service/secured/scheduleSecuredService.d.ts +5 -0
- package/dist/service/secured/schedulingRightsSecuredService.d.ts +7 -0
- package/dist/service/secured/serviceGroupSecuredService.d.ts +25 -0
- package/dist/service/secured/serviceResourceSecuredService.d.ts +25 -0
- package/dist/service/secured/serviceSecuredService.d.ts +25 -0
- package/dist/service/secured/settingsSecuredService.d.ts +20 -0
- package/dist/service/secured/shareLinkSecuredService.d.ts +21 -0
- package/dist/service/secured/shortPollingNotificationSecuredService.d.ts +10 -0
- package/dist/service/secured/shortenerSecuredService.d.ts +20 -0
- package/dist/service/secured/staffFormsSecuredService.d.ts +20 -0
- package/dist/service/secured/staffGroupSecuredService.d.ts +25 -0
- package/dist/service/secured/staffSecuredService.d.ts +26 -0
- package/dist/service/secured/tagSecuredService.d.ts +5 -0
- package/dist/service/secured/userDirectorySecuredService.d.ts +20 -0
- package/dist/service/secured/userSecuredService.d.ts +33 -0
- package/dist/service/secured/widgetFormSecuredService.d.ts +26 -0
- package/dist/service/secured/widgetUrlCipherSecuredService.d.ts +21 -0
- package/dist/service/secured/workingPlanningSecuredService.d.ts +6 -0
- package/dist/utils/axiosLoggerBuilder.d.ts +11 -0
- package/dist/utils/colorManager.d.ts +7 -0
- package/dist/utils/date.d.ts +12 -0
- package/dist/utils/encoding.d.ts +8 -0
- package/dist/utils/formUtils.d.ts +4 -0
- package/dist/utils/logger.d.ts +40 -0
- package/dist/utils/pkceUtils.d.ts +10 -0
- package/dist/utils/widgetForms.d.ts +7 -0
- package/package.json +3 -3
|
@@ -0,0 +1,575 @@
|
|
|
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 { EventEntity } from "@/data/Event";
|
|
17
|
+
import { AdditionalFieldsEntity, ContactAdvancedSearchEntity, ContactEntity, ContactTagEntity, PromoteFieldEntity } from "@/data/Contact";
|
|
18
|
+
import TokenDto from "@/service/secured/authenticationSecuredService";
|
|
19
|
+
import { QUERY_PAGINATED_RESULT, QUERY_RESULT, QUERY_RESULTS, QUERY_TYPE } from "@/repository";
|
|
20
|
+
import { ServiceEntity, ServicesFilterOptions, ServicesListEntity } from "@/data/Service";
|
|
21
|
+
import { StaffEntity } from "@/data/Staff";
|
|
22
|
+
import { UserEntity } from "@/data/User";
|
|
23
|
+
import { CompanyEntity } from "@/data/Company";
|
|
24
|
+
import { CalendarEntity, CalendarTeamEntity } from "@/data/Calendar";
|
|
25
|
+
import { FreeSlotEntity, FreeSlotsFilterOptions } from "@/data/FreeSlot";
|
|
26
|
+
import { PrivacyPolicyEntity } from "@/data/PrivacyPolicy";
|
|
27
|
+
import { ServiceGroupEntity } from "@/data/ServiceGroup";
|
|
28
|
+
import { AccountEntity, AccountSecuredEntity } from "@/data/Account";
|
|
29
|
+
import { StaffGroupEntity } from "@/data/StaffGroup";
|
|
30
|
+
import { StaffFormsEntity } from "@/data/StaffForms";
|
|
31
|
+
import { SettingsWorkingDayEntity } from "@/data/WorkingHours";
|
|
32
|
+
import { RightsEntity } from "@/data/Rights";
|
|
33
|
+
import { ActivityEntity } from "@/data/Activity";
|
|
34
|
+
import { NoteEntity } from "@/data/Note";
|
|
35
|
+
import { ShortPollingNotificationEntity, ShortPollingNotificationPingEntity } from "@/data/ShortPollingNotification";
|
|
36
|
+
import { FormBuilderEntity, WidgetFormEntity } from "@/data/Form";
|
|
37
|
+
import { QueueEntity } from "@/data/Queue";
|
|
38
|
+
import { FormResultEntity } from "@/data/FormResult";
|
|
39
|
+
import { FormResultStatusEntity } from "@/data/FormResultStatus";
|
|
40
|
+
import { QueueRegistrationEntity, QueueRegistrationResultEntity, QueueRegistrationStatus } from "@/data/QueueRegistration";
|
|
41
|
+
import { NotificationStatusEntity } from "@/data/NotificationStatus";
|
|
42
|
+
import { Logger } from "@/utils/logger";
|
|
43
|
+
import { ServiceResourceEntity } from "@/data/ServiceResource";
|
|
44
|
+
import { WidgetUrlCipherEntity, WidgetUrlCipherInputEntity } from "@/data/WidgetUrlCipher";
|
|
45
|
+
import { EventFields } from "@/service/items/EventFields";
|
|
46
|
+
import { ReportDashboardFilter, ReportsEntity } from "@/data/Reporting";
|
|
47
|
+
import { CompanyPerformanceEntity } from "@/data/CompanyPerformance";
|
|
48
|
+
import { PlanningEntity } from "@/data/planning/Planning";
|
|
49
|
+
import { UserSchedulesEntity } from "@/data/scheduling/schedule/UserSchedules";
|
|
50
|
+
import { ApiErrors } from "@/data/Error";
|
|
51
|
+
import { SchedulingRightsEntity } from "@/data/scheduling/SchedulingRights";
|
|
52
|
+
import { LogEntity } from "@/data/Log";
|
|
53
|
+
import { NotificationEntity } from "@/data/Notification";
|
|
54
|
+
import { WorkingPlanningEntity } from "@/data/scheduling/WorkingPlanning";
|
|
55
|
+
import { ChangelogEntity } from "@/data/Changelog";
|
|
56
|
+
import { ReportingExportResponseEntity } from "@/data/ReportingExportResponse";
|
|
57
|
+
import { ReportingExportBodyEntity } from "@/data/ReportingExportBody";
|
|
58
|
+
import { ShortenerEntity } from "@/data/Shortener";
|
|
59
|
+
import { CustomStatusEntity } from "@/data/CustomStatus";
|
|
60
|
+
import { ConferenceEntity, ConferenceLightEntity, ConferenceListEntity } from "@/data/conference/Conference";
|
|
61
|
+
import { EventSearchBodyEntity, EventSearchEntity, EventSearchOption, EventSearchPageEntity } from "@/data/EventSearch";
|
|
62
|
+
import { ShortPollingNotificationScope } from "@/service/secured/shortPollingNotificationSecuredService";
|
|
63
|
+
import { IntegrationEntity } from "@/data/Integration";
|
|
64
|
+
import { ConnectorEntity } from "@/data/Connector";
|
|
65
|
+
import { CRMSettingsEntity } from "@/data/CRMSettings";
|
|
66
|
+
import { KeyFigureType } from "@/data/dashboard/KeyFigures";
|
|
67
|
+
import { LoginProviderEntity } from "@/data/LoginProvider";
|
|
68
|
+
import { WidgetFormFieldsAPIProperties } from "@/service/secured/widgetFormSecuredService";
|
|
69
|
+
import { ConferenceSpeakerEntity } from "@/data/conference/ConferenceSpeaker";
|
|
70
|
+
import { ConferenceInviteeEntity } from "@/data/conference/ConferenceInvitee";
|
|
71
|
+
import { ConferenceSessionEntity, ConferenceSessionsSearchBodyEntity, ConferenceSessionsSearchEntity } from "@/data/conference/Session";
|
|
72
|
+
import { ConferenceRegistrationCancelEntity } from "@/data/conference/RegistrationCancel";
|
|
73
|
+
import { ConferenceRegistrationEntity } from "@/data/conference/Registration";
|
|
74
|
+
import { ConferenceTagEntity } from "@/data/conference/ConferenceTag";
|
|
75
|
+
import { ConferenceRegistrationResponseEntity, WidgetEntity } from "@/data/conference/Widget";
|
|
76
|
+
import { LoginRealmEntity } from "@/data/LoginRealm";
|
|
77
|
+
import { CompanySettingsEntity } from "@/data/CompanySettings";
|
|
78
|
+
import { PermissionEntity } from "@/data/account/Permission";
|
|
79
|
+
import { ShareLinkEntity, ShareLinkResponseItemEntity } from "@/data/action/ShareLink";
|
|
80
|
+
import { AvailabilityFilterOptions } from "@/data/scheduling/Availabilities";
|
|
81
|
+
import { ClientMessageEntity } from "@/data/crm/ClientMessage";
|
|
82
|
+
import { AttendeeSecuredEntity } from "@/data/Attendee";
|
|
83
|
+
export interface ApiOptions {
|
|
84
|
+
baseURL: string;
|
|
85
|
+
widgetBaseURL: string;
|
|
86
|
+
clientId: string;
|
|
87
|
+
logger?: Logger;
|
|
88
|
+
}
|
|
89
|
+
export declare class AgendizeApi {
|
|
90
|
+
private authenticationService;
|
|
91
|
+
private accountSecuredService;
|
|
92
|
+
private batchService;
|
|
93
|
+
private accountSecuredRepository;
|
|
94
|
+
private accountPublicRepository;
|
|
95
|
+
private availabilityPublicRepository;
|
|
96
|
+
private availabilitySecuredRepository;
|
|
97
|
+
private calendarSecuredRepository;
|
|
98
|
+
private companySecuredRepository;
|
|
99
|
+
private companyPublicRepository;
|
|
100
|
+
private staffSecuredRepository;
|
|
101
|
+
private staffPublicRepository;
|
|
102
|
+
private staffGroupPublicRepository;
|
|
103
|
+
private serviceSecuredRepository;
|
|
104
|
+
private servicePublicRepository;
|
|
105
|
+
private contactSecuredRepository;
|
|
106
|
+
private externalContactSecuredRepository;
|
|
107
|
+
private externalEventSecuredRepository;
|
|
108
|
+
private icsEventSecuredRepository;
|
|
109
|
+
private eventSecuredRepository;
|
|
110
|
+
private eventPublicRepository;
|
|
111
|
+
private userSecuredRepository;
|
|
112
|
+
private userDefaultSecuredRepository;
|
|
113
|
+
private widgetFormSecuredRepository;
|
|
114
|
+
private formBuilderSecuredRepository;
|
|
115
|
+
private formPublicRepository;
|
|
116
|
+
private freeSlotSecuredRepository;
|
|
117
|
+
private freeSlotPublicRepository;
|
|
118
|
+
private freeStaffService;
|
|
119
|
+
private planningSecuredRepository;
|
|
120
|
+
private privacyPolicySecuredRepository;
|
|
121
|
+
private promoteFieldSecuredRepository;
|
|
122
|
+
private serviceGroupSecuredRepository;
|
|
123
|
+
private serviceResourceSecuredRepository;
|
|
124
|
+
private staffGroupSecuredRepository;
|
|
125
|
+
private staffFormsSecuredRepository;
|
|
126
|
+
private rightsSecuredRepository;
|
|
127
|
+
private schedulingRightsSecuredRepository;
|
|
128
|
+
private activitySecuredRepository;
|
|
129
|
+
private noteSecuredRepository;
|
|
130
|
+
private notificationStatusSecuredRepository;
|
|
131
|
+
private queueSecuredRepository;
|
|
132
|
+
private queuePublicRepository;
|
|
133
|
+
private queueRegistrationSecuredRepository;
|
|
134
|
+
private queueRegistrationPublicRepository;
|
|
135
|
+
private formResultSecuredRepository;
|
|
136
|
+
private formResultStatusSecuredRepository;
|
|
137
|
+
private tagSecuredRepository;
|
|
138
|
+
private additionalFieldsSecuredRepository;
|
|
139
|
+
private widgetUrlCipherSecuredRepository;
|
|
140
|
+
private reportingSecuredRepository;
|
|
141
|
+
private companyPerformanceSecuredRepository;
|
|
142
|
+
private scheduleSecuredRepository;
|
|
143
|
+
private exportCalendarSecuredRepository;
|
|
144
|
+
private exportAppointmentsSecuredRepository;
|
|
145
|
+
private notificationSecuredRepository;
|
|
146
|
+
private workingPlanningSecuredRepository;
|
|
147
|
+
private logSecuredRepository;
|
|
148
|
+
private changelogSecuredRepository;
|
|
149
|
+
private shortenerSecuredRepository;
|
|
150
|
+
private conferenceSecuredRepository;
|
|
151
|
+
private conferencePublicRepository;
|
|
152
|
+
private conferenceSpeakerSecuredRepository;
|
|
153
|
+
private conferenceInviteeSecuredRepository;
|
|
154
|
+
private customStatusSecuredRepository;
|
|
155
|
+
private customStatusPublicRepository;
|
|
156
|
+
private conferenceSessionSecuredRepository;
|
|
157
|
+
private conferenceSessionPublicRepository;
|
|
158
|
+
private conferenceRegistrationSecuredRepository;
|
|
159
|
+
private conferenceRegistrationPublicRepository;
|
|
160
|
+
private conferenceTagSecuredRepository;
|
|
161
|
+
private widgetPublicRepository;
|
|
162
|
+
private userDirectorySecuredRepository;
|
|
163
|
+
private shortPollingNotificationSecuredRepository;
|
|
164
|
+
private settingsSecuredRepository;
|
|
165
|
+
private integrationsSecuredRepository;
|
|
166
|
+
private connectorsSecuredRepository;
|
|
167
|
+
private dashboardStructureSecuredRepository;
|
|
168
|
+
private dashboardSecuredRepository;
|
|
169
|
+
private crmSettingsSecuredRepository;
|
|
170
|
+
private companySettingsSecuredRepository;
|
|
171
|
+
private permissionsSecuredRepository;
|
|
172
|
+
private shareLinkSecuredRepository;
|
|
173
|
+
private clientMessageSecuredRepository;
|
|
174
|
+
private appointmentAttendeeSecuredRepository;
|
|
175
|
+
private indexedDb;
|
|
176
|
+
private companyIdsAccount;
|
|
177
|
+
private formIdsAccount;
|
|
178
|
+
private queueIdsAccount;
|
|
179
|
+
private logger?;
|
|
180
|
+
private baseURL;
|
|
181
|
+
private widgetBaseUrl;
|
|
182
|
+
private clientId;
|
|
183
|
+
private bearer;
|
|
184
|
+
constructor({ baseURL, widgetBaseURL, clientId, logger }: ApiOptions);
|
|
185
|
+
getBaseURL(): string;
|
|
186
|
+
getWidgetBaseURL(): string;
|
|
187
|
+
isAuthenticated(): boolean;
|
|
188
|
+
isValideAuthenticated(account: string | undefined): boolean;
|
|
189
|
+
loginNHWithRedirect(authorizationCallbackUrl: string, locale?: string, error?: ApiErrors, autoRedirect?: boolean): string;
|
|
190
|
+
loginWithRedirect(authorizationCallbackUrl: string, locale?: string, error?: ApiErrors, autoRedirect?: boolean): string;
|
|
191
|
+
resetPassword(login: string): Promise<any>;
|
|
192
|
+
getLoginRealm(realm?: string): Promise<LoginRealmEntity>;
|
|
193
|
+
getLoginProviders(): Promise<LoginProviderEntity[]>;
|
|
194
|
+
getAccessToken(authorizationCode: string): Promise<TokenDto>;
|
|
195
|
+
getAccessTokenFromBasic(authorizationCode: string, login: string, password: string): Promise<TokenDto>;
|
|
196
|
+
refreshToken(): Promise<void>;
|
|
197
|
+
useBearerToken(bearer: string): void;
|
|
198
|
+
refreshOrganisationStorage(selectedOrganisation: AccountSecuredEntity): Promise<void>;
|
|
199
|
+
refreshUserStorage(allUsers: UserEntity[] | undefined, meInOrganisation: UserEntity): Promise<void>;
|
|
200
|
+
clearAfterAccountSwitch(): Promise<void>;
|
|
201
|
+
logout(): Promise<void>;
|
|
202
|
+
clearLocalDB(): Promise<void>;
|
|
203
|
+
getSchedulingRights(organisation: string): Promise<SchedulingRightsEntity[]>;
|
|
204
|
+
getSchedulingRightsById(organisation: string, userId: string): Promise<SchedulingRightsEntity | undefined>;
|
|
205
|
+
updateSchedulingRights(organisation: string, userId: string, rights: SchedulingRightsEntity): Promise<SchedulingRightsEntity>;
|
|
206
|
+
getRights(organisation: string, rightsId: string[]): Promise<RightsEntity[]>;
|
|
207
|
+
cipher(organisation: string, companyId: string, params: WidgetUrlCipherInputEntity): Promise<WidgetUrlCipherEntity>;
|
|
208
|
+
getAccount(account?: string, crossAccount?: boolean, locale?: string, params?: string): Promise<{
|
|
209
|
+
result: AccountEntity | undefined;
|
|
210
|
+
local: boolean;
|
|
211
|
+
}>;
|
|
212
|
+
updateAccount(account: AccountSecuredEntity, v2_3?: boolean): Promise<AccountSecuredEntity>;
|
|
213
|
+
updatePassword(currentPassword: string, newPassword: string): Promise<void>;
|
|
214
|
+
getAllCompanies(account?: string, mode?: QUERY_TYPE): Promise<{
|
|
215
|
+
results: CompanyEntity[] | undefined;
|
|
216
|
+
local: boolean;
|
|
217
|
+
}>;
|
|
218
|
+
getAllScopedCompanies(scope: 'conferences' | 'scheduling', account?: string): Promise<CompanyEntity[]>;
|
|
219
|
+
getAllCompaniesConsiderTemplate(accountId: string, serviceId?: string, location?: string, cipherParams?: string, companyTags?: string | string[]): Promise<CompanyEntity[]>;
|
|
220
|
+
getCompanyById(companyId: string, account?: string, companySelector?: boolean, mode?: QUERY_TYPE): Promise<{
|
|
221
|
+
result: CompanyEntity | undefined;
|
|
222
|
+
local: boolean;
|
|
223
|
+
}>;
|
|
224
|
+
createCompany(account: string, company: CompanyEntity): Promise<CompanyEntity>;
|
|
225
|
+
cloneCompany(account: string, clonedCompanyId: string, company: CompanyEntity): Promise<CompanyEntity>;
|
|
226
|
+
updateCompany(account: string, companyId: string, company: CompanyEntity): Promise<CompanyEntity>;
|
|
227
|
+
deleteCompany(account: string, companyId: string): Promise<void>;
|
|
228
|
+
getUserById(organisation: string, userId: string, mode?: QUERY_TYPE): Promise<{
|
|
229
|
+
result: UserEntity | undefined;
|
|
230
|
+
local: boolean;
|
|
231
|
+
}>;
|
|
232
|
+
getDefaultAgendaUsers(organisation: string): Promise<{
|
|
233
|
+
results: UserEntity[] | undefined;
|
|
234
|
+
local: boolean;
|
|
235
|
+
}>;
|
|
236
|
+
getAllUsers(organisation: string, mode?: QUERY_TYPE): Promise<{
|
|
237
|
+
results: UserEntity[] | undefined;
|
|
238
|
+
local: boolean;
|
|
239
|
+
}>;
|
|
240
|
+
getAllUsersWithTeam(organisation: string): Promise<{
|
|
241
|
+
users: UserEntity[] | undefined;
|
|
242
|
+
teams: CalendarTeamEntity[] | undefined;
|
|
243
|
+
local: boolean;
|
|
244
|
+
}>;
|
|
245
|
+
getDefaultTeams(organisation: string): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
|
|
246
|
+
getAllTeams(organisation: string): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
|
|
247
|
+
getAllStaffs(companyId: string, account: string, mode?: QUERY_TYPE): Promise<{
|
|
248
|
+
results: StaffEntity[] | undefined;
|
|
249
|
+
local: boolean;
|
|
250
|
+
}>;
|
|
251
|
+
getStaffById(companyId: string, staffId: string, account?: string, mode?: QUERY_TYPE): Promise<{
|
|
252
|
+
result: StaffEntity | undefined;
|
|
253
|
+
local: boolean;
|
|
254
|
+
}>;
|
|
255
|
+
getStaffByServiceId(companyId: string, serviceId: string): Promise<StaffEntity[]>;
|
|
256
|
+
createStaff(organisation: string, companyId: string, staff: StaffEntity): Promise<StaffEntity>;
|
|
257
|
+
updateStaff(organisation: string, companyId: string, staffId: string, staff: StaffEntity): Promise<StaffEntity>;
|
|
258
|
+
patchAllStaff(organisation: string, companyId: string, workingHours?: SettingsWorkingDayEntity[], vacations?: {
|
|
259
|
+
startDate?: Date;
|
|
260
|
+
endDate?: Date;
|
|
261
|
+
}[], staffIds?: string[]): Promise<{
|
|
262
|
+
results: StaffEntity[] | undefined;
|
|
263
|
+
local: boolean;
|
|
264
|
+
}>;
|
|
265
|
+
deleteStaff(organisation: string, companyId: string, staffId: string): Promise<void>;
|
|
266
|
+
getAllServices(companyId: string, account?: string, mode?: QUERY_TYPE): Promise<{
|
|
267
|
+
results: ServiceEntity[] | undefined;
|
|
268
|
+
local: boolean;
|
|
269
|
+
}>;
|
|
270
|
+
getAllServicesAndGroups(accountId?: string, filterOptions?: ServicesFilterOptions): Promise<ServicesListEntity | undefined>;
|
|
271
|
+
getServiceById(companyId: string, serviceId: string, account?: string, mode?: QUERY_TYPE): Promise<{
|
|
272
|
+
result: ServiceEntity | undefined;
|
|
273
|
+
local: boolean;
|
|
274
|
+
}>;
|
|
275
|
+
createService(organisation: string, companyId: string, service: ServiceEntity): Promise<ServiceEntity>;
|
|
276
|
+
updateService(organisation: string, companyId: string, serviceId: string, service: ServiceEntity): Promise<ServiceEntity>;
|
|
277
|
+
deleteService(organisation: string, companyId: string, serviceId: string): Promise<void>;
|
|
278
|
+
getServiceResourceById(companyId: string, serviceResourceId: string, account: string, mode?: QUERY_TYPE): Promise<{
|
|
279
|
+
result: ServiceResourceEntity | undefined;
|
|
280
|
+
local: boolean;
|
|
281
|
+
}>;
|
|
282
|
+
getAllServiceResources(companyId: string, account: string): Promise<{
|
|
283
|
+
results: ServiceResourceEntity[] | undefined;
|
|
284
|
+
local: boolean;
|
|
285
|
+
}>;
|
|
286
|
+
createServiceResource(organisation: string, companyId: string, serviceResource: ServiceResourceEntity): Promise<ServiceResourceEntity>;
|
|
287
|
+
updateServiceResource(organisation: string, companyId: string, serviceResourceId: string, serviceResource: ServiceResourceEntity): Promise<ServiceResourceEntity>;
|
|
288
|
+
deleteServiceResource(organisation: string, companyId: string, serviceResourceId: string): Promise<void>;
|
|
289
|
+
getServiceGroupById(companyId: string, serviceGroupId: string, account: string, mode?: QUERY_TYPE): Promise<{
|
|
290
|
+
result: ServiceGroupEntity | undefined;
|
|
291
|
+
local: boolean;
|
|
292
|
+
}>;
|
|
293
|
+
getAllServiceGroups(companyId: string, account: string, mode?: QUERY_TYPE): Promise<{
|
|
294
|
+
results: ServiceGroupEntity[] | undefined;
|
|
295
|
+
local: boolean;
|
|
296
|
+
}>;
|
|
297
|
+
createServiceGroup(account: string, companyId: string, serviceGroup: ServiceGroupEntity): Promise<ServiceGroupEntity>;
|
|
298
|
+
updateServiceGroup(account: string, companyId: string, serviceGroupId: string, serviceGroup: ServiceGroupEntity): Promise<ServiceGroupEntity>;
|
|
299
|
+
deleteServiceGroup(account: string, companyId: string, serviceGroupId: string): Promise<void>;
|
|
300
|
+
getEventById(organisationEmail: string, eventId: string, showPersonal?: boolean, mode?: QUERY_TYPE): Promise<{
|
|
301
|
+
result: EventEntity | undefined;
|
|
302
|
+
local: boolean;
|
|
303
|
+
}>;
|
|
304
|
+
getWidgetEventById(accountId: string, eventId: string, securityKey: string, locale?: string): Promise<EventEntity | undefined>;
|
|
305
|
+
getCompanyEventById(organisationEmail: string, companyId: string, eventId: string, showPersonal?: boolean): Promise<EventEntity | undefined>;
|
|
306
|
+
getAllEvents(organisationEmail: string, start: Date, end: Date, userIds: string[], showPersonal?: boolean, showDeleted?: boolean, timeZone?: string, fields?: EventFields[], syncToken?: string, mode?: QUERY_TYPE): Promise<{
|
|
307
|
+
results: EventEntity[] | undefined;
|
|
308
|
+
nextSyncToken?: string;
|
|
309
|
+
local: boolean;
|
|
310
|
+
}>;
|
|
311
|
+
getExternalEventById(organisationEmail: string, eventId: string, timeZone?: string): Promise<{
|
|
312
|
+
result: EventEntity | undefined;
|
|
313
|
+
local: boolean;
|
|
314
|
+
}>;
|
|
315
|
+
getExternalEvents(organisationEmail: string, start: Date, end: Date, userIds: string[], timeZone?: string, mode?: QUERY_TYPE): Promise<{
|
|
316
|
+
results: EventEntity[] | undefined;
|
|
317
|
+
local: boolean;
|
|
318
|
+
}>;
|
|
319
|
+
getIcs(icsUrl: string): Promise<any>;
|
|
320
|
+
createEvent(organisation: string, companyId: string, event: EventEntity, timeZone: string, force: boolean): Promise<EventEntity>;
|
|
321
|
+
rescheduleEvent(account: string, companyId: string, eventId: string, startDate: Date, option?: {
|
|
322
|
+
locale?: string;
|
|
323
|
+
securityKey: string;
|
|
324
|
+
timeZone?: string;
|
|
325
|
+
widgetType?: string;
|
|
326
|
+
}): Promise<import("@/data/Event").EventPublicEntity>;
|
|
327
|
+
updateEvent(organisation: string, companyId: string, event: EventEntity, timeZone?: string, force?: boolean): Promise<EventEntity>;
|
|
328
|
+
updateEventStatus(account: string, companyId: string, eventId: string, status: string | {
|
|
329
|
+
status?: string;
|
|
330
|
+
customStatus?: string;
|
|
331
|
+
fromStaff?: boolean;
|
|
332
|
+
}, option?: {
|
|
333
|
+
locale?: string;
|
|
334
|
+
securityKey: string;
|
|
335
|
+
widgetType?: string;
|
|
336
|
+
}): Promise<EventEntity>;
|
|
337
|
+
updateEventsToStatus(organisation: string, events: EventSearchEntity[], status: string | CustomStatusEntity): Promise<EventEntity[]>;
|
|
338
|
+
updateEventCustomStatus(organisation: string, companyId: string, eventId: string, customStatus: CustomStatusEntity): Promise<EventEntity>;
|
|
339
|
+
updateEventNotes(account: string, companyId: string, eventId: string, notes: string, option?: {
|
|
340
|
+
locale?: string;
|
|
341
|
+
securityKey: string;
|
|
342
|
+
widgetType?: string;
|
|
343
|
+
}): Promise<EventEntity>;
|
|
344
|
+
searchEvents(organisation: string, searchBody: EventSearchBodyEntity, options?: EventSearchOption): Promise<EventSearchPageEntity>;
|
|
345
|
+
countAppointmentConflict(organisation: string, searchBody: EventSearchBodyEntity): Promise<number>;
|
|
346
|
+
deleteAppointmentConflict(organisation: string, eventId: string): Promise<void>;
|
|
347
|
+
/**
|
|
348
|
+
* Création/ajout d'un invité à un rendez-vous.
|
|
349
|
+
* @param organisationEmail
|
|
350
|
+
* @param eventId
|
|
351
|
+
* @param attendee
|
|
352
|
+
*/
|
|
353
|
+
createAttendee(organisationEmail: string, eventId: string, attendee: AttendeeSecuredEntity): Promise<AttendeeSecuredEntity>;
|
|
354
|
+
updateAttendee(organisationEmail: string, eventId: string, attendee: AttendeeSecuredEntity): Promise<AttendeeSecuredEntity>;
|
|
355
|
+
deleteAttendee(organisationEmail: string, eventId: string, attendeeId: string): Promise<void>;
|
|
356
|
+
getAttendeeById(organisationEmail: string, eventId: string, attendeeId: string): Promise<QUERY_RESULT<AttendeeSecuredEntity>>;
|
|
357
|
+
getAllAttendees(organisationEmail: string, eventId: string): Promise<QUERY_RESULTS<AttendeeSecuredEntity>>;
|
|
358
|
+
getContactById(account: string, contactId: string, mode?: QUERY_TYPE): Promise<{
|
|
359
|
+
result: ContactEntity | undefined;
|
|
360
|
+
local: boolean;
|
|
361
|
+
}>;
|
|
362
|
+
getExternalContactById(account: string, contactId: string): Promise<{
|
|
363
|
+
result: ContactEntity | undefined;
|
|
364
|
+
local: boolean;
|
|
365
|
+
}>;
|
|
366
|
+
searchContacts(account: string | undefined, query: string, showAnonymized?: boolean, sort?: string, maxResult?: number): Promise<{
|
|
367
|
+
results: ContactEntity[] | undefined;
|
|
368
|
+
local: boolean;
|
|
369
|
+
}>;
|
|
370
|
+
searchExternalContacts(account: string | undefined, query: string, sort?: string): Promise<{
|
|
371
|
+
results: ContactEntity[] | undefined;
|
|
372
|
+
local: boolean;
|
|
373
|
+
}>;
|
|
374
|
+
searchContactWithPages(account: string | undefined, query: string | ContactAdvancedSearchEntity, showAnonymized?: boolean, sort?: string, pageToken?: string): Promise<QUERY_PAGINATED_RESULT<ContactEntity>>;
|
|
375
|
+
createContact(account: string, contact: ContactEntity): Promise<ContactEntity>;
|
|
376
|
+
updateContact(account: string, contactId: string, contact: ContactEntity): Promise<ContactEntity>;
|
|
377
|
+
deleteContact(account: string, contactId: string): Promise<void>;
|
|
378
|
+
getCalendars(account: string, start: Date, end: Date, timeZone?: string, userIdList?: string[], anonymousUserIdList?: string[], mode?: QUERY_TYPE): Promise<{
|
|
379
|
+
results: CalendarEntity[] | undefined;
|
|
380
|
+
local: boolean;
|
|
381
|
+
}>;
|
|
382
|
+
getFreeSlots(account: string, companyId: string, serviceId: string, filterOptions: FreeSlotsFilterOptions): Promise<{
|
|
383
|
+
result: FreeSlotEntity | undefined;
|
|
384
|
+
local: boolean;
|
|
385
|
+
}>;
|
|
386
|
+
getNextSlot(account: string, companyId: string, serviceId: string, filterOptions: FreeSlotsFilterOptions): Promise<{
|
|
387
|
+
result: FreeSlotEntity | undefined;
|
|
388
|
+
local: boolean;
|
|
389
|
+
}>;
|
|
390
|
+
getFreeStaffs(organisation: string, companyId: string, eventId: string, serviceId: string, staffIds?: string[], timeZone?: string): Promise<string[]>;
|
|
391
|
+
getPrivacyPolicy(ownerId: string, ownerLogin: string, mode?: QUERY_TYPE): Promise<{
|
|
392
|
+
result: PrivacyPolicyEntity | undefined;
|
|
393
|
+
local: boolean;
|
|
394
|
+
}>;
|
|
395
|
+
getStaffGroupById(companyId: string, staffGroupId: string, account?: string, mode?: QUERY_TYPE): Promise<{
|
|
396
|
+
result: StaffGroupEntity | undefined;
|
|
397
|
+
local: boolean;
|
|
398
|
+
}>;
|
|
399
|
+
getStaffGroupsByServiceId(companyId: string, serviceId: string): Promise<StaffGroupEntity[]>;
|
|
400
|
+
getAllStaffGroups(companyId: string, account: string, mode?: QUERY_TYPE): Promise<{
|
|
401
|
+
results: StaffGroupEntity[] | undefined;
|
|
402
|
+
local: boolean;
|
|
403
|
+
}>;
|
|
404
|
+
deleteStaffGroup(organisation: string, companyId: string, staffGroupId: string): Promise<void>;
|
|
405
|
+
createStaffGroup(account: string, companyId: string, staffGroup: StaffGroupEntity): Promise<StaffGroupEntity>;
|
|
406
|
+
updateStaffGroup(account: string, companyId: string, staffGroupId: string, staffGroup: StaffGroupEntity): Promise<StaffGroupEntity>;
|
|
407
|
+
getStaffFormsByAccount(account: string, mode?: QUERY_TYPE): Promise<{
|
|
408
|
+
result: StaffFormsEntity | undefined;
|
|
409
|
+
local: boolean;
|
|
410
|
+
}>;
|
|
411
|
+
getAllClientActivities(account: string, clientId: string): Promise<{
|
|
412
|
+
results: ActivityEntity[] | undefined;
|
|
413
|
+
local: boolean;
|
|
414
|
+
}>;
|
|
415
|
+
getAllEventActivities(account: string, clientId: string, eventId: string): Promise<{
|
|
416
|
+
results: ActivityEntity[] | undefined;
|
|
417
|
+
local: boolean;
|
|
418
|
+
}>;
|
|
419
|
+
getIcsEvents(start: string, end: string, userIds: string[], timeZone?: string): Promise<QUERY_RESULTS<EventEntity>>;
|
|
420
|
+
getIcsEventById(eventId: string, timeZone?: string): Promise<QUERY_RESULT<EventEntity>>;
|
|
421
|
+
saveIcsEvents(events: EventEntity[]): void;
|
|
422
|
+
getAllClientNotes(account: string, clientId: string): Promise<{
|
|
423
|
+
results: NoteEntity[] | undefined;
|
|
424
|
+
local: boolean;
|
|
425
|
+
}>;
|
|
426
|
+
createClientNote(account: string, clientId: string, note: NoteEntity): Promise<NoteEntity>;
|
|
427
|
+
createQueue(account: string, queue: QueueEntity): Promise<QueueEntity>;
|
|
428
|
+
updateQueue(queueId: string, queue: QueueEntity): Promise<QueueEntity>;
|
|
429
|
+
getAllQueues(account: string, mode?: QUERY_TYPE): Promise<{
|
|
430
|
+
results: QueueEntity[] | undefined;
|
|
431
|
+
local: boolean;
|
|
432
|
+
}>;
|
|
433
|
+
getQueue(queueId: string, account?: string, mode?: QUERY_TYPE): Promise<{
|
|
434
|
+
result: QueueEntity | undefined;
|
|
435
|
+
local: boolean;
|
|
436
|
+
}>;
|
|
437
|
+
deleteQueue(queueId: string): Promise<void>;
|
|
438
|
+
getAllQueueRegistrations(queueId: string, account?: string, status?: QueueRegistrationStatus): Promise<QueueRegistrationEntity[]>;
|
|
439
|
+
updateQueueRegistration(queueId: string, queueRegistrationId: string, queueRegistration: QueueRegistrationEntity): Promise<QueueRegistrationEntity>;
|
|
440
|
+
createQueueRegistration(queueId: string, queueRegistration: QueueRegistrationEntity): Promise<QueueRegistrationResultEntity>;
|
|
441
|
+
nextQueueRegistration(queueId: string): Promise<QueueRegistrationEntity | undefined>;
|
|
442
|
+
getWidgetForm(account: string, companyId: string, serviceId?: string, properties?: WidgetFormFieldsAPIProperties): Promise<WidgetFormEntity>;
|
|
443
|
+
getFormBuilders(account?: string): Promise<QUERY_RESULTS<FormBuilderEntity>>;
|
|
444
|
+
getFormBuilder(formId: string, account?: string, cypherParams?: string): Promise<QUERY_RESULT<FormBuilderEntity>>;
|
|
445
|
+
deleteFormBuilder(formId: string): Promise<void>;
|
|
446
|
+
createFormBuilder(account: string, form: FormBuilderEntity): Promise<FormBuilderEntity>;
|
|
447
|
+
updateFormBuilder(formId: string, form: FormBuilderEntity): Promise<FormBuilderEntity>;
|
|
448
|
+
getAllFormResultByForm(formId: string, timeZone: string, account: string): Promise<{
|
|
449
|
+
results: FormResultEntity[] | undefined;
|
|
450
|
+
local: boolean;
|
|
451
|
+
}>;
|
|
452
|
+
getFormResultById(formId: string, resultId: string, timeZone: string, account: string): Promise<{
|
|
453
|
+
result: FormResultEntity | undefined;
|
|
454
|
+
local: boolean;
|
|
455
|
+
}>;
|
|
456
|
+
createFormResult(formId: string, form: FormResultEntity): Promise<FormResultEntity>;
|
|
457
|
+
updateFormResultById(formId: string, resultId: string, result: FormResultEntity, timeZone: string, account: string): Promise<FormResultEntity>;
|
|
458
|
+
deleteFormResultById(formId: string, resultId: string, account: string): Promise<void>;
|
|
459
|
+
getStatusByFormResultId(formId: string, resultId: string, timeZone: string, account: string): Promise<{
|
|
460
|
+
results: FormResultStatusEntity[] | undefined;
|
|
461
|
+
local: boolean;
|
|
462
|
+
}>;
|
|
463
|
+
createNewStatus(formId: string, resultId: string, status: FormResultStatusEntity, timeZone: string, account: string): Promise<FormResultStatusEntity>;
|
|
464
|
+
getAllTags(account: string): Promise<{
|
|
465
|
+
results: ContactTagEntity[] | undefined;
|
|
466
|
+
local: boolean;
|
|
467
|
+
}>;
|
|
468
|
+
getAdditionalFields(account: string): Promise<AdditionalFieldsEntity>;
|
|
469
|
+
getNotificationStatus(userId: string): Promise<QUERY_RESULT<NotificationStatusEntity>>;
|
|
470
|
+
refreshesNotificationStatus(userId: string, readDate: Date): Promise<NotificationStatusEntity>;
|
|
471
|
+
getAllPromoteFields(account: string): Promise<QUERY_RESULTS<PromoteFieldEntity>>;
|
|
472
|
+
private initIndexedDb;
|
|
473
|
+
private getFormAccount;
|
|
474
|
+
private getQueueAccount;
|
|
475
|
+
searchLogWithPages(account: string | undefined, query: string, sort?: string, pageToken?: string): Promise<QUERY_PAGINATED_RESULT<LogEntity>>;
|
|
476
|
+
getChangeLog(account: string, changeLogId: string): Promise<{
|
|
477
|
+
result: ChangelogEntity | undefined;
|
|
478
|
+
}>;
|
|
479
|
+
getReports(account: string, locale?: string, filters?: ReportDashboardFilter): Promise<QUERY_RESULT<ReportsEntity>>;
|
|
480
|
+
getPerformance(account: string, companyId: string): Promise<CompanyPerformanceEntity>;
|
|
481
|
+
getPlannings(account: string): Promise<QUERY_RESULTS<PlanningEntity>>;
|
|
482
|
+
getPlanning(planningId: string, account: string): Promise<QUERY_RESULT<PlanningEntity>>;
|
|
483
|
+
createPlanning(planning: PlanningEntity, account: string): Promise<PlanningEntity>;
|
|
484
|
+
updatePlanning(planningId: string, planning: PlanningEntity, account: string): Promise<PlanningEntity>;
|
|
485
|
+
deletePlanning(planningId: string, account: string): Promise<void>;
|
|
486
|
+
getSchedules(organisation: string, start: string, end: string): Promise<QUERY_RESULTS<UserSchedulesEntity>>;
|
|
487
|
+
getExportCalendarToXlsx(organisation: string, start: Date, end: Date, timezone: string, showDeleted: boolean, userIds?: string[], companyIds?: string[]): Promise<void>;
|
|
488
|
+
generateAppointmentsExport(organisation: string, dataToExport: ReportingExportBodyEntity): Promise<ReportingExportResponseEntity>;
|
|
489
|
+
getExport(organisation: string, exportId: string, filename: string): Promise<void>;
|
|
490
|
+
getNotification(organisation: string, companyId: string, notificationId: string, mode?: QUERY_TYPE): Promise<{
|
|
491
|
+
result: NotificationEntity | undefined;
|
|
492
|
+
local: boolean;
|
|
493
|
+
}>;
|
|
494
|
+
getClientEmailMessage(organisation: string, clientId: string, messageId: string): Promise<QUERY_RESULT<ClientMessageEntity>>;
|
|
495
|
+
getClientTextMessage(organisation: string, clientId: string, messageId: string): Promise<QUERY_RESULT<ClientMessageEntity>>;
|
|
496
|
+
getAllCompanyWorkingPlannings(organisationEmail: string, filter: {
|
|
497
|
+
companyId?: string;
|
|
498
|
+
userIds?: string[];
|
|
499
|
+
staffIds?: string[];
|
|
500
|
+
} | undefined, start: Date, end: Date, withOccupancy: boolean): Promise<WorkingPlanningEntity[]>;
|
|
501
|
+
createWorkingPlanning(organisationEmail: string, workingPlanning: WorkingPlanningEntity, staffIds?: string[]): Promise<WorkingPlanningEntity>;
|
|
502
|
+
shorten(url: string): Promise<ShortenerEntity>;
|
|
503
|
+
getAllConferences(organisationEmail: string, timeZone?: string): Promise<QUERY_RESULTS<ConferenceEntity>>;
|
|
504
|
+
getConferenceById(organisationEmail: string, conferenceId: string, timeZone?: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<ConferenceEntity>>;
|
|
505
|
+
deleteConferenceById(organisationEmail: string, conferenceId: string): Promise<void>;
|
|
506
|
+
createConference(organisationEmail: string, conference: ConferenceEntity, timeZone?: string): Promise<ConferenceEntity>;
|
|
507
|
+
updateConference(organisationEmail: string, conferenceId: string, conference: ConferenceEntity, timeZone?: string): Promise<ConferenceEntity>;
|
|
508
|
+
getConferenceList(accountId: string, tagIds?: string[], accountTagIds?: string[], companyIds?: string[], cipherParams?: string): Promise<QUERY_RESULT<ConferenceListEntity>>;
|
|
509
|
+
searchInAllConferences(accountId: string, start?: Date, end?: Date, tagIds?: string[], locations?: string[], accountIds?: string[], accountTagIds?: string[], companyIds?: string[], cipherParams?: string): Promise<ConferenceLightEntity[]>;
|
|
510
|
+
getAllConferenceSpeakers(organisationEmail: string, conferenceId: string): Promise<QUERY_RESULTS<ConferenceSpeakerEntity>>;
|
|
511
|
+
getConferenceSpeakerById(organisationEmail: string, conferenceId: string, speakerId: string): Promise<QUERY_RESULT<ConferenceSpeakerEntity>>;
|
|
512
|
+
deleteConferenceSpeakerById(organisationEmail: string, conferenceId: string, speakerId: string): Promise<void>;
|
|
513
|
+
createConferenceSpeaker(organisationEmail: string, conferenceId: string, entity: ConferenceSpeakerEntity): Promise<ConferenceSpeakerEntity>;
|
|
514
|
+
addConferenceSpeakers(organisationEmail: string, conferenceId: string, speakers: ConferenceSpeakerEntity[]): Promise<ConferenceSpeakerEntity[]>;
|
|
515
|
+
updateConferenceSpeaker(organisationEmail: string, conferenceId: string, speakerId: string, entity: ConferenceSpeakerEntity): Promise<ConferenceSpeakerEntity>;
|
|
516
|
+
getAllConferenceInvitees(organisationEmail: string, conferenceId: string): Promise<QUERY_RESULTS<ConferenceInviteeEntity>>;
|
|
517
|
+
getConferenceInviteeById(organisationEmail: string, conferenceId: string, inviteeId: string): Promise<QUERY_RESULT<ConferenceInviteeEntity>>;
|
|
518
|
+
deleteConferenceInviteeById(organisationEmail: string, conferenceId: string, inviteeId: string): Promise<void>;
|
|
519
|
+
createConferenceInvitee(organisationEmail: string, conferenceId: string, entity: ConferenceInviteeEntity): Promise<ConferenceInviteeEntity>;
|
|
520
|
+
updateConferenceInvitee(organisationEmail: string, conferenceId: string, inviteeId: string, entity: ConferenceInviteeEntity): Promise<ConferenceInviteeEntity>;
|
|
521
|
+
getAllConferenceSessions(accountIdentifier: string, conferenceId: string, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<ConferenceSessionEntity>>;
|
|
522
|
+
searchConferenceSessions(organisationEmail: string, searchBody: ConferenceSessionsSearchBodyEntity): Promise<ConferenceSessionsSearchEntity>;
|
|
523
|
+
getConferenceSessionById(organisationEmail: string, conferenceId: string, sessionId: string): Promise<QUERY_RESULT<ConferenceSessionEntity>>;
|
|
524
|
+
deleteConferenceSessionById(organisationEmail: string, conferenceId: string, sessionId: string): Promise<void>;
|
|
525
|
+
createConferenceSession(organisationEmail: string, conferenceId: string, timeZone: string, entity: ConferenceSessionEntity): Promise<ConferenceSessionEntity>;
|
|
526
|
+
updateConferenceSession(organisationEmail: string, conferenceId: string, sessionId: string, entity: ConferenceSessionEntity): Promise<ConferenceSessionEntity>;
|
|
527
|
+
getAllConferenceRegistrationBySession(organisationEmail: string, conferenceId: string, sessionId: string, withCancel?: boolean, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<ConferenceRegistrationEntity>>;
|
|
528
|
+
generateConferenceRegistrationExportCsv(organisationEmail: string, options: {
|
|
529
|
+
conferenceId?: string;
|
|
530
|
+
sessionId?: string;
|
|
531
|
+
locale?: string;
|
|
532
|
+
}): Promise<string>;
|
|
533
|
+
cancelRegistration(accountIdentifier: string, conferenceId: string, sessionId: string, registrationId: string, cancelEntity?: ConferenceRegistrationCancelEntity): Promise<void>;
|
|
534
|
+
updateRegistration(organisationEmail: string, conferenceId: string, sessionId: string, registration: ConferenceRegistrationEntity): Promise<ConferenceRegistrationEntity>;
|
|
535
|
+
saveWidgetConferenceRegistration(accountId: string, sessionId: string, data: ConferenceRegistrationEntity): Promise<ConferenceRegistrationResponseEntity>;
|
|
536
|
+
getWidgetConference(accountId: string, conferenceId: string, additionalQueryParams: Map<string, string>): Promise<QUERY_RESULT<WidgetEntity>>;
|
|
537
|
+
getWidgetConferenceSession(accountId: string, conferenceId: string, sessionId: string, additionalQueryParams: Map<string, string>): Promise<QUERY_RESULT<WidgetEntity>>;
|
|
538
|
+
getWidgetConferenceRegistration(accountId: string, conferenceId: string, registrationId: string, additionalQueryParams: Map<string, string>): Promise<QUERY_RESULT<WidgetEntity>>;
|
|
539
|
+
getAllCustomStatus(organisation: {
|
|
540
|
+
id?: string;
|
|
541
|
+
email: string;
|
|
542
|
+
}, appointmentId?: string, options?: {
|
|
543
|
+
securityKey?: string;
|
|
544
|
+
}, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<CustomStatusEntity>>;
|
|
545
|
+
getCustomStatus(organisationEmail: string, customStatusId: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<CustomStatusEntity>>;
|
|
546
|
+
createCustomStatus(organisationEmail: string, customStatus: CustomStatusEntity): Promise<CustomStatusEntity>;
|
|
547
|
+
updateCustomStatus(organisationEmail: string, customStatusId: string, customStatus: CustomStatusEntity): Promise<CustomStatusEntity>;
|
|
548
|
+
deleteCustomStatus(organisationEmail: string, customStatusId: string): Promise<void>;
|
|
549
|
+
getAllConferenceTags(organisationEmail: string, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<ConferenceTagEntity>>;
|
|
550
|
+
getConferenceTag(organisationEmail: string, tagId: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<ConferenceTagEntity>>;
|
|
551
|
+
createConferenceTag(organisationEmail: string, tag: ConferenceTagEntity): Promise<ConferenceTagEntity>;
|
|
552
|
+
updateConferenceTag(organisationEmail: string, tagId: string, tag: ConferenceTagEntity): Promise<ConferenceTagEntity>;
|
|
553
|
+
deleteConferenceTag(organisationEmail: string, tagId: string): Promise<void>;
|
|
554
|
+
getAllUsersOfDirectory(organisationEmail: string, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<UserEntity>>;
|
|
555
|
+
getCRMSettings(organisationEmail: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<CRMSettingsEntity>>;
|
|
556
|
+
pingNewNotifications(organisationEmail: string, syncToken?: number, scope?: ShortPollingNotificationScope[]): Promise<ShortPollingNotificationPingEntity>;
|
|
557
|
+
getAllNotifications(organisationEmail: string, syncToken?: number, scope?: ShortPollingNotificationScope[]): Promise<QUERY_PAGINATED_RESULT<ShortPollingNotificationEntity>>;
|
|
558
|
+
getAllNotificationsLocally(): Promise<ShortPollingNotificationEntity[]>;
|
|
559
|
+
getOrganisationSettings(organisationEmail: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<import(".").SettingsEntity>>;
|
|
560
|
+
getConnectors(organisation: string): Promise<QUERY_RESULTS<ConnectorEntity>>;
|
|
561
|
+
getIntegrations(organisation: string): Promise<QUERY_RESULTS<IntegrationEntity>>;
|
|
562
|
+
deleteLocalExternalEvents(): Promise<void>;
|
|
563
|
+
getDashboardStructure(organisationEmail: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<import(".").DashboardStructureEntity>>;
|
|
564
|
+
getKeyFigures(organisationEmail: string, types: KeyFigureType[], range: string): Promise<import("@/data/dashboard/KeyFigures").KeyFigures>;
|
|
565
|
+
getCompanySettings(organisationEmail: string, companyId: string): Promise<QUERY_RESULT<CompanySettingsEntity>>;
|
|
566
|
+
updateCompanySettings(organisationEmail: string, companyId: string, companySettings: CompanySettingsEntity): Promise<CompanySettingsEntity>;
|
|
567
|
+
getOrganisationPermissions(organisationEmail: string, withLastActivity?: boolean): Promise<QUERY_RESULTS<PermissionEntity>>;
|
|
568
|
+
getUserPermission(organisationEmail: string, userId: string, withLastActivity?: boolean): Promise<QUERY_RESULT<PermissionEntity>>;
|
|
569
|
+
createUserPermission(organisationEmail: string, permission: PermissionEntity): Promise<PermissionEntity>;
|
|
570
|
+
updateUserPermission(organisationEmail: string, userId: string, permission: PermissionEntity): Promise<PermissionEntity>;
|
|
571
|
+
deleteUserPermission(organisationEmail: string, userId: string): Promise<void>;
|
|
572
|
+
getAvailabilities(organisationEmail: string, serviceIdOrExternalId: string, filter: AvailabilityFilterOptions): Promise<QUERY_RESULT<import("@/data/scheduling/Availabilities").AvailabilityEntity>>;
|
|
573
|
+
shareALink(organisationEmail: string, shareLinkQuery: ShareLinkEntity): Promise<ShareLinkResponseItemEntity[]>;
|
|
574
|
+
shareALinkByTextMessage(organisationEmail: string, shareLinkQuery: ShareLinkEntity): Promise<ShareLinkResponseItemEntity[]>;
|
|
575
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Logger } from "@/utils/logger";
|
|
2
|
+
export declare enum StorageKeys {
|
|
3
|
+
AGENDA_USERS = "agenda_users",
|
|
4
|
+
CURRENT_ORGANISATION = "current_organisation",
|
|
5
|
+
ORGANISATION = "organisation",
|
|
6
|
+
CURRENT_USER = "currentUser",
|
|
7
|
+
RECENT_SERVICES = "recent_services",
|
|
8
|
+
RECENT_SERVICE_GROUPS = "recent_service_groups",
|
|
9
|
+
RECENT_STAFFS = "recent_staffs",
|
|
10
|
+
RECENT_CONTACTS = "recent_contacts",
|
|
11
|
+
RECENT_COMPANIES = "recent_companies",
|
|
12
|
+
RECENT_USERS = "recent_users",
|
|
13
|
+
WORKING_PLANNING_COMPANY = "working_planning_company",
|
|
14
|
+
PREVIOUS_USER = "previous_user",
|
|
15
|
+
DOWNLOADED_REPORT = "downloadedReport",
|
|
16
|
+
AGENDAS_NON_TEAM = "agendasNonTeam",
|
|
17
|
+
AGENDAS_TEAM_REMOVED = "agendasTeamRemoved",
|
|
18
|
+
AGENDAS_ENABLED = "agendasEnabled",
|
|
19
|
+
LOGGER_ORGANISATION_ID = "widgetOrganisationId",
|
|
20
|
+
USERS_COLORS = "usersColors",
|
|
21
|
+
REALM = "realm",
|
|
22
|
+
API_BASE_URI = "api_base_uri",
|
|
23
|
+
DARK_MODE_ENABLED = "darkModeEnabled"
|
|
24
|
+
}
|
|
25
|
+
export declare class BrowserStorage {
|
|
26
|
+
private readonly logger?;
|
|
27
|
+
constructor(logger?: Logger);
|
|
28
|
+
dispose(): void;
|
|
29
|
+
getItem(key: StorageKeys): string | null;
|
|
30
|
+
setItem(key: StorageKeys, item: string): void;
|
|
31
|
+
clear(): void;
|
|
32
|
+
clearAllBut(but?: (StorageKeys | 'local' | 'session')[]): void;
|
|
33
|
+
removeItem(key: StorageKeys): void;
|
|
34
|
+
getItems(key: StorageKeys): BrowserStorageItemValue[] | null;
|
|
35
|
+
setItems(key: StorageKeys, items: BrowserStorageItemValue[]): void;
|
|
36
|
+
private getKeyStorage;
|
|
37
|
+
private _onCascadeDelete;
|
|
38
|
+
private _cleanRecentsCompanies;
|
|
39
|
+
private _cleanRecentsServices;
|
|
40
|
+
private _cleanRecentsStaffs;
|
|
41
|
+
private _cleanRecentsContacts;
|
|
42
|
+
private _cleanRecentsUsers;
|
|
43
|
+
}
|
|
44
|
+
export type BrowserStorageItemValue = {
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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 const CONFIG: {
|
|
17
|
+
DB_NAME: string;
|
|
18
|
+
DB_VERSION: number;
|
|
19
|
+
};
|