@devopness/sdk-js 2.35.0 → 2.36.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/models/action-retry-response.d.ts +13 -0
- package/dist/api/generated/models/action.d.ts +13 -0
- package/dist/api/generated/models/index.d.ts +1 -0
- package/dist/api/generated/models/index.js +1 -0
- package/dist/api/generated/models/related-action.d.ts +63 -0
- package/dist/api/generated/models/related-action.js +14 -0
- package/dist/api/generated/models/service-type.d.ts +1 -0
- package/dist/api/generated/models/service-type.js +1 -0
- package/dist/api/generated/models/variable-target.d.ts +1 -0
- package/dist/api/generated/models/variable-target.js +1 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ import { ActionTriggeredFrom } from './action-triggered-from';
|
|
|
17
17
|
import { ActionType } from './action-type';
|
|
18
18
|
import { EnvironmentRelation } from './environment-relation';
|
|
19
19
|
import { ProjectRelation } from './project-relation';
|
|
20
|
+
import { RelatedAction } from './related-action';
|
|
20
21
|
import { Resource } from './resource';
|
|
21
22
|
import { ServerAction } from './server-action';
|
|
22
23
|
import { UserRelation } from './user-relation';
|
|
@@ -74,6 +75,18 @@ export interface ActionRetryResponse {
|
|
|
74
75
|
* @memberof ActionRetryResponse
|
|
75
76
|
*/
|
|
76
77
|
triggered_from: ActionTriggeredFrom;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {RelatedAction}
|
|
81
|
+
* @memberof ActionRetryResponse
|
|
82
|
+
*/
|
|
83
|
+
parent: RelatedAction | null;
|
|
84
|
+
/**
|
|
85
|
+
* List of related actions
|
|
86
|
+
* @type {Array<RelatedAction>}
|
|
87
|
+
* @memberof ActionRetryResponse
|
|
88
|
+
*/
|
|
89
|
+
children: Array<RelatedAction>;
|
|
77
90
|
/**
|
|
78
91
|
*
|
|
79
92
|
* @type {UserRelation}
|
|
@@ -17,6 +17,7 @@ import { ActionTriggeredFrom } from './action-triggered-from';
|
|
|
17
17
|
import { ActionType } from './action-type';
|
|
18
18
|
import { EnvironmentRelation } from './environment-relation';
|
|
19
19
|
import { ProjectRelation } from './project-relation';
|
|
20
|
+
import { RelatedAction } from './related-action';
|
|
20
21
|
import { Resource } from './resource';
|
|
21
22
|
import { ServerAction } from './server-action';
|
|
22
23
|
import { UserRelation } from './user-relation';
|
|
@@ -74,6 +75,18 @@ export interface Action {
|
|
|
74
75
|
* @memberof Action
|
|
75
76
|
*/
|
|
76
77
|
triggered_from: ActionTriggeredFrom;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {RelatedAction}
|
|
81
|
+
* @memberof Action
|
|
82
|
+
*/
|
|
83
|
+
parent: RelatedAction | null;
|
|
84
|
+
/**
|
|
85
|
+
* List of related actions
|
|
86
|
+
* @type {Array<RelatedAction>}
|
|
87
|
+
* @memberof Action
|
|
88
|
+
*/
|
|
89
|
+
children: Array<RelatedAction>;
|
|
77
90
|
/**
|
|
78
91
|
*
|
|
79
92
|
* @type {UserRelation}
|
|
@@ -132,6 +132,7 @@ export * from './project';
|
|
|
132
132
|
export * from './project-create';
|
|
133
133
|
export * from './project-relation';
|
|
134
134
|
export * from './project-update';
|
|
135
|
+
export * from './related-action';
|
|
135
136
|
export * from './repository';
|
|
136
137
|
export * from './repository-branch';
|
|
137
138
|
export * from './repository-relation';
|
|
@@ -148,6 +148,7 @@ __exportStar(require("./project"), exports);
|
|
|
148
148
|
__exportStar(require("./project-create"), exports);
|
|
149
149
|
__exportStar(require("./project-relation"), exports);
|
|
150
150
|
__exportStar(require("./project-update"), exports);
|
|
151
|
+
__exportStar(require("./related-action"), exports);
|
|
151
152
|
__exportStar(require("./repository"), exports);
|
|
152
153
|
__exportStar(require("./repository-branch"), exports);
|
|
153
154
|
__exportStar(require("./repository-relation"), exports);
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
import { ActionType } from './action-type';
|
|
14
|
+
import { ResourceType } from './resource-type';
|
|
15
|
+
/**
|
|
16
|
+
* Action related to another action
|
|
17
|
+
* @export
|
|
18
|
+
* @interface RelatedAction
|
|
19
|
+
*/
|
|
20
|
+
export interface RelatedAction {
|
|
21
|
+
/**
|
|
22
|
+
* The Id of the given action
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof RelatedAction
|
|
25
|
+
*/
|
|
26
|
+
id: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ActionStatus}
|
|
30
|
+
* @memberof RelatedAction
|
|
31
|
+
*/
|
|
32
|
+
status: ActionStatus;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ActionType}
|
|
36
|
+
* @memberof RelatedAction
|
|
37
|
+
*/
|
|
38
|
+
type: ActionType;
|
|
39
|
+
/**
|
|
40
|
+
* Human readable version of the action type
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof RelatedAction
|
|
43
|
+
*/
|
|
44
|
+
type_human_readable: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {ResourceType}
|
|
48
|
+
* @memberof RelatedAction
|
|
49
|
+
*/
|
|
50
|
+
resource_type: ResourceType;
|
|
51
|
+
/**
|
|
52
|
+
* Human readable version of the resource type
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof RelatedAction
|
|
55
|
+
*/
|
|
56
|
+
resource_type_human_readable: string;
|
|
57
|
+
/**
|
|
58
|
+
* The permalink URL to the action details on Devopness web app
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof RelatedAction
|
|
61
|
+
*/
|
|
62
|
+
url_web_permalink: string;
|
|
63
|
+
}
|
|
@@ -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 });
|
|
@@ -22,6 +22,7 @@ var ServiceType;
|
|
|
22
22
|
(function (ServiceType) {
|
|
23
23
|
ServiceType["Docker"] = "docker";
|
|
24
24
|
ServiceType["Mysql"] = "mysql";
|
|
25
|
+
ServiceType["NewrelicInfra"] = "newrelic-infra";
|
|
25
26
|
ServiceType["Nginx"] = "nginx";
|
|
26
27
|
ServiceType["Php"] = "php";
|
|
27
28
|
ServiceType["Redis"] = "redis";
|
|
@@ -22,6 +22,7 @@ var VariableTarget;
|
|
|
22
22
|
(function (VariableTarget) {
|
|
23
23
|
VariableTarget["ResourceConfigFile"] = "resource-config-file";
|
|
24
24
|
VariableTarget["MyCnf"] = "my-cnf";
|
|
25
|
+
VariableTarget["NewrelicInfra"] = "newrelic-infra";
|
|
25
26
|
VariableTarget["NginxConf"] = "nginx-conf";
|
|
26
27
|
VariableTarget["OsEnvVar"] = "os-env-var";
|
|
27
28
|
VariableTarget["PhpCliPhpIni"] = "php-cli_php-ini";
|