@babelforce/manager-sdk 0.4.0 → 0.5.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/CHANGELOG.md +6 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to `@babelforce/manager-sdk` are documented here. This project adheres to
|
|
4
4
|
[Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## 0.5.0
|
|
7
|
+
|
|
8
|
+
- `applications.list` / `applications.actions.list`: an explicit `pageSize: 0` now means "use the
|
|
9
|
+
server default" (the `max` query parameter is omitted), matching the Go SDK. It was previously sent
|
|
10
|
+
as `max=0`.
|
|
11
|
+
|
|
6
12
|
## 0.4.0
|
|
7
13
|
|
|
8
14
|
- Add the `applications` resource (v2 IVR application management): `list` / `listAll`
|
package/dist/index.js
CHANGED
|
@@ -1745,7 +1745,7 @@ var ApplicationsResource = class {
|
|
|
1745
1745
|
const client4 = this.client;
|
|
1746
1746
|
return paginate(async (page) => {
|
|
1747
1747
|
const data = await unwrap(
|
|
1748
|
-
listApplications({ client: client4, query: { page, max: query.pageSize } })
|
|
1748
|
+
listApplications({ client: client4, query: { page, max: query.pageSize || void 0 } })
|
|
1749
1749
|
);
|
|
1750
1750
|
return { items: data.items, pagination: data.pagination };
|
|
1751
1751
|
});
|
|
@@ -1797,7 +1797,7 @@ var AppActionsResource = class {
|
|
|
1797
1797
|
const client4 = this.client;
|
|
1798
1798
|
return paginate(async (page) => {
|
|
1799
1799
|
const data = await unwrap(
|
|
1800
|
-
listLocalAutomations({ client: client4, path: { applicationId }, query: { page, max: pageSize } })
|
|
1800
|
+
listLocalAutomations({ client: client4, path: { applicationId }, query: { page, max: pageSize || void 0 } })
|
|
1801
1801
|
);
|
|
1802
1802
|
return { items: data.items, pagination: data.pagination };
|
|
1803
1803
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babelforce/manager-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "TypeScript SDK for the babelforce manager APIs — auth, user & agent management, call reporting, metrics, and task automations.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|