import type { ApiClient } from "@promobase/sdk-runtime"; import type { UserFields } from "./user.ts"; export interface WoodhengePurchasedPAYGReceiptFields { id: string; number_of_subscriptions_purchased: number; purchase_time: string; user: UserFields; } export function woodhengePurchasedPAYGReceiptNode(client: ApiClient, id: string) { return { __path: id, __brand: undefined as unknown as WoodhengePurchasedPAYGReceiptFields, get: (opts: { fields: F; params?: Record }) => client.get>(`${id}`, opts), }; }