@wandelbots/nova-api 25.11.0-dev.25 → 25.11.0-dev.27

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/dist/v2/index.js CHANGED
@@ -1011,6 +1011,60 @@ const BUSInputsOutputsApiAxiosParamCreator = function(configuration) {
1011
1011
  options: localVarRequestOptions
1012
1012
  };
1013
1013
  },
1014
+ deleteAllModbusIOs: async (cell, options = {}) => {
1015
+ assertParamExists("deleteAllModbusIOs", "cell", cell);
1016
+ const localVarPath = `/cells/{cell}/bus-ios/modbus/ios`.replace(`{cell}`, encodeURIComponent(String(cell)));
1017
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1018
+ let baseOptions;
1019
+ if (configuration) baseOptions = configuration.baseOptions;
1020
+ const localVarRequestOptions = {
1021
+ method: "DELETE",
1022
+ ...baseOptions,
1023
+ ...options
1024
+ };
1025
+ const localVarHeaderParameter = {};
1026
+ const localVarQueryParameter = {};
1027
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1028
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1029
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1030
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1031
+ localVarRequestOptions.headers = {
1032
+ ...localVarHeaderParameter,
1033
+ ...headersFromBaseOptions,
1034
+ ...options.headers
1035
+ };
1036
+ return {
1037
+ url: toPathString(localVarUrlObj),
1038
+ options: localVarRequestOptions
1039
+ };
1040
+ },
1041
+ deleteAllProfinetIOs: async (cell, options = {}) => {
1042
+ assertParamExists("deleteAllProfinetIOs", "cell", cell);
1043
+ const localVarPath = `/cells/{cell}/bus-ios/profinet/ios`.replace(`{cell}`, encodeURIComponent(String(cell)));
1044
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1045
+ let baseOptions;
1046
+ if (configuration) baseOptions = configuration.baseOptions;
1047
+ const localVarRequestOptions = {
1048
+ method: "DELETE",
1049
+ ...baseOptions,
1050
+ ...options
1051
+ };
1052
+ const localVarHeaderParameter = {};
1053
+ const localVarQueryParameter = {};
1054
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1055
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1056
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1057
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1058
+ localVarRequestOptions.headers = {
1059
+ ...localVarHeaderParameter,
1060
+ ...headersFromBaseOptions,
1061
+ ...options.headers
1062
+ };
1063
+ return {
1064
+ url: toPathString(localVarUrlObj),
1065
+ options: localVarRequestOptions
1066
+ };
1067
+ },
1014
1068
  deleteModbusIO: async (cell, io, options = {}) => {
1015
1069
  assertParamExists("deleteModbusIO", "cell", cell);
1016
1070
  assertParamExists("deleteModbusIO", "io", io);
@@ -1378,6 +1432,18 @@ const BUSInputsOutputsApiFp = function(configuration) {
1378
1432
  const localVarOperationServerBasePath = operationServerMap["BUSInputsOutputsApi.clearBusIOService"]?.[localVarOperationServerIndex]?.url;
1379
1433
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1380
1434
  },
1435
+ async deleteAllModbusIOs(cell, options) {
1436
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAllModbusIOs(cell, options);
1437
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1438
+ const localVarOperationServerBasePath = operationServerMap["BUSInputsOutputsApi.deleteAllModbusIOs"]?.[localVarOperationServerIndex]?.url;
1439
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1440
+ },
1441
+ async deleteAllProfinetIOs(cell, options) {
1442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAllProfinetIOs(cell, options);
1443
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1444
+ const localVarOperationServerBasePath = operationServerMap["BUSInputsOutputsApi.deleteAllProfinetIOs"]?.[localVarOperationServerIndex]?.url;
1445
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1446
+ },
1381
1447
  async deleteModbusIO(cell, io, options) {
1382
1448
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteModbusIO(cell, io, options);
1383
1449
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -1470,6 +1536,12 @@ const BUSInputsOutputsApiFactory = function(configuration, basePath, axios) {
1470
1536
  clearBusIOService(cell, completionTimeout, options) {
1471
1537
  return localVarFp.clearBusIOService(cell, completionTimeout, options).then((request) => request(axios, basePath));
1472
1538
  },
1539
+ deleteAllModbusIOs(cell, options) {
1540
+ return localVarFp.deleteAllModbusIOs(cell, options).then((request) => request(axios, basePath));
1541
+ },
1542
+ deleteAllProfinetIOs(cell, options) {
1543
+ return localVarFp.deleteAllProfinetIOs(cell, options).then((request) => request(axios, basePath));
1544
+ },
1473
1545
  deleteModbusIO(cell, io, options) {
1474
1546
  return localVarFp.deleteModbusIO(cell, io, options).then((request) => request(axios, basePath));
1475
1547
  },
@@ -1560,6 +1632,26 @@ var BUSInputsOutputsApi = class extends BaseAPI {
1560
1632
  return BUSInputsOutputsApiFp(this.configuration).clearBusIOService(cell, completionTimeout, options).then((request) => request(this.axios, this.basePath));
1561
1633
  }
1562
1634
  /**
1635
+ * Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
1636
+ * @summary Remove all MODBUS Input/Outputs
1637
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
1638
+ * @param {*} [options] Override http request option.
1639
+ * @throws {RequiredError}
1640
+ */
1641
+ deleteAllModbusIOs(cell, options) {
1642
+ return BUSInputsOutputsApiFp(this.configuration).deleteAllModbusIOs(cell, options).then((request) => request(this.axios, this.basePath));
1643
+ }
1644
+ /**
1645
+ * Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
1646
+ * @summary Remove all PROFINET Input/Outputs
1647
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
1648
+ * @param {*} [options] Override http request option.
1649
+ * @throws {RequiredError}
1650
+ */
1651
+ deleteAllProfinetIOs(cell, options) {
1652
+ return BUSInputsOutputsApiFp(this.configuration).deleteAllProfinetIOs(cell, options).then((request) => request(this.axios, this.basePath));
1653
+ }
1654
+ /**
1563
1655
  * Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
1564
1656
  * @summary Remove MODBUS Input/Ouptut
1565
1657
  * @param {string} cell Unique identifier addressing a cell in all API calls.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/nova-api",
3
- "version": "25.11.0-dev.25",
3
+ "version": "25.11.0-dev.27",
4
4
  "description": "API Client to interact with Wandelbots Public API.",
5
5
  "type": "module",
6
6
  "files": [