@devopness/sdk-js 2.23.0 → 2.24.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/DevopnessApiClient.d.ts +2 -4
- package/dist/DevopnessApiClient.js +2 -4
- package/dist/api/generated/apis/actions-api.d.ts +16 -5
- package/dist/api/generated/apis/actions-api.js +35 -2
- package/dist/api/generated/apis/actions-resources-api.d.ts +0 -11
- package/dist/api/generated/apis/actions-resources-api.js +0 -33
- package/dist/api/generated/apis/applications-api.d.ts +4 -4
- package/dist/api/generated/apis/applications-api.js +4 -4
- package/dist/api/generated/apis/applications-hooks-api.d.ts +5 -3
- package/dist/api/generated/apis/applications-hooks-api.js +12 -3
- package/dist/api/generated/apis/environments-api.d.ts +4 -4
- package/dist/api/generated/apis/environments-api.js +4 -4
- package/dist/api/generated/apis/environments-teams-api.d.ts +34 -0
- package/dist/api/generated/apis/environments-teams-api.js +77 -0
- package/dist/api/generated/apis/hook-requests-api.d.ts +25 -0
- package/dist/api/generated/apis/hook-requests-api.js +49 -0
- package/dist/api/generated/apis/hooks-api.d.ts +56 -0
- package/dist/api/generated/apis/hooks-api.js +133 -0
- package/dist/api/generated/apis/hooks-requests-api.d.ts +7 -17
- package/dist/api/generated/apis/hooks-requests-api.js +18 -37
- package/dist/api/generated/apis/projects-api.d.ts +8 -8
- package/dist/api/generated/apis/projects-api.js +8 -8
- package/dist/api/generated/apis/roles-api.d.ts +6 -6
- package/dist/api/generated/apis/roles-api.js +6 -6
- package/dist/api/generated/apis/servers-api.d.ts +6 -6
- package/dist/api/generated/apis/servers-api.js +4 -4
- package/dist/api/generated/apis/services-variables-api.d.ts +36 -0
- package/dist/api/generated/apis/services-variables-api.js +78 -0
- package/dist/api/generated/apis/teams-api.d.ts +4 -20
- package/dist/api/generated/apis/teams-api.js +4 -48
- package/dist/api/generated/apis/teams-members-api.d.ts +8 -8
- package/dist/api/generated/apis/teams-members-api.js +16 -16
- package/dist/api/generated/apis/users-api.d.ts +1 -1
- package/dist/api/generated/apis/users-api.js +2 -2
- package/dist/api/generated/models/action-relation.d.ts +31 -4
- package/dist/api/generated/models/action-retry-response.d.ts +7 -1
- package/dist/api/generated/models/action-step-log.d.ts +1 -1
- package/dist/api/generated/models/action.d.ts +28 -22
- package/dist/api/generated/models/application-environment-create.d.ts +4 -3
- package/dist/api/generated/models/application-last-deployments.d.ts +5 -5
- package/dist/api/generated/models/application-project-create.d.ts +4 -3
- package/dist/api/generated/models/application-relation.d.ts +40 -41
- package/dist/api/generated/models/application-update.d.ts +50 -45
- package/dist/api/generated/models/application.d.ts +53 -48
- package/dist/api/generated/models/cron-job.d.ts +1 -1
- package/dist/api/generated/models/daemon.d.ts +1 -1
- package/dist/api/generated/models/environment.d.ts +3 -3
- package/dist/api/generated/models/hook-create.d.ts +84 -0
- package/dist/api/generated/models/{application-last-deployment.js → hook-create.js} +0 -0
- package/dist/api/generated/models/{hook-incoming-setting.d.ts → hook-incoming-settings.d.ts} +3 -3
- package/dist/api/generated/models/{hook-incoming-create.js → hook-incoming-settings.js} +0 -0
- package/dist/api/generated/models/hook-incoming-trigger-when-condition-type.d.ts +1 -1
- package/dist/api/generated/models/hook-incoming-trigger-when-condition-type.js +1 -1
- package/dist/api/generated/models/{hook-outgoing-setting.d.ts → hook-outgoing-settings.d.ts} +4 -4
- package/dist/api/generated/models/{hook-incoming-params.js → hook-outgoing-settings.js} +0 -0
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition-type.d.ts +1 -1
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition-type.js +1 -1
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition.d.ts +1 -1
- package/dist/api/generated/models/hook-relation.d.ts +42 -35
- package/dist/api/generated/models/hook-request.d.ts +10 -10
- package/dist/api/generated/models/hook-update.d.ts +84 -0
- package/dist/api/generated/models/{hook-incoming-setting.js → hook-update.js} +0 -0
- package/dist/api/generated/models/hook-variable.d.ts +3 -3
- package/dist/api/generated/models/hook.d.ts +68 -22
- package/dist/api/generated/models/index.d.ts +9 -12
- package/dist/api/generated/models/index.js +9 -12
- package/dist/api/generated/models/invitation-relation.d.ts +2 -2
- package/dist/api/generated/models/invitation.d.ts +1 -1
- package/dist/api/generated/models/member-relation.d.ts +5 -11
- package/dist/api/generated/models/member.d.ts +13 -7
- package/dist/api/generated/models/request-relation.d.ts +60 -0
- package/dist/api/generated/models/{hook-incoming-update.js → request-relation.js} +0 -0
- package/dist/api/generated/models/{hook-incoming.d.ts → server-command.d.ts} +10 -4
- package/dist/api/generated/models/{hook-incoming.js → server-command.js} +0 -0
- package/dist/api/generated/models/server.d.ts +1 -1
- package/dist/api/generated/models/service.d.ts +1 -1
- package/dist/api/generated/models/subscription-plan.d.ts +30 -0
- package/dist/api/generated/models/{hook-outgoing-create.js → subscription-plan.js} +0 -0
- package/dist/api/generated/models/team-invitation-relation.d.ts +2 -2
- package/dist/api/generated/models/team-invitation.d.ts +2 -2
- package/dist/api/generated/models/team-membership-relation.d.ts +1 -1
- package/dist/api/generated/models/team.d.ts +1 -1
- package/dist/api/generated/models/{user-current.d.ts → user-me.d.ts} +18 -11
- package/dist/api/generated/models/{hook-outgoing-params.js → user-me.js} +0 -0
- package/dist/api/generated/models/user-update.d.ts +6 -0
- package/dist/api/generated/models/user.d.ts +7 -0
- package/dist/api/generated/models/variable-application-create.d.ts +0 -12
- package/dist/api/generated/models/variable-relation.d.ts +0 -6
- package/dist/api/generated/models/variable-service-create.d.ts +56 -0
- package/dist/api/generated/models/{hook-outgoing-setting.js → variable-service-create.js} +0 -0
- package/dist/api/generated/models/variable.d.ts +0 -6
- package/dist/services/EnvironmentService.d.ts +2 -0
- package/dist/services/EnvironmentService.js +2 -0
- package/dist/services/HookRequestService.d.ts +2 -2
- package/dist/services/HookRequestService.js +2 -2
- package/dist/services/HookService.d.ts +5 -0
- package/dist/services/HookService.js +12 -0
- package/dist/services/ServiceService.d.ts +2 -0
- package/dist/services/ServiceService.js +5 -0
- package/dist/services/index.d.ts +1 -2
- package/dist/services/index.js +1 -2
- package/package.json +3 -3
- package/dist/api/generated/apis/hooks-incoming-api.d.ts +0 -53
- package/dist/api/generated/apis/hooks-incoming-api.js +0 -118
- package/dist/api/generated/apis/hooks-outgoing-api.d.ts +0 -46
- package/dist/api/generated/apis/hooks-outgoing-api.js +0 -101
- package/dist/api/generated/models/application-last-deployment.d.ts +0 -130
- package/dist/api/generated/models/hook-incoming-create.d.ts +0 -82
- package/dist/api/generated/models/hook-incoming-params.d.ts +0 -38
- package/dist/api/generated/models/hook-incoming-update.d.ts +0 -68
- package/dist/api/generated/models/hook-outgoing-create.d.ts +0 -70
- package/dist/api/generated/models/hook-outgoing-params.d.ts +0 -38
- package/dist/api/generated/models/hook-outgoing-update.d.ts +0 -76
- package/dist/api/generated/models/hook-outgoing-update.js +0 -14
- package/dist/api/generated/models/hook-outgoing.d.ts +0 -18
- package/dist/api/generated/models/hook-outgoing.js +0 -14
- package/dist/api/generated/models/user-current.js +0 -14
- package/dist/services/HookIncomingService.d.ts +0 -3
- package/dist/services/HookIncomingService.js +0 -7
- package/dist/services/HookOutgoingService.d.ts +0 -3
- package/dist/services/HookOutgoingService.js +0 -7
|
@@ -32,7 +32,7 @@ class TeamsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @summary Delete a given team
|
|
35
|
-
* @param {number} teamId
|
|
35
|
+
* @param {number} teamId The ID of the team.
|
|
36
36
|
*/
|
|
37
37
|
deleteTeam(teamId) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -48,7 +48,7 @@ class TeamsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @summary Get a team by ID
|
|
51
|
-
* @param {number} teamId
|
|
51
|
+
* @param {number} teamId The ID of the team.
|
|
52
52
|
*/
|
|
53
53
|
getTeam(teamId) {
|
|
54
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -61,55 +61,11 @@ class TeamsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
61
61
|
return new ApiResponse_1.ApiResponse(response);
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @summary Link team to a given environment
|
|
67
|
-
* @param {number} environmentId Numeric ID of the environment to link
|
|
68
|
-
* @param {number} teamId Numeric ID of the team to be linked
|
|
69
|
-
* @param {EnvironmentTeamLink} environmentTeamLink A JSON object containing the role ID
|
|
70
|
-
*/
|
|
71
|
-
linkTeamToEnvironment(environmentId, teamId, environmentTeamLink) {
|
|
72
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
if (environmentId === null || environmentId === undefined) {
|
|
74
|
-
throw new Exceptions_1.ArgumentNullException('environmentId', 'linkTeamToEnvironment');
|
|
75
|
-
}
|
|
76
|
-
if (teamId === null || teamId === undefined) {
|
|
77
|
-
throw new Exceptions_1.ArgumentNullException('teamId', 'linkTeamToEnvironment');
|
|
78
|
-
}
|
|
79
|
-
if (environmentTeamLink === null || environmentTeamLink === undefined) {
|
|
80
|
-
throw new Exceptions_1.ArgumentNullException('environmentTeamLink', 'linkTeamToEnvironment');
|
|
81
|
-
}
|
|
82
|
-
let queryString = '';
|
|
83
|
-
const requestUrl = '/environments/{environment_id}/teams/{team_id}' + (queryString ? `?${queryString}` : '');
|
|
84
|
-
const response = yield this.post(requestUrl.replace(`{${"environment_id"}}`, encodeURIComponent(String(environmentId))).replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))), environmentTeamLink);
|
|
85
|
-
return new ApiResponse_1.ApiResponse(response);
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @summary Unlink team from the environment
|
|
91
|
-
* @param {number} environmentId Numeric ID of the environment to unlink
|
|
92
|
-
* @param {number} teamId Numeric ID of the team to be unlinked
|
|
93
|
-
*/
|
|
94
|
-
unlinkTeamFromEnvironment(environmentId, teamId) {
|
|
95
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
-
if (environmentId === null || environmentId === undefined) {
|
|
97
|
-
throw new Exceptions_1.ArgumentNullException('environmentId', 'unlinkTeamFromEnvironment');
|
|
98
|
-
}
|
|
99
|
-
if (teamId === null || teamId === undefined) {
|
|
100
|
-
throw new Exceptions_1.ArgumentNullException('teamId', 'unlinkTeamFromEnvironment');
|
|
101
|
-
}
|
|
102
|
-
let queryString = '';
|
|
103
|
-
const requestUrl = '/environments/{environment_id}/teams/{team_id}' + (queryString ? `?${queryString}` : '');
|
|
104
|
-
const response = yield this.delete(requestUrl.replace(`{${"environment_id"}}`, encodeURIComponent(String(environmentId))).replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))));
|
|
105
|
-
return new ApiResponse_1.ApiResponse(response);
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
64
|
/**
|
|
109
65
|
*
|
|
110
66
|
* @summary Update an existing team
|
|
111
|
-
* @param {number} teamId
|
|
112
|
-
* @param {TeamUpdate} teamUpdate A JSON object containing
|
|
67
|
+
* @param {number} teamId The ID of the team.
|
|
68
|
+
* @param {TeamUpdate} teamUpdate A JSON object containing the resource data
|
|
113
69
|
*/
|
|
114
70
|
updateTeam(teamId, teamUpdate) {
|
|
115
71
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -20,21 +20,21 @@ export declare class TeamsMembersApiService extends ApiBaseService {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @summary Delete a given team member
|
|
23
|
-
* @param {number} teamId
|
|
24
|
-
* @param {number}
|
|
23
|
+
* @param {number} teamId The ID of the team.
|
|
24
|
+
* @param {number} userId The ID of the user.
|
|
25
25
|
*/
|
|
26
|
-
deleteTeamMember(teamId: number,
|
|
26
|
+
deleteTeamMember(teamId: number, userId: number): Promise<ApiResponse<void>>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @summary Get a member of team by ID
|
|
30
|
-
* @param {number} teamId
|
|
31
|
-
* @param {number}
|
|
30
|
+
* @param {number} teamId The ID of the team.
|
|
31
|
+
* @param {number} userId The ID of the user.
|
|
32
32
|
*/
|
|
33
|
-
getTeamMember(teamId: number,
|
|
33
|
+
getTeamMember(teamId: number, userId: number): Promise<ApiResponse<Member>>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @summary
|
|
37
|
-
* @param {number} teamId
|
|
36
|
+
* @summary Return a list of all members belonging to a team
|
|
37
|
+
* @param {number} teamId The ID of the team.
|
|
38
38
|
* @param {number} [page] Number of the page to be retrieved
|
|
39
39
|
* @param {number} [perPage] Number of items returned per page
|
|
40
40
|
*/
|
|
@@ -32,47 +32,47 @@ class TeamsMembersApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @summary Delete a given team member
|
|
35
|
-
* @param {number} teamId
|
|
36
|
-
* @param {number}
|
|
35
|
+
* @param {number} teamId The ID of the team.
|
|
36
|
+
* @param {number} userId The ID of the user.
|
|
37
37
|
*/
|
|
38
|
-
deleteTeamMember(teamId,
|
|
38
|
+
deleteTeamMember(teamId, userId) {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40
40
|
if (teamId === null || teamId === undefined) {
|
|
41
41
|
throw new Exceptions_1.ArgumentNullException('teamId', 'deleteTeamMember');
|
|
42
42
|
}
|
|
43
|
-
if (
|
|
44
|
-
throw new Exceptions_1.ArgumentNullException('
|
|
43
|
+
if (userId === null || userId === undefined) {
|
|
44
|
+
throw new Exceptions_1.ArgumentNullException('userId', 'deleteTeamMember');
|
|
45
45
|
}
|
|
46
46
|
let queryString = '';
|
|
47
|
-
const requestUrl = '/teams/{team_id}/members/{
|
|
48
|
-
const response = yield this.delete(requestUrl.replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))).replace(`{${"
|
|
47
|
+
const requestUrl = '/teams/{team_id}/members/{user_id}' + (queryString ? `?${queryString}` : '');
|
|
48
|
+
const response = yield this.delete(requestUrl.replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))).replace(`{${"user_id"}}`, encodeURIComponent(String(userId))));
|
|
49
49
|
return new ApiResponse_1.ApiResponse(response);
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @summary Get a member of team by ID
|
|
55
|
-
* @param {number} teamId
|
|
56
|
-
* @param {number}
|
|
55
|
+
* @param {number} teamId The ID of the team.
|
|
56
|
+
* @param {number} userId The ID of the user.
|
|
57
57
|
*/
|
|
58
|
-
getTeamMember(teamId,
|
|
58
|
+
getTeamMember(teamId, userId) {
|
|
59
59
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60
60
|
if (teamId === null || teamId === undefined) {
|
|
61
61
|
throw new Exceptions_1.ArgumentNullException('teamId', 'getTeamMember');
|
|
62
62
|
}
|
|
63
|
-
if (
|
|
64
|
-
throw new Exceptions_1.ArgumentNullException('
|
|
63
|
+
if (userId === null || userId === undefined) {
|
|
64
|
+
throw new Exceptions_1.ArgumentNullException('userId', 'getTeamMember');
|
|
65
65
|
}
|
|
66
66
|
let queryString = '';
|
|
67
|
-
const requestUrl = '/teams/{team_id}/members/{
|
|
68
|
-
const response = yield this.get(requestUrl.replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))).replace(`{${"
|
|
67
|
+
const requestUrl = '/teams/{team_id}/members/{user_id}' + (queryString ? `?${queryString}` : '');
|
|
68
|
+
const response = yield this.get(requestUrl.replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))).replace(`{${"user_id"}}`, encodeURIComponent(String(userId))));
|
|
69
69
|
return new ApiResponse_1.ApiResponse(response);
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
|
-
* @summary
|
|
75
|
-
* @param {number} teamId
|
|
74
|
+
* @summary Return a list of all members belonging to a team
|
|
75
|
+
* @param {number} teamId The ID of the team.
|
|
76
76
|
* @param {number} [page] Number of the page to be retrieved
|
|
77
77
|
* @param {number} [perPage] Number of items returned per page
|
|
78
78
|
*/
|
|
@@ -40,7 +40,7 @@ export declare class UsersApiService extends ApiBaseService {
|
|
|
40
40
|
*
|
|
41
41
|
* @summary Get details of the current user
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
getUserMe(): Promise<ApiResponse<User>>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @summary Login/create a new token for the given credentials
|
|
@@ -65,10 +65,10 @@ class UsersApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
65
65
|
*
|
|
66
66
|
* @summary Get details of the current user
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
getUserMe() {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
70
70
|
let queryString = '';
|
|
71
|
-
const requestUrl = '/users/
|
|
71
|
+
const requestUrl = '/users/me' + (queryString ? `?${queryString}` : '');
|
|
72
72
|
const response = yield this.get(requestUrl);
|
|
73
73
|
return new ApiResponse_1.ApiResponse(response);
|
|
74
74
|
});
|
|
@@ -9,10 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ActionData } from './action-data';
|
|
12
13
|
import { ActionStatus } from './action-status';
|
|
13
14
|
import { ActionSummary } from './action-summary';
|
|
15
|
+
import { ActionTriggeredFrom } from './action-triggered-from';
|
|
14
16
|
import { ActionType } from './action-type';
|
|
15
17
|
import { Resource } from './resource';
|
|
18
|
+
import { ServerAction } from './server-action';
|
|
16
19
|
/**
|
|
17
20
|
*
|
|
18
21
|
* @export
|
|
@@ -43,6 +46,24 @@ export interface ActionRelation {
|
|
|
43
46
|
* @memberof ActionRelation
|
|
44
47
|
*/
|
|
45
48
|
type_human_readable: string;
|
|
49
|
+
/**
|
|
50
|
+
* The permalink URL to the action details on Devopness web app
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ActionRelation
|
|
53
|
+
*/
|
|
54
|
+
url_web_permalink: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ActionData}
|
|
58
|
+
* @memberof ActionRelation
|
|
59
|
+
*/
|
|
60
|
+
action_data: ActionData | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ActionTriggeredFrom}
|
|
64
|
+
* @memberof ActionRelation
|
|
65
|
+
*/
|
|
66
|
+
triggered_from: ActionTriggeredFrom;
|
|
46
67
|
/**
|
|
47
68
|
*
|
|
48
69
|
* @type {Resource}
|
|
@@ -55,28 +76,34 @@ export interface ActionRelation {
|
|
|
55
76
|
* @memberof ActionRelation
|
|
56
77
|
*/
|
|
57
78
|
summary?: ActionSummary;
|
|
79
|
+
/**
|
|
80
|
+
* List of actions dispatched to servers
|
|
81
|
+
* @type {Array<ServerAction>}
|
|
82
|
+
* @memberof ActionRelation
|
|
83
|
+
*/
|
|
84
|
+
servers?: Array<ServerAction>;
|
|
58
85
|
/**
|
|
59
86
|
* The date and time when the action started execution (i.e., left the `pending/queued` status)
|
|
60
87
|
* @type {string}
|
|
61
88
|
* @memberof ActionRelation
|
|
62
89
|
*/
|
|
63
|
-
started_at
|
|
90
|
+
started_at: string | null;
|
|
64
91
|
/**
|
|
65
92
|
* The date and time when the action has finished execution
|
|
66
93
|
* @type {string}
|
|
67
94
|
* @memberof ActionRelation
|
|
68
95
|
*/
|
|
69
|
-
completed_at
|
|
96
|
+
completed_at: string | null;
|
|
70
97
|
/**
|
|
71
98
|
* The date and time when the record was created
|
|
72
99
|
* @type {string}
|
|
73
100
|
* @memberof ActionRelation
|
|
74
101
|
*/
|
|
75
|
-
created_at
|
|
102
|
+
created_at: string;
|
|
76
103
|
/**
|
|
77
104
|
* The date and time when the record was last updated
|
|
78
105
|
* @type {string}
|
|
79
106
|
* @memberof ActionRelation
|
|
80
107
|
*/
|
|
81
|
-
updated_at
|
|
108
|
+
updated_at: string;
|
|
82
109
|
}
|
|
@@ -32,6 +32,12 @@ export interface ActionRetryResponse {
|
|
|
32
32
|
* @memberof ActionRetryResponse
|
|
33
33
|
*/
|
|
34
34
|
id: number;
|
|
35
|
+
/**
|
|
36
|
+
* The Id of the parent action that this action is a retry of
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof ActionRetryResponse
|
|
39
|
+
*/
|
|
40
|
+
retry_of: number | null;
|
|
35
41
|
/**
|
|
36
42
|
*
|
|
37
43
|
* @type {ActionStatus}
|
|
@@ -97,7 +103,7 @@ export interface ActionRetryResponse {
|
|
|
97
103
|
* @type {ProjectRelation}
|
|
98
104
|
* @memberof ActionRetryResponse
|
|
99
105
|
*/
|
|
100
|
-
project?: ProjectRelation;
|
|
106
|
+
project?: ProjectRelation | null;
|
|
101
107
|
/**
|
|
102
108
|
* List of actions dispatched to servers
|
|
103
109
|
* @type {Array<ServerAction>}
|
|
@@ -32,6 +32,12 @@ export interface Action {
|
|
|
32
32
|
* @memberof Action
|
|
33
33
|
*/
|
|
34
34
|
id: number;
|
|
35
|
+
/**
|
|
36
|
+
* The Id of the parent action that this action is a retry of
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof Action
|
|
39
|
+
*/
|
|
40
|
+
retry_of: number | null;
|
|
35
41
|
/**
|
|
36
42
|
*
|
|
37
43
|
* @type {ActionStatus}
|
|
@@ -50,12 +56,6 @@ export interface Action {
|
|
|
50
56
|
* @memberof Action
|
|
51
57
|
*/
|
|
52
58
|
type_human_readable: string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {ActionSummary}
|
|
56
|
-
* @memberof Action
|
|
57
|
-
*/
|
|
58
|
-
summary: ActionSummary;
|
|
59
59
|
/**
|
|
60
60
|
* The permalink URL to the action details on Devopness web app
|
|
61
61
|
* @type {string}
|
|
@@ -69,41 +69,47 @@ export interface Action {
|
|
|
69
69
|
*/
|
|
70
70
|
action_data: ActionData | null;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {
|
|
72
|
+
*
|
|
73
|
+
* @type {ActionTriggeredFrom}
|
|
74
74
|
* @memberof Action
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
triggered_from: ActionTriggeredFrom;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
|
-
* @type {
|
|
79
|
+
* @type {UserRelation}
|
|
80
80
|
* @memberof Action
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
triggered_by_user?: UserRelation;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
|
-
* @type {
|
|
85
|
+
* @type {Resource}
|
|
86
86
|
* @memberof Action
|
|
87
87
|
*/
|
|
88
|
-
|
|
88
|
+
resource: Resource;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
|
-
* @type {
|
|
91
|
+
* @type {ActionSummary}
|
|
92
92
|
* @memberof Action
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
summary: ActionSummary;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
|
-
* @type {
|
|
97
|
+
* @type {EnvironmentRelation}
|
|
98
98
|
* @memberof Action
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
environment?: EnvironmentRelation;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {ProjectRelation}
|
|
104
104
|
* @memberof Action
|
|
105
105
|
*/
|
|
106
|
-
project?: ProjectRelation;
|
|
106
|
+
project?: ProjectRelation | null;
|
|
107
|
+
/**
|
|
108
|
+
* List of actions dispatched to servers
|
|
109
|
+
* @type {Array<ServerAction>}
|
|
110
|
+
* @memberof Action
|
|
111
|
+
*/
|
|
112
|
+
servers?: Array<ServerAction>;
|
|
107
113
|
/**
|
|
108
114
|
*
|
|
109
115
|
* @type {ActionHookRequest}
|
|
@@ -115,23 +121,23 @@ export interface Action {
|
|
|
115
121
|
* @type {string}
|
|
116
122
|
* @memberof Action
|
|
117
123
|
*/
|
|
118
|
-
started_at
|
|
124
|
+
started_at: string | null;
|
|
119
125
|
/**
|
|
120
126
|
* The date and time when the action has finished execution
|
|
121
127
|
* @type {string}
|
|
122
128
|
* @memberof Action
|
|
123
129
|
*/
|
|
124
|
-
completed_at
|
|
130
|
+
completed_at: string | null;
|
|
125
131
|
/**
|
|
126
132
|
* The date and time when the record was created
|
|
127
133
|
* @type {string}
|
|
128
134
|
* @memberof Action
|
|
129
135
|
*/
|
|
130
|
-
created_at
|
|
136
|
+
created_at: string;
|
|
131
137
|
/**
|
|
132
138
|
* The date and time when the record was last updated
|
|
133
139
|
* @type {string}
|
|
134
140
|
* @memberof Action
|
|
135
141
|
*/
|
|
136
|
-
updated_at
|
|
142
|
+
updated_at: string;
|
|
137
143
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ApplicationType } from './application-type';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -22,11 +23,11 @@ export interface ApplicationEnvironmentCreate {
|
|
|
22
23
|
*/
|
|
23
24
|
name: string;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
26
|
+
*
|
|
27
|
+
* @type {ApplicationType}
|
|
27
28
|
* @memberof ApplicationEnvironmentCreate
|
|
28
29
|
*/
|
|
29
|
-
type:
|
|
30
|
+
type: ApplicationType;
|
|
30
31
|
/**
|
|
31
32
|
* The domain or sub-domain through which the application deployed with these settings will be accessible. It can be a naked domain or any subdomain. If app has domain names `testing.my-app.com`, `staging.my-app.com` and `www.my-app.com` a possible good candidate for the application name would be the \"naked\" domain `my-app.com`. Must not be greater than 60 characters.
|
|
32
33
|
* @type {string}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ActionRelation } from './action-relation';
|
|
13
13
|
/**
|
|
14
14
|
* Latest deployment created to application and the more recent completed deployment
|
|
15
15
|
* @export
|
|
@@ -18,14 +18,14 @@ import { ApplicationLastDeployment } from './application-last-deployment';
|
|
|
18
18
|
export interface ApplicationLastDeployments {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {ActionRelation}
|
|
22
22
|
* @memberof ApplicationLastDeployments
|
|
23
23
|
*/
|
|
24
|
-
latest?:
|
|
24
|
+
latest?: ActionRelation | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {ActionRelation}
|
|
28
28
|
* @memberof ApplicationLastDeployments
|
|
29
29
|
*/
|
|
30
|
-
live?:
|
|
30
|
+
live?: ActionRelation | null;
|
|
31
31
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ApplicationType } from './application-type';
|
|
12
13
|
import { EnvironmentLinkItem } from './environment-link-item';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -23,11 +24,11 @@ export interface ApplicationProjectCreate {
|
|
|
23
24
|
*/
|
|
24
25
|
name: string;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
27
|
+
*
|
|
28
|
+
* @type {ApplicationType}
|
|
28
29
|
* @memberof ApplicationProjectCreate
|
|
29
30
|
*/
|
|
30
|
-
type:
|
|
31
|
+
type: ApplicationType;
|
|
31
32
|
/**
|
|
32
33
|
* The domain or sub-domain through which the application deployed with these settings will be accessible. It can be a naked domain or any subdomain. If app has domain names `testing.my-app.com`, `staging.my-app.com` and `www.my-app.com` a possible good candidate for the application name would be the \"naked\" domain `my-app.com`. Must not be greater than 60 characters.
|
|
33
34
|
* @type {string}
|