@opens/gateways 1.16.17 → 1.16.18
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 +42 -14
- package/dist/chat-config/contracts/index.d.ts +42 -14
- package/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -488,6 +488,17 @@ var ChatConfigGateway = class {
|
|
|
488
488
|
});
|
|
489
489
|
return data;
|
|
490
490
|
}
|
|
491
|
+
/**
|
|
492
|
+
* Retrieves paginated rules with dynamic filters.
|
|
493
|
+
* @param params - Query parameters for filtering and pagination.
|
|
494
|
+
* @returns The paginated rules matching the given filters.
|
|
495
|
+
*/
|
|
496
|
+
async getRules(params) {
|
|
497
|
+
const { data } = await this.httpClient.get(`${this.baseUrl}/rules/paginated`, {
|
|
498
|
+
params
|
|
499
|
+
});
|
|
500
|
+
return data;
|
|
501
|
+
}
|
|
491
502
|
};
|
|
492
503
|
|
|
493
504
|
// src/campaigns/index.ts
|