asma-types 1.1.21 → 1.1.22
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/.prettierrc +15 -15
- package/lib/index.d.ts +5 -5
- package/lib/index.js +3 -3
- package/lib/interfaces/api/advoca/ISaveToDataBase.d.ts +16 -16
- package/lib/interfaces/api/advoca/ISaveToDataBase.js +1 -1
- package/lib/interfaces/api/advoca/IUploadedDocument.d.ts +26 -26
- package/lib/interfaces/api/advoca/IUploadedDocument.js +1 -1
- package/lib/interfaces/artifact_enums.d.ts +27 -27
- package/lib/interfaces/artifact_enums.js +29 -29
- package/lib/interfaces/enums.d.ts +237 -233
- package/lib/interfaces/enums.d.ts.map +1 -1
- package/lib/interfaces/enums.js +320 -315
- package/lib/interfaces/enums.js.map +1 -1
- package/lib/interfaces/jwtClaims.d.ts +36 -36
- package/lib/interfaces/jwtClaims.js +10 -10
- package/package.json +25 -25
- package/src/index.ts +6 -6
- package/src/interfaces/api/advoca/ISaveToDataBase.ts +17 -17
- package/src/interfaces/api/advoca/IUploadedDocument.ts +23 -23
- package/src/interfaces/artifact_enums.ts +28 -28
- package/src/interfaces/enums.ts +331 -326
- package/src/interfaces/jwtClaims.ts +58 -58
- package/tsconfig.json +84 -84
package/.prettierrc
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"bracketSpacing": true,
|
|
3
|
-
"endOfLine": "auto",
|
|
4
|
-
"htmlWhitespaceSensitivity": "css",
|
|
5
|
-
"proseWrap": "preserve",
|
|
6
|
-
"trailingComma": "all",
|
|
7
|
-
"useTabs": false,
|
|
8
|
-
"tabWidth": 4,
|
|
9
|
-
"semi": false,
|
|
10
|
-
"singleQuote": true,
|
|
11
|
-
"jsxSingleQuote": true,
|
|
12
|
-
"jsxBracketSameLine": false,
|
|
13
|
-
"arrowParens": "always",
|
|
14
|
-
"printWidth": 120
|
|
15
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"bracketSpacing": true,
|
|
3
|
+
"endOfLine": "auto",
|
|
4
|
+
"htmlWhitespaceSensitivity": "css",
|
|
5
|
+
"proseWrap": "preserve",
|
|
6
|
+
"trailingComma": "all",
|
|
7
|
+
"useTabs": false,
|
|
8
|
+
"tabWidth": 4,
|
|
9
|
+
"semi": false,
|
|
10
|
+
"singleQuote": true,
|
|
11
|
+
"jsxSingleQuote": true,
|
|
12
|
+
"jsxBracketSameLine": false,
|
|
13
|
+
"arrowParens": "always",
|
|
14
|
+
"printWidth": 120
|
|
15
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type { IUploadedDocument } from './interfaces/api/advoca/IUploadedDocument';
|
|
2
|
-
export type { IFeedBack, ISaveToDataBase } from './interfaces/api/advoca/ISaveToDataBase';
|
|
3
|
-
export * from './interfaces/jwtClaims';
|
|
4
|
-
export * from './interfaces/enums';
|
|
5
|
-
export * from './interfaces/artifact_enums';
|
|
1
|
+
export type { IUploadedDocument } from './interfaces/api/advoca/IUploadedDocument';
|
|
2
|
+
export type { IFeedBack, ISaveToDataBase } from './interfaces/api/advoca/ISaveToDataBase';
|
|
3
|
+
export * from './interfaces/jwtClaims';
|
|
4
|
+
export * from './interfaces/enums';
|
|
5
|
+
export * from './interfaces/artifact_enums';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './interfaces/jwtClaims';
|
|
2
|
-
export * from './interfaces/enums';
|
|
3
|
-
export * from './interfaces/artifact_enums';
|
|
1
|
+
export * from './interfaces/jwtClaims';
|
|
2
|
+
export * from './interfaces/enums';
|
|
3
|
+
export * from './interfaces/artifact_enums';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export interface ISaveToDataBase {
|
|
2
|
-
method: string;
|
|
3
|
-
json: string;
|
|
4
|
-
uuid: string | undefined;
|
|
5
|
-
feedback: IFeedBack;
|
|
6
|
-
url: string;
|
|
7
|
-
origin?: {
|
|
8
|
-
method: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export interface IFeedBack {
|
|
12
|
-
error?: string;
|
|
13
|
-
type: string;
|
|
14
|
-
message: string;
|
|
15
|
-
show_time: number;
|
|
16
|
-
}
|
|
1
|
+
export interface ISaveToDataBase {
|
|
2
|
+
method: string;
|
|
3
|
+
json: string;
|
|
4
|
+
uuid: string | undefined;
|
|
5
|
+
feedback: IFeedBack;
|
|
6
|
+
url: string;
|
|
7
|
+
origin?: {
|
|
8
|
+
method: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface IFeedBack {
|
|
12
|
+
error?: string;
|
|
13
|
+
type: string;
|
|
14
|
+
message: string;
|
|
15
|
+
show_time: number;
|
|
16
|
+
}
|
|
17
17
|
//# sourceMappingURL=ISaveToDataBase.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ISaveToDataBase.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export interface IUploadedDocument {
|
|
2
|
-
created_at: string;
|
|
3
|
-
customer: {
|
|
4
|
-
comm_consents_descr: string;
|
|
5
|
-
contact_email: string;
|
|
6
|
-
contact_message: string;
|
|
7
|
-
contact_tel: string;
|
|
8
|
-
id: number;
|
|
9
|
-
logo: string;
|
|
10
|
-
name: string;
|
|
11
|
-
updated_at: string;
|
|
12
|
-
};
|
|
13
|
-
customer_id: number;
|
|
14
|
-
id: number;
|
|
15
|
-
name: string;
|
|
16
|
-
path: string;
|
|
17
|
-
patientIds: {
|
|
18
|
-
id: number;
|
|
19
|
-
soknad_id: string;
|
|
20
|
-
}[];
|
|
21
|
-
region: number;
|
|
22
|
-
sds_id: number;
|
|
23
|
-
updated_at: string;
|
|
24
|
-
upload_patient_id: number;
|
|
25
|
-
success: string;
|
|
26
|
-
}
|
|
1
|
+
export interface IUploadedDocument {
|
|
2
|
+
created_at: string;
|
|
3
|
+
customer: {
|
|
4
|
+
comm_consents_descr: string;
|
|
5
|
+
contact_email: string;
|
|
6
|
+
contact_message: string;
|
|
7
|
+
contact_tel: string;
|
|
8
|
+
id: number;
|
|
9
|
+
logo: string;
|
|
10
|
+
name: string;
|
|
11
|
+
updated_at: string;
|
|
12
|
+
};
|
|
13
|
+
customer_id: number;
|
|
14
|
+
id: number;
|
|
15
|
+
name: string;
|
|
16
|
+
path: string;
|
|
17
|
+
patientIds: {
|
|
18
|
+
id: number;
|
|
19
|
+
soknad_id: string;
|
|
20
|
+
}[];
|
|
21
|
+
region: number;
|
|
22
|
+
sds_id: number;
|
|
23
|
+
updated_at: string;
|
|
24
|
+
upload_patient_id: number;
|
|
25
|
+
success: string;
|
|
26
|
+
}
|
|
27
27
|
//# sourceMappingURL=IUploadedDocument.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=IUploadedDocument.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export declare enum ArtifactPresenterTypes {
|
|
2
|
-
Qnr = "Questionnaire",
|
|
3
|
-
DocumentProxy = "DocumentProxy",
|
|
4
|
-
DocumentConnector = "DocumentConnector",
|
|
5
|
-
DocumentOutlook = "DocumentOutlook"
|
|
6
|
-
}
|
|
7
|
-
export declare enum FileExtension {
|
|
8
|
-
ZIP = "zip",
|
|
9
|
-
XLSX = "xlsx",
|
|
10
|
-
XLS = "xls",
|
|
11
|
-
TXT = "txt",
|
|
12
|
-
RAR = "rar",
|
|
13
|
-
PPTX = "pptx",
|
|
14
|
-
PPT = "ppt",
|
|
15
|
-
PNG = "png",
|
|
16
|
-
WEBP = "webp",
|
|
17
|
-
PDF = "pdf",
|
|
18
|
-
SVG = "svg",
|
|
19
|
-
ODT = "odt",
|
|
20
|
-
JPG = "jpg",
|
|
21
|
-
JPEG = "jpeg",
|
|
22
|
-
GIF = "gif",
|
|
23
|
-
DOCX = "docx",
|
|
24
|
-
DOC = "doc",
|
|
25
|
-
APP = "app",
|
|
26
|
-
UNKNOWN = "unknown"
|
|
27
|
-
}
|
|
1
|
+
export declare enum ArtifactPresenterTypes {
|
|
2
|
+
Qnr = "Questionnaire",
|
|
3
|
+
DocumentProxy = "DocumentProxy",
|
|
4
|
+
DocumentConnector = "DocumentConnector",
|
|
5
|
+
DocumentOutlook = "DocumentOutlook"
|
|
6
|
+
}
|
|
7
|
+
export declare enum FileExtension {
|
|
8
|
+
ZIP = "zip",
|
|
9
|
+
XLSX = "xlsx",
|
|
10
|
+
XLS = "xls",
|
|
11
|
+
TXT = "txt",
|
|
12
|
+
RAR = "rar",
|
|
13
|
+
PPTX = "pptx",
|
|
14
|
+
PPT = "ppt",
|
|
15
|
+
PNG = "png",
|
|
16
|
+
WEBP = "webp",
|
|
17
|
+
PDF = "pdf",
|
|
18
|
+
SVG = "svg",
|
|
19
|
+
ODT = "odt",
|
|
20
|
+
JPG = "jpg",
|
|
21
|
+
JPEG = "jpeg",
|
|
22
|
+
GIF = "gif",
|
|
23
|
+
DOCX = "docx",
|
|
24
|
+
DOC = "doc",
|
|
25
|
+
APP = "app",
|
|
26
|
+
UNKNOWN = "unknown"
|
|
27
|
+
}
|
|
28
28
|
//# sourceMappingURL=artifact_enums.d.ts.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export var ArtifactPresenterTypes;
|
|
2
|
-
(function (ArtifactPresenterTypes) {
|
|
3
|
-
ArtifactPresenterTypes["Qnr"] = "Questionnaire";
|
|
4
|
-
ArtifactPresenterTypes["DocumentProxy"] = "DocumentProxy";
|
|
5
|
-
ArtifactPresenterTypes["DocumentConnector"] = "DocumentConnector";
|
|
6
|
-
ArtifactPresenterTypes["DocumentOutlook"] = "DocumentOutlook";
|
|
7
|
-
})(ArtifactPresenterTypes || (ArtifactPresenterTypes = {}));
|
|
8
|
-
export var FileExtension;
|
|
9
|
-
(function (FileExtension) {
|
|
10
|
-
FileExtension["ZIP"] = "zip";
|
|
11
|
-
FileExtension["XLSX"] = "xlsx";
|
|
12
|
-
FileExtension["XLS"] = "xls";
|
|
13
|
-
FileExtension["TXT"] = "txt";
|
|
14
|
-
FileExtension["RAR"] = "rar";
|
|
15
|
-
FileExtension["PPTX"] = "pptx";
|
|
16
|
-
FileExtension["PPT"] = "ppt";
|
|
17
|
-
FileExtension["PNG"] = "png";
|
|
18
|
-
FileExtension["WEBP"] = "webp";
|
|
19
|
-
FileExtension["PDF"] = "pdf";
|
|
20
|
-
FileExtension["SVG"] = "svg";
|
|
21
|
-
FileExtension["ODT"] = "odt";
|
|
22
|
-
FileExtension["JPG"] = "jpg";
|
|
23
|
-
FileExtension["JPEG"] = "jpeg";
|
|
24
|
-
FileExtension["GIF"] = "gif";
|
|
25
|
-
FileExtension["DOCX"] = "docx";
|
|
26
|
-
FileExtension["DOC"] = "doc";
|
|
27
|
-
FileExtension["APP"] = "app";
|
|
28
|
-
FileExtension["UNKNOWN"] = "unknown";
|
|
29
|
-
})(FileExtension || (FileExtension = {}));
|
|
1
|
+
export var ArtifactPresenterTypes;
|
|
2
|
+
(function (ArtifactPresenterTypes) {
|
|
3
|
+
ArtifactPresenterTypes["Qnr"] = "Questionnaire";
|
|
4
|
+
ArtifactPresenterTypes["DocumentProxy"] = "DocumentProxy";
|
|
5
|
+
ArtifactPresenterTypes["DocumentConnector"] = "DocumentConnector";
|
|
6
|
+
ArtifactPresenterTypes["DocumentOutlook"] = "DocumentOutlook";
|
|
7
|
+
})(ArtifactPresenterTypes || (ArtifactPresenterTypes = {}));
|
|
8
|
+
export var FileExtension;
|
|
9
|
+
(function (FileExtension) {
|
|
10
|
+
FileExtension["ZIP"] = "zip";
|
|
11
|
+
FileExtension["XLSX"] = "xlsx";
|
|
12
|
+
FileExtension["XLS"] = "xls";
|
|
13
|
+
FileExtension["TXT"] = "txt";
|
|
14
|
+
FileExtension["RAR"] = "rar";
|
|
15
|
+
FileExtension["PPTX"] = "pptx";
|
|
16
|
+
FileExtension["PPT"] = "ppt";
|
|
17
|
+
FileExtension["PNG"] = "png";
|
|
18
|
+
FileExtension["WEBP"] = "webp";
|
|
19
|
+
FileExtension["PDF"] = "pdf";
|
|
20
|
+
FileExtension["SVG"] = "svg";
|
|
21
|
+
FileExtension["ODT"] = "odt";
|
|
22
|
+
FileExtension["JPG"] = "jpg";
|
|
23
|
+
FileExtension["JPEG"] = "jpeg";
|
|
24
|
+
FileExtension["GIF"] = "gif";
|
|
25
|
+
FileExtension["DOCX"] = "docx";
|
|
26
|
+
FileExtension["DOC"] = "doc";
|
|
27
|
+
FileExtension["APP"] = "app";
|
|
28
|
+
FileExtension["UNKNOWN"] = "unknown";
|
|
29
|
+
})(FileExtension || (FileExtension = {}));
|
|
30
30
|
//# sourceMappingURL=artifact_enums.js.map
|