UNPKG

@sasjs/adapter

Version:

JavaScript adapter for SAS

14 lines (13 loc) 635 B
import { RequestClient } from '../../request/RequestClient'; /** * Uploads tables to SAS as specially formatted CSVs. * This is more compact than JSON, and easier to read within SAS. * @param requestClient - the pre-configured HTTP request client * @param data - the JSON representation of the data to be uploaded * @param accessToken - an optional access token for authentication/authorization * The access token is not required when uploading tables from the browser. */ export declare function uploadTables(requestClient: RequestClient, data: any, accessToken?: string): Promise<{ tableName: string; file: any; }[]>;