@icure/cardinal-sdk 2.10.2 → 2.11.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.
Files changed (67) hide show
  1. package/api/AccessLogApi.d.mts +26 -1
  2. package/api/AccessLogInGroupApi.d.mts +16 -1
  3. package/api/CalendarItemApi.d.mts +25 -0
  4. package/api/CalendarItemInGroupApi.d.mts +12 -0
  5. package/api/ContactApi.d.mts +23 -0
  6. package/api/ContactInGroupApi.d.mts +13 -0
  7. package/api/DocumentApi.d.mts +64 -1
  8. package/api/DocumentInGroupApi.d.mts +33 -0
  9. package/api/FormApi.d.mts +25 -2
  10. package/api/FormInGroupApi.d.mts +13 -0
  11. package/api/HealthElementApi.d.mts +24 -1
  12. package/api/HealthElementInGroupApi.d.mts +13 -0
  13. package/api/InvoiceApi.d.mts +24 -1
  14. package/api/InvoiceBasicApi.d.mts +1 -1
  15. package/api/InvoiceInGroupApi.d.mts +13 -0
  16. package/api/MessageApi.d.mts +24 -1
  17. package/api/MessageInGroupApi.d.mts +13 -0
  18. package/api/PatientApi.d.mts +20 -0
  19. package/api/PatientInGroupApi.d.mts +12 -0
  20. package/api/ReceiptApi.d.mts +23 -0
  21. package/api/ReceiptBasicApi.d.mts +15 -0
  22. package/api/ReceiptBasicInGroupApi.d.mts +14 -0
  23. package/api/ReceiptFlavouredApi.d.mts +15 -0
  24. package/api/ReceiptFlavouredInGroupApi.d.mts +9 -0
  25. package/api/ReceiptInGroupApi.d.mts +26 -0
  26. package/api/TopicApi.d.mts +23 -0
  27. package/api/TopicInGroupApi.d.mts +13 -0
  28. package/api/UserApi.d.mts +10 -0
  29. package/cardinal-sdk-ts.d.mts +0 -19
  30. package/cardinal-sdk-ts.mjs +44169 -40027
  31. package/cardinal-sdk.mjs +104895 -100890
  32. package/crypto/entities/AccessLogDelegateOptions.d.mts +12 -0
  33. package/crypto/entities/AccessLogDelegateOptions.mjs +18 -0
  34. package/crypto/entities/CalendarItemDelegateOptions.d.mts +12 -0
  35. package/crypto/entities/CalendarItemDelegateOptions.mjs +18 -0
  36. package/crypto/entities/ContactDelegateOptions.d.mts +12 -0
  37. package/crypto/entities/ContactDelegateOptions.mjs +18 -0
  38. package/crypto/entities/DocumentDelegateOptions.d.mts +12 -0
  39. package/crypto/entities/DocumentDelegateOptions.mjs +18 -0
  40. package/crypto/entities/FormDelegateOptions.d.mts +12 -0
  41. package/crypto/entities/FormDelegateOptions.mjs +18 -0
  42. package/crypto/entities/HealthElementDelegateOptions.d.mts +12 -0
  43. package/crypto/entities/HealthElementDelegateOptions.mjs +18 -0
  44. package/crypto/entities/InvoiceDelegateOptions.d.mts +12 -0
  45. package/crypto/entities/InvoiceDelegateOptions.mjs +18 -0
  46. package/crypto/entities/MessageDelegateOptions.d.mts +12 -0
  47. package/crypto/entities/MessageDelegateOptions.mjs +18 -0
  48. package/crypto/entities/PatientDelegateOptions.d.mts +7 -0
  49. package/crypto/entities/PatientDelegateOptions.mjs +11 -0
  50. package/crypto/entities/ReceiptDelegateOptions.d.mts +7 -0
  51. package/crypto/entities/ReceiptDelegateOptions.mjs +11 -0
  52. package/crypto/entities/TopicDelegateOptions.d.mts +12 -0
  53. package/crypto/entities/TopicDelegateOptions.mjs +18 -0
  54. package/crypto.d.mts +11 -0
  55. package/crypto.mjs +11 -0
  56. package/filters.d.mts +0 -1
  57. package/filters.mjs +0 -1
  58. package/kotlinx-coroutines-core.mjs +7 -7
  59. package/model/base/CryptoActor.mjs +1 -1
  60. package/model/embed/form/template/Field.d.mts +1 -1
  61. package/model/embed/form/template/StructureElement.d.mts +1 -1
  62. package/model/embed/form/template/StructureElement.mjs +7 -7
  63. package/model/filter/predicate/Predicate.d.mts +1 -1
  64. package/model/filter/predicate/Predicate.mjs +3 -3
  65. package/package.json +1 -1
  66. package/filters/ClassificationFilters.d.mts +0 -114
  67. package/filters/ClassificationFilters.mjs +0 -8
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class AccessLogDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the access log should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<AccessLogDelegateOptions> & Pick<AccessLogDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class AccessLogDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the access log should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class CalendarItemDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the calendar item should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<CalendarItemDelegateOptions> & Pick<CalendarItemDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class CalendarItemDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the calendar item should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class ContactDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the contact should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<ContactDelegateOptions> & Pick<ContactDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class ContactDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the contact should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class DocumentDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the message linked to the document (if any) should be shared with the delegate
9
+ */
10
+ shareMessageId: boolean;
11
+ constructor(partial: Partial<DocumentDelegateOptions> & Pick<DocumentDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class DocumentDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the message linked to the document (if any) should be shared with the delegate
8
+ */
9
+ this.shareMessageId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('shareMessageId' in partial && partial.shareMessageId !== undefined)
16
+ this.shareMessageId = partial.shareMessageId;
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class FormDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the form should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<FormDelegateOptions> & Pick<FormDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class FormDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the form should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class HealthElementDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the health element should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<HealthElementDelegateOptions> & Pick<HealthElementDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class HealthElementDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the health element should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class InvoiceDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the invoice should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<InvoiceDelegateOptions> & Pick<InvoiceDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class InvoiceDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the invoice should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class MessageDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the message should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<MessageDelegateOptions> & Pick<MessageDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class MessageDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the message should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
@@ -0,0 +1,7 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class PatientDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ constructor(partial: Partial<PatientDelegateOptions> & Pick<PatientDelegateOptions, "accessLevel">);
7
+ }
@@ -0,0 +1,11 @@
1
+ export class PatientDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ this.accessLevel = partial.accessLevel;
6
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
7
+ this.shareEncryptionKey = partial.shareEncryptionKey;
8
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
9
+ this.shareSecretId = partial.shareSecretId;
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class ReceiptDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ constructor(partial: Partial<ReceiptDelegateOptions> & Pick<ReceiptDelegateOptions, "accessLevel">);
7
+ }
@@ -0,0 +1,11 @@
1
+ export class ReceiptDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ this.accessLevel = partial.accessLevel;
6
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
7
+ this.shareEncryptionKey = partial.shareEncryptionKey;
8
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
9
+ this.shareSecretId = partial.shareSecretId;
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ import { AccessLevel } from '../../model/embed/AccessLevel.mjs';
2
+ export declare class TopicDelegateOptions {
3
+ accessLevel: AccessLevel;
4
+ shareEncryptionKey: boolean;
5
+ shareSecretId: boolean;
6
+ /**
7
+ *
8
+ * Specifies if the id of the patient linked to the topic should be shared with the delegate
9
+ */
10
+ sharePatientId: boolean;
11
+ constructor(partial: Partial<TopicDelegateOptions> & Pick<TopicDelegateOptions, "accessLevel">);
12
+ }
@@ -0,0 +1,18 @@
1
+ export class TopicDelegateOptions {
2
+ constructor(partial) {
3
+ this.shareEncryptionKey = false;
4
+ this.shareSecretId = false;
5
+ /**
6
+ *
7
+ * Specifies if the id of the patient linked to the topic should be shared with the delegate
8
+ */
9
+ this.sharePatientId = false;
10
+ this.accessLevel = partial.accessLevel;
11
+ if ('shareEncryptionKey' in partial && partial.shareEncryptionKey !== undefined)
12
+ this.shareEncryptionKey = partial.shareEncryptionKey;
13
+ if ('shareSecretId' in partial && partial.shareSecretId !== undefined)
14
+ this.shareSecretId = partial.shareSecretId;
15
+ if ('sharePatientId' in partial && partial.sharePatientId !== undefined)
16
+ this.sharePatientId = partial.sharePatientId;
17
+ }
18
+ }
package/crypto.d.mts CHANGED
@@ -1,30 +1,41 @@
1
1
  export * from './crypto/CryptoStrategies.mjs';
