/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { giftCardsIssuancesCreate } from "../funcs/giftCardsIssuancesCreate.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Issuances extends ClientSDK { /** * Issue a gift card * * @remarks * Issue a new virtual gift card through the primary gift card service. */ async create( giftCardIssuanceCreate: components.GiftCardIssuanceCreate, idempotencyKey?: string | null | undefined, merchantAccountId?: string | null | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(giftCardsIssuancesCreate( this, giftCardIssuanceCreate, idempotencyKey, merchantAccountId, options, )); } }