@warriorteam/zalo-personal
Version:
Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support, auto-reply, product catalog, and business features
19 lines (18 loc) • 578 B
TypeScript
import type { CatalogItem } from "../models/index.js";
export type GetCatalogListPayload = {
/**
* Number of items to retrieve (default: 20)
*/
limit?: number;
lastProductId?: number;
/**
* Page number (default: 0)
*/
page?: number;
};
export type GetCatalogListResponse = {
items: CatalogItem[];
version: number;
has_more: number;
};
export declare const getCatalogListFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload?: GetCatalogListPayload) => Promise<GetCatalogListResponse>;