@aws-sdk/client-qconnect 3.929.0 → 3.930.0

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/dist-cjs/index.js CHANGED
@@ -180,61 +180,13 @@ let ValidationException$1 = class ValidationException extends QConnectServiceExc
180
180
  Object.setPrototypeOf(this, ValidationException.prototype);
181
181
  }
182
182
  };
183
- exports.OrCondition = void 0;
184
- (function (OrCondition) {
185
- OrCondition.visit = (value, visitor) => {
186
- if (value.andConditions !== undefined)
187
- return visitor.andConditions(value.andConditions);
188
- if (value.tagCondition !== undefined)
189
- return visitor.tagCondition(value.tagCondition);
190
- return visitor._(value.$unknown[0], value.$unknown[1]);
191
- };
192
- })(exports.OrCondition || (exports.OrCondition = {}));
193
- exports.TagFilter = void 0;
194
- (function (TagFilter) {
195
- TagFilter.visit = (value, visitor) => {
196
- if (value.tagCondition !== undefined)
197
- return visitor.tagCondition(value.tagCondition);
198
- if (value.andConditions !== undefined)
199
- return visitor.andConditions(value.andConditions);
200
- if (value.orConditions !== undefined)
201
- return visitor.orConditions(value.orConditions);
202
- return visitor._(value.$unknown[0], value.$unknown[1]);
203
- };
204
- })(exports.TagFilter || (exports.TagFilter = {}));
205
183
  const KnowledgeBaseSearchType = {
206
184
  HYBRID: "HYBRID",
207
185
  SEMANTIC: "SEMANTIC",
208
186
  };
209
- exports.AssociationConfigurationData = void 0;
210
- (function (AssociationConfigurationData) {
211
- AssociationConfigurationData.visit = (value, visitor) => {
212
- if (value.knowledgeBaseAssociationConfigurationData !== undefined)
213
- return visitor.knowledgeBaseAssociationConfigurationData(value.knowledgeBaseAssociationConfigurationData);
214
- return visitor._(value.$unknown[0], value.$unknown[1]);
215
- };
216
- })(exports.AssociationConfigurationData || (exports.AssociationConfigurationData = {}));
217
187
  const AIAgentAssociationConfigurationType = {
218
188
  KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
219
189
  };
