@icure/cardinal-sdk 2.13.4 → 2.13.5
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/api.d.mts +93 -93
- package/api.mjs +93 -93
- package/cardinal-sdk-ts.d.mts +12 -12
- package/cardinal-sdk-ts.mjs +42689 -42675
- package/cardinal-sdk.mjs +69277 -69140
- 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 +10 -10
- package/kotlinx-coroutines-core.mjs +7 -7
- package/model/Group.d.mts +9 -0
- package/model/Group.mjs +14 -0
- package/model/base/CryptoActor.mjs +2 -2
- package/model/embed/GroupStatus.d.mts +11 -0
- package/model/embed/GroupStatus.mjs +13 -0
- package/model/embed/InvoicingCode.d.mts +15 -0
- package/model/embed/InvoicingCode.mjs +20 -0
- package/model/embed/form/template/Field.d.mts +1 -1
- package/model/embed/form/template/StructureElement.mjs +7 -7
- package/model/filter/predicate/Predicate.d.mts +1 -1
- package/model/filter/predicate/Predicate.mjs +3 -3
- package/model.d.mts +188 -187
- package/model.mjs +188 -187
- 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/SecretIdUseOption.mjs';
|
|
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
3
|
export * from './crypto/entities/TopicDelegateOptions.mjs';
|
|
11
|
-
export * from './crypto/entities/
|
|
12
|
-
export * from './crypto/entities/
|
|
4
|
+
export * from './crypto/entities/ContactShareOptions.mjs';
|
|
5
|
+
export * from './crypto/entities/InvoiceDelegateOptions.mjs';
|
|
6
|
+
export * from './crypto/entities/HealthElementShareOptions.mjs';
|
|
13
7
|
export * from './crypto/entities/MessageDelegateOptions.mjs';
|
|
14
|
-
export * from './crypto/entities/
|
|
8
|
+
export * from './crypto/entities/MessageShareOptions.mjs';
|
|
15
9
|
export * from './crypto/entities/PatientShareOptions.mjs';
|
|
16
|
-
export * from './crypto/entities/
|
|
17
|
-
export * from './crypto/entities/
|
|
18
|
-
export * from './crypto/entities/
|
|
19
|
-
export * from './crypto/entities/DocumentShareOptions.mjs';
|
|
10
|
+
export * from './crypto/entities/ShamirUpdateRequest.mjs';
|
|
11
|
+
export * from './crypto/entities/ReceiptDelegateOptions.mjs';
|
|
12
|
+
export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
|
|
20
13
|
export * from './crypto/entities/FormShareOptions.mjs';
|
|
21
|
-
export * from './crypto/entities/CalendarItemShareOptions.mjs';
|
|
22
|
-
export * from './crypto/entities/EntityWithTypeInfo.mjs';
|
|
23
14
|
export * from './crypto/entities/ReceiptShareOptions.mjs';
|
|
24
|
-
export * from './crypto/entities/
|
|
15
|
+
export * from './crypto/entities/TopicShareOptions.mjs';
|
|
16
|
+
export * from './crypto/entities/AccessLogDelegateOptions.mjs';
|
|
25
17
|
export * from './crypto/entities/ShareMetadataBehaviour.mjs';
|
|
26
|
-
export * from './crypto/entities/
|
|
27
|
-
export * from './crypto/entities/
|
|
28
|
-
export * from './crypto/entities/
|
|
29
|
-
export * from './crypto/entities/RecoveryKeySize.mjs';
|
|
30
|
-
export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
|
|
31
|
-
export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
|
|
18
|
+
export * from './crypto/entities/RelatedPersonShareOptions.mjs';
|
|
19
|
+
export * from './crypto/entities/ContactDelegateOptions.mjs';
|
|
20
|
+
export * from './crypto/entities/AccessLogShareOptions.mjs';
|
|
32
21
|
export * from './crypto/entities/ShareAllPatientDataOptions.mjs';
|
|
33
|
-
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
34
|
-
export * from './crypto/entities/TopicShareOptions.mjs';
|
|
35
22
|
export * from './crypto/entities/RawDecryptedExchangeData.mjs';
|
|
36
|
-
export * from './crypto/entities/
|
|
37
|
-
export * from './crypto/entities/
|
|
23
|
+
export * from './crypto/entities/SecretIdUseOption.mjs';
|
|
24
|
+
export * from './crypto/entities/RecoveryDataUseFailureReason.mjs';
|
|
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';
|
|
38
33
|
export * from './crypto/entities/PatientDelegateOptions.mjs';
|
|
39
|
-
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';
|
|
34
|
+
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
45
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
|
+
export * from './crypto/entities/FailedRequestDetails.mjs';
|
|
43
|
+
export * from './crypto/entities/ClassificationShareOptions.mjs';
|
|
44
|
+
export * from './crypto/entities/DocumentShareOptions.mjs';
|
|
45
|
+
export * from './crypto/entities/RelatedPersonDelegateOptions.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/SecretIdUseOption.mjs';
|
|
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
3
|
export * from './crypto/entities/TopicDelegateOptions.mjs';
|
|
11
|
-
export * from './crypto/entities/
|
|
12
|
-
export * from './crypto/entities/
|
|
4
|
+
export * from './crypto/entities/ContactShareOptions.mjs';
|
|
5
|
+
export * from './crypto/entities/InvoiceDelegateOptions.mjs';
|
|
6
|
+
export * from './crypto/entities/HealthElementShareOptions.mjs';
|
|
13
7
|
export * from './crypto/entities/MessageDelegateOptions.mjs';
|
|
14
|
-
export * from './crypto/entities/
|
|
8
|
+
export * from './crypto/entities/MessageShareOptions.mjs';
|
|
15
9
|
export * from './crypto/entities/PatientShareOptions.mjs';
|
|
16
|
-
export * from './crypto/entities/
|
|
17
|
-
export * from './crypto/entities/
|
|
18
|
-
export * from './crypto/entities/
|
|
19
|
-
export * from './crypto/entities/DocumentShareOptions.mjs';
|
|
10
|
+
export * from './crypto/entities/ShamirUpdateRequest.mjs';
|
|
11
|
+
export * from './crypto/entities/ReceiptDelegateOptions.mjs';
|
|
12
|
+
export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
|
|
20
13
|
export * from './crypto/entities/FormShareOptions.mjs';
|
|
21
|
-
export * from './crypto/entities/CalendarItemShareOptions.mjs';
|
|
22
|
-
export * from './crypto/entities/EntityWithTypeInfo.mjs';
|
|
23
14
|
export * from './crypto/entities/ReceiptShareOptions.mjs';
|
|
24
|
-
export * from './crypto/entities/
|
|
15
|
+
export * from './crypto/entities/TopicShareOptions.mjs';
|
|
16
|
+
export * from './crypto/entities/AccessLogDelegateOptions.mjs';
|
|
25
17
|
export * from './crypto/entities/ShareMetadataBehaviour.mjs';
|
|
26
|
-
export * from './crypto/entities/
|
|
27
|
-
export * from './crypto/entities/
|
|
28
|
-
export * from './crypto/entities/
|
|
29
|
-
export * from './crypto/entities/RecoveryKeySize.mjs';
|
|
30
|
-
export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
|
|
31
|
-
export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
|
|
18
|
+
export * from './crypto/entities/RelatedPersonShareOptions.mjs';
|
|
19
|
+
export * from './crypto/entities/ContactDelegateOptions.mjs';
|
|
20
|
+
export * from './crypto/entities/AccessLogShareOptions.mjs';
|
|
32
21
|
export * from './crypto/entities/ShareAllPatientDataOptions.mjs';
|
|
33
|
-
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
34
|
-
export * from './crypto/entities/TopicShareOptions.mjs';
|
|
35
22
|
export * from './crypto/entities/RawDecryptedExchangeData.mjs';
|
|
36
|
-
export * from './crypto/entities/
|
|
37
|
-
export * from './crypto/entities/
|
|
23
|
+
export * from './crypto/entities/SecretIdUseOption.mjs';
|
|
24
|
+
export * from './crypto/entities/RecoveryDataUseFailureReason.mjs';
|
|
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';
|
|
38
33
|
export * from './crypto/entities/PatientDelegateOptions.mjs';
|
|
39
|
-
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';
|
|
34
|
+
export * from './crypto/entities/FormDelegateOptions.mjs';
|
|
45
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
|
+
export * from './crypto/entities/FailedRequestDetails.mjs';
|
|
43
|
+
export * from './crypto/entities/ClassificationShareOptions.mjs';
|
|
44
|
+
export * from './crypto/entities/DocumentShareOptions.mjs';
|
|
45
|
+
export * from './crypto/entities/RelatedPersonDelegateOptions.mjs';
|
package/filters.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from './filters/ContactFilters.mjs';
|
|
2
|
-
export * from './filters/PatientFilters.mjs';
|
|
3
|
-
export * from './filters/HealthcarePartyFilters.mjs';
|
|
4
|
-
export * from './filters/MaintenanceTaskFilters.mjs';
|
|
5
|
-
export * from './filters/CalendarItemFilters.mjs';
|
|
6
|
-
export * from './filters/InsuranceFilters.mjs';
|
|
7
1
|
export * from './filters/DocumentFilters.mjs';
|
|
8
|
-
export * from './filters/
|
|
9
|
-
export * from './filters/
|
|
10
|
-
export * from './filters/
|
|
2
|
+
export * from './filters/TopicFilters.mjs';
|
|
3
|
+
export * from './filters/PatientFilters.mjs';
|
|
4
|
+
export * from './filters/MessageFilters.mjs';
|
|
11
5
|
export * from './filters/AccessLogFilters.mjs';
|
|
12
|
-
export * from './filters/
|
|
6
|
+
export * from './filters/GroupFilters.mjs';
|
|
7
|
+
export * from './filters/RelatedPersonFilters.mjs';
|
|
13
8
|
export * from './filters/HealthElementFilters.mjs';
|
|
14
|
-
export * from './filters/
|
|
15
|
-
export * from './filters/
|
|
16
|
-
export * from './filters/
|
|
17
|
-
export * from './filters/TopicFilters.mjs';
|
|
9
|
+
export * from './filters/DeviceFilters.mjs';
|
|
10
|
+
export * from './filters/CodeFilters.mjs';
|
|
11
|
+
export * from './filters/AgendaFilters.mjs';
|
|
18
12
|
export * from './filters/FormFilters.mjs';
|
|
19
13
|
export * from './filters/ServiceFilters.mjs';
|
|
20
|
-
export * from './filters/
|
|
21
|
-
export * from './filters/
|
|
14
|
+
export * from './filters/MetaFilters.mjs';
|
|
15
|
+
export * from './filters/UserFilters.mjs';
|
|
16
|
+
export * from './filters/FormTemplateFilters.mjs';
|
|
17
|
+
export * from './filters/HealthcarePartyFilters.mjs';
|
|
18
|
+
export * from './filters/ContactFilters.mjs';
|
|
19
|
+
export * from './filters/MaintenanceTaskFilters.mjs';
|
|
20
|
+
export * from './filters/CalendarItemFilters.mjs';
|
|
21
|
+
export * from './filters/InsuranceFilters.mjs';
|
package/filters.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from './filters/ContactFilters.mjs';
|
|
2
|
-
export * from './filters/PatientFilters.mjs';
|
|
3
|
-
export * from './filters/HealthcarePartyFilters.mjs';
|
|
4
|
-
export * from './filters/MaintenanceTaskFilters.mjs';
|
|
5
|
-
export * from './filters/CalendarItemFilters.mjs';
|
|
6
|
-
export * from './filters/InsuranceFilters.mjs';
|
|
7
1
|
export * from './filters/DocumentFilters.mjs';
|
|
8
|
-
export * from './filters/
|
|
9
|
-
export * from './filters/
|
|
10
|
-
export * from './filters/
|
|
2
|
+
export * from './filters/TopicFilters.mjs';
|
|
3
|
+
export * from './filters/PatientFilters.mjs';
|
|
4
|
+
export * from './filters/MessageFilters.mjs';
|
|
11
5
|
export * from './filters/AccessLogFilters.mjs';
|
|
12
|
-
export * from './filters/
|
|
6
|
+
export * from './filters/GroupFilters.mjs';
|
|
7
|
+
export * from './filters/RelatedPersonFilters.mjs';
|
|
13
8
|
export * from './filters/HealthElementFilters.mjs';
|
|
14
|
-
export * from './filters/
|
|
15
|
-
export * from './filters/
|
|
16
|
-
export * from './filters/
|
|
17
|
-
export * from './filters/TopicFilters.mjs';
|
|
9
|
+
export * from './filters/DeviceFilters.mjs';
|
|
10
|
+
export * from './filters/CodeFilters.mjs';
|
|
11
|
+
export * from './filters/AgendaFilters.mjs';
|
|
18
12
|
export * from './filters/FormFilters.mjs';
|
|
19
13
|
export * from './filters/ServiceFilters.mjs';
|
|
20
|
-
export * from './filters/
|
|
21
|
-
export * from './filters/
|
|
14
|
+
export * from './filters/MetaFilters.mjs';
|
|
15
|
+
export * from './filters/UserFilters.mjs';
|
|
16
|
+
export * from './filters/FormTemplateFilters.mjs';
|
|
17
|
+
export * from './filters/HealthcarePartyFilters.mjs';
|
|
18
|
+
export * from './filters/ContactFilters.mjs';
|
|
19
|
+
export * from './filters/MaintenanceTaskFilters.mjs';
|
|
20
|
+
export * from './filters/CalendarItemFilters.mjs';
|
|
21
|
+
export * from './filters/InsuranceFilters.mjs';
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -48,12 +48,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
48
48
|
};
|
|
49
49
|
}(Math.log, Math.LN2);
|
|
50
50
|
}
|
|
51
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
52
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
53
|
-
position = position || 0;
|
|
54
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
55
|
-
}});
|
|
56
|
-
}
|
|
57
51
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
58
52
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
59
53
|
var subjectString = this.toString();
|
|
@@ -65,6 +59,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
65
59
|
return lastIndex !== -1 && lastIndex === position;
|
|
66
60
|
}});
|
|
67
61
|
}
|
|
62
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
63
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
64
|
+
position = position || 0;
|
|
65
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
66
|
+
}});
|
|
67
|
+
}
|
|
68
68
|
//endregion
|
|
69
69
|
//region block: imports
|
|
70
70
|
var imul_0 = Math.imul;
|
|
@@ -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, Collection, MutableIterable]);
|
|
97
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
|
|
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, [Collection, MutableIterable]);
|
|
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, [Collection, MutableIterable]);
|
|
132
132
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
133
133
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
134
134
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -235,6 +235,11 @@ initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, V
|
|
|
235
235
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
236
236
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
237
237
|
initMetadataForCoroutine($receiveCatchingCOROUTINE$, CoroutineImpl);
|
|
238
|
+
function close$default(cause, $super) {
|
|
239
|
+
cause = cause === VOID ? null : cause;
|
|
240
|
+
return $super === VOID ? this.s1d(cause) : $super.s1d.call(this, cause);
|
|
241
|
+
}
|
|
242
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
238
243
|
function cancel$default_0(cause, $super) {
|
|
239
244
|
cause = cause === VOID ? null : cause;
|
|
240
245
|
var tmp;
|
|
@@ -247,12 +252,7 @@ function cancel$default_0(cause, $super) {
|
|
|
247
252
|
return tmp;
|
|
248
253
|
}
|
|
249
254
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
250
|
-
|
|
251
|
-
cause = cause === VOID ? null : cause;
|
|
252
|
-
return $super === VOID ? this.s1d(cause) : $super.s1d.call(this, cause);
|
|
253
|
-
}
|
|
254
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
255
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
255
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
256
256
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
257
257
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
258
258
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -262,7 +262,7 @@ initMetadataForCompanion(Companion);
|
|
|
262
262
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
263
263
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
264
264
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
265
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [
|
|
265
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
|
|
266
266
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
267
267
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
268
268
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
|
package/model/Group.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ import { CodeStub } from './base/CodeStub.mjs';
|
|
|
3
3
|
import { HasTags } from './base/HasTags.mjs';
|
|
4
4
|
import { StoredDocument } from './base/StoredDocument.mjs';
|
|
5
5
|
import { AuthenticationClass } from './embed/AuthenticationClass.mjs';
|
|
6
|
+
import { GroupStatus } from './embed/GroupStatus.mjs';
|
|
6
7
|
import { UserType } from './embed/UserType.mjs';
|
|
7
8
|
import { ExternalJwtConfig } from './security/ExternalJwtConfig.mjs';
|
|
8
9
|
import { OperationToken } from './security/OperationToken.mjs';
|
|
@@ -129,6 +130,14 @@ export declare class Group implements StoredDocument, HasTags {
|
|
|
129
130
|
* The version of the custom design doc schema to apply by default children groups on creation.
|
|
130
131
|
*/
|
|
131
132
|
defaultChildrenSchemaVersion: number | undefined;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
* The commercial status of the group, derived from the group hierarchy when not explicitly set on
|
|
137
|
+
* the group.
|
|
138
|
+
* This field is read-only: it is ignored when creating or modifying a group.
|
|
139
|
+
*/
|
|
140
|
+
status: GroupStatus | undefined;
|
|
132
141
|
constructor(partial: Partial<Group> & Pick<Group, "minimumAuthenticationClassForElevatedPrivileges">);
|
|
133
142
|
toJSON(): object;
|
|
134
143
|
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): Group;
|
package/model/Group.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import { randomUuid } from '../utils/Id.mjs';
|
|
|
4
4
|
import { DecryptedPropertyStub } from './PropertyStub.mjs';
|
|
5
5
|
import { CodeStub } from './base/CodeStub.mjs';
|
|
6
6
|
import { AuthenticationClass } from './embed/AuthenticationClass.mjs';
|
|
7
|
+
import { GroupStatus } from './embed/GroupStatus.mjs';
|
|
7
8
|
import { UserType } from './embed/UserType.mjs';
|
|
8
9
|
import { ExternalJwtConfig } from './security/ExternalJwtConfig.mjs';
|
|
9
10
|
import { OperationToken } from './security/OperationToken.mjs';
|
|
@@ -114,6 +115,14 @@ export class Group {
|
|
|
114
115
|
* The version of the custom design doc schema to apply by default children groups on creation.
|
|
115
116
|
*/
|
|
116
117
|
this.defaultChildrenSchemaVersion = undefined;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* The commercial status of the group, derived from the group hierarchy when not explicitly set on
|
|
122
|
+
* the group.
|
|
123
|
+
* This field is read-only: it is ignored when creating or modifying a group.
|
|
124
|
+
*/
|
|
125
|
+
this.status = undefined;
|
|
117
126
|
this.id = (_a = partial.id) !== null && _a !== void 0 ? _a : randomUuid();
|
|
118
127
|
if ('rev' in partial)
|
|
119
128
|
this.rev = partial.rev;
|
|
@@ -154,6 +163,8 @@ export class Group {
|
|
|
154
163
|
this.designDocSchemaVersions = partial.designDocSchemaVersions;
|
|
155
164
|
if ('defaultChildrenSchemaVersion' in partial)
|
|
156
165
|
this.defaultChildrenSchemaVersion = partial.defaultChildrenSchemaVersion;
|
|
166
|
+
if ('status' in partial)
|
|
167
|
+
this.status = partial.status;
|
|
157
168
|
}
|
|
158
169
|
toJSON() {
|
|
159
170
|
const res = {};
|
|
@@ -188,6 +199,8 @@ export class Group {
|
|
|
188
199
|
res['designDocSchemaVersions'] = this.designDocSchemaVersions.map((x0) => x0);
|
|
189
200
|
if (this.defaultChildrenSchemaVersion != undefined)
|
|
190
201
|
res['defaultChildrenSchemaVersion'] = this.defaultChildrenSchemaVersion;
|
|
202
|
+
if (this.status != undefined)
|
|
203
|
+
res['status'] = this.status;
|
|
191
204
|
return res;
|
|
192
205
|
}
|
|
193
206
|
static fromJSON(json, ignoreUnknownKeys = false, path = ['Group']) {
|
|
@@ -216,6 +229,7 @@ export class Group {
|
|
|
216
229
|
templates: expectObject(extractEntry(jCpy, 'templates', false, path), true, ignoreUnknownKeys, [...path, ".templates"], Group.TemplatesConfiguration.fromJSON),
|
|
217
230
|
designDocSchemaVersions: expectArray(extractEntry(jCpy, 'designDocSchemaVersions', false, path), false, [...path, ".designDocSchemaVersions"], (x0, p0) => expectNumber(x0, false, true, p0)),
|
|
218
231
|
defaultChildrenSchemaVersion: expectNumber(extractEntry(jCpy, 'defaultChildrenSchemaVersion', false, path), true, true, [...path, ".defaultChildrenSchemaVersion"]),
|
|
232
|
+
status: expectStringEnum(extractEntry(jCpy, 'status', false, path), true, [...path, ".status"], GroupStatus, 'GroupStatus'),
|
|
219
233
|
});
|
|
220
234
|
if (!ignoreUnknownKeys) {
|
|
221
235
|
const unused = Object.keys(jCpy);
|
|
@@ -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.CryptoActorStub': return CryptoActorStub.fromJSON(json, ignoreUnknownKeys);
|
|
11
|
+
case 'com.icure.cardinal.sdk.model.Device': return Device.fromJSON(json, ignoreUnknownKeys);
|
|
10
12
|
case 'com.icure.cardinal.sdk.model.DecryptedPatient': return DecryptedPatient.fromJSON(json, ignoreUnknownKeys);
|
|
11
13
|
case 'com.icure.cardinal.sdk.model.EncryptedPatient': return EncryptedPatient.fromJSON(json, ignoreUnknownKeys);
|
|
12
|
-
case 'com.icure.cardinal.sdk.model.Device': return Device.fromJSON(json, ignoreUnknownKeys);
|
|
13
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,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* The commercial status of a group. Groups whose status is not explicitly set are reported with
|
|
5
|
+
* the status of the
|
|
6
|
+
* first ancestor group that is [PAYING] or [FREE] ([FREE] if there is none).
|
|
7
|
+
*/
|
|
8
|
+
export declare enum GroupStatus {
|
|
9
|
+
Paying = "Paying",
|
|
10
|
+
Free = "Free"
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* The commercial status of a group. Groups whose status is not explicitly set are reported with
|
|
6
|
+
* the status of the
|
|
7
|
+
* first ancestor group that is [PAYING] or [FREE] ([FREE] if there is none).
|
|
8
|
+
*/
|
|
9
|
+
export var GroupStatus;
|
|
10
|
+
(function (GroupStatus) {
|
|
11
|
+
GroupStatus["Paying"] = "Paying";
|
|
12
|
+
GroupStatus["Free"] = "Free";
|
|
13
|
+
})(GroupStatus || (GroupStatus = {}));
|
|
@@ -264,6 +264,11 @@ export interface InvoicingCode extends Encryptable {
|
|
|
264
264
|
* The insurance justification code.
|
|
265
265
|
*/
|
|
266
266
|
insuranceJustification: number | undefined;
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* The reimbursement agreement number obtained during a pre-authorization.
|
|
270
|
+
*/
|
|
271
|
+
agreementNumber: string | undefined;
|
|
267
272
|
/**
|
|
268
273
|
*
|
|
269
274
|
* The reason for canceling patient intervention.
|
|
@@ -552,6 +557,11 @@ export declare class DecryptedInvoicingCode {
|
|
|
552
557
|
* The insurance justification code.
|
|
553
558
|
*/
|
|
554
559
|
insuranceJustification: number | undefined;
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* The reimbursement agreement number obtained during a pre-authorization.
|
|
563
|
+
*/
|
|
564
|
+
agreementNumber: string | undefined;
|
|
555
565
|
/**
|
|
556
566
|
*
|
|
557
567
|
* The reason for canceling patient intervention.
|
|
@@ -847,6 +857,11 @@ export declare class EncryptedInvoicingCode {
|
|
|
847
857
|
* The insurance justification code.
|
|
848
858
|
*/
|
|
849
859
|
insuranceJustification: number | undefined;
|
|
860
|
+
/**
|
|
861
|
+
*
|
|
862
|
+
* The reimbursement agreement number obtained during a pre-authorization.
|
|
863
|
+
*/
|
|
864
|
+
agreementNumber: string | undefined;
|
|
850
865
|
/**
|
|
851
866
|
*
|
|
852
867
|
* The reason for canceling patient intervention.
|
|
@@ -260,6 +260,11 @@ export class DecryptedInvoicingCode {
|
|
|
260
260
|
* The insurance justification code.
|
|
261
261
|
*/
|
|
262
262
|
this.insuranceJustification = undefined;
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* The reimbursement agreement number obtained during a pre-authorization.
|
|
266
|
+
*/
|
|
267
|
+
this.agreementNumber = undefined;
|
|
263
268
|
/**
|
|
264
269
|
*
|
|
265
270
|
* The reason for canceling patient intervention.
|
|
@@ -389,6 +394,8 @@ export class DecryptedInvoicingCode {
|
|
|
389
394
|
this.lost = partial.lost;
|
|
390
395
|
if ('insuranceJustification' in partial)
|
|
391
396
|
this.insuranceJustification = partial.insuranceJustification;
|
|
397
|
+
if ('agreementNumber' in partial)
|
|
398
|
+
this.agreementNumber = partial.agreementNumber;
|
|
392
399
|
if ('cancelPatientInterventionReason' in partial)
|
|
393
400
|
this.cancelPatientInterventionReason = partial.cancelPatientInterventionReason;
|
|
394
401
|
if ('status' in partial)
|
|
@@ -504,6 +511,8 @@ export class DecryptedInvoicingCode {
|
|
|
504
511
|
res['lost'] = this.lost;
|
|
505
512
|
if (this.insuranceJustification != undefined)
|
|
506
513
|
res['insuranceJustification'] = this.insuranceJustification;
|
|
514
|
+
if (this.agreementNumber != undefined)
|
|
515
|
+
res['agreementNumber'] = this.agreementNumber;
|
|
507
516
|
if (this.cancelPatientInterventionReason != undefined)
|
|
508
517
|
res['cancelPatientInterventionReason'] = this.cancelPatientInterventionReason;
|
|
509
518
|
if (this.status != undefined)
|
|
@@ -574,6 +583,7 @@ export class DecryptedInvoicingCode {
|
|
|
574
583
|
archived: expectBoolean(extractEntry(jCpy, 'archived', false, path), true, [...path, ".archived"]),
|
|
575
584
|
lost: expectBoolean(extractEntry(jCpy, 'lost', false, path), true, [...path, ".lost"]),
|
|
576
585
|
insuranceJustification: expectNumber(extractEntry(jCpy, 'insuranceJustification', false, path), true, true, [...path, ".insuranceJustification"]),
|
|
586
|
+
agreementNumber: expectString(extractEntry(jCpy, 'agreementNumber', false, path), true, [...path, ".agreementNumber"]),
|
|
577
587
|
cancelPatientInterventionReason: expectNumber(extractEntry(jCpy, 'cancelPatientInterventionReason', false, path), true, true, [...path, ".cancelPatientInterventionReason"]),
|
|
578
588
|
status: expectNumber(extractEntry(jCpy, 'status', false, path), true, true, [...path, ".status"]),
|
|
579
589
|
codeLabel: expectString(extractEntry(jCpy, 'codeLabel', false, path), true, [...path, ".codeLabel"]),
|
|
@@ -847,6 +857,11 @@ export class EncryptedInvoicingCode {
|
|
|
847
857
|
* The insurance justification code.
|
|
848
858
|
*/
|
|
849
859
|
this.insuranceJustification = undefined;
|
|
860
|
+
/**
|
|
861
|
+
*
|
|
862
|
+
* The reimbursement agreement number obtained during a pre-authorization.
|
|
863
|
+
*/
|
|
864
|
+
this.agreementNumber = undefined;
|
|
850
865
|
/**
|
|
851
866
|
*
|
|
852
867
|
* The reason for canceling patient intervention.
|
|
@@ -976,6 +991,8 @@ export class EncryptedInvoicingCode {
|
|
|
976
991
|
this.lost = partial.lost;
|
|
977
992
|
if ('insuranceJustification' in partial)
|
|
978
993
|
this.insuranceJustification = partial.insuranceJustification;
|
|
994
|
+
if ('agreementNumber' in partial)
|
|
995
|
+
this.agreementNumber = partial.agreementNumber;
|
|
979
996
|
if ('cancelPatientInterventionReason' in partial)
|
|
980
997
|
this.cancelPatientInterventionReason = partial.cancelPatientInterventionReason;
|
|
981
998
|
if ('status' in partial)
|
|
@@ -1091,6 +1108,8 @@ export class EncryptedInvoicingCode {
|
|
|
1091
1108
|
res['lost'] = this.lost;
|
|
1092
1109
|
if (this.insuranceJustification != undefined)
|
|
1093
1110
|
res['insuranceJustification'] = this.insuranceJustification;
|
|
1111
|
+
if (this.agreementNumber != undefined)
|
|
1112
|
+
res['agreementNumber'] = this.agreementNumber;
|
|
1094
1113
|
if (this.cancelPatientInterventionReason != undefined)
|
|
1095
1114
|
res['cancelPatientInterventionReason'] = this.cancelPatientInterventionReason;
|
|
1096
1115
|
if (this.status != undefined)
|
|
@@ -1161,6 +1180,7 @@ export class EncryptedInvoicingCode {
|
|
|
1161
1180
|
archived: expectBoolean(extractEntry(jCpy, 'archived', false, path), true, [...path, ".archived"]),
|
|
1162
1181
|
lost: expectBoolean(extractEntry(jCpy, 'lost', false, path), true, [...path, ".lost"]),
|
|
1163
1182
|
insuranceJustification: expectNumber(extractEntry(jCpy, 'insuranceJustification', false, path), true, true, [...path, ".insuranceJustification"]),
|
|
1183
|
+
agreementNumber: expectString(extractEntry(jCpy, 'agreementNumber', false, path), true, [...path, ".agreementNumber"]),
|
|
1164
1184
|
cancelPatientInterventionReason: expectNumber(extractEntry(jCpy, 'cancelPatientInterventionReason', false, path), true, true, [...path, ".cancelPatientInterventionReason"]),
|
|
1165
1185
|
status: expectNumber(extractEntry(jCpy, 'status', false, path), true, true, [...path, ".status"]),
|
|
1166
1186
|
codeLabel: expectString(extractEntry(jCpy, 'codeLabel', false, path), true, [...path, ".codeLabel"]),
|
|
@@ -17,4 +17,4 @@ import { TimePicker } from './TimePicker.mjs';
|
|
|
17
17
|
* validation rules, and optional codification and tagging.
|
|
18
18
|
* /
|
|
19
19
|
*/
|
|
20
|
-
export type Field =
|
|
20
|
+
export type Field = TextField | RadioButton | NumberField | DropdownField | DateTimePicker | DatePicker | MultipleChoice | TimePicker | MeasureField | CheckBox;
|
|
@@ -15,16 +15,16 @@ export var StructureElement;
|
|
|
15
15
|
function fromJSON(json, ignoreUnknownKeys = false, path = ['StructureElement']) {
|
|
16
16
|
switch (json.$ktClass) {
|
|
17
17
|
case 'com.icure.cardinal.sdk.model.embed.form.template.FieldsGroup': return FieldsGroup.fromJSON(json, ignoreUnknownKeys);
|
|
18
|
-
case 'com.icure.cardinal.sdk.model.embed.form.template.DatePicker': return DatePicker.fromJSON(json, ignoreUnknownKeys);
|
|
19
|
-
case 'com.icure.cardinal.sdk.model.embed.form.template.MeasureField': return MeasureField.fromJSON(json, ignoreUnknownKeys);
|
|
20
|
-
case 'com.icure.cardinal.sdk.model.embed.form.template.DateTimePicker': return DateTimePicker.fromJSON(json, ignoreUnknownKeys);
|
|
21
18
|
case 'com.icure.cardinal.sdk.model.embed.form.template.TextField': return TextField.fromJSON(json, ignoreUnknownKeys);
|
|
22
|
-
case 'com.icure.cardinal.sdk.model.embed.form.template.CheckBox': return CheckBox.fromJSON(json, ignoreUnknownKeys);
|
|
23
|
-
case 'com.icure.cardinal.sdk.model.embed.form.template.DropdownField': return DropdownField.fromJSON(json, ignoreUnknownKeys);
|
|
24
|
-
case 'com.icure.cardinal.sdk.model.embed.form.template.NumberField': return NumberField.fromJSON(json, ignoreUnknownKeys);
|
|
25
|
-
case 'com.icure.cardinal.sdk.model.embed.form.template.TimePicker': return TimePicker.fromJSON(json, ignoreUnknownKeys);
|
|
26
19
|
case 'com.icure.cardinal.sdk.model.embed.form.template.RadioButton': return RadioButton.fromJSON(json, ignoreUnknownKeys);
|
|
20
|
+
case 'com.icure.cardinal.sdk.model.embed.form.template.NumberField': return NumberField.fromJSON(json, ignoreUnknownKeys);
|
|
21
|
+
case 'com.icure.cardinal.sdk.model.embed.form.template.DropdownField': return DropdownField.fromJSON(json, ignoreUnknownKeys);
|
|
22
|
+
case 'com.icure.cardinal.sdk.model.embed.form.template.DateTimePicker': return DateTimePicker.fromJSON(json, ignoreUnknownKeys);
|
|
23
|
+
case 'com.icure.cardinal.sdk.model.embed.form.template.DatePicker': return DatePicker.fromJSON(json, ignoreUnknownKeys);
|
|
27
24
|
case 'com.icure.cardinal.sdk.model.embed.form.template.MultipleChoice': return MultipleChoice.fromJSON(json, ignoreUnknownKeys);
|
|
25
|
+
case 'com.icure.cardinal.sdk.model.embed.form.template.TimePicker': return TimePicker.fromJSON(json, ignoreUnknownKeys);
|
|
26
|
+
case 'com.icure.cardinal.sdk.model.embed.form.template.MeasureField': return MeasureField.fromJSON(json, ignoreUnknownKeys);
|
|
27
|
+
case 'com.icure.cardinal.sdk.model.embed.form.template.CheckBox': return CheckBox.fromJSON(json, ignoreUnknownKeys);
|
|
28
28
|
default: throw new Error('Unexpected discriminator for StructureElement: ' + json.$ktClass);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -9,7 +9,7 @@ import { OrPredicate } from './OrPredicate.mjs';
|
|
|
9
9
|
* chain.
|
|
10
10
|
* /
|
|
11
11
|
*/
|
|
12
|
-
export type Predicate =
|
|
12
|
+
export type Predicate = KeyValuePredicate | OrPredicate | NotPredicate | AlwaysPredicate | AndPredicate;
|
|
13
13
|
export declare namespace Predicate {
|
|
14
14
|
function fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): Predicate;
|
|
15
15
|
}
|
|
@@ -8,11 +8,11 @@ export var Predicate;
|
|
|
8
8
|
(function (Predicate) {
|
|
9
9
|
function fromJSON(json, ignoreUnknownKeys = false, path = ['Predicate']) {
|
|
10
10
|
switch (json.$ktClass) {
|
|
11
|
-
case 'com.icure.cardinal.sdk.model.filter.predicate.NotPredicate': return NotPredicate.fromJSON(json, ignoreUnknownKeys);
|
|
12
|
-
case 'com.icure.cardinal.sdk.model.filter.predicate.AndPredicate': return AndPredicate.fromJSON(json, ignoreUnknownKeys);
|
|
13
|
-
case 'com.icure.cardinal.sdk.model.filter.predicate.OrPredicate': return OrPredicate.fromJSON(json, ignoreUnknownKeys);
|
|
14
11
|
case 'com.icure.cardinal.sdk.model.filter.predicate.KeyValuePredicate': return KeyValuePredicate.fromJSON(json, ignoreUnknownKeys);
|
|
12
|
+
case 'com.icure.cardinal.sdk.model.filter.predicate.OrPredicate': return OrPredicate.fromJSON(json, ignoreUnknownKeys);
|
|
13
|
+
case 'com.icure.cardinal.sdk.model.filter.predicate.NotPredicate': return NotPredicate.fromJSON(json, ignoreUnknownKeys);
|
|
15
14
|
case 'com.icure.cardinal.sdk.model.filter.predicate.AlwaysPredicate': return AlwaysPredicate.fromJSON(json, ignoreUnknownKeys);
|
|
15
|
+
case 'com.icure.cardinal.sdk.model.filter.predicate.AndPredicate': return AndPredicate.fromJSON(json, ignoreUnknownKeys);
|
|
16
16
|
default: throw new Error('Unexpected discriminator for Predicate: ' + json.$ktClass);
|
|
17
17
|
}
|
|
18
18
|
}
|