@devopness/sdk-js 1.102.0 → 1.103.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.
Files changed (43) hide show
  1. package/dist/DevopnessApiClient.d.ts +0 -2
  2. package/dist/DevopnessApiClient.js +0 -2
  3. package/dist/api/generated/apis/actions-api.d.ts +0 -20
  4. package/dist/api/generated/apis/actions-api.js +0 -62
  5. package/dist/api/generated/apis/actions-resources-api.d.ts +39 -0
  6. package/dist/api/generated/apis/actions-resources-api.js +95 -0
  7. package/dist/api/generated/apis/applications-deployments-api.d.ts +3 -13
  8. package/dist/api/generated/apis/applications-deployments-api.js +3 -28
  9. package/dist/api/generated/apis/logs-api.d.ts +0 -7
  10. package/dist/api/generated/apis/logs-api.js +0 -20
  11. package/dist/api/generated/apis/resource-events-api.d.ts +1 -1
  12. package/dist/api/generated/apis/resource-events-api.js +1 -1
  13. package/dist/api/generated/models/{deployment-create.js → action-trigger-type.d.ts} +9 -3
  14. package/dist/api/generated/models/action-trigger-type.js +25 -0
  15. package/dist/api/generated/models/action-triggered-from.d.ts +73 -0
  16. package/dist/api/generated/models/{deployment-create-application.js → action-triggered-from.js} +0 -0
  17. package/dist/api/generated/models/action.d.ts +8 -1
  18. package/dist/api/generated/models/{deployment-create.d.ts → application-deployment.d.ts} +6 -6
  19. package/dist/api/generated/models/{deployment-create-server.js → application-deployment.js} +0 -0
  20. package/dist/api/generated/models/application-last-deployments.d.ts +5 -5
  21. package/dist/api/generated/models/index.d.ts +3 -6
  22. package/dist/api/generated/models/index.js +3 -6
  23. package/dist/api/generated/models/resource.d.ts +2 -3
  24. package/dist/api/generated/models/script.d.ts +11 -4
  25. package/dist/services/ActionService.d.ts +2 -0
  26. package/dist/services/ActionService.js +5 -0
  27. package/dist/services/ProjectService.d.ts +0 -2
  28. package/dist/services/ProjectService.js +0 -2
  29. package/package.json +1 -1
  30. package/dist/api/generated/apis/deployments-api.d.ts +0 -25
  31. package/dist/api/generated/apis/deployments-api.js +0 -49
  32. package/dist/api/generated/apis/projects-deployments-api.d.ts +0 -27
  33. package/dist/api/generated/apis/projects-deployments-api.js +0 -58
  34. package/dist/api/generated/models/deployment-create-application.d.ts +0 -42
  35. package/dist/api/generated/models/deployment-create-server.d.ts +0 -30
  36. package/dist/api/generated/models/deployment-relation.d.ts +0 -103
  37. package/dist/api/generated/models/deployment-relation.js +0 -14
  38. package/dist/api/generated/models/deployment-step.d.ts +0 -61
  39. package/dist/api/generated/models/deployment-step.js +0 -14
  40. package/dist/api/generated/models/deployment.d.ts +0 -110
  41. package/dist/api/generated/models/deployment.js +0 -14
  42. package/dist/services/DeploymentService.d.ts +0 -3
  43. package/dist/services/DeploymentService.js +0 -7
@@ -9,12 +9,15 @@ export * from './action-step';
9
9
  export * from './action-step-log';
10
10
  export * from './action-summary';
11
11
  export * from './action-summary-server';
12
+ export * from './action-trigger-type';
13
+ export * from './action-triggered-from';
12
14
  export * from './action-type';
13
15
  export * from './api-error';
14
16
  export * from './api-error-errors';
15
17
  export * from './api-error-errors-field-name';
16
18
  export * from './application';
17
19
  export * from './application-create';
20
+ export * from './application-deployment';
18
21
  export * from './application-last-deployments';
19
22
  export * from './application-options';
20
23
  export * from './application-relation';
@@ -50,15 +53,9 @@ export * from './daemon-create';
50
53
  export * from './daemon-relation';
51
54
  export * from './daemon-restart';
52
55
  export * from './daemon-update';
53
- export * from './deployment';
54
- export * from './deployment-create';
55
- export * from './deployment-create-application';
56
- export * from './deployment-create-server';
57
56
  export * from './deployment-default-step';
58
57
  export * from './deployment-origin';
