@epilot/entity-mapping-client 0.8.1 → 0.8.3
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/dist/openapi.d.ts +6 -1
- package/dist/openapi.json +9 -1
- package/package.json +4 -4
package/dist/openapi.d.ts
CHANGED
|
@@ -267,7 +267,7 @@ declare namespace Components {
|
|
|
267
267
|
/**
|
|
268
268
|
* Whether its a read-only ui or not. Can be each target, or only the first. Overwrites uiActions
|
|
269
269
|
*/
|
|
270
|
-
locked?: "each" | "first";
|
|
270
|
+
locked?: "each" | "first" | "system_recommendation";
|
|
271
271
|
/**
|
|
272
272
|
* Whether all source mappings flow into a single attribute (e.g. address)
|
|
273
273
|
*/
|
|
@@ -292,6 +292,10 @@ declare namespace Components {
|
|
|
292
292
|
* Data Structure Type of the underlaying output value
|
|
293
293
|
*/
|
|
294
294
|
possible_target_types?: MappingSourceTargetType[];
|
|
295
|
+
/**
|
|
296
|
+
* Whether the raw value should be used, or whether the value is enriched by a path
|
|
297
|
+
*/
|
|
298
|
+
raw?: boolean;
|
|
295
299
|
}
|
|
296
300
|
export type MappingSourceTargetType = "string" | "date" | "datetime" | "boolean" | "number" | "image" | "file" | "address" | "email" | "phone" | "select" | "multiselect";
|
|
297
301
|
export interface MappingWarning {
|
|
@@ -401,6 +405,7 @@ declare namespace Components {
|
|
|
401
405
|
[name: string]: any;
|
|
402
406
|
};
|
|
403
407
|
mode: "append" | "prepend" | "set";
|
|
408
|
+
origin?: /* Origin of an attribute. */ AttributeOrigin;
|
|
404
409
|
}
|
|
405
410
|
export interface RelationItem {
|
|
406
411
|
entity_id: string;
|
package/dist/openapi.json
CHANGED
|
@@ -1001,6 +1001,9 @@
|
|
|
1001
1001
|
"prepend",
|
|
1002
1002
|
"set"
|
|
1003
1003
|
]
|
|
1004
|
+
},
|
|
1005
|
+
"origin": {
|
|
1006
|
+
"$ref": "#/components/schemas/AttributeOrigin"
|
|
1004
1007
|
}
|
|
1005
1008
|
},
|
|
1006
1009
|
"required": [
|
|
@@ -1371,7 +1374,8 @@
|
|
|
1371
1374
|
"type": "string",
|
|
1372
1375
|
"enum": [
|
|
1373
1376
|
"each",
|
|
1374
|
-
"first"
|
|
1377
|
+
"first",
|
|
1378
|
+
"system_recommendation"
|
|
1375
1379
|
],
|
|
1376
1380
|
"description": "Whether its a read-only ui or not. Can be each target, or only the first. Overwrites uiActions"
|
|
1377
1381
|
},
|
|
@@ -1433,6 +1437,10 @@
|
|
|
1433
1437
|
"$ref": "#/components/schemas/MappingSourceTargetType"
|
|
1434
1438
|
},
|
|
1435
1439
|
"description": "Data Structure Type of the underlaying output value"
|
|
1440
|
+
},
|
|
1441
|
+
"raw": {
|
|
1442
|
+
"type": "boolean",
|
|
1443
|
+
"description": "Whether the raw value should be used, or whether the value is enriched by a path"
|
|
1436
1444
|
}
|
|
1437
1445
|
},
|
|
1438
1446
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/entity-mapping-client",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "JavaScript client library for the ePilot Entity Mapping API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"!*.config.js"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"axios": "^
|
|
50
|
+
"axios": "^1.6.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"jest": "^28.1.3",
|
|
66
66
|
"json-loader": "^0.5.7",
|
|
67
67
|
"openapi-client-axios-typegen": "^7.4.1",
|
|
68
|
-
"openapicmd": "^1.
|
|
68
|
+
"openapicmd": "^2.1.0",
|
|
69
69
|
"ts-jest": "^28.0.6",
|
|
70
70
|
"ts-loader": "^8.0.14",
|
|
71
71
|
"ts-node": "^10.9.1",
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
"webpack-cli": "^4.4.0"
|
|
75
75
|
},
|
|
76
76
|
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
77
|
-
}
|
|
77
|
+
}
|