@icure/cardinal-sdk 3.0.0-PREVIEW-4 → 3.0.0-PREVIEW.6

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 (293) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
  2. package/api/CalendarItemApi.d.mts +20 -0
  3. package/api/CalendarItemBasicApi.d.mts +20 -0
  4. package/api/ContactApi.d.mts +20 -0
  5. package/api/ContactBasicApi.d.mts +20 -0
  6. package/api/DeviceApi.d.mts +20 -0
  7. package/api/HealthElementApi.d.mts +20 -0
  8. package/api/HealthElementBasicApi.d.mts +20 -0
  9. package/api/HealthcarePartyApi.d.mts +20 -0
  10. package/api/MaintenanceTaskApi.d.mts +20 -0
  11. package/api/MaintenanceTaskBasicApi.d.mts +20 -0
  12. package/api/MessageApi.d.mts +20 -0
  13. package/api/MessageBasicApi.d.mts +20 -0
  14. package/api/PatientApi.d.mts +20 -0
  15. package/api/PatientBasicApi.d.mts +20 -0
  16. package/api/RelatedPersonApi.d.mts +20 -0
  17. package/api/TopicApi.d.mts +20 -0
  18. package/api/TopicBasicApi.d.mts +20 -0
  19. package/api/UserApi.d.mts +20 -0
  20. package/cardinal-sdk-ts.mjs +43373 -43280
  21. package/cardinal-sdk.mjs +84479 -82911
  22. package/kotlin-kotlin-stdlib.mjs +6 -6
  23. package/kotlinx-coroutines-core.mjs +1 -1
  24. package/kotlinx-serialization-kotlinx-serialization-json.mjs +12 -0
  25. package/model/AccessLog.d.mts +7 -14
  26. package/model/AccessLog.mjs +6 -12
  27. package/model/Agenda.d.mts +3 -6
  28. package/model/Agenda.mjs +3 -6
  29. package/model/CalendarItem.d.mts +8 -16
  30. package/model/CalendarItem.mjs +6 -12
  31. package/model/CalendarItemOccupancy.d.mts +2 -4
  32. package/model/CalendarItemOccupancy.mjs +2 -4
  33. package/model/CalendarItemType.d.mts +2 -4
  34. package/model/CalendarItemType.mjs +2 -4
  35. package/model/Classification.d.mts +5 -10
  36. package/model/Classification.mjs +4 -8
  37. package/model/Code.d.mts +1 -2
  38. package/model/Code.mjs +1 -2
  39. package/model/Contact.d.mts +34 -71
  40. package/model/Contact.mjs +26 -54
  41. package/model/CryptoActorStub.d.mts +1 -2
  42. package/model/CryptoActorStub.mjs +1 -2
  43. package/model/DataOwnerRegistrationSuccess.d.mts +1 -2
  44. package/model/DataOwnerRegistrationSuccess.mjs +1 -2
  45. package/model/DataOwnerType.d.mts +1 -2
  46. package/model/DataOwnerType.mjs +1 -2
  47. package/model/Device.d.mts +1 -2
  48. package/model/Device.mjs +1 -2
  49. package/model/Document.d.mts +3 -6
  50. package/model/Document.mjs +2 -4
  51. package/model/FrontEndMigration.d.mts +2 -4
  52. package/model/FrontEndMigration.mjs +2 -4
  53. package/model/Group.d.mts +9 -2
  54. package/model/Group.mjs +14 -2
  55. package/model/HealthElement.d.mts +20 -40
  56. package/model/HealthElement.mjs +14 -28
  57. package/model/HealthcareParty.d.mts +4 -9
  58. package/model/HealthcareParty.mjs +4 -9
  59. package/model/IndexingInfo.d.mts +1 -2
  60. package/model/IndexingInfo.mjs +1 -2
  61. package/model/Insurance.d.mts +1 -2
  62. package/model/Insurance.mjs +1 -2
  63. package/model/Invoice.d.mts +3 -6
  64. package/model/Invoice.mjs +2 -4
  65. package/model/MaintenanceTask.d.mts +8 -16
  66. package/model/MaintenanceTask.mjs +6 -12
  67. package/model/Message.d.mts +3 -6
  68. package/model/Message.mjs +2 -4
  69. package/model/PaginatedDocumentKeyIdPair.d.mts +1 -2
  70. package/model/PaginatedDocumentKeyIdPair.mjs +1 -2
  71. package/model/PaginatedList.d.mts +2 -4
  72. package/model/PaginatedList.mjs +2 -4
  73. package/model/PaginationError.d.mts +2 -4
  74. package/model/PaginationError.mjs +1 -2
  75. package/model/Patient.d.mts +6 -12
  76. package/model/Patient.mjs +4 -8
  77. package/model/PropertyTypeStub.d.mts +1 -2
  78. package/model/PropertyTypeStub.mjs +1 -2
  79. package/model/Receipt.d.mts +6 -12
  80. package/model/Receipt.mjs +4 -8
  81. package/model/RelatedPerson.d.mts +8 -18
  82. package/model/RelatedPerson.mjs +6 -14
  83. package/model/Role.d.mts +4 -8
  84. package/model/Role.mjs +4 -8
  85. package/model/Topic.d.mts +3 -6
  86. package/model/Topic.mjs +2 -4
  87. package/model/User.d.mts +2 -4
  88. package/model/User.mjs +2 -4
  89. package/model/base/CodeStub.d.mts +1 -2
  90. package/model/base/CodeStub.mjs +1 -2
  91. package/model/base/CryptoActor.d.mts +37 -74
  92. package/model/base/DataOwner.d.mts +1 -2
  93. package/model/base/DataOwnerGroupLink.d.mts +2 -4
  94. package/model/base/DataOwnerGroupLink.mjs +2 -4
  95. package/model/base/DataOwnerGroupLinkType.d.mts +1 -2
  96. package/model/base/DataOwnerGroupLinkType.mjs +1 -2
  97. package/model/base/DataOwnerHierarchyInfo.d.mts +2 -4
  98. package/model/base/DataOwnerHierarchyInfo.mjs +2 -4
  99. package/model/base/HasCodes.d.mts +1 -2
  100. package/model/base/HasEncryptionMetadata.d.mts +1 -2
  101. package/model/base/HasIdentifier.d.mts +1 -2
  102. package/model/base/HasTags.d.mts +1 -2
  103. package/model/base/ICureDocument.d.mts +1 -2
  104. package/model/base/LinkQualification.d.mts +7 -17
  105. package/model/base/LinkQualification.mjs +7 -17
  106. package/model/base/StoredDocument.d.mts +1 -2
  107. package/model/couchdb/Basic.d.mts +1 -2
  108. package/model/couchdb/Basic.mjs +1 -2
  109. package/model/couchdb/DatabaseInfo.d.mts +1 -2
  110. package/model/couchdb/DatabaseInfo.mjs +1 -2
  111. package/model/couchdb/DesignDocument.d.mts +1 -2
  112. package/model/couchdb/DesignDocument.mjs +1 -2
  113. package/model/couchdb/GroupDatabasesInfo.d.mts +1 -2
  114. package/model/couchdb/GroupDatabasesInfo.mjs +1 -2
  115. package/model/couchdb/Remote.d.mts +1 -2
  116. package/model/couchdb/Remote.mjs +1 -2
  117. package/model/couchdb/ReplicatorDocument.d.mts +1 -2
  118. package/model/couchdb/ReplicatorDocument.mjs +1 -2
  119. package/model/data/LabelledOccurence.d.mts +1 -2
  120. package/model/data/LabelledOccurence.mjs +1 -2
  121. package/model/embed/AdministrationQuantity.d.mts +1 -2
  122. package/model/embed/AdministrationQuantity.mjs +1 -2
  123. package/model/embed/AgendaSlottingAlgorithm.d.mts +1 -2
  124. package/model/embed/AgendaSlottingAlgorithm.mjs +1 -2
  125. package/model/embed/Annotation.d.mts +6 -12
  126. package/model/embed/Annotation.mjs +4 -8
  127. package/model/embed/AsserterType.d.mts +6 -12
  128. package/model/embed/AsserterType.mjs +6 -12
  129. package/model/embed/CareTeamMember.d.mts +3 -6
  130. package/model/embed/CareTeamMember.mjs +2 -4
  131. package/model/embed/CareTeamMembership.d.mts +3 -6
  132. package/model/embed/CareTeamMembership.mjs +2 -4
  133. package/model/embed/Content.d.mts +3 -6
  134. package/model/embed/Content.mjs +2 -4
  135. package/model/embed/DataAttachment.d.mts +5 -10
  136. package/model/embed/DataAttachment.mjs +5 -10
  137. package/model/embed/DatabaseSynchronization.d.mts +1 -2
  138. package/model/embed/DatabaseSynchronization.mjs +1 -2
  139. package/model/embed/DeletedAttachment.d.mts +2 -4
  140. package/model/embed/DeletedAttachment.mjs +2 -4
  141. package/model/embed/DocumentStatus.d.mts +1 -2
  142. package/model/embed/DocumentStatus.mjs +1 -2
  143. package/model/embed/EmbeddedTimeTableItem.d.mts +1 -2
  144. package/model/embed/EmbeddedTimeTableItem.mjs +1 -2
  145. package/model/embed/Encryptable.d.mts +1 -2
  146. package/model/embed/Episode.d.mts +3 -6
  147. package/model/embed/Episode.mjs +2 -4
  148. package/model/embed/FinancialInstitutionInformation.d.mts +3 -6
  149. package/model/embed/FinancialInstitutionInformation.mjs +2 -4
  150. package/model/embed/Gender.d.mts +1 -2
  151. package/model/embed/Gender.mjs +1 -2
  152. package/model/embed/GroupStatus.d.mts +10 -0
  153. package/model/embed/GroupStatus.mjs +12 -0
  154. package/model/embed/HealthElementAsserter.d.mts +23 -46
  155. package/model/embed/HealthElementAsserter.mjs +20 -40
  156. package/model/embed/HealthElementQualifiedLink.d.mts +2 -4
  157. package/model/embed/HealthElementQualifiedLink.mjs +1 -2
  158. package/model/embed/InvoicingCode.d.mts +18 -6
  159. package/model/embed/InvoicingCode.mjs +22 -4
  160. package/model/embed/Measure.d.mts +1 -2
  161. package/model/embed/Measure.mjs +1 -2
  162. package/model/embed/MedicalHouseContract.d.mts +3 -6
  163. package/model/embed/MedicalHouseContract.mjs +2 -4
  164. package/model/embed/MessageReadStatus.d.mts +1 -2
  165. package/model/embed/MessageReadStatus.mjs +1 -2
  166. package/model/embed/MhcSignatureType.d.mts +1 -2
  167. package/model/embed/MhcSignatureType.mjs +1 -2
  168. package/model/embed/PartnerType.d.mts +1 -2
  169. package/model/embed/PartnerType.mjs +1 -2
  170. package/model/embed/Partnership.d.mts +6 -12
  171. package/model/embed/Partnership.mjs +4 -8
  172. package/model/embed/PartnershipType.d.mts +1 -2
  173. package/model/embed/PartnershipType.mjs +1 -2
  174. package/model/embed/PersonName.d.mts +1 -2
  175. package/model/embed/PersonName.mjs +1 -2
  176. package/model/embed/ReceiptBlobType.d.mts +1 -2
  177. package/model/embed/ReceiptBlobType.mjs +1 -2
  178. package/model/embed/ReferenceRange.d.mts +1 -2
  179. package/model/embed/ReferenceRange.mjs +1 -2
  180. package/model/embed/RegimenItem.d.mts +2 -4
  181. package/model/embed/RegimenItem.mjs +2 -4
  182. package/model/embed/Renewal.d.mts +1 -2
  183. package/model/embed/Renewal.mjs +1 -2
  184. package/model/embed/ResourceGroupAllocationSchedule.d.mts +1 -2
  185. package/model/embed/ResourceGroupAllocationSchedule.mjs +1 -2
  186. package/model/embed/RoleConfiguration.d.mts +1 -2
  187. package/model/embed/RoleConfiguration.mjs +1 -2
  188. package/model/embed/SecureDelegation.d.mts +2 -4
  189. package/model/embed/SecureDelegation.mjs +2 -4
  190. package/model/embed/SecurityMetadata.d.mts +1 -2
  191. package/model/embed/Service.d.mts +35 -70
  192. package/model/embed/Service.mjs +26 -52
  193. package/model/embed/TelecomType.d.mts +1 -2
  194. package/model/embed/TelecomType.mjs +1 -2
  195. package/model/embed/TimeSeries.d.mts +1 -2
  196. package/model/embed/TimeSeries.mjs +1 -2
  197. package/model/embed/TypedValue.d.mts +3 -6
  198. package/model/embed/TypedValue.mjs +2 -4
  199. package/model/embed/UserAccessLevel.d.mts +2 -4
  200. package/model/embed/UserAccessLevel.mjs +2 -4
  201. package/model/embed/form/template/Action.d.mts +1 -2
  202. package/model/embed/form/template/Action.mjs +1 -2
  203. package/model/embed/form/template/Field.d.mts +2 -4
  204. package/model/embed/form/template/FieldsGroup.d.mts +1 -2
  205. package/model/embed/form/template/FieldsGroup.mjs +1 -2
  206. package/model/embed/form/template/FormTemplateLayout.d.mts +1 -2
  207. package/model/embed/form/template/FormTemplateLayout.mjs +1 -2
  208. package/model/embed/form/template/Launcher.d.mts +1 -2
  209. package/model/embed/form/template/Launcher.mjs +1 -2
  210. package/model/embed/form/template/Section.d.mts +1 -2
  211. package/model/embed/form/template/Section.mjs +1 -2
  212. package/model/embed/form/template/StructureElement.d.mts +1 -2
  213. package/model/filter/predicate/Predicate.d.mts +1 -2
  214. package/model/security/AlwaysPermissionItem.d.mts +1 -2
  215. package/model/security/AlwaysPermissionItem.mjs +1 -2
  216. package/model/security/AuthenticationToken.d.mts +1 -2
  217. package/model/security/AuthenticationToken.mjs +1 -2
  218. package/model/security/ExternalJwtConfig.d.mts +3 -6
  219. package/model/security/ExternalJwtConfig.mjs +2 -4
  220. package/model/security/LoginIdentifier.d.mts +1 -2
  221. package/model/security/LoginIdentifier.mjs +1 -2
  222. package/model/security/OperationToken.d.mts +1 -2
  223. package/model/security/OperationToken.mjs +1 -2
  224. package/model/security/PermissionItem.d.mts +1 -2
  225. package/model/security/PermissionType.d.mts +1 -2
  226. package/model/security/PermissionType.mjs +1 -2
  227. package/model.d.mts +1 -0
  228. package/model.mjs +1 -0
  229. package/options/SdkOptions.d.mts +67 -0
  230. package/options/SdkOptions.mjs +27 -1
  231. package/package.json +1 -1
  232. package/api/ApplicationSettingsApi.d.mts +0 -6
  233. package/api/ApplicationSettingsApi.mjs +0 -1
  234. package/api/DocumentTemplateApi.d.mts +0 -22
  235. package/api/DocumentTemplateApi.mjs +0 -1
  236. package/api/EntityReferenceApi.d.mts +0 -5
  237. package/api/EntityReferenceApi.mjs +0 -1
  238. package/api/EntityTemplateApi.d.mts +0 -24
  239. package/api/EntityTemplateApi.mjs +0 -1
  240. package/api/KeywordApi.d.mts +0 -14
  241. package/api/KeywordApi.mjs +0 -1
  242. package/api/MedicalLocationApi.d.mts +0 -17
  243. package/api/MedicalLocationApi.mjs +0 -1
  244. package/api/TarificationApi.d.mts +0 -27
  245. package/api/TarificationApi.mjs +0 -1
  246. package/api/TimeTableApi.d.mts +0 -26
  247. package/api/TimeTableApi.mjs +0 -1
  248. package/crypto/entities/DelegateShareOptions.d.mts +0 -9
  249. package/crypto/entities/DelegateShareOptions.mjs +0 -8
  250. package/crypto/entities/ShareAllPatientDataOptions.d.mts +0 -49
  251. package/crypto/entities/ShareAllPatientDataOptions.mjs +0 -58
  252. package/filters/ClassificationFilters.d.mts +0 -27
  253. package/filters/ClassificationFilters.mjs +0 -8
  254. package/filters/MedicalLocationFilters.d.mts +0 -8
  255. package/filters/MedicalLocationFilters.mjs +0 -6
  256. package/filters/TimeTableFilters.d.mts +0 -12
  257. package/filters/TimeTableFilters.mjs +0 -6
  258. package/model/ApplicationSettings.d.mts +0 -87
  259. package/model/ApplicationSettings.mjs +0 -256
  260. package/model/DocumentTemplate.d.mts +0 -35
  261. package/model/DocumentTemplate.mjs +0 -162
  262. package/model/EntityReference.d.mts +0 -10
  263. package/model/EntityReference.mjs +0 -46
  264. package/model/EntityTemplate.d.mts +0 -16
  265. package/model/EntityTemplate.mjs +0 -81
  266. package/model/Keyword.d.mts +0 -23
  267. package/model/Keyword.mjs +0 -99
  268. package/model/ListOfIds.d.mts +0 -6
  269. package/model/ListOfIds.mjs +0 -28
  270. package/model/MedicalLocation.d.mts +0 -28
  271. package/model/MedicalLocation.mjs +0 -116
  272. package/model/Tarification.d.mts +0 -50
  273. package/model/Tarification.mjs +0 -178
  274. package/model/TimeTable.d.mts +0 -25
  275. package/model/TimeTable.mjs +0 -111
  276. package/model/base/AppendixType.d.mts +0 -5
  277. package/model/base/AppendixType.mjs +0 -7
  278. package/model/base/CodeFlag.d.mts +0 -80
  279. package/model/base/CodeFlag.mjs +0 -82
  280. package/model/base/ReportVersion.d.mts +0 -3
  281. package/model/base/ReportVersion.mjs +0 -5
  282. package/model/embed/KeywordSubword.d.mts +0 -8
  283. package/model/embed/KeywordSubword.mjs +0 -35
  284. package/model/embed/LetterValue.d.mts +0 -9
  285. package/model/embed/LetterValue.mjs +0 -47
  286. package/model/embed/Periodicity.d.mts +0 -8
  287. package/model/embed/Periodicity.mjs +0 -36
  288. package/model/embed/TimeTableHour.d.mts +0 -7
  289. package/model/embed/TimeTableHour.mjs +0 -35
  290. package/model/embed/TimeTableItem.d.mts +0 -19
  291. package/model/embed/TimeTableItem.mjs +0 -96
  292. package/model/embed/Valorisation.d.mts +0 -56
  293. package/model/embed/Valorisation.mjs +0 -188
