@@ -69,6 +69,12 @@ export interface ProjectDeploymentWorkflow {
6969 * @memberof ProjectDeploymentWorkflow
7070 */
7171 lastExecutionDate ?: Date ;
72+ /**
73+ * The last execution status of a project deployment.
74+ * @type {ProjectDeploymentWorkflowLastExecutionStatusEnum }
75+ * @memberof ProjectDeploymentWorkflow
76+ */
77+ lastExecutionStatus ?: ProjectDeploymentWorkflowLastExecutionStatusEnum ;
7278 /**
7379 * The last modified by.
7480 * @type {string }
@@ -113,6 +119,20 @@ export interface ProjectDeploymentWorkflow {
113119 version ?: number ;
114120}
115121
122+
123+ /**
124+ * @export
125+ */
126+ export const ProjectDeploymentWorkflowLastExecutionStatusEnum = {
127+ Created : 'CREATED' ,
128+ Started : 'STARTED' ,
129+ Completed : 'COMPLETED' ,
130+ Failed : 'FAILED' ,
131+ Stopped : 'STOPPED'
132+ } as const ;
133+ export type ProjectDeploymentWorkflowLastExecutionStatusEnum = typeof ProjectDeploymentWorkflowLastExecutionStatusEnum [ keyof typeof ProjectDeploymentWorkflowLastExecutionStatusEnum ] ;
134+
135+
116136/**
117137 * Check if a given object implements the ProjectDeploymentWorkflow interface.
118138 */
@@ -137,6 +157,7 @@ export function ProjectDeploymentWorkflowFromJSONTyped(json: any, ignoreDiscrimi
137157 'enabled' : json [ 'enabled' ] == null ? undefined : json [ 'enabled' ] ,
138158 'id' : json [ 'id' ] == null ? undefined : json [ 'id' ] ,
139159 'lastExecutionDate' : json [ 'lastExecutionDate' ] == null ? undefined : ( new Date ( json [ 'lastExecutionDate' ] ) ) ,
160+ 'lastExecutionStatus' : json [ 'lastExecutionStatus' ] == null ? undefined : json [ 'lastExecutionStatus' ] ,
140161 'lastModifiedBy' : json [ 'lastModifiedBy' ] == null ? undefined : json [ 'lastModifiedBy' ] ,
141162 'lastModifiedDate' : json [ 'lastModifiedDate' ] == null ? undefined : ( new Date ( json [ 'lastModifiedDate' ] ) ) ,
142163 'projectDeploymentId' : json [ 'projectDeploymentId' ] == null ? undefined : json [ 'projectDeploymentId' ] ,
@@ -162,6 +183,7 @@ export function ProjectDeploymentWorkflowToJSONTyped(value?: Omit<ProjectDeploym
162183 'connections' : value [ 'connections' ] == null ? undefined : ( ( value [ 'connections' ] as Array < any > ) . map ( ProjectDeploymentWorkflowConnectionToJSON ) ) ,
163184 'enabled' : value [ 'enabled' ] ,
164185 'lastExecutionDate' : value [ 'lastExecutionDate' ] == null ? value [ 'lastExecutionDate' ] : value [ 'lastExecutionDate' ] . toISOString ( ) ,
186+ 'lastExecutionStatus' : value [ 'lastExecutionStatus' ] ,
165187 'projectDeploymentId' : value [ 'projectDeploymentId' ] ,
166188 'staticWebhookUrl' : value [ 'staticWebhookUrl' ] ,
167189 'workflowId' : value [ 'workflowId' ] ,
0 commit comments