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 InterfaceService = /** @class */ (function (_super) {
    __extends(InterfaceService, _super);
    function InterfaceService() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.resources = SERVICE_CALLS;
        return _this;
    }
    /**
     * Login
     *
     * LWM2M path: /1024//0
     *
     * @tapVersion(">=")
     * @param credential input
     * @return
     */
    InterfaceService.prototype.login = function (
    /*
     * Username/password credentials
     */
    credential) {
        return this.serviceCallRunner.execute(this.loginCall(credential));
    };
    /**
     *
     *
     * LWM2M path: /1024//0
     *
     * @tapVersion(">=")
     * @param credential input
     * @return call options
     */
    InterfaceService.prototype.loginCall = function (
    /*
     * Username/password credentials
     */
    credential) {
        var callOptions = __assign({}, this.resources.login);
        callOptions.body = credential;
        return callOptions;
    };
    /**
     * Login
     *
     * LWM2M path: /1024//0
     *
     * @tapVersion(">=")
     * @param credential input
     * @return
     */
    InterfaceService.prototype.loginWithHash = function (
    /*
     *
     */
    credential) {
        return this.serviceCallRunner.execute(this.loginWithHashCall(credential));
    };
    /**
     *
     *
     * LWM2M path: /1024//0
     *
     * @tapVersion(">=")
     * @param credential input
     * @return call options
     */
    InterfaceService.prototype.loginWithHashCall = function (
    /*
     *
     */
    credential) {
        var callOptions = __assign({}, this.resources.loginWithHash);
        callOptions.body = credential;
        return callOptions;
    };
    /**
     * Logout
     *
     * LWM2M path: /1024//1
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.logout = function () {
        return this.serviceCallRunner.execute(this.logoutCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//1
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.logoutCall = function () {
        var callOptions = __assign({}, this.resources.logout);
        return callOptions;
    };
    /**
     * Get current profile id
     *
     * LWM2M path: /1024//2
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getCurrentProfileId = function () {
        return this.serviceCallRunner.execute(this.getCurrentProfileIdCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//2
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getCurrentProfileIdCall = function () {
        var callOptions = __assign({}, this.resources.getCurrentProfileId);
        return callOptions;
    };
    /**
     * Get current host protocol
     *
     * LWM2M path: /1024//3
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getCurrentHostProtocol = function () {
        return this.serviceCallRunner.execute(this.getCurrentHostProtocolCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//3
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getCurrentHostProtocolCall = function () {
        var callOptions = __assign({}, this.resources.getCurrentHostProtocol);
        return callOptions;
    };
    /**
     * Write current host protocol
     *
     * LWM2M path: /1024//3
     *
     * @tapVersion(">=")
     * @param hostProtocol input
     * @return
     */
    InterfaceService.prototype.putCurrentHostProtocol = function (
    /*
     *
     */
    hostProtocol) {
        return this.serviceCallRunner.execute(this.putCurrentHostProtocolCall(hostProtocol));
    };
    /**
     *
     *
     * LWM2M path: /1024//3
     *
     * @tapVersion(">=")
     * @param hostProtocol input
     * @return call options
     */
    InterfaceService.prototype.putCurrentHostProtocolCall = function (
    /*
     *
     */
    hostProtocol) {
        var callOptions = __assign({}, this.resources.putCurrentHostProtocol);
        callOptions.body = hostProtocol;
        return callOptions;
    };
    /**
     * Get UID value
     *
     * LWM2M path: /1024//5
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getUID = function () {
        return this.serviceCallRunner.execute(this.getUIDCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//5
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getUIDCall = function () {
        var callOptions = __assign({}, this.resources.getUID);
        return callOptions;
    };
    /**
     * Administrator login with UID.
     *
     * LWM2M path: /1024//5
     *
     * @tapVersion(">=")
     * @param uid input
     * @return
     */
    InterfaceService.prototype.loginWithUID = function (
    /*
     *
     */
    uid) {
        return this.serviceCallRunner.execute(this.loginWithUIDCall(uid));
    };
    /**
     *
     *
     * LWM2M path: /1024//5
     *
     * @tapVersion(">=")
     * @param uid input
     * @return call options
     */
    InterfaceService.prototype.loginWithUIDCall = function (
    /*
     *
     */
    uid) {
        var callOptions = __assign({}, this.resources.loginWithUID);
        callOptions.body = uid;
        return callOptions;
    };
    /**
     * Keep alive.
     *
     * LWM2M path: /1024//4
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.keepAlive = function () {
        return this.serviceCallRunner.execute(this.keepAliveCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//4
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.keepAliveCall = function () {
        var callOptions = __assign({}, this.resources.keepAlive);
        return callOptions;
    };
    /**
     * Get lock infos
     *
     * LWM2M path: /1024//6
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getSecurityOptions = function () {
        return this.serviceCallRunner.execute(this.getSecurityOptionsCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//6
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getSecurityOptionsCall = function () {
        var callOptions = __assign({}, this.resources.getSecurityOptions);
        return callOptions;
    };
    /**
     * Set lock infos
     *
     * LWM2M path: /1024//6
     *
     * @tapVersion(">=")
     * @param infos input
     * @return
     */
    InterfaceService.prototype.putSecurityOptions = function (
    /*
     * lock informations
     */
    infos) {
        return this.serviceCallRunner.execute(this.putSecurityOptionsCall(infos));
    };
    /**
     *
     *
     * LWM2M path: /1024//6
     *
     * @tapVersion(">=")
     * @param infos input
     * @return call options
     */
    InterfaceService.prototype.putSecurityOptionsCall = function (
    /*
     * lock informations
     */
    infos) {
        var callOptions = __assign({}, this.resources.putSecurityOptions);
        callOptions.body = infos;
        return callOptions;
    };
    /**
     * Get current group id
     *
     * LWM2M path: /1024//7
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getCurrentGroupId = function () {
        return this.serviceCallRunner.execute(this.getCurrentGroupIdCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//7
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getCurrentGroupIdCall = function () {
        var callOptions = __assign({}, this.resources.getCurrentGroupId);
        return callOptions;
    };
    /**
     * Get config format version
     *
     * LWM2M path: /1024//8
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getConfigFormatVersion = function () {
        return this.serviceCallRunner.execute(this.getConfigFormatVersionCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//8
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getConfigFormatVersionCall = function () {
        var callOptions = __assign({}, this.resources.getConfigFormatVersion);
        return callOptions;
    };
    /**
     * Set config format version
     *
     * LWM2M path: /1024//8
     *
     * @tapVersion(">=")
     * @param configFormat input
     * @return
     */
    InterfaceService.prototype.putConfigFormatVersion = function (
    /*
     *
     */
    configFormat) {
        return this.serviceCallRunner.execute(this.putConfigFormatVersionCall(configFormat));
    };
    /**
     *
     *
     * LWM2M path: /1024//8
     *
     * @tapVersion(">=")
     * @param configFormat input
     * @return call options
     */
    InterfaceService.prototype.putConfigFormatVersionCall = function (
    /*
     *
     */
    configFormat) {
        var callOptions = __assign({}, this.resources.putConfigFormatVersion);
        callOptions.body = configFormat;
        return callOptions;
    };
    /**
     * Get application name
     *
     * LWM2M path: /1024//9
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getAppName = function () {
        return this.serviceCallRunner.execute(this.getAppNameCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//9
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getAppNameCall = function () {
        var callOptions = __assign({}, this.resources.getAppName);
        return callOptions;
    };
    /**
     * Set application name
     *
     * LWM2M path: /1024//9
     *
     * @tapVersion(">=")
     * @param appName input
     * @return
     */
    InterfaceService.prototype.putAppName = function (
    /*
     *
     */
    appName) {
        return this.serviceCallRunner.execute(this.putAppNameCall(appName));
    };
    /**
     *
     *
     * LWM2M path: /1024//9
     *
     * @tapVersion(">=")
     * @param appName input
     * @return call options
     */
    InterfaceService.prototype.putAppNameCall = function (
    /*
     *
     */
    appName) {
        var callOptions = __assign({}, this.resources.putAppName);
        callOptions.body = appName;
        return callOptions;
    };
    /**
     * Get config version
     *
     * LWM2M path: /1024//10
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getConfigVersion = function () {
        return this.serviceCallRunner.execute(this.getConfigVersionCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//10
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getConfigVersionCall = function () {
        var callOptions = __assign({}, this.resources.getConfigVersion);
        return callOptions;
    };
    /**
     * Set config version
     *
     * LWM2M path: /1024//10
     *
     * @tapVersion(">=")
     * @param version input
     * @return
     */
    InterfaceService.prototype.putConfigVersion = function (
    /*
     *
     */
    version) {
        return this.serviceCallRunner.execute(this.putConfigVersionCall(version));
    };
    /**
     *
     *
     * LWM2M path: /1024//10
     *
     * @tapVersion(">=")
     * @param version input
     * @return call options
     */
    InterfaceService.prototype.putConfigVersionCall = function (
    /*
     *
     */
    version) {
        var callOptions = __assign({}, this.resources.putConfigVersion);
        callOptions.body = version;
        return callOptions;
    };
    /**
     * Apply the new configuration on the Tap
     *
     * LWM2M path: /1024//10
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.reloadConfig = function () {
        return this.serviceCallRunner.execute(this.reloadConfigCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//10
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.reloadConfigCall = function () {
        var callOptions = __assign({}, this.resources.reloadConfig);
        return callOptions;
    };
    /**
     * Get app path
     *
     * LWM2M path: /1024//11
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getAppPath = function () {
        return this.serviceCallRunner.execute(this.getAppPathCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//11
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getAppPathCall = function () {
        var callOptions = __assign({}, this.resources.getAppPath);
        return callOptions;
    };
    /**
     * Set app path
     *
     * LWM2M path: /1024//11
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    InterfaceService.prototype.putAppPath = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putAppPathCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1024//11
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    InterfaceService.prototype.putAppPathCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putAppPath);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Check if nfc paring is mandatory
     *
     * LWM2M path: /1024//13
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getNfcPairingMode = function () {
        return this.serviceCallRunner.execute(this.getNfcPairingModeCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//13
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getNfcPairingModeCall = function () {
        var callOptions = __assign({}, this.resources.getNfcPairingMode);
        return callOptions;
    };
    /**
     * Change wether if nfc pairing is mandatory
     *
     * LWM2M path: /1024//13
     *
     * @tapVersion(">=")
     * @param mode input
     * @return
     */
    InterfaceService.prototype.putNfcPairingMode = function (
    /*
     *
     */
    mode) {
        return this.serviceCallRunner.execute(this.putNfcPairingModeCall(mode));
    };
    /**
     *
     *
     * LWM2M path: /1024//13
     *
     * @tapVersion(">=")
     * @param mode input
     * @return call options
     */
    InterfaceService.prototype.putNfcPairingModeCall = function (
    /*
     *
     */
    mode) {
        var callOptions = __assign({}, this.resources.putNfcPairingMode);
        callOptions.body = mode;
        return callOptions;
    };
    /**
     * Get power optimization level
     *
     * LWM2M path: /1024//14
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getPowerOptimisationLevel = function () {
        return this.serviceCallRunner.execute(this.getPowerOptimisationLevelCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//14
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getPowerOptimisationLevelCall = function () {
        var callOptions = __assign({}, this.resources.getPowerOptimisationLevel);
        return callOptions;
    };
    /**
     * Write power optimization level
     *
     * LWM2M path: /1024//14
     *
     * @tapVersion(">=")
     * @param mode input
     * @return
     */
    InterfaceService.prototype.putPowerOptimisationLevel = function (
    /*
     *
     */
    mode) {
        return this.serviceCallRunner.execute(this.putPowerOptimisationLevelCall(mode));
    };
    /**
     *
     *
     * LWM2M path: /1024//14
     *
     * @tapVersion(">=")
     * @param mode input
     * @return call options
     */
    InterfaceService.prototype.putPowerOptimisationLevelCall = function (
    /*
     *
     */
    mode) {
        var callOptions = __assign({}, this.resources.putPowerOptimisationLevel);
        callOptions.body = mode;
        return callOptions;
    };
    /**
     * Get authorized host protocols
     *
     * LWM2M path: /1024//17
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getAuthorizedHostProtocol = function () {
        return this.serviceCallRunner.execute(this.getAuthorizedHostProtocolCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//17
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getAuthorizedHostProtocolCall = function () {
        var callOptions = __assign({}, this.resources.getAuthorizedHostProtocol);
        return callOptions;
    };
    /**
     * Write authorized host protocols
     *
     * LWM2M path: /1024//17
     *
     * @tapVersion(">=")
     * @param mode input
     * @return
     */
    InterfaceService.prototype.putAuthorizedHostProtocol = function (
    /*
     *
     */
    mode) {
        return this.serviceCallRunner.execute(this.putAuthorizedHostProtocolCall(mode));
    };
    /**
     *
     *
     * LWM2M path: /1024//17
     *
     * @tapVersion(">=")
     * @param mode input
     * @return call options
     */
    InterfaceService.prototype.putAuthorizedHostProtocolCall = function (
    /*
     *
     */
    mode) {
        var callOptions = __assign({}, this.resources.putAuthorizedHostProtocol);
        callOptions.body = mode;
        return callOptions;
    };
    /**
     * Get config format firmware version
     *
     * LWM2M path: /1024//18
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getConfigFormatFirmwareVersion = function () {
        return this.serviceCallRunner.execute(this.getConfigFormatFirmwareVersionCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//18
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getConfigFormatFirmwareVersionCall = function () {
        var callOptions = __assign({}, this.resources.getConfigFormatFirmwareVersion);
        return callOptions;
    };
    /**
     * Get configured universal link value
     *
     * LWM2M path: /1024//19
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getUniversalLink = function () {
        return this.serviceCallRunner.execute(this.getUniversalLinkCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//19
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getUniversalLinkCall = function () {
        var callOptions = __assign({}, this.resources.getUniversalLink);
        return callOptions;
    };
    /**
     * Write universal link value
     *
     * LWM2M path: /1024//19
     *
     * @tapVersion(">=")
     * @param url input
     * @return
     */
    InterfaceService.prototype.putUniversalLink = function (
    /*
     *
     */
    url) {
        return this.serviceCallRunner.execute(this.putUniversalLinkCall(url));
    };
    /**
     *
     *
     * LWM2M path: /1024//19
     *
     * @tapVersion(">=")
     * @param url input
     * @return call options
     */
    InterfaceService.prototype.putUniversalLinkCall = function (
    /*
     *
     */
    url) {
        var callOptions = __assign({}, this.resources.putUniversalLink);
        callOptions.body = url;
        return callOptions;
    };
    /**
     * Get available host protocols
     *
     * LWM2M path: /1024//21
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getAvailableHostProtocols = function () {
        return this.serviceCallRunner.execute(this.getAvailableHostProtocolsCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//21
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getAvailableHostProtocolsCall = function () {
        var callOptions = __assign({}, this.resources.getAvailableHostProtocols);
        return callOptions;
    };
    /**
     * Get currently disabled service list
     *
     * LWM2M path: /1024//75
     *
     * @tapVersion(">=1.107")
     * @return
     */
    InterfaceService.prototype.getDisabledServices = function () {
        return this.serviceCallRunner.execute(this.getDisabledServicesCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//75
     *
     * @tapVersion(">=1.107")
     * @return call options
     */
    InterfaceService.prototype.getDisabledServicesCall = function () {
        var callOptions = __assign({}, this.resources.getDisabledServices);
        return callOptions;
    };
    /**
     * Enable/disable execution of services
     *
     * LWM2M path: /1024//75
     *
     * @tapVersion(">=1.107")
     * @param serviceCodes input
     * @return
     */
    InterfaceService.prototype.postDisabledServices = function (
    /*
     *
     */
    serviceCodes) {
        return this.serviceCallRunner.execute(this.postDisabledServicesCall(serviceCodes));
    };
    /**
     *
     *
     * LWM2M path: /1024//75
     *
     * @tapVersion(">=1.107")
     * @param serviceCodes input
     * @return call options
     */
    InterfaceService.prototype.postDisabledServicesCall = function (
    /*
     *
     */
    serviceCodes) {
        var callOptions = __assign({}, this.resources.postDisabledServices);
        callOptions.body = serviceCodes;
        return callOptions;
    };
    /**
     * Get NFC connection priority over other protocols
     *
     * LWM2M path: /1024//24
     *
     * @tapVersion(">=1.85")
     * @return
     */
    InterfaceService.prototype.getNfcConnectionPriority = function () {
        return this.serviceCallRunner.execute(this.getNfcConnectionPriorityCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//24
     *
     * @tapVersion(">=1.85")
     * @return call options
     */
    InterfaceService.prototype.getNfcConnectionPriorityCall = function () {
        var callOptions = __assign({}, this.resources.getNfcConnectionPriority);
        return callOptions;
    };
    /**
     * Set NFC connection priority over other protocols (until reboot)
     *
     * LWM2M path: /1024//24
     *
     * @tapVersion(">=1.85")
     * @param key input
     * @return
     */
    InterfaceService.prototype.postNfcConnectionPriority = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.postNfcConnectionPriorityCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//24
     *
     * @tapVersion(">=1.85")
     * @param key input
     * @return call options
     */
    InterfaceService.prototype.postNfcConnectionPriorityCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.postNfcConnectionPriority);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Write in configuration NFC connection priority over other protocols
     *
     * LWM2M path: /1024//24
     *
     * @tapVersion(">=1.85")
     * @param key input
     * @return
     */
    InterfaceService.prototype.putNfcConnectionPriority = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putNfcConnectionPriorityCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//24
     *
     * @tapVersion(">=1.85")
     * @param key input
     * @return call options
     */
    InterfaceService.prototype.putNfcConnectionPriorityCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.putNfcConnectionPriority);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Get profile id that will be logged in when starting an encrypted session with NFC
     *
     * LWM2M path: /1024//43
     *
     * @tapVersion(">=1.55")
     * @return
     */
    InterfaceService.prototype.getNfcAutologProfileId = function () {
        return this.serviceCallRunner.execute(this.getNfcAutologProfileIdCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//43
     *
     * @tapVersion(">=1.55")
     * @return call options
     */
    InterfaceService.prototype.getNfcAutologProfileIdCall = function () {
        var callOptions = __assign({}, this.resources.getNfcAutologProfileId);
        return callOptions;
    };
    /**
     * Write profile id
     *
     * LWM2M path: /1024//43
     *
     * @tapVersion(">=1.55")
     * @param value input
     * @return
     */
    InterfaceService.prototype.putNfcAutologProfileId = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putNfcAutologProfileIdCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1024//43
     *
     * @tapVersion(">=1.55")
     * @param value input
     * @return call options
     */
    InterfaceService.prototype.putNfcAutologProfileIdCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putNfcAutologProfileId);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get host inactivity period
     *
     * LWM2M path: /1024//34
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getHostInactivityPeriod = function () {
        return this.serviceCallRunner.execute(this.getHostInactivityPeriodCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//34
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getHostInactivityPeriodCall = function () {
        var callOptions = __assign({}, this.resources.getHostInactivityPeriod);
        return callOptions;
    };
    /**
     * Write host inactivity timeout
     *
     * LWM2M path: /1024//34
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    InterfaceService.prototype.putHostInactivityPeriod = function (
    /*
     *
     */
    key) {
        return this.serviceCallRunner.execute(this.putHostInactivityPeriodCall(key));
    };
    /**
     *
     *
     * LWM2M path: /1024//34
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    InterfaceService.prototype.putHostInactivityPeriodCall = function (
    /*
     *
     */
    key) {
        var callOptions = __assign({}, this.resources.putHostInactivityPeriod);
        callOptions.body = key;
        return callOptions;
    };
    /**
     * Get application data
     *
     * LWM2M path: /1024//36
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getApplicationData = function () {
        return this.serviceCallRunner.execute(this.getApplicationDataCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//36
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getApplicationDataCall = function () {
        var callOptions = __assign({}, this.resources.getApplicationData);
        return callOptions;
    };
    /**
     * Write custom application data
     *
     * LWM2M path: /1024//36
     *
     * @tapVersion(">=")
     * @param value input
     * @return
     */
    InterfaceService.prototype.putApplicationData = function (
    /*
     *
     */
    value) {
        return this.serviceCallRunner.execute(this.putApplicationDataCall(value));
    };
    /**
     *
     *
     * LWM2M path: /1024//36
     *
     * @tapVersion(">=")
     * @param value input
     * @return call options
     */
    InterfaceService.prototype.putApplicationDataCall = function (
    /*
     *
     */
    value) {
        var callOptions = __assign({}, this.resources.putApplicationData);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get the Tap product key
     *
     * LWM2M path: /1024//60
     *
     * @tapVersion(">=")
     * @return
     */
    InterfaceService.prototype.getProductKey = function () {
        return this.serviceCallRunner.execute(this.getProductKeyCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//60
     *
     * @tapVersion(">=")
     * @return call options
     */
    InterfaceService.prototype.getProductKeyCall = function () {
        var callOptions = __assign({}, this.resources.getProductKey);
        return callOptions;
    };
    /**
     * Get max frame sizes for current host protocol
     *
     * LWM2M path: /1024//88
     *
     * @tapVersion(">=1.88")
     * @return
     */
    InterfaceService.prototype.getCurrentHostProtocolMaxFrameSize = function () {
        return this.serviceCallRunner.execute(this.getCurrentHostProtocolMaxFrameSizeCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//88
     *
     * @tapVersion(">=1.88")
     * @return call options
     */
    InterfaceService.prototype.getCurrentHostProtocolMaxFrameSizeCall = function () {
        var callOptions = __assign({}, this.resources.getCurrentHostProtocolMaxFrameSize);
        return callOptions;
    };
    /**
     * Execute multiple commands sent in one frame, and return all answers in one
     *
     * LWM2M path: /1024//89
     *
     * @tapVersion(">=1.13")
     * @param data input
     * @return
     */
    InterfaceService.prototype.executeMultiRequestFrame = function (
    /*
     *
     */
    data) {
        return this.serviceCallRunner.execute(this.executeMultiRequestFrameCall(data));
    };
    /**
     *
     *
     * LWM2M path: /1024//89
     *
     * @tapVersion(">=1.13")
     * @param data input
     * @return call options
     */
    InterfaceService.prototype.executeMultiRequestFrameCall = function (
    /*
     *
     */
    data) {
        var callOptions = __assign({}, this.resources.executeMultiRequestFrame);
        callOptions.body = data;
        return callOptions;
    };
    /**
     * Certificate data in PEM format for SSL mutual authentication, default is NULL
     *
     * LWM2M path: /1024//37
     *
     * @tapVersion(">=1.86")
     * @param value input
     * @return
     */
    InterfaceService.prototype.putCertificatePublicKey = function (
    /*
     * Up to 16kB
     */
    value) {
        return this.serviceCallRunner.execute(this.putCertificatePublicKeyCall(value));
    };
    InterfaceService.prototype.putCertificatePublicKeyAppendCalls = function (
    /*
     * Up to 16kB
     */
    value, chunkSize) {
        return this.serviceCallRunner.createAppendCalls(this.putCertificatePublicKeyCall(value), chunkSize);
    };
    /**
     *
     *
     * LWM2M path: /1024//37
     *
     * @tapVersion(">=1.86")
     * @param value input
     * @return call options
     */
    InterfaceService.prototype.putCertificatePublicKeyCall = function (
    /*
     * Up to 16kB
     */
    value) {
        var callOptions = __assign({}, this.resources.putCertificatePublicKey);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * private key data in PEM format for SSL mutual authentication, default is NULL
     *
     * LWM2M path: /1024//38
     *
     * @tapVersion(">=1.86")
     * @param value input
     * @return
     */
    InterfaceService.prototype.putCertificatePrivateKey = function (
    /*
     * Up to 16kB
     */
    value) {
        return this.serviceCallRunner.execute(this.putCertificatePrivateKeyCall(value));
    };
    InterfaceService.prototype.putCertificatePrivateKeyAppendCalls = function (
    /*
     * Up to 16kB
     */
    value, chunkSize) {
        return this.serviceCallRunner.createAppendCalls(this.putCertificatePrivateKeyCall(value), chunkSize);
    };
    /**
     *
     *
     * LWM2M path: /1024//38
     *
     * @tapVersion(">=1.86")
     * @param value input
     * @return call options
     */
    InterfaceService.prototype.putCertificatePrivateKeyCall = function (
    /*
     * Up to 16kB
     */
    value) {
        var callOptions = __assign({}, this.resources.putCertificatePrivateKey);
        callOptions.body = value;
        return callOptions;
    };
    /**
     * Get product code
     *
     * LWM2M path: /1024//84
     *
     * @tapVersion(">=1.113")
     * @return
     */
    InterfaceService.prototype.getProductCode = function () {
        return this.serviceCallRunner.execute(this.getProductCodeCall());
    };
    /**
     *
     *
     * LWM2M path: /1024//84
     *
     * @tapVersion(">=1.113")
     * @return call options
     */
    InterfaceService.prototype.getProductCodeCall = function () {
        var callOptions = __assign({}, this.resources.getProductCode);
        return callOptions;
    };
    /**
     * Put product code
     *
     * LWM2M path: /1024//84
     *
     * @tapVersion(">=1.113")
     * @param topic input
     * @return
     */
    InterfaceService.prototype.putProductCode = function (
    /*
     *
     */
    topic) {
        return this.serviceCallRunner.execute(this.putProductCodeCall(topic));
    };
    /**
     *
     *
     * LWM2M path: /1024//84
     *
     * @tapVersion(">=1.113")
     * @param topic input
     * @return call options
     */
    InterfaceService.prototype.putProductCodeCall = function (
    /*
     *
     */
    topic) {
        var callOptions = __assign({}, this.resources.putProductCode);
        callOptions.body = topic;
        return callOptions;
    };
    /**
     * Get bundle id that have the special feature. Si non définit, retourne 0x0
     *
     * LWM2M path: /1024//{featureId}
     *
     * @tapVersion(">=1.23")
     * @param featureId input
     * @return
     */
    InterfaceService.prototype.getSpecialFeatureProfile = function (
    /*
     *
     */
    featureId) {
        return this.serviceCallRunner.execute(this.getSpecialFeatureProfileCall(featureId));
    };
    /**
     *
     *
     * LWM2M path: /1024//{featureId}
     *
     * @tapVersion(">=1.23")
     * @param featureId input
     * @return call options
     */
    InterfaceService.prototype.getSpecialFeatureProfileCall = function (
    /*
     *
     */
    featureId) {
        var callOptions = __assign({}, this.resources.getSpecialFeatureProfile);
        callOptions.pathParameters = {
            featureId: featureId
        };
        return callOptions;
    };
    /**
     * Set bundle id that own the special feature
     *
     * LWM2M path: /1024//{featureId}
     *
     * @tapVersion(">=1.23")
     * @param featureId input
     * @param value input
     * @return
     */
    InterfaceService.prototype.setSpecialFeatureProfile = function (
    /*
     *
     */
    featureId, 
    /*
     * Profile id
     */
    value) {
        return this.serviceCallRunner.execute(this.setSpecialFeatureProfileCall(featureId, value));
    };
    /**
     *
     *
     * LWM2M path: /1024//{featureId}
     *
     * @tapVersion(">=1.23")
     * @param featureId input
     * @param value input
     * @return call options
     */
    InterfaceService.prototype.setSpecialFeatureProfileCall = function (
    /*
     *
     */
    featureId, 
    /*
     * Profile id
     */
    value) {
        var callOptions = __assign({}, this.resources.setSpecialFeatureProfile);
        callOptions.body = value;
        callOptions.pathParameters = {
            featureId: featureId
        };
        return callOptions;
    };
    /**
     * Write bundle id that own the special feature
     *
     * LWM2M path: /1024//{featureId}
     *
     * @tapVersion(">=1.23")
     * @param featureId input
     * @param value input
     * @return
     */
    InterfaceService.prototype.putSpecialFeatureProfile = function (
    /*
     *
     */
    featureId, 
    /*
     * Profile id
     */
    value) {
        return this.serviceCallRunner.execute(this.putSpecialFeatureProfileCall(featureId, value));
    };
    /**
     *
     *
     * LWM2M path: /1024//{featureId}
     *
     * @tapVersion(">=1.23")
     * @param featureId input
     * @param value input
     * @return call options
     */
    InterfaceService.prototype.putSpecialFeatureProfileCall = function (
    /*
     *
     */
    featureId, 
    /*
     * Profile id
     */
    value) {
        var callOptions = __assign({}, this.resources.putSpecialFeatureProfile);
        callOptions.body = value;
        callOptions.pathParameters = {
            featureId: featureId
        };
        return callOptions;
    };
    return InterfaceService;
}(AbstractService));
export { InterfaceService };
//# sourceMappingURL=data:application/json;base64, 