/**
 *   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 = {
    getName: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/group/{groupId}/name",
        path: "/1025/{groupId}/0",
        responseBodyDecoder: allConverters.ascii
    },
    putName: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/group/{groupId}/name",
        path: "/1025/{groupId}/0",
        bodyEncoder: allConverters.ascii
    },
    changePassword: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/group/{groupId}/password",
        path: "/1025/{groupId}/2",
        bodyEncoder: allConverters.ascii
    },
    changePasswordKey: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "/group/{groupId}/password-key",
        path: "/1025/{groupId}/2"
    },
    getSessionLifetime: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/group/{groupId}/session-lifetime",
        path: "/1025/{groupId}/4",
        responseBodyDecoder: allConverters.uint16
    },
    putSessionLifetime: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/group/{groupId}/session-lifetime",
        path: "/1025/{groupId}/4",
        bodyEncoder: allConverters.uint16
    },
    getAlias: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: "/group/{groupId}/alias",
        path: "/1025/{groupId}/5",
        responseBodyDecoder: allConverters.uint16
    },
    putAlias: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: "/group/{groupId}/alias",
        path: "/1025/{groupId}/5",
        bodyEncoder: allConverters.uint16
    },
    create: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: "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