@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
35 lines • 1.72 kB
TypeScript
import * as z from "zod";
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>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace TriggerInputs$ {
/** @deprecated use `TriggerInputs$inboundSchema` instead. */
const inboundSchema: z.ZodType<TriggerInputs, z.ZodTypeDef, unknown>;
/** @deprecated use `TriggerInputs$outboundSchema` instead. */
const outboundSchema: z.ZodType<TriggerInputs$Outbound, z.ZodTypeDef, TriggerInputs>;
/** @deprecated use `TriggerInputs$Outbound` instead. */
type Outbound = TriggerInputs$Outbound;
}
export declare function triggerInputsToJSON(triggerInputs: TriggerInputs): string;
export declare function triggerInputsFromJSON(jsonString: string): SafeParseResult<TriggerInputs, SDKValidationError>;
//# sourceMappingURL=triggerinputs.d.ts.map