@wandelbots/nova-api 25.3.0-rc.5 → 25.4.0-dev.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/nova-api",
3
- "version": "25.3.0-rc.5",
3
+ "version": "25.4.0-dev.10",
4
4
  "description": "API Client to interact with Wandelbots Public API.",
5
5
  "files": [
6
6
  "*",
package/v2/api.d.ts CHANGED
@@ -228,6 +228,12 @@ export interface App {
228
228
  * @memberof App
229
229
  */
230
230
  'storage'?: ContainerStorage;
231
+ /**
232
+ * Defines the URL path suffix used to check the application\'s health status. The complete health check URL is constructed as `/$cell/$name/$health_path`. When the application is working as expected, the endpoint returns an HTTP 200 status code. If not specified, the system will default to using the application icon path suffix (the value of `app_icon`) as the health check endpoint, resulting in `/$cell/$name/$app_icon`. If the health check fails (no response or non-200 status code), the system will automatically restart the application container to restore service.
233
+ * @type {string}
234
+ * @memberof App
235
+ */
236
+ 'health_path'?: string;
231
237
  }
232
238
  /**
233
239
  *
@@ -870,6 +876,31 @@ export interface Compound {
870
876
  */
871
877
  'child_geometries': Array<Geometry>;
872
878
  }
879
+ /**
880
+ * Configuration resource object.
881
+ * @export
882
+ * @interface ConfigurationResource
883
+ */
884
+ export interface ConfigurationResource {
885
+ /**
886
+ * Identifier of a configuration resource.
887
+ * @type {string}
888
+ * @memberof ConfigurationResource
889
+ */
890
+ 'id': string;
891
+ /**
892
+ * Human-readable name of the configuration resource.
893
+ * @type {string}
894
+ * @memberof ConfigurationResource
895
+ */
896
+ 'name': string;
897
+ /**
898
+ * Array of configuration resources.
899
+ * @type {Array<ConfigurationResource>}
900
+ * @memberof ConfigurationResource
901
+ */
902
+ 'children'?: Array<ConfigurationResource>;
903
+ }
873
904
  /**
874
905
  *
875
906
  * @export
@@ -1327,6 +1358,19 @@ export declare const Direction: {
1327
1358
  readonly DirectionBackward: "DIRECTION_BACKWARD";
1328
1359
  };
1329
1360
  export type Direction = typeof Direction[keyof typeof Direction];
1361
+ /**
1362
+ *
1363
+ * @export
1364
+ * @interface Error2
1365
+ */
1366
+ export interface Error2 {
1367
+ /**
1368
+ *
1369
+ * @type {string}
1370
+ * @memberof Error2
1371
+ */
1372
+ 'message': string;
1373
+ }
1330
1374
  /**
1331
1375
  * @type ExecuteJoggingRequest
1332
1376
  * @export
@@ -5556,25 +5600,6 @@ export interface StartOnIO {
5556
5600
  */
5557
5601
  'comparator': Comparator;
5558
5602
  }
5559
- /**
5560
- * The `Status` type defines a logical error model that is suitable for different programming environments including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `status` message contains two pieces of data: error code and error message. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
5561
- * @export
5562
- * @interface Status
5563
- */
5564
- export interface Status {
5565
- /**
5566
- * The status code, which should be an enum value of [google.rpc.Code](https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto).
5567
- * @type {number}
5568
- * @memberof Status
5569
- */
5570
- 'code'?: number;
5571
- /**
5572
- * An error message in English.
5573
- * @type {string}
5574
- * @memberof Status
5575
- */
5576
- 'message'?: string;
5577
- }
5578
5603
  /**
5579
5604
  *
5580
5605
  * @export
@@ -10863,6 +10888,17 @@ export declare class StoreObjectApi extends BaseAPI {
10863
10888
  * @export
10864
10889
  */
