/**
 *   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 * as customConverters from "../custom/converter-map";
var allConverters = __assign(__assign(__assign({}, commonConverters), serviceConverters), customConverters);
export var SERVICE_CALLS = {
    getProtocolConfiguration: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/tapnpass/protocol-configuration",
        path: "/1027//21",
        responseBodyDecoder: allConverters.reversedTapnpassProtocolConfiguration
    },
    setProtocolConfiguration: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/tapnpass/protocol-configuration",
        path: "/1027//21",
        bodyEncoder: allConverters.reversedTapnpassProtocolConfiguration
    },
    putProtocolConfiguration: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/tapnpass/protocol-configuration",
        path: "/1027//21",
        bodyEncoder: allConverters.reversedTapnpassProtocolConfiguration
    },
    getStatus: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/tapnpass/status",
        path: "/1027//36",
        responseBodyDecoder: allConverters.adpStats
    },
    postAction: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/tapnpass/action",
        path: "/1027//39"
    },
    getControlIn: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/tapnpass/control-in",
        path: "/1027//41",
        responseBodyDecoder: allConverters.adpControlIn
    },
    setControlIn: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/tapnpass/control-in",
        path: "/1027//41",
        bodyEncoder: allConverters.adpControlIn
    },
    getControlOut: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/tapnpass/control-out",
        path: "/1027//42",
        responseBodyDecoder: allConverters.adpControlOut
    },
    setAdpControlOut: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/tapnpass/control-out",
        path: "/1027//42",
        responseBodyDecoder: allConverters.adpControlOut,
        bodyEncoder: allConverters.adpControlOut
    }
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1jYWxscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL3NlcnZpY2UvaW1wbC90YXBucGFzcy8iLCJzb3VyY2VzIjpbImxpYi9nZW5lcmF0ZWQvc2VydmljZS1jYWxscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRzs7Ozs7Ozs7Ozs7O0FBUUgsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3pELE9BQU8sS0FBSyxpQkFBaUIsTUFBTSxzQkFBc0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsVUFBVSxJQUFJLGdCQUFnQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFMUUsT0FBTyxLQUFLLGdCQUFnQixNQUFNLHlCQUF5QixDQUFDO0FBRTVELElBQU0sYUFBYSxrQ0FDZCxnQkFBZ0IsR0FDaEIsaUJBQWlCLEdBQ2pCLGdCQUFnQixDQUNwQixDQUFDO0FBRUYsTUFBTSxDQUFDLElBQU0sYUFBYSxHQUFHO0lBQzNCLHdCQUF3QixFQUFFO1FBQ3hCLE1BQU0sRUFBRSxlQUFlLENBQUMsVUFBVSxDQUFDLEdBQUc7UUFDdEMsU0FBUyxFQUFFLGtDQUFrQztRQUM3QyxJQUFJLEVBQUUsV0FBVztRQUNqQixtQkFBbUIsRUFBRSxhQUFhLENBQUMscUNBQXFDO0tBQ2pCO0lBRXpELHdCQUF3QixFQUFFO1FBQ3hCLE1BQU0sRUFBRSxlQUFlLENBQUMsVUFBVSxDQUFDLElBQUk7UUFDdkMsU0FBUyxFQUFFLGtDQUFrQ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