@devopness/sdk-js 2.3.0 → 2.6.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 (33) hide show
  1. package/dist/DevopnessApiClient.d.ts +2 -0
  2. package/dist/DevopnessApiClient.js +2 -0
  3. package/dist/api/generated/apis/pipelines-api.d.ts +38 -0
  4. package/dist/api/generated/apis/pipelines-api.js +85 -0
  5. package/dist/api/generated/apis/pipelines-resources-api.d.ts +37 -0
  6. package/dist/api/generated/apis/pipelines-resources-api.js +86 -0
  7. package/dist/api/generated/apis/pipelines-steps-api.d.ts +41 -0
  8. package/dist/api/generated/apis/pipelines-steps-api.js +93 -0
  9. package/dist/api/generated/models/application-last-deployment.d.ts +130 -0
  10. package/dist/api/generated/models/application-last-deployment.js +14 -0
  11. package/dist/api/generated/models/application-last-deployments.d.ts +5 -5
  12. package/dist/api/generated/models/application-options.d.ts +7 -0
  13. package/dist/api/generated/models/application-pipeline.d.ts +30 -0
  14. package/dist/api/generated/models/application-pipeline.js +14 -0
  15. package/dist/api/generated/models/application-relation.d.ts +7 -0
  16. package/dist/api/generated/models/application.d.ts +7 -0
  17. package/dist/api/generated/models/index.d.ts +8 -0
  18. package/dist/api/generated/models/index.js +8 -0
  19. package/dist/api/generated/models/pipeline-create.d.ts +24 -0
  20. package/dist/api/generated/models/pipeline-create.js +14 -0
  21. package/dist/api/generated/models/pipeline-step-create.d.ts +43 -0
  22. package/dist/api/generated/models/pipeline-step-create.js +14 -0
  23. package/dist/api/generated/models/pipeline-step-runner-name.d.ts +22 -0
  24. package/dist/api/generated/models/pipeline-step-runner-name.js +27 -0
  25. package/dist/api/generated/models/pipeline-step.d.ts +73 -0
  26. package/dist/api/generated/models/pipeline-step.js +14 -0
  27. package/dist/api/generated/models/pipeline.d.ts +66 -0
  28. package/dist/api/generated/models/pipeline.js +14 -0
  29. package/dist/api/generated/models/script-runner.d.ts +36 -0
  30. package/dist/api/generated/models/script-runner.js +14 -0
  31. package/dist/services/PipelineService.d.ts +7 -0
  32. package/dist/services/PipelineService.js +14 -0
  33. package/package.json +1 -1
@@ -24,6 +24,7 @@ import { InvitationService } from './services/InvitationService';
24
24
  import { TeamService } from './services/TeamService';
25
25
  import { ResourceEventService } from './services/ResourceEventService';
26
26
  import { ActionService } from './services/ActionService';
