feat: whatsapp cloud api

This commit is contained in:
Davidson Gomes 2024-02-17 17:54:23 -03:00
parent f469c2e65d
commit e753990da3

View File

@ -1033,116 +1033,116 @@ export class BusinessStartupService extends WAStartupService {
} }
} }
// methods not implemented yet // methods not available on WhatsApp Business API
public async mediaSticker() { public async mediaSticker() {
console.log('mediaSticker'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async audioWhatsapp() { public async audioWhatsapp() {
console.log('audioWhatsapp'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async pollMessage() { public async pollMessage() {
console.log('pollMessage'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async statusMessage() { public async statusMessage() {
console.log('statusMessage'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async reloadConnection() { public async reloadConnection() {
console.log('Reloading connection'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async whatsappNumber() { public async whatsappNumber() {
console.log('whatsappNumber'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async markMessageAsRead() { public async markMessageAsRead() {
console.log('markMessageAsRead'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async archiveChat() { public async archiveChat() {
console.log('archiveChat'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async deleteMessage() { public async deleteMessage() {
console.log('deleteMessage'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async fetchProfile() { public async fetchProfile() {
console.log('fetchProfile'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async sendPresence() { public async sendPresence() {
console.log('sendPresence'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async fetchPrivacySettings() { public async fetchPrivacySettings() {
console.log('fetchPrivacySettings'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updatePrivacySettings() { public async updatePrivacySettings() {
console.log('updatePrivacySettings'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async fetchBusinessProfile() { public async fetchBusinessProfile() {
console.log('fetchBusinessProfile'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateProfileName() { public async updateProfileName() {
console.log('updateProfileName'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateProfileStatus() { public async updateProfileStatus() {
console.log('updateProfileStatus'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateProfilePicture() { public async updateProfilePicture() {
console.log('updateProfilePicture'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async removeProfilePicture() { public async removeProfilePicture() {
console.log('removeProfilePicture'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateMessage() { public async updateMessage() {
console.log('updateMessage'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async createGroup() { public async createGroup() {
console.log('createGroup'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateGroupPicture() { public async updateGroupPicture() {
console.log('updateGroupPicture'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateGroupSubject() { public async updateGroupSubject() {
console.log('updateGroupSubject'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateGroupDescription() { public async updateGroupDescription() {
console.log('updateGroupDescription'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async findGroup() { public async findGroup() {
console.log('findGroup'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async fetchAllGroups() { public async fetchAllGroups() {
console.log('fetchAllGroups'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async inviteCode() { public async inviteCode() {
console.log('inviteCode'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async inviteInfo() { public async inviteInfo() {
console.log('inviteInfo'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async sendInvite() { public async sendInvite() {
console.log('sendInvite'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async acceptInviteCode() { public async acceptInviteCode() {
console.log('acceptInviteCode'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async revokeInviteCode() { public async revokeInviteCode() {
console.log('revokeInviteCode'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async findParticipants() { public async findParticipants() {
console.log('findParticipants'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateGParticipant() { public async updateGParticipant() {
console.log('updateGParticipant'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async updateGSetting() { public async updateGSetting() {
console.log('updateGSetting'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async toggleEphemeral() { public async toggleEphemeral() {
console.log('toggleEphemeral'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async leaveGroup() { public async leaveGroup() {
console.log('leaveGroup'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async fetchLabels() { public async fetchLabels() {
console.log('fetchLabels'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
public async handleLabel() { public async handleLabel() {
console.log('handleLabel'); throw new BadRequestException('Method not available on WhatsApp Business API');
} }
} }