/**
 *   Generated file. Do not edit
 */
import { TapRequestFrame } from '@iotize/tap/client/api';
import * as serviceConverters from './service-converters';
import { converters as commonConverters } from '@iotize/tap/service/core';
const allConverters = Object.assign(Object.assign({}, commonConverters), serviceConverters);
export const SERVICE_CALLS = {
    login: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/login',
        path: '/1024//0',
        bodyEncoder: allConverters.loginCredential,
    },
    loginWithHash: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/login-with-hash',
        path: '/1024//0',
        bodyEncoder: allConverters.loginCredentialHashed,
    },
    logout: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/logout',
        path: '/1024//1',
    },
    getCurrentProfileId: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/current-profile/id',
        path: '/1024//2',
        responseBodyDecoder: allConverters.uint16,
    },
    getCurrentHostProtocol: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/current-host-protocol',
        path: '/1024//3',
        responseBodyDecoder: allConverters.hostProtocol,
    },
    putCurrentHostProtocol: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/current-host-protocol',
        path: '/1024//3',
        bodyEncoder: allConverters.hostProtocol,
    },
    getUID: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/uid',
        path: '/1024//5',
    },
    loginWithUID: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/uid',
        path: '/1024//5',
    },
    keepAlive: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/keep-alive',
        path: '/1024//4',
        responseBodyDecoder: allConverters.uint32,
    },
    getSecurityOptions: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/security-options',
        path: '/1024//6',
        responseBodyDecoder: allConverters.securityOptions,
    },
    putSecurityOptions: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/security-options',
        path: '/1024//6',
        bodyEncoder: allConverters.securityOptions,
    },
    getCurrentGroupId: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/current-group-id',
        path: '/1024//7',
        responseBodyDecoder: allConverters.uint16,
    },
    getConfigFormatVersion: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/config-format-version',
        path: '/1024//8',
        responseBodyDecoder: allConverters.uint16,
    },
    putConfigFormatVersion: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/config-format-version',
        path: '/1024//8',
        bodyEncoder: allConverters.uint16,
    },
    getAppName: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/app-name',
        path: '/1024//9',
        responseBodyDecoder: allConverters.ascii,
    },
    putAppName: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/app-name',
        path: '/1024//9',
        bodyEncoder: allConverters.ascii,
    },
    getConfigVersion: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/config-version',
        path: '/1024//10',
        responseBodyDecoder: allConverters.stringVersion,
    },
    putConfigVersion: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/config-version',
        path: '/1024//10',
        bodyEncoder: allConverters.stringVersion,
    },
    reloadConfig: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/config-version',
        path: '/1024//10',
    },
    getAppPath: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/app-path',
        path: '/1024//11',
        responseBodyDecoder: allConverters.ascii,
    },
    putAppPath: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/app-path',
        path: '/1024//11',
        bodyEncoder: allConverters.ascii,
    },
    getNfcPairingMode: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/nfc/pairing-mode',
        path: '/1024//13',
        responseBodyDecoder: allConverters.nfcPairingMode,
    },
    putNfcPairingMode: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/nfc/pairing-mode',
        path: '/1024//13',
        bodyEncoder: allConverters.nfcPairingMode,
    },
    getPairingOptions: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/pairing-options',
        path: '/1024//13',
        responseBodyDecoder: allConverters.wirelessPairingOptions,
    },
    postPairingOptions: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/pairing-options',
        path: '/1024//13',
        bodyEncoder: allConverters.wirelessPairingOptions,
    },
    putPairingOptions: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/pairing-options',
        path: '/1024//13',
        bodyEncoder: allConverters.wirelessPairingOptions,
    },
    getPowerOptimisationLevel: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/power-optimisation-level',
        path: '/1024//14',
        responseBodyDecoder: allConverters.lowPowerOptimizationLevel,
    },
    putPowerOptimisationLevel: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/power-optimisation-level',
        path: '/1024//14',
        bodyEncoder: allConverters.lowPowerOptimizationLevel,
    },
    getAuthorizedHostProtocol: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/authorized-host-protocol',
        path: '/1024//17',
        responseBodyDecoder: allConverters.hostProtocolArray,
    },
    putAuthorizedHostProtocol: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/authorized-host-protocol',
        path: '/1024//17',
        bodyEncoder: allConverters.hostProtocolArray,
    },
    getConfigFormatFirmwareVersion: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/config-format-firmware-version',
        path: '/1024//18',
        responseBodyDecoder: allConverters.uint16,
    },
    getUniversalLink: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/universal-link',
        path: '/1024//19',
        responseBodyDecoder: allConverters.ascii,
    },
    putUniversalLink: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/universal-link',
        path: '/1024//19',
        bodyEncoder: allConverters.ascii,
    },
    getAvailableHostProtocols: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/available-host-protocols',
        path: '/1024//21',
        responseBodyDecoder: allConverters.hostProtocolArray,
    },
    getDisabledServices: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/disabled-services',
        path: '/1024//75',
        responseBodyDecoder: allConverters.serviceCodeArray,
    },
    postDisabledServices: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/disabled-services',
        path: '/1024//75',
        bodyEncoder: allConverters.serviceCodeArray,
    },
    getNfcConnectionPriority: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/nfc_connection_priority',
        path: '/1024//24',
        responseBodyDecoder: allConverters.nfcConnectionPriority,
    },
    postNfcConnectionPriority: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/nfc_connection_priority',
        path: '/1024//24',
        bodyEncoder: allConverters.nfcConnectionPriority,
    },
    putNfcConnectionPriority: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/nfc_connection_priority',
        path: '/1024//24',
        bodyEncoder: allConverters.nfcConnectionPriority,
    },
    getNfcAutologProfileId: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/nfc-autolog-profile-id',
        path: '/1024//43',
        responseBodyDecoder: allConverters.uint16,
    },
    putNfcAutologProfileId: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/nfc-autolog-profile-id',
        path: '/1024//43',
        bodyEncoder: allConverters.uint16,
    },
    getHostInactivityPeriod: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/host-inactivity-period',
        path: '/1024//34',
        responseBodyDecoder: allConverters.uint16,
    },
    putHostInactivityPeriod: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/host-inactivity-period',
        path: '/1024//34',
        bodyEncoder: allConverters.uint8,
    },
    getApplicationData: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/application-data',
        path: '/1024//36',
    },
    putApplicationData: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/application-data',
        path: '/1024//36',
    },
    getProductKey: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/product-key',
        path: '/1024//60',
        responseBodyDecoder: allConverters.ascii,
    },
    getCurrentHostProtocolMaxFrameSize: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/current-host-protocol-max-frame-size',
        path: '/1024//88',
        responseBodyDecoder: allConverters.protocolMaxFrameSize,
    },
    executeMultiRequestFrame: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/multi-request-frame',
        path: '/1024//89',
        responseBodyDecoder: allConverters.multiResponseFrame,
        bodyEncoder: allConverters.multiRequestFrame,
    },
    putCertificatePublicKey: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/certificate/public-key',
        append: true,
        path: '/1024//37',
    },
    putCertificatePrivateKey: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/certificate/private-key',
        append: true,
        path: '/1024//38',
    },
    putCertificateRootKey: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/certificate/root-key',
        append: true,
        path: '/1024//39',
    },
    getProductCode: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/product-code',
        path: '/1024//84',
        responseBodyDecoder: allConverters.ascii,
    },
    putProductCode: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/product-code',
        path: '/1024//84',
        bodyEncoder: allConverters.ascii,
    },
    getSpecialFeatureProfile: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/interface/special-feature/{featureId}',
        path: '/1024//{featureId}',
        responseBodyDecoder: allConverters.uint16,
    },
    setSpecialFeatureProfile: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/interface/special-feature/{featureId}',
        path: '/1024//{featureId}',
        bodyEncoder: allConverters.uint16,
    },
    putSpecialFeatureProfile: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/interface/special-feature/{featureId}',
        path: '/1024//{featureId}',
        bodyEncoder: allConverters.uint16,
    },
};
//# sourceMappingURL=data:application/json;base64, 