@wildix/wda-insights-client 1.1.42 → 1.1.43

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",
@@ -282,6 +282,7 @@ declare const ListConversationsCommand_base: {
282
282
  * // tags: [ // CallFlowTags
283
283
  * // "STRING_VALUE",
284
284
  * // ],
285
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
285
286
  * // flags: [ // CallFlowFlags
286
287
  * // "STRING_VALUE",
287
288
  * // ],
@@ -397,7 +398,7 @@ declare const ListConversationsCommand_base: {
397
398
  * // licenses: [ // LicensesList // required
398
399
  * // "x-bees" || "uc",
399
400
  * // ],
400
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
401
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
401
402
  * // },
402
403
  * // conference: { // ConferenceRecord
403
404
  * // id: "STRING_VALUE", // required
@@ -443,9 +444,10 @@ declare const ListConversationsCommand_base: {
443
444
  * // },
444
445
  * // ],
445
446
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
447
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
446
448
  * // transcriptionLanguage: "STRING_VALUE",
447
449
  * // transcriptionSeconds: Number("int"),
448
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
450
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
449
451
  * // },
450
452
  * // chat: { // ChatRecord
451
453
  * // id: "STRING_VALUE",
@@ -566,7 +568,8 @@ declare const ListConversationsCommand_base: {
566
568
  * // },
567
569
  * // },
568
570
  * // ],
569
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
571
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
572
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
570
573
  * // },
571
574
  * // },
572
575
  * // interaction: { // ListConversationsItemInteraction
@@ -108,6 +108,7 @@ declare const ListPlaylistItemsCommand_base: {
108
108
  * // tags: [ // CallFlowTags
109
109
  * // "STRING_VALUE",
110
110
  * // ],
111
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
111
112
  * // flags: [ // CallFlowFlags
112
113
  * // "STRING_VALUE",
113
114
  * // ],
@@ -223,7 +224,7 @@ declare const ListPlaylistItemsCommand_base: {
223
224
  * // licenses: [ // LicensesList // required
224
225
  * // "x-bees" || "uc",
225
226
  * // ],
226
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
227
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
227
228
  * // },
228
229
  * // conference: { // ConferenceRecord
229
230
  * // id: "STRING_VALUE", // required
@@ -269,9 +270,10 @@ declare const ListPlaylistItemsCommand_base: {
269
270
  * // },
270
271
  * // ],
271
272
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
273
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
272
274
  * // transcriptionLanguage: "STRING_VALUE",
273
275
  * // transcriptionSeconds: Number("int"),
274
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
276
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
275
277
  * // },
276
278
  * // chat: { // ChatRecord
277
279
  * // id: "STRING_VALUE",
@@ -392,7 +394,8 @@ declare const ListPlaylistItemsCommand_base: {
392
394
  * // },
393
395
  * // },
394
396
  * // ],
395
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
397
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
398
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
396
399
  * // },
397
400
  * // },
398
401
  * // interaction: { // ListConversationsItemInteraction
@@ -106,6 +106,7 @@ declare const ListWatchHistoryCommand_base: {
106
106
  * // tags: [ // CallFlowTags
107
107
  * // "STRING_VALUE",
108
108
  * // ],
109
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
109
110
  * // flags: [ // CallFlowFlags
110
111
  * // "STRING_VALUE",
111
112
  * // ],
@@ -221,7 +222,7 @@ declare const ListWatchHistoryCommand_base: {
221
222
  * // licenses: [ // LicensesList // required
222
223
  * // "x-bees" || "uc",
223
224
  * // ],
224
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
225
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
225
226
  * // },
226
227
  * // conference: { // ConferenceRecord
227
228
  * // id: "STRING_VALUE", // required
@@ -267,9 +268,10 @@ declare const ListWatchHistoryCommand_base: {
267
268
  * // },
268
269
  * // ],
269
270
  * // transcriptionStatus: "AVAILABLE" || "POST_TRANSCRIPTION" || "UNAVAILABLE", // required
271
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
270
272
  * // transcriptionLanguage: "STRING_VALUE",
271
273
  * // transcriptionSeconds: Number("int"),
272
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
274
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
273
275
  * // },
274
276
  * // chat: { // ChatRecord
275
277
  * // id: "STRING_VALUE",
@@ -390,7 +392,8 @@ declare const ListWatchHistoryCommand_base: {
390
392
  * // },
391
393
  * // },
392
394
  * // ],
393
- * // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
395
+ * // annotationsStatus: "AVAILABLE" || "UNAVAILABLE",
396
+ * // type: "call" || "call_transcription" || "call_annotations" || "conference" || "conference_transcription" || "conference_annotations" || "chat" || "chat_transcription" || "chat_annotations", // required
394
397
  * // },
395
398
  * // },
396
399
  * // 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
  */
@@ -389,6 +404,7 @@ export interface CallRecord {
389
404
  queueName?: string | undefined;
390
405
  queueId?: string | undefined;
391
406
  tags?: (string)[] | undefined;
407
+ annotationsStatus?: AnnotationsStatus | undefined;
392
408
  flags?: (string)[] | undefined;
393
409
  callerMos?: string | undefined;
394
410
  calleeMos?: string | undefined;
@@ -739,6 +755,7 @@ export interface ChatRecord {
739
755
  channel: Channel;
740
756
  status?: ChatStatus | undefined;
741
757
  participants: (ChatParticipant)[];
758
+ annotationsStatus?: AnnotationsStatus | undefined;
742
759
  type: RecordType;
743
760
  }
744
761
  /**
@@ -868,6 +885,7 @@ export interface ConferenceRecord {
868
885
  participants: (ConferenceAnalyticsRecordParticipant)[];
869
886
  recordings?: (ConferenceRecording)[] | undefined;
870
887
  transcriptionStatus: ConferenceTranscriptionStatus;
888
+ annotationsStatus?: AnnotationsStatus | undefined;
871
889
  transcriptionLanguage?: string | undefined;
872
890
  transcriptionSeconds?: number | undefined;
873
891
  type: RecordType;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
12
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
12
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WdaInsightsClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean | undefined;
12
12
  protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
13
  protocolSettings?: {
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.42",
4
+ "version": "1.1.43",
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",