59
- export * from './deployment-relation';
60
58
  export * from './deployment-source';
61
- export * from './deployment-step';
62
59
  export * from './deployment-type';
63
60
  export * from './environment';
64
61
  export * from './environment-create';
@@ -25,12 +25,15 @@ __exportStar(require("./action-step"), exports);
25
25
  __exportStar(require("./action-step-log"), exports);
26
26
  __exportStar(require("./action-summary"), exports);
27
27
  __exportStar(require("./action-summary-server"), exports);
28
+ __exportStar(require("./action-trigger-type"), exports);
29
+ __exportStar(require("./action-triggered-from"), exports);
28
30
  __exportStar(require("./action-type"), exports);
29
31
  __exportStar(require("./api-error"), exports);
30
32
  __exportStar(require("./api-error-errors"), exports);
31
33
  __exportStar(require("./api-error-errors-field-name"), exports);
32
34
  __exportStar(require("./application"), exports);
33
35
  __exportStar(require("./application-create"), exports);
36
+ __exportStar(require("./application-deployment"), exports);
34
37
  __exportStar(require("./application-last-deployments"), exports);
35
38
  __exportStar(require("./application-options"), exports);
36
39
  __exportStar(require("./application-relation"), exports);
@@ -66,15 +69,9 @@ __exportStar(require("./daemon-create"), exports);
66
69
  __exportStar(require("./daemon-relation"), exports);
67
70
  __exportStar(require("./daemon-restart"), exports);
68
71
  __exportStar(require("./daemon-update"), exports);
69
- __exportStar(require("./deployment"), exports);
70
- __exportStar(require("./deployment-create"), exports);
71
- __exportStar(require("./deployment-create-application"), exports);
72
- __exportStar(require("./deployment-create-server"), exports);
73
72
  __exportStar(require("./deployment-default-step"), exports);
74
73
  __exportStar(require("./deployment-origin"), exports);
75
- __exportStar(require("./deployment-relation"), exports);
76
74
  __exportStar(require("./deployment-source"), exports);
77
- __exportStar(require("./deployment-step"), exports);
78
75
  __exportStar(require("./deployment-type"), exports);
79
76
  __exportStar(require("./environment"), exports);
80
77
  __exportStar(require("./environment-create"), exports);
@@ -12,7 +12,6 @@
12
12
  import { ApplicationRelation } from './application-relation';
13
13
  import { CronJobRelation } from './cron-job-relation';
14
14
  import { DaemonRelation } from './daemon-relation';
15
- import { DeploymentRelation } from './deployment-relation';
16
15
  import { NetworkRuleRelation } from './network-rule-relation';
17
16
  import { ResourceType } from './resource-type';
18
17
  import { ServerRelation } from './server-relation';
@@ -45,8 +44,8 @@ export interface Resource {
45
44
  type_human_readable: string;
46
45
  /**
47
46
  * The resource data of type specified on `resource.type`
48
- * @type {ApplicationRelation | CronJobRelation | DaemonRelation | DeploymentRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
47
+ * @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
49
48
  * @memberof Resource
50
49
  */
51
- data?: ApplicationRelation | CronJobRelation | DaemonRelation | DeploymentRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
50
+ data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
52
51
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceType } from './resource-type';
12
13
  import { TriggerEvent } from './trigger-event';
13
14
  import { TriggerType } from './trigger-type';
14
15
  /**
@@ -24,17 +25,23 @@ export interface Script {
24
25
  */
25
26
  id: number;
26
27
  /**
27
- * The id of the application to be linked
28
+ *
29
+ * @type {ResourceType}
30
+ * @memberof Script
31
+ */
32
+ resource_type: ResourceType;
33
+ /**
34
+ * The id of the linked resource
28
35
  * @type {number}
29
36
  * @memberof Script
30
37
  */
31
- application_id: number;
38
+ resource_id: number;
32
39
  /**
33
40
  * The id of the user that own the script
34
41
  * @type {number}
35
42
  * @memberof Script
36
43
  */
37
- user_id: number;
44
+ created_by: number;
38
45
  /**
39
46
  * Name/short description of the script
40
47
  * @type {string}
@@ -46,7 +53,7 @@ export interface Script {
46
53
  * @type {string}
47
54
  * @memberof Script
48
55
  */
49
- source_code: string;
56
+ command: string;
50
57
  /**
51
58
  * The name of the Unix user on behalf of which the script will be executed
52
59
  * @type {string}
@@ -1,3 +1,5 @@
1
1
  import { ActionsApiService } from "../api/generated/apis/actions-api";
2
+ import { ActionsResourcesApiService } from "../api/generated/apis/actions-resources-api";
2
3
  export declare class ActionService extends ActionsApiService {
4
+ resources: ActionsResourcesApiService;
3
5
  }
@@ -2,6 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ActionService = void 0;
4
4
  const actions_api_1 = require("../api/generated/apis/actions-api");
5
+ const actions_resources_api_1 = require("../api/generated/apis/actions-resources-api");
5
6
  class ActionService extends actions_api_1.ActionsApiService {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.resources = new actions_resources_api_1.ActionsResourcesApiService();
10
+ }
6
11
  }
7
12
  exports.ActionService = ActionService;
@@ -1,7 +1,6 @@
1
1
  import { ProjectsApiService } from '../api/generated/apis/projects-api';
2
2
  import { ProjectsApplicationsApiService } from '../api/generated/apis/projects-applications-api';
3
3
  import { ProjectsCronJobsApiService } from '../api/generated/apis/projects-cron-jobs-api';
4
- import { ProjectsDeploymentsApiService } from '../api/generated/apis/projects-deployments-api';
5
4
  import { ProjectsEnvironmentsApiService } from '../api/generated/apis/projects-environments-api';
6
5
  import { ProjectsNetworkRulesApiService } from '../api/generated/apis/projects-network-rules-api';
7
6
  import { ProjectsServersApiService } from '../api/generated/apis/projects-servers-api';
@@ -12,7 +11,6 @@ export declare class ProjectService extends ProjectsApiService {
12
11
  applications: ProjectsApplicationsApiService;
13
12
  cronjobs: ProjectsCronJobsApiService;
14
13
  daemons: ProjectsDaemonsApiService;
15
- deployments: ProjectsDeploymentsApiService;
16
14
  environments: ProjectsEnvironmentsApiService;
17
15
  networkRules: ProjectsNetworkRulesApiService;
18
16
  servers: ProjectsServersApiService;
@@ -4,7 +4,6 @@ exports.ProjectService = void 0;
4
4
  const projects_api_1 = require("../api/generated/apis/projects-api");
5
5
  const projects_applications_api_1 = require("../api/generated/apis/projects-applications-api");
6
6
  const projects_cron_jobs_api_1 = require("../api/generated/apis/projects-cron-jobs-api");
7
- const projects_deployments_api_1 = require("../api/generated/apis/projects-deployments-api");
8
7
  const projects_environments_api_1 = require("../api/generated/apis/projects-environments-api");
9
8
  const projects_network_rules_api_1 = require("../api/generated/apis/projects-network-rules-api");
10
9
  const projects_servers_api_1 = require("../api/generated/apis/projects-servers-api");
@@ -17,7 +16,6 @@ class ProjectService extends projects_api_1.ProjectsApiService {
17
16
  this.applications = new projects_applications_api_1.ProjectsApplicationsApiService();
18
17
  this.cronjobs = new projects_cron_jobs_api_1.ProjectsCronJobsApiService();
19
18
  this.daemons = new projects_daemons_api_1.ProjectsDaemonsApiService();
20
- this.deployments = new projects_deployments_api_1.ProjectsDeploymentsApiService();
21
19
  this.environments = new projects_environments_api_1.ProjectsEnvironmentsApiService();
22
20
  this.networkRules = new projects_network_rules_api_1.ProjectsNetworkRulesApiService();
23
21
  this.servers = new projects_servers_api_1.ProjectsServersApiService();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "1.102.0",
3
+ "version": "1.103.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,25 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ApiBaseService } from "../../../services/ApiBaseService";
13
- import { ApiResponse } from "../../../common/ApiResponse";
14
- import { Deployment } from '../../generated/models';
15
- /**
16
- * DeploymentsApiService - Auto-generated
17
- */
18
- export declare class DeploymentsApiService extends ApiBaseService {
19
- /**
20
- *
21
- * @summary Get a deployment by ID
22
- * @param {number} deploymentId Numeric ID of the deployment to get
23
- */
24
- getDeployment(deploymentId: number): Promise<ApiResponse<Deployment>>;
25
- }
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
- return new (P || (P = Promise))(function (resolve, reject) {
17
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
- step((generator = generator.apply(thisArg, _arguments || [])).next());
21
- });
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.DeploymentsApiService = void 0;
25
- const ApiBaseService_1 = require("../../../services/ApiBaseService");
26
- const ApiResponse_1 = require("../../../common/ApiResponse");
27
- const Exceptions_1 = require("../../../common/Exceptions");
28
- /**
29
- * DeploymentsApiService - Auto-generated
30
- */
31
- class DeploymentsApiService extends ApiBaseService_1.ApiBaseService {
32
- /**
33
- *
34
- * @summary Get a deployment by ID
35
- * @param {number} deploymentId Numeric ID of the deployment to get
36
- */
37
- getDeployment(deploymentId) {
38
- return __awaiter(this, void 0, void 0, function* () {
39
- if (deploymentId === null || deploymentId === undefined) {
40
- throw new Exceptions_1.ArgumentNullException('deploymentId', 'getDeployment');
41
- }
42
- let queryString = '';
43
- const requestUrl = '/deployments/{deployment_id}' + (queryString ? `?${queryString}` : '');
44
- const response = yield this.get(requestUrl.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId))));
45
- return new ApiResponse_1.ApiResponse(response);
46
- });
47
- }
48
- }
49
- exports.DeploymentsApiService = DeploymentsApiService;
@@ -1,27 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ApiBaseService } from "../../../services/ApiBaseService";
13
- import { ApiResponse } from "../../../common/ApiResponse";
14
- import { DeploymentRelation } from '../../generated/models';
15
- /**
16
- * ProjectsDeploymentsApiService - Auto-generated
17
- */
18
- export declare class ProjectsDeploymentsApiService extends ApiBaseService {
19
- /**
20
- *
21
- * @summary Returns a list of all deployments belonging to a project
22
- * @param {number} projectId Numeric ID of the project to get deployments from
23
- * @param {number} [page] Number of the page to be retrieved
24
- * @param {number} [perPage] Number of items returned per page
25
- */
26
- listProjectDeployments(projectId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<DeploymentRelation>>>;
27
- }
@@ -1,58 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
- return new (P || (P = Promise))(function (resolve, reject) {
17
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
- step((generator = generator.apply(thisArg, _arguments || [])).next());
21
- });
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.ProjectsDeploymentsApiService = void 0;
25
- const ApiBaseService_1 = require("../../../services/ApiBaseService");
26
- const ApiResponse_1 = require("../../../common/ApiResponse");
27
- const Exceptions_1 = require("../../../common/Exceptions");
28
- /**
29
- * ProjectsDeploymentsApiService - Auto-generated
30
- */
31
- class ProjectsDeploymentsApiService extends ApiBaseService_1.ApiBaseService {
32
- /**
33
- *
34
- * @summary Returns a list of all deployments belonging to a project
35
- * @param {number} projectId Numeric ID of the project to get deployments from
36
- * @param {number} [page] Number of the page to be retrieved
37
- * @param {number} [perPage] Number of items returned per page
38
- */
39
- listProjectDeployments(projectId, page, perPage) {
40
- return __awaiter(this, void 0, void 0, function* () {
41
- if (projectId === null || projectId === undefined) {
42
- throw new Exceptions_1.ArgumentNullException('projectId', 'listProjectDeployments');
43
- }
44
- let queryString = '';
45
- const queryParams = { page: page, per_page: perPage, };
46
- for (const key in queryParams) {
47
- if (queryParams[key] === undefined || queryParams[key] === null) {
48
- continue;
49
- }
50
- queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
51
- }
52
- const requestUrl = '/projects/{project_id}/deployments' + (queryString ? `?${queryString}` : '');
53
- const response = yield this.get(requestUrl.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId))));
54
- return new ApiResponse_1.ApiResponse(response);
55
- });
56
- }
57
- }
58
- exports.ProjectsDeploymentsApiService = ProjectsDeploymentsApiService;
@@ -1,42 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface DeploymentCreateApplication
16
- */
17
- export interface DeploymentCreateApplication {
18
- /**
19
- * Numeric ID of the application
20
- * @type {number}
21
- * @memberof DeploymentCreateApplication
22
- */
23
- id: number;
24
- /**
25
- * The applications\'s name
26
- * @type {string}
27
- * @memberof DeploymentCreateApplication
28
- */
29
- name: string;
30
- /**
31
- * The name of the branch from which the source code should be retrieved and deployed
32
- * @type {string}
33
- * @memberof DeploymentCreateApplication
34
- */
35
- branch: string;
36
- /**
37
- * The commit\'s full hash that uniquely identify a commit. Required when re-deploying
38
- * @type {string}
39
- * @memberof DeploymentCreateApplication
40
- */
41
- hash?: string;
42
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface DeploymentCreateServer
16
- */
17
- export interface DeploymentCreateServer {
18
- /**
19
- * Numeric ID of the server
20
- * @type {number}
21
- * @memberof DeploymentCreateServer
22
- */
23
- id: number;
24
- /**
25
- * The server\'s hostname
26
- * @type {string}
27
- * @memberof DeploymentCreateServer
28
- */
29
- hostname: string;
30
- }
@@ -1,103 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ActionRelation } from './action-relation';
13
- import { ActionStatus } from './action-status';
14
- import { Commit } from './commit';
15
- import { DeploymentSource } from './deployment-source';
16
- import { DeploymentStep } from './deployment-step';
17
- import { DeploymentType } from './deployment-type';
18
- import { UserRelation } from './user-relation';
19
- /**
20
- *
21
- * @export
22
- * @interface DeploymentRelation
23
- */
24
- export interface DeploymentRelation {
25
- /**
26
- * The unique id of the given record
27
- * @type {number}
28
- * @memberof DeploymentRelation
29
- */
30
- id: number;
31
- /**
32
- * The application\'s name that the deployment belongs to
33
- * @type {string}
34
- * @memberof DeploymentRelation
35
- */
36
- name: string;
37
- /**
38
- *
39
- * @type {ActionStatus}
40
- * @memberof DeploymentRelation
41
- */
42
- status: ActionStatus;
43
- /**
44
- *
45
- * @type {DeploymentType}
46
- * @memberof DeploymentRelation
47
- */
48
- type: DeploymentType;
49
- /**
50
- *
51
- * @type {DeploymentSource}
52
- * @memberof DeploymentRelation
53
- */
54
- source: DeploymentSource;
55
- /**
56
- *
57
- * @type {Commit}
58
- * @memberof DeploymentRelation
59
- */
60
- commit: Commit;
61
- /**
62
- * The steps that were meant to be executed when the deployment was triggered
63
- * @type {Array<DeploymentStep>}
64
- * @memberof DeploymentRelation
65
- */
66
- steps: Array<DeploymentStep>;
67
- /**
68
- *
69
- * @type {UserRelation}
70
- * @memberof DeploymentRelation
71
- */
72
- triggered_by_user?: UserRelation;
73
- /**
74
- *
75
- * @type {ActionRelation}
76
- * @memberof DeploymentRelation
77
- */
78
- last_action?: ActionRelation | null;
79
- /**
80
- * The date and time when the action started execution (i.e., left the `pending/queued` status)
81
- * @type {string}
82
- * @memberof DeploymentRelation
83
- */
84
- started_at?: string | null;
85
- /**
86
- * The date and time when the action has finished execution
87
- * @type {string}
88
- * @memberof DeploymentRelation
89
- */
90
- completed_at?: string | null;
91
- /**
92
- * The date and time when the record was created
93
- * @type {string}
94
- * @memberof DeploymentRelation
95
- */
96
- created_at?: string | null;
97
- /**
98
- * The date and time when the record was last updated
99
- * @type {string}
100
- * @memberof DeploymentRelation
101
- */
102
- updated_at?: string | null;
103
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,61 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ActionStatus } from './action-status';
13
- /**
14
- *
15
- * @export
16
- * @interface DeploymentStep
17
- */
18
- export interface DeploymentStep {
19
- /**
20
- * The execution order of the given step
21
- * @type {number}
22
- * @memberof DeploymentStep
23
- */
24
- order: number;
25
- /**
26
- * The step name
27
- * @type {string}
28
- * @memberof DeploymentStep
29
- */
30
- name: string;
31
- /**
32
- * The name of the script linked to this step
33
- * @type {string}
34
- * @memberof DeploymentStep
35
- */
36
- script_name?: string | null;
37
- /**
38
- * The source code of the script linked to this step
39
- * @type {string}
40
- * @memberof DeploymentStep
41
- */
42
- script_code?: string | null;
43
- /**
44
- *
45
- * @type {ActionStatus}
46
- * @memberof DeploymentStep
47
- */
48
- status: ActionStatus;
49
- /**
50
- * The date and time when the step started execution (i.e., left the `pending/queued` status)
51
- * @type {string}
52
- * @memberof DeploymentStep
53
- */
54
- started_at?: string | null;
55
- /**
56
- * The date and time when the step has finished execution
57
- * @type {string}
58
- * @memberof DeploymentStep
59
- */
60
- completed_at?: string | null;
61
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });