@persei/perseed-api 4.34.36 → 5.0.0-beta.2

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 (893) hide show
  1. package/README.md +73 -237
  2. package/dist/client.cjs +178 -0
  3. package/dist/client.cjs.map +1 -0
  4. package/dist/client.d.ts +1 -0
  5. package/dist/client.mjs +178 -0
  6. package/dist/client.mjs.map +1 -0
  7. package/dist/global-pagination.cjs +24 -0
  8. package/dist/global-pagination.cjs.map +1 -0
  9. package/dist/global-pagination.d.ts +1 -0
  10. package/dist/global-pagination.mjs +24 -0
  11. package/dist/global-pagination.mjs.map +1 -0
  12. package/dist/lib/src/client/index.d.ts +2 -0
  13. package/dist/lib/src/client/index.d.ts.map +1 -0
  14. package/dist/lib/src/generated/client.d.ts +559 -0
  15. package/dist/lib/src/generated/client.d.ts.map +1 -0
  16. package/dist/src/Services/AiService.d.ts +17 -0
  17. package/dist/src/Services/AiService.d.ts.map +1 -0
  18. package/dist/src/Services/ApiService.d.ts +17 -0
  19. package/dist/src/Services/ApiService.d.ts.map +1 -0
  20. package/dist/src/Services/ArcangelService.d.ts +41 -0
  21. package/dist/src/Services/ArcangelService.d.ts.map +1 -0
  22. package/dist/src/Services/AuthenticationSecurityService.d.ts +33 -0
  23. package/dist/src/Services/AuthenticationSecurityService.d.ts.map +1 -0
  24. package/dist/src/Services/BulkUploadService.d.ts +8 -0
  25. package/dist/src/Services/BulkUploadService.d.ts.map +1 -0
  26. package/dist/src/Services/CacheService.d.ts +101 -0
  27. package/dist/src/Services/CacheService.d.ts.map +1 -0
  28. package/dist/src/Services/ChartService.d.ts +6 -0
  29. package/dist/src/Services/ChartService.d.ts.map +1 -0
  30. package/dist/src/Services/ConditionsMatcher/CustomConditionsFormat.d.ts +7 -0
  31. package/dist/src/Services/ConditionsMatcher/CustomConditionsFormat.d.ts.map +1 -0
  32. package/dist/src/Services/ConditionsMatcher/index.d.ts +4 -0
  33. package/dist/src/Services/ConditionsMatcher/index.d.ts.map +1 -0
  34. package/dist/src/Services/CrfService.d.ts +18 -0
  35. package/dist/src/Services/CrfService.d.ts.map +1 -0
  36. package/dist/src/Services/DashboardWidgetService.d.ts +14 -0
  37. package/dist/src/Services/DashboardWidgetService.d.ts.map +1 -0
  38. package/dist/src/Services/DataService.d.ts +10 -0
  39. package/dist/src/Services/DataService.d.ts.map +1 -0
  40. package/dist/src/Services/DbService.d.ts +9 -0
  41. package/dist/src/Services/DbService.d.ts.map +1 -0
  42. package/dist/src/Services/DependentService.d.ts +7 -0
  43. package/dist/src/Services/DependentService.d.ts.map +1 -0
  44. package/dist/src/Services/DocumentsUpload/DocumentsService.d.ts +29 -0
  45. package/dist/src/Services/DocumentsUpload/DocumentsService.d.ts.map +1 -0
  46. package/dist/src/Services/DocumentsUpload/ValidatorDocumentsService.d.ts +28 -0
  47. package/dist/src/Services/DocumentsUpload/ValidatorDocumentsService.d.ts.map +1 -0
  48. package/dist/src/Services/EcosystemService.d.ts +7 -0
  49. package/dist/src/Services/EcosystemService.d.ts.map +1 -0
  50. package/dist/src/Services/EmailService.d.ts +12 -0
  51. package/dist/src/Services/EmailService.d.ts.map +1 -0
  52. package/dist/src/Services/ExportService.d.ts +25 -0
  53. package/dist/src/Services/ExportService.d.ts.map +1 -0
  54. package/dist/src/Services/Exporter/Download.d.ts +11 -0
  55. package/dist/src/Services/Exporter/Download.d.ts.map +1 -0
  56. package/dist/src/Services/Exporter/Errors/FailedToExport.d.ts +6 -0
  57. package/dist/src/Services/Exporter/Errors/FailedToExport.d.ts.map +1 -0
  58. package/dist/src/Services/Exporter/Errors/NotAllowedToExport.d.ts +6 -0
  59. package/dist/src/Services/Exporter/Errors/NotAllowedToExport.d.ts.map +1 -0
  60. package/dist/src/Services/Exporter/Errors/NotExists.d.ts +6 -0
  61. package/dist/src/Services/Exporter/Errors/NotExists.d.ts.map +1 -0
  62. package/dist/src/Services/Exporter/Errors/StillInProgress.d.ts +6 -0
  63. package/dist/src/Services/Exporter/Errors/StillInProgress.d.ts.map +1 -0
  64. package/dist/src/Services/FieldsService.d.ts +23 -0
  65. package/dist/src/Services/FieldsService.d.ts.map +1 -0
  66. package/dist/src/Services/FileService.d.ts +40 -0
  67. package/dist/src/Services/FileService.d.ts.map +1 -0
  68. package/dist/src/Services/FileServiceProviders/AWSFileServiceProvider.d.ts +4 -0
  69. package/dist/src/Services/FileServiceProviders/AWSFileServiceProvider.d.ts.map +1 -0
  70. package/dist/src/Services/FileServiceProviders/FileServiceProvider.d.ts +11 -0
  71. package/dist/src/Services/FileServiceProviders/FileServiceProvider.d.ts.map +1 -0
  72. package/dist/src/Services/FileServiceProviders/VaultFileServiceProvider.d.ts +24 -0
  73. package/dist/src/Services/FileServiceProviders/VaultFileServiceProvider.d.ts.map +1 -0
  74. package/dist/src/Services/FormService.d.ts +22 -0
  75. package/dist/src/Services/FormService.d.ts.map +1 -0
  76. package/dist/src/Services/HospitalService.d.ts +5 -0
  77. package/dist/src/Services/HospitalService.d.ts.map +1 -0
  78. package/dist/src/Services/I18nService.d.ts +23 -0
  79. package/dist/src/Services/I18nService.d.ts.map +1 -0
  80. package/dist/src/Services/LambdaService.d.ts +16 -0
  81. package/dist/src/Services/LambdaService.d.ts.map +1 -0
  82. package/dist/src/Services/MobileService.d.ts +14 -0
  83. package/dist/src/Services/MobileService.d.ts.map +1 -0
  84. package/dist/src/Services/NotificationService.d.ts +15 -0
  85. package/dist/src/Services/NotificationService.d.ts.map +1 -0
  86. package/dist/src/Services/PatientJourneyService.d.ts +37 -0
  87. package/dist/src/Services/PatientJourneyService.d.ts.map +1 -0
  88. package/dist/src/Services/PatientService.d.ts +28 -0
  89. package/dist/src/Services/PatientService.d.ts.map +1 -0
  90. package/dist/src/Services/PerseedAPIService.d.ts +12 -0
  91. package/dist/src/Services/PerseedAPIService.d.ts.map +1 -0
  92. package/dist/src/Services/PerseedEcosystemService.d.ts +7 -0
  93. package/dist/src/Services/PerseedEcosystemService.d.ts.map +1 -0
  94. package/dist/src/Services/PerseedService.d.ts +7 -0
  95. package/dist/src/Services/PerseedService.d.ts.map +1 -0
  96. package/dist/src/Services/ProcessLogService.d.ts +10 -0
  97. package/dist/src/Services/ProcessLogService.d.ts.map +1 -0
  98. package/dist/src/Services/ProfilingService.d.ts +6 -0
  99. package/dist/src/Services/ProfilingService.d.ts.map +1 -0
  100. package/dist/src/Services/ProjectService.d.ts +25 -0
  101. package/dist/src/Services/ProjectService.d.ts.map +1 -0
  102. package/dist/src/Services/PublisherService.d.ts +8 -0
  103. package/dist/src/Services/PublisherService.d.ts.map +1 -0
  104. package/dist/src/Services/QueryService.d.ts +17 -0
  105. package/dist/src/Services/QueryService.d.ts.map +1 -0
  106. package/dist/src/Services/QuestionnaireService.d.ts +12 -0
  107. package/dist/src/Services/QuestionnaireService.d.ts.map +1 -0
  108. package/dist/src/Services/RabbitQueueService.d.ts +9 -0
  109. package/dist/src/Services/RabbitQueueService.d.ts.map +1 -0
  110. package/dist/src/Services/RedisCacheService.d.ts +24 -0
  111. package/dist/src/Services/RedisCacheService.d.ts.map +1 -0
  112. package/dist/src/Services/RedisQueueService.d.ts +19 -0
  113. package/dist/src/Services/RedisQueueService.d.ts.map +1 -0
  114. package/dist/src/Services/SMSNotificationsService.d.ts +9 -0
  115. package/dist/src/Services/SMSNotificationsService.d.ts.map +1 -0
  116. package/dist/src/Services/ScheduledTasksService.d.ts +5 -0
  117. package/dist/src/Services/ScheduledTasksService.d.ts.map +1 -0
  118. package/dist/src/Services/Search/EmptyArray.d.ts +6 -0
  119. package/dist/src/Services/Search/EmptyArray.d.ts.map +1 -0
  120. package/dist/src/Services/Search/JsonParser.d.ts +6 -0
  121. package/dist/src/Services/Search/JsonParser.d.ts.map +1 -0
  122. package/dist/src/Services/Search/LogicalOperator.d.ts +8 -0
  123. package/dist/src/Services/Search/LogicalOperator.d.ts.map +1 -0
  124. package/dist/src/Services/Search/QueryBuilder.d.ts +9 -0
  125. package/dist/src/Services/Search/QueryBuilder.d.ts.map +1 -0
  126. package/dist/src/Services/Search/SearchParamValidator.d.ts +6 -0
  127. package/dist/src/Services/Search/SearchParamValidator.d.ts.map +1 -0
  128. package/dist/src/Services/Search/ValuesDb.d.ts +8 -0
  129. package/dist/src/Services/Search/ValuesDb.d.ts.map +1 -0
  130. package/dist/src/Services/SearchService.d.ts +8 -0
  131. package/dist/src/Services/SearchService.d.ts.map +1 -0
  132. package/dist/src/Services/SelectionFieldsService.d.ts +10 -0
  133. package/dist/src/Services/SelectionFieldsService.d.ts.map +1 -0
  134. package/dist/src/Services/SignedCookies/SignedCookies.d.ts +10 -0
  135. package/dist/src/Services/SignedCookies/SignedCookies.d.ts.map +1 -0
  136. package/dist/src/Services/SignedCookies/Validator.d.ts +17 -0
  137. package/dist/src/Services/SignedCookies/Validator.d.ts.map +1 -0
  138. package/dist/src/Services/TaskService.d.ts +11 -0
  139. package/dist/src/Services/TaskService.d.ts.map +1 -0
  140. package/dist/src/Services/TemplateService.d.ts +26 -0
  141. package/dist/src/Services/TemplateService.d.ts.map +1 -0
  142. package/dist/src/Services/TokenService.d.ts +7 -0
  143. package/dist/src/Services/TokenService.d.ts.map +1 -0
  144. package/dist/src/Services/TriggerService.d.ts +27 -0
  145. package/dist/src/Services/TriggerService.d.ts.map +1 -0
  146. package/dist/src/Services/TrxService.d.ts +25 -0
  147. package/dist/src/Services/TrxService.d.ts.map +1 -0
  148. package/dist/src/Services/UserService.d.ts +85 -0
  149. package/dist/src/Services/UserService.d.ts.map +1 -0
  150. package/dist/src/Services/ValidatorService.d.ts +12 -0
  151. package/dist/src/Services/ValidatorService.d.ts.map +1 -0
  152. package/dist/src/Services/cryptService.d.ts +6 -0
  153. package/dist/src/Services/cryptService.d.ts.map +1 -0
  154. package/dist/src/Services/tasks/InsertAggregateData.d.ts +5 -0
  155. package/dist/src/Services/tasks/InsertAggregateData.d.ts.map +1 -0
  156. package/dist/src/app.d.ts +4 -0
  157. package/dist/src/app.d.ts.map +1 -0
  158. package/dist/src/config/apiPublicKey.d.ts +5 -0
  159. package/dist/src/config/apiPublicKey.d.ts.map +1 -0
  160. package/dist/src/config/config.d.ts +28 -0
  161. package/dist/src/config/config.d.ts.map +1 -0
  162. package/dist/src/config/credentials/local.d.ts +3 -0
  163. package/dist/src/config/credentials/local.d.ts.map +1 -0
  164. package/dist/src/config/credentials/local_tmp.d.ts +3 -0
  165. package/dist/src/config/credentials/local_tmp.d.ts.map +1 -0
  166. package/dist/src/config/credentials/preproduction.d.ts +3 -0
  167. package/dist/src/config/credentials/preproduction.d.ts.map +1 -0
  168. package/dist/src/config/credentials/production.d.ts +3 -0
  169. package/dist/src/config/credentials/production.d.ts.map +1 -0
  170. package/dist/src/config/credentials/template.d.ts +3 -0
  171. package/dist/src/config/credentials/template.d.ts.map +1 -0
  172. package/dist/src/config/credentials/test.d.ts +110 -0
  173. package/dist/src/config/credentials/test.d.ts.map +1 -0
  174. package/dist/src/config/credentials/testing.d.ts +3 -0
  175. package/dist/src/config/credentials/testing.d.ts.map +1 -0
  176. package/dist/src/config/crypto.d.ts +13 -0
  177. package/dist/src/config/crypto.d.ts.map +1 -0
  178. package/dist/src/config/excludeFromQuery.d.ts +3 -0
  179. package/dist/src/config/excludeFromQuery.d.ts.map +1 -0
  180. package/dist/src/config/fileConfig.d.ts +12 -0
  181. package/dist/src/config/fileConfig.d.ts.map +1 -0
  182. package/dist/src/config/marketLinks.d.ts +8 -0
  183. package/dist/src/config/marketLinks.d.ts.map +1 -0
  184. package/dist/src/config/perseedAPI.d.ts +28 -0
  185. package/dist/src/config/perseedAPI.d.ts.map +1 -0
  186. package/dist/src/config/perseedCredentials.d.ts +117 -0
  187. package/dist/src/config/perseedCredentials.d.ts.map +1 -0
  188. package/dist/src/config/publicPath.d.ts +29 -0
  189. package/dist/src/config/publicPath.d.ts.map +1 -0
  190. package/dist/src/constants/Exporter.d.ts +12 -0
  191. package/dist/src/constants/Exporter.d.ts.map +1 -0
  192. package/dist/src/constants/Forms.d.ts +494 -0
  193. package/dist/src/constants/Forms.d.ts.map +1 -0
  194. package/dist/src/constants/NotifiedTypes.d.ts +9 -0
  195. package/dist/src/constants/NotifiedTypes.d.ts.map +1 -0
  196. package/dist/src/constants/PhoneCodes.d.ts +4 -0
  197. package/dist/src/constants/PhoneCodes.d.ts.map +1 -0
  198. package/dist/src/constants/Questionnaire.d.ts +57 -0
  199. package/dist/src/constants/Questionnaire.d.ts.map +1 -0
  200. package/dist/src/constants/Role.d.ts +7 -0
  201. package/dist/src/constants/Role.d.ts.map +1 -0
  202. package/dist/src/constants/SeedPrivilege.d.ts +51 -0
  203. package/dist/src/constants/SeedPrivilege.d.ts.map +1 -0
  204. package/dist/src/constants/UserProfile.d.ts +4 -0
  205. package/dist/src/constants/UserProfile.d.ts.map +1 -0
  206. package/dist/src/constants/View.d.ts +8 -0
  207. package/dist/src/constants/View.d.ts.map +1 -0
  208. package/dist/src/constants/datesFormats.d.ts +7 -0
  209. package/dist/src/constants/datesFormats.d.ts.map +1 -0
  210. package/dist/src/constants/index.d.ts +11 -0
  211. package/dist/src/constants/index.d.ts.map +1 -0
  212. package/dist/src/controllers/ApiActionController.d.ts +8 -0
  213. package/dist/src/controllers/ApiActionController.d.ts.map +1 -0
  214. package/dist/src/controllers/AuthController.d.ts +107 -0
  215. package/dist/src/controllers/AuthController.d.ts.map +1 -0
  216. package/dist/src/controllers/BulkUploadController.d.ts +6 -0
  217. package/dist/src/controllers/BulkUploadController.d.ts.map +1 -0
  218. package/dist/src/controllers/CalendarController.d.ts +36 -0
  219. package/dist/src/controllers/CalendarController.d.ts.map +1 -0
  220. package/dist/src/controllers/ConfigController.d.ts +15 -0
  221. package/dist/src/controllers/ConfigController.d.ts.map +1 -0
  222. package/dist/src/controllers/DashboardWidgetController.d.ts +10 -0
  223. package/dist/src/controllers/DashboardWidgetController.d.ts.map +1 -0
  224. package/dist/src/controllers/DocumentsController.d.ts +11 -0
  225. package/dist/src/controllers/DocumentsController.d.ts.map +1 -0
  226. package/dist/src/controllers/FileController.d.ts +15 -0
  227. package/dist/src/controllers/FileController.d.ts.map +1 -0
  228. package/dist/src/controllers/FormController.d.ts +49 -0
  229. package/dist/src/controllers/FormController.d.ts.map +1 -0
  230. package/dist/src/controllers/HealhDataController.d.ts +6 -0
  231. package/dist/src/controllers/HealhDataController.d.ts.map +1 -0
  232. package/dist/src/controllers/HospitalController.d.ts +7 -0
  233. package/dist/src/controllers/HospitalController.d.ts.map +1 -0
  234. package/dist/src/controllers/IntrospectionController.d.ts +9 -0
  235. package/dist/src/controllers/IntrospectionController.d.ts.map +1 -0
  236. package/dist/src/controllers/MobileController.d.ts +42 -0
  237. package/dist/src/controllers/MobileController.d.ts.map +1 -0
  238. package/dist/src/controllers/PatientController.d.ts +42 -0
  239. package/dist/src/controllers/PatientController.d.ts.map +1 -0
  240. package/dist/src/controllers/ProcessLogController.d.ts +8 -0
  241. package/dist/src/controllers/ProcessLogController.d.ts.map +1 -0
  242. package/dist/src/controllers/ProjectController.d.ts +26 -0
  243. package/dist/src/controllers/ProjectController.d.ts.map +1 -0
  244. package/dist/src/controllers/QueryController.d.ts +9 -0
  245. package/dist/src/controllers/QueryController.d.ts.map +1 -0
  246. package/dist/src/controllers/ReportController.d.ts +8 -0
  247. package/dist/src/controllers/ReportController.d.ts.map +1 -0
  248. package/dist/src/controllers/SelfRegistrationCodeController.d.ts +7 -0
  249. package/dist/src/controllers/SelfRegistrationCodeController.d.ts.map +1 -0
  250. package/dist/src/controllers/SubformController.d.ts +9 -0
  251. package/dist/src/controllers/SubformController.d.ts.map +1 -0
  252. package/dist/src/controllers/TokenController.d.ts +6 -0
  253. package/dist/src/controllers/TokenController.d.ts.map +1 -0
  254. package/dist/src/controllers/TriggerController.d.ts +11 -0
  255. package/dist/src/controllers/TriggerController.d.ts.map +1 -0
  256. package/dist/src/controllers/UserController.d.ts +33 -0
  257. package/dist/src/controllers/UserController.d.ts.map +1 -0
  258. package/dist/src/controllers/forms/NextController.d.ts +7 -0
  259. package/dist/src/controllers/forms/NextController.d.ts.map +1 -0
  260. package/dist/src/controllers/forms/QuestionnaireController.d.ts +52 -0
  261. package/dist/src/controllers/forms/QuestionnaireController.d.ts.map +1 -0
  262. package/dist/src/errors/ApiError.d.ts +32 -0
  263. package/dist/src/errors/ApiError.d.ts.map +1 -0
  264. package/dist/src/errors/EcosystemPoolError.d.ts +5 -0
  265. package/dist/src/errors/EcosystemPoolError.d.ts.map +1 -0
  266. package/dist/src/errors/EmailNotFoundError.d.ts +5 -0
  267. package/dist/src/errors/EmailNotFoundError.d.ts.map +1 -0
  268. package/dist/src/errors/PatientNotFoundError.d.ts +5 -0
  269. package/dist/src/errors/PatientNotFoundError.d.ts.map +1 -0
  270. package/dist/src/errors/PerseedPoolError.d.ts +5 -0
  271. package/dist/src/errors/PerseedPoolError.d.ts.map +1 -0
  272. package/dist/src/errors/ProjectPoolError.d.ts +5 -0
  273. package/dist/src/errors/ProjectPoolError.d.ts.map +1 -0
  274. package/dist/src/errors/QuestionnaireLockedError.d.ts +5 -0
  275. package/dist/src/errors/QuestionnaireLockedError.d.ts.map +1 -0
  276. package/dist/src/errors/SQLError.d.ts +6 -0
  277. package/dist/src/errors/SQLError.d.ts.map +1 -0
  278. package/dist/src/errors/public/PublicApiError.d.ts +7 -0
  279. package/dist/src/errors/public/PublicApiError.d.ts.map +1 -0
  280. package/dist/src/errors/public/PublicConflictError.d.ts +5 -0
  281. package/dist/src/errors/public/PublicConflictError.d.ts.map +1 -0
  282. package/dist/src/errors/public/PublicForbiddenError.d.ts +5 -0
  283. package/dist/src/errors/public/PublicForbiddenError.d.ts.map +1 -0
  284. package/dist/src/errors/public/PublicFormNotFoundError.d.ts +5 -0
  285. package/dist/src/errors/public/PublicFormNotFoundError.d.ts.map +1 -0
  286. package/dist/src/errors/public/PublicFormatNotAllowedError.d.ts +5 -0
  287. package/dist/src/errors/public/PublicFormatNotAllowedError.d.ts.map +1 -0
  288. package/dist/src/errors/public/PublicInvalidTokenError.d.ts +6 -0
  289. package/dist/src/errors/public/PublicInvalidTokenError.d.ts.map +1 -0
  290. package/dist/src/errors/public/PublicMFAError.d.ts +6 -0
  291. package/dist/src/errors/public/PublicMFAError.d.ts.map +1 -0
  292. package/dist/src/errors/public/PublicNotFoundError.d.ts +5 -0
  293. package/dist/src/errors/public/PublicNotFoundError.d.ts.map +1 -0
  294. package/dist/src/errors/public/PublicPermissionsError.d.ts +5 -0
  295. package/dist/src/errors/public/PublicPermissionsError.d.ts.map +1 -0
  296. package/dist/src/errors/public/PublicValidateError.d.ts +6 -0
  297. package/dist/src/errors/public/PublicValidateError.d.ts.map +1 -0
  298. package/dist/src/helpers/builders/fields.d.ts +3 -0
  299. package/dist/src/helpers/builders/fields.d.ts.map +1 -0
  300. package/dist/src/helpers/builders/index.d.ts +3 -0
  301. package/dist/src/helpers/builders/index.d.ts.map +1 -0
  302. package/dist/src/helpers/dashboards.d.ts +19 -0
  303. package/dist/src/helpers/dashboards.d.ts.map +1 -0
  304. package/dist/src/helpers/dates.d.ts +21 -0
  305. package/dist/src/helpers/dates.d.ts.map +1 -0
  306. package/dist/src/helpers/error.d.ts +6 -0
  307. package/dist/src/helpers/error.d.ts.map +1 -0
  308. package/dist/src/helpers/handlebarsHelper.d.ts +7 -0
  309. package/dist/src/helpers/handlebarsHelper.d.ts.map +1 -0
  310. package/dist/src/helpers/index.d.ts +10 -0
  311. package/dist/src/helpers/index.d.ts.map +1 -0
  312. package/dist/src/helpers/paging.d.ts +7 -0
  313. package/dist/src/helpers/paging.d.ts.map +1 -0
  314. package/dist/src/helpers/requests.d.ts +2 -0
  315. package/dist/src/helpers/requests.d.ts.map +1 -0
  316. package/dist/src/helpers/sql.d.ts +17 -0
  317. package/dist/src/helpers/sql.d.ts.map +1 -0
  318. package/dist/src/helpers/strings.d.ts +16 -0
  319. package/dist/src/helpers/strings.d.ts.map +1 -0
  320. package/dist/src/instrument.d.ts +2 -0
  321. package/dist/src/instrument.d.ts.map +1 -0
  322. package/dist/src/lib/HandlebarsAsyncHelper/AsyncHelpers.d.ts +3 -0
  323. package/dist/src/lib/HandlebarsAsyncHelper/AsyncHelpers.d.ts.map +1 -0
  324. package/dist/src/lib.d.ts +8 -0
  325. package/dist/src/lib.d.ts.map +1 -0
  326. package/dist/src/log/debug.d.ts +5 -0
  327. package/dist/src/log/debug.d.ts.map +1 -0
  328. package/dist/src/middlewares/httpContext.d.ts +21 -0
  329. package/dist/src/middlewares/httpContext.d.ts.map +1 -0
  330. package/dist/src/middlewares/scopes.d.ts +11 -0
  331. package/dist/src/middlewares/scopes.d.ts.map +1 -0
  332. package/dist/src/middlewares/security.d.ts +2 -0
  333. package/dist/src/middlewares/security.d.ts.map +1 -0
  334. package/dist/src/middlewares/validator.d.ts +6 -0
  335. package/dist/src/middlewares/validator.d.ts.map +1 -0
  336. package/dist/src/models/BaseModel.d.ts +8 -0
  337. package/dist/src/models/BaseModel.d.ts.map +1 -0
  338. package/dist/src/models/EcosystemUsers.d.ts +207 -0
  339. package/dist/src/models/EcosystemUsers.d.ts.map +1 -0
  340. package/dist/src/models/ecosystem/BatchUserData.d.ts +25 -0
  341. package/dist/src/models/ecosystem/BatchUserData.d.ts.map +1 -0
  342. package/dist/src/models/ecosystem/Clinic.d.ts +106 -0
  343. package/dist/src/models/ecosystem/Clinic.d.ts.map +1 -0
  344. package/dist/src/models/ecosystem/ConsentFilled.d.ts +52 -0
  345. package/dist/src/models/ecosystem/ConsentFilled.d.ts.map +1 -0
  346. package/dist/src/models/ecosystem/ConsentGeneral.d.ts +66 -0
  347. package/dist/src/models/ecosystem/ConsentGeneral.d.ts.map +1 -0
  348. package/dist/src/models/ecosystem/ConsentGroupMeta.d.ts +50 -0
  349. package/dist/src/models/ecosystem/ConsentGroupMeta.d.ts.map +1 -0
  350. package/dist/src/models/ecosystem/ConsentMeta.d.ts +39 -0
  351. package/dist/src/models/ecosystem/ConsentMeta.d.ts.map +1 -0
  352. package/dist/src/models/ecosystem/ConsentMetaFilled.d.ts +25 -0
  353. package/dist/src/models/ecosystem/ConsentMetaFilled.d.ts.map +1 -0
  354. package/dist/src/models/ecosystem/DashboardWidget.d.ts +125 -0
  355. package/dist/src/models/ecosystem/DashboardWidget.d.ts.map +1 -0
  356. package/dist/src/models/ecosystem/DashboardWidgetBlock.d.ts +52 -0
  357. package/dist/src/models/ecosystem/DashboardWidgetBlock.d.ts.map +1 -0
  358. package/dist/src/models/ecosystem/DeletionAudit.d.ts +65 -0
  359. package/dist/src/models/ecosystem/DeletionAudit.d.ts.map +1 -0
  360. package/dist/src/models/ecosystem/Ecosystem.d.ts +56 -0
  361. package/dist/src/models/ecosystem/Ecosystem.d.ts.map +1 -0
  362. package/dist/src/models/ecosystem/EcosystemConfig.d.ts +45 -0
  363. package/dist/src/models/ecosystem/EcosystemConfig.d.ts.map +1 -0
  364. package/dist/src/models/ecosystem/EcosystemUsers.d.ts +13 -0
  365. package/dist/src/models/ecosystem/EcosystemUsers.d.ts.map +1 -0
  366. package/dist/src/models/ecosystem/EmailTemplate.d.ts +66 -0
  367. package/dist/src/models/ecosystem/EmailTemplate.d.ts.map +1 -0
  368. package/dist/src/models/ecosystem/ExternalProject.d.ts +36 -0
  369. package/dist/src/models/ecosystem/ExternalProject.d.ts.map +1 -0
  370. package/dist/src/models/ecosystem/NotificationConfiguration.d.ts +117 -0
  371. package/dist/src/models/ecosystem/NotificationConfiguration.d.ts.map +1 -0
  372. package/dist/src/models/ecosystem/NotificationInfo.d.ts +90 -0
  373. package/dist/src/models/ecosystem/NotificationInfo.d.ts.map +1 -0
  374. package/dist/src/models/ecosystem/NotificationLog.d.ts +222 -0
  375. package/dist/src/models/ecosystem/NotificationLog.d.ts.map +1 -0
  376. package/dist/src/models/ecosystem/NotificationTemplate.d.ts +78 -0
  377. package/dist/src/models/ecosystem/NotificationTemplate.d.ts.map +1 -0
  378. package/dist/src/models/ecosystem/NotificationUserStatus.d.ts +60 -0
  379. package/dist/src/models/ecosystem/NotificationUserStatus.d.ts.map +1 -0
  380. package/dist/src/models/ecosystem/Outcome.d.ts +76 -0
  381. package/dist/src/models/ecosystem/Outcome.d.ts.map +1 -0
  382. package/dist/src/models/ecosystem/PerseedNotificationTemplate.d.ts +79 -0
  383. package/dist/src/models/ecosystem/PerseedNotificationTemplate.d.ts.map +1 -0
  384. package/dist/src/models/ecosystem/ProcessLog.d.ts +116 -0
  385. package/dist/src/models/ecosystem/ProcessLog.d.ts.map +1 -0
  386. package/dist/src/models/ecosystem/Profiling.d.ts +159 -0
  387. package/dist/src/models/ecosystem/Profiling.d.ts.map +1 -0
  388. package/dist/src/models/ecosystem/ProfilingAddRepeatCrf.d.ts +23 -0
  389. package/dist/src/models/ecosystem/ProfilingAddRepeatCrf.d.ts.map +1 -0
  390. package/dist/src/models/ecosystem/ProfilingConsent.d.ts +51 -0
  391. package/dist/src/models/ecosystem/ProfilingConsent.d.ts.map +1 -0
  392. package/dist/src/models/ecosystem/ProfilingDashboard.d.ts +30 -0
  393. package/dist/src/models/ecosystem/ProfilingDashboard.d.ts.map +1 -0
  394. package/dist/src/models/ecosystem/ProfilingDeleteRepeatCrf.d.ts +23 -0
  395. package/dist/src/models/ecosystem/ProfilingDeleteRepeatCrf.d.ts.map +1 -0
  396. package/dist/src/models/ecosystem/ProfilingEnableCp.d.ts +27 -0
  397. package/dist/src/models/ecosystem/ProfilingEnableCp.d.ts.map +1 -0
  398. package/dist/src/models/ecosystem/ProfilingPrivilegeDenied.d.ts +27 -0
  399. package/dist/src/models/ecosystem/ProfilingPrivilegeDenied.d.ts.map +1 -0
  400. package/dist/src/models/ecosystem/ProfilingSeedPrivilege.d.ts +33 -0
  401. package/dist/src/models/ecosystem/ProfilingSeedPrivilege.d.ts.map +1 -0
  402. package/dist/src/models/ecosystem/ProfilingSelected.d.ts +31 -0
  403. package/dist/src/models/ecosystem/ProfilingSelected.d.ts.map +1 -0
  404. package/dist/src/models/ecosystem/Project.d.ts +158 -0
  405. package/dist/src/models/ecosystem/Project.d.ts.map +1 -0
  406. package/dist/src/models/ecosystem/ProjectClinic.d.ts +34 -0
  407. package/dist/src/models/ecosystem/ProjectClinic.d.ts.map +1 -0
  408. package/dist/src/models/ecosystem/Role.d.ts +24 -0
  409. package/dist/src/models/ecosystem/Role.d.ts.map +1 -0
  410. package/dist/src/models/ecosystem/Seed.d.ts +46 -0
  411. package/dist/src/models/ecosystem/Seed.d.ts.map +1 -0
  412. package/dist/src/models/ecosystem/SeedPrivilege.d.ts +79 -0
  413. package/dist/src/models/ecosystem/SeedPrivilege.d.ts.map +1 -0
  414. package/dist/src/models/ecosystem/SelfRegistrationCode.d.ts +63 -0
  415. package/dist/src/models/ecosystem/SelfRegistrationCode.d.ts.map +1 -0
  416. package/dist/src/models/ecosystem/Tokens.d.ts +56 -0
  417. package/dist/src/models/ecosystem/Tokens.d.ts.map +1 -0
  418. package/dist/src/models/ecosystem/User.d.ts +349 -0
  419. package/dist/src/models/ecosystem/User.d.ts.map +1 -0
  420. package/dist/src/models/ecosystem/UserClinic.d.ts +44 -0
  421. package/dist/src/models/ecosystem/UserClinic.d.ts.map +1 -0
  422. package/dist/src/models/ecosystem/UserEcosystem.d.ts +23 -0
  423. package/dist/src/models/ecosystem/UserEcosystem.d.ts.map +1 -0
  424. package/dist/src/models/ecosystem/UserMobileApp.d.ts +57 -0
  425. package/dist/src/models/ecosystem/UserMobileApp.d.ts.map +1 -0
  426. package/dist/src/models/ecosystem/UserPatient.d.ts +83 -0
  427. package/dist/src/models/ecosystem/UserPatient.d.ts.map +1 -0
  428. package/dist/src/models/ecosystem/UserProfile.d.ts +160 -0
  429. package/dist/src/models/ecosystem/UserProfile.d.ts.map +1 -0
  430. package/dist/src/models/ecosystem/UserProfiling.d.ts +53 -0
  431. package/dist/src/models/ecosystem/UserProfiling.d.ts.map +1 -0
  432. package/dist/src/models/ecosystem/UserProject.d.ts +42 -0
  433. package/dist/src/models/ecosystem/UserProject.d.ts.map +1 -0
  434. package/dist/src/models/ecosystem/UserRole.d.ts +37 -0
  435. package/dist/src/models/ecosystem/UserRole.d.ts.map +1 -0
  436. package/dist/src/models/ecosystem/UserTrustedAccess.d.ts +59 -0
  437. package/dist/src/models/ecosystem/UserTrustedAccess.d.ts.map +1 -0
  438. package/dist/src/models/perseed/MFACode.d.ts +45 -0
  439. package/dist/src/models/perseed/MFACode.d.ts.map +1 -0
  440. package/dist/src/models/perseed/PerseedEcosystem.d.ts +54 -0
  441. package/dist/src/models/perseed/PerseedEcosystem.d.ts.map +1 -0
  442. package/dist/src/models/perseed/PerseedEmailTemplate.d.ts +8 -0
  443. package/dist/src/models/perseed/PerseedEmailTemplate.d.ts.map +1 -0
  444. package/dist/src/models/perseed/RawHealthRecord.d.ts +49 -0
  445. package/dist/src/models/perseed/RawHealthRecord.d.ts.map +1 -0
  446. package/dist/src/models/perseed/ScheduledTasks.d.ts +86 -0
  447. package/dist/src/models/perseed/ScheduledTasks.d.ts.map +1 -0
  448. package/dist/src/models/perseed/ScheduledTasksLog.d.ts +59 -0
  449. package/dist/src/models/perseed/ScheduledTasksLog.d.ts.map +1 -0
  450. package/dist/src/models/perseed/UserSettings.d.ts +91 -0
  451. package/dist/src/models/perseed/UserSettings.d.ts.map +1 -0
  452. package/dist/src/models/project/AbstractDisplayer.d.ts +34 -0
  453. package/dist/src/models/project/AbstractDisplayer.d.ts.map +1 -0
  454. package/dist/src/models/project/BulkUpload.d.ts +94 -0
  455. package/dist/src/models/project/BulkUpload.d.ts.map +1 -0
  456. package/dist/src/models/project/Categories.d.ts +18 -0
  457. package/dist/src/models/project/Categories.d.ts.map +1 -0
  458. package/dist/src/models/project/ConfigurationPatient.d.ts +56 -0
  459. package/dist/src/models/project/ConfigurationPatient.d.ts.map +1 -0
  460. package/dist/src/models/project/DesignerCrf.d.ts +290 -0
  461. package/dist/src/models/project/DesignerCrf.d.ts.map +1 -0
  462. package/dist/src/models/project/DesignerCrfMeta.d.ts +52 -0
  463. package/dist/src/models/project/DesignerCrfMeta.d.ts.map +1 -0
  464. package/dist/src/models/project/DesignerField.d.ts +222 -0
  465. package/dist/src/models/project/DesignerField.d.ts.map +1 -0
  466. package/dist/src/models/project/DesignerFieldMeta.d.ts +60 -0
  467. package/dist/src/models/project/DesignerFieldMeta.d.ts.map +1 -0
  468. package/dist/src/models/project/Displayer.d.ts +14 -0
  469. package/dist/src/models/project/Displayer.d.ts.map +1 -0
  470. package/dist/src/models/project/DisplayerMeta.d.ts +77 -0
  471. package/dist/src/models/project/DisplayerMeta.d.ts.map +1 -0
  472. package/dist/src/models/project/DisplayerMetaInfo.d.ts +44 -0
  473. package/dist/src/models/project/DisplayerMetaInfo.d.ts.map +1 -0
  474. package/dist/src/models/project/DisplayerPatient.d.ts +13 -0
  475. package/dist/src/models/project/DisplayerPatient.d.ts.map +1 -0
  476. package/dist/src/models/project/DisplayerSubformReference.d.ts +39 -0
  477. package/dist/src/models/project/DisplayerSubformReference.d.ts.map +1 -0
  478. package/dist/src/models/project/ExporterAudit.d.ts +104 -0
  479. package/dist/src/models/project/ExporterAudit.d.ts.map +1 -0
  480. package/dist/src/models/project/ExporterConfigNew.d.ts +28 -0
  481. package/dist/src/models/project/ExporterConfigNew.d.ts.map +1 -0
  482. package/dist/src/models/project/ExternalDisplayerCrf.d.ts +39 -0
  483. package/dist/src/models/project/ExternalDisplayerCrf.d.ts.map +1 -0
  484. package/dist/src/models/project/ExternalPatientProject.d.ts +63 -0
  485. package/dist/src/models/project/ExternalPatientProject.d.ts.map +1 -0
  486. package/dist/src/models/project/ExternalProjectFields.d.ts +26 -0
  487. package/dist/src/models/project/ExternalProjectFields.d.ts.map +1 -0
  488. package/dist/src/models/project/PatientPrograms.d.ts +91 -0
  489. package/dist/src/models/project/PatientPrograms.d.ts.map +1 -0
  490. package/dist/src/models/project/QueryDiscussion.d.ts +125 -0
  491. package/dist/src/models/project/QueryDiscussion.d.ts.map +1 -0
  492. package/dist/src/models/project/QueryDiscussionDes.d.ts +74 -0
  493. package/dist/src/models/project/QueryDiscussionDes.d.ts.map +1 -0
  494. package/dist/src/models/project/QuestionariesInfo.d.ts +300 -0
  495. package/dist/src/models/project/QuestionariesInfo.d.ts.map +1 -0
  496. package/dist/src/models/project/QuestionnairesInfoLog.d.ts +182 -0
  497. package/dist/src/models/project/QuestionnairesInfoLog.d.ts.map +1 -0
  498. package/dist/src/models/project/UploaderCategory.d.ts +27 -0
  499. package/dist/src/models/project/UploaderCategory.d.ts.map +1 -0
  500. package/dist/src/models/project/UploaderDocument.d.ts +86 -0
  501. package/dist/src/models/project/UploaderDocument.d.ts.map +1 -0
  502. package/dist/src/models/project/UploaderDocumentCategory.d.ts +48 -0
  503. package/dist/src/models/project/UploaderDocumentCategory.d.ts.map +1 -0
  504. package/dist/src/models/request/RequestContext.d.ts +89 -0
  505. package/dist/src/models/request/RequestContext.d.ts.map +1 -0
  506. package/dist/src/models/virtual/AuthenticationSecurity.d.ts +16 -0
  507. package/dist/src/models/virtual/AuthenticationSecurity.d.ts.map +1 -0
  508. package/dist/src/models/virtual/CRFs/meta/DependenceCRF.d.ts +16 -0
  509. package/dist/src/models/virtual/CRFs/meta/DependenceCRF.d.ts.map +1 -0
  510. package/dist/src/models/virtual/FieldValue.d.ts +22 -0
  511. package/dist/src/models/virtual/FieldValue.d.ts.map +1 -0
  512. package/dist/src/models/virtual/FormValue.d.ts +13 -0
  513. package/dist/src/models/virtual/FormValue.d.ts.map +1 -0
  514. package/dist/src/models/virtual/QuestionnaireCrf.d.ts +74 -0
  515. package/dist/src/models/virtual/QuestionnaireCrf.d.ts.map +1 -0
  516. package/dist/src/models/virtual/fields/meta/Dependence.d.ts +14 -0
  517. package/dist/src/models/virtual/fields/meta/Dependence.d.ts.map +1 -0
  518. package/dist/src/models/virtual/fields/meta/dependence/ConditionLine.d.ts +40 -0
  519. package/dist/src/models/virtual/fields/meta/dependence/ConditionLine.d.ts.map +1 -0
  520. package/dist/src/module.d.ts +32 -0
  521. package/dist/src/overrides.d.ts +9 -0
  522. package/dist/src/routes/auth/autohooks.d.ts +4 -0
  523. package/dist/src/routes/auth/autohooks.d.ts.map +1 -0
  524. package/dist/src/routes/auth/index.d.ts +4 -0
  525. package/dist/src/routes/auth/index.d.ts.map +1 -0
  526. package/dist/src/routes/ecosystem/_ecosystemName/clinic/index.d.ts +4 -0
  527. package/dist/src/routes/ecosystem/_ecosystemName/clinic/index.d.ts.map +1 -0
  528. package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/_id/index.d.ts +4 -0
  529. package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/_id/index.d.ts.map +1 -0
  530. package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/index.d.ts +4 -0
  531. package/dist/src/routes/ecosystem/_ecosystemName/dashboardWidget/index.d.ts.map +1 -0
  532. package/dist/src/routes/ecosystem/_ecosystemName/heartbeat/index.d.ts +4 -0
  533. package/dist/src/routes/ecosystem/_ecosystemName/heartbeat/index.d.ts.map +1 -0
  534. package/dist/src/routes/ecosystem/_ecosystemName/hospital/index.d.ts +7 -0
  535. package/dist/src/routes/ecosystem/_ecosystemName/hospital/index.d.ts.map +1 -0
  536. package/dist/src/routes/ecosystem/_ecosystemName/processLog/_id/index.d.ts +4 -0
  537. package/dist/src/routes/ecosystem/_ecosystemName/processLog/_id/index.d.ts.map +1 -0
  538. package/dist/src/routes/ecosystem/_ecosystemName/processLog/index.d.ts +4 -0
  539. package/dist/src/routes/ecosystem/_ecosystemName/processLog/index.d.ts.map +1 -0
  540. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts +4 -0
  541. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts.map +1 -0
  542. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/autohooks.d.ts +4 -0
  543. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/autohooks.d.ts.map +1 -0
  544. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/index.d.ts +4 -0
  545. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/_clinicId/index.d.ts.map +1 -0
  546. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/index.d.ts +4 -0
  547. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/clinic/index.d.ts.map +1 -0
  548. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/config/index.d.ts +4 -0
  549. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/config/index.d.ts.map +1 -0
  550. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/_id/index.d.ts +4 -0
  551. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/_id/index.d.ts.map +1 -0
  552. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/index.d.ts +4 -0
  553. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/dashboardWidget/index.d.ts.map +1 -0
  554. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/form/_formName/index.d.ts +4 -0
  555. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/form/_formName/index.d.ts.map +1 -0
  556. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/index.d.ts +4 -0
  557. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/index.d.ts.map +1 -0
  558. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/autohooks.d.ts +4 -0
  559. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/autohooks.d.ts.map +1 -0
  560. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/index.d.ts +4 -0
  561. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/_patientId/index.d.ts.map +1 -0
  562. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/autohooks.d.ts +4 -0
  563. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/autohooks.d.ts.map +1 -0
  564. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/index.d.ts +4 -0
  565. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/patient/byNumber/_patientNumber/index.d.ts.map +1 -0
  566. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/_id/index.d.ts +4 -0
  567. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/_id/index.d.ts.map +1 -0
  568. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/index.d.ts +4 -0
  569. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/processLog/index.d.ts.map +1 -0
  570. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/_id/index.d.ts +4 -0
  571. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/_id/index.d.ts.map +1 -0
  572. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/autohooks.d.ts +4 -0
  573. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/autohooks.d.ts.map +1 -0
  574. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/index.d.ts +4 -0
  575. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/trigger/index.d.ts.map +1 -0
  576. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/autohooks.d.ts +4 -0
  577. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/autohooks.d.ts.map +1 -0
  578. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/index.d.ts +4 -0
  579. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/_userId/index.d.ts.map +1 -0
  580. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/autohooks.d.ts +4 -0
  581. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/autohooks.d.ts.map +1 -0
  582. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/index.d.ts +4 -0
  583. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/contact/index.d.ts.map +1 -0
  584. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/index.d.ts +4 -0
  585. package/dist/src/routes/ecosystem/_ecosystemName/project/_projectName/user/index.d.ts.map +1 -0
  586. package/dist/src/routes/ecosystem/_ecosystemName/self-register/index.d.ts +4 -0
  587. package/dist/src/routes/ecosystem/_ecosystemName/self-register/index.d.ts.map +1 -0
  588. package/dist/src/routes/ecosystem/_ecosystemName/selfregister/index.d.ts +4 -0
  589. package/dist/src/routes/ecosystem/_ecosystemName/selfregister/index.d.ts.map +1 -0
  590. package/dist/src/routes/ecosystem/_ecosystemName/user/_userId/index.d.ts +4 -0
  591. package/dist/src/routes/ecosystem/_ecosystemName/user/_userId/index.d.ts.map +1 -0
  592. package/dist/src/routes/ecosystem/_ecosystemName/user/contact/index.d.ts +4 -0
  593. package/dist/src/routes/ecosystem/_ecosystemName/user/contact/index.d.ts.map +1 -0
  594. package/dist/src/routes/ecosystem/_ecosystemName/user/forget/index.d.ts +4 -0
  595. package/dist/src/routes/ecosystem/_ecosystemName/user/forget/index.d.ts.map +1 -0
  596. package/dist/src/routes/ecosystem/_ecosystemName/user/index.d.ts +4 -0
  597. package/dist/src/routes/ecosystem/_ecosystemName/user/index.d.ts.map +1 -0
  598. package/dist/src/routes/ecosystem/autohooks.d.ts +4 -0
  599. package/dist/src/routes/ecosystem/autohooks.d.ts.map +1 -0
  600. package/dist/src/routes/ecosystem/index.d.ts +4 -0
  601. package/dist/src/routes/ecosystem/index.d.ts.map +1 -0
  602. package/dist/src/routes/global/autohooks.d.ts +4 -0
  603. package/dist/src/routes/global/autohooks.d.ts.map +1 -0
  604. package/dist/src/routes/global/index.d.ts +4 -0
  605. package/dist/src/routes/global/index.d.ts.map +1 -0
  606. package/dist/src/routes/global/user/index.d.ts +4 -0
  607. package/dist/src/routes/global/user/index.d.ts.map +1 -0
  608. package/dist/src/routes/index.d.ts +4 -0
  609. package/dist/src/routes/index.d.ts.map +1 -0
  610. package/dist/src/routes/redirectToMarkets/index.d.ts +4 -0
  611. package/dist/src/routes/redirectToMarkets/index.d.ts.map +1 -0
  612. package/dist/src/routes/user/forget/index.d.ts +4 -0
  613. package/dist/src/routes/user/forget/index.d.ts.map +1 -0
  614. package/dist/src/routes/user/index.d.ts +4 -0
  615. package/dist/src/routes/user/index.d.ts.map +1 -0
  616. package/dist/src/schemas/api_action/ApiActionTypes.d.ts +15 -0
  617. package/dist/src/schemas/api_action/ApiActionTypes.d.ts.map +1 -0
  618. package/dist/src/schemas/api_action/index.d.ts +2 -0
  619. package/dist/src/schemas/api_action/index.d.ts.map +1 -0
  620. package/dist/src/schemas/authentication_security/index.d.ts +2 -0
  621. package/dist/src/schemas/authentication_security/index.d.ts.map +1 -0
  622. package/dist/src/schemas/authentication_security/types.d.ts +30 -0
  623. package/dist/src/schemas/authentication_security/types.d.ts.map +1 -0
  624. package/dist/src/schemas/bulk_upload/index.d.ts +2 -0
  625. package/dist/src/schemas/bulk_upload/index.d.ts.map +1 -0
  626. package/dist/src/schemas/bulk_upload/types.d.ts +12 -0
  627. package/dist/src/schemas/bulk_upload/types.d.ts.map +1 -0
  628. package/dist/{schemas → src/schemas}/bulk_upload/update_bulk_upload_payload.schema.json +3 -0
  629. package/dist/src/schemas/dashboard_widget/col.d.ts +26 -0
  630. package/dist/src/schemas/dashboard_widget/col.d.ts.map +1 -0
  631. package/dist/{schemas → src/schemas}/dashboard_widget/create_widget_payload.schema.json +85 -23
  632. package/dist/src/schemas/dashboard_widget/dataLoaders/Outcomes.d.ts +7 -0
  633. package/dist/src/schemas/dashboard_widget/dataLoaders/Outcomes.d.ts.map +1 -0
  634. package/dist/src/schemas/dashboard_widget/dataLoaders/index.d.ts +2 -0
  635. package/dist/src/schemas/dashboard_widget/dataLoaders/index.d.ts.map +1 -0
  636. package/dist/src/schemas/dashboard_widget/i18n.d.ts +6 -0
  637. package/dist/src/schemas/dashboard_widget/i18n.d.ts.map +1 -0
  638. package/dist/src/schemas/dashboard_widget/index.d.ts +5 -0
  639. package/dist/src/schemas/dashboard_widget/index.d.ts.map +1 -0
  640. package/dist/src/schemas/dashboard_widget/types.d.ts +130 -0
  641. package/dist/src/schemas/dashboard_widget/types.d.ts.map +1 -0
  642. package/dist/{schemas → src/schemas}/dashboard_widget/update_widget_payload.schema.json +85 -23
  643. package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts +6 -0
  644. package/dist/src/schemas/dashboard_widget/widgetTypes/DashboardProps.d.ts.map +1 -0
  645. package/dist/src/schemas/dashboard_widget/widgetTypes/PatientListProps.d.ts +89 -0
  646. package/dist/src/schemas/dashboard_widget/widgetTypes/PatientListProps.d.ts.map +1 -0
  647. package/dist/src/schemas/dashboard_widget/widgetTypes/SectionCardProps.d.ts +6 -0
  648. package/dist/src/schemas/dashboard_widget/widgetTypes/SectionCardProps.d.ts.map +1 -0
  649. package/dist/src/schemas/dashboard_widget/widgetTypes/ValueCardProps.d.ts +13 -0
  650. package/dist/src/schemas/dashboard_widget/widgetTypes/ValueCardProps.d.ts.map +1 -0
  651. package/dist/src/schemas/dashboard_widget/widgetTypes/index.d.ts +6 -0
  652. package/dist/src/schemas/dashboard_widget/widgetTypes/index.d.ts.map +1 -0
  653. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts +8 -0
  654. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/Generic.d.ts.map +1 -0
  655. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts +8 -0
  656. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconPresentationWidget.d.ts.map +1 -0
  657. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts +17 -0
  658. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/IconTextPresentationWidget.d.ts.map +1 -0
  659. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts +11 -0
  660. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/ListPresentationWidget.d.ts.map +1 -0
  661. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts +8 -0
  662. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/TextPresentationWidget.d.ts.map +1 -0
  663. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/index.d.ts +5 -0
  664. package/dist/src/schemas/dashboard_widget/widgetTypes/presentationWidgetTypes/index.d.ts.map +1 -0
  665. package/dist/src/schemas/designer_field/index.d.ts +2 -0
  666. package/dist/src/schemas/designer_field/index.d.ts.map +1 -0
  667. package/dist/src/schemas/designer_field/types.d.ts +26 -0
  668. package/dist/src/schemas/designer_field/types.d.ts.map +1 -0
  669. package/dist/src/schemas/forms/FormServicePayloads.d.ts +23 -0
  670. package/dist/src/schemas/forms/FormServicePayloads.d.ts.map +1 -0
  671. package/dist/src/schemas/forms/index.d.ts +2 -0
  672. package/dist/src/schemas/forms/index.d.ts.map +1 -0
  673. package/dist/src/schemas/index.d.ts +12 -0
  674. package/dist/src/schemas/index.d.ts.map +1 -0
  675. package/dist/src/schemas/notification_configuration/NotifiedAboutInfo.d.ts +15 -0
  676. package/dist/src/schemas/notification_configuration/NotifiedAboutInfo.d.ts.map +1 -0
  677. package/dist/src/schemas/notification_configuration/index.d.ts +3 -0
  678. package/dist/src/schemas/notification_configuration/index.d.ts.map +1 -0
  679. package/dist/src/schemas/notification_configuration/types.d.ts +105 -0
  680. package/dist/src/schemas/notification_configuration/types.d.ts.map +1 -0
  681. package/dist/src/schemas/outcomes/index.d.ts +2 -0
  682. package/dist/src/schemas/outcomes/index.d.ts.map +1 -0
  683. package/dist/src/schemas/outcomes/types.d.ts +32 -0
  684. package/dist/src/schemas/outcomes/types.d.ts.map +1 -0
  685. package/dist/src/schemas/process_log/index.d.ts +2 -0
  686. package/dist/src/schemas/process_log/index.d.ts.map +1 -0
  687. package/dist/src/schemas/process_log/types.d.ts +43 -0
  688. package/dist/src/schemas/process_log/types.d.ts.map +1 -0
  689. package/dist/src/schemas/questionnaire/index.d.ts +2 -0
  690. package/dist/src/schemas/questionnaire/index.d.ts.map +1 -0
  691. package/dist/src/schemas/questionnaire/types.d.ts +39 -0
  692. package/dist/src/schemas/questionnaire/types.d.ts.map +1 -0
  693. package/dist/src/schemas/user_settings/index.d.ts +2 -0
  694. package/dist/src/schemas/user_settings/index.d.ts.map +1 -0
  695. package/dist/src/schemas/user_settings/types.d.ts +6 -0
  696. package/dist/src/schemas/user_settings/types.d.ts.map +1 -0
  697. package/dist/src/server.d.ts +2 -0
  698. package/dist/src/server.d.ts.map +1 -0
  699. package/dist/src/types/JSONValue.d.ts +6 -0
  700. package/dist/src/types/JSONValue.d.ts.map +1 -0
  701. package/dist/src/types/ts-helpers.d.ts +2 -0
  702. package/dist/src/types/ts-helpers.d.ts.map +1 -0
  703. package/dist/src/v2/modules/ecosystem/user-access/index.d.ts +7 -0
  704. package/dist/src/v2/modules/ecosystem/user-access/index.d.ts.map +1 -0
  705. package/dist/src/v2/modules/ecosystem/user-access/user-access.controller.d.ts +8 -0
  706. package/dist/src/v2/modules/ecosystem/user-access/user-access.controller.d.ts.map +1 -0
  707. package/dist/src/v2/modules/ecosystem/user-access/user-access.helper.d.ts +5 -0
  708. package/dist/src/v2/modules/ecosystem/user-access/user-access.helper.d.ts.map +1 -0
  709. package/dist/src/v2/modules/ecosystem/user-access/user-access.middleware.d.ts +2 -0
  710. package/dist/src/v2/modules/ecosystem/user-access/user-access.middleware.d.ts.map +1 -0
  711. package/dist/src/v2/modules/ecosystem/user-access/user-access.model.d.ts +140 -0
  712. package/dist/src/v2/modules/ecosystem/user-access/user-access.model.d.ts.map +1 -0
  713. package/dist/src/v2/modules/ecosystem/user-access/user-access.schema.d.ts +45 -0
  714. package/dist/src/v2/modules/ecosystem/user-access/user-access.schema.d.ts.map +1 -0
  715. package/dist/src/v2/modules/ecosystem/user-access/user-access.service.d.ts +8 -0
  716. package/dist/src/v2/modules/ecosystem/user-access/user-access.service.d.ts.map +1 -0
  717. package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts +46 -0
  718. package/dist/src/v2/modules/global/api-error/api-error.schema.d.ts.map +1 -0
  719. package/dist/src/v2/modules/global/api-error/index.d.ts +2 -0
  720. package/dist/src/v2/modules/global/api-error/index.d.ts.map +1 -0
  721. package/dist/src/v2/modules/global/api-version/api-version.middleware.d.ts +2 -0
  722. package/dist/src/v2/modules/global/api-version/api-version.middleware.d.ts.map +1 -0
  723. package/dist/src/v2/modules/global/api-version/api-version.test.d.ts +2 -0
  724. package/dist/src/v2/modules/global/api-version/api-version.test.d.ts.map +1 -0
  725. package/dist/src/v2/modules/global/api-version/index.d.ts +2 -0
  726. package/dist/src/v2/modules/global/api-version/index.d.ts.map +1 -0
  727. package/dist/src/v2/modules/global/auth/auth.controller.d.ts +5 -0
  728. package/dist/src/v2/modules/global/auth/auth.controller.d.ts.map +1 -0
  729. package/dist/src/v2/modules/global/auth/auth.schema.d.ts +6 -0
  730. package/dist/src/v2/modules/global/auth/auth.schema.d.ts.map +1 -0
  731. package/dist/src/v2/modules/global/auth/index.d.ts +3 -0
  732. package/dist/src/v2/modules/global/auth/index.d.ts.map +1 -0
  733. package/dist/src/v2/modules/global/auth-token/auth-token.controller.d.ts +9 -0
  734. package/dist/src/v2/modules/global/auth-token/auth-token.controller.d.ts.map +1 -0
  735. package/dist/src/v2/modules/global/auth-token/auth-token.helper.d.ts +10 -0
  736. package/dist/src/v2/modules/global/auth-token/auth-token.helper.d.ts.map +1 -0
  737. package/dist/src/v2/modules/global/auth-token/auth-token.middleware.d.ts +14 -0
  738. package/dist/src/v2/modules/global/auth-token/auth-token.middleware.d.ts.map +1 -0
  739. package/dist/src/v2/modules/global/auth-token/index.d.ts +3 -0
  740. package/dist/src/v2/modules/global/auth-token/index.d.ts.map +1 -0
  741. package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.d.ts +6 -0
  742. package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.d.ts.map +1 -0
  743. package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.test.d.ts +2 -0
  744. package/dist/src/v2/modules/global/basic-auth/basic-auth.middleware.test.d.ts.map +1 -0
  745. package/dist/src/v2/modules/global/basic-auth/index.d.ts +2 -0
  746. package/dist/src/v2/modules/global/basic-auth/index.d.ts.map +1 -0
  747. package/dist/src/v2/modules/global/bullmq-admin/bullmq-admin.middleware.d.ts +5 -0
  748. package/dist/src/v2/modules/global/bullmq-admin/bullmq-admin.middleware.d.ts.map +1 -0
  749. package/dist/src/v2/modules/global/bullmq-admin/index.d.ts +2 -0
  750. package/dist/src/v2/modules/global/bullmq-admin/index.d.ts.map +1 -0
  751. package/dist/src/v2/modules/global/crypto/crypto.helper.d.ts +2 -0
  752. package/dist/src/v2/modules/global/crypto/crypto.helper.d.ts.map +1 -0
  753. package/dist/src/v2/modules/global/crypto/index.d.ts +2 -0
  754. package/dist/src/v2/modules/global/crypto/index.d.ts.map +1 -0
  755. package/dist/src/v2/modules/global/dates/dates.middleware.d.ts +2 -0
  756. package/dist/src/v2/modules/global/dates/dates.middleware.d.ts.map +1 -0
  757. package/dist/src/v2/modules/global/dates/index.d.ts +2 -0
  758. package/dist/src/v2/modules/global/dates/index.d.ts.map +1 -0
  759. package/dist/src/v2/modules/global/geoip/geoip.middleware.d.ts +9 -0
  760. package/dist/src/v2/modules/global/geoip/geoip.middleware.d.ts.map +1 -0
  761. package/dist/src/v2/modules/global/geoip/index.d.ts +2 -0
  762. package/dist/src/v2/modules/global/geoip/index.d.ts.map +1 -0
  763. package/dist/src/v2/modules/global/i18n/i18n.middleware.d.ts +5 -0
  764. package/dist/src/v2/modules/global/i18n/i18n.middleware.d.ts.map +1 -0
  765. package/dist/src/v2/modules/global/i18n/index.d.ts +2 -0
  766. package/dist/src/v2/modules/global/i18n/index.d.ts.map +1 -0
  767. package/dist/src/v2/modules/global/jsonlogic-to-sql/index.d.ts +2 -0
  768. package/dist/src/v2/modules/global/jsonlogic-to-sql/index.d.ts.map +1 -0
  769. package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.d.ts +42 -0
  770. package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.d.ts.map +1 -0
  771. package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.test.d.ts +2 -0
  772. package/dist/src/v2/modules/global/jsonlogic-to-sql/jsonlogic-to-sql.helper.test.d.ts.map +1 -0
  773. package/dist/src/v2/modules/global/objection/index.d.ts +2 -0
  774. package/dist/src/v2/modules/global/objection/index.d.ts.map +1 -0
  775. package/dist/src/v2/modules/global/objection/objection.helper.d.ts +14 -0
  776. package/dist/src/v2/modules/global/objection/objection.helper.d.ts.map +1 -0
  777. package/dist/src/v2/modules/global/pagination/index.d.ts +3 -0
  778. package/dist/src/v2/modules/global/pagination/index.d.ts.map +1 -0
  779. package/dist/src/v2/modules/global/pagination/lib.d.ts +2 -0
  780. package/dist/src/v2/modules/global/pagination/lib.d.ts.map +1 -0
  781. package/dist/src/v2/modules/global/pagination/pagination.helper.d.ts +4 -0
  782. package/dist/src/v2/modules/global/pagination/pagination.helper.d.ts.map +1 -0
  783. package/dist/src/v2/modules/global/pagination/pagination.schema.d.ts +12 -0
  784. package/dist/src/v2/modules/global/pagination/pagination.schema.d.ts.map +1 -0
  785. package/dist/src/v2/modules/global/request-context/index.d.ts +2 -0
  786. package/dist/src/v2/modules/global/request-context/index.d.ts.map +1 -0
  787. package/dist/src/v2/modules/global/request-context/request-context.middleware.d.ts +8 -0
  788. package/dist/src/v2/modules/global/request-context/request-context.middleware.d.ts.map +1 -0
  789. package/dist/src/v2/modules/global/request-fingerprint/index.d.ts +3 -0
  790. package/dist/src/v2/modules/global/request-fingerprint/index.d.ts.map +1 -0
  791. package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.d.ts +8 -0
  792. package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.middleware.d.ts.map +1 -0
  793. package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.schema.d.ts +11 -0
  794. package/dist/src/v2/modules/global/request-fingerprint/request-fingerprint.schema.d.ts.map +1 -0
  795. package/dist/src/v2/modules/global/request-id/index.d.ts +3 -0
  796. package/dist/src/v2/modules/global/request-id/index.d.ts.map +1 -0
  797. package/dist/src/v2/modules/global/request-id/request-id.helper.d.ts +3 -0
  798. package/dist/src/v2/modules/global/request-id/request-id.helper.d.ts.map +1 -0
  799. package/dist/src/v2/modules/global/request-id/request-id.middleware.d.ts +2 -0
  800. package/dist/src/v2/modules/global/request-id/request-id.middleware.d.ts.map +1 -0
  801. package/dist/src/v2/modules/global/request-log/index.d.ts +2 -0
  802. package/dist/src/v2/modules/global/request-log/index.d.ts.map +1 -0
  803. package/dist/src/v2/modules/global/request-log/request-log.middleware.d.ts +3 -0
  804. package/dist/src/v2/modules/global/request-log/request-log.middleware.d.ts.map +1 -0
  805. package/dist/src/v2/modules/global/request-time/index.d.ts +3 -0
  806. package/dist/src/v2/modules/global/request-time/index.d.ts.map +1 -0
  807. package/dist/src/v2/modules/global/request-time/request-time.helper.d.ts +2 -0
  808. package/dist/src/v2/modules/global/request-time/request-time.helper.d.ts.map +1 -0
  809. package/dist/src/v2/modules/global/request-time/request-time.middleware.d.ts +7 -0
  810. package/dist/src/v2/modules/global/request-time/request-time.middleware.d.ts.map +1 -0
  811. package/dist/src/v2/modules/project/document/document.model.d.ts +12 -0
  812. package/dist/src/v2/modules/project/document/document.model.d.ts.map +1 -0
  813. package/dist/src/v2/modules/project/document/document.schema.d.ts +6 -0
  814. package/dist/src/v2/modules/project/document/document.schema.d.ts.map +1 -0
  815. package/dist/src/v2/modules/project/document/index.d.ts +3 -0
  816. package/dist/src/v2/modules/project/document/index.d.ts.map +1 -0
  817. package/dist/src/v2/modules/project/document-category/document-category.controller.d.ts +5 -0
  818. package/dist/src/v2/modules/project/document-category/document-category.controller.d.ts.map +1 -0
  819. package/dist/src/v2/modules/project/document-category/document-category.controller.e2e.d.ts +2 -0
  820. package/dist/src/v2/modules/project/document-category/document-category.controller.e2e.d.ts.map +1 -0
  821. package/dist/src/v2/modules/project/document-category/document-category.controller.test.d.ts +2 -0
  822. package/dist/src/v2/modules/project/document-category/document-category.controller.test.d.ts.map +1 -0
  823. package/dist/src/v2/modules/project/document-category/document-category.model.d.ts +32 -0
  824. package/dist/src/v2/modules/project/document-category/document-category.model.d.ts.map +1 -0
  825. package/dist/src/v2/modules/project/document-category/document-category.schema.d.ts +26 -0
  826. package/dist/src/v2/modules/project/document-category/document-category.schema.d.ts.map +1 -0
  827. package/dist/src/v2/modules/project/document-category/document-category.service.d.ts +18 -0
  828. package/dist/src/v2/modules/project/document-category/document-category.service.d.ts.map +1 -0
  829. package/dist/src/v2/modules/project/document-category/document-category.service.test.d.ts +2 -0
  830. package/dist/src/v2/modules/project/document-category/document-category.service.test.d.ts.map +1 -0
  831. package/dist/src/v2/modules/project/document-category/index.d.ts +4 -0
  832. package/dist/src/v2/modules/project/document-category/index.d.ts.map +1 -0
  833. package/dist/src/v2/routes/v2/auth/index.d.ts +3 -0
  834. package/dist/src/v2/routes/v2/auth/index.d.ts.map +1 -0
  835. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/autohooks.d.ts +4 -0
  836. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/autohooks.d.ts.map +1 -0
  837. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/param.schema.d.ts +5 -0
  838. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/param.schema.d.ts.map +1 -0
  839. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts +4 -0
  840. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/autohooks.d.ts.map +1 -0
  841. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/document-category/index.d.ts +3 -0
  842. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/document-category/index.d.ts.map +1 -0
  843. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.d.ts +7 -0
  844. package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/params.schema.d.ts.map +1 -0
  845. package/dist/src/v2/test/e2e-config.d.ts +46 -0
  846. package/dist/src/v2/test/e2e-config.d.ts.map +1 -0
  847. package/dist/src/v2/test/e2e-helpers.d.ts +22 -0
  848. package/dist/src/v2/test/e2e-helpers.d.ts.map +1 -0
  849. package/dist/src/v2/test/e2e-setup.d.ts +8 -0
  850. package/dist/src/v2/test/e2e-setup.d.ts.map +1 -0
  851. package/dist/src/v2/test/test-helpers.d.ts +3 -0
  852. package/dist/src/v2/test/test-helpers.d.ts.map +1 -0
  853. package/dist/src/v2/test/test-setup.d.ts +8 -0
  854. package/dist/src/v2/test/test-setup.d.ts.map +1 -0
  855. package/dist/src/validators/questionnaire.validator.d.ts +2 -0
  856. package/dist/src/validators/questionnaire.validator.d.ts.map +1 -0
  857. package/dist/src/validators/user.validator.d.ts +6 -0
  858. package/dist/src/validators/user.validator.d.ts.map +1 -0
  859. package/dist/v1/perseed-api.cjs +1459 -0
  860. package/dist/v1/perseed-api.cjs.map +1 -0
  861. package/dist/v1/perseed-api.d.ts +1 -0
  862. package/dist/{perseed-api.mjs → v1/perseed-api.mjs} +347 -156
  863. package/dist/v1/perseed-api.mjs.map +1 -0
  864. package/package.json +36 -168
  865. package/dist/index.d.ts +0 -3073
  866. package/dist/perseed-api.umd.js +0 -1
  867. /package/dist/{schemas → src/schemas}/forms/create.schema.json +0 -0
  868. /package/dist/{schemas → src/schemas}/forms/update.schema.json +0 -0
  869. /package/dist/{schemas → src/schemas}/hospital/create.schema.json +0 -0
  870. /package/dist/{schemas → src/schemas}/mfa/mfa-login-data.schema.json +0 -0
  871. /package/dist/{schemas → src/schemas}/mobile/searchnotificationstatus.schema.json +0 -0
  872. /package/dist/{schemas → src/schemas}/notification_configuration/create_trigger_payload.schema.json +0 -0
  873. /package/dist/{schemas → src/schemas}/notification_configuration/update_trigger_payload.schema.json +0 -0
  874. /package/dist/{schemas → src/schemas}/patient/createFullPatient.schema.json +0 -0
  875. /package/dist/{schemas → src/schemas}/patient/createPatient.schema.json +0 -0
  876. /package/dist/{schemas → src/schemas}/process_log/create_process_log_payload.schema.json +0 -0
  877. /package/dist/{schemas → src/schemas}/process_log/update_process_log_payload.schema.json +0 -0
  878. /package/dist/{schemas → src/schemas}/project/createCategory.schema.json +0 -0
  879. /package/dist/{schemas → src/schemas}/project/export.schema.json +0 -0
  880. /package/dist/{schemas → src/schemas}/project/uploadDocument.schema.json +0 -0
  881. /package/dist/{schemas → src/schemas}/query/patch.schema.json +0 -0
  882. /package/dist/{schemas → src/schemas}/questionnaire/createQuestionnaire.schema.json +0 -0
  883. /package/dist/{schemas → src/schemas}/subform/create.schema.json +0 -0
  884. /package/dist/{schemas → src/schemas}/subform/update.schema.json +0 -0
  885. /package/dist/{schemas → src/schemas}/user_settings/APP_FONT_FACTOR.schema.json +0 -0
  886. /package/dist/{schemas → src/schemas}/user_settings/AUTH_SECURITY_CONFIG.schema.json +0 -0
  887. /package/dist/{schemas → src/schemas}/user_settings/GenericBooleanSetting.schema.json +0 -0
  888. /package/dist/{schemas → src/schemas}/users/activate.schema.json +0 -0
  889. /package/dist/{schemas → src/schemas}/users/contact.schema.json +0 -0
  890. /package/dist/{schemas → src/schemas}/users/create.schema.json +0 -0
  891. /package/dist/{schemas → src/schemas}/users/password.schema.json +0 -0
  892. /package/dist/{schemas → src/schemas}/users/selfregister.schema.json +0 -0
  893. /package/dist/{schemas → src/schemas}/users/unlinkProject.schema.json +0 -0
