@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.
Files changed (87) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/labels/labels.ts +1 -6
  3. package/src/gen/_models/downloadCallScreenrecordingArchive200.ts +13 -0
  4. package/src/gen/_models/downloadCallScreenrecordingArchiveParams.ts +21 -0
  5. package/src/gen/_models/downloadScreenshotArchive200.ts +13 -0
  6. package/src/gen/_models/downloadScreenshotArchiveParams.ts +21 -0
  7. package/src/gen/_models/engineAgent.ts +1 -0
  8. package/src/gen/_models/index.ts +10 -0
  9. package/src/gen/_models/listCallExportsParams.ts +2 -0
  10. package/src/gen/_models/listScreenrecordingExportsParams.ts +2 -0
  11. package/src/gen/_models/searchScreenRecordingsByCallChannel.ts +14 -0
  12. package/src/gen/_models/searchScreenRecordingsByCallParams.ts +24 -0
  13. package/src/gen/_models/searchScreenRecordingsByCallType.ts +15 -0
  14. package/src/gen/_models/webitelImApiGatewayV1HistoryMessage.ts +5 -2
  15. package/src/gen/_models/webitelImApiGatewayV1MessageRevision.ts +3 -2
  16. package/src/gen/_models/webitelImApiGatewayV1ReplyToMessage.ts +7 -1
  17. package/src/gen/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.ts +14 -0
  18. package/src/gen/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.ts +14 -0
  19. package/src/gen/_models/webitelMediaExporterFilterBetween.ts +14 -0
  20. package/src/gen-wire/_models/downloadCallScreenrecordingArchive200.ts +13 -0
  21. package/src/gen-wire/_models/downloadCallScreenrecordingArchiveParams.ts +21 -0
  22. package/src/gen-wire/_models/downloadScreenshotArchive200.ts +13 -0
  23. package/src/gen-wire/_models/downloadScreenshotArchiveParams.ts +21 -0
  24. package/src/gen-wire/_models/engineAgent.ts +1 -0
  25. package/src/gen-wire/_models/index.ts +10 -0
  26. package/src/gen-wire/_models/listCallExportsParams.ts +2 -0
  27. package/src/gen-wire/_models/listScreenrecordingExportsParams.ts +2 -0
  28. package/src/gen-wire/_models/searchScreenRecordingsByCallChannel.ts +14 -0
  29. package/src/gen-wire/_models/searchScreenRecordingsByCallParams.ts +24 -0
  30. package/src/gen-wire/_models/searchScreenRecordingsByCallType.ts +15 -0
  31. package/src/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.ts +5 -2
  32. package/src/gen-wire/_models/webitelImApiGatewayV1MessageRevision.ts +3 -2
  33. package/src/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.ts +7 -1
  34. package/src/gen-wire/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.ts +14 -0
  35. package/src/gen-wire/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.ts +14 -0
  36. package/src/gen-wire/_models/webitelMediaExporterFilterBetween.ts +14 -0
  37. package/src/gen-wire/agent-service/agent-service.zod.ts +6 -0
  38. package/src/gen-wire/file-service/file-service.ts +16 -0
  39. package/src/gen-wire/file-service/file-service.zod.ts +90 -0
  40. package/src/gen-wire/index.ts +20 -0
  41. package/src/gen-wire/pdf-service/pdf-service.ts +50 -0
  42. package/src/gen-wire/pdf-service/pdf-service.zod.ts +98 -0
  43. package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +438 -11
  44. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +446 -12
  45. package/types/.tsbuildinfo +1 -1
  46. package/types/gen/_models/downloadCallScreenrecordingArchive200.d.ts +12 -0
  47. package/types/gen/_models/downloadCallScreenrecordingArchiveParams.d.ts +20 -0
  48. package/types/gen/_models/downloadScreenshotArchive200.d.ts +12 -0
  49. package/types/gen/_models/downloadScreenshotArchiveParams.d.ts +20 -0
  50. package/types/gen/_models/engineAgent.d.ts +1 -0
  51. package/types/gen/_models/index.d.ts +10 -0
  52. package/types/gen/_models/listCallExportsParams.d.ts +2 -0
  53. package/types/gen/_models/listScreenrecordingExportsParams.d.ts +2 -0
  54. package/types/gen/_models/searchScreenRecordingsByCallChannel.d.ts +11 -0
  55. package/types/gen/_models/searchScreenRecordingsByCallParams.d.ts +23 -0
  56. package/types/gen/_models/searchScreenRecordingsByCallType.d.ts +12 -0
  57. package/types/gen/_models/webitelImApiGatewayV1HistoryMessage.d.ts +5 -2
  58. package/types/gen/_models/webitelImApiGatewayV1MessageRevision.d.ts +3 -2
  59. package/types/gen/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +7 -1
  60. package/types/gen/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.d.ts +13 -0
  61. package/types/gen/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.d.ts +13 -0
  62. package/types/gen/_models/webitelMediaExporterFilterBetween.d.ts +13 -0
  63. package/types/gen-wire/_models/downloadCallScreenrecordingArchive200.d.ts +12 -0
  64. package/types/gen-wire/_models/downloadCallScreenrecordingArchiveParams.d.ts +20 -0
  65. package/types/gen-wire/_models/downloadScreenshotArchive200.d.ts +12 -0
  66. package/types/gen-wire/_models/downloadScreenshotArchiveParams.d.ts +20 -0
  67. package/types/gen-wire/_models/engineAgent.d.ts +1 -0
  68. package/types/gen-wire/_models/index.d.ts +10 -0
  69. package/types/gen-wire/_models/listCallExportsParams.d.ts +2 -0
  70. package/types/gen-wire/_models/listScreenrecordingExportsParams.d.ts +2 -0
  71. package/types/gen-wire/_models/searchScreenRecordingsByCallChannel.d.ts +11 -0
  72. package/types/gen-wire/_models/searchScreenRecordingsByCallParams.d.ts +23 -0
  73. package/types/gen-wire/_models/searchScreenRecordingsByCallType.d.ts +12 -0
  74. package/types/gen-wire/_models/webitelImApiGatewayV1HistoryMessage.d.ts +5 -2
  75. package/types/gen-wire/_models/webitelImApiGatewayV1MessageRevision.d.ts +3 -2
  76. package/types/gen-wire/_models/webitelImApiGatewayV1ReplyToMessage.d.ts +7 -1
  77. package/types/gen-wire/_models/webitelMediaExporterDownloadCallScreenrecordingArchiveResponse.d.ts +13 -0
  78. package/types/gen-wire/_models/webitelMediaExporterDownloadScreenshotArchiveResponse.d.ts +13 -0
  79. package/types/gen-wire/_models/webitelMediaExporterFilterBetween.d.ts +13 -0
  80. package/types/gen-wire/agent-service/agent-service.zod.d.ts +6 -0
  81. package/types/gen-wire/file-service/file-service.d.ts +3 -1
  82. package/types/gen-wire/file-service/file-service.zod.d.ts +69 -0
  83. package/types/gen-wire/index.d.ts +4 -4
  84. package/types/gen-wire/pdf-service/pdf-service.d.ts +5 -1
  85. package/types/gen-wire/pdf-service/pdf-service.zod.d.ts +52 -0
  86. package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +185 -7
  87. package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +188 -8
