@icure/cardinal-sdk 2.0.0 → 2.1.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.
- package/api/FormApi.d.mts +2 -1
- package/api/FormBasicApi.d.mts +1 -0
- package/api/FormBasicInGroupApi.d.mts +1 -0
- package/api/FormInGroupApi.d.mts +2 -1
- package/api/FormTemplateApi.d.mts +2 -0
- package/api.d.mts +0 -8
- package/api.mjs +0 -8
- package/cardinal-sdk-ts.d.mts +26 -30
- package/cardinal-sdk-ts.mjs +39547 -39094
- package/cardinal-sdk.mjs +99857 -97723
- package/filters/DocumentFilters.d.mts +18 -0
- package/filters/DocumentFilters.mjs +7 -1
- package/filters/FormTemplateFilters.d.mts +7 -0
- package/filters/FormTemplateFilters.mjs +5 -0
- package/filters/MessageFilters.d.mts +18 -0
- package/filters/MessageFilters.mjs +7 -1
- package/filters.d.mts +1 -2
- package/filters.mjs +1 -2
- package/kotlinx-coroutines-core.mjs +8 -8
- package/model/CalendarItem.d.mts +22 -0
- package/model/CalendarItem.mjs +83 -0
- package/model/Code.d.mts +1 -1
- package/model/Code.mjs +4 -5
- package/model/Device.d.mts +1 -1
- package/model/Device.mjs +4 -5
- package/model/HealthcareParty.d.mts +2 -2
- package/model/HealthcareParty.mjs +7 -9
- package/model/Message.d.mts +4 -0
- package/model/Message.mjs +11 -0
- package/model/Patient.d.mts +3 -2
- package/model/Patient.mjs +8 -10
- package/model/base/CryptoActor.mjs +4 -4
- package/model/embed/form/template/Field.d.mts +1 -1
- package/model/embed/form/template/StructureElement.mjs +5 -5
- package/model/filter/predicate/Predicate.d.mts +1 -1
- package/model/filter/predicate/Predicate.mjs +1 -1
- package/model.d.mts +0 -18
- package/model.mjs +0 -18
- package/package.json +1 -1
- package/sdk/CardinalSdk.d.mts +0 -24
- package/api/ApplicationSettingsApi.d.mts +0 -6
- package/api/ApplicationSettingsApi.mjs +0 -1
- package/api/DocumentTemplateApi.d.mts +0 -22
- package/api/DocumentTemplateApi.mjs +0 -1
- package/api/EntityReferenceApi.d.mts +0 -5
- package/api/EntityReferenceApi.mjs +0 -1
- package/api/EntityTemplateApi.d.mts +0 -24
- package/api/EntityTemplateApi.mjs +0 -1
- package/api/KeywordApi.d.mts +0 -14
- package/api/KeywordApi.mjs +0 -1
- package/api/MedicalLocationApi.d.mts +0 -17
- package/api/MedicalLocationApi.mjs +0 -1
- package/api/TarificationApi.d.mts +0 -27
- package/api/TarificationApi.mjs +0 -1
- package/api/TimeTableApi.d.mts +0 -26
- package/api/TimeTableApi.mjs +0 -1
- package/filters/MedicalLocationFilters.d.mts +0 -8
- package/filters/MedicalLocationFilters.mjs +0 -6
- package/filters/TimeTableFilters.d.mts +0 -12
- package/filters/TimeTableFilters.mjs +0 -6
- package/model/ApplicationSettings.d.mts +0 -87
- package/model/ApplicationSettings.mjs +0 -256
- package/model/DocumentTemplate.d.mts +0 -35
- package/model/DocumentTemplate.mjs +0 -162
- package/model/EntityReference.d.mts +0 -10
- package/model/EntityReference.mjs +0 -46
- package/model/EntityTemplate.d.mts +0 -16
- package/model/EntityTemplate.mjs +0 -81
- package/model/Keyword.d.mts +0 -23
- package/model/Keyword.mjs +0 -99
- package/model/ListOfIds.d.mts +0 -6
- package/model/ListOfIds.mjs +0 -28
- package/model/MedicalLocation.d.mts +0 -28
- package/model/MedicalLocation.mjs +0 -116
- package/model/Tarification.d.mts +0 -50
- package/model/Tarification.mjs +0 -178
- package/model/TimeTable.d.mts +0 -25
- package/model/TimeTable.mjs +0 -111
- package/model/base/AppendixType.d.mts +0 -5
- package/model/base/AppendixType.mjs +0 -7
- package/model/base/CodeFlag.d.mts +0 -80
- package/model/base/CodeFlag.mjs +0 -82
- package/model/base/ReportVersion.d.mts +0 -3
- package/model/base/ReportVersion.mjs +0 -5
- package/model/embed/KeywordSubword.d.mts +0 -8
- package/model/embed/KeywordSubword.mjs +0 -35
- package/model/embed/LetterValue.d.mts +0 -9
- package/model/embed/LetterValue.mjs +0 -47
- package/model/embed/Periodicity.d.mts +0 -8
- package/model/embed/Periodicity.mjs +0 -36
- package/model/embed/TimeTableHour.d.mts +0 -7
- package/model/embed/TimeTableHour.mjs +0 -35
- package/model/embed/TimeTableItem.d.mts +0 -19
- package/model/embed/TimeTableItem.mjs +0 -96
- package/model/embed/Valorisation.d.mts +0 -56
- package/model/embed/Valorisation.mjs +0 -188
package/sdk/CardinalSdk.d.mts
CHANGED
|
@@ -12,7 +12,6 @@ import { MessageApi } from "../api/MessageApi.mjs";
|
|
|
12
12
|
import { PatientApi } from "../api/PatientApi.mjs";
|
|
13
13
|
import { PermissionApi } from "../api/PermissionApi.mjs";
|
|
14
14
|
import { ReceiptApi } from "../api/ReceiptApi.mjs";
|
|
15
|
-
import { TimeTableApi } from "../api/TimeTableApi.mjs";
|
|
16
15
|
import { TopicApi } from "../api/TopicApi.mjs";
|
|
17
16
|
import { CryptoApi } from "../api/CryptoApi.mjs";
|
|
18
17
|
import { DataOwnerApi } from "../api/DataOwnerApi.mjs";
|
|
@@ -23,20 +22,14 @@ import { AuthenticationMethod, AuthenticationProcessTelecomType, AuthenticationP
|
|
|
23
22
|
import { StorageFacade } from "../storage/StorageFacade.mjs";
|
|
24
23
|
import { CardinalStorageOptions } from "../cardinal-sdk-ts.mjs";
|
|
25
24
|
import { SdkOptions, BasicSdkOptions, AnonymousSdkOptions, BasicToFullSdkOptions } from "../options/SdkOptions.mjs";
|
|
26
|
-
import { ApplicationSettingsApi } from "../api/ApplicationSettingsApi.mjs";
|
|
27
25
|
import { CodeApi } from "../api/CodeApi.mjs";
|
|
28
|
-
import { DocumentTemplateApi } from "../api/DocumentTemplateApi.mjs";
|
|
29
|
-
import { EntityReferenceApi } from "../api/EntityReferenceApi.mjs";
|
|
30
|
-
import { EntityTemplateApi } from "../api/EntityTemplateApi.mjs";
|
|
31
26
|
import { FrontEndMigrationApi } from "../api/FrontEndMigrationApi.mjs";
|
|
32
27
|
import { GroupApi } from "../api/GroupApi.mjs";
|
|
33
28
|
import { HealthcarePartyApi } from "../api/HealthcarePartyApi.mjs";
|
|
34
29
|
import { SystemApi } from "../api/SystemApi.mjs";
|
|
35
30
|
import { InsuranceApi } from "../api/InsuranceApi.mjs";
|
|
36
|
-
import { KeywordApi } from "../api/KeywordApi.mjs";
|
|
37
31
|
import { PlaceApi } from "../api/PlaceApi.mjs";
|
|
38
32
|
import { RoleApi } from "../api/RoleApi.mjs";
|
|
39
|
-
import { TarificationApi } from "../api/TarificationApi.mjs";
|
|
40
33
|
import { AccessLogBasicApi } from "../api/AccessLogBasicApi.mjs";
|
|
41
34
|
import { CalendarItemBasicApi } from "../api/CalendarItemBasicApi.mjs";
|
|
42
35
|
import { ClassificationBasicApi } from "../api/ClassificationBasicApi.mjs";
|
|
@@ -51,7 +44,6 @@ import { PatientBasicApi } from "../api/PatientBasicApi.mjs";
|
|
|
51
44
|
import { ReceiptBasicApi } from "../api/ReceiptBasicApi.mjs";
|
|
52
45
|
import { TopicBasicApi } from "../api/TopicBasicApi.mjs";
|
|
53
46
|
import { AgendaApi } from "../api/AgendaApi.mjs";
|
|
54
|
-
import { MedicalLocationApi } from "../api/MedicalLocationApi.mjs";
|
|
55
47
|
import { CaptchaOptions } from "../auth/CaptchaOptions.mjs";
|
|
56
48
|
import { AuthApi } from "../api/AuthApi.mjs";
|
|
57
49
|
import { CalendarItemTypeApi } from "../api/CalendarItemTypeApi.mjs";
|
|
@@ -59,24 +51,17 @@ import { AnonymousHealthcarePartyApi } from "../api/AnonymousHealthcarePartyApi.
|
|
|
59
51
|
import { AnonymousAgendaApi } from "../api/AnonymousAgendaApi.mjs";
|
|
60
52
|
export interface CardinalApis {
|
|
61
53
|
readonly auth: AuthApi;
|
|
62
|
-
readonly applicationSettings: ApplicationSettingsApi;
|
|
63
54
|
readonly code: CodeApi;
|
|
64
55
|
readonly device: DeviceApi;
|
|
65
|
-
readonly documentTemplate: DocumentTemplateApi;
|
|
66
|
-
readonly entityReference: EntityReferenceApi;
|
|
67
|
-
readonly entityTemplate: EntityTemplateApi;
|
|
68
56
|
readonly frontEndMigration: FrontEndMigrationApi;
|
|
69
57
|
readonly group: GroupApi;
|
|
70
58
|
readonly healthcareParty: HealthcarePartyApi;
|
|
71
59
|
readonly system: SystemApi;
|
|
72
60
|
readonly insurance: InsuranceApi;
|
|
73
|
-
readonly keyword: KeywordApi;
|
|
74
61
|
readonly permission: PermissionApi;
|
|
75
62
|
readonly place: PlaceApi;
|
|
76
63
|
readonly role: RoleApi;
|
|
77
|
-
readonly tarification: TarificationApi;
|
|
78
64
|
readonly user: UserApi;
|
|
79
|
-
readonly medicalLocation: MedicalLocationApi;
|
|
80
65
|
readonly agenda: AgendaApi;
|
|
81
66
|
readonly accessLog: AccessLogApi;
|
|
82
67
|
readonly calendarItem: CalendarItemApi;
|
|
@@ -90,7 +75,6 @@ export interface CardinalApis {
|
|
|
90
75
|
readonly message: MessageApi;
|
|
91
76
|
readonly patient: PatientApi;
|
|
92
77
|
readonly receipt: ReceiptApi;
|
|
93
|
-
readonly timeTable: TimeTableApi;
|
|
94
78
|
readonly topic: TopicApi;
|
|
95
79
|
readonly crypto: CryptoApi;
|
|
96
80
|
readonly recovery: RecoveryApi;
|
|
@@ -135,24 +119,17 @@ export interface CardinalSdk extends CardinalApis {
|
|
|
135
119
|
}
|
|
136
120
|
export interface CardinalBaseApis {
|
|
137
121
|
readonly auth: AuthApi;
|
|
138
|
-
readonly applicationSettings: ApplicationSettingsApi;
|
|
139
122
|
readonly code: CodeApi;
|
|
140
123
|
readonly device: DeviceApi;
|
|
141
|
-
readonly documentTemplate: DocumentTemplateApi;
|
|
142
|
-
readonly entityReference: EntityReferenceApi;
|
|
143
|
-
readonly entityTemplate: EntityTemplateApi;
|
|
144
124
|
readonly frontEndMigration: FrontEndMigrationApi;
|
|
145
125
|
readonly group: GroupApi;
|
|
146
126
|
readonly healthcareParty: HealthcarePartyApi;
|
|
147
127
|
readonly system: SystemApi;
|
|
148
128
|
readonly insurance: InsuranceApi;
|
|
149
|
-
readonly keyword: KeywordApi;
|
|
150
129
|
readonly permission: PermissionApi;
|
|
151
130
|
readonly place: PlaceApi;
|
|
152
131
|
readonly role: RoleApi;
|
|
153
|
-
readonly tarification: TarificationApi;
|
|
154
132
|
readonly user: UserApi;
|
|
155
|
-
readonly medicalLocation: MedicalLocationApi;
|
|
156
133
|
readonly agenda: AgendaApi;
|
|
157
134
|
readonly accessLog: AccessLogBasicApi;
|
|
158
135
|
readonly calendarItem: CalendarItemBasicApi;
|
|
@@ -166,7 +143,6 @@ export interface CardinalBaseApis {
|
|
|
166
143
|
readonly message: MessageBasicApi;
|
|
167
144
|
readonly patient: PatientBasicApi;
|
|
168
145
|
readonly receipt: ReceiptBasicApi;
|
|
169
|
-
readonly timeTable: TimeTableApi;
|
|
170
146
|
readonly topic: TopicBasicApi;
|
|
171
147
|
readonly calendarItemType: CalendarItemTypeApi;
|
|
172
148
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/api/KeywordApi.d.mts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
package/api/KeywordApi.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
}
|
package/api/TarificationApi.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/api/TimeTableApi.d.mts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
}
|
package/api/TimeTableApi.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
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
|
-
}
|