@icure/cardinal-sdk 3.0.0-PREVIEW-3 → 3.0.0-PREVIEW-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/api/ApplicationSettingsApi.d.mts +6 -0
- package/api/ApplicationSettingsApi.mjs +1 -0
- package/api/DocumentTemplateApi.d.mts +22 -0
- package/api/DocumentTemplateApi.mjs +1 -0
- package/api/EntityReferenceApi.d.mts +5 -0
- package/api/EntityReferenceApi.mjs +1 -0
- package/api/EntityTemplateApi.d.mts +24 -0
- package/api/EntityTemplateApi.mjs +1 -0
- package/api/KeywordApi.d.mts +14 -0
- package/api/KeywordApi.mjs +1 -0
- package/api/MedicalLocationApi.d.mts +17 -0
- package/api/MedicalLocationApi.mjs +1 -0
- package/api/TarificationApi.d.mts +27 -0
- package/api/TarificationApi.mjs +1 -0
- package/api/TimeTableApi.d.mts +26 -0
- package/api/TimeTableApi.mjs +1 -0
- package/cardinal-sdk-ts.mjs +42798 -42801
- package/cardinal-sdk.mjs +102573 -101951
- package/crypto/entities/BulkShareByIdsResult.d.mts +31 -17
- package/crypto/entities/BulkShareByIdsResult.mjs +5 -5
- package/crypto/entities/FailedRequestDetails.d.mts +13 -9
- package/crypto/entities/FailedRequestDetails.mjs +10 -7
- package/crypto/entities/SecretIdShareOptions.d.mts +4 -0
- package/crypto/entities/SecretIdShareOptions.mjs +4 -0
- package/crypto/entities/SecretIdUseOption.d.mts +5 -0
- package/crypto/entities/ShareAllPatientDataOptions.d.mts +49 -0
- package/crypto/entities/ShareAllPatientDataOptions.mjs +58 -0
- package/crypto/entities/ShareRequestPurpose.d.mts +12 -0
- package/crypto/entities/ShareRequestPurpose.mjs +14 -0
- package/crypto/entities/ShareRequestSummary.d.mts +51 -0
- package/crypto/entities/ShareRequestSummary.mjs +21 -0
- package/crypto/entities/SharedSecretIdsSource.d.mts +8 -0
- package/crypto/entities/SharedSecretIdsSource.mjs +10 -0
- package/crypto/entities/SuccessfulRequestDetails.d.mts +22 -0
- package/crypto/entities/SuccessfulRequestDetails.mjs +11 -0
- package/crypto.d.mts +4 -1
- package/crypto.mjs +4 -1
- package/filters/ClassificationFilters.d.mts +27 -0
- package/filters/ClassificationFilters.mjs +8 -0
- package/filters/MedicalLocationFilters.d.mts +8 -0
- package/filters/MedicalLocationFilters.mjs +6 -0
- package/filters/TimeTableFilters.d.mts +12 -0
- package/filters/TimeTableFilters.mjs +6 -0
- package/kotlinx-coroutines-core.mjs +1 -1
- package/model/ApplicationSettings.d.mts +87 -0
- package/model/ApplicationSettings.mjs +256 -0
- package/model/DocumentTemplate.d.mts +35 -0
- package/model/DocumentTemplate.mjs +162 -0
- package/model/EntityReference.d.mts +10 -0
- package/model/EntityReference.mjs +46 -0
- package/model/EntityTemplate.d.mts +16 -0
- package/model/EntityTemplate.mjs +81 -0
- package/model/GroupScoped.d.mts +18 -0
- package/model/Keyword.d.mts +23 -0
- package/model/Keyword.mjs +99 -0
- package/model/ListOfIds.d.mts +6 -0
- package/model/ListOfIds.mjs +28 -0
- package/model/MedicalLocation.d.mts +28 -0
- package/model/MedicalLocation.mjs +116 -0
- package/model/Tarification.d.mts +50 -0
- package/model/Tarification.mjs +178 -0
- package/model/TimeTable.d.mts +25 -0
- package/model/TimeTable.mjs +111 -0
- package/model/base/AppendixType.d.mts +5 -0
- package/model/base/AppendixType.mjs +7 -0
- package/model/base/CodeFlag.d.mts +80 -0
- package/model/base/CodeFlag.mjs +82 -0
- package/model/base/ReportVersion.d.mts +3 -0
- package/model/base/ReportVersion.mjs +5 -0
- package/model/embed/KeywordSubword.d.mts +8 -0
- package/model/embed/KeywordSubword.mjs +35 -0
- package/model/embed/LetterValue.d.mts +9 -0
- package/model/embed/LetterValue.mjs +47 -0
- package/model/embed/Periodicity.d.mts +8 -0
- package/model/embed/Periodicity.mjs +36 -0
- package/model/embed/TimeTableHour.d.mts +7 -0
- package/model/embed/TimeTableHour.mjs +35 -0
- package/model/embed/TimeTableItem.d.mts +19 -0
- package/model/embed/TimeTableItem.mjs +96 -0
- package/model/embed/Valorisation.d.mts +56 -0
- package/model/embed/Valorisation.mjs +188 -0
- package/package.json +1 -1
- package/subscription/EntitySubscriptionEvent.d.mts +3 -0
|
@@ -367,7 +367,7 @@ function addFormatStructureForDate(structure) {
|
|
|
367
367
|
function addFormatStructureForTime(structure) {
|
|
368
368
|
this.g40(structure);
|
|
369
369
|
}
|
|
370
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
370
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
371
371
|
initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
|
|
372
372
|
initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
|
|
373
373
|
function set_fractionOfSecond(value) {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EncryptedApplicationSettings } from '../model/ApplicationSettings.mjs';
|
|
2
|
+
export interface ApplicationSettingsApi {
|
|
3
|
+
getApplicationSettings(): Promise<Array<EncryptedApplicationSettings>>;
|
|
4
|
+
createApplicationSettings(applicationSettings: EncryptedApplicationSettings): Promise<EncryptedApplicationSettings>;
|
|
5
|
+
updateApplicationSettings(applicationSettings: EncryptedApplicationSettings): Promise<EncryptedApplicationSettings>;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DocumentTemplate } from '../model/DocumentTemplate.mjs';
|
|
2
|
+
import { PaginatedList } from '../model/PaginatedList.mjs';
|
|
3
|
+
import { DocIdentifier } from '../model/couchdb/DocIdentifier.mjs';
|
|
4
|
+
export interface DocumentTemplateApi {
|
|
5
|
+
getDocumentTemplate(documentTemplateId: string): Promise<DocumentTemplate | undefined>;
|
|
6
|
+
createDocumentTemplate(documentTemplate: DocumentTemplate): Promise<DocumentTemplate>;
|
|
7
|
+
modifyDocumentTemplate(documentTemplate: DocumentTemplate): Promise<DocumentTemplate>;
|
|
8
|
+
deleteDocumentTemplates(documentTemplateIds: Array<string>): Promise<Array<DocIdentifier>>;
|
|
9
|
+
listDocumentTemplatesBySpeciality(specialityCode: string): Promise<Array<DocumentTemplate>>;
|
|
10
|
+
listDocumentTemplatesByDocumentType(documentTypeCode: string): Promise<Array<DocumentTemplate>>;
|
|
11
|
+
listDocumentTemplatesByDocumentTypeForCurrentUser(documentTypeCode: string): Promise<Array<DocumentTemplate>>;
|
|
12
|
+
listDocumentTemplates(): Promise<Array<DocumentTemplate>>;
|
|
13
|
+
findAllDocumentTemplates(options?: {
|
|
14
|
+
startKey?: string | undefined;
|
|
15
|
+
startDocumentId?: string | undefined;
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
}): Promise<PaginatedList<DocumentTemplate>>;
|
|
18
|
+
getDocumentTemplateAttachment(documentTemplateId: string, attachmentId: string): Promise<Int8Array>;
|
|
19
|
+
getAttachmentText(documentTemplateId: string, attachmentId: string): Promise<Int8Array>;
|
|
20
|
+
setDocumentTemplateAttachment(documentTemplateId: string, payload: Int8Array): Promise<DocumentTemplate>;
|
|
21
|
+
getAttachmentUrl(documentId: string, attachmentId: string): string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EntityTemplate } from '../model/EntityTemplate.mjs';
|
|
2
|
+
import { StoredDocumentIdentifier } from '../model/StoredDocumentIdentifier.mjs';
|
|
3
|
+
import { DocIdentifier } from '../model/couchdb/DocIdentifier.mjs';
|
|
4
|
+
export interface EntityTemplateApi {
|
|
5
|
+
getEntityTemplate(documentTemplateId: string): Promise<EntityTemplate | undefined>;
|
|
6
|
+
createEntityTemplate(applicationSettings: EntityTemplate): Promise<EntityTemplate>;
|
|
7
|
+
modifyEntityTemplate(documentTemplate: EntityTemplate): Promise<EntityTemplate>;
|
|
8
|
+
listEntityTemplatesBy(userId: string, type: string, options?: {
|
|
9
|
+
searchString?: string | undefined;
|
|
10
|
+
includeEntities?: boolean | undefined;
|
|
11
|
+
}): Promise<Array<EntityTemplate>>;
|
|
12
|
+
listAllEntityTemplatesBy(type: string, options?: {
|
|
13
|
+
searchString?: string | undefined;
|
|
14
|
+
includeEntities?: boolean | undefined;
|
|
15
|
+
}): Promise<Array<EntityTemplate>>;
|
|
16
|
+
listEntityTemplatesByKeyword(userId: string, type: string, keyword: string, options?: {
|
|
17
|
+
includeEntities?: boolean | undefined;
|
|
18
|
+
}): Promise<Array<EntityTemplate>>;
|
|
19
|
+
findAllEntityTemplatesByKeyword(type: string, keyword: string, includeEntities: boolean | undefined): Promise<Array<EntityTemplate>>;
|
|
20
|
+
getEntityTemplates(entityTemplateIds: Array<string>): Promise<Array<EntityTemplate>>;
|
|
21
|
+
modifyEntityTemplates(entityTemplates: Array<EntityTemplate>): Promise<Array<EntityTemplate>>;
|
|
22
|
+
createEntityTemplates(entityTemplates: Array<EntityTemplate>): Promise<Array<EntityTemplate>>;
|
|
23
|
+
deleteEntityTemplates(entityTemplateIds: Array<StoredDocumentIdentifier>): Promise<Array<DocIdentifier>>;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Keyword } from '../model/Keyword.mjs';
|
|
2
|
+
import { PaginatedList } from '../model/PaginatedList.mjs';
|
|
3
|
+
import { DocIdentifier } from '../model/couchdb/DocIdentifier.mjs';
|
|
4
|
+
export interface KeywordApi {
|
|
5
|
+
getKeyword(keywordId: string): Promise<Keyword | undefined>;
|
|
6
|
+
createKeyword(keyword: Keyword): Promise<Keyword>;
|
|
7
|
+
getKeywords(options?: {
|
|
8
|
+
startDocumentId?: string | undefined;
|
|
9
|
+
limit?: number | undefined;
|
|
10
|
+
}): Promise<PaginatedList<Keyword>>;
|
|
11
|
+
modifyKeyword(keyword: Keyword): Promise<Keyword>;
|
|
12
|
+
getKeywordsByUser(userId: string): Promise<Array<Keyword>>;
|
|
13
|
+
deleteKeywords(keywordIds: Array<string>): Promise<Array<DocIdentifier>>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseFilterOptions, BaseSortableFilterOptions, PaginatedListIterator } from '../cardinal-sdk-ts.mjs';
|
|
2
|
+
import { ListOfIds } from '../model/ListOfIds.mjs';
|
|
3
|
+
import { MedicalLocation } from '../model/MedicalLocation.mjs';
|
|
4
|
+
import { PaginatedList } from '../model/PaginatedList.mjs';
|
|
5
|
+
import { DocIdentifier } from '../model/couchdb/DocIdentifier.mjs';
|
|
6
|
+
export interface MedicalLocationApi {
|
|
7
|
+
createMedicalLocation(medicalLocationDto: MedicalLocation): Promise<MedicalLocation>;
|
|
8
|
+
deleteMedicalLocations(locationIds: ListOfIds): Promise<Array<DocIdentifier>>;
|
|
9
|
+
getMedicalLocation(locationId: string): Promise<MedicalLocation | undefined>;
|
|
10
|
+
getAllMedicalLocations(startDocumentId: string | undefined, limit: number | undefined): Promise<PaginatedList<MedicalLocation>>;
|
|
11
|
+
modifyMedicalLocation(medicalLocationDto: MedicalLocation): Promise<MedicalLocation>;
|
|
12
|
+
getMedicalLocations(medicalLocationIds: Array<string>): Promise<Array<MedicalLocation>>;
|
|
13
|
+
matchMedicalLocationsBy(filter: BaseFilterOptions<MedicalLocation>): Promise<Array<string>>;
|
|
14
|
+
matchMedicalLocationsBySorted(filter: BaseSortableFilterOptions<MedicalLocation>): Promise<Array<string>>;
|
|
15
|
+
filterMedicalLocationsBy(filter: BaseFilterOptions<MedicalLocation>): Promise<PaginatedListIterator<MedicalLocation>>;
|
|
16
|
+
filterMedicalLocationsBySorted(filter: BaseSortableFilterOptions<MedicalLocation>): Promise<PaginatedListIterator<MedicalLocation>>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PaginatedList } from '../model/PaginatedList.mjs';
|
|
2
|
+
import { Tarification } from '../model/Tarification.mjs';
|
|
3
|
+
export interface TarificationApi {
|
|
4
|
+
getTarification(tarificationId: string): Promise<Tarification | undefined>;
|
|
5
|
+
createTarification(tarification: Tarification): Promise<Tarification>;
|
|
6
|
+
getTarifications(tarificationIds: Array<string>): Promise<Array<Tarification>>;
|
|
7
|
+
modifyTarification(tarification: Tarification): Promise<Tarification>;
|
|
8
|
+
findTarificationsByLabel(options?: {
|
|
9
|
+
region?: string | undefined;
|
|
10
|
+
types?: string | undefined;
|
|
11
|
+
language?: string | undefined;
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
startKey?: string | undefined;
|
|
14
|
+
startDocumentId?: string | undefined;
|
|
15
|
+
limit?: number | undefined;
|
|
16
|
+
}): Promise<PaginatedList<Tarification>>;
|
|
17
|
+
findTarificationsBy(options?: {
|
|
18
|
+
region?: string | undefined;
|
|
19
|
+
type?: string | undefined;
|
|
20
|
+
tarification?: string | undefined;
|
|
21
|
+
version?: string | undefined;
|
|
22
|
+
startDocumentId?: string | undefined;
|
|
23
|
+
startKey?: string | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
}): Promise<PaginatedList<Tarification>>;
|
|
26
|
+
getTarificationWithParts(type: string, tarification: string, version: string): Promise<Tarification>;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseFilterOptions, BaseSortableFilterOptions, PaginatedListIterator } from '../cardinal-sdk-ts.mjs';
|
|
2
|
+
import { StoredDocumentIdentifier } from '../model/StoredDocumentIdentifier.mjs';
|
|
3
|
+
import { TimeTable } from '../model/TimeTable.mjs';
|
|
4
|
+
import { DocIdentifier } from '../model/couchdb/DocIdentifier.mjs';
|
|
5
|
+
export interface TimeTableApi {
|
|
6
|
+
deleteTimeTableUnsafe(entityId: string): Promise<DocIdentifier>;
|
|
7
|
+
deleteTimeTablesUnsafe(entityIds: Array<string>): Promise<Array<DocIdentifier>>;
|
|
8
|
+
deleteTimeTableById(entityId: string, rev: string): Promise<DocIdentifier>;
|
|
9
|
+
deleteTimeTablesByIds(entityIds: Array<StoredDocumentIdentifier>): Promise<Array<DocIdentifier>>;
|
|
10
|
+
purgeTimeTableById(id: string, rev: string): Promise<void>;
|
|
11
|
+
deleteTimeTable(timeTable: TimeTable): Promise<DocIdentifier>;
|
|
12
|
+
deleteTimeTables(timeTables: Array<TimeTable>): Promise<Array<DocIdentifier>>;
|
|
13
|
+
purgeTimeTable(timeTable: TimeTable): Promise<void>;
|
|
14
|
+
undeleteTimeTable(timeTable: TimeTable): Promise<TimeTable>;
|
|
15
|
+
modifyTimeTable(entity: TimeTable): Promise<TimeTable>;
|
|
16
|
+
undeleteTimeTableById(id: string, rev: string): Promise<TimeTable>;
|
|
17
|
+
getTimeTable(entityId: string): Promise<TimeTable | undefined>;
|
|
18
|
+
getTimeTables(timeTableIds: Array<string>): Promise<Array<TimeTable>>;
|
|
19
|
+
getTimeTablesByPeriodAndAgendaId(startDate: number, endDate: number, agendaId: string): Promise<Array<TimeTable>>;
|
|
20
|
+
getTimeTablesByAgendaId(agendaId: string): Promise<Array<TimeTable>>;
|
|
21
|
+
filterTimeTablesBy(filter: BaseFilterOptions<TimeTable>): Promise<PaginatedListIterator<TimeTable>>;
|
|
22
|
+
filterTimeTablesBySorted(filter: BaseSortableFilterOptions<TimeTable>): Promise<PaginatedListIterator<TimeTable>>;
|
|
23
|
+
createTimeTable(entity: TimeTable): Promise<TimeTable>;
|
|
24
|
+
matchTimeTablesBy(filter: BaseFilterOptions<TimeTable>): Promise<Array<string>>;
|
|
25
|
+
matchTimeTablesBySorted(filter: BaseSortableFilterOptions<TimeTable>): Promise<Array<string>>;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|