@agendize/js-agendize-api 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/README.md +23 -0
  2. package/dist/agendizeApi.d.ts +522 -0
  3. package/dist/browserStorage/browserStorage.d.ts +43 -0
  4. package/dist/config.d.ts +19 -0
  5. package/dist/data/Account.d.ts +180 -0
  6. package/dist/data/Activity.d.ts +443 -0
  7. package/dist/data/Address.d.ts +46 -0
  8. package/dist/data/Batch.d.ts +41 -0
  9. package/dist/data/CRMSettings.d.ts +35 -0
  10. package/dist/data/Calendar.d.ts +78 -0
  11. package/dist/data/Changelog.d.ts +20 -0
  12. package/dist/data/Common.d.ts +15 -0
  13. package/dist/data/CommonEnum.d.ts +44 -0
  14. package/dist/data/Company.d.ts +157 -0
  15. package/dist/data/CompanyPerformance.d.ts +26 -0
  16. package/dist/data/Connector.d.ts +26 -0
  17. package/dist/data/Consent.d.ts +4 -0
  18. package/dist/data/Contact.d.ts +202 -0
  19. package/dist/data/CustomStatus.d.ts +16 -0
  20. package/dist/data/Employee.d.ts +27 -0
  21. package/dist/data/Error.d.ts +65 -0
  22. package/dist/data/Event.d.ts +216 -0
  23. package/dist/data/EventSearch.d.ts +217 -0
  24. package/dist/data/EventUpdate.d.ts +9 -0
  25. package/dist/data/Form.d.ts +224 -0
  26. package/dist/data/FormResult.d.ts +61 -0
  27. package/dist/data/FormResultStatus.d.ts +23 -0
  28. package/dist/data/FreeSlot.d.ts +71 -0
  29. package/dist/data/Help.d.ts +18 -0
  30. package/dist/data/Image.d.ts +24 -0
  31. package/dist/data/Integration.d.ts +36 -0
  32. package/dist/data/Link.d.ts +10 -0
  33. package/dist/data/Log.d.ts +77 -0
  34. package/dist/data/LoginProvider.d.ts +17 -0
  35. package/dist/data/LoginRealm.d.ts +20 -0
  36. package/dist/data/Note.d.ts +27 -0
  37. package/dist/data/Notification.d.ts +51 -0
  38. package/dist/data/NotificationStatus.d.ts +5 -0
  39. package/dist/data/PrivacyPolicy.d.ts +43 -0
  40. package/dist/data/Queue.d.ts +54 -0
  41. package/dist/data/QueueRegistration.d.ts +101 -0
  42. package/dist/data/Reporting.d.ts +42 -0
  43. package/dist/data/ReportingExportBody.d.ts +170 -0
  44. package/dist/data/ReportingExportResponse.d.ts +15 -0
  45. package/dist/data/Rights.d.ts +123 -0
  46. package/dist/data/Service.d.ts +213 -0
  47. package/dist/data/ServiceGroup.d.ts +57 -0
  48. package/dist/data/ServiceResource.d.ts +26 -0
  49. package/dist/data/Settings.d.ts +12 -0
  50. package/dist/data/ShortPollingNotification.d.ts +25 -0
  51. package/dist/data/Shortener.d.ts +8 -0
  52. package/dist/data/Staff.d.ts +115 -0
  53. package/dist/data/StaffForms.d.ts +42 -0
  54. package/dist/data/StaffGroup.d.ts +58 -0
  55. package/dist/data/User.d.ts +84 -0
  56. package/dist/data/WidgetUrlCipher.d.ts +23 -0
  57. package/dist/data/WorkingHours.d.ts +94 -0
  58. package/dist/data/conference/Conference.d.ts +156 -0
  59. package/dist/data/conference/ConferenceForm.d.ts +36 -0
  60. package/dist/data/conference/ConferenceInvitee.d.ts +31 -0
  61. package/dist/data/conference/ConferenceLocation.d.ts +36 -0
  62. package/dist/data/conference/ConferenceSpeaker.d.ts +28 -0
  63. package/dist/data/conference/ConferenceSubscriptionRules.d.ts +12 -0
  64. package/dist/data/conference/ConferenceTag.d.ts +29 -0
  65. package/dist/data/conference/Registration.d.ts +56 -0
  66. package/dist/data/conference/RegistrationCancel.d.ts +26 -0
  67. package/dist/data/conference/RegistrationClient.d.ts +16 -0
  68. package/dist/data/conference/Session.d.ts +115 -0
  69. package/dist/data/conference/Widget.d.ts +92 -0
  70. package/dist/data/dashboard/DashboardStructure.d.ts +42 -0
  71. package/dist/data/dashboard/KeyFigures.d.ts +9 -0
  72. package/dist/data/planning/Planning.d.ts +17 -0
  73. package/dist/data/planning/PlanningDay.d.ts +12 -0
  74. package/dist/data/planning/PlanningHour.d.ts +10 -0
  75. package/dist/data/planning/PlanningWeek.d.ts +13 -0
  76. package/dist/data/scheduling/SchedulingRights.d.ts +40 -0
  77. package/dist/data/scheduling/WorkingPlanning.d.ts +119 -0
  78. package/dist/data/scheduling/schedule/CompanySchedule.d.ts +19 -0
  79. package/dist/data/scheduling/schedule/ScheduleWorkingHours.d.ts +18 -0
  80. package/dist/data/scheduling/schedule/UserSchedules.d.ts +20 -0
  81. package/dist/data/shortPollingNotification/ShortPollingNotificationEvent.d.ts +58 -0
  82. package/dist/data/shortPollingNotification/ShortPollingNotificationObject.d.ts +4 -0
  83. package/dist/data/shortPollingNotification/ShortPollingNotificationReport.d.ts +8 -0
  84. package/dist/db/DashboardStructureDb.d.ts +12 -0
  85. package/dist/db/calendarDb.d.ts +26 -0
  86. package/dist/db/calendarTeamDb.d.ts +27 -0
  87. package/dist/db/calendarTeamDefaultDb.d.ts +20 -0
  88. package/dist/db/companyDb.d.ts +26 -0
  89. package/dist/db/conferenceDb.d.ts +26 -0
  90. package/dist/db/conferenceInviteeDb.d.ts +27 -0
  91. package/dist/db/conferenceRegistrationDb.d.ts +11 -0
  92. package/dist/db/conferenceSessionDb.d.ts +27 -0
  93. package/dist/db/conferenceSpeakerDb.d.ts +27 -0
  94. package/dist/db/conferenceTagDb.d.ts +12 -0
  95. package/dist/db/contactDb.d.ts +26 -0
  96. package/dist/db/crmSettingsDb.d.ts +9 -0
  97. package/dist/db/customStatusDb.d.ts +13 -0
  98. package/dist/db/eventDb.d.ts +29 -0
  99. package/dist/db/externalEventDb.d.ts +26 -0
  100. package/dist/db/formBuilderDb.d.ts +26 -0
  101. package/dist/db/icsEventDb.d.ts +24 -0
  102. package/dist/db/index.d.ts +72 -0
  103. package/dist/db/noteDb.d.ts +27 -0
  104. package/dist/db/notificationDb.d.ts +9 -0
  105. package/dist/db/notificationStatusDb.d.ts +26 -0
  106. package/dist/db/planningDb.d.ts +27 -0
  107. package/dist/db/privacyPolicyDb.d.ts +24 -0
  108. package/dist/db/promoteFieldDb.d.ts +9 -0
  109. package/dist/db/queueDb.d.ts +27 -0
  110. package/dist/db/rightsDb.d.ts +25 -0
  111. package/dist/db/serviceDb.d.ts +28 -0
  112. package/dist/db/serviceGroupDb.d.ts +31 -0
  113. package/dist/db/serviceResourceDb.d.ts +27 -0
  114. package/dist/db/settingsDb.d.ts +24 -0
  115. package/dist/db/shortPollingNotificationDb.d.ts +13 -0
  116. package/dist/db/sseNotificationDb.d.ts +0 -0
  117. package/dist/db/staffDb.d.ts +28 -0
  118. package/dist/db/staffFormsDb.d.ts +25 -0
  119. package/dist/db/staffGroupDb.d.ts +32 -0
  120. package/dist/db/userDb.d.ts +27 -0
  121. package/dist/db/userDefaultDb.d.ts +20 -0
  122. package/dist/db/userDirectoryDb.d.ts +28 -0
  123. package/dist/db/widgetFormDb.d.ts +25 -0
  124. package/dist/eventFetchedMeta/eventMeta.d.ts +24 -0
  125. package/dist/eventFetchedMeta/eventMetaStorage.d.ts +63 -0
  126. package/dist/index.d.ts +91 -0
  127. package/dist/js-agendize-api.es.js +28770 -0
  128. package/dist/repository/index.d.ts +84 -0
  129. package/dist/repository/public/accountPublicRepository.d.ts +39 -0
  130. package/dist/repository/public/companyPublicRepository.d.ts +23 -0
  131. package/dist/repository/public/conferencePublicRepository.d.ts +26 -0
  132. package/dist/repository/public/customStatusPublicRepository.d.ts +28 -0
  133. package/dist/repository/public/eventPublicRepository.d.ts +39 -0
  134. package/dist/repository/public/formPublicRepository.d.ts +25 -0
  135. package/dist/repository/public/freeSlotPublicRepository.d.ts +40 -0
  136. package/dist/repository/public/queuePublicRepository.d.ts +22 -0
  137. package/dist/repository/public/queueRegistrationPublicRepository.d.ts +22 -0
  138. package/dist/repository/public/registrationPublicRepository.d.ts +22 -0
  139. package/dist/repository/public/servicePublicRepository.d.ts +24 -0
  140. package/dist/repository/public/sessionPublicRepository.d.ts +23 -0
  141. package/dist/repository/public/staffGroupPublicRepository.d.ts +24 -0
  142. package/dist/repository/public/staffPublicRepository.d.ts +24 -0
  143. package/dist/repository/public/widgetPublicRepository.d.ts +26 -0
  144. package/dist/repository/secured/CRMSettingsSecuredRepository.d.ts +25 -0
  145. package/dist/repository/secured/accountSecuredRepository.d.ts +44 -0
  146. package/dist/repository/secured/activitySecuredRepository.d.ts +43 -0
  147. package/dist/repository/secured/additionalFieldsSecuredRepository.d.ts +24 -0
  148. package/dist/repository/secured/calendarSecuredRepository.d.ts +33 -0
  149. package/dist/repository/secured/changelogSecuredRepository.d.ts +24 -0
  150. package/dist/repository/secured/companyPerformanceSecuredRepository.d.ts +37 -0
  151. package/dist/repository/secured/companySecuredRepository.d.ts +32 -0
  152. package/dist/repository/secured/conferenceInviteeSecuredRepository.d.ts +47 -0
  153. package/dist/repository/secured/conferenceRegistrationSecuredRepository.d.ts +39 -0
  154. package/dist/repository/secured/conferenceSecuredRepository.d.ts +50 -0
  155. package/dist/repository/secured/conferenceSessionSecuredRepository.d.ts +49 -0
  156. package/dist/repository/secured/conferenceSpeakerSecuredRepository.d.ts +50 -0
  157. package/dist/repository/secured/conferenceTagSecuredRepository.d.ts +31 -0
  158. package/dist/repository/secured/connectorsSecuredRepository.d.ts +25 -0
  159. package/dist/repository/secured/contactExternalSecuredRepository.d.ts +27 -0
  160. package/dist/repository/secured/contactSecuredRepository.d.ts +38 -0
  161. package/dist/repository/secured/customStatusSecuredRepository.d.ts +32 -0
  162. package/dist/repository/secured/dasboardStructureSecuredRepository.d.ts +25 -0
  163. package/dist/repository/secured/dashboardSecuredRepository.d.ts +20 -0
  164. package/dist/repository/secured/eventSecuredRepository.d.ts +66 -0
  165. package/dist/repository/secured/exportAppointmentsSecuredRepository.d.ts +25 -0
  166. package/dist/repository/secured/exportCalendarSecuredRepository.d.ts +28 -0
  167. package/dist/repository/secured/externalEventSecuredRepository.d.ts +39 -0
  168. package/dist/repository/secured/formBuilderSecuredRepository.d.ts +46 -0
  169. package/dist/repository/secured/formResultSecuredRepository.d.ts +31 -0
  170. package/dist/repository/secured/formResultStatusSecuredRepository.d.ts +30 -0
  171. package/dist/repository/secured/freeSlotSecuredRepository.d.ts +43 -0
  172. package/dist/repository/secured/icsEventSecuredRepository.d.ts +34 -0
  173. package/dist/repository/secured/integrationsSecuredRepository.d.ts +24 -0
  174. package/dist/repository/secured/logSecuredRepository.d.ts +25 -0
  175. package/dist/repository/secured/noteSecuredRepository.d.ts +27 -0
  176. package/dist/repository/secured/notificationSecuredRepository.d.ts +27 -0
  177. package/dist/repository/secured/notificationStatusSecuredRepository.d.ts +40 -0
  178. package/dist/repository/secured/planningSecuredRepository.d.ts +46 -0
  179. package/dist/repository/secured/privacyPolicySecuredRepository.d.ts +41 -0
  180. package/dist/repository/secured/promoteFieldSecuredRepository.d.ts +26 -0
  181. package/dist/repository/secured/queueRegistrationSecuredRepository.d.ts +46 -0
  182. package/dist/repository/secured/queueSecuredRepository.d.ts +46 -0
  183. package/dist/repository/secured/reportingSecuredRepository.d.ts +42 -0
  184. package/dist/repository/secured/rightsSecuredRepository.d.ts +40 -0
  185. package/dist/repository/secured/scheduleSecuredRepository.d.ts +25 -0
  186. package/dist/repository/secured/schedulingRightsSecuredRepository.d.ts +26 -0
  187. package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +50 -0
  188. package/dist/repository/secured/serviceResourceSecuredRepository.d.ts +50 -0
  189. package/dist/repository/secured/serviceSecuredRepository.d.ts +35 -0
  190. package/dist/repository/secured/settingsSecuredRepository.d.ts +27 -0
  191. package/dist/repository/secured/shortPollingNotificationSecuredRepository.d.ts +31 -0
  192. package/dist/repository/secured/shortenerSecuredRepository.d.ts +39 -0
  193. package/dist/repository/secured/sseNotificationSecuredRepository.d.ts +0 -0
  194. package/dist/repository/secured/staffFormsSecuredRepository.d.ts +40 -0
  195. package/dist/repository/secured/staffGroupSecuredRepository.d.ts +50 -0
  196. package/dist/repository/secured/staffSecuredRepository.d.ts +40 -0
  197. package/dist/repository/secured/tagSecuredRepository.d.ts +24 -0
  198. package/dist/repository/secured/userAbstractSecuredRepository.d.ts +55 -0
  199. package/dist/repository/secured/userDefaultSecuredRepository.d.ts +28 -0
  200. package/dist/repository/secured/userDirectorySecuredRepository.d.ts +41 -0
  201. package/dist/repository/secured/userSecuredRepository.d.ts +33 -0
  202. package/dist/repository/secured/widgetFormSecuredRepository.d.ts +45 -0
  203. package/dist/repository/secured/widgetUrlCipherSecuredRepository.d.ts +46 -0
  204. package/dist/repository/secured/workingPlanningSecuredRepository.d.ts +28 -0
  205. package/dist/service/index.d.ts +46 -0
  206. package/dist/service/items/EventFields.d.ts +30 -0
  207. package/dist/service/public/WidgetError.d.ts +7 -0
  208. package/dist/service/public/accountPublicService.d.ts +20 -0
  209. package/dist/service/public/companyPublicService.d.ts +5 -0
  210. package/dist/service/public/conferencePublicService.d.ts +6 -0
  211. package/dist/service/public/customStatusPublicService.d.ts +5 -0
  212. package/dist/service/public/eventPublicService.d.ts +29 -0
  213. package/dist/service/public/formPublicService.d.ts +7 -0
  214. package/dist/service/public/freeSlotPublicService.d.ts +20 -0
  215. package/dist/service/public/queueInscriptionPublicService.d.ts +5 -0
  216. package/dist/service/public/queuePublicService.d.ts +5 -0
  217. package/dist/service/public/registrationPublicService.d.ts +8 -0
  218. package/dist/service/public/servicePublicService.d.ts +21 -0
  219. package/dist/service/public/sessionPublicService.d.ts +5 -0
  220. package/dist/service/public/staffGroupPublicService.d.ts +6 -0
  221. package/dist/service/public/staffPublicService.d.ts +6 -0
  222. package/dist/service/public/widgetPublicService.d.ts +5 -0
  223. package/dist/service/public/widgetResponse.d.ts +3 -0
  224. package/dist/service/secured/FormResultSecuredService.d.ts +8 -0
  225. package/dist/service/secured/accountSecuredService.d.ts +23 -0
  226. package/dist/service/secured/activitySecuredService.d.ts +22 -0
  227. package/dist/service/secured/additionalFieldsSecuredService.d.ts +5 -0
  228. package/dist/service/secured/authenticationSecuredService.d.ts +56 -0
  229. package/dist/service/secured/batchSecuredService.d.ts +20 -0
  230. package/dist/service/secured/calendarSecuredService.d.ts +28 -0
  231. package/dist/service/secured/changelogSecuredService.d.ts +20 -0
  232. package/dist/service/secured/companyPerformanceSecuredService.d.ts +20 -0
  233. package/dist/service/secured/companySecuredService.d.ts +26 -0
  234. package/dist/service/secured/conferenceInviteeSecuredService.d.ts +25 -0
  235. package/dist/service/secured/conferenceRegistrationSecuredService.d.ts +13 -0
  236. package/dist/service/secured/conferenceSecuredService.d.ts +25 -0
  237. package/dist/service/secured/conferenceSessionSecuredService.d.ts +26 -0
  238. package/dist/service/secured/conferenceSpeakerSecuredService.d.ts +30 -0
  239. package/dist/service/secured/conferenceTagSecuredService.d.ts +10 -0
  240. package/dist/service/secured/connectorsSecuredService.d.ts +5 -0
  241. package/dist/service/secured/contactExternalSecuredService.d.ts +21 -0
  242. package/dist/service/secured/contactSecuredService.d.ts +26 -0
  243. package/dist/service/secured/crmSettingsSecuredService.d.ts +5 -0
  244. package/dist/service/secured/customStatusSecuredService.d.ts +9 -0
  245. package/dist/service/secured/dashboardSecuredService.d.ts +5 -0
  246. package/dist/service/secured/dashboardStructureSecuredService.d.ts +5 -0
  247. package/dist/service/secured/eventSecuredService.d.ts +44 -0
  248. package/dist/service/secured/exportAppointmentsSecuredService.d.ts +7 -0
  249. package/dist/service/secured/exportCalendarSecuredService.d.ts +5 -0
  250. package/dist/service/secured/formBuilderSecuredService.d.ts +23 -0
  251. package/dist/service/secured/formResultStatusSecuredService.d.ts +6 -0
  252. package/dist/service/secured/freeSlotSecuredService.d.ts +20 -0
  253. package/dist/service/secured/freeStaffSecuredService.d.ts +19 -0
  254. package/dist/service/secured/integrationsSecuredService.d.ts +5 -0
  255. package/dist/service/secured/logSecuredService.d.ts +19 -0
  256. package/dist/service/secured/noteSecuredService.d.ts +22 -0
  257. package/dist/service/secured/notificationSecuredService.d.ts +6 -0
  258. package/dist/service/secured/planningSecuredService.d.ts +25 -0
  259. package/dist/service/secured/privacyPolicySecuredService.d.ts +20 -0
  260. package/dist/service/secured/promoteFieldSecuredService.d.ts +5 -0
  261. package/dist/service/secured/queueRegistrationSecuredService.d.ts +23 -0
  262. package/dist/service/secured/queueSecuredService.d.ts +25 -0
  263. package/dist/service/secured/reportingSecuredService.d.ts +20 -0
  264. package/dist/service/secured/rightsSecuredService.d.ts +20 -0
  265. package/dist/service/secured/scheduleSecuredService.d.ts +5 -0
  266. package/dist/service/secured/schedulingRightsSecuredService.d.ts +7 -0
  267. package/dist/service/secured/serviceGroupSecuredService.d.ts +25 -0
  268. package/dist/service/secured/serviceResourceSecuredService.d.ts +25 -0
  269. package/dist/service/secured/serviceSecuredService.d.ts +25 -0
  270. package/dist/service/secured/settingsSecuredService.d.ts +20 -0
  271. package/dist/service/secured/shortPollingNotificationSecuredService.d.ts +9 -0
  272. package/dist/service/secured/shortenerSecuredService.d.ts +20 -0
  273. package/dist/service/secured/staffFormsSecuredService.d.ts +20 -0
  274. package/dist/service/secured/staffGroupSecuredService.d.ts +25 -0
  275. package/dist/service/secured/staffSecuredService.d.ts +26 -0
  276. package/dist/service/secured/tagSecuredService.d.ts +5 -0
  277. package/dist/service/secured/userDirectorySecuredService.d.ts +20 -0
  278. package/dist/service/secured/userSecuredService.d.ts +33 -0
  279. package/dist/service/secured/widgetFormSecuredService.d.ts +26 -0
  280. package/dist/service/secured/widgetUrlCipherSecuredService.d.ts +21 -0
  281. package/dist/service/secured/workingPlanningSecuredService.d.ts +6 -0
  282. package/dist/utils/axiosLoggerBuilder.d.ts +11 -0
  283. package/dist/utils/colorManager.d.ts +7 -0
  284. package/dist/utils/date.d.ts +12 -0
  285. package/dist/utils/encoding.d.ts +5 -0
  286. package/dist/utils/formUtils.d.ts +4 -0
  287. package/dist/utils/logger.d.ts +40 -0
  288. package/dist/utils/pkceUtils.d.ts +10 -0
  289. package/dist/utils/widgetForms.d.ts +6 -0
  290. package/package.json +67 -0
