/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { lazySchema as lazySchema$ } from "../../lib/schemas.js"; import * as openEnums from "../../types/enums.js"; import { OpenEnum } from "../../types/enums.js"; /** * Type of payment */ export const PaymentType = { AccountsReceivable: "accounts_receivable", AccountsPayable: "accounts_payable", AccountsReceivableCredit: "accounts_receivable_credit", AccountsPayableCredit: "accounts_payable_credit", AccountsReceivableOverpayment: "accounts_receivable_overpayment", AccountsPayableOverpayment: "accounts_payable_overpayment", AccountsReceivablePrepayment: "accounts_receivable_prepayment", AccountsPayablePrepayment: "accounts_payable_prepayment", } as const; /** * Type of payment */ export type PaymentType = OpenEnum; /** @internal */ export const PaymentType$inboundSchema: z.ZodType< PaymentType, z.ZodTypeDef, unknown > = /* @__PURE__ */ lazySchema$(() => openEnums.inboundSchema(PaymentType)); /** @internal */ export const PaymentType$outboundSchema: z.ZodType< string, z.ZodTypeDef, PaymentType > = /* @__PURE__ */ lazySchema$(() => openEnums.outboundSchema(PaymentType));