@icure/cardinal-sdk 2.13.3 → 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/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/CalendarItemDelegateOptions.mjs';
12
- export * from './crypto/entities/InvoiceShareOptions.mjs';
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/DelegateShareOptions.mjs';
8
+ export * from './crypto/entities/MessageShareOptions.mjs';
15
9
  export * from './crypto/entities/PatientShareOptions.mjs';
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';
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/ContactShareOptions.mjs';
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/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';
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/AccessLogDelegateOptions.mjs';
37
- export * from './crypto/entities/ShamirUpdateRequest.mjs';
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/FailedRequestDetails.mjs';
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/CalendarItemDelegateOptions.mjs';
12
- export * from './crypto/entities/InvoiceShareOptions.mjs';
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/DelegateShareOptions.mjs';
8
+ export * from './crypto/entities/MessageShareOptions.mjs';
15
9
  export * from './crypto/entities/PatientShareOptions.mjs';
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';
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/ContactShareOptions.mjs';
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/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';
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/AccessLogDelegateOptions.mjs';
37
- export * from './crypto/entities/ShamirUpdateRequest.mjs';
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/FailedRequestDetails.mjs';
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/DeviceFilters.mjs';
9
- export * from './filters/AgendaFilters.mjs';
10
- export * from './filters/CodeFilters.mjs';
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/UserFilters.mjs';
6
+ export * from './filters/GroupFilters.mjs';
7
+ export * from './filters/RelatedPersonFilters.mjs';
13
8
  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';
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/GroupFilters.mjs';
21
- export * from './filters/RelatedPersonFilters.mjs';
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/DeviceFilters.mjs';
9
- export * from './filters/AgendaFilters.mjs';
10
- export * from './filters/CodeFilters.mjs';
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/UserFilters.mjs';
6
+ export * from './filters/GroupFilters.mjs';
7
+ export * from './filters/RelatedPersonFilters.mjs';
13
8
  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';
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/GroupFilters.mjs';
21
- export * from './filters/RelatedPersonFilters.mjs';
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';
@@ -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, MutableIterable, Collection]);
97
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
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, [MutableIterable, Collection]);
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, [MutableIterable, Collection]);
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);
@@ -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, SelectInstance, Waiter], [0, 2]);
297
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [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]);
@@ -834,6 +834,17 @@ function get_jsonObject(_this__u8e3s4) {
834
834
  }
835
835
  return tmp;
836
836
  }
837
+ function get_jsonArray(_this__u8e3s4) {
838
+ _init_properties_JsonElement_kt__7cbdc2();
839
+ var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonArray ? _this__u8e3s4 : null;
840
+ var tmp;
841
+ if (tmp0_elvis_lhs == null) {
842
+ error(_this__u8e3s4, 'JsonArray');
843
+ } else {
844
+ tmp = tmp0_elvis_lhs;
845
+ }
846
+ return tmp;
847
+ }
837
848
  var properties_initialized_JsonElement_kt_abxy8s;
838
849
  function _init_properties_JsonElement_kt__7cbdc2() {
839
850
  if (!properties_initialized_JsonElement_kt_abxy8s) {
@@ -6737,6 +6748,7 @@ export {
6737
6748
  decodeFromDynamic as decodeFromDynamic3axi482yesc93,
6738
6749
  get_doubleOrNull as get_doubleOrNull2fo14gjg922um,
6739
6750
  encodeToDynamic as encodeToDynamicsae9c2u7066d,
6751
+ get_jsonArray as get_jsonArray18sglwhl4pclz,
6740
6752
  get_jsonObject as get_jsonObject2u4z2ch1uuca9,
6741
6753
  get_jsonPrimitive as get_jsonPrimitivez17tyd5rw1ql,
6742
6754
  get_longOrNull as get_longOrNull1kg1ha9scz5pa,
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 = DatePicker | MeasureField | DateTimePicker | TextField | CheckBox | DropdownField | NumberField | TimePicker | RadioButton | MultipleChoice;
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 = NotPredicate | AndPredicate | OrPredicate | KeyValuePredicate | AlwaysPredicate;
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
  }