@icure/api 8.0.0-RC.1 → 8.0.0-RC.3

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 (345) hide show
  1. package/icc-api/api/IccAccesslogApi.d.ts +12 -4
  2. package/icc-api/api/IccAccesslogApi.js +23 -18
  3. package/icc-api/api/IccAccesslogApi.js.map +1 -1
  4. package/icc-api/api/IccAgendaApi.d.ts +13 -4
  5. package/icc-api/api/IccAgendaApi.js +42 -19
  6. package/icc-api/api/IccAgendaApi.js.map +1 -1
  7. package/icc-api/api/IccApplicationsettingsApi.d.ts +1 -1
  8. package/icc-api/api/IccApplicationsettingsApi.js +2 -2
  9. package/icc-api/api/IccApplicationsettingsApi.js.map +1 -1
  10. package/icc-api/api/IccArticleApi.d.ts +13 -4
  11. package/icc-api/api/IccArticleApi.js +50 -26
  12. package/icc-api/api/IccArticleApi.js.map +1 -1
  13. package/icc-api/api/IccAuthApi.d.ts +1 -1
  14. package/icc-api/api/IccAuthApi.js +2 -2
  15. package/icc-api/api/IccAuthApi.js.map +1 -1
  16. package/icc-api/api/IccCalendarItemApi.d.ts +8 -4
  17. package/icc-api/api/IccCalendarItemApi.js +15 -22
  18. package/icc-api/api/IccCalendarItemApi.js.map +1 -1
  19. package/icc-api/api/IccCalendarItemTypeApi.d.ts +6 -4
  20. package/icc-api/api/IccCalendarItemTypeApi.js +60 -45
  21. package/icc-api/api/IccCalendarItemTypeApi.js.map +1 -1
  22. package/icc-api/api/IccClassificationApi.d.ts +14 -5
  23. package/icc-api/api/IccClassificationApi.js +22 -12
  24. package/icc-api/api/IccClassificationApi.js.map +1 -1
  25. package/icc-api/api/IccClassificationTemplateApi.d.ts +14 -5
  26. package/icc-api/api/IccClassificationTemplateApi.js +102 -70
  27. package/icc-api/api/IccClassificationTemplateApi.js.map +1 -1
  28. package/icc-api/api/IccCodeApi.d.ts +1 -1
  29. package/icc-api/api/IccCodeApi.js +2 -2
  30. package/icc-api/api/IccCodeApi.js.map +1 -1
  31. package/icc-api/api/IccContactApi.d.ts +11 -4
  32. package/icc-api/api/IccContactApi.js +20 -13
  33. package/icc-api/api/IccContactApi.js.map +1 -1
  34. package/icc-api/api/IccDataownerApi.d.ts +1 -1
  35. package/icc-api/api/IccDataownerApi.js +44 -27
  36. package/icc-api/api/IccDataownerApi.js.map +1 -1
  37. package/icc-api/api/IccDeviceApi.d.ts +1 -1
  38. package/icc-api/api/IccDeviceApi.js +43 -32
  39. package/icc-api/api/IccDeviceApi.js.map +1 -1
  40. package/icc-api/api/IccDoctemplateApi.d.ts +10 -8
  41. package/icc-api/api/IccDoctemplateApi.js +121 -101
  42. package/icc-api/api/IccDoctemplateApi.js.map +1 -1
  43. package/icc-api/api/IccDocumentApi.d.ts +19 -5
  44. package/icc-api/api/IccDocumentApi.js +38 -13
  45. package/icc-api/api/IccDocumentApi.js.map +1 -1
  46. package/icc-api/api/IccEntityrefApi.d.ts +1 -1
  47. package/icc-api/api/IccEntityrefApi.js +27 -16
  48. package/icc-api/api/IccEntityrefApi.js.map +1 -1
  49. package/icc-api/api/IccEntitytemplateApi.d.ts +6 -4
  50. package/icc-api/api/IccEntitytemplateApi.js +118 -97
  51. package/icc-api/api/IccEntitytemplateApi.js.map +1 -1
  52. package/icc-api/api/IccExchangeDataApi.d.ts +2 -2
  53. package/icc-api/api/IccExchangeDataApi.js +73 -52
  54. package/icc-api/api/IccExchangeDataApi.js.map +1 -1
  55. package/icc-api/api/IccExchangeDataMapApi.d.ts +2 -2
  56. package/icc-api/api/IccExchangeDataMapApi.js +53 -34
  57. package/icc-api/api/IccExchangeDataMapApi.js.map +1 -1
  58. package/icc-api/api/IccFormApi.d.ts +13 -5
  59. package/icc-api/api/IccFormApi.js +24 -18
  60. package/icc-api/api/IccFormApi.js.map +1 -1
  61. package/icc-api/api/IccFrontendmigrationApi.d.ts +1 -1
  62. package/icc-api/api/IccFrontendmigrationApi.js +19 -10
  63. package/icc-api/api/IccFrontendmigrationApi.js.map +1 -1
  64. package/icc-api/api/IccGroupApi.d.ts +16 -2
  65. package/icc-api/api/IccGroupApi.js +29 -3
  66. package/icc-api/api/IccGroupApi.js.map +1 -1
  67. package/icc-api/api/IccHcpartyApi.d.ts +25 -10
  68. package/icc-api/api/IccHcpartyApi.js +84 -53
  69. package/icc-api/api/IccHcpartyApi.js.map +1 -1
  70. package/icc-api/api/IccHelementApi.d.ts +13 -5
  71. package/icc-api/api/IccHelementApi.js +25 -21
  72. package/icc-api/api/IccHelementApi.js.map +1 -1
  73. package/icc-api/api/IccIcureApi.d.ts +1 -1
  74. package/icc-api/api/IccIcureApi.js +2 -2
  75. package/icc-api/api/IccIcureApi.js.map +1 -1
  76. package/icc-api/api/IccInsuranceApi.d.ts +1 -1
  77. package/icc-api/api/IccInsuranceApi.js +67 -50
  78. package/icc-api/api/IccInsuranceApi.js.map +1 -1
  79. package/icc-api/api/IccInvoiceApi.d.ts +1 -1
  80. package/icc-api/api/IccInvoiceApi.js +5 -11
  81. package/icc-api/api/IccInvoiceApi.js.map +1 -1
  82. package/icc-api/api/IccKeywordApi.d.ts +6 -5
  83. package/icc-api/api/IccKeywordApi.js +59 -45
  84. package/icc-api/api/IccKeywordApi.js.map +1 -1
  85. package/icc-api/api/IccMaintenanceTaskApi.d.ts +13 -4
  86. package/icc-api/api/IccMaintenanceTaskApi.js +22 -12
  87. package/icc-api/api/IccMaintenanceTaskApi.js.map +1 -1
  88. package/icc-api/api/IccMedexApi.d.ts +1 -1
  89. package/icc-api/api/IccMedexApi.js +19 -10
  90. package/icc-api/api/IccMedexApi.js.map +1 -1
  91. package/icc-api/api/IccMedicallocationApi.d.ts +6 -4
  92. package/icc-api/api/IccMedicallocationApi.js +52 -39
  93. package/icc-api/api/IccMedicallocationApi.js.map +1 -1
  94. package/icc-api/api/IccMessageApi.d.ts +25 -7
  95. package/icc-api/api/IccMessageApi.js +52 -22
  96. package/icc-api/api/IccMessageApi.js.map +1 -1
  97. package/icc-api/api/IccPatientApi.d.ts +13 -5
  98. package/icc-api/api/IccPatientApi.js +23 -13
  99. package/icc-api/api/IccPatientApi.js.map +1 -1
  100. package/icc-api/api/IccPermissionApi.d.ts +1 -1
  101. package/icc-api/api/IccPermissionApi.js +19 -10
  102. package/icc-api/api/IccPermissionApi.js.map +1 -1
  103. package/icc-api/api/IccPlaceApi.d.ts +7 -5
  104. package/icc-api/api/IccPlaceApi.js +53 -40
  105. package/icc-api/api/IccPlaceApi.js.map +1 -1
  106. package/icc-api/api/IccReceiptApi.d.ts +13 -4
  107. package/icc-api/api/IccReceiptApi.js +23 -13
  108. package/icc-api/api/IccReceiptApi.js.map +1 -1
  109. package/icc-api/api/IccReplicationApi.d.ts +1 -1
  110. package/icc-api/api/IccReplicationApi.js +3 -5
  111. package/icc-api/api/IccReplicationApi.js.map +1 -1
  112. package/icc-api/api/IccRoleApi.d.ts +16 -0
  113. package/icc-api/api/IccRoleApi.js +42 -0
  114. package/icc-api/api/IccRoleApi.js.map +1 -0
  115. package/icc-api/api/IccSecureDelegationKeyMapApi.d.ts +26 -0
  116. package/icc-api/api/IccSecureDelegationKeyMapApi.js +71 -0
  117. package/icc-api/api/IccSecureDelegationKeyMapApi.js.map +1 -0
  118. package/icc-api/api/IccTarificationApi.d.ts +1 -1
  119. package/icc-api/api/IccTarificationApi.js +19 -10
  120. package/icc-api/api/IccTarificationApi.js.map +1 -1
  121. package/icc-api/api/IccTimeTableApi.d.ts +13 -4
  122. package/icc-api/api/IccTimeTableApi.js +21 -9
  123. package/icc-api/api/IccTimeTableApi.js.map +1 -1
  124. package/icc-api/api/IccTopicApi.d.ts +97 -0
  125. package/icc-api/api/IccTopicApi.js +208 -0
  126. package/icc-api/api/IccTopicApi.js.map +1 -0
  127. package/icc-api/api/IccUserApi.d.ts +31 -1
  128. package/icc-api/api/IccUserApi.js +65 -2
  129. package/icc-api/api/IccUserApi.js.map +1 -1
  130. package/icc-api/index.d.ts +1 -0
  131. package/icc-api/index.js +1 -0
  132. package/icc-api/index.js.map +1 -1
  133. package/icc-api/model/AbstractFilterMessage.d.ts +15 -0
  134. package/icc-api/model/AbstractFilterMessage.js +21 -0
  135. package/icc-api/model/AbstractFilterMessage.js.map +1 -0
  136. package/icc-api/model/AbstractFilterTopic.d.ts +15 -0
  137. package/icc-api/model/AbstractFilterTopic.js +21 -0
  138. package/icc-api/model/AbstractFilterTopic.js.map +1 -0
  139. package/icc-api/model/AccessLog.d.ts +0 -2
  140. package/icc-api/model/AccessLog.js +0 -1
  141. package/icc-api/model/AccessLog.js.map +1 -1
  142. package/icc-api/model/Article.d.ts +0 -2
  143. package/icc-api/model/Article.js +0 -1
  144. package/icc-api/model/Article.js.map +1 -1
  145. package/icc-api/model/CalendarItem.d.ts +0 -2
  146. package/icc-api/model/CalendarItem.js +0 -1
  147. package/icc-api/model/CalendarItem.js.map +1 -1
  148. package/icc-api/model/Classification.d.ts +0 -2
  149. package/icc-api/model/Classification.js +0 -1
  150. package/icc-api/model/Classification.js.map +1 -1
  151. package/icc-api/model/Connection.d.ts +1 -1
  152. package/icc-api/model/Connection.js.map +1 -1
  153. package/icc-api/model/Contact.d.ts +0 -2
  154. package/icc-api/model/Contact.js +0 -1
  155. package/icc-api/model/Contact.js.map +1 -1
  156. package/icc-api/model/Document.d.ts +0 -2
  157. package/icc-api/model/Document.js +0 -1
  158. package/icc-api/model/Document.js.map +1 -1
  159. package/icc-api/model/FilterChainMessage.d.ts +19 -0
  160. package/icc-api/model/FilterChainMessage.js +11 -0
  161. package/icc-api/model/FilterChainMessage.js.map +1 -0
  162. package/icc-api/model/FilterChainTopic.d.ts +19 -0
  163. package/icc-api/model/FilterChainTopic.js +11 -0
  164. package/icc-api/model/FilterChainTopic.js.map +1 -0
  165. package/icc-api/model/Form.d.ts +0 -2
  166. package/icc-api/model/Form.js +0 -1
  167. package/icc-api/model/Form.js.map +1 -1
  168. package/icc-api/model/Group.d.ts +4 -0
  169. package/icc-api/model/Group.js.map +1 -1
  170. package/icc-api/model/HealthElement.d.ts +0 -2
  171. package/icc-api/model/HealthElement.js +0 -1
  172. package/icc-api/model/HealthElement.js.map +1 -1
  173. package/icc-api/model/HealthcareParty.js +13 -1
  174. package/icc-api/model/HealthcareParty.js.map +1 -1
  175. package/icc-api/model/Invoice.d.ts +0 -2
  176. package/icc-api/model/Invoice.js +0 -1
  177. package/icc-api/model/Invoice.js.map +1 -1
  178. package/icc-api/model/MaintenanceTask.d.ts +11 -10
  179. package/icc-api/model/MaintenanceTask.js +13 -12
  180. package/icc-api/model/MaintenanceTask.js.map +1 -1
  181. package/icc-api/model/Message.d.ts +5 -2
  182. package/icc-api/model/Message.js +0 -1
  183. package/icc-api/model/Message.js.map +1 -1
  184. package/icc-api/model/MessageAttachment.d.ts +10 -0
  185. package/icc-api/model/MessageAttachment.js +10 -0
  186. package/icc-api/model/MessageAttachment.js.map +1 -0
  187. package/icc-api/model/PaginatedListExchangeData.d.ts +1 -1
  188. package/icc-api/model/PaginatedListExchangeData.js.map +1 -1
  189. package/icc-api/model/PaginatedListTopic.d.ts +20 -0
  190. package/icc-api/model/PaginatedListTopic.js +10 -0
  191. package/icc-api/model/PaginatedListTopic.js.map +1 -0
  192. package/icc-api/model/Patient.d.ts +0 -2
  193. package/icc-api/model/Patient.js +0 -1
  194. package/icc-api/model/Patient.js.map +1 -1
  195. package/icc-api/model/Receipt.d.ts +0 -2
  196. package/icc-api/model/Receipt.js +0 -1
  197. package/icc-api/model/Receipt.js.map +1 -1
  198. package/icc-api/model/Role.d.ts +11 -0
  199. package/icc-api/model/Role.js +10 -0
  200. package/icc-api/model/Role.js.map +1 -0
  201. package/icc-api/model/RoleConfiguration.d.ts +6 -0
  202. package/icc-api/model/RoleConfiguration.js +10 -0
  203. package/icc-api/model/RoleConfiguration.js.map +1 -0
  204. package/icc-api/model/RoleSourceEnum.d.ts +11 -0
  205. package/icc-api/model/RoleSourceEnum.js +16 -0
  206. package/icc-api/model/RoleSourceEnum.js.map +1 -0
  207. package/icc-api/model/TimeTable.d.ts +0 -2
  208. package/icc-api/model/TimeTable.js +0 -1
  209. package/icc-api/model/TimeTable.js.map +1 -1
  210. package/icc-api/model/Topic.d.ts +95 -0
  211. package/icc-api/model/Topic.js +16 -0
  212. package/icc-api/model/Topic.js.map +1 -0
  213. package/icc-api/model/UserTypeEnum.d.ts +9 -0
  214. package/icc-api/model/UserTypeEnum.js +14 -0
  215. package/icc-api/model/UserTypeEnum.js.map +1 -0
  216. package/icc-api/model/{ExchangeData.d.ts → internal/ExchangeData.d.ts} +3 -0
  217. package/icc-api/model/{ExchangeData.js → internal/ExchangeData.js} +3 -0
  218. package/icc-api/model/internal/ExchangeData.js.map +1 -0
  219. package/icc-api/model/{ExchangeDataMap.d.ts → internal/ExchangeDataMap.d.ts} +3 -0
  220. package/icc-api/model/{ExchangeDataMap.js → internal/ExchangeDataMap.js} +3 -0
  221. package/icc-api/model/internal/ExchangeDataMap.js.map +1 -0
  222. package/icc-api/model/internal/SecureDelegationKeyMap.d.ts +14 -0
  223. package/icc-api/model/internal/SecureDelegationKeyMap.js +13 -0
  224. package/icc-api/model/internal/SecureDelegationKeyMap.js.map +1 -0
  225. package/icc-api/model/models.d.ts +11 -1
  226. package/icc-api/model/models.js +9 -0
  227. package/icc-api/model/models.js.map +1 -1
  228. package/icc-x-api/basexapi/EncryptedEntityXApi.d.ts +52 -4
  229. package/icc-x-api/basexapi/EncryptedEntityXApi.js.map +1 -1
  230. package/icc-x-api/crypto/AccessControlKeysHeadersProvider.d.ts +2 -0
  231. package/icc-x-api/crypto/AccessControlKeysHeadersProvider.js +13 -4
  232. package/icc-x-api/crypto/AccessControlKeysHeadersProvider.js.map +1 -1
  233. package/icc-x-api/crypto/AccessControlSecretUtils.d.ts +1 -0
  234. package/icc-x-api/crypto/AccessControlSecretUtils.js +11 -0
  235. package/icc-x-api/crypto/AccessControlSecretUtils.js.map +1 -1
  236. package/icc-x-api/crypto/BaseExchangeDataManager.d.ts +1 -1
  237. package/icc-x-api/crypto/BaseExchangeDataManager.js +1 -1
  238. package/icc-x-api/crypto/BaseExchangeDataManager.js.map +1 -1
  239. package/icc-x-api/crypto/DelegationsDeAnonymization.d.ts +44 -0
  240. package/icc-x-api/crypto/DelegationsDeAnonymization.js +235 -0
  241. package/icc-x-api/crypto/DelegationsDeAnonymization.js.map +1 -0
  242. package/icc-x-api/crypto/ExchangeDataManager.d.ts +3 -1
  243. package/icc-x-api/crypto/ExchangeDataManager.js +27 -19
  244. package/icc-x-api/crypto/ExchangeDataManager.js.map +1 -1
  245. package/icc-x-api/crypto/ExchangeDataMapManager.d.ts +1 -1
  246. package/icc-x-api/crypto/ExchangeDataMapManager.js.map +1 -1
  247. package/icc-x-api/crypto/ExtendedApisUtils.d.ts +0 -10
  248. package/icc-x-api/crypto/ExtendedApisUtils.js.map +1 -1
  249. package/icc-x-api/crypto/ExtendedApisUtilsImpl.d.ts +0 -7
  250. package/icc-x-api/crypto/ExtendedApisUtilsImpl.js +4 -7
  251. package/icc-x-api/crypto/ExtendedApisUtilsImpl.js.map +1 -1
  252. package/icc-x-api/crypto/LegacyDelegationSecurityMetadataDecryptor.d.ts +0 -6
  253. package/icc-x-api/crypto/LegacyDelegationSecurityMetadataDecryptor.js +0 -9
  254. package/icc-x-api/crypto/LegacyDelegationSecurityMetadataDecryptor.js.map +1 -1
  255. package/icc-x-api/crypto/SecureDelegationsManager.js.map +1 -1
  256. package/icc-x-api/crypto/SecureDelegationsSecurityMetadataDecryptor.d.ts +14 -5
  257. package/icc-x-api/crypto/SecureDelegationsSecurityMetadataDecryptor.js +44 -26
  258. package/icc-x-api/crypto/SecureDelegationsSecurityMetadataDecryptor.js.map +1 -1
  259. package/icc-x-api/crypto/SecurityMetadataDecryptor.d.ts +1 -18
  260. package/icc-x-api/crypto/SecurityMetadataDecryptor.js +4 -23
  261. package/icc-x-api/crypto/SecurityMetadataDecryptor.js.map +1 -1
  262. package/icc-x-api/crypto/UserSignatureKeysManager.d.ts +1 -1
  263. package/icc-x-api/crypto/UserSignatureKeysManager.js +2 -2
  264. package/icc-x-api/crypto/UserSignatureKeysManager.js.map +1 -1
  265. package/icc-x-api/filters/LatestMessageByHcPartyTransportGuidFilter.d.ts +8 -0
  266. package/icc-x-api/filters/LatestMessageByHcPartyTransportGuidFilter.js +13 -0
  267. package/icc-x-api/filters/LatestMessageByHcPartyTransportGuidFilter.js.map +1 -0
  268. package/icc-x-api/filters/MessageByHcPartyFilter.d.ts +7 -0
  269. package/icc-x-api/filters/MessageByHcPartyFilter.js +13 -0
  270. package/icc-x-api/filters/MessageByHcPartyFilter.js.map +1 -0
  271. package/icc-x-api/filters/MessageByHcPartyTransportGuidFilter.d.ts +8 -0
  272. package/icc-x-api/filters/MessageByHcPartyTransportGuidFilter.js +13 -0
  273. package/icc-x-api/filters/MessageByHcPartyTransportGuidFilter.js.map +1 -0
  274. package/icc-x-api/filters/TopicByHcPartyFilter.d.ts +7 -0
  275. package/icc-x-api/filters/TopicByHcPartyFilter.js +13 -0
  276. package/icc-x-api/filters/TopicByHcPartyFilter.js.map +1 -0
  277. package/icc-x-api/filters/TopicByParticipantFilter.d.ts +7 -0
  278. package/icc-x-api/filters/TopicByParticipantFilter.js +13 -0
  279. package/icc-x-api/filters/TopicByParticipantFilter.js.map +1 -0
  280. package/icc-x-api/filters/filters.d.ts +5 -0
  281. package/icc-x-api/filters/filters.js +5 -0
  282. package/icc-x-api/filters/filters.js.map +1 -1
  283. package/icc-x-api/icc-accesslog-x-api.d.ts +3 -1
  284. package/icc-x-api/icc-accesslog-x-api.js +7 -3
  285. package/icc-x-api/icc-accesslog-x-api.js.map +1 -1
  286. package/icc-x-api/icc-calendar-item-x-api.d.ts +3 -1
  287. package/icc-x-api/icc-calendar-item-x-api.js +7 -3
  288. package/icc-x-api/icc-calendar-item-x-api.js.map +1 -1
  289. package/icc-x-api/icc-classification-x-api.d.ts +3 -1
  290. package/icc-x-api/icc-classification-x-api.js +7 -3
  291. package/icc-x-api/icc-classification-x-api.js.map +1 -1
  292. package/icc-x-api/icc-contact-x-api.d.ts +3 -1
  293. package/icc-x-api/icc-contact-x-api.js +8 -4
  294. package/icc-x-api/icc-contact-x-api.js.map +1 -1
  295. package/icc-x-api/icc-crypto-x-api.d.ts +7 -1
  296. package/icc-x-api/icc-crypto-x-api.js +8 -1
  297. package/icc-x-api/icc-crypto-x-api.js.map +1 -1
  298. package/icc-x-api/icc-document-x-api.d.ts +3 -1
  299. package/icc-x-api/icc-document-x-api.js +8 -4
  300. package/icc-x-api/icc-document-x-api.js.map +1 -1
  301. package/icc-x-api/icc-form-x-api.d.ts +3 -1
  302. package/icc-x-api/icc-form-x-api.js +7 -3
  303. package/icc-x-api/icc-form-x-api.js.map +1 -1
  304. package/icc-x-api/icc-helement-x-api.d.ts +4 -2
  305. package/icc-x-api/icc-helement-x-api.js +8 -8
  306. package/icc-x-api/icc-helement-x-api.js.map +1 -1
  307. package/icc-x-api/icc-invoice-x-api.d.ts +3 -1
  308. package/icc-x-api/icc-invoice-x-api.js +7 -3
  309. package/icc-x-api/icc-invoice-x-api.js.map +1 -1
  310. package/icc-x-api/icc-maintenance-task-x-api.d.ts +8 -4
  311. package/icc-x-api/icc-maintenance-task-x-api.js +14 -4
  312. package/icc-x-api/icc-maintenance-task-x-api.js.map +1 -1
  313. package/icc-x-api/icc-message-x-api.d.ts +24 -6
  314. package/icc-x-api/icc-message-x-api.js +66 -6
  315. package/icc-x-api/icc-message-x-api.js.map +1 -1
  316. package/icc-x-api/icc-patient-x-api.d.ts +3 -1
  317. package/icc-x-api/icc-patient-x-api.js +7 -3
  318. package/icc-x-api/icc-patient-x-api.js.map +1 -1
  319. package/icc-x-api/icc-receipt-x-api.d.ts +3 -1
  320. package/icc-x-api/icc-receipt-x-api.js +7 -3
  321. package/icc-x-api/icc-receipt-x-api.js.map +1 -1
  322. package/icc-x-api/icc-time-table-x-api.d.ts +3 -1
  323. package/icc-x-api/icc-time-table-x-api.js +7 -3
  324. package/icc-x-api/icc-time-table-x-api.js.map +1 -1
  325. package/icc-x-api/icc-topic-x-api.d.ts +191 -0
  326. package/icc-x-api/icc-topic-x-api.js +307 -0
  327. package/icc-x-api/icc-topic-x-api.js.map +1 -0
  328. package/icc-x-api/index.d.ts +17 -0
  329. package/icc-x-api/index.js +104 -70
  330. package/icc-x-api/index.js.map +1 -1
  331. package/icc-x-api/maintenance/KeyPairUpdateRequest.d.ts +1 -1
  332. package/icc-x-api/storage/KeyStorageImpl.d.ts +1 -0
  333. package/icc-x-api/storage/KeyStorageImpl.js +20 -12
  334. package/icc-x-api/storage/KeyStorageImpl.js.map +1 -1
  335. package/icc-x-api/utils/EntityWithDelegationTypeName.d.ts +1 -1
  336. package/icc-x-api/utils/EntityWithDelegationTypeName.js.map +1 -1
  337. package/icc-x-api/utils/websocket.d.ts +4 -0
  338. package/icc-x-api/utils/websocket.js +8 -0
  339. package/icc-x-api/utils/websocket.js.map +1 -1
  340. package/package.json +1 -1
  341. package/icc-api/api/IccDocumentTemplateApi.d.ts +0 -106
  342. package/icc-api/api/IccDocumentTemplateApi.js +0 -223
  343. package/icc-api/api/IccDocumentTemplateApi.js.map +0 -1
  344. package/icc-api/model/ExchangeData.js.map +0 -1
  345. package/icc-api/model/ExchangeDataMap.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../icc-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAqC;AACrC,qDAAkC;AAClC,8DAA2C;AAC3C,kEAA+C;AAC/C,sDAAmC;AACnC,mDAAgC;AAChC,sDAAmC;AACnC,sDAAmC;AACnC,wDAAqC;AACrC,6DAA0C;AAC1C,6DAA0C;AAC1C,sDAAmC;AACnC,2DAAwC;AACxC,+DAA4C;AAC5C,6DAA0C;AAC1C,qEAAkD;AAClD,mDAAgC;AAChC,sDAAmC;AACnC,qDAAkC;AAClC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,6DAA0C;AAC1C,mDAAgC;AAChC,gEAA6C;AAC7C,oDAAiC;AACjC,sDAAmC;AACnC,uDAAoC;AACpC,oDAAiC;AACjC,wDAAqC;AACrC,sDAAmC;AACnC,sDAAmC;AACnC,oDAAiC;AACjC,8DAA2C;AAC3C,sDAAmC;AACnC,sDAAmC;AACnC,yDAAsC;AACtC,oDAAiC;AACjC,qDAAkC;AAClC,sDAAmC;AACnC,0DAAuC;AACvC,2DAAwC;AACxC,wDAAqC;AACrC,kDAA+B;AAC/B,mDAAgC","sourcesContent":["export * from './api/IccAccesslogApi'\nexport * from './api/IccAgendaApi'\nexport * from './api/IccAnonymousAccessApi'\nexport * from './api/IccApplicationsettingsApi'\nexport * from './api/IccArticleApi'\nexport * from './api/IccAuthApi'\nexport * from './api/IccBeefactApi'\nexport * from './api/IccBekmehrApi'\nexport * from './api/IccBemikronoApi'\nexport * from './api/IccBeresultexportApi'\nexport * from './api/IccBeresultimportApi'\nexport * from './api/IccBesamv2Api'\nexport * from './api/IccCalendarItemApi'\nexport * from './api/IccCalendarItemTypeApi'\nexport * from './api/IccClassificationApi'\nexport * from './api/IccClassificationTemplateApi'\nexport * from './api/IccCodeApi'\nexport * from './api/IccContactApi'\nexport * from './api/IccDeviceApi'\nexport * from './api/IccDoctemplateApi'\nexport * from './api/IccDocumentApi'\nexport * from './api/IccEntityrefApi'\nexport * from './api/IccEntitytemplateApi'\nexport * from './api/IccFormApi'\nexport * from './api/IccFrontendmigrationApi'\nexport * from './api/IccGroupApi'\nexport * from './api/IccHcpartyApi'\nexport * from './api/IccHelementApi'\nexport * from './api/IccIcureApi'\nexport * from './api/IccInsuranceApi'\nexport * from './api/IccInvoiceApi'\nexport * from './api/IccKeywordApi'\nexport * from './api/IccMedexApi'\nexport * from './api/IccMedicallocationApi'\nexport * from './api/IccMessageApi'\nexport * from './api/IccPatientApi'\nexport * from './api/IccPermissionApi'\nexport * from './api/IccPlaceApi'\nexport * from './api/IccPubsubApi'\nexport * from './api/IccReceiptApi'\nexport * from './api/IccReplicationApi'\nexport * from './api/IccTarificationApi'\nexport * from './api/IccTimeTableApi'\nexport * from './api/IccTmpApi'\nexport * from './api/IccUserApi'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../icc-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAqC;AACrC,qDAAkC;AAClC,8DAA2C;AAC3C,kEAA+C;AAC/C,sDAAmC;AACnC,mDAAgC;AAChC,sDAAmC;AACnC,sDAAmC;AACnC,wDAAqC;AACrC,6DAA0C;AAC1C,6DAA0C;AAC1C,sDAAmC;AACnC,2DAAwC;AACxC,+DAA4C;AAC5C,6DAA0C;AAC1C,qEAAkD;AAClD,mDAAgC;AAChC,sDAAmC;AACnC,qDAAkC;AAClC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,6DAA0C;AAC1C,mDAAgC;AAChC,gEAA6C;AAC7C,oDAAiC;AACjC,sDAAmC;AACnC,uDAAoC;AACpC,oDAAiC;AACjC,wDAAqC;AACrC,sDAAmC;AACnC,sDAAmC;AACnC,oDAAiC;AACjC,8DAA2C;AAC3C,sDAAmC;AACnC,sDAAmC;AACnC,yDAAsC;AACtC,oDAAiC;AACjC,qDAAkC;AAClC,sDAAmC;AACnC,0DAAuC;AACvC,2DAAwC;AACxC,wDAAqC;AACrC,kDAA+B;AAC/B,mDAAgC;AAChC,oDAAiC","sourcesContent":["export * from './api/IccAccesslogApi'\nexport * from './api/IccAgendaApi'\nexport * from './api/IccAnonymousAccessApi'\nexport * from './api/IccApplicationsettingsApi'\nexport * from './api/IccArticleApi'\nexport * from './api/IccAuthApi'\nexport * from './api/IccBeefactApi'\nexport * from './api/IccBekmehrApi'\nexport * from './api/IccBemikronoApi'\nexport * from './api/IccBeresultexportApi'\nexport * from './api/IccBeresultimportApi'\nexport * from './api/IccBesamv2Api'\nexport * from './api/IccCalendarItemApi'\nexport * from './api/IccCalendarItemTypeApi'\nexport * from './api/IccClassificationApi'\nexport * from './api/IccClassificationTemplateApi'\nexport * from './api/IccCodeApi'\nexport * from './api/IccContactApi'\nexport * from './api/IccDeviceApi'\nexport * from './api/IccDoctemplateApi'\nexport * from './api/IccDocumentApi'\nexport * from './api/IccEntityrefApi'\nexport * from './api/IccEntitytemplateApi'\nexport * from './api/IccFormApi'\nexport * from './api/IccFrontendmigrationApi'\nexport * from './api/IccGroupApi'\nexport * from './api/IccHcpartyApi'\nexport * from './api/IccHelementApi'\nexport * from './api/IccIcureApi'\nexport * from './api/IccInsuranceApi'\nexport * from './api/IccInvoiceApi'\nexport * from './api/IccKeywordApi'\nexport * from './api/IccMedexApi'\nexport * from './api/IccMedicallocationApi'\nexport * from './api/IccMessageApi'\nexport * from './api/IccPatientApi'\nexport * from './api/IccPermissionApi'\nexport * from './api/IccPlaceApi'\nexport * from './api/IccPubsubApi'\nexport * from './api/IccReceiptApi'\nexport * from './api/IccReplicationApi'\nexport * from './api/IccTarificationApi'\nexport * from './api/IccTimeTableApi'\nexport * from './api/IccTmpApi'\nexport * from './api/IccUserApi'\nexport * from './api/IccTopicApi'\n"]}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class AbstractFilterMessage {
