@icure/cardinal-sdk 1.0.0-RC.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1159) hide show
  1. package/Kermit-kermit-core.mjs +269 -0
  2. package/Kermit-kermit-core.mjs.map +1 -0
  3. package/Kermit-kermit.mjs +57 -0
  4. package/Kermit-kermit.mjs.map +1 -0
  5. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +6300 -0
  6. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
  7. package/api/AccessLogApi.d.mts +65 -0
  8. package/api/AccessLogApi.mjs +2 -0
  9. package/api/AccessLogApi.mjs.map +1 -0
  10. package/api/AccessLogBasicApi.d.mts +31 -0
  11. package/api/AccessLogBasicApi.mjs +2 -0
  12. package/api/AccessLogBasicApi.mjs.map +1 -0
  13. package/api/AccessLogFlavouredApi.d.mts +39 -0
  14. package/api/AccessLogFlavouredApi.mjs +2 -0
  15. package/api/AccessLogFlavouredApi.mjs.map +1 -0
  16. package/api/AgendaApi.d.mts +20 -0
  17. package/api/AgendaApi.mjs +2 -0
  18. package/api/AgendaApi.mjs.map +1 -0
  19. package/api/ApplicationSettingsApi.d.mts +6 -0
  20. package/api/ApplicationSettingsApi.mjs +2 -0
  21. package/api/ApplicationSettingsApi.mjs.map +1 -0
  22. package/api/CalendarItemApi.d.mts +53 -0
  23. package/api/CalendarItemApi.mjs +2 -0
  24. package/api/CalendarItemApi.mjs.map +1 -0
  25. package/api/CalendarItemBasicApi.d.mts +18 -0
  26. package/api/CalendarItemBasicApi.mjs +2 -0
  27. package/api/CalendarItemBasicApi.mjs.map +1 -0
  28. package/api/CalendarItemFlavouredApi.d.mts +27 -0
  29. package/api/CalendarItemFlavouredApi.mjs +2 -0
  30. package/api/CalendarItemFlavouredApi.mjs.map +1 -0
  31. package/api/CardinalMaintenanceTaskApi.d.mts +10 -0
  32. package/api/CardinalMaintenanceTaskApi.mjs +2 -0
  33. package/api/CardinalMaintenanceTaskApi.mjs.map +1 -0
  34. package/api/ClassificationApi.d.mts +48 -0
  35. package/api/ClassificationApi.mjs +2 -0
  36. package/api/ClassificationApi.mjs.map +1 -0
  37. package/api/ClassificationBasicApi.d.mts +14 -0
  38. package/api/ClassificationBasicApi.mjs +2 -0
  39. package/api/ClassificationBasicApi.mjs.map +1 -0
  40. package/api/ClassificationFlavouredApi.d.mts +22 -0
  41. package/api/ClassificationFlavouredApi.mjs +2 -0
  42. package/api/ClassificationFlavouredApi.mjs.map +1 -0
  43. package/api/CodeApi.d.mts +56 -0
  44. package/api/CodeApi.mjs +2 -0
  45. package/api/CodeApi.mjs.map +1 -0
  46. package/api/ContactApi.d.mts +89 -0
  47. package/api/ContactApi.mjs +2 -0
  48. package/api/ContactApi.mjs.map +1 -0
  49. package/api/ContactBasicApi.d.mts +52 -0
  50. package/api/ContactBasicApi.mjs +2 -0
  51. package/api/ContactBasicApi.mjs.map +1 -0
  52. package/api/ContactFlavouredApi.d.mts +45 -0
  53. package/api/ContactFlavouredApi.mjs +2 -0
  54. package/api/ContactFlavouredApi.mjs.map +1 -0
  55. package/api/CryptoApi.d.mts +5 -0
  56. package/api/CryptoApi.mjs +2 -0
  57. package/api/CryptoApi.mjs.map +1 -0
  58. package/api/DataOwnerApi.d.mts +16 -0
  59. package/api/DataOwnerApi.mjs +2 -0
  60. package/api/DataOwnerApi.mjs.map +1 -0
  61. package/api/DeviceApi.d.mts +24 -0
  62. package/api/DeviceApi.mjs +2 -0
  63. package/api/DeviceApi.mjs.map +1 -0
  64. package/api/DocumentApi.d.mts +82 -0
  65. package/api/DocumentApi.mjs +2 -0
  66. package/api/DocumentApi.mjs.map +1 -0
  67. package/api/DocumentBasicApi.d.mts +27 -0
  68. package/api/DocumentBasicApi.mjs +2 -0
  69. package/api/DocumentBasicApi.mjs.map +1 -0
  70. package/api/DocumentFlavouredApi.d.mts +27 -0
  71. package/api/DocumentFlavouredApi.mjs +2 -0
  72. package/api/DocumentFlavouredApi.mjs.map +1 -0
  73. package/api/DocumentTemplateApi.d.mts +22 -0
  74. package/api/DocumentTemplateApi.mjs +2 -0
  75. package/api/DocumentTemplateApi.mjs.map +1 -0
  76. package/api/EntityReferenceApi.d.mts +5 -0
  77. package/api/EntityReferenceApi.mjs +2 -0
  78. package/api/EntityReferenceApi.mjs.map +1 -0
  79. package/api/EntityTemplateApi.d.mts +23 -0
  80. package/api/EntityTemplateApi.mjs +2 -0
  81. package/api/EntityTemplateApi.mjs.map +1 -0
  82. package/api/FormApi.d.mts +76 -0
  83. package/api/FormApi.mjs +2 -0
  84. package/api/FormApi.mjs.map +1 -0
  85. package/api/FormBasicApi.d.mts +41 -0
  86. package/api/FormBasicApi.mjs +2 -0
  87. package/api/FormBasicApi.mjs.map +1 -0
  88. package/api/FormFlavouredApi.d.mts +33 -0
  89. package/api/FormFlavouredApi.mjs +2 -0
  90. package/api/FormFlavouredApi.mjs.map +1 -0
  91. package/api/FrontEndMigrationApi.d.mts +10 -0
  92. package/api/FrontEndMigrationApi.mjs +2 -0
  93. package/api/FrontEndMigrationApi.mjs.map +1 -0
  94. package/api/GroupApi.d.mts +70 -0
  95. package/api/GroupApi.mjs +2 -0
  96. package/api/GroupApi.mjs.map +1 -0
  97. package/api/HealthElementApi.d.mts +59 -0
  98. package/api/HealthElementApi.mjs +2 -0
  99. package/api/HealthElementApi.mjs.map +1 -0
  100. package/api/HealthElementBasicApi.d.mts +24 -0
  101. package/api/HealthElementBasicApi.mjs +2 -0
  102. package/api/HealthElementBasicApi.mjs.map +1 -0
  103. package/api/HealthElementFlavouredApi.d.mts +24 -0
  104. package/api/HealthElementFlavouredApi.mjs +2 -0
  105. package/api/HealthElementFlavouredApi.mjs.map +1 -0
  106. package/api/HealthcarePartyApi.d.mts +58 -0
  107. package/api/HealthcarePartyApi.mjs +2 -0
  108. package/api/HealthcarePartyApi.mjs.map +1 -0
  109. package/api/InsuranceApi.d.mts +16 -0
  110. package/api/InsuranceApi.mjs +2 -0
  111. package/api/InsuranceApi.mjs.map +1 -0
  112. package/api/InvoiceApi.d.mts +89 -0
  113. package/api/InvoiceApi.mjs +2 -0
  114. package/api/InvoiceApi.mjs.map +1 -0
  115. package/api/InvoiceBasicApi.d.mts +53 -0
  116. package/api/InvoiceBasicApi.mjs +2 -0
  117. package/api/InvoiceBasicApi.mjs.map +1 -0
  118. package/api/InvoiceFlavouredApi.d.mts +61 -0
  119. package/api/InvoiceFlavouredApi.mjs +2 -0
  120. package/api/InvoiceFlavouredApi.mjs.map +1 -0
  121. package/api/KeywordApi.d.mts +14 -0
  122. package/api/KeywordApi.mjs +2 -0
  123. package/api/KeywordApi.mjs.map +1 -0
  124. package/api/MaintenanceTaskApi.d.mts +46 -0
  125. package/api/MaintenanceTaskApi.mjs +2 -0
  126. package/api/MaintenanceTaskApi.mjs.map +1 -0
  127. package/api/MaintenanceTaskBasicApi.d.mts +20 -0
  128. package/api/MaintenanceTaskBasicApi.mjs +2 -0
  129. package/api/MaintenanceTaskBasicApi.mjs.map +1 -0
  130. package/api/MaintenanceTaskFlavouredApi.d.mts +16 -0
  131. package/api/MaintenanceTaskFlavouredApi.mjs +2 -0
  132. package/api/MaintenanceTaskFlavouredApi.mjs.map +1 -0
  133. package/api/MedicalLocationApi.d.mts +17 -0
  134. package/api/MedicalLocationApi.mjs +2 -0
  135. package/api/MedicalLocationApi.mjs.map +1 -0
  136. package/api/MessageApi.d.mts +73 -0
  137. package/api/MessageApi.mjs +2 -0
  138. package/api/MessageApi.mjs.map +1 -0
  139. package/api/MessageBasicApi.d.mts +38 -0
  140. package/api/MessageBasicApi.mjs +2 -0
  141. package/api/MessageBasicApi.mjs.map +1 -0
  142. package/api/MessageFlavouredApi.d.mts +40 -0
  143. package/api/MessageFlavouredApi.mjs +2 -0
  144. package/api/MessageFlavouredApi.mjs.map +1 -0
  145. package/api/PatientApi.d.mts +139 -0
  146. package/api/PatientApi.mjs +2 -0
  147. package/api/PatientApi.mjs.map +1 -0
  148. package/api/PatientBasicApi.d.mts +98 -0
  149. package/api/PatientBasicApi.mjs +2 -0
  150. package/api/PatientBasicApi.mjs.map +1 -0
  151. package/api/PatientFlavouredApi.d.mts +91 -0
  152. package/api/PatientFlavouredApi.mjs +2 -0
  153. package/api/PatientFlavouredApi.mjs.map +1 -0
  154. package/api/PermissionApi.d.mts +4 -0
  155. package/api/PermissionApi.mjs +2 -0
  156. package/api/PermissionApi.mjs.map +1 -0
  157. package/api/PlaceApi.d.mts +13 -0
  158. package/api/PlaceApi.mjs +2 -0
  159. package/api/PlaceApi.mjs.map +1 -0
  160. package/api/ReceiptApi.d.mts +43 -0
  161. package/api/ReceiptApi.mjs +2 -0
  162. package/api/ReceiptApi.mjs.map +1 -0
  163. package/api/ReceiptBasicApi.d.mts +11 -0
  164. package/api/ReceiptBasicApi.mjs +2 -0
  165. package/api/ReceiptBasicApi.mjs.map +1 -0
  166. package/api/ReceiptFlavouredApi.d.mts +13 -0
  167. package/api/ReceiptFlavouredApi.mjs +2 -0
  168. package/api/ReceiptFlavouredApi.mjs.map +1 -0
  169. package/api/RecoveryApi.d.mts +23 -0
  170. package/api/RecoveryApi.mjs +2 -0
  171. package/api/RecoveryApi.mjs.map +1 -0
  172. package/api/RoleApi.d.mts +4 -0
  173. package/api/RoleApi.mjs +2 -0
  174. package/api/RoleApi.mjs.map +1 -0
  175. package/api/ShamirKeysManagerApi.d.mts +12 -0
  176. package/api/ShamirKeysManagerApi.mjs +2 -0
  177. package/api/ShamirKeysManagerApi.mjs.map +1 -0
  178. package/api/SystemApi.d.mts +39 -0
  179. package/api/SystemApi.mjs +2 -0
  180. package/api/SystemApi.mjs.map +1 -0
  181. package/api/TarificationApi.d.mts +27 -0
  182. package/api/TarificationApi.mjs +2 -0
  183. package/api/TarificationApi.mjs.map +1 -0
  184. package/api/TimeTableApi.d.mts +45 -0
  185. package/api/TimeTableApi.mjs +2 -0
  186. package/api/TimeTableApi.mjs.map +1 -0
  187. package/api/TimeTableBasicApi.d.mts +16 -0
  188. package/api/TimeTableBasicApi.mjs +2 -0
  189. package/api/TimeTableBasicApi.mjs.map +1 -0
  190. package/api/TimeTableFlavouredApi.d.mts +18 -0
  191. package/api/TimeTableFlavouredApi.mjs +2 -0
  192. package/api/TimeTableFlavouredApi.mjs.map +1 -0
  193. package/api/TopicApi.d.mts +52 -0
  194. package/api/TopicApi.mjs +2 -0
  195. package/api/TopicApi.mjs.map +1 -0
  196. package/api/TopicBasicApi.d.mts +23 -0
  197. package/api/TopicBasicApi.mjs +2 -0
  198. package/api/TopicBasicApi.mjs.map +1 -0
  199. package/api/TopicFlavouredApi.d.mts +19 -0
  200. package/api/TopicFlavouredApi.mjs +2 -0
  201. package/api/TopicFlavouredApi.mjs.map +1 -0
  202. package/api/UserApi.d.mts +69 -0
  203. package/api/UserApi.mjs +2 -0
  204. package/api/UserApi.mjs.map +1 -0
  205. package/api.d.mts +66 -0
  206. package/api.mjs +67 -0
  207. package/api.mjs.map +1 -0
  208. package/cardinal-sdk-ts.d.mts +372 -0
  209. package/cardinal-sdk-ts.mjs +127200 -0
  210. package/cardinal-sdk-ts.mjs.map +1 -0
  211. package/cardinal-sdk.mjs +304194 -0
  212. package/cardinal-sdk.mjs.map +1 -0
  213. package/crypto/CryptoService.d.mts +85 -0
  214. package/crypto/CryptoService.mjs +26 -0
  215. package/crypto/CryptoService.mjs.map +1 -0
  216. package/crypto/CryptoStrategies.d.mts +144 -0
  217. package/crypto/CryptoStrategies.mjs +2 -0
  218. package/crypto/CryptoStrategies.mjs.map +1 -0
  219. package/crypto/entities/AccessLogShareOptions.d.mts +10 -0
  220. package/crypto/entities/AccessLogShareOptions.mjs +21 -0
  221. package/crypto/entities/AccessLogShareOptions.mjs.map +1 -0
  222. package/crypto/entities/CalendarItemShareOptions.d.mts +10 -0
  223. package/crypto/entities/CalendarItemShareOptions.mjs +21 -0
  224. package/crypto/entities/CalendarItemShareOptions.mjs.map +1 -0
  225. package/crypto/entities/ClassificationShareOptions.d.mts +10 -0
  226. package/crypto/entities/ClassificationShareOptions.mjs +21 -0
  227. package/crypto/entities/ClassificationShareOptions.mjs.map +1 -0
  228. package/crypto/entities/ContactShareOptions.d.mts +10 -0
  229. package/crypto/entities/ContactShareOptions.mjs +21 -0
  230. package/crypto/entities/ContactShareOptions.mjs.map +1 -0
  231. package/crypto/entities/DelegateShareOptions.d.mts +9 -0
  232. package/crypto/entities/DelegateShareOptions.mjs +9 -0
  233. package/crypto/entities/DelegateShareOptions.mjs.map +1 -0
  234. package/crypto/entities/DocumentShareOptions.d.mts +10 -0
  235. package/crypto/entities/DocumentShareOptions.mjs +21 -0
  236. package/crypto/entities/DocumentShareOptions.mjs.map +1 -0
  237. package/crypto/entities/EntityAccessInformation.d.mts +8 -0
  238. package/crypto/entities/EntityAccessInformation.mjs +7 -0
  239. package/crypto/entities/EntityAccessInformation.mjs.map +1 -0
  240. package/crypto/entities/EntityWithTypeInfo.d.mts +6 -0
  241. package/crypto/entities/EntityWithTypeInfo.mjs +7 -0
  242. package/crypto/entities/EntityWithTypeInfo.mjs.map +1 -0
  243. package/crypto/entities/FailedRequestDetails.d.mts +11 -0
  244. package/crypto/entities/FailedRequestDetails.mjs +12 -0
  245. package/crypto/entities/FailedRequestDetails.mjs.map +1 -0
  246. package/crypto/entities/FormShareOptions.d.mts +10 -0
  247. package/crypto/entities/FormShareOptions.mjs +21 -0
  248. package/crypto/entities/FormShareOptions.mjs.map +1 -0
  249. package/crypto/entities/HealthElementShareOptions.d.mts +10 -0
  250. package/crypto/entities/HealthElementShareOptions.mjs +21 -0
  251. package/crypto/entities/HealthElementShareOptions.mjs.map +1 -0
  252. package/crypto/entities/InvoiceShareOptions.d.mts +10 -0
  253. package/crypto/entities/InvoiceShareOptions.mjs +21 -0
  254. package/crypto/entities/InvoiceShareOptions.mjs.map +1 -0
  255. package/crypto/entities/MaintenanceTaskShareOptions.d.mts +9 -0
  256. package/crypto/entities/MaintenanceTaskShareOptions.mjs +18 -0
  257. package/crypto/entities/MaintenanceTaskShareOptions.mjs.map +1 -0
  258. package/crypto/entities/MessageShareOptions.d.mts +10 -0
  259. package/crypto/entities/MessageShareOptions.mjs +21 -0
  260. package/crypto/entities/MessageShareOptions.mjs.map +1 -0
  261. package/crypto/entities/PatientShareOptions.d.mts +9 -0
  262. package/crypto/entities/PatientShareOptions.mjs +18 -0
  263. package/crypto/entities/PatientShareOptions.mjs.map +1 -0
  264. package/crypto/entities/ReceiptShareOptions.d.mts +9 -0
  265. package/crypto/entities/ReceiptShareOptions.mjs +18 -0
  266. package/crypto/entities/ReceiptShareOptions.mjs.map +1 -0
  267. package/crypto/entities/RecoveryDataKey.d.mts +2 -0
  268. package/crypto/entities/RecoveryDataKey.mjs +2 -0
  269. package/crypto/entities/RecoveryDataKey.mjs.map +1 -0
  270. package/crypto/entities/RecoveryDataUseFailureReason.d.mts +6 -0
  271. package/crypto/entities/RecoveryDataUseFailureReason.mjs +9 -0
  272. package/crypto/entities/RecoveryDataUseFailureReason.mjs.map +1 -0
  273. package/crypto/entities/RecoveryResult.d.mts +14 -0
  274. package/crypto/entities/RecoveryResult.mjs +18 -0
  275. package/crypto/entities/RecoveryResult.mjs.map +1 -0
  276. package/crypto/entities/SecretIdOption.d.mts +14 -0
  277. package/crypto/entities/SecretIdOption.mjs +18 -0
  278. package/crypto/entities/SecretIdOption.mjs.map +1 -0
  279. package/crypto/entities/SecretIdShareOptions.d.mts +14 -0
  280. package/crypto/entities/SecretIdShareOptions.mjs +20 -0
  281. package/crypto/entities/SecretIdShareOptions.mjs.map +1 -0
  282. package/crypto/entities/SecretIdUseOption.d.mts +14 -0
  283. package/crypto/entities/SecretIdUseOption.mjs +18 -0
  284. package/crypto/entities/SecretIdUseOption.mjs.map +1 -0
  285. package/crypto/entities/ShamirUpdateRequest.d.mts +5 -0
  286. package/crypto/entities/ShamirUpdateRequest.mjs +8 -0
  287. package/crypto/entities/ShamirUpdateRequest.mjs.map +1 -0
  288. package/crypto/entities/ShareAllPatientDataOptions.d.mts +45 -0
  289. package/crypto/entities/ShareAllPatientDataOptions.mjs +55 -0
  290. package/crypto/entities/ShareAllPatientDataOptions.mjs.map +1 -0
  291. package/crypto/entities/ShareMetadataBehaviour.d.mts +5 -0
  292. package/crypto/entities/ShareMetadataBehaviour.mjs +8 -0
  293. package/crypto/entities/ShareMetadataBehaviour.mjs.map +1 -0
  294. package/crypto/entities/SimpleShareResult.d.mts +15 -0
  295. package/crypto/entities/SimpleShareResult.mjs +18 -0
  296. package/crypto/entities/SimpleShareResult.mjs.map +1 -0
  297. package/crypto/entities/TimeTableShareOptions.d.mts +9 -0
  298. package/crypto/entities/TimeTableShareOptions.mjs +18 -0
  299. package/crypto/entities/TimeTableShareOptions.mjs.map +1 -0
  300. package/crypto/entities/TopicShareOptions.d.mts +10 -0
  301. package/crypto/entities/TopicShareOptions.mjs +21 -0
  302. package/crypto/entities/TopicShareOptions.mjs.map +1 -0
  303. package/crypto.d.mts +28 -0
  304. package/crypto.mjs +29 -0
  305. package/crypto.mjs.map +1 -0
  306. package/filters/AccessLogFilters.d.mts +37 -0
  307. package/filters/AccessLogFilters.mjs +11 -0
  308. package/filters/AccessLogFilters.mjs.map +1 -0
  309. package/filters/AgendaFilters.d.mts +9 -0
  310. package/filters/AgendaFilters.mjs +8 -0
  311. package/filters/AgendaFilters.mjs.map +1 -0
  312. package/filters/CalendarItemFilters.d.mts +33 -0
  313. package/filters/CalendarItemFilters.mjs +13 -0
  314. package/filters/CalendarItemFilters.mjs.map +1 -0
  315. package/filters/ClassificationFilters.d.mts +27 -0
  316. package/filters/ClassificationFilters.mjs +9 -0
  317. package/filters/ClassificationFilters.mjs.map +1 -0
  318. package/filters/CodeFilters.d.mts +24 -0
  319. package/filters/CodeFilters.mjs +11 -0
  320. package/filters/CodeFilters.mjs.map +1 -0
  321. package/filters/ContactFilters.d.mts +82 -0
  322. package/filters/ContactFilters.mjs +31 -0
  323. package/filters/ContactFilters.mjs.map +1 -0
  324. package/filters/DeviceFilters.d.mts +9 -0
  325. package/filters/DeviceFilters.mjs +8 -0
  326. package/filters/DeviceFilters.mjs.map +1 -0
  327. package/filters/DocumentFilters.d.mts +32 -0
  328. package/filters/DocumentFilters.mjs +13 -0
  329. package/filters/DocumentFilters.mjs.map +1 -0
  330. package/filters/FormFilters.d.mts +35 -0
  331. package/filters/FormFilters.mjs +13 -0
  332. package/filters/FormFilters.mjs.map +1 -0
  333. package/filters/GroupFilters.d.mts +9 -0
  334. package/filters/GroupFilters.mjs +8 -0
  335. package/filters/GroupFilters.mjs.map +1 -0
  336. package/filters/HealthElementFilters.d.mts +51 -0
  337. package/filters/HealthElementFilters.mjs +24 -0
  338. package/filters/HealthElementFilters.mjs.map +1 -0
  339. package/filters/HealthcarePartyFilters.d.mts +24 -0
  340. package/filters/HealthcarePartyFilters.mjs +14 -0
  341. package/filters/HealthcarePartyFilters.mjs.map +1 -0
  342. package/filters/MaintenanceTaskFilters.d.mts +14 -0
  343. package/filters/MaintenanceTaskFilters.mjs +12 -0
  344. package/filters/MaintenanceTaskFilters.mjs.map +1 -0
  345. package/filters/MedicalLocationFilters.d.mts +8 -0
  346. package/filters/MedicalLocationFilters.mjs +7 -0
  347. package/filters/MedicalLocationFilters.mjs.map +1 -0
  348. package/filters/MessageFilters.d.mts +45 -0
  349. package/filters/MessageFilters.mjs +23 -0
  350. package/filters/MessageFilters.mjs.map +1 -0
  351. package/filters/MetaFilters.d.mts +41 -0
  352. package/filters/MetaFilters.mjs +11 -0
  353. package/filters/MetaFilters.mjs.map +1 -0
  354. package/filters/PatientFilters.d.mts +51 -0
  355. package/filters/PatientFilters.mjs +30 -0
  356. package/filters/PatientFilters.mjs.map +1 -0
  357. package/filters/ServiceFilters.d.mts +64 -0
  358. package/filters/ServiceFilters.mjs +26 -0
  359. package/filters/ServiceFilters.mjs.map +1 -0
  360. package/filters/TimeTableFilters.d.mts +12 -0
  361. package/filters/TimeTableFilters.mjs +7 -0
  362. package/filters/TimeTableFilters.mjs.map +1 -0
  363. package/filters/TopicFilters.d.mts +9 -0
  364. package/filters/TopicFilters.mjs +8 -0
  365. package/filters/TopicFilters.mjs.map +1 -0
  366. package/filters/UserFilters.d.mts +11 -0
  367. package/filters/UserFilters.mjs +10 -0
  368. package/filters/UserFilters.mjs.map +1 -0
  369. package/filters.d.mts +21 -0
  370. package/filters.mjs +22 -0
  371. package/filters.mjs.map +1 -0
  372. package/kotlin-kotlin-stdlib.mjs +16187 -0
  373. package/kotlin-kotlin-stdlib.mjs.map +1 -0
  374. package/kotlin-kotlinx-atomicfu-runtime.mjs +4 -0
  375. package/kotlin-kotlinx-atomicfu-runtime.mjs.map +1 -0
  376. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
  377. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -0
  378. package/kotlinx-atomicfu.mjs +248 -0
  379. package/kotlinx-atomicfu.mjs.map +1 -0
  380. package/kotlinx-coroutines-core.mjs +11012 -0
  381. package/kotlinx-coroutines-core.mjs.map +1 -0
  382. package/kotlinx-serialization-kotlinx-serialization-core.mjs +6497 -0
  383. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
  384. package/kotlinx-serialization-kotlinx-serialization-json.mjs +6266 -0
  385. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  386. package/kryptom-lib.mjs +6532 -0
  387. package/kryptom-lib.mjs.map +1 -0
  388. package/ktor-ktor-client-ktor-client-core.mjs +8735 -0
  389. package/ktor-ktor-client-ktor-client-core.mjs.map +1 -0
  390. package/ktor-ktor-client-ktor-client-js.mjs +4 -0
  391. package/ktor-ktor-client-ktor-client-js.mjs.map +1 -0
  392. package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +650 -0
  393. package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs.map +1 -0
  394. package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +4 -0
  395. package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs.map +1 -0
  396. package/ktor-ktor-http.mjs +3315 -0
  397. package/ktor-ktor-http.mjs.map +1 -0
  398. package/ktor-ktor-io.mjs +7164 -0
  399. package/ktor-ktor-io.mjs.map +1 -0
  400. package/ktor-ktor-shared-ktor-events.mjs +81 -0
  401. package/ktor-ktor-shared-ktor-events.mjs.map +1 -0
  402. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +46 -0
  403. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs.map +1 -0
  404. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +867 -0
  405. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs.map +1 -0
  406. package/ktor-ktor-shared-ktor-serialization.mjs +370 -0
  407. package/ktor-ktor-shared-ktor-serialization.mjs.map +1 -0
  408. package/ktor-ktor-shared-ktor-sse.mjs +51 -0
  409. package/ktor-ktor-shared-ktor-sse.mjs.map +1 -0
  410. package/ktor-ktor-shared-ktor-websocket-serialization.mjs +4 -0
  411. package/ktor-ktor-shared-ktor-websocket-serialization.mjs.map +1 -0
  412. package/ktor-ktor-shared-ktor-websockets.mjs +2347 -0
  413. package/ktor-ktor-shared-ktor-websockets.mjs.map +1 -0
  414. package/ktor-ktor-utils.mjs +2276 -0
  415. package/ktor-ktor-utils.mjs.map +1 -0
  416. package/model/AccessLog.d.mts +83 -0
  417. package/model/AccessLog.mjs +153 -0
  418. package/model/AccessLog.mjs.map +1 -0
  419. package/model/Agenda.d.mts +21 -0
  420. package/model/Agenda.mjs +48 -0
  421. package/model/Agenda.mjs.map +1 -0
  422. package/model/ApplicationSettings.d.mts +20 -0
  423. package/model/ApplicationSettings.mjs +42 -0
  424. package/model/ApplicationSettings.mjs.map +1 -0
  425. package/model/BooleanResponse.d.mts +4 -0
  426. package/model/BooleanResponse.mjs +7 -0
  427. package/model/BooleanResponse.mjs.map +1 -0
  428. package/model/CalendarItem.d.mts +140 -0
  429. package/model/CalendarItem.mjs +261 -0
  430. package/model/CalendarItem.mjs.map +1 -0
  431. package/model/Classification.d.mts +74 -0
  432. package/model/Classification.mjs +135 -0
  433. package/model/Classification.mjs.map +1 -0
  434. package/model/Code.d.mts +35 -0
  435. package/model/Code.mjs +63 -0
  436. package/model/Code.mjs.map +1 -0
  437. package/model/Contact.d.mts +122 -0
  438. package/model/Contact.mjs +207 -0
  439. package/model/Contact.mjs.map +1 -0
  440. package/model/CryptoActorStub.d.mts +33 -0
  441. package/model/CryptoActorStub.mjs +30 -0
  442. package/model/CryptoActorStub.mjs.map +1 -0
  443. package/model/CryptoActorStubWithType.d.mts +7 -0
  444. package/model/CryptoActorStubWithType.mjs +7 -0
  445. package/model/CryptoActorStubWithType.mjs.map +1 -0
  446. package/model/DataOwnerRegistrationSuccess.d.mts +6 -0
  447. package/model/DataOwnerRegistrationSuccess.mjs +9 -0
  448. package/model/DataOwnerRegistrationSuccess.mjs.map +1 -0
  449. package/model/DataOwnerType.d.mts +5 -0
  450. package/model/DataOwnerType.mjs +8 -0
  451. package/model/DataOwnerType.mjs.map +1 -0
  452. package/model/DataOwnerWithType.d.mts +21 -0
  453. package/model/DataOwnerWithType.mjs +25 -0
  454. package/model/DataOwnerWithType.mjs.map +1 -0
  455. package/model/DatabaseInitialisation.d.mts +10 -0
  456. package/model/DatabaseInitialisation.mjs +17 -0
  457. package/model/DatabaseInitialisation.mjs.map +1 -0
  458. package/model/Device.d.mts +55 -0
  459. package/model/Device.mjs +88 -0
  460. package/model/Device.mjs.map +1 -0
  461. package/model/Document.d.mts +133 -0
  462. package/model/Document.mjs +231 -0
  463. package/model/Document.mjs.map +1 -0
  464. package/model/DocumentTemplate.d.mts +33 -0
  465. package/model/DocumentTemplate.mjs +78 -0
  466. package/model/DocumentTemplate.mjs.map +1 -0
  467. package/model/EntityReference.d.mts +8 -0
  468. package/model/EntityReference.mjs +18 -0
  469. package/model/EntityReference.mjs.map +1 -0
  470. package/model/EntityTemplate.d.mts +14 -0
  471. package/model/EntityTemplate.mjs +36 -0
  472. package/model/EntityTemplate.mjs.map +1 -0
  473. package/model/Form.d.mts +98 -0
  474. package/model/Form.mjs +183 -0
  475. package/model/Form.mjs.map +1 -0
  476. package/model/FormTemplate.d.mts +28 -0
  477. package/model/FormTemplate.mjs +69 -0
  478. package/model/FormTemplate.mjs.map +1 -0
  479. package/model/FrontEndMigration.d.mts +19 -0
  480. package/model/FrontEndMigration.mjs +45 -0
  481. package/model/FrontEndMigration.mjs.map +1 -0
  482. package/model/Group.d.mts +32 -0
  483. package/model/Group.mjs +52 -0
  484. package/model/Group.mjs.map +1 -0
  485. package/model/GroupDeletionReport.d.mts +6 -0
  486. package/model/GroupDeletionReport.mjs +11 -0
  487. package/model/GroupDeletionReport.mjs.map +1 -0
  488. package/model/HealthElement.d.mts +122 -0
  489. package/model/HealthElement.mjs +219 -0
  490. package/model/HealthElement.mjs.map +1 -0
  491. package/model/HealthcareParty.d.mts +100 -0
  492. package/model/HealthcareParty.mjs +169 -0
  493. package/model/HealthcareParty.mjs.map +1 -0
  494. package/model/IcureStub.d.mts +30 -0
  495. package/model/IcureStub.mjs +51 -0
  496. package/model/IcureStub.mjs.map +1 -0
  497. package/model/IdWithRev.d.mts +5 -0
  498. package/model/IdWithRev.mjs +12 -0
  499. package/model/IdWithRev.mjs.map +1 -0
  500. package/model/IndexingInfo.d.mts +6 -0
  501. package/model/IndexingInfo.mjs +9 -0
  502. package/model/IndexingInfo.mjs.map +1 -0
  503. package/model/Insurance.d.mts +18 -0
  504. package/model/Insurance.mjs +37 -0
  505. package/model/Insurance.mjs.map +1 -0
  506. package/model/Invoice.d.mts +246 -0
  507. package/model/Invoice.mjs +441 -0
  508. package/model/Invoice.mjs.map +1 -0
  509. package/model/Keyword.d.mts +21 -0
  510. package/model/Keyword.mjs +48 -0
  511. package/model/Keyword.mjs.map +1 -0
  512. package/model/ListOfIds.d.mts +4 -0
  513. package/model/ListOfIds.mjs +9 -0
  514. package/model/ListOfIds.mjs.map +1 -0
  515. package/model/ListOfProperties.d.mts +5 -0
  516. package/model/ListOfProperties.mjs +8 -0
  517. package/model/ListOfProperties.mjs.map +1 -0
  518. package/model/MaintenanceTask.d.mts +80 -0
  519. package/model/MaintenanceTask.mjs +142 -0
  520. package/model/MaintenanceTask.mjs.map +1 -0
  521. package/model/MedicalLocation.d.mts +26 -0
  522. package/model/MedicalLocation.mjs +54 -0
  523. package/model/MedicalLocation.mjs.map +1 -0
  524. package/model/Message.d.mts +157 -0
  525. package/model/Message.mjs +249 -0
  526. package/model/Message.mjs.map +1 -0
  527. package/model/PaginatedDocumentKeyIdPair.d.mts +5 -0
  528. package/model/PaginatedDocumentKeyIdPair.mjs +12 -0
  529. package/model/PaginatedDocumentKeyIdPair.mjs.map +1 -0
  530. package/model/PaginatedList.d.mts +6 -0
  531. package/model/PaginatedList.mjs +11 -0
  532. package/model/PaginatedList.mjs.map +1 -0
  533. package/model/Patient.d.mts +295 -0
  534. package/model/Patient.mjs +500 -0
  535. package/model/Patient.mjs.map +1 -0
  536. package/model/Place.d.mts +11 -0
  537. package/model/Place.mjs +21 -0
  538. package/model/Place.mjs.map +1 -0
  539. package/model/PropertyStub.d.mts +29 -0
  540. package/model/PropertyStub.mjs +45 -0
  541. package/model/PropertyStub.mjs.map +1 -0
  542. package/model/PropertyTypeStub.d.mts +6 -0
  543. package/model/PropertyTypeStub.mjs +11 -0
  544. package/model/PropertyTypeStub.mjs.map +1 -0
  545. package/model/PublicKey.d.mts +5 -0
  546. package/model/PublicKey.mjs +12 -0
  547. package/model/PublicKey.mjs.map +1 -0
  548. package/model/Receipt.d.mts +87 -0
  549. package/model/Receipt.mjs +147 -0
  550. package/model/Receipt.mjs.map +1 -0
  551. package/model/RegistrationInformation.d.mts +9 -0
  552. package/model/RegistrationInformation.mjs +18 -0
  553. package/model/RegistrationInformation.mjs.map +1 -0
  554. package/model/RegistrationSuccess.d.mts +6 -0
  555. package/model/RegistrationSuccess.mjs +9 -0
  556. package/model/RegistrationSuccess.mjs.map +1 -0
  557. package/model/Replication.d.mts +13 -0
  558. package/model/Replication.mjs +24 -0
  559. package/model/Replication.mjs.map +1 -0
  560. package/model/ReplicationInfo.d.mts +7 -0
  561. package/model/ReplicationInfo.mjs +18 -0
  562. package/model/ReplicationInfo.mjs.map +1 -0
  563. package/model/Role.d.mts +9 -0
  564. package/model/Role.mjs +21 -0
  565. package/model/Role.mjs.map +1 -0
  566. package/model/Tarification.d.mts +48 -0
  567. package/model/Tarification.mjs +87 -0
  568. package/model/Tarification.mjs.map +1 -0
  569. package/model/TimeTable.d.mts +81 -0
  570. package/model/TimeTable.mjs +147 -0
  571. package/model/TimeTable.mjs.map +1 -0
  572. package/model/Topic.d.mts +90 -0
  573. package/model/Topic.mjs +153 -0
  574. package/model/Topic.mjs.map +1 -0
  575. package/model/TopicRole.d.mts +5 -0
  576. package/model/TopicRole.mjs +8 -0
  577. package/model/TopicRole.mjs.map +1 -0
  578. package/model/User.d.mts +50 -0
  579. package/model/User.mjs +91 -0
  580. package/model/User.mjs.map +1 -0
  581. package/model/UserGroup.d.mts +16 -0
  582. package/model/UserGroup.mjs +41 -0
  583. package/model/UserGroup.mjs.map +1 -0
  584. package/model/base/AppendixType.d.mts +5 -0
  585. package/model/base/AppendixType.mjs +8 -0
  586. package/model/base/AppendixType.mjs.map +1 -0
  587. package/model/base/CodeFlag.d.mts +80 -0
  588. package/model/base/CodeFlag.mjs +83 -0
  589. package/model/base/CodeFlag.mjs.map +1 -0
  590. package/model/base/CodeIdentification.d.mts +10 -0
  591. package/model/base/CodeIdentification.mjs +3 -0
  592. package/model/base/CodeIdentification.mjs.map +1 -0
  593. package/model/base/CodeStub.d.mts +13 -0
  594. package/model/base/CodeStub.mjs +26 -0
  595. package/model/base/CodeStub.mjs.map +1 -0
  596. package/model/base/CryptoActor.d.mts +27 -0
  597. package/model/base/CryptoActor.mjs +2 -0
  598. package/model/base/CryptoActor.mjs.map +1 -0
  599. package/model/base/DataOwner.d.mts +4 -0
  600. package/model/base/DataOwner.mjs +2 -0
  601. package/model/base/DataOwner.mjs.map +1 -0
  602. package/model/base/HasCodes.d.mts +4 -0
  603. package/model/base/HasCodes.mjs +2 -0
  604. package/model/base/HasCodes.mjs.map +1 -0
  605. package/model/base/HasEncryptionMetadata.d.mts +16 -0
  606. package/model/base/HasEncryptionMetadata.mjs +2 -0
  607. package/model/base/HasEncryptionMetadata.mjs.map +1 -0
  608. package/model/base/HasTags.d.mts +4 -0
  609. package/model/base/HasTags.mjs +2 -0
  610. package/model/base/HasTags.mjs.map +1 -0
  611. package/model/base/ICureDocument.d.mts +11 -0
  612. package/model/base/ICureDocument.mjs +2 -0
  613. package/model/base/ICureDocument.mjs.map +1 -0
  614. package/model/base/Identifiable.d.mts +3 -0
  615. package/model/base/Identifiable.mjs +3 -0
  616. package/model/base/Identifiable.mjs.map +1 -0
  617. package/model/base/Identifier.d.mts +12 -0
  618. package/model/base/Identifier.mjs +29 -0
  619. package/model/base/Identifier.mjs.map +1 -0
  620. package/model/base/LinkQualification.d.mts +26 -0
  621. package/model/base/LinkQualification.mjs +29 -0
  622. package/model/base/LinkQualification.mjs.map +1 -0
  623. package/model/base/Named.d.mts +3 -0
  624. package/model/base/Named.mjs +3 -0
  625. package/model/base/Named.mjs.map +1 -0
  626. package/model/base/ParticipantType.d.mts +15 -0
  627. package/model/base/ParticipantType.mjs +18 -0
  628. package/model/base/ParticipantType.mjs.map +1 -0
  629. package/model/base/Person.d.mts +14 -0
  630. package/model/base/Person.mjs +2 -0
  631. package/model/base/Person.mjs.map +1 -0
  632. package/model/base/ReportVersion.d.mts +3 -0
  633. package/model/base/ReportVersion.mjs +6 -0
  634. package/model/base/ReportVersion.mjs.map +1 -0
  635. package/model/base/StoredDocument.d.mts +4 -0
  636. package/model/base/StoredDocument.mjs +2 -0
  637. package/model/base/StoredDocument.mjs.map +1 -0
  638. package/model/base/Versionable.d.mts +4 -0
  639. package/model/base/Versionable.mjs +2 -0
  640. package/model/base/Versionable.mjs.map +1 -0
  641. package/model/couchdb/Basic.d.mts +5 -0
  642. package/model/couchdb/Basic.mjs +8 -0
  643. package/model/couchdb/Basic.mjs.map +1 -0
  644. package/model/couchdb/DatabaseInfo.d.mts +13 -0
  645. package/model/couchdb/DatabaseInfo.mjs +36 -0
  646. package/model/couchdb/DatabaseInfo.mjs.map +1 -0
  647. package/model/couchdb/DesignDocument.d.mts +25 -0
  648. package/model/couchdb/DesignDocument.mjs +33 -0
  649. package/model/couchdb/DesignDocument.mjs.map +1 -0
  650. package/model/couchdb/DocIdentifier.d.mts +5 -0
  651. package/model/couchdb/DocIdentifier.mjs +12 -0
  652. package/model/couchdb/DocIdentifier.mjs.map +1 -0
  653. package/model/couchdb/GroupDatabasesInfo.d.mts +7 -0
  654. package/model/couchdb/GroupDatabasesInfo.mjs +8 -0
  655. package/model/couchdb/GroupDatabasesInfo.mjs.map +1 -0
  656. package/model/couchdb/Remote.d.mts +6 -0
  657. package/model/couchdb/Remote.mjs +9 -0
  658. package/model/couchdb/Remote.mjs.map +1 -0
  659. package/model/couchdb/RemoteAuthentication.d.mts +5 -0
  660. package/model/couchdb/RemoteAuthentication.mjs +8 -0
  661. package/model/couchdb/RemoteAuthentication.mjs.map +1 -0
  662. package/model/couchdb/ReplicationStats.d.mts +12 -0
  663. package/model/couchdb/ReplicationStats.mjs +33 -0
  664. package/model/couchdb/ReplicationStats.mjs.map +1 -0
  665. package/model/couchdb/ReplicatorDocument.d.mts +24 -0
  666. package/model/couchdb/ReplicatorDocument.mjs +48 -0
  667. package/model/couchdb/ReplicatorDocument.mjs.map +1 -0
  668. package/model/couchdb/SortDirection.d.mts +4 -0
  669. package/model/couchdb/SortDirection.mjs +7 -0
  670. package/model/couchdb/SortDirection.mjs.map +1 -0
  671. package/model/couchdb/View.d.mts +5 -0
  672. package/model/couchdb/View.mjs +10 -0
  673. package/model/couchdb/View.mjs.map +1 -0
  674. package/model/data/LabelledOccurence.d.mts +5 -0
  675. package/model/data/LabelledOccurence.mjs +8 -0
  676. package/model/data/LabelledOccurence.mjs.map +1 -0
  677. package/model/embed/AccessLevel.d.mts +4 -0
  678. package/model/embed/AccessLevel.mjs +7 -0
  679. package/model/embed/AccessLevel.mjs.map +1 -0
  680. package/model/embed/Address.d.mts +54 -0
  681. package/model/embed/Address.mjs +93 -0
  682. package/model/embed/Address.mjs.map +1 -0
  683. package/model/embed/AddressType.d.mts +14 -0
  684. package/model/embed/AddressType.mjs +17 -0
  685. package/model/embed/AddressType.mjs.map +1 -0
  686. package/model/embed/AdministrationQuantity.d.mts +7 -0
  687. package/model/embed/AdministrationQuantity.mjs +14 -0
  688. package/model/embed/AdministrationQuantity.mjs.map +1 -0
  689. package/model/embed/AgreementAppendix.d.mts +7 -0
  690. package/model/embed/AgreementAppendix.mjs +18 -0
  691. package/model/embed/AgreementAppendix.mjs.map +1 -0
  692. package/model/embed/Annotation.d.mts +17 -0
  693. package/model/embed/Annotation.mjs +36 -0
  694. package/model/embed/Annotation.mjs.map +1 -0
  695. package/model/embed/AuthenticationClass.d.mts +8 -0
  696. package/model/embed/AuthenticationClass.mjs +11 -0
  697. package/model/embed/AuthenticationClass.mjs.map +1 -0
  698. package/model/embed/CalendarItemTag.d.mts +7 -0
  699. package/model/embed/CalendarItemTag.mjs +18 -0
  700. package/model/embed/CalendarItemTag.mjs.map +1 -0
  701. package/model/embed/CareTeamMember.d.mts +29 -0
  702. package/model/embed/CareTeamMember.mjs +45 -0
  703. package/model/embed/CareTeamMember.mjs.map +1 -0
  704. package/model/embed/CareTeamMemberType.d.mts +5 -0
  705. package/model/embed/CareTeamMemberType.mjs +8 -0
  706. package/model/embed/CareTeamMemberType.mjs.map +1 -0
  707. package/model/embed/CareTeamMembership.d.mts +28 -0
  708. package/model/embed/CareTeamMembership.mjs +45 -0
  709. package/model/embed/CareTeamMembership.mjs.map +1 -0
  710. package/model/embed/Content.d.mts +54 -0
  711. package/model/embed/Content.mjs +93 -0
  712. package/model/embed/Content.mjs.map +1 -0
  713. package/model/embed/ContractChangeType.d.mts +6 -0
  714. package/model/embed/ContractChangeType.mjs +9 -0
  715. package/model/embed/ContractChangeType.mjs.map +1 -0
  716. package/model/embed/DataAttachment.d.mts +6 -0
  717. package/model/embed/DataAttachment.mjs +15 -0
  718. package/model/embed/DataAttachment.mjs.map +1 -0
  719. package/model/embed/DatabaseSynchronization.d.mts +14 -0
  720. package/model/embed/DatabaseSynchronization.mjs +26 -0
  721. package/model/embed/DatabaseSynchronization.mjs.map +1 -0
  722. package/model/embed/DeactivationReason.d.mts +9 -0
  723. package/model/embed/DeactivationReason.mjs +12 -0
  724. package/model/embed/DeactivationReason.mjs.map +1 -0
  725. package/model/embed/Delegation.d.mts +8 -0
  726. package/model/embed/Delegation.mjs +17 -0
  727. package/model/embed/Delegation.mjs.map +1 -0
  728. package/model/embed/DelegationTag.d.mts +22 -0
  729. package/model/embed/DelegationTag.mjs +25 -0
  730. package/model/embed/DelegationTag.mjs.map +1 -0
  731. package/model/embed/DeletedAttachment.d.mts +7 -0
  732. package/model/embed/DeletedAttachment.mjs +18 -0
  733. package/model/embed/DeletedAttachment.mjs.map +1 -0
  734. package/model/embed/DocumentGroup.d.mts +5 -0
  735. package/model/embed/DocumentGroup.mjs +12 -0
  736. package/model/embed/DocumentGroup.mjs.map +1 -0
  737. package/model/embed/DocumentLocation.d.mts +4 -0
  738. package/model/embed/DocumentLocation.mjs +7 -0
  739. package/model/embed/DocumentLocation.mjs.map +1 -0
  740. package/model/embed/DocumentStatus.d.mts +11 -0
  741. package/model/embed/DocumentStatus.mjs +14 -0
  742. package/model/embed/DocumentStatus.mjs.map +1 -0
  743. package/model/embed/DocumentType.d.mts +41 -0
  744. package/model/embed/DocumentType.mjs +44 -0
  745. package/model/embed/DocumentType.mjs.map +1 -0
  746. package/model/embed/Duration.d.mts +6 -0
  747. package/model/embed/Duration.mjs +11 -0
  748. package/model/embed/Duration.mjs.map +1 -0
  749. package/model/embed/Employer.d.mts +7 -0
  750. package/model/embed/Employer.mjs +11 -0
  751. package/model/embed/Employer.mjs.map +1 -0
  752. package/model/embed/EmploymentInfo.d.mts +9 -0
  753. package/model/embed/EmploymentInfo.mjs +17 -0
  754. package/model/embed/EmploymentInfo.mjs.map +1 -0
  755. package/model/embed/Encryptable.d.mts +4 -0
  756. package/model/embed/Encryptable.mjs +2 -0
  757. package/model/embed/Encryptable.mjs.map +1 -0
  758. package/model/embed/Episode.d.mts +30 -0
  759. package/model/embed/Episode.mjs +51 -0
  760. package/model/embed/Episode.mjs.map +1 -0
  761. package/model/embed/FinancialInstitutionInformation.d.mts +36 -0
  762. package/model/embed/FinancialInstitutionInformation.mjs +63 -0
  763. package/model/embed/FinancialInstitutionInformation.mjs.map +1 -0
  764. package/model/embed/FlatRateTarification.d.mts +35 -0
  765. package/model/embed/FlatRateTarification.mjs +45 -0
  766. package/model/embed/FlatRateTarification.mjs.map +1 -0
  767. package/model/embed/FlatRateType.d.mts +6 -0
  768. package/model/embed/FlatRateType.mjs +9 -0
  769. package/model/embed/FlatRateType.mjs.map +1 -0
  770. package/model/embed/FlowItem.d.mts +36 -0
  771. package/model/embed/FlowItem.mjs +105 -0
  772. package/model/embed/FlowItem.mjs.map +1 -0
  773. package/model/embed/FrontEndMigrationStatus.d.mts +6 -0
  774. package/model/embed/FrontEndMigrationStatus.mjs +9 -0
  775. package/model/embed/FrontEndMigrationStatus.mjs.map +1 -0
  776. package/model/embed/Gender.d.mts +9 -0
  777. package/model/embed/Gender.mjs +12 -0
  778. package/model/embed/Gender.mjs.map +1 -0
  779. package/model/embed/GroupType.d.mts +5 -0
  780. package/model/embed/GroupType.mjs +8 -0
  781. package/model/embed/GroupType.mjs.map +1 -0
  782. package/model/embed/HealthcarePartyHistoryStatus.d.mts +8 -0
  783. package/model/embed/HealthcarePartyHistoryStatus.mjs +9 -0
  784. package/model/embed/HealthcarePartyHistoryStatus.mjs.map +1 -0
  785. package/model/embed/HealthcarePartyStatus.d.mts +5 -0
  786. package/model/embed/HealthcarePartyStatus.mjs +8 -0
  787. package/model/embed/HealthcarePartyStatus.mjs.map +1 -0
  788. package/model/embed/IdentityDocumentReader.d.mts +9 -0
  789. package/model/embed/IdentityDocumentReader.mjs +24 -0
  790. package/model/embed/IdentityDocumentReader.mjs.map +1 -0
  791. package/model/embed/Insurability.d.mts +48 -0
  792. package/model/embed/Insurability.mjs +75 -0
  793. package/model/embed/Insurability.mjs.map +1 -0
  794. package/model/embed/InvoiceInterventionType.d.mts +4 -0
  795. package/model/embed/InvoiceInterventionType.mjs +7 -0
  796. package/model/embed/InvoiceInterventionType.mjs.map +1 -0
  797. package/model/embed/InvoiceType.d.mts +8 -0
  798. package/model/embed/InvoiceType.mjs +11 -0
  799. package/model/embed/InvoiceType.mjs.map +1 -0
  800. package/model/embed/InvoicingCode.d.mts +169 -0
  801. package/model/embed/InvoicingCode.mjs +323 -0
  802. package/model/embed/InvoicingCode.mjs.map +1 -0
  803. package/model/embed/KeywordSubword.d.mts +6 -0
  804. package/model/embed/KeywordSubword.mjs +11 -0
  805. package/model/embed/KeywordSubword.mjs.map +1 -0
  806. package/model/embed/Laterality.d.mts +4 -0
  807. package/model/embed/Laterality.mjs +7 -0
  808. package/model/embed/Laterality.mjs.map +1 -0
  809. package/model/embed/LetterValue.d.mts +7 -0
  810. package/model/embed/LetterValue.mjs +18 -0
  811. package/model/embed/LetterValue.mjs.map +1 -0
  812. package/model/embed/Measure.d.mts +16 -0
  813. package/model/embed/Measure.mjs +38 -0
  814. package/model/embed/Measure.mjs.map +1 -0
  815. package/model/embed/MedicalHouseContract.d.mts +126 -0
  816. package/model/embed/MedicalHouseContract.mjs +213 -0
  817. package/model/embed/MedicalHouseContract.mjs.map +1 -0
  818. package/model/embed/Medication.d.mts +55 -0
  819. package/model/embed/Medication.mjs +131 -0
  820. package/model/embed/Medication.mjs.map +1 -0
  821. package/model/embed/Medicinalproduct.d.mts +9 -0
  822. package/model/embed/Medicinalproduct.mjs +20 -0
  823. package/model/embed/Medicinalproduct.mjs.map +1 -0
  824. package/model/embed/MediumType.d.mts +9 -0
  825. package/model/embed/MediumType.mjs +12 -0
  826. package/model/embed/MediumType.mjs.map +1 -0
  827. package/model/embed/MembershipType.d.mts +7 -0
  828. package/model/embed/MembershipType.mjs +10 -0
  829. package/model/embed/MembershipType.mjs.map +1 -0
  830. package/model/embed/MessageAttachment.d.mts +6 -0
  831. package/model/embed/MessageAttachment.mjs +11 -0
  832. package/model/embed/MessageAttachment.mjs.map +1 -0
  833. package/model/embed/MessageReadStatus.d.mts +5 -0
  834. package/model/embed/MessageReadStatus.mjs +12 -0
  835. package/model/embed/MessageReadStatus.mjs.map +1 -0
  836. package/model/embed/MhcSignatureType.d.mts +6 -0
  837. package/model/embed/MhcSignatureType.mjs +9 -0
  838. package/model/embed/MhcSignatureType.mjs.map +1 -0
  839. package/model/embed/ParagraphAgreement.d.mts +28 -0
  840. package/model/embed/ParagraphAgreement.mjs +71 -0
  841. package/model/embed/ParagraphAgreement.mjs.map +1 -0
  842. package/model/embed/Partnership.d.mts +10 -0
  843. package/model/embed/Partnership.mjs +20 -0
  844. package/model/embed/Partnership.mjs.map +1 -0
  845. package/model/embed/PartnershipStatus.d.mts +5 -0
  846. package/model/embed/PartnershipStatus.mjs +8 -0
  847. package/model/embed/PartnershipStatus.mjs.map +1 -0
  848. package/model/embed/PartnershipType.d.mts +40 -0
  849. package/model/embed/PartnershipType.mjs +43 -0
  850. package/model/embed/PartnershipType.mjs.map +1 -0
  851. package/model/embed/PatientHealthCareParty.d.mts +39 -0
  852. package/model/embed/PatientHealthCareParty.mjs +51 -0
  853. package/model/embed/PatientHealthCareParty.mjs.map +1 -0
  854. package/model/embed/PatientHealthCarePartyType.d.mts +10 -0
  855. package/model/embed/PatientHealthCarePartyType.mjs +13 -0
  856. package/model/embed/PatientHealthCarePartyType.mjs.map +1 -0
  857. package/model/embed/Payment.d.mts +7 -0
  858. package/model/embed/Payment.mjs +14 -0
  859. package/model/embed/Payment.mjs.map +1 -0
  860. package/model/embed/PaymentType.d.mts +10 -0
  861. package/model/embed/PaymentType.mjs +13 -0
  862. package/model/embed/PaymentType.mjs.map +1 -0
  863. package/model/embed/Periodicity.d.mts +6 -0
  864. package/model/embed/Periodicity.mjs +11 -0
  865. package/model/embed/Periodicity.mjs.map +1 -0
  866. package/model/embed/PersonName.d.mts +12 -0
  867. package/model/embed/PersonName.mjs +29 -0
  868. package/model/embed/PersonName.mjs.map +1 -0
  869. package/model/embed/PersonNameUse.d.mts +10 -0
  870. package/model/embed/PersonNameUse.mjs +13 -0
  871. package/model/embed/PersonNameUse.mjs.map +1 -0
  872. package/model/embed/PersonalStatus.d.mts +16 -0
  873. package/model/embed/PersonalStatus.mjs +19 -0
  874. package/model/embed/PersonalStatus.mjs.map +1 -0
  875. package/model/embed/PlanOfAction.d.mts +81 -0
  876. package/model/embed/PlanOfAction.mjs +165 -0
  877. package/model/embed/PlanOfAction.mjs.map +1 -0
  878. package/model/embed/Range.d.mts +5 -0
  879. package/model/embed/Range.mjs +12 -0
  880. package/model/embed/Range.mjs.map +1 -0
  881. package/model/embed/ReceiptBlobType.d.mts +9 -0
  882. package/model/embed/ReceiptBlobType.mjs +12 -0
  883. package/model/embed/ReceiptBlobType.mjs.map +1 -0
  884. package/model/embed/ReferenceRange.d.mts +13 -0
  885. package/model/embed/ReferenceRange.mjs +26 -0
  886. package/model/embed/ReferenceRange.mjs.map +1 -0
  887. package/model/embed/ReferralPeriod.d.mts +6 -0
  888. package/model/embed/ReferralPeriod.mjs +15 -0
  889. package/model/embed/ReferralPeriod.mjs.map +1 -0
  890. package/model/embed/RegimenItem.d.mts +12 -0
  891. package/model/embed/RegimenItem.mjs +23 -0
  892. package/model/embed/RegimenItem.mjs.map +1 -0
  893. package/model/embed/Renewal.d.mts +6 -0
  894. package/model/embed/Renewal.mjs +11 -0
  895. package/model/embed/Renewal.mjs.map +1 -0
  896. package/model/embed/Right.d.mts +7 -0
  897. package/model/embed/Right.mjs +18 -0
  898. package/model/embed/Right.mjs.map +1 -0
  899. package/model/embed/RoleConfiguration.d.mts +12 -0
  900. package/model/embed/RoleConfiguration.mjs +18 -0
  901. package/model/embed/RoleConfiguration.mjs.map +1 -0
  902. package/model/embed/SchoolingInfo.d.mts +8 -0
  903. package/model/embed/SchoolingInfo.mjs +17 -0
  904. package/model/embed/SchoolingInfo.mjs.map +1 -0
  905. package/model/embed/SecureDelegation.d.mts +14 -0
  906. package/model/embed/SecureDelegation.mjs +27 -0
  907. package/model/embed/SecureDelegation.mjs.map +1 -0
  908. package/model/embed/SecurityMetadata.d.mts +11 -0
  909. package/model/embed/SecurityMetadata.mjs +9 -0
  910. package/model/embed/SecurityMetadata.mjs.map +1 -0
  911. package/model/embed/Service.d.mts +161 -0
  912. package/model/embed/Service.mjs +231 -0
  913. package/model/embed/Service.mjs.map +1 -0
  914. package/model/embed/ServiceLink.d.mts +4 -0
  915. package/model/embed/ServiceLink.mjs +9 -0
  916. package/model/embed/ServiceLink.mjs.map +1 -0
  917. package/model/embed/SubContact.d.mts +60 -0
  918. package/model/embed/SubContact.mjs +123 -0
  919. package/model/embed/SubContact.mjs.map +1 -0
  920. package/model/embed/Substanceproduct.d.mts +9 -0
  921. package/model/embed/Substanceproduct.mjs +20 -0
  922. package/model/embed/Substanceproduct.mjs.map +1 -0
  923. package/model/embed/Suspension.d.mts +7 -0
  924. package/model/embed/Suspension.mjs +18 -0
  925. package/model/embed/Suspension.mjs.map +1 -0
  926. package/model/embed/SuspensionReason.d.mts +7 -0
  927. package/model/embed/SuspensionReason.mjs +10 -0
  928. package/model/embed/SuspensionReason.mjs.map +1 -0
  929. package/model/embed/TaskStatus.d.mts +6 -0
  930. package/model/embed/TaskStatus.mjs +9 -0
  931. package/model/embed/TaskStatus.mjs.map +1 -0
  932. package/model/embed/Telecom.d.mts +25 -0
  933. package/model/embed/Telecom.mjs +39 -0
  934. package/model/embed/Telecom.mjs.map +1 -0
  935. package/model/embed/TelecomType.d.mts +16 -0
  936. package/model/embed/TelecomType.mjs +19 -0
  937. package/model/embed/TelecomType.mjs.map +1 -0
  938. package/model/embed/TimeSeries.d.mts +10 -0
  939. package/model/embed/TimeSeries.mjs +27 -0
  940. package/model/embed/TimeSeries.mjs.map +1 -0
  941. package/model/embed/TimeTableHour.d.mts +5 -0
  942. package/model/embed/TimeTableHour.mjs +12 -0
  943. package/model/embed/TimeTableHour.mjs.map +1 -0
  944. package/model/embed/TimeTableItem.d.mts +18 -0
  945. package/model/embed/TimeTableItem.mjs +47 -0
  946. package/model/embed/TimeTableItem.mjs.map +1 -0
  947. package/model/embed/TypedValue.d.mts +34 -0
  948. package/model/embed/TypedValue.mjs +57 -0
  949. package/model/embed/TypedValue.mjs.map +1 -0
  950. package/model/embed/TypedValuesType.d.mts +9 -0
  951. package/model/embed/TypedValuesType.mjs +12 -0
  952. package/model/embed/TypedValuesType.mjs.map +1 -0
  953. package/model/embed/UserType.d.mts +6 -0
  954. package/model/embed/UserType.mjs +9 -0
  955. package/model/embed/UserType.mjs.map +1 -0
  956. package/model/embed/Valorisation.d.mts +51 -0
  957. package/model/embed/Valorisation.mjs +81 -0
  958. package/model/embed/Valorisation.mjs.map +1 -0
  959. package/model/embed/Weekday.d.mts +6 -0
  960. package/model/embed/Weekday.mjs +11 -0
  961. package/model/embed/Weekday.mjs.map +1 -0
  962. package/model/embed/form/template/Action.d.mts +8 -0
  963. package/model/embed/form/template/Action.mjs +14 -0
  964. package/model/embed/form/template/Action.mjs.map +1 -0
  965. package/model/embed/form/template/CheckBox.d.mts +25 -0
  966. package/model/embed/form/template/CheckBox.mjs +56 -0
  967. package/model/embed/form/template/CheckBox.mjs.map +1 -0
  968. package/model/embed/form/template/DatePicker.d.mts +25 -0
  969. package/model/embed/form/template/DatePicker.mjs +56 -0
  970. package/model/embed/form/template/DatePicker.mjs.map +1 -0
  971. package/model/embed/form/template/DateTimePicker.d.mts +25 -0
  972. package/model/embed/form/template/DateTimePicker.mjs +56 -0
  973. package/model/embed/form/template/DateTimePicker.mjs.map +1 -0
  974. package/model/embed/form/template/DropdownField.d.mts +25 -0
  975. package/model/embed/form/template/DropdownField.mjs +56 -0
  976. package/model/embed/form/template/DropdownField.mjs.map +1 -0
  977. package/model/embed/form/template/Field.d.mts +11 -0
  978. package/model/embed/form/template/Field.mjs +2 -0
  979. package/model/embed/form/template/Field.mjs.map +1 -0
  980. package/model/embed/form/template/FieldsGroup.d.mts +7 -0
  981. package/model/embed/form/template/FieldsGroup.mjs +10 -0
  982. package/model/embed/form/template/FieldsGroup.mjs.map +1 -0
  983. package/model/embed/form/template/FormTemplateLayout.d.mts +10 -0
  984. package/model/embed/form/template/FormTemplateLayout.mjs +18 -0
  985. package/model/embed/form/template/FormTemplateLayout.mjs.map +1 -0
  986. package/model/embed/form/template/Launcher.d.mts +7 -0
  987. package/model/embed/form/template/Launcher.mjs +10 -0
  988. package/model/embed/form/template/Launcher.mjs.map +1 -0
  989. package/model/embed/form/template/MeasureField.d.mts +25 -0
  990. package/model/embed/form/template/MeasureField.mjs +56 -0
  991. package/model/embed/form/template/MeasureField.mjs.map +1 -0
  992. package/model/embed/form/template/MultipleChoice.d.mts +25 -0
  993. package/model/embed/form/template/MultipleChoice.mjs +56 -0
  994. package/model/embed/form/template/MultipleChoice.mjs.map +1 -0
  995. package/model/embed/form/template/NumberField.d.mts +25 -0
  996. package/model/embed/form/template/NumberField.mjs +56 -0
  997. package/model/embed/form/template/NumberField.mjs.map +1 -0
  998. package/model/embed/form/template/RadioButton.d.mts +25 -0
  999. package/model/embed/form/template/RadioButton.mjs +56 -0
  1000. package/model/embed/form/template/RadioButton.mjs.map +1 -0
  1001. package/model/embed/form/template/Section.d.mts +8 -0
  1002. package/model/embed/form/template/Section.mjs +13 -0
  1003. package/model/embed/form/template/Section.mjs.map +1 -0
  1004. package/model/embed/form/template/State.d.mts +7 -0
  1005. package/model/embed/form/template/State.mjs +10 -0
  1006. package/model/embed/form/template/State.mjs.map +1 -0
  1007. package/model/embed/form/template/StateToUpdate.d.mts +7 -0
  1008. package/model/embed/form/template/StateToUpdate.mjs +10 -0
  1009. package/model/embed/form/template/StateToUpdate.mjs.map +1 -0
  1010. package/model/embed/form/template/StructureElement.d.mts +3 -0
  1011. package/model/embed/form/template/StructureElement.mjs +2 -0
  1012. package/model/embed/form/template/StructureElement.mjs.map +1 -0
  1013. package/model/embed/form/template/TextField.d.mts +25 -0
  1014. package/model/embed/form/template/TextField.mjs +56 -0
  1015. package/model/embed/form/template/TextField.mjs.map +1 -0
  1016. package/model/embed/form/template/TimePicker.d.mts +25 -0
  1017. package/model/embed/form/template/TimePicker.mjs +56 -0
  1018. package/model/embed/form/template/TimePicker.mjs.map +1 -0
  1019. package/model/embed/form/template/Trigger.d.mts +9 -0
  1020. package/model/embed/form/template/Trigger.mjs +12 -0
  1021. package/model/embed/form/template/Trigger.mjs.map +1 -0
  1022. package/model/enums/UsersStatus.d.mts +5 -0
  1023. package/model/enums/UsersStatus.mjs +8 -0
  1024. package/model/enums/UsersStatus.mjs.map +1 -0
  1025. package/model/enums/UsersType.d.mts +5 -0
  1026. package/model/enums/UsersType.mjs +8 -0
  1027. package/model/enums/UsersType.mjs.map +1 -0
  1028. package/model/filter/predicate/AlwaysPredicate.d.mts +4 -0
  1029. package/model/filter/predicate/AlwaysPredicate.mjs +7 -0
  1030. package/model/filter/predicate/AlwaysPredicate.mjs.map +1 -0
  1031. package/model/filter/predicate/AndPredicate.d.mts +6 -0
  1032. package/model/filter/predicate/AndPredicate.mjs +9 -0
  1033. package/model/filter/predicate/AndPredicate.mjs.map +1 -0
  1034. package/model/filter/predicate/KeyValuePredicate.d.mts +8 -0
  1035. package/model/filter/predicate/KeyValuePredicate.mjs +15 -0
  1036. package/model/filter/predicate/KeyValuePredicate.mjs.map +1 -0
  1037. package/model/filter/predicate/NotPredicate.d.mts +6 -0
  1038. package/model/filter/predicate/NotPredicate.mjs +7 -0
  1039. package/model/filter/predicate/NotPredicate.mjs.map +1 -0
  1040. package/model/filter/predicate/Operator.d.mts +10 -0
  1041. package/model/filter/predicate/Operator.mjs +13 -0
  1042. package/model/filter/predicate/Operator.mjs.map +1 -0
  1043. package/model/filter/predicate/OrPredicate.d.mts +6 -0
  1044. package/model/filter/predicate/OrPredicate.mjs +9 -0
  1045. package/model/filter/predicate/OrPredicate.mjs.map +1 -0
  1046. package/model/filter/predicate/Predicate.d.mts +6 -0
  1047. package/model/filter/predicate/Predicate.mjs +2 -0
  1048. package/model/filter/predicate/Predicate.mjs.map +1 -0
  1049. package/model/requests/RequestedPermission.d.mts +7 -0
  1050. package/model/requests/RequestedPermission.mjs +10 -0
  1051. package/model/requests/RequestedPermission.mjs.map +1 -0
  1052. package/model/sdk/KeyPairUpdateNotification.d.mts +6 -0
  1053. package/model/sdk/KeyPairUpdateNotification.mjs +7 -0
  1054. package/model/sdk/KeyPairUpdateNotification.mjs.map +1 -0
  1055. package/model/security/AlwaysPermissionItem.d.mts +6 -0
  1056. package/model/security/AlwaysPermissionItem.mjs +7 -0
  1057. package/model/security/AlwaysPermissionItem.mjs.map +1 -0
  1058. package/model/security/AuthenticationToken.d.mts +7 -0
  1059. package/model/security/AuthenticationToken.mjs +14 -0
  1060. package/model/security/AuthenticationToken.mjs.map +1 -0
  1061. package/model/security/Enable2faRequest.d.mts +5 -0
  1062. package/model/security/Enable2faRequest.mjs +8 -0
  1063. package/model/security/Enable2faRequest.mjs.map +1 -0
  1064. package/model/security/Operation.d.mts +3 -0
  1065. package/model/security/Operation.mjs +6 -0
  1066. package/model/security/Operation.mjs.map +1 -0
  1067. package/model/security/OperationToken.d.mts +9 -0
  1068. package/model/security/OperationToken.mjs +12 -0
  1069. package/model/security/OperationToken.mjs.map +1 -0
  1070. package/model/security/Permission.d.mts +6 -0
  1071. package/model/security/Permission.mjs +11 -0
  1072. package/model/security/Permission.mjs.map +1 -0
  1073. package/model/security/PermissionItem.d.mts +2 -0
  1074. package/model/security/PermissionItem.mjs +2 -0
  1075. package/model/security/PermissionItem.mjs.map +1 -0
  1076. package/model/security/PermissionType.d.mts +16 -0
  1077. package/model/security/PermissionType.mjs +19 -0
  1078. package/model/security/PermissionType.mjs.map +1 -0
  1079. package/model/security/TokenWithGroup.d.mts +6 -0
  1080. package/model/security/TokenWithGroup.mjs +11 -0
  1081. package/model/security/TokenWithGroup.mjs.map +1 -0
  1082. package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.d.mts +1 -0
  1083. package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.mjs +3 -0
  1084. package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.mjs.map +1 -0
  1085. package/model/specializations/AnyPrimitive.d.mts +1 -0
  1086. package/model/specializations/AnyPrimitive.mjs +3 -0
  1087. package/model/specializations/AnyPrimitive.mjs.map +1 -0
  1088. package/model/specializations/Base64String.d.mts +1 -0
  1089. package/model/specializations/Base64String.mjs +3 -0
  1090. package/model/specializations/Base64String.mjs.map +1 -0
  1091. package/model/specializations/HexString.d.mts +1 -0
  1092. package/model/specializations/HexString.mjs +3 -0
  1093. package/model/specializations/HexString.mjs.map +1 -0
  1094. package/model/specializations/KeypairFingerprintV1String.d.mts +1 -0
  1095. package/model/specializations/KeypairFingerprintV1String.mjs +3 -0
  1096. package/model/specializations/KeypairFingerprintV1String.mjs.map +1 -0
  1097. package/model/specializations/SecureDelegationKeyString.d.mts +1 -0
  1098. package/model/specializations/SecureDelegationKeyString.mjs +3 -0
  1099. package/model/specializations/SecureDelegationKeyString.mjs.map +1 -0
  1100. package/model/specializations/Sha256HexString.d.mts +1 -0
  1101. package/model/specializations/Sha256HexString.mjs +3 -0
  1102. package/model/specializations/Sha256HexString.mjs.map +1 -0
  1103. package/model/specializations/SpkiHexString.d.mts +1 -0
  1104. package/model/specializations/SpkiHexString.mjs +3 -0
  1105. package/model/specializations/SpkiHexString.mjs.map +1 -0
  1106. package/model.d.mts +230 -0
  1107. package/model.mjs +231 -0
  1108. package/model.mjs.map +1 -0
  1109. package/okio-parent-okio.mjs +4 -0
  1110. package/okio-parent-okio.mjs.map +1 -0
  1111. package/options/AuthenticationMethod.d.mts +327 -0
  1112. package/options/AuthenticationMethod.mjs +226 -0
  1113. package/options/AuthenticationMethod.mjs.map +1 -0
  1114. package/options/SdkOptions.d.mts +198 -0
  1115. package/options/SdkOptions.mjs +2 -0
  1116. package/options/SdkOptions.mjs.map +1 -0
  1117. package/options.d.mts +2 -0
  1118. package/options.mjs +3 -0
  1119. package/options.mjs.map +1 -0
  1120. package/package.json +23 -0
  1121. package/sdk/CardinalSdk.d.mts +214 -0
  1122. package/sdk/CardinalSdk.mjs +74 -0
  1123. package/sdk/CardinalSdk.mjs.map +1 -0
  1124. package/sdk.d.mts +1 -0
  1125. package/sdk.mjs +2 -0
  1126. package/sdk.mjs.map +1 -0
  1127. package/storage/StorageFacade.d.mts +85 -0
  1128. package/storage/StorageFacade.mjs +41 -0
  1129. package/storage/StorageFacade.mjs.map +1 -0
  1130. package/storage.d.mts +1 -0
  1131. package/storage.mjs +2 -0
  1132. package/storage.mjs.map +1 -0
  1133. package/subscription/EntitySubscription.d.mts +29 -0
  1134. package/subscription/EntitySubscription.mjs +2 -0
  1135. package/subscription/EntitySubscription.mjs.map +1 -0
  1136. package/subscription/EntitySubscriptionCloseReason.d.mts +5 -0
  1137. package/subscription/EntitySubscriptionCloseReason.mjs +8 -0
  1138. package/subscription/EntitySubscriptionCloseReason.mjs.map +1 -0
  1139. package/subscription/EntitySubscriptionConfiguration.d.mts +16 -0
  1140. package/subscription/EntitySubscriptionConfiguration.mjs +28 -0
  1141. package/subscription/EntitySubscriptionConfiguration.mjs.map +1 -0
  1142. package/subscription/EntitySubscriptionEvent.d.mts +35 -0
  1143. package/subscription/EntitySubscriptionEvent.mjs +39 -0
  1144. package/subscription/EntitySubscriptionEvent.mjs.map +1 -0
  1145. package/subscription/SubscriptionEventType.d.mts +4 -0
  1146. package/subscription/SubscriptionEventType.mjs +7 -0
  1147. package/subscription/SubscriptionEventType.mjs.map +1 -0
  1148. package/subscription.d.mts +5 -0
  1149. package/subscription.mjs +6 -0
  1150. package/subscription.mjs.map +1 -0
  1151. package/utils/DurationMs.d.mts +4 -0
  1152. package/utils/DurationMs.mjs +2 -0
  1153. package/utils/DurationMs.mjs.map +1 -0
  1154. package/utils/Id.d.mts +1 -0
  1155. package/utils/Id.mjs +18 -0
  1156. package/utils/Id.mjs.map +1 -0
  1157. package/utils.d.mts +2 -0
  1158. package/utils.mjs +3 -0
  1159. package/utils.mjs.map +1 -0
