@devopness/sdk-js 2.114.0 → 2.116.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.
@@ -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
+ import { ApiBaseService } from "../../../services/ApiBaseService";
13
+ import { ApiResponse } from "../../../common/ApiResponse";
14
+ import { ServerOptions } from '../../generated/models';
15
+ /**
16
+ * StaticDataServerOptionsApiService - Auto-generated
17
+ */
18
+ export declare class StaticDataServerOptionsApiService extends ApiBaseService {
19
+ /**
20
+ *
21
+ * @summary List `Server` options
22
+ */
23
+ getStaticServerOptions(): Promise<ApiResponse<ServerOptions>>;
24
+ }
@@ -0,0 +1,44 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ exports.StaticDataServerOptionsApiService = void 0;
25
+ const ApiBaseService_1 = require("../../../services/ApiBaseService");
26
+ const ApiResponse_1 = require("../../../common/ApiResponse");
27
+ /**
28
+ * StaticDataServerOptionsApiService - Auto-generated
29
+ */
30
+ class StaticDataServerOptionsApiService extends ApiBaseService_1.ApiBaseService {
31
+ /**
32
+ *
33
+ * @summary List `Server` options
34
+ */
35
+ getStaticServerOptions() {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ let queryString = '';
38
+ const requestUrl = '/static/server-options' + (queryString ? `?${queryString}` : '');
39
+ const response = yield this.get(requestUrl);
40
+ return new ApiResponse_1.ApiResponse(response);
41
+ });
42
+ }
43
+ }
44
+ exports.StaticDataServerOptionsApiService = StaticDataServerOptionsApiService;
@@ -41,11 +41,11 @@ export interface ApplicationEnvironmentCreate {
41
41
  */
42
42
  build_command?: string;
43
43
  /**
44
- * The language runtime engine version to be used to execute this application on the deployed servers. This field is required unless <code>programming_language</code> is in <code>html</code>. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
44
+ * The language runtime engine version to be used to execute this application on the deployed servers. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
45
45
  * @type {string}
46
46
  * @memberof ApplicationEnvironmentCreate
47
47
  */
48
- engine_version?: string;
48
+ engine_version: string;
49
49
  /**
50
50
  * The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must not be greater than 30 characters.
51
51
  * @type {string}
@@ -47,11 +47,11 @@ export interface ApplicationUpdate {
47
47
  */
48
48
  build_command?: string;
49
49
  /**
50
- * The language runtime engine version to be used to execute this application on the deployed servers. This field is required unless <code>programming_language</code> is in <code>html</code>. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
50
+ * The language runtime engine version to be used to execute this application on the deployed servers. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
51
51
  * @type {string}
52
52
  * @memberof ApplicationUpdate
53
53
  */
54
- engine_version?: string;
54
+ engine_version: string;
55
55
  /**
56
56
  * The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must not be greater than 30 characters.
57
57
  * @type {string}
@@ -173,6 +173,7 @@ export * from './server-blueprint-spec';
173
173
  export * from './server-cloud-service-code';
174
174
  export * from './server-command';
175
175
  export * from './server-environment-create';
176
+ export * from './server-options';
176
177
  export * from './server-provision-input';
177
178
  export * from './server-relation';
178
179
  export * from './server-update';
@@ -189,6 +189,7 @@ __exportStar(require("./server-blueprint-spec"), exports);
189
189
  __exportStar(require("./server-cloud-service-code"), exports);
190
190
  __exportStar(require("./server-command"), exports);
191
191
  __exportStar(require("./server-environment-create"), exports);
192
+ __exportStar(require("./server-options"), exports);
192
193
  __exportStar(require("./server-provision-input"), exports);
193
194
  __exportStar(require("./server-relation"), exports);
194
195
  __exportStar(require("./server-update"), exports);
@@ -0,0 +1,25 @@
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 { VariableTargets } from './variable-targets';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ServerOptions
17
+ */
18
+ export interface ServerOptions {
19
+ /**
20
+ * The list of VariableTarget
21
+ * @type {Array<VariableTargets>}
22
+ * @memberof ServerOptions
23
+ */
24
+ variables_targets: Array<VariableTargets>;
25
+ }
@@ -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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { VariableTarget } from './variable-target';
12
13
  /**
13
14
  * The object of target defining how the variable key/value pair will be deployed
14
15
  * @export
@@ -16,11 +17,11 @@
16
17
  */
17
18
  export interface VariableTargets {
18
19
  /**
19
- * The variable target name
20
- * @type {string}
20
+ *
21
+ * @type {VariableTarget}
21
22
  * @memberof VariableTargets
22
23
  */
23
- name?: VariableTargetsNameEnum;
24
+ name?: VariableTarget;
24
25
  /**
25
26
  * Human readable version of the variable target name
26
27
  * @type {string}
@@ -34,24 +35,3 @@ export interface VariableTargets {
34
35
  */
35
36
  hint?: string;
36
37
  }
37
- /**
38
- * @export
39
- * @enum {string}
40
- */
41
- export declare enum VariableTargetsNameEnum {
42
- ResourceConfigFile = "resource-config-file",
43
- NginxHttpServer = "nginx-http-server",
44
- MyCnf = "my-cnf",
45
- NewrelicInfraYml = "newrelic-infra-yml",
46
- NginxConf = "nginx-conf",
47
- NginxMain = "nginx-main",
48
- NginxHttp = "nginx-http",
49
- OsEnvVar = "os-env-var",
50
- PhpCliPhpIni = "php-cli_php-ini",
51
- PhpFpmPhpFpmConf = "php-fpm_php-fpm-conf",
52
- PhpFpmPhpIni = "php-fpm_php-ini",
53
- PhpFpmPoolDWwwConf = "php-fpm_pool-d-www-conf",
54
- RedisConf = "redis-conf",
55
- SupervisordConf = "supervisord-conf",
56
- SysctlConf = "sysctl-conf"
57
- }
@@ -12,26 +12,3 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.VariableTargetsNameEnum = void 0;
16
- /**
17
- * @export
18
- * @enum {string}
19
- */
20
- var VariableTargetsNameEnum;
21
- (function (VariableTargetsNameEnum) {
22
- VariableTargetsNameEnum["ResourceConfigFile"] = "resource-config-file";
23
- VariableTargetsNameEnum["NginxHttpServer"] = "nginx-http-server";
24
- VariableTargetsNameEnum["MyCnf"] = "my-cnf";
25
- VariableTargetsNameEnum["NewrelicInfraYml"] = "newrelic-infra-yml";
26
- VariableTargetsNameEnum["NginxConf"] = "nginx-conf";
27
- VariableTargetsNameEnum["NginxMain"] = "nginx-main";
28
- VariableTargetsNameEnum["NginxHttp"] = "nginx-http";
29
- VariableTargetsNameEnum["OsEnvVar"] = "os-env-var";
30
- VariableTargetsNameEnum["PhpCliPhpIni"] = "php-cli_php-ini";
31
- VariableTargetsNameEnum["PhpFpmPhpFpmConf"] = "php-fpm_php-fpm-conf";
32
- VariableTargetsNameEnum["PhpFpmPhpIni"] = "php-fpm_php-ini";
33
- VariableTargetsNameEnum["PhpFpmPoolDWwwConf"] = "php-fpm_pool-d-www-conf";
34
- VariableTargetsNameEnum["RedisConf"] = "redis-conf";
35
- VariableTargetsNameEnum["SupervisordConf"] = "supervisord-conf";
36
- VariableTargetsNameEnum["SysctlConf"] = "sysctl-conf";
37
- })(VariableTargetsNameEnum = exports.VariableTargetsNameEnum || (exports.VariableTargetsNameEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.114.0",
3
+ "version": "2.116.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },