@wandelbots/nova-api 26.9.0-dev.114 → 26.9.0-dev.115
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 +278 -228
- package/dist/v2/index.d.cts +66 -13
- package/dist/v2/index.d.ts +66 -13
- package/dist/v2/index.js +59 -9
- package/package.json +1 -1
package/dist/v2/index.js
CHANGED
|
@@ -4920,7 +4920,7 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
4920
4920
|
options: localVarRequestOptions
|
|
4921
4921
|
};
|
|
4922
4922
|
},
|
|
4923
|
-
exportMotionGroupModel: async (motionGroupModel, serialNumber, options = {}) => {
|
|
4923
|
+
exportMotionGroupModel: async (motionGroupModel, serialNumber, version, options = {}) => {
|
|
4924
4924
|
assertParamExists("exportMotionGroupModel", "motionGroupModel", motionGroupModel);
|
|
4925
4925
|
const localVarPath = `/experimental/motion-group-models/{motion-group-model}/archive`.replace("{motion-group-model}", encodeURIComponent(String(motionGroupModel)));
|
|
4926
4926
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4935,6 +4935,7 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
4935
4935
|
const localVarQueryParameter = {};
|
|
4936
4936
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4937
4937
|
if (serialNumber !== void 0) localVarQueryParameter["serial_number"] = serialNumber;
|
|
4938
|
+
if (version !== void 0) localVarQueryParameter["version"] = version;
|
|
4938
4939
|
localVarHeaderParameter["Accept"] = "application/gzip";
|
|
4939
4940
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4940
4941
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5137,6 +5138,34 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
5137
5138
|
options: localVarRequestOptions
|
|
5138
5139
|
};
|
|
5139
5140
|
},
|
|
5141
|
+
getMotionGroupModelVersions: async (motionGroupModel, serialNumber, options = {}) => {
|
|
5142
|
+
assertParamExists("getMotionGroupModelVersions", "motionGroupModel", motionGroupModel);
|
|
5143
|
+
const localVarPath = `/experimental/motion-group-models/{motion-group-model}/versions`.replace("{motion-group-model}", encodeURIComponent(String(motionGroupModel)));
|
|
5144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5145
|
+
let baseOptions;
|
|
5146
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
5147
|
+
const localVarRequestOptions = {
|
|
5148
|
+
method: "GET",
|
|
5149
|
+
...baseOptions,
|
|
5150
|
+
...options
|
|
5151
|
+
};
|
|
5152
|
+
const localVarHeaderParameter = {};
|
|
5153
|
+
const localVarQueryParameter = {};
|
|
5154
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5155
|
+
if (serialNumber !== void 0) localVarQueryParameter["serial_number"] = serialNumber;
|
|
5156
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
5157
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5158
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5159
|
+
localVarRequestOptions.headers = {
|
|
5160
|
+
...localVarHeaderParameter,
|
|
5161
|
+
...headersFromBaseOptions,
|
|
5162
|
+
...options.headers
|
|
5163
|
+
};
|
|
5164
|
+
return {
|
|
5165
|
+
url: toPathString(localVarUrlObj),
|
|
5166
|
+
options: localVarRequestOptions
|
|
5167
|
+
};
|
|
5168
|
+
},
|
|
5140
5169
|
getMotionGroupModels: async (options = {}) => {
|
|
5141
5170
|
const localVarUrlObj = new URL(`/motion-group-models`, DUMMY_BASE_URL);
|
|
5142
5171
|
let baseOptions;
|
|
@@ -5262,8 +5291,8 @@ const MotionGroupModelsApiFp = function(configuration) {
|
|
|
5262
5291
|
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.deleteExperimentalMotionGroupModel"]?.[localVarOperationServerIndex]?.url;
|
|
5263
5292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5264
5293
|
},
|
|
5265
|
-
async exportMotionGroupModel(motionGroupModel, serialNumber, options) {
|
|
5266
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportMotionGroupModel(motionGroupModel, serialNumber, options);
|
|
5294
|
+
async exportMotionGroupModel(motionGroupModel, serialNumber, version, options) {
|
|
5295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportMotionGroupModel(motionGroupModel, serialNumber, version, options);
|
|
5267
5296
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5268
5297
|
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.exportMotionGroupModel"]?.[localVarOperationServerIndex]?.url;
|
|
5269
5298
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5310,6 +5339,12 @@ const MotionGroupModelsApiFp = function(configuration) {
|
|
|
5310
5339
|
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupLimitModel"]?.[localVarOperationServerIndex]?.url;
|
|
5311
5340
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5312
5341
|
},
|
|
5342
|
+
async getMotionGroupModelVersions(motionGroupModel, serialNumber, options) {
|
|
5343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModelVersions(motionGroupModel, serialNumber, options);
|
|
5344
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5345
|
+
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupModelVersions"]?.[localVarOperationServerIndex]?.url;
|
|
5346
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5347
|
+
},
|
|
5313
5348
|
async getMotionGroupModels(options) {
|
|
5314
5349
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(options);
|
|
5315
5350
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -5348,8 +5383,8 @@ const MotionGroupModelsApiFactory = function(configuration, basePath, axios) {
|
|
|
5348
5383
|
deleteExperimentalMotionGroupModel(motionGroupModel, serialNumber, options) {
|
|
5349
5384
|
return localVarFp.deleteExperimentalMotionGroupModel(motionGroupModel, serialNumber, options).then((request) => request(axios, basePath));
|
|
5350
5385
|
},
|
|
5351
|
-
exportMotionGroupModel(motionGroupModel, serialNumber, options) {
|
|
5352
|
-
return localVarFp.exportMotionGroupModel(motionGroupModel, serialNumber, options).then((request) => request(axios, basePath));
|
|
5386
|
+
exportMotionGroupModel(motionGroupModel, serialNumber, version, options) {
|
|
5387
|
+
return localVarFp.exportMotionGroupModel(motionGroupModel, serialNumber, version, options).then((request) => request(axios, basePath));
|
|
5353
5388
|
},
|
|
5354
5389
|
getConfigurationForMotionGroup(motionGroupModel, options) {
|
|
5355
5390
|
return localVarFp.getConfigurationForMotionGroup(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
@@ -5372,6 +5407,9 @@ const MotionGroupModelsApiFactory = function(configuration, basePath, axios) {
|
|
|
5372
5407
|
getMotionGroupLimitModel(motionGroupModel, options) {
|
|
5373
5408
|
return localVarFp.getMotionGroupLimitModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
5374
5409
|
},
|
|
5410
|
+
getMotionGroupModelVersions(motionGroupModel, serialNumber, options) {
|
|
5411
|
+
return localVarFp.getMotionGroupModelVersions(motionGroupModel, serialNumber, options).then((request) => request(axios, basePath));
|
|
5412
|
+
},
|
|
5375
5413
|
getMotionGroupModels(options) {
|
|
5376
5414
|
return localVarFp.getMotionGroupModels(options).then((request) => request(axios, basePath));
|
|
5377
5415
|
},
|
|
@@ -5414,15 +5452,16 @@ var MotionGroupModelsApi = class extends BaseAPI {
|
|
|
5414
5452
|
return MotionGroupModelsApiFp(this.configuration).deleteExperimentalMotionGroupModel(motionGroupModel, serialNumber, options).then((request) => request(this.axios, this.basePath));
|
|
5415
5453
|
}
|
|
5416
5454
|
/**
|
|
5417
|
-
* **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.
|
|
5455
|
+
* **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. By default the latest version is exported. Use the `version` parameter to export a specific version.
|
|
5418
5456
|
* @summary Export Motion Group Model
|
|
5419
5457
|
* @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).
|
|
5420
5458
|
* @param {string} [serialNumber] Serial number of the robot, optional. If provided, the motion group data is resolved for the robot with this specific serial number.
|
|
5459
|
+
* @param {string} [version] Version of the motion group model, optional. If provided, this specific version of the motion group model is used. If omitted, the latest available version is used. See [getMotionGroupModelVersions](#/operations/getMotionGroupModelVersions) for the versions that are available.
|
|
5421
5460
|
* @param {*} [options] Override http request option.
|
|
5422
5461
|
* @throws {RequiredError}
|
|
5423
5462
|
*/
|
|
5424
|
-
exportMotionGroupModel(motionGroupModel, serialNumber, options) {
|
|
5425
|
-
return MotionGroupModelsApiFp(this.configuration).exportMotionGroupModel(motionGroupModel, serialNumber, options).then((request) => request(this.axios, this.basePath));
|
|
5463
|
+
exportMotionGroupModel(motionGroupModel, serialNumber, version, options) {
|
|
5464
|
+
return MotionGroupModelsApiFp(this.configuration).exportMotionGroupModel(motionGroupModel, serialNumber, version, options).then((request) => request(this.axios, this.basePath));
|
|
5426
5465
|
}
|
|
5427
5466
|
/**
|
|
5428
5467
|
* **Required permissions:** `can_access_system` - View system status and metadata ___ Get a robot configuration containing the specified motion group model. This endpoint is designed for Virtual Robot to dynamically add motion groups by model name without needing to know the robot configuration name. Returns the full GCI transcript along with the motion group UID that corresponds to the requested motion group model.
|
|
@@ -5495,6 +5534,17 @@ var MotionGroupModelsApi = class extends BaseAPI {
|
|
|
5495
5534
|
return MotionGroupModelsApiFp(this.configuration).getMotionGroupLimitModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
5496
5535
|
}
|
|
5497
5536
|
/**
|
|
5537
|
+
* **Required permissions:** `can_access_system` - View system status and metadata ___ Returns all versions of the specified motion group model that are available on this system, sorted from oldest to newest. Any of the returned versions can be passed to the export endpoint to export that specific version.
|
|
5538
|
+
* @summary List Motion Group Model Versions
|
|
5539
|
+
* @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).
|
|
5540
|
+
* @param {string} [serialNumber] Serial number of the robot, optional. If provided, the motion group data is resolved for the robot with this specific serial number.
|
|
5541
|
+
* @param {*} [options] Override http request option.
|
|
5542
|
+
* @throws {RequiredError}
|
|
5543
|
+
*/
|
|
5544
|
+
getMotionGroupModelVersions(motionGroupModel, serialNumber, options) {
|
|
5545
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupModelVersions(motionGroupModel, serialNumber, options).then((request) => request(this.axios, this.basePath));
|
|
5546
|
+
}
|
|
5547
|
+
/**
|
|
5498
5548
|
* **Required permissions:** `can_access_system` - View system status and metadata ___ Returns the list of supported motion group models.
|
|
5499
5549
|
* @summary Motion Group Models
|
|
5500
5550
|
* @param {*} [options] Override http request option.
|
|
@@ -5523,7 +5573,7 @@ var MotionGroupModelsApi = class extends BaseAPI {
|
|
|
5523
5573
|
return MotionGroupModelsApiFp(this.configuration).getMotionGroupUsdModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
5524
5574
|
}
|
|
5525
5575
|
/**
|
|
5526
|
-
* **Required permissions:** `
|
|
5576
|
+
* **Required permissions:** `can_update_system` - Update system versions and services ___ Imports a motion group model from a tar.gz archive. The tar.gz archive must have been produced by the export endpoint. If a motion group model with the same name already exists, all of its versions are replaced by the imported ones, even if the existing versions are newer than the imported version. A replaced built-in model stays a built-in model. Any other imported model is registered as a custom model.
|
|
5527
5577
|
* @summary Import Motion Group Model
|
|
5528
5578
|
* @param {File} body
|
|
5529
5579
|
* @param {*} [options] Override http request option.
|