@agendize/js-agendize-api 1.33.0 → 1.33.1

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 (304) hide show
  1. package/dist/js-agendize-api.es.js +1 -1
  2. package/package.json +13 -13
  3. package/dist/agendizeApi.d.ts +0 -546
  4. package/dist/browserStorage/browserStorage.d.ts +0 -46
  5. package/dist/config.d.ts +0 -19
  6. package/dist/data/Account.d.ts +0 -218
  7. package/dist/data/Activity.d.ts +0 -444
  8. package/dist/data/Address.d.ts +0 -46
  9. package/dist/data/Batch.d.ts +0 -41
  10. package/dist/data/CRMSettings.d.ts +0 -35
  11. package/dist/data/Calendar.d.ts +0 -78
  12. package/dist/data/Changelog.d.ts +0 -20
  13. package/dist/data/Common.d.ts +0 -15
  14. package/dist/data/CommonEnum.d.ts +0 -44
  15. package/dist/data/Company.d.ts +0 -161
  16. package/dist/data/CompanyPerformance.d.ts +0 -26
  17. package/dist/data/CompanySettings.d.ts +0 -17
  18. package/dist/data/Connector.d.ts +0 -26
  19. package/dist/data/Consent.d.ts +0 -4
  20. package/dist/data/Contact.d.ts +0 -202
  21. package/dist/data/CustomStatus.d.ts +0 -16
  22. package/dist/data/Employee.d.ts +0 -27
  23. package/dist/data/Error.d.ts +0 -65
  24. package/dist/data/Event.d.ts +0 -216
  25. package/dist/data/EventSearch.d.ts +0 -218
  26. package/dist/data/EventUpdate.d.ts +0 -9
  27. package/dist/data/Form.d.ts +0 -225
  28. package/dist/data/FormResult.d.ts +0 -61
  29. package/dist/data/FormResultStatus.d.ts +0 -23
  30. package/dist/data/FreeSlot.d.ts +0 -71
  31. package/dist/data/Help.d.ts +0 -18
  32. package/dist/data/Image.d.ts +0 -24
  33. package/dist/data/Integration.d.ts +0 -36
  34. package/dist/data/Link.d.ts +0 -10
  35. package/dist/data/Log.d.ts +0 -77
  36. package/dist/data/LoginProvider.d.ts +0 -17
  37. package/dist/data/LoginRealm.d.ts +0 -20
  38. package/dist/data/Note.d.ts +0 -27
  39. package/dist/data/Notification.d.ts +0 -51
  40. package/dist/data/NotificationStatus.d.ts +0 -5
  41. package/dist/data/PrivacyPolicy.d.ts +0 -43
  42. package/dist/data/Queue.d.ts +0 -54
  43. package/dist/data/QueueRegistration.d.ts +0 -101
  44. package/dist/data/Reporting.d.ts +0 -42
  45. package/dist/data/ReportingExportBody.d.ts +0 -174
  46. package/dist/data/ReportingExportResponse.d.ts +0 -20
  47. package/dist/data/Rights.d.ts +0 -123
  48. package/dist/data/Service.d.ts +0 -220
  49. package/dist/data/ServiceGroup.d.ts +0 -57
  50. package/dist/data/ServiceResource.d.ts +0 -26
  51. package/dist/data/Settings.d.ts +0 -14
  52. package/dist/data/ShortPollingNotification.d.ts +0 -35
  53. package/dist/data/Shortener.d.ts +0 -8
  54. package/dist/data/Staff.d.ts +0 -115
  55. package/dist/data/StaffForms.d.ts +0 -42
  56. package/dist/data/StaffGroup.d.ts +0 -58
  57. package/dist/data/User.d.ts +0 -84
  58. package/dist/data/WidgetUrlCipher.d.ts +0 -23
  59. package/dist/data/WorkingHours.d.ts +0 -94
  60. package/dist/data/account/Permission.d.ts +0 -46
  61. package/dist/data/action/ShareLink.d.ts +0 -55
  62. package/dist/data/conference/Conference.d.ts +0 -156
  63. package/dist/data/conference/ConferenceForm.d.ts +0 -36
  64. package/dist/data/conference/ConferenceInvitee.d.ts +0 -31
  65. package/dist/data/conference/ConferenceLocation.d.ts +0 -36
  66. package/dist/data/conference/ConferenceSpeaker.d.ts +0 -28
  67. package/dist/data/conference/ConferenceSubscriptionRules.d.ts +0 -12
  68. package/dist/data/conference/ConferenceTag.d.ts +0 -29
  69. package/dist/data/conference/Registration.d.ts +0 -56
  70. package/dist/data/conference/RegistrationCancel.d.ts +0 -26
  71. package/dist/data/conference/RegistrationClient.d.ts +0 -16
  72. package/dist/data/conference/Session.d.ts +0 -115
  73. package/dist/data/conference/Widget.d.ts +0 -94
  74. package/dist/data/dashboard/DashboardStructure.d.ts +0 -42
  75. package/dist/data/dashboard/KeyFigures.d.ts +0 -9
  76. package/dist/data/planning/Planning.d.ts +0 -17
  77. package/dist/data/planning/PlanningDay.d.ts +0 -12
  78. package/dist/data/planning/PlanningHour.d.ts +0 -10
  79. package/dist/data/planning/PlanningWeek.d.ts +0 -13
  80. package/dist/data/scheduling/Availabilities.d.ts +0 -102
  81. package/dist/data/scheduling/SchedulingRights.d.ts +0 -40
  82. package/dist/data/scheduling/WorkingPlanning.d.ts +0 -119
  83. package/dist/data/scheduling/schedule/CompanySchedule.d.ts +0 -19
  84. package/dist/data/scheduling/schedule/ScheduleWorkingHours.d.ts +0 -18
  85. package/dist/data/scheduling/schedule/UserSchedules.d.ts +0 -20
  86. package/dist/data/shortPollingNotification/ShortPollingNotificationEvent.d.ts +0 -58
  87. package/dist/data/shortPollingNotification/ShortPollingNotificationObject.d.ts +0 -4
  88. package/dist/data/shortPollingNotification/ShortPollingNotificationReport.d.ts +0 -8
  89. package/dist/db/DashboardStructureDb.d.ts +0 -12
  90. package/dist/db/calendarDb.d.ts +0 -26
  91. package/dist/db/calendarTeamDb.d.ts +0 -27
  92. package/dist/db/calendarTeamDefaultDb.d.ts +0 -20
  93. package/dist/db/companyDb.d.ts +0 -26
  94. package/dist/db/companySettingsDb.d.ts +0 -11
  95. package/dist/db/conferenceDb.d.ts +0 -26
  96. package/dist/db/conferenceInviteeDb.d.ts +0 -27
  97. package/dist/db/conferenceRegistrationDb.d.ts +0 -11
  98. package/dist/db/conferenceSessionDb.d.ts +0 -27
  99. package/dist/db/conferenceSpeakerDb.d.ts +0 -27
  100. package/dist/db/conferenceTagDb.d.ts +0 -12
  101. package/dist/db/contactDb.d.ts +0 -26
  102. package/dist/db/crmSettingsDb.d.ts +0 -9
  103. package/dist/db/customStatusDb.d.ts +0 -13
  104. package/dist/db/eventDb.d.ts +0 -29
  105. package/dist/db/externalEventDb.d.ts +0 -26
  106. package/dist/db/formBuilderDb.d.ts +0 -26
  107. package/dist/db/icsEventDb.d.ts +0 -24
  108. package/dist/db/index.d.ts +0 -73
  109. package/dist/db/noteDb.d.ts +0 -27
  110. package/dist/db/notificationDb.d.ts +0 -9
  111. package/dist/db/notificationStatusDb.d.ts +0 -26
  112. package/dist/db/planningDb.d.ts +0 -27
  113. package/dist/db/privacyPolicyDb.d.ts +0 -24
  114. package/dist/db/promoteFieldDb.d.ts +0 -9
  115. package/dist/db/queueDb.d.ts +0 -27
  116. package/dist/db/rightsDb.d.ts +0 -25
  117. package/dist/db/serviceDb.d.ts +0 -28
  118. package/dist/db/serviceGroupDb.d.ts +0 -31
  119. package/dist/db/serviceResourceDb.d.ts +0 -27
  120. package/dist/db/settingsDb.d.ts +0 -24
  121. package/dist/db/shortPollingNotificationDb.d.ts +0 -13
  122. package/dist/db/sseNotificationDb.d.ts +0 -0
  123. package/dist/db/staffDb.d.ts +0 -28
  124. package/dist/db/staffFormsDb.d.ts +0 -25
  125. package/dist/db/staffGroupDb.d.ts +0 -32
  126. package/dist/db/userDb.d.ts +0 -27
  127. package/dist/db/userDefaultDb.d.ts +0 -20
  128. package/dist/db/userDirectoryDb.d.ts +0 -28
  129. package/dist/db/widgetFormDb.d.ts +0 -25
  130. package/dist/eventFetchedMeta/eventMeta.d.ts +0 -24
  131. package/dist/eventFetchedMeta/eventMetaStorage.d.ts +0 -63
  132. package/dist/index.d.ts +0 -98
  133. package/dist/repository/index.d.ts +0 -86
  134. package/dist/repository/public/accountPublicRepository.d.ts +0 -40
  135. package/dist/repository/public/availabilityPublicRepository.d.ts +0 -39
  136. package/dist/repository/public/companyPublicRepository.d.ts +0 -24
  137. package/dist/repository/public/conferencePublicRepository.d.ts +0 -26
  138. package/dist/repository/public/customStatusPublicRepository.d.ts +0 -28
  139. package/dist/repository/public/eventPublicRepository.d.ts +0 -40
  140. package/dist/repository/public/formPublicRepository.d.ts +0 -25
  141. package/dist/repository/public/freeSlotPublicRepository.d.ts +0 -40
  142. package/dist/repository/public/queuePublicRepository.d.ts +0 -22
  143. package/dist/repository/public/queueRegistrationPublicRepository.d.ts +0 -22
  144. package/dist/repository/public/registrationPublicRepository.d.ts +0 -22
  145. package/dist/repository/public/servicePublicRepository.d.ts +0 -24
  146. package/dist/repository/public/sessionPublicRepository.d.ts +0 -23
  147. package/dist/repository/public/staffGroupPublicRepository.d.ts +0 -24
  148. package/dist/repository/public/staffPublicRepository.d.ts +0 -24
  149. package/dist/repository/public/widgetPublicRepository.d.ts +0 -26
  150. package/dist/repository/secured/CRMSettingsSecuredRepository.d.ts +0 -25
  151. package/dist/repository/secured/accountSecuredRepository.d.ts +0 -44
  152. package/dist/repository/secured/activitySecuredRepository.d.ts +0 -43
  153. package/dist/repository/secured/additionalFieldsSecuredRepository.d.ts +0 -24
  154. package/dist/repository/secured/availabilitySecuredRepository.d.ts +0 -42
  155. package/dist/repository/secured/calendarSecuredRepository.d.ts +0 -33
  156. package/dist/repository/secured/changelogSecuredRepository.d.ts +0 -24
  157. package/dist/repository/secured/companyPerformanceSecuredRepository.d.ts +0 -37
  158. package/dist/repository/secured/companySecuredRepository.d.ts +0 -32
  159. package/dist/repository/secured/companySettingsSecuredRepository.d.ts +0 -28
  160. package/dist/repository/secured/conferenceInviteeSecuredRepository.d.ts +0 -47
  161. package/dist/repository/secured/conferenceRegistrationSecuredRepository.d.ts +0 -39
  162. package/dist/repository/secured/conferenceSecuredRepository.d.ts +0 -50
  163. package/dist/repository/secured/conferenceSessionSecuredRepository.d.ts +0 -49
  164. package/dist/repository/secured/conferenceSpeakerSecuredRepository.d.ts +0 -50
  165. package/dist/repository/secured/conferenceTagSecuredRepository.d.ts +0 -31
  166. package/dist/repository/secured/connectorsSecuredRepository.d.ts +0 -24
  167. package/dist/repository/secured/contactExternalSecuredRepository.d.ts +0 -27
  168. package/dist/repository/secured/contactSecuredRepository.d.ts +0 -38
  169. package/dist/repository/secured/customStatusSecuredRepository.d.ts +0 -32
  170. package/dist/repository/secured/dasboardStructureSecuredRepository.d.ts +0 -25
  171. package/dist/repository/secured/dashboardSecuredRepository.d.ts +0 -20
  172. package/dist/repository/secured/eventSecuredRepository.d.ts +0 -66
  173. package/dist/repository/secured/exportAppointmentsSecuredRepository.d.ts +0 -25
  174. package/dist/repository/secured/exportCalendarSecuredRepository.d.ts +0 -28
  175. package/dist/repository/secured/externalEventSecuredRepository.d.ts +0 -39
  176. package/dist/repository/secured/formBuilderSecuredRepository.d.ts +0 -46
  177. package/dist/repository/secured/formResultSecuredRepository.d.ts +0 -31
  178. package/dist/repository/secured/formResultStatusSecuredRepository.d.ts +0 -30
  179. package/dist/repository/secured/freeSlotSecuredRepository.d.ts +0 -43
  180. package/dist/repository/secured/icsEventSecuredRepository.d.ts +0 -34
  181. package/dist/repository/secured/integrationsSecuredRepository.d.ts +0 -24
  182. package/dist/repository/secured/logSecuredRepository.d.ts +0 -25
  183. package/dist/repository/secured/noteSecuredRepository.d.ts +0 -27
  184. package/dist/repository/secured/notificationSecuredRepository.d.ts +0 -27
  185. package/dist/repository/secured/notificationStatusSecuredRepository.d.ts +0 -40
  186. package/dist/repository/secured/permissionSecuredRepository.d.ts +0 -45
  187. package/dist/repository/secured/planningSecuredRepository.d.ts +0 -46
  188. package/dist/repository/secured/privacyPolicySecuredRepository.d.ts +0 -41
  189. package/dist/repository/secured/promoteFieldSecuredRepository.d.ts +0 -26
  190. package/dist/repository/secured/queueRegistrationSecuredRepository.d.ts +0 -46
  191. package/dist/repository/secured/queueSecuredRepository.d.ts +0 -46
  192. package/dist/repository/secured/reportingSecuredRepository.d.ts +0 -42
  193. package/dist/repository/secured/rightsSecuredRepository.d.ts +0 -40
  194. package/dist/repository/secured/scheduleSecuredRepository.d.ts +0 -25
  195. package/dist/repository/secured/schedulingRightsSecuredRepository.d.ts +0 -26
  196. package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +0 -50
  197. package/dist/repository/secured/serviceResourceSecuredRepository.d.ts +0 -50
  198. package/dist/repository/secured/serviceSecuredRepository.d.ts +0 -36
  199. package/dist/repository/secured/settingsSecuredRepository.d.ts +0 -27
  200. package/dist/repository/secured/shareLinkSecuredRepository.d.ts +0 -38
  201. package/dist/repository/secured/shortPollingNotificationSecuredRepository.d.ts +0 -32
  202. package/dist/repository/secured/shortenerSecuredRepository.d.ts +0 -39
  203. package/dist/repository/secured/sseNotificationSecuredRepository.d.ts +0 -0
  204. package/dist/repository/secured/staffFormsSecuredRepository.d.ts +0 -40
  205. package/dist/repository/secured/staffGroupSecuredRepository.d.ts +0 -50
  206. package/dist/repository/secured/staffSecuredRepository.d.ts +0 -41
  207. package/dist/repository/secured/tagSecuredRepository.d.ts +0 -24
  208. package/dist/repository/secured/userAbstractSecuredRepository.d.ts +0 -55
  209. package/dist/repository/secured/userDefaultSecuredRepository.d.ts +0 -28
  210. package/dist/repository/secured/userDirectorySecuredRepository.d.ts +0 -41
  211. package/dist/repository/secured/userSecuredRepository.d.ts +0 -33
  212. package/dist/repository/secured/widgetFormSecuredRepository.d.ts +0 -45
  213. package/dist/repository/secured/widgetUrlCipherSecuredRepository.d.ts +0 -46
  214. package/dist/repository/secured/workingPlanningSecuredRepository.d.ts +0 -28
  215. package/dist/service/index.d.ts +0 -47
  216. package/dist/service/items/EventFields.d.ts +0 -30
  217. package/dist/service/public/WidgetError.d.ts +0 -7
  218. package/dist/service/public/accountPublicService.d.ts +0 -20
  219. package/dist/service/public/availabilityPublicService.d.ts +0 -20
  220. package/dist/service/public/companyPublicService.d.ts +0 -6
  221. package/dist/service/public/conferencePublicService.d.ts +0 -6
  222. package/dist/service/public/customStatusPublicService.d.ts +0 -5
  223. package/dist/service/public/eventPublicService.d.ts +0 -29
  224. package/dist/service/public/formPublicService.d.ts +0 -7
  225. package/dist/service/public/freeSlotPublicService.d.ts +0 -20
  226. package/dist/service/public/queueInscriptionPublicService.d.ts +0 -5
  227. package/dist/service/public/queuePublicService.d.ts +0 -5
  228. package/dist/service/public/registrationPublicService.d.ts +0 -8
  229. package/dist/service/public/servicePublicService.d.ts +0 -21
  230. package/dist/service/public/sessionPublicService.d.ts +0 -5
  231. package/dist/service/public/staffGroupPublicService.d.ts +0 -6
  232. package/dist/service/public/staffPublicService.d.ts +0 -6
  233. package/dist/service/public/widgetPublicService.d.ts +0 -5
  234. package/dist/service/public/widgetResponse.d.ts +0 -3
  235. package/dist/service/secured/FormResultSecuredService.d.ts +0 -8
  236. package/dist/service/secured/accountSecuredService.d.ts +0 -23
  237. package/dist/service/secured/activitySecuredService.d.ts +0 -22
  238. package/dist/service/secured/additionalFieldsSecuredService.d.ts +0 -5
  239. package/dist/service/secured/authenticationSecuredService.d.ts +0 -56
  240. package/dist/service/secured/availabilitiesSecuredService.d.ts +0 -20
  241. package/dist/service/secured/batchSecuredService.d.ts +0 -20
  242. package/dist/service/secured/calendarSecuredService.d.ts +0 -28
  243. package/dist/service/secured/changelogSecuredService.d.ts +0 -20
  244. package/dist/service/secured/companyPerformanceSecuredService.d.ts +0 -20
  245. package/dist/service/secured/companySecuredService.d.ts +0 -26
  246. package/dist/service/secured/companySettingsSecuredService.d.ts +0 -6
  247. package/dist/service/secured/conferenceInviteeSecuredService.d.ts +0 -25
  248. package/dist/service/secured/conferenceRegistrationSecuredService.d.ts +0 -13
  249. package/dist/service/secured/conferenceSecuredService.d.ts +0 -25
  250. package/dist/service/secured/conferenceSessionSecuredService.d.ts +0 -26
  251. package/dist/service/secured/conferenceSpeakerSecuredService.d.ts +0 -30
  252. package/dist/service/secured/conferenceTagSecuredService.d.ts +0 -10
  253. package/dist/service/secured/connectorsSecuredService.d.ts +0 -5
  254. package/dist/service/secured/contactExternalSecuredService.d.ts +0 -21
  255. package/dist/service/secured/contactSecuredService.d.ts +0 -26
  256. package/dist/service/secured/crmSettingsSecuredService.d.ts +0 -5
  257. package/dist/service/secured/customStatusSecuredService.d.ts +0 -9
  258. package/dist/service/secured/dashboardSecuredService.d.ts +0 -5
  259. package/dist/service/secured/dashboardStructureSecuredService.d.ts +0 -5
  260. package/dist/service/secured/eventSecuredService.d.ts +0 -44
  261. package/dist/service/secured/exportAppointmentsSecuredService.d.ts +0 -7
  262. package/dist/service/secured/exportCalendarSecuredService.d.ts +0 -5
  263. package/dist/service/secured/formBuilderSecuredService.d.ts +0 -23
  264. package/dist/service/secured/formResultStatusSecuredService.d.ts +0 -6
  265. package/dist/service/secured/freeSlotSecuredService.d.ts +0 -20
  266. package/dist/service/secured/freeStaffSecuredService.d.ts +0 -19
  267. package/dist/service/secured/integrationsSecuredService.d.ts +0 -5
  268. package/dist/service/secured/logSecuredService.d.ts +0 -19
  269. package/dist/service/secured/noteSecuredService.d.ts +0 -22
  270. package/dist/service/secured/notificationSecuredService.d.ts +0 -6
  271. package/dist/service/secured/permissionsSecuredService.d.ts +0 -23
  272. package/dist/service/secured/planningSecuredService.d.ts +0 -25
  273. package/dist/service/secured/privacyPolicySecuredService.d.ts +0 -20
  274. package/dist/service/secured/promoteFieldSecuredService.d.ts +0 -5
  275. package/dist/service/secured/queueRegistrationSecuredService.d.ts +0 -23
  276. package/dist/service/secured/queueSecuredService.d.ts +0 -25
  277. package/dist/service/secured/reportingSecuredService.d.ts +0 -20
  278. package/dist/service/secured/rightsSecuredService.d.ts +0 -20
  279. package/dist/service/secured/scheduleSecuredService.d.ts +0 -5
  280. package/dist/service/secured/schedulingRightsSecuredService.d.ts +0 -7
  281. package/dist/service/secured/serviceGroupSecuredService.d.ts +0 -25
  282. package/dist/service/secured/serviceResourceSecuredService.d.ts +0 -25
  283. package/dist/service/secured/serviceSecuredService.d.ts +0 -25
  284. package/dist/service/secured/settingsSecuredService.d.ts +0 -20
  285. package/dist/service/secured/shareLinkSecuredService.d.ts +0 -21
  286. package/dist/service/secured/shortPollingNotificationSecuredService.d.ts +0 -10
  287. package/dist/service/secured/shortenerSecuredService.d.ts +0 -20
  288. package/dist/service/secured/staffFormsSecuredService.d.ts +0 -20
  289. package/dist/service/secured/staffGroupSecuredService.d.ts +0 -25
  290. package/dist/service/secured/staffSecuredService.d.ts +0 -26
  291. package/dist/service/secured/tagSecuredService.d.ts +0 -5
  292. package/dist/service/secured/userDirectorySecuredService.d.ts +0 -20
  293. package/dist/service/secured/userSecuredService.d.ts +0 -33
  294. package/dist/service/secured/widgetFormSecuredService.d.ts +0 -26
  295. package/dist/service/secured/widgetUrlCipherSecuredService.d.ts +0 -21
  296. package/dist/service/secured/workingPlanningSecuredService.d.ts +0 -6
  297. package/dist/utils/axiosLoggerBuilder.d.ts +0 -11
  298. package/dist/utils/colorManager.d.ts +0 -7
  299. package/dist/utils/date.d.ts +0 -12
  300. package/dist/utils/encoding.d.ts +0 -5
  301. package/dist/utils/formUtils.d.ts +0 -4
  302. package/dist/utils/logger.d.ts +0 -40
  303. package/dist/utils/pkceUtils.d.ts +0 -10
  304. package/dist/utils/widgetForms.d.ts +0 -6
