@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
44 lines • 2.22 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* Indicates that a workflow has been successfully paused. New instances of this workflow will not be created.
*
* @remarks
* Existing workflow instances will be unaffected.
*/
export type PauseNewWorkflowInstancesSuccess = {
/**
* 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 PauseNewWorkflowInstancesSuccess$inboundSchema: z.ZodType<PauseNewWorkflowInstancesSuccess, z.ZodTypeDef, unknown>;
/** @internal */
export type PauseNewWorkflowInstancesSuccess$Outbound = {
status?: string | undefined;
};
/** @internal */
export declare const PauseNewWorkflowInstancesSuccess$outboundSchema: z.ZodType<PauseNewWorkflowInstancesSuccess$Outbound, z.ZodTypeDef, PauseNewWorkflowInstancesSuccess>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace PauseNewWorkflowInstancesSuccess$ {
/** @deprecated use `PauseNewWorkflowInstancesSuccess$inboundSchema` instead. */
const inboundSchema: z.ZodType<PauseNewWorkflowInstancesSuccess, z.ZodTypeDef, unknown>;
/** @deprecated use `PauseNewWorkflowInstancesSuccess$outboundSchema` instead. */
const outboundSchema: z.ZodType<PauseNewWorkflowInstancesSuccess$Outbound, z.ZodTypeDef, PauseNewWorkflowInstancesSuccess>;
/** @deprecated use `PauseNewWorkflowInstancesSuccess$Outbound` instead. */
type Outbound = PauseNewWorkflowInstancesSuccess$Outbound;
}
export declare function pauseNewWorkflowInstancesSuccessToJSON(pauseNewWorkflowInstancesSuccess: PauseNewWorkflowInstancesSuccess): string;
export declare function pauseNewWorkflowInstancesSuccessFromJSON(jsonString: string): SafeParseResult<PauseNewWorkflowInstancesSuccess, SDKValidationError>;
//# sourceMappingURL=pausenewworkflowinstancessuccess.d.ts.map