@icure/api 7.1.24 → 7.1.25
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.
|
@@ -85,14 +85,15 @@ export declare class MaintenanceTask {
|
|
|
85
85
|
encryptedSelf?: string;
|
|
86
86
|
}
|
|
87
87
|
export declare namespace MaintenanceTask {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
88
|
+
enum StatusEnum {
|
|
89
|
+
Pending = "pending",
|
|
90
|
+
Ongoing = "ongoing",
|
|
91
|
+
Cancelled = "cancelled",
|
|
92
|
+
Completed = "completed"
|
|
93
|
+
}
|
|
94
|
+
enum TaskTypeEnum {
|
|
95
|
+
KeyPairUpdate = "KEY_PAIR_UPDATE",
|
|
96
|
+
NewUserOwnDataAccess = "NEW_USER_OWN_DATA_ACCESS",
|
|
97
|
+
Other = "OTHER"
|
|
98
|
+
}
|
|
98
99
|
}
|
|
@@ -8,16 +8,18 @@ class MaintenanceTask {
|
|
|
8
8
|
}
|
|
9
9
|
exports.MaintenanceTask = MaintenanceTask;
|
|
10
10
|
(function (MaintenanceTask) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
MaintenanceTask.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
11
|
+
let StatusEnum;
|
|
12
|
+
(function (StatusEnum) {
|
|
13
|
+
StatusEnum["Pending"] = "pending";
|
|
14
|
+
StatusEnum["Ongoing"] = "ongoing";
|
|
15
|
+
StatusEnum["Cancelled"] = "cancelled";
|
|
16
|
+
StatusEnum["Completed"] = "completed";
|
|
17
|
+
})(StatusEnum = MaintenanceTask.StatusEnum || (MaintenanceTask.StatusEnum = {}));
|
|
18
|
+
let TaskTypeEnum;
|
|
19
|
+
(function (TaskTypeEnum) {
|
|
20
|
+
TaskTypeEnum["KeyPairUpdate"] = "KEY_PAIR_UPDATE";
|
|
21
|
+
TaskTypeEnum["NewUserOwnDataAccess"] = "NEW_USER_OWN_DATA_ACCESS";
|
|
22
|
+
TaskTypeEnum["Other"] = "OTHER";
|
|
23
|
+
})(TaskTypeEnum = MaintenanceTask.TaskTypeEnum || (MaintenanceTask.TaskTypeEnum = {}));
|
|
22
24
|
})(MaintenanceTask = exports.MaintenanceTask || (exports.MaintenanceTask = {}));
|
|
23
25
|
//# sourceMappingURL=MaintenanceTask.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaintenanceTask.js","sourceRoot":"","sources":["../../../icc-api/model/MaintenanceTask.ts"],"names":[],"mappings":";;;AAgBA,MAAa,eAAe;IAC1B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAuB,EAAE,IAAI,CAAC,CAAA;IAC9C,CAAC;CAgEF;AAnED,0CAmEC;AACD,WAAiB,eAAe;
|
|
1
|
+
{"version":3,"file":"MaintenanceTask.js","sourceRoot":"","sources":["../../../icc-api/model/MaintenanceTask.ts"],"names":[],"mappings":";;;AAgBA,MAAa,eAAe;IAC1B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAuB,EAAE,IAAI,CAAC,CAAA;IAC9C,CAAC;CAgEF;AAnED,0CAmEC;AACD,WAAiB,eAAe;IAC9B,IAAY,UAKX;IALD,WAAY,UAAU;QACpB,iCAAmB,CAAA;QACnB,iCAAmB,CAAA;QACnB,qCAAuB,CAAA;QACvB,qCAAuB,CAAA;IACzB,CAAC,EALW,UAAU,GAAV,0BAAU,KAAV,0BAAU,QAKrB;IACD,IAAY,YAIX;IAJD,WAAY,YAAY;QACtB,iDAAiC,CAAA;QACjC,iEAAiD,CAAA;QACjD,+BAAe,CAAA;IACjB,CAAC,EAJW,YAAY,GAAZ,4BAAY,KAAZ,4BAAY,QAIvB;AACH,CAAC,EAZgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAY/B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { Identifier } from './Identifier'\nimport { PropertyStub } from './PropertyStub'\n\nexport class MaintenanceTask {\n constructor(json: JSON | any) {\n Object.assign(this as MaintenanceTask, json)\n }\n\n id?: string\n rev?: string\n identifier?: Array<Identifier>\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n taskType?: MaintenanceTask.TaskTypeEnum\n properties?: Array<PropertyStub>\n status?: MaintenanceTask.StatusEnum\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n}\nexport namespace MaintenanceTask {\n export enum StatusEnum {\n Pending = 'pending',\n Ongoing = 'ongoing',\n Cancelled = 'cancelled',\n Completed = 'completed',\n }\n export enum TaskTypeEnum {\n KeyPairUpdate = 'KEY_PAIR_UPDATE',\n NewUserOwnDataAccess = 'NEW_USER_OWN_DATA_ACCESS',\n Other = 'OTHER',\n }\n}\n"]}
|