import type { ApiClient } from "@promobase/sdk-runtime"; import type { AdAccountFields } from "./ad-account.ts"; import type { AdKeywordsFields } from "./ad-keywords.ts"; export interface AdSavedKeywordsFields { account: AdAccountFields; id: string; keywords: AdKeywordsFields; name: string; run_status: string; time_created: string; time_updated: string; } export function adSavedKeywordsNode(client: ApiClient, id: string) { return { __path: id, __brand: undefined as unknown as AdSavedKeywordsFields, get: (opts: { fields: F; params?: Record }) => client.get>(`${id}`, opts), }; }