MSG91 / sendotp-node

38 stars 24 forks source link

Typescript support #28

Closed himanshu-nain closed 5 years ago

himanshu-nain commented 5 years ago

Please generate @types/sendotp module or .d.ts, the auto-generated index file is not working.

AUTO-GENERATED INDEX

export = index; declare class index { static doRequest(method: any, path: any, params: any, callback: any): void; static generateOtp(): any; static getBaseURL(): any; constructor(authKey: any, messageTemplate: any); authKey: any; messageTemplate: any; otp_expiry: any; retry(contactNumber: any, retryVoice: any, callback: any): any; send(contactNumber: any, senderId: any, otp: any, callback: any): any; setOtpExpiry(otp_expiry: any): void; verify(contactNumber: any, otp: any, callback: any): any; }