@livechat/developer-studio-api 3.1.49 → 3.1.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 +16 -2
- package/dist/index.d.ts +16 -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";
|
|
@@ -402,6 +413,7 @@ interface WorkflowDto {
|
|
|
402
413
|
created_at: string;
|
|
403
414
|
updated_at: string;
|
|
404
415
|
created_by: string;
|
|
416
|
+
tags: string[];
|
|
405
417
|
trigger: WorkflowTriggerDto;
|
|
406
418
|
definition: WorkflowDefinitionDto;
|
|
407
419
|
}
|
|
@@ -5900,6 +5912,8 @@ declare const api: {
|
|
|
5900
5912
|
createCustomReport(appId: string, customReport: Omit<AppMonitoringCustomReport, "id">, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5901
5913
|
updateCustomReport(appId: string, customReport: AppMonitoringCustomReport, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5902
5914
|
deleteCustomReport(appId: string, customReportId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5915
|
+
getUptimeErrors(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeError[]>;
|
|
5916
|
+
getUptimeDetails(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeDetails>;
|
|
5903
5917
|
};
|
|
5904
5918
|
};
|
|
5905
5919
|
};
|
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";
|
|
@@ -402,6 +413,7 @@ interface WorkflowDto {
|
|
|
402
413
|
created_at: string;
|
|
403
414
|
updated_at: string;
|
|
404
415
|
created_by: string;
|
|
416
|
+
tags: string[];
|
|
405
417
|
trigger: WorkflowTriggerDto;
|
|
406
418
|
definition: WorkflowDefinitionDto;
|
|
407
419
|
}
|
|
@@ -5900,6 +5912,8 @@ declare const api: {
|
|
|
5900
5912
|
createCustomReport(appId: string, customReport: Omit<AppMonitoringCustomReport, "id">, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5901
5913
|
updateCustomReport(appId: string, customReport: AppMonitoringCustomReport, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5902
5914
|
deleteCustomReport(appId: string, customReportId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5915
|
+
getUptimeErrors(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeError[]>;
|
|
5916
|
+
getUptimeDetails(appId: string, authorization?: PlatformClientAuthorization | undefined): Promise<AppMonitoringUptimeDetails>;
|
|
5903
5917
|
};
|
|
5904
5918
|
};
|
|
5905
5919
|
};
|