@wandelbots/nova-api 25.5.0-dev.2 → 25.5.0-dev.3
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 +186 -495
- package/v2/api.js +1452 -1894
- package/v2/api.js.map +1 -1
- package/v2/api.ts +1490 -2078
package/v2/api.js
CHANGED
|
@@ -6402,26 +6402,25 @@ export class ProgramApi extends BaseAPI {
|
|
|
6402
6402
|
}
|
|
6403
6403
|
}
|
|
6404
6404
|
/**
|
|
6405
|
-
*
|
|
6405
|
+
* ProgramOperatorApi - axios parameter creator
|
|
6406
6406
|
* @export
|
|
6407
6407
|
*/
|
|
6408
|
-
export const
|
|
6408
|
+
export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
6409
6409
|
return {
|
|
6410
6410
|
/**
|
|
6411
|
-
* <!-- theme: danger --> > **Experimental**
|
|
6412
|
-
* @summary
|
|
6411
|
+
* <!-- theme: danger --> > **Experimental** This endpoint initiates the execution of a program stored in the program library. A program is started with the a specific program id that exists in the program library.
|
|
6412
|
+
* @summary Run Program from Library
|
|
6413
6413
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6414
|
-
* @param {
|
|
6415
|
-
* @param {string} [name]
|
|
6414
|
+
* @param {CreateProgramRunRequest} createProgramRunRequest
|
|
6416
6415
|
* @param {*} [options] Override http request option.
|
|
6417
6416
|
* @throws {RequiredError}
|
|
6418
6417
|
*/
|
|
6419
|
-
|
|
6418
|
+
createProgramRun: async (cell, createProgramRunRequest, options = {}) => {
|
|
6420
6419
|
// verify required parameter 'cell' is not null or undefined
|
|
6421
|
-
assertParamExists('
|
|
6422
|
-
// verify required parameter '
|
|
6423
|
-
assertParamExists('
|
|
6424
|
-
const localVarPath = `/cells/{cell}/
|
|
6420
|
+
assertParamExists('createProgramRun', 'cell', cell);
|
|
6421
|
+
// verify required parameter 'createProgramRunRequest' is not null or undefined
|
|
6422
|
+
assertParamExists('createProgramRun', 'createProgramRunRequest', createProgramRunRequest);
|
|
6423
|
+
const localVarPath = `/cells/{cell}/operator/programs/runs`
|
|
6425
6424
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6426
6425
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6427
6426
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6438,42 +6437,38 @@ export const ProgramLibraryApiAxiosParamCreator = function (configuration) {
|
|
|
6438
6437
|
// authentication BearerAuth required
|
|
6439
6438
|
// http bearer authentication required
|
|
6440
6439
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6441
|
-
|
|
6442
|
-
localVarQueryParameter['name'] = name;
|
|
6443
|
-
}
|
|
6444
|
-
localVarHeaderParameter['Content-Type'] = 'text/plain';
|
|
6440
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6445
6441
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6446
6442
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6447
6443
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6448
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6444
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createProgramRunRequest, localVarRequestOptions, configuration);
|
|
6449
6445
|
return {
|
|
6450
6446
|
url: toPathString(localVarUrlObj),
|
|
6451
6447
|
options: localVarRequestOptions,
|
|
6452
6448
|
};
|
|
6453
6449
|
},
|
|
6454
6450
|
/**
|
|
6455
|
-
*
|
|
6456
|
-
* @summary
|
|
6451
|
+
* <!-- theme: danger --> > **Experimental** Creates a new trigger that automatically runs a program when certain conditions are met. Each trigger has a different configuration, and the configuration must be valid for the provided trigger type.
|
|
6452
|
+
* @summary Create Trigger
|
|
6457
6453
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6458
|
-
* @param {
|
|
6454
|
+
* @param {CreateTriggerRequest} createTriggerRequest
|
|
6459
6455
|
* @param {*} [options] Override http request option.
|
|
6460
6456
|
* @throws {RequiredError}
|
|
6461
6457
|
*/
|
|
6462
|
-
|
|
6458
|
+
createTrigger: async (cell, createTriggerRequest, options = {}) => {
|
|
6463
6459
|
// verify required parameter 'cell' is not null or undefined
|
|
6464
|
-
assertParamExists('
|
|
6465
|
-
// verify required parameter '
|
|
6466
|
-
assertParamExists('
|
|
6467
|
-
const localVarPath = `/cells/{cell}/
|
|
6468
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6469
|
-
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
6460
|
+
assertParamExists('createTrigger', 'cell', cell);
|
|
6461
|
+
// verify required parameter 'createTriggerRequest' is not null or undefined
|
|
6462
|
+
assertParamExists('createTrigger', 'createTriggerRequest', createTriggerRequest);
|
|
6463
|
+
const localVarPath = `/cells/{cell}/operator/triggers`
|
|
6464
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6470
6465
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6471
6466
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6472
6467
|
let baseOptions;
|
|
6473
6468
|
if (configuration) {
|
|
6474
6469
|
baseOptions = configuration.baseOptions;
|
|
6475
6470
|
}
|
|
6476
|
-
const localVarRequestOptions = { method: '
|
|
6471
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6477
6472
|
const localVarHeaderParameter = {};
|
|
6478
6473
|
const localVarQueryParameter = {};
|
|
6479
6474
|
// authentication BasicAuth required
|
|
@@ -6482,28 +6477,31 @@ export const ProgramLibraryApiAxiosParamCreator = function (configuration) {
|
|
|
6482
6477
|
// authentication BearerAuth required
|
|
6483
6478
|
// http bearer authentication required
|
|
6484
6479
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6485
6481
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6486
6482
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6487
6483
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6484
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTriggerRequest, localVarRequestOptions, configuration);
|
|
6488
6485
|
return {
|
|
6489
6486
|
url: toPathString(localVarUrlObj),
|
|
6490
6487
|
options: localVarRequestOptions,
|
|
6491
6488
|
};
|
|
6492
6489
|
},
|
|
6493
6490
|
/**
|
|
6494
|
-
* <!-- theme: danger --> > **Experimental**
|
|
6495
|
-
* @summary Delete
|
|
6491
|
+
* <!-- theme: danger --> > **Experimental** Delete an existing trigger.
|
|
6492
|
+
* @summary Delete Trigger
|
|
6493
|
+
* @param {string} trigger The identifier of the trigger.
|
|
6496
6494
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6497
|
-
* @param {Array<string>} programIds Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6498
6495
|
* @param {*} [options] Override http request option.
|
|
6499
6496
|
* @throws {RequiredError}
|
|
6500
6497
|
*/
|
|
6501
|
-
|
|
6498
|
+
deleteTrigger: async (trigger, cell, options = {}) => {
|
|
6499
|
+
// verify required parameter 'trigger' is not null or undefined
|
|
6500
|
+
assertParamExists('deleteTrigger', 'trigger', trigger);
|
|
6502
6501
|
// verify required parameter 'cell' is not null or undefined
|
|
6503
|
-
assertParamExists('
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
const localVarPath = `/cells/{cell}/store/programs`
|
|
6502
|
+
assertParamExists('deleteTrigger', 'cell', cell);
|
|
6503
|
+
const localVarPath = `/cells/{cell}/operator/triggers/{trigger}`
|
|
6504
|
+
.replace(`{${"trigger"}}`, encodeURIComponent(String(trigger)))
|
|
6507
6505
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6508
6506
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6509
6507
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6520,9 +6518,6 @@ export const ProgramLibraryApiAxiosParamCreator = function (configuration) {
|
|
|
6520
6518
|
// authentication BearerAuth required
|
|
6521
6519
|
// http bearer authentication required
|
|
6522
6520
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6523
|
-
if (programIds) {
|
|
6524
|
-
localVarQueryParameter['program_ids'] = programIds;
|
|
6525
|
-
}
|
|
6526
6521
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6527
6522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6528
6523
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -6532,21 +6527,18 @@ export const ProgramLibraryApiAxiosParamCreator = function (configuration) {
|
|
|
6532
6527
|
};
|
|
6533
6528
|
},
|
|
6534
6529
|
/**
|
|
6535
|
-
* <!-- theme: danger --> > **Experimental**
|
|
6536
|
-
* @summary Get Program
|
|
6530
|
+
* <!-- theme: danger --> > **Experimental** Retrieves all program runs, including past and current executions. Use the optional `state` parameter to filter the results by their status.
|
|
6531
|
+
* @summary Get All Program Runs
|
|
6537
6532
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6538
|
-
* @param {string}
|
|
6533
|
+
* @param {string} [state]
|
|
6539
6534
|
* @param {*} [options] Override http request option.
|
|
6540
6535
|
* @throws {RequiredError}
|
|
6541
6536
|
*/
|
|
6542
|
-
|
|
6537
|
+
getAllProgramRuns: async (cell, state, options = {}) => {
|
|
6543
6538
|
// verify required parameter 'cell' is not null or undefined
|
|
6544
|
-
assertParamExists('
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
const localVarPath = `/cells/{cell}/store/programs/{program}`
|
|
6548
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6549
|
-
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
6539
|
+
assertParamExists('getAllProgramRuns', 'cell', cell);
|
|
6540
|
+
const localVarPath = `/cells/{cell}/operator/programs/runs`
|
|
6541
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6550
6542
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6551
6543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6552
6544
|
let baseOptions;
|
|
@@ -6562,6 +6554,9 @@ export const ProgramLibraryApiAxiosParamCreator = function (configuration) {
|
|
|
6562
6554
|
// authentication BearerAuth required
|
|
6563
6555
|
// http bearer authentication required
|
|
6564
6556
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6557
|
+
if (state !== undefined) {
|
|
6558
|
+
localVarQueryParameter['state'] = state;
|
|
6559
|
+
}
|
|
6565
6560
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6566
6561
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6567
6562
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -6571,31 +6566,24 @@ export const ProgramLibraryApiAxiosParamCreator = function (configuration) {
|
|
|
6571
6566
|
};
|
|
6572
6567
|
},
|
|
6573
6568
|
/**
|
|
6574
|
-
* <!-- theme: danger --> > **Experimental**
|
|
6575
|
-
* @summary
|
|
6569
|
+
* <!-- theme: danger --> > **Experimental** Returns all triggers in the system with the program runs caused by each trigger. You can use the program run id to get more details about a specific program run.
|
|
6570
|
+
* @summary Get All Triggers
|
|
6576
6571
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6577
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6578
|
-
* @param {string} body
|
|
6579
6572
|
* @param {*} [options] Override http request option.
|
|
6580
6573
|
* @throws {RequiredError}
|
|
6581
6574
|
*/
|
|
6582
|
-
|
|
6575
|
+
getAllTriggers: async (cell, options = {}) => {
|
|
6583
6576
|
// verify required parameter 'cell' is not null or undefined
|
|
6584
|
-
assertParamExists('
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
// verify required parameter 'body' is not null or undefined
|
|
6588
|
-
assertParamExists('updateProgram', 'body', body);
|
|
6589
|
-
const localVarPath = `/cells/{cell}/store/programs/{program}`
|
|
6590
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6591
|
-
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
6577
|
+
assertParamExists('getAllTriggers', 'cell', cell);
|
|
6578
|
+
const localVarPath = `/cells/{cell}/operator/triggers`
|
|
6579
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6592
6580
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6593
6581
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6594
6582
|
let baseOptions;
|
|
6595
6583
|
if (configuration) {
|
|
6596
6584
|
baseOptions = configuration.baseOptions;
|
|
6597
6585
|
}
|
|
6598
|
-
const localVarRequestOptions = { method: '
|
|
6586
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
6599
6587
|
const localVarHeaderParameter = {};
|
|
6600
6588
|
const localVarQueryParameter = {};
|
|
6601
6589
|
// authentication BasicAuth required
|
|
@@ -6604,257 +6592,30 @@ export const ProgramLibraryApiAxiosParamCreator = function (configuration) {
|
|
|
6604
6592
|
// authentication BearerAuth required
|
|
6605
6593
|
// http bearer authentication required
|
|
6606
6594
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6607
|
-
localVarHeaderParameter['Content-Type'] = 'text/plain';
|
|
6608
6595
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6609
6596
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6610
6597
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6611
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
6612
6598
|
return {
|
|
6613
6599
|
url: toPathString(localVarUrlObj),
|
|
6614
6600
|
options: localVarRequestOptions,
|
|
6615
6601
|
};
|
|
6616
6602
|
},
|
|
6617
|
-
};
|
|
6618
|
-
};
|
|
6619
|
-
/**
|
|
6620
|
-
* ProgramLibraryApi - functional programming interface
|
|
6621
|
-
* @export
|
|
6622
|
-
*/
|
|
6623
|
-
export const ProgramLibraryApiFp = function (configuration) {
|
|
6624
|
-
const localVarAxiosParamCreator = ProgramLibraryApiAxiosParamCreator(configuration);
|
|
6625
|
-
return {
|
|
6626
|
-
/**
|
|
6627
|
-
* <!-- theme: danger --> > **Experimental** Creates a new program. The corresponding metadata is created as well. ## Examples ``` move via p2p() to [0, 0, 0, 0, 0, 0] move frame(\"flange\") to [1, 2, 0] move via line() to [1, 1, 0] a := planned_pose() ``` ``` {% from \'schneider_conveyor_v1.j2\' import schneider_conveyor_library -%} {{ schneider_conveyor_library() }} def start_main(): conveyor_speed_percentage = {{ conveyor_speed_percentage | round(4) }} conveyer_speed = conveyor_speed_percentage*1500 schneider_conveyor_start(conveyer_speed) end ```
|
|
6628
|
-
* @summary Create Program
|
|
6629
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6630
|
-
* @param {string} body
|
|
6631
|
-
* @param {string} [name]
|
|
6632
|
-
* @param {*} [options] Override http request option.
|
|
6633
|
-
* @throws {RequiredError}
|
|
6634
|
-
*/
|
|
6635
|
-
async createProgram(cell, body, name, options) {
|
|
6636
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createProgram(cell, body, name, options);
|
|
6637
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6638
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramLibraryApi.createProgram']?.[localVarOperationServerIndex]?.url;
|
|
6639
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6640
|
-
},
|
|
6641
|
-
/**
|
|
6642
|
-
* # EXPERIMENTAL > **Note:** This endpoint is experimental and might experience functional changes in the future. Deletes the program with the corresponding metadata. This action is irreversible. Does not delete the associated recipes.
|
|
6643
|
-
* @summary Delete Program
|
|
6644
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6645
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6646
|
-
* @param {*} [options] Override http request option.
|
|
6647
|
-
* @throws {RequiredError}
|
|
6648
|
-
*/
|
|
6649
|
-
async deleteProgram(cell, program, options) {
|
|
6650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProgram(cell, program, options);
|
|
6651
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6652
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramLibraryApi.deleteProgram']?.[localVarOperationServerIndex]?.url;
|
|
6653
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6654
|
-
},
|
|
6655
|
-
/**
|
|
6656
|
-
* <!-- theme: danger --> > **Experimental** Deletes the provided list of programs with the corresponding metadata. This action is irreversible.
|
|
6657
|
-
* @summary Delete Program List
|
|
6658
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6659
|
-
* @param {Array<string>} programIds Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6660
|
-
* @param {*} [options] Override http request option.
|
|
6661
|
-
* @throws {RequiredError}
|
|
6662
|
-
*/
|
|
6663
|
-
async deleteProgramList(cell, programIds, options) {
|
|
6664
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProgramList(cell, programIds, options);
|
|
6665
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6666
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramLibraryApi.deleteProgramList']?.[localVarOperationServerIndex]?.url;
|
|
6667
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6668
|
-
},
|
|
6669
|
-
/**
|
|
6670
|
-
* <!-- theme: danger --> > **Experimental** Returns the content of the program. The identifier of the program is received upon creation or from the metadata list of all the programs.
|
|
6671
|
-
* @summary Get Program
|
|
6672
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6673
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6674
|
-
* @param {*} [options] Override http request option.
|
|
6675
|
-
* @throws {RequiredError}
|
|
6676
|
-
*/
|
|
6677
|
-
async getProgram(cell, program, options) {
|
|
6678
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(cell, program, options);
|
|
6679
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6680
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramLibraryApi.getProgram']?.[localVarOperationServerIndex]?.url;
|
|
6681
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6682
|
-
},
|
|
6683
|
-
/**
|
|
6684
|
-
* <!-- theme: danger --> > **Experimental** Updates the content of the program. The update overwrites the existing content. The metadata is updated in correspondence. ## Examples ``` move via p2p() to [0, 0, 0, 0, 0, 0] move frame(\"flange\") to [1, 2, 0] move via line() to [1, 1, 0] a := planned_pose() ``` ``` {% from \'schneider_conveyor_v1.j2\' import schneider_conveyor_library -%} {{ schneider_conveyor_library() }} def start_main(): conveyor_speed_percentage = {{ conveyor_speed_percentage | round(4) }} conveyer_speed = conveyor_speed_percentage*1500 schneider_conveyor_start(conveyer_speed) end ```
|
|
6685
|
-
* @summary Update Program
|
|
6686
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6687
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6688
|
-
* @param {string} body
|
|
6689
|
-
* @param {*} [options] Override http request option.
|
|
6690
|
-
* @throws {RequiredError}
|
|
6691
|
-
*/
|
|
6692
|
-
async updateProgram(cell, program, body, options) {
|
|
6693
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateProgram(cell, program, body, options);
|
|
6694
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6695
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramLibraryApi.updateProgram']?.[localVarOperationServerIndex]?.url;
|
|
6696
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6697
|
-
},
|
|
6698
|
-
};
|
|
6699
|
-
};
|
|
6700
|
-
/**
|
|
6701
|
-
* ProgramLibraryApi - factory interface
|
|
6702
|
-
* @export
|
|
6703
|
-
*/
|
|
6704
|
-
export const ProgramLibraryApiFactory = function (configuration, basePath, axios) {
|
|
6705
|
-
const localVarFp = ProgramLibraryApiFp(configuration);
|
|
6706
|
-
return {
|
|
6707
|
-
/**
|
|
6708
|
-
* <!-- theme: danger --> > **Experimental** Creates a new program. The corresponding metadata is created as well. ## Examples ``` move via p2p() to [0, 0, 0, 0, 0, 0] move frame(\"flange\") to [1, 2, 0] move via line() to [1, 1, 0] a := planned_pose() ``` ``` {% from \'schneider_conveyor_v1.j2\' import schneider_conveyor_library -%} {{ schneider_conveyor_library() }} def start_main(): conveyor_speed_percentage = {{ conveyor_speed_percentage | round(4) }} conveyer_speed = conveyor_speed_percentage*1500 schneider_conveyor_start(conveyer_speed) end ```
|
|
6709
|
-
* @summary Create Program
|
|
6710
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6711
|
-
* @param {string} body
|
|
6712
|
-
* @param {string} [name]
|
|
6713
|
-
* @param {*} [options] Override http request option.
|
|
6714
|
-
* @throws {RequiredError}
|
|
6715
|
-
*/
|
|
6716
|
-
createProgram(cell, body, name, options) {
|
|
6717
|
-
return localVarFp.createProgram(cell, body, name, options).then((request) => request(axios, basePath));
|
|
6718
|
-
},
|
|
6719
|
-
/**
|
|
6720
|
-
* # EXPERIMENTAL > **Note:** This endpoint is experimental and might experience functional changes in the future. Deletes the program with the corresponding metadata. This action is irreversible. Does not delete the associated recipes.
|
|
6721
|
-
* @summary Delete Program
|
|
6722
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6723
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6724
|
-
* @param {*} [options] Override http request option.
|
|
6725
|
-
* @throws {RequiredError}
|
|
6726
|
-
*/
|
|
6727
|
-
deleteProgram(cell, program, options) {
|
|
6728
|
-
return localVarFp.deleteProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
6729
|
-
},
|
|
6730
|
-
/**
|
|
6731
|
-
* <!-- theme: danger --> > **Experimental** Deletes the provided list of programs with the corresponding metadata. This action is irreversible.
|
|
6732
|
-
* @summary Delete Program List
|
|
6733
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6734
|
-
* @param {Array<string>} programIds Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6735
|
-
* @param {*} [options] Override http request option.
|
|
6736
|
-
* @throws {RequiredError}
|
|
6737
|
-
*/
|
|
6738
|
-
deleteProgramList(cell, programIds, options) {
|
|
6739
|
-
return localVarFp.deleteProgramList(cell, programIds, options).then((request) => request(axios, basePath));
|
|
6740
|
-
},
|
|
6741
|
-
/**
|
|
6742
|
-
* <!-- theme: danger --> > **Experimental** Returns the content of the program. The identifier of the program is received upon creation or from the metadata list of all the programs.
|
|
6743
|
-
* @summary Get Program
|
|
6744
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6745
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6746
|
-
* @param {*} [options] Override http request option.
|
|
6747
|
-
* @throws {RequiredError}
|
|
6748
|
-
*/
|
|
6749
|
-
getProgram(cell, program, options) {
|
|
6750
|
-
return localVarFp.getProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
6751
|
-
},
|
|
6752
|
-
/**
|
|
6753
|
-
* <!-- theme: danger --> > **Experimental** Updates the content of the program. The update overwrites the existing content. The metadata is updated in correspondence. ## Examples ``` move via p2p() to [0, 0, 0, 0, 0, 0] move frame(\"flange\") to [1, 2, 0] move via line() to [1, 1, 0] a := planned_pose() ``` ``` {% from \'schneider_conveyor_v1.j2\' import schneider_conveyor_library -%} {{ schneider_conveyor_library() }} def start_main(): conveyor_speed_percentage = {{ conveyor_speed_percentage | round(4) }} conveyer_speed = conveyor_speed_percentage*1500 schneider_conveyor_start(conveyer_speed) end ```
|
|
6754
|
-
* @summary Update Program
|
|
6755
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6756
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6757
|
-
* @param {string} body
|
|
6758
|
-
* @param {*} [options] Override http request option.
|
|
6759
|
-
* @throws {RequiredError}
|
|
6760
|
-
*/
|
|
6761
|
-
updateProgram(cell, program, body, options) {
|
|
6762
|
-
return localVarFp.updateProgram(cell, program, body, options).then((request) => request(axios, basePath));
|
|
6763
|
-
},
|
|
6764
|
-
};
|
|
6765
|
-
};
|
|
6766
|
-
/**
|
|
6767
|
-
* ProgramLibraryApi - object-oriented interface
|
|
6768
|
-
* @export
|
|
6769
|
-
* @class ProgramLibraryApi
|
|
6770
|
-
* @extends {BaseAPI}
|
|
6771
|
-
*/
|
|
6772
|
-
export class ProgramLibraryApi extends BaseAPI {
|
|
6773
|
-
/**
|
|
6774
|
-
* <!-- theme: danger --> > **Experimental** Creates a new program. The corresponding metadata is created as well. ## Examples ``` move via p2p() to [0, 0, 0, 0, 0, 0] move frame(\"flange\") to [1, 2, 0] move via line() to [1, 1, 0] a := planned_pose() ``` ``` {% from \'schneider_conveyor_v1.j2\' import schneider_conveyor_library -%} {{ schneider_conveyor_library() }} def start_main(): conveyor_speed_percentage = {{ conveyor_speed_percentage | round(4) }} conveyer_speed = conveyor_speed_percentage*1500 schneider_conveyor_start(conveyer_speed) end ```
|
|
6775
|
-
* @summary Create Program
|
|
6776
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6777
|
-
* @param {string} body
|
|
6778
|
-
* @param {string} [name]
|
|
6779
|
-
* @param {*} [options] Override http request option.
|
|
6780
|
-
* @throws {RequiredError}
|
|
6781
|
-
* @memberof ProgramLibraryApi
|
|
6782
|
-
*/
|
|
6783
|
-
createProgram(cell, body, name, options) {
|
|
6784
|
-
return ProgramLibraryApiFp(this.configuration).createProgram(cell, body, name, options).then((request) => request(this.axios, this.basePath));
|
|
6785
|
-
}
|
|
6786
|
-
/**
|
|
6787
|
-
* # EXPERIMENTAL > **Note:** This endpoint is experimental and might experience functional changes in the future. Deletes the program with the corresponding metadata. This action is irreversible. Does not delete the associated recipes.
|
|
6788
|
-
* @summary Delete Program
|
|
6789
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6790
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6791
|
-
* @param {*} [options] Override http request option.
|
|
6792
|
-
* @throws {RequiredError}
|
|
6793
|
-
* @memberof ProgramLibraryApi
|
|
6794
|
-
*/
|
|
6795
|
-
deleteProgram(cell, program, options) {
|
|
6796
|
-
return ProgramLibraryApiFp(this.configuration).deleteProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
6797
|
-
}
|
|
6798
|
-
/**
|
|
6799
|
-
* <!-- theme: danger --> > **Experimental** Deletes the provided list of programs with the corresponding metadata. This action is irreversible.
|
|
6800
|
-
* @summary Delete Program List
|
|
6801
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6802
|
-
* @param {Array<string>} programIds Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6803
|
-
* @param {*} [options] Override http request option.
|
|
6804
|
-
* @throws {RequiredError}
|
|
6805
|
-
* @memberof ProgramLibraryApi
|
|
6806
|
-
*/
|
|
6807
|
-
deleteProgramList(cell, programIds, options) {
|
|
6808
|
-
return ProgramLibraryApiFp(this.configuration).deleteProgramList(cell, programIds, options).then((request) => request(this.axios, this.basePath));
|
|
6809
|
-
}
|
|
6810
|
-
/**
|
|
6811
|
-
* <!-- theme: danger --> > **Experimental** Returns the content of the program. The identifier of the program is received upon creation or from the metadata list of all the programs.
|
|
6812
|
-
* @summary Get Program
|
|
6813
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6814
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6815
|
-
* @param {*} [options] Override http request option.
|
|
6816
|
-
* @throws {RequiredError}
|
|
6817
|
-
* @memberof ProgramLibraryApi
|
|
6818
|
-
*/
|
|
6819
|
-
getProgram(cell, program, options) {
|
|
6820
|
-
return ProgramLibraryApiFp(this.configuration).getProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
6821
|
-
}
|
|
6822
|
-
/**
|
|
6823
|
-
* <!-- theme: danger --> > **Experimental** Updates the content of the program. The update overwrites the existing content. The metadata is updated in correspondence. ## Examples ``` move via p2p() to [0, 0, 0, 0, 0, 0] move frame(\"flange\") to [1, 2, 0] move via line() to [1, 1, 0] a := planned_pose() ``` ``` {% from \'schneider_conveyor_v1.j2\' import schneider_conveyor_library -%} {{ schneider_conveyor_library() }} def start_main(): conveyor_speed_percentage = {{ conveyor_speed_percentage | round(4) }} conveyer_speed = conveyor_speed_percentage*1500 schneider_conveyor_start(conveyer_speed) end ```
|
|
6824
|
-
* @summary Update Program
|
|
6825
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6826
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6827
|
-
* @param {string} body
|
|
6828
|
-
* @param {*} [options] Override http request option.
|
|
6829
|
-
* @throws {RequiredError}
|
|
6830
|
-
* @memberof ProgramLibraryApi
|
|
6831
|
-
*/
|
|
6832
|
-
updateProgram(cell, program, body, options) {
|
|
6833
|
-
return ProgramLibraryApiFp(this.configuration).updateProgram(cell, program, body, options).then((request) => request(this.axios, this.basePath));
|
|
6834
|
-
}
|
|
6835
|
-
}
|
|
6836
|
-
/**
|
|
6837
|
-
* ProgramLibraryMetadataApi - axios parameter creator
|
|
6838
|
-
* @export
|
|
6839
|
-
*/
|
|
6840
|
-
export const ProgramLibraryMetadataApiAxiosParamCreator = function (configuration) {
|
|
6841
|
-
return {
|
|
6842
6603
|
/**
|
|
6843
|
-
* <!-- theme: danger --> > **Experimental**
|
|
6844
|
-
* @summary Get Program
|
|
6604
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific program run.
|
|
6605
|
+
* @summary Get Program Run
|
|
6606
|
+
* @param {string} run
|
|
6845
6607
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6846
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6847
6608
|
* @param {*} [options] Override http request option.
|
|
6848
6609
|
* @throws {RequiredError}
|
|
6849
6610
|
*/
|
|
6850
|
-
|
|
6611
|
+
getProgramRun: async (run, cell, options = {}) => {
|
|
6612
|
+
// verify required parameter 'run' is not null or undefined
|
|
6613
|
+
assertParamExists('getProgramRun', 'run', run);
|
|
6851
6614
|
// verify required parameter 'cell' is not null or undefined
|
|
6852
|
-
assertParamExists('
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6857
|
-
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
6615
|
+
assertParamExists('getProgramRun', 'cell', cell);
|
|
6616
|
+
const localVarPath = `/cells/{cell}/operator/programs/runs/{run}`
|
|
6617
|
+
.replace(`{${"run"}}`, encodeURIComponent(String(run)))
|
|
6618
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6858
6619
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6859
6620
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6860
6621
|
let baseOptions;
|
|
@@ -6879,17 +6640,20 @@ export const ProgramLibraryMetadataApiAxiosParamCreator = function (configuratio
|
|
|
6879
6640
|
};
|
|
6880
6641
|
},
|
|
6881
6642
|
/**
|
|
6882
|
-
* <!-- theme: danger --> > **Experimental**
|
|
6883
|
-
* @summary
|
|
6643
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific trigger.
|
|
6644
|
+
* @summary Get Trigger
|
|
6645
|
+
* @param {string} trigger The identifier of the trigger.
|
|
6884
6646
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6885
|
-
* @param {boolean} [showHidden] If true, hidden programs, where the `is_hidden` flag is active, are included in the list.
|
|
6886
6647
|
* @param {*} [options] Override http request option.
|
|
6887
6648
|
* @throws {RequiredError}
|
|
6888
6649
|
*/
|
|
6889
|
-
|
|
6650
|
+
getTrigger: async (trigger, cell, options = {}) => {
|
|
6651
|
+
// verify required parameter 'trigger' is not null or undefined
|
|
6652
|
+
assertParamExists('getTrigger', 'trigger', trigger);
|
|
6890
6653
|
// verify required parameter 'cell' is not null or undefined
|
|
6891
|
-
assertParamExists('
|
|
6892
|
-
const localVarPath = `/cells/{cell}/
|
|
6654
|
+
assertParamExists('getTrigger', 'cell', cell);
|
|
6655
|
+
const localVarPath = `/cells/{cell}/operator/triggers/{trigger}`
|
|
6656
|
+
.replace(`{${"trigger"}}`, encodeURIComponent(String(trigger)))
|
|
6893
6657
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6894
6658
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6895
6659
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6906,9 +6670,6 @@ export const ProgramLibraryMetadataApiAxiosParamCreator = function (configuratio
|
|
|
6906
6670
|
// authentication BearerAuth required
|
|
6907
6671
|
// http bearer authentication required
|
|
6908
6672
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6909
|
-
if (showHidden !== undefined) {
|
|
6910
|
-
localVarQueryParameter['show_hidden'] = showHidden;
|
|
6911
|
-
}
|
|
6912
6673
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6913
6674
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6914
6675
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -6918,24 +6679,24 @@ export const ProgramLibraryMetadataApiAxiosParamCreator = function (configuratio
|
|
|
6918
6679
|
};
|
|
6919
6680
|
},
|
|
6920
6681
|
/**
|
|
6921
|
-
* <!-- theme: danger --> > **Experimental** Updates the
|
|
6922
|
-
* @summary Update
|
|
6682
|
+
* <!-- theme: danger --> > **Experimental** Updates the details of an existing trigger The exact behavior of switching a trigger from active to inactive or vice versa is not defined yet.
|
|
6683
|
+
* @summary Update Trigger
|
|
6684
|
+
* @param {string} trigger the id of the trigger
|
|
6923
6685
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6924
|
-
* @param {
|
|
6925
|
-
* @param {UpdateProgramMetadataRequest} updateProgramMetadataRequest
|
|
6686
|
+
* @param {UpdateTriggerRequest} updateTriggerRequest
|
|
6926
6687
|
* @param {*} [options] Override http request option.
|
|
6927
6688
|
* @throws {RequiredError}
|
|
6928
6689
|
*/
|
|
6929
|
-
|
|
6690
|
+
updateTrigger: async (trigger, cell, updateTriggerRequest, options = {}) => {
|
|
6691
|
+
// verify required parameter 'trigger' is not null or undefined
|
|
6692
|
+
assertParamExists('updateTrigger', 'trigger', trigger);
|
|
6930
6693
|
// verify required parameter 'cell' is not null or undefined
|
|
6931
|
-
assertParamExists('
|
|
6932
|
-
// verify required parameter '
|
|
6933
|
-
assertParamExists('
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6938
|
-
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
6694
|
+
assertParamExists('updateTrigger', 'cell', cell);
|
|
6695
|
+
// verify required parameter 'updateTriggerRequest' is not null or undefined
|
|
6696
|
+
assertParamExists('updateTrigger', 'updateTriggerRequest', updateTriggerRequest);
|
|
6697
|
+
const localVarPath = `/cells/{cell}/operator/triggers/{trigger}`
|
|
6698
|
+
.replace(`{${"trigger"}}`, encodeURIComponent(String(trigger)))
|
|
6699
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
6939
6700
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6940
6701
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6941
6702
|
let baseOptions;
|
|
@@ -6955,55 +6716,7 @@ export const ProgramLibraryMetadataApiAxiosParamCreator = function (configuratio
|
|
|
6955
6716
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6956
6717
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6957
6718
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6958
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6959
|
-
return {
|
|
6960
|
-
url: toPathString(localVarUrlObj),
|
|
6961
|
-
options: localVarRequestOptions,
|
|
6962
|
-
};
|
|
6963
|
-
},
|
|
6964
|
-
/**
|
|
6965
|
-
* <!-- theme: danger --> > **Experimental** Uploads an image for the corresponding program. The image is served as a static file. The path to the image is stored in the metadata.
|
|
6966
|
-
* @summary Upload Program Metadata Image
|
|
6967
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6968
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
6969
|
-
* @param {File} file
|
|
6970
|
-
* @param {*} [options] Override http request option.
|
|
6971
|
-
* @throws {RequiredError}
|
|
6972
|
-
*/
|
|
6973
|
-
uploadProgramMetadataImage: async (cell, program, file, options = {}) => {
|
|
6974
|
-
// verify required parameter 'cell' is not null or undefined
|
|
6975
|
-
assertParamExists('uploadProgramMetadataImage', 'cell', cell);
|
|
6976
|
-
// verify required parameter 'program' is not null or undefined
|
|
6977
|
-
assertParamExists('uploadProgramMetadataImage', 'program', program);
|
|
6978
|
-
// verify required parameter 'file' is not null or undefined
|
|
6979
|
-
assertParamExists('uploadProgramMetadataImage', 'file', file);
|
|
6980
|
-
const localVarPath = `/cells/{cell}/store/programs/{program}/metadata/image`
|
|
6981
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
6982
|
-
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
6983
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6984
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6985
|
-
let baseOptions;
|
|
6986
|
-
if (configuration) {
|
|
6987
|
-
baseOptions = configuration.baseOptions;
|
|
6988
|
-
}
|
|
6989
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6990
|
-
const localVarHeaderParameter = {};
|
|
6991
|
-
const localVarQueryParameter = {};
|
|
6992
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
6993
|
-
// authentication BasicAuth required
|
|
6994
|
-
// http basic authentication required
|
|
6995
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
6996
|
-
// authentication BearerAuth required
|
|
6997
|
-
// http bearer authentication required
|
|
6998
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6999
|
-
if (file !== undefined) {
|
|
7000
|
-
localVarFormParams.append('file', file);
|
|
7001
|
-
}
|
|
7002
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
7003
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7004
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7005
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7006
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
6719
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTriggerRequest, localVarRequestOptions, configuration);
|
|
7007
6720
|
return {
|
|
7008
6721
|
url: toPathString(localVarUrlObj),
|
|
7009
6722
|
options: localVarRequestOptions,
|
|
@@ -7012,190 +6725,132 @@ export const ProgramLibraryMetadataApiAxiosParamCreator = function (configuratio
|
|
|
7012
6725
|
};
|
|
7013
6726
|
};
|
|
7014
6727
|
/**
|
|
7015
|
-
*
|
|
6728
|
+
* ProgramOperatorApi - functional programming interface
|
|
7016
6729
|
* @export
|
|
7017
6730
|
*/
|
|
7018
|
-
export const
|
|
7019
|
-
const localVarAxiosParamCreator =
|
|
6731
|
+
export const ProgramOperatorApiFp = function (configuration) {
|
|
6732
|
+
const localVarAxiosParamCreator = ProgramOperatorApiAxiosParamCreator(configuration);
|
|
7020
6733
|
return {
|
|
7021
6734
|
/**
|
|
7022
|
-
* <!-- theme: danger --> > **Experimental**
|
|
7023
|
-
* @summary
|
|
6735
|
+
* <!-- theme: danger --> > **Experimental** This endpoint initiates the execution of a program stored in the program library. A program is started with the a specific program id that exists in the program library.
|
|
6736
|
+
* @summary Run Program from Library
|
|
7024
6737
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7025
|
-
* @param {
|
|
6738
|
+
* @param {CreateProgramRunRequest} createProgramRunRequest
|
|
7026
6739
|
* @param {*} [options] Override http request option.
|
|
7027
6740
|
* @throws {RequiredError}
|
|
7028
6741
|
*/
|
|
7029
|
-
async
|
|
7030
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6742
|
+
async createProgramRun(cell, createProgramRunRequest, options) {
|
|
6743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createProgramRun(cell, createProgramRunRequest, options);
|
|
7031
6744
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7032
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
6745
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.createProgramRun']?.[localVarOperationServerIndex]?.url;
|
|
7033
6746
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7034
6747
|
},
|
|
7035
6748
|
/**
|
|
7036
|
-
* <!-- theme: danger --> > **Experimental**
|
|
7037
|
-
* @summary
|
|
6749
|
+
* <!-- theme: danger --> > **Experimental** Creates a new trigger that automatically runs a program when certain conditions are met. Each trigger has a different configuration, and the configuration must be valid for the provided trigger type.
|
|
6750
|
+
* @summary Create Trigger
|
|
7038
6751
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7039
|
-
* @param {
|
|
6752
|
+
* @param {CreateTriggerRequest} createTriggerRequest
|
|
7040
6753
|
* @param {*} [options] Override http request option.
|
|
7041
6754
|
* @throws {RequiredError}
|
|
7042
6755
|
*/
|
|
7043
|
-
async
|
|
7044
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6756
|
+
async createTrigger(cell, createTriggerRequest, options) {
|
|
6757
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTrigger(cell, createTriggerRequest, options);
|
|
7045
6758
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7046
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
6759
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.createTrigger']?.[localVarOperationServerIndex]?.url;
|
|
7047
6760
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7048
6761
|
},
|
|
7049
6762
|
/**
|
|
7050
|
-
* <!-- theme: danger --> > **Experimental**
|
|
7051
|
-
* @summary
|
|
6763
|
+
* <!-- theme: danger --> > **Experimental** Delete an existing trigger.
|
|
6764
|
+
* @summary Delete Trigger
|
|
6765
|
+
* @param {string} trigger The identifier of the trigger.
|
|
7052
6766
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7053
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
7054
|
-
* @param {UpdateProgramMetadataRequest} updateProgramMetadataRequest
|
|
7055
6767
|
* @param {*} [options] Override http request option.
|
|
7056
6768
|
* @throws {RequiredError}
|
|
7057
6769
|
*/
|
|
7058
|
-
async
|
|
7059
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6770
|
+
async deleteTrigger(trigger, cell, options) {
|
|
6771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTrigger(trigger, cell, options);
|
|
7060
6772
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7061
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
6773
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.deleteTrigger']?.[localVarOperationServerIndex]?.url;
|
|
7062
6774
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7063
6775
|
},
|
|
7064
6776
|
/**
|
|
7065
|
-
* <!-- theme: danger --> > **Experimental**
|
|
7066
|
-
* @summary
|
|
6777
|
+
* <!-- theme: danger --> > **Experimental** Retrieves all program runs, including past and current executions. Use the optional `state` parameter to filter the results by their status.
|
|
6778
|
+
* @summary Get All Program Runs
|
|
7067
6779
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7068
|
-
* @param {string}
|
|
7069
|
-
* @param {File} file
|
|
6780
|
+
* @param {string} [state]
|
|
7070
6781
|
* @param {*} [options] Override http request option.
|
|
7071
6782
|
* @throws {RequiredError}
|
|
7072
6783
|
*/
|
|
7073
|
-
async
|
|
7074
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6784
|
+
async getAllProgramRuns(cell, state, options) {
|
|
6785
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllProgramRuns(cell, state, options);
|
|
7075
6786
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7076
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
6787
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.getAllProgramRuns']?.[localVarOperationServerIndex]?.url;
|
|
7077
6788
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7078
6789
|
},
|
|
7079
|
-
};
|
|
7080
|
-
};
|
|
7081
|
-
/**
|
|
7082
|
-
* ProgramLibraryMetadataApi - factory interface
|
|
7083
|
-
* @export
|
|
7084
|
-
*/
|
|
7085
|
-
export const ProgramLibraryMetadataApiFactory = function (configuration, basePath, axios) {
|
|
7086
|
-
const localVarFp = ProgramLibraryMetadataApiFp(configuration);
|
|
7087
|
-
return {
|
|
7088
6790
|
/**
|
|
7089
|
-
* <!-- theme: danger --> > **Experimental** Returns
|
|
7090
|
-
* @summary Get
|
|
6791
|
+
* <!-- theme: danger --> > **Experimental** Returns all triggers in the system with the program runs caused by each trigger. You can use the program run id to get more details about a specific program run.
|
|
6792
|
+
* @summary Get All Triggers
|
|
7091
6793
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7092
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
7093
6794
|
* @param {*} [options] Override http request option.
|
|
7094
6795
|
* @throws {RequiredError}
|
|
7095
6796
|
*/
|
|
7096
|
-
|
|
7097
|
-
|
|
6797
|
+
async getAllTriggers(cell, options) {
|
|
6798
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTriggers(cell, options);
|
|
6799
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6800
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.getAllTriggers']?.[localVarOperationServerIndex]?.url;
|
|
6801
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7098
6802
|
},
|
|
7099
6803
|
/**
|
|
7100
|
-
* <!-- theme: danger --> > **Experimental**
|
|
7101
|
-
* @summary
|
|
6804
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific program run.
|
|
6805
|
+
* @summary Get Program Run
|
|
6806
|
+
* @param {string} run
|
|
7102
6807
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7103
|
-
* @param {boolean} [showHidden] If true, hidden programs, where the `is_hidden` flag is active, are included in the list.
|
|
7104
6808
|
* @param {*} [options] Override http request option.
|
|
7105
6809
|
* @throws {RequiredError}
|
|
7106
6810
|
*/
|
|
7107
|
-
|
|
7108
|
-
|
|
6811
|
+
async getProgramRun(run, cell, options) {
|
|
6812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgramRun(run, cell, options);
|
|
6813
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6814
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.getProgramRun']?.[localVarOperationServerIndex]?.url;
|
|
6815
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7109
6816
|
},
|
|
7110
6817
|
/**
|
|
7111
|
-
* <!-- theme: danger --> > **Experimental**
|
|
7112
|
-
* @summary
|
|
6818
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific trigger.
|
|
6819
|
+
* @summary Get Trigger
|
|
6820
|
+
* @param {string} trigger The identifier of the trigger.
|
|
7113
6821
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7114
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
7115
|
-
* @param {UpdateProgramMetadataRequest} updateProgramMetadataRequest
|
|
7116
6822
|
* @param {*} [options] Override http request option.
|
|
7117
6823
|
* @throws {RequiredError}
|
|
7118
6824
|
*/
|
|
7119
|
-
|
|
7120
|
-
|
|
6825
|
+
async getTrigger(trigger, cell, options) {
|
|
6826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTrigger(trigger, cell, options);
|
|
6827
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6828
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.getTrigger']?.[localVarOperationServerIndex]?.url;
|
|
6829
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7121
6830
|
},
|
|
7122
6831
|
/**
|
|
7123
|
-
* <!-- theme: danger --> > **Experimental**
|
|
7124
|
-
* @summary
|
|
6832
|
+
* <!-- theme: danger --> > **Experimental** Updates the details of an existing trigger The exact behavior of switching a trigger from active to inactive or vice versa is not defined yet.
|
|
6833
|
+
* @summary Update Trigger
|
|
6834
|
+
* @param {string} trigger the id of the trigger
|
|
7125
6835
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7126
|
-
* @param {
|
|
7127
|
-
* @param {File} file
|
|
6836
|
+
* @param {UpdateTriggerRequest} updateTriggerRequest
|
|
7128
6837
|
* @param {*} [options] Override http request option.
|
|
7129
6838
|
* @throws {RequiredError}
|
|
7130
6839
|
*/
|
|
7131
|
-
|
|
7132
|
-
|
|
6840
|
+
async updateTrigger(trigger, cell, updateTriggerRequest, options) {
|
|
6841
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTrigger(trigger, cell, updateTriggerRequest, options);
|
|
6842
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6843
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.updateTrigger']?.[localVarOperationServerIndex]?.url;
|
|
6844
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7133
6845
|
},
|
|
7134
6846
|
};
|
|
7135
6847
|
};
|
|
7136
6848
|
/**
|
|
7137
|
-
*
|
|
7138
|
-
* @export
|
|
7139
|
-
* @class ProgramLibraryMetadataApi
|
|
7140
|
-
* @extends {BaseAPI}
|
|
7141
|
-
*/
|
|
7142
|
-
export class ProgramLibraryMetadataApi extends BaseAPI {
|
|
7143
|
-
/**
|
|
7144
|
-
* <!-- theme: danger --> > **Experimental** Returns metadata of the corresponding program.
|
|
7145
|
-
* @summary Get Program Metadata
|
|
7146
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7147
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
7148
|
-
* @param {*} [options] Override http request option.
|
|
7149
|
-
* @throws {RequiredError}
|
|
7150
|
-
* @memberof ProgramLibraryMetadataApi
|
|
7151
|
-
*/
|
|
7152
|
-
getProgramMetadata(cell, program, options) {
|
|
7153
|
-
return ProgramLibraryMetadataApiFp(this.configuration).getProgramMetadata(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
7154
|
-
}
|
|
7155
|
-
/**
|
|
7156
|
-
* <!-- theme: danger --> > **Experimental** Returns a list of all the stored programs, represented by their metadata.
|
|
7157
|
-
* @summary List Program Metadata
|
|
7158
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7159
|
-
* @param {boolean} [showHidden] If true, hidden programs, where the `is_hidden` flag is active, are included in the list.
|
|
7160
|
-
* @param {*} [options] Override http request option.
|
|
7161
|
-
* @throws {RequiredError}
|
|
7162
|
-
* @memberof ProgramLibraryMetadataApi
|
|
7163
|
-
*/
|
|
7164
|
-
listProgramMetadata(cell, showHidden, options) {
|
|
7165
|
-
return ProgramLibraryMetadataApiFp(this.configuration).listProgramMetadata(cell, showHidden, options).then((request) => request(this.axios, this.basePath));
|
|
7166
|
-
}
|
|
7167
|
-
/**
|
|
7168
|
-
* <!-- theme: danger --> > **Experimental** Updates the metadata of the corresponding program. The update is partial, only the set fields get updated.
|
|
7169
|
-
* @summary Update Program Metadata
|
|
7170
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7171
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
7172
|
-
* @param {UpdateProgramMetadataRequest} updateProgramMetadataRequest
|
|
7173
|
-
* @param {*} [options] Override http request option.
|
|
7174
|
-
* @throws {RequiredError}
|
|
7175
|
-
* @memberof ProgramLibraryMetadataApi
|
|
7176
|
-
*/
|
|
7177
|
-
updateProgramMetadata(cell, program, updateProgramMetadataRequest, options) {
|
|
7178
|
-
return ProgramLibraryMetadataApiFp(this.configuration).updateProgramMetadata(cell, program, updateProgramMetadataRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7179
|
-
}
|
|
7180
|
-
/**
|
|
7181
|
-
* <!-- theme: danger --> > **Experimental** Uploads an image for the corresponding program. The image is served as a static file. The path to the image is stored in the metadata.
|
|
7182
|
-
* @summary Upload Program Metadata Image
|
|
7183
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7184
|
-
* @param {string} program Recieved from [listProgramMetadata](listProgramMetadata) or from the response of [createProgram](createProgram).
|
|
7185
|
-
* @param {File} file
|
|
7186
|
-
* @param {*} [options] Override http request option.
|
|
7187
|
-
* @throws {RequiredError}
|
|
7188
|
-
* @memberof ProgramLibraryMetadataApi
|
|
7189
|
-
*/
|
|
7190
|
-
uploadProgramMetadataImage(cell, program, file, options) {
|
|
7191
|
-
return ProgramLibraryMetadataApiFp(this.configuration).uploadProgramMetadataImage(cell, program, file, options).then((request) => request(this.axios, this.basePath));
|
|
7192
|
-
}
|
|
7193
|
-
}
|
|
7194
|
-
/**
|
|
7195
|
-
* ProgramOperatorApi - axios parameter creator
|
|
6849
|
+
* ProgramOperatorApi - factory interface
|
|
7196
6850
|
* @export
|
|
7197
6851
|
*/
|
|
7198
|
-
export const
|
|
6852
|
+
export const ProgramOperatorApiFactory = function (configuration, basePath, axios) {
|
|
6853
|
+
const localVarFp = ProgramOperatorApiFp(configuration);
|
|
7199
6854
|
return {
|
|
7200
6855
|
/**
|
|
7201
6856
|
* <!-- theme: danger --> > **Experimental** This endpoint initiates the execution of a program stored in the program library. A program is started with the a specific program id that exists in the program library.
|
|
@@ -7205,37 +6860,8 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7205
6860
|
* @param {*} [options] Override http request option.
|
|
7206
6861
|
* @throws {RequiredError}
|
|
7207
6862
|
*/
|
|
7208
|
-
createProgramRun
|
|
7209
|
-
|
|
7210
|
-
assertParamExists('createProgramRun', 'cell', cell);
|
|
7211
|
-
// verify required parameter 'createProgramRunRequest' is not null or undefined
|
|
7212
|
-
assertParamExists('createProgramRun', 'createProgramRunRequest', createProgramRunRequest);
|
|
7213
|
-
const localVarPath = `/cells/{cell}/operator/programs/runs`
|
|
7214
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
7215
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7216
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7217
|
-
let baseOptions;
|
|
7218
|
-
if (configuration) {
|
|
7219
|
-
baseOptions = configuration.baseOptions;
|
|
7220
|
-
}
|
|
7221
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7222
|
-
const localVarHeaderParameter = {};
|
|
7223
|
-
const localVarQueryParameter = {};
|
|
7224
|
-
// authentication BasicAuth required
|
|
7225
|
-
// http basic authentication required
|
|
7226
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7227
|
-
// authentication BearerAuth required
|
|
7228
|
-
// http bearer authentication required
|
|
7229
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7230
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7231
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7232
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7233
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7234
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createProgramRunRequest, localVarRequestOptions, configuration);
|
|
7235
|
-
return {
|
|
7236
|
-
url: toPathString(localVarUrlObj),
|
|
7237
|
-
options: localVarRequestOptions,
|
|
7238
|
-
};
|
|
6863
|
+
createProgramRun(cell, createProgramRunRequest, options) {
|
|
6864
|
+
return localVarFp.createProgramRun(cell, createProgramRunRequest, options).then((request) => request(axios, basePath));
|
|
7239
6865
|
},
|
|
7240
6866
|
/**
|
|
7241
6867
|
* <!-- theme: danger --> > **Experimental** Creates a new trigger that automatically runs a program when certain conditions are met. Each trigger has a different configuration, and the configuration must be valid for the provided trigger type.
|
|
@@ -7245,37 +6871,8 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7245
6871
|
* @param {*} [options] Override http request option.
|
|
7246
6872
|
* @throws {RequiredError}
|
|
7247
6873
|
*/
|
|
7248
|
-
createTrigger
|
|
7249
|
-
|
|
7250
|
-
assertParamExists('createTrigger', 'cell', cell);
|
|
7251
|
-
// verify required parameter 'createTriggerRequest' is not null or undefined
|
|
7252
|
-
assertParamExists('createTrigger', 'createTriggerRequest', createTriggerRequest);
|
|
7253
|
-
const localVarPath = `/cells/{cell}/operator/triggers`
|
|
7254
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
7255
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7256
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7257
|
-
let baseOptions;
|
|
7258
|
-
if (configuration) {
|
|
7259
|
-
baseOptions = configuration.baseOptions;
|
|
7260
|
-
}
|
|
7261
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7262
|
-
const localVarHeaderParameter = {};
|
|
7263
|
-
const localVarQueryParameter = {};
|
|
7264
|
-
// authentication BasicAuth required
|
|
7265
|
-
// http basic authentication required
|
|
7266
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7267
|
-
// authentication BearerAuth required
|
|
7268
|
-
// http bearer authentication required
|
|
7269
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7270
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7271
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7272
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7273
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7274
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createTriggerRequest, localVarRequestOptions, configuration);
|
|
7275
|
-
return {
|
|
7276
|
-
url: toPathString(localVarUrlObj),
|
|
7277
|
-
options: localVarRequestOptions,
|
|
7278
|
-
};
|
|
6874
|
+
createTrigger(cell, createTriggerRequest, options) {
|
|
6875
|
+
return localVarFp.createTrigger(cell, createTriggerRequest, options).then((request) => request(axios, basePath));
|
|
7279
6876
|
},
|
|
7280
6877
|
/**
|
|
7281
6878
|
* <!-- theme: danger --> > **Experimental** Delete an existing trigger.
|
|
@@ -7285,36 +6882,8 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7285
6882
|
* @param {*} [options] Override http request option.
|
|
7286
6883
|
* @throws {RequiredError}
|
|
7287
6884
|
*/
|
|
7288
|
-
deleteTrigger
|
|
7289
|
-
|
|
7290
|
-
assertParamExists('deleteTrigger', 'trigger', trigger);
|
|
7291
|
-
// verify required parameter 'cell' is not null or undefined
|
|
7292
|
-
assertParamExists('deleteTrigger', 'cell', cell);
|
|
7293
|
-
const localVarPath = `/cells/{cell}/operator/triggers/{trigger}`
|
|
7294
|
-
.replace(`{${"trigger"}}`, encodeURIComponent(String(trigger)))
|
|
7295
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
7296
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7297
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7298
|
-
let baseOptions;
|
|
7299
|
-
if (configuration) {
|
|
7300
|
-
baseOptions = configuration.baseOptions;
|
|
7301
|
-
}
|
|
7302
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
7303
|
-
const localVarHeaderParameter = {};
|
|
7304
|
-
const localVarQueryParameter = {};
|
|
7305
|
-
// authentication BasicAuth required
|
|
7306
|
-
// http basic authentication required
|
|
7307
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7308
|
-
// authentication BearerAuth required
|
|
7309
|
-
// http bearer authentication required
|
|
7310
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7311
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7312
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7313
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7314
|
-
return {
|
|
7315
|
-
url: toPathString(localVarUrlObj),
|
|
7316
|
-
options: localVarRequestOptions,
|
|
7317
|
-
};
|
|
6885
|
+
deleteTrigger(trigger, cell, options) {
|
|
6886
|
+
return localVarFp.deleteTrigger(trigger, cell, options).then((request) => request(axios, basePath));
|
|
7318
6887
|
},
|
|
7319
6888
|
/**
|
|
7320
6889
|
* <!-- theme: danger --> > **Experimental** Retrieves all program runs, including past and current executions. Use the optional `state` parameter to filter the results by their status.
|
|
@@ -7324,18 +6893,188 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7324
6893
|
* @param {*} [options] Override http request option.
|
|
7325
6894
|
* @throws {RequiredError}
|
|
7326
6895
|
*/
|
|
7327
|
-
getAllProgramRuns
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
6896
|
+
getAllProgramRuns(cell, state, options) {
|
|
6897
|
+
return localVarFp.getAllProgramRuns(cell, state, options).then((request) => request(axios, basePath));
|
|
6898
|
+
},
|
|
6899
|
+
/**
|
|
6900
|
+
* <!-- theme: danger --> > **Experimental** Returns all triggers in the system with the program runs caused by each trigger. You can use the program run id to get more details about a specific program run.
|
|
6901
|
+
* @summary Get All Triggers
|
|
6902
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6903
|
+
* @param {*} [options] Override http request option.
|
|
6904
|
+
* @throws {RequiredError}
|
|
6905
|
+
*/
|
|
6906
|
+
getAllTriggers(cell, options) {
|
|
6907
|
+
return localVarFp.getAllTriggers(cell, options).then((request) => request(axios, basePath));
|
|
6908
|
+
},
|
|
6909
|
+
/**
|
|
6910
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific program run.
|
|
6911
|
+
* @summary Get Program Run
|
|
6912
|
+
* @param {string} run
|
|
6913
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6914
|
+
* @param {*} [options] Override http request option.
|
|
6915
|
+
* @throws {RequiredError}
|
|
6916
|
+
*/
|
|
6917
|
+
getProgramRun(run, cell, options) {
|
|
6918
|
+
return localVarFp.getProgramRun(run, cell, options).then((request) => request(axios, basePath));
|
|
6919
|
+
},
|
|
6920
|
+
/**
|
|
6921
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific trigger.
|
|
6922
|
+
* @summary Get Trigger
|
|
6923
|
+
* @param {string} trigger The identifier of the trigger.
|
|
6924
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6925
|
+
* @param {*} [options] Override http request option.
|
|
6926
|
+
* @throws {RequiredError}
|
|
6927
|
+
*/
|
|
6928
|
+
getTrigger(trigger, cell, options) {
|
|
6929
|
+
return localVarFp.getTrigger(trigger, cell, options).then((request) => request(axios, basePath));
|
|
6930
|
+
},
|
|
6931
|
+
/**
|
|
6932
|
+
* <!-- theme: danger --> > **Experimental** Updates the details of an existing trigger The exact behavior of switching a trigger from active to inactive or vice versa is not defined yet.
|
|
6933
|
+
* @summary Update Trigger
|
|
6934
|
+
* @param {string} trigger the id of the trigger
|
|
6935
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6936
|
+
* @param {UpdateTriggerRequest} updateTriggerRequest
|
|
6937
|
+
* @param {*} [options] Override http request option.
|
|
6938
|
+
* @throws {RequiredError}
|
|
6939
|
+
*/
|
|
6940
|
+
updateTrigger(trigger, cell, updateTriggerRequest, options) {
|
|
6941
|
+
return localVarFp.updateTrigger(trigger, cell, updateTriggerRequest, options).then((request) => request(axios, basePath));
|
|
6942
|
+
},
|
|
6943
|
+
};
|
|
6944
|
+
};
|
|
6945
|
+
/**
|
|
6946
|
+
* ProgramOperatorApi - object-oriented interface
|
|
6947
|
+
* @export
|
|
6948
|
+
* @class ProgramOperatorApi
|
|
6949
|
+
* @extends {BaseAPI}
|
|
6950
|
+
*/
|
|
6951
|
+
export class ProgramOperatorApi extends BaseAPI {
|
|
6952
|
+
/**
|
|
6953
|
+
* <!-- theme: danger --> > **Experimental** This endpoint initiates the execution of a program stored in the program library. A program is started with the a specific program id that exists in the program library.
|
|
6954
|
+
* @summary Run Program from Library
|
|
6955
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6956
|
+
* @param {CreateProgramRunRequest} createProgramRunRequest
|
|
6957
|
+
* @param {*} [options] Override http request option.
|
|
6958
|
+
* @throws {RequiredError}
|
|
6959
|
+
* @memberof ProgramOperatorApi
|
|
6960
|
+
*/
|
|
6961
|
+
createProgramRun(cell, createProgramRunRequest, options) {
|
|
6962
|
+
return ProgramOperatorApiFp(this.configuration).createProgramRun(cell, createProgramRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6963
|
+
}
|
|
6964
|
+
/**
|
|
6965
|
+
* <!-- theme: danger --> > **Experimental** Creates a new trigger that automatically runs a program when certain conditions are met. Each trigger has a different configuration, and the configuration must be valid for the provided trigger type.
|
|
6966
|
+
* @summary Create Trigger
|
|
6967
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6968
|
+
* @param {CreateTriggerRequest} createTriggerRequest
|
|
6969
|
+
* @param {*} [options] Override http request option.
|
|
6970
|
+
* @throws {RequiredError}
|
|
6971
|
+
* @memberof ProgramOperatorApi
|
|
6972
|
+
*/
|
|
6973
|
+
createTrigger(cell, createTriggerRequest, options) {
|
|
6974
|
+
return ProgramOperatorApiFp(this.configuration).createTrigger(cell, createTriggerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6975
|
+
}
|
|
6976
|
+
/**
|
|
6977
|
+
* <!-- theme: danger --> > **Experimental** Delete an existing trigger.
|
|
6978
|
+
* @summary Delete Trigger
|
|
6979
|
+
* @param {string} trigger The identifier of the trigger.
|
|
6980
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6981
|
+
* @param {*} [options] Override http request option.
|
|
6982
|
+
* @throws {RequiredError}
|
|
6983
|
+
* @memberof ProgramOperatorApi
|
|
6984
|
+
*/
|
|
6985
|
+
deleteTrigger(trigger, cell, options) {
|
|
6986
|
+
return ProgramOperatorApiFp(this.configuration).deleteTrigger(trigger, cell, options).then((request) => request(this.axios, this.basePath));
|
|
6987
|
+
}
|
|
6988
|
+
/**
|
|
6989
|
+
* <!-- theme: danger --> > **Experimental** Retrieves all program runs, including past and current executions. Use the optional `state` parameter to filter the results by their status.
|
|
6990
|
+
* @summary Get All Program Runs
|
|
6991
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6992
|
+
* @param {string} [state]
|
|
6993
|
+
* @param {*} [options] Override http request option.
|
|
6994
|
+
* @throws {RequiredError}
|
|
6995
|
+
* @memberof ProgramOperatorApi
|
|
6996
|
+
*/
|
|
6997
|
+
getAllProgramRuns(cell, state, options) {
|
|
6998
|
+
return ProgramOperatorApiFp(this.configuration).getAllProgramRuns(cell, state, options).then((request) => request(this.axios, this.basePath));
|
|
6999
|
+
}
|
|
7000
|
+
/**
|
|
7001
|
+
* <!-- theme: danger --> > **Experimental** Returns all triggers in the system with the program runs caused by each trigger. You can use the program run id to get more details about a specific program run.
|
|
7002
|
+
* @summary Get All Triggers
|
|
7003
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7004
|
+
* @param {*} [options] Override http request option.
|
|
7005
|
+
* @throws {RequiredError}
|
|
7006
|
+
* @memberof ProgramOperatorApi
|
|
7007
|
+
*/
|
|
7008
|
+
getAllTriggers(cell, options) {
|
|
7009
|
+
return ProgramOperatorApiFp(this.configuration).getAllTriggers(cell, options).then((request) => request(this.axios, this.basePath));
|
|
7010
|
+
}
|
|
7011
|
+
/**
|
|
7012
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific program run.
|
|
7013
|
+
* @summary Get Program Run
|
|
7014
|
+
* @param {string} run
|
|
7015
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7016
|
+
* @param {*} [options] Override http request option.
|
|
7017
|
+
* @throws {RequiredError}
|
|
7018
|
+
* @memberof ProgramOperatorApi
|
|
7019
|
+
*/
|
|
7020
|
+
getProgramRun(run, cell, options) {
|
|
7021
|
+
return ProgramOperatorApiFp(this.configuration).getProgramRun(run, cell, options).then((request) => request(this.axios, this.basePath));
|
|
7022
|
+
}
|
|
7023
|
+
/**
|
|
7024
|
+
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific trigger.
|
|
7025
|
+
* @summary Get Trigger
|
|
7026
|
+
* @param {string} trigger The identifier of the trigger.
|
|
7027
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7028
|
+
* @param {*} [options] Override http request option.
|
|
7029
|
+
* @throws {RequiredError}
|
|
7030
|
+
* @memberof ProgramOperatorApi
|
|
7031
|
+
*/
|
|
7032
|
+
getTrigger(trigger, cell, options) {
|
|
7033
|
+
return ProgramOperatorApiFp(this.configuration).getTrigger(trigger, cell, options).then((request) => request(this.axios, this.basePath));
|
|
7034
|
+
}
|
|
7035
|
+
/**
|
|
7036
|
+
* <!-- theme: danger --> > **Experimental** Updates the details of an existing trigger The exact behavior of switching a trigger from active to inactive or vice versa is not defined yet.
|
|
7037
|
+
* @summary Update Trigger
|
|
7038
|
+
* @param {string} trigger the id of the trigger
|
|
7039
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7040
|
+
* @param {UpdateTriggerRequest} updateTriggerRequest
|
|
7041
|
+
* @param {*} [options] Override http request option.
|
|
7042
|
+
* @throws {RequiredError}
|
|
7043
|
+
* @memberof ProgramOperatorApi
|
|
7044
|
+
*/
|
|
7045
|
+
updateTrigger(trigger, cell, updateTriggerRequest, options) {
|
|
7046
|
+
return ProgramOperatorApiFp(this.configuration).updateTrigger(trigger, cell, updateTriggerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7047
|
+
}
|
|
7048
|
+
}
|
|
7049
|
+
/**
|
|
7050
|
+
* StoreCollisionComponentsApi - axios parameter creator
|
|
7051
|
+
* @export
|
|
7052
|
+
*/
|
|
7053
|
+
export const StoreCollisionComponentsApiAxiosParamCreator = function (configuration) {
|
|
7054
|
+
return {
|
|
7055
|
+
/**
|
|
7056
|
+
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
7057
|
+
* @summary Delete Collider
|
|
7058
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7059
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
7060
|
+
* @param {*} [options] Override http request option.
|
|
7061
|
+
* @throws {RequiredError}
|
|
7062
|
+
*/
|
|
7063
|
+
deleteStoredCollider: async (cell, collider, options = {}) => {
|
|
7064
|
+
// verify required parameter 'cell' is not null or undefined
|
|
7065
|
+
assertParamExists('deleteStoredCollider', 'cell', cell);
|
|
7066
|
+
// verify required parameter 'collider' is not null or undefined
|
|
7067
|
+
assertParamExists('deleteStoredCollider', 'collider', collider);
|
|
7068
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
7069
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7070
|
+
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
7071
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7072
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7073
|
+
let baseOptions;
|
|
7074
|
+
if (configuration) {
|
|
7336
7075
|
baseOptions = configuration.baseOptions;
|
|
7337
7076
|
}
|
|
7338
|
-
const localVarRequestOptions = { method: '
|
|
7077
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
7339
7078
|
const localVarHeaderParameter = {};
|
|
7340
7079
|
const localVarQueryParameter = {};
|
|
7341
7080
|
// authentication BasicAuth required
|
|
@@ -7344,9 +7083,6 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7344
7083
|
// authentication BearerAuth required
|
|
7345
7084
|
// http bearer authentication required
|
|
7346
7085
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7347
|
-
if (state !== undefined) {
|
|
7348
|
-
localVarQueryParameter['state'] = state;
|
|
7349
|
-
}
|
|
7350
7086
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7351
7087
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7352
7088
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -7356,24 +7092,28 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7356
7092
|
};
|
|
7357
7093
|
},
|
|
7358
7094
|
/**
|
|
7359
|
-
* <!-- theme: danger --> >
|
|
7360
|
-
* @summary
|
|
7095
|
+
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
7096
|
+
* @summary Delete Link Chain
|
|
7361
7097
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7098
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
7362
7099
|
* @param {*} [options] Override http request option.
|
|
7363
7100
|
* @throws {RequiredError}
|
|
7364
7101
|
*/
|
|
7365
|
-
|
|
7102
|
+
deleteStoredCollisionLinkChain: async (cell, linkChain, options = {}) => {
|
|
7366
7103
|
// verify required parameter 'cell' is not null or undefined
|
|
7367
|
-
assertParamExists('
|
|
7368
|
-
|
|
7369
|
-
|
|
7104
|
+
assertParamExists('deleteStoredCollisionLinkChain', 'cell', cell);
|
|
7105
|
+
// verify required parameter 'linkChain' is not null or undefined
|
|
7106
|
+
assertParamExists('deleteStoredCollisionLinkChain', 'linkChain', linkChain);
|
|
7107
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
7108
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7109
|
+
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
7370
7110
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7371
7111
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7372
7112
|
let baseOptions;
|
|
7373
7113
|
if (configuration) {
|
|
7374
7114
|
baseOptions = configuration.baseOptions;
|
|
7375
7115
|
}
|
|
7376
|
-
const localVarRequestOptions = { method: '
|
|
7116
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
7377
7117
|
const localVarHeaderParameter = {};
|
|
7378
7118
|
const localVarQueryParameter = {};
|
|
7379
7119
|
// authentication BasicAuth required
|
|
@@ -7391,28 +7131,28 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7391
7131
|
};
|
|
7392
7132
|
},
|
|
7393
7133
|
/**
|
|
7394
|
-
* <!-- theme: danger --> >
|
|
7395
|
-
* @summary
|
|
7396
|
-
* @param {string} run
|
|
7134
|
+
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
7135
|
+
* @summary Delete Tool
|
|
7397
7136
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7137
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
7398
7138
|
* @param {*} [options] Override http request option.
|
|
7399
7139
|
* @throws {RequiredError}
|
|
7400
7140
|
*/
|
|
7401
|
-
|
|
7402
|
-
// verify required parameter 'run' is not null or undefined
|
|
7403
|
-
assertParamExists('getProgramRun', 'run', run);
|
|
7141
|
+
deleteStoredCollisionTool: async (cell, tool, options = {}) => {
|
|
7404
7142
|
// verify required parameter 'cell' is not null or undefined
|
|
7405
|
-
assertParamExists('
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7143
|
+
assertParamExists('deleteStoredCollisionTool', 'cell', cell);
|
|
7144
|
+
// verify required parameter 'tool' is not null or undefined
|
|
7145
|
+
assertParamExists('deleteStoredCollisionTool', 'tool', tool);
|
|
7146
|
+
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
7147
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7148
|
+
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
7409
7149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7410
7150
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7411
7151
|
let baseOptions;
|
|
7412
7152
|
if (configuration) {
|
|
7413
7153
|
baseOptions = configuration.baseOptions;
|
|
7414
7154
|
}
|
|
7415
|
-
const localVarRequestOptions = { method: '
|
|
7155
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
7416
7156
|
const localVarHeaderParameter = {};
|
|
7417
7157
|
const localVarQueryParameter = {};
|
|
7418
7158
|
// authentication BasicAuth required
|
|
@@ -7430,21 +7170,21 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7430
7170
|
};
|
|
7431
7171
|
},
|
|
7432
7172
|
/**
|
|
7433
|
-
*
|
|
7434
|
-
* @summary Get
|
|
7435
|
-
* @param {string} trigger The identifier of the trigger.
|
|
7173
|
+
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
7174
|
+
* @summary Get Default Link Chain
|
|
7436
7175
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7176
|
+
* @param {MotionGroupModel} motionGroupModel Unique identifier for the model of a motion group, e.g. `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
|
|
7437
7177
|
* @param {*} [options] Override http request option.
|
|
7438
7178
|
* @throws {RequiredError}
|
|
7439
7179
|
*/
|
|
7440
|
-
|
|
7441
|
-
// verify required parameter 'trigger' is not null or undefined
|
|
7442
|
-
assertParamExists('getTrigger', 'trigger', trigger);
|
|
7180
|
+
getDefaultLinkChain: async (cell, motionGroupModel, options = {}) => {
|
|
7443
7181
|
// verify required parameter 'cell' is not null or undefined
|
|
7444
|
-
assertParamExists('
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7182
|
+
assertParamExists('getDefaultLinkChain', 'cell', cell);
|
|
7183
|
+
// verify required parameter 'motionGroupModel' is not null or undefined
|
|
7184
|
+
assertParamExists('getDefaultLinkChain', 'motionGroupModel', motionGroupModel);
|
|
7185
|
+
const localVarPath = `/cells/{cell}/store/collision/default-link-chains/{motion-group-model}`
|
|
7186
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7187
|
+
.replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
|
|
7448
7188
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7449
7189
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7450
7190
|
let baseOptions;
|
|
@@ -7469,31 +7209,28 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7469
7209
|
};
|
|
7470
7210
|
},
|
|
7471
7211
|
/**
|
|
7472
|
-
*
|
|
7473
|
-
* @summary
|
|
7474
|
-
* @param {string} trigger the id of the trigger
|
|
7212
|
+
* Returns the collider.
|
|
7213
|
+
* @summary Get Collider
|
|
7475
7214
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7476
|
-
* @param {
|
|
7215
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
7477
7216
|
* @param {*} [options] Override http request option.
|
|
7478
7217
|
* @throws {RequiredError}
|
|
7479
7218
|
*/
|
|
7480
|
-
|
|
7481
|
-
// verify required parameter 'trigger' is not null or undefined
|
|
7482
|
-
assertParamExists('updateTrigger', 'trigger', trigger);
|
|
7219
|
+
getStoredCollider: async (cell, collider, options = {}) => {
|
|
7483
7220
|
// verify required parameter 'cell' is not null or undefined
|
|
7484
|
-
assertParamExists('
|
|
7485
|
-
// verify required parameter '
|
|
7486
|
-
assertParamExists('
|
|
7487
|
-
const localVarPath = `/cells/{cell}/
|
|
7488
|
-
.replace(`{${"
|
|
7489
|
-
.replace(`{${"
|
|
7221
|
+
assertParamExists('getStoredCollider', 'cell', cell);
|
|
7222
|
+
// verify required parameter 'collider' is not null or undefined
|
|
7223
|
+
assertParamExists('getStoredCollider', 'collider', collider);
|
|
7224
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
7225
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7226
|
+
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
7490
7227
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7491
7228
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7492
7229
|
let baseOptions;
|
|
7493
7230
|
if (configuration) {
|
|
7494
7231
|
baseOptions = configuration.baseOptions;
|
|
7495
7232
|
}
|
|
7496
|
-
const localVarRequestOptions = { method: '
|
|
7233
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7497
7234
|
const localVarHeaderParameter = {};
|
|
7498
7235
|
const localVarQueryParameter = {};
|
|
7499
7236
|
// authentication BasicAuth required
|
|
@@ -7502,359 +7239,213 @@ export const ProgramOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
7502
7239
|
// authentication BearerAuth required
|
|
7503
7240
|
// http bearer authentication required
|
|
7504
7241
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7505
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7506
7242
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7507
7243
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7508
7244
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7509
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateTriggerRequest, localVarRequestOptions, configuration);
|
|
7510
7245
|
return {
|
|
7511
7246
|
url: toPathString(localVarUrlObj),
|
|
7512
7247
|
options: localVarRequestOptions,
|
|
7513
7248
|
};
|
|
7514
7249
|
},
|
|
7515
|
-
};
|
|
7516
|
-
};
|
|
7517
|
-
/**
|
|
7518
|
-
* ProgramOperatorApi - functional programming interface
|
|
7519
|
-
* @export
|
|
7520
|
-
*/
|
|
7521
|
-
export const ProgramOperatorApiFp = function (configuration) {
|
|
7522
|
-
const localVarAxiosParamCreator = ProgramOperatorApiAxiosParamCreator(configuration);
|
|
7523
|
-
return {
|
|
7524
|
-
/**
|
|
7525
|
-
* <!-- theme: danger --> > **Experimental** This endpoint initiates the execution of a program stored in the program library. A program is started with the a specific program id that exists in the program library.
|
|
7526
|
-
* @summary Run Program from Library
|
|
7527
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7528
|
-
* @param {CreateProgramRunRequest} createProgramRunRequest
|
|
7529
|
-
* @param {*} [options] Override http request option.
|
|
7530
|
-
* @throws {RequiredError}
|
|
7531
|
-
*/
|
|
7532
|
-
async createProgramRun(cell, createProgramRunRequest, options) {
|
|
7533
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createProgramRun(cell, createProgramRunRequest, options);
|
|
7534
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7535
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.createProgramRun']?.[localVarOperationServerIndex]?.url;
|
|
7536
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7537
|
-
},
|
|
7538
|
-
/**
|
|
7539
|
-
* <!-- theme: danger --> > **Experimental** Creates a new trigger that automatically runs a program when certain conditions are met. Each trigger has a different configuration, and the configuration must be valid for the provided trigger type.
|
|
7540
|
-
* @summary Create Trigger
|
|
7541
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7542
|
-
* @param {CreateTriggerRequest} createTriggerRequest
|
|
7543
|
-
* @param {*} [options] Override http request option.
|
|
7544
|
-
* @throws {RequiredError}
|
|
7545
|
-
*/
|
|
7546
|
-
async createTrigger(cell, createTriggerRequest, options) {
|
|
7547
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createTrigger(cell, createTriggerRequest, options);
|
|
7548
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7549
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.createTrigger']?.[localVarOperationServerIndex]?.url;
|
|
7550
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7551
|
-
},
|
|
7552
7250
|
/**
|
|
7553
|
-
*
|
|
7554
|
-
* @summary
|
|
7555
|
-
* @param {string} trigger The identifier of the trigger.
|
|
7251
|
+
* Returns the collision link chain.
|
|
7252
|
+
* @summary Get Link Chain
|
|
7556
7253
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7254
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
7557
7255
|
* @param {*} [options] Override http request option.
|
|
7558
7256
|
* @throws {RequiredError}
|
|
7559
7257
|
*/
|
|
7560
|
-
async
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7258
|
+
getStoredCollisionLinkChain: async (cell, linkChain, options = {}) => {
|
|
7259
|
+
// verify required parameter 'cell' is not null or undefined
|
|
7260
|
+
assertParamExists('getStoredCollisionLinkChain', 'cell', cell);
|
|
7261
|
+
// verify required parameter 'linkChain' is not null or undefined
|
|
7262
|
+
assertParamExists('getStoredCollisionLinkChain', 'linkChain', linkChain);
|
|
7263
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
7264
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7265
|
+
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
7266
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7267
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7268
|
+
let baseOptions;
|
|
7269
|
+
if (configuration) {
|
|
7270
|
+
baseOptions = configuration.baseOptions;
|
|
7271
|
+
}
|
|
7272
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7273
|
+
const localVarHeaderParameter = {};
|
|
7274
|
+
const localVarQueryParameter = {};
|
|
7275
|
+
// authentication BasicAuth required
|
|
7276
|
+
// http basic authentication required
|
|
7277
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7278
|
+
// authentication BearerAuth required
|
|
7279
|
+
// http bearer authentication required
|
|
7280
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7281
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7282
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7283
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7284
|
+
return {
|
|
7285
|
+
url: toPathString(localVarUrlObj),
|
|
7286
|
+
options: localVarRequestOptions,
|
|
7287
|
+
};
|
|
7565
7288
|
},
|
|
7566
7289
|
/**
|
|
7567
|
-
*
|
|
7568
|
-
* @summary Get
|
|
7290
|
+
* Returns the stored tool.
|
|
7291
|
+
* @summary Get Tool
|
|
7569
7292
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7570
|
-
* @param {string}
|
|
7293
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
7571
7294
|
* @param {*} [options] Override http request option.
|
|
7572
7295
|
* @throws {RequiredError}
|
|
7573
7296
|
*/
|
|
7574
|
-
async
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7297
|
+
getStoredCollisionTool: async (cell, tool, options = {}) => {
|
|
7298
|
+
// verify required parameter 'cell' is not null or undefined
|
|
7299
|
+
assertParamExists('getStoredCollisionTool', 'cell', cell);
|
|
7300
|
+
// verify required parameter 'tool' is not null or undefined
|
|
7301
|
+
assertParamExists('getStoredCollisionTool', 'tool', tool);
|
|
7302
|
+
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
7303
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7304
|
+
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
7305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7307
|
+
let baseOptions;
|
|
7308
|
+
if (configuration) {
|
|
7309
|
+
baseOptions = configuration.baseOptions;
|
|
7310
|
+
}
|
|
7311
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7312
|
+
const localVarHeaderParameter = {};
|
|
7313
|
+
const localVarQueryParameter = {};
|
|
7314
|
+
// authentication BasicAuth required
|
|
7315
|
+
// http basic authentication required
|
|
7316
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7317
|
+
// authentication BearerAuth required
|
|
7318
|
+
// http bearer authentication required
|
|
7319
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7322
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7323
|
+
return {
|
|
7324
|
+
url: toPathString(localVarUrlObj),
|
|
7325
|
+
options: localVarRequestOptions,
|
|
7326
|
+
};
|
|
7579
7327
|
},
|
|
7580
7328
|
/**
|
|
7581
|
-
*
|
|
7582
|
-
* @summary
|
|
7329
|
+
* Returns the stored link chains.
|
|
7330
|
+
* @summary List Link Chains
|
|
7583
7331
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7584
7332
|
* @param {*} [options] Override http request option.
|
|
7585
7333
|
* @throws {RequiredError}
|
|
7586
7334
|
*/
|
|
7587
|
-
async
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
const
|
|
7591
|
-
|
|
7335
|
+
listCollisionLinkChains: async (cell, options = {}) => {
|
|
7336
|
+
// verify required parameter 'cell' is not null or undefined
|
|
7337
|
+
assertParamExists('listCollisionLinkChains', 'cell', cell);
|
|
7338
|
+
const localVarPath = `/cells/{cell}/store/collision/link-chains`
|
|
7339
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
7340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7341
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7342
|
+
let baseOptions;
|
|
7343
|
+
if (configuration) {
|
|
7344
|
+
baseOptions = configuration.baseOptions;
|
|
7345
|
+
}
|
|
7346
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7347
|
+
const localVarHeaderParameter = {};
|
|
7348
|
+
const localVarQueryParameter = {};
|
|
7349
|
+
// authentication BasicAuth required
|
|
7350
|
+
// http basic authentication required
|
|
7351
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7352
|
+
// authentication BearerAuth required
|
|
7353
|
+
// http bearer authentication required
|
|
7354
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7355
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7356
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7357
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7358
|
+
return {
|
|
7359
|
+
url: toPathString(localVarUrlObj),
|
|
7360
|
+
options: localVarRequestOptions,
|
|
7361
|
+
};
|
|
7592
7362
|
},
|
|
7593
7363
|
/**
|
|
7594
|
-
*
|
|
7595
|
-
* @summary
|
|
7596
|
-
* @param {string} run
|
|
7364
|
+
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
7365
|
+
* @summary List Colliders
|
|
7597
7366
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7598
7367
|
* @param {*} [options] Override http request option.
|
|
7599
7368
|
* @throws {RequiredError}
|
|
7600
7369
|
*/
|
|
7601
|
-
async
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
const
|
|
7605
|
-
|
|
7370
|
+
listStoredColliders: async (cell, options = {}) => {
|
|
7371
|
+
// verify required parameter 'cell' is not null or undefined
|
|
7372
|
+
assertParamExists('listStoredColliders', 'cell', cell);
|
|
7373
|
+
const localVarPath = `/cells/{cell}/store/collision/colliders`
|
|
7374
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
7375
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7376
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7377
|
+
let baseOptions;
|
|
7378
|
+
if (configuration) {
|
|
7379
|
+
baseOptions = configuration.baseOptions;
|
|
7380
|
+
}
|
|
7381
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7382
|
+
const localVarHeaderParameter = {};
|
|
7383
|
+
const localVarQueryParameter = {};
|
|
7384
|
+
// authentication BasicAuth required
|
|
7385
|
+
// http basic authentication required
|
|
7386
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7387
|
+
// authentication BearerAuth required
|
|
7388
|
+
// http bearer authentication required
|
|
7389
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7392
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7393
|
+
return {
|
|
7394
|
+
url: toPathString(localVarUrlObj),
|
|
7395
|
+
options: localVarRequestOptions,
|
|
7396
|
+
};
|
|
7606
7397
|
},
|
|
7607
7398
|
/**
|
|
7608
|
-
*
|
|
7609
|
-
* @summary
|
|
7610
|
-
* @param {string} trigger The identifier of the trigger.
|
|
7399
|
+
* Returns the list of stored tools.
|
|
7400
|
+
* @summary List Tools
|
|
7611
7401
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7612
7402
|
* @param {*} [options] Override http request option.
|
|
7613
7403
|
* @throws {RequiredError}
|
|
7614
7404
|
*/
|
|
7615
|
-
async
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
const
|
|
7619
|
-
|
|
7405
|
+
listStoredCollisionTools: async (cell, options = {}) => {
|
|
7406
|
+
// verify required parameter 'cell' is not null or undefined
|
|
7407
|
+
assertParamExists('listStoredCollisionTools', 'cell', cell);
|
|
7408
|
+
const localVarPath = `/cells/{cell}/store/collision/tools`
|
|
7409
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
7410
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7411
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7412
|
+
let baseOptions;
|
|
7413
|
+
if (configuration) {
|
|
7414
|
+
baseOptions = configuration.baseOptions;
|
|
7415
|
+
}
|
|
7416
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7417
|
+
const localVarHeaderParameter = {};
|
|
7418
|
+
const localVarQueryParameter = {};
|
|
7419
|
+
// authentication BasicAuth required
|
|
7420
|
+
// http basic authentication required
|
|
7421
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7422
|
+
// authentication BearerAuth required
|
|
7423
|
+
// http bearer authentication required
|
|
7424
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7425
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7426
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7427
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7428
|
+
return {
|
|
7429
|
+
url: toPathString(localVarUrlObj),
|
|
7430
|
+
options: localVarRequestOptions,
|
|
7431
|
+
};
|
|
7620
7432
|
},
|
|
7621
7433
|
/**
|
|
7622
|
-
*
|
|
7623
|
-
* @summary
|
|
7624
|
-
* @param {string} trigger the id of the trigger
|
|
7434
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
7435
|
+
* @summary Store Collider
|
|
7625
7436
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7626
|
-
* @param {
|
|
7437
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
7438
|
+
* @param {Collider} collider2
|
|
7627
7439
|
* @param {*} [options] Override http request option.
|
|
7628
7440
|
* @throws {RequiredError}
|
|
7629
7441
|
*/
|
|
7630
|
-
async
|
|
7631
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTrigger(trigger, cell, updateTriggerRequest, options);
|
|
7632
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7633
|
-
const localVarOperationServerBasePath = operationServerMap['ProgramOperatorApi.updateTrigger']?.[localVarOperationServerIndex]?.url;
|
|
7634
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7635
|
-
},
|
|
7636
|
-
};
|
|
7637
|
-
};
|
|
7638
|
-
/**
|
|
7639
|
-
* ProgramOperatorApi - factory interface
|
|
7640
|
-
* @export
|
|
7641
|
-
*/
|
|
7642
|
-
export const ProgramOperatorApiFactory = function (configuration, basePath, axios) {
|
|
7643
|
-
const localVarFp = ProgramOperatorApiFp(configuration);
|
|
7644
|
-
return {
|
|
7645
|
-
/**
|
|
7646
|
-
* <!-- theme: danger --> > **Experimental** This endpoint initiates the execution of a program stored in the program library. A program is started with the a specific program id that exists in the program library.
|
|
7647
|
-
* @summary Run Program from Library
|
|
7648
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7649
|
-
* @param {CreateProgramRunRequest} createProgramRunRequest
|
|
7650
|
-
* @param {*} [options] Override http request option.
|
|
7651
|
-
* @throws {RequiredError}
|
|
7652
|
-
*/
|
|
7653
|
-
createProgramRun(cell, createProgramRunRequest, options) {
|
|
7654
|
-
return localVarFp.createProgramRun(cell, createProgramRunRequest, options).then((request) => request(axios, basePath));
|
|
7655
|
-
},
|
|
7656
|
-
/**
|
|
7657
|
-
* <!-- theme: danger --> > **Experimental** Creates a new trigger that automatically runs a program when certain conditions are met. Each trigger has a different configuration, and the configuration must be valid for the provided trigger type.
|
|
7658
|
-
* @summary Create Trigger
|
|
7659
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7660
|
-
* @param {CreateTriggerRequest} createTriggerRequest
|
|
7661
|
-
* @param {*} [options] Override http request option.
|
|
7662
|
-
* @throws {RequiredError}
|
|
7663
|
-
*/
|
|
7664
|
-
createTrigger(cell, createTriggerRequest, options) {
|
|
7665
|
-
return localVarFp.createTrigger(cell, createTriggerRequest, options).then((request) => request(axios, basePath));
|
|
7666
|
-
},
|
|
7667
|
-
/**
|
|
7668
|
-
* <!-- theme: danger --> > **Experimental** Delete an existing trigger.
|
|
7669
|
-
* @summary Delete Trigger
|
|
7670
|
-
* @param {string} trigger The identifier of the trigger.
|
|
7671
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7672
|
-
* @param {*} [options] Override http request option.
|
|
7673
|
-
* @throws {RequiredError}
|
|
7674
|
-
*/
|
|
7675
|
-
deleteTrigger(trigger, cell, options) {
|
|
7676
|
-
return localVarFp.deleteTrigger(trigger, cell, options).then((request) => request(axios, basePath));
|
|
7677
|
-
},
|
|
7678
|
-
/**
|
|
7679
|
-
* <!-- theme: danger --> > **Experimental** Retrieves all program runs, including past and current executions. Use the optional `state` parameter to filter the results by their status.
|
|
7680
|
-
* @summary Get All Program Runs
|
|
7681
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7682
|
-
* @param {string} [state]
|
|
7683
|
-
* @param {*} [options] Override http request option.
|
|
7684
|
-
* @throws {RequiredError}
|
|
7685
|
-
*/
|
|
7686
|
-
getAllProgramRuns(cell, state, options) {
|
|
7687
|
-
return localVarFp.getAllProgramRuns(cell, state, options).then((request) => request(axios, basePath));
|
|
7688
|
-
},
|
|
7689
|
-
/**
|
|
7690
|
-
* <!-- theme: danger --> > **Experimental** Returns all triggers in the system with the program runs caused by each trigger. You can use the program run id to get more details about a specific program run.
|
|
7691
|
-
* @summary Get All Triggers
|
|
7692
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7693
|
-
* @param {*} [options] Override http request option.
|
|
7694
|
-
* @throws {RequiredError}
|
|
7695
|
-
*/
|
|
7696
|
-
getAllTriggers(cell, options) {
|
|
7697
|
-
return localVarFp.getAllTriggers(cell, options).then((request) => request(axios, basePath));
|
|
7698
|
-
},
|
|
7699
|
-
/**
|
|
7700
|
-
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific program run.
|
|
7701
|
-
* @summary Get Program Run
|
|
7702
|
-
* @param {string} run
|
|
7703
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7704
|
-
* @param {*} [options] Override http request option.
|
|
7705
|
-
* @throws {RequiredError}
|
|
7706
|
-
*/
|
|
7707
|
-
getProgramRun(run, cell, options) {
|
|
7708
|
-
return localVarFp.getProgramRun(run, cell, options).then((request) => request(axios, basePath));
|
|
7709
|
-
},
|
|
7710
|
-
/**
|
|
7711
|
-
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific trigger.
|
|
7712
|
-
* @summary Get Trigger
|
|
7713
|
-
* @param {string} trigger The identifier of the trigger.
|
|
7714
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7715
|
-
* @param {*} [options] Override http request option.
|
|
7716
|
-
* @throws {RequiredError}
|
|
7717
|
-
*/
|
|
7718
|
-
getTrigger(trigger, cell, options) {
|
|
7719
|
-
return localVarFp.getTrigger(trigger, cell, options).then((request) => request(axios, basePath));
|
|
7720
|
-
},
|
|
7721
|
-
/**
|
|
7722
|
-
* <!-- theme: danger --> > **Experimental** Updates the details of an existing trigger The exact behavior of switching a trigger from active to inactive or vice versa is not defined yet.
|
|
7723
|
-
* @summary Update Trigger
|
|
7724
|
-
* @param {string} trigger the id of the trigger
|
|
7725
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7726
|
-
* @param {UpdateTriggerRequest} updateTriggerRequest
|
|
7727
|
-
* @param {*} [options] Override http request option.
|
|
7728
|
-
* @throws {RequiredError}
|
|
7729
|
-
*/
|
|
7730
|
-
updateTrigger(trigger, cell, updateTriggerRequest, options) {
|
|
7731
|
-
return localVarFp.updateTrigger(trigger, cell, updateTriggerRequest, options).then((request) => request(axios, basePath));
|
|
7732
|
-
},
|
|
7733
|
-
};
|
|
7734
|
-
};
|
|
7735
|
-
/**
|
|
7736
|
-
* ProgramOperatorApi - object-oriented interface
|
|
7737
|
-
* @export
|
|
7738
|
-
* @class ProgramOperatorApi
|
|
7739
|
-
* @extends {BaseAPI}
|
|
7740
|
-
*/
|
|
7741
|
-
export class ProgramOperatorApi extends BaseAPI {
|
|
7742
|
-
/**
|
|
7743
|
-
* <!-- theme: danger --> > **Experimental** This endpoint initiates the execution of a program stored in the program library. A program is started with the a specific program id that exists in the program library.
|
|
7744
|
-
* @summary Run Program from Library
|
|
7745
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7746
|
-
* @param {CreateProgramRunRequest} createProgramRunRequest
|
|
7747
|
-
* @param {*} [options] Override http request option.
|
|
7748
|
-
* @throws {RequiredError}
|
|
7749
|
-
* @memberof ProgramOperatorApi
|
|
7750
|
-
*/
|
|
7751
|
-
createProgramRun(cell, createProgramRunRequest, options) {
|
|
7752
|
-
return ProgramOperatorApiFp(this.configuration).createProgramRun(cell, createProgramRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7753
|
-
}
|
|
7754
|
-
/**
|
|
7755
|
-
* <!-- theme: danger --> > **Experimental** Creates a new trigger that automatically runs a program when certain conditions are met. Each trigger has a different configuration, and the configuration must be valid for the provided trigger type.
|
|
7756
|
-
* @summary Create Trigger
|
|
7757
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7758
|
-
* @param {CreateTriggerRequest} createTriggerRequest
|
|
7759
|
-
* @param {*} [options] Override http request option.
|
|
7760
|
-
* @throws {RequiredError}
|
|
7761
|
-
* @memberof ProgramOperatorApi
|
|
7762
|
-
*/
|
|
7763
|
-
createTrigger(cell, createTriggerRequest, options) {
|
|
7764
|
-
return ProgramOperatorApiFp(this.configuration).createTrigger(cell, createTriggerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7765
|
-
}
|
|
7766
|
-
/**
|
|
7767
|
-
* <!-- theme: danger --> > **Experimental** Delete an existing trigger.
|
|
7768
|
-
* @summary Delete Trigger
|
|
7769
|
-
* @param {string} trigger The identifier of the trigger.
|
|
7770
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7771
|
-
* @param {*} [options] Override http request option.
|
|
7772
|
-
* @throws {RequiredError}
|
|
7773
|
-
* @memberof ProgramOperatorApi
|
|
7774
|
-
*/
|
|
7775
|
-
deleteTrigger(trigger, cell, options) {
|
|
7776
|
-
return ProgramOperatorApiFp(this.configuration).deleteTrigger(trigger, cell, options).then((request) => request(this.axios, this.basePath));
|
|
7777
|
-
}
|
|
7778
|
-
/**
|
|
7779
|
-
* <!-- theme: danger --> > **Experimental** Retrieves all program runs, including past and current executions. Use the optional `state` parameter to filter the results by their status.
|
|
7780
|
-
* @summary Get All Program Runs
|
|
7781
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7782
|
-
* @param {string} [state]
|
|
7783
|
-
* @param {*} [options] Override http request option.
|
|
7784
|
-
* @throws {RequiredError}
|
|
7785
|
-
* @memberof ProgramOperatorApi
|
|
7786
|
-
*/
|
|
7787
|
-
getAllProgramRuns(cell, state, options) {
|
|
7788
|
-
return ProgramOperatorApiFp(this.configuration).getAllProgramRuns(cell, state, options).then((request) => request(this.axios, this.basePath));
|
|
7789
|
-
}
|
|
7790
|
-
/**
|
|
7791
|
-
* <!-- theme: danger --> > **Experimental** Returns all triggers in the system with the program runs caused by each trigger. You can use the program run id to get more details about a specific program run.
|
|
7792
|
-
* @summary Get All Triggers
|
|
7793
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7794
|
-
* @param {*} [options] Override http request option.
|
|
7795
|
-
* @throws {RequiredError}
|
|
7796
|
-
* @memberof ProgramOperatorApi
|
|
7797
|
-
*/
|
|
7798
|
-
getAllTriggers(cell, options) {
|
|
7799
|
-
return ProgramOperatorApiFp(this.configuration).getAllTriggers(cell, options).then((request) => request(this.axios, this.basePath));
|
|
7800
|
-
}
|
|
7801
|
-
/**
|
|
7802
|
-
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific program run.
|
|
7803
|
-
* @summary Get Program Run
|
|
7804
|
-
* @param {string} run
|
|
7805
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7806
|
-
* @param {*} [options] Override http request option.
|
|
7807
|
-
* @throws {RequiredError}
|
|
7808
|
-
* @memberof ProgramOperatorApi
|
|
7809
|
-
*/
|
|
7810
|
-
getProgramRun(run, cell, options) {
|
|
7811
|
-
return ProgramOperatorApiFp(this.configuration).getProgramRun(run, cell, options).then((request) => request(this.axios, this.basePath));
|
|
7812
|
-
}
|
|
7813
|
-
/**
|
|
7814
|
-
* <!-- theme: danger --> > **Experimental** Retrieves detailed information about a specific trigger.
|
|
7815
|
-
* @summary Get Trigger
|
|
7816
|
-
* @param {string} trigger The identifier of the trigger.
|
|
7817
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7818
|
-
* @param {*} [options] Override http request option.
|
|
7819
|
-
* @throws {RequiredError}
|
|
7820
|
-
* @memberof ProgramOperatorApi
|
|
7821
|
-
*/
|
|
7822
|
-
getTrigger(trigger, cell, options) {
|
|
7823
|
-
return ProgramOperatorApiFp(this.configuration).getTrigger(trigger, cell, options).then((request) => request(this.axios, this.basePath));
|
|
7824
|
-
}
|
|
7825
|
-
/**
|
|
7826
|
-
* <!-- theme: danger --> > **Experimental** Updates the details of an existing trigger The exact behavior of switching a trigger from active to inactive or vice versa is not defined yet.
|
|
7827
|
-
* @summary Update Trigger
|
|
7828
|
-
* @param {string} trigger the id of the trigger
|
|
7829
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7830
|
-
* @param {UpdateTriggerRequest} updateTriggerRequest
|
|
7831
|
-
* @param {*} [options] Override http request option.
|
|
7832
|
-
* @throws {RequiredError}
|
|
7833
|
-
* @memberof ProgramOperatorApi
|
|
7834
|
-
*/
|
|
7835
|
-
updateTrigger(trigger, cell, updateTriggerRequest, options) {
|
|
7836
|
-
return ProgramOperatorApiFp(this.configuration).updateTrigger(trigger, cell, updateTriggerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7837
|
-
}
|
|
7838
|
-
}
|
|
7839
|
-
/**
|
|
7840
|
-
* StoreCollisionComponentsApi - axios parameter creator
|
|
7841
|
-
* @export
|
|
7842
|
-
*/
|
|
7843
|
-
export const StoreCollisionComponentsApiAxiosParamCreator = function (configuration) {
|
|
7844
|
-
return {
|
|
7845
|
-
/**
|
|
7846
|
-
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
7847
|
-
* @summary Delete Collider
|
|
7848
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7849
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
7850
|
-
* @param {*} [options] Override http request option.
|
|
7851
|
-
* @throws {RequiredError}
|
|
7852
|
-
*/
|
|
7853
|
-
deleteStoredCollider: async (cell, collider, options = {}) => {
|
|
7442
|
+
storeCollider: async (cell, collider, collider2, options = {}) => {
|
|
7854
7443
|
// verify required parameter 'cell' is not null or undefined
|
|
7855
|
-
assertParamExists('
|
|
7444
|
+
assertParamExists('storeCollider', 'cell', cell);
|
|
7856
7445
|
// verify required parameter 'collider' is not null or undefined
|
|
7857
|
-
assertParamExists('
|
|
7446
|
+
assertParamExists('storeCollider', 'collider', collider);
|
|
7447
|
+
// verify required parameter 'collider2' is not null or undefined
|
|
7448
|
+
assertParamExists('storeCollider', 'collider2', collider2);
|
|
7858
7449
|
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
7859
7450
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7860
7451
|
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
@@ -7864,7 +7455,7 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
7864
7455
|
if (configuration) {
|
|
7865
7456
|
baseOptions = configuration.baseOptions;
|
|
7866
7457
|
}
|
|
7867
|
-
const localVarRequestOptions = { method: '
|
|
7458
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
7868
7459
|
const localVarHeaderParameter = {};
|
|
7869
7460
|
const localVarQueryParameter = {};
|
|
7870
7461
|
// authentication BasicAuth required
|
|
@@ -7873,27 +7464,32 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
7873
7464
|
// authentication BearerAuth required
|
|
7874
7465
|
// http bearer authentication required
|
|
7875
7466
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7467
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7876
7468
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7877
7469
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7878
7470
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7471
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collider2, localVarRequestOptions, configuration);
|
|
7879
7472
|
return {
|
|
7880
7473
|
url: toPathString(localVarUrlObj),
|
|
7881
7474
|
options: localVarRequestOptions,
|
|
7882
7475
|
};
|
|
7883
7476
|
},
|
|
7884
7477
|
/**
|
|
7885
|
-
*
|
|
7886
|
-
* @summary
|
|
7478
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
7479
|
+
* @summary Store Link Chain
|
|
7887
7480
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7888
7481
|
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
7482
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
7889
7483
|
* @param {*} [options] Override http request option.
|
|
7890
7484
|
* @throws {RequiredError}
|
|
7891
7485
|
*/
|
|
7892
|
-
|
|
7486
|
+
storeCollisionLinkChain: async (cell, linkChain, collider, options = {}) => {
|
|
7893
7487
|
// verify required parameter 'cell' is not null or undefined
|
|
7894
|
-
assertParamExists('
|
|
7488
|
+
assertParamExists('storeCollisionLinkChain', 'cell', cell);
|
|
7895
7489
|
// verify required parameter 'linkChain' is not null or undefined
|
|
7896
|
-
assertParamExists('
|
|
7490
|
+
assertParamExists('storeCollisionLinkChain', 'linkChain', linkChain);
|
|
7491
|
+
// verify required parameter 'collider' is not null or undefined
|
|
7492
|
+
assertParamExists('storeCollisionLinkChain', 'collider', collider);
|
|
7897
7493
|
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
7898
7494
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7899
7495
|
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
@@ -7903,7 +7499,7 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
7903
7499
|
if (configuration) {
|
|
7904
7500
|
baseOptions = configuration.baseOptions;
|
|
7905
7501
|
}
|
|
7906
|
-
const localVarRequestOptions = { method: '
|
|
7502
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
7907
7503
|
const localVarHeaderParameter = {};
|
|
7908
7504
|
const localVarQueryParameter = {};
|
|
7909
7505
|
// authentication BasicAuth required
|
|
@@ -7912,27 +7508,32 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
7912
7508
|
// authentication BearerAuth required
|
|
7913
7509
|
// http bearer authentication required
|
|
7914
7510
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7511
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7915
7512
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7916
7513
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7917
7514
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7515
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collider, localVarRequestOptions, configuration);
|
|
7918
7516
|
return {
|
|
7919
7517
|
url: toPathString(localVarUrlObj),
|
|
7920
7518
|
options: localVarRequestOptions,
|
|
7921
7519
|
};
|
|
7922
7520
|
},
|
|
7923
7521
|
/**
|
|
7924
|
-
*
|
|
7925
|
-
* @summary
|
|
7522
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
7523
|
+
* @summary Store Tool
|
|
7926
7524
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7927
7525
|
* @param {string} tool Unique identifier addressing a collision tool.
|
|
7526
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
7928
7527
|
* @param {*} [options] Override http request option.
|
|
7929
7528
|
* @throws {RequiredError}
|
|
7930
7529
|
*/
|
|
7931
|
-
|
|
7530
|
+
storeCollisionTool: async (cell, tool, requestBody, options = {}) => {
|
|
7932
7531
|
// verify required parameter 'cell' is not null or undefined
|
|
7933
|
-
assertParamExists('
|
|
7532
|
+
assertParamExists('storeCollisionTool', 'cell', cell);
|
|
7934
7533
|
// verify required parameter 'tool' is not null or undefined
|
|
7935
|
-
assertParamExists('
|
|
7534
|
+
assertParamExists('storeCollisionTool', 'tool', tool);
|
|
7535
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
7536
|
+
assertParamExists('storeCollisionTool', 'requestBody', requestBody);
|
|
7936
7537
|
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
7937
7538
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7938
7539
|
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
@@ -7942,7 +7543,7 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
7942
7543
|
if (configuration) {
|
|
7943
7544
|
baseOptions = configuration.baseOptions;
|
|
7944
7545
|
}
|
|
7945
|
-
const localVarRequestOptions = { method: '
|
|
7546
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
7946
7547
|
const localVarHeaderParameter = {};
|
|
7947
7548
|
const localVarQueryParameter = {};
|
|
7948
7549
|
// authentication BasicAuth required
|
|
@@ -7951,14 +7552,67 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
7951
7552
|
// authentication BearerAuth required
|
|
7952
7553
|
// http bearer authentication required
|
|
7953
7554
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7555
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7954
7556
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7955
7557
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7956
7558
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7559
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
7957
7560
|
return {
|
|
7958
7561
|
url: toPathString(localVarUrlObj),
|
|
7959
7562
|
options: localVarRequestOptions,
|
|
7960
7563
|
};
|
|
7961
7564
|
},
|
|
7565
|
+
};
|
|
7566
|
+
};
|
|
7567
|
+
/**
|
|
7568
|
+
* StoreCollisionComponentsApi - functional programming interface
|
|
7569
|
+
* @export
|
|
7570
|
+
*/
|
|
7571
|
+
export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
7572
|
+
const localVarAxiosParamCreator = StoreCollisionComponentsApiAxiosParamCreator(configuration);
|
|
7573
|
+
return {
|
|
7574
|
+
/**
|
|
7575
|
+
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
7576
|
+
* @summary Delete Collider
|
|
7577
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7578
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
7579
|
+
* @param {*} [options] Override http request option.
|
|
7580
|
+
* @throws {RequiredError}
|
|
7581
|
+
*/
|
|
7582
|
+
async deleteStoredCollider(cell, collider, options) {
|
|
7583
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollider(cell, collider, options);
|
|
7584
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7585
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
7586
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7587
|
+
},
|
|
7588
|
+
/**
|
|
7589
|
+
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
7590
|
+
* @summary Delete Link Chain
|
|
7591
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7592
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
7593
|
+
* @param {*} [options] Override http request option.
|
|
7594
|
+
* @throws {RequiredError}
|
|
7595
|
+
*/
|
|
7596
|
+
async deleteStoredCollisionLinkChain(cell, linkChain, options) {
|
|
7597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionLinkChain(cell, linkChain, options);
|
|
7598
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7599
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
7600
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7601
|
+
},
|
|
7602
|
+
/**
|
|
7603
|
+
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
7604
|
+
* @summary Delete Tool
|
|
7605
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7606
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
7607
|
+
* @param {*} [options] Override http request option.
|
|
7608
|
+
* @throws {RequiredError}
|
|
7609
|
+
*/
|
|
7610
|
+
async deleteStoredCollisionTool(cell, tool, options) {
|
|
7611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionTool(cell, tool, options);
|
|
7612
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7613
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
7614
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7615
|
+
},
|
|
7962
7616
|
/**
|
|
7963
7617
|
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
7964
7618
|
* @summary Get Default Link Chain
|
|
@@ -7967,36 +7621,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
7967
7621
|
* @param {*} [options] Override http request option.
|
|
7968
7622
|
* @throws {RequiredError}
|
|
7969
7623
|
*/
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
const localVarPath = `/cells/{cell}/store/collision/default-link-chains/{motion-group-model}`
|
|
7976
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7977
|
-
.replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
|
|
7978
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7979
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7980
|
-
let baseOptions;
|
|
7981
|
-
if (configuration) {
|
|
7982
|
-
baseOptions = configuration.baseOptions;
|
|
7983
|
-
}
|
|
7984
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7985
|
-
const localVarHeaderParameter = {};
|
|
7986
|
-
const localVarQueryParameter = {};
|
|
7987
|
-
// authentication BasicAuth required
|
|
7988
|
-
// http basic authentication required
|
|
7989
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7990
|
-
// authentication BearerAuth required
|
|
7991
|
-
// http bearer authentication required
|
|
7992
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7993
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7994
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7995
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7996
|
-
return {
|
|
7997
|
-
url: toPathString(localVarUrlObj),
|
|
7998
|
-
options: localVarRequestOptions,
|
|
7999
|
-
};
|
|
7624
|
+
async getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
7625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultLinkChain(cell, motionGroupModel, options);
|
|
7626
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7627
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getDefaultLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
7628
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8000
7629
|
},
|
|
8001
7630
|
/**
|
|
8002
7631
|
* Returns the collider.
|
|
@@ -8006,36 +7635,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8006
7635
|
* @param {*} [options] Override http request option.
|
|
8007
7636
|
* @throws {RequiredError}
|
|
8008
7637
|
*/
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
8015
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8016
|
-
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
8017
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8018
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8019
|
-
let baseOptions;
|
|
8020
|
-
if (configuration) {
|
|
8021
|
-
baseOptions = configuration.baseOptions;
|
|
8022
|
-
}
|
|
8023
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8024
|
-
const localVarHeaderParameter = {};
|
|
8025
|
-
const localVarQueryParameter = {};
|
|
8026
|
-
// authentication BasicAuth required
|
|
8027
|
-
// http basic authentication required
|
|
8028
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8029
|
-
// authentication BearerAuth required
|
|
8030
|
-
// http bearer authentication required
|
|
8031
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8032
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8033
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8034
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8035
|
-
return {
|
|
8036
|
-
url: toPathString(localVarUrlObj),
|
|
8037
|
-
options: localVarRequestOptions,
|
|
8038
|
-
};
|
|
7638
|
+
async getStoredCollider(cell, collider, options) {
|
|
7639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollider(cell, collider, options);
|
|
7640
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7641
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
7642
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8039
7643
|
},
|
|
8040
7644
|
/**
|
|
8041
7645
|
* Returns the collision link chain.
|
|
@@ -8045,36 +7649,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8045
7649
|
* @param {*} [options] Override http request option.
|
|
8046
7650
|
* @throws {RequiredError}
|
|
8047
7651
|
*/
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
8054
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8055
|
-
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
8056
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8057
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8058
|
-
let baseOptions;
|
|
8059
|
-
if (configuration) {
|
|
8060
|
-
baseOptions = configuration.baseOptions;
|
|
8061
|
-
}
|
|
8062
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8063
|
-
const localVarHeaderParameter = {};
|
|
8064
|
-
const localVarQueryParameter = {};
|
|
8065
|
-
// authentication BasicAuth required
|
|
8066
|
-
// http basic authentication required
|
|
8067
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8068
|
-
// authentication BearerAuth required
|
|
8069
|
-
// http bearer authentication required
|
|
8070
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8071
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8072
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8073
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8074
|
-
return {
|
|
8075
|
-
url: toPathString(localVarUrlObj),
|
|
8076
|
-
options: localVarRequestOptions,
|
|
8077
|
-
};
|
|
7652
|
+
async getStoredCollisionLinkChain(cell, linkChain, options) {
|
|
7653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionLinkChain(cell, linkChain, options);
|
|
7654
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7655
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
7656
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8078
7657
|
},
|
|
8079
7658
|
/**
|
|
8080
7659
|
* Returns the stored tool.
|
|
@@ -8084,36 +7663,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8084
7663
|
* @param {*} [options] Override http request option.
|
|
8085
7664
|
* @throws {RequiredError}
|
|
8086
7665
|
*/
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
8093
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8094
|
-
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
8095
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8096
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8097
|
-
let baseOptions;
|
|
8098
|
-
if (configuration) {
|
|
8099
|
-
baseOptions = configuration.baseOptions;
|
|
8100
|
-
}
|
|
8101
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8102
|
-
const localVarHeaderParameter = {};
|
|
8103
|
-
const localVarQueryParameter = {};
|
|
8104
|
-
// authentication BasicAuth required
|
|
8105
|
-
// http basic authentication required
|
|
8106
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8107
|
-
// authentication BearerAuth required
|
|
8108
|
-
// http bearer authentication required
|
|
8109
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8110
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8111
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8112
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8113
|
-
return {
|
|
8114
|
-
url: toPathString(localVarUrlObj),
|
|
8115
|
-
options: localVarRequestOptions,
|
|
8116
|
-
};
|
|
7666
|
+
async getStoredCollisionTool(cell, tool, options) {
|
|
7667
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionTool(cell, tool, options);
|
|
7668
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7669
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
7670
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8117
7671
|
},
|
|
8118
7672
|
/**
|
|
8119
7673
|
* Returns the stored link chains.
|
|
@@ -8122,33 +7676,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8122
7676
|
* @param {*} [options] Override http request option.
|
|
8123
7677
|
* @throws {RequiredError}
|
|
8124
7678
|
*/
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
const
|
|
8129
|
-
|
|
8130
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8131
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8132
|
-
let baseOptions;
|
|
8133
|
-
if (configuration) {
|
|
8134
|
-
baseOptions = configuration.baseOptions;
|
|
8135
|
-
}
|
|
8136
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8137
|
-
const localVarHeaderParameter = {};
|
|
8138
|
-
const localVarQueryParameter = {};
|
|
8139
|
-
// authentication BasicAuth required
|
|
8140
|
-
// http basic authentication required
|
|
8141
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8142
|
-
// authentication BearerAuth required
|
|
8143
|
-
// http bearer authentication required
|
|
8144
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8145
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8146
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8147
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8148
|
-
return {
|
|
8149
|
-
url: toPathString(localVarUrlObj),
|
|
8150
|
-
options: localVarRequestOptions,
|
|
8151
|
-
};
|
|
7679
|
+
async listCollisionLinkChains(cell, options) {
|
|
7680
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCollisionLinkChains(cell, options);
|
|
7681
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7682
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listCollisionLinkChains']?.[localVarOperationServerIndex]?.url;
|
|
7683
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8152
7684
|
},
|
|
8153
7685
|
/**
|
|
8154
7686
|
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
@@ -8157,33 +7689,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8157
7689
|
* @param {*} [options] Override http request option.
|
|
8158
7690
|
* @throws {RequiredError}
|
|
8159
7691
|
*/
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
const
|
|
8164
|
-
|
|
8165
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8166
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8167
|
-
let baseOptions;
|
|
8168
|
-
if (configuration) {
|
|
8169
|
-
baseOptions = configuration.baseOptions;
|
|
8170
|
-
}
|
|
8171
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8172
|
-
const localVarHeaderParameter = {};
|
|
8173
|
-
const localVarQueryParameter = {};
|
|
8174
|
-
// authentication BasicAuth required
|
|
8175
|
-
// http basic authentication required
|
|
8176
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8177
|
-
// authentication BearerAuth required
|
|
8178
|
-
// http bearer authentication required
|
|
8179
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8180
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8181
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8182
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8183
|
-
return {
|
|
8184
|
-
url: toPathString(localVarUrlObj),
|
|
8185
|
-
options: localVarRequestOptions,
|
|
8186
|
-
};
|
|
7692
|
+
async listStoredColliders(cell, options) {
|
|
7693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredColliders(cell, options);
|
|
7694
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7695
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredColliders']?.[localVarOperationServerIndex]?.url;
|
|
7696
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8187
7697
|
},
|
|
8188
7698
|
/**
|
|
8189
7699
|
* Returns the list of stored tools.
|
|
@@ -8192,33 +7702,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8192
7702
|
* @param {*} [options] Override http request option.
|
|
8193
7703
|
* @throws {RequiredError}
|
|
8194
7704
|
*/
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
|
|
8198
|
-
const
|
|
8199
|
-
|
|
8200
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8201
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8202
|
-
let baseOptions;
|
|
8203
|
-
if (configuration) {
|
|
8204
|
-
baseOptions = configuration.baseOptions;
|
|
8205
|
-
}
|
|
8206
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8207
|
-
const localVarHeaderParameter = {};
|
|
8208
|
-
const localVarQueryParameter = {};
|
|
8209
|
-
// authentication BasicAuth required
|
|
8210
|
-
// http basic authentication required
|
|
8211
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8212
|
-
// authentication BearerAuth required
|
|
8213
|
-
// http bearer authentication required
|
|
8214
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8215
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8216
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8217
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8218
|
-
return {
|
|
8219
|
-
url: toPathString(localVarUrlObj),
|
|
8220
|
-
options: localVarRequestOptions,
|
|
8221
|
-
};
|
|
7705
|
+
async listStoredCollisionTools(cell, options) {
|
|
7706
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionTools(cell, options);
|
|
7707
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7708
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredCollisionTools']?.[localVarOperationServerIndex]?.url;
|
|
7709
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8222
7710
|
},
|
|
8223
7711
|
/**
|
|
8224
7712
|
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
@@ -8229,40 +7717,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8229
7717
|
* @param {*} [options] Override http request option.
|
|
8230
7718
|
* @throws {RequiredError}
|
|
8231
7719
|
*/
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
// verify required parameter 'collider2' is not null or undefined
|
|
8238
|
-
assertParamExists('storeCollider', 'collider2', collider2);
|
|
8239
|
-
const localVarPath = `/cells/{cell}/store/collision/colliders/{collider}`
|
|
8240
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8241
|
-
.replace(`{${"collider"}}`, encodeURIComponent(String(collider)));
|
|
8242
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8243
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8244
|
-
let baseOptions;
|
|
8245
|
-
if (configuration) {
|
|
8246
|
-
baseOptions = configuration.baseOptions;
|
|
8247
|
-
}
|
|
8248
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
8249
|
-
const localVarHeaderParameter = {};
|
|
8250
|
-
const localVarQueryParameter = {};
|
|
8251
|
-
// authentication BasicAuth required
|
|
8252
|
-
// http basic authentication required
|
|
8253
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8254
|
-
// authentication BearerAuth required
|
|
8255
|
-
// http bearer authentication required
|
|
8256
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8257
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8258
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8259
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8260
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8261
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collider2, localVarRequestOptions, configuration);
|
|
8262
|
-
return {
|
|
8263
|
-
url: toPathString(localVarUrlObj),
|
|
8264
|
-
options: localVarRequestOptions,
|
|
8265
|
-
};
|
|
7720
|
+
async storeCollider(cell, collider, collider2, options) {
|
|
7721
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollider(cell, collider, collider2, options);
|
|
7722
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7723
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollider']?.[localVarOperationServerIndex]?.url;
|
|
7724
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8266
7725
|
},
|
|
8267
7726
|
/**
|
|
8268
7727
|
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
@@ -8273,40 +7732,11 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8273
7732
|
* @param {*} [options] Override http request option.
|
|
8274
7733
|
* @throws {RequiredError}
|
|
8275
7734
|
*/
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
// verify required parameter 'collider' is not null or undefined
|
|
8282
|
-
assertParamExists('storeCollisionLinkChain', 'collider', collider);
|
|
8283
|
-
const localVarPath = `/cells/{cell}/store/collision/link-chains/{link-chain}`
|
|
8284
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8285
|
-
.replace(`{${"link-chain"}}`, encodeURIComponent(String(linkChain)));
|
|
8286
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8287
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8288
|
-
let baseOptions;
|
|
8289
|
-
if (configuration) {
|
|
8290
|
-
baseOptions = configuration.baseOptions;
|
|
8291
|
-
}
|
|
8292
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
8293
|
-
const localVarHeaderParameter = {};
|
|
8294
|
-
const localVarQueryParameter = {};
|
|
8295
|
-
// authentication BasicAuth required
|
|
8296
|
-
// http basic authentication required
|
|
8297
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8298
|
-
// authentication BearerAuth required
|
|
8299
|
-
// http bearer authentication required
|
|
8300
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8301
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8302
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8303
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8304
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8305
|
-
localVarRequestOptions.data = serializeDataIfNeeded(collider, localVarRequestOptions, configuration);
|
|
8306
|
-
return {
|
|
8307
|
-
url: toPathString(localVarUrlObj),
|
|
8308
|
-
options: localVarRequestOptions,
|
|
8309
|
-
};
|
|
7735
|
+
async storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
7736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionLinkChain(cell, linkChain, collider, options);
|
|
7737
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7738
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
7739
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8310
7740
|
},
|
|
8311
7741
|
/**
|
|
8312
7742
|
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
@@ -8317,49 +7747,20 @@ export const StoreCollisionComponentsApiAxiosParamCreator = function (configurat
|
|
|
8317
7747
|
* @param {*} [options] Override http request option.
|
|
8318
7748
|
* @throws {RequiredError}
|
|
8319
7749
|
*/
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
8326
|
-
assertParamExists('storeCollisionTool', 'requestBody', requestBody);
|
|
8327
|
-
const localVarPath = `/cells/{cell}/store/collision/tools/{tool}`
|
|
8328
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8329
|
-
.replace(`{${"tool"}}`, encodeURIComponent(String(tool)));
|
|
8330
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8331
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8332
|
-
let baseOptions;
|
|
8333
|
-
if (configuration) {
|
|
8334
|
-
baseOptions = configuration.baseOptions;
|
|
8335
|
-
}
|
|
8336
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
8337
|
-
const localVarHeaderParameter = {};
|
|
8338
|
-
const localVarQueryParameter = {};
|
|
8339
|
-
// authentication BasicAuth required
|
|
8340
|
-
// http basic authentication required
|
|
8341
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8342
|
-
// authentication BearerAuth required
|
|
8343
|
-
// http bearer authentication required
|
|
8344
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8345
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8346
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8347
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8348
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8349
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
8350
|
-
return {
|
|
8351
|
-
url: toPathString(localVarUrlObj),
|
|
8352
|
-
options: localVarRequestOptions,
|
|
8353
|
-
};
|
|
7750
|
+
async storeCollisionTool(cell, tool, requestBody, options) {
|
|
7751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionTool(cell, tool, requestBody, options);
|
|
7752
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7753
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
7754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8354
7755
|
},
|
|
8355
7756
|
};
|
|
8356
7757
|
};
|
|
8357
7758
|
/**
|
|
8358
|
-
* StoreCollisionComponentsApi -
|
|
7759
|
+
* StoreCollisionComponentsApi - factory interface
|
|
8359
7760
|
* @export
|
|
8360
7761
|
*/
|
|
8361
|
-
export const
|
|
8362
|
-
const
|
|
7762
|
+
export const StoreCollisionComponentsApiFactory = function (configuration, basePath, axios) {
|
|
7763
|
+
const localVarFp = StoreCollisionComponentsApiFp(configuration);
|
|
8363
7764
|
return {
|
|
8364
7765
|
/**
|
|
8365
7766
|
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -8369,11 +7770,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8369
7770
|
* @param {*} [options] Override http request option.
|
|
8370
7771
|
* @throws {RequiredError}
|
|
8371
7772
|
*/
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8375
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
8376
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7773
|
+
deleteStoredCollider(cell, collider, options) {
|
|
7774
|
+
return localVarFp.deleteStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
8377
7775
|
},
|
|
8378
7776
|
/**
|
|
8379
7777
|
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -8383,11 +7781,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8383
7781
|
* @param {*} [options] Override http request option.
|
|
8384
7782
|
* @throws {RequiredError}
|
|
8385
7783
|
*/
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8389
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
8390
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7784
|
+
deleteStoredCollisionLinkChain(cell, linkChain, options) {
|
|
7785
|
+
return localVarFp.deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
8391
7786
|
},
|
|
8392
7787
|
/**
|
|
8393
7788
|
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
@@ -8397,11 +7792,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8397
7792
|
* @param {*} [options] Override http request option.
|
|
8398
7793
|
* @throws {RequiredError}
|
|
8399
7794
|
*/
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8403
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.deleteStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
8404
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7795
|
+
deleteStoredCollisionTool(cell, tool, options) {
|
|
7796
|
+
return localVarFp.deleteStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
8405
7797
|
},
|
|
8406
7798
|
/**
|
|
8407
7799
|
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
@@ -8411,11 +7803,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8411
7803
|
* @param {*} [options] Override http request option.
|
|
8412
7804
|
* @throws {RequiredError}
|
|
8413
7805
|
*/
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8417
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getDefaultLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
8418
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7806
|
+
getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
7807
|
+
return localVarFp.getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(axios, basePath));
|
|
8419
7808
|
},
|
|
8420
7809
|
/**
|
|
8421
7810
|
* Returns the collider.
|
|
@@ -8425,11 +7814,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8425
7814
|
* @param {*} [options] Override http request option.
|
|
8426
7815
|
* @throws {RequiredError}
|
|
8427
7816
|
*/
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8431
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollider']?.[localVarOperationServerIndex]?.url;
|
|
8432
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7817
|
+
getStoredCollider(cell, collider, options) {
|
|
7818
|
+
return localVarFp.getStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
8433
7819
|
},
|
|
8434
7820
|
/**
|
|
8435
7821
|
* Returns the collision link chain.
|
|
@@ -8439,11 +7825,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8439
7825
|
* @param {*} [options] Override http request option.
|
|
8440
7826
|
* @throws {RequiredError}
|
|
8441
7827
|
*/
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8445
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
8446
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7828
|
+
getStoredCollisionLinkChain(cell, linkChain, options) {
|
|
7829
|
+
return localVarFp.getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
8447
7830
|
},
|
|
8448
7831
|
/**
|
|
8449
7832
|
* Returns the stored tool.
|
|
@@ -8453,11 +7836,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8453
7836
|
* @param {*} [options] Override http request option.
|
|
8454
7837
|
* @throws {RequiredError}
|
|
8455
7838
|
*/
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8459
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.getStoredCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
8460
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7839
|
+
getStoredCollisionTool(cell, tool, options) {
|
|
7840
|
+
return localVarFp.getStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
8461
7841
|
},
|
|
8462
7842
|
/**
|
|
8463
7843
|
* Returns the stored link chains.
|
|
@@ -8466,11 +7846,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8466
7846
|
* @param {*} [options] Override http request option.
|
|
8467
7847
|
* @throws {RequiredError}
|
|
8468
7848
|
*/
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8472
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listCollisionLinkChains']?.[localVarOperationServerIndex]?.url;
|
|
8473
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7849
|
+
listCollisionLinkChains(cell, options) {
|
|
7850
|
+
return localVarFp.listCollisionLinkChains(cell, options).then((request) => request(axios, basePath));
|
|
8474
7851
|
},
|
|
8475
7852
|
/**
|
|
8476
7853
|
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
@@ -8479,11 +7856,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8479
7856
|
* @param {*} [options] Override http request option.
|
|
8480
7857
|
* @throws {RequiredError}
|
|
8481
7858
|
*/
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8485
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredColliders']?.[localVarOperationServerIndex]?.url;
|
|
8486
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7859
|
+
listStoredColliders(cell, options) {
|
|
7860
|
+
return localVarFp.listStoredColliders(cell, options).then((request) => request(axios, basePath));
|
|
8487
7861
|
},
|
|
8488
7862
|
/**
|
|
8489
7863
|
* Returns the list of stored tools.
|
|
@@ -8492,11 +7866,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8492
7866
|
* @param {*} [options] Override http request option.
|
|
8493
7867
|
* @throws {RequiredError}
|
|
8494
7868
|
*/
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8498
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.listStoredCollisionTools']?.[localVarOperationServerIndex]?.url;
|
|
8499
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7869
|
+
listStoredCollisionTools(cell, options) {
|
|
7870
|
+
return localVarFp.listStoredCollisionTools(cell, options).then((request) => request(axios, basePath));
|
|
8500
7871
|
},
|
|
8501
7872
|
/**
|
|
8502
7873
|
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
@@ -8507,11 +7878,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8507
7878
|
* @param {*} [options] Override http request option.
|
|
8508
7879
|
* @throws {RequiredError}
|
|
8509
7880
|
*/
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8513
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollider']?.[localVarOperationServerIndex]?.url;
|
|
8514
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7881
|
+
storeCollider(cell, collider, collider2, options) {
|
|
7882
|
+
return localVarFp.storeCollider(cell, collider, collider2, options).then((request) => request(axios, basePath));
|
|
8515
7883
|
},
|
|
8516
7884
|
/**
|
|
8517
7885
|
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
@@ -8522,11 +7890,8 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8522
7890
|
* @param {*} [options] Override http request option.
|
|
8523
7891
|
* @throws {RequiredError}
|
|
8524
7892
|
*/
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8528
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
8529
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7893
|
+
storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
7894
|
+
return localVarFp.storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(axios, basePath));
|
|
8530
7895
|
},
|
|
8531
7896
|
/**
|
|
8532
7897
|
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
@@ -8537,168 +7902,13 @@ export const StoreCollisionComponentsApiFp = function (configuration) {
|
|
|
8537
7902
|
* @param {*} [options] Override http request option.
|
|
8538
7903
|
* @throws {RequiredError}
|
|
8539
7904
|
*/
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8543
|
-
const localVarOperationServerBasePath = operationServerMap['StoreCollisionComponentsApi.storeCollisionTool']?.[localVarOperationServerIndex]?.url;
|
|
8544
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7905
|
+
storeCollisionTool(cell, tool, requestBody, options) {
|
|
7906
|
+
return localVarFp.storeCollisionTool(cell, tool, requestBody, options).then((request) => request(axios, basePath));
|
|
8545
7907
|
},
|
|
8546
7908
|
};
|
|
8547
7909
|
};
|
|
8548
7910
|
/**
|
|
8549
|
-
* StoreCollisionComponentsApi -
|
|
8550
|
-
* @export
|
|
8551
|
-
*/
|
|
8552
|
-
export const StoreCollisionComponentsApiFactory = function (configuration, basePath, axios) {
|
|
8553
|
-
const localVarFp = StoreCollisionComponentsApiFp(configuration);
|
|
8554
|
-
return {
|
|
8555
|
-
/**
|
|
8556
|
-
* Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8557
|
-
* @summary Delete Collider
|
|
8558
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8559
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
8560
|
-
* @param {*} [options] Override http request option.
|
|
8561
|
-
* @throws {RequiredError}
|
|
8562
|
-
*/
|
|
8563
|
-
deleteStoredCollider(cell, collider, options) {
|
|
8564
|
-
return localVarFp.deleteStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
8565
|
-
},
|
|
8566
|
-
/**
|
|
8567
|
-
* Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8568
|
-
* @summary Delete Link Chain
|
|
8569
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8570
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
8571
|
-
* @param {*} [options] Override http request option.
|
|
8572
|
-
* @throws {RequiredError}
|
|
8573
|
-
*/
|
|
8574
|
-
deleteStoredCollisionLinkChain(cell, linkChain, options) {
|
|
8575
|
-
return localVarFp.deleteStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
8576
|
-
},
|
|
8577
|
-
/**
|
|
8578
|
-
* Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8579
|
-
* @summary Delete Tool
|
|
8580
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8581
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
8582
|
-
* @param {*} [options] Override http request option.
|
|
8583
|
-
* @throws {RequiredError}
|
|
8584
|
-
*/
|
|
8585
|
-
deleteStoredCollisionTool(cell, tool, options) {
|
|
8586
|
-
return localVarFp.deleteStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
8587
|
-
},
|
|
8588
|
-
/**
|
|
8589
|
-
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
8590
|
-
* @summary Get Default Link Chain
|
|
8591
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8592
|
-
* @param {MotionGroupModel} motionGroupModel Unique identifier for the model of a motion group, e.g. `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
|
|
8593
|
-
* @param {*} [options] Override http request option.
|
|
8594
|
-
* @throws {RequiredError}
|
|
8595
|
-
*/
|
|
8596
|
-
getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
8597
|
-
return localVarFp.getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(axios, basePath));
|
|
8598
|
-
},
|
|
8599
|
-
/**
|
|
8600
|
-
* Returns the collider.
|
|
8601
|
-
* @summary Get Collider
|
|
8602
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8603
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
8604
|
-
* @param {*} [options] Override http request option.
|
|
8605
|
-
* @throws {RequiredError}
|
|
8606
|
-
*/
|
|
8607
|
-
getStoredCollider(cell, collider, options) {
|
|
8608
|
-
return localVarFp.getStoredCollider(cell, collider, options).then((request) => request(axios, basePath));
|
|
8609
|
-
},
|
|
8610
|
-
/**
|
|
8611
|
-
* Returns the collision link chain.
|
|
8612
|
-
* @summary Get Link Chain
|
|
8613
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8614
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
8615
|
-
* @param {*} [options] Override http request option.
|
|
8616
|
-
* @throws {RequiredError}
|
|
8617
|
-
*/
|
|
8618
|
-
getStoredCollisionLinkChain(cell, linkChain, options) {
|
|
8619
|
-
return localVarFp.getStoredCollisionLinkChain(cell, linkChain, options).then((request) => request(axios, basePath));
|
|
8620
|
-
},
|
|
8621
|
-
/**
|
|
8622
|
-
* Returns the stored tool.
|
|
8623
|
-
* @summary Get Tool
|
|
8624
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8625
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
8626
|
-
* @param {*} [options] Override http request option.
|
|
8627
|
-
* @throws {RequiredError}
|
|
8628
|
-
*/
|
|
8629
|
-
getStoredCollisionTool(cell, tool, options) {
|
|
8630
|
-
return localVarFp.getStoredCollisionTool(cell, tool, options).then((request) => request(axios, basePath));
|
|
8631
|
-
},
|
|
8632
|
-
/**
|
|
8633
|
-
* Returns the stored link chains.
|
|
8634
|
-
* @summary List Link Chains
|
|
8635
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8636
|
-
* @param {*} [options] Override http request option.
|
|
8637
|
-
* @throws {RequiredError}
|
|
8638
|
-
*/
|
|
8639
|
-
listCollisionLinkChains(cell, options) {
|
|
8640
|
-
return localVarFp.listCollisionLinkChains(cell, options).then((request) => request(axios, basePath));
|
|
8641
|
-
},
|
|
8642
|
-
/**
|
|
8643
|
-
* Returns a list of colliders in a scene. This excludes colliders that are part of a motion group.
|
|
8644
|
-
* @summary List Colliders
|
|
8645
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8646
|
-
* @param {*} [options] Override http request option.
|
|
8647
|
-
* @throws {RequiredError}
|
|
8648
|
-
*/
|
|
8649
|
-
listStoredColliders(cell, options) {
|
|
8650
|
-
return localVarFp.listStoredColliders(cell, options).then((request) => request(axios, basePath));
|
|
8651
|
-
},
|
|
8652
|
-
/**
|
|
8653
|
-
* Returns the list of stored tools.
|
|
8654
|
-
* @summary List Tools
|
|
8655
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8656
|
-
* @param {*} [options] Override http request option.
|
|
8657
|
-
* @throws {RequiredError}
|
|
8658
|
-
*/
|
|
8659
|
-
listStoredCollisionTools(cell, options) {
|
|
8660
|
-
return localVarFp.listStoredCollisionTools(cell, options).then((request) => request(axios, basePath));
|
|
8661
|
-
},
|
|
8662
|
-
/**
|
|
8663
|
-
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
8664
|
-
* @summary Store Collider
|
|
8665
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8666
|
-
* @param {string} collider Unique identifier addressing a collider.
|
|
8667
|
-
* @param {Collider} collider2
|
|
8668
|
-
* @param {*} [options] Override http request option.
|
|
8669
|
-
* @throws {RequiredError}
|
|
8670
|
-
*/
|
|
8671
|
-
storeCollider(cell, collider, collider2, options) {
|
|
8672
|
-
return localVarFp.storeCollider(cell, collider, collider2, options).then((request) => request(axios, basePath));
|
|
8673
|
-
},
|
|
8674
|
-
/**
|
|
8675
|
-
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
8676
|
-
* @summary Store Link Chain
|
|
8677
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8678
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
8679
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
8680
|
-
* @param {*} [options] Override http request option.
|
|
8681
|
-
* @throws {RequiredError}
|
|
8682
|
-
*/
|
|
8683
|
-
storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
8684
|
-
return localVarFp.storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(axios, basePath));
|
|
8685
|
-
},
|
|
8686
|
-
/**
|
|
8687
|
-
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
8688
|
-
* @summary Store Tool
|
|
8689
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8690
|
-
* @param {string} tool Unique identifier addressing a collision tool.
|
|
8691
|
-
* @param {{ [key: string]: Collider; }} requestBody
|
|
8692
|
-
* @param {*} [options] Override http request option.
|
|
8693
|
-
* @throws {RequiredError}
|
|
8694
|
-
*/
|
|
8695
|
-
storeCollisionTool(cell, tool, requestBody, options) {
|
|
8696
|
-
return localVarFp.storeCollisionTool(cell, tool, requestBody, options).then((request) => request(axios, basePath));
|
|
8697
|
-
},
|
|
8698
|
-
};
|
|
8699
|
-
};
|
|
8700
|
-
/**
|
|
8701
|
-
* StoreCollisionComponentsApi - object-oriented interface
|
|
7911
|
+
* StoreCollisionComponentsApi - object-oriented interface
|
|
8702
7912
|
* @export
|
|
8703
7913
|
* @class StoreCollisionComponentsApi
|
|
8704
7914
|
* @extends {BaseAPI}
|
|
@@ -8811,78 +8021,452 @@ export class StoreCollisionComponentsApi extends BaseAPI {
|
|
|
8811
8021
|
return StoreCollisionComponentsApiFp(this.configuration).listStoredColliders(cell, options).then((request) => request(this.axios, this.basePath));
|
|
8812
8022
|
}
|
|
8813
8023
|
/**
|
|
8814
|
-
* Returns the list of stored tools.
|
|
8815
|
-
* @summary List Tools
|
|
8024
|
+
* Returns the list of stored tools.
|
|
8025
|
+
* @summary List Tools
|
|
8026
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8027
|
+
* @param {*} [options] Override http request option.
|
|
8028
|
+
* @throws {RequiredError}
|
|
8029
|
+
* @memberof StoreCollisionComponentsApi
|
|
8030
|
+
*/
|
|
8031
|
+
listStoredCollisionTools(cell, options) {
|
|
8032
|
+
return StoreCollisionComponentsApiFp(this.configuration).listStoredCollisionTools(cell, options).then((request) => request(this.axios, this.basePath));
|
|
8033
|
+
}
|
|
8034
|
+
/**
|
|
8035
|
+
* Stores collider. If the collider does not exist, it will be created. If the collider exists, it will be updated.
|
|
8036
|
+
* @summary Store Collider
|
|
8037
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8038
|
+
* @param {string} collider Unique identifier addressing a collider.
|
|
8039
|
+
* @param {Collider} collider2
|
|
8040
|
+
* @param {*} [options] Override http request option.
|
|
8041
|
+
* @throws {RequiredError}
|
|
8042
|
+
* @memberof StoreCollisionComponentsApi
|
|
8043
|
+
*/
|
|
8044
|
+
storeCollider(cell, collider, collider2, options) {
|
|
8045
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollider(cell, collider, collider2, options).then((request) => request(this.axios, this.basePath));
|
|
8046
|
+
}
|
|
8047
|
+
/**
|
|
8048
|
+
* Stores link chain. If the link chain does not exist, it will be created. If the link chain exists, it will be updated.
|
|
8049
|
+
* @summary Store Link Chain
|
|
8050
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8051
|
+
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
8052
|
+
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
8053
|
+
* @param {*} [options] Override http request option.
|
|
8054
|
+
* @throws {RequiredError}
|
|
8055
|
+
* @memberof StoreCollisionComponentsApi
|
|
8056
|
+
*/
|
|
8057
|
+
storeCollisionLinkChain(cell, linkChain, collider, options) {
|
|
8058
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionLinkChain(cell, linkChain, collider, options).then((request) => request(this.axios, this.basePath));
|
|
8059
|
+
}
|
|
8060
|
+
/**
|
|
8061
|
+
* Stores the tool. If the tool does not exist, it will be created. If the tool exists, it will be updated.
|
|
8062
|
+
* @summary Store Tool
|
|
8063
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8064
|
+
* @param {string} tool Unique identifier addressing a collision tool.
|
|
8065
|
+
* @param {{ [key: string]: Collider; }} requestBody
|
|
8066
|
+
* @param {*} [options] Override http request option.
|
|
8067
|
+
* @throws {RequiredError}
|
|
8068
|
+
* @memberof StoreCollisionComponentsApi
|
|
8069
|
+
*/
|
|
8070
|
+
storeCollisionTool(cell, tool, requestBody, options) {
|
|
8071
|
+
return StoreCollisionComponentsApiFp(this.configuration).storeCollisionTool(cell, tool, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
8072
|
+
}
|
|
8073
|
+
}
|
|
8074
|
+
/**
|
|
8075
|
+
* StoreCollisionScenesApi - axios parameter creator
|
|
8076
|
+
* @export
|
|
8077
|
+
*/
|
|
8078
|
+
export const StoreCollisionScenesApiAxiosParamCreator = function (configuration) {
|
|
8079
|
+
return {
|
|
8080
|
+
/**
|
|
8081
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8082
|
+
* @summary Delete Scene
|
|
8083
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8084
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8085
|
+
* @param {*} [options] Override http request option.
|
|
8086
|
+
* @throws {RequiredError}
|
|
8087
|
+
*/
|
|
8088
|
+
deleteStoredCollisionScene: async (cell, scene, options = {}) => {
|
|
8089
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8090
|
+
assertParamExists('deleteStoredCollisionScene', 'cell', cell);
|
|
8091
|
+
// verify required parameter 'scene' is not null or undefined
|
|
8092
|
+
assertParamExists('deleteStoredCollisionScene', 'scene', scene);
|
|
8093
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
8094
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8095
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
8096
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8097
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8098
|
+
let baseOptions;
|
|
8099
|
+
if (configuration) {
|
|
8100
|
+
baseOptions = configuration.baseOptions;
|
|
8101
|
+
}
|
|
8102
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
8103
|
+
const localVarHeaderParameter = {};
|
|
8104
|
+
const localVarQueryParameter = {};
|
|
8105
|
+
// authentication BasicAuth required
|
|
8106
|
+
// http basic authentication required
|
|
8107
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8108
|
+
// authentication BearerAuth required
|
|
8109
|
+
// http bearer authentication required
|
|
8110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8113
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8114
|
+
return {
|
|
8115
|
+
url: toPathString(localVarUrlObj),
|
|
8116
|
+
options: localVarRequestOptions,
|
|
8117
|
+
};
|
|
8118
|
+
},
|
|
8119
|
+
/**
|
|
8120
|
+
* Returns the stored scene.
|
|
8121
|
+
* @summary Get Scene
|
|
8122
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8123
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8124
|
+
* @param {*} [options] Override http request option.
|
|
8125
|
+
* @throws {RequiredError}
|
|
8126
|
+
*/
|
|
8127
|
+
getStoredCollisionScene: async (cell, scene, options = {}) => {
|
|
8128
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8129
|
+
assertParamExists('getStoredCollisionScene', 'cell', cell);
|
|
8130
|
+
// verify required parameter 'scene' is not null or undefined
|
|
8131
|
+
assertParamExists('getStoredCollisionScene', 'scene', scene);
|
|
8132
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
8133
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8134
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
8135
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8136
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8137
|
+
let baseOptions;
|
|
8138
|
+
if (configuration) {
|
|
8139
|
+
baseOptions = configuration.baseOptions;
|
|
8140
|
+
}
|
|
8141
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8142
|
+
const localVarHeaderParameter = {};
|
|
8143
|
+
const localVarQueryParameter = {};
|
|
8144
|
+
// authentication BasicAuth required
|
|
8145
|
+
// http basic authentication required
|
|
8146
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8147
|
+
// authentication BearerAuth required
|
|
8148
|
+
// http bearer authentication required
|
|
8149
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8150
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8152
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8153
|
+
return {
|
|
8154
|
+
url: toPathString(localVarUrlObj),
|
|
8155
|
+
options: localVarRequestOptions,
|
|
8156
|
+
};
|
|
8157
|
+
},
|
|
8158
|
+
/**
|
|
8159
|
+
* Returns a list of stored scenes.
|
|
8160
|
+
* @summary List Scenes
|
|
8161
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8162
|
+
* @param {*} [options] Override http request option.
|
|
8163
|
+
* @throws {RequiredError}
|
|
8164
|
+
*/
|
|
8165
|
+
listStoredCollisionScenes: async (cell, options = {}) => {
|
|
8166
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8167
|
+
assertParamExists('listStoredCollisionScenes', 'cell', cell);
|
|
8168
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes`
|
|
8169
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
8170
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8171
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8172
|
+
let baseOptions;
|
|
8173
|
+
if (configuration) {
|
|
8174
|
+
baseOptions = configuration.baseOptions;
|
|
8175
|
+
}
|
|
8176
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8177
|
+
const localVarHeaderParameter = {};
|
|
8178
|
+
const localVarQueryParameter = {};
|
|
8179
|
+
// authentication BasicAuth required
|
|
8180
|
+
// http basic authentication required
|
|
8181
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8182
|
+
// authentication BearerAuth required
|
|
8183
|
+
// http bearer authentication required
|
|
8184
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8185
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8186
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8187
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8188
|
+
return {
|
|
8189
|
+
url: toPathString(localVarUrlObj),
|
|
8190
|
+
options: localVarRequestOptions,
|
|
8191
|
+
};
|
|
8192
|
+
},
|
|
8193
|
+
/**
|
|
8194
|
+
* 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.
|
|
8195
|
+
* @summary Store Scene
|
|
8196
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8197
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8198
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
8199
|
+
* @param {*} [options] Override http request option.
|
|
8200
|
+
* @throws {RequiredError}
|
|
8201
|
+
*/
|
|
8202
|
+
storeCollisionScene: async (cell, scene, collisionSceneAssembly, options = {}) => {
|
|
8203
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8204
|
+
assertParamExists('storeCollisionScene', 'cell', cell);
|
|
8205
|
+
// verify required parameter 'scene' is not null or undefined
|
|
8206
|
+
assertParamExists('storeCollisionScene', 'scene', scene);
|
|
8207
|
+
// verify required parameter 'collisionSceneAssembly' is not null or undefined
|
|
8208
|
+
assertParamExists('storeCollisionScene', 'collisionSceneAssembly', collisionSceneAssembly);
|
|
8209
|
+
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
8210
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8211
|
+
.replace(`{${"scene"}}`, encodeURIComponent(String(scene)));
|
|
8212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8214
|
+
let baseOptions;
|
|
8215
|
+
if (configuration) {
|
|
8216
|
+
baseOptions = configuration.baseOptions;
|
|
8217
|
+
}
|
|
8218
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
8219
|
+
const localVarHeaderParameter = {};
|
|
8220
|
+
const localVarQueryParameter = {};
|
|
8221
|
+
// authentication BasicAuth required
|
|
8222
|
+
// http basic authentication required
|
|
8223
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8224
|
+
// authentication BearerAuth required
|
|
8225
|
+
// http bearer authentication required
|
|
8226
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8227
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8228
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8230
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8231
|
+
localVarRequestOptions.data = serializeDataIfNeeded(collisionSceneAssembly, localVarRequestOptions, configuration);
|
|
8232
|
+
return {
|
|
8233
|
+
url: toPathString(localVarUrlObj),
|
|
8234
|
+
options: localVarRequestOptions,
|
|
8235
|
+
};
|
|
8236
|
+
},
|
|
8237
|
+
};
|
|
8238
|
+
};
|
|
8239
|
+
/**
|
|
8240
|
+
* StoreCollisionScenesApi - functional programming interface
|
|
8241
|
+
* @export
|
|
8242
|
+
*/
|
|
8243
|
+
export const StoreCollisionScenesApiFp = function (configuration) {
|
|
8244
|
+
const localVarAxiosParamCreator = StoreCollisionScenesApiAxiosParamCreator(configuration);
|
|
8245
|
+
return {
|
|
8246
|
+
/**
|
|
8247
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8248
|
+
* @summary Delete Scene
|
|
8249
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8250
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8251
|
+
* @param {*} [options] Override http request option.
|
|
8252
|
+
* @throws {RequiredError}
|
|
8253
|
+
*/
|
|
8254
|
+
async deleteStoredCollisionScene(cell, scene, options) {
|
|
8255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStoredCollisionScene(cell, scene, options);
|
|
8256
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8257
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.deleteStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
8258
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8259
|
+
},
|
|
8260
|
+
/**
|
|
8261
|
+
* Returns the stored scene.
|
|
8262
|
+
* @summary Get Scene
|
|
8263
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8264
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8265
|
+
* @param {*} [options] Override http request option.
|
|
8266
|
+
* @throws {RequiredError}
|
|
8267
|
+
*/
|
|
8268
|
+
async getStoredCollisionScene(cell, scene, options) {
|
|
8269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStoredCollisionScene(cell, scene, options);
|
|
8270
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8271
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.getStoredCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
8272
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8273
|
+
},
|
|
8274
|
+
/**
|
|
8275
|
+
* Returns a list of stored scenes.
|
|
8276
|
+
* @summary List Scenes
|
|
8277
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8278
|
+
* @param {*} [options] Override http request option.
|
|
8279
|
+
* @throws {RequiredError}
|
|
8280
|
+
*/
|
|
8281
|
+
async listStoredCollisionScenes(cell, options) {
|
|
8282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStoredCollisionScenes(cell, options);
|
|
8283
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8284
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.listStoredCollisionScenes']?.[localVarOperationServerIndex]?.url;
|
|
8285
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8286
|
+
},
|
|
8287
|
+
/**
|
|
8288
|
+
* 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.
|
|
8289
|
+
* @summary Store Scene
|
|
8290
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8291
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8292
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
8293
|
+
* @param {*} [options] Override http request option.
|
|
8294
|
+
* @throws {RequiredError}
|
|
8295
|
+
*/
|
|
8296
|
+
async storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
8297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeCollisionScene(cell, scene, collisionSceneAssembly, options);
|
|
8298
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8299
|
+
const localVarOperationServerBasePath = operationServerMap['StoreCollisionScenesApi.storeCollisionScene']?.[localVarOperationServerIndex]?.url;
|
|
8300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8301
|
+
},
|
|
8302
|
+
};
|
|
8303
|
+
};
|
|
8304
|
+
/**
|
|
8305
|
+
* StoreCollisionScenesApi - factory interface
|
|
8306
|
+
* @export
|
|
8307
|
+
*/
|
|
8308
|
+
export const StoreCollisionScenesApiFactory = function (configuration, basePath, axios) {
|
|
8309
|
+
const localVarFp = StoreCollisionScenesApiFp(configuration);
|
|
8310
|
+
return {
|
|
8311
|
+
/**
|
|
8312
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8313
|
+
* @summary Delete Scene
|
|
8314
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8315
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8316
|
+
* @param {*} [options] Override http request option.
|
|
8317
|
+
* @throws {RequiredError}
|
|
8318
|
+
*/
|
|
8319
|
+
deleteStoredCollisionScene(cell, scene, options) {
|
|
8320
|
+
return localVarFp.deleteStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
8321
|
+
},
|
|
8322
|
+
/**
|
|
8323
|
+
* Returns the stored scene.
|
|
8324
|
+
* @summary Get Scene
|
|
8325
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8326
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8327
|
+
* @param {*} [options] Override http request option.
|
|
8328
|
+
* @throws {RequiredError}
|
|
8329
|
+
*/
|
|
8330
|
+
getStoredCollisionScene(cell, scene, options) {
|
|
8331
|
+
return localVarFp.getStoredCollisionScene(cell, scene, options).then((request) => request(axios, basePath));
|
|
8332
|
+
},
|
|
8333
|
+
/**
|
|
8334
|
+
* Returns a list of stored scenes.
|
|
8335
|
+
* @summary List Scenes
|
|
8336
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8337
|
+
* @param {*} [options] Override http request option.
|
|
8338
|
+
* @throws {RequiredError}
|
|
8339
|
+
*/
|
|
8340
|
+
listStoredCollisionScenes(cell, options) {
|
|
8341
|
+
return localVarFp.listStoredCollisionScenes(cell, options).then((request) => request(axios, basePath));
|
|
8342
|
+
},
|
|
8343
|
+
/**
|
|
8344
|
+
* 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.
|
|
8345
|
+
* @summary Store Scene
|
|
8346
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8347
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8348
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
8349
|
+
* @param {*} [options] Override http request option.
|
|
8350
|
+
* @throws {RequiredError}
|
|
8351
|
+
*/
|
|
8352
|
+
storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
8353
|
+
return localVarFp.storeCollisionScene(cell, scene, collisionSceneAssembly, options).then((request) => request(axios, basePath));
|
|
8354
|
+
},
|
|
8355
|
+
};
|
|
8356
|
+
};
|
|
8357
|
+
/**
|
|
8358
|
+
* StoreCollisionScenesApi - object-oriented interface
|
|
8359
|
+
* @export
|
|
8360
|
+
* @class StoreCollisionScenesApi
|
|
8361
|
+
* @extends {BaseAPI}
|
|
8362
|
+
*/
|
|
8363
|
+
export class StoreCollisionScenesApi extends BaseAPI {
|
|
8364
|
+
/**
|
|
8365
|
+
* Deletes the stored scene. <!-- theme: danger --> > This will delete persistently stored data.
|
|
8366
|
+
* @summary Delete Scene
|
|
8816
8367
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8368
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8817
8369
|
* @param {*} [options] Override http request option.
|
|
8818
8370
|
* @throws {RequiredError}
|
|
8819
|
-
* @memberof
|
|
8371
|
+
* @memberof StoreCollisionScenesApi
|
|
8820
8372
|
*/
|
|
8821
|
-
|
|
8822
|
-
return
|
|
8373
|
+
deleteStoredCollisionScene(cell, scene, options) {
|
|
8374
|
+
return StoreCollisionScenesApiFp(this.configuration).deleteStoredCollisionScene(cell, scene, options).then((request) => request(this.axios, this.basePath));
|
|
8823
8375
|
}
|
|
8824
8376
|
/**
|
|
8825
|
-
*
|
|
8826
|
-
* @summary
|
|
8377
|
+
* Returns the stored scene.
|
|
8378
|
+
* @summary Get Scene
|
|
8827
8379
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8828
|
-
* @param {string}
|
|
8829
|
-
* @param {Collider} collider2
|
|
8380
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8830
8381
|
* @param {*} [options] Override http request option.
|
|
8831
8382
|
* @throws {RequiredError}
|
|
8832
|
-
* @memberof
|
|
8383
|
+
* @memberof StoreCollisionScenesApi
|
|
8833
8384
|
*/
|
|
8834
|
-
|
|
8835
|
-
return
|
|
8385
|
+
getStoredCollisionScene(cell, scene, options) {
|
|
8386
|
+
return StoreCollisionScenesApiFp(this.configuration).getStoredCollisionScene(cell, scene, options).then((request) => request(this.axios, this.basePath));
|
|
8836
8387
|
}
|
|
8837
8388
|
/**
|
|
8838
|
-
*
|
|
8839
|
-
* @summary
|
|
8389
|
+
* Returns a list of stored scenes.
|
|
8390
|
+
* @summary List Scenes
|
|
8840
8391
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8841
|
-
* @param {string} linkChain Unique identifier addressing a collision link chain.
|
|
8842
|
-
* @param {Array<{ [key: string]: Collider; }>} collider
|
|
8843
8392
|
* @param {*} [options] Override http request option.
|
|
8844
8393
|
* @throws {RequiredError}
|
|
8845
|
-
* @memberof
|
|
8394
|
+
* @memberof StoreCollisionScenesApi
|
|
8846
8395
|
*/
|
|
8847
|
-
|
|
8848
|
-
return
|
|
8396
|
+
listStoredCollisionScenes(cell, options) {
|
|
8397
|
+
return StoreCollisionScenesApiFp(this.configuration).listStoredCollisionScenes(cell, options).then((request) => request(this.axios, this.basePath));
|
|
8849
8398
|
}
|
|
8850
8399
|
/**
|
|
8851
|
-
*
|
|
8852
|
-
* @summary Store
|
|
8400
|
+
* 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.
|
|
8401
|
+
* @summary Store Scene
|
|
8853
8402
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8854
|
-
* @param {string}
|
|
8855
|
-
* @param {
|
|
8403
|
+
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8404
|
+
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
8856
8405
|
* @param {*} [options] Override http request option.
|
|
8857
8406
|
* @throws {RequiredError}
|
|
8858
|
-
* @memberof
|
|
8407
|
+
* @memberof StoreCollisionScenesApi
|
|
8859
8408
|
*/
|
|
8860
|
-
|
|
8861
|
-
return
|
|
8409
|
+
storeCollisionScene(cell, scene, collisionSceneAssembly, options) {
|
|
8410
|
+
return StoreCollisionScenesApiFp(this.configuration).storeCollisionScene(cell, scene, collisionSceneAssembly, options).then((request) => request(this.axios, this.basePath));
|
|
8862
8411
|
}
|
|
8863
8412
|
}
|
|
8864
8413
|
/**
|
|
8865
|
-
*
|
|
8414
|
+
* StoreObjectApi - axios parameter creator
|
|
8866
8415
|
* @export
|
|
8867
8416
|
*/
|
|
8868
|
-
export const
|
|
8417
|
+
export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
8869
8418
|
return {
|
|
8870
8419
|
/**
|
|
8871
|
-
*
|
|
8872
|
-
* @summary
|
|
8420
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
8421
|
+
* @summary Clear all Objects
|
|
8873
8422
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8874
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
8875
8423
|
* @param {*} [options] Override http request option.
|
|
8876
8424
|
* @throws {RequiredError}
|
|
8877
8425
|
*/
|
|
8878
|
-
|
|
8426
|
+
clearAllObjects: async (cell, options = {}) => {
|
|
8879
8427
|
// verify required parameter 'cell' is not null or undefined
|
|
8880
|
-
assertParamExists('
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
8428
|
+
assertParamExists('clearAllObjects', 'cell', cell);
|
|
8429
|
+
const localVarPath = `/cells/{cell}/store/objects`
|
|
8430
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
8431
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8432
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8433
|
+
let baseOptions;
|
|
8434
|
+
if (configuration) {
|
|
8435
|
+
baseOptions = configuration.baseOptions;
|
|
8436
|
+
}
|
|
8437
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
8438
|
+
const localVarHeaderParameter = {};
|
|
8439
|
+
const localVarQueryParameter = {};
|
|
8440
|
+
// authentication BasicAuth required
|
|
8441
|
+
// http basic authentication required
|
|
8442
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8443
|
+
// authentication BearerAuth required
|
|
8444
|
+
// http bearer authentication required
|
|
8445
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8446
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8448
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8449
|
+
return {
|
|
8450
|
+
url: toPathString(localVarUrlObj),
|
|
8451
|
+
options: localVarRequestOptions,
|
|
8452
|
+
};
|
|
8453
|
+
},
|
|
8454
|
+
/**
|
|
8455
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
8456
|
+
* @summary Delete Object
|
|
8457
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8458
|
+
* @param {string} key
|
|
8459
|
+
* @param {*} [options] Override http request option.
|
|
8460
|
+
* @throws {RequiredError}
|
|
8461
|
+
*/
|
|
8462
|
+
deleteObject: async (cell, key, options = {}) => {
|
|
8463
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8464
|
+
assertParamExists('deleteObject', 'cell', cell);
|
|
8465
|
+
// verify required parameter 'key' is not null or undefined
|
|
8466
|
+
assertParamExists('deleteObject', 'key', key);
|
|
8467
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
8884
8468
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8885
|
-
.replace(`{${"
|
|
8469
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
8886
8470
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8887
8471
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8888
8472
|
let baseOptions;
|
|
@@ -8907,21 +8491,21 @@ export const StoreCollisionScenesApiAxiosParamCreator = function (configuration)
|
|
|
8907
8491
|
};
|
|
8908
8492
|
},
|
|
8909
8493
|
/**
|
|
8910
|
-
*
|
|
8911
|
-
* @summary Get
|
|
8494
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
8495
|
+
* @summary Get Object
|
|
8912
8496
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8913
|
-
* @param {string}
|
|
8497
|
+
* @param {string} key
|
|
8914
8498
|
* @param {*} [options] Override http request option.
|
|
8915
8499
|
* @throws {RequiredError}
|
|
8916
8500
|
*/
|
|
8917
|
-
|
|
8501
|
+
getObject: async (cell, key, options = {}) => {
|
|
8918
8502
|
// verify required parameter 'cell' is not null or undefined
|
|
8919
|
-
assertParamExists('
|
|
8920
|
-
// verify required parameter '
|
|
8921
|
-
assertParamExists('
|
|
8922
|
-
const localVarPath = `/cells/{cell}/store/
|
|
8503
|
+
assertParamExists('getObject', 'cell', cell);
|
|
8504
|
+
// verify required parameter 'key' is not null or undefined
|
|
8505
|
+
assertParamExists('getObject', 'key', key);
|
|
8506
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
8923
8507
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8924
|
-
.replace(`{${"
|
|
8508
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
8925
8509
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8926
8510
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8927
8511
|
let baseOptions;
|
|
@@ -8946,16 +8530,55 @@ export const StoreCollisionScenesApiAxiosParamCreator = function (configuration)
|
|
|
8946
8530
|
};
|
|
8947
8531
|
},
|
|
8948
8532
|
/**
|
|
8949
|
-
*
|
|
8950
|
-
* @summary
|
|
8533
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
8534
|
+
* @summary Get Object Metadata
|
|
8951
8535
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8536
|
+
* @param {string} key
|
|
8952
8537
|
* @param {*} [options] Override http request option.
|
|
8953
8538
|
* @throws {RequiredError}
|
|
8954
8539
|
*/
|
|
8955
|
-
|
|
8540
|
+
getObjectMetadata: async (cell, key, options = {}) => {
|
|
8956
8541
|
// verify required parameter 'cell' is not null or undefined
|
|
8957
|
-
assertParamExists('
|
|
8958
|
-
|
|
8542
|
+
assertParamExists('getObjectMetadata', 'cell', cell);
|
|
8543
|
+
// verify required parameter 'key' is not null or undefined
|
|
8544
|
+
assertParamExists('getObjectMetadata', 'key', key);
|
|
8545
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
8546
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8547
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
8548
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8549
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8550
|
+
let baseOptions;
|
|
8551
|
+
if (configuration) {
|
|
8552
|
+
baseOptions = configuration.baseOptions;
|
|
8553
|
+
}
|
|
8554
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
8555
|
+
const localVarHeaderParameter = {};
|
|
8556
|
+
const localVarQueryParameter = {};
|
|
8557
|
+
// authentication BasicAuth required
|
|
8558
|
+
// http basic authentication required
|
|
8559
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8560
|
+
// authentication BearerAuth required
|
|
8561
|
+
// http bearer authentication required
|
|
8562
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8563
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8564
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8565
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8566
|
+
return {
|
|
8567
|
+
url: toPathString(localVarUrlObj),
|
|
8568
|
+
options: localVarRequestOptions,
|
|
8569
|
+
};
|
|
8570
|
+
},
|
|
8571
|
+
/**
|
|
8572
|
+
* List the keys for all objects.
|
|
8573
|
+
* @summary List all Object Keys
|
|
8574
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8575
|
+
* @param {*} [options] Override http request option.
|
|
8576
|
+
* @throws {RequiredError}
|
|
8577
|
+
*/
|
|
8578
|
+
listAllObjectKeys: async (cell, options = {}) => {
|
|
8579
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8580
|
+
assertParamExists('listAllObjectKeys', 'cell', cell);
|
|
8581
|
+
const localVarPath = `/cells/{cell}/store/objects`
|
|
8959
8582
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
8960
8583
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8961
8584
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8981,24 +8604,23 @@ export const StoreCollisionScenesApiAxiosParamCreator = function (configuration)
|
|
|
8981
8604
|
};
|
|
8982
8605
|
},
|
|
8983
8606
|
/**
|
|
8984
|
-
*
|
|
8985
|
-
* @summary Store
|
|
8607
|
+
* 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.
|
|
8608
|
+
* @summary Store Object
|
|
8986
8609
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8987
|
-
* @param {string}
|
|
8988
|
-
* @param {
|
|
8610
|
+
* @param {string} key
|
|
8611
|
+
* @param {{ [key: string]: string; }} [xMetadata]
|
|
8612
|
+
* @param {any} [anyValue]
|
|
8989
8613
|
* @param {*} [options] Override http request option.
|
|
8990
8614
|
* @throws {RequiredError}
|
|
8991
8615
|
*/
|
|
8992
|
-
|
|
8616
|
+
storeObject: async (cell, key, xMetadata, anyValue, options = {}) => {
|
|
8993
8617
|
// verify required parameter 'cell' is not null or undefined
|
|
8994
|
-
assertParamExists('
|
|
8995
|
-
// verify required parameter '
|
|
8996
|
-
assertParamExists('
|
|
8997
|
-
|
|
8998
|
-
assertParamExists('storeCollisionScene', 'collisionSceneAssembly', collisionSceneAssembly);
|
|
8999
|
-
const localVarPath = `/cells/{cell}/store/collision/scenes/{scene}`
|
|
8618
|
+
assertParamExists('storeObject', 'cell', cell);
|
|
8619
|
+
// verify required parameter 'key' is not null or undefined
|
|
8620
|
+
assertParamExists('storeObject', 'key', key);
|
|
8621
|
+
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
9000
8622
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9001
|
-
.replace(`{${"
|
|
8623
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
9002
8624
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9003
8625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9004
8626
|
let baseOptions;
|
|
@@ -9008,17 +8630,26 @@ export const StoreCollisionScenesApiAxiosParamCreator = function (configuration)
|
|
|
9008
8630
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
9009
8631
|
const localVarHeaderParameter = {};
|
|
9010
8632
|
const localVarQueryParameter = {};
|
|
8633
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
9011
8634
|
// authentication BasicAuth required
|
|
9012
8635
|
// http basic authentication required
|
|
9013
8636
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9014
8637
|
// authentication BearerAuth required
|
|
9015
8638
|
// http bearer authentication required
|
|
9016
8639
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9017
|
-
|
|
8640
|
+
if (anyValue !== undefined) {
|
|
8641
|
+
localVarFormParams.append('any_value', new Blob([JSON.stringify(anyValue)], { type: "application/json", }));
|
|
8642
|
+
}
|
|
8643
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
8644
|
+
if (xMetadata != null) {
|
|
8645
|
+
localVarHeaderParameter['X-Metadata'] = typeof xMetadata === 'string'
|
|
8646
|
+
? xMetadata
|
|
8647
|
+
: JSON.stringify(xMetadata);
|
|
8648
|
+
}
|
|
9018
8649
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9019
8650
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9020
8651
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9021
|
-
localVarRequestOptions.data =
|
|
8652
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
9022
8653
|
return {
|
|
9023
8654
|
url: toPathString(localVarUrlObj),
|
|
9024
8655
|
options: localVarRequestOptions,
|
|
@@ -9027,282 +8658,282 @@ export const StoreCollisionScenesApiAxiosParamCreator = function (configuration)
|
|
|
9027
8658
|
};
|
|
9028
8659
|
};
|
|
9029
8660
|
/**
|
|
9030
|
-
*
|
|
8661
|
+
* StoreObjectApi - functional programming interface
|
|
9031
8662
|
* @export
|
|
9032
8663
|
*/
|
|
9033
|
-
export const
|
|
9034
|
-
const localVarAxiosParamCreator =
|
|
8664
|
+
export const StoreObjectApiFp = function (configuration) {
|
|
8665
|
+
const localVarAxiosParamCreator = StoreObjectApiAxiosParamCreator(configuration);
|
|
9035
8666
|
return {
|
|
9036
8667
|
/**
|
|
9037
|
-
*
|
|
9038
|
-
* @summary
|
|
8668
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
8669
|
+
* @summary Clear all Objects
|
|
8670
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8671
|
+
* @param {*} [options] Override http request option.
|
|
8672
|
+
* @throws {RequiredError}
|
|
8673
|
+
*/
|
|
8674
|
+
async clearAllObjects(cell, options) {
|
|
8675
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllObjects(cell, options);
|
|
8676
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8677
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.clearAllObjects']?.[localVarOperationServerIndex]?.url;
|
|
8678
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8679
|
+
},
|
|
8680
|
+
/**
|
|
8681
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
8682
|
+
* @summary Delete Object
|
|
8683
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8684
|
+
* @param {string} key
|
|
8685
|
+
* @param {*} [options] Override http request option.
|
|
8686
|
+
* @throws {RequiredError}
|
|
8687
|
+
*/
|
|
8688
|
+
async deleteObject(cell, key, options) {
|
|
8689
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteObject(cell, key, options);
|
|
8690
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8691
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.deleteObject']?.[localVarOperationServerIndex]?.url;
|
|
8692
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8693
|
+
},
|
|
8694
|
+
/**
|
|
8695
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
8696
|
+
* @summary Get Object
|
|
9039
8697
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9040
|
-
* @param {string}
|
|
8698
|
+
* @param {string} key
|
|
9041
8699
|
* @param {*} [options] Override http request option.
|
|
9042
8700
|
* @throws {RequiredError}
|
|
9043
8701
|
*/
|
|
9044
|
-
async
|
|
9045
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8702
|
+
async getObject(cell, key, options) {
|
|
8703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObject(cell, key, options);
|
|
9046
8704
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9047
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8705
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.getObject']?.[localVarOperationServerIndex]?.url;
|
|
9048
8706
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9049
8707
|
},
|
|
9050
8708
|
/**
|
|
9051
|
-
*
|
|
9052
|
-
* @summary Get
|
|
8709
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
8710
|
+
* @summary Get Object Metadata
|
|
9053
8711
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9054
|
-
* @param {string}
|
|
8712
|
+
* @param {string} key
|
|
9055
8713
|
* @param {*} [options] Override http request option.
|
|
9056
8714
|
* @throws {RequiredError}
|
|
9057
8715
|
*/
|
|
9058
|
-
async
|
|
9059
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8716
|
+
async getObjectMetadata(cell, key, options) {
|
|
8717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectMetadata(cell, key, options);
|
|
9060
8718
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9061
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8719
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.getObjectMetadata']?.[localVarOperationServerIndex]?.url;
|
|
9062
8720
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9063
8721
|
},
|
|
9064
8722
|
/**
|
|
9065
|
-
*
|
|
9066
|
-
* @summary List
|
|
8723
|
+
* List the keys for all objects.
|
|
8724
|
+
* @summary List all Object Keys
|
|
9067
8725
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9068
8726
|
* @param {*} [options] Override http request option.
|
|
9069
8727
|
* @throws {RequiredError}
|
|
9070
8728
|
*/
|
|
9071
|
-
async
|
|
9072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8729
|
+
async listAllObjectKeys(cell, options) {
|
|
8730
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllObjectKeys(cell, options);
|
|
9073
8731
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9074
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8732
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.listAllObjectKeys']?.[localVarOperationServerIndex]?.url;
|
|
9075
8733
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9076
8734
|
},
|
|
9077
8735
|
/**
|
|
9078
|
-
*
|
|
9079
|
-
* @summary Store
|
|
8736
|
+
* 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.
|
|
8737
|
+
* @summary Store Object
|
|
9080
8738
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9081
|
-
* @param {string}
|
|
9082
|
-
* @param {
|
|
8739
|
+
* @param {string} key
|
|
8740
|
+
* @param {{ [key: string]: string; }} [xMetadata]
|
|
8741
|
+
* @param {any} [anyValue]
|
|
9083
8742
|
* @param {*} [options] Override http request option.
|
|
9084
8743
|
* @throws {RequiredError}
|
|
9085
8744
|
*/
|
|
9086
|
-
async
|
|
9087
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8745
|
+
async storeObject(cell, key, xMetadata, anyValue, options) {
|
|
8746
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeObject(cell, key, xMetadata, anyValue, options);
|
|
9088
8747
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9089
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8748
|
+
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.storeObject']?.[localVarOperationServerIndex]?.url;
|
|
9090
8749
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9091
8750
|
},
|
|
9092
8751
|
};
|
|
9093
8752
|
};
|
|
9094
8753
|
/**
|
|
9095
|
-
*
|
|
8754
|
+
* StoreObjectApi - factory interface
|
|
9096
8755
|
* @export
|
|
9097
8756
|
*/
|
|
9098
|
-
export const
|
|
9099
|
-
const localVarFp =
|
|
8757
|
+
export const StoreObjectApiFactory = function (configuration, basePath, axios) {
|
|
8758
|
+
const localVarFp = StoreObjectApiFp(configuration);
|
|
9100
8759
|
return {
|
|
9101
8760
|
/**
|
|
9102
|
-
*
|
|
9103
|
-
* @summary
|
|
8761
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
8762
|
+
* @summary Clear all Objects
|
|
9104
8763
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9105
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
9106
8764
|
* @param {*} [options] Override http request option.
|
|
9107
8765
|
* @throws {RequiredError}
|
|
9108
8766
|
*/
|
|
9109
|
-
|
|
9110
|
-
return localVarFp.
|
|
8767
|
+
clearAllObjects(cell, options) {
|
|
8768
|
+
return localVarFp.clearAllObjects(cell, options).then((request) => request(axios, basePath));
|
|
9111
8769
|
},
|
|
9112
8770
|
/**
|
|
9113
|
-
*
|
|
9114
|
-
* @summary
|
|
8771
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
8772
|
+
* @summary Delete Object
|
|
9115
8773
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9116
|
-
* @param {string}
|
|
8774
|
+
* @param {string} key
|
|
9117
8775
|
* @param {*} [options] Override http request option.
|
|
9118
8776
|
* @throws {RequiredError}
|
|
9119
8777
|
*/
|
|
9120
|
-
|
|
9121
|
-
return localVarFp.
|
|
8778
|
+
deleteObject(cell, key, options) {
|
|
8779
|
+
return localVarFp.deleteObject(cell, key, options).then((request) => request(axios, basePath));
|
|
9122
8780
|
},
|
|
9123
8781
|
/**
|
|
9124
|
-
*
|
|
9125
|
-
* @summary
|
|
8782
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
8783
|
+
* @summary Get Object
|
|
9126
8784
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8785
|
+
* @param {string} key
|
|
9127
8786
|
* @param {*} [options] Override http request option.
|
|
9128
8787
|
* @throws {RequiredError}
|
|
9129
8788
|
*/
|
|
9130
|
-
|
|
9131
|
-
return localVarFp.
|
|
8789
|
+
getObject(cell, key, options) {
|
|
8790
|
+
return localVarFp.getObject(cell, key, options).then((request) => request(axios, basePath));
|
|
9132
8791
|
},
|
|
9133
8792
|
/**
|
|
9134
|
-
*
|
|
9135
|
-
* @summary
|
|
8793
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
8794
|
+
* @summary Get Object Metadata
|
|
9136
8795
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9137
|
-
* @param {string}
|
|
9138
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
8796
|
+
* @param {string} key
|
|
9139
8797
|
* @param {*} [options] Override http request option.
|
|
9140
8798
|
* @throws {RequiredError}
|
|
9141
8799
|
*/
|
|
9142
|
-
|
|
9143
|
-
return localVarFp.
|
|
8800
|
+
getObjectMetadata(cell, key, options) {
|
|
8801
|
+
return localVarFp.getObjectMetadata(cell, key, options).then((request) => request(axios, basePath));
|
|
8802
|
+
},
|
|
8803
|
+
/**
|
|
8804
|
+
* List the keys for all objects.
|
|
8805
|
+
* @summary List all Object Keys
|
|
8806
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8807
|
+
* @param {*} [options] Override http request option.
|
|
8808
|
+
* @throws {RequiredError}
|
|
8809
|
+
*/
|
|
8810
|
+
listAllObjectKeys(cell, options) {
|
|
8811
|
+
return localVarFp.listAllObjectKeys(cell, options).then((request) => request(axios, basePath));
|
|
8812
|
+
},
|
|
8813
|
+
/**
|
|
8814
|
+
* 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.
|
|
8815
|
+
* @summary Store Object
|
|
8816
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8817
|
+
* @param {string} key
|
|
8818
|
+
* @param {{ [key: string]: string; }} [xMetadata]
|
|
8819
|
+
* @param {any} [anyValue]
|
|
8820
|
+
* @param {*} [options] Override http request option.
|
|
8821
|
+
* @throws {RequiredError}
|
|
8822
|
+
*/
|
|
8823
|
+
storeObject(cell, key, xMetadata, anyValue, options) {
|
|
8824
|
+
return localVarFp.storeObject(cell, key, xMetadata, anyValue, options).then((request) => request(axios, basePath));
|
|
9144
8825
|
},
|
|
9145
8826
|
};
|
|
9146
8827
|
};
|
|
9147
8828
|
/**
|
|
9148
|
-
*
|
|
8829
|
+
* StoreObjectApi - object-oriented interface
|
|
9149
8830
|
* @export
|
|
9150
|
-
* @class
|
|
8831
|
+
* @class StoreObjectApi
|
|
9151
8832
|
* @extends {BaseAPI}
|
|
9152
8833
|
*/
|
|
9153
|
-
export class
|
|
8834
|
+
export class StoreObjectApi extends BaseAPI {
|
|
9154
8835
|
/**
|
|
9155
|
-
*
|
|
9156
|
-
* @summary
|
|
8836
|
+
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
8837
|
+
* @summary Clear all Objects
|
|
9157
8838
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9158
|
-
* @param {string} scene Unique identifier addressing a collision scene.
|
|
9159
8839
|
* @param {*} [options] Override http request option.
|
|
9160
8840
|
* @throws {RequiredError}
|
|
9161
|
-
* @memberof
|
|
8841
|
+
* @memberof StoreObjectApi
|
|
9162
8842
|
*/
|
|
9163
|
-
|
|
9164
|
-
return
|
|
8843
|
+
clearAllObjects(cell, options) {
|
|
8844
|
+
return StoreObjectApiFp(this.configuration).clearAllObjects(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9165
8845
|
}
|
|
9166
8846
|
/**
|
|
9167
|
-
*
|
|
9168
|
-
* @summary
|
|
8847
|
+
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
8848
|
+
* @summary Delete Object
|
|
9169
8849
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9170
|
-
* @param {string}
|
|
8850
|
+
* @param {string} key
|
|
9171
8851
|
* @param {*} [options] Override http request option.
|
|
9172
8852
|
* @throws {RequiredError}
|
|
9173
|
-
* @memberof
|
|
8853
|
+
* @memberof StoreObjectApi
|
|
9174
8854
|
*/
|
|
9175
|
-
|
|
9176
|
-
return
|
|
8855
|
+
deleteObject(cell, key, options) {
|
|
8856
|
+
return StoreObjectApiFp(this.configuration).deleteObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
9177
8857
|
}
|
|
9178
8858
|
/**
|
|
9179
|
-
*
|
|
9180
|
-
* @summary
|
|
8859
|
+
* Get the object. This request returns the object and any metadata attached to it.
|
|
8860
|
+
* @summary Get Object
|
|
9181
8861
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8862
|
+
* @param {string} key
|
|
9182
8863
|
* @param {*} [options] Override http request option.
|
|
9183
8864
|
* @throws {RequiredError}
|
|
9184
|
-
* @memberof
|
|
8865
|
+
* @memberof StoreObjectApi
|
|
9185
8866
|
*/
|
|
9186
|
-
|
|
9187
|
-
return
|
|
8867
|
+
getObject(cell, key, options) {
|
|
8868
|
+
return StoreObjectApiFp(this.configuration).getObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
9188
8869
|
}
|
|
9189
8870
|
/**
|
|
9190
|
-
*
|
|
9191
|
-
* @summary
|
|
8871
|
+
* Get object metadata. Objects can be large. Therefore this request only returns metadata without fetching the object\'s content.
|
|
8872
|
+
* @summary Get Object Metadata
|
|
9192
8873
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9193
|
-
* @param {string}
|
|
9194
|
-
* @param {CollisionSceneAssembly} collisionSceneAssembly
|
|
8874
|
+
* @param {string} key
|
|
9195
8875
|
* @param {*} [options] Override http request option.
|
|
9196
8876
|
* @throws {RequiredError}
|
|
9197
|
-
* @memberof
|
|
8877
|
+
* @memberof StoreObjectApi
|
|
9198
8878
|
*/
|
|
9199
|
-
|
|
9200
|
-
return
|
|
8879
|
+
getObjectMetadata(cell, key, options) {
|
|
8880
|
+
return StoreObjectApiFp(this.configuration).getObjectMetadata(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
9201
8881
|
}
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
// http bearer authentication required
|
|
9235
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9236
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9237
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9238
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9239
|
-
return {
|
|
9240
|
-
url: toPathString(localVarUrlObj),
|
|
9241
|
-
options: localVarRequestOptions,
|
|
9242
|
-
};
|
|
9243
|
-
},
|
|
9244
|
-
/**
|
|
9245
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
9246
|
-
* @summary Delete Object
|
|
9247
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9248
|
-
* @param {string} key
|
|
9249
|
-
* @param {*} [options] Override http request option.
|
|
9250
|
-
* @throws {RequiredError}
|
|
9251
|
-
*/
|
|
9252
|
-
deleteObject: async (cell, key, options = {}) => {
|
|
9253
|
-
// verify required parameter 'cell' is not null or undefined
|
|
9254
|
-
assertParamExists('deleteObject', 'cell', cell);
|
|
9255
|
-
// verify required parameter 'key' is not null or undefined
|
|
9256
|
-
assertParamExists('deleteObject', 'key', key);
|
|
9257
|
-
const localVarPath = `/cells/{cell}/store/objects/{key}`
|
|
9258
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9259
|
-
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
9260
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9261
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9262
|
-
let baseOptions;
|
|
9263
|
-
if (configuration) {
|
|
9264
|
-
baseOptions = configuration.baseOptions;
|
|
9265
|
-
}
|
|
9266
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
9267
|
-
const localVarHeaderParameter = {};
|
|
9268
|
-
const localVarQueryParameter = {};
|
|
9269
|
-
// authentication BasicAuth required
|
|
9270
|
-
// http basic authentication required
|
|
9271
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9272
|
-
// authentication BearerAuth required
|
|
9273
|
-
// http bearer authentication required
|
|
9274
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9275
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9276
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9277
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9278
|
-
return {
|
|
9279
|
-
url: toPathString(localVarUrlObj),
|
|
9280
|
-
options: localVarRequestOptions,
|
|
9281
|
-
};
|
|
9282
|
-
},
|
|
8882
|
+
/**
|
|
8883
|
+
* List the keys for all objects.
|
|
8884
|
+
* @summary List all Object Keys
|
|
8885
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8886
|
+
* @param {*} [options] Override http request option.
|
|
8887
|
+
* @throws {RequiredError}
|
|
8888
|
+
* @memberof StoreObjectApi
|
|
8889
|
+
*/
|
|
8890
|
+
listAllObjectKeys(cell, options) {
|
|
8891
|
+
return StoreObjectApiFp(this.configuration).listAllObjectKeys(cell, options).then((request) => request(this.axios, this.basePath));
|
|
8892
|
+
}
|
|
8893
|
+
/**
|
|
8894
|
+
* 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.
|
|
8895
|
+
* @summary Store Object
|
|
8896
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8897
|
+
* @param {string} key
|
|
8898
|
+
* @param {{ [key: string]: string; }} [xMetadata]
|
|
8899
|
+
* @param {any} [anyValue]
|
|
8900
|
+
* @param {*} [options] Override http request option.
|
|
8901
|
+
* @throws {RequiredError}
|
|
8902
|
+
* @memberof StoreObjectApi
|
|
8903
|
+
*/
|
|
8904
|
+
storeObject(cell, key, xMetadata, anyValue, options) {
|
|
8905
|
+
return StoreObjectApiFp(this.configuration).storeObject(cell, key, xMetadata, anyValue, options).then((request) => request(this.axios, this.basePath));
|
|
8906
|
+
}
|
|
8907
|
+
}
|
|
8908
|
+
/**
|
|
8909
|
+
* StoreProgramApi - axios parameter creator
|
|
8910
|
+
* @export
|
|
8911
|
+
*/
|
|
8912
|
+
export const StoreProgramApiAxiosParamCreator = function (configuration) {
|
|
8913
|
+
return {
|
|
9283
8914
|
/**
|
|
9284
|
-
*
|
|
9285
|
-
* @summary
|
|
8915
|
+
* Deletes the program. This action is irreversible.
|
|
8916
|
+
* @summary Delete Program
|
|
9286
8917
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9287
|
-
* @param {string}
|
|
8918
|
+
* @param {string} program
|
|
9288
8919
|
* @param {*} [options] Override http request option.
|
|
9289
8920
|
* @throws {RequiredError}
|
|
9290
8921
|
*/
|
|
9291
|
-
|
|
8922
|
+
deleteProgram: async (cell, program, options = {}) => {
|
|
9292
8923
|
// verify required parameter 'cell' is not null or undefined
|
|
9293
|
-
assertParamExists('
|
|
9294
|
-
// verify required parameter '
|
|
9295
|
-
assertParamExists('
|
|
9296
|
-
const localVarPath = `/cells/{cell}/store/
|
|
8924
|
+
assertParamExists('deleteProgram', 'cell', cell);
|
|
8925
|
+
// verify required parameter 'program' is not null or undefined
|
|
8926
|
+
assertParamExists('deleteProgram', 'program', program);
|
|
8927
|
+
const localVarPath = `/cells/{cell}/store/programs/{program}`
|
|
9297
8928
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9298
|
-
.replace(`{${"
|
|
8929
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
9299
8930
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9300
8931
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9301
8932
|
let baseOptions;
|
|
9302
8933
|
if (configuration) {
|
|
9303
8934
|
baseOptions = configuration.baseOptions;
|
|
9304
8935
|
}
|
|
9305
|
-
const localVarRequestOptions = { method: '
|
|
8936
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
9306
8937
|
const localVarHeaderParameter = {};
|
|
9307
8938
|
const localVarQueryParameter = {};
|
|
9308
8939
|
// authentication BasicAuth required
|
|
@@ -9320,28 +8951,28 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
9320
8951
|
};
|
|
9321
8952
|
},
|
|
9322
8953
|
/**
|
|
9323
|
-
*
|
|
9324
|
-
* @summary Get
|
|
8954
|
+
* Returns the content of the program.
|
|
8955
|
+
* @summary Get Program
|
|
9325
8956
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9326
|
-
* @param {string}
|
|
8957
|
+
* @param {string} program
|
|
9327
8958
|
* @param {*} [options] Override http request option.
|
|
9328
8959
|
* @throws {RequiredError}
|
|
9329
8960
|
*/
|
|
9330
|
-
|
|
8961
|
+
getProgram: async (cell, program, options = {}) => {
|
|
9331
8962
|
// verify required parameter 'cell' is not null or undefined
|
|
9332
|
-
assertParamExists('
|
|
9333
|
-
// verify required parameter '
|
|
9334
|
-
assertParamExists('
|
|
9335
|
-
const localVarPath = `/cells/{cell}/store/
|
|
8963
|
+
assertParamExists('getProgram', 'cell', cell);
|
|
8964
|
+
// verify required parameter 'program' is not null or undefined
|
|
8965
|
+
assertParamExists('getProgram', 'program', program);
|
|
8966
|
+
const localVarPath = `/cells/{cell}/store/programs/{program}`
|
|
9336
8967
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9337
|
-
.replace(`{${"
|
|
8968
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
9338
8969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9339
8970
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9340
8971
|
let baseOptions;
|
|
9341
8972
|
if (configuration) {
|
|
9342
8973
|
baseOptions = configuration.baseOptions;
|
|
9343
8974
|
}
|
|
9344
|
-
const localVarRequestOptions = { method: '
|
|
8975
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9345
8976
|
const localVarHeaderParameter = {};
|
|
9346
8977
|
const localVarQueryParameter = {};
|
|
9347
8978
|
// authentication BasicAuth required
|
|
@@ -9359,16 +8990,16 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
9359
8990
|
};
|
|
9360
8991
|
},
|
|
9361
8992
|
/**
|
|
9362
|
-
*
|
|
9363
|
-
* @summary List all
|
|
8993
|
+
* Returns a list of all the stored programs.
|
|
8994
|
+
* @summary List all Programs
|
|
9364
8995
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9365
8996
|
* @param {*} [options] Override http request option.
|
|
9366
8997
|
* @throws {RequiredError}
|
|
9367
8998
|
*/
|
|
9368
|
-
|
|
8999
|
+
listPrograms: async (cell, options = {}) => {
|
|
9369
9000
|
// verify required parameter 'cell' is not null or undefined
|
|
9370
|
-
assertParamExists('
|
|
9371
|
-
const localVarPath = `/cells/{cell}/store/
|
|
9001
|
+
assertParamExists('listPrograms', 'cell', cell);
|
|
9002
|
+
const localVarPath = `/cells/{cell}/store/programs`
|
|
9372
9003
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
9373
9004
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9374
9005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9394,23 +9025,25 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
9394
9025
|
};
|
|
9395
9026
|
},
|
|
9396
9027
|
/**
|
|
9397
|
-
*
|
|
9398
|
-
* @summary Store
|
|
9028
|
+
* Stores the content of the program. If the program exists, the operation overwrites the content.
|
|
9029
|
+
* @summary Store Program
|
|
9399
9030
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9400
|
-
* @param {string}
|
|
9031
|
+
* @param {string} program
|
|
9032
|
+
* @param {string} body
|
|
9401
9033
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
9402
|
-
* @param {any} [anyValue]
|
|
9403
9034
|
* @param {*} [options] Override http request option.
|
|
9404
9035
|
* @throws {RequiredError}
|
|
9405
9036
|
*/
|
|
9406
|
-
|
|
9037
|
+
storeProgram: async (cell, program, body, xMetadata, options = {}) => {
|
|
9407
9038
|
// verify required parameter 'cell' is not null or undefined
|
|
9408
|
-
assertParamExists('
|
|
9409
|
-
// verify required parameter '
|
|
9410
|
-
assertParamExists('
|
|
9411
|
-
|
|
9039
|
+
assertParamExists('storeProgram', 'cell', cell);
|
|
9040
|
+
// verify required parameter 'program' is not null or undefined
|
|
9041
|
+
assertParamExists('storeProgram', 'program', program);
|
|
9042
|
+
// verify required parameter 'body' is not null or undefined
|
|
9043
|
+
assertParamExists('storeProgram', 'body', body);
|
|
9044
|
+
const localVarPath = `/cells/{cell}/store/programs/{program}`
|
|
9412
9045
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
9413
|
-
.replace(`{${"
|
|
9046
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
9414
9047
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9415
9048
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9416
9049
|
let baseOptions;
|
|
@@ -9420,17 +9053,13 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
9420
9053
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
9421
9054
|
const localVarHeaderParameter = {};
|
|
9422
9055
|
const localVarQueryParameter = {};
|
|
9423
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
9424
9056
|
// authentication BasicAuth required
|
|
9425
9057
|
// http basic authentication required
|
|
9426
9058
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
9427
9059
|
// authentication BearerAuth required
|
|
9428
9060
|
// http bearer authentication required
|
|
9429
9061
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9430
|
-
|
|
9431
|
-
localVarFormParams.append('any_value', new Blob([JSON.stringify(anyValue)], { type: "application/json", }));
|
|
9432
|
-
}
|
|
9433
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
9062
|
+
localVarHeaderParameter['Content-Type'] = 'text/*';
|
|
9434
9063
|
if (xMetadata != null) {
|
|
9435
9064
|
localVarHeaderParameter['X-Metadata'] = typeof xMetadata === 'string'
|
|
9436
9065
|
? xMetadata
|
|
@@ -9439,7 +9068,7 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
9439
9068
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9440
9069
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9441
9070
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9442
|
-
localVarRequestOptions.data =
|
|
9071
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
9443
9072
|
return {
|
|
9444
9073
|
url: toPathString(localVarUrlObj),
|
|
9445
9074
|
options: localVarRequestOptions,
|
|
@@ -9448,251 +9077,180 @@ export const StoreObjectApiAxiosParamCreator = function (configuration) {
|
|
|
9448
9077
|
};
|
|
9449
9078
|
};
|
|
9450
9079
|
/**
|
|
9451
|
-
*
|
|
9080
|
+
* StoreProgramApi - functional programming interface
|
|
9452
9081
|
* @export
|
|
9453
9082
|
*/
|
|
9454
|
-
export const
|
|
9455
|
-
const localVarAxiosParamCreator =
|
|
9083
|
+
export const StoreProgramApiFp = function (configuration) {
|
|
9084
|
+
const localVarAxiosParamCreator = StoreProgramApiAxiosParamCreator(configuration);
|
|
9456
9085
|
return {
|
|
9457
9086
|
/**
|
|
9458
|
-
*
|
|
9459
|
-
* @summary
|
|
9460
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9461
|
-
* @param {*} [options] Override http request option.
|
|
9462
|
-
* @throws {RequiredError}
|
|
9463
|
-
*/
|
|
9464
|
-
async clearAllObjects(cell, options) {
|
|
9465
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.clearAllObjects(cell, options);
|
|
9466
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9467
|
-
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.clearAllObjects']?.[localVarOperationServerIndex]?.url;
|
|
9468
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9469
|
-
},
|
|
9470
|
-
/**
|
|
9471
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
9472
|
-
* @summary Delete Object
|
|
9473
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9474
|
-
* @param {string} key
|
|
9475
|
-
* @param {*} [options] Override http request option.
|
|
9476
|
-
* @throws {RequiredError}
|
|
9477
|
-
*/
|
|
9478
|
-
async deleteObject(cell, key, options) {
|
|
9479
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteObject(cell, key, options);
|
|
9480
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9481
|
-
const localVarOperationServerBasePath = operationServerMap['StoreObjectApi.deleteObject']?.[localVarOperationServerIndex]?.url;
|
|
9482
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9483
|
-
},
|
|
9484
|
-
/**
|
|
9485
|
-
* Get the object. This request returns the object and any metadata attached to it.
|
|
9486
|
-
* @summary Get Object
|
|
9087
|
+
* Deletes the program. This action is irreversible.
|
|
9088
|
+
* @summary Delete Program
|
|
9487
9089
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9488
|
-
* @param {string}
|
|
9090
|
+
* @param {string} program
|
|
9489
9091
|
* @param {*} [options] Override http request option.
|
|
9490
9092
|
* @throws {RequiredError}
|
|
9491
9093
|
*/
|
|
9492
|
-
async
|
|
9493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9094
|
+
async deleteProgram(cell, program, options) {
|
|
9095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProgram(cell, program, options);
|
|
9494
9096
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9495
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
9097
|
+
const localVarOperationServerBasePath = operationServerMap['StoreProgramApi.deleteProgram']?.[localVarOperationServerIndex]?.url;
|
|
9496
9098
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9497
9099
|
},
|
|
9498
9100
|
/**
|
|
9499
|
-
*
|
|
9500
|
-
* @summary Get
|
|
9101
|
+
* Returns the content of the program.
|
|
9102
|
+
* @summary Get Program
|
|
9501
9103
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9502
|
-
* @param {string}
|
|
9104
|
+
* @param {string} program
|
|
9503
9105
|
* @param {*} [options] Override http request option.
|
|
9504
9106
|
* @throws {RequiredError}
|
|
9505
9107
|
*/
|
|
9506
|
-
async
|
|
9507
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9108
|
+
async getProgram(cell, program, options) {
|
|
9109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(cell, program, options);
|
|
9508
9110
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9509
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
9111
|
+
const localVarOperationServerBasePath = operationServerMap['StoreProgramApi.getProgram']?.[localVarOperationServerIndex]?.url;
|
|
9510
9112
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9511
9113
|
},
|
|
9512
9114
|
/**
|
|
9513
|
-
*
|
|
9514
|
-
* @summary List all
|
|
9115
|
+
* Returns a list of all the stored programs.
|
|
9116
|
+
* @summary List all Programs
|
|
9515
9117
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9516
9118
|
* @param {*} [options] Override http request option.
|
|
9517
9119
|
* @throws {RequiredError}
|
|
9518
9120
|
*/
|
|
9519
|
-
async
|
|
9520
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9121
|
+
async listPrograms(cell, options) {
|
|
9122
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPrograms(cell, options);
|
|
9521
9123
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9522
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
9124
|
+
const localVarOperationServerBasePath = operationServerMap['StoreProgramApi.listPrograms']?.[localVarOperationServerIndex]?.url;
|
|
9523
9125
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9524
9126
|
},
|
|
9525
9127
|
/**
|
|
9526
|
-
*
|
|
9527
|
-
* @summary Store
|
|
9128
|
+
* Stores the content of the program. If the program exists, the operation overwrites the content.
|
|
9129
|
+
* @summary Store Program
|
|
9528
9130
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9529
|
-
* @param {string}
|
|
9131
|
+
* @param {string} program
|
|
9132
|
+
* @param {string} body
|
|
9530
9133
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
9531
|
-
* @param {any} [anyValue]
|
|
9532
9134
|
* @param {*} [options] Override http request option.
|
|
9533
9135
|
* @throws {RequiredError}
|
|
9534
9136
|
*/
|
|
9535
|
-
async
|
|
9536
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9137
|
+
async storeProgram(cell, program, body, xMetadata, options) {
|
|
9138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storeProgram(cell, program, body, xMetadata, options);
|
|
9537
9139
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9538
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
9140
|
+
const localVarOperationServerBasePath = operationServerMap['StoreProgramApi.storeProgram']?.[localVarOperationServerIndex]?.url;
|
|
9539
9141
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9540
9142
|
},
|
|
9541
9143
|
};
|
|
9542
9144
|
};
|
|
9543
9145
|
/**
|
|
9544
|
-
*
|
|
9146
|
+
* StoreProgramApi - factory interface
|
|
9545
9147
|
* @export
|
|
9546
9148
|
*/
|
|
9547
|
-
export const
|
|
9548
|
-
const localVarFp =
|
|
9149
|
+
export const StoreProgramApiFactory = function (configuration, basePath, axios) {
|
|
9150
|
+
const localVarFp = StoreProgramApiFp(configuration);
|
|
9549
9151
|
return {
|
|
9550
9152
|
/**
|
|
9551
|
-
*
|
|
9552
|
-
* @summary
|
|
9553
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9554
|
-
* @param {*} [options] Override http request option.
|
|
9555
|
-
* @throws {RequiredError}
|
|
9556
|
-
*/
|
|
9557
|
-
clearAllObjects(cell, options) {
|
|
9558
|
-
return localVarFp.clearAllObjects(cell, options).then((request) => request(axios, basePath));
|
|
9559
|
-
},
|
|
9560
|
-
/**
|
|
9561
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
9562
|
-
* @summary Delete Object
|
|
9563
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9564
|
-
* @param {string} key
|
|
9565
|
-
* @param {*} [options] Override http request option.
|
|
9566
|
-
* @throws {RequiredError}
|
|
9567
|
-
*/
|
|
9568
|
-
deleteObject(cell, key, options) {
|
|
9569
|
-
return localVarFp.deleteObject(cell, key, options).then((request) => request(axios, basePath));
|
|
9570
|
-
},
|
|
9571
|
-
/**
|
|
9572
|
-
* Get the object. This request returns the object and any metadata attached to it.
|
|
9573
|
-
* @summary Get Object
|
|
9153
|
+
* Deletes the program. This action is irreversible.
|
|
9154
|
+
* @summary Delete Program
|
|
9574
9155
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9575
|
-
* @param {string}
|
|
9156
|
+
* @param {string} program
|
|
9576
9157
|
* @param {*} [options] Override http request option.
|
|
9577
9158
|
* @throws {RequiredError}
|
|
9578
9159
|
*/
|
|
9579
|
-
|
|
9580
|
-
return localVarFp.
|
|
9160
|
+
deleteProgram(cell, program, options) {
|
|
9161
|
+
return localVarFp.deleteProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
9581
9162
|
},
|
|
9582
9163
|
/**
|
|
9583
|
-
*
|
|
9584
|
-
* @summary Get
|
|
9164
|
+
* Returns the content of the program.
|
|
9165
|
+
* @summary Get Program
|
|
9585
9166
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9586
|
-
* @param {string}
|
|
9167
|
+
* @param {string} program
|
|
9587
9168
|
* @param {*} [options] Override http request option.
|
|
9588
9169
|
* @throws {RequiredError}
|
|
9589
9170
|
*/
|
|
9590
|
-
|
|
9591
|
-
return localVarFp.
|
|
9171
|
+
getProgram(cell, program, options) {
|
|
9172
|
+
return localVarFp.getProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
9592
9173
|
},
|
|
9593
9174
|
/**
|
|
9594
|
-
*
|
|
9595
|
-
* @summary List all
|
|
9175
|
+
* Returns a list of all the stored programs.
|
|
9176
|
+
* @summary List all Programs
|
|
9596
9177
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9597
9178
|
* @param {*} [options] Override http request option.
|
|
9598
9179
|
* @throws {RequiredError}
|
|
9599
9180
|
*/
|
|
9600
|
-
|
|
9601
|
-
return localVarFp.
|
|
9181
|
+
listPrograms(cell, options) {
|
|
9182
|
+
return localVarFp.listPrograms(cell, options).then((request) => request(axios, basePath));
|
|
9602
9183
|
},
|
|
9603
9184
|
/**
|
|
9604
|
-
*
|
|
9605
|
-
* @summary Store
|
|
9185
|
+
* Stores the content of the program. If the program exists, the operation overwrites the content.
|
|
9186
|
+
* @summary Store Program
|
|
9606
9187
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9607
|
-
* @param {string}
|
|
9188
|
+
* @param {string} program
|
|
9189
|
+
* @param {string} body
|
|
9608
9190
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
9609
|
-
* @param {any} [anyValue]
|
|
9610
9191
|
* @param {*} [options] Override http request option.
|
|
9611
9192
|
* @throws {RequiredError}
|
|
9612
9193
|
*/
|
|
9613
|
-
|
|
9614
|
-
return localVarFp.
|
|
9194
|
+
storeProgram(cell, program, body, xMetadata, options) {
|
|
9195
|
+
return localVarFp.storeProgram(cell, program, body, xMetadata, options).then((request) => request(axios, basePath));
|
|
9615
9196
|
},
|
|
9616
9197
|
};
|
|
9617
9198
|
};
|
|
9618
9199
|
/**
|
|
9619
|
-
*
|
|
9200
|
+
* StoreProgramApi - object-oriented interface
|
|
9620
9201
|
* @export
|
|
9621
|
-
* @class
|
|
9202
|
+
* @class StoreProgramApi
|
|
9622
9203
|
* @extends {BaseAPI}
|
|
9623
9204
|
*/
|
|
9624
|
-
export class
|
|
9625
|
-
/**
|
|
9626
|
-
* Delete all objects. <!-- theme: danger --> > This will delete ALL your persistently stored data.
|
|
9627
|
-
* @summary Clear all Objects
|
|
9628
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9629
|
-
* @param {*} [options] Override http request option.
|
|
9630
|
-
* @throws {RequiredError}
|
|
9631
|
-
* @memberof StoreObjectApi
|
|
9632
|
-
*/
|
|
9633
|
-
clearAllObjects(cell, options) {
|
|
9634
|
-
return StoreObjectApiFp(this.configuration).clearAllObjects(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9635
|
-
}
|
|
9636
|
-
/**
|
|
9637
|
-
* Delete an object <!-- theme: danger --> > This will delete persistently stored data.
|
|
9638
|
-
* @summary Delete Object
|
|
9639
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9640
|
-
* @param {string} key
|
|
9641
|
-
* @param {*} [options] Override http request option.
|
|
9642
|
-
* @throws {RequiredError}
|
|
9643
|
-
* @memberof StoreObjectApi
|
|
9644
|
-
*/
|
|
9645
|
-
deleteObject(cell, key, options) {
|
|
9646
|
-
return StoreObjectApiFp(this.configuration).deleteObject(cell, key, options).then((request) => request(this.axios, this.basePath));
|
|
9647
|
-
}
|
|
9205
|
+
export class StoreProgramApi extends BaseAPI {
|
|
9648
9206
|
/**
|
|
9649
|
-
*
|
|
9650
|
-
* @summary
|
|
9207
|
+
* Deletes the program. This action is irreversible.
|
|
9208
|
+
* @summary Delete Program
|
|
9651
9209
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9652
|
-
* @param {string}
|
|
9210
|
+
* @param {string} program
|
|
9653
9211
|
* @param {*} [options] Override http request option.
|
|
9654
9212
|
* @throws {RequiredError}
|
|
9655
|
-
* @memberof
|
|
9213
|
+
* @memberof StoreProgramApi
|
|
9656
9214
|
*/
|
|
9657
|
-
|
|
9658
|
-
return
|
|
9215
|
+
deleteProgram(cell, program, options) {
|
|
9216
|
+
return StoreProgramApiFp(this.configuration).deleteProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
9659
9217
|
}
|
|
9660
9218
|
/**
|
|
9661
|
-
*
|
|
9662
|
-
* @summary Get
|
|
9219
|
+
* Returns the content of the program.
|
|
9220
|
+
* @summary Get Program
|
|
9663
9221
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9664
|
-
* @param {string}
|
|
9222
|
+
* @param {string} program
|
|
9665
9223
|
* @param {*} [options] Override http request option.
|
|
9666
9224
|
* @throws {RequiredError}
|
|
9667
|
-
* @memberof
|
|
9225
|
+
* @memberof StoreProgramApi
|
|
9668
9226
|
*/
|
|
9669
|
-
|
|
9670
|
-
return
|
|
9227
|
+
getProgram(cell, program, options) {
|
|
9228
|
+
return StoreProgramApiFp(this.configuration).getProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
9671
9229
|
}
|
|
9672
9230
|
/**
|
|
9673
|
-
*
|
|
9674
|
-
* @summary List all
|
|
9231
|
+
* Returns a list of all the stored programs.
|
|
9232
|
+
* @summary List all Programs
|
|
9675
9233
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9676
9234
|
* @param {*} [options] Override http request option.
|
|
9677
9235
|
* @throws {RequiredError}
|
|
9678
|
-
* @memberof
|
|
9236
|
+
* @memberof StoreProgramApi
|
|
9679
9237
|
*/
|
|
9680
|
-
|
|
9681
|
-
return
|
|
9238
|
+
listPrograms(cell, options) {
|
|
9239
|
+
return StoreProgramApiFp(this.configuration).listPrograms(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9682
9240
|
}
|
|
9683
9241
|
/**
|
|
9684
|
-
*
|
|
9685
|
-
* @summary Store
|
|
9242
|
+
* Stores the content of the program. If the program exists, the operation overwrites the content.
|
|
9243
|
+
* @summary Store Program
|
|
9686
9244
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9687
|
-
* @param {string}
|
|
9245
|
+
* @param {string} program
|
|
9246
|
+
* @param {string} body
|
|
9688
9247
|
* @param {{ [key: string]: string; }} [xMetadata]
|
|
9689
|
-
* @param {any} [anyValue]
|
|
9690
9248
|
* @param {*} [options] Override http request option.
|
|
9691
9249
|
* @throws {RequiredError}
|
|
9692
|
-
* @memberof
|
|
9250
|
+
* @memberof StoreProgramApi
|
|
9693
9251
|
*/
|
|
9694
|
-
|
|
9695
|
-
return
|
|
9252
|
+
storeProgram(cell, program, body, xMetadata, options) {
|
|
9253
|
+
return StoreProgramApiFp(this.configuration).storeProgram(cell, program, body, xMetadata, options).then((request) => request(this.axios, this.basePath));
|
|
9696
9254
|
}
|
|
9697
9255
|
}
|
|
9698
9256
|
/**
|