UNPKG

@vzeta/zeebe-node-test

Version:

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

19 lines (18 loc) 613 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<T extends { variables: { [key: string]: any; }; }>(request: T): T; declare type JSON = string | number | boolean | JSON[] | JSONDoc[]; interface JSONDoc { [key: string]: JSON; } export {};