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"; export type IssuedCard = { 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; }; /** @internal */ export declare const IssuedCard$inboundSchema: z.ZodType; /** @internal */ export type IssuedCard$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; }; /** @internal */ export declare const IssuedCard$outboundSchema: z.ZodType; export declare function issuedCardToJSON(issuedCard: IssuedCard): string; export declare function issuedCardFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=issuedcard.d.ts.map