@devopness/sdk-js 2.43.0 → 2.44.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/api/generated/apis/hooks-api.d.ts +2 -1
- package/dist/api/generated/models/hook-trigger-response.d.ts +30 -0
- package/dist/api/generated/models/hook-trigger-response.js +14 -0
- package/dist/api/generated/models/index.d.ts +1 -0
- package/dist/api/generated/models/index.js +1 -0
- package/dist/services/StaticService.d.ts +2 -0
- package/dist/services/StaticService.js +2 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
|
13
13
|
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
14
|
import { Hook } from '../../generated/models';
|
|
15
15
|
import { HookCreate } from '../../generated/models';
|
|
16
|
+
import { HookTriggerResponse } from '../../generated/models';
|
|
16
17
|
import { HookUpdate } from '../../generated/models';
|
|
17
18
|
/**
|
|
18
19
|
* HooksApiService - Auto-generated
|
|
@@ -44,7 +45,7 @@ export declare class HooksApiService extends ApiBaseService {
|
|
|
44
45
|
* @summary Trigger an incoming hook associated action
|
|
45
46
|
* @param {string} hookId The ID of the hook.
|
|
46
47
|
*/
|
|
47
|
-
triggerHook(hookId: string): Promise<ApiResponse<
|
|
48
|
+
triggerHook(hookId: string): Promise<ApiResponse<HookTriggerResponse>>;
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
50
51
|
* @summary Update an existing hook
|
|
@@ -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 HookTriggerResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface HookTriggerResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Message containing information about the hook being triggered
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HookTriggerResponse
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional error object containing details of the server error
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof HookTriggerResponse
|
|
28
|
+
*/
|
|
29
|
+
errors: object | null;
|
|
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 });
|
|
@@ -81,6 +81,7 @@ export * from './hook-outgoing-trigger-when-condition-type';
|
|
|
81
81
|
export * from './hook-relation';
|
|
82
82
|
export * from './hook-request';
|
|
83
83
|
export * from './hook-request-relation';
|
|
84
|
+
export * from './hook-trigger-response';
|
|
84
85
|
export * from './hook-type';
|
|
85
86
|
export * from './hook-update';
|
|
86
87
|
export * from './hook-variable';
|
|
@@ -97,6 +97,7 @@ __exportStar(require("./hook-outgoing-trigger-when-condition-type"), exports);
|
|
|
97
97
|
__exportStar(require("./hook-relation"), exports);
|
|
98
98
|
__exportStar(require("./hook-request"), exports);
|
|
99
99
|
__exportStar(require("./hook-request-relation"), exports);
|
|
100
|
+
__exportStar(require("./hook-trigger-response"), exports);
|
|
100
101
|
__exportStar(require("./hook-type"), exports);
|
|
101
102
|
__exportStar(require("./hook-update"), exports);
|
|
102
103
|
__exportStar(require("./hook-variable"), exports);
|
|
@@ -6,6 +6,7 @@ import { StaticDataCronJobOptionsApiService } from "../api/generated/apis/static
|
|
|
6
6
|
import { StaticDataEnvironmentOptionsApiService } from "../api/generated/apis/static-data-environment-options-api";
|
|
7
7
|
import { StaticDataPermissionsApiService } from "../api/generated/apis/static-data-permissions-api";
|
|
8
8
|
import { StaticDataServiceOptionsApiService } from "../api/generated/apis/static-data-service-options-api";
|
|
9
|
+
import { StaticDataUserProfileOptionsApiService } from "../api/generated/apis/static-data-user-profile-options-api";
|
|
9
10
|
export declare class StaticService {
|
|
10
11
|
applicationOptions: StaticDataApplicationOptionsApiService;
|
|
11
12
|
cloudProviderOptions: StaticDataCloudProviderOptionsApiService;
|
|
@@ -15,4 +16,5 @@ export declare class StaticService {
|
|
|
15
16
|
environmentOptions: StaticDataEnvironmentOptionsApiService;
|
|
16
17
|
permissions: StaticDataPermissionsApiService;
|
|
17
18
|
serviceOptions: StaticDataServiceOptionsApiService;
|
|
19
|
+
userProfileOptions: StaticDataUserProfileOptionsApiService;
|
|
18
20
|
}
|
|
@@ -9,6 +9,7 @@ const static_data_cron_job_options_api_1 = require("../api/generated/apis/static
|
|
|
9
9
|
const static_data_environment_options_api_1 = require("../api/generated/apis/static-data-environment-options-api");
|
|
10
10
|
const static_data_permissions_api_1 = require("../api/generated/apis/static-data-permissions-api");
|
|
11
11
|
const static_data_service_options_api_1 = require("../api/generated/apis/static-data-service-options-api");
|
|
12
|
+
const static_data_user_profile_options_api_1 = require("../api/generated/apis/static-data-user-profile-options-api");
|
|
12
13
|
class StaticService {
|
|
13
14
|
constructor() {
|
|
14
15
|
this.applicationOptions = new static_data_application_options_api_1.StaticDataApplicationOptionsApiService();
|
|
@@ -19,6 +20,7 @@ class StaticService {
|
|
|
19
20
|
this.environmentOptions = new static_data_environment_options_api_1.StaticDataEnvironmentOptionsApiService();
|
|
20
21
|
this.permissions = new static_data_permissions_api_1.StaticDataPermissionsApiService();
|
|
21
22
|
this.serviceOptions = new static_data_service_options_api_1.StaticDataServiceOptionsApiService();
|
|
23
|
+
this.userProfileOptions = new static_data_user_profile_options_api_1.StaticDataUserProfileOptionsApiService();
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
exports.StaticService = StaticService;
|