@opens/gateways 1.17.1 → 1.17.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -888,6 +888,17 @@ var ContactListGateway = class {
888
888
  });
889
889
  return data;
890
890
  }
891
+ /**
892
+ * Searches WhatsApp accounts with optional filtering and pagination.
893
+ * @param params - The query parameters for the search.
894
+ * @returns The paginated WhatsApp accounts response.
895
+ */
896
+ async searchWhatsappAccounts(params) {
897
+ const { data } = await this.httpClient.get(`${this.baseUrl}/whatsapp-accounts/search`, {
898
+ params
899
+ });
900
+ return data;
901
+ }
891
902
  /**
892
903
  * Retrieves all contact categories.
893
904
  * @returns An array of contact categories.