27
+ import { PipelineService } from './services/PipelineService';
27
28
  export declare class DevopnessApiClient {
28
29
  actions: ActionService;
29
30
  applications: ApplicationService;
@@ -37,6 +38,7 @@ export declare class DevopnessApiClient {
37
38
  logs: LogService;
38
39
  networkRules: NetworkRuleService;
39
40
  outgoingHooks: HookOutgoingService;
41
+ pipelines: PipelineService;
40
42
  projects: ProjectService;
41
43
  resourceEvents: ResourceEventService;
42
44
  scripts: ScriptService;
@@ -27,6 +27,7 @@ const InvitationService_1 = require("./services/InvitationService");
27
27
  const TeamService_1 = require("./services/TeamService");
28
28
  const ResourceEventService_1 = require("./services/ResourceEventService");
29
29
  const ActionService_1 = require("./services/ActionService");
30
+ const PipelineService_1 = require("./services/PipelineService");
30
31
  class DevopnessApiClient {
31
32
  constructor(options) {
32
33
  ApiBaseService_1.ApiBaseService.configuration = new ApiBaseService_1.Configuration(options || {});
@@ -45,6 +46,7 @@ class DevopnessApiClient {
45
46
  this.logs = new LogService_1.LogService();
46
47
  this.networkRules = new NetworkRuleService_1.NetworkRuleService();
47
48
  this.outgoingHooks = new HookOutgoingService_1.HookOutgoingService();
49
+ this.pipelines = new PipelineService_1.PipelineService();
48
50
  this.projects = new ProjectService_1.ProjectService();
49
51
  this.resourceEvents = new ResourceEventService_1.ResourceEventService();
50
52
  this.scripts = new ScriptService_1.ScriptService();
@@ -0,0 +1,38 @@
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 { Pipeline } from '../../generated/models';
15
+ /**
16
+ * PipelinesApiService - Auto-generated
17
+ */
18
+ export declare class PipelinesApiService extends ApiBaseService {
19
+ /**
20
+ *
21
+ * @summary Delete a pipeline by ID
22
+ * @param {number} pipelineId Unique ID of the pipeline to be deleted
23
+ */
24
+ deletePipeline(pipelineId: number): Promise<ApiResponse<void>>;
25
+ /**
26
+ *
27
+ * @summary Get a pipeline by ID
28
+ * @param {number} pipelineId Unique ID of the pipeline to get information from
29
+ */
30
+ getPipeline(pipelineId: number): Promise<ApiResponse<Pipeline>>;
31
+ /**
32
+ *
33
+ * @summary Update a pipeline by ID
34
+ * @param {number} pipelineId Unique ID of the pipeline to update information from
35
+ * @param {Pipeline} pipeline A JSON object containing pipeline data
36
+ */
37
+ updatePipeline(pipelineId: number, pipeline: Pipeline): Promise<ApiResponse<void>>;
38
+ }
@@ -0,0 +1,85 @@
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.PipelinesApiService = 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
+ * PipelinesApiService - Auto-generated
30
+ */
31
+ class PipelinesApiService extends ApiBaseService_1.ApiBaseService {
32
+ /**
33
+ *
34
+ * @summary Delete a pipeline by ID
35
+ * @param {number} pipelineId Unique ID of the pipeline to be deleted
36
+ */
37
+ deletePipeline(pipelineId) {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ if (pipelineId === null || pipelineId === undefined) {
40
+ throw new Exceptions_1.ArgumentNullException('pipelineId', 'deletePipeline');
41
+ }
42
+ let queryString = '';
43
+ const requestUrl = '/pipelines/{pipeline_id}' + (queryString ? `?${queryString}` : '');
44
+ const response = yield this.delete(requestUrl.replace(`{${"pipeline_id"}}`, encodeURIComponent(String(pipelineId))));
45
+ return new ApiResponse_1.ApiResponse(response);
46
+ });
47
+ }
48
+ /**
49
+ *
50
+ * @summary Get a pipeline by ID
51
+ * @param {number} pipelineId Unique ID of the pipeline to get information from
52
+ */
53
+ getPipeline(pipelineId) {
54
+ return __awaiter(this, void 0, void 0, function* () {
55
+ if (pipelineId === null || pipelineId === undefined) {
56
+ throw new Exceptions_1.ArgumentNullException('pipelineId', 'getPipeline');
57
+ }
58
+ let queryString = '';
59
+ const requestUrl = '/pipelines/{pipeline_id}' + (queryString ? `?${queryString}` : '');
60
+ const response = yield this.get(requestUrl.replace(`{${"pipeline_id"}}`, encodeURIComponent(String(pipelineId))));
61
+ return new ApiResponse_1.ApiResponse(response);
62
+ });
63
+ }
64
+ /**
65
+ *
66
+ * @summary Update a pipeline by ID
67
+ * @param {number} pipelineId Unique ID of the pipeline to update information from
68
+ * @param {Pipeline} pipeline A JSON object containing pipeline data
69
+ */
70
+ updatePipeline(pipelineId, pipeline) {
71
+ return __awaiter(this, void 0, void 0, function* () {
72
+ if (pipelineId === null || pipelineId === undefined) {
73
+ throw new Exceptions_1.ArgumentNullException('pipelineId', 'updatePipeline');
74
+ }
75
+ if (pipeline === null || pipeline === undefined) {
76
+ throw new Exceptions_1.ArgumentNullException('pipeline', 'updatePipeline');
77
+ }
78
+ let queryString = '';
79
+ const requestUrl = '/pipelines/{pipeline_id}' + (queryString ? `?${queryString}` : '');
80
+ const response = yield this.put(requestUrl.replace(`{${"pipeline_id"}}`, encodeURIComponent(String(pipelineId))), pipeline);
81
+ return new ApiResponse_1.ApiResponse(response);
82
+ });
83
+ }
84
+ }
85
+ exports.PipelinesApiService = PipelinesApiService;
@@ -0,0 +1,37 @@
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 { Pipeline } from '../../generated/models';
15
+ import { PipelineCreate } from '../../generated/models';
16
+ /**
17
+ * PipelinesResourcesApiService - Auto-generated
18
+ */
19
+ export declare class PipelinesResourcesApiService extends ApiBaseService {
20
+ /**
21
+ *
22
+ * @summary Create a new pipeline to a resource
23
+ * @param {string} resourceType Pipeline\&#39;s resource type to create
24
+ * @param {number} resourceId Unique ID of the resource to create a pipeline
25
+ * @param {PipelineCreate} pipelineCreate A JSON object containing pipeline data
26
+ */
27
+ addPipeline(resourceType: string, resourceId: number, pipelineCreate: PipelineCreate): Promise<ApiResponse<Pipeline>>;
28
+ /**
29
+ *
30
+ * @summary Returns a list of pipelines to a resource
31
+ * @param {string} resourceType Pipeline\&#39;s resource type to get pipelines from
32
+ * @param {number} resourceId Unique ID of the resource to get pipelines from
33
+ * @param {number} [page] Number of the page to be retrieved
34
+ * @param {number} [perPage] Number of items returned per page
35
+ */
36
+ listPipelines(resourceType: string, resourceId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<Pipeline>>>;
37
+ }
@@ -0,0 +1,86 @@
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.PipelinesResourcesApiService = 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
+ * PipelinesResourcesApiService - Auto-generated
30
+ */
31
+ class PipelinesResourcesApiService extends ApiBaseService_1.ApiBaseService {
32
+ /**
33
+ *
34
+ * @summary Create a new pipeline to a resource
35
+ * @param {string} resourceType Pipeline\&#39;s resource type to create
36
+ * @param {number} resourceId Unique ID of the resource to create a pipeline
37
+ * @param {PipelineCreate} pipelineCreate A JSON object containing pipeline data
38
+ */
39
+ addPipeline(resourceType, resourceId, pipelineCreate) {
40
+ return __awaiter(this, void 0, void 0, function* () {
41
+ if (resourceType === null || resourceType === undefined) {
42
+ throw new Exceptions_1.ArgumentNullException('resourceType', 'addPipeline');
43
+ }
44
+ if (resourceId === null || resourceId === undefined) {
45
+ throw new Exceptions_1.ArgumentNullException('resourceId', 'addPipeline');
46
+ }
47
+ if (pipelineCreate === null || pipelineCreate === undefined) {
48
+ throw new Exceptions_1.ArgumentNullException('pipelineCreate', 'addPipeline');
49
+ }
50
+ let queryString = '';
51
+ const requestUrl = '/pipelines/{resource_type}/{resource_id}' + (queryString ? `?${queryString}` : '');
52
+ const response = yield this.post(requestUrl.replace(`{${"resource_type"}}`, encodeURIComponent(String(resourceType))).replace(`{${"resource_id"}}`, encodeURIComponent(String(resourceId))), pipelineCreate);
53
+ return new ApiResponse_1.ApiResponse(response);
54
+ });
55
+ }
56
+ /**
57
+ *
58
+ * @summary Returns a list of pipelines to a resource
59
+ * @param {string} resourceType Pipeline\&#39;s resource type to get pipelines from
60
+ * @param {number} resourceId Unique ID of the resource to get pipelines from
61
+ * @param {number} [page] Number of the page to be retrieved
62
+ * @param {number} [perPage] Number of items returned per page
63
+ */
64
+ listPipelines(resourceType, resourceId, page, perPage) {
65
+ return __awaiter(this, void 0, void 0, function* () {
66
+ if (resourceType === null || resourceType === undefined) {
67
+ throw new Exceptions_1.ArgumentNullException('resourceType', 'listPipelines');
68
+ }
69
+ if (resourceId === null || resourceId === undefined) {
70
+ throw new Exceptions_1.ArgumentNullException('resourceId', 'listPipelines');
71
+ }
72
+ let queryString = '';
73
+ const queryParams = { page: page, per_page: perPage, };
74
+ for (const key in queryParams) {
75
+ if (queryParams[key] === undefined || queryParams[key] === null) {
76
+ continue;
77
+ }
78
+ queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
79
+ }
80
+ const requestUrl = '/pipelines/{resource_type}/{resource_id}' + (queryString ? `?${queryString}` : '');
81
+ const response = yield this.get(requestUrl.replace(`{${"resource_type"}}`, encodeURIComponent(String(resourceType))).replace(`{${"resource_id"}}`, encodeURIComponent(String(resourceId))));
82
+ return new ApiResponse_1.ApiResponse(response);
83
+ });
84
+ }
85
+ }
86
+ exports.PipelinesResourcesApiService = PipelinesResourcesApiService;
@@ -0,0 +1,41 @@
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 { PipelineStep } from '../../generated/models';
15
+ import { PipelineStepCreate } from '../../generated/models';
16
+ /**
17
+ * PipelinesStepsApiService - Auto-generated
18
+ */
19
+ export declare class PipelinesStepsApiService extends ApiBaseService {
20
+ /**
21
+ *
22
+ * @summary Creates a step for a pipeline
23
+ * @param {number} pipelineId Unique ID of the pipeline to add the step to
24
+ * @param {PipelineStepCreate} pipelineStepCreate A JSON object containing pipeline script data
25
+ */
26
+ createPipelineStep(pipelineId: number, pipelineStepCreate: PipelineStepCreate): Promise<ApiResponse<PipelineStep>>;
27
+ /**
28
+ *
29
+ * @summary Link a step to a pipeline
30
+ * @param {number} pipelineId Unique ID of the pipeline
31
+ * @param {number} stepId Unique ID of the step to be linked
32
+ */
33
+ linkStepToPipeline(pipelineId: number, stepId: number): Promise<ApiResponse<void>>;
34
+ /**
35
+ *
36
+ * @summary Unlink a step from a pipeline
37
+ * @param {number} pipelineId Unique ID of the pipeline
38
+ * @param {number} stepId Unique ID of the step to be unlinked
39
+ */
40
+ unlinkStepFromPipeline(pipelineId: number, stepId: number): Promise<ApiResponse<void>>;
41
+ }
@@ -0,0 +1,93 @@
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.PipelinesStepsApiService = 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
+ * PipelinesStepsApiService - Auto-generated
30
+ */
31
+ class PipelinesStepsApiService extends ApiBaseService_1.ApiBaseService {
32
+ /**
33
+ *
34
+ * @summary Creates a step for a pipeline
35
+ * @param {number} pipelineId Unique ID of the pipeline to add the step to
36
+ * @param {PipelineStepCreate} pipelineStepCreate A JSON object containing pipeline script data
37
+ */
38
+ createPipelineStep(pipelineId, pipelineStepCreate) {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ if (pipelineId === null || pipelineId === undefined) {
41
+ throw new Exceptions_1.ArgumentNullException('pipelineId', 'createPipelineStep');
42
+ }
43
+ if (pipelineStepCreate === null || pipelineStepCreate === undefined) {
44
+ throw new Exceptions_1.ArgumentNullException('pipelineStepCreate', 'createPipelineStep');
45
+ }
46
+ let queryString = '';
47
+ const requestUrl = '/pipelines/{pipeline_id}/steps' + (queryString ? `?${queryString}` : '');
48
+ const response = yield this.post(requestUrl.replace(`{${"pipeline_id"}}`, encodeURIComponent(String(pipelineId))), pipelineStepCreate);
49
+ return new ApiResponse_1.ApiResponse(response);
50
+ });
51
+ }
52
+ /**
53
+ *
54
+ * @summary Link a step to a pipeline
55
+ * @param {number} pipelineId Unique ID of the pipeline
56
+ * @param {number} stepId Unique ID of the step to be linked
57
+ */
58
+ linkStepToPipeline(pipelineId, stepId) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ if (pipelineId === null || pipelineId === undefined) {
61
+ throw new Exceptions_1.ArgumentNullException('pipelineId', 'linkStepToPipeline');
62
+ }
63
+ if (stepId === null || stepId === undefined) {
64
+ throw new Exceptions_1.ArgumentNullException('stepId', 'linkStepToPipeline');
65
+ }
66
+ let queryString = '';
67
+ const requestUrl = '/pipelines/{pipeline_id}/steps/{step_id}' + (queryString ? `?${queryString}` : '');
68
+ const response = yield this.post(requestUrl.replace(`{${"pipeline_id"}}`, encodeURIComponent(String(pipelineId))).replace(`{${"step_id"}}`, encodeURIComponent(String(stepId))));
69
+ return new ApiResponse_1.ApiResponse(response);
70
+ });
71
+ }
72
+ /**
73
+ *
74
+ * @summary Unlink a step from a pipeline
75
+ * @param {number} pipelineId Unique ID of the pipeline
76
+ * @param {number} stepId Unique ID of the step to be unlinked
77
+ */
78
+ unlinkStepFromPipeline(pipelineId, stepId) {
79
+ return __awaiter(this, void 0, void 0, function* () {
80
+ if (pipelineId === null || pipelineId === undefined) {
81
+ throw new Exceptions_1.ArgumentNullException('pipelineId', 'unlinkStepFromPipeline');
82
+ }
83
+ if (stepId === null || stepId === undefined) {
84
+ throw new Exceptions_1.ArgumentNullException('stepId', 'unlinkStepFromPipeline');
85
+ }
86
+ let queryString = '';
87
+ const requestUrl = '/pipelines/{pipeline_id}/steps/{step_id}' + (queryString ? `?${queryString}` : '');
88
+ const response = yield this.delete(requestUrl.replace(`{${"pipeline_id"}}`, encodeURIComponent(String(pipelineId))).replace(`{${"step_id"}}`, encodeURIComponent(String(stepId))));
89
+ return new ApiResponse_1.ApiResponse(response);
90
+ });
91
+ }
92
+ }
93
+ exports.PipelinesStepsApiService = PipelinesStepsApiService;
@@ -0,0 +1,130 @@
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 { ActionData } from './action-data';
13
+ import { ActionHookRequest } from './action-hook-request';
14
+ import { ActionStatus } from './action-status';
15
+ import { ActionSummary } from './action-summary';
16
+ import { ActionTriggeredFrom } from './action-triggered-from';
17
+ import { ActionType } from './action-type';
18
+ import { EnvironmentRelation } from './environment-relation';
19
+ import { ProjectRelation } from './project-relation';
20
+ import { ServerAction } from './server-action';
21
+ import { UserRelation } from './user-relation';
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface ApplicationLastDeployment
26
+ */
27
+ export interface ApplicationLastDeployment {
28
+ /**
29
+ * The Id of the given action
30
+ * @type {number}
31
+ * @memberof ApplicationLastDeployment
32
+ */
33
+ id: number;
34
+ /**
35
+ *
36
+ * @type {ActionStatus}
37
+ * @memberof ApplicationLastDeployment
38
+ */
39
+ status: ActionStatus;
40
+ /**
41
+ *
42
+ * @type {ActionType}
43
+ * @memberof ApplicationLastDeployment
44
+ */
45
+ type: ActionType;
46
+ /**
47
+ * Human readable version of the action type
48
+ * @type {string}
49
+ * @memberof ApplicationLastDeployment
50
+ */
51
+ type_human_readable: string;
52
+ /**
53
+ *
54
+ * @type {ActionSummary}
55
+ * @memberof ApplicationLastDeployment
56
+ */
57
+ summary?: ActionSummary;
58
+ /**
59
+ * The permalink URL to the action details on Devopness web app
60
+ * @type {string}
61
+ * @memberof ApplicationLastDeployment
62
+ */
63
+ url_web_permalink: string;
64
+ /**
65
+ *
66
+ * @type {ActionData}
67
+ * @memberof ApplicationLastDeployment
68
+ */
69
+ action_data: ActionData | null;
70
+ /**
71
+ * List of actions dispatched to servers
72
+ * @type {Array<ServerAction>}
73
+ * @memberof ApplicationLastDeployment
74
+ */
75
+ servers?: Array<ServerAction>;
76
+ /**
77
+ *
78
+ * @type {EnvironmentRelation}
79
+ * @memberof ApplicationLastDeployment
80
+ */
81
+ environment?: EnvironmentRelation;
82
+ /**
83
+ *
84
+ * @type {ActionTriggeredFrom}
85
+ * @memberof ApplicationLastDeployment
86
+ */
87
+ triggered_from: ActionTriggeredFrom;
88
+ /**
89
+ *
90
+ * @type {UserRelation}
91
+ * @memberof ApplicationLastDeployment
92
+ */
93
+ triggered_by_user?: UserRelation;
94
+ /**
95
+ *
96
+ * @type {ProjectRelation}
97
+ * @memberof ApplicationLastDeployment
98
+ */
99
+ project?: ProjectRelation;
100
+ /**
101
+ *
102
+ * @type {ActionHookRequest}
103
+ * @memberof ApplicationLastDeployment
104
+ */
105
+ hook_requests?: ActionHookRequest;
106
+ /**
107
+ * The date and time when the action started execution (i.e., left the `pending/queued` status)
108
+ * @type {string}
109
+ * @memberof ApplicationLastDeployment
110
+ */
111
+ started_at?: string | null;
112
+ /**
113
+ * The date and time when the action has finished execution
114
+ * @type {string}
115
+ * @memberof ApplicationLastDeployment
116
+ */
117
+ completed_at?: string | null;
118
+ /**
119
+ * The date and time when the record was created
120
+ * @type {string}
121
+ * @memberof ApplicationLastDeployment
122
+ */
123
+ created_at?: string;
124
+ /**
125
+ * The date and time when the record was last updated
126
+ * @type {string}
127
+ * @memberof ApplicationLastDeployment
128
+ */
129
+ updated_at?: string;
130
+ }
@@ -0,0 +1,14 @@
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 });
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Action } from './action';
12
+ import { ApplicationLastDeployment } from './application-last-deployment';
13
13
  /**
14
14
  * Latest deployment created to application and the more recent completed deployment
15
15
  * @export
@@ -18,14 +18,14 @@ import { Action } from './action';
18
18
  export interface ApplicationLastDeployments {
19
19
  /**
20
20
  *
21
- * @type {Action}
21
+ * @type {ApplicationLastDeployment}
22
22
  * @memberof ApplicationLastDeployments
23
23
  */
