@devopness/sdk-js 2.45.0 → 2.47.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-relation.d.ts +6 -0
- package/dist/api/generated/models/action-retry-response.d.ts +6 -0
- package/dist/api/generated/models/action-step.d.ts +6 -0
- package/dist/api/generated/models/action.d.ts +6 -0
- package/dist/api/generated/models/application-relation.d.ts +7 -0
- package/dist/api/generated/models/blueprint-service.d.ts +20 -1
- package/dist/api/generated/models/hook-create.d.ts +4 -5
- package/dist/api/generated/models/hook-incoming-trigger-when-condition.d.ts +2 -2
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition.d.ts +6 -8
- package/dist/api/generated/models/hook-relation.d.ts +4 -5
- package/dist/api/generated/models/hook-trigger-when.d.ts +32 -0
- package/dist/api/generated/models/{hook-outgoing-trigger-when-action-status.d.ts → hook-trigger-when.js} +3 -10
- package/dist/api/generated/models/hook-update.d.ts +4 -5
- package/dist/api/generated/models/hook-variable.d.ts +1 -1
- package/dist/api/generated/models/hook.d.ts +4 -5
- package/dist/api/generated/models/index.d.ts +2 -2
- package/dist/api/generated/models/index.js +2 -2
- package/dist/api/generated/models/related-action.d.ts +6 -0
- package/dist/api/generated/models/server-action.d.ts +6 -0
- package/dist/api/generated/models/server-blueprint-spec.d.ts +25 -0
- package/dist/api/generated/models/{hook-outgoing-trigger-when-condition-type.d.ts → server-blueprint-spec.js} +3 -8
- package/dist/api/generated/models/server-blueprint.d.ts +35 -5
- package/dist/api/generated/models/server-environment-create.d.ts +4 -4
- package/package.json +1 -1
- package/dist/api/generated/models/hook-outgoing-trigger-when-action-status.js +0 -26
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition-type.js +0 -24
|
@@ -34,6 +34,12 @@ export interface ActionRelation {
|
|
|
34
34
|
* @memberof ActionRelation
|
|
35
35
|
*/
|
|
36
36
|
status: ActionStatus;
|
|
37
|
+
/**
|
|
38
|
+
* Current item status human readable
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ActionRelation
|
|
41
|
+
*/
|
|
42
|
+
status_human_readable: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {ActionType}
|
|
@@ -45,6 +45,12 @@ export interface ActionRetryResponse {
|
|
|
45
45
|
* @memberof ActionRetryResponse
|
|
46
46
|
*/
|
|
47
47
|
status: ActionStatus;
|
|
48
|
+
/**
|
|
49
|
+
* Current item status human readable
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ActionRetryResponse
|
|
52
|
+
*/
|
|
53
|
+
status_human_readable: string;
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
50
56
|
* @type {ActionType}
|
|
@@ -58,6 +58,12 @@ export interface ActionStep {
|
|
|
58
58
|
* @memberof ActionStep
|
|
59
59
|
*/
|
|
60
60
|
status: ActionStatus;
|
|
61
|
+
/**
|
|
62
|
+
* Human readable version of the action status
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ActionStep
|
|
65
|
+
*/
|
|
66
|
+
status_human_readable?: string;
|
|
61
67
|
/**
|
|
62
68
|
* The date and time when the action started execution (i.e., left the `pending/queued` status)
|
|
63
69
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ApplicationLastDeployments } from './application-last-deployments';
|
|
13
13
|
import { ApplicationType } from './application-type';
|
|
14
|
+
import { SourceProvider } from './source-provider';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -161,6 +162,12 @@ export interface ApplicationRelation {
|
|
|
161
162
|
* @memberof ApplicationRelation
|
|
162
163
|
*/
|
|
163
164
|
last_deployments?: ApplicationLastDeployments;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {SourceProvider}
|
|
168
|
+
* @memberof ApplicationRelation
|
|
169
|
+
*/
|
|
170
|
+
source_provider?: SourceProvider;
|
|
164
171
|
/**
|
|
165
172
|
* The date and time when the record was created
|
|
166
173
|
* @type {string}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ServiceInitialState } from './service-initial-state';
|
|
12
13
|
import { ServiceType } from './service-type';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -16,10 +17,28 @@ import { ServiceType } from './service-type';
|
|
|
16
17
|
* @interface BlueprintService
|
|
17
18
|
*/
|
|
18
19
|
export interface BlueprintService {
|
|
20
|
+
/**
|
|
21
|
+
* Indicates if the service will start automatically on operating system boot
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof BlueprintService
|
|
24
|
+
*/
|
|
25
|
+
auto_start?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ServiceInitialState}
|
|
29
|
+
* @memberof BlueprintService
|
|
30
|
+
*/
|
|
31
|
+
initial_state?: ServiceInitialState;
|
|
19
32
|
/**
|
|
20
33
|
*
|
|
21
34
|
* @type {ServiceType}
|
|
22
35
|
* @memberof BlueprintService
|
|
23
36
|
*/
|
|
24
|
-
|
|
37
|
+
type: ServiceType;
|
|
38
|
+
/**
|
|
39
|
+
* The service version
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BlueprintService
|
|
42
|
+
*/
|
|
43
|
+
version: string;
|
|
25
44
|
}
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionType } from './action-type';
|
|
13
13
|
import { HookIncomingSettings } from './hook-incoming-settings';
|
|
14
|
-
import { HookIncomingTriggerWhenCondition } from './hook-incoming-trigger-when-condition';
|
|
15
14
|
import { HookOutgoingSettings } from './hook-outgoing-settings';
|
|
16
|
-
import {
|
|
15
|
+
import { HookTriggerWhen } from './hook-trigger-when';
|
|
17
16
|
import { ResourceType } from './resource-type';
|
|
18
17
|
/**
|
|
19
18
|
*
|
|
@@ -70,11 +69,11 @@ export interface HookCreate {
|
|
|
70
69
|
*/
|
|
71
70
|
secret_header_name?: string;
|
|
72
71
|
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {
|
|
72
|
+
*
|
|
73
|
+
* @type {HookTriggerWhen}
|
|
75
74
|
* @memberof HookCreate
|
|
76
75
|
*/
|
|
77
|
-
trigger_when?:
|
|
76
|
+
trigger_when?: HookTriggerWhen;
|
|
78
77
|
/**
|
|
79
78
|
*
|
|
80
79
|
* @type {HookIncomingSettings | HookOutgoingSettings}
|
|
@@ -29,13 +29,13 @@ export interface HookIncomingTriggerWhenCondition {
|
|
|
29
29
|
*/
|
|
30
30
|
type: HookIncomingTriggerWhenConditionType;
|
|
31
31
|
/**
|
|
32
|
-
* A dot-notation path of the request body
|
|
32
|
+
* A dot-notation path of the request body attribute to be used as the value to evaluate this condition.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof HookIncomingTriggerWhenCondition
|
|
35
35
|
*/
|
|
36
36
|
path: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* List of accepted values for this condition.
|
|
39
39
|
* @type {Array<boolean | number | string>}
|
|
40
40
|
* @memberof HookIncomingTriggerWhenCondition
|
|
41
41
|
*/
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { HookOutgoingTriggerWhenActionStatus } from './hook-outgoing-trigger-when-action-status';
|
|
13
|
-
import { HookOutgoingTriggerWhenConditionType } from './hook-outgoing-trigger-when-condition-type';
|
|
14
12
|
/**
|
|
15
13
|
*
|
|
16
14
|
* @export
|
|
@@ -18,15 +16,15 @@ import { HookOutgoingTriggerWhenConditionType } from './hook-outgoing-trigger-wh
|
|
|
18
16
|
*/
|
|
19
17
|
export interface HookOutgoingTriggerWhenCondition {
|
|
20
18
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {
|
|
19
|
+
* A dot-notation path of the outgoing hook variable to be used as the value to evaluate this condition.
|
|
20
|
+
* @type {string}
|
|
23
21
|
* @memberof HookOutgoingTriggerWhenCondition
|
|
24
22
|
*/
|
|
25
|
-
|
|
23
|
+
path: string;
|
|
26
24
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<
|
|
25
|
+
* List of accepted values for this condition.
|
|
26
|
+
* @type {Array<string>}
|
|
29
27
|
* @memberof HookOutgoingTriggerWhenCondition
|
|
30
28
|
*/
|
|
31
|
-
accepted_values: Array<
|
|
29
|
+
accepted_values: Array<string>;
|
|
32
30
|
}
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionType } from './action-type';
|
|
13
13
|
import { HookIncomingSettings } from './hook-incoming-settings';
|
|
14
|
-
import { HookIncomingTriggerWhenCondition } from './hook-incoming-trigger-when-condition';
|
|
15
14
|
import { HookOutgoingSettings } from './hook-outgoing-settings';
|
|
16
|
-
import {
|
|
15
|
+
import { HookTriggerWhen } from './hook-trigger-when';
|
|
17
16
|
import { HookType } from './hook-type';
|
|
18
17
|
import { ResourceType } from './resource-type';
|
|
19
18
|
/**
|
|
@@ -113,11 +112,11 @@ export interface HookRelation {
|
|
|
113
112
|
*/
|
|
114
113
|
settings: HookIncomingSettings | HookOutgoingSettings | null;
|
|
115
114
|
/**
|
|
116
|
-
*
|
|
117
|
-
* @type {
|
|
115
|
+
*
|
|
116
|
+
* @type {HookTriggerWhen}
|
|
118
117
|
* @memberof HookRelation
|
|
119
118
|
*/
|
|
120
|
-
trigger_when:
|
|
119
|
+
trigger_when: HookTriggerWhen;
|
|
121
120
|
/**
|
|
122
121
|
* The date and time when the record was created
|
|
123
122
|
* @type {string}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { HookIncomingTriggerWhenCondition } from './hook-incoming-trigger-when-condition';
|
|
13
|
+
import { HookOutgoingTriggerWhenCondition } from './hook-outgoing-trigger-when-condition';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface HookTriggerWhen
|
|
18
|
+
*/
|
|
19
|
+
export interface HookTriggerWhen {
|
|
20
|
+
/**
|
|
21
|
+
* List of events that will trigger an outgoing hook
|
|
22
|
+
* @type {Array<string>}
|
|
23
|
+
* @memberof HookTriggerWhen
|
|
24
|
+
*/
|
|
25
|
+
events?: Array<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Conditions that must be met to trigger the hook
|
|
28
|
+
* @type {Array<HookIncomingTriggerWhenCondition | HookOutgoingTriggerWhenCondition>}
|
|
29
|
+
* @memberof HookTriggerWhen
|
|
30
|
+
*/
|
|
31
|
+
conditions?: Array<HookIncomingTriggerWhenCondition | HookOutgoingTriggerWhenCondition>;
|
|
32
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* devopness API
|
|
3
5
|
* Devopness API - Painless essential DevOps to everyone
|
|
@@ -9,13 +11,4 @@
|
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
12
|
-
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum HookOutgoingTriggerWhenActionStatus {
|
|
18
|
-
InProgress = "in-progress",
|
|
19
|
-
Completed = "completed",
|
|
20
|
-
Failed = "failed"
|
|
21
|
-
}
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionType } from './action-type';
|
|
13
13
|
import { HookIncomingSettings } from './hook-incoming-settings';
|
|
14
|
-
import { HookIncomingTriggerWhenCondition } from './hook-incoming-trigger-when-condition';
|
|
15
14
|
import { HookOutgoingSettings } from './hook-outgoing-settings';
|
|
16
|
-
import {
|
|
15
|
+
import { HookTriggerWhen } from './hook-trigger-when';
|
|
17
16
|
import { ResourceType } from './resource-type';
|
|
18
17
|
/**
|
|
19
18
|
*
|
|
@@ -70,11 +69,11 @@ export interface HookUpdate {
|
|
|
70
69
|
*/
|
|
71
70
|
secret_header_name?: string;
|
|
72
71
|
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {
|
|
72
|
+
*
|
|
73
|
+
* @type {HookTriggerWhen}
|
|
75
74
|
* @memberof HookUpdate
|
|
76
75
|
*/
|
|
77
|
-
trigger_when?:
|
|
76
|
+
trigger_when?: HookTriggerWhen;
|
|
78
77
|
/**
|
|
79
78
|
*
|
|
80
79
|
* @type {HookIncomingSettings | HookOutgoingSettings}
|
|
@@ -23,7 +23,7 @@ export interface HookVariable {
|
|
|
23
23
|
*/
|
|
24
24
|
name?: string;
|
|
25
25
|
/**
|
|
26
|
-
* A
|
|
26
|
+
* A dot-notation path of the variable to be used as the value to evaluate this condition. If not defined the `name` will be used instead.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof HookVariable
|
|
29
29
|
*/
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionType } from './action-type';
|
|
13
13
|
import { HookIncomingSettings } from './hook-incoming-settings';
|
|
14
|
-
import { HookIncomingTriggerWhenCondition } from './hook-incoming-trigger-when-condition';
|
|
15
14
|
import { HookOutgoingSettings } from './hook-outgoing-settings';
|
|
16
|
-
import {
|
|
15
|
+
import { HookTriggerWhen } from './hook-trigger-when';
|
|
17
16
|
import { HookType } from './hook-type';
|
|
18
17
|
import { ResourceType } from './resource-type';
|
|
19
18
|
import { UserRelation } from './user-relation';
|
|
@@ -114,11 +113,11 @@ export interface Hook {
|
|
|
114
113
|
*/
|
|
115
114
|
settings: HookIncomingSettings | HookOutgoingSettings | null;
|
|
116
115
|
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {
|
|
116
|
+
*
|
|
117
|
+
* @type {HookTriggerWhen}
|
|
119
118
|
* @memberof Hook
|
|
120
119
|
*/
|
|
121
|
-
trigger_when:
|
|
120
|
+
trigger_when: HookTriggerWhen;
|
|
122
121
|
/**
|
|
123
122
|
* The secret generated by Devopness to be used to digitally sign incoming requests. This value is returned only once after a hook is created and cannot be retrieved again after that.
|
|
124
123
|
* @type {string}
|
|
@@ -75,13 +75,12 @@ export * from './hook-incoming-trigger-when-condition';
|
|
|
75
75
|
export * from './hook-incoming-trigger-when-condition-type';
|
|
76
76
|
export * from './hook-outgoing-request-header';
|
|
77
77
|
export * from './hook-outgoing-settings';
|
|
78
|
-
export * from './hook-outgoing-trigger-when-action-status';
|
|
79
78
|
export * from './hook-outgoing-trigger-when-condition';
|
|
80
|
-
export * from './hook-outgoing-trigger-when-condition-type';
|
|
81
79
|
export * from './hook-relation';
|
|
82
80
|
export * from './hook-request';
|
|
83
81
|
export * from './hook-request-relation';
|
|
84
82
|
export * from './hook-trigger-response';
|
|
83
|
+
export * from './hook-trigger-when';
|
|
85
84
|
export * from './hook-type';
|
|
86
85
|
export * from './hook-update';
|
|
87
86
|
export * from './hook-variable';
|
|
@@ -135,6 +134,7 @@ export * from './server';
|
|
|
135
134
|
export * from './server-action';
|
|
136
135
|
export * from './server-action-log-step';
|
|
137
136
|
export * from './server-blueprint';
|
|
137
|
+
export * from './server-blueprint-spec';
|
|
138
138
|
export * from './server-cloud-service';
|
|
139
139
|
export * from './server-cloud-service-name';
|
|
140
140
|
export * from './server-command';
|
|
@@ -91,13 +91,12 @@ __exportStar(require("./hook-incoming-trigger-when-condition"), exports);
|
|
|
91
91
|
__exportStar(require("./hook-incoming-trigger-when-condition-type"), exports);
|
|
92
92
|
__exportStar(require("./hook-outgoing-request-header"), exports);
|
|
93
93
|
__exportStar(require("./hook-outgoing-settings"), exports);
|
|
94
|
-
__exportStar(require("./hook-outgoing-trigger-when-action-status"), exports);
|
|
95
94
|
__exportStar(require("./hook-outgoing-trigger-when-condition"), exports);
|
|
96
|
-
__exportStar(require("./hook-outgoing-trigger-when-condition-type"), exports);
|
|
97
95
|
__exportStar(require("./hook-relation"), exports);
|
|
98
96
|
__exportStar(require("./hook-request"), exports);
|
|
99
97
|
__exportStar(require("./hook-request-relation"), exports);
|
|
100
98
|
__exportStar(require("./hook-trigger-response"), exports);
|
|
99
|
+
__exportStar(require("./hook-trigger-when"), exports);
|
|
101
100
|
__exportStar(require("./hook-type"), exports);
|
|
102
101
|
__exportStar(require("./hook-update"), exports);
|
|
103
102
|
__exportStar(require("./hook-variable"), exports);
|
|
@@ -151,6 +150,7 @@ __exportStar(require("./server"), exports);
|
|
|
151
150
|
__exportStar(require("./server-action"), exports);
|
|
152
151
|
__exportStar(require("./server-action-log-step"), exports);
|
|
153
152
|
__exportStar(require("./server-blueprint"), exports);
|
|
153
|
+
__exportStar(require("./server-blueprint-spec"), exports);
|
|
154
154
|
__exportStar(require("./server-cloud-service"), exports);
|
|
155
155
|
__exportStar(require("./server-cloud-service-name"), exports);
|
|
156
156
|
__exportStar(require("./server-command"), exports);
|
|
@@ -30,6 +30,12 @@ export interface RelatedAction {
|
|
|
30
30
|
* @memberof RelatedAction
|
|
31
31
|
*/
|
|
32
32
|
status: ActionStatus;
|
|
33
|
+
/**
|
|
34
|
+
* Human readable version of the action status
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof RelatedAction
|
|
37
|
+
*/
|
|
38
|
+
status_human_readable?: string;
|
|
33
39
|
/**
|
|
34
40
|
*
|
|
35
41
|
* @type {ActionType}
|
|
@@ -35,6 +35,12 @@ export interface ServerAction {
|
|
|
35
35
|
* @memberof ServerAction
|
|
36
36
|
*/
|
|
37
37
|
status?: ActionStatus;
|
|
38
|
+
/**
|
|
39
|
+
* Human readable version of the action status
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ServerAction
|
|
42
|
+
*/
|
|
43
|
+
status_human_readable?: string;
|
|
38
44
|
/**
|
|
39
45
|
* The total number of steps to complete the action
|
|
40
46
|
* @type {number}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { BlueprintService } from './blueprint-service';
|
|
13
|
+
/**
|
|
14
|
+
* The blueprint specification
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ServerBlueprintSpec
|
|
17
|
+
*/
|
|
18
|
+
export interface ServerBlueprintSpec {
|
|
19
|
+
/**
|
|
20
|
+
* The service names and their respective versions for a blueprint.
|
|
21
|
+
* @type {Array<BlueprintService>}
|
|
22
|
+
* @memberof ServerBlueprintSpec
|
|
23
|
+
*/
|
|
24
|
+
services?: Array<BlueprintService>;
|
|
25
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* devopness API
|
|
3
5
|
* Devopness API - Painless essential DevOps to everyone
|
|
@@ -9,11 +11,4 @@
|
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
12
|
-
|
|
13
|
-
* Type of the outgoing hook condition.\\n* `action_status` - Validate action status for outgoing hooks.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum HookOutgoingTriggerWhenConditionType {
|
|
18
|
-
ActionStatus = "action_status"
|
|
19
|
-
}
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,17 +9,47 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ServerBlueprintSpec } from './server-blueprint-spec';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Blueprint for creating a server
|
|
15
15
|
* @export
|
|
16
16
|
* @interface ServerBlueprint
|
|
17
17
|
*/
|
|
18
18
|
export interface ServerBlueprint {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
21
|
-
* @type {
|
|
20
|
+
* The unique id of the blueprint
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ServerBlueprint
|
|
23
|
+
*/
|
|
24
|
+
id?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Name of the blueprint
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ServerBlueprint
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The blueprint type
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ServerBlueprint
|
|
35
|
+
*/
|
|
36
|
+
type?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ServerBlueprintSpec}
|
|
40
|
+
* @memberof ServerBlueprint
|
|
41
|
+
*/
|
|
42
|
+
spec?: ServerBlueprintSpec;
|
|
43
|
+
/**
|
|
44
|
+
* The date and time when the record was created
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ServerBlueprint
|
|
47
|
+
*/
|
|
48
|
+
created_at?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The date and time when the record was last updated
|
|
51
|
+
* @type {string}
|
|
22
52
|
* @memberof ServerBlueprint
|
|
23
53
|
*/
|
|
24
|
-
|
|
54
|
+
updated_at?: string;
|
|
25
55
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { BlueprintService } from './blueprint-service';
|
|
13
13
|
import { ServerProvisionSettings } from './server-provision-settings';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -36,11 +36,11 @@ export interface ServerEnvironmentCreate {
|
|
|
36
36
|
*/
|
|
37
37
|
ssh_port?: number;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {
|
|
39
|
+
* The service names and their respective versions for a blueprint.
|
|
40
|
+
* @type {Array<BlueprintService>}
|
|
41
41
|
* @memberof ServerEnvironmentCreate
|
|
42
42
|
*/
|
|
43
|
-
blueprint
|
|
43
|
+
blueprint?: Array<BlueprintService>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {ServerProvisionSettings}
|
package/package.json
CHANGED
|
@@ -1,26 +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 });
|
|
15
|
-
exports.HookOutgoingTriggerWhenActionStatus = void 0;
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @enum {string}
|
|
20
|
-
*/
|
|
21
|
-
var HookOutgoingTriggerWhenActionStatus;
|
|
22
|
-
(function (HookOutgoingTriggerWhenActionStatus) {
|
|
23
|
-
HookOutgoingTriggerWhenActionStatus["InProgress"] = "in-progress";
|
|
24
|
-
HookOutgoingTriggerWhenActionStatus["Completed"] = "completed";
|
|
25
|
-
HookOutgoingTriggerWhenActionStatus["Failed"] = "failed";
|
|
26
|
-
})(HookOutgoingTriggerWhenActionStatus = exports.HookOutgoingTriggerWhenActionStatus || (exports.HookOutgoingTriggerWhenActionStatus = {}));
|
|
@@ -1,24 +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 });
|
|
15
|
-
exports.HookOutgoingTriggerWhenConditionType = void 0;
|
|
16
|
-
/**
|
|
17
|
-
* Type of the outgoing hook condition.\\n* `action_status` - Validate action status for outgoing hooks.
|
|
18
|
-
* @export
|
|
19
|
-
* @enum {string}
|
|
20
|
-
*/
|
|
21
|
-
var HookOutgoingTriggerWhenConditionType;
|
|
22
|
-
(function (HookOutgoingTriggerWhenConditionType) {
|
|
23
|
-
HookOutgoingTriggerWhenConditionType["ActionStatus"] = "action_status";
|
|
24
|
-
})(HookOutgoingTriggerWhenConditionType = exports.HookOutgoingTriggerWhenConditionType || (exports.HookOutgoingTriggerWhenConditionType = {}));
|