@@ -1,202 +0,0 @@
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 { ImageEntity } from './Image';
17
- import { ConsentEntity } from "./Consent";
18
- import { AddressDto, AddressEntity } from "./Address";
19
- import { PromoteFieldKey } from "./CommonEnum";
20
- export declare class ContactEntity {
21
- id?: string;
22
- owner?: {
23
- userName: string;
24
- };
25
- firstName?: string;
26
- lastName?: string;
27
- email?: string;
28
- emailAddresses?: ContactEmailAddressEntity[];
29
- phone?: string;
30
- phoneNumbers?: ContactPhoneNumberEntity[];
31
- picture?: ImageEntity;
32
- externalId?: string;
33
- marketingConsent?: ConsentEntity;
34
- marketingOptins?: {
35
- email?: {
36
- enabled: boolean;
37
- };
38
- };
39
- title?: string;
40
- gender?: string;
41
- tags?: ContactTagEntity[];
42
- companyName?: string;
43
- jobTitle?: string;
44
- address?: AddressEntity;
45
- birthDate?: string;
46
- language?: string;
47
- languageSpoken?: string;
48
- languageUnderstood?: string[];
49
- additionalFieldsTitle?: string;
50
- additionalFields?: ContactAdditionalFieldEntity[];
51
- creationDate?: Date;
52
- timeZone?: string;
53
- fax?: string;
54
- notification?: string;
55
- reminder?: string;
56
- description?: string;
57
- isExternal?: boolean;
58
- static fromContactDto(dto: ContactDto, isExternal?: boolean): ContactEntity;
59
- static toContactDto(entity: ContactEntity): ContactDto;
60
- }
61
- export declare class ContactAdvancedSearchEntity {
62
- firstName?: string;
63
- lastName?: string;
64
- externalId?: string;
65
- email?: string;
66
- phone?: string;
67
- zipcode?: string;
68
- emailMarketing?: boolean;
69
- blocked?: boolean;
70
- tags?: ContactTagEntity[];
71
- activityDateMin?: string;
72
- activityDateMax?: string;
73
- showAnonymized?: boolean;
74
- constructor();
75
- get countFilter(): number;
76
- static toDto(entity: ContactAdvancedSearchEntity): ContactAdvancedSearchDto;
77
- }
78
- export declare class ContactAdvancedSearchDto {
79
- firstName?: string;
80
- lastName?: string;
81
- externalId?: string;
82
- email?: string;
83
- phone?: string;
84
- zipcode?: string;
85
- emailMarketing?: boolean;
86
- blocked?: boolean;
87
- tags?: ContactTagEntity[];
88
- activityDateMin?: string;
89
- activityDateMax?: string;
90
- showAnonymized?: boolean;
91
- }
92
- export declare class ContactPhoneNumberEntity {
93
- number: string;
94
- primary?: boolean;
95
- mobile?: boolean;
96
- static fromContactPhoneNumberDto(dto: ContactPhoneNumberDto): ContactPhoneNumberEntity;
97
- static toContactPhoneNumberDto(entity: ContactPhoneNumberEntity): ContactPhoneNumberDto;
98
- }
99
- export declare class ContactEmailAddressEntity {
100
- email: string;
101
- primary?: boolean;
102
- static fromContactEmailAddressDto(dto: ContactEmailAddressDto): ContactEmailAddressEntity;
103
- static toContactEmailAddressDto(entity: ContactEmailAddressEntity): ContactEmailAddressDto;
104
- }
105
- export declare class ContactTagEntity {
106
- id?: string;
107
- tag: string;
108
- color?: string;
109
- textColor?: string;
110
- static fromContactTagDto(dto: ContactTagDto): ContactTagEntity;
111
- static toContactTagDto(entity: ContactTagEntity): ContactTagDto;
112
- }
113
- export declare class AdditionalFieldsEntity {
114
- title?: string;
115
- fields?: ContactAdditionalFieldEntity[];
116
- static fromAdditionalFieldsDto(dto: AdditionalFieldsDto): AdditionalFieldsEntity;
117
- static toAdditionalFieldsDto(entity: AdditionalFieldsEntity): AdditionalFieldsDto;
118
- }
119
- export declare class ContactAdditionalFieldEntity {
120
- id: string;
121
- name: string;
122
- mandatory: boolean;
123
- value?: string;
124
- static fromContactAdditionalFieldDto(dto: ContactAdditionalFieldDto): ContactAdditionalFieldEntity;
125
- static toContactAdditionalFieldDto(entity: ContactAdditionalFieldEntity): ContactAdditionalFieldDto;
126
- }
127
- export declare class ContactDto {
128
- id?: string;
129
- owner?: {
130
- userName: string;
131
- };
132
- firstName?: string;
133
- lastName?: string;
134
- email?: string;
135
- emailAddresses?: ContactEmailAddressDto[];
136
- phone?: string;
137
- phoneNumbers?: ContactPhoneNumberDto[];
138
- picture?: ImageEntity;
139
- externalId?: string;
140
- marketingConsent?: ConsentEntity;
141
- marketingOptins?: {
142
- email?: {
143
- enabled: boolean;
144
- };
145
- };
146
- title?: string;
147
- gender?: string;
148
- tags?: ContactTagDto[];
149
- companyName?: string;
150
- jobTitle?: string;
151
- address?: AddressDto;
152
- birthDate?: string;
153
- language?: string;
154
- languageSpoken?: string;
155
- languageUnderstood?: string[];
156
- additionalFieldsTitle?: string;
157
- additionalFields?: ContactAdditionalFieldDto[];
158
- creationDate?: string;
159
- timeZone?: string;
160
- fax?: string;
161
- notificationType?: string;
162
- reminderType?: string;
163
- description?: string;
164
- }
165
- export declare class ContactPhoneNumberDto {
166
- number: string;
167
- primary?: boolean;
168
- mobile?: boolean;
169
- }
170
- export declare class ContactEmailAddressDto {
171
- email: string;
172
- primary?: boolean;
173
- }
174
- export declare class ContactTagDto {
175
- id?: string;
176
- tag: string;
177
- color?: string;
178
- }
179
- export declare class ContactAdditionalFieldDto {
180
- id: string;
181
- name: string;
182
- mandatory: boolean;
183
- value?: string;
184
- }
185
- export declare class AdditionalFieldsDto {
186
- title?: string;
187
- fields?: ContactAdditionalFieldDto[];
188
- }
189
- export declare class PromoteFieldEntity {
190
- id: string;
191
- fieldKey: PromoteFieldKey;
192
- account: string;
193
- index: number;
194
- static fromPromoteFieldDto(dto: PromoteFieldDto): PromoteFieldEntity;
195
- static toPromoteFieldDto(entity: PromoteFieldEntity): PromoteFieldDto;
196
- }
197
- export declare class PromoteFieldDto {
198
- id: string;
199
- fieldKey: PromoteFieldKey;
200
- account: string;
201
- index: number;
202
- }
@@ -1,16 +0,0 @@
1
- export declare class CustomStatusEntity {
2
- id?: string;
3
- name?: string;
4
- description?: string;
5
- color?: string;
6
- native?: boolean;
7
- static fromCustomStatusDto(dto: CustomStatusDto): CustomStatusEntity;
8
- static toCustomStatusDto(entity: CustomStatusEntity): CustomStatusDto;
9
- }
10
- export declare class CustomStatusDto {
11
- id?: string;
12
- name?: string;
13
- description?: string;
14
- color?: string;
15
- native?: boolean;
16
- }
@@ -1,27 +0,0 @@
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 { UserEntity } from "./User";
17
- import { StaffEntity } from "./Staff";
18
- export declare class EmployeeEntity {
19
- user?: {
20
- user?: UserEntity;
21
- staffs?: StaffEntity[];
22
- };
23
- staff?: StaffEntity;
24
- private constructor();
25
- static fromUserEntity(user: UserEntity, staffs?: StaffEntity[]): EmployeeEntity;
26
- static fromStaffEntity(staff: StaffEntity): EmployeeEntity;
27
- }
@@ -1,65 +0,0 @@
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 enum ApiErrors {
17
- UNKOWN = 0,
18
- INTERNAL_ERROR = 1,
19
- NOT_AUTHORIZED = 2,
20
- INVALID_PARAMETER = 3,
21
- UNKNOWN_ENTITY = 4,
22
- INSUFFICIENT_RIGHT = 5,
23
- NOT_IMPLEMENTED = 6,
24
- CREDENTIAL_ERROR = 100,
25
- USER_ACCOUNT_LOCKED = 101,
26
- PASSWORD_POLICY_ERROR = 102,
27
- STAFF_NOT_AVAILABLE = 1000,
28
- MAX_APPOINTMENT_DAILY = 1001,
29
- MAX_APPOINTMENT_WEEKLY = 1002,
30
- APPOINTMENT_PERIOD_RULE = 1003,
31
- RESOURCE_NOT_AVAILABLE = 1004,
32
- DATE_NOT_AVAILABLE = 1005,
33
- USER_BLOCKED = 1006,
34
- ACCOUNT_NOT_FOUND = 2000,
35
- ACCOUNT_DISABLED = 3003,
36
- CONFERENCE_SESSION_FULL = 4000,
37
- ERROR_NO_STAFF = 2300,
38
- ERROR_CLIENT_LOCKED = 2303,
39
- CONFERENCE_INVALID_CONFERENCE = 26001,
40
- CONFERENCE_INVALID_SESSION = 26002,
41
- CONFERENCE_INVALID_NUMBER_OF_SEATS = 26003,
42
- CONFERENCE_INVALID_REGISTRATION = 26004,
43
- CONFERENCE_INVALID_SESSION_PAST = 26005,
44
- CONFERENCE_CLOSED_SESSION = 26006,
45
- CONFERENCE_SESSION_CANCELLED = 26009
46
- }
47
- export declare function getErrorCode(apiName: string, dto: ErrorDto): ApiErrors;
48
- export declare class ErrorDto {
49
- errorCode?: number;
50
- reason: string;
51
- code: number;
52
- message: string;
53
- 'az-code'?: number;
54
- error?: string;
55
- errors?: ErrorDto[];
56
- }
57
- export declare class NotFoundError extends ErrorDto {
58
- constructor(context?: string);
59
- }
60
- export declare class AgendizeError {
61
- errorCode: ApiErrors;
62
- e: any;
63
- constructor(errorCode: ApiErrors, e?: any);
64
- }
65
- export declare function getApiErrorValueFromName(value: string): string;
@@ -1,216 +0,0 @@
1
- import { ConsentEntity } from "./Consent";
2
- import { FormItemDto, FormItemEntity } from "./Form";
3
- import { CustomStatusDto, CustomStatusEntity } from "./CustomStatus";
4
- import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
5
- import { LocationType, ServicePublicDto, ServicePublicEntity } from "@/data/Service";
6
- import { StaffPublicDto, StaffPublicEntity } from "@/data/Staff";
7
- import { CompanyPublicDto, CompanyPublicEntity } from "@/data/Company";
8
- import { ContactDto, ContactEntity } from "@/data/Contact";
9
- import { ActivityDto, AppointmentActivityEntity } from "@/data/Activity";
10
- export declare enum EventType {
11
- PRO = "normal",
12
- PERSO = "personal",
13
- EXTERNAL = "external",
14
- ICS = "ics"
15
- }
16
- export declare enum EventStatus {
17
- PENDING = "pending",
18
- DECLINED = "declined",
19
- ACCEPTED = "accepted",
20
- IN_PROGRESS = "inProgress",
21
- NO_SHOW = "noShow",
22
- COMPLETED = "completed",
23
- CANCELLED = "cancelled",
24
- PERSONAL = "personal",
25
- PERSONAL_CANCELLED = "personal_cancelled",
26
- EXTERNAL = "external",
27
- UNDEFINED = "undefined",
28
- CUSTOM = "custom",
29
- PENDING_PAYMENT = "pendingPayment"
30
- }
31
- export type EventEntity<Type = EntityType> = Type extends SecuredEntity ? EventSecuredEntity : EventPublicEntity;
32
- export declare class EventPublicEntity extends PublicBodyEntity {
33
- id?: string;
34
- company: CompanyPublicEntity;
35
- services: ServicePublicEntity[];
36
- staffs: StaffPublicEntity[];
37
- start: Date;
38
- end: Date;
39
- status: string;
40
- customStatus?: CustomStatusEntity;
41
- notes?: string;
42
- contact: ContactEntity;
43
- location: LocationType[];
44
- locationCustom?: string;
45
- form?: FormItemEntity[];
46
- histories?: AppointmentActivityEntity[];
47
- source?: string;
48
- sourceType?: 'manual' | 'widget' | 'external' | 'manualPhone' | 'api' | 'backofficeWidget' | 'mobile' | 'facebook' | 'internalWidget' | '' | undefined;
49
- onlineMeeting?: {
50
- link: string;
51
- };
52
- cancellable?: boolean;
53
- static fromDto(dto: EventPublicDto): EventPublicEntity;
54
- }
55
- export declare class EventPublicDto {
56
- id: string;
57
- company: CompanyPublicDto;
58
- services: ServicePublicDto[];
59
- staffs: StaffPublicDto[];
60
- start: {
61
- dateTime: string;
62
- timeZone: string;
63
- };
64
- end: {
65
- dateTime: string;
66
- timeZone: string;
67
- };
68
- status: string;
69
- customStatus?: CustomStatusEntity;
70
- notes?: string;
71
- client: ContactDto;
72
- location: LocationType[];
73
- customLocation?: string;
74
- cancellable?: boolean;
75
- locationLink?: string;
76
- form?: FormItemDto[];
77
- histories?: ActivityDto[];
78
- source?: string;
79
- sourceType?: 'manual' | 'widget' | 'external' | 'manualPhone' | 'api' | 'backofficeWidget' | 'mobile' | 'facebook' | 'internalWidget' | '' | undefined;
80
- onlineMeeting?: {
81
- link: string;
82
- };
83
- }
84
- export declare class EventSecuredEntity extends SecuredBodyEntity {
85
- id?: string;
86
- owner?: {
87
- id: string;
88
- userName: string;
89
- };
90
- company?: {
91
- id: string;
92
- name?: string;
93
- encryptedId?: string;
94
- };
95
- service?: {
96
- id: string;
97
- name?: string;
98
- color?: string;
99
- preparationDuration?: number;
100
- bufferDuration?: number;
101
- capacity?: number;
102
- };
103
- staff?: {
104
- id: string;
105
- firstName?: string;
106
- lastName?: string;
107
- phone?: string;
108
- email?: string;
109
- externalId?: string;
110
- userId?: string;
111
- };
112
- client?: {
113
- id: string;
114
- firstName?: string;
115
- lastName?: string;
116
- email?: string;
117
- phone?: string;
118
- externalId?: string;
119
- };
120
- start: Date;
121
- end: Date;
122
- status?: string;
123
- type: string;
124
- source: string;
125
- price?: number;
126
- paid?: boolean;
127
- notes?: string;
128
- summary?: string;
129
- form?: FormItemEntity[];
130
- metaEvent?: boolean;
131
- metaEventId?: string;
132
- onlineMeeting?: {
133
- provider: string;
134
- videoLink: string;
135
- };
136
- parameters?: any;
137
- events?: EventSecuredEntity[];
138
- privacyConsent?: ConsentEntity;
139
- marketingConsent?: ConsentEntity;
140
- location: LocationType;
141
- locationCustom?: string;
142
- preparationDuration?: number;
143
- bufferDuration?: number;
144
- customStatus?: CustomStatusEntity;
145
- securityKey?: string;
146
- static fromDto(dto: EventSecuredDto, type?: EventType | string): EventSecuredEntity;
147
- static toDto(entity: EventSecuredEntity, timeZone?: string): EventSecuredDto;
148
- }
149
- export declare class EventSecuredDto {
150
- id?: string;
151
- owner?: {
152
- id: string;
153
- userName: string;
154
- };
155
- company?: {
156
- id: string;
157
- name?: string;
158
- };
159
- service?: {
160
- id: string;
161
- name?: string;
162
- color?: string;
163
- preparationDuration?: number;
164
- bufferDuration?: number;
165
- capacity?: number;
166
- };
167
- staff?: {
168
- id: string;
169
- firstName?: string;
170
- lastName?: string;
171
- phone?: string;
172
- email?: string;
173
- externalId?: string;
174
- userId?: string;
175
- };
176
- client?: {
177
- id: string;
178
- firstName?: string;
179
- lastName?: string;
180
- email?: string;
181
- phone?: string;
182
- externalId?: string;
183
- };
184
- start: {
185
- dateTime: string;
186
- timeZone?: string;
187
- };
188
- end: {
189
- dateTime: string;
190
- timeZone?: string;
191
- };
192
- status?: string;
193
- type: string;
194
- source: string;
195
- paid?: boolean;
196
- price?: number;
197
- notes?: string;
198
- summary?: string;
199
- form?: FormItemDto[];
200
- 'meta-event'?: boolean;
201
- metaEventId?: string;
202
- onlineMeeting?: {
203
- provider: string;
204
- videoLink: string;
205
- };
206
- parameters?: any;
207
- events?: EventSecuredDto[];
208
- privacyConsent?: ConsentEntity;
209
- marketingConsent?: ConsentEntity;
210
- location: LocationType;
211
- locationCustom?: string;
212
- preparationDuration?: number;
213
- bufferDuration?: number;
214
- customStatus?: CustomStatusDto;
215
- securityKey?: string;
216
- }