import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { CustomerResponse } from "./customer-response.js"; import { SDKValidationError } from "./sdk-validation-error.js"; import { Status } from "./status.js"; import { TransactionReason } from "./transaction-reason.js"; import { TransactionStatus } from "./transaction-status.js"; import { TransactionType } from "./transaction-type.js"; import { UserResponse } from "./user-response.js"; import { WalletResponse } from "./wallet-response.js"; import { WalletTxReferenceType } from "./wallet-tx-reference-type.js"; export type WalletTransactionResponse = { amount?: string | undefined; /** * conversion_rate is the conversion rate for the transaction to the currency */ conversionRate?: string | undefined; createdAt?: Date | undefined; createdBy?: string | undefined; createdByUser?: UserResponse | undefined; creditAmount?: string | undefined; creditBalanceAfter?: string | undefined; creditBalanceBefore?: string | undefined; creditsAvailable?: string | undefined; currency?: string | undefined; /** * Customer response object containing all customer information */ customer?: CustomerResponse | undefined; customerId?: string | undefined; description?: string | undefined; environmentId?: string | undefined; expiryDate?: Date | undefined; id?: string | undefined; idempotencyKey?: string | undefined; metadata?: { [k: string]: string; } | undefined; /** * ParentTransactionID is the ID of the parent wallet_transaction this row was earned from * * @remarks * (the purchase tx, for a bonus grant). Empty for ordinary transactions. */ parentTransactionId?: string | undefined; priority?: number | undefined; referenceId?: string | undefined; referenceType?: WalletTxReferenceType | undefined; status?: Status | undefined; tenantId?: string | undefined; /** * topup_conversion_rate is the conversion rate for the topup to the currency */ topupConversionRate?: string | undefined; transactionReason?: TransactionReason | undefined; transactionStatus?: TransactionStatus | undefined; type?: TransactionType | undefined; updatedAt?: Date | undefined; updatedBy?: string | undefined; wallet?: WalletResponse | undefined; walletId?: string | undefined; }; /** @internal */ export declare const WalletTransactionResponse$inboundSchema: z.ZodMiniType; export declare function walletTransactionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=wallet-transaction-response.d.ts.map