@aws-sdk/client-connect 3.74.0 → 3.77.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/CHANGELOG.md +27 -0
- package/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/SearchUsersCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +73 -2
- package/dist-cjs/pagination/SearchUsersPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +223 -5
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/SearchUsersCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +51 -0
- package/dist-es/pagination/SearchUsersPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +220 -1
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/SearchUsersCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +7 -8
- package/dist-types/models/models_1.d.ts +282 -2
- package/dist-types/pagination/SearchUsersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +5 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +149 -0
- package/dist-types/ts3.4/pagination/SearchUsersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +9 -9
|
@@ -11,6 +11,124 @@ export declare namespace SearchAvailablePhoneNumbersResponse {
|
|
|
11
11
|
|
|
12
12
|
const filterSensitiveLog: (obj: SearchAvailablePhoneNumbersResponse) => any;
|
|
13
13
|
}
|
|
14
|
+
export declare enum HierarchyGroupMatchType {
|
|
15
|
+
EXACT = "EXACT",
|
|
16
|
+
WITH_CHILD_GROUPS = "WITH_CHILD_GROUPS"
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface HierarchyGroupCondition {
|
|
20
|
+
|
|
21
|
+
Value?: string;
|
|
22
|
+
|
|
23
|
+
HierarchyGroupMatchType?: HierarchyGroupMatchType | string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace HierarchyGroupCondition {
|
|
26
|
+
|
|
27
|
+
const filterSensitiveLog: (obj: HierarchyGroupCondition) => any;
|
|
28
|
+
}
|
|
29
|
+
export declare enum StringComparisonType {
|
|
30
|
+
CONTAINS = "CONTAINS",
|
|
31
|
+
EXACT = "EXACT",
|
|
32
|
+
STARTS_WITH = "STARTS_WITH"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface StringCondition {
|
|
36
|
+
|
|
37
|
+
FieldName?: string;
|
|
38
|
+
|
|
39
|
+
Value?: string;
|
|
40
|
+
|
|
41
|
+
ComparisonType?: StringComparisonType | string;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace StringCondition {
|
|
44
|
+
|
|
45
|
+
const filterSensitiveLog: (obj: StringCondition) => any;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface TagCondition {
|
|
49
|
+
|
|
50
|
+
TagKey?: string;
|
|
51
|
+
|
|
52
|
+
TagValue?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace TagCondition {
|
|
55
|
+
|
|
56
|
+
const filterSensitiveLog: (obj: TagCondition) => any;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ControlPlaneTagFilter {
|
|
60
|
+
|
|
61
|
+
OrConditions?: TagCondition[][];
|
|
62
|
+
|
|
63
|
+
AndConditions?: TagCondition[];
|
|
64
|
+
|
|
65
|
+
TagCondition?: TagCondition;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace ControlPlaneTagFilter {
|
|
68
|
+
|
|
69
|
+
const filterSensitiveLog: (obj: ControlPlaneTagFilter) => any;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface UserSearchFilter {
|
|
73
|
+
|
|
74
|
+
TagFilter?: ControlPlaneTagFilter;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace UserSearchFilter {
|
|
77
|
+
|
|
78
|
+
const filterSensitiveLog: (obj: UserSearchFilter) => any;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface UserIdentityInfoLite {
|
|
82
|
+
|
|
83
|
+
FirstName?: string;
|
|
84
|
+
|
|
85
|
+
LastName?: string;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace UserIdentityInfoLite {
|
|
88
|
+
|
|
89
|
+
const filterSensitiveLog: (obj: UserIdentityInfoLite) => any;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface UserSearchSummary {
|
|
93
|
+
|
|
94
|
+
Arn?: string;
|
|
95
|
+
|
|
96
|
+
DirectoryUserId?: string;
|
|
97
|
+
|
|
98
|
+
HierarchyGroupId?: string;
|
|
99
|
+
|
|
100
|
+
Id?: string;
|
|
101
|
+
|
|
102
|
+
IdentityInfo?: UserIdentityInfoLite;
|
|
103
|
+
|
|
104
|
+
PhoneConfig?: UserPhoneConfig;
|
|
105
|
+
|
|
106
|
+
RoutingProfileId?: string;
|
|
107
|
+
|
|
108
|
+
SecurityProfileIds?: string[];
|
|
109
|
+
|
|
110
|
+
Tags?: {
|
|
111
|
+
[key: string]: string;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
Username?: string;
|
|
115
|
+
}
|
|
116
|
+
export declare namespace UserSearchSummary {
|
|
117
|
+
|
|
118
|
+
const filterSensitiveLog: (obj: UserSearchSummary) => any;
|
|
119
|
+
}
|
|
120
|
+
export interface SearchUsersResponse {
|
|
121
|
+
|
|
122
|
+
Users?: UserSearchSummary[];
|
|
123
|
+
|
|
124
|
+
NextToken?: string;
|
|
125
|
+
|
|
126
|
+
ApproximateTotalCount?: number;
|
|
127
|
+
}
|
|
128
|
+
export declare namespace SearchUsersResponse {
|
|
129
|
+
|
|
130
|
+
const filterSensitiveLog: (obj: SearchUsersResponse) => any;
|
|
131
|
+
}
|
|
14
132
|
export interface SearchVocabulariesRequest {
|
|
15
133
|
|
|
16
134
|
InstanceId: string | undefined;
|
|
@@ -888,3 +1006,34 @@ export declare namespace UpdateUserSecurityProfilesRequest {
|
|
|
888
1006
|
|
|
889
1007
|
const filterSensitiveLog: (obj: UpdateUserSecurityProfilesRequest) => any;
|
|
890
1008
|
}
|
|
1009
|
+
|
|
1010
|
+
export interface UserSearchCriteria {
|
|
1011
|
+
|
|
1012
|
+
OrConditions?: UserSearchCriteria[];
|
|
1013
|
+
|
|
1014
|
+
AndConditions?: UserSearchCriteria[];
|
|
1015
|
+
|
|
1016
|
+
StringCondition?: StringCondition;
|
|
1017
|
+
|
|
1018
|
+
HierarchyGroupCondition?: HierarchyGroupCondition;
|
|
1019
|
+
}
|
|
1020
|
+
export declare namespace UserSearchCriteria {
|
|
1021
|
+
|
|
1022
|
+
const filterSensitiveLog: (obj: UserSearchCriteria) => any;
|
|
1023
|
+
}
|
|
1024
|
+
export interface SearchUsersRequest {
|
|
1025
|
+
|
|
1026
|
+
InstanceId?: string;
|
|
1027
|
+
|
|
1028
|
+
NextToken?: string;
|
|
1029
|
+
|
|
1030
|
+
MaxResults?: number;
|
|
1031
|
+
|
|
1032
|
+
SearchFilter?: UserSearchFilter;
|
|
1033
|
+
|
|
1034
|
+
SearchCriteria?: UserSearchCriteria;
|
|
1035
|
+
}
|
|
1036
|
+
export declare namespace SearchUsersRequest {
|
|
1037
|
+
|
|
1038
|
+
const filterSensitiveLog: (obj: SearchUsersRequest) => any;
|
|
1039
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "../commands/SearchUsersCommand";
|
|
3
|
+
import { ConnectPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateSearchUsers(config: ConnectPaginationConfiguration, input: SearchUsersCommandInput, ...additionalArguments: any): Paginator<SearchUsersCommandOutput>;
|
|
@@ -30,4 +30,5 @@ export * from "./ListUseCasesPaginator";
|
|
|
30
30
|
export * from "./ListUserHierarchyGroupsPaginator";
|
|
31
31
|
export * from "./ListUsersPaginator";
|
|
32
32
|
export * from "./SearchAvailablePhoneNumbersPaginator";
|
|
33
|
+
export * from "./SearchUsersPaginator";
|
|
33
34
|
export * from "./SearchVocabulariesPaginator";
|
|
@@ -98,6 +98,7 @@ import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListU
|
|
|
98
98
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
|
|
99
99
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "../commands/ResumeContactRecordingCommand";
|
|
100
100
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
|
|
101
|
+
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "../commands/SearchUsersCommand";
|
|
101
102
|
import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "../commands/SearchVocabulariesCommand";
|
|
102
103
|
import { StartChatContactCommandInput, StartChatContactCommandOutput } from "../commands/StartChatContactCommand";
|
|
103
104
|
import { StartContactRecordingCommandInput, StartContactRecordingCommandOutput } from "../commands/StartContactRecordingCommand";
|
|
@@ -240,6 +241,7 @@ export declare const serializeAws_restJson1ListUsersCommand: (input: ListUsersCo
|
|
|
240
241
|
export declare const serializeAws_restJson1ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
241
242
|
export declare const serializeAws_restJson1ResumeContactRecordingCommand: (input: ResumeContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
242
243
|
export declare const serializeAws_restJson1SearchAvailablePhoneNumbersCommand: (input: SearchAvailablePhoneNumbersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
244
|
+
export declare const serializeAws_restJson1SearchUsersCommand: (input: SearchUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
243
245
|
export declare const serializeAws_restJson1SearchVocabulariesCommand: (input: SearchVocabulariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
244
246
|
export declare const serializeAws_restJson1StartChatContactCommand: (input: StartChatContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
245
247
|
export declare const serializeAws_restJson1StartContactRecordingCommand: (input: StartContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -382,6 +384,7 @@ export declare const deserializeAws_restJson1ListUsersCommand: (output: __HttpRe
|
|
|
382
384
|
export declare const deserializeAws_restJson1ReleasePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReleasePhoneNumberCommandOutput>;
|
|
383
385
|
export declare const deserializeAws_restJson1ResumeContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResumeContactRecordingCommandOutput>;
|
|
384
386
|
export declare const deserializeAws_restJson1SearchAvailablePhoneNumbersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAvailablePhoneNumbersCommandOutput>;
|
|
387
|
+
export declare const deserializeAws_restJson1SearchUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchUsersCommandOutput>;
|
|
385
388
|
export declare const deserializeAws_restJson1SearchVocabulariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchVocabulariesCommandOutput>;
|
|
386
389
|
export declare const deserializeAws_restJson1StartChatContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartChatContactCommandOutput>;
|
|
387
390
|
export declare const deserializeAws_restJson1StartContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartContactRecordingCommandOutput>;
|
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.77.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,22 +18,22 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.76.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.75.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.76.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.75.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
32
|
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.75.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.76.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.72.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.72.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.75.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.75.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"tslib": "^2.3.1",
|