@aws-sdk/client-qconnect 3.938.0 → 3.939.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.
Files changed (52) hide show
  1. package/dist-cjs/index.js +415 -16
  2. package/dist-es/index.js +1 -0
  3. package/dist-es/models/enums.js +337 -0
  4. package/dist-es/models/models_0.js +1 -288
  5. package/dist-es/models/models_1.js +1 -49
  6. package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateMessageTemplateCommand.d.ts +1 -2
  8. package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -1
  10. package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteImportJobCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteQuickResponseCommand.d.ts +1 -1
  16. package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
  17. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
  18. package/dist-types/commands/GetMessageTemplateCommand.d.ts +1 -1
  19. package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -1
  20. package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  22. package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -1
  24. package/dist-types/commands/RenderMessageTemplateCommand.d.ts +2 -1
  25. package/dist-types/index.d.ts +1 -0
  26. package/dist-types/models/enums.d.ts +825 -0
  27. package/dist-types/models/models_0.d.ts +1381 -685
  28. package/dist-types/models/models_1.d.ts +2 -1521
  29. package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/CreateMessageTemplateVersionCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/index.d.ts +1 -0
  49. package/dist-types/ts3.4/models/enums.d.ts +442 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +411 -376
  51. package/dist-types/ts3.4/models/models_1.d.ts +21 -435
  52. package/package.json +2 -2
@@ -1,3 +1,58 @@
1
+ import {
2
+ AIAgentAssociationConfigurationType,
3
+ AIAgentType,
4
+ AIPromptAPIFormat,
5
+ AIPromptTemplateType,
6
+ AIPromptType,
7
+ AssistantCapabilityType,
8
+ AssistantStatus,
9
+ AssistantType,
10
+ AssociationType,
11
+ ChannelSubtype,
12
+ ChunkingStrategy,
13
+ ContentAssociationType,
14
+ ContentDisposition,
15
+ ContentStatus,
16
+ ConversationStatus,
17
+ ConversationStatusReason,
18
+ ExternalSource,
19
+ FilterField,
20
+ FilterOperator,
21
+ GuardrailContentFilterType,
22
+ GuardrailContextualGroundingFilterType,
23
+ GuardrailFilterStrength,
24
+ GuardrailManagedWordsType,
25
+ GuardrailPiiEntityType,
26
+ GuardrailSensitiveInformationAction,
27
+ GuardrailTopicType,
28
+ ImportJobStatus,
29
+ ImportJobType,
30
+ KnowledgeBaseSearchType,
31
+ KnowledgeBaseStatus,
32
+ KnowledgeBaseType,
33
+ MessageTemplateAttributeType,
34
+ MessageType,
35
+ Origin,
36
+ ParsingStrategy,
37
+ Participant,
38
+ PushMessageAction,
39
+ QueryConditionComparisonOperator,
40
+ QueryConditionFieldName,
41
+ QuickResponseStatus,
42
+ RecommendationSourceType,
43
+ RecommendationTriggerType,
44
+ ReferenceType,
45
+ Relevance,
46
+ RelevanceLevel,
47
+ SessionDataNamespace,
48
+ SourceContentType,
49
+ Status,
50
+ SyncStatus,
51
+ TargetType,
52
+ VisibilityStatus,
53
+ WebScopeType,
54
+ WhatsAppSourceConfigurationStatus,
55
+ } from "./enums";
1
56
  export interface ActivateMessageTemplateRequest {
2
57
  knowledgeBaseId: string | undefined;
3
58
  messageTemplateId: string | undefined;
@@ -79,12 +134,6 @@ export declare namespace TagFilter {
79
134
  _: (name: string, value: any) => T;
80
135
  }
81
136
  }
82
- export declare const KnowledgeBaseSearchType: {
83
- readonly HYBRID: "HYBRID";
84
- readonly SEMANTIC: "SEMANTIC";
85
- };
86
- export type KnowledgeBaseSearchType =
87
- (typeof KnowledgeBaseSearchType)[keyof typeof KnowledgeBaseSearchType];
88
137
  export interface KnowledgeBaseAssociationConfigurationData {
89
138
  contentTagFilter?: TagFilter | undefined;
90
139
  maxResults?: number | undefined;
@@ -109,11 +158,6 @@ export declare namespace AssociationConfigurationData {
109
158
  _: (name: string, value: any) => T;
110
159
  }
111
160
  }
112
- export declare const AIAgentAssociationConfigurationType: {
113
- readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
114
- };
115
- export type AIAgentAssociationConfigurationType =
116
- (typeof AIAgentAssociationConfigurationType)[keyof typeof AIAgentAssociationConfigurationType];
117
161
  export interface AssociationConfiguration {
118
162
  associationId?: string | undefined;
119
163
  associationType?: AIAgentAssociationConfigurationType | undefined;
@@ -249,21 +293,6 @@ export declare namespace AIAgentConfiguration {
249
293
  _: (name: string, value: any) => T;
250
294
  }
251
295
  }