220
- exports.AIAgentConfiguration = void 0;
221
- (function (AIAgentConfiguration) {
222
- AIAgentConfiguration.visit = (value, visitor) => {
223
- if (value.manualSearchAIAgentConfiguration !== undefined)
224
- return visitor.manualSearchAIAgentConfiguration(value.manualSearchAIAgentConfiguration);
225
- if (value.answerRecommendationAIAgentConfiguration !== undefined)
226
- return visitor.answerRecommendationAIAgentConfiguration(value.answerRecommendationAIAgentConfiguration);
227
- if (value.selfServiceAIAgentConfiguration !== undefined)
228
- return visitor.selfServiceAIAgentConfiguration(value.selfServiceAIAgentConfiguration);
229
- if (value.emailResponseAIAgentConfiguration !== undefined)
230
- return visitor.emailResponseAIAgentConfiguration(value.emailResponseAIAgentConfiguration);
231
- if (value.emailOverviewAIAgentConfiguration !== undefined)
232
- return visitor.emailOverviewAIAgentConfiguration(value.emailOverviewAIAgentConfiguration);
233
- if (value.emailGenerativeAnswerAIAgentConfiguration !== undefined)
234
- return visitor.emailGenerativeAnswerAIAgentConfiguration(value.emailGenerativeAnswerAIAgentConfiguration);
235
- return visitor._(value.$unknown[0], value.$unknown[1]);
236
- };
237
- })(exports.AIAgentConfiguration || (exports.AIAgentConfiguration = {}));
238
190
  const AIAgentType = {
239
191
  ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION",
240
192
  EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER",
@@ -350,14 +302,6 @@ const AIPromptAPIFormat = {
350
302
  MESSAGES: "MESSAGES",
351
303
  TEXT_COMPLETIONS: "TEXT_COMPLETIONS",
352
304
  };
353
- exports.AIPromptTemplateConfiguration = void 0;
354
- (function (AIPromptTemplateConfiguration) {
355
- AIPromptTemplateConfiguration.visit = (value, visitor) => {
356
- if (value.textFullAIPromptEditTemplateConfiguration !== undefined)
357
- return visitor.textFullAIPromptEditTemplateConfiguration(value.textFullAIPromptEditTemplateConfiguration);
358
- return visitor._(value.$unknown[0], value.$unknown[1]);
359
- };
360
- })(exports.AIPromptTemplateConfiguration || (exports.AIPromptTemplateConfiguration = {}));
361
305
  const AIPromptTemplateType = {
362
306
  TEXT: "TEXT",
363
307
  };
@@ -372,25 +316,9 @@ const AIPromptType = {
372
316
  SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION",
373
317
  SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING",
374
318
  };
375
- exports.AssistantAssociationInputData = void 0;
376
- (function (AssistantAssociationInputData) {
377
- AssistantAssociationInputData.visit = (value, visitor) => {
378
- if (value.knowledgeBaseId !== undefined)
379
- return visitor.knowledgeBaseId(value.knowledgeBaseId);
380
- return visitor._(value.$unknown[0], value.$unknown[1]);
381
- };
382
- })(exports.AssistantAssociationInputData || (exports.AssistantAssociationInputData = {}));
383
319
  const AssociationType = {
384
320
  KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
385
321
  };
386
- exports.AssistantAssociationOutputData = void 0;
387
- (function (AssistantAssociationOutputData) {
388
- AssistantAssociationOutputData.visit = (value, visitor) => {
389
- if (value.knowledgeBaseAssociation !== undefined)
390
- return visitor.knowledgeBaseAssociation(value.knowledgeBaseAssociation);
391
- return visitor._(value.$unknown[0], value.$unknown[1]);
392
- };
393
- })(exports.AssistantAssociationOutputData || (exports.AssistantAssociationOutputData = {}));
394
322
  const AssistantType = {
395
323
  AGENT: "AGENT",
396
324
  };
@@ -418,16 +346,6 @@ const ReferenceType = {
418
346
  KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
419
347
  WEB_CRAWLER: "WEB_CRAWLER",
420
348
  };
421
- exports.DataReference = void 0;
422
- (function (DataReference) {
423
- DataReference.visit = (value, visitor) => {
424
- if (value.contentReference !== undefined)
425
- return visitor.contentReference(value.contentReference);
426
- if (value.generativeReference !== undefined)
427
- return visitor.generativeReference(value.generativeReference);
428
- return visitor._(value.$unknown[0], value.$unknown[1]);
429
- };
430
- })(exports.DataReference || (exports.DataReference = {}));
431
349
  const RecommendationType = {
432
350
  BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
433
351
  BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
@@ -441,14 +359,6 @@ const RecommendationType = {
441
359
  INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
442
360
  KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
443
361
  };
444
- exports.RecommendationTriggerData = void 0;
445
- (function (RecommendationTriggerData) {
446
- RecommendationTriggerData.visit = (value, visitor) => {
447
- if (value.query !== undefined)
448
- return visitor.query(value.query);
449
- return visitor._(value.$unknown[0], value.$unknown[1]);
450
- };
451
- })(exports.RecommendationTriggerData || (exports.RecommendationTriggerData = {}));
452
362
  const RecommendationSourceType = {
453
363
  ISSUE_DETECTION: "ISSUE_DETECTION",
454
364
  OTHER: "OTHER",
@@ -462,14 +372,6 @@ const Relevance = {
462
372
  HELPFUL: "HELPFUL",
463
373
  NOT_HELPFUL: "NOT_HELPFUL",
464
374
  };
465
- exports.ContentFeedbackData = void 0;
466
- (function (ContentFeedbackData) {
467
- ContentFeedbackData.visit = (value, visitor) => {
468
- if (value.generativeContentFeedbackData !== undefined)
469
- return visitor.generativeContentFeedbackData(value.generativeContentFeedbackData);
470
- return visitor._(value.$unknown[0], value.$unknown[1]);
471
- };
472
- })(exports.ContentFeedbackData || (exports.ContentFeedbackData = {}));
473
375
  const TargetType = {
474
376
  RECOMMENDATION: "RECOMMENDATION",
475
377
  RESULT: "RESULT",
@@ -480,24 +382,6 @@ const QueryConditionComparisonOperator = {
480
382
  const QueryConditionFieldName = {
481
383
  RESULT_TYPE: "RESULT_TYPE",
482
384
  };
483
- exports.QueryCondition = void 0;
484
- (function (QueryCondition) {
485
- QueryCondition.visit = (value, visitor) => {
486
- if (value.single !== undefined)
487
- return visitor.single(value.single);
488
- return visitor._(value.$unknown[0], value.$unknown[1]);
489
- };
490
- })(exports.QueryCondition || (exports.QueryCondition = {}));
491
- exports.QueryInputData = void 0;
492
- (function (QueryInputData) {
493
- QueryInputData.visit = (value, visitor) => {
494
- if (value.queryTextInputData !== undefined)
495
- return visitor.queryTextInputData(value.queryTextInputData);
496
- if (value.intentInputData !== undefined)
497
- return visitor.intentInputData(value.intentInputData);
498
- return visitor._(value.$unknown[0], value.$unknown[1]);
499
- };
500
- })(exports.QueryInputData || (exports.QueryInputData = {}));
501
385
  const QueryResultType = {
502
386
  BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
503
387
  BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
@@ -541,14 +425,6 @@ let DependencyFailedException$1 = class DependencyFailedException extends QConne
541
425
  Object.setPrototypeOf(this, DependencyFailedException.prototype);
542
426
  }
543
427
  };
544
- exports.RuntimeSessionDataValue = void 0;
545
- (function (RuntimeSessionDataValue) {
546
- RuntimeSessionDataValue.visit = (value, visitor) => {
547
- if (value.stringValue !== undefined)
548
- return visitor.stringValue(value.stringValue);
549
- return visitor._(value.$unknown[0], value.$unknown[1]);
550
- };
551
- })(exports.RuntimeSessionDataValue || (exports.RuntimeSessionDataValue = {}));
552
428
  const ConversationStatusReason = {
553
429
  FAILED: "FAILED",
554
430
  REJECTED: "REJECTED",
@@ -564,14 +440,6 @@ const Participant = {
564
440
  BOT: "BOT",
565
441
  CUSTOMER: "CUSTOMER",
566
442
  };
567
- exports.MessageData = void 0;
568
- (function (MessageData) {
569
- MessageData.visit = (value, visitor) => {
570
- if (value.text !== undefined)
571
- return visitor.text(value.text);
572
- return visitor._(value.$unknown[0], value.$unknown[1]);
573
- };
574
- })(exports.MessageData || (exports.MessageData = {}));
575
443
  const MessageType = {
576
444
  TEXT: "TEXT",
577
445
  };
@@ -588,22 +456,6 @@ const ChunkingStrategy = {
588
456
  NONE: "NONE",
589
457
  SEMANTIC: "SEMANTIC",
590
458
  };
591
- exports.Configuration = void 0;
592
- (function (Configuration) {
593
- Configuration.visit = (value, visitor) => {
594
- if (value.connectConfiguration !== undefined)
595
- return visitor.connectConfiguration(value.connectConfiguration);
596
- return visitor._(value.$unknown[0], value.$unknown[1]);
597
- };
598
- })(exports.Configuration || (exports.Configuration = {}));
599
- exports.ContentAssociationContents = void 0;
600
- (function (ContentAssociationContents) {
601
- ContentAssociationContents.visit = (value, visitor) => {
602
- if (value.amazonConnectGuideAssociation !== undefined)
603
- return visitor.amazonConnectGuideAssociation(value.amazonConnectGuideAssociation);
604
- return visitor._(value.$unknown[0], value.$unknown[1]);
605
- };
606
- })(exports.ContentAssociationContents || (exports.ContentAssociationContents = {}));
607
459
  const ContentAssociationType = {
608
460
  AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE",
609
461
  };
@@ -642,24 +494,6 @@ const WebScopeType = {
642
494
  HOST_ONLY: "HOST_ONLY",
643
495
  SUBDOMAINS: "SUBDOMAINS",
644
496
  };
645
- exports.ManagedSourceConfiguration = void 0;
646
- (function (ManagedSourceConfiguration) {
647
- ManagedSourceConfiguration.visit = (value, visitor) => {
648
- if (value.webCrawlerConfiguration !== undefined)
649
- return visitor.webCrawlerConfiguration(value.webCrawlerConfiguration);
650
- return visitor._(value.$unknown[0], value.$unknown[1]);
651
- };
652
- })(exports.ManagedSourceConfiguration || (exports.ManagedSourceConfiguration = {}));
653
- exports.SourceConfiguration = void 0;
654
- (function (SourceConfiguration) {
655
- SourceConfiguration.visit = (value, visitor) => {
656
- if (value.appIntegrations !== undefined)
657
- return visitor.appIntegrations(value.appIntegrations);
658
- if (value.managedSourceConfiguration !== undefined)
659
- return visitor.managedSourceConfiguration(value.managedSourceConfiguration);
660
- return visitor._(value.$unknown[0], value.$unknown[1]);
661
- };
662
- })(exports.SourceConfiguration || (exports.SourceConfiguration = {}));
663
497
  const ParsingStrategy = {
664
498
  BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
665
499
  };
@@ -677,24 +511,6 @@ const KnowledgeBaseStatus = {
677
511
  DELETE_FAILED: "DELETE_FAILED",
678
512
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
679
513
  };
680
- exports.MessageTemplateBodyContentProvider = void 0;
681
- (function (MessageTemplateBodyContentProvider) {
682
- MessageTemplateBodyContentProvider.visit = (value, visitor) => {
683
- if (value.content !== undefined)
684
- return visitor.content(value.content);
685
- return visitor._(value.$unknown[0], value.$unknown[1]);
686
- };
687
- })(exports.MessageTemplateBodyContentProvider || (exports.MessageTemplateBodyContentProvider = {}));
688
- exports.MessageTemplateContentProvider = void 0;
689
- (function (MessageTemplateContentProvider) {
690
- MessageTemplateContentProvider.visit = (value, visitor) => {
691
- if (value.email !== undefined)
692
- return visitor.email(value.email);
693
- if (value.sms !== undefined)
694
- return visitor.sms(value.sms);
695
- return visitor._(value.$unknown[0], value.$unknown[1]);
696
- };
697
- })(exports.MessageTemplateContentProvider || (exports.MessageTemplateContentProvider = {}));
698
514
  const MessageTemplateAttributeType = {
699
515
  AGENT: "AGENT",
700
516
  CUSTOM: "CUSTOM",
@@ -702,22 +518,6 @@ const MessageTemplateAttributeType = {
702
518
  SYSTEM: "SYSTEM",
703
519
  };
704
520
 
705
- exports.QuickResponseDataProvider = void 0;
706
- (function (QuickResponseDataProvider) {
707
- QuickResponseDataProvider.visit = (value, visitor) => {
708
- if (value.content !== undefined)
709
- return visitor.content(value.content);
710
- return visitor._(value.$unknown[0], value.$unknown[1]);
711
- };
712
- })(exports.QuickResponseDataProvider || (exports.QuickResponseDataProvider = {}));
713
- exports.QuickResponseContentProvider = void 0;
714
- (function (QuickResponseContentProvider) {
715
- QuickResponseContentProvider.visit = (value, visitor) => {
716
- if (value.content !== undefined)
717
- return visitor.content(value.content);
718
- return visitor._(value.$unknown[0], value.$unknown[1]);
719
- };
720
- })(exports.QuickResponseContentProvider || (exports.QuickResponseContentProvider = {}));
721
521
  const QuickResponseStatus = {
722
522
  CREATED: "CREATED",
723
523
  CREATE_FAILED: "CREATE_FAILED",
@@ -781,28 +581,6 @@ let TooManyTagsException$1 = class TooManyTagsException extends QConnectServiceE
781
581
  this.resourceName = opts.resourceName;
782
582
  }
783
583
  };
784
- exports.DataDetails = void 0;
785
- (function (DataDetails) {
786
- DataDetails.visit = (value, visitor) => {
787
- if (value.contentData !== undefined)
788
- return visitor.contentData(value.contentData);
789
- if (value.generativeData !== undefined)
790
- return visitor.generativeData(value.generativeData);
791
- if (value.intentDetectedData !== undefined)
792
- return visitor.intentDetectedData(value.intentDetectedData);
793
- if (value.sourceContentData !== undefined)
794
- return visitor.sourceContentData(value.sourceContentData);
795
- if (value.generativeChunkData !== undefined)
796
- return visitor.generativeChunkData(value.generativeChunkData);
797
- if (value.emailResponseChunkData !== undefined)
798
- return visitor.emailResponseChunkData(value.emailResponseChunkData);
799
- if (value.emailOverviewChunkData !== undefined)
800
- return visitor.emailOverviewChunkData(value.emailOverviewChunkData);
801
- if (value.emailGenerativeAnswerChunkData !== undefined)
802
- return visitor.emailGenerativeAnswerChunkData(value.emailGenerativeAnswerChunkData);
803
- return visitor._(value.$unknown[0], value.$unknown[1]);
804
- };
805
- })(exports.DataDetails || (exports.DataDetails = {}));
806
584
 
807
585
  const _AA = "AgentAttributes";
808
586
  const _AAD = "AssistantAssociationData";
@@ -62,61 +62,13 @@ export class ValidationException extends __BaseException {
62
62
  Object.setPrototypeOf(this, ValidationException.prototype);
63
63
  }
64
64
  }
65
- export var OrCondition;
66
- (function (OrCondition) {
67
- OrCondition.visit = (value, visitor) => {
68
- if (value.andConditions !== undefined)
69
- return visitor.andConditions(value.andConditions);
70
- if (value.tagCondition !== undefined)
71
- return visitor.tagCondition(value.tagCondition);
72
- return visitor._(value.$unknown[0], value.$unknown[1]);
73
- };
74
- })(OrCondition || (OrCondition = {}));
75
- export var TagFilter;
76
- (function (TagFilter) {
77
- TagFilter.visit = (value, visitor) => {
78
- if (value.tagCondition !== undefined)
79
- return visitor.tagCondition(value.tagCondition);
80
- if (value.andConditions !== undefined)
81
- return visitor.andConditions(value.andConditions);
82
- if (value.orConditions !== undefined)
83
- return visitor.orConditions(value.orConditions);
84
- return visitor._(value.$unknown[0], value.$unknown[1]);
85
- };
86
- })(TagFilter || (TagFilter = {}));
87
65
  export const KnowledgeBaseSearchType = {
88
66
  HYBRID: "HYBRID",
89
67
  SEMANTIC: "SEMANTIC",
90
68
  };
91
- export var AssociationConfigurationData;
92
- (function (AssociationConfigurationData) {
93
- AssociationConfigurationData.visit = (value, visitor) => {
94
- if (value.knowledgeBaseAssociationConfigurationData !== undefined)
95
- return visitor.knowledgeBaseAssociationConfigurationData(value.knowledgeBaseAssociationConfigurationData);
96
- return visitor._(value.$unknown[0], value.$unknown[1]);
97
- };
98
- })(AssociationConfigurationData || (AssociationConfigurationData = {}));
99
69
  export const AIAgentAssociationConfigurationType = {
100
70
  KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
101
71
  };
102
- export var AIAgentConfiguration;
103
- (function (AIAgentConfiguration) {
104
- AIAgentConfiguration.visit = (value, visitor) => {
105
- if (value.manualSearchAIAgentConfiguration !== undefined)
106
- return visitor.manualSearchAIAgentConfiguration(value.manualSearchAIAgentConfiguration);
107
- if (value.answerRecommendationAIAgentConfiguration !== undefined)
108
- return visitor.answerRecommendationAIAgentConfiguration(value.answerRecommendationAIAgentConfiguration);
109
- if (value.selfServiceAIAgentConfiguration !== undefined)
110
- return visitor.selfServiceAIAgentConfiguration(value.selfServiceAIAgentConfiguration);
111
- if (value.emailResponseAIAgentConfiguration !== undefined)
112
- return visitor.emailResponseAIAgentConfiguration(value.emailResponseAIAgentConfiguration);
113
- if (value.emailOverviewAIAgentConfiguration !== undefined)
114
- return visitor.emailOverviewAIAgentConfiguration(value.emailOverviewAIAgentConfiguration);
115
- if (value.emailGenerativeAnswerAIAgentConfiguration !== undefined)
116
- return visitor.emailGenerativeAnswerAIAgentConfiguration(value.emailGenerativeAnswerAIAgentConfiguration);
117
- return visitor._(value.$unknown[0], value.$unknown[1]);
118
- };
119
- })(AIAgentConfiguration || (AIAgentConfiguration = {}));
120
72
  export const AIAgentType = {
121
73
  ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION",
122
74
  EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER",
@@ -232,14 +184,6 @@ export const AIPromptAPIFormat = {
232
184
  MESSAGES: "MESSAGES",
233
185
  TEXT_COMPLETIONS: "TEXT_COMPLETIONS",
234
186
  };
235
- export var AIPromptTemplateConfiguration;
236
- (function (AIPromptTemplateConfiguration) {
237
- AIPromptTemplateConfiguration.visit = (value, visitor) => {
238
- if (value.textFullAIPromptEditTemplateConfiguration !== undefined)
239
- return visitor.textFullAIPromptEditTemplateConfiguration(value.textFullAIPromptEditTemplateConfiguration);
240
- return visitor._(value.$unknown[0], value.$unknown[1]);
241
- };
242
- })(AIPromptTemplateConfiguration || (AIPromptTemplateConfiguration = {}));
243
187
  export const AIPromptTemplateType = {
244
188
  TEXT: "TEXT",
245
189
  };
@@ -254,25 +198,9 @@ export const AIPromptType = {
254
198
  SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION",
255
199
  SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING",
256
200
  };
257
- export var AssistantAssociationInputData;
258
- (function (AssistantAssociationInputData) {
259
- AssistantAssociationInputData.visit = (value, visitor) => {
260
- if (value.knowledgeBaseId !== undefined)
261
- return visitor.knowledgeBaseId(value.knowledgeBaseId);
262
- return visitor._(value.$unknown[0], value.$unknown[1]);
263
- };
264
- })(AssistantAssociationInputData || (AssistantAssociationInputData = {}));
265
201
  export const AssociationType = {
266
202
  KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
267
203
  };
268
- export var AssistantAssociationOutputData;
269
- (function (AssistantAssociationOutputData) {
270
- AssistantAssociationOutputData.visit = (value, visitor) => {
271
- if (value.knowledgeBaseAssociation !== undefined)
272
- return visitor.knowledgeBaseAssociation(value.knowledgeBaseAssociation);
273
- return visitor._(value.$unknown[0], value.$unknown[1]);
274
- };
275
- })(AssistantAssociationOutputData || (AssistantAssociationOutputData = {}));
276
204
  export const AssistantType = {
277
205
  AGENT: "AGENT",
278
206
  };
@@ -300,16 +228,6 @@ export const ReferenceType = {
300
228
  KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
301
229
  WEB_CRAWLER: "WEB_CRAWLER",
302
230
  };
303
- export var DataReference;
304
- (function (DataReference) {
305
- DataReference.visit = (value, visitor) => {
306
- if (value.contentReference !== undefined)
307
- return visitor.contentReference(value.contentReference);
308
- if (value.generativeReference !== undefined)
309
- return visitor.generativeReference(value.generativeReference);
310
- return visitor._(value.$unknown[0], value.$unknown[1]);
311
- };
312
- })(DataReference || (DataReference = {}));
313
231
  export const RecommendationType = {
314
232
  BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
315
233
  BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
@@ -323,14 +241,6 @@ export const RecommendationType = {
323
241
  INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
324
242
  KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
325
243
  };
326
- export var RecommendationTriggerData;
327
- (function (RecommendationTriggerData) {
328
- RecommendationTriggerData.visit = (value, visitor) => {
329
- if (value.query !== undefined)
330
- return visitor.query(value.query);
331
- return visitor._(value.$unknown[0], value.$unknown[1]);
332
- };
333
- })(RecommendationTriggerData || (RecommendationTriggerData = {}));
334
244
  export const RecommendationSourceType = {
335
245
  ISSUE_DETECTION: "ISSUE_DETECTION",
336
246
  OTHER: "OTHER",
@@ -344,14 +254,6 @@ export const Relevance = {
344
254
  HELPFUL: "HELPFUL",
345
255
  NOT_HELPFUL: "NOT_HELPFUL",
346
256
  };
347
- export var ContentFeedbackData;
348
- (function (ContentFeedbackData) {
349
- ContentFeedbackData.visit = (value, visitor) => {
350
- if (value.generativeContentFeedbackData !== undefined)
351
- return visitor.generativeContentFeedbackData(value.generativeContentFeedbackData);
352
- return visitor._(value.$unknown[0], value.$unknown[1]);
353
- };
354
- })(ContentFeedbackData || (ContentFeedbackData = {}));
355
257
  export const TargetType = {
356
258
  RECOMMENDATION: "RECOMMENDATION",
357
259
  RESULT: "RESULT",
@@ -362,24 +264,6 @@ export const QueryConditionComparisonOperator = {
362
264
  export const QueryConditionFieldName = {
363
265
  RESULT_TYPE: "RESULT_TYPE",
364
266
  };
365
- export var QueryCondition;
366
- (function (QueryCondition) {
367
- QueryCondition.visit = (value, visitor) => {
368
- if (value.single !== undefined)
369
- return visitor.single(value.single);
370
- return visitor._(value.$unknown[0], value.$unknown[1]);
371
- };
372
- })(QueryCondition || (QueryCondition = {}));
373
- export var QueryInputData;
374
- (function (QueryInputData) {
375
- QueryInputData.visit = (value, visitor) => {
376
- if (value.queryTextInputData !== undefined)
377
- return visitor.queryTextInputData(value.queryTextInputData);
378
- if (value.intentInputData !== undefined)
379
- return visitor.intentInputData(value.intentInputData);
380
- return visitor._(value.$unknown[0], value.$unknown[1]);
381
- };
382
- })(QueryInputData || (QueryInputData = {}));
383
267
  export const QueryResultType = {
384
268
  BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
385
269
  BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
@@ -423,14 +307,6 @@ export class DependencyFailedException extends __BaseException {
423
307
  Object.setPrototypeOf(this, DependencyFailedException.prototype);
424
308
  }
425
309
  }
426
- export var RuntimeSessionDataValue;
427
- (function (RuntimeSessionDataValue) {
428
- RuntimeSessionDataValue.visit = (value, visitor) => {
429
- if (value.stringValue !== undefined)
430
- return visitor.stringValue(value.stringValue);
431
- return visitor._(value.$unknown[0], value.$unknown[1]);
432
- };
433
- })(RuntimeSessionDataValue || (RuntimeSessionDataValue = {}));
434
310
  export const ConversationStatusReason = {
435
311
  FAILED: "FAILED",
436
312
  REJECTED: "REJECTED",
@@ -446,14 +322,6 @@ export const Participant = {
446
322
  BOT: "BOT",
447
323
  CUSTOMER: "CUSTOMER",
448
324
  };
449
- export var MessageData;
450
- (function (MessageData) {
451
- MessageData.visit = (value, visitor) => {
452
- if (value.text !== undefined)
453
- return visitor.text(value.text);
454
- return visitor._(value.$unknown[0], value.$unknown[1]);
455
- };
456
- })(MessageData || (MessageData = {}));
457
325
  export const MessageType = {
458
326
  TEXT: "TEXT",
459
327
  };
@@ -470,22 +338,6 @@ export const ChunkingStrategy = {
470
338
  NONE: "NONE",
471
339
  SEMANTIC: "SEMANTIC",
472
340
  };
473
- export var Configuration;
474
- (function (Configuration) {
475
- Configuration.visit = (value, visitor) => {
476
- if (value.connectConfiguration !== undefined)
477
- return visitor.connectConfiguration(value.connectConfiguration);
478
- return visitor._(value.$unknown[0], value.$unknown[1]);
479
- };
480
- })(Configuration || (Configuration = {}));
481
- export var ContentAssociationContents;
482
- (function (ContentAssociationContents) {
483
- ContentAssociationContents.visit = (value, visitor) => {
484
- if (value.amazonConnectGuideAssociation !== undefined)
485
- return visitor.amazonConnectGuideAssociation(value.amazonConnectGuideAssociation);
486
- return visitor._(value.$unknown[0], value.$unknown[1]);
487
- };
488
- })(ContentAssociationContents || (ContentAssociationContents = {}));
489
341
  export const ContentAssociationType = {
490
342
  AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE",
491
343
  };
@@ -524,24 +376,6 @@ export const WebScopeType = {
524
376
  HOST_ONLY: "HOST_ONLY",
525
377
  SUBDOMAINS: "SUBDOMAINS",
526
378
  };
527
- export var ManagedSourceConfiguration;
528
- (function (ManagedSourceConfiguration) {
529
- ManagedSourceConfiguration.visit = (value, visitor) => {
530
- if (value.webCrawlerConfiguration !== undefined)
531
- return visitor.webCrawlerConfiguration(value.webCrawlerConfiguration);
532
- return visitor._(value.$unknown[0], value.$unknown[1]);
533
- };
534
- })(ManagedSourceConfiguration || (ManagedSourceConfiguration = {}));
535
- export var SourceConfiguration;
536
- (function (SourceConfiguration) {
537
- SourceConfiguration.visit = (value, visitor) => {
538
- if (value.appIntegrations !== undefined)
539
- return visitor.appIntegrations(value.appIntegrations);
540
- if (value.managedSourceConfiguration !== undefined)
541
- return visitor.managedSourceConfiguration(value.managedSourceConfiguration);
542
- return visitor._(value.$unknown[0], value.$unknown[1]);
543
- };
544
- })(SourceConfiguration || (SourceConfiguration = {}));
545
379
  export const ParsingStrategy = {
546
380
  BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
547
381
  };
@@ -559,24 +393,6 @@ export const KnowledgeBaseStatus = {
559
393
  DELETE_FAILED: "DELETE_FAILED",
560
394
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
561
395
  };
562
- export var MessageTemplateBodyContentProvider;
563
- (function (MessageTemplateBodyContentProvider) {
564
- MessageTemplateBodyContentProvider.visit = (value, visitor) => {
565
- if (value.content !== undefined)
566
- return visitor.content(value.content);
567
- return visitor._(value.$unknown[0], value.$unknown[1]);
568
- };
569
- })(MessageTemplateBodyContentProvider || (MessageTemplateBodyContentProvider = {}));
570
- export var MessageTemplateContentProvider;
571
- (function (MessageTemplateContentProvider) {
572
- MessageTemplateContentProvider.visit = (value, visitor) => {
573
- if (value.email !== undefined)
574
- return visitor.email(value.email);
575
- if (value.sms !== undefined)
576
- return visitor.sms(value.sms);
577
- return visitor._(value.$unknown[0], value.$unknown[1]);
578
- };
579
- })(MessageTemplateContentProvider || (MessageTemplateContentProvider = {}));
580
396
  export const MessageTemplateAttributeType = {
581
397
  AGENT: "AGENT",
582
398
  CUSTOM: "CUSTOM",
@@ -1,20 +1,4 @@
1
1
  import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
2
- export var QuickResponseDataProvider;
3
- (function (QuickResponseDataProvider) {
4
- QuickResponseDataProvider.visit = (value, visitor) => {
5
- if (value.content !== undefined)
6
- return visitor.content(value.content);
7
- return visitor._(value.$unknown[0], value.$unknown[1]);
8
- };
9
- })(QuickResponseDataProvider || (QuickResponseDataProvider = {}));
10
- export var QuickResponseContentProvider;
11
- (function (QuickResponseContentProvider) {
12
- QuickResponseContentProvider.visit = (value, visitor) => {
13
- if (value.content !== undefined)
14
- return visitor.content(value.content);
15
- return visitor._(value.$unknown[0], value.$unknown[1]);
16
- };
17
- })(QuickResponseContentProvider || (QuickResponseContentProvider = {}));
18
2
  export const QuickResponseStatus = {
19
3
  CREATED: "CREATED",
20
4
  CREATE_FAILED: "CREATE_FAILED",
@@ -78,25 +62,3 @@ export class TooManyTagsException extends __BaseException {
78
62
  this.resourceName = opts.resourceName;
79
63
  }
80
64
  }
81
- export var DataDetails;
82
- (function (DataDetails) {
83
- DataDetails.visit = (value, visitor) => {
84
- if (value.contentData !== undefined)
85
- return visitor.contentData(value.contentData);
86
- if (value.generativeData !== undefined)
87
- return visitor.generativeData(value.generativeData);
88
- if (value.intentDetectedData !== undefined)
89
- return visitor.intentDetectedData(value.intentDetectedData);
90
- if (value.sourceContentData !== undefined)
91
- return visitor.sourceContentData(value.sourceContentData);
92
- if (value.generativeChunkData !== undefined)
93
- return visitor.generativeChunkData(value.generativeChunkData);
94
- if (value.emailResponseChunkData !== undefined)
95
- return visitor.emailResponseChunkData(value.emailResponseChunkData);
96
- if (value.emailOverviewChunkData !== undefined)
97
- return visitor.emailOverviewChunkData(value.emailOverviewChunkData);
98
- if (value.emailGenerativeAnswerChunkData !== undefined)
99
- return visitor.emailGenerativeAnswerChunkData(value.emailGenerativeAnswerChunkData);
100
- return visitor._(value.$unknown[0], value.$unknown[1]);
101
- };
102
- })(DataDetails || (DataDetails = {}));
@@ -173,12 +173,15 @@ export declare namespace OrCondition {
173
173
  tagCondition?: never;
174
174
  $unknown: [string, any];
175
175
  }
176
+ /**
177
+ * @deprecated unused in schema-serde mode.
178
+ *
179
+ */
176
180
  interface Visitor<T> {
177
181
  andConditions: (value: TagCondition[]) => T;
178
182
  tagCondition: (value: TagCondition) => T;
179
183
  _: (name: string, value: any) => T;
180
184
  }
181
- const visit: <T>(value: OrCondition, visitor: Visitor<T>) => T;
182
185
  }
183
186
  /**
184
187
  * <p>An object that can be used to specify Tag conditions.</p>
@@ -228,13 +231,16 @@ export declare namespace TagFilter {
228
231
  orConditions?: never;
229
232
  $unknown: [string, any];
230
233
  }
234
+ /**
235
+ * @deprecated unused in schema-serde mode.
236
+ *
237
+ */
231
238
  interface Visitor<T> {
232
239
  tagCondition: (value: TagCondition) => T;
233
240
  andConditions: (value: TagCondition[]) => T;
234
241
  orConditions: (value: OrCondition[]) => T;
235
242
  _: (name: string, value: any) => T;
236
243
  }
237
- const visit: <T>(value: TagFilter, visitor: Visitor<T>) => T;
238
244
  }
239
245
  /**
240
246
  * @public
@@ -293,11 +299,14 @@ export declare namespace AssociationConfigurationData {
293
299
  knowledgeBaseAssociationConfigurationData?: never;
294
300
  $unknown: [string, any];
295
301
  }
302
+ /**
303
+ * @deprecated unused in schema-serde mode.
304
+ *
305
+ */
296
306
  interface Visitor<T> {
297
307
  knowledgeBaseAssociationConfigurationData: (value: KnowledgeBaseAssociationConfigurationData) => T;
298
308
  _: (name: string, value: any) => T;
299
309
  }
300
- const visit: <T>(value: AssociationConfigurationData, visitor: Visitor<T>) => T;
301
310
  }
302
311
  /**
303
312
  * @public
@@ -586,6 +595,10 @@ export declare namespace AIAgentConfiguration {
586
595
  emailGenerativeAnswerAIAgentConfiguration?: never;
587
596
  $unknown: [string, any];
588
597
  }
598
+ /**
599
+ * @deprecated unused in schema-serde mode.
600
+ *
601
+ */
589
602
  interface Visitor<T> {
590
603
  manualSearchAIAgentConfiguration: (value: ManualSearchAIAgentConfiguration) => T;
591
604
  answerRecommendationAIAgentConfiguration: (value: AnswerRecommendationAIAgentConfiguration) => T;
@@ -595,7 +608,6 @@ export declare namespace AIAgentConfiguration {
595
608
  emailGenerativeAnswerAIAgentConfiguration: (value: EmailGenerativeAnswerAIAgentConfiguration) => T;
596
609
  _: (name: string, value: any) => T;
597
610
  }
598
- const visit: <T>(value: AIAgentConfiguration, visitor: Visitor<T>) => T;
599
611
  }
600
612
  /**
601
613
  * @public
@@ -2012,11 +2024,14 @@ export declare namespace AIPromptTemplateConfiguration {
2012
2024
  textFullAIPromptEditTemplateConfiguration?: never;
2013
2025
  $unknown: [string, any];
2014
2026
  }
2027
+ /**
2028
+ * @deprecated unused in schema-serde mode.
2029
+ *
2030
+ */
2015
2031
  interface Visitor<T> {
2016
2032
  textFullAIPromptEditTemplateConfiguration: (value: TextFullAIPromptEditTemplateConfiguration) => T;
2017
2033
  _: (name: string, value: any) => T;
2018
2034
  }
2019
- const visit: <T>(value: AIPromptTemplateConfiguration, visitor: Visitor<T>) => T;
2020
2035
  }
2021
2036
  /**
2022
2037
  * @public
@@ -2602,11 +2617,14 @@ export declare namespace AssistantAssociationInputData {
2602
2617
  knowledgeBaseId?: never;
2603
2618
  $unknown: [string, any];
2604
2619
  }
2620
+ /**
2621
+ * @deprecated unused in schema-serde mode.
2622
+ *
2623
+ */
2605
2624
  interface Visitor<T> {
2606
2625
  knowledgeBaseId: (value: string) => T;
2607
2626
  _: (name: string, value: any) => T;
2608
2627
  }
2609
- const visit: <T>(value: AssistantAssociationInputData, visitor: Visitor<T>) => T;
2610
2628
  }
2611
2629
  /**
2612
2630
  * @public
@@ -2689,11 +2707,14 @@ export declare namespace AssistantAssociationOutputData {
2689
2707
  knowledgeBaseAssociation?: never;
2690
2708
  $unknown: [string, any];
2691
2709
  }
2710
+ /**
2711
+ * @deprecated unused in schema-serde mode.
2712
+ *
2713
+ */
2692
2714
  interface Visitor<T> {
2693
2715
  knowledgeBaseAssociation: (value: KnowledgeBaseAssociationData) => T;
2694
2716
  _: (name: string, value: any) => T;
2695
2717
  }
2696
- const visit: <T>(value: AssistantAssociationOutputData, visitor: Visitor<T>) => T;
2697
2718
  }
2698
2719
  /**
2699
2720
  * <p>Information about the assistant association.</p>
@@ -3408,12 +3429,15 @@ export declare namespace DataReference {
3408
3429
  generativeReference?: never;
3409
3430
  $unknown: [string, any];
3410
3431
  }
3432
+ /**
3433
+ * @deprecated unused in schema-serde mode.
3434
+ *
3435
+ */
3411
3436
  interface Visitor<T> {
3412
3437
  contentReference: (value: ContentReference) => T;
3413
3438
  generativeReference: (value: GenerativeReference) => T;
3414
3439
  _: (name: string, value: any) => T;
3415
3440
  }
3416
- const visit: <T>(value: DataReference, visitor: Visitor<T>) => T;
3417
3441
  }
3418
3442
  /**
3419
3443
  * <p>The document.</p>
@@ -3492,11 +3516,14 @@ export declare namespace RecommendationTriggerData {
3492
3516
  query?: never;
3493
3517
  $unknown: [string, any];
3494
3518
  }
3519
+ /**
3520
+ * @deprecated unused in schema-serde mode.
3521
+ *
3522
+ */
3495
3523
  interface Visitor<T> {
3496
3524
  query: (value: QueryRecommendationTriggerData) => T;
3497
3525
  _: (name: string, value: any) => T;
3498
3526
  }
3499
- const visit: <T>(value: RecommendationTriggerData, visitor: Visitor<T>) => T;
3500
3527
  }
3501
3528
  /**
3502
3529
  * @public
@@ -3743,11 +3770,14 @@ export declare namespace ContentFeedbackData {
3743
3770
  generativeContentFeedbackData?: never;
3744
3771
  $unknown: [string, any];
3745
3772
  }
3773
+ /**
3774
+ * @deprecated unused in schema-serde mode.
3775
+ *
3776
+ */
3746
3777
  interface Visitor<T> {
3747
3778
  generativeContentFeedbackData: (value: GenerativeContentFeedbackData) => T;
3748
3779
  _: (name: string, value: any) => T;
3749
3780
  }
3750
- const visit: <T>(value: ContentFeedbackData, visitor: Visitor<T>) => T;
3751
3781
  }
3752
3782
  /**
3753
3783
  * @public
@@ -3883,11 +3913,14 @@ export declare namespace QueryCondition {
3883
3913
  single?: never;
3884
3914
  $unknown: [string, any];
3885
3915
  }
3916
+ /**
3917
+ * @deprecated unused in schema-serde mode.
3918
+ *
3919
+ */
3886
3920
  interface Visitor<T> {
3887
3921
  single: (value: QueryConditionItem) => T;
3888
3922
  _: (name: string, value: any) => T;
3889
3923
  }
3890
- const visit: <T>(value: QueryCondition, visitor: Visitor<T>) => T;
3891
3924
  }
3892
3925
  /**
3893
3926
  * <p>Information about the Amazon Q intent.</p>
@@ -3946,12 +3979,15 @@ export declare namespace QueryInputData {
3946
3979
  intentInputData?: never;
3947
3980
  $unknown: [string, any];
3948
3981
  }
3982
+ /**
3983
+ * @deprecated unused in schema-serde mode.
3984
+ *
3985
+ */
3949
3986
  interface Visitor<T> {
3950
3987
  queryTextInputData: (value: QueryTextInputData) => T;
3951
3988
  intentInputData: (value: IntentInputData) => T;
3952
3989
  _: (name: string, value: any) => T;
3953
3990
  }
3954
- const visit: <T>(value: QueryInputData, visitor: Visitor<T>) => T;
3955
3991
  }
