@icure/cardinal-sdk 3.0.0-PREVIEW.7 → 3.0.0-PREVIEW.8

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 (112) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
  2. package/api/AccessLogApi.d.mts +11 -0
  3. package/api/AccessLogBasicApi.d.mts +11 -0
  4. package/api/AccessLogBasicInGroupApi.d.mts +6 -0
  5. package/api/AccessLogInGroupApi.d.mts +33 -1
  6. package/api/ApplicationSettingsApi.d.mts +6 -0
  7. package/api/ApplicationSettingsApi.mjs +1 -0
  8. package/api/CalendarItemApi.d.mts +11 -0
  9. package/api/CalendarItemBasicApi.d.mts +11 -0
  10. package/api/CalendarItemBasicInGroupApi.d.mts +6 -0
  11. package/api/CalendarItemInGroupApi.d.mts +6 -0
  12. package/api/ContactApi.d.mts +22 -0
  13. package/api/ContactBasicApi.d.mts +22 -0
  14. package/api/ContactBasicInGroupApi.d.mts +11 -0
  15. package/api/ContactInGroupApi.d.mts +11 -0
  16. package/api/DocumentApi.d.mts +11 -0
  17. package/api/DocumentBasicApi.d.mts +11 -0
  18. package/api/DocumentBasicInGroupApi.d.mts +6 -0
  19. package/api/DocumentInGroupApi.d.mts +6 -0
  20. package/api/DocumentTemplateApi.d.mts +22 -0
  21. package/api/DocumentTemplateApi.mjs +1 -0
  22. package/api/EntityReferenceApi.d.mts +5 -0
  23. package/api/EntityReferenceApi.mjs +1 -0
  24. package/api/EntityTemplateApi.d.mts +24 -0
  25. package/api/EntityTemplateApi.mjs +1 -0
  26. package/api/FormApi.d.mts +11 -0
  27. package/api/FormBasicApi.d.mts +11 -0
  28. package/api/FormBasicInGroupApi.d.mts +6 -0
  29. package/api/FormInGroupApi.d.mts +6 -0
  30. package/api/HealthElementApi.d.mts +11 -0
  31. package/api/HealthElementBasicApi.d.mts +11 -0
  32. package/api/HealthElementBasicInGroupApi.d.mts +6 -0
  33. package/api/HealthElementInGroupApi.d.mts +6 -0
  34. package/api/InvoiceApi.d.mts +11 -0
  35. package/api/InvoiceBasicApi.d.mts +11 -0
  36. package/api/InvoiceBasicInGroupApi.d.mts +6 -0
  37. package/api/InvoiceInGroupApi.d.mts +6 -0
  38. package/api/KeywordApi.d.mts +14 -0
  39. package/api/KeywordApi.mjs +1 -0
  40. package/api/MedicalLocationApi.d.mts +17 -0
  41. package/api/MedicalLocationApi.mjs +1 -0
  42. package/api/MessageApi.d.mts +11 -0
  43. package/api/MessageBasicApi.d.mts +11 -0
  44. package/api/MessageBasicInGroupApi.d.mts +6 -0
  45. package/api/MessageInGroupApi.d.mts +6 -0
  46. package/api/ReceiptApi.d.mts +11 -0
  47. package/api/ReceiptBasicApi.d.mts +11 -0
  48. package/api/ReceiptBasicInGroupApi.d.mts +6 -0
  49. package/api/ReceiptInGroupApi.d.mts +6 -0
  50. package/api/RelatedPersonApi.d.mts +11 -0
  51. package/api/RelatedPersonBasicApi.d.mts +11 -0
  52. package/api/RelatedPersonBasicInGroupApi.d.mts +6 -0
  53. package/api/RelatedPersonInGroupApi.d.mts +6 -0
  54. package/api/TarificationApi.d.mts +27 -0
  55. package/api/TarificationApi.mjs +1 -0
  56. package/api/TimeTableApi.d.mts +26 -0
  57. package/api/TimeTableApi.mjs +1 -0
  58. package/api/TopicApi.d.mts +11 -0
  59. package/api/TopicBasicApi.d.mts +11 -0
  60. package/api/TopicBasicInGroupApi.d.mts +6 -0
  61. package/api/TopicInGroupApi.d.mts +6 -0
  62. package/cardinal-sdk-ts.mjs +47824 -44170
  63. package/cardinal-sdk.mjs +77922 -77616
  64. package/crypto/entities/DelegateShareOptions.d.mts +9 -0
  65. package/crypto/entities/DelegateShareOptions.mjs +8 -0
  66. package/crypto/entities/ShareAllPatientDataOptions.d.mts +49 -0
  67. package/crypto/entities/ShareAllPatientDataOptions.mjs +58 -0
  68. package/filters/ClassificationFilters.d.mts +114 -0
  69. package/filters/ClassificationFilters.mjs +8 -0
  70. package/filters/MedicalLocationFilters.d.mts +8 -0
  71. package/filters/MedicalLocationFilters.mjs +6 -0
  72. package/filters/TimeTableFilters.d.mts +12 -0
  73. package/filters/TimeTableFilters.mjs +6 -0
  74. package/kotlin-kotlin-stdlib.mjs +4 -4
  75. package/kotlinx-coroutines-core.mjs +1 -1
  76. package/model/ApplicationSettings.d.mts +87 -0
  77. package/model/ApplicationSettings.mjs +256 -0
  78. package/model/DocumentTemplate.d.mts +35 -0
  79. package/model/DocumentTemplate.mjs +162 -0
  80. package/model/EntityReference.d.mts +10 -0
  81. package/model/EntityReference.mjs +46 -0
  82. package/model/EntityTemplate.d.mts +16 -0
  83. package/model/EntityTemplate.mjs +81 -0
  84. package/model/Keyword.d.mts +23 -0
  85. package/model/Keyword.mjs +99 -0
  86. package/model/ListOfIds.d.mts +6 -0
  87. package/model/ListOfIds.mjs +28 -0
  88. package/model/MedicalLocation.d.mts +28 -0
  89. package/model/MedicalLocation.mjs +116 -0
  90. package/model/Tarification.d.mts +50 -0
  91. package/model/Tarification.mjs +178 -0
  92. package/model/TimeTable.d.mts +25 -0
  93. package/model/TimeTable.mjs +111 -0
  94. package/model/base/AppendixType.d.mts +5 -0
  95. package/model/base/AppendixType.mjs +7 -0
  96. package/model/base/CodeFlag.d.mts +80 -0
  97. package/model/base/CodeFlag.mjs +82 -0
  98. package/model/base/ReportVersion.d.mts +3 -0
  99. package/model/base/ReportVersion.mjs +5 -0
  100. package/model/embed/KeywordSubword.d.mts +8 -0
  101. package/model/embed/KeywordSubword.mjs +35 -0
  102. package/model/embed/LetterValue.d.mts +9 -0
  103. package/model/embed/LetterValue.mjs +47 -0
  104. package/model/embed/Periodicity.d.mts +8 -0
  105. package/model/embed/Periodicity.mjs +36 -0
  106. package/model/embed/TimeTableHour.d.mts +7 -0
  107. package/model/embed/TimeTableHour.mjs +35 -0
  108. package/model/embed/TimeTableItem.d.mts +19 -0
  109. package/model/embed/TimeTableItem.mjs +96 -0
  110. package/model/embed/Valorisation.d.mts +56 -0
  111. package/model/embed/Valorisation.mjs +188 -0
  112. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import { RequestedPermission } from '../../model/requests/RequestedPermission.mjs';
