@aws-sdk/client-qconnect 3.1167.0 → 3.1169.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 +70 -17
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +66 -16
- package/dist-types/commands/CreateMessageTemplateCommand.d.ts +56 -0
- package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +28 -0
- package/dist-types/commands/GetMessageTemplateCommand.d.ts +28 -0
- package/dist-types/commands/RenderMessageTemplateCommand.d.ts +28 -0
- package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +56 -0
- package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +28 -0
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +103 -135
- package/dist-types/models/models_1.d.ts +135 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -39
- package/dist-types/ts3.4/models/models_1.d.ts +39 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
|
@@ -225,10 +225,38 @@ declare const CreateMessageTemplateVersionCommand_base: {
|
|
|
225
225
|
* // custom: { // CustomAttributes
|
|
226
226
|
* // "<keys>": "STRING_VALUE",
|
|
227
227
|
* // },
|
|
228
|
+
* // recommendations: [ // ProfileRecommendations
|
|
229
|
+
* // { // ProfileRecommendation
|
|
230
|
+
* // score: Number("double"),
|
|
231
|
+
* // catalogItem: { // ProfileCatalogItem
|
|
232
|
+
* // id: "STRING_VALUE",
|
|
233
|
+
* // name: "STRING_VALUE",
|
|
234
|
+
* // code: "STRING_VALUE",
|
|
235
|
+
* // type: "STRING_VALUE",
|
|
236
|
+
* // category: "STRING_VALUE",
|
|
237
|
+
* // description: "STRING_VALUE",
|
|
238
|
+
* // additionalInformation: "STRING_VALUE",
|
|
239
|
+
* // imageLink: "STRING_VALUE",
|
|
240
|
+
* // link: "STRING_VALUE",
|
|
241
|
+
* // createdAt: "STRING_VALUE",
|
|
242
|
+
* // updatedAt: "STRING_VALUE",
|
|
243
|
+
* // price: "STRING_VALUE",
|
|
244
|
+
* // attributes: { // ProfileCatalogItemAttributes
|
|
245
|
+
* // "<keys>": "STRING_VALUE",
|
|
246
|
+
* // },
|
|
247
|
+
* // },
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // calculatedAttributes: { // CalculatedAttributes
|
|
251
|
+
* // "<keys>": "STRING_VALUE",
|
|
252
|
+
* // },
|
|
228
253
|
* // },
|
|
229
254
|
* // customAttributes: {
|
|
230
255
|
* // "<keys>": "STRING_VALUE",
|
|
231
256
|
* // },
|
|
257
|
+
* // caseAttributes: { // CaseAttributes
|
|
258
|
+
* // "<keys>": "STRING_VALUE",
|
|
259
|
+
* // },
|
|
232
260
|
* // },
|
|
233
261
|
* // attributeTypes: [ // MessageTemplateAttributeTypeList
|
|
234
262
|
* // "STRING_VALUE",
|
|
@@ -224,10 +224,38 @@ declare const GetMessageTemplateCommand_base: {
|
|
|
224
224
|
* // custom: { // CustomAttributes
|
|
225
225
|
* // "<keys>": "STRING_VALUE",
|
|
226
226
|
* // },
|
|
227
|
+
* // recommendations: [ // ProfileRecommendations
|
|
228
|
+
* // { // ProfileRecommendation
|
|
229
|
+
* // score: Number("double"),
|
|
230
|
+
* // catalogItem: { // ProfileCatalogItem
|
|
231
|
+
* // id: "STRING_VALUE",
|
|
232
|
+
* // name: "STRING_VALUE",
|
|
233
|
+
* // code: "STRING_VALUE",
|
|
234
|
+
* // type: "STRING_VALUE",
|
|
235
|
+
* // category: "STRING_VALUE",
|
|
236
|
+
* // description: "STRING_VALUE",
|
|
237
|
+
* // additionalInformation: "STRING_VALUE",
|
|
238
|
+
* // imageLink: "STRING_VALUE",
|
|
239
|
+
* // link: "STRING_VALUE",
|
|
240
|
+
* // createdAt: "STRING_VALUE",
|
|
241
|
+
* // updatedAt: "STRING_VALUE",
|
|
242
|
+
* // price: "STRING_VALUE",
|
|
243
|
+
* // attributes: { // ProfileCatalogItemAttributes
|
|
244
|
+
* // "<keys>": "STRING_VALUE",
|
|
245
|
+
* // },
|
|
246
|
+
* // },
|
|
247
|
+
* // },
|
|
248
|
+
* // ],
|
|
249
|
+
* // calculatedAttributes: { // CalculatedAttributes
|
|
250
|
+
* // "<keys>": "STRING_VALUE",
|
|
251
|
+
* // },
|
|
227
252
|
* // },
|
|
228
253
|
* // customAttributes: {
|
|
229
254
|
* // "<keys>": "STRING_VALUE",
|
|
230
255
|
* // },
|
|
256
|
+
* // caseAttributes: { // CaseAttributes
|
|
257
|
+
* // "<keys>": "STRING_VALUE",
|
|
258
|
+
* // },
|
|
231
259
|
* // },
|
|
232
260
|
* // attributeTypes: [ // MessageTemplateAttributeTypeList
|
|
233
261
|
* // "STRING_VALUE",
|
|
@@ -111,10 +111,38 @@ declare const RenderMessageTemplateCommand_base: {
|
|
|
111
111
|
* custom: { // CustomAttributes
|
|
112
112
|
* "<keys>": "STRING_VALUE",
|
|
113
113
|
* },
|
|
114
|
+
* recommendations: [ // ProfileRecommendations
|
|
115
|
+
* { // ProfileRecommendation
|
|
116
|
+
* score: Number("double"),
|
|
117
|
+
* catalogItem: { // ProfileCatalogItem
|
|
118
|
+
* id: "STRING_VALUE",
|
|
119
|
+
* name: "STRING_VALUE",
|
|
120
|
+
* code: "STRING_VALUE",
|
|
121
|
+
* type: "STRING_VALUE",
|
|
122
|
+
* category: "STRING_VALUE",
|
|
123
|
+
* description: "STRING_VALUE",
|
|
124
|
+
* additionalInformation: "STRING_VALUE",
|
|
125
|
+
* imageLink: "STRING_VALUE",
|
|
126
|
+
* link: "STRING_VALUE",
|
|
127
|
+
* createdAt: "STRING_VALUE",
|
|
128
|
+
* updatedAt: "STRING_VALUE",
|
|
129
|
+
* price: "STRING_VALUE",
|
|
130
|
+
* attributes: { // ProfileCatalogItemAttributes
|
|
131
|
+
* "<keys>": "STRING_VALUE",
|
|
132
|
+
* },
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* calculatedAttributes: { // CalculatedAttributes
|
|
137
|
+
* "<keys>": "STRING_VALUE",
|
|
138
|
+
* },
|
|
114
139
|
* },
|
|
115
140
|
* customAttributes: {
|
|
116
141
|
* "<keys>": "STRING_VALUE",
|
|
117
142
|
* },
|
|
143
|
+
* caseAttributes: { // CaseAttributes
|
|
144
|
+
* "<keys>": "STRING_VALUE",
|
|
145
|
+
* },
|
|
118
146
|
* },
|
|
119
147
|
* };
|
|
120
148
|
* const command = new RenderMessageTemplateCommand(input);
|
|
@@ -198,10 +198,38 @@ declare const UpdateMessageTemplateCommand_base: {
|
|
|
198
198
|
* custom: { // CustomAttributes
|
|
199
199
|
* "<keys>": "STRING_VALUE",
|
|
200
200
|
* },
|
|
201
|
+
* recommendations: [ // ProfileRecommendations
|
|
202
|
+
* { // ProfileRecommendation
|
|
203
|
+
* score: Number("double"),
|
|
204
|
+
* catalogItem: { // ProfileCatalogItem
|
|
205
|
+
* id: "STRING_VALUE",
|
|
206
|
+
* name: "STRING_VALUE",
|
|
207
|
+
* code: "STRING_VALUE",
|
|
208
|
+
* type: "STRING_VALUE",
|
|
209
|
+
* category: "STRING_VALUE",
|
|
210
|
+
* description: "STRING_VALUE",
|
|
211
|
+
* additionalInformation: "STRING_VALUE",
|
|
212
|
+
* imageLink: "STRING_VALUE",
|
|
213
|
+
* link: "STRING_VALUE",
|
|
214
|
+
* createdAt: "STRING_VALUE",
|
|
215
|
+
* updatedAt: "STRING_VALUE",
|
|
216
|
+
* price: "STRING_VALUE",
|
|
217
|
+
* attributes: { // ProfileCatalogItemAttributes
|
|
218
|
+
* "<keys>": "STRING_VALUE",
|
|
219
|
+
* },
|
|
220
|
+
* },
|
|
221
|
+
* },
|
|
222
|
+
* ],
|
|
223
|
+
* calculatedAttributes: { // CalculatedAttributes
|
|
224
|
+
* "<keys>": "STRING_VALUE",
|
|
225
|
+
* },
|
|
201
226
|
* },
|
|
202
227
|
* customAttributes: {
|
|
203
228
|
* "<keys>": "STRING_VALUE",
|
|
204
229
|
* },
|
|
230
|
+
* caseAttributes: { // CaseAttributes
|
|
231
|
+
* "<keys>": "STRING_VALUE",
|
|
232
|
+
* },
|
|
205
233
|
* },
|
|
206
234
|
* };
|
|
207
235
|
* const command = new UpdateMessageTemplateCommand(input);
|
|
@@ -391,10 +419,38 @@ declare const UpdateMessageTemplateCommand_base: {
|
|
|
391
419
|
* // custom: { // CustomAttributes
|
|
392
420
|
* // "<keys>": "STRING_VALUE",
|
|
393
421
|
* // },
|
|
422
|
+
* // recommendations: [ // ProfileRecommendations
|
|
423
|
+
* // { // ProfileRecommendation
|
|
424
|
+
* // score: Number("double"),
|
|
425
|
+
* // catalogItem: { // ProfileCatalogItem
|
|
426
|
+
* // id: "STRING_VALUE",
|
|
427
|
+
* // name: "STRING_VALUE",
|
|
428
|
+
* // code: "STRING_VALUE",
|
|
429
|
+
* // type: "STRING_VALUE",
|
|
430
|
+
* // category: "STRING_VALUE",
|
|
431
|
+
* // description: "STRING_VALUE",
|
|
432
|
+
* // additionalInformation: "STRING_VALUE",
|
|
433
|
+
* // imageLink: "STRING_VALUE",
|
|
434
|
+
* // link: "STRING_VALUE",
|
|
435
|
+
* // createdAt: "STRING_VALUE",
|
|
436
|
+
* // updatedAt: "STRING_VALUE",
|
|
437
|
+
* // price: "STRING_VALUE",
|
|
438
|
+
* // attributes: { // ProfileCatalogItemAttributes
|
|
439
|
+
* // "<keys>": "STRING_VALUE",
|
|
440
|
+
* // },
|
|
441
|
+
* // },
|
|
442
|
+
* // },
|
|
443
|
+
* // ],
|
|
444
|
+
* // calculatedAttributes: { // CalculatedAttributes
|
|
445
|
+
* // "<keys>": "STRING_VALUE",
|
|
446
|
+
* // },
|
|
394
447
|
* // },
|
|
395
448
|
* // customAttributes: {
|
|
396
449
|
* // "<keys>": "STRING_VALUE",
|
|
397
450
|
* // },
|
|
451
|
+
* // caseAttributes: { // CaseAttributes
|
|
452
|
+
* // "<keys>": "STRING_VALUE",
|
|
453
|
+
* // },
|
|
398
454
|
* // },
|
|
399
455
|
* // attributeTypes: [ // MessageTemplateAttributeTypeList
|
|
400
456
|
* // "STRING_VALUE",
|
|
@@ -232,10 +232,38 @@ declare const UpdateMessageTemplateMetadataCommand_base: {
|
|
|
232
232
|
* // custom: { // CustomAttributes
|
|
233
233
|
* // "<keys>": "STRING_VALUE",
|
|
234
234
|
* // },
|
|
235
|
+
* // recommendations: [ // ProfileRecommendations
|
|
236
|
+
* // { // ProfileRecommendation
|
|
237
|
+
* // score: Number("double"),
|
|
238
|
+
* // catalogItem: { // ProfileCatalogItem
|
|
239
|
+
* // id: "STRING_VALUE",
|
|
240
|
+
* // name: "STRING_VALUE",
|
|
241
|
+
* // code: "STRING_VALUE",
|
|
242
|
+
* // type: "STRING_VALUE",
|
|
243
|
+
* // category: "STRING_VALUE",
|
|
244
|
+
* // description: "STRING_VALUE",
|
|
245
|
+
* // additionalInformation: "STRING_VALUE",
|
|
246
|
+
* // imageLink: "STRING_VALUE",
|
|
247
|
+
* // link: "STRING_VALUE",
|
|
248
|
+
* // createdAt: "STRING_VALUE",
|
|
249
|
+
* // updatedAt: "STRING_VALUE",
|
|
250
|
+
* // price: "STRING_VALUE",
|
|
251
|
+
* // attributes: { // ProfileCatalogItemAttributes
|
|
252
|
+
* // "<keys>": "STRING_VALUE",
|
|
253
|
+
* // },
|
|
254
|
+
* // },
|
|
255
|
+
* // },
|
|
256
|
+
* // ],
|
|
257
|
+
* // calculatedAttributes: { // CalculatedAttributes
|
|
258
|
+
* // "<keys>": "STRING_VALUE",
|
|
259
|
+
* // },
|
|
235
260
|
* // },
|
|
236
261
|
* // customAttributes: {
|
|
237
262
|
* // "<keys>": "STRING_VALUE",
|
|
238
263
|
* // },
|
|
264
|
+
* // caseAttributes: { // CaseAttributes
|
|
265
|
+
* // "<keys>": "STRING_VALUE",
|
|
266
|
+
* // },
|
|
239
267
|
* // },
|
|
240
268
|
* // attributeTypes: [ // MessageTemplateAttributeTypeList
|
|
241
269
|
* // "STRING_VALUE",
|
|
@@ -916,6 +916,7 @@ export type PushMessageAction = (typeof PushMessageAction)[keyof typeof PushMess
|
|
|
916
916
|
*/
|
|
917
917
|
export declare const MessageTemplateAttributeType: {
|
|
918
918
|
readonly AGENT: "AGENT";
|
|
919
|
+
readonly CASE: "CASE";
|
|
919
920
|
readonly CUSTOM: "CUSTOM";
|
|
920
921
|
readonly CUSTOMER_PROFILE: "CUSTOMER_PROFILE";
|
|
921
922
|
readonly SYSTEM: "SYSTEM";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantGlobalResiliencyStatus, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GlobalResiliencyStatus, GuardrailAction, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailPolicyType, GuardrailSensitiveInformationAction, GuardrailSource, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType,
|
|
2
|
+
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantGlobalResiliencyStatus, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GlobalResiliencyStatus, GuardrailAction, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailPolicyType, GuardrailSensitiveInformationAction, GuardrailSource, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, RetrieveErrorCode, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -7281,6 +7281,93 @@ export declare namespace MessageTemplateContentProvider {
|
|
|
7281
7281
|
_: (name: string, value: any) => T;
|
|
7282
7282
|
}
|
|
7283
7283
|
}
|
|
7284
|
+
/**
|
|
7285
|
+
* <p>Contains information about a catalog item, including its identifier, name, price, and other attributes that are used in recommendations.</p>
|
|
7286
|
+
* @public
|
|
7287
|
+
*/
|
|
7288
|
+
export interface ProfileCatalogItem {
|
|
7289
|
+
/**
|
|
7290
|
+
* <p>The unique identifier of the catalog item.</p>
|
|
7291
|
+
* @public
|
|
7292
|
+
*/
|
|
7293
|
+
id?: string | undefined;
|
|
7294
|
+
/**
|
|
7295
|
+
* <p>The name of the catalog item.</p>
|
|
7296
|
+
* @public
|
|
7297
|
+
*/
|
|
7298
|
+
name?: string | undefined;
|
|
7299
|
+
/**
|
|
7300
|
+
* <p>The code of the catalog item.</p>
|
|
7301
|
+
* @public
|
|
7302
|
+
*/
|
|
7303
|
+
code?: string | undefined;
|
|
7304
|
+
/**
|
|
7305
|
+
* <p>The type of the catalog item.</p>
|
|
7306
|
+
* @public
|
|
7307
|
+
*/
|
|
7308
|
+
type?: string | undefined;
|
|
7309
|
+
/**
|
|
7310
|
+
* <p>The category of the catalog item.</p>
|
|
7311
|
+
* @public
|
|
7312
|
+
*/
|
|
7313
|
+
category?: string | undefined;
|
|
7314
|
+
/**
|
|
7315
|
+
* <p>The description of the catalog item.</p>
|
|
7316
|
+
* @public
|
|
7317
|
+
*/
|
|
7318
|
+
description?: string | undefined;
|
|
7319
|
+
/**
|
|
7320
|
+
* <p>Additional information about the catalog item.</p>
|
|
7321
|
+
* @public
|
|
7322
|
+
*/
|
|
7323
|
+
additionalInformation?: string | undefined;
|
|
7324
|
+
/**
|
|
7325
|
+
* <p>The URL of the image of the catalog item.</p>
|
|
7326
|
+
* @public
|
|
7327
|
+
*/
|
|
7328
|
+
imageLink?: string | undefined;
|
|
7329
|
+
/**
|
|
7330
|
+
* <p>The URL of the catalog item.</p>
|
|
7331
|
+
* @public
|
|
7332
|
+
*/
|
|
7333
|
+
link?: string | undefined;
|
|
7334
|
+
/**
|
|
7335
|
+
* <p>The timestamp when the catalog item was created.</p>
|
|
7336
|
+
* @public
|
|
7337
|
+
*/
|
|
7338
|
+
createdAt?: string | undefined;
|
|
7339
|
+
/**
|
|
7340
|
+
* <p>The timestamp when the catalog item was last updated.</p>
|
|
7341
|
+
* @public
|
|
7342
|
+
*/
|
|
7343
|
+
updatedAt?: string | undefined;
|
|
7344
|
+
/**
|
|
7345
|
+
* <p>The price of the catalog item.</p>
|
|
7346
|
+
* @public
|
|
7347
|
+
*/
|
|
7348
|
+
price?: string | undefined;
|
|
7349
|
+
/**
|
|
7350
|
+
* <p>The custom attributes of the catalog item.</p>
|
|
7351
|
+
* @public
|
|
7352
|
+
*/
|
|
7353
|
+
attributes?: Record<string, string> | undefined;
|
|
7354
|
+
}
|
|
7355
|
+
/**
|
|
7356
|
+
* <p>Contains information about a recommendation that is associated with a customer profile, including the relevance score and the associated catalog item.</p>
|
|
7357
|
+
* @public
|
|
7358
|
+
*/
|
|
7359
|
+
export interface ProfileRecommendation {
|
|
7360
|
+
/**
|
|
7361
|
+
* <p>The relevance score of the recommendation.</p>
|
|
7362
|
+
* @public
|
|
7363
|
+
*/
|
|
7364
|
+
score?: number | undefined;
|
|
7365
|
+
/**
|
|
7366
|
+
* <p>The catalog item that is associated with the recommendation.</p>
|
|
7367
|
+
* @public
|
|
7368
|
+
*/
|
|
7369
|
+
catalogItem?: ProfileCatalogItem | undefined;
|
|
7370
|
+
}
|
|
7284
7371
|
/**
|
|
7285
7372
|
* <p>The customer profile attributes that are used with the message template.</p>
|
|
7286
7373
|
* @public
|
|
@@ -7576,6 +7663,16 @@ export interface CustomerProfileAttributes {
|
|
|
7576
7663
|
* @public
|
|
7577
7664
|
*/
|
|
7578
7665
|
custom?: Record<string, string> | undefined;
|
|
7666
|
+
/**
|
|
7667
|
+
* <p>The recommendations that are associated with the customer profile.</p>
|
|
7668
|
+
* @public
|
|
7669
|
+
*/
|
|
7670
|
+
recommendations?: ProfileRecommendation[] | undefined;
|
|
7671
|
+
/**
|
|
7672
|
+
* <p>The calculated attributes from the customer profile that are used with the message template.</p>
|
|
7673
|
+
* @public
|
|
7674
|
+
*/
|
|
7675
|
+
calculatedAttributes?: Record<string, string> | undefined;
|
|
7579
7676
|
}
|
|
7580
7677
|
/**
|
|
7581
7678
|
* <p>The system endpoint attributes that are used with the message template.</p>
|
|
@@ -7634,6 +7731,11 @@ export interface MessageTemplateAttributes {
|
|
|
7634
7731
|
* @public
|
|
7635
7732
|
*/
|
|
7636
7733
|
customAttributes?: Record<string, string> | undefined;
|
|
7734
|
+
/**
|
|
7735
|
+
* <p>The case attributes that are used with the message template.</p>
|
|
7736
|
+
* @public
|
|
7737
|
+
*/
|
|
7738
|
+
caseAttributes?: Record<string, string> | undefined;
|
|
7637
7739
|
}
|
|
7638
7740
|
/**
|
|
7639
7741
|
* <p>The configuration information of the grouping of Amazon Q in Connect users.</p>
|
|
@@ -7806,137 +7908,3 @@ export interface WhatsAppMessageTemplateSourceConfigurationSummary {
|
|
|
7806
7908
|
*/
|
|
7807
7909
|
statusReason?: string | undefined;
|
|
7808
7910
|
}
|
|
7809
|
-
/**
|
|
7810
|
-
* <p>The container of message template source configuration summary.</p>
|
|
7811
|
-
* @public
|
|
7812
|
-
*/
|
|
7813
|
-
export type MessageTemplateSourceConfigurationSummary = MessageTemplateSourceConfigurationSummary.WhatsAppMember | MessageTemplateSourceConfigurationSummary.$UnknownMember;
|
|
7814
|
-
/**
|
|
7815
|
-
* @public
|
|
7816
|
-
*/
|
|
7817
|
-
export declare namespace MessageTemplateSourceConfigurationSummary {
|
|
7818
|
-
/**
|
|
7819
|
-
* <p>The sourceConfiguration summary of the message template that applies to the WHATSAPP channel subtype.</p>
|
|
7820
|
-
* @public
|
|
7821
|
-
*/
|
|
7822
|
-
interface WhatsAppMember {
|
|
7823
|
-
whatsApp: WhatsAppMessageTemplateSourceConfigurationSummary;
|
|
7824
|
-
$unknown?: never;
|
|
7825
|
-
}
|
|
7826
|
-
/**
|
|
7827
|
-
* @public
|
|
7828
|
-
*/
|
|
7829
|
-
interface $UnknownMember {
|
|
7830
|
-
whatsApp?: never;
|
|
7831
|
-
$unknown: [string, any];
|
|
7832
|
-
}
|
|
7833
|
-
/**
|
|
7834
|
-
* @deprecated unused in schema-serde mode.
|
|
7835
|
-
*
|
|
7836
|
-
*/
|
|
7837
|
-
interface Visitor<T> {
|
|
7838
|
-
whatsApp: (value: WhatsAppMessageTemplateSourceConfigurationSummary) => T;
|
|
7839
|
-
_: (name: string, value: any) => T;
|
|
7840
|
-
}
|
|
7841
|
-
}
|
|
7842
|
-
/**
|
|
7843
|
-
* <p>The data of a message template.</p>
|
|
7844
|
-
* @public
|
|
7845
|
-
*/
|
|
7846
|
-
export interface MessageTemplateData {
|
|
7847
|
-
/**
|
|
7848
|
-
* <p>The Amazon Resource Name (ARN) of the message template.</p>
|
|
7849
|
-
* @public
|
|
7850
|
-
*/
|
|
7851
|
-
messageTemplateArn: string | undefined;
|
|
7852
|
-
/**
|
|
7853
|
-
* <p>The identifier of the message template.</p>
|
|
7854
|
-
* @public
|
|
7855
|
-
*/
|
|
7856
|
-
messageTemplateId: string | undefined;
|
|
7857
|
-
/**
|
|
7858
|
-
* <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
|
|
7859
|
-
* @public
|
|
7860
|
-
*/
|
|
7861
|
-
knowledgeBaseArn: string | undefined;
|
|
7862
|
-
/**
|
|
7863
|
-
* <p>The identifier of the knowledge base.</p>
|
|
7864
|
-
* @public
|
|
7865
|
-
*/
|
|
7866
|
-
knowledgeBaseId: string | undefined;
|
|
7867
|
-
/**
|
|
7868
|
-
* <p>The name of the message template.</p>
|
|
7869
|
-
* @public
|
|
7870
|
-
*/
|
|
7871
|
-
name: string | undefined;
|
|
7872
|
-
/**
|
|
7873
|
-
* <p>The channel of the message template.</p>
|
|
7874
|
-
* @public
|
|
7875
|
-
*/
|
|
7876
|
-
channel?: string | undefined;
|
|
7877
|
-
/**
|
|
7878
|
-
* <p>The channel subtype this message template applies to.</p>
|
|
7879
|
-
* @public
|
|
7880
|
-
*/
|
|
7881
|
-
channelSubtype: ChannelSubtype | undefined;
|
|
7882
|
-
/**
|
|
7883
|
-
* <p>The timestamp when the message template was created.</p>
|
|
7884
|
-
* @public
|
|
7885
|
-
*/
|
|
7886
|
-
createdTime: Date | undefined;
|
|
7887
|
-
/**
|
|
7888
|
-
* <p>The timestamp when the message template data was last modified.</p>
|
|
7889
|
-
* @public
|
|
7890
|
-
*/
|
|
7891
|
-
lastModifiedTime: Date | undefined;
|
|
7892
|
-
/**
|
|
7893
|
-
* <p>The Amazon Resource Name (ARN) of the user who last updated the message template data.</p>
|
|
7894
|
-
* @public
|
|
7895
|
-
*/
|
|
7896
|
-
lastModifiedBy: string | undefined;
|
|
7897
|
-
/**
|
|
7898
|
-
* <p>The content of the message template.</p>
|
|
7899
|
-
* @public
|
|
7900
|
-
*/
|
|
7901
|
-
content?: MessageTemplateContentProvider | undefined;
|
|
7902
|
-
/**
|
|
7903
|
-
* <p>The description of the message template.</p>
|
|
7904
|
-
* @public
|
|
7905
|
-
*/
|
|
7906
|
-
description?: string | undefined;
|
|
7907
|
-
/**
|
|
7908
|
-
* <p>The language code value for the language in which the quick response is written. The supported language codes include <code>de_DE</code>, <code>en_US</code>, <code>es_ES</code>, <code>fr_FR</code>, <code>id_ID</code>, <code>it_IT</code>, <code>ja_JP</code>, <code>ko_KR</code>, <code>pt_BR</code>, <code>zh_CN</code>, <code>zh_TW</code> </p>
|
|
7909
|
-
* @public
|
|
7910
|
-
*/
|
|
7911
|
-
language?: string | undefined;
|
|
7912
|
-
/**
|
|
7913
|
-
* <p>The source configuration summary of the message template.</p>
|
|
7914
|
-
* @public
|
|
7915
|
-
*/
|
|
7916
|
-
sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined;
|
|
7917
|
-
/**
|
|
7918
|
-
* <p>The configuration information of the grouping of Amazon Q in Connect users.</p>
|
|
7919
|
-
* @public
|
|
7920
|
-
*/
|
|
7921
|
-
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
7922
|
-
/**
|
|
7923
|
-
* <p>An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.</p>
|
|
7924
|
-
* @public
|
|
7925
|
-
*/
|
|
7926
|
-
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
7927
|
-
/**
|
|
7928
|
-
* <p>The types of attributes that the message template contains.</p>
|
|
7929
|
-
* @public
|
|
7930
|
-
*/
|
|
7931
|
-
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
7932
|
-
/**
|
|
7933
|
-
* <p>The checksum value of the message template content that is referenced by the <code>$LATEST</code> qualifier. It can be returned in <code>MessageTemplateData</code> or <code>ExtendedMessageTemplateData</code>. It’s calculated by content, language, <code>defaultAttributes</code> and <code>Attachments</code> of the message template.</p>
|
|
7934
|
-
* @public
|
|
7935
|
-
*/
|
|
7936
|
-
messageTemplateContentSha256: string | undefined;
|
|
7937
|
-
/**
|
|
7938
|
-
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
7939
|
-
* @public
|
|
7940
|
-
*/
|
|
7941
|
-
tags?: Record<string, string> | undefined;
|
|
7942
|
-
}
|
|
@@ -1,5 +1,139 @@
|
|
|
1
1
|
import type { AIAgentType, AIPromptType, ChannelSubtype, ContentDisposition, ExternalSource, ImportJobStatus, ImportJobType, InteractionMode, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateAttributeType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, ReturnReason, SpanStatus, SpanType } from "./enums";
|
|
2
|
-
import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttributes, MessageTemplateContentProvider,
|
|
2
|
+
import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateSourceConfiguration, NotesChunkDataDetails, NotesDataDetails, ProactiveRecommendationDataDetails, RankingData, RecommendationTrigger, RenderingConfiguration, ReplicaKmsKey, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanGuardrailAssessment, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration, WhatsAppMessageTemplateSourceConfigurationSummary } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The container of message template source configuration summary.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type MessageTemplateSourceConfigurationSummary = MessageTemplateSourceConfigurationSummary.WhatsAppMember | MessageTemplateSourceConfigurationSummary.$UnknownMember;
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare namespace MessageTemplateSourceConfigurationSummary {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The sourceConfiguration summary of the message template that applies to the WHATSAPP channel subtype.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
interface WhatsAppMember {
|
|
17
|
+
whatsApp: WhatsAppMessageTemplateSourceConfigurationSummary;
|
|
18
|
+
$unknown?: never;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
interface $UnknownMember {
|
|
24
|
+
whatsApp?: never;
|
|
25
|
+
$unknown: [string, any];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated unused in schema-serde mode.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
interface Visitor<T> {
|
|
32
|
+
whatsApp: (value: WhatsAppMessageTemplateSourceConfigurationSummary) => T;
|
|
33
|
+
_: (name: string, value: any) => T;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>The data of a message template.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface MessageTemplateData {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The Amazon Resource Name (ARN) of the message template.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
messageTemplateArn: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The identifier of the message template.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
messageTemplateId: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
knowledgeBaseArn: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The identifier of the knowledge base.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
knowledgeBaseId: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The name of the message template.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
name: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The channel of the message template.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
channel?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>The channel subtype this message template applies to.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* <p>The timestamp when the message template was created.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
createdTime: Date | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The timestamp when the message template data was last modified.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
lastModifiedTime: Date | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The Amazon Resource Name (ARN) of the user who last updated the message template data.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
lastModifiedBy: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The content of the message template.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
content?: MessageTemplateContentProvider | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The description of the message template.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
description?: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The language code value for the language in which the quick response is written. The supported language codes include <code>de_DE</code>, <code>en_US</code>, <code>es_ES</code>, <code>fr_FR</code>, <code>id_ID</code>, <code>it_IT</code>, <code>ja_JP</code>, <code>ko_KR</code>, <code>pt_BR</code>, <code>zh_CN</code>, <code>zh_TW</code> </p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
language?: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>The source configuration summary of the message template.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The configuration information of the grouping of Amazon Q in Connect users.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The types of attributes that the message template contains.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The checksum value of the message template content that is referenced by the <code>$LATEST</code> qualifier. It can be returned in <code>MessageTemplateData</code> or <code>ExtendedMessageTemplateData</code>. It’s calculated by content, language, <code>defaultAttributes</code> and <code>Attachments</code> of the message template.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
messageTemplateContentSha256: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
tags?: Record<string, string> | undefined;
|
|
136
|
+
}
|
|
3
137
|
/**
|
|
4
138
|
* @public
|
|
5
139
|
*/
|
|
@@ -270,6 +270,8 @@ export declare var OrchestratorConfigurationEntry$: StaticStructureSchema;
|
|
|
270
270
|
export declare var ParsingConfiguration$: StaticStructureSchema;
|
|
271
271
|
export declare var ParsingPrompt$: StaticStructureSchema;
|
|
272
272
|
export declare var ProactiveRecommendationDataDetails$: StaticStructureSchema;
|
|
273
|
+
export declare var ProfileCatalogItem$: StaticStructureSchema;
|
|
274
|
+
export declare var ProfileRecommendation$: StaticStructureSchema;
|
|
273
275
|
export declare var PushADMMessageTemplateContent$: StaticStructureSchema;
|
|
274
276
|
export declare var PushAPNSMessageTemplateContent$: StaticStructureSchema;
|
|
275
277
|
export declare var PushBaiduMessageTemplateContent$: StaticStructureSchema;
|
|
@@ -470,6 +470,7 @@ export declare const PushMessageAction: {
|
|
|
470
470
|
export type PushMessageAction = (typeof PushMessageAction)[keyof typeof PushMessageAction];
|
|
471
471
|
export declare const MessageTemplateAttributeType: {
|
|
472
472
|
readonly AGENT: "AGENT";
|
|
473
|
+
readonly CASE: "CASE";
|
|
473
474
|
readonly CUSTOM: "CUSTOM";
|
|
474
475
|
readonly CUSTOMER_PROFILE: "CUSTOMER_PROFILE";
|
|
475
476
|
readonly SYSTEM: "SYSTEM";
|