@livechat/developer-studio-api 2.0.49 → 2.0.50

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
@@ -1814,7 +1814,9 @@ var textAppMonitoringEventsApi = {
1814
1814
  payload.type.forEach((type) => searchParams.append("type", type));
1815
1815
  }
1816
1816
  const response = yield textClientInstance.get(
1817
- `/app_monitoring/${appId}/events/logs?${searchParams.toString()}`,
1817
+ `/app_monitoring/${appId}/events?${searchParams.toString()}`,
1818
+ // v1
1819
+ // `/app_monitoring/${appId}/events/logs?${searchParams.toString()}`, // v2
1818
1820
  getTextClientConfig(authorization)
1819
1821
  );
1820
1822
  return response.data;
package/dist/index.mjs CHANGED
@@ -1726,7 +1726,9 @@ var textAppMonitoringEventsApi = {
1726
1726
  payload.type.forEach((type) => searchParams.append("type", type));
1727
1727
  }
1728
1728
  const response = yield textClientInstance.get(
1729
- `/app_monitoring/${appId}/events/logs?${searchParams.toString()}`,
1729
+ `/app_monitoring/${appId}/events?${searchParams.toString()}`,
1730
+ // v1
1731
+ // `/app_monitoring/${appId}/events/logs?${searchParams.toString()}`, // v2
1730
1732
  getTextClientConfig(authorization)
1731
1733
  );
1732
1734
  return response.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.0.49",
3
+ "version": "2.0.50",
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,8 +18,8 @@
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
20
  "config": "0.0.0",
21
- "tsconfig": "0.0.0",
22
21
  "eslint-config-custom-lib": "0.0.1",
22
+ "tsconfig": "0.0.0",
23
23
  "types": "0.0.1"
24
24
  },
25
25
  "scripts": {