@wandelbots/nova-api 25.7.0-dev.32 → 25.7.0-dev.34

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/v2/api.ts CHANGED
@@ -12893,16 +12893,14 @@ export class StoreObjectApi extends BaseAPI {
12893
12893
  export const SystemApiAxiosParamCreator = function (configuration?: Configuration) {
12894
12894
  return {
12895
12895
  /**
12896
- * Retrieves a configuration backup based on provided resource identifiers.
12896
+ * Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
12897
12897
  * @summary Retrieve Configuration Backup
12898
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
12898
+ * @param {Array<string>} [resources] List of resource identifiers to include in the retrieval.
12899
12899
  * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
12900
12900
  * @param {*} [options] Override http request option.
12901
12901
  * @throws {RequiredError}
12902
12902
  */
12903
- backupConfiguration: async (resources: Array<string>, metadata?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12904
- // verify required parameter 'resources' is not null or undefined
12905
- assertParamExists('backupConfiguration', 'resources', resources)
12903
+ backupConfiguration: async (resources?: Array<string>, metadata?: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12906
12904
  const localVarPath = `/system/configuration`;
12907
12905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12908
12906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13290,14 +13288,14 @@ export const SystemApiFp = function(configuration?: Configuration) {
13290
13288
  const localVarAxiosParamCreator = SystemApiAxiosParamCreator(configuration)
13291
13289
  return {
13292
13290
  /**
13293
- * Retrieves a configuration backup based on provided resource identifiers.
13291
+ * Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
13294
13292
  * @summary Retrieve Configuration Backup
13295
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
13293
+ * @param {Array<string>} [resources] List of resource identifiers to include in the retrieval.
13296
13294
  * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
13297
13295
  * @param {*} [options] Override http request option.
13298
13296
  * @throws {RequiredError}
13299
13297
  */
13300
- async backupConfiguration(resources: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
13298
+ async backupConfiguration(resources?: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
13301
13299
  const localVarAxiosArgs = await localVarAxiosParamCreator.backupConfiguration(resources, metadata, options);
13302
13300
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13303
13301
  const localVarOperationServerBasePath = operationServerMap['SystemApi.backupConfiguration']?.[localVarOperationServerIndex]?.url;
@@ -13415,14 +13413,14 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
13415
13413
  const localVarFp = SystemApiFp(configuration)
13416
13414
  return {
13417
13415
  /**
13418
- * Retrieves a configuration backup based on provided resource identifiers.
13416
+ * Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
13419
13417
  * @summary Retrieve Configuration Backup
13420
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
13418
+ * @param {Array<string>} [resources] List of resource identifiers to include in the retrieval.
13421
13419
  * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
13422
13420
  * @param {*} [options] Override http request option.
13423
13421
  * @throws {RequiredError}
13424
13422
  */
13425
- backupConfiguration(resources: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<File> {
13423
+ backupConfiguration(resources?: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<File> {
13426
13424
  return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
13427
13425
  },
13428
13426
  /**
@@ -13513,15 +13511,15 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
13513
13511
  */
13514
13512
  export class SystemApi extends BaseAPI {
13515
13513
  /**
13516
- * Retrieves a configuration backup based on provided resource identifiers.
13514
+ * Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
13517
13515
  * @summary Retrieve Configuration Backup
13518
- * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
13516
+ * @param {Array<string>} [resources] List of resource identifiers to include in the retrieval.
13519
13517
  * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
13520
13518
  * @param {*} [options] Override http request option.
13521
13519
  * @throws {RequiredError}
13522
13520
  * @memberof SystemApi
13523
13521
  */
13524
- public backupConfiguration(resources: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig) {
13522
+ public backupConfiguration(resources?: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig) {
13525
13523
  return SystemApiFp(this.configuration).backupConfiguration(resources, metadata, options).then((request) => request(this.axios, this.basePath));
13526
13524
  }
13527
13525