@aws-sdk/client-connect 3.62.0 → 3.74.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 (86) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/Connect.js +120 -0
  4. package/dist-cjs/commands/AssociatePhoneNumberContactFlowCommand.js +36 -0
  5. package/dist-cjs/commands/ClaimPhoneNumberCommand.js +36 -0
  6. package/dist-cjs/commands/DescribePhoneNumberCommand.js +36 -0
  7. package/dist-cjs/commands/DisassociatePhoneNumberContactFlowCommand.js +36 -0
  8. package/dist-cjs/commands/ListPhoneNumbersV2Command.js +36 -0
  9. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +36 -0
  10. package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +37 -0
  11. package/dist-cjs/commands/SearchVocabulariesCommand.js +3 -3
  12. package/dist-cjs/commands/StartChatContactCommand.js +3 -3
  13. package/dist-cjs/commands/StartContactRecordingCommand.js +3 -3
  14. package/dist-cjs/commands/StartContactStreamingCommand.js +3 -3
  15. package/dist-cjs/commands/UpdatePhoneNumberCommand.js +36 -0
  16. package/dist-cjs/commands/index.js +8 -0
  17. package/dist-cjs/models/models_0.js +795 -803
  18. package/dist-cjs/models/models_1.js +118 -2
  19. package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +35 -0
  20. package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +35 -0
  21. package/dist-cjs/pagination/index.js +2 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +744 -12
  23. package/dist-es/Connect.js +120 -0
  24. package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +39 -0
  25. package/dist-es/commands/ClaimPhoneNumberCommand.js +39 -0
  26. package/dist-es/commands/DescribePhoneNumberCommand.js +39 -0
  27. package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +39 -0
  28. package/dist-es/commands/ListPhoneNumbersV2Command.js +39 -0
  29. package/dist-es/commands/ReleasePhoneNumberCommand.js +39 -0
  30. package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +40 -0
  31. package/dist-es/commands/SearchVocabulariesCommand.js +1 -1
  32. package/dist-es/commands/StartChatContactCommand.js +1 -1
  33. package/dist-es/commands/StartContactRecordingCommand.js +1 -1
  34. package/dist-es/commands/StartContactStreamingCommand.js +1 -1
  35. package/dist-es/commands/UpdatePhoneNumberCommand.js +39 -0
  36. package/dist-es/commands/index.js +8 -0
  37. package/dist-es/models/models_0.js +320 -329
  38. package/dist-es/models/models_1.js +83 -0
  39. package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +74 -0
  40. package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +74 -0
  41. package/dist-es/pagination/index.js +2 -0
  42. package/dist-es/protocols/Aws_restJson1.js +960 -36
  43. package/dist-types/Connect.d.ts +59 -1
  44. package/dist-types/ConnectClient.d.ts +10 -2
  45. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +35 -0
  46. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +35 -0
  47. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +35 -0
  48. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +35 -0
  49. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +37 -0
  50. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +35 -0
  51. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +36 -0
  52. package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
  53. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  54. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  55. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  56. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +35 -0
  58. package/dist-types/commands/index.d.ts +8 -0
  59. package/dist-types/models/models_0.d.ts +778 -763
  60. package/dist-types/models/models_1.d.ts +377 -1
  61. package/dist-types/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
  62. package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  65. package/dist-types/ts3.4/Connect.d.ts +40 -0
  66. package/dist-types/ts3.4/ConnectClient.d.ts +10 -2
  67. package/dist-types/ts3.4/commands/AssociatePhoneNumberContactFlowCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ClaimPhoneNumberCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +18 -0
  74. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +767 -749
  81. package/dist-types/ts3.4/models/models_1.d.ts +212 -1
  82. package/dist-types/ts3.4/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  85. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  86. package/package.json +7 -7
