UNPKG

digi-tech-sdk

Version:

SDK oficial para integrar con la API de Digi

15 lines (14 loc) 420 B
import { RecordService } from './record'; import { DigiConfig, FileResponse } from './types'; export declare class DigiSDK { private authManager; private client; record: RecordService; constructor(config: DigiConfig); /** * Gets a file from a URL * @param fileUrl The URL of the file * @returns The file content as base64 */ getFile(fileUrl: string): Promise<FileResponse>; }