@wandelbots/nova-api 26.9.0-dev.134 → 26.9.0-dev.136

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/dist/v2/index.cjs CHANGED
@@ -70,9 +70,9 @@ const COLLECTION_FORMATS = {
70
70
  pipes: "|"
71
71
  };
72
72
  var BaseAPI = class {
73
- constructor(configuration, basePath = BASE_PATH, axios$214 = axios.default) {
73
+ constructor(configuration, basePath = BASE_PATH, axios$216 = axios.default) {
74
74
  this.basePath = basePath;
75
- this.axios = axios$214;
75
+ this.axios = axios$216;
76
76
  _defineProperty(this, "configuration", void 0);
77
77
  if (configuration) {
78
78
  this.configuration = configuration;
@@ -9366,6 +9366,35 @@ const VirtualControllerApiAxiosParamCreator = function(configuration) {
9366
9366
  options: localVarRequestOptions
9367
9367
  };
9368
9368
  },
9369
+ getVirtualControllerCurrentTcp: async (cell, controller, motionGroup, options = {}) => {
9370
+ assertParamExists("getVirtualControllerCurrentTcp", "cell", cell);
9371
+ assertParamExists("getVirtualControllerCurrentTcp", "controller", controller);
9372
+ assertParamExists("getVirtualControllerCurrentTcp", "motionGroup", motionGroup);
9373
+ const localVarPath = `/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/current-tcp`.replace("{cell}", encodeURIComponent(String(cell))).replace("{controller}", encodeURIComponent(String(controller))).replace("{motion-group}", encodeURIComponent(String(motionGroup)));
9374
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9375
+ let baseOptions;
9376
+ if (configuration) baseOptions = configuration.baseOptions;
9377
+ const localVarRequestOptions = {
9378
+ method: "GET",
9379
+ ...baseOptions,
9380
+ ...options
9381
+ };
9382
+ const localVarHeaderParameter = {};
9383
+ const localVarQueryParameter = {};
9384
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9385
+ localVarHeaderParameter["Accept"] = "application/json";
9386
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9387
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9388
+ localVarRequestOptions.headers = {
9389
+ ...localVarHeaderParameter,
9390
+ ...headersFromBaseOptions,
9391
+ ...options.headers
9392
+ };
9393
+ return {
9394
+ url: toPathString(localVarUrlObj),
9395
+ options: localVarRequestOptions
9396
+ };
9397
+ },
9369
9398
  getVirtualControllerMounting: async (cell, controller, motionGroup, options = {}) => {
9370
9399
  assertParamExists("getVirtualControllerMounting", "cell", cell);
9371
9400
  assertParamExists("getVirtualControllerMounting", "controller", controller);
@@ -9480,6 +9509,36 @@ const VirtualControllerApiAxiosParamCreator = function(configuration) {
9480
9509
  options: localVarRequestOptions
9481
9510
  };
9482
9511
  },
9512
+ selectVirtualControllerTcp: async (cell, controller, motionGroup, tcp, options = {}) => {
9513
+ assertParamExists("selectVirtualControllerTcp", "cell", cell);
9514
+ assertParamExists("selectVirtualControllerTcp", "controller", controller);
9515
+ assertParamExists("selectVirtualControllerTcp", "motionGroup", motionGroup);
9516
+ assertParamExists("selectVirtualControllerTcp", "tcp", tcp);
9517
+ const localVarPath = `/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps/{tcp}/select`.replace("{cell}", encodeURIComponent(String(cell))).replace("{controller}", encodeURIComponent(String(controller))).replace("{motion-group}", encodeURIComponent(String(motionGroup))).replace("{tcp}", encodeURIComponent(String(tcp)));
9518
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9519
+ let baseOptions;
9520
+ if (configuration) baseOptions = configuration.baseOptions;
9521
+ const localVarRequestOptions = {
9522
+ method: "POST",
9523
+ ...baseOptions,
9524
+ ...options
9525
+ };
9526
+ const localVarHeaderParameter = {};
9527
+ const localVarQueryParameter = {};
9528
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9529
+ localVarHeaderParameter["Accept"] = "application/json";
9530
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9531
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9532
+ localVarRequestOptions.headers = {
9533
+ ...localVarHeaderParameter,
9534
+ ...headersFromBaseOptions,
9535
+ ...options.headers
9536
+ };
9537
+ return {
9538
+ url: toPathString(localVarUrlObj),
9539
+ options: localVarRequestOptions
9540
+ };
9541
+ },
9483
9542
  setEmergencyStop: async (cell, controller, active, options = {}) => {
9484
9543
  assertParamExists("setEmergencyStop", "cell", cell);
9485
9544
  assertParamExists("setEmergencyStop", "controller", controller);
@@ -9683,121 +9742,139 @@ const VirtualControllerApiFp = function(configuration) {
9683
9742
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.getOperationMode"]?.[localVarOperationServerIndex]?.url;
9684
9743
  return (axios$195, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$195, localVarOperationServerBasePath || basePath);
9685
9744
  },
9745
+ async getVirtualControllerCurrentTcp(cell, controller, motionGroup, options) {
9746
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVirtualControllerCurrentTcp(cell, controller, motionGroup, options);
9747
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9748
+ const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.getVirtualControllerCurrentTcp"]?.[localVarOperationServerIndex]?.url;
9749
+ return (axios$196, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$196, localVarOperationServerBasePath || basePath);
9750
+ },
9686
9751
  async getVirtualControllerMounting(cell, controller, motionGroup, options) {
9687
9752
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVirtualControllerMounting(cell, controller, motionGroup, options);
9688
9753
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9689
9754
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.getVirtualControllerMounting"]?.[localVarOperationServerIndex]?.url;
9690
- return (axios$196, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$196, localVarOperationServerBasePath || basePath);
9755
+ return (axios$197, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$197, localVarOperationServerBasePath || basePath);
9691
9756
  },
9692
9757
  async getVirtualControllerSafetyZones(cell, controller, options) {
9693
9758
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVirtualControllerSafetyZones(cell, controller, options);
9694
9759
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9695
9760
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.getVirtualControllerSafetyZones"]?.[localVarOperationServerIndex]?.url;
9696
- return (axios$197, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$197, localVarOperationServerBasePath || basePath);
9761
+ return (axios$198, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$198, localVarOperationServerBasePath || basePath);
9697
9762
  },
9698
9763
  async listVirtualControllerCoordinateSystems(cell, controller, options) {
9699
9764
  const localVarAxiosArgs = await localVarAxiosParamCreator.listVirtualControllerCoordinateSystems(cell, controller, options);
9700
9765
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9701
9766
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.listVirtualControllerCoordinateSystems"]?.[localVarOperationServerIndex]?.url;
9702
- return (axios$198, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$198, localVarOperationServerBasePath || basePath);
9767
+ return (axios$199, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$199, localVarOperationServerBasePath || basePath);
9703
9768
  },
9704
9769
  async listVirtualControllerTcps(cell, controller, motionGroup, options) {
9705
9770
  const localVarAxiosArgs = await localVarAxiosParamCreator.listVirtualControllerTcps(cell, controller, motionGroup, options);
9706
9771
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9707
9772
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.listVirtualControllerTcps"]?.[localVarOperationServerIndex]?.url;
9708
- return (axios$199, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$199, localVarOperationServerBasePath || basePath);
9773
+ return (axios$200, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$200, localVarOperationServerBasePath || basePath);
9774
+ },
9775
+ async selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options) {
9776
+ const localVarAxiosArgs = await localVarAxiosParamCreator.selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options);
9777
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9778
+ const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.selectVirtualControllerTcp"]?.[localVarOperationServerIndex]?.url;
9779
+ return (axios$201, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$201, localVarOperationServerBasePath || basePath);
9709
9780
  },
9710
9781
  async setEmergencyStop(cell, controller, active, options) {
9711
9782
  const localVarAxiosArgs = await localVarAxiosParamCreator.setEmergencyStop(cell, controller, active, options);
9712
9783
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9713
9784
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.setEmergencyStop"]?.[localVarOperationServerIndex]?.url;
9714
- return (axios$200, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$200, localVarOperationServerBasePath || basePath);
9785
+ return (axios$202, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$202, localVarOperationServerBasePath || basePath);
9715
9786
  },
9716
9787
  async setMotionGroupState(cell, controller, motionGroup, motionGroupJoints, options) {
9717
9788
  const localVarAxiosArgs = await localVarAxiosParamCreator.setMotionGroupState(cell, controller, motionGroup, motionGroupJoints, options);
9718
9789
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9719
9790
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.setMotionGroupState"]?.[localVarOperationServerIndex]?.url;
9720
- return (axios$201, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$201, localVarOperationServerBasePath || basePath);
9791
+ return (axios$203, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$203, localVarOperationServerBasePath || basePath);
9721
9792
  },
9722
9793
  async setOperationMode(cell, controller, mode, options) {
9723
9794
  const localVarAxiosArgs = await localVarAxiosParamCreator.setOperationMode(cell, controller, mode, options);
9724
9795
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9725
9796
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.setOperationMode"]?.[localVarOperationServerIndex]?.url;
9726
- return (axios$202, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$202, localVarOperationServerBasePath || basePath);
9797
+ return (axios$204, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$204, localVarOperationServerBasePath || basePath);
9727
9798
  },
9728
9799
  async setVirtualControllerMounting(cell, controller, motionGroup, coordinateSystem, options) {
9729
9800
  const localVarAxiosArgs = await localVarAxiosParamCreator.setVirtualControllerMounting(cell, controller, motionGroup, coordinateSystem, options);
9730
9801
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9731
9802
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.setVirtualControllerMounting"]?.[localVarOperationServerIndex]?.url;
9732
- return (axios$203, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$203, localVarOperationServerBasePath || basePath);
9803
+ return (axios$205, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$205, localVarOperationServerBasePath || basePath);
9733
9804
  }
9734
9805
  };
9735
9806
  };
