@aws-sdk/client-connect 3.568.0 → 3.569.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 (58) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +391 -81
  3. package/dist-es/Connect.js +10 -0
  4. package/dist-es/commands/BatchGetAttachedFileMetadataCommand.js +24 -0
  5. package/dist-es/commands/CompleteAttachedFileUploadCommand.js +24 -0
  6. package/dist-es/commands/DeleteAttachedFileCommand.js +24 -0
  7. package/dist-es/commands/DescribeInstanceCommand.js +1 -1
  8. package/dist-es/commands/GetAttachedFileCommand.js +24 -0
  9. package/dist-es/commands/ReplicateInstanceCommand.js +1 -1
  10. package/dist-es/commands/StartAttachedFileUploadCommand.js +24 -0
  11. package/dist-es/commands/index.js +5 -0
  12. package/dist-es/models/models_0.js +33 -26
  13. package/dist-es/models/models_1.js +26 -42
  14. package/dist-es/models/models_2.js +42 -1
  15. package/dist-es/protocols/Aws_restJson1.js +163 -0
  16. package/dist-types/Connect.d.ts +35 -0
  17. package/dist-types/ConnectClient.d.ts +7 -2
  18. package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +105 -0
  19. package/dist-types/commands/CompleteAttachedFileUploadCommand.d.ts +75 -0
  20. package/dist-types/commands/DeleteAttachedFileCommand.d.ts +78 -0
  21. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  26. package/dist-types/commands/GetAttachedFileCommand.d.ts +97 -0
  27. package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -1
  28. package/dist-types/commands/ResumeContactCommand.d.ts +1 -1
  29. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
  31. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +108 -0
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/models/models_0.d.ts +308 -239
  34. package/dist-types/models/models_1.d.ts +356 -344
  35. package/dist-types/models/models_2.d.ts +472 -2
  36. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  37. package/dist-types/ts3.4/Connect.d.ts +85 -0
  38. package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/BatchGetAttachedFileMetadataCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/CompleteAttachedFileUploadCommand.d.ts +39 -0
  41. package/dist-types/ts3.4/commands/DeleteAttachedFileCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/GetAttachedFileCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +109 -74
  55. package/dist-types/ts3.4/models/models_1.d.ts +101 -99
  56. package/dist-types/ts3.4/models/models_2.d.ts +127 -3
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  58. package/package.json +4 -2
@@ -71,6 +71,10 @@ import {
71
71
  BatchDisassociateAnalyticsDataSetCommandInput,
72
72
  BatchDisassociateAnalyticsDataSetCommandOutput,
73
73
  } from "../commands/BatchDisassociateAnalyticsDataSetCommand";
74
+ import {
75
+ BatchGetAttachedFileMetadataCommandInput,
76
+ BatchGetAttachedFileMetadataCommandOutput,
77
+ } from "../commands/BatchGetAttachedFileMetadataCommand";
74
78
  import {
75
79
  BatchGetFlowAssociationCommandInput,
76
80
  BatchGetFlowAssociationCommandOutput,
@@ -83,6 +87,10 @@ import {
83
87
  ClaimPhoneNumberCommandInput,
84
88
  ClaimPhoneNumberCommandOutput,
85
89
  } from "../commands/ClaimPhoneNumberCommand";
90
+ import {
91
+ CompleteAttachedFileUploadCommandInput,
92
+ CompleteAttachedFileUploadCommandOutput,
93
+ } from "../commands/CompleteAttachedFileUploadCommand";
86
94
  import {
87
95
  CreateAgentStatusCommandInput,
88
96
  CreateAgentStatusCommandOutput,
@@ -183,6 +191,10 @@ import {
183
191
  DeactivateEvaluationFormCommandInput,
184
192
  DeactivateEvaluationFormCommandOutput,
185
193
  } from "../commands/DeactivateEvaluationFormCommand";
194
+ import {
195
+ DeleteAttachedFileCommandInput,
196
+ DeleteAttachedFileCommandOutput,
197
+ } from "../commands/DeleteAttachedFileCommand";
186
198
  import {
187
199
  DeleteContactEvaluationCommandInput,
188
200
  DeleteContactEvaluationCommandOutput,
@@ -423,6 +435,10 @@ import {
423
435
  DismissUserContactCommandInput,
424
436
  DismissUserContactCommandOutput,
425
437
  } from "../commands/DismissUserContactCommand";
438
+ import {
439
+ GetAttachedFileCommandInput,
440
+ GetAttachedFileCommandOutput,
441
+ } from "../commands/GetAttachedFileCommand";
426
442
  import {
427
443
  GetContactAttributesCommandInput,
428
444
  GetContactAttributesCommandOutput,
@@ -723,6 +739,10 @@ import {
723
739
  SendChatIntegrationEventCommandInput,
724
740
  SendChatIntegrationEventCommandOutput,
725
741
  } from "../commands/SendChatIntegrationEventCommand";
742
+ import {
743
+ StartAttachedFileUploadCommandInput,
744
+ StartAttachedFileUploadCommandOutput,
745
+ } from "../commands/StartAttachedFileUploadCommand";
726
746
  import {
727
747
  StartChatContactCommandInput,
728
748
  StartChatContactCommandOutput,
@@ -1043,6 +1063,10 @@ export declare const se_BatchDisassociateAnalyticsDataSetCommand: (
1043
1063
  input: BatchDisassociateAnalyticsDataSetCommandInput,
1044
1064
  context: __SerdeContext
1045
1065
  ) => Promise<__HttpRequest>;
1066
+ export declare const se_BatchGetAttachedFileMetadataCommand: (
1067
+ input: BatchGetAttachedFileMetadataCommandInput,
1068
+ context: __SerdeContext
1069
+ ) => Promise<__HttpRequest>;
1046
1070
  export declare const se_BatchGetFlowAssociationCommand: (
1047
1071
  input: BatchGetFlowAssociationCommandInput,
1048
1072
  context: __SerdeContext
@@ -1055,6 +1079,10 @@ export declare const se_ClaimPhoneNumberCommand: (
1055
1079
  input: ClaimPhoneNumberCommandInput,
1056
1080
  context: __SerdeContext
1057
1081
  ) => Promise<__HttpRequest>;
1082
+ export declare const se_CompleteAttachedFileUploadCommand: (
1083
+ input: CompleteAttachedFileUploadCommandInput,
1084
+ context: __SerdeContext
1085
+ ) => Promise<__HttpRequest>;
1058
1086
  export declare const se_CreateAgentStatusCommand: (
1059
1087
  input: CreateAgentStatusCommandInput,
1060
1088
  context: __SerdeContext
@@ -1155,6 +1183,10 @@ export declare const se_DeactivateEvaluationFormCommand: (
1155
1183
  input: DeactivateEvaluationFormCommandInput,
1156
1184
  context: __SerdeContext
1157
1185
  ) => Promise<__HttpRequest>;
1186
+ export declare const se_DeleteAttachedFileCommand: (
1187
+ input: DeleteAttachedFileCommandInput,
1188
+ context: __SerdeContext
1189
+ ) => Promise<__HttpRequest>;
1158
1190
  export declare const se_DeleteContactEvaluationCommand: (
1159
1191
  input: DeleteContactEvaluationCommandInput,
1160
1192
  context: __SerdeContext
@@ -1395,6 +1427,10 @@ export declare const se_DismissUserContactCommand: (
1395
1427
  input: DismissUserContactCommandInput,
1396
1428
  context: __SerdeContext
1397
1429
  ) => Promise<__HttpRequest>;
1430
+ export declare const se_GetAttachedFileCommand: (
1431
+ input: GetAttachedFileCommandInput,
1432
+ context: __SerdeContext
1433
+ ) => Promise<__HttpRequest>;
1398
1434
  export declare const se_GetContactAttributesCommand: (
1399
1435
  input: GetContactAttributesCommandInput,
1400
1436
  context: __SerdeContext
@@ -1695,6 +1731,10 @@ export declare const se_SendChatIntegrationEventCommand: (
1695
1731
  input: SendChatIntegrationEventCommandInput,
1696
1732
  context: __SerdeContext
1697
1733
  ) => Promise<__HttpRequest>;
1734
+ export declare const se_StartAttachedFileUploadCommand: (
1735
+ input: StartAttachedFileUploadCommandInput,
1736
+ context: __SerdeContext
1737
+ ) => Promise<__HttpRequest>;
1698
1738
  export declare const se_StartChatContactCommand: (
1699
1739
  input: StartChatContactCommandInput,
1700
1740
  context: __SerdeContext
@@ -2015,6 +2055,10 @@ export declare const de_BatchDisassociateAnalyticsDataSetCommand: (
2015
2055
  output: __HttpResponse,
2016
2056
  context: __SerdeContext
2017
2057
  ) => Promise<BatchDisassociateAnalyticsDataSetCommandOutput>;
2058
+ export declare const de_BatchGetAttachedFileMetadataCommand: (
2059
+ output: __HttpResponse,
2060
+ context: __SerdeContext
2061
+ ) => Promise<BatchGetAttachedFileMetadataCommandOutput>;
2018
2062
  export declare const de_BatchGetFlowAssociationCommand: (
2019
2063
  output: __HttpResponse,
2020
2064
  context: __SerdeContext
@@ -2027,6 +2071,10 @@ export declare const de_ClaimPhoneNumberCommand: (
2027
2071
  output: __HttpResponse,
2028
2072
  context: __SerdeContext
2029
2073
  ) => Promise<ClaimPhoneNumberCommandOutput>;
2074
+ export declare const de_CompleteAttachedFileUploadCommand: (
2075
+ output: __HttpResponse,
2076
+ context: __SerdeContext
2077
+ ) => Promise<CompleteAttachedFileUploadCommandOutput>;
2030
2078
  export declare const de_CreateAgentStatusCommand: (
2031
2079
  output: __HttpResponse,
2032
2080
  context: __SerdeContext
@@ -2127,6 +2175,10 @@ export declare const de_DeactivateEvaluationFormCommand: (
2127
2175
  output: __HttpResponse,
2128
2176
  context: __SerdeContext
2129
2177
  ) => Promise<DeactivateEvaluationFormCommandOutput>;
2178
+ export declare const de_DeleteAttachedFileCommand: (
2179
+ output: __HttpResponse,
2180
+ context: __SerdeContext
2181
+ ) => Promise<DeleteAttachedFileCommandOutput>;
2130
2182
  export declare const de_DeleteContactEvaluationCommand: (
2131
2183
  output: __HttpResponse,
2132
2184
  context: __SerdeContext
@@ -2367,6 +2419,10 @@ export declare const de_DismissUserContactCommand: (
2367
2419
  output: __HttpResponse,
2368
2420
  context: __SerdeContext
2369
2421
  ) => Promise<DismissUserContactCommandOutput>;
2422
+ export declare const de_GetAttachedFileCommand: (
2423
+ output: __HttpResponse,
2424
+ context: __SerdeContext
2425
+ ) => Promise<GetAttachedFileCommandOutput>;
2370
2426
  export declare const de_GetContactAttributesCommand: (
2371
2427
  output: __HttpResponse,
2372
2428
  context: __SerdeContext
@@ -2667,6 +2723,10 @@ export declare const de_SendChatIntegrationEventCommand: (
2667
2723
  output: __HttpResponse,
2668
2724
  context: __SerdeContext
2669
2725
  ) => Promise<SendChatIntegrationEventCommandOutput>;
2726
+ export declare const de_StartAttachedFileUploadCommand: (
2727
+ output: __HttpResponse,
2728
+ context: __SerdeContext
2729
+ ) => Promise<StartAttachedFileUploadCommandOutput>;
2670
2730
  export declare const de_StartChatContactCommand: (
2671
2731
  output: __HttpResponse,
2672
2732
  context: __SerdeContext
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.568.0",
4
+ "version": "3.569.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",
@@ -20,8 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.569.0",
24
+ "@aws-sdk/client-sts": "3.569.0",
23
25
  "@aws-sdk/core": "3.567.0",
24
- "@aws-sdk/credential-provider-node": "3.568.0",
26
+ "@aws-sdk/credential-provider-node": "3.569.0",
25
27
  "@aws-sdk/middleware-host-header": "3.567.0",
26
28
  "@aws-sdk/middleware-logger": "3.568.0",
27
29
  "@aws-sdk/middleware-recursion-detection": "3.567.0",