@devopness/sdk-js 2.164.3 → 2.164.5
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/variables-api.d.ts +3 -1
- package/dist/api/generated/apis/variables-api.js +4 -2
- package/dist/api/generated/models/action-retry-response.d.ts +2 -2
- package/dist/api/generated/models/action-target.d.ts +10 -10
- package/dist/api/generated/models/action.d.ts +2 -2
- package/dist/api/generated/models/variable-relation.d.ts +1 -1
- package/dist/api/generated/models/variable.d.ts +1 -1
- package/package.json +11 -11
|
@@ -46,8 +46,10 @@ export declare class VariablesApiService extends ApiBaseService {
|
|
|
46
46
|
* @param {string} resourceType The resource type to get variables from.
|
|
47
47
|
* @param {number} [page] Number of the page to be retrieved
|
|
48
48
|
* @param {number} [perPage] Number of items returned per page
|
|
49
|
+
* @param {boolean} [includeVirtualVariables] If true, include all `virtual variables` in the list. Defaults to true.
|
|
50
|
+
* @param {string} [variableTarget] Filter by variable\'s target.
|
|
49
51
|
*/
|
|
50
|
-
listVariablesByResourceType(resourceId: number, resourceType: string, page?: number, perPage?: number): Promise<ApiResponse<Array<VariableRelation>>>;
|
|
52
|
+
listVariablesByResourceType(resourceId: number, resourceType: string, page?: number, perPage?: number, includeVirtualVariables?: boolean, variableTarget?: string): Promise<ApiResponse<Array<VariableRelation>>>;
|
|
51
53
|
/**
|
|
52
54
|
*
|
|
53
55
|
* @summary Update an existing variable
|
|
@@ -92,8 +92,10 @@ class VariablesApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
92
92
|
* @param {string} resourceType The resource type to get variables from.
|
|
93
93
|
* @param {number} [page] Number of the page to be retrieved
|
|
94
94
|
* @param {number} [perPage] Number of items returned per page
|
|
95
|
+
* @param {boolean} [includeVirtualVariables] If true, include all `virtual variables` in the list. Defaults to true.
|
|
96
|
+
* @param {string} [variableTarget] Filter by variable\'s target.
|
|
95
97
|
*/
|
|
96
|
-
listVariablesByResourceType(resourceId, resourceType, page, perPage) {
|
|
98
|
+
listVariablesByResourceType(resourceId, resourceType, page, perPage, includeVirtualVariables, variableTarget) {
|
|
97
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
98
100
|
if (resourceId === null || resourceId === undefined) {
|
|
99
101
|
throw new Exceptions_1.ArgumentNullException('resourceId', 'listVariablesByResourceType');
|
|
@@ -102,7 +104,7 @@ class VariablesApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
102
104
|
throw new Exceptions_1.ArgumentNullException('resourceType', 'listVariablesByResourceType');
|
|
103
105
|
}
|
|
104
106
|
let queryString = '';
|
|
105
|
-
const queryParams = { page: page, per_page: perPage, };
|
|
107
|
+
const queryParams = { page: page, per_page: perPage, include_virtual_variables: includeVirtualVariables, variable_target: variableTarget, };
|
|
106
108
|
for (const key in queryParams) {
|
|
107
109
|
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
108
110
|
continue;
|
|
@@ -135,13 +135,13 @@ export interface ActionRetryResponse {
|
|
|
135
135
|
* @type {EnvironmentRelation}
|
|
136
136
|
* @memberof ActionRetryResponse
|
|
137
137
|
*/
|
|
138
|
-
environment
|
|
138
|
+
environment: EnvironmentRelation | null;
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
141
|
* @type {ProjectRelation}
|
|
142
142
|
* @memberof ActionRetryResponse
|
|
143
143
|
*/
|
|
144
|
-
project
|
|
144
|
+
project: ProjectRelation | null;
|
|
145
145
|
/**
|
|
146
146
|
* List of actions dispatched to cloud resource targets
|
|
147
147
|
* @type {Array<ActionTarget>}
|
|
@@ -24,13 +24,13 @@ export interface ActionTarget {
|
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof ActionTarget
|
|
26
26
|
*/
|
|
27
|
-
id
|
|
27
|
+
id: number;
|
|
28
28
|
/**
|
|
29
29
|
* The type of the cloud resource on which the action must be performed
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof ActionTarget
|
|
32
32
|
*/
|
|
33
|
-
resource_type
|
|
33
|
+
resource_type: string;
|
|
34
34
|
/**
|
|
35
35
|
* Human readable version of the resource type
|
|
36
36
|
* @type {string}
|
|
@@ -42,13 +42,13 @@ export interface ActionTarget {
|
|
|
42
42
|
* @type {number}
|
|
43
43
|
* @memberof ActionTarget
|
|
44
44
|
*/
|
|
45
|
-
resource_id
|
|
45
|
+
resource_id: number;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {ActionStatus}
|
|
49
49
|
* @memberof ActionTarget
|
|
50
50
|
*/
|
|
51
|
-
status
|
|
51
|
+
status: ActionStatus;
|
|
52
52
|
/**
|
|
53
53
|
* Human readable version of the action status
|
|
54
54
|
* @type {string}
|
|
@@ -60,7 +60,7 @@ export interface ActionTarget {
|
|
|
60
60
|
* @type {ActionStatusReasonCode}
|
|
61
61
|
* @memberof ActionTarget
|
|
62
62
|
*/
|
|
63
|
-
status_reason_code
|
|
63
|
+
status_reason_code: ActionStatusReasonCode;
|
|
64
64
|
/**
|
|
65
65
|
* Human readable version of the status reason code
|
|
66
66
|
* @type {string}
|
|
@@ -72,13 +72,13 @@ export interface ActionTarget {
|
|
|
72
72
|
* @type {number}
|
|
73
73
|
* @memberof ActionTarget
|
|
74
74
|
*/
|
|
75
|
-
total_steps
|
|
75
|
+
total_steps: number | null;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {ActionStep}
|
|
79
79
|
* @memberof ActionTarget
|
|
80
80
|
*/
|
|
81
|
-
current_step
|
|
81
|
+
current_step: ActionStep | null;
|
|
82
82
|
/**
|
|
83
83
|
* The list of action steps
|
|
84
84
|
* @type {Array<ActionStep>}
|
|
@@ -90,7 +90,7 @@ export interface ActionTarget {
|
|
|
90
90
|
* @type {ActionTargetData}
|
|
91
91
|
* @memberof ActionTarget
|
|
92
92
|
*/
|
|
93
|
-
resource_data
|
|
93
|
+
resource_data: ActionTargetData | null;
|
|
94
94
|
/**
|
|
95
95
|
* The date and time when the action started execution (i.e., left the `pending/queued` status)
|
|
96
96
|
* @type {string}
|
|
@@ -108,11 +108,11 @@ export interface ActionTarget {
|
|
|
108
108
|
* @type {string}
|
|
109
109
|
* @memberof ActionTarget
|
|
110
110
|
*/
|
|
111
|
-
created_at
|
|
111
|
+
created_at: string;
|
|
112
112
|
/**
|
|
113
113
|
* The date and time when the record was last updated
|
|
114
114
|
* @type {string}
|
|
115
115
|
* @memberof ActionTarget
|
|
116
116
|
*/
|
|
117
|
-
updated_at
|
|
117
|
+
updated_at: string;
|
|
118
118
|
}
|
|
@@ -135,13 +135,13 @@ export interface Action {
|
|
|
135
135
|
* @type {EnvironmentRelation}
|
|
136
136
|
* @memberof Action
|
|
137
137
|
*/
|
|
138
|
-
environment
|
|
138
|
+
environment: EnvironmentRelation | null;
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
141
|
* @type {ProjectRelation}
|
|
142
142
|
* @memberof Action
|
|
143
143
|
*/
|
|
144
|
-
project
|
|
144
|
+
project: ProjectRelation | null;
|
|
145
145
|
/**
|
|
146
146
|
* List of actions dispatched to cloud resource targets
|
|
147
147
|
* @type {Array<ActionTarget>}
|
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": "2.164.
|
|
4
|
+
"version": "2.164.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -51,22 +51,22 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/devopness/devopness#readme",
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@eslint/js": "^9.
|
|
55
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
56
|
-
"@types/jest": "^
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
54
|
+
"@eslint/js": "^9.30.0",
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.21.0",
|
|
56
|
+
"@types/jest": "^30.0.0",
|
|
57
|
+
"@typescript-eslint/parser": "^8.36.0",
|
|
58
58
|
"axios-mock-adapter": "^2.1.0",
|
|
59
|
-
"eslint": "^9.
|
|
60
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
59
|
+
"eslint": "^9.30.1",
|
|
60
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
61
61
|
"eslint-plugin-import": "^2.32.0",
|
|
62
|
-
"eslint-plugin-n": "^17.
|
|
62
|
+
"eslint-plugin-n": "^17.21.0",
|
|
63
63
|
"eslint-plugin-promise": "^7.2.1",
|
|
64
64
|
"husky": "9.1.7",
|
|
65
|
-
"jest": "^30.0.
|
|
65
|
+
"jest": "^30.0.4",
|
|
66
66
|
"ts-jest": "^29.4.0",
|
|
67
|
-
"typedoc": "^0.28.
|
|
67
|
+
"typedoc": "^0.28.7",
|
|
68
68
|
"typescript": "^5.8.3",
|
|
69
|
-
"typescript-eslint": "^8.
|
|
69
|
+
"typescript-eslint": "^8.36.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@types/parse-link-header": "^2.0.3",
|