UNPKG

@docusign/iam-sdk

Version:

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

35 lines 1.28 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; /** * Filter workflows by their status. If provided, only workflows with the specified status will be returned. * * @remarks * - `active`: Returns only active workflows. * - `inactive`: Returns only inactive workflows. * - `publishing`: Returns workflows currently being published. * - `unpublishing`: Returns workflows currently being unpublished. * - `archived`: Returns workflows that have been archived. * - `archiving`: Returns workflows currently being archived. */ export const Status = { Active: "active", Inactive: "inactive", Publishing: "publishing", Unpublishing: "unpublishing", Archived: "archived", Archiving: "archiving", }; /** @internal */ export const Status$outboundSchema = z .nativeEnum(Status); /** @internal */ export const GetWorkflowsListRequest$outboundSchema = z.object({ accountId: z.string().default("00000000-0000-0000-0000-000000000000"), status: Status$outboundSchema.optional(), }); export function getWorkflowsListRequestToJSON(getWorkflowsListRequest) { return JSON.stringify(GetWorkflowsListRequest$outboundSchema.parse(getWorkflowsListRequest)); } //# sourceMappingURL=getworkflowslist.js.map