252
- export declare const AIAgentType: {
253
- readonly ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION";
254
- readonly EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER";
255
- readonly EMAIL_OVERVIEW: "EMAIL_OVERVIEW";
256
- readonly EMAIL_RESPONSE: "EMAIL_RESPONSE";
257
- readonly MANUAL_SEARCH: "MANUAL_SEARCH";
258
- readonly SELF_SERVICE: "SELF_SERVICE";
259
- };
260
- export type AIAgentType = (typeof AIAgentType)[keyof typeof AIAgentType];
261
- export declare const VisibilityStatus: {
262
- readonly PUBLISHED: "PUBLISHED";
263
- readonly SAVED: "SAVED";
264
- };
265
- export type VisibilityStatus =
266
- (typeof VisibilityStatus)[keyof typeof VisibilityStatus];
267
296
  export interface CreateAIAgentRequest {
268
297
  clientToken?: string | undefined;
269
298
  assistantId: string | undefined;
@@ -274,20 +303,6 @@ export interface CreateAIAgentRequest {
274
303
  tags?: Record<string, string> | undefined;
275
304
  description?: string | undefined;
276
305
  }
277
- export declare const Origin: {
278
- readonly CUSTOMER: "CUSTOMER";
279
- readonly SYSTEM: "SYSTEM";
280
- };
281
- export type Origin = (typeof Origin)[keyof typeof Origin];
282
- export declare const Status: {
283
- readonly ACTIVE: "ACTIVE";
284
- readonly CREATE_FAILED: "CREATE_FAILED";
285
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
286
- readonly DELETED: "DELETED";
287
- readonly DELETE_FAILED: "DELETE_FAILED";
288
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
289
- };
290
- export type Status = (typeof Status)[keyof typeof Status];
291
306
  export interface AIAgentData {
292
307
  assistantId: string | undefined;
293
308
  assistantArn: string | undefined;
@@ -389,24 +404,6 @@ export interface UpdateAIAgentResponse {
389
404
  export interface AIAgentConfigurationData {
390
405
  aiAgentId: string | undefined;
391
406
  }
392
- export declare const GuardrailFilterStrength: {
393
- readonly HIGH: "HIGH";
394
- readonly LOW: "LOW";
395
- readonly MEDIUM: "MEDIUM";
396
- readonly NONE: "NONE";
397
- };
398
- export type GuardrailFilterStrength =
399
- (typeof GuardrailFilterStrength)[keyof typeof GuardrailFilterStrength];
400
- export declare const GuardrailContentFilterType: {
401
- readonly HATE: "HATE";
402
- readonly INSULTS: "INSULTS";
403
- readonly MISCONDUCT: "MISCONDUCT";
404
- readonly PROMPT_ATTACK: "PROMPT_ATTACK";
405
- readonly SEXUAL: "SEXUAL";
406
- readonly VIOLENCE: "VIOLENCE";
407
- };
408
- export type GuardrailContentFilterType =
409
- (typeof GuardrailContentFilterType)[keyof typeof GuardrailContentFilterType];
410
407
  export interface GuardrailContentFilterConfig {
411
408
  type: GuardrailContentFilterType | undefined;
412
409
  inputStrength: GuardrailFilterStrength | undefined;
@@ -415,12 +412,6 @@ export interface GuardrailContentFilterConfig {
415
412
  export interface AIGuardrailContentPolicyConfig {
416
413
  filtersConfig: GuardrailContentFilterConfig[] | undefined;
417
414
  }
418
- export declare const GuardrailContextualGroundingFilterType: {
419
- readonly GROUNDING: "GROUNDING";
420
- readonly RELEVANCE: "RELEVANCE";
421
- };
422
- export type GuardrailContextualGroundingFilterType =
423
- (typeof GuardrailContextualGroundingFilterType)[keyof typeof GuardrailContextualGroundingFilterType];
424
415
  export interface GuardrailContextualGroundingFilterConfig {
425
416
  type: GuardrailContextualGroundingFilterType | undefined;
426
417
  threshold: number | undefined;
@@ -428,47 +419,6 @@ export interface GuardrailContextualGroundingFilterConfig {
428
419
  export interface AIGuardrailContextualGroundingPolicyConfig {
429
420
  filtersConfig: GuardrailContextualGroundingFilterConfig[] | undefined;
430
421
  }
431
- export declare const GuardrailSensitiveInformationAction: {
432
- readonly ANONYMIZE: "ANONYMIZE";
433
- readonly BLOCK: "BLOCK";
434
- };
435
- export type GuardrailSensitiveInformationAction =
436
- (typeof GuardrailSensitiveInformationAction)[keyof typeof GuardrailSensitiveInformationAction];
437
- export declare const GuardrailPiiEntityType: {
438
- readonly ADDRESS: "ADDRESS";
439
- readonly AGE: "AGE";
440
- readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
441
- readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
442
- readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
443
- readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
444
- readonly CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV";
445
- readonly CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY";
446
- readonly CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER";
447
- readonly DRIVER_ID: "DRIVER_ID";
448
- readonly EMAIL: "EMAIL";
449
- readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
450
- readonly IP_ADDRESS: "IP_ADDRESS";
451
- readonly LICENSE_PLATE: "LICENSE_PLATE";
452
- readonly MAC_ADDRESS: "MAC_ADDRESS";
453
- readonly NAME: "NAME";
454
- readonly PASSWORD: "PASSWORD";
455
- readonly PHONE: "PHONE";
456
- readonly PIN: "PIN";
457
- readonly SWIFT_CODE: "SWIFT_CODE";
458
- readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
459
- readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
460
- readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
461
- readonly URL: "URL";
462
- readonly USERNAME: "USERNAME";
463
- readonly US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER";
464
- readonly US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER";
465
- readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
466
- readonly US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER";
467
- readonly US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER";
468
- readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
469
- };
470
- export type GuardrailPiiEntityType =
471
- (typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
472
422
  export interface GuardrailPiiEntityConfig {
473
423
  type: GuardrailPiiEntityType | undefined;
474
424
  action: GuardrailSensitiveInformationAction | undefined;
@@ -483,11 +433,6 @@ export interface AIGuardrailSensitiveInformationPolicyConfig {
483
433
  piiEntitiesConfig?: GuardrailPiiEntityConfig[] | undefined;
484
434
  regexesConfig?: GuardrailRegexConfig[] | undefined;
485
435
  }
486
- export declare const GuardrailTopicType: {
487
- readonly DENY: "DENY";
488
- };
489
- export type GuardrailTopicType =
490
- (typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
491
436
  export interface GuardrailTopicConfig {
492
437
  name: string | undefined;
493
438
  definition: string | undefined;
@@ -497,11 +442,6 @@ export interface GuardrailTopicConfig {
497
442
  export interface AIGuardrailTopicPolicyConfig {
498
443
  topicsConfig: GuardrailTopicConfig[] | undefined;
499
444
  }
500
- export declare const GuardrailManagedWordsType: {
501
- readonly PROFANITY: "PROFANITY";
502
- };
503
- export type GuardrailManagedWordsType =
504
- (typeof GuardrailManagedWordsType)[keyof typeof GuardrailManagedWordsType];
505
445
  export interface GuardrailManagedWordsConfig {
506
446
  type: GuardrailManagedWordsType | undefined;
507
447
  }
@@ -642,14 +582,6 @@ export interface UpdateAIGuardrailRequest {
642
582
  export interface UpdateAIGuardrailResponse {
643
583
  aiGuardrail?: AIGuardrailData | undefined;
644
584
  }
645
- export declare const AIPromptAPIFormat: {
646
- readonly ANTHROPIC_CLAUDE_MESSAGES: "ANTHROPIC_CLAUDE_MESSAGES";
647
- readonly ANTHROPIC_CLAUDE_TEXT_COMPLETIONS: "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS";
648
- readonly MESSAGES: "MESSAGES";
649
- readonly TEXT_COMPLETIONS: "TEXT_COMPLETIONS";
650
- };
651
- export type AIPromptAPIFormat =
652
- (typeof AIPromptAPIFormat)[keyof typeof AIPromptAPIFormat];
653
585
  export interface TextFullAIPromptEditTemplateConfiguration {
654
586
  text: string | undefined;
655
587
  }
@@ -672,23 +604,6 @@ export declare namespace AIPromptTemplateConfiguration {
672
604
  _: (name: string, value: any) => T;
673
605
  }
674
606
  }
675
- export declare const AIPromptTemplateType: {
676
- readonly TEXT: "TEXT";
677
- };
678
- export type AIPromptTemplateType =
679
- (typeof AIPromptTemplateType)[keyof typeof AIPromptTemplateType];
680
- export declare const AIPromptType: {
681
- readonly ANSWER_GENERATION: "ANSWER_GENERATION";
682
- readonly EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER";
683
- readonly EMAIL_OVERVIEW: "EMAIL_OVERVIEW";
684
- readonly EMAIL_QUERY_REFORMULATION: "EMAIL_QUERY_REFORMULATION";
685
- readonly EMAIL_RESPONSE: "EMAIL_RESPONSE";
686
- readonly INTENT_LABELING_GENERATION: "INTENT_LABELING_GENERATION";
687
- readonly QUERY_REFORMULATION: "QUERY_REFORMULATION";
688
- readonly SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION";
689
- readonly SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING";
690
- };
691
- export type AIPromptType = (typeof AIPromptType)[keyof typeof AIPromptType];
692
607
  export interface CreateAIPromptRequest {
693
608
  clientToken?: string | undefined;
694
609
  assistantId: string | undefined;
@@ -830,11 +745,6 @@ export declare namespace AssistantAssociationInputData {
830
745
  _: (name: string, value: any) => T;
831
746
  }
832
747
  }
833
- export declare const AssociationType: {
834
- readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
835
- };
836
- export type AssociationType =
837
- (typeof AssociationType)[keyof typeof AssociationType];
838
748
  export interface CreateAssistantAssociationRequest {
839
749
  assistantId: string | undefined;
840
750
  associationType: AssociationType | undefined;
@@ -908,10 +818,6 @@ export interface ListAssistantAssociationsResponse {
908
818
  export interface ServerSideEncryptionConfiguration {
909
819
  kmsKeyId?: string | undefined;
910
820
  }
911
- export declare const AssistantType: {
912
- readonly AGENT: "AGENT";
913
- };
914
- export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
915
821
  export interface CreateAssistantRequest {
916
822
  clientToken?: string | undefined;
917
823
  name: string | undefined;
@@ -922,28 +828,12 @@ export interface CreateAssistantRequest {
922
828
  | ServerSideEncryptionConfiguration
923
829
  | undefined;
924
830
  }
925
- export declare const AssistantCapabilityType: {
926
- readonly V1: "V1";
927
- readonly V2: "V2";
928
- };
929
- export type AssistantCapabilityType =
930
- (typeof AssistantCapabilityType)[keyof typeof AssistantCapabilityType];
931
831
  export interface AssistantCapabilityConfiguration {
932
832
  type?: AssistantCapabilityType | undefined;
933
833
  }
934
834
  export interface AssistantIntegrationConfiguration {
935
835
  topicIntegrationArn?: string | undefined;
936
836
  }
937
- export declare const AssistantStatus: {
938
- readonly ACTIVE: "ACTIVE";
939
- readonly CREATE_FAILED: "CREATE_FAILED";
940
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
941
- readonly DELETED: "DELETED";
942
- readonly DELETE_FAILED: "DELETE_FAILED";
943
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
944
- };
945
- export type AssistantStatus =
946
- (typeof AssistantStatus)[keyof typeof AssistantStatus];
947
837
  export interface AssistantData {
948
838
  assistantId: string | undefined;
949
839
  assistantArn: string | undefined;
@@ -981,13 +871,6 @@ export interface GetRecommendationsRequest {
981
871
  waitTimeSeconds?: number | undefined;
982
872
  nextChunkToken?: string | undefined;
983
873
  }
984
- export declare const RelevanceLevel: {
985
- readonly HIGH: "HIGH";
986
- readonly LOW: "LOW";
987
- readonly MEDIUM: "MEDIUM";
988
- };
989
- export type RelevanceLevel =
990
- (typeof RelevanceLevel)[keyof typeof RelevanceLevel];
991
874
  export interface RankingData {
992
875
  relevanceScore?: number | undefined;
993
876
  relevanceLevel?: RelevanceLevel | undefined;
@@ -1024,11 +907,6 @@ export interface CitationSpan {
1024
907
  beginOffsetInclusive?: number | undefined;
1025
908
  endOffsetExclusive?: number | undefined;
1026
909
  }
1027
- export declare const SourceContentType: {
1028
- readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
1029
- };
1030
- export type SourceContentType =
1031
- (typeof SourceContentType)[keyof typeof SourceContentType];
1032
910
  export interface SourceContentDataDetails {
1033
911
  id: string | undefined;
1034
912
  type: SourceContentType | undefined;
@@ -1036,11 +914,6 @@ export interface SourceContentDataDetails {
1036
914
  rankingData: RankingData | undefined;
1037
915
  citationSpan?: CitationSpan | undefined;
1038
916
  }
1039
- export declare const ReferenceType: {
1040
- readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
1041
- readonly WEB_CRAWLER: "WEB_CRAWLER";
1042
- };
1043
- export type ReferenceType = (typeof ReferenceType)[keyof typeof ReferenceType];
1044
917
  export interface ContentReference {
1045
918
  knowledgeBaseArn?: string | undefined;
1046
919
  knowledgeBaseId?: string | undefined;
@@ -1084,21 +957,6 @@ export interface Document {
1084
957
  title?: DocumentText | undefined;
1085
958
  excerpt?: DocumentText | undefined;
1086
959
  }
1087
- export declare const RecommendationType: {
1088
- readonly BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK";
1089
- readonly BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK";
1090
- readonly DETECTED_INTENT: "DETECTED_INTENT";
1091
- readonly EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK";
1092
- readonly EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK";
1093
- readonly EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK";
1094
- readonly GENERATIVE_ANSWER: "GENERATIVE_ANSWER";
1095
- readonly GENERATIVE_ANSWER_CHUNK: "GENERATIVE_ANSWER_CHUNK";
1096
- readonly GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE";
1097
- readonly INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK";
1098
- readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
1099
- };
1100
- export type RecommendationType =
1101
- (typeof RecommendationType)[keyof typeof RecommendationType];
1102
960
  export interface QueryRecommendationTriggerData {
1103
961
  text?: string | undefined;
1104
962
  }
@@ -1119,19 +977,6 @@ export declare namespace RecommendationTriggerData {
1119
977
  _: (name: string, value: any) => T;
1120
978
  }
1121
979
  }
1122
- export declare const RecommendationSourceType: {
1123
- readonly ISSUE_DETECTION: "ISSUE_DETECTION";
1124
- readonly OTHER: "OTHER";
1125
- readonly RULE_EVALUATION: "RULE_EVALUATION";
1126
- };
1127
- export type RecommendationSourceType =
1128
- (typeof RecommendationSourceType)[keyof typeof RecommendationSourceType];
1129
- export declare const RecommendationTriggerType: {
1130
- readonly GENERATIVE: "GENERATIVE";
1131
- readonly QUERY: "QUERY";
1132
- };
1133
- export type RecommendationTriggerType =
1134
- (typeof RecommendationTriggerType)[keyof typeof RecommendationTriggerType];
1135
980
  export interface RecommendationTrigger {
1136
981
  id: string | undefined;
1137
982
  type: RecommendationTriggerType | undefined;
@@ -1177,11 +1022,6 @@ export interface NotifyRecommendationsReceivedResponse {
1177
1022
  recommendationIds?: string[] | undefined;
1178
1023
  errors?: NotifyRecommendationsReceivedError[] | undefined;
1179
1024
  }
1180
- export declare const Relevance: {
1181
- readonly HELPFUL: "HELPFUL";
1182
- readonly NOT_HELPFUL: "NOT_HELPFUL";
1183
- };
1184
- export type Relevance = (typeof Relevance)[keyof typeof Relevance];
1185
1025
  export interface GenerativeContentFeedbackData {
1186
1026
  relevance: Relevance | undefined;
1187
1027
  }
@@ -1202,11 +1042,6 @@ export declare namespace ContentFeedbackData {
1202
1042
  _: (name: string, value: any) => T;
1203
1043
  }
1204
1044
  }
1205
- export declare const TargetType: {
1206
- readonly RECOMMENDATION: "RECOMMENDATION";
1207
- readonly RESULT: "RESULT";
1208
- };
1209
- export type TargetType = (typeof TargetType)[keyof typeof TargetType];
1210
1045
  export interface PutFeedbackRequest {
1211
1046
  assistantId: string | undefined;
1212
1047
  targetId: string | undefined;
@@ -1220,16 +1055,6 @@ export interface PutFeedbackResponse {
1220
1055
  targetType: TargetType | undefined;
1221
1056
  contentFeedback: ContentFeedbackData | undefined;
1222
1057
  }
1223
- export declare const QueryConditionComparisonOperator: {
1224
- readonly EQUALS: "EQUALS";
1225
- };
1226
- export type QueryConditionComparisonOperator =
1227
- (typeof QueryConditionComparisonOperator)[keyof typeof QueryConditionComparisonOperator];
1228
- export declare const QueryConditionFieldName: {
1229
- readonly RESULT_TYPE: "RESULT_TYPE";
1230
- };
1231
- export type QueryConditionFieldName =
1232
- (typeof QueryConditionFieldName)[keyof typeof QueryConditionFieldName];
1233
1058
  export interface QueryConditionItem {
1234
1059
  field: QueryConditionFieldName | undefined;
1235
1060
  comparator: QueryConditionComparisonOperator | undefined;
@@ -1294,34 +1119,11 @@ export interface QueryAssistantRequest {
1294
1119
  queryInputData?: QueryInputData | undefined;
1295
1120
  overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType | undefined;
1296
1121
  }
1297
- export declare const QueryResultType: {
1298
- readonly BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK";
1299
- readonly BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK";
1300
- readonly EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK";
1301
- readonly EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK";
1302
- readonly EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK";
1303
- readonly GENERATIVE_ANSWER: "GENERATIVE_ANSWER";
1304
- readonly GENERATIVE_ANSWER_CHUNK: "GENERATIVE_ANSWER_CHUNK";
1305
- readonly INTENT_ANSWER: "INTENT_ANSWER";
1306
- readonly INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK";
1307
- readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
1308
- };
1309
- export type QueryResultType =
1310
- (typeof QueryResultType)[keyof typeof QueryResultType];
1311
1122
  export interface RemoveAssistantAIAgentRequest {
1312
1123
  assistantId: string | undefined;
1313
1124
  aiAgentType: AIAgentType | undefined;
1314
1125
  }
1315
1126
  export interface RemoveAssistantAIAgentResponse {}
1316
- export declare const FilterField: {
1317
- readonly NAME: "NAME";
1318
- };
1319
- export type FilterField = (typeof FilterField)[keyof typeof FilterField];
1320
- export declare const FilterOperator: {
1321
- readonly EQUALS: "EQUALS";
1322
- };
1323
- export type FilterOperator =
1324
- (typeof FilterOperator)[keyof typeof FilterOperator];
1325
1127
  export interface Filter {
1326
1128
  field: FilterField | undefined;
1327
1129
  operator: FilterOperator | undefined;
@@ -1403,30 +1205,10 @@ export interface RuntimeSessionData {
1403
1205
  key: string | undefined;
1404
1206
  value: RuntimeSessionDataValue | undefined;
1405
1207
  }
1406
- export declare const ConversationStatusReason: {
1407
- readonly FAILED: "FAILED";
1408
- readonly REJECTED: "REJECTED";
1409
- readonly SUCCESS: "SUCCESS";
1410
- };
1411
- export type ConversationStatusReason =
1412
- (typeof ConversationStatusReason)[keyof typeof ConversationStatusReason];
1413
- export declare const ConversationStatus: {
1414
- readonly CLOSED: "CLOSED";
1415
- readonly PROCESSING: "PROCESSING";
1416
- readonly READY: "READY";
1417
- };
1418
- export type ConversationStatus =
1419
- (typeof ConversationStatus)[keyof typeof ConversationStatus];
1420
1208
  export interface ConversationState {
1421
1209
  status: ConversationStatus | undefined;
1422
1210
  reason?: ConversationStatusReason | undefined;
1423
1211
  }
1424
- export declare const Participant: {
1425
- readonly AGENT: "AGENT";
1426
- readonly BOT: "BOT";
1427
- readonly CUSTOMER: "CUSTOMER";
1428
- };
1429
- export type Participant = (typeof Participant)[keyof typeof Participant];
1430
1212
  export interface TextMessage {
1431
1213
  value?: string | undefined;
1432
1214
  }
@@ -1451,10 +1233,6 @@ export interface MessageOutput {
1451
1233
  participant: Participant | undefined;
1452
1234
  timestamp: Date | undefined;
1453
1235
  }
1454
- export declare const MessageType: {
1455
- readonly TEXT: "TEXT";
1456
- };
1457
- export type MessageType = (typeof MessageType)[keyof typeof MessageType];
1458
1236
  export interface GetNextMessageResponse {
1459
1237
  type: MessageType | undefined;
1460
1238
  response: MessageOutput | undefined;
@@ -1520,11 +1298,6 @@ export interface UpdateSessionRequest {
1520
1298
  export interface UpdateSessionResponse {
1521
1299
  session?: SessionData | undefined;
1522
1300
  }
1523
- export declare const SessionDataNamespace: {
1524
- readonly Custom: "Custom";
1525
- };
1526
- export type SessionDataNamespace =
1527
- (typeof SessionDataNamespace)[keyof typeof SessionDataNamespace];
1528
1301
  export interface UpdateSessionDataRequest {
1529
1302
  assistantId: string | undefined;
1530
1303
  sessionId: string | undefined;
@@ -1552,22 +1325,6 @@ export interface BedrockFoundationModelConfigurationForParsing {
1552
1325
  modelArn: string | undefined;
1553
1326
  parsingPrompt?: ParsingPrompt | undefined;
1554
1327
  }
1555
- export declare const ChannelSubtype: {
1556
- readonly EMAIL: "EMAIL";
1557
- readonly PUSH: "PUSH";
1558
- readonly SMS: "SMS";
1559
- readonly WHATSAPP: "WHATSAPP";
1560
- };
1561
- export type ChannelSubtype =
1562
- (typeof ChannelSubtype)[keyof typeof ChannelSubtype];
1563
- export declare const ChunkingStrategy: {
1564
- readonly FIXED_SIZE: "FIXED_SIZE";
1565
- readonly HIERARCHICAL: "HIERARCHICAL";
1566
- readonly NONE: "NONE";
1567
- readonly SEMANTIC: "SEMANTIC";
1568
- };
1569
- export type ChunkingStrategy =
1570
- (typeof ChunkingStrategy)[keyof typeof ChunkingStrategy];
1571
1328
  export interface FixedSizeChunkingConfiguration {
1572
1329
  maxTokens: number | undefined;
1573
1330
  overlapPercentage: number | undefined;
@@ -1631,11 +1388,6 @@ export declare namespace ContentAssociationContents {
1631
1388
  _: (name: string, value: any) => T;
1632
1389
  }
1633
1390
  }
1634
- export declare const ContentAssociationType: {
1635
- readonly AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE";
1636
- };
1637
- export type ContentAssociationType =
1638
- (typeof ContentAssociationType)[keyof typeof ContentAssociationType];
1639
1391
  export interface CreateContentAssociationRequest {
1640
1392
  clientToken?: string | undefined;
1641
1393
  knowledgeBaseId: string | undefined;
@@ -1703,16 +1455,6 @@ export interface CreateContentRequest {
1703
1455
  clientToken?: string | undefined;
1704
1456
  tags?: Record<string, string> | undefined;
1705
1457
  }
1706
- export declare const ContentStatus: {
1707
- readonly ACTIVE: "ACTIVE";
1708
- readonly CREATE_FAILED: "CREATE_FAILED";
1709
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1710
- readonly DELETED: "DELETED";
1711
- readonly DELETE_FAILED: "DELETE_FAILED";
1712
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1713
- readonly UPDATE_FAILED: "UPDATE_FAILED";
1714
- };
1715
- export type ContentStatus = (typeof ContentStatus)[keyof typeof ContentStatus];
1716
1458
  export interface ContentData {
1717
1459
  contentArn: string | undefined;
1718
1460
  contentId: string | undefined;
@@ -1786,31 +1528,12 @@ export interface UpdateContentRequest {
1786
1528
  export interface UpdateContentResponse {
1787
1529
  content?: ContentData | undefined;
1788
1530
  }
1789
- export declare const ContentDisposition: {
1790
- readonly ATTACHMENT: "ATTACHMENT";
1791
- };
1792
- export type ContentDisposition =
1793
- (typeof ContentDisposition)[keyof typeof ContentDisposition];
1794
- export declare const KnowledgeBaseType: {
1795
- readonly CUSTOM: "CUSTOM";
1796
- readonly EXTERNAL: "EXTERNAL";
1797
- readonly MANAGED: "MANAGED";
1798
- readonly MESSAGE_TEMPLATES: "MESSAGE_TEMPLATES";
1799
- readonly QUICK_RESPONSES: "QUICK_RESPONSES";
1800
- };
1801
- export type KnowledgeBaseType =
1802
- (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
1803
1531
  export interface RenderingConfiguration {
1804
1532
  templateUri?: string | undefined;
1805
1533
  }
1806
1534
  export interface WebCrawlerLimits {
1807
1535
  rateLimit?: number | undefined;
1808
1536
  }
1809
- export declare const WebScopeType: {
1810
- readonly HOST_ONLY: "HOST_ONLY";
1811
- readonly SUBDOMAINS: "SUBDOMAINS";
1812
- };
1813
- export type WebScopeType = (typeof WebScopeType)[keyof typeof WebScopeType];
1814
1537
  export interface SeedUrl {
1815
1538
  url?: string | undefined;
1816
1539
  }
@@ -1867,11 +1590,6 @@ export declare namespace SourceConfiguration {
1867
1590
  _: (name: string, value: any) => T;
1868
1591
  }
1869
1592
  }
1870
- export declare const ParsingStrategy: {
1871
- readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
1872
- };
1873
- export type ParsingStrategy =
1874
- (typeof ParsingStrategy)[keyof typeof ParsingStrategy];
1875
1593
  export interface ParsingConfiguration {
1876
1594
  parsingStrategy: ParsingStrategy | undefined;
1877
1595
  bedrockFoundationModelConfiguration?:
@@ -1895,23 +1613,6 @@ export interface CreateKnowledgeBaseRequest {
1895
1613
  description?: string | undefined;
1896
1614
  tags?: Record<string, string> | undefined;
1897
1615
  }
1898
- export declare const SyncStatus: {
1899
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1900
- readonly SYNCING_IN_PROGRESS: "SYNCING_IN_PROGRESS";
1901
- readonly SYNC_FAILED: "SYNC_FAILED";
1902
- readonly SYNC_SUCCESS: "SYNC_SUCCESS";
1903
- };
1904
- export type SyncStatus = (typeof SyncStatus)[keyof typeof SyncStatus];
1905
- export declare const KnowledgeBaseStatus: {
1906
- readonly ACTIVE: "ACTIVE";
1907
- readonly CREATE_FAILED: "CREATE_FAILED";
1908
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1909
- readonly DELETED: "DELETED";
1910
- readonly DELETE_FAILED: "DELETE_FAILED";
1911
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1912
- };
1913
- export type KnowledgeBaseStatus =
1914
- (typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
1915
1616
  export interface KnowledgeBaseData {
1916
1617
  knowledgeBaseId: string | undefined;
1917
1618
  knowledgeBaseArn: string | undefined;
@@ -1963,13 +1664,6 @@ export interface EmailMessageTemplateContent {
1963
1664
  body?: EmailMessageTemplateContentBody | undefined;
1964
1665
  headers?: EmailHeader[] | undefined;
1965
1666
  }
1966
- export declare const PushMessageAction: {
1967
- readonly DEEP_LINK: "DEEP_LINK";
1968
- readonly OPEN_APP: "OPEN_APP";
1969
- readonly URL: "URL";
1970
- };
1971
- export type PushMessageAction =
1972
- (typeof PushMessageAction)[keyof typeof PushMessageAction];
1973
1667
  export interface PushADMMessageTemplateContent {
1974
1668
  title?: string | undefined;
1975
1669
  body?: MessageTemplateBodyContentProvider | undefined;
@@ -2190,18 +1884,359 @@ export interface CreateMessageTemplateRequest {
2190
1884
  clientToken?: string | undefined;
2191
1885
  tags?: Record<string, string> | undefined;
2192
1886
  }
2193
- export declare const MessageTemplateAttributeType: {
2194
- readonly AGENT: "AGENT";
2195
- readonly CUSTOM: "CUSTOM";
2196
- readonly CUSTOMER_PROFILE: "CUSTOMER_PROFILE";
2197
- readonly SYSTEM: "SYSTEM";
2198
- };
2199
- export type MessageTemplateAttributeType =
2200
- (typeof MessageTemplateAttributeType)[keyof typeof MessageTemplateAttributeType];
2201
- export declare const WhatsAppSourceConfigurationStatus: {
2202
- readonly INVALID: "INVALID";
2203
- readonly REJECTED: "REJECTED";
2204
- readonly VALID: "VALID";
2205
- };
2206
- export type WhatsAppSourceConfigurationStatus =
2207
- (typeof WhatsAppSourceConfigurationStatus)[keyof typeof WhatsAppSourceConfigurationStatus];
1887
+ export interface WhatsAppMessageTemplateSourceConfigurationSummary {
1888
+ businessAccountId: string | undefined;
1889
+ templateId: string | undefined;
1890
+ name?: string | undefined;
1891
+ language?: string | undefined;
1892
+ components?: string[] | undefined;
1893
+ status?: WhatsAppSourceConfigurationStatus | undefined;
1894
+ statusReason?: string | undefined;
1895
+ }
1896
+ export type MessageTemplateSourceConfigurationSummary =
1897
+ | MessageTemplateSourceConfigurationSummary.WhatsAppMember
1898
+ | MessageTemplateSourceConfigurationSummary.$UnknownMember;
1899
+ export declare namespace MessageTemplateSourceConfigurationSummary {
1900
+ interface WhatsAppMember {
1901
+ whatsApp: WhatsAppMessageTemplateSourceConfigurationSummary;
1902
+ $unknown?: never;
1903
+ }
1904
+ interface $UnknownMember {
1905
+ whatsApp?: never;
1906
+ $unknown: [string, any];
1907
+ }
1908
+ interface Visitor<T> {
1909
+ whatsApp: (value: WhatsAppMessageTemplateSourceConfigurationSummary) => T;
1910
+ _: (name: string, value: any) => T;
1911
+ }
1912
+ }
1913
+ export interface MessageTemplateData {
1914
+ messageTemplateArn: string | undefined;
1915
+ messageTemplateId: string | undefined;
1916
+ knowledgeBaseArn: string | undefined;
1917
+ knowledgeBaseId: string | undefined;
1918
+ name: string | undefined;
1919
+ channel?: string | undefined;
1920
+ channelSubtype: ChannelSubtype | undefined;
1921
+ createdTime: Date | undefined;
1922
+ lastModifiedTime: Date | undefined;
1923
+ lastModifiedBy: string | undefined;
1924
+ content?: MessageTemplateContentProvider | undefined;
1925
+ description?: string | undefined;
1926
+ language?: string | undefined;
1927
+ sourceConfigurationSummary?:
1928
+ | MessageTemplateSourceConfigurationSummary
1929
+ | undefined;
1930
+ groupingConfiguration?: GroupingConfiguration | undefined;
1931
+ defaultAttributes?: MessageTemplateAttributes | undefined;
1932
+ attributeTypes?: MessageTemplateAttributeType[] | undefined;
1933
+ messageTemplateContentSha256: string | undefined;
1934
+ tags?: Record<string, string> | undefined;
1935
+ }
1936
+ export interface CreateMessageTemplateResponse {
1937
+ messageTemplate?: MessageTemplateData | undefined;
1938
+ }
1939
+ export interface CreateMessageTemplateAttachmentRequest {
1940
+ knowledgeBaseId: string | undefined;
1941
+ messageTemplateId: string | undefined;
1942
+ contentDisposition: ContentDisposition | undefined;
1943
+ name: string | undefined;
1944
+ body: string | undefined;
1945
+ clientToken?: string | undefined;
1946
+ }
1947
+ export interface MessageTemplateAttachment {
1948
+ contentDisposition: ContentDisposition | undefined;
1949
+ name: string | undefined;
1950
+ uploadedTime: Date | undefined;
1951
+ url: string | undefined;
1952
+ urlExpiry: Date | undefined;
1953
+ attachmentId: string | undefined;
1954
+ }
1955
+ export interface CreateMessageTemplateAttachmentResponse {
1956
+ attachment?: MessageTemplateAttachment | undefined;
1957
+ }
1958
+ export interface CreateMessageTemplateVersionRequest {
1959
+ knowledgeBaseId: string | undefined;
1960
+ messageTemplateId: string | undefined;
1961
+ messageTemplateContentSha256?: string | undefined;
1962
+ }
1963
+ export interface ExtendedMessageTemplateData {
1964
+ messageTemplateArn: string | undefined;
1965
+ messageTemplateId: string | undefined;
1966
+ knowledgeBaseArn: string | undefined;
1967
+ knowledgeBaseId: string | undefined;
1968
+ name: string | undefined;
1969
+ channel?: string | undefined;
1970
+ channelSubtype: ChannelSubtype | undefined;
1971
+ createdTime: Date | undefined;
1972
+ lastModifiedTime: Date | undefined;
1973
+ lastModifiedBy: string | undefined;
1974
+ content?: MessageTemplateContentProvider | undefined;
1975
+ description?: string | undefined;
1976
+ language?: string | undefined;
1977
+ sourceConfigurationSummary?:
1978
+ | MessageTemplateSourceConfigurationSummary
1979
+ | undefined;
1980
+ groupingConfiguration?: GroupingConfiguration | undefined;
1981
+ defaultAttributes?: MessageTemplateAttributes | undefined;
1982
+ attributeTypes?: MessageTemplateAttributeType[] | undefined;
1983
+ attachments?: MessageTemplateAttachment[] | undefined;
1984
+ isActive?: boolean | undefined;
1985
+ versionNumber?: number | undefined;
1986
+ messageTemplateContentSha256: string | undefined;
1987
+ tags?: Record<string, string> | undefined;
1988
+ }
1989
+ export interface CreateMessageTemplateVersionResponse {
1990
+ messageTemplate?: ExtendedMessageTemplateData | undefined;
1991
+ }
1992
+ export type QuickResponseDataProvider =
1993
+ | QuickResponseDataProvider.ContentMember
1994
+ | QuickResponseDataProvider.$UnknownMember;
1995
+ export declare namespace QuickResponseDataProvider {
1996
+ interface ContentMember {
1997
+ content: string;
1998
+ $unknown?: never;
1999
+ }
2000
+ interface $UnknownMember {
2001
+ content?: never;
2002
+ $unknown: [string, any];
2003
+ }
2004
+ interface Visitor<T> {
2005
+ content: (value: string) => T;
2006
+ _: (name: string, value: any) => T;
2007
+ }
2008
+ }
2009
+ export interface CreateQuickResponseRequest {
2010
+ knowledgeBaseId: string | undefined;
2011
+ name: string | undefined;
2012
+ content: QuickResponseDataProvider | undefined;
2013
+ contentType?: string | undefined;
2014
+ groupingConfiguration?: GroupingConfiguration | undefined;
2015
+ description?: string | undefined;
2016
+ shortcutKey?: string | undefined;
2017
+ isActive?: boolean | undefined;
2018
+ channels?: string[] | undefined;
2019
+ language?: string | undefined;
2020
+ clientToken?: string | undefined;
2021
+ tags?: Record<string, string> | undefined;
2022
+ }
2023
+ export type QuickResponseContentProvider =
2024
+ | QuickResponseContentProvider.ContentMember
2025
+ | QuickResponseContentProvider.$UnknownMember;
2026
+ export declare namespace QuickResponseContentProvider {
2027
+ interface ContentMember {
2028
+ content: string;
2029
+ $unknown?: never;
2030
+ }
2031
+ interface $UnknownMember {
2032
+ content?: never;
2033
+ $unknown: [string, any];
2034
+ }
2035
+ interface Visitor<T> {
2036
+ content: (value: string) => T;
2037
+ _: (name: string, value: any) => T;
2038
+ }
2039
+ }
2040
+ export interface QuickResponseContents {
2041
+ plainText?: QuickResponseContentProvider | undefined;
2042
+ markdown?: QuickResponseContentProvider | undefined;
2043
+ }
2044
+ export interface QuickResponseData {
2045
+ quickResponseArn: string | undefined;
2046
+ quickResponseId: string | undefined;
2047
+ knowledgeBaseArn: string | undefined;
2048
+ knowledgeBaseId: string | undefined;
2049
+ name: string | undefined;
2050
+ contentType: string | undefined;
2051
+ status: QuickResponseStatus | undefined;
2052
+ createdTime: Date | undefined;
2053
+ lastModifiedTime: Date | undefined;
2054
+ contents?: QuickResponseContents | undefined;
2055
+ description?: string | undefined;
2056
+ groupingConfiguration?: GroupingConfiguration | undefined;
2057
+ shortcutKey?: string | undefined;
2058
+ lastModifiedBy?: string | undefined;
2059
+ isActive?: boolean | undefined;
2060
+ channels?: string[] | undefined;
2061
+ language?: string | undefined;
2062
+ tags?: Record<string, string> | undefined;
2063
+ }
2064
+ export interface CreateQuickResponseResponse {
2065
+ quickResponse?: QuickResponseData | undefined;
2066
+ }
2067
+ export interface DeactivateMessageTemplateRequest {
2068
+ knowledgeBaseId: string | undefined;
2069
+ messageTemplateId: string | undefined;
2070
+ versionNumber: number | undefined;
2071
+ }
2072
+ export interface DeactivateMessageTemplateResponse {
2073
+ messageTemplateArn: string | undefined;
2074
+ messageTemplateId: string | undefined;
2075
+ versionNumber: number | undefined;
2076
+ }
2077
+ export interface DeleteImportJobRequest {
2078
+ knowledgeBaseId: string | undefined;
2079
+ importJobId: string | undefined;
2080
+ }
2081
+ export interface DeleteImportJobResponse {}
2082
+ export interface DeleteKnowledgeBaseRequest {
2083
+ knowledgeBaseId: string | undefined;
2084
+ }
2085
+ export interface DeleteKnowledgeBaseResponse {}
2086
+ export interface DeleteMessageTemplateRequest {
2087
+ knowledgeBaseId: string | undefined;
2088
+ messageTemplateId: string | undefined;
2089
+ }
2090
+ export interface DeleteMessageTemplateResponse {}
2091
+ export interface DeleteMessageTemplateAttachmentRequest {
2092
+ knowledgeBaseId: string | undefined;
2093
+ messageTemplateId: string | undefined;
2094
+ attachmentId: string | undefined;
2095
+ }
2096
+ export interface DeleteMessageTemplateAttachmentResponse {}
2097
+ export interface DeleteQuickResponseRequest {
2098
+ knowledgeBaseId: string | undefined;
2099
+ quickResponseId: string | undefined;
2100
+ }
2101
+ export interface DeleteQuickResponseResponse {}
2102
+ export interface ExternalSourceConfiguration {
2103
+ source: ExternalSource | undefined;
2104
+ configuration: Configuration | undefined;
2105
+ }
2106
+ export interface GetImportJobRequest {
2107
+ importJobId: string | undefined;
2108
+ knowledgeBaseId: string | undefined;
2109
+ }
2110
+ export interface ImportJobData {
2111
+ importJobId: string | undefined;
2112
+ knowledgeBaseId: string | undefined;
2113
+ uploadId: string | undefined;
2114
+ knowledgeBaseArn: string | undefined;
2115
+ importJobType: ImportJobType | undefined;
2116
+ status: ImportJobStatus | undefined;
2117
+ url: string | undefined;
2118
+ failedRecordReport?: string | undefined;
2119
+ urlExpiry: Date | undefined;
2120
+ createdTime: Date | undefined;
2121
+ lastModifiedTime: Date | undefined;
2122
+ metadata?: Record<string, string> | undefined;
2123
+ externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
2124
+ }
2125
+ export interface GetImportJobResponse {
2126
+ importJob?: ImportJobData | undefined;
2127
+ }
2128
+ export interface GetKnowledgeBaseRequest {
2129
+ knowledgeBaseId: string | undefined;
2130
+ }
2131
+ export interface GetKnowledgeBaseResponse {
2132
+ knowledgeBase?: KnowledgeBaseData | undefined;
2133
+ }
2134
+ export interface GetMessageTemplateRequest {
2135
+ messageTemplateId: string | undefined;
2136
+ knowledgeBaseId: string | undefined;
2137
+ }
2138
+ export interface GetMessageTemplateResponse {
2139
+ messageTemplate?: ExtendedMessageTemplateData | undefined;
2140
+ }
2141
+ export interface GetQuickResponseRequest {
2142
+ quickResponseId: string | undefined;
2143
+ knowledgeBaseId: string | undefined;
2144
+ }
2145
+ export interface GetQuickResponseResponse {
2146
+ quickResponse?: QuickResponseData | undefined;
2147
+ }
2148
+ export interface ImportJobSummary {
2149
+ importJobId: string | undefined;
2150
+ knowledgeBaseId: string | undefined;
2151
+ uploadId: string | undefined;
2152
+ knowledgeBaseArn: string | undefined;
2153
+ importJobType: ImportJobType | undefined;
2154
+ status: ImportJobStatus | undefined;
2155
+ createdTime: Date | undefined;
2156
+ lastModifiedTime: Date | undefined;
2157
+ metadata?: Record<string, string> | undefined;
2158
+ externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
2159
+ }
2160
+ export interface ListImportJobsRequest {
2161
+ nextToken?: string | undefined;
2162
+ maxResults?: number | undefined;
2163
+ knowledgeBaseId: string | undefined;
2164
+ }
2165
+ export interface ListImportJobsResponse {
2166
+ importJobSummaries: ImportJobSummary[] | undefined;
2167
+ nextToken?: string | undefined;
2168
+ }
2169
+ export interface ListKnowledgeBasesRequest {
2170
+ nextToken?: string | undefined;
2171
+ maxResults?: number | undefined;
2172
+ }
2173
+ export interface KnowledgeBaseSummary {
2174
+ knowledgeBaseId: string | undefined;
2175
+ knowledgeBaseArn: string | undefined;
2176
+ name: string | undefined;
2177
+ knowledgeBaseType: KnowledgeBaseType | undefined;
2178
+ status: KnowledgeBaseStatus | undefined;
2179
+ sourceConfiguration?: SourceConfiguration | undefined;
2180
+ vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
2181
+ renderingConfiguration?: RenderingConfiguration | undefined;
2182
+ serverSideEncryptionConfiguration?:
2183
+ | ServerSideEncryptionConfiguration
2184
+ | undefined;
2185
+ description?: string | undefined;
2186
+ tags?: Record<string, string> | undefined;
2187
+ }
2188
+ export interface ListKnowledgeBasesResponse {
2189
+ knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
2190
+ nextToken?: string | undefined;
2191
+ }
2192
+ export interface ListMessageTemplatesRequest {
2193
+ nextToken?: string | undefined;
2194
+ maxResults?: number | undefined;
2195
+ knowledgeBaseId: string | undefined;
2196
+ }
2197
+ export interface MessageTemplateSummary {
2198
+ messageTemplateArn: string | undefined;
2199
+ messageTemplateId: string | undefined;
2200
+ knowledgeBaseArn: string | undefined;
2201
+ knowledgeBaseId: string | undefined;
2202
+ name: string | undefined;
2203
+ channel?: string | undefined;
2204
+ channelSubtype: ChannelSubtype | undefined;
2205
+ createdTime: Date | undefined;
2206
+ lastModifiedTime: Date | undefined;
2207
+ lastModifiedBy: string | undefined;
2208
+ sourceConfiguration?: MessageTemplateSourceConfiguration | undefined;
2209
+ activeVersionNumber?: number | undefined;
2210
+ description?: string | undefined;
2211
+ tags?: Record<string, string> | undefined;
2212
+ }
2213
+ export interface ListMessageTemplatesResponse {
2214
+ messageTemplateSummaries: MessageTemplateSummary[] | undefined;
2215
+ nextToken?: string | undefined;
2216
+ }
2217
+ export interface ListMessageTemplateVersionsRequest {
2218
+ knowledgeBaseId: string | undefined;
2219
+ messageTemplateId: string | undefined;
2220
+ nextToken?: string | undefined;
2221
+ maxResults?: number | undefined;
2222
+ }
2223
+ export interface MessageTemplateVersionSummary {
2224
+ messageTemplateArn: string | undefined;
2225
+ messageTemplateId: string | undefined;
2226
+ knowledgeBaseArn: string | undefined;
2227
+ knowledgeBaseId: string | undefined;
2228
+ name: string | undefined;
2229
+ channel?: string | undefined;
2230
+ channelSubtype: ChannelSubtype | undefined;
2231
+ isActive: boolean | undefined;
2232
+ versionNumber: number | undefined;
2233
+ }
2234
+ export interface ListMessageTemplateVersionsResponse {
2235
+ messageTemplateVersionSummaries: MessageTemplateVersionSummary[] | undefined;
2236
+ nextToken?: string | undefined;
2237
+ }
2238
+ export interface RenderMessageTemplateRequest {
2239
+ knowledgeBaseId: string | undefined;
2240
+ messageTemplateId: string | undefined;
2241
+ attributes: MessageTemplateAttributes | undefined;
2242
+ }