@icure/cardinal-sdk 2.12.1 → 2.13.0
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.
- package/api.d.mts +93 -93
- package/api.mjs +93 -93
- package/cardinal-sdk-ts.d.mts +12 -12
- package/cardinal-sdk-ts.mjs +42778 -42707
- package/cardinal-sdk.mjs +65317 -64357
- package/crypto.d.mts +33 -33
- package/crypto.mjs +33 -33
- package/filters.d.mts +16 -16
- package/filters.mjs +16 -16
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +1 -1
- package/model/CryptoActorStub.d.mts +1 -1
- package/model/CryptoActorStub.mjs +4 -2
- package/model/Document.d.mts +0 -12
- package/model/Document.mjs +0 -8
- package/model/HealthElement.d.mts +38 -0
- package/model/HealthElement.mjs +42 -0
- package/model/base/CryptoActor.mjs +3 -3
- package/model/embed/AsserterType.d.mts +24 -0
- package/model/embed/AsserterType.mjs +26 -0
- package/model/embed/HealthElementAsserter.d.mts +49 -0
- package/model/embed/HealthElementAsserter.mjs +59 -0
- package/model/embed/HealthElementQualifiedLink.d.mts +28 -0
- package/model/embed/HealthElementQualifiedLink.mjs +46 -0
- package/model/embed/form/template/Field.d.mts +1 -1
- package/model/embed/form/template/StructureElement.mjs +5 -5
- package/model/filter/predicate/Predicate.d.mts +1 -1
- package/model/filter/predicate/Predicate.mjs +2 -2
- package/model.d.mts +187 -184
- package/model.mjs +187 -184
- package/package.json +1 -1
- package/subscription.d.mts +2 -2
- package/subscription.mjs +2 -2
- package/utils.d.mts +2 -2
- package/utils.mjs +2 -2
package/crypto.d.mts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
export * from './crypto/CryptoStrategies.mjs';
|
|
2
2
|
export * from './crypto/CryptoService.mjs';
|
|
3
|
-
export * from './crypto/entities/
|
|
4
|
-
export * from './crypto/entities/ContactShareOptions.mjs';
|
|
5
|
-
export * from './crypto/entities/InvoiceDelegateOptions.mjs';
|
|
3
|
+
export * from './crypto/entities/SecretIdUseOption.mjs';
|
|
6
4
|
export * from './crypto/entities/HealthElementShareOptions.mjs';
|
|
5
|
+
export * from './crypto/entities/MaintenanceTaskShareOptions.mjs';
|
|
6
|
+
export * from './crypto/entities/HealthElementDelegateOptions.mjs';
|
|
7
|
+
export * from './crypto/entities/RecoveryDataUseFailureReason.mjs';
|
|
8
|
+
export * from './crypto/entities/RecoveryKeyOptions.mjs';
|
|
9
|
+
export * from './crypto/entities/ClassificationShareOptions.mjs';
|
|
10
|
+
export * from './crypto/entities/TopicDelegateOptions.mjs';
|
|
11
|
+
export * from './crypto/entities/CalendarItemDelegateOptions.mjs';
|
|
12
|
+
export * from './crypto/entities/InvoiceShareOptions.mjs';
|
|
7
13
|
export * from './crypto/entities/MessageDelegateOptions.mjs';
|
|
8
|
-
export * from './crypto/entities/
|
|
14
|
+
export * from './crypto/entities/DelegateShareOptions.mjs';
|
|
9
15
|
export * from './crypto/entities/PatientShareOptions.mjs';
|
|
10
|
-
export * from './crypto/entities/
|
|
11
|
-
export * from './crypto/entities/
|
|
12
|
-
export * from './crypto/entities/
|
|
16
|
+
export * from './crypto/entities/ContactDelegateOptions.mjs';
|
|
17
|
+
export * from './crypto/entities/DocumentDelegateOptions.mjs';
|
|
18
|
+
export * from './crypto/entities/RelatedPersonShareOptions.mjs';
|
|
19
|
+
export * from './crypto/entities/DocumentShareOptions.mjs';
|
|
13
20
|
export * from './crypto/entities/FormShareOptions.mjs';
|
|
21
|
+
export * from './crypto/entities/CalendarItemShareOptions.mjs';
|
|
22
|
+
export * from './crypto/entities/EntityWithTypeInfo.mjs';
|
|
14
23
|
export * from './crypto/entities/ReceiptShareOptions.mjs';
|
|
15
|
-
export * from './crypto/entities/
|
|
16
|
-
export * from './crypto/entities/AccessLogDelegateOptions.mjs';
|
|
24
|
+
export * from './crypto/entities/ContactShareOptions.mjs';
|
|
17
25
|
export * from './crypto/entities/ShareMetadataBehaviour.mjs';
|
|
18
|
-
export * from './crypto/entities/
|
|
19
|
-
export * from './crypto/entities/
|
|
20
|
-
export * from './crypto/entities/
|
|
26
|
+
export * from './crypto/entities/RelatedPersonDelegateOptions.mjs';
|
|
27
|
+
export * from './crypto/entities/RecoveryDataKey.mjs';
|
|
28
|
+
export * from './crypto/entities/ReceiptDelegateOptions.mjs';
|
|
29
|
+
export * from './crypto/entities/RecoveryKeySize.mjs';
|
|
30
|
+
export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
|
|
31
|
+
export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
|
|
21
32
|
export * from './crypto/entities/ShareAllPatientDataOptions.mjs';
|
|
33
|
+
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
34
|
+
export * from './crypto/entities/TopicShareOptions.mjs';
|
|
22
35
|
export * from './crypto/entities/RawDecryptedExchangeData.mjs';
|
|
23
|
-
export * from './crypto/entities/
|
|
24
|
-
export * from './crypto/entities/
|
|
25
|
-
export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
|
|
26
|
-
export * from './crypto/entities/HealthElementDelegateOptions.mjs';
|
|
27
|
-
export * from './crypto/entities/CalendarItemDelegateOptions.mjs';
|
|
28
|
-
export * from './crypto/entities/DelegateShareOptions.mjs';
|
|
29
|
-
export * from './crypto/entities/InvoiceShareOptions.mjs';
|
|
30
|
-
export * from './crypto/entities/RecoveryKeySize.mjs';
|
|
31
|
-
export * from './crypto/entities/CalendarItemShareOptions.mjs';
|
|
32
|
-
export * from './crypto/entities/EntityWithTypeInfo.mjs';
|
|
36
|
+
export * from './crypto/entities/AccessLogDelegateOptions.mjs';
|
|
37
|
+
export * from './crypto/entities/ShamirUpdateRequest.mjs';
|
|
33
38
|
export * from './crypto/entities/PatientDelegateOptions.mjs';
|
|
34
|
-
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
35
|
-
export * from './crypto/entities/SecretIdShareOptions.mjs';
|
|
36
|
-
export * from './crypto/entities/EntityAccessInformation.mjs';
|
|
37
|
-
export * from './crypto/entities/RecoveryResult.mjs';
|
|
38
|
-
export * from './crypto/entities/RecoveryKeyOptions.mjs';
|
|
39
|
-
export * from './crypto/entities/DocumentDelegateOptions.mjs';
|
|
40
|
-
export * from './crypto/entities/RecoveryDataKey.mjs';
|
|
41
|
-
export * from './crypto/entities/MaintenanceTaskShareOptions.mjs';
|
|
42
39
|
export * from './crypto/entities/FailedRequestDetails.mjs';
|
|
43
|
-
export * from './crypto/entities/
|
|
44
|
-
export * from './crypto/entities/
|
|
45
|
-
export * from './crypto/entities/
|
|
40
|
+
export * from './crypto/entities/RecoveryResult.mjs';
|
|
41
|
+
export * from './crypto/entities/MessageShareOptions.mjs';
|
|
42
|
+
export * from './crypto/entities/InvoiceDelegateOptions.mjs';
|
|
43
|
+
export * from './crypto/entities/EntityAccessInformation.mjs';
|
|
44
|
+
export * from './crypto/entities/AccessLogShareOptions.mjs';
|
|
45
|
+
export * from './crypto/entities/SecretIdShareOptions.mjs';
|
package/crypto.mjs
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
export * from './crypto/CryptoStrategies.mjs';
|
|
2
2
|
export * from './crypto/CryptoService.mjs';
|
|
3
|
-
export * from './crypto/entities/
|
|
4
|
-
export * from './crypto/entities/ContactShareOptions.mjs';
|
|
5
|
-
export * from './crypto/entities/InvoiceDelegateOptions.mjs';
|
|
3
|
+
export * from './crypto/entities/SecretIdUseOption.mjs';
|
|
6
4
|
export * from './crypto/entities/HealthElementShareOptions.mjs';
|
|
5
|
+
export * from './crypto/entities/MaintenanceTaskShareOptions.mjs';
|
|
6
|
+
export * from './crypto/entities/HealthElementDelegateOptions.mjs';
|
|
7
|
+
export * from './crypto/entities/RecoveryDataUseFailureReason.mjs';
|
|
8
|
+
export * from './crypto/entities/RecoveryKeyOptions.mjs';
|
|
9
|
+
export * from './crypto/entities/ClassificationShareOptions.mjs';
|
|
10
|
+
export * from './crypto/entities/TopicDelegateOptions.mjs';
|
|
11
|
+
export * from './crypto/entities/CalendarItemDelegateOptions.mjs';
|
|
12
|
+
export * from './crypto/entities/InvoiceShareOptions.mjs';
|
|
7
13
|
export * from './crypto/entities/MessageDelegateOptions.mjs';
|
|
8
|
-
export * from './crypto/entities/
|
|
14
|
+
export * from './crypto/entities/DelegateShareOptions.mjs';
|
|
9
15
|
export * from './crypto/entities/PatientShareOptions.mjs';
|
|
10
|
-
export * from './crypto/entities/
|
|
11
|
-
export * from './crypto/entities/
|
|
12
|
-
export * from './crypto/entities/
|
|
16
|
+
export * from './crypto/entities/ContactDelegateOptions.mjs';
|
|
17
|
+
export * from './crypto/entities/DocumentDelegateOptions.mjs';
|
|
18
|
+
export * from './crypto/entities/RelatedPersonShareOptions.mjs';
|
|
19
|
+
export * from './crypto/entities/DocumentShareOptions.mjs';
|
|
13
20
|
export * from './crypto/entities/FormShareOptions.mjs';
|
|
21
|
+
export * from './crypto/entities/CalendarItemShareOptions.mjs';
|
|
22
|
+
export * from './crypto/entities/EntityWithTypeInfo.mjs';
|
|
14
23
|
export * from './crypto/entities/ReceiptShareOptions.mjs';
|
|
15
|
-
export * from './crypto/entities/
|
|
16
|
-
export * from './crypto/entities/AccessLogDelegateOptions.mjs';
|
|
24
|
+
export * from './crypto/entities/ContactShareOptions.mjs';
|
|
17
25
|
export * from './crypto/entities/ShareMetadataBehaviour.mjs';
|
|
18
|
-
export * from './crypto/entities/
|
|
19
|
-
export * from './crypto/entities/
|
|
20
|
-
export * from './crypto/entities/
|
|
26
|
+
export * from './crypto/entities/RelatedPersonDelegateOptions.mjs';
|
|
27
|
+
export * from './crypto/entities/RecoveryDataKey.mjs';
|
|
28
|
+
export * from './crypto/entities/ReceiptDelegateOptions.mjs';
|
|
29
|
+
export * from './crypto/entities/RecoveryKeySize.mjs';
|
|
30
|
+
export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
|
|
31
|
+
export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
|
|
21
32
|
export * from './crypto/entities/ShareAllPatientDataOptions.mjs';
|
|
33
|
+
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
34
|
+
export * from './crypto/entities/TopicShareOptions.mjs';
|
|
22
35
|
export * from './crypto/entities/RawDecryptedExchangeData.mjs';
|
|
23
|
-
export * from './crypto/entities/
|
|
24
|
-
export * from './crypto/entities/
|
|
25
|
-
export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
|
|
26
|
-
export * from './crypto/entities/HealthElementDelegateOptions.mjs';
|
|
27
|
-
export * from './crypto/entities/CalendarItemDelegateOptions.mjs';
|
|
28
|
-
export * from './crypto/entities/DelegateShareOptions.mjs';
|
|
29
|
-
export * from './crypto/entities/InvoiceShareOptions.mjs';
|
|
30
|
-
export * from './crypto/entities/RecoveryKeySize.mjs';
|
|
31
|
-
export * from './crypto/entities/CalendarItemShareOptions.mjs';
|
|
32
|
-
export * from './crypto/entities/EntityWithTypeInfo.mjs';
|
|
36
|
+
export * from './crypto/entities/AccessLogDelegateOptions.mjs';
|
|
37
|
+
export * from './crypto/entities/ShamirUpdateRequest.mjs';
|
|
33
38
|
export * from './crypto/entities/PatientDelegateOptions.mjs';
|
|
34
|
-
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
35
|
-
export * from './crypto/entities/SecretIdShareOptions.mjs';
|
|
36
|
-
export * from './crypto/entities/EntityAccessInformation.mjs';
|
|
37
|
-
export * from './crypto/entities/RecoveryResult.mjs';
|
|
38
|
-
export * from './crypto/entities/RecoveryKeyOptions.mjs';
|
|
39
|
-
export * from './crypto/entities/DocumentDelegateOptions.mjs';
|
|
40
|
-
export * from './crypto/entities/RecoveryDataKey.mjs';
|
|
41
|
-
export * from './crypto/entities/MaintenanceTaskShareOptions.mjs';
|
|
42
39
|
export * from './crypto/entities/FailedRequestDetails.mjs';
|
|
43
|
-
export * from './crypto/entities/
|
|
44
|
-
export * from './crypto/entities/
|
|
45
|
-
export * from './crypto/entities/
|
|
40
|
+
export * from './crypto/entities/RecoveryResult.mjs';
|
|
41
|
+
export * from './crypto/entities/MessageShareOptions.mjs';
|
|
42
|
+
export * from './crypto/entities/InvoiceDelegateOptions.mjs';
|
|
43
|
+
export * from './crypto/entities/EntityAccessInformation.mjs';
|
|
44
|
+
export * from './crypto/entities/AccessLogShareOptions.mjs';
|
|
45
|
+
export * from './crypto/entities/SecretIdShareOptions.mjs';
|
package/filters.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from './filters/
|
|
2
|
-
export * from './filters/TopicFilters.mjs';
|
|
1
|
+
export * from './filters/ContactFilters.mjs';
|
|
3
2
|
export * from './filters/PatientFilters.mjs';
|
|
4
|
-
export * from './filters/MessageFilters.mjs';
|
|
5
|
-
export * from './filters/AccessLogFilters.mjs';
|
|
6
|
-
export * from './filters/GroupFilters.mjs';
|
|
7
|
-
export * from './filters/RelatedPersonFilters.mjs';
|
|
8
|
-
export * from './filters/HealthElementFilters.mjs';
|
|
9
|
-
export * from './filters/DeviceFilters.mjs';
|
|
10
|
-
export * from './filters/CodeFilters.mjs';
|
|
11
|
-
export * from './filters/AgendaFilters.mjs';
|
|
12
|
-
export * from './filters/FormFilters.mjs';
|
|
13
|
-
export * from './filters/ServiceFilters.mjs';
|
|
14
|
-
export * from './filters/MetaFilters.mjs';
|
|
15
|
-
export * from './filters/UserFilters.mjs';
|
|
16
|
-
export * from './filters/FormTemplateFilters.mjs';
|
|
17
3
|
export * from './filters/HealthcarePartyFilters.mjs';
|
|
18
|
-
export * from './filters/ContactFilters.mjs';
|
|
19
4
|
export * from './filters/MaintenanceTaskFilters.mjs';
|
|
20
5
|
export * from './filters/CalendarItemFilters.mjs';
|
|
21
6
|
export * from './filters/InsuranceFilters.mjs';
|
|
7
|
+
export * from './filters/DocumentFilters.mjs';
|
|
8
|
+
export * from './filters/DeviceFilters.mjs';
|
|
9
|
+
export * from './filters/AgendaFilters.mjs';
|
|
10
|
+
export * from './filters/CodeFilters.mjs';
|
|
11
|
+
export * from './filters/AccessLogFilters.mjs';
|
|
12
|
+
export * from './filters/UserFilters.mjs';
|
|
13
|
+
export * from './filters/HealthElementFilters.mjs';
|
|
14
|
+
export * from './filters/MetaFilters.mjs';
|
|
15
|
+
export * from './filters/MessageFilters.mjs';
|
|
16
|
+
export * from './filters/FormTemplateFilters.mjs';
|
|
17
|
+
export * from './filters/TopicFilters.mjs';
|
|
18
|
+
export * from './filters/FormFilters.mjs';
|
|
19
|
+
export * from './filters/ServiceFilters.mjs';
|
|
20
|
+
export * from './filters/GroupFilters.mjs';
|
|
21
|
+
export * from './filters/RelatedPersonFilters.mjs';
|
package/filters.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from './filters/
|
|
2
|
-
export * from './filters/TopicFilters.mjs';
|
|
1
|
+
export * from './filters/ContactFilters.mjs';
|
|
3
2
|
export * from './filters/PatientFilters.mjs';
|
|
4
|
-
export * from './filters/MessageFilters.mjs';
|
|
5
|
-
export * from './filters/AccessLogFilters.mjs';
|
|
6
|
-
export * from './filters/GroupFilters.mjs';
|
|
7
|
-
export * from './filters/RelatedPersonFilters.mjs';
|
|
8
|
-
export * from './filters/HealthElementFilters.mjs';
|
|
9
|
-
export * from './filters/DeviceFilters.mjs';
|
|
10
|
-
export * from './filters/CodeFilters.mjs';
|
|
11
|
-
export * from './filters/AgendaFilters.mjs';
|
|
12
|
-
export * from './filters/FormFilters.mjs';
|
|
13
|
-
export * from './filters/ServiceFilters.mjs';
|
|
14
|
-
export * from './filters/MetaFilters.mjs';
|
|
15
|
-
export * from './filters/UserFilters.mjs';
|
|
16
|
-
export * from './filters/FormTemplateFilters.mjs';
|
|
17
3
|
export * from './filters/HealthcarePartyFilters.mjs';
|
|
18
|
-
export * from './filters/ContactFilters.mjs';
|
|
19
4
|
export * from './filters/MaintenanceTaskFilters.mjs';
|
|
20
5
|
export * from './filters/CalendarItemFilters.mjs';
|
|
21
6
|
export * from './filters/InsuranceFilters.mjs';
|
|
7
|
+
export * from './filters/DocumentFilters.mjs';
|
|
8
|
+
export * from './filters/DeviceFilters.mjs';
|
|
9
|
+
export * from './filters/AgendaFilters.mjs';
|
|
10
|
+
export * from './filters/CodeFilters.mjs';
|
|
11
|
+
export * from './filters/AccessLogFilters.mjs';
|
|
12
|
+
export * from './filters/UserFilters.mjs';
|
|
13
|
+
export * from './filters/HealthElementFilters.mjs';
|
|
14
|
+
export * from './filters/MetaFilters.mjs';
|
|
15
|
+
export * from './filters/MessageFilters.mjs';
|
|
16
|
+
export * from './filters/FormTemplateFilters.mjs';
|
|
17
|
+
export * from './filters/TopicFilters.mjs';
|
|
18
|
+
export * from './filters/FormFilters.mjs';
|
|
19
|
+
export * from './filters/ServiceFilters.mjs';
|
|
20
|
+
export * from './filters/GroupFilters.mjs';
|
|
21
|
+
export * from './filters/RelatedPersonFilters.mjs';
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -93,8 +93,8 @@ initMetadataForInterface(Entry, 'Entry');
|
|
|
93
93
|
initMetadataForInterface(KtMap, 'Map');
|
|
94
94
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
95
95
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
96
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
97
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
96
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
97
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
98
98
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
99
99
|
initMetadataForCompanion(Companion_0);
|
|
100
100
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
@@ -115,7 +115,7 @@ initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
|
115
115
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
116
116
|
initMetadataForObject(Unit, 'Unit');
|
|
117
117
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
118
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
118
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
|
|
119
119
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
120
120
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
121
121
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -128,7 +128,7 @@ initMetadataForCompanion(Companion_2);
|
|
|
128
128
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
129
129
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
130
130
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
131
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
131
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
|
|
132
132
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
133
133
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
134
134
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -294,7 +294,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
294
294
|
initMetadataForClass(Symbol, 'Symbol');
|
|
295
295
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
296
296
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
297
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
297
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
298
298
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
299
299
|
initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
|
|
300
300
|
initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
|
|
@@ -35,7 +35,7 @@ export declare class CryptoActorStub implements Versionable<string>, CryptoActor
|
|
|
35
35
|
parentId: string | undefined;
|
|
36
36
|
cryptoActorProperties: Array<DecryptedPropertyStub> | undefined;
|
|
37
37
|
readonly $ktClass: 'com.icure.cardinal.sdk.model.CryptoActorStub';
|
|
38
|
-
constructor(partial: Partial<CryptoActorStub> & Pick<CryptoActorStub, "rev"
|
|
38
|
+
constructor(partial: Partial<CryptoActorStub> & Pick<CryptoActorStub, "rev">);
|
|
39
39
|
toJSON(): object;
|
|
40
40
|
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): CryptoActorStub;
|
|
41
41
|
}
|
|
@@ -16,6 +16,7 @@ export class CryptoActorStub {
|
|
|
16
16
|
this.transferKeys = {};
|
|
17
17
|
this.privateKeyShamirPartitions = {};
|
|
18
18
|
this.publicKey = undefined;
|
|
19
|
+
this.publicKeysForOaepWithSha256 = [];
|
|
19
20
|
this.parentId = undefined;
|
|
20
21
|
this.cryptoActorProperties = undefined;
|
|
21
22
|
this.$ktClass = 'com.icure.cardinal.sdk.model.CryptoActorStub';
|
|
@@ -31,7 +32,8 @@ export class CryptoActorStub {
|
|
|
31
32
|
this.privateKeyShamirPartitions = partial.privateKeyShamirPartitions;
|
|
32
33
|
if ('publicKey' in partial)
|
|
33
34
|
this.publicKey = partial.publicKey;
|
|
34
|
-
|
|
35
|
+
if ('publicKeysForOaepWithSha256' in partial && partial.publicKeysForOaepWithSha256 !== undefined)
|
|
36
|
+
this.publicKeysForOaepWithSha256 = partial.publicKeysForOaepWithSha256;
|
|
35
37
|
if ('parentId' in partial)
|
|
36
38
|
this.parentId = partial.parentId;
|
|
37
39
|
if ('cryptoActorProperties' in partial)
|
|
@@ -69,7 +71,7 @@ export class CryptoActorStub {
|
|
|
69
71
|
transferKeys: expectMap(extractEntry(jCpy, 'transferKeys', false, path), false, [...path, ".transferKeys"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectMap(v0, false, p0, (k1, p1) => expectString(k1, false, p1), (v1, p1) => expectString(v1, false, p1))),
|
|
70
72
|
privateKeyShamirPartitions: expectMap(extractEntry(jCpy, 'privateKeyShamirPartitions', false, path), false, [...path, ".privateKeyShamirPartitions"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectString(v0, false, p0)),
|
|
71
73
|
publicKey: expectString(extractEntry(jCpy, 'publicKey', false, path), true, [...path, ".publicKey"]),
|
|
72
|
-
publicKeysForOaepWithSha256: expectArray(extractEntry(jCpy, 'publicKeysForOaepWithSha256',
|
|
74
|
+
publicKeysForOaepWithSha256: expectArray(extractEntry(jCpy, 'publicKeysForOaepWithSha256', false, path), false, [...path, ".publicKeysForOaepWithSha256"], (x0, p0) => expectString(x0, false, p0)),
|
|
73
75
|
parentId: expectString(extractEntry(jCpy, 'parentId', false, path), true, [...path, ".parentId"]),
|
|
74
76
|
cryptoActorProperties: expectArray(extractEntry(jCpy, 'cryptoActorProperties', false, path), true, [...path, ".cryptoActorProperties"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DecryptedPropertyStub.fromJSON)),
|
|
75
77
|
});
|
package/model/Document.d.mts
CHANGED
|
@@ -85,10 +85,6 @@ export interface Document extends StoredDocument, ICureDocument<string>, HasMedi
|
|
|
85
85
|
* Extra Uniform Type Identifiers for the main attachment.
|
|
86
86
|
*/
|
|
87
87
|
mainAttachmentStoredDataSize: number | undefined;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* Extra Uniform Type Identifiers for the main attachment.
|
|
91
|
-
*/
|
|
92
88
|
extraMainAttachmentInfo: Document.ExtraMainAttachmentInfo | undefined;
|
|
93
89
|
/**
|
|
94
90
|
*
|
|
@@ -223,10 +219,6 @@ export declare class DecryptedDocument {
|
|
|
223
219
|
* Extra Uniform Type Identifiers for the main attachment.
|
|
224
220
|
*/
|
|
225
221
|
mainAttachmentStoredDataSize: number | undefined;
|
|
226
|
-
/**
|
|
227
|
-
*
|
|
228
|
-
* Extra Uniform Type Identifiers for the main attachment.
|
|
229
|
-
*/
|
|
230
222
|
extraMainAttachmentInfo: Document_.ExtraMainAttachmentInfo | undefined;
|
|
231
223
|
/**
|
|
232
224
|
*
|
|
@@ -399,10 +391,6 @@ export declare class EncryptedDocument {
|
|
|
399
391
|
* Extra Uniform Type Identifiers for the main attachment.
|
|
400
392
|
*/
|
|
401
393
|
mainAttachmentStoredDataSize: number | undefined;
|
|
402
|
-
/**
|
|
403
|
-
*
|
|
404
|
-
* Extra Uniform Type Identifiers for the main attachment.
|
|
405
|
-
*/
|
|
406
394
|
extraMainAttachmentInfo: Document_.ExtraMainAttachmentInfo | undefined;
|
|
407
395
|
/**
|
|
408
396
|
*
|
package/model/Document.mjs
CHANGED
|
@@ -124,10 +124,6 @@ export class DecryptedDocument {
|
|
|
124
124
|
* Extra Uniform Type Identifiers for the main attachment.
|
|
125
125
|
*/
|
|
126
126
|
this.mainAttachmentStoredDataSize = undefined;
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* Extra Uniform Type Identifiers for the main attachment.
|
|
130
|
-
*/
|
|
131
127
|
this.extraMainAttachmentInfo = undefined;
|
|
132
128
|
/**
|
|
133
129
|
*
|
|
@@ -453,10 +449,6 @@ export class EncryptedDocument {
|
|
|
453
449
|
* Extra Uniform Type Identifiers for the main attachment.
|
|
454
450
|
*/
|
|
455
451
|
this.mainAttachmentStoredDataSize = undefined;
|
|
456
|
-
/**
|
|
457
|
-
*
|
|
458
|
-
* Extra Uniform Type Identifiers for the main attachment.
|
|
459
|
-
*/
|
|
460
452
|
this.extraMainAttachmentInfo = undefined;
|
|
461
453
|
/**
|
|
462
454
|
*
|
|
@@ -10,6 +10,8 @@ import { CareTeamMember, DecryptedCareTeamMember, EncryptedCareTeamMember } from
|
|
|
10
10
|
import { Delegation } from './embed/Delegation.mjs';
|
|
11
11
|
import { Encryptable } from './embed/Encryptable.mjs';
|
|
12
12
|
import { DecryptedEpisode, EncryptedEpisode, Episode } from './embed/Episode.mjs';
|
|
13
|
+
import { HealthElementAsserter } from './embed/HealthElementAsserter.mjs';
|
|
14
|
+
import { HealthElementQualifiedLink } from './embed/HealthElementQualifiedLink.mjs';
|
|
13
15
|
import { Laterality } from './embed/Laterality.mjs';
|
|
14
16
|
import { DecryptedPlanOfAction, EncryptedPlanOfAction, PlanOfAction } from './embed/PlanOfAction.mjs';
|
|
15
17
|
import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
|
|
@@ -106,6 +108,18 @@ export interface HealthElement extends StoredDocument, ICureDocument<string>, Ha
|
|
|
106
108
|
* List of care team members assigned for the healthcare element.
|
|
107
109
|
*/
|
|
108
110
|
careTeam: Array<CareTeamMember>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* Directed links towards related healthcare elements. Links should be created in a single
|
|
114
|
+
* direction: the reverse link can be found through a view. This field is not encrypted.
|
|
115
|
+
*/
|
|
116
|
+
qualifiedLinks: Array<HealthElementQualifiedLink>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* The parties asserting that the patient has this healthcare element, i.e. on whose word the
|
|
120
|
+
* healthcare element is held to be true. This field is encrypted.
|
|
121
|
+
*/
|
|
122
|
+
asserters: Array<HealthElementAsserter>;
|
|
109
123
|
readonly isEncrypted: boolean;
|
|
110
124
|
toJSON(): object;
|
|
111
125
|
}
|
|
@@ -252,6 +266,18 @@ export declare class DecryptedHealthElement {
|
|
|
252
266
|
* List of care team members assigned for the healthcare element.
|
|
253
267
|
*/
|
|
254
268
|
careTeam: Array<DecryptedCareTeamMember>;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* Directed links towards related healthcare elements. Links should be created in a single
|
|
272
|
+
* direction: the reverse link can be found through a view. This field is not encrypted.
|
|
273
|
+
*/
|
|
274
|
+
qualifiedLinks: Array<HealthElementQualifiedLink>;
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* The parties asserting that the patient has this healthcare element, i.e. on whose word the
|
|
278
|
+
* healthcare element is held to be true. This field is encrypted.
|
|
279
|
+
*/
|
|
280
|
+
asserters: Array<HealthElementAsserter>;
|
|
255
281
|
/**
|
|
256
282
|
*
|
|
257
283
|
* The secret patient key, encrypted in the patient's own AES key.
|
|
@@ -436,6 +462,18 @@ export declare class EncryptedHealthElement {
|
|
|
436
462
|
* List of care team members assigned for the healthcare element.
|
|
437
463
|
*/
|
|
438
464
|
careTeam: Array<EncryptedCareTeamMember>;
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* Directed links towards related healthcare elements. Links should be created in a single
|
|
468
|
+
* direction: the reverse link can be found through a view. This field is not encrypted.
|
|
469
|
+
*/
|
|
470
|
+
qualifiedLinks: Array<HealthElementQualifiedLink>;
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* The parties asserting that the patient has this healthcare element, i.e. on whose word the
|
|
474
|
+
* healthcare element is held to be true. This field is encrypted.
|
|
475
|
+
*/
|
|
476
|
+
asserters: Array<HealthElementAsserter>;
|
|
439
477
|
/**
|
|
440
478
|
*
|
|
441
479
|
* The secret patient key, encrypted in the patient's own AES key.
|
package/model/HealthElement.mjs
CHANGED
|
@@ -7,6 +7,8 @@ import { DecryptedAnnotation, EncryptedAnnotation } from './embed/Annotation.mjs
|
|
|
7
7
|
import { DecryptedCareTeamMember, EncryptedCareTeamMember } from './embed/CareTeamMember.mjs';
|
|
8
8
|
import { Delegation } from './embed/Delegation.mjs';
|
|
9
9
|
import { DecryptedEpisode, EncryptedEpisode } from './embed/Episode.mjs';
|
|
10
|
+
import { HealthElementAsserter } from './embed/HealthElementAsserter.mjs';
|
|
11
|
+
import { HealthElementQualifiedLink } from './embed/HealthElementQualifiedLink.mjs';
|
|
10
12
|
import { Laterality } from './embed/Laterality.mjs';
|
|
11
13
|
import { DecryptedPlanOfAction, EncryptedPlanOfAction } from './embed/PlanOfAction.mjs';
|
|
12
14
|
import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
|
|
@@ -150,6 +152,18 @@ export class DecryptedHealthElement {
|
|
|
150
152
|
* List of care team members assigned for the healthcare element.
|
|
151
153
|
*/
|
|
152
154
|
this.careTeam = [];
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* Directed links towards related healthcare elements. Links should be created in a single
|
|
158
|
+
* direction: the reverse link can be found through a view. This field is not encrypted.
|
|
159
|
+
*/
|
|
160
|
+
this.qualifiedLinks = [];
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* The parties asserting that the patient has this healthcare element, i.e. on whose word the
|
|
164
|
+
* healthcare element is held to be true. This field is encrypted.
|
|
165
|
+
*/
|
|
166
|
+
this.asserters = [];
|
|
153
167
|
/**
|
|
154
168
|
*
|
|
155
169
|
* The secret patient key, encrypted in the patient's own AES key.
|
|
@@ -234,6 +248,10 @@ export class DecryptedHealthElement {
|
|
|
234
248
|
this.episodes = partial.episodes;
|
|
235
249
|
if ('careTeam' in partial && partial.careTeam !== undefined)
|
|
236
250
|
this.careTeam = partial.careTeam;
|
|
251
|
+
if ('qualifiedLinks' in partial && partial.qualifiedLinks !== undefined)
|
|
252
|
+
this.qualifiedLinks = partial.qualifiedLinks;
|
|
253
|
+
if ('asserters' in partial && partial.asserters !== undefined)
|
|
254
|
+
this.asserters = partial.asserters;
|
|
237
255
|
if ('secretForeignKeys' in partial && partial.secretForeignKeys !== undefined)
|
|
238
256
|
this.secretForeignKeys = partial.secretForeignKeys;
|
|
239
257
|
if ('cryptedForeignKeys' in partial && partial.cryptedForeignKeys !== undefined)
|
|
@@ -292,6 +310,8 @@ export class DecryptedHealthElement {
|
|
|
292
310
|
res['plansOfAction'] = this.plansOfAction.map((x0) => x0.toJSON());
|
|
293
311
|
res['episodes'] = this.episodes.map((x0) => x0.toJSON());
|
|
294
312
|
res['careTeam'] = this.careTeam.map((x0) => x0.toJSON());
|
|
313
|
+
res['qualifiedLinks'] = this.qualifiedLinks.map((x0) => x0.toJSON());
|
|
314
|
+
res['asserters'] = this.asserters.map((x0) => x0.toJSON());
|
|
295
315
|
res['secretForeignKeys'] = this.secretForeignKeys.map((x0) => x0);
|
|
296
316
|
res['cryptedForeignKeys'] = Object.fromEntries(Object.entries(this.cryptedForeignKeys).map(([k0, v0]) => [k0, v0.map((x1) => x1.toJSON())]));
|
|
297
317
|
res['delegations'] = Object.fromEntries(Object.entries(this.delegations).map(([k0, v0]) => [k0, v0.map((x1) => x1.toJSON())]));
|
|
@@ -336,6 +356,8 @@ export class DecryptedHealthElement {
|
|
|
336
356
|
plansOfAction: expectArray(extractEntry(jCpy, 'plansOfAction', false, path), false, [...path, ".plansOfAction"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DecryptedPlanOfAction.fromJSON)),
|
|
337
357
|
episodes: expectArray(extractEntry(jCpy, 'episodes', false, path), false, [...path, ".episodes"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DecryptedEpisode.fromJSON)),
|
|
338
358
|
careTeam: expectArray(extractEntry(jCpy, 'careTeam', false, path), false, [...path, ".careTeam"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DecryptedCareTeamMember.fromJSON)),
|
|
359
|
+
qualifiedLinks: expectArray(extractEntry(jCpy, 'qualifiedLinks', false, path), false, [...path, ".qualifiedLinks"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, HealthElementQualifiedLink.fromJSON)),
|
|
360
|
+
asserters: expectArray(extractEntry(jCpy, 'asserters', false, path), false, [...path, ".asserters"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, HealthElementAsserter.fromJSON)),
|
|
339
361
|
secretForeignKeys: expectArray(extractEntry(jCpy, 'secretForeignKeys', false, path), false, [...path, ".secretForeignKeys"], (x0, p0) => expectString(x0, false, p0)),
|
|
340
362
|
cryptedForeignKeys: expectMap(extractEntry(jCpy, 'cryptedForeignKeys', false, path), false, [...path, ".cryptedForeignKeys"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectArray(v0, false, p0, (x1, p1) => expectObject(x1, false, ignoreUnknownKeys, p1, Delegation.fromJSON))),
|
|
341
363
|
delegations: expectMap(extractEntry(jCpy, 'delegations', false, path), false, [...path, ".delegations"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectArray(v0, false, p0, (x1, p1) => expectObject(x1, false, ignoreUnknownKeys, p1, Delegation.fromJSON))),
|
|
@@ -491,6 +513,18 @@ export class EncryptedHealthElement {
|
|
|
491
513
|
* List of care team members assigned for the healthcare element.
|
|
492
514
|
*/
|
|
493
515
|
this.careTeam = [];
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* Directed links towards related healthcare elements. Links should be created in a single
|
|
519
|
+
* direction: the reverse link can be found through a view. This field is not encrypted.
|
|
520
|
+
*/
|
|
521
|
+
this.qualifiedLinks = [];
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* The parties asserting that the patient has this healthcare element, i.e. on whose word the
|
|
525
|
+
* healthcare element is held to be true. This field is encrypted.
|
|
526
|
+
*/
|
|
527
|
+
this.asserters = [];
|
|
494
528
|
/**
|
|
495
529
|
*
|
|
496
530
|
* The secret patient key, encrypted in the patient's own AES key.
|
|
@@ -575,6 +609,10 @@ export class EncryptedHealthElement {
|
|
|
575
609
|
this.episodes = partial.episodes;
|
|
576
610
|
if ('careTeam' in partial && partial.careTeam !== undefined)
|
|
577
611
|
this.careTeam = partial.careTeam;
|
|
612
|
+
if ('qualifiedLinks' in partial && partial.qualifiedLinks !== undefined)
|
|
613
|
+
this.qualifiedLinks = partial.qualifiedLinks;
|
|
614
|
+
if ('asserters' in partial && partial.asserters !== undefined)
|
|
615
|
+
this.asserters = partial.asserters;
|
|
578
616
|
if ('secretForeignKeys' in partial && partial.secretForeignKeys !== undefined)
|
|
579
617
|
this.secretForeignKeys = partial.secretForeignKeys;
|
|
580
618
|
if ('cryptedForeignKeys' in partial && partial.cryptedForeignKeys !== undefined)
|
|
@@ -633,6 +671,8 @@ export class EncryptedHealthElement {
|
|
|
633
671
|
res['plansOfAction'] = this.plansOfAction.map((x0) => x0.toJSON());
|
|
634
672
|
res['episodes'] = this.episodes.map((x0) => x0.toJSON());
|
|
635
673
|
res['careTeam'] = this.careTeam.map((x0) => x0.toJSON());
|
|
674
|
+
res['qualifiedLinks'] = this.qualifiedLinks.map((x0) => x0.toJSON());
|
|
675
|
+
res['asserters'] = this.asserters.map((x0) => x0.toJSON());
|
|
636
676
|
res['secretForeignKeys'] = this.secretForeignKeys.map((x0) => x0);
|
|
637
677
|
res['cryptedForeignKeys'] = Object.fromEntries(Object.entries(this.cryptedForeignKeys).map(([k0, v0]) => [k0, v0.map((x1) => x1.toJSON())]));
|
|
638
678
|
res['delegations'] = Object.fromEntries(Object.entries(this.delegations).map(([k0, v0]) => [k0, v0.map((x1) => x1.toJSON())]));
|
|
@@ -677,6 +717,8 @@ export class EncryptedHealthElement {
|
|
|
677
717
|
plansOfAction: expectArray(extractEntry(jCpy, 'plansOfAction', false, path), false, [...path, ".plansOfAction"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, EncryptedPlanOfAction.fromJSON)),
|
|
678
718
|
episodes: expectArray(extractEntry(jCpy, 'episodes', false, path), false, [...path, ".episodes"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, EncryptedEpisode.fromJSON)),
|
|
679
719
|
careTeam: expectArray(extractEntry(jCpy, 'careTeam', false, path), false, [...path, ".careTeam"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, EncryptedCareTeamMember.fromJSON)),
|
|
720
|
+
qualifiedLinks: expectArray(extractEntry(jCpy, 'qualifiedLinks', false, path), false, [...path, ".qualifiedLinks"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, HealthElementQualifiedLink.fromJSON)),
|
|
721
|
+
asserters: expectArray(extractEntry(jCpy, 'asserters', false, path), false, [...path, ".asserters"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, HealthElementAsserter.fromJSON)),
|
|
680
722
|
secretForeignKeys: expectArray(extractEntry(jCpy, 'secretForeignKeys', false, path), false, [...path, ".secretForeignKeys"], (x0, p0) => expectString(x0, false, p0)),
|
|
681
723
|
cryptedForeignKeys: expectMap(extractEntry(jCpy, 'cryptedForeignKeys', false, path), false, [...path, ".cryptedForeignKeys"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectArray(v0, false, p0, (x1, p1) => expectObject(x1, false, ignoreUnknownKeys, p1, Delegation.fromJSON))),
|
|
682
724
|
delegations: expectMap(extractEntry(jCpy, 'delegations', false, path), false, [...path, ".delegations"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectArray(v0, false, p0, (x1, p1) => expectObject(x1, false, ignoreUnknownKeys, p1, Delegation.fromJSON))),
|
|
@@ -7,11 +7,11 @@ export var CryptoActor;
|
|
|
7
7
|
(function (CryptoActor) {
|
|
8
8
|
function fromJSON(json, ignoreUnknownKeys = false, path = ['CryptoActor']) {
|
|
9
9
|
switch (json.$ktClass) {
|
|
10
|
-
case 'com.icure.cardinal.sdk.model.
|
|
10
|
+
case 'com.icure.cardinal.sdk.model.HealthcareParty': return HealthcareParty.fromJSON(json, ignoreUnknownKeys);
|
|
11
|
+
case 'com.icure.cardinal.sdk.model.Device': return Device.fromJSON(json, ignoreUnknownKeys);
|
|
11
12
|
case 'com.icure.cardinal.sdk.model.EncryptedPatient': return EncryptedPatient.fromJSON(json, ignoreUnknownKeys);
|
|
12
13
|
case 'com.icure.cardinal.sdk.model.DecryptedPatient': return DecryptedPatient.fromJSON(json, ignoreUnknownKeys);
|
|
13
|
-
case 'com.icure.cardinal.sdk.model.
|
|
14
|
-
case 'com.icure.cardinal.sdk.model.HealthcareParty': return HealthcareParty.fromJSON(json, ignoreUnknownKeys);
|
|
14
|
+
case 'com.icure.cardinal.sdk.model.CryptoActorStub': return CryptoActorStub.fromJSON(json, ignoreUnknownKeys);
|
|
15
15
|
default: throw new Error('Unexpected discriminator for CryptoActor: ' + json.$ktClass);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* The kind of entity a health element asserter's asserterId refers to.
|
|
5
|
+
*
|
|
6
|
+
* This is the *entity-kind* axis, not the role axis: it says what sort of record the id points at,
|
|
7
|
+
* not what part the
|
|
8
|
+
* party played in the assertion. Do not confuse it with ParticipantTypeDto.
|
|
9
|
+
*
|
|
10
|
+
* The entries deliberately mirror [PartnerTypeDto], which answers the same question for a
|
|
11
|
+
* partnership's partnerId. The
|
|
12
|
+
* two enums are kept separate on purpose: partnership vocabulary and asserter vocabulary are free
|
|
13
|
+
* to diverge, and
|
|
14
|
+
* neither should widen because the other did.
|
|
15
|
+
*
|
|
16
|
+
* Note that an organisation (hospital, practice, care home, ...) is not a distinct entry:
|
|
17
|
+
* organisations are stored as
|
|
18
|
+
* healthcare party records, so they use [healthcareParty].
|
|
19
|
+
*/
|
|
20
|
+
export declare enum AsserterType {
|
|
21
|
+
Patient = "Patient",
|
|
22
|
+
HealthcareParty = "HealthcareParty",
|
|
23
|
+
RelatedPerson = "RelatedPerson"
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* The kind of entity a health element asserter's asserterId refers to.
|
|
6
|
+
*
|
|
7
|
+
* This is the *entity-kind* axis, not the role axis: it says what sort of record the id points at,
|
|
8
|
+
* not what part the
|
|
9
|
+
* party played in the assertion. Do not confuse it with ParticipantTypeDto.
|
|
10
|
+
*
|
|
11
|
+
* The entries deliberately mirror [PartnerTypeDto], which answers the same question for a
|
|
12
|
+
* partnership's partnerId. The
|
|
13
|
+
* two enums are kept separate on purpose: partnership vocabulary and asserter vocabulary are free
|
|
14
|
+
* to diverge, and
|
|
15
|
+
* neither should widen because the other did.
|
|
16
|
+
*
|
|
17
|
+
* Note that an organisation (hospital, practice, care home, ...) is not a distinct entry:
|
|
18
|
+
* organisations are stored as
|
|
19
|
+
* healthcare party records, so they use [healthcareParty].
|
|
20
|
+
*/
|
|
21
|
+
export var AsserterType;
|
|
22
|
+
(function (AsserterType) {
|
|
23
|
+
AsserterType["Patient"] = "Patient";
|
|
24
|
+
AsserterType["HealthcareParty"] = "HealthcareParty";
|
|
25
|
+
AsserterType["RelatedPerson"] = "RelatedPerson";
|
|
26
|
+
})(AsserterType || (AsserterType = {}));
|