digicust_types 1.8.387 → 1.8.389
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/digicust/case/case-file.mapping.d.ts +24 -0
- package/lib/models/digicust/case/case-file.mapping.js +2 -0
- package/lib/models/digicust/case/index.d.ts +1 -0
- package/lib/models/digicust/case/index.js +1 -0
- package/lib/models/digicust/event/event.model.d.ts +1 -16
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +1 -0
- package/lib/models/digicust/multerfile.model.d.ts +0 -1
- package/package.json +1 -1
@@ -0,0 +1,24 @@
|
|
1
|
+
export interface CaseFileMapping {
|
2
|
+
format?: "JSON" | "CSV" | "XML" | "TXT" | "XLSX";
|
3
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
4
|
+
fileNameMapping?: string;
|
5
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
6
|
+
mapping?: string;
|
7
|
+
/** Remove tags that are "", null or undefined from output. Defaults to false */
|
8
|
+
removeEmptyTags?: boolean;
|
9
|
+
/** Delimiter for CSV mapping */
|
10
|
+
csvSeparator?: string;
|
11
|
+
csvForceTextDelimiter?: boolean;
|
12
|
+
/**
|
13
|
+
* Text delimiter for CSV mapping. Defaults to '"'
|
14
|
+
*/
|
15
|
+
csvTextDelimiter?: string;
|
16
|
+
/**
|
17
|
+
* Replace CSV separator in values with this string.
|
18
|
+
*/
|
19
|
+
csvReplaceCsvSeparatorInFields?: string;
|
20
|
+
/** Include headers in CSV */
|
21
|
+
includeHeaders?: boolean;
|
22
|
+
/** Remove non-latin symbols */
|
23
|
+
removeAccents?: boolean;
|
24
|
+
}
|
@@ -19,5 +19,6 @@ __exportStar(require("./case-status.enum"), exports);
|
|
19
19
|
__exportStar(require("./case-submission-transaction"), exports);
|
20
20
|
__exportStar(require("./case-type.enum"), exports);
|
21
21
|
__exportStar(require("./case.model"), exports);
|
22
|
+
__exportStar(require("./case-file.mapping"), exports);
|
22
23
|
__exportStar(require("./context.model"), exports);
|
23
24
|
__exportStar(require("./uploaded-file.model"), exports);
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { CaseFileMapping } from "../case";
|
1
2
|
/**
|
2
3
|
* Base model of an event (e.g. webhook or email)
|
3
4
|
*/
|
@@ -53,19 +54,3 @@ export interface EmailEvent extends Event {
|
|
53
54
|
active?: boolean;
|
54
55
|
} & CaseFileMapping;
|
55
56
|
}
|
56
|
-
export interface CaseFileMapping {
|
57
|
-
format?: "JSON" | "CSV" | "XML" | "TXT" | "XLSX";
|
58
|
-
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
59
|
-
fileNameMapping?: string;
|
60
|
-
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
61
|
-
mapping?: string;
|
62
|
-
/** Remove tags that are "", null or undefined from output. Defaults to false */
|
63
|
-
removeEmptyTags?: boolean;
|
64
|
-
/** Delimiter for CSV mapping */
|
65
|
-
csvSeparator?: string;
|
66
|
-
csvForceTextDelimiter?: boolean;
|
67
|
-
/** Include headers in CSV */
|
68
|
-
includeHeaders?: boolean;
|
69
|
-
/** Remove non-latin symbols */
|
70
|
-
removeAccents?: boolean;
|
71
|
-
}
|
@@ -508,6 +508,7 @@ export interface ExecutionStrategy {
|
|
508
508
|
submission?: Submission;
|
509
509
|
doNotSendUploadNotification?: boolean;
|
510
510
|
doNotSendProcessedNotification?: boolean;
|
511
|
+
ruleSystem?: "default" | "chained";
|
511
512
|
events?: Event[];
|
512
513
|
rules?: Rule[];
|
513
514
|
userInputTemplates?: UserInputTemplate[];
|