digicust_types 1.8.387 → 1.8.389

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.
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,5 +3,6 @@ export * from "./case-status.enum";
3
3
  export * from "./case-submission-transaction";
4
4
  export * from "./case-type.enum";
5
5
  export * from "./case.model";
6
+ export * from "./case-file.mapping";
6
7
  export * from "./context.model";
7
8
  export * from "./uploaded-file.model";
@@ -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[];
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  /**
3
2
  * Information about an uploaded file. Used by multer package.
4
3
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.387",
3
+ "version": "1.8.389",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",