/**
 *   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',
    },
    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.ascii,
    },
    putCurrentTime: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/device/current-time',
        path: '/3//13',
        bodyEncoder: allConverters.uint32,
    },
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1jYWxscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NlcnZpY2UvaW1wbC9kZXZpY2Uvc3JjL2xpYi9nZW5lcmF0ZWQvc2VydmljZS1jYWxscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUlILE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN6RCxPQUFPLEtBQUssaUJBQWlCLE1BQU0sc0JBQXNCLENBQUM7QUFDMUQsT0FBTyxFQUFFLFVBQVUsSUFBSSxnQkFBZ0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBRTFFLE1BQU0sYUFBYSxtQ0FDZCxnQkFBZ0IsR0FDaEIsaUJBQWlCLENBQ3JCLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUc7SUFDM0IsZUFBZSxFQUFFO1FBQ2YsTUFBTSxFQUFFLGVBQWUsQ0FBQyxVQUFVLENBQUMsR0FBRztRQUN0QyxTQUFTLEVBQUUsc0JBQXNCO1FBQ2pDLElBQUksRUFBRSxPQUFPO1FBQ2IsbUJBQW1CLEVBQUUsYUFBYSxDQUFDLEtBQUs7S0FDUjtJQUVsQyxpQkFBaUIsRUFBRTtRQUNqQixNQUFNLEVBQUUsZUFBZSxDQUFDLFVBQVUsQ0FBQyxHQ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