@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,11 @@
1
+ import { IndexedDb } from "./index";
2
+ import { ConferenceRegistrationSecuredEntity } from "../data/conference/Registration";
3
+ export declare class ConferenceRegistrationDb {
4
+ private indexedDb;
5
+ constructor(indexedDb: IndexedDb);
6
+ getAllRegistrationBySessionId(sessionId: string): Promise<ConferenceRegistrationSecuredEntity[]>;
7
+ saveAllRegistrations(registrations: ConferenceRegistrationSecuredEntity[]): Promise<void>;
8
+ getById(objectId: string): Promise<ConferenceRegistrationSecuredEntity>;
9
+ deleteById(objectId: string): Promise<void>;
10
+ drop(): Promise<void>;
11
+ }
@@ -0,0 +1,27 @@
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 './index';
17
+ import { ConferenceSessionSecuredEntity } from "../data/conference/Session";
18
+ export declare class ConferenceSessionDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAllConferenceSessions(): Promise<ConferenceSessionSecuredEntity[]>;
22
+ getAllConferenceSessionsByConfId(conferenceId: string): Promise<ConferenceSessionSecuredEntity[]>;
23
+ saveAllConferences(speakers: ConferenceSessionSecuredEntity[]): Promise<void>;
24
+ getById(objectId: string): Promise<ConferenceSessionSecuredEntity>;
25
+ deleteById(objectId: string): Promise<void>;
26
+ drop(): Promise<void>;
27
+ }
@@ -0,0 +1,27 @@
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 './index';
17
+ import { ConferenceSpeakerSecuredEntity } from "@/data/conference/ConferenceSpeaker";
18
+ export declare class ConferenceSpeakerDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAllConferenceSpeakers(conferenceId: string): Promise<ConferenceSpeakerSecuredEntity[]>;
22
+ saveAllConferenceSpeakers(speakers: ConferenceSpeakerSecuredEntity[]): Promise<void>;
23
+ getByConferenceId(conferenceId: string): Promise<ConferenceSpeakerSecuredEntity[]>;
24
+ getById(objectId: string): Promise<ConferenceSpeakerSecuredEntity>;
25
+ deleteById(objectId: string): Promise<void>;
26
+ drop(): Promise<void>;
27
+ }
@@ -0,0 +1,12 @@
1
+ import { IndexedDb } from "./index";
2
+ import { ConferenceTagSecuredEntity } from "../data/conference/ConferenceTag";
3
+ export declare class ConferenceTagDb {
4
+ private indexedDb;
5
+ constructor(indexedDb: IndexedDb);
6
+ getAllConferenceTags(): Promise<ConferenceTagSecuredEntity[]>;
7
+ getById(tagId: string): Promise<ConferenceTagSecuredEntity>;
8
+ saveAllConferenceTags(conferenceTags: ConferenceTagSecuredEntity[]): Promise<void>;
9
+ saveConferenceTag(conferenceTag: ConferenceTagSecuredEntity): Promise<void>;
10
+ deleteById(tagId: string): Promise<void>;
11
+ drop(): Promise<void>;
12
+ }
@@ -0,0 +1,26 @@
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 { ContactEntity } from '../index';
17
+ import { IndexedDb } from './index';
18
+ export declare class ContactDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAllContacts(): Promise<ContactEntity[]>;
22
+ saveAllContacts(contacts: ContactEntity[]): Promise<void>;
23
+ getById(objectId: string): Promise<ContactEntity>;
24
+ deleteById(objectId: string): Promise<void>;
25
+ drop(): Promise<void>;
26
+ }
@@ -0,0 +1,9 @@
1
+ import { IndexedDb } from './index';
2
+ import { CRMSettingsEntity } from "../data/CRMSettings";
3
+ export declare class CRMSettingsDB {
4
+ private indexedDb;
5
+ constructor(indexedDb: IndexedDb);
6
+ getByAccount(account: string): Promise<CRMSettingsEntity>;
7
+ drop(): Promise<void>;
8
+ saveAll(items: CRMSettingsEntity[]): Promise<void>;
9
+ }
@@ -0,0 +1,13 @@
1
+ import { IndexedDb } from "./index";
2
+ import { CustomStatusEntity } from "../data/CustomStatus";
3
+ export declare class CustomStatusDb {
4
+ private indexedDb;
5
+ constructor(indexedDb: IndexedDb);
6
+ saveAllCustomStatus(customStatuses: CustomStatusEntity[]): Promise<void>;
7
+ saveCustomStatus(customStatus: CustomStatusEntity): Promise<void>;
8
+ deleteCustomStatus(customStatusId: string): Promise<void>;
9
+ getAllCustomStatus(): Promise<CustomStatusEntity[]>;
10
+ getById(customStatusId: string): Promise<CustomStatusEntity>;
11
+ deleteByCustomStatusIds(customStatusIds: string[]): Promise<void>;
12
+ drop(): Promise<void>;
13
+ }
@@ -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 { EventSecuredEntity } from '../index';
17
+ import { IndexedDb } from './index';
18
+ export declare class EventDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ saveAllEvents(events: EventSecuredEntity[]): Promise<void>;
22
+ saveEvent(event: EventSecuredEntity): Promise<void>;
23
+ deleteEvent(eventId: string): Promise<void>;
24
+ deleteByEventIds(eventIds: string[]): Promise<void>;
25
+ getAllEvents(account?: string, userIds?: string[], start?: Date, end?: Date): Promise<EventSecuredEntity[]>;
26
+ getFirstEventByChildEventId(eventChildId: string): Promise<EventSecuredEntity | undefined>;
27
+ getById(objectId: string): Promise<EventSecuredEntity>;
28
+ drop(): Promise<void>;
29
+ }
@@ -0,0 +1,26 @@
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 { EventSecuredEntity } from '../index';
17
+ import { IndexedDb } from './index';
18
+ export declare class ExternalEventDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ saveAllEvents(events: EventSecuredEntity[]): Promise<void>;
22
+ getAllEvents(userIds: string[], start: Date, end: Date): Promise<EventSecuredEntity[]>;
23
+ getById(objectId: string): Promise<EventSecuredEntity>;
24
+ drop(): Promise<void>;
25
+ dropByUserId(userId: string): Promise<void>;
26
+ }
@@ -0,0 +1,26 @@
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 './index';
17
+ import { FormBuilderSecuredEntity } from "@/data/Form";
18
+ export declare class FormBuilderDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ saveAllForms(forms: FormBuilderSecuredEntity[]): Promise<void>;
22
+ getAllForms(account?: string): Promise<FormBuilderSecuredEntity[]>;
23
+ getById(objectId: string): Promise<FormBuilderSecuredEntity>;
24
+ deleteById(formId: string): Promise<void>;
25
+ drop(): Promise<void>;
26
+ }
@@ -0,0 +1,24 @@
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
+ */ import { IndexedDb } from "./index";
16
+ import { EventEntity } from "../data/Event";
17
+ export declare class IcsEventDb {
18
+ private indexedDb;
19
+ constructor(indexedDb: IndexedDb);
20
+ saveAllEvents(events: EventEntity[]): Promise<void>;
21
+ getAllEvents(userIds: string, start: string, end: string, timeZone?: string): Promise<EventEntity[]>;
22
+ getById(objectId: string): Promise<EventEntity>;
23
+ drop(): Promise<void>;
24
+ }
@@ -0,0 +1,72 @@
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 TABLE_CALENDAR: string;
17
+ export declare const TABLE_CALENDAR_TEAM: string;
18
+ export declare const TABLE_CALENDAR_TEAM_DEFAULT: string;
19
+ export declare const TABLE_STAFF: string;
20
+ export declare const TABLE_STAFF_FORMS: string;
21
+ export declare const TABLE_SERVICE: string;
22
+ export declare const TABLE_SERVICE_RESOURCE: string;
23
+ export declare const TABLE_CONTACT: string;
24
+ export declare const TABLE_CONFERENCE: string;
25
+ export declare const TABLE_CONFERENCE_SPEAKER: string;
26
+ export declare const TABLE_CONFERENCE_INVITEE: string;
27
+ export declare const TABLE_CONFERENCE_SESSION: string;
28
+ export declare const TABLE_CONFERENCE_REGISTRATION: string;
29
+ export declare const TABLE_CONFERENCE_TAG: string;
30
+ export declare const TABLE_COMPANY: string;
31
+ export declare const TABLE_EVENT: string;
32
+ export declare const TABLE_EXTERNAL_EVENT: string;
33
+ export declare const TABLE_ICS_EVENT: string;
34
+ export declare const TABLE_USER: string;
35
+ export declare const TABLE_USER_DEFAULT: string;
36
+ export declare const TABLE_USER_DIRECTORY: string;
37
+ export declare const TABLE_FORM: string;
38
+ export declare const TABLE_FORM_BUILDER: string;
39
+ export declare const TABLE_PRIVACY_POLICY: string;
40
+ export declare const TABLE_PLANNING: string;
41
+ export declare const TABLE_PROMOTE_FIELD: string;
42
+ export declare const TABLE_SERVICE_GROUP: string;
43
+ export declare const TABLE_STAFF_GROUP: string;
44
+ export declare const TABLE_RIGHTS: string;
45
+ export declare const TABLE_SCHEDULING_RIGHTS: string;
46
+ export declare const TABLE_NOTE: string;
47
+ export declare const TABLE_NOTIFICATION: string;
48
+ export declare const TABLE_SHORT_POLLING_NOTIFICATION: string;
49
+ export declare const TABLE_NOTIFICATION_STATUS: string;
50
+ export declare const TABLE_QUEUE: string;
51
+ export declare const TABLE_CUSTOM_STATUS: string;
52
+ export declare const TABLE_CRM_SETTINGS: string;
53
+ export declare const TABLE_DASHBOARD_STRUCTURE: string;
54
+ export declare const TABLE_SETTINGS: string;
55
+ export declare class IndexedDb {
56
+ private database;
57
+ private version;
58
+ private db;
59
+ constructor(database: string, version: number);
60
+ private getComputedVersionNumber;
61
+ private initDB;
62
+ private getDB;
63
+ getValue(tableName: string, id: any): Promise<any>;
64
+ getAllValue(tableName: string, query?: string | undefined): Promise<any[]>;
65
+ putValue(tableName: string, value: object): Promise<any>;
66
+ putBulkValue(tableName: string, values: object[]): Promise<any[]>;
67
+ deleteValue(tableName: string, id: any): Promise<void>;
68
+ deleteValues(tableName: string, ids: any[]): Promise<void>;
69
+ deleteAllValues(tableName: string): Promise<void>;
70
+ deleteAllTables(): Promise<void>;
71
+ private _instanceOfEntity;
72
+ }
@@ -0,0 +1,27 @@
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 { NoteEntity } from '../index';
17
+ import { IndexedDb } from './index';
18
+ export declare class NoteDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ saveAllNotes(notes: NoteEntity[]): Promise<void>;
22
+ saveNote(note: NoteEntity): Promise<void>;
23
+ deleteNote(noteId: string): Promise<void>;
24
+ getAllNotes(clientId: string): Promise<NoteEntity[]>;
25
+ getById(objectId: string): Promise<NoteEntity>;
26
+ drop(): Promise<void>;
27
+ }
@@ -0,0 +1,9 @@
1
+ import { IndexedDb } from "./index";
2
+ import { NotificationEntity } from "../data/Notification";
3
+ export declare class NotificationDb {
4
+ private indexedDb;
5
+ constructor(indexedDb: IndexedDb);
6
+ getById(objectId: string): Promise<NotificationEntity>;
7
+ saveAllNotifications(notifications: NotificationEntity[]): Promise<void>;
8
+ drop(): Promise<void>;
9
+ }
@@ -0,0 +1,26 @@
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 './index';
17
+ import { NotificationStatusEntity } from "../data/NotificationStatus";
18
+ export declare class NotificationStatusDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ saveAllNotificationStatus(notificationStatus: NotificationStatusEntity[]): Promise<void>;
22
+ saveNotificationStatus(notificationStatus: NotificationStatusEntity): Promise<void>;
23
+ getById(objectId: string): Promise<NotificationStatusEntity>;
24
+ getAll(): Promise<NotificationStatusEntity[]>;
25
+ clear(): Promise<void>;
26
+ }
@@ -0,0 +1,27 @@
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 './index';
17
+ import { PlanningEntity } from "../data/planning/Planning";
18
+ export declare class PlanningDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAll(): Promise<PlanningEntity[]>;
22
+ saveAllPlannings(plannings: PlanningEntity[]): Promise<void>;
23
+ getById(planningId: string): Promise<PlanningEntity>;
24
+ deleteById(planningId: string): Promise<void>;
25
+ deleteByPlanningsIds(planningIds: string[]): Promise<void>;
26
+ drop(): Promise<void>;
27
+ }
@@ -0,0 +1,24 @@
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 './index';
17
+ import { PrivacyPolicyEntity } from "../data/PrivacyPolicy";
18
+ export declare class PrivacyPolicyDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ savePrivacyPolicy(privacyPolicy: PrivacyPolicyEntity): Promise<void>;
22
+ getByOwnerId(ownerId: string): Promise<PrivacyPolicyEntity>;
23
+ drop(): Promise<void>;
24
+ }
@@ -0,0 +1,9 @@
1
+ import { IndexedDb } from "./index";
2
+ import { PromoteFieldEntity } from "../data/Contact";
3
+ export declare class PromoteFieldDb {
4
+ private indexedDb;
5
+ constructor(indexedDb: IndexedDb);
6
+ getPromoteField(id: string): Promise<PromoteFieldEntity>;
7
+ getAllPromoteField(): Promise<PromoteFieldEntity[]>;
8
+ saveAllPromoteFields(items: PromoteFieldEntity[]): Promise<void>;
9
+ }
@@ -0,0 +1,27 @@
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 { QueueSecuredEntity } from '../index';
17
+ import { IndexedDb } from './index';
18
+ export declare class QueueDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ saveQueue(queue: QueueSecuredEntity): Promise<void>;
22
+ deleteQueue(queueId: string): Promise<void>;
23
+ getAllQueues(account: string): Promise<QueueSecuredEntity[]>;
24
+ getById(objectId: string): Promise<QueueSecuredEntity>;
25
+ saveAllQueue(queues: QueueSecuredEntity[]): Promise<void>;
26
+ drop(): Promise<void>;
27
+ }
@@ -0,0 +1,25 @@
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 './index';
17
+ import { RightsEntity } from "../data/Rights";
18
+ export declare class RightsDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAll(objectId: string): Promise<RightsEntity[]>;
22
+ getById(objectId: string): Promise<RightsEntity>;
23
+ drop(): Promise<void>;
24
+ saveAllRights(rights: RightsEntity[]): Promise<void>;
25
+ }
@@ -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 { ServiceSecuredEntity } from '../index';
17
+ import { IndexedDb } from './index';
18
+ export declare class ServiceDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAllServices(companyId: string): Promise<ServiceSecuredEntity[]>;
22
+ saveAllServices(services: ServiceSecuredEntity[]): Promise<void>;
23
+ getById(companyId: string, serviceId: string): Promise<ServiceSecuredEntity>;
24
+ deleteById(companyId: string, serviceId: string): Promise<void>;
25
+ deleteByServiceIds(serviceIds: string[]): Promise<void>;
26
+ drop(): Promise<void>;
27
+ updateStaffSkills(companyId: string, oldStaffId: string, newStaffId?: string): void;
28
+ }
@@ -0,0 +1,31 @@
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 './index';
17
+ import { ServiceGroupSecuredEntity } from "../data/ServiceGroup";
18
+ export declare class ServiceGroupDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAllServiceGroups(companyId: string): Promise<ServiceGroupSecuredEntity[]>;
22
+ saveAllServiceGroups(serviceGroups: ServiceGroupSecuredEntity[]): Promise<void>;
23
+ getById(companyId: string, groupId: string): Promise<ServiceGroupSecuredEntity>;
24
+ deleteById(companyId: string, groupId: string): Promise<void>;
25
+ deleteByServiceGroupIds(serviceGroupIds: string[]): Promise<void>;
26
+ drop(): Promise<void>;
27
+ updateServices(companyId: string, oldServiceId: string, newService?: {
28
+ id: string;
29
+ name: string;
30
+ }): void;
31
+ }
@@ -0,0 +1,27 @@
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 './index';
17
+ import { ServiceResourceEntity } from "../data/ServiceResource";
18
+ export declare class ServiceResourceDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAllServiceResources(companyId: string): Promise<ServiceResourceEntity[]>;
22
+ saveAllServiceResources(resources: ServiceResourceEntity[]): Promise<void>;
23
+ getById(companyId: string, serviceResourceId: string): Promise<ServiceResourceEntity>;
24
+ deleteById(companyId: string, serviceResourceId: string): Promise<void>;
25
+ deleteByServiceIds(serviceResourceIds: string[]): Promise<void>;
26
+ drop(): Promise<void>;
27
+ }
@@ -0,0 +1,24 @@
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 './index';
17
+ import { SettingsEntity } from "../data/Settings";
18
+ export declare class SettingsDb {
19
+ private indexedDb;
20
+ constructor(indexedDb: IndexedDb);
21
+ getAllSettings(): Promise<SettingsEntity[]>;
22
+ saveAllSettings(settings: SettingsEntity[]): Promise<void>;
23
+ drop(): Promise<void>;
24
+ }
@@ -0,0 +1,13 @@
1
+ import { IndexedDb } from './index';
2
+ import { ShortPollingNotificationEntity } from "../data/ShortPollingNotification";
3
+ export declare class ShortPollingNotificationDb {
4
+ private indexedDb;
5
+ constructor(indexedDb: IndexedDb);
6
+ saveNotification(notification: ShortPollingNotificationEntity): Promise<void>;
7
+ saveAllNotifications(notifications: ShortPollingNotificationEntity[]): Promise<void>;
8
+ deleteNotification(notificationId: string): Promise<void>;
9
+ deleteAllNotifications(): Promise<void>;
10
+ getById(objectId: string): Promise<ShortPollingNotificationEntity>;
11
+ getAll(): Promise<ShortPollingNotificationEntity[]>;
12
+ drop(): Promise<void>;
13
+ }
File without changes