@aws-sdk/client-connect 3.583.0 → 3.587.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/dist-cjs/index.js +220 -106
- package/dist-es/commands/DescribeContactCommand.js +1 -1
- package/dist-es/commands/ListViewVersionsCommand.js +1 -1
- package/dist-es/commands/ListViewsCommand.js +1 -1
- package/dist-es/models/models_0.js +25 -41
- package/dist-es/models/models_1.js +29 -33
- package/dist-es/models/models_2.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +103 -11
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +6 -6
- package/dist-types/commands/DescribeContactCommand.d.ts +112 -1
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -2
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +3 -0
- package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListViewsCommand.d.ts +2 -1
- package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
- package/dist-types/commands/PauseContactCommand.d.ts +1 -1
- package/dist-types/commands/PutUserStatusCommand.d.ts +1 -1
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +10 -10
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -0
- package/dist-types/commands/StopContactCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +5 -2
- package/dist-types/models/models_0.d.ts +255 -384
- package/dist-types/models/models_1.d.ts +253 -289
- package/dist-types/models/models_2.d.ts +553 -16
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +89 -118
- package/dist-types/ts3.4/models/models_1.d.ts +80 -79
- package/dist-types/ts3.4/models/models_2.d.ts +150 -8
- package/package.json +18 -18
|
@@ -65,6 +65,9 @@ declare const DescribeRoutingProfileCommand_base: {
|
|
|
65
65
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
66
66
|
* // LastModifiedRegion: "STRING_VALUE",
|
|
67
67
|
* // IsDefault: true || false,
|
|
68
|
+
* // AssociatedQueueIds: [ // AssociatedQueueIdList
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
68
71
|
* // },
|
|
69
72
|
* // };
|
|
70
73
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListViewVersionsRequest, ListViewVersionsResponse } from "../models/
|
|
4
|
+
import { ListViewVersionsRequest, ListViewVersionsResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListViewsRequest
|
|
4
|
+
import { ListViewsRequest } from "../models/models_1";
|
|
5
|
+
import { ListViewsResponse } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { MonitorContactRequest, MonitorContactResponse } from "../models/
|
|
4
|
+
import { MonitorContactRequest, MonitorContactResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { PauseContactRequest, PauseContactResponse } from "../models/
|
|
4
|
+
import { PauseContactRequest, PauseContactResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { PutUserStatusRequest, PutUserStatusResponse } from "../models/
|
|
4
|
+
import { PutUserStatusRequest, PutUserStatusResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ReleasePhoneNumberRequest } from "../models/
|
|
4
|
+
import { ReleasePhoneNumberRequest } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -31,20 +31,20 @@ declare const ReleasePhoneNumberCommand_base: {
|
|
|
31
31
|
* <important>
|
|
32
32
|
* <p>To release phone numbers from a traffic distribution group, use the <code>ReleasePhoneNumber</code> API, not the
|
|
33
33
|
* Amazon Connect admin website.</p>
|
|
34
|
-
* <p>After releasing a phone number, the phone number enters into a cooldown period
|
|
35
|
-
* It cannot be searched for or claimed again until the period has ended. If you
|
|
36
|
-
* release a phone number, contact Amazon Web Services Support.</p>
|
|
34
|
+
* <p>After releasing a phone number, the phone number enters into a cooldown period for up to
|
|
35
|
+
* 180 days. It cannot be searched for or claimed again until the period has ended. If you
|
|
36
|
+
* accidentally release a phone number, contact Amazon Web Services Support.</p>
|
|
37
37
|
* </important>
|
|
38
|
-
* <p>If you plan to claim and release numbers frequently
|
|
38
|
+
* <p>If you plan to claim and release numbers frequently,
|
|
39
39
|
* contact us for a service quota exception. Otherwise, it is possible you will be blocked from
|
|
40
|
-
* claiming and releasing any more numbers until
|
|
40
|
+
* claiming and releasing any more numbers until up to 180 days past the oldest number
|
|
41
41
|
* released has expired.</p>
|
|
42
42
|
* <p>By default you can claim and release up to 200% of your maximum number of active
|
|
43
|
-
* phone numbers
|
|
44
|
-
* the UI or API during a rolling
|
|
45
|
-
* service level quota, you will be blocked from claiming any more numbers until
|
|
43
|
+
* phone numbers. If you claim and release phone numbers using
|
|
44
|
+
* the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number
|
|
45
|
+
* service level quota, you will be blocked from claiming any more numbers until 180
|
|
46
46
|
* days past the oldest number released has expired. </p>
|
|
47
|
-
* <p>For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any
|
|
47
|
+
* <p>For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180
|
|
48
48
|
* day period you release 99, claim 99, and then release 99, you will have exceeded the
|
|
49
49
|
* 200% limit. At that point you are blocked from claiming any more numbers until you
|
|
50
50
|
* open an Amazon Web Services support ticket.</p>
|
|
@@ -111,6 +111,9 @@ declare const SearchRoutingProfilesCommand_base: {
|
|
|
111
111
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
112
112
|
* // LastModifiedRegion: "STRING_VALUE",
|
|
113
113
|
* // IsDefault: true || false,
|
|
114
|
+
* // AssociatedQueueIds: [ // AssociatedQueueIdList
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
114
117
|
* // },
|
|
115
118
|
* // ],
|
|
116
119
|
* // NextToken: "STRING_VALUE",
|
|
@@ -38,6 +38,12 @@ declare const StopContactCommand_base: {
|
|
|
38
38
|
* <li>
|
|
39
39
|
* <p>QUEUE_TRANSFER</p>
|
|
40
40
|
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>EXTERNAL_OUTBOUND</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>MONITOR</p>
|
|
46
|
+
* </li>
|
|
41
47
|
* </ul>
|
|
42
48
|
* <p>Chat and task contacts can be terminated in any state, regardless of initiation
|
|
43
49
|
* method.</p>
|
|
@@ -26,8 +26,7 @@ declare const UpdateContactRoutingDataCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>
|
|
30
|
-
* <p>Updates routing priority and age on the contact (<b>QueuePriority</b> and <b>QueueTimeAdjustmentInSeconds</b>).
|
|
29
|
+
* <p>Updates routing priority and age on the contact (<b>QueuePriority</b> and <b>QueueTimeAdjustmentInSeconds</b>).
|
|
31
30
|
* These properties can be used to change a customer's position in the queue. For example, you can
|
|
32
31
|
* move a contact to the back of the queue by setting a lower routing priority relative to other
|
|
33
32
|
* contacts in queue; or you can move a contact to the front of the queue by increasing the routing
|
|
@@ -36,6 +35,10 @@ declare const UpdateContactRoutingDataCommand_base: {
|
|
|
36
35
|
* its position in queue, and not its actual queue wait time as reported through metrics. These
|
|
37
36
|
* properties can also be updated by using <a href="https://docs.aws.amazon.com/connect/latest/adminguide/change-routing-priority.html">the Set routing priority / age flow
|
|
38
37
|
* block</a>.</p>
|
|
38
|
+
* <note>
|
|
39
|
+
* <p>Either <b>QueuePriority</b> or <b>QueueTimeAdjustmentInSeconds</b> should be provided within the request body, but not
|
|
40
|
+
* both.</p>
|
|
41
|
+
* </note>
|
|
39
42
|
* @example
|
|
40
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
44
|
* ```javascript
|