UNPKG

sfdx-hardis

Version:

Swiss-army-knife Toolbox for Salesforce. Allows you to define a complete CD/CD Pipeline. Orchestrate base commands and assist users with interactive wizards

21 lines (20 loc) 549 B
import { Connection } from "@salesforce/core"; import { FetchOptions } from 'make-fetch-happen'; export declare class FileDownloader { conn: Connection; downloadUrl: string; outputFile: string | null; fetchOptions: any; label: string; constructor(downloadUrl: string, options: { conn?: any; outputFile?: string; fetchOptions?: FetchOptions; label?: 'url' | 'file' | 'both'; }); download(): Promise<{ success: boolean; outputFile: string; error?: any; }>; }