@devopness/sdk-js 2.21.0 → 2.22.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/applications-sslcertificates-api.d.ts +3 -3
- package/dist/api/generated/apis/applications-sslcertificates-api.js +5 -5
- package/dist/api/generated/apis/applications-variables-api.d.ts +3 -3
- package/dist/api/generated/apis/applications-variables-api.js +5 -5
- package/dist/api/generated/apis/environments-applications-api.d.ts +3 -3
- package/dist/api/generated/apis/environments-applications-api.js +5 -5
- package/dist/api/generated/apis/environments-cron-jobs-api.d.ts +3 -3
- package/dist/api/generated/apis/environments-cron-jobs-api.js +5 -5
- package/dist/api/generated/apis/environments-daemons-api.d.ts +3 -3
- package/dist/api/generated/apis/environments-daemons-api.js +5 -5
- package/dist/api/generated/apis/environments-servers-api.d.ts +3 -3
- package/dist/api/generated/apis/environments-servers-api.js +5 -5
- package/dist/api/generated/apis/environments-sshkeys-api.d.ts +3 -3
- package/dist/api/generated/apis/environments-sshkeys-api.js +5 -5
- package/dist/api/generated/apis/{environments-teams-api.d.ts → environments-team-memberships-api.d.ts} +6 -6
- package/dist/api/generated/apis/{environments-teams-api.js → environments-team-memberships-api.js} +9 -9
- package/dist/api/generated/apis/pipelines-api.d.ts +9 -0
- package/dist/api/generated/apis/pipelines-api.js +24 -0
- package/dist/api/generated/apis/pipelines-resources-api.d.ts +0 -9
- package/dist/api/generated/apis/pipelines-resources-api.js +0 -24
- package/dist/api/generated/apis/pipelines-steps-api.d.ts +9 -9
- package/dist/api/generated/apis/pipelines-steps-api.js +19 -19
- package/dist/api/generated/apis/projects-applications-api.d.ts +6 -6
- package/dist/api/generated/apis/projects-applications-api.js +9 -9
- package/dist/api/generated/apis/projects-cron-jobs-api.d.ts +3 -3
- package/dist/api/generated/apis/projects-cron-jobs-api.js +5 -5
- package/dist/api/generated/apis/projects-environments-api.d.ts +7 -7
- package/dist/api/generated/apis/projects-environments-api.js +10 -10
- package/dist/api/generated/apis/projects-network-rules-api.d.ts +3 -3
- package/dist/api/generated/apis/projects-network-rules-api.js +5 -5
- package/dist/api/generated/apis/projects-roles-api.d.ts +9 -6
- package/dist/api/generated/apis/projects-roles-api.js +18 -9
- package/dist/api/generated/apis/projects-servers-api.d.ts +3 -3
- package/dist/api/generated/apis/projects-servers-api.js +5 -5
- package/dist/api/generated/apis/projects-services-api.d.ts +3 -3
- package/dist/api/generated/apis/projects-services-api.js +5 -5
- package/dist/api/generated/apis/projects-sshkeys-api.d.ts +5 -5
- package/dist/api/generated/apis/projects-sshkeys-api.js +8 -8
- package/dist/api/generated/apis/projects-teams-api.d.ts +6 -6
- package/dist/api/generated/apis/projects-teams-api.js +9 -9
- package/dist/api/generated/apis/teams-invitations-api.d.ts +3 -3
- package/dist/api/generated/apis/teams-invitations-api.js +5 -5
- package/dist/api/generated/apis/users-api.d.ts +24 -44
- package/dist/api/generated/apis/users-api.js +37 -81
- package/dist/api/generated/apis/users-passwords-api.d.ts +33 -0
- package/dist/api/generated/apis/users-passwords-api.js +65 -0
- package/dist/api/generated/models/action-retry-response.d.ts +137 -0
- package/dist/api/generated/models/{application-create.js → action-retry-response.js} +0 -0
- package/dist/api/generated/models/{application-create.d.ts → application-project-create.d.ts} +63 -70
- package/dist/api/generated/models/{cron-job-create.js → application-project-create.js} +0 -0
- package/dist/api/generated/models/{cron-job-create.d.ts → cron-job-project-create.d.ts} +9 -9
- package/dist/api/generated/models/{daemon-create.js → cron-job-project-create.js} +0 -0
- package/dist/api/generated/models/{daemon-create.d.ts → daemon-environment-create.d.ts} +8 -8
- package/dist/api/generated/models/{environment-create.js → daemon-environment-create.js} +0 -0
- package/dist/api/generated/models/{environment-create.d.ts → environment-project-create.d.ts} +9 -9
- package/dist/api/generated/models/{invitation-create.js → environment-project-create.js} +0 -0
- package/dist/api/generated/models/index.d.ts +32 -22
- package/dist/api/generated/models/index.js +32 -22
- package/dist/api/generated/models/{invitation-create.d.ts → invitation-team-create.d.ts} +3 -3
- package/dist/api/generated/models/{network-rule-create.js → invitation-team-create.js} +0 -0
- package/dist/api/generated/models/{network-rule-create.d.ts → network-rule-project-create.d.ts} +10 -10
- package/dist/api/generated/models/{pipeline-step-create.js → network-rule-project-create.js} +0 -0
- package/dist/api/generated/models/{user-account-resend-verification.d.ts → password-reset-response.d.ts} +5 -5
- package/dist/api/generated/models/{pipeline-step-update.js → password-reset-response.js} +0 -0
- package/dist/api/generated/models/{user-password-reset.d.ts → password-user-reset.d.ts} +10 -10
- package/dist/api/generated/models/{pipeline-step.js → password-user-reset.js} +0 -0
- package/dist/api/generated/models/password-user-send-reset-link.d.ts +24 -0
- package/dist/api/generated/models/{role-create.js → password-user-send-reset-link.js} +0 -0
- package/dist/api/generated/models/pipeline-relation.d.ts +73 -0
- package/dist/api/generated/models/{server-create.js → pipeline-relation.js} +0 -0
- package/dist/api/generated/models/pipeline.d.ts +3 -3
- package/dist/api/generated/models/project-create.d.ts +3 -3
- package/dist/api/generated/models/project-relation.d.ts +16 -10
- package/dist/api/generated/models/project-update.d.ts +4 -4
- package/dist/api/generated/models/project.d.ts +26 -27
- package/dist/api/generated/models/{role-create.d.ts → role-project-create.d.ts} +7 -7
- package/dist/api/generated/models/{service-create.js → role-project-create.js} +0 -0
- package/dist/api/generated/models/role-relation.d.ts +60 -0
- package/dist/api/generated/models/{ssh-key-create.js → role-relation.js} +0 -0
- package/dist/api/generated/models/role-update.d.ts +2 -8
- package/dist/api/generated/models/role.d.ts +9 -9
- package/dist/api/generated/models/server-environment-create.d.ts +50 -0
- package/dist/api/generated/models/{ssl-certificate-create.js → server-environment-create.js} +0 -0
- package/dist/api/generated/models/{server-create.d.ts → server-project-create.d.ts} +10 -17
- package/dist/api/generated/models/{team-create.js → server-project-create.js} +0 -0
- package/dist/api/generated/models/{service-create.d.ts → service-project-create.d.ts} +7 -7
- package/dist/api/generated/models/{user-account-activate.js → service-project-create.js} +0 -0
- package/dist/api/generated/models/{ssh-key-create.d.ts → ssh-key-environment-create.d.ts} +5 -5
- package/dist/api/generated/models/{user-account-resend-verification.js → ssh-key-environment-create.js} +0 -0
- package/dist/api/generated/models/{ssl-certificate-create.d.ts → ssl-certificate-application-create.d.ts} +8 -8
- package/dist/api/generated/models/{user-account-verify.js → ssl-certificate-application-create.js} +0 -0
- package/dist/api/generated/models/{pipeline-step-create.d.ts → step-pipeline-create.d.ts} +7 -7
- package/dist/api/generated/models/{user-password-reset.js → step-pipeline-create.js} +0 -0
- package/dist/api/generated/models/{pipeline-step-update.d.ts → step-pipeline-update.d.ts} +9 -9
- package/dist/api/generated/models/{user-password-send-reset-link.js → step-pipeline-update.js} +0 -0
- package/dist/api/generated/models/{pipeline-step.d.ts → step.d.ts} +15 -15
- package/dist/api/generated/models/{user-refresh-token-create.js → step.js} +0 -0
- package/dist/api/generated/models/team-environment-create.d.ts +24 -0
- package/dist/api/generated/models/{variable-create.js → team-environment-create.js} +0 -0
- package/dist/api/generated/models/team-membership-relation.d.ts +55 -0
- package/dist/api/generated/models/team-membership-relation.js +14 -0
- package/dist/api/generated/models/{team-create.d.ts → team-project-create.d.ts} +6 -6
- package/dist/api/generated/models/team-project-create.js +14 -0
- package/dist/api/generated/models/team-relation.d.ts +3 -3
- package/dist/api/generated/models/team-update.d.ts +2 -8
- package/dist/api/generated/models/team.d.ts +3 -3
- package/dist/api/generated/models/user-create.d.ts +1 -1
- package/dist/api/generated/models/user-current.d.ts +74 -0
- package/dist/api/generated/models/user-current.js +14 -0
- package/dist/api/generated/models/user-login-response.d.ts +42 -0
- package/dist/api/generated/models/user-login-response.js +14 -0
- package/dist/api/generated/models/user-login.d.ts +30 -0
- package/dist/api/generated/models/user-login.js +14 -0
- package/dist/api/generated/models/user-refresh-token-response.d.ts +42 -0
- package/dist/api/generated/models/user-refresh-token-response.js +14 -0
- package/dist/api/generated/models/{user-refresh-token-create.d.ts → user-refresh-token.d.ts} +4 -4
- package/dist/api/generated/models/user-refresh-token.js +14 -0
- package/dist/api/generated/models/{user-password-send-reset-link.d.ts → user-resend-verification.d.ts} +4 -4
- package/dist/api/generated/models/user-resend-verification.js +14 -0
- package/dist/api/generated/models/user-update.d.ts +8 -9
- package/dist/api/generated/models/{user-account-activate.d.ts → user-verify.d.ts} +10 -10
- package/dist/api/generated/models/user-verify.js +14 -0
- package/dist/api/generated/models/user.d.ts +16 -10
- package/dist/api/generated/models/{variable-create.d.ts → variable-application-create.d.ts} +10 -10
- package/dist/api/generated/models/variable-application-create.js +14 -0
- package/dist/services/EnvironmentService.d.ts +2 -4
- package/dist/services/EnvironmentService.js +2 -4
- package/package.json +1 -1
- package/dist/api/generated/apis/environments-members-api.d.ts +0 -37
- package/dist/api/generated/apis/environments-members-api.js +0 -87
- package/dist/api/generated/models/user-account-verify.d.ts +0 -30
|
@@ -16,7 +16,6 @@ import { EnvironmentRelation } from './environment-relation';
|
|
|
16
16
|
import { NetworkRuleRelation } from './network-rule-relation';
|
|
17
17
|
import { ServerRelation } from './server-relation';
|
|
18
18
|
import { ServiceRelation } from './service-relation';
|
|
19
|
-
import { SshKeyRelation } from './ssh-key-relation';
|
|
20
19
|
import { UserRelation } from './user-relation';
|
|
21
20
|
/**
|
|
22
21
|
*
|
|
@@ -25,7 +24,7 @@ import { UserRelation } from './user-relation';
|
|
|
25
24
|
*/
|
|
26
25
|
export interface Project {
|
|
27
26
|
/**
|
|
28
|
-
* The
|
|
27
|
+
* The Id of the project
|
|
29
28
|
* @type {number}
|
|
30
29
|
* @memberof Project
|
|
31
30
|
*/
|
|
@@ -42,42 +41,36 @@ export interface Project {
|
|
|
42
41
|
* @memberof Project
|
|
43
42
|
*/
|
|
44
43
|
name: string;
|
|
45
|
-
/**
|
|
46
|
-
* A base64 string representation of the logo image
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof Project
|
|
49
|
-
*/
|
|
50
|
-
logo_image?: string;
|
|
51
44
|
/**
|
|
52
45
|
* A URL path to the project\'s logo image
|
|
53
46
|
* @type {string}
|
|
54
47
|
* @memberof Project
|
|
55
48
|
*/
|
|
56
|
-
logo_url
|
|
49
|
+
logo_url: string | null;
|
|
57
50
|
/**
|
|
58
|
-
* The list of
|
|
59
|
-
* @type {Array<
|
|
51
|
+
* The list of the operating system users found in all the servers linked to a project
|
|
52
|
+
* @type {Array<object>}
|
|
60
53
|
* @memberof Project
|
|
61
54
|
*/
|
|
62
|
-
|
|
55
|
+
os_users: Array<object>;
|
|
63
56
|
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {
|
|
57
|
+
*
|
|
58
|
+
* @type {UserRelation}
|
|
66
59
|
* @memberof Project
|
|
67
60
|
*/
|
|
68
|
-
|
|
61
|
+
created_by_user: UserRelation;
|
|
69
62
|
/**
|
|
70
63
|
*
|
|
71
|
-
* @type {Array<
|
|
64
|
+
* @type {Array<EnvironmentRelation>}
|
|
72
65
|
* @memberof Project
|
|
73
66
|
*/
|
|
74
|
-
|
|
67
|
+
environments: Array<EnvironmentRelation>;
|
|
75
68
|
/**
|
|
76
69
|
*
|
|
77
|
-
* @type {
|
|
70
|
+
* @type {Array<ApplicationRelation>}
|
|
78
71
|
* @memberof Project
|
|
79
72
|
*/
|
|
80
|
-
|
|
73
|
+
applications: Array<ApplicationRelation>;
|
|
81
74
|
/**
|
|
82
75
|
*
|
|
83
76
|
* @type {Array<CronJobRelation>}
|
|
@@ -86,22 +79,16 @@ export interface Project {
|
|
|
86
79
|
cron_jobs: Array<CronJobRelation>;
|
|
87
80
|
/**
|
|
88
81
|
*
|
|
89
|
-
* @type {Array<
|
|
82
|
+
* @type {Array<DaemonRelation>}
|
|
90
83
|
* @memberof Project
|
|
91
84
|
*/
|
|
92
|
-
|
|
85
|
+
daemons: Array<DaemonRelation>;
|
|
93
86
|
/**
|
|
94
87
|
*
|
|
95
88
|
* @type {Array<NetworkRuleRelation>}
|
|
96
89
|
* @memberof Project
|
|
97
90
|
*/
|
|
98
91
|
network_rules: Array<NetworkRuleRelation>;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {Array<DaemonRelation>}
|
|
102
|
-
* @memberof Project
|
|
103
|
-
*/
|
|
104
|
-
daemons: Array<DaemonRelation>;
|
|
105
92
|
/**
|
|
106
93
|
*
|
|
107
94
|
* @type {Array<ServerRelation>}
|
|
@@ -114,4 +101,16 @@ export interface Project {
|
|
|
114
101
|
* @memberof Project
|
|
115
102
|
*/
|
|
116
103
|
services: Array<ServiceRelation>;
|
|
104
|
+
/**
|
|
105
|
+
* The date and time when the record was created
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof Project
|
|
108
|
+
*/
|
|
109
|
+
created_at: string;
|
|
110
|
+
/**
|
|
111
|
+
* The date and time when the record was last updated
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof Project
|
|
114
|
+
*/
|
|
115
|
+
updated_at: string;
|
|
117
116
|
}
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface RoleProjectCreate
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface RoleProjectCreate {
|
|
18
18
|
/**
|
|
19
|
-
* The role\'s name
|
|
19
|
+
* The role\'s name. Must be at least 2 characters. Must not be greater than 60 characters.
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof RoleProjectCreate
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
* Description of this role
|
|
25
|
+
* Description of this role. Must not be greater than 255 characters.
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof RoleProjectCreate
|
|
28
28
|
*/
|
|
29
29
|
description?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The list of permissions for this role
|
|
32
32
|
* @type {Array<string>}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof RoleProjectCreate
|
|
34
34
|
*/
|
|
35
35
|
permissions: Array<string>;
|
|
36
36
|
}
|
|
File without changes
|
|
@@ -0,0 +1,60 @@
|
|
|
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 RoleRelation
|
|
16
|
+
*/
|
|
17
|
+
export interface RoleRelation {
|
|
18
|
+
/**
|
|
19
|
+
* The unique ID of the given role
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RoleRelation
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the given role
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RoleRelation
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Description of this role
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RoleRelation
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the project this role belongs to
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof RoleRelation
|
|
40
|
+
*/
|
|
41
|
+
project_id: number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of permissions for this role
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof RoleRelation
|
|
46
|
+
*/
|
|
47
|
+
permissions: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time when the record was created
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RoleRelation
|
|
52
|
+
*/
|
|
53
|
+
created_at: string;
|
|
54
|
+
/**
|
|
55
|
+
* The date and time when the record was last updated
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RoleRelation
|
|
58
|
+
*/
|
|
59
|
+
updated_at: string;
|
|
60
|
+
}
|
|
File without changes
|
|
@@ -16,19 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RoleUpdate {
|
|
18
18
|
/**
|
|
19
|
-
* The
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof RoleUpdate
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
* The role\'s name
|
|
19
|
+
* The role\'s name. Must be at least 2 characters. Must not be greater than 60 characters.
|
|
26
20
|
* @type {string}
|
|
27
21
|
* @memberof RoleUpdate
|
|
28
22
|
*/
|
|
29
23
|
name: string;
|
|
30
24
|
/**
|
|
31
|
-
* Description of this role
|
|
25
|
+
* Description of this role. Must not be greater than 255 characters.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof RoleUpdate
|
|
34
28
|
*/
|
|
@@ -16,19 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface Role {
|
|
18
18
|
/**
|
|
19
|
-
* The unique
|
|
19
|
+
* The unique ID of the given role
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof Role
|
|
22
22
|
*/
|
|
23
23
|
id: number;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof Role
|
|
28
|
-
*/
|
|
29
|
-
project_id: number;
|
|
30
|
-
/**
|
|
31
|
-
* The role\'s name
|
|
25
|
+
* The name of the given role
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof Role
|
|
34
28
|
*/
|
|
@@ -38,7 +32,13 @@ export interface Role {
|
|
|
38
32
|
* @type {string}
|
|
39
33
|
* @memberof Role
|
|
40
34
|
*/
|
|
41
|
-
description: string
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the project this role belongs to
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof Role
|
|
40
|
+
*/
|
|
41
|
+
project_id: number;
|
|
42
42
|
/**
|
|
43
43
|
* The list of permissions for this role
|
|
44
44
|
* @type {Array<string>}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 ServerEnvironmentCreate
|
|
18
|
+
*/
|
|
19
|
+
export interface ServerEnvironmentCreate {
|
|
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 ServerEnvironmentCreate
|
|
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 ServerEnvironmentCreate
|
|
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 ServerEnvironmentCreate
|
|
36
|
+
*/
|
|
37
|
+
ssh_port?: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ServerBlueprint}
|
|
41
|
+
* @memberof ServerEnvironmentCreate
|
|
42
|
+
*/
|
|
43
|
+
blueprint: ServerBlueprint;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ServerProvisionSettings}
|
|
47
|
+
* @memberof ServerEnvironmentCreate
|
|
48
|
+
*/
|
|
49
|
+
provision_settings: ServerProvisionSettings;
|
|
50
|
+
}
|
package/dist/api/generated/models/{ssl-certificate-create.js → server-environment-create.js}
RENAMED
|
File without changes
|
|
@@ -9,49 +9,42 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { EnvironmentLinkServer } from './environment-link-server';
|
|
13
12
|
import { ServerBlueprint } from './server-blueprint';
|
|
14
13
|
import { ServerProvisionSettings } from './server-provision-settings';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
18
|
-
* @interface
|
|
17
|
+
* @interface ServerProjectCreate
|
|
19
18
|
*/
|
|
20
|
-
export interface
|
|
19
|
+
export interface ServerProjectCreate {
|
|
21
20
|
/**
|
|
22
|
-
* The hostname to be set on Linux servers. Accepts numbers (0-9), dash (-) and lower case non accented characters
|
|
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.
|
|
23
22
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
23
|
+
* @memberof ServerProjectCreate
|
|
25
24
|
*/
|
|
26
25
|
hostname: string;
|
|
27
26
|
/**
|
|
28
|
-
* Public ipv4 address for server access
|
|
27
|
+
* Public ipv4 address for server access. This field is required when <code>provision_settings.self_hosted</code> is <code>true</code>.
|
|
29
28
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
29
|
+
* @memberof ServerProjectCreate
|
|
31
30
|
*/
|
|
32
31
|
ip_address?: string;
|
|
33
32
|
/**
|
|
34
|
-
* The network port to which the SSH daemon is listening to SSH connections on the server
|
|
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>.
|
|
35
34
|
* @type {number}
|
|
36
|
-
* @memberof
|
|
35
|
+
* @memberof ServerProjectCreate
|
|
37
36
|
*/
|
|
38
37
|
ssh_port?: number;
|
|
39
38
|
/**
|
|
40
39
|
*
|
|
41
40
|
* @type {ServerBlueprint}
|
|
42
|
-
* @memberof
|
|
41
|
+
* @memberof ServerProjectCreate
|
|
43
42
|
*/
|
|
44
43
|
blueprint: ServerBlueprint;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {Array<EnvironmentLinkServer>}
|
|
48
|
-
* @memberof ServerCreate
|
|
49
|
-
*/
|
|
50
|
-
environments?: Array<EnvironmentLinkServer>;
|
|
51
44
|
/**
|
|
52
45
|
*
|
|
53
46
|
* @type {ServerProvisionSettings}
|
|
54
|
-
* @memberof
|
|
47
|
+
* @memberof ServerProjectCreate
|
|
55
48
|
*/
|
|
56
49
|
provision_settings: ServerProvisionSettings;
|
|
57
50
|
}
|
|
File without changes
|
|
@@ -15,37 +15,37 @@ import { ServiceName } from './service-name';
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface ServiceProjectCreate
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface ServiceProjectCreate {
|
|
21
21
|
/**
|
|
22
22
|
* Tells if the service should start automatically on operating system boot.
|
|
23
23
|
* @type {boolean}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof ServiceProjectCreate
|
|
25
25
|
*/
|
|
26
26
|
auto_start?: boolean;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {ServiceInitialState}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof ServiceProjectCreate
|
|
31
31
|
*/
|
|
32
32
|
initial_state?: ServiceInitialState;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {ServiceName}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof ServiceProjectCreate
|
|
37
37
|
*/
|
|
38
38
|
type: ServiceName;
|
|
39
39
|
/**
|
|
40
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
41
|
* @type {string}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof ServiceProjectCreate
|
|
43
43
|
*/
|
|
44
44
|
version: string;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {Array<EnvironmentLinkItem>}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof ServiceProjectCreate
|
|
49
49
|
*/
|
|
50
50
|
environments?: Array<EnvironmentLinkItem>;
|
|
51
51
|
}
|
|
File without changes
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SshKeyEnvironmentCreate
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SshKeyEnvironmentCreate {
|
|
18
18
|
/**
|
|
19
19
|
* The ssh key\'s name. Must not be greater than 60 characters.
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SshKeyEnvironmentCreate
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* The public key of the ssh key.
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof SshKeyEnvironmentCreate
|
|
28
28
|
*/
|
|
29
29
|
public_key: string;
|
|
30
30
|
/**
|
|
31
31
|
* List of valid resource IDs
|
|
32
32
|
* @type {Array<number>}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof SshKeyEnvironmentCreate
|
|
34
34
|
*/
|
|
35
35
|
servers?: Array<number>;
|
|
36
36
|
}
|
|
File without changes
|
|
@@ -15,43 +15,43 @@ import { SslCertificateValidationLevel } from './ssl-certificate-validation-leve
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface SslCertificateApplicationCreate
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface SslCertificateApplicationCreate {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {SslCertificateIssuer}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof SslCertificateApplicationCreate
|
|
25
25
|
*/
|
|
26
26
|
issuer: SslCertificateIssuer;
|
|
27
27
|
/**
|
|
28
28
|
* The list of domain names to which the SSL certificate refers to
|
|
29
29
|
* @type {Array<string>}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof SslCertificateApplicationCreate
|
|
31
31
|
*/
|
|
32
32
|
domains: Array<string>;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {SslCertificateType}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof SslCertificateApplicationCreate
|
|
37
37
|
*/
|
|
38
38
|
type?: SslCertificateType;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {SslCertificateValidationLevel}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof SslCertificateApplicationCreate
|
|
43
43
|
*/
|
|
44
44
|
validation_level?: SslCertificateValidationLevel;
|
|
45
45
|
/**
|
|
46
46
|
* The private key provided by the Certification Authority, when the certificate has not been automatically issued through `devopness`. This field is required when <code>issuer</code> is <code>custom</code>. Must be at least 100 characters. Must not be greater than 4096 characters.
|
|
47
47
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof SslCertificateApplicationCreate
|
|
49
49
|
*/
|
|
50
50
|
custom_private_key?: string;
|
|
51
51
|
/**
|
|
52
52
|
* The contents of the certificate provided by the Certification Authority, when the certificate has not been automatically issued through `devopness`. This field is required when <code>issuer</code> is <code>custom</code>. Must be at least 100 characters. Must not be greater than 4096 characters.
|
|
53
53
|
* @type {string}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof SslCertificateApplicationCreate
|
|
55
55
|
*/
|
|
56
56
|
custom_certificate?: string;
|
|
57
57
|
}
|
package/dist/api/generated/models/{user-account-verify.js → ssl-certificate-application-create.js}
RENAMED
|
File without changes
|
|
@@ -13,37 +13,37 @@ import { PipelineStepRunnerName } from './pipeline-step-runner-name';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface StepPipelineCreate
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface StepPipelineCreate {
|
|
19
19
|
/**
|
|
20
20
|
* Name/short description of the script. Must be at least 4 characters. Must not be greater than 60 characters.
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof StepPipelineCreate
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
25
|
/**
|
|
26
26
|
* The pipeline step\'s type. Must not be greater than 20 characters.
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof StepPipelineCreate
|
|
29
29
|
*/
|
|
30
30
|
type?: string;
|
|
31
31
|
/**
|
|
32
32
|
* A command line or multiline bash script. Must be at least 10 characters. Must not be greater than 300 characters.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof StepPipelineCreate
|
|
35
35
|
*/
|
|
36
36
|
command: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {PipelineStepRunnerName}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof StepPipelineCreate
|
|
41
41
|
*/
|
|
42
42
|
runner: PipelineStepRunnerName;
|
|
43
43
|
/**
|
|
44
44
|
* The name of the Unix user on behalf of which the script will be executed. Must not be greater than 60 characters.
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof StepPipelineCreate
|
|
47
47
|
*/
|
|
48
48
|
run_as_user?: string;
|
|
49
49
|
}
|
|
File without changes
|
|
@@ -13,49 +13,49 @@ import { PipelineStepRunnerName } from './pipeline-step-runner-name';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface StepPipelineUpdate
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface StepPipelineUpdate {
|
|
19
19
|
/**
|
|
20
20
|
* The unique ID of the given pipeline step.
|
|
21
21
|
* @type {number}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof StepPipelineUpdate
|
|
23
23
|
*/
|
|
24
24
|
id: number;
|
|
25
25
|
/**
|
|
26
26
|
* Name/short description of the script. Must be at least 4 characters. Must not be greater than 60 characters.
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof StepPipelineUpdate
|
|
29
29
|
*/
|
|
30
30
|
name: string;
|
|
31
31
|
/**
|
|
32
32
|
* The pipeline step\'s type. Must not be greater than 20 characters.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof StepPipelineUpdate
|
|
35
35
|
*/
|
|
36
36
|
type?: string;
|
|
37
37
|
/**
|
|
38
38
|
* A command line or multiline bash script. Must be at least 10 characters. Must not be greater than 300 characters.
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof StepPipelineUpdate
|
|
41
41
|
*/
|
|
42
42
|
command: string;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {PipelineStepRunnerName}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof StepPipelineUpdate
|
|
47
47
|
*/
|
|
48
48
|
runner: PipelineStepRunnerName;
|
|
49
49
|
/**
|
|
50
50
|
* The name of the Unix user on behalf of which the script will be executed. Must not be greater than 60 characters.
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof StepPipelineUpdate
|
|
53
53
|
*/
|
|
54
54
|
run_as_user?: string;
|
|
55
55
|
/**
|
|
56
56
|
* Repositions the pipeline step after the step with the given `trigger_order`. Must be at least 0. Must not be greater than 16777214.
|
|
57
57
|
* @type {number}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof StepPipelineUpdate
|
|
59
59
|
*/
|
|
60
60
|
trigger_after?: number;
|
|
61
61
|
}
|
package/dist/api/generated/models/{user-password-send-reset-link.js → step-pipeline-update.js}
RENAMED
|
File without changes
|