@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
38 lines (32 loc) • 850 B
text/typescript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v3";
/**
* Request body for changing an agreement's type.
*/
export type ChangeAgreementTypeRequest = {
/**
* The name of the target agreement type from the agreement-types collection.
*/
type: string;
};
/** @internal */
export type ChangeAgreementTypeRequest$Outbound = {
type: string;
};
/** @internal */
export const ChangeAgreementTypeRequest$outboundSchema: z.ZodType<
ChangeAgreementTypeRequest$Outbound,
z.ZodTypeDef,
ChangeAgreementTypeRequest
> = z.object({
type: z.string(),
});
export function changeAgreementTypeRequestToJSON(
changeAgreementTypeRequest: ChangeAgreementTypeRequest,
): string {
return JSON.stringify(
ChangeAgreementTypeRequest$outboundSchema.parse(changeAgreementTypeRequest),
);
}