@epilot/automation-client 2.18.7 → 2.18.8

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/openapi.d.ts CHANGED
@@ -1942,7 +1942,7 @@ declare namespace Components {
1942
1942
  export interface EqualsIgnoreCaseCondition {
1943
1943
  "equals-ignore-case"?: string;
1944
1944
  }
1945
- export type ErrorCode = "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR" | "TEMPLATE_ERROR" | "INVALID_PAYLOAD" | "INVALID_SCHEDULE_CONFIG" | "CUSTOM_ACTION_ERROR";
1945
+ export type ErrorCode = "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR" | "TEMPLATE_ERROR" | "INVALID_PAYLOAD" | "INVALID_SCHEDULE_CONFIG" | "CUSTOM_ACTION_ERROR" | "ORDER_CREATION_ERROR" | "DOCUMENT_GENERATION_ERROR" | "BULK_EMAIL_ERROR" | "SHARING_ERROR" | "CANCEL_FLOW_EXECUTION_ERROR";
1946
1946
  export interface ErrorDetail {
1947
1947
  explanation: string;
1948
1948
  context?: string;
package/dist/openapi.json CHANGED
@@ -1336,7 +1336,12 @@
1336
1336
  "TEMPLATE_ERROR",
1337
1337
  "INVALID_PAYLOAD",
1338
1338
  "INVALID_SCHEDULE_CONFIG",
1339
- "CUSTOM_ACTION_ERROR"
1339
+ "CUSTOM_ACTION_ERROR",
1340
+ "ORDER_CREATION_ERROR",
1341
+ "DOCUMENT_GENERATION_ERROR",
1342
+ "BULK_EMAIL_ERROR",
1343
+ "SHARING_ERROR",
1344
+ "CANCEL_FLOW_EXECUTION_ERROR"
1340
1345
  ]
1341
1346
  },
1342
1347
  "ErrorDetail": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/automation-client",
3
- "version": "2.18.7",
3
+ "version": "2.18.8",
4
4
  "description": "Client library for epilot automation API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "test": "jest",
26
26
  "typescript": "tsc",
27
27
  "bundle-definition": "webpack",
28
- "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/automation.yaml",
28
+ "openapi": "node ../../scripts/update-openapi.js ../../../backend/automation-api/lambda/ApiHandlerFunction/openapi.yml",
29
29
  "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
30
30
  "build": "tsc && npm run build:patch && npm run bundle-definition",
31
31
  "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",