@aws-sdk/client-connect 3.862.0 → 3.864.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 +8 -0
- package/dist-cjs/index.js +116 -32
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/GetContactMetricsCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_1.js +11 -0
- package/dist-es/models/models_2.js +0 -29
- package/dist-es/models/models_3.js +25 -0
- package/dist-es/protocols/Aws_restJson1.js +52 -0
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +1 -2
- package/dist-types/commands/CreateAgentStatusCommand.d.ts +1 -2
- package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +1 -2
- package/dist-types/commands/CreateHoursOfOperationOverrideCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +3 -3
- package/dist-types/commands/CreateViewCommand.d.ts +4 -1
- package/dist-types/commands/CreateViewVersionCommand.d.ts +4 -1
- package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +5 -2
- package/dist-types/commands/DeleteQueueCommand.d.ts +4 -1
- package/dist-types/commands/DeleteRoutingProfileCommand.d.ts +4 -1
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -1
- package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +4 -1
- package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +4 -1
- package/dist-types/commands/DeleteViewCommand.d.ts +4 -1
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +4 -1
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +4 -1
- package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -2
- package/dist-types/commands/DescribeQueueCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -2
- package/dist-types/commands/GetContactMetricsCommand.d.ts +117 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +37 -0
- package/dist-types/commands/GetMetricDataV2Command.d.ts +37 -0
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLexBotsCommand.d.ts +1 -1
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +1 -2
- package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +1 -2
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +4 -1
- package/dist-types/commands/SearchAgentStatusesCommand.d.ts +8 -0
- package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +13 -0
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -2
- package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +4 -1
- package/dist-types/commands/UpdatePhoneNumberMetadataCommand.d.ts +4 -1
- package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -2
- package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -2
- package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -2
- package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -2
- package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -2
- package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +4 -1
- package/dist-types/commands/UpdateViewContentCommand.d.ts +4 -1
- package/dist-types/commands/UpdateViewMetadataCommand.d.ts +4 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +39 -38
- package/dist-types/models/models_1.d.ts +631 -310
- package/dist-types/models/models_2.d.ts +206 -171
- package/dist-types/models/models_3.d.ts +149 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetContactMetricsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -8
- package/dist-types/ts3.4/models/models_1.d.ts +48 -50
- package/dist-types/ts3.4/models/models_2.d.ts +52 -77
- package/dist-types/ts3.4/models/models_3.d.ts +70 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import { DeleteIntegrationAssociationRequest } from "../models/
|
|
8
|
+
import { DeleteIntegrationAssociationRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface DeleteIntegrationAssociationCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import { DeletePredefinedAttributeRequest } from "../models/
|
|
8
|
+
import { DeletePredefinedAttributeRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface DeletePredefinedAttributeCommandInput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import {
|
|
9
|
+
GetContactMetricsRequest,
|
|
10
|
+
GetContactMetricsResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetContactMetricsCommandInput
|
|
15
|
+
extends GetContactMetricsRequest {}
|
|
16
|
+
export interface GetContactMetricsCommandOutput
|
|
17
|
+
extends GetContactMetricsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetContactMetricsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetContactMetricsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetContactMetricsCommandInput,
|
|
24
|
+
GetContactMetricsCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetContactMetricsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetContactMetricsCommandInput,
|
|
33
|
+
GetContactMetricsCommandOutput,
|
|
34
|
+
ConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetContactMetricsCommand extends GetContactMetricsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetContactMetricsRequest;
|
|
44
|
+
output: GetContactMetricsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetContactMetricsCommandInput;
|
|
48
|
+
output: GetContactMetricsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListIntegrationAssociationsRequest,
|
|
10
10
|
ListIntegrationAssociationsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_2";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListIntegrationAssociationsCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import { ListLexBotsRequest, ListLexBotsResponse } from "../models/
|
|
8
|
+
import { ListLexBotsRequest, ListLexBotsResponse } from "../models/models_2";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface ListLexBotsCommandInput extends ListLexBotsRequest {}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListPhoneNumbersRequest,
|
|
10
|
+
ListPhoneNumbersResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ListPhoneNumbersCommandInput extends ListPhoneNumbersRequest {}
|
|
@@ -120,6 +120,7 @@ export * from "./DisassociateUserProficienciesCommand";
|
|
|
120
120
|
export * from "./DismissUserContactCommand";
|
|
121
121
|
export * from "./GetAttachedFileCommand";
|
|
122
122
|
export * from "./GetContactAttributesCommand";
|
|
123
|
+
export * from "./GetContactMetricsCommand";
|
|
123
124
|
export * from "./GetCurrentMetricDataCommand";
|
|
124
125
|
export * from "./GetCurrentUserDataCommand";
|
|
125
126
|
export * from "./GetEffectiveHoursOfOperationsCommand";
|
|
@@ -256,12 +256,23 @@ export interface StringCondition {
|
|
|
256
256
|
Value?: string | undefined;
|
|
257
257
|
ComparisonType?: StringComparisonType | undefined;
|
|
258
258
|
}
|
|
259
|
+
export declare const HierarchyGroupMatchType: {
|
|
260
|
+
readonly EXACT: "EXACT";
|
|
261
|
+
readonly WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS";
|
|
262
|
+
};
|
|
263
|
+
export type HierarchyGroupMatchType =
|
|
264
|
+
(typeof HierarchyGroupMatchType)[keyof typeof HierarchyGroupMatchType];
|
|
265
|
+
export interface HierarchyGroupCondition {
|
|
266
|
+
Value?: string | undefined;
|
|
267
|
+
HierarchyGroupMatchType?: HierarchyGroupMatchType | undefined;
|
|
268
|
+
}
|
|
259
269
|
export interface TagCondition {
|
|
260
270
|
TagKey?: string | undefined;
|
|
261
271
|
TagValue?: string | undefined;
|
|
262
272
|
}
|
|
263
273
|
export interface CommonAttributeAndCondition {
|
|
264
274
|
TagConditions?: TagCondition[] | undefined;
|
|
275
|
+
HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
|
|
265
276
|
}
|
|
266
277
|
export interface ControlPlaneAttributeFilter {
|
|
267
278
|
OrConditions?: CommonAttributeAndCondition[] | undefined;
|
|
@@ -1896,14 +1907,6 @@ export interface DeleteInstanceRequest {
|
|
|
1896
1907
|
InstanceId: string | undefined;
|
|
1897
1908
|
ClientToken?: string | undefined;
|
|
1898
1909
|
}
|
|
1899
|
-
export interface DeleteIntegrationAssociationRequest {
|
|
1900
|
-
InstanceId: string | undefined;
|
|
1901
|
-
IntegrationAssociationId: string | undefined;
|
|
1902
|
-
}
|
|
1903
|
-
export interface DeletePredefinedAttributeRequest {
|
|
1904
|
-
InstanceId: string | undefined;
|
|
1905
|
-
Name: string | undefined;
|
|
1906
|
-
}
|
|
1907
1910
|
export declare const CreateEmailAddressRequestFilterSensitiveLog: (
|
|
1908
1911
|
obj: CreateEmailAddressRequest
|
|
1909
1912
|
) => any;
|
|
@@ -30,7 +30,6 @@ import {
|
|
|
30
30
|
HoursOfOperationOverrideConfig,
|
|
31
31
|
InstanceStorageConfig,
|
|
32
32
|
InstanceStorageResourceType,
|
|
33
|
-
IntegrationType,
|
|
34
33
|
LexBot,
|
|
35
34
|
LexV2Bot,
|
|
36
35
|
ListFlowAssociationResourceType,
|
|
@@ -48,7 +47,6 @@ import {
|
|
|
48
47
|
RuleAction,
|
|
49
48
|
RulePublishStatus,
|
|
50
49
|
RuleTriggerEventSource,
|
|
51
|
-
SourceType,
|
|
52
50
|
StorageType,
|
|
53
51
|
TaskTemplateConstraints,
|
|
54
52
|
TaskTemplateDefaults,
|
|
@@ -60,6 +58,14 @@ import {
|
|
|
60
58
|
VocabularyLanguageCode,
|
|
61
59
|
VocabularyState,
|
|
62
60
|
} from "./models_0";
|
|
61
|
+
export interface DeleteIntegrationAssociationRequest {
|
|
62
|
+
InstanceId: string | undefined;
|
|
63
|
+
IntegrationAssociationId: string | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface DeletePredefinedAttributeRequest {
|
|
66
|
+
InstanceId: string | undefined;
|
|
67
|
+
Name: string | undefined;
|
|
68
|
+
}
|
|
63
69
|
export interface DeletePromptRequest {
|
|
64
70
|
InstanceId: string | undefined;
|
|
65
71
|
PromptId: string | undefined;
|
|
@@ -1262,6 +1268,46 @@ export interface GetContactAttributesRequest {
|
|
|
1262
1268
|
export interface GetContactAttributesResponse {
|
|
1263
1269
|
Attributes?: Record<string, string> | undefined;
|
|
1264
1270
|
}
|
|
1271
|
+
export declare const ContactMetricName: {
|
|
1272
|
+
readonly POSITION_IN_QUEUE: "POSITION_IN_QUEUE";
|
|
1273
|
+
};
|
|
1274
|
+
export type ContactMetricName =
|
|
1275
|
+
(typeof ContactMetricName)[keyof typeof ContactMetricName];
|
|
1276
|
+
export interface ContactMetricInfo {
|
|
1277
|
+
Name: ContactMetricName | undefined;
|
|
1278
|
+
}
|
|
1279
|
+
export interface GetContactMetricsRequest {
|
|
1280
|
+
InstanceId: string | undefined;
|
|
1281
|
+
ContactId: string | undefined;
|
|
1282
|
+
Metrics: ContactMetricInfo[] | undefined;
|
|
1283
|
+
}
|
|
1284
|
+
export type ContactMetricValue =
|
|
1285
|
+
| ContactMetricValue.NumberMember
|
|
1286
|
+
| ContactMetricValue.$UnknownMember;
|
|
1287
|
+
export declare namespace ContactMetricValue {
|
|
1288
|
+
interface NumberMember {
|
|
1289
|
+
Number: number;
|
|
1290
|
+
$unknown?: never;
|
|
1291
|
+
}
|
|
1292
|
+
interface $UnknownMember {
|
|
1293
|
+
Number?: never;
|
|
1294
|
+
$unknown: [string, any];
|
|
1295
|
+
}
|
|
1296
|
+
interface Visitor<T> {
|
|
1297
|
+
Number: (value: number) => T;
|
|
1298
|
+
_: (name: string, value: any) => T;
|
|
1299
|
+
}
|
|
1300
|
+
const visit: <T>(value: ContactMetricValue, visitor: Visitor<T>) => T;
|
|
1301
|
+
}
|
|
1302
|
+
export interface ContactMetricResult {
|
|
1303
|
+
Name: ContactMetricName | undefined;
|
|
1304
|
+
Value: ContactMetricValue | undefined;
|
|
1305
|
+
}
|
|
1306
|
+
export interface GetContactMetricsResponse {
|
|
1307
|
+
MetricResults?: ContactMetricResult[] | undefined;
|
|
1308
|
+
Id?: string | undefined;
|
|
1309
|
+
Arn?: string | undefined;
|
|
1310
|
+
}
|
|
1265
1311
|
export declare const CurrentMetricName: {
|
|
1266
1312
|
readonly AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK";
|
|
1267
1313
|
readonly AGENTS_AVAILABLE: "AGENTS_AVAILABLE";
|
|
@@ -2081,54 +2127,6 @@ export interface ListInstanceStorageConfigsResponse {
|
|
|
2081
2127
|
StorageConfigs?: InstanceStorageConfig[] | undefined;
|
|
2082
2128
|
NextToken?: string | undefined;
|
|
2083
2129
|
}
|
|
2084
|
-
export interface ListIntegrationAssociationsRequest {
|
|
2085
|
-
InstanceId: string | undefined;
|
|
2086
|
-
IntegrationType?: IntegrationType | undefined;
|
|
2087
|
-
NextToken?: string | undefined;
|
|
2088
|
-
MaxResults?: number | undefined;
|
|
2089
|
-
IntegrationArn?: string | undefined;
|
|
2090
|
-
}
|
|
2091
|
-
export interface IntegrationAssociationSummary {
|
|
2092
|
-
IntegrationAssociationId?: string | undefined;
|
|
2093
|
-
IntegrationAssociationArn?: string | undefined;
|
|
2094
|
-
InstanceId?: string | undefined;
|
|
2095
|
-
IntegrationType?: IntegrationType | undefined;
|
|
2096
|
-
IntegrationArn?: string | undefined;
|
|
2097
|
-
SourceApplicationUrl?: string | undefined;
|
|
2098
|
-
SourceApplicationName?: string | undefined;
|
|
2099
|
-
SourceType?: SourceType | undefined;
|
|
2100
|
-
}
|
|
2101
|
-
export interface ListIntegrationAssociationsResponse {
|
|
2102
|
-
IntegrationAssociationSummaryList?:
|
|
2103
|
-
| IntegrationAssociationSummary[]
|
|
2104
|
-
| undefined;
|
|
2105
|
-
NextToken?: string | undefined;
|
|
2106
|
-
}
|
|
2107
|
-
export interface ListLambdaFunctionsRequest {
|
|
2108
|
-
InstanceId: string | undefined;
|
|
2109
|
-
NextToken?: string | undefined;
|
|
2110
|
-
MaxResults?: number | undefined;
|
|
2111
|
-
}
|
|
2112
|
-
export interface ListLambdaFunctionsResponse {
|
|
2113
|
-
LambdaFunctions?: string[] | undefined;
|
|
2114
|
-
NextToken?: string | undefined;
|
|
2115
|
-
}
|
|
2116
|
-
export interface ListLexBotsRequest {
|
|
2117
|
-
InstanceId: string | undefined;
|
|
2118
|
-
NextToken?: string | undefined;
|
|
2119
|
-
MaxResults?: number | undefined;
|
|
2120
|
-
}
|
|
2121
|
-
export interface ListLexBotsResponse {
|
|
2122
|
-
LexBots?: LexBot[] | undefined;
|
|
2123
|
-
NextToken?: string | undefined;
|
|
2124
|
-
}
|
|
2125
|
-
export interface ListPhoneNumbersRequest {
|
|
2126
|
-
InstanceId: string | undefined;
|
|
2127
|
-
PhoneNumberTypes?: PhoneNumberType[] | undefined;
|
|
2128
|
-
PhoneNumberCountryCodes?: PhoneNumberCountryCode[] | undefined;
|
|
2129
|
-
NextToken?: string | undefined;
|
|
2130
|
-
MaxResults?: number | undefined;
|
|
2131
|
-
}
|
|
2132
2130
|
export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
|
|
2133
2131
|
obj: DescribeEmailAddressResponse
|
|
2134
2132
|
) => any;
|
|
@@ -14,16 +14,20 @@ import {
|
|
|
14
14
|
EventSourceName,
|
|
15
15
|
FileStatusType,
|
|
16
16
|
FileUseCaseType,
|
|
17
|
+
HierarchyGroupCondition,
|
|
17
18
|
HoursOfOperationConfig,
|
|
18
19
|
HoursOfOperationOverrideConfig,
|
|
19
20
|
InstanceStorageConfig,
|
|
20
21
|
InstanceStorageResourceType,
|
|
22
|
+
IntegrationType,
|
|
23
|
+
LexBot,
|
|
21
24
|
MonitorCapability,
|
|
22
25
|
ParticipantRole,
|
|
23
26
|
QuickConnectType,
|
|
24
27
|
Reference,
|
|
25
28
|
RehydrationType,
|
|
26
29
|
RulePublishStatus,
|
|
30
|
+
SourceType,
|
|
27
31
|
StringComparisonType,
|
|
28
32
|
StringCondition,
|
|
29
33
|
TagCondition,
|
|
@@ -58,6 +62,54 @@ import {
|
|
|
58
62
|
SortOrder,
|
|
59
63
|
TrafficDistributionGroupStatus,
|
|
60
64
|
} from "./models_1";
|
|
65
|
+
export interface ListIntegrationAssociationsRequest {
|
|
66
|
+
InstanceId: string | undefined;
|
|
67
|
+
IntegrationType?: IntegrationType | undefined;
|
|
68
|
+
NextToken?: string | undefined;
|
|
69
|
+
MaxResults?: number | undefined;
|
|
70
|
+
IntegrationArn?: string | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface IntegrationAssociationSummary {
|
|
73
|
+
IntegrationAssociationId?: string | undefined;
|
|
74
|
+
IntegrationAssociationArn?: string | undefined;
|
|
75
|
+
InstanceId?: string | undefined;
|
|
76
|
+
IntegrationType?: IntegrationType | undefined;
|
|
77
|
+
IntegrationArn?: string | undefined;
|
|
78
|
+
SourceApplicationUrl?: string | undefined;
|
|
79
|
+
SourceApplicationName?: string | undefined;
|
|
80
|
+
SourceType?: SourceType | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface ListIntegrationAssociationsResponse {
|
|
83
|
+
IntegrationAssociationSummaryList?:
|
|
84
|
+
| IntegrationAssociationSummary[]
|
|
85
|
+
| undefined;
|
|
86
|
+
NextToken?: string | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface ListLambdaFunctionsRequest {
|
|
89
|
+
InstanceId: string | undefined;
|
|
90
|
+
NextToken?: string | undefined;
|
|
91
|
+
MaxResults?: number | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ListLambdaFunctionsResponse {
|
|
94
|
+
LambdaFunctions?: string[] | undefined;
|
|
95
|
+
NextToken?: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface ListLexBotsRequest {
|
|
98
|
+
InstanceId: string | undefined;
|
|
99
|
+
NextToken?: string | undefined;
|
|
100
|
+
MaxResults?: number | undefined;
|
|
101
|
+
}
|
|
102
|
+
export interface ListLexBotsResponse {
|
|
103
|
+
LexBots?: LexBot[] | undefined;
|
|
104
|
+
NextToken?: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface ListPhoneNumbersRequest {
|
|
107
|
+
InstanceId: string | undefined;
|
|
108
|
+
PhoneNumberTypes?: PhoneNumberType[] | undefined;
|
|
109
|
+
PhoneNumberCountryCodes?: PhoneNumberCountryCode[] | undefined;
|
|
110
|
+
NextToken?: string | undefined;
|
|
111
|
+
MaxResults?: number | undefined;
|
|
112
|
+
}
|
|
61
113
|
export interface PhoneNumberSummary {
|
|
62
114
|
Id?: string | undefined;
|
|
63
115
|
Arn?: string | undefined;
|
|
@@ -1055,16 +1107,6 @@ export interface SearchUserHierarchyGroupsResponse {
|
|
|
1055
1107
|
NextToken?: string | undefined;
|
|
1056
1108
|
ApproximateTotalCount?: number | undefined;
|
|
1057
1109
|
}
|
|
1058
|
-
export declare const HierarchyGroupMatchType: {
|
|
1059
|
-
readonly EXACT: "EXACT";
|
|
1060
|
-
readonly WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS";
|
|
1061
|
-
};
|
|
1062
|
-
export type HierarchyGroupMatchType =
|
|
1063
|
-
(typeof HierarchyGroupMatchType)[keyof typeof HierarchyGroupMatchType];
|
|
1064
|
-
export interface HierarchyGroupCondition {
|
|
1065
|
-
Value?: string | undefined;
|
|
1066
|
-
HierarchyGroupMatchType?: HierarchyGroupMatchType | undefined;
|
|
1067
|
-
}
|
|
1068
1110
|
export declare const NumberComparisonType: {
|
|
1069
1111
|
readonly EQUAL: "EQUAL";
|
|
1070
1112
|
readonly GREATER: "GREATER";
|
|
@@ -1705,73 +1747,6 @@ export declare const TimerEligibleParticipantRoles: {
|
|
|
1705
1747
|
};
|
|
1706
1748
|
export type TimerEligibleParticipantRoles =
|
|
1707
1749
|
(typeof TimerEligibleParticipantRoles)[keyof typeof TimerEligibleParticipantRoles];
|
|
1708
|
-
export declare const ParticipantTimerType: {
|
|
1709
|
-
readonly DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER";
|
|
1710
|
-
readonly IDLE: "IDLE";
|
|
1711
|
-
};
|
|
1712
|
-
export type ParticipantTimerType =
|
|
1713
|
-
(typeof ParticipantTimerType)[keyof typeof ParticipantTimerType];
|
|
1714
|
-
export declare const ParticipantTimerAction: {
|
|
1715
|
-
readonly Unset: "Unset";
|
|
1716
|
-
};
|
|
1717
|
-
export type ParticipantTimerAction =
|
|
1718
|
-
(typeof ParticipantTimerAction)[keyof typeof ParticipantTimerAction];
|
|
1719
|
-
export type ParticipantTimerValue =
|
|
1720
|
-
| ParticipantTimerValue.ParticipantTimerActionMember
|
|
1721
|
-
| ParticipantTimerValue.ParticipantTimerDurationInMinutesMember
|
|
1722
|
-
| ParticipantTimerValue.$UnknownMember;
|
|
1723
|
-
export declare namespace ParticipantTimerValue {
|
|
1724
|
-
interface ParticipantTimerActionMember {
|
|
1725
|
-
ParticipantTimerAction: ParticipantTimerAction;
|
|
1726
|
-
ParticipantTimerDurationInMinutes?: never;
|
|
1727
|
-
$unknown?: never;
|
|
1728
|
-
}
|
|
1729
|
-
interface ParticipantTimerDurationInMinutesMember {
|
|
1730
|
-
ParticipantTimerAction?: never;
|
|
1731
|
-
ParticipantTimerDurationInMinutes: number;
|
|
1732
|
-
$unknown?: never;
|
|
1733
|
-
}
|
|
1734
|
-
interface $UnknownMember {
|
|
1735
|
-
ParticipantTimerAction?: never;
|
|
1736
|
-
ParticipantTimerDurationInMinutes?: never;
|
|
1737
|
-
$unknown: [string, any];
|
|
1738
|
-
}
|
|
1739
|
-
interface Visitor<T> {
|
|
1740
|
-
ParticipantTimerAction: (value: ParticipantTimerAction) => T;
|
|
1741
|
-
ParticipantTimerDurationInMinutes: (value: number) => T;
|
|
1742
|
-
_: (name: string, value: any) => T;
|
|
1743
|
-
}
|
|
1744
|
-
const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
|
|
1745
|
-
}
|
|
1746
|
-
export interface ParticipantTimerConfiguration {
|
|
1747
|
-
ParticipantRole: TimerEligibleParticipantRoles | undefined;
|
|
1748
|
-
TimerType: ParticipantTimerType | undefined;
|
|
1749
|
-
TimerValue: ParticipantTimerValue | undefined;
|
|
1750
|
-
}
|
|
1751
|
-
export interface ChatParticipantRoleConfig {
|
|
1752
|
-
ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
|
|
1753
|
-
}
|
|
1754
|
-
export type UpdateParticipantRoleConfigChannelInfo =
|
|
1755
|
-
| UpdateParticipantRoleConfigChannelInfo.ChatMember
|
|
1756
|
-
| UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
|
|
1757
|
-
export declare namespace UpdateParticipantRoleConfigChannelInfo {
|
|
1758
|
-
interface ChatMember {
|
|
1759
|
-
Chat: ChatParticipantRoleConfig;
|
|
1760
|
-
$unknown?: never;
|
|
1761
|
-
}
|
|
1762
|
-
interface $UnknownMember {
|
|
1763
|
-
Chat?: never;
|
|
1764
|
-
$unknown: [string, any];
|
|
1765
|
-
}
|
|
1766
|
-
interface Visitor<T> {
|
|
1767
|
-
Chat: (value: ChatParticipantRoleConfig) => T;
|
|
1768
|
-
_: (name: string, value: any) => T;
|
|
1769
|
-
}
|
|
1770
|
-
const visit: <T>(
|
|
1771
|
-
value: UpdateParticipantRoleConfigChannelInfo,
|
|
1772
|
-
visitor: Visitor<T>
|
|
1773
|
-
) => T;
|
|
1774
|
-
}
|
|
1775
1750
|
export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
|
|
1776
1751
|
export declare const ListViewsResponseFilterSensitiveLog: (
|
|
1777
1752
|
obj: ListViewsResponse
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
Endpoint,
|
|
14
14
|
EvaluationFormQuestion,
|
|
15
15
|
EvaluationFormScoringStrategy,
|
|
16
|
+
HierarchyGroupCondition,
|
|
16
17
|
InitiateAs,
|
|
17
18
|
MediaConcurrency,
|
|
18
19
|
OutboundCallerConfig,
|
|
@@ -69,7 +70,6 @@ import {
|
|
|
69
70
|
EmailAddressInfo,
|
|
70
71
|
EmailAddressSearchFilter,
|
|
71
72
|
EmailAttachment,
|
|
72
|
-
HierarchyGroupCondition,
|
|
73
73
|
HoursOfOperationSearchFilter,
|
|
74
74
|
InboundAdditionalRecipients,
|
|
75
75
|
InboundEmailContent,
|
|
@@ -84,10 +84,77 @@ import {
|
|
|
84
84
|
RoutingProfileSearchFilter,
|
|
85
85
|
SearchableQueueType,
|
|
86
86
|
SecurityProfilesSearchFilter,
|
|
87
|
-
|
|
87
|
+
TimerEligibleParticipantRoles,
|
|
88
88
|
UserHierarchyGroupSearchFilter,
|
|
89
89
|
UserSearchFilter,
|
|
90
90
|
} from "./models_2";
|
|
91
|
+
export declare const ParticipantTimerType: {
|
|
92
|
+
readonly DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER";
|
|
93
|
+
readonly IDLE: "IDLE";
|
|
94
|
+
};
|
|
95
|
+
export type ParticipantTimerType =
|
|
96
|
+
(typeof ParticipantTimerType)[keyof typeof ParticipantTimerType];
|
|
97
|
+
export declare const ParticipantTimerAction: {
|
|
98
|
+
readonly Unset: "Unset";
|
|
99
|
+
};
|
|
100
|
+
export type ParticipantTimerAction =
|
|
101
|
+
(typeof ParticipantTimerAction)[keyof typeof ParticipantTimerAction];
|
|
102
|
+
export type ParticipantTimerValue =
|
|
103
|
+
| ParticipantTimerValue.ParticipantTimerActionMember
|
|
104
|
+
| ParticipantTimerValue.ParticipantTimerDurationInMinutesMember
|
|
105
|
+
| ParticipantTimerValue.$UnknownMember;
|
|
106
|
+
export declare namespace ParticipantTimerValue {
|
|
107
|
+
interface ParticipantTimerActionMember {
|
|
108
|
+
ParticipantTimerAction: ParticipantTimerAction;
|
|
109
|
+
ParticipantTimerDurationInMinutes?: never;
|
|
110
|
+
$unknown?: never;
|
|
111
|
+
}
|
|
112
|
+
interface ParticipantTimerDurationInMinutesMember {
|
|
113
|
+
ParticipantTimerAction?: never;
|
|
114
|
+
ParticipantTimerDurationInMinutes: number;
|
|
115
|
+
$unknown?: never;
|
|
116
|
+
}
|
|
117
|
+
interface $UnknownMember {
|
|
118
|
+
ParticipantTimerAction?: never;
|
|
119
|
+
ParticipantTimerDurationInMinutes?: never;
|
|
120
|
+
$unknown: [string, any];
|
|
121
|
+
}
|
|
122
|
+
interface Visitor<T> {
|
|
123
|
+
ParticipantTimerAction: (value: ParticipantTimerAction) => T;
|
|
124
|
+
ParticipantTimerDurationInMinutes: (value: number) => T;
|
|
125
|
+
_: (name: string, value: any) => T;
|
|
126
|
+
}
|
|
127
|
+
const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
|
|
128
|
+
}
|
|
129
|
+
export interface ParticipantTimerConfiguration {
|
|
130
|
+
ParticipantRole: TimerEligibleParticipantRoles | undefined;
|
|
131
|
+
TimerType: ParticipantTimerType | undefined;
|
|
132
|
+
TimerValue: ParticipantTimerValue | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface ChatParticipantRoleConfig {
|
|
135
|
+
ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
|
|
136
|
+
}
|
|
137
|
+
export type UpdateParticipantRoleConfigChannelInfo =
|
|
138
|
+
| UpdateParticipantRoleConfigChannelInfo.ChatMember
|
|
139
|
+
| UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
|
|
140
|
+
export declare namespace UpdateParticipantRoleConfigChannelInfo {
|
|
141
|
+
interface ChatMember {
|
|
142
|
+
Chat: ChatParticipantRoleConfig;
|
|
143
|
+
$unknown?: never;
|
|
144
|
+
}
|
|
145
|
+
interface $UnknownMember {
|
|
146
|
+
Chat?: never;
|
|
147
|
+
$unknown: [string, any];
|
|
148
|
+
}
|
|
149
|
+
interface Visitor<T> {
|
|
150
|
+
Chat: (value: ChatParticipantRoleConfig) => T;
|
|
151
|
+
_: (name: string, value: any) => T;
|
|
152
|
+
}
|
|
153
|
+
const visit: <T>(
|
|
154
|
+
value: UpdateParticipantRoleConfigChannelInfo,
|
|
155
|
+
visitor: Visitor<T>
|
|
156
|
+
) => T;
|
|
157
|
+
}
|
|
91
158
|
export interface UpdateParticipantRoleConfigRequest {
|
|
92
159
|
InstanceId: string | undefined;
|
|
93
160
|
ContactId: string | undefined;
|
|
@@ -558,6 +625,7 @@ export interface UserHierarchyGroupSearchCriteria {
|
|
|
558
625
|
OrConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
|
|
559
626
|
AndConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
|
|
560
627
|
StringCondition?: StringCondition | undefined;
|
|
628
|
+
HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
|
|
561
629
|
}
|
|
562
630
|
export interface UserSearchCriteria {
|
|
563
631
|
OrConditions?: UserSearchCriteria[] | undefined;
|
|
@@ -491,6 +491,10 @@ import {
|
|
|
491
491
|
GetContactAttributesCommandInput,
|
|
492
492
|
GetContactAttributesCommandOutput,
|
|
493
493
|
} from "../commands/GetContactAttributesCommand";
|
|
494
|
+
import {
|
|
495
|
+
GetContactMetricsCommandInput,
|
|
496
|
+
GetContactMetricsCommandOutput,
|
|
497
|
+
} from "../commands/GetContactMetricsCommand";
|
|
494
498
|
import {
|
|
495
499
|
GetCurrentMetricDataCommandInput,
|
|
496
500
|
GetCurrentMetricDataCommandOutput,
|
|
@@ -1619,6 +1623,10 @@ export declare const se_GetContactAttributesCommand: (
|
|
|
1619
1623
|
input: GetContactAttributesCommandInput,
|
|
1620
1624
|
context: __SerdeContext
|
|
1621
1625
|
) => Promise<__HttpRequest>;
|
|
1626
|
+
export declare const se_GetContactMetricsCommand: (
|
|
1627
|
+
input: GetContactMetricsCommandInput,
|
|
1628
|
+
context: __SerdeContext
|
|
1629
|
+
) => Promise<__HttpRequest>;
|
|
1622
1630
|
export declare const se_GetCurrentMetricDataCommand: (
|
|
1623
1631
|
input: GetCurrentMetricDataCommandInput,
|
|
1624
1632
|
context: __SerdeContext
|
|
@@ -2747,6 +2755,10 @@ export declare const de_GetContactAttributesCommand: (
|
|
|
2747
2755
|
output: __HttpResponse,
|
|
2748
2756
|
context: __SerdeContext
|
|
2749
2757
|
) => Promise<GetContactAttributesCommandOutput>;
|
|
2758
|
+
export declare const de_GetContactMetricsCommand: (
|
|
2759
|
+
output: __HttpResponse,
|
|
2760
|
+
context: __SerdeContext
|
|
2761
|
+
) => Promise<GetContactMetricsCommandOutput>;
|
|
2750
2762
|
export declare const de_GetCurrentMetricDataCommand: (
|
|
2751
2763
|
output: __HttpResponse,
|
|
2752
2764
|
context: __SerdeContext
|
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.864.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-connect",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.864.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.864.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.862.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.864.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.862.0",
|
|
30
30
|
"@aws-sdk/types": "3.862.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.862.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.862.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.864.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.5",
|
|
35
35
|
"@smithy/core": "^3.8.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.1",
|