splid-js-googlesheet-updater/node_modules/splid-js/dist/cjs/methods/getFileWrapper.d.ts
2025-05-27 21:06:02 +02:00

29 lines
946 B
TypeScript

import { RequestConfig } from '../requestConfig';
import { IsoTime } from '../types/primitives';
export interface GetFileWrapperResponse {
success: {
result: {
dataID: string;
file: {
__type: 'File';
/** e.g. 'b03cbab8414d498e3fb9aa962ebbd2d5_file.bin' */
name: string;
/** e.g. 'https://splidfiles.s3.amazonaws.com/b03cbab8414d498e3fb9aa962ebbd2d5_file.bin' */
url: string;
};
createdAt: IsoTime;
updatedAt: IsoTime;
objectId: string;
__type: 'Object';
className: 'FileWrapper';
};
};
}
export declare function getFileWrapper(_: RequestConfig, dataID: string): {
readonly id: "getFileWrapper";
readonly path: "/parse/functions/getFileWrapper";
readonly method: "POST";
readonly body: {
readonly dataID: string;
};
};