cloudstructs 0.12.8 → 0.12.9

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 (537) hide show
  1. package/.jsii +5 -5
  2. package/assets/slack-textract/detect.lambda/index.js +437 -344
  3. package/assets/ssl-server-test/analyze.lambda/index.js +51 -31
  4. package/assets/toolkit-cleaner/clean.lambda/index.js +51 -31
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/dmarc/index.js +1 -1
  7. package/lib/ecs-service-roller/index.js +2 -2
  8. package/lib/email-receiver/receiver.js +1 -1
  9. package/lib/mjml-template/index.js +1 -1
  10. package/lib/saml-identity-provider/index.js +2 -2
  11. package/lib/slack-app/manifest.js +1 -1
  12. package/lib/slack-app/slack-app.js +2 -2
  13. package/lib/slack-events/index.js +1 -1
  14. package/lib/slack-textract/index.js +1 -1
  15. package/lib/ssl-server-test/index.js +1 -1
  16. package/lib/state-machine-cr-provider/index.js +1 -1
  17. package/lib/static-website/index.js +1 -1
  18. package/lib/toolkit-cleaner/index.js +1 -1
  19. package/lib/url-shortener/index.js +1 -1
  20. package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
  21. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +101 -33
  22. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
  23. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +101 -33
  24. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
  25. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
  26. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
  27. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
  28. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
  29. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
  30. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -0
  31. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
  32. package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
  33. package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
  34. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +287 -3988
  35. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
  36. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
  37. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
  38. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
  39. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
  40. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
  41. package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
  42. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
  43. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
  44. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
  45. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
  46. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
  47. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  48. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
  49. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
  50. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
  51. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +28 -2
  52. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
  53. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
  54. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
  55. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
  56. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
  57. package/node_modules/@aws-sdk/client-lambda/package.json +20 -20
  58. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +32 -239
  59. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +12 -0
  60. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/errors.js +56 -0
  61. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
  62. package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +161 -0
  63. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
  64. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
  65. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +32 -26
  66. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
  67. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +12 -5
  68. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
  69. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
  70. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  71. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  72. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  73. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  74. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  75. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  76. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  77. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  78. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  79. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  80. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  81. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  82. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  83. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  84. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  85. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  86. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  87. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  88. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  89. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  90. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  91. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  92. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  93. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  94. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  95. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  96. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  97. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  99. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  100. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  101. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  102. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  103. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  104. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  105. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  106. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  107. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  108. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  109. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  110. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  111. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  112. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  113. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  114. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  115. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  116. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  119. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  120. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  121. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  122. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  123. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  124. package/node_modules/@aws-sdk/client-sso/package.json +18 -18
  125. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  126. package/node_modules/@aws-sdk/core/dist-cjs/index.js +30 -50
  127. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -50
  128. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
  129. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  130. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  131. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +1 -0
  132. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
  133. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
  134. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
  135. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +4 -0
  136. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  137. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
  138. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
  139. package/node_modules/@aws-sdk/core/package.json +7 -7
  140. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  141. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  142. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  143. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  144. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  145. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
  146. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
  147. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  148. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  149. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  150. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  151. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  152. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  153. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  154. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  155. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  156. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  157. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  158. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  159. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  160. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  161. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  162. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  163. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  164. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  165. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  166. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  167. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  168. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  169. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  170. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  171. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  172. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  173. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  174. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  175. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  176. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  177. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  178. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  179. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  180. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  181. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  182. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  183. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  184. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  185. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  186. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  187. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  188. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  189. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  190. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  191. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  192. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  193. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  194. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  195. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  196. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  197. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  198. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  199. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  200. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  201. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  202. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  203. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  204. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  205. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  206. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  207. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  208. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  209. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +20 -198
  210. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  211. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +20 -347
  215. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +21 -308
  220. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
  228. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
  232. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
  235. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
  255. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  256. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  257. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  258. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  259. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  260. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  261. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  262. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  263. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  264. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  265. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  266. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  267. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  268. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  269. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  270. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  271. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  272. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  273. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  274. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  275. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  276. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  277. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  278. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  279. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  280. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  281. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  282. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  283. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  284. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  285. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  286. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  287. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  288. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  289. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  290. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  291. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  292. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  293. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  294. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  295. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  296. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  297. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  298. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  299. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  300. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  301. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  302. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  303. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  304. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  305. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  306. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  307. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  308. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  309. package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
  310. package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
  311. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  312. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  313. package/node_modules/@aws-sdk/types/package.json +3 -3
  314. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  315. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
  316. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  317. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  318. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +16 -0
  319. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
  320. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  321. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -1
  322. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  323. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  324. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  325. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  326. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -2
  327. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +2 -2
  328. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
  329. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
  330. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
  331. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +55 -22
  332. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
  333. package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
  334. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  335. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -6
  336. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
  337. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +35 -11
  338. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
  339. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +1 -1
  340. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  341. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
  342. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
  343. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +18 -0
  344. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2 -1
  345. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +10 -1
  346. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +4 -0
  347. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
  348. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  349. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
  350. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  351. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
  352. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  353. package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
  354. package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
  355. package/node_modules/@slack/types/dist/chunk.js +3 -0
  356. package/node_modules/@slack/types/dist/chunk.js.map +1 -0
  357. package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
  358. package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
  359. package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
  360. package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
  361. package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
  362. package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
  363. package/node_modules/@slack/types/dist/index.d.ts +1 -0
  364. package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
  365. package/node_modules/@slack/types/dist/index.js +1 -0
  366. package/node_modules/@slack/types/dist/index.js.map +1 -1
  367. package/node_modules/@slack/types/package.json +8 -8
  368. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  369. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  370. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
  371. package/node_modules/@slack/web-api/dist/chat-stream.js +48 -12
  372. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  373. package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
  374. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  375. package/node_modules/@slack/web-api/dist/index.js +3 -1
  376. package/node_modules/@slack/web-api/dist/index.js.map +1 -1
  377. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
  378. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
  379. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
  380. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  381. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  382. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -6
  383. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
  384. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +35 -11
  385. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
  386. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +1 -1
  387. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  388. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
  389. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
  390. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +18 -0
  391. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2 -1
  392. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +10 -1
  393. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +4 -0
  394. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
  395. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  396. package/node_modules/@slack/web-api/package.json +10 -10
  397. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
  398. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
  399. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
  400. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +31 -6
  401. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  402. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
  403. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
  404. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  405. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +7 -1
  406. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  407. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  408. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  409. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  410. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  411. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  412. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  413. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  414. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  415. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  416. package/node_modules/@smithy/core/package.json +2 -2
  417. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  418. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  419. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
  420. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
  421. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
  422. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  423. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
  424. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  425. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
  426. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  427. package/node_modules/@smithy/smithy-client/package.json +4 -4
  428. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  429. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  430. package/node_modules/@smithy/util-stream/package.json +6 -6
  431. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  432. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -6
  433. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
  434. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +35 -11
  435. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
  436. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
  437. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  438. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
  439. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
  440. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +18 -0
  441. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2 -1
  442. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +10 -1
  443. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -0
  444. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
  445. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  446. package/node_modules/@types/http-cache-semantics/README.md +1 -1
  447. package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
  448. package/node_modules/@types/http-cache-semantics/package.json +4 -3
  449. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  450. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -6
  451. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
  452. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +35 -11
  453. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
  454. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
  455. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  456. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
  457. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
  458. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +18 -0
  459. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2 -1
  460. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +10 -1
  461. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -0
  462. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
  463. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  464. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  465. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -6
  466. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
  467. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +35 -11
  468. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
  469. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
  470. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  471. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
  472. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
  473. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +18 -0
  474. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2 -1
  475. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +10 -1
  476. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -0
  477. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
  478. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  479. package/node_modules/axios/CHANGELOG.md +296 -239
  480. package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
  481. package/node_modules/axios/README.md +584 -447
  482. package/node_modules/axios/dist/axios.js +779 -897
  483. package/node_modules/axios/dist/axios.js.map +1 -1
  484. package/node_modules/axios/dist/axios.min.js +4 -2
  485. package/node_modules/axios/dist/axios.min.js.map +1 -1
  486. package/node_modules/axios/dist/browser/axios.cjs +353 -283
  487. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  488. package/node_modules/axios/dist/esm/axios.js +353 -283
  489. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  490. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  491. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  492. package/node_modules/axios/dist/node/axios.cjs +388 -315
  493. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  494. package/node_modules/axios/index.d.cts +22 -3
  495. package/node_modules/axios/index.d.ts +341 -116
  496. package/node_modules/axios/lib/adapters/README.md +1 -1
  497. package/node_modules/axios/lib/adapters/fetch.js +2 -2
  498. package/node_modules/axios/lib/adapters/http.js +13 -10
  499. package/node_modules/axios/lib/adapters/xhr.js +2 -2
  500. package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
  501. package/node_modules/axios/lib/core/Axios.js +12 -3
  502. package/node_modules/axios/lib/core/AxiosError.js +65 -102
  503. package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
  504. package/node_modules/axios/lib/core/mergeConfig.js +24 -11
  505. package/node_modules/axios/lib/core/transformData.js +1 -1
  506. package/node_modules/axios/lib/defaults/transitional.js +2 -1
  507. package/node_modules/axios/lib/env/data.js +1 -1
  508. package/node_modules/axios/lib/helpers/buildURL.js +7 -10
  509. package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
  510. package/node_modules/axios/lib/helpers/cookies.js +1 -1
  511. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +5 -0
  512. package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
  513. package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
  514. package/node_modules/axios/lib/helpers/spread.js +1 -1
  515. package/node_modules/axios/lib/utils.js +221 -140
  516. package/node_modules/axios/package.json +49 -68
  517. package/node_modules/bowser/README.md +72 -3
  518. package/node_modules/bowser/bundled.js +1 -1
  519. package/node_modules/bowser/es5.js +1 -1
  520. package/node_modules/bowser/index.d.ts +44 -6
  521. package/node_modules/bowser/package.json +10 -5
  522. package/node_modules/bowser/src/bowser.js +24 -8
  523. package/node_modules/bowser/src/constants.js +8 -0
  524. package/node_modules/bowser/src/parser-browsers.js +89 -0
  525. package/node_modules/bowser/src/parser-platforms.js +42 -0
  526. package/node_modules/bowser/src/parser.js +86 -5
  527. package/node_modules/semver/README.md +3 -2
  528. package/node_modules/semver/bin/semver.js +1 -1
  529. package/node_modules/semver/functions/diff.js +1 -1
  530. package/node_modules/semver/internal/re.js +2 -2
  531. package/node_modules/semver/package.json +4 -4
  532. package/node_modules/semver/ranges/subset.js +1 -1
  533. package/package.json +20 -20
  534. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
  535. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
  536. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
  537. package/node_modules/bowser/CHANGELOG.md +0 -218
