@aws-sdk/client-connect 3.583.0 → 3.586.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.
Files changed (40) hide show
  1. package/dist-cjs/index.js +211 -98
  2. package/dist-es/commands/DescribeContactCommand.js +1 -1
  3. package/dist-es/commands/ListViewVersionsCommand.js +1 -1
  4. package/dist-es/commands/ListViewsCommand.js +1 -1
  5. package/dist-es/models/models_0.js +25 -41
  6. package/dist-es/models/models_1.js +29 -33
  7. package/dist-es/models/models_2.js +42 -0
  8. package/dist-es/protocols/Aws_restJson1.js +94 -3
  9. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +6 -6
  10. package/dist-types/commands/DescribeContactCommand.d.ts +112 -1
  11. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -2
  15. package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListViewsCommand.d.ts +2 -1
  17. package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
  18. package/dist-types/commands/PauseContactCommand.d.ts +1 -1
  19. package/dist-types/commands/PutUserStatusCommand.d.ts +1 -1
  20. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +10 -10
  21. package/dist-types/commands/StopContactCommand.d.ts +6 -0
  22. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +5 -2
  23. package/dist-types/models/models_0.d.ts +255 -384
  24. package/dist-types/models/models_1.d.ts +248 -289
  25. package/dist-types/models/models_2.d.ts +551 -14
  26. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +2 -1
  33. package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/models/models_0.d.ts +89 -118
  38. package/dist-types/ts3.4/models/models_1.d.ts +79 -79
  39. package/dist-types/ts3.4/models/models_2.d.ts +150 -8
  40. package/package.json +1 -1
@@ -1,6 +1,35 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, } from "./models_0";
4
+ export class ContactFlowNotPublishedException extends __BaseException {
5
+ constructor(opts) {
6
+ super({
7
+ name: "ContactFlowNotPublishedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ this.name = "ContactFlowNotPublishedException";
12
+ this.$fault = "client";
13
+ Object.setPrototypeOf(this, ContactFlowNotPublishedException.prototype);
14
+ this.Message = opts.Message;
15
+ }
16
+ }
17
+ export const ContactFlowState = {
18
+ ACTIVE: "ACTIVE",
19
+ ARCHIVED: "ARCHIVED",
20
+ };
21
+ export const ContactFlowModuleState = {
22
+ ACTIVE: "ACTIVE",
23
+ ARCHIVED: "ARCHIVED",
24
+ };
25
+ export const ContactFlowModuleStatus = {
26
+ PUBLISHED: "PUBLISHED",
27
+ SAVED: "SAVED",
28
+ };
29
+ export const EvaluationFormVersionStatus = {
30
+ ACTIVE: "ACTIVE",
31
+ DRAFT: "DRAFT",
32
+ };
4
33
  export const InstanceStatus = {
5
34
  ACTIVE: "ACTIVE",
6
35
  CREATION_FAILED: "CREATION_FAILED",
@@ -467,19 +496,6 @@ export class OutputTypeNotFoundException extends __BaseException {
467
496
  this.Message = opts.Message;
468
497
  }
469
498
  }
470
- export class ConflictException extends __BaseException {
471
- constructor(opts) {
472
- super({
473
- name: "ConflictException",
474
- $fault: "client",
475
- ...opts,
476
- });
477
- this.name = "ConflictException";
478
- this.$fault = "client";
479
- Object.setPrototypeOf(this, ConflictException.prototype);
480
- this.Message = opts.Message;
481
- }
482
- }
483
499
  export const InstanceFilterSensitiveLog = (obj) => ({
484
500
  ...obj,
485
501
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -519,23 +535,3 @@ export const ListInstancesResponseFilterSensitiveLog = (obj) => ({
519
535
  InstanceSummaryList: obj.InstanceSummaryList.map((item) => InstanceSummaryFilterSensitiveLog(item)),
520
536
  }),
521
537
  });
522
- export const ViewSummaryFilterSensitiveLog = (obj) => ({
523
- ...obj,
524
- ...(obj.Name && { Name: SENSITIVE_STRING }),
525
- });
526
- export const ListViewsResponseFilterSensitiveLog = (obj) => ({
527
- ...obj,
528
- ...(obj.ViewsSummaryList && {
529
- ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item)),
530
- }),
531
- });
532
- export const ViewVersionSummaryFilterSensitiveLog = (obj) => ({
533
- ...obj,
534
- ...(obj.Name && { Name: SENSITIVE_STRING }),
535
- });
536
- export const ListViewVersionsResponseFilterSensitiveLog = (obj) => ({
537
- ...obj,
538
- ...(obj.ViewVersionSummaryList && {
539
- ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item)),
540
- }),
541
- });
@@ -1,6 +1,19 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
4
+ export class ConflictException extends __BaseException {
5
+ constructor(opts) {
6
+ super({
7
+ name: "ConflictException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ this.name = "ConflictException";
12
+ this.$fault = "client";
13
+ Object.setPrototypeOf(this, ConflictException.prototype);
14
+ this.Message = opts.Message;
15
+ }
16
+ }
4
17
  export const StringComparisonType = {
5
18
  CONTAINS: "CONTAINS",
6
19
  EXACT: "EXACT",
@@ -140,6 +153,26 @@ export var EvaluationFormItem;
140
153
  return visitor._(value.$unknown[0], value.$unknown[1]);
141
154
  };
142
155
  })(EvaluationFormItem || (EvaluationFormItem = {}));