@@ -11,8 +11,7 @@ export declare class PaginatedDocumentKeyIdPair {
11
11
  startKey: any | undefined;
12
12
  /**
13
13
  *
14
- * The document identifier to start the next page from, used to disambiguate when multiple
15
- * documents share the same key.
14
+ * The document identifier to start the next page from, used to disambiguate when multiple documents share the same key.
16
15
  */
17
16
  startKeyDocId: string | undefined;
18
17
  constructor(partial: Partial<PaginatedDocumentKeyIdPair>);
@@ -14,8 +14,7 @@ export class PaginatedDocumentKeyIdPair {
14
14
  this.startKey = undefined;
15
15
  /**
16
16
  *
17
- * The document identifier to start the next page from, used to disambiguate when multiple
18
- * documents share the same key.
17
+ * The document identifier to start the next page from, used to disambiguate when multiple documents share the same key.
19
18
  */
20
19
  this.startKeyDocId = undefined;
21
20
  if ('startKey' in partial)
@@ -16,15 +16,13 @@ export declare class PaginatedList<T> {
16
16
  rows: Array<T>;
17
17
  /**
18
18
  *
19
- * The key-document ID pair to use for fetching the next page of results, or null if this is the
20
- * last page.
19
+ * The key-document ID pair to use for fetching the next page of results, or null if this is the last page.
21
20
  */
22
21
  nextKeyPair: PaginatedDocumentKeyIdPair | undefined;
23
22
  /**
24
23
  *
25
24
  *
26
- * If not null the page was aborted by this error after some rows were already returned: [rows] is
27
- * valid but
25
+ * If not null the page was aborted by this error after some rows were already returned: [rows] is valid but
28
26
  * incomplete, and there is no [nextKeyPair] to resume from.
29
27
  */
30
28
  error: PaginationError | undefined;
@@ -15,15 +15,13 @@ export class PaginatedList {
15
15
  this.rows = [];
16
16
  /**
17
17
  *
18
- * The key-document ID pair to use for fetching the next page of results, or null if this is the
19
- * last page.
18
+ * The key-document ID pair to use for fetching the next page of results, or null if this is the last page.
20
19
  */
21
20
  this.nextKeyPair = undefined;
22
21
  /**
23
22
  *
24
23
  *
25
- * If not null the page was aborted by this error after some rows were already returned: [rows] is
26
- * valid but
24
+ * If not null the page was aborted by this error after some rows were already returned: [rows] is valid but
27
25
  * incomplete, and there is no [nextKeyPair] to resume from.
28
26
  */
29
27
  this.error = undefined;
@@ -1,14 +1,12 @@
1
1
  /**
2
2
  *
3
- * The error that aborted a page of results, reported in the body of an otherwise successful
4
- * response.
3
+ * The error that aborted a page of results, reported in the body of an otherwise successful response.
5
4
  * /
6
5
  */
7
6
  export declare class PaginationError {
8
7
  /**
9
8
  *
10
- * The status code the request would have failed with, had the error been found before returning
11
- * any result.
9
+ * The status code the request would have failed with, had the error been found before returning any result.
12
10
  */
13
11
  statusCode: number;
14
12
  /**
@@ -2,8 +2,7 @@
2
2
  import { expectNumber, expectString, extractEntry } from '../internal/JsonDecodeUtils.mjs';
3
3
  /**
4
4
  *
5
- * The error that aborted a page of results, reported in the body of an otherwise successful
6
- * response.
5
+ * The error that aborted a page of results, reported in the body of an otherwise successful response.
7
6
  * /
8
7
  */
9
8
  export class PaginationError {
@@ -26,10 +26,8 @@ import { HexString } from './specializations/HexString.mjs';
26
26
  import { SpkiHexString } from './specializations/SpkiHexString.mjs';
27
27
  /**
28
28
  *
29
- * Represents a patient in the iCure platform. A patient is a person who receives healthcare
30
- * services.
31
- * This entity stores personal, administrative, and medical information about the patient, and
32
- * supports
29
+ * Represents a patient in the iCure platform. A patient is a person who receives healthcare services.
30
+ * This entity stores personal, administrative, and medical information about the patient, and supports
33
31
  * end-to-end encryption of sensitive data.
34
32
  * /
35
33
  */
@@ -222,10 +220,8 @@ export interface Patient extends StoredDocument, ICureDocument<string>, HasMedic
222
220
  }
223
221
  /**
224
222
  *
225
- * Represents a patient in the iCure platform. A patient is a person who receives healthcare
226
- * services.
227
- * This entity stores personal, administrative, and medical information about the patient, and
228
- * supports
223
+ * Represents a patient in the iCure platform. A patient is a person who receives healthcare services.
224
+ * This entity stores personal, administrative, and medical information about the patient, and supports
229
225
  * end-to-end encryption of sensitive data.
230
226
  * /
231
227
  */
@@ -591,10 +587,8 @@ export declare class DecryptedPatient {
591
587
  }
592
588
  /**
593
589
  *
594
- * Represents a patient in the iCure platform. A patient is a person who receives healthcare
595
- * services.
596
- * This entity stores personal, administrative, and medical information about the patient, and
597
- * supports
590
+ * Represents a patient in the iCure platform. A patient is a person who receives healthcare services.
591
+ * This entity stores personal, administrative, and medical information about the patient, and supports
598
592
  * end-to-end encryption of sensitive data.
599
593
  * /
600
594
  */
package/model/Patient.mjs CHANGED
@@ -18,10 +18,8 @@ import { PersonalStatus } from './embed/PersonalStatus.mjs';
18
18
  import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
19
19
  /**
20
20
  *
21
- * Represents a patient in the iCure platform. A patient is a person who receives healthcare
22
- * services.
23
- * This entity stores personal, administrative, and medical information about the patient, and
24
- * supports
21
+ * Represents a patient in the iCure platform. A patient is a person who receives healthcare services.
22
+ * This entity stores personal, administrative, and medical information about the patient, and supports
25
23
  * end-to-end encryption of sensitive data.
26
24
  * /
27
25
  */
@@ -689,10 +687,8 @@ export class DecryptedPatient {
689
687
  }
690
688
  /**
691
689
  *
692
- * Represents a patient in the iCure platform. A patient is a person who receives healthcare
693
- * services.
694
- * This entity stores personal, administrative, and medical information about the patient, and
695
- * supports
690
+ * Represents a patient in the iCure platform. A patient is a person who receives healthcare services.
691
+ * This entity stores personal, administrative, and medical information about the patient, and supports
696
692
  * end-to-end encryption of sensitive data.
697
693
  * /
698
694
  */
@@ -1,8 +1,7 @@
1
1
  import { TypedValuesType } from './embed/TypedValuesType.mjs';
2
2
  /**
3
3
  *
4
- * Lightweight stub representation of a property type, containing only the identifier and value
5
- * type.
4
+ * Lightweight stub representation of a property type, containing only the identifier and value type.
6
5
  * /
7
6
  */
8
7
  export declare class PropertyTypeStub {
@@ -3,8 +3,7 @@ import { expectString, expectStringEnum, extractEntry } from '../internal/JsonDe
3
3
  import { TypedValuesType } from './embed/TypedValuesType.mjs';
4
4
  /**
5
5
  *
6
- * Lightweight stub representation of a property type, containing only the identifier and value
7
- * type.
6
+ * Lightweight stub representation of a property type, containing only the identifier and value type.
8
7
  * /
9
8
  */
10
9
  export class PropertyTypeStub {
@@ -12,10 +12,8 @@ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
12
12
  import { Base64String } from './specializations/Base64String.mjs';
13
13
  /**
14
14
  *
15
- * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements
16
- * and responses
17
- * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can
18
- * be linked
15
+ * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements and responses
16
+ * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can be linked
19
17
  * to invoices or other documents.
20
18
  * /
21
19
  */
@@ -64,10 +62,8 @@ export interface Receipt extends StoredDocument, ICureDocument<string>, HasMedic
64
62
  }
65
63
  /**
66
64
  *
67
- * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements
68
- * and responses
69
- * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can
70
- * be linked
65
+ * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements and responses
66
+ * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can be linked
71
67
  * to invoices or other documents.
72
68
  * /
73
69
  */
@@ -199,10 +195,8 @@ export declare class DecryptedReceipt {
199
195
  }
200
196
  /**
201
197
  *
202
- * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements
203
- * and responses
204
- * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can
205
- * be linked
198
+ * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements and responses
199
+ * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can be linked
206
200
  * to invoices or other documents.
207
201
  * /
208
202
  */
package/model/Receipt.mjs CHANGED
@@ -9,10 +9,8 @@ import { ReceiptBlobType } from './embed/ReceiptBlobType.mjs';
9
9
  import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
10
10
  /**
11
11
  *
12
- * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements
13
- * and responses
14
- * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can
15
- * be linked
12
+ * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements and responses
13
+ * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can be linked
16
14
  * to invoices or other documents.
17
15
  * /
18
16
  */
@@ -249,10 +247,8 @@ export class DecryptedReceipt {
249
247
  }
250
248
  /**
251
249
  *
252
- * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements
253
- * and responses
254
- * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can
255
- * be linked
250
+ * Represents a receipt for a healthcare transaction. Receipts are used to store acknowledgements and responses
251
+ * from external systems such as eFact, eAttest, or other healthcare messaging platforms. They can be linked
256
252
  * to invoices or other documents.
257
253
  * /
258
254
  */
@@ -17,11 +17,9 @@ import { Base64String } from './specializations/Base64String.mjs';
17
17
  /**
18
18
  *
19
19
  *
20
- * A person related to one or more patients, that is neither a patient nor a healthcare party:
21
- * typically a contact
20
+ * A person related to one or more patients, that is neither a patient nor a healthcare party: typically a contact
22
21
  * person (parent of a child patient, caregiver, ...), referenced from a patient's partnership with
23
- * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a
24
- * data owner.
22
+ * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a data owner.
25
23
  */
26
24
  export interface RelatedPerson extends StoredDocument, ICureDocument<string>, Person, HasEncryptionMetadata, Encryptable, HasIdentifier, HasEndOfLife {
27
25
  /**
@@ -35,11 +33,9 @@ export interface RelatedPerson extends StoredDocument, ICureDocument<string>, Pe
35
33
  /**
36
34
  *
37
35
  *
38
- * A person related to one or more patients, that is neither a patient nor a healthcare party:
39
- * typically a contact
36
+ * A person related to one or more patients, that is neither a patient nor a healthcare party: typically a contact
40
37
  * person (parent of a child patient, caregiver, ...), referenced from a patient's partnership with
41
- * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a
42
- * data owner.
38
+ * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a data owner.
43
39
  */
44
40
  export declare class DecryptedRelatedPerson {
45
41
  /**
@@ -49,8 +45,7 @@ export declare class DecryptedRelatedPerson {
49
45
  id: string;
50
46
  /**
51
47
  *
52
- * The revision of the related person in the database, used for conflict management / optimistic
53
- * locking.
48
+ * The revision of the related person in the database, used for conflict management / optimistic locking.
54
49
  */
55
50
  rev: string | undefined;
56
51
  /**
@@ -111,7 +106,6 @@ export declare class DecryptedRelatedPerson {
111
106
  /**
112
107
  *
113
108
  * The list of all names of the related person, also containing the official full name information.
114
- *
115
109
  */
116
110
  names: Array<PersonName>;
117
111
  /**
@@ -188,11 +182,9 @@ export declare class DecryptedRelatedPerson {
188
182
  /**
189
183
  *
190
184
  *
191
- * A person related to one or more patients, that is neither a patient nor a healthcare party:
192
- * typically a contact
185
+ * A person related to one or more patients, that is neither a patient nor a healthcare party: typically a contact
193
186
  * person (parent of a child patient, caregiver, ...), referenced from a patient's partnership with
194
- * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a
195
- * data owner.
187
+ * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a data owner.
196
188
  */
197
189
  export declare class EncryptedRelatedPerson {
198
190
  /**
@@ -202,8 +194,7 @@ export declare class EncryptedRelatedPerson {
202
194
  id: string;
203
195
  /**
204
196
  *
205
- * The revision of the related person in the database, used for conflict management / optimistic
206
- * locking.
197
+ * The revision of the related person in the database, used for conflict management / optimistic locking.
207
198
  */
208
199
  rev: string | undefined;
209
200
  /**
@@ -264,7 +255,6 @@ export declare class EncryptedRelatedPerson {
264
255
  /**
265
256
  *
266
257
  * The list of all names of the related person, also containing the official full name information.
267
- *
268
258
  */
269
259
  names: Array<PersonName>;
270
260
  /**
@@ -12,19 +12,16 @@ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
12
12
  /**
13
13
  *
14
14
  *
15
- * A person related to one or more patients, that is neither a patient nor a healthcare party:
16
- * typically a contact
15
+ * A person related to one or more patients, that is neither a patient nor a healthcare party: typically a contact
17
16
  * person (parent of a child patient, caregiver, ...), referenced from a patient's partnership with
18
- * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a
19
- * data owner.
17
+ * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a data owner.
20
18
  */
21
19
  export class DecryptedRelatedPerson {
22
20
  constructor(partial) {
23
21
  var _a;
24
22
  /**
25
23
  *
26
- * The revision of the related person in the database, used for conflict management / optimistic
27
- * locking.
24
+ * The revision of the related person in the database, used for conflict management / optimistic locking.
28
25
  */
29
26
  this.rev = undefined;
30
27
  /**
@@ -85,7 +82,6 @@ export class DecryptedRelatedPerson {
85
82
  /**
86
83
  *
87
84
  * The list of all names of the related person, also containing the official full name information.
88
- *
89
85
  */
90
86
  this.names = [];
91
87
  /**
@@ -293,19 +289,16 @@ export class DecryptedRelatedPerson {
293
289
  /**
294
290
  *
295
291
  *
296
- * A person related to one or more patients, that is neither a patient nor a healthcare party:
297
- * typically a contact
292
+ * A person related to one or more patients, that is neither a patient nor a healthcare party: typically a contact
298
293
  * person (parent of a child patient, caregiver, ...), referenced from a patient's partnership with
299
- * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a
300
- * data owner.
294
+ * partnerType = relatedPerson. It is a standalone encryptable entity but NOT a crypto actor nor a data owner.
301
295
  */
302
296
  export class EncryptedRelatedPerson {
303
297
  constructor(partial) {
304
298
  var _a;
305
299
  /**
306
300
  *
307
- * The revision of the related person in the database, used for conflict management / optimistic
308
- * locking.
301
+ * The revision of the related person in the database, used for conflict management / optimistic locking.
309
302
  */
310
303
  this.rev = undefined;
311
304
  /**
@@ -366,7 +359,6 @@ export class EncryptedRelatedPerson {
366
359
  /**
367
360
  *
368
361
  * The list of all names of the related person, also containing the official full name information.
369
- *
370
362
  */
371
363
  this.names = [];
372
364
  /**
package/model/Role.d.mts CHANGED
@@ -2,10 +2,8 @@ import { StoredDocument } from './base/StoredDocument.mjs';
2
2
  /**
3
3
  *
4
4
  *
5
- * The RoleDto class represents a role in the system, which can have permissions and can be
6
- * inheritable up to a certain level by users in child Groups.$
7
- * down the group hierarchy this role can be inherited by users in child groups. A value of 0 means
8
- * it cannot be inherited, while a value of -1 means it can be inherited indefinitely.
5
+ * The RoleDto class represents a role in the system, which can have permissions and can be inheritable up to a certain level by users in child Groups.$
6
+ * down the group hierarchy this role can be inherited by users in child groups. A value of 0 means it cannot be inherited, while a value of -1 means it can be inherited indefinitely.
9
7
  */
10
8
  export declare class Role implements StoredDocument {
11
9
  /**
@@ -25,8 +23,7 @@ export declare class Role implements StoredDocument {
25
23
  deletionDate: number | undefined;
26
24
  /**
27
25
  *
28
- * The name of the role. It can only contain uppercase letters, numbers, and underscores for a max
29
- * length of 40 characters.
26
+ * The name of the role. It can only contain uppercase letters, numbers, and underscores for a max length of 40 characters.
30
27
  */
31
28
  name: string | undefined;
32
29
  /**
@@ -45,8 +42,7 @@ export declare class Role implements StoredDocument {
45
42
  inheritableUpTo: number | undefined;
46
43
  /**
47
44
  *
48
- * A set of permissions associated with this role, defining what actions users with this role can
49
- * perform.
45
+ * A set of permissions associated with this role, defining what actions users with this role can perform.
50
46
  */
51
47
  permissions: Array<string>;
52
48
  constructor(partial: Partial<Role>);
package/model/Role.mjs CHANGED
@@ -4,10 +4,8 @@ import { randomUuid } from '../utils/Id.mjs';
4
4
  /**
5
5
  *
6
6
  *
7
- * The RoleDto class represents a role in the system, which can have permissions and can be
8
- * inheritable up to a certain level by users in child Groups.$
9
- * down the group hierarchy this role can be inherited by users in child groups. A value of 0 means
10
- * it cannot be inherited, while a value of -1 means it can be inherited indefinitely.
7
+ * The RoleDto class represents a role in the system, which can have permissions and can be inheritable up to a certain level by users in child Groups.$
8
+ * down the group hierarchy this role can be inherited by users in child groups. A value of 0 means it cannot be inherited, while a value of -1 means it can be inherited indefinitely.
11
9
  */
12
10
  export class Role {
13
11
  constructor(partial) {
@@ -24,8 +22,7 @@ export class Role {
24
22
  this.deletionDate = undefined;
25
23
  /**
26
24
  *
27
- * The name of the role. It can only contain uppercase letters, numbers, and underscores for a max
28
- * length of 40 characters.
25
+ * The name of the role. It can only contain uppercase letters, numbers, and underscores for a max length of 40 characters.
29
26
  */
30
27
  this.name = undefined;
31
28
  /**
@@ -44,8 +41,7 @@ export class Role {
44
41
  this.inheritableUpTo = undefined;
45
42
  /**
46
43
  *
47
- * A set of permissions associated with this role, defining what actions users with this role can
48
- * perform.
44
+ * A set of permissions associated with this role, defining what actions users with this role can perform.
49
45
  */
50
46
  this.permissions = [];
51
47
  this.id = (_a = partial.id) !== null && _a !== void 0 ? _a : randomUuid();
package/model/Topic.d.mts CHANGED
@@ -10,8 +10,7 @@ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
10
10
  import { Base64String } from './specializations/Base64String.mjs';
11
11
  /**
12
12
  *
13
- * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a
14
- * conversation
13
+ * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a conversation
15
14
  * and can be linked to health elements and services for medical context.
16
15
  * /
17
16
  */
@@ -53,8 +52,7 @@ export interface Topic extends StoredDocument, ICureDocument<string>, HasMedical
53
52
  }
54
53
  /**
55
54
  *
56
- * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a
57
- * conversation
55
+ * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a conversation
58
56
  * and can be linked to health elements and services for medical context.
59
57
  * /
60
58
  */
@@ -179,8 +177,7 @@ export declare class DecryptedTopic {
179
177
  }
180
178
  /**
181
179
  *
182
- * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a
183
- * conversation
180
+ * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a conversation
184
181
  * and can be linked to health elements and services for medical context.
185
182
  * /
186
183
  */
package/model/Topic.mjs CHANGED
@@ -7,8 +7,7 @@ import { Delegation } from './embed/Delegation.mjs';
7
7
  import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
8
8
  /**
9
9
  *
10
- * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a
11
- * conversation
10
+ * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a conversation
12
11
  * and can be linked to health elements and services for medical context.
13
12
  * /
14
13
  */
@@ -236,8 +235,7 @@ export class DecryptedTopic {
236
235
  }
237
236
  /**
238
237
  *
239
- * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a
240
- * conversation
238
+ * Represents a topic for secure messaging between healthcare parties. A topic groups messages in a conversation
241
239
  * and can be linked to health elements and services for medical context.
242
240
  * /
243
241
  */
package/model/User.d.mts CHANGED
@@ -10,8 +10,7 @@ import { Permission } from './security/Permission.mjs';
10
10
  /**
11
11
  *
12
12
  *
13
- * Represents a user that can log in to the iCure platform. A user can be linked to a healthcare
14
- * party,
13
+ * Represents a user that can log in to the iCure platform. A user can be linked to a healthcare party,
15
14
  * a patient, or a device, and holds authentication credentials, roles, and permissions.
16
15
  */
17
16
  export declare class User implements StoredDocument, HasIdentifier {
@@ -97,8 +96,7 @@ export declare class User implements StoredDocument, HasIdentifier {
97
96
  deviceId: string | undefined;
98
97
  /**
99
98
  *
100
- * Delegations that are automatically generated client side when a new database object is created
101
- * by this user.
99
+ * Delegations that are automatically generated client side when a new database object is created by this user.
102
100
  */
103
101
  autoDelegations: {
104
102
  [key in DelegationTag]?: Array<string>;
package/model/User.mjs CHANGED
@@ -11,8 +11,7 @@ import { Permission } from './security/Permission.mjs';
11
11
  /**
12
12
  *
13
13
  *
14
- * Represents a user that can log in to the iCure platform. A user can be linked to a healthcare
15
- * party,
14
+ * Represents a user that can log in to the iCure platform. A user can be linked to a healthcare party,
16
15
  * a patient, or a device, and holds authentication credentials, roles, and permissions.
17
16
  */
18
17
  export class User {
@@ -95,8 +94,7 @@ export class User {
95
94
  this.deviceId = undefined;
96
95
  /**
97
96
  *
98
- * Delegations that are automatically generated client side when a new database object is created
99
- * by this user.
97
+ * Delegations that are automatically generated client side when a new database object is created by this user.
100
98
  */
101
99
  this.autoDelegations = {};
102
100
  /**
@@ -2,8 +2,7 @@ import { CodeIdentification } from './CodeIdentification.mjs';
2
2
  /**
3
3
  *
4
4
  *
5
- * A lightweight reference to a code from a codification system, used as a stub in entities that
6
- * reference codes
5
+ * A lightweight reference to a code from a codification system, used as a stub in entities that reference codes
7
6
  * without embedding the full code definition. The id is typically formatted as type|code|version.
8
7
  */
9
8
  export declare class CodeStub implements CodeIdentification<string | undefined> {
@@ -3,8 +3,7 @@ import { expectString, extractEntry } from '../../internal/JsonDecodeUtils.mjs';
3
3
  /**
4
4
  *
5
5
  *
6
- * A lightweight reference to a code from a codification system, used as a stub in entities that
7
- * reference codes
6
+ * A lightweight reference to a code from a codification system, used as a stub in entities that reference codes
8
7
  * without embedding the full code definition. The id is typically formatted as type|code|version.
9
8
  */
10
9
  export class CodeStub {