import { AxiosInstance, AxiosRequestConfig } from 'axios'; import * as Models from './models/marketplace'; /** * Marketplace Service * Documentation for Marketplace API */ export declare class Marketplace { private client; constructor(httpClient: AxiosInstance); /** * Create a new wallet charge * Create a new wallet charge */ charge(requestBody: Models.RaiseChargeBodyDTO, options?: AxiosRequestConfig): Promise; /** * Get all wallet charges * Get all wallet charges */ getCharges(params: { meterId?: string; eventId?: string; userId?: string; startDate?: string; endDate?: string; skip?: number; limit?: number; }, options?: AxiosRequestConfig): Promise; /** * Delete a wallet charge * Delete a wallet charge */ deleteCharge(params: { chargeId: string; }, options?: AxiosRequestConfig): Promise; /** * Get specific wallet charge details * Get specific wallet charge details */ getSpecificCharge(params: { chargeId: string; }, options?: AxiosRequestConfig): Promise; /** * Check if account has sufficient funds * Check if account has sufficient funds */ hasFunds(options?: AxiosRequestConfig): Promise; /** * Uninstall an application * Uninstalls an application from your company or a specific location. This will remove the application`s access and stop all its functionalities */ uninstallApplication(params: { appId: string; }, requestBody: Models.DeleteIntegrationBodyDto, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Get Installer Details * Fetches installer details for the authenticated user. This endpoint returns information about the company, location, user, and installation details associated with the current OAuth token. */ getInstallerDetails(params: { appId: string; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Get rebilling config for an app subscription and usage plans * Get rebilling config for an app subscription and usage plans for the authenticated sub-account. This endpoint returns the subscription and usage plans for an app. */ getRebillingConfigForApp(params: { appId: string; locationId: string; }, options?: AxiosRequestConfig): Promise; /** * Migrate external authentication connection * Migrates an external authentication connection credentials (basic or oauth2) for a specific app and location. This endpoint validates the app configuration, stores credentials safely in CRM's native encrypted storage. With this the lifecycle of the token is managed by CRM. */ migrateConnection(requestBody: Models.MigrateConnectionDto, options?: AxiosRequestConfig): Promise; } export default Marketplace; //# sourceMappingURL=marketplace.d.ts.map