@devopness/sdk-js 2.26.0 → 2.28.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-api.d.ts +0 -27
- package/dist/api/generated/apis/static-data-api.js +0 -61
- package/dist/api/generated/apis/static-data-application-options-api.d.ts +24 -0
- package/dist/api/generated/apis/static-data-application-options-api.js +44 -0
- package/dist/api/generated/apis/static-data-cloud-provider-options-api.d.ts +26 -0
- package/dist/api/generated/apis/static-data-cloud-provider-options-api.js +53 -0
- package/dist/api/generated/apis/static-data-cloud-provider-service-instances-api.d.ts +28 -0
- package/dist/api/generated/apis/static-data-cloud-provider-service-instances-api.js +62 -0
- package/dist/api/generated/apis/static-data-cloud-provider-services-api.d.ts +25 -0
- package/dist/api/generated/apis/static-data-cloud-provider-services-api.js +49 -0
- package/dist/api/generated/models/{cloud-instance.d.ts → cloud-instance-relation.d.ts} +17 -17
- package/dist/api/generated/models/{cloud-instance.js → cloud-instance-relation.js} +0 -0
- package/dist/api/generated/models/cloud-provider-options-relation.d.ts +57 -0
- package/dist/api/generated/models/cloud-provider-options-relation.js +14 -0
- package/dist/api/generated/models/cloud-provider-service-code.d.ts +21 -0
- package/dist/api/generated/models/cloud-provider-service-code.js +26 -0
- package/dist/api/generated/models/cloud-provider-service.d.ts +4 -12
- package/dist/api/generated/models/cloud-provider-service.js +0 -11
- package/dist/api/generated/models/credential-relation.d.ts +6 -0
- package/dist/api/generated/models/credential.d.ts +6 -0
- package/dist/api/generated/models/index.d.ts +5 -1
- package/dist/api/generated/models/index.js +5 -1
- package/dist/api/generated/models/language-runtime-engine-versions.d.ts +24 -0
- package/dist/api/generated/models/language-runtime-engine-versions.js +14 -0
- package/dist/api/generated/models/language-runtime.d.ts +3 -2
- package/dist/api/generated/models/network-rule.d.ts +6 -0
- package/dist/api/generated/models/static-cloud-provider-code.d.ts +22 -0
- package/dist/api/generated/models/static-cloud-provider-code.js +27 -0
- package/dist/api/generated/models/variable-target.d.ts +7 -1
- package/dist/api/generated/models/variable-target.js +6 -0
- package/dist/api/generated/models/variable-type.d.ts +2 -1
- package/dist/api/generated/models/variable-type.js +1 -0
- package/dist/services/StaticService.d.ts +8 -0
- package/dist/services/StaticService.js +11 -0
- package/package.json +1 -1
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
13
|
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
-
import { ApplicationOptions } from '../../generated/models';
|
|
15
|
-
import { CloudInstance } from '../../generated/models';
|
|
16
|
-
import { CloudProvider } from '../../generated/models';
|
|
17
|
-
import { CloudProviderService } from '../../generated/models';
|
|
18
14
|
import { CronJobOptions } from '../../generated/models';
|
|
19
15
|
import { EnvironmentOptions } from '../../generated/models';
|
|
20
16
|
import { Permission } from '../../generated/models';
|
|
@@ -23,29 +19,6 @@ import { ServiceOptions } from '../../generated/models';
|
|
|
23
19
|
* StaticDataApiService - Auto-generated
|
|
24
20
|
*/
|
|
25
21
|
export declare class StaticDataApiService extends ApiBaseService {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @summary Get details of a single cloud provider service
|
|
29
|
-
* @param {string} serviceCode The unique id of the service
|
|
30
|
-
*/
|
|
31
|
-
getCloudProviderService(serviceCode: string): Promise<ApiResponse<CloudProviderService>>;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @summary Lists options of the applications
|
|
35
|
-
*/
|
|
36
|
-
listApplicationOptions(): Promise<ApiResponse<ApplicationOptions>>;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @summary Lists cloud provider service regions
|
|
40
|
-
* @param {string} serviceCode The unique id of the service
|
|
41
|
-
* @param {string} regionCode The unique id of the region
|
|
42
|
-
*/
|
|
43
|
-
listCloudProviderServiceRegions(serviceCode: string, regionCode: string): Promise<ApiResponse<Array<CloudInstance>>>;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @summary Lists cloud providers
|
|
47
|
-
*/
|
|
48
|
-
listCloudProviders(): Promise<ApiResponse<Array<CloudProvider>>>;
|
|
49
22
|
/**
|
|
50
23
|
*
|
|
51
24
|
* @summary Lists options of the cronjobs
|
|
@@ -24,71 +24,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
24
24
|
exports.StaticDataApiService = void 0;
|
|
25
25
|
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
26
|
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
-
const Exceptions_1 = require("../../../common/Exceptions");
|
|
28
27
|
/**
|
|
29
28
|
* StaticDataApiService - Auto-generated
|
|
30
29
|
*/
|
|
31
30
|
class StaticDataApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @summary Get details of a single cloud provider service
|
|
35
|
-
* @param {string} serviceCode The unique id of the service
|
|
36
|
-
*/
|
|
37
|
-
getCloudProviderService(serviceCode) {
|
|
38
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
if (serviceCode === null || serviceCode === undefined) {
|
|
40
|
-
throw new Exceptions_1.ArgumentNullException('serviceCode', 'getCloudProviderService');
|
|
41
|
-
}
|
|
42
|
-
let queryString = '';
|
|
43
|
-
const requestUrl = '/static/cloud-provider-services/{service_code}' + (queryString ? `?${queryString}` : '');
|
|
44
|
-
const response = yield this.get(requestUrl.replace(`{${"service_code"}}`, encodeURIComponent(String(serviceCode))));
|
|
45
|
-
return new ApiResponse_1.ApiResponse(response);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @summary Lists options of the applications
|
|
51
|
-
*/
|
|
52
|
-
listApplicationOptions() {
|
|
53
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
let queryString = '';
|
|
55
|
-
const requestUrl = '/static/applications' + (queryString ? `?${queryString}` : '');
|
|
56
|
-
const response = yield this.get(requestUrl);
|
|
57
|
-
return new ApiResponse_1.ApiResponse(response);
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @summary Lists cloud provider service regions
|
|
63
|
-
* @param {string} serviceCode The unique id of the service
|
|
64
|
-
* @param {string} regionCode The unique id of the region
|
|
65
|
-
*/
|
|
66
|
-
listCloudProviderServiceRegions(serviceCode, regionCode) {
|
|
67
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
-
if (serviceCode === null || serviceCode === undefined) {
|
|
69
|
-
throw new Exceptions_1.ArgumentNullException('serviceCode', 'listCloudProviderServiceRegions');
|
|
70
|
-
}
|
|
71
|
-
if (regionCode === null || regionCode === undefined) {
|
|
72
|
-
throw new Exceptions_1.ArgumentNullException('regionCode', 'listCloudProviderServiceRegions');
|
|
73
|
-
}
|
|
74
|
-
let queryString = '';
|
|
75
|
-
const requestUrl = '/static/cloud-provider-services/{service_code}/regions/{region_code}' + (queryString ? `?${queryString}` : '');
|
|
76
|
-
const response = yield this.get(requestUrl.replace(`{${"service_code"}}`, encodeURIComponent(String(serviceCode))).replace(`{${"region_code"}}`, encodeURIComponent(String(regionCode))));
|
|
77
|
-
return new ApiResponse_1.ApiResponse(response);
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary Lists cloud providers
|
|
83
|
-
*/
|
|
84
|
-
listCloudProviders() {
|
|
85
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
let queryString = '';
|
|
87
|
-
const requestUrl = '/static/cloud-providers' + (queryString ? `?${queryString}` : '');
|
|
88
|
-
const response = yield this.get(requestUrl);
|
|
89
|
-
return new ApiResponse_1.ApiResponse(response);
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
31
|
/**
|
|
93
32
|
*
|
|
94
33
|
* @summary Lists options of the cronjobs
|
|
@@ -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 { ApplicationOptions } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* StaticDataApplicationOptionsApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class StaticDataApplicationOptionsApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary List options of the applications
|
|
22
|
+
*/
|
|
23
|
+
getStaticApplicationOptions(): Promise<ApiResponse<ApplicationOptions>>;
|
|
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.StaticDataApplicationOptionsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
/**
|
|
28
|
+
* StaticDataApplicationOptionsApiService - Auto-generated
|
|
29
|
+
*/
|
|
30
|
+
class StaticDataApplicationOptionsApiService extends ApiBaseService_1.ApiBaseService {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary List options of the applications
|
|
34
|
+
*/
|
|
35
|
+
getStaticApplicationOptions() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
let queryString = '';
|
|
38
|
+
const requestUrl = '/static/application-options' + (queryString ? `?${queryString}` : '');
|
|
39
|
+
const response = yield this.get(requestUrl);
|
|
40
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.StaticDataApplicationOptionsApiService = StaticDataApplicationOptionsApiService;
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { CloudProviderOptionsRelation } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* StaticDataCloudProviderOptionsApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class StaticDataCloudProviderOptionsApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary List options of the cloud providers
|
|
22
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
23
|
+
* @param {number} [perPage] Number of items returned per page
|
|
24
|
+
*/
|
|
25
|
+
listStaticCloudProviderOptions(page?: number, perPage?: number): Promise<ApiResponse<Array<CloudProviderOptionsRelation>>>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.StaticDataCloudProviderOptionsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
/**
|
|
28
|
+
* StaticDataCloudProviderOptionsApiService - Auto-generated
|
|
29
|
+
*/
|
|
30
|
+
class StaticDataCloudProviderOptionsApiService extends ApiBaseService_1.ApiBaseService {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary List options of the cloud providers
|
|
34
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
35
|
+
* @param {number} [perPage] Number of items returned per page
|
|
36
|
+
*/
|
|
37
|
+
listStaticCloudProviderOptions(page, perPage) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
let queryString = '';
|
|
40
|
+
const queryParams = { page: page, per_page: perPage, };
|
|
41
|
+
for (const key in queryParams) {
|
|
42
|
+
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
|
|
46
|
+
}
|
|
47
|
+
const requestUrl = '/static/cloud-provider-options' + (queryString ? `?${queryString}` : '');
|
|
48
|
+
const response = yield this.get(requestUrl);
|
|
49
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.StaticDataCloudProviderOptionsApiService = StaticDataCloudProviderOptionsApiService;
|
|
@@ -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 { CloudInstanceRelation } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* StaticDataCloudProviderServiceInstancesApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class StaticDataCloudProviderServiceInstancesApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary List cloud provider service instances by region
|
|
22
|
+
* @param {string} cloudProviderServiceCode The cloud provider service code.
|
|
23
|
+
* @param {string} regionCode The region of the cloud provider to get related instances.
|
|
24
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
25
|
+
* @param {number} [perPage] Number of items returned per page
|
|
26
|
+
*/
|
|
27
|
+
listStaticCloudInstancesByCloudProviderServiceCodeAndRegionCode(cloudProviderServiceCode: string, regionCode: string, page?: number, perPage?: number): Promise<ApiResponse<Array<CloudInstanceRelation>>>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.StaticDataCloudProviderServiceInstancesApiService = 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
|
+
* StaticDataCloudProviderServiceInstancesApiService - Auto-generated
|
|
30
|
+
*/
|
|
31
|
+
class StaticDataCloudProviderServiceInstancesApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary List cloud provider service instances by region
|
|
35
|
+
* @param {string} cloudProviderServiceCode The cloud provider service code.
|
|
36
|
+
* @param {string} regionCode The region of the cloud provider to get related instances.
|
|
37
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
38
|
+
* @param {number} [perPage] Number of items returned per page
|
|
39
|
+
*/
|
|
40
|
+
listStaticCloudInstancesByCloudProviderServiceCodeAndRegionCode(cloudProviderServiceCode, regionCode, page, perPage) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
if (cloudProviderServiceCode === null || cloudProviderServiceCode === undefined) {
|
|
43
|
+
throw new Exceptions_1.ArgumentNullException('cloudProviderServiceCode', 'listStaticCloudInstancesByCloudProviderServiceCodeAndRegionCode');
|
|
44
|
+
}
|
|
45
|
+
if (regionCode === null || regionCode === undefined) {
|
|
46
|
+
throw new Exceptions_1.ArgumentNullException('regionCode', 'listStaticCloudInstancesByCloudProviderServiceCodeAndRegionCode');
|
|
47
|
+
}
|
|
48
|
+
let queryString = '';
|
|
49
|
+
const queryParams = { page: page, per_page: perPage, };
|
|
50
|
+
for (const key in queryParams) {
|
|
51
|
+
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
|
|
55
|
+
}
|
|
56
|
+
const requestUrl = '/static/cloud-provider-service-options/{cloud_provider_service_code}/regions/{region_code}/instances' + (queryString ? `?${queryString}` : '');
|
|
57
|
+
const response = yield this.get(requestUrl.replace(`{${"cloud_provider_service_code"}}`, encodeURIComponent(String(cloudProviderServiceCode))).replace(`{${"region_code"}}`, encodeURIComponent(String(regionCode))));
|
|
58
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.StaticDataCloudProviderServiceInstancesApiService = StaticDataCloudProviderServiceInstancesApiService;
|
|
@@ -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 { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
|
+
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
+
import { CloudProviderService } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* StaticDataCloudProviderServicesApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class StaticDataCloudProviderServicesApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary Get details of a single cloud provider service
|
|
22
|
+
* @param {string} cloudProviderServiceCode The cloud provider service code.
|
|
23
|
+
*/
|
|
24
|
+
getStaticCloudProviderService(cloudProviderServiceCode: string): Promise<ApiResponse<CloudProviderService>>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.StaticDataCloudProviderServicesApiService = 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
|
+
* StaticDataCloudProviderServicesApiService - Auto-generated
|
|
30
|
+
*/
|
|
31
|
+
class StaticDataCloudProviderServicesApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Get details of a single cloud provider service
|
|
35
|
+
* @param {string} cloudProviderServiceCode The cloud provider service code.
|
|
36
|
+
*/
|
|
37
|
+
getStaticCloudProviderService(cloudProviderServiceCode) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (cloudProviderServiceCode === null || cloudProviderServiceCode === undefined) {
|
|
40
|
+
throw new Exceptions_1.ArgumentNullException('cloudProviderServiceCode', 'getStaticCloudProviderService');
|
|
41
|
+
}
|
|
42
|
+
let queryString = '';
|
|
43
|
+
const requestUrl = '/static/cloud-provider-service-options/{cloud_provider_service_code}' + (queryString ? `?${queryString}` : '');
|
|
44
|
+
const response = yield this.get(requestUrl.replace(`{${"cloud_provider_service_code"}}`, encodeURIComponent(String(cloudProviderServiceCode))));
|
|
45
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.StaticDataCloudProviderServicesApiService = StaticDataCloudProviderServicesApiService;
|
|
@@ -12,61 +12,61 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface CloudInstanceRelation
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface CloudInstanceRelation {
|
|
18
18
|
/**
|
|
19
19
|
* The name of the cloud instance
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof CloudInstanceRelation
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* The type of the cloud instance
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof CloudInstanceRelation
|
|
28
28
|
*/
|
|
29
29
|
type: string;
|
|
30
30
|
/**
|
|
31
31
|
* The family to which the instance belongs
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof CloudInstanceRelation
|
|
34
34
|
*/
|
|
35
35
|
family: string;
|
|
36
36
|
/**
|
|
37
37
|
* The default disk size (in GB) used to instance
|
|
38
38
|
* @type {number}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof CloudInstanceRelation
|
|
40
40
|
*/
|
|
41
41
|
default_disk_size: number;
|
|
42
42
|
/**
|
|
43
43
|
* The price per hour of the instance
|
|
44
|
-
* @type {
|
|
45
|
-
* @memberof
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CloudInstanceRelation
|
|
46
46
|
*/
|
|
47
|
-
price_hourly:
|
|
47
|
+
price_hourly: number;
|
|
48
48
|
/**
|
|
49
49
|
* The price per month of the instance
|
|
50
|
-
* @type {
|
|
51
|
-
* @memberof
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CloudInstanceRelation
|
|
52
52
|
*/
|
|
53
|
-
price_monthly:
|
|
53
|
+
price_monthly: number;
|
|
54
54
|
/**
|
|
55
55
|
* The currency of the prices
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof CloudInstanceRelation
|
|
58
58
|
*/
|
|
59
59
|
price_currency: string;
|
|
60
60
|
/**
|
|
61
61
|
* The number of virtual CPU of the instance
|
|
62
62
|
* @type {number}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof CloudInstanceRelation
|
|
64
64
|
*/
|
|
65
65
|
vcpus: number;
|
|
66
66
|
/**
|
|
67
67
|
* The RAM memory size (in MB) of the instance
|
|
68
|
-
* @type {
|
|
69
|
-
* @memberof
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CloudInstanceRelation
|
|
70
70
|
*/
|
|
71
|
-
memory:
|
|
71
|
+
memory: number;
|
|
72
72
|
}
|
|
File without changes
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { CloudProviderService } from './cloud-provider-service';
|
|
13
|
+
import { CloudProviderSettingsList } from './cloud-provider-settings-list';
|
|
14
|
+
import { StaticCloudProviderCode } from './static-cloud-provider-code';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CloudProviderOptionsRelation
|
|
19
|
+
*/
|
|
20
|
+
export interface CloudProviderOptionsRelation {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {StaticCloudProviderCode}
|
|
24
|
+
* @memberof CloudProviderOptionsRelation
|
|
25
|
+
*/
|
|
26
|
+
code: StaticCloudProviderCode;
|
|
27
|
+
/**
|
|
28
|
+
* Cloud provider name
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CloudProviderOptionsRelation
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
* Text describing what is the provider
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CloudProviderOptionsRelation
|
|
37
|
+
*/
|
|
38
|
+
hint: string;
|
|
39
|
+
/**
|
|
40
|
+
* The provider\'s logo URL
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof CloudProviderOptionsRelation
|
|
43
|
+
*/
|
|
44
|
+
logo_url: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<CloudProviderService>}
|
|
48
|
+
* @memberof CloudProviderOptionsRelation
|
|
49
|
+
*/
|
|
50
|
+
cloud_services: Array<CloudProviderService>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {CloudProviderSettingsList}
|
|
54
|
+
* @memberof CloudProviderOptionsRelation
|
|
55
|
+
*/
|
|
56
|
+
settings: CloudProviderSettingsList;
|
|
57
|
+
}
|
|
@@ -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,21 @@
|
|
|
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
|
+
* The code that uniquely identify this cloud service
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum CloudProviderServiceCode {
|
|
18
|
+
AwsEc2 = "aws-ec2",
|
|
19
|
+
DigitaloceanDroplet = "digitalocean-droplet",
|
|
20
|
+
GcpGce = "gcp-gce"
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 });
|
|
15
|
+
exports.CloudProviderServiceCode = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The code that uniquely identify this cloud service
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var CloudProviderServiceCode;
|
|
22
|
+
(function (CloudProviderServiceCode) {
|
|
23
|
+
CloudProviderServiceCode["AwsEc2"] = "aws-ec2";
|
|
24
|
+
CloudProviderServiceCode["DigitaloceanDroplet"] = "digitalocean-droplet";
|
|
25
|
+
CloudProviderServiceCode["GcpGce"] = "gcp-gce";
|
|
26
|
+
})(CloudProviderServiceCode = exports.CloudProviderServiceCode || (exports.CloudProviderServiceCode = {}));
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CloudProviderServiceCode } from './cloud-provider-service-code';
|
|
12
13
|
import { CloudProviderServiceRegion } from './cloud-provider-service-region';
|
|
13
14
|
import { OperatingSystem } from './operating-system';
|
|
14
15
|
/**
|
|
@@ -18,11 +19,11 @@ import { OperatingSystem } from './operating-system';
|
|
|
18
19
|
*/
|
|
19
20
|
export interface CloudProviderService {
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {
|
|
22
|
+
*
|
|
23
|
+
* @type {CloudProviderServiceCode}
|
|
23
24
|
* @memberof CloudProviderService
|
|
24
25
|
*/
|
|
25
|
-
code:
|
|
26
|
+
code: CloudProviderServiceCode;
|
|
26
27
|
/**
|
|
27
28
|
* The full name of the cloud service
|
|
28
29
|
* @type {string}
|
|
@@ -42,12 +43,3 @@ export interface CloudProviderService {
|
|
|
42
43
|
*/
|
|
43
44
|
os?: Array<OperatingSystem>;
|
|
44
45
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @export
|
|
47
|
-
* @enum {string}
|
|
48
|
-
*/
|
|
49
|
-
export declare enum CloudProviderServiceCodeEnum {
|
|
50
|
-
AwsEc2 = "aws-ec2",
|
|
51
|
-
DigitaloceanDroplet = "digitalocean-droplet",
|
|
52
|
-
GcpGce = "gcp-gce"
|
|
53
|
-
}
|
|
@@ -12,14 +12,3 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.CloudProviderServiceCodeEnum = void 0;
|
|
16
|
-
/**
|
|
17
|
-
* @export
|
|
18
|
-
* @enum {string}
|
|
19
|
-
*/
|
|
20
|
-
var CloudProviderServiceCodeEnum;
|
|
21
|
-
(function (CloudProviderServiceCodeEnum) {
|
|
22
|
-
CloudProviderServiceCodeEnum["AwsEc2"] = "aws-ec2";
|
|
23
|
-
CloudProviderServiceCodeEnum["DigitaloceanDroplet"] = "digitalocean-droplet";
|
|
24
|
-
CloudProviderServiceCodeEnum["GcpGce"] = "gcp-gce";
|
|
25
|
-
})(CloudProviderServiceCodeEnum = exports.CloudProviderServiceCodeEnum || (exports.CloudProviderServiceCodeEnum = {}));
|
|
@@ -47,6 +47,12 @@ export interface CredentialRelation {
|
|
|
47
47
|
* @memberof CredentialRelation
|
|
48
48
|
*/
|
|
49
49
|
cloud_provider: CloudProvider;
|
|
50
|
+
/**
|
|
51
|
+
* If this credential is active or not
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof CredentialRelation
|
|
54
|
+
*/
|
|
55
|
+
active: boolean;
|
|
50
56
|
/**
|
|
51
57
|
* The date and time when the record was created
|
|
52
58
|
* @type {string}
|
|
@@ -47,6 +47,12 @@ export interface Credential {
|
|
|
47
47
|
* @memberof Credential
|
|
48
48
|
*/
|
|
49
49
|
cloud_provider: CloudProvider;
|
|
50
|
+
/**
|
|
51
|
+
* If this credential is active or not
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof Credential
|
|
54
|
+
*/
|
|
55
|
+
active: boolean;
|
|
50
56
|
/**
|
|
51
57
|
* The date and time when the record was created
|
|
52
58
|
* @type {string}
|
|
@@ -33,14 +33,16 @@ export * from './application-update';
|
|
|
33
33
|
export * from './blueprint-service';
|
|
34
34
|
export * from './cloud-aws-ec2-settings';
|
|
35
35
|
export * from './cloud-digital-ocean-droplet-settings';
|
|
36
|
-
export * from './cloud-instance';
|
|
36
|
+
export * from './cloud-instance-relation';
|
|
37
37
|
export * from './cloud-os';
|
|
38
38
|
export * from './cloud-provider';
|
|
39
39
|
export * from './cloud-provider-code';
|
|
40
40
|
export * from './cloud-provider-credential-settings';
|
|
41
|
+
export * from './cloud-provider-options-relation';
|
|
41
42
|
export * from './cloud-provider-property-type';
|
|
42
43
|
export * from './cloud-provider-property-validation';
|
|
43
44
|
export * from './cloud-provider-service';
|
|
45
|
+
export * from './cloud-provider-service-code';
|
|
44
46
|
export * from './cloud-provider-service-region';
|
|
45
47
|
export * from './cloud-provider-settings-list';
|
|
46
48
|
export * from './commit';
|
|
@@ -105,6 +107,7 @@ export * from './invitation-relation';
|
|
|
105
107
|
export * from './invitation-team-create';
|
|
106
108
|
export * from './language';
|
|
107
109
|
export * from './language-runtime';
|
|
110
|
+
export * from './language-runtime-engine-versions';
|
|
108
111
|
export * from './language-runtime-framework';
|
|
109
112
|
export * from './language-runtime-framework-defaults';
|
|
110
113
|
export * from './log';
|
|
@@ -196,6 +199,7 @@ export * from './ssl-certificate-issuer';
|
|
|
196
199
|
export * from './ssl-certificate-relation';
|
|
197
200
|
export * from './ssl-certificate-type';
|
|
198
201
|
export * from './ssl-certificate-validation-level';
|
|
202
|
+
export * from './static-cloud-provider-code';
|
|
199
203
|
export * from './step';
|
|
200
204
|
export * from './step-pipeline-create';
|
|
201
205
|
export * from './step-pipeline-update';
|
|
@@ -49,14 +49,16 @@ __exportStar(require("./application-update"), exports);
|
|
|
49
49
|
__exportStar(require("./blueprint-service"), exports);
|
|
50
50
|
__exportStar(require("./cloud-aws-ec2-settings"), exports);
|
|
51
51
|
__exportStar(require("./cloud-digital-ocean-droplet-settings"), exports);
|
|
52
|
-
__exportStar(require("./cloud-instance"), exports);
|
|
52
|
+
__exportStar(require("./cloud-instance-relation"), exports);
|
|
53
53
|
__exportStar(require("./cloud-os"), exports);
|
|
54
54
|
__exportStar(require("./cloud-provider"), exports);
|
|
55
55
|
__exportStar(require("./cloud-provider-code"), exports);
|
|
56
56
|
__exportStar(require("./cloud-provider-credential-settings"), exports);
|
|
57
|
+
__exportStar(require("./cloud-provider-options-relation"), exports);
|
|
57
58
|
__exportStar(require("./cloud-provider-property-type"), exports);
|
|
58
59
|
__exportStar(require("./cloud-provider-property-validation"), exports);
|
|
59
60
|
__exportStar(require("./cloud-provider-service"), exports);
|
|
61
|
+
__exportStar(require("./cloud-provider-service-code"), exports);
|
|
60
62
|
__exportStar(require("./cloud-provider-service-region"), exports);
|
|
61
63
|
__exportStar(require("./cloud-provider-settings-list"), exports);
|
|
62
64
|
__exportStar(require("./commit"), exports);
|
|
@@ -121,6 +123,7 @@ __exportStar(require("./invitation-relation"), exports);
|
|
|
121
123
|
__exportStar(require("./invitation-team-create"), exports);
|
|
122
124
|
__exportStar(require("./language"), exports);
|
|
123
125
|
__exportStar(require("./language-runtime"), exports);
|
|
126
|
+
__exportStar(require("./language-runtime-engine-versions"), exports);
|
|
124
127
|
__exportStar(require("./language-runtime-framework"), exports);
|
|
125
128
|
__exportStar(require("./language-runtime-framework-defaults"), exports);
|
|
126
129
|
__exportStar(require("./log"), exports);
|
|
@@ -212,6 +215,7 @@ __exportStar(require("./ssl-certificate-issuer"), exports);
|
|
|
212
215
|
__exportStar(require("./ssl-certificate-relation"), exports);
|
|
213
216
|
__exportStar(require("./ssl-certificate-type"), exports);
|
|
214
217
|
__exportStar(require("./ssl-certificate-validation-level"), exports);
|
|
218
|
+
__exportStar(require("./static-cloud-provider-code"), exports);
|
|
215
219
|
__exportStar(require("./step"), exports);
|
|
216
220
|
__exportStar(require("./step-pipeline-create"), exports);
|
|
217
221
|
__exportStar(require("./step-pipeline-update"), exports);
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LanguageRuntimeEngineVersions
|
|
16
|
+
*/
|
|
17
|
+
export interface LanguageRuntimeEngineVersions {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LanguageRuntimeEngineVersions
|
|
22
|
+
*/
|
|
23
|
+
version?: string;
|
|
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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { LanguageRuntimeEngineVersions } from './language-runtime-engine-versions';
|
|
12
13
|
import { LanguageRuntimeFramework } from './language-runtime-framework';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -30,10 +31,10 @@ export interface LanguageRuntime {
|
|
|
30
31
|
name_human_readable: string;
|
|
31
32
|
/**
|
|
32
33
|
* The list of the supported versions of the runtime engine
|
|
33
|
-
* @type {Array<
|
|
34
|
+
* @type {Array<LanguageRuntimeEngineVersions>}
|
|
34
35
|
* @memberof LanguageRuntime
|
|
35
36
|
*/
|
|
36
|
-
engine_versions: Array<
|
|
37
|
+
engine_versions: Array<LanguageRuntimeEngineVersions>;
|
|
37
38
|
/**
|
|
38
39
|
* The list of supported frameworks built on top of the runtime engine
|
|
39
40
|
* @type {Array<LanguageRuntimeFramework>}
|
|
@@ -87,6 +87,12 @@ export interface NetworkRule {
|
|
|
87
87
|
* @memberof NetworkRule
|
|
88
88
|
*/
|
|
89
89
|
created_by_user: UserRelation;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {EnvironmentRelation}
|
|
93
|
+
* @memberof NetworkRule
|
|
94
|
+
*/
|
|
95
|
+
environment: EnvironmentRelation;
|
|
90
96
|
/**
|
|
91
97
|
*
|
|
92
98
|
* @type {Array<EnvironmentRelation>}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* The code of the cloud service provider
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum StaticCloudProviderCode {
|
|
18
|
+
Aws = "aws",
|
|
19
|
+
Digitalocean = "digitalocean",
|
|
20
|
+
Gcp = "gcp",
|
|
21
|
+
SelfHosted = "self-hosted"
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 });
|
|
15
|
+
exports.StaticCloudProviderCode = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The code of the cloud service provider
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var StaticCloudProviderCode;
|
|
22
|
+
(function (StaticCloudProviderCode) {
|
|
23
|
+
StaticCloudProviderCode["Aws"] = "aws";
|
|
24
|
+
StaticCloudProviderCode["Digitalocean"] = "digitalocean";
|
|
25
|
+
StaticCloudProviderCode["Gcp"] = "gcp";
|
|
26
|
+
StaticCloudProviderCode["SelfHosted"] = "self-hosted";
|
|
27
|
+
})(StaticCloudProviderCode = exports.StaticCloudProviderCode || (exports.StaticCloudProviderCode = {}));
|
|
@@ -15,5 +15,11 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum VariableTarget {
|
|
18
|
-
ResourceConfigFile = "resource-config-file"
|
|
18
|
+
ResourceConfigFile = "resource-config-file",
|
|
19
|
+
NginxConf = "nginx-conf",
|
|
20
|
+
OsEnvVar = "os-env-var",
|
|
21
|
+
PhpCliPhpIni = "php-cli_php-ini",
|
|
22
|
+
PhpFpmPhpFpmConf = "php-fpm_php-fpm-conf",
|
|
23
|
+
PhpFpmPhpIni = "php-fpm_php-ini",
|
|
24
|
+
PhpFpmPoolDWwwConf = "php-fpm_pool-d-www-conf"
|
|
19
25
|
}
|
|
@@ -21,4 +21,10 @@ exports.VariableTarget = void 0;
|
|
|
21
21
|
var VariableTarget;
|
|
22
22
|
(function (VariableTarget) {
|
|
23
23
|
VariableTarget["ResourceConfigFile"] = "resource-config-file";
|
|
24
|
+
VariableTarget["NginxConf"] = "nginx-conf";
|
|
25
|
+
VariableTarget["OsEnvVar"] = "os-env-var";
|
|
26
|
+
VariableTarget["PhpCliPhpIni"] = "php-cli_php-ini";
|
|
27
|
+
VariableTarget["PhpFpmPhpFpmConf"] = "php-fpm_php-fpm-conf";
|
|
28
|
+
VariableTarget["PhpFpmPhpIni"] = "php-fpm_php-ini";
|
|
29
|
+
VariableTarget["PhpFpmPoolDWwwConf"] = "php-fpm_pool-d-www-conf";
|
|
24
30
|
})(VariableTarget = exports.VariableTarget || (exports.VariableTarget = {}));
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { StaticDataApiService } from "../api/generated/apis/static-data-api";
|
|
2
|
+
import { StaticDataApplicationOptionsApiService } from "../api/generated/apis/static-data-application-options-api";
|
|
3
|
+
import { StaticDataCloudProviderOptionsApiService } from "../api/generated/apis/static-data-cloud-provider-options-api";
|
|
4
|
+
import { StaticDataCloudProviderServiceInstancesApiService } from "../api/generated/apis/static-data-cloud-provider-service-instances-api";
|
|
5
|
+
import { StaticDataCloudProviderServicesApiService } from "../api/generated/apis/static-data-cloud-provider-services-api";
|
|
2
6
|
export declare class StaticService extends StaticDataApiService {
|
|
7
|
+
applicationOptions: StaticDataApplicationOptionsApiService;
|
|
8
|
+
cloudProviderOptions: StaticDataCloudProviderOptionsApiService;
|
|
9
|
+
cloudProviderServiceInstances: StaticDataCloudProviderServiceInstancesApiService;
|
|
10
|
+
cloudProviderServices: StaticDataCloudProviderServicesApiService;
|
|
3
11
|
}
|
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StaticService = void 0;
|
|
4
4
|
const static_data_api_1 = require("../api/generated/apis/static-data-api");
|
|
5
|
+
const static_data_application_options_api_1 = require("../api/generated/apis/static-data-application-options-api");
|
|
6
|
+
const static_data_cloud_provider_options_api_1 = require("../api/generated/apis/static-data-cloud-provider-options-api");
|
|
7
|
+
const static_data_cloud_provider_service_instances_api_1 = require("../api/generated/apis/static-data-cloud-provider-service-instances-api");
|
|
8
|
+
const static_data_cloud_provider_services_api_1 = require("../api/generated/apis/static-data-cloud-provider-services-api");
|
|
5
9
|
class StaticService extends static_data_api_1.StaticDataApiService {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.applicationOptions = new static_data_application_options_api_1.StaticDataApplicationOptionsApiService();
|
|
13
|
+
this.cloudProviderOptions = new static_data_cloud_provider_options_api_1.StaticDataCloudProviderOptionsApiService();
|
|
14
|
+
this.cloudProviderServiceInstances = new static_data_cloud_provider_service_instances_api_1.StaticDataCloudProviderServiceInstancesApiService();
|
|
15
|
+
this.cloudProviderServices = new static_data_cloud_provider_services_api_1.StaticDataCloudProviderServicesApiService();
|
|
16
|
+
}
|
|
6
17
|
}
|
|
7
18
|
exports.StaticService = StaticService;
|