@wandelbots/nova-api 25.6.0-dev.37 → 25.6.0-dev.39

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.
Files changed (5) hide show
  1. package/package.json +1 -1
  2. package/v2/api.d.ts +102 -209
  3. package/v2/api.js +179 -401
  4. package/v2/api.js.map +1 -1
  5. package/v2/api.ts +200 -448
package/v2/api.ts CHANGED
@@ -5520,293 +5520,6 @@ export class ApplicationApi extends BaseAPI {
5520
5520
 
5521
5521
 
5522
5522
 
5523
- /**
5524
- * BusIOsApi - axios parameter creator
5525
- * @export
5526
- */
5527
- export const BusIOsApiAxiosParamCreator = function (configuration?: Configuration) {
5528
- return {
5529
- /**
5530
- * Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
5531
- * @summary Get Input/Output Values
5532
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5533
- * @param {Array<string>} [ios]
5534
- * @param {*} [options] Override http request option.
5535
- * @throws {RequiredError}
5536
- */
5537
- getBusIOValues: async (cell: string, ios?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5538
- // verify required parameter 'cell' is not null or undefined
5539
- assertParamExists('getBusIOValues', 'cell', cell)
5540
- const localVarPath = `/cells/{cell}/bus-ios/ios/values`
5541
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
5542
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5543
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5544
- let baseOptions;
5545
- if (configuration) {
5546
- baseOptions = configuration.baseOptions;
5547
- }
5548
-
5549
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5550
- const localVarHeaderParameter = {} as any;
5551
- const localVarQueryParameter = {} as any;
5552
-
5553
- // authentication BasicAuth required
5554
- // http basic authentication required
5555
- setBasicAuthToObject(localVarRequestOptions, configuration)
5556
-
5557
- // authentication BearerAuth required
5558
- // http bearer authentication required
5559
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
5560
-
5561
- if (ios) {
5562
- localVarQueryParameter['ios'] = ios;
5563
- }
5564
-
5565
-
5566
-
5567
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5568
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5569
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5570
-
5571
- return {
5572
- url: toPathString(localVarUrlObj),
5573
- options: localVarRequestOptions,
5574
- };
5575
- },
5576
- /**
5577
- * List all Bus Input/Outputs.
5578
- * @summary Configuration
5579
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5580
- * @param {*} [options] Override http request option.
5581
- * @throws {RequiredError}
5582
- */
5583
- listBusIODescriptions: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5584
- // verify required parameter 'cell' is not null or undefined
5585
- assertParamExists('listBusIODescriptions', 'cell', cell)
5586
- const localVarPath = `/cells/{cell}/bus-ios/ios/description`
5587
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
5588
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5589
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5590
- let baseOptions;
5591
- if (configuration) {
5592
- baseOptions = configuration.baseOptions;
5593
- }
5594
-
5595
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5596
- const localVarHeaderParameter = {} as any;
5597
- const localVarQueryParameter = {} as any;
5598
-
5599
- // authentication BasicAuth required
5600
- // http basic authentication required
5601
- setBasicAuthToObject(localVarRequestOptions, configuration)
5602
-
5603
- // authentication BearerAuth required
5604
- // http bearer authentication required
5605
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
5606
-
5607
-
5608
-
5609
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5610
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5611
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5612
-
5613
- return {
5614
- url: toPathString(localVarUrlObj),
5615
- options: localVarRequestOptions,
5616
- };
5617
- },
5618
- /**
5619
- * Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
5620
- * @summary Set Output Values
5621
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5622
- * @param {Array<IOValue>} iOValue
5623
- * @param {*} [options] Override http request option.
5624
- * @throws {RequiredError}
5625
- */
5626
- setBusIOValues: async (cell: string, iOValue: Array<IOValue>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5627
- // verify required parameter 'cell' is not null or undefined
5628
- assertParamExists('setBusIOValues', 'cell', cell)
5629
- // verify required parameter 'iOValue' is not null or undefined
5630
- assertParamExists('setBusIOValues', 'iOValue', iOValue)
5631
- const localVarPath = `/cells/{cell}/bus-ios/ios/values`
5632
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
5633
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5634
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5635
- let baseOptions;
5636
- if (configuration) {
5637
- baseOptions = configuration.baseOptions;
5638
- }
5639
-
5640
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5641
- const localVarHeaderParameter = {} as any;
5642
- const localVarQueryParameter = {} as any;
5643
-
5644
- // authentication BasicAuth required
5645
- // http basic authentication required
5646
- setBasicAuthToObject(localVarRequestOptions, configuration)
5647
-
5648
- // authentication BearerAuth required
5649
- // http bearer authentication required
5650
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
5651
-
5652
-
5653
-
5654
- localVarHeaderParameter['Content-Type'] = 'application/json';
5655
-
5656
- setSearchParams(localVarUrlObj, localVarQueryParameter);
5657
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5658
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5659
- localVarRequestOptions.data = serializeDataIfNeeded(iOValue, localVarRequestOptions, configuration)
5660
-
5661
- return {
5662
- url: toPathString(localVarUrlObj),
5663
- options: localVarRequestOptions,
5664
- };
5665
- },
5666
- }
5667
- };
5668
-
5669
- /**
5670
- * BusIOsApi - functional programming interface
5671
- * @export
5672
- */
5673
- export const BusIOsApiFp = function(configuration?: Configuration) {
5674
- const localVarAxiosParamCreator = BusIOsApiAxiosParamCreator(configuration)
5675
- return {
5676
- /**
5677
- * Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
5678
- * @summary Get Input/Output Values
5679
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5680
- * @param {Array<string>} [ios]
5681
- * @param {*} [options] Override http request option.
5682
- * @throws {RequiredError}
5683
- */
5684
- async getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IOValue>>> {
5685
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBusIOValues(cell, ios, options);
5686
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5687
- const localVarOperationServerBasePath = operationServerMap['BusIOsApi.getBusIOValues']?.[localVarOperationServerIndex]?.url;
5688
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5689
- },
5690
- /**
5691
- * List all Bus Input/Outputs.
5692
- * @summary Configuration
5693
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5694
- * @param {*} [options] Override http request option.
5695
- * @throws {RequiredError}
5696
- */
5697
- async listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IODescription>>> {
5698
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBusIODescriptions(cell, options);
5699
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5700
- const localVarOperationServerBasePath = operationServerMap['BusIOsApi.listBusIODescriptions']?.[localVarOperationServerIndex]?.url;
5701
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5702
- },
5703
- /**
5704
- * Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
5705
- * @summary Set Output Values
5706
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5707
- * @param {Array<IOValue>} iOValue
5708
- * @param {*} [options] Override http request option.
5709
- * @throws {RequiredError}
5710
- */
5711
- async setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
5712
- const localVarAxiosArgs = await localVarAxiosParamCreator.setBusIOValues(cell, iOValue, options);
5713
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5714
- const localVarOperationServerBasePath = operationServerMap['BusIOsApi.setBusIOValues']?.[localVarOperationServerIndex]?.url;
5715
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5716
- },
5717
- }
5718
- };
5719
-
5720
- /**
5721
- * BusIOsApi - factory interface
5722
- * @export
5723
- */
5724
- export const BusIOsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
5725
- const localVarFp = BusIOsApiFp(configuration)
5726
- return {
5727
- /**
5728
- * Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
5729
- * @summary Get Input/Output Values
5730
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5731
- * @param {Array<string>} [ios]
5732
- * @param {*} [options] Override http request option.
5733
- * @throws {RequiredError}
5734
- */
5735
- getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<IOValue>> {
5736
- return localVarFp.getBusIOValues(cell, ios, options).then((request) => request(axios, basePath));
5737
- },
5738
- /**
5739
- * List all Bus Input/Outputs.
5740
- * @summary Configuration
5741
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5742
- * @param {*} [options] Override http request option.
5743
- * @throws {RequiredError}
5744
- */
5745
- listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<IODescription>> {
5746
- return localVarFp.listBusIODescriptions(cell, options).then((request) => request(axios, basePath));
5747
- },
5748
- /**
5749
- * Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
5750
- * @summary Set Output Values
5751
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5752
- * @param {Array<IOValue>} iOValue
5753
- * @param {*} [options] Override http request option.
5754
- * @throws {RequiredError}
5755
- */
5756
- setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
5757
- return localVarFp.setBusIOValues(cell, iOValue, options).then((request) => request(axios, basePath));
5758
- },
5759
- };
5760
- };
5761
-
5762
- /**
5763
- * BusIOsApi - object-oriented interface
5764
- * @export
5765
- * @class BusIOsApi
5766
- * @extends {BaseAPI}
5767
- */
5768
- export class BusIOsApi extends BaseAPI {
5769
- /**
5770
- * Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
5771
- * @summary Get Input/Output Values
5772
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5773
- * @param {Array<string>} [ios]
5774
- * @param {*} [options] Override http request option.
5775
- * @throws {RequiredError}
5776
- * @memberof BusIOsApi
5777
- */
5778
- public getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig) {
5779
- return BusIOsApiFp(this.configuration).getBusIOValues(cell, ios, options).then((request) => request(this.axios, this.basePath));
5780
- }
5781
-
5782
- /**
5783
- * List all Bus Input/Outputs.
5784
- * @summary Configuration
5785
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5786
- * @param {*} [options] Override http request option.
5787
- * @throws {RequiredError}
5788
- * @memberof BusIOsApi
5789
- */
5790
- public listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig) {
5791
- return BusIOsApiFp(this.configuration).listBusIODescriptions(cell, options).then((request) => request(this.axios, this.basePath));
5792
- }
5793
-
5794
- /**
5795
- * Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
5796
- * @summary Set Output Values
5797
- * @param {string} cell Unique identifier addressing a cell in all API calls.
5798
- * @param {Array<IOValue>} iOValue
5799
- * @param {*} [options] Override http request option.
5800
- * @throws {RequiredError}
5801
- * @memberof BusIOsApi
5802
- */
5803
- public setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig) {
5804
- return BusIOsApiFp(this.configuration).setBusIOValues(cell, iOValue, options).then((request) => request(this.axios, this.basePath));
5805
- }
5806
- }
5807
-
5808
-
5809
-
5810
5523
  /**
5811
5524
  * CellApi - axios parameter creator
5812
5525
  * @export
@@ -9132,6 +8845,206 @@ export class MotionGroupApi extends BaseAPI {
9132
8845
 
9133
8846
 
9134
8847
 
8848
+ /**
8849
+ * MotionGroupModelsApi - axios parameter creator
8850
+ * @export
8851
+ */
8852
+ export const MotionGroupModelsApiAxiosParamCreator = function (configuration?: Configuration) {
8853
+ return {
8854
+ /**
8855
+ * Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
8856
+ * @summary Get Collision Model
8857
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8858
+ * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
8859
+ * @param {*} [options] Override http request option.
8860
+ * @throws {RequiredError}
8861
+ */
8862
+ getMotionGroupCollisionModel: async (cell: string, motionGroupModel: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8863
+ // verify required parameter 'cell' is not null or undefined
8864
+ assertParamExists('getMotionGroupCollisionModel', 'cell', cell)
8865
+ // verify required parameter 'motionGroupModel' is not null or undefined
8866
+ assertParamExists('getMotionGroupCollisionModel', 'motionGroupModel', motionGroupModel)
8867
+ const localVarPath = `/cells/{cell}/motion-group-models/{motion-group-model}/collision-model`
8868
+ .replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
8869
+ .replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
8870
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8871
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8872
+ let baseOptions;
8873
+ if (configuration) {
8874
+ baseOptions = configuration.baseOptions;
8875
+ }
8876
+
8877
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8878
+ const localVarHeaderParameter = {} as any;
8879
+ const localVarQueryParameter = {} as any;
8880
+
8881
+ // authentication BasicAuth required
8882
+ // http basic authentication required
8883
+ setBasicAuthToObject(localVarRequestOptions, configuration)
8884
+
8885
+ // authentication BearerAuth required
8886
+ // http bearer authentication required
8887
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8888
+
8889
+
8890
+
8891
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8892
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8893
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8894
+
8895
+ return {
8896
+ url: toPathString(localVarUrlObj),
8897
+ options: localVarRequestOptions,
8898
+ };
8899
+ },
8900
+ /**
8901
+ * Returns motion group models that are supported for planning.
8902
+ * @summary Motion Group Models
8903
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8904
+ * @param {*} [options] Override http request option.
8905
+ * @throws {RequiredError}
8906
+ */
8907
+ getMotionGroupModels: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8908
+ // verify required parameter 'cell' is not null or undefined
8909
+ assertParamExists('getMotionGroupModels', 'cell', cell)
8910
+ const localVarPath = `/cells/{cell}/motion-group-models`
8911
+ .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
8912
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8913
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8914
+ let baseOptions;
8915
+ if (configuration) {
8916
+ baseOptions = configuration.baseOptions;
8917
+ }
8918
+
8919
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8920
+ const localVarHeaderParameter = {} as any;
8921
+ const localVarQueryParameter = {} as any;
8922
+
8923
+ // authentication BasicAuth required
8924
+ // http basic authentication required
8925
+ setBasicAuthToObject(localVarRequestOptions, configuration)
8926
+
8927
+ // authentication BearerAuth required
8928
+ // http bearer authentication required
8929
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8930
+
8931
+
8932
+
8933
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8934
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8935
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8936
+
8937
+ return {
8938
+ url: toPathString(localVarUrlObj),
8939
+ options: localVarRequestOptions,
8940
+ };
8941
+ },
8942
+ }
8943
+ };
8944
+
8945
+ /**
8946
+ * MotionGroupModelsApi - functional programming interface
8947
+ * @export
8948
+ */
8949
+ export const MotionGroupModelsApiFp = function(configuration?: Configuration) {
8950
+ const localVarAxiosParamCreator = MotionGroupModelsApiAxiosParamCreator(configuration)
8951
+ return {
8952
+ /**
8953
+ * Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
8954
+ * @summary Get Collision Model
8955
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8956
+ * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
8957
+ * @param {*} [options] Override http request option.
8958
+ * @throws {RequiredError}
8959
+ */
8960
+ async getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{ [key: string]: Collider; }>>> {
8961
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupCollisionModel(cell, motionGroupModel, options);
8962
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8963
+ const localVarOperationServerBasePath = operationServerMap['MotionGroupModelsApi.getMotionGroupCollisionModel']?.[localVarOperationServerIndex]?.url;
8964
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8965
+ },
8966
+ /**
8967
+ * Returns motion group models that are supported for planning.
8968
+ * @summary Motion Group Models
8969
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8970
+ * @param {*} [options] Override http request option.
8971
+ * @throws {RequiredError}
8972
+ */
8973
+ async getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
8974
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(cell, options);
8975
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8976
+ const localVarOperationServerBasePath = operationServerMap['MotionGroupModelsApi.getMotionGroupModels']?.[localVarOperationServerIndex]?.url;
8977
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8978
+ },
8979
+ }
8980
+ };
8981
+
8982
+ /**
8983
+ * MotionGroupModelsApi - factory interface
8984
+ * @export
8985
+ */
8986
+ export const MotionGroupModelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
8987
+ const localVarFp = MotionGroupModelsApiFp(configuration)
8988
+ return {
8989
+ /**
8990
+ * Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
8991
+ * @summary Get Collision Model
8992
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
8993
+ * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
8994
+ * @param {*} [options] Override http request option.
8995
+ * @throws {RequiredError}
8996
+ */
8997
+ getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
8998
+ return localVarFp.getMotionGroupCollisionModel(cell, motionGroupModel, options).then((request) => request(axios, basePath));
8999
+ },
9000
+ /**
9001
+ * Returns motion group models that are supported for planning.
9002
+ * @summary Motion Group Models
9003
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
9004
+ * @param {*} [options] Override http request option.
9005
+ * @throws {RequiredError}
9006
+ */
9007
+ getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
9008
+ return localVarFp.getMotionGroupModels(cell, options).then((request) => request(axios, basePath));
9009
+ },
9010
+ };
9011
+ };
9012
+
9013
+ /**
9014
+ * MotionGroupModelsApi - object-oriented interface
9015
+ * @export
9016
+ * @class MotionGroupModelsApi
9017
+ * @extends {BaseAPI}
9018
+ */
9019
+ export class MotionGroupModelsApi extends BaseAPI {
9020
+ /**
9021
+ * Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
9022
+ * @summary Get Collision Model
9023
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
9024
+ * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
9025
+ * @param {*} [options] Override http request option.
9026
+ * @throws {RequiredError}
9027
+ * @memberof MotionGroupModelsApi
9028
+ */
9029
+ public getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig) {
9030
+ return MotionGroupModelsApiFp(this.configuration).getMotionGroupCollisionModel(cell, motionGroupModel, options).then((request) => request(this.axios, this.basePath));
9031
+ }
9032
+
9033
+ /**
9034
+ * Returns motion group models that are supported for planning.
9035
+ * @summary Motion Group Models
9036
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
9037
+ * @param {*} [options] Override http request option.
9038
+ * @throws {RequiredError}
9039
+ * @memberof MotionGroupModelsApi
9040
+ */
9041
+ public getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig) {
9042
+ return MotionGroupModelsApiFp(this.configuration).getMotionGroupModels(cell, options).then((request) => request(this.axios, this.basePath));
9043
+ }
9044
+ }
9045
+
9046
+
9047
+
9135
9048
  /**
9136
9049
  * ProgramApi - axios parameter creator
9137
9050
  * @export
@@ -13436,94 +13349,6 @@ export class TrajectoryExecutionApi extends BaseAPI {
13436
13349
  */
