@devopness/sdk-js 2.120.0 → 2.122.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.
@@ -39,8 +39,8 @@ export declare class DevopnessApiClient {
39
39
  hookRequests: HookRequestService;
40
40
  hooks: HookService;
41
41
  logs: LogService;
42
- networks: NetworkService;
43
42
  networkRules: NetworkRuleService;
43
+ networks: NetworkService;
44
44
  pipelines: PipelineService;
45
45
  projects: ProjectService;
46
46
  resourceEvents: ResourceEventService;
@@ -47,8 +47,8 @@ class DevopnessApiClient {
47
47
  this.hookRequests = new HookRequestService_1.HookRequestService();
48
48
  this.hooks = new HookService_1.HookService();
49
49
  this.logs = new LogService_1.LogService();
50
- this.networks = new NetworkService_1.NetworkService();
51
50
  this.networkRules = new NetworkRuleService_1.NetworkRuleService();
51
+ this.networks = new NetworkService_1.NetworkService();
52
52
  this.pipelines = new PipelineService_1.PipelineService();
53
53
  this.projects = new ProjectService_1.ProjectService();
54
54
  this.resourceEvents = new ResourceEventService_1.ResourceEventService();
@@ -0,0 +1,26 @@
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 { SourceProviderOptionsRelation } from '../../generated/models';
15
+ /**
16
+ * StaticDataSourceProviderOptionsApiService - Auto-generated
17
+ */
18
+ export declare class StaticDataSourceProviderOptionsApiService extends ApiBaseService {
19
+ /**
20
+ *
21
+ * @summary List `Source provider` options
22
+ * @param {number} [page] Number of the page to be retrieved
23
+ * @param {number} [perPage] Number of items returned per page
24
+ */
25
+ listStaticSourceProviderOptions(page?: number, perPage?: number): Promise<ApiResponse<Array<SourceProviderOptionsRelation>>>;
26
+ }
@@ -0,0 +1,53 @@
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.StaticDataSourceProviderOptionsApiService = void 0;
25
+ const ApiBaseService_1 = require("../../../services/ApiBaseService");
26
+ const ApiResponse_1 = require("../../../common/ApiResponse");
27
+ /**
28
+ * StaticDataSourceProviderOptionsApiService - Auto-generated
29
+ */
30
+ class StaticDataSourceProviderOptionsApiService extends ApiBaseService_1.ApiBaseService {
31
+ /**
32
+ *
33
+ * @summary List `Source provider` options
34
+ * @param {number} [page] Number of the page to be retrieved
35
+ * @param {number} [perPage] Number of items returned per page
36
+ */
37
+ listStaticSourceProviderOptions(page, perPage) {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ let queryString = '';
40
+ const queryParams = { page: page, per_page: perPage, };
41
+ for (const key in queryParams) {
42
+ if (queryParams[key] === undefined || queryParams[key] === null) {
43
+ continue;
44
+ }
45
+ queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
46
+ }
47
+ const requestUrl = '/static/source-provider-options' + (queryString ? `?${queryString}` : '');
48
+ const response = yield this.get(requestUrl);
49
+ return new ApiResponse_1.ApiResponse(response);
50
+ });
51
+ }
52
+ }
53
+ exports.StaticDataSourceProviderOptionsApiService = StaticDataSourceProviderOptionsApiService;
@@ -109,6 +109,7 @@ export * from './language';
109
109
  export * from './language-runtime';
110
110
  export * from './language-runtime-engine-versions';
111
111
  export * from './language-runtime-framework';
112
+ export * from './language-runtime-framework-commands';
112
113
  export * from './language-runtime-framework-defaults';
113
114
  export * from './linked-resource-data';
114
115
  export * from './log';
@@ -200,6 +201,7 @@ export * from './source-provider';
200
201
  export * from './source-provider-create';
201
202
  export * from './source-provider-displayable-name';
202
203
  export * from './source-provider-name';
204
+ export * from './source-provider-options-relation';
203
205
  export * from './source-provider-relation';
204
206
  export * from './source-type';
205
207
  export * from './ssh-key';
@@ -125,6 +125,7 @@ __exportStar(require("./language"), exports);
125
125
  __exportStar(require("./language-runtime"), exports);
126
126
  __exportStar(require("./language-runtime-engine-versions"), exports);
127
127
  __exportStar(require("./language-runtime-framework"), exports);
128
+ __exportStar(require("./language-runtime-framework-commands"), exports);
128
129
  __exportStar(require("./language-runtime-framework-defaults"), exports);
129
130
  __exportStar(require("./linked-resource-data"), exports);
130
131
  __exportStar(require("./log"), exports);
@@ -216,6 +217,7 @@ __exportStar(require("./source-provider"), exports);
216
217
  __exportStar(require("./source-provider-create"), exports);
217
218
  __exportStar(require("./source-provider-displayable-name"), exports);
218
219
  __exportStar(require("./source-provider-name"), exports);
220
+ __exportStar(require("./source-provider-options-relation"), exports);
219
221
  __exportStar(require("./source-provider-relation"), exports);
220
222
  __exportStar(require("./source-type"), exports);
221
223
  __exportStar(require("./ssh-key"), exports);
