UNPKG

@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

25 lines (24 loc) 791 B
import type { BusinessCategory } from "../models/index.js"; export type GetBizAccountResponse = { biz?: { desc: string | null; cate: BusinessCategory; addr: string; website: string; email: string; }; setting_start_page?: { enable_biz_label: number; enable_cate: number; enable_add: number; cta_profile: number; /** * Relative path used to build the catalog URL. * * Example: https://catalog.zalo.me/${cta_catalog} */ cta_catalog: string | null; } | null; pkgId: number; }; export declare const getBizAccountFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (friendId: string) => Promise<GetBizAccountResponse>;