@aws-sdk/client-qconnect 3.693.0 → 3.696.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 +112 -0
- package/dist-cjs/index.js +1279 -149
- package/dist-es/QConnect.js +28 -0
- package/dist-es/commands/ActivateMessageTemplateCommand.js +22 -0
- package/dist-es/commands/CreateMessageTemplateAttachmentCommand.js +23 -0
- package/dist-es/commands/CreateMessageTemplateCommand.js +23 -0
- package/dist-es/commands/CreateMessageTemplateVersionCommand.js +23 -0
- package/dist-es/commands/DeactivateMessageTemplateCommand.js +22 -0
- package/dist-es/commands/DeleteMessageTemplateAttachmentCommand.js +22 -0
- package/dist-es/commands/DeleteMessageTemplateCommand.js +22 -0
- package/dist-es/commands/GetMessageTemplateCommand.js +23 -0
- package/dist-es/commands/GetRecommendationsCommand.js +1 -1
- package/dist-es/commands/ListMessageTemplateVersionsCommand.js +22 -0
- package/dist-es/commands/ListMessageTemplatesCommand.js +22 -0
- package/dist-es/commands/QueryAssistantCommand.js +2 -1
- package/dist-es/commands/RenderMessageTemplateCommand.js +23 -0
- package/dist-es/commands/SearchMessageTemplatesCommand.js +23 -0
- package/dist-es/commands/SearchQuickResponsesCommand.js +1 -1
- package/dist-es/commands/StartContentUploadCommand.js +1 -1
- package/dist-es/commands/StartImportJobCommand.js +1 -1
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +1 -1
- package/dist-es/commands/UpdateMessageTemplateCommand.js +23 -0
- package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +23 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +280 -152
- package/dist-es/models/models_1.js +138 -0
- package/dist-es/pagination/ListMessageTemplateVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListMessageTemplatesPaginator.js +4 -0
- package/dist-es/pagination/SearchMessageTemplatesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +527 -5
- package/dist-types/QConnect.d.ts +98 -0
- package/dist-types/QConnectClient.d.ts +16 -2
- package/dist-types/commands/ActivateMessageTemplateCommand.d.ts +96 -0
- package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +109 -0
- package/dist-types/commands/CreateMessageTemplateCommand.d.ts +347 -0
- package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +247 -0
- package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +95 -0
- package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +91 -0
- package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +92 -0
- package/dist-types/commands/GetMessageTemplateCommand.d.ts +231 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +2 -1
- package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +99 -0
- package/dist-types/commands/ListMessageTemplatesCommand.d.ts +104 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/QueryAssistantCommand.d.ts +2 -1
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -1
- package/dist-types/commands/RenderMessageTemplateCommand.d.ts +206 -0
- package/dist-types/commands/SearchContentCommand.d.ts +1 -1
- package/dist-types/commands/SearchMessageTemplatesCommand.d.ts +138 -0
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +1 -1
- package/dist-types/commands/StartContentUploadCommand.d.ts +1 -1
- package/dist-types/commands/StartImportJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +332 -0
- package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +233 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1639 -983
- package/dist-types/models/models_1.d.ts +1256 -0
- package/dist-types/pagination/ListMessageTemplateVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMessageTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchMessageTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/QConnect.d.ts +238 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/ActivateMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMessageTemplateVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchMessageTemplatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMessageTemplateMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +466 -284
- package/dist-types/ts3.4/models/models_1.d.ts +349 -0
- package/dist-types/ts3.4/pagination/ListMessageTemplateVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMessageTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchMessageTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +35 -35
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
ChannelSubtype,
|
|
4
|
+
ContentDataDetails,
|
|
5
|
+
ContentSummary,
|
|
6
|
+
DataReference,
|
|
7
|
+
Document,
|
|
8
|
+
ExternalSourceConfiguration,
|
|
9
|
+
GroupingConfiguration,
|
|
10
|
+
ImportJobData,
|
|
11
|
+
ImportJobType,
|
|
12
|
+
IntentDetectedDataDetails,
|
|
13
|
+
KnowledgeBaseData,
|
|
14
|
+
QueryResultType,
|
|
15
|
+
QuickResponseContents,
|
|
16
|
+
QuickResponseStatus,
|
|
17
|
+
RankingData,
|
|
18
|
+
RecommendationTrigger,
|
|
19
|
+
RecommendationType,
|
|
20
|
+
RelevanceLevel,
|
|
21
|
+
SearchExpression,
|
|
22
|
+
SourceContentDataDetails,
|
|
23
|
+
} from "./models_0";
|
|
24
|
+
import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
|
|
25
|
+
export interface RemoveKnowledgeBaseTemplateUriResponse {}
|
|
26
|
+
export interface SearchContentRequest {
|
|
27
|
+
nextToken?: string | undefined;
|
|
28
|
+
maxResults?: number | undefined;
|
|
29
|
+
knowledgeBaseId: string | undefined;
|
|
30
|
+
searchExpression: SearchExpression | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface SearchContentResponse {
|
|
33
|
+
contentSummaries: ContentSummary[] | undefined;
|
|
34
|
+
nextToken?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare const MessageTemplateFilterOperator: {
|
|
37
|
+
readonly EQUALS: "EQUALS";
|
|
38
|
+
readonly PREFIX: "PREFIX";
|
|
39
|
+
};
|
|
40
|
+
export type MessageTemplateFilterOperator =
|
|
41
|
+
(typeof MessageTemplateFilterOperator)[keyof typeof MessageTemplateFilterOperator];
|
|
42
|
+
export interface MessageTemplateFilterField {
|
|
43
|
+
name: string | undefined;
|
|
44
|
+
values?: string[] | undefined;
|
|
45
|
+
operator: MessageTemplateFilterOperator | undefined;
|
|
46
|
+
includeNoExistence?: boolean | undefined;
|
|
47
|
+
}
|
|
48
|
+
export declare const Order: {
|
|
49
|
+
readonly ASC: "ASC";
|
|
50
|
+
readonly DESC: "DESC";
|
|
51
|
+
};
|
|
52
|
+
export type Order = (typeof Order)[keyof typeof Order];
|
|
53
|
+
export interface MessageTemplateOrderField {
|
|
54
|
+
name: string | undefined;
|
|
55
|
+
order?: Order | undefined;
|
|
56
|
+
}
|
|
57
|
+
export declare const MessageTemplateQueryOperator: {
|
|
58
|
+
readonly CONTAINS: "CONTAINS";
|
|
59
|
+
readonly CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX";
|
|
60
|
+
};
|
|
61
|
+
export type MessageTemplateQueryOperator =
|
|
62
|
+
(typeof MessageTemplateQueryOperator)[keyof typeof MessageTemplateQueryOperator];
|
|
63
|
+
export declare const Priority: {
|
|
64
|
+
readonly HIGH: "HIGH";
|
|
65
|
+
readonly LOW: "LOW";
|
|
66
|
+
readonly MEDIUM: "MEDIUM";
|
|
67
|
+
};
|
|
68
|
+
export type Priority = (typeof Priority)[keyof typeof Priority];
|
|
69
|
+
export interface MessageTemplateQueryField {
|
|
70
|
+
name: string | undefined;
|
|
71
|
+
values: string[] | undefined;
|
|
72
|
+
operator: MessageTemplateQueryOperator | undefined;
|
|
73
|
+
allowFuzziness?: boolean | undefined;
|
|
74
|
+
priority?: Priority | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface MessageTemplateSearchExpression {
|
|
77
|
+
queries?: MessageTemplateQueryField[] | undefined;
|
|
78
|
+
filters?: MessageTemplateFilterField[] | undefined;
|
|
79
|
+
orderOnField?: MessageTemplateOrderField | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface SearchMessageTemplatesRequest {
|
|
82
|
+
knowledgeBaseId: string | undefined;
|
|
83
|
+
searchExpression: MessageTemplateSearchExpression | undefined;
|
|
84
|
+
nextToken?: string | undefined;
|
|
85
|
+
maxResults?: number | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface MessageTemplateSearchResultData {
|
|
88
|
+
messageTemplateArn: string | undefined;
|
|
89
|
+
messageTemplateId: string | undefined;
|
|
90
|
+
knowledgeBaseArn: string | undefined;
|
|
91
|
+
knowledgeBaseId: string | undefined;
|
|
92
|
+
name: string | undefined;
|
|
93
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
94
|
+
createdTime: Date | undefined;
|
|
95
|
+
lastModifiedTime: Date | undefined;
|
|
96
|
+
lastModifiedBy: string | undefined;
|
|
97
|
+
isActive?: boolean | undefined;
|
|
98
|
+
versionNumber?: number | undefined;
|
|
99
|
+
description?: string | undefined;
|
|
100
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
101
|
+
language?: string | undefined;
|
|
102
|
+
tags?: Record<string, string> | undefined;
|
|
103
|
+
}
|
|
104
|
+
export interface SearchMessageTemplatesResponse {
|
|
105
|
+
results: MessageTemplateSearchResultData[] | undefined;
|
|
106
|
+
nextToken?: string | undefined;
|
|
107
|
+
}
|
|
108
|
+
export declare const QuickResponseFilterOperator: {
|
|
109
|
+
readonly EQUALS: "EQUALS";
|
|
110
|
+
readonly PREFIX: "PREFIX";
|
|
111
|
+
};
|
|
112
|
+
export type QuickResponseFilterOperator =
|
|
113
|
+
(typeof QuickResponseFilterOperator)[keyof typeof QuickResponseFilterOperator];
|
|
114
|
+
export interface QuickResponseFilterField {
|
|
115
|
+
name: string | undefined;
|
|
116
|
+
values?: string[] | undefined;
|
|
117
|
+
operator: QuickResponseFilterOperator | undefined;
|
|
118
|
+
includeNoExistence?: boolean | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface QuickResponseOrderField {
|
|
121
|
+
name: string | undefined;
|
|
122
|
+
order?: Order | undefined;
|
|
123
|
+
}
|
|
124
|
+
export declare const QuickResponseQueryOperator: {
|
|
125
|
+
readonly CONTAINS: "CONTAINS";
|
|
126
|
+
readonly CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX";
|
|
127
|
+
};
|
|
128
|
+
export type QuickResponseQueryOperator =
|
|
129
|
+
(typeof QuickResponseQueryOperator)[keyof typeof QuickResponseQueryOperator];
|
|
130
|
+
export interface QuickResponseQueryField {
|
|
131
|
+
name: string | undefined;
|
|
132
|
+
values: string[] | undefined;
|
|
133
|
+
operator: QuickResponseQueryOperator | undefined;
|
|
134
|
+
allowFuzziness?: boolean | undefined;
|
|
135
|
+
priority?: Priority | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface QuickResponseSearchExpression {
|
|
138
|
+
queries?: QuickResponseQueryField[] | undefined;
|
|
139
|
+
filters?: QuickResponseFilterField[] | undefined;
|
|
140
|
+
orderOnField?: QuickResponseOrderField | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface SearchQuickResponsesRequest {
|
|
143
|
+
knowledgeBaseId: string | undefined;
|
|
144
|
+
searchExpression: QuickResponseSearchExpression | undefined;
|
|
145
|
+
nextToken?: string | undefined;
|
|
146
|
+
maxResults?: number | undefined;
|
|
147
|
+
attributes?: Record<string, string> | undefined;
|
|
148
|
+
}
|
|
149
|
+
export interface QuickResponseSearchResultData {
|
|
150
|
+
quickResponseArn: string | undefined;
|
|
151
|
+
quickResponseId: string | undefined;
|
|
152
|
+
knowledgeBaseArn: string | undefined;
|
|
153
|
+
knowledgeBaseId: string | undefined;
|
|
154
|
+
name: string | undefined;
|
|
155
|
+
contentType: string | undefined;
|
|
156
|
+
status: QuickResponseStatus | undefined;
|
|
157
|
+
contents: QuickResponseContents | undefined;
|
|
158
|
+
createdTime: Date | undefined;
|
|
159
|
+
lastModifiedTime: Date | undefined;
|
|
160
|
+
isActive: boolean | undefined;
|
|
161
|
+
description?: string | undefined;
|
|
162
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
163
|
+
shortcutKey?: string | undefined;
|
|
164
|
+
lastModifiedBy?: string | undefined;
|
|
165
|
+
channels?: string[] | undefined;
|
|
166
|
+
language?: string | undefined;
|
|
167
|
+
attributesNotInterpolated?: string[] | undefined;
|
|
168
|
+
attributesInterpolated?: string[] | undefined;
|
|
169
|
+
tags?: Record<string, string> | undefined;
|
|
170
|
+
}
|
|
171
|
+
export interface SearchQuickResponsesResponse {
|
|
172
|
+
results: QuickResponseSearchResultData[] | undefined;
|
|
173
|
+
nextToken?: string | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface StartContentUploadRequest {
|
|
176
|
+
knowledgeBaseId: string | undefined;
|
|
177
|
+
contentType: string | undefined;
|
|
178
|
+
presignedUrlTimeToLive?: number | undefined;
|
|
179
|
+
}
|
|
180
|
+
export interface StartContentUploadResponse {
|
|
181
|
+
uploadId: string | undefined;
|
|
182
|
+
url: string | undefined;
|
|
183
|
+
urlExpiry: Date | undefined;
|
|
184
|
+
headersToInclude: Record<string, string> | undefined;
|
|
185
|
+
}
|
|
186
|
+
export interface StartImportJobRequest {
|
|
187
|
+
knowledgeBaseId: string | undefined;
|
|
188
|
+
importJobType: ImportJobType | undefined;
|
|
189
|
+
uploadId: string | undefined;
|
|
190
|
+
clientToken?: string | undefined;
|
|
191
|
+
metadata?: Record<string, string> | undefined;
|
|
192
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
193
|
+
}
|
|
194
|
+
export interface StartImportJobResponse {
|
|
195
|
+
importJob?: ImportJobData | undefined;
|
|
196
|
+
}
|
|
197
|
+
export interface UpdateKnowledgeBaseTemplateUriRequest {
|
|
198
|
+
knowledgeBaseId: string | undefined;
|
|
199
|
+
templateUri: string | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface UpdateKnowledgeBaseTemplateUriResponse {
|
|
202
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
203
|
+
}
|
|
204
|
+
export interface ListTagsForResourceRequest {
|
|
205
|
+
resourceArn: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface ListTagsForResourceResponse {
|
|
208
|
+
tags?: Record<string, string> | undefined;
|
|
209
|
+
}
|
|
210
|
+
export interface TagResourceRequest {
|
|
211
|
+
resourceArn: string | undefined;
|
|
212
|
+
tags: Record<string, string> | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface TagResourceResponse {}
|
|
215
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
216
|
+
readonly name: "TooManyTagsException";
|
|
217
|
+
readonly $fault: "client";
|
|
218
|
+
resourceName?: string | undefined;
|
|
219
|
+
constructor(
|
|
220
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
export interface UntagResourceRequest {
|
|
224
|
+
resourceArn: string | undefined;
|
|
225
|
+
tagKeys: string[] | undefined;
|
|
226
|
+
}
|
|
227
|
+
export interface UntagResourceResponse {}
|
|
228
|
+
export type DataDetails =
|
|
229
|
+
| DataDetails.ContentDataMember
|
|
230
|
+
| DataDetails.GenerativeDataMember
|
|
231
|
+
| DataDetails.IntentDetectedDataMember
|
|
232
|
+
| DataDetails.SourceContentDataMember
|
|
233
|
+
| DataDetails.$UnknownMember;
|
|
234
|
+
export declare namespace DataDetails {
|
|
235
|
+
interface ContentDataMember {
|
|
236
|
+
contentData: ContentDataDetails;
|
|
237
|
+
generativeData?: never;
|
|
238
|
+
intentDetectedData?: never;
|
|
239
|
+
sourceContentData?: never;
|
|
240
|
+
$unknown?: never;
|
|
241
|
+
}
|
|
242
|
+
interface GenerativeDataMember {
|
|
243
|
+
contentData?: never;
|
|
244
|
+
generativeData: GenerativeDataDetails;
|
|
245
|
+
intentDetectedData?: never;
|
|
246
|
+
sourceContentData?: never;
|
|
247
|
+
$unknown?: never;
|
|
248
|
+
}
|
|
249
|
+
interface IntentDetectedDataMember {
|
|
250
|
+
contentData?: never;
|
|
251
|
+
generativeData?: never;
|
|
252
|
+
intentDetectedData: IntentDetectedDataDetails;
|
|
253
|
+
sourceContentData?: never;
|
|
254
|
+
$unknown?: never;
|
|
255
|
+
}
|
|
256
|
+
interface SourceContentDataMember {
|
|
257
|
+
contentData?: never;
|
|
258
|
+
generativeData?: never;
|
|
259
|
+
intentDetectedData?: never;
|
|
260
|
+
sourceContentData: SourceContentDataDetails;
|
|
261
|
+
$unknown?: never;
|
|
262
|
+
}
|
|
263
|
+
interface $UnknownMember {
|
|
264
|
+
contentData?: never;
|
|
265
|
+
generativeData?: never;
|
|
266
|
+
intentDetectedData?: never;
|
|
267
|
+
sourceContentData?: never;
|
|
268
|
+
$unknown: [string, any];
|
|
269
|
+
}
|
|
270
|
+
interface Visitor<T> {
|
|
271
|
+
contentData: (value: ContentDataDetails) => T;
|
|
272
|
+
generativeData: (value: GenerativeDataDetails) => T;
|
|
273
|
+
intentDetectedData: (value: IntentDetectedDataDetails) => T;
|
|
274
|
+
sourceContentData: (value: SourceContentDataDetails) => T;
|
|
275
|
+
_: (name: string, value: any) => T;
|
|
276
|
+
}
|
|
277
|
+
const visit: <T>(value: DataDetails, visitor: Visitor<T>) => T;
|
|
278
|
+
}
|
|
279
|
+
export interface DataSummary {
|
|
280
|
+
reference: DataReference | undefined;
|
|
281
|
+
details: DataDetails | undefined;
|
|
282
|
+
}
|
|
283
|
+
export interface GenerativeDataDetails {
|
|
284
|
+
completion: string | undefined;
|
|
285
|
+
references: DataSummary[] | undefined;
|
|
286
|
+
rankingData: RankingData | undefined;
|
|
287
|
+
}
|
|
288
|
+
export interface RecommendationData {
|
|
289
|
+
recommendationId: string | undefined;
|
|
290
|
+
document?: Document | undefined;
|
|
291
|
+
relevanceScore?: number | undefined;
|
|
292
|
+
relevanceLevel?: RelevanceLevel | undefined;
|
|
293
|
+
type?: RecommendationType | undefined;
|
|
294
|
+
data?: DataSummary | undefined;
|
|
295
|
+
}
|
|
296
|
+
export interface ResultData {
|
|
297
|
+
resultId: string | undefined;
|
|
298
|
+
document?: Document | undefined;
|
|
299
|
+
relevanceScore?: number | undefined;
|
|
300
|
+
data?: DataSummary | undefined;
|
|
301
|
+
type?: QueryResultType | undefined;
|
|
302
|
+
}
|
|
303
|
+
export interface GetRecommendationsResponse {
|
|
304
|
+
recommendations: RecommendationData[] | undefined;
|
|
305
|
+
triggers?: RecommendationTrigger[] | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface QueryAssistantResponse {
|
|
308
|
+
results: ResultData[] | undefined;
|
|
309
|
+
nextToken?: string | undefined;
|
|
310
|
+
}
|
|
311
|
+
export declare const MessageTemplateSearchResultDataFilterSensitiveLog: (
|
|
312
|
+
obj: MessageTemplateSearchResultData
|
|
313
|
+
) => any;
|
|
314
|
+
export declare const SearchMessageTemplatesResponseFilterSensitiveLog: (
|
|
315
|
+
obj: SearchMessageTemplatesResponse
|
|
316
|
+
) => any;
|
|
317
|
+
export declare const SearchQuickResponsesRequestFilterSensitiveLog: (
|
|
318
|
+
obj: SearchQuickResponsesRequest
|
|
319
|
+
) => any;
|
|
320
|
+
export declare const QuickResponseSearchResultDataFilterSensitiveLog: (
|
|
321
|
+
obj: QuickResponseSearchResultData
|
|
322
|
+
) => any;
|
|
323
|
+
export declare const SearchQuickResponsesResponseFilterSensitiveLog: (
|
|
324
|
+
obj: SearchQuickResponsesResponse
|
|
325
|
+
) => any;
|
|
326
|
+
export declare const StartContentUploadResponseFilterSensitiveLog: (
|
|
327
|
+
obj: StartContentUploadResponse
|
|
328
|
+
) => any;
|
|
329
|
+
export declare const StartImportJobResponseFilterSensitiveLog: (
|
|
330
|
+
obj: StartImportJobResponse
|
|
331
|
+
) => any;
|
|
332
|
+
export declare const UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog: (
|
|
333
|
+
obj: UpdateKnowledgeBaseTemplateUriResponse
|
|
334
|
+
) => any;
|
|
335
|
+
export declare const DataDetailsFilterSensitiveLog: (obj: DataDetails) => any;
|
|
336
|
+
export declare const DataSummaryFilterSensitiveLog: (obj: DataSummary) => any;
|
|
337
|
+
export declare const GenerativeDataDetailsFilterSensitiveLog: (
|
|
338
|
+
obj: GenerativeDataDetails
|
|
339
|
+
) => any;
|
|
340
|
+
export declare const RecommendationDataFilterSensitiveLog: (
|
|
341
|
+
obj: RecommendationData
|
|
342
|
+
) => any;
|
|
343
|
+
export declare const ResultDataFilterSensitiveLog: (obj: ResultData) => any;
|
|
344
|
+
export declare const GetRecommendationsResponseFilterSensitiveLog: (
|
|
345
|
+
obj: GetRecommendationsResponse
|
|
346
|
+
) => any;
|
|
347
|
+
export declare const QueryAssistantResponseFilterSensitiveLog: (
|
|
348
|
+
obj: QueryAssistantResponse
|
|
349
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListMessageTemplateVersionsCommandInput,
|
|
4
|
+
ListMessageTemplateVersionsCommandOutput,
|
|
5
|
+
} from "../commands/ListMessageTemplateVersionsCommand";
|
|
6
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListMessageTemplateVersions: (
|
|
8
|
+
config: QConnectPaginationConfiguration,
|
|
9
|
+
input: ListMessageTemplateVersionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMessageTemplateVersionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListMessageTemplatesCommandInput,
|
|
4
|
+
ListMessageTemplatesCommandOutput,
|
|
5
|
+
} from "../commands/ListMessageTemplatesCommand";
|
|
6
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListMessageTemplates: (
|
|
8
|
+
config: QConnectPaginationConfiguration,
|
|
9
|
+
input: ListMessageTemplatesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMessageTemplatesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SearchMessageTemplatesCommandInput,
|
|
4
|
+
SearchMessageTemplatesCommandOutput,
|
|
5
|
+
} from "../commands/SearchMessageTemplatesCommand";
|
|
6
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateSearchMessageTemplates: (
|
|
8
|
+
config: QConnectPaginationConfiguration,
|
|
9
|
+
input: SearchMessageTemplatesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchMessageTemplatesCommandOutput>;
|
|
@@ -9,8 +9,11 @@ export * from "./ListContentAssociationsPaginator";
|
|
|
9
9
|
export * from "./ListContentsPaginator";
|
|
10
10
|
export * from "./ListImportJobsPaginator";
|
|
11
11
|
export * from "./ListKnowledgeBasesPaginator";
|
|
12
|
+
export * from "./ListMessageTemplateVersionsPaginator";
|
|
13
|
+
export * from "./ListMessageTemplatesPaginator";
|
|
12
14
|
export * from "./ListQuickResponsesPaginator";
|
|
13
15
|
export * from "./QueryAssistantPaginator";
|
|
14
16
|
export * from "./SearchContentPaginator";
|
|
17
|
+
export * from "./SearchMessageTemplatesPaginator";
|
|
15
18
|
export * from "./SearchQuickResponsesPaginator";
|
|
16
19
|
export * from "./SearchSessionsPaginator";
|