24
- latest?: Action | null;
24
+ latest?: ApplicationLastDeployment | null;
25
25
  /**
26
26
  *
27
- * @type {Action}
27
+ * @type {ApplicationLastDeployment}
28
28
  * @memberof ApplicationLastDeployments
29
29
  */
30
- live?: Action | null;
30
+ live?: ApplicationLastDeployment | null;
31
31
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { DeploymentDefaultStep } from './deployment-default-step';
13
13
  import { LanguageRuntime } from './language-runtime';
14
+ import { ScriptRunner } from './script-runner';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -29,4 +30,10 @@ export interface ApplicationOptions {
29
30
  * @memberof ApplicationOptions
30
31
  */
31
32
  language_runtimes: Array<LanguageRuntime>;
33
+ /**
34
+ *
35
+ * @type {Array<ScriptRunner>}
36
+ * @memberof ApplicationOptions
37
+ */
38
+ script_runners: Array<ScriptRunner>;
32
39
  }
@@ -0,0 +1,30 @@
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 ApplicationPipeline
16
+ */
17
+ export interface ApplicationPipeline {
18
+ /**
19
+ * The unique id of the given record
20
+ * @type {number}
21
+ * @memberof ApplicationPipeline
22
+ */
23
+ id: number;
24
+ /**
25
+ * The pipeline\'s name
26
+ * @type {string}
27
+ * @memberof ApplicationPipeline
28
+ */
29
+ name: string;
30
+ }
@@ -0,0 +1,14 @@
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 });
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ActionRelation } from './action-relation';
13
+ import { ApplicationPipeline } from './application-pipeline';
13
14
  import { ApplicationType } from './application-type';
