@wandelbots/nova-api 25.4.0-dev.9 → 25.4.0-rc.2
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 +48 -3
- package/v1/api.js +47 -2
- package/v1/api.js.map +1 -1
- package/v1/api.ts +49 -4
- package/v2/api.d.ts +483 -496
- package/v2/api.js +623 -474
- package/v2/api.js.map +1 -1
- package/v2/api.ts +869 -818
package/v2/api.js
CHANGED
|
@@ -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'
|
|
114
|
+
export const IOFloatValueValueTypeEnum = {
|
|
115
|
+
Float: 'float'
|
|
116
116
|
};
|
|
117
|
-
export const
|
|
118
|
-
|
|
119
|
-
};
|
|
120
|
-
export const IOIntegerValue2IoValueTypeEnum = {
|
|
121
|
-
IoIntegerValue: 'IOIntegerValue'
|
|
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
|
|
@@ -197,12 +194,30 @@ export const Manufacturer = {
|
|
|
197
194
|
export const MotionGroupModel = {
|
|
198
195
|
Abb1200583: 'ABB_120_058_3',
|
|
199
196
|
Abb1400816: 'ABB_140_081_6',
|
|
197
|
+
Abb101003715: 'ABB_1010_037_15',
|
|
198
|
+
Abb11000584: 'ABB_1100_058_4',
|
|
199
|
+
Abb110004754: 'ABB_1100_0475_4',
|
|
200
200
|
Abb1200077: 'ABB_1200_07_7',
|
|
201
201
|
Abb130011510: 'ABB_1300_115_10',
|
|
202
|
+
Abb13000911: 'ABB_1300_09_11',
|
|
203
|
+
Abb13001412: 'ABB_1300_14_12',
|
|
204
|
+
Abb1300147: 'ABB_1300_14_7',
|
|
202
205
|
Abb14001445: 'ABB_1400_144_5',
|
|
203
206
|
Abb1520Id154: 'ABB_1520ID_15_4',
|
|
204
207
|
Abb1600126: 'ABB_1600_12_6',
|
|
208
|
+
Abb16001210: 'ABB_1600_12_10',
|
|
209
|
+
Abb16001456: 'ABB_1600_145_6',
|
|
210
|
+
Abb160014510: 'ABB_1600_145_10',
|
|
205
211
|
Abb1660Id1554: 'ABB_1660ID_155_4',
|
|
212
|
+
Abb260016512: 'ABB_2600_165_12',
|
|
213
|
+
Abb260016520: 'ABB_2600_165_20',
|
|
214
|
+
Abb260018512: 'ABB_2600_185_12',
|
|
215
|
+
Abb2600Id18515: 'ABB_2600ID_185_15',
|
|
216
|
+
Abb2600Id2008: 'ABB_2600ID_200_8',
|
|
217
|
+
Abb460025020: 'ABB_4600_250_20',
|
|
218
|
+
Abb460025540: 'ABB_4600_255_40',
|
|
219
|
+
Abb460020545: 'ABB_4600_205_45',
|
|
220
|
+
Abb460020560: 'ABB_4600_205_60',
|
|
206
221
|
FanucCr4iA: 'FANUC_CR4iA',
|
|
207
222
|
FanucCr7iA: 'FANUC_CR7iA',
|
|
208
223
|
FanucCr7iAl: 'FANUC_CR7iAL',
|
|
@@ -225,6 +240,8 @@ export const MotionGroupModel = {
|
|
|
225
240
|
FanucM20iD12L: 'FANUC_M20iD12L',
|
|
226
241
|
FanucM20iD25: 'FANUC_M20iD25',
|
|
227
242
|
FanucM20iD35: 'FANUC_M20iD35',
|
|
243
|
+
FanucM900iB280L: 'FANUC_M900iB280L',
|
|
244
|
+
FanucM900iB360E: 'FANUC_M900iB360E',
|
|
228
245
|
FanucArcMate50iD: 'FANUC_ARC_Mate_50iD',
|
|
229
246
|
FanucArcMate50iD7L: 'FANUC_ARC_Mate_50iD7L',
|
|
230
247
|
FanucArcMate100iD: 'FANUC_ARC_Mate_100iD',
|
|
@@ -235,6 +252,8 @@ export const MotionGroupModel = {
|
|
|
235
252
|
FanucLrMate200iD: 'FANUC_LR_Mate_200iD',
|
|
236
253
|
FanucLrMate200iD4S: 'FANUC_LR_Mate_200iD4S',
|
|
237
254
|
FanucLrMate200iD7L: 'FANUC_LR_Mate_200iD7L',
|
|
255
|
+
FanucR2000iC125L: 'FANUC_R2000iC125L',
|
|
256
|
+
FanucR2000iC210F: 'FANUC_R2000iC210F',
|
|
238
257
|
UniversalRobotsUr3: 'UniversalRobots_UR3',
|
|
239
258
|
UniversalRobotsUr5: 'UniversalRobots_UR5',
|
|
240
259
|
UniversalRobotsUr10: 'UniversalRobots_UR10',
|
|
@@ -289,6 +308,7 @@ export const MotionGroupModel = {
|
|
|
289
308
|
YaskawaTurn1: 'Yaskawa_TURN1',
|
|
290
309
|
YaskawaTurn2: 'Yaskawa_TURN2',
|
|
291
310
|
YaskawaTurn3: 'Yaskawa_TURN3',
|
|
311
|
+
KukaKr1502: 'KUKA_KR150_2',
|
|
292
312
|
KukaKr4R600: 'KUKA_KR4_R600',
|
|
293
313
|
KukaKr6R700: 'KUKA_KR6_R700',
|
|
294
314
|
KukaKr6R7002: 'KUKA_KR6_R700_2',
|
|
@@ -298,6 +318,7 @@ export const MotionGroupModel = {
|
|
|
298
318
|
KukaKr10R9002: 'KUKA_KR10_R900_2',
|
|
299
319
|
KukaKr10R1100: 'KUKA_KR10_R1100',
|
|
300
320
|
KukaKr10R11002: 'KUKA_KR10_R1100_2',
|
|
321
|
+
KukaKr12R18102: 'KUKA_KR12_R1810_2',
|
|
301
322
|
KukaKr16R1610: 'KUKA_KR16_R1610',
|
|
302
323
|
KukaKr16R16102: 'KUKA_KR16_R1610_2',
|
|
303
324
|
KukaKr16R2010: 'KUKA_KR16_R2010',
|
|
@@ -314,11 +335,23 @@ export const MotionGroupModel = {
|
|
|
314
335
|
KukaKr210R31002: 'KUKA_KR210_R3100_2',
|
|
315
336
|
KukaKr210R3300: 'KUKA_KR210_R3300',
|
|
316
337
|
KukaKr210R33002: 'KUKA_KR210_R3300_2',
|
|
338
|
+
KukaKr240R2700: 'KUKA_KR240_R2700',
|
|
317
339
|
KukaKr250R27002: 'KUKA_KR250_R2700_2',
|
|
318
340
|
KukaKr270R2700: 'KUKA_KR270_R2700',
|
|
319
341
|
KukaKr270R3100: 'KUKA_KR270_R3100',
|
|
320
342
|
KukaKr270R31002: 'KUKA_KR270_R3100_2',
|
|
321
|
-
KukaKr360R2830: 'KUKA_KR360_R2830'
|
|
343
|
+
KukaKr360R2830: 'KUKA_KR360_R2830',
|
|
344
|
+
KukaKr360L2403: 'KUKA_KR360_L240_3',
|
|
345
|
+
KukaLbrIisy11R1300: 'KUKA_LBR_IISY_11_R1300'
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* The operating state.
|
|
349
|
+
* @export
|
|
350
|
+
* @enum {string}
|
|
351
|
+
*/
|
|
352
|
+
export const OperatingState = {
|
|
353
|
+
Active: 'ACTIVE',
|
|
354
|
+
Inactive: 'INACTIVE'
|
|
322
355
|
};
|
|
323
356
|
/**
|
|
324
357
|
* 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.
|
|
@@ -583,9 +616,26 @@ export const VirtualControllerTypes = {
|
|
|
583
616
|
AbbIrb110004754: 'abb-irb1100_0475_4',
|
|
584
617
|
AbbIrb11000584: 'abb-irb1100_058_4',
|
|
585
618
|
AbbIrb12007: 'abb-irb1200_7',
|
|
619
|
+
AbbIrb13000911: 'abb-irb1300_09_11',
|
|
586
620
|
AbbIrb130011510: 'abb-irb1300_115_10',
|
|
621
|
+
AbbIrb13001412: 'abb-irb1300_14_12',
|
|
622
|
+
AbbIrb1300147: 'abb-irb1300_14_7',
|
|
623
|
+
AbbIrb16001210: 'abb-irb1600_12_10',
|
|
624
|
+
AbbIrb1600126: 'abb-irb1600_12_6',
|
|
625
|
+
AbbIrb160014510: 'abb-irb1600_145_10',
|
|
626
|
+
AbbIrb16001456: 'abb-irb1600_145_6',
|
|
627
|
+
AbbIrb2600Id18515: 'abb-irb2600ID_185_15',
|
|
628
|
+
AbbIrb2600Id2008: 'abb-irb2600ID_200_8',
|
|
629
|
+
AbbIrb260016512: 'abb-irb2600_165_12',
|
|
630
|
+
AbbIrb260016520: 'abb-irb2600_165_20',
|
|
631
|
+
AbbIrb260018512: 'abb-irb2600_185_12',
|
|
632
|
+
AbbIrb460020545: 'abb-irb4600_205_45',
|
|
633
|
+
AbbIrb460020560: 'abb-irb4600_205_60',
|
|
634
|
+
AbbIrb460025020: 'abb-irb4600_250_20',
|
|
635
|
+
AbbIrb460025540: 'abb-irb4600_255_40',
|
|
587
636
|
FanucArcMate100iD: 'fanuc-arc_mate_100iD',
|
|
588
637
|
FanucArcMate120iD: 'fanuc-arc_mate_120iD',
|
|
638
|
+
FanucArcMate120iD12L: 'fanuc-arc_mate_120iD12L',
|
|
589
639
|
FanucArcMate120iD35: 'fanuc-arc_mate_120iD35',
|
|
590
640
|
FanucCr35ib: 'fanuc-cr35ib',
|
|
591
641
|
FanucCr7ia: 'fanuc-cr7ia',
|
|
@@ -603,13 +653,14 @@ export const VirtualControllerTypes = {
|
|
|
603
653
|
FanucM20iD35: 'fanuc-m20iD35',
|
|
604
654
|
FanucM900iB280L: 'fanuc-m900iB280L',
|
|
605
655
|
FanucM900iB360E: 'fanuc-m900iB360E',
|
|
606
|
-
FanucR2000ic210f: 'fanuc-r2000ic210f',
|
|
607
656
|
FanucR2000ic125l: 'fanuc-r2000ic125l',
|
|
657
|
+
FanucR2000ic210f: 'fanuc-r2000ic210f',
|
|
608
658
|
KukaKr10R1100: 'kuka-kr10_r1100',
|
|
609
659
|
KukaKr10R11002: 'kuka-kr10_r1100_2',
|
|
610
660
|
KukaKr10R900: 'kuka-kr10_r900',
|
|
611
661
|
KukaKr10R9002: 'kuka-kr10_r900_2',
|
|
612
662
|
KukaKr120R27002: 'kuka-kr120_r2700_2',
|
|
663
|
+
KukaKr12R18102: 'kuka-kr12_r1810_2',
|
|
613
664
|
KukaKr1502: 'kuka-kr150_2',
|
|
614
665
|
KukaKr16R16102: 'kuka-kr16_r1610_2',
|
|
615
666
|
KukaKr16R20102: 'kuka-kr16_r2010_2',
|
|
@@ -1355,6 +1406,47 @@ export const CellApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1406
|
options: localVarRequestOptions,
|
|
1356
1407
|
};
|
|
1357
1408
|
},
|
|
1409
|
+
/**
|
|
1410
|
+
* Deactivate or activate the services of a cell.
|
|
1411
|
+
* @summary Operating State
|
|
1412
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1413
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1414
|
+
* @param {*} [options] Override http request option.
|
|
1415
|
+
* @throws {RequiredError}
|
|
1416
|
+
*/
|
|
1417
|
+
setCellStatus: async (cell, operatingState, options = {}) => {
|
|
1418
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1419
|
+
assertParamExists('setCellStatus', 'cell', cell);
|
|
1420
|
+
// verify required parameter 'operatingState' is not null or undefined
|
|
1421
|
+
assertParamExists('setCellStatus', 'operatingState', operatingState);
|
|
1422
|
+
const localVarPath = `/cells/{cell}/status`
|
|
1423
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1424
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1425
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1426
|
+
let baseOptions;
|
|
1427
|
+
if (configuration) {
|
|
1428
|
+
baseOptions = configuration.baseOptions;
|
|
1429
|
+
}
|
|
1430
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1431
|
+
const localVarHeaderParameter = {};
|
|
1432
|
+
const localVarQueryParameter = {};
|
|
1433
|
+
// authentication BasicAuth required
|
|
1434
|
+
// http basic authentication required
|
|
1435
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1436
|
+
// authentication BearerAuth required
|
|
1437
|
+
// http bearer authentication required
|
|
1438
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1439
|
+
if (operatingState !== undefined) {
|
|
1440
|
+
localVarQueryParameter['operating_state'] = operatingState;
|
|
1441
|
+
}
|
|
1442
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1443
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1444
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1445
|
+
return {
|
|
1446
|
+
url: toPathString(localVarUrlObj),
|
|
1447
|
+
options: localVarRequestOptions,
|
|
1448
|
+
};
|
|
1449
|
+
},
|
|
1358
1450
|
/**
|
|
1359
1451
|
* Update the definition of the entire Cell.
|
|
1360
1452
|
* @summary Update Configuration
|
|
@@ -1474,6 +1566,20 @@ export const CellApiFp = function (configuration) {
|
|
|
1474
1566
|
const localVarOperationServerBasePath = operationServerMap['CellApi.listCells']?.[localVarOperationServerIndex]?.url;
|
|
1475
1567
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1476
1568
|
},
|
|
1569
|
+
/**
|
|
1570
|
+
* Deactivate or activate the services of a cell.
|
|
1571
|
+
* @summary Operating State
|
|
1572
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1573
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1574
|
+
* @param {*} [options] Override http request option.
|
|
1575
|
+
* @throws {RequiredError}
|
|
1576
|
+
*/
|
|
1577
|
+
async setCellStatus(cell, operatingState, options) {
|
|
1578
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setCellStatus(cell, operatingState, options);
|
|
1579
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1580
|
+
const localVarOperationServerBasePath = operationServerMap['CellApi.setCellStatus']?.[localVarOperationServerIndex]?.url;
|
|
1581
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1582
|
+
},
|
|
1477
1583
|
/**
|
|
1478
1584
|
* Update the definition of the entire Cell.
|
|
1479
1585
|
* @summary Update Configuration
|
|
@@ -1549,6 +1655,17 @@ export const CellApiFactory = function (configuration, basePath, axios) {
|
|
|
1549
1655
|
listCells(options) {
|
|
1550
1656
|
return localVarFp.listCells(options).then((request) => request(axios, basePath));
|
|
1551
1657
|
},
|
|
1658
|
+
/**
|
|
1659
|
+
* Deactivate or activate the services of a cell.
|
|
1660
|
+
* @summary Operating State
|
|
1661
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1662
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1663
|
+
* @param {*} [options] Override http request option.
|
|
1664
|
+
* @throws {RequiredError}
|
|
1665
|
+
*/
|
|
1666
|
+
setCellStatus(cell, operatingState, options) {
|
|
1667
|
+
return localVarFp.setCellStatus(cell, operatingState, options).then((request) => request(axios, basePath));
|
|
1668
|
+
},
|
|
1552
1669
|
/**
|
|
1553
1670
|
* Update the definition of the entire Cell.
|
|
1554
1671
|
* @summary Update Configuration
|
|
@@ -1626,6 +1743,18 @@ export class CellApi extends BaseAPI {
|
|
|
1626
1743
|
listCells(options) {
|
|
1627
1744
|
return CellApiFp(this.configuration).listCells(options).then((request) => request(this.axios, this.basePath));
|
|
1628
1745
|
}
|
|
1746
|
+
/**
|
|
1747
|
+
* Deactivate or activate the services of a cell.
|
|
1748
|
+
* @summary Operating State
|
|
1749
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1750
|
+
* @param {OperatingState} operatingState Set state of the cell. Active or inactive.
|
|
1751
|
+
* @param {*} [options] Override http request option.
|
|
1752
|
+
* @throws {RequiredError}
|
|
1753
|
+
* @memberof CellApi
|
|
1754
|
+
*/
|
|
1755
|
+
setCellStatus(cell, operatingState, options) {
|
|
1756
|
+
return CellApiFp(this.configuration).setCellStatus(cell, operatingState, options).then((request) => request(this.axios, this.basePath));
|
|
1757
|
+
}
|
|
1629
1758
|
/**
|
|
1630
1759
|
* Update the definition of the entire Cell.
|
|
1631
1760
|
* @summary Update Configuration
|
|
@@ -1641,30 +1770,34 @@ export class CellApi extends BaseAPI {
|
|
|
1641
1770
|
}
|
|
1642
1771
|
}
|
|
1643
1772
|
/**
|
|
1644
|
-
*
|
|
1773
|
+
* ControllerApi - axios parameter creator
|
|
1645
1774
|
* @export
|
|
1646
1775
|
*/
|
|
1647
|
-
export const
|
|
1776
|
+
export const ControllerApiAxiosParamCreator = function (configuration) {
|
|
1648
1777
|
return {
|
|
1649
1778
|
/**
|
|
1650
|
-
*
|
|
1651
|
-
* @summary
|
|
1652
|
-
* @param {
|
|
1653
|
-
* @param {
|
|
1779
|
+
* Add a robot controller to the cell. <!-- theme: warning --> > **WARNING** > > Using it in conjunction with the settings app may lead to unpredictable behavior.
|
|
1780
|
+
* @summary Add Robot Controller
|
|
1781
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1782
|
+
* @param {RobotController} robotController
|
|
1783
|
+
* @param {number} [completionTimeout]
|
|
1654
1784
|
* @param {*} [options] Override http request option.
|
|
1655
1785
|
* @throws {RequiredError}
|
|
1656
1786
|
*/
|
|
1657
|
-
|
|
1658
|
-
// verify required parameter '
|
|
1659
|
-
assertParamExists('
|
|
1660
|
-
|
|
1787
|
+
addRobotController: async (cell, robotController, completionTimeout, options = {}) => {
|
|
1788
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1789
|
+
assertParamExists('addRobotController', 'cell', cell);
|
|
1790
|
+
// verify required parameter 'robotController' is not null or undefined
|
|
1791
|
+
assertParamExists('addRobotController', 'robotController', robotController);
|
|
1792
|
+
const localVarPath = `/cells/{cell}/controllers`
|
|
1793
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1661
1794
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1662
1795
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1663
1796
|
let baseOptions;
|
|
1664
1797
|
if (configuration) {
|
|
1665
1798
|
baseOptions = configuration.baseOptions;
|
|
1666
1799
|
}
|
|
1667
|
-
const localVarRequestOptions = { method: '
|
|
1800
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1668
1801
|
const localVarHeaderParameter = {};
|
|
1669
1802
|
const localVarQueryParameter = {};
|
|
1670
1803
|
// authentication BasicAuth required
|
|
@@ -1673,35 +1806,39 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
1673
1806
|
// authentication BearerAuth required
|
|
1674
1807
|
// http bearer authentication required
|
|
1675
1808
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1676
|
-
if (
|
|
1677
|
-
localVarQueryParameter['
|
|
1678
|
-
}
|
|
1679
|
-
if (metadata !== undefined) {
|
|
1680
|
-
localVarQueryParameter['metadata'] = metadata;
|
|
1809
|
+
if (completionTimeout !== undefined) {
|
|
1810
|
+
localVarQueryParameter['completion_timeout'] = completionTimeout;
|
|
1681
1811
|
}
|
|
1812
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1682
1813
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1683
1814
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1684
1815
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1816
|
+
localVarRequestOptions.data = serializeDataIfNeeded(robotController, localVarRequestOptions, configuration);
|
|
1685
1817
|
return {
|
|
1686
1818
|
url: toPathString(localVarUrlObj),
|
|
1687
1819
|
options: localVarRequestOptions,
|
|
1688
1820
|
};
|
|
1689
1821
|
},
|
|
1690
1822
|
/**
|
|
1691
|
-
*
|
|
1692
|
-
* @summary
|
|
1823
|
+
* Delete all robot controllers from the cell. To replace all robot controllers in a cell, use this endpoint in combination with the \'Add Robot Controller\' endpoint. <!-- theme: warning --> > **WARNING** > > Using it in conjunction with the settings app may lead to unpredictable behavior.
|
|
1824
|
+
* @summary Clear Robot Controllers
|
|
1825
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1826
|
+
* @param {number} [completionTimeout]
|
|
1693
1827
|
* @param {*} [options] Override http request option.
|
|
1694
1828
|
* @throws {RequiredError}
|
|
1695
1829
|
*/
|
|
1696
|
-
|
|
1697
|
-
|
|
1830
|
+
clearRobotControllers: async (cell, completionTimeout, options = {}) => {
|
|
1831
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1832
|
+
assertParamExists('clearRobotControllers', 'cell', cell);
|
|
1833
|
+
const localVarPath = `/cells/{cell}/controllers`
|
|
1834
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1698
1835
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1699
1836
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1700
1837
|
let baseOptions;
|
|
1701
1838
|
if (configuration) {
|
|
1702
1839
|
baseOptions = configuration.baseOptions;
|
|
1703
1840
|
}
|
|
1704
|
-
const localVarRequestOptions = { method: '
|
|
1841
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
1705
1842
|
const localVarHeaderParameter = {};
|
|
1706
1843
|
const localVarQueryParameter = {};
|
|
1707
1844
|
// authentication BasicAuth required
|
|
@@ -1710,6 +1847,9 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
1710
1847
|
// authentication BearerAuth required
|
|
1711
1848
|
// http bearer authentication required
|
|
1712
1849
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1850
|
+
if (completionTimeout !== undefined) {
|
|
1851
|
+
localVarQueryParameter['completion_timeout'] = completionTimeout;
|
|
1852
|
+
}
|
|
1713
1853
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1714
1854
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1715
1855
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1719,26 +1859,29 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
1719
1859
|
};
|
|
1720
1860
|
},
|
|
1721
1861
|
/**
|
|
1722
|
-
*
|
|
1723
|
-
* @summary
|
|
1724
|
-
* @param {
|
|
1725
|
-
* @param {
|
|
1862
|
+
* Delete a robot controller from the cell. <!-- theme: warning --> > **WARNING** > > Using it in conjunction with the settings app may lead to unpredictable behavior.
|
|
1863
|
+
* @summary Delete Robot Controller
|
|
1864
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1865
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
1866
|
+
* @param {number} [completionTimeout]
|
|
1726
1867
|
* @param {*} [options] Override http request option.
|
|
1727
1868
|
* @throws {RequiredError}
|
|
1728
1869
|
*/
|
|
1729
|
-
|
|
1730
|
-
// verify required parameter '
|
|
1731
|
-
assertParamExists('
|
|
1732
|
-
// verify required parameter '
|
|
1733
|
-
assertParamExists('
|
|
1734
|
-
const localVarPath = `/
|
|
1870
|
+
deleteRobotController: async (cell, controller, completionTimeout, options = {}) => {
|
|
1871
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1872
|
+
assertParamExists('deleteRobotController', 'cell', cell);
|
|
1873
|
+
// verify required parameter 'controller' is not null or undefined
|
|
1874
|
+
assertParamExists('deleteRobotController', 'controller', controller);
|
|
1875
|
+
const localVarPath = `/cells/{cell}/controllers/{controller}`
|
|
1876
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
1877
|
+
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
1735
1878
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1736
1879
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1737
1880
|
let baseOptions;
|
|
1738
1881
|
if (configuration) {
|
|
1739
1882
|
baseOptions = configuration.baseOptions;
|
|
1740
1883
|
}
|
|
1741
|
-
const localVarRequestOptions = { method: '
|
|
1884
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
1742
1885
|
const localVarHeaderParameter = {};
|
|
1743
1886
|
const localVarQueryParameter = {};
|
|
1744
1887
|
// authentication BasicAuth required
|
|
@@ -1747,367 +1890,100 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
1747
1890
|
// authentication BearerAuth required
|
|
1748
1891
|
// http bearer authentication required
|
|
1749
1892
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1750
|
-
if (
|
|
1751
|
-
localVarQueryParameter['
|
|
1893
|
+
if (completionTimeout !== undefined) {
|
|
1894
|
+
localVarQueryParameter['completion_timeout'] = completionTimeout;
|
|
1752
1895
|
}
|
|
1753
|
-
localVarHeaderParameter['Content-Type'] = 'application/gzip';
|
|
1754
1896
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1755
1897
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1756
1898
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1757
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
1758
1899
|
return {
|
|
1759
1900
|
url: toPathString(localVarUrlObj),
|
|
1760
1901
|
options: localVarRequestOptions,
|
|
1761
1902
|
};
|
|
1762
1903
|
},
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
/**
|
|
1766
|
-
* ConfigurationApi - functional programming interface
|
|
1767
|
-
* @export
|
|
1768
|
-
*/
|
|
1769
|
-
export const ConfigurationApiFp = function (configuration) {
|
|
1770
|
-
const localVarAxiosParamCreator = ConfigurationApiAxiosParamCreator(configuration);
|
|
1771
|
-
return {
|
|
1772
1904
|
/**
|
|
1773
|
-
*
|
|
1774
|
-
* @summary
|
|
1775
|
-
* @param {
|
|
1776
|
-
* @param {
|
|
1905
|
+
* Get the current state of a robot controller.
|
|
1906
|
+
* @summary State of Device
|
|
1907
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1908
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
1777
1909
|
* @param {*} [options] Override http request option.
|
|
1778
1910
|
* @throws {RequiredError}
|
|
1779
1911
|
*/
|
|
1780
|
-
async
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1912
|
+
getCurrentRobotControllerState: async (cell, controller, options = {}) => {
|
|
1913
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1914
|
+
assertParamExists('getCurrentRobotControllerState', 'cell', cell);
|
|
1915
|
+
// verify required parameter 'controller' is not null or undefined
|
|
1916
|
+
assertParamExists('getCurrentRobotControllerState', 'controller', controller);
|
|
1917
|
+
const localVarPath = `/cells/{cell}/controllers/{controller}/state`
|
|
1918
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
1919
|
+
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
1920
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1921
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1922
|
+
let baseOptions;
|
|
1923
|
+
if (configuration) {
|
|
1924
|
+
baseOptions = configuration.baseOptions;
|
|
1925
|
+
}
|
|
1926
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1927
|
+
const localVarHeaderParameter = {};
|
|
1928
|
+
const localVarQueryParameter = {};
|
|
1929
|
+
// authentication BasicAuth required
|
|
1930
|
+
// http basic authentication required
|
|
1931
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1932
|
+
// authentication BearerAuth required
|
|
1933
|
+
// http bearer authentication required
|
|
1934
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1935
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1936
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1937
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1938
|
+
return {
|
|
1939
|
+
url: toPathString(localVarUrlObj),
|
|
1940
|
+
options: localVarRequestOptions,
|
|
1941
|
+
};
|
|
1785
1942
|
},
|
|
1786
1943
|
/**
|
|
1787
|
-
*
|
|
1788
|
-
* @summary
|
|
1944
|
+
* Get the current robot system mode of a registered robot controller. The robot system mode indicates if a robot controller can be used. See [setDefaultMode](setDefaultMode) for more information about the different modes. The mode is influenced by the operating mode of the robot controller. The operating mode can be changed via [setDefaultMode](setDefaultMode). Request the current operating mode of the robot controller via [getCurrentRobotControllerState](getCurrentRobotControllerState).
|
|
1945
|
+
* @summary Current Mode
|
|
1946
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1947
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
1789
1948
|
* @param {*} [options] Override http request option.
|
|
1790
1949
|
* @throws {RequiredError}
|
|
1791
1950
|
*/
|
|
1792
|
-
async
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1951
|
+
getMode: async (cell, controller, options = {}) => {
|
|
1952
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1953
|
+
assertParamExists('getMode', 'cell', cell);
|
|
1954
|
+
// verify required parameter 'controller' is not null or undefined
|
|
1955
|
+
assertParamExists('getMode', 'controller', controller);
|
|
1956
|
+
const localVarPath = `/cells/{cell}/controllers/{controller}/mode`
|
|
1957
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
1958
|
+
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
1959
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1960
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1961
|
+
let baseOptions;
|
|
1962
|
+
if (configuration) {
|
|
1963
|
+
baseOptions = configuration.baseOptions;
|
|
1964
|
+
}
|
|
1965
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1966
|
+
const localVarHeaderParameter = {};
|
|
1967
|
+
const localVarQueryParameter = {};
|
|
1968
|
+
// authentication BasicAuth required
|
|
1969
|
+
// http basic authentication required
|
|
1970
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1971
|
+
// authentication BearerAuth required
|
|
1972
|
+
// http bearer authentication required
|
|
1973
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1974
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1975
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1976
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1977
|
+
return {
|
|
1978
|
+
url: toPathString(localVarUrlObj),
|
|
1979
|
+
options: localVarRequestOptions,
|
|
1980
|
+
};
|
|
1797
1981
|
},
|
|
1798
1982
|
/**
|
|
1799
|
-
*
|
|
1800
|
-
* @summary
|
|
1801
|
-
* @param {
|
|
1802
|
-
* @param {
|
|
1803
|
-
* @param {*} [options] Override http request option.
|
|
1804
|
-
* @throws {RequiredError}
|
|
1805
|
-
*/
|
|
1806
|
-
async restoreConfiguration(resources, body, options) {
|
|
1807
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(resources, body, options);
|
|
1808
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1809
|
-
const localVarOperationServerBasePath = operationServerMap['ConfigurationApi.restoreConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
1810
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1811
|
-
},
|
|
1812
|
-
};
|
|
1813
|
-
};
|
|
1814
|
-
/**
|
|
1815
|
-
* ConfigurationApi - factory interface
|
|
1816
|
-
* @export
|
|
1817
|
-
*/
|
|
1818
|
-
export const ConfigurationApiFactory = function (configuration, basePath, axios) {
|
|
1819
|
-
const localVarFp = ConfigurationApiFp(configuration);
|
|
1820
|
-
return {
|
|
1821
|
-
/**
|
|
1822
|
-
* Retrieves a configuration backup based on provided resource identifiers.
|
|
1823
|
-
* @summary Retrieve Configuration Backup
|
|
1824
|
-
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
1825
|
-
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
1826
|
-
* @param {*} [options] Override http request option.
|
|
1827
|
-
* @throws {RequiredError}
|
|
1828
|
-
*/
|
|
1829
|
-
backupConfiguration(resources, metadata, options) {
|
|
1830
|
-
return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
|
|
1831
|
-
},
|
|
1832
|
-
/**
|
|
1833
|
-
* Retrieves a list of all available configuration resources for backup purposes.
|
|
1834
|
-
* @summary List Configuration Resources
|
|
1835
|
-
* @param {*} [options] Override http request option.
|
|
1836
|
-
* @throws {RequiredError}
|
|
1837
|
-
*/
|
|
1838
|
-
listConfigurationResources(options) {
|
|
1839
|
-
return localVarFp.listConfigurationResources(options).then((request) => request(axios, basePath));
|
|
1840
|
-
},
|
|
1841
|
-
/**
|
|
1842
|
-
* Restores a previously backed up configuration.
|
|
1843
|
-
* @summary Restore Configuration Backup
|
|
1844
|
-
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
1845
|
-
* @param {File} body Backup file stream containing the configuration to restore.
|
|
1846
|
-
* @param {*} [options] Override http request option.
|
|
1847
|
-
* @throws {RequiredError}
|
|
1848
|
-
*/
|
|
1849
|
-
restoreConfiguration(resources, body, options) {
|
|
1850
|
-
return localVarFp.restoreConfiguration(resources, body, options).then((request) => request(axios, basePath));
|
|
1851
|
-
},
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
/**
|
|
1855
|
-
* ConfigurationApi - object-oriented interface
|
|
1856
|
-
* @export
|
|
1857
|
-
* @class ConfigurationApi
|
|
1858
|
-
* @extends {BaseAPI}
|
|
1859
|
-
*/
|
|
1860
|
-
export class ConfigurationApi extends BaseAPI {
|
|
1861
|
-
/**
|
|
1862
|
-
* Retrieves a configuration backup based on provided resource identifiers.
|
|
1863
|
-
* @summary Retrieve Configuration Backup
|
|
1864
|
-
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
1865
|
-
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
1866
|
-
* @param {*} [options] Override http request option.
|
|
1867
|
-
* @throws {RequiredError}
|
|
1868
|
-
* @memberof ConfigurationApi
|
|
1869
|
-
*/
|
|
1870
|
-
backupConfiguration(resources, metadata, options) {
|
|
1871
|
-
return ConfigurationApiFp(this.configuration).backupConfiguration(resources, metadata, options).then((request) => request(this.axios, this.basePath));
|
|
1872
|
-
}
|
|
1873
|
-
/**
|
|
1874
|
-
* Retrieves a list of all available configuration resources for backup purposes.
|
|
1875
|
-
* @summary List Configuration Resources
|
|
1876
|
-
* @param {*} [options] Override http request option.
|
|
1877
|
-
* @throws {RequiredError}
|
|
1878
|
-
* @memberof ConfigurationApi
|
|
1879
|
-
*/
|
|
1880
|
-
listConfigurationResources(options) {
|
|
1881
|
-
return ConfigurationApiFp(this.configuration).listConfigurationResources(options).then((request) => request(this.axios, this.basePath));
|
|
1882
|
-
}
|
|
1883
|
-
/**
|
|
1884
|
-
* Restores a previously backed up configuration.
|
|
1885
|
-
* @summary Restore Configuration Backup
|
|
1886
|
-
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
1887
|
-
* @param {File} body Backup file stream containing the configuration to restore.
|
|
1888
|
-
* @param {*} [options] Override http request option.
|
|
1889
|
-
* @throws {RequiredError}
|
|
1890
|
-
* @memberof ConfigurationApi
|
|
1891
|
-
*/
|
|
1892
|
-
restoreConfiguration(resources, body, options) {
|
|
1893
|
-
return ConfigurationApiFp(this.configuration).restoreConfiguration(resources, body, options).then((request) => request(this.axios, this.basePath));
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
/**
|
|
1897
|
-
* ControllerApi - axios parameter creator
|
|
1898
|
-
* @export
|
|
1899
|
-
*/
|
|
1900
|
-
export const ControllerApiAxiosParamCreator = function (configuration) {
|
|
1901
|
-
return {
|
|
1902
|
-
/**
|
|
1903
|
-
* Add a robot controller to the cell. <!-- theme: warning --> > **WARNING** > > Using it in conjunction with the settings app may lead to unpredictable behavior.
|
|
1904
|
-
* @summary Add Robot Controller
|
|
1905
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1906
|
-
* @param {RobotController} robotController
|
|
1907
|
-
* @param {number} [completionTimeout]
|
|
1908
|
-
* @param {*} [options] Override http request option.
|
|
1909
|
-
* @throws {RequiredError}
|
|
1910
|
-
*/
|
|
1911
|
-
addRobotController: async (cell, robotController, completionTimeout, options = {}) => {
|
|
1912
|
-
// verify required parameter 'cell' is not null or undefined
|
|
1913
|
-
assertParamExists('addRobotController', 'cell', cell);
|
|
1914
|
-
// verify required parameter 'robotController' is not null or undefined
|
|
1915
|
-
assertParamExists('addRobotController', 'robotController', robotController);
|
|
1916
|
-
const localVarPath = `/cells/{cell}/controllers`
|
|
1917
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1918
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1919
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1920
|
-
let baseOptions;
|
|
1921
|
-
if (configuration) {
|
|
1922
|
-
baseOptions = configuration.baseOptions;
|
|
1923
|
-
}
|
|
1924
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1925
|
-
const localVarHeaderParameter = {};
|
|
1926
|
-
const localVarQueryParameter = {};
|
|
1927
|
-
// authentication BasicAuth required
|
|
1928
|
-
// http basic authentication required
|
|
1929
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1930
|
-
// authentication BearerAuth required
|
|
1931
|
-
// http bearer authentication required
|
|
1932
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1933
|
-
if (completionTimeout !== undefined) {
|
|
1934
|
-
localVarQueryParameter['completion_timeout'] = completionTimeout;
|
|
1935
|
-
}
|
|
1936
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1937
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1938
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1939
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1940
|
-
localVarRequestOptions.data = serializeDataIfNeeded(robotController, localVarRequestOptions, configuration);
|
|
1941
|
-
return {
|
|
1942
|
-
url: toPathString(localVarUrlObj),
|
|
1943
|
-
options: localVarRequestOptions,
|
|
1944
|
-
};
|
|
1945
|
-
},
|
|
1946
|
-
/**
|
|
1947
|
-
* Delete all robot controllers from the cell. To replace all robot controllers in a cell, use this endpoint in combination with the \'Add Robot Controller\' endpoint. <!-- theme: warning --> > **WARNING** > > Using it in conjunction with the settings app may lead to unpredictable behavior.
|
|
1948
|
-
* @summary Clear Robot Controllers
|
|
1949
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1950
|
-
* @param {number} [completionTimeout]
|
|
1951
|
-
* @param {*} [options] Override http request option.
|
|
1952
|
-
* @throws {RequiredError}
|
|
1953
|
-
*/
|
|
1954
|
-
clearRobotControllers: async (cell, completionTimeout, options = {}) => {
|
|
1955
|
-
// verify required parameter 'cell' is not null or undefined
|
|
1956
|
-
assertParamExists('clearRobotControllers', 'cell', cell);
|
|
1957
|
-
const localVarPath = `/cells/{cell}/controllers`
|
|
1958
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1959
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1960
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1961
|
-
let baseOptions;
|
|
1962
|
-
if (configuration) {
|
|
1963
|
-
baseOptions = configuration.baseOptions;
|
|
1964
|
-
}
|
|
1965
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
1966
|
-
const localVarHeaderParameter = {};
|
|
1967
|
-
const localVarQueryParameter = {};
|
|
1968
|
-
// authentication BasicAuth required
|
|
1969
|
-
// http basic authentication required
|
|
1970
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1971
|
-
// authentication BearerAuth required
|
|
1972
|
-
// http bearer authentication required
|
|
1973
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1974
|
-
if (completionTimeout !== undefined) {
|
|
1975
|
-
localVarQueryParameter['completion_timeout'] = completionTimeout;
|
|
1976
|
-
}
|
|
1977
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1978
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1979
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1980
|
-
return {
|
|
1981
|
-
url: toPathString(localVarUrlObj),
|
|
1982
|
-
options: localVarRequestOptions,
|
|
1983
|
-
};
|
|
1984
|
-
},
|
|
1985
|
-
/**
|
|
1986
|
-
* Delete a robot controller from the cell. <!-- theme: warning --> > **WARNING** > > Using it in conjunction with the settings app may lead to unpredictable behavior.
|
|
1987
|
-
* @summary Delete Robot Controller
|
|
1988
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1989
|
-
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
1990
|
-
* @param {number} [completionTimeout]
|
|
1991
|
-
* @param {*} [options] Override http request option.
|
|
1992
|
-
* @throws {RequiredError}
|
|
1993
|
-
*/
|
|
1994
|
-
deleteRobotController: async (cell, controller, completionTimeout, options = {}) => {
|
|
1995
|
-
// verify required parameter 'cell' is not null or undefined
|
|
1996
|
-
assertParamExists('deleteRobotController', 'cell', cell);
|
|
1997
|
-
// verify required parameter 'controller' is not null or undefined
|
|
1998
|
-
assertParamExists('deleteRobotController', 'controller', controller);
|
|
1999
|
-
const localVarPath = `/cells/{cell}/controllers/{controller}`
|
|
2000
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
2001
|
-
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
2002
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2003
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2004
|
-
let baseOptions;
|
|
2005
|
-
if (configuration) {
|
|
2006
|
-
baseOptions = configuration.baseOptions;
|
|
2007
|
-
}
|
|
2008
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
2009
|
-
const localVarHeaderParameter = {};
|
|
2010
|
-
const localVarQueryParameter = {};
|
|
2011
|
-
// authentication BasicAuth required
|
|
2012
|
-
// http basic authentication required
|
|
2013
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2014
|
-
// authentication BearerAuth required
|
|
2015
|
-
// http bearer authentication required
|
|
2016
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2017
|
-
if (completionTimeout !== undefined) {
|
|
2018
|
-
localVarQueryParameter['completion_timeout'] = completionTimeout;
|
|
2019
|
-
}
|
|
2020
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2021
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2022
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2023
|
-
return {
|
|
2024
|
-
url: toPathString(localVarUrlObj),
|
|
2025
|
-
options: localVarRequestOptions,
|
|
2026
|
-
};
|
|
2027
|
-
},
|
|
2028
|
-
/**
|
|
2029
|
-
* Get the current state of a robot controller.
|
|
2030
|
-
* @summary State of Device
|
|
2031
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
2032
|
-
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
2033
|
-
* @param {*} [options] Override http request option.
|
|
2034
|
-
* @throws {RequiredError}
|
|
2035
|
-
*/
|
|
2036
|
-
getCurrentRobotControllerState: async (cell, controller, options = {}) => {
|
|
2037
|
-
// verify required parameter 'cell' is not null or undefined
|
|
2038
|
-
assertParamExists('getCurrentRobotControllerState', 'cell', cell);
|
|
2039
|
-
// verify required parameter 'controller' is not null or undefined
|
|
2040
|
-
assertParamExists('getCurrentRobotControllerState', 'controller', controller);
|
|
2041
|
-
const localVarPath = `/cells/{cell}/controllers/{controller}/state`
|
|
2042
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
2043
|
-
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
2044
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2045
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2046
|
-
let baseOptions;
|
|
2047
|
-
if (configuration) {
|
|
2048
|
-
baseOptions = configuration.baseOptions;
|
|
2049
|
-
}
|
|
2050
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2051
|
-
const localVarHeaderParameter = {};
|
|
2052
|
-
const localVarQueryParameter = {};
|
|
2053
|
-
// authentication BasicAuth required
|
|
2054
|
-
// http basic authentication required
|
|
2055
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2056
|
-
// authentication BearerAuth required
|
|
2057
|
-
// http bearer authentication required
|
|
2058
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2059
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2060
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2061
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2062
|
-
return {
|
|
2063
|
-
url: toPathString(localVarUrlObj),
|
|
2064
|
-
options: localVarRequestOptions,
|
|
2065
|
-
};
|
|
2066
|
-
},
|
|
2067
|
-
/**
|
|
2068
|
-
* Get the current robot system mode of a registered robot controller. The robot system mode indicates if a robot controller can be used. See [setDefaultMode](setDefaultMode) for more information about the different modes. The mode is influenced by the operating mode of the robot controller. The operating mode can be changed via [setDefaultMode](setDefaultMode). Request the current operating mode of the robot controller via [getCurrentRobotControllerState](getCurrentRobotControllerState).
|
|
2069
|
-
* @summary Current Mode
|
|
2070
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
2071
|
-
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
2072
|
-
* @param {*} [options] Override http request option.
|
|
2073
|
-
* @throws {RequiredError}
|
|
2074
|
-
*/
|
|
2075
|
-
getMode: async (cell, controller, options = {}) => {
|
|
2076
|
-
// verify required parameter 'cell' is not null or undefined
|
|
2077
|
-
assertParamExists('getMode', 'cell', cell);
|
|
2078
|
-
// verify required parameter 'controller' is not null or undefined
|
|
2079
|
-
assertParamExists('getMode', 'controller', controller);
|
|
2080
|
-
const localVarPath = `/cells/{cell}/controllers/{controller}/mode`
|
|
2081
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
2082
|
-
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
2083
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2084
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2085
|
-
let baseOptions;
|
|
2086
|
-
if (configuration) {
|
|
2087
|
-
baseOptions = configuration.baseOptions;
|
|
2088
|
-
}
|
|
2089
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2090
|
-
const localVarHeaderParameter = {};
|
|
2091
|
-
const localVarQueryParameter = {};
|
|
2092
|
-
// authentication BasicAuth required
|
|
2093
|
-
// http basic authentication required
|
|
2094
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2095
|
-
// authentication BearerAuth required
|
|
2096
|
-
// http bearer authentication required
|
|
2097
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2098
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2099
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2100
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2101
|
-
return {
|
|
2102
|
-
url: toPathString(localVarUrlObj),
|
|
2103
|
-
options: localVarRequestOptions,
|
|
2104
|
-
};
|
|
2105
|
-
},
|
|
2106
|
-
/**
|
|
2107
|
-
* Get the configuration for a robot controller.
|
|
2108
|
-
* @summary Robot Controller Configuration
|
|
2109
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
2110
|
-
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
1983
|
+
* Get the configuration for a robot controller.
|
|
1984
|
+
* @summary Robot Controller Configuration
|
|
1985
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1986
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
2111
1987
|
* @param {*} [options] Override http request option.
|
|
2112
1988
|
* @throws {RequiredError}
|
|
2113
1989
|
*/
|
|
@@ -3233,23 +3109,17 @@ export const ControllerInputsOutputsApiAxiosParamCreator = function (configurati
|
|
|
3233
3109
|
* @summary Wait For
|
|
3234
3110
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3235
3111
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
3236
|
-
* @param {
|
|
3237
|
-
* @param {Comparator} comparisonType
|
|
3238
|
-
* @param {boolean} [booleanValue]
|
|
3239
|
-
* @param {string} [integerValue]
|
|
3240
|
-
* @param {number} [floatValue]
|
|
3112
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
3241
3113
|
* @param {*} [options] Override http request option.
|
|
3242
3114
|
* @throws {RequiredError}
|
|
3243
3115
|
*/
|
|
3244
|
-
waitForIOEvent: async (cell, controller,
|
|
3116
|
+
waitForIOEvent: async (cell, controller, waitForIOEventRequest, options = {}) => {
|
|
3245
3117
|
// verify required parameter 'cell' is not null or undefined
|
|
3246
3118
|
assertParamExists('waitForIOEvent', 'cell', cell);
|
|
3247
3119
|
// verify required parameter 'controller' is not null or undefined
|
|
3248
3120
|
assertParamExists('waitForIOEvent', 'controller', controller);
|
|
3249
|
-
// verify required parameter '
|
|
3250
|
-
assertParamExists('waitForIOEvent', '
|
|
3251
|
-
// verify required parameter 'comparisonType' is not null or undefined
|
|
3252
|
-
assertParamExists('waitForIOEvent', 'comparisonType', comparisonType);
|
|
3121
|
+
// verify required parameter 'waitForIOEventRequest' is not null or undefined
|
|
3122
|
+
assertParamExists('waitForIOEvent', 'waitForIOEventRequest', waitForIOEventRequest);
|
|
3253
3123
|
const localVarPath = `/cells/{cell}/controllers/{controller}/ios/wait-for`
|
|
3254
3124
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
3255
3125
|
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
@@ -3259,7 +3129,7 @@ export const ControllerInputsOutputsApiAxiosParamCreator = function (configurati
|
|
|
3259
3129
|
if (configuration) {
|
|
3260
3130
|
baseOptions = configuration.baseOptions;
|
|
3261
3131
|
}
|
|
3262
|
-
const localVarRequestOptions = { method: '
|
|
3132
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3263
3133
|
const localVarHeaderParameter = {};
|
|
3264
3134
|
const localVarQueryParameter = {};
|
|
3265
3135
|
// authentication BasicAuth required
|
|
@@ -3268,24 +3138,11 @@ export const ControllerInputsOutputsApiAxiosParamCreator = function (configurati
|
|
|
3268
3138
|
// authentication BearerAuth required
|
|
3269
3139
|
// http bearer authentication required
|
|
3270
3140
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3271
|
-
|
|
3272
|
-
localVarQueryParameter['io'] = io;
|
|
3273
|
-
}
|
|
3274
|
-
if (comparisonType !== undefined) {
|
|
3275
|
-
localVarQueryParameter['comparison_type'] = comparisonType;
|
|
3276
|
-
}
|
|
3277
|
-
if (booleanValue !== undefined) {
|
|
3278
|
-
localVarQueryParameter['boolean_value'] = booleanValue;
|
|
3279
|
-
}
|
|
3280
|
-
if (integerValue !== undefined) {
|
|
3281
|
-
localVarQueryParameter['integer_value'] = integerValue;
|
|
3282
|
-
}
|
|
3283
|
-
if (floatValue !== undefined) {
|
|
3284
|
-
localVarQueryParameter['float_value'] = floatValue;
|
|
3285
|
-
}
|
|
3141
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3286
3142
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3287
3143
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3288
3144
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3145
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitForIOEventRequest, localVarRequestOptions, configuration);
|
|
3289
3146
|
return {
|
|
3290
3147
|
url: toPathString(localVarUrlObj),
|
|
3291
3148
|
options: localVarRequestOptions,
|
|
@@ -3368,16 +3225,12 @@ export const ControllerInputsOutputsApiFp = function (configuration) {
|
|
|
3368
3225
|
* @summary Wait For
|
|
3369
3226
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3370
3227
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
3371
|
-
* @param {
|
|
3372
|
-
* @param {Comparator} comparisonType
|
|
3373
|
-
* @param {boolean} [booleanValue]
|
|
3374
|
-
* @param {string} [integerValue]
|
|
3375
|
-
* @param {number} [floatValue]
|
|
3228
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
3376
3229
|
* @param {*} [options] Override http request option.
|
|
3377
3230
|
* @throws {RequiredError}
|
|
3378
3231
|
*/
|
|
3379
|
-
async waitForIOEvent(cell, controller,
|
|
3380
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.waitForIOEvent(cell, controller,
|
|
3232
|
+
async waitForIOEvent(cell, controller, waitForIOEventRequest, options) {
|
|
3233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitForIOEvent(cell, controller, waitForIOEventRequest, options);
|
|
3381
3234
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3382
3235
|
const localVarOperationServerBasePath = operationServerMap['ControllerInputsOutputsApi.waitForIOEvent']?.[localVarOperationServerIndex]?.url;
|
|
3383
3236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3447,16 +3300,12 @@ export const ControllerInputsOutputsApiFactory = function (configuration, basePa
|
|
|
3447
3300
|
* @summary Wait For
|
|
3448
3301
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3449
3302
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
3450
|
-
* @param {
|
|
3451
|
-
* @param {Comparator} comparisonType
|
|
3452
|
-
* @param {boolean} [booleanValue]
|
|
3453
|
-
* @param {string} [integerValue]
|
|
3454
|
-
* @param {number} [floatValue]
|
|
3303
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
3455
3304
|
* @param {*} [options] Override http request option.
|
|
3456
3305
|
* @throws {RequiredError}
|
|
3457
3306
|
*/
|
|
3458
|
-
waitForIOEvent(cell, controller,
|
|
3459
|
-
return localVarFp.waitForIOEvent(cell, controller,
|
|
3307
|
+
waitForIOEvent(cell, controller, waitForIOEventRequest, options) {
|
|
3308
|
+
return localVarFp.waitForIOEvent(cell, controller, waitForIOEventRequest, options).then((request) => request(axios, basePath));
|
|
3460
3309
|
},
|
|
3461
3310
|
};
|
|
3462
3311
|
};
|
|
@@ -3527,17 +3376,13 @@ export class ControllerInputsOutputsApi extends BaseAPI {
|
|
|
3527
3376
|
* @summary Wait For
|
|
3528
3377
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3529
3378
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
3530
|
-
* @param {
|
|
3531
|
-
* @param {Comparator} comparisonType
|
|
3532
|
-
* @param {boolean} [booleanValue]
|
|
3533
|
-
* @param {string} [integerValue]
|
|
3534
|
-
* @param {number} [floatValue]
|
|
3379
|
+
* @param {WaitForIOEventRequest} waitForIOEventRequest
|
|
3535
3380
|
* @param {*} [options] Override http request option.
|
|
3536
3381
|
* @throws {RequiredError}
|
|
3537
3382
|
* @memberof ControllerInputsOutputsApi
|
|
3538
3383
|
*/
|
|
3539
|
-
waitForIOEvent(cell, controller,
|
|
3540
|
-
return ControllerInputsOutputsApiFp(this.configuration).waitForIOEvent(cell, controller,
|
|
3384
|
+
waitForIOEvent(cell, controller, waitForIOEventRequest, options) {
|
|
3385
|
+
return ControllerInputsOutputsApiFp(this.configuration).waitForIOEvent(cell, controller, waitForIOEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3541
3386
|
}
|
|
3542
3387
|
}
|
|
3543
3388
|
/**
|
|
@@ -3633,17 +3478,17 @@ export const CoordinateSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
3633
3478
|
* @summary Transform
|
|
3634
3479
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3635
3480
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3636
|
-
* @param {
|
|
3481
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3637
3482
|
* @param {*} [options] Override http request option.
|
|
3638
3483
|
* @throws {RequiredError}
|
|
3639
3484
|
*/
|
|
3640
|
-
transformInCoordinateSystem: async (cell, coordinateSystem,
|
|
3485
|
+
transformInCoordinateSystem: async (cell, coordinateSystem, poseInCoordinateSystem, options = {}) => {
|
|
3641
3486
|
// verify required parameter 'cell' is not null or undefined
|
|
3642
3487
|
assertParamExists('transformInCoordinateSystem', 'cell', cell);
|
|
3643
3488
|
// verify required parameter 'coordinateSystem' is not null or undefined
|
|
3644
3489
|
assertParamExists('transformInCoordinateSystem', 'coordinateSystem', coordinateSystem);
|
|
3645
|
-
// verify required parameter '
|
|
3646
|
-
assertParamExists('transformInCoordinateSystem', '
|
|
3490
|
+
// verify required parameter 'poseInCoordinateSystem' is not null or undefined
|
|
3491
|
+
assertParamExists('transformInCoordinateSystem', 'poseInCoordinateSystem', poseInCoordinateSystem);
|
|
3647
3492
|
const localVarPath = `/cells/{cell}/coordinate-systems/{coordinate-system}/transform`
|
|
3648
3493
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
3649
3494
|
.replace(`{${"coordinate-system"}}`, encodeURIComponent(String(coordinateSystem)));
|
|
@@ -3666,7 +3511,7 @@ export const CoordinateSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
3666
3511
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3667
3512
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3668
3513
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3669
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3514
|
+
localVarRequestOptions.data = serializeDataIfNeeded(poseInCoordinateSystem, localVarRequestOptions, configuration);
|
|
3670
3515
|
return {
|
|
3671
3516
|
url: toPathString(localVarUrlObj),
|
|
3672
3517
|
options: localVarRequestOptions,
|
|
@@ -3715,12 +3560,12 @@ export const CoordinateSystemsApiFp = function (configuration) {
|
|
|
3715
3560
|
* @summary Transform
|
|
3716
3561
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3717
3562
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3718
|
-
* @param {
|
|
3563
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3719
3564
|
* @param {*} [options] Override http request option.
|
|
3720
3565
|
* @throws {RequiredError}
|
|
3721
3566
|
*/
|
|
3722
|
-
async transformInCoordinateSystem(cell, coordinateSystem,
|
|
3723
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.transformInCoordinateSystem(cell, coordinateSystem,
|
|
3567
|
+
async transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options) {
|
|
3568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options);
|
|
3724
3569
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3725
3570
|
const localVarOperationServerBasePath = operationServerMap['CoordinateSystemsApi.transformInCoordinateSystem']?.[localVarOperationServerIndex]?.url;
|
|
3726
3571
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3762,12 +3607,12 @@ export const CoordinateSystemsApiFactory = function (configuration, basePath, ax
|
|
|
3762
3607
|
* @summary Transform
|
|
3763
3608
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3764
3609
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3765
|
-
* @param {
|
|
3610
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3766
3611
|
* @param {*} [options] Override http request option.
|
|
3767
3612
|
* @throws {RequiredError}
|
|
3768
3613
|
*/
|
|
3769
|
-
transformInCoordinateSystem(cell, coordinateSystem,
|
|
3770
|
-
return localVarFp.transformInCoordinateSystem(cell, coordinateSystem,
|
|
3614
|
+
transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options) {
|
|
3615
|
+
return localVarFp.transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options).then((request) => request(axios, basePath));
|
|
3771
3616
|
},
|
|
3772
3617
|
};
|
|
3773
3618
|
};
|
|
@@ -3808,13 +3653,13 @@ export class CoordinateSystemsApi extends BaseAPI {
|
|
|
3808
3653
|
* @summary Transform
|
|
3809
3654
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3810
3655
|
* @param {string} coordinateSystem Unique identifier addressing a coordinate system.
|
|
3811
|
-
* @param {
|
|
3656
|
+
* @param {PoseInCoordinateSystem} poseInCoordinateSystem
|
|
3812
3657
|
* @param {*} [options] Override http request option.
|
|
3813
3658
|
* @throws {RequiredError}
|
|
3814
3659
|
* @memberof CoordinateSystemsApi
|
|
3815
3660
|
*/
|
|
3816
|
-
transformInCoordinateSystem(cell, coordinateSystem,
|
|
3817
|
-
return CoordinateSystemsApiFp(this.configuration).transformInCoordinateSystem(cell, coordinateSystem,
|
|
3661
|
+
transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options) {
|
|
3662
|
+
return CoordinateSystemsApiFp(this.configuration).transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options).then((request) => request(this.axios, this.basePath));
|
|
3818
3663
|
}
|
|
3819
3664
|
}
|
|
3820
3665
|
/**
|
|
@@ -9856,6 +9701,47 @@ export class StoreObjectApi extends BaseAPI {
|
|
|
9856
9701
|
*/
|
|
9857
9702
|
export const SystemApiAxiosParamCreator = function (configuration) {
|
|
9858
9703
|
return {
|
|
9704
|
+
/**
|
|
9705
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
9706
|
+
* @summary Retrieve Configuration Backup
|
|
9707
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9708
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
9709
|
+
* @param {*} [options] Override http request option.
|
|
9710
|
+
* @throws {RequiredError}
|
|
9711
|
+
*/
|
|
9712
|
+
backupConfiguration: async (resources, metadata, options = {}) => {
|
|
9713
|
+
// verify required parameter 'resources' is not null or undefined
|
|
9714
|
+
assertParamExists('backupConfiguration', 'resources', resources);
|
|
9715
|
+
const localVarPath = `/system/configuration`;
|
|
9716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9718
|
+
let baseOptions;
|
|
9719
|
+
if (configuration) {
|
|
9720
|
+
baseOptions = configuration.baseOptions;
|
|
9721
|
+
}
|
|
9722
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9723
|
+
const localVarHeaderParameter = {};
|
|
9724
|
+
const localVarQueryParameter = {};
|
|
9725
|
+
// authentication BasicAuth required
|
|
9726
|
+
// http basic authentication required
|
|
9727
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9728
|
+
// authentication BearerAuth required
|
|
9729
|
+
// http bearer authentication required
|
|
9730
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9731
|
+
if (resources) {
|
|
9732
|
+
localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
|
|
9733
|
+
}
|
|
9734
|
+
if (metadata !== undefined) {
|
|
9735
|
+
localVarQueryParameter['metadata'] = metadata;
|
|
9736
|
+
}
|
|
9737
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9738
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9739
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9740
|
+
return {
|
|
9741
|
+
url: toPathString(localVarUrlObj),
|
|
9742
|
+
options: localVarRequestOptions,
|
|
9743
|
+
};
|
|
9744
|
+
},
|
|
9859
9745
|
/**
|
|
9860
9746
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
9861
9747
|
* @summary Check update
|
|
@@ -9986,6 +9872,79 @@ export const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
9986
9872
|
options: localVarRequestOptions,
|
|
9987
9873
|
};
|
|
9988
9874
|
},
|
|
9875
|
+
/**
|
|
9876
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
9877
|
+
* @summary List Configuration Resources
|
|
9878
|
+
* @param {*} [options] Override http request option.
|
|
9879
|
+
* @throws {RequiredError}
|
|
9880
|
+
*/
|
|
9881
|
+
listConfigurationResources: async (options = {}) => {
|
|
9882
|
+
const localVarPath = `/system/configuration/resources`;
|
|
9883
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9884
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9885
|
+
let baseOptions;
|
|
9886
|
+
if (configuration) {
|
|
9887
|
+
baseOptions = configuration.baseOptions;
|
|
9888
|
+
}
|
|
9889
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9890
|
+
const localVarHeaderParameter = {};
|
|
9891
|
+
const localVarQueryParameter = {};
|
|
9892
|
+
// authentication BasicAuth required
|
|
9893
|
+
// http basic authentication required
|
|
9894
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9895
|
+
// authentication BearerAuth required
|
|
9896
|
+
// http bearer authentication required
|
|
9897
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9900
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9901
|
+
return {
|
|
9902
|
+
url: toPathString(localVarUrlObj),
|
|
9903
|
+
options: localVarRequestOptions,
|
|
9904
|
+
};
|
|
9905
|
+
},
|
|
9906
|
+
/**
|
|
9907
|
+
* Restores a previously backed up configuration.
|
|
9908
|
+
* @summary Restore Configuration Backup
|
|
9909
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9910
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
9911
|
+
* @param {*} [options] Override http request option.
|
|
9912
|
+
* @throws {RequiredError}
|
|
9913
|
+
*/
|
|
9914
|
+
restoreConfiguration: async (resources, body, options = {}) => {
|
|
9915
|
+
// verify required parameter 'resources' is not null or undefined
|
|
9916
|
+
assertParamExists('restoreConfiguration', 'resources', resources);
|
|
9917
|
+
// verify required parameter 'body' is not null or undefined
|
|
9918
|
+
assertParamExists('restoreConfiguration', 'body', body);
|
|
9919
|
+
const localVarPath = `/system/configuration`;
|
|
9920
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9921
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9922
|
+
let baseOptions;
|
|
9923
|
+
if (configuration) {
|
|
9924
|
+
baseOptions = configuration.baseOptions;
|
|
9925
|
+
}
|
|
9926
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9927
|
+
const localVarHeaderParameter = {};
|
|
9928
|
+
const localVarQueryParameter = {};
|
|
9929
|
+
// authentication BasicAuth required
|
|
9930
|
+
// http basic authentication required
|
|
9931
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9932
|
+
// authentication BearerAuth required
|
|
9933
|
+
// http bearer authentication required
|
|
9934
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9935
|
+
if (resources) {
|
|
9936
|
+
localVarQueryParameter['resources'] = resources.join(COLLECTION_FORMATS.csv);
|
|
9937
|
+
}
|
|
9938
|
+
localVarHeaderParameter['Content-Type'] = 'application/gzip';
|
|
9939
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9940
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9941
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9942
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
9943
|
+
return {
|
|
9944
|
+
url: toPathString(localVarUrlObj),
|
|
9945
|
+
options: localVarRequestOptions,
|
|
9946
|
+
};
|
|
9947
|
+
},
|
|
9989
9948
|
/**
|
|
9990
9949
|
* 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.
|
|
9991
9950
|
* @summary Update Wandelbots NOVA version
|
|
@@ -10031,6 +9990,20 @@ export const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
10031
9990
|
export const SystemApiFp = function (configuration) {
|
|
10032
9991
|
const localVarAxiosParamCreator = SystemApiAxiosParamCreator(configuration);
|
|
10033
9992
|
return {
|
|
9993
|
+
/**
|
|
9994
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
9995
|
+
* @summary Retrieve Configuration Backup
|
|
9996
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
9997
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
9998
|
+
* @param {*} [options] Override http request option.
|
|
9999
|
+
* @throws {RequiredError}
|
|
10000
|
+
*/
|
|
10001
|
+
async backupConfiguration(resources, metadata, options) {
|
|
10002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.backupConfiguration(resources, metadata, options);
|
|
10003
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10004
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.backupConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
10005
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10006
|
+
},
|
|
10034
10007
|
/**
|
|
10035
10008
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
10036
10009
|
* @summary Check update
|
|
@@ -10080,6 +10053,32 @@ export const SystemApiFp = function (configuration) {
|
|
|
10080
10053
|
const localVarOperationServerBasePath = operationServerMap['SystemApi.getSystemVersion']?.[localVarOperationServerIndex]?.url;
|
|
10081
10054
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10082
10055
|
},
|
|
10056
|
+
/**
|
|
10057
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10058
|
+
* @summary List Configuration Resources
|
|
10059
|
+
* @param {*} [options] Override http request option.
|
|
10060
|
+
* @throws {RequiredError}
|
|
10061
|
+
*/
|
|
10062
|
+
async listConfigurationResources(options) {
|
|
10063
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listConfigurationResources(options);
|
|
10064
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10065
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.listConfigurationResources']?.[localVarOperationServerIndex]?.url;
|
|
10066
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10067
|
+
},
|
|
10068
|
+
/**
|
|
10069
|
+
* Restores a previously backed up configuration.
|
|
10070
|
+
* @summary Restore Configuration Backup
|
|
10071
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10072
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10073
|
+
* @param {*} [options] Override http request option.
|
|
10074
|
+
* @throws {RequiredError}
|
|
10075
|
+
*/
|
|
10076
|
+
async restoreConfiguration(resources, body, options) {
|
|
10077
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreConfiguration(resources, body, options);
|
|
10078
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10079
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.restoreConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
10080
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10081
|
+
},
|
|
10083
10082
|
/**
|
|
10084
10083
|
* 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.
|
|
10085
10084
|
* @summary Update Wandelbots NOVA version
|
|
@@ -10102,6 +10101,17 @@ export const SystemApiFp = function (configuration) {
|
|
|
10102
10101
|
export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
10103
10102
|
const localVarFp = SystemApiFp(configuration);
|
|
10104
10103
|
return {
|
|
10104
|
+
/**
|
|
10105
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
10106
|
+
* @summary Retrieve Configuration Backup
|
|
10107
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10108
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
10109
|
+
* @param {*} [options] Override http request option.
|
|
10110
|
+
* @throws {RequiredError}
|
|
10111
|
+
*/
|
|
10112
|
+
backupConfiguration(resources, metadata, options) {
|
|
10113
|
+
return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
|
|
10114
|
+
},
|
|
10105
10115
|
/**
|
|
10106
10116
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
10107
10117
|
* @summary Check update
|
|
@@ -10139,6 +10149,26 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
10139
10149
|
getSystemVersion(options) {
|
|
10140
10150
|
return localVarFp.getSystemVersion(options).then((request) => request(axios, basePath));
|
|
10141
10151
|
},
|
|
10152
|
+
/**
|
|
10153
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10154
|
+
* @summary List Configuration Resources
|
|
10155
|
+
* @param {*} [options] Override http request option.
|
|
10156
|
+
* @throws {RequiredError}
|
|
10157
|
+
*/
|
|
10158
|
+
listConfigurationResources(options) {
|
|
10159
|
+
return localVarFp.listConfigurationResources(options).then((request) => request(axios, basePath));
|
|
10160
|
+
},
|
|
10161
|
+
/**
|
|
10162
|
+
* Restores a previously backed up configuration.
|
|
10163
|
+
* @summary Restore Configuration Backup
|
|
10164
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10165
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10166
|
+
* @param {*} [options] Override http request option.
|
|
10167
|
+
* @throws {RequiredError}
|
|
10168
|
+
*/
|
|
10169
|
+
restoreConfiguration(resources, body, options) {
|
|
10170
|
+
return localVarFp.restoreConfiguration(resources, body, options).then((request) => request(axios, basePath));
|
|
10171
|
+
},
|
|
10142
10172
|
/**
|
|
10143
10173
|
* 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.
|
|
10144
10174
|
* @summary Update Wandelbots NOVA version
|
|
@@ -10158,6 +10188,18 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
10158
10188
|
* @extends {BaseAPI}
|
|
10159
10189
|
*/
|
|
10160
10190
|
export class SystemApi extends BaseAPI {
|
|
10191
|
+
/**
|
|
10192
|
+
* Retrieves a configuration backup based on provided resource identifiers.
|
|
10193
|
+
* @summary Retrieve Configuration Backup
|
|
10194
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10195
|
+
* @param {{ [key: string]: string; }} [metadata] Additional metadata to add to the backup
|
|
10196
|
+
* @param {*} [options] Override http request option.
|
|
10197
|
+
* @throws {RequiredError}
|
|
10198
|
+
* @memberof SystemApi
|
|
10199
|
+
*/
|
|
10200
|
+
backupConfiguration(resources, metadata, options) {
|
|
10201
|
+
return SystemApiFp(this.configuration).backupConfiguration(resources, metadata, options).then((request) => request(this.axios, this.basePath));
|
|
10202
|
+
}
|
|
10161
10203
|
/**
|
|
10162
10204
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
10163
10205
|
* @summary Check update
|
|
@@ -10199,6 +10241,28 @@ export class SystemApi extends BaseAPI {
|
|
|
10199
10241
|
getSystemVersion(options) {
|
|
10200
10242
|
return SystemApiFp(this.configuration).getSystemVersion(options).then((request) => request(this.axios, this.basePath));
|
|
10201
10243
|
}
|
|
10244
|
+
/**
|
|
10245
|
+
* Retrieves a list of all available configuration resources for backup purposes.
|
|
10246
|
+
* @summary List Configuration Resources
|
|
10247
|
+
* @param {*} [options] Override http request option.
|
|
10248
|
+
* @throws {RequiredError}
|
|
10249
|
+
* @memberof SystemApi
|
|
10250
|
+
*/
|
|
10251
|
+
listConfigurationResources(options) {
|
|
10252
|
+
return SystemApiFp(this.configuration).listConfigurationResources(options).then((request) => request(this.axios, this.basePath));
|
|
10253
|
+
}
|
|
10254
|
+
/**
|
|
10255
|
+
* Restores a previously backed up configuration.
|
|
10256
|
+
* @summary Restore Configuration Backup
|
|
10257
|
+
* @param {Array<string>} resources List of resource identifiers to included in the backup and restore operations.
|
|
10258
|
+
* @param {File} body Backup file stream containing the configuration to restore.
|
|
10259
|
+
* @param {*} [options] Override http request option.
|
|
10260
|
+
* @throws {RequiredError}
|
|
10261
|
+
* @memberof SystemApi
|
|
10262
|
+
*/
|
|
10263
|
+
restoreConfiguration(resources, body, options) {
|
|
10264
|
+
return SystemApiFp(this.configuration).restoreConfiguration(resources, body, options).then((request) => request(this.axios, this.basePath));
|
|
10265
|
+
}
|
|
10202
10266
|
/**
|
|
10203
10267
|
* 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.
|
|
10204
10268
|
* @summary Update Wandelbots NOVA version
|
|
@@ -11014,22 +11078,21 @@ export const VirtualRobotApiAxiosParamCreator = function (configuration) {
|
|
|
11014
11078
|
};
|
|
11015
11079
|
},
|
|
11016
11080
|
/**
|
|
11017
|
-
*
|
|
11081
|
+
* 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).
|
|
11018
11082
|
* @summary Get Inputs/Outputs
|
|
11019
11083
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11020
11084
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11021
|
-
* @param {Array<string>}
|
|
11022
|
-
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11023
|
-
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11024
|
-
* @param {string} [prefix] Return only inputs/outputs with the specified prefix of unique identifier.
|
|
11085
|
+
* @param {Array<string>} ios
|
|
11025
11086
|
* @param {*} [options] Override http request option.
|
|
11026
11087
|
* @throws {RequiredError}
|
|
11027
11088
|
*/
|
|
11028
|
-
listIOs: async (cell, controller, ios,
|
|
11089
|
+
listIOs: async (cell, controller, ios, options = {}) => {
|
|
11029
11090
|
// verify required parameter 'cell' is not null or undefined
|
|
11030
11091
|
assertParamExists('listIOs', 'cell', cell);
|
|
11031
11092
|
// verify required parameter 'controller' is not null or undefined
|
|
11032
11093
|
assertParamExists('listIOs', 'controller', controller);
|
|
11094
|
+
// verify required parameter 'ios' is not null or undefined
|
|
11095
|
+
assertParamExists('listIOs', 'ios', ios);
|
|
11033
11096
|
const localVarPath = `/cells/{cell}/controllers/{controller}/teach-pendant/ios`
|
|
11034
11097
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11035
11098
|
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
@@ -11051,14 +11114,60 @@ export const VirtualRobotApiAxiosParamCreator = function (configuration) {
|
|
|
11051
11114
|
if (ios) {
|
|
11052
11115
|
localVarQueryParameter['ios'] = ios;
|
|
11053
11116
|
}
|
|
11117
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11118
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11119
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11120
|
+
return {
|
|
11121
|
+
url: toPathString(localVarUrlObj),
|
|
11122
|
+
options: localVarRequestOptions,
|
|
11123
|
+
};
|
|
11124
|
+
},
|
|
11125
|
+
/**
|
|
11126
|
+
* 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.
|
|
11127
|
+
* @summary List Input/Output Descriptions
|
|
11128
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11129
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11130
|
+
* @param {Array<string>} [ios]
|
|
11131
|
+
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11132
|
+
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11133
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
11134
|
+
* @param {*} [options] Override http request option.
|
|
11135
|
+
* @throws {RequiredError}
|
|
11136
|
+
*/
|
|
11137
|
+
listVirtualRobotIODescriptions: async (cell, controller, ios, direction, valueType, group, options = {}) => {
|
|
11138
|
+
// verify required parameter 'cell' is not null or undefined
|
|
11139
|
+
assertParamExists('listVirtualRobotIODescriptions', 'cell', cell);
|
|
11140
|
+
// verify required parameter 'controller' is not null or undefined
|
|
11141
|
+
assertParamExists('listVirtualRobotIODescriptions', 'controller', controller);
|
|
11142
|
+
const localVarPath = `/cells/{cell}/controllers/{controller}/teach-pendant/ios/description`
|
|
11143
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11144
|
+
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
11145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11147
|
+
let baseOptions;
|
|
11148
|
+
if (configuration) {
|
|
11149
|
+
baseOptions = configuration.baseOptions;
|
|
11150
|
+
}
|
|
11151
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11152
|
+
const localVarHeaderParameter = {};
|
|
11153
|
+
const localVarQueryParameter = {};
|
|
11154
|
+
// authentication BasicAuth required
|
|
11155
|
+
// http basic authentication required
|
|
11156
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
11157
|
+
// authentication BearerAuth required
|
|
11158
|
+
// http bearer authentication required
|
|
11159
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
11160
|
+
if (ios) {
|
|
11161
|
+
localVarQueryParameter['ios'] = ios;
|
|
11162
|
+
}
|
|
11054
11163
|
if (direction !== undefined) {
|
|
11055
11164
|
localVarQueryParameter['direction'] = direction;
|
|
11056
11165
|
}
|
|
11057
11166
|
if (valueType !== undefined) {
|
|
11058
11167
|
localVarQueryParameter['value_type'] = valueType;
|
|
11059
11168
|
}
|
|
11060
|
-
if (
|
|
11061
|
-
localVarQueryParameter['
|
|
11169
|
+
if (group !== undefined) {
|
|
11170
|
+
localVarQueryParameter['group'] = group;
|
|
11062
11171
|
}
|
|
11063
11172
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11064
11173
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -11199,21 +11308,36 @@ export const VirtualRobotApiFp = function (configuration) {
|
|
|
11199
11308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11200
11309
|
},
|
|
11201
11310
|
/**
|
|
11202
|
-
*
|
|
11311
|
+
* 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).
|
|
11203
11312
|
* @summary Get Inputs/Outputs
|
|
11204
11313
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11205
11314
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11315
|
+
* @param {Array<string>} ios
|
|
11316
|
+
* @param {*} [options] Override http request option.
|
|
11317
|
+
* @throws {RequiredError}
|
|
11318
|
+
*/
|
|
11319
|
+
async listIOs(cell, controller, ios, options) {
|
|
11320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listIOs(cell, controller, ios, options);
|
|
11321
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11322
|
+
const localVarOperationServerBasePath = operationServerMap['VirtualRobotApi.listIOs']?.[localVarOperationServerIndex]?.url;
|
|
11323
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11324
|
+
},
|
|
11325
|
+
/**
|
|
11326
|
+
* 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.
|
|
11327
|
+
* @summary List Input/Output Descriptions
|
|
11328
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11329
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11206
11330
|
* @param {Array<string>} [ios]
|
|
11207
11331
|
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11208
11332
|
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11209
|
-
* @param {string} [
|
|
11333
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
11210
11334
|
* @param {*} [options] Override http request option.
|
|
11211
11335
|
* @throws {RequiredError}
|
|
11212
11336
|
*/
|
|
11213
|
-
async
|
|
11214
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11337
|
+
async listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options) {
|
|
11338
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options);
|
|
11215
11339
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11216
|
-
const localVarOperationServerBasePath = operationServerMap['VirtualRobotApi.
|
|
11340
|
+
const localVarOperationServerBasePath = operationServerMap['VirtualRobotApi.listVirtualRobotIODescriptions']?.[localVarOperationServerIndex]?.url;
|
|
11217
11341
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11218
11342
|
},
|
|
11219
11343
|
/**
|
|
@@ -11280,19 +11404,31 @@ export const VirtualRobotApiFactory = function (configuration, basePath, axios)
|
|
|
11280
11404
|
return localVarFp.getMotionGroups(cell, controller, options).then((request) => request(axios, basePath));
|
|
11281
11405
|
},
|
|
11282
11406
|
/**
|
|
11283
|
-
*
|
|
11407
|
+
* 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).
|
|
11284
11408
|
* @summary Get Inputs/Outputs
|
|
11285
11409
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11286
11410
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11411
|
+
* @param {Array<string>} ios
|
|
11412
|
+
* @param {*} [options] Override http request option.
|
|
11413
|
+
* @throws {RequiredError}
|
|
11414
|
+
*/
|
|
11415
|
+
listIOs(cell, controller, ios, options) {
|
|
11416
|
+
return localVarFp.listIOs(cell, controller, ios, options).then((request) => request(axios, basePath));
|
|
11417
|
+
},
|
|
11418
|
+
/**
|
|
11419
|
+
* 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.
|
|
11420
|
+
* @summary List Input/Output Descriptions
|
|
11421
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11422
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11287
11423
|
* @param {Array<string>} [ios]
|
|
11288
11424
|
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11289
11425
|
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11290
|
-
* @param {string} [
|
|
11426
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
11291
11427
|
* @param {*} [options] Override http request option.
|
|
11292
11428
|
* @throws {RequiredError}
|
|
11293
11429
|
*/
|
|
11294
|
-
|
|
11295
|
-
return localVarFp.
|
|
11430
|
+
listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options) {
|
|
11431
|
+
return localVarFp.listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options).then((request) => request(axios, basePath));
|
|
11296
11432
|
},
|
|
11297
11433
|
/**
|
|
11298
11434
|
* Sets a list of values of a virtual controller inputs/outputs.
|
|
@@ -11354,20 +11490,33 @@ export class VirtualRobotApi extends BaseAPI {
|
|
|
11354
11490
|
return VirtualRobotApiFp(this.configuration).getMotionGroups(cell, controller, options).then((request) => request(this.axios, this.basePath));
|
|
11355
11491
|
}
|
|
11356
11492
|
/**
|
|
11357
|
-
*
|
|
11493
|
+
* 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).
|
|
11358
11494
|
* @summary Get Inputs/Outputs
|
|
11359
11495
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11360
11496
|
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11497
|
+
* @param {Array<string>} ios
|
|
11498
|
+
* @param {*} [options] Override http request option.
|
|
11499
|
+
* @throws {RequiredError}
|
|
11500
|
+
* @memberof VirtualRobotApi
|
|
11501
|
+
*/
|
|
11502
|
+
listIOs(cell, controller, ios, options) {
|
|
11503
|
+
return VirtualRobotApiFp(this.configuration).listIOs(cell, controller, ios, options).then((request) => request(this.axios, this.basePath));
|
|
11504
|
+
}
|
|
11505
|
+
/**
|
|
11506
|
+
* 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.
|
|
11507
|
+
* @summary List Input/Output Descriptions
|
|
11508
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11509
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
11361
11510
|
* @param {Array<string>} [ios]
|
|
11362
11511
|
* @param {IODirection} [direction] Return only inputs/outputs with the specified direction.
|
|
11363
11512
|
* @param {IOValueType} [valueType] Return only inputs/outputs with the specified value type.
|
|
11364
|
-
* @param {string} [
|
|
11513
|
+
* @param {string} [group] Return only inputs/outputs from the specified group.
|
|
11365
11514
|
* @param {*} [options] Override http request option.
|
|
11366
11515
|
* @throws {RequiredError}
|
|
11367
11516
|
* @memberof VirtualRobotApi
|
|
11368
11517
|
*/
|
|
11369
|
-
|
|
11370
|
-
return VirtualRobotApiFp(this.configuration).
|
|
11518
|
+
listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options) {
|
|
11519
|
+
return VirtualRobotApiFp(this.configuration).listVirtualRobotIODescriptions(cell, controller, ios, direction, valueType, group, options).then((request) => request(this.axios, this.basePath));
|
|
11371
11520
|
}
|
|
11372
11521
|
/**
|
|
11373
11522
|
* Sets a list of values of a virtual controller inputs/outputs.
|