/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { marketplacePostMarketplaceAgreements } from "../funcs/marketplace-post-marketplace-agreements.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; import * as models from "./models/index.js"; export class Marketplace extends ClientSDK { /** * Register an AWS Marketplace agreement * * @remarks * Registers an AWS Marketplace buyer agreement against an existing Flexprice subscription, upserting plan/subscription/customer integration mappings in one call. */ async postMarketplaceAgreements( request: models.RegisterMarketplaceAgreementRequest, options?: RequestOptions, ): Promise { return unwrapAsync(marketplacePostMarketplaceAgreements( this, request, options, )); } }