@devopness/sdk-js 2.143.0 → 2.147.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 +14 -1
- package/dist/api/generated/models/action-retry-response.d.ts +14 -1
- package/dist/api/generated/models/action-status-reason-code.d.ts +27 -0
- package/dist/api/generated/models/action-status-reason-code.js +32 -0
- package/dist/api/generated/models/action-step.d.ts +13 -0
- package/dist/api/generated/models/action-target.d.ts +13 -0
- package/dist/api/generated/models/action.d.ts +14 -1
- package/dist/api/generated/models/application-environment-create.d.ts +16 -2
- package/dist/api/generated/models/application-update.d.ts +3 -3
- package/dist/api/generated/models/credential-environment-create.d.ts +8 -6
- package/dist/api/generated/models/credential-update.d.ts +1 -1
- package/dist/api/generated/models/cron-job-environment-create.d.ts +7 -0
- package/dist/api/generated/models/cron-job-update.d.ts +1 -1
- package/dist/api/generated/models/daemon-environment-create.d.ts +7 -0
- package/dist/api/generated/models/daemon-update.d.ts +1 -1
- package/dist/api/generated/models/deployment-application-create.d.ts +2 -2
- package/dist/api/generated/models/environment-update.d.ts +1 -1
- package/dist/api/generated/models/hook-pipeline-create.d.ts +1 -1
- package/dist/api/generated/models/hook-update.d.ts +7 -1
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/network-rule-environment-create.d.ts +7 -0
- package/dist/api/generated/models/network-rule-update.d.ts +1 -1
- package/dist/api/generated/models/network-update.d.ts +1 -1
- package/dist/api/generated/models/pipeline-update.d.ts +1 -1
- package/dist/api/generated/models/project-update.d.ts +1 -1
- package/dist/api/generated/models/resource-to-be-linked.d.ts +30 -0
- package/dist/api/generated/models/resource-to-be-linked.js +14 -0
- package/dist/api/generated/models/role-update.d.ts +6 -0
- package/dist/api/generated/models/server-update.d.ts +1 -1
- package/dist/api/generated/models/service-environment-create.d.ts +8 -1
- package/dist/api/generated/models/service-update.d.ts +1 -1
- package/dist/api/generated/models/ssh-key-environment-create.d.ts +7 -0
- package/dist/api/generated/models/ssh-key-update.d.ts +1 -1
- package/dist/api/generated/models/step-pipeline-update.d.ts +1 -1
- package/dist/api/generated/models/team-update.d.ts +1 -1
- package/dist/api/generated/models/user-update.d.ts +5 -4
- package/dist/api/generated/models/variable-update.d.ts +3 -3
- package/dist/api/generated/models/virtual-host-environment-create.d.ts +8 -1
- package/dist/api/generated/models/virtual-host-update.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { ActionData } from './action-data';
|
|
13
13
|
import { ActionResource } from './action-resource';
|
|
14
14
|
import { ActionStatus } from './action-status';
|
|
15
|
+
import { ActionStatusReasonCode } from './action-status-reason-code';
|
|
15
16
|
import { ActionSummary } from './action-summary';
|
|
16
17
|
import { ActionTarget } from './action-target';
|
|
17
18
|
import { ActionTriggeredFrom } from './action-triggered-from';
|
|
@@ -35,11 +36,23 @@ export interface ActionRelation {
|
|
|
35
36
|
*/
|
|
36
37
|
status: ActionStatus;
|
|
37
38
|
/**
|
|
38
|
-
*
|
|
39
|
+
* Human readable version of action status
|
|
39
40
|
* @type {string}
|
|
40
41
|
* @memberof ActionRelation
|
|
41
42
|
*/
|
|
42
43
|
status_human_readable: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ActionStatusReasonCode}
|
|
47
|
+
* @memberof ActionRelation
|
|
48
|
+
*/
|
|
49
|
+
status_reason_code: ActionStatusReasonCode;
|
|
50
|
+
/**
|
|
51
|
+
* Human readable version of the status reason code
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ActionRelation
|
|
54
|
+
*/
|
|
55
|
+
status_reason_human_readable: string;
|
|
43
56
|
/**
|
|
44
57
|
*
|
|
45
58
|
* @type {ActionType}
|
|
@@ -13,6 +13,7 @@ import { ActionData } from './action-data';
|
|
|
13
13
|
import { ActionHookRequest } from './action-hook-request';
|
|
14
14
|
import { ActionResource } from './action-resource';
|
|
15
15
|
import { ActionStatus } from './action-status';
|
|
16
|
+
import { ActionStatusReasonCode } from './action-status-reason-code';
|
|
16
17
|
import { ActionSummary } from './action-summary';
|
|
17
18
|
import { ActionTarget } from './action-target';
|
|
18
19
|
import { ActionTriggeredFrom } from './action-triggered-from';
|
|
@@ -52,11 +53,23 @@ export interface ActionRetryResponse {
|
|
|
52
53
|
*/
|
|
53
54
|
status: ActionStatus;
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* Human readable version of action status
|
|
56
57
|
* @type {string}
|
|
57
58
|
* @memberof ActionRetryResponse
|
|
58
59
|
*/
|
|
59
60
|
status_human_readable: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ActionStatusReasonCode}
|
|
64
|
+
* @memberof ActionRetryResponse
|
|
65
|
+
*/
|
|
66
|
+
status_reason_code: ActionStatusReasonCode;
|
|
67
|
+
/**
|
|
68
|
+
* Human readable version of the status reason code
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ActionRetryResponse
|
|
71
|
+
*/
|
|
72
|
+
status_reason_human_readable: string;
|
|
60
73
|
/**
|
|
61
74
|
*
|
|
62
75
|
* @type {ActionType}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* The reason code of the action status
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ActionStatusReasonCode {
|
|
18
|
+
COMPLETED = "COMPLETED",
|
|
19
|
+
FAILEDINSUFFICIENTCREDITS = "FAILED_INSUFFICIENT_CREDITS",
|
|
20
|
+
FAILED = "FAILED",
|
|
21
|
+
INPROGRESS = "IN_PROGRESS",
|
|
22
|
+
PENDING = "PENDING",
|
|
23
|
+
QUEUED = "QUEUED",
|
|
24
|
+
SKIPPED = "SKIPPED",
|
|
25
|
+
WAITINGCONCURRENCYPIPELINE = "WAITING_CONCURRENCY_PIPELINE",
|
|
26
|
+
WAITINGCONCURRENCYTARGET = "WAITING_CONCURRENCY_TARGET"
|
|
27
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.ActionStatusReasonCode = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The reason code of the action status
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var ActionStatusReasonCode;
|
|
22
|
+
(function (ActionStatusReasonCode) {
|
|
23
|
+
ActionStatusReasonCode["COMPLETED"] = "COMPLETED";
|
|
24
|
+
ActionStatusReasonCode["FAILEDINSUFFICIENTCREDITS"] = "FAILED_INSUFFICIENT_CREDITS";
|
|
25
|
+
ActionStatusReasonCode["FAILED"] = "FAILED";
|
|
26
|
+
ActionStatusReasonCode["INPROGRESS"] = "IN_PROGRESS";
|
|
27
|
+
ActionStatusReasonCode["PENDING"] = "PENDING";
|
|
28
|
+
ActionStatusReasonCode["QUEUED"] = "QUEUED";
|
|
29
|
+
ActionStatusReasonCode["SKIPPED"] = "SKIPPED";
|
|
30
|
+
ActionStatusReasonCode["WAITINGCONCURRENCYPIPELINE"] = "WAITING_CONCURRENCY_PIPELINE";
|
|
31
|
+
ActionStatusReasonCode["WAITINGCONCURRENCYTARGET"] = "WAITING_CONCURRENCY_TARGET";
|
|
32
|
+
})(ActionStatusReasonCode || (exports.ActionStatusReasonCode = ActionStatusReasonCode = {}));
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionStatus } from './action-status';
|
|
13
|
+
import { ActionStatusReasonCode } from './action-status-reason-code';
|
|
13
14
|
/**
|
|
14
15
|
* Action step executed on server
|
|
15
16
|
* @export
|
|
@@ -58,6 +59,18 @@ export interface ActionStep {
|
|
|
58
59
|
* @memberof ActionStep
|
|
59
60
|
*/
|
|
60
61
|
status_human_readable?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {ActionStatusReasonCode}
|
|
65
|
+
* @memberof ActionStep
|
|
66
|
+
*/
|
|
67
|
+
status_reason_code?: ActionStatusReasonCode;
|
|
68
|
+
/**
|
|
69
|
+
* Human readable version of the status reason code
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ActionStep
|
|
72
|
+
*/
|
|
73
|
+
status_reason_human_readable?: string;
|
|
61
74
|
/**
|
|
62
75
|
* The date and time when the action started execution (i.e., left the `pending/queued` status)
|
|
63
76
|
* @type {string}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionStatus } from './action-status';
|
|
13
|
+
import { ActionStatusReasonCode } from './action-status-reason-code';
|
|
13
14
|
import { ActionStep } from './action-step';
|
|
14
15
|
import { ActionTargetData } from './action-target-data';
|
|
15
16
|
/**
|
|
@@ -48,6 +49,18 @@ export interface ActionTarget {
|
|
|
48
49
|
* @memberof ActionTarget
|
|
49
50
|
*/
|
|
50
51
|
status_human_readable?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {ActionStatusReasonCode}
|
|
55
|
+
* @memberof ActionTarget
|
|
56
|
+
*/
|
|
57
|
+
status_reason_code?: ActionStatusReasonCode;
|
|
58
|
+
/**
|
|
59
|
+
* Human readable version of the status reason code
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ActionTarget
|
|
62
|
+
*/
|
|
63
|
+
status_reason_human_readable?: string;
|
|
51
64
|
/**
|
|
52
65
|
* The total number of steps to complete the action
|
|
53
66
|
* @type {number}
|
|
@@ -13,6 +13,7 @@ import { ActionData } from './action-data';
|
|
|
13
13
|
import { ActionHookRequest } from './action-hook-request';
|
|
14
14
|
import { ActionResource } from './action-resource';
|
|
15
15
|
import { ActionStatus } from './action-status';
|
|
16
|
+
import { ActionStatusReasonCode } from './action-status-reason-code';
|
|
16
17
|
import { ActionSummary } from './action-summary';
|
|
17
18
|
import { ActionTarget } from './action-target';
|
|
18
19
|
import { ActionTriggeredFrom } from './action-triggered-from';
|
|
@@ -52,11 +53,23 @@ export interface Action {
|
|
|
52
53
|
*/
|
|
53
54
|
status: ActionStatus;
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* Human readable version of action status
|
|
56
57
|
* @type {string}
|
|
57
58
|
* @memberof Action
|
|
58
59
|
*/
|
|
59
60
|
status_human_readable: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ActionStatusReasonCode}
|
|
64
|
+
* @memberof Action
|
|
65
|
+
*/
|
|
66
|
+
status_reason_code: ActionStatusReasonCode;
|
|
67
|
+
/**
|
|
68
|
+
* Human readable version of the status reason code
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof Action
|
|
71
|
+
*/
|
|
72
|
+
status_reason_human_readable: string;
|
|
60
73
|
/**
|
|
61
74
|
*
|
|
62
75
|
* @type {ActionType}
|
|
@@ -9,12 +9,20 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { EnvironmentLink } from './environment-link';
|
|
13
|
+
import { ResourceToBeLinked } from './resource-to-be-linked';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
15
17
|
* @interface ApplicationEnvironmentCreate
|
|
16
18
|
*/
|
|
17
19
|
export interface ApplicationEnvironmentCreate {
|
|
20
|
+
/**
|
|
21
|
+
* The resources to be linked with this resource
|
|
22
|
+
* @type {Array<ResourceToBeLinked>}
|
|
23
|
+
* @memberof ApplicationEnvironmentCreate
|
|
24
|
+
*/
|
|
25
|
+
linked_resources?: Array<ResourceToBeLinked>;
|
|
18
26
|
/**
|
|
19
27
|
* The application\'s unique name. Must not be greater than 60 characters.
|
|
20
28
|
* @type {string}
|
|
@@ -28,7 +36,7 @@ export interface ApplicationEnvironmentCreate {
|
|
|
28
36
|
*/
|
|
29
37
|
build_command?: string;
|
|
30
38
|
/**
|
|
31
|
-
* The language runtime engine version to be used to execute this application on the deployed servers. Must be
|
|
39
|
+
* The language runtime engine version to be used to execute this application on the deployed servers. Must be at least 1 character. Must not be greater than 10 characters.
|
|
32
40
|
* @type {string}
|
|
33
41
|
* @memberof ApplicationEnvironmentCreate
|
|
34
42
|
*/
|
|
@@ -40,7 +48,7 @@ export interface ApplicationEnvironmentCreate {
|
|
|
40
48
|
*/
|
|
41
49
|
framework: string;
|
|
42
50
|
/**
|
|
43
|
-
* The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must
|
|
51
|
+
* The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must not be greater than 30 characters.
|
|
44
52
|
* @type {string}
|
|
45
53
|
* @memberof ApplicationEnvironmentCreate
|
|
46
54
|
*/
|
|
@@ -81,4 +89,10 @@ export interface ApplicationEnvironmentCreate {
|
|
|
81
89
|
* @memberof ApplicationEnvironmentCreate
|
|
82
90
|
*/
|
|
83
91
|
install_dependencies_command?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {Array<EnvironmentLink>}
|
|
95
|
+
* @memberof ApplicationEnvironmentCreate
|
|
96
|
+
*/
|
|
97
|
+
environments?: Array<EnvironmentLink>;
|
|
84
98
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ApplicationUpdate {
|
|
18
18
|
/**
|
|
19
|
-
* The unique
|
|
19
|
+
* The unique ID of the given Application.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof ApplicationUpdate
|
|
22
22
|
*/
|
|
@@ -34,7 +34,7 @@ export interface ApplicationUpdate {
|
|
|
34
34
|
*/
|
|
35
35
|
build_command?: string;
|
|
36
36
|
/**
|
|
37
|
-
* The language runtime engine version to be used to execute this application on the deployed servers. Must be
|
|
37
|
+
* The language runtime engine version to be used to execute this application on the deployed servers. Must be at least 1 character. Must not be greater than 10 characters.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ApplicationUpdate
|
|
40
40
|
*/
|
|
@@ -46,7 +46,7 @@ export interface ApplicationUpdate {
|
|
|
46
46
|
*/
|
|
47
47
|
framework: string;
|
|
48
48
|
/**
|
|
49
|
-
* The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must
|
|
49
|
+
* The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must not be greater than 30 characters.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ApplicationUpdate
|
|
52
52
|
*/
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CredentialInputSettings } from './credential-input-settings';
|
|
13
|
+
import { ProviderCode } from './provider-code';
|
|
14
|
+
import { ProviderType } from './provider-type';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
15
17
|
* @export
|
|
@@ -23,17 +25,17 @@ export interface CredentialEnvironmentCreate {
|
|
|
23
25
|
*/
|
|
24
26
|
name: string;
|
|
25
27
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
28
|
+
*
|
|
29
|
+
* @type {ProviderCode}
|
|
28
30
|
* @memberof CredentialEnvironmentCreate
|
|
29
31
|
*/
|
|
30
|
-
provider_code:
|
|
32
|
+
provider_code: ProviderCode;
|
|
31
33
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {
|
|
34
|
+
*
|
|
35
|
+
* @type {ProviderType}
|
|
34
36
|
* @memberof CredentialEnvironmentCreate
|
|
35
37
|
*/
|
|
36
|
-
provider_type:
|
|
38
|
+
provider_type: ProviderType;
|
|
37
39
|
/**
|
|
38
40
|
* If this credential is active or not.
|
|
39
41
|
* @type {boolean}
|
|
@@ -17,7 +17,7 @@ import { CredentialInputSettings } from './credential-input-settings';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CredentialUpdate {
|
|
19
19
|
/**
|
|
20
|
-
* The unique ID of the given
|
|
20
|
+
* The unique ID of the given Credential.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof CredentialUpdate
|
|
23
23
|
*/
|
|
@@ -9,12 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ResourceToBeLinked } from './resource-to-be-linked';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
16
|
* @interface CronJobEnvironmentCreate
|
|
16
17
|
*/
|
|
17
18
|
export interface CronJobEnvironmentCreate {
|
|
19
|
+
/**
|
|
20
|
+
* The resources to be linked with this resource
|
|
21
|
+
* @type {Array<ResourceToBeLinked>}
|
|
22
|
+
* @memberof CronJobEnvironmentCreate
|
|
23
|
+
*/
|
|
24
|
+
linked_resources?: Array<ResourceToBeLinked>;
|
|
18
25
|
/**
|
|
19
26
|
* The name of the cron job. Must not be greater than 60 characters.
|
|
20
27
|
* @type {string}
|
|
@@ -9,12 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ResourceToBeLinked } from './resource-to-be-linked';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
16
|
* @interface DaemonEnvironmentCreate
|
|
16
17
|
*/
|
|
17
18
|
export interface DaemonEnvironmentCreate {
|
|
19
|
+
/**
|
|
20
|
+
* The resources to be linked with this resource
|
|
21
|
+
* @type {Array<ResourceToBeLinked>}
|
|
22
|
+
* @memberof DaemonEnvironmentCreate
|
|
23
|
+
*/
|
|
24
|
+
linked_resources?: Array<ResourceToBeLinked>;
|
|
18
25
|
/**
|
|
19
26
|
* The command line to be executed to start the daemon. Must not be greater than 255 characters.
|
|
20
27
|
* @type {string}
|
|
@@ -17,7 +17,7 @@ import { DeploymentType } from './deployment-type';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeploymentApplicationCreate {
|
|
19
19
|
/**
|
|
20
|
-
* The environment type of the deployment.
|
|
20
|
+
* The environment type of the deployment.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof DeploymentApplicationCreate
|
|
23
23
|
*/
|
|
@@ -29,7 +29,7 @@ export interface DeploymentApplicationCreate {
|
|
|
29
29
|
*/
|
|
30
30
|
type: DeploymentType;
|
|
31
31
|
/**
|
|
32
|
-
* The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. This field is required when <code>source_ref</code> is present.
|
|
32
|
+
* The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. This field is required when <code>source_ref</code> is present.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof DeploymentApplicationCreate
|
|
35
35
|
*/
|
|
@@ -44,7 +44,7 @@ export interface HookPipelineCreate {
|
|
|
44
44
|
*/
|
|
45
45
|
requires_secret?: boolean;
|
|
46
46
|
/**
|
|
47
|
-
* The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>.
|
|
47
|
+
* The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>. Must not be greater than 20 characters.
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof HookPipelineCreate
|
|
50
50
|
*/
|
|
@@ -19,6 +19,12 @@ import { HookTriggerWhen } from './hook-trigger-when';
|
|
|
19
19
|
* @interface HookUpdate
|
|
20
20
|
*/
|
|
21
21
|
export interface HookUpdate {
|
|
22
|
+
/**
|
|
23
|
+
* The unique ID of the given Hook. Must be a valid UUID.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof HookUpdate
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
22
28
|
/**
|
|
23
29
|
* The name of the outgoing hook. Must not be greater than 60 characters.
|
|
24
30
|
* @type {string}
|
|
@@ -44,7 +50,7 @@ export interface HookUpdate {
|
|
|
44
50
|
*/
|
|
45
51
|
requires_secret?: boolean;
|
|
46
52
|
/**
|
|
47
|
-
* The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>.
|
|
53
|
+
* The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>. Must not be greater than 20 characters.
|
|
48
54
|
* @type {string}
|
|
49
55
|
* @memberof HookUpdate
|
|
50
56
|
*/
|
|
@@ -9,6 +9,7 @@ export * from './action-relation';
|
|
|
9
9
|
export * from './action-resource';
|
|
10
10
|
export * from './action-retry-response';
|
|
11
11
|
export * from './action-status';
|
|
12
|
+
export * from './action-status-reason-code';
|
|
12
13
|
export * from './action-step';
|
|
13
14
|
export * from './action-summary';
|
|
14
15
|
export * from './action-summary-target';
|
|
@@ -172,6 +173,7 @@ export * from './resource-event';
|
|
|
172
173
|
export * from './resource-event-relation';
|
|
173
174
|
export * from './resource-link-relation';
|
|
174
175
|
export * from './resource-operation';
|
|
176
|
+
export * from './resource-to-be-linked';
|
|
175
177
|
export * from './resource-type';
|
|
176
178
|
export * from './resource-type-related';
|
|
177
179
|
export * from './resource-type-relation';
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./action-relation"), exports);
|
|
|
25
25
|
__exportStar(require("./action-resource"), exports);
|
|
26
26
|
__exportStar(require("./action-retry-response"), exports);
|
|
27
27
|
__exportStar(require("./action-status"), exports);
|
|
28
|
+
__exportStar(require("./action-status-reason-code"), exports);
|
|
28
29
|
__exportStar(require("./action-step"), exports);
|
|
29
30
|
__exportStar(require("./action-summary"), exports);
|
|
30
31
|
__exportStar(require("./action-summary-target"), exports);
|
|
@@ -188,6 +189,7 @@ __exportStar(require("./resource-event"), exports);
|
|
|
188
189
|
__exportStar(require("./resource-event-relation"), exports);
|
|
189
190
|
__exportStar(require("./resource-link-relation"), exports);
|
|
190
191
|
__exportStar(require("./resource-operation"), exports);
|
|
192
|
+
__exportStar(require("./resource-to-be-linked"), exports);
|
|
191
193
|
__exportStar(require("./resource-type"), exports);
|
|
192
194
|
__exportStar(require("./resource-type-related"), exports);
|
|
193
195
|
__exportStar(require("./resource-type-relation"), exports);
|
|
@@ -11,12 +11,19 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { NetworkRuleDirection } from './network-rule-direction';
|
|
13
13
|
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
14
|
+
import { ResourceToBeLinked } from './resource-to-be-linked';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
17
18
|
* @interface NetworkRuleEnvironmentCreate
|
|
18
19
|
*/
|
|
19
20
|
export interface NetworkRuleEnvironmentCreate {
|
|
21
|
+
/**
|
|
22
|
+
* The resources to be linked with this resource
|
|
23
|
+
* @type {Array<ResourceToBeLinked>}
|
|
24
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
25
|
+
*/
|
|
26
|
+
linked_resources?: Array<ResourceToBeLinked>;
|
|
20
27
|
/**
|
|
21
28
|
* The rule\'s name/description/reminder. Must be at least 3 characters. Must not be greater than 60 characters.
|
|
22
29
|
* @type {string}
|
|
@@ -18,7 +18,7 @@ import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface NetworkRuleUpdate {
|
|
20
20
|
/**
|
|
21
|
-
* The unique ID of the given
|
|
21
|
+
* The unique ID of the given Network Rule.
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof NetworkRuleUpdate
|
|
24
24
|
*/
|
|
@@ -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 ResourceToBeLinked
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceToBeLinked {
|
|
18
|
+
/**
|
|
19
|
+
* The type of the resource to be linked
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ResourceToBeLinked
|
|
22
|
+
*/
|
|
23
|
+
resource_type: string;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the resource to be linked
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ResourceToBeLinked
|
|
28
|
+
*/
|
|
29
|
+
resource_id: number;
|
|
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 });
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface RoleUpdate
|
|
16
16
|
*/
|
|
17
17
|
export interface RoleUpdate {
|
|
18
|
+
/**
|
|
19
|
+
* The unique ID of the given Role.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RoleUpdate
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
18
24
|
/**
|
|
19
25
|
* The role\'s name. Must be at least 2 characters. Must not be greater than 60 characters.
|
|
20
26
|
* @type {string}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ResourceToBeLinked } from './resource-to-be-linked';
|
|
12
13
|
import { ServiceInitialState } from './service-initial-state';
|
|
13
14
|
import { ServiceType } from './service-type';
|
|
14
15
|
/**
|
|
@@ -17,6 +18,12 @@ import { ServiceType } from './service-type';
|
|
|
17
18
|
* @interface ServiceEnvironmentCreate
|
|
18
19
|
*/
|
|
19
20
|
export interface ServiceEnvironmentCreate {
|
|
21
|
+
/**
|
|
22
|
+
* The resources to be linked with this resource
|
|
23
|
+
* @type {Array<ResourceToBeLinked>}
|
|
24
|
+
* @memberof ServiceEnvironmentCreate
|
|
25
|
+
*/
|
|
26
|
+
linked_resources?: Array<ResourceToBeLinked>;
|
|
20
27
|
/**
|
|
21
28
|
* Tells if the service should start automatically on operating system boot.
|
|
22
29
|
* @type {boolean}
|
|
@@ -36,7 +43,7 @@ export interface ServiceEnvironmentCreate {
|
|
|
36
43
|
*/
|
|
37
44
|
type: ServiceType;
|
|
38
45
|
/**
|
|
39
|
-
* The service version to be installed. Must be
|
|
46
|
+
* The service version to be installed. Must be at least 1 character. Must not be greater than 30 characters.
|
|
40
47
|
* @type {string}
|
|
41
48
|
* @memberof ServiceEnvironmentCreate
|
|
42
49
|
*/
|
|
@@ -9,12 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ResourceToBeLinked } from './resource-to-be-linked';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
16
|
* @interface SshKeyEnvironmentCreate
|
|
16
17
|
*/
|
|
17
18
|
export interface SshKeyEnvironmentCreate {
|
|
19
|
+
/**
|
|
20
|
+
* The resources to be linked with this resource
|
|
21
|
+
* @type {Array<ResourceToBeLinked>}
|
|
22
|
+
* @memberof SshKeyEnvironmentCreate
|
|
23
|
+
*/
|
|
24
|
+
linked_resources?: Array<ResourceToBeLinked>;
|
|
18
25
|
/**
|
|
19
26
|
* The ssh key\'s name. Must not be greater than 60 characters.
|
|
20
27
|
* @type {string}
|
|
@@ -17,7 +17,7 @@ import { PipelineStepRunnerName } from './pipeline-step-runner-name';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface StepPipelineUpdate {
|
|
19
19
|
/**
|
|
20
|
-
* The unique ID of the given
|
|
20
|
+
* The unique ID of the given Pipeline Step.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof StepPipelineUpdate
|
|
23
23
|
*/
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Language } from './language';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface UserUpdate {
|
|
18
19
|
/**
|
|
19
|
-
* The unique ID of the given
|
|
20
|
+
* The unique ID of the given User.
|
|
20
21
|
* @type {number}
|
|
21
22
|
* @memberof UserUpdate
|
|
22
23
|
*/
|
|
@@ -34,9 +35,9 @@ export interface UserUpdate {
|
|
|
34
35
|
*/
|
|
35
36
|
email: string;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {
|
|
38
|
+
*
|
|
39
|
+
* @type {Language}
|
|
39
40
|
* @memberof UserUpdate
|
|
40
41
|
*/
|
|
41
|
-
language?:
|
|
42
|
+
language?: Language | null;
|
|
42
43
|
}
|
|
@@ -18,19 +18,19 @@ import { VariableType } from './variable-type';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface VariableUpdate {
|
|
20
20
|
/**
|
|
21
|
-
* The unique ID of the
|
|
21
|
+
* The unique ID of the given Variable.
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof VariableUpdate
|
|
24
24
|
*/
|
|
25
25
|
id: number;
|
|
26
26
|
/**
|
|
27
|
-
* The unique key used to identify the variable on the target.
|
|
27
|
+
* The unique key used to identify the variable on the target. When variable is of type `file`, this is the relative path to the file within the application directory. Must not be greater than 100 characters.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof VariableUpdate
|
|
30
30
|
*/
|
|
31
31
|
key: string;
|
|
32
32
|
/**
|
|
33
|
-
* The value to be assigned to this variable when deployed to its target.
|
|
33
|
+
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof VariableUpdate
|
|
36
36
|
*/
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ResourceToBeLinked } from './resource-to-be-linked';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,7 +17,13 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface VirtualHostEnvironmentCreate {
|
|
18
19
|
/**
|
|
19
|
-
* The
|
|
20
|
+
* The resources to be linked with this resource
|
|
21
|
+
* @type {Array<ResourceToBeLinked>}
|
|
22
|
+
* @memberof VirtualHostEnvironmentCreate
|
|
23
|
+
*/
|
|
24
|
+
linked_resources?: Array<ResourceToBeLinked>;
|
|
25
|
+
/**
|
|
26
|
+
* The type of virtual host to be created.
|
|
20
27
|
* @type {string}
|
|
21
28
|
* @memberof VirtualHostEnvironmentCreate
|
|
22
29
|
*/
|