cloudstructs 0.9.37 → 0.9.39
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.
- package/.jsii +5 -5
- package/assets/slack-app/provider.lambda/index.js +26 -26
- package/assets/slack-textract/detect.lambda/index.js +1151 -979
- package/assets/ssl-server-test/analyze.lambda/index.js +26 -26
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2203.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2301.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2311.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +7 -9
- package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +7 -9
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js +8 -4
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +1 -1
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/readme.md +6 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.d.ts +12 -12
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js +3 -3
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/package.json +4 -4
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +3 -1
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/readme.md +5 -9
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +178 -18
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +23 -19
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +4 -89
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +34 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +4 -0
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +122 -24
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@slack/logger/node_modules/@types/node/{dom-events.d.ts → web-globals/events.d.ts} +49 -51
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +6 -5
- package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@slack/logger/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@slack/logger/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@slack/logger/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@slack/logger/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/undici-types/mock-pool.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@slack/logger/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +58 -58
- package/node_modules/@slack/types/dist/block-kit/block-elements.js +1 -1
- package/node_modules/@slack/types/dist/block-kit/block-elements.js.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +49 -29
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts +19 -19
- package/node_modules/@slack/types/dist/block-kit/composition-objects.js +1 -1
- package/node_modules/@slack/types/dist/block-kit/composition-objects.js.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/extensions.d.ts +5 -5
- package/node_modules/@slack/types/dist/calls.d.ts +1 -1
- package/node_modules/@slack/types/dist/calls.js +2 -2
- package/node_modules/@slack/types/dist/calls.js.map +1 -1
- package/node_modules/@slack/types/dist/dialog.d.ts +1 -1
- package/node_modules/@slack/types/dist/events/index.d.ts +4 -4
- package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.js +1 -1
- package/node_modules/@slack/types/dist/events/index.js.map +1 -1
- package/node_modules/@slack/types/dist/events/message.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/message.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/team.d.ts +2 -2
- package/node_modules/@slack/types/dist/events/team.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.d.ts +5 -5
- package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.js +5 -5
- package/node_modules/@slack/types/dist/index.js.map +1 -1
- package/node_modules/@slack/types/dist/message-attachments.d.ts +10 -10
- package/node_modules/@slack/types/dist/message-metadata.d.ts +2 -2
- package/node_modules/@slack/types/dist/views.d.ts +6 -6
- package/node_modules/@slack/types/package.json +19 -8
- package/node_modules/@slack/web-api/README.md +9 -9
- package/node_modules/@slack/web-api/dist/WebClient.d.ts +8 -8
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.js +10 -9
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/file-upload.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.js +3 -2
- package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
- package/node_modules/@slack/web-api/dist/index.d.ts +5 -5
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/index.js +10 -9
- package/node_modules/@slack/web-api/dist/index.js.map +1 -1
- package/node_modules/@slack/web-api/dist/instrument.js +1 -1
- package/node_modules/@slack/web-api/dist/instrument.js.map +1 -1
- package/node_modules/@slack/web-api/dist/logger.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/logger.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.d.ts +284 -262
- package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.js +284 -262
- package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/admin/analytics.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/types/request/admin/conversations.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/admin/roles.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/calls.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +17 -10
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/common.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/files.d.ts +3 -3
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts +32 -32
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +34 -34
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/oauth.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/oauth.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/reminders.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/rtm.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/search.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/users.d.ts +3 -3
- package/node_modules/@slack/web-api/dist/types/request/views.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/types/request/views.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts +40 -0
- package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.d.ts +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.d.ts +11 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.d.ts +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.d.ts +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts +12 -8
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +178 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +23 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +4 -89
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +34 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +4 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +122 -24
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/{@types/cacheable-request/node_modules/@types/node/dom-events.d.ts → @slack/web-api/node_modules/@types/node/web-globals/events.d.ts} +49 -51
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +6 -5
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@slack/web-api/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-pool.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@slack/web-api/package.json +23 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +178 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +23 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +4 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +34 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +4 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +122 -24
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/{keyv/node_modules/@types/node/dom-events.d.ts → cacheable-request/node_modules/@types/node/web-globals/events.d.ts} +49 -51
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +6 -5
- package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-pool.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +178 -18
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +23 -19
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +4 -89
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +34 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +122 -24
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/{@slack/web-api/node_modules/@types/node/dom-events.d.ts → @types/keyv/node_modules/@types/node/web-globals/events.d.ts} +49 -51
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +6 -5
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@types/keyv/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +178 -18
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +23 -19
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +4 -89
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +34 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +122 -24
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +6 -5
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@types/responselike/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/axios/CHANGELOG.md +75 -0
- package/node_modules/axios/README.md +87 -13
- package/node_modules/axios/dist/axios.js +392 -292
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +329 -219
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +329 -219
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +420 -219
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +25 -7
- package/node_modules/axios/index.d.ts +13 -4
- package/node_modules/axios/lib/adapters/adapters.js +6 -4
- package/node_modules/axios/lib/adapters/fetch.js +221 -162
- package/node_modules/axios/lib/adapters/http.js +18 -0
- package/node_modules/axios/lib/adapters/xhr.js +11 -8
- package/node_modules/axios/lib/core/Axios.js +2 -4
- package/node_modules/axios/lib/core/AxiosError.js +10 -3
- package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +1 -3
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +40 -2
- package/node_modules/axios/package.json +21 -15
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{README.md.bak → README.md} +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -6
- package/node_modules/form-data/package.json +22 -6
- package/node_modules/mjml/package.json +8 -9
- package/node_modules/mjml-accordion/README.md +2 -1
- package/node_modules/mjml-accordion/lib/Accordion.js +3 -5
- package/node_modules/mjml-accordion/lib/AccordionElement.js +2 -3
- package/node_modules/mjml-accordion/lib/AccordionText.js +2 -3
- package/node_modules/mjml-accordion/lib/AccordionTitle.js +4 -3
- package/node_modules/mjml-accordion/package.json +4 -5
- package/node_modules/mjml-body/README.md +1 -1
- package/node_modules/mjml-body/lib/index.js +9 -4
- package/node_modules/mjml-body/package.json +4 -5
- package/node_modules/mjml-button/lib/index.js +2 -3
- package/node_modules/mjml-button/package.json +4 -5
- package/node_modules/mjml-carousel/lib/Carousel.js +4 -6
- package/node_modules/mjml-carousel/lib/CarouselImage.js +2 -3
- package/node_modules/mjml-carousel/package.json +4 -5
- package/node_modules/mjml-cli/lib/commands/watchFiles.js +4 -1
- package/node_modules/mjml-cli/package.json +7 -8
- package/node_modules/mjml-column/lib/index.js +2 -3
- package/node_modules/mjml-column/package.json +4 -5
- package/node_modules/mjml-core/lib/createComponent.js +12 -9
- package/node_modules/mjml-core/lib/index.js +2 -2
- package/node_modules/mjml-core/lib/types/boolean.js +2 -3
- package/node_modules/mjml-core/lib/types/color.js +2 -3
- package/node_modules/mjml-core/lib/types/enum.js +1 -1
- package/node_modules/mjml-core/lib/types/integer.js +1 -1
- package/node_modules/mjml-core/lib/types/string.js +1 -1
- package/node_modules/mjml-core/lib/types/type.js +1 -2
- package/node_modules/mjml-core/lib/types/unit.js +1 -1
- package/node_modules/mjml-core/package.json +6 -7
- package/node_modules/mjml-divider/lib/index.js +2 -3
- package/node_modules/mjml-divider/package.json +4 -5
- package/node_modules/mjml-group/lib/index.js +2 -3
- package/node_modules/mjml-group/package.json +4 -5
- package/node_modules/mjml-head/lib/index.js +2 -3
- package/node_modules/mjml-head/package.json +4 -5
- package/node_modules/mjml-head-attributes/lib/index.js +2 -3
- package/node_modules/mjml-head-attributes/package.json +4 -5
- package/node_modules/mjml-head-breakpoint/lib/index.js +2 -3
- package/node_modules/mjml-head-breakpoint/package.json +4 -5
- package/node_modules/mjml-head-font/lib/index.js +2 -3
- package/node_modules/mjml-head-font/package.json +4 -5
- package/node_modules/mjml-head-html-attributes/lib/index.js +2 -3
- package/node_modules/mjml-head-html-attributes/package.json +4 -5
- package/node_modules/mjml-head-preview/lib/index.js +2 -3
- package/node_modules/mjml-head-preview/package.json +4 -5
- package/node_modules/mjml-head-style/lib/index.js +2 -3
- package/node_modules/mjml-head-style/package.json +4 -5
- package/node_modules/mjml-head-title/lib/index.js +2 -3
- package/node_modules/mjml-head-title/package.json +4 -5
- package/node_modules/mjml-hero/lib/index.js +3 -5
- package/node_modules/mjml-hero/package.json +4 -5
- package/node_modules/mjml-image/lib/index.js +3 -5
- package/node_modules/mjml-image/package.json +4 -5
- package/node_modules/mjml-migrate/package.json +5 -6
- package/node_modules/mjml-navbar/lib/Navbar.js +3 -5
- package/node_modules/mjml-navbar/lib/NavbarLink.js +2 -3
- package/node_modules/mjml-navbar/package.json +4 -5
- package/node_modules/mjml-parser-xml/lib/index.js +1 -1
- package/node_modules/mjml-parser-xml/package.json +6 -6
- package/node_modules/mjml-preset-core/package.json +28 -29
- package/node_modules/mjml-raw/lib/index.js +2 -3
- package/node_modules/mjml-raw/package.json +4 -5
- package/node_modules/mjml-section/lib/index.js +18 -7
- package/node_modules/mjml-section/package.json +4 -5
- package/node_modules/mjml-social/README.md +1 -0
- package/node_modules/mjml-social/lib/Social.js +2 -3
- package/node_modules/mjml-social/lib/SocialElement.js +18 -9
- package/node_modules/mjml-social/package.json +4 -5
- package/node_modules/mjml-spacer/lib/index.js +2 -3
- package/node_modules/mjml-spacer/package.json +4 -5
- package/node_modules/mjml-table/README.md +1 -1
- package/node_modules/mjml-table/lib/index.js +6 -4
- package/node_modules/mjml-table/package.json +4 -5
- package/node_modules/mjml-text/lib/index.js +2 -3
- package/node_modules/mjml-text/package.json +4 -5
- package/node_modules/mjml-validator/package.json +3 -3
- package/node_modules/mjml-wrapper/lib/index.js +2 -3
- package/node_modules/mjml-wrapper/package.json +5 -6
- package/package.json +20 -20
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +0 -99
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/form-data/Readme.md +0 -355
- package/node_modules/mjml/LICENSE.md +0 -21
- package/node_modules/mjml-accordion/LICENSE.md +0 -21
- package/node_modules/mjml-body/LICENSE.md +0 -21
- package/node_modules/mjml-button/LICENSE.md +0 -21
- package/node_modules/mjml-carousel/LICENSE.md +0 -21
- package/node_modules/mjml-cli/LICENSE.md +0 -21
- package/node_modules/mjml-cli/lib/helpers/promesify.js +0 -48
- package/node_modules/mjml-cli/lib/helpers/timePad.js +0 -18
- package/node_modules/mjml-column/LICENSE.md +0 -21
- package/node_modules/mjml-core/LICENSE.md +0 -21
- package/node_modules/mjml-core/lib/Error.js +0 -86
- package/node_modules/mjml-core/lib/MJMLElementsCollection.js +0 -37
- package/node_modules/mjml-core/lib/MJMLHead.js +0 -38
- package/node_modules/mjml-core/lib/MJMLRenderer.js +0 -275
- package/node_modules/mjml-core/lib/configs/defaultContainer.js +0 -15
- package/node_modules/mjml-core/lib/configs/defaultStyle.js +0 -6
- package/node_modules/mjml-core/lib/configs/listFontsImports.js +0 -21
- package/node_modules/mjml-core/lib/decorators/MJMLElement.js +0 -356
- package/node_modules/mjml-core/lib/helpers/colors.js +0 -7
- package/node_modules/mjml-core/lib/helpers/dom.js +0 -109
- package/node_modules/mjml-core/lib/helpers/html.js +0 -9
- package/node_modules/mjml-core/lib/helpers/importFonts.js +0 -46
- package/node_modules/mjml-core/lib/helpers/index.js +0 -40
- package/node_modules/mjml-core/lib/helpers/isBrowser.js +0 -11
- package/node_modules/mjml-core/lib/helpers/mjAttribute.js +0 -62
- package/node_modules/mjml-core/lib/helpers/mjml.js +0 -46
- package/node_modules/mjml-core/lib/helpers/parseAttributes.js +0 -29
- package/node_modules/mjml-core/lib/helpers/postRender.js +0 -33
- package/node_modules/mjml-core/lib/helpers/removeCDATA.js +0 -19
- package/node_modules/mjml-core/lib/helpers/traverseMJML.js +0 -41
- package/node_modules/mjml-core/lib/includeExternal.js +0 -92
- package/node_modules/mjml-core/lib/parsers/config.js +0 -130
- package/node_modules/mjml-core/lib/parsers/document.js +0 -189
- package/node_modules/mjml-divider/LICENSE.md +0 -21
- package/node_modules/mjml-group/LICENSE.md +0 -21
- package/node_modules/mjml-head/LICENSE.md +0 -21
- package/node_modules/mjml-head-attributes/LICENSE.md +0 -21
- package/node_modules/mjml-head-breakpoint/LICENSE.md +0 -21
- package/node_modules/mjml-head-font/LICENSE.md +0 -21
- package/node_modules/mjml-head-html-attributes/LICENSE.md +0 -21
- package/node_modules/mjml-head-preview/LICENSE.md +0 -21
- package/node_modules/mjml-head-style/LICENSE.md +0 -21
- package/node_modules/mjml-head-title/LICENSE.md +0 -21
- package/node_modules/mjml-hero/LICENSE.md +0 -21
- package/node_modules/mjml-image/LICENSE.md +0 -21
- package/node_modules/mjml-navbar/LICENSE.md +0 -21
- package/node_modules/mjml-navbar/lib/InlineLinks.js +0 -227
- package/node_modules/mjml-navbar/lib/Link.js +0 -130
- package/node_modules/mjml-parser-xml/lib/helpers/addCDATASection.js +0 -31
- package/node_modules/mjml-parser-xml/lib/helpers/parseAttributes.js +0 -37
- package/node_modules/mjml-preset-core/LICENSE.md +0 -21
- package/node_modules/mjml-raw/LICENSE.md +0 -21
- package/node_modules/mjml-section/LICENSE.md +0 -21
- package/node_modules/mjml-social/LICENSE.md +0 -21
- package/node_modules/mjml-spacer/LICENSE.md +0 -21
- package/node_modules/mjml-table/LICENSE.md +0 -21
- package/node_modules/mjml-text/LICENSE.md +0 -21
- package/node_modules/mjml-validator/lib/rules/index.js +0 -29
- package/node_modules/mjml-validator/lib/types/boolean.js +0 -57
- package/node_modules/mjml-validator/lib/types/color.js +0 -51
- package/node_modules/mjml-validator/lib/types/enum.js +0 -57
- package/node_modules/mjml-validator/lib/types/helpers/colors.js +0 -7
- package/node_modules/mjml-validator/lib/types/index.js +0 -41
- package/node_modules/mjml-validator/lib/types/integer.js +0 -47
- package/node_modules/mjml-validator/lib/types/string.js +0 -47
- package/node_modules/mjml-validator/lib/types/type.js +0 -93
- package/node_modules/mjml-validator/lib/types/unit.js +0 -57
- package/node_modules/mjml-wrapper/LICENSE.md +0 -21
|
@@ -30,6 +30,389 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
+
// node_modules/@slack/web-api/dist/errors.js
|
|
34
|
+
var require_errors = __commonJS({
|
|
35
|
+
"node_modules/@slack/web-api/dist/errors.js"(exports2) {
|
|
36
|
+
"use strict";
|
|
37
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
38
|
+
exports2.ErrorCode = void 0;
|
|
39
|
+
exports2.errorWithCode = errorWithCode;
|
|
40
|
+
exports2.requestErrorWithOriginal = requestErrorWithOriginal;
|
|
41
|
+
exports2.httpErrorFromResponse = httpErrorFromResponse;
|
|
42
|
+
exports2.platformErrorFromResult = platformErrorFromResult;
|
|
43
|
+
exports2.rateLimitedErrorWithDelay = rateLimitedErrorWithDelay;
|
|
44
|
+
var ErrorCode;
|
|
45
|
+
(function(ErrorCode2) {
|
|
46
|
+
ErrorCode2["RequestError"] = "slack_webapi_request_error";
|
|
47
|
+
ErrorCode2["HTTPError"] = "slack_webapi_http_error";
|
|
48
|
+
ErrorCode2["PlatformError"] = "slack_webapi_platform_error";
|
|
49
|
+
ErrorCode2["RateLimitedError"] = "slack_webapi_rate_limited_error";
|
|
50
|
+
ErrorCode2["FileUploadInvalidArgumentsError"] = "slack_webapi_file_upload_invalid_args_error";
|
|
51
|
+
ErrorCode2["FileUploadReadFileDataError"] = "slack_webapi_file_upload_read_file_data_error";
|
|
52
|
+
})(ErrorCode || (exports2.ErrorCode = ErrorCode = {}));
|
|
53
|
+
function errorWithCode(error, code) {
|
|
54
|
+
const codedError = error;
|
|
55
|
+
codedError.code = code;
|
|
56
|
+
return codedError;
|
|
57
|
+
}
|
|
58
|
+
function requestErrorWithOriginal(original, attachOriginal) {
|
|
59
|
+
const error = errorWithCode(new Error(`A request error occurred: ${original.message}`), ErrorCode.RequestError);
|
|
60
|
+
if (attachOriginal) {
|
|
61
|
+
error.original = original;
|
|
62
|
+
}
|
|
63
|
+
return error;
|
|
64
|
+
}
|
|
65
|
+
function httpErrorFromResponse(response) {
|
|
66
|
+
const error = errorWithCode(new Error(`An HTTP protocol error occurred: statusCode = ${response.status}`), ErrorCode.HTTPError);
|
|
67
|
+
error.statusCode = response.status;
|
|
68
|
+
error.statusMessage = response.statusText;
|
|
69
|
+
const nonNullHeaders = {};
|
|
70
|
+
for (const k of Object.keys(response.headers)) {
|
|
71
|
+
if (k && response.headers[k]) {
|
|
72
|
+
nonNullHeaders[k] = response.headers[k];
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
error.headers = nonNullHeaders;
|
|
76
|
+
error.body = response.data;
|
|
77
|
+
return error;
|
|
78
|
+
}
|
|
79
|
+
function platformErrorFromResult(result) {
|
|
80
|
+
const error = errorWithCode(new Error(`An API error occurred: ${result.error}`), ErrorCode.PlatformError);
|
|
81
|
+
error.data = result;
|
|
82
|
+
return error;
|
|
83
|
+
}
|
|
84
|
+
function rateLimitedErrorWithDelay(retrySec) {
|
|
85
|
+
const error = errorWithCode(new Error(`A rate-limit has been reached, you may retry this request in ${retrySec} seconds`), ErrorCode.RateLimitedError);
|
|
86
|
+
error.retryAfter = retrySec;
|
|
87
|
+
return error;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
// node_modules/@slack/web-api/package.json
|
|
93
|
+
var require_package = __commonJS({
|
|
94
|
+
"node_modules/@slack/web-api/package.json"(exports2, module2) {
|
|
95
|
+
module2.exports = {
|
|
96
|
+
name: "@slack/web-api",
|
|
97
|
+
version: "7.10.0",
|
|
98
|
+
description: "Official library for using the Slack Platform's Web API",
|
|
99
|
+
author: "Slack Technologies, LLC",
|
|
100
|
+
license: "MIT",
|
|
101
|
+
keywords: [
|
|
102
|
+
"slack",
|
|
103
|
+
"web-api",
|
|
104
|
+
"bot",
|
|
105
|
+
"client",
|
|
106
|
+
"http",
|
|
107
|
+
"api",
|
|
108
|
+
"proxy",
|
|
109
|
+
"rate-limiting",
|
|
110
|
+
"pagination"
|
|
111
|
+
],
|
|
112
|
+
main: "dist/index.js",
|
|
113
|
+
types: "./dist/index.d.ts",
|
|
114
|
+
files: [
|
|
115
|
+
"dist/**/*"
|
|
116
|
+
],
|
|
117
|
+
engines: {
|
|
118
|
+
node: ">= 18",
|
|
119
|
+
npm: ">= 8.6.0"
|
|
120
|
+
},
|
|
121
|
+
repository: "slackapi/node-slack-sdk",
|
|
122
|
+
homepage: "https://tools.slack.dev/node-slack-sdk/web-api",
|
|
123
|
+
publishConfig: {
|
|
124
|
+
access: "public"
|
|
125
|
+
},
|
|
126
|
+
bugs: {
|
|
127
|
+
url: "https://github.com/slackapi/node-slack-sdk/issues"
|
|
128
|
+
},
|
|
129
|
+
scripts: {
|
|
130
|
+
prepare: "npm run build",
|
|
131
|
+
build: "npm run build:clean && tsc",
|
|
132
|
+
"build:clean": "shx rm -rf ./dist ./coverage",
|
|
133
|
+
docs: "npx typedoc --plugin typedoc-plugin-markdown",
|
|
134
|
+
lint: "npx @biomejs/biome check .",
|
|
135
|
+
"lint:fix": "npx @biomejs/biome check --write .",
|
|
136
|
+
mocha: 'mocha --config ./test/.mocharc.json "./src/**/*.spec.ts"',
|
|
137
|
+
test: "npm run lint && npm run test:types && npm run test:integration && npm run test:unit",
|
|
138
|
+
"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
|
+
"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
|
+
"test:types": "tsd",
|
|
142
|
+
watch: "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"
|
|
143
|
+
},
|
|
144
|
+
dependencies: {
|
|
145
|
+
"@slack/logger": "^4.0.0",
|
|
146
|
+
"@slack/types": "^2.9.0",
|
|
147
|
+
"@types/node": ">=18.0.0",
|
|
148
|
+
"@types/retry": "0.12.0",
|
|
149
|
+
axios: "^1.11.0",
|
|
150
|
+
eventemitter3: "^5.0.1",
|
|
151
|
+
"form-data": "^4.0.4",
|
|
152
|
+
"is-electron": "2.2.2",
|
|
153
|
+
"is-stream": "^2",
|
|
154
|
+
"p-queue": "^6",
|
|
155
|
+
"p-retry": "^4",
|
|
156
|
+
retry: "^0.13.1"
|
|
157
|
+
},
|
|
158
|
+
devDependencies: {
|
|
159
|
+
"@biomejs/biome": "^2.0.5",
|
|
160
|
+
"@tsconfig/recommended": "^1",
|
|
161
|
+
"@types/busboy": "^1.5.4",
|
|
162
|
+
"@types/chai": "^4",
|
|
163
|
+
"@types/mocha": "^10",
|
|
164
|
+
"@types/sinon": "^17",
|
|
165
|
+
busboy: "^1",
|
|
166
|
+
c8: "^10.1.2",
|
|
167
|
+
chai: "^4",
|
|
168
|
+
mocha: "^11",
|
|
169
|
+
"mocha-junit-reporter": "^2.2.1",
|
|
170
|
+
"mocha-multi-reporters": "^1.5.1",
|
|
171
|
+
nock: "^14",
|
|
172
|
+
shx: "^0.4.0",
|
|
173
|
+
sinon: "^21",
|
|
174
|
+
"source-map-support": "^0.5.21",
|
|
175
|
+
"ts-node": "^10",
|
|
176
|
+
tsd: "^0.33.0",
|
|
177
|
+
typedoc: "^0.28.7",
|
|
178
|
+
"typedoc-plugin-markdown": "^4.7.1",
|
|
179
|
+
typescript: "5.9.2"
|
|
180
|
+
},
|
|
181
|
+
tsd: {
|
|
182
|
+
directory: "test/types"
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
// node_modules/@slack/web-api/dist/instrument.js
|
|
189
|
+
var require_instrument = __commonJS({
|
|
190
|
+
"node_modules/@slack/web-api/dist/instrument.js"(exports2) {
|
|
191
|
+
"use strict";
|
|
192
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
193
|
+
if (k2 === void 0) k2 = k;
|
|
194
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
195
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
196
|
+
desc = { enumerable: true, get: function() {
|
|
197
|
+
return m[k];
|
|
198
|
+
} };
|
|
199
|
+
}
|
|
200
|
+
Object.defineProperty(o, k2, desc);
|
|
201
|
+
}) : (function(o, m, k, k2) {
|
|
202
|
+
if (k2 === void 0) k2 = k;
|
|
203
|
+
o[k2] = m[k];
|
|
204
|
+
}));
|
|
205
|
+
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
206
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
207
|
+
}) : function(o, v) {
|
|
208
|
+
o["default"] = v;
|
|
209
|
+
});
|
|
210
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
|
|
211
|
+
var ownKeys = function(o) {
|
|
212
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
213
|
+
var ar = [];
|
|
214
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
215
|
+
return ar;
|
|
216
|
+
};
|
|
217
|
+
return ownKeys(o);
|
|
218
|
+
};
|
|
219
|
+
return function(mod) {
|
|
220
|
+
if (mod && mod.__esModule) return mod;
|
|
221
|
+
var result = {};
|
|
222
|
+
if (mod != null) {
|
|
223
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
224
|
+
}
|
|
225
|
+
__setModuleDefault(result, mod);
|
|
226
|
+
return result;
|
|
227
|
+
};
|
|
228
|
+
})();
|
|
229
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
230
|
+
exports2.addAppMetadata = addAppMetadata;
|
|
231
|
+
exports2.getUserAgent = getUserAgent;
|
|
232
|
+
var os = __importStar(require("node:os"));
|
|
233
|
+
var node_path_1 = require("node:path");
|
|
234
|
+
var packageJson = require_package();
|
|
235
|
+
function replaceSlashes(s) {
|
|
236
|
+
return s.replace("/", ":");
|
|
237
|
+
}
|
|
238
|
+
var baseUserAgent = `${replaceSlashes(packageJson.name)}/${packageJson.version} ${(0, node_path_1.basename)(process.title)}/${process.version.replace("v", "")} ${os.platform()}/${os.release()}`;
|
|
239
|
+
var appMetadata = {};
|
|
240
|
+
function addAppMetadata({ name, version }) {
|
|
241
|
+
appMetadata[replaceSlashes(name)] = version;
|
|
242
|
+
}
|
|
243
|
+
function getUserAgent() {
|
|
244
|
+
const appIdentifier = Object.entries(appMetadata).map(([name, version]) => `${name}/${version}`).join(" ");
|
|
245
|
+
return (appIdentifier.length > 0 ? `${appIdentifier} ` : "") + baseUserAgent;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
// node_modules/@slack/logger/dist/index.js
|
|
251
|
+
var require_dist = __commonJS({
|
|
252
|
+
"node_modules/@slack/logger/dist/index.js"(exports2) {
|
|
253
|
+
"use strict";
|
|
254
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
255
|
+
exports2.ConsoleLogger = exports2.LogLevel = void 0;
|
|
256
|
+
var LogLevel;
|
|
257
|
+
(function(LogLevel2) {
|
|
258
|
+
LogLevel2["ERROR"] = "error";
|
|
259
|
+
LogLevel2["WARN"] = "warn";
|
|
260
|
+
LogLevel2["INFO"] = "info";
|
|
261
|
+
LogLevel2["DEBUG"] = "debug";
|
|
262
|
+
})(LogLevel = exports2.LogLevel || (exports2.LogLevel = {}));
|
|
263
|
+
var ConsoleLogger = class _ConsoleLogger {
|
|
264
|
+
constructor() {
|
|
265
|
+
this.level = LogLevel.INFO;
|
|
266
|
+
this.name = "";
|
|
267
|
+
}
|
|
268
|
+
getLevel() {
|
|
269
|
+
return this.level;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Sets the instance's log level so that only messages which are equal or more severe are output to the console.
|
|
273
|
+
*/
|
|
274
|
+
setLevel(level) {
|
|
275
|
+
this.level = level;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Set the instance's name, which will appear on each log line before the message.
|
|
279
|
+
*/
|
|
280
|
+
setName(name) {
|
|
281
|
+
this.name = name;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Log a debug message
|
|
285
|
+
*/
|
|
286
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
287
|
+
debug(...msg) {
|
|
288
|
+
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.DEBUG, this.level)) {
|
|
289
|
+
console.debug(_ConsoleLogger.labels.get(LogLevel.DEBUG), this.name, ...msg);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Log an info message
|
|
294
|
+
*/
|
|
295
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
296
|
+
info(...msg) {
|
|
297
|
+
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.INFO, this.level)) {
|
|
298
|
+
console.info(_ConsoleLogger.labels.get(LogLevel.INFO), this.name, ...msg);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Log a warning message
|
|
303
|
+
*/
|
|
304
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
305
|
+
warn(...msg) {
|
|
306
|
+
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.WARN, this.level)) {
|
|
307
|
+
console.warn(_ConsoleLogger.labels.get(LogLevel.WARN), this.name, ...msg);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Log an error message
|
|
312
|
+
*/
|
|
313
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
314
|
+
error(...msg) {
|
|
315
|
+
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.ERROR, this.level)) {
|
|
316
|
+
console.error(_ConsoleLogger.labels.get(LogLevel.ERROR), this.name, ...msg);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Helper to compare two log levels and determine if a is equal or more severe than b
|
|
321
|
+
*/
|
|
322
|
+
static isMoreOrEqualSevere(a, b) {
|
|
323
|
+
return _ConsoleLogger.severity[a] >= _ConsoleLogger.severity[b];
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
exports2.ConsoleLogger = ConsoleLogger;
|
|
327
|
+
ConsoleLogger.labels = (() => {
|
|
328
|
+
const entries = Object.entries(LogLevel);
|
|
329
|
+
const map = entries.map(([key, value]) => [value, `[${key}] `]);
|
|
330
|
+
return new Map(map);
|
|
331
|
+
})();
|
|
332
|
+
ConsoleLogger.severity = {
|
|
333
|
+
[LogLevel.ERROR]: 400,
|
|
334
|
+
[LogLevel.WARN]: 300,
|
|
335
|
+
[LogLevel.INFO]: 200,
|
|
336
|
+
[LogLevel.DEBUG]: 100
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
|
|
341
|
+
// node_modules/@slack/web-api/dist/logger.js
|
|
342
|
+
var require_logger = __commonJS({
|
|
343
|
+
"node_modules/@slack/web-api/dist/logger.js"(exports2) {
|
|
344
|
+
"use strict";
|
|
345
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
346
|
+
exports2.LogLevel = void 0;
|
|
347
|
+
exports2.getLogger = getLogger;
|
|
348
|
+
var logger_1 = require_dist();
|
|
349
|
+
var logger_2 = require_dist();
|
|
350
|
+
Object.defineProperty(exports2, "LogLevel", { enumerable: true, get: function() {
|
|
351
|
+
return logger_2.LogLevel;
|
|
352
|
+
} });
|
|
353
|
+
var instanceCount = 0;
|
|
354
|
+
function getLogger(name, level, existingLogger) {
|
|
355
|
+
const instanceId = instanceCount;
|
|
356
|
+
instanceCount += 1;
|
|
357
|
+
const logger = (() => {
|
|
358
|
+
if (existingLogger !== void 0) {
|
|
359
|
+
return existingLogger;
|
|
360
|
+
}
|
|
361
|
+
return new logger_1.ConsoleLogger();
|
|
362
|
+
})();
|
|
363
|
+
logger.setName(`web-api:${name}:${instanceId}`);
|
|
364
|
+
if (level !== void 0) {
|
|
365
|
+
logger.setLevel(level);
|
|
366
|
+
}
|
|
367
|
+
return logger;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
|
|
372
|
+
// node_modules/@slack/web-api/dist/retry-policies.js
|
|
373
|
+
var require_retry_policies = __commonJS({
|
|
374
|
+
"node_modules/@slack/web-api/dist/retry-policies.js"(exports2) {
|
|
375
|
+
"use strict";
|
|
376
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
377
|
+
exports2.rapidRetryPolicy = exports2.fiveRetriesInFiveMinutes = exports2.tenRetriesInAboutThirtyMinutes = void 0;
|
|
378
|
+
exports2.tenRetriesInAboutThirtyMinutes = {
|
|
379
|
+
retries: 10,
|
|
380
|
+
factor: 1.96821,
|
|
381
|
+
randomize: true
|
|
382
|
+
};
|
|
383
|
+
exports2.fiveRetriesInFiveMinutes = {
|
|
384
|
+
retries: 5,
|
|
385
|
+
factor: 3.86
|
|
386
|
+
};
|
|
387
|
+
exports2.rapidRetryPolicy = {
|
|
388
|
+
minTimeout: 0,
|
|
389
|
+
maxTimeout: 1
|
|
390
|
+
};
|
|
391
|
+
var policies = {
|
|
392
|
+
tenRetriesInAboutThirtyMinutes: exports2.tenRetriesInAboutThirtyMinutes,
|
|
393
|
+
fiveRetriesInFiveMinutes: exports2.fiveRetriesInFiveMinutes,
|
|
394
|
+
rapidRetryPolicy: exports2.rapidRetryPolicy
|
|
395
|
+
};
|
|
396
|
+
exports2.default = policies;
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
|
|
400
|
+
// node_modules/@slack/web-api/dist/types/request/index.js
|
|
401
|
+
var require_request = __commonJS({
|
|
402
|
+
"node_modules/@slack/web-api/dist/types/request/index.js"(exports2) {
|
|
403
|
+
"use strict";
|
|
404
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
|
|
408
|
+
// node_modules/@slack/web-api/dist/types/response/index.js
|
|
409
|
+
var require_response = __commonJS({
|
|
410
|
+
"node_modules/@slack/web-api/dist/types/response/index.js"(exports2) {
|
|
411
|
+
"use strict";
|
|
412
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
|
|
33
416
|
// node_modules/delayed-stream/lib/delayed_stream.js
|
|
34
417
|
var require_delayed_stream = __commonJS({
|
|
35
418
|
"node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) {
|
|
@@ -9638,7 +10021,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
9638
10021
|
var throwTypeError = function() {
|
|
9639
10022
|
throw new $TypeError();
|
|
9640
10023
|
};
|
|
9641
|
-
var ThrowTypeError = $gOPD ? function() {
|
|
10024
|
+
var ThrowTypeError = $gOPD ? (function() {
|
|
9642
10025
|
try {
|
|
9643
10026
|
arguments.callee;
|
|
9644
10027
|
return throwTypeError;
|
|
@@ -9649,7 +10032,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
9649
10032
|
return throwTypeError;
|
|
9650
10033
|
}
|
|
9651
10034
|
}
|
|
9652
|
-
}() : throwTypeError;
|
|
10035
|
+
})() : throwTypeError;
|
|
9653
10036
|
var hasSymbols = require_has_symbols()();
|
|
9654
10037
|
var getProto = require_get_proto();
|
|
9655
10038
|
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
@@ -10005,6 +10388,7 @@ var require_form_data = __commonJS({
|
|
|
10005
10388
|
var parseUrl = require("url").parse;
|
|
10006
10389
|
var fs = require("fs");
|
|
10007
10390
|
var Stream = require("stream").Stream;
|
|
10391
|
+
var crypto = require("crypto");
|
|
10008
10392
|
var mime = require_mime_types();
|
|
10009
10393
|
var asynckit = require_asynckit();
|
|
10010
10394
|
var setToStringTag = require_es_set_tostringtag();
|
|
@@ -10210,11 +10594,7 @@ var require_form_data = __commonJS({
|
|
|
10210
10594
|
return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
|
|
10211
10595
|
};
|
|
10212
10596
|
FormData2.prototype._generateBoundary = function() {
|
|
10213
|
-
|
|
10214
|
-
for (var i = 0; i < 24; i++) {
|
|
10215
|
-
boundary += Math.floor(Math.random() * 10).toString(16);
|
|
10216
|
-
}
|
|
10217
|
-
this._boundary = boundary;
|
|
10597
|
+
this._boundary = "--------------------------" + crypto.randomBytes(12).toString("hex");
|
|
10218
10598
|
};
|
|
10219
10599
|
FormData2.prototype.getLengthSync = function() {
|
|
10220
10600
|
var knownLength = this._overheadLength + this._valueLength;
|
|
@@ -11719,7 +12099,7 @@ var require_axios = __commonJS({
|
|
|
11719
12099
|
var { isArray } = Array;
|
|
11720
12100
|
var isUndefined = typeOfTest("undefined");
|
|
11721
12101
|
function isBuffer(val) {
|
|
11722
|
-
return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
12102
|
+
return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
11723
12103
|
}
|
|
11724
12104
|
var isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
11725
12105
|
function isArrayBufferView(val) {
|
|
@@ -11732,7 +12112,7 @@ var require_axios = __commonJS({
|
|
|
11732
12112
|
return result;
|
|
11733
12113
|
}
|
|
11734
12114
|
var isString = typeOfTest("string");
|
|
11735
|
-
var isFunction = typeOfTest("function");
|
|
12115
|
+
var isFunction$1 = typeOfTest("function");
|
|
11736
12116
|
var isNumber = typeOfTest("number");
|
|
11737
12117
|
var isObject = (thing) => thing !== null && typeof thing === "object";
|
|
11738
12118
|
var isBoolean = (thing) => thing === true || thing === false;
|
|
@@ -11743,15 +12123,25 @@ var require_axios = __commonJS({
|
|
|
11743
12123
|
const prototype2 = getPrototypeOf(val);
|
|
11744
12124
|
return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(toStringTag in val) && !(iterator in val);
|
|
11745
12125
|
};
|
|
12126
|
+
var isEmptyObject = (val) => {
|
|
12127
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
12128
|
+
return false;
|
|
12129
|
+
}
|
|
12130
|
+
try {
|
|
12131
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
12132
|
+
} catch (e) {
|
|
12133
|
+
return false;
|
|
12134
|
+
}
|
|
12135
|
+
};
|
|
11746
12136
|
var isDate = kindOfTest("Date");
|
|
11747
12137
|
var isFile = kindOfTest("File");
|
|
11748
12138
|
var isBlob = kindOfTest("Blob");
|
|
11749
12139
|
var isFileList = kindOfTest("FileList");
|
|
11750
|
-
var isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
12140
|
+
var isStream = (val) => isObject(val) && isFunction$1(val.pipe);
|
|
11751
12141
|
var isFormData = (thing) => {
|
|
11752
12142
|
let kind;
|
|
11753
|
-
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
11754
|
-
kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]"));
|
|
12143
|
+
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
12144
|
+
kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
|
|
11755
12145
|
};
|
|
11756
12146
|
var isURLSearchParams = kindOfTest("URLSearchParams");
|
|
11757
12147
|
var [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
|
|
@@ -11770,6 +12160,9 @@ var require_axios = __commonJS({
|
|
|
11770
12160
|
fn.call(null, obj[i], i, obj);
|
|
11771
12161
|
}
|
|
11772
12162
|
} else {
|
|
12163
|
+
if (isBuffer(obj)) {
|
|
12164
|
+
return;
|
|
12165
|
+
}
|
|
11773
12166
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
11774
12167
|
const len = keys.length;
|
|
11775
12168
|
let key;
|
|
@@ -11780,6 +12173,9 @@ var require_axios = __commonJS({
|
|
|
11780
12173
|
}
|
|
11781
12174
|
}
|
|
11782
12175
|
function findKey(obj, key) {
|
|
12176
|
+
if (isBuffer(obj)) {
|
|
12177
|
+
return null;
|
|
12178
|
+
}
|
|
11783
12179
|
key = key.toLowerCase();
|
|
11784
12180
|
const keys = Object.keys(obj);
|
|
11785
12181
|
let i = keys.length;
|
|
@@ -11798,7 +12194,7 @@ var require_axios = __commonJS({
|
|
|
11798
12194
|
})();
|
|
11799
12195
|
var isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
11800
12196
|
function merge() {
|
|
11801
|
-
const { caseless } = isContextDefined(this) && this || {};
|
|
12197
|
+
const { caseless, skipUndefined } = isContextDefined(this) && this || {};
|
|
11802
12198
|
const result = {};
|
|
11803
12199
|
const assignValue = (val, key) => {
|
|
11804
12200
|
const targetKey = caseless && findKey(result, key) || key;
|
|
@@ -11808,7 +12204,7 @@ var require_axios = __commonJS({
|
|
|
11808
12204
|
result[targetKey] = merge({}, val);
|
|
11809
12205
|
} else if (isArray(val)) {
|
|
11810
12206
|
result[targetKey] = val.slice();
|
|
11811
|
-
} else {
|
|
12207
|
+
} else if (!skipUndefined || !isUndefined(val)) {
|
|
11812
12208
|
result[targetKey] = val;
|
|
11813
12209
|
}
|
|
11814
12210
|
};
|
|
@@ -11819,7 +12215,7 @@ var require_axios = __commonJS({
|
|
|
11819
12215
|
}
|
|
11820
12216
|
var extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
11821
12217
|
forEach(b, (val, key) => {
|
|
11822
|
-
if (thisArg && isFunction(val)) {
|
|
12218
|
+
if (thisArg && isFunction$1(val)) {
|
|
11823
12219
|
a[key] = bind(val, thisArg);
|
|
11824
12220
|
} else {
|
|
11825
12221
|
a[key] = val;
|
|
@@ -11928,11 +12324,11 @@ var require_axios = __commonJS({
|
|
|
11928
12324
|
};
|
|
11929
12325
|
var freezeMethods = (obj) => {
|
|
11930
12326
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
11931
|
-
if (isFunction(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
|
|
12327
|
+
if (isFunction$1(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
|
|
11932
12328
|
return false;
|
|
11933
12329
|
}
|
|
11934
12330
|
const value = obj[name];
|
|
11935
|
-
if (!isFunction(value)) return;
|
|
12331
|
+
if (!isFunction$1(value)) return;
|
|
11936
12332
|
descriptor.enumerable = false;
|
|
11937
12333
|
if ("writable" in descriptor) {
|
|
11938
12334
|
descriptor.writable = false;
|
|
@@ -11961,7 +12357,7 @@ var require_axios = __commonJS({
|
|
|
11961
12357
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
11962
12358
|
};
|
|
11963
12359
|
function isSpecCompliantForm(thing) {
|
|
11964
|
-
return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
12360
|
+
return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
11965
12361
|
}
|
|
11966
12362
|
var toJSONObject = (obj) => {
|
|
11967
12363
|
const stack = new Array(10);
|
|
@@ -11970,6 +12366,9 @@ var require_axios = __commonJS({
|
|
|
11970
12366
|
if (stack.indexOf(source) >= 0) {
|
|
11971
12367
|
return;
|
|
11972
12368
|
}
|
|
12369
|
+
if (isBuffer(source)) {
|
|
12370
|
+
return source;
|
|
12371
|
+
}
|
|
11973
12372
|
if (!("toJSON" in source)) {
|
|
11974
12373
|
stack[i] = source;
|
|
11975
12374
|
const target = isArray(source) ? [] : {};
|
|
@@ -11986,7 +12385,7 @@ var require_axios = __commonJS({
|
|
|
11986
12385
|
return visit(obj, 0);
|
|
11987
12386
|
};
|
|
11988
12387
|
var isAsyncFn = kindOfTest("AsyncFunction");
|
|
11989
|
-
var isThenable = (thing) => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
|
|
12388
|
+
var isThenable = (thing) => thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
|
11990
12389
|
var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
11991
12390
|
if (setImmediateSupported) {
|
|
11992
12391
|
return setImmediate;
|
|
@@ -12004,10 +12403,10 @@ var require_axios = __commonJS({
|
|
|
12004
12403
|
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
12005
12404
|
})(
|
|
12006
12405
|
typeof setImmediate === "function",
|
|
12007
|
-
isFunction(_global.postMessage)
|
|
12406
|
+
isFunction$1(_global.postMessage)
|
|
12008
12407
|
);
|
|
12009
12408
|
var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
12010
|
-
var isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
12409
|
+
var isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
|
|
12011
12410
|
var utils$1 = {
|
|
12012
12411
|
isArray,
|
|
12013
12412
|
isArrayBuffer,
|
|
@@ -12019,6 +12418,7 @@ var require_axios = __commonJS({
|
|
|
12019
12418
|
isBoolean,
|
|
12020
12419
|
isObject,
|
|
12021
12420
|
isPlainObject,
|
|
12421
|
+
isEmptyObject,
|
|
12022
12422
|
isReadableStream,
|
|
12023
12423
|
isRequest,
|
|
12024
12424
|
isResponse,
|
|
@@ -12028,7 +12428,7 @@ var require_axios = __commonJS({
|
|
|
12028
12428
|
isFile,
|
|
12029
12429
|
isBlob,
|
|
12030
12430
|
isRegExp,
|
|
12031
|
-
isFunction,
|
|
12431
|
+
isFunction: isFunction$1,
|
|
12032
12432
|
isStream,
|
|
12033
12433
|
isURLSearchParams,
|
|
12034
12434
|
isTypedArray,
|
|
@@ -12133,9 +12533,13 @@ var require_axios = __commonJS({
|
|
|
12133
12533
|
}, (prop) => {
|
|
12134
12534
|
return prop !== "isAxiosError";
|
|
12135
12535
|
});
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
axiosError
|
|
12536
|
+
const msg = error && error.message ? error.message : "Error";
|
|
12537
|
+
const errCode = code == null && error ? error.code : code;
|
|
12538
|
+
AxiosError.call(axiosError, msg, errCode, config, request, response);
|
|
12539
|
+
if (error && axiosError.cause == null) {
|
|
12540
|
+
Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
|
|
12541
|
+
}
|
|
12542
|
+
axiosError.name = error && error.name || "Error";
|
|
12139
12543
|
customProps && Object.assign(axiosError, customProps);
|
|
12140
12544
|
return axiosError;
|
|
12141
12545
|
};
|
|
@@ -12282,7 +12686,7 @@ var require_axios = __commonJS({
|
|
|
12282
12686
|
}, "").join("&");
|
|
12283
12687
|
};
|
|
12284
12688
|
function encode(val) {
|
|
12285
|
-
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+")
|
|
12689
|
+
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
12286
12690
|
}
|
|
12287
12691
|
function buildURL(url2, params, options) {
|
|
12288
12692
|
if (!params) {
|
|
@@ -12427,15 +12831,16 @@ var require_axios = __commonJS({
|
|
|
12427
12831
|
...platform$1
|
|
12428
12832
|
};
|
|
12429
12833
|
function toURLEncodedForm(data, options) {
|
|
12430
|
-
return toFormData(data, new platform.classes.URLSearchParams(),
|
|
12834
|
+
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
12431
12835
|
visitor: function(value, key, path, helpers) {
|
|
12432
12836
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
12433
12837
|
this.append(key, value.toString("base64"));
|
|
12434
12838
|
return false;
|
|
12435
12839
|
}
|
|
12436
12840
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
12437
|
-
}
|
|
12438
|
-
|
|
12841
|
+
},
|
|
12842
|
+
...options
|
|
12843
|
+
});
|
|
12439
12844
|
}
|
|
12440
12845
|
function parsePropPath(name) {
|
|
12441
12846
|
return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
@@ -12555,7 +12960,7 @@ var require_axios = __commonJS({
|
|
|
12555
12960
|
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
12556
12961
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
12557
12962
|
try {
|
|
12558
|
-
return JSON.parse(data);
|
|
12963
|
+
return JSON.parse(data, this.parseReviver);
|
|
12559
12964
|
} catch (e) {
|
|
12560
12965
|
if (strictJSONParsing) {
|
|
12561
12966
|
if (e.name === "SyntaxError") {
|
|
@@ -12912,7 +13317,7 @@ var require_axios = __commonJS({
|
|
|
12912
13317
|
}
|
|
12913
13318
|
return requestedURL;
|
|
12914
13319
|
}
|
|
12915
|
-
var VERSION = "1.
|
|
13320
|
+
var VERSION = "1.12.2";
|
|
12916
13321
|
function parseProtocol(url2) {
|
|
12917
13322
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
12918
13323
|
return match && match[1] || "";
|
|
@@ -13137,13 +13542,13 @@ var require_axios = __commonJS({
|
|
|
13137
13542
|
computedHeaders["Content-Length"] = contentLength;
|
|
13138
13543
|
}
|
|
13139
13544
|
headersHandler && headersHandler(computedHeaders);
|
|
13140
|
-
return stream.Readable.from(async function* () {
|
|
13545
|
+
return stream.Readable.from((async function* () {
|
|
13141
13546
|
for (const part of parts) {
|
|
13142
13547
|
yield boundaryBytes;
|
|
13143
13548
|
yield* part.encode();
|
|
13144
13549
|
}
|
|
13145
13550
|
yield footerBytes;
|
|
13146
|
-
}());
|
|
13551
|
+
})());
|
|
13147
13552
|
};
|
|
13148
13553
|
var formDataToStream$1 = formDataToStream;
|
|
13149
13554
|
var ZlibHeaderTransformStream = class extends stream__default["default"].Transform {
|
|
@@ -13223,7 +13628,7 @@ var require_axios = __commonJS({
|
|
|
13223
13628
|
clearTimeout(timer);
|
|
13224
13629
|
timer = null;
|
|
13225
13630
|
}
|
|
13226
|
-
fn
|
|
13631
|
+
fn(...args);
|
|
13227
13632
|
};
|
|
13228
13633
|
const throttled = (...args) => {
|
|
13229
13634
|
const now = Date.now();
|
|
@@ -13276,6 +13681,55 @@ var require_axios = __commonJS({
|
|
|
13276
13681
|
}), throttled[1]];
|
|
13277
13682
|
};
|
|
13278
13683
|
var asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
|
|
13684
|
+
function estimateDataURLDecodedBytes(url2) {
|
|
13685
|
+
if (!url2 || typeof url2 !== "string") return 0;
|
|
13686
|
+
if (!url2.startsWith("data:")) return 0;
|
|
13687
|
+
const comma = url2.indexOf(",");
|
|
13688
|
+
if (comma < 0) return 0;
|
|
13689
|
+
const meta = url2.slice(5, comma);
|
|
13690
|
+
const body = url2.slice(comma + 1);
|
|
13691
|
+
const isBase64 = /;base64/i.test(meta);
|
|
13692
|
+
if (isBase64) {
|
|
13693
|
+
let effectiveLen = body.length;
|
|
13694
|
+
const len = body.length;
|
|
13695
|
+
for (let i = 0; i < len; i++) {
|
|
13696
|
+
if (body.charCodeAt(i) === 37 && i + 2 < len) {
|
|
13697
|
+
const a = body.charCodeAt(i + 1);
|
|
13698
|
+
const b = body.charCodeAt(i + 2);
|
|
13699
|
+
const isHex = (a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102) && (b >= 48 && b <= 57 || b >= 65 && b <= 70 || b >= 97 && b <= 102);
|
|
13700
|
+
if (isHex) {
|
|
13701
|
+
effectiveLen -= 2;
|
|
13702
|
+
i += 2;
|
|
13703
|
+
}
|
|
13704
|
+
}
|
|
13705
|
+
}
|
|
13706
|
+
let pad = 0;
|
|
13707
|
+
let idx = len - 1;
|
|
13708
|
+
const tailIsPct3D = (j) => j >= 2 && body.charCodeAt(j - 2) === 37 && // '%'
|
|
13709
|
+
body.charCodeAt(j - 1) === 51 && // '3'
|
|
13710
|
+
(body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100);
|
|
13711
|
+
if (idx >= 0) {
|
|
13712
|
+
if (body.charCodeAt(idx) === 61) {
|
|
13713
|
+
pad++;
|
|
13714
|
+
idx--;
|
|
13715
|
+
} else if (tailIsPct3D(idx)) {
|
|
13716
|
+
pad++;
|
|
13717
|
+
idx -= 3;
|
|
13718
|
+
}
|
|
13719
|
+
}
|
|
13720
|
+
if (pad === 1 && idx >= 0) {
|
|
13721
|
+
if (body.charCodeAt(idx) === 61) {
|
|
13722
|
+
pad++;
|
|
13723
|
+
} else if (tailIsPct3D(idx)) {
|
|
13724
|
+
pad++;
|
|
13725
|
+
}
|
|
13726
|
+
}
|
|
13727
|
+
const groups = Math.floor(effectiveLen / 4);
|
|
13728
|
+
const bytes = groups * 3 - (pad || 0);
|
|
13729
|
+
return bytes > 0 ? bytes : 0;
|
|
13730
|
+
}
|
|
13731
|
+
return Buffer.byteLength(body, "utf8");
|
|
13732
|
+
}
|
|
13279
13733
|
var zlibOptions = {
|
|
13280
13734
|
flush: zlib__default["default"].constants.Z_SYNC_FLUSH,
|
|
13281
13735
|
finishFlush: zlib__default["default"].constants.Z_SYNC_FLUSH
|
|
@@ -13417,6 +13871,17 @@ var require_axios = __commonJS({
|
|
|
13417
13871
|
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : void 0);
|
|
13418
13872
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
13419
13873
|
if (protocol === "data:") {
|
|
13874
|
+
if (config.maxContentLength > -1) {
|
|
13875
|
+
const dataUrl = String(config.url || fullPath || "");
|
|
13876
|
+
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
13877
|
+
if (estimated > config.maxContentLength) {
|
|
13878
|
+
return reject(new AxiosError(
|
|
13879
|
+
"maxContentLength size of " + config.maxContentLength + " exceeded",
|
|
13880
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
13881
|
+
config
|
|
13882
|
+
));
|
|
13883
|
+
}
|
|
13884
|
+
}
|
|
13420
13885
|
let convertedData;
|
|
13421
13886
|
if (method !== "GET") {
|
|
13422
13887
|
return settle(resolve, reject, {
|
|
@@ -13884,7 +14349,7 @@ var require_axios = __commonJS({
|
|
|
13884
14349
|
validateStatus: mergeDirectKeys,
|
|
13885
14350
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
13886
14351
|
};
|
|
13887
|
-
utils$1.forEach(Object.keys(
|
|
14352
|
+
utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
13888
14353
|
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
13889
14354
|
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
13890
14355
|
utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -13902,13 +14367,17 @@ var require_axios = __commonJS({
|
|
|
13902
14367
|
"Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
|
|
13903
14368
|
);
|
|
13904
14369
|
}
|
|
13905
|
-
let contentType;
|
|
13906
14370
|
if (utils$1.isFormData(data)) {
|
|
13907
14371
|
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
|
|
13908
14372
|
headers.setContentType(void 0);
|
|
13909
|
-
} else if ((
|
|
13910
|
-
const
|
|
13911
|
-
|
|
14373
|
+
} else if (utils$1.isFunction(data.getHeaders)) {
|
|
14374
|
+
const formHeaders = data.getHeaders();
|
|
14375
|
+
const allowedHeaders = ["content-type", "content-length"];
|
|
14376
|
+
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
14377
|
+
if (allowedHeaders.includes(key.toLowerCase())) {
|
|
14378
|
+
headers.set(key, val);
|
|
14379
|
+
}
|
|
14380
|
+
});
|
|
13912
14381
|
}
|
|
13913
14382
|
}
|
|
13914
14383
|
if (platform.hasStandardBrowserEnv) {
|
|
@@ -13986,8 +14455,11 @@ var require_axios = __commonJS({
|
|
|
13986
14455
|
reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
|
|
13987
14456
|
request = null;
|
|
13988
14457
|
};
|
|
13989
|
-
request.onerror = function handleError() {
|
|
13990
|
-
|
|
14458
|
+
request.onerror = function handleError(event) {
|
|
14459
|
+
const msg = event && event.message ? event.message : "Network Error";
|
|
14460
|
+
const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
|
|
14461
|
+
err.event = event || null;
|
|
14462
|
+
reject(err);
|
|
13991
14463
|
request = null;
|
|
13992
14464
|
};
|
|
13993
14465
|
request.ontimeout = function handleTimeout() {
|
|
@@ -14156,9 +14628,16 @@ var require_axios = __commonJS({
|
|
|
14156
14628
|
highWaterMark: 2
|
|
14157
14629
|
});
|
|
14158
14630
|
};
|
|
14159
|
-
var
|
|
14160
|
-
var
|
|
14161
|
-
var
|
|
14631
|
+
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
14632
|
+
var { isFunction } = utils$1;
|
|
14633
|
+
var globalFetchAPI = (({ Request, Response }) => ({
|
|
14634
|
+
Request,
|
|
14635
|
+
Response
|
|
14636
|
+
}))(utils$1.global);
|
|
14637
|
+
var {
|
|
14638
|
+
ReadableStream: ReadableStream$1,
|
|
14639
|
+
TextEncoder: TextEncoder$1
|
|
14640
|
+
} = utils$1.global;
|
|
14162
14641
|
var test = (fn, ...args) => {
|
|
14163
14642
|
try {
|
|
14164
14643
|
return !!fn(...args);
|
|
@@ -14166,162 +14645,202 @@ var require_axios = __commonJS({
|
|
|
14166
14645
|
return false;
|
|
14167
14646
|
}
|
|
14168
14647
|
};
|
|
14169
|
-
var
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
return duplexAccessed && !hasContentType;
|
|
14180
|
-
});
|
|
14181
|
-
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
14182
|
-
var supportsResponseStream = isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
14183
|
-
var resolvers = {
|
|
14184
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
14185
|
-
};
|
|
14186
|
-
isFetchSupported && ((res) => {
|
|
14187
|
-
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
14188
|
-
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
|
|
14189
|
-
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
14190
|
-
});
|
|
14191
|
-
});
|
|
14192
|
-
})(new Response());
|
|
14193
|
-
var getBodyLength = async (body) => {
|
|
14194
|
-
if (body == null) {
|
|
14195
|
-
return 0;
|
|
14196
|
-
}
|
|
14197
|
-
if (utils$1.isBlob(body)) {
|
|
14198
|
-
return body.size;
|
|
14648
|
+
var factory = (env) => {
|
|
14649
|
+
env = utils$1.merge.call({
|
|
14650
|
+
skipUndefined: true
|
|
14651
|
+
}, globalFetchAPI, env);
|
|
14652
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
14653
|
+
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
|
|
14654
|
+
const isRequestSupported = isFunction(Request);
|
|
14655
|
+
const isResponseSupported = isFunction(Response);
|
|
14656
|
+
if (!isFetchSupported) {
|
|
14657
|
+
return false;
|
|
14199
14658
|
}
|
|
14200
|
-
|
|
14201
|
-
|
|
14659
|
+
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
|
|
14660
|
+
const encodeText = isFetchSupported && (typeof TextEncoder$1 === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder$1()) : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
14661
|
+
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
|
|
14662
|
+
let duplexAccessed = false;
|
|
14663
|
+
const hasContentType = new Request(platform.origin, {
|
|
14664
|
+
body: new ReadableStream$1(),
|
|
14202
14665
|
method: "POST",
|
|
14203
|
-
|
|
14204
|
-
|
|
14205
|
-
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
return
|
|
14209
|
-
}
|
|
14210
|
-
if (utils$1.isURLSearchParams(body)) {
|
|
14211
|
-
body = body + "";
|
|
14212
|
-
}
|
|
14213
|
-
if (utils$1.isString(body)) {
|
|
14214
|
-
return (await encodeText(body)).byteLength;
|
|
14215
|
-
}
|
|
14216
|
-
};
|
|
14217
|
-
var resolveBodyLength = async (headers, body) => {
|
|
14218
|
-
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
14219
|
-
return length == null ? getBodyLength(body) : length;
|
|
14220
|
-
};
|
|
14221
|
-
var fetchAdapter = isFetchSupported && (async (config) => {
|
|
14222
|
-
let {
|
|
14223
|
-
url: url2,
|
|
14224
|
-
method,
|
|
14225
|
-
data,
|
|
14226
|
-
signal,
|
|
14227
|
-
cancelToken,
|
|
14228
|
-
timeout,
|
|
14229
|
-
onDownloadProgress,
|
|
14230
|
-
onUploadProgress,
|
|
14231
|
-
responseType,
|
|
14232
|
-
headers,
|
|
14233
|
-
withCredentials = "same-origin",
|
|
14234
|
-
fetchOptions
|
|
14235
|
-
} = resolveConfig(config);
|
|
14236
|
-
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
14237
|
-
let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
14238
|
-
let request;
|
|
14239
|
-
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
14240
|
-
composedSignal.unsubscribe();
|
|
14666
|
+
get duplex() {
|
|
14667
|
+
duplexAccessed = true;
|
|
14668
|
+
return "half";
|
|
14669
|
+
}
|
|
14670
|
+
}).headers.has("Content-Type");
|
|
14671
|
+
return duplexAccessed && !hasContentType;
|
|
14241
14672
|
});
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14673
|
+
const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
14674
|
+
const resolvers = {
|
|
14675
|
+
stream: supportsResponseStream && ((res) => res.body)
|
|
14676
|
+
};
|
|
14677
|
+
isFetchSupported && (() => {
|
|
14678
|
+
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
14679
|
+
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
14680
|
+
let method = res && res[type];
|
|
14681
|
+
if (method) {
|
|
14682
|
+
return method.call(res);
|
|
14683
|
+
}
|
|
14684
|
+
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
14249
14685
|
});
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
14255
|
-
const [onProgress, flush] = progressEventDecorator(
|
|
14256
|
-
requestContentLength,
|
|
14257
|
-
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
14258
|
-
);
|
|
14259
|
-
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
14260
|
-
}
|
|
14686
|
+
});
|
|
14687
|
+
})();
|
|
14688
|
+
const getBodyLength = async (body) => {
|
|
14689
|
+
if (body == null) {
|
|
14690
|
+
return 0;
|
|
14261
14691
|
}
|
|
14262
|
-
if (
|
|
14263
|
-
|
|
14692
|
+
if (utils$1.isBlob(body)) {
|
|
14693
|
+
return body.size;
|
|
14264
14694
|
}
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
14268
|
-
|
|
14269
|
-
method: method.toUpperCase(),
|
|
14270
|
-
headers: headers.normalize().toJSON(),
|
|
14271
|
-
body: data,
|
|
14272
|
-
duplex: "half",
|
|
14273
|
-
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
14274
|
-
});
|
|
14275
|
-
let response = await fetch(request, fetchOptions);
|
|
14276
|
-
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
14277
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
14278
|
-
const options = {};
|
|
14279
|
-
["status", "statusText", "headers"].forEach((prop) => {
|
|
14280
|
-
options[prop] = response[prop];
|
|
14695
|
+
if (utils$1.isSpecCompliantForm(body)) {
|
|
14696
|
+
const _request = new Request(platform.origin, {
|
|
14697
|
+
method: "POST",
|
|
14698
|
+
body
|
|
14281
14699
|
});
|
|
14282
|
-
|
|
14283
|
-
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
14284
|
-
responseContentLength,
|
|
14285
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
14286
|
-
) || [];
|
|
14287
|
-
response = new Response(
|
|
14288
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
14289
|
-
flush && flush();
|
|
14290
|
-
unsubscribe && unsubscribe();
|
|
14291
|
-
}),
|
|
14292
|
-
options
|
|
14293
|
-
);
|
|
14700
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
14294
14701
|
}
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
-
|
|
14305
|
-
|
|
14306
|
-
|
|
14702
|
+
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
14703
|
+
return body.byteLength;
|
|
14704
|
+
}
|
|
14705
|
+
if (utils$1.isURLSearchParams(body)) {
|
|
14706
|
+
body = body + "";
|
|
14707
|
+
}
|
|
14708
|
+
if (utils$1.isString(body)) {
|
|
14709
|
+
return (await encodeText(body)).byteLength;
|
|
14710
|
+
}
|
|
14711
|
+
};
|
|
14712
|
+
const resolveBodyLength = async (headers, body) => {
|
|
14713
|
+
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
14714
|
+
return length == null ? getBodyLength(body) : length;
|
|
14715
|
+
};
|
|
14716
|
+
return async (config) => {
|
|
14717
|
+
let {
|
|
14718
|
+
url: url2,
|
|
14719
|
+
method,
|
|
14720
|
+
data,
|
|
14721
|
+
signal,
|
|
14722
|
+
cancelToken,
|
|
14723
|
+
timeout,
|
|
14724
|
+
onDownloadProgress,
|
|
14725
|
+
onUploadProgress,
|
|
14726
|
+
responseType,
|
|
14727
|
+
headers,
|
|
14728
|
+
withCredentials = "same-origin",
|
|
14729
|
+
fetchOptions
|
|
14730
|
+
} = resolveConfig(config);
|
|
14731
|
+
let _fetch = envFetch || fetch;
|
|
14732
|
+
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
14733
|
+
let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
14734
|
+
let request = null;
|
|
14735
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
14736
|
+
composedSignal.unsubscribe();
|
|
14307
14737
|
});
|
|
14308
|
-
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14738
|
+
let requestContentLength;
|
|
14739
|
+
try {
|
|
14740
|
+
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
14741
|
+
let _request = new Request(url2, {
|
|
14742
|
+
method: "POST",
|
|
14743
|
+
body: data,
|
|
14744
|
+
duplex: "half"
|
|
14745
|
+
});
|
|
14746
|
+
let contentTypeHeader;
|
|
14747
|
+
if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
|
|
14748
|
+
headers.setContentType(contentTypeHeader);
|
|
14315
14749
|
}
|
|
14316
|
-
|
|
14750
|
+
if (_request.body) {
|
|
14751
|
+
const [onProgress, flush] = progressEventDecorator(
|
|
14752
|
+
requestContentLength,
|
|
14753
|
+
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
14754
|
+
);
|
|
14755
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
14756
|
+
}
|
|
14757
|
+
}
|
|
14758
|
+
if (!utils$1.isString(withCredentials)) {
|
|
14759
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
14760
|
+
}
|
|
14761
|
+
const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
|
|
14762
|
+
const resolvedOptions = {
|
|
14763
|
+
...fetchOptions,
|
|
14764
|
+
signal: composedSignal,
|
|
14765
|
+
method: method.toUpperCase(),
|
|
14766
|
+
headers: headers.normalize().toJSON(),
|
|
14767
|
+
body: data,
|
|
14768
|
+
duplex: "half",
|
|
14769
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
14770
|
+
};
|
|
14771
|
+
request = isRequestSupported && new Request(url2, resolvedOptions);
|
|
14772
|
+
let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url2, resolvedOptions));
|
|
14773
|
+
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
14774
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
14775
|
+
const options = {};
|
|
14776
|
+
["status", "statusText", "headers"].forEach((prop) => {
|
|
14777
|
+
options[prop] = response[prop];
|
|
14778
|
+
});
|
|
14779
|
+
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
14780
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
14781
|
+
responseContentLength,
|
|
14782
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
14783
|
+
) || [];
|
|
14784
|
+
response = new Response(
|
|
14785
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
14786
|
+
flush && flush();
|
|
14787
|
+
unsubscribe && unsubscribe();
|
|
14788
|
+
}),
|
|
14789
|
+
options
|
|
14790
|
+
);
|
|
14791
|
+
}
|
|
14792
|
+
responseType = responseType || "text";
|
|
14793
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
14794
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
14795
|
+
return await new Promise((resolve, reject) => {
|
|
14796
|
+
settle(resolve, reject, {
|
|
14797
|
+
data: responseData,
|
|
14798
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
14799
|
+
status: response.status,
|
|
14800
|
+
statusText: response.statusText,
|
|
14801
|
+
config,
|
|
14802
|
+
request
|
|
14803
|
+
});
|
|
14804
|
+
});
|
|
14805
|
+
} catch (err) {
|
|
14806
|
+
unsubscribe && unsubscribe();
|
|
14807
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
14808
|
+
throw Object.assign(
|
|
14809
|
+
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
|
|
14810
|
+
{
|
|
14811
|
+
cause: err.cause || err
|
|
14812
|
+
}
|
|
14813
|
+
);
|
|
14814
|
+
}
|
|
14815
|
+
throw AxiosError.from(err, err && err.code, config, request);
|
|
14317
14816
|
}
|
|
14318
|
-
|
|
14817
|
+
};
|
|
14818
|
+
};
|
|
14819
|
+
var seedCache = /* @__PURE__ */ new Map();
|
|
14820
|
+
var getFetch = (config) => {
|
|
14821
|
+
let env = config ? config.env : {};
|
|
14822
|
+
const { fetch: fetch2, Request, Response } = env;
|
|
14823
|
+
const seeds = [
|
|
14824
|
+
Request,
|
|
14825
|
+
Response,
|
|
14826
|
+
fetch2
|
|
14827
|
+
];
|
|
14828
|
+
let len = seeds.length, i = len, seed, target, map = seedCache;
|
|
14829
|
+
while (i--) {
|
|
14830
|
+
seed = seeds[i];
|
|
14831
|
+
target = map.get(seed);
|
|
14832
|
+
target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
|
|
14833
|
+
map = target;
|
|
14319
14834
|
}
|
|
14320
|
-
|
|
14835
|
+
return target;
|
|
14836
|
+
};
|
|
14837
|
+
getFetch();
|
|
14321
14838
|
var knownAdapters = {
|
|
14322
14839
|
http: httpAdapter,
|
|
14323
14840
|
xhr: xhrAdapter,
|
|
14324
|
-
fetch:
|
|
14841
|
+
fetch: {
|
|
14842
|
+
get: getFetch
|
|
14843
|
+
}
|
|
14325
14844
|
};
|
|
14326
14845
|
utils$1.forEach(knownAdapters, (fn, value) => {
|
|
14327
14846
|
if (fn) {
|
|
@@ -14335,7 +14854,7 @@ var require_axios = __commonJS({
|
|
|
14335
14854
|
var renderReason = (reason) => `- ${reason}`;
|
|
14336
14855
|
var isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
14337
14856
|
var adapters = {
|
|
14338
|
-
getAdapter: (adapters2) => {
|
|
14857
|
+
getAdapter: (adapters2, config) => {
|
|
14339
14858
|
adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
|
|
14340
14859
|
const { length } = adapters2;
|
|
14341
14860
|
let nameOrAdapter;
|
|
@@ -14351,7 +14870,7 @@ var require_axios = __commonJS({
|
|
|
14351
14870
|
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
14352
14871
|
}
|
|
14353
14872
|
}
|
|
14354
|
-
if (adapter) {
|
|
14873
|
+
if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
|
|
14355
14874
|
break;
|
|
14356
14875
|
}
|
|
14357
14876
|
rejectedReasons[id || "#" + i] = adapter;
|
|
@@ -14388,7 +14907,7 @@ var require_axios = __commonJS({
|
|
|
14388
14907
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
14389
14908
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
14390
14909
|
}
|
|
14391
|
-
const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter);
|
|
14910
|
+
const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
|
|
14392
14911
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
14393
14912
|
throwIfCancellationRequested(config);
|
|
14394
14913
|
response.data = transformData.call(
|
|
@@ -14580,8 +15099,8 @@ var require_axios = __commonJS({
|
|
|
14580
15099
|
let len;
|
|
14581
15100
|
if (!synchronousRequestInterceptors) {
|
|
14582
15101
|
const chain = [dispatchRequest.bind(this), void 0];
|
|
14583
|
-
chain.unshift
|
|
14584
|
-
chain.push
|
|
15102
|
+
chain.unshift(...requestInterceptorChain);
|
|
15103
|
+
chain.push(...responseInterceptorChain);
|
|
14585
15104
|
len = chain.length;
|
|
14586
15105
|
promise = Promise.resolve(config);
|
|
14587
15106
|
while (i < len) {
|
|
@@ -14591,7 +15110,6 @@ var require_axios = __commonJS({
|
|
|
14591
15110
|
}
|
|
14592
15111
|
len = requestInterceptorChain.length;
|
|
14593
15112
|
let newConfig = config;
|
|
14594
|
-
i = 0;
|
|
14595
15113
|
while (i < len) {
|
|
14596
15114
|
const onFulfilled = requestInterceptorChain[i++];
|
|
14597
15115
|
const onRejected = requestInterceptorChain[i++];
|
|
@@ -15181,7 +15699,7 @@ var require_priority_queue = __commonJS({
|
|
|
15181
15699
|
});
|
|
15182
15700
|
|
|
15183
15701
|
// node_modules/p-queue/dist/index.js
|
|
15184
|
-
var
|
|
15702
|
+
var require_dist2 = __commonJS({
|
|
15185
15703
|
"node_modules/p-queue/dist/index.js"(exports2) {
|
|
15186
15704
|
"use strict";
|
|
15187
15705
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -15761,65 +16279,6 @@ var require_p_retry = __commonJS({
|
|
|
15761
16279
|
}
|
|
15762
16280
|
});
|
|
15763
16281
|
|
|
15764
|
-
// node_modules/@slack/web-api/dist/errors.js
|
|
15765
|
-
var require_errors = __commonJS({
|
|
15766
|
-
"node_modules/@slack/web-api/dist/errors.js"(exports2) {
|
|
15767
|
-
"use strict";
|
|
15768
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
15769
|
-
exports2.ErrorCode = void 0;
|
|
15770
|
-
exports2.errorWithCode = errorWithCode;
|
|
15771
|
-
exports2.requestErrorWithOriginal = requestErrorWithOriginal;
|
|
15772
|
-
exports2.httpErrorFromResponse = httpErrorFromResponse;
|
|
15773
|
-
exports2.platformErrorFromResult = platformErrorFromResult;
|
|
15774
|
-
exports2.rateLimitedErrorWithDelay = rateLimitedErrorWithDelay;
|
|
15775
|
-
var ErrorCode;
|
|
15776
|
-
(function(ErrorCode2) {
|
|
15777
|
-
ErrorCode2["RequestError"] = "slack_webapi_request_error";
|
|
15778
|
-
ErrorCode2["HTTPError"] = "slack_webapi_http_error";
|
|
15779
|
-
ErrorCode2["PlatformError"] = "slack_webapi_platform_error";
|
|
15780
|
-
ErrorCode2["RateLimitedError"] = "slack_webapi_rate_limited_error";
|
|
15781
|
-
ErrorCode2["FileUploadInvalidArgumentsError"] = "slack_webapi_file_upload_invalid_args_error";
|
|
15782
|
-
ErrorCode2["FileUploadReadFileDataError"] = "slack_webapi_file_upload_read_file_data_error";
|
|
15783
|
-
})(ErrorCode || (exports2.ErrorCode = ErrorCode = {}));
|
|
15784
|
-
function errorWithCode(error, code) {
|
|
15785
|
-
const codedError = error;
|
|
15786
|
-
codedError.code = code;
|
|
15787
|
-
return codedError;
|
|
15788
|
-
}
|
|
15789
|
-
function requestErrorWithOriginal(original, attachOriginal) {
|
|
15790
|
-
const error = errorWithCode(new Error(`A request error occurred: ${original.message}`), ErrorCode.RequestError);
|
|
15791
|
-
if (attachOriginal) {
|
|
15792
|
-
error.original = original;
|
|
15793
|
-
}
|
|
15794
|
-
return error;
|
|
15795
|
-
}
|
|
15796
|
-
function httpErrorFromResponse(response) {
|
|
15797
|
-
const error = errorWithCode(new Error(`An HTTP protocol error occurred: statusCode = ${response.status}`), ErrorCode.HTTPError);
|
|
15798
|
-
error.statusCode = response.status;
|
|
15799
|
-
error.statusMessage = response.statusText;
|
|
15800
|
-
const nonNullHeaders = {};
|
|
15801
|
-
for (const k of Object.keys(response.headers)) {
|
|
15802
|
-
if (k && response.headers[k]) {
|
|
15803
|
-
nonNullHeaders[k] = response.headers[k];
|
|
15804
|
-
}
|
|
15805
|
-
}
|
|
15806
|
-
error.headers = nonNullHeaders;
|
|
15807
|
-
error.body = response.data;
|
|
15808
|
-
return error;
|
|
15809
|
-
}
|
|
15810
|
-
function platformErrorFromResult(result) {
|
|
15811
|
-
const error = errorWithCode(new Error(`An API error occurred: ${result.error}`), ErrorCode.PlatformError);
|
|
15812
|
-
error.data = result;
|
|
15813
|
-
return error;
|
|
15814
|
-
}
|
|
15815
|
-
function rateLimitedErrorWithDelay(retrySec) {
|
|
15816
|
-
const error = errorWithCode(new Error(`A rate-limit has been reached, you may retry this request in ${retrySec} seconds`), ErrorCode.RateLimitedError);
|
|
15817
|
-
error.retryAfter = retrySec;
|
|
15818
|
-
return error;
|
|
15819
|
-
}
|
|
15820
|
-
}
|
|
15821
|
-
});
|
|
15822
|
-
|
|
15823
16282
|
// node_modules/@slack/web-api/dist/file-upload.js
|
|
15824
16283
|
var require_file_upload = __commonJS({
|
|
15825
16284
|
"node_modules/@slack/web-api/dist/file-upload.js"(exports2) {
|
|
@@ -15954,7 +16413,7 @@ var require_file_upload = __commonJS({
|
|
|
15954
16413
|
try {
|
|
15955
16414
|
const dataBuffer = (0, node_fs_1.readFileSync)(file);
|
|
15956
16415
|
return dataBuffer;
|
|
15957
|
-
} catch (
|
|
16416
|
+
} catch (_err) {
|
|
15958
16417
|
throw (0, errors_1.errorWithCode)(new Error(`Unable to resolve file data for ${file}. Please supply a filepath string, or binary data Buffer or String directly.`), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
|
|
15959
16418
|
}
|
|
15960
16419
|
}
|
|
@@ -16095,305 +16554,40 @@ var require_file_upload = __commonJS({
|
|
|
16095
16554
|
function buildMissingFileNameWarning() {
|
|
16096
16555
|
return "filename is a required field for files.uploadV2. \n For backwards compatibility and ease of migration, defaulting the filename. For best experience and consistent unfurl behavior, you should set the filename property with correct file extension, e.g. image.png, text.txt";
|
|
16097
16556
|
}
|
|
16098
|
-
function buildMissingExtensionWarning(filename) {
|
|
16099
|
-
return `filename supplied '${filename}' may be missing a proper extension. Missing extenions may result in unexpected unfurl behavior when shared`;
|
|
16100
|
-
}
|
|
16101
|
-
function buildLegacyMethodWarning(method) {
|
|
16102
|
-
return `${method} may cause some issues like timeouts for relatively large files.`;
|
|
16103
|
-
}
|
|
16104
|
-
function buildGeneralFilesUploadWarning() {
|
|
16105
|
-
return "Our latest recommendation is to use client.files.uploadV2() method, which is mostly compatible and much stabler, instead.";
|
|
16106
|
-
}
|
|
16107
|
-
function buildFilesUploadMissingMessage() {
|
|
16108
|
-
return "Something went wrong with processing file_uploads";
|
|
16109
|
-
}
|
|
16110
|
-
function buildChannelsWarning() {
|
|
16111
|
-
return "Although the 'channels' parameter is still supported for smoother migration from legacy files.upload, we recommend using the new channel_id parameter with a single str value instead (e.g. 'C12345').";
|
|
16112
|
-
}
|
|
16113
|
-
function buildMultipleChannelsErrorMsg() {
|
|
16114
|
-
return "Sharing files with multiple channels is no longer supported in v2. Share files in each channel separately instead.";
|
|
16115
|
-
}
|
|
16116
|
-
function buildInvalidFilesUploadParamError() {
|
|
16117
|
-
return "You may supply file_uploads only for a single channel, message, or thread respectively. Therefore, please supply any channel_id, initial_comment or blocks, or thread_ts in the top-layer.";
|
|
16118
|
-
}
|
|
16119
|
-
}
|
|
16120
|
-
});
|
|
16121
|
-
|
|
16122
|
-
// node_modules/@slack/web-api/dist/helpers.js
|
|
16123
|
-
var require_helpers = __commonJS({
|
|
16124
|
-
"node_modules/@slack/web-api/dist/helpers.js"(exports2) {
|
|
16125
|
-
"use strict";
|
|
16126
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16127
|
-
exports2.default = delay;
|
|
16128
|
-
function delay(ms) {
|
|
16129
|
-
return new Promise((resolve) => {
|
|
16130
|
-
setTimeout(resolve, ms);
|
|
16131
|
-
});
|
|
16132
|
-
}
|
|
16133
|
-
}
|
|
16134
|
-
});
|
|
16135
|
-
|
|
16136
|
-
// node_modules/@slack/web-api/package.json
|
|
16137
|
-
var require_package = __commonJS({
|
|
16138
|
-
"node_modules/@slack/web-api/package.json"(exports2, module2) {
|
|
16139
|
-
module2.exports = {
|
|
16140
|
-
name: "@slack/web-api",
|
|
16141
|
-
version: "7.9.3",
|
|
16142
|
-
description: "Official library for using the Slack Platform's Web API",
|
|
16143
|
-
author: "Slack Technologies, LLC",
|
|
16144
|
-
license: "MIT",
|
|
16145
|
-
keywords: ["slack", "web-api", "bot", "client", "http", "api", "proxy", "rate-limiting", "pagination"],
|
|
16146
|
-
main: "dist/index.js",
|
|
16147
|
-
types: "./dist/index.d.ts",
|
|
16148
|
-
files: ["dist/**/*"],
|
|
16149
|
-
engines: {
|
|
16150
|
-
node: ">= 18",
|
|
16151
|
-
npm: ">= 8.6.0"
|
|
16152
|
-
},
|
|
16153
|
-
repository: "slackapi/node-slack-sdk",
|
|
16154
|
-
homepage: "https://tools.slack.dev/node-slack-sdk/web-api",
|
|
16155
|
-
publishConfig: {
|
|
16156
|
-
access: "public"
|
|
16157
|
-
},
|
|
16158
|
-
bugs: {
|
|
16159
|
-
url: "https://github.com/slackapi/node-slack-sdk/issues"
|
|
16160
|
-
},
|
|
16161
|
-
scripts: {
|
|
16162
|
-
prepare: "npm run build",
|
|
16163
|
-
build: "npm run build:clean && tsc",
|
|
16164
|
-
"build:clean": "shx rm -rf ./dist ./coverage",
|
|
16165
|
-
lint: "npx @biomejs/biome check .",
|
|
16166
|
-
"lint:fix": "npx @biomejs/biome check --write .",
|
|
16167
|
-
mocha: 'mocha --config ./test/.mocharc.json "./src/**/*.spec.ts"',
|
|
16168
|
-
test: "npm run lint && npm run test:types && npm run test:integration && npm run test:unit",
|
|
16169
|
-
"test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts",
|
|
16170
|
-
"test:integration:ts": "cd test/integration/ts-4.7-project && npm i && npm run build",
|
|
16171
|
-
"test:unit": "npm run build && c8 --config ./test/.c8rc.json npm run mocha",
|
|
16172
|
-
"test:types": "tsd",
|
|
16173
|
-
watch: "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"
|
|
16174
|
-
},
|
|
16175
|
-
dependencies: {
|
|
16176
|
-
"@slack/logger": "^4.0.0",
|
|
16177
|
-
"@slack/types": "^2.9.0",
|
|
16178
|
-
"@types/node": ">=18.0.0",
|
|
16179
|
-
"@types/retry": "0.12.0",
|
|
16180
|
-
axios: "^1.8.3",
|
|
16181
|
-
eventemitter3: "^5.0.1",
|
|
16182
|
-
"form-data": "^4.0.0",
|
|
16183
|
-
"is-electron": "2.2.2",
|
|
16184
|
-
"is-stream": "^2",
|
|
16185
|
-
"p-queue": "^6",
|
|
16186
|
-
"p-retry": "^4",
|
|
16187
|
-
retry: "^0.13.1"
|
|
16188
|
-
},
|
|
16189
|
-
devDependencies: {
|
|
16190
|
-
"@biomejs/biome": "^1.8.3",
|
|
16191
|
-
"@tsconfig/recommended": "^1",
|
|
16192
|
-
"@types/busboy": "^1.5.4",
|
|
16193
|
-
"@types/chai": "^4",
|
|
16194
|
-
"@types/mocha": "^10",
|
|
16195
|
-
"@types/sinon": "^17",
|
|
16196
|
-
busboy: "^1",
|
|
16197
|
-
c8: "^10.1.2",
|
|
16198
|
-
chai: "^4",
|
|
16199
|
-
mocha: "^11",
|
|
16200
|
-
"mocha-junit-reporter": "^2.2.1",
|
|
16201
|
-
"mocha-multi-reporters": "^1.5.1",
|
|
16202
|
-
nock: "^14",
|
|
16203
|
-
shx: "^0.4.0",
|
|
16204
|
-
sinon: "^21",
|
|
16205
|
-
"source-map-support": "^0.5.21",
|
|
16206
|
-
"ts-node": "^10",
|
|
16207
|
-
tsd: "^0.32.0",
|
|
16208
|
-
typescript: "5.8.3"
|
|
16209
|
-
},
|
|
16210
|
-
tsd: {
|
|
16211
|
-
directory: "test/types"
|
|
16212
|
-
}
|
|
16213
|
-
};
|
|
16214
|
-
}
|
|
16215
|
-
});
|
|
16216
|
-
|
|
16217
|
-
// node_modules/@slack/web-api/dist/instrument.js
|
|
16218
|
-
var require_instrument = __commonJS({
|
|
16219
|
-
"node_modules/@slack/web-api/dist/instrument.js"(exports2) {
|
|
16220
|
-
"use strict";
|
|
16221
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
16222
|
-
if (k2 === void 0) k2 = k;
|
|
16223
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16224
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16225
|
-
desc = { enumerable: true, get: function() {
|
|
16226
|
-
return m[k];
|
|
16227
|
-
} };
|
|
16228
|
-
}
|
|
16229
|
-
Object.defineProperty(o, k2, desc);
|
|
16230
|
-
} : function(o, m, k, k2) {
|
|
16231
|
-
if (k2 === void 0) k2 = k;
|
|
16232
|
-
o[k2] = m[k];
|
|
16233
|
-
});
|
|
16234
|
-
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
16235
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16236
|
-
} : function(o, v) {
|
|
16237
|
-
o["default"] = v;
|
|
16238
|
-
});
|
|
16239
|
-
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
16240
|
-
var ownKeys = function(o) {
|
|
16241
|
-
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
16242
|
-
var ar = [];
|
|
16243
|
-
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
16244
|
-
return ar;
|
|
16245
|
-
};
|
|
16246
|
-
return ownKeys(o);
|
|
16247
|
-
};
|
|
16248
|
-
return function(mod) {
|
|
16249
|
-
if (mod && mod.__esModule) return mod;
|
|
16250
|
-
var result = {};
|
|
16251
|
-
if (mod != null) {
|
|
16252
|
-
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
16253
|
-
}
|
|
16254
|
-
__setModuleDefault(result, mod);
|
|
16255
|
-
return result;
|
|
16256
|
-
};
|
|
16257
|
-
}();
|
|
16258
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16259
|
-
exports2.addAppMetadata = addAppMetadata;
|
|
16260
|
-
exports2.getUserAgent = getUserAgent;
|
|
16261
|
-
var os = __importStar(require("node:os"));
|
|
16262
|
-
var node_path_1 = require("node:path");
|
|
16263
|
-
var packageJson = require_package();
|
|
16264
|
-
function replaceSlashes(s) {
|
|
16265
|
-
return s.replace("/", ":");
|
|
16266
|
-
}
|
|
16267
|
-
var baseUserAgent = `${replaceSlashes(packageJson.name)}/${packageJson.version} ${(0, node_path_1.basename)(process.title)}/${process.version.replace("v", "")} ${os.platform()}/${os.release()}`;
|
|
16268
|
-
var appMetadata = {};
|
|
16269
|
-
function addAppMetadata({ name, version }) {
|
|
16270
|
-
appMetadata[replaceSlashes(name)] = version;
|
|
16271
|
-
}
|
|
16272
|
-
function getUserAgent() {
|
|
16273
|
-
const appIdentifier = Object.entries(appMetadata).map(([name, version]) => `${name}/${version}`).join(" ");
|
|
16274
|
-
return (appIdentifier.length > 0 ? `${appIdentifier} ` : "") + baseUserAgent;
|
|
16275
|
-
}
|
|
16276
|
-
}
|
|
16277
|
-
});
|
|
16278
|
-
|
|
16279
|
-
// node_modules/@slack/logger/dist/index.js
|
|
16280
|
-
var require_dist2 = __commonJS({
|
|
16281
|
-
"node_modules/@slack/logger/dist/index.js"(exports2) {
|
|
16282
|
-
"use strict";
|
|
16283
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16284
|
-
exports2.ConsoleLogger = exports2.LogLevel = void 0;
|
|
16285
|
-
var LogLevel;
|
|
16286
|
-
(function(LogLevel2) {
|
|
16287
|
-
LogLevel2["ERROR"] = "error";
|
|
16288
|
-
LogLevel2["WARN"] = "warn";
|
|
16289
|
-
LogLevel2["INFO"] = "info";
|
|
16290
|
-
LogLevel2["DEBUG"] = "debug";
|
|
16291
|
-
})(LogLevel = exports2.LogLevel || (exports2.LogLevel = {}));
|
|
16292
|
-
var ConsoleLogger = class _ConsoleLogger {
|
|
16293
|
-
constructor() {
|
|
16294
|
-
this.level = LogLevel.INFO;
|
|
16295
|
-
this.name = "";
|
|
16296
|
-
}
|
|
16297
|
-
getLevel() {
|
|
16298
|
-
return this.level;
|
|
16299
|
-
}
|
|
16300
|
-
/**
|
|
16301
|
-
* Sets the instance's log level so that only messages which are equal or more severe are output to the console.
|
|
16302
|
-
*/
|
|
16303
|
-
setLevel(level) {
|
|
16304
|
-
this.level = level;
|
|
16305
|
-
}
|
|
16306
|
-
/**
|
|
16307
|
-
* Set the instance's name, which will appear on each log line before the message.
|
|
16308
|
-
*/
|
|
16309
|
-
setName(name) {
|
|
16310
|
-
this.name = name;
|
|
16311
|
-
}
|
|
16312
|
-
/**
|
|
16313
|
-
* Log a debug message
|
|
16314
|
-
*/
|
|
16315
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16316
|
-
debug(...msg) {
|
|
16317
|
-
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.DEBUG, this.level)) {
|
|
16318
|
-
console.debug(_ConsoleLogger.labels.get(LogLevel.DEBUG), this.name, ...msg);
|
|
16319
|
-
}
|
|
16320
|
-
}
|
|
16321
|
-
/**
|
|
16322
|
-
* Log an info message
|
|
16323
|
-
*/
|
|
16324
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16325
|
-
info(...msg) {
|
|
16326
|
-
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.INFO, this.level)) {
|
|
16327
|
-
console.info(_ConsoleLogger.labels.get(LogLevel.INFO), this.name, ...msg);
|
|
16328
|
-
}
|
|
16329
|
-
}
|
|
16330
|
-
/**
|
|
16331
|
-
* Log a warning message
|
|
16332
|
-
*/
|
|
16333
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16334
|
-
warn(...msg) {
|
|
16335
|
-
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.WARN, this.level)) {
|
|
16336
|
-
console.warn(_ConsoleLogger.labels.get(LogLevel.WARN), this.name, ...msg);
|
|
16337
|
-
}
|
|
16338
|
-
}
|
|
16339
|
-
/**
|
|
16340
|
-
* Log an error message
|
|
16341
|
-
*/
|
|
16342
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16343
|
-
error(...msg) {
|
|
16344
|
-
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.ERROR, this.level)) {
|
|
16345
|
-
console.error(_ConsoleLogger.labels.get(LogLevel.ERROR), this.name, ...msg);
|
|
16346
|
-
}
|
|
16347
|
-
}
|
|
16348
|
-
/**
|
|
16349
|
-
* Helper to compare two log levels and determine if a is equal or more severe than b
|
|
16350
|
-
*/
|
|
16351
|
-
static isMoreOrEqualSevere(a, b) {
|
|
16352
|
-
return _ConsoleLogger.severity[a] >= _ConsoleLogger.severity[b];
|
|
16353
|
-
}
|
|
16354
|
-
};
|
|
16355
|
-
exports2.ConsoleLogger = ConsoleLogger;
|
|
16356
|
-
ConsoleLogger.labels = (() => {
|
|
16357
|
-
const entries = Object.entries(LogLevel);
|
|
16358
|
-
const map = entries.map(([key, value]) => [value, `[${key}] `]);
|
|
16359
|
-
return new Map(map);
|
|
16360
|
-
})();
|
|
16361
|
-
ConsoleLogger.severity = {
|
|
16362
|
-
[LogLevel.ERROR]: 400,
|
|
16363
|
-
[LogLevel.WARN]: 300,
|
|
16364
|
-
[LogLevel.INFO]: 200,
|
|
16365
|
-
[LogLevel.DEBUG]: 100
|
|
16366
|
-
};
|
|
16557
|
+
function buildMissingExtensionWarning(filename) {
|
|
16558
|
+
return `filename supplied '${filename}' may be missing a proper extension. Missing extenions may result in unexpected unfurl behavior when shared`;
|
|
16559
|
+
}
|
|
16560
|
+
function buildLegacyMethodWarning(method) {
|
|
16561
|
+
return `${method} may cause some issues like timeouts for relatively large files.`;
|
|
16562
|
+
}
|
|
16563
|
+
function buildGeneralFilesUploadWarning() {
|
|
16564
|
+
return "Our latest recommendation is to use client.files.uploadV2() method, which is mostly compatible and much stabler, instead.";
|
|
16565
|
+
}
|
|
16566
|
+
function buildFilesUploadMissingMessage() {
|
|
16567
|
+
return "Something went wrong with processing file_uploads";
|
|
16568
|
+
}
|
|
16569
|
+
function buildChannelsWarning() {
|
|
16570
|
+
return "Although the 'channels' parameter is still supported for smoother migration from legacy files.upload, we recommend using the new channel_id parameter with a single str value instead (e.g. 'C12345').";
|
|
16571
|
+
}
|
|
16572
|
+
function buildMultipleChannelsErrorMsg() {
|
|
16573
|
+
return "Sharing files with multiple channels is no longer supported in v2. Share files in each channel separately instead.";
|
|
16574
|
+
}
|
|
16575
|
+
function buildInvalidFilesUploadParamError() {
|
|
16576
|
+
return "You may supply file_uploads only for a single channel, message, or thread respectively. Therefore, please supply any channel_id, initial_comment or blocks, or thread_ts in the top-layer.";
|
|
16577
|
+
}
|
|
16367
16578
|
}
|
|
16368
16579
|
});
|
|
16369
16580
|
|
|
16370
|
-
// node_modules/@slack/web-api/dist/
|
|
16371
|
-
var
|
|
16372
|
-
"node_modules/@slack/web-api/dist/
|
|
16581
|
+
// node_modules/@slack/web-api/dist/helpers.js
|
|
16582
|
+
var require_helpers = __commonJS({
|
|
16583
|
+
"node_modules/@slack/web-api/dist/helpers.js"(exports2) {
|
|
16373
16584
|
"use strict";
|
|
16374
16585
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16375
|
-
exports2.
|
|
16376
|
-
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
return logger_2.LogLevel;
|
|
16381
|
-
} });
|
|
16382
|
-
var instanceCount = 0;
|
|
16383
|
-
function getLogger(name, level, existingLogger) {
|
|
16384
|
-
const instanceId = instanceCount;
|
|
16385
|
-
instanceCount += 1;
|
|
16386
|
-
const logger = (() => {
|
|
16387
|
-
if (existingLogger !== void 0) {
|
|
16388
|
-
return existingLogger;
|
|
16389
|
-
}
|
|
16390
|
-
return new logger_1.ConsoleLogger();
|
|
16391
|
-
})();
|
|
16392
|
-
logger.setName(`web-api:${name}:${instanceId}`);
|
|
16393
|
-
if (level !== void 0) {
|
|
16394
|
-
logger.setLevel(level);
|
|
16395
|
-
}
|
|
16396
|
-
return logger;
|
|
16586
|
+
exports2.default = delay;
|
|
16587
|
+
function delay(ms) {
|
|
16588
|
+
return new Promise((resolve) => {
|
|
16589
|
+
setTimeout(resolve, ms);
|
|
16590
|
+
});
|
|
16397
16591
|
}
|
|
16398
16592
|
}
|
|
16399
16593
|
});
|
|
@@ -16560,6 +16754,38 @@ var require_eventemitter32 = __commonJS({
|
|
|
16560
16754
|
}
|
|
16561
16755
|
});
|
|
16562
16756
|
|
|
16757
|
+
// node_modules/@slack/types/dist/block-kit/block-elements.js
|
|
16758
|
+
var require_block_elements = __commonJS({
|
|
16759
|
+
"node_modules/@slack/types/dist/block-kit/block-elements.js"(exports2) {
|
|
16760
|
+
"use strict";
|
|
16761
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16762
|
+
}
|
|
16763
|
+
});
|
|
16764
|
+
|
|
16765
|
+
// node_modules/@slack/types/dist/block-kit/blocks.js
|
|
16766
|
+
var require_blocks = __commonJS({
|
|
16767
|
+
"node_modules/@slack/types/dist/block-kit/blocks.js"(exports2) {
|
|
16768
|
+
"use strict";
|
|
16769
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16770
|
+
}
|
|
16771
|
+
});
|
|
16772
|
+
|
|
16773
|
+
// node_modules/@slack/types/dist/block-kit/composition-objects.js
|
|
16774
|
+
var require_composition_objects = __commonJS({
|
|
16775
|
+
"node_modules/@slack/types/dist/block-kit/composition-objects.js"(exports2) {
|
|
16776
|
+
"use strict";
|
|
16777
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16778
|
+
}
|
|
16779
|
+
});
|
|
16780
|
+
|
|
16781
|
+
// node_modules/@slack/types/dist/block-kit/extensions.js
|
|
16782
|
+
var require_extensions = __commonJS({
|
|
16783
|
+
"node_modules/@slack/types/dist/block-kit/extensions.js"(exports2) {
|
|
16784
|
+
"use strict";
|
|
16785
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16786
|
+
}
|
|
16787
|
+
});
|
|
16788
|
+
|
|
16563
16789
|
// node_modules/@slack/types/dist/calls.js
|
|
16564
16790
|
var require_calls = __commonJS({
|
|
16565
16791
|
"node_modules/@slack/types/dist/calls.js"(exports2) {
|
|
@@ -16744,6 +16970,14 @@ var require_star = __commonJS({
|
|
|
16744
16970
|
}
|
|
16745
16971
|
});
|
|
16746
16972
|
|
|
16973
|
+
// node_modules/@slack/types/dist/events/steps-from-apps.js
|
|
16974
|
+
var require_steps_from_apps = __commonJS({
|
|
16975
|
+
"node_modules/@slack/types/dist/events/steps-from-apps.js"(exports2) {
|
|
16976
|
+
"use strict";
|
|
16977
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16978
|
+
}
|
|
16979
|
+
});
|
|
16980
|
+
|
|
16747
16981
|
// node_modules/@slack/types/dist/events/subteam.js
|
|
16748
16982
|
var require_subteam = __commonJS({
|
|
16749
16983
|
"node_modules/@slack/types/dist/events/subteam.js"(exports2) {
|
|
@@ -16776,19 +17010,11 @@ var require_user = __commonJS({
|
|
|
16776
17010
|
}
|
|
16777
17011
|
});
|
|
16778
17012
|
|
|
16779
|
-
// node_modules/@slack/types/dist/events/steps-from-apps.js
|
|
16780
|
-
var require_steps_from_apps = __commonJS({
|
|
16781
|
-
"node_modules/@slack/types/dist/events/steps-from-apps.js"(exports2) {
|
|
16782
|
-
"use strict";
|
|
16783
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16784
|
-
}
|
|
16785
|
-
});
|
|
16786
|
-
|
|
16787
17013
|
// node_modules/@slack/types/dist/events/index.js
|
|
16788
17014
|
var require_events = __commonJS({
|
|
16789
17015
|
"node_modules/@slack/types/dist/events/index.js"(exports2) {
|
|
16790
17016
|
"use strict";
|
|
16791
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
17017
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
16792
17018
|
if (k2 === void 0) k2 = k;
|
|
16793
17019
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16794
17020
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -16797,10 +17023,10 @@ var require_events = __commonJS({
|
|
|
16797
17023
|
} };
|
|
16798
17024
|
}
|
|
16799
17025
|
Object.defineProperty(o, k2, desc);
|
|
16800
|
-
} : function(o, m, k, k2) {
|
|
17026
|
+
}) : (function(o, m, k, k2) {
|
|
16801
17027
|
if (k2 === void 0) k2 = k;
|
|
16802
17028
|
o[k2] = m[k];
|
|
16803
|
-
});
|
|
17029
|
+
}));
|
|
16804
17030
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
16805
17031
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
16806
17032
|
};
|
|
@@ -16826,19 +17052,11 @@ var require_events = __commonJS({
|
|
|
16826
17052
|
__exportStar(require_reaction(), exports2);
|
|
16827
17053
|
__exportStar(require_shared_channel(), exports2);
|
|
16828
17054
|
__exportStar(require_star(), exports2);
|
|
17055
|
+
__exportStar(require_steps_from_apps(), exports2);
|
|
16829
17056
|
__exportStar(require_subteam(), exports2);
|
|
16830
17057
|
__exportStar(require_team(), exports2);
|
|
16831
17058
|
__exportStar(require_token(), exports2);
|
|
16832
17059
|
__exportStar(require_user(), exports2);
|
|
16833
|
-
__exportStar(require_steps_from_apps(), exports2);
|
|
16834
|
-
}
|
|
16835
|
-
});
|
|
16836
|
-
|
|
16837
|
-
// node_modules/@slack/types/dist/message-metadata.js
|
|
16838
|
-
var require_message_metadata2 = __commonJS({
|
|
16839
|
-
"node_modules/@slack/types/dist/message-metadata.js"(exports2) {
|
|
16840
|
-
"use strict";
|
|
16841
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16842
17060
|
}
|
|
16843
17061
|
});
|
|
16844
17062
|
|
|
@@ -16850,41 +17068,17 @@ var require_message_attachments = __commonJS({
|
|
|
16850
17068
|
}
|
|
16851
17069
|
});
|
|
16852
17070
|
|
|
16853
|
-
// node_modules/@slack/types/dist/
|
|
16854
|
-
var
|
|
16855
|
-
"node_modules/@slack/types/dist/
|
|
16856
|
-
"use strict";
|
|
16857
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16858
|
-
}
|
|
16859
|
-
});
|
|
16860
|
-
|
|
16861
|
-
// node_modules/@slack/types/dist/block-kit/blocks.js
|
|
16862
|
-
var require_blocks = __commonJS({
|
|
16863
|
-
"node_modules/@slack/types/dist/block-kit/blocks.js"(exports2) {
|
|
16864
|
-
"use strict";
|
|
16865
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16866
|
-
}
|
|
16867
|
-
});
|
|
16868
|
-
|
|
16869
|
-
// node_modules/@slack/types/dist/block-kit/composition-objects.js
|
|
16870
|
-
var require_composition_objects = __commonJS({
|
|
16871
|
-
"node_modules/@slack/types/dist/block-kit/composition-objects.js"(exports2) {
|
|
16872
|
-
"use strict";
|
|
16873
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16874
|
-
}
|
|
16875
|
-
});
|
|
16876
|
-
|
|
16877
|
-
// node_modules/@slack/types/dist/block-kit/block-elements.js
|
|
16878
|
-
var require_block_elements = __commonJS({
|
|
16879
|
-
"node_modules/@slack/types/dist/block-kit/block-elements.js"(exports2) {
|
|
17071
|
+
// node_modules/@slack/types/dist/message-metadata.js
|
|
17072
|
+
var require_message_metadata2 = __commonJS({
|
|
17073
|
+
"node_modules/@slack/types/dist/message-metadata.js"(exports2) {
|
|
16880
17074
|
"use strict";
|
|
16881
17075
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16882
17076
|
}
|
|
16883
17077
|
});
|
|
16884
17078
|
|
|
16885
|
-
// node_modules/@slack/types/dist/
|
|
16886
|
-
var
|
|
16887
|
-
"node_modules/@slack/types/dist/
|
|
17079
|
+
// node_modules/@slack/types/dist/views.js
|
|
17080
|
+
var require_views = __commonJS({
|
|
17081
|
+
"node_modules/@slack/types/dist/views.js"(exports2) {
|
|
16888
17082
|
"use strict";
|
|
16889
17083
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16890
17084
|
}
|
|
@@ -16894,7 +17088,7 @@ var require_extensions = __commonJS({
|
|
|
16894
17088
|
var require_dist3 = __commonJS({
|
|
16895
17089
|
"node_modules/@slack/types/dist/index.js"(exports2) {
|
|
16896
17090
|
"use strict";
|
|
16897
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
17091
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
16898
17092
|
if (k2 === void 0) k2 = k;
|
|
16899
17093
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16900
17094
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -16903,24 +17097,24 @@ var require_dist3 = __commonJS({
|
|
|
16903
17097
|
} };
|
|
16904
17098
|
}
|
|
16905
17099
|
Object.defineProperty(o, k2, desc);
|
|
16906
|
-
} : function(o, m, k, k2) {
|
|
17100
|
+
}) : (function(o, m, k, k2) {
|
|
16907
17101
|
if (k2 === void 0) k2 = k;
|
|
16908
17102
|
o[k2] = m[k];
|
|
16909
|
-
});
|
|
17103
|
+
}));
|
|
16910
17104
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
16911
17105
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
16912
17106
|
};
|
|
16913
17107
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
17108
|
+
__exportStar(require_block_elements(), exports2);
|
|
17109
|
+
__exportStar(require_blocks(), exports2);
|
|
17110
|
+
__exportStar(require_composition_objects(), exports2);
|
|
17111
|
+
__exportStar(require_extensions(), exports2);
|
|
16914
17112
|
__exportStar(require_calls(), exports2);
|
|
16915
17113
|
__exportStar(require_dialog(), exports2);
|
|
16916
17114
|
__exportStar(require_events(), exports2);
|
|
16917
|
-
__exportStar(require_message_metadata2(), exports2);
|
|
16918
17115
|
__exportStar(require_message_attachments(), exports2);
|
|
17116
|
+
__exportStar(require_message_metadata2(), exports2);
|
|
16919
17117
|
__exportStar(require_views(), exports2);
|
|
16920
|
-
__exportStar(require_blocks(), exports2);
|
|
16921
|
-
__exportStar(require_composition_objects(), exports2);
|
|
16922
|
-
__exportStar(require_block_elements(), exports2);
|
|
16923
|
-
__exportStar(require_extensions(), exports2);
|
|
16924
17118
|
}
|
|
16925
17119
|
});
|
|
16926
17120
|
|
|
@@ -16928,7 +17122,7 @@ var require_dist3 = __commonJS({
|
|
|
16928
17122
|
var require_methods = __commonJS({
|
|
16929
17123
|
"node_modules/@slack/web-api/dist/methods.js"(exports2) {
|
|
16930
17124
|
"use strict";
|
|
16931
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
17125
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
16932
17126
|
if (k2 === void 0) k2 = k;
|
|
16933
17127
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16934
17128
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -16937,10 +17131,10 @@ var require_methods = __commonJS({
|
|
|
16937
17131
|
} };
|
|
16938
17132
|
}
|
|
16939
17133
|
Object.defineProperty(o, k2, desc);
|
|
16940
|
-
} : function(o, m, k, k2) {
|
|
17134
|
+
}) : (function(o, m, k, k2) {
|
|
16941
17135
|
if (k2 === void 0) k2 = k;
|
|
16942
17136
|
o[k2] = m[k];
|
|
16943
|
-
});
|
|
17137
|
+
}));
|
|
16944
17138
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
16945
17139
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
16946
17140
|
};
|
|
@@ -16966,7 +17160,7 @@ var require_methods = __commonJS({
|
|
|
16966
17160
|
analytics: {
|
|
16967
17161
|
/**
|
|
16968
17162
|
* @description Retrieve analytics data for a given date, presented as a compressed JSON file.
|
|
16969
|
-
* @see {@link https://
|
|
17163
|
+
* @see {@link https://docs.slack.dev/reference/methods/api.test `api.test` API reference}.
|
|
16970
17164
|
*/
|
|
16971
17165
|
getFile: bindApiCall(this, "admin.analytics.getFile")
|
|
16972
17166
|
},
|
|
@@ -16974,66 +17168,66 @@ var require_methods = __commonJS({
|
|
|
16974
17168
|
activities: {
|
|
16975
17169
|
/**
|
|
16976
17170
|
* @description Get logs for a specified team/org.
|
|
16977
|
-
* @see {@link https://
|
|
17171
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.activities.list `admin.apps.activities.list` API reference}.
|
|
16978
17172
|
*/
|
|
16979
17173
|
list: bindApiCallWithOptionalArgument(this, "admin.apps.activities.list")
|
|
16980
17174
|
},
|
|
16981
17175
|
/**
|
|
16982
17176
|
* @description Approve an app for installation on a workspace.
|
|
16983
|
-
* @see {@link https://
|
|
17177
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.approve `admin.apps.approve` API reference}.
|
|
16984
17178
|
*/
|
|
16985
17179
|
approve: bindApiCall(this, "admin.apps.approve"),
|
|
16986
17180
|
approved: {
|
|
16987
17181
|
/**
|
|
16988
17182
|
* @description List approved apps for an org or workspace.
|
|
16989
|
-
* @see {@link https://
|
|
17183
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.approved.list `admin.apps.approved.list` API reference}.
|
|
16990
17184
|
*/
|
|
16991
17185
|
list: bindApiCall(this, "admin.apps.approved.list")
|
|
16992
17186
|
},
|
|
16993
17187
|
/**
|
|
16994
17188
|
* @description Clear an app resolution.
|
|
16995
|
-
* @see {@link https://
|
|
17189
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.clearResolution `admin.apps.clearResolution` API reference}.
|
|
16996
17190
|
*/
|
|
16997
17191
|
clearResolution: bindApiCall(this, "admin.apps.clearResolution"),
|
|
16998
17192
|
config: {
|
|
16999
17193
|
/**
|
|
17000
17194
|
* @description Look up the app config for connectors by their IDs.
|
|
17001
|
-
* @see {@link https://
|
|
17195
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.config.lookup `admin.apps.config.lookup` API reference}.
|
|
17002
17196
|
*/
|
|
17003
17197
|
lookup: bindApiCall(this, "admin.apps.config.lookup"),
|
|
17004
17198
|
/**
|
|
17005
17199
|
* @description Set the app config for a connector.
|
|
17006
|
-
* @see {@link https://
|
|
17200
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.config.set `admin.apps.config.set` API reference}.
|
|
17007
17201
|
*/
|
|
17008
17202
|
set: bindApiCall(this, "admin.apps.config.set")
|
|
17009
17203
|
},
|
|
17010
17204
|
requests: {
|
|
17011
17205
|
/**
|
|
17012
17206
|
* @description Cancel app request for team.
|
|
17013
|
-
* @see {@link https://
|
|
17207
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.requests.cancel `admin.apps.requests.cancel` API reference}.
|
|
17014
17208
|
*/
|
|
17015
17209
|
cancel: bindApiCall(this, "admin.apps.requests.cancel"),
|
|
17016
17210
|
/**
|
|
17017
17211
|
* @description List app requests for a team/workspace.
|
|
17018
|
-
* @see {@link https://
|
|
17212
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.requests.list `admin.apps.requests.list` API reference}.
|
|
17019
17213
|
*/
|
|
17020
17214
|
list: bindApiCall(this, "admin.apps.requests.list")
|
|
17021
17215
|
},
|
|
17022
17216
|
/**
|
|
17023
17217
|
* @description Restrict an app for installation on a workspace.
|
|
17024
|
-
* @see {@link https://
|
|
17218
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.restrict `admin.apps.restrict` API reference}.
|
|
17025
17219
|
*/
|
|
17026
17220
|
restrict: bindApiCall(this, "admin.apps.restrict"),
|
|
17027
17221
|
restricted: {
|
|
17028
17222
|
/**
|
|
17029
17223
|
* @description List restricted apps for an org or workspace.
|
|
17030
|
-
* @see {@link https://
|
|
17224
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.restricted.list `admin.apps.restricted.list` API reference}.
|
|
17031
17225
|
*/
|
|
17032
17226
|
list: bindApiCall(this, "admin.apps.restricted.list")
|
|
17033
17227
|
},
|
|
17034
17228
|
/**
|
|
17035
17229
|
* @description Uninstall an app from one or many workspaces, or an entire enterprise organization.
|
|
17036
|
-
* @see {@link https://
|
|
17230
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.apps.uninstall `admin.apps.uninstall` API reference}.
|
|
17037
17231
|
*/
|
|
17038
17232
|
uninstall: bindApiCall(this, "admin.apps.uninstall")
|
|
17039
17233
|
},
|
|
@@ -17041,17 +17235,17 @@ var require_methods = __commonJS({
|
|
|
17041
17235
|
policy: {
|
|
17042
17236
|
/**
|
|
17043
17237
|
* @description Assign entities to a particular authentication policy.
|
|
17044
|
-
* @see {@link https://
|
|
17238
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.auth.policy.assignEntities `admin.auth.policy.assignEntities` API reference}.
|
|
17045
17239
|
*/
|
|
17046
17240
|
assignEntities: bindApiCall(this, "admin.auth.policy.assignEntities"),
|
|
17047
17241
|
/**
|
|
17048
17242
|
* @description Fetch all the entities assigned to a particular authentication policy by name.
|
|
17049
|
-
* @see {@link https://
|
|
17243
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.auth.policy.getEntities `admin.auth.policy.getEntities` API reference}.
|
|
17050
17244
|
*/
|
|
17051
17245
|
getEntities: bindApiCall(this, "admin.auth.policy.getEntities"),
|
|
17052
17246
|
/**
|
|
17053
17247
|
* @description Remove specified entities from a specified authentication policy.
|
|
17054
|
-
* @see {@link https://
|
|
17248
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.auth.policy.removeEntities `admin.auth.policy.removeEntities` API reference}.
|
|
17055
17249
|
*/
|
|
17056
17250
|
removeEntities: bindApiCall(this, "admin.auth.policy.removeEntities")
|
|
17057
17251
|
}
|
|
@@ -17059,202 +17253,202 @@ var require_methods = __commonJS({
|
|
|
17059
17253
|
barriers: {
|
|
17060
17254
|
/**
|
|
17061
17255
|
* @description Create an Information Barrier.
|
|
17062
|
-
* @see {@link https://
|
|
17256
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.barriers.create `admin.barriers.create` API reference}.
|
|
17063
17257
|
*/
|
|
17064
17258
|
create: bindApiCall(this, "admin.barriers.create"),
|
|
17065
17259
|
/**
|
|
17066
17260
|
* @description Delete an existing Information Barrier.
|
|
17067
|
-
* @see {@link https://
|
|
17261
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.barriers.delete `admin.barriers.delete` API reference}.
|
|
17068
17262
|
*/
|
|
17069
17263
|
delete: bindApiCall(this, "admin.barriers.delete"),
|
|
17070
17264
|
/**
|
|
17071
17265
|
* @description Get all Information Barriers for your organization.
|
|
17072
|
-
* @see {@link https://
|
|
17266
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.barriers.list `admin.barriers.list` API reference}.
|
|
17073
17267
|
*/
|
|
17074
17268
|
list: bindApiCallWithOptionalArgument(this, "admin.barriers.list"),
|
|
17075
17269
|
/**
|
|
17076
17270
|
* @description Update an existing Information Barrier.
|
|
17077
|
-
* @see {@link https://
|
|
17271
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.barriers.update `admin.barriers.update` API reference}.
|
|
17078
17272
|
*/
|
|
17079
17273
|
update: bindApiCall(this, "admin.barriers.update")
|
|
17080
17274
|
},
|
|
17081
17275
|
conversations: {
|
|
17082
17276
|
/**
|
|
17083
17277
|
* @description Archive a public or private channel.
|
|
17084
|
-
* @see {@link https://
|
|
17278
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.archive `admin.conversations.archive` API reference}.
|
|
17085
17279
|
*/
|
|
17086
17280
|
archive: bindApiCall(this, "admin.conversations.archive"),
|
|
17087
17281
|
/**
|
|
17088
17282
|
* @description Archive public or private channels in bulk.
|
|
17089
|
-
* @see {@link https://
|
|
17283
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.bulkArchive `admin.conversations.bulkArchive` API reference}.
|
|
17090
17284
|
*/
|
|
17091
17285
|
bulkArchive: bindApiCall(this, "admin.conversations.bulkArchive"),
|
|
17092
17286
|
/**
|
|
17093
17287
|
* @description Delete public or private channels in bulk.
|
|
17094
|
-
* @see {@link https://
|
|
17288
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.bulkDelete `admin.conversations.bulkDelete` API reference}.
|
|
17095
17289
|
*/
|
|
17096
17290
|
bulkDelete: bindApiCall(this, "admin.conversations.bulkDelete"),
|
|
17097
17291
|
/**
|
|
17098
17292
|
* @description Move public or private channels in bulk.
|
|
17099
|
-
* @see {@link https://
|
|
17293
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.bulkMove `admin.conversations.bulkMove` API reference}.
|
|
17100
17294
|
*/
|
|
17101
17295
|
bulkMove: bindApiCall(this, "admin.conversations.bulkMove"),
|
|
17102
17296
|
/**
|
|
17103
17297
|
* @description Convert a public channel to a private channel.
|
|
17104
|
-
* @see {@link https://
|
|
17298
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.convertToPrivate `admin.conversations.convertToPrivate` API reference}.
|
|
17105
17299
|
*/
|
|
17106
17300
|
convertToPrivate: bindApiCall(this, "admin.conversations.convertToPrivate"),
|
|
17107
17301
|
/**
|
|
17108
17302
|
* @description Convert a private channel to a public channel.
|
|
17109
|
-
* @see {@link https://
|
|
17303
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.convertToPublic `admin.conversations.convertToPublic` API reference}.
|
|
17110
17304
|
*/
|
|
17111
17305
|
convertToPublic: bindApiCall(this, "admin.conversations.convertToPublic"),
|
|
17112
17306
|
/**
|
|
17113
17307
|
* @description Create a public or private channel-based conversation.
|
|
17114
|
-
* @see {@link https://
|
|
17308
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.create `admin.conversations.create` API reference}.
|
|
17115
17309
|
*/
|
|
17116
17310
|
create: bindApiCall(this, "admin.conversations.create"),
|
|
17117
17311
|
/**
|
|
17118
17312
|
* @description Delete a public or private channel.
|
|
17119
|
-
* @see {@link https://
|
|
17313
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.delete `admin.conversations.delete` API reference}.
|
|
17120
17314
|
*/
|
|
17121
17315
|
delete: bindApiCall(this, "admin.conversations.delete"),
|
|
17122
17316
|
/**
|
|
17123
17317
|
* @description Disconnect a connected channel from one or more workspaces.
|
|
17124
|
-
* @see {@link https://
|
|
17318
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.disconnectShared `admin.conversations.disconnectShared` API reference}.
|
|
17125
17319
|
*/
|
|
17126
17320
|
disconnectShared: bindApiCall(this, "admin.conversations.disconnectShared"),
|
|
17127
17321
|
ekm: {
|
|
17128
17322
|
/**
|
|
17129
17323
|
* @description List all disconnected channels — i.e., channels that were once connected to other workspaces
|
|
17130
17324
|
* and then disconnected — and the corresponding original channel IDs for key revocation with EKM.
|
|
17131
|
-
* @see {@link https://
|
|
17325
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.ekm.listOriginalConnectedChannelInfo `admin.conversations.ekm.listOriginalConnectedChannelInfo` API reference}.
|
|
17132
17326
|
*/
|
|
17133
17327
|
listOriginalConnectedChannelInfo: bindApiCallWithOptionalArgument(this, "admin.conversations.ekm.listOriginalConnectedChannelInfo")
|
|
17134
17328
|
},
|
|
17135
17329
|
/**
|
|
17136
17330
|
* @description Get conversation preferences for a public or private channel.
|
|
17137
|
-
* @see {@link https://
|
|
17331
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.getConversationPrefs `admin.conversations.getConversationPrefs` API reference}.
|
|
17138
17332
|
*/
|
|
17139
17333
|
getConversationPrefs: bindApiCall(this, "admin.conversations.getConversationPrefs"),
|
|
17140
17334
|
/**
|
|
17141
17335
|
* @description Get a conversation's retention policy.
|
|
17142
|
-
* @see {@link https://
|
|
17336
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.getCustomRetention `admin.conversations.getCustomRetention` API reference}.
|
|
17143
17337
|
*/
|
|
17144
17338
|
getCustomRetention: bindApiCall(this, "admin.conversations.getCustomRetention"),
|
|
17145
17339
|
/**
|
|
17146
17340
|
* @description Get all the workspaces a given public or private channel is connected to within
|
|
17147
17341
|
* this Enterprise org.
|
|
17148
|
-
* @see {@link https://
|
|
17342
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.getTeams `admin.conversations.getTeams` API reference}.
|
|
17149
17343
|
*/
|
|
17150
17344
|
getTeams: bindApiCall(this, "admin.conversations.getTeams"),
|
|
17151
17345
|
/**
|
|
17152
17346
|
* @description Invite a user to a public or private channel.
|
|
17153
|
-
* @see {@link https://
|
|
17347
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.invite `admin.conversations.invite` API reference}.
|
|
17154
17348
|
*/
|
|
17155
17349
|
invite: bindApiCall(this, "admin.conversations.invite"),
|
|
17156
17350
|
/**
|
|
17157
17351
|
* @description Returns channels on the given team using the filters.
|
|
17158
|
-
* @see {@link https://
|
|
17352
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.lookup `admin.conversations.lookup` API reference}.
|
|
17159
17353
|
*/
|
|
17160
17354
|
lookup: bindApiCall(this, "admin.conversations.lookup"),
|
|
17161
17355
|
/**
|
|
17162
17356
|
* @description Remove a conversation's retention policy.
|
|
17163
|
-
* @see {@link https://
|
|
17357
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.removeCustomRetention `admin.conversations.removeCustomRetention` API reference}.
|
|
17164
17358
|
*/
|
|
17165
17359
|
removeCustomRetention: bindApiCall(this, "admin.conversations.removeCustomRetention"),
|
|
17166
17360
|
/**
|
|
17167
17361
|
* @description Rename a public or private channel.
|
|
17168
|
-
* @see {@link https://
|
|
17362
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.rename `admin.conversations.rename` API reference}.
|
|
17169
17363
|
*/
|
|
17170
17364
|
rename: bindApiCall(this, "admin.conversations.rename"),
|
|
17171
17365
|
restrictAccess: {
|
|
17172
17366
|
/**
|
|
17173
17367
|
* @description Add an allowlist of IDP groups for accessing a channel.
|
|
17174
|
-
* @see {@link https://
|
|
17368
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.restrictAccess.addGroup `admin.conversations.restrictAccess.addGroup` API reference}.
|
|
17175
17369
|
*/
|
|
17176
17370
|
addGroup: bindApiCall(this, "admin.conversations.restrictAccess.addGroup"),
|
|
17177
17371
|
/**
|
|
17178
17372
|
* @description List all IDP Groups linked to a channel.
|
|
17179
|
-
* @see {@link https://
|
|
17373
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.restrictAccess.listGroups `admin.conversations.restrictAccess.listGroups` API reference}.
|
|
17180
17374
|
*/
|
|
17181
17375
|
listGroups: bindApiCall(this, "admin.conversations.restrictAccess.listGroups"),
|
|
17182
17376
|
/**
|
|
17183
17377
|
* @description Remove a linked IDP group linked from a private channel.
|
|
17184
|
-
* @see {@link https://
|
|
17378
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.restrictAccess.removeGroup `admin.conversations.restrictAccess.removeGroup` API reference}.
|
|
17185
17379
|
*/
|
|
17186
17380
|
removeGroup: bindApiCall(this, "admin.conversations.restrictAccess.removeGroup")
|
|
17187
17381
|
},
|
|
17188
17382
|
/**
|
|
17189
17383
|
* @description Search for public or private channels in an Enterprise organization.
|
|
17190
|
-
* @see {@link https://
|
|
17384
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.search `admin.conversations.search` API reference}.
|
|
17191
17385
|
*/
|
|
17192
17386
|
search: bindApiCallWithOptionalArgument(this, "admin.conversations.search"),
|
|
17193
17387
|
/**
|
|
17194
17388
|
* @description Set the posting permissions for a public or private channel.
|
|
17195
|
-
* @see {@link https://
|
|
17389
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.setConversationPrefs `admin.conversations.setConversationPrefs` API reference}.
|
|
17196
17390
|
*/
|
|
17197
17391
|
setConversationPrefs: bindApiCall(this, "admin.conversations.setConversationPrefs"),
|
|
17198
17392
|
/**
|
|
17199
17393
|
* @description Set a conversation's retention policy.
|
|
17200
|
-
* @see {@link https://
|
|
17394
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.setCustomRetention `admin.conversations.setCustomRetention` API reference}.
|
|
17201
17395
|
*/
|
|
17202
17396
|
setCustomRetention: bindApiCall(this, "admin.conversations.setCustomRetention"),
|
|
17203
17397
|
/**
|
|
17204
17398
|
* @description Set the workspaces in an Enterprise grid org that connect to a public or private channel.
|
|
17205
|
-
* @see {@link https://
|
|
17399
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.setTeams `admin.conversations.setTeams` API reference}.
|
|
17206
17400
|
*/
|
|
17207
17401
|
setTeams: bindApiCall(this, "admin.conversations.setTeams"),
|
|
17208
17402
|
/**
|
|
17209
17403
|
* @description Unarchive a public or private channel.
|
|
17210
|
-
* @see {@link https://
|
|
17404
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.conversations.unarchive `admin.conversations.unarchive` API reference}.
|
|
17211
17405
|
*/
|
|
17212
17406
|
unarchive: bindApiCall(this, "admin.conversations.unarchive")
|
|
17213
17407
|
},
|
|
17214
17408
|
emoji: {
|
|
17215
17409
|
/**
|
|
17216
17410
|
* @description Add an emoji.
|
|
17217
|
-
* @see {@link https://
|
|
17411
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.emoji.add `admin.emoji.add` API reference}.
|
|
17218
17412
|
*/
|
|
17219
17413
|
add: bindApiCall(this, "admin.emoji.add"),
|
|
17220
17414
|
/**
|
|
17221
17415
|
* @description Add an emoji alias.
|
|
17222
|
-
* @see {@link https://
|
|
17416
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.emoji.addAlias `admin.emoji.addAlias` API reference}.
|
|
17223
17417
|
*/
|
|
17224
17418
|
addAlias: bindApiCall(this, "admin.emoji.addAlias"),
|
|
17225
17419
|
/**
|
|
17226
17420
|
* @description List emoji for an Enterprise Grid organization.
|
|
17227
|
-
* @see {@link https://
|
|
17421
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.emoji.list `admin.emoji.list` API reference}.
|
|
17228
17422
|
*/
|
|
17229
17423
|
list: bindApiCallWithOptionalArgument(this, "admin.emoji.list"),
|
|
17230
17424
|
/**
|
|
17231
17425
|
* @description Remove an emoji across an Enterprise Grid organization.
|
|
17232
|
-
* @see {@link https://
|
|
17426
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.emoji.remove `admin.emoji.remove` API reference}.
|
|
17233
17427
|
*/
|
|
17234
17428
|
remove: bindApiCall(this, "admin.emoji.remove"),
|
|
17235
17429
|
/**
|
|
17236
17430
|
* @description Rename an emoji.
|
|
17237
|
-
* @see {@link https://
|
|
17431
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.emoji.rename `admin.emoji.rename` API reference}.
|
|
17238
17432
|
*/
|
|
17239
17433
|
rename: bindApiCall(this, "admin.emoji.rename")
|
|
17240
17434
|
},
|
|
17241
17435
|
functions: {
|
|
17242
17436
|
/**
|
|
17243
17437
|
* @description Look up functions by a set of apps.
|
|
17244
|
-
* @see {@link https://
|
|
17438
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.functions.list `admin.functions.list` API reference}.
|
|
17245
17439
|
*/
|
|
17246
17440
|
list: bindApiCall(this, "admin.functions.list"),
|
|
17247
17441
|
permissions: {
|
|
17248
17442
|
/**
|
|
17249
17443
|
* @description Lookup the visibility of multiple Slack functions and include the users if
|
|
17250
17444
|
* it is limited to particular named entities.
|
|
17251
|
-
* @see {@link https://
|
|
17445
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.functions.permissions.lookup `admin.functions.permissions.lookup` API reference}.
|
|
17252
17446
|
*/
|
|
17253
17447
|
lookup: bindApiCall(this, "admin.functions.permissions.lookup"),
|
|
17254
17448
|
/**
|
|
17255
17449
|
* @description Set the visibility of a Slack function and define the users or workspaces if
|
|
17256
17450
|
* it is set to named_entities.
|
|
17257
|
-
* @see {@link https://
|
|
17451
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.functions.permissions.set `admin.functions.permissions.set` API reference}.
|
|
17258
17452
|
*/
|
|
17259
17453
|
set: bindApiCall(this, "admin.functions.permissions.set")
|
|
17260
17454
|
}
|
|
@@ -17262,49 +17456,49 @@ var require_methods = __commonJS({
|
|
|
17262
17456
|
inviteRequests: {
|
|
17263
17457
|
/**
|
|
17264
17458
|
* @description Approve a workspace invite request.
|
|
17265
|
-
* @see {@link https://
|
|
17459
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.inviteRequests.approve `admin.inviteRequests.approve` API reference}.
|
|
17266
17460
|
*/
|
|
17267
17461
|
approve: bindApiCall(this, "admin.inviteRequests.approve"),
|
|
17268
17462
|
approved: {
|
|
17269
17463
|
/**
|
|
17270
17464
|
* @description List all approved workspace invite requests.
|
|
17271
|
-
* @see {@link https://
|
|
17465
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.inviteRequests.approved.list `admin.inviteRequests.approved.list` API reference}.
|
|
17272
17466
|
*/
|
|
17273
17467
|
list: bindApiCall(this, "admin.inviteRequests.approved.list")
|
|
17274
17468
|
},
|
|
17275
17469
|
denied: {
|
|
17276
17470
|
/**
|
|
17277
17471
|
* @description List all denied workspace invite requests.
|
|
17278
|
-
* @see {@link https://
|
|
17472
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.inviteRequests.denied.list `admin.inviteRequests.denied.list` API reference}.
|
|
17279
17473
|
*/
|
|
17280
17474
|
list: bindApiCall(this, "admin.inviteRequests.denied.list")
|
|
17281
17475
|
},
|
|
17282
17476
|
/**
|
|
17283
17477
|
* @description Deny a workspace invite request.
|
|
17284
|
-
* @see {@link https://
|
|
17478
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.inviteRequests.deny `admin.inviteRequests.deny` API reference}.
|
|
17285
17479
|
*/
|
|
17286
17480
|
deny: bindApiCall(this, "admin.inviteRequests.deny"),
|
|
17287
17481
|
/**
|
|
17288
17482
|
* @description List all pending workspace invite requests.
|
|
17289
|
-
* @see {@link https://
|
|
17483
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.inviteRequests.list `admin.inviteRequests.list` API reference}.
|
|
17290
17484
|
*/
|
|
17291
17485
|
list: bindApiCall(this, "admin.inviteRequests.list")
|
|
17292
17486
|
},
|
|
17293
17487
|
roles: {
|
|
17294
17488
|
/**
|
|
17295
17489
|
* @description Adds members to the specified role with the specified scopes.
|
|
17296
|
-
* @see {@link https://
|
|
17490
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.roles.addAssignments `admin.roles.addAssignments` API reference}.
|
|
17297
17491
|
*/
|
|
17298
17492
|
addAssignments: bindApiCall(this, "admin.roles.addAssignments"),
|
|
17299
17493
|
/**
|
|
17300
17494
|
* @description Lists assignments for all roles across entities.
|
|
17301
17495
|
* Options to scope results by any combination of roles or entities.
|
|
17302
|
-
* @see {@link https://
|
|
17496
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.roles.listAssignments `admin.roles.listAssignments` API reference}.
|
|
17303
17497
|
*/
|
|
17304
17498
|
listAssignments: bindApiCallWithOptionalArgument(this, "admin.roles.listAssignments"),
|
|
17305
17499
|
/**
|
|
17306
17500
|
* @description Removes a set of users from a role for the given scopes and entities.
|
|
17307
|
-
* @see {@link https://
|
|
17501
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.roles.removeAssignments `admin.roles.removeAssignments` API reference}.
|
|
17308
17502
|
*/
|
|
17309
17503
|
removeAssignments: bindApiCall(this, "admin.roles.removeAssignments")
|
|
17310
17504
|
},
|
|
@@ -17312,56 +17506,56 @@ var require_methods = __commonJS({
|
|
|
17312
17506
|
admins: {
|
|
17313
17507
|
/**
|
|
17314
17508
|
* @description List all of the admins on a given workspace.
|
|
17315
|
-
* @see {@link https://
|
|
17509
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.admins.list `admin.teams.admins.list` API reference}.
|
|
17316
17510
|
*/
|
|
17317
17511
|
list: bindApiCall(this, "admin.teams.admins.list")
|
|
17318
17512
|
},
|
|
17319
17513
|
/**
|
|
17320
17514
|
* @description Create an Enterprise team.
|
|
17321
|
-
* @see {@link https://
|
|
17515
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.create `admin.teams.create` API reference}.
|
|
17322
17516
|
*/
|
|
17323
17517
|
create: bindApiCall(this, "admin.teams.create"),
|
|
17324
17518
|
/**
|
|
17325
17519
|
* @description List all teams on an Enterprise organization.
|
|
17326
|
-
* @see {@link https://
|
|
17520
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.list `admin.teams.list` API reference}.
|
|
17327
17521
|
*/
|
|
17328
17522
|
list: bindApiCallWithOptionalArgument(this, "admin.teams.list"),
|
|
17329
17523
|
owners: {
|
|
17330
17524
|
/**
|
|
17331
17525
|
* @description List all of the owners on a given workspace.
|
|
17332
|
-
* @see {@link https://
|
|
17526
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.owners.list `admin.teams.owners.list` API reference}.
|
|
17333
17527
|
*/
|
|
17334
17528
|
list: bindApiCall(this, "admin.teams.owners.list")
|
|
17335
17529
|
},
|
|
17336
17530
|
settings: {
|
|
17337
17531
|
/**
|
|
17338
17532
|
* @description Fetch information about settings in a workspace.
|
|
17339
|
-
* @see {@link https://
|
|
17533
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.settings.info `admin.teams.settings.info` API reference}.
|
|
17340
17534
|
*/
|
|
17341
17535
|
info: bindApiCall(this, "admin.teams.settings.info"),
|
|
17342
17536
|
/**
|
|
17343
17537
|
* @description Set the default channels of a workspace.
|
|
17344
|
-
* @see {@link https://
|
|
17538
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.settings.setDefaultChannels `admin.teams.settings.setDefaultChannels` API reference}.
|
|
17345
17539
|
*/
|
|
17346
17540
|
setDefaultChannels: bindApiCall(this, "admin.teams.settings.setDefaultChannels"),
|
|
17347
17541
|
/**
|
|
17348
17542
|
* @description Set the description of a given workspace.
|
|
17349
|
-
* @see {@link https://
|
|
17543
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.settings.setDescription `admin.teams.settings.setDescription` API reference}.
|
|
17350
17544
|
*/
|
|
17351
17545
|
setDescription: bindApiCall(this, "admin.teams.settings.setDescription"),
|
|
17352
17546
|
/**
|
|
17353
17547
|
* @description Set the discoverability of a given workspace.
|
|
17354
|
-
* @see {@link https://
|
|
17548
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.settings.setDiscoverability `admin.teams.settings.setDiscoverability` API reference}.
|
|
17355
17549
|
*/
|
|
17356
17550
|
setDiscoverability: bindApiCall(this, "admin.teams.settings.setDiscoverability"),
|
|
17357
17551
|
/**
|
|
17358
17552
|
* @description Sets the icon of a workspace.
|
|
17359
|
-
* @see {@link https://
|
|
17553
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.settings.setIcon `admin.teams.settings.setIcon` API reference}.
|
|
17360
17554
|
*/
|
|
17361
17555
|
setIcon: bindApiCall(this, "admin.teams.settings.setIcon"),
|
|
17362
17556
|
/**
|
|
17363
17557
|
* @description Set the name of a given workspace.
|
|
17364
|
-
* @see {@link https://
|
|
17558
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.teams.settings.setName `admin.teams.settings.setName` API reference}.
|
|
17365
17559
|
*/
|
|
17366
17560
|
setName: bindApiCall(this, "admin.teams.settings.setName")
|
|
17367
17561
|
}
|
|
@@ -17369,111 +17563,111 @@ var require_methods = __commonJS({
|
|
|
17369
17563
|
usergroups: {
|
|
17370
17564
|
/**
|
|
17371
17565
|
* @description Add up to one hundred default channels to an IDP group.
|
|
17372
|
-
* @see {@link https://
|
|
17566
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.usergroups.addChannels `admin.teams.usergroups.addChannels` API reference}.
|
|
17373
17567
|
*/
|
|
17374
17568
|
addChannels: bindApiCall(this, "admin.usergroups.addChannels"),
|
|
17375
17569
|
/**
|
|
17376
17570
|
* @description Associate one or more default workspaces with an organization-wide IDP group.
|
|
17377
|
-
* @see {@link https://
|
|
17571
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.usergroups.addTeams `admin.teams.usergroups.addTeams` API reference}.
|
|
17378
17572
|
*/
|
|
17379
17573
|
addTeams: bindApiCall(this, "admin.usergroups.addTeams"),
|
|
17380
17574
|
/**
|
|
17381
17575
|
* @description List the channels linked to an org-level IDP group (user group).
|
|
17382
|
-
* @see {@link https://
|
|
17576
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.usergroups.listChannels `admin.teams.usergroups.listChannels` API reference}.
|
|
17383
17577
|
*/
|
|
17384
17578
|
listChannels: bindApiCall(this, "admin.usergroups.listChannels"),
|
|
17385
17579
|
/**
|
|
17386
17580
|
* @description Remove one or more default channels from an org-level IDP group (user group).
|
|
17387
|
-
* @see {@link https://
|
|
17581
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.usergroups.removeChannels `admin.teams.usergroups.removeChannels` API reference}.
|
|
17388
17582
|
*/
|
|
17389
17583
|
removeChannels: bindApiCall(this, "admin.usergroups.removeChannels")
|
|
17390
17584
|
},
|
|
17391
17585
|
users: {
|
|
17392
17586
|
/**
|
|
17393
17587
|
* @description Add an Enterprise user to a workspace.
|
|
17394
|
-
* @see {@link https://
|
|
17588
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.assign `admin.users.assign` API reference}.
|
|
17395
17589
|
*/
|
|
17396
17590
|
assign: bindApiCall(this, "admin.users.assign"),
|
|
17397
17591
|
/**
|
|
17398
17592
|
* @description Invite a user to a workspace.
|
|
17399
|
-
* @see {@link https://
|
|
17593
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.invite `admin.users.invite` API reference}.
|
|
17400
17594
|
*/
|
|
17401
17595
|
invite: bindApiCall(this, "admin.users.invite"),
|
|
17402
17596
|
/**
|
|
17403
17597
|
* @description List users on a workspace.
|
|
17404
|
-
* @see {@link https://
|
|
17598
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.list `admin.users.list` API reference}.
|
|
17405
17599
|
*/
|
|
17406
17600
|
list: bindApiCallWithOptionalArgument(this, "admin.users.list"),
|
|
17407
17601
|
/**
|
|
17408
17602
|
* @description Remove a user from a workspace.
|
|
17409
|
-
* @see {@link https://
|
|
17603
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.remove `admin.users.remove` API reference}.
|
|
17410
17604
|
*/
|
|
17411
17605
|
remove: bindApiCall(this, "admin.users.remove"),
|
|
17412
17606
|
session: {
|
|
17413
17607
|
/**
|
|
17414
17608
|
* @description Clear user-specific session settings—the session duration and what happens when the client
|
|
17415
17609
|
* closes—for a list of users.
|
|
17416
|
-
* @see {@link https://
|
|
17610
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.session.clearSettings `admin.users.session.clearSettings` API reference}.
|
|
17417
17611
|
*/
|
|
17418
17612
|
clearSettings: bindApiCall(this, "admin.users.session.clearSettings"),
|
|
17419
17613
|
/**
|
|
17420
17614
|
* @description Get user-specific session settings—the session duration and what happens when the client
|
|
17421
17615
|
* closes—given a list of users.
|
|
17422
|
-
* @see {@link https://
|
|
17616
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.session.getSettings `admin.users.session.getSettings` API reference}.
|
|
17423
17617
|
*/
|
|
17424
17618
|
getSettings: bindApiCall(this, "admin.users.session.getSettings"),
|
|
17425
17619
|
/**
|
|
17426
17620
|
* @description Revoke a single session for a user. The user will be forced to login to Slack.
|
|
17427
|
-
* @see {@link https://
|
|
17621
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.session.invalidate `admin.users.session.invalidate` API reference}.
|
|
17428
17622
|
*/
|
|
17429
17623
|
invalidate: bindApiCall(this, "admin.users.session.invalidate"),
|
|
17430
17624
|
/**
|
|
17431
17625
|
* @description List active user sessions for an organization.
|
|
17432
|
-
* @see {@link https://
|
|
17626
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.session.list `admin.users.session.list` API reference}.
|
|
17433
17627
|
*/
|
|
17434
17628
|
list: bindApiCallWithOptionalArgument(this, "admin.users.session.list"),
|
|
17435
17629
|
/**
|
|
17436
17630
|
* @description Wipes all valid sessions on all devices for a given user.
|
|
17437
|
-
* @see {@link https://
|
|
17631
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.session.reset `admin.users.session.reset` API reference}.
|
|
17438
17632
|
*/
|
|
17439
17633
|
reset: bindApiCall(this, "admin.users.session.reset"),
|
|
17440
17634
|
/**
|
|
17441
17635
|
* @description Enqueues an asynchronous job to wipe all valid sessions on all devices for a given user list.
|
|
17442
|
-
* @see {@link https://
|
|
17636
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.session.resetBulk `admin.users.session.resetBulk` API reference}.
|
|
17443
17637
|
*/
|
|
17444
17638
|
resetBulk: bindApiCall(this, "admin.users.session.resetBulk"),
|
|
17445
17639
|
/**
|
|
17446
17640
|
* @description Configure the user-level session settings—the session duration and what happens when the client
|
|
17447
17641
|
* closes—for one or more users.
|
|
17448
|
-
* @see {@link https://
|
|
17642
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.session.setSettings `admin.users.session.setSettings` API reference}.
|
|
17449
17643
|
*/
|
|
17450
17644
|
setSettings: bindApiCall(this, "admin.users.session.setSettings")
|
|
17451
17645
|
},
|
|
17452
17646
|
/**
|
|
17453
17647
|
* @description Set an existing guest, regular user, or owner to be an admin user.
|
|
17454
|
-
* @see {@link https://
|
|
17648
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.setAdmin `admin.users.setAdmin` API reference}.
|
|
17455
17649
|
*/
|
|
17456
17650
|
setAdmin: bindApiCall(this, "admin.users.setAdmin"),
|
|
17457
17651
|
/**
|
|
17458
17652
|
* @description Set an expiration for a guest user.
|
|
17459
|
-
* @see {@link https://
|
|
17653
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.setExpiration `admin.users.setExpiration` API reference}.
|
|
17460
17654
|
*/
|
|
17461
17655
|
setExpiration: bindApiCall(this, "admin.users.setExpiration"),
|
|
17462
17656
|
/**
|
|
17463
17657
|
* @description Set an existing guest, regular user, or admin user to be a workspace owner.
|
|
17464
|
-
* @see {@link https://
|
|
17658
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.setOwner `admin.users.setOwner` API reference}.
|
|
17465
17659
|
*/
|
|
17466
17660
|
setOwner: bindApiCall(this, "admin.users.setOwner"),
|
|
17467
17661
|
/**
|
|
17468
17662
|
* @description Set an existing guest user, admin user, or owner to be a regular user.
|
|
17469
|
-
* @see {@link https://
|
|
17663
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.setRegular `admin.users.setRegular` API reference}.
|
|
17470
17664
|
*/
|
|
17471
17665
|
setRegular: bindApiCall(this, "admin.users.setRegular"),
|
|
17472
17666
|
unsupportedVersions: {
|
|
17473
17667
|
/**
|
|
17474
17668
|
* @description Ask Slackbot to send you an export listing all workspace members using unsupported software,
|
|
17475
17669
|
* presented as a zipped CSV file.
|
|
17476
|
-
* @see {@link https://
|
|
17670
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.users.unsupportedVersions.export `admin.users.unsupportedVersions.export` API reference}.
|
|
17477
17671
|
*/
|
|
17478
17672
|
export: bindApiCall(this, "admin.users.unsupportedVersions.export")
|
|
17479
17673
|
}
|
|
@@ -17482,30 +17676,30 @@ var require_methods = __commonJS({
|
|
|
17482
17676
|
collaborators: {
|
|
17483
17677
|
/**
|
|
17484
17678
|
* @description Add collaborators to workflows within the team or enterprise.
|
|
17485
|
-
* @see {@link https://
|
|
17679
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.workflows.collaborators.add `admin.workflows.collaborators.add` API reference}.
|
|
17486
17680
|
*/
|
|
17487
17681
|
add: bindApiCall(this, "admin.workflows.collaborators.add"),
|
|
17488
17682
|
/**
|
|
17489
17683
|
* @description Remove collaborators from workflows within the team or enterprise.
|
|
17490
|
-
* @see {@link https://
|
|
17684
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.workflows.collaborators.remove `admin.workflows.collaborators.remove` API reference}.
|
|
17491
17685
|
*/
|
|
17492
17686
|
remove: bindApiCall(this, "admin.workflows.collaborators.remove")
|
|
17493
17687
|
},
|
|
17494
17688
|
permissions: {
|
|
17495
17689
|
/**
|
|
17496
17690
|
* @description Look up the permissions for a set of workflows.
|
|
17497
|
-
* @see {@link https://
|
|
17691
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.workflows.permissions.lookup `admin.workflows.permissions.lookup` API reference}.
|
|
17498
17692
|
*/
|
|
17499
17693
|
lookup: bindApiCall(this, "admin.workflows.permissions.lookup")
|
|
17500
17694
|
},
|
|
17501
17695
|
/**
|
|
17502
17696
|
* @description Search workflows within the team or enterprise.
|
|
17503
|
-
* @see {@link https://
|
|
17697
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.workflows.search `admin.workflows.search` API reference}.
|
|
17504
17698
|
*/
|
|
17505
17699
|
search: bindApiCallWithOptionalArgument(this, "admin.workflows.search"),
|
|
17506
17700
|
/**
|
|
17507
17701
|
* @description Unpublish workflows within the team or enterprise.
|
|
17508
|
-
* @see {@link https://
|
|
17702
|
+
* @see {@link https://docs.slack.dev/reference/methods/admin.workflows.unpublish `admin.workflows.unpublish` API reference}.
|
|
17509
17703
|
*/
|
|
17510
17704
|
unpublish: bindApiCall(this, "admin.workflows.unpublish")
|
|
17511
17705
|
}
|
|
@@ -17513,7 +17707,7 @@ var require_methods = __commonJS({
|
|
|
17513
17707
|
this.api = {
|
|
17514
17708
|
/**
|
|
17515
17709
|
* @description Checks API calling code.
|
|
17516
|
-
* @see {@link https://
|
|
17710
|
+
* @see {@link https://docs.slack.dev/reference/methods/api.test `api.test` API reference}.
|
|
17517
17711
|
*/
|
|
17518
17712
|
test: bindApiCallWithOptionalArgument(this, "api.test")
|
|
17519
17713
|
};
|
|
@@ -17521,17 +17715,17 @@ var require_methods = __commonJS({
|
|
|
17521
17715
|
threads: {
|
|
17522
17716
|
/**
|
|
17523
17717
|
* @description Set loading status to indicate that the app is building a response.
|
|
17524
|
-
* @see {@link https://
|
|
17718
|
+
* @see {@link https://docs.slack.dev/reference/methods/assistant.threads.setStatus `assistant.threads.setStatus` API reference}.
|
|
17525
17719
|
*/
|
|
17526
17720
|
setStatus: bindApiCall(this, "assistant.threads.setStatus"),
|
|
17527
17721
|
/**
|
|
17528
17722
|
* @description Set suggested prompts for the user. Can suggest up to four prompts.
|
|
17529
|
-
* @see {@link https://
|
|
17723
|
+
* @see {@link https://docs.slack.dev/reference/methods/assistant.threads.setSuggestedPrompts `assistant.threads.setSuggestedPrompts` API reference}.
|
|
17530
17724
|
*/
|
|
17531
17725
|
setSuggestedPrompts: bindApiCall(this, "assistant.threads.setSuggestedPrompts"),
|
|
17532
17726
|
/**
|
|
17533
17727
|
* @description Set the title of the thread. This is shown when a user views the app's chat history.
|
|
17534
|
-
* @see {@link https://
|
|
17728
|
+
* @see {@link https://docs.slack.dev/reference/methods/assistant.threads.setTitle `assistant.threads.setTitle` API reference}.
|
|
17535
17729
|
*/
|
|
17536
17730
|
setTitle: bindApiCall(this, "assistant.threads.setTitle")
|
|
17537
17731
|
}
|
|
@@ -17541,7 +17735,7 @@ var require_methods = __commonJS({
|
|
|
17541
17735
|
/**
|
|
17542
17736
|
* @description Generate a temporary Socket Mode WebSocket URL that your app can connect to in order to receive
|
|
17543
17737
|
* events and interactive payloads over.
|
|
17544
|
-
* @see {@link https://
|
|
17738
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.connections.open `apps.connections.open` API reference}.
|
|
17545
17739
|
*/
|
|
17546
17740
|
open: bindApiCallWithOptionalArgument(this, "apps.connections.open")
|
|
17547
17741
|
},
|
|
@@ -17550,7 +17744,7 @@ var require_methods = __commonJS({
|
|
|
17550
17744
|
/**
|
|
17551
17745
|
* @description Get a list of authorizations for the given event context.
|
|
17552
17746
|
* Each authorization represents an app installation that the event is visible to.
|
|
17553
|
-
* @see {@link https://
|
|
17747
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.event.authorizations.list `apps.event.authorizations.list` API reference}.
|
|
17554
17748
|
*/
|
|
17555
17749
|
list: bindApiCall(this, "apps.event.authorizations.list")
|
|
17556
17750
|
}
|
|
@@ -17558,46 +17752,46 @@ var require_methods = __commonJS({
|
|
|
17558
17752
|
manifest: {
|
|
17559
17753
|
/**
|
|
17560
17754
|
* @description Create an app from an app manifest.
|
|
17561
|
-
* @see {@link https://
|
|
17755
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.manifest.create `apps.manifest.create` API reference}.
|
|
17562
17756
|
*/
|
|
17563
17757
|
create: bindApiCall(this, "apps.manifest.create"),
|
|
17564
17758
|
/**
|
|
17565
17759
|
* @description Permanently deletes an app created through app manifests.
|
|
17566
|
-
* @see {@link https://
|
|
17760
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.manifest.delete `apps.manifest.delete` API reference}.
|
|
17567
17761
|
*/
|
|
17568
17762
|
delete: bindApiCall(this, "apps.manifest.delete"),
|
|
17569
17763
|
/**
|
|
17570
17764
|
* @description Export an app manifest from an existing app.
|
|
17571
|
-
* @see {@link https://
|
|
17765
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.manifest.export `apps.manifest.export` API reference}.
|
|
17572
17766
|
*/
|
|
17573
17767
|
export: bindApiCall(this, "apps.manifest.export"),
|
|
17574
17768
|
/**
|
|
17575
17769
|
* @description Update an app from an app manifest.
|
|
17576
|
-
* @see {@link https://
|
|
17770
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.manifest.update `apps.manifest.update` API reference}.
|
|
17577
17771
|
*/
|
|
17578
17772
|
update: bindApiCall(this, "apps.manifest.update"),
|
|
17579
17773
|
/**
|
|
17580
17774
|
* @description Validate an app manifest.
|
|
17581
|
-
* @see {@link https://
|
|
17775
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.manifest.validate `apps.manifest.validate` API reference}.
|
|
17582
17776
|
*/
|
|
17583
17777
|
validate: bindApiCall(this, "apps.manifest.validate")
|
|
17584
17778
|
},
|
|
17585
17779
|
/**
|
|
17586
17780
|
* @description Uninstalls your app from a workspace.
|
|
17587
|
-
* @see {@link https://
|
|
17781
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.uninstall `apps.uninstall` API reference}.
|
|
17588
17782
|
*/
|
|
17589
17783
|
uninstall: bindApiCall(this, "apps.uninstall")
|
|
17590
17784
|
};
|
|
17591
17785
|
this.auth = {
|
|
17592
17786
|
/**
|
|
17593
17787
|
* @description Revokes a token.
|
|
17594
|
-
* @see {@link https://
|
|
17788
|
+
* @see {@link https://docs.slack.dev/reference/methods/auth.revoke `auth.revoke` API reference}.
|
|
17595
17789
|
*/
|
|
17596
17790
|
revoke: bindApiCallWithOptionalArgument(this, "auth.revoke"),
|
|
17597
17791
|
teams: {
|
|
17598
17792
|
/**
|
|
17599
17793
|
* @description Obtain a full list of workspaces your org-wide app has been approved for.
|
|
17600
|
-
* @see {@link https://
|
|
17794
|
+
* @see {@link https://docs.slack.dev/reference/methods/auth.teams.list `auth.teams.list` API reference}.
|
|
17601
17795
|
*/
|
|
17602
17796
|
list: bindApiCallWithOptionalArgument(this, "auth.teams.list")
|
|
17603
17797
|
},
|
|
@@ -17606,57 +17800,57 @@ var require_methods = __commonJS({
|
|
|
17606
17800
|
this.bookmarks = {
|
|
17607
17801
|
/**
|
|
17608
17802
|
* @description Add bookmark to a channel.
|
|
17609
|
-
* @see {@link https://
|
|
17803
|
+
* @see {@link https://docs.slack.dev/reference/methods/bookmarks.add `bookmarks.add` API reference}.
|
|
17610
17804
|
*/
|
|
17611
17805
|
add: bindApiCall(this, "bookmarks.add"),
|
|
17612
17806
|
/**
|
|
17613
17807
|
* @description Edit bookmark.
|
|
17614
|
-
* @see {@link https://
|
|
17808
|
+
* @see {@link https://docs.slack.dev/reference/methods/bookmarks.edit `bookmarks.edit` API reference}.
|
|
17615
17809
|
*/
|
|
17616
17810
|
edit: bindApiCall(this, "bookmarks.edit"),
|
|
17617
17811
|
/**
|
|
17618
17812
|
* @description List bookmarks for a channel.
|
|
17619
|
-
* @see {@link https://
|
|
17813
|
+
* @see {@link https://docs.slack.dev/reference/methods/bookmarks.list `bookmarks.list` API reference}.
|
|
17620
17814
|
*/
|
|
17621
17815
|
list: bindApiCall(this, "bookmarks.list"),
|
|
17622
17816
|
/**
|
|
17623
17817
|
* @description Remove bookmark from a channel.
|
|
17624
|
-
* @see {@link https://
|
|
17818
|
+
* @see {@link https://docs.slack.dev/reference/methods/bookmarks.remove `bookmarks.remove` API reference}.
|
|
17625
17819
|
*/
|
|
17626
17820
|
remove: bindApiCall(this, "bookmarks.remove")
|
|
17627
17821
|
};
|
|
17628
17822
|
this.bots = {
|
|
17629
17823
|
/**
|
|
17630
17824
|
* @description Gets information about a bot user.
|
|
17631
|
-
* @see {@link https://
|
|
17825
|
+
* @see {@link https://docs.slack.dev/reference/methods/bots.info `bots.info` API reference}.
|
|
17632
17826
|
*/
|
|
17633
17827
|
info: bindApiCallWithOptionalArgument(this, "bots.info")
|
|
17634
17828
|
};
|
|
17635
17829
|
this.calls = {
|
|
17636
17830
|
/**
|
|
17637
17831
|
* @description Registers a new Call.
|
|
17638
|
-
* @see {@link https://
|
|
17832
|
+
* @see {@link https://docs.slack.dev/reference/methods/calls.add `calls.add` API reference}.
|
|
17639
17833
|
*/
|
|
17640
17834
|
add: bindApiCall(this, "calls.add"),
|
|
17641
17835
|
/**
|
|
17642
17836
|
* @description Ends a Call.
|
|
17643
|
-
* @see {@link https://
|
|
17837
|
+
* @see {@link https://docs.slack.dev/reference/methods/calls.end `calls.end` API reference}.
|
|
17644
17838
|
*/
|
|
17645
17839
|
end: bindApiCall(this, "calls.end"),
|
|
17646
17840
|
/**
|
|
17647
17841
|
* @description Returns information about a Call.
|
|
17648
|
-
* @see {@link https://
|
|
17842
|
+
* @see {@link https://docs.slack.dev/reference/methods/calls.info `calls.info` API reference}.
|
|
17649
17843
|
*/
|
|
17650
17844
|
info: bindApiCall(this, "calls.info"),
|
|
17651
17845
|
/**
|
|
17652
17846
|
* @description Updates information about a Call.
|
|
17653
|
-
* @see {@link https://
|
|
17847
|
+
* @see {@link https://docs.slack.dev/reference/methods/calls.update `calls.update` API reference}.
|
|
17654
17848
|
*/
|
|
17655
17849
|
update: bindApiCall(this, "calls.update"),
|
|
17656
17850
|
participants: {
|
|
17657
17851
|
/**
|
|
17658
17852
|
* @description Registers new participants added to a Call.
|
|
17659
|
-
* @see {@link https://
|
|
17853
|
+
* @see {@link https://docs.slack.dev/reference/methods/calls.participants.add `calls.participants.add` API reference}.
|
|
17660
17854
|
*/
|
|
17661
17855
|
add: bindApiCall(this, "calls.participants.add"),
|
|
17662
17856
|
remove: bindApiCall(this, "calls.participants.remove")
|
|
@@ -17666,34 +17860,34 @@ var require_methods = __commonJS({
|
|
|
17666
17860
|
access: {
|
|
17667
17861
|
/**
|
|
17668
17862
|
* @description Remove access to a canvas for specified entities.
|
|
17669
|
-
* @see {@link https://
|
|
17863
|
+
* @see {@link https://docs.slack.dev/reference/methods/canvases.access.delete `canvases.access.delete` API reference}.
|
|
17670
17864
|
*/
|
|
17671
17865
|
delete: bindApiCall(this, "canvases.access.delete"),
|
|
17672
17866
|
/**
|
|
17673
17867
|
* @description Sets the access level to a canvas for specified entities.
|
|
17674
|
-
* @see {@link https://
|
|
17868
|
+
* @see {@link https://docs.slack.dev/reference/methods/canvases.access.set `canvases.access.set` API reference}.
|
|
17675
17869
|
*/
|
|
17676
17870
|
set: bindApiCall(this, "canvases.access.set")
|
|
17677
17871
|
},
|
|
17678
17872
|
/**
|
|
17679
17873
|
* @description Create Canvas for a user.
|
|
17680
|
-
* @see {@link https://
|
|
17874
|
+
* @see {@link https://docs.slack.dev/reference/methods/canvases.create `canvases.create` API reference}.
|
|
17681
17875
|
*/
|
|
17682
17876
|
create: bindApiCallWithOptionalArgument(this, "canvases.create"),
|
|
17683
17877
|
/**
|
|
17684
17878
|
* @description Deletes a canvas.
|
|
17685
|
-
* @see {@link https://
|
|
17879
|
+
* @see {@link https://docs.slack.dev/reference/methods/canvases.delete `canvases.delete` API reference}.
|
|
17686
17880
|
*/
|
|
17687
17881
|
delete: bindApiCall(this, "canvases.delete"),
|
|
17688
17882
|
/**
|
|
17689
17883
|
* @description Update an existing canvas.
|
|
17690
|
-
* @see {@link https://
|
|
17884
|
+
* @see {@link https://docs.slack.dev/reference/methods/canvases.edit `canvases.edit` API reference}.
|
|
17691
17885
|
*/
|
|
17692
17886
|
edit: bindApiCall(this, "canvases.edit"),
|
|
17693
17887
|
sections: {
|
|
17694
17888
|
/**
|
|
17695
17889
|
* @description Find sections matching the provided criteria.
|
|
17696
|
-
* @see {@link https://
|
|
17890
|
+
* @see {@link https://docs.slack.dev/reference/methods/canvases.sections.lookup `canvases.sections.lookup` API reference}.
|
|
17697
17891
|
*/
|
|
17698
17892
|
lookup: bindApiCall(this, "canvases.sections.lookup")
|
|
17699
17893
|
}
|
|
@@ -17701,288 +17895,288 @@ var require_methods = __commonJS({
|
|
|
17701
17895
|
this.chat = {
|
|
17702
17896
|
/**
|
|
17703
17897
|
* @description Deletes a message.
|
|
17704
|
-
* @see {@link https://
|
|
17898
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.delete `chat.delete` API reference}.
|
|
17705
17899
|
*/
|
|
17706
17900
|
delete: bindApiCall(this, "chat.delete"),
|
|
17707
17901
|
/**
|
|
17708
17902
|
* @description Deletes a pending scheduled message from the queue.
|
|
17709
|
-
* @see {@link https://
|
|
17903
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.deleteScheduledMessage `chat.deleteScheduledMessage` API reference}.
|
|
17710
17904
|
*/
|
|
17711
17905
|
deleteScheduledMessage: bindApiCall(this, "chat.deleteScheduledMessage"),
|
|
17712
17906
|
/**
|
|
17713
17907
|
* @description Retrieve a permalink URL for a specific extant message.
|
|
17714
|
-
* @see {@link https://
|
|
17908
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.getPermalink `chat.getPermalink` API reference}.
|
|
17715
17909
|
*/
|
|
17716
17910
|
getPermalink: bindApiCall(this, "chat.getPermalink"),
|
|
17717
17911
|
/**
|
|
17718
17912
|
* @description Share a me message into a channel.
|
|
17719
|
-
* @see {@link https://
|
|
17913
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.meMessage `chat.meMessage` API reference}.
|
|
17720
17914
|
*/
|
|
17721
17915
|
meMessage: bindApiCall(this, "chat.meMessage"),
|
|
17722
17916
|
/**
|
|
17723
17917
|
* @description Sends an ephemeral message to a user in a channel.
|
|
17724
|
-
* @see {@link https://
|
|
17918
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.postEphemeral `chat.postEphemeral` API reference}.
|
|
17725
17919
|
*/
|
|
17726
17920
|
postEphemeral: bindApiCall(this, "chat.postEphemeral"),
|
|
17727
17921
|
/**
|
|
17728
17922
|
* @description Sends a message to a channel.
|
|
17729
|
-
* @see {@link https://
|
|
17923
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.postMessage `chat.postMessage` API reference}.
|
|
17730
17924
|
*/
|
|
17731
17925
|
postMessage: bindApiCall(this, "chat.postMessage"),
|
|
17732
17926
|
/**
|
|
17733
17927
|
* @description Schedules a message to be sent to a channel.
|
|
17734
|
-
* @see {@link https://
|
|
17928
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.scheduleMessage `chat.scheduleMessage` API reference}.
|
|
17735
17929
|
*/
|
|
17736
17930
|
scheduleMessage: bindApiCall(this, "chat.scheduleMessage"),
|
|
17737
17931
|
scheduledMessages: {
|
|
17738
17932
|
/**
|
|
17739
17933
|
* @description Returns a list of scheduled messages.
|
|
17740
|
-
* @see {@link https://
|
|
17934
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.scheduledMessages.list `chat.scheduledMessages.list` API reference}.
|
|
17741
17935
|
*/
|
|
17742
17936
|
list: bindApiCallWithOptionalArgument(this, "chat.scheduledMessages.list")
|
|
17743
17937
|
},
|
|
17744
17938
|
/**
|
|
17745
17939
|
* @description Provide custom unfurl behavior for user-posted URLs.
|
|
17746
|
-
* @see {@link https://
|
|
17940
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.unfurl `chat.unfurl` API reference}.
|
|
17747
17941
|
*/
|
|
17748
17942
|
unfurl: bindApiCall(this, "chat.unfurl"),
|
|
17749
17943
|
/**
|
|
17750
17944
|
* @description Updates a message.
|
|
17751
|
-
* @see {@link https://
|
|
17945
|
+
* @see {@link https://docs.slack.dev/reference/methods/chat.update `chat.update` API reference}.
|
|
17752
17946
|
*/
|
|
17753
17947
|
update: bindApiCall(this, "chat.update")
|
|
17754
17948
|
};
|
|
17755
17949
|
this.conversations = {
|
|
17756
17950
|
/**
|
|
17757
17951
|
* @description Accepts an invitation to a Slack Connect channel.
|
|
17758
|
-
* @see {@link https://
|
|
17952
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.acceptSharedInvite `conversations.acceptSharedInvite` API reference}.
|
|
17759
17953
|
*/
|
|
17760
17954
|
acceptSharedInvite: bindApiCall(this, "conversations.acceptSharedInvite"),
|
|
17761
17955
|
/**
|
|
17762
17956
|
* @description Approves an invitation to a Slack Connect channel.
|
|
17763
|
-
* @see {@link https://
|
|
17957
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.approveSharedInvite `conversations.approveSharedInvite` API reference}.
|
|
17764
17958
|
*/
|
|
17765
17959
|
approveSharedInvite: bindApiCall(this, "conversations.approveSharedInvite"),
|
|
17766
17960
|
/**
|
|
17767
17961
|
* @description Archives a conversation.
|
|
17768
|
-
* @see {@link https://
|
|
17962
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.archive `conversations.archive` API reference}.
|
|
17769
17963
|
*/
|
|
17770
17964
|
archive: bindApiCall(this, "conversations.archive"),
|
|
17771
17965
|
canvases: {
|
|
17772
17966
|
/**
|
|
17773
17967
|
* @description Create a Channel Canvas for a channel.
|
|
17774
|
-
* @see {@link https://
|
|
17968
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.canvases.create `conversations.canvases.create` API reference}.
|
|
17775
17969
|
*/
|
|
17776
17970
|
create: bindApiCall(this, "conversations.canvases.create")
|
|
17777
17971
|
},
|
|
17778
17972
|
/**
|
|
17779
17973
|
* @description Closes a direct message or multi-person direct message.
|
|
17780
|
-
* @see {@link https://
|
|
17974
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.close `conversations.close` API reference}.
|
|
17781
17975
|
*/
|
|
17782
17976
|
close: bindApiCall(this, "conversations.close"),
|
|
17783
17977
|
/**
|
|
17784
17978
|
* @description Initiates a public or private channel-based conversation.
|
|
17785
|
-
* @see {@link https://
|
|
17979
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.create `conversations.create` API reference}.
|
|
17786
17980
|
*/
|
|
17787
17981
|
create: bindApiCall(this, "conversations.create"),
|
|
17788
17982
|
/**
|
|
17789
17983
|
* @description Declines an invitation to a Slack Connect channel.
|
|
17790
|
-
* @see {@link https://
|
|
17984
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.declineSharedInvite `conversations.declineSharedInvite` API reference}.
|
|
17791
17985
|
*/
|
|
17792
17986
|
declineSharedInvite: bindApiCall(this, "conversations.declineSharedInvite"),
|
|
17793
17987
|
externalInvitePermissions: {
|
|
17794
17988
|
/**
|
|
17795
17989
|
* @description Convert a team in a shared channel from an External Limited channel to a fully shared Slack
|
|
17796
17990
|
* Connect channel or vice versa.
|
|
17797
|
-
* @see {@link https://
|
|
17991
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.externalInvitePermissions.set `conversations.externalInvitePermissions.set` API reference}.
|
|
17798
17992
|
*/
|
|
17799
17993
|
set: bindApiCall(this, "conversations.externalInvitePermissions.set")
|
|
17800
17994
|
},
|
|
17801
17995
|
/**
|
|
17802
17996
|
* @description Fetches a conversation's history of messages and events.
|
|
17803
|
-
* @see {@link https://
|
|
17997
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.history `conversations.history` API reference}.
|
|
17804
17998
|
*/
|
|
17805
17999
|
history: bindApiCall(this, "conversations.history"),
|
|
17806
18000
|
/**
|
|
17807
18001
|
* @description Retrieve information about a conversation.
|
|
17808
|
-
* @see {@link https://
|
|
18002
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.info `conversations.info` API reference}.
|
|
17809
18003
|
*/
|
|
17810
18004
|
info: bindApiCall(this, "conversations.info"),
|
|
17811
18005
|
/**
|
|
17812
18006
|
* @description Invites users to a channel.
|
|
17813
|
-
* @see {@link https://
|
|
18007
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.invite `conversations.invite` API reference}.
|
|
17814
18008
|
*/
|
|
17815
18009
|
invite: bindApiCall(this, "conversations.invite"),
|
|
17816
18010
|
/**
|
|
17817
18011
|
* @description Sends an invitation to a Slack Connect channel.
|
|
17818
|
-
* @see {@link https://
|
|
18012
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.inviteShared `conversations.inviteShared` API reference}.
|
|
17819
18013
|
*/
|
|
17820
18014
|
inviteShared: bindApiCall(this, "conversations.inviteShared"),
|
|
17821
18015
|
/**
|
|
17822
18016
|
* @description Joins an existing conversation.
|
|
17823
|
-
* @see {@link https://
|
|
18017
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.join `conversations.join` API reference}.
|
|
17824
18018
|
*/
|
|
17825
18019
|
join: bindApiCall(this, "conversations.join"),
|
|
17826
18020
|
/**
|
|
17827
18021
|
* @description Removes a user from a conversation.
|
|
17828
|
-
* @see {@link https://
|
|
18022
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.kick `conversations.kick` API reference}.
|
|
17829
18023
|
*/
|
|
17830
18024
|
kick: bindApiCall(this, "conversations.kick"),
|
|
17831
18025
|
/**
|
|
17832
18026
|
* @description Leaves a conversation.
|
|
17833
|
-
* @see {@link https://
|
|
18027
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.leave `conversations.leave` API reference}.
|
|
17834
18028
|
*/
|
|
17835
18029
|
leave: bindApiCall(this, "conversations.leave"),
|
|
17836
18030
|
/**
|
|
17837
18031
|
* @description List all channels in a Slack team.
|
|
17838
|
-
* @see {@link https://
|
|
18032
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.list `conversations.list` API reference}.
|
|
17839
18033
|
*/
|
|
17840
18034
|
list: bindApiCallWithOptionalArgument(this, "conversations.list"),
|
|
17841
18035
|
/**
|
|
17842
18036
|
* @description Lists shared channel invites that have been generated or received but have not been approved by
|
|
17843
18037
|
* all parties.
|
|
17844
|
-
* @see {@link https://
|
|
18038
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.listConnectInvites `conversations.listConnectInvites` API reference}.
|
|
17845
18039
|
*/
|
|
17846
18040
|
listConnectInvites: bindApiCallWithOptionalArgument(this, "conversations.listConnectInvites"),
|
|
17847
18041
|
/**
|
|
17848
18042
|
* @description Sets the read cursor in a channel.
|
|
17849
|
-
* @see {@link https://
|
|
18043
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.mark `conversations.mark` API reference}.
|
|
17850
18044
|
*/
|
|
17851
18045
|
mark: bindApiCall(this, "conversations.mark"),
|
|
17852
18046
|
/**
|
|
17853
18047
|
* @description Retrieve members of a conversation.
|
|
17854
|
-
* @see {@link https://
|
|
18048
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.members `conversations.members` API reference}.
|
|
17855
18049
|
*/
|
|
17856
18050
|
members: bindApiCall(this, "conversations.members"),
|
|
17857
18051
|
/**
|
|
17858
18052
|
* @description Opens or resumes a direct message or multi-person direct message.
|
|
17859
|
-
* @see {@link https://
|
|
18053
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.open `conversations.open` API reference}.
|
|
17860
18054
|
*/
|
|
17861
18055
|
open: bindApiCall(this, "conversations.open"),
|
|
17862
18056
|
/**
|
|
17863
18057
|
* @description Renames a conversation.
|
|
17864
|
-
* @see {@link https://
|
|
18058
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.rename `conversations.rename` API reference}.
|
|
17865
18059
|
*/
|
|
17866
18060
|
rename: bindApiCall(this, "conversations.rename"),
|
|
17867
18061
|
/**
|
|
17868
18062
|
* @description Retrieve a thread of messages posted to a conversation.
|
|
17869
|
-
* @see {@link https://
|
|
18063
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.replies `conversations.replies` API reference}.
|
|
17870
18064
|
*/
|
|
17871
18065
|
replies: bindApiCall(this, "conversations.replies"),
|
|
17872
18066
|
requestSharedInvite: {
|
|
17873
18067
|
/**
|
|
17874
18068
|
* @description Approves a request to add an external user to a channel and sends them a Slack Connect invite.
|
|
17875
|
-
* @see {@link https://
|
|
18069
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.approve `conversations.requestSharedInvite.approve` API reference}.
|
|
17876
18070
|
*/
|
|
17877
18071
|
approve: bindApiCall(this, "conversations.requestSharedInvite.approve"),
|
|
17878
18072
|
/**
|
|
17879
18073
|
* @description Denies a request to invite an external user to a channel.
|
|
17880
|
-
* @see {@link https://
|
|
18074
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.deny `conversations.requestSharedInvite.deny` API reference}.
|
|
17881
18075
|
*/
|
|
17882
18076
|
deny: bindApiCall(this, "conversations.requestSharedInvite.deny"),
|
|
17883
18077
|
/**
|
|
17884
18078
|
* @description Lists requests to add external users to channels with ability to filter.
|
|
17885
|
-
* @see {@link https://
|
|
18079
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.list `conversations.requestSharedInvite.list` API reference}.
|
|
17886
18080
|
*/
|
|
17887
18081
|
list: bindApiCallWithOptionalArgument(this, "conversations.requestSharedInvite.list")
|
|
17888
18082
|
},
|
|
17889
18083
|
/**
|
|
17890
18084
|
* @description Sets the purpose for a conversation.
|
|
17891
|
-
* @see {@link https://
|
|
18085
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.setPurpose `conversations.setPurpose` API reference}.
|
|
17892
18086
|
*/
|
|
17893
18087
|
setPurpose: bindApiCall(this, "conversations.setPurpose"),
|
|
17894
18088
|
/**
|
|
17895
18089
|
* @description Sets the topic for a conversation.
|
|
17896
|
-
* @see {@link https://
|
|
18090
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.setTopic `conversations.setTopic` API reference}.
|
|
17897
18091
|
*/
|
|
17898
18092
|
setTopic: bindApiCall(this, "conversations.setTopic"),
|
|
17899
18093
|
/**
|
|
17900
18094
|
* @description Reverses conversation archival.
|
|
17901
|
-
* @see {@link https://
|
|
18095
|
+
* @see {@link https://docs.slack.dev/reference/methods/conversations.unarchive `conversations.unarchive` API reference}.
|
|
17902
18096
|
*/
|
|
17903
18097
|
unarchive: bindApiCall(this, "conversations.unarchive")
|
|
17904
18098
|
};
|
|
17905
18099
|
this.dialog = {
|
|
17906
18100
|
/**
|
|
17907
18101
|
* @description Open a dialog with a user.
|
|
17908
|
-
* @see {@link https://
|
|
18102
|
+
* @see {@link https://docs.slack.dev/reference/methods/dialog.open `dialog.open` API reference}.
|
|
17909
18103
|
*/
|
|
17910
18104
|
open: bindApiCall(this, "dialog.open")
|
|
17911
18105
|
};
|
|
17912
18106
|
this.dnd = {
|
|
17913
18107
|
/**
|
|
17914
18108
|
* @description Ends the current user's Do Not Disturb session immediately.
|
|
17915
|
-
* @see {@link https://
|
|
18109
|
+
* @see {@link https://docs.slack.dev/reference/methods/dnd.endDnd `dnd.endDnd` API reference}.
|
|
17916
18110
|
*/
|
|
17917
18111
|
endDnd: bindApiCallWithOptionalArgument(this, "dnd.endDnd"),
|
|
17918
18112
|
/**
|
|
17919
18113
|
* @description Ends the current user's snooze mode immediately.
|
|
17920
|
-
* @see {@link https://
|
|
18114
|
+
* @see {@link https://docs.slack.dev/reference/methods/dnd.endSnooze `dnd.endSnooze` API reference}.
|
|
17921
18115
|
*/
|
|
17922
18116
|
endSnooze: bindApiCallWithOptionalArgument(this, "dnd.endSnooze"),
|
|
17923
18117
|
/**
|
|
17924
18118
|
* @description Retrieves a user's current Do Not Disturb status.
|
|
17925
|
-
* @see {@link https://
|
|
18119
|
+
* @see {@link https://docs.slack.dev/reference/methods/dnd.info `dnd.info` API reference}.
|
|
17926
18120
|
*/
|
|
17927
18121
|
info: bindApiCallWithOptionalArgument(this, "dnd.info"),
|
|
17928
18122
|
/**
|
|
17929
18123
|
* @description Turns on Do Not Disturb mode for the current user, or changes its duration.
|
|
17930
|
-
* @see {@link https://
|
|
18124
|
+
* @see {@link https://docs.slack.dev/reference/methods/dnd.setSnooze `dnd.setSnooze` API reference}.
|
|
17931
18125
|
*/
|
|
17932
18126
|
setSnooze: bindApiCall(this, "dnd.setSnooze"),
|
|
17933
18127
|
/**
|
|
17934
18128
|
* @description Retrieves the Do Not Disturb status for up to 50 users on a team.
|
|
17935
|
-
* @see {@link https://
|
|
18129
|
+
* @see {@link https://docs.slack.dev/reference/methods/dnd.teamInfo `dnd.teamInfo` API reference}.
|
|
17936
18130
|
*/
|
|
17937
18131
|
teamInfo: bindApiCall(this, "dnd.teamInfo")
|
|
17938
18132
|
};
|
|
17939
18133
|
this.emoji = {
|
|
17940
18134
|
/**
|
|
17941
18135
|
* @description Lists custom emoji for a team.
|
|
17942
|
-
* @see {@link https://
|
|
18136
|
+
* @see {@link https://docs.slack.dev/reference/methods/emoji.list `emoji.list` API reference}.
|
|
17943
18137
|
*/
|
|
17944
18138
|
list: bindApiCallWithOptionalArgument(this, "emoji.list")
|
|
17945
18139
|
};
|
|
17946
18140
|
this.files = {
|
|
17947
18141
|
/**
|
|
17948
|
-
* @description Finishes an upload started with {@link https://
|
|
17949
|
-
* @see {@link https://
|
|
18142
|
+
* @description Finishes an upload started with {@link https://docs.slack.dev/reference/methods/files.getUploadURLExternal `files.getUploadURLExternal`}.
|
|
18143
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.completeUploadExternal `files.completeUploadExternal` API reference}.
|
|
17950
18144
|
*/
|
|
17951
18145
|
completeUploadExternal: bindApiCall(this, "files.completeUploadExternal"),
|
|
17952
18146
|
/**
|
|
17953
18147
|
* @description Deletes a file.
|
|
17954
|
-
* @see {@link https://
|
|
18148
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.delete `files.delete` API reference}.
|
|
17955
18149
|
*/
|
|
17956
18150
|
delete: bindApiCall(this, "files.delete"),
|
|
17957
18151
|
/**
|
|
17958
18152
|
* @description Gets a URL for an edge external file upload.
|
|
17959
|
-
* @see {@link https://
|
|
18153
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.getUploadURLExternal `files.getUploadURLExternal` API reference}.
|
|
17960
18154
|
*/
|
|
17961
18155
|
getUploadURLExternal: bindApiCall(this, "files.getUploadURLExternal"),
|
|
17962
18156
|
/**
|
|
17963
18157
|
* @description Gets information about a file.
|
|
17964
|
-
* @see {@link https://
|
|
18158
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.info `files.info` API reference}.
|
|
17965
18159
|
*/
|
|
17966
18160
|
info: bindApiCall(this, "files.info"),
|
|
17967
18161
|
/**
|
|
17968
18162
|
* @description List files for a team, in a channel, or from a user with applied filters.
|
|
17969
|
-
* @see {@link https://
|
|
18163
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.list `files.list` API reference}.
|
|
17970
18164
|
*/
|
|
17971
18165
|
list: bindApiCall(this, "files.list"),
|
|
17972
18166
|
/**
|
|
17973
18167
|
* @description Revokes public/external sharing access for a file.
|
|
17974
|
-
* @see {@link https://
|
|
18168
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.revokePublicURL `files.revokePublicURL` API reference}.
|
|
17975
18169
|
*/
|
|
17976
18170
|
revokePublicURL: bindApiCall(this, "files.revokePublicURL"),
|
|
17977
18171
|
/**
|
|
17978
18172
|
* @description Enables a file for public/external sharing.
|
|
17979
|
-
* @see {@link https://
|
|
18173
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.sharedPublicURL `files.sharedPublicURL` API reference}.
|
|
17980
18174
|
*/
|
|
17981
18175
|
sharedPublicURL: bindApiCall(this, "files.sharedPublicURL"),
|
|
17982
18176
|
/**
|
|
17983
18177
|
* @description Uploads or creates a file.
|
|
17984
|
-
* @deprecated Use `uploadV2` instead. See {@link https://
|
|
17985
|
-
* @see {@link https://
|
|
18178
|
+
* @deprecated Use `uploadV2` instead. See {@link https://docs.slack.dev/changelog/2024-04-a-better-way-to-upload-files-is-here-to-stay our post on retiring `files.upload`}.
|
|
18179
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.upload `files.upload` API reference}.
|
|
17986
18180
|
*/
|
|
17987
18181
|
upload: bindApiCall(this, "files.upload"),
|
|
17988
18182
|
/**
|
|
@@ -18002,39 +18196,39 @@ var require_methods = __commonJS({
|
|
|
18002
18196
|
comments: {
|
|
18003
18197
|
/**
|
|
18004
18198
|
* @description Deletes an existing comment on a file.
|
|
18005
|
-
* @see {@link https://
|
|
18199
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.comments.delete `files.comments.delete` API reference}.
|
|
18006
18200
|
*/
|
|
18007
18201
|
delete: bindApiCall(this, "files.comments.delete")
|
|
18008
18202
|
},
|
|
18009
18203
|
remote: {
|
|
18010
18204
|
/**
|
|
18011
18205
|
* @description Adds a file from a remote service.
|
|
18012
|
-
* @see {@link https://
|
|
18206
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.remote.add `files.remote.add` API reference}.
|
|
18013
18207
|
*/
|
|
18014
18208
|
add: bindApiCall(this, "files.remote.add"),
|
|
18015
18209
|
/**
|
|
18016
18210
|
* @description Retrieve information about a remote file added to Slack.
|
|
18017
|
-
* @see {@link https://
|
|
18211
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.remote.info `files.remote.info` API reference}.
|
|
18018
18212
|
*/
|
|
18019
18213
|
info: bindApiCall(this, "files.remote.info"),
|
|
18020
18214
|
/**
|
|
18021
18215
|
* @description List remote files added to Slack.
|
|
18022
|
-
* @see {@link https://
|
|
18216
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.remote.list `files.remote.list` API reference}.
|
|
18023
18217
|
*/
|
|
18024
18218
|
list: bindApiCall(this, "files.remote.list"),
|
|
18025
18219
|
/**
|
|
18026
18220
|
* @description Remove a remote file.
|
|
18027
|
-
* @see {@link https://
|
|
18221
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.remote.remove `files.remote.remove` API reference}.
|
|
18028
18222
|
*/
|
|
18029
18223
|
remove: bindApiCall(this, "files.remote.remove"),
|
|
18030
18224
|
/**
|
|
18031
18225
|
* @description Share a remote file into a channel.
|
|
18032
|
-
* @see {@link https://
|
|
18226
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.remote.share `files.remote.share` API reference}.
|
|
18033
18227
|
*/
|
|
18034
18228
|
share: bindApiCall(this, "files.remote.share"),
|
|
18035
18229
|
/**
|
|
18036
18230
|
* @description Updates an existing remote file.
|
|
18037
|
-
* @see {@link https://
|
|
18231
|
+
* @see {@link https://docs.slack.dev/reference/methods/files.remote.update `files.remote.update` API reference}.
|
|
18038
18232
|
*/
|
|
18039
18233
|
update: bindApiCall(this, "files.remote.update")
|
|
18040
18234
|
}
|
|
@@ -18042,19 +18236,19 @@ var require_methods = __commonJS({
|
|
|
18042
18236
|
this.functions = {
|
|
18043
18237
|
/**
|
|
18044
18238
|
* @description Signal the failure to execute a Custom Function.
|
|
18045
|
-
* @see {@link https://
|
|
18239
|
+
* @see {@link https://docs.slack.dev/reference/methods/functions.completeError `functions.completeError` API reference}.
|
|
18046
18240
|
*/
|
|
18047
18241
|
completeError: bindApiCall(this, "functions.completeError"),
|
|
18048
18242
|
/**
|
|
18049
18243
|
* @description Signal the successful completion of a Custom Function.
|
|
18050
|
-
* @see {@link https://
|
|
18244
|
+
* @see {@link https://docs.slack.dev/reference/methods/functions.completeSuccess `functions.completeSuccess` API reference}.
|
|
18051
18245
|
*/
|
|
18052
18246
|
completeSuccess: bindApiCall(this, "functions.completeSuccess")
|
|
18053
18247
|
};
|
|
18054
18248
|
this.migration = {
|
|
18055
18249
|
/**
|
|
18056
18250
|
* @description For Enterprise Grid workspaces, map local user IDs to global user IDs.
|
|
18057
|
-
* @see {@link https://
|
|
18251
|
+
* @see {@link https://docs.slack.dev/reference/methods/migration.exchange `migration.exchange` API reference}.
|
|
18058
18252
|
*/
|
|
18059
18253
|
exchange: bindApiCall(this, "migration.exchange")
|
|
18060
18254
|
};
|
|
@@ -18062,18 +18256,18 @@ var require_methods = __commonJS({
|
|
|
18062
18256
|
/**
|
|
18063
18257
|
* @description Exchanges a temporary OAuth verifier code for an access token.
|
|
18064
18258
|
* @deprecated This is a legacy method only used by classic Slack apps. Use `oauth.v2.access` for new Slack apps.
|
|
18065
|
-
* @see {@link https://
|
|
18259
|
+
* @see {@link https://docs.slack.dev/reference/methods/oauth.access `oauth.access` API reference}.
|
|
18066
18260
|
*/
|
|
18067
18261
|
access: bindApiCall(this, "oauth.access"),
|
|
18068
18262
|
v2: {
|
|
18069
18263
|
/**
|
|
18070
18264
|
* @description Exchanges a temporary OAuth verifier code for an access token.
|
|
18071
|
-
* @see {@link https://
|
|
18265
|
+
* @see {@link https://docs.slack.dev/reference/methods/oauth.v2.access `oauth.v2.access` API reference}.
|
|
18072
18266
|
*/
|
|
18073
18267
|
access: bindApiCall(this, "oauth.v2.access"),
|
|
18074
18268
|
/**
|
|
18075
18269
|
* @description Exchanges a legacy access token for a new expiring access token and refresh token.
|
|
18076
|
-
* @see {@link https://
|
|
18270
|
+
* @see {@link https://docs.slack.dev/reference/methods/oauth.v2.exchange `oauth.v2.exchange` API reference}.
|
|
18077
18271
|
*/
|
|
18078
18272
|
exchange: bindApiCall(this, "oauth.v2.exchange")
|
|
18079
18273
|
}
|
|
@@ -18081,13 +18275,13 @@ var require_methods = __commonJS({
|
|
|
18081
18275
|
this.openid = {
|
|
18082
18276
|
connect: {
|
|
18083
18277
|
/**
|
|
18084
|
-
* @description Exchanges a temporary OAuth verifier code for an access token for {@link https://
|
|
18085
|
-
* @see {@link https://
|
|
18278
|
+
* @description Exchanges a temporary OAuth verifier code for an access token for {@link https://docs.slack.dev/authentication/sign-in-with-slack Sign in with Slack}.
|
|
18279
|
+
* @see {@link https://docs.slack.dev/reference/methods/openid.connect.token `openid.connect.token` API reference}.
|
|
18086
18280
|
*/
|
|
18087
18281
|
token: bindApiCall(this, "openid.connect.token"),
|
|
18088
18282
|
/**
|
|
18089
|
-
* @description Get the identity of a user who has authorized {@link https://
|
|
18090
|
-
* @see {@link https://
|
|
18283
|
+
* @description Get the identity of a user who has authorized {@link https://docs.slack.dev/authentication/sign-in-with-slack Sign in with Slack}.
|
|
18284
|
+
* @see {@link https://docs.slack.dev/reference/methods/openid.connect.userInfo `openid.connect.userInfo` API reference}.
|
|
18091
18285
|
*/
|
|
18092
18286
|
userInfo: bindApiCallWithOptionalArgument(this, "openid.connect.userInfo")
|
|
18093
18287
|
}
|
|
@@ -18095,150 +18289,150 @@ var require_methods = __commonJS({
|
|
|
18095
18289
|
this.pins = {
|
|
18096
18290
|
/**
|
|
18097
18291
|
* @description Pins an item to a channel.
|
|
18098
|
-
* @see {@link https://
|
|
18292
|
+
* @see {@link https://docs.slack.dev/reference/methods/pins.add `pins.add` API reference}.
|
|
18099
18293
|
*/
|
|
18100
18294
|
add: bindApiCall(this, "pins.add"),
|
|
18101
18295
|
/**
|
|
18102
18296
|
* @description Lists items pinned to a channel.
|
|
18103
|
-
* @see {@link https://
|
|
18297
|
+
* @see {@link https://docs.slack.dev/reference/methods/pins.list `pins.list` API reference}.
|
|
18104
18298
|
*/
|
|
18105
18299
|
list: bindApiCall(this, "pins.list"),
|
|
18106
18300
|
/**
|
|
18107
18301
|
* @description Un-pins an item from a channel.
|
|
18108
|
-
* @see {@link https://
|
|
18302
|
+
* @see {@link https://docs.slack.dev/reference/methods/pins.remove `pins.remove` API reference}.
|
|
18109
18303
|
*/
|
|
18110
18304
|
remove: bindApiCall(this, "pins.remove")
|
|
18111
18305
|
};
|
|
18112
18306
|
this.reactions = {
|
|
18113
18307
|
/**
|
|
18114
18308
|
* @description Adds a reaction to an item.
|
|
18115
|
-
* @see {@link https://
|
|
18309
|
+
* @see {@link https://docs.slack.dev/reference/methods/reactions.add `reactions.add` API reference}.
|
|
18116
18310
|
*/
|
|
18117
18311
|
add: bindApiCall(this, "reactions.add"),
|
|
18118
18312
|
/**
|
|
18119
18313
|
* @description Gets reactions for an item.
|
|
18120
|
-
* @see {@link https://
|
|
18314
|
+
* @see {@link https://docs.slack.dev/reference/methods/reactions.get `reactions.get` API reference}.
|
|
18121
18315
|
*/
|
|
18122
18316
|
get: bindApiCall(this, "reactions.get"),
|
|
18123
18317
|
/**
|
|
18124
18318
|
* @description List reactions made by a user.
|
|
18125
|
-
* @see {@link https://
|
|
18319
|
+
* @see {@link https://docs.slack.dev/reference/methods/reactions.list `reactions.list` API reference}.
|
|
18126
18320
|
*/
|
|
18127
18321
|
list: bindApiCallWithOptionalArgument(this, "reactions.list"),
|
|
18128
18322
|
/**
|
|
18129
18323
|
* @description Removes a reaction from an item.
|
|
18130
|
-
* @see {@link https://
|
|
18324
|
+
* @see {@link https://docs.slack.dev/reference/methods/reactions.remove `reactions.remove` API reference}.
|
|
18131
18325
|
*/
|
|
18132
18326
|
remove: bindApiCall(this, "reactions.remove")
|
|
18133
18327
|
};
|
|
18134
18328
|
this.reminders = {
|
|
18135
18329
|
/**
|
|
18136
18330
|
* @description Creates a reminder.
|
|
18137
|
-
* @see {@link https://
|
|
18331
|
+
* @see {@link https://docs.slack.dev/reference/methods/reminders.add `reminders.add` API reference}.
|
|
18138
18332
|
*/
|
|
18139
18333
|
add: bindApiCall(this, "reminders.add"),
|
|
18140
18334
|
/**
|
|
18141
18335
|
* @description Marks a reminder as complete.
|
|
18142
|
-
* @see {@link https://
|
|
18336
|
+
* @see {@link https://docs.slack.dev/reference/methods/reminders.complete `reminders.complete` API reference}.
|
|
18143
18337
|
*/
|
|
18144
18338
|
complete: bindApiCall(this, "reminders.complete"),
|
|
18145
18339
|
/**
|
|
18146
18340
|
* @description Deletes a reminder.
|
|
18147
|
-
* @see {@link https://
|
|
18341
|
+
* @see {@link https://docs.slack.dev/reference/methods/reminders.delete `reminders.delete` API reference}.
|
|
18148
18342
|
*/
|
|
18149
18343
|
delete: bindApiCall(this, "reminders.delete"),
|
|
18150
18344
|
/**
|
|
18151
18345
|
* @description Gets information about a reminder.
|
|
18152
|
-
* @see {@link https://
|
|
18346
|
+
* @see {@link https://docs.slack.dev/reference/methods/reminders.info `reminders.info` API reference}.
|
|
18153
18347
|
*/
|
|
18154
18348
|
info: bindApiCall(this, "reminders.info"),
|
|
18155
18349
|
/**
|
|
18156
18350
|
* @description Lists all reminders created by or for a given user.
|
|
18157
|
-
* @see {@link https://
|
|
18351
|
+
* @see {@link https://docs.slack.dev/reference/methods/reminders.list `reminders.list` API reference}.
|
|
18158
18352
|
*/
|
|
18159
18353
|
list: bindApiCallWithOptionalArgument(this, "reminders.list")
|
|
18160
18354
|
};
|
|
18161
18355
|
this.rtm = {
|
|
18162
18356
|
/**
|
|
18163
18357
|
* @description Starts a Real Time Messaging session.
|
|
18164
|
-
* @see {@link https://
|
|
18358
|
+
* @see {@link https://docs.slack.dev/reference/methods/rtm.connect `rtm.connect` API reference}.
|
|
18165
18359
|
*/
|
|
18166
18360
|
connect: bindApiCallWithOptionalArgument(this, "rtm.connect"),
|
|
18167
18361
|
/**
|
|
18168
18362
|
* @description Starts a Real Time Messaging session.
|
|
18169
|
-
* @deprecated Use `rtm.connect` instead. See {@link https://
|
|
18170
|
-
* @see {@link https://
|
|
18363
|
+
* @deprecated Use `rtm.connect` instead. See {@link https://docs.slack.dev/changelog/2021-10-rtm-start-to-stop our post on retiring `rtm.start`}.
|
|
18364
|
+
* @see {@link https://docs.slack.dev/reference/methods/rtm.start `rtm.start` API reference}.
|
|
18171
18365
|
*/
|
|
18172
18366
|
start: bindApiCallWithOptionalArgument(this, "rtm.start")
|
|
18173
18367
|
};
|
|
18174
18368
|
this.search = {
|
|
18175
18369
|
/**
|
|
18176
18370
|
* @description Searches for messages and files matching a query.
|
|
18177
|
-
* @see {@link https://
|
|
18371
|
+
* @see {@link https://docs.slack.dev/reference/methods/search.all search.all` API reference}.
|
|
18178
18372
|
*/
|
|
18179
18373
|
all: bindApiCall(this, "search.all"),
|
|
18180
18374
|
/**
|
|
18181
18375
|
* @description Searches for files matching a query.
|
|
18182
|
-
* @see {@link https://
|
|
18376
|
+
* @see {@link https://docs.slack.dev/reference/methods/search.files search.files` API reference}.
|
|
18183
18377
|
*/
|
|
18184
18378
|
files: bindApiCall(this, "search.files"),
|
|
18185
18379
|
/**
|
|
18186
18380
|
* @description Searches for messages matching a query.
|
|
18187
|
-
* @see {@link https://
|
|
18381
|
+
* @see {@link https://docs.slack.dev/reference/methods/search.messages search.messages` API reference}.
|
|
18188
18382
|
*/
|
|
18189
18383
|
messages: bindApiCall(this, "search.messages")
|
|
18190
18384
|
};
|
|
18191
18385
|
this.team = {
|
|
18192
18386
|
/**
|
|
18193
18387
|
* @description Gets the access logs for the current team.
|
|
18194
|
-
* @see {@link https://
|
|
18388
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.accessLogs `team.accessLogs` API reference}.
|
|
18195
18389
|
*/
|
|
18196
18390
|
accessLogs: bindApiCallWithOptionalArgument(this, "team.accessLogs"),
|
|
18197
18391
|
/**
|
|
18198
18392
|
* @description Gets billable users information for the current team.
|
|
18199
|
-
* @see {@link https://
|
|
18393
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.billableInfo `team.billableInfo` API reference}.
|
|
18200
18394
|
*/
|
|
18201
18395
|
billableInfo: bindApiCallWithOptionalArgument(this, "team.billableInfo"),
|
|
18202
18396
|
billing: {
|
|
18203
18397
|
/**
|
|
18204
18398
|
* @description Reads a workspace's billing plan information.
|
|
18205
|
-
* @see {@link https://
|
|
18399
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.billing.info `team.billing.info` API reference}.
|
|
18206
18400
|
*/
|
|
18207
18401
|
info: bindApiCall(this, "team.billing.info")
|
|
18208
18402
|
},
|
|
18209
18403
|
externalTeams: {
|
|
18210
18404
|
/**
|
|
18211
18405
|
* @description Disconnect an external organization.
|
|
18212
|
-
* @see {@link https://
|
|
18406
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.externalTeams.disconnect `team.externalTeams.disconnect` API reference}.
|
|
18213
18407
|
*/
|
|
18214
18408
|
disconnect: bindApiCall(this, "team.externalTeams.disconnect"),
|
|
18215
18409
|
/**
|
|
18216
18410
|
* @description Returns a list of all the external teams connected and details about the connection.
|
|
18217
|
-
* @see {@link https://
|
|
18411
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.externalTeams.list `team.externalTeams.list` API reference}.
|
|
18218
18412
|
*/
|
|
18219
18413
|
list: bindApiCall(this, "team.externalTeams.list")
|
|
18220
18414
|
},
|
|
18221
18415
|
/**
|
|
18222
18416
|
* @description Gets information about the current team.
|
|
18223
|
-
* @see {@link https://
|
|
18417
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.info `team.info` API reference}.
|
|
18224
18418
|
*/
|
|
18225
18419
|
info: bindApiCallWithOptionalArgument(this, "team.info"),
|
|
18226
18420
|
/**
|
|
18227
18421
|
* @description Gets the integration logs for the current team.
|
|
18228
|
-
* @see {@link https://
|
|
18422
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.integrationLogs `team.integrationLogs` API reference}.
|
|
18229
18423
|
*/
|
|
18230
18424
|
integrationLogs: bindApiCallWithOptionalArgument(this, "team.integrationLogs"),
|
|
18231
18425
|
preferences: {
|
|
18232
18426
|
/**
|
|
18233
18427
|
* @description Retrieve a list of a workspace's team preferences.
|
|
18234
|
-
* @see {@link https://
|
|
18428
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.preferences.list `team.preferences.list` API reference}.
|
|
18235
18429
|
*/
|
|
18236
18430
|
list: bindApiCallWithOptionalArgument(this, "team.preferences.list")
|
|
18237
18431
|
},
|
|
18238
18432
|
profile: {
|
|
18239
18433
|
/**
|
|
18240
18434
|
* @description Retrieve a team's profile.
|
|
18241
|
-
* @see {@link https://
|
|
18435
|
+
* @see {@link https://docs.slack.dev/reference/methods/team.profile.get `team.profile.get` API reference}.
|
|
18242
18436
|
*/
|
|
18243
18437
|
get: bindApiCallWithOptionalArgument(this, "team.profile.get")
|
|
18244
18438
|
}
|
|
@@ -18247,7 +18441,7 @@ var require_methods = __commonJS({
|
|
|
18247
18441
|
tokens: {
|
|
18248
18442
|
/**
|
|
18249
18443
|
* @description Exchanges a refresh token for a new app configuration token.
|
|
18250
|
-
* @see {@link https://
|
|
18444
|
+
* @see {@link https://docs.slack.dev/reference/methods/tooling.tokens.rotate `tooling.tokens.rotate` API reference}.
|
|
18251
18445
|
*/
|
|
18252
18446
|
rotate: bindApiCall(this, "tooling.tokens.rotate")
|
|
18253
18447
|
}
|
|
@@ -18255,38 +18449,38 @@ var require_methods = __commonJS({
|
|
|
18255
18449
|
this.usergroups = {
|
|
18256
18450
|
/**
|
|
18257
18451
|
* @description Create a User Group.
|
|
18258
|
-
* @see {@link https://
|
|
18452
|
+
* @see {@link https://docs.slack.dev/reference/methods/usergroups.create `usergroups.create` API reference}.
|
|
18259
18453
|
*/
|
|
18260
18454
|
create: bindApiCall(this, "usergroups.create"),
|
|
18261
18455
|
/**
|
|
18262
18456
|
* @description Disable an existing User Group.
|
|
18263
|
-
* @see {@link https://
|
|
18457
|
+
* @see {@link https://docs.slack.dev/reference/methods/usergroups.disable `usergroups.disable` API reference}.
|
|
18264
18458
|
*/
|
|
18265
18459
|
disable: bindApiCall(this, "usergroups.disable"),
|
|
18266
18460
|
/**
|
|
18267
18461
|
* @description Enable an existing User Group.
|
|
18268
|
-
* @see {@link https://
|
|
18462
|
+
* @see {@link https://docs.slack.dev/reference/methods/usergroups.enable `usergroups.enable` API reference}.
|
|
18269
18463
|
*/
|
|
18270
18464
|
enable: bindApiCall(this, "usergroups.enable"),
|
|
18271
18465
|
/**
|
|
18272
18466
|
* @description List all User Groups for a team.
|
|
18273
|
-
* @see {@link https://
|
|
18467
|
+
* @see {@link https://docs.slack.dev/reference/methods/usergroups.list `usergroups.list` API reference}.
|
|
18274
18468
|
*/
|
|
18275
18469
|
list: bindApiCallWithOptionalArgument(this, "usergroups.list"),
|
|
18276
18470
|
/**
|
|
18277
18471
|
* @description Update an existing User Group.
|
|
18278
|
-
* @see {@link https://
|
|
18472
|
+
* @see {@link https://docs.slack.dev/reference/methods/usergroups.update `usergroups.update` API reference}.
|
|
18279
18473
|
*/
|
|
18280
18474
|
update: bindApiCall(this, "usergroups.update"),
|
|
18281
18475
|
users: {
|
|
18282
18476
|
/**
|
|
18283
18477
|
* @description List all users in a User Group.
|
|
18284
|
-
* @see {@link https://
|
|
18478
|
+
* @see {@link https://docs.slack.dev/reference/methods/usergroups.users.list `usergroups.users.list` API reference}.
|
|
18285
18479
|
*/
|
|
18286
18480
|
list: bindApiCall(this, "usergroups.users.list"),
|
|
18287
18481
|
/**
|
|
18288
18482
|
* @description Update the list of users in a User Group.
|
|
18289
|
-
* @see {@link https://
|
|
18483
|
+
* @see {@link https://docs.slack.dev/reference/methods/usergroups.users.update `usergroups.users.update` API reference}.
|
|
18290
18484
|
*/
|
|
18291
18485
|
update: bindApiCall(this, "usergroups.users.update")
|
|
18292
18486
|
}
|
|
@@ -18294,65 +18488,65 @@ var require_methods = __commonJS({
|
|
|
18294
18488
|
this.users = {
|
|
18295
18489
|
/**
|
|
18296
18490
|
* @description List conversations the calling user may access.
|
|
18297
|
-
* @see {@link https://
|
|
18491
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.conversations `users.conversations` API reference}.
|
|
18298
18492
|
*/
|
|
18299
18493
|
conversations: bindApiCall(this, "users.conversations"),
|
|
18300
18494
|
/**
|
|
18301
18495
|
* @description Delete the user profile photo.
|
|
18302
|
-
* @see {@link https://
|
|
18496
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.deletePhoto `users.deletePhoto` API reference}.
|
|
18303
18497
|
*/
|
|
18304
18498
|
deletePhoto: bindApiCall(this, "users.deletePhoto"),
|
|
18305
18499
|
discoverableContacts: {
|
|
18306
18500
|
/**
|
|
18307
18501
|
* @description Lookup an email address to see if someone is on Slack.
|
|
18308
|
-
* @see {@link https://
|
|
18502
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.discoverableContacts.lookup `users.discoverableContacts.lookup` API reference}.
|
|
18309
18503
|
*/
|
|
18310
18504
|
lookup: bindApiCall(this, "users.discoverableContacts.lookup")
|
|
18311
18505
|
},
|
|
18312
18506
|
/**
|
|
18313
18507
|
* @description Gets user presence information.
|
|
18314
|
-
* @see {@link https://
|
|
18508
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.getPresence `users.getPresence` API reference}.
|
|
18315
18509
|
*/
|
|
18316
18510
|
getPresence: bindApiCall(this, "users.getPresence"),
|
|
18317
18511
|
/**
|
|
18318
18512
|
* @description Get a user's identity.
|
|
18319
|
-
* @see {@link https://
|
|
18513
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.identity `users.identity` API reference}.
|
|
18320
18514
|
*/
|
|
18321
18515
|
identity: bindApiCall(this, "users.identity"),
|
|
18322
18516
|
/**
|
|
18323
18517
|
* @description Gets information about a user.
|
|
18324
|
-
* @see {@link https://
|
|
18518
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.info `users.info` API reference}.
|
|
18325
18519
|
*/
|
|
18326
18520
|
info: bindApiCall(this, "users.info"),
|
|
18327
18521
|
/**
|
|
18328
18522
|
* @description Lists all users in a Slack team.
|
|
18329
|
-
* @see {@link https://
|
|
18523
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.list `users.list` API reference}.
|
|
18330
18524
|
*/
|
|
18331
18525
|
list: bindApiCall(this, "users.list"),
|
|
18332
18526
|
/**
|
|
18333
18527
|
* @description Find a user with an email address.
|
|
18334
|
-
* @see {@link https://
|
|
18528
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.lookupByEmail `users.lookupByEmail` API reference}.
|
|
18335
18529
|
*/
|
|
18336
18530
|
lookupByEmail: bindApiCall(this, "users.lookupByEmail"),
|
|
18337
18531
|
/**
|
|
18338
18532
|
* @description Set the user profile photo.
|
|
18339
|
-
* @see {@link https://
|
|
18533
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.setPhoto `users.setPhoto` API reference}.
|
|
18340
18534
|
*/
|
|
18341
18535
|
setPhoto: bindApiCall(this, "users.setPhoto"),
|
|
18342
18536
|
/**
|
|
18343
18537
|
* @description Manually sets user presence.
|
|
18344
|
-
* @see {@link https://
|
|
18538
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.setPresence `users.setPresence` API reference}.
|
|
18345
18539
|
*/
|
|
18346
18540
|
setPresence: bindApiCall(this, "users.setPresence"),
|
|
18347
18541
|
profile: {
|
|
18348
18542
|
/**
|
|
18349
18543
|
* @description Retrieve a user's profile information, including their custom status.
|
|
18350
|
-
* @see {@link https://
|
|
18544
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.profile.get `users.profile.get` API reference}.
|
|
18351
18545
|
*/
|
|
18352
18546
|
get: bindApiCall(this, "users.profile.get"),
|
|
18353
18547
|
/**
|
|
18354
18548
|
* @description Set a user's profile information, including custom status.
|
|
18355
|
-
* @see {@link https://
|
|
18549
|
+
* @see {@link https://docs.slack.dev/reference/methods/users.profile.set `users.profile.set` API reference}.
|
|
18356
18550
|
*/
|
|
18357
18551
|
set: bindApiCall(this, "users.profile.set")
|
|
18358
18552
|
}
|
|
@@ -18360,22 +18554,22 @@ var require_methods = __commonJS({
|
|
|
18360
18554
|
this.views = {
|
|
18361
18555
|
/**
|
|
18362
18556
|
* @description Open a view for a user.
|
|
18363
|
-
* @see {@link https://
|
|
18557
|
+
* @see {@link https://docs.slack.dev/reference/methods/views.open `views.open` API reference}.
|
|
18364
18558
|
*/
|
|
18365
18559
|
open: bindApiCall(this, "views.open"),
|
|
18366
18560
|
/**
|
|
18367
18561
|
* @description Publish a static view for a user.
|
|
18368
|
-
* @see {@link https://
|
|
18562
|
+
* @see {@link https://docs.slack.dev/reference/methods/views.publish `views.publish` API reference}.
|
|
18369
18563
|
*/
|
|
18370
18564
|
publish: bindApiCall(this, "views.publish"),
|
|
18371
18565
|
/**
|
|
18372
18566
|
* @description Push a view onto the stack of a root view.
|
|
18373
|
-
* @see {@link https://
|
|
18567
|
+
* @see {@link https://docs.slack.dev/reference/methods/views.push `views.push` API reference}.
|
|
18374
18568
|
*/
|
|
18375
18569
|
push: bindApiCall(this, "views.push"),
|
|
18376
18570
|
/**
|
|
18377
18571
|
* @description Update an existing view.
|
|
18378
|
-
* @see {@link https://
|
|
18572
|
+
* @see {@link https://docs.slack.dev/reference/methods/views.update `views.update` API reference}.
|
|
18379
18573
|
*/
|
|
18380
18574
|
update: bindApiCall(this, "views.update")
|
|
18381
18575
|
};
|
|
@@ -18383,48 +18577,70 @@ var require_methods = __commonJS({
|
|
|
18383
18577
|
/**
|
|
18384
18578
|
* @description Save an item for later. Formerly known as adding a star.
|
|
18385
18579
|
* @deprecated Stars can still be added but they can no longer be viewed or interacted with by end-users.
|
|
18386
|
-
* See {@link https://
|
|
18387
|
-
* @see {@link https://
|
|
18580
|
+
* See {@link https://docs.slack.dev/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}.
|
|
18581
|
+
* @see {@link https://docs.slack.dev/reference/methods/stars.add `stars.add` API reference}.
|
|
18388
18582
|
*/
|
|
18389
18583
|
add: bindApiCall(this, "stars.add"),
|
|
18390
18584
|
/**
|
|
18391
18585
|
* @description List a user's saved items, formerly known as stars.
|
|
18392
18586
|
* @deprecated Stars can still be listed but they can no longer be viewed or interacted with by end-users.
|
|
18393
|
-
* See {@link https://
|
|
18394
|
-
* @see {@link https://
|
|
18587
|
+
* See {@link https://docs.slack.dev/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}.
|
|
18588
|
+
* @see {@link https://docs.slack.dev/reference/methods/stars.list `stars.list` API reference}.
|
|
18395
18589
|
*/
|
|
18396
18590
|
list: bindApiCall(this, "stars.list"),
|
|
18397
18591
|
/**
|
|
18398
18592
|
* @description Remove a saved item from a user's saved items, formerly known as stars.
|
|
18399
18593
|
* @deprecated Stars can still be removed but they can no longer be viewed or interacted with by end-users.
|
|
18400
|
-
* See {@link https://
|
|
18401
|
-
* @see {@link https://
|
|
18594
|
+
* See {@link https://docs.slack.dev/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}.
|
|
18595
|
+
* @see {@link https://docs.slack.dev/reference/methods/stars.remove `stars.remove` API reference}.
|
|
18402
18596
|
*/
|
|
18403
18597
|
remove: bindApiCall(this, "stars.remove")
|
|
18404
18598
|
};
|
|
18405
18599
|
this.workflows = {
|
|
18600
|
+
featured: {
|
|
18601
|
+
/**
|
|
18602
|
+
* @description Add featured workflows to a channel.
|
|
18603
|
+
* @see {@link https://docs.slack.dev/reference/methods/workflows.featured.add `workflows.featured.add` API reference}.
|
|
18604
|
+
*/
|
|
18605
|
+
add: bindApiCall(this, "workflows.featured.add"),
|
|
18606
|
+
/**
|
|
18607
|
+
* @description List the featured workflows for specified channels.
|
|
18608
|
+
* @see {@link https://docs.slack.dev/reference/methods/workflows.featured.list `workflows.featured.list` API reference}.
|
|
18609
|
+
*/
|
|
18610
|
+
list: bindApiCall(this, "workflows.featured.list"),
|
|
18611
|
+
/**
|
|
18612
|
+
* @description Remove featured workflows from a channel.
|
|
18613
|
+
* @see {@link https://docs.slack.dev/reference/methods/workflows.featured.remove `workflows.featured.remove` API reference}.
|
|
18614
|
+
*/
|
|
18615
|
+
remove: bindApiCall(this, "workflows.featured.remove"),
|
|
18616
|
+
/**
|
|
18617
|
+
* @description Set featured workflows for a channel.
|
|
18618
|
+
* @see {@link https://docs.slack.dev/reference/methods/workflows.featured.set `workflows.featured.set` API reference}.
|
|
18619
|
+
*/
|
|
18620
|
+
set: bindApiCall(this, "workflows.featured.set")
|
|
18621
|
+
},
|
|
18406
18622
|
/**
|
|
18407
18623
|
* @description Indicate that an app's step in a workflow completed execution.
|
|
18408
18624
|
* @deprecated Steps from Apps is deprecated.
|
|
18409
18625
|
* We're retiring all Slack app functionality around Steps from Apps in September 2024.
|
|
18410
|
-
* See {@link https://
|
|
18411
|
-
* @see {@link https://
|
|
18626
|
+
* See {@link https://docs.slack.dev/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}.
|
|
18627
|
+
* @see {@link https://docs.slack.dev/legacy/legacy-steps-from-apps/legacy-steps-from-apps-workflow_step-object `workflows.stepCompleted` API reference}.
|
|
18412
18628
|
*/
|
|
18413
18629
|
stepCompleted: bindApiCall(this, "workflows.stepCompleted"),
|
|
18414
18630
|
/**
|
|
18415
18631
|
* @description Indicate that an app's step in a workflow failed to execute.
|
|
18416
18632
|
* @deprecated Steps from Apps is deprecated.
|
|
18417
18633
|
* We're retiring all Slack app functionality around Steps from Apps in September 2024.
|
|
18418
|
-
* See {@link https://
|
|
18419
|
-
* @see {@link https://
|
|
18634
|
+
* See {@link https://docs.slack.dev/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}.
|
|
18635
|
+
* @see {@link https://docs.slack.dev/legacy/legacy-steps-from-apps/legacy-steps-from-apps-workflow_step-object `workflows.stepFailed` API reference}.
|
|
18420
18636
|
*/
|
|
18421
18637
|
stepFailed: bindApiCall(this, "workflows.stepFailed"),
|
|
18422
18638
|
/**
|
|
18423
18639
|
* @description Update the configuration for a workflow step.
|
|
18424
18640
|
* @deprecated Steps from Apps is deprecated.
|
|
18425
18641
|
* We're retiring all Slack app functionality around Steps from Apps in September 2024.
|
|
18426
|
-
* See {@link https://
|
|
18427
|
-
* @see {@link https://
|
|
18642
|
+
* See {@link https://docs.slack.dev/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}.
|
|
18643
|
+
* @see {@link https://docs.slack.dev/legacy/legacy-steps-from-apps/legacy-steps-from-apps-workflow_step-object `workflows.updateStep` API reference}.
|
|
18428
18644
|
*/
|
|
18429
18645
|
updateStep: bindApiCall(this, "workflows.updateStep")
|
|
18430
18646
|
};
|
|
@@ -18438,39 +18654,11 @@ var require_methods = __commonJS({
|
|
|
18438
18654
|
}
|
|
18439
18655
|
});
|
|
18440
18656
|
|
|
18441
|
-
// node_modules/@slack/web-api/dist/retry-policies.js
|
|
18442
|
-
var require_retry_policies = __commonJS({
|
|
18443
|
-
"node_modules/@slack/web-api/dist/retry-policies.js"(exports2) {
|
|
18444
|
-
"use strict";
|
|
18445
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
18446
|
-
exports2.rapidRetryPolicy = exports2.fiveRetriesInFiveMinutes = exports2.tenRetriesInAboutThirtyMinutes = void 0;
|
|
18447
|
-
exports2.tenRetriesInAboutThirtyMinutes = {
|
|
18448
|
-
retries: 10,
|
|
18449
|
-
factor: 1.96821,
|
|
18450
|
-
randomize: true
|
|
18451
|
-
};
|
|
18452
|
-
exports2.fiveRetriesInFiveMinutes = {
|
|
18453
|
-
retries: 5,
|
|
18454
|
-
factor: 3.86
|
|
18455
|
-
};
|
|
18456
|
-
exports2.rapidRetryPolicy = {
|
|
18457
|
-
minTimeout: 0,
|
|
18458
|
-
maxTimeout: 1
|
|
18459
|
-
};
|
|
18460
|
-
var policies = {
|
|
18461
|
-
tenRetriesInAboutThirtyMinutes: exports2.tenRetriesInAboutThirtyMinutes,
|
|
18462
|
-
fiveRetriesInFiveMinutes: exports2.fiveRetriesInFiveMinutes,
|
|
18463
|
-
rapidRetryPolicy: exports2.rapidRetryPolicy
|
|
18464
|
-
};
|
|
18465
|
-
exports2.default = policies;
|
|
18466
|
-
}
|
|
18467
|
-
});
|
|
18468
|
-
|
|
18469
18657
|
// node_modules/@slack/web-api/dist/WebClient.js
|
|
18470
18658
|
var require_WebClient = __commonJS({
|
|
18471
18659
|
"node_modules/@slack/web-api/dist/WebClient.js"(exports2) {
|
|
18472
18660
|
"use strict";
|
|
18473
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
18661
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
18474
18662
|
if (k2 === void 0) k2 = k;
|
|
18475
18663
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18476
18664
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -18479,16 +18667,16 @@ var require_WebClient = __commonJS({
|
|
|
18479
18667
|
} };
|
|
18480
18668
|
}
|
|
18481
18669
|
Object.defineProperty(o, k2, desc);
|
|
18482
|
-
} : function(o, m, k, k2) {
|
|
18670
|
+
}) : (function(o, m, k, k2) {
|
|
18483
18671
|
if (k2 === void 0) k2 = k;
|
|
18484
18672
|
o[k2] = m[k];
|
|
18485
|
-
});
|
|
18486
|
-
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
18673
|
+
}));
|
|
18674
|
+
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
18487
18675
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18488
|
-
} : function(o, v) {
|
|
18676
|
+
}) : function(o, v) {
|
|
18489
18677
|
o["default"] = v;
|
|
18490
18678
|
});
|
|
18491
|
-
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
18679
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
|
|
18492
18680
|
var ownKeys = function(o) {
|
|
18493
18681
|
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
18494
18682
|
var ar = [];
|
|
@@ -18506,7 +18694,7 @@ var require_WebClient = __commonJS({
|
|
|
18506
18694
|
__setModuleDefault(result, mod);
|
|
18507
18695
|
return result;
|
|
18508
18696
|
};
|
|
18509
|
-
}();
|
|
18697
|
+
})();
|
|
18510
18698
|
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
18511
18699
|
function adopt(value) {
|
|
18512
18700
|
return value instanceof P ? value : new P(function(resolve) {
|
|
@@ -18611,7 +18799,7 @@ var require_WebClient = __commonJS({
|
|
|
18611
18799
|
var form_data_1 = __importDefault(require_form_data());
|
|
18612
18800
|
var is_electron_1 = __importDefault(require_is_electron());
|
|
18613
18801
|
var is_stream_1 = __importDefault(require_is_stream());
|
|
18614
|
-
var p_queue_1 = __importDefault(
|
|
18802
|
+
var p_queue_1 = __importDefault(require_dist2());
|
|
18615
18803
|
var p_retry_1 = __importStar(require_p_retry());
|
|
18616
18804
|
var errors_1 = require_errors();
|
|
18617
18805
|
var file_upload_1 = require_file_upload();
|
|
@@ -18696,7 +18884,7 @@ var require_WebClient = __commonJS({
|
|
|
18696
18884
|
}
|
|
18697
18885
|
/**
|
|
18698
18886
|
* Generic method for calling a Web API method
|
|
18699
|
-
* @param method - the Web API method to call {@link https://
|
|
18887
|
+
* @param method - the Web API method to call {@link https://docs.slack.dev/reference/methods}
|
|
18700
18888
|
* @param options - options
|
|
18701
18889
|
*/
|
|
18702
18890
|
apiCall(method_1) {
|
|
@@ -18815,13 +19003,13 @@ var require_WebClient = __commonJS({
|
|
|
18815
19003
|
* This wrapper method provides an easy way to upload files using the following endpoints:
|
|
18816
19004
|
*
|
|
18817
19005
|
* **#1**: For each file submitted with this method, submit filenames
|
|
18818
|
-
* and file metadata to {@link https://
|
|
19006
|
+
* and file metadata to {@link https://docs.slack.dev/reference/methods/files.getuploadurlexternal files.getUploadURLExternal} to request a URL to
|
|
18819
19007
|
* which to send the file data to and an id for the file
|
|
18820
19008
|
*
|
|
18821
19009
|
* **#2**: for each returned file `upload_url`, upload corresponding file to
|
|
18822
19010
|
* URLs returned from step 1 (e.g. https://files.slack.com/upload/v1/...\")
|
|
18823
19011
|
*
|
|
18824
|
-
* **#3**: Complete uploads {@link https://
|
|
19012
|
+
* **#3**: Complete uploads {@link https://docs.slack.dev/reference/methods/files.completeuploadexternal files.completeUploadExternal}
|
|
18825
19013
|
* @param options
|
|
18826
19014
|
*/
|
|
18827
19015
|
filesUploadV2(options) {
|
|
@@ -19128,13 +19316,13 @@ var require_WebClient = __commonJS({
|
|
|
19128
19316
|
return void 0;
|
|
19129
19317
|
}
|
|
19130
19318
|
function warnDeprecations(method, logger) {
|
|
19131
|
-
const deprecatedMethods = ["workflows."];
|
|
19319
|
+
const deprecatedMethods = ["workflows.stepCompleted", "workflows.stepFailed", "workflows.updateStep"];
|
|
19132
19320
|
const isDeprecated = deprecatedMethods.some((depMethod) => {
|
|
19133
19321
|
const re = new RegExp(`^${depMethod}`);
|
|
19134
19322
|
return re.test(method);
|
|
19135
19323
|
});
|
|
19136
19324
|
if (isDeprecated) {
|
|
19137
|
-
logger.warn(`${method} is deprecated. Please check on https://
|
|
19325
|
+
logger.warn(`${method} is deprecated. Please check on https://docs.slack.dev/reference/methods for an alternative.`);
|
|
19138
19326
|
}
|
|
19139
19327
|
}
|
|
19140
19328
|
function warnIfFallbackIsMissing(method, logger, options) {
|
|
@@ -19142,9 +19330,9 @@ var require_WebClient = __commonJS({
|
|
|
19142
19330
|
const isTargetMethod = targetMethods.includes(method);
|
|
19143
19331
|
const hasAttachments = (args) => Array.isArray(args.attachments) && args.attachments.length;
|
|
19144
19332
|
const missingAttachmentFallbackDetected = (args) => Array.isArray(args.attachments) && args.attachments.some((attachment) => !attachment.fallback || attachment.fallback.trim() === "");
|
|
19145
|
-
const isEmptyText = (args) => args.text === void 0 || args.text === null || args.text === "";
|
|
19333
|
+
const isEmptyText = (args) => (args.text === void 0 || args.text === null || args.text === "") && (args.markdown_text === void 0 || args.markdown === null || args.markdown_text === "");
|
|
19146
19334
|
const buildMissingTextWarning = () => `The top-level \`text\` argument is missing in the request payload for a ${method} call - It's a best practice to always provide a \`text\` argument when posting a message. The \`text\` is used in places where the content cannot be rendered such as: system push notifications, assistive technology such as screen readers, etc.`;
|
|
19147
|
-
const buildMissingFallbackWarning = () => `Additionally, the attachment-level \`fallback\` argument is missing in the request payload for a ${method} call - To avoid this warning, it is recommended to always provide a top-level \`text\` argument when posting a message. Alternatively, you can provide an attachment-level \`fallback\` argument, though this is now considered a legacy field (see https://
|
|
19335
|
+
const buildMissingFallbackWarning = () => `Additionally, the attachment-level \`fallback\` argument is missing in the request payload for a ${method} call - To avoid this warning, it is recommended to always provide a top-level \`text\` argument when posting a message. Alternatively, you can provide an attachment-level \`fallback\` argument, though this is now considered a legacy field (see https://docs.slack.dev/legacy/legacy-messaging/legacy-secondary-message-attachments for more details).`;
|
|
19148
19336
|
if (isTargetMethod && typeof options === "object") {
|
|
19149
19337
|
if (hasAttachments(options)) {
|
|
19150
19338
|
if (missingAttachmentFallbackDetected(options) && isEmptyText(options)) {
|
|
@@ -19193,27 +19381,11 @@ var require_WebClient = __commonJS({
|
|
|
19193
19381
|
}
|
|
19194
19382
|
});
|
|
19195
19383
|
|
|
19196
|
-
// node_modules/@slack/web-api/dist/types/request/index.js
|
|
19197
|
-
var require_request = __commonJS({
|
|
19198
|
-
"node_modules/@slack/web-api/dist/types/request/index.js"(exports2) {
|
|
19199
|
-
"use strict";
|
|
19200
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
19201
|
-
}
|
|
19202
|
-
});
|
|
19203
|
-
|
|
19204
|
-
// node_modules/@slack/web-api/dist/types/response/index.js
|
|
19205
|
-
var require_response = __commonJS({
|
|
19206
|
-
"node_modules/@slack/web-api/dist/types/response/index.js"(exports2) {
|
|
19207
|
-
"use strict";
|
|
19208
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
19209
|
-
}
|
|
19210
|
-
});
|
|
19211
|
-
|
|
19212
19384
|
// node_modules/@slack/web-api/dist/index.js
|
|
19213
19385
|
var require_dist4 = __commonJS({
|
|
19214
19386
|
"node_modules/@slack/web-api/dist/index.js"(exports2) {
|
|
19215
19387
|
"use strict";
|
|
19216
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
19388
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
19217
19389
|
if (k2 === void 0) k2 = k;
|
|
19218
19390
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
19219
19391
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -19222,10 +19394,10 @@ var require_dist4 = __commonJS({
|
|
|
19222
19394
|
} };
|
|
19223
19395
|
}
|
|
19224
19396
|
Object.defineProperty(o, k2, desc);
|
|
19225
|
-
} : function(o, m, k, k2) {
|
|
19397
|
+
}) : (function(o, m, k, k2) {
|
|
19226
19398
|
if (k2 === void 0) k2 = k;
|
|
19227
19399
|
o[k2] = m[k];
|
|
19228
|
-
});
|
|
19400
|
+
}));
|
|
19229
19401
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
19230
19402
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
19231
19403
|
};
|
|
@@ -19233,33 +19405,33 @@ var require_dist4 = __commonJS({
|
|
|
19233
19405
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
19234
19406
|
};
|
|
19235
19407
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
19236
|
-
exports2.
|
|
19237
|
-
var
|
|
19238
|
-
Object.defineProperty(exports2, "
|
|
19239
|
-
return
|
|
19408
|
+
exports2.WebClientEvent = exports2.WebClient = exports2.retryPolicies = exports2.LogLevel = exports2.addAppMetadata = exports2.ErrorCode = void 0;
|
|
19409
|
+
var errors_1 = require_errors();
|
|
19410
|
+
Object.defineProperty(exports2, "ErrorCode", { enumerable: true, get: function() {
|
|
19411
|
+
return errors_1.ErrorCode;
|
|
19240
19412
|
} });
|
|
19241
|
-
|
|
19242
|
-
|
|
19413
|
+
var instrument_1 = require_instrument();
|
|
19414
|
+
Object.defineProperty(exports2, "addAppMetadata", { enumerable: true, get: function() {
|
|
19415
|
+
return instrument_1.addAppMetadata;
|
|
19243
19416
|
} });
|
|
19244
19417
|
var logger_1 = require_logger();
|
|
19245
19418
|
Object.defineProperty(exports2, "LogLevel", { enumerable: true, get: function() {
|
|
19246
19419
|
return logger_1.LogLevel;
|
|
19247
19420
|
} });
|
|
19248
|
-
var errors_1 = require_errors();
|
|
19249
|
-
Object.defineProperty(exports2, "ErrorCode", { enumerable: true, get: function() {
|
|
19250
|
-
return errors_1.ErrorCode;
|
|
19251
|
-
} });
|
|
19252
19421
|
var retry_policies_1 = require_retry_policies();
|
|
19253
19422
|
Object.defineProperty(exports2, "retryPolicies", { enumerable: true, get: function() {
|
|
19254
19423
|
return __importDefault(retry_policies_1).default;
|
|
19255
19424
|
} });
|
|
19256
|
-
var instrument_1 = require_instrument();
|
|
19257
|
-
Object.defineProperty(exports2, "addAppMetadata", { enumerable: true, get: function() {
|
|
19258
|
-
return instrument_1.addAppMetadata;
|
|
19259
|
-
} });
|
|
19260
|
-
__exportStar(require_methods(), exports2);
|
|
19261
19425
|
__exportStar(require_request(), exports2);
|
|
19262
19426
|
__exportStar(require_response(), exports2);
|
|
19427
|
+
var WebClient_1 = require_WebClient();
|
|
19428
|
+
Object.defineProperty(exports2, "WebClient", { enumerable: true, get: function() {
|
|
19429
|
+
return WebClient_1.WebClient;
|
|
19430
|
+
} });
|
|
19431
|
+
Object.defineProperty(exports2, "WebClientEvent", { enumerable: true, get: function() {
|
|
19432
|
+
return WebClient_1.WebClientEvent;
|
|
19433
|
+
} });
|
|
19434
|
+
__exportStar(require_methods(), exports2);
|
|
19263
19435
|
}
|
|
19264
19436
|
});
|
|
19265
19437
|
|
|
@@ -21450,7 +21622,7 @@ var require_src2 = __commonJS({
|
|
|
21450
21622
|
"use strict";
|
|
21451
21623
|
var Readable = require("stream").Readable;
|
|
21452
21624
|
var lowercaseKeys = require_lowercase_keys();
|
|
21453
|
-
var
|
|
21625
|
+
var Response = class extends Readable {
|
|
21454
21626
|
constructor(statusCode, headers, body, url) {
|
|
21455
21627
|
if (typeof statusCode !== "number") {
|
|
21456
21628
|
throw new TypeError("Argument `statusCode` should be a number");
|
|
@@ -21475,7 +21647,7 @@ var require_src2 = __commonJS({
|
|
|
21475
21647
|
this.push(null);
|
|
21476
21648
|
}
|
|
21477
21649
|
};
|
|
21478
|
-
module2.exports =
|
|
21650
|
+
module2.exports = Response;
|
|
21479
21651
|
}
|
|
21480
21652
|
});
|
|
21481
21653
|
|
|
@@ -21790,7 +21962,7 @@ var require_src5 = __commonJS({
|
|
|
21790
21962
|
var normalizeUrl = require_normalize_url();
|
|
21791
21963
|
var getStream = require_get_stream();
|
|
21792
21964
|
var CachePolicy = require_http_cache_semantics();
|
|
21793
|
-
var
|
|
21965
|
+
var Response = require_src2();
|
|
21794
21966
|
var lowercaseKeys = require_lowercase_keys();
|
|
21795
21967
|
var cloneResponse = require_src3();
|
|
21796
21968
|
var Keyv = require_src4();
|
|
@@ -21860,7 +22032,7 @@ var require_src5 = __commonJS({
|
|
|
21860
22032
|
const revalidatedPolicy = CachePolicy.fromObject(revalidate.cachePolicy).revalidatedPolicy(opts2, response);
|
|
21861
22033
|
if (!revalidatedPolicy.modified) {
|
|
21862
22034
|
const headers = revalidatedPolicy.policy.responseHeaders();
|
|
21863
|
-
response = new
|
|
22035
|
+
response = new Response(revalidate.statusCode, headers, revalidate.body, revalidate.url);
|
|
21864
22036
|
response.cachePolicy = revalidatedPolicy.policy;
|
|
21865
22037
|
response.fromCache = true;
|
|
21866
22038
|
}
|
|
@@ -21931,7 +22103,7 @@ var require_src5 = __commonJS({
|
|
|
21931
22103
|
const policy = CachePolicy.fromObject(cacheEntry.cachePolicy);
|
|
21932
22104
|
if (policy.satisfiesWithoutRevalidation(opts2) && !opts2.forceRefresh) {
|
|
21933
22105
|
const headers = policy.responseHeaders();
|
|
21934
|
-
const response = new
|
|
22106
|
+
const response = new Response(cacheEntry.statusCode, headers, cacheEntry.body, cacheEntry.url);
|
|
21935
22107
|
response.cachePolicy = policy;
|
|
21936
22108
|
response.fromCache = true;
|
|
21937
22109
|
ee.emit("response", response);
|
|
@@ -24012,7 +24184,7 @@ var require_core = __commonJS({
|
|
|
24012
24184
|
Error.captureStackTrace(this, this.constructor);
|
|
24013
24185
|
this.name = "RequestError";
|
|
24014
24186
|
this.code = (_a = error.code) !== null && _a !== void 0 ? _a : "ERR_GOT_REQUEST_ERROR";
|
|
24015
|
-
if (self2 instanceof
|
|
24187
|
+
if (self2 instanceof Request) {
|
|
24016
24188
|
Object.defineProperty(this, "request", {
|
|
24017
24189
|
enumerable: false,
|
|
24018
24190
|
value: self2
|
|
@@ -24113,7 +24285,7 @@ var require_core = __commonJS({
|
|
|
24113
24285
|
"upgrade",
|
|
24114
24286
|
"timeout"
|
|
24115
24287
|
];
|
|
24116
|
-
var
|
|
24288
|
+
var Request = class extends stream_1.Duplex {
|
|
24117
24289
|
constructor(url, options = {}, defaults) {
|
|
24118
24290
|
super({
|
|
24119
24291
|
// This must be false, to enable throwing after destroy
|
|
@@ -24372,7 +24544,7 @@ var require_core = __commonJS({
|
|
|
24372
24544
|
const { cache } = options;
|
|
24373
24545
|
if (cache) {
|
|
24374
24546
|
if (!cacheableStore.has(cache)) {
|
|
24375
|
-
cacheableStore.set(cache, new CacheableRequest((requestOptions, handler2) => {
|
|
24547
|
+
cacheableStore.set(cache, new CacheableRequest(((requestOptions, handler2) => {
|
|
24376
24548
|
const result = requestOptions[kRequest](requestOptions, handler2);
|
|
24377
24549
|
if (is_1.default.promise(result)) {
|
|
24378
24550
|
result.once = (event, handler3) => {
|
|
@@ -24393,7 +24565,7 @@ var require_core = __commonJS({
|
|
|
24393
24565
|
};
|
|
24394
24566
|
}
|
|
24395
24567
|
return result;
|
|
24396
|
-
}, cache));
|
|
24568
|
+
}), cache));
|
|
24397
24569
|
}
|
|
24398
24570
|
}
|
|
24399
24571
|
options.cacheOptions = { ...options.cacheOptions };
|
|
@@ -25200,7 +25372,7 @@ var require_core = __commonJS({
|
|
|
25200
25372
|
return this;
|
|
25201
25373
|
}
|
|
25202
25374
|
};
|
|
25203
|
-
exports2.default =
|
|
25375
|
+
exports2.default = Request;
|
|
25204
25376
|
}
|
|
25205
25377
|
});
|
|
25206
25378
|
|
|
@@ -25208,15 +25380,15 @@ var require_core = __commonJS({
|
|
|
25208
25380
|
var require_types = __commonJS({
|
|
25209
25381
|
"node_modules/got/dist/source/as-promise/types.js"(exports2) {
|
|
25210
25382
|
"use strict";
|
|
25211
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
25383
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
25212
25384
|
if (k2 === void 0) k2 = k;
|
|
25213
25385
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
25214
25386
|
return m[k];
|
|
25215
25387
|
} });
|
|
25216
|
-
} : function(o, m, k, k2) {
|
|
25388
|
+
}) : (function(o, m, k, k2) {
|
|
25217
25389
|
if (k2 === void 0) k2 = k;
|
|
25218
25390
|
o[k2] = m[k];
|
|
25219
|
-
});
|
|
25391
|
+
}));
|
|
25220
25392
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
25221
25393
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
25222
25394
|
};
|
|
@@ -25281,15 +25453,15 @@ var require_parse_body = __commonJS({
|
|
|
25281
25453
|
var require_as_promise = __commonJS({
|
|
25282
25454
|
"node_modules/got/dist/source/as-promise/index.js"(exports2) {
|
|
25283
25455
|
"use strict";
|
|
25284
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
25456
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
25285
25457
|
if (k2 === void 0) k2 = k;
|
|
25286
25458
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
25287
25459
|
return m[k];
|
|
25288
25460
|
} });
|
|
25289
|
-
} : function(o, m, k, k2) {
|
|
25461
|
+
}) : (function(o, m, k, k2) {
|
|
25290
25462
|
if (k2 === void 0) k2 = k;
|
|
25291
25463
|
o[k2] = m[k];
|
|
25292
|
-
});
|
|
25464
|
+
}));
|
|
25293
25465
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
25294
25466
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
25295
25467
|
};
|
|
@@ -25510,15 +25682,15 @@ var require_types2 = __commonJS({
|
|
|
25510
25682
|
var require_create = __commonJS({
|
|
25511
25683
|
"node_modules/got/dist/source/create.js"(exports2) {
|
|
25512
25684
|
"use strict";
|
|
25513
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
25685
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
25514
25686
|
if (k2 === void 0) k2 = k;
|
|
25515
25687
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
25516
25688
|
return m[k];
|
|
25517
25689
|
} });
|
|
25518
|
-
} : function(o, m, k, k2) {
|
|
25690
|
+
}) : (function(o, m, k, k2) {
|
|
25519
25691
|
if (k2 === void 0) k2 = k;
|
|
25520
25692
|
o[k2] = m[k];
|
|
25521
|
-
});
|
|
25693
|
+
}));
|
|
25522
25694
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
25523
25695
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
25524
25696
|
};
|
|
@@ -25572,7 +25744,7 @@ var require_create = __commonJS({
|
|
|
25572
25744
|
};
|
|
25573
25745
|
var create = (defaults) => {
|
|
25574
25746
|
defaults._rawHandlers = defaults.handlers;
|
|
25575
|
-
defaults.handlers = defaults.handlers.map((fn) => (options, next) => {
|
|
25747
|
+
defaults.handlers = defaults.handlers.map((fn) => ((options, next) => {
|
|
25576
25748
|
let root;
|
|
25577
25749
|
const result = fn(options, (newOptions) => {
|
|
25578
25750
|
root = next(newOptions);
|
|
@@ -25588,8 +25760,8 @@ var require_create = __commonJS({
|
|
|
25588
25760
|
typedResult.finally = promiseFianlly;
|
|
25589
25761
|
}
|
|
25590
25762
|
return result;
|
|
25591
|
-
});
|
|
25592
|
-
const got2 = (url, options = {}, _defaults) => {
|
|
25763
|
+
}));
|
|
25764
|
+
const got2 = ((url, options = {}, _defaults) => {
|
|
25593
25765
|
var _a, _b;
|
|
25594
25766
|
let iteration = 0;
|
|
25595
25767
|
const iterateHandlers = (newOptions) => {
|
|
@@ -25625,7 +25797,7 @@ var require_create = __commonJS({
|
|
|
25625
25797
|
return create_rejection_1.default(error, defaults.options.hooks.beforeError, (_b = options.hooks) === null || _b === void 0 ? void 0 : _b.beforeError);
|
|
25626
25798
|
}
|
|
25627
25799
|
}
|
|
25628
|
-
};
|
|
25800
|
+
});
|
|
25629
25801
|
got2.extend = (...instancesOrOptions) => {
|
|
25630
25802
|
const optionsArray = [defaults.options];
|
|
25631
25803
|
let handlers = [...defaults._rawHandlers];
|
|
@@ -25653,7 +25825,7 @@ var require_create = __commonJS({
|
|
|
25653
25825
|
mutableDefaults: Boolean(isMutableDefaults)
|
|
25654
25826
|
});
|
|
25655
25827
|
};
|
|
25656
|
-
const paginateEach = async function* (url, options) {
|
|
25828
|
+
const paginateEach = (async function* (url, options) {
|
|
25657
25829
|
let normalizedOptions = normalizeArguments(url, options, defaults.options);
|
|
25658
25830
|
normalizedOptions.resolveBodyOnly = false;
|
|
25659
25831
|
const pagination = normalizedOptions.pagination;
|
|
@@ -25696,22 +25868,22 @@ var require_create = __commonJS({
|
|
|
25696
25868
|
}
|
|
25697
25869
|
numberOfRequests++;
|
|
25698
25870
|
}
|
|
25699
|
-
};
|
|
25871
|
+
});
|
|
25700
25872
|
got2.paginate = paginateEach;
|
|
25701
|
-
got2.paginate.all = async (url, options) => {
|
|
25873
|
+
got2.paginate.all = (async (url, options) => {
|
|
25702
25874
|
const results = [];
|
|
25703
25875
|
for await (const item of paginateEach(url, options)) {
|
|
25704
25876
|
results.push(item);
|
|
25705
25877
|
}
|
|
25706
25878
|
return results;
|
|
25707
|
-
};
|
|
25879
|
+
});
|
|
25708
25880
|
got2.paginate.each = paginateEach;
|
|
25709
|
-
got2.stream = (url, options) => got2(url, { ...options, isStream: true });
|
|
25881
|
+
got2.stream = ((url, options) => got2(url, { ...options, isStream: true }));
|
|
25710
25882
|
for (const method of aliases) {
|
|
25711
|
-
got2[method] = (url, options) => got2(url, { ...options, method });
|
|
25712
|
-
got2.stream[method] = (url, options) => {
|
|
25883
|
+
got2[method] = ((url, options) => got2(url, { ...options, method }));
|
|
25884
|
+
got2.stream[method] = ((url, options) => {
|
|
25713
25885
|
return got2(url, { ...options, method, isStream: true });
|
|
25714
|
-
};
|
|
25886
|
+
});
|
|
25715
25887
|
}
|
|
25716
25888
|
Object.assign(got2, errors);
|
|
25717
25889
|
Object.defineProperty(got2, "defaults", {
|
|
@@ -25732,15 +25904,15 @@ var require_create = __commonJS({
|
|
|
25732
25904
|
var require_source5 = __commonJS({
|
|
25733
25905
|
"node_modules/got/dist/source/index.js"(exports2, module2) {
|
|
25734
25906
|
"use strict";
|
|
25735
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
25907
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
25736
25908
|
if (k2 === void 0) k2 = k;
|
|
25737
25909
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
25738
25910
|
return m[k];
|
|
25739
25911
|
} });
|
|
25740
|
-
} : function(o, m, k, k2) {
|
|
25912
|
+
}) : (function(o, m, k, k2) {
|
|
25741
25913
|
if (k2 === void 0) k2 = k;
|
|
25742
25914
|
o[k2] = m[k];
|
|
25743
|
-
});
|
|
25915
|
+
}));
|
|
25744
25916
|
var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
|
|
25745
25917
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
|
|
25746
25918
|
};
|
|
@@ -25938,5 +26110,5 @@ mime-types/index.js:
|
|
|
25938
26110
|
*)
|
|
25939
26111
|
|
|
25940
26112
|
axios/dist/node/axios.cjs:
|
|
25941
|
-
(*! Axios v1.
|
|
26113
|
+
(*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors *)
|
|
25942
26114
|
*/
|