/* * 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"; /** * Status of refund. Maps to: QBO (limited status), NetSuite CashRefund status, Sage Intacct state (draft/posted/voided), Zoho Books vis_state. */ export const RefundStatus = { Draft: "draft", Authorised: "authorised", Posted: "posted", Paid: "paid", Voided: "voided", Deleted: "deleted", } as const; /** * Status of refund. Maps to: QBO (limited status), NetSuite CashRefund status, Sage Intacct state (draft/posted/voided), Zoho Books vis_state. */ export type RefundStatus = OpenEnum; /** @internal */ export const RefundStatus$inboundSchema: z.ZodType< RefundStatus, z.ZodTypeDef, unknown > = /* @__PURE__ */ lazySchema$(() => openEnums.inboundSchema(RefundStatus)); /** @internal */ export const RefundStatus$outboundSchema: z.ZodType< string, z.ZodTypeDef, RefundStatus > = /* @__PURE__ */ lazySchema$(() => openEnums.outboundSchema(RefundStatus));