@slycode/slycode 0.2.10 → 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 (366) 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/page_client-reference-manifest.js +1 -1
  28. package/dist/web/.next/server/app/_not-found.html +1 -1
  29. package/dist/web/.next/server/app/_not-found.rsc +2 -2
  30. package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  31. package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  32. package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  33. package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  34. package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  35. package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  36. package/dist/web/.next/server/app/api/cli-assets/assistant/route.js.nft.json +1 -1
  37. package/dist/web/.next/server/app/api/cli-assets/fix/route.js.nft.json +1 -1
  38. package/dist/web/.next/server/app/api/cli-assets/import/route.js.nft.json +1 -1
  39. package/dist/web/.next/server/app/api/cli-assets/route.js.nft.json +1 -1
  40. package/dist/web/.next/server/app/api/cli-assets/store/preview/route.js.nft.json +1 -1
  41. package/dist/web/.next/server/app/api/cli-assets/store/route.js.nft.json +1 -1
  42. package/dist/web/.next/server/app/api/cli-assets/sync/route.js.nft.json +1 -1
  43. package/dist/web/.next/server/app/api/cli-assets/updates/route.js.nft.json +1 -1
  44. package/dist/web/.next/server/app/api/dashboard/route.js.nft.json +1 -1
  45. package/dist/web/.next/server/app/api/file/route.js.nft.json +1 -1
  46. package/dist/web/.next/server/app/api/git-status/route.js.nft.json +1 -1
  47. package/dist/web/.next/server/app/api/kanban/route.js.nft.json +1 -1
  48. package/dist/web/.next/server/app/api/kanban/stream/route.js.nft.json +1 -1
  49. package/dist/web/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
  50. package/dist/web/.next/server/app/api/projects/reorder/route.js.nft.json +1 -1
  51. package/dist/web/.next/server/app/api/projects/route.js.nft.json +1 -1
  52. package/dist/web/.next/server/app/api/scheduler/route.js.nft.json +1 -1
  53. package/dist/web/.next/server/app/api/search/route.js.nft.json +1 -1
  54. package/dist/web/.next/server/app/api/sly-actions/invalidate/route.js.nft.json +1 -1
  55. package/dist/web/.next/server/app/api/sly-actions/route.js.nft.json +1 -1
  56. package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
  57. package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
  58. package/dist/web/.next/server/app/api/version-check/route.js.nft.json +1 -1
  59. package/dist/web/.next/server/app/page.js.nft.json +1 -1
  60. package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
  61. package/dist/web/.next/server/app/project/[id]/page.js.nft.json +1 -1
  62. package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
  63. package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
  64. package/dist/web/.next/server/chunks/{[root-of-the-server]__104b2da3._.js → [root-of-the-server]__4297cb97._.js} +3 -3
  65. package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
  66. package/dist/web/.next/server/chunks/{[root-of-the-server]__41df0777._.js → [root-of-the-server]__cf14e306._.js} +2 -2
  67. package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
  68. package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
  69. package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
  70. package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
  71. package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
  72. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
  73. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
  74. package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
  75. package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
  76. package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
  77. package/dist/web/.next/server/pages/404.html +1 -1
  78. package/dist/web/.next/server/pages/500.html +2 -2
  79. package/dist/web/.next/server/server-reference-manifest.js +1 -1
  80. package/dist/web/.next/server/server-reference-manifest.json +1 -1
  81. package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
  82. package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
  83. package/dist/web/.next/static/chunks/3df3846316317676.css +1 -0
  84. package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
  85. package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
  86. package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
  87. package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
  88. package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
  89. package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
  90. package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
  91. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
  92. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
  93. package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
  94. package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
  95. package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
  96. package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
  97. package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
  98. package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
  99. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  100. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  101. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  102. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  103. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  104. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  105. package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
  106. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  107. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
  108. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
  109. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
  110. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
  111. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
  112. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
  113. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
  114. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
  115. package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
  116. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
  117. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
  118. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
  119. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
  120. package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
  121. package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
  122. package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
  123. package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
  124. package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
  125. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
  126. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
  127. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
  128. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
  129. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
  130. package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
  131. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
  132. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
  133. package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  134. package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  135. package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
  136. package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
  137. package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
  138. package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
  139. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
  140. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  141. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
  142. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
  143. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
  144. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
  145. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
  146. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
  147. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
  148. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
  149. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
  150. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
  151. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
  152. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
  153. package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
  154. package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
  155. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
  156. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
  157. package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
  158. package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
  159. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
  160. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
  161. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
  162. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
  163. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
  164. package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
  165. package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
  166. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
  167. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
  168. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  169. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  170. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
  171. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
  172. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  173. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  174. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
  175. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
  176. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  177. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
  178. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  179. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  180. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  181. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  182. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  183. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  184. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
  185. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  186. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
  187. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
  188. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
  189. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
  190. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  191. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  192. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
  193. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
  194. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  195. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
  196. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
  197. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
  198. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
  199. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
  200. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
  201. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
  202. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  203. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  204. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
  205. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
  206. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
  207. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  208. package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
  209. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
  210. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
  211. package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
  212. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
  213. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
  214. package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
  215. package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
  216. package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
  217. package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
  218. package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
  219. package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  220. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
  221. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
  222. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
  223. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
  224. package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
  225. package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
  226. package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
  227. package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
  228. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
  229. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  230. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
  231. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
  232. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
  233. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
  234. package/dist/web/node_modules/@smithy/core/package.json +146 -0
  235. package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  236. package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  237. package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
  238. package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
  239. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
  240. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
  241. package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
  242. package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
  243. package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
  244. package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
  245. package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
  246. package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
  247. package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
  248. package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
  249. package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
  250. package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
  251. package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  252. package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
  253. package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
  254. package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
  255. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
  256. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
  257. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
  258. package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
  259. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
  260. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
  261. package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
  262. package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
  263. package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
  264. package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
  265. package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
  266. package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
  267. package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
  268. package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
  269. package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
  270. package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  271. package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
  272. package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
  273. package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
  274. package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
  275. package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
  276. package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
  277. package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
  278. package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
  279. package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
  280. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  281. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  282. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
  283. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
  284. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  285. package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  286. package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
  287. package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
  288. package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
  289. package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
  290. package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
  291. package/dist/web/node_modules/@smithy/types/package.json +61 -0
  292. package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
  293. package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
  294. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
  295. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
  296. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
  297. package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
  298. package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
  299. package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
  300. package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
  301. package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
  302. package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  303. package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
  304. package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
  305. package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
  306. package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
  307. package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
  308. package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
  309. package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
  310. package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
  311. package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
  312. package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
  313. package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
  314. package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
  315. package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
  316. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
  317. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  318. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
  319. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
  320. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
  321. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
  322. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
  323. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
  324. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
  325. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
  326. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
  327. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
  328. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
  329. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
  330. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
  331. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
  332. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
  333. package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
  334. package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
  335. package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
  336. package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
  337. package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
  338. package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
  339. package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
  340. package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
  341. package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  342. package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
  343. package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  344. package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
  345. package/dist/web/node_modules/tslib/package.json +47 -0
  346. package/dist/web/node_modules/tslib/tslib.js +484 -0
  347. package/dist/web/package-lock.json +470 -161
  348. package/dist/web/package.json +3 -1
  349. package/dist/web/src/app/api/transcribe/route.ts +84 -68
  350. package/dist/web/src/components/VoiceControlBar.tsx +1 -0
  351. package/dist/web/src/lib/webm-to-ogg-opus.ts +254 -0
  352. package/dist/web/tsconfig.tsbuildinfo +1 -1
  353. package/package.json +1 -1
  354. package/templates/kanban-seed.json +1 -1
  355. package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
  356. package/dist/web/.next/server/chunks/[root-of-the-server]__1cdc76ef._.js +0 -3
  357. package/dist/web/.next/server/chunks/[root-of-the-server]__3998d59e._.js +0 -19
  358. package/dist/web/.next/server/chunks/[root-of-the-server]__3dc5531f._.js +0 -5
  359. package/dist/web/.next/server/chunks/[root-of-the-server]__403750fd._.js +0 -3
  360. package/dist/web/.next/server/chunks/[root-of-the-server]__934c9bb4._.js +0 -5
  361. package/dist/web/.next/server/chunks/[root-of-the-server]__e00fb85f._.js +0 -9
  362. package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
  363. package/dist/web/.next/static/chunks/f3d7065d54a0b9ac.css +0 -1
  364. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
  365. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
  366. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
