/**
 *   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 = {
    getManufacturer: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/manufacturer',
        path: '/3//0',
        responseBodyDecoder: allConverters.ascii,
    },
    getFirmwareFlavor: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/firmware-flavor',
        path: '/3//1',
        responseBodyDecoder: allConverters.ascii,
    },
    getSerialNumber: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/serial-number',
        path: '/3//2',
        responseBodyDecoder: allConverters.ascii,
    },
    getFirmwareVersion: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/firmware-version',
        path: '/3//3',
        responseBodyDecoder: allConverters.ascii,
    },
    reboot: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/reboot',
        path: '/3//4',
    },
    factoryReset: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/factory-reset',
        path: '/3//5',
    },
    getAvailablePowerSource: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/available-power-source',
        path: '/3//6',
        responseBodyDecoder: allConverters.availablePowerSource,
    },
    getPowerSourceVoltage: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/power-source-voltage',
        path: '/3//7',
        responseBodyDecoder: allConverters.uint32,
    },
    getMemoryFree: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/memory-free',
        path: '/3//10',
        responseBodyDecoder: allConverters.uint32,
    },
    getLastErrorCode: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/last-error-code',
        path: '/3//11',
        responseBodyDecoder: allConverters.uint32,
    },
    postLastErrorCode: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/last-error-code',
        path: '/3//11',
        bodyEncoder: allConverters.uint32,
    },
    resetLastErrorCode: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/reset-last-error-code',
        path: '/3//12',
    },
    getCurrentTime: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/current-time',
        path: '/3//13',
        responseBodyDecoder: allConverters.uint32,
    },
    setCurrentTime: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/current-time',
        path: '/3//13',
        bodyEncoder: allConverters.uint32,
    },
    putCurrentTime: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/device/current-time',
        path: '/3//13',
        bodyEncoder: allConverters.uint32,
    },
    getJvmErrorCode: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/jvm-error-code',
        path: '/3//14',
        responseBodyDecoder: allConverters.uint32,
    },
    setJvmErrorCode: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/jvm-error-code',
        path: '/3//14',
        bodyEncoder: allConverters.uint32,
    },
    getInternalStatus: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/internal-status',
        path: '/3//15',
        responseBodyDecoder: allConverters.ascii,
    },
    getCommunicationUid: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/communication-uid',
        path: '/3//16',
    },
    getTemperature: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/temperature',
        path: '/3//17',
        responseBodyDecoder: allConverters.int32,
    },
    getCpuFrequency: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/device/cpu-frequency',
        path: '/3//141',
        responseBodyDecoder: allConverters.deviceCpuFrequencyOptions,
    },
    setCpuFrequency: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/cpu-frequency',
        path: '/3//141',
        bodyEncoder: allConverters.deviceCpuFrequencyOptions,
    },
    activateStopMode: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/device/activate-stop-mode',
        path: '/3//142',
        bodyEncoder: allConverters.uint8,
    },
};
//# sourceMappingURL=data:application/json;base64, 