@aws-sdk/client-connect 3.431.0 → 3.433.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -3
- package/dist-cjs/Connect.js +2 -0
- package/dist-cjs/commands/UpdatePhoneNumberMetadataCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +80 -6
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/UpdatePhoneNumberMetadataCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +72 -0
- package/dist-types/Connect.d.ts +10 -3
- package/dist-types/ConnectClient.d.ts +6 -5
- package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +6 -0
- package/dist-types/commands/GetFederationTokenCommand.d.ts +7 -1
- package/dist-types/commands/GetMetricDataCommand.d.ts +9 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskContactCommand.d.ts +51 -1
- package/dist-types/commands/UpdatePhoneNumberMetadataCommand.d.ts +100 -0
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +23 -29
- package/dist-types/models/models_1.d.ts +36 -20
- package/dist-types/models/models_2.d.ts +28 -1
- 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/UpdatePhoneNumberMetadataCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +3 -3
- package/dist-types/ts3.4/models/models_2.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +32 -32
|
@@ -901,20 +901,20 @@ export interface UserData {
|
|
|
901
901
|
* <p>A map of available slots by channel. The key is a channel name. The value is an integer: the
|
|
902
902
|
* available number of slots. </p>
|
|
903
903
|
*/
|
|
904
|
-
AvailableSlotsByChannel?: Record<Channel, number
|
|
904
|
+
AvailableSlotsByChannel?: Partial<Record<Channel, number>>;
|
|
905
905
|
/**
|
|
906
906
|
* @public
|
|
907
907
|
* <p>A map of maximum slots by channel. The key is a channel name. The value is an integer: the
|
|
908
908
|
* maximum number of slots. This is calculated from <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_MediaConcurrency.html">MediaConcurrency</a> of the
|
|
909
909
|
* <code>RoutingProfile</code> assigned to the agent. </p>
|
|
910
910
|
*/
|
|
911
|
-
MaxSlotsByChannel?: Record<Channel, number
|
|
911
|
+
MaxSlotsByChannel?: Partial<Record<Channel, number>>;
|
|
912
912
|
/**
|
|
913
913
|
* @public
|
|
914
914
|
* <p> A map of active slots by channel. The key is a channel name. The value is an integer: the
|
|
915
915
|
* number of active slots. </p>
|
|
916
916
|
*/
|
|
917
|
-
ActiveSlotsByChannel?: Record<Channel, number
|
|
917
|
+
ActiveSlotsByChannel?: Partial<Record<Channel, number>>;
|
|
918
918
|
/**
|
|
919
919
|
* @public
|
|
920
920
|
* <p>A list of contact reference information.</p>
|
|
@@ -1433,9 +1433,8 @@ export interface IntervalDetails {
|
|
|
1433
1433
|
* <ul>
|
|
1434
1434
|
* <li>
|
|
1435
1435
|
* <p>
|
|
1436
|
-
* <code>FIFTEEN_MIN</code>: The
|
|
1437
|
-
*
|
|
1438
|
-
* days.</p>
|
|
1436
|
+
* <code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and
|
|
1437
|
+
* <code>EndTime</code> must be less than 3 days.</p>
|
|
1439
1438
|
* </li>
|
|
1440
1439
|
* <li>
|
|
1441
1440
|
* <p>
|
|
@@ -1560,8 +1559,8 @@ export interface GetMetricDataV2Request {
|
|
|
1560
1559
|
* @public
|
|
1561
1560
|
* <p>The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the
|
|
1562
1561
|
* retrieval of historical metrics data. The time must be before the end time timestamp. The start
|
|
1563
|
-
* and end time depends on the <code>IntervalPeriod</code> selected. By default the time range
|
|
1564
|
-
* start and end time is 35 days. Historical metrics are available for 3 months.</p>
|
|
1562
|
+
* and end time depends on the <code>IntervalPeriod</code> selected. By default the time range
|
|
1563
|
+
* between start and end time is 35 days. Historical metrics are available for 3 months.</p>
|
|
1565
1564
|
*/
|
|
1566
1565
|
StartTime: Date | undefined;
|
|
1567
1566
|
/**
|
|
@@ -1589,8 +1588,8 @@ export interface GetMetricDataV2Request {
|
|
|
1589
1588
|
* <ul>
|
|
1590
1589
|
* <li>
|
|
1591
1590
|
* <p>
|
|
1592
|
-
* <code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and
|
|
1593
|
-
*
|
|
1591
|
+
* <code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and
|
|
1592
|
+
* <code>EndTime</code> must be less than 3 days.</p>
|
|
1594
1593
|
* </li>
|
|
1595
1594
|
* <li>
|
|
1596
1595
|
* <p>
|
|
@@ -1761,7 +1760,8 @@ export interface GetMetricDataV2Request {
|
|
|
1761
1760
|
* </p>
|
|
1762
1761
|
* <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
|
|
1763
1762
|
* <note>
|
|
1764
|
-
* <p>The <code>Negate</code> key in Metric Level Filters is not applicable for this
|
|
1763
|
+
* <p>The <code>Negate</code> key in Metric Level Filters is not applicable for this
|
|
1764
|
+
* metric.</p>
|
|
1765
1765
|
* </note>
|
|
1766
1766
|
* </dd>
|
|
1767
1767
|
* <dt>AVG_CONTACT_DURATION</dt>
|
|
@@ -2226,7 +2226,8 @@ export interface SignInDistribution {
|
|
|
2226
2226
|
}
|
|
2227
2227
|
/**
|
|
2228
2228
|
* @public
|
|
2229
|
-
* <p>The distribution
|
|
2229
|
+
* <p>The distribution that determines which Amazon Web Services Regions should be used to sign in
|
|
2230
|
+
* agents in to both the instance and its replica(s).</p>
|
|
2230
2231
|
*/
|
|
2231
2232
|
export interface SignInConfig {
|
|
2232
2233
|
/**
|
|
@@ -2269,7 +2270,8 @@ export interface GetTrafficDistributionResponse {
|
|
|
2269
2270
|
Arn?: string;
|
|
2270
2271
|
/**
|
|
2271
2272
|
* @public
|
|
2272
|
-
* <p>The distribution
|
|
2273
|
+
* <p>The distribution that determines which Amazon Web Services Regions should be used to sign in
|
|
2274
|
+
* agents in to both the instance and its replica(s).</p>
|
|
2273
2275
|
*/
|
|
2274
2276
|
SignInConfig?: SignInConfig;
|
|
2275
2277
|
/**
|
|
@@ -6526,7 +6528,9 @@ export interface StartTaskContactRequest {
|
|
|
6526
6528
|
InstanceId: string | undefined;
|
|
6527
6529
|
/**
|
|
6528
6530
|
* @public
|
|
6529
|
-
* <p>The identifier of the previous chat, voice, or task contact.
|
|
6531
|
+
* <p>The identifier of the previous chat, voice, or task contact. Any updates to user-defined
|
|
6532
|
+
* attributes to task contacts linked using the same <code>PreviousContactID</code> will affect
|
|
6533
|
+
* every contact in the chain. There can be a maximum of 12 linked task contacts in a chain.</p>
|
|
6530
6534
|
*/
|
|
6531
6535
|
PreviousContactId?: string;
|
|
6532
6536
|
/**
|
|
@@ -6552,7 +6556,10 @@ export interface StartTaskContactRequest {
|
|
|
6552
6556
|
Name: string | undefined;
|
|
6553
6557
|
/**
|
|
6554
6558
|
* @public
|
|
6555
|
-
* <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP)
|
|
6559
|
+
* <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have
|
|
6560
|
+
* the following reference types at the time of creation: <code>URL</code> | <code>NUMBER</code> |
|
|
6561
|
+
* <code>STRING</code> | <code>DATE</code> | <code>EMAIL</code>. <code>ATTACHMENT</code> is not a
|
|
6562
|
+
* supported reference type during task creation.</p>
|
|
6556
6563
|
*/
|
|
6557
6564
|
References?: Record<string, Reference>;
|
|
6558
6565
|
/**
|
|
@@ -6576,17 +6583,26 @@ export interface StartTaskContactRequest {
|
|
|
6576
6583
|
ScheduledTime?: Date;
|
|
6577
6584
|
/**
|
|
6578
6585
|
* @public
|
|
6579
|
-
* <p>A unique identifier for the task template
|
|
6586
|
+
* <p>A unique identifier for the task template. For more information about task templates, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/task-templates.html">Create task templates</a> in the
|
|
6587
|
+
* <i>Amazon Connect Administrator Guide</i>. </p>
|
|
6580
6588
|
*/
|
|
6581
6589
|
TaskTemplateId?: string;
|
|
6582
6590
|
/**
|
|
6583
6591
|
* @public
|
|
6584
|
-
* <p>The identifier for the quick connect
|
|
6592
|
+
* <p>The identifier for the quick connect. Tasks that are created by using <code>QuickConnectId</code> will use the
|
|
6593
|
+
* flow that is defined on agent or queue quick connect. For more information about quick connects,
|
|
6594
|
+
* see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/quick-connects.html">Create quick
|
|
6595
|
+
* connects</a>.</p>
|
|
6585
6596
|
*/
|
|
6586
6597
|
QuickConnectId?: string;
|
|
6587
6598
|
/**
|
|
6588
6599
|
* @public
|
|
6589
|
-
* <p>The contactId that is <a href="https://docs.aws.amazon.com/connect/latest/adminguide/tasks.html#linked-tasks">related</a> to this contact
|
|
6600
|
+
* <p>The contactId that is <a href="https://docs.aws.amazon.com/connect/latest/adminguide/tasks.html#linked-tasks">related</a> to this contact. Linking
|
|
6601
|
+
* tasks together by using <code>RelatedContactID</code> copies over contact attributes from the
|
|
6602
|
+
* related task contact to the new task contact. All updates to user-defined attributes in the new
|
|
6603
|
+
* task contact are limited to the individual contact ID, unlike what happens when tasks are linked
|
|
6604
|
+
* by using <code>PreviousContactID</code>. There are no limits to the number of contacts that can
|
|
6605
|
+
* be linked by using <code>RelatedContactId</code>. </p>
|
|
6590
6606
|
*/
|
|
6591
6607
|
RelatedContactId?: string;
|
|
6592
6608
|
}
|
|
@@ -7012,7 +7028,7 @@ export interface UpdateContactFlowContentRequest {
|
|
|
7012
7028
|
/**
|
|
7013
7029
|
* @public
|
|
7014
7030
|
* <p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
|
|
7015
|
-
*
|
|
7031
|
+
* flow in Amazon Connect Flow language</a>. </p>
|
|
7016
7032
|
* <p>Length Constraints: Minimum length of 1. Maximum length of 256000.</p>
|
|
7017
7033
|
*/
|
|
7018
7034
|
Content: string | undefined;
|
|
@@ -7074,7 +7090,7 @@ export interface UpdateContactFlowModuleContentRequest {
|
|
|
7074
7090
|
/**
|
|
7075
7091
|
* @public
|
|
7076
7092
|
* <p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
|
|
7077
|
-
*
|
|
7093
|
+
* flow in Amazon Connect Flow language</a>. </p>
|
|
7078
7094
|
*/
|
|
7079
7095
|
Content: string | undefined;
|
|
7080
7096
|
}
|
|
@@ -93,6 +93,29 @@ export interface UpdatePhoneNumberResponse {
|
|
|
93
93
|
*/
|
|
94
94
|
PhoneNumberArn?: string;
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export interface UpdatePhoneNumberMetadataRequest {
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* <p>The Amazon Resource Name (ARN) or resource ID of the phone number.</p>
|
|
103
|
+
*/
|
|
104
|
+
PhoneNumberId: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* <p>The description of the phone number.</p>
|
|
108
|
+
*/
|
|
109
|
+
PhoneNumberDescription?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
113
|
+
* request. If not provided, the Amazon Web Services
|
|
114
|
+
* SDK populates this field. For more information about idempotency, see
|
|
115
|
+
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
116
|
+
*/
|
|
117
|
+
ClientToken?: string;
|
|
118
|
+
}
|
|
96
119
|
/**
|
|
97
120
|
* @public
|
|
98
121
|
*/
|
|
@@ -614,7 +637,8 @@ export interface UpdateTrafficDistributionRequest {
|
|
|
614
637
|
TelephonyConfig?: TelephonyConfig;
|
|
615
638
|
/**
|
|
616
639
|
* @public
|
|
617
|
-
* <p>The distribution
|
|
640
|
+
* <p>The distribution that determines which Amazon Web Services Regions should be used to sign in
|
|
641
|
+
* agents in to both the instance and its replica(s).</p>
|
|
618
642
|
*/
|
|
619
643
|
SignInConfig?: SignInConfig;
|
|
620
644
|
/**
|
|
@@ -1603,6 +1627,9 @@ export interface SearchUsersRequest {
|
|
|
1603
1627
|
/**
|
|
1604
1628
|
* @public
|
|
1605
1629
|
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
1630
|
+
* <note>
|
|
1631
|
+
* <p>InstanceID is a required field. The "Required: No" below is incorrect.</p>
|
|
1632
|
+
* </note>
|
|
1606
1633
|
*/
|
|
1607
1634
|
InstanceId?: string;
|
|
1608
1635
|
/**
|
|
@@ -184,6 +184,7 @@ import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutp
|
|
|
184
184
|
import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "../commands/UpdateInstanceStorageConfigCommand";
|
|
185
185
|
import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "../commands/UpdateParticipantRoleConfigCommand";
|
|
186
186
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
|
|
187
|
+
import { UpdatePhoneNumberMetadataCommandInput, UpdatePhoneNumberMetadataCommandOutput } from "../commands/UpdatePhoneNumberMetadataCommand";
|
|
187
188
|
import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "../commands/UpdatePromptCommand";
|
|
188
189
|
import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "../commands/UpdateQueueHoursOfOperationCommand";
|
|
189
190
|
import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "../commands/UpdateQueueMaxContactsCommand";
|
|
@@ -946,6 +947,10 @@ export declare const se_UpdateParticipantRoleConfigCommand: (input: UpdatePartic
|
|
|
946
947
|
* serializeAws_restJson1UpdatePhoneNumberCommand
|
|
947
948
|
*/
|
|
948
949
|
export declare const se_UpdatePhoneNumberCommand: (input: UpdatePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
950
|
+
/**
|
|
951
|
+
* serializeAws_restJson1UpdatePhoneNumberMetadataCommand
|
|
952
|
+
*/
|
|
953
|
+
export declare const se_UpdatePhoneNumberMetadataCommand: (input: UpdatePhoneNumberMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
949
954
|
/**
|
|
950
955
|
* serializeAws_restJson1UpdatePromptCommand
|
|
951
956
|
*/
|
|
@@ -1786,6 +1791,10 @@ export declare const de_UpdateParticipantRoleConfigCommand: (output: __HttpRespo
|
|
|
1786
1791
|
* deserializeAws_restJson1UpdatePhoneNumberCommand
|
|
1787
1792
|
*/
|
|
1788
1793
|
export declare const de_UpdatePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePhoneNumberCommandOutput>;
|
|
1794
|
+
/**
|
|
1795
|
+
* deserializeAws_restJson1UpdatePhoneNumberMetadataCommand
|
|
1796
|
+
*/
|
|
1797
|
+
export declare const de_UpdatePhoneNumberMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePhoneNumberMetadataCommandOutput>;
|
|
1789
1798
|
/**
|
|
1790
1799
|
* deserializeAws_restJson1UpdatePromptCommand
|
|
1791
1800
|
*/
|
|
@@ -735,6 +735,10 @@ import {
|
|
|
735
735
|
UpdatePhoneNumberCommandInput,
|
|
736
736
|
UpdatePhoneNumberCommandOutput,
|
|
737
737
|
} from "./commands/UpdatePhoneNumberCommand";
|
|
738
|
+
import {
|
|
739
|
+
UpdatePhoneNumberMetadataCommandInput,
|
|
740
|
+
UpdatePhoneNumberMetadataCommandOutput,
|
|
741
|
+
} from "./commands/UpdatePhoneNumberMetadataCommand";
|
|
738
742
|
import {
|
|
739
743
|
UpdatePromptCommandInput,
|
|
740
744
|
UpdatePromptCommandOutput,
|
|
@@ -3263,6 +3267,19 @@ export interface Connect {
|
|
|
3263
3267
|
options: __HttpHandlerOptions,
|
|
3264
3268
|
cb: (err: any, data?: UpdatePhoneNumberCommandOutput) => void
|
|
3265
3269
|
): void;
|
|
3270
|
+
updatePhoneNumberMetadata(
|
|
3271
|
+
args: UpdatePhoneNumberMetadataCommandInput,
|
|
3272
|
+
options?: __HttpHandlerOptions
|
|
3273
|
+
): Promise<UpdatePhoneNumberMetadataCommandOutput>;
|
|
3274
|
+
updatePhoneNumberMetadata(
|
|
3275
|
+
args: UpdatePhoneNumberMetadataCommandInput,
|
|
3276
|
+
cb: (err: any, data?: UpdatePhoneNumberMetadataCommandOutput) => void
|
|
3277
|
+
): void;
|
|
3278
|
+
updatePhoneNumberMetadata(
|
|
3279
|
+
args: UpdatePhoneNumberMetadataCommandInput,
|
|
3280
|
+
options: __HttpHandlerOptions,
|
|
3281
|
+
cb: (err: any, data?: UpdatePhoneNumberMetadataCommandOutput) => void
|
|
3282
|
+
): void;
|
|
3266
3283
|
updatePrompt(
|
|
3267
3284
|
args: UpdatePromptCommandInput,
|
|
3268
3285
|
options?: __HttpHandlerOptions
|
|
@@ -781,6 +781,10 @@ import {
|
|
|
781
781
|
UpdatePhoneNumberCommandInput,
|
|
782
782
|
UpdatePhoneNumberCommandOutput,
|
|
783
783
|
} from "./commands/UpdatePhoneNumberCommand";
|
|
784
|
+
import {
|
|
785
|
+
UpdatePhoneNumberMetadataCommandInput,
|
|
786
|
+
UpdatePhoneNumberMetadataCommandOutput,
|
|
787
|
+
} from "./commands/UpdatePhoneNumberMetadataCommand";
|
|
784
788
|
import {
|
|
785
789
|
UpdatePromptCommandInput,
|
|
786
790
|
UpdatePromptCommandOutput,
|
|
@@ -1077,6 +1081,7 @@ export type ServiceInputTypes =
|
|
|
1077
1081
|
| UpdateInstanceStorageConfigCommandInput
|
|
1078
1082
|
| UpdateParticipantRoleConfigCommandInput
|
|
1079
1083
|
| UpdatePhoneNumberCommandInput
|
|
1084
|
+
| UpdatePhoneNumberMetadataCommandInput
|
|
1080
1085
|
| UpdatePromptCommandInput
|
|
1081
1086
|
| UpdateQueueHoursOfOperationCommandInput
|
|
1082
1087
|
| UpdateQueueMaxContactsCommandInput
|
|
@@ -1288,6 +1293,7 @@ export type ServiceOutputTypes =
|
|
|
1288
1293
|
| UpdateInstanceStorageConfigCommandOutput
|
|
1289
1294
|
| UpdateParticipantRoleConfigCommandOutput
|
|
1290
1295
|
| UpdatePhoneNumberCommandOutput
|
|
1296
|
+
| UpdatePhoneNumberMetadataCommandOutput
|
|
1291
1297
|
| UpdatePromptCommandOutput
|
|
1292
1298
|
| UpdateQueueHoursOfOperationCommandOutput
|
|
1293
1299
|
| UpdateQueueMaxContactsCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { UpdatePhoneNumberMetadataRequest } from "../models/models_2";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface UpdatePhoneNumberMetadataCommandInput
|
|
17
|
+
extends UpdatePhoneNumberMetadataRequest {}
|
|
18
|
+
export interface UpdatePhoneNumberMetadataCommandOutput
|
|
19
|
+
extends __MetadataBearer {}
|
|
20
|
+
export declare class UpdatePhoneNumberMetadataCommand extends $Command<
|
|
21
|
+
UpdatePhoneNumberMetadataCommandInput,
|
|
22
|
+
UpdatePhoneNumberMetadataCommandOutput,
|
|
23
|
+
ConnectClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: UpdatePhoneNumberMetadataCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: UpdatePhoneNumberMetadataCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: ConnectClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<
|
|
33
|
+
UpdatePhoneNumberMetadataCommandInput,
|
|
34
|
+
UpdatePhoneNumberMetadataCommandOutput
|
|
35
|
+
>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -182,6 +182,7 @@ export * from "./UpdateInstanceAttributeCommand";
|
|
|
182
182
|
export * from "./UpdateInstanceStorageConfigCommand";
|
|
183
183
|
export * from "./UpdateParticipantRoleConfigCommand";
|
|
184
184
|
export * from "./UpdatePhoneNumberCommand";
|
|
185
|
+
export * from "./UpdatePhoneNumberMetadataCommand";
|
|
185
186
|
export * from "./UpdatePromptCommand";
|
|
186
187
|
export * from "./UpdateQueueHoursOfOperationCommand";
|
|
187
188
|
export * from "./UpdateQueueMaxContactsCommand";
|
|
@@ -252,9 +252,9 @@ export interface UserData {
|
|
|
252
252
|
RoutingProfile?: RoutingProfileReference;
|
|
253
253
|
HierarchyPath?: HierarchyPathReference;
|
|
254
254
|
Status?: AgentStatusReference;
|
|
255
|
-
AvailableSlotsByChannel?: Record<Channel, number
|
|
256
|
-
MaxSlotsByChannel?: Record<Channel, number
|
|
257
|
-
ActiveSlotsByChannel?: Record<Channel, number
|
|
255
|
+
AvailableSlotsByChannel?: Partial<Record<Channel, number>>;
|
|
256
|
+
MaxSlotsByChannel?: Partial<Record<Channel, number>>;
|
|
257
|
+
ActiveSlotsByChannel?: Partial<Record<Channel, number>>;
|
|
258
258
|
Contacts?: AgentContactReference[];
|
|
259
259
|
NextStatus?: string;
|
|
260
260
|
}
|
|
@@ -74,6 +74,11 @@ export interface UpdatePhoneNumberResponse {
|
|
|
74
74
|
PhoneNumberId?: string;
|
|
75
75
|
PhoneNumberArn?: string;
|
|
76
76
|
}
|
|
77
|
+
export interface UpdatePhoneNumberMetadataRequest {
|
|
78
|
+
PhoneNumberId: string | undefined;
|
|
79
|
+
PhoneNumberDescription?: string;
|
|
80
|
+
ClientToken?: string;
|
|
81
|
+
}
|
|
77
82
|
export interface UpdatePromptRequest {
|
|
78
83
|
InstanceId: string | undefined;
|
|
79
84
|
PromptId: string | undefined;
|
|
@@ -739,6 +739,10 @@ import {
|
|
|
739
739
|
UpdatePhoneNumberCommandInput,
|
|
740
740
|
UpdatePhoneNumberCommandOutput,
|
|
741
741
|
} from "../commands/UpdatePhoneNumberCommand";
|
|
742
|
+
import {
|
|
743
|
+
UpdatePhoneNumberMetadataCommandInput,
|
|
744
|
+
UpdatePhoneNumberMetadataCommandOutput,
|
|
745
|
+
} from "../commands/UpdatePhoneNumberMetadataCommand";
|
|
742
746
|
import {
|
|
743
747
|
UpdatePromptCommandInput,
|
|
744
748
|
UpdatePromptCommandOutput,
|
|
@@ -1579,6 +1583,10 @@ export declare const se_UpdatePhoneNumberCommand: (
|
|
|
1579
1583
|
input: UpdatePhoneNumberCommandInput,
|
|
1580
1584
|
context: __SerdeContext
|
|
1581
1585
|
) => Promise<__HttpRequest>;
|
|
1586
|
+
export declare const se_UpdatePhoneNumberMetadataCommand: (
|
|
1587
|
+
input: UpdatePhoneNumberMetadataCommandInput,
|
|
1588
|
+
context: __SerdeContext
|
|
1589
|
+
) => Promise<__HttpRequest>;
|
|
1582
1590
|
export declare const se_UpdatePromptCommand: (
|
|
1583
1591
|
input: UpdatePromptCommandInput,
|
|
1584
1592
|
context: __SerdeContext
|
|
@@ -2419,6 +2427,10 @@ export declare const de_UpdatePhoneNumberCommand: (
|
|
|
2419
2427
|
output: __HttpResponse,
|
|
2420
2428
|
context: __SerdeContext
|
|
2421
2429
|
) => Promise<UpdatePhoneNumberCommandOutput>;
|
|
2430
|
+
export declare const de_UpdatePhoneNumberMetadataCommand: (
|
|
2431
|
+
output: __HttpResponse,
|
|
2432
|
+
context: __SerdeContext
|
|
2433
|
+
) => Promise<UpdatePhoneNumberMetadataCommandOutput>;
|
|
2422
2434
|
export declare const de_UpdatePromptCommand: (
|
|
2423
2435
|
output: __HttpResponse,
|
|
2424
2436
|
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.433.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",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^2.0.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
39
|
-
"@smithy/hash-node": "^2.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
44
|
-
"@smithy/middleware-serde": "^2.0.
|
|
45
|
-
"@smithy/middleware-stack": "^2.0.
|
|
46
|
-
"@smithy/node-config-provider": "^2.1.
|
|
47
|
-
"@smithy/node-http-handler": "^2.1.
|
|
48
|
-
"@smithy/protocol-http": "^3.0.
|
|
49
|
-
"@smithy/smithy-client": "^2.1.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.433.0",
|
|
25
|
+
"@aws-sdk/core": "3.433.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.433.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.433.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.433.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
33
|
+
"@aws-sdk/types": "3.433.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.433.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.433.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.16",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.2.4",
|
|
39
|
+
"@smithy/hash-node": "^2.0.12",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.0.12",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.0.14",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.1.3",
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.18",
|
|
44
|
+
"@smithy/middleware-serde": "^2.0.12",
|
|
45
|
+
"@smithy/middleware-stack": "^2.0.6",
|
|
46
|
+
"@smithy/node-config-provider": "^2.1.3",
|
|
47
|
+
"@smithy/node-http-handler": "^2.1.8",
|
|
48
|
+
"@smithy/protocol-http": "^3.0.8",
|
|
49
|
+
"@smithy/smithy-client": "^2.1.12",
|
|
50
|
+
"@smithy/types": "^2.4.0",
|
|
51
|
+
"@smithy/url-parser": "^2.0.12",
|
|
52
52
|
"@smithy/util-base64": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
57
|
-
"@smithy/util-retry": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
57
|
+
"@smithy/util-retry": "^2.0.5",
|
|
58
58
|
"@smithy/util-utf8": "^2.0.0",
|
|
59
59
|
"tslib": "^2.5.0",
|
|
60
60
|
"uuid": "^8.3.2"
|