@epilot/automation-client
Advanced tools
Comparing version 1.5.1 to 1.6.0
@@ -209,3 +209,9 @@ /* eslint-disable */ | ||
*/ | ||
SendEmailAction | CartCheckoutAction | AutomationAction; | ||
SendEmailAction | AutomationAction; | ||
export interface ApiSubmissionTrigger { | ||
type: "api_submission"; | ||
configuration: { | ||
source_id?: string; | ||
}; | ||
} | ||
export interface AppendValueMapper { | ||
@@ -359,3 +365,3 @@ mode: /** | ||
runs?: number; | ||
triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | EntityOperationTrigger | EntityManualTrigger)[]; | ||
triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | ApiSubmissionTrigger | EntityOperationTrigger | EntityManualTrigger)[]; | ||
trigger_conditions?: /** | ||
@@ -384,32 +390,2 @@ * example: | ||
export type AutomationFlowId = string; | ||
export interface CartCheckoutAction { | ||
id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
flow_action_id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
name?: string; | ||
type?: string; | ||
config?: CartCheckoutConfig; | ||
execution_status?: ExecutionStatus; | ||
started_at?: string; | ||
updated_at?: string; | ||
/** | ||
* Flag indicating whether the action was created automatically or manually | ||
*/ | ||
created_automatically?: boolean; | ||
outputs?: { | ||
[name: string]: any; | ||
}; | ||
error_output?: ErrorOutput; | ||
} | ||
export interface CartCheckoutConfig { | ||
relation_attributes?: RelationAttribute[]; | ||
mapping_attributes?: MappingAttribute[]; | ||
} | ||
export type Comparison = "equals" | "any_of" | "not_empty" | "is_empty"; | ||
@@ -683,2 +659,31 @@ export interface CopyValueMapper { | ||
export type MappingAttributeMode = "copy_if_exists" | "append_if_exists" | "set_value"; | ||
export interface OrderCheckoutAction { | ||
id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
flow_action_id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
name?: string; | ||
type?: string; | ||
config?: OrderCheckoutConfig; | ||
execution_status?: ExecutionStatus; | ||
started_at?: string; | ||
updated_at?: string; | ||
/** | ||
* Flag indicating whether the action was created automatically or manually | ||
*/ | ||
created_automatically?: boolean; | ||
outputs?: { | ||
[name: string]: any; | ||
}; | ||
error_output?: ErrorOutput; | ||
} | ||
export interface OrderCheckoutConfig { | ||
relation_attributes?: RelationAttribute[]; | ||
} | ||
/** | ||
@@ -685,0 +690,0 @@ * example: |
{ | ||
"name": "@epilot/automation-client", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "API Client for epilot automation API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -209,3 +209,9 @@ /* eslint-disable */ | ||
*/ | ||
SendEmailAction | CartCheckoutAction | AutomationAction; | ||
SendEmailAction | AutomationAction; | ||
export interface ApiSubmissionTrigger { | ||
type: "api_submission"; | ||
configuration: { | ||
source_id?: string; | ||
}; | ||
} | ||
export interface AppendValueMapper { | ||
@@ -359,3 +365,3 @@ mode: /** | ||
runs?: number; | ||
triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | EntityOperationTrigger | EntityManualTrigger)[]; | ||
triggers?: (FrontendSubmitTrigger | JourneySubmitTrigger | ApiSubmissionTrigger | EntityOperationTrigger | EntityManualTrigger)[]; | ||
trigger_conditions?: /** | ||
@@ -384,32 +390,2 @@ * example: | ||
export type AutomationFlowId = string; | ||
export interface CartCheckoutAction { | ||
id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
flow_action_id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
name?: string; | ||
type?: string; | ||
config?: CartCheckoutConfig; | ||
execution_status?: ExecutionStatus; | ||
started_at?: string; | ||
updated_at?: string; | ||
/** | ||
* Flag indicating whether the action was created automatically or manually | ||
*/ | ||
created_automatically?: boolean; | ||
outputs?: { | ||
[name: string]: any; | ||
}; | ||
error_output?: ErrorOutput; | ||
} | ||
export interface CartCheckoutConfig { | ||
relation_attributes?: RelationAttribute[]; | ||
mapping_attributes?: MappingAttribute[]; | ||
} | ||
export type Comparison = "equals" | "any_of" | "not_empty" | "is_empty"; | ||
@@ -683,2 +659,31 @@ export interface CopyValueMapper { | ||
export type MappingAttributeMode = "copy_if_exists" | "append_if_exists" | "set_value"; | ||
export interface OrderCheckoutAction { | ||
id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
flow_action_id?: /** | ||
* example: | ||
* 9ec3711b-db63-449c-b894-54d5bb622a8f | ||
*/ | ||
AutomationActionId; | ||
name?: string; | ||
type?: string; | ||
config?: OrderCheckoutConfig; | ||
execution_status?: ExecutionStatus; | ||
started_at?: string; | ||
updated_at?: string; | ||
/** | ||
* Flag indicating whether the action was created automatically or manually | ||
*/ | ||
created_automatically?: boolean; | ||
outputs?: { | ||
[name: string]: any; | ||
}; | ||
error_output?: ErrorOutput; | ||
} | ||
export interface OrderCheckoutConfig { | ||
relation_attributes?: RelationAttribute[]; | ||
} | ||
/** | ||
@@ -685,0 +690,0 @@ * example: |
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2692
0
410824