156
+ export const ViewSummaryFilterSensitiveLog = (obj) => ({
157
+ ...obj,
158
+ ...(obj.Name && { Name: SENSITIVE_STRING }),
159
+ });
160
+ export const ListViewsResponseFilterSensitiveLog = (obj) => ({
161
+ ...obj,
162
+ ...(obj.ViewsSummaryList && {
163
+ ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item)),
164
+ }),
165
+ });
166
+ export const ViewVersionSummaryFilterSensitiveLog = (obj) => ({
167
+ ...obj,
168
+ ...(obj.Name && { Name: SENSITIVE_STRING }),
169
+ });
170
+ export const ListViewVersionsResponseFilterSensitiveLog = (obj) => ({
171
+ ...obj,
172
+ ...(obj.ViewVersionSummaryList && {
173
+ ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item)),
174
+ }),
175
+ });
143
176
  export const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
144
177
  ...obj,
145
178
  ...(obj.ReplicaAlias && { ReplicaAlias: SENSITIVE_STRING }),
@@ -238,3 +271,12 @@ export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
238
271
  ...obj,
239
272
  ...(obj.Name && { Name: SENSITIVE_STRING }),
240
273
  });
274
+ export const ContactFilterSensitiveLog = (obj) => ({
275
+ ...obj,
276
+ ...(obj.Name && { Name: SENSITIVE_STRING }),
277
+ ...(obj.Description && { Description: SENSITIVE_STRING }),
278
+ });
279
+ export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
280
+ ...obj,
281
+ ...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
282
+ });
@@ -3,9 +3,9 @@ import { requestBuilder as rb } from "@smithy/core";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
6
- import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, EvaluationAnswerData, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, TooManyRequestsException, } from "../models/models_0";
7
- import { ConflictException, OutputTypeNotFoundException, UserNotFoundException, } from "../models/models_1";
8
- import { ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, MaximumResultReturnedException, OutboundContactNotPermittedException, } from "../models/models_2";
6
+ import { AccessDeniedException, DuplicateResourceException, EvaluationAnswerData, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, TooManyRequestsException, } from "../models/models_0";
7
+ import { ContactFlowNotPublishedException, OutputTypeNotFoundException, UserNotFoundException, } from "../models/models_1";
8
+ import { ConflictException, ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, MaximumResultReturnedException, OutboundContactNotPermittedException, } from "../models/models_2";
9
9
  export const se_ActivateEvaluationFormCommand = async (input, context) => {
10
10
  const b = rb(input, context);
11
11
  const headers = {
@@ -7698,10 +7698,18 @@ const de_AgentContactReferenceList = (output, context) => {
7698
7698
  const de_AgentInfo = (output, context) => {
7699
7699
  return take(output, {
7700
7700
  AgentPauseDurationInSeconds: __expectInt32,
7701
+ Capabilities: _json,
7701
7702
  ConnectedToAgentTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7703
+ DeviceInfo: _json,
7704
+ HierarchyGroups: _json,
7702
7705
  Id: __expectString,
7703
7706
  });
7704
7707
  };
7708
+ const de_AgentQualityMetrics = (output, context) => {
7709
+ return take(output, {
7710
+ Audio: (_) => de_AudioQualityMetricsInfo(_, context),
7711
+ });
7712
+ };
7705
7713
  const de_AgentStatus = (output, context) => {
7706
7714
  return take(output, {
7707
7715
  AgentStatusARN: __expectString,
@@ -7741,12 +7749,32 @@ const de_AgentStatusSummaryList = (output, context) => {
7741
7749
  });
7742
7750
  return retVal;
7743
7751
  };
7752
+ const de_AttributeCondition = (output, context) => {
7753
+ return take(output, {
7754
+ ComparisonOperator: __expectString,
7755
+ Name: __expectString,
7756
+ ProficiencyLevel: __limitedParseFloat32,
7757
+ Value: __expectString,
7758
+ });
7759
+ };
7760
+ const de_AudioQualityMetricsInfo = (output, context) => {
7761
+ return take(output, {
7762
+ PotentialQualityIssues: _json,
7763
+ QualityScore: __limitedParseFloat32,
7764
+ });
7765
+ };
7744
7766
  const de_Contact = (output, context) => {
7745
7767
  return take(output, {
7746
7768
  AgentInfo: (_) => de_AgentInfo(_, context),
7769
+ AnsweringMachineDetectionStatus: __expectString,
7747
7770
  Arn: __expectString,
7771
+ Campaign: _json,
7748
7772
  Channel: __expectString,
7773
+ ConnectedToSystemTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7774
+ Customer: _json,
7775
+ CustomerVoiceActivity: (_) => de_CustomerVoiceActivity(_, context),
7749
7776
  Description: __expectString,
7777
+ DisconnectDetails: _json,
7750
7778
  DisconnectTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7751
7779
  Id: __expectString,
7752
7780
  InitialContactId: __expectString,
@@ -7757,11 +7785,14 @@ const de_Contact = (output, context) => {
7757
7785
  LastUpdateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7758
7786
  Name: __expectString,
7759
7787
  PreviousContactId: __expectString,
7788
+ QualityMetrics: (_) => de_QualityMetrics(_, context),
7760
7789
  QueueInfo: (_) => de_QueueInfo(_, context),
7761
7790
  QueuePriority: __expectLong,
7762
7791
  QueueTimeAdjustmentSeconds: __expectInt32,
7763
7792
  RelatedContactId: __expectString,
7793
+ RoutingCriteria: (_) => de_RoutingCriteria(_, context),
7764
7794
  ScheduledTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7795
+ SegmentAttributes: _json,
7765
7796
  Tags: _json,
7766
7797
  TotalPauseCount: __expectInt32,
7767
7798
  TotalPauseDurationInSeconds: __expectInt32,
@@ -7845,6 +7876,17 @@ const de_CurrentMetricResults = (output, context) => {
7845
7876
  });
7846
7877
  return retVal;
7847
7878
  };
7879
+ const de_CustomerQualityMetrics = (output, context) => {
7880
+ return take(output, {
7881
+ Audio: (_) => de_AudioQualityMetricsInfo(_, context),
7882
+ });
7883
+ };
7884
+ const de_CustomerVoiceActivity = (output, context) => {
7885
+ return take(output, {
7886
+ GreetingEndTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7887
+ GreetingStartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7888
+ });
7889
+ };
7848
7890
  const de_Evaluation = (output, context) => {
7849
7891
  return take(output, {
7850
7892
  Answers: (_) => de_EvaluationAnswersOutputMap(_, context),
@@ -8045,6 +8087,27 @@ const de_EvaluationSummaryList = (output, context) => {
8045
8087
  });
8046
8088
  return retVal;
8047
8089
  };
8090
+ const de_Expiry = (output, context) => {
8091
+ return take(output, {
8092
+ DurationInSeconds: __expectInt32,
8093
+ ExpiryTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
8094
+ });
8095
+ };
8096
+ const de_Expression = (output, context) => {
8097
+ return take(output, {
8098
+ AndExpression: (_) => de_Expressions(_, context),
8099
+ AttributeCondition: (_) => de_AttributeCondition(_, context),
8100
+ OrExpression: (_) => de_Expressions(_, context),
8101
+ });
8102
+ };
8103
+ const de_Expressions = (output, context) => {
8104
+ const retVal = (output || [])
8105
+ .filter((e) => e != null)
8106
+ .map((entry) => {
8107
+ return de_Expression(entry, context);
8108
+ });
8109
+ return retVal;
8110
+ };
8048
8111
  const de_FieldValue = (output, context) => {
8049
8112
  return take(output, {
8050
8113
  Id: __expectString,
@@ -8345,6 +8408,12 @@ const de_PromptSummaryList = (output, context) => {
8345
8408
  });
8346
8409
  return retVal;
8347
8410
  };
8411
+ const de_QualityMetrics = (output, context) => {
8412
+ return take(output, {
8413
+ Agent: (_) => de_AgentQualityMetrics(_, context),
8414
+ Customer: (_) => de_CustomerQualityMetrics(_, context),
8415
+ });
8416
+ };
8348
8417
  const de_Queue = (output, context) => {
8349
8418
  return take(output, {
8350
8419
  Description: __expectString,
@@ -8507,6 +8576,13 @@ const de_RealTimeContactAnalysisTimeData = (output, context) => {
8507
8576
  }
8508
8577
  return { $unknown: Object.entries(output)[0] };
8509
8578
  };
8579
+ const de_RoutingCriteria = (output, context) => {
8580
+ return take(output, {
8581
+ ActivationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
8582
+ Index: __expectInt32,
8583
+ Steps: (_) => de_Steps(_, context),
8584
+ });
8585
+ };
8510
8586
  const de_RoutingProfile = (output, context) => {
8511
8587
  return take(output, {
8512
8588
  AgentAvailabilityTimer: __expectString,
@@ -8654,6 +8730,21 @@ const de_SecurityProfileSummaryList = (output, context) => {
8654
8730
  });
8655
8731
  return retVal;
8656
8732
  };
8733
+ const de_Step = (output, context) => {
8734
+ return take(output, {
8735
+ Expiry: (_) => de_Expiry(_, context),
8736
+ Expression: (_) => de_Expression(_, context),
8737
+ Status: __expectString,
8738
+ });
8739
+ };
8740
+ const de_Steps = (output, context) => {
8741
+ const retVal = (output || [])
8742
+ .filter((e) => e != null)
8743
+ .map((entry) => {
8744
+ return de_Step(entry, context);
8745
+ });
8746
+ return retVal;
8747
+ };
8657
8748
  const de_TaskTemplateList = (output, context) => {
8658
8749
  const retVal = (output || [])
8659
8750
  .filter((e) => e != null)
@@ -37,16 +37,16 @@ declare const ClaimPhoneNumberCommand_base: {
37
37
  * the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>
38
38
  * operation.</p>
39
39
  * </important>
40
- * <p>If you plan to claim and release numbers frequently during a 30 day period,
40
+ * <p>If you plan to claim and release numbers frequently,
41
41
  * contact us for a service quota exception. Otherwise, it is possible you will be blocked from
42
- * claiming and releasing any more numbers until 30 days past the oldest number
42
+ * claiming and releasing any more numbers until up to 180 days past the oldest number
43
43
  * released has expired.</p>
44
44
  * <p>By default you can claim and release up to 200% of your maximum number of active
45
- * phone numbers during any 30 day period. If you claim and release phone numbers using
46
- * the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number
47
- * service level quota, you will be blocked from claiming any more numbers until 30
45
+ * phone numbers. If you claim and release phone numbers using
46
+ * the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number
47
+ * service level quota, you will be blocked from claiming any more numbers until 180
48
48
  * days past the oldest number released has expired. </p>
49
- * <p>For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30
49
+ * <p>For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180
50
50
  * day period you release 99, claim 99, and then release 99, you will have exceeded the
51
51
  * 200% limit. At that point you are blocked from claiming any more numbers until you
52
52
  * open an Amazon Web Services support ticket.</p>
@@ -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 { DescribeContactRequest, DescribeContactResponse } from "../models/models_0";
4
+ import { DescribeContactRequest } from "../models/models_0";
5
+ import { DescribeContactResponse } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -64,6 +65,31 @@ declare const DescribeContactCommand_base: {
64
65
  * // Id: "STRING_VALUE",
65
66
  * // ConnectedToAgentTimestamp: new Date("TIMESTAMP"),
66
67
  * // AgentPauseDurationInSeconds: Number("int"),
68
+ * // HierarchyGroups: { // HierarchyGroups
69
+ * // Level1: { // AgentHierarchyGroup
70
+ * // Arn: "STRING_VALUE",
71
+ * // },
72
+ * // Level2: {
73
+ * // Arn: "STRING_VALUE",
74
+ * // },
75
+ * // Level3: {
76
+ * // Arn: "STRING_VALUE",
77
+ * // },
78
+ * // Level4: {
79
+ * // Arn: "STRING_VALUE",
80
+ * // },
81
+ * // Level5: {
82
+ * // Arn: "STRING_VALUE",
83
+ * // },
84
+ * // },
85
+ * // DeviceInfo: { // DeviceInfo
86
+ * // PlatformName: "STRING_VALUE",
87
+ * // PlatformVersion: "STRING_VALUE",
88
+ * // OperatingSystem: "STRING_VALUE",
89
+ * // },
90
+ * // Capabilities: { // ParticipantCapabilities
91
+ * // Video: "SEND",
92
+ * // },
67
93
  * // },
68
94
  * // InitiationTimestamp: new Date("TIMESTAMP"),
69
95
  * // DisconnectTimestamp: new Date("TIMESTAMP"),
@@ -82,6 +108,91 @@ declare const DescribeContactCommand_base: {
82
108
  * // Tags: { // ContactTagMap
83
109
  * // "<keys>": "STRING_VALUE",
84
110
  * // },
111
+ * // ConnectedToSystemTimestamp: new Date("TIMESTAMP"),
112
+ * // RoutingCriteria: { // RoutingCriteria
113
+ * // Steps: [ // Steps
114
+ * // { // Step
115
+ * // Expiry: { // Expiry
116
+ * // DurationInSeconds: Number("int"),
117
+ * // ExpiryTimestamp: new Date("TIMESTAMP"),
118
+ * // },
119
+ * // Expression: { // Expression
120
+ * // AttributeCondition: { // AttributeCondition
121
+ * // Name: "STRING_VALUE",
122
+ * // Value: "STRING_VALUE",
123
+ * // ProficiencyLevel: Number("float"),
124
+ * // ComparisonOperator: "STRING_VALUE",
125
+ * // },
126
+ * // AndExpression: [ // Expressions
127
+ * // {
128
+ * // AttributeCondition: {
129
+ * // Name: "STRING_VALUE",
130
+ * // Value: "STRING_VALUE",
131
+ * // ProficiencyLevel: Number("float"),
132
+ * // ComparisonOperator: "STRING_VALUE",
133
+ * // },
134
+ * // AndExpression: [
135
+ * // "<Expression>",
136
+ * // ],
137
+ * // OrExpression: [
138
+ * // "<Expression>",
139
+ * // ],
140
+ * // },
141
+ * // ],
142
+ * // OrExpression: [
143
+ * // "<Expression>",
144
+ * // ],
145
+ * // },
146
+ * // Status: "ACTIVE" || "INACTIVE" || "JOINED" || "EXPIRED",
147
+ * // },
148
+ * // ],
149
+ * // ActivationTimestamp: new Date("TIMESTAMP"),
150
+ * // Index: Number("int"),
151
+ * // },
152
+ * // Customer: { // Customer
153
+ * // DeviceInfo: {
154
+ * // PlatformName: "STRING_VALUE",
155
+ * // PlatformVersion: "STRING_VALUE",
156
+ * // OperatingSystem: "STRING_VALUE",
157
+ * // },
158
+ * // Capabilities: {
159
+ * // Video: "SEND",
160
+ * // },
161
+ * // },
162
+ * // Campaign: { // Campaign
163
+ * // CampaignId: "STRING_VALUE",
164
+ * // },
165
+ * // AnsweringMachineDetectionStatus: "ANSWERED" || "UNDETECTED" || "ERROR" || "HUMAN_ANSWERED" || "SIT_TONE_DETECTED" || "SIT_TONE_BUSY" || "SIT_TONE_INVALID_NUMBER" || "FAX_MACHINE_DETECTED" || "VOICEMAIL_BEEP" || "VOICEMAIL_NO_BEEP" || "AMD_UNRESOLVED" || "AMD_UNANSWERED" || "AMD_ERROR" || "AMD_NOT_APPLICABLE",
166
+ * // CustomerVoiceActivity: { // CustomerVoiceActivity
167
+ * // GreetingStartTimestamp: new Date("TIMESTAMP"),
168
+ * // GreetingEndTimestamp: new Date("TIMESTAMP"),
169
+ * // },
170
+ * // QualityMetrics: { // QualityMetrics
171
+ * // Agent: { // AgentQualityMetrics
172
+ * // Audio: { // AudioQualityMetricsInfo
173
+ * // QualityScore: Number("float"),
174
+ * // PotentialQualityIssues: [ // PotentialAudioQualityIssues
175
+ * // "STRING_VALUE",
176
+ * // ],
177
+ * // },
178
+ * // },
179
+ * // Customer: { // CustomerQualityMetrics
180
+ * // Audio: {
181
+ * // QualityScore: Number("float"),
182
+ * // PotentialQualityIssues: [
183
+ * // "STRING_VALUE",
184
+ * // ],
185
+ * // },
186
+ * // },
187
+ * // },
188
+ * // DisconnectDetails: { // DisconnectDetails
189
+ * // PotentialDisconnectIssue: "STRING_VALUE",
190
+ * // },
191
+ * // SegmentAttributes: { // SegmentAttributes
192
+ * // "<keys>": { // SegmentAttributeValue
193
+ * // ValueString: "STRING_VALUE",
194
+ * // },
195
+ * // },
85
196
  * // },
86
197
  * // };
87
198
  *
@@ -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 { DescribeContactFlowRequest, DescribeContactFlowResponse } from "../models/models_0";
4
+ import { DescribeContactFlowRequest, DescribeContactFlowResponse } from "../models/models_1";
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 { DescribeContactFlowModuleRequest, DescribeContactFlowModuleResponse } from "../models/models_0";
4
+ import { DescribeContactFlowModuleRequest, DescribeContactFlowModuleResponse } from "../models/models_1";
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 { DescribeEvaluationFormRequest } from "../models/models_0";
4
+ import { DescribeEvaluationFormRequest } from "../models/models_1";
5
5
  import { DescribeEvaluationFormResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
@@ -1,8 +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 { DescribeHoursOfOperationRequest } from "../models/models_0";
5
- import { DescribeHoursOfOperationResponse } from "../models/models_1";
4
+ import { DescribeHoursOfOperationRequest, DescribeHoursOfOperationResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
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 { ListViewVersionsRequest, ListViewVersionsResponse } from "../models/models_1";
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, ListViewsResponse } from "../models/models_1";
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/models_1";
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/models_1";
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/models_1";
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/models_1";
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 of 30 days.
35
- * It cannot be searched for or claimed again until the period has ended. If you accidentally
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 during a 30 day period,
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 30 days past the oldest number
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 during any 30 day period. If you claim and release phone numbers using
44
- * the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number
45
- * service level quota, you will be blocked from claiming any more numbers until 30
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 30
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>
@@ -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>This API is in preview release for Amazon Connect and is subject to change.</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