@aws-sdk/client-connect 3.388.0 → 3.389.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 +24 -0
- package/dist-cjs/Connect.js +6 -0
- package/dist-cjs/commands/AssociateTrafficDistributionGroupUserCommand.js +46 -0
- package/dist-cjs/commands/DisassociateTrafficDistributionGroupUserCommand.js +46 -0
- package/dist-cjs/commands/ListTrafficDistributionGroupUsersCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +1 -26
- package/dist-cjs/models/models_1.js +26 -11
- package/dist-cjs/models/models_2.js +11 -0
- package/dist-cjs/pagination/ListTrafficDistributionGroupUsersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +221 -9
- package/dist-es/Connect.js +6 -0
- package/dist-es/commands/AssociateTrafficDistributionGroupUserCommand.js +42 -0
- package/dist-es/commands/DisassociateTrafficDistributionGroupUserCommand.js +42 -0
- package/dist-es/commands/ListTrafficDistributionGroupUsersCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +0 -25
- package/dist-es/models/models_1.js +25 -10
- package/dist-es/models/models_2.js +10 -1
- package/dist-es/pagination/ListTrafficDistributionGroupUsersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +207 -1
- package/dist-types/Connect.d.ts +21 -0
- package/dist-types/ConnectClient.d.ts +5 -2
- package/dist-types/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +91 -0
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +91 -0
- package/dist-types/commands/GetContactAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +16 -0
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +12 -0
- package/dist-types/commands/ListTrafficDistributionGroupUsersCommand.d.ts +95 -0
- package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +3 -5
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +21 -0
- package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +97 -106
- package/dist-types/models/models_1.d.ts +213 -339
- package/dist-types/models/models_2.d.ts +320 -2
- package/dist-types/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Connect.d.ts +69 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTrafficDistributionGroupUsersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -41
- package/dist-types/ts3.4/models/models_1.d.ts +65 -99
- package/dist-types/ts3.4/models/models_2.d.ts +98 -3
- package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
DisassociateTrafficDistributionGroupUserRequest,
|
|
16
|
+
DisassociateTrafficDistributionGroupUserResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DisassociateTrafficDistributionGroupUserCommandInput
|
|
20
|
+
extends DisassociateTrafficDistributionGroupUserRequest {}
|
|
21
|
+
export interface DisassociateTrafficDistributionGroupUserCommandOutput
|
|
22
|
+
extends DisassociateTrafficDistributionGroupUserResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DisassociateTrafficDistributionGroupUserCommand extends $Command<
|
|
25
|
+
DisassociateTrafficDistributionGroupUserCommandInput,
|
|
26
|
+
DisassociateTrafficDistributionGroupUserCommandOutput,
|
|
27
|
+
ConnectClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DisassociateTrafficDistributionGroupUserCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DisassociateTrafficDistributionGroupUserCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: ConnectClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
DisassociateTrafficDistributionGroupUserCommandInput,
|
|
38
|
+
DisassociateTrafficDistributionGroupUserCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
GetContactAttributesResponse,
|
|
17
|
-
} from "../models/models_0";
|
|
14
|
+
import { GetContactAttributesRequest } from "../models/models_0";
|
|
15
|
+
import { GetContactAttributesResponse } from "../models/models_1";
|
|
18
16
|
export { __MetadataBearer, $Command };
|
|
19
17
|
export interface GetContactAttributesCommandInput
|
|
20
18
|
extends GetContactAttributesRequest {}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
ListTrafficDistributionGroupUsersRequest,
|
|
16
|
+
ListTrafficDistributionGroupUsersResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListTrafficDistributionGroupUsersCommandInput
|
|
20
|
+
extends ListTrafficDistributionGroupUsersRequest {}
|
|
21
|
+
export interface ListTrafficDistributionGroupUsersCommandOutput
|
|
22
|
+
extends ListTrafficDistributionGroupUsersResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListTrafficDistributionGroupUsersCommand extends $Command<
|
|
25
|
+
ListTrafficDistributionGroupUsersCommandInput,
|
|
26
|
+
ListTrafficDistributionGroupUsersCommandOutput,
|
|
27
|
+
ConnectClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListTrafficDistributionGroupUsersCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListTrafficDistributionGroupUsersCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: ConnectClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListTrafficDistributionGroupUsersCommandInput,
|
|
38
|
+
ListTrafficDistributionGroupUsersCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { UpdateUserHierarchyStructureRequest } from "../models/
|
|
14
|
+
import { UpdateUserHierarchyStructureRequest } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface UpdateUserHierarchyStructureCommandInput
|
|
17
17
|
extends UpdateUserHierarchyStructureRequest {}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { UpdateUserIdentityInfoRequest } from "../models/
|
|
14
|
+
import { UpdateUserIdentityInfoRequest } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface UpdateUserIdentityInfoCommandInput
|
|
17
17
|
extends UpdateUserIdentityInfoRequest {}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { UpdateUserPhoneConfigRequest } from "../models/
|
|
14
|
+
import { UpdateUserPhoneConfigRequest } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface UpdateUserPhoneConfigCommandInput
|
|
17
17
|
extends UpdateUserPhoneConfigRequest {}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { UpdateUserRoutingProfileRequest } from "../models/
|
|
14
|
+
import { UpdateUserRoutingProfileRequest } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface UpdateUserRoutingProfileCommandInput
|
|
17
17
|
extends UpdateUserRoutingProfileRequest {}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { UpdateUserSecurityProfilesRequest } from "../models/
|
|
14
|
+
import { UpdateUserSecurityProfilesRequest } from "../models/models_2";
|
|
15
15
|
export { __MetadataBearer, $Command };
|
|
16
16
|
export interface UpdateUserSecurityProfilesCommandInput
|
|
17
17
|
extends UpdateUserSecurityProfilesRequest {}
|
|
@@ -9,6 +9,7 @@ export * from "./AssociatePhoneNumberContactFlowCommand";
|
|
|
9
9
|
export * from "./AssociateQueueQuickConnectsCommand";
|
|
10
10
|
export * from "./AssociateRoutingProfileQueuesCommand";
|
|
11
11
|
export * from "./AssociateSecurityKeyCommand";
|
|
12
|
+
export * from "./AssociateTrafficDistributionGroupUserCommand";
|
|
12
13
|
export * from "./ClaimPhoneNumberCommand";
|
|
13
14
|
export * from "./CreateAgentStatusCommand";
|
|
14
15
|
export * from "./CreateContactFlowCommand";
|
|
@@ -81,6 +82,7 @@ export * from "./DisassociatePhoneNumberContactFlowCommand";
|
|
|
81
82
|
export * from "./DisassociateQueueQuickConnectsCommand";
|
|
82
83
|
export * from "./DisassociateRoutingProfileQueuesCommand";
|
|
83
84
|
export * from "./DisassociateSecurityKeyCommand";
|
|
85
|
+
export * from "./DisassociateTrafficDistributionGroupUserCommand";
|
|
84
86
|
export * from "./DismissUserContactCommand";
|
|
85
87
|
export * from "./GetContactAttributesCommand";
|
|
86
88
|
export * from "./GetCurrentMetricDataCommand";
|
|
@@ -122,6 +124,7 @@ export * from "./ListSecurityProfilePermissionsCommand";
|
|
|
122
124
|
export * from "./ListSecurityProfilesCommand";
|
|
123
125
|
export * from "./ListTagsForResourceCommand";
|
|
124
126
|
export * from "./ListTaskTemplatesCommand";
|
|
127
|
+
export * from "./ListTrafficDistributionGroupUsersCommand";
|
|
125
128
|
export * from "./ListTrafficDistributionGroupsCommand";
|
|
126
129
|
export * from "./ListUseCasesCommand";
|
|
127
130
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
@@ -74,6 +74,13 @@ export declare const AgentAvailabilityTimer: {
|
|
|
74
74
|
};
|
|
75
75
|
export type AgentAvailabilityTimer =
|
|
76
76
|
(typeof AgentAvailabilityTimer)[keyof typeof AgentAvailabilityTimer];
|
|
77
|
+
export interface Distribution {
|
|
78
|
+
Region: string | undefined;
|
|
79
|
+
Percentage: number | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface AgentConfig {
|
|
82
|
+
Distributions: Distribution[] | undefined;
|
|
83
|
+
}
|
|
77
84
|
export declare const ContactState: {
|
|
78
85
|
readonly CONNECTED: "CONNECTED";
|
|
79
86
|
readonly CONNECTED_ONHOLD: "CONNECTED_ONHOLD";
|
|
@@ -336,6 +343,12 @@ export interface AssociateSecurityKeyRequest {
|
|
|
336
343
|
export interface AssociateSecurityKeyResponse {
|
|
337
344
|
AssociationId?: string;
|
|
338
345
|
}
|
|
346
|
+
export interface AssociateTrafficDistributionGroupUserRequest {
|
|
347
|
+
TrafficDistributionGroupId: string | undefined;
|
|
348
|
+
UserId: string | undefined;
|
|
349
|
+
InstanceId: string | undefined;
|
|
350
|
+
}
|
|
351
|
+
export interface AssociateTrafficDistributionGroupUserResponse {}
|
|
339
352
|
export interface ClaimPhoneNumberRequest {
|
|
340
353
|
TargetArn: string | undefined;
|
|
341
354
|
PhoneNumber: string | undefined;
|
|
@@ -1881,6 +1894,7 @@ export interface TrafficDistributionGroup {
|
|
|
1881
1894
|
InstanceArn?: string;
|
|
1882
1895
|
Status?: TrafficDistributionGroupStatus | string;
|
|
1883
1896
|
Tags?: Record<string, string>;
|
|
1897
|
+
IsDefault?: boolean;
|
|
1884
1898
|
}
|
|
1885
1899
|
export interface DescribeTrafficDistributionGroupResponse {
|
|
1886
1900
|
TrafficDistributionGroup?: TrafficDistributionGroup;
|
|
@@ -2008,6 +2022,12 @@ export interface DisassociateSecurityKeyRequest {
|
|
|
2008
2022
|
InstanceId: string | undefined;
|
|
2009
2023
|
AssociationId: string | undefined;
|
|
2010
2024
|
}
|
|
2025
|
+
export interface DisassociateTrafficDistributionGroupUserRequest {
|
|
2026
|
+
TrafficDistributionGroupId: string | undefined;
|
|
2027
|
+
UserId: string | undefined;
|
|
2028
|
+
InstanceId: string | undefined;
|
|
2029
|
+
}
|
|
2030
|
+
export interface DisassociateTrafficDistributionGroupUserResponse {}
|
|
2011
2031
|
export interface DismissUserContactRequest {
|
|
2012
2032
|
UserId: string | undefined;
|
|
2013
2033
|
InstanceId: string | undefined;
|
|
@@ -2018,47 +2038,6 @@ export interface GetContactAttributesRequest {
|
|
|
2018
2038
|
InstanceId: string | undefined;
|
|
2019
2039
|
InitialContactId: string | undefined;
|
|
2020
2040
|
}
|
|
2021
|
-
export interface GetContactAttributesResponse {
|
|
2022
|
-
Attributes?: Record<string, string>;
|
|
2023
|
-
}
|
|
2024
|
-
export declare const CurrentMetricName: {
|
|
2025
|
-
readonly AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK";
|
|
2026
|
-
readonly AGENTS_AVAILABLE: "AGENTS_AVAILABLE";
|
|
2027
|
-
readonly AGENTS_ERROR: "AGENTS_ERROR";
|
|
2028
|
-
readonly AGENTS_NON_PRODUCTIVE: "AGENTS_NON_PRODUCTIVE";
|
|
2029
|
-
readonly AGENTS_ONLINE: "AGENTS_ONLINE";
|
|
2030
|
-
readonly AGENTS_ON_CALL: "AGENTS_ON_CALL";
|
|
2031
|
-
readonly AGENTS_ON_CONTACT: "AGENTS_ON_CONTACT";
|
|
2032
|
-
readonly AGENTS_STAFFED: "AGENTS_STAFFED";
|
|
2033
|
-
readonly CONTACTS_IN_QUEUE: "CONTACTS_IN_QUEUE";
|
|
2034
|
-
readonly CONTACTS_SCHEDULED: "CONTACTS_SCHEDULED";
|
|
2035
|
-
readonly OLDEST_CONTACT_AGE: "OLDEST_CONTACT_AGE";
|
|
2036
|
-
readonly SLOTS_ACTIVE: "SLOTS_ACTIVE";
|
|
2037
|
-
readonly SLOTS_AVAILABLE: "SLOTS_AVAILABLE";
|
|
2038
|
-
};
|
|
2039
|
-
export type CurrentMetricName =
|
|
2040
|
-
(typeof CurrentMetricName)[keyof typeof CurrentMetricName];
|
|
2041
|
-
export declare const Unit: {
|
|
2042
|
-
readonly COUNT: "COUNT";
|
|
2043
|
-
readonly PERCENT: "PERCENT";
|
|
2044
|
-
readonly SECONDS: "SECONDS";
|
|
2045
|
-
};
|
|
2046
|
-
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
2047
|
-
export interface CurrentMetric {
|
|
2048
|
-
Name?: CurrentMetricName | string;
|
|
2049
|
-
Unit?: Unit | string;
|
|
2050
|
-
}
|
|
2051
|
-
export interface Filters {
|
|
2052
|
-
Queues?: string[];
|
|
2053
|
-
Channels?: (Channel | string)[];
|
|
2054
|
-
RoutingProfiles?: string[];
|
|
2055
|
-
}
|
|
2056
|
-
export declare const Grouping: {
|
|
2057
|
-
readonly CHANNEL: "CHANNEL";
|
|
2058
|
-
readonly QUEUE: "QUEUE";
|
|
2059
|
-
readonly ROUTING_PROFILE: "ROUTING_PROFILE";
|
|
2060
|
-
};
|
|
2061
|
-
export type Grouping = (typeof Grouping)[keyof typeof Grouping];
|
|
2062
2041
|
export declare const CreateInstanceRequestFilterSensitiveLog: (
|
|
2063
2042
|
obj: CreateInstanceRequest
|
|
2064
2043
|
) => any;
|
|
@@ -3,6 +3,7 @@ import { ConnectServiceException as __BaseException } from "./ConnectServiceExce
|
|
|
3
3
|
import {
|
|
4
4
|
ActionSummary,
|
|
5
5
|
AgentAvailabilityTimer,
|
|
6
|
+
AgentConfig,
|
|
6
7
|
AgentContactReference,
|
|
7
8
|
AgentStatusReference,
|
|
8
9
|
AgentStatusState,
|
|
@@ -14,19 +15,14 @@ import {
|
|
|
14
15
|
ContactFlowState,
|
|
15
16
|
ContactFlowType,
|
|
16
17
|
ContactState,
|
|
17
|
-
CurrentMetric,
|
|
18
|
-
CurrentMetricName,
|
|
19
18
|
DirectoryType,
|
|
19
|
+
Distribution,
|
|
20
20
|
EvaluationAnswerData,
|
|
21
|
-
EvaluationFormQuestion,
|
|
22
|
-
EvaluationFormScoringStrategy,
|
|
23
21
|
EvaluationFormVersionStatus,
|
|
24
22
|
EvaluationNote,
|
|
25
23
|
EvaluationScore,
|
|
26
24
|
EvaluationStatus,
|
|
27
25
|
EventSourceName,
|
|
28
|
-
Filters,
|
|
29
|
-
Grouping,
|
|
30
26
|
HierarchyGroupSummary,
|
|
31
27
|
HoursOfOperation,
|
|
32
28
|
HoursOfOperationConfig,
|
|
@@ -61,13 +57,52 @@ import {
|
|
|
61
57
|
TaskTemplateField,
|
|
62
58
|
TaskTemplateStatus,
|
|
63
59
|
TrafficDistributionGroupStatus,
|
|
64
|
-
Unit,
|
|
65
60
|
UseCaseType,
|
|
66
|
-
UserIdentityInfo,
|
|
67
61
|
UserPhoneConfig,
|
|
68
62
|
VocabularyLanguageCode,
|
|
69
63
|
VocabularyState,
|
|
70
64
|
} from "./models_0";
|
|
65
|
+
export interface GetContactAttributesResponse {
|
|
66
|
+
Attributes?: Record<string, string>;
|
|
67
|
+
}
|
|
68
|
+
export declare const CurrentMetricName: {
|
|
69
|
+
readonly AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK";
|
|
70
|
+
readonly AGENTS_AVAILABLE: "AGENTS_AVAILABLE";
|
|
71
|
+
readonly AGENTS_ERROR: "AGENTS_ERROR";
|
|
72
|
+
readonly AGENTS_NON_PRODUCTIVE: "AGENTS_NON_PRODUCTIVE";
|
|
73
|
+
readonly AGENTS_ONLINE: "AGENTS_ONLINE";
|
|
74
|
+
readonly AGENTS_ON_CALL: "AGENTS_ON_CALL";
|
|
75
|
+
readonly AGENTS_ON_CONTACT: "AGENTS_ON_CONTACT";
|
|
76
|
+
readonly AGENTS_STAFFED: "AGENTS_STAFFED";
|
|
77
|
+
readonly CONTACTS_IN_QUEUE: "CONTACTS_IN_QUEUE";
|
|
78
|
+
readonly CONTACTS_SCHEDULED: "CONTACTS_SCHEDULED";
|
|
79
|
+
readonly OLDEST_CONTACT_AGE: "OLDEST_CONTACT_AGE";
|
|
80
|
+
readonly SLOTS_ACTIVE: "SLOTS_ACTIVE";
|
|
81
|
+
readonly SLOTS_AVAILABLE: "SLOTS_AVAILABLE";
|
|
82
|
+
};
|
|
83
|
+
export type CurrentMetricName =
|
|
84
|
+
(typeof CurrentMetricName)[keyof typeof CurrentMetricName];
|
|
85
|
+
export declare const Unit: {
|
|
86
|
+
readonly COUNT: "COUNT";
|
|
87
|
+
readonly PERCENT: "PERCENT";
|
|
88
|
+
readonly SECONDS: "SECONDS";
|
|
89
|
+
};
|
|
90
|
+
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
91
|
+
export interface CurrentMetric {
|
|
92
|
+
Name?: CurrentMetricName | string;
|
|
93
|
+
Unit?: Unit | string;
|
|
94
|
+
}
|
|
95
|
+
export interface Filters {
|
|
96
|
+
Queues?: string[];
|
|
97
|
+
Channels?: (Channel | string)[];
|
|
98
|
+
RoutingProfiles?: string[];
|
|
99
|
+
}
|
|
100
|
+
export declare const Grouping: {
|
|
101
|
+
readonly CHANNEL: "CHANNEL";
|
|
102
|
+
readonly QUEUE: "QUEUE";
|
|
103
|
+
readonly ROUTING_PROFILE: "ROUTING_PROFILE";
|
|
104
|
+
};
|
|
105
|
+
export type Grouping = (typeof Grouping)[keyof typeof Grouping];
|
|
71
106
|
export declare const SortOrder: {
|
|
72
107
|
readonly ASCENDING: "ASCENDING";
|
|
73
108
|
readonly DESCENDING: "DESCENDING";
|
|
@@ -319,9 +354,12 @@ export interface GetTaskTemplateResponse {
|
|
|
319
354
|
export interface GetTrafficDistributionRequest {
|
|
320
355
|
Id: string | undefined;
|
|
321
356
|
}
|
|
322
|
-
export interface
|
|
357
|
+
export interface SignInDistribution {
|
|
323
358
|
Region: string | undefined;
|
|
324
|
-
|
|
359
|
+
Enabled: boolean | undefined;
|
|
360
|
+
}
|
|
361
|
+
export interface SignInConfig {
|
|
362
|
+
Distributions: SignInDistribution[] | undefined;
|
|
325
363
|
}
|
|
326
364
|
export interface TelephonyConfig {
|
|
327
365
|
Distributions: Distribution[] | undefined;
|
|
@@ -330,6 +368,8 @@ export interface GetTrafficDistributionResponse {
|
|
|
330
368
|
TelephonyConfig?: TelephonyConfig;
|
|
331
369
|
Id?: string;
|
|
332
370
|
Arn?: string;
|
|
371
|
+
SignInConfig?: SignInConfig;
|
|
372
|
+
AgentConfig?: AgentConfig;
|
|
333
373
|
}
|
|
334
374
|
export interface ListAgentStatusRequest {
|
|
335
375
|
InstanceId: string | undefined;
|
|
@@ -923,11 +963,24 @@ export interface TrafficDistributionGroupSummary {
|
|
|
923
963
|
Name?: string;
|
|
924
964
|
InstanceArn?: string;
|
|
925
965
|
Status?: TrafficDistributionGroupStatus | string;
|
|
966
|
+
IsDefault?: boolean;
|
|
926
967
|
}
|
|
927
968
|
export interface ListTrafficDistributionGroupsResponse {
|
|
928
969
|
NextToken?: string;
|
|
929
970
|
TrafficDistributionGroupSummaryList?: TrafficDistributionGroupSummary[];
|
|
930
971
|
}
|
|
972
|
+
export interface ListTrafficDistributionGroupUsersRequest {
|
|
973
|
+
TrafficDistributionGroupId: string | undefined;
|
|
974
|
+
MaxResults?: number;
|
|
975
|
+
NextToken?: string;
|
|
976
|
+
}
|
|
977
|
+
export interface TrafficDistributionGroupUserSummary {
|
|
978
|
+
UserId?: string;
|
|
979
|
+
}
|
|
980
|
+
export interface ListTrafficDistributionGroupUsersResponse {
|
|
981
|
+
NextToken?: string;
|
|
982
|
+
TrafficDistributionGroupUserSummaryList?: TrafficDistributionGroupUserSummary[];
|
|
983
|
+
}
|
|
931
984
|
export interface ListUseCasesRequest {
|
|
932
985
|
InstanceId: string | undefined;
|
|
933
986
|
IntegrationAssociationId: string | undefined;
|
|
@@ -1691,6 +1744,8 @@ export interface UpdateTaskTemplateResponse {
|
|
|
1691
1744
|
export interface UpdateTrafficDistributionRequest {
|
|
1692
1745
|
Id: string | undefined;
|
|
1693
1746
|
TelephonyConfig?: TelephonyConfig;
|
|
1747
|
+
SignInConfig?: SignInConfig;
|
|
1748
|
+
AgentConfig?: AgentConfig;
|
|
1694
1749
|
}
|
|
1695
1750
|
export interface UpdateTrafficDistributionResponse {}
|
|
1696
1751
|
export interface UpdateUserHierarchyRequest {
|
|
@@ -1706,95 +1761,6 @@ export interface UpdateUserHierarchyGroupNameRequest {
|
|
|
1706
1761
|
export interface HierarchyLevelUpdate {
|
|
1707
1762
|
Name: string | undefined;
|
|
1708
1763
|
}
|
|
1709
|
-
export interface HierarchyStructureUpdate {
|
|
1710
|
-
LevelOne?: HierarchyLevelUpdate;
|
|
1711
|
-
LevelTwo?: HierarchyLevelUpdate;
|
|
1712
|
-
LevelThree?: HierarchyLevelUpdate;
|
|
1713
|
-
LevelFour?: HierarchyLevelUpdate;
|
|
1714
|
-
LevelFive?: HierarchyLevelUpdate;
|
|
1715
|
-
}
|
|
1716
|
-
export interface UpdateUserHierarchyStructureRequest {
|
|
1717
|
-
HierarchyStructure: HierarchyStructureUpdate | undefined;
|
|
1718
|
-
InstanceId: string | undefined;
|
|
1719
|
-
}
|
|
1720
|
-
export interface UpdateUserIdentityInfoRequest {
|
|
1721
|
-
IdentityInfo: UserIdentityInfo | undefined;
|
|
1722
|
-
UserId: string | undefined;
|
|
1723
|
-
InstanceId: string | undefined;
|
|
1724
|
-
}
|
|
1725
|
-
export interface UpdateUserPhoneConfigRequest {
|
|
1726
|
-
PhoneConfig: UserPhoneConfig | undefined;
|
|
1727
|
-
UserId: string | undefined;
|
|
1728
|
-
InstanceId: string | undefined;
|
|
1729
|
-
}
|
|
1730
|
-
export interface UpdateUserRoutingProfileRequest {
|
|
1731
|
-
RoutingProfileId: string | undefined;
|
|
1732
|
-
UserId: string | undefined;
|
|
1733
|
-
InstanceId: string | undefined;
|
|
1734
|
-
}
|
|
1735
|
-
export interface UpdateUserSecurityProfilesRequest {
|
|
1736
|
-
SecurityProfileIds: string[] | undefined;
|
|
1737
|
-
UserId: string | undefined;
|
|
1738
|
-
InstanceId: string | undefined;
|
|
1739
|
-
}
|
|
1740
|
-
export type EvaluationFormItem =
|
|
1741
|
-
| EvaluationFormItem.QuestionMember
|
|
1742
|
-
| EvaluationFormItem.SectionMember
|
|
1743
|
-
| EvaluationFormItem.$UnknownMember;
|
|
1744
|
-
export declare namespace EvaluationFormItem {
|
|
1745
|
-
interface SectionMember {
|
|
1746
|
-
Section: EvaluationFormSection;
|
|
1747
|
-
Question?: never;
|
|
1748
|
-
$unknown?: never;
|
|
1749
|
-
}
|
|
1750
|
-
interface QuestionMember {
|
|
1751
|
-
Section?: never;
|
|
1752
|
-
Question: EvaluationFormQuestion;
|
|
1753
|
-
$unknown?: never;
|
|
1754
|
-
}
|
|
1755
|
-
interface $UnknownMember {
|
|
1756
|
-
Section?: never;
|
|
1757
|
-
Question?: never;
|
|
1758
|
-
$unknown: [string, any];
|
|
1759
|
-
}
|
|
1760
|
-
interface Visitor<T> {
|
|
1761
|
-
Section: (value: EvaluationFormSection) => T;
|
|
1762
|
-
Question: (value: EvaluationFormQuestion) => T;
|
|
1763
|
-
_: (name: string, value: any) => T;
|
|
1764
|
-
}
|
|
1765
|
-
const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
|
|
1766
|
-
}
|
|
1767
|
-
export interface EvaluationFormSection {
|
|
1768
|
-
Title: string | undefined;
|
|
1769
|
-
RefId: string | undefined;
|
|
1770
|
-
Instructions?: string;
|
|
1771
|
-
Items: EvaluationFormItem[] | undefined;
|
|
1772
|
-
Weight?: number;
|
|
1773
|
-
}
|
|
1774
|
-
export interface CreateEvaluationFormRequest {
|
|
1775
|
-
InstanceId: string | undefined;
|
|
1776
|
-
Title: string | undefined;
|
|
1777
|
-
Description?: string;
|
|
1778
|
-
Items: EvaluationFormItem[] | undefined;
|
|
1779
|
-
ScoringStrategy?: EvaluationFormScoringStrategy;
|
|
1780
|
-
ClientToken?: string;
|
|
1781
|
-
}
|
|
1782
|
-
export interface EvaluationForm {
|
|
1783
|
-
EvaluationFormId: string | undefined;
|
|
1784
|
-
EvaluationFormVersion: number | undefined;
|
|
1785
|
-
Locked: boolean | undefined;
|
|
1786
|
-
EvaluationFormArn: string | undefined;
|
|
1787
|
-
Title: string | undefined;
|
|
1788
|
-
Description?: string;
|
|
1789
|
-
Status: EvaluationFormVersionStatus | string | undefined;
|
|
1790
|
-
Items: EvaluationFormItem[] | undefined;
|
|
1791
|
-
ScoringStrategy?: EvaluationFormScoringStrategy;
|
|
1792
|
-
CreatedTime: Date | undefined;
|
|
1793
|
-
CreatedBy: string | undefined;
|
|
1794
|
-
LastModifiedTime: Date | undefined;
|
|
1795
|
-
LastModifiedBy: string | undefined;
|
|
1796
|
-
Tags?: Record<string, string>;
|
|
1797
|
-
}
|
|
1798
1764
|
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
|
1799
1765
|
export declare const GetFederationTokenResponseFilterSensitiveLog: (
|
|
1800
1766
|
obj: GetFederationTokenResponse
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import { Evaluation, EvaluationFormScoringStrategy } from "./models_0";
|
|
2
1
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Evaluation,
|
|
3
|
+
EvaluationFormQuestion,
|
|
4
|
+
EvaluationFormScoringStrategy,
|
|
5
|
+
EvaluationFormVersionStatus,
|
|
6
|
+
UserIdentityInfo,
|
|
7
|
+
UserPhoneConfig,
|
|
8
|
+
} from "./models_0";
|
|
9
|
+
import {
|
|
5
10
|
HierarchyGroupCondition,
|
|
11
|
+
HierarchyLevelUpdate,
|
|
6
12
|
HoursOfOperationSearchFilter,
|
|
7
13
|
PromptSearchFilter,
|
|
8
14
|
QueueSearchFilter,
|
|
@@ -13,6 +19,95 @@ import {
|
|
|
13
19
|
StringCondition,
|
|
14
20
|
UserSearchFilter,
|
|
15
21
|
} from "./models_1";
|
|
22
|
+
export interface HierarchyStructureUpdate {
|
|
23
|
+
LevelOne?: HierarchyLevelUpdate;
|
|
24
|
+
LevelTwo?: HierarchyLevelUpdate;
|
|
25
|
+
LevelThree?: HierarchyLevelUpdate;
|
|
26
|
+
LevelFour?: HierarchyLevelUpdate;
|
|
27
|
+
LevelFive?: HierarchyLevelUpdate;
|
|
28
|
+
}
|
|
29
|
+
export interface UpdateUserHierarchyStructureRequest {
|
|
30
|
+
HierarchyStructure: HierarchyStructureUpdate | undefined;
|
|
31
|
+
InstanceId: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface UpdateUserIdentityInfoRequest {
|
|
34
|
+
IdentityInfo: UserIdentityInfo | undefined;
|
|
35
|
+
UserId: string | undefined;
|
|
36
|
+
InstanceId: string | undefined;
|
|
37
|
+
}
|
|
38
|
+
export interface UpdateUserPhoneConfigRequest {
|
|
39
|
+
PhoneConfig: UserPhoneConfig | undefined;
|
|
40
|
+
UserId: string | undefined;
|
|
41
|
+
InstanceId: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
export interface UpdateUserRoutingProfileRequest {
|
|
44
|
+
RoutingProfileId: string | undefined;
|
|
45
|
+
UserId: string | undefined;
|
|
46
|
+
InstanceId: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface UpdateUserSecurityProfilesRequest {
|
|
49
|
+
SecurityProfileIds: string[] | undefined;
|
|
50
|
+
UserId: string | undefined;
|
|
51
|
+
InstanceId: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
export type EvaluationFormItem =
|
|
54
|
+
| EvaluationFormItem.QuestionMember
|
|
55
|
+
| EvaluationFormItem.SectionMember
|
|
56
|
+
| EvaluationFormItem.$UnknownMember;
|
|
57
|
+
export declare namespace EvaluationFormItem {
|
|
58
|
+
interface SectionMember {
|
|
59
|
+
Section: EvaluationFormSection;
|
|
60
|
+
Question?: never;
|
|
61
|
+
$unknown?: never;
|
|
62
|
+
}
|
|
63
|
+
interface QuestionMember {
|
|
64
|
+
Section?: never;
|
|
65
|
+
Question: EvaluationFormQuestion;
|
|
66
|
+
$unknown?: never;
|
|
67
|
+
}
|
|
68
|
+
interface $UnknownMember {
|
|
69
|
+
Section?: never;
|
|
70
|
+
Question?: never;
|
|
71
|
+
$unknown: [string, any];
|
|
72
|
+
}
|
|
73
|
+
interface Visitor<T> {
|
|
74
|
+
Section: (value: EvaluationFormSection) => T;
|
|
75
|
+
Question: (value: EvaluationFormQuestion) => T;
|
|
76
|
+
_: (name: string, value: any) => T;
|
|
77
|
+
}
|
|
78
|
+
const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
|
|
79
|
+
}
|
|
80
|
+
export interface EvaluationFormSection {
|
|
81
|
+
Title: string | undefined;
|
|
82
|
+
RefId: string | undefined;
|
|
83
|
+
Instructions?: string;
|
|
84
|
+
Items: EvaluationFormItem[] | undefined;
|
|
85
|
+
Weight?: number;
|
|
86
|
+
}
|
|
87
|
+
export interface CreateEvaluationFormRequest {
|
|
88
|
+
InstanceId: string | undefined;
|
|
89
|
+
Title: string | undefined;
|
|
90
|
+
Description?: string;
|
|
91
|
+
Items: EvaluationFormItem[] | undefined;
|
|
92
|
+
ScoringStrategy?: EvaluationFormScoringStrategy;
|
|
93
|
+
ClientToken?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface EvaluationForm {
|
|
96
|
+
EvaluationFormId: string | undefined;
|
|
97
|
+
EvaluationFormVersion: number | undefined;
|
|
98
|
+
Locked: boolean | undefined;
|
|
99
|
+
EvaluationFormArn: string | undefined;
|
|
100
|
+
Title: string | undefined;
|
|
101
|
+
Description?: string;
|
|
102
|
+
Status: EvaluationFormVersionStatus | string | undefined;
|
|
103
|
+
Items: EvaluationFormItem[] | undefined;
|
|
104
|
+
ScoringStrategy?: EvaluationFormScoringStrategy;
|
|
105
|
+
CreatedTime: Date | undefined;
|
|
106
|
+
CreatedBy: string | undefined;
|
|
107
|
+
LastModifiedTime: Date | undefined;
|
|
108
|
+
LastModifiedBy: string | undefined;
|
|
109
|
+
Tags?: Record<string, string>;
|
|
110
|
+
}
|
|
16
111
|
export interface EvaluationFormContent {
|
|
17
112
|
EvaluationFormVersion: number | undefined;
|
|
18
113
|
EvaluationFormId: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTrafficDistributionGroupUsersCommandInput,
|
|
4
|
+
ListTrafficDistributionGroupUsersCommandOutput,
|
|
5
|
+
} from "../commands/ListTrafficDistributionGroupUsersCommand";
|
|
6
|
+
import { ConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListTrafficDistributionGroupUsers(
|
|
8
|
+
config: ConnectPaginationConfiguration,
|
|
9
|
+
input: ListTrafficDistributionGroupUsersCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListTrafficDistributionGroupUsersCommandOutput>;
|
|
@@ -33,6 +33,7 @@ export * from "./ListSecurityKeysPaginator";
|
|
|
33
33
|
export * from "./ListSecurityProfilePermissionsPaginator";
|
|
34
34
|
export * from "./ListSecurityProfilesPaginator";
|
|
35
35
|
export * from "./ListTaskTemplatesPaginator";
|
|
36
|
+
export * from "./ListTrafficDistributionGroupUsersPaginator";
|
|
36
37
|
export * from "./ListTrafficDistributionGroupsPaginator";
|
|
37
38
|
export * from "./ListUseCasesPaginator";
|
|
38
39
|
export * from "./ListUserHierarchyGroupsPaginator";
|