@devopness/sdk-js 2.76.0 → 2.77.1
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.
|
@@ -28,7 +28,7 @@ export declare class PipelinesHooksApiService extends ApiBaseService {
|
|
|
28
28
|
addPipelineHook(hookType: string, pipelineId: number, hookPipelineCreate: HookPipelineCreate): Promise<ApiResponse<Hook>>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @summary List all hooks in
|
|
31
|
+
* @summary List all hooks in a pipeline
|
|
32
32
|
* @param {number} pipelineId The ID of the pipeline.
|
|
33
33
|
* @param {number} [page] Number of the page to be retrieved
|
|
34
34
|
* @param {number} [perPage] Number of items returned per page
|
|
@@ -55,7 +55,7 @@ class PipelinesHooksApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @summary List all hooks in
|
|
58
|
+
* @summary List all hooks in a pipeline
|
|
59
59
|
* @param {number} pipelineId The ID of the pipeline.
|
|
60
60
|
* @param {number} [page] Number of the page to be retrieved
|
|
61
61
|
* @param {number} [perPage] Number of items returned per page
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { PipelinesActionsApiService } from "../api/generated/apis/pipelines-actions-api";
|
|
2
|
-
import {
|
|
2
|
+
import { PipelinesHooksApiService } from "../api/generated/apis/pipelines-hooks-api";
|
|
3
3
|
import { PipelinesStepsApiService } from "../api/generated/apis/pipelines-steps-api";
|
|
4
|
+
import { PipelinesApiService } from "../api/generated/apis/pipelines-api";
|
|
4
5
|
export declare class PipelineService extends PipelinesApiService {
|
|
5
6
|
actions: PipelinesActionsApiService;
|
|
7
|
+
hooks: PipelinesHooksApiService;
|
|
6
8
|
steps: PipelinesStepsApiService;
|
|
7
9
|
}
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PipelineService = void 0;
|
|
4
4
|
const pipelines_actions_api_1 = require("../api/generated/apis/pipelines-actions-api");
|
|
5
|
-
const
|
|
5
|
+
const pipelines_hooks_api_1 = require("../api/generated/apis/pipelines-hooks-api");
|
|
6
6
|
const pipelines_steps_api_1 = require("../api/generated/apis/pipelines-steps-api");
|
|
7
|
+
const pipelines_api_1 = require("../api/generated/apis/pipelines-api");
|
|
7
8
|
class PipelineService extends pipelines_api_1.PipelinesApiService {
|
|
8
9
|
constructor() {
|
|
9
10
|
super(...arguments);
|
|
10
11
|
this.actions = new pipelines_actions_api_1.PipelinesActionsApiService();
|
|
12
|
+
this.hooks = new pipelines_hooks_api_1.PipelinesHooksApiService();
|
|
11
13
|
this.steps = new pipelines_steps_api_1.PipelinesStepsApiService();
|
|
12
14
|
}
|
|
13
15
|
}
|