10865
10890
  export declare const SystemApiAxiosParamCreator: (configuration?: Configuration) => {
10891
+ /**
10892
+ * Retrieves a configuration backup based on provided resource identifiers.
10893
+ * @summary Retrieve Configuration Backup
10894
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
10895
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
10896
+ * @param {*} [options] Override http request option.
10897
+ * @throws {RequiredError}
10898
+ */
10899
+ backupConfiguration: (resources: Array<string>, metadata?: {
10900
+ [key: string]: string;
10901
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10866
10902
  /**
10867
10903
  * Check if a more recent Wandelbots NOVA Version is available.
10868
10904
  * @summary Check update
@@ -10892,6 +10928,22 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
10892
10928
  * @throws {RequiredError}
10893
10929
  */
10894
10930
  getSystemVersion: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10931
+ /**
10932
+ * Retrieves a list of all available configuration resources for backup purposes.
10933
+ * @summary List Configuration Resources
10934
+ * @param {*} [options] Override http request option.
10935
+ * @throws {RequiredError}
10936
+ */
10937
+ listConfigurationResources: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10938
+ /**
10939
+ * Restores a previously backed up configuration.
10940
+ * @summary Restore Configuration Backup
10941
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
10942
+ * @param {File} body Backup file stream containing the configuration to restore.
10943
+ * @param {*} [options] Override http request option.
10944
+ * @throws {RequiredError}
10945
+ */
10946
+ restoreConfiguration: (resources: Array<string>, body: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10895
10947
  /**
10896
10948
  * 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.
10897
10949
  * @summary Update Wandelbots NOVA version
@@ -10906,6 +10958,17 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
10906
10958
  * @export
10907
10959
  */
10908
10960
  export declare const SystemApiFp: (configuration?: Configuration) => {
10961
+ /**
10962
+ * Retrieves a configuration backup based on provided resource identifiers.
10963
+ * @summary Retrieve Configuration Backup
10964
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
10965
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
10966
+ * @param {*} [options] Override http request option.
10967
+ * @throws {RequiredError}
10968
+ */
10969
+ backupConfiguration(resources: Array<string>, metadata?: {
10970
+ [key: string]: string;
10971
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
10909
10972
  /**
10910
10973
  * Check if a more recent Wandelbots NOVA Version is available.
10911
10974
  * @summary Check update
@@ -10935,6 +10998,22 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
10935
10998
  * @throws {RequiredError}
10936
10999
  */
10937
11000
  getSystemVersion(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
11001
+ /**
11002
+ * Retrieves a list of all available configuration resources for backup purposes.
11003
+ * @summary List Configuration Resources
11004
+ * @param {*} [options] Override http request option.
11005
+ * @throws {RequiredError}
11006
+ */
11007
+ listConfigurationResources(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationResource>>>;
11008
+ /**
11009
+ * Restores a previously backed up configuration.
11010
+ * @summary Restore Configuration Backup
11011
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11012
+ * @param {File} body Backup file stream containing the configuration to restore.
11013
+ * @param {*} [options] Override http request option.
11014
+ * @throws {RequiredError}
11015
+ */
11016
+ restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
10938
11017
  /**
10939
11018
  * 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.
10940
11019
  * @summary Update Wandelbots NOVA version
@@ -10949,6 +11028,17 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
10949
11028
  * @export
10950
11029
  */
10951
11030
  export declare const SystemApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11031
+ /**
11032
+ * Retrieves a configuration backup based on provided resource identifiers.
11033
+ * @summary Retrieve Configuration Backup
11034
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11035
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
11036
+ * @param {*} [options] Override http request option.
11037
+ * @throws {RequiredError}
11038
+ */
11039
+ backupConfiguration(resources: Array<string>, metadata?: {
11040
+ [key: string]: string;
11041
+ }, options?: RawAxiosRequestConfig): AxiosPromise<File>;
10952
11042
  /**
10953
11043
  * Check if a more recent Wandelbots NOVA Version is available.
10954
11044
  * @summary Check update
@@ -10978,6 +11068,22 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
10978
11068
  * @throws {RequiredError}
10979
11069
  */
10980
11070
  getSystemVersion(options?: RawAxiosRequestConfig): AxiosPromise<string>;
11071
+ /**
11072
+ * Retrieves a list of all available configuration resources for backup purposes.
11073
+ * @summary List Configuration Resources
11074
+ * @param {*} [options] Override http request option.
11075
+ * @throws {RequiredError}
11076
+ */
11077
+ listConfigurationResources(options?: RawAxiosRequestConfig): AxiosPromise<Array<ConfigurationResource>>;
11078
+ /**
11079
+ * Restores a previously backed up configuration.
11080
+ * @summary Restore Configuration Backup
11081
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11082
+ * @param {File} body Backup file stream containing the configuration to restore.
11083
+ * @param {*} [options] Override http request option.
11084
+ * @throws {RequiredError}
11085
+ */
11086
+ restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10981
11087
  /**
10982
11088
  * 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.
10983
11089
  * @summary Update Wandelbots NOVA version
@@ -10994,6 +11100,18 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
10994
11100
  * @extends {BaseAPI}
10995
11101
  */
10996
11102
  export declare class SystemApi extends BaseAPI {
11103
+ /**
11104
+ * Retrieves a configuration backup based on provided resource identifiers.
11105
+ * @summary Retrieve Configuration Backup
11106
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11107
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
11108
+ * @param {*} [options] Override http request option.
11109
+ * @throws {RequiredError}
11110
+ * @memberof SystemApi
11111
+ */
11112
+ backupConfiguration(resources: Array<string>, metadata?: {
11113
+ [key: string]: string;
11114
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
10997
11115
  /**
10998
11116
  * Check if a more recent Wandelbots NOVA Version is available.
10999
11117
  * @summary Check update
@@ -11027,6 +11145,24 @@ export declare class SystemApi extends BaseAPI {
11027
11145
  * @memberof SystemApi
11028
11146
  */
11029
11147
  getSystemVersion(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
11148
+ /**
11149
+ * Retrieves a list of all available configuration resources for backup purposes.
11150
+ * @summary List Configuration Resources
11151
+ * @param {*} [options] Override http request option.
11152
+ * @throws {RequiredError}
11153
+ * @memberof SystemApi
11154
+ */
11155
+ listConfigurationResources(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigurationResource[], any>>;
11156
+ /**
11157
+ * Restores a previously backed up configuration.
11158
+ * @summary Restore Configuration Backup
11159
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11160
+ * @param {File} body Backup file stream containing the configuration to restore.
11161
+ * @param {*} [options] Override http request option.
11162
+ * @throws {RequiredError}
11163
+ * @memberof SystemApi
11164
+ */
11165
+ restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
11030
11166
  /**
11031
11167
  * 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.
11032
11168
  * @summary Update Wandelbots NOVA version
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
  };
@@ -9603,6 +9603,47 @@ export class StoreObjectApi extends BaseAPI {
9603
9603
  */
9604
9604
  export const SystemApiAxiosParamCreator = function (configuration) {
9605
9605
  return {
9606
+ /**
9607
+ * Retrieves a configuration backup based on provided resource identifiers.
9608
+ * @summary Retrieve Configuration Backup
9609
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
9610
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
9611
+ * @param {*} [options] Override http request option.
9612
+ * @throws {RequiredError}
9613
+ */
9614
+ backupConfiguration: async (resources, metadata, options = {}) => {
9615
+ // verify required parameter 'resources' is not null or undefined
9616
+ assertParamExists('backupConfiguration', 'resources', resources);
9617
+ const localVarPath = `/system/configuration`;
9618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9620
+ let baseOptions;
9621
+ if (configuration) {
9622
+ baseOptions = configuration.baseOptions;
9623
+ }
9624
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9625
+ const localVarHeaderParameter = {};
9626
+ const localVarQueryParameter = {};
9627
+ // authentication BasicAuth required
9628
+ // http basic authentication required
9629
+ setBasicAuthToObject(localVarRequestOptions, configuration);
9630
+ // authentication BearerAuth required
9631
+ // http bearer authentication required
9632
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9633
+ if (resources) {
9634
+ localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
9635
+ }
9636
+ if (metadata !== undefined) {
9637
+ localVarQueryParameter['metadata'] = metadata;
9638
+ }
9639
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9640
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9641
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
9642
+ return {
9643
+ url: toPathString(localVarUrlObj),
9644
+ options: localVarRequestOptions,
9645
+ };
9646
+ },
9606
9647
  /**
9607
9648
  * Check if a more recent Wandelbots NOVA Version is available.
9608
9649
  * @summary Check update
@@ -9733,6 +9774,79 @@ export const SystemApiAxiosParamCreator = function (configuration) {
9733
9774
  options: localVarRequestOptions,
9734
9775
  };
9735
9776
  },
9777
+ /**
9778
+ * Retrieves a list of all available configuration resources for backup purposes.
9779
+ * @summary List Configuration Resources
9780
+ * @param {*} [options] Override http request option.
9781
+ * @throws {RequiredError}
9782
+ */
9783
+ listConfigurationResources: async (options = {}) => {
9784
+ const localVarPath = `/system/configuration/resources`;
9785
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9786
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9787
+ let baseOptions;
9788
+ if (configuration) {
9789
+ baseOptions = configuration.baseOptions;
9790
+ }
9791
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9792
+ const localVarHeaderParameter = {};
9793
+ const localVarQueryParameter = {};
9794
+ // authentication BasicAuth required
9795
+ // http basic authentication required
9796
+ setBasicAuthToObject(localVarRequestOptions, configuration);
9797
+ // authentication BearerAuth required
9798
+ // http bearer authentication required
9799
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9800
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9801
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9802
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
9803
+ return {
9804
+ url: toPathString(localVarUrlObj),
9805
+ options: localVarRequestOptions,
9806
+ };
9807
+ },
9808
+ /**
9809
+ * Restores a previously backed up configuration.
9810
+ * @summary Restore Configuration Backup
9811
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
9812
+ * @param {File} body Backup file stream containing the configuration to restore.
9813
+ * @param {*} [options] Override http request option.
9814
+ * @throws {RequiredError}
9815
+ */
9816
+ restoreConfiguration: async (resources, body, options = {}) => {
9817
+ // verify required parameter 'resources' is not null or undefined
9818
+ assertParamExists('restoreConfiguration', 'resources', resources);
9819
+ // verify required parameter 'body' is not null or undefined
9820
+ assertParamExists('restoreConfiguration', 'body', body);
9821
+ const localVarPath = `/system/configuration`;
9822
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9823
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9824
+ let baseOptions;
9825
+ if (configuration) {
9826
+ baseOptions = configuration.baseOptions;
9827
+ }
9828
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
9829
+ const localVarHeaderParameter = {};
9830
+ const localVarQueryParameter = {};
9831
+ // authentication BasicAuth required
9832
+ // http basic authentication required
9833
+ setBasicAuthToObject(localVarRequestOptions, configuration);
9834
+ // authentication BearerAuth required
9835
+ // http bearer authentication required
9836
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9837
+ if (resources) {
9838
+ localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
9839
+ }
9840
+ localVarHeaderParameter['Content-Type'] = 'application/gzip';
9841
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9842
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9843
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
9844
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
9845
+ return {
9846
+ url: toPathString(localVarUrlObj),
9847
+ options: localVarRequestOptions,
9848
+ };
9849
+ },
9736
9850
  /**
9737
9851
  * 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
9852
  * @summary Update Wandelbots NOVA version
@@ -9778,6 +9892,20 @@ export const SystemApiAxiosParamCreator = function (configuration) {
9778
9892
  export const SystemApiFp = function (configuration) {
9779
9893
  const localVarAxiosParamCreator = SystemApiAxiosParamCreator(configuration);
9780
9894
  return {
9895
+ /**
9896
+ * Retrieves a configuration backup based on provided resource identifiers.
9897
+ * @summary Retrieve Configuration Backup
9898
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
9899
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
9900
+ * @param {*} [options] Override http request option.
9901
+ * @throws {RequiredError}
9902
+ */
9903
+ async backupConfiguration(resources, metadata, options) {
9904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backupConfiguration(resources, metadata, options);
9905
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9906
+ const localVarOperationServerBasePath = operationServerMap['SystemApi.backupConfiguration']?.[localVarOperationServerIndex]?.url;
9907
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9908
+ },
9781
9909
  /**
9782
9910
  * Check if a more recent Wandelbots NOVA Version is available.
9783
9911
  * @summary Check update
@@ -9827,6 +9955,32 @@ export const SystemApiFp = function (configuration) {
9827
9955
  const localVarOperationServerBasePath = operationServerMap['SystemApi.getSystemVersion']?.[localVarOperationServerIndex]?.url;
9828
9956
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9829
9957
  },
9958
+ /**
9959
+ * Retrieves a list of all available configuration resources for backup purposes.
9960
+ * @summary List Configuration Resources
9961
+ * @param {*} [options] Override http request option.
9962
+ * @throws {RequiredError}
9963
+ */
9964
+ async listConfigurationResources(options) {
9965
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listConfigurationResources(options);
9966
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9967
+ const localVarOperationServerBasePath = operationServerMap['SystemApi.listConfigurationResources']?.[localVarOperationServerIndex]?.url;
9968
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9969
+ },
9970
+ /**
9971
+ * Restores a previously backed up configuration.
9972
+ * @summary Restore Configuration Backup
9973
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
9974
+ * @param {File} body Backup file stream containing the configuration to restore.
9975
+ * @param {*} [options] Override http request option.
9976
+ * @throws {RequiredError}
9977
+ */
9978
+ async restoreConfiguration(resources, body, options) {
9979
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(resources, body, options);
9980
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9981
+ const localVarOperationServerBasePath = operationServerMap['SystemApi.restoreConfiguration']?.[localVarOperationServerIndex]?.url;
9982
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9983
+ },
9830
9984
  /**
9831
9985
  * 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
9986
  * @summary Update Wandelbots NOVA version
@@ -9849,6 +10003,17 @@ export const SystemApiFp = function (configuration) {
9849
10003
  export const SystemApiFactory = function (configuration, basePath, axios) {
9850
10004
  const localVarFp = SystemApiFp(configuration);
9851
10005
  return {
10006
+ /**
10007
+ * Retrieves a configuration backup based on provided resource identifiers.
10008
+ * @summary Retrieve Configuration Backup
10009
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
10010
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
10011
+ * @param {*} [options] Override http request option.
10012
+ * @throws {RequiredError}
10013
+ */
10014
+ backupConfiguration(resources, metadata, options) {
10015
+ return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
10016
+ },
9852
10017
  /**
9853
10018
  * Check if a more recent Wandelbots NOVA Version is available.
9854
10019
  * @summary Check update
@@ -9886,6 +10051,26 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
9886
10051
  getSystemVersion(options) {
9887
10052
  return localVarFp.getSystemVersion(options).then((request) => request(axios, basePath));
9888
10053
  },
10054
+ /**
10055
+ * Retrieves a list of all available configuration resources for backup purposes.
10056
+ * @summary List Configuration Resources
10057
+ * @param {*} [options] Override http request option.
10058
+ * @throws {RequiredError}
10059
+ */
10060
+ listConfigurationResources(options) {
10061
+ return localVarFp.listConfigurationResources(options).then((request) => request(axios, basePath));
10062
+ },
10063
+ /**
10064
+ * Restores a previously backed up configuration.
10065
+ * @summary Restore Configuration Backup
10066
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
10067
+ * @param {File} body Backup file stream containing the configuration to restore.
10068
+ * @param {*} [options] Override http request option.
10069
+ * @throws {RequiredError}
10070
+ */
10071
+ restoreConfiguration(resources, body, options) {
10072
+ return localVarFp.restoreConfiguration(resources, body, options).then((request) => request(axios, basePath));
10073
+ },
9889
10074
  /**
9890
10075
  * 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
10076
  * @summary Update Wandelbots NOVA version
@@ -9905,6 +10090,18 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
9905
10090
  * @extends {BaseAPI}
9906
10091
  */
9907
10092
  export class SystemApi extends BaseAPI {
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
+ * @memberof SystemApi
10101
+ */
10102
+ backupConfiguration(resources, metadata, options) {
10103
+ return SystemApiFp(this.configuration).backupConfiguration(resources, metadata, options).then((request) => request(this.axios, this.basePath));
10104
+ }
9908
10105
  /**
9909
10106
  * Check if a more recent Wandelbots NOVA Version is available.
9910
10107
  * @summary Check update
@@ -9946,6 +10143,28 @@ export class SystemApi extends BaseAPI {
9946
10143
  getSystemVersion(options) {
9947
10144
  return SystemApiFp(this.configuration).getSystemVersion(options).then((request) => request(this.axios, this.basePath));
9948
10145
  }
10146
+ /**
10147
+ * Retrieves a list of all available configuration resources for backup purposes.
10148
+ * @summary List Configuration Resources
10149
+ * @param {*} [options] Override http request option.
10150
+ * @throws {RequiredError}
10151
+ * @memberof SystemApi
10152
+ */
10153
+ listConfigurationResources(options) {
10154
+ return SystemApiFp(this.configuration).listConfigurationResources(options).then((request) => request(this.axios, this.basePath));
10155
+ }
10156
+ /**
10157
+ * Restores a previously backed up configuration.
10158
+ * @summary Restore Configuration Backup
10159
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
10160
+ * @param {File} body Backup file stream containing the configuration to restore.
10161
+ * @param {*} [options] Override http request option.
10162
+ * @throws {RequiredError}
10163
+ * @memberof SystemApi
10164
+ */
10165
+ restoreConfiguration(resources, body, options) {
10166
+ return SystemApiFp(this.configuration).restoreConfiguration(resources, body, options).then((request) => request(this.axios, this.basePath));
10167
+ }
9949
10168
  /**
9950
10169
  * 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
10170
  * @summary Update Wandelbots NOVA version