/**
 *   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 = {
    login: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/scram/login",
        path: "/1024//40",
        responseBodyDecoder: allConverters.scramLoginResponseBody,
        bodyEncoder: allConverters.scramLoginParams
    },
    loginProof: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/scram/login-proof",
        path: "/1024//41"
    },
    getHashIteration: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/scram/hash-iteration",
        path: "/1024//42",
        responseBodyDecoder: allConverters.uint32
    },
    putHashIteration: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/scram/hash-iteration",
        path: "/1024//42",
        bodyEncoder: allConverters.uint16
    },
    initialize: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/scram/initialize",
        path: "/1024//47"
    },
    send: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/scram/com-send-receive",
        path: "/1024//48"
    },
    setInitializationVector: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/scram/initialization-vector",
        path: "/1024//45"
    },
    sendWithIV: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/scram/send-with-iv",
        path: "/1024//44",
        responseBodyDecoder: allConverters.encryptedIVResponse,
        bodyEncoder: allConverters.encryptedIVRequest
    }
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1jYWxscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvd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