@epilot/automation-client 2.8.1 → 2.8.3
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 +8 -2
- package/dist/openapi.json +42 -10
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ declare namespace Components {
|
|
|
22
22
|
* submission
|
|
23
23
|
*/
|
|
24
24
|
schema?: string;
|
|
25
|
-
types?: ("CreateMeterReading" | "UpdateMeterReading" | "DocDownloadedFromPortal")[];
|
|
25
|
+
types?: (("CreateMeterReading" | "UpdateMeterReading" | "DocDownloadedFromPortal" | "PortalUserResetPassword" | "PortalUserResetForgotPassword") | string)[];
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
export type AnyAction = MapEntityAction | TriggerWorkflowAction | TriggerWebhookAction | CreateDocumentAction | SendEmailAction | /* Creates an order entity with prices from journey */ CartCheckoutAction | AutomationAction;
|
|
@@ -1167,12 +1167,18 @@ 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" | "TRIGGER_WEBHOOK_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" | "TEMPLATE_ERROR";
|
|
1171
|
+
export interface ErrorDetail {
|
|
1172
|
+
explanation: string;
|
|
1173
|
+
context?: string;
|
|
1174
|
+
id?: string;
|
|
1175
|
+
}
|
|
1171
1176
|
export interface ErrorOutput {
|
|
1172
1177
|
error_code: ErrorCode;
|
|
1173
1178
|
error_reason: string;
|
|
1174
1179
|
error_info?: {
|
|
1175
1180
|
[name: string]: any;
|
|
1181
|
+
details?: ErrorDetail[];
|
|
1176
1182
|
};
|
|
1177
1183
|
}
|
|
1178
1184
|
export type ExecutionStatus = "pending" | "in_progress" | "success" | "failed" | "cancelled" | "skipped";
|
package/dist/openapi.json
CHANGED
|
@@ -697,7 +697,15 @@
|
|
|
697
697
|
},
|
|
698
698
|
"error_info": {
|
|
699
699
|
"type": "object",
|
|
700
|
-
"additionalProperties": true
|
|
700
|
+
"additionalProperties": true,
|
|
701
|
+
"properties": {
|
|
702
|
+
"details": {
|
|
703
|
+
"type": "array",
|
|
704
|
+
"items": {
|
|
705
|
+
"$ref": "#/components/schemas/ErrorDetail"
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
701
709
|
}
|
|
702
710
|
},
|
|
703
711
|
"required": [
|
|
@@ -715,7 +723,25 @@
|
|
|
715
723
|
"TIMEOUT_ERROR",
|
|
716
724
|
"BAD_CONFIG",
|
|
717
725
|
"INTERNAL_ERROR",
|
|
718
|
-
"TRIGGER_WEBHOOK_ERROR"
|
|
726
|
+
"TRIGGER_WEBHOOK_ERROR",
|
|
727
|
+
"TEMPLATE_ERROR"
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
"ErrorDetail": {
|
|
731
|
+
"type": "object",
|
|
732
|
+
"properties": {
|
|
733
|
+
"explanation": {
|
|
734
|
+
"type": "string"
|
|
735
|
+
},
|
|
736
|
+
"context": {
|
|
737
|
+
"type": "string"
|
|
738
|
+
},
|
|
739
|
+
"id": {
|
|
740
|
+
"type": "string"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"required": [
|
|
744
|
+
"explanation"
|
|
719
745
|
]
|
|
720
746
|
},
|
|
721
747
|
"CartCheckoutActionConfig": {
|
|
@@ -2237,11 +2263,20 @@
|
|
|
2237
2263
|
"types": {
|
|
2238
2264
|
"type": "array",
|
|
2239
2265
|
"items": {
|
|
2240
|
-
"
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2266
|
+
"anyOf": [
|
|
2267
|
+
{
|
|
2268
|
+
"type": "string",
|
|
2269
|
+
"enum": [
|
|
2270
|
+
"CreateMeterReading",
|
|
2271
|
+
"UpdateMeterReading",
|
|
2272
|
+
"DocDownloadedFromPortal",
|
|
2273
|
+
"PortalUserResetPassword",
|
|
2274
|
+
"PortalUserResetForgotPassword"
|
|
2275
|
+
]
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"type": "string"
|
|
2279
|
+
}
|
|
2245
2280
|
]
|
|
2246
2281
|
}
|
|
2247
2282
|
}
|
|
@@ -2539,9 +2574,6 @@
|
|
|
2539
2574
|
}
|
|
2540
2575
|
},
|
|
2541
2576
|
"servers": [
|
|
2542
|
-
{
|
|
2543
|
-
"url": "https://automation.sls.epilot.io"
|
|
2544
|
-
},
|
|
2545
2577
|
{
|
|
2546
2578
|
"url": "https://automation.sls.epilot.io"
|
|
2547
2579
|
}
|