@aws-sdk/client-qconnect 3.1161.0 → 3.1163.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 +14 -0
- package/dist-cjs/index.js +128 -44
- package/dist-es/QConnect.js +4 -0
- package/dist-es/commands/RegisterAssistantReplicaKeyCommand.js +4 -0
- package/dist-es/commands/RegisterKnowledgeBaseReplicaKeyCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/models/errors.js +2 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +91 -42
- package/dist-types/QConnect.d.ts +14 -0
- package/dist-types/QConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateAIAgentCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIPromptCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +2 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +13 -0
- package/dist-types/commands/CreateContentCommand.d.ts +3 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +12 -0
- package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -2
- package/dist-types/commands/CreateMessageTemplateCommand.d.ts +2 -1
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -0
- package/dist-types/commands/GetAIAgentCommand.d.ts +2 -0
- package/dist-types/commands/GetAIGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/GetAIPromptCommand.d.ts +2 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +2 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +8 -0
- 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 +7 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -0
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIGuardrailsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIPromptsCommand.d.ts +2 -0
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +2 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +7 -0
- package/dist-types/commands/ListContentsCommand.d.ts +3 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +7 -0
- package/dist-types/commands/ListModelsCommand.d.ts +1 -0
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -0
- package/dist-types/commands/RegisterAssistantReplicaKeyCommand.d.ts +132 -0
- package/dist-types/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +181 -0
- package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +3 -0
- package/dist-types/commands/SearchContentCommand.d.ts +3 -0
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAIPromptCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +11 -0
- package/dist-types/commands/UpdateContentCommand.d.ts +3 -0
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +7 -0
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +42 -0
- package/dist-types/models/errors.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +206 -82
- package/dist-types/models/models_1.d.ts +138 -2
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/QConnect.d.ts +34 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/RegisterAssistantReplicaKeyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -20
- package/dist-types/ts3.4/models/models_1.d.ts +34 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +3 -3
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
AIAgentType,
|
|
3
3
|
AIPromptType,
|
|
4
4
|
ChannelSubtype,
|
|
5
|
+
ContentDisposition,
|
|
5
6
|
ExternalSource,
|
|
6
7
|
ImportJobStatus,
|
|
7
8
|
ImportJobType,
|
|
@@ -39,7 +40,6 @@ import {
|
|
|
39
40
|
IntentDetectedDataDetails,
|
|
40
41
|
KnowledgeBaseData,
|
|
41
42
|
KnowledgeSource,
|
|
42
|
-
MessageTemplateAttachment,
|
|
43
43
|
MessageTemplateAttributes,
|
|
44
44
|
MessageTemplateContentProvider,
|
|
45
45
|
MessageTemplateData,
|
|
@@ -51,6 +51,7 @@ import {
|
|
|
51
51
|
RankingData,
|
|
52
52
|
RecommendationTrigger,
|
|
53
53
|
RenderingConfiguration,
|
|
54
|
+
ReplicaKmsKey,
|
|
54
55
|
SearchExpression,
|
|
55
56
|
ServerSideEncryptionConfiguration,
|
|
56
57
|
SourceConfiguration,
|
|
@@ -62,6 +63,25 @@ import {
|
|
|
62
63
|
SuggestedMessageDataDetails,
|
|
63
64
|
VectorIngestionConfiguration,
|
|
64
65
|
} from "./models_0";
|
|
66
|
+
export interface CreateMessageTemplateResponse {
|
|
67
|
+
messageTemplate?: MessageTemplateData | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface CreateMessageTemplateAttachmentRequest {
|
|
70
|
+
knowledgeBaseId: string | undefined;
|
|
71
|
+
messageTemplateId: string | undefined;
|
|
72
|
+
contentDisposition: ContentDisposition | undefined;
|
|
73
|
+
name: string | undefined;
|
|
74
|
+
body: string | undefined;
|
|
75
|
+
clientToken?: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export interface MessageTemplateAttachment {
|
|
78
|
+
contentDisposition: ContentDisposition | undefined;
|
|
79
|
+
name: string | undefined;
|
|
80
|
+
uploadedTime: Date | undefined;
|
|
81
|
+
url: string | undefined;
|
|
82
|
+
urlExpiry: Date | undefined;
|
|
83
|
+
attachmentId: string | undefined;
|
|
84
|
+
}
|
|
65
85
|
export interface CreateMessageTemplateAttachmentResponse {
|
|
66
86
|
attachment?: MessageTemplateAttachment | undefined;
|
|
67
87
|
}
|
|
@@ -159,6 +179,7 @@ export interface QuickResponseData {
|
|
|
159
179
|
status: QuickResponseStatus | undefined;
|
|
160
180
|
createdTime: Date | undefined;
|
|
161
181
|
lastModifiedTime: Date | undefined;
|
|
182
|
+
lastModifiedRegion?: string | undefined;
|
|
162
183
|
contents?: QuickResponseContents | undefined;
|
|
163
184
|
description?: string | undefined;
|
|
164
185
|
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
@@ -290,6 +311,8 @@ export interface KnowledgeBaseSummary {
|
|
|
290
311
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined;
|
|
291
312
|
description?: string | undefined;
|
|
292
313
|
tags?: Record<string, string> | undefined;
|
|
314
|
+
lastModifiedTime?: Date | undefined;
|
|
315
|
+
lastModifiedRegion?: string | undefined;
|
|
293
316
|
}
|
|
294
317
|
export interface ListKnowledgeBasesResponse {
|
|
295
318
|
knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
|
|
@@ -388,6 +411,7 @@ export interface QuickResponseSummary {
|
|
|
388
411
|
status: QuickResponseStatus | undefined;
|
|
389
412
|
createdTime: Date | undefined;
|
|
390
413
|
lastModifiedTime: Date | undefined;
|
|
414
|
+
lastModifiedRegion?: string | undefined;
|
|
391
415
|
description?: string | undefined;
|
|
392
416
|
lastModifiedBy?: string | undefined;
|
|
393
417
|
isActive?: boolean | undefined;
|
|
@@ -417,6 +441,14 @@ export interface UpdateQuickResponseRequest {
|
|
|
417
441
|
export interface UpdateQuickResponseResponse {
|
|
418
442
|
quickResponse?: QuickResponseData | undefined;
|
|
419
443
|
}
|
|
444
|
+
export interface RegisterKnowledgeBaseReplicaKeyRequest {
|
|
445
|
+
knowledgeBaseId: string | undefined;
|
|
446
|
+
replicaKmsKey: ReplicaKmsKey | undefined;
|
|
447
|
+
clientToken?: string | undefined;
|
|
448
|
+
}
|
|
449
|
+
export interface RegisterKnowledgeBaseReplicaKeyResponse {
|
|
450
|
+
knowledgeBase: KnowledgeBaseData | undefined;
|
|
451
|
+
}
|
|
420
452
|
export interface RemoveKnowledgeBaseTemplateUriRequest {
|
|
421
453
|
knowledgeBaseId: string | undefined;
|
|
422
454
|
}
|
|
@@ -522,6 +554,7 @@ export interface QuickResponseSearchResultData {
|
|
|
522
554
|
contents: QuickResponseContents | undefined;
|
|
523
555
|
createdTime: Date | undefined;
|
|
524
556
|
lastModifiedTime: Date | undefined;
|
|
557
|
+
lastModifiedRegion?: string | undefined;
|
|
525
558
|
isActive: boolean | undefined;
|
|
526
559
|
description?: string | undefined;
|
|
527
560
|
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: QConnectClientConfig) => {
|
|
|
78
78
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
79
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
80
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
81
82
|
defaultUserAgentProvider: (
|
|
82
83
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
84
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -293,6 +293,10 @@ export declare var QuickResponseSummary$: StaticStructureSchema;
|
|
|
293
293
|
export declare var RankingData$: StaticStructureSchema;
|
|
294
294
|
export declare var RecommendationData$: StaticStructureSchema;
|
|
295
295
|
export declare var RecommendationTrigger$: StaticStructureSchema;
|
|
296
|
+
export declare var RegisterAssistantReplicaKeyRequest$: StaticStructureSchema;
|
|
297
|
+
export declare var RegisterAssistantReplicaKeyResponse$: StaticStructureSchema;
|
|
298
|
+
export declare var RegisterKnowledgeBaseReplicaKeyRequest$: StaticStructureSchema;
|
|
299
|
+
export declare var RegisterKnowledgeBaseReplicaKeyResponse$: StaticStructureSchema;
|
|
296
300
|
export declare var RemoveAssistantAIAgentRequest$: StaticStructureSchema;
|
|
297
301
|
export declare var RemoveAssistantAIAgentResponse$: StaticStructureSchema;
|
|
298
302
|
export declare var RemoveKnowledgeBaseTemplateUriRequest$: StaticStructureSchema;
|
|
@@ -300,6 +304,7 @@ export declare var RemoveKnowledgeBaseTemplateUriResponse$: StaticStructureSchem
|
|
|
300
304
|
export declare var RenderingConfiguration$: StaticStructureSchema;
|
|
301
305
|
export declare var RenderMessageTemplateRequest$: StaticStructureSchema;
|
|
302
306
|
export declare var RenderMessageTemplateResponse$: StaticStructureSchema;
|
|
307
|
+
export declare var ReplicaKmsKey$: StaticStructureSchema;
|
|
303
308
|
export declare var ResultData$: StaticStructureSchema;
|
|
304
309
|
export declare var RetrievalConfiguration$: StaticStructureSchema;
|
|
305
310
|
export declare var RetrieveError$: StaticStructureSchema;
|
|
@@ -492,6 +497,8 @@ export declare var ListTagsForResource$: StaticOperationSchema;
|
|
|
492
497
|
export declare var NotifyRecommendationsReceived$: StaticOperationSchema;
|
|
493
498
|
export declare var PutFeedback$: StaticOperationSchema;
|
|
494
499
|
export declare var QueryAssistant$: StaticOperationSchema;
|
|
500
|
+
export declare var RegisterAssistantReplicaKey$: StaticOperationSchema;
|
|
501
|
+
export declare var RegisterKnowledgeBaseReplicaKey$: StaticOperationSchema;
|
|
495
502
|
export declare var RemoveAssistantAIAgent$: StaticOperationSchema;
|
|
496
503
|
export declare var RemoveKnowledgeBaseTemplateUri$: StaticOperationSchema;
|
|
497
504
|
export declare var RenderMessageTemplate$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qconnect",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1163.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",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.980.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
52
|
"@smithy/core": "^3.38.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|