UNPKG

@docusign/iam-sdk

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.

40 lines (34 loc) 1.02 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type GetWorkflowInstancesListRequest = { /** * The unique identifier of the account. */ accountId?: string | undefined; workflowId?: string | undefined; }; /** @internal */ export type GetWorkflowInstancesListRequest$Outbound = { accountId: string; workflowId: string; }; /** @internal */ export const GetWorkflowInstancesListRequest$outboundSchema: z.ZodType< GetWorkflowInstancesListRequest$Outbound, z.ZodTypeDef, GetWorkflowInstancesListRequest > = z.object({ accountId: z.string().default("00000000-0000-0000-0000-000000000000"), workflowId: z.string().default("00000000-0000-0000-0000-000000000000"), }); export function getWorkflowInstancesListRequestToJSON( getWorkflowInstancesListRequest: GetWorkflowInstancesListRequest, ): string { return JSON.stringify( GetWorkflowInstancesListRequest$outboundSchema.parse( getWorkflowInstancesListRequest, ), ); }