@@ -0,0 +1,117 @@
1
+ import { default as Objection } from 'objection';
2
+ import { default as Ecosystem } from './Ecosystem';
3
+ import { default as NotificationInfo } from './NotificationInfo';
4
+ import { default as Project } from './Project';
5
+ import { default as BaseModel } from '../BaseModel';
6
+ import { default as RequestContext } from '../request/RequestContext';
7
+ import { default as User } from './User';
8
+ import { NotificationConfigurationConf, TriggerAction } from '../../schemas/notification_configuration/types';
9
+ import { ApiActionContextData } from '../../schemas/api_action/ApiActionTypes';
10
+ import { default as ProcessLog } from './ProcessLog';
11
+ export declare const ValidTriggerModels: string[];
12
+ export default class NotificationConfiguration extends BaseModel {
13
+ project_id: number;
14
+ ecosystem_id: number;
15
+ user_id: number | null;
16
+ notified_about: string;
17
+ language?: string | null;
18
+ roles: string;
19
+ text_content: string;
20
+ project: Project;
21
+ notification_info: NotificationInfo[];
22
+ ecosystem: Ecosystem;
23
+ procedure_condition_meta_id?: number;
24
+ configuration?: NotificationConfigurationConf | null;
25
+ static get tableName(): string;
26
+ static get jsonSchema(): {
27
+ type: string;
28
+ properties: {
29
+ id: {
30
+ type: string;
31
+ };
32
+ project_id: {
33
+ type: string;
34
+ };
35
+ ecosystem_id: {
36
+ type: string;
37
+ };
38
+ user_id: {
39
+ oneOf: {
40
+ type: string;
41
+ }[];
42
+ };
43
+ notified_about: {
44
+ type: string;
45
+ };
46
+ roles: {
47
+ type: string;
48
+ };
49
+ language: {
50
+ oneOf: {
51
+ type: string;
52
+ }[];
53
+ };
54
+ text_content: {
55
+ type: string;
56
+ };
57
+ procedure_condition_meta_id: {
58
+ oneOf: {
59
+ type: string;
60
+ }[];
61
+ };
62
+ configuration: {
63
+ oneOf: {
64
+ type: string;
65
+ }[];
66
+ };
67
+ };
68
+ };
69
+ static get relationMappings(): {
70
+ project: {
71
+ relation: Objection.RelationType;
72
+ modelClass: string;
73
+ join: {
74
+ from: string;
75
+ to: string;
76
+ };
77
+ };
78
+ notification_info: {
79
+ relation: Objection.RelationType;
80
+ modelClass: string;
81
+ join: {
82
+ from: string;
83
+ to: string;
84
+ };
85
+ };
86
+ ecosystem: {
87
+ relation: Objection.RelationType;
88
+ modelClass: string;
89
+ join: {
90
+ from: string;
91
+ to: string;
92
+ };
93
+ };
94
+ };
95
+ static getModel(ctx: RequestContext): typeof NotificationConfiguration;
96
+ static insert(ctx: RequestContext, data: Objection.PartialModelObject<NotificationConfiguration>, fullResponse: true): Promise<NotificationConfiguration>;
97
+ static insert(ctx: RequestContext, data: Objection.PartialModelObject<NotificationConfiguration>): Promise<number>;
98
+ static getTriggers(ctx: RequestContext, action: TriggerAction, modelName: string, modelTrigger?: boolean): Promise<NotificationConfiguration[]>;
99
+ static getNotificationConfigurationById(ctx: RequestContext, id: number): Objection.QueryBuilder<NotificationConfiguration, NotificationConfiguration | undefined>;
100
+ static getByProjectId(ctx: RequestContext, projectId: number): Objection.QueryBuilder<NotificationConfiguration, NotificationConfiguration[]>;
101
+ getModelByName(ctx: RequestContext, modelName?: string): Promise<typeof import('../project/AbstractDisplayer').default | typeof User | typeof ProcessLog | undefined>;
102
+ crfName(): string | null;
103
+ actionTrigger(): TriggerAction | null;
104
+ isCrfTrigger(): boolean;
105
+ isModelTrigger(): boolean;
106
+ isDisplayerTrigger(): boolean;
107
+ isFieldTrigger(): boolean;
108
+ getModelName(): string | undefined;
109
+ getModelJoin(): string[];
110
+ addJoinDataToModels(ctx: RequestContext, context: ApiActionContextData): Promise<ApiActionContextData>;
111
+ isFulfilled(ctx: RequestContext, modelOrFormName: string, action: TriggerAction, current: Record<string, unknown>, old?: Record<string, unknown>): Promise<boolean>;
112
+ addPatientToContext(ctx: RequestContext, context: ApiActionContextData): Promise<ApiActionContextData>;
113
+ getContextData(ctx: RequestContext, current: Record<string, unknown>, old?: Record<string, unknown> | null): Promise<ApiActionContextData>;
114
+ private isModelFulfilled;
115
+ private isCrfFulfilled;
116
+ }
117
+ //# sourceMappingURL=NotificationConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/models/ecosystem/NotificationConfiguration.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,90 @@
1
+ import { default as Objection } from 'objection';
2
+ import { default as NotificationConfiguration } from './NotificationConfiguration';
3
+ import { default as UserProfiling } from './UserProfiling';
4
+ import { default as BaseModel } from '../BaseModel';
5
+ import { default as RequestContext } from '../request/RequestContext';
6
+ import { ApiAction } from '../../schemas/notification_configuration/types';
7
+ export declare enum NotificationInfoNotified {
8
+ EMAIL = 1,
9
+ PUSH_NOTIFICATION = 2,
10
+ PLATFORM = 3,
11
+ SMS = 4,
12
+ HL7 = 5,
13
+ OCR = 6,
14
+ EXPORTER_EMAIL = 7,
15
+ SCORING = 8,
16
+ ACTION = 9
17
+ }
18
+ export default class NotificationInfo extends BaseModel {
19
+ subject: string | ApiAction;
20
+ sender: string;
21
+ sender_name: string;
22
+ email: string;
23
+ send_to: number;
24
+ notified: number;
25
+ profile_id: number;
26
+ configuration_id: number;
27
+ notification_configuration: NotificationConfiguration;
28
+ user_profiling: UserProfiling[];
29
+ static get tableName(): string;
30
+ static get jsonSchema(): {
31
+ type: string;
32
+ properties: {
33
+ id: {
34
+ type: string;
35
+ };
36
+ subject: {
37
+ type: string;
38
+ };
39
+ sender: {
40
+ type: string;
41
+ };
42
+ sender_name: {
43
+ type: string;
44
+ };
45
+ email: {
46
+ type: string;
47
+ };
48
+ send_to: {
49
+ type: string;
50
+ };
51
+ notified: {
52
+ type: string;
53
+ };
54
+ profile_id: {
55
+ type: string;
56
+ };
57
+ configuration_id: {
58
+ type: string;
59
+ };
60
+ };
61
+ };
62
+ static get relationMappings(): {
63
+ notification_configuration: {
64
+ relation: Objection.RelationType;
65
+ modelClass: string;
66
+ join: {
67
+ from: string;
68
+ to: string;
69
+ };
70
+ };
71
+ user_profiling: {
72
+ relation: Objection.RelationType;
73
+ modelClass: string;
74
+ join: {
75
+ from: string;
76
+ to: string;
77
+ };
78
+ };
79
+ };
80
+ static getModel(ctx: RequestContext): typeof NotificationInfo;
81
+ static getByConfigurationId(ctx: RequestContext, configurationId: any): Objection.QueryBuilder<NotificationInfo, NotificationInfo | undefined>;
82
+ static insert(ctx: RequestContext, data: Objection.PartialModelObject<NotificationInfo>): Promise<number>;
83
+ /**
84
+ * Get the ID and its configuration ID of a notification for a certain type, about and recipient in a project
85
+ */
86
+ static getNotificationConfiguration(ctx: RequestContext, projectId: number, sendTo: number, notifiedAbout: string, notifiedType: number): Promise<NotificationInfo | undefined>;
87
+ static getSmsConfiguration(ctx: RequestContext): Promise<NotificationInfo | undefined>;
88
+ static getSmsConfigurationFor(ctx: RequestContext, language: any, projectId: any): Promise<NotificationInfo | undefined>;
89
+ }
90
+ //# sourceMappingURL=NotificationInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationInfo.d.ts","sourceRoot":"","sources":["../../../../../src/models/ecosystem/NotificationInfo.ts"],"names":[],"mappings":"AAAA,OAAO,SAAoB,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,yBAAyB,MAAM,6BAA6B,CAAA;AACxE,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAA;AAEhD,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,cAAc,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAA;AAE1E,oBAAY,wBAAwB;IAClC,KAAK,IAAI;IACT,iBAAiB,IAAI;IACrB,QAAQ,IAAI;IACZ,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,cAAc,IAAI;IAClB,OAAO,IAAI;IACX,MAAM,IAAI;CACX;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAS;IACrD,OAAO,EAAG,MAAM,GAAG,SAAS,CAAA;IAC5B,MAAM,EAAG,MAAM,CAAA;IACf,WAAW,EAAG,MAAM,CAAA;IACpB,KAAK,EAAG,MAAM,CAAA;IACd,OAAO,EAAG,MAAM,CAAA;IAChB,QAAQ,EAAG,MAAM,CAAA;IACjB,UAAU,EAAG,MAAM,CAAA;IACnB,gBAAgB,EAAG,MAAM,CAAA;IACzB,0BAA0B,EAAG,yBAAyB,CAAA;IACtD,cAAc,EAAG,aAAa,EAAE,CAAA;IAEhC,MAAM,KAAK,SAAS,WAEnB;IAED,MAAM,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAepB;IAED,MAAM,KAAK,gBAAgB;;;;;;;;;;;;;;;;;MAmB1B;IAED,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;IAInC,MAAM,CAAC,oBAAoB,CAAC,GAAG,EAAE,cAAc,EAAE,eAAe,EAAE,GAAG;WAUxD,MAAM,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IAM/G;;OAEG;WACU,4BAA4B,CACvC,GAAG,EAAE,cAAc,EACnB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,MAAM;WAYT,mBAAmB,CAAC,GAAG,EAAE,cAAc;WASvC,sBAAsB,CAAC,GAAG,EAAE,cAAc,EAAE,QAAQ,KAAA,EAAE,SAAS,KAAA;CAU7E"}
@@ -0,0 +1,222 @@
1
+ import { default as Objection } from 'objection';
2
+ import { default as NotificationConfiguration } from './NotificationConfiguration';
3
+ import { default as NotificationUserStatus } from './NotificationUserStatus';
4
+ import { default as BaseModel } from '../BaseModel';
5
+ import { default as RequestContext } from '../request/RequestContext';
6
+ export declare enum NotificationLogType {
7
+ REMINDER = "reminder",
8
+ SPECIFIC = "specific"
9
+ }
10
+ export interface NotificationLogInput extends Omit<NotificationLog, 'notification_configuration_id' | 'send_to'> {
11
+ notification_config_id: number | null;
12
+ recipient: number;
13
+ }
14
+ export default class NotificationLog extends BaseModel {
15
+ status: number;
16
+ user_id: number;
17
+ notification_configuration_id: number | null;
18
+ message: string;
19
+ created_at?: number;
20
+ role: string;
21
+ send_to: number;
22
+ project_id: number;
23
+ manual_notified_from: number;
24
+ subject: string;
25
+ description: string;
26
+ detail: string;
27
+ text_color: string;
28
+ type_of_button: string;
29
+ notified: number;
30
+ notified_about: string;
31
+ type: string;
32
+ number: string;
33
+ url: string;
34
+ label: string;
35
+ model: string;
36
+ model_id: number;
37
+ notification_configuration: NotificationConfiguration;
38
+ notification_status?: NotificationUserStatus;
39
+ date?: string;
40
+ expiration_date?: Date;
41
+ patient_id?: any;
42
+ static get tableName(): string;
43
+ static get jsonSchema(): {
44
+ type: string;
45
+ required: string[];
46
+ properties: {
47
+ id: {
48
+ type: string;
49
+ };
50
+ status: {
51
+ type: string;
52
+ default: number;
53
+ minimum: number;
54
+ maximum: number;
55
+ };
56
+ user_id: {
57
+ type: string;
58
+ };
59
+ notification_configuration_id: {
60
+ oneOf: {
61
+ type: string;
62
+ }[];
63
+ };
64
+ message: {
65
+ type: string;
66
+ };
67
+ created_at: {
68
+ type: string;
69
+ };
70
+ role: {
71
+ type: string;
72
+ };
73
+ send_to: {
74
+ type: string;
75
+ };
76
+ project_id: {
77
+ type: string;
78
+ };
79
+ manual_notified_from: {
80
+ type: string;
81
+ };
82
+ subject: {
83
+ type: string;
84
+ };
85
+ description: {
86
+ type: string;
87
+ };
88
+ detail: {
89
+ type: string;
90
+ };
91
+ text_color: {
92
+ type: string;
93
+ };
94
+ type_of_button: {
95
+ type: string;
96
+ };
97
+ notified: {
98
+ type: string;
99
+ };
100
+ notified_about: {
101
+ type: string;
102
+ };
103
+ type: {
104
+ type: string;
105
+ };
106
+ number: {
107
+ type: string;
108
+ };
109
+ url: {
110
+ type: string;
111
+ };
112
+ label: {
113
+ type: string;
114
+ };
115
+ model: {
116
+ type: string;
117
+ };
118
+ model_id: {
119
+ type: string;
120
+ };
121
+ expiration_date: {
122
+ oneOf: ({
123
+ type: string;
124
+ format: string;
125
+ } | {
126
+ type: string;
127
+ format?: undefined;
128
+ })[];
129
+ };
130
+ };
131
+ };
132
+ static get relationMappings(): {
133
+ notification_configuration: {
134
+ relation: Objection.RelationType;
135
+ modelClass: string;
136
+ join: {
137
+ from: string;
138
+ to: string;
139
+ };
140
+ };
141
+ notification_status: {
142
+ relation: Objection.RelationType;
143
+ modelClass: string;
144
+ join: {
145
+ from: string;
146
+ to: string;
147
+ };
148
+ };
149
+ };
150
+ static getModel(ctx: RequestContext): typeof NotificationLog;
151
+ static insert(ctx: RequestContext, data: Objection.PartialModelObject<NotificationLogInput>): Promise<number>;
152
+ static getNotificationList(ctx: RequestContext, filter?: Objection.PartialModelObject<NotificationLog>, showExpired?: boolean): Objection.QueryBuilder<NotificationLog, NotificationLog[]>;
153
+ static getNotificationsListByProject(ctx: RequestContext, notifiedType: string[], projectId: number, showExpired?: boolean, loadPatientNumber?: boolean, notificationConfigurationId?: string[]): Promise<NotificationLog[] | {
154
+ patient_number: string | null;
155
+ status: number;
156
+ user_id: number;
157
+ notification_configuration_id: number | null;
158
+ message: string;
159
+ created_at?: number;
160
+ role: string;
161
+ send_to: number;
162
+ project_id: number;
163
+ manual_notified_from: number;
164
+ subject: string;
165
+ description: string;
166
+ detail: string;
167
+ text_color: string;
168
+ type_of_button: string;
169
+ notified: number;
170
+ notified_about: string;
171
+ type: string;
172
+ number: string;
173
+ url: string;
174
+ label: string;
175
+ model: string;
176
+ model_id: number;
177
+ notification_configuration: NotificationConfiguration;
178
+ notification_status?: NotificationUserStatus;
179
+ date?: string;
180
+ expiration_date?: Date;
181
+ patient_id?: any;
182
+ id: number;
183
+ $modelClass: Objection.ModelClass<NotificationLog>;
184
+ QueryBuilderType: Objection.QueryBuilder<NotificationLog, NotificationLog[]>;
185
+ }[]>;
186
+ static getNotificationsListByProjectAndByNotificationConfigurationId(ctx: RequestContext, notifiedType: string[], notificationConfigurationId: string[], projectId: number, showExpired?: boolean, loadPatientNumber?: boolean): Promise<NotificationLog[] | {
187
+ patient_number: string | null;
188
+ status: number;
189
+ user_id: number;
190
+ notification_configuration_id: number | null;
191
+ message: string;
192
+ created_at?: number;
193
+ role: string;
194
+ send_to: number;
195
+ project_id: number;
196
+ manual_notified_from: number;
197
+ subject: string;
198
+ description: string;
199
+ detail: string;
200
+ text_color: string;
201
+ type_of_button: string;
202
+ notified: number;
203
+ notified_about: string;
204
+ type: string;
205
+ number: string;
206
+ url: string;
207
+ label: string;
208
+ model: string;
209
+ model_id: number;
210
+ notification_configuration: NotificationConfiguration;
211
+ notification_status?: NotificationUserStatus;
212
+ date?: string;
213
+ expiration_date?: Date;
214
+ patient_id?: any;
215
+ id: number;
216
+ $modelClass: Objection.ModelClass<NotificationLog>;
217
+ QueryBuilderType: Objection.QueryBuilder<NotificationLog, NotificationLog[]>;
218
+ }[]>;
219
+ static getNotificationsListPaging(ctx: RequestContext, page: number, pageSize: number, filter?: Objection.PartialModelObject<NotificationLog>, showExpired?: boolean): Promise<Objection.Page<NotificationLog>>;
220
+ static questionnaireCompleted(ctx: RequestContext, userId: number, questionnaireId: number): Promise<boolean>;
221
+ }
222
+ //# sourceMappingURL=NotificationLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationLog.d.ts","sourceRoot":"","sources":["../../../../../src/models/ecosystem/NotificationLog.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,78 @@
1
+ import { default as Objection } from 'objection';
2
+ import { default as RequestContext } from '../request/RequestContext';
3
+ import { default as PerseedNotificationTemplate } from './PerseedNotificationTemplate';
4
+ export declare enum NotificationType {
5
+ SMS = "sms",
6
+ EMAIL = "email"
7
+ }
8
+ export default class NotificationTemplate extends PerseedNotificationTemplate {
9
+ project_id?: number;
10
+ static get tableName(): string;
11
+ static get jsonSchema(): {
12
+ properties: {
13
+ project_id: {
14
+ oneOf: {
15
+ type: string;
16
+ }[];
17
+ };
18
+ id: {
19
+ type: string;
20
+ };
21
+ language: {
22
+ type: string;
23
+ maxLength: number;
24
+ };
25
+ notification_type: {
26
+ type: string;
27
+ maxLength: number;
28
+ };
29
+ type: {
30
+ type: string;
31
+ maxLength: number;
32
+ };
33
+ sender: {
34
+ oneOf: ({
35
+ type: string;
36
+ maxLength: number;
37
+ } | {
38
+ type: string;
39
+ maxLength?: undefined;
40
+ })[];
41
+ };
42
+ sender_name: {
43
+ oneOf: ({
44
+ type: string;
45
+ maxLength: number;
46
+ } | {
47
+ type: string;
48
+ maxLength?: undefined;
49
+ })[];
50
+ };
51
+ subject: {
52
+ oneOf: {
53
+ type: string;
54
+ }[];
55
+ };
56
+ template: {
57
+ oneOf: {
58
+ type: string;
59
+ }[];
60
+ };
61
+ is_sent_create_proposal: {
62
+ type: string;
63
+ };
64
+ active: {
65
+ type: string;
66
+ };
67
+ options: {
68
+ oneOf: {
69
+ type: string;
70
+ }[];
71
+ };
72
+ };
73
+ type: string;
74
+ };
75
+ static getModel(ctx: RequestContext): typeof NotificationTemplate;
76
+ static getModelByPool(ecosystemPool: Objection.TransactionOrKnex): typeof NotificationTemplate;
77
+ }
78
+ //# sourceMappingURL=NotificationTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationTemplate.d.ts","sourceRoot":"","sources":["../../../../../src/models/ecosystem/NotificationTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAA;AACjC,OAAO,cAAc,MAAM,2BAA2B,CAAA;AACtD,OAAO,2BAA2B,MAAM,+BAA+B,CAAA;AAEvE,oBAAY,gBAAgB;IAC1B,GAAG,QAAQ;IACX,KAAK,UAAU;CAChB;AAED,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,2BAA2B;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,MAAM,KAAK,SAAS,WAEnB;IAED,MAAM,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQpB;IAED,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;IAInC,MAAM,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,CAAC,iBAAiB;CAGjE"}
@@ -0,0 +1,60 @@
1
+ import { default as NotificationLog } from './NotificationLog';
2
+ import { default as BaseModel } from '../BaseModel';
3
+ import { default as RequestContext } from '../request/RequestContext';
4
+ export default class NotificationUserStatus extends BaseModel {
5
+ status: number;
6
+ deleted: number;
7
+ user_id: number | null;
8
+ notification_log_id: number | null;
9
+ notification_log: NotificationLog;
10
+ static get tableName(): string;
11
+ static get jsonSchema(): {
12
+ type: string;
13
+ required: string[];
14
+ properties: {
15
+ id: {
16
+ type: string;
17
+ };
18
+ status: {
19
+ type: string;
20
+ default: number;
21
+ minimum: number;
22
+ maximum: number;
23
+ };
24
+ deleted: {
25
+ type: string;
26
+ default: number;
27
+ minimum: number;
28
+ maximum: number;
29
+ };
30
+ user_id: {
31
+ oneOf: {
32
+ type: string;
33
+ }[];
34
+ };
35
+ notification_log_id: {
36
+ oneOf: {
37
+ type: string;
38
+ }[];
39
+ };
40
+ };
41
+ };
42
+ static get relationMappings(): {
43
+ notification_log: {
44
+ relation: import('objection').RelationType;
45
+ modelClass: string;
46
+ join: {
47
+ from: string;
48
+ to: string;
49
+ };
50
+ };
51
+ };
52
+ static getModel(ctx: RequestContext): typeof NotificationUserStatus;
53
+ static getNotificationStatus(ctx: RequestContext, ids?: number[]): Promise<NotificationUserStatus[]>;
54
+ static getNotificationStatusByUserCreator(ctx: RequestContext, userId: number, ids?: number[]): Promise<NotificationUserStatus[]>;
55
+ static getAllNotificationsStatus(ctx: RequestContext, projectId: number, showExpired?: boolean): import('objection').QueryBuilder<NotificationUserStatus, NotificationUserStatus[]>;
56
+ static getAllNotificationStatusByUserAndProject(ctx: RequestContext, userId: number, notified: number, projectId: number, showExpired?: boolean): Promise<NotificationUserStatus[]>;
57
+ static getAllNotificationStatusByProject(ctx: RequestContext, notifiedType: string[], notification_configuration_id: string[], projectId: number, showExpired?: boolean): Promise<NotificationUserStatus[]>;
58
+ static insert(ctx: RequestContext, notificationLogId: number, userId: number, status?: number): Promise<number>;
59
+ }
60
+ //# sourceMappingURL=NotificationUserStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationUserStatus.d.ts","sourceRoot":"","sources":["../../../../../src/models/ecosystem/NotificationUserStatus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAA;AAEpD,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,cAAc,MAAM,2BAA2B,CAAA;AAEtD,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAS;IAC3D,MAAM,EAAG,MAAM,CAAA;IACf,OAAO,EAAG,MAAM,CAAA;IAChB,OAAO,EAAG,MAAM,GAAG,IAAI,CAAA;IACvB,mBAAmB,EAAG,MAAM,GAAG,IAAI,CAAA;IACnC,gBAAgB,EAAG,eAAe,CAAA;IAElC,MAAM,KAAK,SAAS,WAEnB;IAED,MAAM,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYpB;IAED,MAAM,KAAK,gBAAgB;;;;;;;;;MAW1B;IAED,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;WAItB,qBAAqB,CAAC,GAAG,EAAE,cAAc,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE;WAQzD,kCAAkC,CAAC,GAAG,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE;IASnG,MAAM,CAAC,yBAAyB,CAAC,GAAG,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO;WAmBjF,wCAAwC,CACnD,GAAG,EAAE,cAAc,EACnB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,OAAO;WAMV,iCAAiC,CAC5C,GAAG,EAAE,cAAc,EACnB,YAAY,EAAE,MAAM,EAAE,EACtB,6BAA6B,EAAE,MAAM,EAAE,EACvC,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,OAAO;WAWV,MAAM,CAAC,GAAG,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;CASpG"}
@@ -0,0 +1,76 @@
1
+ import { default as Objection } from 'objection';
2
+ import { default as BaseModel } from '../BaseModel';
3
+ import { default as RequestContext } from '../request/RequestContext';
4
+ export type OutComeQuery = Objection.QueryBuilder<Outcome, Outcome[]>;
5
+ export default class Outcome extends BaseModel {
6
+ project_id: number;
7
+ clinic_id: number;
8
+ created_at: string;
9
+ created_user: number;
10
+ name: string;
11
+ identifier?: string;
12
+ value: number;
13
+ from: string;
14
+ to: string;
15
+ meta_data?: Record<string, any>;
16
+ static get tableName(): string;
17
+ static get jsonSchema(): {
18
+ type: string;
19
+ properties: {
20
+ id: {
21
+ type: string;
22
+ maxLength: number;
23
+ };
24
+ project_id: {
25
+ type: string;
26
+ maxLength: number;
27
+ };
28
+ clinic_id: {
29
+ oneOf: {
30
+ type: string;
31
+ }[];
32
+ maxLength: number;
33
+ };
34
+ created_at: {
35
+ type: string;
36
+ format: string;
37
+ };
38
+ created_user: {
39
+ oneOf: {
40
+ type: string;
41
+ }[];
42
+ maxLength: number;
43
+ };
44
+ name: {
45
+ type: string;
46
+ };
47
+ identifier: {
48
+ oneOf: {
49
+ type: string;
50
+ }[];
51
+ default: null;
52
+ };
53
+ value: {
54
+ type: string;
55
+ };
56
+ from: {
57
+ type: string;
58
+ format: string;
59
+ };
60
+ to: {
61
+ type: string;
62
+ format: string;
63
+ };
64
+ meta_data: {
65
+ oneOf: {
66
+ type: string;
67
+ }[];
68
+ default: null;
69
+ };
70
+ };
71
+ };
72
+ static getModel(ctx: RequestContext): typeof Outcome;
73
+ static getModelByPool(ecosystemPool: Objection.TransactionOrKnex): typeof Outcome;
74
+ $afterFind(): void;
75
+ }
76
+ //# sourceMappingURL=Outcome.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Outcome.d.ts","sourceRoot":"","sources":["../../../../../src/models/ecosystem/Outcome.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAA;AACjC,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,cAAc,MAAM,2BAA2B,CAAA;AAEtD,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;AAErE,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,SAAS;IAC5C,UAAU,EAAG,MAAM,CAAA;IACnB,SAAS,EAAG,MAAM,CAAA;IAClB,UAAU,EAAG,MAAM,CAAA;IACnB,YAAY,EAAG,MAAM,CAAA;IACrB,IAAI,EAAG,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAG,MAAM,CAAA;IACd,IAAI,EAAG,MAAM,CAAA;IACb,EAAE,EAAG,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAE/B,MAAM,KAAK,SAAS,WAEnB;IAED,MAAM,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuBpB;IAED,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,cAAc;IAInC,MAAM,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,CAAC,iBAAiB;IAIhE,UAAU;CAGX"}