@epilot/automation-client 2.6.0 → 2.8.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 epilot GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
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
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/openapi.d.ts CHANGED
@@ -1171,6 +1171,9 @@ declare namespace Components {
1171
1171
  export interface ErrorOutput {
1172
1172
  error_code: ErrorCode;
1173
1173
  error_reason: string;
1174
+ error_info?: {
1175
+ [name: string]: any;
1176
+ };
1174
1177
  }
1175
1178
  export type ExecutionStatus = "pending" | "in_progress" | "success" | "failed" | "cancelled" | "skipped";
1176
1179
  export interface ExistsCondition {
package/dist/openapi.json CHANGED
@@ -694,6 +694,10 @@
694
694
  },
695
695
  "error_reason": {
696
696
  "type": "string"
697
+ },
698
+ "error_info": {
699
+ "type": "object",
700
+ "additionalProperties": true
697
701
  }
698
702
  },
699
703
  "required": [
@@ -2126,7 +2130,7 @@
2126
2130
  "properties": {
2127
2131
  "operation": {
2128
2132
  "type": "array",
2129
- "description": "Filter on operation type. If not specified, all operations will be matched on execution.\nExample:\n 1. Filter all the createEntity/updateEntity operations \n ```\n { \n \"operation\":{\n \"operation\": [\"createEntity\", \"updateEntity\"]\n }\n }\n ```\n",
2133
+ "description": "Filter on operation type. If not specified, all operations will be matched on execution.\nExample:\n 1. Filter all the createEntity/updateEntity operations\n ```\n {\n \"operation\":{\n \"operation\": [\"createEntity\", \"updateEntity\"]\n }\n }\n ```\n",
2130
2134
  "items": {
2131
2135
  "$ref": "#/components/schemas/EntityOperation"
2132
2136
  }
@@ -2193,7 +2197,7 @@
2193
2197
  "EntityUpdated",
2194
2198
  "DocUploadedFromPortal"
2195
2199
  ],
2196
- "description": "Filter on activity type. If not specified, all activities will be matched on execution.\nExample:\n 1. Filter the events when an entity is updated from portal\n ```\n { \n \"activity\":{\n \"type\": [\"EntityUpdatedFromPortal\"]\n }\n }\n ```\n 2. Filter the events when either a doc is uploaded/removed on an entity from a portal\n ```\n { \n \"activity\":{\n \"type\": [\"DocUploadedFromPortal\", \"DocRemovedFromPortal\"]\n }\n }\n ```\n"
2200
+ "description": "Filter on activity type. If not specified, all activities will be matched on execution.\nExample:\n 1. Filter the events when an entity is updated from portal\n ```\n {\n \"activity\":{\n \"type\": [\"EntityUpdatedFromPortal\"]\n }\n }\n ```\n 2. Filter the events when either a doc is uploaded/removed on an entity from a portal\n ```\n {\n \"activity\":{\n \"type\": [\"DocUploadedFromPortal\", \"DocRemovedFromPortal\"]\n }\n }\n ```\n"
2197
2201
  }
2198
2202
  }
2199
2203
  }
@@ -2333,7 +2337,7 @@
2333
2337
  },
2334
2338
  {
2335
2339
  "type": "object",
2336
- "description": "- Filter on entity payload that is modified. If not specified, entire entity be matched on execution.\n Example:\n ```\n {\n \"operation\": {\n \"payload\": {\n \"_schema\": [\"contact\"]\n \"address\": { \n \"country\": [\"Germany\"] \n }\n age: [ { \"numeric\": [ \">\", 25, \"<=\", 35 ] } ]\n }\n }\n }\n",
2340
+ "description": "- Filter on entity payload that is modified. If not specified, entire entity be matched on execution.\n Example:\n ```\n {\n \"operation\": {\n \"payload\": {\n \"_schema\": [\"contact\"]\n \"address\": {\n \"country\": [\"Germany\"]\n }\n age: [ { \"numeric\": [ \">\", 25, \"<=\", 35 ] } ]\n }\n }\n }\n",
2337
2341
  "additionalProperties": {
2338
2342
  "type": "array",
2339
2343
  "items": {
@@ -2529,9 +2533,6 @@
2529
2533
  }
2530
2534
  },
2531
2535
  "servers": [
2532
- {
2533
- "url": "https://automation.sls.epilot.io"
2534
- },
2535
2536
  {
2536
2537
  "url": "https://automation.sls.epilot.io"
2537
2538
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/automation-client",
3
- "version": "2.6.0",
3
+ "version": "2.8.0",
4
4
  "description": "Client library for epilot automation API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "!*.config.js"
46
46
  ],
47
47
  "peerDependencies": {
48
- "axios": "^0.25.0"
48
+ "axios": "^1.6.2"
49
49
  },
50
50
  "dependencies": {
51
51
  "@dazn/lambda-powertools-correlation-ids": "^1.28.1",
@@ -59,12 +59,12 @@
59
59
  "@oclif/command": "^1.8.18",
60
60
  "@oclif/errors": "^1.3.6",
61
61
  "@types/jest": "^26.0.20",
62
- "axios": "^0.25.0",
62
+ "axios": "^1.6.2",
63
63
  "copy-webpack-plugin": "^7.0.0",
64
64
  "jest": "^26.6.3",
65
65
  "json-loader": "^0.5.7",
66
66
  "node-fetch": "^3.2.10",
67
- "openapi-client-axios": "^7.1.3",
67
+ "openapi-client-axios": "^7.5.1",
68
68
  "openapi-client-axios-typegen": "^7.4.1",
69
69
  "openapicmd": "^1.16.2",
70
70
  "ts-jest": "^26.5.0",
@@ -75,5 +75,5 @@
75
75
  "webpack-cli": "^4.4.0",
76
76
  "whatwg-url": "^11.0.0"
77
77
  },
78
- "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
79
- }
78
+ "gitHead": "87e13b737363092db3b30c32df8e0507f7348697"
79
+ }