@@ -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
+ };
@@ -27,6 +27,7 @@ export interface EngineAgent {
27
27
  skills?: EngineLookup[];
28
28
  status?: string;
29
29
  statusDuration?: string;
30
+ statusType?: string;
30
31
  supervisor?: EngineLookup[];
31
32
  taskCount?: number;
32
33
  team?: EngineLookup;
@@ -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';
@@ -17,4 +17,6 @@ export type ListCallExportsParams = {
17
17
  * sorting criteria, e.g. "+created_at" or "-name"
18
18
  */
19
19
  sort?: string;
20
+ uploadedAtFrom?: string;
21
+ uploadedAtTo?: string;
20
22
  };
@@ -17,4 +17,6 @@ export type ListScreenrecordingExportsParams = {
17
17
  * sorting criteria, e.g. "+created_at" or "-name"
18
18
  */
19
19
  sort?: string;
20
+ uploadedAtFrom?: string;
21
+ uploadedAtTo?: string;
20
22
  };
@@ -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
- /** Contact id of the member who deleted the message; empty when it is live. */
40
- deletedBy?: string;
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
- /** Contact id of the member who made the change. */
23
- changedBy?: string;
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
- type?: number;
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
+ };
@@ -27,6 +27,7 @@ export interface EngineAgent {
27
27
  skills?: EngineLookup[];
28
28
  status?: string;
29
29
  status_duration?: string;
30
+ status_type?: string;
30
31
  supervisor?: EngineLookup[];
31
32
  task_count?: number;
32
33
  team?: EngineLookup;
@@ -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';
@@ -17,4 +17,6 @@ export type ListCallExportsParams = {
17
17
  * sorting criteria, e.g. "+created_at" or "-name"
18
18
  */
19
19
  sort?: string;
20
+ 'uploaded_at.from'?: string;
21
+ 'uploaded_at.to'?: string;
20
22
  };
@@ -17,4 +17,6 @@ export type ListScreenrecordingExportsParams = {
17
17
  * sorting criteria, e.g. "+created_at" or "-name"
18
18
  */
19
19
  sort?: string;
20
+ 'uploaded_at.from'?: string;
21
+ 'uploaded_at.to'?: string;
20
22
  };
@@ -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
- /** Contact id of the member who deleted the message; empty when it is live. */
40
- deleted_by?: string;
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
- /** Contact id of the member who made the change. */
23
- changed_by?: string;
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
- type?: number;
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
+ }
@@ -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>;
@@ -5,13 +5,14 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
- import type { SearchFilesByCallParams, SearchFilesParams, SearchScreenRecordingsByAgentParams, SearchScreenRecordingsParams, StorageDeleteFilesRequest, StorageDeleteFilesResponse, StorageDeleteQuarantineFilesRequest, StorageFileServiceDeleteScreenRecordingsBody, StorageFileServiceDeleteScreenRecordingsByAgentBody, StorageFileServiceDeleteVideocallFilesBody, StorageListFile, StorageRestoreFilesRequest, StorageRestoreFilesResponse } from '../_models';
8
+ import type { SearchFilesByCallParams, SearchFilesParams, SearchScreenRecordingsByAgentParams, SearchScreenRecordingsByCallParams, SearchScreenRecordingsParams, StorageDeleteFilesRequest, StorageDeleteFilesResponse, StorageDeleteQuarantineFilesRequest, StorageFileServiceDeleteScreenRecordingsBody, StorageFileServiceDeleteScreenRecordingsByAgentBody, StorageFileServiceDeleteVideocallFilesBody, StorageListFile, StorageRestoreFilesRequest, StorageRestoreFilesResponse } from '../_models';
9
9
  export declare const // --- title start