2
2
  export * from './crypto/CryptoService.mjs';
3
+ export * from './crypto/entities/TopicDelegateOptions.mjs';
3
4
  export * from './crypto/entities/ContactShareOptions.mjs';
5
+ export * from './crypto/entities/InvoiceDelegateOptions.mjs';
4
6
  export * from './crypto/entities/HealthElementShareOptions.mjs';
7
+ export * from './crypto/entities/MessageDelegateOptions.mjs';
5
8
  export * from './crypto/entities/MessageShareOptions.mjs';
6
9
  export * from './crypto/entities/PatientShareOptions.mjs';
7
10
  export * from './crypto/entities/ShamirUpdateRequest.mjs';
11
+ export * from './crypto/entities/ReceiptDelegateOptions.mjs';
8
12
  export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
9
13
  export * from './crypto/entities/FormShareOptions.mjs';
10
14
  export * from './crypto/entities/ReceiptShareOptions.mjs';
11
15
  export * from './crypto/entities/TopicShareOptions.mjs';
16
+ export * from './crypto/entities/AccessLogDelegateOptions.mjs';
12
17
  export * from './crypto/entities/ShareMetadataBehaviour.mjs';
18
+ export * from './crypto/entities/ContactDelegateOptions.mjs';
13
19
  export * from './crypto/entities/AccessLogShareOptions.mjs';
14
20
  export * from './crypto/entities/ShareAllPatientDataOptions.mjs';
15
21
  export * from './crypto/entities/RawDecryptedExchangeData.mjs';
16
22
  export * from './crypto/entities/SecretIdUseOption.mjs';
17
23
  export * from './crypto/entities/RecoveryDataUseFailureReason.mjs';
18
24
  export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
25
+ export * from './crypto/entities/HealthElementDelegateOptions.mjs';
26
+ export * from './crypto/entities/CalendarItemDelegateOptions.mjs';
19
27
  export * from './crypto/entities/DelegateShareOptions.mjs';
20
28
  export * from './crypto/entities/InvoiceShareOptions.mjs';
21
29
  export * from './crypto/entities/RecoveryKeySize.mjs';
22
30
  export * from './crypto/entities/CalendarItemShareOptions.mjs';
23
31
  export * from './crypto/entities/EntityWithTypeInfo.mjs';
32
+ export * from './crypto/entities/PatientDelegateOptions.mjs';
33
+ export * from './crypto/entities/FormDelegateOptions.mjs';
24
34
  export * from './crypto/entities/SecretIdShareOptions.mjs';
25
35
  export * from './crypto/entities/EntityAccessInformation.mjs';
26
36
  export * from './crypto/entities/RecoveryResult.mjs';
27
37
  export * from './crypto/entities/RecoveryKeyOptions.mjs';
38
+ export * from './crypto/entities/DocumentDelegateOptions.mjs';
28
39
  export * from './crypto/entities/RecoveryDataKey.mjs';
29
40
  export * from './crypto/entities/MaintenanceTaskShareOptions.mjs';
30
41
  export * from './crypto/entities/FailedRequestDetails.mjs';
package/crypto.mjs CHANGED
@@ -1,30 +1,41 @@
1
1
  export * from './crypto/CryptoStrategies.mjs';
2
2
  export * from './crypto/CryptoService.mjs';
3
+ export * from './crypto/entities/TopicDelegateOptions.mjs';
3
4
  export * from './crypto/entities/ContactShareOptions.mjs';
5
+ export * from './crypto/entities/InvoiceDelegateOptions.mjs';
4
6
  export * from './crypto/entities/HealthElementShareOptions.mjs';
7
+ export * from './crypto/entities/MessageDelegateOptions.mjs';
5
8
  export * from './crypto/entities/MessageShareOptions.mjs';
6
9
  export * from './crypto/entities/PatientShareOptions.mjs';
7
10
  export * from './crypto/entities/ShamirUpdateRequest.mjs';
11
+ export * from './crypto/entities/ReceiptDelegateOptions.mjs';
8
12
  export * from './crypto/entities/EntityWithEncryptionMetadataTypeName.mjs';
9
13
  export * from './crypto/entities/FormShareOptions.mjs';
10
14
  export * from './crypto/entities/ReceiptShareOptions.mjs';
11
15
  export * from './crypto/entities/TopicShareOptions.mjs';
16
+ export * from './crypto/entities/AccessLogDelegateOptions.mjs';
12
17
  export * from './crypto/entities/ShareMetadataBehaviour.mjs';
18
+ export * from './crypto/entities/ContactDelegateOptions.mjs';
13
19
  export * from './crypto/entities/AccessLogShareOptions.mjs';
14
20
  export * from './crypto/entities/ShareAllPatientDataOptions.mjs';
