digicust_types 1.8.48 → 1.8.50

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