UNPKG

@skriptfabrik/n8n-nodes-google-enhanced

Version:
8 lines (7 loc) 772 B
import FormData from 'form-data'; import type { IDataObject, IExecuteFunctions, ILoadOptionsFunctions, IRequestOptions } from 'n8n-workflow'; import { Readable } from 'stream'; export declare function createMultipartForm(metadata: IDataObject, content: string | Buffer | Readable, contentType: string, knownLength: number): FormData; export declare function parseBodyData(bodyData: IDataObject, fields: string[]): IDataObject; export declare function requestAccessToken(this: IExecuteFunctions | ILoadOptionsFunctions, credentialsType: string, scopes: string[]): Promise<IDataObject>; export declare function requestServiceAccount(this: IExecuteFunctions | ILoadOptionsFunctions, credentialsType: string, options: IRequestOptions, scopes: string[]): Promise<IDataObject>;