/**
 *   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 { bundleConverters } from "@iotize/tap/service/impl/bundle";
var allConverters = __assign(__assign(__assign({}, commonConverters), serviceConverters), bundleConverters);
export var SERVICE_CALLS = {
    getVariableAddress: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/variable-address",
        path: "/1029/{variableId}/0",
        responseBodyDecoder: allConverters.uint32
    },
    putVariableAddress: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/variable-address",
        path: "/1029/{variableId}/0",
        bodyEncoder: allConverters.uint32
    },
    putModbusVariableAddress: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/modbus-variable-address",
        path: "/1029/{variableId}/0",
        bodyEncoder: allConverters.modbusVariableAddress
    },
    getType: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/type",
        path: "/1029/{variableId}/1",
        responseBodyDecoder: allConverters.variableType
    },
    putType: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/type",
        path: "/1029/{variableId}/1",
        bodyEncoder: allConverters.variableType
    },
    getRawMeta: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/raw-meta",
        path: "/1029/{variableId}/8"
    },
    putRawMeta: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/raw-meta",
        path: "/1029/{variableId}/8"
    },
    getMeta: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/meta",
        path: "/1029/{variableId}/8",
        responseBodyDecoder: allConverters.variableMeta
    },
    putMeta: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/meta",
        path: "/1029/{variableId}/8",
        bodyEncoder: allConverters.variableMeta
    },
    getUnit: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/unit",
        path: "/1029/{variableId}/9",
        responseBodyDecoder: allConverters.ascii
    },
    putUnit: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/unit",
        path: "/1029/{variableId}/9",
        bodyEncoder: allConverters.ascii
    },
    getNumberOfElements: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/number-of-elements",
        path: "/1029/{variableId}/2",
        responseBodyDecoder: allConverters.uint8
    },
    putNumberOfElements: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/number-of-elements",
        path: "/1029/{variableId}/2",
        bodyEncoder: allConverters.uint8
    },
    getCurrentAccess: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/current-access",
        path: "/1029/{variableId}/3",
        responseBodyDecoder: allConverters.readWriteRights
    },
    readProfile: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/read-profile",
        path: "/1029//4"
    },
    getValue: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/value",
        path: "/1029/{variableId}/4"
    },
    setValue: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/variable/{variableId}/value",
        path: "/1029/{variableId}/5"
    },
    putValue: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/value",
        path: "/1029/{variableId}/4"
    },
    getBundleId: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/bundle/id",
        path: "/1029/{variableId}/6",
        responseBodyDecoder: allConverters.uint16
    },
    putBundleId: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/variable/{variableId}/bundle/id",
        path: "/1029/{variableId}/6",
        bodyEncoder: allConverters.uint16
    },
    getBundleValues: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/variable/{variableId}/bundle/values",
        path: "/1029/{variableId}/7"
    },
    create: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/variable/{variableId}/create",
        path: "/1029/{variableId}/65535",
        bodyEncoder: allConverters.uint8
    }
};
//# sourceMappingURL=data:application/json;base64, 