@epilot/entity-mapping-client 0.8.7 → 0.9.1

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/client.d.ts CHANGED
File without changes
package/dist/client.js CHANGED
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export type { Client, Components, Paths, PathsDictionary, OperationMethods } from './openapi';
2
1
  export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';
3
2
  export * from './client';
3
+ export * from './openapi';
package/dist/index.js CHANGED
File without changes
package/dist/openapi.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  /* eslint-disable */
2
+
2
3
  import type {
3
4
  OpenAPIClient,
4
5
  Parameters,
5
6
  UnknownParamsObject,
6
7
  OperationResponse,
7
8
  AxiosRequestConfig,
8
- } from 'openapi-client-axios';
9
+ } from 'openapi-client-axios';
9
10
 
10
11
  declare namespace Components {
11
12
  namespace Schemas {
@@ -1025,3 +1026,44 @@ export interface PathsDictionary {
1025
1026
  }
1026
1027
 
1027
1028
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1029
+
1030
+ export type AppendValueMapper = Components.Schemas.AppendValueMapper;
1031
+ export type AttributeOrigin = Components.Schemas.AttributeOrigin;
1032
+ export type ConditionNode = Components.Schemas.ConditionNode;
1033
+ export type CopyValueMapper = Components.Schemas.CopyValueMapper;
1034
+ export type Entity = Components.Schemas.Entity;
1035
+ export type EntityRef = Components.Schemas.EntityRef;
1036
+ export type ExecuteMappingReq = Components.Schemas.ExecuteMappingReq;
1037
+ export type ExecuteMappingResp = Components.Schemas.ExecuteMappingResp;
1038
+ export type ExecuteRelationsReq = Components.Schemas.ExecuteRelationsReq;
1039
+ export type ExecuteRelationsResp = Components.Schemas.ExecuteRelationsResp;
1040
+ export type JourneyRef = Components.Schemas.JourneyRef;
1041
+ export type Loop_Index_String = Components.Schemas.LoopIndexString;
1042
+ export type MapCondition = Components.Schemas.MapCondition;
1043
+ export type MappingAttribute = Components.Schemas.MappingAttribute;
1044
+ export type MappingAttributeMode = Components.Schemas.MappingAttributeMode;
1045
+ export type MappingAttributeV2 = Components.Schemas.MappingAttributeV2;
1046
+ export type MappingConfig = Components.Schemas.MappingConfig;
1047
+ export type MappingConfigCommonFields = Components.Schemas.MappingConfigCommonFields;
1048
+ export type MappingConfigV2 = Components.Schemas.MappingConfigV2;
1049
+ export type MappingConfigs = Components.Schemas.MappingConfigs;
1050
+ export type MappingConfigsResp = Components.Schemas.MappingConfigsResp;
1051
+ export type MappingFailure = Components.Schemas.MappingFailure;
1052
+ export type MappingHistoryEntry = Components.Schemas.MappingHistoryEntry;
1053
+ export type MappingHistoryResp = Components.Schemas.MappingHistoryResp;
1054
+ export type MappingSource = Components.Schemas.MappingSource;
1055
+ export type MappingSourceProperty = Components.Schemas.MappingSourceProperty;
1056
+ export type MappingSourceTargetType = Components.Schemas.MappingSourceTargetType;
1057
+ export type MappingWarning = Components.Schemas.MappingWarning;
1058
+ export type NewRelationItem = Components.Schemas.NewRelationItem;
1059
+ export type OperationNode = Components.Schemas.OperationNode;
1060
+ export type OperationObjectNode = Components.Schemas.OperationObjectNode;
1061
+ export type Owner = Components.Schemas.Owner;
1062
+ export type PrimitiveJSONValue = Components.Schemas.PrimitiveJSONValue;
1063
+ export type RandomOperation = Components.Schemas.RandomOperation;
1064
+ export type RelationAttribute = Components.Schemas.RelationAttribute;
1065
+ export type RelationItem = Components.Schemas.RelationItem;
1066
+ export type SearchMappingReq = Components.Schemas.SearchMappingReq;
1067
+ export type SetValueMapper = Components.Schemas.SetValueMapper;
1068
+ export type SourceConfig = Components.Schemas.SourceConfig;
1069
+ export type TargetConfig = Components.Schemas.TargetConfig;
package/dist/openapi.json CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-mapping-client",
3
- "version": "0.8.7",
3
+ "version": "0.9.1",
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",
@@ -26,8 +26,9 @@
26
26
  "typescript": "tsc",
27
27
  "bundle-definition": "webpack",
28
28
  "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/entity-mapping-api.yaml",
29
- "typegen": "echo '/* eslint-disable */' > src/openapi.d.ts && typegen ./src/openapi.json >> src/openapi.d.ts",
30
- "build": "tsc && npm run bundle-definition",
29
+ "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
30
+ "build": "tsc && npm run build:patch && npm run bundle-definition",
31
+ "build:patch": "sed -i '/^__exportStar.*openapi.*$/d' dist/index.js",
31
32
  "build:watch": "npm run build && tsc -w",
32
33
  "prepublishOnly": "npm run typegen && npm run build",
33
34
  "release-alpha": "npm version prerelease --preid alpha",
@@ -64,8 +65,7 @@
64
65
  "copy-webpack-plugin": "^7.0.0",
65
66
  "jest": "^28.1.3",
66
67
  "json-loader": "^0.5.7",
67
- "openapi-client-axios-typegen": "^7.4.1",
68
- "openapicmd": "^2.1.0",
68
+ "openapicmd": "^2.6.0",
69
69
  "ts-jest": "^28.0.6",
70
70
  "ts-loader": "^8.0.14",
71
71
  "ts-node": "^10.9.1",
@@ -73,5 +73,5 @@
73
73
  "webpack": "^5.18.0",
74
74
  "webpack-cli": "^4.4.0"
75
75
  },
76
- "gitHead": "3d3bf21ff82bd17b0d5439eebf3b27c3a6608646"
76
+ "gitHead": "cb7e6acc938eb178e531c19834ea8bd0d6445e6f"
77
77
  }