@wildix/wda-insights-client 1.1.44 → 1.1.45

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InsightsStatus = exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.PlaylistVisibility = exports.PlaylistPrincipal = exports.PlaylistPermission = exports.DashboardVisibility = exports.DashboardPrincipal = exports.DashboardPermission = exports.AggregationDateInterval = exports.ListConversationsFilterParticipant = exports.ConversationTarget = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.ListConversationsFilterField = exports.AggregationDefinition = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = void 0;
4
- exports.PlaylistItemStatus = exports.ListConversationsItemEvent = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = void 0;
3
+ exports.FilterNotFoundException = exports.ProjectionStatus = exports.ProjectionParameter = exports.ProjectionCondition = exports.ProjectionEntityConditionValue = exports.PlaylistVisibility = exports.PlaylistPrincipal = exports.PlaylistPermission = exports.DashboardVisibility = exports.DashboardPrincipal = exports.DashboardPermission = exports.AggregationDateInterval = exports.ListConversationsFilterParticipant = exports.ConversationTarget = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.ListConversationsFilterField = exports.AggregationDefinition = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.CallFlowTranscriptionStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.AnnotationsStatus = exports.RecordType = exports.License = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = void 0;
4
+ exports.PlaylistItemStatus = exports.ListConversationsItemEvent = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsReason = exports.InsightsStatus = void 0;
5
5
  const WdaInsightsServiceException_1 = require("./WdaInsightsServiceException");
6
6
  class ForbiddenException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
7
7
  name = "ForbiddenException";
@@ -52,6 +52,25 @@ exports.ConversationStatus = {
52
52
  COMPLETED: "COMPLETED",
53
53
  MISSED: "MISSED",
54
54
  };
