@devopness/sdk-js 1.88.0 → 1.91.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-api.d.ts +2 -2
- package/dist/api/generated/apis/cloud-providers-api.d.ts +8 -0
- package/dist/api/generated/apis/cloud-providers-api.js +25 -0
- package/dist/api/generated/apis/users-api.d.ts +5 -6
- package/dist/api/generated/apis/users-api.js +6 -25
- package/dist/api/generated/models/accepted-response-message.d.ts +24 -0
- package/dist/api/generated/models/accepted-response-message.js +14 -0
- package/dist/api/generated/models/action-list-item-params.d.ts +25 -0
- package/dist/api/generated/models/action-list-item-params.js +14 -0
- package/dist/api/generated/models/action-list-item.d.ts +18 -0
- package/dist/api/generated/models/action-list-item.js +14 -0
- package/dist/api/generated/models/action-relation.d.ts +7 -0
- package/dist/api/generated/models/application.d.ts +5 -5
- package/dist/api/generated/models/cloud-instance.d.ts +2 -2
- package/dist/api/generated/models/cloud-provider-property-type.d.ts +21 -0
- package/dist/api/generated/models/cloud-provider-property-type.js +26 -0
- package/dist/api/generated/models/cloud-provider-property-validation.d.ts +49 -0
- package/dist/api/generated/models/cloud-provider-property-validation.js +14 -0
- package/dist/api/generated/models/cloud-provider-property.d.ts +49 -0
- package/dist/api/generated/models/cloud-provider-property.js +14 -0
- package/dist/api/generated/models/cloud-provider.d.ts +5 -5
- package/dist/api/generated/models/cloud-service.d.ts +1 -1
- package/dist/api/generated/models/credential-create.d.ts +6 -6
- package/dist/api/generated/models/credential.d.ts +0 -6
- package/dist/api/generated/models/cron-job.d.ts +6 -6
- package/dist/api/generated/models/daemon-relation.d.ts +1 -1
- package/dist/api/generated/models/daemon.d.ts +18 -4
- package/dist/api/generated/models/deployment.d.ts +3 -3
- package/dist/api/generated/models/hook.d.ts +1 -1
- package/dist/api/generated/models/index.d.ts +7 -0
- package/dist/api/generated/models/index.js +7 -0
- package/dist/api/generated/models/invitation.d.ts +3 -3
- package/dist/api/generated/models/network-rule-create.d.ts +2 -2
- package/dist/api/generated/models/network-rule-relation.d.ts +2 -2
- package/dist/api/generated/models/network-rule.d.ts +18 -4
- package/dist/api/generated/models/project.d.ts +7 -7
- package/dist/api/generated/models/provider.d.ts +13 -0
- package/dist/api/generated/models/resource.d.ts +11 -2
- package/dist/api/generated/models/server.d.ts +8 -7
- package/dist/api/generated/models/service.d.ts +17 -17
- package/dist/api/generated/models/ssh-key.d.ts +16 -2
- package/dist/api/generated/models/ssl-certificate.d.ts +3 -3
- package/dist/api/generated/models/user-account-activate.d.ts +42 -0
- package/dist/api/generated/models/user-account-activate.js +14 -0
- package/dist/api/generated/models/user-create.d.ts +0 -19
- package/dist/common/ApiResponse.js +1 -1
- package/dist/services/ApplicationService.js +1 -1
- package/package.json +8 -8
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
13
|
import { ApplicationRelation } from './application-relation';
|
|
14
|
+
import { EnvironmentRelation } from './environment-relation';
|
|
14
15
|
import { ProjectRelation } from './project-relation';
|
|
16
|
+
import { ServerRelation } from './server-relation';
|
|
15
17
|
/**
|
|
16
18
|
*
|
|
17
19
|
* @export
|
|
@@ -23,7 +25,7 @@ export interface Daemon {
|
|
|
23
25
|
* @type {number}
|
|
24
26
|
* @memberof Daemon
|
|
25
27
|
*/
|
|
26
|
-
id
|
|
28
|
+
id: number;
|
|
27
29
|
/**
|
|
28
30
|
* The name entered by the user (or auto-generated by `devopness`) to uniquely identify the daemon
|
|
29
31
|
* @type {string}
|
|
@@ -65,19 +67,31 @@ export interface Daemon {
|
|
|
65
67
|
* @type {ProjectRelation}
|
|
66
68
|
* @memberof Daemon
|
|
67
69
|
*/
|
|
68
|
-
project
|
|
70
|
+
project: ProjectRelation;
|
|
69
71
|
/**
|
|
70
72
|
*
|
|
71
73
|
* @type {ApplicationRelation}
|
|
72
74
|
* @memberof Daemon
|
|
73
75
|
*/
|
|
74
|
-
application
|
|
76
|
+
application: ApplicationRelation | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<EnvironmentRelation>}
|
|
80
|
+
* @memberof Daemon
|
|
81
|
+
*/
|
|
82
|
+
environments: Array<EnvironmentRelation>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Array<ServerRelation>}
|
|
86
|
+
* @memberof Daemon
|
|
87
|
+
*/
|
|
88
|
+
servers: Array<ServerRelation>;
|
|
75
89
|
/**
|
|
76
90
|
*
|
|
77
91
|
* @type {ActionRelation}
|
|
78
92
|
* @memberof Daemon
|
|
79
93
|
*/
|
|
80
|
-
last_action
|
|
94
|
+
last_action: ActionRelation | null;
|
|
81
95
|
/**
|
|
82
96
|
* The date and time when the record was created
|
|
83
97
|
* @type {string}
|
|
@@ -58,7 +58,7 @@ export interface Deployment {
|
|
|
58
58
|
* @type {ApplicationRelation}
|
|
59
59
|
* @memberof Deployment
|
|
60
60
|
*/
|
|
61
|
-
application
|
|
61
|
+
application: ApplicationRelation | null;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {Commit}
|
|
@@ -76,13 +76,13 @@ export interface Deployment {
|
|
|
76
76
|
* @type {UserRelation}
|
|
77
77
|
* @memberof Deployment
|
|
78
78
|
*/
|
|
79
|
-
triggered_by_user
|
|
79
|
+
triggered_by_user: UserRelation;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @type {ActionRelation}
|
|
83
83
|
* @memberof Deployment
|
|
84
84
|
*/
|
|
85
|
-
last_action
|
|
85
|
+
last_action: ActionRelation | null;
|
|
86
86
|
/**
|
|
87
87
|
* The date and time when the action started execution (i.e., left the `pending/queued` status)
|
|
88
88
|
* @type {string}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export * from './accepted-response-message';
|
|
1
2
|
export * from './action';
|
|
2
3
|
export * from './action-hook-request';
|
|
4
|
+
export * from './action-list-item';
|
|
5
|
+
export * from './action-list-item-params';
|
|
3
6
|
export * from './action-relation';
|
|
4
7
|
export * from './action-status';
|
|
5
8
|
export * from './action-step';
|
|
@@ -23,6 +26,9 @@ export * from './cloud-digital-ocean-droplet-settings';
|
|
|
23
26
|
export * from './cloud-instance';
|
|
24
27
|
export * from './cloud-os';
|
|
25
28
|
export * from './cloud-provider';
|
|
29
|
+
export * from './cloud-provider-property';
|
|
30
|
+
export * from './cloud-provider-property-type';
|
|
31
|
+
export * from './cloud-provider-property-validation';
|
|
26
32
|
export * from './cloud-service';
|
|
27
33
|
export * from './commit';
|
|
28
34
|
export * from './credential';
|
|
@@ -155,6 +161,7 @@ export * from './team-relation';
|
|
|
155
161
|
export * from './trigger-event';
|
|
156
162
|
export * from './trigger-type';
|
|
157
163
|
export * from './user';
|
|
164
|
+
export * from './user-account-activate';
|
|
158
165
|
export * from './user-account-resend-verification';
|
|
159
166
|
export * from './user-account-verify';
|
|
160
167
|
export * from './user-create';
|
|
@@ -10,8 +10,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./accepted-response-message"), exports);
|
|
13
14
|
__exportStar(require("./action"), exports);
|
|
14
15
|
__exportStar(require("./action-hook-request"), exports);
|
|
16
|
+
__exportStar(require("./action-list-item"), exports);
|
|
17
|
+
__exportStar(require("./action-list-item-params"), exports);
|
|
15
18
|
__exportStar(require("./action-relation"), exports);
|
|
16
19
|
__exportStar(require("./action-status"), exports);
|
|
17
20
|
__exportStar(require("./action-step"), exports);
|
|
@@ -35,6 +38,9 @@ __exportStar(require("./cloud-digital-ocean-droplet-settings"), exports);
|
|
|
35
38
|
__exportStar(require("./cloud-instance"), exports);
|
|
36
39
|
__exportStar(require("./cloud-os"), exports);
|
|
37
40
|
__exportStar(require("./cloud-provider"), exports);
|
|
41
|
+
__exportStar(require("./cloud-provider-property"), exports);
|
|
42
|
+
__exportStar(require("./cloud-provider-property-type"), exports);
|
|
43
|
+
__exportStar(require("./cloud-provider-property-validation"), exports);
|
|
38
44
|
__exportStar(require("./cloud-service"), exports);
|
|
39
45
|
__exportStar(require("./commit"), exports);
|
|
40
46
|
__exportStar(require("./credential"), exports);
|
|
@@ -167,6 +173,7 @@ __exportStar(require("./team-relation"), exports);
|
|
|
167
173
|
__exportStar(require("./trigger-event"), exports);
|
|
168
174
|
__exportStar(require("./trigger-type"), exports);
|
|
169
175
|
__exportStar(require("./user"), exports);
|
|
176
|
+
__exportStar(require("./user-account-activate"), exports);
|
|
170
177
|
__exportStar(require("./user-account-resend-verification"), exports);
|
|
171
178
|
__exportStar(require("./user-account-verify"), exports);
|
|
172
179
|
__exportStar(require("./user-create"), exports);
|
|
@@ -59,19 +59,19 @@ export interface Invitation {
|
|
|
59
59
|
* @type {UserRelation}
|
|
60
60
|
* @memberof Invitation
|
|
61
61
|
*/
|
|
62
|
-
created_by_user
|
|
62
|
+
created_by_user: UserRelation;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {UserRelation}
|
|
66
66
|
* @memberof Invitation
|
|
67
67
|
*/
|
|
68
|
-
user
|
|
68
|
+
user: UserRelation;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @type {TeamRelation}
|
|
72
72
|
* @memberof Invitation
|
|
73
73
|
*/
|
|
74
|
-
team
|
|
74
|
+
team: TeamRelation;
|
|
75
75
|
/**
|
|
76
76
|
* The date and time when the invitation will expire
|
|
77
77
|
* @type {string}
|
|
@@ -41,13 +41,13 @@ export interface NetworkRuleCreate {
|
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof NetworkRuleCreate
|
|
43
43
|
*/
|
|
44
|
-
ip_address_from: string;
|
|
44
|
+
ip_address_from: string | null;
|
|
45
45
|
/**
|
|
46
46
|
* Ending range of the public ipv4 or ipv6 addresses that can access this rule
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof NetworkRuleCreate
|
|
49
49
|
*/
|
|
50
|
-
ip_address_to: string;
|
|
50
|
+
ip_address_to: string | null;
|
|
51
51
|
/**
|
|
52
52
|
* Starting range of network ports to be considered by this rule
|
|
53
53
|
* @type {number}
|
|
@@ -47,13 +47,13 @@ export interface NetworkRuleRelation {
|
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof NetworkRuleRelation
|
|
49
49
|
*/
|
|
50
|
-
ip_address_from?: string;
|
|
50
|
+
ip_address_from?: string | null;
|
|
51
51
|
/**
|
|
52
52
|
* Ending range of the public ipv4 or ipv6 addresses that can access this rule
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @memberof NetworkRuleRelation
|
|
55
55
|
*/
|
|
56
|
-
ip_address_to?: string;
|
|
56
|
+
ip_address_to?: string | null;
|
|
57
57
|
/**
|
|
58
58
|
* Starting range of network ports to be considered by this rule
|
|
59
59
|
* @type {number}
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
|
+
import { EnvironmentRelation } from './environment-relation';
|
|
13
14
|
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
14
15
|
import { NetworkRuleType } from './network-rule-type';
|
|
16
|
+
import { ServerRelation } from './server-relation';
|
|
15
17
|
import { UserRelation } from './user-relation';
|
|
16
18
|
/**
|
|
17
19
|
*
|
|
@@ -48,13 +50,13 @@ export interface NetworkRule {
|
|
|
48
50
|
* @type {string}
|
|
49
51
|
* @memberof NetworkRule
|
|
50
52
|
*/
|
|
51
|
-
ip_address_from?: string;
|
|
53
|
+
ip_address_from?: string | null;
|
|
52
54
|
/**
|
|
53
55
|
* Ending range of the public ipv4 or ipv6 addresses that can access this rule
|
|
54
56
|
* @type {string}
|
|
55
57
|
* @memberof NetworkRule
|
|
56
58
|
*/
|
|
57
|
-
ip_address_to?: string;
|
|
59
|
+
ip_address_to?: string | null;
|
|
58
60
|
/**
|
|
59
61
|
* Starting range of network ports to be considered by this rule
|
|
60
62
|
* @type {number}
|
|
@@ -72,13 +74,25 @@ export interface NetworkRule {
|
|
|
72
74
|
* @type {UserRelation}
|
|
73
75
|
* @memberof NetworkRule
|
|
74
76
|
*/
|
|
75
|
-
created_by_user
|
|
77
|
+
created_by_user: UserRelation;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<EnvironmentRelation>}
|
|
81
|
+
* @memberof NetworkRule
|
|
82
|
+
*/
|
|
83
|
+
environments: Array<EnvironmentRelation>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<ServerRelation>}
|
|
87
|
+
* @memberof NetworkRule
|
|
88
|
+
*/
|
|
89
|
+
servers: Array<ServerRelation>;
|
|
76
90
|
/**
|
|
77
91
|
*
|
|
78
92
|
* @type {ActionRelation}
|
|
79
93
|
* @memberof NetworkRule
|
|
80
94
|
*/
|
|
81
|
-
last_action
|
|
95
|
+
last_action: ActionRelation | null;
|
|
82
96
|
/**
|
|
83
97
|
* The date and time when the record was created
|
|
84
98
|
* @type {string}
|
|
@@ -70,41 +70,41 @@ export interface Project {
|
|
|
70
70
|
* @type {Array<ApplicationRelation>}
|
|
71
71
|
* @memberof Project
|
|
72
72
|
*/
|
|
73
|
-
applications
|
|
73
|
+
applications: Array<ApplicationRelation>;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {Array<CronJobRelation>}
|
|
77
77
|
* @memberof Project
|
|
78
78
|
*/
|
|
79
|
-
cron_jobs
|
|
79
|
+
cron_jobs: Array<CronJobRelation>;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @type {Array<EnvironmentRelation>}
|
|
83
83
|
* @memberof Project
|
|
84
84
|
*/
|
|
85
|
-
environments
|
|
85
|
+
environments: Array<EnvironmentRelation>;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
88
|
* @type {Array<NetworkRuleRelation>}
|
|
89
89
|
* @memberof Project
|
|
90
90
|
*/
|
|
91
|
-
network_rules
|
|
91
|
+
network_rules: Array<NetworkRuleRelation>;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
94
|
* @type {Array<DaemonRelation>}
|
|
95
95
|
* @memberof Project
|
|
96
96
|
*/
|
|
97
|
-
daemons
|
|
97
|
+
daemons: Array<DaemonRelation>;
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
100
|
* @type {Array<ServerRelation>}
|
|
101
101
|
* @memberof Project
|
|
102
102
|
*/
|
|
103
|
-
servers
|
|
103
|
+
servers: Array<ServerRelation>;
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
106
|
* @type {Array<ServiceRelation>}
|
|
107
107
|
* @memberof Project
|
|
108
108
|
*/
|
|
109
|
-
services
|
|
109
|
+
services: Array<ServiceRelation>;
|
|
110
110
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CloudProviderProperty } from './cloud-provider-property';
|
|
12
13
|
import { CloudService } from './cloud-service';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -34,10 +35,22 @@ export interface Provider {
|
|
|
34
35
|
* @memberof Provider
|
|
35
36
|
*/
|
|
36
37
|
hint: string;
|
|
38
|
+
/**
|
|
39
|
+
* The provider\'s logo URL.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof Provider
|
|
42
|
+
*/
|
|
43
|
+
logo_url: string;
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
* @type {Array<CloudService>}
|
|
40
47
|
* @memberof Provider
|
|
41
48
|
*/
|
|
42
49
|
cloud_services: Array<CloudService>;
|
|
50
|
+
/**
|
|
51
|
+
* Settings of the cloud provider
|
|
52
|
+
* @type {Array<CloudProviderProperty>}
|
|
53
|
+
* @memberof Provider
|
|
54
|
+
*/
|
|
55
|
+
settings: Array<CloudProviderProperty>;
|
|
43
56
|
}
|
|
@@ -9,7 +9,16 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ApplicationRelation } from './application-relation';
|
|
13
|
+
import { CronJobRelation } from './cron-job-relation';
|
|
14
|
+
import { DaemonRelation } from './daemon-relation';
|
|
15
|
+
import { DeploymentRelation } from './deployment-relation';
|
|
16
|
+
import { NetworkRuleRelation } from './network-rule-relation';
|
|
12
17
|
import { ResourceType } from './resource-type';
|
|
18
|
+
import { ServerRelation } from './server-relation';
|
|
19
|
+
import { ServiceRelation } from './service-relation';
|
|
20
|
+
import { SshKeyRelation } from './ssh-key-relation';
|
|
21
|
+
import { SslCertificateRelation } from './ssl-certificate-relation';
|
|
13
22
|
/**
|
|
14
23
|
* Object containing the data of the resource and informations about it
|
|
15
24
|
* @export
|
|
@@ -36,8 +45,8 @@ export interface Resource {
|
|
|
36
45
|
type_human_readable: string;
|
|
37
46
|
/**
|
|
38
47
|
* The resource data of type specified on `resource.type`
|
|
39
|
-
* @type {
|
|
48
|
+
* @type {ApplicationRelation | CronJobRelation | DaemonRelation | DeploymentRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
|
|
40
49
|
* @memberof Resource
|
|
41
50
|
*/
|
|
42
|
-
data?:
|
|
51
|
+
data?: ApplicationRelation | CronJobRelation | DaemonRelation | DeploymentRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
|
|
43
52
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ActionListItem } from './action-list-item';
|
|
12
13
|
import { ActionRelation } from './action-relation';
|
|
13
14
|
import { ActionStatus } from './action-status';
|
|
14
15
|
import { EnvironmentRelation } from './environment-relation';
|
|
@@ -68,7 +69,7 @@ export interface Server {
|
|
|
68
69
|
* @type {ServerBlueprint}
|
|
69
70
|
* @memberof Server
|
|
70
71
|
*/
|
|
71
|
-
blueprint
|
|
72
|
+
blueprint: ServerBlueprint;
|
|
72
73
|
/**
|
|
73
74
|
*
|
|
74
75
|
* @type {ActionStatus}
|
|
@@ -77,22 +78,22 @@ export interface Server {
|
|
|
77
78
|
status?: ActionStatus;
|
|
78
79
|
/**
|
|
79
80
|
* The list of related actions
|
|
80
|
-
* @type {Array<
|
|
81
|
+
* @type {Array<ActionListItem>}
|
|
81
82
|
* @memberof Server
|
|
82
83
|
*/
|
|
83
|
-
actions
|
|
84
|
+
actions: Array<ActionListItem>;
|
|
84
85
|
/**
|
|
85
86
|
* The list of environments to which the server is linked to
|
|
86
87
|
* @type {Array<EnvironmentRelation>}
|
|
87
88
|
* @memberof Server
|
|
88
89
|
*/
|
|
89
|
-
environments
|
|
90
|
+
environments: Array<EnvironmentRelation>;
|
|
90
91
|
/**
|
|
91
92
|
*
|
|
92
93
|
* @type {ProjectRelation}
|
|
93
94
|
* @memberof Server
|
|
94
95
|
*/
|
|
95
|
-
project
|
|
96
|
+
project: ProjectRelation;
|
|
96
97
|
/**
|
|
97
98
|
* The name of the server\'s provider.
|
|
98
99
|
* @type {string}
|
|
@@ -110,13 +111,13 @@ export interface Server {
|
|
|
110
111
|
* @type {UserRelation}
|
|
111
112
|
* @memberof Server
|
|
112
113
|
*/
|
|
113
|
-
created_by_user
|
|
114
|
+
created_by_user: UserRelation;
|
|
114
115
|
/**
|
|
115
116
|
*
|
|
116
117
|
* @type {ActionRelation}
|
|
117
118
|
* @memberof Server
|
|
118
119
|
*/
|
|
119
|
-
last_action
|
|
120
|
+
last_action: ActionRelation | null;
|
|
120
121
|
/**
|
|
121
122
|
* The date and time when the record was created
|
|
122
123
|
* @type {string}
|
|
@@ -75,46 +75,46 @@ export interface Service {
|
|
|
75
75
|
* @memberof Service
|
|
76
76
|
*/
|
|
77
77
|
description?: string | null;
|
|
78
|
-
/**
|
|
79
|
-
* The date and time when the record was created
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof Service
|
|
82
|
-
*/
|
|
83
|
-
created_at: string;
|
|
84
|
-
/**
|
|
85
|
-
* The date and time when the record was last updated
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof Service
|
|
88
|
-
*/
|
|
89
|
-
updated_at: string;
|
|
90
78
|
/**
|
|
91
79
|
*
|
|
92
80
|
* @type {Array<EnvironmentRelation>}
|
|
93
81
|
* @memberof Service
|
|
94
82
|
*/
|
|
95
|
-
environments
|
|
83
|
+
environments: Array<EnvironmentRelation>;
|
|
96
84
|
/**
|
|
97
85
|
*
|
|
98
86
|
* @type {UserRelation}
|
|
99
87
|
* @memberof Service
|
|
100
88
|
*/
|
|
101
|
-
created_by_user
|
|
89
|
+
created_by_user: UserRelation;
|
|
102
90
|
/**
|
|
103
91
|
*
|
|
104
92
|
* @type {ProjectRelation}
|
|
105
93
|
* @memberof Service
|
|
106
94
|
*/
|
|
107
|
-
project
|
|
95
|
+
project: ProjectRelation;
|
|
108
96
|
/**
|
|
109
97
|
*
|
|
110
98
|
* @type {Array<ServerRelation>}
|
|
111
99
|
* @memberof Service
|
|
112
100
|
*/
|
|
113
|
-
servers
|
|
101
|
+
servers: Array<ServerRelation>;
|
|
114
102
|
/**
|
|
115
103
|
*
|
|
116
104
|
* @type {ActionRelation}
|
|
117
105
|
* @memberof Service
|
|
118
106
|
*/
|
|
119
|
-
last_action
|
|
107
|
+
last_action: ActionRelation | null;
|
|
108
|
+
/**
|
|
109
|
+
* The date and time when the record was created
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof Service
|
|
112
|
+
*/
|
|
113
|
+
created_at: string;
|
|
114
|
+
/**
|
|
115
|
+
* The date and time when the record was last updated
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof Service
|
|
118
|
+
*/
|
|
119
|
+
updated_at: string;
|
|
120
120
|
}
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
|
+
import { EnvironmentRelation } from './environment-relation';
|
|
14
|
+
import { ServerRelation } from './server-relation';
|
|
13
15
|
import { UserRelation } from './user-relation';
|
|
14
16
|
/**
|
|
15
17
|
*
|
|
@@ -52,13 +54,25 @@ export interface SshKey {
|
|
|
52
54
|
* @type {UserRelation}
|
|
53
55
|
* @memberof SshKey
|
|
54
56
|
*/
|
|
55
|
-
created_by_user
|
|
57
|
+
created_by_user: UserRelation;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<EnvironmentRelation>}
|
|
61
|
+
* @memberof SshKey
|
|
62
|
+
*/
|
|
63
|
+
environments: Array<EnvironmentRelation>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<ServerRelation>}
|
|
67
|
+
* @memberof SshKey
|
|
68
|
+
*/
|
|
69
|
+
servers: Array<ServerRelation>;
|
|
56
70
|
/**
|
|
57
71
|
*
|
|
58
72
|
* @type {ActionRelation}
|
|
59
73
|
* @memberof SshKey
|
|
60
74
|
*/
|
|
61
|
-
last_action
|
|
75
|
+
last_action: ActionRelation | null;
|
|
62
76
|
/**
|
|
63
77
|
* The date and time when the record was created
|
|
64
78
|
* @type {string}
|
|
@@ -98,17 +98,17 @@ export interface SslCertificate {
|
|
|
98
98
|
* @type {Array<ServerRelation>}
|
|
99
99
|
* @memberof SslCertificate
|
|
100
100
|
*/
|
|
101
|
-
servers
|
|
101
|
+
servers: Array<ServerRelation>;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @type {UserRelation}
|
|
105
105
|
* @memberof SslCertificate
|
|
106
106
|
*/
|
|
107
|
-
created_by_user
|
|
107
|
+
created_by_user: UserRelation;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @type {ActionRelation}
|
|
111
111
|
* @memberof SslCertificate
|
|
112
112
|
*/
|
|
113
|
-
last_action
|
|
113
|
+
last_action: ActionRelation | null;
|
|
114
114
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 UserAccountActivate
|
|
16
|
+
*/
|
|
17
|
+
export interface UserAccountActivate {
|
|
18
|
+
/**
|
|
19
|
+
* The email of the user\'s account
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserAccountActivate
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
* The security token of the account
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserAccountActivate
|
|
28
|
+
*/
|
|
29
|
+
token: string;
|
|
30
|
+
/**
|
|
31
|
+
* The new user name to account
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserAccountActivate
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* The new password to account
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UserAccountActivate
|
|
40
|
+
*/
|
|
41
|
+
password: string;
|
|
42
|
+
}
|
|
@@ -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,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Language } from './language';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -22,22 +21,4 @@ export interface UserCreate {
|
|
|
22
21
|
* @memberof UserCreate
|
|
23
22
|
*/
|
|
24
23
|
email: string;
|
|
25
|
-
/**
|
|
26
|
-
* User\'s full name
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UserCreate
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
* User\'s password
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof UserCreate
|
|
35
|
-
*/
|
|
36
|
-
password: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Language}
|
|
40
|
-
* @memberof UserCreate
|
|
41
|
-
*/
|
|
42
|
-
language?: Language | null;
|
|
43
24
|
}
|
|
@@ -12,7 +12,7 @@ class ApiResponse {
|
|
|
12
12
|
this.data = axiosResp.data;
|
|
13
13
|
this.pageCount = 1;
|
|
14
14
|
if (axiosResp.headers) {
|
|
15
|
-
const linkHeader = parse_link_header_1.default(axiosResp.headers.link);
|
|
15
|
+
const linkHeader = (0, parse_link_header_1.default)(axiosResp.headers.link);
|
|
16
16
|
this.pageCount = Number((_a = linkHeader === null || linkHeader === void 0 ? void 0 : linkHeader.last) === null || _a === void 0 ? void 0 : _a.page) || 1;
|
|
17
17
|
// axios headers are intentionally lower cased, as per https://github.com/axios/axios/issues/413
|
|
18
18
|
this.actionId = axiosResp.headers['x-devopness-action-id'];
|
|
@@ -12,7 +12,7 @@ const applications_hooks_api_1 = require("../api/generated/apis/applications-hoo
|
|
|
12
12
|
class ApplicationService extends ApiBaseService_1.ApiBaseService {
|
|
13
13
|
}
|
|
14
14
|
exports.ApplicationService = ApplicationService;
|
|
15
|
-
MergeSiblingClasses_1.mergeSiblingClasses(ApplicationService, [
|
|
15
|
+
(0, MergeSiblingClasses_1.mergeSiblingClasses)(ApplicationService, [
|
|
16
16
|
applications_api_1.ApplicationsApiService,
|
|
17
17
|
applications_deployments_api_1.ApplicationsDeploymentsApiService,
|
|
18
18
|
applications_scripts_api_1.ApplicationsScriptsApiService,
|