3956
3992
  /**
3957
3993
  * @public
@@ -4344,11 +4380,14 @@ export declare namespace RuntimeSessionDataValue {
4344
4380
  stringValue?: never;
4345
4381
  $unknown: [string, any];
4346
4382
  }
4383
+ /**
4384
+ * @deprecated unused in schema-serde mode.
4385
+ *
4386
+ */
4347
4387
  interface Visitor<T> {
4348
4388
  stringValue: (value: string) => T;
4349
4389
  _: (name: string, value: any) => T;
4350
4390
  }
4351
- const visit: <T>(value: RuntimeSessionDataValue, visitor: Visitor<T>) => T;
4352
4391
  }
4353
4392
  /**
4354
4393
  * <p>The list of key-value pairs that are stored on the session.</p>
@@ -4456,11 +4495,14 @@ export declare namespace MessageData {
4456
4495
  text?: never;
4457
4496
  $unknown: [string, any];
4458
4497
  }
4498
+ /**
4499
+ * @deprecated unused in schema-serde mode.
4500
+ *
4501
+ */
4459
4502
  interface Visitor<T> {
4460
4503
  text: (value: TextMessage) => T;
4461
4504
  _: (name: string, value: any) => T;
4462
4505
  }
4463
- const visit: <T>(value: MessageData, visitor: Visitor<T>) => T;
4464
4506
  }
