@epilot/automation-client 2.8.0 → 2.8.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 +0 -0
- package/dist/client.js +0 -0
- package/dist/definition.d.ts +0 -0
- package/dist/definition.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/openapi.d.ts +5 -1
- package/dist/openapi.json +10 -1
- package/package.json +3 -3
- package/LICENSE +0 -21
package/dist/client.d.ts
CHANGED
|
File without changes
|
package/dist/client.js
CHANGED
|
File without changes
|
package/dist/definition.d.ts
CHANGED
|
File without changes
|
package/dist/definition.js
CHANGED
|
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
|
@@ -1167,7 +1167,7 @@ declare namespace Components {
|
|
|
1167
1167
|
export interface EqualsIgnoreCaseCondition {
|
|
1168
1168
|
"equals-ignore-case"?: string;
|
|
1169
1169
|
}
|
|
1170
|
-
export type ErrorCode = "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR";
|
|
1170
|
+
export type ErrorCode = "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR";
|
|
1171
1171
|
export interface ErrorOutput {
|
|
1172
1172
|
error_code: ErrorCode;
|
|
1173
1173
|
error_reason: string;
|
|
@@ -1947,6 +1947,10 @@ declare namespace Components {
|
|
|
1947
1947
|
export interface TriggerWebhookConfig {
|
|
1948
1948
|
entity_sources?: string[];
|
|
1949
1949
|
target_webhook_id?: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* Whether to wait for the request to finish before continuing automation execution
|
|
1952
|
+
*/
|
|
1953
|
+
sync?: boolean;
|
|
1950
1954
|
}
|
|
1951
1955
|
export interface TriggerWorkflowAction {
|
|
1952
1956
|
id?: /**
|
package/dist/openapi.json
CHANGED
|
@@ -714,7 +714,8 @@
|
|
|
714
714
|
"TRIGGER_WORKFLOW_ERROR",
|
|
715
715
|
"TIMEOUT_ERROR",
|
|
716
716
|
"BAD_CONFIG",
|
|
717
|
-
"INTERNAL_ERROR"
|
|
717
|
+
"INTERNAL_ERROR",
|
|
718
|
+
"TRIGGER_WEBHOOK_ERROR"
|
|
718
719
|
]
|
|
719
720
|
},
|
|
720
721
|
"CartCheckoutActionConfig": {
|
|
@@ -1708,6 +1709,11 @@
|
|
|
1708
1709
|
},
|
|
1709
1710
|
"target_webhook_id": {
|
|
1710
1711
|
"type": "string"
|
|
1712
|
+
},
|
|
1713
|
+
"sync": {
|
|
1714
|
+
"type": "boolean",
|
|
1715
|
+
"description": "Whether to wait for the request to finish before continuing automation execution",
|
|
1716
|
+
"default": false
|
|
1711
1717
|
}
|
|
1712
1718
|
}
|
|
1713
1719
|
},
|
|
@@ -2533,6 +2539,9 @@
|
|
|
2533
2539
|
}
|
|
2534
2540
|
},
|
|
2535
2541
|
"servers": [
|
|
2542
|
+
{
|
|
2543
|
+
"url": "https://automation.sls.epilot.io"
|
|
2544
|
+
},
|
|
2536
2545
|
{
|
|
2537
2546
|
"url": "https://automation.sls.epilot.io"
|
|
2538
2547
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/automation-client",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "Client library for epilot automation API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"node-fetch": "^3.2.10",
|
|
67
67
|
"openapi-client-axios": "^7.5.1",
|
|
68
68
|
"openapi-client-axios-typegen": "^7.4.1",
|
|
69
|
-
"openapicmd": "^1.
|
|
69
|
+
"openapicmd": "^2.1.0",
|
|
70
70
|
"ts-jest": "^26.5.0",
|
|
71
71
|
"ts-loader": "^8.0.14",
|
|
72
72
|
"ts-node": "^10.9.1",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"webpack-cli": "^4.4.0",
|
|
76
76
|
"whatwg-url": "^11.0.0"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
79
79
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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.
|