@wandelbots/nova-api 25.4.0-dev.2 → 25.4.0-dev.20
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/package.json +1 -1
- package/v2/api.d.ts +241 -27
- package/v2/api.js +307 -1
- package/v2/api.js.map +1 -1
- package/v2/api.ts +432 -26
package/v2/api.js
CHANGED
|
@@ -16,7 +16,7 @@ import globalAxios from 'axios';
|
|
|
16
16
|
// @ts-ignore
|
|
17
17
|
import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
18
18
|
// @ts-ignore
|
|
19
|
-
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
19
|
+
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from './base';
|
|
20
20
|
export const AbbControllerKindEnum = {
|
|
21
21
|
AbbController: 'AbbController'
|
|
22
22
|
};
|
|
@@ -320,6 +320,15 @@ export const MotionGroupModel = {
|
|
|
320
320
|
KukaKr270R31002: 'KUKA_KR270_R3100_2',
|
|
321
321
|
KukaKr360R2830: 'KUKA_KR360_R2830'
|
|
322
322
|
};
|
|
323
|
+
/**
|
|
324
|
+
* The operating state.
|
|
325
|
+
* @export
|
|
326
|
+
* @enum {string}
|
|
327
|
+
*/
|
|
328
|
+
export const OperatingState = {
|
|
329
|
+
Active: 'ACTIVE',
|
|
330
|
+
Inactive: 'INACTIVE'
|
|
331
|
+
};
|
|
323
332
|
/**
|
|
324
333
|
* Current operation mode of the configured robot controller. Operation modes in which the attached motion groups can be moved are: - OPERATION_MODE_MANUAL (if enabling switch is pressed) - OPERATION_MODE_MANUAL_T1 (if enabling switch is pressed) - OPERATION_MODE_MANUAL_T2 (if enabling switch is pressed) - OPERATION_MODE_AUTO (without needing to press enabling switch) All other modes are considered as non-operational.
|
|
325
334
|
* @export
|
|
@@ -1355,6 +1364,47 @@ export const CellApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1364
|
options: localVarRequestOptions,
|
|
1356
1365
|
};
|
|
1357
1366
|
},
|
|
1367
|
+
/**
|
|
1368
|
+
* Deactivate or activate the services of a cell.
|
|
1369
|
+
* @summary Operating State
|
|
1370
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1371
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1372
|
+
* @param {*} [options] Override http request option.
|
|
1373
|
+
* @throws {RequiredError}
|
|
1374
|
+
*/
|
|
1375
|
+
setCellStatus: async (cell, operatingState, options = {}) => {
|
|
1376
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1377
|
+
assertParamExists('setCellStatus', 'cell', cell);
|
|
1378
|
+
// verify required parameter 'operatingState' is not null or undefined
|
|
1379
|
+
assertParamExists('setCellStatus', 'operatingState', operatingState);
|
|
1380
|
+
const localVarPath = `/cells/{cell}/status`
|
|
1381
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1382
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1383
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1384
|
+
let baseOptions;
|
|
1385
|
+
if (configuration) {
|
|
1386
|
+
baseOptions = configuration.baseOptions;
|
|
1387
|
+
}
|
|
1388
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1389
|
+
const localVarHeaderParameter = {};
|
|
1390
|
+
const localVarQueryParameter = {};
|
|
1391
|
+
// authentication BasicAuth required
|
|
1392
|
+
// http basic authentication required
|
|
1393
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1394
|
+
// authentication BearerAuth required
|
|
1395
|
+
// http bearer authentication required
|
|
1396
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1397
|
+
if (operatingState !== undefined) {
|
|
1398
|
+
localVarQueryParameter['operating_state'] = operatingState;
|
|
1399
|
+
}
|
|
1400
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1402
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1403
|
+
return {
|
|
1404
|
+
url: toPathString(localVarUrlObj),
|
|
1405
|
+
options: localVarRequestOptions,
|
|
1406
|
+
};
|
|
1407
|
+
},
|
|
1358
1408
|
/**
|
|
1359
1409
|
* Update the definition of the entire Cell.
|
|
1360
1410
|
* @summary Update Configuration
|
|
@@ -1474,6 +1524,20 @@ export const CellApiFp = function (configuration) {
|
|
|
1474
1524
|
const localVarOperationServerBasePath = operationServerMap['CellApi.listCells']?.[localVarOperationServerIndex]?.url;
|
|
1475
1525
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1476
1526
|
},
|
|
1527
|
+
/**
|
|
1528
|
+
* Deactivate or activate the services of a cell.
|
|
1529
|
+
* @summary Operating State
|
|
1530
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1531
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1532
|
+
* @param {*} [options] Override http request option.
|
|
1533
|
+
* @throws {RequiredError}
|
|
1534
|
+
*/
|
|
1535
|
+
async setCellStatus(cell, operatingState, options) {
|
|
1536
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setCellStatus(cell, operatingState, options);
|
|
1537
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1538
|
+
const localVarOperationServerBasePath = operationServerMap['CellApi.setCellStatus']?.[localVarOperationServerIndex]?.url;
|
|
1539
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1540
|
+
},
|
|
1477
1541
|
/**
|
|
1478
1542
|
* Update the definition of the entire Cell.
|
|
1479
1543
|
* @summary Update Configuration
|
|
@@ -1549,6 +1613,17 @@ export const CellApiFactory = function (configuration, basePath, axios) {
|
|
|
1549
1613
|
listCells(options) {
|
|
1550
1614
|
return localVarFp.listCells(options).then((request) => request(axios, basePath));
|
|
1551
1615
|
},
|
|
1616
|
+
/**
|
|
1617
|
+
* Deactivate or activate the services of a cell.
|
|
1618
|
+
* @summary Operating State
|
|
1619
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1620
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1621
|
+
* @param {*} [options] Override http request option.
|
|
1622
|
+
* @throws {RequiredError}
|
|
1623
|
+
*/
|
|
1624
|
+
setCellStatus(cell, operatingState, options) {
|
|
1625
|
+
return localVarFp.setCellStatus(cell, operatingState, options).then((request) => request(axios, basePath));
|
|
1626
|
+
},
|
|
1552
1627
|
/**
|
|
1553
1628
|
* Update the definition of the entire Cell.
|
|
1554
1629
|
* @summary Update Configuration
|
|
@@ -1626,6 +1701,18 @@ export class CellApi extends BaseAPI {
|
|
|
1626
1701
|
listCells(options) {
|
|
1627
1702
|
return CellApiFp(this.configuration).listCells(options).then((request) => request(this.axios, this.basePath));
|
|
1628
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* Deactivate or activate the services of a cell.
|
|
1706
|
+
* @summary Operating State
|
|
1707
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1708
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1709
|
+
* @param {*} [options] Override http request option.
|
|
1710
|
+
* @throws {RequiredError}
|
|
1711
|
+
* @memberof CellApi
|
|
1712
|
+
*/
|
|
1713
|
+
setCellStatus(cell, operatingState, options) {
|
|
1714
|
+
return CellApiFp(this.configuration).setCellStatus(cell, operatingState, options).then((request) => request(this.axios, this.basePath));
|
|
1715
|
+
}
|
|
1629
1716
|
/**
|
|
1630
1717
|
* Update the definition of the entire Cell.
|
|
1631
1718
|
* @summary Update Configuration
|
|
@@ -9603,6 +9690,47 @@ export class StoreObjectApi extends BaseAPI {
|
|
|
9603
9690
|
*/
|
|
9604
9691
|
export const SystemApiAxiosParamCreator = function (configuration) {
|
|
9605
9692
|
return {
|
|
9693
|
+
/**
|
|
9694
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
9695
|
+
* @summary Retrieve Configuration Backup
|
|
9696
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9697
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
9698
|
+
* @param {*} [options] Override http request option.
|
|
9699
|
+
* @throws {RequiredError}
|
|
9700
|
+
*/
|
|
9701
|
+
backupConfiguration: async (resources, metadata, options = {}) => {
|
|
9702
|
+
// verify required parameter 'resources' is not null or undefined
|
|
9703
|
+
assertParamExists('backupConfiguration', 'resources', resources);
|
|
9704
|
+
const localVarPath = `/system/configuration`;
|
|
9705
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9706
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9707
|
+
let baseOptions;
|
|
9708
|
+
if (configuration) {
|
|
9709
|
+
baseOptions = configuration.baseOptions;
|
|
9710
|
+
}
|
|
9711
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9712
|
+
const localVarHeaderParameter = {};
|
|
9713
|
+
const localVarQueryParameter = {};
|
|
9714
|
+
// authentication BasicAuth required
|
|
9715
|
+
// http basic authentication required
|
|
9716
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9717
|
+
// authentication BearerAuth required
|
|
9718
|
+
// http bearer authentication required
|
|
9719
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9720
|
+
if (resources) {
|
|
9721
|
+
localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
|
|
9722
|
+
}
|
|
9723
|
+
if (metadata !== undefined) {
|
|
9724
|
+
localVarQueryParameter['metadata'] = metadata;
|
|
9725
|
+
}
|
|
9726
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9727
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9728
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9729
|
+
return {
|
|
9730
|
+
url: toPathString(localVarUrlObj),
|
|
9731
|
+
options: localVarRequestOptions,
|
|
9732
|
+
};
|
|
9733
|
+
},
|
|
9606
9734
|
/**
|
|
9607
9735
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9608
9736
|
* @summary Check update
|
|
@@ -9733,6 +9861,79 @@ export const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
9733
9861
|
options: localVarRequestOptions,
|
|
9734
9862
|
};
|
|
9735
9863
|
},
|
|
9864
|
+
/**
|
|
9865
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
9866
|
+
* @summary List Configuration Resources
|
|
9867
|
+
* @param {*} [options] Override http request option.
|
|
9868
|
+
* @throws {RequiredError}
|
|
9869
|
+
*/
|
|
9870
|
+
listConfigurationResources: async (options = {}) => {
|
|
9871
|
+
const localVarPath = `/system/configuration/resources`;
|
|
9872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9874
|
+
let baseOptions;
|
|
9875
|
+
if (configuration) {
|
|
9876
|
+
baseOptions = configuration.baseOptions;
|
|
9877
|
+
}
|
|
9878
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9879
|
+
const localVarHeaderParameter = {};
|
|
9880
|
+
const localVarQueryParameter = {};
|
|
9881
|
+
// authentication BasicAuth required
|
|
9882
|
+
// http basic authentication required
|
|
9883
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9884
|
+
// authentication BearerAuth required
|
|
9885
|
+
// http bearer authentication required
|
|
9886
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9887
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9888
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9889
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9890
|
+
return {
|
|
9891
|
+
url: toPathString(localVarUrlObj),
|
|
9892
|
+
options: localVarRequestOptions,
|
|
9893
|
+
};
|
|
9894
|
+
},
|
|
9895
|
+
/**
|
|
9896
|
+
* Restores a previously backed up configuration.
|
|
9897
|
+
* @summary Restore Configuration Backup
|
|
9898
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9899
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
9900
|
+
* @param {*} [options] Override http request option.
|
|
9901
|
+
* @throws {RequiredError}
|
|
9902
|
+
*/
|
|
9903
|
+
restoreConfiguration: async (resources, body, options = {}) => {
|
|
9904
|
+
// verify required parameter 'resources' is not null or undefined
|
|
9905
|
+
assertParamExists('restoreConfiguration', 'resources', resources);
|
|
9906
|
+
// verify required parameter 'body' is not null or undefined
|
|
9907
|
+
assertParamExists('restoreConfiguration', 'body', body);
|
|
9908
|
+
const localVarPath = `/system/configuration`;
|
|
9909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9911
|
+
let baseOptions;
|
|
9912
|
+
if (configuration) {
|
|
9913
|
+
baseOptions = configuration.baseOptions;
|
|
9914
|
+
}
|
|
9915
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9916
|
+
const localVarHeaderParameter = {};
|
|
9917
|
+
const localVarQueryParameter = {};
|
|
9918
|
+
// authentication BasicAuth required
|
|
9919
|
+
// http basic authentication required
|
|
9920
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9921
|
+
// authentication BearerAuth required
|
|
9922
|
+
// http bearer authentication required
|
|
9923
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9924
|
+
if (resources) {
|
|
9925
|
+
localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
|
|
9926
|
+
}
|
|
9927
|
+
localVarHeaderParameter['Content-Type'] = 'application/gzip';
|
|
9928
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9929
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9930
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9931
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
9932
|
+
return {
|
|
9933
|
+
url: toPathString(localVarUrlObj),
|
|
9934
|
+
options: localVarRequestOptions,
|
|
9935
|
+
};
|
|
9936
|
+
},
|
|
9736
9937
|
/**
|
|
9737
9938
|
* Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored.
|
|
9738
9939
|
* @summary Update Wandelbots NOVA version
|
|
@@ -9778,6 +9979,20 @@ export const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
9778
9979
|
export const SystemApiFp = function (configuration) {
|
|
9779
9980
|
const localVarAxiosParamCreator = SystemApiAxiosParamCreator(configuration);
|
|
9780
9981
|
return {
|
|
9982
|
+
/**
|
|
9983
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
9984
|
+
* @summary Retrieve Configuration Backup
|
|
9985
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9986
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
9987
|
+
* @param {*} [options] Override http request option.
|
|
9988
|
+
* @throws {RequiredError}
|
|
9989
|
+
*/
|
|
9990
|
+
async backupConfiguration(resources, metadata, options) {
|
|
9991
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.backupConfiguration(resources, metadata, options);
|
|
9992
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9993
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.backupConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
9994
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9995
|
+
},
|
|
9781
9996
|
/**
|
|
9782
9997
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9783
9998
|
* @summary Check update
|
|
@@ -9827,6 +10042,32 @@ export const SystemApiFp = function (configuration) {
|
|
|
9827
10042
|
const localVarOperationServerBasePath = operationServerMap['SystemApi.getSystemVersion']?.[localVarOperationServerIndex]?.url;
|
|
9828
10043
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9829
10044
|
},
|
|
10045
|
+
/**
|
|
10046
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10047
|
+
* @summary List Configuration Resources
|
|
10048
|
+
* @param {*} [options] Override http request option.
|
|
10049
|
+
* @throws {RequiredError}
|
|
10050
|
+
*/
|
|
10051
|
+
async listConfigurationResources(options) {
|
|
10052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listConfigurationResources(options);
|
|
10053
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10054
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.listConfigurationResources']?.[localVarOperationServerIndex]?.url;
|
|
10055
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10056
|
+
},
|
|
10057
|
+
/**
|
|
10058
|
+
* Restores a previously backed up configuration.
|
|
10059
|
+
* @summary Restore Configuration Backup
|
|
10060
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10061
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10062
|
+
* @param {*} [options] Override http request option.
|
|
10063
|
+
* @throws {RequiredError}
|
|
10064
|
+
*/
|
|
10065
|
+
async restoreConfiguration(resources, body, options) {
|
|
10066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(resources, body, options);
|
|
10067
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10068
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.restoreConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
10069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10070
|
+
},
|
|
9830
10071
|
/**
|
|
9831
10072
|
* Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored.
|
|
9832
10073
|
* @summary Update Wandelbots NOVA version
|
|
@@ -9849,6 +10090,17 @@ export const SystemApiFp = function (configuration) {
|
|
|
9849
10090
|
export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
9850
10091
|
const localVarFp = SystemApiFp(configuration);
|
|
9851
10092
|
return {
|
|
10093
|
+
/**
|
|
10094
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
10095
|
+
* @summary Retrieve Configuration Backup
|
|
10096
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10097
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
10098
|
+
* @param {*} [options] Override http request option.
|
|
10099
|
+
* @throws {RequiredError}
|
|
10100
|
+
*/
|
|
10101
|
+
backupConfiguration(resources, metadata, options) {
|
|
10102
|
+
return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
|
|
10103
|
+
},
|
|
9852
10104
|
/**
|
|
9853
10105
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9854
10106
|
* @summary Check update
|
|
@@ -9886,6 +10138,26 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
9886
10138
|
getSystemVersion(options) {
|
|
9887
10139
|
return localVarFp.getSystemVersion(options).then((request) => request(axios, basePath));
|
|
9888
10140
|
},
|
|
10141
|
+
/**
|
|
10142
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10143
|
+
* @summary List Configuration Resources
|
|
10144
|
+
* @param {*} [options] Override http request option.
|
|
10145
|
+
* @throws {RequiredError}
|
|
10146
|
+
*/
|
|
10147
|
+
listConfigurationResources(options) {
|
|
10148
|
+
return localVarFp.listConfigurationResources(options).then((request) => request(axios, basePath));
|
|
10149
|
+
},
|
|
10150
|
+
/**
|
|
10151
|
+
* Restores a previously backed up configuration.
|
|
10152
|
+
* @summary Restore Configuration Backup
|
|
10153
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10154
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10155
|
+
* @param {*} [options] Override http request option.
|
|
10156
|
+
* @throws {RequiredError}
|
|
10157
|
+
*/
|
|
10158
|
+
restoreConfiguration(resources, body, options) {
|
|
10159
|
+
return localVarFp.restoreConfiguration(resources, body, options).then((request) => request(axios, basePath));
|
|
10160
|
+
},
|
|
9889
10161
|
/**
|
|
9890
10162
|
* Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored.
|
|
9891
10163
|
* @summary Update Wandelbots NOVA version
|
|
@@ -9905,6 +10177,18 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
9905
10177
|
* @extends {BaseAPI}
|
|
9906
10178
|
*/
|
|
9907
10179
|
export class SystemApi extends BaseAPI {
|
|
10180
|
+
/**
|
|
10181
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
10182
|
+
* @summary Retrieve Configuration Backup
|
|
10183
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10184
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
10185
|
+
* @param {*} [options] Override http request option.
|
|
10186
|
+
* @throws {RequiredError}
|
|
10187
|
+
* @memberof SystemApi
|
|
10188
|
+
*/
|
|
10189
|
+
backupConfiguration(resources, metadata, options) {
|
|
10190
|
+
return SystemApiFp(this.configuration).backupConfiguration(resources, metadata, options).then((request) => request(this.axios, this.basePath));
|
|
10191
|
+
}
|
|
9908
10192
|
/**
|
|
9909
10193
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9910
10194
|
* @summary Check update
|
|
@@ -9946,6 +10230,28 @@ export class SystemApi extends BaseAPI {
|
|
|
9946
10230
|
getSystemVersion(options) {
|
|
9947
10231
|
return SystemApiFp(this.configuration).getSystemVersion(options).then((request) => request(this.axios, this.basePath));
|
|
9948
10232
|
}
|
|
10233
|
+
/**
|
|
10234
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10235
|
+
* @summary List Configuration Resources
|
|
10236
|
+
* @param {*} [options] Override http request option.
|
|
10237
|
+
* @throws {RequiredError}
|
|
10238
|
+
* @memberof SystemApi
|
|
10239
|
+
*/
|
|
10240
|
+
listConfigurationResources(options) {
|
|
10241
|
+
return SystemApiFp(this.configuration).listConfigurationResources(options).then((request) => request(this.axios, this.basePath));
|
|
10242
|
+
}
|
|
10243
|
+
/**
|
|
10244
|
+
* Restores a previously backed up configuration.
|
|
10245
|
+
* @summary Restore Configuration Backup
|
|
10246
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10247
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10248
|
+
* @param {*} [options] Override http request option.
|
|
10249
|
+
* @throws {RequiredError}
|
|
10250
|
+
* @memberof SystemApi
|
|
10251
|
+
*/
|
|
10252
|
+
restoreConfiguration(resources, body, options) {
|
|
10253
|
+
return SystemApiFp(this.configuration).restoreConfiguration(resources, body, options).then((request) => request(this.axios, this.basePath));
|
|
10254
|
+
}
|
|
9949
10255
|
/**
|
|
9950
10256
|
* Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored.
|
|
9951
10257
|
* @summary Update Wandelbots NOVA version
|