/**
 *   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 = {
    selectFile: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/select-file',
        path: '/1032//1',
        bodyEncoder: allConverters.ascii,
    },
    unselectFile: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/unselect-file',
        path: '/1032//2',
    },
    writeSelectedFile: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/write-selected-file',
        path: '/1032//3',
    },
    setSelectedFileBundleId: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/selected-file-bundle-id',
        path: '/1032//10',
        bodyEncoder: allConverters.uint16,
    },
    setSelectedFileUserId: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/selected-file-user-id',
        path: '/1032//11',
        bodyEncoder: allConverters.uint16,
    },
    readSelectedFile: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/file-system/read-selected-file',
        path: '/1032//4',
        bodyEncoder: allConverters.readSelectedFileParams,
    },
    deleteSelectedFile: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/delete-selected-file',
        path: '/1032//6',
    },
    clearAllFiles: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/clear-all-files',
        path: '/1032//7',
    },
    getSelectedFileSize: {
        method: TapRequestFrame.MethodType.GET,
        pathAlias: '/file-system/selected-file-size',
        path: '/1032//5',
        responseBodyDecoder: allConverters.uint32,
    },
    listFiles: {
        method: TapRequestFrame.MethodType.POST,
        pathAlias: '/file-system/list-files',
        path: '/1032//9',
    },
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1jYWxscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4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