@aws-sdk/client-qconnect 3.835.0 → 3.840.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 -34
- package/dist-cjs/index.js +50 -14
- package/dist-es/models/models_0.js +12 -13
- package/dist-es/models/models_1.js +14 -1
- package/dist-es/protocols/Aws_restJson1.js +17 -1
- package/dist-types/QConnect.d.ts +1 -34
- package/dist-types/QConnectClient.d.ts +1 -34
- package/dist-types/commands/ActivateMessageTemplateCommand.d.ts +2 -8
- package/dist-types/commands/CreateAIAgentCommand.d.ts +5 -6
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +5 -6
- package/dist-types/commands/CreateAIGuardrailCommand.d.ts +5 -6
- package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +5 -6
- package/dist-types/commands/CreateAIPromptCommand.d.ts +5 -6
- package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +5 -6
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +3 -9
- package/dist-types/commands/CreateAssistantCommand.d.ts +5 -6
- package/dist-types/commands/CreateContentAssociationCommand.d.ts +6 -25
- package/dist-types/commands/CreateContentCommand.d.ts +5 -6
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +6 -30
- package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +6 -11
- package/dist-types/commands/CreateMessageTemplateCommand.d.ts +3 -10
- package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +3 -16
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +5 -6
- package/dist-types/commands/CreateSessionCommand.d.ts +5 -7
- package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +2 -7
- package/dist-types/commands/DeleteAIAgentCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAIAgentVersionCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAIGuardrailCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAIGuardrailVersionCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAIPromptCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAIPromptVersionCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAssistantCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContentAssociationCommand.d.ts +4 -4
- package/dist-types/commands/DeleteContentCommand.d.ts +4 -4
- package/dist-types/commands/DeleteImportJobCommand.d.ts +4 -4
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +5 -13
- package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +2 -7
- package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +2 -9
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +3 -0
- package/dist-types/commands/GetAIAgentCommand.d.ts +3 -0
- package/dist-types/commands/GetAIGuardrailCommand.d.ts +3 -0
- package/dist-types/commands/GetAIPromptCommand.d.ts +3 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +3 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +3 -0
- package/dist-types/commands/GetContentAssociationCommand.d.ts +4 -4
- package/dist-types/commands/GetContentCommand.d.ts +3 -0
- package/dist-types/commands/GetContentSummaryCommand.d.ts +3 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +3 -0
- package/dist-types/commands/GetMessageTemplateCommand.d.ts +4 -6
- package/dist-types/commands/GetQuickResponseCommand.d.ts +3 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +1 -10
- package/dist-types/commands/GetSessionCommand.d.ts +3 -0
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +3 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +3 -0
- package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +3 -0
- package/dist-types/commands/ListAIGuardrailsCommand.d.ts +3 -0
- package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +3 -0
- package/dist-types/commands/ListAIPromptsCommand.d.ts +3 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +3 -0
- package/dist-types/commands/ListContentAssociationsCommand.d.ts +4 -4
- package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -2
- package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +1 -3
- package/dist-types/commands/PutFeedbackCommand.d.ts +1 -2
- package/dist-types/commands/QueryAssistantCommand.d.ts +2 -11
- package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +1 -2
- package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -5
- package/dist-types/commands/SearchContentCommand.d.ts +4 -2
- package/dist-types/commands/SearchMessageTemplatesCommand.d.ts +3 -0
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +4 -3
- package/dist-types/commands/SearchSessionsCommand.d.ts +3 -0
- package/dist-types/commands/SendMessageCommand.d.ts +2 -7
- package/dist-types/commands/StartContentUploadCommand.d.ts +4 -6
- package/dist-types/commands/StartImportJobCommand.d.ts +6 -16
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +4 -4
- package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +4 -4
- package/dist-types/commands/UpdateAIPromptCommand.d.ts +4 -4
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +1 -2
- package/dist-types/commands/UpdateContentCommand.d.ts +4 -2
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -6
- package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +2 -9
- package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +2 -9
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +5 -6
- package/dist-types/commands/UpdateSessionCommand.d.ts +4 -3
- package/dist-types/commands/UpdateSessionDataCommand.d.ts +3 -0
- package/dist-types/index.d.ts +1 -34
- package/dist-types/models/models_0.d.ts +229 -1216
- package/dist-types/models/models_1.d.ts +185 -393
- package/dist-types/ts3.4/models/models_0.d.ts +7 -25
- package/dist-types/ts3.4/models/models_1.d.ts +26 -1
- package/package.json +18 -18
|
@@ -287,6 +287,13 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
287
287
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
288
288
|
);
|
|
289
289
|
}
|
|
290
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
291
|
+
readonly name: "UnauthorizedException";
|
|
292
|
+
readonly $fault: "client";
|
|
293
|
+
constructor(
|
|
294
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
295
|
+
);
|
|
296
|
+
}
|
|
290
297
|
export interface CreateAIAgentVersionRequest {
|
|
291
298
|
assistantId: string | undefined;
|
|
292
299
|
aiAgentId: string | undefined;
|
|
@@ -2144,28 +2151,6 @@ export interface CreateMessageTemplateVersionRequest {
|
|
|
2144
2151
|
messageTemplateId: string | undefined;
|
|
2145
2152
|
messageTemplateContentSha256?: string | undefined;
|
|
2146
2153
|
}
|
|
2147
|
-
export interface ExtendedMessageTemplateData {
|
|
2148
|
-
messageTemplateArn: string | undefined;
|
|
2149
|
-
messageTemplateId: string | undefined;
|
|
2150
|
-
knowledgeBaseArn: string | undefined;
|
|
2151
|
-
knowledgeBaseId: string | undefined;
|
|
2152
|
-
name: string | undefined;
|
|
2153
|
-
channelSubtype: ChannelSubtype | undefined;
|
|
2154
|
-
createdTime: Date | undefined;
|
|
2155
|
-
lastModifiedTime: Date | undefined;
|
|
2156
|
-
lastModifiedBy: string | undefined;
|
|
2157
|
-
content: MessageTemplateContentProvider | undefined;
|
|
2158
|
-
description?: string | undefined;
|
|
2159
|
-
language?: string | undefined;
|
|
2160
|
-
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
2161
|
-
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
2162
|
-
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
2163
|
-
attachments?: MessageTemplateAttachment[] | undefined;
|
|
2164
|
-
isActive?: boolean | undefined;
|
|
2165
|
-
versionNumber?: number | undefined;
|
|
2166
|
-
messageTemplateContentSha256: string | undefined;
|
|
2167
|
-
tags?: Record<string, string> | undefined;
|
|
2168
|
-
}
|
|
2169
2154
|
export declare const AgentAttributesFilterSensitiveLog: (
|
|
2170
2155
|
obj: AgentAttributes
|
|
2171
2156
|
) => any;
|
|
@@ -2406,6 +2391,3 @@ export declare const MessageTemplateAttachmentFilterSensitiveLog: (
|
|
|
2406
2391
|
export declare const CreateMessageTemplateAttachmentResponseFilterSensitiveLog: (
|
|
2407
2392
|
obj: CreateMessageTemplateAttachmentResponse
|
|
2408
2393
|
) => any;
|
|
2409
|
-
export declare const ExtendedMessageTemplateDataFilterSensitiveLog: (
|
|
2410
|
-
obj: ExtendedMessageTemplateData
|
|
2411
|
-
) => any;
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
ContentSummary,
|
|
7
7
|
DataReference,
|
|
8
8
|
Document,
|
|
9
|
-
ExtendedMessageTemplateData,
|
|
10
9
|
GroupingConfiguration,
|
|
11
10
|
IntentDetectedDataDetails,
|
|
12
11
|
KnowledgeBaseData,
|
|
@@ -14,6 +13,7 @@ import {
|
|
|
14
13
|
KnowledgeBaseType,
|
|
15
14
|
MessageTemplateAttachment,
|
|
16
15
|
MessageTemplateAttributes,
|
|
16
|
+
MessageTemplateAttributeType,
|
|
17
17
|
MessageTemplateContentProvider,
|
|
18
18
|
MessageTemplateData,
|
|
19
19
|
QueryResultType,
|
|
@@ -29,6 +29,28 @@ import {
|
|
|
29
29
|
VectorIngestionConfiguration,
|
|
30
30
|
} from "./models_0";
|
|
31
31
|
import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
|
|
32
|
+
export interface ExtendedMessageTemplateData {
|
|
33
|
+
messageTemplateArn: string | undefined;
|
|
34
|
+
messageTemplateId: string | undefined;
|
|
35
|
+
knowledgeBaseArn: string | undefined;
|
|
36
|
+
knowledgeBaseId: string | undefined;
|
|
37
|
+
name: string | undefined;
|
|
38
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
39
|
+
createdTime: Date | undefined;
|
|
40
|
+
lastModifiedTime: Date | undefined;
|
|
41
|
+
lastModifiedBy: string | undefined;
|
|
42
|
+
content: MessageTemplateContentProvider | undefined;
|
|
43
|
+
description?: string | undefined;
|
|
44
|
+
language?: string | undefined;
|
|
45
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
46
|
+
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
47
|
+
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
48
|
+
attachments?: MessageTemplateAttachment[] | undefined;
|
|
49
|
+
isActive?: boolean | undefined;
|
|
50
|
+
versionNumber?: number | undefined;
|
|
51
|
+
messageTemplateContentSha256: string | undefined;
|
|
52
|
+
tags?: Record<string, string> | undefined;
|
|
53
|
+
}
|
|
32
54
|
export interface CreateMessageTemplateVersionResponse {
|
|
33
55
|
messageTemplate?: ExtendedMessageTemplateData | undefined;
|
|
34
56
|
}
|
|
@@ -694,6 +716,9 @@ export interface QueryAssistantResponse {
|
|
|
694
716
|
results: ResultData[] | undefined;
|
|
695
717
|
nextToken?: string | undefined;
|
|
696
718
|
}
|
|
719
|
+
export declare const ExtendedMessageTemplateDataFilterSensitiveLog: (
|
|
720
|
+
obj: ExtendedMessageTemplateData
|
|
721
|
+
) => any;
|
|
697
722
|
export declare const CreateMessageTemplateVersionResponseFilterSensitiveLog: (
|
|
698
723
|
obj: CreateMessageTemplateVersionResponse
|
|
699
724
|
) => any;
|
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.
|
|
4
|
+
"version": "3.840.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,38 +20,38 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.840.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.840.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.840.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30
|
+
"@aws-sdk/types": "3.840.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.840.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.840.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.6.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.13",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.14",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.6",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.5",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.21",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.21",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
57
|
"@smithy/util-retry": "^4.0.6",
|