55
+ exports.License = {
56
+ UC: "uc",
57
+ XBEES: "x-bees",
58
+ };
59
+ exports.RecordType = {
60
+ CALL: "call",
61
+ CALL_ANNOTATIONS: "call_annotations",
62
+ CALL_TRANSCRIPTION: "call_transcription",
63
+ CHAT: "chat",
64
+ CHAT_ANNOTATIONS: "chat_annotations",
65
+ CHAT_TRANSCRIPTION: "chat_transcription",
66
+ CONFERENCE: "conference",
67
+ CONFERENCE_ANNOTATIONS: "conference_annotations",
68
+ CONFERENCE_TRANSCRIPTION: "conference_transcription",
69
+ };
70
+ exports.AnnotationsStatus = {
71
+ AVAILABLE: "AVAILABLE",
72
+ UNAVAILABLE: "UNAVAILABLE",
73
+ };
55
74
  exports.CallRecordOwner = {
56
75
  CALLEE: "callee",
57
76
  CALLER: "caller",
@@ -101,23 +120,11 @@ exports.CallDevice = {
101
120
  XBEES_IOS: "XBEES_IOS",
102
121
  XBEES_WEB: "XBEES_WEB",
103
122
  };
104
- exports.License = {
105
- UC: "uc",
106
- XBEES: "x-bees",
107
- };
108
123
  exports.CallFlowTranscriptionStatus = {
109
124
  AVAILABLE: "AVAILABLE",
110
125
  POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
111
126
  UNAVAILABLE: "UNAVAILABLE",
112
127
  };
113
- exports.RecordType = {
114
- CALL: "call",
115
- CALL_TRANSCRIPTION: "call_transcription",
116
- CHAT: "chat",
117
- CHAT_TRANSCRIPTION: "chat_transcription",
118
- CONFERENCE: "conference",
119
- CONFERENCE_TRANSCRIPTION: "conference_transcription",
120
- };
121
128
  exports.ChannelAccess = {
122
129
  PRIVATE: "private",
123
130
  PUBLIC: "public",
@@ -45,6 +45,25 @@ export const ConversationStatus = {
45
45
  COMPLETED: "COMPLETED",
46
46
  MISSED: "MISSED",
47
47
  };
48
+ export const License = {
49
+ UC: "uc",
50
+ XBEES: "x-bees",
51
+ };
52
+ export const RecordType = {
53
+ CALL: "call",
54
+ CALL_ANNOTATIONS: "call_annotations",
55
+ CALL_TRANSCRIPTION: "call_transcription",
56
+ CHAT: "chat",
57
+ CHAT_ANNOTATIONS: "chat_annotations",
58
+ CHAT_TRANSCRIPTION: "chat_transcription",
59
+ CONFERENCE: "conference",
60
+ CONFERENCE_ANNOTATIONS: "conference_annotations",
61
+ CONFERENCE_TRANSCRIPTION: "conference_transcription",
62
+ };
63
+ export const AnnotationsStatus = {
64
+ AVAILABLE: "AVAILABLE",
65
+ UNAVAILABLE: "UNAVAILABLE",
66
+ };
48
67
  export const CallRecordOwner = {
49
68
  CALLEE: "callee",
50
69
  CALLER: "caller",
@@ -94,23 +113,11 @@ export const CallDevice = {
94
113
  XBEES_IOS: "XBEES_IOS",
95
114
  XBEES_WEB: "XBEES_WEB",
96
115
  };
97
- export const License = {
98
- UC: "uc",
99
- XBEES: "x-bees",
100
- };
101
116
  export const CallFlowTranscriptionStatus = {
102
117
  AVAILABLE: "AVAILABLE",
103
118
  POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
104
119
  UNAVAILABLE: "UNAVAILABLE",
105
120
  };
106
- export const RecordType = {
107
- CALL: "call",
108
- CALL_TRANSCRIPTION: "call_transcription",
109
- CHAT: "chat",
110
- CHAT_TRANSCRIPTION: "chat_transcription",
111
- CONFERENCE: "conference",
112
- CONFERENCE_TRANSCRIPTION: "conference_transcription",
113
- };
114
121
  export const ChannelAccess = {
115
122
  PRIVATE: "private",
116
123
  PUBLIC: "public",
@@ -319,6 +319,7 @@ declare const ListConversationsCommand_base: {
319
319
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
320
320
  * // transcriptionLanguage: "STRING_VALUE",
321
321
  * // transcriptionSeconds: Number("int"),
322
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
322
323
  * // attachment: "STRING_VALUE",
323
324
  * // attachmentType: "VOICEMAIL" || "FAX",
324
325
  * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
@@ -398,7 +399,7 @@ declare const ListConversationsCommand_base: {
398
399
  * // licenses: [ // LicensesList // required
399
400
  * // "x-bees" || "uc",
400
401
  * // ],
401
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
402
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
402
403
  * // },
403
404
  * // conference: { // ConferenceRecord
404
405
  * // id: "STRING_VALUE", // required
@@ -446,7 +447,8 @@ declare const ListConversationsCommand_base: {
446
447
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
447
448
  * // transcriptionLanguage: "STRING_VALUE",
448
449
  * // transcriptionSeconds: Number("int"),
449
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
450
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
451
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
450
452
  * // },
451
453
  * // chat: { // ChatRecord
452
454
  * // id: "STRING_VALUE",
@@ -567,7 +569,8 @@ declare const ListConversationsCommand_base: {
567
569
  * // },
568
570
  * // },
569
571
  * // ],
570
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
572
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
573
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
571
574
  * // },
572
575
  * // },
573
576
  * // interaction: { // ListConversationsItemInteraction
@@ -145,6 +145,7 @@ declare const ListPlaylistItemsCommand_base: {
145
145
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
146
146
  * // transcriptionLanguage: "STRING_VALUE",
147
147
  * // transcriptionSeconds: Number("int"),
148
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
148
149
  * // attachment: "STRING_VALUE",
149
150
  * // attachmentType: "VOICEMAIL" || "FAX",
150
151
  * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
@@ -224,7 +225,7 @@ declare const ListPlaylistItemsCommand_base: {
224
225
  * // licenses: [ // LicensesList // required
225
226
  * // "x-bees" || "uc",
226
227
  * // ],
227
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
228
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
228
229
  * // },
229
230
  * // conference: { // ConferenceRecord
230
231
  * // id: "STRING_VALUE", // required
@@ -272,7 +273,8 @@ declare const ListPlaylistItemsCommand_base: {
272
273
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
273
274
  * // transcriptionLanguage: "STRING_VALUE",
274
275
  * // transcriptionSeconds: Number("int"),
275
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
276
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
277
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
276
278
  * // },
277
279
  * // chat: { // ChatRecord
278
280
  * // id: "STRING_VALUE",
@@ -393,7 +395,8 @@ declare const ListPlaylistItemsCommand_base: {
393
395
  * // },
394
396
  * // },
395
397
  * // ],
396
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
398
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
399
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
397
400
  * // },
398
401
  * // },
399
402
  * // interaction: { // ListConversationsItemInteraction
@@ -143,6 +143,7 @@ declare const ListWatchHistoryCommand_base: {
143
143
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE",
144
144
  * // transcriptionLanguage: "STRING_VALUE",
145
145
  * // transcriptionSeconds: Number("int"),
146
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
146
147
  * // attachment: "STRING_VALUE",
147
148
  * // attachmentType: "VOICEMAIL" || "FAX",
148
149
  * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
@@ -222,7 +223,7 @@ declare const ListWatchHistoryCommand_base: {
222
223
  * // licenses: [ // LicensesList // required
223
224
  * // "x-bees" || "uc",
224
225
  * // ],
225
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
226
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
226
227
  * // },
227
228
  * // conference: { // ConferenceRecord
228
229
  * // id: "STRING_VALUE", // required
@@ -270,7 +271,8 @@ declare const ListWatchHistoryCommand_base: {
270
271
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
271
272
  * // transcriptionLanguage: "STRING_VALUE",
272
273
  * // transcriptionSeconds: Number("int"),
273
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
274
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
275
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
274
276
  * // },
275
277
  * // chat: { // ChatRecord
276
278
  * // id: "STRING_VALUE",
@@ -391,7 +393,8 @@ declare const ListWatchHistoryCommand_base: {
391
393
  * // },
392
394
  * // },
393
395
  * // ],
394
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
396
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
397
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
395
398
  * // },
396
399
  * // },
397
400
  * // interaction: { // ListConversationsItemInteraction
@@ -60,6 +60,49 @@ export declare const ConversationStatus: {
60
60
  * @public
61
61
  */
62
62
  export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
63
+ /**
64
+ * @public
65
+ * @enum
66
+ */
67
+ export declare const License: {
68
+ readonly UC: "uc";
69
+ readonly XBEES: "x-bees";
70
+ };
71
+ /**
72
+ * @public
73
+ */
74
+ export type License = typeof License[keyof typeof License];
75
+ /**
76
+ * @public
77
+ * @enum
78
+ */
79
+ export declare const RecordType: {
80
+ readonly CALL: "call";
81
+ readonly CALL_ANNOTATIONS: "call_annotations";
82
+ readonly CALL_TRANSCRIPTION: "call_transcription";
83
+ readonly CHAT: "chat";
84
+ readonly CHAT_ANNOTATIONS: "chat_annotations";
85
+ readonly CHAT_TRANSCRIPTION: "chat_transcription";
86
+ readonly CONFERENCE: "conference";
87
+ readonly CONFERENCE_ANNOTATIONS: "conference_annotations";
88
+ readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
89
+ };
90
+ /**
91
+ * @public
92
+ */
93
+ export type RecordType = typeof RecordType[keyof typeof RecordType];
94
+ /**
95
+ * @public
96
+ * @enum
97
+ */
98
+ export declare const AnnotationsStatus: {
99
+ readonly AVAILABLE: "AVAILABLE";
100
+ readonly UNAVAILABLE: "UNAVAILABLE";
101
+ };
102
+ /**
103
+ * @public
104
+ */
105
+ export type AnnotationsStatus = typeof AnnotationsStatus[keyof typeof AnnotationsStatus];
63
106
  /**
64
107
  * @public
65
108
  */
@@ -293,18 +336,6 @@ export interface CallParticipant {
293
336
  */
294
337
  location?: string | undefined;
295
338
  }
296
- /**
297
- * @public
298
- * @enum
299
- */
300
- export declare const License: {
301
- readonly UC: "uc";
302
- readonly XBEES: "x-bees";
303
- };
304
- /**
305
- * @public
306
- */
307
- export type License = typeof License[keyof typeof License];
308
339
  /**
309
340
  * @public
310
341
  */
@@ -325,22 +356,6 @@ export declare const CallFlowTranscriptionStatus: {
325
356
  * @public
326
357
  */
327
358
  export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
328
- /**
329
- * @public
330
- * @enum
331
- */
332
- export declare const RecordType: {
333
- readonly CALL: "call";
334
- readonly CALL_TRANSCRIPTION: "call_transcription";
335
- readonly CHAT: "chat";
336
- readonly CHAT_TRANSCRIPTION: "chat_transcription";
337
- readonly CONFERENCE: "conference";
338
- readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
339
- };
340
- /**
341
- * @public
342
- */
343
- export type RecordType = typeof RecordType[keyof typeof RecordType];
344
359
  /**
345
360
  * @public
346
361
  */
@@ -423,6 +438,7 @@ export interface CallRecord {
423
438
  transcriptionStatus?: CallFlowTranscriptionStatus | undefined;
424
439
  transcriptionLanguage?: string | undefined;
425
440
  transcriptionSeconds?: number | undefined;
441
+ annotationsStatus?: AnnotationsStatus | undefined;
426
442
  /**
427
443
  * Consider to use `attachments` instead.
428
444
  *
@@ -744,6 +760,7 @@ export interface ChatRecord {
744
760
  channel: Channel;
745
761
  status?: ChatStatus | undefined;
746
762
  participants: (ChatParticipant)[];
763
+ annotationsStatus?: AnnotationsStatus | undefined;
747
764
  type: RecordType;
748
765
  }
749
766
  /**
@@ -875,6 +892,7 @@ export interface ConferenceRecord {
875
892
  transcriptionStatus: ConferenceTranscriptionStatus;
876
893
  transcriptionLanguage?: string | undefined;
877
894
  transcriptionSeconds?: number | undefined;
895
+ annotationsStatus?: AnnotationsStatus | undefined;
878
896
  type: RecordType;
879
897
  }
880
898
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-insights-client",
3
3
  "description": "@wildix/wda-insights-client client",
4
- "version": "1.1.44",
4
+ "version": "1.1.45",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",