@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
21 lines (20 loc) • 666 B
TypeScript
import type { BusinessCategory, Gender } from "../models/index.js";
export type UpdateProfilePayload = {
profile: {
name: string;
/**
* Date of birth in the format YYYY-MM-DD
*/
dob: `${string}-${string}-${string}`;
gender: Gender;
};
biz?: Partial<{
cate: BusinessCategory;
description: string;
address: string;
website: string;
email: string;
}>;
};
export type UpdateProfileResponse = "";
export declare const updateProfileFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload: UpdateProfilePayload) => Promise<"">;