UNPKG

@apify/n8n-nodes-apify

Version:
14 lines (13 loc) 1.08 kB
import { type IExecuteFunctions, type IHookFunctions, type ILoadOptionsFunctions, type IRequestOptions } from 'n8n-workflow'; type IApiRequestOptions = IRequestOptions & { uri?: string; }; export declare function apiRequest(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, requestOptions: IApiRequestOptions): Promise<any>; export declare function apiRequestAllItems(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, requestOptions: IApiRequestOptions): Promise<any>; export declare function pollRunStatus(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, runId: string): Promise<any>; export declare function getActorOrTaskId(this: IHookFunctions): string; export declare function getCondition(this: IHookFunctions, resource: string, id: string): object; export declare function normalizeEventTypes(selected: string[]): string[]; export declare function generateIdempotencyKey(resource: string, actorOrTaskId: string, eventTypes: string[]): string; export declare function compose(...fns: Function[]): (x: any) => any; export {};