@devopness/sdk-js 2.141.0 → 2.142.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/DevopnessApiClient.d.ts +0 -4
- package/dist/DevopnessApiClient.js +0 -4
- package/dist/api/generated/apis/credentials-api.d.ts +11 -5
- package/dist/api/generated/apis/credentials-api.js +27 -12
- package/dist/api/generated/apis/{source-providers-repositories-api.d.ts → credentials-repositories-api.d.ts} +7 -7
- package/dist/api/generated/apis/{source-providers-repositories-api.js → credentials-repositories-api.js} +20 -20
- package/dist/api/generated/apis/environments-credentials-api.d.ts +46 -0
- package/dist/api/generated/apis/environments-credentials-api.js +100 -0
- package/dist/api/generated/apis/networks-api.d.ts +8 -0
- package/dist/api/generated/apis/networks-api.js +20 -0
- package/dist/api/generated/apis/static-data-credential-options-api.d.ts +24 -0
- package/dist/api/generated/apis/{static-data-cloud-provider-options-api.js → static-data-credential-options-api.js} +7 -16
- package/dist/api/generated/models/application-environment-create.d.ts +3 -3
- package/dist/api/generated/models/application-relation.d.ts +4 -4
- package/dist/api/generated/models/application-update.d.ts +3 -3
- package/dist/api/generated/models/application.d.ts +4 -4
- package/dist/api/generated/models/cloud-provider-service.d.ts +3 -3
- package/dist/api/generated/models/credential-environment-create.d.ts +49 -0
- package/dist/api/generated/models/credential-input-settings-validation.d.ts +48 -0
- package/dist/api/generated/models/credential-input-settings.d.ts +49 -0
- package/dist/api/generated/models/credential-options.d.ts +31 -0
- package/dist/api/generated/models/credential-provider-type.d.ts +56 -0
- package/dist/api/generated/models/credential-provider-type.js +24 -0
- package/dist/api/generated/models/credential-relation.d.ts +20 -13
- package/dist/api/generated/models/credential-setting.d.ts +17 -6
- package/dist/api/generated/models/{source-provider-create.d.ts → credential-source-provider.d.ts} +4 -11
- package/dist/api/generated/models/credential-update.d.ts +37 -0
- package/dist/api/generated/models/credential.d.ts +20 -14
- package/dist/api/generated/models/environment.d.ts +7 -0
- package/dist/api/generated/models/index.d.ts +12 -6
- package/dist/api/generated/models/index.js +12 -6
- package/dist/api/generated/models/network-environment-create.d.ts +6 -0
- package/dist/api/generated/models/network-provision-input.d.ts +0 -6
- package/dist/api/generated/models/network-update.d.ts +30 -0
- package/dist/api/generated/models/network-update.js +14 -0
- package/dist/api/generated/models/network.d.ts +7 -0
- package/dist/api/generated/models/provider-code.d.ts +24 -0
- package/dist/api/generated/models/provider-code.js +29 -0
- package/dist/api/generated/models/provider-relation.d.ts +57 -0
- package/dist/api/generated/models/provider-relation.js +24 -0
- package/dist/api/generated/models/provider-settings.d.ts +38 -0
- package/dist/api/generated/models/provider-settings.js +14 -0
- package/dist/api/generated/models/provider-type.d.ts +20 -0
- package/dist/api/generated/models/provider-type.js +25 -0
- package/dist/api/generated/models/resource-type.d.ts +1 -0
- package/dist/api/generated/models/resource-type.js +1 -0
- package/dist/api/generated/models/server-environment-create.d.ts +6 -0
- package/dist/api/generated/models/server-provision-input.d.ts +0 -6
- package/dist/api/generated/models/server-update.d.ts +7 -1
- package/dist/api/generated/models/server.d.ts +7 -0
- package/dist/api/generated/models/subnet-network-create.d.ts +6 -0
- package/dist/api/generated/models/subnet-provision-input.d.ts +0 -6
- package/dist/api/generated/models/subnet.d.ts +7 -0
- package/dist/services/CredentialService.d.ts +2 -0
- package/dist/services/CredentialService.js +5 -0
- package/dist/services/EnvironmentService.d.ts +4 -2
- package/dist/services/EnvironmentService.js +4 -2
- package/dist/services/StaticService.d.ts +2 -4
- package/dist/services/StaticService.js +2 -4
- package/dist/services/index.d.ts +1 -3
- package/dist/services/index.js +1 -3
- package/package.json +1 -1
- package/dist/api/generated/apis/cloud-providers-credentials-api.d.ts +0 -36
- package/dist/api/generated/apis/cloud-providers-credentials-api.js +0 -78
- package/dist/api/generated/apis/source-providers-api.d.ts +0 -46
- package/dist/api/generated/apis/source-providers-api.js +0 -102
- package/dist/api/generated/apis/static-data-cloud-provider-options-api.d.ts +0 -26
- package/dist/api/generated/apis/static-data-source-provider-options-api.d.ts +0 -26
- package/dist/api/generated/apis/static-data-source-provider-options-api.js +0 -53
- package/dist/api/generated/models/cloud-provider-options-relation.d.ts +0 -64
- package/dist/api/generated/models/credential-cloud-provider-create.d.ts +0 -31
- package/dist/api/generated/models/source-provider-options-relation.d.ts +0 -38
- package/dist/api/generated/models/source-provider-relation.d.ts +0 -68
- package/dist/api/generated/models/source-provider.d.ts +0 -68
- package/dist/services/CloudProviderCredentialService.d.ts +0 -3
- package/dist/services/CloudProviderCredentialService.js +0 -7
- package/dist/services/SourceProviderService.d.ts +0 -5
- package/dist/services/SourceProviderService.js +0 -12
- /package/dist/api/generated/models/{cloud-provider-options-relation.js → credential-environment-create.js} +0 -0
- /package/dist/api/generated/models/{credential-cloud-provider-create.js → credential-input-settings-validation.js} +0 -0
- /package/dist/api/generated/models/{source-provider-create.js → credential-input-settings.js} +0 -0
- /package/dist/api/generated/models/{source-provider-options-relation.js → credential-options.js} +0 -0
- /package/dist/api/generated/models/{source-provider-relation.js → credential-source-provider.js} +0 -0
- /package/dist/api/generated/models/{source-provider.js → credential-update.js} +0 -0
|
@@ -23,12 +23,6 @@ export interface NetworkProvisionInput {
|
|
|
23
23
|
* @memberof NetworkProvisionInput
|
|
24
24
|
*/
|
|
25
25
|
cloud_service_code: ServerCloudServiceCode;
|
|
26
|
-
/**
|
|
27
|
-
* The ID of the cloud credential
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof NetworkProvisionInput
|
|
30
|
-
*/
|
|
31
|
-
credential_id: number;
|
|
32
26
|
/**
|
|
33
27
|
*
|
|
34
28
|
* @type {NetworkProvisionInputSettings}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 NetworkUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkUpdate {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the network.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NetworkUpdate
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the cloud credential.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NetworkUpdate
|
|
28
|
+
*/
|
|
29
|
+
credential_id: number;
|
|
30
|
+
}
|
|
@@ -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 });
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
|
+
import { CredentialRelation } from './credential-relation';
|
|
13
14
|
import { EnvironmentRelation } from './environment-relation';
|
|
14
15
|
import { NetworkProvisionInput } from './network-provision-input';
|
|
15
16
|
import { ProjectRelation } from './project-relation';
|
|
@@ -68,6 +69,12 @@ export interface Network {
|
|
|
68
69
|
* @memberof Network
|
|
69
70
|
*/
|
|
70
71
|
environment: EnvironmentRelation | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {CredentialRelation}
|
|
75
|
+
* @memberof Network
|
|
76
|
+
*/
|
|
77
|
+
credential: CredentialRelation | null;
|
|
71
78
|
/**
|
|
72
79
|
*
|
|
73
80
|
* @type {ActionRelation}
|
|
@@ -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
|
+
* The code of the service provider
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ProviderCode {
|
|
18
|
+
Aws = "aws",
|
|
19
|
+
Bitbucket = "bitbucket",
|
|
20
|
+
Digitalocean = "digitalocean",
|
|
21
|
+
Gcp = "gcp",
|
|
22
|
+
Github = "github",
|
|
23
|
+
Gitlab = "gitlab"
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.ProviderCode = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The code of the service provider
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var ProviderCode;
|
|
22
|
+
(function (ProviderCode) {
|
|
23
|
+
ProviderCode["Aws"] = "aws";
|
|
24
|
+
ProviderCode["Bitbucket"] = "bitbucket";
|
|
25
|
+
ProviderCode["Digitalocean"] = "digitalocean";
|
|
26
|
+
ProviderCode["Gcp"] = "gcp";
|
|
27
|
+
ProviderCode["Github"] = "github";
|
|
28
|
+
ProviderCode["Gitlab"] = "gitlab";
|
|
29
|
+
})(ProviderCode || (exports.ProviderCode = ProviderCode = {}));
|
|
@@ -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 { ProviderCode } from './provider-code';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProviderRelation
|
|
17
|
+
*/
|
|
18
|
+
export interface ProviderRelation {
|
|
19
|
+
/**
|
|
20
|
+
* Tells if the provider is active or not
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ProviderRelation
|
|
23
|
+
*/
|
|
24
|
+
active: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ProviderCode}
|
|
28
|
+
* @memberof ProviderRelation
|
|
29
|
+
*/
|
|
30
|
+
code: ProviderCode;
|
|
31
|
+
/**
|
|
32
|
+
* Human readable version of provider code
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProviderRelation
|
|
35
|
+
*/
|
|
36
|
+
code_human_readable: string;
|
|
37
|
+
/**
|
|
38
|
+
* Type of provider.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProviderRelation
|
|
41
|
+
*/
|
|
42
|
+
type: ProviderRelationTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
* Human readable version of provider type
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProviderRelation
|
|
47
|
+
*/
|
|
48
|
+
type_human_readable?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
* @enum {string}
|
|
53
|
+
*/
|
|
54
|
+
export declare enum ProviderRelationTypeEnum {
|
|
55
|
+
CloudProvider = "cloud_provider",
|
|
56
|
+
SourceProvider = "source_provider"
|
|
57
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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.ProviderRelationTypeEnum = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
var ProviderRelationTypeEnum;
|
|
21
|
+
(function (ProviderRelationTypeEnum) {
|
|
22
|
+
ProviderRelationTypeEnum["CloudProvider"] = "cloud_provider";
|
|
23
|
+
ProviderRelationTypeEnum["SourceProvider"] = "source_provider";
|
|
24
|
+
})(ProviderRelationTypeEnum || (exports.ProviderRelationTypeEnum = ProviderRelationTypeEnum = {}));
|
|
@@ -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 { CloudProviderService } from './cloud-provider-service';
|
|
13
|
+
import { CredentialInputSettings } from './credential-input-settings';
|
|
14
|
+
/**
|
|
15
|
+
* Settings of supported provider
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ProviderSettings
|
|
18
|
+
*/
|
|
19
|
+
export interface ProviderSettings {
|
|
20
|
+
/**
|
|
21
|
+
* The URL to connect to the source provider
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ProviderSettings
|
|
24
|
+
*/
|
|
25
|
+
connect_url?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The list of input settings for credential cloud provider
|
|
28
|
+
* @type {Array<CredentialInputSettings>}
|
|
29
|
+
* @memberof ProviderSettings
|
|
30
|
+
*/
|
|
31
|
+
input_settings: Array<CredentialInputSettings>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<CloudProviderService>}
|
|
35
|
+
* @memberof ProviderSettings
|
|
36
|
+
*/
|
|
37
|
+
cloud_services?: Array<CloudProviderService>;
|
|
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 });
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
* Type of provider.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ProviderType {
|
|
18
|
+
CloudProvider = "cloud_provider",
|
|
19
|
+
SourceProvider = "source_provider"
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.ProviderType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Type of provider.
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var ProviderType;
|
|
22
|
+
(function (ProviderType) {
|
|
23
|
+
ProviderType["CloudProvider"] = "cloud_provider";
|
|
24
|
+
ProviderType["SourceProvider"] = "source_provider";
|
|
25
|
+
})(ProviderType || (exports.ProviderType = ProviderType = {}));
|
|
@@ -21,6 +21,7 @@ exports.ResourceType = void 0;
|
|
|
21
21
|
var ResourceType;
|
|
22
22
|
(function (ResourceType) {
|
|
23
23
|
ResourceType["Application"] = "application";
|
|
24
|
+
ResourceType["Credential"] = "credential";
|
|
24
25
|
ResourceType["Cronjob"] = "cronjob";
|
|
25
26
|
ResourceType["Daemon"] = "daemon";
|
|
26
27
|
ResourceType["Deployment"] = "deployment";
|
|
@@ -53,4 +53,10 @@ export interface ServerEnvironmentCreate {
|
|
|
53
53
|
* @memberof ServerEnvironmentCreate
|
|
54
54
|
*/
|
|
55
55
|
provision_input: ServerProvisionInput;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the cloud credential. This field is required unless <code>provision_input.cloud_service_code</code> is in <code>self-hosted-custom</code>.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ServerEnvironmentCreate
|
|
60
|
+
*/
|
|
61
|
+
credential_id?: string;
|
|
56
62
|
}
|
|
@@ -20,12 +20,6 @@ import { ServerCloudServiceCode } from './server-cloud-service-code';
|
|
|
20
20
|
* @interface ServerProvisionInput
|
|
21
21
|
*/
|
|
22
22
|
export interface ServerProvisionInput {
|
|
23
|
-
/**
|
|
24
|
-
* The unique id of the cloud provider credential to be used on connect to cloud provider
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof ServerProvisionInput
|
|
27
|
-
*/
|
|
28
|
-
credential_id?: number;
|
|
29
23
|
/**
|
|
30
24
|
* The ID of the subnet where to create the server. If not defined, create the server on the default subnet of the cloud provider
|
|
31
25
|
* @type {number}
|
|
@@ -28,7 +28,7 @@ export interface ServerUpdate {
|
|
|
28
28
|
*/
|
|
29
29
|
ip_address?: string;
|
|
30
30
|
/**
|
|
31
|
-
* The network port to which the SSH daemon is listening to SSH connections on the server. Must be between
|
|
31
|
+
* The network port to which the SSH daemon is listening to SSH connections on the server. Must be between 22 and 65535.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof ServerUpdate
|
|
34
34
|
*/
|
|
@@ -39,4 +39,10 @@ export interface ServerUpdate {
|
|
|
39
39
|
* @memberof ServerUpdate
|
|
40
40
|
*/
|
|
41
41
|
max_parallel_actions?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the cloud credential.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ServerUpdate
|
|
46
|
+
*/
|
|
47
|
+
credential_id?: string;
|
|
42
48
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
13
|
import { ActionStatus } from './action-status';
|
|
14
14
|
import { CloudOsVersionCode } from './cloud-os-version-code';
|
|
15
|
+
import { CredentialRelation } from './credential-relation';
|
|
15
16
|
import { EnvironmentRelation } from './environment-relation';
|
|
16
17
|
import { OperatingSystemVersion } from './operating-system-version';
|
|
17
18
|
import { ProjectRelation } from './project-relation';
|
|
@@ -145,6 +146,12 @@ export interface Server {
|
|
|
145
146
|
* @memberof Server
|
|
146
147
|
*/
|
|
147
148
|
environment: EnvironmentRelation | null;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {CredentialRelation}
|
|
152
|
+
* @memberof Server
|
|
153
|
+
*/
|
|
154
|
+
credential: CredentialRelation | null;
|
|
148
155
|
/**
|
|
149
156
|
* The date and time when the record was created
|
|
150
157
|
* @type {string}
|
|
@@ -35,4 +35,10 @@ export interface SubnetNetworkCreate {
|
|
|
35
35
|
* @memberof SubnetNetworkCreate
|
|
36
36
|
*/
|
|
37
37
|
provision_input: SubnetProvisionInput;
|
|
38
|
+
/**
|
|
39
|
+
* The ID of the cloud credential.
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof SubnetNetworkCreate
|
|
42
|
+
*/
|
|
43
|
+
credential_id: number;
|
|
38
44
|
}
|
|
@@ -16,12 +16,6 @@ import { SubnetProvisionInputSettings } from './subnet-provision-input-settings'
|
|
|
16
16
|
* @interface SubnetProvisionInput
|
|
17
17
|
*/
|
|
18
18
|
export interface SubnetProvisionInput {
|
|
19
|
-
/**
|
|
20
|
-
* The ID of the cloud credential
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SubnetProvisionInput
|
|
23
|
-
*/
|
|
24
|
-
credential_id: number;
|
|
25
19
|
/**
|
|
26
20
|
*
|
|
27
21
|
* @type {SubnetProvisionInputSettings}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
|
+
import { CredentialRelation } from './credential-relation';
|
|
13
14
|
import { EnvironmentRelation } from './environment-relation';
|
|
14
15
|
import { NetworkRelation } from './network-relation';
|
|
15
16
|
import { ProjectRelation } from './project-relation';
|
|
@@ -76,6 +77,12 @@ export interface Subnet {
|
|
|
76
77
|
* @memberof Subnet
|
|
77
78
|
*/
|
|
78
79
|
network: NetworkRelation | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {CredentialRelation}
|
|
83
|
+
* @memberof Subnet
|
|
84
|
+
*/
|
|
85
|
+
credential: CredentialRelation | null;
|
|
79
86
|
/**
|
|
80
87
|
*
|
|
81
88
|
* @type {ActionRelation}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { CredentialsApiService } from "../api/generated/apis/credentials-api";
|
|
2
|
+
import { CredentialsRepositoriesApiService } from "../api/generated/apis/credentials-repositories-api";
|
|
2
3
|
export declare class CredentialService extends CredentialsApiService {
|
|
4
|
+
repositories: CredentialsRepositoriesApiService;
|
|
3
5
|
}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CredentialService = void 0;
|
|
4
4
|
const credentials_api_1 = require("../api/generated/apis/credentials-api");
|
|
5
|
+
const credentials_repositories_api_1 = require("../api/generated/apis/credentials-repositories-api");
|
|
5
6
|
class CredentialService extends credentials_api_1.CredentialsApiService {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.repositories = new credentials_repositories_api_1.CredentialsRepositoriesApiService();
|
|
10
|
+
}
|
|
6
11
|
}
|
|
7
12
|
exports.CredentialService = CredentialService;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { EnvironmentsApiService } from '../api/generated/apis/environments-api';
|
|
2
1
|
import { EnvironmentsActionsApiService } from '../api/generated/apis/environments-actions-api';
|
|
2
|
+
import { EnvironmentsApiService } from '../api/generated/apis/environments-api';
|
|
3
3
|
import { EnvironmentsApplicationsApiService } from '../api/generated/apis/environments-applications-api';
|
|
4
|
+
import { EnvironmentsCredentialsApiService } from '../api/generated/apis/environments-credentials-api';
|
|
4
5
|
import { EnvironmentsCronJobsApiService } from '../api/generated/apis/environments-cron-jobs-api';
|
|
5
6
|
import { EnvironmentsDaemonsApiService } from '../api/generated/apis/environments-daemons-api';
|
|
6
7
|
import { EnvironmentsNetworkRulesApiService } from '../api/generated/apis/environments-network-rules-api';
|
|
8
|
+
import { EnvironmentsNetworksApiService } from '../api/generated/apis/environments-networks-api';
|
|
7
9
|
import { EnvironmentsServersApiService } from '../api/generated/apis/environments-servers-api';
|
|
8
10
|
import { EnvironmentsServicesApiService } from '../api/generated/apis/environments-services-api';
|
|
9
11
|
import { EnvironmentsSSHKeysApiService } from '../api/generated/apis/environments-sshkeys-api';
|
|
10
12
|
import { EnvironmentsSSLCertificatesApiService } from '../api/generated/apis/environments-sslcertificates-api';
|
|
11
13
|
import { EnvironmentsTeamMembershipsApiService } from '../api/generated/apis/environments-team-memberships-api';
|
|
12
14
|
import { EnvironmentsTeamsApiService } from '../api/generated/apis/environments-teams-api';
|
|
13
|
-
import { EnvironmentsNetworksApiService } from '../api/generated/apis/environments-networks-api';
|
|
14
15
|
import { EnvironmentsVirtualHostsApiService } from '../api/generated/apis/environments-virtual-hosts-api';
|
|
15
16
|
export declare class EnvironmentService extends EnvironmentsApiService {
|
|
16
17
|
actions: EnvironmentsActionsApiService;
|
|
17
18
|
applications: EnvironmentsApplicationsApiService;
|
|
19
|
+
credentials: EnvironmentsCredentialsApiService;
|
|
18
20
|
cronjobs: EnvironmentsCronJobsApiService;
|
|
19
21
|
daemons: EnvironmentsDaemonsApiService;
|
|
20
22
|
networks: EnvironmentsNetworksApiService;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EnvironmentService = void 0;
|
|
4
|
-
const environments_api_1 = require("../api/generated/apis/environments-api");
|
|
5
4
|
const environments_actions_api_1 = require("../api/generated/apis/environments-actions-api");
|
|
5
|
+
const environments_api_1 = require("../api/generated/apis/environments-api");
|
|
6
6
|
const environments_applications_api_1 = require("../api/generated/apis/environments-applications-api");
|
|
7
|
+
const environments_credentials_api_1 = require("../api/generated/apis/environments-credentials-api");
|
|
7
8
|
const environments_cron_jobs_api_1 = require("../api/generated/apis/environments-cron-jobs-api");
|
|
8
9
|
const environments_daemons_api_1 = require("../api/generated/apis/environments-daemons-api");
|
|
9
10
|
const environments_network_rules_api_1 = require("../api/generated/apis/environments-network-rules-api");
|
|
11
|
+
const environments_networks_api_1 = require("../api/generated/apis/environments-networks-api");
|
|
10
12
|
const environments_servers_api_1 = require("../api/generated/apis/environments-servers-api");
|
|
11
13
|
const environments_services_api_1 = require("../api/generated/apis/environments-services-api");
|
|
12
14
|
const environments_sshkeys_api_1 = require("../api/generated/apis/environments-sshkeys-api");
|
|
13
15
|
const environments_sslcertificates_api_1 = require("../api/generated/apis/environments-sslcertificates-api");
|
|
14
16
|
const environments_team_memberships_api_1 = require("../api/generated/apis/environments-team-memberships-api");
|
|
15
17
|
const environments_teams_api_1 = require("../api/generated/apis/environments-teams-api");
|
|
16
|
-
const environments_networks_api_1 = require("../api/generated/apis/environments-networks-api");
|
|
17
18
|
const environments_virtual_hosts_api_1 = require("../api/generated/apis/environments-virtual-hosts-api");
|
|
18
19
|
class EnvironmentService extends environments_api_1.EnvironmentsApiService {
|
|
19
20
|
constructor() {
|
|
20
21
|
super(...arguments);
|
|
21
22
|
this.actions = new environments_actions_api_1.EnvironmentsActionsApiService();
|
|
22
23
|
this.applications = new environments_applications_api_1.EnvironmentsApplicationsApiService();
|
|
24
|
+
this.credentials = new environments_credentials_api_1.EnvironmentsCredentialsApiService();
|
|
23
25
|
this.cronjobs = new environments_cron_jobs_api_1.EnvironmentsCronJobsApiService();
|
|
24
26
|
this.daemons = new environments_daemons_api_1.EnvironmentsDaemonsApiService();
|
|
25
27
|
this.networks = new environments_networks_api_1.EnvironmentsNetworksApiService();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StaticDataApplicationOptionsApiService } from "../api/generated/apis/static-data-application-options-api";
|
|
2
|
-
import { StaticDataCloudProviderOptionsApiService } from "../api/generated/apis/static-data-cloud-provider-options-api";
|
|
3
2
|
import { StaticDataCloudProviderServiceInstancesApiService } from "../api/generated/apis/static-data-cloud-provider-service-instances-api";
|
|
4
3
|
import { StaticDataCloudProviderServicesApiService } from "../api/generated/apis/static-data-cloud-provider-services-api";
|
|
4
|
+
import { StaticDataCredentialOptionsApiService } from "../api/generated/apis/static-data-credential-options-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
7
|
import { StaticDataNetworkRuleOptionsApiService } from "../api/generated/apis/static-data-network-rule-options-api";
|
|
@@ -9,14 +9,13 @@ import { StaticDataPermissionsApiService } from "../api/generated/apis/static-da
|
|
|
9
9
|
import { StaticDataResourceTypesApiService } from "../api/generated/apis/static-data-resource-types-api";
|
|
10
10
|
import { StaticDataServerOptionsApiService } from "../api/generated/apis/static-data-server-options-api";
|
|
11
11
|
import { StaticDataServiceOptionsApiService } from "../api/generated/apis/static-data-service-options-api";
|
|
12
|
-
import { StaticDataSourceProviderOptionsApiService } from "../api/generated/apis/static-data-source-provider-options-api";
|
|
13
12
|
import { StaticDataUserProfileOptionsApiService } from "../api/generated/apis/static-data-user-profile-options-api";
|
|
14
13
|
import { StaticDataVirtualHostOptionsApiService } from "../api/generated/apis/static-data-virtual-host-options-api";
|
|
15
14
|
export declare class StaticService {
|
|
16
15
|
applicationOptions: StaticDataApplicationOptionsApiService;
|
|
17
|
-
cloudProviderOptions: StaticDataCloudProviderOptionsApiService;
|
|
18
16
|
cloudProviderServiceInstances: StaticDataCloudProviderServiceInstancesApiService;
|
|
19
17
|
cloudProviderServices: StaticDataCloudProviderServicesApiService;
|
|
18
|
+
credentialOptions: StaticDataCredentialOptionsApiService;
|
|
20
19
|
cronJobOptions: StaticDataCronJobOptionsApiService;
|
|
21
20
|
environmentOptions: StaticDataEnvironmentOptionsApiService;
|
|
22
21
|
networkRuleOptions: StaticDataNetworkRuleOptionsApiService;
|
|
@@ -24,7 +23,6 @@ export declare class StaticService {
|
|
|
24
23
|
resourceTypes: StaticDataResourceTypesApiService;
|
|
25
24
|
serverOptions: StaticDataServerOptionsApiService;
|
|
26
25
|
serviceOptions: StaticDataServiceOptionsApiService;
|
|
27
|
-
sourceProviderOptions: StaticDataSourceProviderOptionsApiService;
|
|
28
26
|
userProfileOptions: StaticDataUserProfileOptionsApiService;
|
|
29
27
|
virtualHostOptions: StaticDataVirtualHostOptionsApiService;
|
|
30
28
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StaticService = void 0;
|
|
4
4
|
const static_data_application_options_api_1 = require("../api/generated/apis/static-data-application-options-api");
|
|
5
|
-
const static_data_cloud_provider_options_api_1 = require("../api/generated/apis/static-data-cloud-provider-options-api");
|
|
6
5
|
const static_data_cloud_provider_service_instances_api_1 = require("../api/generated/apis/static-data-cloud-provider-service-instances-api");
|
|
7
6
|
const static_data_cloud_provider_services_api_1 = require("../api/generated/apis/static-data-cloud-provider-services-api");
|
|
7
|
+
const static_data_credential_options_api_1 = require("../api/generated/apis/static-data-credential-options-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
10
|
const static_data_network_rule_options_api_1 = require("../api/generated/apis/static-data-network-rule-options-api");
|
|
@@ -12,15 +12,14 @@ const static_data_permissions_api_1 = require("../api/generated/apis/static-data
|
|
|
12
12
|
const static_data_resource_types_api_1 = require("../api/generated/apis/static-data-resource-types-api");
|
|
13
13
|
const static_data_server_options_api_1 = require("../api/generated/apis/static-data-server-options-api");
|
|
14
14
|
const static_data_service_options_api_1 = require("../api/generated/apis/static-data-service-options-api");
|
|
15
|
-
const static_data_source_provider_options_api_1 = require("../api/generated/apis/static-data-source-provider-options-api");
|
|
16
15
|
const static_data_user_profile_options_api_1 = require("../api/generated/apis/static-data-user-profile-options-api");
|
|
17
16
|
const static_data_virtual_host_options_api_1 = require("../api/generated/apis/static-data-virtual-host-options-api");
|
|
18
17
|
class StaticService {
|
|
19
18
|
constructor() {
|
|
20
19
|
this.applicationOptions = new static_data_application_options_api_1.StaticDataApplicationOptionsApiService();
|
|
21
|
-
this.cloudProviderOptions = new static_data_cloud_provider_options_api_1.StaticDataCloudProviderOptionsApiService();
|
|
22
20
|
this.cloudProviderServiceInstances = new static_data_cloud_provider_service_instances_api_1.StaticDataCloudProviderServiceInstancesApiService();
|
|
23
21
|
this.cloudProviderServices = new static_data_cloud_provider_services_api_1.StaticDataCloudProviderServicesApiService();
|
|
22
|
+
this.credentialOptions = new static_data_credential_options_api_1.StaticDataCredentialOptionsApiService();
|
|
24
23
|
this.cronJobOptions = new static_data_cron_job_options_api_1.StaticDataCronJobOptionsApiService();
|
|
25
24
|
this.environmentOptions = new static_data_environment_options_api_1.StaticDataEnvironmentOptionsApiService();
|
|
26
25
|
this.networkRuleOptions = new static_data_network_rule_options_api_1.StaticDataNetworkRuleOptionsApiService();
|
|
@@ -28,7 +27,6 @@ class StaticService {
|
|
|
28
27
|
this.resourceTypes = new static_data_resource_types_api_1.StaticDataResourceTypesApiService();
|
|
29
28
|
this.serverOptions = new static_data_server_options_api_1.StaticDataServerOptionsApiService();
|
|
30
29
|
this.serviceOptions = new static_data_service_options_api_1.StaticDataServiceOptionsApiService();
|
|
31
|
-
this.sourceProviderOptions = new static_data_source_provider_options_api_1.StaticDataSourceProviderOptionsApiService();
|
|
32
30
|
this.userProfileOptions = new static_data_user_profile_options_api_1.StaticDataUserProfileOptionsApiService();
|
|
33
31
|
this.virtualHostOptions = new static_data_virtual_host_options_api_1.StaticDataVirtualHostOptionsApiService();
|
|
34
32
|
}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
export * from './ActionService';
|
|
2
2
|
export * from './ApiBaseService';
|
|
3
3
|
export * from './ApplicationService';
|
|
4
|
-
export * from './CloudProviderCredentialService';
|
|
5
4
|
export * from './CronJobService';
|
|
6
5
|
export * from './DaemonService';
|
|
7
6
|
export * from './EnvironmentService';
|
|
8
|
-
export * from './HookService';
|
|
9
7
|
export * from './HookRequestService';
|
|
8
|
+
export * from './HookService';
|
|
10
9
|
export * from './LogService';
|
|
11
10
|
export * from './NetworkRuleService';
|
|
12
11
|
export * from './PipelineService';
|
|
@@ -16,7 +15,6 @@ export * from './RoleService';
|
|
|
16
15
|
export * from './ServerService';
|
|
17
16
|
export * from './ServiceService';
|
|
18
17
|
export * from './SocialAccountService';
|
|
19
|
-
export * from './SourceProviderService';
|
|
20
18
|
export * from './SshKeyService';
|
|
21
19
|
export * from './SslCertificateService';
|
|
22
20
|
export * from './StaticService';
|
package/dist/services/index.js
CHANGED
|
@@ -17,12 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ActionService"), exports);
|
|
18
18
|
__exportStar(require("./ApiBaseService"), exports);
|
|
19
19
|
__exportStar(require("./ApplicationService"), exports);
|
|
20
|
-
__exportStar(require("./CloudProviderCredentialService"), exports);
|
|
21
20
|
__exportStar(require("./CronJobService"), exports);
|
|
22
21
|
__exportStar(require("./DaemonService"), exports);
|
|
23
22
|
__exportStar(require("./EnvironmentService"), exports);
|
|
24
|
-
__exportStar(require("./HookService"), exports);
|
|
25
23
|
__exportStar(require("./HookRequestService"), exports);
|
|
24
|
+
__exportStar(require("./HookService"), exports);
|
|
26
25
|
__exportStar(require("./LogService"), exports);
|
|
27
26
|
__exportStar(require("./NetworkRuleService"), exports);
|
|
28
27
|
__exportStar(require("./PipelineService"), exports);
|
|
@@ -32,7 +31,6 @@ __exportStar(require("./RoleService"), exports);
|
|
|
32
31
|
__exportStar(require("./ServerService"), exports);
|
|
33
32
|
__exportStar(require("./ServiceService"), exports);
|
|
34
33
|
__exportStar(require("./SocialAccountService"), exports);
|
|
35
|
-
__exportStar(require("./SourceProviderService"), exports);
|
|
36
34
|
__exportStar(require("./SshKeyService"), exports);
|
|
37
35
|
__exportStar(require("./SslCertificateService"), exports);
|
|
38
36
|
__exportStar(require("./StaticService"), exports);
|