@webitel/api-services 1.0.13 → 1.0.15
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/labels/labels.ts +1 -6
- 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/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
package/package.json
CHANGED
|
@@ -52,12 +52,7 @@ const getLabelsList = async (params: ApiParams) => {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
const getLabelsLookup = (params: Parameters<typeof getLabelsList>[0]) =>
|
|
55
|
-
getLabelsList(
|
|
56
|
-
...params,
|
|
57
|
-
fields: params.fields || [
|
|
58
|
-
'label',
|
|
59
|
-
],
|
|
60
|
-
});
|
|
55
|
+
getLabelsList(params);
|
|
61
56
|
|
|
62
57
|
export const LabelsAPI = {
|
|
63
58
|
getList: getLabelsList,
|
|
@@ -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
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse } from './webitelMediaExporterDownloadCallScreenrecordingArchiveResponse';
|
|
9
|
+
|
|
10
|
+
export type DownloadCallScreenrecordingArchive200 = {
|
|
11
|
+
error?: GoogleRpcStatus;
|
|
12
|
+
result?: WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse;
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type DownloadCallScreenrecordingArchiveParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Optional IDs of selected screen recordings.
|
|
11
|
+
*/
|
|
12
|
+
fileIds?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Start of the uploaded_at range (Unix millis).
|
|
15
|
+
*/
|
|
16
|
+
from?: string;
|
|
17
|
+
/**
|
|
18
|
+
* End of the uploaded_at range (Unix millis).
|
|
19
|
+
*/
|
|
20
|
+
to?: string;
|
|
21
|
+
};
|
|
@@ -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
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadScreenshotArchiveResponse } from './webitelMediaExporterDownloadScreenshotArchiveResponse';
|
|
9
|
+
|
|
10
|
+
export type DownloadScreenshotArchive200 = {
|
|
11
|
+
error?: GoogleRpcStatus;
|
|
12
|
+
result?: WebitelMediaExporterDownloadScreenshotArchiveResponse;
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type DownloadScreenshotArchiveParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Optional IDs of selected screenshots.
|
|
11
|
+
*/
|
|
12
|
+
fileIds?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Start of the uploaded_at range (Unix millis).
|
|
15
|
+
*/
|
|
16
|
+
from?: string;
|
|
17
|
+
/**
|
|
18
|
+
* End of the uploaded_at range (Unix millis).
|
|
19
|
+
*/
|
|
20
|
+
to?: string;
|
|
21
|
+
};
|
package/src/gen/_models/index.ts
CHANGED
|
@@ -360,8 +360,12 @@ export * from './domainsUpdateDomainBodyBody';
|
|
|
360
360
|
export * from './domainsUpdateDomainBodyDomain';
|
|
361
361
|
export * from './downloadCallArchive200';
|
|
362
362
|
export * from './downloadCallArchiveParams';
|
|
363
|
+
export * from './downloadCallScreenrecordingArchive200';
|
|
364
|
+
export * from './downloadCallScreenrecordingArchiveParams';
|
|
363
365
|
export * from './downloadScreenrecordingArchive200';
|
|
364
366
|
export * from './downloadScreenrecordingArchiveParams';
|
|
367
|
+
export * from './downloadScreenshotArchive200';
|
|
368
|
+
export * from './downloadScreenshotArchiveParams';
|
|
365
369
|
export * from './dynamicConditionsCreateConditionBody';
|
|
366
370
|
export * from './engineAcceptOfDay';
|
|
367
371
|
export * from './engineActiveCall';
|
|
@@ -1104,6 +1108,9 @@ export * from './searchSchemaVersionParams';
|
|
|
1104
1108
|
export * from './searchScreenRecordingsByAgentChannel';
|
|
1105
1109
|
export * from './searchScreenRecordingsByAgentParams';
|
|
1106
1110
|
export * from './searchScreenRecordingsByAgentType';
|
|
1111
|
+
export * from './searchScreenRecordingsByCallChannel';
|
|
1112
|
+
export * from './searchScreenRecordingsByCallParams';
|
|
1113
|
+
export * from './searchScreenRecordingsByCallType';
|
|
1107
1114
|
export * from './searchScreenRecordingsChannel';
|
|
1108
1115
|
export * from './searchScreenRecordingsParams';
|
|
1109
1116
|
export * from './searchScreenRecordingsType';
|
|
@@ -1878,10 +1885,13 @@ export * from './webitelKnowledgebaseLookup';
|
|
|
1878
1885
|
export * from './webitelKnowledgebaseTag';
|
|
1879
1886
|
export * from './webitelMediaExporterDeleteExportResponse';
|
|
1880
1887
|
export * from './webitelMediaExporterDownloadCallArchiveResponse';
|
|
1888
|
+
export * from './webitelMediaExporterDownloadCallScreenrecordingArchiveResponse';
|
|
1881
1889
|
export * from './webitelMediaExporterDownloadScreenrecordingArchiveResponse';
|
|
1890
|
+
export * from './webitelMediaExporterDownloadScreenshotArchiveResponse';
|
|
1882
1891
|
export * from './webitelMediaExporterExportRecord';
|
|
1883
1892
|
export * from './webitelMediaExporterExportStatus';
|
|
1884
1893
|
export * from './webitelMediaExporterExportTask';
|
|
1894
|
+
export * from './webitelMediaExporterFilterBetween';
|
|
1885
1895
|
export * from './webitelMediaExporterListExportsResponse';
|
|
1886
1896
|
export * from './webitelMediaExporterPdfServiceCreateCallExportBody';
|
|
1887
1897
|
export * from './webitelMediaExporterPdfServiceCreateScreenrecordingExportBody';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type SearchScreenRecordingsByCallChannel =
|
|
9
|
+
(typeof SearchScreenRecordingsByCallChannel)[keyof typeof SearchScreenRecordingsByCallChannel];
|
|
10
|
+
|
|
11
|
+
export const SearchScreenRecordingsByCallChannel = {
|
|
12
|
+
Screenrecording: 'SCREENRECORDING',
|
|
13
|
+
Call: 'CALL',
|
|
14
|
+
} as const;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
10
|
+
export type SearchScreenRecordingsByCallParams = {
|
|
11
|
+
page?: number;
|
|
12
|
+
size?: number;
|
|
13
|
+
q?: string;
|
|
14
|
+
sort?: string;
|
|
15
|
+
fields?: string[];
|
|
16
|
+
id?: string[];
|
|
17
|
+
uploadedAtFrom?: string;
|
|
18
|
+
uploadedAtTo?: string;
|
|
19
|
+
referenceId?: string[];
|
|
20
|
+
retentionUntilFrom?: string;
|
|
21
|
+
retentionUntilTo?: string;
|
|
22
|
+
type?: SearchScreenRecordingsByCallType;
|
|
23
|
+
channel?: SearchScreenRecordingsByCallChannel;
|
|
24
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type SearchScreenRecordingsByCallType =
|
|
9
|
+
(typeof SearchScreenRecordingsByCallType)[keyof typeof SearchScreenRecordingsByCallType];
|
|
10
|
+
|
|
11
|
+
export const SearchScreenRecordingsByCallType = {
|
|
12
|
+
Pdf: 'PDF',
|
|
13
|
+
Screenshot: 'SCREENSHOT',
|
|
14
|
+
Screensharing: 'SCREENSHARING',
|
|
15
|
+
} as const;
|
|
@@ -37,8 +37,11 @@ export interface WebitelImApiGatewayV1HistoryMessage {
|
|
|
37
37
|
deleted?: boolean;
|
|
38
38
|
/** Unix time in milliseconds when the message was deleted. */
|
|
39
39
|
deletedAt?: string;
|
|
40
|
-
/**
|
|
41
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Member who deleted the message, enriched exactly like sender; unset while
|
|
42
|
+
* the message is live.
|
|
43
|
+
*/
|
|
44
|
+
deletedBy?: WebitelImApiGatewayV1ThreadMember;
|
|
42
45
|
/**
|
|
43
46
|
* Aggregated delivery status across recipients: FAILED when every
|
|
44
47
|
* 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
|
/**
|
|
10
11
|
* One entry of a message's change history: what the message read at that
|
|
@@ -20,8 +21,8 @@ export interface WebitelImApiGatewayV1MessageRevision {
|
|
|
20
21
|
body?: string;
|
|
21
22
|
/** Unix time in milliseconds when the change was made. */
|
|
22
23
|
changedAt?: string;
|
|
23
|
-
/**
|
|
24
|
-
changedBy?:
|
|
24
|
+
/** Member who made the change, enriched exactly like a message sender. */
|
|
25
|
+
changedBy?: WebitelImApiGatewayV1ThreadMember;
|
|
25
26
|
/** Position in the history, starting at 1 for the original message. */
|
|
26
27
|
version?: number;
|
|
27
28
|
}
|
|
@@ -7,13 +7,19 @@
|
|
|
7
7
|
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
8
|
|
|
9
9
|
export interface WebitelImApiGatewayV1ReplyToMessage {
|
|
10
|
+
attachmentAddress?: string;
|
|
10
11
|
attachmentKind?: string;
|
|
11
12
|
attachmentMime?: string;
|
|
12
13
|
attachmentName?: string;
|
|
13
14
|
body?: string;
|
|
14
15
|
createdAt?: string;
|
|
15
16
|
id?: string;
|
|
17
|
+
isDeleted?: boolean;
|
|
16
18
|
sender?: WebitelImApiGatewayV1ThreadMember;
|
|
17
19
|
senderId?: string;
|
|
18
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Kind of the quoted message: text, document, image, system, interactive,
|
|
22
|
+
* location or contact.
|
|
23
|
+
*/
|
|
24
|
+
type?: string;
|
|
19
25
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* One frame of a streamed screen recording ZIP archive. The archive name is
|
|
10
|
+
* carried via the "filename" gRPC response header set before the first frame.
|
|
11
|
+
*/
|
|
12
|
+
export interface WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse {
|
|
13
|
+
data?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* One frame of a streamed screenshot ZIP archive.
|
|
10
|
+
* The archive name is sent through the "filename" gRPC response header.
|
|
11
|
+
*/
|
|
12
|
+
export interface WebitelMediaExporterDownloadScreenshotArchiveResponse {
|
|
13
|
+
data?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Unix-millis inclusive range filter, e.g. for uploaded_at.from / uploaded_at.to query params.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelMediaExporterFilterBetween {
|
|
12
|
+
from?: string;
|
|
13
|
+
to?: string;
|
|
14
|
+
}
|
|
@@ -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
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse } from './webitelMediaExporterDownloadCallScreenrecordingArchiveResponse';
|
|
9
|
+
|
|
10
|
+
export type DownloadCallScreenrecordingArchive200 = {
|
|
11
|
+
error?: GoogleRpcStatus;
|
|
12
|
+
result?: WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse;
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type DownloadCallScreenrecordingArchiveParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Optional IDs of selected screen recordings.
|
|
11
|
+
*/
|
|
12
|
+
file_ids?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Start of the uploaded_at range (Unix millis).
|
|
15
|
+
*/
|
|
16
|
+
from?: string;
|
|
17
|
+
/**
|
|
18
|
+
* End of the uploaded_at range (Unix millis).
|
|
19
|
+
*/
|
|
20
|
+
to?: string;
|
|
21
|
+
};
|
|
@@ -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
|
+
import type { GoogleRpcStatus } from './googleRpcStatus';
|
|
8
|
+
import type { WebitelMediaExporterDownloadScreenshotArchiveResponse } from './webitelMediaExporterDownloadScreenshotArchiveResponse';
|
|
9
|
+
|
|
10
|
+
export type DownloadScreenshotArchive200 = {
|
|
11
|
+
error?: GoogleRpcStatus;
|
|
12
|
+
result?: WebitelMediaExporterDownloadScreenshotArchiveResponse;
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type DownloadScreenshotArchiveParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Optional IDs of selected screenshots.
|
|
11
|
+
*/
|
|
12
|
+
file_ids?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Start of the uploaded_at range (Unix millis).
|
|
15
|
+
*/
|
|
16
|
+
from?: string;
|
|
17
|
+
/**
|
|
18
|
+
* End of the uploaded_at range (Unix millis).
|
|
19
|
+
*/
|
|
20
|
+
to?: string;
|
|
21
|
+
};
|
|
@@ -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,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type SearchScreenRecordingsByCallChannel =
|
|
9
|
+
(typeof SearchScreenRecordingsByCallChannel)[keyof typeof SearchScreenRecordingsByCallChannel];
|
|
10
|
+
|
|
11
|
+
export const SearchScreenRecordingsByCallChannel = {
|
|
12
|
+
Screenrecording: 'SCREENRECORDING',
|
|
13
|
+
Call: 'CALL',
|
|
14
|
+
} as const;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
10
|
+
export type SearchScreenRecordingsByCallParams = {
|
|
11
|
+
page?: number;
|
|
12
|
+
size?: number;
|
|
13
|
+
q?: string;
|
|
14
|
+
sort?: string;
|
|
15
|
+
fields?: string[];
|
|
16
|
+
id?: string[];
|
|
17
|
+
'uploaded_at.from'?: string;
|
|
18
|
+
'uploaded_at.to'?: string;
|
|
19
|
+
reference_id?: string[];
|
|
20
|
+
'retention_until.from'?: string;
|
|
21
|
+
'retention_until.to'?: string;
|
|
22
|
+
type?: SearchScreenRecordingsByCallType;
|
|
23
|
+
channel?: SearchScreenRecordingsByCallChannel;
|
|
24
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type SearchScreenRecordingsByCallType =
|
|
9
|
+
(typeof SearchScreenRecordingsByCallType)[keyof typeof SearchScreenRecordingsByCallType];
|
|
10
|
+
|
|
11
|
+
export const SearchScreenRecordingsByCallType = {
|
|
12
|
+
Pdf: 'PDF',
|
|
13
|
+
Screenshot: 'SCREENSHOT',
|
|
14
|
+
Screensharing: 'SCREENSHARING',
|
|
15
|
+
} as const;
|
|
@@ -37,8 +37,11 @@ export interface WebitelImApiGatewayV1HistoryMessage {
|
|
|
37
37
|
deleted?: boolean;
|
|
38
38
|
/** Unix time in milliseconds when the message was deleted. */
|
|
39
39
|
deleted_at?: string;
|
|
40
|
-
/**
|
|
41
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Member who deleted the message, enriched exactly like sender; unset while
|
|
42
|
+
* the message is live.
|
|
43
|
+
*/
|
|
44
|
+
deleted_by?: WebitelImApiGatewayV1ThreadMember;
|
|
42
45
|
/**
|
|
43
46
|
* Aggregated delivery status across recipients: FAILED when every
|
|
44
47
|
* 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
|
/**
|
|
10
11
|
* One entry of a message's change history: what the message read at that
|
|
@@ -20,8 +21,8 @@ export interface WebitelImApiGatewayV1MessageRevision {
|
|
|
20
21
|
body?: string;
|
|
21
22
|
/** Unix time in milliseconds when the change was made. */
|
|
22
23
|
changed_at?: string;
|
|
23
|
-
/**
|
|
24
|
-
changed_by?:
|
|
24
|
+
/** Member who made the change, enriched exactly like a message sender. */
|
|
25
|
+
changed_by?: WebitelImApiGatewayV1ThreadMember;
|
|
25
26
|
/** Position in the history, starting at 1 for the original message. */
|
|
26
27
|
version?: number;
|
|
27
28
|
}
|
|
@@ -7,13 +7,19 @@
|
|
|
7
7
|
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
8
8
|
|
|
9
9
|
export interface WebitelImApiGatewayV1ReplyToMessage {
|
|
10
|
+
attachment_address?: string;
|
|
10
11
|
attachment_kind?: string;
|
|
11
12
|
attachment_mime?: string;
|
|
12
13
|
attachment_name?: string;
|
|
13
14
|
body?: string;
|
|
14
15
|
created_at?: string;
|
|
15
16
|
id?: string;
|
|
17
|
+
is_deleted?: boolean;
|
|
16
18
|
sender?: WebitelImApiGatewayV1ThreadMember;
|
|
17
19
|
sender_id?: string;
|
|
18
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Kind of the quoted message: text, document, image, system, interactive,
|
|
22
|
+
* location or contact.
|
|
23
|
+
*/
|
|
24
|
+
type?: string;
|
|
19
25
|
}
|
package/src/gen-wire/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* One frame of a streamed screen recording ZIP archive. The archive name is
|
|
10
|
+
* carried via the "filename" gRPC response header set before the first frame.
|
|
11
|
+
*/
|
|
12
|
+
export interface WebitelMediaExporterDownloadCallScreenrecordingArchiveResponse {
|
|
13
|
+
data?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* One frame of a streamed screenshot ZIP archive.
|
|
10
|
+
* The archive name is sent through the "filename" gRPC response header.
|
|
11
|
+
*/
|
|
12
|
+
export interface WebitelMediaExporterDownloadScreenshotArchiveResponse {
|
|
13
|
+
data?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Unix-millis inclusive range filter, e.g. for uploaded_at.from / uploaded_at.to query params.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelMediaExporterFilterBetween {
|
|
12
|
+
from?: string;
|
|
13
|
+
to?: string;
|
|
14
|
+
}
|