@opens/gateways 1.16.24 → 1.17.0

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
@@ -422,10 +422,12 @@ var ChatConfigGateway = class {
422
422
  return data;
423
423
  }
424
424
  /**
425
- * Retrieves configurations filtered by provider.
426
- * @param providerId - The unique identifier of the provider.
427
- * @param params - Optional query parameters for filtering configurations.
428
- * @returns The configurations for the given provider.
425
+ * Lists configurations for a provider (`GET /config/provider/:providerId`).
426
+ * Scoped to the authenticated company's `companyId` from the token.
427
+ * Each item includes the nested `providers` association.
428
+ * @param providerId - Provider primary key (`Providers.id`, e.g. `1` for WhatsApp).
429
+ * @param params - Optional filters on config columns and nested provider fields.
430
+ * @returns `{ configurations }` for the given provider (empty array when none match).
429
431
  */
430
432
  async getConfigsByProvider(providerId, params) {
431
433
  const { data } = await this.httpClient.get(