@wildix/wda-insights-client 1.0.38 → 1.0.40

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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListConversationsItemEvent = exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsQuality = exports.InsightsStatus = exports.FilterNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.CallNotFoundException = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
3
+ exports.ListConversationsItemEvent = exports.ListConversationsFilterParticipant = exports.ListConversationsFilterDate = exports.ListConversationsFilterPredefinedDateType = exports.FileNotFoundException = exports.DownloadStrategy = exports.ConversationFileCategory = exports.InsightsQuality = exports.InsightsStatus = exports.FilterNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
4
4
  const WdaInsightsServiceException_1 = require("./WdaInsightsServiceException");
5
5
  class ValidationException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
6
6
  name = "ValidationException";
@@ -38,19 +38,6 @@ class ForbiddenException extends WdaInsightsServiceException_1.WdaInsightsServic
38
38
  }
39
39
  }
40
40
  exports.ForbiddenException = ForbiddenException;
41
- class CallNotFoundException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
42
- name = "CallNotFoundException";
43
- $fault = "client";
44
- constructor(opts) {
45
- super({
46
- name: "CallNotFoundException",
47
- $fault: "client",
48
- ...opts
49
- });
50
- Object.setPrototypeOf(this, CallNotFoundException.prototype);
51
- }
52
- }
53
- exports.CallNotFoundException = CallNotFoundException;
54
41
  exports.CallRecordOwner = {
55
42
  CALLEE: "callee",
56
43
  CALLER: "caller",
@@ -93,6 +80,7 @@ exports.CallDevice = {
93
80
  COLLABORATION_IOS: "COLLABORATION_IOS",
94
81
  COLLABORATION_WEB: "COLLABORATION_WEB",
95
82
  UNKNOWN: "UNKNOWN",
83
+ VOICEBOT: "VOICEBOT",
96
84
  WILDIX_DEVICE: "WILDIX_DEVICE",
97
85
  WILDIX_PHONE: "WILDIX_PHONE",
98
86
  XBEES_ANDROID: "XBEES_ANDROID",
@@ -113,19 +101,6 @@ exports.RecordType = {
113
101
  CONFERENCE: "conference",
114
102
  CONFERENCE_TRANSCRIPTION: "conference_transcription",
115
103
  };
116
- class ConferenceNotFoundException extends WdaInsightsServiceException_1.WdaInsightsServiceException {
117
- name = "ConferenceNotFoundException";
118
- $fault = "client";
119
- constructor(opts) {
120
- super({
121
- name: "ConferenceNotFoundException",
122
- $fault: "client",
123
- ...opts
124
- });
125
- Object.setPrototypeOf(this, ConferenceNotFoundException.prototype);
126
- }
127
- }
128
- exports.ConferenceNotFoundException = ConferenceNotFoundException;
129
104
  exports.ConferenceDirection = {
130
105
  INBOUND: "INBOUND",
131
106
  INTERNAL: "INTERNAL",
@@ -468,15 +468,9 @@ const de_CommandError = async (output, context) => {
468
468
  case "FilterNotFoundException":
469
469
  case "wildix.wda.insights#FilterNotFoundException":
470
470
  throw await de_FilterNotFoundExceptionRes(parsedOutput, context);
471
- case "CallNotFoundException":
472
- case "wildix.wda.history#CallNotFoundException":
473
- throw await de_CallNotFoundExceptionRes(parsedOutput, context);
474
471
  case "FileNotFoundException":
475
472
  case "wildix.xbees.conversations#FileNotFoundException":
476
473
  throw await de_FileNotFoundExceptionRes(parsedOutput, context);
477
- case "ConferenceNotFoundException":
478
- case "wildix.wda.history#ConferenceNotFoundException":
479
- throw await de_ConferenceNotFoundExceptionRes(parsedOutput, context);
480
474
  default:
481
475
  const parsedBody = parsedOutput.body;
482
476
  return throwDefaultError({
@@ -513,32 +507,6 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
513
507
  });
514
508
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
515
509
  };
516
- const de_CallNotFoundExceptionRes = async (parsedOutput, context) => {
517
- const contents = (0, smithy_client_1.map)({});
518
- const data = parsedOutput.body;
519
- const doc = (0, smithy_client_1.take)(data, {
520
- 'message': smithy_client_1.expectString,
521
- });
522
- Object.assign(contents, doc);
523
- const exception = new models_0_1.CallNotFoundException({
524
- $metadata: deserializeMetadata(parsedOutput),
525
- ...contents
526
- });
527
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
528
- };
529
- const de_ConferenceNotFoundExceptionRes = async (parsedOutput, context) => {
530
- const contents = (0, smithy_client_1.map)({});
531
- const data = parsedOutput.body;
532
- const doc = (0, smithy_client_1.take)(data, {
533
- 'message': smithy_client_1.expectString,
534
- });
535
- Object.assign(contents, doc);
536
- const exception = new models_0_1.ConferenceNotFoundException({
537
- $metadata: deserializeMetadata(parsedOutput),
538
- ...contents
539
- });
540
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
541
- };
542
510
  const de_FilterNotFoundExceptionRes = async (parsedOutput, context) => {
543
511
  const contents = (0, smithy_client_1.map)({});
544
512
  const data = parsedOutput.body;
@@ -33,18 +33,6 @@ export class ForbiddenException extends __BaseException {
33
33
  Object.setPrototypeOf(this, ForbiddenException.prototype);
34
34
  }
35
35
  }
36
- export class CallNotFoundException extends __BaseException {
37
- name = "CallNotFoundException";
38
- $fault = "client";
39
- constructor(opts) {
40
- super({
41
- name: "CallNotFoundException",
42
- $fault: "client",
43
- ...opts
44
- });
45
- Object.setPrototypeOf(this, CallNotFoundException.prototype);
46
- }
47
- }
48
36
  export const CallRecordOwner = {
49
37
  CALLEE: "callee",
50
38
  CALLER: "caller",
@@ -87,6 +75,7 @@ export const CallDevice = {
87
75
  COLLABORATION_IOS: "COLLABORATION_IOS",
88
76
  COLLABORATION_WEB: "COLLABORATION_WEB",
89
77
  UNKNOWN: "UNKNOWN",
78
+ VOICEBOT: "VOICEBOT",
90
79
  WILDIX_DEVICE: "WILDIX_DEVICE",
91
80
  WILDIX_PHONE: "WILDIX_PHONE",
92
81
  XBEES_ANDROID: "XBEES_ANDROID",
@@ -107,18 +96,6 @@ export const RecordType = {
107
96
  CONFERENCE: "conference",
108
97
  CONFERENCE_TRANSCRIPTION: "conference_transcription",
109
98
  };
110
- export class ConferenceNotFoundException extends __BaseException {
111
- name = "ConferenceNotFoundException";
112
- $fault = "client";
113
- constructor(opts) {
114
- super({
115
- name: "ConferenceNotFoundException",
116
- $fault: "client",
117
- ...opts
118
- });
119
- Object.setPrototypeOf(this, ConferenceNotFoundException.prototype);
120
- }
121
- }
122
99
  export const ConferenceDirection = {
123
100
  INBOUND: "INBOUND",
124
101
  INTERNAL: "INTERNAL",
@@ -1,5 +1,5 @@
1
1
  import { WdaInsightsServiceException as __BaseException } from "../models/WdaInsightsServiceException";
2
- import { CallNotFoundException, ConferenceNotFoundException, FileNotFoundException, FilterNotFoundException, ForbiddenException, ValidationException, } from "../models/models_0";
2
+ import { FileNotFoundException, FilterNotFoundException, ForbiddenException, ValidationException, } from "../models/models_0";
3
3
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
4
4
  import { requestBuilder as rb } from "@smithy/core";
5
5
  import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
@@ -437,15 +437,9 @@ const de_CommandError = async (output, context) => {
437
437
  case "FilterNotFoundException":
438
438
  case "wildix.wda.insights#FilterNotFoundException":
439
439
  throw await de_FilterNotFoundExceptionRes(parsedOutput, context);
440
- case "CallNotFoundException":
441
- case "wildix.wda.history#CallNotFoundException":
442
- throw await de_CallNotFoundExceptionRes(parsedOutput, context);
443
440
  case "FileNotFoundException":
444
441
  case "wildix.xbees.conversations#FileNotFoundException":
445
442
  throw await de_FileNotFoundExceptionRes(parsedOutput, context);
446
- case "ConferenceNotFoundException":
447
- case "wildix.wda.history#ConferenceNotFoundException":
448
- throw await de_ConferenceNotFoundExceptionRes(parsedOutput, context);
449
443
  default:
450
444
  const parsedBody = parsedOutput.body;
451
445
  return throwDefaultError({
@@ -482,32 +476,6 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
482
476
  });
483
477
  return __decorateServiceException(exception, parsedOutput.body);
484
478
  };
485
- const de_CallNotFoundExceptionRes = async (parsedOutput, context) => {
486
- const contents = map({});
487
- const data = parsedOutput.body;
488
- const doc = take(data, {
489
- 'message': __expectString,
490
- });
491
- Object.assign(contents, doc);
492
- const exception = new CallNotFoundException({
493
- $metadata: deserializeMetadata(parsedOutput),
494
- ...contents
495
- });
496
- return __decorateServiceException(exception, parsedOutput.body);
497
- };
498
- const de_ConferenceNotFoundExceptionRes = async (parsedOutput, context) => {
499
- const contents = map({});
500
- const data = parsedOutput.body;
501
- const doc = take(data, {
502
- 'message': __expectString,
503
- });
504
- Object.assign(contents, doc);
505
- const exception = new ConferenceNotFoundException({
506
- $metadata: deserializeMetadata(parsedOutput),
507
- ...contents
508
- });
509
- return __decorateServiceException(exception, parsedOutput.body);
510
- };
511
479
  const de_FilterNotFoundExceptionRes = async (parsedOutput, context) => {
512
480
  const contents = map({});
513
481
  const data = parsedOutput.body;
@@ -116,8 +116,6 @@ declare const GetCallCharacteristicsCommand_base: {
116
116
  *
117
117
  * @throws {@link ForbiddenException} (client fault)
118
118
  *
119
- * @throws {@link CallNotFoundException} (client fault)
120
- *
121
119
  * @throws {@link WdaInsightsServiceException}
122
120
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
123
121
  *
@@ -110,8 +110,6 @@ declare const GetCallSummaryCommand_base: {
110
110
  *
111
111
  * @throws {@link ForbiddenException} (client fault)
112
112
  *
113
- * @throws {@link CallNotFoundException} (client fault)
114
- *
115
113
  * @throws {@link WdaInsightsServiceException}
116
114
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
117
115
  *
@@ -109,8 +109,6 @@ declare const GetConferenceSummaryCommand_base: {
109
109
  *
110
110
  * @throws {@link ForbiddenException} (client fault)
111
111
  *
112
- * @throws {@link ConferenceNotFoundException} (client fault)
113
- *
114
112
  * @throws {@link WdaInsightsServiceException}
115
113
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
116
114
  *
@@ -71,8 +71,6 @@ declare const GetConferenceTimeFramesCommand_base: {
71
71
  *
72
72
  * @throws {@link ForbiddenException} (client fault)
73
73
  *
74
- * @throws {@link ConferenceNotFoundException} (client fault)
75
- *
76
74
  * @throws {@link WdaInsightsServiceException}
77
75
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
78
76
  *
@@ -120,7 +120,7 @@ declare const ListConversationsCommand_base: {
120
120
  * // groupId: "STRING_VALUE",
121
121
  * // groupName: "STRING_VALUE",
122
122
  * // userAgent: "STRING_VALUE",
123
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
123
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
124
124
  * // role: "CLIENT" || "AGENT", // required
125
125
  * // license: "STRING_VALUE",
126
126
  * // },
@@ -136,7 +136,7 @@ declare const ListConversationsCommand_base: {
136
136
  * // groupId: "STRING_VALUE",
137
137
  * // groupName: "STRING_VALUE",
138
138
  * // userAgent: "STRING_VALUE",
139
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
139
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
140
140
  * // role: "CLIENT" || "AGENT", // required
141
141
  * // license: "STRING_VALUE",
142
142
  * // },
@@ -60,8 +60,6 @@ declare const ScheduleCallSummaryGenerationCommand_base: {
60
60
  *
61
61
  * @throws {@link ForbiddenException} (client fault)
62
62
  *
63
- * @throws {@link CallNotFoundException} (client fault)
64
- *
65
63
  * @throws {@link WdaInsightsServiceException}
66
64
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
67
65
  *
@@ -59,8 +59,6 @@ declare const ScheduleConferenceSummaryGenerationCommand_base: {
59
59
  *
60
60
  * @throws {@link ForbiddenException} (client fault)
61
61
  *
62
- * @throws {@link ConferenceNotFoundException} (client fault)
63
- *
64
62
  * @throws {@link WdaInsightsServiceException}
65
63
  * <p>Base exception class for all service exceptions from WdaInsights service.</p>
66
64
  *
@@ -48,17 +48,6 @@ export declare class ForbiddenException extends __BaseException {
48
48
  */
49
49
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
50
50
  }
51
- /**
52
- * @public
53
- */
54
- export declare class CallNotFoundException extends __BaseException {
55
- readonly name: "CallNotFoundException";
56
- readonly $fault: "client";
57
- /**
58
- * @internal
59
- */
60
- constructor(opts: __ExceptionOptionType<CallNotFoundException, __BaseException>);
61
- }
62
51
  /**
63
52
  * @public
64
53
  */
@@ -242,6 +231,7 @@ export declare const CallDevice: {
242
231
  readonly COLLABORATION_IOS: "COLLABORATION_IOS";
243
232
  readonly COLLABORATION_WEB: "COLLABORATION_WEB";
244
233
  readonly UNKNOWN: "UNKNOWN";
234
+ readonly VOICEBOT: "VOICEBOT";
245
235
  readonly WILDIX_DEVICE: "WILDIX_DEVICE";
246
236
  readonly WILDIX_PHONE: "WILDIX_PHONE";
247
237
  readonly XBEES_ANDROID: "XBEES_ANDROID";
@@ -414,17 +404,6 @@ export interface CallRecord {
414
404
  licenses: (License)[];
415
405
  type: RecordType;
416
406
  }
417
- /**
418
- * @public
419
- */
420
- export declare class ConferenceNotFoundException extends __BaseException {
421
- readonly name: "ConferenceNotFoundException";
422
- readonly $fault: "client";
423
- /**
424
- * @internal
425
- */
426
- constructor(opts: __ExceptionOptionType<ConferenceNotFoundException, __BaseException>);
427
- }
428
407
  /**
429
408
  * @public
430
409
  * @enum
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.0.38",
4
+ "version": "1.0.40",
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",