@nocobase/plugin-file-manager 1.2.13-alpha → 1.3.0-alpha.20240710084543

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 (602) hide show
  1. package/package.json +2 -2
  2. package/dist/client/FileManagerProvider.d.ts +0 -10
  3. package/dist/client/FileSizeField.d.ts +0 -10
  4. package/dist/client/FileStorage.d.ts +0 -12
  5. package/dist/client/StorageOptions.d.ts +0 -10
  6. package/dist/client/hooks/index.d.ts +0 -10
  7. package/dist/client/hooks/useStorageRules.d.ts +0 -14
  8. package/dist/client/hooks/useUploadFiles.d.ts +0 -13
  9. package/dist/client/index.d.ts +0 -15
  10. package/dist/client/index.js +0 -10
  11. package/dist/client/initializers/UploadActionInitializer.d.ts +0 -10
  12. package/dist/client/initializers/index.d.ts +0 -9
  13. package/dist/client/interfaces/attachment.d.ts +0 -113
  14. package/dist/client/locale/index.d.ts +0 -10
  15. package/dist/client/schemas/storage.d.ts +0 -10
  16. package/dist/client/schemas/storageTypes/ali-oss.d.ts +0 -117
  17. package/dist/client/schemas/storageTypes/common.d.ts +0 -68
  18. package/dist/client/schemas/storageTypes/index.d.ts +0 -398
  19. package/dist/client/schemas/storageTypes/local.d.ts +0 -89
  20. package/dist/client/schemas/storageTypes/s3.d.ts +0 -112
  21. package/dist/client/schemas/storageTypes/tx-cos.d.ts +0 -106
  22. package/dist/client/templates/file.d.ts +0 -142
  23. package/dist/client/templates/index.d.ts +0 -9
  24. package/dist/constants.d.ts +0 -17
  25. package/dist/constants.js +0 -60
  26. package/dist/externalVersion.js +0 -27
  27. package/dist/index.d.ts +0 -10
  28. package/dist/index.js +0 -48
  29. package/dist/locale/en-US.json +0 -22
  30. package/dist/locale/fr-FR.json +0 -21
  31. package/dist/locale/ja-JP.json +0 -18
  32. package/dist/locale/ko_KR.json +0 -32
  33. package/dist/locale/ru-RU.json +0 -18
  34. package/dist/locale/tr-TR.json +0 -17
  35. package/dist/locale/zh-CN.json +0 -40
  36. package/dist/node_modules/@aws-sdk/client-s3/LICENSE +0 -201
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +0 -201
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +0 -53
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -59
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -64
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +0 -63
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +0 -62
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -62
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -59
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +0 -59
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -59
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -59
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -59
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -59
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -59
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -59
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -59
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -59
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -59
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -59
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +0 -59
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -58
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +0 -64
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -59
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -59
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +0 -59
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -59
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +0 -59
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -60
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -59
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -60
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -59
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +0 -59
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +0 -59
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -59
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -59
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -59
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +0 -59
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -59
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +0 -59
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -59
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +0 -59
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +0 -59
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -59
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +0 -59
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +0 -61
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +0 -69
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -58
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -58
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +0 -58
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +0 -58
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +0 -59
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -59
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +0 -58
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +0 -62
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -59
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -59
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -60
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -58
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +0 -57
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -59
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +0 -59
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +0 -59
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +0 -59
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +0 -62
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -65
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +0 -65
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -59
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +0 -65
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -66
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -59
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -60
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -65
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +0 -65
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -59
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -59
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -61
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +0 -65
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +0 -65
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -65
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +0 -65
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +0 -65
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -65
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +0 -65
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +0 -70
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -64
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -64
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +0 -64
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +0 -64
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -65
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +0 -65
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +0 -64
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +0 -68
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +0 -63
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -59
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -98
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -16
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +0 -12
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +0 -7
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +0 -31
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +0 -12
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +0 -5
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +0 -647
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +0 -156
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +0 -2
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -29
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +0 -29
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -7
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +0 -9820
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +0 -47
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +0 -60
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +0 -15
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +0 -31
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +0 -7
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +0 -31
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +0 -30
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +0 -31
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +0 -30
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +0 -197
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +0 -49
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +0 -55
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +0 -60
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +0 -59
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +0 -58
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +0 -58
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +0 -55
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -55
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +0 -55
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +0 -55
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +0 -55
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -55
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +0 -55
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +0 -55
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +0 -55
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +0 -55
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +0 -55
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +0 -55
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +0 -55
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +0 -55
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +0 -55
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +0 -54
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +0 -60
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +0 -55
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +0 -55
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +0 -55
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +0 -55
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +0 -55
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +0 -56
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -55
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +0 -56
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +0 -55
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +0 -55
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +0 -55
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +0 -55
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +0 -55
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +0 -55
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +0 -55
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +0 -55
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +0 -55
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +0 -55
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +0 -55
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +0 -55
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +0 -55
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +0 -55
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +0 -57
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +0 -65
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +0 -54
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +0 -54
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +0 -54
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +0 -54
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +0 -55
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +0 -55
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +0 -54
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +0 -58
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -55
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -55
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +0 -56
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +0 -54
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +0 -53
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +0 -54
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +0 -55
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +0 -55
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +0 -55
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +0 -55
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +0 -58
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +0 -61
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +0 -61
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +0 -55
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +0 -61
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +0 -62
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -55
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +0 -56
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +0 -61
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +0 -61
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +0 -55
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +0 -55
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +0 -57
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +0 -61
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +0 -61
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +0 -61
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +0 -61
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +0 -61
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +0 -61
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +0 -61
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +0 -66
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +0 -60
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +0 -60
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +0 -60
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +0 -60
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +0 -61
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +0 -61
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +0 -60
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +0 -64
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +0 -59
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +0 -55
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +0 -95
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +0 -12
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +0 -8
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +0 -4
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +0 -1
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +0 -8
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +0 -8
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/index.js +0 -2
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +0 -607
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +0 -137
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js +0 -1
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +0 -25
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +0 -25
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +0 -25
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +0 -4
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +0 -9624
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +0 -42
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +0 -55
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js +0 -11
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +0 -27
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +0 -18
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js +0 -4
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +0 -26
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +0 -25
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +0 -26
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +0 -25
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +0 -675
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +0 -308
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +0 -163
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +0 -296
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +0 -314
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +0 -260
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +0 -351
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +0 -145
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +0 -103
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +0 -132
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +0 -106
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +0 -97
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +0 -96
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +0 -101
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +0 -108
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +0 -109
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +0 -93
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +0 -144
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +0 -110
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -102
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +0 -109
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +0 -202
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +0 -133
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +0 -304
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +0 -102
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +0 -104
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +0 -117
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +0 -137
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +0 -147
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +0 -108
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +0 -123
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +0 -131
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -210
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +0 -118
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +0 -112
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +0 -130
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +0 -156
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +0 -101
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +0 -151
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +0 -107
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +0 -197
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +0 -103
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +0 -136
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +0 -117
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +0 -141
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +0 -191
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +0 -303
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +0 -342
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +0 -92
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +0 -96
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +0 -93
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +0 -165
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +0 -109
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +0 -118
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +0 -140
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +0 -282
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +0 -149
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +0 -128
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +0 -144
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +0 -138
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +0 -117
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +0 -98
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +0 -326
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +0 -215
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +0 -198
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +0 -239
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +0 -234
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +0 -117
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +0 -311
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +0 -210
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +0 -195
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +0 -118
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +0 -155
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +0 -187
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +0 -255
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +0 -211
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +0 -143
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +0 -208
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +0 -101
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +0 -154
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +0 -236
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +0 -111
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +0 -165
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +0 -137
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +0 -246
  368. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +0 -309
  369. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +0 -397
  370. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +0 -88
  371. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +0 -111
  372. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +0 -91
  373. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +0 -171
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +0 -119
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +0 -444
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +0 -256
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +0 -282
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +0 -329
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +0 -149
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +0 -95
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +0 -40
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +0 -5
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +0 -2
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +0 -8
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +0 -16
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +0 -13
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/index.d.ts +0 -2
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +0 -12676
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +0 -3292
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +0 -8
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +0 -7
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +0 -7
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +0 -7
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +0 -4
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +0 -857
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +0 -61
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +0 -62
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +0 -60
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +0 -26
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +0 -17
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +0 -1680
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +0 -709
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +0 -42
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +0 -42
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +0 -35
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +0 -35
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +0 -42
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +0 -35
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +0 -38
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +0 -33
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +0 -33
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +0 -37
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +0 -38
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +0 -38
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +0 -37
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +0 -38
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +0 -38
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +0 -34
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +0 -38
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +0 -34
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +0 -34
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +0 -35
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +0 -39
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +0 -35
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +0 -38
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +0 -42
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +0 -35
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +0 -42
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +0 -35
  430. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +0 -39
  431. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +0 -42
  432. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +0 -42
  433. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -42
  434. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +0 -39
  435. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +0 -38
  436. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +0 -42
  437. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +0 -42
  438. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +0 -42
  439. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +0 -38
  440. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +0 -42
  441. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +0 -42
  442. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +0 -42
  443. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +0 -38
  444. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +0 -39
  445. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +0 -38
  446. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +0 -35
  447. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +0 -39
  448. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +0 -38
  449. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +0 -39
  450. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +0 -42
  451. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +0 -39
  452. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +0 -38
  453. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +0 -44
  454. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +0 -42
  455. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +0 -35
  456. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +0 -35
  457. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +0 -42
  458. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +0 -42
  459. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +0 -42
  460. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +0 -42
  461. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +0 -35
  462. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +0 -42
  463. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +0 -42
  464. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +0 -39
  465. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +0 -35
  466. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +0 -35
  467. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +0 -35
  468. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +0 -38
  469. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +0 -33
  470. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +0 -38
  471. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +0 -33
  472. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +0 -34
  473. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +0 -38
  474. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +0 -38
  475. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +0 -38
  476. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +0 -33
  477. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +0 -38
  478. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +0 -38
  479. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +0 -38
  480. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +0 -33
  481. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +0 -37
  482. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +0 -38
  483. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +0 -33
  484. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +0 -34
  485. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +0 -33
  486. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +0 -35
  487. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +0 -39
  488. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +0 -39
  489. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +0 -42
  490. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +0 -39
  491. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +0 -38
  492. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +0 -37
  493. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +0 -35
  494. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +0 -39
  495. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +0 -39
  496. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +0 -38
  497. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +0 -43
  498. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +0 -95
  499. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -51
  500. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
  501. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  502. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +0 -7
  503. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +0 -11
  504. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +0 -8
  505. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/index.d.ts +0 -2
  506. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +0 -2143
  507. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +0 -620
  508. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  509. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +0 -11
  510. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +0 -11
  511. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +0 -11
  512. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +0 -4
  513. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1149
  514. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -131
  515. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +0 -133
  516. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -116
  517. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -34
  518. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
  519. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts +0 -4
  520. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +0 -11
  521. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +0 -11
  522. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +0 -11
  523. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +0 -11
  524. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts +0 -4
  525. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +0 -14
  526. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +0 -14
  527. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +0 -14
  528. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +0 -14
  529. package/dist/node_modules/@aws-sdk/client-s3/package.json +0 -1
  530. package/dist/node_modules/mime-match/.travis.yml +0 -11
  531. package/dist/node_modules/mime-match/example.js +0 -17
  532. package/dist/node_modules/mime-match/index.js +0 -1
  533. package/dist/node_modules/mime-match/package.json +0 -1
  534. package/dist/node_modules/mime-match/test.js +0 -45
  535. package/dist/node_modules/mkdirp/LICENSE +0 -21
  536. package/dist/node_modules/mkdirp/bin/cmd.js +0 -33
  537. package/dist/node_modules/mkdirp/bin/usage.txt +0 -12
  538. package/dist/node_modules/mkdirp/index.js +0 -1
  539. package/dist/node_modules/mkdirp/package.json +0 -1
  540. package/dist/node_modules/mkdirp/readme.markdown +0 -100
  541. package/dist/node_modules/multer-aliyun-oss/index.js +0 -74
  542. package/dist/node_modules/multer-aliyun-oss/package.json +0 -1
  543. package/dist/node_modules/multer-cos/LICENSE +0 -24
  544. package/dist/node_modules/multer-cos/demo/index.js +0 -39
  545. package/dist/node_modules/multer-cos/demo/myMulter.js +0 -88
  546. package/dist/node_modules/multer-cos/index.js +0 -220
  547. package/dist/node_modules/multer-cos/package.json +0 -1
  548. package/dist/node_modules/multer-s3/.gitattributes +0 -1
  549. package/dist/node_modules/multer-s3/.travis.yml +0 -6
  550. package/dist/node_modules/multer-s3/LICENSE +0 -22
  551. package/dist/node_modules/multer-s3/index.js +0 -35
  552. package/dist/node_modules/multer-s3/package.json +0 -1
  553. package/dist/node_modules/multer-s3/test/basic.js +0 -293
  554. package/dist/node_modules/multer-s3/test/files/a.txt +0 -1
  555. package/dist/node_modules/multer-s3/test/files/test.svg +0 -3
  556. package/dist/node_modules/multer-s3/test/files/test2.svg +0 -9
  557. package/dist/node_modules/multer-s3/test/util/mock-s3.js +0 -17
  558. package/dist/server/FileModel.d.ts +0 -12
  559. package/dist/server/FileModel.js +0 -53
  560. package/dist/server/actions/attachments.d.ts +0 -11
  561. package/dist/server/actions/attachments.js +0 -197
  562. package/dist/server/actions/index.d.ts +0 -11
  563. package/dist/server/actions/index.js +0 -53
  564. package/dist/server/actions/storages.d.ts +0 -1
  565. package/dist/server/actions/storages.js +0 -62
  566. package/dist/server/collections/attachments.d.ts +0 -10
  567. package/dist/server/collections/attachments.js +0 -97
  568. package/dist/server/collections/storages.d.ts +0 -10
  569. package/dist/server/collections/storages.js +0 -94
  570. package/dist/server/index.d.ts +0 -10
  571. package/dist/server/index.js +0 -48
  572. package/dist/server/interfaces/attachment-interface.d.ts +0 -18
  573. package/dist/server/interfaces/attachment-interface.js +0 -63
  574. package/dist/server/migrations/20230831160742-fix-attachment-field.d.ts +0 -13
  575. package/dist/server/migrations/20230831160742-fix-attachment-field.js +0 -71
  576. package/dist/server/migrations/20231120142523-fix-storage.d.ts +0 -13
  577. package/dist/server/migrations/20231120142523-fix-storage.js +0 -72
  578. package/dist/server/migrations/20240306223006-update-target.d.ts +0 -14
  579. package/dist/server/migrations/20240306223006-update-target.js +0 -54
  580. package/dist/server/migrations/20240523152854-change-attachment-field-props.d.ts +0 -14
  581. package/dist/server/migrations/20240523152854-change-attachment-field-props.js +0 -65
  582. package/dist/server/migrations/20240613110121-fix-schema-in-field.d.ts +0 -13
  583. package/dist/server/migrations/20240613110121-fix-schema-in-field.js +0 -93
  584. package/dist/server/rules/index.d.ts +0 -9
  585. package/dist/server/rules/index.js +0 -46
  586. package/dist/server/rules/mimetype.d.ts +0 -9
  587. package/dist/server/rules/mimetype.js +0 -49
  588. package/dist/server/server.d.ts +0 -22
  589. package/dist/server/server.js +0 -147
  590. package/dist/server/storages/ali-oss.d.ts +0 -25
  591. package/dist/server/storages/ali-oss.js +0 -62
  592. package/dist/server/storages/index.d.ts +0 -44
  593. package/dist/server/storages/index.js +0 -37
  594. package/dist/server/storages/local.d.ts +0 -26
  595. package/dist/server/storages/local.js +0 -100
  596. package/dist/server/storages/s3.d.ts +0 -26
  597. package/dist/server/storages/s3.js +0 -89
  598. package/dist/server/storages/tx-cos.d.ts +0 -26
  599. package/dist/server/storages/tx-cos.js +0 -71
  600. package/dist/server/utils.d.ts +0 -11
  601. package/dist/server/utils.js +0 -67
  602. package/dist/swagger/index.json +0 -81
@@ -1,260 +0,0 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { CreateBucketOutput, CreateBucketRequest } from "../models/models_0";
5
- import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link CreateBucketCommand}.
14
- */
15
- export interface CreateBucketCommandInput extends CreateBucketRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link CreateBucketCommand}.
21
- */
22
- export interface CreateBucketCommandOutput extends CreateBucketOutput, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <note>
27
- * <p>This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">
28
- * <code>CreateBucket</code>
29
- * </a>.</p>
30
- * </note>
31
- * <p>Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a
32
- * valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to
33
- * create buckets. By creating the bucket, you become the bucket owner.</p>
34
- * <p>There are two types of buckets: general purpose buckets and directory buckets. For more
35
- * information about these bucket types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and
36
- * working with Amazon S3 buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
37
- * <note>
38
- * <ul>
39
- * <li>
40
- * <p>
41
- * <b>General purpose buckets</b> - If you send your <code>CreateBucket</code> request to the <code>s3.amazonaws.com</code> global endpoint,
42
- * the request goes to the <code>us-east-1</code> Region. So the signature
43
- * calculations in Signature Version 4 must use <code>us-east-1</code> as the Region, even
44
- * if the location constraint in the request specifies another Region where the bucket is
45
- * to be created. If you create a bucket in a Region other than US East (N. Virginia), your
46
- * application must be able to handle 307 redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html">Virtual hosting of
47
- * buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
48
- * </li>
49
- * <li>
50
- * <p>
51
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
52
- * </code>. Virtual-hosted-style requests aren't supported.
53
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
54
- * <i>Amazon S3 User Guide</i>.</p>
55
- * </li>
56
- * </ul>
57
- * </note>
58
- * <dl>
59
- * <dt>Permissions</dt>
60
- * <dd>
61
- * <ul>
62
- * <li>
63
- * <p>
64
- * <b>General purpose bucket permissions</b> - In addition to the <code>s3:CreateBucket</code> permission, the following permissions are
65
- * required in a policy when your <code>CreateBucket</code> request includes specific
66
- * headers: </p>
67
- * <ul>
68
- * <li>
69
- * <p>
70
- * <b>Access control lists (ACLs)</b> - In your <code>CreateBucket</code> request, if you specify an access control list (ACL)
71
- * and set it to <code>public-read</code>, <code>public-read-write</code>,
72
- * <code>authenticated-read</code>, or if you explicitly specify any other custom ACLs, both <code>s3:CreateBucket</code> and
73
- * <code>s3:PutBucketAcl</code> permissions are required. In your <code>CreateBucket</code> request, if you set the ACL to <code>private</code>,
74
- * or if you don't specify any ACLs, only the <code>s3:CreateBucket</code> permission is required.
75
- * </p>
76
- * </li>
77
- * <li>
78
- * <p>
79
- * <b>Object Lock</b> - In your
80
- * <code>CreateBucket</code> request, if you set
81
- * <code>x-amz-bucket-object-lock-enabled</code> to true, the
82
- * <code>s3:PutBucketObjectLockConfiguration</code> and
83
- * <code>s3:PutBucketVersioning</code> permissions are required.</p>
84
- * </li>
85
- * <li>
86
- * <p>
87
- * <b>S3 Object Ownership</b> - If your
88
- * <code>CreateBucket</code> request includes the
89
- * <code>x-amz-object-ownership</code> header, then the
90
- * <code>s3:PutBucketOwnershipControls</code> permission is required.</p>
91
- * <important>
92
- * <p>If your <code>CreateBucket</code> request sets <code>BucketOwnerEnforced</code> for
93
- * Amazon S3 Object Ownership and specifies a bucket ACL that provides access to an external
94
- * Amazon Web Services account, your request fails with a <code>400</code> error and returns the
95
- * <code>InvalidBucketAcLWithObjectOwnership</code> error code. For more information,
96
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-ownership-existing-bucket.html">Setting Object
97
- * Ownership on an existing bucket </a> in the <i>Amazon S3 User Guide</i>.
98
- * </p>
99
- * </important>
100
- * </li>
101
- * <li>
102
- * <p>
103
- * <b>S3 Block Public Access</b> - If your
104
- * specific use case requires granting public access to your S3 resources, you
105
- * can disable Block Public Access. Specifically, you can create a new bucket with Block
106
- * Public Access enabled, then separately call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">
107
- * <code>DeletePublicAccessBlock</code>
108
- * </a> API. To use this operation, you must have the
109
- * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information about S3 Block Public
110
- * Access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html">Blocking
111
- * public access to your Amazon S3 storage </a> in the
112
- * <i>Amazon S3 User Guide</i>. </p>
113
- * </li>
114
- * </ul>
115
- * </li>
116
- * <li>
117
- * <p>
118
- * <b>Directory bucket permissions</b> - You must have the <code>s3express:CreateBucket</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
119
- * <important>
120
- * <p>The permissions for ACLs, Object Lock, S3 Object Ownership, and S3 Block Public Access are not supported for directory buckets.
121
- * For directory buckets, all Block Public Access settings are enabled at the bucket level and S3
122
- * Object Ownership is set to Bucket owner enforced (ACLs disabled). These settings can't be modified.
123
- * </p>
124
- * <p>For more information about permissions for creating and working with
125
- * directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the <i>Amazon S3 User Guide</i>.
126
- * For more information about supported S3 features for directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-one-zone.html#s3-express-features">Features of S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
127
- * </important>
128
- * </li>
129
- * </ul>
130
- * </dd>
131
- * <dt>HTTP Host header syntax</dt>
132
- * <dd>
133
- * <p>
134
- * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
135
- * </dd>
136
- * </dl>
137
- * <p>The following operations are related to <code>CreateBucket</code>:</p>
138
- * <ul>
139
- * <li>
140
- * <p>
141
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a>
142
- * </p>
143
- * </li>
144
- * <li>
145
- * <p>
146
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html">DeleteBucket</a>
147
- * </p>
148
- * </li>
149
- * </ul>
150
- * @example
151
- * Use a bare-bones client and the command you need to make an API call.
152
- * ```javascript
153
- * import { S3Client, CreateBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import
154
- * // const { S3Client, CreateBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import
155
- * const client = new S3Client(config);
156
- * const input = { // CreateBucketRequest
157
- * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read",
158
- * Bucket: "STRING_VALUE", // required
159
- * CreateBucketConfiguration: { // CreateBucketConfiguration
160
- * LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
161
- * Location: { // LocationInfo
162
- * Type: "AvailabilityZone",
163
- * Name: "STRING_VALUE",
164
- * },
165
- * Bucket: { // BucketInfo
166
- * DataRedundancy: "SingleAvailabilityZone",
167
- * Type: "Directory",
168
- * },
169
- * },
170
- * GrantFullControl: "STRING_VALUE",
171
- * GrantRead: "STRING_VALUE",
172
- * GrantReadACP: "STRING_VALUE",
173
- * GrantWrite: "STRING_VALUE",
174
- * GrantWriteACP: "STRING_VALUE",
175
- * ObjectLockEnabledForBucket: true || false,
176
- * ObjectOwnership: "BucketOwnerPreferred" || "ObjectWriter" || "BucketOwnerEnforced",
177
- * };
178
- * const command = new CreateBucketCommand(input);
179
- * const response = await client.send(command);
180
- * // { // CreateBucketOutput
181
- * // Location: "STRING_VALUE",
182
- * // };
183
- *
184
- * ```
185
- *
186
- * @param CreateBucketCommandInput - {@link CreateBucketCommandInput}
187
- * @returns {@link CreateBucketCommandOutput}
188
- * @see {@link CreateBucketCommandInput} for command's `input` shape.
189
- * @see {@link CreateBucketCommandOutput} for command's `response` shape.
190
- * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
191
- *
192
- * @throws {@link BucketAlreadyExists} (client fault)
193
- * <p>The requested bucket name is not available. The bucket namespace is shared by all users
194
- * of the system. Select a different name and try again.</p>
195
- *
196
- * @throws {@link BucketAlreadyOwnedByYou} (client fault)
197
- * <p>The bucket you tried to create already exists, and you own it. Amazon S3 returns this error
198
- * in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you
199
- * re-create an existing bucket that you already own in the North Virginia Region, Amazon S3
200
- * returns 200 OK and resets the bucket access control lists (ACLs).</p>
201
- *
202
- * @throws {@link S3ServiceException}
203
- * <p>Base exception class for all service exceptions from S3 service.</p>
204
- *
205
- * @example To create a bucket in a specific region
206
- * ```javascript
207
- * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
208
- * const input = {
209
- * "Bucket": "examplebucket",
210
- * "CreateBucketConfiguration": {
211
- * "LocationConstraint": "eu-west-1"
212
- * }
213
- * };
214
- * const command = new CreateBucketCommand(input);
215
- * const response = await client.send(command);
216
- * /* response ==
217
- * {
218
- * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
219
- * }
220
- * *\/
221
- * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
222
- * ```
223
- *
224
- * @example To create a bucket
225
- * ```javascript
226
- * // The following example creates a bucket.
227
- * const input = {
228
- * "Bucket": "examplebucket"
229
- * };
230
- * const command = new CreateBucketCommand(input);
231
- * const response = await client.send(command);
232
- * /* response ==
233
- * {
234
- * "Location": "/examplebucket"
235
- * }
236
- * *\/
237
- * // example id: to-create-a-bucket--1472851826060
238
- * ```
239
- *
240
- */
241
- export declare class CreateBucketCommand extends $Command<CreateBucketCommandInput, CreateBucketCommandOutput, S3ClientResolvedConfig> {
242
- readonly input: CreateBucketCommandInput;
243
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
244
- /**
245
- * @public
246
- */
247
- constructor(input: CreateBucketCommandInput);
248
- /**
249
- * @internal
250
- */
251
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBucketCommandInput, CreateBucketCommandOutput>;
252
- /**
253
- * @internal
254
- */
255
- private serialize;
256
- /**
257
- * @internal
258
- */
259
- private deserialize;
260
- }
@@ -1,351 +0,0 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { CreateMultipartUploadOutput, CreateMultipartUploadRequest } from "../models/models_0";
5
- import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link CreateMultipartUploadCommand}.
14
- */
15
- export interface CreateMultipartUploadCommandInput extends CreateMultipartUploadRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link CreateMultipartUploadCommand}.
21
- */
22
- export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploadOutput, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>This action initiates a multipart upload and returns an upload ID. This upload ID is
27
- * used to associate all of the parts in the specific multipart upload. You specify this
28
- * upload ID in each of your subsequent upload part requests (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>). You also include this
29
- * upload ID in the final request to either complete or abort the multipart upload
30
- * request. For more information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html">Multipart Upload Overview</a> in the <i>Amazon S3 User Guide</i>.</p>
31
- * <note>
32
- * <p>After you initiate a multipart upload and upload one or more parts, to stop being
33
- * charged for storing the uploaded parts, you must either complete or abort the multipart
34
- * upload. Amazon S3 frees up the space used to store the parts and stops charging you for
35
- * storing them only after you either complete or abort a multipart upload. </p>
36
- * </note>
37
- * <p>If you have configured a lifecycle rule to abort incomplete multipart uploads, the created multipart
38
- * upload must be completed within the number of days specified in the bucket lifecycle
39
- * configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort
40
- * action and Amazon S3 aborts the multipart upload. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config">Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle
41
- * Configuration</a>.</p>
42
- * <note>
43
- * <ul>
44
- * <li>
45
- * <p>
46
- * <b>Directory buckets </b> - S3 Lifecycle is not supported by directory buckets.</p>
47
- * </li>
48
- * <li>
49
- * <p>
50
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
51
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
52
- * <i>Amazon S3 User Guide</i>.</p>
53
- * </li>
54
- * </ul>
55
- * </note>
56
- * <dl>
57
- * <dt>Request signing</dt>
58
- * <dd>
59
- * <p>For request signing, multipart upload is just a series of regular requests. You initiate
60
- * a multipart upload, send one or more requests to upload parts, and then complete the
61
- * multipart upload process. You sign each request individually. There is nothing special
62
- * about signing multipart upload requests. For more information about signing, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 User Guide</i>.</p>
63
- * </dd>
64
- * <dt>Permissions</dt>
65
- * <dd>
66
- * <ul>
67
- * <li>
68
- * <p>
69
- * <b>General purpose bucket permissions</b> - For information about the permissions required to use the multipart upload API, see
70
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart
71
- * upload and permissions</a> in the <i>Amazon S3 User Guide</i>. </p>
72
- * <p>To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester
73
- * must have permission to the <code>kms:Decrypt</code> and <code>kms:GenerateDataKey*</code>
74
- * actions on the key. These permissions are required because Amazon S3 must decrypt and read data
75
- * from the encrypted file parts before it completes the multipart upload. For more
76
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions">Multipart upload API
77
- * and permissions</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting data using
78
- * server-side encryption with Amazon Web Services KMS</a> in the
79
- * <i>Amazon S3 User Guide</i>.</p>
80
- * </li>
81
- * <li>
82
- * <p>
83
- * <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
84
- * <code>CreateSession</code>
85
- * </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
86
- * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
87
- * <code>CreateSession</code>
88
- * </a>.</p>
89
- * </li>
90
- * </ul>
91
- * </dd>
92
- * <dt>Encryption</dt>
93
- * <dd>
94
- * <ul>
95
- * <li>
96
- * <p>
97
- * <b>General purpose buckets</b> - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it
98
- * writes it to disks in its data centers and decrypts it when you access it. Amazon S3
99
- * automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a
100
- * multipart upload, if you don't specify encryption information in your request, the
101
- * encryption setting of the uploaded parts is set to the default encryption configuration of
102
- * the destination bucket. By default, all buckets have a base level of encryption
103
- * configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the
104
- * destination bucket has a default encryption configuration that uses server-side encryption
105
- * with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),
106
- * Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded
107
- * parts. When you perform a CreateMultipartUpload operation, if you want to use a different
108
- * type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the
109
- * object with a different encryption key (such as an Amazon S3 managed key, a KMS key, or a customer-provided key). When the encryption
110
- * setting in your request is different from the default encryption configuration of the
111
- * destination bucket, the encryption setting in your request takes precedence. If you choose
112
- * to provide your own encryption key, the request headers you provide in <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
113
- * and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a> requests must match the headers you used in the <code>CreateMultipartUpload</code> request.</p>
114
- * <ul>
115
- * <li>
116
- * <p>Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key
117
- * (<code>aws/s3</code>) and KMS customer managed keys stored in Key Management Service (KMS) –
118
- * If you want Amazon Web Services to manage the keys used to encrypt data, specify the
119
- * following headers in the request.</p>
120
- * <ul>
121
- * <li>
122
- * <p>
123
- * <code>x-amz-server-side-encryption</code>
124
- * </p>
125
- * </li>
126
- * <li>
127
- * <p>
128
- * <code>x-amz-server-side-encryption-aws-kms-key-id</code>
129
- * </p>
130
- * </li>
131
- * <li>
132
- * <p>
133
- * <code>x-amz-server-side-encryption-context</code>
134
- * </p>
135
- * </li>
136
- * </ul>
137
- * <note>
138
- * <ul>
139
- * <li>
140
- * <p>If you specify <code>x-amz-server-side-encryption:aws:kms</code>, but
141
- * don't provide <code>x-amz-server-side-encryption-aws-kms-key-id</code>,
142
- * Amazon S3 uses the Amazon Web Services managed key (<code>aws/s3</code> key) in KMS to
143
- * protect the data.</p>
144
- * </li>
145
- * <li>
146
- * <p>To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester
147
- * must have permission to the <code>kms:Decrypt</code> and <code>kms:GenerateDataKey*</code>
148
- * actions on the key. These permissions are required because Amazon S3 must decrypt and read data
149
- * from the encrypted file parts before it completes the multipart upload. For more
150
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions">Multipart upload API
151
- * and permissions</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting data using
152
- * server-side encryption with Amazon Web Services KMS</a> in the
153
- * <i>Amazon S3 User Guide</i>.</p>
154
- * </li>
155
- * <li>
156
- * <p>If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key,
157
- * then you must have these permissions on the key policy. If your IAM user or role is in a different account from the key, then you must have the permissions on both the key
158
- * policy and your IAM user or role.</p>
159
- * </li>
160
- * <li>
161
- * <p>All <code>GET</code> and <code>PUT</code> requests for an object
162
- * protected by KMS fail if you don't make them by using Secure Sockets
163
- * Layer (SSL), Transport Layer Security (TLS), or Signature Version
164
- * 4. For information about configuring any of the officially supported Amazon Web Services
165
- * SDKs and Amazon Web Services CLI, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version">Specifying the Signature Version in Request Authentication</a>
166
- * in the <i>Amazon S3 User Guide</i>.</p>
167
- * </li>
168
- * </ul>
169
- * </note>
170
- * <p>For more information about server-side encryption with KMS keys
171
- * (SSE-KMS), see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting Data
172
- * Using Server-Side Encryption with KMS keys</a> in the <i>Amazon S3 User Guide</i>.</p>
173
- * </li>
174
- * <li>
175
- * <p>Use customer-provided encryption keys (SSE-C) – If you want to manage
176
- * your own encryption keys, provide all the following headers in the
177
- * request.</p>
178
- * <ul>
179
- * <li>
180
- * <p>
181
- * <code>x-amz-server-side-encryption-customer-algorithm</code>
182
- * </p>
183
- * </li>
184
- * <li>
185
- * <p>
186
- * <code>x-amz-server-side-encryption-customer-key</code>
187
- * </p>
188
- * </li>
189
- * <li>
190
- * <p>
191
- * <code>x-amz-server-side-encryption-customer-key-MD5</code>
192
- * </p>
193
- * </li>
194
- * </ul>
195
- * <p>For more information about server-side encryption with customer-provided
196
- * encryption keys (SSE-C), see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html">
197
- * Protecting data using server-side encryption with customer-provided
198
- * encryption keys (SSE-C)</a> in the <i>Amazon S3 User Guide</i>.</p>
199
- * </li>
200
- * </ul>
201
- * </li>
202
- * <li>
203
- * <p>
204
- * <b>Directory buckets</b> -For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
205
- * </li>
206
- * </ul>
207
- * </dd>
208
- * <dt>HTTP Host header syntax</dt>
209
- * <dd>
210
- * <p>
211
- * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
212
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
213
- * </dd>
214
- * </dl>
215
- * <p>The following operations are related to <code>CreateMultipartUpload</code>:</p>
216
- * <ul>
217
- * <li>
218
- * <p>
219
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
220
- * </p>
221
- * </li>
222
- * <li>
223
- * <p>
224
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html">CompleteMultipartUpload</a>
225
- * </p>
226
- * </li>
227
- * <li>
228
- * <p>
229
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html">AbortMultipartUpload</a>
230
- * </p>
231
- * </li>
232
- * <li>
233
- * <p>
234
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a>
235
- * </p>
236
- * </li>
237
- * <li>
238
- * <p>
239
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html">ListMultipartUploads</a>
240
- * </p>
241
- * </li>
242
- * </ul>
243
- * @example
244
- * Use a bare-bones client and the command you need to make an API call.
245
- * ```javascript
246
- * import { S3Client, CreateMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import
247
- * // const { S3Client, CreateMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import
248
- * const client = new S3Client(config);
249
- * const input = { // CreateMultipartUploadRequest
250
- * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control",
251
- * Bucket: "STRING_VALUE", // required
252
- * CacheControl: "STRING_VALUE",
253
- * ContentDisposition: "STRING_VALUE",
254
- * ContentEncoding: "STRING_VALUE",
255
- * ContentLanguage: "STRING_VALUE",
256
- * ContentType: "STRING_VALUE",
257
- * Expires: new Date("TIMESTAMP"),
258
- * GrantFullControl: "STRING_VALUE",
259
- * GrantRead: "STRING_VALUE",
260
- * GrantReadACP: "STRING_VALUE",
261
- * GrantWriteACP: "STRING_VALUE",
262
- * Key: "STRING_VALUE", // required
263
- * Metadata: { // Metadata
264
- * "<keys>": "STRING_VALUE",
265
- * },
266
- * ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
267
- * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
268
- * WebsiteRedirectLocation: "STRING_VALUE",
269
- * SSECustomerAlgorithm: "STRING_VALUE",
270
- * SSECustomerKey: "STRING_VALUE",
271
- * SSECustomerKeyMD5: "STRING_VALUE",
272
- * SSEKMSKeyId: "STRING_VALUE",
273
- * SSEKMSEncryptionContext: "STRING_VALUE",
274
- * BucketKeyEnabled: true || false,
275
- * RequestPayer: "requester",
276
- * Tagging: "STRING_VALUE",
277
- * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
278
- * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
279
- * ObjectLockLegalHoldStatus: "ON" || "OFF",
280
- * ExpectedBucketOwner: "STRING_VALUE",
281
- * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
282
- * };
283
- * const command = new CreateMultipartUploadCommand(input);
284
- * const response = await client.send(command);
285
- * // { // CreateMultipartUploadOutput
286
- * // AbortDate: new Date("TIMESTAMP"),
287
- * // AbortRuleId: "STRING_VALUE",
288
- * // Bucket: "STRING_VALUE",
289
- * // Key: "STRING_VALUE",
290
- * // UploadId: "STRING_VALUE",
291
- * // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
292
- * // SSECustomerAlgorithm: "STRING_VALUE",
293
- * // SSECustomerKeyMD5: "STRING_VALUE",
294
- * // SSEKMSKeyId: "STRING_VALUE",
295
- * // SSEKMSEncryptionContext: "STRING_VALUE",
296
- * // BucketKeyEnabled: true || false,
297
- * // RequestCharged: "requester",
298
- * // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
299
- * // };
300
- *
301
- * ```
302
- *
303
- * @param CreateMultipartUploadCommandInput - {@link CreateMultipartUploadCommandInput}
304
- * @returns {@link CreateMultipartUploadCommandOutput}
305
- * @see {@link CreateMultipartUploadCommandInput} for command's `input` shape.
306
- * @see {@link CreateMultipartUploadCommandOutput} for command's `response` shape.
307
- * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
308
- *
309
- * @throws {@link S3ServiceException}
310
- * <p>Base exception class for all service exceptions from S3 service.</p>
311
- *
312
- * @example To initiate a multipart upload
313
- * ```javascript
314
- * // The following example initiates a multipart upload.
315
- * const input = {
316
- * "Bucket": "examplebucket",
317
- * "Key": "largeobject"
318
- * };
319
- * const command = new CreateMultipartUploadCommand(input);
320
- * const response = await client.send(command);
321
- * /* response ==
322
- * {
323
- * "Bucket": "examplebucket",
324
- * "Key": "largeobject",
325
- * "UploadId": "ibZBv_75gd9r8lH_gqXatLdxMVpAlj6ZQjEs.OwyF3953YdwbcQnMA2BLGn8Lx12fQNICtMw5KyteFeHw.Sjng--"
326
- * }
327
- * *\/
328
- * // example id: to-initiate-a-multipart-upload-1481836794513
329
- * ```
330
- *
331
- */
332
- export declare class CreateMultipartUploadCommand extends $Command<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput, S3ClientResolvedConfig> {
333
- readonly input: CreateMultipartUploadCommandInput;
334
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
335
- /**
336
- * @public
337
- */
338
- constructor(input: CreateMultipartUploadCommandInput);
339
- /**
340
- * @internal
341
- */
342
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput>;
343
- /**
344
- * @internal
345
- */
346
- private serialize;
347
- /**
348
- * @internal
349
- */
350
- private deserialize;
351
- }