import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The type of receipt being requested. */ export declare const Kind: { readonly SaleCustomerV1: "sale.customer.v1"; }; /** * The type of receipt being requested. */ export type Kind = ClosedEnum; /** * A receipt request for a specific transfer, schedule, or schedule occurrence. */ export type ReceiptRequest = { kind: Kind; /** * The email address to send the receipt to. * * @remarks * Either email or emailAccountID must be provided, but not both. */ email?: string | undefined; /** * The accountID to send the receipt to. * * @remarks * Either email or emailAccountID must be provided, but not both. */ emailAccountID?: string | undefined; /** * The ID of the transfer associated with this receipt. * * @remarks * Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided. */ forTransferID?: string | undefined; /** * The ID of the schedule associated with this receipt. * * @remarks * Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided. */ forScheduleID?: string | undefined; /** * The ID of the schedule occurrence associated with this receipt. * * @remarks * Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided. */ forOccurrenceID?: string | undefined; }; /** @internal */ export declare const Kind$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Kind$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ReceiptRequest$inboundSchema: z.ZodType; /** @internal */ export type ReceiptRequest$Outbound = { kind: string; email?: string | undefined; emailAccountID?: string | undefined; forTransferID?: string | undefined; forScheduleID?: string | undefined; forOccurrenceID?: string | undefined; }; /** @internal */ export declare const ReceiptRequest$outboundSchema: z.ZodType; export declare function receiptRequestToJSON(receiptRequest: ReceiptRequest): string; export declare function receiptRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=receiptrequest.d.ts.map