/**
 *   Generated file. Do not edit
 */
import { TapRequestFrame } from '@iotize/tap/client/api';
import * as serviceConverters from './service-converters';
import { converters as commonConverters } from '@iotize/tap/service/core';
const allConverters = Object.assign(Object.assign({}, commonConverters), serviceConverters);
export const 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,
    },
    getDataLogCryptoGroupId: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/bundle/{bundleId}/data-log-crypto-group-id',
        path: '/1028/{bundleId}/3',
        responseBodyDecoder: allConverters.uint16,
    },
    putDataLogCryptoGroupId: {
        method: TapRequestFrame.MethodType.PUT,
        pathAlias: '/bundle/{bundleId}/data-log-crypto-group-id',
        path: '/1028/{bundleId}/3',
        bodyEncoder: allConverters.uint16,
    },
    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,eyJ2ZXJza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