@wandelbots/nova-api 25.6.0-dev.36 → 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/v2/api.js CHANGED
@@ -1103,262 +1103,6 @@ export class ApplicationApi extends BaseAPI {
1103
1103
  return ApplicationApiFp(this.configuration).updateApp(cell, app, app2, completionTimeout, options).then((request) => request(this.axios, this.basePath));
1104
1104
  }
1105
1105
  }
1106
- /**
1107
- * BusIOsApi - axios parameter creator
1108
- * @export
1109
- */
1110
- export const BusIOsApiAxiosParamCreator = function (configuration) {
1111
- return {
1112
- /**
1113
- * 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).
1114
- * @summary Get Input/Output Values
1115
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1116
- * @param {Array<string>} [ios]
1117
- * @param {*} [options] Override http request option.
1118
- * @throws {RequiredError}
1119
- */
1120
- getBusIOValues: async (cell, ios, options = {}) => {
1121
- // verify required parameter 'cell' is not null or undefined
1122
- assertParamExists('getBusIOValues', 'cell', cell);
1123
- const localVarPath = `/cells/{cell}/bus-ios/ios/values`
1124
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
1125
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1126
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1127
- let baseOptions;
1128
- if (configuration) {
1129
- baseOptions = configuration.baseOptions;
1130
- }
1131
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1132
- const localVarHeaderParameter = {};
1133
- const localVarQueryParameter = {};
1134
- // authentication BasicAuth required
1135
- // http basic authentication required
1136
- setBasicAuthToObject(localVarRequestOptions, configuration);
1137
- // authentication BearerAuth required
1138
- // http bearer authentication required
1139
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
1140
- if (ios) {
1141
- localVarQueryParameter['ios'] = ios;
1142
- }
1143
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1144
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1145
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1146
- return {
1147
- url: toPathString(localVarUrlObj),
1148
- options: localVarRequestOptions,
1149
- };
1150
- },
1151
- /**
1152
- * List all Bus Input/Outputs.
1153
- * @summary Configuration
1154
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1155
- * @param {*} [options] Override http request option.
1156
- * @throws {RequiredError}
1157
- */
1158
- listBusIODescriptions: async (cell, options = {}) => {
1159
- // verify required parameter 'cell' is not null or undefined
1160
- assertParamExists('listBusIODescriptions', 'cell', cell);
1161
- const localVarPath = `/cells/{cell}/bus-ios/ios/description`
1162
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
1163
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1164
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1165
- let baseOptions;
1166
- if (configuration) {
1167
- baseOptions = configuration.baseOptions;
1168
- }
1169
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1170
- const localVarHeaderParameter = {};
1171
- const localVarQueryParameter = {};
1172
- // authentication BasicAuth required
1173
- // http basic authentication required
1174
- setBasicAuthToObject(localVarRequestOptions, configuration);
1175
- // authentication BearerAuth required
1176
- // http bearer authentication required
1177
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
1178
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1179
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1180
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1181
- return {
1182
- url: toPathString(localVarUrlObj),
1183
- options: localVarRequestOptions,
1184
- };
1185
- },
1186
- /**
1187
- * 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.
1188
- * @summary Set Output Values
1189
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1190
- * @param {Array<IOValue>} iOValue
1191
- * @param {*} [options] Override http request option.
1192
- * @throws {RequiredError}
1193
- */
1194
- setBusIOValues: async (cell, iOValue, options = {}) => {
1195
- // verify required parameter 'cell' is not null or undefined
1196
- assertParamExists('setBusIOValues', 'cell', cell);
1197
- // verify required parameter 'iOValue' is not null or undefined
1198
- assertParamExists('setBusIOValues', 'iOValue', iOValue);
1199
- const localVarPath = `/cells/{cell}/bus-ios/ios/values`
1200
- .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
1201
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1202
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1203
- let baseOptions;
1204
- if (configuration) {
1205
- baseOptions = configuration.baseOptions;
1206
- }
1207
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1208
- const localVarHeaderParameter = {};
1209
- const localVarQueryParameter = {};
1210
- // authentication BasicAuth required
1211
- // http basic authentication required
1212
- setBasicAuthToObject(localVarRequestOptions, configuration);
1213
- // authentication BearerAuth required
1214
- // http bearer authentication required
1215
- await setBearerAuthToObject(localVarHeaderParameter, configuration);
1216
- localVarHeaderParameter['Content-Type'] = 'application/json';
1217
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1218
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1219
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1220
- localVarRequestOptions.data = serializeDataIfNeeded(iOValue, localVarRequestOptions, configuration);
1221
- return {
1222
- url: toPathString(localVarUrlObj),
1223
- options: localVarRequestOptions,
1224
- };
1225
- },
1226
- };
1227
- };
1228
- /**
1229
- * BusIOsApi - functional programming interface
1230
- * @export
1231
- */
1232
- export const BusIOsApiFp = function (configuration) {
1233
- const localVarAxiosParamCreator = BusIOsApiAxiosParamCreator(configuration);
1234
- return {
1235
- /**
1236
- * 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).
1237
- * @summary Get Input/Output Values
1238
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1239
- * @param {Array<string>} [ios]
1240
- * @param {*} [options] Override http request option.
1241
- * @throws {RequiredError}
1242
- */
1243
- async getBusIOValues(cell, ios, options) {
1244
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBusIOValues(cell, ios, options);
1245
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1246
- const localVarOperationServerBasePath = operationServerMap['BusIOsApi.getBusIOValues']?.[localVarOperationServerIndex]?.url;
1247
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1248
- },
1249
- /**
1250
- * List all Bus Input/Outputs.
1251
- * @summary Configuration
1252
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1253
- * @param {*} [options] Override http request option.
1254
- * @throws {RequiredError}
1255
- */
1256
- async listBusIODescriptions(cell, options) {
1257
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBusIODescriptions(cell, options);
1258
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1259
- const localVarOperationServerBasePath = operationServerMap['BusIOsApi.listBusIODescriptions']?.[localVarOperationServerIndex]?.url;
1260
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1261
- },
1262
- /**
1263
- * 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.
1264
- * @summary Set Output Values
1265
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1266
- * @param {Array<IOValue>} iOValue
1267
- * @param {*} [options] Override http request option.
1268
- * @throws {RequiredError}
1269
- */
1270
- async setBusIOValues(cell, iOValue, options) {
1271
- const localVarAxiosArgs = await localVarAxiosParamCreator.setBusIOValues(cell, iOValue, options);
1272
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1273
- const localVarOperationServerBasePath = operationServerMap['BusIOsApi.setBusIOValues']?.[localVarOperationServerIndex]?.url;
1274
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1275
- },
1276
- };
1277
- };
1278
- /**
1279
- * BusIOsApi - factory interface
1280
- * @export
1281
- */
1282
- export const BusIOsApiFactory = function (configuration, basePath, axios) {
1283
- const localVarFp = BusIOsApiFp(configuration);
1284
- return {
1285
- /**
1286
- * 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).
1287
- * @summary Get Input/Output Values
1288
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1289
- * @param {Array<string>} [ios]
1290
- * @param {*} [options] Override http request option.
1291
- * @throws {RequiredError}
1292
- */
1293
- getBusIOValues(cell, ios, options) {
1294
- return localVarFp.getBusIOValues(cell, ios, options).then((request) => request(axios, basePath));
1295
- },
1296
- /**
1297
- * List all Bus Input/Outputs.
1298
- * @summary Configuration
1299
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1300
- * @param {*} [options] Override http request option.
1301
- * @throws {RequiredError}
1302
- */
1303
- listBusIODescriptions(cell, options) {
1304
- return localVarFp.listBusIODescriptions(cell, options).then((request) => request(axios, basePath));
1305
- },
1306
- /**
1307
- * 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.
1308
- * @summary Set Output Values
1309
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1310
- * @param {Array<IOValue>} iOValue
1311
- * @param {*} [options] Override http request option.
1312
- * @throws {RequiredError}
1313
- */
1314
- setBusIOValues(cell, iOValue, options) {
1315
- return localVarFp.setBusIOValues(cell, iOValue, options).then((request) => request(axios, basePath));
1316
- },
1317
- };
1318
- };
1319
- /**
1320
- * BusIOsApi - object-oriented interface
1321
- * @export
1322
- * @class BusIOsApi
1323
- * @extends {BaseAPI}
1324
- */
1325
- export class BusIOsApi extends BaseAPI {
1326
- /**
1327
- * 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).
1328
- * @summary Get Input/Output Values
1329
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1330
- * @param {Array<string>} [ios]
1331
- * @param {*} [options] Override http request option.
1332
- * @throws {RequiredError}
1333
- * @memberof BusIOsApi
1334
- */
1335
- getBusIOValues(cell, ios, options) {
1336
- return BusIOsApiFp(this.configuration).getBusIOValues(cell, ios, options).then((request) => request(this.axios, this.basePath));
1337
- }
1338
- /**
1339
- * List all Bus Input/Outputs.
1340
- * @summary Configuration
1341
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1342
- * @param {*} [options] Override http request option.
1343
- * @throws {RequiredError}
1344
- * @memberof BusIOsApi
1345
- */
1346
- listBusIODescriptions(cell, options) {
1347
- return BusIOsApiFp(this.configuration).listBusIODescriptions(cell, options).then((request) => request(this.axios, this.basePath));
1348
- }
1349
- /**
1350
- * 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.
1351
- * @summary Set Output Values
1352
- * @param {string} cell Unique identifier addressing a cell in all API calls.
1353
- * @param {Array<IOValue>} iOValue
1354
- * @param {*} [options] Override http request option.
1355
- * @throws {RequiredError}
1356
- * @memberof BusIOsApi
1357
- */
1358
- setBusIOValues(cell, iOValue, options) {
1359
- return BusIOsApiFp(this.configuration).setBusIOValues(cell, iOValue, options).then((request) => request(this.axios, this.basePath));
1360
- }
1361
- }
1362
1106
  /**
1363
1107
  * CellApi - axios parameter creator
1364
1108
  * @export