@wandelbots/nova-api 25.6.0-dev.21 → 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/package.json +1 -1
- package/v2/api.d.ts +140 -7
- package/v2/api.js +257 -1
- package/v2/api.js.map +1 -1
- package/v2/api.ts +294 -7
package/package.json
CHANGED
package/v2/api.d.ts
CHANGED
|
@@ -1338,7 +1338,7 @@ export interface FloatValue {
|
|
|
1338
1338
|
*/
|
|
1339
1339
|
'value': number;
|
|
1340
1340
|
/**
|
|
1341
|
-
*
|
|
1341
|
+
*
|
|
1342
1342
|
* @type {string}
|
|
1343
1343
|
* @memberof FloatValue
|
|
1344
1344
|
*/
|
|
@@ -1474,7 +1474,7 @@ export type IOBooleanValueValueTypeEnum = typeof IOBooleanValueValueTypeEnum[key
|
|
|
1474
1474
|
*/
|
|
1475
1475
|
export interface IODescription {
|
|
1476
1476
|
/**
|
|
1477
|
-
* Unique identifier
|
|
1477
|
+
* Unique identifier of the input/output.
|
|
1478
1478
|
* @type {string}
|
|
1479
1479
|
* @memberof IODescription
|
|
1480
1480
|
*/
|
|
@@ -1544,7 +1544,7 @@ export declare const IODirection: {
|
|
|
1544
1544
|
};
|
|
1545
1545
|
export type IODirection = typeof IODirection[keyof typeof IODirection];
|
|
1546
1546
|
/**
|
|
1547
|
-
*
|
|
1547
|
+
*
|
|
1548
1548
|
* @export
|
|
1549
1549
|
* @interface IOFloatValue
|
|
1550
1550
|
*/
|
|
@@ -1573,7 +1573,7 @@ export declare const IOFloatValueValueTypeEnum: {
|
|
|
1573
1573
|
};
|
|
1574
1574
|
export type IOFloatValueValueTypeEnum = typeof IOFloatValueValueTypeEnum[keyof typeof IOFloatValueValueTypeEnum];
|
|
1575
1575
|
/**
|
|
1576
|
-
*
|
|
1576
|
+
*
|
|
1577
1577
|
* @export
|
|
1578
1578
|
* @interface IOIntegerValue
|
|
1579
1579
|
*/
|
|
@@ -1585,7 +1585,7 @@ export interface IOIntegerValue {
|
|
|
1585
1585
|
*/
|
|
1586
1586
|
'io': string;
|
|
1587
1587
|
/**
|
|
1588
|
-
* Value of an
|
|
1588
|
+
* 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.
|
|
1589
1589
|
* @type {string}
|
|
1590
1590
|
* @memberof IOIntegerValue
|
|
1591
1591
|
*/
|
|
@@ -1849,7 +1849,7 @@ export interface InitializeMovementResponseInitResponse {
|
|
|
1849
1849
|
'error_message'?: string;
|
|
1850
1850
|
}
|
|
1851
1851
|
/**
|
|
1852
|
-
* Value of an
|
|
1852
|
+
* 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.
|
|
1853
1853
|
* @export
|
|
1854
1854
|
* @interface IntegerValue
|
|
1855
1855
|
*/
|
|
@@ -4653,7 +4653,7 @@ export declare const TriggerType: {
|
|
|
4653
4653
|
};
|
|
4654
4654
|
export type TriggerType = typeof TriggerType[keyof typeof TriggerType];
|
|
4655
4655
|
/**
|
|
4656
|
-
* The unit of input/
|
|
4656
|
+
* The unit of input/output value.
|
|
4657
4657
|
* @export
|
|
4658
4658
|
* @enum {string}
|
|
4659
4659
|
*/
|
|
@@ -5317,6 +5317,139 @@ export declare class ApplicationApi extends BaseAPI {
|
|
|
5317
5317
|
*/
|
|
5318
5318
|
updateApp(cell: string, app: string, app2: App, completionTimeout?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
5319
5319
|
}
|
|
5320
|
+
/**
|
|
5321
|
+
* BusIOsApi - axios parameter creator
|
|
5322
|
+
* @export
|
|
5323
|
+
*/
|
|
5324
|
+
export declare const BusIOsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5325
|
+
/**
|
|
5326
|
+
* 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).
|
|
5327
|
+
* @summary Get Input/Output Values
|
|
5328
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5329
|
+
* @param {Array<string>} [ios]
|
|
5330
|
+
* @param {*} [options] Override http request option.
|
|
5331
|
+
* @throws {RequiredError}
|
|
5332
|
+
*/
|
|
5333
|
+
getBusIOValues: (cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5334
|
+
/**
|
|
5335
|
+
* List all Bus Input/Outputs.
|
|
5336
|
+
* @summary Configuration
|
|
5337
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5338
|
+
* @param {*} [options] Override http request option.
|
|
5339
|
+
* @throws {RequiredError}
|
|
5340
|
+
*/
|
|
5341
|
+
listBusIODescriptions: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5342
|
+
/**
|
|
5343
|
+
* 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.
|
|
5344
|
+
* @summary Set Output Values
|
|
5345
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5346
|
+
* @param {Array<IOValue>} iOValue
|
|
5347
|
+
* @param {*} [options] Override http request option.
|
|
5348
|
+
* @throws {RequiredError}
|
|
5349
|
+
*/
|
|
5350
|
+
setBusIOValues: (cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5351
|
+
};
|
|
5352
|
+
/**
|
|
5353
|
+
* BusIOsApi - functional programming interface
|
|
5354
|
+
* @export
|
|
5355
|
+
*/
|
|
5356
|
+
export declare const BusIOsApiFp: (configuration?: Configuration) => {
|
|
5357
|
+
/**
|
|
5358
|
+
* 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).
|
|
5359
|
+
* @summary Get Input/Output Values
|
|
5360
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5361
|
+
* @param {Array<string>} [ios]
|
|
5362
|
+
* @param {*} [options] Override http request option.
|
|
5363
|
+
* @throws {RequiredError}
|
|
5364
|
+
*/
|
|
5365
|
+
getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IOValue>>>;
|
|
5366
|
+
/**
|
|
5367
|
+
* List all Bus Input/Outputs.
|
|
5368
|
+
* @summary Configuration
|
|
5369
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5370
|
+
* @param {*} [options] Override http request option.
|
|
5371
|
+
* @throws {RequiredError}
|
|
5372
|
+
*/
|
|
5373
|
+
listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IODescription>>>;
|
|
5374
|
+
/**
|
|
5375
|
+
* 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.
|
|
5376
|
+
* @summary Set Output Values
|
|
5377
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5378
|
+
* @param {Array<IOValue>} iOValue
|
|
5379
|
+
* @param {*} [options] Override http request option.
|
|
5380
|
+
* @throws {RequiredError}
|
|
5381
|
+
*/
|
|
5382
|
+
setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5383
|
+
};
|
|
5384
|
+
/**
|
|
5385
|
+
* BusIOsApi - factory interface
|
|
5386
|
+
* @export
|
|
5387
|
+
*/
|
|
5388
|
+
export declare const BusIOsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5389
|
+
/**
|
|
5390
|
+
* 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).
|
|
5391
|
+
* @summary Get Input/Output Values
|
|
5392
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5393
|
+
* @param {Array<string>} [ios]
|
|
5394
|
+
* @param {*} [options] Override http request option.
|
|
5395
|
+
* @throws {RequiredError}
|
|
5396
|
+
*/
|
|
5397
|
+
getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<IOValue>>;
|
|
5398
|
+
/**
|
|
5399
|
+
* List all Bus Input/Outputs.
|
|
5400
|
+
* @summary Configuration
|
|
5401
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5402
|
+
* @param {*} [options] Override http request option.
|
|
5403
|
+
* @throws {RequiredError}
|
|
5404
|
+
*/
|
|
5405
|
+
listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<IODescription>>;
|
|
5406
|
+
/**
|
|
5407
|
+
* 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.
|
|
5408
|
+
* @summary Set Output Values
|
|
5409
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5410
|
+
* @param {Array<IOValue>} iOValue
|
|
5411
|
+
* @param {*} [options] Override http request option.
|
|
5412
|
+
* @throws {RequiredError}
|
|
5413
|
+
*/
|
|
5414
|
+
setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
5415
|
+
};
|
|
5416
|
+
/**
|
|
5417
|
+
* BusIOsApi - object-oriented interface
|
|
5418
|
+
* @export
|
|
5419
|
+
* @class BusIOsApi
|
|
5420
|
+
* @extends {BaseAPI}
|
|
5421
|
+
*/
|
|
5422
|
+
export declare class BusIOsApi extends BaseAPI {
|
|
5423
|
+
/**
|
|
5424
|
+
* 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).
|
|
5425
|
+
* @summary Get Input/Output Values
|
|
5426
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5427
|
+
* @param {Array<string>} [ios]
|
|
5428
|
+
* @param {*} [options] Override http request option.
|
|
5429
|
+
* @throws {RequiredError}
|
|
5430
|
+
* @memberof BusIOsApi
|
|
5431
|
+
*/
|
|
5432
|
+
getBusIOValues(cell: string, ios?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOValue[], any>>;
|
|
5433
|
+
/**
|
|
5434
|
+
* List all Bus Input/Outputs.
|
|
5435
|
+
* @summary Configuration
|
|
5436
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5437
|
+
* @param {*} [options] Override http request option.
|
|
5438
|
+
* @throws {RequiredError}
|
|
5439
|
+
* @memberof BusIOsApi
|
|
5440
|
+
*/
|
|
5441
|
+
listBusIODescriptions(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IODescription[], any>>;
|
|
5442
|
+
/**
|
|
5443
|
+
* 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.
|
|
5444
|
+
* @summary Set Output Values
|
|
5445
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5446
|
+
* @param {Array<IOValue>} iOValue
|
|
5447
|
+
* @param {*} [options] Override http request option.
|
|
5448
|
+
* @throws {RequiredError}
|
|
5449
|
+
* @memberof BusIOsApi
|
|
5450
|
+
*/
|
|
5451
|
+
setBusIOValues(cell: string, iOValue: Array<IOValue>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
5452
|
+
}
|
|
5320
5453
|
/**
|
|
5321
5454
|
* CellApi - axios parameter creator
|
|
5322
5455
|
* @export
|
package/v2/api.js
CHANGED
|
@@ -407,7 +407,7 @@ export const TriggerType = {
|
|
|
407
407
|
OpcuaNodeValue: 'opcua_node_value'
|
|
408
408
|
};
|
|
409
409
|
/**
|
|
410
|
-
* The unit of input/
|
|
410
|
+
* The unit of input/output value.
|
|
411
411
|
* @export
|
|
412
412
|
* @enum {string}
|
|
413
413
|
*/
|
|
@@ -1058,6 +1058,262 @@ export class ApplicationApi extends BaseAPI {
|
|
|
1058
1058
|
return ApplicationApiFp(this.configuration).updateApp(cell, app, app2, completionTimeout, options).then((request) => request(this.axios, this.basePath));
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
|
+
/**
|
|
1062
|
+
* BusIOsApi - axios parameter creator
|
|
1063
|
+
* @export
|
|
1064
|
+
*/
|
|
1065
|
+
export const BusIOsApiAxiosParamCreator = function (configuration) {
|
|
1066
|
+
return {
|
|
1067
|
+
/**
|
|
1068
|
+
* 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).
|
|
1069
|
+
* @summary Get Input/Output Values
|
|
1070
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1071
|
+
* @param {Array<string>} [ios]
|
|
1072
|
+
* @param {*} [options] Override http request option.
|
|
1073
|
+
* @throws {RequiredError}
|
|
1074
|
+
*/
|
|
1075
|
+
getBusIOValues: async (cell, ios, options = {}) => {
|
|
1076
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1077
|
+
assertParamExists('getBusIOValues', 'cell', cell);
|
|
1078
|
+
const localVarPath = `/cells/{cell}/bus-ios/ios/values`
|
|
1079
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1080
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1081
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1082
|
+
let baseOptions;
|
|
1083
|
+
if (configuration) {
|
|
1084
|
+
baseOptions = configuration.baseOptions;
|
|
1085
|
+
}
|
|
1086
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1087
|
+
const localVarHeaderParameter = {};
|
|
1088
|
+
const localVarQueryParameter = {};
|
|
1089
|
+
// authentication BasicAuth required
|
|
1090
|
+
// http basic authentication required
|
|
1091
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1092
|
+
// authentication BearerAuth required
|
|
1093
|
+
// http bearer authentication required
|
|
1094
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1095
|
+
if (ios) {
|
|
1096
|
+
localVarQueryParameter['ios'] = ios;
|
|
1097
|
+
}
|
|
1098
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1099
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1100
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1101
|
+
return {
|
|
1102
|
+
url: toPathString(localVarUrlObj),
|
|
1103
|
+
options: localVarRequestOptions,
|
|
1104
|
+
};
|
|
1105
|
+
},
|
|
1106
|
+
/**
|
|
1107
|
+
* List all Bus Input/Outputs.
|
|
1108
|
+
* @summary Configuration
|
|
1109
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1110
|
+
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @throws {RequiredError}
|
|
1112
|
+
*/
|
|
1113
|
+
listBusIODescriptions: async (cell, options = {}) => {
|
|
1114
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1115
|
+
assertParamExists('listBusIODescriptions', 'cell', cell);
|
|
1116
|
+
const localVarPath = `/cells/{cell}/bus-ios/ios/description`
|
|
1117
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1118
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1119
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1120
|
+
let baseOptions;
|
|
1121
|
+
if (configuration) {
|
|
1122
|
+
baseOptions = configuration.baseOptions;
|
|
1123
|
+
}
|
|
1124
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1125
|
+
const localVarHeaderParameter = {};
|
|
1126
|
+
const localVarQueryParameter = {};
|
|
1127
|
+
// authentication BasicAuth required
|
|
1128
|
+
// http basic authentication required
|
|
1129
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1130
|
+
// authentication BearerAuth required
|
|
1131
|
+
// http bearer authentication required
|
|
1132
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1135
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1136
|
+
return {
|
|
1137
|
+
url: toPathString(localVarUrlObj),
|
|
1138
|
+
options: localVarRequestOptions,
|
|
1139
|
+
};
|
|
1140
|
+
},
|
|
1141
|
+
/**
|
|
1142
|
+
* 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.
|
|
1143
|
+
* @summary Set Output Values
|
|
1144
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1145
|
+
* @param {Array<IOValue>} iOValue
|
|
1146
|
+
* @param {*} [options] Override http request option.
|
|
1147
|
+
* @throws {RequiredError}
|
|
1148
|
+
*/
|
|
1149
|
+
setBusIOValues: async (cell, iOValue, options = {}) => {
|
|
1150
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1151
|
+
assertParamExists('setBusIOValues', 'cell', cell);
|
|
1152
|
+
// verify required parameter 'iOValue' is not null or undefined
|
|
1153
|
+
assertParamExists('setBusIOValues', 'iOValue', iOValue);
|
|
1154
|
+
const localVarPath = `/cells/{cell}/bus-ios/ios/values`
|
|
1155
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1156
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1157
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1158
|
+
let baseOptions;
|
|
1159
|
+
if (configuration) {
|
|
1160
|
+
baseOptions = configuration.baseOptions;
|
|
1161
|
+
}
|
|
1162
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1163
|
+
const localVarHeaderParameter = {};
|
|
1164
|
+
const localVarQueryParameter = {};
|
|
1165
|
+
// authentication BasicAuth required
|
|
1166
|
+
// http basic authentication required
|
|
1167
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1168
|
+
// authentication BearerAuth required
|
|
1169
|
+
// http bearer authentication required
|
|
1170
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1171
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1174
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1175
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iOValue, localVarRequestOptions, configuration);
|
|
1176
|
+
return {
|
|
1177
|
+
url: toPathString(localVarUrlObj),
|
|
1178
|
+
options: localVarRequestOptions,
|
|
1179
|
+
};
|
|
1180
|
+
},
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* BusIOsApi - functional programming interface
|
|
1185
|
+
* @export
|
|
1186
|
+
*/
|
|
1187
|
+
export const BusIOsApiFp = function (configuration) {
|
|
1188
|
+
const localVarAxiosParamCreator = BusIOsApiAxiosParamCreator(configuration);
|
|
1189
|
+
return {
|
|
1190
|
+
/**
|
|
1191
|
+
* 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).
|
|
1192
|
+
* @summary Get Input/Output Values
|
|
1193
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1194
|
+
* @param {Array<string>} [ios]
|
|
1195
|
+
* @param {*} [options] Override http request option.
|
|
1196
|
+
* @throws {RequiredError}
|
|
1197
|
+
*/
|
|
1198
|
+
async getBusIOValues(cell, ios, options) {
|
|
1199
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusIOValues(cell, ios, options);
|
|
1200
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1201
|
+
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.getBusIOValues']?.[localVarOperationServerIndex]?.url;
|
|
1202
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1203
|
+
},
|
|
1204
|
+
/**
|
|
1205
|
+
* List all Bus Input/Outputs.
|
|
1206
|
+
* @summary Configuration
|
|
1207
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1208
|
+
* @param {*} [options] Override http request option.
|
|
1209
|
+
* @throws {RequiredError}
|
|
1210
|
+
*/
|
|
1211
|
+
async listBusIODescriptions(cell, options) {
|
|
1212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBusIODescriptions(cell, options);
|
|
1213
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1214
|
+
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.listBusIODescriptions']?.[localVarOperationServerIndex]?.url;
|
|
1215
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1216
|
+
},
|
|
1217
|
+
/**
|
|
1218
|
+
* 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.
|
|
1219
|
+
* @summary Set Output Values
|
|
1220
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1221
|
+
* @param {Array<IOValue>} iOValue
|
|
1222
|
+
* @param {*} [options] Override http request option.
|
|
1223
|
+
* @throws {RequiredError}
|
|
1224
|
+
*/
|
|
1225
|
+
async setBusIOValues(cell, iOValue, options) {
|
|
1226
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setBusIOValues(cell, iOValue, options);
|
|
1227
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1228
|
+
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.setBusIOValues']?.[localVarOperationServerIndex]?.url;
|
|
1229
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1230
|
+
},
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
/**
|
|
1234
|
+
* BusIOsApi - factory interface
|
|
1235
|
+
* @export
|
|
1236
|
+
*/
|
|
1237
|
+
export const BusIOsApiFactory = function (configuration, basePath, axios) {
|
|
1238
|
+
const localVarFp = BusIOsApiFp(configuration);
|
|
1239
|
+
return {
|
|
1240
|
+
/**
|
|
1241
|
+
* 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).
|
|
1242
|
+
* @summary Get Input/Output Values
|
|
1243
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1244
|
+
* @param {Array<string>} [ios]
|
|
1245
|
+
* @param {*} [options] Override http request option.
|
|
1246
|
+
* @throws {RequiredError}
|
|
1247
|
+
*/
|
|
1248
|
+
getBusIOValues(cell, ios, options) {
|
|
1249
|
+
return localVarFp.getBusIOValues(cell, ios, options).then((request) => request(axios, basePath));
|
|
1250
|
+
},
|
|
1251
|
+
/**
|
|
1252
|
+
* List all Bus Input/Outputs.
|
|
1253
|
+
* @summary Configuration
|
|
1254
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1255
|
+
* @param {*} [options] Override http request option.
|
|
1256
|
+
* @throws {RequiredError}
|
|
1257
|
+
*/
|
|
1258
|
+
listBusIODescriptions(cell, options) {
|
|
1259
|
+
return localVarFp.listBusIODescriptions(cell, options).then((request) => request(axios, basePath));
|
|
1260
|
+
},
|
|
1261
|
+
/**
|
|
1262
|
+
* 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.
|
|
1263
|
+
* @summary Set Output Values
|
|
1264
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1265
|
+
* @param {Array<IOValue>} iOValue
|
|
1266
|
+
* @param {*} [options] Override http request option.
|
|
1267
|
+
* @throws {RequiredError}
|
|
1268
|
+
*/
|
|
1269
|
+
setBusIOValues(cell, iOValue, options) {
|
|
1270
|
+
return localVarFp.setBusIOValues(cell, iOValue, options).then((request) => request(axios, basePath));
|
|
1271
|
+
},
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* BusIOsApi - object-oriented interface
|
|
1276
|
+
* @export
|
|
1277
|
+
* @class BusIOsApi
|
|
1278
|
+
* @extends {BaseAPI}
|
|
1279
|
+
*/
|
|
1280
|
+
export class BusIOsApi extends BaseAPI {
|
|
1281
|
+
/**
|
|
1282
|
+
* 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).
|
|
1283
|
+
* @summary Get Input/Output Values
|
|
1284
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1285
|
+
* @param {Array<string>} [ios]
|
|
1286
|
+
* @param {*} [options] Override http request option.
|
|
1287
|
+
* @throws {RequiredError}
|
|
1288
|
+
* @memberof BusIOsApi
|
|
1289
|
+
*/
|
|
1290
|
+
getBusIOValues(cell, ios, options) {
|
|
1291
|
+
return BusIOsApiFp(this.configuration).getBusIOValues(cell, ios, options).then((request) => request(this.axios, this.basePath));
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* List all Bus Input/Outputs.
|
|
1295
|
+
* @summary Configuration
|
|
1296
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1297
|
+
* @param {*} [options] Override http request option.
|
|
1298
|
+
* @throws {RequiredError}
|
|
1299
|
+
* @memberof BusIOsApi
|
|
1300
|
+
*/
|
|
1301
|
+
listBusIODescriptions(cell, options) {
|
|
1302
|
+
return BusIOsApiFp(this.configuration).listBusIODescriptions(cell, options).then((request) => request(this.axios, this.basePath));
|
|
1303
|
+
}
|
|
1304
|
+
/**
|
|
1305
|
+
* 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.
|
|
1306
|
+
* @summary Set Output Values
|
|
1307
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1308
|
+
* @param {Array<IOValue>} iOValue
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
* @memberof BusIOsApi
|
|
1312
|
+
*/
|
|
1313
|
+
setBusIOValues(cell, iOValue, options) {
|
|
1314
|
+
return BusIOsApiFp(this.configuration).setBusIOValues(cell, iOValue, options).then((request) => request(this.axios, this.basePath));
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1061
1317
|
/**
|
|
1062
1318
|
* CellApi - axios parameter creator
|
|
1063
1319
|
* @export
|