import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AuthorizedUser, AuthorizedUser$Outbound } from "./authorizeduser.js"; import { CardBrand } from "./cardbrand.js"; import { CardExpiration, CardExpiration$Outbound } from "./cardexpiration.js"; import { IssuedCardFormFactor } from "./issuedcardformfactor.js"; import { IssuedCardState } from "./issuedcardstate.js"; import { IssuingControls, IssuingControls$Outbound } from "./issuingcontrols.js"; /** * The full details of an issued card, including PAN and CVV. */ export type FullIssuedCard = { issuedCardID: string; /** * The card brand. */ brand: CardBrand; lastFourCardNumber: string; /** * The expiration date of the card or token. */ expiration: CardExpiration; /** * Fields for identifying an authorized individual. */ authorizedUser: AuthorizedUser; /** * Optional descriptor for the card. */ memo?: string | undefined; /** * Unique identifier for the wallet funding the card. */ fundingWalletID: string; /** * The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state. * * @remarks * * - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation. * - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process. * - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires. * - `pending-verification`: Awaiting additional authorized user verification before the card can be activated. */ state: IssuedCardState; /** * Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card. */ formFactor: IssuedCardFormFactor; controls?: IssuingControls | undefined; createdOn: Date; /** * The issued card's Primary Account Number (PAN) */ pan: string; /** * The issued card's 3- or 4-digit Card Verification Value (CVV). */ cvv: string; }; /** @internal */ export declare const FullIssuedCard$inboundSchema: z.ZodType; /** @internal */ export type FullIssuedCard$Outbound = { issuedCardID: string; brand: string; lastFourCardNumber: string; expiration: CardExpiration$Outbound; authorizedUser: AuthorizedUser$Outbound; memo?: string | undefined; fundingWalletID: string; state: string; formFactor: string; controls?: IssuingControls$Outbound | undefined; createdOn: string; pan: string; cvv: string; }; /** @internal */ export declare const FullIssuedCard$outboundSchema: z.ZodType; export declare function fullIssuedCardToJSON(fullIssuedCard: FullIssuedCard): string; export declare function fullIssuedCardFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=fullissuedcard.d.ts.map