14
15
  /**
15
16
  *
@@ -155,6 +156,12 @@ export interface ApplicationRelation {
155
156
  * @memberof ApplicationRelation
156
157
  */
157
158
  last_action?: ActionRelation | null;
159
+ /**
160
+ *
161
+ * @type {ApplicationPipeline}
162
+ * @memberof ApplicationRelation
163
+ */
164
+ default_pipeline?: ApplicationPipeline | null;
158
165
  /**
159
166
  * The date and time when the record was created
160
167
  * @type {string}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ActionRelation } from './action-relation';
13
13
  import { ApplicationLastDeployments } from './application-last-deployments';
14
+ import { ApplicationPipeline } from './application-pipeline';
14
15
  import { ApplicationType } from './application-type';
15
16
  import { EnvironmentRelation } from './environment-relation';
16
17
  import { ServerRelation } from './server-relation';
@@ -209,4 +210,10 @@ export interface Application {
209
210
  * @memberof Application
210
211
  */
211
212
  updated_at?: string;
213
+ /**
214
+ *
215
+ * @type {ApplicationPipeline}
216
+ * @memberof Application
217
+ */
218
+ default_pipeline?: ApplicationPipeline | null;
212
219
  }
@@ -22,8 +22,10 @@ export * from './api-error-errors-field-name';
22
22
  export * from './application';
