@slycode/slycode 0.2.11 → 0.2.12

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 (338) hide show
  1. package/dist/messaging/index.js +4 -2
  2. package/dist/messaging/index.js.map +1 -1
  3. package/dist/messaging/stt.d.ts +1 -0
  4. package/dist/messaging/stt.js +66 -57
  5. package/dist/messaging/stt.js.map +1 -1
  6. package/dist/messaging/types.d.ts +1 -0
  7. package/dist/web/.next/BUILD_ID +1 -1
  8. package/dist/web/.next/build-manifest.json +2 -2
  9. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  10. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
  11. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
  13. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
  14. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
  15. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
  16. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
  17. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
  18. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
  19. package/dist/web/.next/prerender-manifest.json +3 -3
  20. package/dist/web/.next/server/app/_global-error.html +2 -2
  21. package/dist/web/.next/server/app/_global-error.rsc +1 -1
  22. package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  23. package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  24. package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  25. package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  26. package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  27. package/dist/web/.next/server/app/_not-found.html +1 -1
  28. package/dist/web/.next/server/app/_not-found.rsc +1 -1
  29. package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  30. package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  31. package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  32. package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  33. package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  34. package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  35. package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
  36. package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
  37. package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
  38. package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
  39. package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
  40. package/dist/web/.next/server/chunks/{[root-of-the-server]__a4d171b5._.js → [root-of-the-server]__4297cb97._.js} +3 -3
  41. package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
  42. package/dist/web/.next/server/chunks/{[root-of-the-server]__53ef96b9._.js → [root-of-the-server]__cf14e306._.js} +2 -2
  43. package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
  44. package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
  45. package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
  46. package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
  47. package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
  48. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
  49. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
  50. package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
  51. package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
  52. package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
  53. package/dist/web/.next/server/pages/404.html +1 -1
  54. package/dist/web/.next/server/pages/500.html +2 -2
  55. package/dist/web/.next/server/server-reference-manifest.js +1 -1
  56. package/dist/web/.next/server/server-reference-manifest.json +1 -1
  57. package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
  58. package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
  59. package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
  60. package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
  61. package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
  62. package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
  63. package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
  64. package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
  65. package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
  66. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
  67. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
  68. package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
  69. package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
  70. package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
  71. package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
  72. package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
  73. package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
  74. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  75. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  76. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  77. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  78. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  79. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  80. package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
  81. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  82. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
  83. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
  84. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
  85. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
  86. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
  87. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
  88. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
  89. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
  90. package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
  91. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
  92. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
  93. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
  94. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
  95. package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
  96. package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
  97. package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
  98. package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
  99. package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
  100. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
  101. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
  102. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
  103. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
  104. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
  105. package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
  106. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
  107. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
  108. package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  109. package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  110. package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
  111. package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
  112. package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
  113. package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
  114. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
  115. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  116. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
  117. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
  118. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
  119. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
  120. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
  121. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
  122. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
  123. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
  124. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
  125. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
  126. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
  127. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
  128. package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
  129. package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
  130. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
  131. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
  132. package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
  133. package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
  134. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
  135. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
  136. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
  137. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
  138. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
  139. package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
  140. package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
  141. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
  142. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
  143. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  144. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  145. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
  146. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
  147. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  148. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  149. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
  150. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
  151. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  152. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
  153. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  154. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  155. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  156. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  157. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  158. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  159. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
  160. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  161. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
  162. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
  163. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
  164. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
  165. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  166. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  167. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
  168. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
  169. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  170. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
  171. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
  172. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
  173. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
  174. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
  175. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
  176. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
  177. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  178. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  179. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
  180. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
  181. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
  182. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  183. package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
  184. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
  185. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
  186. package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
  187. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
  188. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
  189. package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
  190. package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
  191. package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
  192. package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
  193. package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
  194. package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  195. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
  196. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
  197. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
  198. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
  199. package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
  200. package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
  201. package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
  202. package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
  203. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
  204. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  205. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
  206. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
  207. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
  208. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
  209. package/dist/web/node_modules/@smithy/core/package.json +146 -0
  210. package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  211. package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  212. package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
  213. package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
  214. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
  215. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
  216. package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
  217. package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
  218. package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
  219. package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
  220. package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
  221. package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
  222. package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
  223. package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
  224. package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
  225. package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
  226. package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  227. package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
  228. package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
  229. package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
  230. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
  231. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
  232. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
  233. package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
  234. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
  235. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
  236. package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
  237. package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
  238. package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
  239. package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
  240. package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
  241. package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
  242. package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
  243. package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
  244. package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
  245. package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  246. package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
  247. package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
  248. package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
  249. package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
  250. package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
  251. package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
  252. package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
  253. package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
  254. package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
  255. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  256. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  257. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
  258. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
  259. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  260. package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  261. package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
  262. package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
  263. package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
  264. package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
  265. package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
  266. package/dist/web/node_modules/@smithy/types/package.json +61 -0
  267. package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
  268. package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
  269. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
  270. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
  271. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
  272. package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
  273. package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
  274. package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
  275. package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
  276. package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
  277. package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  278. package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
  279. package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
  280. package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
  281. package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
  282. package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
  283. package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
  284. package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
  285. package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
  286. package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
  287. package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
  288. package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
  289. package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
  290. package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
  291. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
  292. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  293. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
  294. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
  295. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
  296. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
  297. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
  298. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
  299. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
  300. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
  301. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
  302. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
  303. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
  304. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
  305. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
  306. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
  307. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
  308. package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
  309. package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
  310. package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
  311. package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
  312. package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
  313. package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
  314. package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
  315. package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
  316. package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  317. package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
  318. package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  319. package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
  320. package/dist/web/node_modules/tslib/package.json +47 -0
  321. package/dist/web/node_modules/tslib/tslib.js +484 -0
  322. package/dist/web/package-lock.json +433 -161
  323. package/dist/web/package.json +2 -1
  324. package/dist/web/src/app/api/transcribe/route.ts +84 -74
  325. package/dist/web/tsconfig.tsbuildinfo +1 -1
  326. package/package.json +1 -1
  327. package/templates/kanban-seed.json +1 -1
  328. package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
  329. package/dist/web/.next/server/chunks/[root-of-the-server]__0f9b71fd._.js +0 -5
  330. package/dist/web/.next/server/chunks/[root-of-the-server]__1dec5018._.js +0 -3
  331. package/dist/web/.next/server/chunks/[root-of-the-server]__2605d761._.js +0 -9
  332. package/dist/web/.next/server/chunks/[root-of-the-server]__8ce673c9._.js +0 -3
  333. package/dist/web/.next/server/chunks/[root-of-the-server]__a43db24d._.js +0 -19
  334. package/dist/web/.next/server/chunks/[root-of-the-server]__c7ac3578._.js +0 -5
  335. package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
  336. /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
  337. /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
  338. /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
