@wandelbots/nova-api 26.1.0-dev.73 → 26.1.0-dev.75

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.cjs CHANGED
@@ -5777,8 +5777,7 @@ const SystemApiAxiosParamCreator = function(configuration) {
5777
5777
  options: localVarRequestOptions
5778
5778
  };
5779
5779
  },
5780
- restoreConfiguration: async (resources, body, options = {}) => {
5781
- assertParamExists("restoreConfiguration", "resources", resources);
5780
+ restoreConfiguration: async (body, resources, options = {}) => {
5782
5781
  assertParamExists("restoreConfiguration", "body", body);
5783
5782
  const localVarUrlObj = new URL(`/system/configuration`, DUMMY_BASE_URL);
5784
5783
  let baseOptions;
@@ -5903,8 +5902,8 @@ const SystemApiFp = function(configuration) {
5903
5902
  const localVarOperationServerBasePath = operationServerMap["SystemApi.listConfigurationResources"]?.[localVarOperationServerIndex]?.url;
5904
5903
  return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
5905
5904
  },
5906
- async restoreConfiguration(resources, body, options) {
5907
- const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(resources, body, options);
5905
+ async restoreConfiguration(body, resources, options) {
5906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(body, resources, options);
5908
5907
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5909
5908
  const localVarOperationServerBasePath = operationServerMap["SystemApi.restoreConfiguration"]?.[localVarOperationServerIndex]?.url;
5910
5909
  return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
@@ -5953,8 +5952,8 @@ const SystemApiFactory = function(configuration, basePath, axios$1) {
5953
5952
  listConfigurationResources(options) {
5954
5953
  return localVarFp.listConfigurationResources(options).then((request) => request(axios$1, basePath));
5955
5954
  },
5956
- restoreConfiguration(resources, body, options) {
5957
- return localVarFp.restoreConfiguration(resources, body, options).then((request) => request(axios$1, basePath));
5955
+ restoreConfiguration(body, resources, options) {
5956
+ return localVarFp.restoreConfiguration(body, resources, options).then((request) => request(axios$1, basePath));
5958
5957
  },
5959
5958
  updateNovaVersion(updateNovaVersionRequest, options) {
5960
5959
  return localVarFp.updateNovaVersion(updateNovaVersionRequest, options).then((request) => request(axios$1, basePath));
@@ -6063,15 +6062,15 @@ var SystemApi = class extends BaseAPI {
6063
6062
  return SystemApiFp(this.configuration).listConfigurationResources(options).then((request) => request(this.axios, this.basePath));
6064
6063
  }
6065
6064
  /**
6066
- * Restores a previously backed up configuration.
6065
+ * Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
6067
6066
  * @summary Restore Configuration Backup
6068
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
6069
6067
  * @param {File} body Backup file stream containing the configuration to restore.
6068
+ * @param {Array<string>} [resources] List of resource identifiers to restore. If empty, all resources from the backup will be restored.
6070
6069
  * @param {*} [options] Override http request option.
6071
6070
  * @throws {RequiredError}
6072
6071
  */
6073
- restoreConfiguration(resources, body, options) {
6074
- return SystemApiFp(this.configuration).restoreConfiguration(resources, body, options).then((request) => request(this.axios, this.basePath));
6072
+ restoreConfiguration(body, resources, options) {
6073
+ return SystemApiFp(this.configuration).restoreConfiguration(body, resources, options).then((request) => request(this.axios, this.basePath));
6075
6074
  }
6076
6075
  /**
6077
6076
  * 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.
@@ -7241,14 +7241,14 @@ declare const SystemApiAxiosParamCreator: (configuration?: Configuration) => {
7241
7241
  */
7242
7242
  listConfigurationResources: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7243
7243
  /**
7244
- * Restores a previously backed up configuration.
7244
+ * Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
7245
7245
  * @summary Restore Configuration Backup
7246
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
7247
7246
  * @param {File} body Backup file stream containing the configuration to restore.
7247
+ * @param {Array<string>} [resources] List of resource identifiers to restore. If empty, all resources from the backup will be restored.
7248
7248
  * @param {*} [options] Override http request option.
7249
7249
  * @throws {RequiredError}
7250
7250
  */
7251
- restoreConfiguration: (resources: Array<string>, body: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7251
+ restoreConfiguration: (body: File, resources?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7252
7252
  /**
7253
7253
  * 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.
7254
7254
  * @summary Update Wandelbots NOVA version
@@ -7342,14 +7342,14 @@ declare const SystemApiFp: (configuration?: Configuration) => {
7342
7342
  */
7343
7343
  listConfigurationResources(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationResource>>>;
7344
7344
  /**
7345
- * Restores a previously backed up configuration.
7345
+ * Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
7346
7346
  * @summary Restore Configuration Backup
7347
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
7348
7347
  * @param {File} body Backup file stream containing the configuration to restore.
7348
+ * @param {Array<string>} [resources] List of resource identifiers to restore. If empty, all resources from the backup will be restored.
7349
7349
  * @param {*} [options] Override http request option.
7350
7350
  * @throws {RequiredError}
7351
7351
  */
7352
- restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7352
+ restoreConfiguration(body: File, resources?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7353
7353
  /**
7354
7354
  * 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.
7355
7355
  * @summary Update Wandelbots NOVA version
@@ -7443,14 +7443,14 @@ declare const SystemApiFactory: (configuration?: Configuration, basePath?: strin
7443
7443
  */
7444
7444
  listConfigurationResources(options?: RawAxiosRequestConfig): AxiosPromise<Array<ConfigurationResource>>;
7445
7445
  /**
7446
- * Restores a previously backed up configuration.
7446
+ * Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
7447
7447
  * @summary Restore Configuration Backup
7448
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
7449
7448
  * @param {File} body Backup file stream containing the configuration to restore.
7449
+ * @param {Array<string>} [resources] List of resource identifiers to restore. If empty, all resources from the backup will be restored.
7450
7450
  * @param {*} [options] Override http request option.
7451
7451
  * @throws {RequiredError}
7452
7452
  */
7453
- restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7453
+ restoreConfiguration(body: File, resources?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7454
7454
  /**
7455
7455
  * 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.
7456
7456
  * @summary Update Wandelbots NOVA version
@@ -7544,14 +7544,14 @@ declare class SystemApi extends BaseAPI {
7544
7544
  */
7545
7545
  listConfigurationResources(options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<ConfigurationResource[], any>>;
7546
7546
  /**
7547
- * Restores a previously backed up configuration.
7547
+ * Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
7548
7548
  * @summary Restore Configuration Backup
7549
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
7550
7549
  * @param {File} body Backup file stream containing the configuration to restore.
7550
+ * @param {Array<string>} [resources] List of resource identifiers to restore. If empty, all resources from the backup will be restored.
7551
7551
  * @param {*} [options] Override http request option.
7552
7552
  * @throws {RequiredError}
7553
7553
  */
7554
- restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
7554
+ restoreConfiguration(body: File, resources?: Array<string>, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
7555
7555
  /**
7556
7556
  * 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.
7557
7557
  * @summary Update Wandelbots NOVA version