@livechat/developer-studio-api 2.0.51 → 2.0.52

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.js CHANGED
@@ -1811,7 +1811,7 @@ var textAppMonitoringEventsApi = {
1811
1811
  search: (_b = payload.search) != null ? _b : ""
1812
1812
  });
1813
1813
  if (payload.type) {
1814
- payload.type.forEach((type) => searchParams.append("type", type));
1814
+ payload.type.forEach((type) => searchParams.append("type[]", type));
1815
1815
  }
1816
1816
  const response = yield textClientInstance.get(
1817
1817
  `/app_monitoring/${appId}/events?${searchParams.toString()}`,
package/dist/index.mjs CHANGED
@@ -1723,7 +1723,7 @@ var textAppMonitoringEventsApi = {
1723
1723
  search: (_b = payload.search) != null ? _b : ""
1724
1724
  });
1725
1725
  if (payload.type) {
1726
- payload.type.forEach((type) => searchParams.append("type", type));
1726
+ payload.type.forEach((type) => searchParams.append("type[]", type));
1727
1727
  }
1728
1728
  const response = yield textClientInstance.get(
1729
1729
  `/app_monitoring/${appId}/events?${searchParams.toString()}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.0.51",
3
+ "version": "2.0.52",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
20
  "config": "0.0.0",
21
- "types": "0.0.1",
22
21
  "tsconfig": "0.0.0",
23
- "eslint-config-custom-lib": "0.0.1"
22
+ "eslint-config-custom-lib": "0.0.1",
23
+ "types": "0.0.1"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup src/index.ts --format esm,cjs --dts",