@aws-sdk/client-connect 3.473.0 → 3.475.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 (61) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/Connect.js +8 -0
  3. package/dist-cjs/commands/PauseContactCommand.js +51 -0
  4. package/dist-cjs/commands/ResumeContactCommand.js +51 -0
  5. package/dist-cjs/commands/TagContactCommand.js +51 -0
  6. package/dist-cjs/commands/UntagContactCommand.js +51 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +7 -5
  9. package/dist-cjs/models/models_1.js +19 -6
  10. package/dist-cjs/models/models_2.js +6 -1
  11. package/dist-cjs/protocols/Aws_restJson1.js +414 -10
  12. package/dist-es/Connect.js +8 -0
  13. package/dist-es/commands/PauseContactCommand.js +47 -0
  14. package/dist-es/commands/ResumeContactCommand.js +47 -0
  15. package/dist-es/commands/TagContactCommand.js +47 -0
  16. package/dist-es/commands/UntagContactCommand.js +47 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/models/models_0.js +6 -4
  19. package/dist-es/models/models_1.js +17 -5
  20. package/dist-es/models/models_2.js +5 -0
  21. package/dist-es/protocols/Aws_restJson1.js +400 -4
  22. package/dist-types/Connect.d.ts +28 -0
  23. package/dist-types/ConnectClient.d.ts +6 -2
  24. package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +2 -2
  25. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
  27. package/dist-types/commands/DescribeContactCommand.d.ts +8 -0
  28. package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
  29. package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
  31. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListRulesCommand.d.ts +3 -3
  33. package/dist-types/commands/PauseContactCommand.d.ts +97 -0
  34. package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
  35. package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
  36. package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
  37. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
  38. package/dist-types/commands/TagContactCommand.d.ts +92 -0
  39. package/dist-types/commands/UntagContactCommand.d.ts +91 -0
  40. package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
  41. package/dist-types/commands/index.d.ts +4 -0
  42. package/dist-types/models/models_0.d.ts +164 -175
  43. package/dist-types/models/models_1.d.ts +237 -319
  44. package/dist-types/models/models_2.d.ts +398 -9
  45. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  46. package/dist-types/ts3.4/Connect.d.ts +68 -0
  47. package/dist-types/ts3.4/ConnectClient.d.ts +24 -0
  48. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
  51. package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
  53. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/TagContactCommand.d.ts +35 -0
  55. package/dist-types/ts3.4/commands/UntagContactCommand.d.ts +35 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +34 -37
  58. package/dist-types/ts3.4/models/models_1.d.ts +56 -65
  59. package/dist-types/ts3.4/models/models_2.d.ts +84 -5
  60. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  61. package/package.json +4 -4
@@ -661,6 +661,10 @@ import {
661
661
  MonitorContactCommandInput,
662
662
  MonitorContactCommandOutput,
663
663
  } from "./commands/MonitorContactCommand";