9736
9807
  /**
9737
9808
  * VirtualControllerApi - factory interface
9738
9809
  */
9739
- const VirtualControllerApiFactory = function(configuration, basePath, axios$204) {
9810
+ const VirtualControllerApiFactory = function(configuration, basePath, axios$206) {
9740
9811
  const localVarFp = VirtualControllerApiFp(configuration);
9741
9812
  return {
9742
9813
  addVirtualControllerCoordinateSystem(cell, controller, coordinateSystem, coordinateSystemData, options) {
9743
- return localVarFp.addVirtualControllerCoordinateSystem(cell, controller, coordinateSystem, coordinateSystemData, options).then((request) => request(axios$204, basePath));
9814
+ return localVarFp.addVirtualControllerCoordinateSystem(cell, controller, coordinateSystem, coordinateSystemData, options).then((request) => request(axios$206, basePath));
9744
9815
  },
9745
9816
  addVirtualControllerMotionGroup(cell, controller, addVirtualControllerMotionGroupRequest, options) {
9746
- return localVarFp.addVirtualControllerMotionGroup(cell, controller, addVirtualControllerMotionGroupRequest, options).then((request) => request(axios$204, basePath));
9817
+ return localVarFp.addVirtualControllerMotionGroup(cell, controller, addVirtualControllerMotionGroupRequest, options).then((request) => request(axios$206, basePath));
9747
9818
  },
9748
9819
  addVirtualControllerSafetyZone(cell, controller, safetyZone, options) {
9749
- return localVarFp.addVirtualControllerSafetyZone(cell, controller, safetyZone, options).then((request) => request(axios$204, basePath));
9820
+ return localVarFp.addVirtualControllerSafetyZone(cell, controller, safetyZone, options).then((request) => request(axios$206, basePath));
9750
9821
  },
9751
9822
  addVirtualControllerTcp(cell, controller, motionGroup, tcp, robotTcpData, options) {
9752
- return localVarFp.addVirtualControllerTcp(cell, controller, motionGroup, tcp, robotTcpData, options).then((request) => request(axios$204, basePath));
9823
+ return localVarFp.addVirtualControllerTcp(cell, controller, motionGroup, tcp, robotTcpData, options).then((request) => request(axios$206, basePath));
9753
9824
  },
9754
9825
  deleteVirtualControllerCoordinateSystem(cell, controller, coordinateSystem, deleteDependent, options) {
9755
- return localVarFp.deleteVirtualControllerCoordinateSystem(cell, controller, coordinateSystem, deleteDependent, options).then((request) => request(axios$204, basePath));
9826
+ return localVarFp.deleteVirtualControllerCoordinateSystem(cell, controller, coordinateSystem, deleteDependent, options).then((request) => request(axios$206, basePath));
9756
9827
  },
9757
9828
  deleteVirtualControllerMotionGroup(cell, controller, motionGroup, options) {
9758
- return localVarFp.deleteVirtualControllerMotionGroup(cell, controller, motionGroup, options).then((request) => request(axios$204, basePath));
9829
+ return localVarFp.deleteVirtualControllerMotionGroup(cell, controller, motionGroup, options).then((request) => request(axios$206, basePath));
9759
9830
  },
9760
9831
  deleteVirtualControllerSafetyZone(cell, controller, id, options) {
9761
- return localVarFp.deleteVirtualControllerSafetyZone(cell, controller, id, options).then((request) => request(axios$204, basePath));
9832
+ return localVarFp.deleteVirtualControllerSafetyZone(cell, controller, id, options).then((request) => request(axios$206, basePath));
9762
9833
  },
9763
9834
  deleteVirtualControllerTcp(cell, controller, motionGroup, tcp, options) {
9764
- return localVarFp.deleteVirtualControllerTcp(cell, controller, motionGroup, tcp, options).then((request) => request(axios$204, basePath));
9835
+ return localVarFp.deleteVirtualControllerTcp(cell, controller, motionGroup, tcp, options).then((request) => request(axios$206, basePath));
9765
9836
  },
9766
9837
  getEmergencyStop(cell, controller, options) {
9767
- return localVarFp.getEmergencyStop(cell, controller, options).then((request) => request(axios$204, basePath));
9838
+ return localVarFp.getEmergencyStop(cell, controller, options).then((request) => request(axios$206, basePath));
9768
9839
  },
9769
9840
  getMotionGroupState(cell, controller, motionGroup, options) {
9770
- return localVarFp.getMotionGroupState(cell, controller, motionGroup, options).then((request) => request(axios$204, basePath));
9841
+ return localVarFp.getMotionGroupState(cell, controller, motionGroup, options).then((request) => request(axios$206, basePath));
9771
9842
  },
9772
9843
  getMotionGroups(cell, controller, options) {
9773
- return localVarFp.getMotionGroups(cell, controller, options).then((request) => request(axios$204, basePath));
9844
+ return localVarFp.getMotionGroups(cell, controller, options).then((request) => request(axios$206, basePath));
9774
9845
  },
9775
9846
  getOperationMode(cell, controller, options) {
9776
- return localVarFp.getOperationMode(cell, controller, options).then((request) => request(axios$204, basePath));
9847
+ return localVarFp.getOperationMode(cell, controller, options).then((request) => request(axios$206, basePath));
9848
+ },
9849
+ getVirtualControllerCurrentTcp(cell, controller, motionGroup, options) {
9850
+ return localVarFp.getVirtualControllerCurrentTcp(cell, controller, motionGroup, options).then((request) => request(axios$206, basePath));
9777
9851
  },
9778
9852
  getVirtualControllerMounting(cell, controller, motionGroup, options) {
9779
- return localVarFp.getVirtualControllerMounting(cell, controller, motionGroup, options).then((request) => request(axios$204, basePath));
9853
+ return localVarFp.getVirtualControllerMounting(cell, controller, motionGroup, options).then((request) => request(axios$206, basePath));
9780
9854
  },
9781
9855
  getVirtualControllerSafetyZones(cell, controller, options) {
9782
- return localVarFp.getVirtualControllerSafetyZones(cell, controller, options).then((request) => request(axios$204, basePath));
9856
+ return localVarFp.getVirtualControllerSafetyZones(cell, controller, options).then((request) => request(axios$206, basePath));
9783
9857
  },
9784
9858
  listVirtualControllerCoordinateSystems(cell, controller, options) {
9785
- return localVarFp.listVirtualControllerCoordinateSystems(cell, controller, options).then((request) => request(axios$204, basePath));
9859
+ return localVarFp.listVirtualControllerCoordinateSystems(cell, controller, options).then((request) => request(axios$206, basePath));
9786
9860
  },
9787
9861
  listVirtualControllerTcps(cell, controller, motionGroup, options) {
9788
- return localVarFp.listVirtualControllerTcps(cell, controller, motionGroup, options).then((request) => request(axios$204, basePath));
9862
+ return localVarFp.listVirtualControllerTcps(cell, controller, motionGroup, options).then((request) => request(axios$206, basePath));
9863
+ },
9864
+ selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options) {
9865
+ return localVarFp.selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options).then((request) => request(axios$206, basePath));
9789
9866
  },
9790
9867
  setEmergencyStop(cell, controller, active, options) {
9791
- return localVarFp.setEmergencyStop(cell, controller, active, options).then((request) => request(axios$204, basePath));
9868
+ return localVarFp.setEmergencyStop(cell, controller, active, options).then((request) => request(axios$206, basePath));
9792
9869
  },
9793
9870
  setMotionGroupState(cell, controller, motionGroup, motionGroupJoints, options) {
9794
- return localVarFp.setMotionGroupState(cell, controller, motionGroup, motionGroupJoints, options).then((request) => request(axios$204, basePath));
9871
+ return localVarFp.setMotionGroupState(cell, controller, motionGroup, motionGroupJoints, options).then((request) => request(axios$206, basePath));
9795
9872
  },
9796
9873
  setOperationMode(cell, controller, mode, options) {
9797
- return localVarFp.setOperationMode(cell, controller, mode, options).then((request) => request(axios$204, basePath));
9874
+ return localVarFp.setOperationMode(cell, controller, mode, options).then((request) => request(axios$206, basePath));
9798
9875
  },
9799
9876
  setVirtualControllerMounting(cell, controller, motionGroup, coordinateSystem, options) {
9800
- return localVarFp.setVirtualControllerMounting(cell, controller, motionGroup, coordinateSystem, options).then((request) => request(axios$204, basePath));
9877
+ return localVarFp.setVirtualControllerMounting(cell, controller, motionGroup, coordinateSystem, options).then((request) => request(axios$206, basePath));
9801
9878
  }
9802
9879
  };