4465
4507
  /**
4466
4508
  * <p>The message output.</p>
@@ -5022,11 +5064,14 @@ export declare namespace Configuration {
5022
5064
  connectConfiguration?: never;
5023
5065
  $unknown: [string, any];
5024
5066
  }
5067
+ /**
5068
+ * @deprecated unused in schema-serde mode.
5069
+ *
5070
+ */
5025
5071
  interface Visitor<T> {
5026
5072
  connectConfiguration: (value: ConnectConfiguration) => T;
5027
5073
  _: (name: string, value: any) => T;
5028
5074
  }
5029
- const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
5030
5075
  }
5031
5076
  /**
5032
5077
  * <p>The contents of a content association.</p>
@@ -5052,11 +5097,14 @@ export declare namespace ContentAssociationContents {
5052
5097
  amazonConnectGuideAssociation?: never;
5053
5098
  $unknown: [string, any];
5054
5099
  }
5100
+ /**
5101
+ * @deprecated unused in schema-serde mode.
5102
+ *
5103
+ */
5055
5104
  interface Visitor<T> {
5056
5105
  amazonConnectGuideAssociation: (value: AmazonConnectGuideAssociationData) => T;
5057
5106
  _: (name: string, value: any) => T;
5058
5107
  }
5059
- const visit: <T>(value: ContentAssociationContents, visitor: Visitor<T>) => T;
5060
5108
  }
