/**
 *   Generated file. Do not edit
 */
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 { TapRequestFrame } from "@iotize/tap/client/api";
import * as serviceConverters from "./service-converters";
import { converters as commonConverters } from "@iotize/tap/service/core";
import { singlePacketConverters } from "@iotize/tap/service/impl/single-packet";
var allConverters = __assign(__assign(__assign({}, commonConverters), serviceConverters), singlePacketConverters);
export var SERVICE_CALLS = {
    getMaxPacketCount: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/data-log/max-packet-count",
        path: "/1024//23",
        responseBodyDecoder: allConverters.uint16
    },
    isRunning: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/data-log/run",
        path: "/1031//0",
        responseBodyDecoder: allConverters.boolean
    },
    run: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/data-log/run",
        path: "/1031//0"
    },
    stop: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/data-log/stop",
        path: "/1031//1"
    },
    getOptions: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/data-log/options",
        path: "/1031//2",
        responseBodyDecoder: allConverters.dataLogOption
    },
    putOptions: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/data-log/options",
        path: "/1031//2",
        bodyEncoder: allConverters.dataLogOption
    },
    putCryptoKey: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/data-log/crypto-key",
        path: "/1031//3"
    },
    flush: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/data-log/flush",
        path: "/1031//4"
    },
    getPacketCount: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/data-log/packet-count",
        path: "/1031//10",
        responseBodyDecoder: allConverters.uint16
    },
    dequeueOnePacket: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/data-log/dequeue-packet",
        path: "/1031//11",
        responseBodyDecoder: allConverters.singlePacket
    }
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1jYWxscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL3NlcnZpY2UvaW1wbC9kYXRhLWxvZy8iLCJzb3VyY2VzIjpbImxpYi9nZW5lcmF0ZWQvc2VydmljZS1jYWxscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRzs7Ozs7Ozs7Ozs7O0FBS0gsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3pELE9BQU8sS0FBSyxpQkFBaUIsTUFBTSxzQkFBc0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsVUFBVSxJQUFJLGdCQUFnQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFMUUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFFaEYsSUFBTSxhQUFhLGtDQUNkLGdCQUFnQixHQUNoQixpQkFBaUIsR0FFakIsc0JBQXNCLENBQzFCLENBQUM7QUFFRixNQUFNLENBQUMsSUFBTSxhQUFhLEdBQUc7SUFDM0IsaUJBQWlCLEVBQUU7UUFDakIsTUFBTSxFQUFFLGVBQWUsQ0FBQyxVQUFVLENBQUMsR0FBRztRQUN0QyxTQUFTLEVBQUUsNEJBQTRCO1FBQ3ZDLElBQUksRUFBRSxXQUFXO1FBQ2pCLG1CQUFtQixFQUFFLGFBQWEsQ0FBQyxNQUFNO0tBQ1Q7SUFFbEMsU0FBUyxFQUFFO1FBQ1QsTUFBTSxFQUFFLGVBQWUsQ0FBQyxVQUFVLENBQUMsR0FBRztRQUN0QyxTQUFTLEVBQUUsZUFBZTtRQUMxQixJQUFJLEVBQUUsVUFBVTtRQUNoQixtQkFBbUIsRUFBRSxhQUFhLENBQUMsT0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