@devopness/sdk-js 2.153.0 → 2.154.1
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/archived-environment-relation.d.ts +7 -0
- package/dist/api/generated/models/environment-relation.d.ts +7 -0
- package/dist/api/generated/models/network-relation.d.ts +14 -0
- package/dist/api/generated/models/server-relation.d.ts +3 -3
- package/dist/api/generated/models/service-get-status.d.ts +0 -6
- package/dist/api/generated/models/service-reload.d.ts +0 -6
- package/dist/api/generated/models/service-restart.d.ts +0 -6
- package/dist/api/generated/models/service-start.d.ts +0 -6
- package/dist/api/generated/models/service-stop.d.ts +0 -6
- package/dist/api/generated/models/variable-create.d.ts +1 -1
- package/dist/api/generated/models/variable-update.d.ts +1 -1
- package/package.json +6 -6
|
@@ -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 = {}));
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { EnvironmentType } from './environment-type';
|
|
13
13
|
import { ProjectRelation } from './project-relation';
|
|
14
|
+
import { TeamMembershipRelation } from './team-membership-relation';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -77,4 +78,10 @@ export interface ArchivedEnvironmentRelation {
|
|
|
77
78
|
* @memberof ArchivedEnvironmentRelation
|
|
78
79
|
*/
|
|
79
80
|
project: ProjectRelation | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {Array<TeamMembershipRelation>}
|
|
84
|
+
* @memberof ArchivedEnvironmentRelation
|
|
85
|
+
*/
|
|
86
|
+
team_memberships?: Array<TeamMembershipRelation>;
|
|
80
87
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { EnvironmentType } from './environment-type';
|
|
13
13
|
import { ProjectRelation } from './project-relation';
|
|
14
|
+
import { TeamMembershipRelation } from './team-membership-relation';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -77,4 +78,10 @@ export interface EnvironmentRelation {
|
|
|
77
78
|
* @memberof EnvironmentRelation
|
|
78
79
|
*/
|
|
79
80
|
project: ProjectRelation | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {Array<TeamMembershipRelation>}
|
|
84
|
+
* @memberof EnvironmentRelation
|
|
85
|
+
*/
|
|
86
|
+
team_memberships?: Array<TeamMembershipRelation>;
|
|
80
87
|
}
|
|
@@ -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}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
13
|
import { ActionStatus } from './action-status';
|
|
14
|
-
import {
|
|
14
|
+
import { CredentialRelation } from './credential-relation';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -56,10 +56,10 @@ export interface ServerRelation {
|
|
|
56
56
|
provider_name_human_readable: string;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {CredentialRelation}
|
|
60
60
|
* @memberof ServerRelation
|
|
61
61
|
*/
|
|
62
|
-
credential
|
|
62
|
+
credential: CredentialRelation | null;
|
|
63
63
|
/**
|
|
64
64
|
* The region in which the server is located
|
|
65
65
|
* @type {string}
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface ServiceGetStatus
|
|
16
16
|
*/
|
|
17
17
|
export interface ServiceGetStatus {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the environment this service is running in.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ServiceGetStatus
|
|
22
|
-
*/
|
|
23
|
-
environment_id: number;
|
|
24
18
|
/**
|
|
25
19
|
* List of valid resource IDs
|
|
26
20
|
* @type {Array<number>}
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface ServiceReload
|
|
16
16
|
*/
|
|
17
17
|
export interface ServiceReload {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the environment this service is running in.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ServiceReload
|
|
22
|
-
*/
|
|
23
|
-
environment_id: number;
|
|
24
18
|
/**
|
|
25
19
|
* List of valid resource IDs
|
|
26
20
|
* @type {Array<number>}
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface ServiceRestart
|
|
16
16
|
*/
|
|
17
17
|
export interface ServiceRestart {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the environment this service is running in.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ServiceRestart
|
|
22
|
-
*/
|
|
23
|
-
environment_id: number;
|
|
24
18
|
/**
|
|
25
19
|
* List of valid resource IDs
|
|
26
20
|
* @type {Array<number>}
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface ServiceStart
|
|
16
16
|
*/
|
|
17
17
|
export interface ServiceStart {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the environment this service is running in.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ServiceStart
|
|
22
|
-
*/
|
|
23
|
-
environment_id: number;
|
|
24
18
|
/**
|
|
25
19
|
* List of valid resource IDs
|
|
26
20
|
* @type {Array<number>}
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface ServiceStop
|
|
16
16
|
*/
|
|
17
17
|
export interface ServiceStop {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the environment this service is running in.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ServiceStop
|
|
22
|
-
*/
|
|
23
|
-
environment_id: number;
|
|
24
18
|
/**
|
|
25
19
|
* List of valid resource IDs
|
|
26
20
|
* @type {Array<number>}
|
|
@@ -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
|
*/
|
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.
|
|
4
|
+
"version": "2.154.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -51,12 +51,12 @@
|
|
|
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.19.0",
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.16.3",
|
|
56
56
|
"@types/jest": "^29.5.12",
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
57
|
+
"@typescript-eslint/parser": "^8.23.0",
|
|
58
58
|
"axios-mock-adapter": "^2.1.0",
|
|
59
|
-
"eslint": "^9.
|
|
59
|
+
"eslint": "^9.19.0",
|
|
60
60
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
61
61
|
"eslint-plugin-import": "^2.31.0",
|
|
62
62
|
"eslint-plugin-n": "^17.15.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"ts-jest": "^29.2.3",
|
|
67
67
|
"typedoc": "^0.27.6",
|
|
68
68
|
"typescript": "^5.7.3",
|
|
69
|
-
"typescript-eslint": "^8.
|
|
69
|
+
"typescript-eslint": "^8.23.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@types/parse-link-header": "^2.0.3",
|