10
10
  getFileService: (axiosInstance?: AxiosInstance) => {
11
11
  deleteVideocallFiles: (callId: string, storageFileServiceDeleteVideocallFilesBody: StorageFileServiceDeleteVideocallFilesBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageDeleteFilesResponse>>;
12
12
  searchFilesByCall: (callId: string, params?: SearchFilesByCallParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageListFile>>;
13
13
  searchScreenRecordingsByAgent: (agentId: string, params?: SearchScreenRecordingsByAgentParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageListFile>>;
14
14
  deleteScreenRecordingsByAgent: (agentId: string, id: string[], storageFileServiceDeleteScreenRecordingsByAgentBody: StorageFileServiceDeleteScreenRecordingsByAgentBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageDeleteFilesResponse>>;
15
+ searchScreenRecordingsByCall: (callId: string, params?: SearchScreenRecordingsByCallParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageListFile>>;
15
16
  deleteFiles: (storageDeleteFilesRequest: StorageDeleteFilesRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageDeleteFilesResponse>>;
16
17
  searchFiles: (params?: SearchFilesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageListFile>>;
17
18
  deleteQuarantineFiles: (storageDeleteQuarantineFilesRequest: StorageDeleteQuarantineFilesRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<StorageDeleteFilesResponse>>;
@@ -23,6 +24,7 @@ export type DeleteVideocallFilesResult = AxiosResponse<StorageDeleteFilesRespons
23
24
  export type SearchFilesByCallResult = AxiosResponse<StorageListFile>;
24
25
  export type SearchScreenRecordingsByAgentResult = AxiosResponse<StorageListFile>;
25
26
  export type DeleteScreenRecordingsByAgentResult = AxiosResponse<StorageDeleteFilesResponse>;
27
+ export type SearchScreenRecordingsByCallResult = AxiosResponse<StorageListFile>;
26
28
  export type DeleteFilesResult = AxiosResponse<StorageDeleteFilesResponse>;
27
29
  export type SearchFilesResult = AxiosResponse<StorageListFile>;
28
30
  export type DeleteQuarantineFilesResult = AxiosResponse<StorageDeleteFilesResponse>;