@webitel/api-services 1.0.14 → 1.0.16
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/package.json +1 -1
- package/src/api/clients/pdfServices/pdfServices.ts +29 -18
- package/src/gen/_models/downloadCallScreenrecordingArchive200.ts +13 -0
- package/src/gen/_models/downloadCallScreenrecordingArchiveParams.ts +21 -0
- package/src/gen/_models/downloadScreenshotArchive200.ts +13 -0
- package/src/gen/_models/downloadScreenshotArchiveParams.ts +21 -0
- package/src/gen/_models/engineAgent.ts +1 -0
- package/src/gen/_models/index.ts +10 -0
- package/src/gen/_models/listCallExportsParams.ts +2 -0
- package/src/gen/_models/listScreenrecordingExportsParams.ts +2 -0
- package/src/gen/_models/searchScreenRecordingsByCallChannel.ts +14 -0
- package/src/gen/_models/searchScreenRecordingsByCallParams.ts +24 -0
- package/src/gen/_models/searchScreenRecordingsByCallType.ts +15 -0
- package/src/gen/_models/webitelImApiGatewayV1HistoryMessage.ts +5 -2
- package/src/gen/_models/webitelImApiGatewayV1MessageRevision.ts +3 -2
- package/src/gen/_models/webitelImApiGatewayV1ReplyToMessage.ts +7 -1
- package/src/gen/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.ts +14 -0
- package/src/gen/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.ts +14 -0
- package/src/gen/_models/webitelMediaExporterFilterBetween.ts +14 -0
- package/src/gen-wire/_models/downloadCallScreenrecordingArchive200.ts +13 -0
- package/src/gen-wire/_models/downloadCallScreenrecordingArchiveParams.ts +21 -0
- package/src/gen-wire/_models/downloadScreenshotArchive200.ts +13 -0
- package/src/gen-wire/_models/downloadScreenshotArchiveParams.ts +21 -0
- package/src/gen-wire/_models/engineAgent.ts +1 -0
- package/src/gen-wire/_models/index.ts +10 -0
- package/src/gen-wire/_models/listCallExportsParams.ts +2 -0
- package/src/gen-wire/_models/listScreenrecordingExportsParams.ts +2 -0
- package/src/gen-wire/_models/searchScreenRecordingsByCallChannel.ts +14 -0
- package/src/gen-wire/_models/searchScreenRecordingsByCallParams.ts +24 -0
- package/src/gen-wire/_models/searchScreenRecordingsByCallType.ts +15 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.ts +5 -2
- package/src/gen-wire/_models/webitelImApiGatewayV1MessageRevision.ts +3 -2
- package/src/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.ts +7 -1
- package/src/gen-wire/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.ts +14 -0
- package/src/gen-wire/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.ts +14 -0
- package/src/gen-wire/_models/webitelMediaExporterFilterBetween.ts +14 -0
- package/src/gen-wire/agent-service/agent-service.zod.ts +6 -0
- package/src/gen-wire/file-service/file-service.ts +16 -0
- package/src/gen-wire/file-service/file-service.zod.ts +90 -0
- package/src/gen-wire/index.ts +20 -0
- package/src/gen-wire/pdf-service/pdf-service.ts +50 -0
- package/src/gen-wire/pdf-service/pdf-service.zod.ts +98 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +438 -11
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +446 -12
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/pdfServices/pdfServices.d.ts +3 -2
- package/types/gen/_models/downloadCallScreenrecordingArchive200.d.ts +12 -0
- package/types/gen/_models/downloadCallScreenrecordingArchiveParams.d.ts +20 -0
- package/types/gen/_models/downloadScreenshotArchive200.d.ts +12 -0
- package/types/gen/_models/downloadScreenshotArchiveParams.d.ts +20 -0
- package/types/gen/_models/engineAgent.d.ts +1 -0
- package/types/gen/_models/index.d.ts +10 -0
- package/types/gen/_models/listCallExportsParams.d.ts +2 -0
- package/types/gen/_models/listScreenrecordingExportsParams.d.ts +2 -0
- package/types/gen/_models/searchScreenRecordingsByCallChannel.d.ts +11 -0
- package/types/gen/_models/searchScreenRecordingsByCallParams.d.ts +23 -0
- package/types/gen/_models/searchScreenRecordingsByCallType.d.ts +12 -0
- package/types/gen/_models/webitelImApiGatewayV1HistoryMessage.d.ts +5 -2
- package/types/gen/_models/webitelImApiGatewayV1MessageRevision.d.ts +3 -2
- package/types/gen/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +7 -1
- package/types/gen/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.d.ts +13 -0
- package/types/gen/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.d.ts +13 -0
- package/types/gen/_models/webitelMediaExporterFilterBetween.d.ts +13 -0
- package/types/gen-wire/_models/downloadCallScreenrecordingArchive200.d.ts +12 -0
- package/types/gen-wire/_models/downloadCallScreenrecordingArchiveParams.d.ts +20 -0
- package/types/gen-wire/_models/downloadScreenshotArchive200.d.ts +12 -0
- package/types/gen-wire/_models/downloadScreenshotArchiveParams.d.ts +20 -0
- package/types/gen-wire/_models/engineAgent.d.ts +1 -0
- package/types/gen-wire/_models/index.d.ts +10 -0
- package/types/gen-wire/_models/listCallExportsParams.d.ts +2 -0
- package/types/gen-wire/_models/listScreenrecordingExportsParams.d.ts +2 -0
- package/types/gen-wire/_models/searchScreenRecordingsByCallChannel.d.ts +11 -0
- package/types/gen-wire/_models/searchScreenRecordingsByCallParams.d.ts +23 -0
- package/types/gen-wire/_models/searchScreenRecordingsByCallType.d.ts +12 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.d.ts +5 -2
- package/types/gen-wire/_models/webitelImApiGatewayV1MessageRevision.d.ts +3 -2
- package/types/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +7 -1
- package/types/gen-wire/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.d.ts +13 -0
- package/types/gen-wire/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.d.ts +13 -0
- package/types/gen-wire/_models/webitelMediaExporterFilterBetween.d.ts +13 -0
- package/types/gen-wire/agent-service/agent-service.zod.d.ts +6 -0
- package/types/gen-wire/file-service/file-service.d.ts +3 -1
- package/types/gen-wire/file-service/file-service.zod.d.ts +69 -0
- package/types/gen-wire/index.d.ts +4 -4
- package/types/gen-wire/pdf-service/pdf-service.d.ts +5 -1
- package/types/gen-wire/pdf-service/pdf-service.zod.d.ts +52 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +185 -7
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +188 -8
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { ListCallExportsParams, ListScreenrecordingExportsParams } from '@webitel/api-services/gen/models';
|
|
1
2
|
import type { ApiId, ApiParams } from '../_shared/types';
|
|
2
3
|
export declare const PdfServicesAPI: {
|
|
3
4
|
createScreenrecordingExport: ({ agentId, itemInstance, }: {
|
|
4
5
|
agentId: ApiId;
|
|
5
6
|
itemInstance: ApiParams;
|
|
6
7
|
}) => Promise<any>;
|
|
7
|
-
getList: (params: {
|
|
8
|
+
getList: (params: ListScreenrecordingExportsParams & {
|
|
8
9
|
agentId: ApiId;
|
|
9
10
|
}) => Promise<{
|
|
10
11
|
items: any;
|
|
@@ -14,7 +15,7 @@ export declare const PdfServicesAPI: {
|
|
|
14
15
|
callId: ApiId;
|
|
15
16
|
itemInstance: ApiParams;
|
|
16
17
|
}) => Promise<any>;
|
|
17
|
-
listCallExports: (params: {
|
|
18
|
+
listCallExports: (params: ListCallExportsParams & {
|
|
18
19
|
callId: ApiId;
|
|
19
20
|
}) => Promise<{
|
|
20
21
|
items: any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse } from './webitelMediaExporterDownloadCallScreenrecordingArchiveResponse';
|
|
9
|
+
export type DownloadCallScreenrecordingArchive200 = {
|
|
10
|
+
error?: GoogleRpcStatus;
|
|
11
|
+
result?: WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse;
|
|
12
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type DownloadCallScreenrecordingArchiveParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional IDs of selected screen recordings.
|
|
10
|
+
*/
|
|
11
|
+
fileIds?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Start of the uploaded_at range (Unix millis).
|
|
14
|
+
*/
|
|
15
|
+
from?: string;
|
|
16
|
+
/**
|
|
17
|
+
* End of the uploaded_at range (Unix millis).
|
|
18
|
+
*/
|
|
19
|
+
to?: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadScreenshotArchiveResponse } from './webitelMediaExporterDownloadScreenshotArchiveResponse';
|
|
9
|
+
export type DownloadScreenshotArchive200 = {
|
|
10
|
+
error?: GoogleRpcStatus;
|
|
11
|
+
result?: WebitelMediaExporterDownloadScreenshotArchiveResponse;
|
|
12
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type DownloadScreenshotArchiveParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional IDs of selected screenshots.
|
|
10
|
+
*/
|
|
11
|
+
fileIds?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Start of the uploaded_at range (Unix millis).
|
|
14
|
+
*/
|
|
15
|
+
from?: string;
|
|
16
|
+
/**
|
|
17
|
+
* End of the uploaded_at range (Unix millis).
|
|
18
|
+
*/
|
|
19
|
+
to?: string;
|
|
20
|
+
};
|
|
@@ -359,8 +359,12 @@ export * from './domainsUpdateDomainBodyBody';
|
|
|
359
359
|
export * from './domainsUpdateDomainBodyDomain';
|
|
360
360
|
export * from './downloadCallArchive200';
|
|
361
361
|
export * from './downloadCallArchiveParams';
|
|
362
|
+
export * from './downloadCallScreenrecordingArchive200';
|
|
363
|
+
export * from './downloadCallScreenrecordingArchiveParams';
|
|
362
364
|
export * from './downloadScreenrecordingArchive200';
|
|
363
365
|
export * from './downloadScreenrecordingArchiveParams';
|
|
366
|
+
export * from './downloadScreenshotArchive200';
|
|
367
|
+
export * from './downloadScreenshotArchiveParams';
|
|
364
368
|
export * from './dynamicConditionsCreateConditionBody';
|
|
365
369
|
export * from './engineAcceptOfDay';
|
|
366
370
|
export * from './engineActiveCall';
|
|
@@ -1103,6 +1107,9 @@ export * from './searchSchemaVersionParams';
|
|
|
1103
1107
|
export * from './searchScreenRecordingsByAgentChannel';
|
|
1104
1108
|
export * from './searchScreenRecordingsByAgentParams';
|
|
1105
1109
|
export * from './searchScreenRecordingsByAgentType';
|
|
1110
|
+
export * from './searchScreenRecordingsByCallChannel';
|
|
1111
|
+
export * from './searchScreenRecordingsByCallParams';
|
|
1112
|
+
export * from './searchScreenRecordingsByCallType';
|
|
1106
1113
|
export * from './searchScreenRecordingsChannel';
|
|
1107
1114
|
export * from './searchScreenRecordingsParams';
|
|
1108
1115
|
export * from './searchScreenRecordingsType';
|
|
@@ -1877,10 +1884,13 @@ export * from './webitelKnowledgebaseLookup';
|
|
|
1877
1884
|
export * from './webitelKnowledgebaseTag';
|
|
1878
1885
|
export * from './webitelMediaExporterDeleteExportResponse';
|
|
1879
1886
|
export * from './webitelMediaExporterDownloadCallArchiveResponse';
|
|
1887
|
+
export * from './webitelMediaExporterDownloadCallScreenrecordingArchiveResponse';
|
|
1880
1888
|
export * from './webitelMediaExporterDownloadScreenrecordingArchiveResponse';
|
|
1889
|
+
export * from './webitelMediaExporterDownloadScreenshotArchiveResponse';
|
|
1881
1890
|
export * from './webitelMediaExporterExportRecord';
|
|
1882
1891
|
export * from './webitelMediaExporterExportStatus';
|
|
1883
1892
|
export * from './webitelMediaExporterExportTask';
|
|
1893
|
+
export * from './webitelMediaExporterFilterBetween';
|
|
1884
1894
|
export * from './webitelMediaExporterListExportsResponse';
|
|
1885
1895
|
export * from './webitelMediaExporterPdfServiceCreateCallExportBody';
|
|
1886
1896
|
export * from './webitelMediaExporterPdfServiceCreateScreenrecordingExportBody';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type SearchScreenRecordingsByCallChannel = (typeof SearchScreenRecordingsByCallChannel)[keyof typeof SearchScreenRecordingsByCallChannel];
|
|
8
|
+
export declare const SearchScreenRecordingsByCallChannel: {
|
|
9
|
+
readonly Screenrecording: "SCREENRECORDING";
|
|
10
|
+
readonly Call: "CALL";
|
|
11
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { SearchScreenRecordingsByCallChannel } from './searchScreenRecordingsByCallChannel';
|
|
8
|
+
import type { SearchScreenRecordingsByCallType } from './searchScreenRecordingsByCallType';
|
|
9
|
+
export type SearchScreenRecordingsByCallParams = {
|
|
10
|
+
page?: number;
|
|
11
|
+
size?: number;
|
|
12
|
+
q?: string;
|
|
13
|
+
sort?: string;
|
|
14
|
+
fields?: string[];
|
|
15
|
+
id?: string[];
|
|
16
|
+
uploadedAtFrom?: string;
|
|
17
|
+
uploadedAtTo?: string;
|
|
18
|
+
referenceId?: string[];
|
|
19
|
+
retentionUntilFrom?: string;
|
|
20
|
+
retentionUntilTo?: string;
|
|
21
|
+
type?: SearchScreenRecordingsByCallType;
|
|
22
|
+
channel?: SearchScreenRecordingsByCallChannel;
|
|
23
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type SearchScreenRecordingsByCallType = (typeof SearchScreenRecordingsByCallType)[keyof typeof SearchScreenRecordingsByCallType];
|
|
8
|
+
export declare const SearchScreenRecordingsByCallType: {
|
|
9
|
+
readonly Pdf: "PDF";
|
|
10
|
+
readonly Screenshot: "SCREENSHOT";
|
|
11
|
+
readonly Screensharing: "SCREENSHARING";
|
|
12
|
+
};
|
|
@@ -36,8 +36,11 @@ export interface WebitelImApiGatewayV1HistoryMessage {
|
|
|
36
36
|
deleted?: boolean;
|
|
37
37
|
/** Unix time in milliseconds when the message was deleted. */
|
|
38
38
|
deletedAt?: string;
|
|
39
|
-
/**
|
|
40
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Member who deleted the message, enriched exactly like sender; unset while
|
|
41
|
+
* the message is live.
|
|
42
|
+
*/
|
|
43
|
+
deletedBy?: WebitelImApiGatewayV1ThreadMember;
|
|
41
44
|
/**
|
|
42
45
|
* Aggregated delivery status across recipients: FAILED when every
|
|
43
46
|
* recipient failed, otherwise the minimal status among non-failed ones.
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { WebitelImApiGatewayV1MessageRevisionAction } from './webitelImApiGatewayV1MessageRevisionAction';
|
|
8
|
+
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
9
|
/**
|
|
9
10
|
* One entry of a message's change history: what the message read at that
|
|
10
11
|
* point, who changed it and when.
|
|
@@ -19,8 +20,8 @@ export interface WebitelImApiGatewayV1MessageRevision {
|
|
|
19
20
|
body?: string;
|
|
20
21
|
/** Unix time in milliseconds when the change was made. */
|
|
21
22
|
changedAt?: string;
|
|
22
|
-
/**
|
|
23
|
-
changedBy?:
|
|
23
|
+
/** Member who made the change, enriched exactly like a message sender. */
|
|
24
|
+
changedBy?: WebitelImApiGatewayV1ThreadMember;
|
|
24
25
|
/** Position in the history, starting at 1 for the original message. */
|
|
25
26
|
version?: number;
|
|
26
27
|
}
|
|
@@ -6,13 +6,19 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
8
|
export interface WebitelImApiGatewayV1ReplyToMessage {
|
|
9
|
+
attachmentAddress?: string;
|
|
9
10
|
attachmentKind?: string;
|
|
10
11
|
attachmentMime?: string;
|
|
11
12
|
attachmentName?: string;
|
|
12
13
|
body?: string;
|
|
13
14
|
createdAt?: string;
|
|
14
15
|
id?: string;
|
|
16
|
+
isDeleted?: boolean;
|
|
15
17
|
sender?: WebitelImApiGatewayV1ThreadMember;
|
|
16
18
|
senderId?: string;
|
|
17
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Kind of the quoted message: text, document, image, system, interactive,
|
|
21
|
+
* location or contact.
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
18
24
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* One frame of a streamed screen recording ZIP archive. The archive name is
|
|
9
|
+
* carried via the "filename" gRPC response header set before the first frame.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse {
|
|
12
|
+
data?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* One frame of a streamed screenshot ZIP archive.
|
|
9
|
+
* The archive name is sent through the "filename" gRPC response header.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelMediaExporterDownloadScreenshotArchiveResponse {
|
|
12
|
+
data?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Unix-millis inclusive range filter, e.g. for uploaded_at.from / uploaded_at.to query params.
|
|
9
|
+
*/
|
|
10
|
+
export interface WebitelMediaExporterFilterBetween {
|
|
11
|
+
from?: string;
|
|
12
|
+
to?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse } from './webitelMediaExporterDownloadCallScreenrecordingArchiveResponse';
|
|
9
|
+
export type DownloadCallScreenrecordingArchive200 = {
|
|
10
|
+
error?: GoogleRpcStatus;
|
|
11
|
+
result?: WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse;
|
|
12
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type DownloadCallScreenrecordingArchiveParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional IDs of selected screen recordings.
|
|
10
|
+
*/
|
|
11
|
+
file_ids?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Start of the uploaded_at range (Unix millis).
|
|
14
|
+
*/
|
|
15
|
+
from?: string;
|
|
16
|
+
/**
|
|
17
|
+
* End of the uploaded_at range (Unix millis).
|
|
18
|
+
*/
|
|
19
|
+
to?: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadScreenshotArchiveResponse } from './webitelMediaExporterDownloadScreenshotArchiveResponse';
|
|
9
|
+
export type DownloadScreenshotArchive200 = {
|
|
10
|
+
error?: GoogleRpcStatus;
|
|
11
|
+
result?: WebitelMediaExporterDownloadScreenshotArchiveResponse;
|
|
12
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type DownloadScreenshotArchiveParams = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional IDs of selected screenshots.
|
|
10
|
+
*/
|
|
11
|
+
file_ids?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Start of the uploaded_at range (Unix millis).
|
|
14
|
+
*/
|
|
15
|
+
from?: string;
|
|
16
|
+
/**
|
|
17
|
+
* End of the uploaded_at range (Unix millis).
|
|
18
|
+
*/
|
|
19
|
+
to?: string;
|
|
20
|
+
};
|
|
@@ -353,8 +353,12 @@ export * from './domainsUpdateDomainBodyBody';
|
|
|
353
353
|
export * from './domainsUpdateDomainBodyDomain';
|
|
354
354
|
export * from './downloadCallArchive200';
|
|
355
355
|
export * from './downloadCallArchiveParams';
|
|
356
|
+
export * from './downloadCallScreenrecordingArchive200';
|
|
357
|
+
export * from './downloadCallScreenrecordingArchiveParams';
|
|
356
358
|
export * from './downloadScreenrecordingArchive200';
|
|
357
359
|
export * from './downloadScreenrecordingArchiveParams';
|
|
360
|
+
export * from './downloadScreenshotArchive200';
|
|
361
|
+
export * from './downloadScreenshotArchiveParams';
|
|
358
362
|
export * from './dynamicConditionsCreateConditionBody';
|
|
359
363
|
export * from './engineAcceptOfDay';
|
|
360
364
|
export * from './engineActiveCall';
|
|
@@ -1097,6 +1101,9 @@ export * from './searchSchemaVersionParams';
|
|
|
1097
1101
|
export * from './searchScreenRecordingsByAgentChannel';
|
|
1098
1102
|
export * from './searchScreenRecordingsByAgentParams';
|
|
1099
1103
|
export * from './searchScreenRecordingsByAgentType';
|
|
1104
|
+
export * from './searchScreenRecordingsByCallChannel';
|
|
1105
|
+
export * from './searchScreenRecordingsByCallParams';
|
|
1106
|
+
export * from './searchScreenRecordingsByCallType';
|
|
1100
1107
|
export * from './searchScreenRecordingsChannel';
|
|
1101
1108
|
export * from './searchScreenRecordingsParams';
|
|
1102
1109
|
export * from './searchScreenRecordingsType';
|
|
@@ -1871,10 +1878,13 @@ export * from './webitelKnowledgebaseLookup';
|
|
|
1871
1878
|
export * from './webitelKnowledgebaseTag';
|
|
1872
1879
|
export * from './webitelMediaExporterDeleteExportResponse';
|
|
1873
1880
|
export * from './webitelMediaExporterDownloadCallArchiveResponse';
|
|
1881
|
+
export * from './webitelMediaExporterDownloadCallScreenrecordingArchiveResponse';
|
|
1874
1882
|
export * from './webitelMediaExporterDownloadScreenrecordingArchiveResponse';
|
|
1883
|
+
export * from './webitelMediaExporterDownloadScreenshotArchiveResponse';
|
|
1875
1884
|
export * from './webitelMediaExporterExportRecord';
|
|
1876
1885
|
export * from './webitelMediaExporterExportStatus';
|
|
1877
1886
|
export * from './webitelMediaExporterExportTask';
|
|
1887
|
+
export * from './webitelMediaExporterFilterBetween';
|
|
1878
1888
|
export * from './webitelMediaExporterListExportsResponse';
|
|
1879
1889
|
export * from './webitelMediaExporterPdfServiceCreateCallExportBody';
|
|
1880
1890
|
export * from './webitelMediaExporterPdfServiceCreateScreenrecordingExportBody';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type SearchScreenRecordingsByCallChannel = (typeof SearchScreenRecordingsByCallChannel)[keyof typeof SearchScreenRecordingsByCallChannel];
|
|
8
|
+
export declare const SearchScreenRecordingsByCallChannel: {
|
|
9
|
+
readonly Screenrecording: "SCREENRECORDING";
|
|
10
|
+
readonly Call: "CALL";
|
|
11
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { SearchScreenRecordingsByCallChannel } from './searchScreenRecordingsByCallChannel';
|
|
8
|
+
import type { SearchScreenRecordingsByCallType } from './searchScreenRecordingsByCallType';
|
|
9
|
+
export type SearchScreenRecordingsByCallParams = {
|
|
10
|
+
page?: number;
|
|
11
|
+
size?: number;
|
|
12
|
+
q?: string;
|
|
13
|
+
sort?: string;
|
|
14
|
+
fields?: string[];
|
|
15
|
+
id?: string[];
|
|
16
|
+
'uploaded_at.from'?: string;
|
|
17
|
+
'uploaded_at.to'?: string;
|
|
18
|
+
reference_id?: string[];
|
|
19
|
+
'retention_until.from'?: string;
|
|
20
|
+
'retention_until.to'?: string;
|
|
21
|
+
type?: SearchScreenRecordingsByCallType;
|
|
22
|
+
channel?: SearchScreenRecordingsByCallChannel;
|
|
23
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type SearchScreenRecordingsByCallType = (typeof SearchScreenRecordingsByCallType)[keyof typeof SearchScreenRecordingsByCallType];
|
|
8
|
+
export declare const SearchScreenRecordingsByCallType: {
|
|
9
|
+
readonly Pdf: "PDF";
|
|
10
|
+
readonly Screenshot: "SCREENSHOT";
|
|
11
|
+
readonly Screensharing: "SCREENSHARING";
|
|
12
|
+
};
|
|
@@ -36,8 +36,11 @@ export interface WebitelImApiGatewayV1HistoryMessage {
|
|
|
36
36
|
deleted?: boolean;
|
|
37
37
|
/** Unix time in milliseconds when the message was deleted. */
|
|
38
38
|
deleted_at?: string;
|
|
39
|
-
/**
|
|
40
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Member who deleted the message, enriched exactly like sender; unset while
|
|
41
|
+
* the message is live.
|
|
42
|
+
*/
|
|
43
|
+
deleted_by?: WebitelImApiGatewayV1ThreadMember;
|
|
41
44
|
/**
|
|
42
45
|
* Aggregated delivery status across recipients: FAILED when every
|
|
43
46
|
* recipient failed, otherwise the minimal status among non-failed ones.
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { WebitelImApiGatewayV1MessageRevisionAction } from './webitelImApiGatewayV1MessageRevisionAction';
|
|
8
|
+
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
9
|
/**
|
|
9
10
|
* One entry of a message's change history: what the message read at that
|
|
10
11
|
* point, who changed it and when.
|
|
@@ -19,8 +20,8 @@ export interface WebitelImApiGatewayV1MessageRevision {
|
|
|
19
20
|
body?: string;
|
|
20
21
|
/** Unix time in milliseconds when the change was made. */
|
|
21
22
|
changed_at?: string;
|
|
22
|
-
/**
|
|
23
|
-
changed_by?:
|
|
23
|
+
/** Member who made the change, enriched exactly like a message sender. */
|
|
24
|
+
changed_by?: WebitelImApiGatewayV1ThreadMember;
|
|
24
25
|
/** Position in the history, starting at 1 for the original message. */
|
|
25
26
|
version?: number;
|
|
26
27
|
}
|
|
@@ -6,13 +6,19 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
8
|
export interface WebitelImApiGatewayV1ReplyToMessage {
|
|
9
|
+
attachment_address?: string;
|
|
9
10
|
attachment_kind?: string;
|
|
10
11
|
attachment_mime?: string;
|
|
11
12
|
attachment_name?: string;
|
|
12
13
|
body?: string;
|
|
13
14
|
created_at?: string;
|
|
14
15
|
id?: string;
|
|
16
|
+
is_deleted?: boolean;
|
|
15
17
|
sender?: WebitelImApiGatewayV1ThreadMember;
|
|
16
18
|
sender_id?: string;
|
|
17
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Kind of the quoted message: text, document, image, system, interactive,
|
|
21
|
+
* location or contact.
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
18
24
|
}
|
package/types/gen-wire/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* One frame of a streamed screen recording ZIP archive. The archive name is
|
|
9
|
+
* carried via the "filename" gRPC response header set before the first frame.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse {
|
|
12
|
+
data?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* One frame of a streamed screenshot ZIP archive.
|
|
9
|
+
* The archive name is sent through the "filename" gRPC response header.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelMediaExporterDownloadScreenshotArchiveResponse {
|
|
12
|
+
data?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Unix-millis inclusive range filter, e.g. for uploaded_at.from / uploaded_at.to query params.
|
|
9
|
+
*/
|
|
10
|
+
export interface WebitelMediaExporterFilterBetween {
|
|
11
|
+
from?: string;
|
|
12
|
+
to?: string;
|
|
13
|
+
}
|
|
@@ -68,6 +68,7 @@ export declare const SearchAgentResponse: zod.ZodObject<{
|
|
|
68
68
|
}, zod.z.core.$strip>>>;
|
|
69
69
|
status: zod.ZodOptional<zod.ZodString>;
|
|
70
70
|
status_duration: zod.ZodOptional<zod.ZodString>;
|
|
71
|
+
status_type: zod.ZodOptional<zod.ZodString>;
|
|
71
72
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
72
73
|
id: zod.ZodOptional<zod.ZodString>;
|
|
73
74
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -162,6 +163,7 @@ export declare const CreateAgentResponse: zod.ZodObject<{
|
|
|
162
163
|
}, zod.z.core.$strip>>>;
|
|
163
164
|
status: zod.ZodOptional<zod.ZodString>;
|
|
164
165
|
status_duration: zod.ZodOptional<zod.ZodString>;
|
|
166
|
+
status_type: zod.ZodOptional<zod.ZodString>;
|
|
165
167
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
166
168
|
id: zod.ZodOptional<zod.ZodString>;
|
|
167
169
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -516,6 +518,7 @@ export declare const DeleteAgentResponse: zod.ZodObject<{
|
|
|
516
518
|
}, zod.z.core.$strip>>>;
|
|
517
519
|
status: zod.ZodOptional<zod.ZodString>;
|
|
518
520
|
status_duration: zod.ZodOptional<zod.ZodString>;
|
|
521
|
+
status_type: zod.ZodOptional<zod.ZodString>;
|
|
519
522
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
520
523
|
id: zod.ZodOptional<zod.ZodString>;
|
|
521
524
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -579,6 +582,7 @@ export declare const ReadAgentResponse: zod.ZodObject<{
|
|
|
579
582
|
}, zod.z.core.$strip>>>;
|
|
580
583
|
status: zod.ZodOptional<zod.ZodString>;
|
|
581
584
|
status_duration: zod.ZodOptional<zod.ZodString>;
|
|
585
|
+
status_type: zod.ZodOptional<zod.ZodString>;
|
|
582
586
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
583
587
|
id: zod.ZodOptional<zod.ZodString>;
|
|
584
588
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -673,6 +677,7 @@ export declare const PatchAgentResponse: zod.ZodObject<{
|
|
|
673
677
|
}, zod.z.core.$strip>>>;
|
|
674
678
|
status: zod.ZodOptional<zod.ZodString>;
|
|
675
679
|
status_duration: zod.ZodOptional<zod.ZodString>;
|
|
680
|
+
status_type: zod.ZodOptional<zod.ZodString>;
|
|
676
681
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
677
682
|
id: zod.ZodOptional<zod.ZodString>;
|
|
678
683
|
name: zod.ZodOptional<zod.ZodString>;
|
|
@@ -768,6 +773,7 @@ export declare const UpdateAgentResponse: zod.ZodObject<{
|
|
|
768
773
|
}, zod.z.core.$strip>>>;
|
|
769
774
|
status: zod.ZodOptional<zod.ZodString>;
|
|
770
775
|
status_duration: zod.ZodOptional<zod.ZodString>;
|
|
776
|
+
status_type: zod.ZodOptional<zod.ZodString>;
|
|
771
777
|
supervisor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
772
778
|
id: zod.ZodOptional<zod.ZodString>;
|
|
773
779
|
name: zod.ZodOptional<zod.ZodString>;
|