import type { ApiClient } from "@promobase/sdk-runtime"; export interface IGRefreshAccessTokenForIGOnlyAPIFields { access_token: string; expires_in: number; permissions: string; token_type: string; } export function iGRefreshAccessTokenForIGOnlyAPINode(client: ApiClient, id: string) { return { __path: id, __brand: undefined as unknown as IGRefreshAccessTokenForIGOnlyAPIFields, get: (opts: { fields: F; params?: Record }) => client.get>(`${id}`, opts), }; }