@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
44 lines • 2.23 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* Indicates that the ability to create new workflow instances from this workflow has been resumed.
*
* @remarks
* Existing workflow instances will be unaffected.
*/
export type ResumeNewWorkflowInstancesSuccess = {
/**
* Represents the new state of a workflow's mechanism to permit new workflow instances from being created.
*
* @remarks
* Valid values include:
*
* - active
* - paused
*/
status?: string | undefined;
};
/** @internal */
export declare const ResumeNewWorkflowInstancesSuccess$inboundSchema: z.ZodType<ResumeNewWorkflowInstancesSuccess, z.ZodTypeDef, unknown>;
/** @internal */
export type ResumeNewWorkflowInstancesSuccess$Outbound = {
status?: string | undefined;
};
/** @internal */
export declare const ResumeNewWorkflowInstancesSuccess$outboundSchema: z.ZodType<ResumeNewWorkflowInstancesSuccess$Outbound, z.ZodTypeDef, ResumeNewWorkflowInstancesSuccess>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace ResumeNewWorkflowInstancesSuccess$ {
/** @deprecated use `ResumeNewWorkflowInstancesSuccess$inboundSchema` instead. */
const inboundSchema: z.ZodType<ResumeNewWorkflowInstancesSuccess, z.ZodTypeDef, unknown>;
/** @deprecated use `ResumeNewWorkflowInstancesSuccess$outboundSchema` instead. */
const outboundSchema: z.ZodType<ResumeNewWorkflowInstancesSuccess$Outbound, z.ZodTypeDef, ResumeNewWorkflowInstancesSuccess>;
/** @deprecated use `ResumeNewWorkflowInstancesSuccess$Outbound` instead. */
type Outbound = ResumeNewWorkflowInstancesSuccess$Outbound;
}
export declare function resumeNewWorkflowInstancesSuccessToJSON(resumeNewWorkflowInstancesSuccess: ResumeNewWorkflowInstancesSuccess): string;
export declare function resumeNewWorkflowInstancesSuccessFromJSON(jsonString: string): SafeParseResult<ResumeNewWorkflowInstancesSuccess, SDKValidationError>;
//# sourceMappingURL=resumenewworkflowinstancessuccess.d.ts.map