23
23
  export * from './application-create';
24
24
  export * from './application-deployment';
25
+ export * from './application-last-deployment';
25
26
  export * from './application-last-deployments';
26
27
  export * from './application-options';
28
+ export * from './application-pipeline';
27
29
  export * from './application-relation';
28
30
  export * from './application-type';
29
31
  export * from './application-update';
@@ -114,6 +116,11 @@ export * from './network-rule-type';
114
116
  export * from './network-rule-update';
115
117
  export * from './operating-system';
116
118
  export * from './operating-system-supported-versions';
119
+ export * from './pipeline';
120
+ export * from './pipeline-create';
121
+ export * from './pipeline-step';
122
+ export * from './pipeline-step-create';
123
+ export * from './pipeline-step-runner-name';
117
124
  export * from './project';
118
125
  export * from './project-create';
119
126
  export * from './project-relation';
@@ -125,6 +132,7 @@ export * from './resource-event';
125
132
  export * from './resource-type';
126
133
  export * from './script';
127
134
  export * from './script-create';
135
+ export * from './script-runner';
128
136
  export * from './script-update';
129
137
  export * from './server';
130
138
  export * from './server-action';
@@ -38,8 +38,10 @@ __exportStar(require("./api-error-errors-field-name"), exports);
38
38
  __exportStar(require("./application"), exports);