2
+ import { HexString } from '../../model/specializations/HexString.mjs';
3
+ export declare class DelegateShareOptions {
4
+ shareSecretIds: Array<string>;
5
+ shareEncryptionKeys: Array<HexString>;
6
+ shareOwningEntityIds: Array<string>;
7
+ requestedPermissions: RequestedPermission;
8
+ constructor(partial: Partial<DelegateShareOptions> & Pick<DelegateShareOptions, "shareSecretIds" | "shareEncryptionKeys" | "shareOwningEntityIds" | "requestedPermissions">);
9
+ }
@@ -0,0 +1,8 @@
1
+ export class DelegateShareOptions {
2
+ constructor(partial) {
3
+ this.shareSecretIds = partial.shareSecretIds;
4
+ this.shareEncryptionKeys = partial.shareEncryptionKeys;
5
+ this.shareOwningEntityIds = partial.shareOwningEntityIds;
6
+ this.requestedPermissions = partial.requestedPermissions;
7
+ }
8
+ }
@@ -0,0 +1,49 @@
1
+ import { EncryptedPatient } from '../../model/Patient.mjs';
2
+ import { FailedRequestDetails } from './FailedRequestDetails.mjs';
3
+ import { ShareAllPatientDataOptions as ShareAllPatientDataOptions_ } from './ShareAllPatientDataOptions.mjs';
4
+ export declare namespace ShareAllPatientDataOptions {
5
+ /**
6
+ *
7
+ * Specifies which entities related to a Patient will be shared by [PatientApi.shareAllDataOfPatient].
8
+ */
9
+ enum Tag {
10
+ All = "All",
11
+ MedicalInformation = "MedicalInformation",
12
+ FinancialInformation = "FinancialInformation"
13
+ }
14
+ enum ShareableEntity {
15
+ CalendarItem = "CalendarItem",
16
+ Contact = "Contact",
17
+ Classification = "Classification",
18
+ Document = "Document",
19
+ Form = "Form",
20
+ HealthElement = "HealthElement",
21
+ Invoice = "Invoice",
22
+ Patient = "Patient"
23
+ }
24
+ class EntityResult {
25
+ success: boolean | undefined;
26
+ error: ShareAllPatientDataOptions_.SharePatientDataError | undefined;
27
+ modified: number;
28
+ constructor(partial: Partial<EntityResult> & Pick<EntityResult, "modified">);
29
+ }
30
+ class Result {
31
+ patient: EncryptedPatient;
32
+ statuses: {
33
+ [key in ShareAllPatientDataOptions_.ShareableEntity]?: ShareAllPatientDataOptions_.EntityResult;
34
+ };
35
+ constructor(partial: Partial<Result> & Pick<Result, "patient" | "statuses">);
36
+ }
37
+ type SharePatientDataError = BulkShareFailure | FailedRequest;
38
+ class BulkShareFailure {
39
+ errors: Array<FailedRequestDetails>;
40
+ message: string;
41
+ readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.ShareAllPatientDataOptions.BulkShareFailure';
42
+ constructor(partial: Partial<BulkShareFailure> & Pick<BulkShareFailure, "errors" | "message">);
43
+ }
44
+ class FailedRequest {
45
+ description: string;
46
+ readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.ShareAllPatientDataOptions.FailedRequest';
47
+ constructor(partial: Partial<FailedRequest> & Pick<FailedRequest, "description">);
48
+ }
49
+ }
@@ -0,0 +1,58 @@
1
+ export var ShareAllPatientDataOptions;
2
+ (function (ShareAllPatientDataOptions) {
3
+ /**
4
+ *
5
+ * Specifies which entities related to a Patient will be shared by [PatientApi.shareAllDataOfPatient].
6
+ */
7
+ let Tag;
8
+ (function (Tag) {
9
+ Tag["All"] = "All";
10
+ Tag["MedicalInformation"] = "MedicalInformation";
11
+ Tag["FinancialInformation"] = "FinancialInformation";
12
+ })(Tag = ShareAllPatientDataOptions.Tag || (ShareAllPatientDataOptions.Tag = {}));
13
+ let ShareableEntity;
14
+ (function (ShareableEntity) {
15
+ ShareableEntity["CalendarItem"] = "CalendarItem";
16
+ ShareableEntity["Contact"] = "Contact";
17
+ ShareableEntity["Classification"] = "Classification";
18
+ ShareableEntity["Document"] = "Document";
19
+ ShareableEntity["Form"] = "Form";
20
+ ShareableEntity["HealthElement"] = "HealthElement";
21
+ ShareableEntity["Invoice"] = "Invoice";
22
+ ShareableEntity["Patient"] = "Patient";
23
+ })(ShareableEntity = ShareAllPatientDataOptions.ShareableEntity || (ShareAllPatientDataOptions.ShareableEntity = {}));
24
+ class EntityResult {
25
+ constructor(partial) {
26
+ this.success = undefined;
27
+ this.error = undefined;
28
+ if ('success' in partial)
29
+ this.success = partial.success;
30
+ if ('error' in partial)
31
+ this.error = partial.error;
32
+ this.modified = partial.modified;
33
+ }
34
+ }
35
+ ShareAllPatientDataOptions.EntityResult = EntityResult;
36
+ class Result {
37
+ constructor(partial) {
38
+ this.patient = partial.patient;
39
+ this.statuses = partial.statuses;
40
+ }
41
+ }
42
+ ShareAllPatientDataOptions.Result = Result;
43
+ class BulkShareFailure {
44
+ constructor(partial) {
45
+ this.$ktClass = 'com.icure.cardinal.sdk.crypto.entities.ShareAllPatientDataOptions.BulkShareFailure';
46
+ this.errors = partial.errors;
47
+ this.message = partial.message;
48
+ }
49
+ }
50
+ ShareAllPatientDataOptions.BulkShareFailure = BulkShareFailure;
51
+ class FailedRequest {
52
+ constructor(partial) {
53
+ this.$ktClass = 'com.icure.cardinal.sdk.crypto.entities.ShareAllPatientDataOptions.FailedRequest';
54
+ this.description = partial.description;
55
+ }
56
+ }
57
+ ShareAllPatientDataOptions.FailedRequest = FailedRequest;
58
+ })(ShareAllPatientDataOptions || (ShareAllPatientDataOptions = {}));
@@ -0,0 +1,114 @@
1
+ import { BaseSortableFilterOptions, SortableFilterOptions } from '../cardinal-sdk-ts.mjs';
2
+ import { Classification } from '../model/Classification.mjs';
3
+ import { Patient } from '../model/Patient.mjs';
4
+ interface ClassificationFiltersFactory {
5
+ /**
6
+ *
7
+ * Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with a specific data owner
8
+ * that are linked with one of the provided patients.
9
+ * This Options also allows to restrict the classifications based on [Classification.created]:
10
+ * - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
11
+ * - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
12
+ *
13
+ * When using these options the sdk will automatically extract the secret ids from the provided patients and use
14
+ * those for filtering.
15
+ * If you already have the secret ids of the patient you may instead use [byPatientSecretIdsCreatedForDataOwner].
16
+ * If the current data owner does not have access to any secret id of one of the provide patients the patient will
17
+ * simply be ignored.
18
+ * Note that these may not be used in methods of apis from [CardinalBaseApis].
19
+ *
20
+ * These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
21
+ * descending order according to the value of the [descending] parameter.
22
+ *
23
+ * @param dataOwnerId a data owner id
24
+ * @param patients a list of patients.
25
+ * @param from the minimum timestamp for [Classification.created] (default: no limit).
26
+ * @param to the maximum timestamp for [Classification.created] (default: no limit).
27
+ * @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
28
+ */
29
+ byPatientsCreatedForDataOwner(dataOwnerId: string, patients: Array<Patient>, options?: {
30
+ from?: number | undefined;
31
+ to?: number | undefined;
32
+ descending?: boolean;
33
+ }): SortableFilterOptions<Classification>;
34
+ /**
35
+ *
36
+ * Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with the current data owner
37
+ * that are linked with one of the provided patients.
38
+ * This Options also allows to restrict the classifications based on [Classification.created]:
39
+ * - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
40
+ * - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
41
+ *
42
+ * When using these options the sdk will automatically extract the secret ids from the provided patients and use
43
+ * those for filtering.
44
+ * If you already have the secret ids of the patient you may instead use [byPatientSecretIdsCreatedForSelf].
45
+ * If the current data owner does not have access to any secret id of one of the provide patients the patient will
46
+ * simply be ignored.
47
+ * Note that these may not be used in methods of apis from [CardinalBaseApis].
48
+ *
49
+ * These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
50
+ * descending order according to the value of the [descending] parameter.
51
+ *
52
+ * @param patients a list of patients.
53
+ * @param from the minimum timestamp for [Classification.created] (default: no limit).
54
+ * @param to the maximum timestamp for [Classification.created] (default: no limit).
55
+ * @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
56
+ */
57
+ byPatientsCreatedForSelf(patients: Array<Patient>, options?: {
58
+ from?: number | undefined;
59
+ to?: number | undefined;
60
+ descending?: boolean;
61
+ }): SortableFilterOptions<Classification>;
62
+ /**
63
+ *
64
+ * Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with a specific data owner
65
+ * that are linked with one of the provided patients through one of the provided secret ids.
66
+ * This Options also allows to restrict the classifications based on [Classification.created]:
67
+ * - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
68
+ * - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
69
+ *
70
+ * If the current data owner does not have access to any secret id of one of the provide patients the patient will
71
+ * simply be ignored.
72
+ *
73
+ * These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
74
+ * descending order according to the value of the [descending] parameter.
75
+ *
76
+ * @param dataOwnerId a data owner id.
77
+ * @param secretIds a list of secret ids from one or more patients.
78
+ * @param from the minimum timestamp for [Classification.created] (default: no limit).
79
+ * @param to the maximum timestamp for [Classification.created] (default: no limit).
80
+ * @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
81
+ */
82
+ byPatientSecretIdsCreatedForDataOwner(dataOwnerId: string, secretIds: Array<string>, options?: {
83
+ from?: number | undefined;
84
+ to?: number | undefined;
85
+ descending?: boolean;
86
+ }): BaseSortableFilterOptions<Classification>;
87
+ /**
88
+ *
89
+ * Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with the current data owner
90
+ * that are linked with one of the provided patients through one of the provided secret ids.
91
+ * This Options also allows to restrict the classifications based on [Classification.created]:
92
+ * - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
93
+ * - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
94
+ *
95
+ * If the current data owner does not have access to any secret id of one of the provide patients the patient will
96
+ * simply be ignored.
97
+ * Note that these may not be used in methods of apis from [CardinalBaseApis].
98
+ *
99
+ * These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
100
+ * descending order according to the value of the [descending] parameter.
101
+ *
102
+ * @param secretIds a list of secret ids from one or more patients.
103
+ * @param from the minimum timestamp for [Classification.created] (default: no limit).
104
+ * @param to the maximum timestamp for [Classification.created] (default: no limit).
105
+ * @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
106
+ */
107
+ byPatientSecretIdsCreatedForSelf(secretIds: Array<string>, options?: {
108
+ from?: number | undefined;
109
+ to?: number | undefined;
110
+ descending?: boolean;
111
+ }): SortableFilterOptions<Classification>;
112
+ }
113
+ export declare const ClassificationFilters: ClassificationFiltersFactory;
114
+ export {};
@@ -0,0 +1,8 @@
1
+ // auto-generated file
2
+ import { InternalClassificationFiltersObj } from '../cardinal-sdk-ts.mjs';
3
+ export const ClassificationFilters = {
4
+ byPatientsCreatedForDataOwner: (dataOwnerId, patients, options) => InternalClassificationFiltersObj.getInstance().byPatientsCreatedForDataOwner(dataOwnerId, patients, options),
5
+ byPatientsCreatedForSelf: (patients, options) => InternalClassificationFiltersObj.getInstance().byPatientsCreatedForSelf(patients, options),
6
+ byPatientSecretIdsCreatedForDataOwner: (dataOwnerId, secretIds, options) => InternalClassificationFiltersObj.getInstance().byPatientSecretIdsCreatedForDataOwner(dataOwnerId, secretIds, options),
7
+ byPatientSecretIdsCreatedForSelf: (secretIds, options) => InternalClassificationFiltersObj.getInstance().byPatientSecretIdsCreatedForSelf(secretIds, options)
8
+ };
@@ -0,0 +1,8 @@
1
+ import { BaseFilterOptions } from '../cardinal-sdk-ts.mjs';
2
+ import { MedicalLocation } from '../model/MedicalLocation.mjs';
3
+ interface MedicalLocationFiltersFactory {
4
+ all(): BaseFilterOptions<MedicalLocation>;
5
+ byPostCode(postCode: string): BaseFilterOptions<MedicalLocation>;
6
+ }
7
+ export declare const MedicalLocationFilters: MedicalLocationFiltersFactory;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ // auto-generated file
2
+ import { InternalMedicalLocationFiltersObj } from '../cardinal-sdk-ts.mjs';
3
+ export const MedicalLocationFilters = {
4
+ all: () => InternalMedicalLocationFiltersObj.getInstance().all(),
5
+ byPostCode: (postCode) => InternalMedicalLocationFiltersObj.getInstance().byPostCode(postCode)
6
+ };
@@ -0,0 +1,12 @@
1
+ import { BaseFilterOptions, BaseSortableFilterOptions } from '../cardinal-sdk-ts.mjs';
2
+ import { TimeTable } from '../model/TimeTable.mjs';
3
+ interface TimeTableFiltersFactory {
4
+ byAgendaId(agendaId: string): BaseFilterOptions<TimeTable>;
5
+ byPeriodAndAgendaId(agendaId: string, options?: {
6
+ from?: number | undefined;
7
+ to?: number | undefined;
8
+ descending?: boolean;
9
+ }): BaseSortableFilterOptions<TimeTable>;
10
+ }
11
+ export declare const TimeTableFilters: TimeTableFiltersFactory;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ // auto-generated file
2
+ import { InternalTimeTableFiltersObj } from '../cardinal-sdk-ts.mjs';
3
+ export const TimeTableFilters = {
4
+ byAgendaId: (agendaId) => InternalTimeTableFiltersObj.getInstance().byAgendaId(agendaId),
5
+ byPeriodAndAgendaId: (agendaId, options) => InternalTimeTableFiltersObj.getInstance().byPeriodAndAgendaId(agendaId, options)
6
+ };
@@ -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(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
97
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
96
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
97
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, 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]);
@@ -0,0 +1,87 @@
1
+ import { CodeStub } from './base/CodeStub.mjs';
2
+ import { HasEncryptionMetadata } from './base/HasEncryptionMetadata.mjs';
3
+ import { HasEndOfLife } from './base/HasEndOfLife.mjs';
4
+ import { ICureDocument } from './base/ICureDocument.mjs';
5
+ import { StoredDocument } from './base/StoredDocument.mjs';
6
+ import { Delegation } from './embed/Delegation.mjs';
7
+ import { Encryptable } from './embed/Encryptable.mjs';
8
+ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
9
+ import { Base64String } from './specializations/Base64String.mjs';
10
+ export interface ApplicationSettings extends StoredDocument, ICureDocument<string>, HasEncryptionMetadata, Encryptable, HasEndOfLife {
11
+ settings: {
12
+ [key: string]: string;
13
+ };
14
+ encryptedSettings: {
15
+ [key: string]: string;
16
+ };
17
+ readonly isEncrypted: boolean;
18
+ toJSON(): object;
19
+ }
20
+ export declare class DecryptedApplicationSettings {
21
+ id: string;
22
+ rev: string | undefined;
23
+ created: number | undefined;
24
+ modified: number | undefined;
25
+ author: string | undefined;
26
+ responsible: string | undefined;
27
+ tags: Array<CodeStub>;
28
+ codes: Array<CodeStub>;
29
+ endOfLife: number | undefined;
30
+ deletionDate: number | undefined;
31
+ settings: {
32
+ [key: string]: string;
33
+ };
34
+ encryptedSettings: {
35
+ [key: string]: string;
36
+ };
37
+ secretForeignKeys: Array<string>;
38
+ cryptedForeignKeys: {
39
+ [key: string]: Array<Delegation>;
40
+ };
41
+ delegations: {
42
+ [key: string]: Array<Delegation>;
43
+ };
44
+ encryptionKeys: {
45
+ [key: string]: Array<Delegation>;
46
+ };
47
+ securityMetadata: SecurityMetadata | undefined;
48
+ encryptedSelf: Base64String | undefined;
49
+ readonly isEncrypted: false;
50
+ constructor(partial: Partial<DecryptedApplicationSettings>);
51
+ toJSON(): object;
52
+ static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): DecryptedApplicationSettings;
53
+ }
54
+ export declare class EncryptedApplicationSettings {
55
+ id: string;
56
+ rev: string | undefined;
57
+ created: number | undefined;
58
+ modified: number | undefined;
59
+ author: string | undefined;
60
+ responsible: string | undefined;
61
+ tags: Array<CodeStub>;
62
+ codes: Array<CodeStub>;
63
+ endOfLife: number | undefined;
64
+ deletionDate: number | undefined;
65
+ settings: {
66
+ [key: string]: string;
67
+ };
68
+ encryptedSettings: {
69
+ [key: string]: string;
70
+ };
71
+ secretForeignKeys: Array<string>;
72
+ cryptedForeignKeys: {
73
+ [key: string]: Array<Delegation>;
74
+ };
75
+ delegations: {
76
+ [key: string]: Array<Delegation>;
77
+ };
78
+ encryptionKeys: {
79
+ [key: string]: Array<Delegation>;
80
+ };
81
+ securityMetadata: SecurityMetadata | undefined;
82
+ encryptedSelf: Base64String | undefined;
83
+ readonly isEncrypted: true;
84
+ constructor(partial: Partial<EncryptedApplicationSettings>);
85
+ toJSON(): object;
86
+ static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): EncryptedApplicationSettings;
87
+ }