Skip to content

Commit ed0a3d4

Browse files
monikakusterigorbeslic
authored andcommitted
4427 client - generated
1 parent f9df64a commit ed0a3d4

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

client/src/shared/middleware/automation/configuration/docs/ProjectDeploymentWorkflow.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Name | Type
1414
`enabled` | boolean
1515
`id` | number
1616
`lastExecutionDate` | Date
17+
`lastExecutionStatus` | string
1718
`lastModifiedBy` | string
1819
`lastModifiedDate` | Date
1920
`projectDeploymentId` | number
@@ -36,6 +37,7 @@ const example = {
3637
"enabled": null,
3738
"id": null,
3839
"lastExecutionDate": null,
40+
"lastExecutionStatus": null,
3941
"lastModifiedBy": null,
4042
"lastModifiedDate": null,
4143
"projectDeploymentId": null,

client/src/shared/middleware/automation/configuration/models/ProjectDeploymentWorkflow.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)