@@ -0,0 +1,635 @@
1
+ 'use strict';
2
+
3
+ var middlewareStack = require('@smithy/middleware-stack');
4
+ var protocols = require('@smithy/core/protocols');
5
+ var types = require('@smithy/types');
6
+ var schema = require('@smithy/core/schema');
7
+ var serde = require('@smithy/core/serde');
8
+
9
+ class Client {
10
+ config;
11
+ middlewareStack = middlewareStack.constructStack();
12
+ initConfig;
13
+ handlers;
14
+ constructor(config) {
15
+ this.config = config;
16
+ const { protocol, protocolSettings } = config;
17
+ if (protocolSettings) {
18
+ if (typeof protocol === "function") {
19
+ config.protocol = new protocol(protocolSettings);
20
+ }
21
+ }
22
+ }
23
+ send(command, optionsOrCb, cb) {
24
+ const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined;
25
+ const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb;
26
+ const useHandlerCache = options === undefined && this.config.cacheMiddleware === true;
27
+ let handler;
28
+ if (useHandlerCache) {
29
+ if (!this.handlers) {
30
+ this.handlers = new WeakMap();
31
+ }
32
+ const handlers = this.handlers;
33
+ if (handlers.has(command.constructor)) {
34
+ handler = handlers.get(command.constructor);
35
+ }
36
+ else {
37
+ handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
38
+ handlers.set(command.constructor, handler);
39
+ }
40
+ }
41
+ else {
42
+ delete this.handlers;
43
+ handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
44
+ }
45
+ if (callback) {
46
+ handler(command)
47
+ .then((result) => callback(null, result.output), (err) => callback(err))
48
+ .catch(() => { });
49
+ }
50
+ else {
51
+ return handler(command).then((result) => result.output);
52
+ }
53
+ }
54
+ destroy() {
55
+ this.config?.requestHandler?.destroy?.();
56
+ delete this.handlers;
57
+ }
58
+ }
59
+
60
+ const SENSITIVE_STRING$1 = "***SensitiveInformation***";
61
+ function schemaLogFilter(schema$1, data) {
62
+ if (data == null) {
63
+ return data;
64
+ }
65
+ const ns = schema.NormalizedSchema.of(schema$1);
66
+ if (ns.getMergedTraits().sensitive) {
67
+ return SENSITIVE_STRING$1;
68
+ }
69
+ if (ns.isListSchema()) {
70
+ const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
71
+ if (isSensitive) {
72
+ return SENSITIVE_STRING$1;
73
+ }
74
+ }
75
+ else if (ns.isMapSchema()) {
76
+ const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
77
+ if (isSensitive) {
78
+ return SENSITIVE_STRING$1;
79
+ }
80
+ }
81
+ else if (ns.isStructSchema() && typeof data === "object") {
82
+ const object = data;
83
+ const newObject = {};
84
+ for (const [member, memberNs] of ns.structIterator()) {
85
+ if (object[member] != null) {
86
+ newObject[member] = schemaLogFilter(memberNs, object[member]);
87
+ }
88
+ }
89
+ return newObject;
90
+ }
91
+ return data;
92
+ }
93
+
94
+ class Command {
95
+ middlewareStack = middlewareStack.constructStack();
96
+ schema;
97
+ static classBuilder() {
98
+ return new ClassBuilder();
99
+ }
100
+ resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor, }) {
101
+ for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
102
+ this.middlewareStack.use(mw);
103
+ }
104
+ const stack = clientStack.concat(this.middlewareStack);
105
+ const { logger } = configuration;
106
+ const handlerExecutionContext = {
107
+ logger,
108
+ clientName,
109
+ commandName,
110
+ inputFilterSensitiveLog,
111
+ outputFilterSensitiveLog,
112
+ [types.SMITHY_CONTEXT_KEY]: {
113
+ commandInstance: this,
114
+ ...smithyContext,
115
+ },
116
+ ...additionalContext,
117
+ };
118
+ const { requestHandler } = configuration;
119
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
120
+ }
121
+ }
122
+ class ClassBuilder {
123
+ _init = () => { };
124
+ _ep = {};
125
+ _middlewareFn = () => [];
126
+ _commandName = "";
127
+ _clientName = "";
128
+ _additionalContext = {};
129
+ _smithyContext = {};
130
+ _inputFilterSensitiveLog = undefined;
131
+ _outputFilterSensitiveLog = undefined;
132
+ _serializer = null;
133
+ _deserializer = null;
134
+ _operationSchema;
135
+ init(cb) {
136
+ this._init = cb;
137
+ }
138
+ ep(endpointParameterInstructions) {
139
+ this._ep = endpointParameterInstructions;
140
+ return this;
141
+ }
142
+ m(middlewareSupplier) {
143
+ this._middlewareFn = middlewareSupplier;
144
+ return this;
145
+ }
146
+ s(service, operation, smithyContext = {}) {
147
+ this._smithyContext = {
148
+ service,
149
+ operation,
150
+ ...smithyContext,
151
+ };
152
+ return this;
153
+ }
154
+ c(additionalContext = {}) {
155
+ this._additionalContext = additionalContext;
156
+ return this;
157
+ }
158
+ n(clientName, commandName) {
159
+ this._clientName = clientName;
160
+ this._commandName = commandName;
161
+ return this;
162
+ }
163
+ f(inputFilter = (_) => _, outputFilter = (_) => _) {
164
+ this._inputFilterSensitiveLog = inputFilter;
165
+ this._outputFilterSensitiveLog = outputFilter;
166
+ return this;
167
+ }
168
+ ser(serializer) {
169
+ this._serializer = serializer;
170
+ return this;
171
+ }
172
+ de(deserializer) {
173
+ this._deserializer = deserializer;
174
+ return this;
175
+ }
176
+ sc(operation) {
177
+ this._operationSchema = operation;
178
+ this._smithyContext.operationSchema = operation;
179
+ return this;
180
+ }
181
+ build() {
182
+ const closure = this;
183
+ let CommandRef;
184
+ return (CommandRef = class extends Command {
185
+ input;
186
+ static getEndpointParameterInstructions() {
187
+ return closure._ep;
188
+ }
189
+ constructor(...[input]) {
190
+ super();
191
+ this.input = input ?? {};
192
+ closure._init(this);
193
+ this.schema = closure._operationSchema;
194
+ }
195
+ resolveMiddleware(stack, configuration, options) {
196
+ const op = closure._operationSchema;
197
+ const input = op?.[4] ?? op?.input;
198
+ const output = op?.[5] ?? op?.output;
199
+ return this.resolveMiddlewareWithContext(stack, configuration, options, {
200
+ CommandCtor: CommandRef,
201
+ middlewareFn: closure._middlewareFn,
202
+ clientName: closure._clientName,
203
+ commandName: closure._commandName,
204
+ inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _),
205
+ outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _),
206
+ smithyContext: closure._smithyContext,
207
+ additionalContext: closure._additionalContext,
208
+ });
209
+ }
210
+ serialize = closure._serializer;
211
+ deserialize = closure._deserializer;
212
+ });
213
+ }
214
+ }
215
+
216
+ const SENSITIVE_STRING = "***SensitiveInformation***";
217
+
218
+ const createAggregatedClient = (commands, Client, options) => {
219
+ for (const [command, CommandCtor] of Object.entries(commands)) {
220
+ const methodImpl = async function (args, optionsOrCb, cb) {
221
+ const command = new CommandCtor(args);
222
+ if (typeof optionsOrCb === "function") {
223
+ this.send(command, optionsOrCb);
224
+ }
225
+ else if (typeof cb === "function") {
226
+ if (typeof optionsOrCb !== "object")
227
+ throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
228
+ this.send(command, optionsOrCb || {}, cb);
229
+ }
230
+ else {
231
+ return this.send(command, optionsOrCb);
232
+ }
233
+ };
234
+ const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
235
+ Client.prototype[methodName] = methodImpl;
236
+ }
237
+ const { paginators = {}, waiters = {} } = options ?? {};
238
+ for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
239
+ if (Client.prototype[paginatorName] === void 0) {
240
+ Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) {
241
+ return paginatorFn({
242
+ ...paginationConfiguration,
243
+ client: this,
244
+ }, commandInput, ...rest);
245
+ };
246
+ }
247
+ }
248
+ for (const [waiterName, waiterFn] of Object.entries(waiters)) {
249
+ if (Client.prototype[waiterName] === void 0) {
250
+ Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) {
251
+ let config = waiterConfiguration;
252
+ if (typeof waiterConfiguration === "number") {
253
+ config = {
254
+ maxWaitTime: waiterConfiguration,
255
+ };
256
+ }
257
+ return waiterFn({
258
+ ...config,
259
+ client: this,
260
+ }, commandInput, ...rest);
261
+ };
262
+ }
263
+ }
264
+ };
265
+
266
+ class ServiceException extends Error {
267
+ $fault;
268
+ $response;
269
+ $retryable;
270
+ $metadata;
271
+ constructor(options) {
272
+ super(options.message);
273
+ Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype);
274
+ this.name = options.name;
275
+ this.$fault = options.$fault;
276
+ this.$metadata = options.$metadata;
277
+ }
278
+ static isInstance(value) {
279
+ if (!value)
280
+ return false;
281
+ const candidate = value;
282
+ return (ServiceException.prototype.isPrototypeOf(candidate) ||
283
+ (Boolean(candidate.$fault) &&
284
+ Boolean(candidate.$metadata) &&
285
+ (candidate.$fault === "client" || candidate.$fault === "server")));
286
+ }
287
+ static [Symbol.hasInstance](instance) {
288
+ if (!instance)
289
+ return false;
290
+ const candidate = instance;
291
+ if (this === ServiceException) {
292
+ return ServiceException.isInstance(instance);
293
+ }
294
+ if (ServiceException.isInstance(instance)) {
295
+ if (candidate.name && this.name) {
296
+ return this.prototype.isPrototypeOf(instance) || candidate.name === this.name;
297
+ }
298
+ return this.prototype.isPrototypeOf(instance);
299
+ }
300
+ return false;
301
+ }
302
+ }
303
+ const decorateServiceException = (exception, additions = {}) => {
304
+ Object.entries(additions)
305
+ .filter(([, v]) => v !== undefined)
306
+ .forEach(([k, v]) => {
307
+ if (exception[k] == undefined || exception[k] === "") {
308
+ exception[k] = v;
309
+ }
310
+ });
311
+ const message = exception.message || exception.Message || "UnknownError";
312
+ exception.message = message;
313
+ delete exception.Message;
314
+ return exception;
315
+ };
316
+
317
+ const throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {
318
+ const $metadata = deserializeMetadata(output);
319
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
320
+ const response = new exceptionCtor({
321
+ name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError",
322
+ $fault: "client",
323
+ $metadata,
324
+ });
325
+ throw decorateServiceException(response, parsedBody);
326
+ };
327
+ const withBaseException = (ExceptionCtor) => {
328
+ return ({ output, parsedBody, errorCode }) => {
329
+ throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });
330
+ };
331
+ };
332
+ const deserializeMetadata = (output) => ({
333
+ httpStatusCode: output.statusCode,
334
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
335
+ extendedRequestId: output.headers["x-amz-id-2"],
336
+ cfId: output.headers["x-amz-cf-id"],
337
+ });
338
+
339
+ const loadConfigsForDefaultMode = (mode) => {
340
+ switch (mode) {
341
+ case "standard":
342
+ return {
343
+ retryMode: "standard",
344
+ connectionTimeout: 3100,
345
+ };
346
+ case "in-region":
347
+ return {
348
+ retryMode: "standard",
349
+ connectionTimeout: 1100,
350
+ };
351
+ case "cross-region":
352
+ return {
353
+ retryMode: "standard",
354
+ connectionTimeout: 3100,
355
+ };
356
+ case "mobile":
357
+ return {
358
+ retryMode: "standard",
359
+ connectionTimeout: 30000,
360
+ };
361
+ default:
362
+ return {};
363
+ }
364
+ };
365
+
366
+ let warningEmitted = false;
367
+ const emitWarningIfUnsupportedVersion = (version) => {
368
+ if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
369
+ warningEmitted = true;
370
+ }
371
+ };
372
+
373
+ const knownAlgorithms = Object.values(types.AlgorithmId);
374
+ const getChecksumConfiguration = (runtimeConfig) => {
375
+ const checksumAlgorithms = [];
376
+ for (const id in types.AlgorithmId) {
377
+ const algorithmId = types.AlgorithmId[id];
378
+ if (runtimeConfig[algorithmId] === undefined) {
379
+ continue;
380
+ }
381
+ checksumAlgorithms.push({
382
+ algorithmId: () => algorithmId,
383
+ checksumConstructor: () => runtimeConfig[algorithmId],
384
+ });
385
+ }
386
+ for (const [id, ChecksumCtor] of Object.entries(runtimeConfig.checksumAlgorithms ?? {})) {
387
+ checksumAlgorithms.push({
388
+ algorithmId: () => id,
389
+ checksumConstructor: () => ChecksumCtor,
390
+ });
391
+ }
392
+ return {
393
+ addChecksumAlgorithm(algo) {
394
+ runtimeConfig.checksumAlgorithms = runtimeConfig.checksumAlgorithms ?? {};
395
+ const id = algo.algorithmId();
396
+ const ctor = algo.checksumConstructor();
397
+ if (knownAlgorithms.includes(id)) {
398
+ runtimeConfig.checksumAlgorithms[id.toUpperCase()] = ctor;
399
+ }
400
+ else {
401
+ runtimeConfig.checksumAlgorithms[id] = ctor;
402
+ }
403
+ checksumAlgorithms.push(algo);
404
+ },
405
+ checksumAlgorithms() {
406
+ return checksumAlgorithms;
407
+ },
408
+ };
409
+ };
410
+ const resolveChecksumRuntimeConfig = (clientConfig) => {
411
+ const runtimeConfig = {};
412
+ clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
413
+ const id = checksumAlgorithm.algorithmId();
414
+ if (knownAlgorithms.includes(id)) {
415
+ runtimeConfig[id] = checksumAlgorithm.checksumConstructor();
416
+ }
417
+ });
418
+ return runtimeConfig;
419
+ };
420
+
421
+ const getRetryConfiguration = (runtimeConfig) => {
422
+ return {
423
+ setRetryStrategy(retryStrategy) {
424
+ runtimeConfig.retryStrategy = retryStrategy;
425
+ },
426
+ retryStrategy() {
427
+ return runtimeConfig.retryStrategy;
428
+ },
429
+ };
430
+ };
431
+ const resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
432
+ const runtimeConfig = {};
433
+ runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy();
434
+ return runtimeConfig;
435
+ };
436
+
437
+ const getDefaultExtensionConfiguration = (runtimeConfig) => {
438
+ return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
439
+ };
440
+ const getDefaultClientConfiguration = getDefaultExtensionConfiguration;
441
+ const resolveDefaultRuntimeConfig = (config) => {
442
+ return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
443
+ };
444
+
445
+ const getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray];
446
+
447
+ const getValueFromTextNode = (obj) => {
448
+ const textNodeName = "#text";
449
+ for (const key in obj) {
450
+ if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) {
451
+ obj[key] = obj[key][textNodeName];
452
+ }
453
+ else if (typeof obj[key] === "object" && obj[key] !== null) {
454
+ obj[key] = getValueFromTextNode(obj[key]);
455
+ }
456
+ }
457
+ return obj;
458
+ };
459
+
460
+ const isSerializableHeaderValue = (value) => {
461
+ return value != null;
462
+ };
463
+
464
+ class NoOpLogger {
465
+ trace() { }
466
+ debug() { }
467
+ info() { }
468
+ warn() { }
469
+ error() { }
470
+ }
471
+
472
+ function map(arg0, arg1, arg2) {
473
+ let target;
474
+ let filter;
475
+ let instructions;
476
+ if (typeof arg1 === "undefined" && typeof arg2 === "undefined") {
477
+ target = {};
478
+ instructions = arg0;
479
+ }
480
+ else {
481
+ target = arg0;
482
+ if (typeof arg1 === "function") {
483
+ filter = arg1;
484
+ instructions = arg2;
485
+ return mapWithFilter(target, filter, instructions);
486
+ }
487
+ else {
488
+ instructions = arg1;
489
+ }
490
+ }
491
+ for (const key of Object.keys(instructions)) {
492
+ if (!Array.isArray(instructions[key])) {
493
+ target[key] = instructions[key];
494
+ continue;
495
+ }
496
+ applyInstruction(target, null, instructions, key);
497
+ }
498
+ return target;
499
+ }
500
+ const convertMap = (target) => {
501
+ const output = {};
502
+ for (const [k, v] of Object.entries(target || {})) {
503
+ output[k] = [, v];
504
+ }
505
+ return output;
506
+ };
507
+ const take = (source, instructions) => {
508
+ const out = {};
509
+ for (const key in instructions) {
510
+ applyInstruction(out, source, instructions, key);
511
+ }
512
+ return out;
513
+ };
514
+ const mapWithFilter = (target, filter, instructions) => {
515
+ return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {
516
+ if (Array.isArray(value)) {
517
+ _instructions[key] = value;
518
+ }
519
+ else {
520
+ if (typeof value === "function") {
521
+ _instructions[key] = [filter, value()];
522
+ }
523
+ else {
524
+ _instructions[key] = [filter, value];
525
+ }
526
+ }
527
+ return _instructions;
528
+ }, {}));
529
+ };
530
+ const applyInstruction = (target, source, instructions, targetKey) => {
531
+ if (source !== null) {
532
+ let instruction = instructions[targetKey];
533
+ if (typeof instruction === "function") {
534
+ instruction = [, instruction];
535
+ }
536
+ const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;
537
+ if ((typeof filter === "function" && filter(source[sourceKey])) || (typeof filter !== "function" && !!filter)) {
538
+ target[targetKey] = valueFn(source[sourceKey]);
539
+ }
540
+ return;
541
+ }
542
+ let [filter, value] = instructions[targetKey];
543
+ if (typeof value === "function") {
544
+ let _value;
545
+ const defaultFilterPassed = filter === undefined && (_value = value()) != null;
546
+ const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter);
547
+ if (defaultFilterPassed) {
548
+ target[targetKey] = _value;
549
+ }
550
+ else if (customFilterPassed) {
551
+ target[targetKey] = value();
552
+ }
553
+ }
554
+ else {
555
+ const defaultFilterPassed = filter === undefined && value != null;
556
+ const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter);
557
+ if (defaultFilterPassed || customFilterPassed) {
558
+ target[targetKey] = value;
559
+ }
560
+ }
561
+ };
562
+ const nonNullish = (_) => _ != null;
563
+ const pass = (_) => _;
564
+
565
+ const serializeFloat = (value) => {
566
+ if (value !== value) {
567
+ return "NaN";
568
+ }
569
+ switch (value) {
570
+ case Infinity:
571
+ return "Infinity";
572
+ case -Infinity:
573
+ return "-Infinity";
574
+ default:
575
+ return value;
576
+ }
577
+ };
578
+ const serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z");
579
+
580
+ const _json = (obj) => {
581
+ if (obj == null) {
582
+ return {};
583
+ }
584
+ if (Array.isArray(obj)) {
585
+ return obj.filter((_) => _ != null).map(_json);
586
+ }
587
+ if (typeof obj === "object") {
588
+ const target = {};
589
+ for (const key of Object.keys(obj)) {
590
+ if (obj[key] == null) {
591
+ continue;
592
+ }
593
+ target[key] = _json(obj[key]);
594
+ }
595
+ return target;
596
+ }
597
+ return obj;
598
+ };
599
+
600
+ exports.collectBody = protocols.collectBody;
601
+ exports.extendedEncodeURIComponent = protocols.extendedEncodeURIComponent;
602
+ exports.resolvedPath = protocols.resolvedPath;
603
+ exports.Client = Client;
604
+ exports.Command = Command;
605
+ exports.NoOpLogger = NoOpLogger;
606
+ exports.SENSITIVE_STRING = SENSITIVE_STRING;
607
+ exports.ServiceException = ServiceException;
608
+ exports._json = _json;
609
+ exports.convertMap = convertMap;
610
+ exports.createAggregatedClient = createAggregatedClient;
611
+ exports.decorateServiceException = decorateServiceException;
612
+ exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
613
+ exports.getArrayIfSingleItem = getArrayIfSingleItem;
614
+ exports.getDefaultClientConfiguration = getDefaultClientConfiguration;
615
+ exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration;
616
+ exports.getValueFromTextNode = getValueFromTextNode;
617
+ exports.isSerializableHeaderValue = isSerializableHeaderValue;
618
+ exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode;
619
+ exports.map = map;
620
+ exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
621
+ exports.serializeDateTime = serializeDateTime;
622
+ exports.serializeFloat = serializeFloat;
623
+ exports.take = take;
624
+ exports.throwDefaultError = throwDefaultError;
625
+ exports.withBaseException = withBaseException;
626
+ Object.prototype.hasOwnProperty.call(serde, '__proto__') &&
627
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
628
+ Object.defineProperty(exports, '__proto__', {
629
+ enumerable: true,
630
+ value: serde['__proto__']
631
+ });
632
+
633
+ Object.keys(serde).forEach(function (k) {
634
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = serde[k];
635
+ });
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@smithy/smithy-client",
3
+ "version": "4.12.7",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
+ "build:cjs": "node ../../scripts/inline smithy-client",
7
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
8
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
9
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "extract:docs": "node ./scripts/fix-api-extractor && api-extractor run --local && node ./scripts/fix-api-extractor --unset",
15
+ "test": "yarn g:vitest run",
16
+ "test:watch": "yarn g:vitest watch",
17
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
18
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
19
+ },
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "types": "./dist-types/index.d.ts",
23
+ "author": {
24
+ "name": "AWS SDK for JavaScript Team",
25
+ "url": "https://aws.amazon.com/javascript/"
26
+ },
27
+ "license": "Apache-2.0",
28
+ "sideEffects": false,
29
+ "dependencies": {
30
+ "@smithy/core": "^3.23.12",
31
+ "@smithy/middleware-endpoint": "^4.4.27",
32
+ "@smithy/middleware-stack": "^4.2.12",
33
+ "@smithy/protocol-http": "^5.3.12",
34
+ "@smithy/types": "^4.13.1",
35
+ "@smithy/util-stream": "^4.5.20",
36
+ "tslib": "^2.6.2"
37
+ },
38
+ "engines": {
39
+ "node": ">=18.0.0"
40
+ },
41
+ "typesVersions": {
42
+ "<4.5": {
43
+ "dist-types/*": [
44
+ "dist-types/ts3.4/*"
45
+ ]
46
+ }
47
+ },
48
+ "files": [
49
+ "dist-*/**"
50
+ ],
51
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/smithy-client",
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
55
+ "directory": "packages/smithy-client"
56
+ },
57
+ "devDependencies": {
58
+ "@types/node": "^18.11.9",
59
+ "concurrently": "7.0.0",
60
+ "downlevel-dts": "0.10.1",
61
+ "premove": "4.0.0",
62
+ "typedoc": "0.23.23"
63
+ },
64
+ "typedoc": {
65
+ "entryPoint": "src/index.ts"
66
+ },
67
+ "publishConfig": {
68
+ "directory": ".release/package"
69
+ }
70
+ }