digicust_types 1.8.47 → 1.8.49

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,12 +3,18 @@ export declare enum CustomsSystem {
3
3
  atlas = "atlas",
4
4
  eZoll = "eZoll"
5
5
  }
6
- export interface Mapping {
7
- alias: string;
8
- mapping: {
9
- [key: string]: any;
6
+ export interface MappingObject {
7
+ sourcePath: string;
8
+ destinationPath: string;
9
+ useOfIterators?: {
10
+ [iterator: string]: "$index" | string;
10
11
  };
11
12
  }
13
+ export interface Mapping {
14
+ name?: string;
15
+ description?: string;
16
+ mapping?: MappingObject[];
17
+ }
12
18
  /**
13
19
  * Project Model provides all the data related to a project and customer
14
20
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.47",
3
+ "version": "1.8.49",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",