@devopness/sdk-js 2.99.0 → 2.101.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/static-data-network-rule-options-api.d.ts +24 -0
- package/dist/api/generated/apis/static-data-network-rule-options-api.js +44 -0
- package/dist/api/generated/apis/users-environments-api.d.ts +3 -2
- package/dist/api/generated/apis/users-environments-api.js +4 -3
- package/dist/api/generated/apis/users-projects-api.d.ts +28 -0
- package/dist/api/generated/apis/users-projects-api.js +59 -0
- package/dist/api/generated/models/index.d.ts +3 -0
- package/dist/api/generated/models/index.js +3 -0
- package/dist/api/generated/models/network-rule-options.d.ts +25 -0
- package/dist/api/generated/models/network-rule-options.js +14 -0
- package/dist/api/generated/models/network-rule-protocol.d.ts +1 -0
- package/dist/api/generated/models/network-rule-protocol.js +1 -0
- package/dist/api/generated/models/project-relation.d.ts +6 -0
- package/dist/api/generated/models/static-network-rule-protocol-defaults.d.ts +24 -0
- package/dist/api/generated/models/static-network-rule-protocol-defaults.js +14 -0
- package/dist/api/generated/models/static-network-rule-protocol.d.ts +38 -0
- package/dist/api/generated/models/static-network-rule-protocol.js +14 -0
- package/dist/services/StaticService.d.ts +2 -0
- package/dist/services/StaticService.js +2 -0
- package/dist/services/UserService.d.ts +2 -0
- package/dist/services/UserService.js +2 -0
- package/package.json +1 -1
|
@@ -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
|
+
import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
|
+
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
+
import { NetworkRuleOptions } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* StaticDataNetworkRuleOptionsApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class StaticDataNetworkRuleOptionsApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary List `Network Rule` options
|
|
22
|
+
*/
|
|
23
|
+
getStaticNetworkRuleOptions(): Promise<ApiResponse<NetworkRuleOptions>>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.StaticDataNetworkRuleOptionsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
/**
|
|
28
|
+
* StaticDataNetworkRuleOptionsApiService - Auto-generated
|
|
29
|
+
*/
|
|
30
|
+
class StaticDataNetworkRuleOptionsApiService extends ApiBaseService_1.ApiBaseService {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary List `Network Rule` options
|
|
34
|
+
*/
|
|
35
|
+
getStaticNetworkRuleOptions() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
let queryString = '';
|
|
38
|
+
const requestUrl = '/static/network-rule-options' + (queryString ? `?${queryString}` : '');
|
|
39
|
+
const response = yield this.get(requestUrl);
|
|
40
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.StaticDataNetworkRuleOptionsApiService = StaticDataNetworkRuleOptionsApiService;
|
|
@@ -18,10 +18,11 @@ import { EnvironmentRelation } from '../../generated/models';
|
|
|
18
18
|
export declare class UsersEnvironmentsApiService extends ApiBaseService {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @summary
|
|
21
|
+
* @summary Return a list of all environments owned by the current user
|
|
22
22
|
* @param {number} userId The ID of the user.
|
|
23
23
|
* @param {number} [page] Number of the page to be retrieved
|
|
24
24
|
* @param {number} [perPage] Number of items returned per page
|
|
25
|
+
* @param {number} [subscriptionId] ID of a user subscription to calculate the amount of credits used from that subscription on each user environment. If provided, and being a valid subscription belonging to current user, the \'used_credits\' field will be added to the response.
|
|
25
26
|
*/
|
|
26
|
-
listUserEnvironments(userId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<EnvironmentRelation>>>;
|
|
27
|
+
listUserEnvironments(userId: number, page?: number, perPage?: number, subscriptionId?: number): Promise<ApiResponse<Array<EnvironmentRelation>>>;
|
|
27
28
|
}
|
|
@@ -31,18 +31,19 @@ const Exceptions_1 = require("../../../common/Exceptions");
|
|
|
31
31
|
class UsersEnvironmentsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @summary
|
|
34
|
+
* @summary Return a list of all environments owned by the current user
|
|
35
35
|
* @param {number} userId The ID of the user.
|
|
36
36
|
* @param {number} [page] Number of the page to be retrieved
|
|
37
37
|
* @param {number} [perPage] Number of items returned per page
|
|
38
|
+
* @param {number} [subscriptionId] ID of a user subscription to calculate the amount of credits used from that subscription on each user environment. If provided, and being a valid subscription belonging to current user, the \'used_credits\' field will be added to the response.
|
|
38
39
|
*/
|
|
39
|
-
listUserEnvironments(userId, page, perPage) {
|
|
40
|
+
listUserEnvironments(userId, page, perPage, subscriptionId) {
|
|
40
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
42
|
if (userId === null || userId === undefined) {
|
|
42
43
|
throw new Exceptions_1.ArgumentNullException('userId', 'listUserEnvironments');
|
|
43
44
|
}
|
|
44
45
|
let queryString = '';
|
|
45
|
-
const queryParams = { page: page, per_page: perPage, };
|
|
46
|
+
const queryParams = { page: page, per_page: perPage, subscription_id: subscriptionId, };
|
|
46
47
|
for (const key in queryParams) {
|
|
47
48
|
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
48
49
|
continue;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
|
+
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
+
import { ProjectRelation } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* UsersProjectsApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class UsersProjectsApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary Return a list of all projects owned by the current user
|
|
22
|
+
* @param {number} userId The ID of the user.
|
|
23
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
24
|
+
* @param {number} [perPage] Number of items returned per page
|
|
25
|
+
* @param {number} [subscriptionId] ID of a user subscription to calculate the amount of credits used from that subscription on each user project. If provided, and being a valid subscription belonging to current user, the \'used_credits\' field will be added to the response.
|
|
26
|
+
*/
|
|
27
|
+
listUserProjects(userId: number, page?: number, perPage?: number, subscriptionId?: number): Promise<ApiResponse<Array<ProjectRelation>>>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.UsersProjectsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
const Exceptions_1 = require("../../../common/Exceptions");
|
|
28
|
+
/**
|
|
29
|
+
* UsersProjectsApiService - Auto-generated
|
|
30
|
+
*/
|
|
31
|
+
class UsersProjectsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Return a list of all projects owned by the current user
|
|
35
|
+
* @param {number} userId The ID of the user.
|
|
36
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
37
|
+
* @param {number} [perPage] Number of items returned per page
|
|
38
|
+
* @param {number} [subscriptionId] ID of a user subscription to calculate the amount of credits used from that subscription on each user project. If provided, and being a valid subscription belonging to current user, the \'used_credits\' field will be added to the response.
|
|
39
|
+
*/
|
|
40
|
+
listUserProjects(userId, page, perPage, subscriptionId) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
if (userId === null || userId === undefined) {
|
|
43
|
+
throw new Exceptions_1.ArgumentNullException('userId', 'listUserProjects');
|
|
44
|
+
}
|
|
45
|
+
let queryString = '';
|
|
46
|
+
const queryParams = { page: page, per_page: perPage, subscription_id: subscriptionId, };
|
|
47
|
+
for (const key in queryParams) {
|
|
48
|
+
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
49
|
+
continue;
|
|
50
|
+
}
|
|
51
|
+
queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
|
|
52
|
+
}
|
|
53
|
+
const requestUrl = '/users/{user_id}/projects' + (queryString ? `?${queryString}` : '');
|
|
54
|
+
const response = yield this.get(requestUrl.replace(`{${"user_id"}}`, encodeURIComponent(String(userId))));
|
|
55
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.UsersProjectsApiService = UsersProjectsApiService;
|
|
@@ -123,6 +123,7 @@ export * from './network-relation';
|
|
|
123
123
|
export * from './network-rule';
|
|
124
124
|
export * from './network-rule-direction';
|
|
125
125
|
export * from './network-rule-environment-create';
|
|
126
|
+
export * from './network-rule-options';
|
|
126
127
|
export * from './network-rule-protocol';
|
|
127
128
|
export * from './network-rule-relation';
|
|
128
129
|
export * from './network-rule-update';
|
|
@@ -208,6 +209,8 @@ export * from './static-billing-info';
|
|
|
208
209
|
export * from './static-cloud-provider-code';
|
|
209
210
|
export * from './static-cron-job-frequency';
|
|
210
211
|
export * from './static-environment-type';
|
|
212
|
+
export * from './static-network-rule-protocol';
|
|
213
|
+
export * from './static-network-rule-protocol-defaults';
|
|
211
214
|
export * from './static-permission';
|
|
212
215
|
export * from './static-service-type';
|
|
213
216
|
export * from './static-service-type-supported-versions';
|
|
@@ -139,6 +139,7 @@ __exportStar(require("./network-relation"), exports);
|
|
|
139
139
|
__exportStar(require("./network-rule"), exports);
|
|
140
140
|
__exportStar(require("./network-rule-direction"), exports);
|
|
141
141
|
__exportStar(require("./network-rule-environment-create"), exports);
|
|
142
|
+
__exportStar(require("./network-rule-options"), exports);
|
|
142
143
|
__exportStar(require("./network-rule-protocol"), exports);
|
|
143
144
|
__exportStar(require("./network-rule-relation"), exports);
|
|
144
145
|
__exportStar(require("./network-rule-update"), exports);
|
|
@@ -224,6 +225,8 @@ __exportStar(require("./static-billing-info"), exports);
|
|
|
224
225
|
__exportStar(require("./static-cloud-provider-code"), exports);
|
|
225
226
|
__exportStar(require("./static-cron-job-frequency"), exports);
|
|
226
227
|
__exportStar(require("./static-environment-type"), exports);
|
|
228
|
+
__exportStar(require("./static-network-rule-protocol"), exports);
|
|
229
|
+
__exportStar(require("./static-network-rule-protocol-defaults"), exports);
|
|
227
230
|
__exportStar(require("./static-permission"), exports);
|
|
228
231
|
__exportStar(require("./static-service-type"), exports);
|
|
229
232
|
__exportStar(require("./static-service-type-supported-versions"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { StaticNetworkRuleProtocol } from './static-network-rule-protocol';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NetworkRuleOptions
|
|
17
|
+
*/
|
|
18
|
+
export interface NetworkRuleOptions {
|
|
19
|
+
/**
|
|
20
|
+
* The supported network rules protocols
|
|
21
|
+
* @type {Array<StaticNetworkRuleProtocol>}
|
|
22
|
+
* @memberof NetworkRuleOptions
|
|
23
|
+
*/
|
|
24
|
+
protocols: Array<StaticNetworkRuleProtocol>;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -21,6 +21,7 @@ exports.NetworkRuleProtocol = void 0;
|
|
|
21
21
|
var NetworkRuleProtocol;
|
|
22
22
|
(function (NetworkRuleProtocol) {
|
|
23
23
|
NetworkRuleProtocol["Any"] = "any";
|
|
24
|
+
NetworkRuleProtocol["Icmp"] = "icmp";
|
|
24
25
|
NetworkRuleProtocol["Tcp"] = "tcp";
|
|
25
26
|
NetworkRuleProtocol["Udp"] = "udp";
|
|
26
27
|
})(NetworkRuleProtocol = exports.NetworkRuleProtocol || (exports.NetworkRuleProtocol = {}));
|
|
@@ -52,6 +52,12 @@ export interface ProjectRelation {
|
|
|
52
52
|
* @memberof ProjectRelation
|
|
53
53
|
*/
|
|
54
54
|
created_by_user: UserRelation;
|
|
55
|
+
/**
|
|
56
|
+
* Number of credits used in the current monthly billing cycle by actions of resources in the project.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ProjectRelation
|
|
59
|
+
*/
|
|
60
|
+
used_credits?: number;
|
|
55
61
|
/**
|
|
56
62
|
* The date and time when the record was created
|
|
57
63
|
* @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
|
+
* List of default values for this protocol
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StaticNetworkRuleProtocolDefaults
|
|
16
|
+
*/
|
|
17
|
+
export interface StaticNetworkRuleProtocolDefaults {
|
|
18
|
+
/**
|
|
19
|
+
* The default port for the protocol
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof StaticNetworkRuleProtocolDefaults
|
|
22
|
+
*/
|
|
23
|
+
port: number | null;
|
|
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,38 @@
|
|
|
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 { NetworkRuleProtocol } from './network-rule-protocol';
|
|
13
|
+
import { StaticNetworkRuleProtocolDefaults } from './static-network-rule-protocol-defaults';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface StaticNetworkRuleProtocol
|
|
18
|
+
*/
|
|
19
|
+
export interface StaticNetworkRuleProtocol {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {NetworkRuleProtocol}
|
|
23
|
+
* @memberof StaticNetworkRuleProtocol
|
|
24
|
+
*/
|
|
25
|
+
value: NetworkRuleProtocol;
|
|
26
|
+
/**
|
|
27
|
+
* The formatted name to be displayed in user interfaces
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof StaticNetworkRuleProtocol
|
|
30
|
+
*/
|
|
31
|
+
human_readable: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {StaticNetworkRuleProtocolDefaults}
|
|
35
|
+
* @memberof StaticNetworkRuleProtocol
|
|
36
|
+
*/
|
|
37
|
+
defaults: StaticNetworkRuleProtocolDefaults;
|
|
38
|
+
}
|
|
@@ -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 });
|
|
@@ -4,6 +4,7 @@ import { StaticDataCloudProviderServiceInstancesApiService } from "../api/genera
|
|
|
4
4
|
import { StaticDataCloudProviderServicesApiService } from "../api/generated/apis/static-data-cloud-provider-services-api";
|
|
5
5
|
import { StaticDataCronJobOptionsApiService } from "../api/generated/apis/static-data-cron-job-options-api";
|
|
6
6
|
import { StaticDataEnvironmentOptionsApiService } from "../api/generated/apis/static-data-environment-options-api";
|
|
7
|
+
import { StaticDataNetworkRuleOptionsApiService } from "../api/generated/apis/static-data-network-rule-options-api";
|
|
7
8
|
import { StaticDataPermissionsApiService } from "../api/generated/apis/static-data-permissions-api";
|
|
8
9
|
import { StaticDataResourceTypesApiService } from "../api/generated/apis/static-data-resource-types-api";
|
|
9
10
|
import { StaticDataServiceOptionsApiService } from "../api/generated/apis/static-data-service-options-api";
|
|
@@ -15,6 +16,7 @@ export declare class StaticService {
|
|
|
15
16
|
cloudProviderServices: StaticDataCloudProviderServicesApiService;
|
|
16
17
|
cronJobOptions: StaticDataCronJobOptionsApiService;
|
|
17
18
|
environmentOptions: StaticDataEnvironmentOptionsApiService;
|
|
19
|
+
networkRuleOptions: StaticDataNetworkRuleOptionsApiService;
|
|
18
20
|
permissions: StaticDataPermissionsApiService;
|
|
19
21
|
resourceTypes: StaticDataResourceTypesApiService;
|
|
20
22
|
serviceOptions: StaticDataServiceOptionsApiService;
|
|
@@ -7,6 +7,7 @@ const static_data_cloud_provider_service_instances_api_1 = require("../api/gener
|
|
|
7
7
|
const static_data_cloud_provider_services_api_1 = require("../api/generated/apis/static-data-cloud-provider-services-api");
|
|
8
8
|
const static_data_cron_job_options_api_1 = require("../api/generated/apis/static-data-cron-job-options-api");
|
|
9
9
|
const static_data_environment_options_api_1 = require("../api/generated/apis/static-data-environment-options-api");
|
|
10
|
+
const static_data_network_rule_options_api_1 = require("../api/generated/apis/static-data-network-rule-options-api");
|
|
10
11
|
const static_data_permissions_api_1 = require("../api/generated/apis/static-data-permissions-api");
|
|
11
12
|
const static_data_resource_types_api_1 = require("../api/generated/apis/static-data-resource-types-api");
|
|
12
13
|
const static_data_service_options_api_1 = require("../api/generated/apis/static-data-service-options-api");
|
|
@@ -19,6 +20,7 @@ class StaticService {
|
|
|
19
20
|
this.cloudProviderServices = new static_data_cloud_provider_services_api_1.StaticDataCloudProviderServicesApiService();
|
|
20
21
|
this.cronJobOptions = new static_data_cron_job_options_api_1.StaticDataCronJobOptionsApiService();
|
|
21
22
|
this.environmentOptions = new static_data_environment_options_api_1.StaticDataEnvironmentOptionsApiService();
|
|
23
|
+
this.networkRuleOptions = new static_data_network_rule_options_api_1.StaticDataNetworkRuleOptionsApiService();
|
|
22
24
|
this.permissions = new static_data_permissions_api_1.StaticDataPermissionsApiService();
|
|
23
25
|
this.resourceTypes = new static_data_resource_types_api_1.StaticDataResourceTypesApiService();
|
|
24
26
|
this.serviceOptions = new static_data_service_options_api_1.StaticDataServiceOptionsApiService();
|
|
@@ -2,8 +2,10 @@ import { UsersApiService } from '../api/generated/apis/users-api';
|
|
|
2
2
|
import { UsersTeamInvitationsApiService } from '../api/generated/apis/users-team-invitations-api';
|
|
3
3
|
import { UsersPasswordsApiService } from '../api/generated/apis/users-passwords-api';
|
|
4
4
|
import { UsersEnvironmentsApiService } from '../api/generated/apis/users-environments-api';
|
|
5
|
+
import { UsersProjectsApiService } from '../api/generated/apis/users-projects-api';
|
|
5
6
|
export declare class UserService extends UsersApiService {
|
|
6
7
|
environments: UsersEnvironmentsApiService;
|
|
7
8
|
passwords: UsersPasswordsApiService;
|
|
9
|
+
projects: UsersProjectsApiService;
|
|
8
10
|
teamInvitations: UsersTeamInvitationsApiService;
|
|
9
11
|
}
|
|
@@ -5,11 +5,13 @@ const users_api_1 = require("../api/generated/apis/users-api");
|
|
|
5
5
|
const users_team_invitations_api_1 = require("../api/generated/apis/users-team-invitations-api");
|
|
6
6
|
const users_passwords_api_1 = require("../api/generated/apis/users-passwords-api");
|
|
7
7
|
const users_environments_api_1 = require("../api/generated/apis/users-environments-api");
|
|
8
|
+
const users_projects_api_1 = require("../api/generated/apis/users-projects-api");
|
|
8
9
|
class UserService extends users_api_1.UsersApiService {
|
|
9
10
|
constructor() {
|
|
10
11
|
super(...arguments);
|
|
11
12
|
this.environments = new users_environments_api_1.UsersEnvironmentsApiService();
|
|
12
13
|
this.passwords = new users_passwords_api_1.UsersPasswordsApiService();
|
|
14
|
+
this.projects = new users_projects_api_1.UsersProjectsApiService();
|
|
13
15
|
this.teamInvitations = new users_team_invitations_api_1.UsersTeamInvitationsApiService();
|
|
14
16
|
}
|
|
15
17
|
}
|