5061
5109
  /**
5062
5110
  * @public
@@ -5829,11 +5877,14 @@ export declare namespace ManagedSourceConfiguration {
5829
5877
  webCrawlerConfiguration?: never;
5830
5878
  $unknown: [string, any];
5831
5879
  }
5880
+ /**
5881
+ * @deprecated unused in schema-serde mode.
5882
+ *
5883
+ */
5832
5884
  interface Visitor<T> {
5833
5885
  webCrawlerConfiguration: (value: WebCrawlerConfiguration) => T;
5834
5886
  _: (name: string, value: any) => T;
5835
5887
  }
5836
- const visit: <T>(value: ManagedSourceConfiguration, visitor: Visitor<T>) => T;
5837
5888
  }
5838
5889
  /**
5839
5890
  * <p>Configuration information about the external data source.</p>
@@ -5870,12 +5921,15 @@ export declare namespace SourceConfiguration {
5870
5921
  managedSourceConfiguration?: never;
5871
5922
  $unknown: [string, any];
5872
5923
  }
5924
+ /**
5925
+ * @deprecated unused in schema-serde mode.
5926
+ *
5927
+ */
5873
5928
  interface Visitor<T> {
5874
5929
  appIntegrations: (value: AppIntegrationsConfiguration) => T;
5875
5930
  managedSourceConfiguration: (value: ManagedSourceConfiguration) => T;
5876
5931
  _: (name: string, value: any) => T;
5877
5932
  }
