@devopness/sdk-js 2.163.2 → 2.163.4
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-deployment-content.d.ts +0 -6
- package/dist/api/generated/models/action-resource.d.ts +3 -2
- package/dist/api/generated/models/action-target-credential-data.d.ts +56 -0
- package/dist/api/generated/models/action-target-credential-data.js +14 -0
- package/dist/api/generated/models/action-target-data.d.ts +2 -1
- package/dist/api/generated/models/action-triggered-from.d.ts +4 -4
- package/dist/api/generated/models/action-type.d.ts +2 -1
- package/dist/api/generated/models/action-type.js +2 -1
- package/dist/api/generated/models/application-relation.d.ts +1 -1
- package/dist/api/generated/models/cron-job-relation.d.ts +1 -1
- package/dist/api/generated/models/daemon-relation.d.ts +1 -1
- package/dist/api/generated/models/index.d.ts +1 -0
- package/dist/api/generated/models/index.js +1 -0
- package/dist/api/generated/models/network-relation.d.ts +4 -4
- package/dist/api/generated/models/network-rule-relation.d.ts +1 -1
- package/dist/api/generated/models/virtual-host-relation.d.ts +2 -2
- package/package.json +1 -1
|
@@ -41,12 +41,6 @@ export interface ActionDeploymentContent {
|
|
|
41
41
|
* @memberof ActionDeploymentContent
|
|
42
42
|
*/
|
|
43
43
|
repository: string;
|
|
44
|
-
/**
|
|
45
|
-
* The ID of the source provider
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof ActionDeploymentContent
|
|
48
|
-
*/
|
|
49
|
-
provider_id: number;
|
|
50
44
|
/**
|
|
51
45
|
* The source provider\'s name
|
|
52
46
|
* @type {string}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ApplicationRelation } from './application-relation';
|
|
13
|
+
import { CredentialRelation } from './credential-relation';
|
|
13
14
|
import { CronJobRelation } from './cron-job-relation';
|
|
14
15
|
import { DaemonRelation } from './daemon-relation';
|
|
15
16
|
import { NetworkRelation } from './network-relation';
|
|
@@ -47,8 +48,8 @@ export interface ActionResource {
|
|
|
47
48
|
type_human_readable: string;
|
|
48
49
|
/**
|
|
49
50
|
* The resource data of type specified on `resource.type`
|
|
50
|
-
* @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | VirtualHostRelation}
|
|
51
|
+
* @type {ApplicationRelation | CredentialRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | VirtualHostRelation}
|
|
51
52
|
* @memberof ActionResource
|
|
52
53
|
*/
|
|
53
|
-
data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | VirtualHostRelation | null;
|
|
54
|
+
data?: ApplicationRelation | CredentialRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | VirtualHostRelation | null;
|
|
54
55
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { CloudProviderCode } from './cloud-provider-code';
|
|
13
|
+
import { ProviderType } from './provider-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ActionTargetCredentialData
|
|
18
|
+
*/
|
|
19
|
+
export interface ActionTargetCredentialData {
|
|
20
|
+
/**
|
|
21
|
+
* The unique id of the credential
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ActionTargetCredentialData
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the credential
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ActionTargetCredentialData
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ProviderType}
|
|
35
|
+
* @memberof ActionTargetCredentialData
|
|
36
|
+
*/
|
|
37
|
+
provider_type: ProviderType;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {CloudProviderCode}
|
|
41
|
+
* @memberof ActionTargetCredentialData
|
|
42
|
+
*/
|
|
43
|
+
provider_code: CloudProviderCode;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the cloud provider of the credential
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ActionTargetCredentialData
|
|
48
|
+
*/
|
|
49
|
+
provider_name: string;
|
|
50
|
+
/**
|
|
51
|
+
* The human readable version of the provider name
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ActionTargetCredentialData
|
|
54
|
+
*/
|
|
55
|
+
provider_name_human_readable: string;
|
|
56
|
+
}
|
|
@@ -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 });
|
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ActionTargetCredentialData } from './action-target-credential-data';
|
|
12
13
|
import { ActionTargetNetworkData } from './action-target-network-data';
|
|
13
14
|
import { ActionTargetServerData } from './action-target-server-data';
|
|
14
15
|
/**
|
|
15
16
|
* @type ActionTargetData
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
18
|
-
export type ActionTargetData = ActionTargetNetworkData | ActionTargetServerData;
|
|
19
|
+
export type ActionTargetData = ActionTargetCredentialData | ActionTargetNetworkData | ActionTargetServerData;
|
|
@@ -54,14 +54,14 @@ export interface ActionTriggeredFrom {
|
|
|
54
54
|
user_id: number | null;
|
|
55
55
|
/**
|
|
56
56
|
* The hook\'s ID if the action have been triggered by a hook.
|
|
57
|
-
* @type {
|
|
57
|
+
* @type {string}
|
|
58
58
|
* @memberof ActionTriggeredFrom
|
|
59
59
|
*/
|
|
60
|
-
hook_id:
|
|
60
|
+
hook_id: string | null;
|
|
61
61
|
/**
|
|
62
62
|
* The hook request\'s ID if the action have been triggered by a hook.
|
|
63
|
-
* @type {
|
|
63
|
+
* @type {string}
|
|
64
64
|
* @memberof ActionTriggeredFrom
|
|
65
65
|
*/
|
|
66
|
-
hook_request_id:
|
|
66
|
+
hook_request_id: string | null;
|
|
67
67
|
}
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum ActionType {
|
|
18
|
-
Configure = "configure",
|
|
19
18
|
CheckProvisioned = "check_provisioned",
|
|
19
|
+
Configure = "configure",
|
|
20
20
|
Delete = "delete",
|
|
21
21
|
Deploy = "deploy",
|
|
22
22
|
GetStatus = "get_status",
|
|
23
23
|
Provision = "provision",
|
|
24
24
|
Reload = "reload",
|
|
25
|
+
Remove = "remove",
|
|
25
26
|
Restart = "restart",
|
|
26
27
|
Start = "start",
|
|
27
28
|
Stop = "stop"
|
|
@@ -20,13 +20,14 @@ exports.ActionType = void 0;
|
|
|
20
20
|
*/
|
|
21
21
|
var ActionType;
|
|
22
22
|
(function (ActionType) {
|
|
23
|
-
ActionType["Configure"] = "configure";
|
|
24
23
|
ActionType["CheckProvisioned"] = "check_provisioned";
|
|
24
|
+
ActionType["Configure"] = "configure";
|
|
25
25
|
ActionType["Delete"] = "delete";
|
|
26
26
|
ActionType["Deploy"] = "deploy";
|
|
27
27
|
ActionType["GetStatus"] = "get_status";
|
|
28
28
|
ActionType["Provision"] = "provision";
|
|
29
29
|
ActionType["Reload"] = "reload";
|
|
30
|
+
ActionType["Remove"] = "remove";
|
|
30
31
|
ActionType["Restart"] = "restart";
|
|
31
32
|
ActionType["Start"] = "start";
|
|
32
33
|
ActionType["Stop"] = "stop";
|
|
@@ -106,7 +106,7 @@ export interface ApplicationRelation {
|
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof ApplicationRelation
|
|
108
108
|
*/
|
|
109
|
-
root_directory: string;
|
|
109
|
+
root_directory: string | null;
|
|
110
110
|
/**
|
|
111
111
|
* The number of deployment history, logs and artifacts to keep stored in both devopness servers and user\'s servers. OR The number of deployment artifacts to be retained in the user\'s servers, making it easier and faster to rollback to previous versions
|
|
112
112
|
* @type {number}
|
|
@@ -78,7 +78,7 @@ export interface CronJobRelation {
|
|
|
78
78
|
* @type {ApplicationRelation}
|
|
79
79
|
* @memberof CronJobRelation
|
|
80
80
|
*/
|
|
81
|
-
application
|
|
81
|
+
application?: ApplicationRelation | null;
|
|
82
82
|
/**
|
|
83
83
|
* The date and time when the record was created
|
|
84
84
|
* @type {string}
|
|
@@ -15,6 +15,7 @@ export * from './action-step';
|
|
|
15
15
|
export * from './action-summary';
|
|
16
16
|
export * from './action-summary-target';
|
|
17
17
|
export * from './action-target';
|
|
18
|
+
export * from './action-target-credential-data';
|
|
18
19
|
export * from './action-target-data';
|
|
19
20
|
export * from './action-target-log-step';
|
|
20
21
|
export * from './action-target-network-data';
|
|
@@ -31,6 +31,7 @@ __exportStar(require("./action-step"), exports);
|
|
|
31
31
|
__exportStar(require("./action-summary"), exports);
|
|
32
32
|
__exportStar(require("./action-summary-target"), exports);
|
|
33
33
|
__exportStar(require("./action-target"), exports);
|
|
34
|
+
__exportStar(require("./action-target-credential-data"), exports);
|
|
34
35
|
__exportStar(require("./action-target-data"), exports);
|
|
35
36
|
__exportStar(require("./action-target-log-step"), exports);
|
|
36
37
|
__exportStar(require("./action-target-network-data"), exports);
|
|
@@ -65,7 +65,7 @@ export interface NetworkRelation {
|
|
|
65
65
|
* @type {Credential}
|
|
66
66
|
* @memberof NetworkRelation
|
|
67
67
|
*/
|
|
68
|
-
credential
|
|
68
|
+
credential?: Credential;
|
|
69
69
|
/**
|
|
70
70
|
* The networks\'s name
|
|
71
71
|
* @type {string}
|
|
@@ -83,17 +83,17 @@ export interface NetworkRelation {
|
|
|
83
83
|
* @type {ActionRelationShallow}
|
|
84
84
|
* @memberof NetworkRelation
|
|
85
85
|
*/
|
|
86
|
-
last_action
|
|
86
|
+
last_action?: ActionRelationShallow | null;
|
|
87
87
|
/**
|
|
88
88
|
* The date and time when the record was created
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof NetworkRelation
|
|
91
91
|
*/
|
|
92
|
-
created_at
|
|
92
|
+
created_at?: string;
|
|
93
93
|
/**
|
|
94
94
|
* The date and time when the record was last updated
|
|
95
95
|
* @type {string}
|
|
96
96
|
* @memberof NetworkRelation
|
|
97
97
|
*/
|
|
98
|
-
updated_at
|
|
98
|
+
updated_at?: string;
|
|
99
99
|
}
|
|
@@ -65,7 +65,7 @@ export interface NetworkRuleRelation {
|
|
|
65
65
|
* @type {ActionRelationShallow}
|
|
66
66
|
* @memberof NetworkRuleRelation
|
|
67
67
|
*/
|
|
68
|
-
last_action
|
|
68
|
+
last_action?: ActionRelationShallow | null;
|
|
69
69
|
/**
|
|
70
70
|
* The date and time when the record was created
|
|
71
71
|
* @type {string}
|
|
@@ -37,7 +37,7 @@ export interface VirtualHostRelation {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof VirtualHostRelation
|
|
39
39
|
*/
|
|
40
|
-
type_human_readable
|
|
40
|
+
type_human_readable?: string;
|
|
41
41
|
/**
|
|
42
42
|
* The name of the Virtual Host
|
|
43
43
|
* @type {string}
|
|
@@ -79,7 +79,7 @@ export interface VirtualHostRelation {
|
|
|
79
79
|
* @type {UserRelation}
|
|
80
80
|
* @memberof VirtualHostRelation
|
|
81
81
|
*/
|
|
82
|
-
created_by_user
|
|
82
|
+
created_by_user?: UserRelation;
|
|
83
83
|
/**
|
|
84
84
|
* The date and time when the record was created
|
|
85
85
|
* @type {string}
|