@@ -0,0 +1,55 @@
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 { UserSecuredService } from '@/service/secured/userSecuredService';
17
+ import { UserDb } from "@/db/userDb";
18
+ import { IndexedDb } from '@/db';
19
+ import { EMITTER_TYPE, QUERY_RESULT, QUERY_RESULTS, QUERY_TYPE, Repository } from "@/repository";
20
+ import { Logger } from '@/utils/logger';
21
+ import { UserEntity } from '@/data/User';
22
+ import { AuthenticationSecuredService } from "@/service/secured/authenticationSecuredService";
23
+ import { PubSubService } from "type-pubsub";
24
+ import { CalendarTeamDb } from "@/db/calendarTeamDb";
25
+ import { CalendarTeamEntity } from "@/data/Calendar";
26
+ interface Args {
27
+ userId?: string;
28
+ organisation?: string;
29
+ defaultUsers?: boolean;
30
+ }
31
+ export declare abstract class UserAbstractSecuredRepository extends Repository<UserEntity, Args> {
32
+ protected userDb: UserDb;
33
+ protected teamDb: CalendarTeamDb;
34
+ protected userService: UserSecuredService;
35
+ protected constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger, repositoryName?: string);
36
+ protected abstract initUserDb(indexedDb: IndexedDb): UserDb;
37
+ protected abstract initTeamDb(indexedDb: IndexedDb): CalendarTeamDb;
38
+ abstract getAllUsers(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<UserEntity>>;
39
+ getAllTeams(bearer: string, organisation?: string): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
40
+ getUser(bearer: string, userId: string, organisation?: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<UserEntity>>;
41
+ protected remoteList(bearer: string, args: Args): Promise<UserEntity[]>;
42
+ protected remoteGet(bearer: string, args: Args): Promise<UserEntity>;
43
+ protected remoteCreate(bearer: string, args: Args, item: UserEntity): Promise<UserEntity>;
44
+ protected remoteUpdate(bearer: string, args: Args, item: UserEntity): Promise<UserEntity>;
45
+ protected remoteDelete(bearer: string, args: Args): Promise<void>;
46
+ protected localList(args: Args): Promise<UserEntity[]>;
47
+ protected localGet(args: Args): Promise<UserEntity>;
48
+ protected localBulkSave(args: Args, items: UserEntity[]): Promise<void>;
49
+ protected localDelete(args: Args): Promise<void>;
50
+ protected localBulkDelete(items: UserEntity[]): Promise<void>;
51
+ private checkNullable;
52
+ dispose(): void;
53
+ protected onCascadeDelete(data: any, message: EMITTER_TYPE, channel: PubSubService<EMITTER_TYPE>, handler: any): Promise<void>;
54
+ }
55
+ export {};
@@ -0,0 +1,28 @@
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 { UserDb } from "@/db/userDb";
17
+ import { IndexedDb } from '@/db';
18
+ import { Logger } from '@/utils/logger';
19
+ import { QUERY_TYPE } from "@/repository";
20
+ import { AuthenticationSecuredService } from "@/service/secured/authenticationSecuredService";
21
+ import { CalendarTeamDb } from "@/db/calendarTeamDb";
22
+ import { UserAbstractSecuredRepository } from "@/repository/secured/userAbstractSecuredRepository";
23
+ export declare class UserDefaultSecuredRepository extends UserAbstractSecuredRepository {
24
+ constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
25
+ protected initTeamDb(indexedDb: IndexedDb): CalendarTeamDb;
26
+ protected initUserDb(indexedDb: IndexedDb): UserDb;
27
+ getAllUsers(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<import("@/repository").QUERY_RESULTS<import("../..").UserEntity>>;
28
+ }
@@ -0,0 +1,41 @@
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 { QUERY_TYPE, Repository } from "@/repository";
17
+ import { AuthenticationSecuredService } from "@/service/secured/authenticationSecuredService";
18
+ import { IndexedDb } from "@/db";
19
+ import { Logger } from "@/utils/logger";
20
+ import { UserEntity } from "@/data/User";
21
+ interface Args {
22
+ account: string;
23
+ userId?: string;
24
+ }
25
+ export declare class UserDirectorySecuredRepository extends Repository<UserEntity, Args> {
26
+ private userDirectoryDb;
27
+ private userDirectorySecuredService;
28
+ constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
29
+ getAllUsersOfDirectory(bearer: string, account: string, mode?: QUERY_TYPE): Promise<import("@/repository").QUERY_RESULTS<UserEntity>>;
30
+ protected remoteGet(bearer: string, args: Args): Promise<UserEntity>;
31
+ protected remoteList(bearer: string, args: Args): Promise<UserEntity[]>;
32
+ protected remoteCreate(bearer: string, args: Args, item: UserEntity): Promise<UserEntity>;
33
+ protected remoteUpdate(bearer: string, args: Args, item: UserEntity): Promise<UserEntity>;
34
+ protected remoteDelete(bearer: string, args: Args): Promise<void>;
35
+ protected localList(args: Args): Promise<UserEntity[]>;
36
+ protected localGet(args: Args): Promise<UserEntity>;
37
+ protected localBulkSave(args: Args, items: UserEntity[]): Promise<void>;
38
+ protected localDelete(args: Args): Promise<void>;
39
+ protected localBulkDelete(items: UserEntity[]): Promise<void>;
40
+ }
41
+ export {};
@@ -0,0 +1,33 @@
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 { UserDb } from "@/db/userDb";
17
+ import { IndexedDb } from '@/db';
18
+ import { QUERY_TYPE } from "@/repository";
19
+ import { Logger } from '@/utils/logger';
20
+ import { AuthenticationSecuredService } from "@/service/secured/authenticationSecuredService";
21
+ import { CalendarTeamDb } from "@/db/calendarTeamDb";
22
+ import { UserAbstractSecuredRepository } from "./userAbstractSecuredRepository";
23
+ export declare class UserSecuredRepository extends UserAbstractSecuredRepository {
24
+ constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
25
+ protected initTeamDb(indexedDb: IndexedDb): CalendarTeamDb;
26
+ protected initUserDb(indexedDb: IndexedDb): UserDb;
27
+ getAllUsers(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<import("@/repository").QUERY_RESULTS<import("../..").UserEntity>>;
28
+ getAllUsersWithTeam(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<{
29
+ users: import("../..").UserEntity[];
30
+ teams: import("../..").CalendarTeamEntity[];
31
+ local: boolean;
32
+ }>;
33
+ }
@@ -0,0 +1,45 @@
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 { WidgetFormFieldsAPIProperties } from '@/service/secured/widgetFormSecuredService';
17
+ import { IndexedDb } from '@/db';
18
+ import { Repository } from "@/repository";
19
+ import { AuthenticationSecuredService } from "@/service/secured/authenticationSecuredService";
20
+ import { WidgetFormEntity } from "@/data/Form";
21
+ import { Logger } from "@/utils/logger";
22
+ interface Args {
23
+ account: string;
24
+ companyId?: string;
25
+ serviceId?: string;
26
+ formId?: string;
27
+ properties?: WidgetFormFieldsAPIProperties;
28
+ }
29
+ export declare class WidgetFormSecuredRepository extends Repository<WidgetFormEntity, Args> {
30
+ private widgetFormDb;
31
+ private widgetFormSecuredService;
32
+ constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
33
+ getWidgetForm(bearer: string, account: string, companyId: string, serviceId?: string, properties?: WidgetFormFieldsAPIProperties): Promise<WidgetFormEntity>;
34
+ protected remoteList(bearer: string, args: Args): Promise<WidgetFormEntity[]>;
35
+ protected remoteGet(bearer: string, args: Args): Promise<WidgetFormEntity>;
36
+ protected remoteCreate(bearer: string, args: Args, item: WidgetFormEntity): Promise<WidgetFormEntity>;
37
+ protected remoteUpdate(bearer: string, args: Args, item: WidgetFormEntity): Promise<WidgetFormEntity>;
38
+ protected remoteDelete(bearer: string, args: Args): Promise<void>;
39
+ protected localList(args: Args): Promise<WidgetFormEntity[]>;
40
+ protected localGet(args: Args): Promise<WidgetFormEntity>;
41
+ protected localBulkSave(args: Args, forms: WidgetFormEntity[]): Promise<void>;
42
+ protected localDelete(args: Args): Promise<void>;
43
+ protected localBulkDelete(items: WidgetFormEntity[]): Promise<void>;
44
+ }
45
+ export {};
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Copyright 2022 Agendize All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at.
7
+ *
8
+ * Http://www.apache.org/licenses/LICENSE-2.0.
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { IndexedDb } from '@/db';
17
+ import { Repository } from "@/repository";
18
+ import { Logger } from '@/utils/logger';
19
+ import { AuthenticationSecuredService } from "@/service/secured/authenticationSecuredService";
20
+ import { WidgetUrlCipherEntity, WidgetUrlCipherInputEntity } from "@/data/WidgetUrlCipher";
21
+ interface Args {
22
+ organisation: string;
23
+ companyId: string;
24
+ params?: WidgetUrlCipherInputEntity;
25
+ urlToCipher?: string;
26
+ shortener?: boolean;
27
+ domaine?: string;
28
+ }
29
+ export declare class WidgetUrlCipherSecuredRepository extends Repository<WidgetUrlCipherEntity, Args> {
30
+ private widgetUrlCipherService;
31
+ constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
32
+ cipherUrl(bearer: string, organisation: string, companyId: string, urlToCipher: string, domaine?: string, shortener?: boolean): Promise<WidgetUrlCipherEntity>;
33
+ cipherUrlByEntity(bearer: string, organisation: string, companyId: string, params: WidgetUrlCipherInputEntity): Promise<WidgetUrlCipherEntity>;
34
+ protected remoteList(bearer: string, args: Args): Promise<WidgetUrlCipherEntity[]>;
35
+ protected remoteGet(bearer: string, args: Args): Promise<WidgetUrlCipherEntity>;
36
+ protected remoteCreate(bearer: string, args: Args, item: WidgetUrlCipherEntity): Promise<WidgetUrlCipherEntity>;
37
+ protected remoteUpdate(bearer: string, args: Args, item: WidgetUrlCipherEntity): Promise<WidgetUrlCipherEntity>;
38
+ protected remoteDelete(bearer: string, args: Args): Promise<void>;
39
+ protected localList(args: Args): Promise<WidgetUrlCipherEntity[]>;
40
+ protected localGet(args: Args): Promise<WidgetUrlCipherEntity>;
41
+ protected localBulkSave(args: Args, items: WidgetUrlCipherEntity[]): Promise<void>;
42
+ protected localBulkDelete(items: WidgetUrlCipherEntity[]): Promise<void>;
43
+ protected localDelete(args: Args): Promise<void>;
44
+ private checkNullable;
45
+ }
46
+ export {};
@@ -0,0 +1,28 @@
1
+ import { Repository } from "@/repository";
2
+ import { StaffWorkingPlanningEntity, WorkingPlanningEntity } from "@/data/scheduling/WorkingPlanning";
3
+ import { AuthenticationSecuredService } from "@/service/secured/authenticationSecuredService";
4
+ import { Logger } from "@/utils/logger";
5
+ interface Args {
6
+ account: string;
7
+ companyId?: string;
8
+ start?: Date;
9
+ end?: Date;
10
+ withOccupancy?: boolean;
11
+ }
12
+ export declare class WorkingPlanningSecuredRepository extends Repository<WorkingPlanningEntity, Args> {
13
+ private workingPlanningSecuredService;
14
+ constructor(authenticationSecuredService: AuthenticationSecuredService, baseURL: string, logger?: Logger);
15
+ getAllCompanyWorkingPlannings(bearer: string, account: string, companyId: string, start: Date, end: Date, withOccupancy: boolean): Promise<StaffWorkingPlanningEntity[]>;
16
+ createWorkingPlanning(bearer: string, account: string, workingPlanning: WorkingPlanningEntity): Promise<WorkingPlanningEntity>;
17
+ protected localBulkDelete(items: WorkingPlanningEntity[]): Promise<void>;
18
+ protected localBulkSave(args: Args, items: WorkingPlanningEntity[]): Promise<void>;
19
+ protected localDelete(args: Args): Promise<void>;
20
+ protected localGet(args: Args): Promise<WorkingPlanningEntity>;
21
+ protected localList(args: Args): Promise<WorkingPlanningEntity[]>;
22
+ protected remoteCreate(bearer: string, args: Args, item: StaffWorkingPlanningEntity): Promise<WorkingPlanningEntity>;
23
+ protected remoteDelete(bearer: string, args: Args): Promise<void>;
24
+ protected remoteGet(bearer: string, args: Args): Promise<WorkingPlanningEntity>;
25
+ protected remoteList(bearer: string, args: Args): Promise<StaffWorkingPlanningEntity[]>;
26
+ protected remoteUpdate(bearer: string, args: Args, item: WorkingPlanningEntity): Promise<WorkingPlanningEntity>;
27
+ }
28
+ export {};
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Copyright 2022 Agendize All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at.
7
+ *
8
+ * Http://www.apache.org/licenses/LICENSE-2.0.
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { AuthenticationSecuredService } from '@/service/secured/authenticationSecuredService';
18
+ import { LoggerInterface } from "../utils/logger";
19
+ declare module 'axios' {
20
+ interface AxiosResponse<T = any> extends Promise<T> {
21
+ }
22
+ }
23
+ export default abstract class HttpClient {
24
+ private authenticationService?;
25
+ protected logger?: LoggerInterface;
26
+ private bearerCall;
27
+ protected readonly instance: AxiosInstance;
28
+ protected readonly isPublic?: boolean;
29
+ private axiosLoggerBuilder;
30
+ protected readonly baseUrl: string;
31
+ protected abortControllers: Map<string, AbortController>;
32
+ constructor(baseURL: string, authenticationService?: AuthenticationSecuredService, logger?: LoggerInterface, isPublic?: boolean);
33
+ protected filteredDataLog(data: any): any;
34
+ protected getPublicAxiosConfig(): AxiosRequestConfig;
35
+ protected getAxiosConfig(bearer: string, account?: string): AxiosRequestConfig;
36
+ private _initializeRequestInterceptor;
37
+ private isAbortableRequest;
38
+ private _handleRequest;
39
+ private _initializeResponseInterceptor;
40
+ private _handleResponse;
41
+ private _handleError;
42
+ private _initializeWidgetResponseInterceptor;
43
+ private _handleWidgetResponse;
44
+ private _handleWidgetError;
45
+ private _handleRefreshToken;
46
+ }
@@ -0,0 +1,30 @@
1
+ export declare function getEventFieldParameter(fields: string[]): string;
2
+ export declare function getDefaultEventField(): EventFields[];
3
+ export declare enum EventFields {
4
+ ID = "id",
5
+ START = "start",
6
+ END = "end",
7
+ OWNER = "owner",
8
+ NOTES = "notes",
9
+ CREATED = "created",
10
+ STAFF = "staff",
11
+ HISTORY = "history",
12
+ SOURCE = "source",
13
+ REFERENCE = "reference",
14
+ SERVICE = "service",
15
+ ENCRYPTED_ID = "encryptedId",
16
+ PAID = "paid",
17
+ CLIENT = "client",
18
+ COMPANY = "company",
19
+ STATUS = "status",
20
+ SUMMARY = "summary",
21
+ RESOURCE = "resource",
22
+ SERVICE_RESOURCE = "service-resource",
23
+ PARENT = "parent",
24
+ RESCHEDULE_LINK = "rescheduleLink",
25
+ ONLINE_MEETING = "onlineMeeting",
26
+ PRICE = "price",
27
+ FORM = "form",
28
+ PREPARATION_DURATION = "preparationDuration",
29
+ BUFFER_DURATION = "bufferDuration"
30
+ }
@@ -0,0 +1,7 @@
1
+ import { WidgetErrorDto, WidgetErrorEntity } from "@/data/conference/Widget";
2
+ import { ApiErrors } from "@/data/Error";
3
+ export declare class WidgetError extends Error {
4
+ entity: WidgetErrorEntity;
5
+ constructor(message: string, dto: WidgetErrorDto);
6
+ getErrorCode(): ApiErrors;
7
+ }
@@ -0,0 +1,20 @@
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 HttpClient from '@/service/index';
17
+ import { AccountPublicDto } from "@/data/Account";
18
+ export declare class AccountPublicService extends HttpClient {
19
+ getAccount(userId: string, locale?: string): Promise<AccountPublicDto>;
20
+ }
@@ -0,0 +1,5 @@
1
+ import { CompanyPublicDto } from "@/data/Company";
2
+ import HttpClient from "@/service/index";
3
+ export declare class CompanyPublicService extends HttpClient {
4
+ getById(companyId: string, companySelector?: boolean): Promise<CompanyPublicDto>;
5
+ }
@@ -0,0 +1,6 @@
1
+ import HttpClient from "@/service";
2
+ import { ConferenceLightDto, ConferenceListDto } from "@/data/conference/Conference";
3
+ export declare class ConferencePublicService extends HttpClient {
4
+ getAllConferences(accountId: string, tagIds?: string[], accountTagIds?: string[], cipherParams?: string): Promise<ConferenceListDto>;
5
+ searchInAllConferences(accountId: string, start?: Date, end?: Date, tagIds?: string[], locations?: string[], accountIds?: string[], accountTagIds?: string[], cipherParams?: string): Promise<ConferenceLightDto[]>;
6
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from "@/service";
2
+ import { CustomStatusDto } from "@/data/CustomStatus";
3
+ export declare class CustomStatusPublicService extends HttpClient {
4
+ getAll(accountId: string, eventId: string, securityKey: string): Promise<CustomStatusDto[]>;
5
+ }
@@ -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
+ import HttpClient from '@/service/index';
17
+ import { EventPublicDto } from "@/data/Event";
18
+ export declare class EventPublicService extends HttpClient {
19
+ getById(accountId: string, eventId: string, securityKey: string, locale?: string): Promise<EventPublicDto>;
20
+ updateEventStatus(accountId: string, companyId: string, eventId: string, securityKey: string, status: {
21
+ status?: string;
22
+ customStatus?: string;
23
+ }, locale?: string): Promise<EventPublicDto>;
24
+ updateEventNotes(accountId: string, eventId: string, securityKey: string, notes: string, locale?: string): Promise<EventPublicDto>;
25
+ rescheduleEvent(companyId: string, eventId: string, securityKey: string, startDate: {
26
+ timeZone: string;
27
+ dateTime: string;
28
+ }, locale?: string): Promise<EventPublicDto>;
29
+ }
@@ -0,0 +1,7 @@
1
+ import HttpClient from "@/service";
2
+ import { FormBuilderPublicDto } from "@/data/Form";
3
+ import { FormResultPublicDto } from "@/data/FormResult";
4
+ export declare class FormPublicService extends HttpClient {
5
+ getById(formId: string, cypherParams?: string): Promise<FormBuilderPublicDto>;
6
+ submitFormResult(formId: string, formSubmit: FormResultPublicDto): Promise<FormResultPublicDto>;
7
+ }
@@ -0,0 +1,20 @@
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 HttpClient from '@/service/index';
17
+ import { FreeSlotsFilterOptions, FreeSlotsPublicDto } from "@/data/FreeSlot";
18
+ export declare class FreeSlotPublicService extends HttpClient {
19
+ getFreeSlots(account: string, companyId: string, serviceId: string, filterOptions: FreeSlotsFilterOptions): Promise<FreeSlotsPublicDto>;
20
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from '@/service';
2
+ import { QueueRegistrationResultPublicDto, QueueRegistrationPublicDto } from '@/data/QueueRegistration';
3
+ export declare class QueueInscriptionPublicService extends HttpClient {
4
+ inscriptionToQueue(queueId: string, inscription: QueueRegistrationPublicDto): Promise<QueueRegistrationResultPublicDto>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from '@/service';
2
+ import { QueuePublicDto } from '@/data/Queue';
3
+ export declare class QueuePublicService extends HttpClient {
4
+ getById(queueId: string): Promise<QueuePublicDto>;
5
+ }
@@ -0,0 +1,8 @@
1
+ import HttpClient from "@/service";
2
+ import { ConferenceRegistrationResponseDto } from "@/data/conference/Widget";
3
+ import { ConferenceRegistrationCancelPublicDto } from "@/data/conference/RegistrationCancel";
4
+ import { ConferenceRegistrationPublicDto } from "@/data/conference/Registration";
5
+ export declare class RegistrationPublicService extends HttpClient {
6
+ cancelWidgetConferenceRegistration(accountId: string, data: ConferenceRegistrationCancelPublicDto): Promise<ConferenceRegistrationResponseDto>;
7
+ saveWidgetConferenceRegistration(accountId: string, data: ConferenceRegistrationPublicDto): Promise<ConferenceRegistrationResponseDto>;
8
+ }
@@ -0,0 +1,21 @@
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 HttpClient from '@/service/index';
17
+ import { ServicePublicDto, ServicesListPublicDto } from "@/data/Service";
18
+ export declare class ServicePublicService extends HttpClient {
19
+ getById(companyId: string, serviceId: string): Promise<ServicePublicDto>;
20
+ getList(companyId?: string, accountId?: string, serviceId?: string, serviceGroupId?: string, staffId?: string, staffGroupId?: string, lang?: string, ignoreError?: boolean): Promise<ServicesListPublicDto>;
21
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from "@/service";
2
+ import { ConferenceSessionPublicDto } from "@/data/conference/Session";
3
+ export declare class SessionPublicService extends HttpClient {
4
+ getAllConferenceSession(accountId: string, conferenceId: string): Promise<ConferenceSessionPublicDto[]>;
5
+ }
@@ -0,0 +1,6 @@
1
+ import HttpClient from "@/service";
2
+ import { StaffGroupPublicDto } from "@/data/StaffGroup";
3
+ export declare class StaffGroupPublicService extends HttpClient {
4
+ getById(companyId: string, staffGroupId: string): Promise<StaffGroupPublicDto>;
5
+ getByService(companyId: string, serviceId: string): Promise<StaffGroupPublicDto[]>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import HttpClient from "@/service";
2
+ import { StaffPublicDto } from "@/data/Staff";
3
+ export declare class StaffPublicService extends HttpClient {
4
+ getById(companyId: string, staffId: string): Promise<StaffPublicDto>;
5
+ getByService(companyId: string, serviceId: string): Promise<StaffPublicDto[]>;
6
+ }
@@ -0,0 +1,5 @@
1
+ import { WidgetDto } from "@/data/conference/Widget";
2
+ import HttpClient from "@/service";
3
+ export declare class WidgetPublicService extends HttpClient {
4
+ getWidgetConference(accountId: string, conferenceId: string, additionalQueryParams: Map<string, string>, sessionId?: string, registrationId?: string): Promise<WidgetDto>;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { AxiosResponse } from "axios";
2
+ declare const manageWidgetResponse: (promise: Promise<AxiosResponse<any>>) => Promise<AxiosResponse<any>>;
3
+ export default manageWidgetResponse;
@@ -0,0 +1,8 @@
1
+ import HttpClient from "@/service/index";
2
+ import { FormResultSecuredDto } from "@/data/FormResult";
3
+ export declare class FormResultSecuredService extends HttpClient {
4
+ getAllResults(bearer: string, formId: string, account: string): Promise<FormResultSecuredDto[]>;
5
+ getFormResultById(bearer: string, formId: string, resultId: string, account: string): Promise<FormResultSecuredDto>;
6
+ delete(bearer: string, formId: string, resultId: string, account: string): Promise<void>;
7
+ updateResult(bearer: string, formId: string, resultId: string, result: FormResultSecuredDto, account: string): Promise<FormResultSecuredDto>;
8
+ }
@@ -0,0 +1,23 @@
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 HttpClient from '@/service/index';
17
+ import { AccountDto } from "@/data/Account";
18
+ export declare class AccountSecuredService extends HttpClient {
19
+ getAccount(bearer: string, account?: string, crossAccount?: boolean): Promise<AccountDto>;
20
+ updateAccount(bearer: string, account: AccountDto): Promise<AccountDto>;
21
+ updateAccountV2_3(bearer: string, account: AccountDto): Promise<AccountDto>;
22
+ updatePassword(bearer: string, currentPassword: string, newPassword: string): Promise<void>;
23
+ }
@@ -0,0 +1,22 @@
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 HttpClient from '@/service/index';
17
+ import { ActivityDto } from "@/data/Activity";
18
+ export declare class ActivitySecuredService extends HttpClient {
19
+ getAllActivities(bearer: string, account: string, clientId: string): Promise<ActivityDto[]>;
20
+ getAllEventActivities(bearer: string, account: string, clientId: string, eventId: string): Promise<ActivityDto[]>;
21
+ protected filteredDataLog(data: any): any;
22
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from "@/service/index";
2
+ import { AdditionalFieldsDto } from "@/data/Contact";
3
+ export declare class AdditionalFieldsSecuredService extends HttpClient {
4
+ getFields(bearer: string, account: string): Promise<AdditionalFieldsDto>;
5
+ }