import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ReceiptKind } from "./receiptkind.js"; import { SentReceipt, SentReceipt$Outbound } from "./sentreceipt.js"; export type ReceiptResponse = { /** * Unique identifier for the receipt request. */ receiptID: string; /** * AccountID for which the receipt request was created. */ createdBy: string; /** * The date and time the receipt was disabled. */ disabledOn?: Date | undefined; /** * The type of receipt. */ kind: ReceiptKind; /** * The email address the receipt is sent to. * * @remarks * Either email or emailAccountID will be in the response, but not both. */ email?: string | undefined; /** * The accountID the receipt is sent to. * * @remarks * Either email or emailAccountID will be in the response, 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; /** * The list of receipts that have been sent. */ sentFor?: Array | undefined; }; /** @internal */ export declare const ReceiptResponse$inboundSchema: z.ZodType; /** @internal */ export type ReceiptResponse$Outbound = { receiptID: string; createdBy: string; disabledOn?: string | undefined; kind: string; email?: string | undefined; emailAccountID?: string | undefined; forTransferID?: string | undefined; forScheduleID?: string | undefined; forOccurrenceID?: string | undefined; sentFor?: Array | undefined; }; /** @internal */ export declare const ReceiptResponse$outboundSchema: z.ZodType; export declare function receiptResponseToJSON(receiptResponse: ReceiptResponse): string; export declare function receiptResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=receiptresponse.d.ts.map