@aws-sdk/client-wisdom 3.936.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.
- package/dist-cjs/index.js +120 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +99 -0
- package/dist-es/models/models_0.js +1 -99
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +259 -0
- package/dist-types/models/models_0.d.ts +1 -259
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +133 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -133
- package/package.json +2 -2
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AssistantStatus,
|
|
3
|
+
AssistantType,
|
|
4
|
+
AssociationType,
|
|
5
|
+
ContentStatus,
|
|
6
|
+
ExternalSource,
|
|
7
|
+
FilterField,
|
|
8
|
+
FilterOperator,
|
|
9
|
+
ImportJobStatus,
|
|
10
|
+
ImportJobType,
|
|
11
|
+
KnowledgeBaseStatus,
|
|
12
|
+
KnowledgeBaseType,
|
|
13
|
+
Order,
|
|
14
|
+
Priority,
|
|
15
|
+
QuickResponseFilterOperator,
|
|
16
|
+
QuickResponseQueryOperator,
|
|
17
|
+
QuickResponseStatus,
|
|
18
|
+
RecommendationSourceType,
|
|
19
|
+
RecommendationTriggerType,
|
|
20
|
+
RecommendationType,
|
|
21
|
+
RelevanceLevel,
|
|
22
|
+
} from "./enums";
|
|
1
23
|
export interface AppIntegrationsConfiguration {
|
|
2
24
|
appIntegrationArn: string | undefined;
|
|
3
25
|
objectFields?: string[] | undefined;
|
|
@@ -19,11 +41,6 @@ export declare namespace AssistantAssociationInputData {
|
|
|
19
41
|
_: (name: string, value: any) => T;
|
|
20
42
|
}
|
|
21
43
|
}
|
|
22
|
-
export declare const AssociationType: {
|
|
23
|
-
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
24
|
-
};
|
|
25
|
-
export type AssociationType =
|
|
26
|
-
(typeof AssociationType)[keyof typeof AssociationType];
|
|
27
44
|
export interface CreateAssistantAssociationRequest {
|
|
28
45
|
assistantId: string | undefined;
|
|
29
46
|
associationType: AssociationType | undefined;
|
|
@@ -97,10 +114,6 @@ export interface ListAssistantAssociationsResponse {
|
|
|
97
114
|
export interface ServerSideEncryptionConfiguration {
|
|
98
115
|
kmsKeyId?: string | undefined;
|
|
99
116
|
}
|
|
100
|
-
export declare const AssistantType: {
|
|
101
|
-
readonly AGENT: "AGENT";
|
|
102
|
-
};
|
|
103
|
-
export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
|
|
104
117
|
export interface CreateAssistantRequest {
|
|
105
118
|
clientToken?: string | undefined;
|
|
106
119
|
name: string | undefined;
|
|
@@ -114,16 +127,6 @@ export interface CreateAssistantRequest {
|
|
|
114
127
|
export interface AssistantIntegrationConfiguration {
|
|
115
128
|
topicIntegrationArn?: string | undefined;
|
|
116
129
|
}
|
|
117
|
-
export declare const AssistantStatus: {
|
|
118
|
-
readonly ACTIVE: "ACTIVE";
|
|
119
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
120
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
121
|
-
readonly DELETED: "DELETED";
|
|
122
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
123
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
124
|
-
};
|
|
125
|
-
export type AssistantStatus =
|
|
126
|
-
(typeof AssistantStatus)[keyof typeof AssistantStatus];
|
|
127
130
|
export interface AssistantData {
|
|
128
131
|
assistantId: string | undefined;
|
|
129
132
|
assistantArn: string | undefined;
|
|
@@ -175,18 +178,6 @@ export interface Document {
|
|
|
175
178
|
title?: DocumentText | undefined;
|
|
176
179
|
excerpt?: DocumentText | undefined;
|
|
177
180
|
}
|
|
178
|
-
export declare const RelevanceLevel: {
|
|
179
|
-
readonly HIGH: "HIGH";
|
|
180
|
-
readonly LOW: "LOW";
|
|
181
|
-
readonly MEDIUM: "MEDIUM";
|
|
182
|
-
};
|
|
183
|
-
export type RelevanceLevel =
|
|
184
|
-
(typeof RelevanceLevel)[keyof typeof RelevanceLevel];
|
|
185
|
-
export declare const RecommendationType: {
|
|
186
|
-
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
187
|
-
};
|
|
188
|
-
export type RecommendationType =
|
|
189
|
-
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
190
181
|
export interface RecommendationData {
|
|
191
182
|
recommendationId: string | undefined;
|
|
192
183
|
document: Document | undefined;
|
|
@@ -214,18 +205,6 @@ export declare namespace RecommendationTriggerData {
|
|
|
214
205
|
_: (name: string, value: any) => T;
|
|
215
206
|
}
|
|
216
207
|
}
|
|
217
|
-
export declare const RecommendationSourceType: {
|
|
218
|
-
readonly ISSUE_DETECTION: "ISSUE_DETECTION";
|
|
219
|
-
readonly OTHER: "OTHER";
|
|
220
|
-
readonly RULE_EVALUATION: "RULE_EVALUATION";
|
|
221
|
-
};
|
|
222
|
-
export type RecommendationSourceType =
|
|
223
|
-
(typeof RecommendationSourceType)[keyof typeof RecommendationSourceType];
|
|
224
|
-
export declare const RecommendationTriggerType: {
|
|
225
|
-
readonly QUERY: "QUERY";
|
|
226
|
-
};
|
|
227
|
-
export type RecommendationTriggerType =
|
|
228
|
-
(typeof RecommendationTriggerType)[keyof typeof RecommendationTriggerType];
|
|
229
208
|
export interface RecommendationTrigger {
|
|
230
209
|
id: string | undefined;
|
|
231
210
|
type: RecommendationTriggerType | undefined;
|
|
@@ -286,15 +265,6 @@ export interface QueryAssistantResponse {
|
|
|
286
265
|
results: ResultData[] | undefined;
|
|
287
266
|
nextToken?: string | undefined;
|
|
288
267
|
}
|
|
289
|
-
export declare const FilterField: {
|
|
290
|
-
readonly NAME: "NAME";
|
|
291
|
-
};
|
|
292
|
-
export type FilterField = (typeof FilterField)[keyof typeof FilterField];
|
|
293
|
-
export declare const FilterOperator: {
|
|
294
|
-
readonly EQUALS: "EQUALS";
|
|
295
|
-
};
|
|
296
|
-
export type FilterOperator =
|
|
297
|
-
(typeof FilterOperator)[keyof typeof FilterOperator];
|
|
298
268
|
export interface Filter {
|
|
299
269
|
field: FilterField | undefined;
|
|
300
270
|
operator: FilterOperator | undefined;
|
|
@@ -377,16 +347,6 @@ export interface CreateContentRequest {
|
|
|
377
347
|
clientToken?: string | undefined;
|
|
378
348
|
tags?: Record<string, string> | undefined;
|
|
379
349
|
}
|
|
380
|
-
export declare const ContentStatus: {
|
|
381
|
-
readonly ACTIVE: "ACTIVE";
|
|
382
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
383
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
384
|
-
readonly DELETED: "DELETED";
|
|
385
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
386
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
387
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
388
|
-
};
|
|
389
|
-
export type ContentStatus = (typeof ContentStatus)[keyof typeof ContentStatus];
|
|
390
350
|
export interface ContentData {
|
|
391
351
|
contentArn: string | undefined;
|
|
392
352
|
contentId: string | undefined;
|
|
@@ -460,13 +420,6 @@ export interface UpdateContentRequest {
|
|
|
460
420
|
export interface UpdateContentResponse {
|
|
461
421
|
content?: ContentData | undefined;
|
|
462
422
|
}
|
|
463
|
-
export declare const KnowledgeBaseType: {
|
|
464
|
-
readonly CUSTOM: "CUSTOM";
|
|
465
|
-
readonly EXTERNAL: "EXTERNAL";
|
|
466
|
-
readonly QUICK_RESPONSES: "QUICK_RESPONSES";
|
|
467
|
-
};
|
|
468
|
-
export type KnowledgeBaseType =
|
|
469
|
-
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
470
423
|
export interface RenderingConfiguration {
|
|
471
424
|
templateUri?: string | undefined;
|
|
472
425
|
}
|
|
@@ -499,16 +452,6 @@ export interface CreateKnowledgeBaseRequest {
|
|
|
499
452
|
description?: string | undefined;
|
|
500
453
|
tags?: Record<string, string> | undefined;
|
|
501
454
|
}
|
|
502
|
-
export declare const KnowledgeBaseStatus: {
|
|
503
|
-
readonly ACTIVE: "ACTIVE";
|
|
504
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
505
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
506
|
-
readonly DELETED: "DELETED";
|
|
507
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
508
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
509
|
-
};
|
|
510
|
-
export type KnowledgeBaseStatus =
|
|
511
|
-
(typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
|
|
512
455
|
export interface KnowledgeBaseData {
|
|
513
456
|
knowledgeBaseId: string | undefined;
|
|
514
457
|
knowledgeBaseArn: string | undefined;
|
|
@@ -583,18 +526,6 @@ export interface QuickResponseContents {
|
|
|
583
526
|
plainText?: QuickResponseContentProvider | undefined;
|
|
584
527
|
markdown?: QuickResponseContentProvider | undefined;
|
|
585
528
|
}
|
|
586
|
-
export declare const QuickResponseStatus: {
|
|
587
|
-
readonly CREATED: "CREATED";
|
|
588
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
589
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
590
|
-
readonly DELETED: "DELETED";
|
|
591
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
592
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
593
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
594
|
-
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
595
|
-
};
|
|
596
|
-
export type QuickResponseStatus =
|
|
597
|
-
(typeof QuickResponseStatus)[keyof typeof QuickResponseStatus];
|
|
598
529
|
export interface QuickResponseData {
|
|
599
530
|
quickResponseArn: string | undefined;
|
|
600
531
|
quickResponseId: string | undefined;
|
|
@@ -632,11 +563,6 @@ export interface DeleteQuickResponseRequest {
|
|
|
632
563
|
quickResponseId: string | undefined;
|
|
633
564
|
}
|
|
634
565
|
export interface DeleteQuickResponseResponse {}
|
|
635
|
-
export declare const ExternalSource: {
|
|
636
|
-
readonly AMAZON_CONNECT: "AMAZON_CONNECT";
|
|
637
|
-
};
|
|
638
|
-
export type ExternalSource =
|
|
639
|
-
(typeof ExternalSource)[keyof typeof ExternalSource];
|
|
640
566
|
export interface ExternalSourceConfiguration {
|
|
641
567
|
source: ExternalSource | undefined;
|
|
642
568
|
configuration: Configuration | undefined;
|
|
@@ -645,20 +571,6 @@ export interface GetImportJobRequest {
|
|
|
645
571
|
importJobId: string | undefined;
|
|
646
572
|
knowledgeBaseId: string | undefined;
|
|
647
573
|
}
|
|
648
|
-
export declare const ImportJobType: {
|
|
649
|
-
readonly QUICK_RESPONSES: "QUICK_RESPONSES";
|
|
650
|
-
};
|
|
651
|
-
export type ImportJobType = (typeof ImportJobType)[keyof typeof ImportJobType];
|
|
652
|
-
export declare const ImportJobStatus: {
|
|
653
|
-
readonly COMPLETE: "COMPLETE";
|
|
654
|
-
readonly DELETED: "DELETED";
|
|
655
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
656
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
657
|
-
readonly FAILED: "FAILED";
|
|
658
|
-
readonly START_IN_PROGRESS: "START_IN_PROGRESS";
|
|
659
|
-
};
|
|
660
|
-
export type ImportJobStatus =
|
|
661
|
-
(typeof ImportJobStatus)[keyof typeof ImportJobStatus];
|
|
662
574
|
export interface ImportJobData {
|
|
663
575
|
importJobId: string | undefined;
|
|
664
576
|
knowledgeBaseId: string | undefined;
|
|
@@ -791,39 +703,16 @@ export interface SearchContentResponse {
|
|
|
791
703
|
contentSummaries: ContentSummary[] | undefined;
|
|
792
704
|
nextToken?: string | undefined;
|
|
793
705
|
}
|
|
794
|
-
export declare const QuickResponseFilterOperator: {
|
|
795
|
-
readonly EQUALS: "EQUALS";
|
|
796
|
-
readonly PREFIX: "PREFIX";
|
|
797
|
-
};
|
|
798
|
-
export type QuickResponseFilterOperator =
|
|
799
|
-
(typeof QuickResponseFilterOperator)[keyof typeof QuickResponseFilterOperator];
|
|
800
706
|
export interface QuickResponseFilterField {
|
|
801
707
|
name: string | undefined;
|
|
802
708
|
values?: string[] | undefined;
|
|
803
709
|
operator: QuickResponseFilterOperator | undefined;
|
|
804
710
|
includeNoExistence?: boolean | undefined;
|
|
805
711
|
}
|
|
806
|
-
export declare const Order: {
|
|
807
|
-
readonly ASC: "ASC";
|
|
808
|
-
readonly DESC: "DESC";
|
|
809
|
-
};
|
|
810
|
-
export type Order = (typeof Order)[keyof typeof Order];
|
|
811
712
|
export interface QuickResponseOrderField {
|
|
812
713
|
name: string | undefined;
|
|
813
714
|
order?: Order | undefined;
|
|
814
715
|
}
|
|
815
|
-
export declare const QuickResponseQueryOperator: {
|
|
816
|
-
readonly CONTAINS: "CONTAINS";
|
|
817
|
-
readonly CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX";
|
|
818
|
-
};
|
|
819
|
-
export type QuickResponseQueryOperator =
|
|
820
|
-
(typeof QuickResponseQueryOperator)[keyof typeof QuickResponseQueryOperator];
|
|
821
|
-
export declare const Priority: {
|
|
822
|
-
readonly HIGH: "HIGH";
|
|
823
|
-
readonly LOW: "LOW";
|
|
824
|
-
readonly MEDIUM: "MEDIUM";
|
|
825
|
-
};
|
|
826
|
-
export type Priority = (typeof Priority)[keyof typeof Priority];
|
|
827
716
|
export interface QuickResponseQueryField {
|
|
828
717
|
name: string | undefined;
|
|
829
718
|
values: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wisdom",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.939.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-wisdom",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.936.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.939.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|