grapp-common-se 0.6.30 → 0.6.37
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/contract-type/index.d.ts +1 -0
- package/dist/contract-type/index.js +13 -0
- package/dist/contract-type/interContract.d.ts +6 -0
- package/dist/contract-type/interContract.js +2 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -1
- package/dist/orders/request.d.ts +9 -0
- package/dist/users/patient.d.ts +8 -0
- package/dist/users/user.d.ts +5 -4
- package/dist/users/user.js +4 -3
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './interContract';
|
|
@@ -0,0 +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);
|
package/dist/index.d.ts
CHANGED
|
@@ -5,10 +5,11 @@ import * as Notifications from './notifications';
|
|
|
5
5
|
import * as Orders from './orders';
|
|
6
6
|
import * as Users from './users';
|
|
7
7
|
import * as ChangeHistory from './change-history';
|
|
8
|
+
import * as ContractType from './contract-type';
|
|
8
9
|
import * as Sockets from './sockets';
|
|
9
10
|
import * as Db from './db';
|
|
10
11
|
import * as Modules from './modules';
|
|
11
|
-
export { Clinics, Files, Metadata, Notifications, Orders, Users, ChangeHistory, Sockets, Db, Modules };
|
|
12
|
+
export { Clinics, Files, Metadata, Notifications, Orders, Users, ChangeHistory, Sockets, Db, Modules, ContractType };
|
|
12
13
|
export { Client } from './client';
|
|
13
14
|
export declare namespace Collections {
|
|
14
15
|
const CLIENT = "Client";
|
|
@@ -29,4 +30,5 @@ export declare namespace Collections {
|
|
|
29
30
|
const ORDERS = "Orders";
|
|
30
31
|
const CUSTOM_CAUSES = "CustomCauses";
|
|
31
32
|
const REQUEST_ORIGINS = "RequestOrigins";
|
|
33
|
+
const CONTRACT_TYPE = "ContractType";
|
|
32
34
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Collections = exports.Modules = exports.Db = exports.Sockets = exports.ChangeHistory = exports.Users = exports.Orders = exports.Notifications = exports.Metadata = exports.Files = exports.Clinics = void 0;
|
|
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
4
|
const Clinics = require("./clinics");
|
|
5
5
|
exports.Clinics = Clinics;
|
|
6
6
|
const Files = require("./fileSystem");
|
|
@@ -15,6 +15,8 @@ const Users = require("./users");
|
|
|
15
15
|
exports.Users = Users;
|
|
16
16
|
const ChangeHistory = require("./change-history");
|
|
17
17
|
exports.ChangeHistory = ChangeHistory;
|
|
18
|
+
const ContractType = require("./contract-type");
|
|
19
|
+
exports.ContractType = ContractType;
|
|
18
20
|
const Sockets = require("./sockets");
|
|
19
21
|
exports.Sockets = Sockets;
|
|
20
22
|
const Db = require("./db");
|
|
@@ -41,4 +43,5 @@ var Collections;
|
|
|
41
43
|
Collections.ORDERS = 'Orders';
|
|
42
44
|
Collections.CUSTOM_CAUSES = 'CustomCauses';
|
|
43
45
|
Collections.REQUEST_ORIGINS = 'RequestOrigins';
|
|
46
|
+
Collections.CONTRACT_TYPE = 'ContractType';
|
|
44
47
|
})(Collections = exports.Collections || (exports.Collections = {}));
|
package/dist/orders/request.d.ts
CHANGED
|
@@ -310,6 +310,15 @@ export interface Contract {
|
|
|
310
310
|
code?: string;
|
|
311
311
|
tag?: string;
|
|
312
312
|
active?: boolean;
|
|
313
|
+
topContractMoney?: number;
|
|
314
|
+
initialDate?: Timestamp;
|
|
315
|
+
finalDate?: Timestamp;
|
|
316
|
+
monthlyCheck?: boolean;
|
|
317
|
+
topMonthly?: number;
|
|
318
|
+
monthlyAlertPercent?: number;
|
|
319
|
+
weeklyCheck?: boolean;
|
|
320
|
+
topWeekly?: number;
|
|
321
|
+
weeklyAlertPercent?: number;
|
|
313
322
|
}
|
|
314
323
|
export interface epsGroup {
|
|
315
324
|
id?: string;
|
package/dist/users/patient.d.ts
CHANGED
package/dist/users/user.d.ts
CHANGED
|
@@ -25,10 +25,11 @@ export declare enum IDType {
|
|
|
25
25
|
PA = "PA",
|
|
26
26
|
CD = "CD",
|
|
27
27
|
PR = "PR",
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
NV = "NV"
|
|
28
|
+
PE = "PE",
|
|
29
|
+
AS = "AS",
|
|
30
|
+
MS = "MS",
|
|
31
|
+
NV = "NV",
|
|
32
|
+
DE = "DE"
|
|
32
33
|
}
|
|
33
34
|
export declare enum UserType {
|
|
34
35
|
COORDINATOR = 0,
|
package/dist/users/user.js
CHANGED
|
@@ -11,10 +11,11 @@ var IDType;
|
|
|
11
11
|
IDType["PA"] = "PA";
|
|
12
12
|
IDType["CD"] = "CD";
|
|
13
13
|
IDType["PR"] = "PR";
|
|
14
|
-
IDType["
|
|
15
|
-
IDType["
|
|
16
|
-
IDType["
|
|
14
|
+
IDType["PE"] = "PE";
|
|
15
|
+
IDType["AS"] = "AS";
|
|
16
|
+
IDType["MS"] = "MS";
|
|
17
17
|
IDType["NV"] = "NV";
|
|
18
|
+
IDType["DE"] = "DE";
|
|
18
19
|
})(IDType = exports.IDType || (exports.IDType = {}));
|
|
19
20
|
var UserType;
|
|
20
21
|
(function (UserType) {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grapp-common-se",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.37",
|
|
4
4
|
"description": "Interfaces for GRAPP project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prepublishOnly": "npm run build",
|
|
8
|
-
"build": "tsc --skipLibCheck",
|
|
8
|
+
"build": "rm -rf dist && tsc --skipLibCheck",
|
|
9
9
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [],
|