@devopness/sdk-js 2.157.0 → 2.158.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/models/environment.d.ts +4 -74
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/project-relation.d.ts +7 -0
- package/dist/api/generated/models/project.d.ts +7 -21
- package/dist/api/generated/models/resource-summary-item-summary.d.ts +24 -0
- package/dist/api/generated/models/resource-summary-item-summary.js +14 -0
- package/dist/api/generated/models/resource-summary-item.d.ts +49 -0
- package/dist/api/generated/models/resource-summary-item.js +14 -0
- package/package.json +12 -12
|
@@ -9,20 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ApplicationRelation } from './application-relation';
|
|
13
|
-
import { CredentialRelation } from './credential-relation';
|
|
14
|
-
import { CronJobRelation } from './cron-job-relation';
|
|
15
|
-
import { DaemonRelation } from './daemon-relation';
|
|
16
12
|
import { EnvironmentType } from './environment-type';
|
|
17
|
-
import {
|
|
18
|
-
import { NetworkRuleRelation } from './network-rule-relation';
|
|
19
|
-
import { ServerRelation } from './server-relation';
|
|
20
|
-
import { ServiceRelation } from './service-relation';
|
|
21
|
-
import { SshKeyRelation } from './ssh-key-relation';
|
|
22
|
-
import { SslCertificateRelation } from './ssl-certificate-relation';
|
|
13
|
+
import { ResourceSummaryItem } from './resource-summary-item';
|
|
23
14
|
import { TeamRelation } from './team-relation';
|
|
24
15
|
import { UserRelation } from './user-relation';
|
|
25
|
-
import { VirtualHostRelation } from './virtual-host-relation';
|
|
26
16
|
/**
|
|
27
17
|
*
|
|
28
18
|
* @export
|
|
@@ -66,77 +56,17 @@ export interface Environment {
|
|
|
66
56
|
*/
|
|
67
57
|
is_archived: boolean;
|
|
68
58
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {Array<
|
|
71
|
-
* @memberof Environment
|
|
72
|
-
*/
|
|
73
|
-
servers: Array<ServerRelation>;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {Array<CredentialRelation>}
|
|
77
|
-
* @memberof Environment
|
|
78
|
-
*/
|
|
79
|
-
credentials: Array<CredentialRelation>;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {Array<CronJobRelation>}
|
|
83
|
-
* @memberof Environment
|
|
84
|
-
*/
|
|
85
|
-
cron_jobs: Array<CronJobRelation>;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {Array<DaemonRelation>}
|
|
89
|
-
* @memberof Environment
|
|
90
|
-
*/
|
|
91
|
-
daemons: Array<DaemonRelation>;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {Array<NetworkRelation>}
|
|
95
|
-
* @memberof Environment
|
|
96
|
-
*/
|
|
97
|
-
networks: Array<NetworkRelation>;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Array<NetworkRuleRelation>}
|
|
59
|
+
* Summary of the resource
|
|
60
|
+
* @type {Array<ResourceSummaryItem>}
|
|
101
61
|
* @memberof Environment
|
|
102
62
|
*/
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {Array<ApplicationRelation>}
|
|
107
|
-
* @memberof Environment
|
|
108
|
-
*/
|
|
109
|
-
applications: Array<ApplicationRelation>;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {Array<ServiceRelation>}
|
|
113
|
-
* @memberof Environment
|
|
114
|
-
*/
|
|
115
|
-
services: Array<ServiceRelation>;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {Array<SshKeyRelation>}
|
|
119
|
-
* @memberof Environment
|
|
120
|
-
*/
|
|
121
|
-
ssh_keys: Array<SshKeyRelation>;
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {Array<SslCertificateRelation>}
|
|
125
|
-
* @memberof Environment
|
|
126
|
-
*/
|
|
127
|
-
ssl_certificates: Array<SslCertificateRelation>;
|
|
63
|
+
resource_summary?: Array<ResourceSummaryItem>;
|
|
128
64
|
/**
|
|
129
65
|
*
|
|
130
66
|
* @type {Array<TeamRelation>}
|
|
131
67
|
* @memberof Environment
|
|
132
68
|
*/
|
|
133
69
|
teams: Array<TeamRelation>;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @type {Array<VirtualHostRelation>}
|
|
137
|
-
* @memberof Environment
|
|
138
|
-
*/
|
|
139
|
-
virtual_hosts: Array<VirtualHostRelation>;
|
|
140
70
|
/**
|
|
141
71
|
*
|
|
142
72
|
* @type {UserRelation}
|
|
@@ -175,6 +175,8 @@ export * from './resource-event';
|
|
|
175
175
|
export * from './resource-event-relation';
|
|
176
176
|
export * from './resource-link-relation';
|
|
177
177
|
export * from './resource-operation';
|
|
178
|
+
export * from './resource-summary-item';
|
|
179
|
+
export * from './resource-summary-item-summary';
|
|
178
180
|
export * from './resource-to-be-linked';
|
|
179
181
|
export * from './resource-type';
|
|
180
182
|
export * from './resource-type-related';
|
|
@@ -191,6 +191,8 @@ __exportStar(require("./resource-event"), exports);
|
|
|
191
191
|
__exportStar(require("./resource-event-relation"), exports);
|
|
192
192
|
__exportStar(require("./resource-link-relation"), exports);
|
|
193
193
|
__exportStar(require("./resource-operation"), exports);
|
|
194
|
+
__exportStar(require("./resource-summary-item"), exports);
|
|
195
|
+
__exportStar(require("./resource-summary-item-summary"), exports);
|
|
194
196
|
__exportStar(require("./resource-to-be-linked"), exports);
|
|
195
197
|
__exportStar(require("./resource-type"), exports);
|
|
196
198
|
__exportStar(require("./resource-type-related"), exports);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ResourceSummaryItem } from './resource-summary-item';
|
|
12
13
|
import { UserRelation } from './user-relation';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -40,6 +41,12 @@ export interface ProjectRelation {
|
|
|
40
41
|
* @memberof ProjectRelation
|
|
41
42
|
*/
|
|
42
43
|
logo_url: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Summary of the resource
|
|
46
|
+
* @type {Array<ResourceSummaryItem>}
|
|
47
|
+
* @memberof ProjectRelation
|
|
48
|
+
*/
|
|
49
|
+
resource_summary?: Array<ResourceSummaryItem>;
|
|
43
50
|
/**
|
|
44
51
|
* The list of the operating system users found in all the servers linked to a project
|
|
45
52
|
* @type {Array<object>}
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { RoleRelation } from './role-relation';
|
|
14
|
-
import { TeamRelation } from './team-relation';
|
|
12
|
+
import { ResourceSummaryItem } from './resource-summary-item';
|
|
15
13
|
import { UserRelation } from './user-relation';
|
|
16
14
|
/**
|
|
17
15
|
*
|
|
@@ -43,6 +41,12 @@ export interface Project {
|
|
|
43
41
|
* @memberof Project
|
|
44
42
|
*/
|
|
45
43
|
logo_url: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Summary of the resource
|
|
46
|
+
* @type {Array<ResourceSummaryItem>}
|
|
47
|
+
* @memberof Project
|
|
48
|
+
*/
|
|
49
|
+
resource_summary?: Array<ResourceSummaryItem>;
|
|
46
50
|
/**
|
|
47
51
|
* The list of the operating system users found in all the servers linked to a project
|
|
48
52
|
* @type {Array<object>}
|
|
@@ -55,24 +59,6 @@ export interface Project {
|
|
|
55
59
|
* @memberof Project
|
|
56
60
|
*/
|
|
57
61
|
created_by_user: UserRelation;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<EnvironmentRelation>}
|
|
61
|
-
* @memberof Project
|
|
62
|
-
*/
|
|
63
|
-
environments: Array<EnvironmentRelation>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<TeamRelation>}
|
|
67
|
-
* @memberof Project
|
|
68
|
-
*/
|
|
69
|
-
teams: Array<TeamRelation>;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {Array<RoleRelation>}
|
|
73
|
-
* @memberof Project
|
|
74
|
-
*/
|
|
75
|
-
roles: Array<RoleRelation>;
|
|
76
62
|
/**
|
|
77
63
|
* The date and time when the record was created
|
|
78
64
|
* @type {string}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* Aggregated data of the resource
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ResourceSummaryItemSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceSummaryItemSummary {
|
|
18
|
+
/**
|
|
19
|
+
* Total number of entries of this resource
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ResourceSummaryItemSummary
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ResourceSummaryItemSummary } from './resource-summary-item-summary';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ResourceSummaryItem
|
|
17
|
+
*/
|
|
18
|
+
export interface ResourceSummaryItem {
|
|
19
|
+
/**
|
|
20
|
+
* The type of the resource
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ResourceSummaryItem
|
|
23
|
+
*/
|
|
24
|
+
resource_type: string;
|
|
25
|
+
/**
|
|
26
|
+
* The plural name of the resource type
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ResourceSummaryItem
|
|
29
|
+
*/
|
|
30
|
+
resource_type_plural: string;
|
|
31
|
+
/**
|
|
32
|
+
* The human readable name of the resource type
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ResourceSummaryItem
|
|
35
|
+
*/
|
|
36
|
+
resource_type_human_readable: string;
|
|
37
|
+
/**
|
|
38
|
+
* The human readable plural name of the resource type
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ResourceSummaryItem
|
|
41
|
+
*/
|
|
42
|
+
resource_type_human_readable_plural: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ResourceSummaryItemSummary}
|
|
46
|
+
* @memberof ResourceSummaryItem
|
|
47
|
+
*/
|
|
48
|
+
summary: ResourceSummaryItemSummary;
|
|
49
|
+
}
|
|
@@ -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 });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@devopness/sdk-js",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.158.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -51,26 +51,26 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/devopness/devopness#readme",
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@eslint/js": "^9.
|
|
55
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
54
|
+
"@eslint/js": "^9.22.0",
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.17.0",
|
|
56
56
|
"@types/jest": "^29.5.12",
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
57
|
+
"@typescript-eslint/parser": "^8.25.0",
|
|
58
58
|
"axios-mock-adapter": "^2.1.0",
|
|
59
|
-
"eslint": "^9.
|
|
60
|
-
"eslint-import-resolver-typescript": "^3.8.
|
|
59
|
+
"eslint": "^9.22.0",
|
|
60
|
+
"eslint-import-resolver-typescript": "^3.8.3",
|
|
61
61
|
"eslint-plugin-import": "^2.31.0",
|
|
62
|
-
"eslint-plugin-n": "^17.
|
|
62
|
+
"eslint-plugin-n": "^17.16.2",
|
|
63
63
|
"eslint-plugin-promise": "^7.2.1",
|
|
64
64
|
"husky": "9.1.7",
|
|
65
65
|
"jest": "^29.7.0",
|
|
66
|
-
"ts-jest": "^29.2.
|
|
67
|
-
"typedoc": "^0.27.
|
|
68
|
-
"typescript": "^5.
|
|
69
|
-
"typescript-eslint": "^8.
|
|
66
|
+
"ts-jest": "^29.2.6",
|
|
67
|
+
"typedoc": "^0.27.9",
|
|
68
|
+
"typescript": "^5.8.2",
|
|
69
|
+
"typescript-eslint": "^8.26.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@types/parse-link-header": "^2.0.3",
|
|
73
|
-
"axios": "^1.
|
|
73
|
+
"axios": "^1.8.2",
|
|
74
74
|
"parse-link-header": "^2.0.0"
|
|
75
75
|
}
|
|
76
76
|
}
|