@aws-sdk/client-connect 3.48.0 → 3.49.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 (91) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +2 -3
  3. package/dist-cjs/Connect.js +90 -0
  4. package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +36 -0
  5. package/dist-cjs/commands/CreateVocabularyCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteVocabularyCommand.js +36 -0
  7. package/dist-cjs/commands/DescribeVocabularyCommand.js +36 -0
  8. package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +36 -0
  9. package/dist-cjs/commands/SearchVocabulariesCommand.js +36 -0
  10. package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
  11. package/dist-cjs/commands/StartTaskContactCommand.js +3 -3
  12. package/dist-cjs/commands/StopContactCommand.js +3 -3
  13. package/dist-cjs/commands/StopContactRecordingCommand.js +3 -3
  14. package/dist-cjs/commands/StopContactStreamingCommand.js +3 -3
  15. package/dist-cjs/commands/SuspendContactRecordingCommand.js +3 -3
  16. package/dist-cjs/commands/index.js +6 -0
  17. package/dist-cjs/models/models_0.js +127 -95
  18. package/dist-cjs/models/models_1.js +91 -1
  19. package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +35 -0
  20. package/dist-cjs/pagination/SearchVocabulariesPaginator.js +35 -0
  21. package/dist-cjs/pagination/index.js +2 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +796 -7
  23. package/dist-es/Connect.js +90 -0
  24. package/dist-es/commands/AssociateDefaultVocabularyCommand.js +39 -0
  25. package/dist-es/commands/CreateVocabularyCommand.js +39 -0
  26. package/dist-es/commands/DeleteVocabularyCommand.js +39 -0
  27. package/dist-es/commands/DescribeVocabularyCommand.js +39 -0
  28. package/dist-es/commands/ListDefaultVocabulariesCommand.js +39 -0
  29. package/dist-es/commands/SearchVocabulariesCommand.js +39 -0
  30. package/dist-es/commands/StartOutboundVoiceContactCommand.js +1 -1
  31. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  32. package/dist-es/commands/StopContactCommand.js +1 -1
  33. package/dist-es/commands/StopContactRecordingCommand.js +1 -1
  34. package/dist-es/commands/StopContactStreamingCommand.js +1 -1
  35. package/dist-es/commands/SuspendContactRecordingCommand.js +1 -1
  36. package/dist-es/commands/index.js +6 -0
  37. package/dist-es/models/models_0.js +91 -61
  38. package/dist-es/models/models_1.js +61 -0
  39. package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +74 -0
  40. package/dist-es/pagination/SearchVocabulariesPaginator.js +74 -0
  41. package/dist-es/pagination/index.js +2 -0
  42. package/dist-es/protocols/Aws_restJson1.js +946 -64
  43. package/dist-types/Connect.d.ts +62 -15
  44. package/dist-types/ConnectClient.d.ts +10 -5
  45. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +35 -0
  46. package/dist-types/commands/CreateVocabularyCommand.d.ts +37 -0
  47. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteVocabularyCommand.d.ts +35 -0
  49. package/dist-types/commands/DescribeVocabularyCommand.d.ts +35 -0
  50. package/dist-types/commands/ListBotsCommand.d.ts +2 -2
  51. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +35 -0
  52. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  53. package/dist-types/commands/SearchVocabulariesCommand.d.ts +35 -0
  54. package/dist-types/commands/StartChatContactCommand.d.ts +4 -1
  55. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  56. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +4 -3
  57. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  58. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  59. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  60. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  61. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  62. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  63. package/dist-types/commands/index.d.ts +6 -0
  64. package/dist-types/models/models_0.d.ts +433 -347
  65. package/dist-types/models/models_1.d.ts +337 -2
  66. package/dist-types/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
  67. package/dist-types/pagination/SearchVocabulariesPaginator.d.ts +4 -0
  68. package/dist-types/pagination/index.d.ts +2 -0
  69. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  70. package/dist-types/ts3.4/Connect.d.ts +30 -0
  71. package/dist-types/ts3.4/ConnectClient.d.ts +8 -2
  72. package/dist-types/ts3.4/commands/AssociateDefaultVocabularyCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +236 -182
  86. package/dist-types/ts3.4/models/models_1.d.ts +184 -1
  87. package/dist-types/ts3.4/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/SearchVocabulariesPaginator.d.ts +4 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  90. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  91. package/package.json +39 -33
