/**
 *   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";
var allConverters = __assign(__assign({}, commonConverters), serviceConverters);
export var SERVICE_CALLS = {
    putAcl: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/bundle/{bundleId}/acl",
        path: "/1028/{bundleId}/0",
        bodyEncoder: allConverters.readWriteRights
    },
    getValues: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/bundle/{bundleId}/values",
        path: "/1028/{bundleId}/1"
    },
    getDataLogPeriod: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/bundle/{bundleId}/data-log-period",
        path: "/1028/{bundleId}/2",
        responseBodyDecoder: allConverters.uint32
    },
    putDataLogPeriod: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/bundle/{bundleId}/data-log-period",
        path: "/1028/{bundleId}/2",
        bodyEncoder: allConverters.uint32
    },
    create: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/bundle/{bundleId}/create",
        path: "/1028/{bundleId}/65535"
    },
    getName: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/bundle/{bundleId}/name",
        path: "/1028/{bundleId}/4",
        responseBodyDecoder: allConverters.ascii
    },
    putName: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/bundle/{bundleId}/name",
        path: "/1028/{bundleId}/4",
        bodyEncoder: allConverters.ascii
    }
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1jYWxscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL3NlcnZpY2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