@epilot/automation-client 1.0.0 → 1.1.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/definition.js +1 -1
- package/dist/openapi.d.ts +29 -7
- package/package.json +1 -1
- package/src/openapi.d.ts +29 -7
package/dist/openapi.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ declare namespace Components {
|
|
|
39
39
|
config?: {
|
|
40
40
|
[name: string]: any;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
execution_status?: ExecutionStatus;
|
|
43
43
|
started_at?: string;
|
|
44
44
|
updated_at?: string;
|
|
45
45
|
/**
|
|
@@ -62,7 +62,7 @@ declare namespace Components {
|
|
|
62
62
|
* example:
|
|
63
63
|
* success
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
execution_status?: ExecutionStatus;
|
|
66
66
|
entity_id: EntityId;
|
|
67
67
|
org_id: OrganizationId;
|
|
68
68
|
flow_id: AutomationFlowId;
|
|
@@ -135,7 +135,7 @@ declare namespace Components {
|
|
|
135
135
|
name?: string;
|
|
136
136
|
type?: string;
|
|
137
137
|
config?: CreateDocumentConfig;
|
|
138
|
-
|
|
138
|
+
execution_status?: ExecutionStatus;
|
|
139
139
|
started_at?: string;
|
|
140
140
|
updated_at?: string;
|
|
141
141
|
/**
|
|
@@ -260,7 +260,7 @@ declare namespace Components {
|
|
|
260
260
|
name?: string;
|
|
261
261
|
type?: string;
|
|
262
262
|
config?: MapEntityActionConfig;
|
|
263
|
-
|
|
263
|
+
execution_status?: ExecutionStatus;
|
|
264
264
|
started_at?: string;
|
|
265
265
|
updated_at?: string;
|
|
266
266
|
/**
|
|
@@ -342,7 +342,7 @@ declare namespace Components {
|
|
|
342
342
|
name?: string;
|
|
343
343
|
type?: string;
|
|
344
344
|
config?: SendEmailActionConfig;
|
|
345
|
-
|
|
345
|
+
execution_status?: ExecutionStatus;
|
|
346
346
|
started_at?: string;
|
|
347
347
|
updated_at?: string;
|
|
348
348
|
/**
|
|
@@ -394,7 +394,7 @@ declare namespace Components {
|
|
|
394
394
|
name?: string;
|
|
395
395
|
type?: string;
|
|
396
396
|
config?: TriggerWebhookActionConfig;
|
|
397
|
-
|
|
397
|
+
execution_status?: ExecutionStatus;
|
|
398
398
|
started_at?: string;
|
|
399
399
|
updated_at?: string;
|
|
400
400
|
/**
|
|
@@ -449,7 +449,7 @@ declare namespace Components {
|
|
|
449
449
|
name?: string;
|
|
450
450
|
type?: string;
|
|
451
451
|
config?: TriggerWorkflowConfig;
|
|
452
|
-
|
|
452
|
+
execution_status?: ExecutionStatus;
|
|
453
453
|
started_at?: string;
|
|
454
454
|
updated_at?: string;
|
|
455
455
|
/**
|
|
@@ -686,6 +686,16 @@ export interface OperationMethods {
|
|
|
686
686
|
data?: any,
|
|
687
687
|
config?: AxiosRequestConfig
|
|
688
688
|
): OperationResponse<Paths.CancelExecution.Responses.$200>
|
|
689
|
+
/**
|
|
690
|
+
* retriggerAction - retriggerAction
|
|
691
|
+
*
|
|
692
|
+
* Retrigger a specific automation execution action
|
|
693
|
+
*/
|
|
694
|
+
'retriggerAction'(
|
|
695
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
696
|
+
data?: any,
|
|
697
|
+
config?: AxiosRequestConfig
|
|
698
|
+
): OperationResponse<any>
|
|
689
699
|
}
|
|
690
700
|
|
|
691
701
|
export interface PathsDictionary {
|
|
@@ -787,6 +797,18 @@ export interface PathsDictionary {
|
|
|
787
797
|
config?: AxiosRequestConfig
|
|
788
798
|
): OperationResponse<Paths.CancelExecution.Responses.$200>
|
|
789
799
|
}
|
|
800
|
+
['/v1/automation/executions/{execution_id}/{action_id}/retrigger']: {
|
|
801
|
+
/**
|
|
802
|
+
* retriggerAction - retriggerAction
|
|
803
|
+
*
|
|
804
|
+
* Retrigger a specific automation execution action
|
|
805
|
+
*/
|
|
806
|
+
'post'(
|
|
807
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
808
|
+
data?: any,
|
|
809
|
+
config?: AxiosRequestConfig
|
|
810
|
+
): OperationResponse<any>
|
|
811
|
+
}
|
|
790
812
|
}
|
|
791
813
|
|
|
792
814
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
package/package.json
CHANGED
package/src/openapi.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ declare namespace Components {
|
|
|
39
39
|
config?: {
|
|
40
40
|
[name: string]: any;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
execution_status?: ExecutionStatus;
|
|
43
43
|
started_at?: string;
|
|
44
44
|
updated_at?: string;
|
|
45
45
|
/**
|
|
@@ -62,7 +62,7 @@ declare namespace Components {
|
|
|
62
62
|
* example:
|
|
63
63
|
* success
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
execution_status?: ExecutionStatus;
|
|
66
66
|
entity_id: EntityId;
|
|
67
67
|
org_id: OrganizationId;
|
|
68
68
|
flow_id: AutomationFlowId;
|
|
@@ -135,7 +135,7 @@ declare namespace Components {
|
|
|
135
135
|
name?: string;
|
|
136
136
|
type?: string;
|
|
137
137
|
config?: CreateDocumentConfig;
|
|
138
|
-
|
|
138
|
+
execution_status?: ExecutionStatus;
|
|
139
139
|
started_at?: string;
|
|
140
140
|
updated_at?: string;
|
|
141
141
|
/**
|
|
@@ -260,7 +260,7 @@ declare namespace Components {
|
|
|
260
260
|
name?: string;
|
|
261
261
|
type?: string;
|
|
262
262
|
config?: MapEntityActionConfig;
|
|
263
|
-
|
|
263
|
+
execution_status?: ExecutionStatus;
|
|
264
264
|
started_at?: string;
|
|
265
265
|
updated_at?: string;
|
|
266
266
|
/**
|
|
@@ -342,7 +342,7 @@ declare namespace Components {
|
|
|
342
342
|
name?: string;
|
|
343
343
|
type?: string;
|
|
344
344
|
config?: SendEmailActionConfig;
|
|
345
|
-
|
|
345
|
+
execution_status?: ExecutionStatus;
|
|
346
346
|
started_at?: string;
|
|
347
347
|
updated_at?: string;
|
|
348
348
|
/**
|
|
@@ -394,7 +394,7 @@ declare namespace Components {
|
|
|
394
394
|
name?: string;
|
|
395
395
|
type?: string;
|
|
396
396
|
config?: TriggerWebhookActionConfig;
|
|
397
|
-
|
|
397
|
+
execution_status?: ExecutionStatus;
|
|
398
398
|
started_at?: string;
|
|
399
399
|
updated_at?: string;
|
|
400
400
|
/**
|
|
@@ -449,7 +449,7 @@ declare namespace Components {
|
|
|
449
449
|
name?: string;
|
|
450
450
|
type?: string;
|
|
451
451
|
config?: TriggerWorkflowConfig;
|
|
452
|
-
|
|
452
|
+
execution_status?: ExecutionStatus;
|
|
453
453
|
started_at?: string;
|
|
454
454
|
updated_at?: string;
|
|
455
455
|
/**
|
|
@@ -686,6 +686,16 @@ export interface OperationMethods {
|
|
|
686
686
|
data?: any,
|
|
687
687
|
config?: AxiosRequestConfig
|
|
688
688
|
): OperationResponse<Paths.CancelExecution.Responses.$200>
|
|
689
|
+
/**
|
|
690
|
+
* retriggerAction - retriggerAction
|
|
691
|
+
*
|
|
692
|
+
* Retrigger a specific automation execution action
|
|
693
|
+
*/
|
|
694
|
+
'retriggerAction'(
|
|
695
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
696
|
+
data?: any,
|
|
697
|
+
config?: AxiosRequestConfig
|
|
698
|
+
): OperationResponse<any>
|
|
689
699
|
}
|
|
690
700
|
|
|
691
701
|
export interface PathsDictionary {
|
|
@@ -787,6 +797,18 @@ export interface PathsDictionary {
|
|
|
787
797
|
config?: AxiosRequestConfig
|
|
788
798
|
): OperationResponse<Paths.CancelExecution.Responses.$200>
|
|
789
799
|
}
|
|
800
|
+
['/v1/automation/executions/{execution_id}/{action_id}/retrigger']: {
|
|
801
|
+
/**
|
|
802
|
+
* retriggerAction - retriggerAction
|
|
803
|
+
*
|
|
804
|
+
* Retrigger a specific automation execution action
|
|
805
|
+
*/
|
|
806
|
+
'post'(
|
|
807
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
808
|
+
data?: any,
|
|
809
|
+
config?: AxiosRequestConfig
|
|
810
|
+
): OperationResponse<any>
|
|
811
|
+
}
|
|
790
812
|
}
|
|
791
813
|
|
|
792
814
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|