@ourskyai/platform-api 1.3.2295 → 1.3.2298
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/README.md +2 -2
- package/api.ts +19 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +11 -3
- package/dist/api.js +11 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +11 -3
- package/dist/esm/api.js +12 -7
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @ourskyai/platform-api@1.3.
|
|
1
|
+
## @ourskyai/platform-api@1.3.2298
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @ourskyai/platform-api@1.3.
|
|
39
|
+
npm install @ourskyai/platform-api@1.3.2298 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2625,10 +2625,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2625
2625
|
/**
|
|
2626
2626
|
* Get node diagnostic tasks.
|
|
2627
2627
|
* @param {string} nodeId
|
|
2628
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
2628
2629
|
* @param {*} [options] Override http request option.
|
|
2629
2630
|
* @throws {RequiredError}
|
|
2630
2631
|
*/
|
|
2631
|
-
v1GetNodeDiagnosticTasks: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2632
|
+
v1GetNodeDiagnosticTasks: async (nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2632
2633
|
// verify required parameter 'nodeId' is not null or undefined
|
|
2633
2634
|
assertParamExists('v1GetNodeDiagnosticTasks', 'nodeId', nodeId)
|
|
2634
2635
|
const localVarPath = `/v1/node-diagnostic-tasks`;
|
|
@@ -2653,6 +2654,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2653
2654
|
localVarQueryParameter['nodeId'] = nodeId;
|
|
2654
2655
|
}
|
|
2655
2656
|
|
|
2657
|
+
if (supportedDiagnostics) {
|
|
2658
|
+
localVarQueryParameter['supportedDiagnostics'] = supportedDiagnostics.join(COLLECTION_FORMATS.csv);
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2656
2661
|
|
|
2657
2662
|
|
|
2658
2663
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3371,11 +3376,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3371
3376
|
/**
|
|
3372
3377
|
* Get node diagnostic tasks.
|
|
3373
3378
|
* @param {string} nodeId
|
|
3379
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
3374
3380
|
* @param {*} [options] Override http request option.
|
|
3375
3381
|
* @throws {RequiredError}
|
|
3376
3382
|
*/
|
|
3377
|
-
async v1GetNodeDiagnosticTasks(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>> {
|
|
3378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
|
|
3383
|
+
async v1GetNodeDiagnosticTasks(nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>> {
|
|
3384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options);
|
|
3379
3385
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3380
3386
|
},
|
|
3381
3387
|
/**
|
|
@@ -3660,7 +3666,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3660
3666
|
* @throws {RequiredError}
|
|
3661
3667
|
*/
|
|
3662
3668
|
v1GetNodeDiagnosticTasks(requestParameters: DefaultApiV1GetNodeDiagnosticTasksRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1NodeDiagnosticType>> {
|
|
3663
|
-
return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
3669
|
+
return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(axios, basePath));
|
|
3664
3670
|
},
|
|
3665
3671
|
/**
|
|
3666
3672
|
* Get node properties.
|
|
@@ -4038,6 +4044,13 @@ export interface DefaultApiV1GetNodeDiagnosticTasksRequest {
|
|
|
4038
4044
|
* @memberof DefaultApiV1GetNodeDiagnosticTasks
|
|
4039
4045
|
*/
|
|
4040
4046
|
readonly nodeId: string
|
|
4047
|
+
|
|
4048
|
+
/**
|
|
4049
|
+
*
|
|
4050
|
+
* @type {Array<V1NodeDiagnosticType>}
|
|
4051
|
+
* @memberof DefaultApiV1GetNodeDiagnosticTasks
|
|
4052
|
+
*/
|
|
4053
|
+
readonly supportedDiagnostics?: Array<V1NodeDiagnosticType>
|
|
4041
4054
|
}
|
|
4042
4055
|
|
|
4043
4056
|
/**
|
|
@@ -4401,7 +4414,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
4401
4414
|
* @memberof DefaultApi
|
|
4402
4415
|
*/
|
|
4403
4416
|
public v1GetNodeDiagnosticTasks(requestParameters: DefaultApiV1GetNodeDiagnosticTasksRequest, options?: AxiosRequestConfig) {
|
|
4404
|
-
return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
4417
|
+
return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(this.axios, this.basePath));
|
|
4405
4418
|
}
|
|
4406
4419
|
|
|
4407
4420
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2002,10 +2002,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2002
2002
|
/**
|
|
2003
2003
|
* Get node diagnostic tasks.
|
|
2004
2004
|
* @param {string} nodeId
|
|
2005
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
2005
2006
|
* @param {*} [options] Override http request option.
|
|
2006
2007
|
* @throws {RequiredError}
|
|
2007
2008
|
*/
|
|
2008
|
-
v1GetNodeDiagnosticTasks: (nodeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2009
|
+
v1GetNodeDiagnosticTasks: (nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2009
2010
|
/**
|
|
2010
2011
|
* Get node properties.
|
|
2011
2012
|
* @param {string} nodeId
|
|
@@ -2218,10 +2219,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2218
2219
|
/**
|
|
2219
2220
|
* Get node diagnostic tasks.
|
|
2220
2221
|
* @param {string} nodeId
|
|
2222
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
2221
2223
|
* @param {*} [options] Override http request option.
|
|
2222
2224
|
* @throws {RequiredError}
|
|
2223
2225
|
*/
|
|
2224
|
-
v1GetNodeDiagnosticTasks(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
|
|
2226
|
+
v1GetNodeDiagnosticTasks(nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
|
|
2225
2227
|
/**
|
|
2226
2228
|
* Get node properties.
|
|
2227
2229
|
* @param {string} nodeId
|
|
@@ -2758,6 +2760,12 @@ export interface DefaultApiV1GetNodeDiagnosticTasksRequest {
|
|
|
2758
2760
|
* @memberof DefaultApiV1GetNodeDiagnosticTasks
|
|
2759
2761
|
*/
|
|
2760
2762
|
readonly nodeId: string;
|
|
2763
|
+
/**
|
|
2764
|
+
*
|
|
2765
|
+
* @type {Array<V1NodeDiagnosticType>}
|
|
2766
|
+
* @memberof DefaultApiV1GetNodeDiagnosticTasks
|
|
2767
|
+
*/
|
|
2768
|
+
readonly supportedDiagnostics?: Array<V1NodeDiagnosticType>;
|
|
2761
2769
|
}
|
|
2762
2770
|
/**
|
|
2763
2771
|
* Request parameters for v1GetNodeProperties operation in DefaultApi.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -689,10 +689,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
689
689
|
/**
|
|
690
690
|
* Get node diagnostic tasks.
|
|
691
691
|
* @param {string} nodeId
|
|
692
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
692
693
|
* @param {*} [options] Override http request option.
|
|
693
694
|
* @throws {RequiredError}
|
|
694
695
|
*/
|
|
695
|
-
v1GetNodeDiagnosticTasks: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
696
|
+
v1GetNodeDiagnosticTasks: (nodeId, supportedDiagnostics, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
696
697
|
// verify required parameter 'nodeId' is not null or undefined
|
|
697
698
|
(0, common_1.assertParamExists)('v1GetNodeDiagnosticTasks', 'nodeId', nodeId);
|
|
698
699
|
const localVarPath = `/v1/node-diagnostic-tasks`;
|
|
@@ -712,6 +713,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
712
713
|
if (nodeId !== undefined) {
|
|
713
714
|
localVarQueryParameter['nodeId'] = nodeId;
|
|
714
715
|
}
|
|
716
|
+
if (supportedDiagnostics) {
|
|
717
|
+
localVarQueryParameter['supportedDiagnostics'] = supportedDiagnostics.join(base_1.COLLECTION_FORMATS.csv);
|
|
718
|
+
}
|
|
715
719
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
716
720
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
717
721
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1352,12 +1356,13 @@ const DefaultApiFp = function (configuration) {
|
|
|
1352
1356
|
/**
|
|
1353
1357
|
* Get node diagnostic tasks.
|
|
1354
1358
|
* @param {string} nodeId
|
|
1359
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
1355
1360
|
* @param {*} [options] Override http request option.
|
|
1356
1361
|
* @throws {RequiredError}
|
|
1357
1362
|
*/
|
|
1358
|
-
v1GetNodeDiagnosticTasks(nodeId, options) {
|
|
1363
|
+
v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options) {
|
|
1359
1364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1360
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
|
|
1365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options);
|
|
1361
1366
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1362
1367
|
});
|
|
1363
1368
|
},
|
|
@@ -1669,7 +1674,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1669
1674
|
* @throws {RequiredError}
|
|
1670
1675
|
*/
|
|
1671
1676
|
v1GetNodeDiagnosticTasks(requestParameters, options) {
|
|
1672
|
-
return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
1677
|
+
return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(axios, basePath));
|
|
1673
1678
|
},
|
|
1674
1679
|
/**
|
|
1675
1680
|
* Get node properties.
|
|
@@ -1954,7 +1959,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1954
1959
|
* @memberof DefaultApi
|
|
1955
1960
|
*/
|
|
1956
1961
|
v1GetNodeDiagnosticTasks(requestParameters, options) {
|
|
1957
|
-
return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
1962
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(this.axios, this.basePath));
|
|
1958
1963
|
}
|
|
1959
1964
|
/**
|
|
1960
1965
|
* Get node properties.
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2002,10 +2002,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2002
2002
|
/**
|
|
2003
2003
|
* Get node diagnostic tasks.
|
|
2004
2004
|
* @param {string} nodeId
|
|
2005
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
2005
2006
|
* @param {*} [options] Override http request option.
|
|
2006
2007
|
* @throws {RequiredError}
|
|
2007
2008
|
*/
|
|
2008
|
-
v1GetNodeDiagnosticTasks: (nodeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2009
|
+
v1GetNodeDiagnosticTasks: (nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2009
2010
|
/**
|
|
2010
2011
|
* Get node properties.
|
|
2011
2012
|
* @param {string} nodeId
|
|
@@ -2218,10 +2219,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2218
2219
|
/**
|
|
2219
2220
|
* Get node diagnostic tasks.
|
|
2220
2221
|
* @param {string} nodeId
|
|
2222
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
2221
2223
|
* @param {*} [options] Override http request option.
|
|
2222
2224
|
* @throws {RequiredError}
|
|
2223
2225
|
*/
|
|
2224
|
-
v1GetNodeDiagnosticTasks(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
|
|
2226
|
+
v1GetNodeDiagnosticTasks(nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
|
|
2225
2227
|
/**
|
|
2226
2228
|
* Get node properties.
|
|
2227
2229
|
* @param {string} nodeId
|
|
@@ -2758,6 +2760,12 @@ export interface DefaultApiV1GetNodeDiagnosticTasksRequest {
|
|
|
2758
2760
|
* @memberof DefaultApiV1GetNodeDiagnosticTasks
|
|
2759
2761
|
*/
|
|
2760
2762
|
readonly nodeId: string;
|
|
2763
|
+
/**
|
|
2764
|
+
*
|
|
2765
|
+
* @type {Array<V1NodeDiagnosticType>}
|
|
2766
|
+
* @memberof DefaultApiV1GetNodeDiagnosticTasks
|
|
2767
|
+
*/
|
|
2768
|
+
readonly supportedDiagnostics?: Array<V1NodeDiagnosticType>;
|
|
2761
2769
|
}
|
|
2762
2770
|
/**
|
|
2763
2771
|
* Request parameters for v1GetNodeProperties operation in DefaultApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ import globalAxios from 'axios';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import { BASE_PATH, BaseAPI } from './base';
|
|
28
|
+
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI } from './base';
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @export
|
|
@@ -686,10 +686,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
686
686
|
/**
|
|
687
687
|
* Get node diagnostic tasks.
|
|
688
688
|
* @param {string} nodeId
|
|
689
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
689
690
|
* @param {*} [options] Override http request option.
|
|
690
691
|
* @throws {RequiredError}
|
|
691
692
|
*/
|
|
692
|
-
v1GetNodeDiagnosticTasks: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
693
|
+
v1GetNodeDiagnosticTasks: (nodeId, supportedDiagnostics, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
693
694
|
// verify required parameter 'nodeId' is not null or undefined
|
|
694
695
|
assertParamExists('v1GetNodeDiagnosticTasks', 'nodeId', nodeId);
|
|
695
696
|
const localVarPath = `/v1/node-diagnostic-tasks`;
|
|
@@ -709,6 +710,9 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
709
710
|
if (nodeId !== undefined) {
|
|
710
711
|
localVarQueryParameter['nodeId'] = nodeId;
|
|
711
712
|
}
|
|
713
|
+
if (supportedDiagnostics) {
|
|
714
|
+
localVarQueryParameter['supportedDiagnostics'] = supportedDiagnostics.join(COLLECTION_FORMATS.csv);
|
|
715
|
+
}
|
|
712
716
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
713
717
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
714
718
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1348,12 +1352,13 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1348
1352
|
/**
|
|
1349
1353
|
* Get node diagnostic tasks.
|
|
1350
1354
|
* @param {string} nodeId
|
|
1355
|
+
* @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
|
|
1351
1356
|
* @param {*} [options] Override http request option.
|
|
1352
1357
|
* @throws {RequiredError}
|
|
1353
1358
|
*/
|
|
1354
|
-
v1GetNodeDiagnosticTasks(nodeId, options) {
|
|
1359
|
+
v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options) {
|
|
1355
1360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1356
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
|
|
1361
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options);
|
|
1357
1362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1358
1363
|
});
|
|
1359
1364
|
},
|
|
@@ -1664,7 +1669,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1664
1669
|
* @throws {RequiredError}
|
|
1665
1670
|
*/
|
|
1666
1671
|
v1GetNodeDiagnosticTasks(requestParameters, options) {
|
|
1667
|
-
return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
1672
|
+
return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(axios, basePath));
|
|
1668
1673
|
},
|
|
1669
1674
|
/**
|
|
1670
1675
|
* Get node properties.
|
|
@@ -1948,7 +1953,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
1948
1953
|
* @memberof DefaultApi
|
|
1949
1954
|
*/
|
|
1950
1955
|
v1GetNodeDiagnosticTasks(requestParameters, options) {
|
|
1951
|
-
return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
1956
|
+
return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(this.axios, this.basePath));
|
|
1952
1957
|
}
|
|
1953
1958
|
/**
|
|
1954
1959
|
* Get node properties.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2298
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|