@wandelbots/nova-api 25.8.0-dev.17 → 25.8.0-dev.19
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 +355 -1
- package/v2/api.js +351 -0
- package/v2/api.js.map +1 -1
- package/v2/api.ts +564 -1
package/v2/api.js
CHANGED
|
@@ -355,6 +355,18 @@ export const ProfinetIOTypeEnum = {
|
|
|
355
355
|
ProfinetIoTypeReal: 'PROFINET_IO_TYPE_REAL',
|
|
356
356
|
ProfinetIoTypeLreal: 'PROFINET_IO_TYPE_LREAL'
|
|
357
357
|
};
|
|
358
|
+
/**
|
|
359
|
+
* The state of a program run.
|
|
360
|
+
* @export
|
|
361
|
+
* @enum {string}
|
|
362
|
+
*/
|
|
363
|
+
export const ProgramRunState = {
|
|
364
|
+
Preparing: 'PREPARING',
|
|
365
|
+
Running: 'RUNNING',
|
|
366
|
+
Completed: 'COMPLETED',
|
|
367
|
+
Failed: 'FAILED',
|
|
368
|
+
Stopped: 'STOPPED'
|
|
369
|
+
};
|
|
358
370
|
export const RRTConnectAlgorithmAlgorithmNameEnum = {
|
|
359
371
|
RrtConnectAlgorithm: 'RRTConnectAlgorithm'
|
|
360
372
|
};
|
|
@@ -5443,6 +5455,345 @@ export class MotionGroupModelsApi extends BaseAPI {
|
|
|
5443
5455
|
return MotionGroupModelsApiFp(this.configuration).getMotionGroupModels(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5444
5456
|
}
|
|
5445
5457
|
}
|
|
5458
|
+
/**
|
|
5459
|
+
* ProgramApi - axios parameter creator
|
|
5460
|
+
* @export
|
|
5461
|
+
*/
|
|
5462
|
+
export const ProgramApiAxiosParamCreator = function (configuration) {
|
|
5463
|
+
return {
|
|
5464
|
+
/**
|
|
5465
|
+
* Get details of a program.
|
|
5466
|
+
* @summary Get program
|
|
5467
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5468
|
+
* @param {string} program
|
|
5469
|
+
* @param {*} [options] Override http request option.
|
|
5470
|
+
* @throws {RequiredError}
|
|
5471
|
+
*/
|
|
5472
|
+
getProgram: async (cell, program, options = {}) => {
|
|
5473
|
+
// verify required parameter 'cell' is not null or undefined
|
|
5474
|
+
assertParamExists('getProgram', 'cell', cell);
|
|
5475
|
+
// verify required parameter 'program' is not null or undefined
|
|
5476
|
+
assertParamExists('getProgram', 'program', program);
|
|
5477
|
+
const localVarPath = `/experimental/cells/{cell}/programs/{program}`
|
|
5478
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5479
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
5480
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5481
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5482
|
+
let baseOptions;
|
|
5483
|
+
if (configuration) {
|
|
5484
|
+
baseOptions = configuration.baseOptions;
|
|
5485
|
+
}
|
|
5486
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5487
|
+
const localVarHeaderParameter = {};
|
|
5488
|
+
const localVarQueryParameter = {};
|
|
5489
|
+
// authentication BasicAuth required
|
|
5490
|
+
// http basic authentication required
|
|
5491
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5492
|
+
// authentication BearerAuth required
|
|
5493
|
+
// http bearer authentication required
|
|
5494
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5495
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5497
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5498
|
+
return {
|
|
5499
|
+
url: toPathString(localVarUrlObj),
|
|
5500
|
+
options: localVarRequestOptions,
|
|
5501
|
+
};
|
|
5502
|
+
},
|
|
5503
|
+
/**
|
|
5504
|
+
* List details of all existing programs.
|
|
5505
|
+
* @summary List programs
|
|
5506
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5507
|
+
* @param {*} [options] Override http request option.
|
|
5508
|
+
* @throws {RequiredError}
|
|
5509
|
+
*/
|
|
5510
|
+
listPrograms: async (cell, options = {}) => {
|
|
5511
|
+
// verify required parameter 'cell' is not null or undefined
|
|
5512
|
+
assertParamExists('listPrograms', 'cell', cell);
|
|
5513
|
+
const localVarPath = `/experimental/cells/{cell}/programs`
|
|
5514
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5515
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5516
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5517
|
+
let baseOptions;
|
|
5518
|
+
if (configuration) {
|
|
5519
|
+
baseOptions = configuration.baseOptions;
|
|
5520
|
+
}
|
|
5521
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5522
|
+
const localVarHeaderParameter = {};
|
|
5523
|
+
const localVarQueryParameter = {};
|
|
5524
|
+
// authentication BasicAuth required
|
|
5525
|
+
// http basic authentication required
|
|
5526
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5527
|
+
// authentication BearerAuth required
|
|
5528
|
+
// http bearer authentication required
|
|
5529
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5532
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5533
|
+
return {
|
|
5534
|
+
url: toPathString(localVarUrlObj),
|
|
5535
|
+
options: localVarRequestOptions,
|
|
5536
|
+
};
|
|
5537
|
+
},
|
|
5538
|
+
/**
|
|
5539
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
5540
|
+
* @summary Start the program
|
|
5541
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5542
|
+
* @param {string} program
|
|
5543
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
5544
|
+
* @param {*} [options] Override http request option.
|
|
5545
|
+
* @throws {RequiredError}
|
|
5546
|
+
*/
|
|
5547
|
+
startProgram: async (cell, program, programStartRequest, options = {}) => {
|
|
5548
|
+
// verify required parameter 'cell' is not null or undefined
|
|
5549
|
+
assertParamExists('startProgram', 'cell', cell);
|
|
5550
|
+
// verify required parameter 'program' is not null or undefined
|
|
5551
|
+
assertParamExists('startProgram', 'program', program);
|
|
5552
|
+
// verify required parameter 'programStartRequest' is not null or undefined
|
|
5553
|
+
assertParamExists('startProgram', 'programStartRequest', programStartRequest);
|
|
5554
|
+
const localVarPath = `/experimental/cells/{cell}/programs/{program}/start`
|
|
5555
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5556
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
5557
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5558
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5559
|
+
let baseOptions;
|
|
5560
|
+
if (configuration) {
|
|
5561
|
+
baseOptions = configuration.baseOptions;
|
|
5562
|
+
}
|
|
5563
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
5564
|
+
const localVarHeaderParameter = {};
|
|
5565
|
+
const localVarQueryParameter = {};
|
|
5566
|
+
// authentication BasicAuth required
|
|
5567
|
+
// http basic authentication required
|
|
5568
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5569
|
+
// authentication BearerAuth required
|
|
5570
|
+
// http bearer authentication required
|
|
5571
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5572
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5573
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5574
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5575
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5576
|
+
localVarRequestOptions.data = serializeDataIfNeeded(programStartRequest, localVarRequestOptions, configuration);
|
|
5577
|
+
return {
|
|
5578
|
+
url: toPathString(localVarUrlObj),
|
|
5579
|
+
options: localVarRequestOptions,
|
|
5580
|
+
};
|
|
5581
|
+
},
|
|
5582
|
+
/**
|
|
5583
|
+
* Stop a specific program run.
|
|
5584
|
+
* @summary Stop program run
|
|
5585
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5586
|
+
* @param {string} program
|
|
5587
|
+
* @param {*} [options] Override http request option.
|
|
5588
|
+
* @throws {RequiredError}
|
|
5589
|
+
*/
|
|
5590
|
+
stopProgram: async (cell, program, options = {}) => {
|
|
5591
|
+
// verify required parameter 'cell' is not null or undefined
|
|
5592
|
+
assertParamExists('stopProgram', 'cell', cell);
|
|
5593
|
+
// verify required parameter 'program' is not null or undefined
|
|
5594
|
+
assertParamExists('stopProgram', 'program', program);
|
|
5595
|
+
const localVarPath = `/experimental/cells/{cell}/programs/{program}/stop`
|
|
5596
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
5597
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
5598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5600
|
+
let baseOptions;
|
|
5601
|
+
if (configuration) {
|
|
5602
|
+
baseOptions = configuration.baseOptions;
|
|
5603
|
+
}
|
|
5604
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
5605
|
+
const localVarHeaderParameter = {};
|
|
5606
|
+
const localVarQueryParameter = {};
|
|
5607
|
+
// authentication BasicAuth required
|
|
5608
|
+
// http basic authentication required
|
|
5609
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
5610
|
+
// authentication BearerAuth required
|
|
5611
|
+
// http bearer authentication required
|
|
5612
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5613
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5614
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5615
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5616
|
+
return {
|
|
5617
|
+
url: toPathString(localVarUrlObj),
|
|
5618
|
+
options: localVarRequestOptions,
|
|
5619
|
+
};
|
|
5620
|
+
},
|
|
5621
|
+
};
|
|
5622
|
+
};
|
|
5623
|
+
/**
|
|
5624
|
+
* ProgramApi - functional programming interface
|
|
5625
|
+
* @export
|
|
5626
|
+
*/
|
|
5627
|
+
export const ProgramApiFp = function (configuration) {
|
|
5628
|
+
const localVarAxiosParamCreator = ProgramApiAxiosParamCreator(configuration);
|
|
5629
|
+
return {
|
|
5630
|
+
/**
|
|
5631
|
+
* Get details of a program.
|
|
5632
|
+
* @summary Get program
|
|
5633
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5634
|
+
* @param {string} program
|
|
5635
|
+
* @param {*} [options] Override http request option.
|
|
5636
|
+
* @throws {RequiredError}
|
|
5637
|
+
*/
|
|
5638
|
+
async getProgram(cell, program, options) {
|
|
5639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(cell, program, options);
|
|
5640
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5641
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.getProgram']?.[localVarOperationServerIndex]?.url;
|
|
5642
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5643
|
+
},
|
|
5644
|
+
/**
|
|
5645
|
+
* List details of all existing programs.
|
|
5646
|
+
* @summary List programs
|
|
5647
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5648
|
+
* @param {*} [options] Override http request option.
|
|
5649
|
+
* @throws {RequiredError}
|
|
5650
|
+
*/
|
|
5651
|
+
async listPrograms(cell, options) {
|
|
5652
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPrograms(cell, options);
|
|
5653
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5654
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.listPrograms']?.[localVarOperationServerIndex]?.url;
|
|
5655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5656
|
+
},
|
|
5657
|
+
/**
|
|
5658
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
5659
|
+
* @summary Start the program
|
|
5660
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5661
|
+
* @param {string} program
|
|
5662
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
5663
|
+
* @param {*} [options] Override http request option.
|
|
5664
|
+
* @throws {RequiredError}
|
|
5665
|
+
*/
|
|
5666
|
+
async startProgram(cell, program, programStartRequest, options) {
|
|
5667
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startProgram(cell, program, programStartRequest, options);
|
|
5668
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5669
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.startProgram']?.[localVarOperationServerIndex]?.url;
|
|
5670
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5671
|
+
},
|
|
5672
|
+
/**
|
|
5673
|
+
* Stop a specific program run.
|
|
5674
|
+
* @summary Stop program run
|
|
5675
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5676
|
+
* @param {string} program
|
|
5677
|
+
* @param {*} [options] Override http request option.
|
|
5678
|
+
* @throws {RequiredError}
|
|
5679
|
+
*/
|
|
5680
|
+
async stopProgram(cell, program, options) {
|
|
5681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopProgram(cell, program, options);
|
|
5682
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5683
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.stopProgram']?.[localVarOperationServerIndex]?.url;
|
|
5684
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5685
|
+
},
|
|
5686
|
+
};
|
|
5687
|
+
};
|
|
5688
|
+
/**
|
|
5689
|
+
* ProgramApi - factory interface
|
|
5690
|
+
* @export
|
|
5691
|
+
*/
|
|
5692
|
+
export const ProgramApiFactory = function (configuration, basePath, axios) {
|
|
5693
|
+
const localVarFp = ProgramApiFp(configuration);
|
|
5694
|
+
return {
|
|
5695
|
+
/**
|
|
5696
|
+
* Get details of a program.
|
|
5697
|
+
* @summary Get program
|
|
5698
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5699
|
+
* @param {string} program
|
|
5700
|
+
* @param {*} [options] Override http request option.
|
|
5701
|
+
* @throws {RequiredError}
|
|
5702
|
+
*/
|
|
5703
|
+
getProgram(cell, program, options) {
|
|
5704
|
+
return localVarFp.getProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
5705
|
+
},
|
|
5706
|
+
/**
|
|
5707
|
+
* List details of all existing programs.
|
|
5708
|
+
* @summary List programs
|
|
5709
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5710
|
+
* @param {*} [options] Override http request option.
|
|
5711
|
+
* @throws {RequiredError}
|
|
5712
|
+
*/
|
|
5713
|
+
listPrograms(cell, options) {
|
|
5714
|
+
return localVarFp.listPrograms(cell, options).then((request) => request(axios, basePath));
|
|
5715
|
+
},
|
|
5716
|
+
/**
|
|
5717
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
5718
|
+
* @summary Start the program
|
|
5719
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5720
|
+
* @param {string} program
|
|
5721
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
5722
|
+
* @param {*} [options] Override http request option.
|
|
5723
|
+
* @throws {RequiredError}
|
|
5724
|
+
*/
|
|
5725
|
+
startProgram(cell, program, programStartRequest, options) {
|
|
5726
|
+
return localVarFp.startProgram(cell, program, programStartRequest, options).then((request) => request(axios, basePath));
|
|
5727
|
+
},
|
|
5728
|
+
/**
|
|
5729
|
+
* Stop a specific program run.
|
|
5730
|
+
* @summary Stop program run
|
|
5731
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5732
|
+
* @param {string} program
|
|
5733
|
+
* @param {*} [options] Override http request option.
|
|
5734
|
+
* @throws {RequiredError}
|
|
5735
|
+
*/
|
|
5736
|
+
stopProgram(cell, program, options) {
|
|
5737
|
+
return localVarFp.stopProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
5738
|
+
},
|
|
5739
|
+
};
|
|
5740
|
+
};
|
|
5741
|
+
/**
|
|
5742
|
+
* ProgramApi - object-oriented interface
|
|
5743
|
+
* @export
|
|
5744
|
+
* @class ProgramApi
|
|
5745
|
+
* @extends {BaseAPI}
|
|
5746
|
+
*/
|
|
5747
|
+
export class ProgramApi extends BaseAPI {
|
|
5748
|
+
/**
|
|
5749
|
+
* Get details of a program.
|
|
5750
|
+
* @summary Get program
|
|
5751
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5752
|
+
* @param {string} program
|
|
5753
|
+
* @param {*} [options] Override http request option.
|
|
5754
|
+
* @throws {RequiredError}
|
|
5755
|
+
* @memberof ProgramApi
|
|
5756
|
+
*/
|
|
5757
|
+
getProgram(cell, program, options) {
|
|
5758
|
+
return ProgramApiFp(this.configuration).getProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
5759
|
+
}
|
|
5760
|
+
/**
|
|
5761
|
+
* List details of all existing programs.
|
|
5762
|
+
* @summary List programs
|
|
5763
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5764
|
+
* @param {*} [options] Override http request option.
|
|
5765
|
+
* @throws {RequiredError}
|
|
5766
|
+
* @memberof ProgramApi
|
|
5767
|
+
*/
|
|
5768
|
+
listPrograms(cell, options) {
|
|
5769
|
+
return ProgramApiFp(this.configuration).listPrograms(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5770
|
+
}
|
|
5771
|
+
/**
|
|
5772
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
5773
|
+
* @summary Start the program
|
|
5774
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5775
|
+
* @param {string} program
|
|
5776
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
5777
|
+
* @param {*} [options] Override http request option.
|
|
5778
|
+
* @throws {RequiredError}
|
|
5779
|
+
* @memberof ProgramApi
|
|
5780
|
+
*/
|
|
5781
|
+
startProgram(cell, program, programStartRequest, options) {
|
|
5782
|
+
return ProgramApiFp(this.configuration).startProgram(cell, program, programStartRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5783
|
+
}
|
|
5784
|
+
/**
|
|
5785
|
+
* Stop a specific program run.
|
|
5786
|
+
* @summary Stop program run
|
|
5787
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5788
|
+
* @param {string} program
|
|
5789
|
+
* @param {*} [options] Override http request option.
|
|
5790
|
+
* @throws {RequiredError}
|
|
5791
|
+
* @memberof ProgramApi
|
|
5792
|
+
*/
|
|
5793
|
+
stopProgram(cell, program, options) {
|
|
5794
|
+
return ProgramApiFp(this.configuration).stopProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
5795
|
+
}
|
|
5796
|
+
}
|
|
5446
5797
|
/**
|
|
5447
5798
|
* StoreCollisionComponentsApi - axios parameter creator
|
|
5448
5799
|
* @export
|