@epilot/automation-client 1.5.0 → 1.6.0

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
@@ -207,6 +207,12 @@ declare namespace Components {
207
207
  * }
208
208
  */
209
209
  SendEmailAction | AutomationAction;
210
+ export interface ApiSubmissionTrigger {
211
+ type: "api_submission";
212
+ configuration: {
213
+ source_id?: string;
214
+ };
215
+ }
210
216
  export interface AppendValueMapper {
211
217
  mode: /**
212
218
  * - copy_if_exists - it replaces the target attribute with the source value
@@ -355,7 +361,7 @@ declare namespace Components {
355
361
  * 7
356
362
  */
357
363
  runs?: number;
358
- triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | EntityOperationTrigger | EntityManualTrigger)[];
364
+ triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | ApiSubmissionTrigger | EntityOperationTrigger | EntityManualTrigger)[];
359
365
  trigger_conditions?: /**
360
366
  * example:
361
367
  * {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/automation-client",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "API Client for epilot automation API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/openapi.d.ts CHANGED
@@ -207,6 +207,12 @@ declare namespace Components {
207
207
  * }
208
208
  */
209
209
  SendEmailAction | AutomationAction;
210
+ export interface ApiSubmissionTrigger {
211
+ type: "api_submission";
212
+ configuration: {
213
+ source_id?: string;
214
+ };
215
+ }
210
216
  export interface AppendValueMapper {
211
217
  mode: /**
212
218
  * - copy_if_exists - it replaces the target attribute with the source value
@@ -355,7 +361,7 @@ declare namespace Components {
355
361
  * 7
356
362
  */
357
363
  runs?: number;
358
- triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | EntityOperationTrigger | EntityManualTrigger)[];
364
+ triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | ApiSubmissionTrigger | EntityOperationTrigger | EntityManualTrigger)[];
359
365
  trigger_conditions?: /**
360
366
  * example:
361
367
  * {