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