@wandelbots/nova-api 26.4.0-dev.63 → 26.4.0-dev.66
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 +385 -200
- package/dist/v2/index.d.cts +160 -1
- package/dist/v2/index.d.ts +160 -1
- package/dist/v2/index.js +185 -0
- package/package.json +1 -1
package/dist/v2/index.js
CHANGED
|
@@ -4139,6 +4139,87 @@ var MotionGroupApi = class extends BaseAPI {
|
|
|
4139
4139
|
*/
|
|
4140
4140
|
const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
4141
4141
|
return {
|
|
4142
|
+
copyMotionGroupModel: async (motionGroupModel, copyMotionGroupModelRequest, options = {}) => {
|
|
4143
|
+
assertParamExists("copyMotionGroupModel", "motionGroupModel", motionGroupModel);
|
|
4144
|
+
assertParamExists("copyMotionGroupModel", "copyMotionGroupModelRequest", copyMotionGroupModelRequest);
|
|
4145
|
+
const localVarPath = `/experimental/motion-group-models/{motion-group-model}`.replace(`{motion-group-model}`, encodeURIComponent(String(motionGroupModel)));
|
|
4146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4147
|
+
let baseOptions;
|
|
4148
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
4149
|
+
const localVarRequestOptions = {
|
|
4150
|
+
method: "POST",
|
|
4151
|
+
...baseOptions,
|
|
4152
|
+
...options
|
|
4153
|
+
};
|
|
4154
|
+
const localVarHeaderParameter = {};
|
|
4155
|
+
const localVarQueryParameter = {};
|
|
4156
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4157
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4160
|
+
localVarRequestOptions.headers = {
|
|
4161
|
+
...localVarHeaderParameter,
|
|
4162
|
+
...headersFromBaseOptions,
|
|
4163
|
+
...options.headers
|
|
4164
|
+
};
|
|
4165
|
+
localVarRequestOptions.data = serializeDataIfNeeded(copyMotionGroupModelRequest, localVarRequestOptions, configuration);
|
|
4166
|
+
return {
|
|
4167
|
+
url: toPathString(localVarUrlObj),
|
|
4168
|
+
options: localVarRequestOptions
|
|
4169
|
+
};
|
|
4170
|
+
},
|
|
4171
|
+
deleteExperimentalMotionGroupModel: async (motionGroupModel, options = {}) => {
|
|
4172
|
+
assertParamExists("deleteExperimentalMotionGroupModel", "motionGroupModel", motionGroupModel);
|
|
4173
|
+
const localVarPath = `/experimental/motion-group-models/{motion-group-model}`.replace(`{motion-group-model}`, encodeURIComponent(String(motionGroupModel)));
|
|
4174
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4175
|
+
let baseOptions;
|
|
4176
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
4177
|
+
const localVarRequestOptions = {
|
|
4178
|
+
method: "DELETE",
|
|
4179
|
+
...baseOptions,
|
|
4180
|
+
...options
|
|
4181
|
+
};
|
|
4182
|
+
const localVarHeaderParameter = {};
|
|
4183
|
+
const localVarQueryParameter = {};
|
|
4184
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4185
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4186
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4187
|
+
localVarRequestOptions.headers = {
|
|
4188
|
+
...localVarHeaderParameter,
|
|
4189
|
+
...headersFromBaseOptions,
|
|
4190
|
+
...options.headers
|
|
4191
|
+
};
|
|
4192
|
+
return {
|
|
4193
|
+
url: toPathString(localVarUrlObj),
|
|
4194
|
+
options: localVarRequestOptions
|
|
4195
|
+
};
|
|
4196
|
+
},
|
|
4197
|
+
exportMotionGroupModel: async (motionGroupModel, options = {}) => {
|
|
4198
|
+
assertParamExists("exportMotionGroupModel", "motionGroupModel", motionGroupModel);
|
|
4199
|
+
const localVarPath = `/experimental/motion-group-models/{motion-group-model}`.replace(`{motion-group-model}`, encodeURIComponent(String(motionGroupModel)));
|
|
4200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4201
|
+
let baseOptions;
|
|
4202
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
4203
|
+
const localVarRequestOptions = {
|
|
4204
|
+
method: "GET",
|
|
4205
|
+
...baseOptions,
|
|
4206
|
+
...options
|
|
4207
|
+
};
|
|
4208
|
+
const localVarHeaderParameter = {};
|
|
4209
|
+
const localVarQueryParameter = {};
|
|
4210
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4211
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4212
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4213
|
+
localVarRequestOptions.headers = {
|
|
4214
|
+
...localVarHeaderParameter,
|
|
4215
|
+
...headersFromBaseOptions,
|
|
4216
|
+
...options.headers
|
|
4217
|
+
};
|
|
4218
|
+
return {
|
|
4219
|
+
url: toPathString(localVarUrlObj),
|
|
4220
|
+
options: localVarRequestOptions
|
|
4221
|
+
};
|
|
4222
|
+
},
|
|
4142
4223
|
getMotionGroupCollisionModel: async (motionGroupModel, options = {}) => {
|
|
4143
4224
|
assertParamExists("getMotionGroupCollisionModel", "motionGroupModel", motionGroupModel);
|
|
4144
4225
|
const localVarPath = `/motion-group-models/{motion-group-model}/collision`.replace(`{motion-group-model}`, encodeURIComponent(String(motionGroupModel)));
|
|
@@ -4266,6 +4347,33 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
4266
4347
|
url: toPathString(localVarUrlObj),
|
|
4267
4348
|
options: localVarRequestOptions
|
|
4268
4349
|
};
|
|
4350
|
+
},
|
|
4351
|
+
importMotionGroupModel: async (body, options = {}) => {
|
|
4352
|
+
assertParamExists("importMotionGroupModel", "body", body);
|
|
4353
|
+
const localVarUrlObj = new URL(`/motion-group-models`, DUMMY_BASE_URL);
|
|
4354
|
+
let baseOptions;
|
|
4355
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
4356
|
+
const localVarRequestOptions = {
|
|
4357
|
+
method: "POST",
|
|
4358
|
+
...baseOptions,
|
|
4359
|
+
...options
|
|
4360
|
+
};
|
|
4361
|
+
const localVarHeaderParameter = {};
|
|
4362
|
+
const localVarQueryParameter = {};
|
|
4363
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4364
|
+
localVarHeaderParameter["Content-Type"] = "application/gzip";
|
|
4365
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4366
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4367
|
+
localVarRequestOptions.headers = {
|
|
4368
|
+
...localVarHeaderParameter,
|
|
4369
|
+
...headersFromBaseOptions,
|
|
4370
|
+
...options.headers
|
|
4371
|
+
};
|
|
4372
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
4373
|
+
return {
|
|
4374
|
+
url: toPathString(localVarUrlObj),
|
|
4375
|
+
options: localVarRequestOptions
|
|
4376
|
+
};
|
|
4269
4377
|
}
|
|
4270
4378
|
};
|
|
4271
4379
|
};
|
|
@@ -4275,6 +4383,24 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
4275
4383
|
const MotionGroupModelsApiFp = function(configuration) {
|
|
4276
4384
|
const localVarAxiosParamCreator = MotionGroupModelsApiAxiosParamCreator(configuration);
|
|
4277
4385
|
return {
|
|
4386
|
+
async copyMotionGroupModel(motionGroupModel, copyMotionGroupModelRequest, options) {
|
|
4387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.copyMotionGroupModel(motionGroupModel, copyMotionGroupModelRequest, options);
|
|
4388
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4389
|
+
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.copyMotionGroupModel"]?.[localVarOperationServerIndex]?.url;
|
|
4390
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4391
|
+
},
|
|
4392
|
+
async deleteExperimentalMotionGroupModel(motionGroupModel, options) {
|
|
4393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteExperimentalMotionGroupModel(motionGroupModel, options);
|
|
4394
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4395
|
+
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.deleteExperimentalMotionGroupModel"]?.[localVarOperationServerIndex]?.url;
|
|
4396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4397
|
+
},
|
|
4398
|
+
async exportMotionGroupModel(motionGroupModel, options) {
|
|
4399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportMotionGroupModel(motionGroupModel, options);
|
|
4400
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4401
|
+
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.exportMotionGroupModel"]?.[localVarOperationServerIndex]?.url;
|
|
4402
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4403
|
+
},
|
|
4278
4404
|
async getMotionGroupCollisionModel(motionGroupModel, options) {
|
|
4279
4405
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupCollisionModel(motionGroupModel, options);
|
|
4280
4406
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -4304,6 +4430,12 @@ const MotionGroupModelsApiFp = function(configuration) {
|
|
|
4304
4430
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4305
4431
|
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupUsdModel"]?.[localVarOperationServerIndex]?.url;
|
|
4306
4432
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4433
|
+
},
|
|
4434
|
+
async importMotionGroupModel(body, options) {
|
|
4435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importMotionGroupModel(body, options);
|
|
4436
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4437
|
+
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.importMotionGroupModel"]?.[localVarOperationServerIndex]?.url;
|
|
4438
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4307
4439
|
}
|
|
4308
4440
|
};
|
|
4309
4441
|
};
|
|
@@ -4313,6 +4445,15 @@ const MotionGroupModelsApiFp = function(configuration) {
|
|
|
4313
4445
|
const MotionGroupModelsApiFactory = function(configuration, basePath, axios) {
|
|
4314
4446
|
const localVarFp = MotionGroupModelsApiFp(configuration);
|
|
4315
4447
|
return {
|
|
4448
|
+
copyMotionGroupModel(motionGroupModel, copyMotionGroupModelRequest, options) {
|
|
4449
|
+
return localVarFp.copyMotionGroupModel(motionGroupModel, copyMotionGroupModelRequest, options).then((request) => request(axios, basePath));
|
|
4450
|
+
},
|
|
4451
|
+
deleteExperimentalMotionGroupModel(motionGroupModel, options) {
|
|
4452
|
+
return localVarFp.deleteExperimentalMotionGroupModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
4453
|
+
},
|
|
4454
|
+
exportMotionGroupModel(motionGroupModel, options) {
|
|
4455
|
+
return localVarFp.exportMotionGroupModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
4456
|
+
},
|
|
4316
4457
|
getMotionGroupCollisionModel(motionGroupModel, options) {
|
|
4317
4458
|
return localVarFp.getMotionGroupCollisionModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
4318
4459
|
},
|
|
@@ -4327,6 +4468,9 @@ const MotionGroupModelsApiFactory = function(configuration, basePath, axios) {
|
|
|
4327
4468
|
},
|
|
4328
4469
|
getMotionGroupUsdModel(motionGroupModel, options) {
|
|
4329
4470
|
return localVarFp.getMotionGroupUsdModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
4471
|
+
},
|
|
4472
|
+
importMotionGroupModel(body, options) {
|
|
4473
|
+
return localVarFp.importMotionGroupModel(body, options).then((request) => request(axios, basePath));
|
|
4330
4474
|
}
|
|
4331
4475
|
};
|
|
4332
4476
|
};
|
|
@@ -4334,6 +4478,37 @@ const MotionGroupModelsApiFactory = function(configuration, basePath, axios) {
|
|
|
4334
4478
|
* MotionGroupModelsApi - object-oriented interface
|
|
4335
4479
|
*/
|
|
4336
4480
|
var MotionGroupModelsApi = class extends BaseAPI {
|
|
4481
|
+
/**
|
|
4482
|
+
* **Required permissions:** `can_access_system` - View system status and metadata ___ Creates a copy of the specified motion group model and registers the copy under a new name as a custom model. Both built-in base models and existing custom models can be copied.
|
|
4483
|
+
* @summary Copy Motion Group Model
|
|
4484
|
+
* @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](#/operations/getOptimizerConfiguration).
|
|
4485
|
+
* @param {CopyMotionGroupModelRequest} copyMotionGroupModelRequest
|
|
4486
|
+
* @param {*} [options] Override http request option.
|
|
4487
|
+
* @throws {RequiredError}
|
|
4488
|
+
*/
|
|
4489
|
+
copyMotionGroupModel(motionGroupModel, copyMotionGroupModelRequest, options) {
|
|
4490
|
+
return MotionGroupModelsApiFp(this.configuration).copyMotionGroupModel(motionGroupModel, copyMotionGroupModelRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4491
|
+
}
|
|
4492
|
+
/**
|
|
4493
|
+
* **Required permissions:** `can_access_system` - View system status and metadata ___ Deletes a custom motion group model. Only custom models (where `is_custom` is `true`) can be deleted. Built-in base models cannot be removed.
|
|
4494
|
+
* @summary Delete Motion Group Model
|
|
4495
|
+
* @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](#/operations/getOptimizerConfiguration).
|
|
4496
|
+
* @param {*} [options] Override http request option.
|
|
4497
|
+
* @throws {RequiredError}
|
|
4498
|
+
*/
|
|
4499
|
+
deleteExperimentalMotionGroupModel(motionGroupModel, options) {
|
|
4500
|
+
return MotionGroupModelsApiFp(this.configuration).deleteExperimentalMotionGroupModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
4501
|
+
}
|
|
4502
|
+
/**
|
|
4503
|
+
* **Required permissions:** `can_access_system` - View system status and metadata ___ Exports the specified motion group model as a tar.gz archive. The resulting tar.gz file can be imported on another system using the import endpoint.
|
|
4504
|
+
* @summary Export Motion Group Model
|
|
4505
|
+
* @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](#/operations/getOptimizerConfiguration).
|
|
4506
|
+
* @param {*} [options] Override http request option.
|
|
4507
|
+
* @throws {RequiredError}
|
|
4508
|
+
*/
|
|
4509
|
+
exportMotionGroupModel(motionGroupModel, options) {
|
|
4510
|
+
return MotionGroupModelsApiFp(this.configuration).exportMotionGroupModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
4511
|
+
}
|
|
4337
4512
|
/**
|
|
4338
4513
|
* **Required permissions:** `can_access_system` - View system status and metadata ___ Returns the default collision link chain for a given motion group model. See [getMotionGroupModels](#/operations/getMotionGroupModels) 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. Attach additional shapes to the link reference frames by extending the link dictionaries before further use. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
4339
4514
|
* @summary Get Collision Model
|
|
@@ -4383,6 +4558,16 @@ var MotionGroupModelsApi = class extends BaseAPI {
|
|
|
4383
4558
|
getMotionGroupUsdModel(motionGroupModel, options) {
|
|
4384
4559
|
return MotionGroupModelsApiFp(this.configuration).getMotionGroupUsdModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
4385
4560
|
}
|
|
4561
|
+
/**
|
|
4562
|
+
* **Required permissions:** `can_access_system` - View system status and metadata ___ Imports a motion group model from a tar.gz archive and registers it as a new custom model. The tar.gz archive must have been produced by the export endpoint.
|
|
4563
|
+
* @summary Import Motion Group Model
|
|
4564
|
+
* @param {File} body
|
|
4565
|
+
* @param {*} [options] Override http request option.
|
|
4566
|
+
* @throws {RequiredError}
|
|
4567
|
+
*/
|
|
4568
|
+
importMotionGroupModel(body, options) {
|
|
4569
|
+
return MotionGroupModelsApiFp(this.configuration).importMotionGroupModel(body, options).then((request) => request(this.axios, this.basePath));
|
|
4570
|
+
}
|
|
4386
4571
|
};
|
|
4387
4572
|
/**
|
|
4388
4573
|
* NOVACloudApi - axios parameter creator
|