@devopness/sdk-js 2.119.0 → 2.121.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;
@@ -13,7 +13,6 @@ import { ActionType } from './action-type';
13
13
  import { HookIncomingSettings } from './hook-incoming-settings';
14
14
  import { HookOutgoingSettings } from './hook-outgoing-settings';
15
15
  import { HookTriggerWhen } from './hook-trigger-when';
16
- import { ResourceType } from './resource-type';
17
16
  /**
18
17
  *
19
18
  * @export
@@ -26,18 +25,6 @@ export interface HookUpdate {
26
25
  * @memberof HookUpdate
27
26
  */
28
27
  name: string;
29
- /**
30
- *
31
- * @type {ResourceType}
32
- * @memberof HookUpdate
33
- */
34
- resource_type?: ResourceType;
35
- /**
36
- * The hooks\' resource ID.
37
- * @type {number}
38
- * @memberof HookUpdate
39
- */
40
- resource_id?: number;
41
28
  /**
42
29
  *
43
30
  * @type {ActionType}
@@ -200,6 +200,7 @@ export * from './source-provider';
200
200
  export * from './source-provider-create';
201
201
  export * from './source-provider-displayable-name';
202
202
  export * from './source-provider-name';
203
+ export * from './source-provider-options-relation';
203
204
  export * from './source-provider-relation';
204
205
  export * from './source-type';
205
206
  export * from './ssh-key';
@@ -216,6 +216,7 @@ __exportStar(require("./source-provider"), exports);
216
216
  __exportStar(require("./source-provider-create"), exports);
217
217
  __exportStar(require("./source-provider-displayable-name"), exports);
218
218
  __exportStar(require("./source-provider-name"), exports);
219
+ __exportStar(require("./source-provider-options-relation"), exports);
219
220
  __exportStar(require("./source-provider-relation"), exports);
220
221
  __exportStar(require("./source-type"), exports);
221
222
  __exportStar(require("./ssh-key"), exports);
@@ -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.119.0",
3
+ "version": "2.121.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },