UNPKG

zeebe-node

Version:

The Node.js client library for the Zeebe Workflow Automation Engine.

21 lines (20 loc) 676 B
import { Job } from './interfaces-1.0'; import { ActivatedJob } from './interfaces-grpc-1.0'; export declare function parseVariables<T extends { variables: string; }>(response: T): T & { variables: JSONDoc; }; export declare function parseVariablesAndCustomHeadersToJSON<Variables, CustomHeaders>(response: ActivatedJob): Job<Variables, CustomHeaders>; export declare function stringifyVariables<K, T extends { variables: K extends { [key: string]: any; } ? K : K; }, V extends T & { variables: string; }>(request: T): V; declare type JSON = string | number | boolean | JSON[] | JSONDoc[]; interface JSONDoc { [key: string]: JSON; } export {};