@devopness/sdk-js 3.6.2 → 3.6.3
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/applications-api.d.ts +3 -1
- package/dist/api/generated/apis/applications-api.js +3 -1
- package/dist/api/generated/models/index.d.ts +1 -0
- package/dist/api/generated/models/index.js +1 -0
- package/dist/api/generated/models/list-environment-applications-filter-parameter.d.ts +24 -0
- package/dist/api/generated/models/list-environment-applications-filter-parameter.js +14 -0
- package/package.json +2 -2
|
@@ -18,6 +18,7 @@ import { ApplicationEnvironmentCreate } from '../../generated/models';
|
|
|
18
18
|
import { ApplicationRelation } from '../../generated/models';
|
|
19
19
|
import { ApplicationUpdate } from '../../generated/models';
|
|
20
20
|
import { DeploymentApplicationCreate } from '../../generated/models';
|
|
21
|
+
import { ListEnvironmentApplicationsFilterParameter } from '../../generated/models';
|
|
21
22
|
/**
|
|
22
23
|
* ApplicationsApiService - Auto-generated
|
|
23
24
|
*/
|
|
@@ -61,8 +62,9 @@ export declare class ApplicationsApiService extends ApiBaseService {
|
|
|
61
62
|
* @param {number} environmentId The ID of the environment.
|
|
62
63
|
* @param {number} [page] Number of the page to be retrieved
|
|
63
64
|
* @param {number} [perPage] Number of items returned per page
|
|
65
|
+
* @param {ListEnvironmentApplicationsFilterParameter} [filter] Filter the results using the available fields. Multiple filters can be combined. Example: `?filter[resource_type]=application&filter[status]=active`
|
|
64
66
|
*/
|
|
65
|
-
listEnvironmentApplications(environmentId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<ApplicationRelation>>>;
|
|
67
|
+
listEnvironmentApplications(environmentId: number, page?: number, perPage?: number, filter?: ListEnvironmentApplicationsFilterParameter): Promise<ApiResponse<Array<ApplicationRelation>>>;
|
|
66
68
|
/**
|
|
67
69
|
*
|
|
68
70
|
* @summary Update an existing application
|
|
@@ -123,8 +123,9 @@ class ApplicationsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
123
123
|
* @param {number} environmentId The ID of the environment.
|
|
124
124
|
* @param {number} [page] Number of the page to be retrieved
|
|
125
125
|
* @param {number} [perPage] Number of items returned per page
|
|
126
|
+
* @param {ListEnvironmentApplicationsFilterParameter} [filter] Filter the results using the available fields. Multiple filters can be combined. Example: `?filter[resource_type]=application&filter[status]=active`
|
|
126
127
|
*/
|
|
127
|
-
listEnvironmentApplications(environmentId, page, perPage) {
|
|
128
|
+
listEnvironmentApplications(environmentId, page, perPage, filter) {
|
|
128
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
129
130
|
if (environmentId === null || environmentId === undefined) {
|
|
130
131
|
throw new Exceptions_1.ArgumentNullException('environmentId', 'listEnvironmentApplications');
|
|
@@ -132,6 +133,7 @@ class ApplicationsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
132
133
|
let queryString = (0, utils_1.parseQueryString)({
|
|
133
134
|
'page': page,
|
|
134
135
|
'per_page': perPage,
|
|
136
|
+
'filter': filter,
|
|
135
137
|
});
|
|
136
138
|
const requestUrl = '/environments/{environment_id}/applications' + (queryString ? `?${queryString}` : '');
|
|
137
139
|
const response = yield this.get(requestUrl.replace(`{${"environment_id"}}`, encodeURIComponent(String(environmentId))));
|
|
@@ -143,6 +143,7 @@ export * from './linked-resource-summary-field';
|
|
|
143
143
|
export * from './list-actions-filter-parameter';
|
|
144
144
|
export * from './list-environment-actions-by-resource-type-filter-parameter';
|
|
145
145
|
export * from './list-environment-actions-filter-parameter';
|
|
146
|
+
export * from './list-environment-applications-filter-parameter';
|
|
146
147
|
export * from './log';
|
|
147
148
|
export * from './member';
|
|
148
149
|
export * from './member-relation';
|
|
@@ -159,6 +159,7 @@ __exportStar(require("./linked-resource-summary-field"), exports);
|
|
|
159
159
|
__exportStar(require("./list-actions-filter-parameter"), exports);
|
|
160
160
|
__exportStar(require("./list-environment-actions-by-resource-type-filter-parameter"), exports);
|
|
161
161
|
__exportStar(require("./list-environment-actions-filter-parameter"), exports);
|
|
162
|
+
__exportStar(require("./list-environment-applications-filter-parameter"), exports);
|
|
162
163
|
__exportStar(require("./log"), exports);
|
|
163
164
|
__exportStar(require("./member"), exports);
|
|
164
165
|
__exportStar(require("./member-relation"), 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 ListEnvironmentApplicationsFilterParameter
|
|
16
|
+
*/
|
|
17
|
+
export interface ListEnvironmentApplicationsFilterParameter {
|
|
18
|
+
/**
|
|
19
|
+
* Search applications by name. Case insensitive. Example: `?filter[name]=app`
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListEnvironmentApplicationsFilterParameter
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
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 });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@devopness/sdk-js",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@openapitools/openapi-generator-cli": "^2.41.0",
|
|
65
65
|
"axios-mock-adapter": "^2.1.0",
|
|
66
66
|
"husky": "9.1.7",
|
|
67
|
-
"vite-plus": "0.3.
|
|
67
|
+
"vite-plus": "0.3.1",
|
|
68
68
|
"typescript": "^7.0.2",
|
|
69
69
|
"typedoc": "^0.28.20"
|
|
70
70
|
},
|