@devopness/sdk-js 2.152.0 → 2.154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/models/action-type.d.ts +1 -2
- package/dist/api/generated/models/action-type.js +1 -2
- package/dist/api/generated/models/cloud-os-version-code.d.ts +2 -1
- package/dist/api/generated/models/cloud-os-version-code.js +1 -0
- package/dist/api/generated/models/network-relation.d.ts +14 -0
- package/dist/api/generated/models/variable-create.d.ts +1 -1
- package/dist/api/generated/models/variable-update.d.ts +1 -1
- package/dist/services/ApplicationService.js +1 -0
- package/package.json +15 -13
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum ActionType {
|
|
18
|
-
|
|
18
|
+
Configure = "configure",
|
|
19
19
|
CheckProvisioned = "check_provisioned",
|
|
20
20
|
Delete = "delete",
|
|
21
21
|
Deploy = "deploy",
|
|
@@ -23,7 +23,6 @@ export declare enum ActionType {
|
|
|
23
23
|
Provision = "provision",
|
|
24
24
|
Reload = "reload",
|
|
25
25
|
Restart = "restart",
|
|
26
|
-
Setup = "setup",
|
|
27
26
|
Start = "start",
|
|
28
27
|
Stop = "stop"
|
|
29
28
|
}
|
|
@@ -20,7 +20,7 @@ exports.ActionType = void 0;
|
|
|
20
20
|
*/
|
|
21
21
|
var ActionType;
|
|
22
22
|
(function (ActionType) {
|
|
23
|
-
ActionType["
|
|
23
|
+
ActionType["Configure"] = "configure";
|
|
24
24
|
ActionType["CheckProvisioned"] = "check_provisioned";
|
|
25
25
|
ActionType["Delete"] = "delete";
|
|
26
26
|
ActionType["Deploy"] = "deploy";
|
|
@@ -28,7 +28,6 @@ var ActionType;
|
|
|
28
28
|
ActionType["Provision"] = "provision";
|
|
29
29
|
ActionType["Reload"] = "reload";
|
|
30
30
|
ActionType["Restart"] = "restart";
|
|
31
|
-
ActionType["Setup"] = "setup";
|
|
32
31
|
ActionType["Start"] = "start";
|
|
33
32
|
ActionType["Stop"] = "stop";
|
|
34
33
|
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
@@ -24,4 +24,5 @@ var CloudOsVersionCode;
|
|
|
24
24
|
CloudOsVersionCode["Ubuntu1804"] = "ubuntu_18_04";
|
|
25
25
|
CloudOsVersionCode["Ubuntu2004"] = "ubuntu_20_04";
|
|
26
26
|
CloudOsVersionCode["Ubuntu2204"] = "ubuntu_22_04";
|
|
27
|
+
CloudOsVersionCode["Ubuntu2404"] = "ubuntu_24_04";
|
|
27
28
|
})(CloudOsVersionCode || (exports.CloudOsVersionCode = CloudOsVersionCode = {}));
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ActionRelation } from './action-relation';
|
|
13
|
+
import { Credential } from './credential';
|
|
12
14
|
import { NetworkProvisionInput } from './network-provision-input';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
@@ -58,6 +60,12 @@ export interface NetworkRelation {
|
|
|
58
60
|
* @memberof NetworkRelation
|
|
59
61
|
*/
|
|
60
62
|
provider_name_human_readable: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Credential}
|
|
66
|
+
* @memberof NetworkRelation
|
|
67
|
+
*/
|
|
68
|
+
credential: Credential;
|
|
61
69
|
/**
|
|
62
70
|
* The networks\'s name
|
|
63
71
|
* @type {string}
|
|
@@ -70,6 +78,12 @@ export interface NetworkRelation {
|
|
|
70
78
|
* @memberof NetworkRelation
|
|
71
79
|
*/
|
|
72
80
|
provision_input: NetworkProvisionInput;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {ActionRelation}
|
|
84
|
+
* @memberof NetworkRelation
|
|
85
|
+
*/
|
|
86
|
+
last_action: ActionRelation | null;
|
|
73
87
|
/**
|
|
74
88
|
* The date and time when the record was created
|
|
75
89
|
* @type {string}
|
|
@@ -30,7 +30,7 @@ export interface VariableCreate {
|
|
|
30
30
|
*/
|
|
31
31
|
value: string;
|
|
32
32
|
/**
|
|
33
|
-
* A text describing the variable, provided by the end user.
|
|
33
|
+
* A text describing the variable, provided by the end user. Must not be greater than 255 characters.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof VariableCreate
|
|
36
36
|
*/
|
|
@@ -36,7 +36,7 @@ export interface VariableUpdate {
|
|
|
36
36
|
*/
|
|
37
37
|
value: string;
|
|
38
38
|
/**
|
|
39
|
-
* A text describing the variable, provided by the end user.
|
|
39
|
+
* A text describing the variable, provided by the end user. Must not be greater than 255 characters.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof VariableUpdate
|
|
42
42
|
*/
|
|
@@ -7,6 +7,7 @@ const applications_api_1 = require("../api/generated/apis/applications-api");
|
|
|
7
7
|
const applications_deployments_api_1 = require("../api/generated/apis/applications-deployments-api");
|
|
8
8
|
const applications_variables_api_1 = require("../api/generated/apis/applications-variables-api");
|
|
9
9
|
const applications_hooks_api_1 = require("../api/generated/apis/applications-hooks-api");
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
|
10
11
|
class ApplicationService extends ApiBaseService_1.ApiBaseService {
|
|
11
12
|
}
|
|
12
13
|
exports.ApplicationService = ApplicationService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
2
3
|
"name": "@devopness/sdk-js",
|
|
3
|
-
"version": "2.
|
|
4
|
+
"version": "2.154.0",
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"access": "public"
|
|
6
7
|
},
|
|
@@ -17,10 +18,8 @@
|
|
|
17
18
|
"docs-export-service-index": "find src/services/ ! -name 'index.ts' -name '*.ts' -type f | sort -k3 -t'/' | xargs -I'{}' bash -c 'echo \"export * from $(echo -e \"\\x27\")./$(basename $0 .ts)$(echo -e \"\\x27\")\" >> src/services/index.ts' {} \\;",
|
|
18
19
|
"docs-update-service-index": "npm run docs-remove-service-index && npm run docs-export-service-index",
|
|
19
20
|
"docs": "npm run docs-update-service-index && typedoc",
|
|
20
|
-
"lint": "eslint .
|
|
21
|
-
"prepublishOnly": "npm test",
|
|
22
|
-
"prepare": "npm run build",
|
|
23
|
-
"preversion": "npm run lint",
|
|
21
|
+
"lint": "eslint .",
|
|
22
|
+
"prepublishOnly": "npm run lint && npm test && npm run build",
|
|
24
23
|
"test": "jest"
|
|
25
24
|
},
|
|
26
25
|
"repository": {
|
|
@@ -52,19 +51,22 @@
|
|
|
52
51
|
},
|
|
53
52
|
"homepage": "https://github.com/devopness/devopness#readme",
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@
|
|
54
|
+
"@eslint/js": "^9.19.0",
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.16.3",
|
|
56
56
|
"@types/jest": "^29.5.12",
|
|
57
|
-
"@typescript-eslint/
|
|
57
|
+
"@typescript-eslint/parser": "^8.21.0",
|
|
58
58
|
"axios-mock-adapter": "^2.1.0",
|
|
59
|
-
"eslint": "^
|
|
60
|
-
"eslint-
|
|
61
|
-
"eslint-plugin-
|
|
59
|
+
"eslint": "^9.19.0",
|
|
60
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
61
|
+
"eslint-plugin-import": "^2.31.0",
|
|
62
|
+
"eslint-plugin-n": "^17.15.1",
|
|
62
63
|
"eslint-plugin-promise": "^7.2.1",
|
|
63
|
-
"husky": "9.1.
|
|
64
|
+
"husky": "9.1.7",
|
|
64
65
|
"jest": "^29.7.0",
|
|
65
66
|
"ts-jest": "^29.2.3",
|
|
66
|
-
"typedoc": "^0.27.
|
|
67
|
-
"typescript": "^5.7.
|
|
67
|
+
"typedoc": "^0.27.6",
|
|
68
|
+
"typescript": "^5.7.3",
|
|
69
|
+
"typescript-eslint": "^8.22.0"
|
|
68
70
|
},
|
|
69
71
|
"dependencies": {
|
|
70
72
|
"@types/parse-link-header": "^2.0.3",
|