var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
import { SERVICE_CALLS } from "./service-calls";
import { AbstractService } from "@iotize/tap";
var TargetService = /** @class */ (function (_super) {
    __extends(TargetService, _super);
    function TargetService() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.resources = SERVICE_CALLS;
        return _this;
    }
    /**
     * Get target protocol
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getProtocol = function () {
        return this.serviceCallRunner.execute(this.getProtocolCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getProtocolCall = function () {
        var callOptions = __assign({}, this.resources.getProtocol);
        return callOptions;
    };
    /**
     * Write target protocol
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return
     */
    TargetService.prototype.setProtocol = function (
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        return this.serviceCallRunner.execute(this.setProtocolCall(targetProtocol));
    };
    /**
     *
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return call options
     */
    TargetService.prototype.setProtocolCall = function (
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        var callOptions = __assign({}, this.resources.setProtocol);
        callOptions.body = targetProtocol;
        return callOptions;
    };
    /**
     * Configure target protocol
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return
     */
    TargetService.prototype.putProtocol = function (
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        return this.serviceCallRunner.execute(this.putProtocolCall(targetProtocol));
    };
    /**
     *
     *
     * LWM2M path: /1027//1
     *
     * @tapVersion(">=")
     * @param targetProtocol input
     * @return call options
     */
    TargetService.prototype.putProtocolCall = function (
    /*
     * TargetProtocol object to set
     */
    targetProtocol) {
        var callOptions = __assign({}, this.resources.putProtocol);
        callOptions.body = targetProtocol;
        return callOptions;
    };
    /**
     * Get core type
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getCoreType = function () {
        return this.serviceCallRunner.execute(this.getCoreTypeCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getCoreTypeCall = function () {
        var callOptions = __assign({}, this.resources.getCoreType);
        return callOptions;
    };
    /**
     * Write core type
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.putCoreType = function (
    /*
     * Write core type
     */
    value) {
        return this.serviceCallRunner.execute(this.putCoreTypeCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//2
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.putCoreTypeCall = function (
    /*
     * Write core type
     */
    value) {
        var callOptions = __assign({}, this.resources.putCoreType);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Check if target is connected
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=1.63")
     * @return
     */
    TargetService.prototype.isConnected = function () {
        return this.serviceCallRunner.execute(this.isConnectedCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=1.63")
     * @return call options
     */
    TargetService.prototype.isConnectedCall = function () {
        var callOptions = __assign({}, this.resources.isConnected);
        return callOptions;
    };
    /**
     * Connect to target
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.connect = function () {
        return this.serviceCallRunner.execute(this.connectCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//3
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.connectCall = function () {
        var callOptions = __assign({}, this.resources.connect);
        return callOptions;
    };
    /**
     * Disconnect from target
     *
     * LWM2M path: /1027//4
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.disconnect = function () {
        return this.serviceCallRunner.execute(this.disconnectCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//4
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.disconnectCall = function () {
        var callOptions = __assign({}, this.resources.disconnect);
        return callOptions;
    };
    /**
     * Reset target
     *
     * LWM2M path: /1027//5
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.reset = function () {
        return this.serviceCallRunner.execute(this.resetCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//5
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.resetCall = function () {
        var callOptions = __assign({}, this.resources.reset);
        return callOptions;
    };
    /**
     * Get target firmware version
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getFirmwareVersion = function () {
        return this.serviceCallRunner.execute(this.getFirmwareVersionCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getFirmwareVersionCall = function () {
        var callOptions = __assign({}, this.resources.getFirmwareVersion);
        return callOptions;
    };
    /**
     * Write target firmware version
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.putFirmwareVersion = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putFirmwareVersionCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//6
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.putFirmwareVersionCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putFirmwareVersion);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get vcc
     *
     * LWM2M path: /1027//7
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getVcc = function () {
        return this.serviceCallRunner.execute(this.getVccCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//7
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getVccCall = function () {
        var callOptions = __assign({}, this.resources.getVcc);
        return callOptions;
    };
    /**
     * Get min voltage
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getMinVoltage = function () {
        return this.serviceCallRunner.execute(this.getMinVoltageCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getMinVoltageCall = function () {
        var callOptions = __assign({}, this.resources.getMinVoltage);
        return callOptions;
    };
    /**
     * Write min voltage value
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.putMinVoltage = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putMinVoltageCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//8
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.putMinVoltageCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putMinVoltage);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get max voltage
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getMaxVoltage = function () {
        return this.serviceCallRunner.execute(this.getMaxVoltageCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getMaxVoltageCall = function () {
        var callOptions = __assign({}, this.resources.getMaxVoltage);
        return callOptions;
    };
    /**
     * Write max voltage value
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.putMaxVoltage = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putMaxVoltageCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//9
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.putMaxVoltageCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putMaxVoltage);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get page size
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getPageSize = function () {
        return this.serviceCallRunner.execute(this.getPageSizeCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getPageSizeCall = function () {
        var callOptions = __assign({}, this.resources.getPageSize);
        return callOptions;
    };
    /**
     * Write page size
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.putPageSize = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putPageSizeCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//10
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.putPageSizeCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putPageSize);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get communication stats
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getComStats = function () {
        return this.serviceCallRunner.execute(this.getComStatsCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getComStatsCall = function () {
        var callOptions = __assign({}, this.resources.getComStats);
        return callOptions;
    };
    /**
     * Clear communication stats
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.clearComStats = function () {
        return this.serviceCallRunner.execute(this.clearComStatsCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//11
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.clearComStatsCall = function () {
        var callOptions = __assign({}, this.resources.clearComStats);
        return callOptions;
    };
    /**
     * List available target protocols
     *
     * LWM2M path: /1027//20
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getAvailableProtocols = function () {
        return this.serviceCallRunner.execute(this.getAvailableProtocolsCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//20
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getAvailableProtocolsCall = function () {
        var callOptions = __assign({}, this.resources.getAvailableProtocols);
        return callOptions;
    };
    /**
     * Get protocol configuration options
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getSerialModbusConfiguration = function () {
        return this.serviceCallRunner.execute(this.getSerialModbusConfigurationCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getSerialModbusConfigurationCall = function () {
        var callOptions = __assign({}, this.resources.getSerialModbusConfiguration);
        return callOptions;
    };
    /**
     * Temporary update configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.setSerialModbusConfiguration = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.setSerialModbusConfigurationCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.setSerialModbusConfigurationCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.setSerialModbusConfiguration);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Update protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.putSerialModbusConfiguration = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putSerialModbusConfigurationCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.putSerialModbusConfigurationCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putSerialModbusConfiguration);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get S3P protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getS3PConfiguration = function () {
        return this.serviceCallRunner.execute(this.getS3PConfigurationCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getS3PConfigurationCall = function () {
        var callOptions = __assign({}, this.resources.getS3PConfiguration);
        return callOptions;
    };
    /**
     * Temporary update S3P configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.setS3PConfiguration = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.setS3PConfigurationCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.setS3PConfigurationCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.setS3PConfiguration);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Update protocol configuration
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.putS3PConfiguration = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putS3PConfigurationCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//21
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.putS3PConfigurationCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putS3PConfiguration);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Reset target
     *
     * LWM2M path: /1027//30
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.postResetKeep = function () {
        return this.serviceCallRunner.execute(this.postResetKeepCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//30
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.postResetKeepCall = function () {
        var callOptions = __assign({}, this.resources.postResetKeep);
        return callOptions;
    };
    /**
     * Debug access
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @param address input
     * @return
     */
    TargetService.prototype.readDebug = function (
    /*
     *
     */
    address) {
        return this.serviceCallRunner.execute(this.readDebugCall(address));
    };
    /**
     *
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @param address input
     * @return call options
     */
    TargetService.prototype.readDebugCall = function (
    /*
     *
     */
    address) {
        var callOptions = __assign({}, this.resources.readDebug);
        callOptions.body = address;
        return callOptions;
    };
    /**
     * Write address
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.writeDebug = function () {
        return this.serviceCallRunner.execute(this.writeDebugCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//31
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.writeDebugCall = function () {
        var callOptions = __assign({}, this.resources.writeDebug);
        return callOptions;
    };
    /**
     * Register access
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getRegisterAccess = function () {
        return this.serviceCallRunner.execute(this.getRegisterAccessCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getRegisterAccessCall = function () {
        var callOptions = __assign({}, this.resources.getRegisterAccess);
        return callOptions;
    };
    /**
     * Write register value
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.postRegisterAccess = function () {
        return this.serviceCallRunner.execute(this.postRegisterAccessCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//32
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.postRegisterAccessCall = function () {
        var callOptions = __assign({}, this.resources.postRegisterAccess);
        return callOptions;
    };
    /**
     * Transparent send and receive
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    TargetService.prototype.sendReceive = function (
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.sendReceiveCall(data));
    };
    /**
     *
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    TargetService.prototype.sendReceiveCall = function (
    /*
     *
     */
    data) {
        var callOptions = __assign({}, this.resources.sendReceive);
        callOptions.body = data;
        return callOptions;
    };
    /**
     * Transparent send
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    TargetService.prototype.send = function (
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.sendCall(data));
    };
    /**
     *
     *
     * LWM2M path: /1027//34
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    TargetService.prototype.sendCall = function (
    /*
     *
     */
    data) {
        var callOptions = __assign({}, this.resources.send);
        callOptions.body = data;
        return callOptions;
    };
    /**
     * Read data transparent mode with limit
     *
     * LWM2M path: /1027//35
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.readBytes = function () {
        return this.serviceCallRunner.execute(this.readBytesCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//35
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.readBytesCall = function () {
        var callOptions = __assign({}, this.resources.readBytes);
        return callOptions;
    };
    /**
     * Generic modbus write
     *
     * LWM2M path: /1027//37
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    TargetService.prototype.modbusWrite = function (
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.modbusWriteCall(data));
    };
    /**
     *
     *
     * LWM2M path: /1027//37
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    TargetService.prototype.modbusWriteCall = function (
    /*
     *
     */
    data) {
        var callOptions = __assign({}, this.resources.modbusWrite);
        callOptions.body = data;
        return callOptions;
    };
    /**
     * Generic modbus read
     *
     * LWM2M path: /1027//38
     *
     * @tapVersion(">=")
     * @param data input
     * @return
     */
    TargetService.prototype.modbusRead = function (
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.modbusReadCall(data));
    };
    /**
     *
     *
     * LWM2M path: /1027//38
     *
     * @tapVersion(">=")
     * @param data input
     * @return call options
     */
    TargetService.prototype.modbusReadCall = function (
    /*
     *
     */
    data) {
        var callOptions = __assign({}, this.resources.modbusRead);
        callOptions.body = data;
        return callOptions;
    };
    /**
     * Get current sub protocol
     *
     * LWM2M path: /1027//40
     *
     * @tapVersion(">=")
     * @return
     */
    TargetService.prototype.getSubProtocol = function () {
        return this.serviceCallRunner.execute(this.getSubProtocolCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//40
     *
     * @tapVersion(">=")
     * @return call options
     */
    TargetService.prototype.getSubProtocolCall = function () {
        var callOptions = __assign({}, this.resources.getSubProtocol);
        return callOptions;
    };
    /**
     * Get byte length received in buffer (when using serial communication)
     *
     * LWM2M path: /1027//43
     *
     * @tapVersion(">=1.57")
     * @return
     */
    TargetService.prototype.getReceivedCount = function () {
        return this.serviceCallRunner.execute(this.getReceivedCountCall());
    };
    /**
     *
     *
     * LWM2M path: /1027//43
     *
     * @tapVersion(">=1.57")
     * @return call options
     */
    TargetService.prototype.getReceivedCountCall = function () {
        var callOptions = __assign({}, this.resources.getReceivedCount);
        return callOptions;
    };
    /**
     * Read memory at given address on the target application
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.readAddress = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.readAddressCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.readAddressCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.readAddress);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Write into memory on target
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    TargetService.prototype.writeAddress = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.writeAddressCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1027//33
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    TargetService.prototype.writeAddressCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.writeAddress);
        callOptions.body = value;
        return callOptions;
    };
    return TargetService;
}(AbstractService));
export { TargetService };
//# sourceMappingURL=data:application/json;base64, 