@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
33 lines • 1.65 kB
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const GetWorkflowInstancesListRequest$inboundSchema = z.object({
accountId: z.string(),
workflowId: z.string(),
});
/** @internal */
export const GetWorkflowInstancesListRequest$outboundSchema = z.object({
accountId: z.string(),
workflowId: z.string(),
});
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export var GetWorkflowInstancesListRequest$;
(function (GetWorkflowInstancesListRequest$) {
/** @deprecated use `GetWorkflowInstancesListRequest$inboundSchema` instead. */
GetWorkflowInstancesListRequest$.inboundSchema = GetWorkflowInstancesListRequest$inboundSchema;
/** @deprecated use `GetWorkflowInstancesListRequest$outboundSchema` instead. */
GetWorkflowInstancesListRequest$.outboundSchema = GetWorkflowInstancesListRequest$outboundSchema;
})(GetWorkflowInstancesListRequest$ || (GetWorkflowInstancesListRequest$ = {}));
export function getWorkflowInstancesListRequestToJSON(getWorkflowInstancesListRequest) {
return JSON.stringify(GetWorkflowInstancesListRequest$outboundSchema.parse(getWorkflowInstancesListRequest));
}
export function getWorkflowInstancesListRequestFromJSON(jsonString) {
return safeParse(jsonString, (x) => GetWorkflowInstancesListRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetWorkflowInstancesListRequest' from JSON`);
}
//# sourceMappingURL=getworkflowinstanceslist.js.map