/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { webinarRegistrationsPostWebinarsWebinarIdRegistrations } from "../funcs/webinarRegistrationsPostWebinarsWebinarIdRegistrations.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class WebinarRegistrations extends ClientSDK { /** * Create Webinar Registration * * @remarks * Register a person for a webinar by providing their email, first name, and last name. * * This endpoint generates a unique visitor key and returns a personalized webinar URL for the registrant. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ async postWebinarsWebinarIdRegistrations( request: operations.PostWebinarsWebinarIdRegistrationsRequest, options?: RequestOptions, ): Promise { return unwrapAsync(webinarRegistrationsPostWebinarsWebinarIdRegistrations( this, request, options, )); } }