@devopness/sdk-js 2.88.0 → 2.90.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-resource.d.ts +3 -2
- package/dist/api/generated/models/application-options.d.ts +7 -0
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/static-application-type-public.d.ts +24 -0
- package/dist/api/generated/models/static-application-type-public.js +14 -0
- package/dist/api/generated/models/static-application-type.d.ts +31 -0
- package/dist/api/generated/models/static-application-type.js +14 -0
- package/dist/api/generated/models/static-service-type-supported-versions.d.ts +6 -0
- package/dist/api/generated/models/variable-target.d.ts +3 -0
- package/dist/api/generated/models/variable-target.js +3 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ import { ServerRelation } from './server-relation';
|
|
|
19
19
|
import { ServiceRelation } from './service-relation';
|
|
20
20
|
import { SshKeyRelation } from './ssh-key-relation';
|
|
21
21
|
import { SslCertificateRelation } from './ssl-certificate-relation';
|
|
22
|
+
import { SubnetRelation } from './subnet-relation';
|
|
22
23
|
/**
|
|
23
24
|
* The resource that triggered an action
|
|
24
25
|
* @export
|
|
@@ -45,8 +46,8 @@ export interface ActionResource {
|
|
|
45
46
|
type_human_readable: string;
|
|
46
47
|
/**
|
|
47
48
|
* The resource data of type specified on `resource.type`
|
|
48
|
-
* @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
|
|
49
|
+
* @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation}
|
|
49
50
|
* @memberof ActionResource
|
|
50
51
|
*/
|
|
51
|
-
data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
|
|
52
|
+
data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | null;
|
|
52
53
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { LanguageRuntime } from './language-runtime';
|
|
13
13
|
import { ScriptRunner } from './script-runner';
|
|
14
|
+
import { StaticApplicationType } from './static-application-type';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -29,4 +30,10 @@ export interface ApplicationOptions {
|
|
|
29
30
|
* @memberof ApplicationOptions
|
|
30
31
|
*/
|
|
31
32
|
script_runners: Array<ScriptRunner>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {StaticApplicationType}
|
|
36
|
+
* @memberof ApplicationOptions
|
|
37
|
+
*/
|
|
38
|
+
application_types: StaticApplicationType;
|
|
32
39
|
}
|
|
@@ -202,6 +202,8 @@ export * from './ssl-certificate-issuer';
|
|
|
202
202
|
export * from './ssl-certificate-relation';
|
|
203
203
|
export * from './ssl-certificate-type';
|
|
204
204
|
export * from './ssl-certificate-validation-level';
|
|
205
|
+
export * from './static-application-type';
|
|
206
|
+
export * from './static-application-type-public';
|
|
205
207
|
export * from './static-billing-info';
|
|
206
208
|
export * from './static-cloud-provider-code';
|
|
207
209
|
export * from './static-cron-job-frequency';
|
|
@@ -218,6 +218,8 @@ __exportStar(require("./ssl-certificate-issuer"), exports);
|
|
|
218
218
|
__exportStar(require("./ssl-certificate-relation"), exports);
|
|
219
219
|
__exportStar(require("./ssl-certificate-type"), exports);
|
|
220
220
|
__exportStar(require("./ssl-certificate-validation-level"), exports);
|
|
221
|
+
__exportStar(require("./static-application-type"), exports);
|
|
222
|
+
__exportStar(require("./static-application-type-public"), exports);
|
|
221
223
|
__exportStar(require("./static-billing-info"), exports);
|
|
222
224
|
__exportStar(require("./static-cloud-provider-code"), exports);
|
|
223
225
|
__exportStar(require("./static-cron-job-frequency"), exports);
|
|
@@ -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 StaticApplicationTypePublic
|
|
16
|
+
*/
|
|
17
|
+
export interface StaticApplicationTypePublic {
|
|
18
|
+
/**
|
|
19
|
+
* The array of target defining how the variable key/value pair will be deployed
|
|
20
|
+
* @type {Array<object>}
|
|
21
|
+
* @memberof StaticApplicationTypePublic
|
|
22
|
+
*/
|
|
23
|
+
variables_targets?: Array<object>;
|
|
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,31 @@
|
|
|
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 { StaticApplicationTypePublic } from './static-application-type-public';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StaticApplicationType
|
|
17
|
+
*/
|
|
18
|
+
export interface StaticApplicationType {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {StaticApplicationTypePublic}
|
|
22
|
+
* @memberof StaticApplicationType
|
|
23
|
+
*/
|
|
24
|
+
_public: StaticApplicationTypePublic;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {StaticApplicationTypePublic}
|
|
28
|
+
* @memberof StaticApplicationType
|
|
29
|
+
*/
|
|
30
|
+
_private: StaticApplicationTypePublic;
|
|
31
|
+
}
|
|
@@ -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 });
|
|
@@ -21,4 +21,10 @@ export interface StaticServiceTypeSupportedVersions {
|
|
|
21
21
|
* @memberof StaticServiceTypeSupportedVersions
|
|
22
22
|
*/
|
|
23
23
|
version?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The array of target defining how the variable key/value pair will be deployed
|
|
26
|
+
* @type {Array<object>}
|
|
27
|
+
* @memberof StaticServiceTypeSupportedVersions
|
|
28
|
+
*/
|
|
29
|
+
variable_targets?: Array<object>;
|
|
24
30
|
}
|
|
@@ -16,9 +16,12 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare enum VariableTarget {
|
|
18
18
|
ResourceConfigFile = "resource-config-file",
|
|
19
|
+
NginxHttpServer = "nginx-http-server",
|
|
19
20
|
MyCnf = "my-cnf",
|
|
20
21
|
NewrelicInfraYml = "newrelic-infra-yml",
|
|
21
22
|
NginxConf = "nginx-conf",
|
|
23
|
+
NginxMain = "nginx-main",
|
|
24
|
+
NginxHttp = "nginx-http",
|
|
22
25
|
OsEnvVar = "os-env-var",
|
|
23
26
|
PhpCliPhpIni = "php-cli_php-ini",
|
|
24
27
|
PhpFpmPhpFpmConf = "php-fpm_php-fpm-conf",
|
|
@@ -21,9 +21,12 @@ exports.VariableTarget = void 0;
|
|
|
21
21
|
var VariableTarget;
|
|
22
22
|
(function (VariableTarget) {
|
|
23
23
|
VariableTarget["ResourceConfigFile"] = "resource-config-file";
|
|
24
|
+
VariableTarget["NginxHttpServer"] = "nginx-http-server";
|
|
24
25
|
VariableTarget["MyCnf"] = "my-cnf";
|
|
25
26
|
VariableTarget["NewrelicInfraYml"] = "newrelic-infra-yml";
|
|
26
27
|
VariableTarget["NginxConf"] = "nginx-conf";
|
|
28
|
+
VariableTarget["NginxMain"] = "nginx-main";
|
|
29
|
+
VariableTarget["NginxHttp"] = "nginx-http";
|
|
27
30
|
VariableTarget["OsEnvVar"] = "os-env-var";
|
|
28
31
|
VariableTarget["PhpCliPhpIni"] = "php-cli_php-ini";
|
|
29
32
|
VariableTarget["PhpFpmPhpFpmConf"] = "php-fpm_php-fpm-conf";
|