UNPKG

gohl

Version:

Go Highlevel Node Js ease of use library implementation to their API

21 lines (20 loc) 757 B
import { AuthData } from "../interfaces/auth/authdata"; import { IPaymentOrderResponse, IPaymentOrderListResponse, IPaymentOrderParams } from "../interfaces/payment.order"; export declare class PaymentOrders { private authData?; constructor(authData?: AuthData); /** * Get Order by ID * Documentation - https://highlevel.stoplight.io/docs/integrations/bcdf47fc22520-get-order-by-id * @param orderId * @returns */ get(orderId: string): Promise<IPaymentOrderResponse>; /** * List Orders * Documentation - https://highlevel.stoplight.io/docs/integrations/378562f514a17-list-orders * @param params * @returns */ getAll(params: IPaymentOrderParams): Promise<IPaymentOrderListResponse>; }