Files
botAffilate/serverNode/node_modules/zca-js/dist/apis/updateProfile.d.ts
T

21 lines
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<"">;