interface ProsprResult { success: boolean; } /** * À NOTER - Prospr est l'ancien nom du ecomm, est depuis devenu Addio. * Il faudra éventuellement faire le refactoring nécessaire pour remplacer toutes les appelations, * mais en attendant, c'est normal qu'il y ait les deux noms à différents endroits. */ export declare class ProsprSearch { private state; constructor({ app, indexId, space }: { readonly app: string; readonly indexId: string; readonly space: string; }); private getServerUrl; saveObject: (obj: any) => Promise; wait: () => Promise; partialUpdateObject: (obj: Partial, _options: any) => Promise; deleteObject: (sku: string) => Promise; addAttribute: (name: string) => Promise; removeAttribute: (name: string) => Promise; addFacet: (name: string) => Promise; removeFacet: (name: string) => Promise; /** * Update the min/max prices of many object * @param prices List of object id and the min/max price * @returns */ bulkPricesUpdate: (prices: { slug: string; min: number; max: number; }[]) => Promise; /** * Update the optional config for the current index * @param games List of game slug to search in the external database of products * -- more params to be added in the future depending of the needs */ updateConfig: (games: string[]) => Promise; } export {};