@opens/gateways 1.16.24 → 1.16.25
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/chat-config/contracts/index.d.mts +46 -5
- package/dist/chat-config/contracts/index.d.ts +46 -5
- package/dist/index.d.mts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -422,10 +422,12 @@ var ChatConfigGateway = class {
|
|
|
422
422
|
return data;
|
|
423
423
|
}
|
|
424
424
|
/**
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
* @
|
|
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(
|