13437
13350
  export const TrajectoryPlanningApiAxiosParamCreator = function (configuration?: Configuration) {
13438
13351
  return {
13439
- /**
13440
- * Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
13441
- * @summary Get Default Link Chain
13442
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13443
- * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
13444
- * @param {*} [options] Override http request option.
13445
- * @throws {RequiredError}
13446
- */
13447
- getDefaultLinkChain: async (cell: string, motionGroupModel: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13448
- // verify required parameter 'cell' is not null or undefined
13449
- assertParamExists('getDefaultLinkChain', 'cell', cell)
13450
- // verify required parameter 'motionGroupModel' is not null or undefined
13451
- assertParamExists('getDefaultLinkChain', 'motionGroupModel', motionGroupModel)
13452
- const localVarPath = `/cells/{cell}/store/collision/default-link-chains/{motion-group-model}`
13453
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
13454
- .replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
13455
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
13456
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13457
- let baseOptions;
13458
- if (configuration) {
13459
- baseOptions = configuration.baseOptions;
13460
- }
13461
-
13462
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13463
- const localVarHeaderParameter = {} as any;
13464
- const localVarQueryParameter = {} as any;
13465
-
13466
- // authentication BasicAuth required
13467
- // http basic authentication required
13468
- setBasicAuthToObject(localVarRequestOptions, configuration)
13469
-
13470
- // authentication BearerAuth required
13471
- // http bearer authentication required
13472
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
13473
-
13474
-
13475
-
13476
- setSearchParams(localVarUrlObj, localVarQueryParameter);
13477
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13478
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13479
-
13480
- return {
13481
- url: toPathString(localVarUrlObj),
13482
- options: localVarRequestOptions,
13483
- };
13484
- },
13485
- /**
13486
- * Returns motion group models that are supported for planning.
13487
- * @summary Motion Group Models for Planning
13488
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13489
- * @param {*} [options] Override http request option.
13490
- * @throws {RequiredError}
13491
- */
13492
- getMotionGroupModelsForPlanning: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13493
- // verify required parameter 'cell' is not null or undefined
13494
- assertParamExists('getMotionGroupModelsForPlanning', 'cell', cell)
13495
- const localVarPath = `/cells/{cell}/motion-planning/motion-group-models`
13496
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
13497
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
13498
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13499
- let baseOptions;
13500
- if (configuration) {
13501
- baseOptions = configuration.baseOptions;
13502
- }
13503
-
13504
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13505
- const localVarHeaderParameter = {} as any;
13506
- const localVarQueryParameter = {} as any;
13507
-
13508
- // authentication BasicAuth required
13509
- // http basic authentication required
13510
- setBasicAuthToObject(localVarRequestOptions, configuration)
13511
-
13512
- // authentication BearerAuth required
13513
- // http bearer authentication required
13514
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
13515
-
13516
-
13517
-
13518
- setSearchParams(localVarUrlObj, localVarQueryParameter);
13519
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13520
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13521
-
13522
- return {
13523
- url: toPathString(localVarUrlObj),
13524
- options: localVarRequestOptions,
13525
- };
13526
- },
13527
13352
  /**
13528
13353
  * Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
13529
13354
  * @summary Plan Trajectory
@@ -13580,33 +13405,6 @@ export const TrajectoryPlanningApiAxiosParamCreator = function (configuration?:
13580
13405
  export const TrajectoryPlanningApiFp = function(configuration?: Configuration) {
13581
13406
  const localVarAxiosParamCreator = TrajectoryPlanningApiAxiosParamCreator(configuration)
13582
13407
  return {
13583
- /**
13584
- * Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
13585
- * @summary Get Default Link Chain
13586
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13587
- * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
13588
- * @param {*} [options] Override http request option.
13589
- * @throws {RequiredError}
13590
- */
13591
- async getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{ [key: string]: Collider; }>>> {
13592
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultLinkChain(cell, motionGroupModel, options);
13593
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13594
- const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getDefaultLinkChain']?.[localVarOperationServerIndex]?.url;
13595
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13596
- },
13597
- /**
13598
- * Returns motion group models that are supported for planning.
13599
- * @summary Motion Group Models for Planning
13600
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13601
- * @param {*} [options] Override http request option.
13602
- * @throws {RequiredError}
13603
- */
13604
- async getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
13605
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModelsForPlanning(cell, options);
13606
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13607
- const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getMotionGroupModelsForPlanning']?.[localVarOperationServerIndex]?.url;
13608
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13609
- },
13610
13408
  /**
13611
13409
  * Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
13612
13410
  * @summary Plan Trajectory
@@ -13631,27 +13429,6 @@ export const TrajectoryPlanningApiFp = function(configuration?: Configuration) {
13631
13429
  export const TrajectoryPlanningApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
13632
13430
  const localVarFp = TrajectoryPlanningApiFp(configuration)
13633
13431
  return {
13634
- /**
13635
- * Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
13636
- * @summary Get Default Link Chain
13637
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13638
- * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
13639
- * @param {*} [options] Override http request option.
13640
- * @throws {RequiredError}
13641
- */
13642
- getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
13643
- return localVarFp.getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(axios, basePath));
13644
- },
13645
- /**
13646
- * Returns motion group models that are supported for planning.
13647
- * @summary Motion Group Models for Planning
13648
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13649
- * @param {*} [options] Override http request option.
13650
- * @throws {RequiredError}
13651
- */
13652
- getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
13653
- return localVarFp.getMotionGroupModelsForPlanning(cell, options).then((request) => request(axios, basePath));
13654
- },
13655
13432
  /**
13656
13433
  * Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
13657
13434
  * @summary Plan Trajectory
@@ -13673,31 +13450,6 @@ export const TrajectoryPlanningApiFactory = function (configuration?: Configurat
13673
13450
  * @extends {BaseAPI}
13674
13451
  */
