@wandelbots/nova-api 25.4.0-dev.10 → 25.4.0-dev.12
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 +69 -3
- package/v2/api.js +87 -0
- package/v2/api.js.map +1 -1
- package/v2/api.ts +124 -2
package/package.json
CHANGED
package/v2/api.d.ts
CHANGED
|
@@ -3871,6 +3871,16 @@ export interface OpcuaNodeValueTriggerConfig {
|
|
|
3871
3871
|
*/
|
|
3872
3872
|
export interface OpcuaNodeValueTriggerConfigNodeValue {
|
|
3873
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];
|
|
3874
3884
|
/**
|
|
3875
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.
|
|
3876
3886
|
* @export
|
|
@@ -5349,6 +5359,25 @@ export declare const ServiceStatusPhase: {
|
|
|
5349
5359
|
readonly Evicted: "Evicted";
|
|
5350
5360
|
};
|
|
5351
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
|
+
}
|
|
5352
5381
|
/**
|
|
5353
5382
|
*
|
|
5354
5383
|
* @export
|
|
@@ -6594,6 +6623,15 @@ export declare const CellApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6594
6623
|
* @throws {RequiredError}
|
|
6595
6624
|
*/
|
|
6596
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>;
|
|
6597
6635
|
/**
|
|
6598
6636
|
* Update the definition of the entire Cell.
|
|
6599
6637
|
* @summary Update Configuration
|
|
@@ -6643,7 +6681,7 @@ export declare const CellApiFp: (configuration?: Configuration) => {
|
|
|
6643
6681
|
* @param {*} [options] Override http request option.
|
|
6644
6682
|
* @throws {RequiredError}
|
|
6645
6683
|
*/
|
|
6646
|
-
getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6684
|
+
getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceStatusResponse>>;
|
|
6647
6685
|
/**
|
|
6648
6686
|
* List all deployed cell names. If no cells are deployed, an empty list is returned.
|
|
6649
6687
|
* @summary List Cells
|
|
@@ -6651,6 +6689,15 @@ export declare const CellApiFp: (configuration?: Configuration) => {
|
|
|
6651
6689
|
* @throws {RequiredError}
|
|
6652
6690
|
*/
|
|
6653
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>>;
|
|
6654
6701
|
/**
|
|
6655
6702
|
* Update the definition of the entire Cell.
|
|
6656
6703
|
* @summary Update Configuration
|
|
@@ -6700,7 +6747,7 @@ export declare const CellApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6700
6747
|
* @param {*} [options] Override http request option.
|
|
6701
6748
|
* @throws {RequiredError}
|
|
6702
6749
|
*/
|
|
6703
|
-
getCellStatus(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
6750
|
+
getCellStatus(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<ServiceStatusResponse>;
|
|
6704
6751
|
/**
|
|
6705
6752
|
* List all deployed cell names. If no cells are deployed, an empty list is returned.
|
|
6706
6753
|
* @summary List Cells
|
|
@@ -6708,6 +6755,15 @@ export declare const CellApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6708
6755
|
* @throws {RequiredError}
|
|
6709
6756
|
*/
|
|
6710
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>;
|
|
6711
6767
|
/**
|
|
6712
6768
|
* Update the definition of the entire Cell.
|
|
6713
6769
|
* @summary Update Configuration
|
|
@@ -6763,7 +6819,7 @@ export declare class CellApi extends BaseAPI {
|
|
|
6763
6819
|
* @throws {RequiredError}
|
|
6764
6820
|
* @memberof CellApi
|
|
6765
6821
|
*/
|
|
6766
|
-
getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6822
|
+
getCellStatus(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceStatusResponse, any>>;
|
|
6767
6823
|
/**
|
|
6768
6824
|
* List all deployed cell names. If no cells are deployed, an empty list is returned.
|
|
6769
6825
|
* @summary List Cells
|
|
@@ -6772,6 +6828,16 @@ export declare class CellApi extends BaseAPI {
|
|
|
6772
6828
|
* @memberof CellApi
|
|
6773
6829
|
*/
|
|
6774
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>>;
|
|
6775
6841
|
/**
|
|
6776
6842
|
* Update the definition of the entire Cell.
|
|
6777
6843
|
* @summary Update Configuration
|
package/v2/api.js
CHANGED
|
@@ -320,6 +320,15 @@ export const MotionGroupModel = {
|
|
|
320
320
|
KukaKr270R31002: 'KUKA_KR270_R3100_2',
|
|
321
321
|
KukaKr360R2830: 'KUKA_KR360_R2830'
|
|
322
322
|
};
|
|
323
|
+
/**
|
|
324
|
+
* The operating state.
|
|
325
|
+
* @export
|
|
326
|
+
* @enum {string}
|
|
327
|
+
*/
|
|
328
|
+
export const OperatingState = {
|
|
329
|
+
Active: 'ACTIVE',
|
|
330
|
+
Inactive: 'INACTIVE'
|
|
331
|
+
};
|
|
323
332
|
/**
|
|
324
333
|
* 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.
|
|
325
334
|
* @export
|
|
@@ -1355,6 +1364,47 @@ export const CellApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1364
|
options: localVarRequestOptions,
|
|
1356
1365
|
};
|
|
1357
1366
|
},
|
|
1367
|
+
/**
|
|
1368
|
+
* Deactivate or activate the services of a cell.
|
|
1369
|
+
* @summary Operating State
|
|
1370
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1371
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1372
|
+
* @param {*} [options] Override http request option.
|
|
1373
|
+
* @throws {RequiredError}
|
|
1374
|
+
*/
|
|
1375
|
+
setCellStatus: async (cell, operatingState, options = {}) => {
|
|
1376
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1377
|
+
assertParamExists('setCellStatus', 'cell', cell);
|
|
1378
|
+
// verify required parameter 'operatingState' is not null or undefined
|
|
1379
|
+
assertParamExists('setCellStatus', 'operatingState', operatingState);
|
|
1380
|
+
const localVarPath = `/cells/{cell}/status`
|
|
1381
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1382
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1383
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1384
|
+
let baseOptions;
|
|
1385
|
+
if (configuration) {
|
|
1386
|
+
baseOptions = configuration.baseOptions;
|
|
1387
|
+
}
|
|
1388
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1389
|
+
const localVarHeaderParameter = {};
|
|
1390
|
+
const localVarQueryParameter = {};
|
|
1391
|
+
// authentication BasicAuth required
|
|
1392
|
+
// http basic authentication required
|
|
1393
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1394
|
+
// authentication BearerAuth required
|
|
1395
|
+
// http bearer authentication required
|
|
1396
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1397
|
+
if (operatingState !== undefined) {
|
|
1398
|
+
localVarQueryParameter['operating_state'] = operatingState;
|
|
1399
|
+
}
|
|
1400
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1402
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1403
|
+
return {
|
|
1404
|
+
url: toPathString(localVarUrlObj),
|
|
1405
|
+
options: localVarRequestOptions,
|
|
1406
|
+
};
|
|
1407
|
+
},
|
|
1358
1408
|
/**
|
|
1359
1409
|
* Update the definition of the entire Cell.
|
|
1360
1410
|
* @summary Update Configuration
|
|
@@ -1474,6 +1524,20 @@ export const CellApiFp = function (configuration) {
|
|
|
1474
1524
|
const localVarOperationServerBasePath = operationServerMap['CellApi.listCells']?.[localVarOperationServerIndex]?.url;
|
|
1475
1525
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1476
1526
|
},
|
|
1527
|
+
/**
|
|
1528
|
+
* Deactivate or activate the services of a cell.
|
|
1529
|
+
* @summary Operating State
|
|
1530
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1531
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1532
|
+
* @param {*} [options] Override http request option.
|
|
1533
|
+
* @throws {RequiredError}
|
|
1534
|
+
*/
|
|
1535
|
+
async setCellStatus(cell, operatingState, options) {
|
|
1536
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setCellStatus(cell, operatingState, options);
|
|
1537
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1538
|
+
const localVarOperationServerBasePath = operationServerMap['CellApi.setCellStatus']?.[localVarOperationServerIndex]?.url;
|
|
1539
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1540
|
+
},
|
|
1477
1541
|
/**
|
|
1478
1542
|
* Update the definition of the entire Cell.
|
|
1479
1543
|
* @summary Update Configuration
|
|
@@ -1549,6 +1613,17 @@ export const CellApiFactory = function (configuration, basePath, axios) {
|
|
|
1549
1613
|
listCells(options) {
|
|
1550
1614
|
return localVarFp.listCells(options).then((request) => request(axios, basePath));
|
|
1551
1615
|
},
|
|
1616
|
+
/**
|
|
1617
|
+
* Deactivate or activate the services of a cell.
|
|
1618
|
+
* @summary Operating State
|
|
1619
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1620
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1621
|
+
* @param {*} [options] Override http request option.
|
|
1622
|
+
* @throws {RequiredError}
|
|
1623
|
+
*/
|
|
1624
|
+
setCellStatus(cell, operatingState, options) {
|
|
1625
|
+
return localVarFp.setCellStatus(cell, operatingState, options).then((request) => request(axios, basePath));
|
|
1626
|
+
},
|
|
1552
1627
|
/**
|
|
1553
1628
|
* Update the definition of the entire Cell.
|
|
1554
1629
|
* @summary Update Configuration
|
|
@@ -1626,6 +1701,18 @@ export class CellApi extends BaseAPI {
|
|
|
1626
1701
|
listCells(options) {
|
|
1627
1702
|
return CellApiFp(this.configuration).listCells(options).then((request) => request(this.axios, this.basePath));
|
|
1628
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* Deactivate or activate the services of a cell.
|
|
1706
|
+
* @summary Operating State
|
|
1707
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1708
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1709
|
+
* @param {*} [options] Override http request option.
|
|
1710
|
+
* @throws {RequiredError}
|
|
1711
|
+
* @memberof CellApi
|
|
1712
|
+
*/
|
|
1713
|
+
setCellStatus(cell, operatingState, options) {
|
|
1714
|
+
return CellApiFp(this.configuration).setCellStatus(cell, operatingState, options).then((request) => request(this.axios, this.basePath));
|
|
1715
|
+
}
|
|
1629
1716
|
/**
|
|
1630
1717
|
* Update the definition of the entire Cell.
|
|
1631
1718
|
* @summary Update Configuration
|