@epilot/automation-client 2.5.1-rc1 → 2.5.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 CHANGED
@@ -1065,10 +1065,11 @@ declare namespace Components {
1065
1065
  * example:
1066
1066
  * [
1067
1067
  * "EntityUpdatedFromPortal",
1068
- * "EntityUpdatedFromPortal"
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
  };
@@ -1544,6 +1545,10 @@ declare namespace Components {
1544
1545
  export interface SendEmailConfig {
1545
1546
  email_template_id?: string;
1546
1547
  language_code?: "de" | "en";
1548
+ /**
1549
+ * Send an email exclusively to the portal user if they are registered on the portal.
1550
+ */
1551
+ notify_portal_user_only?: boolean;
1547
1552
  /**
1548
1553
  * Include extra file attachments in sent email.
1549
1554
  *
package/dist/openapi.json CHANGED
@@ -1327,6 +1327,11 @@
1327
1327
  "en"
1328
1328
  ]
1329
1329
  },
1330
+ "notify_portal_user_only": {
1331
+ "type": "boolean",
1332
+ "description": "Send an email exclusively to the portal user if they are registered on the portal.",
1333
+ "default": false
1334
+ },
1330
1335
  "attachments": {
1331
1336
  "type": "array",
1332
1337
  "description": "Include extra file attachments in sent email.\n\nAttachments in email template will be sent regardless of this configuration.\n",
@@ -2139,12 +2144,31 @@
2139
2144
  "type": {
2140
2145
  "type": "array",
2141
2146
  "items": {
2142
- "type": "string",
2143
- "example": "EntityUpdatedFromPortal"
2147
+ "anyOf": [
2148
+ {
2149
+ "type": "string"
2150
+ },
2151
+ {
2152
+ "$ref": "#/components/schemas/EqualsIgnoreCaseCondition"
2153
+ },
2154
+ {
2155
+ "$ref": "#/components/schemas/AnythingButCondition"
2156
+ },
2157
+ {
2158
+ "$ref": "#/components/schemas/ExistsCondition"
2159
+ },
2160
+ {
2161
+ "$ref": "#/components/schemas/PrefixCondition"
2162
+ },
2163
+ {
2164
+ "$ref": "#/components/schemas/SuffixCondition"
2165
+ }
2166
+ ]
2144
2167
  },
2145
2168
  "example": [
2146
2169
  "EntityUpdatedFromPortal",
2147
- "EntityUpdatedFromPortal"
2170
+ "EntityUpdated",
2171
+ "DocUploadedFromPortal"
2148
2172
  ],
2149
2173
  "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
2174
  }