@@ -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.14.1",
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
134
  "build:clean": "shx rm -rf ./dist ./coverage",
133
135
  docs: "npx typedoc --plugin typedoc-plugin-markdown",
134
- lint: "npx @biomejs/biome check .",
135
- "lint:fix": "npx @biomejs/biome check --write .",
136
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",
137
+ prepack: "npm run build",
138
+ test: "npm run test:types && npm run test:integration && npm run test:unit",
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 && c8 --config ./test/.c8rc.json npm run mocha",
142
143
  watch: "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"
143
144
  },
144
145
  dependencies: {
145
146
  "@slack/logger": "^4.0.0",
146
- "@slack/types": "^2.18.0",
147
+ "@slack/types": "^2.20.0",
147
148
  "@types/node": ">=18.0.0",
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,7 +157,6 @@ var require_package = __commonJS({
156
157
  retry: "^0.13.1"
157
158
  },
158
159
  devDependencies: {
159
- "@biomejs/biome": "^2.0.5",
160
160
  "@tsconfig/recommended": "^1",
161
161
  "@types/busboy": "^1.5.4",
162
162
  "@types/chai": "^4",
@@ -413,6 +413,214 @@ var require_response = __commonJS({
413
413
  }
414
414
  });
415
415
 
416
+ // node_modules/@slack/web-api/dist/chat-stream.js
417
+ var require_chat_stream = __commonJS({
418
+ "node_modules/@slack/web-api/dist/chat-stream.js"(exports2) {
419
+ "use strict";
420
+ var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
421
+ function adopt(value) {
422
+ return value instanceof P ? value : new P(function(resolve) {
423
+ resolve(value);
424
+ });
425
+ }
426
+ return new (P || (P = Promise))(function(resolve, reject) {
427
+ function fulfilled(value) {
428
+ try {
429
+ step(generator.next(value));
430
+ } catch (e) {
431
+ reject(e);
432
+ }
433
+ }
434
+ function rejected(value) {
435
+ try {
436
+ step(generator["throw"](value));
437
+ } catch (e) {
438
+ reject(e);
439
+ }
440
+ }
441
+ function step(result) {
442
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
443
+ }
444
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
445
+ });
446
+ };
447
+ var __rest = exports2 && exports2.__rest || function(s, e) {
448
+ var t = {};
449
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
450
+ t[p] = s[p];
451
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
452
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
453
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
454
+ t[p[i]] = s[p[i]];
455
+ }
456
+ return t;
457
+ };
458
+ Object.defineProperty(exports2, "__esModule", { value: true });
459
+ exports2.ChatStreamer = void 0;
460
+ var ChatStreamer = class {
461
+ /**
462
+ * Instantiate a new chat streamer.
463
+ *
464
+ * @description The "constructor" method creates a unique {@link ChatStreamer} instance that keeps track of one chat stream.
465
+ * @example
466
+ * const client = new WebClient(process.env.SLACK_BOT_TOKEN);
467
+ * const logger = new ConsoleLogger();
468
+ * const args = {
469
+ * channel: "C0123456789",
470
+ * thread_ts: "1700000001.123456",
471
+ * recipient_team_id: "T0123456789",
472
+ * recipient_user_id: "U0123456789",
473
+ * };
474
+ * const streamer = new ChatStreamer(client, logger, args, { buffer_size: 512 });
475
+ * await streamer.append({
476
+ * markdown_text: "**hello world!**",
477
+ * });
478
+ * await streamer.stop();
479
+ * @see {@link https://docs.slack.dev/reference/methods/chat.startStream}
480
+ * @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
481
+ * @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
482
+ */
483
+ constructor(client, logger, args, options) {
484
+ var _a;
485
+ this.buffer = "";
486
+ this.client = client;
487
+ this.logger = logger;
488
+ this.options = {
489
+ buffer_size: (_a = options.buffer_size) !== null && _a !== void 0 ? _a : 256
490
+ };
491
+ this.state = "starting";
492
+ this.streamArgs = args;
493
+ }
494
+ /**
495
+ * Append to the stream.
496
+ *
497
+ * @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.
498
+ * @example
499
+ * const streamer = client.chatStream({
500
+ * channel: "C0123456789",
501
+ * thread_ts: "1700000001.123456",
502
+ * recipient_team_id: "T0123456789",
503
+ * recipient_user_id: "U0123456789",
504
+ * });
505
+ * await streamer.append({
506
+ * markdown_text: "**hello wo",
507
+ * });
508
+ * await streamer.append({
509
+ * markdown_text: "rld!**",
510
+ * });
511
+ * await streamer.stop();
512
+ * @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
513
+ */
514
+ append(args) {
515
+ return __awaiter(this, void 0, void 0, function* () {
516
+ if (this.state === "completed") {
517
+ throw new Error(`failed to append stream: stream state is ${this.state}`);
518
+ }
519
+ const { markdown_text, chunks } = args, opts = __rest(args, ["markdown_text", "chunks"]);
520
+ if (opts.token) {
521
+ this.token = opts.token;
522
+ }
523
+ if (markdown_text) {
524
+ this.buffer += markdown_text;
525
+ }
526
+ if (this.buffer.length >= this.options.buffer_size || chunks) {
527
+ return yield this.flushBuffer(Object.assign({ chunks }, opts));
528
+ }
529
+ const details = {
530
+ bufferLength: this.buffer.length,
531
+ bufferSize: this.options.buffer_size,
532
+ channel: this.streamArgs.channel,
533
+ recipientTeamId: this.streamArgs.recipient_team_id,
534
+ recipientUserId: this.streamArgs.recipient_user_id,
535
+ threadTs: this.streamArgs.thread_ts
536
+ };
537
+ this.logger.debug(`ChatStreamer appended to buffer: ${JSON.stringify(details)}`);
538
+ return null;
539
+ });
540
+ }
541
+ /**
542
+ * Stop the stream and finalize the message.
543
+ *
544
+ * @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.
545
+ *
546
+ * @example
547
+ * const streamer = client.chatStream({
548
+ * channel: "C0123456789",
549
+ * thread_ts: "1700000001.123456",
550
+ * recipient_team_id: "T0123456789",
551
+ * recipient_user_id: "U0123456789",
552
+ * });
553
+ * await streamer.append({
554
+ * markdown_text: "**hello world!**",
555
+ * });
556
+ * await streamer.stop();
557
+ * @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
558
+ */
559
+ stop(args) {
560
+ return __awaiter(this, void 0, void 0, function* () {
561
+ if (this.state === "completed") {
562
+ throw new Error(`failed to stop stream: stream state is ${this.state}`);
563
+ }
564
+ const _a = args !== null && args !== void 0 ? args : {}, { markdown_text, chunks } = _a, opts = __rest(_a, ["markdown_text", "chunks"]);
565
+ if (opts.token) {
566
+ this.token = opts.token;
567
+ }
568
+ if (markdown_text) {
569
+ this.buffer += markdown_text;
570
+ }
571
+ if (!this.streamTs) {
572
+ const response2 = yield this.client.chat.startStream(Object.assign(Object.assign({}, this.streamArgs), { token: this.token }));
573
+ if (!response2.ts) {
574
+ throw new Error("failed to stop stream: stream not started");
575
+ }
576
+ this.streamTs = response2.ts;
577
+ this.state = "in_progress";
578
+ }
579
+ const chunksToFlush = [];
580
+ if (this.buffer.length > 0) {
581
+ chunksToFlush.push({
582
+ type: "markdown_text",
583
+ text: this.buffer
584
+ });
585
+ }
586
+ if (chunks) {
587
+ chunksToFlush.push(...chunks);
588
+ }
589
+ const response = yield this.client.chat.stopStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
590
+ this.state = "completed";
591
+ return response;
592
+ });
593
+ }
594
+ flushBuffer(args) {
595
+ return __awaiter(this, void 0, void 0, function* () {
596
+ const _a = args !== null && args !== void 0 ? args : {}, { chunks } = _a, opts = __rest(_a, ["chunks"]);
597
+ const chunksToFlush = [];
598
+ if (this.buffer.length > 0) {
599
+ chunksToFlush.push({
600
+ type: "markdown_text",
601
+ text: this.buffer
602
+ });
603
+ }
604
+ if (chunks) {
605
+ chunksToFlush.push(...chunks);
606
+ }
607
+ if (!this.streamTs) {
608
+ const response2 = yield this.client.chat.startStream(Object.assign(Object.assign(Object.assign({}, this.streamArgs), { token: this.token, chunks: chunksToFlush }), opts));
609
+ this.buffer = "";
610
+ this.streamTs = response2.ts;
611
+ this.state = "in_progress";
612
+ return response2;
613
+ }
614
+ const response = yield this.client.chat.appendStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
615
+ this.buffer = "";
616
+ return response;
617
+ });
618
+ }
619
+ };
620
+ exports2.ChatStreamer = ChatStreamer;
621
+ }
622
+ });
623
+
416
624
  // node_modules/delayed-stream/lib/delayed_stream.js