664
+ import {
665
+ PauseContactCommandInput,
666
+ PauseContactCommandOutput,
667
+ } from "./commands/PauseContactCommand";
664
668
  import {
665
669
  PutUserStatusCommandInput,
666
670
  PutUserStatusCommandOutput,
@@ -673,6 +677,10 @@ import {
673
677
  ReplicateInstanceCommandInput,
674
678
  ReplicateInstanceCommandOutput,
675
679
  } from "./commands/ReplicateInstanceCommand";
680
+ import {
681
+ ResumeContactCommandInput,
682
+ ResumeContactCommandOutput,
683
+ } from "./commands/ResumeContactCommand";
676
684
  import {
677
685
  ResumeContactRecordingCommandInput,
678
686
  ResumeContactRecordingCommandOutput,
@@ -769,6 +777,10 @@ import {
769
777
  SuspendContactRecordingCommandInput,
770
778
  SuspendContactRecordingCommandOutput,
771
779
  } from "./commands/SuspendContactRecordingCommand";
780
+ import {
781
+ TagContactCommandInput,
782
+ TagContactCommandOutput,
783
+ } from "./commands/TagContactCommand";
772
784
  import {
773
785
  TagResourceCommandInput,
774
786
  TagResourceCommandOutput,
@@ -777,6 +789,10 @@ import {
777
789
  TransferContactCommandInput,
778
790
  TransferContactCommandOutput,
779
791
  } from "./commands/TransferContactCommand";
792
+ import {
793
+ UntagContactCommandInput,
794
+ UntagContactCommandOutput,
795
+ } from "./commands/UntagContactCommand";
780
796
  import {
781
797
  UntagResourceCommandInput,
782
798
  UntagResourceCommandOutput,
@@ -1115,9 +1131,11 @@ export type ServiceInputTypes =
1115
1131
  | ListViewVersionsCommandInput
1116
1132
  | ListViewsCommandInput
1117
1133
  | MonitorContactCommandInput
1134
+ | PauseContactCommandInput
1118
1135
  | PutUserStatusCommandInput
1119
1136
  | ReleasePhoneNumberCommandInput
1120
1137
  | ReplicateInstanceCommandInput
1138
+ | ResumeContactCommandInput
1121
1139
  | ResumeContactRecordingCommandInput
1122
1140
  | SearchAvailablePhoneNumbersCommandInput
1123
1141
  | SearchHoursOfOperationsCommandInput
@@ -1142,8 +1160,10 @@ export type ServiceInputTypes =
1142
1160
  | StopContactStreamingCommandInput
1143
1161
  | SubmitContactEvaluationCommandInput
1144
1162
  | SuspendContactRecordingCommandInput
1163
+ | TagContactCommandInput
1145
1164
  | TagResourceCommandInput
1146
1165
  | TransferContactCommandInput
1166
+ | UntagContactCommandInput
1147
1167
  | UntagResourceCommandInput
1148
1168
  | UpdateAgentStatusCommandInput
1149
1169
  | UpdateContactAttributesCommandInput
@@ -1343,9 +1363,11 @@ export type ServiceOutputTypes =
1343
1363
  | ListViewVersionsCommandOutput
1344
1364
  | ListViewsCommandOutput
1345
1365
  | MonitorContactCommandOutput
1366
+ | PauseContactCommandOutput
1346
1367
  | PutUserStatusCommandOutput
1347
1368
  | ReleasePhoneNumberCommandOutput
1348
1369
  | ReplicateInstanceCommandOutput
1370
+ | ResumeContactCommandOutput
1349
1371
  | ResumeContactRecordingCommandOutput
1350
1372
  | SearchAvailablePhoneNumbersCommandOutput
1351
1373
  | SearchHoursOfOperationsCommandOutput
@@ -1370,8 +1392,10 @@ export type ServiceOutputTypes =
1370
1392
  | StopContactStreamingCommandOutput
1371
1393
  | SubmitContactEvaluationCommandOutput
1372
1394
  | SuspendContactRecordingCommandOutput
1395
+ | TagContactCommandOutput
1373
1396
  | TagResourceCommandOutput
1374
1397
  | TransferContactCommandOutput
1398
+ | UntagContactCommandOutput
1375
1399
  | UntagResourceCommandOutput
1376
1400
  | UpdateAgentStatusCommandOutput
1377
1401
  | UpdateContactAttributesCommandOutput
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import {
15
- DescribePromptRequest,
16
- DescribePromptResponse,
17
- } from "../models/models_0";
14
+ import { DescribePromptRequest } from "../models/models_0";
15
+ import { DescribePromptResponse } from "../models/models_1";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface DescribePromptCommandInput extends DescribePromptRequest {}
20
18
  export interface DescribePromptCommandOutput
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeQueueRequest,
16
16
  DescribeQueueResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeQueueCommandInput extends DescribeQueueRequest {}
20
20
  export interface DescribeQueueCommandOutput
@@ -0,0 +1,35 @@
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 { PauseContactRequest, PauseContactResponse } from "../models/models_1";
15
+ export { __MetadataBearer, $Command };
16
+ export interface PauseContactCommandInput extends PauseContactRequest {}
17
+ export interface PauseContactCommandOutput
18
+ extends PauseContactResponse,
19
+ __MetadataBearer {}
20
+ export declare class PauseContactCommand extends $Command<
21
+ PauseContactCommandInput,
22
+ PauseContactCommandOutput,
23
+ ConnectClientResolvedConfig
24
+ > {
25
+ readonly input: PauseContactCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: PauseContactCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: ConnectClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<PauseContactCommandInput, PauseContactCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -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 {
15
+ ResumeContactRequest,
16
+ ResumeContactResponse,
17
+ } from "../models/models_1";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ResumeContactCommandInput extends ResumeContactRequest {}
20
+ export interface ResumeContactCommandOutput
21
+ extends ResumeContactResponse,
22
+ __MetadataBearer {}
23
+ export declare class ResumeContactCommand extends $Command<
24
+ ResumeContactCommandInput,
25
+ ResumeContactCommandOutput,
26
+ ConnectClientResolvedConfig
27
+ > {
28
+ readonly input: ResumeContactCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ResumeContactCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ConnectClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<ResumeContactCommandInput, ResumeContactCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -11,8 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { SearchUsersResponse } from "../models/models_1";
15
- import { SearchUsersRequest } from "../models/models_2";
14
+ import { SearchUsersRequest, SearchUsersResponse } from "../models/models_2";
16
15
  export { __MetadataBearer, $Command };
17
16
  export interface SearchUsersCommandInput extends SearchUsersRequest {}
18
17
  export interface SearchUsersCommandOutput
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  SearchVocabulariesRequest,
16
16
  SearchVocabulariesResponse,
17
- } from "../models/models_1";
17
+ } from "../models/models_2";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface SearchVocabulariesCommandInput
20
20
  extends SearchVocabulariesRequest {}
@@ -0,0 +1,35 @@
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 { TagContactRequest, TagContactResponse } from "../models/models_2";
15
+ export { __MetadataBearer, $Command };
16
+ export interface TagContactCommandInput extends TagContactRequest {}
17
+ export interface TagContactCommandOutput
18
+ extends TagContactResponse,
19
+ __MetadataBearer {}
20
+ export declare class TagContactCommand extends $Command<
21
+ TagContactCommandInput,
22
+ TagContactCommandOutput,
23
+ ConnectClientResolvedConfig
24
+ > {
25
+ readonly input: TagContactCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: TagContactCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: ConnectClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<TagContactCommandInput, TagContactCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
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 { UntagContactRequest, UntagContactResponse } from "../models/models_2";
15
+ export { __MetadataBearer, $Command };
16
+ export interface UntagContactCommandInput extends UntagContactRequest {}
17
+ export interface UntagContactCommandOutput
18
+ extends UntagContactResponse,
19
+ __MetadataBearer {}
20
+ export declare class UntagContactCommand extends $Command<
21
+ UntagContactCommandInput,
22
+ UntagContactCommandOutput,
23
+ ConnectClientResolvedConfig
24
+ > {
25
+ readonly input: UntagContactCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: UntagContactCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: ConnectClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<UntagContactCommandInput, UntagContactCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -152,9 +152,11 @@ export * from "./ListUsersCommand";
152
152
  export * from "./ListViewVersionsCommand";
153
153
  export * from "./ListViewsCommand";
154
154
  export * from "./MonitorContactCommand";
155
+ export * from "./PauseContactCommand";
155
156
  export * from "./PutUserStatusCommand";
156
157
  export * from "./ReleasePhoneNumberCommand";
157
158
  export * from "./ReplicateInstanceCommand";
159
+ export * from "./ResumeContactCommand";
158
160
  export * from "./ResumeContactRecordingCommand";
159
161
  export * from "./SearchAvailablePhoneNumbersCommand";
160
162
  export * from "./SearchHoursOfOperationsCommand";
@@ -179,8 +181,10 @@ export * from "./StopContactRecordingCommand";
179
181
  export * from "./StopContactStreamingCommand";
180
182
  export * from "./SubmitContactEvaluationCommand";
181
183
  export * from "./SuspendContactRecordingCommand";
184
+ export * from "./TagContactCommand";
182
185
  export * from "./TagResourceCommand";
183
186
  export * from "./TransferContactCommand";
187
+ export * from "./UntagContactCommand";
184
188
  export * from "./UntagResourceCommand";
185
189
  export * from "./UpdateAgentStatusCommand";
186
190
  export * from "./UpdateContactAttributesCommand";
@@ -10,9 +10,12 @@ export declare class AccessDeniedException extends __BaseException {
10
10
  }
11
11
  export declare const ActionType: {
12
12
  readonly ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY";
13
+ readonly CREATE_CASE: "CREATE_CASE";
13
14
  readonly CREATE_TASK: "CREATE_TASK";
15
+ readonly END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS";
14
16
  readonly GENERATE_EVENTBRIDGE_EVENT: "GENERATE_EVENTBRIDGE_EVENT";
15
17
  readonly SEND_NOTIFICATION: "SEND_NOTIFICATION";
18
+ readonly UPDATE_CASE: "UPDATE_CASE";
16
19
  };
17
20
  export type ActionType = (typeof ActionType)[keyof typeof ActionType];
18
21
  export interface ActionSummary {
@@ -128,6 +131,7 @@ export interface AgentContactReference {
128
131
  export interface AgentInfo {
129
132
  Id?: string;
130
133
  ConnectedToAgentTimestamp?: Date;
134
+ AgentPauseDurationInSeconds?: number;
131
135
  }
132
136
  export declare const AgentStatusState: {
133
137
  readonly DISABLED: "DISABLED";
@@ -818,6 +822,7 @@ export declare const IntegrationType: {
818
822
  export type IntegrationType =
819
823
  (typeof IntegrationType)[keyof typeof IntegrationType];
820
824
  export declare const SourceType: {
825
+ readonly CASES: "CASES";
821
826
  readonly SALESFORCE: "SALESFORCE";
822
827
  readonly ZENDESK: "ZENDESK";
823
828
  };
@@ -970,6 +975,22 @@ export interface CreateRoutingProfileResponse {
970
975
  RoutingProfileId?: string;
971
976
  }
972
977
  export interface AssignContactCategoryActionDefinition {}
978
+ export interface EmptyFieldValue {}
979
+ export interface FieldValueUnion {
980
+ BooleanValue?: boolean;
981
+ DoubleValue?: number;
982
+ EmptyValue?: EmptyFieldValue;
983
+ StringValue?: string;
984
+ }
985
+ export interface FieldValue {
986
+ Id: string | undefined;
987
+ Value: FieldValueUnion | undefined;
988
+ }
989
+ export interface CreateCaseActionDefinition {
990
+ Fields: FieldValue[] | undefined;
991
+ TemplateId: string | undefined;
992
+ }
993
+ export interface EndAssociatedTasksActionDefinition {}
973
994
  export interface EventBridgeActionDefinition {
974
995
  Name: string | undefined;
975
996
  }
@@ -1013,12 +1034,18 @@ export interface TaskActionDefinition {
1013
1034
  ContactFlowId: string | undefined;
1014
1035
  References?: Record<string, Reference>;
1015
1036
  }
1037
+ export interface UpdateCaseActionDefinition {
1038
+ Fields: FieldValue[] | undefined;
1039
+ }
1016
1040
  export interface RuleAction {
1017
1041
  ActionType: ActionType | undefined;
1018
1042
  TaskAction?: TaskActionDefinition;
1019
1043
  EventBridgeAction?: EventBridgeActionDefinition;
1020
1044
  AssignContactCategoryAction?: AssignContactCategoryActionDefinition;
1021
1045
  SendNotificationAction?: SendNotificationActionDefinition;
1046
+ CreateCaseAction?: CreateCaseActionDefinition;
1047
+ UpdateCaseAction?: UpdateCaseActionDefinition;
1048
+ EndAssociatedTasksAction?: EndAssociatedTasksActionDefinition;
1022
1049
  }
1023
1050
  export declare const RulePublishStatus: {
1024
1051
  readonly DRAFT: "DRAFT";
@@ -1027,6 +1054,8 @@ export declare const RulePublishStatus: {
1027
1054
  export type RulePublishStatus =
1028
1055
  (typeof RulePublishStatus)[keyof typeof RulePublishStatus];
1029
1056
  export declare const EventSourceName: {
1057
+ readonly OnCaseCreate: "OnCaseCreate";
1058
+ readonly OnCaseUpdate: "OnCaseUpdate";
1030
1059
  readonly OnContactEvaluationSubmit: "OnContactEvaluationSubmit";
1031
1060
  readonly OnMetricDataUpdate: "OnMetricDataUpdate";
1032
1061
  readonly OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable";
@@ -1486,9 +1515,14 @@ export interface Contact {
1486
1515
  InitiationTimestamp?: Date;
1487
1516
  DisconnectTimestamp?: Date;
1488
1517
  LastUpdateTimestamp?: Date;
1518
+ LastPausedTimestamp?: Date;
1519
+ LastResumedTimestamp?: Date;
1520
+ TotalPauseCount?: number;
1521
+ TotalPauseDurationInSeconds?: number;
1489
1522
  ScheduledTimestamp?: Date;
1490
1523
  RelatedContactId?: string;
1491
1524
  WisdomInfo?: WisdomInfo;
1525
+ Tags?: Record<string, string>;
1492
1526
  }
1493
1527
  export interface DescribeContactResponse {
1494
1528
  Contact?: Contact;
@@ -2012,43 +2046,6 @@ export interface DescribePromptRequest {
2012
2046
  InstanceId: string | undefined;
2013
2047
  PromptId: string | undefined;
2014
2048
  }
2015
- export interface Prompt {
2016
- PromptARN?: string;
2017
- PromptId?: string;
2018
- Name?: string;
2019
- Description?: string;
2020
- Tags?: Record<string, string>;
2021
- LastModifiedTime?: Date;
2022
- LastModifiedRegion?: string;
2023
- }
2024
- export interface DescribePromptResponse {
2025
- Prompt?: Prompt;
2026
- }
2027
- export interface DescribeQueueRequest {
2028
- InstanceId: string | undefined;
2029
- QueueId: string | undefined;
2030
- }
2031
- export declare const QueueStatus: {
2032
- readonly DISABLED: "DISABLED";
2033
- readonly ENABLED: "ENABLED";
2034
- };
2035
- export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
2036
- export interface Queue {
2037
- Name?: string;
2038
- QueueArn?: string;
2039
- QueueId?: string;
2040
- Description?: string;
2041
- OutboundCallerConfig?: OutboundCallerConfig;
2042
- HoursOfOperationId?: string;
2043
- MaxContacts?: number;
2044
- Status?: QueueStatus;
2045
- Tags?: Record<string, string>;
2046
- LastModifiedTime?: Date;
2047
- LastModifiedRegion?: string;
2048
- }
2049
- export interface DescribeQueueResponse {
2050
- Queue?: Queue;
2051
- }
2052
2049
  export declare const CreateInstanceRequestFilterSensitiveLog: (
2053
2050
  obj: CreateInstanceRequest
2054
2051
  ) => any;
@@ -34,11 +34,10 @@ import {
34
34
  ListFlowAssociationResourceType,
35
35
  MediaConcurrency,
36
36
  MonitorCapability,
37
+ OutboundCallerConfig,
37
38
  ParticipantRole,
38
39
  PhoneNumberCountryCode,
39
40
  PhoneNumberType,
40
- Prompt,
41
- Queue,
42
41
  QueueReference,
43
42
  QuickConnectConfig,
44
43
  QuickConnectType,
@@ -61,6 +60,43 @@ import {
61
60
  VocabularyLanguageCode,
62
61
  VocabularyState,
63
62
  } from "./models_0";
63
+ export interface Prompt {
64
+ PromptARN?: string;
65
+ PromptId?: string;
66
+ Name?: string;
67
+ Description?: string;
68
+ Tags?: Record<string, string>;
69
+ LastModifiedTime?: Date;
70
+ LastModifiedRegion?: string;
71
+ }
72
+ export interface DescribePromptResponse {
73
+ Prompt?: Prompt;
74
+ }
75
+ export interface DescribeQueueRequest {
76
+ InstanceId: string | undefined;
77
+ QueueId: string | undefined;
78
+ }
79
+ export declare const QueueStatus: {
80
+ readonly DISABLED: "DISABLED";
81
+ readonly ENABLED: "ENABLED";
82
+ };
83
+ export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
84
+ export interface Queue {
85
+ Name?: string;
86
+ QueueArn?: string;
87
+ QueueId?: string;
88
+ Description?: string;
89
+ OutboundCallerConfig?: OutboundCallerConfig;
90
+ HoursOfOperationId?: string;
91
+ MaxContacts?: number;
92
+ Status?: QueueStatus;
93
+ Tags?: Record<string, string>;
94
+ LastModifiedTime?: Date;
95
+ LastModifiedRegion?: string;
96
+ }
97
+ export interface DescribeQueueResponse {
98
+ Queue?: Queue;
99
+ }
64
100
  export interface DescribeQuickConnectRequest {
65
101
  InstanceId: string | undefined;
66
102
  QuickConnectId: string | undefined;
@@ -1660,6 +1696,18 @@ export interface MonitorContactResponse {
1660
1696
  ContactId?: string;
1661
1697
  ContactArn?: string;
1662
1698
  }
1699
+ export declare class ConflictException extends __BaseException {
1700
+ readonly name: "ConflictException";
1701
+ readonly $fault: "client";
1702
+ Message?: string;
1703
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1704
+ }
1705
+ export interface PauseContactRequest {
1706
+ ContactId: string | undefined;
1707
+ InstanceId: string | undefined;
1708
+ ContactFlowId?: string;
1709
+ }
1710
+ export interface PauseContactResponse {}
1663
1711
  export interface PutUserStatusRequest {
1664
1712
  UserId: string | undefined;
1665
1713
  InstanceId: string | undefined;
@@ -1680,6 +1728,12 @@ export interface ReplicateInstanceResponse {
1680
1728
  Id?: string;
1681
1729
  Arn?: string;
1682
1730
  }
1731
+ export interface ResumeContactRequest {
1732
+ ContactId: string | undefined;
1733
+ InstanceId: string | undefined;
1734
+ ContactFlowId?: string;
1735
+ }
1736
+ export interface ResumeContactResponse {}
1683
1737
  export interface ResumeContactRecordingRequest {
1684
1738
  InstanceId: string | undefined;
1685
1739
  ContactId: string | undefined;
@@ -1824,69 +1878,6 @@ export declare const HierarchyGroupMatchType: {
1824
1878
  };
1825
1879
  export type HierarchyGroupMatchType =
1826
1880
  (typeof HierarchyGroupMatchType)[keyof typeof HierarchyGroupMatchType];
1827
- export interface HierarchyGroupCondition {
1828
- Value?: string;
1829
- HierarchyGroupMatchType?: HierarchyGroupMatchType;
1830
- }
1831
- export interface UserSearchFilter {
1832
- TagFilter?: ControlPlaneTagFilter;
1833
- }
1834
- export interface UserIdentityInfoLite {
1835
- FirstName?: string;
1836
- LastName?: string;
1837
- }
1838
- export interface UserSearchSummary {
1839
- Arn?: string;
1840
- DirectoryUserId?: string;
1841
- HierarchyGroupId?: string;
1842
- Id?: string;
1843
- IdentityInfo?: UserIdentityInfoLite;
1844
- PhoneConfig?: UserPhoneConfig;
1845
- RoutingProfileId?: string;
1846
- SecurityProfileIds?: string[];
1847
- Tags?: Record<string, string>;
1848
- Username?: string;
1849
- }
1850
- export interface SearchUsersResponse {
1851
- Users?: UserSearchSummary[];
1852
- NextToken?: string;
1853
- ApproximateTotalCount?: number;
1854
- }
1855
- export interface SearchVocabulariesRequest {
1856
- InstanceId: string | undefined;
1857
- MaxResults?: number;
1858
- NextToken?: string;
1859
- State?: VocabularyState;
1860
- NameStartsWith?: string;
1861
- LanguageCode?: VocabularyLanguageCode;
1862
- }
1863
- export interface VocabularySummary {
1864
- Name: string | undefined;
1865
- Id: string | undefined;
1866
- Arn: string | undefined;
1867
- LanguageCode: VocabularyLanguageCode | undefined;
1868
- State: VocabularyState | undefined;
1869
- LastModifiedTime: Date | undefined;
1870
- FailureReason?: string;
1871
- }
1872
- export interface SearchVocabulariesResponse {
1873
- VocabularySummaryList?: VocabularySummary[];
1874
- NextToken?: string;
1875
- }
1876
- export declare const ChatEventType: {
1877
- readonly DISCONNECT: "DISCONNECT";
1878
- readonly EVENT: "EVENT";
1879
- readonly MESSAGE: "MESSAGE";
1880
- };
1881
- export type ChatEventType = (typeof ChatEventType)[keyof typeof ChatEventType];
1882
- export interface ChatEvent {
1883
- Type: ChatEventType | undefined;
1884
- ContentType?: string;
1885
- Content?: string;
1886
- }
1887
- export interface ParticipantDetails {
1888
- DisplayName: string | undefined;
1889
- }
1890
1881
  export declare const DescribeViewResponseFilterSensitiveLog: (
1891
1882
  obj: DescribeViewResponse
1892
1883
  ) => any;