@epilot/entity-mapping-client 0.9.2 → 0.9.4
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/definition.js +1 -1
- package/dist/openapi.d.ts +7 -1
- package/dist/openapi.json +6 -4
- package/package.json +5 -4
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={466:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v1/mappings":{"post":{"operationId":"storeConfig","parameters":[{"name":"with_id","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/mappings/{id}":{"get":{"operationId":"getConfig","parameters":[{"name":"id","in":"path","required":true}],"responses":{}},"delete":{"operationId":"deleteConfig","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/mappings/{id}/versions":{"get":{"operationId":"getAllVersions","parameters":[{"name":"id","in":"path","required":true}],"responses":{}},"post":{"operationId":"storeNewVersion","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/mappings/{id}/versions/{version}":{"get":{"operationId":"getConfigVersion","parameters":[{"name":"id","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}}},"/v1/mappings:execute":{"post":{"operationId":"executeMapping","parameters":[{"name":"preview_mode","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/mappings:search":{"post":{"operationId":"searchConfigs","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/mappings/history":{"get":{"operationId":"queryMappingHistory","parameters":[{"in":"query","name":"from","required":false},{"in":"query","name":"to","required":false},{"in":"query","name":"targetEntityId"},{"in":"query","name":"sourceEntityId"}],"responses":{}}},"/v1/relations:execute":{"post":{"operationId":"executeRelations","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/mappings/{id}":{"get":{"operationId":"getMappingConfig","parameters":[{"name":"id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putMappingConfig","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}}},"components":{},"servers":[{"url":"https://entity-mapping.sls.epilot.io"}]}')},757:function(e,r,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var s=n(t(466));r.default=s.default}},r={},t=function t(n){var s=r[n];if(void 0!==s)return s.exports;var i=r[n]={exports:{}};return e[n].call(i.exports,i,i.exports,t),i.exports}(757),n=exports;for(var s in t)n[s]=t[s];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -284,6 +284,10 @@ declare namespace Components {
|
|
|
284
284
|
* Data Structure type of source
|
|
285
285
|
*/
|
|
286
286
|
source_type: string;
|
|
287
|
+
/**
|
|
288
|
+
* A group this source belongs to. Used for grouping sources in the UI
|
|
289
|
+
*/
|
|
290
|
+
group?: string;
|
|
287
291
|
/**
|
|
288
292
|
* Data Structure Type of the underlaying output value
|
|
289
293
|
*/
|
|
@@ -338,7 +342,7 @@ declare namespace Components {
|
|
|
338
342
|
*/
|
|
339
343
|
raw?: boolean;
|
|
340
344
|
}
|
|
341
|
-
export type MappingSourceTargetType = "string" | "date" | "datetime" | "boolean" | "number" | "image" | "file" | "address" | "email" | "phone" | "select" | "multiselect" | "payment";
|
|
345
|
+
export type MappingSourceTargetType = "string" | "date" | "datetime" | "boolean" | "number" | "image" | "file" | "address" | "email" | "phone" | "select" | "multiselect" | "payment" | "link";
|
|
342
346
|
export interface MappingWarning {
|
|
343
347
|
explanation: string;
|
|
344
348
|
context?: string;
|
|
@@ -761,6 +765,7 @@ declare namespace Paths {
|
|
|
761
765
|
}
|
|
762
766
|
}
|
|
763
767
|
|
|
768
|
+
|
|
764
769
|
export interface OperationMethods {
|
|
765
770
|
/**
|
|
766
771
|
* storeConfig - storeConfig
|
|
@@ -1027,6 +1032,7 @@ export interface PathsDictionary {
|
|
|
1027
1032
|
|
|
1028
1033
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1029
1034
|
|
|
1035
|
+
|
|
1030
1036
|
export type AppendValueMapper = Components.Schemas.AppendValueMapper;
|
|
1031
1037
|
export type AttributeOrigin = Components.Schemas.AttributeOrigin;
|
|
1032
1038
|
export type ConditionNode = Components.Schemas.ConditionNode;
|
package/dist/openapi.json
CHANGED
|
@@ -1471,6 +1471,10 @@
|
|
|
1471
1471
|
"type": "string",
|
|
1472
1472
|
"description": "Data Structure type of source"
|
|
1473
1473
|
},
|
|
1474
|
+
"group": {
|
|
1475
|
+
"type": "string",
|
|
1476
|
+
"description": "A group this source belongs to. Used for grouping sources in the UI"
|
|
1477
|
+
},
|
|
1474
1478
|
"possible_target_types": {
|
|
1475
1479
|
"type": "array",
|
|
1476
1480
|
"items": {
|
|
@@ -1600,15 +1604,13 @@
|
|
|
1600
1604
|
"phone",
|
|
1601
1605
|
"select",
|
|
1602
1606
|
"multiselect",
|
|
1603
|
-
"payment"
|
|
1607
|
+
"payment",
|
|
1608
|
+
"link"
|
|
1604
1609
|
]
|
|
1605
1610
|
}
|
|
1606
1611
|
}
|
|
1607
1612
|
},
|
|
1608
1613
|
"servers": [
|
|
1609
|
-
{
|
|
1610
|
-
"url": "https://entity-mapping.sls.epilot.io"
|
|
1611
|
-
},
|
|
1612
1614
|
{
|
|
1613
1615
|
"url": "https://entity-mapping.sls.epilot.io"
|
|
1614
1616
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/entity-mapping-client",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.4",
|
|
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",
|
|
7
7
|
"author": "ePilot GmbH",
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"private": false,
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
|
11
12
|
"url": "git+https://github.com/epilot-dev/sdk-js.git",
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
"build:watch": "npm run build && tsc -w",
|
|
33
34
|
"prepublishOnly": "npm run typegen && npm run build",
|
|
34
35
|
"release-alpha": "npm version prerelease --preid alpha",
|
|
35
|
-
"lint": "
|
|
36
|
+
"lint": "pnpm exec eslint src"
|
|
36
37
|
},
|
|
37
38
|
"files": [
|
|
38
39
|
"*.js",
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
|
|
55
56
|
"buffer": "^6.0.3",
|
|
56
57
|
"https-browserify": "^1.0.0",
|
|
57
|
-
"openapi-client-axios": "^7.
|
|
58
|
+
"openapi-client-axios": "^7.6.0",
|
|
58
59
|
"stream-http": "^3.1.1",
|
|
59
60
|
"url": "^0.11.0",
|
|
60
61
|
"util": "^0.12.3"
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"copy-webpack-plugin": "^7.0.0",
|
|
66
67
|
"jest": "^28.1.3",
|
|
67
68
|
"json-loader": "^0.5.7",
|
|
68
|
-
"openapicmd": "^2.
|
|
69
|
+
"openapicmd": "^2.7.0",
|
|
69
70
|
"ts-jest": "^28.0.6",
|
|
70
71
|
"ts-loader": "^8.0.14",
|
|
71
72
|
"ts-node": "^10.9.1",
|