5878
- const visit: <T>(value: SourceConfiguration, visitor: Visitor<T>) => T;
5879
5933
  }
5880
5934
  /**
5881
5935
  * @public
@@ -6110,11 +6164,14 @@ export declare namespace MessageTemplateBodyContentProvider {
6110
6164
  content?: never;
6111
6165
  $unknown: [string, any];
6112
6166
  }
6167
+ /**
6168
+ * @deprecated unused in schema-serde mode.
6169
+ *
6170
+ */
6113
6171
  interface Visitor<T> {
6114
6172
  content: (value: string) => T;
6115
6173
  _: (name: string, value: any) => T;
6116
6174
  }
6117
- const visit: <T>(value: MessageTemplateBodyContentProvider, visitor: Visitor<T>) => T;
6118
6175
  }
6119
6176
  /**
6120
6177
  * <p>The body to use in email messages.</p>
@@ -6226,12 +6283,15 @@ export declare namespace MessageTemplateContentProvider {
6226
6283
  sms?: never;
6227
6284
  $unknown: [string, any];
6228
6285
  }
6286
+ /**
6287
+ * @deprecated unused in schema-serde mode.
6288
+ *
6289
+ */
6229
6290
  interface Visitor<T> {
6230
6291
  email: (value: EmailMessageTemplateContent) => T;
6231
6292
  sms: (value: SMSMessageTemplateContent) => T;
6232
6293
  _: (name: string, value: any) => T;
6233
6294
  }
