@aws/lsp-codewhisperer 0.0.27 → 0.0.28

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 (553) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +59 -1
  3. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  4. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
  5. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  6. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
  7. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/package.json +6 -6
  8. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +9 -0
  9. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/index.js +193 -76
  10. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http-handler.js +39 -15
  11. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  12. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-handler.js +9 -1
  13. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/server.mock.js +9 -2
  14. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  15. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  16. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +22 -0
  17. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
  18. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  19. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/write-request-body.js +13 -9
  20. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  21. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +7 -0
  22. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +11 -0
  23. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +7 -0
  24. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  25. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  26. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
  27. package/node_modules/{@smithy/node-http-handler/dist-types → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4}/set-socket-keep-alive.d.ts +7 -6
  28. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
  29. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  30. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/package.json +10 -10
  31. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
  32. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
  33. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +53 -0
  34. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +53 -0
  35. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/package.json +6 -6
  36. package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
  37. package/out/client/token/bearer-token-service.json +1650 -96
  38. package/out/constants.d.ts +3 -0
  39. package/out/constants.js +4 -1
  40. package/out/constants.js.map +1 -1
  41. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.d.ts +38 -0
  42. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js +85 -0
  43. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js.map +1 -0
  44. package/out/language-server/chat/chatController.d.ts +1 -1
  45. package/out/language-server/chat/chatController.js +2 -2
  46. package/out/language-server/chat/chatController.js.map +1 -1
  47. package/out/language-server/codeWhispererServer.js +7 -32
  48. package/out/language-server/codeWhispererServer.js.map +1 -1
  49. package/out/language-server/codeWhispererService.d.ts +4 -0
  50. package/out/language-server/codeWhispererService.js +6 -0
  51. package/out/language-server/codeWhispererService.js.map +1 -1
  52. package/out/language-server/configuration/qConfigurationServer.d.ts +18 -1
  53. package/out/language-server/configuration/qConfigurationServer.js +107 -6
  54. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  55. package/out/language-server/dependencyGraph/commonUtil.d.ts +0 -1
  56. package/out/language-server/dependencyGraph/commonUtil.js +0 -11
  57. package/out/language-server/dependencyGraph/commonUtil.js.map +1 -1
  58. package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
  59. package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
  60. package/out/language-server/netTransform/transformHandler.d.ts +3 -2
  61. package/out/language-server/netTransform/transformHandler.js +7 -2
  62. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  63. package/out/language-server/netTransformServer.js +1 -1
  64. package/out/language-server/netTransformServer.js.map +1 -1
  65. package/out/language-server/telemetry/codeDiffTracker.js +15 -12
  66. package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
  67. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js +2 -2
  68. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js.map +1 -1
  69. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +2 -2
  70. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  71. package/out/language-server/utils.d.ts +1 -0
  72. package/out/language-server/utils.js +4 -0
  73. package/out/language-server/utils.js.map +1 -1
  74. package/package.json +8 -8
  75. package/node_modules/@smithy/node-http-handler/README.md +0 -4
  76. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -21
  77. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -8
  78. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -6
  79. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -14
  80. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
  81. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
  82. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  83. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  84. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  85. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -13
  86. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -13
  87. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -23
  88. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -23
  89. package/out/language-server/auto-trigger/autoTrigger.test.d.ts +0 -1
  90. package/out/language-server/auto-trigger/autoTrigger.test.js +0 -82
  91. package/out/language-server/auto-trigger/autoTrigger.test.js.map +0 -1
  92. package/out/language-server/chat/chatController.test.d.ts +0 -1
  93. package/out/language-server/chat/chatController.test.js +0 -709
  94. package/out/language-server/chat/chatController.test.js.map +0 -1
  95. package/out/language-server/chat/chatEventParser.test.d.ts +0 -1
  96. package/out/language-server/chat/chatEventParser.test.js +0 -239
  97. package/out/language-server/chat/chatEventParser.test.js.map +0 -1
  98. package/out/language-server/chat/chatSessionManagementService.test.d.ts +0 -1
  99. package/out/language-server/chat/chatSessionManagementService.test.js +0 -77
  100. package/out/language-server/chat/chatSessionManagementService.test.js.map +0 -1
  101. package/out/language-server/chat/chatSessionService.test.d.ts +0 -1
  102. package/out/language-server/chat/chatSessionService.test.js +0 -86
  103. package/out/language-server/chat/chatSessionService.test.js.map +0 -1
  104. package/out/language-server/chat/contexts/documentContext.test.d.ts +0 -1
  105. package/out/language-server/chat/contexts/documentContext.test.js +0 -117
  106. package/out/language-server/chat/contexts/documentContext.test.js.map +0 -1
  107. package/out/language-server/chat/contexts/triggerContexts.test.d.ts +0 -1
  108. package/out/language-server/chat/contexts/triggerContexts.test.js +0 -81
  109. package/out/language-server/chat/contexts/triggerContexts.test.js.map +0 -1
  110. package/out/language-server/chat/contexts/utils.test.d.ts +0 -1
  111. package/out/language-server/chat/contexts/utils.test.js +0 -72
  112. package/out/language-server/chat/contexts/utils.test.js.map +0 -1
  113. package/out/language-server/chat/telemetry/chatTelemetryController.test.d.ts +0 -1
  114. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +0 -195
  115. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +0 -1
  116. package/out/language-server/codeWhispererServer.test.d.ts +0 -1
  117. package/out/language-server/codeWhispererServer.test.js +0 -1377
  118. package/out/language-server/codeWhispererServer.test.js.map +0 -1
  119. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.d.ts +0 -1
  120. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +0 -483
  121. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +0 -1
  122. package/out/language-server/dependencyGraph/gitIgnoreFilter.d.ts +0 -7
  123. package/out/language-server/dependencyGraph/gitIgnoreFilter.js +0 -39
  124. package/out/language-server/dependencyGraph/gitIgnoreFilter.js.map +0 -1
  125. package/out/language-server/languageDetection.test.d.ts +0 -1
  126. package/out/language-server/languageDetection.test.js +0 -31
  127. package/out/language-server/languageDetection.test.js.map +0 -1
  128. package/out/language-server/mergeRightUtils.test.d.ts +0 -1
  129. package/out/language-server/mergeRightUtils.test.js +0 -53
  130. package/out/language-server/mergeRightUtils.test.js.map +0 -1
  131. package/out/language-server/netTransform/tests/converter.test.d.ts +0 -1
  132. package/out/language-server/netTransform/tests/converter.test.js +0 -108
  133. package/out/language-server/netTransform/tests/converter.test.js.map +0 -1
  134. package/out/language-server/netTransform/tests/transformHandler.test.d.ts +0 -1
  135. package/out/language-server/netTransform/tests/transformHandler.test.js +0 -252
  136. package/out/language-server/netTransform/tests/transformHandler.test.js.map +0 -1
  137. package/out/language-server/netTransform/tests/validation.test.d.ts +0 -1
  138. package/out/language-server/netTransform/tests/validation.test.js +0 -84
  139. package/out/language-server/netTransform/tests/validation.test.js.map +0 -1
  140. package/out/language-server/qChatServer.test.d.ts +0 -1
  141. package/out/language-server/qChatServer.test.js +0 -51
  142. package/out/language-server/qChatServer.test.js.map +0 -1
  143. package/out/language-server/securityScan/securityScanHandler.test.d.ts +0 -1
  144. package/out/language-server/securityScan/securityScanHandler.test.js +0 -171
  145. package/out/language-server/securityScan/securityScanHandler.test.js.map +0 -1
  146. package/out/language-server/session/sessionManager.test.d.ts +0 -1
  147. package/out/language-server/session/sessionManager.test.js +0 -588
  148. package/out/language-server/session/sessionManager.test.js.map +0 -1
  149. package/out/language-server/telemetry/codeDiffTracker.test.d.ts +0 -1
  150. package/out/language-server/telemetry/codeDiffTracker.test.js +0 -125
  151. package/out/language-server/telemetry/codeDiffTracker.test.js.map +0 -1
  152. package/out/language-server/telemetry/codePercentage.test.d.ts +0 -1
  153. package/out/language-server/telemetry/codePercentage.test.js +0 -214
  154. package/out/language-server/telemetry/codePercentage.test.js.map +0 -1
  155. package/out/language-server/telemetry/userTriggerDecision.test.d.ts +0 -1
  156. package/out/language-server/telemetry/userTriggerDecision.test.js +0 -1348
  157. package/out/language-server/telemetry/userTriggerDecision.test.js.map +0 -1
  158. package/out/language-server/telemetry.test.d.ts +0 -1
  159. package/out/language-server/telemetry.test.js +0 -98
  160. package/out/language-server/telemetry.test.js.map +0 -1
  161. package/out/language-server/telemetryService.test.d.ts +0 -1
  162. package/out/language-server/telemetryService.test.js +0 -771
  163. package/out/language-server/telemetryService.test.js.map +0 -1
  164. package/out/language-server/utilities/filesystemUtilities.d.ts +0 -8
  165. package/out/language-server/utilities/filesystemUtilities.js +0 -30
  166. package/out/language-server/utilities/filesystemUtilities.js.map +0 -1
  167. package/out/language-server/utilities/filesystemUtilities.test.d.ts +0 -1
  168. package/out/language-server/utilities/filesystemUtilities.test.js +0 -85
  169. package/out/language-server/utilities/filesystemUtilities.test.js.map +0 -1
  170. package/out/language-server/utilities/pathUtils.d.ts +0 -27
  171. package/out/language-server/utilities/pathUtils.js +0 -79
  172. package/out/language-server/utilities/pathUtils.js.map +0 -1
  173. package/out/language-server/utilities/pathUtils.test.d.ts +0 -1
  174. package/out/language-server/utilities/pathUtils.test.js +0 -43
  175. package/out/language-server/utilities/pathUtils.test.js.map +0 -1
  176. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.d.ts +0 -5
  177. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js +0 -49
  178. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js.map +0 -1
  179. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.d.ts +0 -1
  180. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js +0 -157
  181. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js.map +0 -1
  182. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.d.ts +0 -1
  183. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js +0 -88
  184. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +0 -1
  185. package/out/language-server/utilities/telemetryUtils.test.d.ts +0 -1
  186. package/out/language-server/utilities/telemetryUtils.test.js +0 -207
  187. package/out/language-server/utilities/telemetryUtils.test.js.map +0 -1
  188. package/out/language-server/utilities/textUtils.d.ts +0 -1
  189. package/out/language-server/utilities/textUtils.js +0 -12
  190. package/out/language-server/utilities/textUtils.js.map +0 -1
  191. package/out/language-server/utilities/textUtils.test.d.ts +0 -1
  192. package/out/language-server/utilities/textUtils.test.js +0 -21
  193. package/out/language-server/utilities/textUtils.test.js.map +0 -1
  194. package/out/language-server/utils.test.d.ts +0 -1
  195. package/out/language-server/utils.test.js +0 -152
  196. package/out/language-server/utils.test.js.map +0 -1
  197. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller}/LICENSE +0 -0
  198. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/README.md +0 -0
  199. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -0
  200. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -0
  201. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -0
  202. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -0
  203. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -0
  204. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/index.js +0 -0
  205. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -0
  206. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -0
  207. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/abort-controller → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler}/LICENSE +0 -0
  208. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/constants.js +0 -0
  209. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/get-transformed-headers.js +0 -0
  210. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http-handler.js +0 -0
  211. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -0
  212. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -0
  213. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-handler.js +0 -0
  214. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/readable.mock.js +0 -0
  215. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/server.mock.js +0 -0
  216. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-connection-timeout.js +0 -0
  217. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -0
  218. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-timeout.js +0 -0
  219. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/collector.js +0 -0
  220. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/index.js +0 -0
  221. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -0
  222. /package/node_modules/{@smithy/node-http-handler/dist-cjs/write-request-body.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
  223. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Field.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
  224. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/constants.js +0 -0
  225. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/get-transformed-headers.js +0 -0
  226. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/index.js +0 -0
  227. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-pool.js +0 -0
  228. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/readable.mock.js +0 -0
  229. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/collector.js +0 -0
  230. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -0
  231. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/constants.d.ts +0 -0
  232. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -0
  233. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/index.d.ts +0 -0
  234. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -0
  235. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -0
  236. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-handler.d.ts +0 -0
  237. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/readable.mock.d.ts +0 -0
  238. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/server.mock.d.ts +0 -0
  239. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -0
  240. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/index.d.ts +0 -0
  241. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -0
  242. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -0
  243. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -0
  244. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/index.d.ts +0 -0
  245. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -0
  246. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -0
  247. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -0
  248. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -0
  249. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -0
  250. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -0
  251. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -0
  252. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -0
  253. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -0
  254. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/write-request-body.d.ts +0 -0
  255. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/LICENSE +0 -0
  256. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/README.md +0 -0
  257. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js} +0 -0
  258. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js} +0 -0
  259. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
  260. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -0
  261. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
  262. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js} +0 -0
  263. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js} +0 -0
  264. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/types.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js} +0 -0
  265. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/abort.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js} +0 -0
  266. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Field.js +0 -0
  267. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Fields.js +0 -0
  268. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  269. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -0
  270. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +0 -0
  271. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +0 -0
  272. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/index.js +0 -0
  273. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +0 -0
  274. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/types.js +0 -0
  275. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -0
  276. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +0 -0
  277. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  278. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -0
  279. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -0
  280. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +0 -0
  281. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -0
  282. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +0 -0
  283. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
  284. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
  285. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
  286. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
  287. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
  288. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
  289. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
  290. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  291. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
  292. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/types.d.ts +0 -0
  293. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/LICENSE +0 -0
  294. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/README.md +0 -0
  295. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-cjs/index.js +0 -0
  296. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-es/index.js +0 -0
  297. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/index.d.ts +0 -0
  298. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
  299. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/package.json +0 -0
  300. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/LICENSE +0 -0
  301. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/README.md +0 -0
  302. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js → types/dist-cjs/abort.js} +0 -0
  303. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
  304. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
  305. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
  306. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpSigner.js +0 -0
  307. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
  308. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/auth.js +0 -0
  309. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/index.js +0 -0
  310. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
  311. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/client.js → types/dist-cjs/checksum.js} +0 -0
  312. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/command.js → types/dist-cjs/client.js} +0 -0
  313. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js → types/dist-cjs/command.js} +0 -0
  314. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/config.js +0 -0
  315. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/index.js +0 -0
  316. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/manager.js +0 -0
  317. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/pool.js +0 -0
  318. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js → types/dist-cjs/crypto.js} +0 -0
  319. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
  320. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js → types/dist-cjs/encode.js} +0 -0
  321. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js → types/dist-cjs/endpoint.js} +0 -0
  322. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
  323. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
  324. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
  325. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
  326. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/index.js +0 -0
  327. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/shared.js +0 -0
  328. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/http.js → types/dist-cjs/eventStream.js} +0 -0
  329. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/checksum.js +0 -0
  330. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
  331. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
  332. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/index.js +0 -0
  333. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/retry.js +0 -0
  334. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
  335. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
  336. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js → types/dist-cjs/http.js} +0 -0
  337. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
  338. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
  339. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/identity.js +0 -0
  340. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/index.js +0 -0
  341. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/tokenIdentity.js +0 -0
  342. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/index.js +0 -0
  343. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js → types/dist-cjs/logger.js} +0 -0
  344. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js → types/dist-cjs/middleware.js} +0 -0
  345. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js → types/dist-cjs/pagination.js} +0 -0
  346. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/response.js → types/dist-cjs/profile.js} +0 -0
  347. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js → types/dist-cjs/response.js} +0 -0
  348. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js → types/dist-cjs/retry.js} +0 -0
  349. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js → types/dist-cjs/serde.js} +0 -0
  350. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js → types/dist-cjs/shapes.js} +0 -0
  351. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js → types/dist-cjs/signature.js} +0 -0
  352. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js → types/dist-cjs/stream.js} +0 -0
  353. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
  354. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  355. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  356. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js → types/dist-cjs/transfer.js} +0 -0
  357. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-method-transforms.js +0 -0
  358. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
  359. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/exact.js +0 -0
  360. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/no-undefined.js +0 -0
  361. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/type-transform.js +0 -0
  362. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/util.js → types/dist-cjs/uri.js} +0 -0
  363. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js → types/dist-cjs/util.js} +0 -0
  364. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/abort.js +0 -0
  365. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
  366. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthScheme.js +0 -0
  367. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
  368. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpSigner.js +0 -0
  369. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/IdentityProviderConfig.js +0 -0
  370. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/auth.js +0 -0
  371. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/index.js +0 -0
  372. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/blob/blob-payload-input-types.js +0 -0
  373. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/checksum.js +0 -0
  374. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/client.js +0 -0
  375. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/command.js +0 -0
  376. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/config.js +0 -0
  377. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/index.js +0 -0
  378. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/manager.js +0 -0
  379. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/pool.js +0 -0
  380. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/crypto.js +0 -0
  381. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
  382. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/encode.js +0 -0
  383. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoint.js +0 -0
  384. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
  385. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
  386. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/RuleSetObject.js +0 -0
  387. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/TreeRuleObject.js +0 -0
  388. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/index.js +0 -0
  389. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/shared.js +0 -0
  390. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/eventStream.js +0 -0
  391. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/checksum.js +0 -0
  392. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
  393. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
  394. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/index.js +0 -0
  395. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/retry.js +0 -0
  396. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/externals-check/browser-externals-check.js +0 -0
  397. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http/httpHandlerInitialization.js +0 -0
  398. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http.js +0 -0
  399. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/apiKeyIdentity.js +0 -0
  400. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/awsCredentialIdentity.js +0 -0
  401. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/identity.js +0 -0
  402. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/index.js +0 -0
  403. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/tokenIdentity.js +0 -0
  404. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/index.js +0 -0
  405. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/logger.js +0 -0
  406. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/middleware.js +0 -0
  407. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/pagination.js +0 -0
  408. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/profile.js +0 -0
  409. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/response.js +0 -0
  410. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/retry.js +0 -0
  411. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/serde.js +0 -0
  412. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/shapes.js +0 -0
  413. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/signature.js +0 -0
  414. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/stream.js +0 -0
  415. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
  416. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  417. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  418. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transfer.js +0 -0
  419. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-method-transforms.js +0 -0
  420. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
  421. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/exact.js +0 -0
  422. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/no-undefined.js +0 -0
  423. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/type-transform.js +0 -0
  424. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/uri.js +0 -0
  425. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/util.js +0 -0
  426. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/waiter.js +0 -0
  427. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/abort.d.ts +0 -0
  428. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
  429. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
  430. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
  431. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpSigner.d.ts +0 -0
  432. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
  433. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/auth.d.ts +0 -0
  434. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/index.d.ts +0 -0
  435. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
  436. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/checksum.d.ts +0 -0
  437. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/client.d.ts +0 -0
  438. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/command.d.ts +0 -0
  439. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/config.d.ts +0 -0
  440. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/index.d.ts +0 -0
  441. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/manager.d.ts +0 -0
  442. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/pool.d.ts +0 -0
  443. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/crypto.d.ts +0 -0
  444. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  445. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/encode.d.ts +0 -0
  446. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoint.d.ts +0 -0
  447. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
  448. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
  449. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
  450. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
  451. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/index.d.ts +0 -0
  452. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/shared.d.ts +0 -0
  453. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/eventStream.d.ts +0 -0
  454. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/checksum.d.ts +0 -0
  455. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
  456. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
  457. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/index.d.ts +0 -0
  458. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/retry.d.ts +0 -0
  459. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
  460. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
  461. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http.d.ts +0 -0
  462. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
  463. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
  464. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/identity.d.ts +0 -0
  465. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/index.d.ts +0 -0
  466. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/tokenIdentity.d.ts +0 -0
  467. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/index.d.ts +0 -0
  468. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/logger.d.ts +0 -0
  469. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/middleware.d.ts +0 -0
  470. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/pagination.d.ts +0 -0
  471. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/profile.d.ts +0 -0
  472. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/response.d.ts +0 -0
  473. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/retry.d.ts +0 -0
  474. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/serde.d.ts +0 -0
  475. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/shapes.d.ts +0 -0
  476. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/signature.d.ts +0 -0
  477. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/stream.d.ts +0 -0
  478. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  479. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  480. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  481. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transfer.d.ts +0 -0
  482. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-method-transforms.d.ts +0 -0
  483. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
  484. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/exact.d.ts +0 -0
  485. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/no-undefined.d.ts +0 -0
  486. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/type-transform.d.ts +0 -0
  487. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/abort.d.ts +0 -0
  488. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
  489. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
  490. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
  491. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
  492. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
  493. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
  494. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/index.d.ts +0 -0
  495. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
  496. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/checksum.d.ts +0 -0
  497. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/client.d.ts +0 -0
  498. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/command.d.ts +0 -0
  499. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/config.d.ts +0 -0
  500. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/index.d.ts +0 -0
  501. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
  502. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
  503. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/crypto.d.ts +0 -0
  504. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  505. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/encode.d.ts +0 -0
  506. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoint.d.ts +0 -0
  507. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
  508. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
  509. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
  510. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
  511. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
  512. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
  513. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/eventStream.d.ts +0 -0
  514. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
  515. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
  516. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
  517. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
  518. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
  519. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
  520. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
  521. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http.d.ts +0 -0
  522. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
  523. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
  524. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
  525. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/index.d.ts +0 -0
  526. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
  527. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/index.d.ts +0 -0
  528. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/logger.d.ts +0 -0
  529. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/middleware.d.ts +0 -0
  530. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/pagination.d.ts +0 -0
  531. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/profile.d.ts +0 -0
  532. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/response.d.ts +0 -0
  533. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/retry.d.ts +0 -0
  534. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/serde.d.ts +0 -0
  535. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/shapes.d.ts +0 -0
  536. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/signature.d.ts +0 -0
  537. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/stream.d.ts +0 -0
  538. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  539. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  540. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  541. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transfer.d.ts +0 -0
  542. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
  543. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
  544. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
  545. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
  546. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
  547. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/uri.d.ts +0 -0
  548. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/util.d.ts +0 -0
  549. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/waiter.d.ts +0 -0
  550. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/uri.d.ts +0 -0
  551. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/util.d.ts +0 -0
  552. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/waiter.d.ts +0 -0
  553. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/package.json +0 -0
