@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
|
@@ -34,7 +34,6 @@ import {
|
|
|
34
34
|
KnowledgeBaseStatus,
|
|
35
35
|
KnowledgeBaseType,
|
|
36
36
|
MessageFilterType,
|
|
37
|
-
MessageTemplateAttributeType,
|
|
38
37
|
MessageType,
|
|
39
38
|
ModelLifecycle,
|
|
40
39
|
Origin,
|
|
@@ -2215,6 +2214,25 @@ export declare namespace MessageTemplateContentProvider {
|
|
|
2215
2214
|
_: (name: string, value: any) => T;
|
|
2216
2215
|
}
|
|
2217
2216
|
}
|
|
2217
|
+
export interface ProfileCatalogItem {
|
|
2218
|
+
id?: string | undefined;
|
|
2219
|
+
name?: string | undefined;
|
|
2220
|
+
code?: string | undefined;
|
|
2221
|
+
type?: string | undefined;
|
|
2222
|
+
category?: string | undefined;
|
|
2223
|
+
description?: string | undefined;
|
|
2224
|
+
additionalInformation?: string | undefined;
|
|
2225
|
+
imageLink?: string | undefined;
|
|
2226
|
+
link?: string | undefined;
|
|
2227
|
+
createdAt?: string | undefined;
|
|
2228
|
+
updatedAt?: string | undefined;
|
|
2229
|
+
price?: string | undefined;
|
|
2230
|
+
attributes?: Record<string, string> | undefined;
|
|
2231
|
+
}
|
|
2232
|
+
export interface ProfileRecommendation {
|
|
2233
|
+
score?: number | undefined;
|
|
2234
|
+
catalogItem?: ProfileCatalogItem | undefined;
|
|
2235
|
+
}
|
|
2218
2236
|
export interface CustomerProfileAttributes {
|
|
2219
2237
|
profileId?: string | undefined;
|
|
2220
2238
|
profileARN?: string | undefined;
|
|
@@ -2274,6 +2292,8 @@ export interface CustomerProfileAttributes {
|
|
|
2274
2292
|
billingProvince?: string | undefined;
|
|
2275
2293
|
billingState?: string | undefined;
|
|
2276
2294
|
custom?: Record<string, string> | undefined;
|
|
2295
|
+
recommendations?: ProfileRecommendation[] | undefined;
|
|
2296
|
+
calculatedAttributes?: Record<string, string> | undefined;
|
|
2277
2297
|
}
|
|
2278
2298
|
export interface SystemEndpointAttributes {
|
|
2279
2299
|
address?: string | undefined;
|
|
@@ -2288,6 +2308,7 @@ export interface MessageTemplateAttributes {
|
|
|
2288
2308
|
agentAttributes?: AgentAttributes | undefined;
|
|
2289
2309
|
customerProfileAttributes?: CustomerProfileAttributes | undefined;
|
|
2290
2310
|
customAttributes?: Record<string, string> | undefined;
|
|
2311
|
+
caseAttributes?: Record<string, string> | undefined;
|
|
2291
2312
|
}
|
|
2292
2313
|
export interface GroupingConfiguration {
|
|
2293
2314
|
criteria?: string | undefined;
|
|
@@ -2337,41 +2358,3 @@ export interface WhatsAppMessageTemplateSourceConfigurationSummary {
|
|
|
2337
2358
|
status?: WhatsAppSourceConfigurationStatus | undefined;
|
|
2338
2359
|
statusReason?: string | undefined;
|
|
2339
2360
|
}
|
|
2340
|
-
export type MessageTemplateSourceConfigurationSummary =
|
|
2341
|
-
| MessageTemplateSourceConfigurationSummary.WhatsAppMember
|
|
2342
|
-
| MessageTemplateSourceConfigurationSummary.$UnknownMember;
|
|
2343
|
-
export declare namespace MessageTemplateSourceConfigurationSummary {
|
|
2344
|
-
interface WhatsAppMember {
|
|
2345
|
-
whatsApp: WhatsAppMessageTemplateSourceConfigurationSummary;
|
|
2346
|
-
$unknown?: never;
|
|
2347
|
-
}
|
|
2348
|
-
interface $UnknownMember {
|
|
2349
|
-
whatsApp?: never;
|
|
2350
|
-
$unknown: [string, any];
|
|
2351
|
-
}
|
|
2352
|
-
interface Visitor<T> {
|
|
2353
|
-
whatsApp: (value: WhatsAppMessageTemplateSourceConfigurationSummary) => T;
|
|
2354
|
-
_: (name: string, value: any) => T;
|
|
2355
|
-
}
|
|
2356
|
-
}
|
|
2357
|
-
export interface MessageTemplateData {
|
|
2358
|
-
messageTemplateArn: string | undefined;
|
|
2359
|
-
messageTemplateId: string | undefined;
|
|
2360
|
-
knowledgeBaseArn: string | undefined;
|
|
2361
|
-
knowledgeBaseId: string | undefined;
|
|
2362
|
-
name: string | undefined;
|
|
2363
|
-
channel?: string | undefined;
|
|
2364
|
-
channelSubtype: ChannelSubtype | undefined;
|
|
2365
|
-
createdTime: Date | undefined;
|
|
2366
|
-
lastModifiedTime: Date | undefined;
|
|
2367
|
-
lastModifiedBy: string | undefined;
|
|
2368
|
-
content?: MessageTemplateContentProvider | undefined;
|
|
2369
|
-
description?: string | undefined;
|
|
2370
|
-
language?: string | undefined;
|
|
2371
|
-
sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined;
|
|
2372
|
-
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
2373
|
-
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
2374
|
-
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
2375
|
-
messageTemplateContentSha256: string | undefined;
|
|
2376
|
-
tags?: Record<string, string> | undefined;
|
|
2377
|
-
}
|
|
@@ -42,9 +42,7 @@ import {
|
|
|
42
42
|
KnowledgeSource,
|
|
43
43
|
MessageTemplateAttributes,
|
|
44
44
|
MessageTemplateContentProvider,
|
|
45
|
-
MessageTemplateData,
|
|
46
45
|
MessageTemplateSourceConfiguration,
|
|
47
|
-
MessageTemplateSourceConfigurationSummary,
|
|
48
46
|
NotesChunkDataDetails,
|
|
49
47
|
NotesDataDetails,
|
|
50
48
|
ProactiveRecommendationDataDetails,
|
|
@@ -62,7 +60,46 @@ import {
|
|
|
62
60
|
SpanToolUseValue,
|
|
63
61
|
SuggestedMessageDataDetails,
|
|
64
62
|
VectorIngestionConfiguration,
|
|
63
|
+
WhatsAppMessageTemplateSourceConfigurationSummary,
|
|
65
64
|
} from "./models_0";
|
|
65
|
+
export type MessageTemplateSourceConfigurationSummary =
|
|
66
|
+
| MessageTemplateSourceConfigurationSummary.WhatsAppMember
|
|
67
|
+
| MessageTemplateSourceConfigurationSummary.$UnknownMember;
|
|
68
|
+
export declare namespace MessageTemplateSourceConfigurationSummary {
|
|
69
|
+
interface WhatsAppMember {
|
|
70
|
+
whatsApp: WhatsAppMessageTemplateSourceConfigurationSummary;
|
|
71
|
+
$unknown?: never;
|
|
72
|
+
}
|
|
73
|
+
interface $UnknownMember {
|
|
74
|
+
whatsApp?: never;
|
|
75
|
+
$unknown: [string, any];
|
|
76
|
+
}
|
|
77
|
+
interface Visitor<T> {
|
|
78
|
+
whatsApp: (value: WhatsAppMessageTemplateSourceConfigurationSummary) => T;
|
|
79
|
+
_: (name: string, value: any) => T;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export interface MessageTemplateData {
|
|
83
|
+
messageTemplateArn: string | undefined;
|
|
84
|
+
messageTemplateId: string | undefined;
|
|
85
|
+
knowledgeBaseArn: string | undefined;
|
|
86
|
+
knowledgeBaseId: string | undefined;
|
|
87
|
+
name: string | undefined;
|
|
88
|
+
channel?: string | undefined;
|
|
89
|
+
channelSubtype: ChannelSubtype | undefined;
|
|
90
|
+
createdTime: Date | undefined;
|
|
91
|
+
lastModifiedTime: Date | undefined;
|
|
92
|
+
lastModifiedBy: string | undefined;
|
|
93
|
+
content?: MessageTemplateContentProvider | undefined;
|
|
94
|
+
description?: string | undefined;
|
|
95
|
+
language?: string | undefined;
|
|
96
|
+
sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined;
|
|
97
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
98
|
+
defaultAttributes?: MessageTemplateAttributes | undefined;
|
|
99
|
+
attributeTypes?: MessageTemplateAttributeType[] | undefined;
|
|
100
|
+
messageTemplateContentSha256: string | undefined;
|
|
101
|
+
tags?: Record<string, string> | undefined;
|
|
102
|
+
}
|
|
66
103
|
export interface CreateMessageTemplateResponse {
|
|
67
104
|
messageTemplate?: MessageTemplateData | undefined;
|
|
68
105
|
}
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qconnect",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1169.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",
|