@aws-sdk/client-qconnect 3.1135.0 → 3.1136.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/README.md +1 -1
- package/dist-cjs/index.js +88 -18
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +70 -17
- package/dist-types/QConnect.d.ts +1 -1
- package/dist-types/QConnectClient.d.ts +1 -1
- package/dist-types/commands/CreateAIAgentCommand.d.ts +74 -2
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +37 -1
- package/dist-types/commands/CreateContentAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +2 -1
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -2
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContentAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetAIAgentCommand.d.ts +37 -1
- package/dist-types/commands/GetContentAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetNextMessageCommand.d.ts +1 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +37 -1
- package/dist-types/commands/ListAIAgentsCommand.d.ts +37 -1
- package/dist-types/commands/ListContentAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +1 -0
- package/dist-types/commands/ListSpansCommand.d.ts +3 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +1 -1
- package/dist-types/commands/SendMessageCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +74 -2
- package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +187 -267
- package/dist-types/models/models_1.d.ts +279 -7
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/commands/CreateMessageTemplateVersionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +81 -76
- package/dist-types/ts3.4/models/models_1.d.ts +81 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -5,9 +5,11 @@ import {
|
|
|
5
5
|
ExternalSource,
|
|
6
6
|
ImportJobStatus,
|
|
7
7
|
ImportJobType,
|
|
8
|
+
InteractionMode,
|
|
8
9
|
KnowledgeBaseSearchType,
|
|
9
10
|
KnowledgeBaseStatus,
|
|
10
11
|
KnowledgeBaseType,
|
|
12
|
+
MessageTemplateAttributeType,
|
|
11
13
|
MessageTemplateFilterOperator,
|
|
12
14
|
MessageTemplateQueryOperator,
|
|
13
15
|
Order,
|
|
@@ -19,6 +21,7 @@ import {
|
|
|
19
21
|
QuickResponseStatus,
|
|
20
22
|
RecommendationType,
|
|
21
23
|
RelevanceLevel,
|
|
24
|
+
ReturnReason,
|
|
22
25
|
SpanStatus,
|
|
23
26
|
SpanType,
|
|
24
27
|
} from "./enums";
|
|
@@ -31,7 +34,6 @@ import {
|
|
|
31
34
|
Document,
|
|
32
35
|
EmailOverviewChunkDataDetails,
|
|
33
36
|
EmailResponseChunkDataDetails,
|
|
34
|
-
ExtendedMessageTemplateData,
|
|
35
37
|
FilterAttribute,
|
|
36
38
|
GroupingConfiguration,
|
|
37
39
|
IntentDetectedDataDetails,
|
|
@@ -45,8 +47,6 @@ import {
|
|
|
45
47
|
MessageTemplateSourceConfigurationSummary,
|
|
46
48
|
NotesChunkDataDetails,
|
|
47
49
|
NotesDataDetails,
|
|
48
|
-
QuickResponseContentProvider,
|
|
49
|
-
QuickResponseDataProvider,
|
|
50
50
|
RankingData,
|
|
51
51
|
RecommendationTrigger,
|
|
52
52
|
RenderingConfiguration,
|
|
@@ -61,6 +61,81 @@ import {
|
|
|
61
61
|
SuggestedMessageDataDetails,
|
|
62
62
|
VectorIngestionConfiguration,
|
|
63
63
|
} from "./models_0";
|
|
64
|
+
export interface ExtendedMessageTemplateData {
|
|
65
|
+
messageTemplateArn: string | undefined;
|
|
66
|
+
messageTemplateId: string | undefined;
|
|
67
|
+
knowledgeBaseArn: string | undefined;
|
|
68
|
+
knowledgeBaseId: string | undefined;
|
|
69
|
+
name: string | undefined;
|
|
70
|
+
channel?: string | undefined;
|
|
71
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
72
|
+
createdTime: Date | undefined;
|
|
73
|
+
lastModifiedTime: Date | undefined;
|
|
74
|
+
lastModifiedBy: string | undefined;
|
|
75
|
+
content?: MessageTemplateContentProvider | undefined;
|
|
76
|
+
description?: string | undefined;
|
|
77
|
+
language?: string | undefined;
|
|
78
|
+
sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined;
|
|
79
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
80
|
+
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
81
|
+
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
82
|
+
attachments?: MessageTemplateAttachment[] | undefined;
|
|
83
|
+
isActive?: boolean | undefined;
|
|
84
|
+
versionNumber?: number | undefined;
|
|
85
|
+
messageTemplateContentSha256: string | undefined;
|
|
86
|
+
tags?: Record<string, string> | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface CreateMessageTemplateVersionResponse {
|
|
89
|
+
messageTemplate?: ExtendedMessageTemplateData | undefined;
|
|
90
|
+
}
|
|
91
|
+
export type QuickResponseDataProvider =
|
|
92
|
+
| QuickResponseDataProvider.ContentMember
|
|
93
|
+
| QuickResponseDataProvider.$UnknownMember;
|
|
94
|
+
export declare namespace QuickResponseDataProvider {
|
|
95
|
+
interface ContentMember {
|
|
96
|
+
content: string;
|
|
97
|
+
$unknown?: never;
|
|
98
|
+
}
|
|
99
|
+
interface $UnknownMember {
|
|
100
|
+
content?: never;
|
|
101
|
+
$unknown: [string, any];
|
|
102
|
+
}
|
|
103
|
+
interface Visitor<T> {
|
|
104
|
+
content: (value: string) => T;
|
|
105
|
+
_: (name: string, value: any) => T;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export interface CreateQuickResponseRequest {
|
|
109
|
+
knowledgeBaseId: string | undefined;
|
|
110
|
+
name: string | undefined;
|
|
111
|
+
content: QuickResponseDataProvider | undefined;
|
|
112
|
+
contentType?: string | undefined;
|
|
113
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
114
|
+
description?: string | undefined;
|
|
115
|
+
shortcutKey?: string | undefined;
|
|
116
|
+
isActive?: boolean | undefined;
|
|
117
|
+
channels?: string[] | undefined;
|
|
118
|
+
language?: string | undefined;
|
|
119
|
+
clientToken?: string | undefined;
|
|
120
|
+
tags?: Record<string, string> | undefined;
|
|
121
|
+
}
|
|
122
|
+
export type QuickResponseContentProvider =
|
|
123
|
+
| QuickResponseContentProvider.ContentMember
|
|
124
|
+
| QuickResponseContentProvider.$UnknownMember;
|
|
125
|
+
export declare namespace QuickResponseContentProvider {
|
|
126
|
+
interface ContentMember {
|
|
127
|
+
content: string;
|
|
128
|
+
$unknown?: never;
|
|
129
|
+
}
|
|
130
|
+
interface $UnknownMember {
|
|
131
|
+
content?: never;
|
|
132
|
+
$unknown: [string, any];
|
|
133
|
+
}
|
|
134
|
+
interface Visitor<T> {
|
|
135
|
+
content: (value: string) => T;
|
|
136
|
+
_: (name: string, value: any) => T;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
64
139
|
export interface QuickResponseContents {
|
|
65
140
|
plainText?: QuickResponseContentProvider | undefined;
|
|
66
141
|
markdown?: QuickResponseContentProvider | undefined;
|
|
@@ -1103,6 +1178,9 @@ export interface SpanAttributes {
|
|
|
1103
1178
|
aiAgentVersion?: number | undefined;
|
|
1104
1179
|
aiAgentInvoker?: string | undefined;
|
|
1105
1180
|
aiAgentOrchestratorUseCase?: string | undefined;
|
|
1181
|
+
interactionMode?: InteractionMode | undefined;
|
|
1182
|
+
targetAgentId?: string | undefined;
|
|
1183
|
+
returnReason?: ReturnReason | undefined;
|
|
1106
1184
|
requestModel?: string | undefined;
|
|
1107
1185
|
requestMaxTokens?: number | undefined;
|
|
1108
1186
|
temperature?: number | undefined;
|
|
@@ -102,6 +102,7 @@ export declare var CustomerProfileAttributes$: StaticStructureSchema;
|
|
|
102
102
|
export declare var DataSummary$: StaticStructureSchema;
|
|
103
103
|
export declare var DeactivateMessageTemplateRequest$: StaticStructureSchema;
|
|
104
104
|
export declare var DeactivateMessageTemplateResponse$: StaticStructureSchema;
|
|
105
|
+
export declare var DelegateAgentConfiguration$: StaticStructureSchema;
|
|
105
106
|
export declare var DeleteAIAgentRequest$: StaticStructureSchema;
|
|
106
107
|
export declare var DeleteAIAgentResponse$: StaticStructureSchema;
|
|
107
108
|
export declare var DeleteAIAgentVersionRequest$: StaticStructureSchema;
|
|
@@ -192,6 +193,7 @@ export declare var GuardrailPolicyResult$: StaticStructureSchema;
|
|
|
192
193
|
export declare var GuardrailRegexConfig$: StaticStructureSchema;
|
|
193
194
|
export declare var GuardrailTopicConfig$: StaticStructureSchema;
|
|
194
195
|
export declare var GuardrailWordConfig$: StaticStructureSchema;
|
|
196
|
+
export declare var HandoffAgentConfiguration$: StaticStructureSchema;
|
|
195
197
|
export declare var HierarchicalChunkingConfiguration$: StaticStructureSchema;
|
|
196
198
|
export declare var HierarchicalChunkingLevelConfiguration$: StaticStructureSchema;
|
|
197
199
|
export declare var Highlight$: StaticStructureSchema;
|
|
@@ -256,6 +258,7 @@ export declare var MessageTemplateSearchResultData$: StaticStructureSchema;
|
|
|
256
258
|
export declare var MessageTemplateSummary$: StaticStructureSchema;
|
|
257
259
|
export declare var MessageTemplateVersionSummary$: StaticStructureSchema;
|
|
258
260
|
export declare var ModelSummary$: StaticStructureSchema;
|
|
261
|
+
export declare var MultiAgentInstruction$: StaticStructureSchema;
|
|
259
262
|
export declare var NotesChunkDataDetails$: StaticStructureSchema;
|
|
260
263
|
export declare var NotesDataDetails$: StaticStructureSchema;
|
|
261
264
|
export declare var NoteTakingAIAgentConfiguration$: StaticStructureSchema;
|
|
@@ -386,6 +389,7 @@ export declare var WebCrawlerLimits$: StaticStructureSchema;
|
|
|
386
389
|
export declare var WhatsAppMessageTemplateContent$: StaticStructureSchema;
|
|
387
390
|
export declare var WhatsAppMessageTemplateSourceConfiguration$: StaticStructureSchema;
|
|
388
391
|
export declare var WhatsAppMessageTemplateSourceConfigurationSummary$: StaticStructureSchema;
|
|
392
|
+
export declare var AgentTarget$: StaticUnionSchema;
|
|
389
393
|
export declare var AIAgentConfiguration$: StaticUnionSchema;
|
|
390
394
|
export declare var AIPromptTemplateConfiguration$: StaticUnionSchema;
|
|
391
395
|
export declare var AssistantAssociationInputData$: StaticUnionSchema;
|
|
@@ -403,6 +407,7 @@ export declare var MessageTemplateBodyContentProvider$: StaticUnionSchema;
|
|
|
403
407
|
export declare var MessageTemplateContentProvider$: StaticUnionSchema;
|
|
404
408
|
export declare var MessageTemplateSourceConfiguration$: StaticUnionSchema;
|
|
405
409
|
export declare var MessageTemplateSourceConfigurationSummary$: StaticUnionSchema;
|
|
410
|
+
export declare var MultiAgentConfiguration$: StaticUnionSchema;
|
|
406
411
|
export declare var OrCondition$: StaticUnionSchema;
|
|
407
412
|
export declare var QueryCondition$: StaticUnionSchema;
|
|
408
413
|
export declare var QueryInputData$: StaticUnionSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qconnect",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1136.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Qconnect Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-qconnect",
|
|
6
6
|
"license": "Apache-2.0",
|