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

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.11",
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
@@ -3827,6 +3871,16 @@ export interface OpcuaNodeValueTriggerConfig {
3827
3871
  */
3828
3872
  export interface OpcuaNodeValueTriggerConfigNodeValue {
3829
3873
  }
3874
+ /**
3875
+ * The operating state.
3876
+ * @export
3877
+ * @enum {string}
3878
+ */
3879
+ export declare const OperatingState: {
3880
+ readonly Active: "ACTIVE";
3881
+ readonly Inactive: "INACTIVE";
3882
+ };
3883
+ export type OperatingState = typeof OperatingState[keyof typeof OperatingState];
3830
3884
  /**
3831
3885
  * Current operation mode of the configured robot controller. Operation modes in which the attached motion groups can be moved are: - OPERATION_MODE_MANUAL (if enabling switch is pressed) - OPERATION_MODE_MANUAL_T1 (if enabling switch is pressed) - OPERATION_MODE_MANUAL_T2 (if enabling switch is pressed) - OPERATION_MODE_AUTO (without needing to press enabling switch) All other modes are considered as non-operational.
3832
3886
  * @export
@@ -5305,6 +5359,25 @@ export declare const ServiceStatusPhase: {
5305
5359
  readonly Evicted: "Evicted";
5306
5360
  };
5307
5361
  export type ServiceStatusPhase = typeof ServiceStatusPhase[keyof typeof ServiceStatusPhase];
5362
+ /**
5363
+ * Response containing both the overall operating state of the cell and detailed status information for each service within the cell. The operating state indicates whether the cell is active or inactive, while the service statuses provide specific health and operational information for individual service running in the cell.
5364
+ * @export
5365
+ * @interface ServiceStatusResponse
5366
+ */
5367
+ export interface ServiceStatusResponse {
5368
+ /**
5369
+ *
5370
+ * @type {OperatingState}
5371
+ * @memberof ServiceStatusResponse
5372
+ */
5373
+ 'operating_state': OperatingState;
5374
+ /**
5375
+ *
5376
+ * @type {Array<ServiceStatus>}
5377
+ * @memberof ServiceStatusResponse
5378
+ */
5379
+ 'service_status': Array<ServiceStatus>;
5380
+ }
5308
5381
  /**
5309
5382
  *
5310
5383
  * @export
@@ -5556,25 +5629,6 @@ export interface StartOnIO {
5556
5629
  */
5557
5630
  'comparator': Comparator;
5558
5631
  }
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
5632
  /**
5579
5633
  *
5580
5634
  * @export
@@ -6569,6 +6623,15 @@ export declare const CellApiAxiosParamCreator: (configuration?: Configuration) =
6569
6623
  * @throws {RequiredError}
6570
6624
  */
6571
6625
  listCells: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6626
