@devopness/sdk-js 2.163.0 → 2.163.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/models/credential-azure.d.ts +42 -0
- package/dist/api/generated/models/credential-azure.js +14 -0
- package/dist/api/generated/models/credential-input-settings.d.ts +3 -2
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/provider-code.d.ts +1 -0
- package/dist/api/generated/models/provider-code.js +1 -0
- package/dist/api/generated/models/provider-relation.d.ts +4 -11
- package/dist/api/generated/models/provider-relation.js +0 -10
- package/dist/api/generated/models/server-cloud-service-code.d.ts +1 -0
- package/dist/api/generated/models/server-cloud-service-code.js +1 -0
- package/dist/api/generated/models/server-relation.d.ts +4 -4
- package/dist/api/generated/models/server-status.d.ts +26 -0
- package/dist/api/generated/models/server-status.js +31 -0
- package/dist/api/generated/models/server.d.ts +4 -4
- package/package.json +9 -9
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CredentialAzure
|
|
16
|
+
*/
|
|
17
|
+
export interface CredentialAzure {
|
|
18
|
+
/**
|
|
19
|
+
* ID that identifies your company space (directory) inside Azure
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CredentialAzure
|
|
22
|
+
*/
|
|
23
|
+
tenant_id: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID that identifies your billing account where Azure resources are stored
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CredentialAzure
|
|
28
|
+
*/
|
|
29
|
+
subscription_id: string;
|
|
30
|
+
/**
|
|
31
|
+
* ID that identifies the application when connecting to Azure
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CredentialAzure
|
|
34
|
+
*/
|
|
35
|
+
client_id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Secret password used by the application to authenticate to Azure
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CredentialAzure
|
|
40
|
+
*/
|
|
41
|
+
client_secret: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CredentialAws } from './credential-aws';
|
|
13
|
+
import { CredentialAzure } from './credential-azure';
|
|
13
14
|
import { CredentialDigitalOcean } from './credential-digital-ocean';
|
|
14
15
|
import { CredentialGoogleCloud } from './credential-google-cloud';
|
|
15
16
|
import { CredentialSourceProvider } from './credential-source-provider';
|
|
@@ -21,8 +22,8 @@ import { CredentialSourceProvider } from './credential-source-provider';
|
|
|
21
22
|
export interface CredentialInputSettings {
|
|
22
23
|
/**
|
|
23
24
|
* Cloud provider credential
|
|
24
|
-
* @type {CredentialAws | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider}
|
|
25
|
+
* @type {CredentialAws | CredentialAzure | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider}
|
|
25
26
|
* @memberof CredentialInputSettings
|
|
26
27
|
*/
|
|
27
|
-
credential: CredentialAws | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider;
|
|
28
|
+
credential: CredentialAws | CredentialAzure | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider;
|
|
28
29
|
}
|
|
@@ -57,6 +57,7 @@ export * from './cloud-service-settings-self-hosted-custom';
|
|
|
57
57
|
export * from './commit';
|
|
58
58
|
export * from './credential';
|
|
59
59
|
export * from './credential-aws';
|
|
60
|
+
export * from './credential-azure';
|
|
60
61
|
export * from './credential-digital-ocean';
|
|
61
62
|
export * from './credential-environment-create';
|
|
62
63
|
export * from './credential-google-cloud';
|
|
@@ -202,6 +203,7 @@ export * from './server-environment-create';
|
|
|
202
203
|
export * from './server-options';
|
|
203
204
|
export * from './server-provision-input';
|
|
204
205
|
export * from './server-relation';
|
|
206
|
+
export * from './server-status';
|
|
205
207
|
export * from './server-update';
|
|
206
208
|
export * from './service';
|
|
207
209
|
export * from './service-environment-create';
|
|
@@ -73,6 +73,7 @@ __exportStar(require("./cloud-service-settings-self-hosted-custom"), exports);
|
|
|
73
73
|
__exportStar(require("./commit"), exports);
|
|
74
74
|
__exportStar(require("./credential"), exports);
|
|
75
75
|
__exportStar(require("./credential-aws"), exports);
|
|
76
|
+
__exportStar(require("./credential-azure"), exports);
|
|
76
77
|
__exportStar(require("./credential-digital-ocean"), exports);
|
|
77
78
|
__exportStar(require("./credential-environment-create"), exports);
|
|
78
79
|
__exportStar(require("./credential-google-cloud"), exports);
|
|
@@ -218,6 +219,7 @@ __exportStar(require("./server-environment-create"), exports);
|
|
|
218
219
|
__exportStar(require("./server-options"), exports);
|
|
219
220
|
__exportStar(require("./server-provision-input"), exports);
|
|
220
221
|
__exportStar(require("./server-relation"), exports);
|
|
222
|
+
__exportStar(require("./server-status"), exports);
|
|
221
223
|
__exportStar(require("./server-update"), exports);
|
|
222
224
|
__exportStar(require("./service"), exports);
|
|
223
225
|
__exportStar(require("./service-environment-create"), exports);
|
|
@@ -21,6 +21,7 @@ exports.ProviderCode = void 0;
|
|
|
21
21
|
var ProviderCode;
|
|
22
22
|
(function (ProviderCode) {
|
|
23
23
|
ProviderCode["Aws"] = "aws";
|
|
24
|
+
ProviderCode["Azure"] = "azure";
|
|
24
25
|
ProviderCode["Bitbucket"] = "bitbucket";
|
|
25
26
|
ProviderCode["Digitalocean"] = "digitalocean";
|
|
26
27
|
ProviderCode["Gcp"] = "gcp";
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ProviderCode } from './provider-code';
|
|
13
|
+
import { ProviderType } from './provider-type';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -35,11 +36,11 @@ export interface ProviderRelation {
|
|
|
35
36
|
*/
|
|
36
37
|
code_human_readable: string;
|
|
37
38
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {
|
|
39
|
+
*
|
|
40
|
+
* @type {ProviderType}
|
|
40
41
|
* @memberof ProviderRelation
|
|
41
42
|
*/
|
|
42
|
-
type:
|
|
43
|
+
type: ProviderType;
|
|
43
44
|
/**
|
|
44
45
|
* Human readable version of provider type
|
|
45
46
|
* @type {string}
|
|
@@ -47,11 +48,3 @@ export interface ProviderRelation {
|
|
|
47
48
|
*/
|
|
48
49
|
type_human_readable?: string;
|
|
49
50
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @export
|
|
52
|
-
* @enum {string}
|
|
53
|
-
*/
|
|
54
|
-
export declare enum ProviderRelationTypeEnum {
|
|
55
|
-
CloudProvider = "cloud_provider",
|
|
56
|
-
SourceProvider = "source_provider"
|
|
57
|
-
}
|
|
@@ -12,13 +12,3 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
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 = {}));
|
|
@@ -21,6 +21,7 @@ exports.ServerCloudServiceCode = void 0;
|
|
|
21
21
|
var ServerCloudServiceCode;
|
|
22
22
|
(function (ServerCloudServiceCode) {
|
|
23
23
|
ServerCloudServiceCode["AwsEc2"] = "aws-ec2";
|
|
24
|
+
ServerCloudServiceCode["AzureRm"] = "azure-rm";
|
|
24
25
|
ServerCloudServiceCode["DigitaloceanDroplet"] = "digitalocean-droplet";
|
|
25
26
|
ServerCloudServiceCode["GcpGce"] = "gcp-gce";
|
|
26
27
|
ServerCloudServiceCode["SelfHostedCustom"] = "self-hosted-custom";
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelationShallow } from './action-relation-shallow';
|
|
13
|
-
import { ActionStatus } from './action-status';
|
|
14
13
|
import { CredentialRelation } from './credential-relation';
|
|
14
|
+
import { ServerStatus } from './server-status';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -77,7 +77,7 @@ export interface ServerRelation {
|
|
|
77
77
|
* @type {string}
|
|
78
78
|
* @memberof ServerRelation
|
|
79
79
|
*/
|
|
80
|
-
ip_address
|
|
80
|
+
ip_address?: string;
|
|
81
81
|
/**
|
|
82
82
|
* The network port to which the SSH daemon is listening to SSH connections on the server
|
|
83
83
|
* @type {number}
|
|
@@ -92,10 +92,10 @@ export interface ServerRelation {
|
|
|
92
92
|
active: boolean;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
|
-
* @type {
|
|
95
|
+
* @type {ServerStatus}
|
|
96
96
|
* @memberof ServerRelation
|
|
97
97
|
*/
|
|
98
|
-
status:
|
|
98
|
+
status: ServerStatus;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
101
|
* @type {ActionRelationShallow}
|
|
@@ -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
|
+
/**
|
|
13
|
+
* The status of the server
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum ServerStatus {
|
|
18
|
+
Configuring = "configuring",
|
|
19
|
+
Failed = "failed",
|
|
20
|
+
Pending = "pending",
|
|
21
|
+
Provisioned = "provisioned",
|
|
22
|
+
Provisioning = "provisioning",
|
|
23
|
+
Restarting = "restarting",
|
|
24
|
+
Running = "running",
|
|
25
|
+
Stopped = "stopped"
|
|
26
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ServerStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The status of the server
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var ServerStatus;
|
|
22
|
+
(function (ServerStatus) {
|
|
23
|
+
ServerStatus["Configuring"] = "configuring";
|
|
24
|
+
ServerStatus["Failed"] = "failed";
|
|
25
|
+
ServerStatus["Pending"] = "pending";
|
|
26
|
+
ServerStatus["Provisioned"] = "provisioned";
|
|
27
|
+
ServerStatus["Provisioning"] = "provisioning";
|
|
28
|
+
ServerStatus["Restarting"] = "restarting";
|
|
29
|
+
ServerStatus["Running"] = "running";
|
|
30
|
+
ServerStatus["Stopped"] = "stopped";
|
|
31
|
+
})(ServerStatus || (exports.ServerStatus = ServerStatus = {}));
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
|
-
import { ActionStatus } from './action-status';
|
|
14
13
|
import { CloudOsVersionCode } from './cloud-os-version-code';
|
|
15
14
|
import { CredentialRelation } from './credential-relation';
|
|
16
15
|
import { EnvironmentRelation } from './environment-relation';
|
|
@@ -19,6 +18,7 @@ import { ProjectRelation } from './project-relation';
|
|
|
19
18
|
import { ServerBlueprint } from './server-blueprint';
|
|
20
19
|
import { ServerCloudServiceCode } from './server-cloud-service-code';
|
|
21
20
|
import { ServerProvisionInput } from './server-provision-input';
|
|
21
|
+
import { ServerStatus } from './server-status';
|
|
22
22
|
import { UserRelation } from './user-relation';
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -73,7 +73,7 @@ export interface Server {
|
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof Server
|
|
75
75
|
*/
|
|
76
|
-
ip_address
|
|
76
|
+
ip_address?: string;
|
|
77
77
|
/**
|
|
78
78
|
* The network port to which the SSH daemon is listening to SSH connections on the server
|
|
79
79
|
* @type {number}
|
|
@@ -100,10 +100,10 @@ export interface Server {
|
|
|
100
100
|
active: boolean;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
|
-
* @type {
|
|
103
|
+
* @type {ServerStatus}
|
|
104
104
|
* @memberof Server
|
|
105
105
|
*/
|
|
106
|
-
status:
|
|
106
|
+
status: ServerStatus;
|
|
107
107
|
/**
|
|
108
108
|
* Maximum number of actions that can run in parallel on this server. `0` means no limit of simultaneous actions. `1` means just a single action will be started at a time to run on this server,
|
|
109
109
|
* @type {number}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@devopness/sdk-js",
|
|
4
|
-
"version": "2.163.
|
|
4
|
+
"version": "2.163.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -51,26 +51,26 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/devopness/devopness#readme",
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@eslint/js": "^9.
|
|
55
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
54
|
+
"@eslint/js": "^9.25.0",
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.20.0",
|
|
56
56
|
"@types/jest": "^29.5.12",
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
57
|
+
"@typescript-eslint/parser": "^8.31.1",
|
|
58
58
|
"axios-mock-adapter": "^2.1.0",
|
|
59
|
-
"eslint": "^9.
|
|
60
|
-
"eslint-import-resolver-typescript": "^4.3.
|
|
59
|
+
"eslint": "^9.25.1",
|
|
60
|
+
"eslint-import-resolver-typescript": "^4.3.4",
|
|
61
61
|
"eslint-plugin-import": "^2.31.0",
|
|
62
62
|
"eslint-plugin-n": "^17.17.0",
|
|
63
63
|
"eslint-plugin-promise": "^7.2.1",
|
|
64
64
|
"husky": "9.1.7",
|
|
65
65
|
"jest": "^29.7.0",
|
|
66
66
|
"ts-jest": "^29.3.2",
|
|
67
|
-
"typedoc": "^0.28.
|
|
67
|
+
"typedoc": "^0.28.3",
|
|
68
68
|
"typescript": "^5.8.3",
|
|
69
|
-
"typescript-eslint": "^8.
|
|
69
|
+
"typescript-eslint": "^8.31.1"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@types/parse-link-header": "^2.0.3",
|
|
73
|
-
"axios": "^1.
|
|
73
|
+
"axios": "^1.9.0",
|
|
74
74
|
"parse-link-header": "^2.0.0"
|
|
75
75
|
}
|
|
76
76
|
}
|