@wandelbots/nova-api 25.6.0-dev.20 → 25.6.0-dev.22

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/v2/api.ts CHANGED
@@ -1378,7 +1378,7 @@ export interface FloatValue {
1378
1378
  */
1379
1379
  'value': number;
1380
1380
  /**
1381
- * Input/Output floating number representation.
1381
+ *
1382
1382
  * @type {string}
1383
1383
  * @memberof FloatValue
1384
1384
  */
@@ -1522,7 +1522,7 @@ export type IOBooleanValueValueTypeEnum = typeof IOBooleanValueValueTypeEnum[key
1522
1522
  */
1523
1523
  export interface IODescription {
1524
1524
  /**
1525
- * Unique identifier defined by the controller. Identifiers are only defined uniquely per controller, e.g. Inputs/Outputs for two different robots on the same controller can have the same identifier.
1525
+ * Unique identifier of the input/output.
1526
1526
  * @type {string}
1527
1527
  * @memberof IODescription
1528
1528
  */
@@ -1593,7 +1593,7 @@ export type IODirection = typeof IODirection[keyof typeof IODirection];
1593
1593
 
1594
1594
 
1595
1595
  /**
1596
- * Input/Output floating number representation.
1596
+ *
1597
1597
  * @export
1598
1598
  * @interface IOFloatValue
1599
1599
  */
@@ -1625,7 +1625,7 @@ export const IOFloatValueValueTypeEnum = {
1625
1625
  export type IOFloatValueValueTypeEnum = typeof IOFloatValueValueTypeEnum[keyof typeof IOFloatValueValueTypeEnum];
1626
1626
 
1627
1627
  /**
1628
- * Input/Output integer value representation.
1628
+ *
1629
1629
  * @export
1630
1630
  * @interface IOIntegerValue
1631
1631
  */
@@ -1637,7 +1637,7 @@ export interface IOIntegerValue {
1637
1637
  */
1638
1638
  'io': string;
1639
1639
  /**
1640
- * Value of an analog input/output with integer representation. > The integral value is transmitted as a string to avoid precision loss during conversion to JSON. > We recommend to use int64 in your implementation. If you want to interact with int64 in numbers, > there are some JS bigint libraries available to parse the string into an integral value.
1640
+ * Value of an input/output with integer representation. > The integral value is transmitted as a string to avoid precision loss during conversion to JSON. > We recommend to use int64 in your implementation. If you want to interact with int64 in numbers, > JS bigint libraries can help you to parse the string into an integral value.
1641
1641
  * @type {string}
1642
1642
  * @memberof IOIntegerValue
1643
1643
  */
@@ -1906,7 +1906,7 @@ export interface InitializeMovementResponseInitResponse {
1906
1906
  'error_message'?: string;
1907
1907
  }
1908
1908
  /**
1909
- * Value of an analog input/output with integer representation. > The integral value is transmitted as a string to avoid precision loss during conversion to JSON. > We recommend to use int64 in your implementation. If you want to interact with int64 in numbers, > there are some JS bigint libraries available to parse the string into an integral value.
1909
+ * Value of an input/output with integer representation. > The integral value is transmitted as a string to avoid precision loss during conversion to JSON. > We recommend to use int64 in your implementation. If you want to interact with int64 in numbers, > JS bigint libraries can help you to parse the string into an integral value.
1910
1910
  * @export
1911
1911
  * @interface IntegerValue
1912
1912
  */
@@ -4844,7 +4844,7 @@ export type TriggerType = typeof TriggerType[keyof typeof TriggerType];
4844
4844
 
4845
4845
 
4846
4846
  /**
4847
- * The unit of input/outputs value.
4847
+ * The unit of input/output value.
4848
4848
  * @export
4849
4849
  * @enum {string}
4850
4850
  */
@@ -5843,6 +5843,293 @@ export class ApplicationApi extends BaseAPI {
5843
5843
 
5844
5844
 
5845
5845
 
5846
+ /**
5847
+ * BusIOsApi - axios parameter creator
5848
+ * @export
5849
+ */
5850
+ export const BusIOsApiAxiosParamCreator = function (configuration?: Configuration) {
5851
+ return {
5852
+ /**
5853
+ * 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).
5854
+ * @summary Get Input/Output Values
5855
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
5856
+ * @param {Array<string>} [ios]
5857
+ * @param {*} [options] Override http request option.
5858
+ * @throws {RequiredError}
5859
+ */
5860
+ getBusIOValues: async (cell: string, ios?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5861
+ // verify required parameter 'cell' is not null or undefined
5862
+ assertParamExists('getBusIOValues', 'cell', cell)
5863
+ const localVarPath = `/cells/{cell}/bus-ios/ios/values`
5864
+ .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
5865
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5866
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5867
+ let baseOptions;
5868
+ if (configuration) {
5869
+ baseOptions = configuration.baseOptions;
5870
+ }
5871
+
5872
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5873
+ const localVarHeaderParameter = {} as any;
5874
+ const localVarQueryParameter = {} as any;
5875
+
5876
+ // authentication BasicAuth required
5877
+ // http basic authentication required
5878
+ setBasicAuthToObject(localVarRequestOptions, configuration)
5879
+
5880
+ // authentication BearerAuth required
5881
+ // http bearer authentication required
5882
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5883
+
5884
+ if (ios) {
5885
+ localVarQueryParameter['ios'] = ios;
5886
+ }
5887
+
5888
+
5889
+
5890
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5891
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5892
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5893
+
5894
+ return {
5895
+ url: toPathString(localVarUrlObj),
5896
+ options: localVarRequestOptions,
5897
+ };
5898
+ },
5899
+ /**
5900
+ * List all Bus Input/Outputs.
5901
+ * @summary Configuration
5902
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
5903
+ * @param {*} [options] Override http request option.
5904
+ * @throws {RequiredError}
5905
+ */
5906
+ listBusIODescriptions: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5907
+ // verify required parameter 'cell' is not null or undefined
5908
+ assertParamExists('listBusIODescriptions', 'cell', cell)
5909
+ const localVarPath = `/cells/{cell}/bus-ios/ios/description`
5910
+ .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
5911
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5912
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5913
+ let baseOptions;
5914
+ if (configuration) {
5915
+ baseOptions = configuration.baseOptions;
5916
+ }
5917
+
5918
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5919
+ const localVarHeaderParameter = {} as any;
5920
+ const localVarQueryParameter = {} as any;
5921
+
5922
+ // authentication BasicAuth required
5923
+ // http basic authentication required
5924
+ setBasicAuthToObject(localVarRequestOptions, configuration)
5925
+
5926
+ // authentication BearerAuth required
5927
+ // http bearer authentication required
5928
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5929
+
5930
+
5931
+
5932
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5933
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5934
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5935
+
5936
+ return {
5937
+ url: toPathString(localVarUrlObj),
5938
+ options: localVarRequestOptions,
5939
+ };
5940
+ },
5941
+ /**
5942
+ * 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.
5943
+ * @summary Set Output Values
5944
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
5945
+ * @param {Array<IOValue>} iOValue
5946
+ * @param {*} [options] Override http request option.
5947
+ * @throws {RequiredError}
5948
+ */
5949
+ setBusIOValues: async (cell: string, iOValue: Array<IOValue>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5950
+ // verify required parameter 'cell' is not null or undefined
5951
+ assertParamExists('setBusIOValues', 'cell', cell)
5952
+ // verify required parameter 'iOValue' is not null or undefined
5953
+ assertParamExists('setBusIOValues', 'iOValue', iOValue)
5954
+ const localVarPath = `/cells/{cell}/bus-ios/ios/values`
5955
+ .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
5956
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5957
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5958
+ let baseOptions;
5959
+ if (configuration) {
5960
+ baseOptions = configuration.baseOptions;
5961
+ }
5962
+
5963
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5964
+ const localVarHeaderParameter = {} as any;
5965
+ const localVarQueryParameter = {} as any;
5966
+
5967
+ // authentication BasicAuth required
5968
+ // http basic authentication required
5969
+ setBasicAuthToObject(localVarRequestOptions, configuration)
5970
+
5971
+ // authentication BearerAuth required
5972
+ // http bearer authentication required
5973
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5974
+
5975
+
5976
+
5977
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5978
+
5979
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5980
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5981
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5982
+ localVarRequestOptions.data = serializeDataIfNeeded(iOValue, localVarRequestOptions, configuration)
5983
+
5984
+ return {
5985
+ url: toPathString(localVarUrlObj),
5986
+ options: localVarRequestOptions,
5987
+ };
5988
+ },
5989
+ }
5990
+ };
5991
+
5992
+ /**
5993
+ * BusIOsApi - functional programming interface
5994
+ * @export
5995
+ */
5996
+ export const BusIOsApiFp = function(configuration?: Configuration) {
5997
+ const localVarAxiosParamCreator = BusIOsApiAxiosParamCreator(configuration)
5998
+ return {
5999
+ /**
6000
+ * 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).
6001
+ * @summary Get Input/Output Values
6002
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6003
+ * @param {Array<string>} [ios]
6004
+ * @param {*} [options] Override http request option.
6005
+ * @throws {RequiredError}
6006
+ */
6007
+ async getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IOValue>>> {
6008
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBusIOValues(cell, ios, options);
6009
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6010
+ const localVarOperationServerBasePath = operationServerMap['BusIOsApi.getBusIOValues']?.[localVarOperationServerIndex]?.url;
6011
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6012
+ },
6013
+ /**
6014
+ * List all Bus Input/Outputs.
6015
+ * @summary Configuration
6016
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6017
+ * @param {*} [options] Override http request option.
6018
+ * @throws {RequiredError}
6019
+ */
6020
+ async listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IODescription>>> {
6021
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBusIODescriptions(cell, options);
6022
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6023
+ const localVarOperationServerBasePath = operationServerMap['BusIOsApi.listBusIODescriptions']?.[localVarOperationServerIndex]?.url;
6024
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6025
+ },
6026
+ /**
6027
+ * 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.
6028
+ * @summary Set Output Values
6029
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6030
+ * @param {Array<IOValue>} iOValue
6031
+ * @param {*} [options] Override http request option.
6032
+ * @throws {RequiredError}
6033
+ */
6034
+ async setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
6035
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setBusIOValues(cell, iOValue, options);
6036
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6037
+ const localVarOperationServerBasePath = operationServerMap['BusIOsApi.setBusIOValues']?.[localVarOperationServerIndex]?.url;
6038
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6039
+ },
6040
+ }
6041
+ };
6042
+
6043
+ /**
6044
+ * BusIOsApi - factory interface
6045
+ * @export
6046
+ */
6047
+ export const BusIOsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
6048
+ const localVarFp = BusIOsApiFp(configuration)
6049
+ return {
6050
+ /**
6051
+ * 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).
6052
+ * @summary Get Input/Output Values
6053
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6054
+ * @param {Array<string>} [ios]
6055
+ * @param {*} [options] Override http request option.
6056
+ * @throws {RequiredError}
6057
+ */
6058
+ getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<IOValue>> {
6059
+ return localVarFp.getBusIOValues(cell, ios, options).then((request) => request(axios, basePath));
6060
+ },
6061
+ /**
6062
+ * List all Bus Input/Outputs.
6063
+ * @summary Configuration
6064
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6065
+ * @param {*} [options] Override http request option.
6066
+ * @throws {RequiredError}
6067
+ */
6068
+ listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<IODescription>> {
6069
+ return localVarFp.listBusIODescriptions(cell, options).then((request) => request(axios, basePath));
6070
+ },
6071
+ /**
6072
+ * 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.
6073
+ * @summary Set Output Values
6074
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6075
+ * @param {Array<IOValue>} iOValue
6076
+ * @param {*} [options] Override http request option.
6077
+ * @throws {RequiredError}
6078
+ */
6079
+ setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
6080
+ return localVarFp.setBusIOValues(cell, iOValue, options).then((request) => request(axios, basePath));
6081
+ },
6082
+ };
6083
+ };
6084
+
6085
+ /**
6086
+ * BusIOsApi - object-oriented interface
6087
+ * @export
6088
+ * @class BusIOsApi
6089
+ * @extends {BaseAPI}
6090
+ */
6091
+ export class BusIOsApi extends BaseAPI {
6092
+ /**
6093
+ * 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).
6094
+ * @summary Get Input/Output Values
6095
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6096
+ * @param {Array<string>} [ios]
6097
+ * @param {*} [options] Override http request option.
6098
+ * @throws {RequiredError}
6099
+ * @memberof BusIOsApi
6100
+ */
6101
+ public getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig) {
6102
+ return BusIOsApiFp(this.configuration).getBusIOValues(cell, ios, options).then((request) => request(this.axios, this.basePath));
6103
+ }
6104
+
6105
+ /**
6106
+ * List all Bus Input/Outputs.
6107
+ * @summary Configuration
6108
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6109
+ * @param {*} [options] Override http request option.
6110
+ * @throws {RequiredError}
6111
+ * @memberof BusIOsApi
6112
+ */
6113
+ public listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig) {
6114
+ return BusIOsApiFp(this.configuration).listBusIODescriptions(cell, options).then((request) => request(this.axios, this.basePath));
6115
+ }
6116
+
6117
+ /**
6118
+ * 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.
6119
+ * @summary Set Output Values
6120
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6121
+ * @param {Array<IOValue>} iOValue
6122
+ * @param {*} [options] Override http request option.
6123
+ * @throws {RequiredError}
6124
+ * @memberof BusIOsApi
6125
+ */
6126
+ public setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig) {
6127
+ return BusIOsApiFp(this.configuration).setBusIOValues(cell, iOValue, options).then((request) => request(this.axios, this.basePath));
6128
+ }
6129
+ }
6130
+
6131
+
6132
+
5846
6133
  /**
5847
6134
  * CellApi - axios parameter creator
5848
6135
  * @export