@wandelbots/nova-api 25.7.0-dev.33 → 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/package.json +1 -1
- package/v2/api.d.ts +8 -8
- package/v2/api.js +4 -6
- package/v2/api.js.map +1 -1
- package/v2/api.ts +8 -10
package/v2/api.ts
CHANGED
|
@@ -12895,14 +12895,12 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12895
12895
|
/**
|
|
12896
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
|
|
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
|
|
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);
|
|
@@ -13292,12 +13290,12 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
13292
13290
|
/**
|
|
13293
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
|
|
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
|
|
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;
|
|
@@ -13417,12 +13415,12 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
13417
13415
|
/**
|
|
13418
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
|
|
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
|
|
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
|
/**
|
|
@@ -13515,13 +13513,13 @@ export class SystemApi extends BaseAPI {
|
|
|
13515
13513
|
/**
|
|
13516
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
|
|
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
|
|
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
|
|