@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,224 @@
1
+ import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
2
+ export declare const FORM_FILE_MAX_SIZE = 10;
3
+ export declare const FORM_FILE_EXTENSIONS: string[];
4
+ export type FormBuilderEntity<Type = EntityType> = Type extends SecuredEntity ? FormBuilderSecuredEntity : FormBuilderPublicEntity;
5
+ export interface FormDtoOptionParser {
6
+ splitValues?: boolean;
7
+ splitValuesSeparator?: string;
8
+ useSelectGroup?: boolean;
9
+ }
10
+ export declare const FormDtoOptionParserDefault: FormDtoOptionParser;
11
+ export declare class PagePublicEntity {
12
+ fields: Array<FormItemEntity>;
13
+ legend?: string;
14
+ static fromPageDto(dto: PagePublicDto, options?: FormDtoOptionParser): PagePublicEntity;
15
+ static toPageDto(page: PagePublicEntity): PagePublicDto;
16
+ }
17
+ export declare class PagePublicDto {
18
+ fields: Array<FormItemDto>;
19
+ legend?: string;
20
+ }
21
+ export declare class FormBuilderPublicEntity extends PublicBodyEntity {
22
+ pages: Array<PagePublicEntity>;
23
+ name: string;
24
+ language: string;
25
+ author: string;
26
+ submitMessage?: string;
27
+ privateDataConsentMessage?: string;
28
+ marketingListConsentMessage?: string;
29
+ title?: string;
30
+ welcomeMessage?: string;
31
+ static fromFormDto(dto: FormBuilderPublicDto, options?: FormDtoOptionParser): FormBuilderPublicEntity;
32
+ static toFormDto(form: FormBuilderPublicEntity): FormBuilderPublicDto;
33
+ }
34
+ export declare class FormBuilderPublicDto {
35
+ pages: Array<PagePublicDto>;
36
+ name: string;
37
+ language: string;
38
+ author: string;
39
+ submitMessage?: string;
40
+ privateDataConsentMessage?: string;
41
+ marketingListConsentMessage?: string;
42
+ title?: string;
43
+ welcomeMessage?: string;
44
+ }
45
+ export declare class FormBuilderSecuredEntity extends SecuredBodyEntity {
46
+ id: string;
47
+ author: string;
48
+ name: string;
49
+ title: string;
50
+ submitMessage?: string;
51
+ description?: string;
52
+ fields?: FormItemEntity[];
53
+ followUp?: boolean;
54
+ emailNotifications?: boolean;
55
+ emailNotificationsAddresses?: string[];
56
+ clientEmailNotifications?: boolean;
57
+ finalizeLater?: boolean;
58
+ finalizeLaterEmailMessage?: string;
59
+ useAccountConsent?: boolean;
60
+ formResultCount?: number;
61
+ static fromFormBuilderDto(dto: FormBuilderSecuredDto): FormBuilderSecuredEntity;
62
+ static toFromBuilderDto(entity: FormBuilderSecuredEntity): FormBuilderSecuredDto;
63
+ }
64
+ export declare class FormBuilderSecuredDto {
65
+ id: string;
66
+ author: string;
67
+ name: string;
68
+ title: string;
69
+ description?: string;
70
+ submitMessage?: string;
71
+ fields?: FormItemDto[];
72
+ followUp?: boolean;
73
+ emailNotifications?: boolean;
74
+ emailNotificationsAddresses?: string[];
75
+ clientEmailNotifications?: boolean;
76
+ finalizeLater?: boolean;
77
+ finalizeLaterEmailMessage?: string;
78
+ useAccountConsent?: boolean;
79
+ formResultCount?: number;
80
+ }
81
+ export declare class FormValueEntity {
82
+ id: string;
83
+ name?: string;
84
+ value?: any;
85
+ values?: FormValueEntity[];
86
+ static fromCustomFormValueDto(dto: FormValueDto): FormValueEntity;
87
+ static toFormValueDto(entity: FormValueEntity, prefixValue?: string): FormValueDto;
88
+ }
89
+ export declare class WidgetFormEntity {
90
+ id: string;
91
+ fields?: FormItemEntity[];
92
+ contactFields?: FormItemEntity[];
93
+ uniqueForCompany?: boolean;
94
+ static fromDto(dto: WidgetFormDto): WidgetFormEntity;
95
+ }
96
+ export declare class WidgetFormDto {
97
+ id: string;
98
+ pages?: {
99
+ fields: FormItemDto[];
100
+ }[];
101
+ uniqueForCompany?: boolean;
102
+ }
103
+ export declare class FormItemEntity {
104
+ id: string;
105
+ label?: string;
106
+ type: string;
107
+ inputType?: string;
108
+ visible?: boolean;
109
+ disabled?: boolean;
110
+ required?: boolean;
111
+ values?: FormValueEntity[];
112
+ subItem?: FormItemEntity[];
113
+ valueGroups?: FormValueEntity[];
114
+ formatType?: 'none' | 'numeric' | 'alphanumeric' | 'regex';
115
+ pattern?: string;
116
+ minlength?: number;
117
+ maxlength?: number;
118
+ externalId?: string;
119
+ help?: string;
120
+ placeholder?: string;
121
+ otherValue?: boolean;
122
+ category?: boolean;
123
+ readonly?: boolean;
124
+ value?: any;
125
+ fileName?: string;
126
+ multiple?: boolean;
127
+ bind?: string;
128
+ bindGroup?: string;
129
+ static fromFormDto(dto: FormItemDto, options?: FormDtoOptionParser): FormItemEntity;
130
+ static fromWidgetFormItemDto(dto: WidgetFormItemDto): FormItemEntity;
131
+ static toFormDto(entity: FormItemEntity): FormItemDto;
132
+ static formItemToFormField(field: FormItemEntity, showInvisible: boolean): {
133
+ id: string;
134
+ inputType: string;
135
+ label: string | undefined;
136
+ mandatory: boolean | undefined;
137
+ visible: boolean;
138
+ values: {
139
+ label: string;
140
+ value: string;
141
+ values?: {
142
+ label: string;
143
+ value: string;
144
+ }[];
145
+ }[] | undefined;
146
+ bind: string | undefined;
147
+ multiple: boolean | undefined;
148
+ value: any;
149
+ pattern: string | undefined;
150
+ disabled: boolean | undefined;
151
+ minlength: number | undefined;
152
+ maxlength: number | undefined;
153
+ };
154
+ static formItemsToFormFields(formItems: FormItemEntity[], extractSubItem?: boolean, showInvisible?: boolean): any[] | undefined;
155
+ }
156
+ export declare class FormItemDto {
157
+ id: string;
158
+ label?: string;
159
+ title?: string;
160
+ type: string;
161
+ inputType?: string;
162
+ visible?: boolean;
163
+ disabled?: boolean;
164
+ mandatory?: boolean;
165
+ values?: FormValueDto[];
166
+ subItem?: FormItemDto[];
167
+ valueGroups?: FormValueDto[];
168
+ valueFormat?: {
169
+ type?: 'none' | 'numeric' | 'alphanumeric' | 'regex';
170
+ valueFormat?: 'none' | 'numeric' | 'alphanumeric' | 'regex';
171
+ minLength?: number;
172
+ maxLength?: number;
173
+ regexType?: string;
174
+ regexValue?: string;
175
+ };
176
+ minlength?: number;
177
+ maxlength?: number;
178
+ pattern?: string;
179
+ externalId?: string;
180
+ help?: string;
181
+ placeholder?: string;
182
+ otherValue?: boolean;
183
+ category?: boolean;
184
+ readonly?: boolean;
185
+ value?: any;
186
+ fileName?: string;
187
+ multiple?: boolean;
188
+ bind?: string;
189
+ bindGroup?: string;
190
+ zonedDateTime?: {
191
+ dateTime: string;
192
+ timeZone: string;
193
+ };
194
+ required?: boolean;
195
+ }
196
+ export declare class WidgetFormItemDto {
197
+ id: string;
198
+ label?: string;
199
+ title?: string;
200
+ type: string;
201
+ inputType?: string;
202
+ visible?: boolean;
203
+ disabled?: boolean;
204
+ placeholder?: string;
205
+ help?: string;
206
+ externalId?: string;
207
+ required?: boolean;
208
+ values?: FormValueDto[];
209
+ pattern?: string;
210
+ minlength?: number;
211
+ maxlength?: number;
212
+ readonly?: boolean;
213
+ value?: any;
214
+ fileName?: string;
215
+ multiple?: boolean;
216
+ bind?: string;
217
+ bindGroup?: string;
218
+ }
219
+ export declare class FormValueDto {
220
+ id: string;
221
+ name?: string;
222
+ value?: string;
223
+ values?: FormValueDto[];
224
+ }
@@ -0,0 +1,61 @@
1
+ import { FormItemDto, FormItemEntity } from "./Form";
2
+ import { ResultStatus } from "./FormResultStatus";
3
+ import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
4
+ export type FormResultEntity<Type = EntityType> = Type extends SecuredEntity ? FormResultSecuredEntity : FormResultPublicEntity;
5
+ export declare class FormResultPublicEntity extends PublicBodyEntity {
6
+ formResult?: FormItemEntity[];
7
+ dataConsent?: string;
8
+ marketingConsent?: string;
9
+ route?: FormResultRoutePublicEntity;
10
+ static fromDto(dto: FormResultPublicDto): FormResultPublicEntity;
11
+ static toDto(entity: FormResultPublicEntity): FormResultPublicDto;
12
+ }
13
+ export declare class FormResultPublicDto {
14
+ formResult?: FormItemDto[];
15
+ dataConsent?: string;
16
+ marketingConsent?: string;
17
+ route?: FormResultRoutePublicDto;
18
+ }
19
+ export declare class FormResultRoutePublicEntity {
20
+ type: 'link' | 'message' | 'schedulingWidget';
21
+ link?: string;
22
+ message?: string;
23
+ title?: string;
24
+ static fromDto(dto: FormResultRoutePublicDto): FormResultRoutePublicEntity;
25
+ static toDto(entity: FormResultRoutePublicEntity): FormResultRoutePublicDto;
26
+ }
27
+ export declare class FormResultRoutePublicDto {
28
+ type: 'link' | 'message' | 'schedulingWidget';
29
+ link?: string;
30
+ message?: string;
31
+ title?: string;
32
+ }
33
+ export declare class FormResultSecuredEntity extends SecuredBodyEntity {
34
+ id: string;
35
+ form: string;
36
+ ipAddress?: string;
37
+ date?: Date;
38
+ client?: {
39
+ id: string;
40
+ email?: string;
41
+ };
42
+ eventId?: string;
43
+ result?: FormItemEntity[];
44
+ emailResult?: string;
45
+ author?: string;
46
+ currentStatus?: ResultStatus;
47
+ static fromFormResultDto(dto: FormResultSecuredDto, timeZone: string): FormResultSecuredEntity;
48
+ static toFormResultDto(entity: FormResultSecuredEntity): FormResultSecuredDto;
49
+ }
50
+ export declare class FormResultSecuredDto {
51
+ id: string;
52
+ form: string;
53
+ ipAddress?: string;
54
+ date?: string;
55
+ client?: string;
56
+ eventId?: string;
57
+ result?: FormItemEntity[];
58
+ clientEmailAddress?: string;
59
+ author?: string;
60
+ currentStatus?: ResultStatus;
61
+ }
@@ -0,0 +1,23 @@
1
+ export declare class FormResultStatusEntity {
2
+ resultId: string;
3
+ login?: string;
4
+ status: ResultStatus;
5
+ date: Date;
6
+ connectedUser?: string;
7
+ static fromFormResultStatusDto(dto: FormResultStatusDto, timeZone: string): FormResultStatusEntity;
8
+ static toFormResultStatusDto(entity: FormResultStatusEntity): FormResultStatusDto;
9
+ }
10
+ export declare class FormResultStatusDto {
11
+ resultId: string;
12
+ login?: string;
13
+ status: ResultStatus;
14
+ date?: string;
15
+ connectedUser?: string;
16
+ }
17
+ export type ResultStatus = 'NEUTRAL' | 'IN_PROGRESS' | 'FINISHED' | 'REOPENING';
18
+ export declare enum ResultStatusValues {
19
+ NEUTRAL = 0,
20
+ IN_PROGRESS = 1,
21
+ FINISHED = 2,
22
+ REOPENING = 3
23
+ }
@@ -0,0 +1,71 @@
1
+ import { EntityType, SecuredEntity } from "@/data/Common";
2
+ /**
3
+ * Copyright 2022 Agendize All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at.
8
+ *
9
+ * Http://www.apache.org/licenses/LICENSE-2.0.
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export type FreeSlotEntity<Type = EntityType> = Type extends SecuredEntity ? FreeSlotSecuredEntity : FreeSlotPublicEntity;
18
+ export declare class FreeSlotPublicEntity {
19
+ freeSlots: FreeSlotMapPublicEntity;
20
+ timeZone?: string;
21
+ nextSlot?: string;
22
+ static fromDto(dto: FreeSlotsPublicDto): FreeSlotPublicEntity;
23
+ }
24
+ export declare class FreeSlotItemPublicEntity extends Array<string> {
25
+ static fromDto(dto: FreeSlotItemPublicDto): FreeSlotItemPublicEntity;
26
+ }
27
+ export declare type FreeSlotsRecord = {
28
+ [key: string]: FreeSlotItemPublicDto;
29
+ };
30
+ export declare class FreeSlotMapPublicEntity {
31
+ static fromDto(dto: FreeSlotPublicDto): FreeSlotMapPublicEntity;
32
+ }
33
+ export interface FreeSlotItemPublicDto extends Array<string> {
34
+ }
35
+ export interface FreeSlotPublicDto extends FreeSlotsRecord {
36
+ }
37
+ export interface FreeSlotsPublicDto {
38
+ freeSlots: FreeSlotPublicDto;
39
+ timeZone?: string;
40
+ nextSlot?: string;
41
+ }
42
+ export declare class FreeSlotSecuredEntity {
43
+ items: FreeSlotItemSecuredEntity[];
44
+ static fromFreeSlotDto(dto: FreeSlotSecuredDto): FreeSlotSecuredEntity;
45
+ }
46
+ export declare class FreeSlotItemSecuredEntity {
47
+ day: string;
48
+ slots: Date[];
49
+ timeZone: string;
50
+ static fromFreeSlotItemDto(dto: FreeSlotItemSecuredDto): FreeSlotItemSecuredEntity;
51
+ getMorningSlots(): Date[];
52
+ getAfternoonSlots(): Date[];
53
+ }
54
+ export declare class FreeSlotSecuredDto {
55
+ items: FreeSlotItemSecuredDto[];
56
+ }
57
+ export declare class FreeSlotItemSecuredDto {
58
+ day: string;
59
+ slots: string[];
60
+ timeZone: string;
61
+ }
62
+ export declare class FreeSlotsFilterOptions {
63
+ staffId?: string;
64
+ staffGroupId?: string;
65
+ eventId?: string;
66
+ startDate?: string;
67
+ endDate?: string;
68
+ timeZone?: string;
69
+ iterationCount?: string;
70
+ checkNextSlot?: boolean;
71
+ }
@@ -0,0 +1,18 @@
1
+ export declare class HelpEntity {
2
+ showHelp?: boolean;
3
+ helpDataByLanguage?: Map<string, HelpDataEntity>;
4
+ static fromHelpDto(dto: HelpDto): HelpEntity;
5
+ }
6
+ export declare class HelpDataEntity {
7
+ label?: string;
8
+ url?: string;
9
+ static fromHelpDataDto(dto: HelpDataDto): HelpDataEntity;
10
+ }
11
+ export declare class HelpDto {
12
+ showHelp?: boolean;
13
+ helpDataByLanguage?: Map<string, HelpDataDto>;
14
+ }
15
+ export declare class HelpDataDto {
16
+ label?: string;
17
+ url?: string;
18
+ }
@@ -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
+ export declare class ImageEntity {
17
+ readonly mimeType: string;
18
+ readonly url: string;
19
+ readonly data?: string;
20
+ constructor(mimeType: string, url: string, data?: string);
21
+ static fromImageDto(dto?: ImageEntity): ImageEntity | undefined;
22
+ static toImageDto(entity?: ImageEntity): ImageEntity | undefined;
23
+ static fromFileData(isDeleted?: boolean, base64FileData?: string): ImageEntity | undefined;
24
+ }
@@ -0,0 +1,36 @@
1
+ export declare class IntegrationEntity {
2
+ name: string;
3
+ title: string;
4
+ description: string;
5
+ logoUrl: string;
6
+ status: 'available' | 'connected' | 'disabled';
7
+ error?: {
8
+ message: string;
9
+ provider: string;
10
+ };
11
+ connected?: {
12
+ dateTime: Date;
13
+ timeZone: string;
14
+ };
15
+ revokeLink?: string;
16
+ initializeLink?: string;
17
+ constructor();
18
+ static fromDto(dto: IntegrationDto): IntegrationEntity;
19
+ }
20
+ export declare class IntegrationDto {
21
+ name: string;
22
+ title: string;
23
+ description: string;
24
+ logoUrl: string;
25
+ status: 'available' | 'connected' | 'disabled';
26
+ error?: {
27
+ message: string;
28
+ provider: string;
29
+ };
30
+ connected?: {
31
+ dateTime: Date;
32
+ timeZone: string;
33
+ };
34
+ revokeLink?: string;
35
+ initializeLink?: string;
36
+ }
@@ -0,0 +1,10 @@
1
+ export declare class LinkEntity {
2
+ url: string;
3
+ label?: string;
4
+ static fromDto(dto?: LinkDto): LinkEntity | undefined;
5
+ static toDto(entity?: LinkEntity): LinkDto | undefined;
6
+ }
7
+ export interface LinkDto {
8
+ url: string;
9
+ label?: string;
10
+ }
@@ -0,0 +1,77 @@
1
+ export declare enum ActionType {
2
+ LOGIN = 0,
3
+ COMPANY = 1,
4
+ CATEGORY_ACTIVITY = 2,
5
+ TEAM_ACTIVITY = 3,
6
+ SERVICE_ACTIVITY = 4,
7
+ STAFF_ACTIVITY = 5,
8
+ CONFERENCE_ACTIVITY = 7
9
+ }
10
+ export declare enum Action {
11
+ LOGIN = 0,
12
+ BAD_LOGIN = 1,
13
+ LOGIN_LOCK = 2,
14
+ BAD_CHANGE_PWD = 3,
15
+ CHANGE_PWD = 4,
16
+ NEW = 5,
17
+ EDIT = 6,
18
+ DELETE = 7,
19
+ COPY = 8
20
+ }
21
+ export declare class LogEntity {
22
+ id: string;
23
+ date: Date;
24
+ user: {
25
+ id?: string;
26
+ email?: string;
27
+ firstName?: string;
28
+ lastName?: string;
29
+ };
30
+ actionType: ActionType;
31
+ action: Action;
32
+ company?: {
33
+ id: string;
34
+ name: string;
35
+ };
36
+ simpleObject?: {
37
+ id: string;
38
+ name: string;
39
+ misc1?: string;
40
+ };
41
+ changeLogId?: string;
42
+ conference?: {
43
+ id: string;
44
+ title: string;
45
+ };
46
+ static fromLogDto(dto: LogDto): LogEntity;
47
+ }
48
+ export declare class LogDto {
49
+ id: string;
50
+ author: string;
51
+ date: {
52
+ dateTime: string;
53
+ timeZone?: string;
54
+ };
55
+ user: {
56
+ id?: string;
57
+ email?: string;
58
+ firstName?: string;
59
+ lastName?: string;
60
+ };
61
+ actionType: number;
62
+ action: number;
63
+ company?: {
64
+ id: string;
65
+ name: string;
66
+ };
67
+ simpleObject?: {
68
+ id: string;
69
+ name: string;
70
+ misc1?: string;
71
+ };
72
+ changeLogId?: string;
73
+ conference?: {
74
+ id: string;
75
+ title: string;
76
+ };
77
+ }
@@ -0,0 +1,17 @@
1
+ export declare class LoginProviderEntity {
2
+ name: string;
3
+ provider: string;
4
+ logoUrl?: string;
5
+ initializeLink: string;
6
+ title: string;
7
+ description?: string;
8
+ static fromDto(dto: LoginProviderDto): LoginProviderEntity;
9
+ }
10
+ export interface LoginProviderDto {
11
+ name: string;
12
+ provider: string;
13
+ logoUrl?: string;
14
+ initializeLink: string;
15
+ title: string;
16
+ description?: string;
17
+ }
@@ -0,0 +1,20 @@
1
+ import { LoginProviderDto, LoginProviderEntity } from "./LoginProvider";
2
+ export declare class LoginRealmEntity {
3
+ loginProviders?: LoginProviderEntity[];
4
+ id: string;
5
+ name: string;
6
+ enable: boolean;
7
+ basic: boolean;
8
+ reminder: boolean;
9
+ styleInline?: string;
10
+ static fromDto(dto: LoginRealmDto): LoginRealmEntity;
11
+ }
12
+ export interface LoginRealmDto {
13
+ loginProviders?: LoginProviderDto[];
14
+ id: string;
15
+ name: string;
16
+ enable: boolean;
17
+ basic: boolean;
18
+ reminder: boolean;
19
+ styleInline?: string;
20
+ }
@@ -0,0 +1,27 @@
1
+ export declare class NoteEntity {
2
+ id: string;
3
+ clientId: string;
4
+ note: string;
5
+ writer: {
6
+ email?: string;
7
+ firstName?: string;
8
+ lastName?: string;
9
+ };
10
+ date: Date;
11
+ static fromNoteDto(dto: NoteDto): NoteEntity;
12
+ static toNoteDto(entity: NoteEntity): NoteDto;
13
+ }
14
+ export declare class NoteDto {
15
+ id: string;
16
+ clientId: string;
17
+ html: string;
18
+ writer: {
19
+ email?: string;
20
+ firstName?: string;
21
+ lastName?: string;
22
+ };
23
+ date: {
24
+ dateTime?: string;
25
+ timeZone?: string;
26
+ };
27
+ }
@@ -0,0 +1,51 @@
1
+ export declare enum NotificationType {
2
+ EMAIL = "email",
3
+ SMS = "sms"
4
+ }
5
+ export declare enum NotificationRecipientType {
6
+ CLIENT = "client",
7
+ STAFF = "staff"
8
+ }
9
+ export declare class NotificationEntity {
10
+ id: string;
11
+ type: NotificationType;
12
+ appointment?: {
13
+ id: string;
14
+ selfLink?: string;
15
+ };
16
+ content: {
17
+ content: string;
18
+ contentType: string;
19
+ subject: string;
20
+ };
21
+ date?: Date;
22
+ recipients: {
23
+ emailAddress: string;
24
+ id: string;
25
+ type: NotificationRecipientType;
26
+ };
27
+ static fromNotificationDto(dto: NotificationDto): NotificationEntity;
28
+ static toNotificationDto(entity: NotificationEntity): NotificationDto;
29
+ }
30
+ export declare class NotificationDto {
31
+ id: string;
32
+ type: NotificationType;
33
+ appointment?: {
34
+ id: string;
35
+ selfLink?: string;
36
+ };
37
+ content: {
38
+ content: string;
39
+ contentType: string;
40
+ subject: string;
41
+ };
42
+ date?: {
43
+ dateTime?: string;
44
+ timeZone?: string;
45
+ };
46
+ recipients: {
47
+ emailAddress: string;
48
+ id: string;
49
+ type: NotificationRecipientType;
50
+ };
51
+ }
@@ -0,0 +1,5 @@
1
+ export declare class NotificationStatusEntity {
2
+ id: string;
3
+ lastDate: Date;
4
+ static isExpired(entity: NotificationStatusEntity): boolean;
5
+ }