+ /**
6627
+ * Deactivate or activate the services of a cell.
6628
+ * @summary Operating State
6629
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6630
+ * @param {OperatingState} operatingState Set state of the cell. Active or inactive.
6631
+ * @param {*} [options] Override http request option.
6632
+ * @throws {RequiredError}
6633
+ */
6634
+ setCellStatus: (cell: string, operatingState: OperatingState, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6572
6635
  /**
6573
6636
  * Update the definition of the entire Cell.
6574
6637
  * @summary Update Configuration
@@ -6618,7 +6681,7 @@ export declare const CellApiFp: (configuration?: Configuration) => {
6618
6681
  * @param {*} [options] Override http request option.
6619
6682
  * @throws {RequiredError}
6620
6683
  */
6621
- getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServiceStatus>>>;
6684
+ getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceStatusResponse>>;
6622
6685
  /**
6623
6686
  * List all deployed cell names. If no cells are deployed, an empty list is returned.
6624
6687
  * @summary List Cells
@@ -6626,6 +6689,15 @@ export declare const CellApiFp: (configuration?: Configuration) => {
6626
6689
  * @throws {RequiredError}
6627
6690
  */
6628
6691
  listCells(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
6692
+ /**
6693
+ * Deactivate or activate the services of a cell.
6694
+ * @summary Operating State
6695
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6696
+ * @param {OperatingState} operatingState Set state of the cell. Active or inactive.
6697
+ * @param {*} [options] Override http request option.
6698
+ * @throws {RequiredError}
6699
+ */
6700
+ setCellStatus(cell: string, operatingState: OperatingState, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6629
6701
  /**
6630
6702
  * Update the definition of the entire Cell.
6631
6703
  * @summary Update Configuration
@@ -6675,7 +6747,7 @@ export declare const CellApiFactory: (configuration?: Configuration, basePath?:
6675
6747
  * @param {*} [options] Override http request option.
6676
6748
  * @throws {RequiredError}
6677
6749
  */
6678
- getCellStatus(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ServiceStatus>>;
6750
+ getCellStatus(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<ServiceStatusResponse>;
6679
6751
  /**
6680
6752
  * List all deployed cell names. If no cells are deployed, an empty list is returned.
6681
6753
  * @summary List Cells
@@ -6683,6 +6755,15 @@ export declare const CellApiFactory: (configuration?: Configuration, basePath?:
6683
6755
  * @throws {RequiredError}
6684
6756
  */
6685
6757
  listCells(options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
6758
+ /**
6759
+ * Deactivate or activate the services of a cell.
6760
+ * @summary Operating State
6761
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6762
+ * @param {OperatingState} operatingState Set state of the cell. Active or inactive.
6763
+ * @param {*} [options] Override http request option.
6764
+ * @throws {RequiredError}
6765
+ */
6766
+ setCellStatus(cell: string, operatingState: OperatingState, options?: RawAxiosRequestConfig): AxiosPromise<void>;
6686
6767
  /**
6687
6768
  * Update the definition of the entire Cell.
6688
6769
  * @summary Update Configuration
@@ -6738,7 +6819,7 @@ export declare class CellApi extends BaseAPI {
6738
6819
  * @throws {RequiredError}
6739
6820
  * @memberof CellApi
6740
6821
  */
6741
- getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceStatus[], any>>;
6822
+ getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceStatusResponse, any>>;
6742
6823
  /**
6743
6824
  * List all deployed cell names. If no cells are deployed, an empty list is returned.
6744
6825
  * @summary List Cells
@@ -6747,6 +6828,16 @@ export declare class CellApi extends BaseAPI {
6747
6828
  * @memberof CellApi
6748
6829
  */
6749
6830
  listCells(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
6831
+ /**
6832
+ * Deactivate or activate the services of a cell.
6833
+ * @summary Operating State
6834
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6835
+ * @param {OperatingState} operatingState Set state of the cell. Active or inactive.
6836
+ * @param {*} [options] Override http request option.
6837
+ * @throws {RequiredError}
6838
+ * @memberof CellApi
6839
+ */
6840
+ setCellStatus(cell: string, operatingState: OperatingState, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
6750
6841
  /**
6751
6842
  * Update the definition of the entire Cell.
6752
6843
  * @summary Update Configuration
@@ -10863,6 +10954,17 @@ export declare class StoreObjectApi extends BaseAPI {
10863
10954
  * @export
10864
10955
  */
10865
10956
  export declare const SystemApiAxiosParamCreator: (configuration?: Configuration) => {
10957
+ /**
10958
+ * Retrieves a configuration backup based on provided resource identifiers.
10959
+ * @summary Retrieve Configuration Backup
10960
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
10961
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
10962
+ * @param {*} [options] Override http request option.
10963
+ * @throws {RequiredError}
10964
+ */
10965
+ backupConfiguration: (resources: Array<string>, metadata?: {
10966
+ [key: string]: string;
10967
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10866
10968
  /**
10867
10969
  * Check if a more recent Wandelbots NOVA Version is available.
10868
10970
  * @summary Check update
@@ -10892,6 +10994,22 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
10892
10994
  * @throws {RequiredError}
10893
10995
  */
10894
10996
  getSystemVersion: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10997
+ /**
10998
+ * Retrieves a list of all available configuration resources for backup purposes.
10999
+ * @summary List Configuration Resources
11000
+ * @param {*} [options] Override http request option.
11001
+ * @throws {RequiredError}
11002
+ */
11003
+ listConfigurationResources: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11004
+ /**
11005
+ * Restores a previously backed up configuration.
11006
+ * @summary Restore Configuration Backup
11007
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11008
+ * @param {File} body Backup file stream containing the configuration to restore.
11009
+ * @param {*} [options] Override http request option.
11010
+ * @throws {RequiredError}
11011
+ */
11012
+ restoreConfiguration: (resources: Array<string>, body: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10895
11013
  /**
10896
11014
  * 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
11015
  * @summary Update Wandelbots NOVA version
@@ -10906,6 +11024,17 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
10906
11024
  * @export
10907
11025
  */
10908
11026
  export declare const SystemApiFp: (configuration?: Configuration) => {
11027
+ /**
11028
+ * Retrieves a configuration backup based on provided resource identifiers.
11029
+ * @summary Retrieve Configuration Backup
11030
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11031
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
11032
+ * @param {*} [options] Override http request option.
11033
+ * @throws {RequiredError}
11034
+ */
11035
+ backupConfiguration(resources: Array<string>, metadata?: {
11036
+ [key: string]: string;
11037
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
10909
11038
  /**
10910
11039
  * Check if a more recent Wandelbots NOVA Version is available.
10911
11040
  * @summary Check update
@@ -10935,6 +11064,22 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
10935
11064
  * @throws {RequiredError}
10936
11065
  */
10937
11066
  getSystemVersion(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
11067
+ /**
11068
+ * Retrieves a list of all available configuration resources for backup purposes.
11069
+ * @summary List Configuration Resources
11070
+ * @param {*} [options] Override http request option.
11071
+ * @throws {RequiredError}
11072
+ */
11073
+ listConfigurationResources(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationResource>>>;
11074
+ /**
11075
+ * Restores a previously backed up configuration.
11076
+ * @summary Restore Configuration Backup
11077
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11078
+ * @param {File} body Backup file stream containing the configuration to restore.
11079
+ * @param {*} [options] Override http request option.
11080
+ * @throws {RequiredError}
11081
+ */
11082
+ restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
10938
11083
  /**
10939
11084
  * 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
11085
  * @summary Update Wandelbots NOVA version
@@ -10949,6 +11094,17 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
10949
11094
  * @export
10950
11095
  */
10951
11096
  export declare const SystemApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11097
+ /**
11098
+ * Retrieves a configuration backup based on provided resource identifiers.
11099
+ * @summary Retrieve Configuration Backup
11100
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11101
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
11102
+ * @param {*} [options] Override http request option.
11103
+ * @throws {RequiredError}
11104
+ */
11105
+ backupConfiguration(resources: Array<string>, metadata?: {
11106
+ [key: string]: string;
11107
+ }, options?: RawAxiosRequestConfig): AxiosPromise<File>;
10952
11108
  /**
10953
11109
  * Check if a more recent Wandelbots NOVA Version is available.
10954
11110
  * @summary Check update
@@ -10978,6 +11134,22 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
10978
11134
  * @throws {RequiredError}
10979
11135
  */
10980
11136
  getSystemVersion(options?: RawAxiosRequestConfig): AxiosPromise<string>;
11137
+ /**
11138
+ * Retrieves a list of all available configuration resources for backup purposes.
11139
+ * @summary List Configuration Resources
11140
+ * @param {*} [options] Override http request option.
11141
+ * @throws {RequiredError}
11142
+ */
11143
+ listConfigurationResources(options?: RawAxiosRequestConfig): AxiosPromise<Array<ConfigurationResource>>;
11144
+ /**
11145
+ * Restores a previously backed up configuration.
11146
+ * @summary Restore Configuration Backup
11147
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11148
+ * @param {File} body Backup file stream containing the configuration to restore.
11149
+ * @param {*} [options] Override http request option.
11150
+ * @throws {RequiredError}
11151
+ */
11152
+ restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10981
11153
  /**
10982
11154
  * 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
11155
  * @summary Update Wandelbots NOVA version
@@ -10994,6 +11166,18 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
10994
11166
  * @extends {BaseAPI}
10995
11167
  */
10996
11168
  export declare class SystemApi extends BaseAPI {
11169
+ /**
11170
+ * Retrieves a configuration backup based on provided resource identifiers.
11171
+ * @summary Retrieve Configuration Backup
11172
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11173
+ * @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
11174
+ * @param {*} [options] Override http request option.
11175
+ * @throws {RequiredError}
11176
+ * @memberof SystemApi
11177
+ */
11178
+ backupConfiguration(resources: Array<string>, metadata?: {
11179
+ [key: string]: string;
11180
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
10997
11181
  /**
10998
11182
  * Check if a more recent Wandelbots NOVA Version is available.
10999
11183
  * @summary Check update
@@ -11027,6 +11211,24 @@ export declare class SystemApi extends BaseAPI {
11027
11211
  * @memberof SystemApi
11028
11212
  */
11029
11213
  getSystemVersion(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
11214
+ /**
11215
+ * Retrieves a list of all available configuration resources for backup purposes.
11216
+ * @summary List Configuration Resources
11217
+ * @param {*} [options] Override http request option.
11218
+ * @throws {RequiredError}
11219
+ * @memberof SystemApi
11220
+ */
11221
+ listConfigurationResources(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigurationResource[], any>>;
11222
+ /**
11223
+ * Restores a previously backed up configuration.
11224
+ * @summary Restore Configuration Backup
11225
+ * @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
11226
+ * @param {File} body Backup file stream containing the configuration to restore.
11227
+ * @param {*} [options] Override http request option.
11228
+ * @throws {RequiredError}
11229
+ * @memberof SystemApi
11230
+ */
11231
+ restoreConfiguration(resources: Array<string>, body: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
11030
11232
  /**
11031
11233
  * 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
11234
  * @summary Update Wandelbots NOVA version