@livechat/developer-studio-api 3.1.49 → 3.1.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.d.mts +15 -2
- package/dist/index.d.ts +15 -2
- package/dist/index.js +4625 -4592
- package/dist/index.mjs +4625 -4592
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,6 +4,17 @@ import * as axios from 'axios';
|
|
|
4
4
|
import { AxiosRequestConfig } from 'axios';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
|
+
interface AppMonitoringUptimeDetails {
|
|
8
|
+
url: string;
|
|
9
|
+
organizationId: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface AppMonitoringUptimeError {
|
|
13
|
+
checked_at: string;
|
|
14
|
+
error_message: string;
|
|
15
|
+
status_code: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
7
18
|
interface GitHubUser {
|
|
8
19
|
avatar_url: string;
|
|
9
20
|
bio: string | null;
|
|
@@ -362,7 +373,7 @@ interface TextPlatformDashboardPaymentDto {
|
|
|
362
373
|
interface TextPlatformDashboardReportItemDto {
|
|
363
374
|
usage: number;
|
|
364
375
|
amount: number;
|
|
365
|
-
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api";
|
|
376
|
+
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api" | "chat-api";
|
|
366
377
|
action?: string;
|
|
367
378
|
source?: string;
|
|
368
379
|
}
|
|
@@ -378,7 +389,7 @@ interface TextPlatformDashboardCreditsDto {
|
|
|
378
389
|
interface GetTextPlatformDashboardReportParams {
|
|
379
390
|
from: string;
|
|
380
391
|
to: string;
|
|
381
|
-
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api";
|
|
392
|
+
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api" | "chat-api";
|
|
382
393
|
action?: string;
|
|
383
394
|
source?: string;
|
|
384
395
|
time_distribution: "hour" | "day";
|
|
@@ -5900,6 +5911,8 @@ declare const api: {
|
|
|
5900
5911
|
createCustomReport(appId: string, customReport: Omit<AppMonitoringCustomReport, "id">, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5901
5912
|
updateCustomReport(appId: string, customReport: AppMonitoringCustomReport, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5902
5913
|
deleteCustomReport(appId: string, customReportId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5914
|
+
getUptimeErrors(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeError[]>;
|
|
5915
|
+
getUptimeDetails(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeDetails>;
|
|
5903
5916
|
};
|
|
5904
5917
|
};
|
|
5905
5918
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,17 @@ import * as axios from 'axios';
|
|
|
4
4
|
import { AxiosRequestConfig } from 'axios';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
|
+
interface AppMonitoringUptimeDetails {
|
|
8
|
+
url: string;
|
|
9
|
+
organizationId: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface AppMonitoringUptimeError {
|
|
13
|
+
checked_at: string;
|
|
14
|
+
error_message: string;
|
|
15
|
+
status_code: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
7
18
|
interface GitHubUser {
|
|
8
19
|
avatar_url: string;
|
|
9
20
|
bio: string | null;
|
|
@@ -362,7 +373,7 @@ interface TextPlatformDashboardPaymentDto {
|
|
|
362
373
|
interface TextPlatformDashboardReportItemDto {
|
|
363
374
|
usage: number;
|
|
364
375
|
amount: number;
|
|
365
|
-
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api";
|
|
376
|
+
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api" | "chat-api";
|
|
366
377
|
action?: string;
|
|
367
378
|
source?: string;
|
|
368
379
|
}
|
|
@@ -378,7 +389,7 @@ interface TextPlatformDashboardCreditsDto {
|
|
|
378
389
|
interface GetTextPlatformDashboardReportParams {
|
|
379
390
|
from: string;
|
|
380
391
|
to: string;
|
|
381
|
-
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api";
|
|
392
|
+
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api" | "lang-id-api" | "chat-api";
|
|
382
393
|
action?: string;
|
|
383
394
|
source?: string;
|
|
384
395
|
time_distribution: "hour" | "day";
|
|
@@ -5900,6 +5911,8 @@ declare const api: {
|
|
|
5900
5911
|
createCustomReport(appId: string, customReport: Omit<AppMonitoringCustomReport, "id">, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5901
5912
|
updateCustomReport(appId: string, customReport: AppMonitoringCustomReport, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5902
5913
|
deleteCustomReport(appId: string, customReportId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5914
|
+
getUptimeErrors(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeError[]>;
|
|
5915
|
+
getUptimeDetails(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeDetails>;
|
|
5903
5916
|
};
|
|
5904
5917
|
};
|
|
5905
5918
|
};
|