import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AccountFees, AccountFees$Outbound } from "./accountfees.js"; import { ACHFees, ACHFees$Outbound } from "./achfees.js"; import { BillingSummary, BillingSummary$Outbound } from "./billingsummary.js"; import { CardAcquiringFees, CardAcquiringFees$Outbound } from "./cardacquiringfees.js"; import { InstantPaymentFees, InstantPaymentFees$Outbound } from "./instantpaymentfees.js"; import { OtherCardFees, OtherCardFees$Outbound } from "./othercardfees.js"; import { PartnerFees, PartnerFees$Outbound } from "./partnerfees.js"; import { PlatformFees, PlatformFees$Outbound } from "./platformfees.js"; /** * A billing statement for a Moov account. */ export type Statement = { /** * The unique identifier for the statement. */ statementID: string; /** * The name of the statement. */ statementName: string; /** * The name of the statement file. */ fileName: string; /** * The size of the statement file in bytes. */ fileSize: number; /** * The start date and time of the billing period. */ billingPeriodStartDateTime: Date; /** * The end date and time of the billing period. */ billingPeriodEndDateTime: Date; /** * List of subscription IDs associated with this statement. */ subscriptionIDs: Array; /** * A summary of all fees included in a statement. */ summary: BillingSummary; /** * A detailed breakdown of card acquiring fees by card brand. */ cardAcquiringFees?: CardAcquiringFees | undefined; /** * A detailed breakdown of ACH fees. */ achFees?: ACHFees | undefined; /** * A detailed breakdown of instant payment fees. */ instantPaymentFees?: InstantPaymentFees | undefined; /** * A detailed breakdown of platform fees. This field is deprecated and will be removed in a future release. Use accountFees. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ platformFees?: PlatformFees | undefined; /** * A detailed breakdown of account fees. */ accountFees?: AccountFees | undefined; /** * A detailed breakdown of other card-related fees. */ otherCardFees?: OtherCardFees | undefined; /** * Monthly partner costs that are charged separately and not included in residual subtotal (e.g. platform fees, minimums). */ partnerFees?: PartnerFees | undefined; /** * The date and time the statement was created. */ createdOn: Date; /** * The date and time the statement was last updated. */ updatedOn: Date; }; /** @internal */ export declare const Statement$inboundSchema: z.ZodType; /** @internal */ export type Statement$Outbound = { statementID: string; statementName: string; fileName: string; fileSize: number; billingPeriodStartDateTime: string; billingPeriodEndDateTime: string; subscriptionIDs: Array; summary: BillingSummary$Outbound; cardAcquiringFees?: CardAcquiringFees$Outbound | undefined; achFees?: ACHFees$Outbound | undefined; instantPaymentFees?: InstantPaymentFees$Outbound | undefined; platformFees?: PlatformFees$Outbound | undefined; accountFees?: AccountFees$Outbound | undefined; otherCardFees?: OtherCardFees$Outbound | undefined; partnerFees?: PartnerFees$Outbound | undefined; createdOn: string; updatedOn: string; }; /** @internal */ export declare const Statement$outboundSchema: z.ZodType; export declare function statementToJSON(statement: Statement): string; export declare function statementFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=statement.d.ts.map