@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
42 lines • 2.02 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ResponseMetadata, ResponseMetadata$Outbound } from "./responsemetadata.js";
import { Workflow, Workflow$Outbound } from "./workflow.js";
/**
* A list of workflows has been successfully returned.
*/
export type WorkflowsListSuccess = {
/**
* A list of workflows
*/
data?: Array<Workflow> | undefined;
/**
* Control information and metadata for the response.
*/
responseMetadata?: ResponseMetadata | undefined;
};
/** @internal */
export declare const WorkflowsListSuccess$inboundSchema: z.ZodType<WorkflowsListSuccess, z.ZodTypeDef, unknown>;
/** @internal */
export type WorkflowsListSuccess$Outbound = {
data?: Array<Workflow$Outbound> | undefined;
response_metadata?: ResponseMetadata$Outbound | undefined;
};
/** @internal */
export declare const WorkflowsListSuccess$outboundSchema: z.ZodType<WorkflowsListSuccess$Outbound, z.ZodTypeDef, WorkflowsListSuccess>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace WorkflowsListSuccess$ {
/** @deprecated use `WorkflowsListSuccess$inboundSchema` instead. */
const inboundSchema: z.ZodType<WorkflowsListSuccess, z.ZodTypeDef, unknown>;
/** @deprecated use `WorkflowsListSuccess$outboundSchema` instead. */
const outboundSchema: z.ZodType<WorkflowsListSuccess$Outbound, z.ZodTypeDef, WorkflowsListSuccess>;
/** @deprecated use `WorkflowsListSuccess$Outbound` instead. */
type Outbound = WorkflowsListSuccess$Outbound;
}
export declare function workflowsListSuccessToJSON(workflowsListSuccess: WorkflowsListSuccess): string;
export declare function workflowsListSuccessFromJSON(jsonString: string): SafeParseResult<WorkflowsListSuccess, SDKValidationError>;
//# sourceMappingURL=workflowslistsuccess.d.ts.map