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