9803
9880
  };
@@ -9952,6 +10029,18 @@ var VirtualControllerApi = class extends BaseAPI {
9952
10029
  return VirtualControllerApiFp(this.configuration).getOperationMode(cell, controller, options).then((request) => request(this.axios, this.basePath));
9953
10030
  }
9954
10031
  /**
10032
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
10033
+ * @summary Get Current TCP
10034
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
10035
+ * @param {string} controller Unique identifier to address a controller in the cell.
10036
+ * @param {string} motionGroup The motion-group identifier.
10037
+ * @param {*} [options] Override http request option.
10038
+ * @throws {RequiredError}
10039
+ */
10040
+ getVirtualControllerCurrentTcp(cell, controller, motionGroup, options) {
10041
+ return VirtualControllerApiFp(this.configuration).getVirtualControllerCurrentTcp(cell, controller, motionGroup, options).then((request) => request(this.axios, this.basePath));
10042
+ }
10043
+ /**
9955
10044
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
9956
10045
  * @summary Get Mounting
9957
10046
  * @param {string} cell Unique identifier addressing a cell in all API calls.
@@ -9998,6 +10087,19 @@ var VirtualControllerApi = class extends BaseAPI {
9998
10087
  return VirtualControllerApiFp(this.configuration).listVirtualControllerTcps(cell, controller, motionGroup, options).then((request) => request(this.axios, this.basePath));
9999
10088
  }
10000
10089
  /**
10090
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
10091
+ * @summary Select Current TCP
10092
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
10093
+ * @param {string} controller Unique identifier to address a controller in the cell.
10094
+ * @param {string} motionGroup The motion-group identifier.
10095
+ * @param {string} tcp The unique identifier of a TCP.
10096
+ * @param {*} [options] Override http request option.
10097
+ * @throws {RequiredError}
10098
+ */
10099
+ selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options) {
10100
+ return VirtualControllerApiFp(this.configuration).selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options).then((request) => request(this.axios, this.basePath));
10101
+ }
10102
+ /**
10001
10103
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
10002
10104
  * @summary Push or Release Emergency Stop
10003
10105
  * @param {string} cell Unique identifier addressing a cell in all API calls.
@@ -10181,45 +10283,45 @@ const VirtualControllerBehaviorApiFp = function(configuration) {
10181
10283
  const localVarAxiosArgs = await localVarAxiosParamCreator.externalJointsStream(cell, controller, externalJointStreamRequest, options);
10182
10284
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10183
10285
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerBehaviorApi.externalJointsStream"]?.[localVarOperationServerIndex]?.url;
10184
- return (axios$205, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$205, localVarOperationServerBasePath || basePath);
10286
+ return (axios$207, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$207, localVarOperationServerBasePath || basePath);
10185
10287
  },
10186
10288
  async getCycleTime(cell, controller, options) {
10187
10289
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCycleTime(cell, controller, options);
10188
10290
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10189
10291
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerBehaviorApi.getCycleTime"]?.[localVarOperationServerIndex]?.url;
10190
- return (axios$206, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$206, localVarOperationServerBasePath || basePath);
10292
+ return (axios$208, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$208, localVarOperationServerBasePath || basePath);
10191
10293
  },
10192
10294
  async getVirtualControllerBehavior(cell, controller, options) {
10193
10295
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVirtualControllerBehavior(cell, controller, options);
10194
10296
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10195
10297
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerBehaviorApi.getVirtualControllerBehavior"]?.[localVarOperationServerIndex]?.url;
10196
- return (axios$207, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$207, localVarOperationServerBasePath || basePath);
10298
+ return (axios$209, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$209, localVarOperationServerBasePath || basePath);
10197
10299
  },
10198
10300
  async setVirtualControllerBehavior(cell, controller, behavior, options) {
10199
10301
  const localVarAxiosArgs = await localVarAxiosParamCreator.setVirtualControllerBehavior(cell, controller, behavior, options);
10200
10302
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10201
10303
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerBehaviorApi.setVirtualControllerBehavior"]?.[localVarOperationServerIndex]?.url;
10202
- return (axios$208, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$208, localVarOperationServerBasePath || basePath);
10304
+ return (axios$210, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$210, localVarOperationServerBasePath || basePath);
10203
10305
  }
10204
10306
  };
10205
10307
  };
10206
10308
  /**
10207
10309
  * VirtualControllerBehaviorApi - factory interface
10208
10310
  */
