@livechat/developer-studio-api 2.0.49 → 2.0.51
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.d.mts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -449,10 +449,8 @@ interface GetAppMonitoringEventsLogPayload {
|
|
|
449
449
|
search?: string;
|
|
450
450
|
}
|
|
451
451
|
interface GetAppMonitoringEventsLogResponse {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
nextFrom: string;
|
|
455
|
-
};
|
|
452
|
+
events: AppMonitoringEventsLog;
|
|
453
|
+
next_page_from?: string;
|
|
456
454
|
}
|
|
457
455
|
|
|
458
456
|
interface TextClientInstanceAuthorization {
|
package/dist/index.d.ts
CHANGED
|
@@ -449,10 +449,8 @@ interface GetAppMonitoringEventsLogPayload {
|
|
|
449
449
|
search?: string;
|
|
450
450
|
}
|
|
451
451
|
interface GetAppMonitoringEventsLogResponse {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
nextFrom: string;
|
|
455
|
-
};
|
|
452
|
+
events: AppMonitoringEventsLog;
|
|
453
|
+
next_page_from?: string;
|
|
456
454
|
}
|
|
457
455
|
|
|
458
456
|
interface TextClientInstanceAuthorization {
|
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
|
|
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
|
|
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.
|
|
3
|
+
"version": "2.0.51",
|
|
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",
|
|
21
22
|
"tsconfig": "0.0.0",
|
|
22
|
-
"eslint-config-custom-lib": "0.0.1"
|
|
23
|
-
"types": "0.0.1"
|
|
23
|
+
"eslint-config-custom-lib": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|