import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { GiftCardService } from "./giftcardservice.js"; export type GiftCardIssuance = { /** * Always `gift-card-issuance`. */ type: "gift-card-issuance"; /** * The ID for the gift card issuance. */ id: string; /** * The ID of the merchant account this gift card issuance belongs to. */ merchantAccountId: string; giftCardService: GiftCardService; /** * The identifier for this issuance as provided by the gift card service. */ giftCardServicePaymentIssuanceId: string; /** * The URL for the issued gift card. */ url: string; /** * The amount loaded onto the gift card, in the smallest denomination for the currency. */ amount: number; /** * The ISO-4217 currency code for the `amount`. */ currency: string; /** * The external identifier provided when issuing the gift card. */ externalIdentifier?: string | null | undefined; /** * The date and time when this gift card was issued. */ createdAt: Date; /** * The date and time when this gift card issuance was last updated. */ updatedAt: Date; }; /** @internal */ export declare const GiftCardIssuance$inboundSchema: z.ZodType; export declare function giftCardIssuanceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=giftcardissuance.d.ts.map