/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { schemasGetDestinationType } from "../funcs/schemasGetDestinationType.js"; import { schemasListDestinationTypes } from "../funcs/schemasListDestinationTypes.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Schemas extends ClientSDK { /** * List Destination Type Schemas * * @remarks * Returns a list of JSON-based input schemas for each available destination type. */ async listDestinationTypes( options?: RequestOptions, ): Promise> { return unwrapAsync(schemasListDestinationTypes( this, options, )); } /** * Get Destination Type Schema * * @remarks * Returns the input schema for a specific destination type. */ async getDestinationType( type: operations.GetDestinationTypeSchemaType, options?: RequestOptions, ): Promise { return unwrapAsync(schemasGetDestinationType( this, type, options, )); } }