@wandelbots/nova-api 25.6.0-dev.37 → 25.6.0-dev.38
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 +0 -133
- package/v2/api.js +0 -256
- package/v2/api.js.map +1 -1
- package/v2/api.ts +0 -287
package/v2/api.ts
CHANGED
|
@@ -5520,293 +5520,6 @@ export class ApplicationApi extends BaseAPI {
|
|
|
5520
5520
|
|
|
5521
5521
|
|
|
5522
5522
|
|
|
5523
|
-
/**
|
|
5524
|
-
* BusIOsApi - axios parameter creator
|
|
5525
|
-
* @export
|
|
5526
|
-
*/
|
|
5527
|
-
export const BusIOsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5528
|
-
return {
|
|
5529
|
-
/**
|
|
5530
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
5531
|
-
* @summary Get Input/Output Values
|
|
5532
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5533
|
-
* @param {Array<string>} [ios]
|
|
5534
|
-
* @param {*} [options] Override http request option.
|
|
5535
|
-
* @throws {RequiredError}
|
|
5536
|
-
*/
|
|
5537
|
-
getBusIOValues: async (cell: string, ios?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5538
|
-
// verify required parameter 'cell' is not null or undefined
|
|
5539
|
-
assertParamExists('getBusIOValues', 'cell', cell)
|
|
5540
|
-
const localVarPath = `/cells/{cell}/bus-ios/ios/values`
|
|
5541
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5542
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5543
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5544
|
-
let baseOptions;
|
|
5545
|
-
if (configuration) {
|
|
5546
|
-
baseOptions = configuration.baseOptions;
|
|
5547
|
-
}
|
|
5548
|
-
|
|
5549
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5550
|
-
const localVarHeaderParameter = {} as any;
|
|
5551
|
-
const localVarQueryParameter = {} as any;
|
|
5552
|
-
|
|
5553
|
-
// authentication BasicAuth required
|
|
5554
|
-
// http basic authentication required
|
|
5555
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
5556
|
-
|
|
5557
|
-
// authentication BearerAuth required
|
|
5558
|
-
// http bearer authentication required
|
|
5559
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5560
|
-
|
|
5561
|
-
if (ios) {
|
|
5562
|
-
localVarQueryParameter['ios'] = ios;
|
|
5563
|
-
}
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5568
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5569
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5570
|
-
|
|
5571
|
-
return {
|
|
5572
|
-
url: toPathString(localVarUrlObj),
|
|
5573
|
-
options: localVarRequestOptions,
|
|
5574
|
-
};
|
|
5575
|
-
},
|
|
5576
|
-
/**
|
|
5577
|
-
* List all Bus Input/Outputs.
|
|
5578
|
-
* @summary Configuration
|
|
5579
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5580
|
-
* @param {*} [options] Override http request option.
|
|
5581
|
-
* @throws {RequiredError}
|
|
5582
|
-
*/
|
|
5583
|
-
listBusIODescriptions: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5584
|
-
// verify required parameter 'cell' is not null or undefined
|
|
5585
|
-
assertParamExists('listBusIODescriptions', 'cell', cell)
|
|
5586
|
-
const localVarPath = `/cells/{cell}/bus-ios/ios/description`
|
|
5587
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5588
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5589
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5590
|
-
let baseOptions;
|
|
5591
|
-
if (configuration) {
|
|
5592
|
-
baseOptions = configuration.baseOptions;
|
|
5593
|
-
}
|
|
5594
|
-
|
|
5595
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5596
|
-
const localVarHeaderParameter = {} as any;
|
|
5597
|
-
const localVarQueryParameter = {} as any;
|
|
5598
|
-
|
|
5599
|
-
// authentication BasicAuth required
|
|
5600
|
-
// http basic authentication required
|
|
5601
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
5602
|
-
|
|
5603
|
-
// authentication BearerAuth required
|
|
5604
|
-
// http bearer authentication required
|
|
5605
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5610
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5611
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5612
|
-
|
|
5613
|
-
return {
|
|
5614
|
-
url: toPathString(localVarUrlObj),
|
|
5615
|
-
options: localVarRequestOptions,
|
|
5616
|
-
};
|
|
5617
|
-
},
|
|
5618
|
-
/**
|
|
5619
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
5620
|
-
* @summary Set Output Values
|
|
5621
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5622
|
-
* @param {Array<IOValue>} iOValue
|
|
5623
|
-
* @param {*} [options] Override http request option.
|
|
5624
|
-
* @throws {RequiredError}
|
|
5625
|
-
*/
|
|
5626
|
-
setBusIOValues: async (cell: string, iOValue: Array<IOValue>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5627
|
-
// verify required parameter 'cell' is not null or undefined
|
|
5628
|
-
assertParamExists('setBusIOValues', 'cell', cell)
|
|
5629
|
-
// verify required parameter 'iOValue' is not null or undefined
|
|
5630
|
-
assertParamExists('setBusIOValues', 'iOValue', iOValue)
|
|
5631
|
-
const localVarPath = `/cells/{cell}/bus-ios/ios/values`
|
|
5632
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
5633
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5634
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5635
|
-
let baseOptions;
|
|
5636
|
-
if (configuration) {
|
|
5637
|
-
baseOptions = configuration.baseOptions;
|
|
5638
|
-
}
|
|
5639
|
-
|
|
5640
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
5641
|
-
const localVarHeaderParameter = {} as any;
|
|
5642
|
-
const localVarQueryParameter = {} as any;
|
|
5643
|
-
|
|
5644
|
-
// authentication BasicAuth required
|
|
5645
|
-
// http basic authentication required
|
|
5646
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
5647
|
-
|
|
5648
|
-
// authentication BearerAuth required
|
|
5649
|
-
// http bearer authentication required
|
|
5650
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5655
|
-
|
|
5656
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5657
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5658
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5659
|
-
localVarRequestOptions.data = serializeDataIfNeeded(iOValue, localVarRequestOptions, configuration)
|
|
5660
|
-
|
|
5661
|
-
return {
|
|
5662
|
-
url: toPathString(localVarUrlObj),
|
|
5663
|
-
options: localVarRequestOptions,
|
|
5664
|
-
};
|
|
5665
|
-
},
|
|
5666
|
-
}
|
|
5667
|
-
};
|
|
5668
|
-
|
|
5669
|
-
/**
|
|
5670
|
-
* BusIOsApi - functional programming interface
|
|
5671
|
-
* @export
|
|
5672
|
-
*/
|
|
5673
|
-
export const BusIOsApiFp = function(configuration?: Configuration) {
|
|
5674
|
-
const localVarAxiosParamCreator = BusIOsApiAxiosParamCreator(configuration)
|
|
5675
|
-
return {
|
|
5676
|
-
/**
|
|
5677
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
5678
|
-
* @summary Get Input/Output Values
|
|
5679
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5680
|
-
* @param {Array<string>} [ios]
|
|
5681
|
-
* @param {*} [options] Override http request option.
|
|
5682
|
-
* @throws {RequiredError}
|
|
5683
|
-
*/
|
|
5684
|
-
async getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IOValue>>> {
|
|
5685
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusIOValues(cell, ios, options);
|
|
5686
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5687
|
-
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.getBusIOValues']?.[localVarOperationServerIndex]?.url;
|
|
5688
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5689
|
-
},
|
|
5690
|
-
/**
|
|
5691
|
-
* List all Bus Input/Outputs.
|
|
5692
|
-
* @summary Configuration
|
|
5693
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5694
|
-
* @param {*} [options] Override http request option.
|
|
5695
|
-
* @throws {RequiredError}
|
|
5696
|
-
*/
|
|
5697
|
-
async listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IODescription>>> {
|
|
5698
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBusIODescriptions(cell, options);
|
|
5699
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5700
|
-
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.listBusIODescriptions']?.[localVarOperationServerIndex]?.url;
|
|
5701
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5702
|
-
},
|
|
5703
|
-
/**
|
|
5704
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
5705
|
-
* @summary Set Output Values
|
|
5706
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5707
|
-
* @param {Array<IOValue>} iOValue
|
|
5708
|
-
* @param {*} [options] Override http request option.
|
|
5709
|
-
* @throws {RequiredError}
|
|
5710
|
-
*/
|
|
5711
|
-
async setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
5712
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setBusIOValues(cell, iOValue, options);
|
|
5713
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5714
|
-
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.setBusIOValues']?.[localVarOperationServerIndex]?.url;
|
|
5715
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5716
|
-
},
|
|
5717
|
-
}
|
|
5718
|
-
};
|
|
5719
|
-
|
|
5720
|
-
/**
|
|
5721
|
-
* BusIOsApi - factory interface
|
|
5722
|
-
* @export
|
|
5723
|
-
*/
|
|
5724
|
-
export const BusIOsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5725
|
-
const localVarFp = BusIOsApiFp(configuration)
|
|
5726
|
-
return {
|
|
5727
|
-
/**
|
|
5728
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
5729
|
-
* @summary Get Input/Output Values
|
|
5730
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5731
|
-
* @param {Array<string>} [ios]
|
|
5732
|
-
* @param {*} [options] Override http request option.
|
|
5733
|
-
* @throws {RequiredError}
|
|
5734
|
-
*/
|
|
5735
|
-
getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<IOValue>> {
|
|
5736
|
-
return localVarFp.getBusIOValues(cell, ios, options).then((request) => request(axios, basePath));
|
|
5737
|
-
},
|
|
5738
|
-
/**
|
|
5739
|
-
* List all Bus Input/Outputs.
|
|
5740
|
-
* @summary Configuration
|
|
5741
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5742
|
-
* @param {*} [options] Override http request option.
|
|
5743
|
-
* @throws {RequiredError}
|
|
5744
|
-
*/
|
|
5745
|
-
listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<IODescription>> {
|
|
5746
|
-
return localVarFp.listBusIODescriptions(cell, options).then((request) => request(axios, basePath));
|
|
5747
|
-
},
|
|
5748
|
-
/**
|
|
5749
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
5750
|
-
* @summary Set Output Values
|
|
5751
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5752
|
-
* @param {Array<IOValue>} iOValue
|
|
5753
|
-
* @param {*} [options] Override http request option.
|
|
5754
|
-
* @throws {RequiredError}
|
|
5755
|
-
*/
|
|
5756
|
-
setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
5757
|
-
return localVarFp.setBusIOValues(cell, iOValue, options).then((request) => request(axios, basePath));
|
|
5758
|
-
},
|
|
5759
|
-
};
|
|
5760
|
-
};
|
|
5761
|
-
|
|
5762
|
-
/**
|
|
5763
|
-
* BusIOsApi - object-oriented interface
|
|
5764
|
-
* @export
|
|
5765
|
-
* @class BusIOsApi
|
|
5766
|
-
* @extends {BaseAPI}
|
|
5767
|
-
*/
|
|
5768
|
-
export class BusIOsApi extends BaseAPI {
|
|
5769
|
-
/**
|
|
5770
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
5771
|
-
* @summary Get Input/Output Values
|
|
5772
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5773
|
-
* @param {Array<string>} [ios]
|
|
5774
|
-
* @param {*} [options] Override http request option.
|
|
5775
|
-
* @throws {RequiredError}
|
|
5776
|
-
* @memberof BusIOsApi
|
|
5777
|
-
*/
|
|
5778
|
-
public getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
5779
|
-
return BusIOsApiFp(this.configuration).getBusIOValues(cell, ios, options).then((request) => request(this.axios, this.basePath));
|
|
5780
|
-
}
|
|
5781
|
-
|
|
5782
|
-
/**
|
|
5783
|
-
* List all Bus Input/Outputs.
|
|
5784
|
-
* @summary Configuration
|
|
5785
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5786
|
-
* @param {*} [options] Override http request option.
|
|
5787
|
-
* @throws {RequiredError}
|
|
5788
|
-
* @memberof BusIOsApi
|
|
5789
|
-
*/
|
|
5790
|
-
public listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig) {
|
|
5791
|
-
return BusIOsApiFp(this.configuration).listBusIODescriptions(cell, options).then((request) => request(this.axios, this.basePath));
|
|
5792
|
-
}
|
|
5793
|
-
|
|
5794
|
-
/**
|
|
5795
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
5796
|
-
* @summary Set Output Values
|
|
5797
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5798
|
-
* @param {Array<IOValue>} iOValue
|
|
5799
|
-
* @param {*} [options] Override http request option.
|
|
5800
|
-
* @throws {RequiredError}
|
|
5801
|
-
* @memberof BusIOsApi
|
|
5802
|
-
*/
|
|
5803
|
-
public setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig) {
|
|
5804
|
-
return BusIOsApiFp(this.configuration).setBusIOValues(cell, iOValue, options).then((request) => request(this.axios, this.basePath));
|
|
5805
|
-
}
|
|
5806
|
-
}
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
5523
|
/**
|
|
5811
5524
|
* CellApi - axios parameter creator
|
|
5812
5525
|
* @export
|