@@ -160,6 +160,47 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
160
160
 
161
161
  Message?: string;
162
162
  }
163
+ export declare enum VocabularyLanguageCode {
164
+ AR_AE = "ar-AE",
165
+ DE_CH = "de-CH",
166
+ DE_DE = "de-DE",
167
+ EN_AB = "en-AB",
168
+ EN_AU = "en-AU",
169
+ EN_GB = "en-GB",
170
+ EN_IE = "en-IE",
171
+ EN_IN = "en-IN",
172
+ EN_US = "en-US",
173
+ EN_WL = "en-WL",
174
+ ES_ES = "es-ES",
175
+ ES_US = "es-US",
176
+ FR_CA = "fr-CA",
177
+ FR_FR = "fr-FR",
178
+ HI_IN = "hi-IN",
179
+ IT_IT = "it-IT",
180
+ JA_JP = "ja-JP",
181
+ KO_KR = "ko-KR",
182
+ PT_BR = "pt-BR",
183
+ PT_PT = "pt-PT",
184
+ ZH_CN = "zh-CN"
185
+ }
186
+ export interface AssociateDefaultVocabularyRequest {
187
+
188
+ InstanceId: string | undefined;
189
+
190
+ LanguageCode: VocabularyLanguageCode | string | undefined;
191
+
192
+ VocabularyId?: string;
193
+ }
194
+ export declare namespace AssociateDefaultVocabularyRequest {
195
+
196
+ const filterSensitiveLog: (obj: AssociateDefaultVocabularyRequest) => any;
197
+ }
198
+ export interface AssociateDefaultVocabularyResponse {
199
+ }
200
+ export declare namespace AssociateDefaultVocabularyResponse {
201
+
202
+ const filterSensitiveLog: (obj: AssociateDefaultVocabularyResponse) => any;
203
+ }
163
204
  export declare enum InstanceStorageResourceType {
164
205
  AGENT_EVENTS = "AGENT_EVENTS",
165
206
  CALL_RECORDINGS = "CALL_RECORDINGS",
@@ -959,6 +1000,44 @@ export declare namespace CreateUserHierarchyGroupResponse {
959
1000
 
960
1001
  const filterSensitiveLog: (obj: CreateUserHierarchyGroupResponse) => any;
961
1002
  }
1003
+ export interface CreateVocabularyRequest {
1004
+
1005
+ ClientToken?: string;
1006
+
1007
+ InstanceId: string | undefined;
1008
+
1009
+ VocabularyName: string | undefined;
1010
+
1011
+ LanguageCode: VocabularyLanguageCode | string | undefined;
1012
+
1013
+ Content: string | undefined;
1014
+
1015
+ Tags?: {
1016
+ [key: string]: string;
1017
+ };
1018
+ }
1019
+ export declare namespace CreateVocabularyRequest {
1020
+
1021
+ const filterSensitiveLog: (obj: CreateVocabularyRequest) => any;
1022
+ }
1023
+ export declare enum VocabularyState {
1024
+ ACTIVE = "ACTIVE",
1025
+ CREATION_FAILED = "CREATION_FAILED",
1026
+ CREATION_IN_PROGRESS = "CREATION_IN_PROGRESS",
1027
+ DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS"
1028
+ }
1029
+ export interface CreateVocabularyResponse {
1030
+
1031
+ VocabularyArn: string | undefined;
1032
+
1033
+ VocabularyId: string | undefined;
1034
+
1035
+ State: VocabularyState | string | undefined;
1036
+ }
1037
+ export declare namespace CreateVocabularyResponse {
1038
+
1039
+ const filterSensitiveLog: (obj: CreateVocabularyResponse) => any;
1040
+ }
962
1041
  export interface DeleteContactFlowRequest {
963
1042
 
964
1043
  InstanceId: string | undefined;
@@ -1084,6 +1163,28 @@ export declare namespace DeleteUserHierarchyGroupRequest {
1084
1163
 
1085
1164
  const filterSensitiveLog: (obj: DeleteUserHierarchyGroupRequest) => any;
1086
1165
  }
1166
+ export interface DeleteVocabularyRequest {
1167
+
1168
+ InstanceId: string | undefined;
1169
+
1170
+ VocabularyId: string | undefined;
1171
+ }
1172
+ export declare namespace DeleteVocabularyRequest {
1173
+
1174
+ const filterSensitiveLog: (obj: DeleteVocabularyRequest) => any;
1175
+ }
1176
+ export interface DeleteVocabularyResponse {
1177
+
1178
+ VocabularyArn: string | undefined;
1179
+
1180
+ VocabularyId: string | undefined;
1181
+
1182
+ State: VocabularyState | string | undefined;
1183
+ }
1184
+ export declare namespace DeleteVocabularyResponse {
1185
+
1186
+ const filterSensitiveLog: (obj: DeleteVocabularyResponse) => any;
1187
+ }
1087
1188
  export interface DescribeAgentStatusRequest {
1088
1189
 
1089
1190
  InstanceId: string | undefined;
@@ -1766,6 +1867,51 @@ export declare namespace DescribeUserHierarchyStructureResponse {
1766
1867
 
1767
1868
  const filterSensitiveLog: (obj: DescribeUserHierarchyStructureResponse) => any;
1768
1869
  }
1870
+ export interface DescribeVocabularyRequest {
1871
+
1872
+ InstanceId: string | undefined;
1873
+
1874
+ VocabularyId: string | undefined;
1875
+ }
1876
+ export declare namespace DescribeVocabularyRequest {
1877
+
1878
+ const filterSensitiveLog: (obj: DescribeVocabularyRequest) => any;
1879
+ }
1880
+
1881
+ export interface Vocabulary {
1882
+
1883
+ Name: string | undefined;
1884
+
1885
+ Id: string | undefined;
1886
+
1887
+ Arn: string | undefined;
1888
+
1889
+ LanguageCode: VocabularyLanguageCode | string | undefined;
1890
+
1891
+ State: VocabularyState | string | undefined;
1892
+
1893
+ LastModifiedTime: Date | undefined;
1894
+
1895
+ FailureReason?: string;
1896
+
1897
+ Content?: string;
1898
+
1899
+ Tags?: {
1900
+ [key: string]: string;
1901
+ };
1902
+ }
1903
+ export declare namespace Vocabulary {
1904
+
1905
+ const filterSensitiveLog: (obj: Vocabulary) => any;
1906
+ }
1907
+ export interface DescribeVocabularyResponse {
1908
+
1909
+ Vocabulary: Vocabulary | undefined;
1910
+ }
1911
+ export declare namespace DescribeVocabularyResponse {
1912
+
1913
+ const filterSensitiveLog: (obj: DescribeVocabularyResponse) => any;
1914
+ }
1769
1915
  export interface DisassociateApprovedOriginRequest {
1770
1916
 
1771
1917
  InstanceId: string | undefined;
@@ -2401,6 +2547,45 @@ export declare namespace ListContactReferencesResponse {
2401
2547
 
2402
2548
  const filterSensitiveLog: (obj: ListContactReferencesResponse) => any;
2403
2549
  }
2550
+ export interface ListDefaultVocabulariesRequest {
2551
+
2552
+ InstanceId: string | undefined;
2553
+
2554
+ LanguageCode?: VocabularyLanguageCode | string;
2555
+
2556
+ MaxResults?: number;
2557
+
2558
+ NextToken?: string;
2559
+ }
2560
+ export declare namespace ListDefaultVocabulariesRequest {
2561
+
2562
+ const filterSensitiveLog: (obj: ListDefaultVocabulariesRequest) => any;
2563
+ }
2564
+
2565
+ export interface DefaultVocabulary {
2566
+
2567
+ InstanceId: string | undefined;
2568
+
2569
+ LanguageCode: VocabularyLanguageCode | string | undefined;
2570
+
2571
+ VocabularyId: string | undefined;
2572
+
2573
+ VocabularyName: string | undefined;
2574
+ }
2575
+ export declare namespace DefaultVocabulary {
2576
+
2577
+ const filterSensitiveLog: (obj: DefaultVocabulary) => any;
2578
+ }
2579
+ export interface ListDefaultVocabulariesResponse {
2580
+
2581
+ DefaultVocabularyList: DefaultVocabulary[] | undefined;
2582
+
2583
+ NextToken?: string;
2584
+ }
2585
+ export declare namespace ListDefaultVocabulariesResponse {
2586
+
2587
+ const filterSensitiveLog: (obj: ListDefaultVocabulariesResponse) => any;
2588
+ }
2404
2589
  export interface ListHoursOfOperationsRequest {
2405
2590
 
2406
2591
  InstanceId: string | undefined;
@@ -3348,6 +3533,55 @@ export declare namespace ResumeContactRecordingResponse {
3348
3533
 
3349
3534
  const filterSensitiveLog: (obj: ResumeContactRecordingResponse) => any;
3350
3535
  }
3536
+ export interface SearchVocabulariesRequest {
3537
+
3538
+ InstanceId: string | undefined;
3539
+
3540
+ MaxResults?: number;
3541
+
3542
+ NextToken?: string;
3543
+
3544
+ State?: VocabularyState | string;
3545
+
3546
+ NameStartsWith?: string;
3547
+
3548
+ LanguageCode?: VocabularyLanguageCode | string;
3549
+ }
3550
+ export declare namespace SearchVocabulariesRequest {
3551
+
3552
+ const filterSensitiveLog: (obj: SearchVocabulariesRequest) => any;
3553
+ }
3554
+
3555
+ export interface VocabularySummary {
3556
+
3557
+ Name: string | undefined;
3558
+
3559
+ Id: string | undefined;
3560
+
3561
+ Arn: string | undefined;
3562
+
3563
+ LanguageCode: VocabularyLanguageCode | string | undefined;
3564
+
3565
+ State: VocabularyState | string | undefined;
3566
+
3567
+ LastModifiedTime: Date | undefined;
3568
+
3569
+ FailureReason?: string;
3570
+ }
3571
+ export declare namespace VocabularySummary {
3572
+
3573
+ const filterSensitiveLog: (obj: VocabularySummary) => any;
3574
+ }
3575
+ export interface SearchVocabulariesResponse {
3576
+
3577
+ VocabularySummaryList?: VocabularySummary[];
3578
+
3579
+ NextToken?: string;
3580
+ }
3581
+ export declare namespace SearchVocabulariesResponse {
3582
+
3583
+ const filterSensitiveLog: (obj: SearchVocabulariesResponse) => any;
3584
+ }
3351
3585
 
3352
3586
  export interface ChatMessage {
3353
3587
 
@@ -3383,6 +3617,8 @@ export interface StartChatContactRequest {
3383
3617
  InitialMessage?: ChatMessage;
3384
3618
 
3385
3619
  ClientToken?: string;
3620
+
3621
+ ChatDurationInMinutes?: number;
3386
3622
  }
3387
3623
  export declare namespace StartChatContactRequest {
3388
3624
 
@@ -3472,185 +3708,3 @@ export interface DestinationNotAllowedException extends __SmithyException, $Meta
3472
3708
 
3473
3709
  Message?: string;
3474
3710
  }
3475
-
3476
- export interface OutboundContactNotPermittedException extends __SmithyException, $MetadataBearer {
3477
- name: "OutboundContactNotPermittedException";
3478
- $fault: "client";
3479
-
3480
- Message?: string;
3481
- }
3482
-
3483
- export interface AnswerMachineDetectionConfig {
3484
-
3485
- EnableAnswerMachineDetection?: boolean;
3486
-
3487
- AwaitAnswerMachinePrompt?: boolean;
3488
- }
3489
- export declare namespace AnswerMachineDetectionConfig {
3490
-
3491
- const filterSensitiveLog: (obj: AnswerMachineDetectionConfig) => any;
3492
- }
3493
- export declare enum TrafficType {
3494
- CAMPAIGN = "CAMPAIGN",
3495
- GENERAL = "GENERAL"
3496
- }
3497
- export interface StartOutboundVoiceContactRequest {
3498
-
3499
- DestinationPhoneNumber: string | undefined;
3500
-
3501
- ContactFlowId: string | undefined;
3502
-
3503
- InstanceId: string | undefined;
3504
-
3505
- ClientToken?: string;
3506
-
3507
- SourcePhoneNumber?: string;
3508
-
3509
- QueueId?: string;
3510
-
3511
- Attributes?: {
3512
- [key: string]: string;
3513
- };
3514
-
3515
- AnswerMachineDetectionConfig?: AnswerMachineDetectionConfig;
3516
-
3517
- CampaignId?: string;
3518
-
3519
- TrafficType?: TrafficType | string;
3520
- }
3521
- export declare namespace StartOutboundVoiceContactRequest {
3522
-
3523
- const filterSensitiveLog: (obj: StartOutboundVoiceContactRequest) => any;
3524
- }
3525
- export interface StartOutboundVoiceContactResponse {
3526
-
3527
- ContactId?: string;
3528
- }
3529
- export declare namespace StartOutboundVoiceContactResponse {
3530
-
3531
- const filterSensitiveLog: (obj: StartOutboundVoiceContactResponse) => any;
3532
- }
3533
-
3534
- export interface Reference {
3535
-
3536
- Value: string | undefined;
3537
-
3538
- Type: ReferenceType | string | undefined;
3539
- }
3540
- export declare namespace Reference {
3541
-
3542
- const filterSensitiveLog: (obj: Reference) => any;
3543
- }
3544
- export interface StartTaskContactRequest {
3545
-
3546
- InstanceId: string | undefined;
3547
-
3548
- PreviousContactId?: string;
3549
-
3550
- ContactFlowId: string | undefined;
3551
-
3552
- Attributes?: {
3553
- [key: string]: string;
3554
- };
3555
-
3556
- Name: string | undefined;
3557
-
3558
- References?: {
3559
- [key: string]: Reference;
3560
- };
3561
-
3562
- Description?: string;
3563
-
3564
- ClientToken?: string;
3565
-
3566
- ScheduledTime?: Date;
3567
- }
3568
- export declare namespace StartTaskContactRequest {
3569
-
3570
- const filterSensitiveLog: (obj: StartTaskContactRequest) => any;
3571
- }
3572
- export interface StartTaskContactResponse {
3573
-
3574
- ContactId?: string;
3575
- }
3576
- export declare namespace StartTaskContactResponse {
3577
-
3578
- const filterSensitiveLog: (obj: StartTaskContactResponse) => any;
3579
- }
3580
-
3581
- export interface ContactNotFoundException extends __SmithyException, $MetadataBearer {
3582
- name: "ContactNotFoundException";
3583
- $fault: "client";
3584
-
3585
- Message?: string;
3586
- }
3587
- export interface StopContactRequest {
3588
-
3589
- ContactId: string | undefined;
3590
-
3591
- InstanceId: string | undefined;
3592
- }
3593
- export declare namespace StopContactRequest {
3594
-
3595
- const filterSensitiveLog: (obj: StopContactRequest) => any;
3596
- }
3597
- export interface StopContactResponse {
3598
- }
3599
- export declare namespace StopContactResponse {
3600
-
3601
- const filterSensitiveLog: (obj: StopContactResponse) => any;
3602
- }
3603
- export interface StopContactRecordingRequest {
3604
-
3605
- InstanceId: string | undefined;
3606
-
3607
- ContactId: string | undefined;
3608
-
3609
- InitialContactId: string | undefined;
3610
- }
3611
- export declare namespace StopContactRecordingRequest {
3612
-
3613
- const filterSensitiveLog: (obj: StopContactRecordingRequest) => any;
3614
- }
3615
- export interface StopContactRecordingResponse {
3616
- }
3617
- export declare namespace StopContactRecordingResponse {
3618
-
3619
- const filterSensitiveLog: (obj: StopContactRecordingResponse) => any;
3620
- }
3621
- export interface StopContactStreamingRequest {
3622
-
3623
- InstanceId: string | undefined;
3624
-
3625
- ContactId: string | undefined;
3626
-
3627
- StreamingId: string | undefined;
3628
- }
3629
- export declare namespace StopContactStreamingRequest {
3630
-
3631
- const filterSensitiveLog: (obj: StopContactStreamingRequest) => any;
3632
- }
3633
- export interface StopContactStreamingResponse {
3634
- }
3635
- export declare namespace StopContactStreamingResponse {
3636
-
3637
- const filterSensitiveLog: (obj: StopContactStreamingResponse) => any;
3638
- }
3639
- export interface SuspendContactRecordingRequest {
3640
-
3641
- InstanceId: string | undefined;
3642
-
3643
- ContactId: string | undefined;
3644
-
3645
- InitialContactId: string | undefined;
3646
- }
3647
- export declare namespace SuspendContactRecordingRequest {
3648
-
3649
- const filterSensitiveLog: (obj: SuspendContactRecordingRequest) => any;
3650
- }
3651
- export interface SuspendContactRecordingResponse {
3652
- }
3653
- export declare namespace SuspendContactRecordingResponse {
3654
-
3655
- const filterSensitiveLog: (obj: SuspendContactRecordingResponse) => any;
3656
- }
@@ -1,4 +1,187 @@
1
- import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, Reference, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig } from "./models_0";
1
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig } from "./models_0";
3
+
4
+ export interface OutboundContactNotPermittedException extends __SmithyException, $MetadataBearer {
5
+ name: "OutboundContactNotPermittedException";
6
+ $fault: "client";
7
+
8
+ Message?: string;
9
+ }
10
+
11
+ export interface AnswerMachineDetectionConfig {
12
+
13
+ EnableAnswerMachineDetection?: boolean;
14
+
15
+ AwaitAnswerMachinePrompt?: boolean;
16
+ }
17
+ export declare namespace AnswerMachineDetectionConfig {
18
+
19
+ const filterSensitiveLog: (obj: AnswerMachineDetectionConfig) => any;
20
+ }
21
+ export declare enum TrafficType {
22
+ CAMPAIGN = "CAMPAIGN",
23
+ GENERAL = "GENERAL"
24
+ }
25
+ export interface StartOutboundVoiceContactRequest {
26
+
27
+ DestinationPhoneNumber: string | undefined;
28
+
29
+ ContactFlowId: string | undefined;
30
+
31
+ InstanceId: string | undefined;
32
+
33
+ ClientToken?: string;
34
+
35
+ SourcePhoneNumber?: string;
36
+
37
+ QueueId?: string;
38
+
39
+ Attributes?: {
40
+ [key: string]: string;
41
+ };
42
+
43
+ AnswerMachineDetectionConfig?: AnswerMachineDetectionConfig;
44
+
45
+ CampaignId?: string;
46
+
47
+ TrafficType?: TrafficType | string;
48
+ }
49
+ export declare namespace StartOutboundVoiceContactRequest {
50
+
51
+ const filterSensitiveLog: (obj: StartOutboundVoiceContactRequest) => any;
52
+ }
53
+ export interface StartOutboundVoiceContactResponse {
54
+
55
+ ContactId?: string;
56
+ }
57
+ export declare namespace StartOutboundVoiceContactResponse {
58
+
59
+ const filterSensitiveLog: (obj: StartOutboundVoiceContactResponse) => any;
60
+ }
61
+
62
+ export interface Reference {
63
+
64
+ Value: string | undefined;
65
+
66
+ Type: ReferenceType | string | undefined;
67
+ }
68
+ export declare namespace Reference {
69
+
70
+ const filterSensitiveLog: (obj: Reference) => any;
71
+ }
72
+ export interface StartTaskContactRequest {
73
+
74
+ InstanceId: string | undefined;
75
+
76
+ PreviousContactId?: string;
77
+
78
+ ContactFlowId: string | undefined;
79
+
80
+ Attributes?: {
81
+ [key: string]: string;
82
+ };
83
+
84
+ Name: string | undefined;
85
+
86
+ References?: {
87
+ [key: string]: Reference;
88
+ };
89
+
90
+ Description?: string;
91
+
92
+ ClientToken?: string;
93
+
94
+ ScheduledTime?: Date;
95
+ }
96
+ export declare namespace StartTaskContactRequest {
97
+
98
+ const filterSensitiveLog: (obj: StartTaskContactRequest) => any;
99
+ }
100
+ export interface StartTaskContactResponse {
101
+
102
+ ContactId?: string;
103
+ }
104
+ export declare namespace StartTaskContactResponse {
105
+
106
+ const filterSensitiveLog: (obj: StartTaskContactResponse) => any;
107
+ }
108
+
109
+ export interface ContactNotFoundException extends __SmithyException, $MetadataBearer {
110
+ name: "ContactNotFoundException";
111
+ $fault: "client";
112
+
113
+ Message?: string;
114
+ }
115
+ export interface StopContactRequest {
116
+
117
+ ContactId: string | undefined;
118
+
119
+ InstanceId: string | undefined;
120
+ }
121
+ export declare namespace StopContactRequest {
122
+
123
+ const filterSensitiveLog: (obj: StopContactRequest) => any;
124
+ }
125
+ export interface StopContactResponse {
126
+ }
127
+ export declare namespace StopContactResponse {
128
+
129
+ const filterSensitiveLog: (obj: StopContactResponse) => any;
130
+ }
131
+ export interface StopContactRecordingRequest {
132
+
133
+ InstanceId: string | undefined;
134
+
135
+ ContactId: string | undefined;
136
+
137
+ InitialContactId: string | undefined;
138
+ }
139
+ export declare namespace StopContactRecordingRequest {
140
+
141
+ const filterSensitiveLog: (obj: StopContactRecordingRequest) => any;
142
+ }
143
+ export interface StopContactRecordingResponse {
144
+ }
145
+ export declare namespace StopContactRecordingResponse {
146
+
147
+ const filterSensitiveLog: (obj: StopContactRecordingResponse) => any;
148
+ }
149
+ export interface StopContactStreamingRequest {
150
+
151
+ InstanceId: string | undefined;
152
+
153
+ ContactId: string | undefined;
154
+
155
+ StreamingId: string | undefined;
156
+ }
157
+ export declare namespace StopContactStreamingRequest {
158
+
159
+ const filterSensitiveLog: (obj: StopContactStreamingRequest) => any;
160
+ }
161
+ export interface StopContactStreamingResponse {
162
+ }
163
+ export declare namespace StopContactStreamingResponse {
164
+
165
+ const filterSensitiveLog: (obj: StopContactStreamingResponse) => any;
166
+ }
167
+ export interface SuspendContactRecordingRequest {
168
+
169
+ InstanceId: string | undefined;
170
+
171
+ ContactId: string | undefined;
172
+
173
+ InitialContactId: string | undefined;
174
+ }
175
+ export declare namespace SuspendContactRecordingRequest {
176
+
177
+ const filterSensitiveLog: (obj: SuspendContactRecordingRequest) => any;
178
+ }
179
+ export interface SuspendContactRecordingResponse {
180
+ }
181
+ export declare namespace SuspendContactRecordingResponse {
182
+
183
+ const filterSensitiveLog: (obj: SuspendContactRecordingResponse) => any;
184
+ }
2
185
  export interface TagResourceRequest {
3
186
 
4
187
  resourceArn: string | undefined;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListDefaultVocabulariesCommandInput, ListDefaultVocabulariesCommandOutput } from "../commands/ListDefaultVocabulariesCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListDefaultVocabularies(config: ConnectPaginationConfiguration, input: ListDefaultVocabulariesCommandInput, ...additionalArguments: any): Paginator<ListDefaultVocabulariesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "../commands/SearchVocabulariesCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateSearchVocabularies(config: ConnectPaginationConfiguration, input: SearchVocabulariesCommandInput, ...additionalArguments: any): Paginator<SearchVocabulariesCommandOutput>;
@@ -7,6 +7,7 @@ export * from "./ListBotsPaginator";
7
7
  export * from "./ListContactFlowModulesPaginator";
8
8
  export * from "./ListContactFlowsPaginator";
9
9
  export * from "./ListContactReferencesPaginator";
10
+ export * from "./ListDefaultVocabulariesPaginator";
10
11
  export * from "./ListHoursOfOperationsPaginator";
11
12
  export * from "./ListInstanceAttributesPaginator";
12
13
  export * from "./ListInstanceStorageConfigsPaginator";
@@ -27,3 +28,4 @@ export * from "./ListSecurityProfilesPaginator";
27
28
  export * from "./ListUseCasesPaginator";
28
29
  export * from "./ListUserHierarchyGroupsPaginator";
29
30
  export * from "./ListUsersPaginator";
31
+ export * from "./SearchVocabulariesPaginator";