import type { ApiBodyParamsPurchase } from '../models/ApiBodyParamsPurchase'; import type { Purchase } from '../models/Purchase'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class PurchaseService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); getPurchaseMetrics({ orgSlug, limit, attributes, where, search, last, order, options, }: { orgSlug: string; limit?: number; attributes?: Array<(Array | string)>; where?: any; search?: string; last?: string; order?: string; options?: { productsIds?: Array; dateRange?: Array; }; }): CancelablePromise<{ total?: number; totalThisMonth?: number; sales?: number; salesThisMonth?: number; }>; getPurchase({ orgSlug, productId, userId, limit, attributes, where, last, order, }: { orgSlug: string; productId?: number; userId?: number; limit?: number; attributes?: Array<(Array | string)>; where?: any; last?: string; order?: string; }): CancelablePromise>; postPurchase({ orgSlug, requestBody, }: { orgSlug: string; requestBody?: { requestData?: any; productId?: number; }; }): CancelablePromise; putPurchase({ orgSlug, id, requestBody, }: { orgSlug: string; id: number; requestBody?: (ApiBodyParamsPurchase & { approve?: boolean; }); }): CancelablePromise; deletePurchase({ orgSlug, id, }: { orgSlug: string; id: number; }): CancelablePromise; }