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 WifiService = /** @class */ (function (_super) {
    __extends(WifiService, _super);
    function WifiService() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.resources = SERVICE_CALLS;
        return _this;
    }
    /**
     * Get Wi-Fi mode
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @return
     */
    WifiService.prototype.getMode = function () {
        return this.serviceCallRunner.execute(this.getModeCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @return call options
     */
    WifiService.prototype.getModeCall = function () {
        var callOptions = __assign({}, this.resources.getMode);
        return callOptions;
    };
    /**
     * Write Wi-Fi mode
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @param mode input
     * @return
     */
    WifiService.prototype.putMode = function (
    /*
     *
     */
    mode) {
        return this.serviceCallRunner.execute(this.putModeCall(mode));
    };
    /**
     *
     *
     * LWM2M path: /1024//15
     *
     * @tapVersion(">=")
     * @param mode input
     * @return call options
     */
    WifiService.prototype.putModeCall = function (
    /*
     *
     */
    mode) {
        var callOptions = __assign({}, this.resources.putMode);
        callOptions.body = mode;
        return callOptions;
    };
    /**
     * Get Wi-Fi key
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @return
     */
    WifiService.prototype.getKey = function () {
        return this.serviceCallRunner.execute(this.getKeyCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @return call options
     */
    WifiService.prototype.getKeyCall = function () {
        var callOptions = __assign({}, this.resources.getKey);
        return callOptions;
    };
    /**
     * Write network key
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    WifiService.prototype.putKey = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putKeyCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//16
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    WifiService.prototype.putKeyCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.putKey);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Get Wi-Fi hostname
     *
     * LWM2M path: /1024//35
     *
     * @tapVersion(">=")
     * @return
     */
    WifiService.prototype.getHostname = function () {
        return this.serviceCallRunner.execute(this.getHostnameCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//35
     *
     * @tapVersion(">=")
     * @return call options
     */
    WifiService.prototype.getHostnameCall = function () {
        var callOptions = __assign({}, this.resources.getHostname);
        return callOptions;
    };
    /**
     * Get IoTize device ip on the network
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @return
     */
    WifiService.prototype.getIp = function () {
        return this.serviceCallRunner.execute(this.getIpCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @return call options
     */
    WifiService.prototype.getIpCall = function () {
        var callOptions = __assign({}, this.resources.getIp);
        return callOptions;
    };
    /**
     * Write Tap IP
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    WifiService.prototype.putIp = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putIpCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//30
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    WifiService.prototype.putIpCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.putIp);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Get gateway ip on the network
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @return
     */
    WifiService.prototype.getGatewayIp = function () {
        return this.serviceCallRunner.execute(this.getGatewayIpCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @return call options
     */
    WifiService.prototype.getGatewayIpCall = function () {
        var callOptions = __assign({}, this.resources.getGatewayIp);
        return callOptions;
    };
    /**
     * Write gateway ip
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    WifiService.prototype.putGatewayIp = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putGatewayIpCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//31
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    WifiService.prototype.putGatewayIpCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.putGatewayIp);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Get network ip mask
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @return
     */
    WifiService.prototype.getIpMask = function () {
        return this.serviceCallRunner.execute(this.getIpMaskCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @return call options
     */
    WifiService.prototype.getIpMaskCall = function () {
        var callOptions = __assign({}, this.resources.getIpMask);
        return callOptions;
    };
    /**
     * Write network ip mask
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    WifiService.prototype.putIpMask = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putIpMaskCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//32
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    WifiService.prototype.putIpMaskCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.putIpMask);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Get Wi-Fi ssid
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @return
     */
    WifiService.prototype.getSSID = function () {
        return this.serviceCallRunner.execute(this.getSSIDCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @return call options
     */
    WifiService.prototype.getSSIDCall = function () {
        var callOptions = __assign({}, this.resources.getSSID);
        return callOptions;
    };
    /**
     * Write Wi-Fi ssid
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    WifiService.prototype.putSSID = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putSSIDCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//25
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    WifiService.prototype.putSSIDCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.putSSID);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Get Wi-Fi country code (ISO 3166 codes)
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @return
     */
    WifiService.prototype.getCountryCode = function () {
        return this.serviceCallRunner.execute(this.getCountryCodeCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    WifiService.prototype.getCountryCodeCall = function () {
        var callOptions = __assign({}, this.resources.getCountryCode);
        return callOptions;
    };
    /**
     * Write Wi-Fi country code (ISO 3166 codes)
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @param countryCode input
     * @return
     */
    WifiService.prototype.putCountryCode = function (
    /*
     * ISO 3166 codes
     */
    countryCode) {
        return this.serviceCallRunner.execute(this.putCountryCodeCall(countryCode));
    };
    /**
     *
     *
     * LWM2M path: /1024//95
     *
     * @tapVersion(">=1.88")
     * @param countryCode input
     * @return call options
     */
    WifiService.prototype.putCountryCodeCall = function (
    /*
     * ISO 3166 codes
     */
    countryCode) {
        var callOptions = __assign({}, this.resources.putCountryCode);
        callOptions.body = countryCode;
        return callOptions;
    };
    /**
     * Get Wi-Fi protocol
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @return
     */
    WifiService.prototype.getProtocol = function () {
        return this.serviceCallRunner.execute(this.getProtocolCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    WifiService.prototype.getProtocolCall = function () {
        var callOptions = __assign({}, this.resources.getProtocol);
        return callOptions;
    };
    /**
     * Write Wi-Fi protocol
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @param protocol input
     * @return
     */
    WifiService.prototype.putProtocol = function (
    /*
     *
     */
    protocol) {
        return this.serviceCallRunner.execute(this.putProtocolCall(protocol));
    };
    /**
     *
     *
     * LWM2M path: /1024//96
     *
     * @tapVersion(">=1.88")
     * @param protocol input
     * @return call options
     */
    WifiService.prototype.putProtocolCall = function (
    /*
     *
     */
    protocol) {
        var callOptions = __assign({}, this.resources.putProtocol);
        callOptions.body = protocol;
        return callOptions;
    };
    /**
     * Get Wi-Fi TX max power
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @return
     */
    WifiService.prototype.getTxPower = function () {
        return this.serviceCallRunner.execute(this.getTxPowerCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    WifiService.prototype.getTxPowerCall = function () {
        var callOptions = __assign({}, this.resources.getTxPower);
        return callOptions;
    };
    /**
     * Write Wi-Fi TX max power
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @param maxPower input
     * @return
     */
    WifiService.prototype.putTxPower = function (
    /*
     *
     */
    maxPower) {
        return this.serviceCallRunner.execute(this.putTxPowerCall(maxPower));
    };
    /**
     *
     *
     * LWM2M path: /1024//97
     *
     * @tapVersion(">=1.88")
     * @param maxPower input
     * @return call options
     */
    WifiService.prototype.putTxPowerCall = function (
    /*
     *
     */
    maxPower) {
        var callOptions = __assign({}, this.resources.putTxPower);
        callOptions.body = maxPower;
        return callOptions;
    };
    /**
     * Get Wi-Fi SSID visibility
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @return
     */
    WifiService.prototype.getSSIDVisibility = function () {
        return this.serviceCallRunner.execute(this.getSSIDVisibilityCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    WifiService.prototype.getSSIDVisibilityCall = function () {
        var callOptions = __assign({}, this.resources.getSSIDVisibility);
        return callOptions;
    };
    /**
     * Write Wi-Fi SSID visibility
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return
     */
    WifiService.prototype.putSSIDVisibility = function (
    /*
     *
     */
    visibility) {
        return this.serviceCallRunner.execute(this.putSSIDVisibilityCall(visibility));
    };
    /**
     *
     *
     * LWM2M path: /1024//98
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return call options
     */
    WifiService.prototype.putSSIDVisibilityCall = function (
    /*
     *
     */
    visibility) {
        var callOptions = __assign({}, this.resources.putSSIDVisibility);
        callOptions.body = visibility;
        return callOptions;
    };
    /**
     * Get Wi-Fi key visibility
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @return
     */
    WifiService.prototype.getKeyVisibility = function () {
        return this.serviceCallRunner.execute(this.getKeyVisibilityCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    WifiService.prototype.getKeyVisibilityCall = function () {
        var callOptions = __assign({}, this.resources.getKeyVisibility);
        return callOptions;
    };
    /**
     * Write Wi-Fi key visibility
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return
     */
    WifiService.prototype.putKeyVisibility = function (
    /*
     *
     */
    visibility) {
        return this.serviceCallRunner.execute(this.putKeyVisibilityCall(visibility));
    };
    /**
     *
     *
     * LWM2M path: /1024//99
     *
     * @tapVersion(">=1.88")
     * @param visibility input
     * @return call options
     */
    WifiService.prototype.putKeyVisibilityCall = function (
    /*
     *
     */
    visibility) {
        var callOptions = __assign({}, this.resources.putKeyVisibility);
        callOptions.body = visibility;
        return callOptions;
    };
    return WifiService;
}(AbstractService));
export { WifiService };
//# sourceMappingURL=data:application/json;base64, 