UNPKG

gohl

Version:

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

35 lines (34 loc) 1.5 kB
import { AuthData } from "../interfaces/auth/authdata"; import { IPaymentCustomProviderResponse, ICreatePaymentCustomProvider, IPaymentCustomProviderConfigResponse, ICreatePaymentCustomProviderConfig } from "../interfaces/payment.customprovider"; export declare class PaymentCustomProviders { private authData?; constructor(authData?: AuthData); /** * Create Custom Provider * Documentation - https://highlevel.stoplight.io/docs/integrations/e5d4c3b2a1f90-create-custom-provider * @param data * @returns */ create(data: ICreatePaymentCustomProvider): Promise<IPaymentCustomProviderResponse>; /** * Get Custom Provider by ID * Documentation - https://highlevel.stoplight.io/docs/integrations/c4b3a2d1e0f89-get-custom-provider-by-id * @param providerId * @returns */ get(providerId: string): Promise<IPaymentCustomProviderResponse>; /** * Create Custom Provider Config * Documentation - https://highlevel.stoplight.io/docs/integrations/b3a2c1d0e9f78-create-custom-provider-config * @param data * @returns */ createConfig(data: ICreatePaymentCustomProviderConfig): Promise<IPaymentCustomProviderConfigResponse>; /** * Get Custom Provider Config * Documentation - https://highlevel.stoplight.io/docs/integrations/a2b1c0d9e8f67-get-custom-provider-config * @param providerId * @returns */ getConfig(providerId: string): Promise<IPaymentCustomProviderConfigResponse>; }