/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { x402ChainsList } from "../funcs/x402-chains-list.js"; import { x402PaymentSettle } from "../funcs/x402-payment-settle.js"; import { x402PaymentVerify } from "../funcs/x402-payment-verify.js"; import { x402Supported } from "../funcs/x402-supported.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class X402 extends ClientSDK { async supported( options?: RequestOptions, ): Promise { return unwrapAsync(x402Supported( this, options, )); } async chainsList( options?: RequestOptions, ): Promise { return unwrapAsync(x402ChainsList( this, options, )); } async paymentVerify( request: models.FacilitatorPaymentRequest, options?: RequestOptions, ): Promise { return unwrapAsync(x402PaymentVerify( this, request, options, )); } async paymentSettle( request: models.FacilitatorPaymentRequest, options?: RequestOptions, ): Promise { return unwrapAsync(x402PaymentSettle( this, request, options, )); } }