export interface TriggerScriptOptions { /** * Name of the function within the given script. * Defaults to the default function within the script */ functionName?: string; /** * The payload to pass to the given script */ payload?: Record; /** * Options for retrying the API call when the request gets rate limited (429 response). * * Default: enabled */ retryOn429?: { /** * Whether the API call is automatically retried when the request gets rate limited (429 response). * * Default: true */ enabled?: boolean; /** * Whether to log every retried request attempt in the console. * * Default: true */ verbose?: boolean; }; } export interface TriggerScriptInternalResponse { result?: TriggerScriptResponse; error?: TriggerScriptError; } export interface TriggerScriptResponse { invocationId: string; } export interface TriggerScriptError { code: number; message: string; } //# sourceMappingURL=types.d.ts.map