import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Products extends APIResource { /** * List all products for a creator */ list(query?: ProductListParams | null | undefined, options?: RequestOptions): APIPromise; } export interface ProductListResponse { data?: ProductListResponse.Data; message?: string; status?: string; } export declare namespace ProductListResponse { interface Data { current_page?: number; data?: Array; first_page_url?: string; from?: number; last_page?: number; last_page_url?: string; next_page_url?: string | null; path?: string; per_page?: number; prev_page_url?: string | null; to?: number; total?: number; } namespace Data { interface Data { id?: string; description?: string | null; internal_name?: string | null; payment_link?: string; price?: number; title?: string; } } } export interface ProductListParams { /** * Page number for pagination */ page?: number; /** * Number of items per page */ per_page?: number; } export declare namespace Products { export { type ProductListResponse as ProductListResponse, type ProductListParams as ProductListParams }; } //# sourceMappingURL=products.d.ts.map