@devopness/sdk-js 2.30.0 → 2.32.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/actions-logs-api.d.ts +27 -0
- package/dist/api/generated/apis/{projects-services-api.js → actions-logs-api.js} +19 -20
- package/dist/api/generated/models/index.d.ts +0 -8
- package/dist/api/generated/models/index.js +0 -8
- package/dist/api/generated/models/log.d.ts +14 -7
- package/dist/services/LogService.d.ts +2 -2
- package/dist/services/LogService.js +2 -2
- package/dist/services/ProjectService.d.ts +0 -14
- package/dist/services/ProjectService.js +0 -14
- package/package.json +1 -1
- package/dist/api/generated/apis/logs-api.d.ts +0 -64
- package/dist/api/generated/apis/logs-api.js +0 -153
- package/dist/api/generated/apis/projects-applications-api.d.ts +0 -36
- package/dist/api/generated/apis/projects-applications-api.js +0 -78
- package/dist/api/generated/apis/projects-cron-jobs-api.d.ts +0 -36
- package/dist/api/generated/apis/projects-cron-jobs-api.js +0 -78
- package/dist/api/generated/apis/projects-daemons-api.d.ts +0 -36
- package/dist/api/generated/apis/projects-daemons-api.js +0 -78
- package/dist/api/generated/apis/projects-network-rules-api.d.ts +0 -27
- package/dist/api/generated/apis/projects-network-rules-api.js +0 -58
- package/dist/api/generated/apis/projects-servers-api.d.ts +0 -36
- package/dist/api/generated/apis/projects-servers-api.js +0 -78
- package/dist/api/generated/apis/projects-services-api.d.ts +0 -27
- package/dist/api/generated/apis/projects-sshkeys-api.d.ts +0 -36
- package/dist/api/generated/apis/projects-sshkeys-api.js +0 -78
- package/dist/api/generated/models/application-project-create.d.ts +0 -140
- package/dist/api/generated/models/application-project-create.js +0 -14
- package/dist/api/generated/models/cron-job-project-create.d.ts +0 -61
- package/dist/api/generated/models/cron-job-project-create.js +0 -14
- package/dist/api/generated/models/daemon-project-create.d.ts +0 -61
- package/dist/api/generated/models/daemon-project-create.js +0 -14
- package/dist/api/generated/models/network-rule-project-create.d.ts +0 -69
- package/dist/api/generated/models/network-rule-project-create.js +0 -14
- package/dist/api/generated/models/server-action-log.d.ts +0 -37
- package/dist/api/generated/models/server-action-log.js +0 -14
- package/dist/api/generated/models/server-project-create.d.ts +0 -50
- package/dist/api/generated/models/server-project-create.js +0 -14
- package/dist/api/generated/models/service-project-create.d.ts +0 -51
- package/dist/api/generated/models/service-project-create.js +0 -14
- package/dist/api/generated/models/ssh-key-project-create.d.ts +0 -37
- package/dist/api/generated/models/ssh-key-project-create.js +0 -14
|
@@ -1,140 +0,0 @@
|
|
|
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 { ApplicationType } from './application-type';
|
|
13
|
-
import { EnvironmentLinkItem } from './environment-link-item';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ApplicationProjectCreate
|
|
18
|
-
*/
|
|
19
|
-
export interface ApplicationProjectCreate {
|
|
20
|
-
/**
|
|
21
|
-
* The application\'s unique name. Must not be greater than 60 characters.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ApplicationProjectCreate
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ApplicationType}
|
|
29
|
-
* @memberof ApplicationProjectCreate
|
|
30
|
-
*/
|
|
31
|
-
type: ApplicationType;
|
|
32
|
-
/**
|
|
33
|
-
* The domain or sub-domain through which the application deployed with these settings will be accessible. It can be a naked domain or any subdomain. If app has domain names `testing.my-app.com`, `staging.my-app.com` and `www.my-app.com` a possible good candidate for the application name would be the \"naked\" domain `my-app.com`. Must not be greater than 60 characters.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ApplicationProjectCreate
|
|
36
|
-
*/
|
|
37
|
-
domain_name?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The optional command that should be executed once during deployment to build the source code and get the application in a ready state. Must be at least 10 characters. Must not be greater than 300 characters.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ApplicationProjectCreate
|
|
42
|
-
*/
|
|
43
|
-
build_command?: string;
|
|
44
|
-
/**
|
|
45
|
-
* The language runtime engine version to be used to execute this application on the deployed servers. This field is required unless <code>programming_language</code> is in <code>html</code>. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ApplicationProjectCreate
|
|
48
|
-
*/
|
|
49
|
-
engine_version?: string;
|
|
50
|
-
/**
|
|
51
|
-
* The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must not be greater than 30 characters.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ApplicationProjectCreate
|
|
54
|
-
*/
|
|
55
|
-
framework: string;
|
|
56
|
-
/**
|
|
57
|
-
* 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 be one of <code>docker</code>, <code>dotnetcore</code>, <code>html</code>, <code>nodejs</code>, <code>php</code>, or <code>python</code> Must not be greater than 30 characters.
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof ApplicationProjectCreate
|
|
60
|
-
*/
|
|
61
|
-
programming_language: string;
|
|
62
|
-
/**
|
|
63
|
-
* Required for CGI|FastCGI|SCGI|WSGI based applications or `docker` containerized applications. It tells `devopness` the private address at which the application listens to external calls.The address has `http` or `https` protocol, an domain name or IP address, optional port and optional path. Or you can specify a UNIX-socket using `unix:` prefix after protocol.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ApplicationProjectCreate
|
|
66
|
-
*/
|
|
67
|
-
listening_address?: string;
|
|
68
|
-
/**
|
|
69
|
-
* The full name of a repository (`repository_owner/repository_name`) containing the application source code. Required when the `source_provider_id` field is informed. Must not be greater than 60 characters.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof ApplicationProjectCreate
|
|
72
|
-
*/
|
|
73
|
-
repository: string;
|
|
74
|
-
/**
|
|
75
|
-
* Numeric ID of the source provider account where the repository is hosted. Required when the `repository` field is informed.
|
|
76
|
-
* @type {number}
|
|
77
|
-
* @memberof ApplicationProjectCreate
|
|
78
|
-
*/
|
|
79
|
-
source_provider_id: number;
|
|
80
|
-
/**
|
|
81
|
-
* The relative directory where package manager\'s manifest files (`package.json`, `composer.json`, `yarn.lock`, etc) are located. It needs to be set for applications where the actual source code is not located in the top level directory of the repository. Must start with one of <code>/</code>.
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof ApplicationProjectCreate
|
|
84
|
-
*/
|
|
85
|
-
root_directory?: string;
|
|
86
|
-
/**
|
|
87
|
-
* The relative web directory where publicly accessible assets are located and the web content should be served from. Must start with one of <code>/</code>.
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof ApplicationProjectCreate
|
|
90
|
-
*/
|
|
91
|
-
public_directory: string;
|
|
92
|
-
/**
|
|
93
|
-
* The version control branch that, by default, will be used when a deployment is triggered and no other branch name is informed. Must not be greater than 100 characters.
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof ApplicationProjectCreate
|
|
96
|
-
*/
|
|
97
|
-
default_branch: string;
|
|
98
|
-
/**
|
|
99
|
-
* 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. Must be at least 1. Must not be greater than 10.
|
|
100
|
-
* @type {number}
|
|
101
|
-
* @memberof ApplicationProjectCreate
|
|
102
|
-
*/
|
|
103
|
-
deployments_keep?: number;
|
|
104
|
-
/**
|
|
105
|
-
* The entrypoint tells devopness how an application should be started and has basically two forms: 1) `File`: if it\'s a simple file name/path a web app will be served using the entrypoint value as its index file. Example: `index.html` 2) `Command`: if a command line instruction is provided as the entrypoint value, it will be handled as the start up command that initializes the application. It will be assumed that the user is an advanced user that knows what she/he is doing, therefore the command specified here will be run - as is - every time the application needs to be started. Must not be greater than 120 characters.
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof ApplicationProjectCreate
|
|
108
|
-
*/
|
|
109
|
-
entrypoint: string;
|
|
110
|
-
/**
|
|
111
|
-
* Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in development mode.
|
|
112
|
-
* @type {boolean}
|
|
113
|
-
* @memberof ApplicationProjectCreate
|
|
114
|
-
*/
|
|
115
|
-
install_dependencies_dev: boolean;
|
|
116
|
-
/**
|
|
117
|
-
* Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in production mode.
|
|
118
|
-
* @type {boolean}
|
|
119
|
-
* @memberof ApplicationProjectCreate
|
|
120
|
-
*/
|
|
121
|
-
install_dependencies_prod: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Indicates if push to deploy webhooks are enabled for this application. If enabled an app deployment will be automatically triggered when new changes are committed to the `default_branch`.
|
|
124
|
-
* @type {boolean}
|
|
125
|
-
* @memberof ApplicationProjectCreate
|
|
126
|
-
*/
|
|
127
|
-
push_to_deploy?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Indicates if the application requires a daemon to keep it alive.
|
|
130
|
-
* @type {boolean}
|
|
131
|
-
* @memberof ApplicationProjectCreate
|
|
132
|
-
*/
|
|
133
|
-
requires_daemon: boolean;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @type {Array<EnvironmentLinkItem>}
|
|
137
|
-
* @memberof ApplicationProjectCreate
|
|
138
|
-
*/
|
|
139
|
-
environments: Array<EnvironmentLinkItem>;
|
|
140
|
-
}
|
|
@@ -1,14 +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 });
|
|
@@ -1,61 +0,0 @@
|
|
|
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 { EnvironmentLinkItem } from './environment-link-item';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CronJobProjectCreate
|
|
17
|
-
*/
|
|
18
|
-
export interface CronJobProjectCreate {
|
|
19
|
-
/**
|
|
20
|
-
* A cron expression consisting of Minute, Hour, Day of Month, Month and Day of Week subexpressions.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CronJobProjectCreate
|
|
23
|
-
*/
|
|
24
|
-
pattern: string;
|
|
25
|
-
/**
|
|
26
|
-
* The name of the cron job. Must not be greater than 60 characters.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CronJobProjectCreate
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
* The command line to be executed when running the cron job. Must be at least 5 characters. Must not be greater than 255 characters.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CronJobProjectCreate
|
|
35
|
-
*/
|
|
36
|
-
command: string;
|
|
37
|
-
/**
|
|
38
|
-
* The name of the system user on behalf of which the cron job will be executed. Must not be greater than 60 characters.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof CronJobProjectCreate
|
|
41
|
-
*/
|
|
42
|
-
run_as_user: string;
|
|
43
|
-
/**
|
|
44
|
-
* Numeric ID of the application to which the cron job belongs to.
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof CronJobProjectCreate
|
|
47
|
-
*/
|
|
48
|
-
application_id?: number;
|
|
49
|
-
/**
|
|
50
|
-
* Numeric ID of the project to which the cron job belongs to.
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof CronJobProjectCreate
|
|
53
|
-
*/
|
|
54
|
-
project_id: number;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<EnvironmentLinkItem>}
|
|
58
|
-
* @memberof CronJobProjectCreate
|
|
59
|
-
*/
|
|
60
|
-
environments?: Array<EnvironmentLinkItem>;
|
|
61
|
-
}
|
|
@@ -1,14 +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 });
|
|
@@ -1,61 +0,0 @@
|
|
|
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 { EnvironmentLinkItem } from './environment-link-item';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DaemonProjectCreate
|
|
17
|
-
*/
|
|
18
|
-
export interface DaemonProjectCreate {
|
|
19
|
-
/**
|
|
20
|
-
* The command line to be executed to start the daemon. Must not be greater than 255 characters.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof DaemonProjectCreate
|
|
23
|
-
*/
|
|
24
|
-
command: string;
|
|
25
|
-
/**
|
|
26
|
-
* The number of daemon process instances of the program to run simultaneously. Must be at least 1. Must not be greater than 99.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof DaemonProjectCreate
|
|
29
|
-
*/
|
|
30
|
-
process_count: number;
|
|
31
|
-
/**
|
|
32
|
-
* The working directory where the daemon will be relative to when performing disk i/o. Must start with one of <code>/</code>.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof DaemonProjectCreate
|
|
35
|
-
*/
|
|
36
|
-
working_directory: string;
|
|
37
|
-
/**
|
|
38
|
-
* The name of the Unix user on behalf of which the daemon will run. Must not be greater than 60 characters.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof DaemonProjectCreate
|
|
41
|
-
*/
|
|
42
|
-
run_as_user: string;
|
|
43
|
-
/**
|
|
44
|
-
* The name entered by the user (or auto-generated by `devopness`) to uniquely identify the daemon. Must contain only letters, numbers, dashes and underscores. Must not be greater than 60 characters.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof DaemonProjectCreate
|
|
47
|
-
*/
|
|
48
|
-
name: string;
|
|
49
|
-
/**
|
|
50
|
-
* Numeric ID of the project to which the cron job belongs to.
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof DaemonProjectCreate
|
|
53
|
-
*/
|
|
54
|
-
project_id: number;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<EnvironmentLinkItem>}
|
|
58
|
-
* @memberof DaemonProjectCreate
|
|
59
|
-
*/
|
|
60
|
-
environments?: Array<EnvironmentLinkItem>;
|
|
61
|
-
}
|
|
@@ -1,14 +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 });
|
|
@@ -1,69 +0,0 @@
|
|
|
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 { EnvironmentLinkItem } from './environment-link-item';
|
|
13
|
-
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
14
|
-
import { NetworkRuleType } from './network-rule-type';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface NetworkRuleProjectCreate
|
|
19
|
-
*/
|
|
20
|
-
export interface NetworkRuleProjectCreate {
|
|
21
|
-
/**
|
|
22
|
-
* The rule\'s name/description/reminder. Must be at least 3 characters. Must not be greater than 60 characters.
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof NetworkRuleProjectCreate
|
|
25
|
-
*/
|
|
26
|
-
name: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {NetworkRuleType}
|
|
30
|
-
* @memberof NetworkRuleProjectCreate
|
|
31
|
-
*/
|
|
32
|
-
type: NetworkRuleType;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {NetworkRuleProtocol}
|
|
36
|
-
* @memberof NetworkRuleProjectCreate
|
|
37
|
-
*/
|
|
38
|
-
protocol?: NetworkRuleProtocol;
|
|
39
|
-
/**
|
|
40
|
-
* Starting range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof NetworkRuleProjectCreate
|
|
43
|
-
*/
|
|
44
|
-
ip_address_from?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Ending range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof NetworkRuleProjectCreate
|
|
49
|
-
*/
|
|
50
|
-
ip_address_to?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Starting range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
|
|
53
|
-
* @type {number}
|
|
54
|
-
* @memberof NetworkRuleProjectCreate
|
|
55
|
-
*/
|
|
56
|
-
port_from: number;
|
|
57
|
-
/**
|
|
58
|
-
* Ending range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
|
|
59
|
-
* @type {number}
|
|
60
|
-
* @memberof NetworkRuleProjectCreate
|
|
61
|
-
*/
|
|
62
|
-
port_to: number;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {Array<EnvironmentLinkItem>}
|
|
66
|
-
* @memberof NetworkRuleProjectCreate
|
|
67
|
-
*/
|
|
68
|
-
environments?: Array<EnvironmentLinkItem>;
|
|
69
|
-
}
|
|
@@ -1,14 +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 });
|
|
@@ -1,37 +0,0 @@
|
|
|
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 { ServerActionLogStep } from './server-action-log-step';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ServerActionLog
|
|
17
|
-
*/
|
|
18
|
-
export interface ServerActionLog {
|
|
19
|
-
/**
|
|
20
|
-
* The unique id of the server
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ServerActionLog
|
|
23
|
-
*/
|
|
24
|
-
id?: number;
|
|
25
|
-
/**
|
|
26
|
-
* The server\'s hostname
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ServerActionLog
|
|
29
|
-
*/
|
|
30
|
-
name?: string;
|
|
31
|
-
/**
|
|
32
|
-
* List of server action steps
|
|
33
|
-
* @type {Array<ServerActionLogStep>}
|
|
34
|
-
* @memberof ServerActionLog
|
|
35
|
-
*/
|
|
36
|
-
steps?: Array<ServerActionLogStep>;
|
|
37
|
-
}
|
|
@@ -1,14 +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 });
|
|
@@ -1,50 +0,0 @@
|
|
|
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 { ServerBlueprint } from './server-blueprint';
|
|
13
|
-
import { ServerProvisionSettings } from './server-provision-settings';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ServerProjectCreate
|
|
18
|
-
*/
|
|
19
|
-
export interface ServerProjectCreate {
|
|
20
|
-
/**
|
|
21
|
-
* The hostname to be set on Linux servers. Accepts numbers (0-9), dash (-) and lower case non accented characters. Must contain only letters, numbers, dashes and underscores. Must not be greater than 60 characters.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ServerProjectCreate
|
|
24
|
-
*/
|
|
25
|
-
hostname: string;
|
|
26
|
-
/**
|
|
27
|
-
* Public ipv4 address for server access. This field is required when <code>provision_settings.self_hosted</code> is <code>true</code>.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ServerProjectCreate
|
|
30
|
-
*/
|
|
31
|
-
ip_address?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The network port to which the SSH daemon is listening to SSH connections on the server. This field is required when <code>provision_settings.self_hosted</code> is <code>true</code>.
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof ServerProjectCreate
|
|
36
|
-
*/
|
|
37
|
-
ssh_port?: number;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {ServerBlueprint}
|
|
41
|
-
* @memberof ServerProjectCreate
|
|
42
|
-
*/
|
|
43
|
-
blueprint: ServerBlueprint;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {ServerProvisionSettings}
|
|
47
|
-
* @memberof ServerProjectCreate
|
|
48
|
-
*/
|
|
49
|
-
provision_settings: ServerProvisionSettings;
|
|
50
|
-
}
|
|
@@ -1,14 +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 });
|
|
@@ -1,51 +0,0 @@
|
|
|
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 { EnvironmentLinkItem } from './environment-link-item';
|
|
13
|
-
import { ServiceInitialState } from './service-initial-state';
|
|
14
|
-
import { ServiceType } from './service-type';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ServiceProjectCreate
|
|
19
|
-
*/
|
|
20
|
-
export interface ServiceProjectCreate {
|
|
21
|
-
/**
|
|
22
|
-
* Tells if the service should start automatically on operating system boot.
|
|
23
|
-
* @type {boolean}
|
|
24
|
-
* @memberof ServiceProjectCreate
|
|
25
|
-
*/
|
|
26
|
-
auto_start?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {ServiceInitialState}
|
|
30
|
-
* @memberof ServiceProjectCreate
|
|
31
|
-
*/
|
|
32
|
-
initial_state?: ServiceInitialState;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {ServiceType}
|
|
36
|
-
* @memberof ServiceProjectCreate
|
|
37
|
-
*/
|
|
38
|
-
type: ServiceType;
|
|
39
|
-
/**
|
|
40
|
-
* The service version to be installed. Must be one of <code></code> Must be at least 3 characters. Must not be greater than 30 characters.
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof ServiceProjectCreate
|
|
43
|
-
*/
|
|
44
|
-
version: string;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {Array<EnvironmentLinkItem>}
|
|
48
|
-
* @memberof ServiceProjectCreate
|
|
49
|
-
*/
|
|
50
|
-
environments?: Array<EnvironmentLinkItem>;
|
|
51
|
-
}
|
|
@@ -1,14 +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 });
|
|
@@ -1,37 +0,0 @@
|
|
|
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 { EnvironmentLinkItem } from './environment-link-item';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SshKeyProjectCreate
|
|
17
|
-
*/
|
|
18
|
-
export interface SshKeyProjectCreate {
|
|
19
|
-
/**
|
|
20
|
-
* The ssh key\'s name. Must not be greater than 60 characters.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SshKeyProjectCreate
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The public key of the ssh key.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SshKeyProjectCreate
|
|
29
|
-
*/
|
|
30
|
-
public_key: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<EnvironmentLinkItem>}
|
|
34
|
-
* @memberof SshKeyProjectCreate
|
|
35
|
-
*/
|
|
36
|
-
environments?: Array<EnvironmentLinkItem>;
|
|
37
|
-
}
|
|
@@ -1,14 +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 });
|