6234
- const visit: <T>(value: MessageTemplateContentProvider, visitor: Visitor<T>) => T;
6235
6295
  }
6236
6296
  /**
6237
6297
  * <p>The customer profile attributes that are used with the message template.</p>
@@ -343,11 +343,14 @@ export declare namespace QuickResponseDataProvider {
343
343
  content?: never;
344
344
  $unknown: [string, any];
345
345
  }
346
+ /**
347
+ * @deprecated unused in schema-serde mode.
348
+ *
349
+ */
346
350
  interface Visitor<T> {
347
351
  content: (value: string) => T;
348
352
  _: (name: string, value: any) => T;
349
353
  }
350
- const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
351
354
  }
352
355
  /**
353
356
  * @public
@@ -438,11 +441,14 @@ export declare namespace QuickResponseContentProvider {
438
441
  content?: never;
439
442
  $unknown: [string, any];
440
443
  }
444
+ /**
445
+ * @deprecated unused in schema-serde mode.
446
+ *
447
+ */
441
448
  interface Visitor<T> {
442
449
  content: (value: string) => T;
443
450
  _: (name: string, value: any) => T;
444
451
  }
445
- const visit: <T>(value: QuickResponseContentProvider, visitor: Visitor<T>) => T;
446
452
  }
447
453
  /**
448
454
  * <p>The content of the quick response stored in different media types.</p>
@@ -2552,6 +2558,10 @@ export declare namespace DataDetails {
2552
2558
  emailGenerativeAnswerChunkData?: never;
2553
2559
  $unknown: [string, any];
2554
2560
  }
2561
+ /**
2562
+ * @deprecated unused in schema-serde mode.
2563
+ *
2564
+ */
2555
2565
  interface Visitor<T> {
2556
2566
  contentData: (value: ContentDataDetails) => T;
2557
2567
  generativeData: (value: GenerativeDataDetails) => T;
@@ -2563,7 +2573,6 @@ export declare namespace DataDetails {
2563
2573
  emailGenerativeAnswerChunkData: (value: EmailGenerativeAnswerChunkDataDetails) => T;
2564
2574
  _: (name: string, value: any) => T;
2565
2575
  }
2566
- const visit: <T>(value: DataDetails, visitor: Visitor<T>) => T;
2567
2576
  }