39
39
  __exportStar(require("./application-create"), exports);
40
40
  __exportStar(require("./application-deployment"), exports);
41
+ __exportStar(require("./application-last-deployment"), exports);
41
42
  __exportStar(require("./application-last-deployments"), exports);
42
43
  __exportStar(require("./application-options"), exports);
44
+ __exportStar(require("./application-pipeline"), exports);
43
45
  __exportStar(require("./application-relation"), exports);
44
46
  __exportStar(require("./application-type"), exports);
45
47
  __exportStar(require("./application-update"), exports);
@@ -130,6 +132,11 @@ __exportStar(require("./network-rule-type"), exports);
130
132
  __exportStar(require("./network-rule-update"), exports);
131
133
  __exportStar(require("./operating-system"), exports);
132
134
  __exportStar(require("./operating-system-supported-versions"), exports);
135
+ __exportStar(require("./pipeline"), exports);
136
+ __exportStar(require("./pipeline-create"), exports);
137
+ __exportStar(require("./pipeline-step"), exports);
138
+ __exportStar(require("./pipeline-step-create"), exports);
139
+ __exportStar(require("./pipeline-step-runner-name"), exports);
133
140
  __exportStar(require("./project"), exports);
134
141
  __exportStar(require("./project-create"), exports);
135
142
  __exportStar(require("./project-relation"), exports);
