import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { AlertSettings } from "./alert-settings.js"; import { AlertState } from "./alert-state.js"; import { AutoTopup } from "./auto-topup.js"; import { CreditBreakdown } from "./credit-breakdown.js"; import { SDKValidationError } from "./sdk-validation-error.js"; import { Status } from "./status.js"; import { WalletConfig } from "./wallet-config.js"; import { WalletStatus } from "./wallet-status.js"; import { WalletType } from "./wallet-type.js"; export type WalletResponse = { alertSettings?: AlertSettings | undefined; alertState?: AlertState | undefined; autoTopup?: AutoTopup | undefined; balance?: string | undefined; config?: WalletConfig | undefined; /** * amount in the currency = number of credits * conversion_rate * * @remarks * ex if conversion_rate is 1, then 1 USD = 1 credit * ex if conversion_rate is 2, then 1 USD = 0.5 credits * ex if conversion_rate is 0.5, then 1 USD = 2 credits */ conversionRate?: string | undefined; createdAt?: Date | undefined; createdBy?: string | undefined; creditBalance?: string | undefined; creditsAvailableBreakdown?: CreditBreakdown | undefined; currency?: string | undefined; customerId?: string | undefined; description?: string | undefined; environmentId?: string | undefined; id?: string | undefined; metadata?: { [k: string]: string; } | undefined; name?: string | undefined; realTimeBalance?: string | undefined; realTimeCreditBalance?: string | undefined; status?: Status | undefined; tenantId?: string | undefined; /** * topup_conversion_rate is the conversion rate for the topup to the currency * * @remarks * ex if topup_conversion_rate is 1, then 1 USD = 1 credit * ex if topup_conversion_rate is 2, then 1 USD = 0.5 credits * ex if topup_conversion_rate is 0.5, then 1 USD = 2 credits */ topupConversionRate?: string | undefined; updatedAt?: Date | undefined; updatedBy?: string | undefined; walletStatus?: WalletStatus | undefined; walletType?: WalletType | undefined; }; /** @internal */ export declare const WalletResponse$inboundSchema: z.ZodMiniType; export declare function walletResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=wallet-response.d.ts.map