15
21
  export * from './crypto/entities/RawDecryptedExchangeData.mjs';
16
22
  export * from './crypto/entities/SecretIdUseOption.mjs';
17
23
  export * from './crypto/entities/RecoveryDataUseFailureReason.mjs';
18
24
  export * from './crypto/entities/ExchangeDataInjectionDetails.mjs';
25
+ export * from './crypto/entities/HealthElementDelegateOptions.mjs';
26
+ export * from './crypto/entities/CalendarItemDelegateOptions.mjs';
19
27
  export * from './crypto/entities/DelegateShareOptions.mjs';
20
28
  export * from './crypto/entities/InvoiceShareOptions.mjs';
21
29
  export * from './crypto/entities/RecoveryKeySize.mjs';
22
30
  export * from './crypto/entities/CalendarItemShareOptions.mjs';
23
31
  export * from './crypto/entities/EntityWithTypeInfo.mjs';
32
+ export * from './crypto/entities/PatientDelegateOptions.mjs';
33
+ export * from './crypto/entities/FormDelegateOptions.mjs';
24
34
  export * from './crypto/entities/SecretIdShareOptions.mjs';
25
35
  export * from './crypto/entities/EntityAccessInformation.mjs';
26
36
  export * from './crypto/entities/RecoveryResult.mjs';
27
37
  export * from './crypto/entities/RecoveryKeyOptions.mjs';
38
+ export * from './crypto/entities/DocumentDelegateOptions.mjs';
28
39
  export * from './crypto/entities/RecoveryDataKey.mjs';
29
40
  export * from './crypto/entities/MaintenanceTaskShareOptions.mjs';
30
41
  export * from './crypto/entities/FailedRequestDetails.mjs';
package/filters.d.mts CHANGED
@@ -7,7 +7,6 @@ export * from './filters/GroupFilters.mjs';
7
7
  export * from './filters/HealthElementFilters.mjs';
8
8
  export * from './filters/DeviceFilters.mjs';
9
9
  export * from './filters/CodeFilters.mjs';
10
- export * from './filters/ClassificationFilters.mjs';
11
10
  export * from './filters/AgendaFilters.mjs';
12
11
  export * from './filters/FormFilters.mjs';
13
12
  export * from './filters/ServiceFilters.mjs';
package/filters.mjs CHANGED
@@ -7,7 +7,6 @@ export * from './filters/GroupFilters.mjs';
7
7
  export * from './filters/HealthElementFilters.mjs';
8
8
  export * from './filters/DeviceFilters.mjs';
9
9
  export * from './filters/CodeFilters.mjs';
10
- export * from './filters/ClassificationFilters.mjs';
11
10
  export * from './filters/AgendaFilters.mjs';
12
11
  export * from './filters/FormFilters.mjs';
13
12
  export * from './filters/ServiceFilters.mjs';
@@ -235,11 +235,6 @@ 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]);
243
238
  function cancel$default_0(cause, $super) {
244
239
  cause = cause === VOID ? null : cause;
245
240
  var tmp;
@@ -252,7 +247,12 @@ function cancel$default_0(cause, $super) {
252
247
  return tmp;
253
248
  }
254
249
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
255
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
250
+ function close$default(cause, $super) {
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]);
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, [SendChannel, ReceiveChannel], [1, 0]);
265
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [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]);
@@ -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.HealthcareParty': return HealthcareParty.fromJSON(json, ignoreUnknownKeys);
10
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
14
  case 'com.icure.cardinal.sdk.model.CryptoActorStub': return CryptoActorStub.fromJSON(json, ignoreUnknownKeys);
14
- case 'com.icure.cardinal.sdk.model.HealthcareParty': return HealthcareParty.fromJSON(json, ignoreUnknownKeys);
15
15
  default: throw new Error('Unexpected discriminator for CryptoActor: ' + json.$ktClass);
16
16
  }
17
17
  }
@@ -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 = TextField | MultipleChoice | TimePicker | DatePicker | RadioButton | MeasureField | DropdownField | NumberField | CheckBox | DateTimePicker;
20
+ export type Field = DropdownField | TimePicker | RadioButton | DatePicker | MeasureField | TextField | DateTimePicker | MultipleChoice | CheckBox | NumberField;
@@ -6,7 +6,7 @@ import { FieldsGroup } from './FieldsGroup.mjs';
6
6
  * groups.
7
7
  * /
8
8
  */
