import type { ApiClient } from "@promobase/sdk-runtime"; import type { ProfileFields } from "./profile.ts"; import type { VideoCopyrightGeoGateFields } from "./video-copyright-geo-gate.ts"; export interface FBImageCopyrightMatchFields { added_to_dashboard_time: string; applied_actions: Record>[]; audit_log: Record[]; available_ui_actions: string[]; expiration_days: number; generic_match_data: Record[]; id: string; is_business_page_match: boolean; last_modified_time: string; match_data: Record[]; match_status: string; ownership_countries: VideoCopyrightGeoGateFields; reference_owner: ProfileFields; time_to_appeal: number; } export function fBImageCopyrightMatchNode(client: ApiClient, id: string) { return { __path: id, __brand: undefined as unknown as FBImageCopyrightMatchFields, get: (opts: { fields: F; params?: Record }) => client.get>(`${id}`, opts), }; }