@aws-sdk/client-connect 3.1060.0 → 3.1061.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 +11 -6
- package/dist-cjs/schemas/schemas_0.js +74 -47
- package/dist-es/schemas/schemas_0.js +43 -16
- package/dist-types/Connect.d.ts +12 -7
- package/dist-types/ConnectClient.d.ts +12 -7
- package/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
- package/dist-types/commands/SearchContactsCommand.d.ts +17 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
- package/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
- package/dist-types/index.d.ts +12 -7
- package/dist-types/models/models_0.d.ts +40 -37
- package/dist-types/models/models_1.d.ts +152 -59
- package/dist-types/models/models_2.d.ts +69 -63
- package/dist-types/models/models_3.d.ts +72 -16
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +9 -10
- package/dist-types/ts3.4/models/models_1.d.ts +9 -10
- package/dist-types/ts3.4/models/models_2.d.ts +19 -15
- package/dist-types/ts3.4/models/models_3.d.ts +17 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetMetricDataV2Response,
|
|
11
|
-
} from "../models/models_1";
|
|
8
|
+
import { GetMetricDataV2Request } from "../models/models_1";
|
|
9
|
+
import { GetMetricDataV2Response } from "../models/models_2";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface GetMetricDataV2CommandInput extends GetMetricDataV2Request {}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
SearchPromptsRequest,
|
|
10
|
+
SearchPromptsResponse,
|
|
11
|
+
} from "../models/models_3";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface SearchPromptsCommandInput extends SearchPromptsRequest {}
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import { SearchQueuesResponse } from "../models/
|
|
9
|
-
import { SearchQueuesRequest } from "../models/models_3";
|
|
8
|
+
import { SearchQueuesRequest, SearchQueuesResponse } from "../models/models_3";
|
|
10
9
|
export { __MetadataBearer };
|
|
11
10
|
export { $Command };
|
|
12
11
|
export interface SearchQueuesCommandInput extends SearchQueuesRequest {}
|
|
@@ -79,7 +79,6 @@ import {
|
|
|
79
79
|
ViewStatus,
|
|
80
80
|
ViewType,
|
|
81
81
|
VocabularyLanguageCode,
|
|
82
|
-
VocabularyState,
|
|
83
82
|
VoiceEnhancementMode,
|
|
84
83
|
} from "./enums";
|
|
85
84
|
export interface ActionSummary {
|
|
@@ -252,6 +251,15 @@ export interface AiAgentInfo {
|
|
|
252
251
|
AiAgentVersionId?: string | undefined;
|
|
253
252
|
AiAgentEscalated?: boolean | undefined;
|
|
254
253
|
}
|
|
254
|
+
export interface AiAgentSearchCriteria {
|
|
255
|
+
Id?: string | undefined;
|
|
256
|
+
VersionNumber?: number | undefined;
|
|
257
|
+
AiAgentEscalated?: boolean | undefined;
|
|
258
|
+
AiUseCase?: AiUseCase | undefined;
|
|
259
|
+
}
|
|
260
|
+
export interface AiAgentsCriteria {
|
|
261
|
+
Criteria?: AiAgentSearchCriteria[] | undefined;
|
|
262
|
+
}
|
|
255
263
|
export interface AliasConfiguration {
|
|
256
264
|
EmailAddressId: string | undefined;
|
|
257
265
|
}
|
|
@@ -1749,12 +1757,3 @@ export interface CreateVocabularyRequest {
|
|
|
1749
1757
|
Content: string | undefined;
|
|
1750
1758
|
Tags?: Record<string, string> | undefined;
|
|
1751
1759
|
}
|
|
1752
|
-
export interface CreateVocabularyResponse {
|
|
1753
|
-
VocabularyArn: string | undefined;
|
|
1754
|
-
VocabularyId: string | undefined;
|
|
1755
|
-
State: VocabularyState | undefined;
|
|
1756
|
-
}
|
|
1757
|
-
export interface ImagesLogo {
|
|
1758
|
-
Default?: string | undefined;
|
|
1759
|
-
Favicon?: string | undefined;
|
|
1760
|
-
}
|
|
@@ -84,7 +84,6 @@ import {
|
|
|
84
84
|
GranularAccessControlConfiguration,
|
|
85
85
|
HoursOfOperationConfig,
|
|
86
86
|
HoursOfOperationOverrideConfig,
|
|
87
|
-
ImagesLogo,
|
|
88
87
|
InstanceStorageConfig,
|
|
89
88
|
LexBot,
|
|
90
89
|
LexV2Bot,
|
|
@@ -112,6 +111,15 @@ import {
|
|
|
112
111
|
View,
|
|
113
112
|
VoiceEnhancementConfig,
|
|
114
113
|
} from "./models_0";
|
|
114
|
+
export interface CreateVocabularyResponse {
|
|
115
|
+
VocabularyArn: string | undefined;
|
|
116
|
+
VocabularyId: string | undefined;
|
|
117
|
+
State: VocabularyState | undefined;
|
|
118
|
+
}
|
|
119
|
+
export interface ImagesLogo {
|
|
120
|
+
Default?: string | undefined;
|
|
121
|
+
Favicon?: string | undefined;
|
|
122
|
+
}
|
|
115
123
|
export interface WorkspaceThemeImages {
|
|
116
124
|
Logo?: ImagesLogo | undefined;
|
|
117
125
|
}
|
|
@@ -1759,12 +1767,3 @@ export interface MetricInterval {
|
|
|
1759
1767
|
StartTime?: Date | undefined;
|
|
1760
1768
|
EndTime?: Date | undefined;
|
|
1761
1769
|
}
|
|
1762
|
-
export interface MetricResultV2 {
|
|
1763
|
-
Dimensions?: Record<string, string> | undefined;
|
|
1764
|
-
MetricInterval?: MetricInterval | undefined;
|
|
1765
|
-
Collections?: MetricDataV2[] | undefined;
|
|
1766
|
-
}
|
|
1767
|
-
export interface GetMetricDataV2Response {
|
|
1768
|
-
NextToken?: string | undefined;
|
|
1769
|
-
MetricResults?: MetricResultV2[] | undefined;
|
|
1770
|
-
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentStatusType,
|
|
3
|
+
AiUseCase,
|
|
3
4
|
ArtifactStatus,
|
|
4
5
|
AttachmentScope,
|
|
5
6
|
AutoEvaluationStatus,
|
|
@@ -73,6 +74,7 @@ import {
|
|
|
73
74
|
AgentHierarchyGroups,
|
|
74
75
|
AgentStatus,
|
|
75
76
|
AgentStatusSummary,
|
|
77
|
+
AiAgentsCriteria,
|
|
76
78
|
AliasConfiguration,
|
|
77
79
|
AnalyticsDataAssociationResult,
|
|
78
80
|
Application,
|
|
@@ -105,11 +107,20 @@ import {
|
|
|
105
107
|
HoursOfOperation,
|
|
106
108
|
HoursOfOperationOverride,
|
|
107
109
|
HoursOfOperationsIdentifier,
|
|
110
|
+
MetricDataV2,
|
|
111
|
+
MetricInterval,
|
|
108
112
|
Notification,
|
|
109
113
|
PredefinedAttribute,
|
|
110
|
-
Prompt,
|
|
111
|
-
Queue,
|
|
112
114
|
} from "./models_1";
|
|
115
|
+
export interface MetricResultV2 {
|
|
116
|
+
Dimensions?: Record<string, string> | undefined;
|
|
117
|
+
MetricInterval?: MetricInterval | undefined;
|
|
118
|
+
Collections?: MetricDataV2[] | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface GetMetricDataV2Response {
|
|
121
|
+
NextToken?: string | undefined;
|
|
122
|
+
MetricResults?: MetricResultV2[] | undefined;
|
|
123
|
+
}
|
|
113
124
|
export interface GetPromptFileRequest {
|
|
114
125
|
InstanceId: string | undefined;
|
|
115
126
|
PromptId: string | undefined;
|
|
@@ -1896,6 +1907,7 @@ export interface SearchCriteria {
|
|
|
1896
1907
|
SearchableSegmentAttributes?: SearchableSegmentAttributes | undefined;
|
|
1897
1908
|
ActiveRegions?: string[] | undefined;
|
|
1898
1909
|
ContactTags?: ControlPlaneTagFilter | undefined;
|
|
1910
|
+
AiAgents?: AiAgentsCriteria | undefined;
|
|
1899
1911
|
}
|
|
1900
1912
|
export interface Sort {
|
|
1901
1913
|
FieldName: SortableFieldName | undefined;
|
|
@@ -1913,6 +1925,11 @@ export interface ContactSearchSummaryAgentInfo {
|
|
|
1913
1925
|
Id?: string | undefined;
|
|
1914
1926
|
ConnectedToAgentTimestamp?: Date | undefined;
|
|
1915
1927
|
}
|
|
1928
|
+
export interface ContactSearchSummaryAiAgentInfo {
|
|
1929
|
+
AiAgentVersionId?: string | undefined;
|
|
1930
|
+
AiAgentEscalated?: boolean | undefined;
|
|
1931
|
+
AiUseCase?: AiUseCase | undefined;
|
|
1932
|
+
}
|
|
1916
1933
|
export interface ContactSearchSummaryQueueInfo {
|
|
1917
1934
|
Id?: string | undefined;
|
|
1918
1935
|
EnqueueTimestamp?: Date | undefined;
|
|
@@ -2015,16 +2032,3 @@ export interface SearchPredefinedAttributesResponse {
|
|
|
2015
2032
|
export interface PromptSearchFilter {
|
|
2016
2033
|
TagFilter?: ControlPlaneTagFilter | undefined;
|
|
2017
2034
|
}
|
|
2018
|
-
export interface SearchPromptsResponse {
|
|
2019
|
-
Prompts?: Prompt[] | undefined;
|
|
2020
|
-
NextToken?: string | undefined;
|
|
2021
|
-
ApproximateTotalCount?: number | undefined;
|
|
2022
|
-
}
|
|
2023
|
-
export interface QueueSearchFilter {
|
|
2024
|
-
TagFilter?: ControlPlaneTagFilter | undefined;
|
|
2025
|
-
}
|
|
2026
|
-
export interface SearchQueuesResponse {
|
|
2027
|
-
Queues?: Queue[] | undefined;
|
|
2028
|
-
NextToken?: string | undefined;
|
|
2029
|
-
ApproximateTotalCount?: number | undefined;
|
|
2030
|
-
}
|
|
@@ -128,7 +128,9 @@ import {
|
|
|
128
128
|
GlobalResiliencyMetadata,
|
|
129
129
|
HierarchyGroup,
|
|
130
130
|
NextContactEntry,
|
|
131
|
+
Prompt,
|
|
131
132
|
QualityMetrics,
|
|
133
|
+
Queue,
|
|
132
134
|
QueueInfo,
|
|
133
135
|
QuickConnect,
|
|
134
136
|
RecordingInfo,
|
|
@@ -143,6 +145,7 @@ import {
|
|
|
143
145
|
ContactFlowModuleSearchFilter,
|
|
144
146
|
ContactFlowSearchFilter,
|
|
145
147
|
ContactSearchSummaryAgentInfo,
|
|
148
|
+
ContactSearchSummaryAiAgentInfo,
|
|
146
149
|
ContactSearchSummaryQueueInfo,
|
|
147
150
|
ControlPlaneTagFilter,
|
|
148
151
|
DataTableSearchFilter,
|
|
@@ -156,10 +159,22 @@ import {
|
|
|
156
159
|
NotificationSearchFilter,
|
|
157
160
|
NumberCondition,
|
|
158
161
|
PromptSearchFilter,
|
|
159
|
-
QueueSearchFilter,
|
|
160
162
|
SignInConfig,
|
|
161
163
|
TelephonyConfig,
|
|
162
164
|
} from "./models_2";
|
|
165
|
+
export interface SearchPromptsResponse {
|
|
166
|
+
Prompts?: Prompt[] | undefined;
|
|
167
|
+
NextToken?: string | undefined;
|
|
168
|
+
ApproximateTotalCount?: number | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface QueueSearchFilter {
|
|
171
|
+
TagFilter?: ControlPlaneTagFilter | undefined;
|
|
172
|
+
}
|
|
173
|
+
export interface SearchQueuesResponse {
|
|
174
|
+
Queues?: Queue[] | undefined;
|
|
175
|
+
NextToken?: string | undefined;
|
|
176
|
+
ApproximateTotalCount?: number | undefined;
|
|
177
|
+
}
|
|
163
178
|
export interface QuickConnectSearchFilter {
|
|
164
179
|
TagFilter?: ControlPlaneTagFilter | undefined;
|
|
165
180
|
}
|
|
@@ -1920,6 +1935,7 @@ export interface ContactSearchSummary {
|
|
|
1920
1935
|
RoutingCriteria?: RoutingCriteria | undefined;
|
|
1921
1936
|
Tags?: Record<string, string> | undefined;
|
|
1922
1937
|
GlobalResiliencyMetadata?: GlobalResiliencyMetadata | undefined;
|
|
1938
|
+
AiAgentInfo?: ContactSearchSummaryAiAgentInfo[] | undefined;
|
|
1923
1939
|
}
|
|
1924
1940
|
export interface DescribeContactResponse {
|
|
1925
1941
|
Contact?: Contact | undefined;
|
|
@@ -56,6 +56,8 @@ export declare var AgentStatusSearchCriteria$: StaticStructureSchema;
|
|
|
56
56
|
export declare var AgentStatusSearchFilter$: StaticStructureSchema;
|
|
57
57
|
export declare var AgentStatusSummary$: StaticStructureSchema;
|
|
58
58
|
export declare var AiAgentInfo$: StaticStructureSchema;
|
|
59
|
+
export declare var AiAgentsCriteria$: StaticStructureSchema;
|
|
60
|
+
export declare var AiAgentSearchCriteria$: StaticStructureSchema;
|
|
59
61
|
export declare var AliasConfiguration$: StaticStructureSchema;
|
|
60
62
|
export declare var AllowedCapabilities$: StaticStructureSchema;
|
|
61
63
|
export declare var AllowedExtension$: StaticStructureSchema;
|
|
@@ -183,6 +185,7 @@ export declare var ContactMetricInfo$: StaticStructureSchema;
|
|
|
183
185
|
export declare var ContactMetricResult$: StaticStructureSchema;
|
|
184
186
|
export declare var ContactSearchSummary$: StaticStructureSchema;
|
|
185
187
|
export declare var ContactSearchSummaryAgentInfo$: StaticStructureSchema;
|
|
188
|
+
export declare var ContactSearchSummaryAiAgentInfo$: StaticStructureSchema;
|
|
186
189
|
export declare var ContactSearchSummaryQueueInfo$: StaticStructureSchema;
|
|
187
190
|
export declare var ContactSearchSummarySegmentAttributeValue$: StaticStructureSchema;
|
|
188
191
|
export declare var ControlPlaneAttributeFilter$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1061.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect",
|