import { QueryDto } from '@escapenavigator/types/dist/shared/query.dto'; import { QueryRO } from '@escapenavigator/types/dist/shared/query.ro'; import { ApiMethodDeclaration } from '..'; export type PartnerSystemItem = { id: number; name: string; baseUrl: string; token: string; active: boolean; lastSyncAt?: string; lastSyncStats?: Record; errorStats: Record; attractionsCount?: number; createdAt: string; updatedAt: string; }; export type PartnerAttractionItem = { id: number; partnerSystemId: number; externalId: string; externalProfileId?: string; questroomId?: number; questroom?: { id: number; title: string; profileId: number; }; matchConfidence?: string; matchEvidence?: { rule: string; score?: number; runnerUp?: string; note?: string; decidedAt: string; decidedBy: string; }; status: string; title: string; slug?: string; photo?: string; type?: string; description?: string; playersMin?: number; playersMax?: number; address?: string; lat?: number; lng?: number; phone?: string; timeZone?: string; firstSeenAt?: string; lastSeenAt?: string; createdAt: string; updatedAt: string; }; export type PartnerSyncStats = { processed: number; created: number; updated: number; disappeared: number; autoLinked: number; }; export type PartnerAutolinkResult = { summary: Record; results: Array<{ attractionId: number; title: string; action: string; rule?: string; score?: number; questroomId?: number; questroomTitle?: string; note?: string; }>; }; declare const query: ApiMethodDeclaration; declare const create: ApiMethodDeclaration<{ name: string; baseUrl: string; token: string; active?: boolean; }, PartnerSystemItem>; declare const update: ApiMethodDeclaration<{ id: number; data: { name?: string; baseUrl?: string; token?: string; active?: boolean; }; }, PartnerSystemItem>; declare const remove: ApiMethodDeclaration<{ id: number; }, { success: boolean; }>; declare const test: ApiMethodDeclaration<{ id: number; }, { success: boolean; attractions: number; message?: string; }>; declare const sync: ApiMethodDeclaration<{ id: number; }, PartnerSyncStats>; declare const autolink: ApiMethodDeclaration<{ id: number; dryRun?: boolean; }, PartnerAutolinkResult>; declare const attractions: ApiMethodDeclaration>; declare const updateAttraction: ApiMethodDeclaration<{ id: number; data: { questroomId?: number | null; status?: string; }; }, PartnerAttractionItem>; type ApiDeclaration = { query: typeof query; create: typeof create; update: typeof update; remove: typeof remove; test: typeof test; sync: typeof sync; autolink: typeof autolink; attractions: typeof attractions; updateAttraction: typeof updateAttraction; }; export declare const partnerSystemsApiDeclaration: ApiDeclaration; export {};