@@ -0,0 +1,214 @@
1
+ import { AccessLogApi } from "../api/AccessLogApi.mjs";
2
+ import { CalendarItemApi } from "../api/CalendarItemApi.mjs";
3
+ import { ClassificationApi } from "../api/ClassificationApi.mjs";
4
+ import { ContactApi } from "../api/ContactApi.mjs";
5
+ import { DeviceApi } from "../api/DeviceApi.mjs";
6
+ import { DocumentApi } from "../api/DocumentApi.mjs";
7
+ import { FormApi } from "../api/FormApi.mjs";
8
+ import { HealthElementApi } from "../api/HealthElementApi.mjs";
9
+ import { InvoiceApi } from "../api/InvoiceApi.mjs";
10
+ import { MaintenanceTaskApi } from "../api/MaintenanceTaskApi.mjs";
11
+ import { MessageApi } from "../api/MessageApi.mjs";
12
+ import { PatientApi } from "../api/PatientApi.mjs";
13
+ import { PermissionApi } from "../api/PermissionApi.mjs";
14
+ import { ReceiptApi } from "../api/ReceiptApi.mjs";
15
+ import { TimeTableApi } from "../api/TimeTableApi.mjs";
16
+ import { TopicApi } from "../api/TopicApi.mjs";
17
+ import { CryptoApi } from "../api/CryptoApi.mjs";
18
+ import { DataOwnerApi } from "../api/DataOwnerApi.mjs";
19
+ import { UserApi } from "../api/UserApi.mjs";
20
+ import { CardinalMaintenanceTaskApi } from "../api/CardinalMaintenanceTaskApi.mjs";
21
+ import { RecoveryApi } from "../api/RecoveryApi.mjs";
22
+ import { AuthenticationMethod, AuthenticationProcessCaptchaType, AuthenticationProcessTelecomType, AuthenticationProcessTemplateParameters } from "../options/AuthenticationMethod.mjs";
23
+ import { StorageFacade } from "../storage/StorageFacade.mjs";
24
+ import { CardinalStorageOptions } from "../cardinal-sdk-ts.mjs";
25
+ import { SdkOptions, BasicSdkOptions } from "../options/SdkOptions.mjs";
26
+ import { ApplicationSettingsApi } from "../api/ApplicationSettingsApi.mjs";
27
+ import { CodeApi } from "../api/CodeApi.mjs";
28
+ import { DocumentTemplateApi } from "../api/DocumentTemplateApi.mjs";
29
+ import { EntityReferenceApi } from "../api/EntityReferenceApi.mjs";
30
+ import { EntityTemplateApi } from "../api/EntityTemplateApi.mjs";
31
+ import { FrontEndMigrationApi } from "../api/FrontEndMigrationApi.mjs";
32
+ import { GroupApi } from "../api/GroupApi.mjs";
33
+ import { HealthcarePartyApi } from "../api/HealthcarePartyApi.mjs";
34
+ import { SystemApi } from "../api/SystemApi.mjs";
35
+ import { InsuranceApi } from "../api/InsuranceApi.mjs";
36
+ import { KeywordApi } from "../api/KeywordApi.mjs";
37
+ import { PlaceApi } from "../api/PlaceApi.mjs";
38
+ import { RoleApi } from "../api/RoleApi.mjs";
39
+ import { TarificationApi } from "../api/TarificationApi.mjs";
40
+ import { AccessLogBasicApi } from "../api/AccessLogBasicApi.mjs";
41
+ import { CalendarItemBasicApi } from "../api/CalendarItemBasicApi.mjs";
42
+ import { ClassificationBasicApi } from "../api/ClassificationBasicApi.mjs";
43
+ import { ContactBasicApi } from "../api/ContactBasicApi.mjs";
44
+ import { DocumentBasicApi } from "../api/DocumentBasicApi.mjs";
45
+ import { FormBasicApi } from "../api/FormBasicApi.mjs";
46
+ import { HealthElementBasicApi } from "../api/HealthElementBasicApi.mjs";
47
+ import { InvoiceBasicApi } from "../api/InvoiceBasicApi.mjs";
48
+ import { MaintenanceTaskBasicApi } from "../api/MaintenanceTaskBasicApi.mjs";
49
+ import { MessageBasicApi } from "../api/MessageBasicApi.mjs";
50
+ import { PatientBasicApi } from "../api/PatientBasicApi.mjs";
51
+ import { ReceiptBasicApi } from "../api/ReceiptBasicApi.mjs";
52
+ import { TimeTableBasicApi } from "../api/TimeTableBasicApi.mjs";
53
+ import { TopicBasicApi } from "../api/TopicBasicApi.mjs";
54
+ import { AgendaApi } from "../api/AgendaApi.mjs";
55
+ import { MedicalLocationApi } from "../api/MedicalLocationApi.mjs";
56
+ /**
57
+ * Main entry point to use iCure, provides access to the various apis with encryption capabilities.
58
+ * Only data owner users with a valid keypair can use these apis.
59
+ */
60
+ export interface CardinalSdk {
61
+ readonly applicationSettings: ApplicationSettingsApi;
62
+ readonly code: CodeApi;
63
+ readonly device: DeviceApi;
64
+ readonly documentTemplate: DocumentTemplateApi;
65
+ readonly entityReference: EntityReferenceApi;
66
+ readonly entityTemplate: EntityTemplateApi;
67
+ readonly frontEndMigration: FrontEndMigrationApi;
68
+ readonly group: GroupApi;
69
+ readonly healthcareParty: HealthcarePartyApi;
70
+ readonly system: SystemApi;
71
+ readonly insurance: InsuranceApi;
72
+ readonly keyword: KeywordApi;
73
+ readonly permission: PermissionApi;
74
+ readonly place: PlaceApi;
75
+ readonly role: RoleApi;
76
+ readonly tarification: TarificationApi;
77
+ readonly user: UserApi;
78
+ readonly medicalLocationApi: MedicalLocationApi;
79
+ readonly agendaApi: AgendaApi;
80
+ readonly accessLog: AccessLogApi;
81
+ readonly calendarItem: CalendarItemApi;
82
+ readonly classification: ClassificationApi;
83
+ readonly contact: ContactApi;
84
+ readonly document: DocumentApi;
85
+ readonly form: FormApi;
86
+ readonly healthElement: HealthElementApi;
87
+ readonly invoice: InvoiceApi;
88
+ readonly maintenanceTask: MaintenanceTaskApi;
89
+ readonly message: MessageApi;
90
+ readonly patient: PatientApi;
91
+ readonly receipt: ReceiptApi;
92
+ readonly timeTable: TimeTableApi;
93
+ readonly topic: TopicApi;
94
+ readonly crypto: CryptoApi;
95
+ readonly recovery: RecoveryApi;
96
+ readonly cardinalMaintenanceTask: CardinalMaintenanceTaskApi;
97
+ readonly dataOwner: DataOwnerApi;
98
+ /**
99
+ * Get a new sdk using the same configurations and user authentication methods but for a different group.
100
+ * To use this method, the authentication method provided at initialization of this sdk must be valid also for the
101
+ * new group.
102
+ *
103
+ * @param groupId the id of the new group to switch to
104
+ * @return a new sdk for executing requests in the provided group
105
+ */
106
+ switchGroup(groupId: String): Promise<CardinalSdk>;
107
+ }
108
+ /**
109
+ * A stripped down version of the iCure SDK that can be used also by users that aren't data owners.
110
+ * This could be useful, for example, if you want to perform some system maintenance using an admin user, or compile
111
+ * some statistics without using any encrypted information
112
+ */
113
+ export interface CardinalBaseSdk {
114
+ readonly applicationSettings: ApplicationSettingsApi;
115
+ readonly code: CodeApi;
116
+ readonly device: DeviceApi;
117
+ readonly documentTemplate: DocumentTemplateApi;
118
+ readonly entityReference: EntityReferenceApi;
119
+ readonly entityTemplate: EntityTemplateApi;
120
+ readonly frontEndMigration: FrontEndMigrationApi;
121
+ readonly group: GroupApi;
122
+ readonly healthcareParty: HealthcarePartyApi;
123
+ readonly system: SystemApi;
124
+ readonly insurance: InsuranceApi;
125
+ readonly keyword: KeywordApi;
126
+ readonly permission: PermissionApi;
127
+ readonly place: PlaceApi;
128
+ readonly role: RoleApi;
129
+ readonly tarification: TarificationApi;
130
+ readonly user: UserApi;
131
+ readonly medicalLocationApi: MedicalLocationApi;
132
+ readonly agendaApi: AgendaApi;
133
+ readonly accessLog: AccessLogBasicApi;
134
+ readonly calendarItem: CalendarItemBasicApi;
135
+ readonly classification: ClassificationBasicApi;
136
+ readonly contact: ContactBasicApi;
137
+ readonly document: DocumentBasicApi;
138
+ readonly form: FormBasicApi;
139
+ readonly healthElement: HealthElementBasicApi;
140
+ readonly invoice: InvoiceBasicApi;
141
+ readonly maintenanceTask: MaintenanceTaskBasicApi;
142
+ readonly message: MessageBasicApi;
143
+ readonly patient: PatientBasicApi;
144
+ readonly receipt: ReceiptBasicApi;
145
+ readonly timeTable: TimeTableBasicApi;
146
+ readonly topic: TopicBasicApi;
147
+ /**
148
+ * Get a new sdk using the same configurations and user authentication methods but for a different group.
149
+ * To use this method, the authentication method provided at initialization of this sdk must be valid also for the
150
+ * new group.
151
+ *
152
+ * @param groupId the id of the new group to switch to
153
+ * @return a new sdk for executing requests in the provided group
154
+ */
155
+ switchGroup(groupId: string): Promise<CardinalBaseSdk>;
156
+ }
157
+ export declare namespace CardinalSdk {
158
+ /**
159
+ * Initialize a new instance of the icure sdk for a specific user.
160
+ *
161
+ * @param applicationId a string to uniquely identify your iCure application.
162
+ * @param baseUrl the url of the iCure backend to use
163
+ * @param authenticationMethod specifies how the sdk should authenticate.
164
+ * @param baseStorage an implementation of {@link StorageFacade} or standard icure storage options, used for persistent
165
+ * storage of various information including the user keys if {@link SdkOptions.keyStorage}1 is not provided.
166
+ * @param options optional parameters for the initialization of the sdk.
167
+ */
168
+ function initialize(applicationId: string | undefined, baseUrl: string, authenticationMethod: AuthenticationMethod, baseStorage: StorageFacade | CardinalStorageOptions, options?: SdkOptions): Promise<CardinalSdk>;
169
+ /**
170
+ * Initialize a new instance of the icure sdk for a specific user.
171
+ * The authentication will be performed through an authentication process.
172
+ *
173
+ * @param applicationId a string to uniquely identify your iCure application.
174
+ * @param baseUrl the url of the iCure backend to use
175
+ * @param messageGatewayUrl the url of the iCure message gateway you want to use. Usually this should be
176
+ * @param externalServicesSpecId an identifier that allows the message gateway to connect the request to your
177
+ * services for email / sms communication of the process tokens.
178
+ * @param processId the id of the process you want to execute.
179
+ * @param userTelecomType the type of telecom number used for the user.
180
+ * @param userTelecom the telecom number of the user for which you want to execute the process. This should be an
181
+ * email address or phone number depending on the type of process you are executing.
182
+ * @param captchaType the type of captcha you use with your processes.
183
+ * @param captchaKey the key obtained by resolving the captcha. Used to prevent abuse of the message gateway and
184
+ * connected external services.
185
+ * @param baseStorage an implementation of the [StorageFacade], used for persistent storage of various
186
+ * information including the user keys if [ApiOptions.keyStorage] is not provided.
187
+ * @param authenticationProcessTemplateParameters optional parameters which may be used by sms/email templates.
188
+ * @param options optional parameters for the initialization of the sdk.
189
+ */
190
+ function initializeWithProcess(applicationId: string | undefined, baseUrl: string, messageGatewayUrl: string, externalServicesSpecId: string, processId: string, userTelecomType: AuthenticationProcessTelecomType, userTelecom: string, captchaType: AuthenticationProcessCaptchaType, captchaKey: string, baseStorage: StorageFacade | CardinalStorageOptions, authenticationProcessTemplateParameters?: AuthenticationProcessTemplateParameters, options?: SdkOptions): Promise<AuthenticationWithProcessStep>;
191
+ /**
192
+ * Represents an intermediate stage in the initialization of an SDK through an authentication process
193
+ * The initialization can complete only after the user provides the validation code received via email/sms.
194
+ */
195
+ interface AuthenticationWithProcessStep {
196
+ /**
197
+ * Complete the authentication of the user and finishes the initialization of the SDK.
198
+ * In case the provided validation code is wrong this method will throw an exception, but it is still possible
199
+ * to call to re-attempt authentication by calling this method with a different validation code.
200
+ */
201
+ completeAuthentication(validationCode: String): Promise<CardinalSdk>;
202
+ }
203
+ }
204
+ export declare namespace CardinalBaseSdk {
205
+ /**
206
+ * Initialize a new instance of the icure sdk for a specific user.
207
+ *
208
+ * @param applicationId a string to uniquely identify your iCure application.
209
+ * @param baseUrl the url of the iCure backend to use
210
+ * @param authenticationMethod specifies how the sdk should authenticate.
211
+ * @param options optional parameters for the initialization of the sdk.
212
+ */
213
+ function initialize(applicationId: string | undefined, baseUrl: string, authenticationMethod: AuthenticationMethod, options?: BasicSdkOptions): Promise<CardinalBaseSdk>;
214
+ }
@@ -0,0 +1,74 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { InternalSdkInitializers } from "../cardinal-sdk-ts.mjs";
11
+ export var CardinalSdk;
12
+ (function (CardinalSdk) {
13
+ /**
14
+ * Initialize a new instance of the icure sdk for a specific user.
15
+ *
16
+ * @param applicationId a string to uniquely identify your iCure application.
17
+ * @param baseUrl the url of the iCure backend to use
18
+ * @param authenticationMethod specifies how the sdk should authenticate.
19
+ * @param baseStorage an implementation of {@link StorageFacade} or standard icure storage options, used for persistent
20
+ * storage of various information including the user keys if {@link SdkOptions.keyStorage}1 is not provided.
21
+ * @param options optional parameters for the initialization of the sdk.
22
+ */
23
+ function initialize(applicationId, baseUrl, authenticationMethod, baseStorage, options) {
24
+ return __awaiter(this, void 0, void 0, function* () {
25
+ return yield InternalSdkInitializers.getInstance().initializeSdk(applicationId, baseUrl, authenticationMethod, baseStorage, options);
26
+ });
27
+ }
28
+ CardinalSdk.initialize = initialize;
29
+ /**
30
+ * Initialize a new instance of the icure sdk for a specific user.
31
+ * The authentication will be performed through an authentication process.
32
+ *
33
+ * @param applicationId a string to uniquely identify your iCure application.
34
+ * @param baseUrl the url of the iCure backend to use
35
+ * @param messageGatewayUrl the url of the iCure message gateway you want to use. Usually this should be
36
+ * @param externalServicesSpecId an identifier that allows the message gateway to connect the request to your
37
+ * services for email / sms communication of the process tokens.
38
+ * @param processId the id of the process you want to execute.
39
+ * @param userTelecomType the type of telecom number used for the user.
40
+ * @param userTelecom the telecom number of the user for which you want to execute the process. This should be an
41
+ * email address or phone number depending on the type of process you are executing.
42
+ * @param captchaType the type of captcha you use with your processes.
43
+ * @param captchaKey the key obtained by resolving the captcha. Used to prevent abuse of the message gateway and
44
+ * connected external services.
45
+ * @param baseStorage an implementation of the [StorageFacade], used for persistent storage of various
46
+ * information including the user keys if [ApiOptions.keyStorage] is not provided.
47
+ * @param authenticationProcessTemplateParameters optional parameters which may be used by sms/email templates.
48
+ * @param options optional parameters for the initialization of the sdk.
49
+ */
50
+ function initializeWithProcess(applicationId, baseUrl, messageGatewayUrl, externalServicesSpecId, processId, userTelecomType, userTelecom, captchaType, captchaKey, baseStorage, authenticationProcessTemplateParameters, options) {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ return yield InternalSdkInitializers.getInstance().initializeWithProcess(applicationId, baseUrl, messageGatewayUrl, externalServicesSpecId, processId, userTelecomType, userTelecom, captchaType, captchaKey, baseStorage, authenticationProcessTemplateParameters, options);
53
+ });
54
+ }
55
+ CardinalSdk.initializeWithProcess = initializeWithProcess;
56
+ })(CardinalSdk || (CardinalSdk = {}));
57
+ export var CardinalBaseSdk;
58
+ (function (CardinalBaseSdk) {
59
+ /**
60
+ * Initialize a new instance of the icure sdk for a specific user.
61
+ *
62
+ * @param applicationId a string to uniquely identify your iCure application.
63
+ * @param baseUrl the url of the iCure backend to use
64
+ * @param authenticationMethod specifies how the sdk should authenticate.
65
+ * @param options optional parameters for the initialization of the sdk.
66
+ */
67
+ function initialize(applicationId, baseUrl, authenticationMethod, options) {
68
+ return __awaiter(this, void 0, void 0, function* () {
69
+ return yield InternalSdkInitializers.getInstance().initializeBase(applicationId, baseUrl, authenticationMethod, options);
70
+ });
71
+ }
72
+ CardinalBaseSdk.initialize = initialize;
73
+ })(CardinalBaseSdk || (CardinalBaseSdk = {}));
74
+ //# sourceMappingURL=CardinalSdk.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardinalSdk.mjs","sourceRoot":"","sources":["../../tsSourcesProject/sdk/CardinalSdk.mts"],"names":[],"mappings":";;;;;;;;;AA2BA,OAAO,EAAyB,uBAAuB,EAAC,MAAM,wBAAwB,CAAC;AA2IvF,MAAM,KAAW,WAAW,CA0F3B;AA1FD,WAAiB,WAAW;IAC1B;;;;;;;;;OASG;IACH,SAAsB,UAAU,CAC9B,aAAiC,EACjC,OAAe,EACf,oBAA0C,EAC1C,WAAmD,EACnD,OAAoB;;YAEpB,OAAO,MAAM,uBAAuB,CAAC,WAAW,EAAE,CAAC,aAAa,CAC9D,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,OAAO,CACR,CAAA;QACH,CAAC;KAAA;IAdqB,sBAAU,aAc/B,CAAA;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,SAAsB,qBAAqB,CACzC,aAAiC,EACjC,OAAe,EACf,iBAAyB,EACzB,sBAA8B,EAC9B,SAAiB,EACjB,eAAiD,EACjD,WAAmB,EACnB,WAA6C,EAC7C,UAAkB,EAClB,WAAmD,EACnD,uCAAiF,EACjF,OAAoB;;YAEpB,OAAO,MAAM,uBAAuB,CAAC,WAAW,EAAE,CAAC,qBAAqB,CACtE,aAAa,EACb,OAAO,EACP,iBAAiB,EACjB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,WAAW,EACX,WAAW,EACX,UAAU,EACV,WAAW,EACX,uCAAuC,EACvC,OAAO,CACR,CAAA;QACH,CAAC;KAAA;IA5BqB,iCAAqB,wBA4B1C,CAAA;AAcH,CAAC,EA1FgB,WAAW,KAAX,WAAW,QA0F3B;AAED,MAAM,KAAW,eAAe,CAsB/B;AAtBD,WAAiB,eAAe;IAC9B;;;;;;;OAOG;IACH,SAAsB,UAAU,CAC9B,aAAiC,EACjC,OAAe,EACf,oBAA0C,EAC1C,OAAyB;;YAEzB,OAAO,MAAM,uBAAuB,CAAC,WAAW,EAAE,CAAC,cAAc,CAC/D,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,OAAO,CACR,CAAA;QACH,CAAC;KAAA;IAZqB,0BAAU,aAY/B,CAAA;AACH,CAAC,EAtBgB,eAAe,KAAf,eAAe,QAsB/B","sourcesContent":["import {AccessLogApi} from \"../api/AccessLogApi.mjs\";\nimport {CalendarItemApi} from \"../api/CalendarItemApi.mjs\";\nimport {ClassificationApi} from \"../api/ClassificationApi.mjs\";\nimport {ContactApi} from \"../api/ContactApi.mjs\";\nimport {DeviceApi} from \"../api/DeviceApi.mjs\";\nimport {DocumentApi} from \"../api/DocumentApi.mjs\";\nimport {FormApi} from \"../api/FormApi.mjs\";\nimport {HealthElementApi} from \"../api/HealthElementApi.mjs\";\nimport {InvoiceApi} from \"../api/InvoiceApi.mjs\";\nimport {MaintenanceTaskApi} from \"../api/MaintenanceTaskApi.mjs\";\nimport {MessageApi} from \"../api/MessageApi.mjs\";\nimport {PatientApi} from \"../api/PatientApi.mjs\";\nimport {PermissionApi} from \"../api/PermissionApi.mjs\";\nimport {ReceiptApi} from \"../api/ReceiptApi.mjs\";\nimport {TimeTableApi} from \"../api/TimeTableApi.mjs\";\nimport {TopicApi} from \"../api/TopicApi.mjs\";\nimport {CryptoApi} from \"../api/CryptoApi.mjs\";\nimport {DataOwnerApi} from \"../api/DataOwnerApi.mjs\";\nimport {UserApi} from \"../api/UserApi.mjs\";\nimport {CardinalMaintenanceTaskApi} from \"../api/CardinalMaintenanceTaskApi.mjs\";\nimport {RecoveryApi} from \"../api/RecoveryApi.mjs\";\nimport {\n AuthenticationMethod,\n AuthenticationProcessCaptchaType,\n AuthenticationProcessTelecomType, AuthenticationProcessTemplateParameters\n} from \"../options/AuthenticationMethod.mjs\";\nimport {StorageFacade} from \"../storage/StorageFacade.mjs\";\nimport {CardinalStorageOptions, InternalSdkInitializers} from \"../cardinal-sdk-ts.mjs\";\nimport {SdkOptions, BasicSdkOptions} from \"../options/SdkOptions.mjs\";\nimport {ApplicationSettingsApi} from \"../api/ApplicationSettingsApi.mjs\";\nimport {CodeApi} from \"../api/CodeApi.mjs\";\nimport {DocumentTemplateApi} from \"../api/DocumentTemplateApi.mjs\";\nimport {EntityReferenceApi} from \"../api/EntityReferenceApi.mjs\";\nimport {EntityTemplateApi} from \"../api/EntityTemplateApi.mjs\";\nimport {FrontEndMigrationApi} from \"../api/FrontEndMigrationApi.mjs\";\nimport {GroupApi} from \"../api/GroupApi.mjs\";\nimport {HealthcarePartyApi} from \"../api/HealthcarePartyApi.mjs\";\nimport {SystemApi} from \"../api/SystemApi.mjs\";\nimport {InsuranceApi} from \"../api/InsuranceApi.mjs\";\nimport {KeywordApi} from \"../api/KeywordApi.mjs\";\nimport {PlaceApi} from \"../api/PlaceApi.mjs\";\nimport {RoleApi} from \"../api/RoleApi.mjs\";\nimport {TarificationApi} from \"../api/TarificationApi.mjs\";\nimport {AccessLogBasicApi} from \"../api/AccessLogBasicApi.mjs\";\nimport {CalendarItemBasicApi} from \"../api/CalendarItemBasicApi.mjs\";\nimport {ClassificationBasicApi} from \"../api/ClassificationBasicApi.mjs\";\nimport {ContactBasicApi} from \"../api/ContactBasicApi.mjs\";\nimport {DocumentBasicApi} from \"../api/DocumentBasicApi.mjs\";\nimport {FormBasicApi} from \"../api/FormBasicApi.mjs\";\nimport {HealthElementBasicApi} from \"../api/HealthElementBasicApi.mjs\";\nimport {InvoiceBasicApi} from \"../api/InvoiceBasicApi.mjs\";\nimport {MaintenanceTaskBasicApi} from \"../api/MaintenanceTaskBasicApi.mjs\";\nimport {MessageBasicApi} from \"../api/MessageBasicApi.mjs\";\nimport {PatientBasicApi} from \"../api/PatientBasicApi.mjs\";\nimport {ReceiptBasicApi} from \"../api/ReceiptBasicApi.mjs\";\nimport {TimeTableBasicApi} from \"../api/TimeTableBasicApi.mjs\";\nimport {TopicBasicApi} from \"../api/TopicBasicApi.mjs\";\nimport {AgendaApi} from \"../api/AgendaApi.mjs\";\nimport {MedicalLocationApi} from \"../api/MedicalLocationApi.mjs\";\n\n/**\n * Main entry point to use iCure, provides access to the various apis with encryption capabilities.\n * Only data owner users with a valid keypair can use these apis.\n */\nexport interface CardinalSdk {\n readonly applicationSettings: ApplicationSettingsApi\n readonly code: CodeApi\n readonly device: DeviceApi\n readonly documentTemplate: DocumentTemplateApi\n readonly entityReference: EntityReferenceApi\n readonly entityTemplate: EntityTemplateApi\n readonly frontEndMigration: FrontEndMigrationApi\n readonly group: GroupApi\n readonly healthcareParty: HealthcarePartyApi\n readonly system: SystemApi\n readonly insurance: InsuranceApi\n readonly keyword: KeywordApi\n readonly permission: PermissionApi\n readonly place: PlaceApi\n readonly role: RoleApi\n readonly tarification: TarificationApi\n readonly user: UserApi\n readonly medicalLocationApi: MedicalLocationApi\n readonly agendaApi: AgendaApi\n readonly accessLog: AccessLogApi\n readonly calendarItem: CalendarItemApi\n readonly classification: ClassificationApi\n readonly contact: ContactApi\n readonly document: DocumentApi\n readonly form: FormApi\n readonly healthElement: HealthElementApi\n readonly invoice: InvoiceApi\n readonly maintenanceTask: MaintenanceTaskApi\n readonly message: MessageApi\n readonly patient: PatientApi\n readonly receipt: ReceiptApi\n readonly timeTable: TimeTableApi\n readonly topic: TopicApi\n readonly crypto: CryptoApi\n readonly recovery: RecoveryApi\n readonly cardinalMaintenanceTask: CardinalMaintenanceTaskApi\n readonly dataOwner: DataOwnerApi\n\n /**\n * Get a new sdk using the same configurations and user authentication methods but for a different group.\n * To use this method, the authentication method provided at initialization of this sdk must be valid also for the\n * new group.\n *\n * @param groupId the id of the new group to switch to\n * @return a new sdk for executing requests in the provided group\n */\n switchGroup(groupId: String): Promise<CardinalSdk>\n}\n\n/**\n * A stripped down version of the iCure SDK that can be used also by users that aren't data owners.\n * This could be useful, for example, if you want to perform some system maintenance using an admin user, or compile\n * some statistics without using any encrypted information\n */\nexport interface CardinalBaseSdk {\n readonly applicationSettings: ApplicationSettingsApi\n readonly code: CodeApi\n readonly device: DeviceApi\n readonly documentTemplate: DocumentTemplateApi\n readonly entityReference: EntityReferenceApi\n readonly entityTemplate: EntityTemplateApi\n readonly frontEndMigration: FrontEndMigrationApi\n readonly group: GroupApi\n readonly healthcareParty: HealthcarePartyApi\n readonly system: SystemApi\n readonly insurance: InsuranceApi\n readonly keyword: KeywordApi\n readonly permission: PermissionApi\n readonly place: PlaceApi\n readonly role: RoleApi\n readonly tarification: TarificationApi\n readonly user: UserApi\n readonly medicalLocationApi: MedicalLocationApi\n readonly agendaApi: AgendaApi\n readonly accessLog: AccessLogBasicApi\n readonly calendarItem: CalendarItemBasicApi\n readonly classification: ClassificationBasicApi\n readonly contact: ContactBasicApi\n readonly document: DocumentBasicApi\n readonly form: FormBasicApi\n readonly healthElement: HealthElementBasicApi\n readonly invoice: InvoiceBasicApi\n readonly maintenanceTask: MaintenanceTaskBasicApi\n readonly message: MessageBasicApi\n readonly patient: PatientBasicApi\n readonly receipt: ReceiptBasicApi\n readonly timeTable: TimeTableBasicApi\n readonly topic: TopicBasicApi\n\n\n /**\n * Get a new sdk using the same configurations and user authentication methods but for a different group.\n * To use this method, the authentication method provided at initialization of this sdk must be valid also for the\n * new group.\n *\n * @param groupId the id of the new group to switch to\n * @return a new sdk for executing requests in the provided group\n */\n switchGroup(groupId: string): Promise<CardinalBaseSdk>\n}\n\nexport namespace CardinalSdk {\n /**\n * Initialize a new instance of the icure sdk for a specific user.\n *\n * @param applicationId a string to uniquely identify your iCure application.\n * @param baseUrl the url of the iCure backend to use\n * @param authenticationMethod specifies how the sdk should authenticate.\n * @param baseStorage an implementation of {@link StorageFacade} or standard icure storage options, used for persistent\n * storage of various information including the user keys if {@link SdkOptions.keyStorage}1 is not provided.\n * @param options optional parameters for the initialization of the sdk.\n */\n export async function initialize(\n applicationId: string | undefined,\n baseUrl: string,\n authenticationMethod: AuthenticationMethod,\n baseStorage: StorageFacade | CardinalStorageOptions,\n options?: SdkOptions\n ): Promise<CardinalSdk> {\n return await InternalSdkInitializers.getInstance().initializeSdk(\n applicationId,\n baseUrl,\n authenticationMethod,\n baseStorage,\n options\n )\n }\n\n /**\n * Initialize a new instance of the icure sdk for a specific user.\n * The authentication will be performed through an authentication process.\n *\n * @param applicationId a string to uniquely identify your iCure application.\n * @param baseUrl the url of the iCure backend to use\n * @param messageGatewayUrl the url of the iCure message gateway you want to use. Usually this should be\n * @param externalServicesSpecId an identifier that allows the message gateway to connect the request to your\n * services for email / sms communication of the process tokens.\n * @param processId the id of the process you want to execute.\n * @param userTelecomType the type of telecom number used for the user.\n * @param userTelecom the telecom number of the user for which you want to execute the process. This should be an\n * email address or phone number depending on the type of process you are executing.\n * @param captchaType the type of captcha you use with your processes.\n * @param captchaKey the key obtained by resolving the captcha. Used to prevent abuse of the message gateway and\n * connected external services.\n * @param baseStorage an implementation of the [StorageFacade], used for persistent storage of various\n * information including the user keys if [ApiOptions.keyStorage] is not provided.\n * @param authenticationProcessTemplateParameters optional parameters which may be used by sms/email templates.\n * @param options optional parameters for the initialization of the sdk.\n */\n export async function initializeWithProcess(\n applicationId: string | undefined,\n baseUrl: string,\n messageGatewayUrl: string,\n externalServicesSpecId: string,\n processId: string,\n userTelecomType: AuthenticationProcessTelecomType,\n userTelecom: string,\n captchaType: AuthenticationProcessCaptchaType,\n captchaKey: string,\n baseStorage: StorageFacade | CardinalStorageOptions,\n authenticationProcessTemplateParameters?: AuthenticationProcessTemplateParameters,\n options?: SdkOptions\n ): Promise<AuthenticationWithProcessStep> {\n return await InternalSdkInitializers.getInstance().initializeWithProcess(\n applicationId,\n baseUrl,\n messageGatewayUrl,\n externalServicesSpecId,\n processId,\n userTelecomType,\n userTelecom,\n captchaType,\n captchaKey,\n baseStorage,\n authenticationProcessTemplateParameters,\n options,\n )\n }\n\n /**\n * Represents an intermediate stage in the initialization of an SDK through an authentication process\n * The initialization can complete only after the user provides the validation code received via email/sms.\n */\n export interface AuthenticationWithProcessStep {\n /**\n * Complete the authentication of the user and finishes the initialization of the SDK.\n * In case the provided validation code is wrong this method will throw an exception, but it is still possible\n * to call to re-attempt authentication by calling this method with a different validation code.\n */\n completeAuthentication(validationCode: String): Promise<CardinalSdk>\n }\n}\n\nexport namespace CardinalBaseSdk {\n /**\n * Initialize a new instance of the icure sdk for a specific user.\n *\n * @param applicationId a string to uniquely identify your iCure application.\n * @param baseUrl the url of the iCure backend to use\n * @param authenticationMethod specifies how the sdk should authenticate.\n * @param options optional parameters for the initialization of the sdk.\n */\n export async function initialize(\n applicationId: string | undefined,\n baseUrl: string,\n authenticationMethod: AuthenticationMethod,\n options?: BasicSdkOptions\n ): Promise<CardinalBaseSdk> {\n return await InternalSdkInitializers.getInstance().initializeBase(\n applicationId,\n baseUrl,\n authenticationMethod,\n options\n )\n }\n}"]}
package/sdk.d.mts ADDED
@@ -0,0 +1 @@
1
+ export * from './sdk/CardinalSdk.mjs';
package/sdk.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export * from './sdk/CardinalSdk.mjs';
2
+ //# sourceMappingURL=sdk.mjs.map
package/sdk.mjs.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk.mjs","sourceRoot":"","sources":["../tsSourcesProject/sdk.mts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA","sourcesContent":["export * from './sdk/CardinalSdk.mjs'\n"]}
@@ -0,0 +1,85 @@
1
+ import { CardinalKeyStorageOptions, CardinalStorageOptions } from "../cardinal-sdk-ts.mjs";
2
+ /**
3
+ * Provides permanent storage capabilities to the SDK
4
+ */
5
+ export interface StorageFacade {
6
+ /**
7
+ * Returns the value of the provided key from the storage
8
+ * @param key Key of the value to retrieve
9
+ * @return The value associated to the provided key or null if there is no value stored at the provided key.
10
+ */
11
+ getItem(key: string): Promise<string | undefined>;
12
+ /**
13
+ * Set an item in the storage for the given key. If an item already exists for the given key, it will be overwritten.
14
+ * @param key Key of the value to set
15
+ * @param value the value to store
16
+ */
17
+ setItem(key: string, value: string): Promise<void>;
18
+ /**
19
+ * Removes the item with the given key from the storage, if present.
20
+ * Does nothing if there is no value.
21
+ * @param key The key of the item to remove.
22
+ */
23
+ removeItem(key: string): Promise<void>;
24
+ }
25
+ export declare namespace StorageFacade {
26
+ /**
27
+ * Factory method returning storage options that will cause the sdk to store the data as files at the provided
28
+ * directory. These options are usable only on node.
29
+ * @param directory
30
+ */
31
+ function usingFileSystem(directory: string): CardinalStorageOptions;
32
+ /**
33
+ * Factory method returning storage options that will cause the sdk to store the data as entries on the browser
34
+ * local storage. These options require the `localStorage` global to be available
35
+ */
36
+ function usingBrowserLocalStorage(): CardinalStorageOptions;
37
+ }
38
+ export interface KeyStorageFacade {
39
+ /**
40
+ * Returns the publicKey of the provided key from the storage
41
+ * @param storageEntryKey Key of the value to retrieve
42
+ * @return The publicKey associated to the provided storageEntryKey in spki format or null if no entry has such key.
43
+ * @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a public key
44
+ */
45
+ getPublicKeySpki(storageEntryKey: string): Promise<Int8Array | undefined>;
46
+ /**
47
+ * Returns the privateKey of the provided key from the storage
48
+ * @param storageEntryKey Key of the value to retrieve
49
+ * @return The privateKey associated to the provided storageEntryKey in pkcs8 format or null if no entry has such key.
50
+ * @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a private key
51
+ */
52
+ getPrivateKeyPkcs8(storageEntryKey: string): Promise<Int8Array | undefined>;
53
+ /**
54
+ * Delete the key associated to the provided storage entry key
55
+ * @param storageEntryKey Key of the value to delete
56
+ */
57
+ deleteKey(storageEntryKey: string): Promise<void>;
58
+ /**
59
+ * Stores the given public key under the given key in the storage. If an entry already exists for the given storage
60
+ * key, it will be overwritten; if you want to store the keypair just store the private key instead (with
61
+ * [storePrivateKey]), since the public key is derivable from the private key.
62
+ * @param storageEntryKey The id of the entry in storage
63
+ * @param publicKeySpki the public key to store, in spki format
64
+ */
65
+ storePublicKey(storageEntryKey: string, publicKeySpki: Int8Array): Promise<void>;
66
+ /**
67
+ * Stores the given public key under the given key in the storage. If an entry already exists for the given storage
68
+ * key, it will be overwritten.
69
+ * @param storageEntryKey The id of the entry in storage
70
+ * @param privateKey the private key to store, in pkcs8 format
71
+ */
72
+ storePrivateKey(storageEntryKey: string, privateKey: Int8Array): Promise<void>;
73
+ }
74
+ export declare namespace KeyStorageFacade {
75
+ /**
76
+ * Factory method returning storage options that will cause the sdk to store the keys as string entries on the
77
+ * provided storage facade. The raw keys data (spki or pkcs8) will be encoded as base 64
78
+ */
79
+ function encodingAsBase64(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions;
80
+ /**
81
+ * Factory method returning storage options that will cause the sdk to store the keys as string entries on the
82
+ * provided storage facade. The keys will be stored as json in jwk format.
83
+ */
84
+ function encodingAsJwk(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions;
85
+ }
@@ -0,0 +1,41 @@
1
+ import { InternalCardinalKeyStorageOptionsFactory, InternalCardinalStorageOptionsFactory } from "../cardinal-sdk-ts.mjs";
2
+ export var StorageFacade;
3
+ (function (StorageFacade) {
4
+ /**
5
+ * Factory method returning storage options that will cause the sdk to store the data as files at the provided
6
+ * directory. These options are usable only on node.
7
+ * @param directory
8
+ */
9
+ function usingFileSystem(directory) {
10
+ return InternalCardinalStorageOptionsFactory.getInstance().fileSystem(directory);
11
+ }
12
+ StorageFacade.usingFileSystem = usingFileSystem;
13
+ /**
14
+ * Factory method returning storage options that will cause the sdk to store the data as entries on the browser
15
+ * local storage. These options require the `localStorage` global to be available
16
+ */
17
+ function usingBrowserLocalStorage() {
18
+ return InternalCardinalStorageOptionsFactory.getInstance().browserLocalStorage();
19
+ }
20
+ StorageFacade.usingBrowserLocalStorage = usingBrowserLocalStorage;
21
+ })(StorageFacade || (StorageFacade = {}));
22
+ export var KeyStorageFacade;
23
+ (function (KeyStorageFacade) {
24
+ /**
25
+ * Factory method returning storage options that will cause the sdk to store the keys as string entries on the
26
+ * provided storage facade. The raw keys data (spki or pkcs8) will be encoded as base 64
27
+ */
28
+ function encodingAsBase64(baseStorage) {
29
+ return InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsBase64(baseStorage);
30
+ }
31
+ KeyStorageFacade.encodingAsBase64 = encodingAsBase64;
32
+ /**
33
+ * Factory method returning storage options that will cause the sdk to store the keys as string entries on the
34
+ * provided storage facade. The keys will be stored as json in jwk format.
35
+ */
36
+ function encodingAsJwk(baseStorage) {
37
+ return InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsJwk(baseStorage);
38
+ }
39
+ KeyStorageFacade.encodingAsJwk = encodingAsJwk;
40
+ })(KeyStorageFacade || (KeyStorageFacade = {}));
41
+ //# sourceMappingURL=StorageFacade.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorageFacade.mjs","sourceRoot":"","sources":["../../tsSourcesProject/storage/StorageFacade.mts"],"names":[],"mappings":"AAAA,OAAO,EAGN,wCAAwC,EACxC,qCAAqC,EACrC,MAAM,wBAAwB,CAAC;AA4BhC,MAAM,KAAW,aAAa,CAgB7B;AAhBD,WAAiB,aAAa;IAC7B;;;;OAIG;IACH,SAAgB,eAAe,CAAC,SAAiB;QAChD,OAAO,qCAAqC,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;IACjF,CAAC;IAFe,6BAAe,kBAE9B,CAAA;IACD;;;OAGG;IACH,SAAgB,wBAAwB;QACvC,OAAO,qCAAqC,CAAC,WAAW,EAAE,CAAC,mBAAmB,EAAE,CAAA;IACjF,CAAC;IAFe,sCAAwB,2BAEvC,CAAA;AACF,CAAC,EAhBgB,aAAa,KAAb,aAAa,QAgB7B;AA2CD,MAAM,KAAW,gBAAgB,CAgBhC;AAhBD,WAAiB,gBAAgB;IAChC;;;OAGG;IACH,SAAgB,gBAAgB,CAAC,WAAmD;QACnF,OAAO,wCAAwC,CAAC,WAAW,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAA;IAC5F,CAAC;IAFe,iCAAgB,mBAE/B,CAAA;IAED;;;OAGG;IACH,SAAgB,aAAa,CAAC,WAAmD;QAChF,OAAO,wCAAwC,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,WAAW,CAAC,CAAA;IACzF,CAAC;IAFe,8BAAa,gBAE5B,CAAA;AACF,CAAC,EAhBgB,gBAAgB,KAAhB,gBAAgB,QAgBhC","sourcesContent":["import {\n\tCardinalKeyStorageOptions,\n\tCardinalStorageOptions,\n\tInternalCardinalKeyStorageOptionsFactory,\n\tInternalCardinalStorageOptionsFactory\n} from \"../cardinal-sdk-ts.mjs\";\n\n/**\n * Provides permanent storage capabilities to the SDK\n */\nexport interface StorageFacade {\n\t/**\n\t * Returns the value of the provided key from the storage\n\t * @param key Key of the value to retrieve\n\t * @return The value associated to the provided key or null if there is no value stored at the provided key.\n\t */\n\tgetItem(key: string): Promise<string | undefined>\n\n\t/**\n\t * Set an item in the storage for the given key. If an item already exists for the given key, it will be overwritten.\n\t * @param key Key of the value to set\n\t * @param value the value to store\n\t */\n\tsetItem(key: string, value: string): Promise<void>\n\n\t/**\n\t * Removes the item with the given key from the storage, if present.\n\t * Does nothing if there is no value.\n\t * @param key The key of the item to remove.\n\t */\n\tremoveItem(key: string): Promise<void>\n}\n\nexport namespace StorageFacade {\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the data as files at the provided\n\t * directory. These options are usable only on node.\n\t * @param directory\n\t */\n\texport function usingFileSystem(directory: string): CardinalStorageOptions {\n\t\treturn InternalCardinalStorageOptionsFactory.getInstance().fileSystem(directory)\n\t}\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the data as entries on the browser\n\t * local storage. These options require the `localStorage` global to be available\n\t */\n\texport function usingBrowserLocalStorage(): CardinalStorageOptions {\n\t\treturn InternalCardinalStorageOptionsFactory.getInstance().browserLocalStorage()\n\t}\n}\n\nexport interface KeyStorageFacade {\n\t/**\n\t * Returns the publicKey of the provided key from the storage\n\t * @param storageEntryKey Key of the value to retrieve\n\t * @return The publicKey associated to the provided storageEntryKey in spki format or null if no entry has such key.\n\t * @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a public key\n\t */\n\tgetPublicKeySpki(storageEntryKey: string): Promise<Int8Array | undefined>\n\n\t/**\n\t * Returns the privateKey of the provided key from the storage\n\t * @param storageEntryKey Key of the value to retrieve\n\t * @return The privateKey associated to the provided storageEntryKey in pkcs8 format or null if no entry has such key.\n\t * @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a private key\n\t */\n\tgetPrivateKeyPkcs8(storageEntryKey: string): Promise<Int8Array | undefined>\n\n\t/**\n\t * Delete the key associated to the provided storage entry key\n\t * @param storageEntryKey Key of the value to delete\n\t */\n\tdeleteKey(storageEntryKey: string): Promise<void>\n\n\t/**\n\t * Stores the given public key under the given key in the storage. If an entry already exists for the given storage\n\t * key, it will be overwritten; if you want to store the keypair just store the private key instead (with\n\t * [storePrivateKey]), since the public key is derivable from the private key.\n\t * @param storageEntryKey The id of the entry in storage\n\t * @param publicKeySpki the public key to store, in spki format\n\t */\n\tstorePublicKey(storageEntryKey: string, publicKeySpki: Int8Array): Promise<void>\n\n\t/**\n\t * Stores the given public key under the given key in the storage. If an entry already exists for the given storage\n\t * key, it will be overwritten.\n\t * @param storageEntryKey The id of the entry in storage\n\t * @param privateKey the private key to store, in pkcs8 format\n\t */\n\tstorePrivateKey(storageEntryKey: string, privateKey: Int8Array): Promise<void>\n}\n\nexport namespace KeyStorageFacade {\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the keys as string entries on the\n\t * provided storage facade. The raw keys data (spki or pkcs8) will be encoded as base 64\n\t */\n\texport function encodingAsBase64(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions {\n\t\treturn InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsBase64(baseStorage)\n\t}\n\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the keys as string entries on the\n\t * provided storage facade. The keys will be stored as json in jwk format.\n\t */\n\texport function encodingAsJwk(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions {\n\t\treturn InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsJwk(baseStorage)\n\t}\n}"]}
package/storage.d.mts ADDED
@@ -0,0 +1 @@
1
+ export * from './storage/StorageFacade.mjs';
package/storage.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export * from './storage/StorageFacade.mjs';
2
+ //# sourceMappingURL=storage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.mjs","sourceRoot":"","sources":["../tsSourcesProject/storage.mts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA","sourcesContent":["export * from './storage/StorageFacade.mjs'\n"]}
@@ -0,0 +1,29 @@
1
+ import { Identifiable } from "../model/base/Identifiable.mjs";
2
+ import { EntitySubscriptionCloseReason } from "./EntitySubscriptionCloseReason.mjs";
3
+ import { EntitySubscriptionEvent } from "./EntitySubscriptionEvent.mjs";
4
+ export interface EntitySubscription<E extends Identifiable<string>> {
5
+ /**
6
+ * Closes the subscription. A closed subscription will not receive any new events, but any existing event may still
7
+ * be consumed after closing.
8
+ */
9
+ close(): Promise<void>;
10
+ /**
11
+ * If the subscription is permanently closed. Even if this is true there may still be some unconsumed events
12
+ */
13
+ readonly isClosed: Boolean;
14
+ /**
15
+ * If the subscription is closed the reason for closure, null otherwise. Even if this is not null there may still be
16
+ * some unconsumed events
17
+ */
18
+ readonly closeReason: EntitySubscriptionCloseReason | null;
19
+ /**
20
+ * Consume the next event in the subscription event queue or null if there is currently no event. If the subscription is
21
+ * closed you can still retrieved any unconsumed event, but no new event will be added to the queue.
22
+ */
23
+ getEvent(): EntitySubscriptionEvent<E> | null;
24
+ /**
25
+ * Waits for the next event in the subscription event queue and consumes it, or return null if no new event is produced
26
+ * within the provided timeout or if the subscription gets closed while waiting.
27
+ */
28
+ waitForEvent(timeoutMs: number): Promise<EntitySubscriptionEvent<E> | null>;
29
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=EntitySubscription.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntitySubscription.mjs","sourceRoot":"","sources":["../../tsSourcesProject/subscription/EntitySubscription.mts"],"names":[],"mappings":"","sourcesContent":["import {Identifiable} from \"../model/base/Identifiable.mjs\";\nimport {EntitySubscriptionCloseReason} from \"./EntitySubscriptionCloseReason.mjs\";\nimport {EntitySubscriptionEvent} from \"./EntitySubscriptionEvent.mjs\";\n\nexport interface EntitySubscription<E extends Identifiable<string>> {\n /**\n * Closes the subscription. A closed subscription will not receive any new events, but any existing event may still\n * be consumed after closing.\n */\n close(): Promise<void>\n\n /**\n * If the subscription is permanently closed. Even if this is true there may still be some unconsumed events\n */\n readonly isClosed: Boolean\n\n /**\n * If the subscription is closed the reason for closure, null otherwise. Even if this is not null there may still be\n * some unconsumed events\n */\n readonly closeReason: EntitySubscriptionCloseReason | null\n\n /**\n * Consume the next event in the subscription event queue or null if there is currently no event. If the subscription is\n * closed you can still retrieved any unconsumed event, but no new event will be added to the queue.\n */\n getEvent(): EntitySubscriptionEvent<E> | null\n\n /**\n * Waits for the next event in the subscription event queue and consumes it, or return null if no new event is produced\n * within the provided timeout or if the subscription gets closed while waiting.\n */\n waitForEvent(timeoutMs: number): Promise<EntitySubscriptionEvent<E> | null>\n}"]}
@@ -0,0 +1,5 @@
1
+ export declare enum EntitySubscriptionCloseReason {
2
+ ChannelFull = "ChannelFull",
3
+ ConnectionLost = "ConnectionLost",
4
+ IntentionallyClosed = "IntentionallyClosed"
5
+ }
@@ -0,0 +1,8 @@
1
+ // auto-generated file
2
+ export var EntitySubscriptionCloseReason;
3
+ (function (EntitySubscriptionCloseReason) {
4
+ EntitySubscriptionCloseReason["ChannelFull"] = "ChannelFull";
5
+ EntitySubscriptionCloseReason["ConnectionLost"] = "ConnectionLost";
6
+ EntitySubscriptionCloseReason["IntentionallyClosed"] = "IntentionallyClosed";
7
+ })(EntitySubscriptionCloseReason || (EntitySubscriptionCloseReason = {}));
8
+ //# sourceMappingURL=EntitySubscriptionCloseReason.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntitySubscriptionCloseReason.mjs","sourceRoot":"","sources":["../../tsSourcesProject/subscription/EntitySubscriptionCloseReason.mts"],"names":[],"mappings":"AAAA,sBAAsB;AAEtB,MAAM,CAAN,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACxC,4DAA2B,CAAA;IAC3B,kEAAiC,CAAA;IACjC,4EAA2C,CAAA;AAC5C,CAAC,EAJW,6BAA6B,KAA7B,6BAA6B,QAIxC","sourcesContent":["// auto-generated file\n\nexport enum EntitySubscriptionCloseReason {\n\tChannelFull = \"ChannelFull\",\n\tConnectionLost = \"ConnectionLost\",\n\tIntentionallyClosed = \"IntentionallyClosed\"\n}\n"]}
@@ -0,0 +1,16 @@
1
+ import { DurationMs } from '../utils/DurationMs.mjs';
2
+ export declare class EntitySubscriptionConfiguration {
3
+ channelBufferCapacity: number;
4
+ onBufferFull: EntitySubscriptionConfiguration.FullBufferBehaviour;
5
+ reconnectionDelay: DurationMs;
6
+ retryDelayExponentFactor: number;
7
+ connectionMaxRetries: number;
8
+ constructor(partial: Partial<EntitySubscriptionConfiguration>);
9
+ }
10
+ export declare namespace EntitySubscriptionConfiguration {
11
+ enum FullBufferBehaviour {
12
+ Close = "Close",
13
+ DropOldest = "DropOldest",
14
+ Ignore = "Ignore"
15
+ }
16
+ }
@@ -0,0 +1,28 @@
1
+ export class EntitySubscriptionConfiguration {
2
+ constructor(partial) {
3
+ this.channelBufferCapacity = 100;
4
+ this.onBufferFull = EntitySubscriptionConfiguration.FullBufferBehaviour.Close;
5
+ this.reconnectionDelay = 2000;
6
+ this.retryDelayExponentFactor = 2.0;
7
+ this.connectionMaxRetries = 5;
8
+ if ('channelBufferCapacity' in partial && partial.channelBufferCapacity !== undefined)
9
+ this.channelBufferCapacity = partial.channelBufferCapacity;
10
+ if ('onBufferFull' in partial && partial.onBufferFull !== undefined)
11
+ this.onBufferFull = partial.onBufferFull;
12
+ if ('reconnectionDelay' in partial && partial.reconnectionDelay !== undefined)
13
+ this.reconnectionDelay = partial.reconnectionDelay;
14
+ if ('retryDelayExponentFactor' in partial && partial.retryDelayExponentFactor !== undefined)
15
+ this.retryDelayExponentFactor = partial.retryDelayExponentFactor;
16
+ if ('connectionMaxRetries' in partial && partial.connectionMaxRetries !== undefined)
17
+ this.connectionMaxRetries = partial.connectionMaxRetries;
18
+ }
19
+ }
20
+ (function (EntitySubscriptionConfiguration) {
21
+ let FullBufferBehaviour;
22
+ (function (FullBufferBehaviour) {
23
+ FullBufferBehaviour["Close"] = "Close";
24
+ FullBufferBehaviour["DropOldest"] = "DropOldest";
25
+ FullBufferBehaviour["Ignore"] = "Ignore";
26
+ })(FullBufferBehaviour = EntitySubscriptionConfiguration.FullBufferBehaviour || (EntitySubscriptionConfiguration.FullBufferBehaviour = {}));
27
+ })(EntitySubscriptionConfiguration || (EntitySubscriptionConfiguration = {}));
28
+ //# sourceMappingURL=EntitySubscriptionConfiguration.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntitySubscriptionConfiguration.mjs","sourceRoot":"","sources":["../../tsSourcesProject/subscription/EntitySubscriptionConfiguration.mts"],"names":[],"mappings":"AAIA,MAAM,OAAO,+BAA+B;IAY3C,YAAY,OAAiD;QAV7D,0BAAqB,GAAW,GAAG,CAAC;QAEpC,iBAAY,GAAwD,+BAA+B,CAAC,mBAAmB,CAAC,KAAK,CAAC;QAE9H,sBAAiB,GAAe,IAAI,CAAC;QAErC,6BAAwB,GAAW,GAAG,CAAC;QAEvC,yBAAoB,GAAW,CAAC,CAAC;QAGhC,IAAI,uBAAuB,IAAI,OAAO,IAAI,OAAO,CAAC,qBAAqB,KAAK,SAAS;YAAE,IAAI,CAAC,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC;QAClJ,IAAI,cAAc,IAAI,OAAO,IAAI,OAAO,CAAC,YAAY,KAAK,SAAS;YAAE,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QAC9G,IAAI,mBAAmB,IAAI,OAAO,IAAI,OAAO,CAAC,iBAAiB,KAAK,SAAS;YAAE,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;QAClI,IAAI,0BAA0B,IAAI,OAAO,IAAI,OAAO,CAAC,wBAAwB,KAAK,SAAS;YAAE,IAAI,CAAC,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC;QAC9J,IAAI,sBAAsB,IAAI,OAAO,IAAI,OAAO,CAAC,oBAAoB,KAAK,SAAS;YAAE,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAC/I,CAAC;CAED;AAED,WAAiB,+BAA+B;IAE/C,IAAY,mBAIX;IAJD,WAAY,mBAAmB;QAC9B,sCAAe,CAAA;QACf,gDAAyB,CAAA;QACzB,wCAAiB,CAAA;IAClB,CAAC,EAJW,mBAAmB,GAAnB,mDAAmB,KAAnB,mDAAmB,QAI9B;AAEF,CAAC,EARgB,+BAA+B,KAA/B,+BAA+B,QAQ/C","sourcesContent":["// auto-generated file\nimport {DurationMs} from '../utils/DurationMs.mjs';\n\n\nexport class EntitySubscriptionConfiguration {\n\n\tchannelBufferCapacity: number = 100;\n\n\tonBufferFull: EntitySubscriptionConfiguration.FullBufferBehaviour = EntitySubscriptionConfiguration.FullBufferBehaviour.Close;\n\n\treconnectionDelay: DurationMs = 2000;\n\n\tretryDelayExponentFactor: number = 2.0;\n\n\tconnectionMaxRetries: number = 5;\n\n\tconstructor(partial: Partial<EntitySubscriptionConfiguration>) {\n\t\tif ('channelBufferCapacity' in partial && partial.channelBufferCapacity !== undefined) this.channelBufferCapacity = partial.channelBufferCapacity;\n\t\tif ('onBufferFull' in partial && partial.onBufferFull !== undefined) this.onBufferFull = partial.onBufferFull;\n\t\tif ('reconnectionDelay' in partial && partial.reconnectionDelay !== undefined) this.reconnectionDelay = partial.reconnectionDelay;\n\t\tif ('retryDelayExponentFactor' in partial && partial.retryDelayExponentFactor !== undefined) this.retryDelayExponentFactor = partial.retryDelayExponentFactor;\n\t\tif ('connectionMaxRetries' in partial && partial.connectionMaxRetries !== undefined) this.connectionMaxRetries = partial.connectionMaxRetries;\n\t}\n\n}\n\nexport namespace EntitySubscriptionConfiguration {\n\n\texport enum FullBufferBehaviour {\n\t\tClose = \"Close\",\n\t\tDropOldest = \"DropOldest\",\n\t\tIgnore = \"Ignore\"\n\t}\n\n}\n"]}