@devopness/sdk-js 2.139.0 → 2.141.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/daemons-api.d.ts +16 -0
- package/dist/api/generated/apis/daemons-api.js +40 -0
- package/dist/api/generated/models/action-data.d.ts +1 -1
- package/dist/api/generated/models/action-status.js +1 -1
- package/dist/api/generated/models/action-target-data.d.ts +1 -1
- package/dist/api/generated/models/action-trigger-type.js +1 -1
- package/dist/api/generated/models/action-type.js +1 -1
- package/dist/api/generated/models/cloud-os-version-code.js +1 -1
- package/dist/api/generated/models/cloud-provider-code.js +1 -1
- package/dist/api/generated/models/cloud-provider-property-type.js +1 -1
- package/dist/api/generated/models/cloud-provider-service-code.js +1 -1
- package/dist/api/generated/models/cloud-provider-service-resource-type-scope.js +1 -1
- package/dist/api/generated/models/cloud-resource-type.js +1 -1
- package/dist/api/generated/models/cron-job-pattern.js +1 -1
- package/dist/api/generated/models/daemon-environment-create.d.ts +2 -2
- package/dist/api/generated/models/daemon-relation.d.ts +9 -2
- package/dist/api/generated/models/daemon-start.d.ts +24 -0
- package/dist/api/generated/models/daemon-start.js +14 -0
- package/dist/api/generated/models/daemon-stop.d.ts +24 -0
- package/dist/api/generated/models/daemon-stop.js +14 -0
- package/dist/api/generated/models/daemon-update.d.ts +2 -2
- package/dist/api/generated/models/daemon.d.ts +9 -2
- package/dist/api/generated/models/deployment-type.js +1 -1
- package/dist/api/generated/models/environment-type.js +1 -1
- package/dist/api/generated/models/hook-type.js +1 -1
- package/dist/api/generated/models/hook-variable-type.js +1 -1
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/language.js +1 -1
- package/dist/api/generated/models/network-provision-input-settings.d.ts +1 -1
- package/dist/api/generated/models/network-rule-direction.js +1 -1
- package/dist/api/generated/models/network-rule-protocol.js +1 -1
- package/dist/api/generated/models/pipeline-step-runner-name.js +1 -1
- package/dist/api/generated/models/resource-type.js +1 -1
- package/dist/api/generated/models/server-cloud-service-code.js +1 -1
- package/dist/api/generated/models/service-initial-state.js +1 -1
- package/dist/api/generated/models/service-type.js +1 -1
- package/dist/api/generated/models/social-account-displayable-name.js +1 -1
- package/dist/api/generated/models/social-account-provider.js +1 -1
- package/dist/api/generated/models/source-provider-displayable-name.js +1 -1
- package/dist/api/generated/models/source-provider-name.js +1 -1
- package/dist/api/generated/models/source-type.js +1 -1
- package/dist/api/generated/models/ssl-certificate-issuer.js +1 -1
- package/dist/api/generated/models/ssl-certificate-type.js +1 -1
- package/dist/api/generated/models/ssl-certificate-validation-level.js +1 -1
- package/dist/api/generated/models/static-cloud-provider-code.js +1 -1
- package/dist/api/generated/models/subnet-provision-input-settings.d.ts +1 -1
- package/dist/api/generated/models/subnet-type.js +1 -1
- package/dist/api/generated/models/team-invitation-status.js +1 -1
- package/dist/api/generated/models/trigger-event.js +1 -1
- package/dist/api/generated/models/trigger-when-condition-type.js +1 -1
- package/dist/api/generated/models/variable-target.js +1 -1
- package/dist/api/generated/models/variable-type.js +1 -1
- package/dist/api/generated/models/virtual-host-type.js +1 -1
- package/dist/common/MergeSiblingClasses.js +1 -2
- package/package.json +13 -13
|
@@ -14,6 +14,8 @@ import { ApiResponse } from "../../../common/ApiResponse";
|
|
|
14
14
|
import { Daemon } from '../../generated/models';
|
|
15
15
|
import { DaemonGetStatus } from '../../generated/models';
|
|
16
16
|
import { DaemonRestart } from '../../generated/models';
|
|
17
|
+
import { DaemonStart } from '../../generated/models';
|
|
18
|
+
import { DaemonStop } from '../../generated/models';
|
|
17
19
|
import { DaemonUpdate } from '../../generated/models';
|
|
18
20
|
/**
|
|
19
21
|
* DaemonsApiService - Auto-generated
|
|
@@ -45,6 +47,20 @@ export declare class DaemonsApiService extends ApiBaseService {
|
|
|
45
47
|
* @param {DaemonRestart} daemonRestart A JSON object containing the resource data
|
|
46
48
|
*/
|
|
47
49
|
restartDaemon(daemonId: number, daemonRestart: DaemonRestart): Promise<ApiResponse<void>>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Start a Daemon
|
|
53
|
+
* @param {number} daemonId The ID of the daemon.
|
|
54
|
+
* @param {DaemonStart} daemonStart A JSON object containing the resource data
|
|
55
|
+
*/
|
|
56
|
+
startDaemon(daemonId: number, daemonStart: DaemonStart): Promise<ApiResponse<void>>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @summary Stop a Daemon
|
|
60
|
+
* @param {number} daemonId The ID of the daemon.
|
|
61
|
+
* @param {DaemonStop} daemonStop A JSON object containing the resource data
|
|
62
|
+
*/
|
|
63
|
+
stopDaemon(daemonId: number, daemonStop: DaemonStop): Promise<ApiResponse<void>>;
|
|
48
64
|
/**
|
|
49
65
|
*
|
|
50
66
|
* @summary Update an existing Daemon
|
|
@@ -101,6 +101,46 @@ class DaemonsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
101
101
|
return new ApiResponse_1.ApiResponse(response);
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary Start a Daemon
|
|
107
|
+
* @param {number} daemonId The ID of the daemon.
|
|
108
|
+
* @param {DaemonStart} daemonStart A JSON object containing the resource data
|
|
109
|
+
*/
|
|
110
|
+
startDaemon(daemonId, daemonStart) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
if (daemonId === null || daemonId === undefined) {
|
|
113
|
+
throw new Exceptions_1.ArgumentNullException('daemonId', 'startDaemon');
|
|
114
|
+
}
|
|
115
|
+
if (daemonStart === null || daemonStart === undefined) {
|
|
116
|
+
throw new Exceptions_1.ArgumentNullException('daemonStart', 'startDaemon');
|
|
117
|
+
}
|
|
118
|
+
let queryString = '';
|
|
119
|
+
const requestUrl = '/daemons/{daemon_id}/start' + (queryString ? `?${queryString}` : '');
|
|
120
|
+
const response = yield this.post(requestUrl.replace(`{${"daemon_id"}}`, encodeURIComponent(String(daemonId))), daemonStart);
|
|
121
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @summary Stop a Daemon
|
|
127
|
+
* @param {number} daemonId The ID of the daemon.
|
|
128
|
+
* @param {DaemonStop} daemonStop A JSON object containing the resource data
|
|
129
|
+
*/
|
|
130
|
+
stopDaemon(daemonId, daemonStop) {
|
|
131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
132
|
+
if (daemonId === null || daemonId === undefined) {
|
|
133
|
+
throw new Exceptions_1.ArgumentNullException('daemonId', 'stopDaemon');
|
|
134
|
+
}
|
|
135
|
+
if (daemonStop === null || daemonStop === undefined) {
|
|
136
|
+
throw new Exceptions_1.ArgumentNullException('daemonStop', 'stopDaemon');
|
|
137
|
+
}
|
|
138
|
+
let queryString = '';
|
|
139
|
+
const requestUrl = '/daemons/{daemon_id}/stop' + (queryString ? `?${queryString}` : '');
|
|
140
|
+
const response = yield this.post(requestUrl.replace(`{${"daemon_id"}}`, encodeURIComponent(String(daemonId))), daemonStop);
|
|
141
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
142
|
+
});
|
|
143
|
+
}
|
|
104
144
|
/**
|
|
105
145
|
*
|
|
106
146
|
* @summary Update an existing Daemon
|
|
@@ -27,4 +27,4 @@ var ActionStatus;
|
|
|
27
27
|
ActionStatus["InProgress"] = "in-progress";
|
|
28
28
|
ActionStatus["Completed"] = "completed";
|
|
29
29
|
ActionStatus["Failed"] = "failed";
|
|
30
|
-
})(ActionStatus
|
|
30
|
+
})(ActionStatus || (exports.ActionStatus = ActionStatus = {}));
|
|
@@ -15,4 +15,4 @@ import { ActionTargetServerData } from './action-target-server-data';
|
|
|
15
15
|
* @type ActionTargetData
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export type ActionTargetData = ActionTargetNetworkData | ActionTargetServerData;
|
|
@@ -22,4 +22,4 @@ var ActionTriggerType;
|
|
|
22
22
|
(function (ActionTriggerType) {
|
|
23
23
|
ActionTriggerType["Hook"] = "hook";
|
|
24
24
|
ActionTriggerType["Manual"] = "manual";
|
|
25
|
-
})(ActionTriggerType
|
|
25
|
+
})(ActionTriggerType || (exports.ActionTriggerType = ActionTriggerType = {}));
|
|
@@ -24,4 +24,4 @@ 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
|
|
27
|
+
})(CloudOsVersionCode || (exports.CloudOsVersionCode = CloudOsVersionCode = {}));
|
|
@@ -23,4 +23,4 @@ var CloudProviderCode;
|
|
|
23
23
|
CloudProviderCode["Aws"] = "aws";
|
|
24
24
|
CloudProviderCode["Digitalocean"] = "digitalocean";
|
|
25
25
|
CloudProviderCode["Gcp"] = "gcp";
|
|
26
|
-
})(CloudProviderCode
|
|
26
|
+
})(CloudProviderCode || (exports.CloudProviderCode = CloudProviderCode = {}));
|
|
@@ -24,4 +24,4 @@ var CloudProviderPropertyType;
|
|
|
24
24
|
CloudProviderPropertyType["Text"] = "text";
|
|
25
25
|
CloudProviderPropertyType["Integer"] = "integer";
|
|
26
26
|
CloudProviderPropertyType["Boolean"] = "boolean";
|
|
27
|
-
})(CloudProviderPropertyType
|
|
27
|
+
})(CloudProviderPropertyType || (exports.CloudProviderPropertyType = CloudProviderPropertyType = {}));
|
|
@@ -24,4 +24,4 @@ var CloudProviderServiceCode;
|
|
|
24
24
|
CloudProviderServiceCode["DigitaloceanDroplet"] = "digitalocean-droplet";
|
|
25
25
|
CloudProviderServiceCode["GcpGce"] = "gcp-gce";
|
|
26
26
|
CloudProviderServiceCode["SelfHostedCustom"] = "self-hosted-custom";
|
|
27
|
-
})(CloudProviderServiceCode
|
|
27
|
+
})(CloudProviderServiceCode || (exports.CloudProviderServiceCode = CloudProviderServiceCode = {}));
|
|
@@ -23,4 +23,4 @@ var CloudProviderServiceResourceTypeScope;
|
|
|
23
23
|
CloudProviderServiceResourceTypeScope["Global"] = "global";
|
|
24
24
|
CloudProviderServiceResourceTypeScope["Region"] = "region";
|
|
25
25
|
CloudProviderServiceResourceTypeScope["Zone"] = "zone";
|
|
26
|
-
})(CloudProviderServiceResourceTypeScope
|
|
26
|
+
})(CloudProviderServiceResourceTypeScope || (exports.CloudProviderServiceResourceTypeScope = CloudProviderServiceResourceTypeScope = {}));
|
|
@@ -23,4 +23,4 @@ var CloudResourceType;
|
|
|
23
23
|
CloudResourceType["Network"] = "network";
|
|
24
24
|
CloudResourceType["Server"] = "server";
|
|
25
25
|
CloudResourceType["Subnet"] = "subnet";
|
|
26
|
-
})(CloudResourceType
|
|
26
|
+
})(CloudResourceType || (exports.CloudResourceType = CloudResourceType = {}));
|
|
@@ -27,4 +27,4 @@ var CronJobPattern;
|
|
|
27
27
|
CronJobPattern["Weekly"] = "Weekly";
|
|
28
28
|
CronJobPattern["Monthly"] = "Monthly";
|
|
29
29
|
CronJobPattern["Yearly"] = "Yearly";
|
|
30
|
-
})(CronJobPattern
|
|
30
|
+
})(CronJobPattern || (exports.CronJobPattern = CronJobPattern = {}));
|
|
@@ -28,11 +28,11 @@ export interface DaemonEnvironmentCreate {
|
|
|
28
28
|
*/
|
|
29
29
|
process_count: number;
|
|
30
30
|
/**
|
|
31
|
-
* The working directory where the
|
|
31
|
+
* The working directory where the Daemon command will be executed. If the Daemon is linked to an application, the path must be a relative path to the application root directory. If the Daemon is not linked to an application, the value must be an absolute path. Must start with one of <code>/</code> Must not be greater than 255 characters.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof DaemonEnvironmentCreate
|
|
34
34
|
*/
|
|
35
|
-
working_directory: string;
|
|
35
|
+
working_directory: string | null;
|
|
36
36
|
/**
|
|
37
37
|
* The name of the Unix user on behalf of which the daemon will run. Must not be greater than 60 characters.
|
|
38
38
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
13
|
import { ApplicationRelation } from './application-relation';
|
|
14
|
+
import { UserRelation } from './user-relation';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -42,11 +43,11 @@ export interface DaemonRelation {
|
|
|
42
43
|
*/
|
|
43
44
|
run_as_user: string;
|
|
44
45
|
/**
|
|
45
|
-
* The working directory where the
|
|
46
|
+
* The working directory where the Daemon command will be executed. If the Daemon is linked to an application, the path must be a relative path to the application root directory. If the Daemon is not linked to an application, the value must be an absolute path. Must not be greater than 255 characters
|
|
46
47
|
* @type {string}
|
|
47
48
|
* @memberof DaemonRelation
|
|
48
49
|
*/
|
|
49
|
-
working_directory: string;
|
|
50
|
+
working_directory: string | null;
|
|
50
51
|
/**
|
|
51
52
|
* The number of daemon process instances of the program to run simultaneously
|
|
52
53
|
* @type {number}
|
|
@@ -71,6 +72,12 @@ export interface DaemonRelation {
|
|
|
71
72
|
* @memberof DaemonRelation
|
|
72
73
|
*/
|
|
73
74
|
application: ApplicationRelation | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {UserRelation}
|
|
78
|
+
* @memberof DaemonRelation
|
|
79
|
+
*/
|
|
80
|
+
created_by_user: UserRelation;
|
|
74
81
|
/**
|
|
75
82
|
* The date and time when the record was created
|
|
76
83
|
* @type {string}
|
|
@@ -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 DaemonStart
|
|
16
|
+
*/
|
|
17
|
+
export interface DaemonStart {
|
|
18
|
+
/**
|
|
19
|
+
* List of valid resource IDs
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof DaemonStart
|
|
22
|
+
*/
|
|
23
|
+
servers?: Array<number>;
|
|
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 });
|
|
@@ -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 DaemonStop
|
|
16
|
+
*/
|
|
17
|
+
export interface DaemonStop {
|
|
18
|
+
/**
|
|
19
|
+
* List of valid resource IDs
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof DaemonStop
|
|
22
|
+
*/
|
|
23
|
+
servers?: Array<number>;
|
|
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 });
|
|
@@ -34,11 +34,11 @@ export interface DaemonUpdate {
|
|
|
34
34
|
*/
|
|
35
35
|
process_count: number;
|
|
36
36
|
/**
|
|
37
|
-
* The working directory where the
|
|
37
|
+
* The working directory where the Daemon command will be executed. If the Daemon is linked to an application, the path must be a relative path to the application root directory. If the Daemon is not linked to an application, the value must be an absolute path. Must start with one of <code>/</code> Must not be greater than 255 characters.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DaemonUpdate
|
|
40
40
|
*/
|
|
41
|
-
working_directory: string;
|
|
41
|
+
working_directory: string | null;
|
|
42
42
|
/**
|
|
43
43
|
* The name of the Unix user on behalf of which the daemon will run. Must not be greater than 60 characters.
|
|
44
44
|
* @type {string}
|
|
@@ -14,6 +14,7 @@ import { ApplicationRelation } from './application-relation';
|
|
|
14
14
|
import { EnvironmentRelation } from './environment-relation';
|
|
15
15
|
import { ProjectRelation } from './project-relation';
|
|
16
16
|
import { ServerRelation } from './server-relation';
|
|
17
|
+
import { UserRelation } from './user-relation';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
@@ -45,11 +46,11 @@ export interface Daemon {
|
|
|
45
46
|
*/
|
|
46
47
|
run_as_user: string;
|
|
47
48
|
/**
|
|
48
|
-
* The working directory where the
|
|
49
|
+
* The working directory where the Daemon command will be executed. If the Daemon is linked to an application, the path must be a relative path to the application root directory. If the Daemon is not linked to an application, the value must be an absolute path. Must not be greater than 255 characters
|
|
49
50
|
* @type {string}
|
|
50
51
|
* @memberof Daemon
|
|
51
52
|
*/
|
|
52
|
-
working_directory: string;
|
|
53
|
+
working_directory: string | null;
|
|
53
54
|
/**
|
|
54
55
|
* The number of daemon process instances of the program to run simultaneously
|
|
55
56
|
* @type {number}
|
|
@@ -92,6 +93,12 @@ export interface Daemon {
|
|
|
92
93
|
* @memberof Daemon
|
|
93
94
|
*/
|
|
94
95
|
servers: Array<ServerRelation>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {UserRelation}
|
|
99
|
+
* @memberof Daemon
|
|
100
|
+
*/
|
|
101
|
+
created_by_user: UserRelation;
|
|
95
102
|
/**
|
|
96
103
|
* The date and time when the record was created
|
|
97
104
|
* @type {string}
|
|
@@ -23,4 +23,4 @@ var DeploymentType;
|
|
|
23
23
|
DeploymentType["Deploy"] = "deploy";
|
|
24
24
|
DeploymentType["Redeploy"] = "redeploy";
|
|
25
25
|
DeploymentType["Rollback"] = "rollback";
|
|
26
|
-
})(DeploymentType
|
|
26
|
+
})(DeploymentType || (exports.DeploymentType = DeploymentType = {}));
|
|
@@ -23,4 +23,4 @@ var EnvironmentType;
|
|
|
23
23
|
EnvironmentType["Development"] = "development";
|
|
24
24
|
EnvironmentType["Production"] = "production";
|
|
25
25
|
EnvironmentType["Staging"] = "staging";
|
|
26
|
-
})(EnvironmentType
|
|
26
|
+
})(EnvironmentType || (exports.EnvironmentType = EnvironmentType = {}));
|
|
@@ -24,4 +24,4 @@ var HookVariableType;
|
|
|
24
24
|
HookVariableType["Integer"] = "integer";
|
|
25
25
|
HookVariableType["Array"] = "array";
|
|
26
26
|
HookVariableType["Boolean"] = "boolean";
|
|
27
|
-
})(HookVariableType
|
|
27
|
+
})(HookVariableType || (exports.HookVariableType = HookVariableType = {}));
|
|
@@ -72,6 +72,8 @@ export * from './daemon-environment-create';
|
|
|
72
72
|
export * from './daemon-get-status';
|
|
73
73
|
export * from './daemon-relation';
|
|
74
74
|
export * from './daemon-restart';
|
|
75
|
+
export * from './daemon-start';
|
|
76
|
+
export * from './daemon-stop';
|
|
75
77
|
export * from './daemon-update';
|
|
76
78
|
export * from './deployment-application-create';
|
|
77
79
|
export * from './deployment-default-step';
|
|
@@ -88,6 +88,8 @@ __exportStar(require("./daemon-environment-create"), exports);
|
|
|
88
88
|
__exportStar(require("./daemon-get-status"), exports);
|
|
89
89
|
__exportStar(require("./daemon-relation"), exports);
|
|
90
90
|
__exportStar(require("./daemon-restart"), exports);
|
|
91
|
+
__exportStar(require("./daemon-start"), exports);
|
|
92
|
+
__exportStar(require("./daemon-stop"), exports);
|
|
91
93
|
__exportStar(require("./daemon-update"), exports);
|
|
92
94
|
__exportStar(require("./deployment-application-create"), exports);
|
|
93
95
|
__exportStar(require("./deployment-default-step"), exports);
|
|
@@ -16,4 +16,4 @@ import { NetworkProvisionInputSettingsGcp } from './network-provision-input-sett
|
|
|
16
16
|
* @type NetworkProvisionInputSettings
|
|
17
17
|
* @export
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type NetworkProvisionInputSettings = NetworkProvisionInputSettingsAws | NetworkProvisionInputSettingsDigitalOcean | NetworkProvisionInputSettingsGcp;
|
|
@@ -22,4 +22,4 @@ var NetworkRuleDirection;
|
|
|
22
22
|
(function (NetworkRuleDirection) {
|
|
23
23
|
NetworkRuleDirection["Inbound"] = "inbound";
|
|
24
24
|
NetworkRuleDirection["Outbound"] = "outbound";
|
|
25
|
-
})(NetworkRuleDirection
|
|
25
|
+
})(NetworkRuleDirection || (exports.NetworkRuleDirection = NetworkRuleDirection = {}));
|
|
@@ -24,4 +24,4 @@ var NetworkRuleProtocol;
|
|
|
24
24
|
NetworkRuleProtocol["Icmp"] = "icmp";
|
|
25
25
|
NetworkRuleProtocol["Tcp"] = "tcp";
|
|
26
26
|
NetworkRuleProtocol["Udp"] = "udp";
|
|
27
|
-
})(NetworkRuleProtocol
|
|
27
|
+
})(NetworkRuleProtocol || (exports.NetworkRuleProtocol = NetworkRuleProtocol = {}));
|
|
@@ -25,4 +25,4 @@ var PipelineStepRunnerName;
|
|
|
25
25
|
PipelineStepRunnerName["Npm"] = "npm";
|
|
26
26
|
PipelineStepRunnerName["Pip"] = "pip";
|
|
27
27
|
PipelineStepRunnerName["Yarn"] = "yarn";
|
|
28
|
-
})(PipelineStepRunnerName
|
|
28
|
+
})(PipelineStepRunnerName || (exports.PipelineStepRunnerName = PipelineStepRunnerName = {}));
|
|
@@ -32,4 +32,4 @@ var ResourceType;
|
|
|
32
32
|
ResourceType["SslCertificate"] = "ssl-certificate";
|
|
33
33
|
ResourceType["Subnet"] = "subnet";
|
|
34
34
|
ResourceType["VirtualHost"] = "virtual-host";
|
|
35
|
-
})(ResourceType
|
|
35
|
+
})(ResourceType || (exports.ResourceType = ResourceType = {}));
|
|
@@ -24,4 +24,4 @@ var ServerCloudServiceCode;
|
|
|
24
24
|
ServerCloudServiceCode["DigitaloceanDroplet"] = "digitalocean-droplet";
|
|
25
25
|
ServerCloudServiceCode["GcpGce"] = "gcp-gce";
|
|
26
26
|
ServerCloudServiceCode["SelfHostedCustom"] = "self-hosted-custom";
|
|
27
|
-
})(ServerCloudServiceCode
|
|
27
|
+
})(ServerCloudServiceCode || (exports.ServerCloudServiceCode = ServerCloudServiceCode = {}));
|
|
@@ -22,4 +22,4 @@ var ServiceInitialState;
|
|
|
22
22
|
(function (ServiceInitialState) {
|
|
23
23
|
ServiceInitialState["Started"] = "started";
|
|
24
24
|
ServiceInitialState["Stopped"] = "stopped";
|
|
25
|
-
})(ServiceInitialState
|
|
25
|
+
})(ServiceInitialState || (exports.ServiceInitialState = ServiceInitialState = {}));
|
|
@@ -25,4 +25,4 @@ var SocialAccountDisplayableName;
|
|
|
25
25
|
SocialAccountDisplayableName["GitHub"] = "GitHub";
|
|
26
26
|
SocialAccountDisplayableName["GitLab"] = "GitLab";
|
|
27
27
|
SocialAccountDisplayableName["Google"] = "Google";
|
|
28
|
-
})(SocialAccountDisplayableName
|
|
28
|
+
})(SocialAccountDisplayableName || (exports.SocialAccountDisplayableName = SocialAccountDisplayableName = {}));
|
|
@@ -25,4 +25,4 @@ var SocialAccountProvider;
|
|
|
25
25
|
SocialAccountProvider["Github"] = "github";
|
|
26
26
|
SocialAccountProvider["Gitlab"] = "gitlab";
|
|
27
27
|
SocialAccountProvider["Google"] = "google";
|
|
28
|
-
})(SocialAccountProvider
|
|
28
|
+
})(SocialAccountProvider || (exports.SocialAccountProvider = SocialAccountProvider = {}));
|
|
@@ -23,4 +23,4 @@ var SourceProviderDisplayableName;
|
|
|
23
23
|
SourceProviderDisplayableName["Bitbucket"] = "Bitbucket";
|
|
24
24
|
SourceProviderDisplayableName["GitHub"] = "GitHub";
|
|
25
25
|
SourceProviderDisplayableName["GitLab"] = "GitLab";
|
|
26
|
-
})(SourceProviderDisplayableName
|
|
26
|
+
})(SourceProviderDisplayableName || (exports.SourceProviderDisplayableName = SourceProviderDisplayableName = {}));
|
|
@@ -23,4 +23,4 @@ var SourceProviderName;
|
|
|
23
23
|
SourceProviderName["Bitbucket"] = "bitbucket";
|
|
24
24
|
SourceProviderName["Github"] = "github";
|
|
25
25
|
SourceProviderName["Gitlab"] = "gitlab";
|
|
26
|
-
})(SourceProviderName
|
|
26
|
+
})(SourceProviderName || (exports.SourceProviderName = SourceProviderName = {}));
|
|
@@ -22,4 +22,4 @@ var SslCertificateIssuer;
|
|
|
22
22
|
(function (SslCertificateIssuer) {
|
|
23
23
|
SslCertificateIssuer["Custom"] = "custom";
|
|
24
24
|
SslCertificateIssuer["LetsEncrypt"] = "lets-encrypt";
|
|
25
|
-
})(SslCertificateIssuer
|
|
25
|
+
})(SslCertificateIssuer || (exports.SslCertificateIssuer = SslCertificateIssuer = {}));
|
|
@@ -23,4 +23,4 @@ var SslCertificateType;
|
|
|
23
23
|
SslCertificateType["SingleDomain"] = "single-domain";
|
|
24
24
|
SslCertificateType["MultiDomain"] = "multi-domain";
|
|
25
25
|
SslCertificateType["Wildcard"] = "wildcard";
|
|
26
|
-
})(SslCertificateType
|
|
26
|
+
})(SslCertificateType || (exports.SslCertificateType = SslCertificateType = {}));
|
|
@@ -23,4 +23,4 @@ var SslCertificateValidationLevel;
|
|
|
23
23
|
SslCertificateValidationLevel["DV"] = "DV";
|
|
24
24
|
SslCertificateValidationLevel["OV"] = "OV";
|
|
25
25
|
SslCertificateValidationLevel["EV"] = "EV";
|
|
26
|
-
})(SslCertificateValidationLevel
|
|
26
|
+
})(SslCertificateValidationLevel || (exports.SslCertificateValidationLevel = SslCertificateValidationLevel = {}));
|
|
@@ -24,4 +24,4 @@ var StaticCloudProviderCode;
|
|
|
24
24
|
StaticCloudProviderCode["Digitalocean"] = "digitalocean";
|
|
25
25
|
StaticCloudProviderCode["Gcp"] = "gcp";
|
|
26
26
|
StaticCloudProviderCode["SelfHosted"] = "self-hosted";
|
|
27
|
-
})(StaticCloudProviderCode
|
|
27
|
+
})(StaticCloudProviderCode || (exports.StaticCloudProviderCode = StaticCloudProviderCode = {}));
|
|
@@ -16,4 +16,4 @@ import { SubnetProvisionInputSettingsGcp } from './subnet-provision-input-settin
|
|
|
16
16
|
* @type SubnetProvisionInputSettings
|
|
17
17
|
* @export
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type SubnetProvisionInputSettings = SubnetProvisionInputSettingsAws | SubnetProvisionInputSettingsDigitalOcean | SubnetProvisionInputSettingsGcp;
|
|
@@ -23,4 +23,4 @@ var TeamInvitationStatus;
|
|
|
23
23
|
TeamInvitationStatus["Accepted"] = "accepted";
|
|
24
24
|
TeamInvitationStatus["Expired"] = "expired";
|
|
25
25
|
TeamInvitationStatus["Pending"] = "pending";
|
|
26
|
-
})(TeamInvitationStatus
|
|
26
|
+
})(TeamInvitationStatus || (exports.TeamInvitationStatus = TeamInvitationStatus = {}));
|
|
@@ -26,4 +26,4 @@ var TriggerEvent;
|
|
|
26
26
|
TriggerEvent["GetNewRelease"] = "get-new-release";
|
|
27
27
|
TriggerEvent["InstallDependencies"] = "install-dependencies";
|
|
28
28
|
TriggerEvent["RemoveOldReleases"] = "remove-old-releases";
|
|
29
|
-
})(TriggerEvent
|
|
29
|
+
})(TriggerEvent || (exports.TriggerEvent = TriggerEvent = {}));
|
|
@@ -21,4 +21,4 @@ exports.TriggerWhenConditionType = void 0;
|
|
|
21
21
|
var TriggerWhenConditionType;
|
|
22
22
|
(function (TriggerWhenConditionType) {
|
|
23
23
|
TriggerWhenConditionType["RequestBody"] = "request_body";
|
|
24
|
-
})(TriggerWhenConditionType
|
|
24
|
+
})(TriggerWhenConditionType || (exports.TriggerWhenConditionType = TriggerWhenConditionType = {}));
|
|
@@ -35,4 +35,4 @@ var VariableTarget;
|
|
|
35
35
|
VariableTarget["RedisConf"] = "redis-conf";
|
|
36
36
|
VariableTarget["SupervisordConf"] = "supervisord-conf";
|
|
37
37
|
VariableTarget["SysctlConf"] = "sysctl-conf";
|
|
38
|
-
})(VariableTarget
|
|
38
|
+
})(VariableTarget || (exports.VariableTarget = VariableTarget = {}));
|
|
@@ -22,4 +22,4 @@ var VirtualHostType;
|
|
|
22
22
|
(function (VirtualHostType) {
|
|
23
23
|
VirtualHostType["IpBased"] = "ip-based";
|
|
24
24
|
VirtualHostType["NameBased"] = "name-based";
|
|
25
|
-
})(VirtualHostType
|
|
25
|
+
})(VirtualHostType || (exports.VirtualHostType = VirtualHostType = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mergeSiblingClasses =
|
|
3
|
+
exports.mergeSiblingClasses = mergeSiblingClasses;
|
|
4
4
|
/*
|
|
5
5
|
Copies all methods from `siblings` into `target`, enforcing that they share the same superclass.
|
|
6
6
|
This ensures that references to super methods inside of the resulting merged target are available.
|
|
@@ -28,4 +28,3 @@ function mergeSiblingClasses(target, siblings) {
|
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
exports.mergeSiblingClasses = mergeSiblingClasses;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devopness/sdk-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.141.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -52,23 +52,23 @@
|
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://github.com/devopness/devopness#readme",
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
56
|
-
"@types/jest": "^
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.13.4",
|
|
56
|
+
"@types/jest": "^29.5.12",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
58
|
-
"axios-mock-adapter": "^1.
|
|
58
|
+
"axios-mock-adapter": "^1.22.0",
|
|
59
59
|
"eslint": "^7.32.0",
|
|
60
|
-
"eslint-plugin-import": "^2.
|
|
60
|
+
"eslint-plugin-import": "^2.29.1",
|
|
61
61
|
"eslint-plugin-node": "^11.1.0",
|
|
62
|
-
"eslint-plugin-promise": "^6.
|
|
63
|
-
"husky": "
|
|
64
|
-
"jest": "^
|
|
65
|
-
"ts-jest": "^
|
|
66
|
-
"typedoc": "^0.
|
|
67
|
-
"typescript": "^
|
|
62
|
+
"eslint-plugin-promise": "^6.4.0",
|
|
63
|
+
"husky": "9.1.1",
|
|
64
|
+
"jest": "^29.7.0",
|
|
65
|
+
"ts-jest": "^29.2.3",
|
|
66
|
+
"typedoc": "^0.26.4",
|
|
67
|
+
"typescript": "^5.5.3"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@types/parse-link-header": "^2.0.
|
|
71
|
-
"axios": "^
|
|
70
|
+
"@types/parse-link-header": "^2.0.3",
|
|
71
|
+
"axios": "^1.7.2",
|
|
72
72
|
"parse-link-header": "^2.0.0"
|
|
73
73
|
}
|
|
74
74
|
}
|