2568
2577
  /**
2569
2578
  * <p>Summary of the data.</p>
@@ -78,7 +78,6 @@ export declare namespace OrCondition {
78
78
  tagCondition: (value: TagCondition) => T;
79
79
  _: (name: string, value: any) => T;
80
80
  }
81
- const visit: <T>(value: OrCondition, visitor: Visitor<T>) => T;
82
81
  }
83
82
  export type TagFilter =
84
83
  | TagFilter.AndConditionsMember
@@ -116,7 +115,6 @@ export declare namespace TagFilter {
116
115
  orConditions: (value: OrCondition[]) => T;
117
116
  _: (name: string, value: any) => T;
118
117
  }
119
- const visit: <T>(value: TagFilter, visitor: Visitor<T>) => T;
120
118
  }
121
119
  export declare const KnowledgeBaseSearchType: {
122
120
  readonly HYBRID: "HYBRID";
@@ -147,10 +145,6 @@ export declare namespace AssociationConfigurationData {
147
145
  ) => T;
148
146
  _: (name: string, value: any) => T;
149
147
  }
150
- const visit: <T>(
151
- value: AssociationConfigurationData,
152
- visitor: Visitor<T>
153
- ) => T;
154
148
  }
155
149
  export declare const AIAgentAssociationConfigurationType: {
156
150
  readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
@@ -291,7 +285,6 @@ export declare namespace AIAgentConfiguration {
291
285
  ) => T;
292
286
  _: (name: string, value: any) => T;
293
287
  }
294
- const visit: <T>(value: AIAgentConfiguration, visitor: Visitor<T>) => T;
295
288
  }
296
289
  export declare const AIAgentType: {
297
290
  readonly ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION";
@@ -729,10 +722,6 @@ export declare namespace AIPromptTemplateConfiguration {
729
722
  ) => T;
730
723
  _: (name: string, value: any) => T;
731
724
  }
732
- const visit: <T>(
733
- value: AIPromptTemplateConfiguration,
734
- visitor: Visitor<T>
735
- ) => T;
736
725
  }
737
726
  export declare const AIPromptTemplateType: {
738
727
  readonly TEXT: "TEXT";
@@ -891,10 +880,6 @@ export declare namespace AssistantAssociationInputData {
891
880
  knowledgeBaseId: (value: string) => T;
892
881
  _: (name: string, value: any) => T;
893
882
  }
894
- const visit: <T>(
895
- value: AssistantAssociationInputData,
896
- visitor: Visitor<T>
897
- ) => T;
898
883
  }
899
884
  export declare const AssociationType: {
900
885
  readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
@@ -928,10 +913,6 @@ export declare namespace AssistantAssociationOutputData {
928
913
  knowledgeBaseAssociation: (value: KnowledgeBaseAssociationData) => T;
929
914
  _: (name: string, value: any) => T;
930
915
  }
931
- const visit: <T>(
932
- value: AssistantAssociationOutputData,
933
- visitor: Visitor<T>
934
- ) => T;
935
916
  }
936
917
  export interface AssistantAssociationData {
937
918
  assistantAssociationId: string | undefined;
@@ -1148,7 +1129,6 @@ export declare namespace DataReference {
1148
1129
  generativeReference: (value: GenerativeReference) => T;
1149
1130
  _: (name: string, value: any) => T;
1150
1131
  }
1151
- const visit: <T>(value: DataReference, visitor: Visitor<T>) => T;
1152
1132
  }
1153
1133
  export interface Document {
1154
1134
  contentReference: ContentReference | undefined;
@@ -1189,7 +1169,6 @@ export declare namespace RecommendationTriggerData {
1189
1169
  query: (value: QueryRecommendationTriggerData) => T;
1190
1170
  _: (name: string, value: any) => T;
1191
1171
  }
1192
- const visit: <T>(value: RecommendationTriggerData, visitor: Visitor<T>) => T;
1193
1172
  }
1194
1173
  export declare const RecommendationSourceType: {
1195
1174
  readonly ISSUE_DETECTION: "ISSUE_DETECTION";
@@ -1273,7 +1252,6 @@ export declare namespace ContentFeedbackData {
1273
1252
  generativeContentFeedbackData: (value: GenerativeContentFeedbackData) => T;
1274
1253
  _: (name: string, value: any) => T;
1275
1254
  }
1276
- const visit: <T>(value: ContentFeedbackData, visitor: Visitor<T>) => T;
1277
1255
  }
1278
1256
  export declare const TargetType: {
1279
1257
  readonly RECOMMENDATION: "RECOMMENDATION";
@@ -1324,7 +1302,6 @@ export declare namespace QueryCondition {
1324
1302
  single: (value: QueryConditionItem) => T;
1325
1303
  _: (name: string, value: any) => T;
1326
1304
  }
1327
- const visit: <T>(value: QueryCondition, visitor: Visitor<T>) => T;
1328
1305
  }
1329
1306
  export interface IntentInputData {
1330
1307
  intentId: string | undefined;
@@ -1357,7 +1334,6 @@ export declare namespace QueryInputData {
1357
1334
  intentInputData: (value: IntentInputData) => T;
1358
1335
  _: (name: string, value: any) => T;
1359
1336
  }
1360
- const visit: <T>(value: QueryInputData, visitor: Visitor<T>) => T;
1361
1337
  }
1362
1338
  export interface QueryAssistantRequest {
1363
1339
  assistantId: string | undefined;
@@ -1488,7 +1464,6 @@ export declare namespace RuntimeSessionDataValue {
1488
1464
  stringValue: (value: string) => T;
1489
1465
  _: (name: string, value: any) => T;
1490
1466
  }
1491
- const visit: <T>(value: RuntimeSessionDataValue, visitor: Visitor<T>) => T;
1492
1467
  }
1493
1468
  export interface RuntimeSessionData {
1494
1469
  key: string | undefined;
@@ -1535,7 +1510,6 @@ export declare namespace MessageData {
1535
1510
  text: (value: TextMessage) => T;
1536
1511
  _: (name: string, value: any) => T;
1537
1512
  }
1538
- const visit: <T>(value: MessageData, visitor: Visitor<T>) => T;
1539
1513
  }
1540
1514
  export interface MessageOutput {
1541
1515
  value: MessageData | undefined;
@@ -1701,7 +1675,6 @@ export declare namespace Configuration {
1701
1675
  connectConfiguration: (value: ConnectConfiguration) => T;
1702
1676
  _: (name: string, value: any) => T;
1703
1677
  }
1704
- const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
1705
1678
  }
1706
1679
  export type ContentAssociationContents =
1707
1680
  | ContentAssociationContents.AmazonConnectGuideAssociationMember
@@ -1721,7 +1694,6 @@ export declare namespace ContentAssociationContents {
1721
1694
  ) => T;
1722
1695
  _: (name: string, value: any) => T;
1723
1696
  }
1724
- const visit: <T>(value: ContentAssociationContents, visitor: Visitor<T>) => T;
1725
1697
  }
1726
1698
  export declare const ContentAssociationType: {
1727
1699
  readonly AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE";
@@ -1939,7 +1911,6 @@ export declare namespace ManagedSourceConfiguration {
1939
1911
  webCrawlerConfiguration: (value: WebCrawlerConfiguration) => T;
1940
1912
  _: (name: string, value: any) => T;
1941
1913
  }
1942
- const visit: <T>(value: ManagedSourceConfiguration, visitor: Visitor<T>) => T;
1943
1914
  }
1944
1915
  export type SourceConfiguration =
1945
1916
  | SourceConfiguration.AppIntegrationsMember
@@ -1966,7 +1937,6 @@ export declare namespace SourceConfiguration {
1966
1937
  managedSourceConfiguration: (value: ManagedSourceConfiguration) => T;
1967
1938
  _: (name: string, value: any) => T;
1968
1939
  }
1969
- const visit: <T>(value: SourceConfiguration, visitor: Visitor<T>) => T;
1970
1940
  }
1971
1941
  export declare const ParsingStrategy: {
1972
1942
  readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
@@ -2050,10 +2020,6 @@ export declare namespace MessageTemplateBodyContentProvider {
2050
2020
  content: (value: string) => T;
2051
2021
  _: (name: string, value: any) => T;
2052
2022
  }
2053
- const visit: <T>(
2054
- value: MessageTemplateBodyContentProvider,
2055
- visitor: Visitor<T>
2056
- ) => T;
2057
2023
  }
2058
2024
  export interface EmailMessageTemplateContentBody {
2059
2025
  plainText?: MessageTemplateBodyContentProvider | undefined;
@@ -2099,10 +2065,6 @@ export declare namespace MessageTemplateContentProvider {
2099
2065
  sms: (value: SMSMessageTemplateContent) => T;
2100
2066
  _: (name: string, value: any) => T;
2101
2067
  }
2102
- const visit: <T>(
2103
- value: MessageTemplateContentProvider,
2104
- visitor: Visitor<T>
2105
- ) => T;
2106
2068
  }
2107
2069
  export interface CustomerProfileAttributes {
2108
2070
  profileId?: string | undefined;
@@ -117,7 +117,6 @@ export declare namespace QuickResponseDataProvider {
117
117
  content: (value: string) => T;
118
118
  _: (name: string, value: any) => T;
119
119
  }
120
- const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
121
120
  }
122
121
  export interface CreateQuickResponseRequest {
123
122
  knowledgeBaseId: string | undefined;
@@ -149,10 +148,6 @@ export declare namespace QuickResponseContentProvider {
149
148
  content: (value: string) => T;
150
149
  _: (name: string, value: any) => T;
151
150
  }
152
- const visit: <T>(
153
- value: QuickResponseContentProvider,
154
- visitor: Visitor<T>
155
- ) => T;
156
151
  }
157
152
  export interface QuickResponseContents {
158
153
  plainText?: QuickResponseContentProvider | undefined;
@@ -783,7 +778,6 @@ export declare namespace DataDetails {
783
778
  ) => T;
784
779
  _: (name: string, value: any) => T;
785
780
  }
786
- const visit: <T>(value: DataDetails, visitor: Visitor<T>) => T;
787
781
  }
788
782
  export interface DataSummary {
789
783
  reference: DataReference | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-qconnect",
3
3
  "description": "AWS SDK for JavaScript Qconnect Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-qconnect",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },