Class GupshupPartnerApiClient
Constructors
Methods
addOptIn
- addOptIn(phone): Promise<any>
Returns Promise<any>
checkHealth
- checkHealth(): Promise<any>
Returns Promise<any>
delTemplate
- delTemplate(elementName): Promise<any>
Returns Promise<any>
getBusinessProfileAbout
- getBusinessProfileAbout(): Promise<any>
Returns Promise<any>
getBusinessProfileDetails
- getBusinessProfileDetails(): Promise<any>
Returns Promise<any>
getBusinessProfilePhoto
- getBusinessProfilePhoto(): Promise<any>
Returns Promise<any>
getDiscount
- getDiscount(year, month): Promise<any>
Parameters
- year: string
- month: string
Returns Promise<any>
getMessageLimit
- getMessageLimit(): Promise<any>
Returns Promise<any>
getQualityRating
- getQualityRating(): Promise<any>
Returns Promise<any>
getUsage
- getUsage(from, to): Promise<any>
Returns Promise<any>
getUserStatus
- getUserStatus(phone): Promise<any>
Returns Promise<any>
getWalletBalance
- getWalletBalance(): Promise<any>
Returns Promise<any>
isPhoneOpted
- isPhoneOpted(phone): Promise<boolean>
Returns Promise<boolean>
postTemplate
- postTemplate(templateData): Promise<any>
Returns Promise<any>
putCallBackUrl
- putCallBackUrl(callbackUrl): Promise<any>
Returns Promise<any>
updateEvents
- updateEvents(events): Promise<boolean>
Returns Promise<boolean>
Properties
axios
axios: AxiosInstance
portalUrl
portalUrl: string