@@ -1,6 +1,195 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig } from "./models_0";
3
+ import { AgentStatusState, AvailableNumberSummary, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ export interface SearchAvailablePhoneNumbersResponse {
5
+
6
+ NextToken?: string;
7
+
8
+ AvailableNumbersList?: AvailableNumberSummary[];
9
+ }
10
+ export declare namespace SearchAvailablePhoneNumbersResponse {
11
+
12
+ const filterSensitiveLog: (obj: SearchAvailablePhoneNumbersResponse) => any;
13
+ }
14
+ export interface SearchVocabulariesRequest {
15
+
16
+ InstanceId: string | undefined;
17
+
18
+ MaxResults?: number;
19
+
20
+ NextToken?: string;
21
+
22
+ State?: VocabularyState | string;
23
+
24
+ NameStartsWith?: string;
25
+
26
+ LanguageCode?: VocabularyLanguageCode | string;
27
+ }
28
+ export declare namespace SearchVocabulariesRequest {
29
+
30
+ const filterSensitiveLog: (obj: SearchVocabulariesRequest) => any;
31
+ }
32
+
33
+ export interface VocabularySummary {
34
+
35
+ Name: string | undefined;
36
+
37
+ Id: string | undefined;
38
+
39
+ Arn: string | undefined;
40
+
41
+ LanguageCode: VocabularyLanguageCode | string | undefined;
42
+
43
+ State: VocabularyState | string | undefined;
44
+
45
+ LastModifiedTime: Date | undefined;
46
+
47
+ FailureReason?: string;
48
+ }
49
+ export declare namespace VocabularySummary {
50
+
51
+ const filterSensitiveLog: (obj: VocabularySummary) => any;
52
+ }
53
+ export interface SearchVocabulariesResponse {
54
+
55
+ VocabularySummaryList?: VocabularySummary[];
56
+
57
+ NextToken?: string;
58
+ }
59
+ export declare namespace SearchVocabulariesResponse {
60
+
61
+ const filterSensitiveLog: (obj: SearchVocabulariesResponse) => any;
62
+ }
63
+
64
+ export interface ChatMessage {
65
+
66
+ ContentType: string | undefined;
67
+
68
+ Content: string | undefined;
69
+ }
70
+ export declare namespace ChatMessage {
71
+
72
+ const filterSensitiveLog: (obj: ChatMessage) => any;
73
+ }
74
+
75
+ export interface ParticipantDetails {
76
+
77
+ DisplayName: string | undefined;
78
+ }
79
+ export declare namespace ParticipantDetails {
80
+
81
+ const filterSensitiveLog: (obj: ParticipantDetails) => any;
82
+ }
83
+ export interface StartChatContactRequest {
84
+
85
+ InstanceId: string | undefined;
86
+
87
+ ContactFlowId: string | undefined;
88
+
89
+ Attributes?: {
90
+ [key: string]: string;
91
+ };
92
+
93
+ ParticipantDetails: ParticipantDetails | undefined;
94
+
95
+ InitialMessage?: ChatMessage;
96
+
97
+ ClientToken?: string;
98
+
99
+ ChatDurationInMinutes?: number;
100
+
101
+ SupportedMessagingContentTypes?: string[];
102
+ }
103
+ export declare namespace StartChatContactRequest {
104
+
105
+ const filterSensitiveLog: (obj: StartChatContactRequest) => any;
106
+ }
107
+ export interface StartChatContactResponse {
108
+
109
+ ContactId?: string;
110
+
111
+ ParticipantId?: string;
112
+
113
+ ParticipantToken?: string;
114
+ }
115
+ export declare namespace StartChatContactResponse {
116
+
117
+ const filterSensitiveLog: (obj: StartChatContactResponse) => any;
118
+ }
119
+ export declare enum VoiceRecordingTrack {
120
+ ALL = "ALL",
121
+ FROM_AGENT = "FROM_AGENT",
122
+ TO_AGENT = "TO_AGENT"
123
+ }
124
+
125
+ export interface VoiceRecordingConfiguration {
126
+
127
+ VoiceRecordingTrack?: VoiceRecordingTrack | string;
128
+ }
129
+ export declare namespace VoiceRecordingConfiguration {
130
+
131
+ const filterSensitiveLog: (obj: VoiceRecordingConfiguration) => any;
132
+ }
133
+ export interface StartContactRecordingRequest {
134
+
135
+ InstanceId: string | undefined;
136
+
137
+ ContactId: string | undefined;
138
+
139
+ InitialContactId: string | undefined;
140
+
141
+ VoiceRecordingConfiguration: VoiceRecordingConfiguration | undefined;
142
+ }
143
+ export declare namespace StartContactRecordingRequest {
144
+
145
+ const filterSensitiveLog: (obj: StartContactRecordingRequest) => any;
146
+ }
147
+ export interface StartContactRecordingResponse {
148
+ }
149
+ export declare namespace StartContactRecordingResponse {
150
+
151
+ const filterSensitiveLog: (obj: StartContactRecordingResponse) => any;
152
+ }
153
+
154
+ export interface ChatStreamingConfiguration {
155
+
156
+ StreamingEndpointArn: string | undefined;
157
+ }
158
+ export declare namespace ChatStreamingConfiguration {
159
+
160
+ const filterSensitiveLog: (obj: ChatStreamingConfiguration) => any;
161
+ }
162
+ export interface StartContactStreamingRequest {
163
+
164
+ InstanceId: string | undefined;
165
+
166
+ ContactId: string | undefined;
167
+
168
+ ChatStreamingConfiguration: ChatStreamingConfiguration | undefined;
169
+
170
+ ClientToken?: string;
171
+ }
172
+ export declare namespace StartContactStreamingRequest {
173
+
174
+ const filterSensitiveLog: (obj: StartContactStreamingRequest) => any;
175
+ }
176
+ export interface StartContactStreamingResponse {
177
+
178
+ StreamingId: string | undefined;
179
+ }
180
+ export declare namespace StartContactStreamingResponse {
181
+
182
+ const filterSensitiveLog: (obj: StartContactStreamingResponse) => any;
183
+ }
184
+
185
+ export declare class DestinationNotAllowedException extends __BaseException {
186
+ readonly name: "DestinationNotAllowedException";
187
+ readonly $fault: "client";
188
+
189
+ Message?: string;
190
+
191
+ constructor(opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>);
192
+ }
4
193
 
5
194
  export declare class OutboundContactNotPermittedException extends __BaseException {
6
195
  readonly name: "OutboundContactNotPermittedException";
@@ -417,6 +606,28 @@ export declare namespace UpdateInstanceStorageConfigRequest {
417
606
 
418
607
  const filterSensitiveLog: (obj: UpdateInstanceStorageConfigRequest) => any;
419
608
  }
609
+ export interface UpdatePhoneNumberRequest {
610
+
611
+ PhoneNumberId: string | undefined;
612
+
613
+ TargetArn: string | undefined;
614
+
615
+ ClientToken?: string;
616
+ }
617
+ export declare namespace UpdatePhoneNumberRequest {
618
+
619
+ const filterSensitiveLog: (obj: UpdatePhoneNumberRequest) => any;
620
+ }
621
+ export interface UpdatePhoneNumberResponse {
622
+
623
+ PhoneNumberId?: string;
624
+
625
+ PhoneNumberArn?: string;
626
+ }
627
+ export declare namespace UpdatePhoneNumberResponse {
628
+
629
+ const filterSensitiveLog: (obj: UpdatePhoneNumberResponse) => any;
630
+ }
420
631
  export interface UpdateQueueHoursOfOperationRequest {
421
632
 
422
633
  InstanceId: string | undefined;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListPhoneNumbersV2CommandInput, ListPhoneNumbersV2CommandOutput } from "../commands/ListPhoneNumbersV2Command";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListPhoneNumbersV2(config: ConnectPaginationConfiguration, input: ListPhoneNumbersV2CommandInput, ...additionalArguments: any): Paginator<ListPhoneNumbersV2CommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateSearchAvailablePhoneNumbers(config: ConnectPaginationConfiguration, input: SearchAvailablePhoneNumbersCommandInput, ...additionalArguments: any): Paginator<SearchAvailablePhoneNumbersCommandOutput>;
@@ -16,6 +16,7 @@ export * from "./ListIntegrationAssociationsPaginator";
16
16
  export * from "./ListLambdaFunctionsPaginator";
17
17
  export * from "./ListLexBotsPaginator";
18
18
  export * from "./ListPhoneNumbersPaginator";
19
+ export * from "./ListPhoneNumbersV2Paginator";
19
20
  export * from "./ListPromptsPaginator";
20
21
  export * from "./ListQueueQuickConnectsPaginator";
21
22
  export * from "./ListQueuesPaginator";
@@ -28,4 +29,5 @@ export * from "./ListSecurityProfilesPaginator";
28
29
  export * from "./ListUseCasesPaginator";
29
30
  export * from "./ListUserHierarchyGroupsPaginator";
30
31
  export * from "./ListUsersPaginator";
32
+ export * from "./SearchAvailablePhoneNumbersPaginator";
31
33
  export * from "./SearchVocabulariesPaginator";
@@ -6,9 +6,11 @@ import { AssociateDefaultVocabularyCommandInput, AssociateDefaultVocabularyComma
6
6
  import { AssociateInstanceStorageConfigCommandInput, AssociateInstanceStorageConfigCommandOutput } from "../commands/AssociateInstanceStorageConfigCommand";
7
7
  import { AssociateLambdaFunctionCommandInput, AssociateLambdaFunctionCommandOutput } from "../commands/AssociateLambdaFunctionCommand";
8
8
  import { AssociateLexBotCommandInput, AssociateLexBotCommandOutput } from "../commands/AssociateLexBotCommand";
9
+ import { AssociatePhoneNumberContactFlowCommandInput, AssociatePhoneNumberContactFlowCommandOutput } from "../commands/AssociatePhoneNumberContactFlowCommand";
9
10
  import { AssociateQueueQuickConnectsCommandInput, AssociateQueueQuickConnectsCommandOutput } from "../commands/AssociateQueueQuickConnectsCommand";
10
11
  import { AssociateRoutingProfileQueuesCommandInput, AssociateRoutingProfileQueuesCommandOutput } from "../commands/AssociateRoutingProfileQueuesCommand";
11
12
  import { AssociateSecurityKeyCommandInput, AssociateSecurityKeyCommandOutput } from "../commands/AssociateSecurityKeyCommand";
13
+ import { ClaimPhoneNumberCommandInput, ClaimPhoneNumberCommandOutput } from "../commands/ClaimPhoneNumberCommand";
12
14
  import { CreateAgentStatusCommandInput, CreateAgentStatusCommandOutput } from "../commands/CreateAgentStatusCommand";
13
15
  import { CreateContactFlowCommandInput, CreateContactFlowCommandOutput } from "../commands/CreateContactFlowCommand";
14
16
  import { CreateContactFlowModuleCommandInput, CreateContactFlowModuleCommandOutput } from "../commands/CreateContactFlowModuleCommand";
@@ -42,6 +44,7 @@ import { DescribeHoursOfOperationCommandInput, DescribeHoursOfOperationCommandOu
42
44
  import { DescribeInstanceAttributeCommandInput, DescribeInstanceAttributeCommandOutput } from "../commands/DescribeInstanceAttributeCommand";
43
45
  import { DescribeInstanceCommandInput, DescribeInstanceCommandOutput } from "../commands/DescribeInstanceCommand";
44
46
  import { DescribeInstanceStorageConfigCommandInput, DescribeInstanceStorageConfigCommandOutput } from "../commands/DescribeInstanceStorageConfigCommand";
47
+ import { DescribePhoneNumberCommandInput, DescribePhoneNumberCommandOutput } from "../commands/DescribePhoneNumberCommand";
45
48
  import { DescribeQueueCommandInput, DescribeQueueCommandOutput } from "../commands/DescribeQueueCommand";
46
49
  import { DescribeQuickConnectCommandInput, DescribeQuickConnectCommandOutput } from "../commands/DescribeQuickConnectCommand";
47
50
  import { DescribeRoutingProfileCommandInput, DescribeRoutingProfileCommandOutput } from "../commands/DescribeRoutingProfileCommand";
@@ -55,6 +58,7 @@ import { DisassociateBotCommandInput, DisassociateBotCommandOutput } from "../co
55
58
  import { DisassociateInstanceStorageConfigCommandInput, DisassociateInstanceStorageConfigCommandOutput } from "../commands/DisassociateInstanceStorageConfigCommand";
56
59
  import { DisassociateLambdaFunctionCommandInput, DisassociateLambdaFunctionCommandOutput } from "../commands/DisassociateLambdaFunctionCommand";
57
60
  import { DisassociateLexBotCommandInput, DisassociateLexBotCommandOutput } from "../commands/DisassociateLexBotCommand";
61
+ import { DisassociatePhoneNumberContactFlowCommandInput, DisassociatePhoneNumberContactFlowCommandOutput } from "../commands/DisassociatePhoneNumberContactFlowCommand";
58
62
  import { DisassociateQueueQuickConnectsCommandInput, DisassociateQueueQuickConnectsCommandOutput } from "../commands/DisassociateQueueQuickConnectsCommand";
59
63
  import { DisassociateRoutingProfileQueuesCommandInput, DisassociateRoutingProfileQueuesCommandOutput } from "../commands/DisassociateRoutingProfileQueuesCommand";
60
64
  import { DisassociateSecurityKeyCommandInput, DisassociateSecurityKeyCommandOutput } from "../commands/DisassociateSecurityKeyCommand";
@@ -77,6 +81,7 @@ import { ListIntegrationAssociationsCommandInput, ListIntegrationAssociationsCom
77
81
  import { ListLambdaFunctionsCommandInput, ListLambdaFunctionsCommandOutput } from "../commands/ListLambdaFunctionsCommand";
78
82
  import { ListLexBotsCommandInput, ListLexBotsCommandOutput } from "../commands/ListLexBotsCommand";
79
83
  import { ListPhoneNumbersCommandInput, ListPhoneNumbersCommandOutput } from "../commands/ListPhoneNumbersCommand";
84
+ import { ListPhoneNumbersV2CommandInput, ListPhoneNumbersV2CommandOutput } from "../commands/ListPhoneNumbersV2Command";
80
85
  import { ListPromptsCommandInput, ListPromptsCommandOutput } from "../commands/ListPromptsCommand";
81
86
  import { ListQueueQuickConnectsCommandInput, ListQueueQuickConnectsCommandOutput } from "../commands/ListQueueQuickConnectsCommand";
82
87
  import { ListQueuesCommandInput, ListQueuesCommandOutput } from "../commands/ListQueuesCommand";
@@ -90,7 +95,9 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
90
95
  import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "../commands/ListUseCasesCommand";
91
96
  import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "../commands/ListUserHierarchyGroupsCommand";
92
97
  import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
98
+ import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
93
99
  import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "../commands/ResumeContactRecordingCommand";
100
+ import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
94
101
  import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "../commands/SearchVocabulariesCommand";
95
102
  import { StartChatContactCommandInput, StartChatContactCommandOutput } from "../commands/StartChatContactCommand";
96
103
  import { StartContactRecordingCommandInput, StartContactRecordingCommandOutput } from "../commands/StartContactRecordingCommand";
@@ -115,6 +122,7 @@ import { UpdateContactScheduleCommandInput, UpdateContactScheduleCommandOutput }
115
122
  import { UpdateHoursOfOperationCommandInput, UpdateHoursOfOperationCommandOutput } from "../commands/UpdateHoursOfOperationCommand";
116
123
  import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutput } from "../commands/UpdateInstanceAttributeCommand";
117
124
  import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "../commands/UpdateInstanceStorageConfigCommand";
125
+ import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
118
126
  import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "../commands/UpdateQueueHoursOfOperationCommand";
119
127
  import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "../commands/UpdateQueueMaxContactsCommand";
120
128
  import { UpdateQueueNameCommandInput, UpdateQueueNameCommandOutput } from "../commands/UpdateQueueNameCommand";
@@ -140,9 +148,11 @@ export declare const serializeAws_restJson1AssociateDefaultVocabularyCommand: (i
140
148
  export declare const serializeAws_restJson1AssociateInstanceStorageConfigCommand: (input: AssociateInstanceStorageConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
141
149
  export declare const serializeAws_restJson1AssociateLambdaFunctionCommand: (input: AssociateLambdaFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
142
150
  export declare const serializeAws_restJson1AssociateLexBotCommand: (input: AssociateLexBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
151
+ export declare const serializeAws_restJson1AssociatePhoneNumberContactFlowCommand: (input: AssociatePhoneNumberContactFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
152
  export declare const serializeAws_restJson1AssociateQueueQuickConnectsCommand: (input: AssociateQueueQuickConnectsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
144
153
  export declare const serializeAws_restJson1AssociateRoutingProfileQueuesCommand: (input: AssociateRoutingProfileQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
145
154
  export declare const serializeAws_restJson1AssociateSecurityKeyCommand: (input: AssociateSecurityKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
155
+ export declare const serializeAws_restJson1ClaimPhoneNumberCommand: (input: ClaimPhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
146
156
  export declare const serializeAws_restJson1CreateAgentStatusCommand: (input: CreateAgentStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
157
  export declare const serializeAws_restJson1CreateContactFlowCommand: (input: CreateContactFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
148
158
  export declare const serializeAws_restJson1CreateContactFlowModuleCommand: (input: CreateContactFlowModuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -176,6 +186,7 @@ export declare const serializeAws_restJson1DescribeHoursOfOperationCommand: (inp
176
186
  export declare const serializeAws_restJson1DescribeInstanceCommand: (input: DescribeInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
177
187
  export declare const serializeAws_restJson1DescribeInstanceAttributeCommand: (input: DescribeInstanceAttributeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
178
188
  export declare const serializeAws_restJson1DescribeInstanceStorageConfigCommand: (input: DescribeInstanceStorageConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
189
+ export declare const serializeAws_restJson1DescribePhoneNumberCommand: (input: DescribePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
190
  export declare const serializeAws_restJson1DescribeQueueCommand: (input: DescribeQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
180
191
  export declare const serializeAws_restJson1DescribeQuickConnectCommand: (input: DescribeQuickConnectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
181
192
  export declare const serializeAws_restJson1DescribeRoutingProfileCommand: (input: DescribeRoutingProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -189,6 +200,7 @@ export declare const serializeAws_restJson1DisassociateBotCommand: (input: Disas
189
200
  export declare const serializeAws_restJson1DisassociateInstanceStorageConfigCommand: (input: DisassociateInstanceStorageConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
190
201
  export declare const serializeAws_restJson1DisassociateLambdaFunctionCommand: (input: DisassociateLambdaFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
191
202
  export declare const serializeAws_restJson1DisassociateLexBotCommand: (input: DisassociateLexBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
203
+ export declare const serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand: (input: DisassociatePhoneNumberContactFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
192
204
  export declare const serializeAws_restJson1DisassociateQueueQuickConnectsCommand: (input: DisassociateQueueQuickConnectsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
193
205
  export declare const serializeAws_restJson1DisassociateRoutingProfileQueuesCommand: (input: DisassociateRoutingProfileQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
194
206
  export declare const serializeAws_restJson1DisassociateSecurityKeyCommand: (input: DisassociateSecurityKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -211,6 +223,7 @@ export declare const serializeAws_restJson1ListIntegrationAssociationsCommand: (
211
223
  export declare const serializeAws_restJson1ListLambdaFunctionsCommand: (input: ListLambdaFunctionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
212
224
  export declare const serializeAws_restJson1ListLexBotsCommand: (input: ListLexBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
213
225
  export declare const serializeAws_restJson1ListPhoneNumbersCommand: (input: ListPhoneNumbersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
226
+ export declare const serializeAws_restJson1ListPhoneNumbersV2Command: (input: ListPhoneNumbersV2CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
214
227
  export declare const serializeAws_restJson1ListPromptsCommand: (input: ListPromptsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
215
228
  export declare const serializeAws_restJson1ListQueueQuickConnectsCommand: (input: ListQueueQuickConnectsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
216
229
  export declare const serializeAws_restJson1ListQueuesCommand: (input: ListQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -224,7 +237,9 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
224
237
  export declare const serializeAws_restJson1ListUseCasesCommand: (input: ListUseCasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
225
238
  export declare const serializeAws_restJson1ListUserHierarchyGroupsCommand: (input: ListUserHierarchyGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
226
239
  export declare const serializeAws_restJson1ListUsersCommand: (input: ListUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
240
+ export declare const serializeAws_restJson1ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
227
241
  export declare const serializeAws_restJson1ResumeContactRecordingCommand: (input: ResumeContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
242
+ export declare const serializeAws_restJson1SearchAvailablePhoneNumbersCommand: (input: SearchAvailablePhoneNumbersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
228
243
  export declare const serializeAws_restJson1SearchVocabulariesCommand: (input: SearchVocabulariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
229
244
  export declare const serializeAws_restJson1StartChatContactCommand: (input: StartChatContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
230
245
  export declare const serializeAws_restJson1StartContactRecordingCommand: (input: StartContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -249,6 +264,7 @@ export declare const serializeAws_restJson1UpdateContactScheduleCommand: (input:
249
264
  export declare const serializeAws_restJson1UpdateHoursOfOperationCommand: (input: UpdateHoursOfOperationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
250
265
  export declare const serializeAws_restJson1UpdateInstanceAttributeCommand: (input: UpdateInstanceAttributeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
251
266
  export declare const serializeAws_restJson1UpdateInstanceStorageConfigCommand: (input: UpdateInstanceStorageConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
267
+ export declare const serializeAws_restJson1UpdatePhoneNumberCommand: (input: UpdatePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
252
268
  export declare const serializeAws_restJson1UpdateQueueHoursOfOperationCommand: (input: UpdateQueueHoursOfOperationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
253
269
  export declare const serializeAws_restJson1UpdateQueueMaxContactsCommand: (input: UpdateQueueMaxContactsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
254
270
  export declare const serializeAws_restJson1UpdateQueueNameCommand: (input: UpdateQueueNameCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -274,9 +290,11 @@ export declare const deserializeAws_restJson1AssociateDefaultVocabularyCommand:
274
290
  export declare const deserializeAws_restJson1AssociateInstanceStorageConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateInstanceStorageConfigCommandOutput>;
275
291
  export declare const deserializeAws_restJson1AssociateLambdaFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateLambdaFunctionCommandOutput>;
276
292
  export declare const deserializeAws_restJson1AssociateLexBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateLexBotCommandOutput>;
293
+ export declare const deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociatePhoneNumberContactFlowCommandOutput>;
277
294
  export declare const deserializeAws_restJson1AssociateQueueQuickConnectsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateQueueQuickConnectsCommandOutput>;
278
295
  export declare const deserializeAws_restJson1AssociateRoutingProfileQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateRoutingProfileQueuesCommandOutput>;
279
296
  export declare const deserializeAws_restJson1AssociateSecurityKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateSecurityKeyCommandOutput>;
297
+ export declare const deserializeAws_restJson1ClaimPhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ClaimPhoneNumberCommandOutput>;
280
298
  export declare const deserializeAws_restJson1CreateAgentStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAgentStatusCommandOutput>;
281
299
  export declare const deserializeAws_restJson1CreateContactFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateContactFlowCommandOutput>;
282
300
  export declare const deserializeAws_restJson1CreateContactFlowModuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateContactFlowModuleCommandOutput>;
@@ -310,6 +328,7 @@ export declare const deserializeAws_restJson1DescribeHoursOfOperationCommand: (o
310
328
  export declare const deserializeAws_restJson1DescribeInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstanceCommandOutput>;
311
329
  export declare const deserializeAws_restJson1DescribeInstanceAttributeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstanceAttributeCommandOutput>;
312
330
  export declare const deserializeAws_restJson1DescribeInstanceStorageConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstanceStorageConfigCommandOutput>;
331
+ export declare const deserializeAws_restJson1DescribePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePhoneNumberCommandOutput>;
313
332
  export declare const deserializeAws_restJson1DescribeQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeQueueCommandOutput>;
314
333
  export declare const deserializeAws_restJson1DescribeQuickConnectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeQuickConnectCommandOutput>;
315
334
  export declare const deserializeAws_restJson1DescribeRoutingProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRoutingProfileCommandOutput>;
@@ -323,6 +342,7 @@ export declare const deserializeAws_restJson1DisassociateBotCommand: (output: __
323
342
  export declare const deserializeAws_restJson1DisassociateInstanceStorageConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateInstanceStorageConfigCommandOutput>;
324
343
  export declare const deserializeAws_restJson1DisassociateLambdaFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateLambdaFunctionCommandOutput>;
325
344
  export declare const deserializeAws_restJson1DisassociateLexBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateLexBotCommandOutput>;
345
+ export declare const deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociatePhoneNumberContactFlowCommandOutput>;
326
346
  export declare const deserializeAws_restJson1DisassociateQueueQuickConnectsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateQueueQuickConnectsCommandOutput>;
327
347
  export declare const deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateRoutingProfileQueuesCommandOutput>;
328
348
  export declare const deserializeAws_restJson1DisassociateSecurityKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSecurityKeyCommandOutput>;
@@ -345,6 +365,7 @@ export declare const deserializeAws_restJson1ListIntegrationAssociationsCommand:
345
365
  export declare const deserializeAws_restJson1ListLambdaFunctionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLambdaFunctionsCommandOutput>;
346
366
  export declare const deserializeAws_restJson1ListLexBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLexBotsCommandOutput>;
347
367
  export declare const deserializeAws_restJson1ListPhoneNumbersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPhoneNumbersCommandOutput>;
368
+ export declare const deserializeAws_restJson1ListPhoneNumbersV2Command: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPhoneNumbersV2CommandOutput>;
348
369
  export declare const deserializeAws_restJson1ListPromptsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPromptsCommandOutput>;
349
370
  export declare const deserializeAws_restJson1ListQueueQuickConnectsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListQueueQuickConnectsCommandOutput>;
350
371
  export declare const deserializeAws_restJson1ListQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListQueuesCommandOutput>;
@@ -358,7 +379,9 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
358
379
  export declare const deserializeAws_restJson1ListUseCasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUseCasesCommandOutput>;
359
380
  export declare const deserializeAws_restJson1ListUserHierarchyGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUserHierarchyGroupsCommandOutput>;
360
381
  export declare const deserializeAws_restJson1ListUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsersCommandOutput>;
382
+ export declare const deserializeAws_restJson1ReleasePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReleasePhoneNumberCommandOutput>;
361
383
  export declare const deserializeAws_restJson1ResumeContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResumeContactRecordingCommandOutput>;
384
+ export declare const deserializeAws_restJson1SearchAvailablePhoneNumbersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAvailablePhoneNumbersCommandOutput>;
362
385
  export declare const deserializeAws_restJson1SearchVocabulariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchVocabulariesCommandOutput>;
363
386
  export declare const deserializeAws_restJson1StartChatContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartChatContactCommandOutput>;
364
387
  export declare const deserializeAws_restJson1StartContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartContactRecordingCommandOutput>;
@@ -383,6 +406,7 @@ export declare const deserializeAws_restJson1UpdateContactScheduleCommand: (outp
383
406
  export declare const deserializeAws_restJson1UpdateHoursOfOperationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateHoursOfOperationCommandOutput>;
384
407
  export declare const deserializeAws_restJson1UpdateInstanceAttributeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInstanceAttributeCommandOutput>;
385
408
  export declare const deserializeAws_restJson1UpdateInstanceStorageConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInstanceStorageConfigCommandOutput>;
409
+ export declare const deserializeAws_restJson1UpdatePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePhoneNumberCommandOutput>;
386
410
  export declare const deserializeAws_restJson1UpdateQueueHoursOfOperationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateQueueHoursOfOperationCommandOutput>;
387
411
  export declare const deserializeAws_restJson1UpdateQueueMaxContactsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateQueueMaxContactsCommandOutput>;
388
412
  export declare const deserializeAws_restJson1UpdateQueueNameCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateQueueNameCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.62.0",
4
+ "version": "3.74.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.74.0",
22
22
  "@aws-sdk/config-resolver": "3.58.0",
23
- "@aws-sdk/credential-provider-node": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.74.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.58.0",
25
25
  "@aws-sdk/hash-node": "3.55.0",
26
26
  "@aws-sdk/invalid-dependency": "3.55.0",
@@ -33,17 +33,17 @@
33
33
  "@aws-sdk/middleware-stack": "3.55.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.58.0",
35
35
  "@aws-sdk/node-config-provider": "3.58.0",
36
- "@aws-sdk/node-http-handler": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.74.0",
37
37
  "@aws-sdk/protocol-http": "3.58.0",
38
- "@aws-sdk/smithy-client": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.72.0",
39
39
  "@aws-sdk/types": "3.55.0",
40
40
  "@aws-sdk/url-parser": "3.55.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.58.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.72.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.72.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.58.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.58.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",