13675
13452
  export class TrajectoryPlanningApi extends BaseAPI {
13676
- /**
13677
- * Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
13678
- * @summary Get Default Link Chain
13679
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13680
- * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g. &#x60;UniversalRobots_UR10e&#x60;. Get the &#x60;model&#x60; of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
13681
- * @param {*} [options] Override http request option.
13682
- * @throws {RequiredError}
13683
- * @memberof TrajectoryPlanningApi
13684
- */
13685
- public getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig) {
13686
- return TrajectoryPlanningApiFp(this.configuration).getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(this.axios, this.basePath));
13687
- }
13688
-
13689
- /**
13690
- * Returns motion group models that are supported for planning.
13691
- * @summary Motion Group Models for Planning
13692
- * @param {string} cell Unique identifier addressing a cell in all API calls.
13693
- * @param {*} [options] Override http request option.
13694
- * @throws {RequiredError}
13695
- * @memberof TrajectoryPlanningApi
13696
- */
13697
- public getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig) {
13698
- return TrajectoryPlanningApiFp(this.configuration).getMotionGroupModelsForPlanning(cell, options).then((request) => request(this.axios, this.basePath));
13699
- }
13700
-
13701
13453
  /**
13702
13454
  * Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
13703
13455
  * @summary Plan Trajectory