@@ -1,771 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const telemetryService_1 = require("./telemetryService");
4
- const ts_sinon_1 = require("ts-sinon");
5
- const constants_1 = require("./constants");
6
- const types_1 = require("./telemetry/types");
7
- class MockCredentialsProvider {
8
- mockIamCredentials;
9
- mockBearerCredentials;
10
- mockConnectionMetadata;
11
- hasCredentials(type) {
12
- if (type === 'iam') {
13
- return this.mockIamCredentials !== undefined;
14
- }
15
- else if (type === 'bearer') {
16
- return this.mockBearerCredentials !== undefined;
17
- }
18
- return false;
19
- }
20
- getCredentials(type) {
21
- if (type === 'iam') {
22
- return this.mockIamCredentials;
23
- }
24
- else if (type === 'bearer') {
25
- return this.mockBearerCredentials;
26
- }
27
- return undefined;
28
- }
29
- getConnectionMetadata() {
30
- return this.mockConnectionMetadata;
31
- }
32
- setConnectionMetadata(metadata) {
33
- this.mockConnectionMetadata = metadata;
34
- }
35
- }
36
- describe('TelemetryService', () => {
37
- let telemetry;
38
- let clock;
39
- let telemetryService;
40
- let mockCredentialsProvider;
41
- const mockAwsQRegion = 'mock-aws-q-region';
42
- const mockAwsQEndpointUrl = 'mock-aws-q-endpoint-url';
43
- const logging = {
44
- log: (message) => {
45
- console.log(message);
46
- },
47
- };
48
- const mockWorkspace = {};
49
- const mockSession = {
50
- codewhispererSessionId: 'test-session-id',
51
- responseContext: {
52
- requestId: 'test-request-id',
53
- codewhispererSessionId: 'test-session-id',
54
- },
55
- customizationArn: 'test-arn',
56
- language: 'tsx',
57
- suggestions: [
58
- {
59
- itemId: 'item-id-1',
60
- content: 'line1\nline2\nline3',
61
- references: [],
62
- },
63
- ],
64
- completionSessionResult: {
65
- 'item-id-1': {
66
- accepted: true,
67
- seen: true,
68
- discarded: false,
69
- },
70
- },
71
- acceptedSuggestionId: 'item-id-1',
72
- firstCompletionDisplayLatency: 100,
73
- timeToFirstRecommendation: 200,
74
- getAggregatedUserTriggerDecision: () => 'Accept',
75
- startPosition: {
76
- line: 12,
77
- character: 23,
78
- },
79
- };
80
- const mockSdkRuntimeConfigurator = Object.assign(
81
- // Default callable function for v3 clients
82
- (Ctor, current_config) => new Ctor({ ...current_config }),
83
- // Property for v2 clients
84
- {
85
- v2: (Ctor, current_config) => new Ctor({ ...current_config }),
86
- });
87
- beforeEach(() => {
88
- clock = ts_sinon_1.default.useFakeTimers({
89
- now: 1483228800000,
90
- });
91
- mockCredentialsProvider = new MockCredentialsProvider();
92
- telemetry = {
93
- emitMetric: ts_sinon_1.default.stub(),
94
- onClientTelemetry: ts_sinon_1.default.stub(),
95
- };
96
- });
97
- afterEach(() => {
98
- clock.restore();
99
- ts_sinon_1.default.restore();
100
- });
101
- it('updateUserContext updates the userContext property', () => {
102
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
103
- const mockUserContext = {
104
- clientId: 'aaaabbbbccccdddd',
105
- ideCategory: 'ECLIPSE',
106
- ideVersion: '1.1.1',
107
- operatingSystem: 'MAC',
108
- product: 'INLINE',
109
- };
110
- telemetryService.updateUserContext(mockUserContext);
111
- ts_sinon_1.default.assert.match(telemetryService.userContext, mockUserContext);
112
- });
113
- it('updateOptOutPreference updates the optOutPreference property', () => {
114
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
115
- const mockOptOutPreference = 'OPTIN';
116
- telemetryService.updateOptOutPreference(mockOptOutPreference);
117
- ts_sinon_1.default.assert.match(telemetryService.optOutPreference, mockOptOutPreference);
118
- });
119
- it('updateEnableTelemetryEventsToDestination updates the enableTelemetryEventsToDestination property', () => {
120
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
121
- telemetryService.updateEnableTelemetryEventsToDestination(true);
122
- ts_sinon_1.default.assert.match(telemetryService.enableTelemetryEventsToDestination, true);
123
- });
124
- it('getSuggestionState fetches the suggestion state from CodeWhispererSession', () => {
125
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
126
- const getSuggestionState = telemetryService.getSuggestionState.bind(telemetryService);
127
- let session = {
128
- getAggregatedUserTriggerDecision: () => {
129
- return 'Accept';
130
- },
131
- };
132
- ts_sinon_1.default.assert.match(getSuggestionState(session), 'ACCEPT');
133
- session = {
134
- getAggregatedUserTriggerDecision: () => {
135
- return 'Reject';
136
- },
137
- };
138
- ts_sinon_1.default.assert.match(getSuggestionState(session), 'REJECT');
139
- session = {
140
- getAggregatedUserTriggerDecision: () => {
141
- return 'Discard';
142
- },
143
- };
144
- ts_sinon_1.default.assert.match(getSuggestionState(session), 'DISCARD');
145
- session = {
146
- getAggregatedUserTriggerDecision: () => {
147
- return 'Empty';
148
- },
149
- };
150
- ts_sinon_1.default.assert.match(getSuggestionState(session), 'EMPTY');
151
- session = {
152
- getAggregatedUserTriggerDecision: () => {
153
- return undefined;
154
- },
155
- };
156
- ts_sinon_1.default.assert.match(getSuggestionState(session), 'EMPTY');
157
- });
158
- it('should not emit user trigger decision if login is invalid (IAM)', () => {
159
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
160
- const invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
161
- telemetryService.emitUserTriggerDecision(mockSession);
162
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
163
- });
164
- it('should not emit user trigger decision if login is BuilderID, but user chose OPTOUT option', () => {
165
- mockCredentialsProvider.setConnectionMetadata({
166
- sso: {
167
- startUrl: constants_1.BUILDER_ID_START_URL,
168
- },
169
- });
170
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
171
- const invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
172
- telemetryService.updateOptOutPreference('OPTOUT');
173
- telemetryService.emitUserTriggerDecision(mockSession);
174
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
175
- });
176
- it('should handle SSO connection type change at runtime', () => {
177
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
178
- const sendTelemetryEventStub = ts_sinon_1.default
179
- .stub(telemetryService, 'sendTelemetryEvent')
180
- .returns(Promise.resolve());
181
- telemetryService.updateOptOutPreference('OPTOUT'); // Disables telemetry for builderId startUrl
182
- mockCredentialsProvider.setConnectionMetadata({
183
- sso: {
184
- startUrl: 'https://some-random-test-idc-directory.awsapps.com',
185
- },
186
- });
187
- // Emitting event with IdC connection
188
- telemetryService.emitUserTriggerDecision(mockSession);
189
- ts_sinon_1.default.assert.calledOnce(sendTelemetryEventStub);
190
- // Switch to BuilderId connection
191
- mockCredentialsProvider.setConnectionMetadata({
192
- sso: {
193
- startUrl: constants_1.BUILDER_ID_START_URL,
194
- },
195
- });
196
- sendTelemetryEventStub.resetHistory();
197
- // Should not emit event anymore with BuilderId
198
- telemetryService.emitUserTriggerDecision(mockSession);
199
- ts_sinon_1.default.assert.notCalled(sendTelemetryEventStub);
200
- });
201
- it('should emit userTriggerDecision event to STE and to the destination', () => {
202
- const expectedUserTriggerDecisionEvent = {
203
- telemetryEvent: {
204
- userTriggerDecisionEvent: {
205
- sessionId: 'test-session-id',
206
- requestId: 'test-request-id',
207
- customizationArn: 'test-arn',
208
- programmingLanguage: { languageName: 'typescript' },
209
- completionType: 'BLOCK',
210
- suggestionState: 'ACCEPT',
211
- recommendationLatencyMilliseconds: 100,
212
- timestamp: new Date(Date.now()),
213
- triggerToResponseLatencyMilliseconds: 200,
214
- suggestionReferenceCount: 0,
215
- generatedLine: 3,
216
- numberOfRecommendations: 1,
217
- perceivedLatencyMilliseconds: undefined,
218
- acceptedCharacterCount: 17,
219
- },
220
- },
221
- optOutPreference: 'OPTIN',
222
- };
223
- mockCredentialsProvider.setConnectionMetadata({
224
- sso: {
225
- startUrl: 'idc-start-url',
226
- },
227
- });
228
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
229
- telemetryService.updateEnableTelemetryEventsToDestination(true);
230
- const invokeSendTelemetryEventStub = ts_sinon_1.default
231
- .stub(telemetryService, 'sendTelemetryEvent')
232
- .returns(Promise.resolve());
233
- telemetryService.updateOptOutPreference('OPTIN');
234
- telemetryService.emitUserTriggerDecision(mockSession);
235
- ts_sinon_1.default.assert.calledOnceWithExactly(invokeSendTelemetryEventStub, expectedUserTriggerDecisionEvent);
236
- ts_sinon_1.default.assert.calledOnceWithExactly(telemetry.emitMetric, {
237
- name: 'codewhisperer_userTriggerDecision',
238
- data: {
239
- codewhispererSessionId: 'test-session-id',
240
- codewhispererFirstRequestId: 'test-request-id',
241
- credentialStartUrl: undefined,
242
- codewhispererSuggestionState: 'Accept',
243
- codewhispererCompletionType: 'Block',
244
- codewhispererLanguage: 'tsx',
245
- codewhispererTriggerType: undefined,
246
- codewhispererAutomatedTriggerType: undefined,
247
- codewhispererTriggerCharacter: undefined,
248
- codewhispererLineNumber: 12,
249
- codewhispererCursorOffset: 23,
250
- codewhispererSuggestionCount: 1,
251
- codewhispererClassifierResult: undefined,
252
- codewhispererClassifierThreshold: undefined,
253
- codewhispererTotalShownTime: 0,
254
- codewhispererTypeaheadLength: 0,
255
- codewhispererTimeSinceLastDocumentChange: undefined,
256
- codewhispererTimeSinceLastUserDecision: undefined,
257
- codewhispererTimeToFirstRecommendation: 200,
258
- codewhispererPreviousSuggestionState: undefined,
259
- codewhispererSupplementalContextTimeout: undefined,
260
- codewhispererSupplementalContextIsUtg: undefined,
261
- codewhispererSupplementalContextLength: undefined,
262
- codewhispererCustomizationArn: 'test-arn',
263
- },
264
- });
265
- });
266
- it('should not emit userTriggerDecision event to destination when enableTelemetryEventsToDestination is disabled', () => {
267
- mockCredentialsProvider.setConnectionMetadata({
268
- sso: {
269
- startUrl: constants_1.BUILDER_ID_START_URL,
270
- },
271
- });
272
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
273
- telemetryService.updateEnableTelemetryEventsToDestination(false);
274
- telemetryService.updateOptOutPreference('OPTOUT');
275
- telemetryService.emitUserTriggerDecision(mockSession);
276
- ts_sinon_1.default.assert.neverCalledWithMatch(telemetry.emitMetric, {
277
- name: 'codewhisperer_userTriggerDecision',
278
- });
279
- });
280
- describe('Chat interact with message', () => {
281
- let telemetryService;
282
- let mockCredentialsProvider;
283
- let invokeSendTelemetryEventStub;
284
- beforeEach(() => {
285
- mockCredentialsProvider = new MockCredentialsProvider();
286
- mockCredentialsProvider.setConnectionMetadata({
287
- sso: {
288
- startUrl: 'idc-start-url',
289
- },
290
- });
291
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
292
- invokeSendTelemetryEventStub = ts_sinon_1.default
293
- .stub(telemetryService, 'sendTelemetryEvent')
294
- .returns(Promise.resolve());
295
- });
296
- afterEach(() => {
297
- ts_sinon_1.default.restore();
298
- });
299
- it('should send InteractWithMessage event with correct parameters and emit metric to destination', () => {
300
- const metric = {
301
- cwsprChatMessageId: 'message123',
302
- codewhispererCustomizationArn: 'arn:123',
303
- cwsprChatInteractionType: types_1.ChatInteractionType.InsertAtCursor,
304
- cwsprChatInteractionTarget: 'CODE',
305
- cwsprChatAcceptedCharactersLength: 100,
306
- };
307
- const conversationId = 'conv123';
308
- const acceptedLineCount = 5;
309
- telemetryService.updateEnableTelemetryEventsToDestination(true);
310
- telemetryService.emitChatInteractWithMessage(metric, {
311
- conversationId,
312
- acceptedLineCount,
313
- });
314
- const expectedEvent = {
315
- telemetryEvent: {
316
- chatInteractWithMessageEvent: {
317
- conversationId: conversationId,
318
- messageId: metric.cwsprChatMessageId,
319
- customizationArn: 'arn:123',
320
- interactionType: 'INSERT_AT_CURSOR',
321
- interactionTarget: metric.cwsprChatInteractionTarget,
322
- acceptedCharacterCount: metric.cwsprChatAcceptedCharactersLength,
323
- acceptedLineCount: acceptedLineCount,
324
- acceptedSnippetHasReference: false,
325
- hasProjectLevelContext: false,
326
- },
327
- },
328
- };
329
- ts_sinon_1.default.assert.calledOnceWithExactly(invokeSendTelemetryEventStub, expectedEvent);
330
- ts_sinon_1.default.assert.calledOnceWithExactly(telemetry.emitMetric, {
331
- name: 'amazonq_interactWithMessage',
332
- data: {
333
- cwsprChatMessageId: 'message123',
334
- codewhispererCustomizationArn: 'arn:123',
335
- cwsprChatInteractionType: 'insertAtCursor',
336
- cwsprChatInteractionTarget: 'CODE',
337
- cwsprChatAcceptedCharactersLength: 100,
338
- cwsprChatConversationId: 'conv123',
339
- credentialStartUrl: 'idc-start-url',
340
- },
341
- });
342
- });
343
- it('should not send InteractWithMessage event to destination when enableTelemetryEventsToDestination flag is disabled', () => {
344
- const metric = {
345
- cwsprChatMessageId: 'message123',
346
- codewhispererCustomizationArn: 'arn:123',
347
- cwsprChatInteractionType: types_1.ChatInteractionType.InsertAtCursor,
348
- cwsprChatInteractionTarget: 'CODE',
349
- cwsprChatAcceptedCharactersLength: 100,
350
- };
351
- const conversationId = 'conv123';
352
- const acceptedLineCount = 5;
353
- mockCredentialsProvider.setConnectionMetadata({
354
- sso: {
355
- startUrl: constants_1.BUILDER_ID_START_URL,
356
- },
357
- });
358
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
359
- telemetryService.updateEnableTelemetryEventsToDestination(false);
360
- telemetryService.updateOptOutPreference('OPTOUT');
361
- telemetryService.emitChatInteractWithMessage(metric, {
362
- conversationId,
363
- acceptedLineCount,
364
- });
365
- ts_sinon_1.default.assert.neverCalledWithMatch(telemetry.emitMetric, {
366
- name: 'amazonq_interactWithMessage',
367
- });
368
- });
369
- it('should not send InteractWithMessage when conversationId is undefined', () => {
370
- const metric = {
371
- cwsprChatMessageId: 'message123',
372
- codewhispererCustomizationArn: 'arn:123',
373
- cwsprChatInteractionType: types_1.ChatInteractionType.InsertAtCursor,
374
- cwsprChatInteractionTarget: 'CODE',
375
- cwsprChatAcceptedCharactersLength: 100,
376
- };
377
- telemetryService.emitChatInteractWithMessage(metric, {
378
- acceptedLineCount: 5,
379
- });
380
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
381
- });
382
- it('should not send InteractWithMessage when credentialsType is IAM', () => {
383
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
384
- invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
385
- const metric = {
386
- cwsprChatMessageId: 'message123',
387
- codewhispererCustomizationArn: 'arn:123',
388
- cwsprChatInteractionType: types_1.ChatInteractionType.InsertAtCursor,
389
- cwsprChatInteractionTarget: 'CODE',
390
- cwsprChatAcceptedCharactersLength: 100,
391
- };
392
- telemetryService.emitChatInteractWithMessage(metric, {
393
- conversationId: 'conv123',
394
- acceptedLineCount: 5,
395
- });
396
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
397
- });
398
- it('should not send InteractWithMessage when login is BuilderID, but user chose OPTOUT option', () => {
399
- mockCredentialsProvider.setConnectionMetadata({
400
- sso: {
401
- startUrl: constants_1.BUILDER_ID_START_URL,
402
- },
403
- });
404
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
405
- invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
406
- telemetryService.updateOptOutPreference('OPTOUT');
407
- const metric = {
408
- cwsprChatMessageId: 'message123',
409
- codewhispererCustomizationArn: 'arn:123',
410
- cwsprChatInteractionType: types_1.ChatInteractionType.InsertAtCursor,
411
- cwsprChatInteractionTarget: 'CODE',
412
- cwsprChatAcceptedCharactersLength: 100,
413
- };
414
- telemetryService.emitChatInteractWithMessage(metric, {
415
- conversationId: 'conv123',
416
- acceptedLineCount: 5,
417
- });
418
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
419
- });
420
- it('should send InteractWithMessage but with optional acceptedLineCount parameter', () => {
421
- const metric = {
422
- cwsprChatMessageId: 'message123',
423
- codewhispererCustomizationArn: 'arn:123',
424
- cwsprChatInteractionType: types_1.ChatInteractionType.InsertAtCursor,
425
- cwsprChatInteractionTarget: 'CODE',
426
- cwsprChatAcceptedCharactersLength: 100,
427
- };
428
- const conversationId = 'conv123';
429
- telemetryService.emitChatInteractWithMessage(metric, {
430
- conversationId,
431
- acceptedLineCount: undefined,
432
- });
433
- ts_sinon_1.default.assert.calledWithExactly(invokeSendTelemetryEventStub, {
434
- telemetryEvent: {
435
- chatInteractWithMessageEvent: {
436
- conversationId: 'conv123',
437
- messageId: 'message123',
438
- customizationArn: 'arn:123',
439
- interactionType: 'INSERT_AT_CURSOR',
440
- interactionTarget: 'CODE',
441
- acceptedCharacterCount: 100,
442
- acceptedLineCount: undefined, // Should be undefined
443
- acceptedSnippetHasReference: false,
444
- hasProjectLevelContext: false,
445
- },
446
- },
447
- });
448
- });
449
- });
450
- it('should emit CodeCoverageEvent event to STE and to the destination', () => {
451
- const expectedEvent = {
452
- telemetryEvent: {
453
- codeCoverageEvent: {
454
- customizationArn: 'test-arn',
455
- programmingLanguage: { languageName: 'typescript' },
456
- acceptedCharacterCount: 123,
457
- totalCharacterCount: 456,
458
- timestamp: new Date(Date.now()),
459
- },
460
- },
461
- optOutPreference: 'OPTIN',
462
- };
463
- mockCredentialsProvider.setConnectionMetadata({
464
- sso: {
465
- startUrl: 'idc-start-url',
466
- },
467
- });
468
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
469
- const invokeSendTelemetryEventStub = ts_sinon_1.default
470
- .stub(telemetryService, 'sendTelemetryEvent')
471
- .returns(Promise.resolve());
472
- telemetryService.updateOptOutPreference('OPTIN');
473
- telemetryService.updateEnableTelemetryEventsToDestination(true);
474
- telemetryService.emitCodeCoverageEvent({
475
- languageId: 'typescript',
476
- customizationArn: 'test-arn',
477
- acceptedCharacterCount: 123,
478
- totalCharacterCount: 456,
479
- }, {
480
- percentage: 50,
481
- successCount: 1,
482
- });
483
- ts_sinon_1.default.assert.calledOnceWithExactly(invokeSendTelemetryEventStub, expectedEvent);
484
- ts_sinon_1.default.assert.calledOnceWithExactly(telemetry.emitMetric, {
485
- name: 'codewhisperer_codePercentage',
486
- data: {
487
- codewhispererTotalTokens: 456,
488
- codewhispererLanguage: 'typescript',
489
- codewhispererSuggestedTokens: 123,
490
- codewhispererPercentage: 50,
491
- successCount: 1,
492
- },
493
- });
494
- });
495
- it('should not emit CodeCoverageEvent event to destination when enableTelemetryEventsToDestination flag is disabled', () => {
496
- mockCredentialsProvider.setConnectionMetadata({
497
- sso: {
498
- startUrl: constants_1.BUILDER_ID_START_URL,
499
- },
500
- });
501
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
502
- telemetryService.updateOptOutPreference('OPTOUT');
503
- telemetryService.updateEnableTelemetryEventsToDestination(false);
504
- telemetryService.emitCodeCoverageEvent({
505
- languageId: 'typescript',
506
- customizationArn: 'test-arn',
507
- acceptedCharacterCount: 123,
508
- totalCharacterCount: 456,
509
- }, {
510
- percentage: 50,
511
- successCount: 1,
512
- });
513
- ts_sinon_1.default.assert.neverCalledWithMatch(telemetry.emitMetric, {
514
- name: 'codewhisperer_codePercentage',
515
- });
516
- });
517
- it('should emit userModificationEvent event', () => {
518
- mockCredentialsProvider.setConnectionMetadata({
519
- sso: {
520
- startUrl: 'idc-start-url',
521
- },
522
- });
523
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
524
- const invokeSendTelemetryEventStub = ts_sinon_1.default
525
- .stub(telemetryService, 'sendTelemetryEvent')
526
- .returns(Promise.resolve());
527
- telemetryService.updateOptOutPreference('OPTIN');
528
- telemetryService.emitUserModificationEvent({
529
- sessionId: 'test-session-id',
530
- requestId: 'test-request-id',
531
- languageId: 'typescript',
532
- customizationArn: 'test-arn',
533
- timestamp: new Date(),
534
- modificationPercentage: 0.2,
535
- acceptedCharacterCount: 100,
536
- unmodifiedAcceptedCharacterCount: 80,
537
- });
538
- const expectedEvent = {
539
- telemetryEvent: {
540
- userModificationEvent: {
541
- sessionId: 'test-session-id',
542
- requestId: 'test-request-id',
543
- programmingLanguage: {
544
- languageName: 'typescript',
545
- },
546
- modificationPercentage: 0.2,
547
- customizationArn: 'test-arn',
548
- timestamp: new Date(),
549
- acceptedCharacterCount: 100,
550
- unmodifiedAcceptedCharacterCount: 80,
551
- },
552
- },
553
- optOutPreference: 'OPTIN',
554
- };
555
- ts_sinon_1.default.assert.calledOnceWithExactly(invokeSendTelemetryEventStub, expectedEvent);
556
- });
557
- it('should emit chatUserModificationEvent event including emitting event to destination', () => {
558
- mockCredentialsProvider.setConnectionMetadata({
559
- sso: {
560
- startUrl: 'idc-start-url',
561
- },
562
- });
563
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
564
- telemetryService.updateEnableTelemetryEventsToDestination(true);
565
- const invokeSendTelemetryEventStub = ts_sinon_1.default
566
- .stub(telemetryService, 'sendTelemetryEvent')
567
- .returns(Promise.resolve());
568
- telemetryService.updateOptOutPreference('OPTIN');
569
- telemetryService.emitChatUserModificationEvent({
570
- conversationId: 'test-conversation-id',
571
- messageId: 'test-message-id',
572
- customizationArn: 'test-arn',
573
- modificationPercentage: 0.2,
574
- });
575
- const expectedEvent = {
576
- telemetryEvent: {
577
- chatUserModificationEvent: {
578
- conversationId: 'test-conversation-id',
579
- messageId: 'test-message-id',
580
- customizationArn: 'test-arn',
581
- modificationPercentage: 0.2,
582
- },
583
- },
584
- optOutPreference: 'OPTIN',
585
- };
586
- ts_sinon_1.default.assert.calledOnceWithExactly(invokeSendTelemetryEventStub, expectedEvent);
587
- ts_sinon_1.default.assert.calledOnceWithExactly(telemetry.emitMetric, {
588
- name: 'amazonq_modifyCode',
589
- data: {
590
- cwsprChatConversationId: 'test-conversation-id',
591
- cwsprChatMessageId: 'test-message-id',
592
- cwsprChatModificationPercentage: 0.2,
593
- codewhispererCustomizationArn: 'test-arn',
594
- credentialStartUrl: 'idc-start-url',
595
- },
596
- });
597
- });
598
- it('should not emit chatUserModificationEvent event to destination when enableTelemetryEventsToDestination flag is disabled', () => {
599
- mockCredentialsProvider.setConnectionMetadata({
600
- sso: {
601
- startUrl: constants_1.BUILDER_ID_START_URL,
602
- },
603
- });
604
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
605
- telemetryService.updateEnableTelemetryEventsToDestination(false);
606
- telemetryService.updateOptOutPreference('OPTOUT');
607
- telemetryService.emitChatUserModificationEvent({
608
- conversationId: 'test-conversation-id',
609
- messageId: 'test-message-id',
610
- customizationArn: 'test-arn',
611
- modificationPercentage: 0.2,
612
- });
613
- ts_sinon_1.default.assert.neverCalledWithMatch(telemetry.emitMetric, {
614
- name: 'amazonq_modifyCode',
615
- });
616
- });
617
- describe('Chat add message', () => {
618
- let telemetryService;
619
- let mockCredentialsProvider;
620
- let invokeSendTelemetryEventStub;
621
- beforeEach(() => {
622
- mockCredentialsProvider = new MockCredentialsProvider();
623
- mockCredentialsProvider.setConnectionMetadata({
624
- sso: {
625
- startUrl: 'idc-start-url',
626
- },
627
- });
628
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
629
- invokeSendTelemetryEventStub = ts_sinon_1.default
630
- .stub(telemetryService, 'sendTelemetryEvent')
631
- .returns(Promise.resolve());
632
- });
633
- afterEach(() => {
634
- ts_sinon_1.default.restore();
635
- });
636
- it('should send ChatAddMessage event with correct parameters and emit metric to destination', () => {
637
- telemetryService.updateEnableTelemetryEventsToDestination(true);
638
- telemetryService.emitChatAddMessage({
639
- conversationId: 'conv123',
640
- messageId: 'message123',
641
- customizationArn: 'cust-123',
642
- programmingLanguage: 'jsx',
643
- userIntent: 'SUGGEST_ALTERNATE_IMPLEMENTATION',
644
- hasCodeSnippet: false,
645
- timeToFirstChunkMilliseconds: 100,
646
- activeEditorTotalCharacters: 250,
647
- fullResponselatency: 400,
648
- requestLength: 100,
649
- responseLength: 3000,
650
- numberOfCodeBlocks: 0,
651
- }, {});
652
- const expectedEvent = {
653
- telemetryEvent: {
654
- chatAddMessageEvent: {
655
- conversationId: 'conv123',
656
- messageId: 'message123',
657
- customizationArn: 'cust-123',
658
- userIntent: 'SUGGEST_ALTERNATE_IMPLEMENTATION',
659
- hasCodeSnippet: false,
660
- programmingLanguage: {
661
- languageName: 'javascript',
662
- },
663
- activeEditorTotalCharacters: 250,
664
- timeToFirstChunkMilliseconds: 100,
665
- timeBetweenChunks: undefined,
666
- fullResponselatency: 400,
667
- requestLength: 100,
668
- responseLength: 3000,
669
- numberOfCodeBlocks: 0,
670
- hasProjectLevelContext: false,
671
- },
672
- },
673
- };
674
- ts_sinon_1.default.assert.calledOnceWithExactly(invokeSendTelemetryEventStub, expectedEvent);
675
- ts_sinon_1.default.assert.calledOnceWithExactly(telemetry.emitMetric, {
676
- name: 'amazonq_addMessage',
677
- data: {
678
- credentialStartUrl: 'idc-start-url',
679
- cwsprChatConversationId: 'conv123',
680
- cwsprChatHasCodeSnippet: false,
681
- cwsprChatTriggerInteraction: undefined,
682
- cwsprChatMessageId: 'message123',
683
- cwsprChatUserIntent: 'SUGGEST_ALTERNATE_IMPLEMENTATION',
684
- cwsprChatProgrammingLanguage: 'jsx',
685
- cwsprChatResponseCodeSnippetCount: 0,
686
- cwsprChatResponseCode: undefined,
687
- cwsprChatSourceLinkCount: undefined,
688
- cwsprChatReferencesCount: undefined,
689
- cwsprChatFollowUpCount: undefined,
690
- cwsprTimeToFirstChunk: 100,
691
- cwsprChatFullResponseLatency: 400,
692
- cwsprChatTimeBetweenChunks: undefined,
693
- cwsprChatRequestLength: 100,
694
- cwsprChatResponseLength: 3000,
695
- cwsprChatConversationType: undefined,
696
- cwsprChatActiveEditorTotalCharacters: 250,
697
- cwsprChatActiveEditorImportCount: undefined,
698
- codewhispererCustomizationArn: 'cust-123',
699
- },
700
- });
701
- });
702
- it('should not send ChatAddMessage event to destination when enableTelemetryEventsToDestination flag is disabled', () => {
703
- mockCredentialsProvider.setConnectionMetadata({
704
- sso: {
705
- startUrl: constants_1.BUILDER_ID_START_URL,
706
- },
707
- });
708
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', {}, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
709
- telemetryService.updateOptOutPreference('OPTOUT');
710
- telemetryService.updateEnableTelemetryEventsToDestination(false);
711
- telemetryService.emitChatAddMessage({
712
- conversationId: 'conv123',
713
- messageId: 'message123',
714
- customizationArn: 'cust-123',
715
- programmingLanguage: 'jsx',
716
- userIntent: 'SUGGEST_ALTERNATE_IMPLEMENTATION',
717
- hasCodeSnippet: false,
718
- timeToFirstChunkMilliseconds: 100,
719
- activeEditorTotalCharacters: 250,
720
- fullResponselatency: 400,
721
- requestLength: 100,
722
- responseLength: 3000,
723
- numberOfCodeBlocks: 0,
724
- }, {});
725
- ts_sinon_1.default.assert.neverCalledWithMatch(telemetry.emitMetric, {
726
- name: 'amazonq_addMessage',
727
- });
728
- });
729
- it('should not send ChatAddMessage when conversationId is undefined', () => {
730
- telemetryService.emitChatAddMessage({
731
- messageId: 'message123',
732
- customizationArn: 'cust-123',
733
- }, {});
734
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
735
- });
736
- it('should not send ChatAddMessage when messageId is undefined', () => {
737
- telemetryService.emitChatAddMessage({
738
- conversationId: 'conv123',
739
- customizationArn: 'cust-123',
740
- }, {});
741
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
742
- });
743
- it('should not send ChatAddMessage when credentialsType is IAM', () => {
744
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'iam', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
745
- invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
746
- telemetryService.emitChatAddMessage({
747
- conversationId: 'conv123',
748
- messageId: 'message123',
749
- customizationArn: 'cust-123',
750
- }, {});
751
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
752
- });
753
- it('should not send ChatAddMessage when login is BuilderID, but user chose OPTOUT option', () => {
754
- mockCredentialsProvider.setConnectionMetadata({
755
- sso: {
756
- startUrl: constants_1.BUILDER_ID_START_URL,
757
- },
758
- });
759
- telemetryService = new telemetryService_1.TelemetryService(mockCredentialsProvider, 'bearer', telemetry, logging, mockWorkspace, mockAwsQRegion, mockAwsQEndpointUrl, mockSdkRuntimeConfigurator);
760
- invokeSendTelemetryEventStub = ts_sinon_1.default.stub(telemetryService, 'sendTelemetryEvent');
761
- telemetryService.updateOptOutPreference('OPTOUT');
762
- telemetryService.emitChatAddMessage({
763
- conversationId: 'conv123',
764
- messageId: 'message123',
765
- customizationArn: 'cust-123',
766
- }, {});
767
- ts_sinon_1.default.assert.notCalled(invokeSendTelemetryEventStub);
768
- });
769
- });
770
- });
771
- //# sourceMappingURL=telemetryService.test.js.map