@wandelbots/nova-api 26.1.0-dev.72 → 26.1.0-dev.74

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/v2/index.js CHANGED
@@ -5775,8 +5775,7 @@ const SystemApiAxiosParamCreator = function(configuration) {
5775
5775
  options: localVarRequestOptions
5776
5776
  };
5777
5777
  },
5778
- restoreConfiguration: async (resources, body, options = {}) => {
5779
- assertParamExists("restoreConfiguration", "resources", resources);
5778
+ restoreConfiguration: async (body, resources, options = {}) => {
5780
5779
  assertParamExists("restoreConfiguration", "body", body);
5781
5780
  const localVarUrlObj = new URL(`/system/configuration`, DUMMY_BASE_URL);
5782
5781
  let baseOptions;
@@ -5901,8 +5900,8 @@ const SystemApiFp = function(configuration) {
5901
5900
  const localVarOperationServerBasePath = operationServerMap["SystemApi.listConfigurationResources"]?.[localVarOperationServerIndex]?.url;
5902
5901
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5903
5902
  },
5904
- async restoreConfiguration(resources, body, options) {
5905
- const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(resources, body, options);
5903
+ async restoreConfiguration(body, resources, options) {
5904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(body, resources, options);
5906
5905
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5907
5906
  const localVarOperationServerBasePath = operationServerMap["SystemApi.restoreConfiguration"]?.[localVarOperationServerIndex]?.url;
5908
5907
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5951,8 +5950,8 @@ const SystemApiFactory = function(configuration, basePath, axios) {
5951
5950
  listConfigurationResources(options) {
5952
5951
  return localVarFp.listConfigurationResources(options).then((request) => request(axios, basePath));
5953
5952
  },
5954
- restoreConfiguration(resources, body, options) {
5955
- return localVarFp.restoreConfiguration(resources, body, options).then((request) => request(axios, basePath));
5953
+ restoreConfiguration(body, resources, options) {
5954
+ return localVarFp.restoreConfiguration(body, resources, options).then((request) => request(axios, basePath));
5956
5955
  },
5957
5956
  updateNovaVersion(updateNovaVersionRequest, options) {
5958
5957
  return localVarFp.updateNovaVersion(updateNovaVersionRequest, options).then((request) => request(axios, basePath));
@@ -6061,15 +6060,15 @@ var SystemApi = class extends BaseAPI {
6061
6060
  return SystemApiFp(this.configuration).listConfigurationResources(options).then((request) => request(this.axios, this.basePath));
6062
6061
  }
6063
6062
  /**
6064
- * Restores a previously backed up configuration.
6063
+ * Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
6065
6064
  * @summary Restore Configuration Backup
6066
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
6067
6065
  * @param {File} body Backup file stream containing the configuration to restore.
6066
+ * @param {Array<string>} [resources] List of resource identifiers to restore. If empty, all resources from the backup will be restored.
6068
6067
  * @param {*} [options] Override http request option.
6069
6068
  * @throws {RequiredError}
6070
6069
  */
6071
- restoreConfiguration(resources, body, options) {
6072
- return SystemApiFp(this.configuration).restoreConfiguration(resources, body, options).then((request) => request(this.axios, this.basePath));
6070
+ restoreConfiguration(body, resources, options) {
6071
+ return SystemApiFp(this.configuration).restoreConfiguration(body, resources, options).then((request) => request(this.axios, this.basePath));
6073
6072
  }
6074
6073
  /**
6075
6074
  * 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/nova-api",
3
- "version": "26.1.0-dev.72",
3
+ "version": "26.1.0-dev.74",
4
4
  "description": "API Client to interact with Wandelbots Public API.",
5
5
  "type": "module",
6
6
  "files": [