10209
- const VirtualControllerBehaviorApiFactory = function(configuration, basePath, axios$209) {
10311
+ const VirtualControllerBehaviorApiFactory = function(configuration, basePath, axios$211) {
10210
10312
  const localVarFp = VirtualControllerBehaviorApiFp(configuration);
10211
10313
  return {
10212
10314
  externalJointsStream(cell, controller, externalJointStreamRequest, options) {
10213
- return localVarFp.externalJointsStream(cell, controller, externalJointStreamRequest, options).then((request) => request(axios$209, basePath));
10315
+ return localVarFp.externalJointsStream(cell, controller, externalJointStreamRequest, options).then((request) => request(axios$211, basePath));
10214
10316
  },
10215
10317
  getCycleTime(cell, controller, options) {
10216
- return localVarFp.getCycleTime(cell, controller, options).then((request) => request(axios$209, basePath));
10318
+ return localVarFp.getCycleTime(cell, controller, options).then((request) => request(axios$211, basePath));
10217
10319
  },
10218
10320
  getVirtualControllerBehavior(cell, controller, options) {
10219
- return localVarFp.getVirtualControllerBehavior(cell, controller, options).then((request) => request(axios$209, basePath));
10321
+ return localVarFp.getVirtualControllerBehavior(cell, controller, options).then((request) => request(axios$211, basePath));
10220
10322
  },
10221
10323
  setVirtualControllerBehavior(cell, controller, behavior, options) {
10222
- return localVarFp.setVirtualControllerBehavior(cell, controller, behavior, options).then((request) => request(axios$209, basePath));
10324
+ return localVarFp.setVirtualControllerBehavior(cell, controller, behavior, options).then((request) => request(axios$211, basePath));
10223
10325
  }
10224
10326
  };
10225
10327
  };
@@ -10384,36 +10486,36 @@ const VirtualControllerInputsOutputsApiFp = function(configuration) {
10384
10486
  const localVarAxiosArgs = await localVarAxiosParamCreator.listIOs(cell, controller, ios, options);
10385
10487
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10386
10488
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerInputsOutputsApi.listIOs"]?.[localVarOperationServerIndex]?.url;
10387
- return (axios$210, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$210, localVarOperationServerBasePath || basePath);
10489
+ return (axios$212, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$212, localVarOperationServerBasePath || basePath);
10388
10490
  },
10389
10491
  async listVirtualControllerIODescriptions(cell, controller, ios, direction, valueType, group, options) {
10390
10492
  const localVarAxiosArgs = await localVarAxiosParamCreator.listVirtualControllerIODescriptions(cell, controller, ios, direction, valueType, group, options);
10391
10493
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10392
10494
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerInputsOutputsApi.listVirtualControllerIODescriptions"]?.[localVarOperationServerIndex]?.url;
10393
- return (axios$211, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$211, localVarOperationServerBasePath || basePath);
10495
+ return (axios$213, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$213, localVarOperationServerBasePath || basePath);
10394
10496
  },
10395
10497
  async setIOValues(cell, controller, iOValue, options) {
10396
10498
  const localVarAxiosArgs = await localVarAxiosParamCreator.setIOValues(cell, controller, iOValue, options);
10397
10499
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10398
10500
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerInputsOutputsApi.setIOValues"]?.[localVarOperationServerIndex]?.url;
10399
- return (axios$212, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$212, localVarOperationServerBasePath || basePath);
10501
+ return (axios$214, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$214, localVarOperationServerBasePath || basePath);
10400
10502
  }
10401
10503
  };
