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