UNPKG

@hhgtech/hhg-components

Version:
48 lines (47 loc) 1.64 kB
export declare const Service: { campaignGetById: (id: string) => Promise<any>; getCampaignByCode: (campaign_code: any) => Promise<any>; getSubscriptionBoxInfo: ({ category, site, }: { category: number | string; site: string; }) => Promise<any>; postSubscriptionBoxLead: ({ data }: { data: any; }) => Promise<any>; postUserInfoFromLeadGen: ({ name }: { name: string; }) => Promise<any>; campaignPostImpression: ({ code, action, title_article, ga_client_id, cookie_id, extra, url, referrer, }: { code: string; action: string; title_article: string; ga_client_id: string | null; cookie_id: string | null; url: string; extra?: Record<string, string | number>; referrer?: string; }) => Promise<any>; validateEmailOrPhoneOnSubot: ({ bot_id, email, phone, }: { bot_id: number[]; email?: string; phone?: string; }) => Promise<any>; validateEmailOrPhoneOnLeadGen: ({ campaign_id, email, phone, }: { campaign_id: number[]; email?: string; phone?: string; }) => Promise<any>; validatePhoneNumberOnLeadGen: ({ campaign_id, phone, }: { campaign_id: number; phone: string; }) => Promise<any>; sendSMSOtpLead: ({ phone, type, }: { phone: string; type: 'whatsapp' | 'phone' | 'zalo'; }) => Promise<any>; verifyOtpLead: ({ phone, otp, type, }: { phone: string; otp: string; type: 'whatsapp' | 'phone' | 'zalo'; }) => Promise<any>; };