417
625
  var require_delayed_stream = __commonJS({
418
626
  "node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) {
@@ -12146,7 +12354,12 @@ var require_axios = __commonJS({
12146
12354
  kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
12147
12355
  };
12148
12356
  var isURLSearchParams = kindOfTest("URLSearchParams");
12149
- var [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
12357
+ var [isReadableStream, isRequest, isResponse, isHeaders] = [
12358
+ "ReadableStream",
12359
+ "Request",
12360
+ "Response",
12361
+ "Headers"
12362
+ ].map(kindOfTest);
12150
12363
  var trim = (str) => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
12151
12364
  function forEach(obj, fn, { allOwnKeys = false } = {}) {
12152
12365
  if (obj === null || typeof obj === "undefined") {
@@ -12199,6 +12412,9 @@ var require_axios = __commonJS({
12199
12412
  const { caseless, skipUndefined } = isContextDefined(this) && this || {};
12200
12413
  const result = {};
12201
12414
  const assignValue = (val, key) => {
12415
+ if (key === "__proto__" || key === "constructor" || key === "prototype") {
12416
+ return;
12417
+ }
12202
12418
  const targetKey = caseless && findKey(result, key) || key;
12203
12419
  if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
12204
12420
  result[targetKey] = merge(result[targetKey], val);
@@ -12216,13 +12432,27 @@ var require_axios = __commonJS({
12216
12432
  return result;
12217
12433
  }
12218
12434
  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 });
12435
+ forEach(
12436
+ b,
12437
+ (val, key) => {
12438
+ if (thisArg && isFunction$1(val)) {
12439
+ Object.defineProperty(a, key, {
12440
+ value: bind(val, thisArg),
12441
+ writable: true,
12442
+ enumerable: true,
12443
+ configurable: true
12444
+ });
12445
+ } else {
12446
+ Object.defineProperty(a, key, {
12447
+ value: val,
12448
+ writable: true,
12449
+ enumerable: true,
12450
+ configurable: true
12451
+ });
12452
+ }
12453
+ },
12454
+ { allOwnKeys }
12455
+ );
12226
12456
  return a;
12227
12457
  };
12228
12458
  var stripBOM = (content) => {
@@ -12231,9 +12461,17 @@ var require_axios = __commonJS({
12231
12461
  }
12232
12462
  return content;
12233
12463
  };
12234
- var inherits = (constructor, superConstructor, props, descriptors2) => {
12235
- constructor.prototype = Object.create(superConstructor.prototype, descriptors2);
12236
- constructor.prototype.constructor = constructor;
12464
+ var inherits = (constructor, superConstructor, props, descriptors) => {
12465
+ constructor.prototype = Object.create(
12466
+ superConstructor.prototype,
12467
+ descriptors
12468
+ );
12469
+ Object.defineProperty(constructor.prototype, "constructor", {
12470
+ value: constructor,
12471
+ writable: true,
12472
+ enumerable: false,
12473
+ configurable: true
12474
+ });
12237
12475
  Object.defineProperty(constructor, "super", {
12238
12476
  value: superConstructor.prototype
12239
12477
  });
@@ -12304,19 +12542,16 @@ var require_axios = __commonJS({
12304
12542
  };
12305
12543
  var isHTMLForm = kindOfTest("HTMLFormElement");
12306
12544
  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
- );
12545
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
12546
+ return p1.toUpperCase() + p2;
12547
+ });
12313
12548
  };
12314
12549
  var hasOwnProperty = (({ hasOwnProperty: hasOwnProperty2 }) => (obj, prop) => hasOwnProperty2.call(obj, prop))(Object.prototype);
12315
12550
  var isRegExp = kindOfTest("RegExp");
12316
12551
  var reduceDescriptors = (obj, reducer) => {
12317
- const descriptors2 = Object.getOwnPropertyDescriptors(obj);
12552
+ const descriptors = Object.getOwnPropertyDescriptors(obj);
12318
12553
  const reducedDescriptors = {};
12319
- forEach(descriptors2, (descriptor, name) => {
12554
+ forEach(descriptors, (descriptor, name) => {
12320
12555
  let ret;
12321
12556
  if ((ret = reducer(descriptor, name, obj)) !== false) {
12322
12557
  reducedDescriptors[name] = ret || descriptor;
@@ -12393,20 +12628,21 @@ var require_axios = __commonJS({
12393
12628
  return setImmediate;
12394
12629
  }
12395
12630
  return postMessageSupported ? ((token, callbacks) => {
12396
- _global.addEventListener("message", ({ source, data }) => {
12397
- if (source === _global && data === token) {
12398
- callbacks.length && callbacks.shift()();
12399
- }
12400
- }, false);
12631
+ _global.addEventListener(
12632
+ "message",
12633
+ ({ source, data }) => {
12634
+ if (source === _global && data === token) {
12635
+ callbacks.length && callbacks.shift()();
12636
+ }
12637
+ },
12638
+ false
12639
+ );
12401
12640
  return (cb) => {
12402
12641
  callbacks.push(cb);
12403
12642
  _global.postMessage(token, "*");
12404
12643
  };
12405
12644
  })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
12406
- })(
12407
- typeof setImmediate === "function",
12408
- isFunction$1(_global.postMessage)
12409
- );
12645
+ })(typeof setImmediate === "function", isFunction$1(_global.postMessage));
12410
12646
  var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
12411
12647
  var isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
12412
12648
  var utils$1 = {
@@ -12469,25 +12705,38 @@ var require_axios = __commonJS({
12469
12705
  asap,
12470
12706
  isIterable
12471
12707
  };
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;
12708
+ var AxiosError = class _AxiosError extends Error {
12709
+ static from(error, code, config, request, response, customProps) {
12710
+ const axiosError = new _AxiosError(error.message, code || error.code, config, request, response);
12711
+ axiosError.cause = error;
12712
+ axiosError.name = error.name;
12713
+ customProps && Object.assign(axiosError, customProps);
12714
+ return axiosError;
12478
12715
  }
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;
12716
+ /**
12717
+ * Create an Error with the specified message, config, error code, request and response.
12718
+ *
12719
+ * @param {string} message The error message.
12720
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
12721
+ * @param {Object} [config] The config.
12722
+ * @param {Object} [request] The request.
12723
+ * @param {Object} [response] The response.
12724
+ *
12725
+ * @returns {Error} The created error.
12726
+ */
12727
+ constructor(message, code, config, request, response) {
12728
+ super(message);
12729
+ this.name = "AxiosError";
12730
+ this.isAxiosError = true;
12731
+ code && (this.code = code);
12732
+ config && (this.config = config);
12733
+ request && (this.request = request);
12734
+ if (response) {
12735
+ this.response = response;
12736
+ this.status = response.status;
12737
+ }
12487
12738
  }
12488
- }
12489
- utils$1.inherits(AxiosError, Error, {
12490
- toJSON: function toJSON() {
12739
+ toJSON() {
12491
12740
  return {
12492
12741
  // Standard
12493
12742
  message: this.message,
@@ -12506,45 +12755,20 @@ var require_axios = __commonJS({
12506
12755
  status: this.status
12507
12756
  };
12508
12757
  }
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
12758
  };
12759
+ AxiosError.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
12760
+ AxiosError.ERR_BAD_OPTION = "ERR_BAD_OPTION";
12761
+ AxiosError.ECONNABORTED = "ECONNABORTED";
12762
+ AxiosError.ETIMEDOUT = "ETIMEDOUT";
12763
+ AxiosError.ERR_NETWORK = "ERR_NETWORK";
12764
+ AxiosError.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
12765
+ AxiosError.ERR_DEPRECATED = "ERR_DEPRECATED";
12766
+ AxiosError.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
12767
+ AxiosError.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
12768
+ AxiosError.ERR_CANCELED = "ERR_CANCELED";
12769
+ AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
12770
+ AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
12771
+ var AxiosError$1 = AxiosError;
12548
12772
  function isVisitable(thing) {
12549
12773
  return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
12550
12774
  }
@@ -12594,7 +12818,7 @@ var require_axios = __commonJS({
12594
12818
  return value.toString();
12595
12819
  }
12596
12820
  if (!useBlob && utils$1.isBlob(value)) {
12597
- throw new AxiosError("Blob is not supported. Use a Buffer instead.");
12821
+ throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
12598
12822
  }
12599
12823
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
12600
12824
  return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
@@ -12695,17 +12919,15 @@ var require_axios = __commonJS({
12695
12919
  return url2;
12696
12920
  }
12697
12921
  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;
12922
+ const _options = utils$1.isFunction(options) ? {
12923
+ serialize: options
12924
+ } : options;
12925
+ const serializeFn = _options && _options.serialize;
12704
12926
  let serializedParams;
12705
12927
  if (serializeFn) {
12706
- serializedParams = serializeFn(params, options);
12928
+ serializedParams = serializeFn(params, _options);
12707
12929
  } else {
12708
- serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, options).toString(_encode);
12930
+ serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
12709
12931
  }
12710
12932
  if (serializedParams) {
12711
12933
  const hashmarkIndex = url2.indexOf("#");
@@ -12725,6 +12947,7 @@ var require_axios = __commonJS({
12725
12947
  *
12726
12948
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
12727
12949
  * @param {Function} rejected The function to handle `reject` for a `Promise`
12950
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
12728
12951
  *
12729
12952
  * @return {Number} An ID used to remove interceptor later
12730
12953
  */
@@ -12781,7 +13004,8 @@ var require_axios = __commonJS({
12781
13004
  var transitionalDefaults = {
12782
13005
  silentJSONParsing: true,
12783
13006
  forcedJSONParsing: true,
12784
- clarifyTimeoutError: false
13007
+ clarifyTimeoutError: false,
13008
+ legacyInterceptorReqResOrdering: true
12785
13009
  };
12786
13010
  var URLSearchParams = url__default["default"].URLSearchParams;
12787
13011
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
@@ -12966,7 +13190,7 @@ var require_axios = __commonJS({
12966
13190
  } catch (e) {
12967
13191
  if (strictJSONParsing) {
12968
13192
  if (e.name === "SyntaxError") {
12969
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
13193
+ throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
12970
13194
  }
12971
13195
  throw e;
12972
13196
  }
@@ -13285,21 +13509,31 @@ var require_axios = __commonJS({
13285
13509
  function isCancel(value) {
13286
13510
  return !!(value && value.__CANCEL__);
13287
13511
  }
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
- });
13512
+ var CanceledError = class extends AxiosError$1 {
13513
+ /**
13514
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
13515
+ *
13516
+ * @param {string=} message The message.
13517
+ * @param {Object=} config The config.
13518
+ * @param {Object=} request The request.
13519
+ *
13520
+ * @returns {CanceledError} The created error.
13521
+ */
13522
+ constructor(message, config, request) {
13523
+ super(message == null ? "canceled" : message, AxiosError$1.ERR_CANCELED, config, request);
13524
+ this.name = "CanceledError";
13525
+ this.__CANCEL__ = true;
13526
+ }
13527
+ };
13528
+ var CanceledError$1 = CanceledError;
13295
13529
  function settle(resolve, reject, response) {
13296
13530
  const validateStatus = response.config.validateStatus;
13297
13531
  if (!response.status || !validateStatus || validateStatus(response.status)) {
13298
13532
  resolve(response);
13299
13533
  } else {
13300
- reject(new AxiosError(
13534
+ reject(new AxiosError$1(
13301
13535
  "Request failed with status code " + response.status,
13302
- [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
13536
+ [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
13303
13537
  response.config,
13304
13538
  response.request,
13305
13539
  response
@@ -13307,6 +13541,9 @@ var require_axios = __commonJS({
13307
13541
  }
13308
13542
  }
13309
13543
  function isAbsoluteURL(url2) {
13544
+ if (typeof url2 !== "string") {
13545
+ return false;
13546
+ }
13310
13547
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
13311
13548
  }
13312
13549
  function combineURLs(baseURL, relativeURL) {
@@ -13319,7 +13556,7 @@ var require_axios = __commonJS({
13319
13556
  }
13320
13557
  return requestedURL;
13321
13558
  }
13322
- var VERSION = "1.13.2";
13559
+ var VERSION = "1.13.5";
13323
13560
  function parseProtocol(url2) {
13324
13561
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
13325
13562
  return match && match[1] || "";
@@ -13335,7 +13572,7 @@ var require_axios = __commonJS({
13335
13572
  uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
13336
13573
  const match = DATA_URL_PATTERN.exec(uri);
13337
13574
  if (!match) {
13338
- throw new AxiosError("Invalid URL", AxiosError.ERR_INVALID_URL);
13575
+ throw new AxiosError$1("Invalid URL", AxiosError$1.ERR_INVALID_URL);
13339
13576
  }
13340
13577
  const mime = match[1];
13341
13578
  const isBase64 = match[2];
@@ -13343,13 +13580,13 @@ var require_axios = __commonJS({
13343
13580
  const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? "base64" : "utf8");
13344
13581
  if (asBlob) {
13345
13582
  if (!_Blob) {
13346
- throw new AxiosError("Blob is not supported", AxiosError.ERR_NOT_SUPPORT);
13583
+ throw new AxiosError$1("Blob is not supported", AxiosError$1.ERR_NOT_SUPPORT);
13347
13584
  }
13348
13585
  return new _Blob([buffer], { type: mime });
13349
13586
  }
13350
13587
  return buffer;
13351
13588
  }
13352
- throw new AxiosError("Unsupported protocol " + protocol, AxiosError.ERR_NOT_SUPPORT);
13589
+ throw new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_NOT_SUPPORT);
13353
13590
  }
13354
13591
  var kInternals = /* @__PURE__ */ Symbol("internals");
13355
13592
  var AxiosTransformStream = class extends stream__default["default"].Transform {
@@ -13841,8 +14078,11 @@ var require_axios = __commonJS({
13841
14078
  proxy.auth = (proxy.username || "") + ":" + (proxy.password || "");
13842
14079
  }
13843
14080
  if (proxy.auth) {
13844
- if (proxy.auth.username || proxy.auth.password) {
14081
+ const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
14082
+ if (validProxyAuth) {
13845
14083
  proxy.auth = (proxy.auth.username || "") + ":" + (proxy.auth.password || "");
14084
+ } else if (typeof proxy.auth === "object") {
14085
+ throw new AxiosError$1("Invalid proxy authorization", AxiosError$1.ERR_BAD_OPTION, { proxy });
13846
14086
  }
13847
14087
  const base64 = Buffer.from(proxy.auth, "utf8").toString("base64");
13848
14088
  options.headers["Proxy-Authorization"] = "Basic " + base64;
@@ -13894,7 +14134,7 @@ var require_axios = __commonJS({
13894
14134
  var buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { address, family });
13895
14135
  var http2Transport = {
13896
14136
  request(options, cb) {
13897
- const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
14137
+ const authority = options.protocol + "//" + options.hostname + ":" + (options.port || (options.protocol === "https:" ? 443 : 80));
13898
14138
  const { http2Options, headers } = options;
13899
14139
  const session = http2Sessions.getSession(authority, http2Options);
13900
14140
  const {
@@ -13955,7 +14195,7 @@ var require_axios = __commonJS({
13955
14195
  const abortEmitter = new events.EventEmitter();
13956
14196
  function abort(reason) {
13957
14197
  try {
13958
- abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
14198
+ abortEmitter.emit("abort", !reason || reason.type ? new CanceledError$1(null, config, req) : reason);
13959
14199
  } catch (err) {
13960
14200
  console.warn("emit error", err);
13961
14201
  }
@@ -14001,9 +14241,9 @@ var require_axios = __commonJS({
14001
14241
  const dataUrl = String(config.url || fullPath || "");
14002
14242
  const estimated = estimateDataURLDecodedBytes(dataUrl);
14003
14243
  if (estimated > config.maxContentLength) {
14004
- return reject(new AxiosError(
14244
+ return reject(new AxiosError$1(
14005
14245
  "maxContentLength size of " + config.maxContentLength + " exceeded",
14006
- AxiosError.ERR_BAD_RESPONSE,
14246
+ AxiosError$1.ERR_BAD_RESPONSE,
14007
14247
  config
14008
14248
  ));
14009
14249
  }
@@ -14022,7 +14262,7 @@ var require_axios = __commonJS({
14022
14262
  Blob: config.env && config.env.Blob
14023
14263
  });
14024
14264
  } catch (err) {
14025
- throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
14265
+ throw AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config);
14026
14266
  }
14027
14267
  if (responseType === "text") {
14028
14268
  convertedData = convertedData.toString(responseEncoding);
@@ -14041,9 +14281,9 @@ var require_axios = __commonJS({
14041
14281
  });
14042
14282
  }
14043
14283
  if (supportedProtocols.indexOf(protocol) === -1) {
14044
- return reject(new AxiosError(
14284
+ return reject(new AxiosError$1(
14045
14285
  "Unsupported protocol " + protocol,
14046
- AxiosError.ERR_BAD_REQUEST,
14286
+ AxiosError$1.ERR_BAD_REQUEST,
14047
14287
  config
14048
14288
  ));
14049
14289
  }
@@ -14081,17 +14321,17 @@ var require_axios = __commonJS({
14081
14321
  } else if (utils$1.isString(data)) {
14082
14322
  data = Buffer.from(data, "utf-8");
14083
14323
  } else {
14084
- return reject(new AxiosError(
14324
+ return reject(new AxiosError$1(
14085
14325
  "Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
14086
- AxiosError.ERR_BAD_REQUEST,
14326
+ AxiosError$1.ERR_BAD_REQUEST,
14087
14327
  config
14088
14328
  ));
14089
14329
  }
14090
14330
  headers.setContentLength(data.length, false);
14091
14331
  if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
14092
- return reject(new AxiosError(
14332
+ return reject(new AxiosError$1(
14093
14333
  "Request body larger than maxBodyLength limit",
14094
- AxiosError.ERR_BAD_REQUEST,
14334
+ AxiosError$1.ERR_BAD_REQUEST,
14095
14335
  config
14096
14336
  ));
14097
14337
  }
@@ -14261,9 +14501,9 @@ var require_axios = __commonJS({
14261
14501
  if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
14262
14502
  rejected = true;
14263
14503
  responseStream.destroy();
14264
- abort(new AxiosError(
14504
+ abort(new AxiosError$1(
14265
14505
  "maxContentLength size of " + config.maxContentLength + " exceeded",
14266
- AxiosError.ERR_BAD_RESPONSE,
14506
+ AxiosError$1.ERR_BAD_RESPONSE,
14267
14507
  config,
14268
14508
  lastRequest
14269
14509
  ));
@@ -14273,9 +14513,9 @@ var require_axios = __commonJS({
14273
14513
  if (rejected) {
14274
14514
  return;
14275
14515
  }
14276
- const err = new AxiosError(
14516
+ const err = new AxiosError$1(
14277
14517
  "stream has been aborted",
14278
- AxiosError.ERR_BAD_RESPONSE,
14518
+ AxiosError$1.ERR_BAD_RESPONSE,
14279
14519
  config,
14280
14520
  lastRequest
14281
14521
  );
@@ -14284,7 +14524,7 @@ var require_axios = __commonJS({
14284
14524
  });
14285
14525
  responseStream.on("error", function handleStreamError(err) {
14286
14526
  if (req.destroyed) return;
14287
- reject(AxiosError.from(err, null, config, lastRequest));
14527
+ reject(AxiosError$1.from(err, null, config, lastRequest));
14288
14528
  });
14289
14529
  responseStream.on("end", function handleStreamEnd() {
14290
14530
  try {
@@ -14297,7 +14537,7 @@ var require_axios = __commonJS({
14297
14537
  }
14298
14538
  response.data = responseData;
14299
14539
  } catch (err) {
14300
- return reject(AxiosError.from(err, null, config, response.request, response));
14540
+ return reject(AxiosError$1.from(err, null, config, response.request, response));
14301
14541
  }
14302
14542
  settle(resolve, reject, response);
14303
14543
  });
@@ -14317,7 +14557,7 @@ var require_axios = __commonJS({
14317
14557
  }
14318
14558
  });
14319
14559
  req.on("error", function handleRequestError(err) {
14320
- reject(AxiosError.from(err, null, config, req));
14560
+ reject(AxiosError$1.from(err, null, config, req));
14321
14561
  });
14322
14562
  req.on("socket", function handleRequestSocket(socket) {
14323
14563
  socket.setKeepAlive(true, 1e3 * 60);
@@ -14325,9 +14565,9 @@ var require_axios = __commonJS({
14325
14565
  if (config.timeout) {
14326
14566
  const timeout = parseInt(config.timeout, 10);
14327
14567
  if (Number.isNaN(timeout)) {
14328
- abort(new AxiosError(
14568
+ abort(new AxiosError$1(
14329
14569
  "error trying to parse `config.timeout` to int",
14330
- AxiosError.ERR_BAD_OPTION_VALUE,
14570
+ AxiosError$1.ERR_BAD_OPTION_VALUE,
14331
14571
  config,
14332
14572
  req
14333
14573
  ));
@@ -14340,9 +14580,9 @@ var require_axios = __commonJS({
14340
14580
  if (config.timeoutErrorMessage) {
14341
14581
  timeoutErrorMessage = config.timeoutErrorMessage;
14342
14582
  }
14343
- abort(new AxiosError(
14583
+ abort(new AxiosError$1(
14344
14584
  timeoutErrorMessage,
14345
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
14585
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14346
14586
  config,
14347
14587
  req
14348
14588
  ));
@@ -14362,7 +14602,7 @@ var require_axios = __commonJS({
14362
14602
  });
14363
14603
  data.on("close", () => {
14364
14604
  if (!ended && !errored) {
14365
- abort(new CanceledError("Request stream has been aborted", config, req));
14605
+ abort(new CanceledError$1("Request stream has been aborted", config, req));
14366
14606
  }
14367
14607
  });
14368
14608
  data.pipe(req);
@@ -14494,11 +14734,16 @@ var require_axios = __commonJS({
14494
14734
  validateStatus: mergeDirectKeys,
14495
14735
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
14496
14736
  };
14497
- utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
14498
- const merge2 = mergeMap[prop] || mergeDeepProperties;
14499
- const configValue = merge2(config1[prop], config2[prop], prop);
14500
- utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
14501
- });
14737
+ utils$1.forEach(
14738
+ Object.keys({ ...config1, ...config2 }),
14739
+ function computeConfigValue(prop) {
14740
+ if (prop === "__proto__" || prop === "constructor" || prop === "prototype")
14741
+ return;
14742
+ const merge2 = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
14743
+ const configValue = merge2(config1[prop], config2[prop], prop);
14744
+ utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
14745
+ }
14746
+ );
14502
14747
  return config;
14503
14748
  }
14504
14749
  var resolveConfig = (config) => {
@@ -14597,12 +14842,12 @@ var require_axios = __commonJS({
14597
14842
  if (!request) {
14598
14843
  return;
14599
14844
  }
14600
- reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
14845
+ reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
14601
14846
  request = null;
14602
14847
  };
14603
14848
  request.onerror = function handleError(event) {
14604
14849
  const msg = event && event.message ? event.message : "Network Error";
14605
- const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
14850
+ const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
14606
14851
  err.event = event || null;
14607
14852
  reject(err);
14608
14853
  request = null;
@@ -14613,9 +14858,9 @@ var require_axios = __commonJS({
14613
14858
  if (_config.timeoutErrorMessage) {
14614
14859
  timeoutErrorMessage = _config.timeoutErrorMessage;
14615
14860
  }
14616
- reject(new AxiosError(
14861
+ reject(new AxiosError$1(
14617
14862
  timeoutErrorMessage,
14618
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
14863
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14619
14864
  config,
14620
14865
  request
14621
14866
  ));
@@ -14647,7 +14892,7 @@ var require_axios = __commonJS({
14647
14892
  if (!request) {
14648
14893
  return;
14649
14894
  }
14650
- reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
14895
+ reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
14651
14896
  request.abort();
14652
14897
  request = null;
14653
14898
  };
@@ -14658,7 +14903,7 @@ var require_axios = __commonJS({
14658
14903
  }
14659
14904
  const protocol = parseProtocol(_config.url);
14660
14905
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
14661
- reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config));
14906
+ reject(new AxiosError$1("Unsupported protocol " + protocol + ":", AxiosError$1.ERR_BAD_REQUEST, config));
14662
14907
  return;
14663
14908
  }
14664
14909
  request.send(requestData || null);
@@ -14674,12 +14919,12 @@ var require_axios = __commonJS({
14674
14919
  aborted = true;
14675
14920
  unsubscribe();
14676
14921
  const err = reason instanceof Error ? reason : this.reason;
14677
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
14922
+ controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
14678
14923
  }
14679
14924
  };
14680
14925
  let timer = timeout && setTimeout(() => {
14681
14926
  timer = null;
14682
- onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
14927
+ onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
14683
14928
  }, timeout);
14684
14929
  const unsubscribe = () => {
14685
14930
  if (signals) {
@@ -14826,7 +15071,7 @@ var require_axios = __commonJS({
14826
15071
  if (method) {
14827
15072
  return method.call(res);
14828
15073
  }
14829
- throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
15074
+ throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
14830
15075
  });
14831
15076
  });
14832
15077
  })();
@@ -14951,13 +15196,13 @@ var require_axios = __commonJS({
14951
15196
  unsubscribe && unsubscribe();
14952
15197
  if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
14953
15198
  throw Object.assign(
14954
- new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
15199
+ new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request, err && err.response),
14955
15200
  {
14956
15201
  cause: err.cause || err
14957
15202
  }
14958
15203
  );
14959
15204
  }
14960
- throw AxiosError.from(err, err && err.code, config, request);
15205
+ throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
14961
15206
  }
14962
15207
  };
14963
15208
  };
@@ -15011,7 +15256,7 @@ var require_axios = __commonJS({
15011
15256
  if (!isResolvedHandle(nameOrAdapter)) {
15012
15257
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
15013
15258
  if (adapter === void 0) {
15014
- throw new AxiosError(`Unknown adapter '${id}'`);
15259
+ throw new AxiosError$1(`Unknown adapter '${id}'`);
15015
15260
  }
15016
15261
  }
15017
15262
  if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
@@ -15024,7 +15269,7 @@ var require_axios = __commonJS({
15024
15269
  ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
15025
15270
  );
15026
15271
  let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
15027
- throw new AxiosError(
15272
+ throw new AxiosError$1(
15028
15273
  `There is no suitable adapter to dispatch the request ` + s,
15029
15274
  "ERR_NOT_SUPPORT"
15030
15275
  );
@@ -15048,7 +15293,7 @@ var require_axios = __commonJS({
15048
15293
  config.cancelToken.throwIfRequested();
15049
15294
  }
15050
15295
  if (config.signal && config.signal.aborted) {
15051
- throw new CanceledError(null, config);
15296
+ throw new CanceledError$1(null, config);
15052
15297
  }
15053
15298
  }
15054
15299
  function dispatchRequest(config) {
@@ -15099,9 +15344,9 @@ var require_axios = __commonJS({
15099
15344
  }
15100
15345
  return (value, opt, opts) => {
15101
15346
  if (validator2 === false) {
15102
- throw new AxiosError(
15347
+ throw new AxiosError$1(
15103
15348
  formatMessage(opt, " has been removed" + (version ? " in " + version : "")),
15104
- AxiosError.ERR_DEPRECATED
15349
+ AxiosError$1.ERR_DEPRECATED
15105
15350
  );
15106
15351
  }
15107
15352
  if (version && !deprecatedWarnings[opt]) {
@@ -15124,7 +15369,7 @@ var require_axios = __commonJS({
15124
15369
  };
15125
15370
  function assertOptions(options, schema, allowUnknown) {
15126
15371
  if (typeof options !== "object") {
15127
- throw new AxiosError("options must be an object", AxiosError.ERR_BAD_OPTION_VALUE);
15372
+ throw new AxiosError$1("options must be an object", AxiosError$1.ERR_BAD_OPTION_VALUE);
15128
15373
  }
15129
15374
  const keys = Object.keys(options);
15130
15375
  let i = keys.length;
@@ -15135,12 +15380,12 @@ var require_axios = __commonJS({
15135
15380
  const value = options[opt];
15136
15381
  const result = value === void 0 || validator2(value, opt, options);
15137
15382
  if (result !== true) {
15138
- throw new AxiosError("option " + opt + " must be " + result, AxiosError.ERR_BAD_OPTION_VALUE);
15383
+ throw new AxiosError$1("option " + opt + " must be " + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
15139
15384
  }
15140
15385
  continue;
15141
15386
  }
15142
15387
  if (allowUnknown !== true) {
15143
- throw new AxiosError("Unknown option " + opt, AxiosError.ERR_BAD_OPTION);
15388
+ throw new AxiosError$1("Unknown option " + opt, AxiosError$1.ERR_BAD_OPTION);
15144
15389
  }
15145
15390
  }
15146
15391
  }
@@ -15198,7 +15443,8 @@ var require_axios = __commonJS({
15198
15443
  validator.assertOptions(transitional, {
15199
15444
  silentJSONParsing: validators.transitional(validators.boolean),
15200
15445
  forcedJSONParsing: validators.transitional(validators.boolean),
15201
- clarifyTimeoutError: validators.transitional(validators.boolean)
15446
+ clarifyTimeoutError: validators.transitional(validators.boolean),
15447
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
15202
15448
  }, false);
15203
15449
  }
15204
15450
  if (paramsSerializer != null) {
@@ -15242,7 +15488,13 @@ var require_axios = __commonJS({
15242
15488
  return;
15243
15489
  }
15244
15490
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
15245
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
15491
+ const transitional2 = config.transitional || transitionalDefaults;
15492
+ const legacyInterceptorReqResOrdering = transitional2 && transitional2.legacyInterceptorReqResOrdering;
15493
+ if (legacyInterceptorReqResOrdering) {
15494
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
15495
+ } else {
15496
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
15497
+ }
15246
15498
  });
15247
15499
  const responseInterceptorChain = [];
15248
15500
  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
@@ -15351,7 +15603,7 @@ var require_axios = __commonJS({
15351
15603
  if (token.reason) {
15352
15604
  return;
15353
15605
  }
15354
- token.reason = new CanceledError(message, config, request);
15606
+ token.reason = new CanceledError$1(message, config, request);
15355
15607
  resolvePromise(token.reason);
15356
15608
  });
15357
15609
  }
@@ -15509,12 +15761,12 @@ var require_axios = __commonJS({
15509
15761
  }
15510
15762
  var axios = createInstance(defaults$1);
15511
15763
  axios.Axios = Axios$1;
15512
- axios.CanceledError = CanceledError;
15764
+ axios.CanceledError = CanceledError$1;
15513
15765
  axios.CancelToken = CancelToken$1;
15514
15766
  axios.isCancel = isCancel;
15515
15767
  axios.VERSION = VERSION;
15516
15768
  axios.toFormData = toFormData;
15517
- axios.AxiosError = AxiosError;
15769
+ axios.AxiosError = AxiosError$1;
15518
15770
  axios.Cancel = axios.CanceledError;
15519
15771
  axios.all = function all(promises) {
15520
15772
  return Promise.all(promises);
@@ -16439,178 +16691,6 @@ var require_p_retry = __commonJS({
16439
16691
  }
16440
16692
  });
16441
16693
 
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
16694
  // node_modules/@slack/web-api/dist/file-upload.js
16615
16695
  var require_file_upload = __commonJS({
16616
16696
  "node_modules/@slack/web-api/dist/file-upload.js"(exports2) {
@@ -17126,6 +17206,14 @@ var require_calls = __commonJS({
17126
17206
  }
17127
17207
  });
17128
17208
 
17209
+ // node_modules/@slack/types/dist/chunk.js
17210
+ var require_chunk = __commonJS({
17211
+ "node_modules/@slack/types/dist/chunk.js"(exports2) {
17212
+ "use strict";
17213
+ Object.defineProperty(exports2, "__esModule", { value: true });
17214
+ }
17215
+ });
17216
+
17129
17217
  // node_modules/@slack/types/dist/dialog.js
17130
17218
  var require_dialog = __commonJS({
17131
17219
  "node_modules/@slack/types/dist/dialog.js"(exports2) {
@@ -17466,6 +17554,7 @@ var require_dist3 = __commonJS({
17466
17554
  __exportStar(require_composition_objects(), exports2);
17467
17555
  __exportStar(require_extensions(), exports2);
17468
17556
  __exportStar(require_calls(), exports2);
17557
+ __exportStar(require_chunk(), exports2);
17469
17558
  __exportStar(require_dialog(), exports2);
17470
17559
  __exportStar(require_events(), exports2);
17471
17560
  __exportStar(require_message_attachments(), exports2);
@@ -19896,7 +19985,7 @@ var require_dist4 = __commonJS({
19896
19985
  return mod && mod.__esModule ? mod : { "default": mod };
19897
19986
  };
19898
19987
  Object.defineProperty(exports2, "__esModule", { value: true });
19899
- exports2.WebClientEvent = exports2.WebClient = exports2.retryPolicies = exports2.LogLevel = exports2.addAppMetadata = exports2.ErrorCode = void 0;
19988
+ exports2.WebClientEvent = exports2.WebClient = exports2.ChatStreamer = exports2.retryPolicies = exports2.LogLevel = exports2.addAppMetadata = exports2.ErrorCode = void 0;
19900
19989
  var errors_1 = require_errors();
19901
19990
  Object.defineProperty(exports2, "ErrorCode", { enumerable: true, get: function() {
19902
19991
  return errors_1.ErrorCode;
@@ -19915,6 +20004,10 @@ var require_dist4 = __commonJS({
19915
20004
  } });
19916
20005
  __exportStar(require_request(), exports2);
19917
20006
  __exportStar(require_response(), exports2);
20007
+ var chat_stream_1 = require_chat_stream();
20008
+ Object.defineProperty(exports2, "ChatStreamer", { enumerable: true, get: function() {
20009
+ return chat_stream_1.ChatStreamer;
20010
+ } });
19918
20011
  var WebClient_1 = require_WebClient();
19919
20012
  Object.defineProperty(exports2, "WebClient", { enumerable: true, get: function() {
19920
20013
  return WebClient_1.WebClient;
@@ -26601,5 +26694,5 @@ mime-types/index.js:
26601
26694
  *)
26602
26695
 
26603
26696
  axios/dist/node/axios.cjs:
26604
- (*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors *)
26697
+ (*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors *)
26605
26698
  */