10402
10504
  };
10403
10505
  /**
10404
10506
  * VirtualControllerInputsOutputsApi - factory interface
10405
10507
  */
10406
- const VirtualControllerInputsOutputsApiFactory = function(configuration, basePath, axios$213) {
10508
+ const VirtualControllerInputsOutputsApiFactory = function(configuration, basePath, axios$215) {
10407
10509
  const localVarFp = VirtualControllerInputsOutputsApiFp(configuration);
10408
10510
  return {
10409
10511
  listIOs(cell, controller, ios, options) {
10410
- return localVarFp.listIOs(cell, controller, ios, options).then((request) => request(axios$213, basePath));
10512
+ return localVarFp.listIOs(cell, controller, ios, options).then((request) => request(axios$215, basePath));
10411
10513
  },
10412
10514
  listVirtualControllerIODescriptions(cell, controller, ios, direction, valueType, group, options) {
10413
- return localVarFp.listVirtualControllerIODescriptions(cell, controller, ios, direction, valueType, group, options).then((request) => request(axios$213, basePath));
10515
+ return localVarFp.listVirtualControllerIODescriptions(cell, controller, ios, direction, valueType, group, options).then((request) => request(axios$215, basePath));
10414
10516
  },
10415
10517
  setIOValues(cell, controller, iOValue, options) {
10416
- return localVarFp.setIOValues(cell, controller, iOValue, options).then((request) => request(axios$213, basePath));
10518
+ return localVarFp.setIOValues(cell, controller, iOValue, options).then((request) => request(axios$215, basePath));
10417
10519
  }
10418
10520
  };
10419
10521
  };
@@ -13280,6 +13280,16 @@ declare const VirtualControllerApiAxiosParamCreator: (configuration?: Configurat
13280
13280
  * @throws {RequiredError}
13281
13281
  */
13282
13282
  getOperationMode: (cell: string, controller: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13283
+ /**
13284
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13285
+ * @summary Get Current TCP
13286
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13287
+ * @param {string} controller Unique identifier to address a controller in the cell.
13288
+ * @param {string} motionGroup The motion-group identifier.
13289
+ * @param {*} [options] Override http request option.
13290
+ * @throws {RequiredError}
13291
+ */
13292
+ getVirtualControllerCurrentTcp: (cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13283
13293
  /**
13284
13294
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13285
13295
  * @summary Get Mounting
@@ -13318,6 +13328,17 @@ declare const VirtualControllerApiAxiosParamCreator: (configuration?: Configurat
13318
13328
  * @throws {RequiredError}
13319
13329
  */
13320
13330
  listVirtualControllerTcps: (cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13331
+ /**
13332
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
13333
+ * @summary Select Current TCP
13334
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13335
+ * @param {string} controller Unique identifier to address a controller in the cell.
13336
+ * @param {string} motionGroup The motion-group identifier.
13337
+ * @param {string} tcp The unique identifier of a TCP.
13338
+ * @param {*} [options] Override http request option.
13339
+ * @throws {RequiredError}
13340
+ */
13341
+ selectVirtualControllerTcp: (cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13321
13342
  /**
13322
13343
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13323
13344
  * @summary Push or Release Emergency Stop
@@ -13487,6 +13508,16 @@ declare const VirtualControllerApiFp: (configuration?: Configuration) => {
13487
13508
  * @throws {RequiredError}
13488
13509
  */
13489
13510
  getOperationMode(cell: string, controller: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpMode>>;
13511
+ /**
13512
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13513
+ * @summary Get Current TCP
13514
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13515
+ * @param {string} controller Unique identifier to address a controller in the cell.
13516
+ * @param {string} motionGroup The motion-group identifier.
13517
+ * @param {*} [options] Override http request option.
13518
+ * @throws {RequiredError}
13519
+ */
13520
+ getVirtualControllerCurrentTcp(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RobotTcp>>;
13490
13521
  /**
13491
13522
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13492
13523
  * @summary Get Mounting
@@ -13525,6 +13556,17 @@ declare const VirtualControllerApiFp: (configuration?: Configuration) => {
13525
13556
  * @throws {RequiredError}
13526
13557
  */
13527
13558
  listVirtualControllerTcps(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RobotTcp>>>;
13559
+ /**
13560
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
13561
+ * @summary Select Current TCP
13562
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13563
+ * @param {string} controller Unique identifier to address a controller in the cell.
13564
+ * @param {string} motionGroup The motion-group identifier.
13565
+ * @param {string} tcp The unique identifier of a TCP.
13566
+ * @param {*} [options] Override http request option.
13567
+ * @throws {RequiredError}
13568
+ */
13569
+ selectVirtualControllerTcp(cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
13528
13570
  /**
13529
13571
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13530
13572
  * @summary Push or Release Emergency Stop
@@ -13694,6 +13736,16 @@ declare const VirtualControllerApiFactory: (configuration?: Configuration, baseP
13694
13736
  * @throws {RequiredError}
13695
13737
  */
13696
13738
  getOperationMode(cell: string, controller: string, options?: RawAxiosRequestConfig): AxiosPromise<OpMode>;
13739
+ /**
13740
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13741
+ * @summary Get Current TCP
13742
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13743
+ * @param {string} controller Unique identifier to address a controller in the cell.
13744
+ * @param {string} motionGroup The motion-group identifier.
13745
+ * @param {*} [options] Override http request option.
13746
+ * @throws {RequiredError}
13747
+ */
13748
+ getVirtualControllerCurrentTcp(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<RobotTcp>;
13697
13749
  /**
13698
13750
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13699
13751
  * @summary Get Mounting
@@ -13732,6 +13784,17 @@ declare const VirtualControllerApiFactory: (configuration?: Configuration, baseP
13732
13784
  * @throws {RequiredError}
13733
13785
  */
13734
13786
  listVirtualControllerTcps(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<RobotTcp>>;
13787
+ /**
13788
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
13789
+ * @summary Select Current TCP
13790
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13791
+ * @param {string} controller Unique identifier to address a controller in the cell.
13792
+ * @param {string} motionGroup The motion-group identifier.
13793
+ * @param {string} tcp The unique identifier of a TCP.
13794
+ * @param {*} [options] Override http request option.
13795
+ * @throws {RequiredError}
13796
+ */
13797
+ selectVirtualControllerTcp(cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
13735
13798
  /**
13736
13799
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13737
13800
  * @summary Push or Release Emergency Stop
@@ -13901,6 +13964,16 @@ declare class VirtualControllerApi extends BaseAPI {
13901
13964
  * @throws {RequiredError}
13902
13965
  */
13903
13966
  getOperationMode(cell: string, controller: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<OpMode, any, {}>>;
13967
+ /**
13968
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13969
+ * @summary Get Current TCP
13970
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13971
+ * @param {string} controller Unique identifier to address a controller in the cell.
13972
+ * @param {string} motionGroup The motion-group identifier.
13973
+ * @param {*} [options] Override http request option.
13974
+ * @throws {RequiredError}
13975
+ */
13976
+ getVirtualControllerCurrentTcp(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<RobotTcp, any, {}>>;
13904
13977
  /**
13905
13978
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13906
13979
  * @summary Get Mounting
@@ -13939,6 +14012,17 @@ declare class VirtualControllerApi extends BaseAPI {
13939
14012
  * @throws {RequiredError}
13940
14013
  */
13941
14014
  listVirtualControllerTcps(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<RobotTcp[], any, {}>>;
14015
+ /**
14016
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
14017
+ * @summary Select Current TCP
14018
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
14019
+ * @param {string} controller Unique identifier to address a controller in the cell.
14020
+ * @param {string} motionGroup The motion-group identifier.
14021
+ * @param {string} tcp The unique identifier of a TCP.
14022
+ * @param {*} [options] Override http request option.
14023
+ * @throws {RequiredError}
14024
+ */
14025
+ selectVirtualControllerTcp(cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<void, any, {}>>;
13942
14026
  /**
13943
14027
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13944
14028
  * @summary Push or Release Emergency Stop
@@ -13280,6 +13280,16 @@ declare const VirtualControllerApiAxiosParamCreator: (configuration?: Configurat
13280
13280
  * @throws {RequiredError}
13281
13281
  */
13282
13282
  getOperationMode: (cell: string, controller: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13283
+ /**
13284
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13285
+ * @summary Get Current TCP
13286
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13287
+ * @param {string} controller Unique identifier to address a controller in the cell.
13288
+ * @param {string} motionGroup The motion-group identifier.
13289
+ * @param {*} [options] Override http request option.
13290
+ * @throws {RequiredError}
13291
+ */
13292
+ getVirtualControllerCurrentTcp: (cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13283
13293
  /**
13284
13294
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13285
13295
  * @summary Get Mounting
@@ -13318,6 +13328,17 @@ declare const VirtualControllerApiAxiosParamCreator: (configuration?: Configurat
13318
13328
  * @throws {RequiredError}
13319
13329
  */
13320
13330
  listVirtualControllerTcps: (cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13331
+ /**
13332
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
13333
+ * @summary Select Current TCP
13334
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13335
+ * @param {string} controller Unique identifier to address a controller in the cell.
13336
+ * @param {string} motionGroup The motion-group identifier.
13337
+ * @param {string} tcp The unique identifier of a TCP.
13338
+ * @param {*} [options] Override http request option.
13339
+ * @throws {RequiredError}
13340
+ */
13341
+ selectVirtualControllerTcp: (cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13321
13342
  /**
13322
13343
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13323
13344
  * @summary Push or Release Emergency Stop
@@ -13487,6 +13508,16 @@ declare const VirtualControllerApiFp: (configuration?: Configuration) => {
13487
13508
  * @throws {RequiredError}
13488
13509
  */
13489
13510
  getOperationMode(cell: string, controller: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpMode>>;
13511
+ /**
13512
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13513
+ * @summary Get Current TCP
13514
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13515
+ * @param {string} controller Unique identifier to address a controller in the cell.
13516
+ * @param {string} motionGroup The motion-group identifier.
13517
+ * @param {*} [options] Override http request option.
13518
+ * @throws {RequiredError}
13519
+ */
13520
+ getVirtualControllerCurrentTcp(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RobotTcp>>;
13490
13521
  /**
13491
13522
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13492
13523
  * @summary Get Mounting
@@ -13525,6 +13556,17 @@ declare const VirtualControllerApiFp: (configuration?: Configuration) => {
13525
13556
  * @throws {RequiredError}
13526
13557
  */
13527
13558
  listVirtualControllerTcps(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RobotTcp>>>;
13559
+ /**
13560
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
13561
+ * @summary Select Current TCP
13562
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13563
+ * @param {string} controller Unique identifier to address a controller in the cell.
13564
+ * @param {string} motionGroup The motion-group identifier.
13565
+ * @param {string} tcp The unique identifier of a TCP.
13566
+ * @param {*} [options] Override http request option.
13567
+ * @throws {RequiredError}
13568
+ */
13569
+ selectVirtualControllerTcp(cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
13528
13570
  /**
13529
13571
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13530
13572
  * @summary Push or Release Emergency Stop
@@ -13694,6 +13736,16 @@ declare const VirtualControllerApiFactory: (configuration?: Configuration, baseP
13694
13736
  * @throws {RequiredError}
13695
13737
  */
13696
13738
  getOperationMode(cell: string, controller: string, options?: RawAxiosRequestConfig): AxiosPromise<OpMode>;
13739
+ /**
13740
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13741
+ * @summary Get Current TCP
13742
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13743
+ * @param {string} controller Unique identifier to address a controller in the cell.
13744
+ * @param {string} motionGroup The motion-group identifier.
13745
+ * @param {*} [options] Override http request option.
13746
+ * @throws {RequiredError}
13747
+ */
13748
+ getVirtualControllerCurrentTcp(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<RobotTcp>;
13697
13749
  /**
13698
13750
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13699
13751
  * @summary Get Mounting
@@ -13732,6 +13784,17 @@ declare const VirtualControllerApiFactory: (configuration?: Configuration, baseP
13732
13784
  * @throws {RequiredError}
13733
13785
  */
13734
13786
  listVirtualControllerTcps(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<RobotTcp>>;
13787
+ /**
13788
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
13789
+ * @summary Select Current TCP
13790
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13791
+ * @param {string} controller Unique identifier to address a controller in the cell.
13792
+ * @param {string} motionGroup The motion-group identifier.
13793
+ * @param {string} tcp The unique identifier of a TCP.
13794
+ * @param {*} [options] Override http request option.
13795
+ * @throws {RequiredError}
13796
+ */
13797
+ selectVirtualControllerTcp(cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
13735
13798
  /**
13736
13799
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13737
13800
  * @summary Push or Release Emergency Stop
@@ -13901,6 +13964,16 @@ declare class VirtualControllerApi extends BaseAPI {
13901
13964
  * @throws {RequiredError}
13902
13965
  */
13903
13966
  getOperationMode(cell: string, controller: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<OpMode, any, {}>>;
13967
+ /**
13968
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
13969
+ * @summary Get Current TCP
13970
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
13971
+ * @param {string} controller Unique identifier to address a controller in the cell.
13972
+ * @param {string} motionGroup The motion-group identifier.
13973
+ * @param {*} [options] Override http request option.
13974
+ * @throws {RequiredError}
13975
+ */
13976
+ getVirtualControllerCurrentTcp(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<RobotTcp, any, {}>>;
13904
13977
  /**
13905
13978
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
13906
13979
  * @summary Get Mounting
@@ -13939,6 +14012,17 @@ declare class VirtualControllerApi extends BaseAPI {
13939
14012
  * @throws {RequiredError}
13940
14013
  */
13941
14014
  listVirtualControllerTcps(cell: string, controller: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<RobotTcp[], any, {}>>;
14015
+ /**
14016
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
14017
+ * @summary Select Current TCP
14018
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
14019
+ * @param {string} controller Unique identifier to address a controller in the cell.
14020
+ * @param {string} motionGroup The motion-group identifier.
14021
+ * @param {string} tcp The unique identifier of a TCP.
14022
+ * @param {*} [options] Override http request option.
14023
+ * @throws {RequiredError}
14024
+ */
14025
+ selectVirtualControllerTcp(cell: string, controller: string, motionGroup: string, tcp: string, options?: RawAxiosRequestConfig): Promise<_$axios.AxiosResponse<void, any, {}>>;
13942
14026
  /**
13943
14027
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
13944
14028
  * @summary Push or Release Emergency Stop
package/dist/v2/index.js CHANGED
@@ -9342,6 +9342,35 @@ const VirtualControllerApiAxiosParamCreator = function(configuration) {
9342
9342
  options: localVarRequestOptions
9343
9343
  };
9344
9344
  },
9345
+ getVirtualControllerCurrentTcp: async (cell, controller, motionGroup, options = {}) => {
9346
+ assertParamExists("getVirtualControllerCurrentTcp", "cell", cell);
9347
+ assertParamExists("getVirtualControllerCurrentTcp", "controller", controller);
9348
+ assertParamExists("getVirtualControllerCurrentTcp", "motionGroup", motionGroup);
9349
+ const localVarPath = `/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/current-tcp`.replace("{cell}", encodeURIComponent(String(cell))).replace("{controller}", encodeURIComponent(String(controller))).replace("{motion-group}", encodeURIComponent(String(motionGroup)));
9350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9351
+ let baseOptions;
9352
+ if (configuration) baseOptions = configuration.baseOptions;
9353
+ const localVarRequestOptions = {
9354
+ method: "GET",
9355
+ ...baseOptions,
9356
+ ...options
9357
+ };
9358
+ const localVarHeaderParameter = {};
9359
+ const localVarQueryParameter = {};
9360
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9361
+ localVarHeaderParameter["Accept"] = "application/json";
9362
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9363
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9364
+ localVarRequestOptions.headers = {
9365
+ ...localVarHeaderParameter,
9366
+ ...headersFromBaseOptions,
9367
+ ...options.headers
9368
+ };
9369
+ return {
9370
+ url: toPathString(localVarUrlObj),
9371
+ options: localVarRequestOptions
9372
+ };
9373
+ },
9345
9374
  getVirtualControllerMounting: async (cell, controller, motionGroup, options = {}) => {
9346
9375
  assertParamExists("getVirtualControllerMounting", "cell", cell);
9347
9376
  assertParamExists("getVirtualControllerMounting", "controller", controller);
@@ -9456,6 +9485,36 @@ const VirtualControllerApiAxiosParamCreator = function(configuration) {
9456
9485
  options: localVarRequestOptions
9457
9486
  };
9458
9487
  },
9488
+ selectVirtualControllerTcp: async (cell, controller, motionGroup, tcp, options = {}) => {
9489
+ assertParamExists("selectVirtualControllerTcp", "cell", cell);
9490
+ assertParamExists("selectVirtualControllerTcp", "controller", controller);
9491
+ assertParamExists("selectVirtualControllerTcp", "motionGroup", motionGroup);
9492
+ assertParamExists("selectVirtualControllerTcp", "tcp", tcp);
9493
+ const localVarPath = `/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps/{tcp}/select`.replace("{cell}", encodeURIComponent(String(cell))).replace("{controller}", encodeURIComponent(String(controller))).replace("{motion-group}", encodeURIComponent(String(motionGroup))).replace("{tcp}", encodeURIComponent(String(tcp)));
9494
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9495
+ let baseOptions;
9496
+ if (configuration) baseOptions = configuration.baseOptions;
9497
+ const localVarRequestOptions = {
9498
+ method: "POST",
9499
+ ...baseOptions,
9500
+ ...options
9501
+ };
9502
+ const localVarHeaderParameter = {};
9503
+ const localVarQueryParameter = {};
9504
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
9505
+ localVarHeaderParameter["Accept"] = "application/json";
9506
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9507
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9508
+ localVarRequestOptions.headers = {
9509
+ ...localVarHeaderParameter,
9510
+ ...headersFromBaseOptions,
9511
+ ...options.headers
9512
+ };
9513
+ return {
9514
+ url: toPathString(localVarUrlObj),
9515
+ options: localVarRequestOptions
9516
+ };
9517
+ },
9459
9518
  setEmergencyStop: async (cell, controller, active, options = {}) => {
9460
9519
  assertParamExists("setEmergencyStop", "cell", cell);
9461
9520
  assertParamExists("setEmergencyStop", "controller", controller);
@@ -9659,6 +9718,12 @@ const VirtualControllerApiFp = function(configuration) {
9659
9718
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.getOperationMode"]?.[localVarOperationServerIndex]?.url;
9660
9719
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9661
9720
  },
9721
+ async getVirtualControllerCurrentTcp(cell, controller, motionGroup, options) {
9722
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVirtualControllerCurrentTcp(cell, controller, motionGroup, options);
9723
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9724
+ const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.getVirtualControllerCurrentTcp"]?.[localVarOperationServerIndex]?.url;
9725
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9726
+ },
9662
9727
  async getVirtualControllerMounting(cell, controller, motionGroup, options) {
9663
9728
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVirtualControllerMounting(cell, controller, motionGroup, options);
9664
9729
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -9683,6 +9748,12 @@ const VirtualControllerApiFp = function(configuration) {
9683
9748
  const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.listVirtualControllerTcps"]?.[localVarOperationServerIndex]?.url;
9684
9749
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9685
9750
  },
9751
+ async selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options) {
9752
+ const localVarAxiosArgs = await localVarAxiosParamCreator.selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options);
9753
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9754
+ const localVarOperationServerBasePath = operationServerMap["VirtualControllerApi.selectVirtualControllerTcp"]?.[localVarOperationServerIndex]?.url;
9755
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9756
+ },
9686
9757
  async setEmergencyStop(cell, controller, active, options) {
9687
9758
  const localVarAxiosArgs = await localVarAxiosParamCreator.setEmergencyStop(cell, controller, active, options);
9688
9759
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -9751,6 +9822,9 @@ const VirtualControllerApiFactory = function(configuration, basePath, axios) {
9751
9822
  getOperationMode(cell, controller, options) {
9752
9823
  return localVarFp.getOperationMode(cell, controller, options).then((request) => request(axios, basePath));
9753
9824
  },
9825
+ getVirtualControllerCurrentTcp(cell, controller, motionGroup, options) {
9826
+ return localVarFp.getVirtualControllerCurrentTcp(cell, controller, motionGroup, options).then((request) => request(axios, basePath));
9827
+ },
9754
9828
  getVirtualControllerMounting(cell, controller, motionGroup, options) {
9755
9829
  return localVarFp.getVirtualControllerMounting(cell, controller, motionGroup, options).then((request) => request(axios, basePath));
9756
9830
  },
@@ -9763,6 +9837,9 @@ const VirtualControllerApiFactory = function(configuration, basePath, axios) {
9763
9837
  listVirtualControllerTcps(cell, controller, motionGroup, options) {
9764
9838
  return localVarFp.listVirtualControllerTcps(cell, controller, motionGroup, options).then((request) => request(axios, basePath));
9765
9839
  },
9840
+ selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options) {
9841
+ return localVarFp.selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options).then((request) => request(axios, basePath));
9842
+ },
9766
9843
  setEmergencyStop(cell, controller, active, options) {
9767
9844
  return localVarFp.setEmergencyStop(cell, controller, active, options).then((request) => request(axios, basePath));
9768
9845
  },
@@ -9928,6 +10005,18 @@ var VirtualControllerApi = class extends BaseAPI {
9928
10005
  return VirtualControllerApiFp(this.configuration).getOperationMode(cell, controller, options).then((request) => request(this.axios, this.basePath));
9929
10006
  }
9930
10007
  /**
10008
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets the TCP that is currently selected on the motion group of the virtual robot controller. If no TCP is selected, the request fails with 404.
10009
+ * @summary Get Current TCP
10010
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
10011
+ * @param {string} controller Unique identifier to address a controller in the cell.
10012
+ * @param {string} motionGroup The motion-group identifier.
10013
+ * @param {*} [options] Override http request option.
10014
+ * @throws {RequiredError}
10015
+ */
10016
+ getVirtualControllerCurrentTcp(cell, controller, motionGroup, options) {
10017
+ return VirtualControllerApiFp(this.configuration).getVirtualControllerCurrentTcp(cell, controller, motionGroup, options).then((request) => request(this.axios, this.basePath));
10018
+ }
10019
+ /**
9931
10020
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Gets motion group mounting. The motion group is based on the origin of the returned coordinate system.
9932
10021
  * @summary Get Mounting
9933
10022
  * @param {string} cell Unique identifier addressing a cell in all API calls.
@@ -9974,6 +10063,19 @@ var VirtualControllerApi = class extends BaseAPI {
9974
10063
  return VirtualControllerApiFp(this.configuration).listVirtualControllerTcps(cell, controller, motionGroup, options).then((request) => request(this.axios, this.basePath));
9975
10064
  }
9976
10065
  /**
10066
+ * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Selects an existing TCP as the current TCP of the motion group, like selecting another tool on the teach pendant of a physical robot controller. If a flange payload with the same identifier as the TCP exists, it becomes the current flange payload as well. Otherwise, the current flange payload is not changed. The TCP must already exist on the motion group; use [addVirtualControllerTcp](#/operations/addVirtualControllerTcp) to add it first. Unlike adding or removing a TCP, selecting a TCP does not restart the virtual robot. <!-- theme: info --> > #### NOTE > > Clients connected to the virtual robot controller are **not notified** about the change. > They observe the new TCP the next time they read the current TCP from the controller.
10067
+ * @summary Select Current TCP
10068
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
10069
+ * @param {string} controller Unique identifier to address a controller in the cell.
10070
+ * @param {string} motionGroup The motion-group identifier.
10071
+ * @param {string} tcp The unique identifier of a TCP.
10072
+ * @param {*} [options] Override http request option.
10073
+ * @throws {RequiredError}
10074
+ */
10075
+ selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options) {
10076
+ return VirtualControllerApiFp(this.configuration).selectVirtualControllerTcp(cell, controller, motionGroup, tcp, options).then((request) => request(this.axios, this.basePath));
10077
+ }
10078
+ /**
9977
10079
  * **Required permissions:** `can_operate_virtual_controllers` - Operate and configure virtual controllers ___ Activates or releases the Emergency Stop on the virtual robot controller. Activating the Emergency Stop stops the execution of all motions. The stop is executed on physical controllers immediately not gracefully and not on paths. Due to restricted physical behavior of the virtual robot controller, the Emergency Stop is executed on paths. To return to normal operation the Emergency Stop needs to be released. Use [getCurrentMotionGroupState](#/operations/getCurrentMotionGroupState) to get the Emergency Stop state with `safety_state` regardless of the controller type. > **NOTE** > > The Emergency Stop state can only be changed via API when using virtual robot controllers.
9978
10080
  * @summary Push or Release Emergency Stop
9979
10081
  * @param {string} cell Unique identifier addressing a cell in all API calls.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/nova-api",
3
- "version": "26.9.0-dev.134",
3
+ "version": "26.9.0-dev.136",
4
4
  "description": "API Client to interact with Wandelbots Public API.",
5
5
  "type": "module",
6
6
  "files": [