@wandelbots/nova-api 26.1.0-dev.60 → 26.1.0-dev.61

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
@@ -3688,6 +3688,33 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
3688
3688
  options: localVarRequestOptions
3689
3689
  };
3690
3690
  },
3691
+ getMotionGroupKinematicModel: async (motionGroupModel, options = {}) => {
3692
+ assertParamExists("getMotionGroupKinematicModel", "motionGroupModel", motionGroupModel);
3693
+ const localVarPath = `/motion-group-models/{motion-group-model}/kinematics`.replace(`{motion-group-model}`, encodeURIComponent(String(motionGroupModel)));
3694
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3695
+ let baseOptions;
3696
+ if (configuration) baseOptions = configuration.baseOptions;
3697
+ const localVarRequestOptions = {
3698
+ method: "GET",
3699
+ ...baseOptions,
3700
+ ...options
3701
+ };
3702
+ const localVarHeaderParameter = {};
3703
+ const localVarQueryParameter = {};
3704
+ setBasicAuthToObject(localVarRequestOptions, configuration);
3705
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
3706
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3707
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3708
+ localVarRequestOptions.headers = {
3709
+ ...localVarHeaderParameter,
3710
+ ...headersFromBaseOptions,
3711
+ ...options.headers
3712
+ };
3713
+ return {
3714
+ url: toPathString(localVarUrlObj),
3715
+ options: localVarRequestOptions
3716
+ };
3717
+ },
3691
3718
  getMotionGroupModels: async (options = {}) => {
3692
3719
  const localVarUrlObj = new URL(`/motion-group-models`, DUMMY_BASE_URL);
3693
3720
  let baseOptions;
@@ -3760,6 +3787,12 @@ const MotionGroupModelsApiFp = function(configuration) {
3760
3787
  const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupGlbModel"]?.[localVarOperationServerIndex]?.url;
3761
3788
  return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
3762
3789
  },
3790
+ async getMotionGroupKinematicModel(motionGroupModel, options) {
3791
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupKinematicModel(motionGroupModel, options);
3792
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3793
+ const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupKinematicModel"]?.[localVarOperationServerIndex]?.url;
3794
+ return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
3795
+ },
3763
3796
  async getMotionGroupModels(options) {
3764
3797
  const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(options);
3765
3798
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -3786,6 +3819,9 @@ const MotionGroupModelsApiFactory = function(configuration, basePath, axios$1) {
3786
3819
  getMotionGroupGlbModel(motionGroupModel, options) {
3787
3820
  return localVarFp.getMotionGroupGlbModel(motionGroupModel, options).then((request) => request(axios$1, basePath));
3788
3821
  },
3822
+ getMotionGroupKinematicModel(motionGroupModel, options) {
3823
+ return localVarFp.getMotionGroupKinematicModel(motionGroupModel, options).then((request) => request(axios$1, basePath));
3824
+ },
3789
3825
  getMotionGroupModels(options) {
3790
3826
  return localVarFp.getMotionGroupModels(options).then((request) => request(axios$1, basePath));
3791
3827
  },
@@ -3819,6 +3855,16 @@ var MotionGroupModelsApi = class extends BaseAPI {
3819
3855
  return MotionGroupModelsApiFp(this.configuration).getMotionGroupGlbModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
3820
3856
  }
3821
3857
  /**
3858
+ * Returns the kinematics model (DH parameters) for the given motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported motion group models.
3859
+ * @summary Get Kinematics
3860
+ * @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
3861
+ * @param {*} [options] Override http request option.
3862
+ * @throws {RequiredError}
3863
+ */
3864
+ getMotionGroupKinematicModel(motionGroupModel, options) {
3865
+ return MotionGroupModelsApiFp(this.configuration).getMotionGroupKinematicModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
3866
+ }
3867
+ /**
3822
3868
  * Returns the list of supported motion group models.
3823
3869
  * @summary Motion Group Models
3824
3870
  * @param {*} [options] Override http request option.