@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
39 lines • 1.94 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type CancelWorkflowInstanceRequest = {
/**
* The unique identifier of the account.
*/
accountId: string;
workflowId: string;
/**
* Unique identifier for the workflow instance
*/
instanceId: string;
};
/** @internal */
export declare const CancelWorkflowInstanceRequest$inboundSchema: z.ZodType<CancelWorkflowInstanceRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CancelWorkflowInstanceRequest$Outbound = {
accountId: string;
workflowId: string;
instanceId: string;
};
/** @internal */
export declare const CancelWorkflowInstanceRequest$outboundSchema: z.ZodType<CancelWorkflowInstanceRequest$Outbound, z.ZodTypeDef, CancelWorkflowInstanceRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace CancelWorkflowInstanceRequest$ {
/** @deprecated use `CancelWorkflowInstanceRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<CancelWorkflowInstanceRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `CancelWorkflowInstanceRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<CancelWorkflowInstanceRequest$Outbound, z.ZodTypeDef, CancelWorkflowInstanceRequest>;
/** @deprecated use `CancelWorkflowInstanceRequest$Outbound` instead. */
type Outbound = CancelWorkflowInstanceRequest$Outbound;
}
export declare function cancelWorkflowInstanceRequestToJSON(cancelWorkflowInstanceRequest: CancelWorkflowInstanceRequest): string;
export declare function cancelWorkflowInstanceRequestFromJSON(jsonString: string): SafeParseResult<CancelWorkflowInstanceRequest, SDKValidationError>;
//# sourceMappingURL=cancelworkflowinstance.d.ts.map