@wandelbots/nova-api 25.11.0-dev.26 → 25.11.0-dev.28
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/v1/index.d.cts +178 -178
- package/dist/v1/index.d.ts +178 -178
- package/dist/v2/index.cjs +92 -0
- package/dist/v2/index.d.cts +64 -0
- package/dist/v2/index.d.ts +64 -0
- package/dist/v2/index.js +92 -0
- package/package.json +1 -1
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.
|
package/dist/v2/index.d.cts
CHANGED
|
@@ -3610,6 +3610,22 @@ declare const BUSInputsOutputsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
3610
3610
|
* @throws {RequiredError}
|
|
3611
3611
|
*/
|
|
3612
3612
|
clearBusIOService: (cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3613
|
+
/**
|
|
3614
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3615
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
3616
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3617
|
+
* @param {*} [options] Override http request option.
|
|
3618
|
+
* @throws {RequiredError}
|
|
3619
|
+
*/
|
|
3620
|
+
deleteAllModbusIOs: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3621
|
+
/**
|
|
3622
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
3623
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
3624
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3625
|
+
* @param {*} [options] Override http request option.
|
|
3626
|
+
* @throws {RequiredError}
|
|
3627
|
+
*/
|
|
3628
|
+
deleteAllProfinetIOs: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3613
3629
|
/**
|
|
3614
3630
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3615
3631
|
* @summary Remove MODBUS Input/Ouptut
|
|
@@ -3757,6 +3773,22 @@ declare const BUSInputsOutputsApiFp: (configuration?: Configuration) => {
|
|
|
3757
3773
|
* @throws {RequiredError}
|
|
3758
3774
|
*/
|
|
3759
3775
|
clearBusIOService(cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3776
|
+
/**
|
|
3777
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3778
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
3779
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3780
|
+
* @param {*} [options] Override http request option.
|
|
3781
|
+
* @throws {RequiredError}
|
|
3782
|
+
*/
|
|
3783
|
+
deleteAllModbusIOs(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
3786
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
3787
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3788
|
+
* @param {*} [options] Override http request option.
|
|
3789
|
+
* @throws {RequiredError}
|
|
3790
|
+
*/
|
|
3791
|
+
deleteAllProfinetIOs(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3760
3792
|
/**
|
|
3761
3793
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3762
3794
|
* @summary Remove MODBUS Input/Ouptut
|
|
@@ -3904,6 +3936,22 @@ declare const BUSInputsOutputsApiFactory: (configuration?: Configuration, basePa
|
|
|
3904
3936
|
* @throws {RequiredError}
|
|
3905
3937
|
*/
|
|
3906
3938
|
clearBusIOService(cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3939
|
+
/**
|
|
3940
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3941
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
3942
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3943
|
+
* @param {*} [options] Override http request option.
|
|
3944
|
+
* @throws {RequiredError}
|
|
3945
|
+
*/
|
|
3946
|
+
deleteAllModbusIOs(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3947
|
+
/**
|
|
3948
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
3949
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
3950
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3951
|
+
* @param {*} [options] Override http request option.
|
|
3952
|
+
* @throws {RequiredError}
|
|
3953
|
+
*/
|
|
3954
|
+
deleteAllProfinetIOs(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3907
3955
|
/**
|
|
3908
3956
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3909
3957
|
* @summary Remove MODBUS Input/Ouptut
|
|
@@ -4051,6 +4099,22 @@ declare class BUSInputsOutputsApi extends BaseAPI {
|
|
|
4051
4099
|
* @throws {RequiredError}
|
|
4052
4100
|
*/
|
|
4053
4101
|
clearBusIOService(cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
|
|
4102
|
+
/**
|
|
4103
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
4104
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
4105
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4106
|
+
* @param {*} [options] Override http request option.
|
|
4107
|
+
* @throws {RequiredError}
|
|
4108
|
+
*/
|
|
4109
|
+
deleteAllModbusIOs(cell: string, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
|
|
4110
|
+
/**
|
|
4111
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
4112
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
4113
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4114
|
+
* @param {*} [options] Override http request option.
|
|
4115
|
+
* @throws {RequiredError}
|
|
4116
|
+
*/
|
|
4117
|
+
deleteAllProfinetIOs(cell: string, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
|
|
4054
4118
|
/**
|
|
4055
4119
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
4056
4120
|
* @summary Remove MODBUS Input/Ouptut
|
package/dist/v2/index.d.ts
CHANGED
|
@@ -3610,6 +3610,22 @@ declare const BUSInputsOutputsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
3610
3610
|
* @throws {RequiredError}
|
|
3611
3611
|
*/
|
|
3612
3612
|
clearBusIOService: (cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3613
|
+
/**
|
|
3614
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3615
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
3616
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3617
|
+
* @param {*} [options] Override http request option.
|
|
3618
|
+
* @throws {RequiredError}
|
|
3619
|
+
*/
|
|
3620
|
+
deleteAllModbusIOs: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3621
|
+
/**
|
|
3622
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
3623
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
3624
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3625
|
+
* @param {*} [options] Override http request option.
|
|
3626
|
+
* @throws {RequiredError}
|
|
3627
|
+
*/
|
|
3628
|
+
deleteAllProfinetIOs: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3613
3629
|
/**
|
|
3614
3630
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3615
3631
|
* @summary Remove MODBUS Input/Ouptut
|
|
@@ -3757,6 +3773,22 @@ declare const BUSInputsOutputsApiFp: (configuration?: Configuration) => {
|
|
|
3757
3773
|
* @throws {RequiredError}
|
|
3758
3774
|
*/
|
|
3759
3775
|
clearBusIOService(cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3776
|
+
/**
|
|
3777
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3778
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
3779
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3780
|
+
* @param {*} [options] Override http request option.
|
|
3781
|
+
* @throws {RequiredError}
|
|
3782
|
+
*/
|
|
3783
|
+
deleteAllModbusIOs(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
3786
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
3787
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3788
|
+
* @param {*} [options] Override http request option.
|
|
3789
|
+
* @throws {RequiredError}
|
|
3790
|
+
*/
|
|
3791
|
+
deleteAllProfinetIOs(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3760
3792
|
/**
|
|
3761
3793
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3762
3794
|
* @summary Remove MODBUS Input/Ouptut
|
|
@@ -3904,6 +3936,22 @@ declare const BUSInputsOutputsApiFactory: (configuration?: Configuration, basePa
|
|
|
3904
3936
|
* @throws {RequiredError}
|
|
3905
3937
|
*/
|
|
3906
3938
|
clearBusIOService(cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3939
|
+
/**
|
|
3940
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3941
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
3942
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3943
|
+
* @param {*} [options] Override http request option.
|
|
3944
|
+
* @throws {RequiredError}
|
|
3945
|
+
*/
|
|
3946
|
+
deleteAllModbusIOs(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3947
|
+
/**
|
|
3948
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
3949
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
3950
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3951
|
+
* @param {*} [options] Override http request option.
|
|
3952
|
+
* @throws {RequiredError}
|
|
3953
|
+
*/
|
|
3954
|
+
deleteAllProfinetIOs(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3907
3955
|
/**
|
|
3908
3956
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
3909
3957
|
* @summary Remove MODBUS Input/Ouptut
|
|
@@ -4051,6 +4099,22 @@ declare class BUSInputsOutputsApi extends BaseAPI {
|
|
|
4051
4099
|
* @throws {RequiredError}
|
|
4052
4100
|
*/
|
|
4053
4101
|
clearBusIOService(cell: string, completionTimeout?: number, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
|
|
4102
|
+
/**
|
|
4103
|
+
* Removes all input/output variable configurations from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
4104
|
+
* @summary Remove all MODBUS Input/Outputs
|
|
4105
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4106
|
+
* @param {*} [options] Override http request option.
|
|
4107
|
+
* @throws {RequiredError}
|
|
4108
|
+
*/
|
|
4109
|
+
deleteAllModbusIOs(cell: string, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
|
|
4110
|
+
/**
|
|
4111
|
+
* Removes all input/output variable configurations from the PROFINET device, e.g., NOVA\'s PROFINET service.
|
|
4112
|
+
* @summary Remove all PROFINET Input/Outputs
|
|
4113
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4114
|
+
* @param {*} [options] Override http request option.
|
|
4115
|
+
* @throws {RequiredError}
|
|
4116
|
+
*/
|
|
4117
|
+
deleteAllProfinetIOs(cell: string, options?: RawAxiosRequestConfig): Promise<axios0.AxiosResponse<void, any>>;
|
|
4054
4118
|
/**
|
|
4055
4119
|
* Removes an input/output variable configuration from the MODBUS device, e.g., NOVA\'s MODBUS service.
|
|
4056
4120
|
* @summary Remove MODBUS Input/Ouptut
|
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.
|