@epilot/automation-client 2.5.0 → 2.5.2
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 +4 -3
- package/dist/openapi.json +23 -3
- 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" | "MessageActivity" | "SyncActivity")[];
|
|
25
|
+
types?: ("CreateMeterReading" | "UpdateMeterReading" | "DocDownloadedFromPortal" | "MessageActivity" | "SyncActivity")[];
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
export type AnyAction = MapEntityAction | TriggerWorkflowAction | TriggerWebhookAction | CreateDocumentAction | SendEmailAction | /* Creates an order entity with prices from journey */ CartCheckoutAction | AutomationAction;
|
|
@@ -1065,10 +1065,11 @@ declare namespace Components {
|
|
|
1065
1065
|
* example:
|
|
1066
1066
|
* [
|
|
1067
1067
|
* "EntityUpdatedFromPortal",
|
|
1068
|
-
* "
|
|
1068
|
+
* "EntityUpdated",
|
|
1069
|
+
* "DocUploadedFromPortal"
|
|
1069
1070
|
* ]
|
|
1070
1071
|
*/
|
|
1071
|
-
type?: string[];
|
|
1072
|
+
type?: (string | EqualsIgnoreCaseCondition | AnythingButCondition | ExistsCondition | PrefixCondition | SuffixCondition)[];
|
|
1072
1073
|
};
|
|
1073
1074
|
};
|
|
1074
1075
|
};
|
package/dist/openapi.json
CHANGED
|
@@ -2139,12 +2139,31 @@
|
|
|
2139
2139
|
"type": {
|
|
2140
2140
|
"type": "array",
|
|
2141
2141
|
"items": {
|
|
2142
|
-
"
|
|
2143
|
-
|
|
2142
|
+
"anyOf": [
|
|
2143
|
+
{
|
|
2144
|
+
"type": "string"
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"$ref": "#/components/schemas/EqualsIgnoreCaseCondition"
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
"$ref": "#/components/schemas/AnythingButCondition"
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"$ref": "#/components/schemas/ExistsCondition"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"$ref": "#/components/schemas/PrefixCondition"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"$ref": "#/components/schemas/SuffixCondition"
|
|
2160
|
+
}
|
|
2161
|
+
]
|
|
2144
2162
|
},
|
|
2145
2163
|
"example": [
|
|
2146
2164
|
"EntityUpdatedFromPortal",
|
|
2147
|
-
"
|
|
2165
|
+
"EntityUpdated",
|
|
2166
|
+
"DocUploadedFromPortal"
|
|
2148
2167
|
],
|
|
2149
2168
|
"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"
|
|
2150
2169
|
}
|
|
@@ -2184,6 +2203,7 @@
|
|
|
2184
2203
|
"enum": [
|
|
2185
2204
|
"CreateMeterReading",
|
|
2186
2205
|
"UpdateMeterReading",
|
|
2206
|
+
"DocDownloadedFromPortal",
|
|
2187
2207
|
"MessageActivity",
|
|
2188
2208
|
"SyncActivity"
|
|
2189
2209
|
]
|