grapp-common-se 0.6.83 → 0.6.85
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/dist/change-history/index.d.ts +1 -1
- package/dist/change-history/index.js +13 -13
- package/dist/change-history/release.d.ts +6 -6
- package/dist/change-history/release.js +2 -2
- package/dist/client/client.d.ts +27 -27
- package/dist/client/client.js +2 -2
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +2 -2
- package/dist/clinics/CIE10.d.ts +4 -4
- package/dist/clinics/CIE10.js +2 -2
- package/dist/clinics/CUPS.d.ts +4 -4
- package/dist/clinics/CUPS.js +2 -2
- package/dist/clinics/EHR.d.ts +4 -4
- package/dist/clinics/EHR.js +2 -2
- package/dist/clinics/clinic.d.ts +5 -5
- package/dist/clinics/clinic.js +2 -2
- package/dist/clinics/codableConcept.d.ts +9 -9
- package/dist/clinics/codableConcept.js +2 -2
- package/dist/clinics/index.d.ts +4 -4
- package/dist/clinics/index.js +16 -16
- package/dist/contract-type/index.d.ts +1 -1
- package/dist/contract-type/index.js +13 -13
- package/dist/contract-type/interContract.d.ts +6 -6
- package/dist/contract-type/interContract.js +2 -2
- package/dist/db/index.d.ts +1 -1
- package/dist/db/index.js +13 -13
- package/dist/db/methods/bulkWriteResponse.d.ts +23 -23
- package/dist/db/methods/bulkWriteResponse.js +2 -2
- package/dist/db/methods/index.d.ts +1 -1
- package/dist/db/methods/index.js +2 -2
- package/dist/fileSystem/file.d.ts +9 -9
- package/dist/fileSystem/file.js +2 -2
- package/dist/fileSystem/index.d.ts +1 -1
- package/dist/fileSystem/index.js +13 -13
- package/dist/index.d.ts +34 -34
- package/dist/index.js +47 -47
- package/dist/mailgun/index.d.ts +1 -1
- package/dist/mailgun/index.js +13 -13
- package/dist/mailgun/mail.d.ts +14 -14
- package/dist/mailgun/mail.js +9 -9
- package/dist/metadata/field.d.ts +8 -8
- package/dist/metadata/field.js +2 -2
- package/dist/metadata/form.d.ts +3 -3
- package/dist/metadata/form.js +2 -2
- package/dist/metadata/global.d.ts +5 -5
- package/dist/metadata/global.js +2 -2
- package/dist/metadata/index.d.ts +3 -3
- package/dist/metadata/index.js +15 -15
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +13 -13
- package/dist/modules/modules.d.ts +16 -16
- package/dist/modules/modules.js +14 -14
- package/dist/notifications/index.d.ts +1 -1
- package/dist/notifications/index.js +13 -13
- package/dist/notifications/notification.d.ts +5 -5
- package/dist/notifications/notification.js +2 -2
- package/dist/orders/comment.d.ts +7 -7
- package/dist/orders/comment.js +2 -2
- package/dist/orders/index.d.ts +3 -3
- package/dist/orders/index.js +15 -15
- package/dist/orders/order.d.ts +187 -186
- package/dist/orders/order.js +42 -42
- package/dist/orders/request.d.ts +355 -355
- package/dist/orders/request.js +115 -115
- package/dist/sockets/index.d.ts +1 -1
- package/dist/sockets/index.js +13 -13
- package/dist/sockets/sessionSocket.d.ts +18 -18
- package/dist/sockets/sessionSocket.js +18 -18
- package/dist/statesEngine/engine.d.ts +29 -29
- package/dist/statesEngine/engine.js +410 -410
- package/dist/statesEngine/index.js +1 -1
- package/dist/users/doctor.d.ts +4 -4
- package/dist/users/doctor.js +2 -2
- package/dist/users/index.d.ts +3 -3
- package/dist/users/index.js +15 -15
- package/dist/users/patient.d.ts +68 -68
- package/dist/users/patient.js +2 -2
- package/dist/users/user.d.ts +50 -50
- package/dist/users/user.js +36 -36
- package/package.json +22 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './release';
|
|
1
|
+
export * from './release';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./release"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./release"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface Release {
|
|
2
|
-
_id?: string;
|
|
3
|
-
version?: string;
|
|
4
|
-
date?: Date;
|
|
5
|
-
description?: string;
|
|
6
|
-
}
|
|
1
|
+
export interface Release {
|
|
2
|
+
_id?: string;
|
|
3
|
+
version?: string;
|
|
4
|
+
date?: Date;
|
|
5
|
+
description?: string;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/client/client.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { InnerFile } from '../fileSystem';
|
|
2
|
-
export interface Client {
|
|
3
|
-
name: string;
|
|
4
|
-
authToken: string;
|
|
5
|
-
nit: string;
|
|
6
|
-
logo: InnerFile;
|
|
7
|
-
urlBI: string;
|
|
8
|
-
maximumLicenses: number;
|
|
9
|
-
notificationsEmail: string;
|
|
10
|
-
termsOfServiceHD: InnerFile;
|
|
11
|
-
integrationsWs?: ClientWs[];
|
|
12
|
-
}
|
|
13
|
-
export interface ClientWs {
|
|
14
|
-
REQUEST_URL?: string;
|
|
15
|
-
REQUEST_HEADER?: boolean;
|
|
16
|
-
refreshTokenRequired?: boolean;
|
|
17
|
-
methods?: RequestMethods;
|
|
18
|
-
}
|
|
19
|
-
export interface RequestMethods {
|
|
20
|
-
REQUESTS_API?: string;
|
|
21
|
-
APPOINMENT_API?: string;
|
|
22
|
-
UPDATE_APPOINMENT_API?: string;
|
|
23
|
-
CANCEL_ORDER_API?: string;
|
|
24
|
-
TOKEN_API?: string;
|
|
25
|
-
TYPE_AUTHENTICATION?: string;
|
|
26
|
-
PASSWORD_TOKEN_API?: string;
|
|
27
|
-
}
|
|
1
|
+
import { InnerFile } from '../fileSystem';
|
|
2
|
+
export interface Client {
|
|
3
|
+
name: string;
|
|
4
|
+
authToken: string;
|
|
5
|
+
nit: string;
|
|
6
|
+
logo: InnerFile;
|
|
7
|
+
urlBI: string;
|
|
8
|
+
maximumLicenses: number;
|
|
9
|
+
notificationsEmail: string;
|
|
10
|
+
termsOfServiceHD: InnerFile;
|
|
11
|
+
integrationsWs?: ClientWs[];
|
|
12
|
+
}
|
|
13
|
+
export interface ClientWs {
|
|
14
|
+
REQUEST_URL?: string;
|
|
15
|
+
REQUEST_HEADER?: boolean;
|
|
16
|
+
refreshTokenRequired?: boolean;
|
|
17
|
+
methods?: RequestMethods;
|
|
18
|
+
}
|
|
19
|
+
export interface RequestMethods {
|
|
20
|
+
REQUESTS_API?: string;
|
|
21
|
+
APPOINMENT_API?: string;
|
|
22
|
+
UPDATE_APPOINMENT_API?: string;
|
|
23
|
+
CANCEL_ORDER_API?: string;
|
|
24
|
+
TOKEN_API?: string;
|
|
25
|
+
TYPE_AUTHENTICATION?: string;
|
|
26
|
+
PASSWORD_TOKEN_API?: string;
|
|
27
|
+
}
|
package/dist/client/client.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Client } from './client';
|
|
1
|
+
export { Client } from './client';
|
package/dist/client/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/clinics/CIE10.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CodableConcept } from './codableConcept';
|
|
2
|
-
export interface CIE10 extends CodableConcept {
|
|
3
|
-
isOrphanDisease?: boolean;
|
|
4
|
-
}
|
|
1
|
+
import { CodableConcept } from './codableConcept';
|
|
2
|
+
export interface CIE10 extends CodableConcept {
|
|
3
|
+
isOrphanDisease?: boolean;
|
|
4
|
+
}
|
package/dist/clinics/CIE10.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/clinics/CUPS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CodableConcept } from './codableConcept';
|
|
2
|
-
export interface CUPS extends CodableConcept {
|
|
3
|
-
excecutor?: string[];
|
|
4
|
-
}
|
|
1
|
+
import { CodableConcept } from './codableConcept';
|
|
2
|
+
export interface CUPS extends CodableConcept {
|
|
3
|
+
excecutor?: string[];
|
|
4
|
+
}
|
package/dist/clinics/CUPS.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/clinics/EHR.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CodableConcept } from './codableConcept';
|
|
2
|
-
export interface EHR extends CodableConcept {
|
|
3
|
-
cie10?: string;
|
|
4
|
-
}
|
|
1
|
+
import { CodableConcept } from './codableConcept';
|
|
2
|
+
export interface EHR extends CodableConcept {
|
|
3
|
+
cie10?: string;
|
|
4
|
+
}
|
package/dist/clinics/EHR.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/clinics/clinic.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface Clinic {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
email: string;
|
|
5
|
-
}
|
|
1
|
+
export interface Clinic {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
}
|
package/dist/clinics/clinic.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface CodableConcept {
|
|
2
|
-
_id?: string;
|
|
3
|
-
id?: string;
|
|
4
|
-
duration?: number;
|
|
5
|
-
name?: string;
|
|
6
|
-
available?: boolean;
|
|
7
|
-
code?: string;
|
|
8
|
-
codeDescription?: string;
|
|
9
|
-
}
|
|
1
|
+
export interface CodableConcept {
|
|
2
|
+
_id?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
duration?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
available?: boolean;
|
|
7
|
+
code?: string;
|
|
8
|
+
codeDescription?: string;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/clinics/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './clinic';
|
|
2
|
-
export * from './codableConcept';
|
|
3
|
-
export * from './CUPS';
|
|
4
|
-
export * from './EHR';
|
|
1
|
+
export * from './clinic';
|
|
2
|
+
export * from './codableConcept';
|
|
3
|
+
export * from './CUPS';
|
|
4
|
+
export * from './EHR';
|
package/dist/clinics/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./clinic"), exports);
|
|
14
|
-
__exportStar(require("./codableConcept"), exports);
|
|
15
|
-
__exportStar(require("./CUPS"), exports);
|
|
16
|
-
__exportStar(require("./EHR"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./clinic"), exports);
|
|
14
|
+
__exportStar(require("./codableConcept"), exports);
|
|
15
|
+
__exportStar(require("./CUPS"), exports);
|
|
16
|
+
__exportStar(require("./EHR"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './interContract';
|
|
1
|
+
export * from './interContract';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./interContract"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./interContract"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface InterContractType {
|
|
2
|
-
id: string;
|
|
3
|
-
code: string;
|
|
4
|
-
description: string;
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
}
|
|
1
|
+
export interface InterContractType {
|
|
2
|
+
id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
description: string;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './methods';
|
|
1
|
+
export * from './methods';
|
package/dist/db/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./methods"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./methods"), exports);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export interface bulkWriteResponse {
|
|
2
|
-
result?: {
|
|
3
|
-
ok?: number;
|
|
4
|
-
writeErrors?: [];
|
|
5
|
-
writeConcernErrors?: [];
|
|
6
|
-
insertedIds?: [];
|
|
7
|
-
nInserted?: number;
|
|
8
|
-
nUpserted?: number;
|
|
9
|
-
nMatched?: number;
|
|
10
|
-
nModified?: number;
|
|
11
|
-
nRemoved?: number;
|
|
12
|
-
upserted?: [];
|
|
13
|
-
};
|
|
14
|
-
insertedCount?: number;
|
|
15
|
-
matchedCount?: number;
|
|
16
|
-
modifiedCount?: number;
|
|
17
|
-
deletedCount?: number;
|
|
18
|
-
upsertedCount?: number;
|
|
19
|
-
nRemoved?: number;
|
|
20
|
-
upsertedIds?: {};
|
|
21
|
-
insertedIds?: {};
|
|
22
|
-
n?: number;
|
|
23
|
-
}
|
|
1
|
+
export interface bulkWriteResponse {
|
|
2
|
+
result?: {
|
|
3
|
+
ok?: number;
|
|
4
|
+
writeErrors?: [];
|
|
5
|
+
writeConcernErrors?: [];
|
|
6
|
+
insertedIds?: [];
|
|
7
|
+
nInserted?: number;
|
|
8
|
+
nUpserted?: number;
|
|
9
|
+
nMatched?: number;
|
|
10
|
+
nModified?: number;
|
|
11
|
+
nRemoved?: number;
|
|
12
|
+
upserted?: [];
|
|
13
|
+
};
|
|
14
|
+
insertedCount?: number;
|
|
15
|
+
matchedCount?: number;
|
|
16
|
+
modifiedCount?: number;
|
|
17
|
+
deletedCount?: number;
|
|
18
|
+
upsertedCount?: number;
|
|
19
|
+
nRemoved?: number;
|
|
20
|
+
upsertedIds?: {};
|
|
21
|
+
insertedIds?: {};
|
|
22
|
+
n?: number;
|
|
23
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { bulkWriteResponse } from './bulkWriteResponse';
|
|
1
|
+
export { bulkWriteResponse } from './bulkWriteResponse';
|
package/dist/db/methods/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare type Base64 = string;
|
|
2
|
-
export interface InnerFile {
|
|
3
|
-
_id?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
path: string;
|
|
6
|
-
data: Base64;
|
|
7
|
-
url?: string;
|
|
8
|
-
traceabilityFile?: boolean;
|
|
9
|
-
}
|
|
1
|
+
export declare type Base64 = string;
|
|
2
|
+
export interface InnerFile {
|
|
3
|
+
_id?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
path: string;
|
|
6
|
+
data: Base64;
|
|
7
|
+
url?: string;
|
|
8
|
+
traceabilityFile?: boolean;
|
|
9
|
+
}
|
package/dist/fileSystem/file.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './file';
|
|
1
|
+
export * from './file';
|
package/dist/fileSystem/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./file"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./file"), exports);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as Clinics from './clinics';
|
|
2
|
-
import * as Files from './fileSystem';
|
|
3
|
-
import * as Metadata from './metadata';
|
|
4
|
-
import * as Notifications from './notifications';
|
|
5
|
-
import * as Orders from './orders';
|
|
6
|
-
import * as Users from './users';
|
|
7
|
-
import * as ChangeHistory from './change-history';
|
|
8
|
-
import * as ContractType from './contract-type';
|
|
9
|
-
import * as Sockets from './sockets';
|
|
10
|
-
import * as Db from './db';
|
|
11
|
-
import * as Modules from './modules';
|
|
12
|
-
export { Clinics, Files, Metadata, Notifications, Orders, Users, ChangeHistory, Sockets, Db, Modules, ContractType };
|
|
13
|
-
export { Client } from './client';
|
|
14
|
-
export declare namespace Collections {
|
|
15
|
-
const CLIENT = "Client";
|
|
16
|
-
const USERS = "Users";
|
|
17
|
-
const PATIENTS = "Patients";
|
|
18
|
-
const DOCTORS = "Doctor";
|
|
19
|
-
const FILES = "Files";
|
|
20
|
-
const NOTIFICATIONS = "Notifications";
|
|
21
|
-
const REQUESTS = "Requests";
|
|
22
|
-
const CLINICS = "Clinics";
|
|
23
|
-
const SERVICES = "Services";
|
|
24
|
-
const EPS = "Eps";
|
|
25
|
-
const EPS_GROUP = "EpsGroup";
|
|
26
|
-
const MODULES = "Modules";
|
|
27
|
-
const SPECIALTIES = "Specialties";
|
|
28
|
-
const REQUEST_TYPES = "RequestTypes";
|
|
29
|
-
const CHANGE_HISTORY = "ChangeHistory";
|
|
30
|
-
const ORDERS = "Orders";
|
|
31
|
-
const CUSTOM_CAUSES = "CustomCauses";
|
|
32
|
-
const REQUEST_ORIGINS = "RequestOrigins";
|
|
33
|
-
const CONTRACT_TYPE = "ContractType";
|
|
34
|
-
}
|
|
1
|
+
import * as Clinics from './clinics';
|
|
2
|
+
import * as Files from './fileSystem';
|
|
3
|
+
import * as Metadata from './metadata';
|
|
4
|
+
import * as Notifications from './notifications';
|
|
5
|
+
import * as Orders from './orders';
|
|
6
|
+
import * as Users from './users';
|
|
7
|
+
import * as ChangeHistory from './change-history';
|
|
8
|
+
import * as ContractType from './contract-type';
|
|
9
|
+
import * as Sockets from './sockets';
|
|
10
|
+
import * as Db from './db';
|
|
11
|
+
import * as Modules from './modules';
|
|
12
|
+
export { Clinics, Files, Metadata, Notifications, Orders, Users, ChangeHistory, Sockets, Db, Modules, ContractType };
|
|
13
|
+
export { Client } from './client';
|
|
14
|
+
export declare namespace Collections {
|
|
15
|
+
const CLIENT = "Client";
|
|
16
|
+
const USERS = "Users";
|
|
17
|
+
const PATIENTS = "Patients";
|
|
18
|
+
const DOCTORS = "Doctor";
|
|
19
|
+
const FILES = "Files";
|
|
20
|
+
const NOTIFICATIONS = "Notifications";
|
|
21
|
+
const REQUESTS = "Requests";
|
|
22
|
+
const CLINICS = "Clinics";
|
|
23
|
+
const SERVICES = "Services";
|
|
24
|
+
const EPS = "Eps";
|
|
25
|
+
const EPS_GROUP = "EpsGroup";
|
|
26
|
+
const MODULES = "Modules";
|
|
27
|
+
const SPECIALTIES = "Specialties";
|
|
28
|
+
const REQUEST_TYPES = "RequestTypes";
|
|
29
|
+
const CHANGE_HISTORY = "ChangeHistory";
|
|
30
|
+
const ORDERS = "Orders";
|
|
31
|
+
const CUSTOM_CAUSES = "CustomCauses";
|
|
32
|
+
const REQUEST_ORIGINS = "RequestOrigins";
|
|
33
|
+
const CONTRACT_TYPE = "ContractType";
|
|
34
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Collections = exports.ContractType = exports.Modules = exports.Db = exports.Sockets = exports.ChangeHistory = exports.Users = exports.Orders = exports.Notifications = exports.Metadata = exports.Files = exports.Clinics = void 0;
|
|
4
|
-
const Clinics = require("./clinics");
|
|
5
|
-
exports.Clinics = Clinics;
|
|
6
|
-
const Files = require("./fileSystem");
|
|
7
|
-
exports.Files = Files;
|
|
8
|
-
const Metadata = require("./metadata");
|
|
9
|
-
exports.Metadata = Metadata;
|
|
10
|
-
const Notifications = require("./notifications");
|
|
11
|
-
exports.Notifications = Notifications;
|
|
12
|
-
const Orders = require("./orders");
|
|
13
|
-
exports.Orders = Orders;
|
|
14
|
-
const Users = require("./users");
|
|
15
|
-
exports.Users = Users;
|
|
16
|
-
const ChangeHistory = require("./change-history");
|
|
17
|
-
exports.ChangeHistory = ChangeHistory;
|
|
18
|
-
const ContractType = require("./contract-type");
|
|
19
|
-
exports.ContractType = ContractType;
|
|
20
|
-
const Sockets = require("./sockets");
|
|
21
|
-
exports.Sockets = Sockets;
|
|
22
|
-
const Db = require("./db");
|
|
23
|
-
exports.Db = Db;
|
|
24
|
-
const Modules = require("./modules");
|
|
25
|
-
exports.Modules = Modules;
|
|
26
|
-
var Collections;
|
|
27
|
-
(function (Collections) {
|
|
28
|
-
Collections.CLIENT = 'Client';
|
|
29
|
-
Collections.USERS = 'Users';
|
|
30
|
-
Collections.PATIENTS = 'Patients';
|
|
31
|
-
Collections.DOCTORS = 'Doctor';
|
|
32
|
-
Collections.FILES = 'Files';
|
|
33
|
-
Collections.NOTIFICATIONS = 'Notifications';
|
|
34
|
-
Collections.REQUESTS = 'Requests';
|
|
35
|
-
Collections.CLINICS = 'Clinics';
|
|
36
|
-
Collections.SERVICES = 'Services';
|
|
37
|
-
Collections.EPS = 'Eps';
|
|
38
|
-
Collections.EPS_GROUP = 'EpsGroup';
|
|
39
|
-
Collections.MODULES = 'Modules';
|
|
40
|
-
Collections.SPECIALTIES = 'Specialties';
|
|
41
|
-
Collections.REQUEST_TYPES = 'RequestTypes';
|
|
42
|
-
Collections.CHANGE_HISTORY = 'ChangeHistory';
|
|
43
|
-
Collections.ORDERS = 'Orders';
|
|
44
|
-
Collections.CUSTOM_CAUSES = 'CustomCauses';
|
|
45
|
-
Collections.REQUEST_ORIGINS = 'RequestOrigins';
|
|
46
|
-
Collections.CONTRACT_TYPE = 'ContractType';
|
|
47
|
-
})(Collections = exports.Collections || (exports.Collections = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Collections = exports.ContractType = exports.Modules = exports.Db = exports.Sockets = exports.ChangeHistory = exports.Users = exports.Orders = exports.Notifications = exports.Metadata = exports.Files = exports.Clinics = void 0;
|
|
4
|
+
const Clinics = require("./clinics");
|
|
5
|
+
exports.Clinics = Clinics;
|
|
6
|
+
const Files = require("./fileSystem");
|
|
7
|
+
exports.Files = Files;
|
|
8
|
+
const Metadata = require("./metadata");
|
|
9
|
+
exports.Metadata = Metadata;
|
|
10
|
+
const Notifications = require("./notifications");
|
|
11
|
+
exports.Notifications = Notifications;
|
|
12
|
+
const Orders = require("./orders");
|
|
13
|
+
exports.Orders = Orders;
|
|
14
|
+
const Users = require("./users");
|
|
15
|
+
exports.Users = Users;
|
|
16
|
+
const ChangeHistory = require("./change-history");
|
|
17
|
+
exports.ChangeHistory = ChangeHistory;
|
|
18
|
+
const ContractType = require("./contract-type");
|
|
19
|
+
exports.ContractType = ContractType;
|
|
20
|
+
const Sockets = require("./sockets");
|
|
21
|
+
exports.Sockets = Sockets;
|
|
22
|
+
const Db = require("./db");
|
|
23
|
+
exports.Db = Db;
|
|
24
|
+
const Modules = require("./modules");
|
|
25
|
+
exports.Modules = Modules;
|
|
26
|
+
var Collections;
|
|
27
|
+
(function (Collections) {
|
|
28
|
+
Collections.CLIENT = 'Client';
|
|
29
|
+
Collections.USERS = 'Users';
|
|
30
|
+
Collections.PATIENTS = 'Patients';
|
|
31
|
+
Collections.DOCTORS = 'Doctor';
|
|
32
|
+
Collections.FILES = 'Files';
|
|
33
|
+
Collections.NOTIFICATIONS = 'Notifications';
|
|
34
|
+
Collections.REQUESTS = 'Requests';
|
|
35
|
+
Collections.CLINICS = 'Clinics';
|
|
36
|
+
Collections.SERVICES = 'Services';
|
|
37
|
+
Collections.EPS = 'Eps';
|
|
38
|
+
Collections.EPS_GROUP = 'EpsGroup';
|
|
39
|
+
Collections.MODULES = 'Modules';
|
|
40
|
+
Collections.SPECIALTIES = 'Specialties';
|
|
41
|
+
Collections.REQUEST_TYPES = 'RequestTypes';
|
|
42
|
+
Collections.CHANGE_HISTORY = 'ChangeHistory';
|
|
43
|
+
Collections.ORDERS = 'Orders';
|
|
44
|
+
Collections.CUSTOM_CAUSES = 'CustomCauses';
|
|
45
|
+
Collections.REQUEST_ORIGINS = 'RequestOrigins';
|
|
46
|
+
Collections.CONTRACT_TYPE = 'ContractType';
|
|
47
|
+
})(Collections = exports.Collections || (exports.Collections = {}));
|
package/dist/mailgun/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './mail';
|
|
1
|
+
export * from './mail';
|