@aws-sdk/client-connect 3.79.0 → 3.80.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 +11 -0
- package/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/PutUserStatusCommand.js +36 -0
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +1 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -13
- package/dist-cjs/models/models_1.js +14 -2
- package/dist-cjs/protocols/Aws_restJson1.js +94 -5
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/PutUserStatusCommand.js +39 -0
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +1 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +8 -8
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +114 -0
- package/dist-types/Connect.d.ts +11 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/PutUserStatusCommand.d.ts +39 -0
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +28 -56
- package/dist-types/models/models_1.d.ts +57 -1
- 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/PutUserStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -31
- package/dist-types/ts3.4/models/models_1.d.ts +32 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +8 -8
|
@@ -3706,6 +3706,24 @@ export declare namespace ListUsersResponse {
|
|
|
3706
3706
|
|
|
3707
3707
|
const filterSensitiveLog: (obj: ListUsersResponse) => any;
|
|
3708
3708
|
}
|
|
3709
|
+
export interface PutUserStatusRequest {
|
|
3710
|
+
|
|
3711
|
+
UserId: string | undefined;
|
|
3712
|
+
|
|
3713
|
+
InstanceId: string | undefined;
|
|
3714
|
+
|
|
3715
|
+
AgentStatusId: string | undefined;
|
|
3716
|
+
}
|
|
3717
|
+
export declare namespace PutUserStatusRequest {
|
|
3718
|
+
|
|
3719
|
+
const filterSensitiveLog: (obj: PutUserStatusRequest) => any;
|
|
3720
|
+
}
|
|
3721
|
+
export interface PutUserStatusResponse {
|
|
3722
|
+
}
|
|
3723
|
+
export declare namespace PutUserStatusResponse {
|
|
3724
|
+
|
|
3725
|
+
const filterSensitiveLog: (obj: PutUserStatusResponse) => any;
|
|
3726
|
+
}
|
|
3709
3727
|
export interface ReleasePhoneNumberRequest {
|
|
3710
3728
|
|
|
3711
3729
|
PhoneNumberId: string | undefined;
|
|
@@ -3734,34 +3752,3 @@ export declare namespace ResumeContactRecordingResponse {
|
|
|
3734
3752
|
|
|
3735
3753
|
const filterSensitiveLog: (obj: ResumeContactRecordingResponse) => any;
|
|
3736
3754
|
}
|
|
3737
|
-
export interface SearchAvailablePhoneNumbersRequest {
|
|
3738
|
-
|
|
3739
|
-
TargetArn: string | undefined;
|
|
3740
|
-
|
|
3741
|
-
PhoneNumberCountryCode: PhoneNumberCountryCode | string | undefined;
|
|
3742
|
-
|
|
3743
|
-
PhoneNumberType: PhoneNumberType | string | undefined;
|
|
3744
|
-
|
|
3745
|
-
PhoneNumberPrefix?: string;
|
|
3746
|
-
|
|
3747
|
-
MaxResults?: number;
|
|
3748
|
-
|
|
3749
|
-
NextToken?: string;
|
|
3750
|
-
}
|
|
3751
|
-
export declare namespace SearchAvailablePhoneNumbersRequest {
|
|
3752
|
-
|
|
3753
|
-
const filterSensitiveLog: (obj: SearchAvailablePhoneNumbersRequest) => any;
|
|
3754
|
-
}
|
|
3755
|
-
|
|
3756
|
-
export interface AvailableNumberSummary {
|
|
3757
|
-
|
|
3758
|
-
PhoneNumber?: string;
|
|
3759
|
-
|
|
3760
|
-
PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
|
|
3761
|
-
|
|
3762
|
-
PhoneNumberType?: PhoneNumberType | string;
|
|
3763
|
-
}
|
|
3764
|
-
export declare namespace AvailableNumberSummary {
|
|
3765
|
-
|
|
3766
|
-
const filterSensitiveLog: (obj: AvailableNumberSummary) => any;
|
|
3767
|
-
}
|
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { AgentStatusState,
|
|
3
|
+
import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
export interface SearchAvailablePhoneNumbersRequest {
|
|
5
|
+
|
|
6
|
+
TargetArn: string | undefined;
|
|
7
|
+
|
|
8
|
+
PhoneNumberCountryCode: PhoneNumberCountryCode | string | undefined;
|
|
9
|
+
|
|
10
|
+
PhoneNumberType: PhoneNumberType | string | undefined;
|
|
11
|
+
|
|
12
|
+
PhoneNumberPrefix?: string;
|
|
13
|
+
|
|
14
|
+
MaxResults?: number;
|
|
15
|
+
|
|
16
|
+
NextToken?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace SearchAvailablePhoneNumbersRequest {
|
|
19
|
+
|
|
20
|
+
const filterSensitiveLog: (obj: SearchAvailablePhoneNumbersRequest) => any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface AvailableNumberSummary {
|
|
24
|
+
|
|
25
|
+
PhoneNumber?: string;
|
|
26
|
+
|
|
27
|
+
PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
|
|
28
|
+
|
|
29
|
+
PhoneNumberType?: PhoneNumberType | string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace AvailableNumberSummary {
|
|
32
|
+
|
|
33
|
+
const filterSensitiveLog: (obj: AvailableNumberSummary) => any;
|
|
34
|
+
}
|
|
4
35
|
export interface SearchAvailablePhoneNumbersResponse {
|
|
5
36
|
|
|
6
37
|
NextToken?: string;
|
|
@@ -95,6 +95,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
95
95
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "../commands/ListUseCasesCommand";
|
|
96
96
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "../commands/ListUserHierarchyGroupsCommand";
|
|
97
97
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
|
|
98
|
+
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "../commands/PutUserStatusCommand";
|
|
98
99
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
|
|
99
100
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "../commands/ResumeContactRecordingCommand";
|
|
100
101
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
|
|
@@ -238,6 +239,7 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
|
|
|
238
239
|
export declare const serializeAws_restJson1ListUseCasesCommand: (input: ListUseCasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
239
240
|
export declare const serializeAws_restJson1ListUserHierarchyGroupsCommand: (input: ListUserHierarchyGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
240
241
|
export declare const serializeAws_restJson1ListUsersCommand: (input: ListUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
242
|
+
export declare const serializeAws_restJson1PutUserStatusCommand: (input: PutUserStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
241
243
|
export declare const serializeAws_restJson1ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
242
244
|
export declare const serializeAws_restJson1ResumeContactRecordingCommand: (input: ResumeContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
243
245
|
export declare const serializeAws_restJson1SearchAvailablePhoneNumbersCommand: (input: SearchAvailablePhoneNumbersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -381,6 +383,7 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
|
|
|
381
383
|
export declare const deserializeAws_restJson1ListUseCasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUseCasesCommandOutput>;
|
|
382
384
|
export declare const deserializeAws_restJson1ListUserHierarchyGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUserHierarchyGroupsCommandOutput>;
|
|
383
385
|
export declare const deserializeAws_restJson1ListUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsersCommandOutput>;
|
|
386
|
+
export declare const deserializeAws_restJson1PutUserStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutUserStatusCommandOutput>;
|
|
384
387
|
export declare const deserializeAws_restJson1ReleasePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReleasePhoneNumberCommandOutput>;
|
|
385
388
|
export declare const deserializeAws_restJson1ResumeContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResumeContactRecordingCommandOutput>;
|
|
386
389
|
export declare const deserializeAws_restJson1SearchAvailablePhoneNumbersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAvailablePhoneNumbersCommandOutput>;
|
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.80.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,21 +18,21 @@
|
|
|
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.80.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.80.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
32
|
"@aws-sdk/middleware-signing": "3.78.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.78.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.78.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.78.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.80.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.80.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",
|