@wandelbots/nova-api 25.4.0-dev.3 → 25.4.0-dev.30
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/v1/api.d.ts +2 -2
- package/v1/api.ts +2 -2
- package/v2/api.d.ts +467 -357
- package/v2/api.js +457 -100
- package/v2/api.js.map +1 -1
- package/v2/api.ts +727 -404
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
|
};
|
|
@@ -36,6 +36,9 @@ export const BlendingAutoBlendingNameEnum = {
|
|
|
36
36
|
export const BlendingPositionBlendingNameEnum = {
|
|
37
37
|
BlendingPosition: 'BlendingPosition'
|
|
38
38
|
};
|
|
39
|
+
export const BooleanValueValueTypeEnum = {
|
|
40
|
+
Boolean: 'boolean'
|
|
41
|
+
};
|
|
39
42
|
export const BoxTypeEnum = {
|
|
40
43
|
TypeHollow: 'TYPE_HOLLOW',
|
|
41
44
|
TypeFull: 'TYPE_FULL'
|
|
@@ -93,11 +96,11 @@ export const FeedbackOutOfWorkspaceErrorFeedbackNameEnum = {
|
|
|
93
96
|
export const FeedbackSingularityErrorFeedbackNameEnum = {
|
|
94
97
|
FeedbackSingularity: 'FeedbackSingularity'
|
|
95
98
|
};
|
|
96
|
-
export const
|
|
97
|
-
|
|
99
|
+
export const FloatValueValueTypeEnum = {
|
|
100
|
+
Float: 'float'
|
|
98
101
|
};
|
|
99
|
-
export const
|
|
100
|
-
|
|
102
|
+
export const IOBooleanValueValueTypeEnum = {
|
|
103
|
+
Boolean: 'boolean'
|
|
101
104
|
};
|
|
102
105
|
/**
|
|
103
106
|
* Identifies the input/output type.
|
|
@@ -108,17 +111,11 @@ export const IODirection = {
|
|
|
108
111
|
IoTypeInput: 'IO_TYPE_INPUT',
|
|
109
112
|
IoTypeOutput: 'IO_TYPE_OUTPUT'
|
|
110
113
|
};
|
|
111
|
-
export const
|
|
112
|
-
|
|
113
|
-
};
|
|
114
|
-
export const IOFloatValue2IoValueTypeEnum = {
|
|
115
|
-
IoFloatValue: 'IOFloatValue'
|
|
116
|
-
};
|
|
117
|
-
export const IOIntegerValueIoValueTypeEnum = {
|
|
118
|
-
IoIntegerValue: 'IOIntegerValue'
|
|
114
|
+
export const IOFloatValueValueTypeEnum = {
|
|
115
|
+
Float: 'float'
|
|
119
116
|
};
|
|
120
|
-
export const
|
|
121
|
-
|
|
117
|
+
export const IOIntegerValueValueTypeEnum = {
|
|
118
|
+
Integer: 'integer'
|
|
122
119
|
};
|
|
123
120
|
/**
|
|
124
121
|
* Data type of the input/output.
|
|
@@ -130,15 +127,15 @@ export const IOValueType = {
|
|
|
130
127
|
IoValueAnalogFloat: 'IO_VALUE_ANALOG_FLOAT',
|
|
131
128
|
IoValueAnalogInteger: 'IO_VALUE_ANALOG_INTEGER'
|
|
132
129
|
};
|
|
133
|
-
export const IOsIosInnerIoValueTypeEnum = {
|
|
134
|
-
IoFloatValue: 'IOFloatValue'
|
|
135
|
-
};
|
|
136
130
|
export const InitializeJoggingRequestMessageTypeEnum = {
|
|
137
131
|
InitializeJoggingRequest: 'InitializeJoggingRequest'
|
|
138
132
|
};
|
|
139
133
|
export const InitializeMovementRequestMessageTypeEnum = {
|
|
140
134
|
InitializeMovementRequest: 'InitializeMovementRequest'
|
|
141
135
|
};
|
|
136
|
+
export const IntegerValueValueTypeEnum = {
|
|
137
|
+
Integer: 'integer'
|
|
138
|
+
};
|
|
142
139
|
/**
|
|
143
140
|
* Definition of the joint where the limits are applied.
|
|
144
141
|
* @export
|
|
@@ -320,6 +317,15 @@ export const MotionGroupModel = {
|
|
|
320
317
|
KukaKr270R31002: 'KUKA_KR270_R3100_2',
|
|
321
318
|
KukaKr360R2830: 'KUKA_KR360_R2830'
|
|
322
319
|
};
|
|
320
|
+
/**
|
|
321
|
+
* The operating state.
|
|
322
|
+
* @export
|
|
323
|
+
* @enum {string}
|
|
324
|
+
*/
|
|
325
|
+
export const OperatingState = {
|
|
326
|
+
Active: 'ACTIVE',
|
|
327
|
+
Inactive: 'INACTIVE'
|
|
328
|
+
};
|
|
323
329
|
/**
|
|
324
330
|
* 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
331
|
* @export
|
|
@@ -1355,6 +1361,47 @@ export const CellApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1361
|
options: localVarRequestOptions,
|
|
1356
1362
|
};
|
|
1357
1363
|
},
|
|
1364
|
+
/**
|
|
1365
|
+
* Deactivate or activate the services of a cell.
|
|
1366
|
+
* @summary Operating State
|
|
1367
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1368
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1369
|
+
* @param {*} [options] Override http request option.
|
|
1370
|
+
* @throws {RequiredError}
|
|
1371
|
+
*/
|
|
1372
|
+
setCellStatus: async (cell, operatingState, options = {}) => {
|
|
1373
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1374
|
+
assertParamExists('setCellStatus', 'cell', cell);
|
|
1375
|
+
// verify required parameter 'operatingState' is not null or undefined
|
|
1376
|
+
assertParamExists('setCellStatus', 'operatingState', operatingState);
|
|
1377
|
+
const localVarPath = `/cells/{cell}/status`
|
|
1378
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1380
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1381
|
+
let baseOptions;
|
|
1382
|
+
if (configuration) {
|
|
1383
|
+
baseOptions = configuration.baseOptions;
|
|
1384
|
+
}
|
|
1385
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1386
|
+
const localVarHeaderParameter = {};
|
|
1387
|
+
const localVarQueryParameter = {};
|
|
1388
|
+
// authentication BasicAuth required
|
|
1389
|
+
// http basic authentication required
|
|
1390
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1391
|
+
// authentication BearerAuth required
|
|
1392
|
+
// http bearer authentication required
|
|
1393
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1394
|
+
if (operatingState !== undefined) {
|
|
1395
|
+
localVarQueryParameter['operating_state'] = operatingState;
|
|
1396
|
+
}
|
|
1397
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1398
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1399
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1400
|
+
return {
|
|
1401
|
+
url: toPathString(localVarUrlObj),
|
|
1402
|
+
options: localVarRequestOptions,
|
|
1403
|
+
};
|
|
1404
|
+
},
|
|
1358
1405
|
/**
|
|
1359
1406
|
* Update the definition of the entire Cell.
|
|
1360
1407
|
* @summary Update Configuration
|
|
@@ -1474,6 +1521,20 @@ export const CellApiFp = function (configuration) {
|
|
|
1474
1521
|
const localVarOperationServerBasePath = operationServerMap['CellApi.listCells']?.[localVarOperationServerIndex]?.url;
|
|
1475
1522
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1476
1523
|
},
|
|
1524
|
+
/**
|
|
1525
|
+
* Deactivate or activate the services of a cell.
|
|
1526
|
+
* @summary Operating State
|
|
1527
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1528
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1529
|
+
* @param {*} [options] Override http request option.
|
|
1530
|
+
* @throws {RequiredError}
|
|
1531
|
+
*/
|
|
1532
|
+
async setCellStatus(cell, operatingState, options) {
|
|
1533
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setCellStatus(cell, operatingState, options);
|
|
1534
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1535
|
+
const localVarOperationServerBasePath = operationServerMap['CellApi.setCellStatus']?.[localVarOperationServerIndex]?.url;
|
|
1536
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1537
|
+
},
|
|
1477
1538
|
/**
|
|
1478
1539
|
* Update the definition of the entire Cell.
|
|
1479
1540
|
* @summary Update Configuration
|
|
@@ -1549,6 +1610,17 @@ export const CellApiFactory = function (configuration, basePath, axios) {
|
|
|
1549
1610
|
listCells(options) {
|
|
1550
1611
|
return localVarFp.listCells(options).then((request) => request(axios, basePath));
|
|
1551
1612
|
},
|
|
1613
|
+
/**
|
|
1614
|
+
* Deactivate or activate the services of a cell.
|
|
1615
|
+
* @summary Operating State
|
|
1616
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1617
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1618
|
+
* @param {*} [options] Override http request option.
|
|
1619
|
+
* @throws {RequiredError}
|
|
1620
|
+
*/
|
|
1621
|
+
setCellStatus(cell, operatingState, options) {
|
|
1622
|
+
return localVarFp.setCellStatus(cell, operatingState, options).then((request) => request(axios, basePath));
|
|
1623
|
+
},
|
|
1552
1624
|
/**
|
|
1553
1625
|
* Update the definition of the entire Cell.
|
|
1554
1626
|
* @summary Update Configuration
|
|
@@ -1626,6 +1698,18 @@ export class CellApi extends BaseAPI {
|
|
|
1626
1698
|
listCells(options) {
|
|
1627
1699
|
return CellApiFp(this.configuration).listCells(options).then((request) => request(this.axios, this.basePath));
|
|
1628
1700
|
}
|
|
1701
|
+
/**
|
|
1702
|
+
* Deactivate or activate the services of a cell.
|
|
1703
|
+
* @summary Operating State
|
|
1704
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1705
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1706
|
+
* @param {*} [options] Override http request option.
|
|
1707
|
+
* @throws {RequiredError}
|
|
1708
|
+
* @memberof CellApi
|
|
1709
|
+
*/
|
|
1710
|
+
setCellStatus(cell, operatingState, options) {
|
|
1711
|
+
return CellApiFp(this.configuration).setCellStatus(cell, operatingState, options).then((request) => request(this.axios, this.basePath));
|
|
1712
|
+
}
|
|
1629
1713
|
/**
|
|
1630
1714
|
* Update the definition of the entire Cell.
|
|
1631
1715
|
* @summary Update Configuration
|
|
@@ -2980,23 +3064,17 @@ export const ControllerInputsOutputsApiAxiosParamCreator = function (configurati
|
|
|
2980
3064
|
* @summary Wait For
|
|
2981
3065
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
2982
3066
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
2983
|
-
* @param {
|
|
2984
|
-
* @param {Comparator} comparisonType
|
|
2985
|
-
* @param {boolean} [booleanValue]
|
|
2986
|
-
* @param {string} [integerValue]
|
|
2987
|
-
* @param {number} [floatValue]
|
|
3067
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
2988
3068
|
* @param {*} [options] Override http request option.
|
|
2989
3069
|
* @throws {RequiredError}
|
|
2990
3070
|
*/
|
|
2991
|
-
waitForIOEvent: async (cell, controller,
|
|
3071
|
+
waitForIOEvent: async (cell, controller, waitForIOEventRequest, options = {}) => {
|
|
2992
3072
|
// verify required parameter 'cell' is not null or undefined
|
|
2993
3073
|
assertParamExists('waitForIOEvent', 'cell', cell);
|
|
2994
3074
|
// verify required parameter 'controller' is not null or undefined
|
|
2995
3075
|
assertParamExists('waitForIOEvent', 'controller', controller);
|
|
2996
|
-
// verify required parameter '
|
|
2997
|
-
assertParamExists('waitForIOEvent', '
|
|
2998
|
-
// verify required parameter 'comparisonType' is not null or undefined
|
|
2999
|
-
assertParamExists('waitForIOEvent', 'comparisonType', comparisonType);
|
|
3076
|
+
// verify required parameter 'waitForIOEventRequest' is not null or undefined
|
|
3077
|
+
assertParamExists('waitForIOEvent', 'waitForIOEventRequest', waitForIOEventRequest);
|
|
3000
3078
|
const localVarPath = `/cells/{cell}/controllers/{controller}/ios/wait-for`
|
|
3001
3079
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
3002
3080
|
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
@@ -3006,7 +3084,7 @@ export const ControllerInputsOutputsApiAxiosParamCreator = function (configurati
|
|
|
3006
3084
|
if (configuration) {
|
|
3007
3085
|
baseOptions = configuration.baseOptions;
|
|
3008
3086
|
}
|
|
3009
|
-
const localVarRequestOptions = { method: '
|
|
3087
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3010
3088
|
const localVarHeaderParameter = {};
|
|
3011
3089
|
const localVarQueryParameter = {};
|
|
3012
3090
|
// authentication BasicAuth required
|
|
@@ -3015,24 +3093,11 @@ export const ControllerInputsOutputsApiAxiosParamCreator = function (configurati
|
|
|
3015
3093
|
// authentication BearerAuth required
|
|
3016
3094
|
// http bearer authentication required
|
|
3017
3095
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3018
|
-
|
|
3019
|
-
localVarQueryParameter['io'] = io;
|
|
3020
|
-
}
|
|
3021
|
-
if (comparisonType !== undefined) {
|
|
3022
|
-
localVarQueryParameter['comparison_type'] = comparisonType;
|
|
3023
|
-
}
|
|
3024
|
-
if (booleanValue !== undefined) {
|
|
3025
|
-
localVarQueryParameter['boolean_value'] = booleanValue;
|
|
3026
|
-
}
|
|
3027
|
-
if (integerValue !== undefined) {
|
|
3028
|
-
localVarQueryParameter['integer_value'] = integerValue;
|
|
3029
|
-
}
|
|
3030
|
-
if (floatValue !== undefined) {
|
|
3031
|
-
localVarQueryParameter['float_value'] = floatValue;
|
|
3032
|
-
}
|
|
3096
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3033
3097
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3034
3098
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3035
3099
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3100
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitForIOEventRequest, localVarRequestOptions, configuration);
|
|
3036
3101
|
return {
|
|
3037
3102
|
url: toPathString(localVarUrlObj),
|
|
3038
3103
|
options: localVarRequestOptions,
|
|
@@ -3115,16 +3180,12 @@ export const ControllerInputsOutputsApiFp = function (configuration) {
|
|
|
3115
3180
|
* @summary Wait For
|
|
3116
3181
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3117
3182
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
3118
|
-
* @param {
|
|
3119
|
-
* @param {Comparator} comparisonType
|
|
3120
|
-
* @param {boolean} [booleanValue]
|
|
3121
|
-
* @param {string} [integerValue]
|
|
3122
|
-
* @param {number} [floatValue]
|
|
3183
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
3123
3184
|
* @param {*} [options] Override http request option.
|
|
3124
3185
|
* @throws {RequiredError}
|
|
3125
3186
|
*/
|
|
3126
|
-
async waitForIOEvent(cell, controller,
|
|
3127
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.waitForIOEvent(cell, controller,
|
|
3187
|
+
async waitForIOEvent(cell, controller, waitForIOEventRequest, options) {
|
|
3188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitForIOEvent(cell, controller, waitForIOEventRequest, options);
|
|
3128
3189
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3129
3190
|
const localVarOperationServerBasePath = operationServerMap['ControllerInputsOutputsApi.waitForIOEvent']?.[localVarOperationServerIndex]?.url;
|
|
3130
3191
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3194,16 +3255,12 @@ export const ControllerInputsOutputsApiFactory = function (configuration, basePa
|
|
|
3194
3255
|
* @summary Wait For
|
|
3195
3256
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3196
3257
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
3197
|
-
* @param {
|
|
3198
|
-
* @param {Comparator} comparisonType
|
|
3199
|
-
* @param {boolean} [booleanValue]
|
|
3200
|
-
* @param {string} [integerValue]
|
|
3201
|
-
* @param {number} [floatValue]
|
|
3258
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
3202
3259
|
* @param {*} [options] Override http request option.
|
|
3203
3260
|
* @throws {RequiredError}
|
|
3204
3261
|
*/
|
|
3205
|
-
waitForIOEvent(cell, controller,
|
|
3206
|
-
return localVarFp.waitForIOEvent(cell, controller,
|
|
3262
|
+
waitForIOEvent(cell, controller, waitForIOEventRequest, options) {
|
|
3263
|
+
return localVarFp.waitForIOEvent(cell, controller, waitForIOEventRequest, options).then((request) => request(axios, basePath));
|
|
3207
3264
|
},
|
|
3208
3265
|
};
|
|
3209
3266
|
};
|
|
@@ -3274,17 +3331,13 @@ export class ControllerInputsOutputsApi extends BaseAPI {
|
|
|
3274
3331
|
* @summary Wait For
|
|
3275
3332
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3276
3333
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
3277
|
-
* @param {
|
|
3278
|
-
* @param {Comparator} comparisonType
|
|
3279
|
-
* @param {boolean} [booleanValue]
|
|
3280
|
-
* @param {string} [integerValue]
|
|
3281
|
-
* @param {number} [floatValue]
|
|
3334
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
3282
3335
|
* @param {*} [options] Override http request option.
|
|
3283
3336
|
* @throws {RequiredError}
|
|
3284
3337
|
* @memberof ControllerInputsOutputsApi
|
|
3285
3338
|
*/
|
|
3286
|
-
waitForIOEvent(cell, controller,
|
|
3287
|
-
return ControllerInputsOutputsApiFp(this.configuration).waitForIOEvent(cell, controller,
|
|
3339
|
+
waitForIOEvent(cell, controller, waitForIOEventRequest, options) {
|
|
3340
|
+
return ControllerInputsOutputsApiFp(this.configuration).waitForIOEvent(cell, controller, waitForIOEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3288
3341
|
}
|
|
3289
3342
|
}
|
|
3290
3343
|
/**
|
|
@@ -3380,17 +3433,17 @@ export const CoordinateSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
3380
3433
|
* @summary Transform
|
|
3381
3434
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3382
3435
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3383
|
-
* @param {
|
|
3436
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3384
3437
|
* @param {*} [options] Override http request option.
|
|
3385
3438
|
* @throws {RequiredError}
|
|
3386
3439
|
*/
|
|
3387
|
-
transformInCoordinateSystem: async (cell, coordinateSystem,
|
|
3440
|
+
transformInCoordinateSystem: async (cell, coordinateSystem, poseInCoordinateSystem, options = {}) => {
|
|
3388
3441
|
// verify required parameter 'cell' is not null or undefined
|
|
3389
3442
|
assertParamExists('transformInCoordinateSystem', 'cell', cell);
|
|
3390
3443
|
// verify required parameter 'coordinateSystem' is not null or undefined
|
|
3391
3444
|
assertParamExists('transformInCoordinateSystem', 'coordinateSystem', coordinateSystem);
|
|
3392
|
-
// verify required parameter '
|
|
3393
|
-
assertParamExists('transformInCoordinateSystem', '
|
|
3445
|
+
// verify required parameter 'poseInCoordinateSystem' is not null or undefined
|
|
3446
|
+
assertParamExists('transformInCoordinateSystem', 'poseInCoordinateSystem', poseInCoordinateSystem);
|
|
3394
3447
|
const localVarPath = `/cells/{cell}/coordinate-systems/{coordinate-system}/transform`
|
|
3395
3448
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
3396
3449
|
.replace(`{${"coordinate-system"}}`, encodeURIComponent(String(coordinateSystem)));
|
|
@@ -3413,7 +3466,7 @@ export const CoordinateSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
3413
3466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3414
3467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3415
3468
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3416
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3469
|
+
localVarRequestOptions.data = serializeDataIfNeeded(poseInCoordinateSystem, localVarRequestOptions, configuration);
|
|
3417
3470
|
return {
|
|
3418
3471
|
url: toPathString(localVarUrlObj),
|
|
3419
3472
|
options: localVarRequestOptions,
|
|
@@ -3462,12 +3515,12 @@ export const CoordinateSystemsApiFp = function (configuration) {
|
|
|
3462
3515
|
* @summary Transform
|
|
3463
3516
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3464
3517
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3465
|
-
* @param {
|
|
3518
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3466
3519
|
* @param {*} [options] Override http request option.
|
|
3467
3520
|
* @throws {RequiredError}
|
|
3468
3521
|
*/
|
|
3469
|
-
async transformInCoordinateSystem(cell, coordinateSystem,
|
|
3470
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.transformInCoordinateSystem(cell, coordinateSystem,
|
|
3522
|
+
async transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options) {
|
|
3523
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options);
|
|
3471
3524
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3472
3525
|
const localVarOperationServerBasePath = operationServerMap['CoordinateSystemsApi.transformInCoordinateSystem']?.[localVarOperationServerIndex]?.url;
|
|
3473
3526
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3509,12 +3562,12 @@ export const CoordinateSystemsApiFactory = function (configuration, basePath, ax
|
|
|
3509
3562
|
* @summary Transform
|
|
3510
3563
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3511
3564
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3512
|
-
* @param {
|
|
3565
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3513
3566
|
* @param {*} [options] Override http request option.
|
|
3514
3567
|
* @throws {RequiredError}
|
|
3515
3568
|
*/
|
|
3516
|
-
transformInCoordinateSystem(cell, coordinateSystem,
|
|
3517
|
-
return localVarFp.transformInCoordinateSystem(cell, coordinateSystem,
|
|
3569
|
+
transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options) {
|
|
3570
|
+
return localVarFp.transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options).then((request) => request(axios, basePath));
|
|
3518
3571
|
},
|
|
3519
3572
|
};
|
|
3520
3573
|
};
|
|
@@ -3555,13 +3608,13 @@ export class CoordinateSystemsApi extends BaseAPI {
|
|
|
3555
3608
|
* @summary Transform
|
|
3556
3609
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3557
3610
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3558
|
-
* @param {
|
|
3611
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3559
3612
|
* @param {*} [options] Override http request option.
|
|
3560
3613
|
* @throws {RequiredError}
|
|
3561
3614
|
* @memberof CoordinateSystemsApi
|
|
3562
3615
|
*/
|
|
3563
|
-
transformInCoordinateSystem(cell, coordinateSystem,
|
|
3564
|
-
return CoordinateSystemsApiFp(this.configuration).transformInCoordinateSystem(cell, coordinateSystem,
|
|
3616
|
+
transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options) {
|
|
3617
|
+
return CoordinateSystemsApiFp(this.configuration).transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options).then((request) => request(this.axios, this.basePath));
|
|
3565
3618
|
}
|
|
3566
3619
|
}
|
|
3567
3620
|
/**
|
|
@@ -9603,6 +9656,47 @@ export class StoreObjectApi extends BaseAPI {
|
|
|
9603
9656
|
*/
|
|
9604
9657
|
export const SystemApiAxiosParamCreator = function (configuration) {
|
|
9605
9658
|
return {
|
|
9659
|
+
/**
|
|
9660
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
9661
|
+
* @summary Retrieve Configuration Backup
|
|
9662
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9663
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
9664
|
+
* @param {*} [options] Override http request option.
|
|
9665
|
+
* @throws {RequiredError}
|
|
9666
|
+
*/
|
|
9667
|
+
backupConfiguration: async (resources, metadata, options = {}) => {
|
|
9668
|
+
// verify required parameter 'resources' is not null or undefined
|
|
9669
|
+
assertParamExists('backupConfiguration', 'resources', resources);
|
|
9670
|
+
const localVarPath = `/system/configuration`;
|
|
9671
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9672
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9673
|
+
let baseOptions;
|
|
9674
|
+
if (configuration) {
|
|
9675
|
+
baseOptions = configuration.baseOptions;
|
|
9676
|
+
}
|
|
9677
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9678
|
+
const localVarHeaderParameter = {};
|
|
9679
|
+
const localVarQueryParameter = {};
|
|
9680
|
+
// authentication BasicAuth required
|
|
9681
|
+
// http basic authentication required
|
|
9682
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9683
|
+
// authentication BearerAuth required
|
|
9684
|
+
// http bearer authentication required
|
|
9685
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9686
|
+
if (resources) {
|
|
9687
|
+
localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
|
|
9688
|
+
}
|
|
9689
|
+
if (metadata !== undefined) {
|
|
9690
|
+
localVarQueryParameter['metadata'] = metadata;
|
|
9691
|
+
}
|
|
9692
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9694
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9695
|
+
return {
|
|
9696
|
+
url: toPathString(localVarUrlObj),
|
|
9697
|
+
options: localVarRequestOptions,
|
|
9698
|
+
};
|
|
9699
|
+
},
|
|
9606
9700
|
/**
|
|
9607
9701
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9608
9702
|
* @summary Check update
|
|
@@ -9733,6 +9827,79 @@ export const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
9733
9827
|
options: localVarRequestOptions,
|
|
9734
9828
|
};
|
|
9735
9829
|
},
|
|
9830
|
+
/**
|
|
9831
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
9832
|
+
* @summary List Configuration Resources
|
|
9833
|
+
* @param {*} [options] Override http request option.
|
|
9834
|
+
* @throws {RequiredError}
|
|
9835
|
+
*/
|
|
9836
|
+
listConfigurationResources: async (options = {}) => {
|
|
9837
|
+
const localVarPath = `/system/configuration/resources`;
|
|
9838
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9839
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9840
|
+
let baseOptions;
|
|
9841
|
+
if (configuration) {
|
|
9842
|
+
baseOptions = configuration.baseOptions;
|
|
9843
|
+
}
|
|
9844
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9845
|
+
const localVarHeaderParameter = {};
|
|
9846
|
+
const localVarQueryParameter = {};
|
|
9847
|
+
// authentication BasicAuth required
|
|
9848
|
+
// http basic authentication required
|
|
9849
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9850
|
+
// authentication BearerAuth required
|
|
9851
|
+
// http bearer authentication required
|
|
9852
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9853
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9854
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9855
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9856
|
+
return {
|
|
9857
|
+
url: toPathString(localVarUrlObj),
|
|
9858
|
+
options: localVarRequestOptions,
|
|
9859
|
+
};
|
|
9860
|
+
},
|
|
9861
|
+
/**
|
|
9862
|
+
* Restores a previously backed up configuration.
|
|
9863
|
+
* @summary Restore Configuration Backup
|
|
9864
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9865
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
9866
|
+
* @param {*} [options] Override http request option.
|
|
9867
|
+
* @throws {RequiredError}
|
|
9868
|
+
*/
|
|
9869
|
+
restoreConfiguration: async (resources, body, options = {}) => {
|
|
9870
|
+
// verify required parameter 'resources' is not null or undefined
|
|
9871
|
+
assertParamExists('restoreConfiguration', 'resources', resources);
|
|
9872
|
+
// verify required parameter 'body' is not null or undefined
|
|
9873
|
+
assertParamExists('restoreConfiguration', 'body', body);
|
|
9874
|
+
const localVarPath = `/system/configuration`;
|
|
9875
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9876
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9877
|
+
let baseOptions;
|
|
9878
|
+
if (configuration) {
|
|
9879
|
+
baseOptions = configuration.baseOptions;
|
|
9880
|
+
}
|
|
9881
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9882
|
+
const localVarHeaderParameter = {};
|
|
9883
|
+
const localVarQueryParameter = {};
|
|
9884
|
+
// authentication BasicAuth required
|
|
9885
|
+
// http basic authentication required
|
|
9886
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9887
|
+
// authentication BearerAuth required
|
|
9888
|
+
// http bearer authentication required
|
|
9889
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9890
|
+
if (resources) {
|
|
9891
|
+
localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
|
|
9892
|
+
}
|
|
9893
|
+
localVarHeaderParameter['Content-Type'] = 'application/gzip';
|
|
9894
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9895
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9896
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9897
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
9898
|
+
return {
|
|
9899
|
+
url: toPathString(localVarUrlObj),
|
|
9900
|
+
options: localVarRequestOptions,
|
|
9901
|
+
};
|
|
9902
|
+
},
|
|
9736
9903
|
/**
|
|
9737
9904
|
* 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
9905
|
* @summary Update Wandelbots NOVA version
|
|
@@ -9778,6 +9945,20 @@ export const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
9778
9945
|
export const SystemApiFp = function (configuration) {
|
|
9779
9946
|
const localVarAxiosParamCreator = SystemApiAxiosParamCreator(configuration);
|
|
9780
9947
|
return {
|
|
9948
|
+
/**
|
|
9949
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
9950
|
+
* @summary Retrieve Configuration Backup
|
|
9951
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9952
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
9953
|
+
* @param {*} [options] Override http request option.
|
|
9954
|
+
* @throws {RequiredError}
|
|
9955
|
+
*/
|
|
9956
|
+
async backupConfiguration(resources, metadata, options) {
|
|
9957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.backupConfiguration(resources, metadata, options);
|
|
9958
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9959
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.backupConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
9960
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9961
|
+
},
|
|
9781
9962
|
/**
|
|
9782
9963
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9783
9964
|
* @summary Check update
|
|
@@ -9827,6 +10008,32 @@ export const SystemApiFp = function (configuration) {
|
|
|
9827
10008
|
const localVarOperationServerBasePath = operationServerMap['SystemApi.getSystemVersion']?.[localVarOperationServerIndex]?.url;
|
|
9828
10009
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9829
10010
|
},
|
|
10011
|
+
/**
|
|
10012
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10013
|
+
* @summary List Configuration Resources
|
|
10014
|
+
* @param {*} [options] Override http request option.
|
|
10015
|
+
* @throws {RequiredError}
|
|
10016
|
+
*/
|
|
10017
|
+
async listConfigurationResources(options) {
|
|
10018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listConfigurationResources(options);
|
|
10019
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10020
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.listConfigurationResources']?.[localVarOperationServerIndex]?.url;
|
|
10021
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10022
|
+
},
|
|
10023
|
+
/**
|
|
10024
|
+
* Restores a previously backed up configuration.
|
|
10025
|
+
* @summary Restore Configuration Backup
|
|
10026
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10027
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10028
|
+
* @param {*} [options] Override http request option.
|
|
10029
|
+
* @throws {RequiredError}
|
|
10030
|
+
*/
|
|
10031
|
+
async restoreConfiguration(resources, body, options) {
|
|
10032
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(resources, body, options);
|
|
10033
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10034
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.restoreConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
10035
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10036
|
+
},
|
|
9830
10037
|
/**
|
|
9831
10038
|
* 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
10039
|
* @summary Update Wandelbots NOVA version
|
|
@@ -9849,6 +10056,17 @@ export const SystemApiFp = function (configuration) {
|
|
|
9849
10056
|
export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
9850
10057
|
const localVarFp = SystemApiFp(configuration);
|
|
9851
10058
|
return {
|
|
10059
|
+
/**
|
|
10060
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
10061
|
+
* @summary Retrieve Configuration Backup
|
|
10062
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10063
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
10064
|
+
* @param {*} [options] Override http request option.
|
|
10065
|
+
* @throws {RequiredError}
|
|
10066
|
+
*/
|
|
10067
|
+
backupConfiguration(resources, metadata, options) {
|
|
10068
|
+
return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
|
|
10069
|
+
},
|
|
9852
10070
|
/**
|
|
9853
10071
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9854
10072
|
* @summary Check update
|
|
@@ -9886,6 +10104,26 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
9886
10104
|
getSystemVersion(options) {
|
|
9887
10105
|
return localVarFp.getSystemVersion(options).then((request) => request(axios, basePath));
|
|
9888
10106
|
},
|
|
10107
|
+
/**
|
|
10108
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10109
|
+
* @summary List Configuration Resources
|
|
10110
|
+
* @param {*} [options] Override http request option.
|
|
10111
|
+
* @throws {RequiredError}
|
|
10112
|
+
*/
|
|
10113
|
+
listConfigurationResources(options) {
|
|
10114
|
+
return localVarFp.listConfigurationResources(options).then((request) => request(axios, basePath));
|
|
10115
|
+
},
|
|
10116
|
+
/**
|
|
10117
|
+
* Restores a previously backed up configuration.
|
|
10118
|
+
* @summary Restore Configuration Backup
|
|
10119
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10120
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10121
|
+
* @param {*} [options] Override http request option.
|
|
10122
|
+
* @throws {RequiredError}
|
|
10123
|
+
*/
|
|
10124
|
+
restoreConfiguration(resources, body, options) {
|
|
10125
|
+
return localVarFp.restoreConfiguration(resources, body, options).then((request) => request(axios, basePath));
|
|
10126
|
+
},
|
|
9889
10127
|
/**
|
|
9890
10128
|
* 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
10129
|
* @summary Update Wandelbots NOVA version
|
|
@@ -9905,6 +10143,18 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
9905
10143
|
* @extends {BaseAPI}
|
|
9906
10144
|
*/
|
|
9907
10145
|
export class SystemApi extends BaseAPI {
|
|
10146
|
+
/**
|
|
10147
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
10148
|
+
* @summary Retrieve Configuration Backup
|
|
10149
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10150
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
10151
|
+
* @param {*} [options] Override http request option.
|
|
10152
|
+
* @throws {RequiredError}
|
|
10153
|
+
* @memberof SystemApi
|
|
10154
|
+
*/
|
|
10155
|
+
backupConfiguration(resources, metadata, options) {
|
|
10156
|
+
return SystemApiFp(this.configuration).backupConfiguration(resources, metadata, options).then((request) => request(this.axios, this.basePath));
|
|
10157
|
+
}
|
|
9908
10158
|
/**
|
|
9909
10159
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9910
10160
|
* @summary Check update
|
|
@@ -9946,6 +10196,28 @@ export class SystemApi extends BaseAPI {
|
|
|
9946
10196
|
getSystemVersion(options) {
|
|
9947
10197
|
return SystemApiFp(this.configuration).getSystemVersion(options).then((request) => request(this.axios, this.basePath));
|
|
9948
10198
|
}
|
|
10199
|
+
/**
|
|
10200
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10201
|
+
* @summary List Configuration Resources
|
|
10202
|
+
* @param {*} [options] Override http request option.
|
|
10203
|
+
* @throws {RequiredError}
|
|
10204
|
+
* @memberof SystemApi
|
|
10205
|
+
*/
|
|
10206
|
+
listConfigurationResources(options) {
|
|
10207
|
+
return SystemApiFp(this.configuration).listConfigurationResources(options).then((request) => request(this.axios, this.basePath));
|
|
10208
|
+
}
|
|
10209
|
+
/**
|
|
10210
|
+
* Restores a previously backed up configuration.
|
|
10211
|
+
* @summary Restore Configuration Backup
|
|
10212
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10213
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10214
|
+
* @param {*} [options] Override http request option.
|
|
10215
|
+
* @throws {RequiredError}
|
|
10216
|
+
* @memberof SystemApi
|
|
10217
|
+
*/
|
|
10218
|
+
restoreConfiguration(resources, body, options) {
|
|
10219
|
+
return SystemApiFp(this.configuration).restoreConfiguration(resources, body, options).then((request) => request(this.axios, this.basePath));
|
|
10220
|
+
}
|
|
9949
10221
|
/**
|
|
9950
10222
|
* 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
10223
|
* @summary Update Wandelbots NOVA version
|
|
@@ -10761,22 +11033,21 @@ export const VirtualRobotApiAxiosParamCreator = function (configuration) {
|
|
|
10761
11033
|
};
|
|
10762
11034
|
},
|
|
10763
11035
|
/**
|
|
10764
|
-
*
|
|
11036
|
+
* Retrieves the current values of inputs/outputs of the virtual controller. The identifiers of inputs/outputs must be provided in the request. Request all available input/output identifiers via [listVirtualRobotIODescriptions](listVirtualRobotIODescriptions).
|
|
10765
11037
|
* @summary Get Inputs/Outputs
|
|
10766
11038
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10767
11039
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
10768
|
-
* @param {Array<string>}
|
|
10769
|
-
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
10770
|
-
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
10771
|
-
* @param {string} [prefix] Return only inputs/outputs with the specified prefix of unique identifier.
|
|
11040
|
+
* @param {Array<string>} ios
|
|
10772
11041
|
* @param {*} [options] Override http request option.
|
|
10773
11042
|
* @throws {RequiredError}
|
|
10774
11043
|
*/
|
|
10775
|
-
listIOs: async (cell, controller, ios,
|
|
11044
|
+
listIOs: async (cell, controller, ios, options = {}) => {
|
|
10776
11045
|
// verify required parameter 'cell' is not null or undefined
|
|
10777
11046
|
assertParamExists('listIOs', 'cell', cell);
|
|
10778
11047
|
// verify required parameter 'controller' is not null or undefined
|
|
10779
11048
|
assertParamExists('listIOs', 'controller', controller);
|
|
11049
|
+
// verify required parameter 'ios' is not null or undefined
|
|
11050
|
+
assertParamExists('listIOs', 'ios', ios);
|
|
10780
11051
|
const localVarPath = `/cells/{cell}/controllers/{controller}/teach-pendant/ios`
|
|
10781
11052
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
10782
11053
|
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
@@ -10798,14 +11069,60 @@ export const VirtualRobotApiAxiosParamCreator = function (configuration) {
|
|
|
10798
11069
|
if (ios) {
|
|
10799
11070
|
localVarQueryParameter['ios'] = ios;
|
|
10800
11071
|
}
|
|
11072
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11073
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11074
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11075
|
+
return {
|
|
11076
|
+
url: toPathString(localVarUrlObj),
|
|
11077
|
+
options: localVarRequestOptions,
|
|
11078
|
+
};
|
|
11079
|
+
},
|
|
11080
|
+
/**
|
|
11081
|
+
* Lists the input/output descriptions of the virtual robot controller. The input/output descriptions contain information like name, type and unit. Available inputs/outputs are defined by the virtual robot controller. Each input/output has a unique identifier. If no identifiers are specified in the request, all available inputs/outputs are retrieved by this endpoint. Exception: When a filter (e.g., direction, value_type, group) is applied, only matching inputs/outputs are returned.
|
|
11082
|
+
* @summary List Input/Output Descriptions
|
|
11083
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11084
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11085
|
+
* @param {Array<string>} [ios]
|
|
11086
|
+
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11087
|
+
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11088
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
11089
|
+
* @param {*} [options] Override http request option.
|
|
11090
|
+
* @throws {RequiredError}
|
|
11091
|
+
*/
|
|
11092
|
+
listVirtualRobotIODescriptions: async (cell, controller, ios, direction, valueType, group, options = {}) => {
|
|
11093
|
+
// verify required parameter 'cell' is not null or undefined
|
|
11094
|
+
assertParamExists('listVirtualRobotIODescriptions', 'cell', cell);
|
|
11095
|
+
// verify required parameter 'controller' is not null or undefined
|
|
11096
|
+
assertParamExists('listVirtualRobotIODescriptions', 'controller', controller);
|
|
11097
|
+
const localVarPath = `/cells/{cell}/controllers/{controller}/teach-pendant/ios/description`
|
|
11098
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11099
|
+
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
11100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11102
|
+
let baseOptions;
|
|
11103
|
+
if (configuration) {
|
|
11104
|
+
baseOptions = configuration.baseOptions;
|
|
11105
|
+
}
|
|
11106
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11107
|
+
const localVarHeaderParameter = {};
|
|
11108
|
+
const localVarQueryParameter = {};
|
|
11109
|
+
// authentication BasicAuth required
|
|
11110
|
+
// http basic authentication required
|
|
11111
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
11112
|
+
// authentication BearerAuth required
|
|
11113
|
+
// http bearer authentication required
|
|
11114
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
11115
|
+
if (ios) {
|
|
11116
|
+
localVarQueryParameter['ios'] = ios;
|
|
11117
|
+
}
|
|
10801
11118
|
if (direction !== undefined) {
|
|
10802
11119
|
localVarQueryParameter['direction'] = direction;
|
|
10803
11120
|
}
|
|
10804
11121
|
if (valueType !== undefined) {
|
|
10805
11122
|
localVarQueryParameter['value_type'] = valueType;
|
|
10806
11123
|
}
|
|
10807
|
-
if (
|
|
10808
|
-
localVarQueryParameter['
|
|
11124
|
+
if (group !== undefined) {
|
|
11125
|
+
localVarQueryParameter['group'] = group;
|
|
10809
11126
|
}
|
|
10810
11127
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10811
11128
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -10946,21 +11263,36 @@ export const VirtualRobotApiFp = function (configuration) {
|
|
|
10946
11263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10947
11264
|
},
|
|
10948
11265
|
/**
|
|
10949
|
-
*
|
|
11266
|
+
* Retrieves the current values of inputs/outputs of the virtual controller. The identifiers of inputs/outputs must be provided in the request. Request all available input/output identifiers via [listVirtualRobotIODescriptions](listVirtualRobotIODescriptions).
|
|
10950
11267
|
* @summary Get Inputs/Outputs
|
|
10951
11268
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
10952
11269
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11270
|
+
* @param {Array<string>} ios
|
|
11271
|
+
* @param {*} [options] Override http request option.
|
|
11272
|
+
* @throws {RequiredError}
|
|
11273
|
+
*/
|
|
11274
|
+
async listIOs(cell, controller, ios, options) {
|
|
11275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listIOs(cell, controller, ios, options);
|
|
11276
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11277
|
+
const localVarOperationServerBasePath = operationServerMap['VirtualRobotApi.listIOs']?.[localVarOperationServerIndex]?.url;
|
|
11278
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11279
|
+
},
|
|
11280
|
+
/**
|
|
11281
|
+
* Lists the input/output descriptions of the virtual robot controller. The input/output descriptions contain information like name, type and unit. Available inputs/outputs are defined by the virtual robot controller. Each input/output has a unique identifier. If no identifiers are specified in the request, all available inputs/outputs are retrieved by this endpoint. Exception: When a filter (e.g., direction, value_type, group) is applied, only matching inputs/outputs are returned.
|
|
11282
|
+
* @summary List Input/Output Descriptions
|
|
11283
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11284
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
10953
11285
|
* @param {Array<string>} [ios]
|
|
10954
11286
|
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
10955
11287
|
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
10956
|
-
* @param {string} [
|
|
11288
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
10957
11289
|
* @param {*} [options] Override http request option.
|
|
10958
11290
|
* @throws {RequiredError}
|
|
10959
11291
|
*/
|
|
10960
|
-
async
|
|
10961
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11292
|
+
async listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options) {
|
|
11293
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options);
|
|
10962
11294
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10963
|
-
const localVarOperationServerBasePath = operationServerMap['VirtualRobotApi.
|
|
11295
|
+
const localVarOperationServerBasePath = operationServerMap['VirtualRobotApi.listVirtualRobotIODescriptions']?.[localVarOperationServerIndex]?.url;
|
|
10964
11296
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10965
11297
|
},
|
|
10966
11298
|
/**
|
|
@@ -11027,19 +11359,31 @@ export const VirtualRobotApiFactory = function (configuration, basePath, axios)
|
|
|
11027
11359
|
return localVarFp.getMotionGroups(cell, controller, options).then((request) => request(axios, basePath));
|
|
11028
11360
|
},
|
|
11029
11361
|
/**
|
|
11030
|
-
*
|
|
11362
|
+
* Retrieves the current values of inputs/outputs of the virtual controller. The identifiers of inputs/outputs must be provided in the request. Request all available input/output identifiers via [listVirtualRobotIODescriptions](listVirtualRobotIODescriptions).
|
|
11031
11363
|
* @summary Get Inputs/Outputs
|
|
11032
11364
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11033
11365
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11366
|
+
* @param {Array<string>} ios
|
|
11367
|
+
* @param {*} [options] Override http request option.
|
|
11368
|
+
* @throws {RequiredError}
|
|
11369
|
+
*/
|
|
11370
|
+
listIOs(cell, controller, ios, options) {
|
|
11371
|
+
return localVarFp.listIOs(cell, controller, ios, options).then((request) => request(axios, basePath));
|
|
11372
|
+
},
|
|
11373
|
+
/**
|
|
11374
|
+
* Lists the input/output descriptions of the virtual robot controller. The input/output descriptions contain information like name, type and unit. Available inputs/outputs are defined by the virtual robot controller. Each input/output has a unique identifier. If no identifiers are specified in the request, all available inputs/outputs are retrieved by this endpoint. Exception: When a filter (e.g., direction, value_type, group) is applied, only matching inputs/outputs are returned.
|
|
11375
|
+
* @summary List Input/Output Descriptions
|
|
11376
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11377
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11034
11378
|
* @param {Array<string>} [ios]
|
|
11035
11379
|
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11036
11380
|
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11037
|
-
* @param {string} [
|
|
11381
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
11038
11382
|
* @param {*} [options] Override http request option.
|
|
11039
11383
|
* @throws {RequiredError}
|
|
11040
11384
|
*/
|
|
11041
|
-
|
|
11042
|
-
return localVarFp.
|
|
11385
|
+
listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options) {
|
|
11386
|
+
return localVarFp.listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options).then((request) => request(axios, basePath));
|
|
11043
11387
|
},
|
|
11044
11388
|
/**
|
|
11045
11389
|
* Sets a list of values of a virtual controller inputs/outputs.
|
|
@@ -11101,20 +11445,33 @@ export class VirtualRobotApi extends BaseAPI {
|
|
|
11101
11445
|
return VirtualRobotApiFp(this.configuration).getMotionGroups(cell, controller, options).then((request) => request(this.axios, this.basePath));
|
|
11102
11446
|
}
|
|
11103
11447
|
/**
|
|
11104
|
-
*
|
|
11448
|
+
* Retrieves the current values of inputs/outputs of the virtual controller. The identifiers of inputs/outputs must be provided in the request. Request all available input/output identifiers via [listVirtualRobotIODescriptions](listVirtualRobotIODescriptions).
|
|
11105
11449
|
* @summary Get Inputs/Outputs
|
|
11106
11450
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11107
11451
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11452
|
+
* @param {Array<string>} ios
|
|
11453
|
+
* @param {*} [options] Override http request option.
|
|
11454
|
+
* @throws {RequiredError}
|
|
11455
|
+
* @memberof VirtualRobotApi
|
|
11456
|
+
*/
|
|
11457
|
+
listIOs(cell, controller, ios, options) {
|
|
11458
|
+
return VirtualRobotApiFp(this.configuration).listIOs(cell, controller, ios, options).then((request) => request(this.axios, this.basePath));
|
|
11459
|
+
}
|
|
11460
|
+
/**
|
|
11461
|
+
* Lists the input/output descriptions of the virtual robot controller. The input/output descriptions contain information like name, type and unit. Available inputs/outputs are defined by the virtual robot controller. Each input/output has a unique identifier. If no identifiers are specified in the request, all available inputs/outputs are retrieved by this endpoint. Exception: When a filter (e.g., direction, value_type, group) is applied, only matching inputs/outputs are returned.
|
|
11462
|
+
* @summary List Input/Output Descriptions
|
|
11463
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11464
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11108
11465
|
* @param {Array<string>} [ios]
|
|
11109
11466
|
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11110
11467
|
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11111
|
-
* @param {string} [
|
|
11468
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
11112
11469
|
* @param {*} [options] Override http request option.
|
|
11113
11470
|
* @throws {RequiredError}
|
|
11114
11471
|
* @memberof VirtualRobotApi
|
|
11115
11472
|
*/
|
|
11116
|
-
|
|
11117
|
-
return VirtualRobotApiFp(this.configuration).
|
|
11473
|
+
listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options) {
|
|
11474
|
+
return VirtualRobotApiFp(this.configuration).listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options).then((request) => request(this.axios, this.basePath));
|
|
11118
11475
|
}
|
|
11119
11476
|
/**
|
|
11120
11477
|
* Sets a list of values of a virtual controller inputs/outputs.
|