@@ -0,0 +1,30 @@
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
+ * List of available commands to be chosen by user to be executed when building and deploying an application of a given stack
14
+ * @export
15
+ * @interface LanguageRuntimeFrameworkCommands
16
+ */
17
+ export interface LanguageRuntimeFrameworkCommands {
18
+ /**
19
+ * Available build command options for the stack
20
+ * @type {Array<string>}
21
+ * @memberof LanguageRuntimeFrameworkCommands
22
+ */
23
+ build?: Array<string>;
24
+ /**
25
+ * Available dependencies installation command options for the stack
26
+ * @type {Array<string>}
27
+ * @memberof LanguageRuntimeFrameworkCommands
28
+ */
29
+ dependencies?: Array<string>;
30
+ }
@@ -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 { LanguageRuntimeFrameworkCommands } from './language-runtime-framework-commands';
12
13
  /**
13
14
  * Default values that apply to apps created in devopness using this framework
14
15
  * @export
@@ -69,12 +70,6 @@ export interface LanguageRuntimeFrameworkDefaults {
69
70
  * @memberof LanguageRuntimeFrameworkDefaults
70
71
  */
71
72
  listening_address?: string;
72
- /**
73
- * The optional command that should be executed once during deployment to build the source code and get the application in a ready state.
74
- * @type {string}
75
- * @memberof LanguageRuntimeFrameworkDefaults
76
- */
77
- build_command?: string;
78
73
  /**
79
74
  * The number of deployment history, logs and artifacts to keep stored in both devopness servers and user\'s servers
80
75
  * @type {number}
@@ -82,15 +77,9 @@ export interface LanguageRuntimeFrameworkDefaults {
82
77
  */
83
78
  deployments_keep?: number;
84
79
  /**
85
- * Indicates if at deployment time we should execute package manager command to install dependencies used in development mode
86
- * @type {boolean}
87
- * @memberof LanguageRuntimeFrameworkDefaults
88
- */
89
- install_dependencies_dev?: boolean;
90
- /**
91
- * Indicates if at deployment time we should execute package manager command to install dependencies used in production mode
92
- * @type {boolean}
80
+ *
81
+ * @type {LanguageRuntimeFrameworkCommands}
93
82
  * @memberof LanguageRuntimeFrameworkDefaults
94
83
  */
95
- install_dependencies_prod?: boolean;
84
+ commands?: LanguageRuntimeFrameworkCommands;
96
85
  }
@@ -0,0 +1,36 @@
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 SourceProviderOptionsRelation
16
+ */
17
+ export interface SourceProviderOptionsRelation {
18
+ /**
19
+ * Name of source provider
20
+ * @type {string}
21
+ * @memberof SourceProviderOptionsRelation
22
+ */
23
+ provider_name: string;
24
+ /**
25
+ * Human readable version of the provider name
26
+ * @type {string}
27
+ * @memberof SourceProviderOptionsRelation
28
+ */
29
+ provider_name_human_readable: string;
30
+ /**
31
+ * URL of the connection
32
+ * @type {string}
33
+ * @memberof SourceProviderOptionsRelation
34
+ */
35
+ connect_url: string;
36
+ }
@@ -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 @@ import { StaticDataPermissionsApiService } from "../api/generated/apis/static-da
9
9
  import { StaticDataResourceTypesApiService } from "../api/generated/apis/static-data-resource-types-api";
10
10
  import { StaticDataServerOptionsApiService } from "../api/generated/apis/static-data-server-options-api";
11
11
  import { StaticDataServiceOptionsApiService } from "../api/generated/apis/static-data-service-options-api";
12
+ import { StaticDataSourceProviderOptionsApiService } from "../api/generated/apis/static-data-source-provider-options-api";
12
13
  import { StaticDataUserProfileOptionsApiService } from "../api/generated/apis/static-data-user-profile-options-api";
13
14
  export declare class StaticService {
14
15
  applicationOptions: StaticDataApplicationOptionsApiService;
@@ -22,5 +23,6 @@ export declare class StaticService {
22
23
  resourceTypes: StaticDataResourceTypesApiService;
23
24
  serverOptions: StaticDataServerOptionsApiService;
24
25
  serviceOptions: StaticDataServiceOptionsApiService;
26
+ sourceProviderOptions: StaticDataSourceProviderOptionsApiService;
25
27
  userProfileOptions: StaticDataUserProfileOptionsApiService;
26
28
  }
@@ -12,6 +12,7 @@ const static_data_permissions_api_1 = require("../api/generated/apis/static-data
12
12
  const static_data_resource_types_api_1 = require("../api/generated/apis/static-data-resource-types-api");
13
13
  const static_data_server_options_api_1 = require("../api/generated/apis/static-data-server-options-api");
14
14
  const static_data_service_options_api_1 = require("../api/generated/apis/static-data-service-options-api");
15
+ const static_data_source_provider_options_api_1 = require("../api/generated/apis/static-data-source-provider-options-api");
15
16
  const static_data_user_profile_options_api_1 = require("../api/generated/apis/static-data-user-profile-options-api");
16
17
  class StaticService {
17
18
  constructor() {
@@ -26,6 +27,7 @@ class StaticService {
26
27
  this.resourceTypes = new static_data_resource_types_api_1.StaticDataResourceTypesApiService();
27
28
  this.serverOptions = new static_data_server_options_api_1.StaticDataServerOptionsApiService();
28
29
  this.serviceOptions = new static_data_service_options_api_1.StaticDataServiceOptionsApiService();
30
+ this.sourceProviderOptions = new static_data_source_provider_options_api_1.StaticDataSourceProviderOptionsApiService();
29
31
  this.userProfileOptions = new static_data_user_profile_options_api_1.StaticDataUserProfileOptionsApiService();
30
32
  }
31
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.120.0",
3
+ "version": "2.122.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },