cloudstructs 0.12.8 → 0.12.10

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 (1244) hide show
  1. package/.jsii +6 -6
  2. package/API.md +308 -0
  3. package/assets/slack-textract/detect.lambda/index.js +1107 -1006
  4. package/assets/ssl-server-test/analyze.lambda/index.js +103 -68
  5. package/assets/toolkit-cleaner/clean.lambda/index.js +103 -68
  6. package/lib/codecommit-mirror/index.js +2 -2
  7. package/lib/dmarc/index.js +1 -1
  8. package/lib/ecs-service-roller/index.js +2 -2
  9. package/lib/email-receiver/receiver.js +1 -1
  10. package/lib/mjml-template/index.js +1 -1
  11. package/lib/saml-identity-provider/index.js +2 -2
  12. package/lib/slack-app/manifest.js +1 -1
  13. package/lib/slack-app/slack-app.js +2 -2
  14. package/lib/slack-events/index.js +1 -1
  15. package/lib/slack-textract/index.js +1 -1
  16. package/lib/ssl-server-test/index.js +1 -1
  17. package/lib/state-machine-cr-provider/index.js +1 -1
  18. package/lib/static-website/index.js +1 -1
  19. package/lib/toolkit-cleaner/index.js +1 -1
  20. package/lib/url-shortener/index.js +1 -1
  21. package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
  22. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +192 -70
  23. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
  24. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +192 -70
  25. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
  26. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts +5 -2
  27. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts.map +1 -1
  28. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts +2 -0
  29. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts.map +1 -0
  30. package/node_modules/@aws/durable-execution-sdk-js/dist-types/durable-execution-api-client/durable-execution-api-client.d.ts.map +1 -1
  31. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/batch-result.d.ts.map +1 -1
  32. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
  33. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/invoke-handler/invoke-handler.d.ts.map +1 -1
  34. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
  35. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
  36. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts +9 -0
  37. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts.map +1 -1
  38. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts +2 -0
  39. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts.map +1 -1
  40. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
  41. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
  42. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -1
  43. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
  44. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts +12 -0
  45. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts.map +1 -1
  46. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts +14 -0
  47. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts.map +1 -0
  48. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/logger/default-logger.d.ts.map +1 -1
  49. package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
  50. package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
  51. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
  52. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
  53. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
  54. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  55. package/node_modules/@aws-sdk/client-lambda/README.md +26 -46
  56. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +294 -3996
  57. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
  58. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
  59. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
  60. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
  61. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
  62. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
  63. package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
  64. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
  65. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
  66. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
  67. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
  68. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
  69. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  70. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
  72. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
  73. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
  74. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +30 -3
  75. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
  76. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
  77. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
  78. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
  79. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
  80. package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
  81. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  82. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -69
  83. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +45 -69
  84. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
  87. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
  88. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +3 -10
  89. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  90. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  91. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +4 -0
  92. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  93. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
  94. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
  95. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
  96. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
  97. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  98. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
  99. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  100. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  101. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  102. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  103. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
  104. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
  105. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  106. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
  107. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +7 -0
  108. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  109. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  110. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
  111. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
  112. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
  113. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
  114. package/node_modules/@aws-sdk/core/package.json +16 -16
  115. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
  116. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  117. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
  118. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  119. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
  120. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  121. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  122. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  123. package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
  124. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
  125. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  126. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
  127. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
  128. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  129. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
  130. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
  131. package/node_modules/@aws-sdk/credential-provider-ini/package.json +17 -17
  132. package/node_modules/@aws-sdk/credential-provider-login/package.json +11 -11
  133. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  134. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
  135. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
  136. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  137. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  138. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
  139. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
  140. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  141. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
  142. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
  143. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
  144. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  145. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
  146. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
  147. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
  148. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
  149. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
  150. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
  151. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
  152. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
  153. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
  154. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
  155. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
  156. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
  157. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
  158. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -10
  159. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
  160. package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -7
  161. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  162. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
  163. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
  164. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
  165. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
  166. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
  167. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
  168. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -7
  169. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
  170. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
  171. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
  172. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
  173. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
  174. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
  175. package/node_modules/@aws-sdk/middleware-user-agent/package.json +11 -10
  176. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
  177. package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
  183. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  184. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
  185. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
  188. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +27 -206
  189. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  193. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
  194. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  199. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
  202. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +2 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  204. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  205. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +27 -355
  206. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  207. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  208. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
  211. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +33 -314
  212. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
  215. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
  219. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
  220. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
  221. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
  227. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  228. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
  235. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
  237. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
  238. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
  239. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
  240. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
  241. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
  244. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
  245. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js +1 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
  249. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +2 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  253. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  254. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  255. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
  257. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  258. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  259. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
  260. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
  261. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
  262. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  263. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
  274. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
  275. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
  279. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
  280. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
  281. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
  282. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
  283. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  284. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
  285. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  286. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  287. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
  288. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  289. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
  290. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSO.d.ts +1 -22
  291. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
  292. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  293. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
  294. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
  297. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  298. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
  299. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
  300. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
  301. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +11 -14
  302. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  303. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
  304. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  305. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  306. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
  307. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  308. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
  309. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  310. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
  311. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  312. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
  313. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  314. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
  315. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
  316. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
  317. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  318. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
  319. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  320. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
  321. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
  322. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
  323. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
  324. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  325. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
  326. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
  327. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
  328. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
  329. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
  330. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
  331. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
  332. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
  333. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
  334. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
  335. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
  336. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  337. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
  338. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
  339. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
  340. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  341. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
  342. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
  343. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
  344. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  345. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
  346. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
  347. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +6 -14
  348. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
  349. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  350. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
  351. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
  352. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  353. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  354. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
  355. package/node_modules/@aws-sdk/nested-clients/package.json +57 -37
  356. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
  357. package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
  358. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
  359. package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  360. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  361. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  362. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
  363. package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
  364. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
  365. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
  366. package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
  367. package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
  368. package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
  369. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  370. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
  371. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  372. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
  373. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
  374. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
  375. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
  376. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
  377. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
  378. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  379. package/node_modules/@aws-sdk/types/package.json +5 -5
  380. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -12
  381. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  382. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
  383. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
  384. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  385. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  386. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
  387. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
  388. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +6 -6
  389. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +133 -6
  390. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +10 -3
  391. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  392. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +10 -0
  393. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  394. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
  395. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +75 -0
  396. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +1 -1
  397. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
  398. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +6 -0
  399. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  400. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
  401. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
  402. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
  403. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
  404. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  405. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +2 -0
  406. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  407. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
  408. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
  409. package/node_modules/@aws-sdk/util-user-agent-node/package.json +12 -9
  410. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
  411. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
  412. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
  413. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
  414. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
  415. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +52 -0
  416. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
  417. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  418. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  419. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  420. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +96 -13
  421. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  422. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  423. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  424. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  425. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
  426. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  427. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +9 -6
  428. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +92 -14
  429. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
  430. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
  431. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +89 -87
  432. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
  433. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
  434. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
  435. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
  436. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
  437. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +21 -21
  438. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
  439. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
  440. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
  441. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
  442. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +315 -293
  443. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +86 -44
  444. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +309 -186
  445. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +22 -22
  446. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
  447. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
  448. package/node_modules/@aws-sdk/xml-builder/package.json +7 -7
  449. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +18 -31
  450. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +18 -31
  451. package/node_modules/@babel/runtime/package.json +1 -1
  452. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +5 -0
  453. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +5 -5
  454. package/node_modules/@slack/logger/LICENSE +23 -0
  455. package/node_modules/@slack/logger/README.md +36 -3
  456. package/node_modules/@slack/logger/dist/index.d.ts.map +1 -1
  457. package/node_modules/@slack/logger/dist/index.js +5 -6
  458. package/node_modules/@slack/logger/dist/index.js.map +1 -1
  459. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  460. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +2 -2
  461. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +11 -6
  462. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
  463. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +6 -13
  464. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2 -0
  465. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +57 -12
  466. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
  467. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +45 -0
  468. package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +579 -404
  469. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -62
  470. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +5 -5
  471. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  472. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
  473. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +22 -8
  474. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -0
  475. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +145 -17
  476. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +15 -5
  477. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +56 -20
  478. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +14 -9
  479. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +22 -0
  480. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +37 -3
  481. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +12 -3
  482. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
  483. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  484. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -2
  485. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +68 -4
  486. package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -1
  487. package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +2 -2
  488. package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +2 -1
  489. package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  490. package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +1 -1
  491. package/node_modules/@slack/logger/node_modules/undici-types/connector.d.ts +2 -2
  492. package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  493. package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +12 -12
  494. package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +4 -4
  495. package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +1 -1
  496. package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +1 -1
  497. package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +9 -1
  498. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +36 -2
  499. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  500. package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +1 -1
  501. package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +2 -2
  502. package/node_modules/@slack/logger/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  503. package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +9 -9
  504. package/node_modules/@slack/logger/package.json +13 -33
  505. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
  506. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  507. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
  508. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  509. package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
  510. package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
  511. package/node_modules/@slack/types/dist/chunk.js +3 -0
  512. package/node_modules/@slack/types/dist/chunk.js.map +1 -0
  513. package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
  514. package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
  515. package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
  516. package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
  517. package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
  518. package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
  519. package/node_modules/@slack/types/dist/index.d.ts +1 -0
  520. package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
  521. package/node_modules/@slack/types/dist/index.js +1 -0
  522. package/node_modules/@slack/types/dist/index.js.map +1 -1
  523. package/node_modules/@slack/types/package.json +8 -12
  524. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  525. package/node_modules/@slack/web-api/dist/WebClient.js +241 -266
  526. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  527. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
  528. package/node_modules/@slack/web-api/dist/chat-stream.js +85 -64
  529. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  530. package/node_modules/@slack/web-api/dist/file-upload.js +108 -125
  531. package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
  532. package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
  533. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  534. package/node_modules/@slack/web-api/dist/index.js +3 -1
  535. package/node_modules/@slack/web-api/dist/index.js.map +1 -1
  536. package/node_modules/@slack/web-api/dist/methods.d.ts +11 -2
  537. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  538. package/node_modules/@slack/web-api/dist/methods.js +9 -0
  539. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  540. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts +6 -0
  541. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts.map +1 -1
  542. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
  543. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
  544. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
  545. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  546. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -1
  547. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  548. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts +9 -0
  549. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts.map +1 -0
  550. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +11 -0
  551. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js.map +1 -0
  552. package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
  553. package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
  554. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  555. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +2 -2
  556. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +11 -6
  557. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
  558. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +6 -13
  559. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2 -0
  560. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +57 -12
  561. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
  562. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +45 -0
  563. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +579 -404
  564. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +0 -62
  565. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +5 -5
  566. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  567. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
  568. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +22 -8
  569. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -0
  570. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +145 -17
  571. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +15 -5
  572. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +56 -20
  573. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +14 -9
  574. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +22 -0
  575. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +37 -3
  576. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +12 -3
  577. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
  578. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  579. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -2
  580. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +68 -4
  581. package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -1
  582. package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +2 -2
  583. package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +2 -1
  584. package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  585. package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +1 -1
  586. package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +2 -2
  587. package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  588. package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +12 -12
  589. package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +4 -4
  590. package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +1 -1
  591. package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +1 -1
  592. package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +9 -1
  593. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +36 -2
  594. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  595. package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +1 -1
  596. package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +2 -2
  597. package/node_modules/@slack/web-api/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  598. package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +9 -9
  599. package/node_modules/@slack/web-api/package.json +15 -29
  600. package/node_modules/@smithy/abort-controller/package.json +7 -7
  601. package/node_modules/@smithy/config-resolver/package.json +11 -11
  602. package/node_modules/@smithy/core/dist-cjs/index.js +2 -6
  603. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -19
  604. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  605. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +9 -1
  606. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -5
  607. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +73 -11
  608. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
  609. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  610. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
  611. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  612. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  613. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  614. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  615. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +9 -1
  616. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +25 -3
  617. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +16 -1
  618. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  619. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
  620. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  621. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  622. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +38 -3
  623. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  624. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  625. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  626. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  627. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  628. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  629. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  630. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  631. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  632. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  633. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  634. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  635. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  636. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  637. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  638. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  639. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  640. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  641. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  642. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  643. package/node_modules/@smithy/core/endpoints.js +6 -0
  644. package/node_modules/@smithy/core/package.json +21 -12
  645. package/node_modules/@smithy/credential-provider-imds/package.json +10 -10
  646. package/node_modules/@smithy/eventstream-codec/package.json +9 -9
  647. package/node_modules/@smithy/eventstream-serde-browser/package.json +8 -8
  648. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -7
  649. package/node_modules/@smithy/eventstream-serde-node/package.json +8 -8
  650. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -9
  651. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
  652. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
  653. package/node_modules/@smithy/fetch-http-handler/package.json +11 -11
  654. package/node_modules/@smithy/hash-node/package.json +9 -9
  655. package/node_modules/@smithy/invalid-dependency/package.json +7 -7
  656. package/node_modules/@smithy/is-array-buffer/package.json +6 -6
  657. package/node_modules/@smithy/middleware-content-length/package.json +8 -8
  658. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  659. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  660. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  661. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  662. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  663. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  664. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  665. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  666. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  667. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  668. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  669. package/node_modules/@smithy/middleware-serde/package.json +9 -8
  670. package/node_modules/@smithy/middleware-stack/package.json +7 -7
  671. package/node_modules/@smithy/node-config-provider/package.json +9 -9
  672. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +77 -47
  673. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  674. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
  675. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  676. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
  677. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  678. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  679. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  680. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  681. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +10 -3
  682. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  683. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  684. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  685. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  686. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  687. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  688. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  689. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  690. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  691. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  692. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  693. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  694. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  695. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  696. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  697. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  698. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  699. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  700. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  701. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  702. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  703. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  704. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  705. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  706. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  707. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  708. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  709. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  710. package/node_modules/@smithy/node-http-handler/package.json +10 -10
  711. package/node_modules/@smithy/property-provider/package.json +7 -7
  712. package/node_modules/@smithy/protocol-http/package.json +7 -7
  713. package/node_modules/@smithy/querystring-builder/package.json +8 -8
  714. package/node_modules/@smithy/querystring-parser/package.json +7 -7
  715. package/node_modules/@smithy/service-error-classification/package.json +7 -7
  716. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
  717. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -7
  718. package/node_modules/@smithy/signature-v4/package.json +13 -13
  719. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +59 -19
  720. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  721. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
  722. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
  723. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
  724. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  725. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
  726. package/node_modules/@smithy/smithy-client/package.json +11 -9
  727. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
  728. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  729. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
  730. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  731. package/node_modules/@smithy/types/package.json +5 -5
  732. package/node_modules/@smithy/url-parser/package.json +8 -8
  733. package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
  734. package/node_modules/@smithy/util-base64/package.json +8 -8
  735. package/node_modules/@smithy/util-body-length-browser/package.json +6 -6
  736. package/node_modules/@smithy/util-body-length-node/package.json +6 -6
  737. package/node_modules/@smithy/util-buffer-from/package.json +7 -7
  738. package/node_modules/@smithy/util-config-provider/package.json +6 -6
  739. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
  740. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  741. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  742. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
  743. package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
  744. package/node_modules/@smithy/util-endpoints/package.json +8 -8
  745. package/node_modules/@smithy/util-hex-encoding/package.json +6 -6
  746. package/node_modules/@smithy/util-middleware/package.json +7 -7
  747. package/node_modules/@smithy/util-retry/package.json +8 -8
  748. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
  749. package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -29
  750. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
  751. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  752. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +1 -0
  753. package/node_modules/@smithy/util-stream/package.json +13 -13
  754. package/node_modules/@smithy/util-uri-escape/package.json +6 -6
  755. package/node_modules/@smithy/util-utf8/package.json +7 -7
  756. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
  757. package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
  758. package/node_modules/@smithy/util-waiter/package.json +8 -8
  759. package/node_modules/@smithy/uuid/package.json +6 -6
  760. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  761. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +2 -2
  762. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +11 -6
  763. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
  764. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +6 -13
  765. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -0
  766. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +57 -12
  767. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
  768. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +45 -0
  769. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +579 -404
  770. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -62
  771. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +5 -5
  772. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  773. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
  774. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +22 -8
  775. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
  776. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +145 -17
  777. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +15 -5
  778. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +56 -20
  779. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +14 -9
  780. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +22 -0
  781. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +37 -3
  782. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +12 -3
  783. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
  784. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  785. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -2
  786. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +68 -4
  787. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -1
  788. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +2 -2
  789. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +2 -1
  790. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  791. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +1 -1
  792. package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +2 -2
  793. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  794. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +12 -12
  795. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +4 -4
  796. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +1 -1
  797. package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +1 -1
  798. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +9 -1
  799. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +36 -2
  800. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  801. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +1 -1
  802. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +2 -2
  803. package/node_modules/@types/cacheable-request/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  804. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +9 -9
  805. package/node_modules/@types/http-cache-semantics/README.md +1 -1
  806. package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
  807. package/node_modules/@types/http-cache-semantics/package.json +4 -3
  808. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  809. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +2 -2
  810. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +11 -6
  811. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
  812. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +6 -13
  813. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -0
  814. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +57 -12
  815. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
  816. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +45 -0
  817. package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +579 -404
  818. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -62
  819. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +5 -5
  820. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  821. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
  822. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +22 -8
  823. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
  824. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +145 -17
  825. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +15 -5
  826. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +56 -20
  827. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +14 -9
  828. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +22 -0
  829. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +37 -3
  830. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +12 -3
  831. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
  832. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  833. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -2
  834. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +68 -4
  835. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -1
  836. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +2 -2
  837. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +2 -1
  838. package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  839. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +1 -1
  840. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +2 -2
  841. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  842. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +12 -12
  843. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +4 -4
  844. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +1 -1
  845. package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +1 -1
  846. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +9 -1
  847. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +36 -2
  848. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  849. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +1 -1
  850. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +2 -2
  851. package/node_modules/@types/keyv/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  852. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +9 -9
  853. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  854. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +2 -2
  855. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +11 -6
  856. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
  857. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +6 -13
  858. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -0
  859. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +57 -12
  860. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
  861. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +45 -0
  862. package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +579 -404
  863. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -62
  864. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +5 -5
  865. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  866. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
  867. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +22 -8
  868. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
  869. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +145 -17
  870. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +15 -5
  871. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +56 -20
  872. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +14 -9
  873. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +22 -0
  874. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +37 -3
  875. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +12 -3
  876. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
  877. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  878. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -2
  879. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +68 -4
  880. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -1
  881. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +2 -2
  882. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +2 -1
  883. package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  884. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +1 -1
  885. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +2 -2
  886. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  887. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +12 -12
  888. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +4 -4
  889. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +1 -1
  890. package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +1 -1
  891. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +9 -1
  892. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +36 -2
  893. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  894. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +1 -1
  895. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +2 -2
  896. package/node_modules/@types/responselike/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  897. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +9 -9
  898. package/node_modules/axios/CHANGELOG.md +460 -403
  899. package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
  900. package/node_modules/axios/README.md +584 -447
  901. package/node_modules/axios/dist/axios.js +873 -881
  902. package/node_modules/axios/dist/axios.js.map +1 -1
  903. package/node_modules/axios/dist/axios.min.js +4 -2
  904. package/node_modules/axios/dist/axios.min.js.map +1 -1
  905. package/node_modules/axios/dist/browser/axios.cjs +1142 -812
  906. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  907. package/node_modules/axios/dist/esm/axios.js +1143 -813
  908. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  909. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  910. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  911. package/node_modules/axios/dist/node/axios.cjs +1816 -1415
  912. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  913. package/node_modules/axios/index.d.cts +256 -112
  914. package/node_modules/axios/index.d.ts +341 -116
  915. package/node_modules/axios/index.js +3 -3
  916. package/node_modules/axios/lib/adapters/README.md +5 -6
  917. package/node_modules/axios/lib/adapters/adapters.js +18 -14
  918. package/node_modules/axios/lib/adapters/fetch.js +138 -92
  919. package/node_modules/axios/lib/adapters/http.js +615 -561
  920. package/node_modules/axios/lib/adapters/xhr.js +189 -167
  921. package/node_modules/axios/lib/axios.js +6 -6
  922. package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
  923. package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
  924. package/node_modules/axios/lib/core/Axios.js +66 -43
  925. package/node_modules/axios/lib/core/AxiosError.js +64 -84
  926. package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
  927. package/node_modules/axios/lib/core/InterceptorManager.js +3 -2
  928. package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
  929. package/node_modules/axios/lib/core/mergeConfig.js +8 -7
  930. package/node_modules/axios/lib/core/settle.js +11 -7
  931. package/node_modules/axios/lib/core/transformData.js +1 -1
  932. package/node_modules/axios/lib/defaults/index.js +85 -74
  933. package/node_modules/axios/lib/defaults/transitional.js +2 -1
  934. package/node_modules/axios/lib/env/data.js +1 -1
  935. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
  936. package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +12 -8
  937. package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
  938. package/node_modules/axios/lib/helpers/buildURL.js +18 -19
  939. package/node_modules/axios/lib/helpers/callbackify.js +13 -11
  940. package/node_modules/axios/lib/helpers/composeSignals.js +22 -14
  941. package/node_modules/axios/lib/helpers/cookies.js +45 -50
  942. package/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
  943. package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  944. package/node_modules/axios/lib/helpers/formDataToStream.js +32 -26
  945. package/node_modules/axios/lib/helpers/fromDataURI.js +2 -2
  946. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +4 -0
  947. package/node_modules/axios/lib/helpers/isAxiosError.js +2 -2
  948. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
  949. package/node_modules/axios/lib/helpers/parseHeaders.js +35 -21
  950. package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
  951. package/node_modules/axios/lib/helpers/progressEventReducer.js +22 -15
  952. package/node_modules/axios/lib/helpers/readBlob.js +4 -4
  953. package/node_modules/axios/lib/helpers/resolveConfig.js +23 -14
  954. package/node_modules/axios/lib/helpers/speedometer.js +1 -1
  955. package/node_modules/axios/lib/helpers/spread.js +1 -1
  956. package/node_modules/axios/lib/helpers/throttle.js +4 -4
  957. package/node_modules/axios/lib/helpers/toFormData.js +43 -25
  958. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
  959. package/node_modules/axios/lib/helpers/trackStream.js +33 -31
  960. package/node_modules/axios/lib/helpers/validator.js +16 -5
  961. package/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
  962. package/node_modules/axios/lib/platform/browser/index.js +5 -5
  963. package/node_modules/axios/lib/platform/common/utils.js +6 -5
  964. package/node_modules/axios/lib/platform/index.js +2 -2
  965. package/node_modules/axios/lib/platform/node/index.js +9 -10
  966. package/node_modules/axios/lib/utils.js +243 -106
  967. package/node_modules/axios/package.json +57 -70
  968. package/node_modules/bowser/README.md +72 -3
  969. package/node_modules/bowser/bundled.js +1 -1
  970. package/node_modules/bowser/es5.js +1 -1
  971. package/node_modules/bowser/index.d.ts +44 -6
  972. package/node_modules/bowser/package.json +10 -5
  973. package/node_modules/bowser/src/bowser.js +24 -8
  974. package/node_modules/bowser/src/constants.js +8 -0
  975. package/node_modules/bowser/src/parser-browsers.js +89 -0
  976. package/node_modules/bowser/src/parser-platforms.js +42 -0
  977. package/node_modules/bowser/src/parser.js +86 -5
  978. package/node_modules/editorconfig/lib/cli.js +18 -8
  979. package/node_modules/editorconfig/lib/index.d.ts +0 -1
  980. package/node_modules/editorconfig/lib/index.js +24 -15
  981. package/node_modules/editorconfig/node_modules/minimatch/README.md +39 -2
  982. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  983. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts +2 -6
  984. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts.map +1 -1
  985. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.js +229 -48
  986. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  987. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts.map +1 -1
  988. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  989. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.d.ts +1 -1
  990. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  991. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/index.d.ts +4 -0
  992. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  993. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/index.js +135 -123
  994. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  995. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/unescape.d.ts +1 -1
  996. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.d.ts.map +1 -1
  997. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  998. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts +2 -6
  999. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts.map +1 -1
  1000. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.js +229 -48
  1001. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  1002. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts.map +1 -1
  1003. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  1004. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.d.ts +1 -1
  1005. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  1006. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/index.d.ts +4 -0
  1007. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  1008. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/index.js +135 -123
  1009. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.js.map +1 -0
  1010. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/unescape.d.ts +1 -1
  1011. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.d.ts.map +1 -1
  1012. package/node_modules/editorconfig/node_modules/minimatch/package.json +31 -35
  1013. package/node_modules/editorconfig/package.json +4 -30
  1014. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  1015. package/node_modules/fast-xml-builder/LICENSE +21 -0
  1016. package/node_modules/fast-xml-builder/README.md +23 -0
  1017. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  1018. package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
  1019. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  1020. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  1021. package/node_modules/fast-xml-builder/package.json +80 -0
  1022. package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
  1023. package/node_modules/fast-xml-builder/src/fxb.js +529 -0
  1024. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  1025. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
  1026. package/node_modules/js-beautify/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  1027. package/node_modules/js-beautify/node_modules/brace-expansion/LICENSE +21 -0
  1028. package/node_modules/js-beautify/node_modules/brace-expansion/README.md +135 -0
  1029. package/node_modules/js-beautify/node_modules/brace-expansion/index.js +203 -0
  1030. package/node_modules/js-beautify/node_modules/brace-expansion/package.json +49 -0
  1031. package/node_modules/js-beautify/node_modules/minimatch/README.md +37 -0
  1032. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  1033. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  1034. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  1035. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  1036. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  1037. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  1038. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  1039. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  1040. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  1041. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  1042. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +124 -118
  1043. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  1044. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  1045. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  1046. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  1047. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  1048. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js +179 -24
  1049. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  1050. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  1051. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  1052. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  1053. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  1054. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  1055. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  1056. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +124 -118
  1057. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
  1058. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  1059. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  1060. package/node_modules/js-beautify/node_modules/minimatch/package.json +14 -14
  1061. package/node_modules/minipass/LICENSE.md +55 -0
  1062. package/node_modules/minipass/dist/commonjs/index.d.ts +12 -16
  1063. package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
  1064. package/node_modules/minipass/dist/commonjs/index.js +13 -3
  1065. package/node_modules/minipass/dist/commonjs/index.js.map +1 -1
  1066. package/node_modules/minipass/dist/esm/index.d.ts +12 -16
  1067. package/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
  1068. package/node_modules/minipass/dist/esm/index.js +3 -1
  1069. package/node_modules/minipass/dist/esm/index.js.map +1 -1
  1070. package/node_modules/minipass/package.json +9 -14
  1071. package/node_modules/mjml-cli/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  1072. package/node_modules/mjml-cli/node_modules/brace-expansion/LICENSE +21 -0
  1073. package/node_modules/mjml-cli/node_modules/brace-expansion/README.md +135 -0
  1074. package/node_modules/mjml-cli/node_modules/brace-expansion/index.js +203 -0
  1075. package/node_modules/mjml-cli/node_modules/brace-expansion/package.json +49 -0
  1076. package/node_modules/mjml-cli/node_modules/minimatch/README.md +37 -0
  1077. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  1078. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  1079. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  1080. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  1081. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  1082. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  1083. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  1084. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  1085. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  1086. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  1087. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +124 -118
  1088. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  1089. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  1090. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  1091. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  1092. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  1093. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js +179 -24
  1094. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  1095. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  1096. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  1097. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  1098. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  1099. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  1100. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  1101. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +124 -118
  1102. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
  1103. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  1104. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  1105. package/node_modules/mjml-cli/node_modules/minimatch/package.json +14 -14
  1106. package/node_modules/path-expression-matcher/LICENSE +21 -0
  1107. package/node_modules/path-expression-matcher/README.md +635 -0
  1108. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  1109. package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
  1110. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  1111. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  1112. package/node_modules/path-expression-matcher/package.json +78 -0
  1113. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  1114. package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
  1115. package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
  1116. package/node_modules/path-expression-matcher/src/index.js +28 -0
  1117. package/node_modules/pump/empty.js +1 -0
  1118. package/node_modules/pump/package.json +7 -1
  1119. package/node_modules/semver/README.md +3 -2
  1120. package/node_modules/semver/bin/semver.js +1 -1
  1121. package/node_modules/semver/functions/diff.js +1 -1
  1122. package/node_modules/semver/internal/re.js +2 -2
  1123. package/node_modules/semver/package.json +4 -4
  1124. package/node_modules/semver/ranges/subset.js +1 -1
  1125. package/node_modules/strnum/README.md +1 -0
  1126. package/node_modules/strnum/package.json +3 -3
  1127. package/node_modules/strnum/strnum.js +85 -59
  1128. package/node_modules/strnum/tests/infinity_test.js +18 -0
  1129. package/node_modules/strnum/{strnum.test.js → tests/strnum_test.js} +67 -68
  1130. package/package.json +23 -23
  1131. package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
  1132. package/node_modules/@aws-sdk/client-sso/README.md +0 -244
  1133. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
  1134. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +0 -420
  1135. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -15
  1136. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
  1137. package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
  1138. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
  1139. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
  1140. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
  1141. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
  1142. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -152
  1143. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
  1144. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
  1145. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
  1146. package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
  1147. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
  1148. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
  1149. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
  1150. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
  1151. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
  1152. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -73
  1153. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
  1154. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
  1155. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
  1156. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
  1157. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
  1158. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  1159. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
  1160. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
  1161. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
  1162. package/node_modules/@aws-sdk/client-sso/package.json +0 -99
  1163. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
  1164. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
  1165. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
  1166. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
  1167. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
  1168. package/node_modules/bowser/CHANGELOG.md +0 -218
  1169. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  1170. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  1171. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  1172. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  1173. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  1174. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  1175. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  1176. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  1177. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  1178. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  1179. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  1180. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  1181. package/node_modules/minipass/LICENSE +0 -15
  1182. package/node_modules/strnum/test.js +0 -9
  1183. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1184. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1185. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
  1186. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1187. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
  1188. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
  1189. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1190. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
  1191. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
  1192. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
  1193. /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
  1194. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
  1195. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
  1196. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1197. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1198. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1199. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1200. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
  1201. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1202. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
  1203. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1204. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1205. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1206. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1207. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1208. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
  1209. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
  1210. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
  1211. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1212. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1213. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
  1214. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1215. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
  1216. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1217. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1218. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1219. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/.github/FUNDING.yml +0 -0
  1220. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/LICENSE +0 -0
  1221. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/README.md +0 -0
  1222. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/index.js +0 -0
  1223. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/package.json +0 -0
  1224. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts +0 -0
  1225. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts.map +0 -0
  1226. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.js +0 -0
  1227. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts +0 -0
  1228. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.js +0 -0
  1229. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js +0 -0
  1230. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js.map +0 -0
  1231. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/package.json +0 -0
  1232. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js +0 -0
  1233. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js.map +0 -0
  1234. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts +0 -0
  1235. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts.map +0 -0
  1236. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.js +0 -0
  1237. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts +0 -0
  1238. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.js +0 -0
  1239. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js +0 -0
  1240. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js.map +0 -0
  1241. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/package.json +0 -0
  1242. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js +0 -0
  1243. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js.map +0 -0
  1244. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
