UNPKG

evolution-api-sdk

Version:

Unofficial SDK for the Evolution Whatsapp API v2

27 lines (24 loc) 1.87 kB
import { ApiService } from '../../api/service.js'; import { MethodOptions } from '../../types/api.js'; import { FetchBusinessProfileRequest, FetchBusinessProfileResponse } from './schemas/fetch-business-profile.js'; import { FetchPrivacySettingsResponse } from './schemas/fetch-privacy-settings.js'; import { FetchProfileRequest, FetchProfileResponse } from './schemas/fetch-profile.js'; import { RemovePictureResponse } from './schemas/remove-picture.js'; import { UpdateNameRequest, UpdateNameResponse } from './schemas/update-name.js'; import { UpdatePictureRequest, UpdatePictureResponse } from './schemas/update-picture.js'; import { UpdatePrivacySettingsRequest, UpdatePrivacySettingsResponse } from './schemas/update-privacy-settings.js'; import { UpdateStatusRequest, UpdateStatusResponse } from './schemas/update-status.js'; import '../../schemas/client.js'; declare class ProfileModule { private readonly api; constructor(api: ApiService); fetchBusinessProfile(options: FetchBusinessProfileRequest, methodOptions?: MethodOptions): Promise<FetchBusinessProfileResponse>; fetchProfile(options: FetchProfileRequest, methodOptions?: MethodOptions): Promise<FetchProfileResponse>; updateName(options: UpdateNameRequest, methodOptions?: MethodOptions): Promise<UpdateNameResponse>; updateStatus(options: UpdateStatusRequest, methodOptions?: MethodOptions): Promise<UpdateStatusResponse>; updatePicture(options: UpdatePictureRequest, methodOptions?: MethodOptions): Promise<UpdatePictureResponse>; removePicture(methodOptions?: MethodOptions): Promise<RemovePictureResponse>; fetchPrivacySettings(methodOptions?: MethodOptions): Promise<FetchPrivacySettingsResponse>; updatePrivacySettings(options: UpdatePrivacySettingsRequest, methodOptions?: MethodOptions): Promise<UpdatePrivacySettingsResponse>; } export { ProfileModule };