UNPKG

@docusign/iam-sdk

Version:

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

44 lines 1.83 kB
import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ResourceMetadata, ResourceMetadata$Outbound } from "./resourcemetadata.js"; export type Workflow = { id?: string | undefined; /** * A user-provided name for this workflow */ name?: string | undefined; accountId?: string | undefined; /** * Indicates the readiness and deployment status of a workflow */ status?: string | undefined; metadata?: ResourceMetadata | undefined; }; /** @internal */ export declare const Workflow$inboundSchema: z.ZodType<Workflow, z.ZodTypeDef, unknown>; /** @internal */ export type Workflow$Outbound = { id?: string | undefined; name?: string | undefined; account_id?: string | undefined; status?: string | undefined; metadata?: ResourceMetadata$Outbound | undefined; }; /** @internal */ export declare const Workflow$outboundSchema: z.ZodType<Workflow$Outbound, z.ZodTypeDef, Workflow>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Workflow$ { /** @deprecated use `Workflow$inboundSchema` instead. */ const inboundSchema: z.ZodType<Workflow, z.ZodTypeDef, unknown>; /** @deprecated use `Workflow$outboundSchema` instead. */ const outboundSchema: z.ZodType<Workflow$Outbound, z.ZodTypeDef, Workflow>; /** @deprecated use `Workflow$Outbound` instead. */ type Outbound = Workflow$Outbound; } export declare function workflowToJSON(workflow: Workflow): string; export declare function workflowFromJSON(jsonString: string): SafeParseResult<Workflow, SDKValidationError>; //# sourceMappingURL=workflow.d.ts.map