@@ -94,7 +94,7 @@ var require_package = __commonJS({
94
94
  "node_modules/@slack/web-api/package.json"(exports2, module2) {
95
95
  module2.exports = {
96
96
  name: "@slack/web-api",
97
- version: "7.13.0",
97
+ version: "7.15.0",
98
98
  description: "Official library for using the Slack Platform's Web API",
99
99
  author: "Slack Technologies, LLC",
100
100
  license: "MIT",
@@ -118,7 +118,10 @@ var require_package = __commonJS({
118
118
  node: ">= 18",
119
119
  npm: ">= 8.6.0"
120
120
  },
121
- repository: "slackapi/node-slack-sdk",
121
+ repository: {
122
+ type: "git",
123
+ url: "git+https://github.com/slackapi/node-slack-sdk.git"
124
+ },
122
125
  homepage: "https://docs.slack.dev/tools/node-slack-sdk/web-api/",
123
126
  publishConfig: {
124
127
  access: "public"
@@ -127,26 +130,24 @@ var require_package = __commonJS({
127
130
  url: "https://github.com/slackapi/node-slack-sdk/issues"
128
131
  },
129
132
  scripts: {
130
- prepare: "npm run build",
131
133
  build: "npm run build:clean && tsc",
132
- "build:clean": "shx rm -rf ./dist ./coverage",
134
+ "build:clean": "shx rm -rf ./dist",
133
135
  docs: "npx typedoc --plugin typedoc-plugin-markdown",
134
- lint: "npx @biomejs/biome check .",
135
- "lint:fix": "npx @biomejs/biome check --write .",
136
- mocha: 'mocha --config ./test/.mocharc.json "./src/**/*.spec.ts"',
137
- test: "npm run lint && npm run test:types && npm run test:integration && npm run test:unit",
136
+ prepack: "npm run build",
137
+ test: "npm run test:unit",
138
+ "test:node18": "npm run build && bash -c 'node --test --test-reporter=spec --import tsx src/*.test.ts'",
138
139
  "test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts",
139
140
  "test:integration:ts": "cd test/integration/ts-4.7-project && npm i && npm run build",
140
- "test:unit": "npm run build && c8 --config ./test/.c8rc.json npm run mocha",
141
141
  "test:types": "tsd",
142
+ "test:unit": "npm run build && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=junit --test-reporter-destination=test-results.xml --import tsx --test src/*.test.ts",
142
143
  watch: "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"
143
144
  },
144
145
  dependencies: {
145
- "@slack/logger": "^4.0.0",
146
- "@slack/types": "^2.18.0",
147
- "@types/node": ">=18.0.0",
146
+ "@slack/logger": "^4.0.1",
147
+ "@slack/types": "^2.20.1",
148
+ "@types/node": ">=18",
148
149
  "@types/retry": "0.12.0",
149
- axios: "^1.11.0",
150
+ axios: "^1.13.5",
150
151
  eventemitter3: "^5.0.1",
151
152
  "form-data": "^4.0.4",
152
153
  "is-electron": "2.2.2",
@@ -156,27 +157,12 @@ var require_package = __commonJS({
156
157
  retry: "^0.13.1"
157
158
  },
158
159
  devDependencies: {
159
- "@biomejs/biome": "^2.0.5",
160
- "@tsconfig/recommended": "^1",
161
160
  "@types/busboy": "^1.5.4",
162
- "@types/chai": "^4",
163
- "@types/mocha": "^10",
164
161
  "@types/sinon": "^21",
165
162
  busboy: "^1",
166
- c8: "^10.1.2",
167
- chai: "^4",
168
- mocha: "^11",
169
- "mocha-junit-reporter": "^2.2.1",
170
- "mocha-multi-reporters": "^1.5.1",
171
163
  nock: "^14",
172
- shx: "^0.4.0",
173
164
  sinon: "^21",
174
- "source-map-support": "^0.5.21",
175
- "ts-node": "^10",
176
- tsd: "^0.33.0",
177
- typedoc: "^0.28.7",
178
- "typedoc-plugin-markdown": "^4.7.1",
179
- typescript: "5.9.3"
165
+ tsd: "^0.33.0"
180
166
  },
181
167
  tsd: {
182
168
  directory: "test/types"
@@ -259,7 +245,7 @@ var require_dist = __commonJS({
259
245
  LogLevel2["WARN"] = "warn";
260
246
  LogLevel2["INFO"] = "info";
261
247
  LogLevel2["DEBUG"] = "debug";
262
- })(LogLevel = exports2.LogLevel || (exports2.LogLevel = {}));
248
+ })(LogLevel || (exports2.LogLevel = LogLevel = {}));
263
249
  var ConsoleLogger = class _ConsoleLogger {
264
250
  constructor() {
265
251
  this.level = LogLevel.INFO;
@@ -283,7 +269,7 @@ var require_dist = __commonJS({
283
269
  /**
284
270
  * Log a debug message
285
271
  */
286
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
272
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
287
273
  debug(...msg) {
288
274
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.DEBUG, this.level)) {
289
275
  console.debug(_ConsoleLogger.labels.get(LogLevel.DEBUG), this.name, ...msg);
@@ -292,7 +278,7 @@ var require_dist = __commonJS({
292
278
  /**
293
279
  * Log an info message
294
280
  */
295
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
281
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
296
282
  info(...msg) {
297
283
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.INFO, this.level)) {
298
284
  console.info(_ConsoleLogger.labels.get(LogLevel.INFO), this.name, ...msg);
@@ -301,7 +287,7 @@ var require_dist = __commonJS({
301
287
  /**
302
288
  * Log a warning message
303
289
  */
304
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
290
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
305
291
  warn(...msg) {
306
292
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.WARN, this.level)) {
307
293
  console.warn(_ConsoleLogger.labels.get(LogLevel.WARN), this.name, ...msg);
@@ -310,7 +296,7 @@ var require_dist = __commonJS({
310
296
  /**
311
297
  * Log an error message
312
298
  */
313
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
299
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
314
300
  error(...msg) {
315
301
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.ERROR, this.level)) {
316
302
  console.error(_ConsoleLogger.labels.get(LogLevel.ERROR), this.name, ...msg);
@@ -413,6 +399,181 @@ var require_response = __commonJS({
413
399
  }
414
400
  });
415
401
 
402
+ // node_modules/@slack/web-api/dist/chat-stream.js
403
+ var require_chat_stream = __commonJS({
404
+ "node_modules/@slack/web-api/dist/chat-stream.js"(exports2) {
405
+ "use strict";
406
+ var __rest = exports2 && exports2.__rest || function(s, e) {
407
+ var t = {};
408
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
409
+ t[p] = s[p];
410
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
411
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
412
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
413
+ t[p[i]] = s[p[i]];
414
+ }
415
+ return t;
416
+ };
417
+ Object.defineProperty(exports2, "__esModule", { value: true });
418
+ exports2.ChatStreamer = void 0;
419
+ var ChatStreamer = class {
420
+ /**
421
+ * Instantiate a new chat streamer.
422
+ *
423
+ * @description The "constructor" method creates a unique {@link ChatStreamer} instance that keeps track of one chat stream.
424
+ * @example
425
+ * const client = new WebClient(process.env.SLACK_BOT_TOKEN);
426
+ * const logger = new ConsoleLogger();
427
+ * const args = {
428
+ * channel: "C0123456789",
429
+ * thread_ts: "1700000001.123456",
430
+ * recipient_team_id: "T0123456789",
431
+ * recipient_user_id: "U0123456789",
432
+ * };
433
+ * const streamer = new ChatStreamer(client, logger, args, { buffer_size: 512 });
434
+ * await streamer.append({
435
+ * markdown_text: "**hello world!**",
436
+ * });
437
+ * await streamer.stop();
438
+ * @see {@link https://docs.slack.dev/reference/methods/chat.startStream}
439
+ * @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
440
+ * @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
441
+ */
442
+ constructor(client, logger, args, options) {
443
+ var _a;
444
+ this.buffer = "";
445
+ this.client = client;
446
+ this.logger = logger;
447
+ this.options = {
448
+ buffer_size: (_a = options.buffer_size) !== null && _a !== void 0 ? _a : 256
449
+ };
450
+ this.state = "starting";
451
+ this.streamArgs = args;
452
+ }
453
+ /**
454
+ * Append to the stream.
455
+ *
456
+ * @description The "append" method appends to the chat stream being used. This method can be called multiple times. After the stream is stopped this method cannot be called.
457
+ * @example
458
+ * const streamer = client.chatStream({
459
+ * channel: "C0123456789",
460
+ * thread_ts: "1700000001.123456",
461
+ * recipient_team_id: "T0123456789",
462
+ * recipient_user_id: "U0123456789",
463
+ * });
464
+ * await streamer.append({
465
+ * markdown_text: "**hello wo",
466
+ * });
467
+ * await streamer.append({
468
+ * markdown_text: "rld!**",
469
+ * });
470
+ * await streamer.stop();
471
+ * @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
472
+ */
473
+ async append(args) {
474
+ if (this.state === "completed") {
475
+ throw new Error(`failed to append stream: stream state is ${this.state}`);
476
+ }
477
+ const { markdown_text, chunks } = args, opts = __rest(args, ["markdown_text", "chunks"]);
478
+ if (opts.token) {
479
+ this.token = opts.token;
480
+ }
481
+ if (markdown_text) {
482
+ this.buffer += markdown_text;
483
+ }
484
+ if (this.buffer.length >= this.options.buffer_size || chunks) {
485
+ return await this.flushBuffer(Object.assign({ chunks }, opts));
486
+ }
487
+ const details = {
488
+ bufferLength: this.buffer.length,
489
+ bufferSize: this.options.buffer_size,
490
+ channel: this.streamArgs.channel,
491
+ recipientTeamId: this.streamArgs.recipient_team_id,
492
+ recipientUserId: this.streamArgs.recipient_user_id,
493
+ threadTs: this.streamArgs.thread_ts
494
+ };
495
+ this.logger.debug(`ChatStreamer appended to buffer: ${JSON.stringify(details)}`);
496
+ return null;
497
+ }
498
+ /**
499
+ * Stop the stream and finalize the message.
500
+ *
501
+ * @description The "stop" method stops the chat stream being used. This method can be called once to end the stream. Additional "blocks" and "metadata" can be provided.
502
+ *
503
+ * @example
504
+ * const streamer = client.chatStream({
505
+ * channel: "C0123456789",
506
+ * thread_ts: "1700000001.123456",
507
+ * recipient_team_id: "T0123456789",
508
+ * recipient_user_id: "U0123456789",
509
+ * });
510
+ * await streamer.append({
511
+ * markdown_text: "**hello world!**",
512
+ * });
513
+ * await streamer.stop();
514
+ * @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
515
+ */
516
+ async stop(args) {
517
+ if (this.state === "completed") {
518
+ throw new Error(`failed to stop stream: stream state is ${this.state}`);
519
+ }
520
+ const _a = args !== null && args !== void 0 ? args : {}, { markdown_text, chunks } = _a, opts = __rest(_a, ["markdown_text", "chunks"]);
521
+ if (opts.token) {
522
+ this.token = opts.token;
523
+ }
524
+ if (markdown_text) {
525
+ this.buffer += markdown_text;
526
+ }
527
+ if (!this.streamTs) {
528
+ const response2 = await this.client.chat.startStream(Object.assign(Object.assign({}, this.streamArgs), { token: this.token }));
529
+ if (!response2.ts) {
530
+ throw new Error("failed to stop stream: stream not started");
531
+ }
532
+ this.streamTs = response2.ts;
533
+ this.state = "in_progress";
534
+ }
535
+ const chunksToFlush = [];
536
+ if (this.buffer.length > 0) {
537
+ chunksToFlush.push({
538
+ type: "markdown_text",
539
+ text: this.buffer
540
+ });
541
+ }
542
+ if (chunks) {
543
+ chunksToFlush.push(...chunks);
544
+ }
545
+ const response = await this.client.chat.stopStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
546
+ this.state = "completed";
547
+ return response;
548
+ }
549
+ async flushBuffer(args) {
550
+ const _a = args !== null && args !== void 0 ? args : {}, { chunks } = _a, opts = __rest(_a, ["chunks"]);
551
+ const chunksToFlush = [];
552
+ if (this.buffer.length > 0) {
553
+ chunksToFlush.push({
554
+ type: "markdown_text",
555
+ text: this.buffer
556
+ });
557
+ }
558
+ if (chunks) {
559
+ chunksToFlush.push(...chunks);
560
+ }
561
+ if (!this.streamTs) {
562
+ const response2 = await this.client.chat.startStream(Object.assign(Object.assign(Object.assign({}, this.streamArgs), { token: this.token, chunks: chunksToFlush }), opts));
563
+ this.buffer = "";
564
+ this.streamTs = response2.ts;
565
+ this.state = "in_progress";
566
+ return response2;
567
+ }
568
+ const response = await this.client.chat.appendStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
569
+ this.buffer = "";
570
+ return response;
571
+ }
572
+ };
573
+ exports2.ChatStreamer = ChatStreamer;
574
+ }
575
+ });
576
+
416
577
  // node_modules/delayed-stream/lib/delayed_stream.js
417
578
  var require_delayed_stream = __commonJS({
418
579
  "node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) {
@@ -12137,17 +12298,37 @@ var require_axios = __commonJS({
12137
12298
  };
12138
12299
  var isDate = kindOfTest("Date");
12139
12300
  var isFile = kindOfTest("File");
12301
+ var isReactNativeBlob = (value) => {
12302
+ return !!(value && typeof value.uri !== "undefined");
12303
+ };
12304
+ var isReactNative = (formData) => formData && typeof formData.getParts !== "undefined";
12140
12305
  var isBlob = kindOfTest("Blob");
12141
12306
  var isFileList = kindOfTest("FileList");
12142
12307
  var isStream = (val) => isObject(val) && isFunction$1(val.pipe);
12308
+ function getGlobal() {
12309
+ if (typeof globalThis !== "undefined") return globalThis;
12310
+ if (typeof self !== "undefined") return self;
12311
+ if (typeof window !== "undefined") return window;
12312
+ if (typeof global !== "undefined") return global;
12313
+ return {};
12314
+ }
12315
+ var G = getGlobal();
12316
+ var FormDataCtor = typeof G.FormData !== "undefined" ? G.FormData : void 0;
12143
12317
  var isFormData = (thing) => {
12144
12318
  let kind;
12145
- return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
12319
+ return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
12146
12320
  kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
12147
12321
  };
12148
12322
  var isURLSearchParams = kindOfTest("URLSearchParams");
12149
- var [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
12150
- var trim = (str) => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
12323
+ var [isReadableStream, isRequest, isResponse, isHeaders] = [
12324
+ "ReadableStream",
12325
+ "Request",
12326
+ "Response",
12327
+ "Headers"
12328
+ ].map(kindOfTest);
12329
+ var trim = (str) => {
12330
+ return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
12331
+ };
12151
12332
  function forEach(obj, fn, { allOwnKeys = false } = {}) {
12152
12333
  if (obj === null || typeof obj === "undefined") {
12153
12334
  return;
@@ -12199,6 +12380,9 @@ var require_axios = __commonJS({
12199
12380
  const { caseless, skipUndefined } = isContextDefined(this) && this || {};
12200
12381
  const result = {};
12201
12382
  const assignValue = (val, key) => {
12383
+ if (key === "__proto__" || key === "constructor" || key === "prototype") {
12384
+ return;
12385
+ }
12202
12386
  const targetKey = caseless && findKey(result, key) || key;
12203
12387
  if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
12204
12388
  result[targetKey] = merge(result[targetKey], val);
@@ -12216,13 +12400,27 @@ var require_axios = __commonJS({
12216
12400
  return result;
12217
12401
  }
12218
12402
  var extend = (a, b, thisArg, { allOwnKeys } = {}) => {
12219
- forEach(b, (val, key) => {
12220
- if (thisArg && isFunction$1(val)) {
12221
- a[key] = bind(val, thisArg);
12222
- } else {
12223
- a[key] = val;
12224
- }
12225
- }, { allOwnKeys });
12403
+ forEach(
12404
+ b,
12405
+ (val, key) => {
12406
+ if (thisArg && isFunction$1(val)) {
12407
+ Object.defineProperty(a, key, {
12408
+ value: bind(val, thisArg),
12409
+ writable: true,
12410
+ enumerable: true,
12411
+ configurable: true
12412
+ });
12413
+ } else {
12414
+ Object.defineProperty(a, key, {
12415
+ value: val,
12416
+ writable: true,
12417
+ enumerable: true,
12418
+ configurable: true
12419
+ });
12420
+ }
12421
+ },
12422
+ { allOwnKeys }
12423
+ );
12226
12424
  return a;
12227
12425
  };
12228
12426
  var stripBOM = (content) => {
@@ -12231,9 +12429,14 @@ var require_axios = __commonJS({
12231
12429
  }
12232
12430
  return content;
12233
12431
  };
12234
- var inherits = (constructor, superConstructor, props, descriptors2) => {
12235
- constructor.prototype = Object.create(superConstructor.prototype, descriptors2);
12236
- constructor.prototype.constructor = constructor;
12432
+ var inherits = (constructor, superConstructor, props, descriptors) => {
12433
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
12434
+ Object.defineProperty(constructor.prototype, "constructor", {
12435
+ value: constructor,
12436
+ writable: true,
12437
+ enumerable: false,
12438
+ configurable: true
12439
+ });
12237
12440
  Object.defineProperty(constructor, "super", {
12238
12441
  value: superConstructor.prototype
12239
12442
  });
@@ -12304,19 +12507,16 @@ var require_axios = __commonJS({
12304
12507
  };
12305
12508
  var isHTMLForm = kindOfTest("HTMLFormElement");
12306
12509
  var toCamelCase = (str) => {
12307
- return str.toLowerCase().replace(
12308
- /[-_\s]([a-z\d])(\w*)/g,
12309
- function replacer(m, p1, p2) {
12310
- return p1.toUpperCase() + p2;
12311
- }
12312
- );
12510
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
12511
+ return p1.toUpperCase() + p2;
12512
+ });
12313
12513
  };
12314
12514
  var hasOwnProperty = (({ hasOwnProperty: hasOwnProperty2 }) => (obj, prop) => hasOwnProperty2.call(obj, prop))(Object.prototype);
12315
12515
  var isRegExp = kindOfTest("RegExp");
12316
12516
  var reduceDescriptors = (obj, reducer) => {
12317
- const descriptors2 = Object.getOwnPropertyDescriptors(obj);
12517
+ const descriptors = Object.getOwnPropertyDescriptors(obj);
12318
12518
  const reducedDescriptors = {};
12319
- forEach(descriptors2, (descriptor, name) => {
12519
+ forEach(descriptors, (descriptor, name) => {
12320
12520
  let ret;
12321
12521
  if ((ret = reducer(descriptor, name, obj)) !== false) {
12322
12522
  reducedDescriptors[name] = ret || descriptor;
@@ -12393,20 +12593,21 @@ var require_axios = __commonJS({
12393
12593
  return setImmediate;
12394
12594
  }
12395
12595
  return postMessageSupported ? ((token, callbacks) => {
12396
- _global.addEventListener("message", ({ source, data }) => {
12397
- if (source === _global && data === token) {
12398
- callbacks.length && callbacks.shift()();
12399
- }
12400
- }, false);
12596
+ _global.addEventListener(
12597
+ "message",
12598
+ ({ source, data }) => {
12599
+ if (source === _global && data === token) {
12600
+ callbacks.length && callbacks.shift()();
12601
+ }
12602
+ },
12603
+ false
12604
+ );
12401
12605
  return (cb) => {
12402
12606
  callbacks.push(cb);
12403
12607
  _global.postMessage(token, "*");
12404
12608
  };
12405
12609
  })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
12406
- })(
12407
- typeof setImmediate === "function",
12408
- isFunction$1(_global.postMessage)
12409
- );
12610
+ })(typeof setImmediate === "function", isFunction$1(_global.postMessage));
12410
12611
  var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
12411
12612
  var isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
12412
12613
  var utils$1 = {
@@ -12428,6 +12629,8 @@ var require_axios = __commonJS({
12428
12629
  isUndefined,
12429
12630
  isDate,
12430
12631
  isFile,
12632
+ isReactNativeBlob,
12633
+ isReactNative,
12431
12634
  isBlob,
12432
12635
  isRegExp,
12433
12636
  isFunction: isFunction$1,
@@ -12469,25 +12672,47 @@ var require_axios = __commonJS({
12469
12672
  asap,
12470
12673
  isIterable
12471
12674
  };
12472
- function AxiosError(message, code, config, request, response) {
12473
- Error.call(this);
12474
- if (Error.captureStackTrace) {
12475
- Error.captureStackTrace(this, this.constructor);
12476
- } else {
12477
- this.stack = new Error().stack;
12675
+ var AxiosError = class _AxiosError extends Error {
12676
+ static from(error, code, config, request, response, customProps) {
12677
+ const axiosError = new _AxiosError(error.message, code || error.code, config, request, response);
12678
+ axiosError.cause = error;
12679
+ axiosError.name = error.name;
12680
+ if (error.status != null && axiosError.status == null) {
12681
+ axiosError.status = error.status;
12682
+ }
12683
+ customProps && Object.assign(axiosError, customProps);
12684
+ return axiosError;
12478
12685
  }
12479
- this.message = message;
12480
- this.name = "AxiosError";
12481
- code && (this.code = code);
12482
- config && (this.config = config);
12483
- request && (this.request = request);
12484
- if (response) {
12485
- this.response = response;
12486
- this.status = response.status ? response.status : null;
12686
+ /**
12687
+ * Create an Error with the specified message, config, error code, request and response.
12688
+ *
12689
+ * @param {string} message The error message.
12690
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
12691
+ * @param {Object} [config] The config.
12692
+ * @param {Object} [request] The request.
12693
+ * @param {Object} [response] The response.
12694
+ *
12695
+ * @returns {Error} The created error.
12696
+ */
12697
+ constructor(message, code, config, request, response) {
12698
+ super(message);
12699
+ Object.defineProperty(this, "message", {
12700
+ value: message,
12701
+ enumerable: true,
12702
+ writable: true,
12703
+ configurable: true
12704
+ });
12705
+ this.name = "AxiosError";
12706
+ this.isAxiosError = true;
12707
+ code && (this.code = code);
12708
+ config && (this.config = config);
12709
+ request && (this.request = request);
12710
+ if (response) {
12711
+ this.response = response;
12712
+ this.status = response.status;
12713
+ }
12487
12714
  }
12488
- }
12489
- utils$1.inherits(AxiosError, Error, {
12490
- toJSON: function toJSON() {
12715
+ toJSON() {
12491
12716
  return {
12492
12717
  // Standard
12493
12718
  message: this.message,
@@ -12506,45 +12731,20 @@ var require_axios = __commonJS({
12506
12731
  status: this.status
12507
12732
  };
12508
12733
  }
12509
- });
12510
- var prototype$1 = AxiosError.prototype;
12511
- var descriptors = {};
12512
- [
12513
- "ERR_BAD_OPTION_VALUE",
12514
- "ERR_BAD_OPTION",
12515
- "ECONNABORTED",
12516
- "ETIMEDOUT",
12517
- "ERR_NETWORK",
12518
- "ERR_FR_TOO_MANY_REDIRECTS",
12519
- "ERR_DEPRECATED",
12520
- "ERR_BAD_RESPONSE",
12521
- "ERR_BAD_REQUEST",
12522
- "ERR_CANCELED",
12523
- "ERR_NOT_SUPPORT",
12524
- "ERR_INVALID_URL"
12525
- // eslint-disable-next-line func-names
12526
- ].forEach((code) => {
12527
- descriptors[code] = { value: code };
12528
- });
12529
- Object.defineProperties(AxiosError, descriptors);
12530
- Object.defineProperty(prototype$1, "isAxiosError", { value: true });
12531
- AxiosError.from = (error, code, config, request, response, customProps) => {
12532
- const axiosError = Object.create(prototype$1);
12533
- utils$1.toFlatObject(error, axiosError, function filter(obj) {
12534
- return obj !== Error.prototype;
12535
- }, (prop) => {
12536
- return prop !== "isAxiosError";
12537
- });
12538
- const msg = error && error.message ? error.message : "Error";
12539
- const errCode = code == null && error ? error.code : code;
12540
- AxiosError.call(axiosError, msg, errCode, config, request, response);
12541
- if (error && axiosError.cause == null) {
12542
- Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
12543
- }
12544
- axiosError.name = error && error.name || "Error";
12545
- customProps && Object.assign(axiosError, customProps);
12546
- return axiosError;
12547
12734
  };
12735
+ AxiosError.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
12736
+ AxiosError.ERR_BAD_OPTION = "ERR_BAD_OPTION";
12737
+ AxiosError.ECONNABORTED = "ECONNABORTED";
12738
+ AxiosError.ETIMEDOUT = "ETIMEDOUT";
12739
+ AxiosError.ERR_NETWORK = "ERR_NETWORK";
12740
+ AxiosError.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
12741
+ AxiosError.ERR_DEPRECATED = "ERR_DEPRECATED";
12742
+ AxiosError.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
12743
+ AxiosError.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
12744
+ AxiosError.ERR_CANCELED = "ERR_CANCELED";
12745
+ AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
12746
+ AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
12747
+ var AxiosError$1 = AxiosError;
12548
12748
  function isVisitable(thing) {
12549
12749
  return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
12550
12750
  }
@@ -12569,13 +12769,18 @@ var require_axios = __commonJS({
12569
12769
  throw new TypeError("target must be an object");
12570
12770
  }
12571
12771
  formData = formData || new (FormData__default["default"] || FormData)();
12572
- options = utils$1.toFlatObject(options, {
12573
- metaTokens: true,
12574
- dots: false,
12575
- indexes: false
12576
- }, false, function defined(option, source) {
12577
- return !utils$1.isUndefined(source[option]);
12578
- });
12772
+ options = utils$1.toFlatObject(
12773
+ options,
12774
+ {
12775
+ metaTokens: true,
12776
+ dots: false,
12777
+ indexes: false
12778
+ },
12779
+ false,
12780
+ function defined(option, source) {
12781
+ return !utils$1.isUndefined(source[option]);
12782
+ }
12783
+ );
12579
12784
  const metaTokens = options.metaTokens;
12580
12785
  const visitor = options.visitor || defaultVisitor;
12581
12786
  const dots = options.dots;
@@ -12594,7 +12799,7 @@ var require_axios = __commonJS({
12594
12799
  return value.toString();
12595
12800
  }
12596
12801
  if (!useBlob && utils$1.isBlob(value)) {
12597
- throw new AxiosError("Blob is not supported. Use a Buffer instead.");
12802
+ throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
12598
12803
  }
12599
12804
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
12600
12805
  return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
@@ -12603,6 +12808,10 @@ var require_axios = __commonJS({
12603
12808
  }
12604
12809
  function defaultVisitor(value, key, path) {
12605
12810
  let arr = value;
12811
+ if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
12812
+ formData.append(renderKey(path, key, dots), convertValue(value));
12813
+ return false;
12814
+ }
12606
12815
  if (value && !path && typeof value === "object") {
12607
12816
  if (utils$1.endsWith(key, "{}")) {
12608
12817
  key = metaTokens ? key : key.slice(0, -2);
@@ -12638,13 +12847,7 @@ var require_axios = __commonJS({
12638
12847
  }
12639
12848
  stack.push(value);
12640
12849
  utils$1.forEach(value, function each(el, key) {
12641
- const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(
12642
- formData,
12643
- el,
12644
- utils$1.isString(key) ? key.trim() : key,
12645
- path,
12646
- exposedHelpers
12647
- );
12850
+ const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
12648
12851
  if (result === true) {
12649
12852
  build(el, path ? path.concat(key) : [key]);
12650
12853
  }
@@ -12695,17 +12898,15 @@ var require_axios = __commonJS({
12695
12898
  return url2;
12696
12899
  }
12697
12900
  const _encode = options && options.encode || encode;
12698
- if (utils$1.isFunction(options)) {
12699
- options = {
12700
- serialize: options
12701
- };
12702
- }
12703
- const serializeFn = options && options.serialize;
12901
+ const _options = utils$1.isFunction(options) ? {
12902
+ serialize: options
12903
+ } : options;
12904
+ const serializeFn = _options && _options.serialize;
12704
12905
  let serializedParams;
12705
12906
  if (serializeFn) {
12706
- serializedParams = serializeFn(params, options);
12907
+ serializedParams = serializeFn(params, _options);
12707
12908
  } else {
12708
- serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, options).toString(_encode);
12909
+ serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
12709
12910
  }
12710
12911
  if (serializedParams) {
12711
12912
  const hashmarkIndex = url2.indexOf("#");
@@ -12725,6 +12926,7 @@ var require_axios = __commonJS({
12725
12926
  *
12726
12927
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
12727
12928
  * @param {Function} rejected The function to handle `reject` for a `Promise`
12929
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
12728
12930
  *
12729
12931
  * @return {Number} An ID used to remove interceptor later
12730
12932
  */
@@ -12781,7 +12983,8 @@ var require_axios = __commonJS({
12781
12983
  var transitionalDefaults = {
12782
12984
  silentJSONParsing: true,
12783
12985
  forcedJSONParsing: true,
12784
- clarifyTimeoutError: false
12986
+ clarifyTimeoutError: false,
12987
+ legacyInterceptorReqResOrdering: true
12785
12988
  };
12786
12989
  var URLSearchParams = url__default["default"].URLSearchParams;
12787
12990
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
@@ -12910,70 +13113,74 @@ var require_axios = __commonJS({
12910
13113
  var defaults = {
12911
13114
  transitional: transitionalDefaults,
12912
13115
  adapter: ["xhr", "http", "fetch"],
12913
- transformRequest: [function transformRequest(data, headers) {
12914
- const contentType = headers.getContentType() || "";
12915
- const hasJSONContentType = contentType.indexOf("application/json") > -1;
12916
- const isObjectPayload = utils$1.isObject(data);
12917
- if (isObjectPayload && utils$1.isHTMLForm(data)) {
12918
- data = new FormData(data);
12919
- }
12920
- const isFormData2 = utils$1.isFormData(data);
12921
- if (isFormData2) {
12922
- return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
12923
- }
12924
- if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
12925
- return data;
12926
- }
12927
- if (utils$1.isArrayBufferView(data)) {
12928
- return data.buffer;
12929
- }
12930
- if (utils$1.isURLSearchParams(data)) {
12931
- headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
12932
- return data.toString();
12933
- }
12934
- let isFileList2;
12935
- if (isObjectPayload) {
12936
- if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
12937
- return toURLEncodedForm(data, this.formSerializer).toString();
13116
+ transformRequest: [
13117
+ function transformRequest(data, headers) {
13118
+ const contentType = headers.getContentType() || "";
13119
+ const hasJSONContentType = contentType.indexOf("application/json") > -1;
13120
+ const isObjectPayload = utils$1.isObject(data);
13121
+ if (isObjectPayload && utils$1.isHTMLForm(data)) {
13122
+ data = new FormData(data);
13123
+ }
13124
+ const isFormData2 = utils$1.isFormData(data);
13125
+ if (isFormData2) {
13126
+ return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
13127
+ }
13128
+ if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
13129
+ return data;
12938
13130
  }
12939
- if ((isFileList2 = utils$1.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
12940
- const _FormData = this.env && this.env.FormData;
12941
- return toFormData(
12942
- isFileList2 ? { "files[]": data } : data,
12943
- _FormData && new _FormData(),
12944
- this.formSerializer
12945
- );
13131
+ if (utils$1.isArrayBufferView(data)) {
13132
+ return data.buffer;
13133
+ }
13134
+ if (utils$1.isURLSearchParams(data)) {
13135
+ headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
13136
+ return data.toString();
13137
+ }
13138
+ let isFileList2;
13139
+ if (isObjectPayload) {
13140
+ if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
13141
+ return toURLEncodedForm(data, this.formSerializer).toString();
13142
+ }
13143
+ if ((isFileList2 = utils$1.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
13144
+ const _FormData = this.env && this.env.FormData;
13145
+ return toFormData(
13146
+ isFileList2 ? { "files[]": data } : data,
13147
+ _FormData && new _FormData(),
13148
+ this.formSerializer
13149
+ );
13150
+ }
13151
+ }
13152
+ if (isObjectPayload || hasJSONContentType) {
13153
+ headers.setContentType("application/json", false);
13154
+ return stringifySafely(data);
12946
13155
  }
12947
- }
12948
- if (isObjectPayload || hasJSONContentType) {
12949
- headers.setContentType("application/json", false);
12950
- return stringifySafely(data);
12951
- }
12952
- return data;
12953
- }],
12954
- transformResponse: [function transformResponse(data) {
12955
- const transitional = this.transitional || defaults.transitional;
12956
- const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
12957
- const JSONRequested = this.responseType === "json";
12958
- if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
12959
13156
  return data;
12960
13157
  }
12961
- if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
12962
- const silentJSONParsing = transitional && transitional.silentJSONParsing;
12963
- const strictJSONParsing = !silentJSONParsing && JSONRequested;
12964
- try {
12965
- return JSON.parse(data, this.parseReviver);
12966
- } catch (e) {
12967
- if (strictJSONParsing) {
12968
- if (e.name === "SyntaxError") {
12969
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
13158
+ ],
13159
+ transformResponse: [
13160
+ function transformResponse(data) {
13161
+ const transitional = this.transitional || defaults.transitional;
13162
+ const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
13163
+ const JSONRequested = this.responseType === "json";
13164
+ if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
13165
+ return data;
13166
+ }
13167
+ if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
13168
+ const silentJSONParsing = transitional && transitional.silentJSONParsing;
13169
+ const strictJSONParsing = !silentJSONParsing && JSONRequested;
13170
+ try {
13171
+ return JSON.parse(data, this.parseReviver);
13172
+ } catch (e) {
13173
+ if (strictJSONParsing) {
13174
+ if (e.name === "SyntaxError") {
13175
+ throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
13176
+ }
13177
+ throw e;
12970
13178
  }
12971
- throw e;
12972
13179
  }
12973
13180
  }
13181
+ return data;
12974
13182
  }
12975
- return data;
12976
- }],
13183
+ ],
12977
13184
  /**
12978
13185
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
12979
13186
  * timeout is not created.
@@ -12992,7 +13199,7 @@ var require_axios = __commonJS({
12992
13199
  },
12993
13200
  headers: {
12994
13201
  common: {
12995
- "Accept": "application/json, text/plain, */*",
13202
+ Accept: "application/json, text/plain, */*",
12996
13203
  "Content-Type": void 0
12997
13204
  }
12998
13205
  }
@@ -13259,7 +13466,14 @@ var require_axios = __commonJS({
13259
13466
  return this;
13260
13467
  }
13261
13468
  };
13262
- AxiosHeaders.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
13469
+ AxiosHeaders.accessor([
13470
+ "Content-Type",
13471
+ "Content-Length",
13472
+ "Accept",
13473
+ "Accept-Encoding",
13474
+ "User-Agent",
13475
+ "Authorization"
13476
+ ]);
13263
13477
  utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
13264
13478
  let mapped = key[0].toUpperCase() + key.slice(1);
13265
13479
  return {
@@ -13285,28 +13499,43 @@ var require_axios = __commonJS({
13285
13499
  function isCancel(value) {
13286
13500
  return !!(value && value.__CANCEL__);
13287
13501
  }
13288
- function CanceledError(message, config, request) {
13289
- AxiosError.call(this, message == null ? "canceled" : message, AxiosError.ERR_CANCELED, config, request);
13290
- this.name = "CanceledError";
13291
- }
13292
- utils$1.inherits(CanceledError, AxiosError, {
13293
- __CANCEL__: true
13294
- });
13502
+ var CanceledError = class extends AxiosError$1 {
13503
+ /**
13504
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
13505
+ *
13506
+ * @param {string=} message The message.
13507
+ * @param {Object=} config The config.
13508
+ * @param {Object=} request The request.
13509
+ *
13510
+ * @returns {CanceledError} The created error.
13511
+ */
13512
+ constructor(message, config, request) {
13513
+ super(message == null ? "canceled" : message, AxiosError$1.ERR_CANCELED, config, request);
13514
+ this.name = "CanceledError";
13515
+ this.__CANCEL__ = true;
13516
+ }
13517
+ };
13518
+ var CanceledError$1 = CanceledError;
13295
13519
  function settle(resolve, reject, response) {
13296
13520
  const validateStatus = response.config.validateStatus;
13297
13521
  if (!response.status || !validateStatus || validateStatus(response.status)) {
13298
13522
  resolve(response);
13299
13523
  } else {
13300
- reject(new AxiosError(
13301
- "Request failed with status code " + response.status,
13302
- [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
13303
- response.config,
13304
- response.request,
13305
- response
13306
- ));
13524
+ reject(
13525
+ new AxiosError$1(
13526
+ "Request failed with status code " + response.status,
13527
+ [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
13528
+ response.config,
13529
+ response.request,
13530
+ response
13531
+ )
13532
+ );
13307
13533
  }
13308
13534
  }
13309
13535
  function isAbsoluteURL(url2) {
13536
+ if (typeof url2 !== "string") {
13537
+ return false;
13538
+ }
13310
13539
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
13311
13540
  }
13312
13541
  function combineURLs(baseURL, relativeURL) {
@@ -13319,7 +13548,7 @@ var require_axios = __commonJS({
13319
13548
  }
13320
13549
  return requestedURL;
13321
13550
  }
13322
- var VERSION = "1.13.2";
13551
+ var VERSION = "1.13.6";
13323
13552
  function parseProtocol(url2) {
13324
13553
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
13325
13554
  return match && match[1] || "";
@@ -13335,7 +13564,7 @@ var require_axios = __commonJS({
13335
13564
  uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
13336
13565
  const match = DATA_URL_PATTERN.exec(uri);
13337
13566
  if (!match) {
13338
- throw new AxiosError("Invalid URL", AxiosError.ERR_INVALID_URL);
13567
+ throw new AxiosError$1("Invalid URL", AxiosError$1.ERR_INVALID_URL);
13339
13568
  }
13340
13569
  const mime = match[1];
13341
13570
  const isBase64 = match[2];
@@ -13343,27 +13572,32 @@ var require_axios = __commonJS({
13343
13572
  const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? "base64" : "utf8");
13344
13573
  if (asBlob) {
13345
13574
  if (!_Blob) {
13346
- throw new AxiosError("Blob is not supported", AxiosError.ERR_NOT_SUPPORT);
13575
+ throw new AxiosError$1("Blob is not supported", AxiosError$1.ERR_NOT_SUPPORT);
13347
13576
  }
13348
13577
  return new _Blob([buffer], { type: mime });
13349
13578
  }
13350
13579
  return buffer;
13351
13580
  }
13352
- throw new AxiosError("Unsupported protocol " + protocol, AxiosError.ERR_NOT_SUPPORT);
13581
+ throw new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_NOT_SUPPORT);
13353
13582
  }
13354
13583
  var kInternals = /* @__PURE__ */ Symbol("internals");
13355
13584
  var AxiosTransformStream = class extends stream__default["default"].Transform {
13356
13585
  constructor(options) {
13357
- options = utils$1.toFlatObject(options, {
13358
- maxRate: 0,
13359
- chunkSize: 64 * 1024,
13360
- minChunkSize: 100,
13361
- timeWindow: 500,
13362
- ticksRate: 2,
13363
- samplesCount: 15
13364
- }, null, (prop, source) => {
13365
- return !utils$1.isUndefined(source[prop]);
13366
- });
13586
+ options = utils$1.toFlatObject(
13587
+ options,
13588
+ {
13589
+ maxRate: 0,
13590
+ chunkSize: 64 * 1024,
13591
+ minChunkSize: 100,
13592
+ timeWindow: 500,
13593
+ ticksRate: 2,
13594
+ samplesCount: 15
13595
+ },
13596
+ null,
13597
+ (prop, source) => {
13598
+ return !utils$1.isUndefined(source[prop]);
13599
+ }
13600
+ );
13367
13601
  super({
13368
13602
  readableHighWaterMark: options.chunkSize
13369
13603
  });
@@ -13446,9 +13680,12 @@ var require_axios = __commonJS({
13446
13680
  chunkRemainder = _chunk.subarray(maxChunkSize);
13447
13681
  _chunk = _chunk.subarray(0, maxChunkSize);
13448
13682
  }
13449
- pushChunk(_chunk, chunkRemainder ? () => {
13450
- process.nextTick(_callback, null, chunkRemainder);
13451
- } : _callback);
13683
+ pushChunk(
13684
+ _chunk,
13685
+ chunkRemainder ? () => {
13686
+ process.nextTick(_callback, null, chunkRemainder);
13687
+ } : _callback
13688
+ );
13452
13689
  };
13453
13690
  transformChunk(chunk, function transformNextChunk(err, _chunk) {
13454
13691
  if (err) {
@@ -13508,11 +13745,14 @@ var require_axios = __commonJS({
13508
13745
  yield CRLF_BYTES;
13509
13746
  }
13510
13747
  static escapeName(name) {
13511
- return String(name).replace(/[\r\n"]/g, (match) => ({
13512
- "\r": "%0D",
13513
- "\n": "%0A",
13514
- '"': "%22"
13515
- })[match]);
13748
+ return String(name).replace(
13749
+ /[\r\n"]/g,
13750
+ (match) => ({
13751
+ "\r": "%0D",
13752
+ "\n": "%0A",
13753
+ '"': "%22"
13754
+ })[match]
13755
+ );
13516
13756
  }
13517
13757
  };
13518
13758
  var formDataToStream = (form, headersHandler, options) => {
@@ -13544,13 +13784,15 @@ var require_axios = __commonJS({
13544
13784
  computedHeaders["Content-Length"] = contentLength;
13545
13785
  }
13546
13786
  headersHandler && headersHandler(computedHeaders);
13547
- return stream.Readable.from((async function* () {
13548
- for (const part of parts) {
13549
- yield boundaryBytes;
13550
- yield* part.encode();
13551
- }
13552
- yield footerBytes;
13553
- })());
13787
+ return stream.Readable.from(
13788
+ (async function* () {
13789
+ for (const part of parts) {
13790
+ yield boundaryBytes;
13791
+ yield* part.encode();
13792
+ }
13793
+ yield footerBytes;
13794
+ })()
13795
+ );
13554
13796
  };
13555
13797
  var formDataToStream$1 = formDataToStream;
13556
13798
  var ZlibHeaderTransformStream = class extends stream__default["default"].Transform {
@@ -13676,11 +13918,14 @@ var require_axios = __commonJS({
13676
13918
  };
13677
13919
  var progressEventDecorator = (total, throttled) => {
13678
13920
  const lengthComputable = total != null;
13679
- return [(loaded) => throttled[0]({
13680
- lengthComputable,
13681
- total,
13682
- loaded
13683
- }), throttled[1]];
13921
+ return [
13922
+ (loaded) => throttled[0]({
13923
+ lengthComputable,
13924
+ total,
13925
+ loaded
13926
+ }),
13927
+ throttled[1]
13928
+ ];
13684
13929
  };
13685
13930
  var asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
13686
13931
  function estimateDataURLDecodedBytes(url2) {
@@ -13755,9 +14000,12 @@ var require_axios = __commonJS({
13755
14000
  this.sessions = /* @__PURE__ */ Object.create(null);
13756
14001
  }
13757
14002
  getSession(authority, options) {
13758
- options = Object.assign({
13759
- sessionTimeout: 1e3
13760
- }, options);
14003
+ options = Object.assign(
14004
+ {
14005
+ sessionTimeout: 1e3
14006
+ },
14007
+ options
14008
+ );
13761
14009
  let authoritySessions = this.sessions[authority];
13762
14010
  if (authoritySessions) {
13763
14011
  let len = authoritySessions.length;
@@ -13811,10 +14059,7 @@ var require_axios = __commonJS({
13811
14059
  };
13812
14060
  }
13813
14061
  session.once("close", removeSession);
13814
- let entry = [
13815
- session,
13816
- options
13817
- ];
14062
+ let entry = [session, options];
13818
14063
  authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
13819
14064
  return session;
13820
14065
  }
@@ -13841,8 +14086,11 @@ var require_axios = __commonJS({
13841
14086
  proxy.auth = (proxy.username || "") + ":" + (proxy.password || "");
13842
14087
  }
13843
14088
  if (proxy.auth) {
13844
- if (proxy.auth.username || proxy.auth.password) {
14089
+ const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
14090
+ if (validProxyAuth) {
13845
14091
  proxy.auth = (proxy.auth.username || "") + ":" + (proxy.auth.password || "");
14092
+ } else if (typeof proxy.auth === "object") {
14093
+ throw new AxiosError$1("Invalid proxy authorization", AxiosError$1.ERR_BAD_OPTION, { proxy });
13846
14094
  }
13847
14095
  const base64 = Buffer.from(proxy.auth, "utf8").toString("base64");
13848
14096
  options.headers["Proxy-Authorization"] = "Basic " + base64;
@@ -13894,15 +14142,10 @@ var require_axios = __commonJS({
13894
14142
  var buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { address, family });
13895
14143
  var http2Transport = {
13896
14144
  request(options, cb) {
13897
- const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
14145
+ const authority = options.protocol + "//" + options.hostname + ":" + (options.port || (options.protocol === "https:" ? 443 : 80));
13898
14146
  const { http2Options, headers } = options;
13899
14147
  const session = http2Sessions.getSession(authority, http2Options);
13900
- const {
13901
- HTTP2_HEADER_SCHEME,
13902
- HTTP2_HEADER_METHOD,
13903
- HTTP2_HEADER_PATH,
13904
- HTTP2_HEADER_STATUS
13905
- } = http2__default["default"].constants;
14148
+ const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = http2__default["default"].constants;
13906
14149
  const http2Headers = {
13907
14150
  [HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
13908
14151
  [HTTP2_HEADER_METHOD]: options.method,
@@ -13955,7 +14198,10 @@ var require_axios = __commonJS({
13955
14198
  const abortEmitter = new events.EventEmitter();
13956
14199
  function abort(reason) {
13957
14200
  try {
13958
- abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
14201
+ abortEmitter.emit(
14202
+ "abort",
14203
+ !reason || reason.type ? new CanceledError$1(null, config, req) : reason
14204
+ );
13959
14205
  } catch (err) {
13960
14206
  console.warn("emit error", err);
13961
14207
  }
@@ -14001,11 +14247,13 @@ var require_axios = __commonJS({
14001
14247
  const dataUrl = String(config.url || fullPath || "");
14002
14248
  const estimated = estimateDataURLDecodedBytes(dataUrl);
14003
14249
  if (estimated > config.maxContentLength) {
14004
- return reject(new AxiosError(
14005
- "maxContentLength size of " + config.maxContentLength + " exceeded",
14006
- AxiosError.ERR_BAD_RESPONSE,
14007
- config
14008
- ));
14250
+ return reject(
14251
+ new AxiosError$1(
14252
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
14253
+ AxiosError$1.ERR_BAD_RESPONSE,
14254
+ config
14255
+ )
14256
+ );
14009
14257
  }
14010
14258
  }
14011
14259
  let convertedData;
@@ -14022,7 +14270,7 @@ var require_axios = __commonJS({
14022
14270
  Blob: config.env && config.env.Blob
14023
14271
  });
14024
14272
  } catch (err) {
14025
- throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
14273
+ throw AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config);
14026
14274
  }
14027
14275
  if (responseType === "text") {
14028
14276
  convertedData = convertedData.toString(responseEncoding);
@@ -14041,11 +14289,9 @@ var require_axios = __commonJS({
14041
14289
  });
14042
14290
  }
14043
14291
  if (supportedProtocols.indexOf(protocol) === -1) {
14044
- return reject(new AxiosError(
14045
- "Unsupported protocol " + protocol,
14046
- AxiosError.ERR_BAD_REQUEST,
14047
- config
14048
- ));
14292
+ return reject(
14293
+ new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_BAD_REQUEST, config)
14294
+ );
14049
14295
  }
14050
14296
  const headers = AxiosHeaders$1.from(config.headers).normalize();
14051
14297
  headers.set("User-Agent", "axios/" + VERSION, false);
@@ -14055,12 +14301,16 @@ var require_axios = __commonJS({
14055
14301
  let maxDownloadRate = void 0;
14056
14302
  if (utils$1.isSpecCompliantForm(data)) {
14057
14303
  const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
14058
- data = formDataToStream$1(data, (formHeaders) => {
14059
- headers.set(formHeaders);
14060
- }, {
14061
- tag: `axios-${VERSION}-boundary`,
14062
- boundary: userBoundary && userBoundary[1] || void 0
14063
- });
14304
+ data = formDataToStream$1(
14305
+ data,
14306
+ (formHeaders) => {
14307
+ headers.set(formHeaders);
14308
+ },
14309
+ {
14310
+ tag: `axios-${VERSION}-boundary`,
14311
+ boundary: userBoundary && userBoundary[1] || void 0
14312
+ }
14313
+ );
14064
14314
  } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
14065
14315
  headers.set(data.getHeaders());
14066
14316
  if (!headers.hasContentLength()) {
@@ -14081,19 +14331,23 @@ var require_axios = __commonJS({
14081
14331
  } else if (utils$1.isString(data)) {
14082
14332
  data = Buffer.from(data, "utf-8");
14083
14333
  } else {
14084
- return reject(new AxiosError(
14085
- "Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
14086
- AxiosError.ERR_BAD_REQUEST,
14087
- config
14088
- ));
14334
+ return reject(
14335
+ new AxiosError$1(
14336
+ "Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
14337
+ AxiosError$1.ERR_BAD_REQUEST,
14338
+ config
14339
+ )
14340
+ );
14089
14341
  }
14090
14342
  headers.setContentLength(data.length, false);
14091
14343
  if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
14092
- return reject(new AxiosError(
14093
- "Request body larger than maxBodyLength limit",
14094
- AxiosError.ERR_BAD_REQUEST,
14095
- config
14096
- ));
14344
+ return reject(
14345
+ new AxiosError$1(
14346
+ "Request body larger than maxBodyLength limit",
14347
+ AxiosError$1.ERR_BAD_REQUEST,
14348
+ config
14349
+ )
14350
+ );
14097
14351
  }
14098
14352
  }
14099
14353
  const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
@@ -14107,16 +14361,25 @@ var require_axios = __commonJS({
14107
14361
  if (!utils$1.isStream(data)) {
14108
14362
  data = stream__default["default"].Readable.from(data, { objectMode: false });
14109
14363
  }
14110
- data = stream__default["default"].pipeline([data, new AxiosTransformStream$1({
14111
- maxRate: utils$1.toFiniteNumber(maxUploadRate)
14112
- })], utils$1.noop);
14113
- onUploadProgress && data.on("progress", flushOnFinish(
14114
- data,
14115
- progressEventDecorator(
14116
- contentLength,
14117
- progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
14364
+ data = stream__default["default"].pipeline(
14365
+ [
14366
+ data,
14367
+ new AxiosTransformStream$1({
14368
+ maxRate: utils$1.toFiniteNumber(maxUploadRate)
14369
+ })
14370
+ ],
14371
+ utils$1.noop
14372
+ );
14373
+ onUploadProgress && data.on(
14374
+ "progress",
14375
+ flushOnFinish(
14376
+ data,
14377
+ progressEventDecorator(
14378
+ contentLength,
14379
+ progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
14380
+ )
14118
14381
  )
14119
- ));
14382
+ );
14120
14383
  }
14121
14384
  let auth = void 0;
14122
14385
  if (config.auth) {
@@ -14167,7 +14430,11 @@ var require_axios = __commonJS({
14167
14430
  } else {
14168
14431
  options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
14169
14432
  options.port = parsed.port;
14170
- setProxy(options, config.proxy, protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path);
14433
+ setProxy(
14434
+ options,
14435
+ config.proxy,
14436
+ protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path
14437
+ );
14171
14438
  }
14172
14439
  let transport;
14173
14440
  const isHttpsRequest = isHttps.test(options.protocol);
@@ -14205,13 +14472,16 @@ var require_axios = __commonJS({
14205
14472
  const transformStream = new AxiosTransformStream$1({
14206
14473
  maxRate: utils$1.toFiniteNumber(maxDownloadRate)
14207
14474
  });
14208
- onDownloadProgress && transformStream.on("progress", flushOnFinish(
14209
- transformStream,
14210
- progressEventDecorator(
14211
- responseLength,
14212
- progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
14475
+ onDownloadProgress && transformStream.on(
14476
+ "progress",
14477
+ flushOnFinish(
14478
+ transformStream,
14479
+ progressEventDecorator(
14480
+ responseLength,
14481
+ progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
14482
+ )
14213
14483
  )
14214
- ));
14484
+ );
14215
14485
  streams.push(transformStream);
14216
14486
  }
14217
14487
  let responseStream = res;
@@ -14261,21 +14531,23 @@ var require_axios = __commonJS({
14261
14531
  if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
14262
14532
  rejected = true;
14263
14533
  responseStream.destroy();
14264
- abort(new AxiosError(
14265
- "maxContentLength size of " + config.maxContentLength + " exceeded",
14266
- AxiosError.ERR_BAD_RESPONSE,
14267
- config,
14268
- lastRequest
14269
- ));
14534
+ abort(
14535
+ new AxiosError$1(
14536
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
14537
+ AxiosError$1.ERR_BAD_RESPONSE,
14538
+ config,
14539
+ lastRequest
14540
+ )
14541
+ );
14270
14542
  }
14271
14543
  });
14272
14544
  responseStream.on("aborted", function handlerStreamAborted() {
14273
14545
  if (rejected) {
14274
14546
  return;
14275
14547
  }
14276
- const err = new AxiosError(
14548
+ const err = new AxiosError$1(
14277
14549
  "stream has been aborted",
14278
- AxiosError.ERR_BAD_RESPONSE,
14550
+ AxiosError$1.ERR_BAD_RESPONSE,
14279
14551
  config,
14280
14552
  lastRequest
14281
14553
  );
@@ -14284,7 +14556,7 @@ var require_axios = __commonJS({
14284
14556
  });
14285
14557
  responseStream.on("error", function handleStreamError(err) {
14286
14558
  if (req.destroyed) return;
14287
- reject(AxiosError.from(err, null, config, lastRequest));
14559
+ reject(AxiosError$1.from(err, null, config, lastRequest));
14288
14560
  });
14289
14561
  responseStream.on("end", function handleStreamEnd() {
14290
14562
  try {
@@ -14297,7 +14569,7 @@ var require_axios = __commonJS({
14297
14569
  }
14298
14570
  response.data = responseData;
14299
14571
  } catch (err) {
14300
- return reject(AxiosError.from(err, null, config, response.request, response));
14572
+ return reject(AxiosError$1.from(err, null, config, response.request, response));
14301
14573
  }
14302
14574
  settle(resolve, reject, response);
14303
14575
  });
@@ -14317,7 +14589,7 @@ var require_axios = __commonJS({
14317
14589
  }
14318
14590
  });
14319
14591
  req.on("error", function handleRequestError(err) {
14320
- reject(AxiosError.from(err, null, config, req));
14592
+ reject(AxiosError$1.from(err, null, config, req));
14321
14593
  });
14322
14594
  req.on("socket", function handleRequestSocket(socket) {
14323
14595
  socket.setKeepAlive(true, 1e3 * 60);
@@ -14325,12 +14597,14 @@ var require_axios = __commonJS({
14325
14597
  if (config.timeout) {
14326
14598
  const timeout = parseInt(config.timeout, 10);
14327
14599
  if (Number.isNaN(timeout)) {
14328
- abort(new AxiosError(
14329
- "error trying to parse `config.timeout` to int",
14330
- AxiosError.ERR_BAD_OPTION_VALUE,
14331
- config,
14332
- req
14333
- ));
14600
+ abort(
14601
+ new AxiosError$1(
14602
+ "error trying to parse `config.timeout` to int",
14603
+ AxiosError$1.ERR_BAD_OPTION_VALUE,
14604
+ config,
14605
+ req
14606
+ )
14607
+ );
14334
14608
  return;
14335
14609
  }
14336
14610
  req.setTimeout(timeout, function handleRequestTimeout() {
@@ -14340,12 +14614,14 @@ var require_axios = __commonJS({
14340
14614
  if (config.timeoutErrorMessage) {
14341
14615
  timeoutErrorMessage = config.timeoutErrorMessage;
14342
14616
  }
14343
- abort(new AxiosError(
14344
- timeoutErrorMessage,
14345
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
14346
- config,
14347
- req
14348
- ));
14617
+ abort(
14618
+ new AxiosError$1(
14619
+ timeoutErrorMessage,
14620
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14621
+ config,
14622
+ req
14623
+ )
14624
+ );
14349
14625
  });
14350
14626
  } else {
14351
14627
  req.setTimeout(0);
@@ -14362,7 +14638,7 @@ var require_axios = __commonJS({
14362
14638
  });
14363
14639
  data.on("close", () => {
14364
14640
  if (!ended && !errored) {
14365
- abort(new CanceledError("Request stream has been aborted", config, req));
14641
+ abort(new CanceledError$1("Request stream has been aborted", config, req));
14366
14642
  }
14367
14643
  });
14368
14644
  data.pipe(req);
@@ -14495,7 +14771,8 @@ var require_axios = __commonJS({
14495
14771
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
14496
14772
  };
14497
14773
  utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
14498
- const merge2 = mergeMap[prop] || mergeDeepProperties;
14774
+ if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
14775
+ const merge2 = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
14499
14776
  const configValue = merge2(config1[prop], config2[prop], prop);
14500
14777
  utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
14501
14778
  });
@@ -14505,11 +14782,17 @@ var require_axios = __commonJS({
14505
14782
  const newConfig = mergeConfig({}, config);
14506
14783
  let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
14507
14784
  newConfig.headers = headers = AxiosHeaders$1.from(headers);
14508
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
14785
+ newConfig.url = buildURL(
14786
+ buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
14787
+ config.params,
14788
+ config.paramsSerializer
14789
+ );
14509
14790
  if (auth) {
14510
14791
  headers.set(
14511
14792
  "Authorization",
14512
- "Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
14793
+ "Basic " + btoa(
14794
+ (auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : "")
14795
+ )
14513
14796
  );
14514
14797
  }
14515
14798
  if (utils$1.isFormData(data)) {
@@ -14571,13 +14854,17 @@ var require_axios = __commonJS({
14571
14854
  config,
14572
14855
  request
14573
14856
  };
14574
- settle(function _resolve(value) {
14575
- resolve(value);
14576
- done();
14577
- }, function _reject(err) {
14578
- reject(err);
14579
- done();
14580
- }, response);
14857
+ settle(
14858
+ function _resolve(value) {
14859
+ resolve(value);
14860
+ done();
14861
+ },
14862
+ function _reject(err) {
14863
+ reject(err);
14864
+ done();
14865
+ },
14866
+ response
14867
+ );
14581
14868
  request = null;
14582
14869
  }
14583
14870
  if ("onloadend" in request) {
@@ -14597,12 +14884,12 @@ var require_axios = __commonJS({
14597
14884
  if (!request) {
14598
14885
  return;
14599
14886
  }
14600
- reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
14887
+ reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
14601
14888
  request = null;
14602
14889
  };
14603
14890
  request.onerror = function handleError(event) {
14604
14891
  const msg = event && event.message ? event.message : "Network Error";
14605
- const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
14892
+ const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
14606
14893
  err.event = event || null;
14607
14894
  reject(err);
14608
14895
  request = null;
@@ -14613,12 +14900,14 @@ var require_axios = __commonJS({
14613
14900
  if (_config.timeoutErrorMessage) {
14614
14901
  timeoutErrorMessage = _config.timeoutErrorMessage;
14615
14902
  }
14616
- reject(new AxiosError(
14617
- timeoutErrorMessage,
14618
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
14619
- config,
14620
- request
14621
- ));
14903
+ reject(
14904
+ new AxiosError$1(
14905
+ timeoutErrorMessage,
14906
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14907
+ config,
14908
+ request
14909
+ )
14910
+ );
14622
14911
  request = null;
14623
14912
  };
14624
14913
  requestData === void 0 && requestHeaders.setContentType(null);
@@ -14647,7 +14936,7 @@ var require_axios = __commonJS({
14647
14936
  if (!request) {
14648
14937
  return;
14649
14938
  }
14650
- reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
14939
+ reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
14651
14940
  request.abort();
14652
14941
  request = null;
14653
14942
  };
@@ -14658,7 +14947,13 @@ var require_axios = __commonJS({
14658
14947
  }
14659
14948
  const protocol = parseProtocol(_config.url);
14660
14949
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
14661
- reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config));
14950
+ reject(
14951
+ new AxiosError$1(
14952
+ "Unsupported protocol " + protocol + ":",
14953
+ AxiosError$1.ERR_BAD_REQUEST,
14954
+ config
14955
+ )
14956
+ );
14662
14957
  return;
14663
14958
  }
14664
14959
  request.send(requestData || null);
@@ -14674,12 +14969,14 @@ var require_axios = __commonJS({
14674
14969
  aborted = true;
14675
14970
  unsubscribe();
14676
14971
  const err = reason instanceof Error ? reason : this.reason;
14677
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
14972
+ controller.abort(
14973
+ err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err)
14974
+ );
14678
14975
  }
14679
14976
  };
14680
14977
  let timer = timeout && setTimeout(() => {
14681
14978
  timer = null;
14682
- onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
14979
+ onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
14683
14980
  }, timeout);
14684
14981
  const unsubscribe = () => {
14685
14982
  if (signals) {
@@ -14745,33 +15042,36 @@ var require_axios = __commonJS({
14745
15042
  onFinish && onFinish(e);
14746
15043
  }
14747
15044
  };
14748
- return new ReadableStream({
14749
- async pull(controller) {
14750
- try {
14751
- const { done: done2, value } = await iterator2.next();
14752
- if (done2) {
14753
- _onFinish();
14754
- controller.close();
14755
- return;
14756
- }
14757
- let len = value.byteLength;
14758
- if (onProgress) {
14759
- let loadedBytes = bytes += len;
14760
- onProgress(loadedBytes);
15045
+ return new ReadableStream(
15046
+ {
15047
+ async pull(controller) {
15048
+ try {
15049
+ const { done: done2, value } = await iterator2.next();
15050
+ if (done2) {
15051
+ _onFinish();
15052
+ controller.close();
15053
+ return;
15054
+ }
15055
+ let len = value.byteLength;
15056
+ if (onProgress) {
15057
+ let loadedBytes = bytes += len;
15058
+ onProgress(loadedBytes);
15059
+ }
15060
+ controller.enqueue(new Uint8Array(value));
15061
+ } catch (err) {
15062
+ _onFinish(err);
15063
+ throw err;
14761
15064
  }
14762
- controller.enqueue(new Uint8Array(value));
14763
- } catch (err) {
14764
- _onFinish(err);
14765
- throw err;
15065
+ },
15066
+ cancel(reason) {
15067
+ _onFinish(reason);
15068
+ return iterator2.return();
14766
15069
  }
14767
15070
  },
14768
- cancel(reason) {
14769
- _onFinish(reason);
14770
- return iterator2.return();
15071
+ {
15072
+ highWaterMark: 2
14771
15073
  }
14772
- }, {
14773
- highWaterMark: 2
14774
- });
15074
+ );
14775
15075
  };
14776
15076
  var DEFAULT_CHUNK_SIZE = 64 * 1024;
14777
15077
  var { isFunction } = utils$1;
@@ -14779,10 +15079,7 @@ var require_axios = __commonJS({
14779
15079
  Request,
14780
15080
  Response
14781
15081
  }))(utils$1.global);
14782
- var {
14783
- ReadableStream: ReadableStream$1,
14784
- TextEncoder: TextEncoder$1
14785
- } = utils$1.global;
15082
+ var { ReadableStream: ReadableStream$1, TextEncoder: TextEncoder$1 } = utils$1.global;
14786
15083
  var test = (fn, ...args) => {
14787
15084
  try {
14788
15085
  return !!fn(...args);
@@ -14791,9 +15088,13 @@ var require_axios = __commonJS({
14791
15088
  }
14792
15089
  };
14793
15090
  var factory = (env) => {
14794
- env = utils$1.merge.call({
14795
- skipUndefined: true
14796
- }, globalFetchAPI, env);
15091
+ env = utils$1.merge.call(
15092
+ {
15093
+ skipUndefined: true
15094
+ },
15095
+ globalFetchAPI,
15096
+ env
15097
+ );
14797
15098
  const { fetch: envFetch, Request, Response } = env;
14798
15099
  const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
14799
15100
  const isRequestSupported = isFunction(Request);
@@ -14826,7 +15127,11 @@ var require_axios = __commonJS({
14826
15127
  if (method) {
14827
15128
  return method.call(res);
14828
15129
  }
14829
- throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
15130
+ throw new AxiosError$1(
15131
+ `Response type '${type}' is not supported`,
15132
+ AxiosError$1.ERR_NOT_SUPPORT,
15133
+ config
15134
+ );
14830
15135
  });
14831
15136
  });
14832
15137
  })();
@@ -14875,7 +15180,10 @@ var require_axios = __commonJS({
14875
15180
  } = resolveConfig(config);
14876
15181
  let _fetch = envFetch || fetch;
14877
15182
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
14878
- let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
15183
+ let composedSignal = composeSignals$1(
15184
+ [signal, cancelToken && cancelToken.toAbortSignal()],
15185
+ timeout
15186
+ );
14879
15187
  let request = null;
14880
15188
  const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
14881
15189
  composedSignal.unsubscribe();
@@ -14935,7 +15243,10 @@ var require_axios = __commonJS({
14935
15243
  );
14936
15244
  }
14937
15245
  responseType = responseType || "text";
14938
- let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
15246
+ let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](
15247
+ response,
15248
+ config
15249
+ );
14939
15250
  !isStreamResponse && unsubscribe && unsubscribe();
14940
15251
  return await new Promise((resolve, reject) => {
14941
15252
  settle(resolve, reject, {
@@ -14951,13 +15262,19 @@ var require_axios = __commonJS({
14951
15262
  unsubscribe && unsubscribe();
14952
15263
  if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
14953
15264
  throw Object.assign(
14954
- new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
15265
+ new AxiosError$1(
15266
+ "Network Error",
15267
+ AxiosError$1.ERR_NETWORK,
15268
+ config,
15269
+ request,
15270
+ err && err.response
15271
+ ),
14955
15272
  {
14956
15273
  cause: err.cause || err
14957
15274
  }
14958
15275
  );
14959
15276
  }
14960
- throw AxiosError.from(err, err && err.code, config, request);
15277
+ throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
14961
15278
  }
14962
15279
  };
14963
15280
  };
@@ -14965,11 +15282,7 @@ var require_axios = __commonJS({
14965
15282
  var getFetch = (config) => {
14966
15283
  let env = config && config.env || {};
14967
15284
  const { fetch: fetch2, Request, Response } = env;
14968
- const seeds = [
14969
- Request,
14970
- Response,
14971
- fetch2
14972
- ];
15285
+ const seeds = [Request, Response, fetch2];
14973
15286
  let len = seeds.length, i = len, seed, target, map = seedCache;
14974
15287
  while (i--) {
14975
15288
  seed = seeds[i];
@@ -15011,7 +15324,7 @@ var require_axios = __commonJS({
15011
15324
  if (!isResolvedHandle(nameOrAdapter)) {
15012
15325
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
15013
15326
  if (adapter === void 0) {
15014
- throw new AxiosError(`Unknown adapter '${id}'`);
15327
+ throw new AxiosError$1(`Unknown adapter '${id}'`);
15015
15328
  }
15016
15329
  }
15017
15330
  if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
@@ -15024,7 +15337,7 @@ var require_axios = __commonJS({
15024
15337
  ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
15025
15338
  );
15026
15339
  let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
15027
- throw new AxiosError(
15340
+ throw new AxiosError$1(
15028
15341
  `There is no suitable adapter to dispatch the request ` + s,
15029
15342
  "ERR_NOT_SUPPORT"
15030
15343
  );
@@ -15048,43 +15361,39 @@ var require_axios = __commonJS({
15048
15361
  config.cancelToken.throwIfRequested();
15049
15362
  }
15050
15363
  if (config.signal && config.signal.aborted) {
15051
- throw new CanceledError(null, config);
15364
+ throw new CanceledError$1(null, config);
15052
15365
  }
15053
15366
  }
15054
15367
  function dispatchRequest(config) {
15055
15368
  throwIfCancellationRequested(config);
15056
15369
  config.headers = AxiosHeaders$1.from(config.headers);
15057
- config.data = transformData.call(
15058
- config,
15059
- config.transformRequest
15060
- );
15370
+ config.data = transformData.call(config, config.transformRequest);
15061
15371
  if (["post", "put", "patch"].indexOf(config.method) !== -1) {
15062
15372
  config.headers.setContentType("application/x-www-form-urlencoded", false);
15063
15373
  }
15064
15374
  const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
15065
- return adapter(config).then(function onAdapterResolution(response) {
15066
- throwIfCancellationRequested(config);
15067
- response.data = transformData.call(
15068
- config,
15069
- config.transformResponse,
15070
- response
15071
- );
15072
- response.headers = AxiosHeaders$1.from(response.headers);
15073
- return response;
15074
- }, function onAdapterRejection(reason) {
15075
- if (!isCancel(reason)) {
15375
+ return adapter(config).then(
15376
+ function onAdapterResolution(response) {
15076
15377
  throwIfCancellationRequested(config);
15077
- if (reason && reason.response) {
15078
- reason.response.data = transformData.call(
15079
- config,
15080
- config.transformResponse,
15081
- reason.response
15082
- );
15083
- reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
15378
+ response.data = transformData.call(config, config.transformResponse, response);
15379
+ response.headers = AxiosHeaders$1.from(response.headers);
15380
+ return response;
15381
+ },
15382
+ function onAdapterRejection(reason) {
15383
+ if (!isCancel(reason)) {
15384
+ throwIfCancellationRequested(config);
15385
+ if (reason && reason.response) {
15386
+ reason.response.data = transformData.call(
15387
+ config,
15388
+ config.transformResponse,
15389
+ reason.response
15390
+ );
15391
+ reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
15392
+ }
15084
15393
  }
15394
+ return Promise.reject(reason);
15085
15395
  }
15086
- return Promise.reject(reason);
15087
- });
15396
+ );
15088
15397
  }
15089
15398
  var validators$1 = {};
15090
15399
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
@@ -15099,9 +15408,9 @@ var require_axios = __commonJS({
15099
15408
  }
15100
15409
  return (value, opt, opts) => {
15101
15410
  if (validator2 === false) {
15102
- throw new AxiosError(
15411
+ throw new AxiosError$1(
15103
15412
  formatMessage(opt, " has been removed" + (version ? " in " + version : "")),
15104
- AxiosError.ERR_DEPRECATED
15413
+ AxiosError$1.ERR_DEPRECATED
15105
15414
  );
15106
15415
  }
15107
15416
  if (version && !deprecatedWarnings[opt]) {
@@ -15124,7 +15433,7 @@ var require_axios = __commonJS({
15124
15433
  };
15125
15434
  function assertOptions(options, schema, allowUnknown) {
15126
15435
  if (typeof options !== "object") {
15127
- throw new AxiosError("options must be an object", AxiosError.ERR_BAD_OPTION_VALUE);
15436
+ throw new AxiosError$1("options must be an object", AxiosError$1.ERR_BAD_OPTION_VALUE);
15128
15437
  }
15129
15438
  const keys = Object.keys(options);
15130
15439
  let i = keys.length;
@@ -15135,12 +15444,15 @@ var require_axios = __commonJS({
15135
15444
  const value = options[opt];
15136
15445
  const result = value === void 0 || validator2(value, opt, options);
15137
15446
  if (result !== true) {
15138
- throw new AxiosError("option " + opt + " must be " + result, AxiosError.ERR_BAD_OPTION_VALUE);
15447
+ throw new AxiosError$1(
15448
+ "option " + opt + " must be " + result,
15449
+ AxiosError$1.ERR_BAD_OPTION_VALUE
15450
+ );
15139
15451
  }
15140
15452
  continue;
15141
15453
  }
15142
15454
  if (allowUnknown !== true) {
15143
- throw new AxiosError("Unknown option " + opt, AxiosError.ERR_BAD_OPTION);
15455
+ throw new AxiosError$1("Unknown option " + opt, AxiosError$1.ERR_BAD_OPTION);
15144
15456
  }
15145
15457
  }
15146
15458
  }
@@ -15195,11 +15507,16 @@ var require_axios = __commonJS({
15195
15507
  config = mergeConfig(this.defaults, config);
15196
15508
  const { transitional, paramsSerializer, headers } = config;
15197
15509
  if (transitional !== void 0) {
15198
- validator.assertOptions(transitional, {
15199
- silentJSONParsing: validators.transitional(validators.boolean),
15200
- forcedJSONParsing: validators.transitional(validators.boolean),
15201
- clarifyTimeoutError: validators.transitional(validators.boolean)
15202
- }, false);
15510
+ validator.assertOptions(
15511
+ transitional,
15512
+ {
15513
+ silentJSONParsing: validators.transitional(validators.boolean),
15514
+ forcedJSONParsing: validators.transitional(validators.boolean),
15515
+ clarifyTimeoutError: validators.transitional(validators.boolean),
15516
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
15517
+ },
15518
+ false
15519
+ );
15203
15520
  }
15204
15521
  if (paramsSerializer != null) {
15205
15522
  if (utils$1.isFunction(paramsSerializer)) {
@@ -15207,10 +15524,14 @@ var require_axios = __commonJS({
15207
15524
  serialize: paramsSerializer
15208
15525
  };
15209
15526
  } else {
15210
- validator.assertOptions(paramsSerializer, {
15211
- encode: validators.function,
15212
- serialize: validators.function
15213
- }, true);
15527
+ validator.assertOptions(
15528
+ paramsSerializer,
15529
+ {
15530
+ encode: validators.function,
15531
+ serialize: validators.function
15532
+ },
15533
+ true
15534
+ );
15214
15535
  }
15215
15536
  }
15216
15537
  if (config.allowAbsoluteUrls !== void 0) ;
@@ -15219,21 +15540,19 @@ var require_axios = __commonJS({
15219
15540
  } else {
15220
15541
  config.allowAbsoluteUrls = true;
15221
15542
  }
15222
- validator.assertOptions(config, {
15223
- baseUrl: validators.spelling("baseURL"),
15224
- withXsrfToken: validators.spelling("withXSRFToken")
15225
- }, true);
15226
- config.method = (config.method || this.defaults.method || "get").toLowerCase();
15227
- let contextHeaders = headers && utils$1.merge(
15228
- headers.common,
15229
- headers[config.method]
15230
- );
15231
- headers && utils$1.forEach(
15232
- ["delete", "get", "head", "post", "put", "patch", "common"],
15233
- (method) => {
15234
- delete headers[method];
15235
- }
15543
+ validator.assertOptions(
15544
+ config,
15545
+ {
15546
+ baseUrl: validators.spelling("baseURL"),
15547
+ withXsrfToken: validators.spelling("withXSRFToken")
15548
+ },
15549
+ true
15236
15550
  );
15551
+ config.method = (config.method || this.defaults.method || "get").toLowerCase();
15552
+ let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
15553
+ headers && utils$1.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (method) => {
15554
+ delete headers[method];
15555
+ });
15237
15556
  config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
15238
15557
  const requestInterceptorChain = [];
15239
15558
  let synchronousRequestInterceptors = true;
@@ -15242,7 +15561,13 @@ var require_axios = __commonJS({
15242
15561
  return;
15243
15562
  }
15244
15563
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
15245
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
15564
+ const transitional2 = config.transitional || transitionalDefaults;
15565
+ const legacyInterceptorReqResOrdering = transitional2 && transitional2.legacyInterceptorReqResOrdering;
15566
+ if (legacyInterceptorReqResOrdering) {
15567
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
15568
+ } else {
15569
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
15570
+ }
15246
15571
  });
15247
15572
  const responseInterceptorChain = [];
15248
15573
  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
@@ -15294,24 +15619,28 @@ var require_axios = __commonJS({
15294
15619
  };
15295
15620
  utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoData(method) {
15296
15621
  Axios.prototype[method] = function(url2, config) {
15297
- return this.request(mergeConfig(config || {}, {
15298
- method,
15299
- url: url2,
15300
- data: (config || {}).data
15301
- }));
15622
+ return this.request(
15623
+ mergeConfig(config || {}, {
15624
+ method,
15625
+ url: url2,
15626
+ data: (config || {}).data
15627
+ })
15628
+ );
15302
15629
  };
15303
15630
  });
15304
15631
  utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method) {
15305
15632
  function generateHTTPMethod(isForm) {
15306
15633
  return function httpMethod(url2, data, config) {
15307
- return this.request(mergeConfig(config || {}, {
15308
- method,
15309
- headers: isForm ? {
15310
- "Content-Type": "multipart/form-data"
15311
- } : {},
15312
- url: url2,
15313
- data
15314
- }));
15634
+ return this.request(
15635
+ mergeConfig(config || {}, {
15636
+ method,
15637
+ headers: isForm ? {
15638
+ "Content-Type": "multipart/form-data"
15639
+ } : {},
15640
+ url: url2,
15641
+ data
15642
+ })
15643
+ );
15315
15644
  };
15316
15645
  }
15317
15646
  Axios.prototype[method] = generateHTTPMethod();
@@ -15351,7 +15680,7 @@ var require_axios = __commonJS({
15351
15680
  if (token.reason) {
15352
15681
  return;
15353
15682
  }
15354
- token.reason = new CanceledError(message, config, request);
15683
+ token.reason = new CanceledError$1(message, config, request);
15355
15684
  resolvePromise(token.reason);
15356
15685
  });
15357
15686
  }
@@ -15509,12 +15838,12 @@ var require_axios = __commonJS({
15509
15838
  }
15510
15839
  var axios = createInstance(defaults$1);
15511
15840
  axios.Axios = Axios$1;
15512
- axios.CanceledError = CanceledError;
15841
+ axios.CanceledError = CanceledError$1;
15513
15842
  axios.CancelToken = CancelToken$1;
15514
15843
  axios.isCancel = isCancel;
15515
15844
  axios.VERSION = VERSION;
15516
15845
  axios.toFormData = toFormData;
15517
- axios.AxiosError = AxiosError;
15846
+ axios.AxiosError = AxiosError$1;
15518
15847
  axios.Cancel = axios.CanceledError;
15519
15848
  axios.all = function all(promises) {
15520
15849
  return Promise.all(promises);
@@ -16439,209 +16768,10 @@ var require_p_retry = __commonJS({
16439
16768
  }
16440
16769
  });
16441
16770
 
16442
- // node_modules/@slack/web-api/dist/chat-stream.js
16443
- var require_chat_stream = __commonJS({
16444
- "node_modules/@slack/web-api/dist/chat-stream.js"(exports2) {
16445
- "use strict";
16446
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
16447
- function adopt(value) {
16448
- return value instanceof P ? value : new P(function(resolve) {
16449
- resolve(value);
16450
- });
16451
- }
16452
- return new (P || (P = Promise))(function(resolve, reject) {
16453
- function fulfilled(value) {
16454
- try {
16455
- step(generator.next(value));
16456
- } catch (e) {
16457
- reject(e);
16458
- }
16459
- }
16460
- function rejected(value) {
16461
- try {
16462
- step(generator["throw"](value));
16463
- } catch (e) {
16464
- reject(e);
16465
- }
16466
- }
16467
- function step(result) {
16468
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
16469
- }
16470
- step((generator = generator.apply(thisArg, _arguments || [])).next());
16471
- });
16472
- };
16473
- Object.defineProperty(exports2, "__esModule", { value: true });
16474
- exports2.ChatStreamer = void 0;
16475
- var ChatStreamer = class {
16476
- /**
16477
- * Instantiate a new chat streamer.
16478
- *
16479
- * @description The "constructor" method creates a unique {@link ChatStreamer} instance that keeps track of one chat stream.
16480
- * @example
16481
- * const client = new WebClient(process.env.SLACK_BOT_TOKEN);
16482
- * const logger = new ConsoleLogger();
16483
- * const args = {
16484
- * channel: "C0123456789",
16485
- * thread_ts: "1700000001.123456",
16486
- * recipient_team_id: "T0123456789",
16487
- * recipient_user_id: "U0123456789",
16488
- * };
16489
- * const streamer = new ChatStreamer(client, logger, args, { buffer_size: 512 });
16490
- * await streamer.append({
16491
- * markdown_text: "**hello world!**",
16492
- * });
16493
- * await streamer.stop();
16494
- * @see {@link https://docs.slack.dev/reference/methods/chat.startStream}
16495
- * @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
16496
- * @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
16497
- */
16498
- constructor(client, logger, args, options) {
16499
- var _a;
16500
- this.buffer = "";
16501
- this.client = client;
16502
- this.logger = logger;
16503
- this.options = {
16504
- buffer_size: (_a = options.buffer_size) !== null && _a !== void 0 ? _a : 256
16505
- };
16506
- this.state = "starting";
16507
- this.streamArgs = args;
16508
- }
16509
- /**
16510
- * Append to the stream.
16511
- *
16512
- * @description The "append" method appends to the chat stream being used. This method can be called multiple times. After the stream is stopped this method cannot be called.
16513
- * @example
16514
- * const streamer = client.chatStream({
16515
- * channel: "C0123456789",
16516
- * thread_ts: "1700000001.123456",
16517
- * recipient_team_id: "T0123456789",
16518
- * recipient_user_id: "U0123456789",
16519
- * });
16520
- * await streamer.append({
16521
- * markdown_text: "**hello wo",
16522
- * });
16523
- * await streamer.append({
16524
- * markdown_text: "rld!**",
16525
- * });
16526
- * await streamer.stop();
16527
- * @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
16528
- */
16529
- append(args) {
16530
- return __awaiter(this, void 0, void 0, function* () {
16531
- if (this.state === "completed") {
16532
- throw new Error(`failed to append stream: stream state is ${this.state}`);
16533
- }
16534
- if (args.token) {
16535
- this.token = args.token;
16536
- }
16537
- this.buffer += args.markdown_text;
16538
- if (this.buffer.length >= this.options.buffer_size) {
16539
- return yield this.flushBuffer(args);
16540
- }
16541
- const details = {
16542
- bufferLength: this.buffer.length,
16543
- bufferSize: this.options.buffer_size,
16544
- channel: this.streamArgs.channel,
16545
- recipientTeamId: this.streamArgs.recipient_team_id,
16546
- recipientUserId: this.streamArgs.recipient_user_id,
16547
- threadTs: this.streamArgs.thread_ts
16548
- };
16549
- this.logger.debug(`ChatStreamer appended to buffer: ${JSON.stringify(details)}`);
16550
- return null;
16551
- });
16552
- }
16553
- /**
16554
- * Stop the stream and finalize the message.
16555
- *
16556
- * @description The "stop" method stops the chat stream being used. This method can be called once to end the stream. Additional "blocks" and "metadata" can be provided.
16557
- *
16558
- * @example
16559
- * const streamer = client.chatStream({
16560
- * channel: "C0123456789",
16561
- * thread_ts: "1700000001.123456",
16562
- * recipient_team_id: "T0123456789",
16563
- * recipient_user_id: "U0123456789",
16564
- * });
16565
- * await streamer.append({
16566
- * markdown_text: "**hello world!**",
16567
- * });
16568
- * await streamer.stop();
16569
- * @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
16570
- */
16571
- stop(args) {
16572
- return __awaiter(this, void 0, void 0, function* () {
16573
- if (this.state === "completed") {
16574
- throw new Error(`failed to stop stream: stream state is ${this.state}`);
16575
- }
16576
- if (args === null || args === void 0 ? void 0 : args.token) {
16577
- this.token = args.token;
16578
- }
16579
- if (args === null || args === void 0 ? void 0 : args.markdown_text) {
16580
- this.buffer += args.markdown_text;
16581
- }
16582
- if (!this.streamTs) {
16583
- const response2 = yield this.client.chat.startStream(Object.assign(Object.assign({}, this.streamArgs), { token: this.token }));
16584
- if (!response2.ts) {
16585
- throw new Error("failed to stop stream: stream not started");
16586
- }
16587
- this.streamTs = response2.ts;
16588
- this.state = "in_progress";
16589
- }
16590
- const response = yield this.client.chat.stopStream(Object.assign(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs }, args), { markdown_text: this.buffer }));
16591
- this.state = "completed";
16592
- return response;
16593
- });
16594
- }
16595
- flushBuffer(args) {
16596
- return __awaiter(this, void 0, void 0, function* () {
16597
- if (!this.streamTs) {
16598
- const response2 = yield this.client.chat.startStream(Object.assign(Object.assign(Object.assign(Object.assign({}, this.streamArgs), { token: this.token }), args), { markdown_text: this.buffer }));
16599
- this.buffer = "";
16600
- this.streamTs = response2.ts;
16601
- this.state = "in_progress";
16602
- return response2;
16603
- }
16604
- const response = yield this.client.chat.appendStream(Object.assign(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs }, args), { markdown_text: this.buffer }));
16605
- this.buffer = "";
16606
- return response;
16607
- });
16608
- }
16609
- };
16610
- exports2.ChatStreamer = ChatStreamer;
16611
- }
16612
- });
16613
-
16614
16771
  // node_modules/@slack/web-api/dist/file-upload.js
16615
16772
  var require_file_upload = __commonJS({
16616
16773
  "node_modules/@slack/web-api/dist/file-upload.js"(exports2) {
16617
16774
  "use strict";
16618
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
16619
- function adopt(value) {
16620
- return value instanceof P ? value : new P(function(resolve) {
16621
- resolve(value);
16622
- });
16623
- }
16624
- return new (P || (P = Promise))(function(resolve, reject) {
16625
- function fulfilled(value) {
16626
- try {
16627
- step(generator.next(value));
16628
- } catch (e) {
16629
- reject(e);
16630
- }
16631
- }
16632
- function rejected(value) {
16633
- try {
16634
- step(generator["throw"](value));
16635
- } catch (e) {
16636
- reject(e);
16637
- }
16638
- }
16639
- function step(result) {
16640
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
16641
- }
16642
- step((generator = generator.apply(thisArg, _arguments || [])).next());
16643
- });
16644
- };
16645
16775
  Object.defineProperty(exports2, "__esModule", { value: true });
16646
16776
  exports2.getFileUploadJob = getFileUploadJob;
16647
16777
  exports2.getMultipleFileUploadJobs = getMultipleFileUploadJobs;
@@ -16669,94 +16799,88 @@ var require_file_upload = __commonJS({
16669
16799
  var node_fs_1 = require("node:fs");
16670
16800
  var node_stream_1 = require("node:stream");
16671
16801
  var errors_1 = require_errors();
16672
- function getFileUploadJob(options, logger) {
16673
- return __awaiter(this, void 0, void 0, function* () {
16674
- var _a, _b, _c, _d;
16675
- warnIfLegacyFileType(options, logger);
16676
- warnIfChannels(options, logger);
16677
- errorIfChannelsCsv(options);
16678
- const fileName = warnIfMissingOrInvalidFileNameAndDefault(options, logger);
16679
- const fileData = yield getFileData(options);
16680
- const fileDataBytesLength = getFileDataLength(fileData);
16681
- const fileUploadJob = {
16682
- // supplied by user
16683
- alt_text: options.alt_text,
16684
- blocks: options.blocks,
16685
- channel_id: (_a = options.channels) !== null && _a !== void 0 ? _a : options.channel_id,
16686
- filename: (_b = options.filename) !== null && _b !== void 0 ? _b : fileName,
16687
- initial_comment: options.initial_comment,
16688
- snippet_type: options.snippet_type,
16689
- title: (_d = (_c = options.title) !== null && _c !== void 0 ? _c : options.filename) !== null && _d !== void 0 ? _d : fileName,
16690
- // default title to filename unless otherwise specified
16691
- // calculated
16692
- data: fileData,
16693
- length: fileDataBytesLength
16694
- };
16695
- if ("thread_ts" in options) {
16696
- fileUploadJob.thread_ts = options.thread_ts;
16697
- }
16698
- if ("token" in options) {
16699
- fileUploadJob.token = options.token;
16700
- }
16701
- if ("content" in options) {
16702
- return Object.assign({ content: options.content }, fileUploadJob);
16703
- }
16704
- if ("file" in options) {
16705
- return Object.assign({ file: options.file }, fileUploadJob);
16706
- }
16707
- throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16708
- });
16802
+ async function getFileUploadJob(options, logger) {
16803
+ var _a, _b, _c, _d;
16804
+ warnIfLegacyFileType(options, logger);
16805
+ warnIfChannels(options, logger);
16806
+ errorIfChannelsCsv(options);
16807
+ const fileName = warnIfMissingOrInvalidFileNameAndDefault(options, logger);
16808
+ const fileData = await getFileData(options);
16809
+ const fileDataBytesLength = getFileDataLength(fileData);
16810
+ const fileUploadJob = {
16811
+ // supplied by user
16812
+ alt_text: options.alt_text,
16813
+ blocks: options.blocks,
16814
+ channel_id: (_a = options.channels) !== null && _a !== void 0 ? _a : options.channel_id,
16815
+ filename: (_b = options.filename) !== null && _b !== void 0 ? _b : fileName,
16816
+ initial_comment: options.initial_comment,
16817
+ snippet_type: options.snippet_type,
16818
+ title: (_d = (_c = options.title) !== null && _c !== void 0 ? _c : options.filename) !== null && _d !== void 0 ? _d : fileName,
16819
+ // default title to filename unless otherwise specified
16820
+ // calculated
16821
+ data: fileData,
16822
+ length: fileDataBytesLength
16823
+ };
16824
+ if ("thread_ts" in options) {
16825
+ fileUploadJob.thread_ts = options.thread_ts;
16826
+ }
16827
+ if ("token" in options) {
16828
+ fileUploadJob.token = options.token;
16829
+ }
16830
+ if ("content" in options) {
16831
+ return Object.assign({ content: options.content }, fileUploadJob);
16832
+ }
16833
+ if ("file" in options) {
16834
+ return Object.assign({ file: options.file }, fileUploadJob);
16835
+ }
16836
+ throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16709
16837
  }
16710
- function getMultipleFileUploadJobs(options, logger) {
16711
- return __awaiter(this, void 0, void 0, function* () {
16712
- if ("file_uploads" in options) {
16713
- return Promise.all(options.file_uploads.map((upload) => {
16714
- const { blocks, channel_id, channels, initial_comment, thread_ts } = upload;
16715
- if (blocks || channel_id || channels || initial_comment || thread_ts) {
16716
- throw (0, errors_1.errorWithCode)(new Error(buildInvalidFilesUploadParamError()), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16717
- }
16718
- const uploadJobArgs = Object.assign(Object.assign({}, upload), { blocks: options.blocks, channels: options.channels, channel_id: options.channel_id, initial_comment: options.initial_comment });
16719
- if ("thread_ts" in options) {
16720
- uploadJobArgs.thread_ts = options.thread_ts;
16721
- }
16722
- if ("token" in options) {
16723
- uploadJobArgs.token = options.token;
16724
- }
16725
- if ("content" in upload) {
16726
- return getFileUploadJob(Object.assign({ content: upload.content }, uploadJobArgs), logger);
16727
- }
16728
- if ("file" in upload) {
16729
- return getFileUploadJob(Object.assign({ file: upload.file }, uploadJobArgs), logger);
16730
- }
16731
- throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16732
- }));
16733
- }
16734
- throw new Error(buildFilesUploadMissingMessage());
16735
- });
16838
+ async function getMultipleFileUploadJobs(options, logger) {
16839
+ if ("file_uploads" in options) {
16840
+ return Promise.all(options.file_uploads.map((upload) => {
16841
+ const { blocks, channel_id, channels, initial_comment, thread_ts } = upload;
16842
+ if (blocks || channel_id || channels || initial_comment || thread_ts) {
16843
+ throw (0, errors_1.errorWithCode)(new Error(buildInvalidFilesUploadParamError()), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16844
+ }
16845
+ const uploadJobArgs = Object.assign(Object.assign({}, upload), { blocks: options.blocks, channels: options.channels, channel_id: options.channel_id, initial_comment: options.initial_comment });
16846
+ if ("thread_ts" in options) {
16847
+ uploadJobArgs.thread_ts = options.thread_ts;
16848
+ }
16849
+ if ("token" in options) {
16850
+ uploadJobArgs.token = options.token;
16851
+ }
16852
+ if ("content" in upload) {
16853
+ return getFileUploadJob(Object.assign({ content: upload.content }, uploadJobArgs), logger);
16854
+ }
16855
+ if ("file" in upload) {
16856
+ return getFileUploadJob(Object.assign({ file: upload.file }, uploadJobArgs), logger);
16857
+ }
16858
+ throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16859
+ }));
16860
+ }
16861
+ throw new Error(buildFilesUploadMissingMessage());
16736
16862
  }
16737
- function getFileData(options) {
16738
- return __awaiter(this, void 0, void 0, function* () {
16739
- errorIfInvalidOrMissingFileData(options);
16740
- if ("file" in options) {
16741
- const { file } = options;
16742
- if (Buffer.isBuffer(file))
16743
- return file;
16744
- if (typeof file === "string") {
16745
- try {
16746
- const dataBuffer = (0, node_fs_1.readFileSync)(file);
16747
- return dataBuffer;
16748
- } catch (_err) {
16749
- throw (0, errors_1.errorWithCode)(new Error(`Unable to resolve file data for ${file}. Please supply a filepath string, or binary data Buffer or String directly.`), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16750
- }
16863
+ async function getFileData(options) {
16864
+ errorIfInvalidOrMissingFileData(options);
16865
+ if ("file" in options) {
16866
+ const { file } = options;
16867
+ if (Buffer.isBuffer(file))
16868
+ return file;
16869
+ if (typeof file === "string") {
16870
+ try {
16871
+ const dataBuffer = (0, node_fs_1.readFileSync)(file);
16872
+ return dataBuffer;
16873
+ } catch (_err) {
16874
+ throw (0, errors_1.errorWithCode)(new Error(`Unable to resolve file data for ${file}. Please supply a filepath string, or binary data Buffer or String directly.`), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16751
16875
  }
16752
- const data = yield getFileDataAsStream(file);
16753
- if (data)
16754
- return data;
16755
16876
  }
16756
- if ("content" in options)
16757
- return Buffer.from(options.content);
16758
- throw (0, errors_1.errorWithCode)(new Error("There was an issue getting the file data for the file or content supplied"), errors_1.ErrorCode.FileUploadReadFileDataError);
16759
- });
16877
+ const data = await getFileDataAsStream(file);
16878
+ if (data)
16879
+ return data;
16880
+ }
16881
+ if ("content" in options)
16882
+ return Buffer.from(options.content);
16883
+ throw (0, errors_1.errorWithCode)(new Error("There was an issue getting the file data for the file or content supplied"), errors_1.ErrorCode.FileUploadReadFileDataError);
16760
16884
  }
16761
16885
  function getFileDataLength(data) {
16762
16886
  if (data) {
@@ -16764,25 +16888,23 @@ var require_file_upload = __commonJS({
16764
16888
  }
16765
16889
  throw (0, errors_1.errorWithCode)(new Error(buildFileSizeErrorMsg()), errors_1.ErrorCode.FileUploadReadFileDataError);
16766
16890
  }
16767
- function getFileDataAsStream(readable) {
16768
- return __awaiter(this, void 0, void 0, function* () {
16769
- const chunks = [];
16770
- return new Promise((resolve, reject) => {
16771
- readable.on("readable", () => {
16772
- let chunk = readable.read();
16773
- while (chunk !== null) {
16774
- chunks.push(chunk);
16775
- chunk = readable.read();
16776
- }
16777
- });
16778
- readable.on("end", () => {
16779
- if (chunks.length > 0) {
16780
- const content = Buffer.concat(chunks);
16781
- resolve(content);
16782
- } else {
16783
- reject(Error("No data in supplied file"));
16784
- }
16785
- });
16891
+ async function getFileDataAsStream(readable) {
16892
+ const chunks = [];
16893
+ return new Promise((resolve, reject) => {
16894
+ readable.on("readable", () => {
16895
+ let chunk = readable.read();
16896
+ while (chunk !== null) {
16897
+ chunks.push(chunk);
16898
+ chunk = readable.read();
16899
+ }
16900
+ });
16901
+ readable.on("end", () => {
16902
+ if (chunks.length > 0) {
16903
+ const content = Buffer.concat(chunks);
16904
+ resolve(content);
16905
+ } else {
16906
+ reject(Error("No data in supplied file"));
16907
+ }
16786
16908
  });
16787
16909
  });
16788
16910
  }
@@ -17126,6 +17248,14 @@ var require_calls = __commonJS({
17126
17248
  }
17127
17249
  });
17128
17250
 
17251
+ // node_modules/@slack/types/dist/chunk.js
17252
+ var require_chunk = __commonJS({
17253
+ "node_modules/@slack/types/dist/chunk.js"(exports2) {
17254
+ "use strict";
17255
+ Object.defineProperty(exports2, "__esModule", { value: true });
17256
+ }
17257
+ });
17258
+
17129
17259
  // node_modules/@slack/types/dist/dialog.js
17130
17260
  var require_dialog = __commonJS({
17131
17261
  "node_modules/@slack/types/dist/dialog.js"(exports2) {
@@ -17466,6 +17596,7 @@ var require_dist3 = __commonJS({
17466
17596
  __exportStar(require_composition_objects(), exports2);
17467
17597
  __exportStar(require_extensions(), exports2);
17468
17598
  __exportStar(require_calls(), exports2);
17599
+ __exportStar(require_chunk(), exports2);
17469
17600
  __exportStar(require_dialog(), exports2);
17470
17601
  __exportStar(require_events(), exports2);
17471
17602
  __exportStar(require_message_attachments(), exports2);
@@ -18136,7 +18267,16 @@ var require_methods = __commonJS({
18136
18267
  * @description Uninstalls your app from a workspace.
18137
18268
  * @see {@link https://docs.slack.dev/reference/methods/apps.uninstall `apps.uninstall` API reference}.
18138
18269
  */
18139
- uninstall: bindApiCall(this, "apps.uninstall")
18270
+ uninstall: bindApiCall(this, "apps.uninstall"),
18271
+ user: {
18272
+ connection: {
18273
+ /**
18274
+ * @description Updates the connection status between a user and an app.
18275
+ * @see {@link https://docs.slack.dev/reference/methods/apps.user.connection.update `apps.user.connection.update` API reference}.
18276
+ */
18277
+ update: bindApiCall(this, "apps.user.connection.update")
18278
+ }
18279
+ }
18140
18280
  };
18141
18281
  this.auth = {
18142
18282
  /**
@@ -19141,33 +19281,6 @@ var require_WebClient = __commonJS({
19141
19281
  return result;
19142
19282
  };
19143
19283
  })();
19144
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
19145
- function adopt(value) {
19146
- return value instanceof P ? value : new P(function(resolve) {
19147
- resolve(value);
19148
- });
19149
- }
19150
- return new (P || (P = Promise))(function(resolve, reject) {
19151
- function fulfilled(value) {
19152
- try {
19153
- step(generator.next(value));
19154
- } catch (e) {
19155
- reject(e);
19156
- }
19157
- }
19158
- function rejected(value) {
19159
- try {
19160
- step(generator["throw"](value));
19161
- } catch (e) {
19162
- reject(e);
19163
- }
19164
- }
19165
- function step(result) {
19166
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
19167
- }
19168
- step((generator = generator.apply(thisArg, _arguments || [])).next());
19169
- });
19170
- };
19171
19284
  var __await = exports2 && exports2.__await || function(v) {
19172
19285
  return this instanceof __await ? (this.v = v, this) : new __await(v);
19173
19286
  };
@@ -19345,54 +19458,52 @@ var require_WebClient = __commonJS({
19345
19458
  * @param method - the Web API method to call {@link https://docs.slack.dev/reference/methods}
19346
19459
  * @param options - options
19347
19460
  */
19348
- apiCall(method_1) {
19349
- return __awaiter(this, arguments, void 0, function* (method, options = {}) {
19350
- this.logger.debug(`apiCall('${method}') start`);
19351
- warnDeprecations(method, this.logger);
19352
- warnIfFallbackIsMissing(method, this.logger, options);
19353
- warnIfThreadTsIsNotString(method, this.logger, options);
19354
- if (typeof options === "string" || typeof options === "number" || typeof options === "boolean") {
19355
- throw new TypeError(`Expected an options argument but instead received a ${typeof options}`);
19356
- }
19357
- (0, file_upload_1.warnIfNotUsingFilesUploadV2)(method, this.logger);
19358
- if (method === "files.uploadV2")
19359
- return this.filesUploadV2(options);
19360
- const headers = {};
19361
- if (options.token)
19362
- headers.Authorization = `Bearer ${options.token}`;
19363
- const url = this.deriveRequestUrl(method);
19364
- const response = yield this.makeRequest(url, Object.assign({ team_id: this.teamId }, options), headers);
19365
- const result = yield this.buildResult(response);
19366
- this.logger.debug(`http request result: ${JSON.stringify(result)}`);
19367
- if (result.response_metadata !== void 0 && result.response_metadata.warnings !== void 0) {
19368
- result.response_metadata.warnings.forEach(this.logger.warn.bind(this.logger));
19369
- }
19370
- if (result.response_metadata !== void 0 && result.response_metadata.messages !== void 0) {
19371
- for (const msg of result.response_metadata.messages) {
19372
- const errReg = /\[ERROR\](.*)/;
19373
- const warnReg = /\[WARN\](.*)/;
19374
- if (errReg.test(msg)) {
19375
- const errMatch = msg.match(errReg);
19376
- if (errMatch != null) {
19377
- this.logger.error(errMatch[1].trim());
19378
- }
19379
- } else if (warnReg.test(msg)) {
19380
- const warnMatch = msg.match(warnReg);
19381
- if (warnMatch != null) {
19382
- this.logger.warn(warnMatch[1].trim());
19383
- }
19461
+ async apiCall(method, options = {}) {
19462
+ this.logger.debug(`apiCall('${method}') start`);
19463
+ warnDeprecations(method, this.logger);
19464
+ warnIfFallbackIsMissing(method, this.logger, options);
19465
+ warnIfThreadTsIsNotString(method, this.logger, options);
19466
+ if (typeof options === "string" || typeof options === "number" || typeof options === "boolean") {
19467
+ throw new TypeError(`Expected an options argument but instead received a ${typeof options}`);
19468
+ }
19469
+ (0, file_upload_1.warnIfNotUsingFilesUploadV2)(method, this.logger);
19470
+ if (method === "files.uploadV2")
19471
+ return this.filesUploadV2(options);
19472
+ const headers = {};
19473
+ if (options.token)
19474
+ headers.Authorization = `Bearer ${options.token}`;
19475
+ const url = this.deriveRequestUrl(method);
19476
+ const response = await this.makeRequest(url, Object.assign({ team_id: this.teamId }, options), headers);
19477
+ const result = await this.buildResult(response);
19478
+ this.logger.debug(`http request result: ${JSON.stringify(result)}`);
19479
+ if (result.response_metadata !== void 0 && result.response_metadata.warnings !== void 0) {
19480
+ result.response_metadata.warnings.forEach(this.logger.warn.bind(this.logger));
19481
+ }
19482
+ if (result.response_metadata !== void 0 && result.response_metadata.messages !== void 0) {
19483
+ for (const msg of result.response_metadata.messages) {
19484
+ const errReg = /\[ERROR\](.*)/;
19485
+ const warnReg = /\[WARN\](.*)/;
19486
+ if (errReg.test(msg)) {
19487
+ const errMatch = msg.match(errReg);
19488
+ if (errMatch != null) {
19489
+ this.logger.error(errMatch[1].trim());
19490
+ }
19491
+ } else if (warnReg.test(msg)) {
19492
+ const warnMatch = msg.match(warnReg);
19493
+ if (warnMatch != null) {
19494
+ this.logger.warn(warnMatch[1].trim());
19384
19495
  }
19385
19496
  }
19386
19497
  }
19387
- if (!result.ok && response.headers["content-type"] !== "application/gzip") {
19388
- throw (0, errors_1.platformErrorFromResult)(result);
19389
- }
19390
- if ("ok" in result && result.ok === false) {
19391
- throw (0, errors_1.platformErrorFromResult)(result);
19392
- }
19393
- this.logger.debug(`apiCall('${method}') end`);
19394
- return result;
19395
- });
19498
+ }
19499
+ if (!result.ok && response.headers["content-type"] !== "application/gzip") {
19500
+ throw (0, errors_1.platformErrorFromResult)(result);
19501
+ }
19502
+ if ("ok" in result && result.ok === false) {
19503
+ throw (0, errors_1.platformErrorFromResult)(result);
19504
+ }
19505
+ this.logger.debug(`apiCall('${method}') end`);
19506
+ return result;
19396
19507
  }
19397
19508
  paginate(method, options, shouldStop, reduce) {
19398
19509
  const pageSize = (() => {
@@ -19424,10 +19535,10 @@ var require_WebClient = __commonJS({
19424
19535
  }
19425
19536
  const pageReducer = reduce !== void 0 ? reduce : noopPageReducer;
19426
19537
  let index = 0;
19427
- return (() => __awaiter(this, void 0, void 0, function* () {
19538
+ return (async () => {
19428
19539
  var _a, e_1, _b, _c;
19429
19540
  const pageIterator = generatePages.call(this);
19430
- const firstIteratorResult = yield pageIterator.next(void 0);
19541
+ const firstIteratorResult = await pageIterator.next(void 0);
19431
19542
  const firstPage = firstIteratorResult.value;
19432
19543
  let accumulator = pageReducer(void 0, firstPage, index);
19433
19544
  index += 1;
@@ -19435,7 +19546,7 @@ var require_WebClient = __commonJS({
19435
19546
  return accumulator;
19436
19547
  }
19437
19548
  try {
19438
- for (var _d = true, pageIterator_1 = __asyncValues(pageIterator), pageIterator_1_1; pageIterator_1_1 = yield pageIterator_1.next(), _a = pageIterator_1_1.done, !_a; _d = true) {
19549
+ for (var _d = true, pageIterator_1 = __asyncValues(pageIterator), pageIterator_1_1; pageIterator_1_1 = await pageIterator_1.next(), _a = pageIterator_1_1.done, !_a; _d = true) {
19439
19550
  _c = pageIterator_1_1.value;
19440
19551
  _d = false;
19441
19552
  const page = _c;
@@ -19449,13 +19560,13 @@ var require_WebClient = __commonJS({
19449
19560
  e_1 = { error: e_1_1 };
19450
19561
  } finally {
19451
19562
  try {
19452
- if (!_d && !_a && (_b = pageIterator_1.return)) yield _b.call(pageIterator_1);
19563
+ if (!_d && !_a && (_b = pageIterator_1.return)) await _b.call(pageIterator_1);
19453
19564
  } finally {
19454
19565
  if (e_1) throw e_1.error;
19455
19566
  }
19456
19567
  }
19457
19568
  return accumulator;
19458
- }))();
19569
+ })();
19459
19570
  }
19460
19571
  /**
19461
19572
  * Stream markdown text into a conversation.
@@ -19503,19 +19614,17 @@ var require_WebClient = __commonJS({
19503
19614
  * **#3**: Complete uploads {@link https://docs.slack.dev/reference/methods/files.completeuploadexternal files.completeUploadExternal}
19504
19615
  * @param options
19505
19616
  */
19506
- filesUploadV2(options) {
19507
- return __awaiter(this, void 0, void 0, function* () {
19508
- this.logger.debug("files.uploadV2() start");
19509
- const fileUploads = yield this.getAllFileUploads(options);
19510
- const fileUploadsURLRes = yield this.fetchAllUploadURLExternal(fileUploads);
19511
- fileUploadsURLRes.forEach((res, idx) => {
19512
- fileUploads[idx].upload_url = res.upload_url;
19513
- fileUploads[idx].file_id = res.file_id;
19514
- });
19515
- yield this.postFileUploadsToExternalURL(fileUploads, options);
19516
- const completion = yield this.completeFileUploads(fileUploads);
19517
- return { ok: true, files: completion };
19617
+ async filesUploadV2(options) {
19618
+ this.logger.debug("files.uploadV2() start");
19619
+ const fileUploads = await this.getAllFileUploads(options);
19620
+ const fileUploadsURLRes = await this.fetchAllUploadURLExternal(fileUploads);
19621
+ fileUploadsURLRes.forEach((res, idx) => {
19622
+ fileUploads[idx].upload_url = res.upload_url;
19623
+ fileUploads[idx].file_id = res.file_id;
19518
19624
  });
19625
+ await this.postFileUploadsToExternalURL(fileUploads, options);
19626
+ const completion = await this.completeFileUploads(fileUploads);
19627
+ return { ok: true, files: completion };
19519
19628
  }
19520
19629
  /**
19521
19630
  * For each file submitted with this method, submits filenames
@@ -19523,132 +19632,122 @@ var require_WebClient = __commonJS({
19523
19632
  * which to send the file data to and an id for the file
19524
19633
  * @param fileUploads
19525
19634
  */
19526
- fetchAllUploadURLExternal(fileUploads) {
19527
- return __awaiter(this, void 0, void 0, function* () {
19528
- return Promise.all(fileUploads.map((upload) => {
19529
- const options = {
19530
- filename: upload.filename,
19531
- length: upload.length,
19532
- alt_text: upload.alt_text,
19533
- snippet_type: upload.snippet_type
19534
- };
19535
- if ("token" in upload) {
19536
- options.token = upload.token;
19537
- }
19538
- return this.files.getUploadURLExternal(options);
19539
- }));
19540
- });
19635
+ async fetchAllUploadURLExternal(fileUploads) {
19636
+ return Promise.all(fileUploads.map((upload) => {
19637
+ const options = {
19638
+ filename: upload.filename,
19639
+ length: upload.length,
19640
+ alt_text: upload.alt_text,
19641
+ snippet_type: upload.snippet_type
19642
+ };
19643
+ if ("token" in upload) {
19644
+ options.token = upload.token;
19645
+ }
19646
+ return this.files.getUploadURLExternal(options);
19647
+ }));
19541
19648
  }
19542
19649
  /**
19543
19650
  * Complete uploads.
19544
19651
  * @param fileUploads
19545
19652
  * @returns
19546
19653
  */
19547
- completeFileUploads(fileUploads) {
19548
- return __awaiter(this, void 0, void 0, function* () {
19549
- const toComplete = Object.values((0, file_upload_1.getAllFileUploadsToComplete)(fileUploads));
19550
- return Promise.all(toComplete.map((job) => this.files.completeUploadExternal(job)));
19551
- });
19654
+ async completeFileUploads(fileUploads) {
19655
+ const toComplete = Object.values((0, file_upload_1.getAllFileUploadsToComplete)(fileUploads));
19656
+ return Promise.all(toComplete.map((job) => this.files.completeUploadExternal(job)));
19552
19657
  }
19553
19658
  /**
19554
19659
  * for each returned file upload URL, upload corresponding file
19555
19660
  * @param fileUploads
19556
19661
  * @returns
19557
19662
  */
19558
- postFileUploadsToExternalURL(fileUploads, options) {
19559
- return __awaiter(this, void 0, void 0, function* () {
19560
- return Promise.all(fileUploads.map((upload) => __awaiter(this, void 0, void 0, function* () {
19561
- const { upload_url, file_id, filename, data } = upload;
19562
- const body = data;
19563
- if (upload_url) {
19564
- const headers = {};
19565
- if (options.token)
19566
- headers.Authorization = `Bearer ${options.token}`;
19567
- const uploadRes = yield this.makeRequest(upload_url, {
19568
- body
19569
- }, headers);
19570
- if (uploadRes.status !== 200) {
19571
- return Promise.reject(Error(`Failed to upload file (id:${file_id}, filename: ${filename})`));
19572
- }
19573
- const returnData = { ok: true, body: uploadRes.data };
19574
- return Promise.resolve(returnData);
19663
+ async postFileUploadsToExternalURL(fileUploads, options) {
19664
+ return Promise.all(fileUploads.map(async (upload) => {
19665
+ const { upload_url, file_id, filename, data } = upload;
19666
+ const body = data;
19667
+ if (upload_url) {
19668
+ const headers = {};
19669
+ if (options.token)
19670
+ headers.Authorization = `Bearer ${options.token}`;
19671
+ const uploadRes = await this.makeRequest(upload_url, {
19672
+ body
19673
+ }, headers);
19674
+ if (uploadRes.status !== 200) {
19675
+ return Promise.reject(Error(`Failed to upload file (id:${file_id}, filename: ${filename})`));
19575
19676
  }
19576
- return Promise.reject(Error(`No upload url found for file (id: ${file_id}, filename: ${filename}`));
19577
- })));
19578
- });
19677
+ const returnData = { ok: true, body: uploadRes.data };
19678
+ return Promise.resolve(returnData);
19679
+ }
19680
+ return Promise.reject(Error(`No upload url found for file (id: ${file_id}, filename: ${filename}`));
19681
+ }));
19579
19682
  }
19580
19683
  /**
19581
19684
  * @param options All file uploads arguments
19582
19685
  * @returns An array of file upload entries
19583
19686
  */
19584
- getAllFileUploads(options) {
19585
- return __awaiter(this, void 0, void 0, function* () {
19586
- let fileUploads = [];
19587
- if ("file" in options || "content" in options) {
19588
- fileUploads.push(yield (0, file_upload_1.getFileUploadJob)(options, this.logger));
19589
- }
19590
- if ("file_uploads" in options) {
19591
- fileUploads = fileUploads.concat(yield (0, file_upload_1.getMultipleFileUploadJobs)(options, this.logger));
19592
- }
19593
- return fileUploads;
19594
- });
19687
+ async getAllFileUploads(options) {
19688
+ let fileUploads = [];
19689
+ if ("file" in options || "content" in options) {
19690
+ fileUploads.push(await (0, file_upload_1.getFileUploadJob)(options, this.logger));
19691
+ }
19692
+ if ("file_uploads" in options) {
19693
+ fileUploads = fileUploads.concat(await (0, file_upload_1.getMultipleFileUploadJobs)(options, this.logger));
19694
+ }
19695
+ return fileUploads;
19595
19696
  }
19596
19697
  /**
19597
19698
  * Low-level function to make a single API request. handles queuing, retries, and http-level errors
19598
19699
  */
19599
- makeRequest(url_1, body_1) {
19600
- return __awaiter(this, arguments, void 0, function* (url, body, headers = {}) {
19601
- const task = () => this.requestQueue.add(() => __awaiter(this, void 0, void 0, function* () {
19602
- try {
19603
- const config = Object.assign({ headers }, this.tlsConfig);
19604
- if (url.endsWith("admin.analytics.getFile")) {
19605
- config.responseType = "arraybuffer";
19606
- }
19607
- if (url.endsWith("apps.event.authorizations.list")) {
19608
- body.token = void 0;
19700
+ async makeRequest(url, body, headers = {}) {
19701
+ const task = () => this.requestQueue.add(async () => {
19702
+ try {
19703
+ const config = Object.assign({ headers }, this.tlsConfig);
19704
+ if (url.endsWith("admin.analytics.getFile")) {
19705
+ config.responseType = "arraybuffer";
19706
+ }
19707
+ if (url.endsWith("apps.event.authorizations.list")) {
19708
+ body.token = void 0;
19709
+ }
19710
+ this.logger.debug(`http request url: ${url}`);
19711
+ this.logger.debug(`http request body: ${JSON.stringify(redact(body))}`);
19712
+ let allHeaders = Object.keys(this.axios.defaults.headers).reduce((acc, cur) => {
19713
+ if (!axiosHeaderPropsToIgnore.includes(cur)) {
19714
+ acc[cur] = this.axios.defaults.headers[cur];
19609
19715
  }
19610
- this.logger.debug(`http request url: ${url}`);
19611
- this.logger.debug(`http request body: ${JSON.stringify(redact(body))}`);
19612
- let allHeaders = Object.keys(this.axios.defaults.headers).reduce((acc, cur) => {
19613
- if (!axiosHeaderPropsToIgnore.includes(cur)) {
19614
- acc[cur] = this.axios.defaults.headers[cur];
19716
+ return acc;
19717
+ }, {});
19718
+ allHeaders = Object.assign(Object.assign(Object.assign({}, this.axios.defaults.headers.common), allHeaders), headers);
19719
+ this.logger.debug(`http request headers: ${JSON.stringify(redact(allHeaders))}`);
19720
+ const response = await this.axios.post(url, body, config);
19721
+ this.logger.debug("http response received");
19722
+ if (response.status === 429) {
19723
+ const retrySec = parseRetryHeaders(response);
19724
+ if (retrySec !== void 0) {
19725
+ this.emit(WebClientEvent.RATE_LIMITED, retrySec, { url, body });
19726
+ if (this.rejectRateLimitedCalls) {
19727
+ throw new p_retry_1.AbortError((0, errors_1.rateLimitedErrorWithDelay)(retrySec));
19615
19728
  }
19616
- return acc;
19617
- }, {});
19618
- allHeaders = Object.assign(Object.assign(Object.assign({}, this.axios.defaults.headers.common), allHeaders), headers);
19619
- this.logger.debug(`http request headers: ${JSON.stringify(redact(allHeaders))}`);
19620
- const response = yield this.axios.post(url, body, config);
19621
- this.logger.debug("http response received");
19622
- if (response.status === 429) {
19623
- const retrySec = parseRetryHeaders(response);
19624
- if (retrySec !== void 0) {
19625
- this.emit(WebClientEvent.RATE_LIMITED, retrySec, { url, body });
19626
- if (this.rejectRateLimitedCalls) {
19627
- throw new p_retry_1.AbortError((0, errors_1.rateLimitedErrorWithDelay)(retrySec));
19628
- }
19629
- this.logger.info(`API Call failed due to rate limiting. Will retry in ${retrySec} seconds.`);
19630
- this.requestQueue.pause();
19631
- yield (0, helpers_1.default)(retrySec * 1e3);
19632
- this.requestQueue.start();
19633
- throw new Error(`A rate limit was exceeded (url: ${url}, retry-after: ${retrySec})`);
19634
- }
19635
- throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers["retry-after"]})`));
19636
- }
19637
- if (response.status !== 200) {
19638
- throw (0, errors_1.httpErrorFromResponse)(response);
19639
- }
19640
- return response;
19641
- } catch (error) {
19642
- const e = error;
19643
- this.logger.warn("http request failed", e.message);
19644
- if (e.request) {
19645
- throw (0, errors_1.requestErrorWithOriginal)(e, this.attachOriginalToWebAPIRequestError);
19729
+ this.logger.info(`API Call failed due to rate limiting. Will retry in ${retrySec} seconds.`);
19730
+ this.requestQueue.pause();
19731
+ await (0, helpers_1.default)(retrySec * 1e3);
19732
+ this.requestQueue.start();
19733
+ throw new Error(`A rate limit was exceeded (url: ${url}, retry-after: ${retrySec})`);
19646
19734
  }
19647
- throw error;
19735
+ throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers["retry-after"]})`));
19648
19736
  }
19649
- }));
19650
- return (0, p_retry_1.default)(task, this.retryConfig);
19737
+ if (response.status !== 200) {
19738
+ throw (0, errors_1.httpErrorFromResponse)(response);
19739
+ }
19740
+ return response;
19741
+ } catch (error) {
19742
+ const e = error;
19743
+ this.logger.warn("http request failed", e.message);
19744
+ if (e.request) {
19745
+ throw (0, errors_1.requestErrorWithOriginal)(e, this.attachOriginalToWebAPIRequestError);
19746
+ }
19747
+ throw error;
19748
+ }
19651
19749
  });
19750
+ return (0, p_retry_1.default)(task, this.retryConfig);
19652
19751
  }
19653
19752
  /**
19654
19753
  * Get the complete request URL for the provided URL.
@@ -19730,59 +19829,57 @@ var require_WebClient = __commonJS({
19730
19829
  * HTTP headers into the object.
19731
19830
  * @param response - an http response
19732
19831
  */
19733
- buildResult(response) {
19734
- return __awaiter(this, void 0, void 0, function* () {
19735
- let { data } = response;
19736
- const isGzipResponse = response.headers["content-type"] === "application/gzip";
19737
- if (isGzipResponse) {
19738
- try {
19739
- const unzippedData = yield new Promise((resolve, reject) => {
19740
- node_zlib_1.default.unzip(data, (err, buf) => {
19741
- if (err) {
19742
- return reject(err);
19743
- }
19744
- return resolve(buf.toString().split("\n"));
19745
- });
19746
- }).then((res) => res).catch((err) => {
19747
- throw err;
19832
+ async buildResult(response) {
19833
+ let { data } = response;
19834
+ const isGzipResponse = response.headers["content-type"] === "application/gzip";
19835
+ if (isGzipResponse) {
19836
+ try {
19837
+ const unzippedData = await new Promise((resolve, reject) => {
19838
+ node_zlib_1.default.unzip(data, (err, buf) => {
19839
+ if (err) {
19840
+ return reject(err);
19841
+ }
19842
+ return resolve(buf.toString().split("\n"));
19748
19843
  });
19749
- const fileData = [];
19750
- if (Array.isArray(unzippedData)) {
19751
- for (const dataset of unzippedData) {
19752
- if (dataset && dataset.length > 0) {
19753
- fileData.push(JSON.parse(dataset));
19754
- }
19844
+ }).then((res) => res).catch((err) => {
19845
+ throw err;
19846
+ });
19847
+ const fileData = [];
19848
+ if (Array.isArray(unzippedData)) {
19849
+ for (const dataset of unzippedData) {
19850
+ if (dataset && dataset.length > 0) {
19851
+ fileData.push(JSON.parse(dataset));
19755
19852
  }
19756
19853
  }
19757
- data = { file_data: fileData };
19758
- } catch (err) {
19759
- data = { ok: false, error: err };
19760
- }
19761
- } else if (!isGzipResponse && response.request.path === "/api/admin.analytics.getFile") {
19762
- data = JSON.parse(new node_util_1.TextDecoder().decode(data));
19763
- }
19764
- if (typeof data === "string") {
19765
- try {
19766
- data = JSON.parse(data);
19767
- } catch (_) {
19768
- data = { ok: false, error: data };
19769
19854
  }
19855
+ data = { file_data: fileData };
19856
+ } catch (err) {
19857
+ data = { ok: false, error: err };
19770
19858
  }
19771
- if (data.response_metadata === void 0) {
19772
- data.response_metadata = {};
19773
- }
19774
- if (response.headers["x-oauth-scopes"] !== void 0) {
19775
- data.response_metadata.scopes = response.headers["x-oauth-scopes"].trim().split(/\s*,\s*/);
19776
- }
19777
- if (response.headers["x-accepted-oauth-scopes"] !== void 0) {
19778
- data.response_metadata.acceptedScopes = response.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/);
19779
- }
19780
- const retrySec = parseRetryHeaders(response);
19781
- if (retrySec !== void 0) {
19782
- data.response_metadata.retryAfter = retrySec;
19859
+ } else if (!isGzipResponse && response.request.path === "/api/admin.analytics.getFile") {
19860
+ data = JSON.parse(new node_util_1.TextDecoder().decode(data));
19861
+ }
19862
+ if (typeof data === "string") {
19863
+ try {
19864
+ data = JSON.parse(data);
19865
+ } catch (_) {
19866
+ data = { ok: false, error: data };
19783
19867
  }
19784
- return data;
19785
- });
19868
+ }
19869
+ if (data.response_metadata === void 0) {
19870
+ data.response_metadata = {};
19871
+ }
19872
+ if (response.headers["x-oauth-scopes"] !== void 0) {
19873
+ data.response_metadata.scopes = response.headers["x-oauth-scopes"].trim().split(/\s*,\s*/);
19874
+ }
19875
+ if (response.headers["x-accepted-oauth-scopes"] !== void 0) {
19876
+ data.response_metadata.acceptedScopes = response.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/);
19877
+ }
19878
+ const retrySec = parseRetryHeaders(response);
19879
+ if (retrySec !== void 0) {
19880
+ data.response_metadata.retryAfter = retrySec;
19881
+ }
19882
+ return data;
19786
19883
  }
19787
19884
  };
19788
19885
  exports2.WebClient = WebClient2;
@@ -19896,7 +19993,7 @@ var require_dist4 = __commonJS({
19896
19993
  return mod && mod.__esModule ? mod : { "default": mod };
19897
19994
  };
19898
19995
  Object.defineProperty(exports2, "__esModule", { value: true });
19899
- exports2.WebClientEvent = exports2.WebClient = exports2.retryPolicies = exports2.LogLevel = exports2.addAppMetadata = exports2.ErrorCode = void 0;
19996
+ exports2.WebClientEvent = exports2.WebClient = exports2.ChatStreamer = exports2.retryPolicies = exports2.LogLevel = exports2.addAppMetadata = exports2.ErrorCode = void 0;
19900
19997
  var errors_1 = require_errors();
19901
19998
  Object.defineProperty(exports2, "ErrorCode", { enumerable: true, get: function() {
19902
19999
  return errors_1.ErrorCode;
@@ -19915,6 +20012,10 @@ var require_dist4 = __commonJS({
19915
20012
  } });
19916
20013
  __exportStar(require_request(), exports2);
19917
20014
  __exportStar(require_response(), exports2);
20015
+ var chat_stream_1 = require_chat_stream();
20016
+ Object.defineProperty(exports2, "ChatStreamer", { enumerable: true, get: function() {
20017
+ return chat_stream_1.ChatStreamer;
20018
+ } });
19918
20019
  var WebClient_1 = require_WebClient();
19919
20020
  Object.defineProperty(exports2, "WebClient", { enumerable: true, get: function() {
19920
20021
  return WebClient_1.WebClient;
@@ -26601,5 +26702,5 @@ mime-types/index.js:
26601
26702
  *)
26602
26703
 
26603
26704
  axios/dist/node/axios.cjs:
26604
- (*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors *)
26705
+ (*! Axios v1.13.6 Copyright (c) 2026 Matt Zabriskie and contributors *)
26605
26706
  */