@epilot/entity-mapping-client
Advanced tools
Comparing version 0.6.1 to 0.8.0
@@ -1,1 +0,1 @@ | ||
(()=>{"use strict";var e={914:function(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=i(r(240));t.default=n.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"servers":[{"url":"https://http://entity-mapping.sls.epilot.io/"}],"paths":{"/v1/mappings":{"post":{"operationId":"storeConfig","parameters":[{"name":"with_id","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/mappings/{id}":{"get":{"operationId":"getConfig","parameters":[{"name":"id","in":"path","required":true}]},"delete":{"operationId":"deleteConfig","parameters":[{"name":"id","in":"path","required":true}]}},"/v1/mappings/{id}/versions":{"get":{"operationId":"getAllVersions","parameters":[{"name":"id","in":"path","required":true}]},"post":{"operationId":"storeNewVersion","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/mappings/{id}/versions/{version}":{"get":{"operationId":"getConfigVersion","parameters":[{"name":"id","in":"path","required":true},{"name":"version","in":"path","required":true}]}},"/v1/mappings:execute":{"post":{"operationId":"executeMapping","parameters":[{"name":"preview_mode","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/mappings:search":{"post":{"operationId":"searchConfigs","requestBody":{"content":{"application/json":{}}}}},"/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"}]}},"/v1/relations:execute":{"post":{"operationId":"executeRelations","requestBody":{"content":{"application/json":{}}}}}},"components":{}}')}},t={},r=function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,r),o.exports}(914),i=exports;for(var n in r)i[n]=r[n];r.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})(); | ||
(()=>{"use strict";var e={914:function(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=i(r(240));t.default=n.default},240: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":{}}}}},"/v1/mappings/{id}":{"get":{"operationId":"getConfig","parameters":[{"name":"id","in":"path","required":true}]},"delete":{"operationId":"deleteConfig","parameters":[{"name":"id","in":"path","required":true}]}},"/v1/mappings/{id}/versions":{"get":{"operationId":"getAllVersions","parameters":[{"name":"id","in":"path","required":true}]},"post":{"operationId":"storeNewVersion","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/mappings/{id}/versions/{version}":{"get":{"operationId":"getConfigVersion","parameters":[{"name":"id","in":"path","required":true},{"name":"version","in":"path","required":true}]}},"/v1/mappings:execute":{"post":{"operationId":"executeMapping","parameters":[{"name":"preview_mode","in":"query","required":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/mappings:search":{"post":{"operationId":"searchConfigs","requestBody":{"content":{"application/json":{}}}}},"/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"}]}},"/v1/relations:execute":{"post":{"operationId":"executeRelations","requestBody":{"content":{"application/json":{}}}}}},"components":{},"servers":[{"url":"https://entity-mapping.sls.epilot.io/"}]}')}},t={},r=function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,r),o.exports}(914),i=exports;for(var n in r)i[n]=r[n];r.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})(); |
@@ -7,7 +7,2 @@ { | ||
}, | ||
"servers": [ | ||
{ | ||
"url": "https://http://entity-mapping.sls.epilot.io/" | ||
} | ||
], | ||
"paths": { | ||
@@ -160,3 +155,8 @@ "/v1/mappings": { | ||
}, | ||
"components": {} | ||
"components": {}, | ||
"servers": [ | ||
{ | ||
"url": "https://entity-mapping.sls.epilot.io/" | ||
} | ||
] | ||
} |
@@ -105,2 +105,3 @@ /* eslint-disable */ | ||
failures?: MappingFailure[]; | ||
warnings?: MappingWarning[]; | ||
} | ||
@@ -297,2 +298,7 @@ /** | ||
export type MappingSourceTargetType = "string" | "date" | "datetime" | "boolean" | "number" | "image" | "file" | "address" | "email" | "phone" | "select" | "multiselect"; | ||
export interface MappingWarning { | ||
explanation: string; | ||
context?: string; | ||
id?: string; | ||
} | ||
export interface NewRelationItem { | ||
@@ -299,0 +305,0 @@ source_entity_id: string; |
@@ -19,8 +19,2 @@ { | ||
], | ||
"servers": [ | ||
{ | ||
"url": "https://http://entity-mapping.sls.epilot.io/", | ||
"description": "Production Server" | ||
} | ||
], | ||
"paths": { | ||
@@ -686,2 +680,8 @@ "/v1/mappings": { | ||
} | ||
}, | ||
"warnings": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/components/schemas/MappingWarning" | ||
} | ||
} | ||
@@ -713,2 +713,19 @@ }, | ||
}, | ||
"MappingWarning": { | ||
"type": "object", | ||
"properties": { | ||
"explanation": { | ||
"type": "string" | ||
}, | ||
"context": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"explanation" | ||
] | ||
}, | ||
"Entity": { | ||
@@ -1447,3 +1464,8 @@ "type": "object", | ||
} | ||
} | ||
}, | ||
"servers": [ | ||
{ | ||
"url": "https://entity-mapping.sls.epilot.io/" | ||
} | ||
] | ||
} |
{ | ||
"name": "@epilot/entity-mapping-client", | ||
"version": "0.6.1", | ||
"version": "0.8.0", | ||
"description": "JavaScript client library for the ePilot Entity Mapping API", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"license": "MIT", | ||
"repsitory": { | ||
"repository": { | ||
"type": "git", | ||
@@ -51,3 +51,3 @@ "url": "git+https://github.com/epilot-dev/sdk-js.git", | ||
"peerDependencies": { | ||
"axios": "^0.25.0" | ||
"axios": "^1.6.2" | ||
}, | ||
@@ -58,3 +58,3 @@ "dependencies": { | ||
"https-browserify": "^1.0.0", | ||
"openapi-client-axios": "^7.1.3", | ||
"openapi-client-axios": "^7.5.1", | ||
"stream-http": "^3.1.1", | ||
@@ -66,3 +66,3 @@ "url": "^0.11.0", | ||
"@types/jest": "^28.1.3", | ||
"axios": "^0.25.0", | ||
"axios": "^1.6.2", | ||
"copy-webpack-plugin": "^7.0.0", | ||
@@ -81,2 +81,2 @@ "jest": "^28.1.3", | ||
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
82053
2601
0
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.8(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removedaxios@0.25.0(transitive)
Updatedopenapi-client-axios@^7.5.1