@@ -0,0 +1,172 @@
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
10
+ var middlewareContentLength = require('@smithy/middleware-content-length');
11
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
+ var middlewareRetry = require('@smithy/middleware-retry');
13
+ var smithyClient = require('@smithy/smithy-client');
14
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
+ var runtimeConfig = require('./runtimeConfig');
16
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
+ var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var SSOOIDCServiceException = require('./models/SSOOIDCServiceException');
21
+
22
+ const resolveClientEndpointParameters = (options) => {
23
+ return Object.assign(options, {
24
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
25
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
26
+ defaultSigningName: "sso-oauth",
27
+ });
28
+ };
29
+ const commonParams = {
30
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
31
+ Endpoint: { type: "builtInParams", name: "endpoint" },
32
+ Region: { type: "builtInParams", name: "region" },
33
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
34
+ };
35
+
36
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
37
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
38
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
39
+ let _credentials = runtimeConfig.credentials;
40
+ return {
41
+ setHttpAuthScheme(httpAuthScheme) {
42
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
43
+ if (index === -1) {
44
+ _httpAuthSchemes.push(httpAuthScheme);
45
+ }
46
+ else {
47
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
48
+ }
49
+ },
50
+ httpAuthSchemes() {
51
+ return _httpAuthSchemes;
52
+ },
53
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
54
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
55
+ },
56
+ httpAuthSchemeProvider() {
57
+ return _httpAuthSchemeProvider;
58
+ },
59
+ setCredentials(credentials) {
60
+ _credentials = credentials;
61
+ },
62
+ credentials() {
63
+ return _credentials;
64
+ },
65
+ };
66
+ };
67
+ const resolveHttpAuthRuntimeConfig = (config) => {
68
+ return {
69
+ httpAuthSchemes: config.httpAuthSchemes(),
70
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
71
+ credentials: config.credentials(),
72
+ };
73
+ };
74
+
75
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
76
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
77
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
78
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
79
+ };
80
+
81
+ class SSOOIDCClient extends smithyClient.Client {
82
+ config;
83
+ constructor(...[configuration]) {
84
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
85
+ super(_config_0);
86
+ this.initConfig = _config_0;
87
+ const _config_1 = resolveClientEndpointParameters(_config_0);
88
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
89
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
90
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
91
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
92
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
93
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
+ this.config = _config_8;
96
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
97
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
98
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
99
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
100
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
101
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
102
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
103
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
104
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider,
105
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
106
+ "aws.auth#sigv4": config.credentials,
107
+ }),
108
+ }));
109
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
110
+ }
111
+ destroy() {
112
+ super.destroy();
113
+ }
114
+ }
115
+
116
+ class CreateTokenCommand extends smithyClient.Command
117
+ .classBuilder()
118
+ .ep(commonParams)
119
+ .m(function (Command, cs, config, o) {
120
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
+ })
122
+ .s("AWSSSOOIDCService", "CreateToken", {})
123
+ .n("SSOOIDCClient", "CreateTokenCommand")
124
+ .sc(schemas_0.CreateToken$)
125
+ .build() {
126
+ }
127
+
128
+ const commands = {
129
+ CreateTokenCommand,
130
+ };
131
+ class SSOOIDC extends SSOOIDCClient {
132
+ }
133
+ smithyClient.createAggregatedClient(commands, SSOOIDC);
134
+
135
+ const AccessDeniedExceptionReason = {
136
+ KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
137
+ };
138
+ const InvalidRequestExceptionReason = {
139
+ KMS_DISABLED_KEY: "KMS_DisabledException",
140
+ KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
141
+ KMS_INVALID_STATE: "KMS_InvalidStateException",
142
+ KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
143
+ };
144
+
145
+ exports.$Command = smithyClient.Command;
146
+ exports.__Client = smithyClient.Client;
147
+ exports.SSOOIDCServiceException = SSOOIDCServiceException.SSOOIDCServiceException;
148
+ exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
149
+ exports.CreateTokenCommand = CreateTokenCommand;
150
+ exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
151
+ exports.SSOOIDC = SSOOIDC;
152
+ exports.SSOOIDCClient = SSOOIDCClient;
153
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
154
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
155
+ Object.defineProperty(exports, '__proto__', {
156
+ enumerable: true,
157
+ value: schemas_0['__proto__']
158
+ });
159
+
160
+ Object.keys(schemas_0).forEach(function (k) {
161
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
162
+ });
163
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
164
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
165
+ Object.defineProperty(exports, '__proto__', {
166
+ enumerable: true,
167
+ value: errors['__proto__']
168
+ });
169
+
170
+ Object.keys(errors).forEach(function (k) {
171
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
172
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SSOOIDCServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class SSOOIDCServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
10
+ }
11
+ }
12
+ exports.SSOOIDCServiceException = SSOOIDCServiceException;
@@ -0,0 +1,195 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0;
4
+ const SSOOIDCServiceException_1 = require("./SSOOIDCServiceException");
5
+ class AccessDeniedException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ error;
9
+ reason;
10
+ error_description;
11
+ constructor(opts) {
12
+ super({
13
+ name: "AccessDeniedException",
14
+ $fault: "client",
15
+ ...opts,
16
+ });
17
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
18
+ this.error = opts.error;
19
+ this.reason = opts.reason;
20
+ this.error_description = opts.error_description;
21
+ }
22
+ }
23
+ exports.AccessDeniedException = AccessDeniedException;
24
+ class AuthorizationPendingException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
25
+ name = "AuthorizationPendingException";
26
+ $fault = "client";
27
+ error;
28
+ error_description;
29
+ constructor(opts) {
30
+ super({
31
+ name: "AuthorizationPendingException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
36
+ this.error = opts.error;
37
+ this.error_description = opts.error_description;
38
+ }
39
+ }
40
+ exports.AuthorizationPendingException = AuthorizationPendingException;
41
+ class ExpiredTokenException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
42
+ name = "ExpiredTokenException";
43
+ $fault = "client";
44
+ error;
45
+ error_description;
46
+ constructor(opts) {
47
+ super({
48
+ name: "ExpiredTokenException",
49
+ $fault: "client",
50
+ ...opts,
51
+ });
52
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
53
+ this.error = opts.error;
54
+ this.error_description = opts.error_description;
55
+ }
56
+ }
57
+ exports.ExpiredTokenException = ExpiredTokenException;
58
+ class InternalServerException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
59
+ name = "InternalServerException";
60
+ $fault = "server";
61
+ error;
62
+ error_description;
63
+ constructor(opts) {
64
+ super({
65
+ name: "InternalServerException",
66
+ $fault: "server",
67
+ ...opts,
68
+ });
69
+ Object.setPrototypeOf(this, InternalServerException.prototype);
70
+ this.error = opts.error;
71
+ this.error_description = opts.error_description;
72
+ }
73
+ }
74
+ exports.InternalServerException = InternalServerException;
75
+ class InvalidClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
76
+ name = "InvalidClientException";
77
+ $fault = "client";
78
+ error;
79
+ error_description;
80
+ constructor(opts) {
81
+ super({
82
+ name: "InvalidClientException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, InvalidClientException.prototype);
87
+ this.error = opts.error;
88
+ this.error_description = opts.error_description;
89
+ }
90
+ }
91
+ exports.InvalidClientException = InvalidClientException;
92
+ class InvalidGrantException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
93
+ name = "InvalidGrantException";
94
+ $fault = "client";
95
+ error;
96
+ error_description;
97
+ constructor(opts) {
98
+ super({
99
+ name: "InvalidGrantException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, InvalidGrantException.prototype);
104
+ this.error = opts.error;
105
+ this.error_description = opts.error_description;
106
+ }
107
+ }
108
+ exports.InvalidGrantException = InvalidGrantException;
109
+ class InvalidRequestException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
110
+ name = "InvalidRequestException";
111
+ $fault = "client";
112
+ error;
113
+ reason;
114
+ error_description;
115
+ constructor(opts) {
116
+ super({
117
+ name: "InvalidRequestException",
118
+ $fault: "client",
119
+ ...opts,
120
+ });
121
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
122
+ this.error = opts.error;
123
+ this.reason = opts.reason;
124
+ this.error_description = opts.error_description;
125
+ }
126
+ }
127
+ exports.InvalidRequestException = InvalidRequestException;
128
+ class InvalidScopeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
129
+ name = "InvalidScopeException";
130
+ $fault = "client";
131
+ error;
132
+ error_description;
133
+ constructor(opts) {
134
+ super({
135
+ name: "InvalidScopeException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, InvalidScopeException.prototype);
140
+ this.error = opts.error;
141
+ this.error_description = opts.error_description;
142
+ }
143
+ }
144
+ exports.InvalidScopeException = InvalidScopeException;
145
+ class SlowDownException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
146
+ name = "SlowDownException";
147
+ $fault = "client";
148
+ error;
149
+ error_description;
150
+ constructor(opts) {
151
+ super({
152
+ name: "SlowDownException",
153
+ $fault: "client",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, SlowDownException.prototype);
157
+ this.error = opts.error;
158
+ this.error_description = opts.error_description;
159
+ }
160
+ }
161
+ exports.SlowDownException = SlowDownException;
162
+ class UnauthorizedClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
163
+ name = "UnauthorizedClientException";
164
+ $fault = "client";
165
+ error;
166
+ error_description;
167
+ constructor(opts) {
168
+ super({
169
+ name: "UnauthorizedClientException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
174
+ this.error = opts.error;
175
+ this.error_description = opts.error_description;
176
+ }
177
+ }
178
+ exports.UnauthorizedClientException = UnauthorizedClientException;
179
+ class UnsupportedGrantTypeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
180
+ name = "UnsupportedGrantTypeException";
181
+ $fault = "client";
182
+ error;
183
+ error_description;
184
+ constructor(opts) {
185
+ super({
186
+ name: "UnsupportedGrantTypeException",
187
+ $fault: "client",
188
+ ...opts,
189
+ });
190
+ Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
191
+ this.error = opts.error;
192
+ this.error_description = opts.error_description;
193
+ }
194
+ }
195
+ exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../../../package.json"));
6
+ const core_1 = require("@aws-sdk/core");
7
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const hash_node_1 = require("@smithy/hash-node");
10
+ const middleware_retry_1 = require("@smithy/middleware-retry");
11
+ const node_config_provider_1 = require("@smithy/node-config-provider");
12
+ const node_http_handler_1 = require("@smithy/node-http-handler");
13
+ const smithy_client_1 = require("@smithy/smithy-client");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
16
+ const util_retry_1 = require("@smithy/util-retry");
17
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const getRuntimeConfig = (config) => {
19
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
20
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
24
+ const loaderConfig = {
25
+ profile: config?.profile,
26
+ logger: clientSharedValues.logger,
27
+ };
28
+ return {
29
+ ...clientSharedValues,
30
+ ...config,
31
+ runtime: "node",
32
+ defaultsMode,
33
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
34
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
35
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
36
+ (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
38
+ region: config?.region ??
39
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
40
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
41
+ retryMode: config?.retryMode ??
42
+ (0, node_config_provider_1.loadConfig)({
43
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
44
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
45
+ }, config),
46
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
47
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
48
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
49
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
50
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
51
+ };
52
+ };
53
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
6
+ const core_2 = require("@smithy/core");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
+ const url_parser_1 = require("@smithy/url-parser");
9
+ const util_base64_1 = require("@smithy/util-base64");
10
+ const util_utf8_1 = require("@smithy/util-utf8");
11
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
12
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
13
+ const schemas_0_1 = require("./schemas/schemas_0");
14
+ const getRuntimeConfig = (config) => {
15
+ return {
16
+ apiVersion: "2019-06-10",
17
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
18
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
19
+ disableHostPrefix: config?.disableHostPrefix ?? false,
20
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
21
+ extensions: config?.extensions ?? [],
22
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider,
23
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
24
+ {
25
+ schemeId: "aws.auth#sigv4",
26
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
27
+ signer: new core_1.AwsSdkSigV4Signer(),
28
+ },
29
+ {
30
+ schemeId: "smithy.api#noAuth",
31
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
32
+ signer: new core_2.NoAuthSigner(),
33
+ },
34
+ ],
35
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
36
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
37
+ protocolSettings: config?.protocolSettings ?? {
38
+ defaultNamespace: "com.amazonaws.ssooidc",
39
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
40
+ version: "2019-06-10",
41
+ serviceTarget: "AWSSSOOIDCService",
42
+ },
43
+ serviceId: config?.serviceId ?? "SSO OIDC",
44
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
45
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
46
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
47
+ };
48
+ };
49
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateToken$ = exports.CreateTokenResponse$ = exports.CreateTokenRequest$ = exports.errorTypeRegistries = exports.UnsupportedGrantTypeException$ = exports.UnauthorizedClientException$ = exports.SlowDownException$ = exports.InvalidScopeException$ = exports.InvalidRequestException$ = exports.InvalidGrantException$ = exports.InvalidClientException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AuthorizationPendingException$ = exports.AccessDeniedException$ = exports.SSOOIDCServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _APE = "AuthorizationPendingException";
6
+ const _AT = "AccessToken";
7
+ const _CS = "ClientSecret";
8
+ const _CT = "CreateToken";
9
+ const _CTR = "CreateTokenRequest";
10
+ const _CTRr = "CreateTokenResponse";
11
+ const _CV = "CodeVerifier";
12
+ const _ETE = "ExpiredTokenException";
13
+ const _ICE = "InvalidClientException";
14
+ const _IGE = "InvalidGrantException";
15
+ const _IRE = "InvalidRequestException";
16
+ const _ISE = "InternalServerException";
17
+ const _ISEn = "InvalidScopeException";
18
+ const _IT = "IdToken";
19
+ const _RT = "RefreshToken";
20
+ const _SDE = "SlowDownException";
21
+ const _UCE = "UnauthorizedClientException";
22
+ const _UGTE = "UnsupportedGrantTypeException";
23
+ const _aT = "accessToken";
24
+ const _c = "client";
25
+ const _cI = "clientId";
26
+ const _cS = "clientSecret";
27
+ const _cV = "codeVerifier";
28
+ const _co = "code";
29
+ const _dC = "deviceCode";
30
+ const _e = "error";
31
+ const _eI = "expiresIn";
32
+ const _ed = "error_description";
33
+ const _gT = "grantType";
34
+ const _h = "http";
35
+ const _hE = "httpError";
36
+ const _iT = "idToken";
37
+ const _r = "reason";
38
+ const _rT = "refreshToken";
39
+ const _rU = "redirectUri";
40
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
41
+ const _sc = "scope";
42
+ const _se = "server";
43
+ const _tT = "tokenType";
44
+ const n0 = "com.amazonaws.ssooidc";
45
+ const schema_1 = require("@smithy/core/schema");
46
+ const errors_1 = require("../models/errors");
47
+ const SSOOIDCServiceException_1 = require("../models/SSOOIDCServiceException");
48
+ const _s_registry = schema_1.TypeRegistry.for(_s);
49
+ exports.SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
50
+ _s_registry.registerError(exports.SSOOIDCServiceException$, SSOOIDCServiceException_1.SSOOIDCServiceException);
51
+ const n0_registry = schema_1.TypeRegistry.for(n0);
52
+ exports.AccessDeniedException$ = [
53
+ -3,
54
+ n0,
55
+ _ADE,
56
+ { [_e]: _c, [_hE]: 400 },
57
+ [_e, _r, _ed],
58
+ [0, 0, 0],
59
+ ];
60
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
61
+ exports.AuthorizationPendingException$ = [
62
+ -3,
63
+ n0,
64
+ _APE,
65
+ { [_e]: _c, [_hE]: 400 },
66
+ [_e, _ed],
67
+ [0, 0],
68
+ ];
69
+ n0_registry.registerError(exports.AuthorizationPendingException$, errors_1.AuthorizationPendingException);
70
+ exports.ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
71
+ n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException);
72
+ exports.InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
73
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
74
+ exports.InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
75
+ n0_registry.registerError(exports.InvalidClientException$, errors_1.InvalidClientException);
76
+ exports.InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
77
+ n0_registry.registerError(exports.InvalidGrantException$, errors_1.InvalidGrantException);
78
+ exports.InvalidRequestException$ = [
79
+ -3,
80
+ n0,
81
+ _IRE,
82
+ { [_e]: _c, [_hE]: 400 },
83
+ [_e, _r, _ed],
84
+ [0, 0, 0],
85
+ ];
86
+ n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
87
+ exports.InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
88
+ n0_registry.registerError(exports.InvalidScopeException$, errors_1.InvalidScopeException);
89
+ exports.SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
90
+ n0_registry.registerError(exports.SlowDownException$, errors_1.SlowDownException);
91
+ exports.UnauthorizedClientException$ = [
92
+ -3,
93
+ n0,
94
+ _UCE,
95
+ { [_e]: _c, [_hE]: 400 },
96
+ [_e, _ed],
97
+ [0, 0],
98
+ ];
99
+ n0_registry.registerError(exports.UnauthorizedClientException$, errors_1.UnauthorizedClientException);
100
+ exports.UnsupportedGrantTypeException$ = [
101
+ -3,
102
+ n0,
103
+ _UGTE,
104
+ { [_e]: _c, [_hE]: 400 },
105
+ [_e, _ed],
106
+ [0, 0],
107
+ ];
108
+ n0_registry.registerError(exports.UnsupportedGrantTypeException$, errors_1.UnsupportedGrantTypeException);
109
+ exports.errorTypeRegistries = [_s_registry, n0_registry];
110
+ var AccessToken = [0, n0, _AT, 8, 0];
111
+ var ClientSecret = [0, n0, _CS, 8, 0];
112
+ var CodeVerifier = [0, n0, _CV, 8, 0];
113
+ var IdToken = [0, n0, _IT, 8, 0];
114
+ var RefreshToken = [0, n0, _RT, 8, 0];
115
+ exports.CreateTokenRequest$ = [
116
+ 3,
117
+ n0,
118
+ _CTR,
119
+ 0,
120
+ [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
121
+ [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
122
+ 3,
123
+ ];
124
+ exports.CreateTokenResponse$ = [
125
+ 3,
126
+ n0,
127
+ _CTRr,
128
+ 0,
129
+ [_aT, _tT, _eI, _rT, _iT],
130
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
131
+ ];
132
+ var Scopes = 64 | 0;
133
+ exports.CreateToken$ = [
134
+ 9,
135
+ n0,
136
+ _CT,
137
+ { [_h]: ["POST", "/token", 200] },
138
+ () => exports.CreateTokenRequest$,
139
+ () => exports.CreateTokenResponse$,
140
+ ];
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.STSClient = exports.__Client = void 0;
4
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const core_1 = require("@smithy/core");
10
+ const schema_1 = require("@smithy/core/schema");
11
+ const middleware_content_length_1 = require("@smithy/middleware-content-length");
12
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
13
+ const middleware_retry_1 = require("@smithy/middleware-retry");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
16
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
17
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
18
+ const runtimeConfig_1 = require("./runtimeConfig");
19
+ const runtimeExtensions_1 = require("./runtimeExtensions");
20
+ class STSClient extends smithy_client_1.Client {
21
+ config;
22
+ constructor(...[configuration]) {
23
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
24
+ super(_config_0);
25
+ this.initConfig = _config_0;
26
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
27
+ const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
28
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
29
+ const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
30
+ const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
31
+ const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
32
+ const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
33
+ const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
34
+ this.config = _config_8;
35
+ this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
36
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
37
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
38
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
39
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
40
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
41
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
42
+ this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
43
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,
44
+ identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
45
+ "aws.auth#sigv4": config.credentials,
46
+ }),
47
+ }));
48
+ this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
49
+ }
50
+ destroy() {
51
+ super.destroy();
52
+ }
53
+ }
54
+ exports.STSClient = STSClient;