9
- export type StructureElement = FieldsGroup | Field;
9
+ export type StructureElement = Field | FieldsGroup;
10
10
  export declare namespace StructureElement {
11
11
  function fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): StructureElement;
12
12
  }
@@ -14,17 +14,17 @@ export var StructureElement;
14
14
  (function (StructureElement) {
15
15
  function fromJSON(json, ignoreUnknownKeys = false, path = ['StructureElement']) {
16
16
  switch (json.$ktClass) {
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.TextField': return TextField.fromJSON(json, ignoreUnknownKeys);
19
- case 'com.icure.cardinal.sdk.model.embed.form.template.MultipleChoice': return MultipleChoice.fromJSON(json, ignoreUnknownKeys);
17
+ case 'com.icure.cardinal.sdk.model.embed.form.template.DropdownField': return DropdownField.fromJSON(json, ignoreUnknownKeys);
20
18
  case 'com.icure.cardinal.sdk.model.embed.form.template.TimePicker': return TimePicker.fromJSON(json, ignoreUnknownKeys);
21
- case 'com.icure.cardinal.sdk.model.embed.form.template.DatePicker': return DatePicker.fromJSON(json, ignoreUnknownKeys);
22
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.DatePicker': return DatePicker.fromJSON(json, ignoreUnknownKeys);
23
21
  case 'com.icure.cardinal.sdk.model.embed.form.template.MeasureField': return MeasureField.fromJSON(json, ignoreUnknownKeys);
24
- case 'com.icure.cardinal.sdk.model.embed.form.template.DropdownField': return DropdownField.fromJSON(json, ignoreUnknownKeys);
25
- case 'com.icure.cardinal.sdk.model.embed.form.template.NumberField': return NumberField.fromJSON(json, ignoreUnknownKeys);
26
- case 'com.icure.cardinal.sdk.model.embed.form.template.CheckBox': return CheckBox.fromJSON(json, ignoreUnknownKeys);
22
+ case 'com.icure.cardinal.sdk.model.embed.form.template.TextField': return TextField.fromJSON(json, ignoreUnknownKeys);
27
23
  case 'com.icure.cardinal.sdk.model.embed.form.template.DateTimePicker': return DateTimePicker.fromJSON(json, ignoreUnknownKeys);
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.CheckBox': return CheckBox.fromJSON(json, ignoreUnknownKeys);
26
+ case 'com.icure.cardinal.sdk.model.embed.form.template.NumberField': return NumberField.fromJSON(json, ignoreUnknownKeys);
27
+ case 'com.icure.cardinal.sdk.model.embed.form.template.FieldsGroup': return FieldsGroup.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 = AndPredicate | OrPredicate | AlwaysPredicate | NotPredicate | KeyValuePredicate;
12
+ export type Predicate = KeyValuePredicate | AlwaysPredicate | NotPredicate | AndPredicate | OrPredicate;
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.AndPredicate': return AndPredicate.fromJSON(json, ignoreUnknownKeys);
12
- case 'com.icure.cardinal.sdk.model.filter.predicate.OrPredicate': return OrPredicate.fromJSON(json, ignoreUnknownKeys);
11
+ case 'com.icure.cardinal.sdk.model.filter.predicate.KeyValuePredicate': return KeyValuePredicate.fromJSON(json, ignoreUnknownKeys);
13
12
  case 'com.icure.cardinal.sdk.model.filter.predicate.AlwaysPredicate': return AlwaysPredicate.fromJSON(json, ignoreUnknownKeys);
14
13
  case 'com.icure.cardinal.sdk.model.filter.predicate.NotPredicate': return NotPredicate.fromJSON(json, ignoreUnknownKeys);
15
- case 'com.icure.cardinal.sdk.model.filter.predicate.KeyValuePredicate': return KeyValuePredicate.fromJSON(json, ignoreUnknownKeys);
14
+ case 'com.icure.cardinal.sdk.model.filter.predicate.AndPredicate': return AndPredicate.fromJSON(json, ignoreUnknownKeys);
15
+ case 'com.icure.cardinal.sdk.model.filter.predicate.OrPredicate': return OrPredicate.fromJSON(json, ignoreUnknownKeys);
16
16
  default: throw new Error('Unexpected discriminator for Predicate: ' + json.$ktClass);
17
17
  }
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icure/cardinal-sdk",
3
- "version": "2.10.2",
3
+ "version": "2.11.0",
4
4
  "main": "cardinal-sdk-ts.mjs",
5
5
  "types": "cardinal-sdk-ts.d.mts",
6
6
  "devDependencies": {