import type { product_CreateProductInput } from '../models/product_CreateProductInput'; import type { product_GetProductsResponse } from '../models/product_GetProductsResponse'; import type { product_Product } from '../models/product_Product'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class ProductsService { /** * List products * * Returns a paginated list of products in the caller's portal, optionally * filtered by name (case-insensitive substring match). * * @param name Filter by product name (case-insensitive substring match) * @param limit Maximum number of products to return * @param nextToken Pagination cursor returned by a previous call * * @example * await assembly.listProducts(); */ static listProducts({ name, limit, nextToken, }: { /** * Filter by product name (case-insensitive substring match) */ name?: string; /** * Maximum number of products to return */ limit?: number; /** * Pagination cursor returned by a previous call */ nextToken?: string; }): CancelablePromise; /** * Create a product * * Creates a product, optionally bundling one or more prices supplied in the * request body. Only the product name is required; status, portal, and * price IDs are assigned by the server. * * @example * await assembly.createAProduct({ requestBody: ... }); */ static createAProduct({ requestBody, }: { /** * Product to create */ requestBody: product_CreateProductInput; }): CancelablePromise; /** * Get a product by ID * * Returns a single product scoped to the caller's portal. When the product * has exactly one price, that price is embedded in the response. * * @param id ID of the product to retrieve * * @example * await assembly.retrieveProduct({ id: ... }); */ static retrieveProduct({ id, }: { /** * ID of the product to retrieve */ id: string; }): CancelablePromise; }