13
+ constructor(json: JSON | any);
14
+ desc?: string;
15
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Data Stack API Documentation
4
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
5
+ *
6
+ * OpenAPI spec version: v1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.AbstractFilterMessage = void 0;
15
+ class AbstractFilterMessage {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.AbstractFilterMessage = AbstractFilterMessage;
21
+ //# sourceMappingURL=AbstractFilterMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AbstractFilterMessage.js","sourceRoot":"","sources":["../../../icc-api/model/AbstractFilterMessage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,qBAAqB;IAChC,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA6B,EAAE,IAAI,CAAC,CAAA;IACpD,CAAC;CAGF;AAND,sDAMC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class AbstractFilterMessage {\n constructor(json: JSON | any) {\n Object.assign(this as AbstractFilterMessage, json)\n }\n\n desc?: string\n}\n"]}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class AbstractFilterTopic {
13
+ constructor(json: JSON | any);
14
+ desc?: string;
15
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Data Stack API Documentation
4
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
5
+ *
6
+ * OpenAPI spec version: v1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.AbstractFilterTopic = void 0;
15
+ class AbstractFilterTopic {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.AbstractFilterTopic = AbstractFilterTopic;
21
+ //# sourceMappingURL=AbstractFilterTopic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AbstractFilterTopic.js","sourceRoot":"","sources":["../../../icc-api/model/AbstractFilterTopic.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,mBAAmB;IAC9B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA2B,EAAE,IAAI,CAAC,CAAA;IAClD,CAAC;CAGF;AAND,kDAMC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class AbstractFilterTopic {\n constructor(json: JSON | any) {\n Object.assign(this as AbstractFilterTopic, json)\n }\n\n desc?: string\n}\n"]}
@@ -12,7 +12,6 @@
12
12
  import { CodeStub } from './CodeStub';
13
13
  import { Delegation } from './Delegation';
14
14
  import { SecurityMetadata } from './SecurityMetadata';
15
- import { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName';
16
15
  /**
17
16
  * This entity represents Access Log.
18
17
  */
@@ -110,5 +109,4 @@ export declare class AccessLog {
110
109
  */
111
110
  encryptedSelf?: string;
112
111
  securityMetadata?: SecurityMetadata;
113
- readonly _type?: EntityWithDelegationTypeName;
114
112
  }
@@ -6,7 +6,6 @@ exports.AccessLog = void 0;
6
6
  */
7
7
  class AccessLog {
8
8
  constructor(json) {
9
- this._type = 'AccessLog';
10
9
  Object.assign(this, json);
11
10
  }
12
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AccessLog.js","sourceRoot":"","sources":["../../../icc-api/model/AccessLog.ts"],"names":[],"mappings":";;;AAgBA;;GAEG;AACH,MAAa,SAAS;IACpB,YAAY,IAAgB;QA0FnB,UAAK,GAAkC,WAAW,CAAA;QAzFzD,MAAM,CAAC,MAAM,CAAC,IAAiB,EAAE,IAAI,CAAC,CAAA;IACxC,CAAC;CAyFF;AA5FD,8BA4FC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\n/**\n * This entity represents Access Log.\n */\nexport class AccessLog {\n constructor(json: JSON | any) {\n Object.assign(this as AccessLog, json)\n }\n\n /**\n * The Id of the Access log. We encourage using either a v4 UUID or a HL7 Id\n */\n id?: string\n /**\n * The revision of the access log in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * Id of the object that is being requested.\n */\n objectId?: string\n /**\n * The type of access\n */\n accessType?: string\n /**\n * Id of the user making the requests\n */\n user?: string\n /**\n * Further details about the access\n */\n detail?: string\n /**\n * The date (unix epoch in ms) of logging, is filled instantaneously.\n */\n date?: number\n patientId?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n readonly _type?: EntityWithDelegationTypeName = 'AccessLog'\n}\n"]}
1
+ {"version":3,"file":"AccessLog.js","sourceRoot":"","sources":["../../../icc-api/model/AccessLog.ts"],"names":[],"mappings":";;;AAgBA;;GAEG;AACH,MAAa,SAAS;IACpB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAiB,EAAE,IAAI,CAAC,CAAA;IACxC,CAAC;CAyFF;AA5FD,8BA4FC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\n/**\n * This entity represents Access Log.\n */\nexport class AccessLog {\n constructor(json: JSON | any) {\n Object.assign(this as AccessLog, json)\n }\n\n /**\n * The Id of the Access log. We encourage using either a v4 UUID or a HL7 Id\n */\n id?: string\n /**\n * The revision of the access log in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * Id of the object that is being requested.\n */\n objectId?: string\n /**\n * The type of access\n */\n accessType?: string\n /**\n * Id of the user making the requests\n */\n user?: string\n /**\n * Further details about the access\n */\n detail?: string\n /**\n * The date (unix epoch in ms) of logging, is filled instantaneously.\n */\n date?: number\n patientId?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n \n}\n"]}
@@ -13,7 +13,6 @@ import { CodeStub } from './CodeStub';
13
13
  import { Content } from './Content';
14
14
  import { Delegation } from './Delegation';
15
15
  import { SecurityMetadata } from './SecurityMetadata';
16
- import { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName';
17
16
  export declare class Article {
18
17
  constructor(json: JSON | any);
19
18
  id?: string;
@@ -84,5 +83,4 @@ export declare class Article {
84
83
  */
85
84
  encryptedSelf?: string;
86
85
  securityMetadata?: SecurityMetadata;
87
- readonly _type?: EntityWithDelegationTypeName;
88
86
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Article = void 0;
4
4
  class Article {
5
5
  constructor(json) {
6
- this._type = 'Article';
7
6
  Object.assign(this, json);
8
7
  }
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Article.js","sourceRoot":"","sources":["../../../icc-api/model/Article.ts"],"names":[],"mappings":";;;AAiBA,MAAa,OAAO;IAClB,YAAY,IAAgB;QAkEnB,UAAK,GAAkC,SAAS,CAAA;QAjEvD,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAiEF;AApED,0BAoEC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Content } from './Content'\nimport { Delegation } from './Delegation'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\nexport class Article {\n constructor(json: JSON | any) {\n Object.assign(this as Article, json)\n }\n\n id?: string\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n name?: string\n content?: Array<Content>\n classification?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n readonly _type?: EntityWithDelegationTypeName = 'Article'\n}\n"]}
1
+ {"version":3,"file":"Article.js","sourceRoot":"","sources":["../../../icc-api/model/Article.ts"],"names":[],"mappings":";;;AAiBA,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAiEF;AApED,0BAoEC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Content } from './Content'\nimport { Delegation } from './Delegation'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\nexport class Article {\n constructor(json: JSON | any) {\n Object.assign(this as Article, json)\n }\n\n id?: string\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n name?: string\n content?: Array<Content>\n classification?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n \n}\n"]}
@@ -15,7 +15,6 @@ import { CodeStub } from './CodeStub';
15
15
  import { Delegation } from './Delegation';
16
16
  import { FlowItem } from './FlowItem';
17
17
  import { SecurityMetadata } from './SecurityMetadata';
18
- import { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName';
19
18
  export declare class CalendarItem {
20
19
  constructor(json: JSON | any);
21
20
  id?: string;
@@ -107,5 +106,4 @@ export declare class CalendarItem {
107
106
  */
108
107
  encryptedSelf?: string;
109
108
  securityMetadata?: SecurityMetadata;
110
- readonly _type?: EntityWithDelegationTypeName;
111
109
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CalendarItem = void 0;
4
4
  class CalendarItem {
5
5
  constructor(json) {
6
- this._type = 'CalendarItem';
7
6
  Object.assign(this, json);
8
7
  }
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarItem.js","sourceRoot":"","sources":["../../../icc-api/model/CalendarItem.ts"],"names":[],"mappings":";;;AAmBA,MAAa,YAAY;IACvB,YAAY,IAAgB;QAuFnB,UAAK,GAAkC,cAAc,CAAA;QAtF5D,MAAM,CAAC,MAAM,CAAC,IAAoB,EAAE,IAAI,CAAC,CAAA;IAC3C,CAAC;CAsFF;AAzFD,oCAyFC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Address } from './Address'\nimport { CalendarItemTag } from './CalendarItemTag'\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { FlowItem } from './FlowItem'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\nexport class CalendarItem {\n constructor(json: JSON | any) {\n Object.assign(this as CalendarItem, json)\n }\n\n id?: string\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n title?: string\n calendarItemTypeId?: string\n masterCalendarItemId?: string\n patientId?: string\n important?: boolean\n homeVisit?: boolean\n phoneNumber?: string\n placeId?: string\n address?: Address\n addressText?: string\n startTime?: number\n endTime?: number\n confirmationTime?: number\n confirmationId?: string\n cancellationTimestamp?: number\n duration?: number\n allDay?: boolean\n details?: string\n wasMigrated?: boolean\n agendaId?: string\n hcpId?: string\n recurrenceId?: string\n meetingTags?: Array<CalendarItemTag>\n flowItem?: FlowItem\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n readonly _type?: EntityWithDelegationTypeName = 'CalendarItem'\n}\n"]}
1
+ {"version":3,"file":"CalendarItem.js","sourceRoot":"","sources":["../../../icc-api/model/CalendarItem.ts"],"names":[],"mappings":";;;AAmBA,MAAa,YAAY;IACvB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAoB,EAAE,IAAI,CAAC,CAAA;IAC3C,CAAC;CAsFF;AAzFD,oCAyFC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Address } from './Address'\nimport { CalendarItemTag } from './CalendarItemTag'\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { FlowItem } from './FlowItem'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\nexport class CalendarItem {\n constructor(json: JSON | any) {\n Object.assign(this as CalendarItem, json)\n }\n\n id?: string\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n title?: string\n calendarItemTypeId?: string\n masterCalendarItemId?: string\n patientId?: string\n important?: boolean\n homeVisit?: boolean\n phoneNumber?: string\n placeId?: string\n address?: Address\n addressText?: string\n startTime?: number\n endTime?: number\n confirmationTime?: number\n confirmationId?: string\n cancellationTimestamp?: number\n duration?: number\n allDay?: boolean\n details?: string\n wasMigrated?: boolean\n agendaId?: string\n hcpId?: string\n recurrenceId?: string\n meetingTags?: Array<CalendarItemTag>\n flowItem?: FlowItem\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n \n}\n"]}
@@ -12,7 +12,6 @@
12
12
  import { CodeStub } from './CodeStub';
13
13
  import { Delegation } from './Delegation';
14
14
  import { SecurityMetadata } from './SecurityMetadata';
15
- import { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName';
16
15
  export declare class Classification {
17
16
  constructor(json: JSON | any);
18
17
  id?: string;
@@ -83,5 +82,4 @@ export declare class Classification {
83
82
  */
84
83
  encryptedSelf?: string;
85
84
  securityMetadata?: SecurityMetadata;
86
- readonly _type?: EntityWithDelegationTypeName;
87
85
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Classification = void 0;
4
4
  class Classification {
5
5
  constructor(json) {
6
- this._type = 'Classification';
7
6
  Object.assign(this, json);
8
7
  }
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Classification.js","sourceRoot":"","sources":["../../../icc-api/model/Classification.ts"],"names":[],"mappings":";;;AAgBA,MAAa,cAAc;IACzB,YAAY,IAAgB;QAkEnB,UAAK,GAAkC,gBAAgB,CAAA;QAjE9D,MAAM,CAAC,MAAM,CAAC,IAAsB,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;CAiEF;AApED,wCAoEC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\nexport class Classification {\n constructor(json: JSON | any) {\n Object.assign(this as Classification, json)\n }\n\n id?: string\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n parentId?: string\n label?: string\n templateId?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n readonly _type?: EntityWithDelegationTypeName = 'Classification'\n}\n"]}
1
+ {"version":3,"file":"Classification.js","sourceRoot":"","sources":["../../../icc-api/model/Classification.ts"],"names":[],"mappings":";;;AAgBA,MAAa,cAAc;IACzB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAsB,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;CAiEF;AApED,wCAoEC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\nexport class Classification {\n constructor(json: JSON | any) {\n Object.assign(this as Classification, json)\n }\n\n id?: string\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n parentId?: string\n label?: string\n templateId?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n \n}\n"]}
@@ -1,4 +1,4 @@
1
- import { ConnectionStatus, WebSocketWrapper } from "../../icc-x-api/utils/websocket";
1
+ import { ConnectionStatus, WebSocketWrapper } from "../../icc-x-api";
2
2
  export interface Connection {
3
3
  close(): void;
4
4
  onConnected(callback: () => void): Connection;
@@ -1 +1 @@
1
- {"version":3,"file":"Connection.js","sourceRoot":"","sources":["../../../icc-api/model/Connection.ts"],"names":[],"mappings":";;;AASA,MAAa,cAAc;IAIzB,YAAY,EAAoB;QAC9B,IAAI,CAAC,GAAG,GAAG,EAAE,CAAA;QACb,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAA;IACzC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAA;IAClB,CAAC;IAED,WAAW,CAAC,QAAoB;;QAC9B,MAAA,IAAI,CAAC,GAAG,0CAAE,iBAAiB,CAAC,WAAW,EAAE,CAAC,EAAoB,EAAE,EAAE;YAChE,IAAI,CAAC,gBAAgB,GAAG,WAAW,CAAA;YACnC,QAAQ,EAAE,CAAA;QACZ,CAAC,CAAC,CAAA;QACF,OAAO,IAAI,CAAA;IACb,CAAC;IAED,QAAQ,CAAC,QAAoB;;QAC3B,MAAA,IAAI,CAAC,GAAG,0CAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,EAAoB,EAAE,EAAE;YAC7D,IAAI,CAAC,gBAAgB,GAAG,QAAQ,CAAA;YAChC,QAAQ,EAAE,CAAA;QACZ,CAAC,CAAC,CAAA;QACF,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,CAAC,QAA6B;;QACnC,MAAA,IAAI,CAAC,GAAG,0CAAE,iBAAiB,CAAC,OAAO,EAAE,CAAC,EAAoB,EAAE,CAAS,EAAE,EAAE;YACvE,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAA;YAC/B,QAAQ,CAAC,CAAC,CAAC,CAAA;QACb,CAAC,CAAC,CAAA;QACF,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AApCD,wCAoCC","sourcesContent":["import {ConnectionStatus, WebSocketWrapper} from \"../../icc-x-api/utils/websocket\"\n\nexport interface Connection {\n close(): void\n onConnected(callback: () => void): Connection\n onClosed(callback: () => void): Connection\n onError(callback: (e?: Error) => void): Connection\n}\n\nexport class ConnectionImpl implements Connection {\n wsw: WebSocketWrapper\n connectionStatus: ConnectionStatus\n\n constructor(rs: WebSocketWrapper) {\n this.wsw = rs\n this.connectionStatus = 'NOT_CONNECTED'\n }\n\n close() {\n this.wsw.close()\n }\n\n onConnected(callback: () => void): Connection {\n this.wsw?.addStatusCallback('CONNECTED', (ws: WebSocketWrapper) => {\n this.connectionStatus = 'CONNECTED'\n callback()\n })\n return this\n }\n\n onClosed(callback: () => void): Connection {\n this.wsw?.addStatusCallback('CLOSED', (ws: WebSocketWrapper) => {\n this.connectionStatus = 'CLOSED'\n callback()\n })\n return this\n }\n\n onError(callback: (e?: Error) => void): Connection {\n this.wsw?.addStatusCallback('ERROR', (ws: WebSocketWrapper, e?: Error) => {\n this.connectionStatus = 'ERROR'\n callback(e)\n })\n return this\n }\n}\n"]}
1
+ {"version":3,"file":"Connection.js","sourceRoot":"","sources":["../../../icc-api/model/Connection.ts"],"names":[],"mappings":";;;AASA,MAAa,cAAc;IAIzB,YAAY,EAAoB;QAC9B,IAAI,CAAC,GAAG,GAAG,EAAE,CAAA;QACb,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAA;IACzC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAA;IAClB,CAAC;IAED,WAAW,CAAC,QAAoB;;QAC9B,MAAA,IAAI,CAAC,GAAG,0CAAE,iBAAiB,CAAC,WAAW,EAAE,CAAC,EAAoB,EAAE,EAAE;YAChE,IAAI,CAAC,gBAAgB,GAAG,WAAW,CAAA;YACnC,QAAQ,EAAE,CAAA;QACZ,CAAC,CAAC,CAAA;QACF,OAAO,IAAI,CAAA;IACb,CAAC;IAED,QAAQ,CAAC,QAAoB;;QAC3B,MAAA,IAAI,CAAC,GAAG,0CAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,EAAoB,EAAE,EAAE;YAC7D,IAAI,CAAC,gBAAgB,GAAG,QAAQ,CAAA;YAChC,QAAQ,EAAE,CAAA;QACZ,CAAC,CAAC,CAAA;QACF,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,CAAC,QAA6B;;QACnC,MAAA,IAAI,CAAC,GAAG,0CAAE,iBAAiB,CAAC,OAAO,EAAE,CAAC,EAAoB,EAAE,CAAS,EAAE,EAAE;YACvE,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAA;YAC/B,QAAQ,CAAC,CAAC,CAAC,CAAA;QACb,CAAC,CAAC,CAAA;QACF,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AApCD,wCAoCC","sourcesContent":["import {ConnectionStatus, WebSocketWrapper} from \"../../icc-x-api\"\n\nexport interface Connection {\n close(): void\n onConnected(callback: () => void): Connection\n onClosed(callback: () => void): Connection\n onError(callback: (e?: Error) => void): Connection\n}\n\nexport class ConnectionImpl implements Connection {\n wsw: WebSocketWrapper\n connectionStatus: ConnectionStatus\n\n constructor(rs: WebSocketWrapper) {\n this.wsw = rs\n this.connectionStatus = 'NOT_CONNECTED'\n }\n\n close() {\n this.wsw.close()\n }\n\n onConnected(callback: () => void): Connection {\n this.wsw?.addStatusCallback('CONNECTED', (ws: WebSocketWrapper) => {\n this.connectionStatus = 'CONNECTED'\n callback()\n })\n return this\n }\n\n onClosed(callback: () => void): Connection {\n this.wsw?.addStatusCallback('CLOSED', (ws: WebSocketWrapper) => {\n this.connectionStatus = 'CLOSED'\n callback()\n })\n return this\n }\n\n onError(callback: (e?: Error) => void): Connection {\n this.wsw?.addStatusCallback('ERROR', (ws: WebSocketWrapper, e?: Error) => {\n this.connectionStatus = 'ERROR'\n callback(e)\n })\n return this\n }\n}\n"]}
@@ -15,7 +15,6 @@ import { Identifier } from './Identifier';
15
15
  import { Service } from './Service';
16
16
  import { SubContact } from './SubContact';
17
17
  import { SecurityMetadata } from './SecurityMetadata';
18
- import { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName';
19
18
  /**
20
19
  * This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying icure-contact CouchDB database. The contact is the entity that records the medical information about the patient chronologically. A visit to the patient's house, a consultation at the practice, a phone call between the patient and the healthcare party or integrating lab reports into the medical file are examples of when a contact can be recorded. A contact can occur with or without direct interaction between the patient and the healthcare party. For example, when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient. A contact groups together pieces of information collected during one single event, for one single patient and for one or more healthcare parties. Patient's complaints, the diagnosis of a new problem, a surgical procedure, etc. are collected inside a contact. The main sub-element of the contact is the service. Each atomic piece of information collected during a contact is a service and is stored inside the services list of a contact.
21
20
  */
@@ -131,5 +130,4 @@ export declare class Contact {
131
130
  */
132
131
  encryptedSelf?: string;
133
132
  securityMetadata?: SecurityMetadata;
134
- readonly _type?: EntityWithDelegationTypeName;
135
133
  }
@@ -6,7 +6,6 @@ exports.Contact = void 0;
6
6
  */
7
7
  class Contact {
8
8
  constructor(json) {
9
- this._type = 'Contact';
10
9
  Object.assign(this, json);
11
10
  }
12
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Contact.js","sourceRoot":"","sources":["../../../icc-api/model/Contact.ts"],"names":[],"mappings":";;;AAmBA;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QA4GnB,UAAK,GAAkC,SAAS,CAAA;QA3GvD,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CA2GF;AA9GD,0BA8GC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { Identifier } from './Identifier'\nimport { Service } from './Service'\nimport { SubContact } from './SubContact'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\n/**\n * This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying icure-contact CouchDB database. The contact is the entity that records the medical information about the patient chronologically. A visit to the patient's house, a consultation at the practice, a phone call between the patient and the healthcare party or integrating lab reports into the medical file are examples of when a contact can be recorded. A contact can occur with or without direct interaction between the patient and the healthcare party. For example, when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient. A contact groups together pieces of information collected during one single event, for one single patient and for one or more healthcare parties. Patient's complaints, the diagnosis of a new problem, a surgical procedure, etc. are collected inside a contact. The main sub-element of the contact is the service. Each atomic piece of information collected during a contact is a service and is stored inside the services list of a contact.\n */\nexport class Contact {\n constructor(json: JSON | any) {\n Object.assign(this as Contact, json)\n }\n\n /**\n * the Id of the contact. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * the revision of the contact in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * The identifiers of the Contact\n */\n identifier?: Array<Identifier>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * Separate contacts can merged in one logical contact if they share the same groupId. When a contact must be split to selectively assign rights to healthcare parties, the split contacts all share the same groupId\n */\n groupId?: string\n /**\n * The date (YYYYMMDDhhmmss) of the start of the contact.\n */\n openingDate?: number\n /**\n * The date (YYYYMMDDhhmmss) marking the end of the contact.\n */\n closingDate?: number\n /**\n * Description of the contact\n */\n descr?: string\n /**\n * Location where the contact was recorded.\n */\n location?: string\n /**\n * An external (from another source) id with no guarantee or requirement for unicity.\n */\n externalId?: string\n encounterType?: CodeStub\n /**\n * Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.\n */\n subContacts?: Array<SubContact>\n /**\n * Set of all services provided to the patient during the contact.\n */\n services?: Array<Service>\n healthcarePartyId?: string\n modifiedContactId?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n readonly _type?: EntityWithDelegationTypeName = 'Contact'\n}\n"]}
1
+ {"version":3,"file":"Contact.js","sourceRoot":"","sources":["../../../icc-api/model/Contact.ts"],"names":[],"mappings":";;;AAmBA;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CA2GF;AA9GD,0BA8GC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { Identifier } from './Identifier'\nimport { Service } from './Service'\nimport { SubContact } from './SubContact'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\n\n/**\n * This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying icure-contact CouchDB database. The contact is the entity that records the medical information about the patient chronologically. A visit to the patient's house, a consultation at the practice, a phone call between the patient and the healthcare party or integrating lab reports into the medical file are examples of when a contact can be recorded. A contact can occur with or without direct interaction between the patient and the healthcare party. For example, when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient. A contact groups together pieces of information collected during one single event, for one single patient and for one or more healthcare parties. Patient's complaints, the diagnosis of a new problem, a surgical procedure, etc. are collected inside a contact. The main sub-element of the contact is the service. Each atomic piece of information collected during a contact is a service and is stored inside the services list of a contact.\n */\nexport class Contact {\n constructor(json: JSON | any) {\n Object.assign(this as Contact, json)\n }\n\n /**\n * the Id of the contact. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * the revision of the contact in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * The identifiers of the Contact\n */\n identifier?: Array<Identifier>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * Separate contacts can merged in one logical contact if they share the same groupId. When a contact must be split to selectively assign rights to healthcare parties, the split contacts all share the same groupId\n */\n groupId?: string\n /**\n * The date (YYYYMMDDhhmmss) of the start of the contact.\n */\n openingDate?: number\n /**\n * The date (YYYYMMDDhhmmss) marking the end of the contact.\n */\n closingDate?: number\n /**\n * Description of the contact\n */\n descr?: string\n /**\n * Location where the contact was recorded.\n */\n location?: string\n /**\n * An external (from another source) id with no guarantee or requirement for unicity.\n */\n externalId?: string\n encounterType?: CodeStub\n /**\n * Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.\n */\n subContacts?: Array<SubContact>\n /**\n * Set of all services provided to the patient during the contact.\n */\n services?: Array<Service>\n healthcarePartyId?: string\n modifiedContactId?: string\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n \n}\n"]}
@@ -14,7 +14,6 @@ import { Delegation } from './Delegation';
14
14
  import { DataAttachment } from './DataAttachment';
15
15
  import { DeletedAttachment } from './DeletedAttachment';
16
16
  import { SecurityMetadata } from './SecurityMetadata';
17
- import { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName';
18
17
  export declare class Document {
19
18
  constructor(json: JSON | any);
20
19
  /**
@@ -160,7 +159,6 @@ export declare class Document {
160
159
  */
161
160
  encryptedSelf?: string;
162
161
  securityMetadata?: SecurityMetadata;
163
- readonly _type?: EntityWithDelegationTypeName;
164
162
  }
165
163
  export declare namespace Document {
166
164
  type DocumentLocationEnum = 'annex' | 'body';
@@ -7,7 +7,6 @@ exports.Document = void 0;
7
7
  const ModelHelper_1 = require("./ModelHelper");
8
8
  class Document {
9
9
  constructor(json) {
10
- this._type = 'Document';
11
10
  Object.assign(this, json, json.encryptedAttachment ? { encryptedAttachment: (0, ModelHelper_1.b64_2ab)(json.encryptedAttachment) } : {}, json.decryptedAttachment ? { decryptedAttachment: (0, ModelHelper_1.b64_2ab)(json.decryptedAttachment) } : {});
12
11
  }
13
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Document.js","sourceRoot":"","sources":["../../../icc-api/model/Document.ts"],"names":[],"mappings":";;;AAgBA;;GAEG;AACH,+CAAuC;AAGvC,MAAa,QAAQ;IACnB,YAAY,IAAgB;QAgJnB,UAAK,GAAkC,UAAU,CAAA;QA/IxD,MAAM,CAAC,MAAM,CACX,IAAgB,EAChB,IAAI,EACJ,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,mBAAmB,EAAE,IAAA,qBAAO,EAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAC1F,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,mBAAmB,EAAE,IAAA,qBAAO,EAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3F,CAAA;IACH,CAAC;CA0IF;AAlJD,4BAkJC;AACD,WAAiB,QAAQ;IAEV,6BAAoB,GAAG;QAClC,KAAK,EAAE,OAA+B;QACtC,IAAI,EAAE,MAA8B;KACrC,CAAA;IAyCY,yBAAgB,GAAG;QAC9B,SAAS,EAAE,WAA+B;QAC1C,KAAK,EAAE,OAA2B;QAClC,SAAS,EAAE,YAAgC;QAC3C,YAAY,EAAE,cAAkC;QAChD,eAAe,EAAE,iBAAqC;QACtD,aAAa,EAAE,eAAmC;QAClD,KAAK,EAAE,OAA2B;QAClC,OAAO,EAAE,SAA6B;QACtC,KAAK,EAAE,OAA2B;QAClC,SAAS,EAAE,WAA+B;QAC1C,eAAe,EAAE,iBAAqC;QACtD,qBAAqB,EAAE,yBAA6C;QACpE,sBAAsB,EAAE,0BAA8C;QACtE,uBAAuB,EAAE,2BAA+C;QACxE,wBAAwB,EAAE,4BAAgD;QAC1E,qBAAqB,EAAE,yBAA6C;QACpE,YAAY,EAAE,cAAkC;QAChD,YAAY,EAAE,cAAkC;QAChD,UAAU,EAAE,YAAgC;QAC5C,SAAS,EAAE,WAA+B;QAC1C,uBAAuB,EAAE,yBAA6C;QACtE,uBAAuB,EAAE,yBAA6C;QACtE,IAAI,EAAE,MAA0B;QAChC,YAAY,EAAE,cAAkC;QAChD,0BAA0B,EAAE,4BAAgD;QAC5E,YAAY,EAAE,cAAkC;QAChD,eAAe,EAAE,iBAAqC;QACtD,oBAAoB,EAAE,sBAA0C;QAChE,2BAA2B,EAAE,6BAAiD;QAC9E,QAAQ,EAAE,UAA8B;QACxC,MAAM,EAAE,QAA4B;QACpC,OAAO,EAAE,SAA6B;QACtC,MAAM,EAAE,QAA4B;QACpC,MAAM,EAAE,QAA4B;QACpC,cAAc,EAAE,gBAAoC;QACpD,QAAQ,EAAE,UAA8B;QACxC,aAAa,EAAE,gBAAoC;QACnD,mBAAmB,EAAE,qBAAyC;QAC9D,WAAW,EAAE,aAAiC;KAC/C,CAAA;IAWY,2BAAkB,GAAG;QAChC,KAAK,EAAE,OAA6B;QACpC,SAAS,EAAE,WAAiC;QAC5C,aAAa,EAAE,gBAAsC;QACrD,QAAQ,EAAE,UAAgC;QAC1C,gBAAgB,EAAE,mBAAyC;QAC3D,MAAM,EAAE,QAA8B;QACtC,QAAQ,EAAE,UAAgC;QAC1C,IAAI,EAAE,MAA4B;QAClC,SAAS,EAAE,WAAiC;KAC7C,CAAA;AACH,CAAC,EA5GgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA4GxB","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { DataAttachment } from './DataAttachment'\nimport { DeletedAttachment } from './DeletedAttachment'\n\n/**\n * This entity is a root level object. It represents a Document. It is serialized in JSON and saved in the underlying CouchDB database.\n */\nimport { b64_2ab } from './ModelHelper'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\nexport class Document {\n constructor(json: JSON | any) {\n Object.assign(\n this as Document,\n json,\n json.encryptedAttachment ? { encryptedAttachment: b64_2ab(json.encryptedAttachment) } : {},\n json.decryptedAttachment ? { decryptedAttachment: b64_2ab(json.decryptedAttachment) } : {}\n )\n }\n\n /**\n * The Id of the document. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * The revision of the document in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * Location of the document\n */\n documentLocation?: Document.DocumentLocationEnum\n /**\n * The type of document, ex: admission, clinical path, document report,invoice, etc.\n */\n documentType?: Document.DocumentTypeEnum\n /**\n * The status of the development of the document. Ex: Draft, finalized, reviewed, signed, etc.\n */\n documentStatus?: Document.DocumentStatusEnum\n /**\n * When the document is stored in an external repository, this is the uri of the document in that repository\n */\n externalUri?: string\n /**\n * Name of the document\n */\n name?: string\n /**\n * The document version\n */\n version?: string\n /**\n * The ICureDocument (Form, Contact, ...) that has been used to generate the document\n */\n storedICureDocumentId?: string\n /**\n * A unique external id (from another external source).\n */\n externalUuid?: string\n /**\n * Size of the document file\n */\n size?: number\n /**\n * Hashed version of the document\n */\n hash?: string\n /**\n * Id of the contact during which the document was created\n */\n openingContactId?: string\n /**\n * Id of the main attachment of this document, if stored as a couchdb attachment\n */\n attachmentId?: string\n /**\n * Id of the main attachment of this document, if stored using the object storage service\n */\n objectStoreReference?: string\n /**\n * The main Uniform Type Identifier for the main attachment (https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html#//apple_ref/doc/uid/TP40001319-CH202-CHDHIJDE)\n */\n mainUti?: string\n /**\n * Extra Uniform Type Identifiers for the main attachment\n */\n otherUtis?: Array<string>\n /**\n * Secondary attachments for this document\n */\n secondaryAttachments?: { [key: string]: DataAttachment }\n /**\n * Information on past attachments for this document\n */\n deletedAttachments?: Array<DeletedAttachment>\n encryptedAttachment?: ArrayBuffer\n decryptedAttachment?: ArrayBuffer\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n readonly _type?: EntityWithDelegationTypeName = 'Document'\n}\nexport namespace Document {\n export type DocumentLocationEnum = 'annex' | 'body'\n export const DocumentLocationEnum = {\n Annex: 'annex' as DocumentLocationEnum,\n Body: 'body' as DocumentLocationEnum,\n }\n export type DocumentTypeEnum =\n | 'admission'\n | 'alert'\n | 'bvt_sample'\n | 'clinicalpath'\n | 'clinicalsummary'\n | 'contactreport'\n | 'quote'\n | 'invoice'\n | 'death'\n | 'discharge'\n | 'dischargereport'\n | 'ebirth_baby_medicalform'\n | 'ebirth_baby_notification'\n | 'ebirth_mother_medicalform'\n | 'ebirth_mother_notification'\n | 'ecare_safe_consultation'\n | 'epidemiology'\n | 'intervention'\n | 'labrequest'\n | 'labresult'\n | 'medicaladvisoragreement'\n | 'medicationschemeelement'\n | 'note'\n | 'notification'\n | 'pharmaceuticalprescription'\n | 'prescription'\n | 'productdelivery'\n | 'quickdischargereport'\n | 'radiationexposuremonitoring'\n | 'referral'\n | 'report'\n | 'request'\n | 'result'\n | 'sumehr'\n | 'telemonitoring'\n | 'template'\n | 'template_admin'\n | 'treatmentsuspension'\n | 'vaccination'\n export const DocumentTypeEnum = {\n Admission: 'admission' as DocumentTypeEnum,\n Alert: 'alert' as DocumentTypeEnum,\n BvtSample: 'bvt_sample' as DocumentTypeEnum,\n Clinicalpath: 'clinicalpath' as DocumentTypeEnum,\n Clinicalsummary: 'clinicalsummary' as DocumentTypeEnum,\n Contactreport: 'contactreport' as DocumentTypeEnum,\n Quote: 'quote' as DocumentTypeEnum,\n Invoice: 'invoice' as DocumentTypeEnum,\n Death: 'death' as DocumentTypeEnum,\n Discharge: 'discharge' as DocumentTypeEnum,\n Dischargereport: 'dischargereport' as DocumentTypeEnum,\n EbirthBabyMedicalform: 'ebirth_baby_medicalform' as DocumentTypeEnum,\n EbirthBabyNotification: 'ebirth_baby_notification' as DocumentTypeEnum,\n EbirthMotherMedicalform: 'ebirth_mother_medicalform' as DocumentTypeEnum,\n EbirthMotherNotification: 'ebirth_mother_notification' as DocumentTypeEnum,\n EcareSafeConsultation: 'ecare_safe_consultation' as DocumentTypeEnum,\n Epidemiology: 'epidemiology' as DocumentTypeEnum,\n Intervention: 'intervention' as DocumentTypeEnum,\n Labrequest: 'labrequest' as DocumentTypeEnum,\n Labresult: 'labresult' as DocumentTypeEnum,\n Medicaladvisoragreement: 'medicaladvisoragreement' as DocumentTypeEnum,\n Medicationschemeelement: 'medicationschemeelement' as DocumentTypeEnum,\n Note: 'note' as DocumentTypeEnum,\n Notification: 'notification' as DocumentTypeEnum,\n Pharmaceuticalprescription: 'pharmaceuticalprescription' as DocumentTypeEnum,\n Prescription: 'prescription' as DocumentTypeEnum,\n Productdelivery: 'productdelivery' as DocumentTypeEnum,\n Quickdischargereport: 'quickdischargereport' as DocumentTypeEnum,\n Radiationexposuremonitoring: 'radiationexposuremonitoring' as DocumentTypeEnum,\n Referral: 'referral' as DocumentTypeEnum,\n Report: 'report' as DocumentTypeEnum,\n Request: 'request' as DocumentTypeEnum,\n Result: 'result' as DocumentTypeEnum,\n Sumehr: 'sumehr' as DocumentTypeEnum,\n Telemonitoring: 'telemonitoring' as DocumentTypeEnum,\n Template: 'template' as DocumentTypeEnum,\n TemplateAdmin: 'template_admin' as DocumentTypeEnum,\n Treatmentsuspension: 'treatmentsuspension' as DocumentTypeEnum,\n Vaccination: 'vaccination' as DocumentTypeEnum,\n }\n export type DocumentStatusEnum =\n | 'draft'\n | 'finalized'\n | 'pending_review'\n | 'reviewed'\n | 'pending_signature'\n | 'signed'\n | 'canceled'\n | 'sent'\n | 'delivered'\n export const DocumentStatusEnum = {\n Draft: 'draft' as DocumentStatusEnum,\n Finalized: 'finalized' as DocumentStatusEnum,\n PendingReview: 'pending_review' as DocumentStatusEnum,\n Reviewed: 'reviewed' as DocumentStatusEnum,\n PendingSignature: 'pending_signature' as DocumentStatusEnum,\n Signed: 'signed' as DocumentStatusEnum,\n Canceled: 'canceled' as DocumentStatusEnum,\n Sent: 'sent' as DocumentStatusEnum,\n Delivered: 'delivered' as DocumentStatusEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"Document.js","sourceRoot":"","sources":["../../../icc-api/model/Document.ts"],"names":[],"mappings":";;;AAgBA;;GAEG;AACH,+CAAuC;AAGvC,MAAa,QAAQ;IACnB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CACX,IAAgB,EAChB,IAAI,EACJ,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,mBAAmB,EAAE,IAAA,qBAAO,EAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAC1F,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,mBAAmB,EAAE,IAAA,qBAAO,EAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3F,CAAA;IACH,CAAC;CA0IF;AAlJD,4BAkJC;AACD,WAAiB,QAAQ;IAEV,6BAAoB,GAAG;QAClC,KAAK,EAAE,OAA+B;QACtC,IAAI,EAAE,MAA8B;KACrC,CAAA;IAyCY,yBAAgB,GAAG;QAC9B,SAAS,EAAE,WAA+B;QAC1C,KAAK,EAAE,OAA2B;QAClC,SAAS,EAAE,YAAgC;QAC3C,YAAY,EAAE,cAAkC;QAChD,eAAe,EAAE,iBAAqC;QACtD,aAAa,EAAE,eAAmC;QAClD,KAAK,EAAE,OAA2B;QAClC,OAAO,EAAE,SAA6B;QACtC,KAAK,EAAE,OAA2B;QAClC,SAAS,EAAE,WAA+B;QAC1C,eAAe,EAAE,iBAAqC;QACtD,qBAAqB,EAAE,yBAA6C;QACpE,sBAAsB,EAAE,0BAA8C;QACtE,uBAAuB,EAAE,2BAA+C;QACxE,wBAAwB,EAAE,4BAAgD;QAC1E,qBAAqB,EAAE,yBAA6C;QACpE,YAAY,EAAE,cAAkC;QAChD,YAAY,EAAE,cAAkC;QAChD,UAAU,EAAE,YAAgC;QAC5C,SAAS,EAAE,WAA+B;QAC1C,uBAAuB,EAAE,yBAA6C;QACtE,uBAAuB,EAAE,yBAA6C;QACtE,IAAI,EAAE,MAA0B;QAChC,YAAY,EAAE,cAAkC;QAChD,0BAA0B,EAAE,4BAAgD;QAC5E,YAAY,EAAE,cAAkC;QAChD,eAAe,EAAE,iBAAqC;QACtD,oBAAoB,EAAE,sBAA0C;QAChE,2BAA2B,EAAE,6BAAiD;QAC9E,QAAQ,EAAE,UAA8B;QACxC,MAAM,EAAE,QAA4B;QACpC,OAAO,EAAE,SAA6B;QACtC,MAAM,EAAE,QAA4B;QACpC,MAAM,EAAE,QAA4B;QACpC,cAAc,EAAE,gBAAoC;QACpD,QAAQ,EAAE,UAA8B;QACxC,aAAa,EAAE,gBAAoC;QACnD,mBAAmB,EAAE,qBAAyC;QAC9D,WAAW,EAAE,aAAiC;KAC/C,CAAA;IAWY,2BAAkB,GAAG;QAChC,KAAK,EAAE,OAA6B;QACpC,SAAS,EAAE,WAAiC;QAC5C,aAAa,EAAE,gBAAsC;QACrD,QAAQ,EAAE,UAAgC;QAC1C,gBAAgB,EAAE,mBAAyC;QAC3D,MAAM,EAAE,QAA8B;QACtC,QAAQ,EAAE,UAAgC;QAC1C,IAAI,EAAE,MAA4B;QAClC,SAAS,EAAE,WAAiC;KAC7C,CAAA;AACH,CAAC,EA5GgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA4GxB","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { DataAttachment } from './DataAttachment'\nimport { DeletedAttachment } from './DeletedAttachment'\n\n/**\n * This entity is a root level object. It represents a Document. It is serialized in JSON and saved in the underlying CouchDB database.\n */\nimport { b64_2ab } from './ModelHelper'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\nexport class Document {\n constructor(json: JSON | any) {\n Object.assign(\n this as Document,\n json,\n json.encryptedAttachment ? { encryptedAttachment: b64_2ab(json.encryptedAttachment) } : {},\n json.decryptedAttachment ? { decryptedAttachment: b64_2ab(json.decryptedAttachment) } : {}\n )\n }\n\n /**\n * The Id of the document. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * The revision of the document in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * Location of the document\n */\n documentLocation?: Document.DocumentLocationEnum\n /**\n * The type of document, ex: admission, clinical path, document report,invoice, etc.\n */\n documentType?: Document.DocumentTypeEnum\n /**\n * The status of the development of the document. Ex: Draft, finalized, reviewed, signed, etc.\n */\n documentStatus?: Document.DocumentStatusEnum\n /**\n * When the document is stored in an external repository, this is the uri of the document in that repository\n */\n externalUri?: string\n /**\n * Name of the document\n */\n name?: string\n /**\n * The document version\n */\n version?: string\n /**\n * The ICureDocument (Form, Contact, ...) that has been used to generate the document\n */\n storedICureDocumentId?: string\n /**\n * A unique external id (from another external source).\n */\n externalUuid?: string\n /**\n * Size of the document file\n */\n size?: number\n /**\n * Hashed version of the document\n */\n hash?: string\n /**\n * Id of the contact during which the document was created\n */\n openingContactId?: string\n /**\n * Id of the main attachment of this document, if stored as a couchdb attachment\n */\n attachmentId?: string\n /**\n * Id of the main attachment of this document, if stored using the object storage service\n */\n objectStoreReference?: string\n /**\n * The main Uniform Type Identifier for the main attachment (https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html#//apple_ref/doc/uid/TP40001319-CH202-CHDHIJDE)\n */\n mainUti?: string\n /**\n * Extra Uniform Type Identifiers for the main attachment\n */\n otherUtis?: Array<string>\n /**\n * Secondary attachments for this document\n */\n secondaryAttachments?: { [key: string]: DataAttachment }\n /**\n * Information on past attachments for this document\n */\n deletedAttachments?: Array<DeletedAttachment>\n encryptedAttachment?: ArrayBuffer\n decryptedAttachment?: ArrayBuffer\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n \n}\nexport namespace Document {\n export type DocumentLocationEnum = 'annex' | 'body'\n export const DocumentLocationEnum = {\n Annex: 'annex' as DocumentLocationEnum,\n Body: 'body' as DocumentLocationEnum,\n }\n export type DocumentTypeEnum =\n | 'admission'\n | 'alert'\n | 'bvt_sample'\n | 'clinicalpath'\n | 'clinicalsummary'\n | 'contactreport'\n | 'quote'\n | 'invoice'\n | 'death'\n | 'discharge'\n | 'dischargereport'\n | 'ebirth_baby_medicalform'\n | 'ebirth_baby_notification'\n | 'ebirth_mother_medicalform'\n | 'ebirth_mother_notification'\n | 'ecare_safe_consultation'\n | 'epidemiology'\n | 'intervention'\n | 'labrequest'\n | 'labresult'\n | 'medicaladvisoragreement'\n | 'medicationschemeelement'\n | 'note'\n | 'notification'\n | 'pharmaceuticalprescription'\n | 'prescription'\n | 'productdelivery'\n | 'quickdischargereport'\n | 'radiationexposuremonitoring'\n | 'referral'\n | 'report'\n | 'request'\n | 'result'\n | 'sumehr'\n | 'telemonitoring'\n | 'template'\n | 'template_admin'\n | 'treatmentsuspension'\n | 'vaccination'\n export const DocumentTypeEnum = {\n Admission: 'admission' as DocumentTypeEnum,\n Alert: 'alert' as DocumentTypeEnum,\n BvtSample: 'bvt_sample' as DocumentTypeEnum,\n Clinicalpath: 'clinicalpath' as DocumentTypeEnum,\n Clinicalsummary: 'clinicalsummary' as DocumentTypeEnum,\n Contactreport: 'contactreport' as DocumentTypeEnum,\n Quote: 'quote' as DocumentTypeEnum,\n Invoice: 'invoice' as DocumentTypeEnum,\n Death: 'death' as DocumentTypeEnum,\n Discharge: 'discharge' as DocumentTypeEnum,\n Dischargereport: 'dischargereport' as DocumentTypeEnum,\n EbirthBabyMedicalform: 'ebirth_baby_medicalform' as DocumentTypeEnum,\n EbirthBabyNotification: 'ebirth_baby_notification' as DocumentTypeEnum,\n EbirthMotherMedicalform: 'ebirth_mother_medicalform' as DocumentTypeEnum,\n EbirthMotherNotification: 'ebirth_mother_notification' as DocumentTypeEnum,\n EcareSafeConsultation: 'ecare_safe_consultation' as DocumentTypeEnum,\n Epidemiology: 'epidemiology' as DocumentTypeEnum,\n Intervention: 'intervention' as DocumentTypeEnum,\n Labrequest: 'labrequest' as DocumentTypeEnum,\n Labresult: 'labresult' as DocumentTypeEnum,\n Medicaladvisoragreement: 'medicaladvisoragreement' as DocumentTypeEnum,\n Medicationschemeelement: 'medicationschemeelement' as DocumentTypeEnum,\n Note: 'note' as DocumentTypeEnum,\n Notification: 'notification' as DocumentTypeEnum,\n Pharmaceuticalprescription: 'pharmaceuticalprescription' as DocumentTypeEnum,\n Prescription: 'prescription' as DocumentTypeEnum,\n Productdelivery: 'productdelivery' as DocumentTypeEnum,\n Quickdischargereport: 'quickdischargereport' as DocumentTypeEnum,\n Radiationexposuremonitoring: 'radiationexposuremonitoring' as DocumentTypeEnum,\n Referral: 'referral' as DocumentTypeEnum,\n Report: 'report' as DocumentTypeEnum,\n Request: 'request' as DocumentTypeEnum,\n Result: 'result' as DocumentTypeEnum,\n Sumehr: 'sumehr' as DocumentTypeEnum,\n Telemonitoring: 'telemonitoring' as DocumentTypeEnum,\n Template: 'template' as DocumentTypeEnum,\n TemplateAdmin: 'template_admin' as DocumentTypeEnum,\n Treatmentsuspension: 'treatmentsuspension' as DocumentTypeEnum,\n Vaccination: 'vaccination' as DocumentTypeEnum,\n }\n export type DocumentStatusEnum =\n | 'draft'\n | 'finalized'\n | 'pending_review'\n | 'reviewed'\n | 'pending_signature'\n | 'signed'\n | 'canceled'\n | 'sent'\n | 'delivered'\n export const DocumentStatusEnum = {\n Draft: 'draft' as DocumentStatusEnum,\n Finalized: 'finalized' as DocumentStatusEnum,\n PendingReview: 'pending_review' as DocumentStatusEnum,\n Reviewed: 'reviewed' as DocumentStatusEnum,\n PendingSignature: 'pending_signature' as DocumentStatusEnum,\n Signed: 'signed' as DocumentStatusEnum,\n Canceled: 'canceled' as DocumentStatusEnum,\n Sent: 'sent' as DocumentStatusEnum,\n Delivered: 'delivered' as DocumentStatusEnum,\n }\n}\n"]}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AbstractFilterMessage } from './AbstractFilterMessage';
13
+ import { Predicate } from './Predicate';
14
+ export declare class FilterChainMessage {
15
+ $type: string;
16
+ constructor(json: JSON | any);
17
+ filter?: AbstractFilterMessage;
18
+ predicate?: Predicate;
19
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterChainMessage = void 0;
4
+ class FilterChainMessage {
5
+ constructor(json) {
6
+ this.$type = 'FilterChain';
7
+ Object.assign(this, json);
8
+ }
9
+ }
10
+ exports.FilterChainMessage = FilterChainMessage;
11
+ //# sourceMappingURL=FilterChainMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterChainMessage.js","sourceRoot":"","sources":["../../../icc-api/model/FilterChainMessage.ts"],"names":[],"mappings":";;;AAcA,MAAa,kBAAkB;IAE7B,YAAY,IAAgB;QAD5B,UAAK,GAAW,aAAa,CAAA;QAE3B,MAAM,CAAC,MAAM,CAAC,IAA0B,EAAE,IAAI,CAAC,CAAA;IACjD,CAAC;CAIF;AARD,gDAQC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { AbstractFilterMessage } from './AbstractFilterMessage'\nimport { Predicate } from './Predicate'\n\nexport class FilterChainMessage {\n $type: string = 'FilterChain'\n constructor(json: JSON | any) {\n Object.assign(this as FilterChainMessage, json)\n }\n\n filter?: AbstractFilterMessage\n predicate?: Predicate\n}\n"]}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AbstractFilterTopic } from './AbstractFilterTopic';
13
+ import { Predicate } from './Predicate';
14
+ export declare class FilterChainTopic {
15
+ $type: string;
16
+ constructor(json: JSON | any);
17
+ filter?: AbstractFilterTopic;
18
+ predicate?: Predicate;
19
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterChainTopic = void 0;
4
+ class FilterChainTopic {
5
+ constructor(json) {
6
+ this.$type = 'FilterChain';
7
+ Object.assign(this, json);
8
+ }
9
+ }
10
+ exports.FilterChainTopic = FilterChainTopic;
11
+ //# sourceMappingURL=FilterChainTopic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterChainTopic.js","sourceRoot":"","sources":["../../../icc-api/model/FilterChainTopic.ts"],"names":[],"mappings":";;;AAcA,MAAa,gBAAgB;IAE3B,YAAY,IAAgB;QAD5B,UAAK,GAAW,aAAa,CAAA;QAE3B,MAAM,CAAC,MAAM,CAAC,IAAwB,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC;CAIF;AARD,4CAQC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { AbstractFilterTopic } from './AbstractFilterTopic'\nimport { Predicate } from './Predicate'\n\nexport class FilterChainTopic {\n $type: string = 'FilterChain'\n constructor(json: JSON | any) {\n Object.assign(this as FilterChainTopic, json)\n }\n\n filter?: AbstractFilterTopic\n predicate?: Predicate\n}\n"]}
@@ -12,7 +12,6 @@
12
12
  import { CodeStub } from './CodeStub';
13
13
  import { Delegation } from './Delegation';
14
14
  import { SecurityMetadata } from './SecurityMetadata';
15
- import { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName';
16
15
  export declare class Form {
17
16
  constructor(json: JSON | any);
18
17
  /**
@@ -118,5 +117,4 @@ export declare class Form {
118
117
  */
119
118
  encryptedSelf?: string;
120
119
  securityMetadata?: SecurityMetadata;
121
- readonly _type?: EntityWithDelegationTypeName;
122
120
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Form = void 0;
4
4
  class Form {
5
5
  constructor(json) {
6
- this._type = 'Form';
7
6
  Object.assign(this, json);
8
7
  }
9
8
  }