@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,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 { PrivacyPolicyDto } from '@/data/PrivacyPolicy';
18
+ export declare class PrivacyPolicySecuredService extends HttpClient {
19
+ getByOwner(bearer: string, ownerLogin: string): Promise<PrivacyPolicyDto>;
20
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from "@/service/index";
2
+ import { PromoteFieldDto } from "@/data/Contact";
3
+ export declare class PromoteFieldSecuredService extends HttpClient {
4
+ getPromoteFields(bearer: string, account: string): Promise<PromoteFieldDto[]>;
5
+ }
@@ -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 { QueueRegistrationDto, QueueRegistrationStatus } from '@/data/QueueRegistration';
18
+ export declare class QueueRegistrationsSecuredService extends HttpClient {
19
+ getAllQueueRegistrations(bearer: string, account: string, queueId: string, status?: QueueRegistrationStatus): Promise<QueueRegistrationDto[]>;
20
+ nextQueueRegistrations(bearer: string, account: string, queueId: string): Promise<QueueRegistrationDto>;
21
+ updateRegistration(bearer: string, account: string, queueId: string, registrationId: string, registration: QueueRegistrationDto): Promise<QueueRegistrationDto>;
22
+ protected filteredDataLog(data: any): any;
23
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { QueueDto } from "@/data/Queue";
18
+ export declare class QueueSecuredService extends HttpClient {
19
+ getAllQueues(account: string, bearer: string): Promise<QueueDto[]>;
20
+ getById(bearer: string, queueId: string, account: string): Promise<QueueDto>;
21
+ delete(bearer: string, queueId: string, account: string): Promise<void>;
22
+ createQueue(bearer: string, account: string, queue: QueueDto): Promise<QueueDto>;
23
+ updateQueue(bearer: string, account: string, queueId: string, queue: QueueDto): Promise<QueueDto>;
24
+ protected filteredDataLog(data: any): any;
25
+ }
@@ -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 { ReportDashboardFilter, ReportsDto } from "@/data/Reporting";
18
+ export declare class ReportingSecuredService extends HttpClient {
19
+ getReports(bearer: string, account: string, locale?: string, filters?: ReportDashboardFilter): Promise<ReportsDto>;
20
+ }
@@ -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 { RightsDto } from "@/data/Rights";
18
+ export declare class RightsSecuredService extends HttpClient {
19
+ getByIds(bearer: string, organisation: string, rightsId: string[]): Promise<RightsDto[]>;
20
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from '@/service/index';
2
+ import { UserSchedulesDto } from "@/data/scheduling/schedule/UserSchedules";
3
+ export declare class ScheduleSecuredService extends HttpClient {
4
+ getSchedules(bearer: string, organisation: string, start: string, end: string): Promise<UserSchedulesDto[]>;
5
+ }
@@ -0,0 +1,7 @@
1
+ import HttpClient from "@/service/index";
2
+ import { SchedulingRightsDto } from "@/data/scheduling/SchedulingRights";
3
+ export declare class SchedulingRightsSecuredService extends HttpClient {
4
+ getById(bearer: string, organisation: string, userId: string): Promise<SchedulingRightsDto>;
5
+ getList(bearer: string, organisation: string): Promise<SchedulingRightsDto[]>;
6
+ update(bearer: string, organisation: string, userId: string, item: SchedulingRightsDto): Promise<SchedulingRightsDto>;
7
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { ServiceGroupSecuredDto } from "@/data/ServiceGroup";
18
+ export declare class ServiceGroupSecuredService extends HttpClient {
19
+ getAllServiceGroups(bearer: string, account: string, companyId: string): Promise<ServiceGroupSecuredDto[]>;
20
+ getById(bearer: string, account: string, companyId: string, serviceGroupId: string): Promise<ServiceGroupSecuredDto>;
21
+ createServiceGroup(bearer: string, account: string, companyId: string, serviceGroup: ServiceGroupSecuredDto): Promise<ServiceGroupSecuredDto>;
22
+ updateServiceGroup(bearer: string, account: string, companyId: string, serviceGroupId: string, serviceGroup: ServiceGroupSecuredDto): Promise<ServiceGroupSecuredDto>;
23
+ delete(bearer: string, account: string, companyId: string, serviceGroupId: string): Promise<void>;
24
+ protected filteredDataLog(data: any): any;
25
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { ServiceResourceDto } from "@/data/ServiceResource";
18
+ export declare class ServiceResourceSecuredService extends HttpClient {
19
+ getAllServiceResources(bearer: string, account: string, companyId: string): Promise<ServiceResourceDto[]>;
20
+ getById(bearer: string, account: string, companyId: string, serviceResourceId: string): Promise<ServiceResourceDto>;
21
+ createService(bearer: string, account: string, companyId: string, serviceResource: ServiceResourceDto): Promise<ServiceResourceDto>;
22
+ updateService(bearer: string, account: string, companyId: string, serviceResourceId: string, serviceResource: ServiceResourceDto): Promise<ServiceResourceDto>;
23
+ delete(bearer: string, account: string, companyId: string, serviceResourceId: string): Promise<void>;
24
+ protected filteredDataLog(data: any): any;
25
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { ServiceSecuredDto } from '@/data/Service';
18
+ export declare class ServiceSecuredService extends HttpClient {
19
+ getAllServices(bearer: string, account: string, companyId: string): Promise<ServiceSecuredDto[]>;
20
+ getById(bearer: string, account: string, companyId: string, serviceId: string): Promise<ServiceSecuredDto>;
21
+ createService(bearer: string, account: string, companyId: string, service: ServiceSecuredDto): Promise<ServiceSecuredDto>;
22
+ updateService(bearer: string, account: string, companyId: string, serviceId: string, service: ServiceSecuredDto): Promise<ServiceSecuredDto>;
23
+ delete(bearer: string, account: string, companyId: string, serviceId: string): Promise<void>;
24
+ protected filteredDataLog(data: any): any;
25
+ }
@@ -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 { SettingsDto } from '@/data/Settings';
18
+ export declare class SettingsSecuredService extends HttpClient {
19
+ getAll(bearer: string, account: string): Promise<SettingsDto>;
20
+ }
@@ -0,0 +1,9 @@
1
+ import HttpClient from "@/service/index";
2
+ import { ShortPollingNotificationContainerDto } from "@/data/ShortPollingNotification";
3
+ export declare enum ShortPollingNotificationScope {
4
+ APPOINTMENT = "appointment",
5
+ REPORT = "report"
6
+ }
7
+ export declare class ShortPollingNotificationSecuredService extends HttpClient {
8
+ getNotifications(bearer: string, account: string, syncToken?: number, scope?: ShortPollingNotificationScope[]): Promise<ShortPollingNotificationContainerDto>;
9
+ }
@@ -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 { ShortenerDto } from "@/data/Shortener";
18
+ export declare class ShortenerSecuredService extends HttpClient {
19
+ shorten(bearer: string, url: string): Promise<ShortenerDto>;
20
+ }
@@ -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 { StaffFormsDto } from "@/data/StaffForms";
18
+ export declare class StaffFormsSecuredService extends HttpClient {
19
+ getByAccount(bearer: string, account: string): Promise<StaffFormsDto>;
20
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { StaffGroupSecuredDto } from "@/data/StaffGroup";
18
+ export declare class StaffGroupSecuredService extends HttpClient {
19
+ getAllStaffGroups(bearer: string, account: string, companyId: string): Promise<StaffGroupSecuredDto[]>;
20
+ getById(bearer: string, account: string, companyId: string, staffGroupId: string): Promise<StaffGroupSecuredDto>;
21
+ createStaffGroup(bearer: string, account: string, companyId: string, staffGroup: StaffGroupSecuredDto): Promise<StaffGroupSecuredDto>;
22
+ updateStaffGroup(bearer: string, account: string, companyId: string, staffGroupId: string, staffGroup: StaffGroupSecuredDto): Promise<StaffGroupSecuredDto>;
23
+ delete(bearer: string, account: string, companyId: string, staffGroupId: string): Promise<void>;
24
+ protected filteredDataLog(data: any): any;
25
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { StaffSecuredDto } from '@/data/Staff';
18
+ export declare class StaffSecuredService extends HttpClient {
19
+ getAllStaffs(bearer: string, account: string, companyId: string): Promise<StaffSecuredDto[]>;
20
+ getById(bearer: string, account: string, companyId: string, staffId: string): Promise<StaffSecuredDto>;
21
+ createStaff(bearer: string, account: string, companyId: string, staff: StaffSecuredDto): Promise<StaffSecuredDto>;
22
+ updateStaff(bearer: string, account: string, companyId: string, staffId: string, staff: StaffSecuredDto): Promise<StaffSecuredDto>;
23
+ patchAllStaff(bearer: string, account: string, companyId: string, staff: StaffSecuredDto, staffIds?: string[]): Promise<void>;
24
+ delete(bearer: string, account: string, companyId: string, staffId: string): Promise<void>;
25
+ protected filteredDataLog(data: any): any;
26
+ }
@@ -0,0 +1,5 @@
1
+ import HttpClient from "@/service/index";
2
+ import { ContactTagDto } from "@/data/Contact";
3
+ export declare class TagSecuredService extends HttpClient {
4
+ getAllTags(bearer: string, account: string): Promise<ContactTagDto[]>;
5
+ }
@@ -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 { UserDto } from "@/data/User";
18
+ export declare class UserDirectorySecuredService extends HttpClient {
19
+ getAllUserDirectory(bearer: string, account: string): Promise<UserDto[]>;
20
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { UserDto, UserLightDto } from '@/data/User';
18
+ import { CalendarTeamDto, CalendarTeamLightDto } from "@/data/Calendar";
19
+ export declare class UserSecuredService extends HttpClient {
20
+ getAllUsers(bearer: string, organisation?: string, defaultUsers?: boolean): Promise<UsersDto | UsersLightDto>;
21
+ getById(bearer: string, userId: string, organisation?: string): Promise<UserDto | UserLightDto>;
22
+ protected filteredDataLog(data: any): any;
23
+ }
24
+ export interface UsersDto {
25
+ anonymousUsers: UserDto[];
26
+ users: UserDto[];
27
+ teams?: CalendarTeamDto[];
28
+ }
29
+ export interface UsersLightDto {
30
+ a: UserLightDto[];
31
+ u: UserLightDto[];
32
+ t?: CalendarTeamLightDto[];
33
+ }
@@ -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 HttpClient from '@/service/index';
17
+ import { WidgetFormDto } from "@/data/Form";
18
+ export declare class WidgetFormFieldsAPIProperties {
19
+ withHasUniqueForCompany: boolean;
20
+ withReferenceClient: boolean;
21
+ withHiddenFields: boolean;
22
+ constructor(withHasUniqueForCompany: boolean, withReferenceClient: boolean, withHiddenFields: boolean);
23
+ }
24
+ export declare class WidgetFormSecuredService extends HttpClient {
25
+ getForm(bearer: string, account: string, companyId: string, serviceId?: string, properties?: WidgetFormFieldsAPIProperties): Promise<WidgetFormDto>;
26
+ }
@@ -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 { WidgetUrlCipherDto, WidgetUrlCipherInputDto } from "@/data/WidgetUrlCipher";
18
+ export declare class WidgetUrlCipherSecuredService extends HttpClient {
19
+ cipherUrl(bearer: string, account: string, companyId: string, urlToCipher: string, shortener?: boolean, domaine?: string): Promise<WidgetUrlCipherDto>;
20
+ cipherUrlByEntity(bearer: string, account: string, companyId: string, params: WidgetUrlCipherInputDto): Promise<WidgetUrlCipherDto>;
21
+ }
@@ -0,0 +1,6 @@
1
+ import HttpClient from "@/service/index";
2
+ import { PostWorkingPlanningDto } from "@/data/scheduling/WorkingPlanning";
3
+ export declare class WorkingPlanningSecuredService extends HttpClient {
4
+ getAllCompanyWorkingPlanning(bearer: string, account: string, companyId: string, start: string, end: string, withOccupancy: boolean): Promise<import("@/data/scheduling/WorkingPlanning").WorkingPlanningDto[]>;
5
+ createWorkingPlanning(bearer: string, account: string, workingPlanningDto: PostWorkingPlanningDto): Promise<void>;
6
+ }
@@ -0,0 +1,11 @@
1
+ export declare class AxiosLoggerBuilder {
2
+ private printQueue;
3
+ constructor();
4
+ makeUrl(url?: string, baseUrl?: string): this;
5
+ makeParams(params?: object): this;
6
+ makeMethod(method?: string): this;
7
+ makeData(data: object): this;
8
+ makeStatus(status?: number, statusText?: string): this;
9
+ build(): string;
10
+ combineURLs(baseURL: string, relativeURL?: string): string;
11
+ }
@@ -0,0 +1,7 @@
1
+ export declare function getColorBasedOnBackground(color: string): string;
2
+ export declare function clearUsedColors(): void;
3
+ export declare function getUserColor(user: {
4
+ id?: string;
5
+ lastName?: string;
6
+ firstName?: string;
7
+ }): string | undefined;
@@ -0,0 +1,12 @@
1
+ export declare function isoDateToJSDate(date: {
2
+ dateTime: string;
3
+ timeZone?: string;
4
+ } | undefined): Date | undefined;
5
+ export declare function isoDateStringToJSDate(date: string, timeZone?: string): Date;
6
+ export declare function yyyyMMddToJSDate(date: string): Date;
7
+ export declare function jsDateToIsoDateString(date: Date, timeZone?: string): {
8
+ dateTime: string;
9
+ timeZone?: string;
10
+ };
11
+ export declare function jsDateToYYYYMMDD(date: Date, timeZone?: string, separator?: string): string;
12
+ export declare function dateToString(date: Date, short?: boolean): string;
@@ -0,0 +1,5 @@
1
+ export declare function decodeHtmlWithNull(html?: string): string | undefined;
2
+ export declare function decodeHtml(html?: string): string;
3
+ export declare function encodeHtml(data?: string): string;
4
+ export declare function manageToDecodeIfHtml(data?: string): string | undefined;
5
+ export declare function fileToBase64(file: File): Promise<unknown>;
@@ -0,0 +1,4 @@
1
+ import { FormItemDto } from "@/data/Form";
2
+ type FormItem = FormItemDto;
3
+ export declare function _prepareFormFields(fields?: FormItem[]): Promise<FormItem[]>;
4
+ export {};
@@ -0,0 +1,40 @@
1
+ export type LoggerServiceType = LoggerSecuredServiceType | LoggerPublicServiceType;
2
+ export type LoggerSecuredServiceType = 'js-agendize-api' | 'vue-search' | 'vue-crm' | 'vue-settings' | 'vue-form' | 'vue-queue' | 'vue-agenda' | 'vue-agendize' | 'vue-acl' | 'vue-widget' | 'vue-event-booking' | 'vue-event-booking-widget' | string;
3
+ export type LoggerPublicServiceType = 'widget-form' | 'widget-queue' | 'widget-scheduling' | 'widget-event' | string;
4
+ export declare enum LoggerLevel {
5
+ ERROR = "error",
6
+ WARN = "warn",
7
+ INFO = "info",
8
+ DEBUG = "debug",
9
+ FINE = "fine",
10
+ TRACE = "trace"
11
+ }
12
+ export declare class Logger {
13
+ private level;
14
+ private logger;
15
+ constructor(logger: LoggerInterface);
16
+ setLevel(level: LoggerLevel, until?: Date): void;
17
+ fine(service: LoggerServiceType, ...data: any[]): void;
18
+ trace(service: LoggerServiceType, ...data: any[]): void;
19
+ debug(service: LoggerServiceType, ...data: any[]): void;
20
+ info(service: LoggerServiceType, ...data: any[]): void;
21
+ warn(service: LoggerServiceType, ...data: any[]): void;
22
+ error(service: LoggerServiceType, ...data: any[]): void;
23
+ private isLogLevelHigher;
24
+ }
25
+ export interface LoggerInterface {
26
+ fine(service: LoggerServiceType, ...data: any[]): void;
27
+ trace(service: LoggerServiceType, ...data: any[]): void;
28
+ debug(service: LoggerServiceType, ...data: any[]): void;
29
+ info(service: LoggerServiceType, ...data: any[]): void;
30
+ warn(service: LoggerServiceType, ...data: any[]): void;
31
+ error(service: LoggerServiceType, ...data: any[]): void;
32
+ }
33
+ export declare class ConsoleLogger implements LoggerInterface {
34
+ fine(service: LoggerServiceType, ...data: any[]): void;
35
+ trace(service: LoggerServiceType, ...data: any[]): void;
36
+ debug(service: LoggerServiceType, ...data: any[]): void;
37
+ error(service: LoggerServiceType, ...data: any[]): void;
38
+ info(service: LoggerServiceType, ...data: any[]): void;
39
+ warn(service: LoggerServiceType, ...data: any[]): void;
40
+ }
@@ -0,0 +1,10 @@
1
+ export default function pkceChallenge(length?: number): {
2
+ code_verifier: string;
3
+ code_challenge: string;
4
+ };
5
+ export declare function verifyChallenge(code_verifier: string, expectedChallenge: string): boolean;
6
+ /** Generer un PKCE code challenge depuis un code verifier
7
+ * @param code_verifier
8
+ * @returns The base64 url encoded code challenge
9
+ */
10
+ export declare function generateChallenge(code_verifier: string): string;
@@ -0,0 +1,6 @@
1
+ import { ContactEntity } from "../data/Contact";
2
+ declare function applyValueToField(field: {
3
+ bind?: string;
4
+ value?: any;
5
+ }, contact: ContactEntity): void;
6
+ export { applyValueToField };
package/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "@agendize/js-agendize-api",
3
+ "version": "1.28.0",
4
+ "description": "JavaScript wrapper for call Agendize API",
5
+ "private": false,
6
+ "keywords": [
7
+ "agendize",
8
+ "api"
9
+ ],
10
+ "homepage": "https://github.com/agendize/js-agendize-api",
11
+ "bugs": {
12
+ "url": "https://github.com/agendize/js-agendize-api/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/agendize/js-agendize-api.git"
17
+ },
18
+ "license": "Apache-2.0",
19
+ "author": "Sunny Theuliere",
20
+ "main": "./dist/js-agendize-api.umd.js",
21
+ "module": "./dist/js-agendize-api.es.js",
22
+ "unpkg": "./dist/js-agendize-api.min.js",
23
+ "types": "./dist/index.d.ts",
24
+ "files": [
25
+ "dist/"
26
+ ],
27
+ "exports": {
28
+ ".": {
29
+ "import": "./dist/js-agendize-api.es.js",
30
+ "require": "./dist/js-agendize-api.umd.js"
31
+ }
32
+ },
33
+ "scripts": {
34
+ "dev": "vite",
35
+ "build": "vite build && tsc --emitDeclarationOnly",
36
+ "build-quick": "vite build",
37
+ "preview": "vite preview",
38
+ "test": "vitest run --coverage",
39
+ "publish-public": "npm publish --access=public",
40
+ "publish-beta": "npm publish --access=public --tag=beta",
41
+ "clean": "npx rimraf dist",
42
+ "doc": "npx typedoc --out ../../docs/js-agendize-api src"
43
+ },
44
+ "devDependencies": {
45
+ "@types/crypto-js": "^4.2.2",
46
+ "typescript": "^5.4.5",
47
+ "vite": "^5.2.11",
48
+ "vite-plugin-mkcert": "^1.17.5",
49
+ "@types/luxon": "^3.4.2",
50
+ "crypto-js": "^4.2.0",
51
+ "fake-indexeddb": "^5.0.2",
52
+ "vitest": "^1.5.3",
53
+ "@vitest/coverage-v8": "^1.5.3",
54
+ "@types/node": "^20.12.8",
55
+ "qs": "^6.12.1",
56
+ "@types/qs": "^6.9.15"
57
+ },
58
+ "dependencies": {
59
+ "axios": "^1.6.8",
60
+ "idb": "^8.0.0",
61
+ "luxon": "^3.4.4",
62
+ "type-pubsub": "^0.1.4"
63
+ },
64
+ "directories": {
65
+ "example": "examples"
66
+ }
67
+ }