@@ -141,6 +148,7 @@ __exportStar(require("./resource-event"), exports);
141
148
  __exportStar(require("./resource-type"), exports);
142
149
  __exportStar(require("./script"), exports);
143
150
  __exportStar(require("./script-create"), exports);
151
+ __exportStar(require("./script-runner"), exports);
144
152
  __exportStar(require("./script-update"), exports);
145
153
  __exportStar(require("./server"), exports);
146
154
  __exportStar(require("./server-action"), exports);
@@ -0,0 +1,24 @@
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 PipelineCreate
16
+ */
17
+ export interface PipelineCreate {
18
+ /**
19
+ * The pipeline\'s name
20
+ * @type {string}
21
+ * @memberof PipelineCreate
22
+ */
23
+ name: string;
24
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,43 @@
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 { PipelineStepRunnerName } from './pipeline-step-runner-name';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PipelineStepCreate
17
+ */
18
+ export interface PipelineStepCreate {
19
+ /**
20
+ * Name/short description of the script
21
+ * @type {string}
22
+ * @memberof PipelineStepCreate
23
+ */
24
+ name: string;
25
+ /**
26
+ * A command line or multiline bash script
27
+ * @type {string}
28
+ * @memberof PipelineStepCreate
29
+ */
30
+ command: string;
31
+ /**
32
+ *
33
+ * @type {PipelineStepRunnerName}
34
+ * @memberof PipelineStepCreate
35
+ */
36
+ runner: PipelineStepRunnerName;
37
+ /**
38
+ * The name of the Unix user on behalf of which the script will be executed
39
+ * @type {string}
40
+ * @memberof PipelineStepCreate
41
+ */
42
+ run_as_user?: string;
43
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,22 @@
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
+ * Name of the script runner that will run the script
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum PipelineStepRunnerName {
18
+ Composer = "composer",
19
+ Npm = "npm",
20
+ Pip = "pip",
21
+ Yarn = "yarn"
22
+ }
@@ -0,0 +1,27 @@
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 });
15
+ exports.PipelineStepRunnerName = void 0;
16
+ /**
17
+ * Name of the script runner that will run the script
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var PipelineStepRunnerName;
22
+ (function (PipelineStepRunnerName) {
23
+ PipelineStepRunnerName["Composer"] = "composer";
24
+ PipelineStepRunnerName["Npm"] = "npm";
25
+ PipelineStepRunnerName["Pip"] = "pip";
26
+ PipelineStepRunnerName["Yarn"] = "yarn";
27
+ })(PipelineStepRunnerName = exports.PipelineStepRunnerName || (exports.PipelineStepRunnerName = {}));
@@ -0,0 +1,73 @@
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 { PipelineStepRunnerName } from './pipeline-step-runner-name';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PipelineStep
17
+ */
18
+ export interface PipelineStep {
19
+ /**
20
+ * The Id of the given script
21
+ * @type {number}
22
+ * @memberof PipelineStep
23
+ */
24
+ id: number;
25
+ /**
26
+ * The id of the user that own the script
27
+ * @type {number}
28
+ * @memberof PipelineStep
29
+ */
30
+ created_by: number;
31
+ /**
32
+ * Name/short description of the script
33
+ * @type {string}
34
+ * @memberof PipelineStep
35
+ */
36
+ name: string;
37
+ /**
38
+ * A command line or multiline bash script
39
+ * @type {string}
40
+ * @memberof PipelineStep
41
+ */
42
+ command: string;
43
+ /**
44
+ *
45
+ * @type {PipelineStepRunnerName}
46
+ * @memberof PipelineStep
47
+ */
48
+ runner: PipelineStepRunnerName;
49
+ /**
50
+ * The name of the Unix user on behalf of which the script will be executed
51
+ * @type {string}
52
+ * @memberof PipelineStep
53
+ */
54
+ run_as_user: string;
55
+ /**
56
+ * The relative order of the script execution in case the event has multiple scripts attached
57
+ * @type {number}
58
+ * @memberof PipelineStep
59
+ */
60
+ trigger_order: number;
61
+ /**
62
+ * The date and time when the record was created
63
+ * @type {string}
64
+ * @memberof PipelineStep
65
+ */
66
+ created_at?: string;
67
+ /**
68
+ * The date and time when the record was last updated
69
+ * @type {string}
70
+ * @memberof PipelineStep
71
+ */
72
+ updated_at?: string;
73
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,66 @@
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 Pipeline
16
+ */
17
+ export interface Pipeline {
18
+ /**
19
+ * The unique id of the given record
20
+ * @type {number}
21
+ * @memberof Pipeline
22
+ */
23
+ id: number;
24
+ /**
25
+ * The pipeline\'s name
26
+ * @type {string}
27
+ * @memberof Pipeline
28
+ */
29
+ name: string;
30
+ /**
31
+ * The pipeline\'s resource type
32
+ * @type {string}
33
+ * @memberof Pipeline
34
+ */
35
+ resource_type: string;
36
+ /**
37
+ * The pipeline\'s resource id
38
+ * @type {number}
39
+ * @memberof Pipeline
40
+ */
41
+ resource_id: number;
42
+ /**
43
+ * The pipeline\'s project id
44
+ * @type {number}
45
+ * @memberof Pipeline
46
+ */
47
+ project_id: number;
48
+ /**
49
+ * id of the user responsible for creating the pipeline
50
+ * @type {number}
51
+ * @memberof Pipeline
52
+ */
53
+ created_by: number;
54
+ /**
55
+ * The date and time when the record was created
56
+ * @type {string}
57
+ * @memberof Pipeline
58
+ */
59
+ created_at: string;
60
+ /**
61
+ * The date and time when the record was last updated
62
+ * @type {string}
63
+ * @memberof Pipeline
64
+ */
65
+ updated_at: string;
66
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,36 @@
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 ScriptRunner
16
+ */
17
+ export interface ScriptRunner {
18
+ /**
19
+ * How to call the runner in CLI
20
+ * @type {string}
21
+ * @memberof ScriptRunner
22
+ */
23
+ value: string;
24
+ /**
25
+ * The formatted name of the runner
26
+ * @type {string}
27
+ * @memberof ScriptRunner
28
+ */
29
+ human_readable: string;
30
+ /**
31
+ * A brief description about the runner
32
+ * @type {string}
33
+ * @memberof ScriptRunner
34
+ */
35
+ hint: string;
36
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,7 @@
1
+ import { PipelinesApiService } from "../api/generated/apis/pipelines-api";
2
+ import { PipelinesResourcesApiService } from "../api/generated/apis/pipelines-resources-api";
3
+ import { PipelinesStepsApiService } from "../api/generated/apis/pipelines-steps-api";
4
+ export declare class PipelineService extends PipelinesApiService {
5
+ resources: PipelinesResourcesApiService;
6
+ steps: PipelinesStepsApiService;
7
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PipelineService = void 0;
4
+ const pipelines_api_1 = require("../api/generated/apis/pipelines-api");
5
+ const pipelines_resources_api_1 = require("../api/generated/apis/pipelines-resources-api");
6
+ const pipelines_steps_api_1 = require("../api/generated/apis/pipelines-steps-api");
7
+ class PipelineService extends pipelines_api_1.PipelinesApiService {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.resources = new pipelines_resources_api_1.PipelinesResourcesApiService();
11
+ this.steps = new pipelines_steps_api_1.PipelinesStepsApiService();
12
+ }
13
+ }
14
+ exports.PipelineService = PipelineService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.3.0",
3
+ "version": "2.6.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },