@livechat/developer-studio-api 2.0.29 → 2.0.30
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -2278,7 +2278,7 @@ declare const api: {
|
|
|
2278
2278
|
monitoring: {
|
|
2279
2279
|
getUptimeReports(appId: string, payload: GetAppMonitoringReportPayload, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringUptimeReportDto>;
|
|
2280
2280
|
getEventReports(appId: string, payload: GetAppMonitoringReportPayload, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringEventsReportDto>;
|
|
2281
|
-
getEvents(appId: string, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringEventsReportDto>;
|
|
2281
|
+
getEvents(appId: string, payload: GetAppMonitoringReportPayload, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringEventsReportDto>;
|
|
2282
2282
|
};
|
|
2283
2283
|
};
|
|
2284
2284
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -2278,7 +2278,7 @@ declare const api: {
|
|
|
2278
2278
|
monitoring: {
|
|
2279
2279
|
getUptimeReports(appId: string, payload: GetAppMonitoringReportPayload, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringUptimeReportDto>;
|
|
2280
2280
|
getEventReports(appId: string, payload: GetAppMonitoringReportPayload, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringEventsReportDto>;
|
|
2281
|
-
getEvents(appId: string, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringEventsReportDto>;
|
|
2281
|
+
getEvents(appId: string, payload: GetAppMonitoringReportPayload, authorization?: TextClientInstanceAuthorization | undefined): Promise<AppMonitoringEventsReportDto>;
|
|
2282
2282
|
};
|
|
2283
2283
|
};
|
|
2284
2284
|
};
|
package/dist/index.js
CHANGED
|
@@ -1769,11 +1769,11 @@ var textAppMonitoringApi = {
|
|
|
1769
1769
|
}
|
|
1770
1770
|
});
|
|
1771
1771
|
},
|
|
1772
|
-
getEvents(appId, authorization) {
|
|
1772
|
+
getEvents(appId, payload, authorization) {
|
|
1773
1773
|
return __async(this, null, function* () {
|
|
1774
1774
|
try {
|
|
1775
1775
|
const response = yield textClientInstance.get(
|
|
1776
|
-
`/app_monitoring/${appId}/events`,
|
|
1776
|
+
`/app_monitoring/${appId}/events?from=${payload.from}&to=${payload.to}&resolution=${payload.resolution}`,
|
|
1777
1777
|
getTextClientConfig(authorization)
|
|
1778
1778
|
);
|
|
1779
1779
|
return response.data;
|
package/dist/index.mjs
CHANGED
|
@@ -1681,11 +1681,11 @@ var textAppMonitoringApi = {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
});
|
|
1683
1683
|
},
|
|
1684
|
-
getEvents(appId, authorization) {
|
|
1684
|
+
getEvents(appId, payload, authorization) {
|
|
1685
1685
|
return __async(this, null, function* () {
|
|
1686
1686
|
try {
|
|
1687
1687
|
const response = yield textClientInstance.get(
|
|
1688
|
-
`/app_monitoring/${appId}/events`,
|
|
1688
|
+
`/app_monitoring/${appId}/events?from=${payload.from}&to=${payload.to}&resolution=${payload.resolution}`,
|
|
1689
1689
|
getTextClientConfig(authorization)
|
|
1690
1690
|
);
|
|
1691
1691
|
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.30",
|
|
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
|
-
"eslint-config-custom-lib": "0.0.1",
|
|
22
21
|
"tsconfig": "0.0.0",
|
|
23
|
-
"types": "0.0.1"
|
|
22
|
+
"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",
|