import type { ApiClient } from "@promobase/sdk-runtime"; export interface OffsitePixelFields { creator: string; id: string; js_pixel: string; last_firing_time: string; name: string; tag: string; } export function offsitePixelNode(client: ApiClient, id: string) { return { __path: id, __brand: undefined as unknown as OffsitePixelFields, get: (opts: { fields: F; params?: Record }) => client.get>(`${id}`, opts), }; }