@wandelbots/nova-api 25.6.0-dev.40 → 25.6.0-dev.42
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/package.json +1 -1
- package/v2/api.d.ts +108 -742
- package/v2/api.js +877 -1793
- package/v2/api.js.map +1 -1
- package/v2/api.ts +1169 -2354
package/v2/api.js
CHANGED
|
@@ -62,6 +62,15 @@ export const Comparator = {
|
|
|
62
62
|
ComparatorLess: 'COMPARATOR_LESS',
|
|
63
63
|
ComparatorLessEqual: 'COMPARATOR_LESS_EQUAL'
|
|
64
64
|
};
|
|
65
|
+
export const ConfigurationArchiveStatusCreatingStatusEnum = {
|
|
66
|
+
Creating: 'creating'
|
|
67
|
+
};
|
|
68
|
+
export const ConfigurationArchiveStatusErrorStatusEnum = {
|
|
69
|
+
Error: 'error'
|
|
70
|
+
};
|
|
71
|
+
export const ConfigurationArchiveStatusSuccessStatusEnum = {
|
|
72
|
+
Success: 'success'
|
|
73
|
+
};
|
|
65
74
|
export const ConvexHullShapeTypeEnum = {
|
|
66
75
|
ConvexHull: 'convex_hull'
|
|
67
76
|
};
|
|
@@ -290,22 +299,6 @@ export const PlaybackSpeedRequestMessageTypeEnum = {
|
|
|
290
299
|
export const PlaybackSpeedResponseKindEnum = {
|
|
291
300
|
PlaybackSpeedReceived: 'PLAYBACK_SPEED_RECEIVED'
|
|
292
301
|
};
|
|
293
|
-
export const ProgramProgramTypeEnum = {
|
|
294
|
-
Python: 'PYTHON',
|
|
295
|
-
Wandelscript: 'WANDELSCRIPT'
|
|
296
|
-
};
|
|
297
|
-
/**
|
|
298
|
-
* The state of a program run.
|
|
299
|
-
* @export
|
|
300
|
-
* @enum {string}
|
|
301
|
-
*/
|
|
302
|
-
export const ProgramRunState = {
|
|
303
|
-
NotStarted: 'NOT_STARTED',
|
|
304
|
-
Running: 'RUNNING',
|
|
305
|
-
Completed: 'COMPLETED',
|
|
306
|
-
Failed: 'FAILED',
|
|
307
|
-
Stopped: 'STOPPED'
|
|
308
|
-
};
|
|
309
302
|
export const RectangleShapeTypeEnum = {
|
|
310
303
|
Rectangle: 'rectangle'
|
|
311
304
|
};
|
|
@@ -4262,33 +4255,34 @@ export class MotionGroupModelsApi extends BaseAPI {
|
|
|
4262
4255
|
}
|
|
4263
4256
|
}
|
|
4264
4257
|
/**
|
|
4265
|
-
*
|
|
4258
|
+
* StoreCollisionComponentsApi - axios parameter creator
|
|
4266
4259
|
* @export
|
|
4267
4260
|
*/
|
|
4268
|
-
export const
|
|
4261
|
+
export const StoreCollisionComponentsApiAxiosParamCreator = function (configuration) {
|
|
4269
4262
|
return {
|
|
4270
4263
|
/**
|
|
4271
|
-
*
|
|
4272
|
-
* @summary
|
|
4264
|
+
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
4265
|
+
* @summary Delete Collider
|
|
4273
4266
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4274
|
-
* @param {
|
|
4267
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
4275
4268
|
* @param {*} [options] Override http request option.
|
|
4276
4269
|
* @throws {RequiredError}
|
|
4277
4270
|
*/
|
|
4278
|
-
|
|
4271
|
+
deleteStoredCollider: async (cell, collider, options = {}) => {
|
|
4279
4272
|
// verify required parameter 'cell' is not null or undefined
|
|
4280
|
-
assertParamExists('
|
|
4281
|
-
// verify required parameter '
|
|
4282
|
-
assertParamExists('
|
|
4283
|
-
const localVarPath = `/cells/{cell}/
|
|
4284
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4273
|
+
assertParamExists('deleteStoredCollider', 'cell', cell);
|
|
4274
|
+
// verify required parameter 'collider' is not null or undefined
|
|
4275
|
+
assertParamExists('deleteStoredCollider', 'collider', collider);
|
|
4276
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
4277
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4278
|
+
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
4285
4279
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4286
4280
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4287
4281
|
let baseOptions;
|
|
4288
4282
|
if (configuration) {
|
|
4289
4283
|
baseOptions = configuration.baseOptions;
|
|
4290
4284
|
}
|
|
4291
|
-
const localVarRequestOptions = { method: '
|
|
4285
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4292
4286
|
const localVarHeaderParameter = {};
|
|
4293
4287
|
const localVarQueryParameter = {};
|
|
4294
4288
|
// authentication BasicAuth required
|
|
@@ -4297,38 +4291,37 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4297
4291
|
// authentication BearerAuth required
|
|
4298
4292
|
// http bearer authentication required
|
|
4299
4293
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4300
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4301
4294
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4302
4295
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4303
4296
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4304
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration);
|
|
4305
4297
|
return {
|
|
4306
4298
|
url: toPathString(localVarUrlObj),
|
|
4307
4299
|
options: localVarRequestOptions,
|
|
4308
4300
|
};
|
|
4309
4301
|
},
|
|
4310
4302
|
/**
|
|
4311
|
-
*
|
|
4312
|
-
* @summary
|
|
4303
|
+
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
4304
|
+
* @summary Delete Link Chain
|
|
4313
4305
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4314
|
-
* @param {
|
|
4306
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
4315
4307
|
* @param {*} [options] Override http request option.
|
|
4316
4308
|
* @throws {RequiredError}
|
|
4317
4309
|
*/
|
|
4318
|
-
|
|
4310
|
+
deleteStoredCollisionLinkChain: async (cell, linkChain, options = {}) => {
|
|
4319
4311
|
// verify required parameter 'cell' is not null or undefined
|
|
4320
|
-
assertParamExists('
|
|
4321
|
-
// verify required parameter '
|
|
4322
|
-
assertParamExists('
|
|
4323
|
-
const localVarPath = `/cells/{cell}/
|
|
4324
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4312
|
+
assertParamExists('deleteStoredCollisionLinkChain', 'cell', cell);
|
|
4313
|
+
// verify required parameter 'linkChain' is not null or undefined
|
|
4314
|
+
assertParamExists('deleteStoredCollisionLinkChain', 'linkChain', linkChain);
|
|
4315
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
4316
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4317
|
+
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
4325
4318
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4326
4319
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4327
4320
|
let baseOptions;
|
|
4328
4321
|
if (configuration) {
|
|
4329
4322
|
baseOptions = configuration.baseOptions;
|
|
4330
4323
|
}
|
|
4331
|
-
const localVarRequestOptions = { method: '
|
|
4324
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4332
4325
|
const localVarHeaderParameter = {};
|
|
4333
4326
|
const localVarQueryParameter = {};
|
|
4334
4327
|
// authentication BasicAuth required
|
|
@@ -4337,39 +4330,37 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4337
4330
|
// authentication BearerAuth required
|
|
4338
4331
|
// http bearer authentication required
|
|
4339
4332
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4340
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4341
4333
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4342
4334
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4343
4335
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4344
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration);
|
|
4345
4336
|
return {
|
|
4346
4337
|
url: toPathString(localVarUrlObj),
|
|
4347
4338
|
options: localVarRequestOptions,
|
|
4348
4339
|
};
|
|
4349
4340
|
},
|
|
4350
4341
|
/**
|
|
4351
|
-
*
|
|
4352
|
-
* @summary
|
|
4342
|
+
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
4343
|
+
* @summary Delete Tool
|
|
4353
4344
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4354
|
-
* @param {string}
|
|
4345
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
4355
4346
|
* @param {*} [options] Override http request option.
|
|
4356
4347
|
* @throws {RequiredError}
|
|
4357
4348
|
*/
|
|
4358
|
-
|
|
4349
|
+
deleteStoredCollisionTool: async (cell, tool, options = {}) => {
|
|
4359
4350
|
// verify required parameter 'cell' is not null or undefined
|
|
4360
|
-
assertParamExists('
|
|
4361
|
-
// verify required parameter '
|
|
4362
|
-
assertParamExists('
|
|
4363
|
-
const localVarPath = `/cells/{cell}/
|
|
4351
|
+
assertParamExists('deleteStoredCollisionTool', 'cell', cell);
|
|
4352
|
+
// verify required parameter 'tool' is not null or undefined
|
|
4353
|
+
assertParamExists('deleteStoredCollisionTool', 'tool', tool);
|
|
4354
|
+
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
4364
4355
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4365
|
-
.replace(`{${"
|
|
4356
|
+
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
4366
4357
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4367
4358
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4368
4359
|
let baseOptions;
|
|
4369
4360
|
if (configuration) {
|
|
4370
4361
|
baseOptions = configuration.baseOptions;
|
|
4371
4362
|
}
|
|
4372
|
-
const localVarRequestOptions = { method: '
|
|
4363
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4373
4364
|
const localVarHeaderParameter = {};
|
|
4374
4365
|
const localVarQueryParameter = {};
|
|
4375
4366
|
// authentication BasicAuth required
|
|
@@ -4387,17 +4378,21 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4387
4378
|
};
|
|
4388
4379
|
},
|
|
4389
4380
|
/**
|
|
4390
|
-
*
|
|
4391
|
-
* @summary
|
|
4381
|
+
* Returns the collider.
|
|
4382
|
+
* @summary Get Collider
|
|
4392
4383
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4384
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
4393
4385
|
* @param {*} [options] Override http request option.
|
|
4394
4386
|
* @throws {RequiredError}
|
|
4395
4387
|
*/
|
|
4396
|
-
|
|
4388
|
+
getStoredCollider: async (cell, collider, options = {}) => {
|
|
4397
4389
|
// verify required parameter 'cell' is not null or undefined
|
|
4398
|
-
assertParamExists('
|
|
4399
|
-
|
|
4400
|
-
|
|
4390
|
+
assertParamExists('getStoredCollider', 'cell', cell);
|
|
4391
|
+
// verify required parameter 'collider' is not null or undefined
|
|
4392
|
+
assertParamExists('getStoredCollider', 'collider', collider);
|
|
4393
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
4394
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4395
|
+
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
4401
4396
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4402
4397
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4403
4398
|
let baseOptions;
|
|
@@ -4422,27 +4417,28 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4422
4417
|
};
|
|
4423
4418
|
},
|
|
4424
4419
|
/**
|
|
4425
|
-
*
|
|
4426
|
-
* @summary
|
|
4420
|
+
* Returns the collision link chain.
|
|
4421
|
+
* @summary Get Link Chain
|
|
4427
4422
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4428
|
-
* @param {
|
|
4423
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
4429
4424
|
* @param {*} [options] Override http request option.
|
|
4430
4425
|
* @throws {RequiredError}
|
|
4431
4426
|
*/
|
|
4432
|
-
|
|
4427
|
+
getStoredCollisionLinkChain: async (cell, linkChain, options = {}) => {
|
|
4433
4428
|
// verify required parameter 'cell' is not null or undefined
|
|
4434
|
-
assertParamExists('
|
|
4435
|
-
// verify required parameter '
|
|
4436
|
-
assertParamExists('
|
|
4437
|
-
const localVarPath = `/cells/{cell}/
|
|
4438
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4429
|
+
assertParamExists('getStoredCollisionLinkChain', 'cell', cell);
|
|
4430
|
+
// verify required parameter 'linkChain' is not null or undefined
|
|
4431
|
+
assertParamExists('getStoredCollisionLinkChain', 'linkChain', linkChain);
|
|
4432
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
4433
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4434
|
+
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
4439
4435
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4440
4436
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4441
4437
|
let baseOptions;
|
|
4442
4438
|
if (configuration) {
|
|
4443
4439
|
baseOptions = configuration.baseOptions;
|
|
4444
4440
|
}
|
|
4445
|
-
const localVarRequestOptions = { method: '
|
|
4441
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4446
4442
|
const localVarHeaderParameter = {};
|
|
4447
4443
|
const localVarQueryParameter = {};
|
|
4448
4444
|
// authentication BasicAuth required
|
|
@@ -4451,35 +4447,37 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4451
4447
|
// authentication BearerAuth required
|
|
4452
4448
|
// http bearer authentication required
|
|
4453
4449
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4454
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4455
4450
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4456
4451
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4457
4452
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4458
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration);
|
|
4459
4453
|
return {
|
|
4460
4454
|
url: toPathString(localVarUrlObj),
|
|
4461
4455
|
options: localVarRequestOptions,
|
|
4462
4456
|
};
|
|
4463
4457
|
},
|
|
4464
4458
|
/**
|
|
4465
|
-
*
|
|
4466
|
-
* @summary
|
|
4459
|
+
* Returns the stored tool.
|
|
4460
|
+
* @summary Get Tool
|
|
4467
4461
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4462
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
4468
4463
|
* @param {*} [options] Override http request option.
|
|
4469
4464
|
* @throws {RequiredError}
|
|
4470
4465
|
*/
|
|
4471
|
-
|
|
4466
|
+
getStoredCollisionTool: async (cell, tool, options = {}) => {
|
|
4472
4467
|
// verify required parameter 'cell' is not null or undefined
|
|
4473
|
-
assertParamExists('
|
|
4474
|
-
|
|
4475
|
-
|
|
4468
|
+
assertParamExists('getStoredCollisionTool', 'cell', cell);
|
|
4469
|
+
// verify required parameter 'tool' is not null or undefined
|
|
4470
|
+
assertParamExists('getStoredCollisionTool', 'tool', tool);
|
|
4471
|
+
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
4472
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4473
|
+
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
4476
4474
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4477
4475
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4478
4476
|
let baseOptions;
|
|
4479
4477
|
if (configuration) {
|
|
4480
4478
|
baseOptions = configuration.baseOptions;
|
|
4481
4479
|
}
|
|
4482
|
-
const localVarRequestOptions = { method: '
|
|
4480
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4483
4481
|
const localVarHeaderParameter = {};
|
|
4484
4482
|
const localVarQueryParameter = {};
|
|
4485
4483
|
// authentication BasicAuth required
|
|
@@ -4497,28 +4495,24 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4497
4495
|
};
|
|
4498
4496
|
},
|
|
4499
4497
|
/**
|
|
4500
|
-
*
|
|
4501
|
-
* @summary
|
|
4498
|
+
* Returns the stored link chains.
|
|
4499
|
+
* @summary List Link Chains
|
|
4502
4500
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4503
|
-
* @param {string} run
|
|
4504
4501
|
* @param {*} [options] Override http request option.
|
|
4505
4502
|
* @throws {RequiredError}
|
|
4506
4503
|
*/
|
|
4507
|
-
|
|
4504
|
+
listCollisionLinkChains: async (cell, options = {}) => {
|
|
4508
4505
|
// verify required parameter 'cell' is not null or undefined
|
|
4509
|
-
assertParamExists('
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
const localVarPath = `/cells/{cell}/programs/runs/{run}/stop`
|
|
4513
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4514
|
-
.replace(`{${"run"}}`, encodeURIComponent(String(run)));
|
|
4506
|
+
assertParamExists('listCollisionLinkChains', 'cell', cell);
|
|
4507
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains`
|
|
4508
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
4515
4509
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4516
4510
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4517
4511
|
let baseOptions;
|
|
4518
4512
|
if (configuration) {
|
|
4519
4513
|
baseOptions = configuration.baseOptions;
|
|
4520
4514
|
}
|
|
4521
|
-
const localVarRequestOptions = { method: '
|
|
4515
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4522
4516
|
const localVarHeaderParameter = {};
|
|
4523
4517
|
const localVarQueryParameter = {};
|
|
4524
4518
|
// authentication BasicAuth required
|
|
@@ -4536,19 +4530,16 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4536
4530
|
};
|
|
4537
4531
|
},
|
|
4538
4532
|
/**
|
|
4539
|
-
*
|
|
4540
|
-
* @summary
|
|
4533
|
+
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
4534
|
+
* @summary List Colliders
|
|
4541
4535
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4542
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4543
4536
|
* @param {*} [options] Override http request option.
|
|
4544
4537
|
* @throws {RequiredError}
|
|
4545
4538
|
*/
|
|
4546
|
-
|
|
4539
|
+
listStoredColliders: async (cell, options = {}) => {
|
|
4547
4540
|
// verify required parameter 'cell' is not null or undefined
|
|
4548
|
-
assertParamExists('
|
|
4549
|
-
|
|
4550
|
-
assertParamExists('validateProgram', 'programRunRequest', programRunRequest);
|
|
4551
|
-
const localVarPath = `/cells/{cell}/programs/validate`
|
|
4541
|
+
assertParamExists('listStoredColliders', 'cell', cell);
|
|
4542
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders`
|
|
4552
4543
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
4553
4544
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4554
4545
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4556,7 +4547,7 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4556
4547
|
if (configuration) {
|
|
4557
4548
|
baseOptions = configuration.baseOptions;
|
|
4558
4549
|
}
|
|
4559
|
-
const localVarRequestOptions = { method: '
|
|
4550
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4560
4551
|
const localVarHeaderParameter = {};
|
|
4561
4552
|
const localVarQueryParameter = {};
|
|
4562
4553
|
// authentication BasicAuth required
|
|
@@ -4565,339 +4556,366 @@ export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
|
4565
4556
|
// authentication BearerAuth required
|
|
4566
4557
|
// http bearer authentication required
|
|
4567
4558
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4568
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4569
4559
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4570
4560
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4571
4561
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4572
|
-
localVarRequestOptions.data = serializeDataIfNeeded(programRunRequest, localVarRequestOptions, configuration);
|
|
4573
4562
|
return {
|
|
4574
4563
|
url: toPathString(localVarUrlObj),
|
|
4575
4564
|
options: localVarRequestOptions,
|
|
4576
4565
|
};
|
|
4577
4566
|
},
|
|
4578
|
-
};
|
|
4579
|
-
};
|
|
4580
|
-
/**
|
|
4581
|
-
* ProgramApi - functional programming interface
|
|
4582
|
-
* @export
|
|
4583
|
-
*/
|
|
4584
|
-
export const ProgramApiFp = function (configuration) {
|
|
4585
|
-
const localVarAxiosParamCreator = ProgramApiAxiosParamCreator(configuration);
|
|
4586
|
-
return {
|
|
4587
|
-
/**
|
|
4588
|
-
* This endpoint accepts a program and if desired, initial arguments (in the form of a dict). The program will be executed asynchronously. It returns a program run reference which can be used to query the state of the program run. ## Receiving state updates Receive state updates of the program run via polling the `/programs/runs/{run_id}/` ### Via polling You can receive updates about the state of the program run by polling the `/programs/runs/{run_id}/` endpoint.
|
|
4589
|
-
* @summary Create program run
|
|
4590
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4591
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4592
|
-
* @param {*} [options] Override http request option.
|
|
4593
|
-
* @throws {RequiredError}
|
|
4594
|
-
*/
|
|
4595
|
-
async createProgramRun(cell, programRunRequest, options) {
|
|
4596
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createProgramRun(cell, programRunRequest, options);
|
|
4597
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4598
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.createProgramRun']?.[localVarOperationServerIndex]?.url;
|
|
4599
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4600
|
-
},
|
|
4601
|
-
/**
|
|
4602
|
-
* Execute a program synchronously. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a successful execution. Otherwise an error (e.g. out of reach, singularity), is returned.
|
|
4603
|
-
* @summary Execute program
|
|
4604
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4605
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4606
|
-
* @param {*} [options] Override http request option.
|
|
4607
|
-
* @throws {RequiredError}
|
|
4608
|
-
*/
|
|
4609
|
-
async executeProgram(cell, programRunRequest, options) {
|
|
4610
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeProgram(cell, programRunRequest, options);
|
|
4611
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4612
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.executeProgram']?.[localVarOperationServerIndex]?.url;
|
|
4613
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4614
|
-
},
|
|
4615
|
-
/**
|
|
4616
|
-
* Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
|
|
4617
|
-
* @summary Get program run
|
|
4618
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4619
|
-
* @param {string} run
|
|
4620
|
-
* @param {*} [options] Override http request option.
|
|
4621
|
-
* @throws {RequiredError}
|
|
4622
|
-
*/
|
|
4623
|
-
async getProgramRun(cell, run, options) {
|
|
4624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgramRun(cell, run, options);
|
|
4625
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4626
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramApi.getProgramRun']?.[localVarOperationServerIndex]?.url;
|
|
4627
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4628
|
-
},
|
|
4629
4567
|
/**
|
|
4630
|
-
*
|
|
4631
|
-
* @summary List
|
|
4568
|
+
* Returns the list of stored tools.
|
|
4569
|
+
* @summary List Tools
|
|
4632
4570
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4633
4571
|
* @param {*} [options] Override http request option.
|
|
4634
4572
|
* @throws {RequiredError}
|
|
4635
4573
|
*/
|
|
4636
|
-
async
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
const
|
|
4640
|
-
|
|
4574
|
+
listStoredCollisionTools: async (cell, options = {}) => {
|
|
4575
|
+
// verify required parameter 'cell' is not null or undefined
|
|
4576
|
+
assertParamExists('listStoredCollisionTools', 'cell', cell);
|
|
4577
|
+
const localVarPath = `/cells/{cell}/store/collision/tools`
|
|
4578
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
4579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4580
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4581
|
+
let baseOptions;
|
|
4582
|
+
if (configuration) {
|
|
4583
|
+
baseOptions = configuration.baseOptions;
|
|
4584
|
+
}
|
|
4585
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4586
|
+
const localVarHeaderParameter = {};
|
|
4587
|
+
const localVarQueryParameter = {};
|
|
4588
|
+
// authentication BasicAuth required
|
|
4589
|
+
// http basic authentication required
|
|
4590
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4591
|
+
// authentication BearerAuth required
|
|
4592
|
+
// http bearer authentication required
|
|
4593
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4594
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4595
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4596
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4597
|
+
return {
|
|
4598
|
+
url: toPathString(localVarUrlObj),
|
|
4599
|
+
options: localVarRequestOptions,
|
|
4600
|
+
};
|
|
4641
4601
|
},
|
|
4642
4602
|
/**
|
|
4643
|
-
*
|
|
4644
|
-
* @summary
|
|
4603
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
4604
|
+
* @summary Store Collider
|
|
4645
4605
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4646
|
-
* @param {
|
|
4606
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
4607
|
+
* @param {Collider} collider2
|
|
4647
4608
|
* @param {*} [options] Override http request option.
|
|
4648
4609
|
* @throws {RequiredError}
|
|
4649
4610
|
*/
|
|
4650
|
-
async
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4611
|
+
storeCollider: async (cell, collider, collider2, options = {}) => {
|
|
4612
|
+
// verify required parameter 'cell' is not null or undefined
|
|
4613
|
+
assertParamExists('storeCollider', 'cell', cell);
|
|
4614
|
+
// verify required parameter 'collider' is not null or undefined
|
|
4615
|
+
assertParamExists('storeCollider', 'collider', collider);
|
|
4616
|
+
// verify required parameter 'collider2' is not null or undefined
|
|
4617
|
+
assertParamExists('storeCollider', 'collider2', collider2);
|
|
4618
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
4619
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4620
|
+
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
4621
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4622
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4623
|
+
let baseOptions;
|
|
4624
|
+
if (configuration) {
|
|
4625
|
+
baseOptions = configuration.baseOptions;
|
|
4626
|
+
}
|
|
4627
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4628
|
+
const localVarHeaderParameter = {};
|
|
4629
|
+
const localVarQueryParameter = {};
|
|
4630
|
+
// authentication BasicAuth required
|
|
4631
|
+
// http basic authentication required
|
|
4632
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4633
|
+
// authentication BearerAuth required
|
|
4634
|
+
// http bearer authentication required
|
|
4635
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4636
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4637
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4638
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4639
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4640
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collider2, localVarRequestOptions, configuration);
|
|
4641
|
+
return {
|
|
4642
|
+
url: toPathString(localVarUrlObj),
|
|
4643
|
+
options: localVarRequestOptions,
|
|
4644
|
+
};
|
|
4655
4645
|
},
|
|
4656
4646
|
/**
|
|
4657
|
-
*
|
|
4658
|
-
* @summary
|
|
4647
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
4648
|
+
* @summary Store Link Chain
|
|
4659
4649
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4650
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
4651
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
4660
4652
|
* @param {*} [options] Override http request option.
|
|
4661
4653
|
* @throws {RequiredError}
|
|
4662
4654
|
*/
|
|
4663
|
-
async
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4655
|
+
storeCollisionLinkChain: async (cell, linkChain, collider, options = {}) => {
|
|
4656
|
+
// verify required parameter 'cell' is not null or undefined
|
|
4657
|
+
assertParamExists('storeCollisionLinkChain', 'cell', cell);
|
|
4658
|
+
// verify required parameter 'linkChain' is not null or undefined
|
|
4659
|
+
assertParamExists('storeCollisionLinkChain', 'linkChain', linkChain);
|
|
4660
|
+
// verify required parameter 'collider' is not null or undefined
|
|
4661
|
+
assertParamExists('storeCollisionLinkChain', 'collider', collider);
|
|
4662
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
4663
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4664
|
+
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
4665
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4666
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4667
|
+
let baseOptions;
|
|
4668
|
+
if (configuration) {
|
|
4669
|
+
baseOptions = configuration.baseOptions;
|
|
4670
|
+
}
|
|
4671
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4672
|
+
const localVarHeaderParameter = {};
|
|
4673
|
+
const localVarQueryParameter = {};
|
|
4674
|
+
// authentication BasicAuth required
|
|
4675
|
+
// http basic authentication required
|
|
4676
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4677
|
+
// authentication BearerAuth required
|
|
4678
|
+
// http bearer authentication required
|
|
4679
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4680
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4681
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4682
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4683
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4684
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collider, localVarRequestOptions, configuration);
|
|
4685
|
+
return {
|
|
4686
|
+
url: toPathString(localVarUrlObj),
|
|
4687
|
+
options: localVarRequestOptions,
|
|
4688
|
+
};
|
|
4668
4689
|
},
|
|
4669
4690
|
/**
|
|
4670
|
-
*
|
|
4671
|
-
* @summary
|
|
4691
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
4692
|
+
* @summary Store Tool
|
|
4672
4693
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4673
|
-
* @param {string}
|
|
4694
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
4695
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
4674
4696
|
* @param {*} [options] Override http request option.
|
|
4675
4697
|
* @throws {RequiredError}
|
|
4676
4698
|
*/
|
|
4677
|
-
async
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
const
|
|
4694
|
-
const
|
|
4695
|
-
|
|
4699
|
+
storeCollisionTool: async (cell, tool, requestBody, options = {}) => {
|
|
4700
|
+
// verify required parameter 'cell' is not null or undefined
|
|
4701
|
+
assertParamExists('storeCollisionTool', 'cell', cell);
|
|
4702
|
+
// verify required parameter 'tool' is not null or undefined
|
|
4703
|
+
assertParamExists('storeCollisionTool', 'tool', tool);
|
|
4704
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
4705
|
+
assertParamExists('storeCollisionTool', 'requestBody', requestBody);
|
|
4706
|
+
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
4707
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4708
|
+
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
4709
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4710
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4711
|
+
let baseOptions;
|
|
4712
|
+
if (configuration) {
|
|
4713
|
+
baseOptions = configuration.baseOptions;
|
|
4714
|
+
}
|
|
4715
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4716
|
+
const localVarHeaderParameter = {};
|
|
4717
|
+
const localVarQueryParameter = {};
|
|
4718
|
+
// authentication BasicAuth required
|
|
4719
|
+
// http basic authentication required
|
|
4720
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4721
|
+
// authentication BearerAuth required
|
|
4722
|
+
// http bearer authentication required
|
|
4723
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4724
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4725
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4727
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4728
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
4729
|
+
return {
|
|
4730
|
+
url: toPathString(localVarUrlObj),
|
|
4731
|
+
options: localVarRequestOptions,
|
|
4732
|
+
};
|
|
4696
4733
|
},
|
|
4697
4734
|
};
|
|
4698
4735
|
};
|
|
4699
4736
|
/**
|
|
4700
|
-
*
|
|
4737
|
+
* StoreCollisionComponentsApi - functional programming interface
|
|
4701
4738
|
* @export
|
|
4702
4739
|
*/
|
|
4703
|
-
export const
|
|
4704
|
-
const
|
|
4740
|
+
export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
4741
|
+
const localVarAxiosParamCreator = StoreCollisionComponentsApiAxiosParamCreator(configuration);
|
|
4705
4742
|
return {
|
|
4706
4743
|
/**
|
|
4707
|
-
*
|
|
4708
|
-
* @summary
|
|
4744
|
+
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
4745
|
+
* @summary Delete Collider
|
|
4746
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4747
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
4748
|
+
* @param {*} [options] Override http request option.
|
|
4749
|
+
* @throws {RequiredError}
|
|
4750
|
+
*/
|
|
4751
|
+
async deleteStoredCollider(cell, collider, options) {
|
|
4752
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollider(cell, collider, options);
|
|
4753
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4754
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
4755
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4756
|
+
},
|
|
4757
|
+
/**
|
|
4758
|
+
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
4759
|
+
* @summary Delete Link Chain
|
|
4760
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4761
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
4762
|
+
* @param {*} [options] Override http request option.
|
|
4763
|
+
* @throws {RequiredError}
|
|
4764
|
+
*/
|
|
4765
|
+
async deleteStoredCollisionLinkChain(cell, linkChain, options) {
|
|
4766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionLinkChain(cell, linkChain, options);
|
|
4767
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4768
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
4769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4770
|
+
},
|
|
4771
|
+
/**
|
|
4772
|
+
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
4773
|
+
* @summary Delete Tool
|
|
4774
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4775
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
4776
|
+
* @param {*} [options] Override http request option.
|
|
4777
|
+
* @throws {RequiredError}
|
|
4778
|
+
*/
|
|
4779
|
+
async deleteStoredCollisionTool(cell, tool, options) {
|
|
4780
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionTool(cell, tool, options);
|
|
4781
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4782
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
4783
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4784
|
+
},
|
|
4785
|
+
/**
|
|
4786
|
+
* Returns the collider.
|
|
4787
|
+
* @summary Get Collider
|
|
4788
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4789
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
4790
|
+
* @param {*} [options] Override http request option.
|
|
4791
|
+
* @throws {RequiredError}
|
|
4792
|
+
*/
|
|
4793
|
+
async getStoredCollider(cell, collider, options) {
|
|
4794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollider(cell, collider, options);
|
|
4795
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4796
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
4797
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4798
|
+
},
|
|
4799
|
+
/**
|
|
4800
|
+
* Returns the collision link chain.
|
|
4801
|
+
* @summary Get Link Chain
|
|
4709
4802
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4710
|
-
* @param {
|
|
4803
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
4711
4804
|
* @param {*} [options] Override http request option.
|
|
4712
4805
|
* @throws {RequiredError}
|
|
4713
4806
|
*/
|
|
4714
|
-
|
|
4715
|
-
|
|
4807
|
+
async getStoredCollisionLinkChain(cell, linkChain, options) {
|
|
4808
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionLinkChain(cell, linkChain, options);
|
|
4809
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4810
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
4811
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4716
4812
|
},
|
|
4717
4813
|
/**
|
|
4718
|
-
*
|
|
4719
|
-
* @summary
|
|
4814
|
+
* Returns the stored tool.
|
|
4815
|
+
* @summary Get Tool
|
|
4720
4816
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4721
|
-
* @param {
|
|
4817
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
4722
4818
|
* @param {*} [options] Override http request option.
|
|
4723
4819
|
* @throws {RequiredError}
|
|
4724
4820
|
*/
|
|
4725
|
-
|
|
4726
|
-
|
|
4821
|
+
async getStoredCollisionTool(cell, tool, options) {
|
|
4822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionTool(cell, tool, options);
|
|
4823
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4824
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
4825
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4727
4826
|
},
|
|
4728
4827
|
/**
|
|
4729
|
-
* Returns
|
|
4730
|
-
* @summary
|
|
4828
|
+
* Returns the stored link chains.
|
|
4829
|
+
* @summary List Link Chains
|
|
4731
4830
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4732
|
-
* @param {string} run
|
|
4733
4831
|
* @param {*} [options] Override http request option.
|
|
4734
4832
|
* @throws {RequiredError}
|
|
4735
4833
|
*/
|
|
4736
|
-
|
|
4737
|
-
|
|
4834
|
+
async listCollisionLinkChains(cell, options) {
|
|
4835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCollisionLinkChains(cell, options);
|
|
4836
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4837
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listCollisionLinkChains']?.[localVarOperationServerIndex]?.url;
|
|
4838
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4738
4839
|
},
|
|
4739
4840
|
/**
|
|
4740
|
-
*
|
|
4741
|
-
* @summary List
|
|
4841
|
+
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
4842
|
+
* @summary List Colliders
|
|
4742
4843
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4743
4844
|
* @param {*} [options] Override http request option.
|
|
4744
4845
|
* @throws {RequiredError}
|
|
4745
4846
|
*/
|
|
4746
|
-
|
|
4747
|
-
|
|
4847
|
+
async listStoredColliders(cell, options) {
|
|
4848
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredColliders(cell, options);
|
|
4849
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4850
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredColliders']?.[localVarOperationServerIndex]?.url;
|
|
4851
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4748
4852
|
},
|
|
4749
4853
|
/**
|
|
4750
|
-
*
|
|
4751
|
-
* @summary
|
|
4854
|
+
* Returns the list of stored tools.
|
|
4855
|
+
* @summary List Tools
|
|
4752
4856
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4753
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4754
4857
|
* @param {*} [options] Override http request option.
|
|
4755
4858
|
* @throws {RequiredError}
|
|
4756
4859
|
*/
|
|
4757
|
-
|
|
4758
|
-
|
|
4860
|
+
async listStoredCollisionTools(cell, options) {
|
|
4861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionTools(cell, options);
|
|
4862
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4863
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredCollisionTools']?.[localVarOperationServerIndex]?.url;
|
|
4864
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4759
4865
|
},
|
|
4760
4866
|
/**
|
|
4761
|
-
*
|
|
4762
|
-
* @summary
|
|
4867
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
4868
|
+
* @summary Store Collider
|
|
4763
4869
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4870
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
4871
|
+
* @param {Collider} collider2
|
|
4764
4872
|
* @param {*} [options] Override http request option.
|
|
4765
4873
|
* @throws {RequiredError}
|
|
4766
4874
|
*/
|
|
4767
|
-
|
|
4768
|
-
|
|
4875
|
+
async storeCollider(cell, collider, collider2, options) {
|
|
4876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollider(cell, collider, collider2, options);
|
|
4877
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4878
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollider']?.[localVarOperationServerIndex]?.url;
|
|
4879
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4769
4880
|
},
|
|
4770
4881
|
/**
|
|
4771
|
-
*
|
|
4772
|
-
* @summary
|
|
4882
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
4883
|
+
* @summary Store Link Chain
|
|
4773
4884
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4774
|
-
* @param {string}
|
|
4885
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
4886
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
4775
4887
|
* @param {*} [options] Override http request option.
|
|
4776
4888
|
* @throws {RequiredError}
|
|
4777
4889
|
*/
|
|
4778
|
-
|
|
4779
|
-
|
|
4890
|
+
async storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
4891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionLinkChain(cell, linkChain, collider, options);
|
|
4892
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4893
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
4894
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4780
4895
|
},
|
|
4781
4896
|
/**
|
|
4782
|
-
*
|
|
4783
|
-
* @summary
|
|
4897
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
4898
|
+
* @summary Store Tool
|
|
4784
4899
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4785
|
-
* @param {
|
|
4900
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
4901
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
4786
4902
|
* @param {*} [options] Override http request option.
|
|
4787
4903
|
* @throws {RequiredError}
|
|
4788
4904
|
*/
|
|
4789
|
-
|
|
4790
|
-
|
|
4905
|
+
async storeCollisionTool(cell, tool, requestBody, options) {
|
|
4906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionTool(cell, tool, requestBody, options);
|
|
4907
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4908
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
4909
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4791
4910
|
},
|
|
4792
4911
|
};
|
|
4793
4912
|
};
|
|
4794
4913
|
/**
|
|
4795
|
-
*
|
|
4796
|
-
* @export
|
|
4797
|
-
* @class ProgramApi
|
|
4798
|
-
* @extends {BaseAPI}
|
|
4799
|
-
*/
|
|
4800
|
-
export class ProgramApi extends BaseAPI {
|
|
4801
|
-
/**
|
|
4802
|
-
* This endpoint accepts a program and if desired, initial arguments (in the form of a dict). The program will be executed asynchronously. It returns a program run reference which can be used to query the state of the program run. ## Receiving state updates Receive state updates of the program run via polling the `/programs/runs/{run_id}/` ### Via polling You can receive updates about the state of the program run by polling the `/programs/runs/{run_id}/` endpoint.
|
|
4803
|
-
* @summary Create program run
|
|
4804
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4805
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4806
|
-
* @param {*} [options] Override http request option.
|
|
4807
|
-
* @throws {RequiredError}
|
|
4808
|
-
* @memberof ProgramApi
|
|
4809
|
-
*/
|
|
4810
|
-
createProgramRun(cell, programRunRequest, options) {
|
|
4811
|
-
return ProgramApiFp(this.configuration).createProgramRun(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4812
|
-
}
|
|
4813
|
-
/**
|
|
4814
|
-
* Execute a program synchronously. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a successful execution. Otherwise an error (e.g. out of reach, singularity), is returned.
|
|
4815
|
-
* @summary Execute program
|
|
4816
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4817
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4818
|
-
* @param {*} [options] Override http request option.
|
|
4819
|
-
* @throws {RequiredError}
|
|
4820
|
-
* @memberof ProgramApi
|
|
4821
|
-
*/
|
|
4822
|
-
executeProgram(cell, programRunRequest, options) {
|
|
4823
|
-
return ProgramApiFp(this.configuration).executeProgram(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4824
|
-
}
|
|
4825
|
-
/**
|
|
4826
|
-
* Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
|
|
4827
|
-
* @summary Get program run
|
|
4828
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4829
|
-
* @param {string} run
|
|
4830
|
-
* @param {*} [options] Override http request option.
|
|
4831
|
-
* @throws {RequiredError}
|
|
4832
|
-
* @memberof ProgramApi
|
|
4833
|
-
*/
|
|
4834
|
-
getProgramRun(cell, run, options) {
|
|
4835
|
-
return ProgramApiFp(this.configuration).getProgramRun(cell, run, options).then((request) => request(this.axios, this.basePath));
|
|
4836
|
-
}
|
|
4837
|
-
/**
|
|
4838
|
-
* Get details about all existing runs
|
|
4839
|
-
* @summary List programs
|
|
4840
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4841
|
-
* @param {*} [options] Override http request option.
|
|
4842
|
-
* @throws {RequiredError}
|
|
4843
|
-
* @memberof ProgramApi
|
|
4844
|
-
*/
|
|
4845
|
-
getProgramRuns(cell, options) {
|
|
4846
|
-
return ProgramApiFp(this.configuration).getProgramRuns(cell, options).then((request) => request(this.axios, this.basePath));
|
|
4847
|
-
}
|
|
4848
|
-
/**
|
|
4849
|
-
* Simulate a program given as text/plain
|
|
4850
|
-
* @summary Simulate program
|
|
4851
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4852
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4853
|
-
* @param {*} [options] Override http request option.
|
|
4854
|
-
* @throws {RequiredError}
|
|
4855
|
-
* @memberof ProgramApi
|
|
4856
|
-
*/
|
|
4857
|
-
simulateProgram(cell, programRunRequest, options) {
|
|
4858
|
-
return ProgramApiFp(this.configuration).simulateProgram(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4859
|
-
}
|
|
4860
|
-
/**
|
|
4861
|
-
* Stop all runs
|
|
4862
|
-
* @summary Stop all programs
|
|
4863
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4864
|
-
* @param {*} [options] Override http request option.
|
|
4865
|
-
* @throws {RequiredError}
|
|
4866
|
-
* @memberof ProgramApi
|
|
4867
|
-
*/
|
|
4868
|
-
stopAllPrograms(cell, options) {
|
|
4869
|
-
return ProgramApiFp(this.configuration).stopAllPrograms(cell, options).then((request) => request(this.axios, this.basePath));
|
|
4870
|
-
}
|
|
4871
|
-
/**
|
|
4872
|
-
* Stop a specific program run.
|
|
4873
|
-
* @summary Stop program run
|
|
4874
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4875
|
-
* @param {string} run
|
|
4876
|
-
* @param {*} [options] Override http request option.
|
|
4877
|
-
* @throws {RequiredError}
|
|
4878
|
-
* @memberof ProgramApi
|
|
4879
|
-
*/
|
|
4880
|
-
stopProgramRun(cell, run, options) {
|
|
4881
|
-
return ProgramApiFp(this.configuration).stopProgramRun(cell, run, options).then((request) => request(this.axios, this.basePath));
|
|
4882
|
-
}
|
|
4883
|
-
/**
|
|
4884
|
-
* Validate a program
|
|
4885
|
-
* @summary Validate program
|
|
4886
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4887
|
-
* @param {ProgramRunRequest} programRunRequest
|
|
4888
|
-
* @param {*} [options] Override http request option.
|
|
4889
|
-
* @throws {RequiredError}
|
|
4890
|
-
* @memberof ProgramApi
|
|
4891
|
-
*/
|
|
4892
|
-
validateProgram(cell, programRunRequest, options) {
|
|
4893
|
-
return ProgramApiFp(this.configuration).validateProgram(cell, programRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4894
|
-
}
|
|
4895
|
-
}
|
|
4896
|
-
/**
|
|
4897
|
-
* StoreCollisionComponentsApi - axios parameter creator
|
|
4914
|
+
* StoreCollisionComponentsApi - factory interface
|
|
4898
4915
|
* @export
|
|
4899
4916
|
*/
|
|
4900
|
-
export const
|
|
4917
|
+
export const StoreCollisionComponentsApiFactory = function (configuration, basePath, axios) {
|
|
4918
|
+
const localVarFp = StoreCollisionComponentsApiFp(configuration);
|
|
4901
4919
|
return {
|
|
4902
4920
|
/**
|
|
4903
4921
|
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -4907,36 +4925,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
4907
4925
|
* @param {*} [options] Override http request option.
|
|
4908
4926
|
* @throws {RequiredError}
|
|
4909
4927
|
*/
|
|
4910
|
-
deleteStoredCollider
|
|
4911
|
-
|
|
4912
|
-
assertParamExists('deleteStoredCollider', 'cell', cell);
|
|
4913
|
-
// verify required parameter 'collider' is not null or undefined
|
|
4914
|
-
assertParamExists('deleteStoredCollider', 'collider', collider);
|
|
4915
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
4916
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4917
|
-
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
4918
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4919
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4920
|
-
let baseOptions;
|
|
4921
|
-
if (configuration) {
|
|
4922
|
-
baseOptions = configuration.baseOptions;
|
|
4923
|
-
}
|
|
4924
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4925
|
-
const localVarHeaderParameter = {};
|
|
4926
|
-
const localVarQueryParameter = {};
|
|
4927
|
-
// authentication BasicAuth required
|
|
4928
|
-
// http basic authentication required
|
|
4929
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4930
|
-
// authentication BearerAuth required
|
|
4931
|
-
// http bearer authentication required
|
|
4932
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4933
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4934
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4935
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4936
|
-
return {
|
|
4937
|
-
url: toPathString(localVarUrlObj),
|
|
4938
|
-
options: localVarRequestOptions,
|
|
4939
|
-
};
|
|
4928
|
+
deleteStoredCollider(cell, collider, options) {
|
|
4929
|
+
return localVarFp.deleteStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
4940
4930
|
},
|
|
4941
4931
|
/**
|
|
4942
4932
|
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -4946,36 +4936,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
4946
4936
|
* @param {*} [options] Override http request option.
|
|
4947
4937
|
* @throws {RequiredError}
|
|
4948
4938
|
*/
|
|
4949
|
-
deleteStoredCollisionLinkChain
|
|
4950
|
-
|
|
4951
|
-
assertParamExists('deleteStoredCollisionLinkChain', 'cell', cell);
|
|
4952
|
-
// verify required parameter 'linkChain' is not null or undefined
|
|
4953
|
-
assertParamExists('deleteStoredCollisionLinkChain', 'linkChain', linkChain);
|
|
4954
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
4955
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4956
|
-
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
4957
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4958
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4959
|
-
let baseOptions;
|
|
4960
|
-
if (configuration) {
|
|
4961
|
-
baseOptions = configuration.baseOptions;
|
|
4962
|
-
}
|
|
4963
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4964
|
-
const localVarHeaderParameter = {};
|
|
4965
|
-
const localVarQueryParameter = {};
|
|
4966
|
-
// authentication BasicAuth required
|
|
4967
|
-
// http basic authentication required
|
|
4968
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4969
|
-
// authentication BearerAuth required
|
|
4970
|
-
// http bearer authentication required
|
|
4971
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4972
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4973
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4974
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4975
|
-
return {
|
|
4976
|
-
url: toPathString(localVarUrlObj),
|
|
4977
|
-
options: localVarRequestOptions,
|
|
4978
|
-
};
|
|
4939
|
+
deleteStoredCollisionLinkChain(cell, linkChain, options) {
|
|
4940
|
+
return localVarFp.deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
4979
4941
|
},
|
|
4980
4942
|
/**
|
|
4981
4943
|
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -4985,36 +4947,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
4985
4947
|
* @param {*} [options] Override http request option.
|
|
4986
4948
|
* @throws {RequiredError}
|
|
4987
4949
|
*/
|
|
4988
|
-
deleteStoredCollisionTool
|
|
4989
|
-
|
|
4990
|
-
assertParamExists('deleteStoredCollisionTool', 'cell', cell);
|
|
4991
|
-
// verify required parameter 'tool' is not null or undefined
|
|
4992
|
-
assertParamExists('deleteStoredCollisionTool', 'tool', tool);
|
|
4993
|
-
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
4994
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4995
|
-
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
4996
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4997
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4998
|
-
let baseOptions;
|
|
4999
|
-
if (configuration) {
|
|
5000
|
-
baseOptions = configuration.baseOptions;
|
|
5001
|
-
}
|
|
5002
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
5003
|
-
const localVarHeaderParameter = {};
|
|
5004
|
-
const localVarQueryParameter = {};
|
|
5005
|
-
// authentication BasicAuth required
|
|
5006
|
-
// http basic authentication required
|
|
5007
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5008
|
-
// authentication BearerAuth required
|
|
5009
|
-
// http bearer authentication required
|
|
5010
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5011
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5012
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5013
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5014
|
-
return {
|
|
5015
|
-
url: toPathString(localVarUrlObj),
|
|
5016
|
-
options: localVarRequestOptions,
|
|
5017
|
-
};
|
|
4950
|
+
deleteStoredCollisionTool(cell, tool, options) {
|
|
4951
|
+
return localVarFp.deleteStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
5018
4952
|
},
|
|
5019
4953
|
/**
|
|
5020
4954
|
* Returns the collider.
|
|
@@ -5024,36 +4958,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5024
4958
|
* @param {*} [options] Override http request option.
|
|
5025
4959
|
* @throws {RequiredError}
|
|
5026
4960
|
*/
|
|
5027
|
-
getStoredCollider
|
|
5028
|
-
|
|
5029
|
-
assertParamExists('getStoredCollider', 'cell', cell);
|
|
5030
|
-
// verify required parameter 'collider' is not null or undefined
|
|
5031
|
-
assertParamExists('getStoredCollider', 'collider', collider);
|
|
5032
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
5033
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5034
|
-
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
5035
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5036
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5037
|
-
let baseOptions;
|
|
5038
|
-
if (configuration) {
|
|
5039
|
-
baseOptions = configuration.baseOptions;
|
|
5040
|
-
}
|
|
5041
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5042
|
-
const localVarHeaderParameter = {};
|
|
5043
|
-
const localVarQueryParameter = {};
|
|
5044
|
-
// authentication BasicAuth required
|
|
5045
|
-
// http basic authentication required
|
|
5046
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5047
|
-
// authentication BearerAuth required
|
|
5048
|
-
// http bearer authentication required
|
|
5049
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5050
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5051
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5052
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5053
|
-
return {
|
|
5054
|
-
url: toPathString(localVarUrlObj),
|
|
5055
|
-
options: localVarRequestOptions,
|
|
5056
|
-
};
|
|
4961
|
+
getStoredCollider(cell, collider, options) {
|
|
4962
|
+
return localVarFp.getStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
5057
4963
|
},
|
|
5058
4964
|
/**
|
|
5059
4965
|
* Returns the collision link chain.
|
|
@@ -5063,36 +4969,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5063
4969
|
* @param {*} [options] Override http request option.
|
|
5064
4970
|
* @throws {RequiredError}
|
|
5065
4971
|
*/
|
|
5066
|
-
getStoredCollisionLinkChain
|
|
5067
|
-
|
|
5068
|
-
assertParamExists('getStoredCollisionLinkChain', 'cell', cell);
|
|
5069
|
-
// verify required parameter 'linkChain' is not null or undefined
|
|
5070
|
-
assertParamExists('getStoredCollisionLinkChain', 'linkChain', linkChain);
|
|
5071
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
5072
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5073
|
-
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
5074
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5075
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5076
|
-
let baseOptions;
|
|
5077
|
-
if (configuration) {
|
|
5078
|
-
baseOptions = configuration.baseOptions;
|
|
5079
|
-
}
|
|
5080
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5081
|
-
const localVarHeaderParameter = {};
|
|
5082
|
-
const localVarQueryParameter = {};
|
|
5083
|
-
// authentication BasicAuth required
|
|
5084
|
-
// http basic authentication required
|
|
5085
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5086
|
-
// authentication BearerAuth required
|
|
5087
|
-
// http bearer authentication required
|
|
5088
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5089
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5090
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5091
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5092
|
-
return {
|
|
5093
|
-
url: toPathString(localVarUrlObj),
|
|
5094
|
-
options: localVarRequestOptions,
|
|
5095
|
-
};
|
|
4972
|
+
getStoredCollisionLinkChain(cell, linkChain, options) {
|
|
4973
|
+
return localVarFp.getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
5096
4974
|
},
|
|
5097
4975
|
/**
|
|
5098
4976
|
* Returns the stored tool.
|
|
@@ -5102,36 +4980,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5102
4980
|
* @param {*} [options] Override http request option.
|
|
5103
4981
|
* @throws {RequiredError}
|
|
5104
4982
|
*/
|
|
5105
|
-
getStoredCollisionTool
|
|
5106
|
-
|
|
5107
|
-
assertParamExists('getStoredCollisionTool', 'cell', cell);
|
|
5108
|
-
// verify required parameter 'tool' is not null or undefined
|
|
5109
|
-
assertParamExists('getStoredCollisionTool', 'tool', tool);
|
|
5110
|
-
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
5111
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5112
|
-
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
5113
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5114
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5115
|
-
let baseOptions;
|
|
5116
|
-
if (configuration) {
|
|
5117
|
-
baseOptions = configuration.baseOptions;
|
|
5118
|
-
}
|
|
5119
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5120
|
-
const localVarHeaderParameter = {};
|
|
5121
|
-
const localVarQueryParameter = {};
|
|
5122
|
-
// authentication BasicAuth required
|
|
5123
|
-
// http basic authentication required
|
|
5124
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5125
|
-
// authentication BearerAuth required
|
|
5126
|
-
// http bearer authentication required
|
|
5127
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5128
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5129
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5130
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5131
|
-
return {
|
|
5132
|
-
url: toPathString(localVarUrlObj),
|
|
5133
|
-
options: localVarRequestOptions,
|
|
5134
|
-
};
|
|
4983
|
+
getStoredCollisionTool(cell, tool, options) {
|
|
4984
|
+
return localVarFp.getStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
5135
4985
|
},
|
|
5136
4986
|
/**
|
|
5137
4987
|
* Returns the stored link chains.
|
|
@@ -5140,33 +4990,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5140
4990
|
* @param {*} [options] Override http request option.
|
|
5141
4991
|
* @throws {RequiredError}
|
|
5142
4992
|
*/
|
|
5143
|
-
listCollisionLinkChains
|
|
5144
|
-
|
|
5145
|
-
assertParamExists('listCollisionLinkChains', 'cell', cell);
|
|
5146
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains`
|
|
5147
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5148
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5149
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5150
|
-
let baseOptions;
|
|
5151
|
-
if (configuration) {
|
|
5152
|
-
baseOptions = configuration.baseOptions;
|
|
5153
|
-
}
|
|
5154
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5155
|
-
const localVarHeaderParameter = {};
|
|
5156
|
-
const localVarQueryParameter = {};
|
|
5157
|
-
// authentication BasicAuth required
|
|
5158
|
-
// http basic authentication required
|
|
5159
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5160
|
-
// authentication BearerAuth required
|
|
5161
|
-
// http bearer authentication required
|
|
5162
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5163
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5164
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5165
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5166
|
-
return {
|
|
5167
|
-
url: toPathString(localVarUrlObj),
|
|
5168
|
-
options: localVarRequestOptions,
|
|
5169
|
-
};
|
|
4993
|
+
listCollisionLinkChains(cell, options) {
|
|
4994
|
+
return localVarFp.listCollisionLinkChains(cell, options).then((request) => request(axios, basePath));
|
|
5170
4995
|
},
|
|
5171
4996
|
/**
|
|
5172
4997
|
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
@@ -5175,33 +5000,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5175
5000
|
* @param {*} [options] Override http request option.
|
|
5176
5001
|
* @throws {RequiredError}
|
|
5177
5002
|
*/
|
|
5178
|
-
listStoredColliders
|
|
5179
|
-
|
|
5180
|
-
assertParamExists('listStoredColliders', 'cell', cell);
|
|
5181
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders`
|
|
5182
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5183
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5184
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5185
|
-
let baseOptions;
|
|
5186
|
-
if (configuration) {
|
|
5187
|
-
baseOptions = configuration.baseOptions;
|
|
5188
|
-
}
|
|
5189
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5190
|
-
const localVarHeaderParameter = {};
|
|
5191
|
-
const localVarQueryParameter = {};
|
|
5192
|
-
// authentication BasicAuth required
|
|
5193
|
-
// http basic authentication required
|
|
5194
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5195
|
-
// authentication BearerAuth required
|
|
5196
|
-
// http bearer authentication required
|
|
5197
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5198
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5199
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5200
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5201
|
-
return {
|
|
5202
|
-
url: toPathString(localVarUrlObj),
|
|
5203
|
-
options: localVarRequestOptions,
|
|
5204
|
-
};
|
|
5003
|
+
listStoredColliders(cell, options) {
|
|
5004
|
+
return localVarFp.listStoredColliders(cell, options).then((request) => request(axios, basePath));
|
|
5205
5005
|
},
|
|
5206
5006
|
/**
|
|
5207
5007
|
* Returns the list of stored tools.
|
|
@@ -5210,33 +5010,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5210
5010
|
* @param {*} [options] Override http request option.
|
|
5211
5011
|
* @throws {RequiredError}
|
|
5212
5012
|
*/
|
|
5213
|
-
listStoredCollisionTools
|
|
5214
|
-
|
|
5215
|
-
assertParamExists('listStoredCollisionTools', 'cell', cell);
|
|
5216
|
-
const localVarPath = `/cells/{cell}/store/collision/tools`
|
|
5217
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5218
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5219
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5220
|
-
let baseOptions;
|
|
5221
|
-
if (configuration) {
|
|
5222
|
-
baseOptions = configuration.baseOptions;
|
|
5223
|
-
}
|
|
5224
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5225
|
-
const localVarHeaderParameter = {};
|
|
5226
|
-
const localVarQueryParameter = {};
|
|
5227
|
-
// authentication BasicAuth required
|
|
5228
|
-
// http basic authentication required
|
|
5229
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5230
|
-
// authentication BearerAuth required
|
|
5231
|
-
// http bearer authentication required
|
|
5232
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5233
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5234
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5235
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5236
|
-
return {
|
|
5237
|
-
url: toPathString(localVarUrlObj),
|
|
5238
|
-
options: localVarRequestOptions,
|
|
5239
|
-
};
|
|
5013
|
+
listStoredCollisionTools(cell, options) {
|
|
5014
|
+
return localVarFp.listStoredCollisionTools(cell, options).then((request) => request(axios, basePath));
|
|
5240
5015
|
},
|
|
5241
5016
|
/**
|
|
5242
5017
|
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
@@ -5247,40 +5022,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5247
5022
|
* @param {*} [options] Override http request option.
|
|
5248
5023
|
* @throws {RequiredError}
|
|
5249
5024
|
*/
|
|
5250
|
-
storeCollider
|
|
5251
|
-
|
|
5252
|
-
assertParamExists('storeCollider', 'cell', cell);
|
|
5253
|
-
// verify required parameter 'collider' is not null or undefined
|
|
5254
|
-
assertParamExists('storeCollider', 'collider', collider);
|
|
5255
|
-
// verify required parameter 'collider2' is not null or undefined
|
|
5256
|
-
assertParamExists('storeCollider', 'collider2', collider2);
|
|
5257
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
5258
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5259
|
-
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
5260
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5261
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5262
|
-
let baseOptions;
|
|
5263
|
-
if (configuration) {
|
|
5264
|
-
baseOptions = configuration.baseOptions;
|
|
5265
|
-
}
|
|
5266
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
5267
|
-
const localVarHeaderParameter = {};
|
|
5268
|
-
const localVarQueryParameter = {};
|
|
5269
|
-
// authentication BasicAuth required
|
|
5270
|
-
// http basic authentication required
|
|
5271
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5272
|
-
// authentication BearerAuth required
|
|
5273
|
-
// http bearer authentication required
|
|
5274
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5275
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5276
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5277
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5278
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5279
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collider2, localVarRequestOptions, configuration);
|
|
5280
|
-
return {
|
|
5281
|
-
url: toPathString(localVarUrlObj),
|
|
5282
|
-
options: localVarRequestOptions,
|
|
5283
|
-
};
|
|
5025
|
+
storeCollider(cell, collider, collider2, options) {
|
|
5026
|
+
return localVarFp.storeCollider(cell, collider, collider2, options).then((request) => request(axios, basePath));
|
|
5284
5027
|
},
|
|
5285
5028
|
/**
|
|
5286
5029
|
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
@@ -5291,40 +5034,8 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5291
5034
|
* @param {*} [options] Override http request option.
|
|
5292
5035
|
* @throws {RequiredError}
|
|
5293
5036
|
*/
|
|
5294
|
-
storeCollisionLinkChain
|
|
5295
|
-
|
|
5296
|
-
assertParamExists('storeCollisionLinkChain', 'cell', cell);
|
|
5297
|
-
// verify required parameter 'linkChain' is not null or undefined
|
|
5298
|
-
assertParamExists('storeCollisionLinkChain', 'linkChain', linkChain);
|
|
5299
|
-
// verify required parameter 'collider' is not null or undefined
|
|
5300
|
-
assertParamExists('storeCollisionLinkChain', 'collider', collider);
|
|
5301
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
5302
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5303
|
-
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
5304
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5305
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5306
|
-
let baseOptions;
|
|
5307
|
-
if (configuration) {
|
|
5308
|
-
baseOptions = configuration.baseOptions;
|
|
5309
|
-
}
|
|
5310
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
5311
|
-
const localVarHeaderParameter = {};
|
|
5312
|
-
const localVarQueryParameter = {};
|
|
5313
|
-
// authentication BasicAuth required
|
|
5314
|
-
// http basic authentication required
|
|
5315
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5316
|
-
// authentication BearerAuth required
|
|
5317
|
-
// http bearer authentication required
|
|
5318
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5319
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5320
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5321
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5322
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5323
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collider, localVarRequestOptions, configuration);
|
|
5324
|
-
return {
|
|
5325
|
-
url: toPathString(localVarUrlObj),
|
|
5326
|
-
options: localVarRequestOptions,
|
|
5327
|
-
};
|
|
5037
|
+
storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
5038
|
+
return localVarFp.storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(axios, basePath));
|
|
5328
5039
|
},
|
|
5329
5040
|
/**
|
|
5330
5041
|
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
@@ -5335,366 +5046,16 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
5335
5046
|
* @param {*} [options] Override http request option.
|
|
5336
5047
|
* @throws {RequiredError}
|
|
5337
5048
|
*/
|
|
5338
|
-
storeCollisionTool
|
|
5339
|
-
|
|
5340
|
-
assertParamExists('storeCollisionTool', 'cell', cell);
|
|
5341
|
-
// verify required parameter 'tool' is not null or undefined
|
|
5342
|
-
assertParamExists('storeCollisionTool', 'tool', tool);
|
|
5343
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
5344
|
-
assertParamExists('storeCollisionTool', 'requestBody', requestBody);
|
|
5345
|
-
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
5346
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5347
|
-
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
5348
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5349
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5350
|
-
let baseOptions;
|
|
5351
|
-
if (configuration) {
|
|
5352
|
-
baseOptions = configuration.baseOptions;
|
|
5353
|
-
}
|
|
5354
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
5355
|
-
const localVarHeaderParameter = {};
|
|
5356
|
-
const localVarQueryParameter = {};
|
|
5357
|
-
// authentication BasicAuth required
|
|
5358
|
-
// http basic authentication required
|
|
5359
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5360
|
-
// authentication BearerAuth required
|
|
5361
|
-
// http bearer authentication required
|
|
5362
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5363
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5364
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5365
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5366
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5367
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
5368
|
-
return {
|
|
5369
|
-
url: toPathString(localVarUrlObj),
|
|
5370
|
-
options: localVarRequestOptions,
|
|
5371
|
-
};
|
|
5049
|
+
storeCollisionTool(cell, tool, requestBody, options) {
|
|
5050
|
+
return localVarFp.storeCollisionTool(cell, tool, requestBody, options).then((request) => request(axios, basePath));
|
|
5372
5051
|
},
|
|
5373
5052
|
};
|
|
5374
5053
|
};
|
|
5375
5054
|
/**
|
|
5376
|
-
* StoreCollisionComponentsApi -
|
|
5055
|
+
* StoreCollisionComponentsApi - object-oriented interface
|
|
5377
5056
|
* @export
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
const localVarAxiosParamCreator = StoreCollisionComponentsApiAxiosParamCreator(configuration);
|
|
5381
|
-
return {
|
|
5382
|
-
/**
|
|
5383
|
-
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5384
|
-
* @summary Delete Collider
|
|
5385
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5386
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
5387
|
-
* @param {*} [options] Override http request option.
|
|
5388
|
-
* @throws {RequiredError}
|
|
5389
|
-
*/
|
|
5390
|
-
async deleteStoredCollider(cell, collider, options) {
|
|
5391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollider(cell, collider, options);
|
|
5392
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5393
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
5394
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5395
|
-
},
|
|
5396
|
-
/**
|
|
5397
|
-
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5398
|
-
* @summary Delete Link Chain
|
|
5399
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5400
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5401
|
-
* @param {*} [options] Override http request option.
|
|
5402
|
-
* @throws {RequiredError}
|
|
5403
|
-
*/
|
|
5404
|
-
async deleteStoredCollisionLinkChain(cell, linkChain, options) {
|
|
5405
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionLinkChain(cell, linkChain, options);
|
|
5406
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5407
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
5408
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5409
|
-
},
|
|
5410
|
-
/**
|
|
5411
|
-
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5412
|
-
* @summary Delete Tool
|
|
5413
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5414
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5415
|
-
* @param {*} [options] Override http request option.
|
|
5416
|
-
* @throws {RequiredError}
|
|
5417
|
-
*/
|
|
5418
|
-
async deleteStoredCollisionTool(cell, tool, options) {
|
|
5419
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionTool(cell, tool, options);
|
|
5420
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5421
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
5422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5423
|
-
},
|
|
5424
|
-
/**
|
|
5425
|
-
* Returns the collider.
|
|
5426
|
-
* @summary Get Collider
|
|
5427
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5428
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
5429
|
-
* @param {*} [options] Override http request option.
|
|
5430
|
-
* @throws {RequiredError}
|
|
5431
|
-
*/
|
|
5432
|
-
async getStoredCollider(cell, collider, options) {
|
|
5433
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollider(cell, collider, options);
|
|
5434
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5435
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
5436
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5437
|
-
},
|
|
5438
|
-
/**
|
|
5439
|
-
* Returns the collision link chain.
|
|
5440
|
-
* @summary Get Link Chain
|
|
5441
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5442
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5443
|
-
* @param {*} [options] Override http request option.
|
|
5444
|
-
* @throws {RequiredError}
|
|
5445
|
-
*/
|
|
5446
|
-
async getStoredCollisionLinkChain(cell, linkChain, options) {
|
|
5447
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionLinkChain(cell, linkChain, options);
|
|
5448
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5449
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
5450
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5451
|
-
},
|
|
5452
|
-
/**
|
|
5453
|
-
* Returns the stored tool.
|
|
5454
|
-
* @summary Get Tool
|
|
5455
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5456
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5457
|
-
* @param {*} [options] Override http request option.
|
|
5458
|
-
* @throws {RequiredError}
|
|
5459
|
-
*/
|
|
5460
|
-
async getStoredCollisionTool(cell, tool, options) {
|
|
5461
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionTool(cell, tool, options);
|
|
5462
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5463
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
5464
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5465
|
-
},
|
|
5466
|
-
/**
|
|
5467
|
-
* Returns the stored link chains.
|
|
5468
|
-
* @summary List Link Chains
|
|
5469
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5470
|
-
* @param {*} [options] Override http request option.
|
|
5471
|
-
* @throws {RequiredError}
|
|
5472
|
-
*/
|
|
5473
|
-
async listCollisionLinkChains(cell, options) {
|
|
5474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCollisionLinkChains(cell, options);
|
|
5475
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5476
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listCollisionLinkChains']?.[localVarOperationServerIndex]?.url;
|
|
5477
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5478
|
-
},
|
|
5479
|
-
/**
|
|
5480
|
-
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
5481
|
-
* @summary List Colliders
|
|
5482
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5483
|
-
* @param {*} [options] Override http request option.
|
|
5484
|
-
* @throws {RequiredError}
|
|
5485
|
-
*/
|
|
5486
|
-
async listStoredColliders(cell, options) {
|
|
5487
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredColliders(cell, options);
|
|
5488
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5489
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredColliders']?.[localVarOperationServerIndex]?.url;
|
|
5490
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5491
|
-
},
|
|
5492
|
-
/**
|
|
5493
|
-
* Returns the list of stored tools.
|
|
5494
|
-
* @summary List Tools
|
|
5495
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5496
|
-
* @param {*} [options] Override http request option.
|
|
5497
|
-
* @throws {RequiredError}
|
|
5498
|
-
*/
|
|
5499
|
-
async listStoredCollisionTools(cell, options) {
|
|
5500
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionTools(cell, options);
|
|
5501
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5502
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredCollisionTools']?.[localVarOperationServerIndex]?.url;
|
|
5503
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5504
|
-
},
|
|
5505
|
-
/**
|
|
5506
|
-
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
5507
|
-
* @summary Store Collider
|
|
5508
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5509
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
5510
|
-
* @param {Collider} collider2
|
|
5511
|
-
* @param {*} [options] Override http request option.
|
|
5512
|
-
* @throws {RequiredError}
|
|
5513
|
-
*/
|
|
5514
|
-
async storeCollider(cell, collider, collider2, options) {
|
|
5515
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollider(cell, collider, collider2, options);
|
|
5516
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5517
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollider']?.[localVarOperationServerIndex]?.url;
|
|
5518
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5519
|
-
},
|
|
5520
|
-
/**
|
|
5521
|
-
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
5522
|
-
* @summary Store Link Chain
|
|
5523
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5524
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5525
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
5526
|
-
* @param {*} [options] Override http request option.
|
|
5527
|
-
* @throws {RequiredError}
|
|
5528
|
-
*/
|
|
5529
|
-
async storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
5530
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionLinkChain(cell, linkChain, collider, options);
|
|
5531
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5532
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
5533
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5534
|
-
},
|
|
5535
|
-
/**
|
|
5536
|
-
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
5537
|
-
* @summary Store Tool
|
|
5538
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5539
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5540
|
-
* @param {{ [key: string]: Collider; }} requestBody
|
|
5541
|
-
* @param {*} [options] Override http request option.
|
|
5542
|
-
* @throws {RequiredError}
|
|
5543
|
-
*/
|
|
5544
|
-
async storeCollisionTool(cell, tool, requestBody, options) {
|
|
5545
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionTool(cell, tool, requestBody, options);
|
|
5546
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5547
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
5548
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5549
|
-
},
|
|
5550
|
-
};
|
|
5551
|
-
};
|
|
5552
|
-
/**
|
|
5553
|
-
* StoreCollisionComponentsApi - factory interface
|
|
5554
|
-
* @export
|
|
5555
|
-
*/
|
|
5556
|
-
export const StoreCollisionComponentsApiFactory = function (configuration, basePath, axios) {
|
|
5557
|
-
const localVarFp = StoreCollisionComponentsApiFp(configuration);
|
|
5558
|
-
return {
|
|
5559
|
-
/**
|
|
5560
|
-
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5561
|
-
* @summary Delete Collider
|
|
5562
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5563
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
5564
|
-
* @param {*} [options] Override http request option.
|
|
5565
|
-
* @throws {RequiredError}
|
|
5566
|
-
*/
|
|
5567
|
-
deleteStoredCollider(cell, collider, options) {
|
|
5568
|
-
return localVarFp.deleteStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
5569
|
-
},
|
|
5570
|
-
/**
|
|
5571
|
-
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5572
|
-
* @summary Delete Link Chain
|
|
5573
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5574
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5575
|
-
* @param {*} [options] Override http request option.
|
|
5576
|
-
* @throws {RequiredError}
|
|
5577
|
-
*/
|
|
5578
|
-
deleteStoredCollisionLinkChain(cell, linkChain, options) {
|
|
5579
|
-
return localVarFp.deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
5580
|
-
},
|
|
5581
|
-
/**
|
|
5582
|
-
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5583
|
-
* @summary Delete Tool
|
|
5584
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5585
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5586
|
-
* @param {*} [options] Override http request option.
|
|
5587
|
-
* @throws {RequiredError}
|
|
5588
|
-
*/
|
|
5589
|
-
deleteStoredCollisionTool(cell, tool, options) {
|
|
5590
|
-
return localVarFp.deleteStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
5591
|
-
},
|
|
5592
|
-
/**
|
|
5593
|
-
* Returns the collider.
|
|
5594
|
-
* @summary Get Collider
|
|
5595
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5596
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
5597
|
-
* @param {*} [options] Override http request option.
|
|
5598
|
-
* @throws {RequiredError}
|
|
5599
|
-
*/
|
|
5600
|
-
getStoredCollider(cell, collider, options) {
|
|
5601
|
-
return localVarFp.getStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
5602
|
-
},
|
|
5603
|
-
/**
|
|
5604
|
-
* Returns the collision link chain.
|
|
5605
|
-
* @summary Get Link Chain
|
|
5606
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5607
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5608
|
-
* @param {*} [options] Override http request option.
|
|
5609
|
-
* @throws {RequiredError}
|
|
5610
|
-
*/
|
|
5611
|
-
getStoredCollisionLinkChain(cell, linkChain, options) {
|
|
5612
|
-
return localVarFp.getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
5613
|
-
},
|
|
5614
|
-
/**
|
|
5615
|
-
* Returns the stored tool.
|
|
5616
|
-
* @summary Get Tool
|
|
5617
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5618
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5619
|
-
* @param {*} [options] Override http request option.
|
|
5620
|
-
* @throws {RequiredError}
|
|
5621
|
-
*/
|
|
5622
|
-
getStoredCollisionTool(cell, tool, options) {
|
|
5623
|
-
return localVarFp.getStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
5624
|
-
},
|
|
5625
|
-
/**
|
|
5626
|
-
* Returns the stored link chains.
|
|
5627
|
-
* @summary List Link Chains
|
|
5628
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5629
|
-
* @param {*} [options] Override http request option.
|
|
5630
|
-
* @throws {RequiredError}
|
|
5631
|
-
*/
|
|
5632
|
-
listCollisionLinkChains(cell, options) {
|
|
5633
|
-
return localVarFp.listCollisionLinkChains(cell, options).then((request) => request(axios, basePath));
|
|
5634
|
-
},
|
|
5635
|
-
/**
|
|
5636
|
-
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
5637
|
-
* @summary List Colliders
|
|
5638
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5639
|
-
* @param {*} [options] Override http request option.
|
|
5640
|
-
* @throws {RequiredError}
|
|
5641
|
-
*/
|
|
5642
|
-
listStoredColliders(cell, options) {
|
|
5643
|
-
return localVarFp.listStoredColliders(cell, options).then((request) => request(axios, basePath));
|
|
5644
|
-
},
|
|
5645
|
-
/**
|
|
5646
|
-
* Returns the list of stored tools.
|
|
5647
|
-
* @summary List Tools
|
|
5648
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5649
|
-
* @param {*} [options] Override http request option.
|
|
5650
|
-
* @throws {RequiredError}
|
|
5651
|
-
*/
|
|
5652
|
-
listStoredCollisionTools(cell, options) {
|
|
5653
|
-
return localVarFp.listStoredCollisionTools(cell, options).then((request) => request(axios, basePath));
|
|
5654
|
-
},
|
|
5655
|
-
/**
|
|
5656
|
-
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
5657
|
-
* @summary Store Collider
|
|
5658
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5659
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
5660
|
-
* @param {Collider} collider2
|
|
5661
|
-
* @param {*} [options] Override http request option.
|
|
5662
|
-
* @throws {RequiredError}
|
|
5663
|
-
*/
|
|
5664
|
-
storeCollider(cell, collider, collider2, options) {
|
|
5665
|
-
return localVarFp.storeCollider(cell, collider, collider2, options).then((request) => request(axios, basePath));
|
|
5666
|
-
},
|
|
5667
|
-
/**
|
|
5668
|
-
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
5669
|
-
* @summary Store Link Chain
|
|
5670
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5671
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5672
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
5673
|
-
* @param {*} [options] Override http request option.
|
|
5674
|
-
* @throws {RequiredError}
|
|
5675
|
-
*/
|
|
5676
|
-
storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
5677
|
-
return localVarFp.storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(axios, basePath));
|
|
5678
|
-
},
|
|
5679
|
-
/**
|
|
5680
|
-
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
5681
|
-
* @summary Store Tool
|
|
5682
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5683
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5684
|
-
* @param {{ [key: string]: Collider; }} requestBody
|
|
5685
|
-
* @param {*} [options] Override http request option.
|
|
5686
|
-
* @throws {RequiredError}
|
|
5687
|
-
*/
|
|
5688
|
-
storeCollisionTool(cell, tool, requestBody, options) {
|
|
5689
|
-
return localVarFp.storeCollisionTool(cell, tool, requestBody, options).then((request) => request(axios, basePath));
|
|
5690
|
-
},
|
|
5691
|
-
};
|
|
5692
|
-
};
|
|
5693
|
-
/**
|
|
5694
|
-
* StoreCollisionComponentsApi - object-oriented interface
|
|
5695
|
-
* @export
|
|
5696
|
-
* @class StoreCollisionComponentsApi
|
|
5697
|
-
* @extends {BaseAPI}
|
|
5057
|
+
* @class StoreCollisionComponentsApi
|
|
5058
|
+
* @extends {BaseAPI}
|
|
5698
5059
|
*/
|
|
5699
5060
|
export class StoreCollisionComponentsApi extends BaseAPI {
|
|
5700
5061
|
/**
|
|
@@ -5778,466 +5139,92 @@ export class StoreCollisionComponentsApi extends BaseAPI {
|
|
|
5778
5139
|
* @memberof StoreCollisionComponentsApi
|
|
5779
5140
|
*/
|
|
5780
5141
|
listCollisionLinkChains(cell, options) {
|
|
5781
|
-
return StoreCollisionComponentsApiFp(this.configuration).listCollisionLinkChains(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5782
|
-
}
|
|
5783
|
-
/**
|
|
5784
|
-
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
5785
|
-
* @summary List Colliders
|
|
5786
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5787
|
-
* @param {*} [options] Override http request option.
|
|
5788
|
-
* @throws {RequiredError}
|
|
5789
|
-
* @memberof StoreCollisionComponentsApi
|
|
5790
|
-
*/
|
|
5791
|
-
listStoredColliders(cell, options) {
|
|
5792
|
-
return StoreCollisionComponentsApiFp(this.configuration).listStoredColliders(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5793
|
-
}
|
|
5794
|
-
/**
|
|
5795
|
-
* Returns the list of stored tools.
|
|
5796
|
-
* @summary List Tools
|
|
5797
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5798
|
-
* @param {*} [options] Override http request option.
|
|
5799
|
-
* @throws {RequiredError}
|
|
5800
|
-
* @memberof StoreCollisionComponentsApi
|
|
5801
|
-
*/
|
|
5802
|
-
listStoredCollisionTools(cell, options) {
|
|
5803
|
-
return StoreCollisionComponentsApiFp(this.configuration).listStoredCollisionTools(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5804
|
-
}
|
|
5805
|
-
/**
|
|
5806
|
-
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
5807
|
-
* @summary Store Collider
|
|
5808
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5809
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
5810
|
-
* @param {Collider} collider2
|
|
5811
|
-
* @param {*} [options] Override http request option.
|
|
5812
|
-
* @throws {RequiredError}
|
|
5813
|
-
* @memberof StoreCollisionComponentsApi
|
|
5814
|
-
*/
|
|
5815
|
-
storeCollider(cell, collider, collider2, options) {
|
|
5816
|
-
return StoreCollisionComponentsApiFp(this.configuration).storeCollider(cell, collider, collider2, options).then((request) => request(this.axios, this.basePath));
|
|
5817
|
-
}
|
|
5818
|
-
/**
|
|
5819
|
-
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
5820
|
-
* @summary Store Link Chain
|
|
5821
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5822
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5823
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
5824
|
-
* @param {*} [options] Override http request option.
|
|
5825
|
-
* @throws {RequiredError}
|
|
5826
|
-
* @memberof StoreCollisionComponentsApi
|
|
5827
|
-
*/
|
|
5828
|
-
storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
5829
|
-
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(this.axios, this.basePath));
|
|
5830
|
-
}
|
|
5831
|
-
/**
|
|
5832
|
-
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
5833
|
-
* @summary Store Tool
|
|
5834
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5835
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5836
|
-
* @param {{ [key: string]: Collider; }} requestBody
|
|
5837
|
-
* @param {*} [options] Override http request option.
|
|
5838
|
-
* @throws {RequiredError}
|
|
5839
|
-
* @memberof StoreCollisionComponentsApi
|
|
5840
|
-
*/
|
|
5841
|
-
storeCollisionTool(cell, tool, requestBody, options) {
|
|
5842
|
-
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionTool(cell, tool, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
5843
|
-
}
|
|
5844
|
-
}
|
|
5845
|
-
/**
|
|
5846
|
-
* StoreCollisionScenesApi - axios parameter creator
|
|
5847
|
-
* @export
|
|
5848
|
-
*/
|
|
5849
|
-
export const StoreCollisionScenesApiAxiosParamCreator = function (configuration) {
|
|
5850
|
-
return {
|
|
5851
|
-
/**
|
|
5852
|
-
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5853
|
-
* @summary Delete Scene
|
|
5854
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5855
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
5856
|
-
* @param {*} [options] Override http request option.
|
|
5857
|
-
* @throws {RequiredError}
|
|
5858
|
-
*/
|
|
5859
|
-
deleteStoredCollisionScene: async (cell, scene, options = {}) => {
|
|
5860
|
-
// verify required parameter 'cell' is not null or undefined
|
|
5861
|
-
assertParamExists('deleteStoredCollisionScene', 'cell', cell);
|
|
5862
|
-
// verify required parameter 'scene' is not null or undefined
|
|
5863
|
-
assertParamExists('deleteStoredCollisionScene', 'scene', scene);
|
|
5864
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
5865
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5866
|
-
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
5867
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5868
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5869
|
-
let baseOptions;
|
|
5870
|
-
if (configuration) {
|
|
5871
|
-
baseOptions = configuration.baseOptions;
|
|
5872
|
-
}
|
|
5873
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
5874
|
-
const localVarHeaderParameter = {};
|
|
5875
|
-
const localVarQueryParameter = {};
|
|
5876
|
-
// authentication BasicAuth required
|
|
5877
|
-
// http basic authentication required
|
|
5878
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5879
|
-
// authentication BearerAuth required
|
|
5880
|
-
// http bearer authentication required
|
|
5881
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5882
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5883
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5884
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5885
|
-
return {
|
|
5886
|
-
url: toPathString(localVarUrlObj),
|
|
5887
|
-
options: localVarRequestOptions,
|
|
5888
|
-
};
|
|
5889
|
-
},
|
|
5890
|
-
/**
|
|
5891
|
-
* Returns the stored scene.
|
|
5892
|
-
* @summary Get Scene
|
|
5893
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5894
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
5895
|
-
* @param {*} [options] Override http request option.
|
|
5896
|
-
* @throws {RequiredError}
|
|
5897
|
-
*/
|
|
5898
|
-
getStoredCollisionScene: async (cell, scene, options = {}) => {
|
|
5899
|
-
// verify required parameter 'cell' is not null or undefined
|
|
5900
|
-
assertParamExists('getStoredCollisionScene', 'cell', cell);
|
|
5901
|
-
// verify required parameter 'scene' is not null or undefined
|
|
5902
|
-
assertParamExists('getStoredCollisionScene', 'scene', scene);
|
|
5903
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
5904
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5905
|
-
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
5906
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5907
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5908
|
-
let baseOptions;
|
|
5909
|
-
if (configuration) {
|
|
5910
|
-
baseOptions = configuration.baseOptions;
|
|
5911
|
-
}
|
|
5912
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5913
|
-
const localVarHeaderParameter = {};
|
|
5914
|
-
const localVarQueryParameter = {};
|
|
5915
|
-
// authentication BasicAuth required
|
|
5916
|
-
// http basic authentication required
|
|
5917
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5918
|
-
// authentication BearerAuth required
|
|
5919
|
-
// http bearer authentication required
|
|
5920
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5921
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5922
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5923
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5924
|
-
return {
|
|
5925
|
-
url: toPathString(localVarUrlObj),
|
|
5926
|
-
options: localVarRequestOptions,
|
|
5927
|
-
};
|
|
5928
|
-
},
|
|
5929
|
-
/**
|
|
5930
|
-
* Returns a list of stored scenes.
|
|
5931
|
-
* @summary List Scenes
|
|
5932
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5933
|
-
* @param {*} [options] Override http request option.
|
|
5934
|
-
* @throws {RequiredError}
|
|
5935
|
-
*/
|
|
5936
|
-
listStoredCollisionScenes: async (cell, options = {}) => {
|
|
5937
|
-
// verify required parameter 'cell' is not null or undefined
|
|
5938
|
-
assertParamExists('listStoredCollisionScenes', 'cell', cell);
|
|
5939
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes`
|
|
5940
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5941
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5942
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5943
|
-
let baseOptions;
|
|
5944
|
-
if (configuration) {
|
|
5945
|
-
baseOptions = configuration.baseOptions;
|
|
5946
|
-
}
|
|
5947
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5948
|
-
const localVarHeaderParameter = {};
|
|
5949
|
-
const localVarQueryParameter = {};
|
|
5950
|
-
// authentication BasicAuth required
|
|
5951
|
-
// http basic authentication required
|
|
5952
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5953
|
-
// authentication BearerAuth required
|
|
5954
|
-
// http bearer authentication required
|
|
5955
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5956
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5957
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5958
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5959
|
-
return {
|
|
5960
|
-
url: toPathString(localVarUrlObj),
|
|
5961
|
-
options: localVarRequestOptions,
|
|
5962
|
-
};
|
|
5963
|
-
},
|
|
5964
|
-
/**
|
|
5965
|
-
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
5966
|
-
* @summary Store Scene
|
|
5967
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5968
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
5969
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
5970
|
-
* @param {*} [options] Override http request option.
|
|
5971
|
-
* @throws {RequiredError}
|
|
5972
|
-
*/
|
|
5973
|
-
storeCollisionScene: async (cell, scene, collisionSceneAssembly, options = {}) => {
|
|
5974
|
-
// verify required parameter 'cell' is not null or undefined
|
|
5975
|
-
assertParamExists('storeCollisionScene', 'cell', cell);
|
|
5976
|
-
// verify required parameter 'scene' is not null or undefined
|
|
5977
|
-
assertParamExists('storeCollisionScene', 'scene', scene);
|
|
5978
|
-
// verify required parameter 'collisionSceneAssembly' is not null or undefined
|
|
5979
|
-
assertParamExists('storeCollisionScene', 'collisionSceneAssembly', collisionSceneAssembly);
|
|
5980
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
5981
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5982
|
-
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
5983
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5984
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5985
|
-
let baseOptions;
|
|
5986
|
-
if (configuration) {
|
|
5987
|
-
baseOptions = configuration.baseOptions;
|
|
5988
|
-
}
|
|
5989
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
5990
|
-
const localVarHeaderParameter = {};
|
|
5991
|
-
const localVarQueryParameter = {};
|
|
5992
|
-
// authentication BasicAuth required
|
|
5993
|
-
// http basic authentication required
|
|
5994
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5995
|
-
// authentication BearerAuth required
|
|
5996
|
-
// http bearer authentication required
|
|
5997
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5998
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5999
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6000
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6001
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6002
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collisionSceneAssembly, localVarRequestOptions, configuration);
|
|
6003
|
-
return {
|
|
6004
|
-
url: toPathString(localVarUrlObj),
|
|
6005
|
-
options: localVarRequestOptions,
|
|
6006
|
-
};
|
|
6007
|
-
},
|
|
6008
|
-
};
|
|
6009
|
-
};
|
|
6010
|
-
/**
|
|
6011
|
-
* StoreCollisionScenesApi - functional programming interface
|
|
6012
|
-
* @export
|
|
6013
|
-
*/
|
|
6014
|
-
export const StoreCollisionScenesApiFp = function (configuration) {
|
|
6015
|
-
const localVarAxiosParamCreator = StoreCollisionScenesApiAxiosParamCreator(configuration);
|
|
6016
|
-
return {
|
|
6017
|
-
/**
|
|
6018
|
-
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
6019
|
-
* @summary Delete Scene
|
|
6020
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6021
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6022
|
-
* @param {*} [options] Override http request option.
|
|
6023
|
-
* @throws {RequiredError}
|
|
6024
|
-
*/
|
|
6025
|
-
async deleteStoredCollisionScene(cell, scene, options) {
|
|
6026
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionScene(cell, scene, options);
|
|
6027
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6028
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.deleteStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
6029
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6030
|
-
},
|
|
6031
|
-
/**
|
|
6032
|
-
* Returns the stored scene.
|
|
6033
|
-
* @summary Get Scene
|
|
6034
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6035
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6036
|
-
* @param {*} [options] Override http request option.
|
|
6037
|
-
* @throws {RequiredError}
|
|
6038
|
-
*/
|
|
6039
|
-
async getStoredCollisionScene(cell, scene, options) {
|
|
6040
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionScene(cell, scene, options);
|
|
6041
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6042
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.getStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
6043
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6044
|
-
},
|
|
6045
|
-
/**
|
|
6046
|
-
* Returns a list of stored scenes.
|
|
6047
|
-
* @summary List Scenes
|
|
6048
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6049
|
-
* @param {*} [options] Override http request option.
|
|
6050
|
-
* @throws {RequiredError}
|
|
6051
|
-
*/
|
|
6052
|
-
async listStoredCollisionScenes(cell, options) {
|
|
6053
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionScenes(cell, options);
|
|
6054
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6055
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.listStoredCollisionScenes']?.[localVarOperationServerIndex]?.url;
|
|
6056
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6057
|
-
},
|
|
6058
|
-
/**
|
|
6059
|
-
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
6060
|
-
* @summary Store Scene
|
|
6061
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6062
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6063
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
6064
|
-
* @param {*} [options] Override http request option.
|
|
6065
|
-
* @throws {RequiredError}
|
|
6066
|
-
*/
|
|
6067
|
-
async storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
6068
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionScene(cell, scene, collisionSceneAssembly, options);
|
|
6069
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6070
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.storeCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
6071
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6072
|
-
},
|
|
6073
|
-
};
|
|
6074
|
-
};
|
|
6075
|
-
/**
|
|
6076
|
-
* StoreCollisionScenesApi - factory interface
|
|
6077
|
-
* @export
|
|
6078
|
-
*/
|
|
6079
|
-
export const StoreCollisionScenesApiFactory = function (configuration, basePath, axios) {
|
|
6080
|
-
const localVarFp = StoreCollisionScenesApiFp(configuration);
|
|
6081
|
-
return {
|
|
6082
|
-
/**
|
|
6083
|
-
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
6084
|
-
* @summary Delete Scene
|
|
6085
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6086
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6087
|
-
* @param {*} [options] Override http request option.
|
|
6088
|
-
* @throws {RequiredError}
|
|
6089
|
-
*/
|
|
6090
|
-
deleteStoredCollisionScene(cell, scene, options) {
|
|
6091
|
-
return localVarFp.deleteStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
6092
|
-
},
|
|
6093
|
-
/**
|
|
6094
|
-
* Returns the stored scene.
|
|
6095
|
-
* @summary Get Scene
|
|
6096
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6097
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6098
|
-
* @param {*} [options] Override http request option.
|
|
6099
|
-
* @throws {RequiredError}
|
|
6100
|
-
*/
|
|
6101
|
-
getStoredCollisionScene(cell, scene, options) {
|
|
6102
|
-
return localVarFp.getStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
6103
|
-
},
|
|
6104
|
-
/**
|
|
6105
|
-
* Returns a list of stored scenes.
|
|
6106
|
-
* @summary List Scenes
|
|
6107
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6108
|
-
* @param {*} [options] Override http request option.
|
|
6109
|
-
* @throws {RequiredError}
|
|
6110
|
-
*/
|
|
6111
|
-
listStoredCollisionScenes(cell, options) {
|
|
6112
|
-
return localVarFp.listStoredCollisionScenes(cell, options).then((request) => request(axios, basePath));
|
|
6113
|
-
},
|
|
6114
|
-
/**
|
|
6115
|
-
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
6116
|
-
* @summary Store Scene
|
|
6117
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6118
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6119
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
6120
|
-
* @param {*} [options] Override http request option.
|
|
6121
|
-
* @throws {RequiredError}
|
|
6122
|
-
*/
|
|
6123
|
-
storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
6124
|
-
return localVarFp.storeCollisionScene(cell, scene, collisionSceneAssembly, options).then((request) => request(axios, basePath));
|
|
6125
|
-
},
|
|
6126
|
-
};
|
|
6127
|
-
};
|
|
6128
|
-
/**
|
|
6129
|
-
* StoreCollisionScenesApi - object-oriented interface
|
|
6130
|
-
* @export
|
|
6131
|
-
* @class StoreCollisionScenesApi
|
|
6132
|
-
* @extends {BaseAPI}
|
|
6133
|
-
*/
|
|
6134
|
-
export class StoreCollisionScenesApi extends BaseAPI {
|
|
5142
|
+
return StoreCollisionComponentsApiFp(this.configuration).listCollisionLinkChains(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5143
|
+
}
|
|
6135
5144
|
/**
|
|
6136
|
-
*
|
|
6137
|
-
* @summary
|
|
5145
|
+
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
5146
|
+
* @summary List Colliders
|
|
6138
5147
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6139
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6140
5148
|
* @param {*} [options] Override http request option.
|
|
6141
5149
|
* @throws {RequiredError}
|
|
6142
|
-
* @memberof
|
|
5150
|
+
* @memberof StoreCollisionComponentsApi
|
|
6143
5151
|
*/
|
|
6144
|
-
|
|
6145
|
-
return
|
|
5152
|
+
listStoredColliders(cell, options) {
|
|
5153
|
+
return StoreCollisionComponentsApiFp(this.configuration).listStoredColliders(cell, options).then((request) => request(this.axios, this.basePath));
|
|
6146
5154
|
}
|
|
6147
5155
|
/**
|
|
6148
|
-
* Returns the stored
|
|
6149
|
-
* @summary
|
|
5156
|
+
* Returns the list of stored tools.
|
|
5157
|
+
* @summary List Tools
|
|
6150
5158
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6151
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6152
5159
|
* @param {*} [options] Override http request option.
|
|
6153
5160
|
* @throws {RequiredError}
|
|
6154
|
-
* @memberof
|
|
5161
|
+
* @memberof StoreCollisionComponentsApi
|
|
6155
5162
|
*/
|
|
6156
|
-
|
|
6157
|
-
return
|
|
5163
|
+
listStoredCollisionTools(cell, options) {
|
|
5164
|
+
return StoreCollisionComponentsApiFp(this.configuration).listStoredCollisionTools(cell, options).then((request) => request(this.axios, this.basePath));
|
|
6158
5165
|
}
|
|
6159
5166
|
/**
|
|
6160
|
-
*
|
|
6161
|
-
* @summary
|
|
5167
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
5168
|
+
* @summary Store Collider
|
|
6162
5169
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5170
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
5171
|
+
* @param {Collider} collider2
|
|
6163
5172
|
* @param {*} [options] Override http request option.
|
|
6164
5173
|
* @throws {RequiredError}
|
|
6165
|
-
* @memberof
|
|
5174
|
+
* @memberof StoreCollisionComponentsApi
|
|
6166
5175
|
*/
|
|
6167
|
-
|
|
6168
|
-
return
|
|
5176
|
+
storeCollider(cell, collider, collider2, options) {
|
|
5177
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollider(cell, collider, collider2, options).then((request) => request(this.axios, this.basePath));
|
|
6169
5178
|
}
|
|
6170
5179
|
/**
|
|
6171
|
-
*
|
|
6172
|
-
* @summary Store
|
|
5180
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
5181
|
+
* @summary Store Link Chain
|
|
6173
5182
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6174
|
-
* @param {string}
|
|
6175
|
-
* @param {
|
|
5183
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
5184
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
6176
5185
|
* @param {*} [options] Override http request option.
|
|
6177
5186
|
* @throws {RequiredError}
|
|
6178
|
-
* @memberof
|
|
5187
|
+
* @memberof StoreCollisionComponentsApi
|
|
6179
5188
|
*/
|
|
6180
|
-
|
|
6181
|
-
return
|
|
5189
|
+
storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
5190
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(this.axios, this.basePath));
|
|
5191
|
+
}
|
|
5192
|
+
/**
|
|
5193
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
5194
|
+
* @summary Store Tool
|
|
5195
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5196
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
5197
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
5198
|
+
* @param {*} [options] Override http request option.
|
|
5199
|
+
* @throws {RequiredError}
|
|
5200
|
+
* @memberof StoreCollisionComponentsApi
|
|
5201
|
+
*/
|
|
5202
|
+
storeCollisionTool(cell, tool, requestBody, options) {
|
|
5203
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionTool(cell, tool, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
6182
5204
|
}
|
|
6183
5205
|
}
|
|
6184
5206
|
/**
|
|
6185
|
-
*
|
|
5207
|
+
* StoreCollisionScenesApi - axios parameter creator
|
|
6186
5208
|
* @export
|
|
6187
5209
|
*/
|
|
6188
|
-
export const
|
|
5210
|
+
export const StoreCollisionScenesApiAxiosParamCreator = function (configuration) {
|
|
6189
5211
|
return {
|
|
6190
5212
|
/**
|
|
6191
|
-
*
|
|
6192
|
-
* @summary
|
|
6193
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6194
|
-
* @param {*} [options] Override http request option.
|
|
6195
|
-
* @throws {RequiredError}
|
|
6196
|
-
*/
|
|
6197
|
-
clearAllObjects: async (cell, options = {}) => {
|
|
6198
|
-
// verify required parameter 'cell' is not null or undefined
|
|
6199
|
-
assertParamExists('clearAllObjects', 'cell', cell);
|
|
6200
|
-
const localVarPath = `/cells/{cell}/store/objects`
|
|
6201
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6202
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6203
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6204
|
-
let baseOptions;
|
|
6205
|
-
if (configuration) {
|
|
6206
|
-
baseOptions = configuration.baseOptions;
|
|
6207
|
-
}
|
|
6208
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
6209
|
-
const localVarHeaderParameter = {};
|
|
6210
|
-
const localVarQueryParameter = {};
|
|
6211
|
-
// authentication BasicAuth required
|
|
6212
|
-
// http basic authentication required
|
|
6213
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
6214
|
-
// authentication BearerAuth required
|
|
6215
|
-
// http bearer authentication required
|
|
6216
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6217
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6218
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6219
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6220
|
-
return {
|
|
6221
|
-
url: toPathString(localVarUrlObj),
|
|
6222
|
-
options: localVarRequestOptions,
|
|
6223
|
-
};
|
|
6224
|
-
},
|
|
6225
|
-
/**
|
|
6226
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
6227
|
-
* @summary Delete Object
|
|
5213
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5214
|
+
* @summary Delete Scene
|
|
6228
5215
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6229
|
-
* @param {string}
|
|
5216
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6230
5217
|
* @param {*} [options] Override http request option.
|
|
6231
5218
|
* @throws {RequiredError}
|
|
6232
5219
|
*/
|
|
6233
|
-
|
|
5220
|
+
deleteStoredCollisionScene: async (cell, scene, options = {}) => {
|
|
6234
5221
|
// verify required parameter 'cell' is not null or undefined
|
|
6235
|
-
assertParamExists('
|
|
6236
|
-
// verify required parameter '
|
|
6237
|
-
assertParamExists('
|
|
6238
|
-
const localVarPath = `/cells/{cell}/store/
|
|
5222
|
+
assertParamExists('deleteStoredCollisionScene', 'cell', cell);
|
|
5223
|
+
// verify required parameter 'scene' is not null or undefined
|
|
5224
|
+
assertParamExists('deleteStoredCollisionScene', 'scene', scene);
|
|
5225
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
6239
5226
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6240
|
-
.replace(`{${"
|
|
5227
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
6241
5228
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6242
5229
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6243
5230
|
let baseOptions;
|
|
@@ -6262,21 +5249,21 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
6262
5249
|
};
|
|
6263
5250
|
},
|
|
6264
5251
|
/**
|
|
6265
|
-
*
|
|
6266
|
-
* @summary Get
|
|
5252
|
+
* Returns the stored scene.
|
|
5253
|
+
* @summary Get Scene
|
|
6267
5254
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6268
|
-
* @param {string}
|
|
5255
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6269
5256
|
* @param {*} [options] Override http request option.
|
|
6270
5257
|
* @throws {RequiredError}
|
|
6271
5258
|
*/
|
|
6272
|
-
|
|
5259
|
+
getStoredCollisionScene: async (cell, scene, options = {}) => {
|
|
6273
5260
|
// verify required parameter 'cell' is not null or undefined
|
|
6274
|
-
assertParamExists('
|
|
6275
|
-
// verify required parameter '
|
|
6276
|
-
assertParamExists('
|
|
6277
|
-
const localVarPath = `/cells/{cell}/store/
|
|
5261
|
+
assertParamExists('getStoredCollisionScene', 'cell', cell);
|
|
5262
|
+
// verify required parameter 'scene' is not null or undefined
|
|
5263
|
+
assertParamExists('getStoredCollisionScene', 'scene', scene);
|
|
5264
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
6278
5265
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6279
|
-
.replace(`{${"
|
|
5266
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
6280
5267
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6281
5268
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6282
5269
|
let baseOptions;
|
|
@@ -6301,55 +5288,16 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
6301
5288
|
};
|
|
6302
5289
|
},
|
|
6303
5290
|
/**
|
|
6304
|
-
*
|
|
6305
|
-
* @summary
|
|
6306
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6307
|
-
* @param {string} key
|
|
6308
|
-
* @param {*} [options] Override http request option.
|
|
6309
|
-
* @throws {RequiredError}
|
|
6310
|
-
*/
|
|
6311
|
-
getObjectMetadata: async (cell, key, options = {}) => {
|
|
6312
|
-
// verify required parameter 'cell' is not null or undefined
|
|
6313
|
-
assertParamExists('getObjectMetadata', 'cell', cell);
|
|
6314
|
-
// verify required parameter 'key' is not null or undefined
|
|
6315
|
-
assertParamExists('getObjectMetadata', 'key', key);
|
|
6316
|
-
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
6317
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6318
|
-
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
6319
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6320
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6321
|
-
let baseOptions;
|
|
6322
|
-
if (configuration) {
|
|
6323
|
-
baseOptions = configuration.baseOptions;
|
|
6324
|
-
}
|
|
6325
|
-
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
6326
|
-
const localVarHeaderParameter = {};
|
|
6327
|
-
const localVarQueryParameter = {};
|
|
6328
|
-
// authentication BasicAuth required
|
|
6329
|
-
// http basic authentication required
|
|
6330
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
6331
|
-
// authentication BearerAuth required
|
|
6332
|
-
// http bearer authentication required
|
|
6333
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6334
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6335
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6336
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6337
|
-
return {
|
|
6338
|
-
url: toPathString(localVarUrlObj),
|
|
6339
|
-
options: localVarRequestOptions,
|
|
6340
|
-
};
|
|
6341
|
-
},
|
|
6342
|
-
/**
|
|
6343
|
-
* List the keys for all objects.
|
|
6344
|
-
* @summary List all Object Keys
|
|
5291
|
+
* Returns a list of stored scenes.
|
|
5292
|
+
* @summary List Scenes
|
|
6345
5293
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6346
5294
|
* @param {*} [options] Override http request option.
|
|
6347
5295
|
* @throws {RequiredError}
|
|
6348
5296
|
*/
|
|
6349
|
-
|
|
5297
|
+
listStoredCollisionScenes: async (cell, options = {}) => {
|
|
6350
5298
|
// verify required parameter 'cell' is not null or undefined
|
|
6351
|
-
assertParamExists('
|
|
6352
|
-
const localVarPath = `/cells/{cell}/store/
|
|
5299
|
+
assertParamExists('listStoredCollisionScenes', 'cell', cell);
|
|
5300
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes`
|
|
6353
5301
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6354
5302
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6355
5303
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6375,23 +5323,24 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
6375
5323
|
};
|
|
6376
5324
|
},
|
|
6377
5325
|
/**
|
|
6378
|
-
*
|
|
6379
|
-
* @summary Store
|
|
5326
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
5327
|
+
* @summary Store Scene
|
|
6380
5328
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6381
|
-
* @param {string}
|
|
6382
|
-
* @param {
|
|
6383
|
-
* @param {any} [anyValue]
|
|
5329
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
5330
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
6384
5331
|
* @param {*} [options] Override http request option.
|
|
6385
5332
|
* @throws {RequiredError}
|
|
6386
5333
|
*/
|
|
6387
|
-
|
|
5334
|
+
storeCollisionScene: async (cell, scene, collisionSceneAssembly, options = {}) => {
|
|
6388
5335
|
// verify required parameter 'cell' is not null or undefined
|
|
6389
|
-
assertParamExists('
|
|
6390
|
-
// verify required parameter '
|
|
6391
|
-
assertParamExists('
|
|
6392
|
-
|
|
5336
|
+
assertParamExists('storeCollisionScene', 'cell', cell);
|
|
5337
|
+
// verify required parameter 'scene' is not null or undefined
|
|
5338
|
+
assertParamExists('storeCollisionScene', 'scene', scene);
|
|
5339
|
+
// verify required parameter 'collisionSceneAssembly' is not null or undefined
|
|
5340
|
+
assertParamExists('storeCollisionScene', 'collisionSceneAssembly', collisionSceneAssembly);
|
|
5341
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
6393
5342
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6394
|
-
.replace(`{${"
|
|
5343
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
6395
5344
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6396
5345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6397
5346
|
let baseOptions;
|
|
@@ -6401,26 +5350,17 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
6401
5350
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
6402
5351
|
const localVarHeaderParameter = {};
|
|
6403
5352
|
const localVarQueryParameter = {};
|
|
6404
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
6405
5353
|
// authentication BasicAuth required
|
|
6406
5354
|
// http basic authentication required
|
|
6407
5355
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
6408
5356
|
// authentication BearerAuth required
|
|
6409
5357
|
// http bearer authentication required
|
|
6410
5358
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6411
|
-
|
|
6412
|
-
localVarFormParams.append('any_value', new Blob([JSON.stringify(anyValue)], { type: "application/json", }));
|
|
6413
|
-
}
|
|
6414
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
6415
|
-
if (xMetadata != null) {
|
|
6416
|
-
localVarHeaderParameter['X-Metadata'] = typeof xMetadata === 'string'
|
|
6417
|
-
? xMetadata
|
|
6418
|
-
: JSON.stringify(xMetadata);
|
|
6419
|
-
}
|
|
5359
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6420
5360
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6421
5361
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6422
5362
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6423
|
-
localVarRequestOptions.data =
|
|
5363
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collisionSceneAssembly, localVarRequestOptions, configuration);
|
|
6424
5364
|
return {
|
|
6425
5365
|
url: toPathString(localVarUrlObj),
|
|
6426
5366
|
options: localVarRequestOptions,
|
|
@@ -6429,282 +5369,282 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
6429
5369
|
};
|
|
6430
5370
|
};
|
|
6431
5371
|
/**
|
|
6432
|
-
*
|
|
5372
|
+
* StoreCollisionScenesApi - functional programming interface
|
|
6433
5373
|
* @export
|
|
6434
5374
|
*/
|
|
6435
|
-
export const
|
|
6436
|
-
const localVarAxiosParamCreator =
|
|
6437
|
-
return {
|
|
6438
|
-
/**
|
|
6439
|
-
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
6440
|
-
* @summary Clear all Objects
|
|
6441
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6442
|
-
* @param {*} [options] Override http request option.
|
|
6443
|
-
* @throws {RequiredError}
|
|
6444
|
-
*/
|
|
6445
|
-
async clearAllObjects(cell, options) {
|
|
6446
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllObjects(cell, options);
|
|
6447
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6448
|
-
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.clearAllObjects']?.[localVarOperationServerIndex]?.url;
|
|
6449
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6450
|
-
},
|
|
6451
|
-
/**
|
|
6452
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
6453
|
-
* @summary Delete Object
|
|
6454
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6455
|
-
* @param {string} key
|
|
6456
|
-
* @param {*} [options] Override http request option.
|
|
6457
|
-
* @throws {RequiredError}
|
|
6458
|
-
*/
|
|
6459
|
-
async deleteObject(cell, key, options) {
|
|
6460
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteObject(cell, key, options);
|
|
6461
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6462
|
-
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.deleteObject']?.[localVarOperationServerIndex]?.url;
|
|
6463
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6464
|
-
},
|
|
5375
|
+
export const StoreCollisionScenesApiFp = function (configuration) {
|
|
5376
|
+
const localVarAxiosParamCreator = StoreCollisionScenesApiAxiosParamCreator(configuration);
|
|
5377
|
+
return {
|
|
6465
5378
|
/**
|
|
6466
|
-
*
|
|
6467
|
-
* @summary
|
|
5379
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5380
|
+
* @summary Delete Scene
|
|
6468
5381
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6469
|
-
* @param {string}
|
|
5382
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6470
5383
|
* @param {*} [options] Override http request option.
|
|
6471
5384
|
* @throws {RequiredError}
|
|
6472
5385
|
*/
|
|
6473
|
-
async
|
|
6474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5386
|
+
async deleteStoredCollisionScene(cell, scene, options) {
|
|
5387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionScene(cell, scene, options);
|
|
6475
5388
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6476
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5389
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.deleteStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
6477
5390
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6478
5391
|
},
|
|
6479
5392
|
/**
|
|
6480
|
-
*
|
|
6481
|
-
* @summary Get
|
|
5393
|
+
* Returns the stored scene.
|
|
5394
|
+
* @summary Get Scene
|
|
6482
5395
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6483
|
-
* @param {string}
|
|
5396
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6484
5397
|
* @param {*} [options] Override http request option.
|
|
6485
5398
|
* @throws {RequiredError}
|
|
6486
5399
|
*/
|
|
6487
|
-
async
|
|
6488
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5400
|
+
async getStoredCollisionScene(cell, scene, options) {
|
|
5401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionScene(cell, scene, options);
|
|
6489
5402
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6490
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5403
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.getStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
6491
5404
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6492
5405
|
},
|
|
6493
5406
|
/**
|
|
6494
|
-
*
|
|
6495
|
-
* @summary List
|
|
5407
|
+
* Returns a list of stored scenes.
|
|
5408
|
+
* @summary List Scenes
|
|
6496
5409
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6497
5410
|
* @param {*} [options] Override http request option.
|
|
6498
5411
|
* @throws {RequiredError}
|
|
6499
5412
|
*/
|
|
6500
|
-
async
|
|
6501
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5413
|
+
async listStoredCollisionScenes(cell, options) {
|
|
5414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionScenes(cell, options);
|
|
6502
5415
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6503
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5416
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.listStoredCollisionScenes']?.[localVarOperationServerIndex]?.url;
|
|
6504
5417
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6505
5418
|
},
|
|
6506
5419
|
/**
|
|
6507
|
-
*
|
|
6508
|
-
* @summary Store
|
|
5420
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
5421
|
+
* @summary Store Scene
|
|
6509
5422
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6510
|
-
* @param {string}
|
|
6511
|
-
* @param {
|
|
6512
|
-
* @param {any} [anyValue]
|
|
5423
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
5424
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
6513
5425
|
* @param {*} [options] Override http request option.
|
|
6514
5426
|
* @throws {RequiredError}
|
|
6515
5427
|
*/
|
|
6516
|
-
async
|
|
6517
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5428
|
+
async storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
5429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionScene(cell, scene, collisionSceneAssembly, options);
|
|
6518
5430
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6519
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5431
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.storeCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
6520
5432
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6521
5433
|
},
|
|
6522
5434
|
};
|
|
6523
5435
|
};
|
|
6524
5436
|
/**
|
|
6525
|
-
*
|
|
5437
|
+
* StoreCollisionScenesApi - factory interface
|
|
6526
5438
|
* @export
|
|
6527
5439
|
*/
|
|
6528
|
-
export const
|
|
6529
|
-
const localVarFp =
|
|
5440
|
+
export const StoreCollisionScenesApiFactory = function (configuration, basePath, axios) {
|
|
5441
|
+
const localVarFp = StoreCollisionScenesApiFp(configuration);
|
|
6530
5442
|
return {
|
|
6531
5443
|
/**
|
|
6532
|
-
*
|
|
6533
|
-
* @summary
|
|
6534
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6535
|
-
* @param {*} [options] Override http request option.
|
|
6536
|
-
* @throws {RequiredError}
|
|
6537
|
-
*/
|
|
6538
|
-
clearAllObjects(cell, options) {
|
|
6539
|
-
return localVarFp.clearAllObjects(cell, options).then((request) => request(axios, basePath));
|
|
6540
|
-
},
|
|
6541
|
-
/**
|
|
6542
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
6543
|
-
* @summary Delete Object
|
|
6544
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6545
|
-
* @param {string} key
|
|
6546
|
-
* @param {*} [options] Override http request option.
|
|
6547
|
-
* @throws {RequiredError}
|
|
6548
|
-
*/
|
|
6549
|
-
deleteObject(cell, key, options) {
|
|
6550
|
-
return localVarFp.deleteObject(cell, key, options).then((request) => request(axios, basePath));
|
|
6551
|
-
},
|
|
6552
|
-
/**
|
|
6553
|
-
* Get the object. This request returns the object and any metadata attached to it.
|
|
6554
|
-
* @summary Get Object
|
|
5444
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5445
|
+
* @summary Delete Scene
|
|
6555
5446
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6556
|
-
* @param {string}
|
|
5447
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6557
5448
|
* @param {*} [options] Override http request option.
|
|
6558
5449
|
* @throws {RequiredError}
|
|
6559
5450
|
*/
|
|
6560
|
-
|
|
6561
|
-
return localVarFp.
|
|
5451
|
+
deleteStoredCollisionScene(cell, scene, options) {
|
|
5452
|
+
return localVarFp.deleteStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
6562
5453
|
},
|
|
6563
5454
|
/**
|
|
6564
|
-
*
|
|
6565
|
-
* @summary Get
|
|
5455
|
+
* Returns the stored scene.
|
|
5456
|
+
* @summary Get Scene
|
|
6566
5457
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6567
|
-
* @param {string}
|
|
5458
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6568
5459
|
* @param {*} [options] Override http request option.
|
|
6569
5460
|
* @throws {RequiredError}
|
|
6570
5461
|
*/
|
|
6571
|
-
|
|
6572
|
-
return localVarFp.
|
|
5462
|
+
getStoredCollisionScene(cell, scene, options) {
|
|
5463
|
+
return localVarFp.getStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
6573
5464
|
},
|
|
6574
5465
|
/**
|
|
6575
|
-
*
|
|
6576
|
-
* @summary List
|
|
5466
|
+
* Returns a list of stored scenes.
|
|
5467
|
+
* @summary List Scenes
|
|
6577
5468
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6578
5469
|
* @param {*} [options] Override http request option.
|
|
6579
5470
|
* @throws {RequiredError}
|
|
6580
5471
|
*/
|
|
6581
|
-
|
|
6582
|
-
return localVarFp.
|
|
5472
|
+
listStoredCollisionScenes(cell, options) {
|
|
5473
|
+
return localVarFp.listStoredCollisionScenes(cell, options).then((request) => request(axios, basePath));
|
|
6583
5474
|
},
|
|
6584
5475
|
/**
|
|
6585
|
-
*
|
|
6586
|
-
* @summary Store
|
|
5476
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
5477
|
+
* @summary Store Scene
|
|
6587
5478
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6588
|
-
* @param {string}
|
|
6589
|
-
* @param {
|
|
6590
|
-
* @param {any} [anyValue]
|
|
5479
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
5480
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
6591
5481
|
* @param {*} [options] Override http request option.
|
|
6592
5482
|
* @throws {RequiredError}
|
|
6593
5483
|
*/
|
|
6594
|
-
|
|
6595
|
-
return localVarFp.
|
|
5484
|
+
storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
5485
|
+
return localVarFp.storeCollisionScene(cell, scene, collisionSceneAssembly, options).then((request) => request(axios, basePath));
|
|
6596
5486
|
},
|
|
6597
5487
|
};
|
|
6598
5488
|
};
|
|
6599
5489
|
/**
|
|
6600
|
-
*
|
|
5490
|
+
* StoreCollisionScenesApi - object-oriented interface
|
|
6601
5491
|
* @export
|
|
6602
|
-
* @class
|
|
5492
|
+
* @class StoreCollisionScenesApi
|
|
6603
5493
|
* @extends {BaseAPI}
|
|
6604
5494
|
*/
|
|
6605
|
-
export class
|
|
6606
|
-
/**
|
|
6607
|
-
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
6608
|
-
* @summary Clear all Objects
|
|
6609
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6610
|
-
* @param {*} [options] Override http request option.
|
|
6611
|
-
* @throws {RequiredError}
|
|
6612
|
-
* @memberof StoreObjectApi
|
|
6613
|
-
*/
|
|
6614
|
-
clearAllObjects(cell, options) {
|
|
6615
|
-
return StoreObjectApiFp(this.configuration).clearAllObjects(cell, options).then((request) => request(this.axios, this.basePath));
|
|
6616
|
-
}
|
|
6617
|
-
/**
|
|
6618
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
6619
|
-
* @summary Delete Object
|
|
6620
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6621
|
-
* @param {string} key
|
|
6622
|
-
* @param {*} [options] Override http request option.
|
|
6623
|
-
* @throws {RequiredError}
|
|
6624
|
-
* @memberof StoreObjectApi
|
|
6625
|
-
*/
|
|
6626
|
-
deleteObject(cell, key, options) {
|
|
6627
|
-
return StoreObjectApiFp(this.configuration).deleteObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
6628
|
-
}
|
|
5495
|
+
export class StoreCollisionScenesApi extends BaseAPI {
|
|
6629
5496
|
/**
|
|
6630
|
-
*
|
|
6631
|
-
* @summary
|
|
5497
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
5498
|
+
* @summary Delete Scene
|
|
6632
5499
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6633
|
-
* @param {string}
|
|
5500
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6634
5501
|
* @param {*} [options] Override http request option.
|
|
6635
5502
|
* @throws {RequiredError}
|
|
6636
|
-
* @memberof
|
|
5503
|
+
* @memberof StoreCollisionScenesApi
|
|
6637
5504
|
*/
|
|
6638
|
-
|
|
6639
|
-
return
|
|
5505
|
+
deleteStoredCollisionScene(cell, scene, options) {
|
|
5506
|
+
return StoreCollisionScenesApiFp(this.configuration).deleteStoredCollisionScene(cell, scene, options).then((request) => request(this.axios, this.basePath));
|
|
6640
5507
|
}
|
|
6641
5508
|
/**
|
|
6642
|
-
*
|
|
6643
|
-
* @summary Get
|
|
5509
|
+
* Returns the stored scene.
|
|
5510
|
+
* @summary Get Scene
|
|
6644
5511
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6645
|
-
* @param {string}
|
|
5512
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
6646
5513
|
* @param {*} [options] Override http request option.
|
|
6647
5514
|
* @throws {RequiredError}
|
|
6648
|
-
* @memberof
|
|
5515
|
+
* @memberof StoreCollisionScenesApi
|
|
6649
5516
|
*/
|
|
6650
|
-
|
|
6651
|
-
return
|
|
5517
|
+
getStoredCollisionScene(cell, scene, options) {
|
|
5518
|
+
return StoreCollisionScenesApiFp(this.configuration).getStoredCollisionScene(cell, scene, options).then((request) => request(this.axios, this.basePath));
|
|
6652
5519
|
}
|
|
6653
5520
|
/**
|
|
6654
|
-
*
|
|
6655
|
-
* @summary List
|
|
5521
|
+
* Returns a list of stored scenes.
|
|
5522
|
+
* @summary List Scenes
|
|
6656
5523
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6657
5524
|
* @param {*} [options] Override http request option.
|
|
6658
5525
|
* @throws {RequiredError}
|
|
6659
|
-
* @memberof
|
|
5526
|
+
* @memberof StoreCollisionScenesApi
|
|
6660
5527
|
*/
|
|
6661
|
-
|
|
6662
|
-
return
|
|
5528
|
+
listStoredCollisionScenes(cell, options) {
|
|
5529
|
+
return StoreCollisionScenesApiFp(this.configuration).listStoredCollisionScenes(cell, options).then((request) => request(this.axios, this.basePath));
|
|
6663
5530
|
}
|
|
6664
5531
|
/**
|
|
6665
|
-
*
|
|
6666
|
-
* @summary Store
|
|
5532
|
+
* Creates or replaces the stored collision scene. The scene is assembled from components as defined in the request body. <!-- theme: info --> > This endpoint allows indicating previously stored components. > Components used within the request will be copied into the new or updated scene. An error is returned if an indicated component does not exist.
|
|
5533
|
+
* @summary Store Scene
|
|
6667
5534
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6668
|
-
* @param {string}
|
|
6669
|
-
* @param {
|
|
6670
|
-
* @param {any} [anyValue]
|
|
5535
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
5536
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
6671
5537
|
* @param {*} [options] Override http request option.
|
|
6672
5538
|
* @throws {RequiredError}
|
|
6673
|
-
* @memberof
|
|
5539
|
+
* @memberof StoreCollisionScenesApi
|
|
6674
5540
|
*/
|
|
6675
|
-
|
|
6676
|
-
return
|
|
5541
|
+
storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
5542
|
+
return StoreCollisionScenesApiFp(this.configuration).storeCollisionScene(cell, scene, collisionSceneAssembly, options).then((request) => request(this.axios, this.basePath));
|
|
6677
5543
|
}
|
|
6678
5544
|
}
|
|
6679
5545
|
/**
|
|
6680
|
-
*
|
|
5546
|
+
* StoreObjectApi - axios parameter creator
|
|
6681
5547
|
* @export
|
|
6682
5548
|
*/
|
|
6683
|
-
export const
|
|
5549
|
+
export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
6684
5550
|
return {
|
|
6685
5551
|
/**
|
|
6686
|
-
*
|
|
6687
|
-
* @summary
|
|
5552
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
5553
|
+
* @summary Clear all Objects
|
|
5554
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5555
|
+
* @param {*} [options] Override http request option.
|
|
5556
|
+
* @throws {RequiredError}
|
|
5557
|
+
*/
|
|
5558
|
+
clearAllObjects: async (cell, options = {}) => {
|
|
5559
|
+
// verify required parameter 'cell' is not null or undefined
|
|
5560
|
+
assertParamExists('clearAllObjects', 'cell', cell);
|
|
5561
|
+
const localVarPath = `/cells/{cell}/store/objects`
|
|
5562
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5565
|
+
let baseOptions;
|
|
5566
|
+
if (configuration) {
|
|
5567
|
+
baseOptions = configuration.baseOptions;
|
|
5568
|
+
}
|
|
5569
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
5570
|
+
const localVarHeaderParameter = {};
|
|
5571
|
+
const localVarQueryParameter = {};
|
|
5572
|
+
// authentication BasicAuth required
|
|
5573
|
+
// http basic authentication required
|
|
5574
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5575
|
+
// authentication BearerAuth required
|
|
5576
|
+
// http bearer authentication required
|
|
5577
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5578
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5580
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5581
|
+
return {
|
|
5582
|
+
url: toPathString(localVarUrlObj),
|
|
5583
|
+
options: localVarRequestOptions,
|
|
5584
|
+
};
|
|
5585
|
+
},
|
|
5586
|
+
/**
|
|
5587
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
5588
|
+
* @summary Delete Object
|
|
5589
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5590
|
+
* @param {string} key
|
|
5591
|
+
* @param {*} [options] Override http request option.
|
|
5592
|
+
* @throws {RequiredError}
|
|
5593
|
+
*/
|
|
5594
|
+
deleteObject: async (cell, key, options = {}) => {
|
|
5595
|
+
// verify required parameter 'cell' is not null or undefined
|
|
5596
|
+
assertParamExists('deleteObject', 'cell', cell);
|
|
5597
|
+
// verify required parameter 'key' is not null or undefined
|
|
5598
|
+
assertParamExists('deleteObject', 'key', key);
|
|
5599
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
5600
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5601
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
5602
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5603
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5604
|
+
let baseOptions;
|
|
5605
|
+
if (configuration) {
|
|
5606
|
+
baseOptions = configuration.baseOptions;
|
|
5607
|
+
}
|
|
5608
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
5609
|
+
const localVarHeaderParameter = {};
|
|
5610
|
+
const localVarQueryParameter = {};
|
|
5611
|
+
// authentication BasicAuth required
|
|
5612
|
+
// http basic authentication required
|
|
5613
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5614
|
+
// authentication BearerAuth required
|
|
5615
|
+
// http bearer authentication required
|
|
5616
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5617
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5619
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5620
|
+
return {
|
|
5621
|
+
url: toPathString(localVarUrlObj),
|
|
5622
|
+
options: localVarRequestOptions,
|
|
5623
|
+
};
|
|
5624
|
+
},
|
|
5625
|
+
/**
|
|
5626
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
5627
|
+
* @summary Get Object
|
|
6688
5628
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6689
|
-
* @param {string}
|
|
5629
|
+
* @param {string} key
|
|
6690
5630
|
* @param {*} [options] Override http request option.
|
|
6691
5631
|
* @throws {RequiredError}
|
|
6692
5632
|
*/
|
|
6693
|
-
|
|
5633
|
+
getObject: async (cell, key, options = {}) => {
|
|
6694
5634
|
// verify required parameter 'cell' is not null or undefined
|
|
6695
|
-
assertParamExists('
|
|
6696
|
-
// verify required parameter '
|
|
6697
|
-
assertParamExists('
|
|
6698
|
-
const localVarPath = `/cells/{cell}/store/
|
|
5635
|
+
assertParamExists('getObject', 'cell', cell);
|
|
5636
|
+
// verify required parameter 'key' is not null or undefined
|
|
5637
|
+
assertParamExists('getObject', 'key', key);
|
|
5638
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
6699
5639
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6700
|
-
.replace(`{${"
|
|
5640
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
6701
5641
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6702
5642
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6703
5643
|
let baseOptions;
|
|
6704
5644
|
if (configuration) {
|
|
6705
5645
|
baseOptions = configuration.baseOptions;
|
|
6706
5646
|
}
|
|
6707
|
-
const localVarRequestOptions = { method: '
|
|
5647
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
6708
5648
|
const localVarHeaderParameter = {};
|
|
6709
5649
|
const localVarQueryParameter = {};
|
|
6710
5650
|
// authentication BasicAuth required
|
|
@@ -6722,28 +5662,28 @@ export const StoreProgramApiAxiosParamCreator = function (configuration) {
|
|
|
6722
5662
|
};
|
|
6723
5663
|
},
|
|
6724
5664
|
/**
|
|
6725
|
-
*
|
|
6726
|
-
* @summary Get
|
|
5665
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
5666
|
+
* @summary Get Object Metadata
|
|
6727
5667
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6728
|
-
* @param {string}
|
|
5668
|
+
* @param {string} key
|
|
6729
5669
|
* @param {*} [options] Override http request option.
|
|
6730
5670
|
* @throws {RequiredError}
|
|
6731
5671
|
*/
|
|
6732
|
-
|
|
5672
|
+
getObjectMetadata: async (cell, key, options = {}) => {
|
|
6733
5673
|
// verify required parameter 'cell' is not null or undefined
|
|
6734
|
-
assertParamExists('
|
|
6735
|
-
// verify required parameter '
|
|
6736
|
-
assertParamExists('
|
|
6737
|
-
const localVarPath = `/cells/{cell}/store/
|
|
5674
|
+
assertParamExists('getObjectMetadata', 'cell', cell);
|
|
5675
|
+
// verify required parameter 'key' is not null or undefined
|
|
5676
|
+
assertParamExists('getObjectMetadata', 'key', key);
|
|
5677
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
6738
5678
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6739
|
-
.replace(`{${"
|
|
5679
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
6740
5680
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6741
5681
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6742
5682
|
let baseOptions;
|
|
6743
5683
|
if (configuration) {
|
|
6744
5684
|
baseOptions = configuration.baseOptions;
|
|
6745
5685
|
}
|
|
6746
|
-
const localVarRequestOptions = { method: '
|
|
5686
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
6747
5687
|
const localVarHeaderParameter = {};
|
|
6748
5688
|
const localVarQueryParameter = {};
|
|
6749
5689
|
// authentication BasicAuth required
|
|
@@ -6761,16 +5701,16 @@ export const StoreProgramApiAxiosParamCreator = function (configuration) {
|
|
|
6761
5701
|
};
|
|
6762
5702
|
},
|
|
6763
5703
|
/**
|
|
6764
|
-
*
|
|
6765
|
-
* @summary List all
|
|
5704
|
+
* List the keys for all objects.
|
|
5705
|
+
* @summary List all Object Keys
|
|
6766
5706
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6767
5707
|
* @param {*} [options] Override http request option.
|
|
6768
5708
|
* @throws {RequiredError}
|
|
6769
5709
|
*/
|
|
6770
|
-
|
|
5710
|
+
listAllObjectKeys: async (cell, options = {}) => {
|
|
6771
5711
|
// verify required parameter 'cell' is not null or undefined
|
|
6772
|
-
assertParamExists('
|
|
6773
|
-
const localVarPath = `/cells/{cell}/store/
|
|
5712
|
+
assertParamExists('listAllObjectKeys', 'cell', cell);
|
|
5713
|
+
const localVarPath = `/cells/{cell}/store/objects`
|
|
6774
5714
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6775
5715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6776
5716
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6796,25 +5736,23 @@ export const StoreProgramApiAxiosParamCreator = function (configuration) {
|
|
|
6796
5736
|
};
|
|
6797
5737
|
},
|
|
6798
5738
|
/**
|
|
6799
|
-
*
|
|
6800
|
-
* @summary Store
|
|
5739
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
5740
|
+
* @summary Store Object
|
|
6801
5741
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6802
|
-
* @param {string}
|
|
6803
|
-
* @param {string} body
|
|
5742
|
+
* @param {string} key
|
|
6804
5743
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
5744
|
+
* @param {any} [anyValue]
|
|
6805
5745
|
* @param {*} [options] Override http request option.
|
|
6806
5746
|
* @throws {RequiredError}
|
|
6807
5747
|
*/
|
|
6808
|
-
|
|
5748
|
+
storeObject: async (cell, key, xMetadata, anyValue, options = {}) => {
|
|
6809
5749
|
// verify required parameter 'cell' is not null or undefined
|
|
6810
|
-
assertParamExists('
|
|
6811
|
-
// verify required parameter '
|
|
6812
|
-
assertParamExists('
|
|
6813
|
-
|
|
6814
|
-
assertParamExists('storeProgram', 'body', body);
|
|
6815
|
-
const localVarPath = `/cells/{cell}/store/programs/{program}`
|
|
5750
|
+
assertParamExists('storeObject', 'cell', cell);
|
|
5751
|
+
// verify required parameter 'key' is not null or undefined
|
|
5752
|
+
assertParamExists('storeObject', 'key', key);
|
|
5753
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
6816
5754
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6817
|
-
.replace(`{${"
|
|
5755
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
6818
5756
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6819
5757
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6820
5758
|
let baseOptions;
|
|
@@ -6824,13 +5762,17 @@ export const StoreProgramApiAxiosParamCreator = function (configuration) {
|
|
|
6824
5762
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
6825
5763
|
const localVarHeaderParameter = {};
|
|
6826
5764
|
const localVarQueryParameter = {};
|
|
5765
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
6827
5766
|
// authentication BasicAuth required
|
|
6828
5767
|
// http basic authentication required
|
|
6829
5768
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
6830
5769
|
// authentication BearerAuth required
|
|
6831
5770
|
// http bearer authentication required
|
|
6832
5771
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6833
|
-
|
|
5772
|
+
if (anyValue !== undefined) {
|
|
5773
|
+
localVarFormParams.append('any_value', new Blob([JSON.stringify(anyValue)], { type: "application/json", }));
|
|
5774
|
+
}
|
|
5775
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
6834
5776
|
if (xMetadata != null) {
|
|
6835
5777
|
localVarHeaderParameter['X-Metadata'] = typeof xMetadata === 'string'
|
|
6836
5778
|
? xMetadata
|
|
@@ -6839,7 +5781,7 @@ export const StoreProgramApiAxiosParamCreator = function (configuration) {
|
|
|
6839
5781
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6840
5782
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6841
5783
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6842
|
-
localVarRequestOptions.data =
|
|
5784
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
6843
5785
|
return {
|
|
6844
5786
|
url: toPathString(localVarUrlObj),
|
|
6845
5787
|
options: localVarRequestOptions,
|
|
@@ -6848,180 +5790,251 @@ export const StoreProgramApiAxiosParamCreator = function (configuration) {
|
|
|
6848
5790
|
};
|
|
6849
5791
|
};
|
|
6850
5792
|
/**
|
|
6851
|
-
*
|
|
5793
|
+
* StoreObjectApi - functional programming interface
|
|
6852
5794
|
* @export
|
|
6853
5795
|
*/
|
|
6854
|
-
export const
|
|
6855
|
-
const localVarAxiosParamCreator =
|
|
5796
|
+
export const StoreObjectApiFp = function (configuration) {
|
|
5797
|
+
const localVarAxiosParamCreator = StoreObjectApiAxiosParamCreator(configuration);
|
|
6856
5798
|
return {
|
|
6857
5799
|
/**
|
|
6858
|
-
*
|
|
6859
|
-
* @summary
|
|
5800
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
5801
|
+
* @summary Clear all Objects
|
|
5802
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5803
|
+
* @param {*} [options] Override http request option.
|
|
5804
|
+
* @throws {RequiredError}
|
|
5805
|
+
*/
|
|
5806
|
+
async clearAllObjects(cell, options) {
|
|
5807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllObjects(cell, options);
|
|
5808
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5809
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.clearAllObjects']?.[localVarOperationServerIndex]?.url;
|
|
5810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5811
|
+
},
|
|
5812
|
+
/**
|
|
5813
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
5814
|
+
* @summary Delete Object
|
|
5815
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5816
|
+
* @param {string} key
|
|
5817
|
+
* @param {*} [options] Override http request option.
|
|
5818
|
+
* @throws {RequiredError}
|
|
5819
|
+
*/
|
|
5820
|
+
async deleteObject(cell, key, options) {
|
|
5821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteObject(cell, key, options);
|
|
5822
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5823
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.deleteObject']?.[localVarOperationServerIndex]?.url;
|
|
5824
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5825
|
+
},
|
|
5826
|
+
/**
|
|
5827
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
5828
|
+
* @summary Get Object
|
|
6860
5829
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6861
|
-
* @param {string}
|
|
5830
|
+
* @param {string} key
|
|
6862
5831
|
* @param {*} [options] Override http request option.
|
|
6863
5832
|
* @throws {RequiredError}
|
|
6864
5833
|
*/
|
|
6865
|
-
async
|
|
6866
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5834
|
+
async getObject(cell, key, options) {
|
|
5835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObject(cell, key, options);
|
|
6867
5836
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6868
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5837
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.getObject']?.[localVarOperationServerIndex]?.url;
|
|
6869
5838
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6870
5839
|
},
|
|
6871
5840
|
/**
|
|
6872
|
-
*
|
|
6873
|
-
* @summary Get
|
|
5841
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
5842
|
+
* @summary Get Object Metadata
|
|
6874
5843
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6875
|
-
* @param {string}
|
|
5844
|
+
* @param {string} key
|
|
6876
5845
|
* @param {*} [options] Override http request option.
|
|
6877
5846
|
* @throws {RequiredError}
|
|
6878
5847
|
*/
|
|
6879
|
-
async
|
|
6880
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5848
|
+
async getObjectMetadata(cell, key, options) {
|
|
5849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectMetadata(cell, key, options);
|
|
6881
5850
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6882
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5851
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.getObjectMetadata']?.[localVarOperationServerIndex]?.url;
|
|
6883
5852
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6884
5853
|
},
|
|
6885
5854
|
/**
|
|
6886
|
-
*
|
|
6887
|
-
* @summary List all
|
|
5855
|
+
* List the keys for all objects.
|
|
5856
|
+
* @summary List all Object Keys
|
|
6888
5857
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6889
5858
|
* @param {*} [options] Override http request option.
|
|
6890
5859
|
* @throws {RequiredError}
|
|
6891
5860
|
*/
|
|
6892
|
-
async
|
|
6893
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5861
|
+
async listAllObjectKeys(cell, options) {
|
|
5862
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllObjectKeys(cell, options);
|
|
6894
5863
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6895
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5864
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.listAllObjectKeys']?.[localVarOperationServerIndex]?.url;
|
|
6896
5865
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6897
5866
|
},
|
|
6898
5867
|
/**
|
|
6899
|
-
*
|
|
6900
|
-
* @summary Store
|
|
5868
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
5869
|
+
* @summary Store Object
|
|
6901
5870
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6902
|
-
* @param {string}
|
|
6903
|
-
* @param {string} body
|
|
5871
|
+
* @param {string} key
|
|
6904
5872
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
5873
|
+
* @param {any} [anyValue]
|
|
6905
5874
|
* @param {*} [options] Override http request option.
|
|
6906
5875
|
* @throws {RequiredError}
|
|
6907
5876
|
*/
|
|
6908
|
-
async
|
|
6909
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5877
|
+
async storeObject(cell, key, xMetadata, anyValue, options) {
|
|
5878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeObject(cell, key, xMetadata, anyValue, options);
|
|
6910
5879
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6911
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5880
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.storeObject']?.[localVarOperationServerIndex]?.url;
|
|
6912
5881
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6913
5882
|
},
|
|
6914
5883
|
};
|
|
6915
5884
|
};
|
|
6916
5885
|
/**
|
|
6917
|
-
*
|
|
5886
|
+
* StoreObjectApi - factory interface
|
|
6918
5887
|
* @export
|
|
6919
5888
|
*/
|
|
6920
|
-
export const
|
|
6921
|
-
const localVarFp =
|
|
5889
|
+
export const StoreObjectApiFactory = function (configuration, basePath, axios) {
|
|
5890
|
+
const localVarFp = StoreObjectApiFp(configuration);
|
|
6922
5891
|
return {
|
|
6923
5892
|
/**
|
|
6924
|
-
*
|
|
6925
|
-
* @summary
|
|
5893
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
5894
|
+
* @summary Clear all Objects
|
|
5895
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5896
|
+
* @param {*} [options] Override http request option.
|
|
5897
|
+
* @throws {RequiredError}
|
|
5898
|
+
*/
|
|
5899
|
+
clearAllObjects(cell, options) {
|
|
5900
|
+
return localVarFp.clearAllObjects(cell, options).then((request) => request(axios, basePath));
|
|
5901
|
+
},
|
|
5902
|
+
/**
|
|
5903
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
5904
|
+
* @summary Delete Object
|
|
5905
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5906
|
+
* @param {string} key
|
|
5907
|
+
* @param {*} [options] Override http request option.
|
|
5908
|
+
* @throws {RequiredError}
|
|
5909
|
+
*/
|
|
5910
|
+
deleteObject(cell, key, options) {
|
|
5911
|
+
return localVarFp.deleteObject(cell, key, options).then((request) => request(axios, basePath));
|
|
5912
|
+
},
|
|
5913
|
+
/**
|
|
5914
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
5915
|
+
* @summary Get Object
|
|
6926
5916
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6927
|
-
* @param {string}
|
|
5917
|
+
* @param {string} key
|
|
6928
5918
|
* @param {*} [options] Override http request option.
|
|
6929
5919
|
* @throws {RequiredError}
|
|
6930
5920
|
*/
|
|
6931
|
-
|
|
6932
|
-
return localVarFp.
|
|
5921
|
+
getObject(cell, key, options) {
|
|
5922
|
+
return localVarFp.getObject(cell, key, options).then((request) => request(axios, basePath));
|
|
6933
5923
|
},
|
|
6934
5924
|
/**
|
|
6935
|
-
*
|
|
6936
|
-
* @summary Get
|
|
5925
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
5926
|
+
* @summary Get Object Metadata
|
|
6937
5927
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6938
|
-
* @param {string}
|
|
5928
|
+
* @param {string} key
|
|
6939
5929
|
* @param {*} [options] Override http request option.
|
|
6940
5930
|
* @throws {RequiredError}
|
|
6941
5931
|
*/
|
|
6942
|
-
|
|
6943
|
-
return localVarFp.
|
|
5932
|
+
getObjectMetadata(cell, key, options) {
|
|
5933
|
+
return localVarFp.getObjectMetadata(cell, key, options).then((request) => request(axios, basePath));
|
|
6944
5934
|
},
|
|
6945
5935
|
/**
|
|
6946
|
-
*
|
|
6947
|
-
* @summary List all
|
|
5936
|
+
* List the keys for all objects.
|
|
5937
|
+
* @summary List all Object Keys
|
|
6948
5938
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6949
5939
|
* @param {*} [options] Override http request option.
|
|
6950
5940
|
* @throws {RequiredError}
|
|
6951
5941
|
*/
|
|
6952
|
-
|
|
6953
|
-
return localVarFp.
|
|
5942
|
+
listAllObjectKeys(cell, options) {
|
|
5943
|
+
return localVarFp.listAllObjectKeys(cell, options).then((request) => request(axios, basePath));
|
|
6954
5944
|
},
|
|
6955
5945
|
/**
|
|
6956
|
-
*
|
|
6957
|
-
* @summary Store
|
|
5946
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
5947
|
+
* @summary Store Object
|
|
6958
5948
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6959
|
-
* @param {string}
|
|
6960
|
-
* @param {string} body
|
|
5949
|
+
* @param {string} key
|
|
6961
5950
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
5951
|
+
* @param {any} [anyValue]
|
|
6962
5952
|
* @param {*} [options] Override http request option.
|
|
6963
5953
|
* @throws {RequiredError}
|
|
6964
5954
|
*/
|
|
6965
|
-
|
|
6966
|
-
return localVarFp.
|
|
5955
|
+
storeObject(cell, key, xMetadata, anyValue, options) {
|
|
5956
|
+
return localVarFp.storeObject(cell, key, xMetadata, anyValue, options).then((request) => request(axios, basePath));
|
|
6967
5957
|
},
|
|
6968
5958
|
};
|
|
6969
5959
|
};
|
|
6970
5960
|
/**
|
|
6971
|
-
*
|
|
5961
|
+
* StoreObjectApi - object-oriented interface
|
|
6972
5962
|
* @export
|
|
6973
|
-
* @class
|
|
5963
|
+
* @class StoreObjectApi
|
|
6974
5964
|
* @extends {BaseAPI}
|
|
6975
5965
|
*/
|
|
6976
|
-
export class
|
|
5966
|
+
export class StoreObjectApi extends BaseAPI {
|
|
5967
|
+
/**
|
|
5968
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
5969
|
+
* @summary Clear all Objects
|
|
5970
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5971
|
+
* @param {*} [options] Override http request option.
|
|
5972
|
+
* @throws {RequiredError}
|
|
5973
|
+
* @memberof StoreObjectApi
|
|
5974
|
+
*/
|
|
5975
|
+
clearAllObjects(cell, options) {
|
|
5976
|
+
return StoreObjectApiFp(this.configuration).clearAllObjects(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5977
|
+
}
|
|
5978
|
+
/**
|
|
5979
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
5980
|
+
* @summary Delete Object
|
|
5981
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5982
|
+
* @param {string} key
|
|
5983
|
+
* @param {*} [options] Override http request option.
|
|
5984
|
+
* @throws {RequiredError}
|
|
5985
|
+
* @memberof StoreObjectApi
|
|
5986
|
+
*/
|
|
5987
|
+
deleteObject(cell, key, options) {
|
|
5988
|
+
return StoreObjectApiFp(this.configuration).deleteObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
5989
|
+
}
|
|
6977
5990
|
/**
|
|
6978
|
-
*
|
|
6979
|
-
* @summary
|
|
5991
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
5992
|
+
* @summary Get Object
|
|
6980
5993
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6981
|
-
* @param {string}
|
|
5994
|
+
* @param {string} key
|
|
6982
5995
|
* @param {*} [options] Override http request option.
|
|
6983
5996
|
* @throws {RequiredError}
|
|
6984
|
-
* @memberof
|
|
5997
|
+
* @memberof StoreObjectApi
|
|
6985
5998
|
*/
|
|
6986
|
-
|
|
6987
|
-
return
|
|
5999
|
+
getObject(cell, key, options) {
|
|
6000
|
+
return StoreObjectApiFp(this.configuration).getObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
6988
6001
|
}
|
|
6989
6002
|
/**
|
|
6990
|
-
*
|
|
6991
|
-
* @summary Get
|
|
6003
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
6004
|
+
* @summary Get Object Metadata
|
|
6992
6005
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6993
|
-
* @param {string}
|
|
6006
|
+
* @param {string} key
|
|
6994
6007
|
* @param {*} [options] Override http request option.
|
|
6995
6008
|
* @throws {RequiredError}
|
|
6996
|
-
* @memberof
|
|
6009
|
+
* @memberof StoreObjectApi
|
|
6997
6010
|
*/
|
|
6998
|
-
|
|
6999
|
-
return
|
|
6011
|
+
getObjectMetadata(cell, key, options) {
|
|
6012
|
+
return StoreObjectApiFp(this.configuration).getObjectMetadata(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
7000
6013
|
}
|
|
7001
6014
|
/**
|
|
7002
|
-
*
|
|
7003
|
-
* @summary List all
|
|
6015
|
+
* List the keys for all objects.
|
|
6016
|
+
* @summary List all Object Keys
|
|
7004
6017
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7005
6018
|
* @param {*} [options] Override http request option.
|
|
7006
6019
|
* @throws {RequiredError}
|
|
7007
|
-
* @memberof
|
|
6020
|
+
* @memberof StoreObjectApi
|
|
7008
6021
|
*/
|
|
7009
|
-
|
|
7010
|
-
return
|
|
6022
|
+
listAllObjectKeys(cell, options) {
|
|
6023
|
+
return StoreObjectApiFp(this.configuration).listAllObjectKeys(cell, options).then((request) => request(this.axios, this.basePath));
|
|
7011
6024
|
}
|
|
7012
6025
|
/**
|
|
7013
|
-
*
|
|
7014
|
-
* @summary Store
|
|
6026
|
+
* Store any data as an object. Using a key which already contains an object will override the previously stored object. Use [getObjectMetadata](getObjectMetadata) to verify that the key does not contain objects. Optional: Specify metadata as a dictionary with names and values.
|
|
6027
|
+
* @summary Store Object
|
|
7015
6028
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7016
|
-
* @param {string}
|
|
7017
|
-
* @param {string} body
|
|
6029
|
+
* @param {string} key
|
|
7018
6030
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
6031
|
+
* @param {any} [anyValue]
|
|
7019
6032
|
* @param {*} [options] Override http request option.
|
|
7020
6033
|
* @throws {RequiredError}
|
|
7021
|
-
* @memberof
|
|
6034
|
+
* @memberof StoreObjectApi
|
|
7022
6035
|
*/
|
|
7023
|
-
|
|
7024
|
-
return
|
|
6036
|
+
storeObject(cell, key, xMetadata, anyValue, options) {
|
|
6037
|
+
return StoreObjectApiFp(this.configuration).storeObject(cell, key, xMetadata, anyValue, options).then((request) => request(this.axios, this.basePath));
|
|
7025
6038
|
}
|
|
7026
6039
|
}
|
|
7027
6040
|
/**
|
|
@@ -7108,6 +6121,43 @@ export const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
7108
6121
|
options: localVarRequestOptions,
|
|
7109
6122
|
};
|
|
7110
6123
|
},
|
|
6124
|
+
/**
|
|
6125
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
6126
|
+
* @summary Retrieve Backup Status
|
|
6127
|
+
* @param {string} operationId
|
|
6128
|
+
* @param {*} [options] Override http request option.
|
|
6129
|
+
* @throws {RequiredError}
|
|
6130
|
+
*/
|
|
6131
|
+
getConfigurationBackupStatus: async (operationId, options = {}) => {
|
|
6132
|
+
// verify required parameter 'operationId' is not null or undefined
|
|
6133
|
+
assertParamExists('getConfigurationBackupStatus', 'operationId', operationId);
|
|
6134
|
+
const localVarPath = `/system/configuration/status`;
|
|
6135
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6136
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6137
|
+
let baseOptions;
|
|
6138
|
+
if (configuration) {
|
|
6139
|
+
baseOptions = configuration.baseOptions;
|
|
6140
|
+
}
|
|
6141
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
6142
|
+
const localVarHeaderParameter = {};
|
|
6143
|
+
const localVarQueryParameter = {};
|
|
6144
|
+
// authentication BasicAuth required
|
|
6145
|
+
// http basic authentication required
|
|
6146
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
6147
|
+
// authentication BearerAuth required
|
|
6148
|
+
// http bearer authentication required
|
|
6149
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6150
|
+
if (operationId !== undefined) {
|
|
6151
|
+
localVarQueryParameter['operation_id'] = operationId;
|
|
6152
|
+
}
|
|
6153
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6155
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6156
|
+
return {
|
|
6157
|
+
url: toPathString(localVarUrlObj),
|
|
6158
|
+
options: localVarRequestOptions,
|
|
6159
|
+
};
|
|
6160
|
+
},
|
|
7111
6161
|
/**
|
|
7112
6162
|
* Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
7113
6163
|
* @summary Download Diagnosis Package
|
|
@@ -7346,6 +6396,19 @@ export const SystemApiFp = function (configuration) {
|
|
|
7346
6396
|
const localVarOperationServerBasePath = operationServerMap['SystemApi.checkNovaVersionUpdate']?.[localVarOperationServerIndex]?.url;
|
|
7347
6397
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7348
6398
|
},
|
|
6399
|
+
/**
|
|
6400
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
6401
|
+
* @summary Retrieve Backup Status
|
|
6402
|
+
* @param {string} operationId
|
|
6403
|
+
* @param {*} [options] Override http request option.
|
|
6404
|
+
* @throws {RequiredError}
|
|
6405
|
+
*/
|
|
6406
|
+
async getConfigurationBackupStatus(operationId, options) {
|
|
6407
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigurationBackupStatus(operationId, options);
|
|
6408
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6409
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.getConfigurationBackupStatus']?.[localVarOperationServerIndex]?.url;
|
|
6410
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6411
|
+
},
|
|
7349
6412
|
/**
|
|
7350
6413
|
* Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
7351
6414
|
* @summary Download Diagnosis Package
|
|
@@ -7451,6 +6514,16 @@ export const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
7451
6514
|
checkNovaVersionUpdate(channel, options) {
|
|
7452
6515
|
return localVarFp.checkNovaVersionUpdate(channel, options).then((request) => request(axios, basePath));
|
|
7453
6516
|
},
|
|
6517
|
+
/**
|
|
6518
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
6519
|
+
* @summary Retrieve Backup Status
|
|
6520
|
+
* @param {string} operationId
|
|
6521
|
+
* @param {*} [options] Override http request option.
|
|
6522
|
+
* @throws {RequiredError}
|
|
6523
|
+
*/
|
|
6524
|
+
getConfigurationBackupStatus(operationId, options) {
|
|
6525
|
+
return localVarFp.getConfigurationBackupStatus(operationId, options).then((request) => request(axios, basePath));
|
|
6526
|
+
},
|
|
7454
6527
|
/**
|
|
7455
6528
|
* Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
7456
6529
|
* @summary Download Diagnosis Package
|
|
@@ -7540,6 +6613,17 @@ export class SystemApi extends BaseAPI {
|
|
|
7540
6613
|
checkNovaVersionUpdate(channel, options) {
|
|
7541
6614
|
return SystemApiFp(this.configuration).checkNovaVersionUpdate(channel, options).then((request) => request(this.axios, this.basePath));
|
|
7542
6615
|
}
|
|
6616
|
+
/**
|
|
6617
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
6618
|
+
* @summary Retrieve Backup Status
|
|
6619
|
+
* @param {string} operationId
|
|
6620
|
+
* @param {*} [options] Override http request option.
|
|
6621
|
+
* @throws {RequiredError}
|
|
6622
|
+
* @memberof SystemApi
|
|
6623
|
+
*/
|
|
6624
|
+
getConfigurationBackupStatus(operationId, options) {
|
|
6625
|
+
return SystemApiFp(this.configuration).getConfigurationBackupStatus(operationId, options).then((request) => request(this.axios, this.basePath));
|
|
6626
|
+
}
|
|
7543
6627
|
/**
|
|
7544
6628
|
* Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
7545
6629
|
* @summary Download Diagnosis Package
|
|
@@ -8133,7 +7217,7 @@ export const TrajectoryPlanningApiAxiosParamCreator = function (configuration) {
|
|
|
8133
7217
|
planTrajectory: async (cell, planTrajectoryRequest, options = {}) => {
|
|
8134
7218
|
// verify required parameter 'cell' is not null or undefined
|
|
8135
7219
|
assertParamExists('planTrajectory', 'cell', cell);
|
|
8136
|
-
const localVarPath = `/cells/{cell}/
|
|
7220
|
+
const localVarPath = `/cells/{cell}/trajectory-planning/plan-trajectory`
|
|
8137
7221
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
8138
7222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8139
7223
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|