@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
23 lines • 1.13 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* A key-value pair where the key is the `field_name` defined in the `trigger_input_schema` of the workflow definition,
*
* @remarks
* and the value is the actual input data. Supported types include string, number, boolean, object, or array.
*/
export type TriggerInputs = string | number | boolean | {
[k: string]: any;
} | Array<any>;
/** @internal */
export declare const TriggerInputs$inboundSchema: z.ZodType<TriggerInputs, z.ZodTypeDef, unknown>;
/** @internal */
export type TriggerInputs$Outbound = string | number | boolean | {
[k: string]: any;
} | Array<any>;
/** @internal */
export declare const TriggerInputs$outboundSchema: z.ZodType<TriggerInputs$Outbound, z.ZodTypeDef, TriggerInputs>;
export declare function triggerInputsToJSON(triggerInputs: TriggerInputs): string;
export declare function triggerInputsFromJSON(jsonString: string): SafeParseResult<TriggerInputs, SDKValidationError>;
//# sourceMappingURL=triggerinputs.d.ts.map