cloudstructs 0.12.9 → 0.12.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +6 -6
- package/API.md +308 -0
- package/assets/slack-textract/detect.lambda/index.js +831 -823
- package/assets/ssl-server-test/analyze.lambda/index.js +52 -37
- package/assets/toolkit-cleaner/clean.lambda/index.js +52 -37
- 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/@aws/durable-execution-sdk-js/dist/index.mjs +91 -37
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +91 -37
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts +5 -2
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts +2 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts.map +1 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/durable-execution-api-client/durable-execution-api-client.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/batch-result.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/invoke-handler/invoke-handler.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts +9 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts +2 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +0 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts +12 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts +14 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts.map +1 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/logger/default-logger.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-lambda/README.md +26 -46
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +2 -1
- package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +15 -19
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +15 -19
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -8
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -18
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/index.js +18 -71
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +23 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
- package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +32 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +57 -37
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -12
- package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +133 -6
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +10 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +75 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +2 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +10 -7
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +36 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +96 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +6 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +90 -12
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +89 -87
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +66 -54
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +86 -44
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +279 -189
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +18 -31
- package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +18 -31
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +5 -0
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +5 -5
- package/node_modules/@slack/logger/LICENSE +23 -0
- package/node_modules/@slack/logger/README.md +36 -3
- package/node_modules/@slack/logger/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/logger/dist/index.js +5 -6
- package/node_modules/@slack/logger/dist/index.js.map +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +36 -2
- 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 +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@slack/logger/package.json +13 -33
- package/node_modules/@slack/types/package.json +2 -6
- package/node_modules/@slack/web-api/dist/WebClient.js +241 -266
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +75 -90
- package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.js +108 -125
- package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.d.ts +11 -2
- package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.js +9 -0
- package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/apps.d.ts +6 -0
- package/node_modules/@slack/web-api/dist/types/request/apps.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts +9 -0
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
- 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 +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +36 -2
- 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 +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@slack/web-api/package.json +9 -23
- package/node_modules/@smithy/abort-controller/package.json +7 -7
- package/node_modules/@smithy/config-resolver/package.json +11 -11
- package/node_modules/@smithy/core/dist-cjs/index.js +2 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +9 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +37 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +42 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +25 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +31 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/endpoints.d.ts +7 -0
- package/node_modules/@smithy/core/endpoints.js +6 -0
- package/node_modules/@smithy/core/package.json +21 -12
- package/node_modules/@smithy/credential-provider-imds/package.json +10 -10
- package/node_modules/@smithy/eventstream-codec/package.json +9 -9
- package/node_modules/@smithy/eventstream-serde-browser/package.json +8 -8
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -7
- package/node_modules/@smithy/eventstream-serde-node/package.json +8 -8
- package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -9
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +11 -11
- package/node_modules/@smithy/hash-node/package.json +9 -9
- package/node_modules/@smithy/invalid-dependency/package.json +7 -7
- package/node_modules/@smithy/is-array-buffer/package.json +6 -6
- package/node_modules/@smithy/middleware-content-length/package.json +8 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
- package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
- package/node_modules/@smithy/middleware-serde/package.json +9 -8
- package/node_modules/@smithy/middleware-stack/package.json +7 -7
- package/node_modules/@smithy/node-config-provider/package.json +9 -9
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +68 -45
- package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/package.json +7 -7
- package/node_modules/@smithy/protocol-http/package.json +7 -7
- package/node_modules/@smithy/querystring-builder/package.json +8 -8
- package/node_modules/@smithy/querystring-parser/package.json +7 -7
- package/node_modules/@smithy/service-error-classification/package.json +7 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -7
- package/node_modules/@smithy/signature-v4/package.json +13 -13
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +30 -16
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/package.json +11 -9
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +5 -5
- package/node_modules/@smithy/url-parser/package.json +8 -8
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
- package/node_modules/@smithy/util-base64/package.json +8 -8
- package/node_modules/@smithy/util-body-length-browser/package.json +6 -6
- package/node_modules/@smithy/util-body-length-node/package.json +6 -6
- package/node_modules/@smithy/util-buffer-from/package.json +7 -7
- package/node_modules/@smithy/util-config-provider/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +8 -8
- package/node_modules/@smithy/util-hex-encoding/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +7 -7
- package/node_modules/@smithy/util-retry/package.json +8 -8
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -29
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +9 -9
- package/node_modules/@smithy/util-uri-escape/package.json +6 -6
- package/node_modules/@smithy/util-utf8/package.json +7 -7
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
- package/node_modules/@smithy/util-waiter/package.json +8 -8
- package/node_modules/@smithy/uuid/package.json +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +36 -2
- 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 +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +36 -2
- 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 +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +36 -2
- 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 +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/axios/CHANGELOG.md +206 -206
- package/node_modules/axios/dist/axios.js +161 -51
- 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 +1013 -753
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +1014 -754
- 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 +1675 -1347
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +234 -109
- package/node_modules/axios/index.js +3 -3
- package/node_modules/axios/lib/adapters/README.md +4 -5
- package/node_modules/axios/lib/adapters/adapters.js +18 -14
- package/node_modules/axios/lib/adapters/fetch.js +137 -91
- package/node_modules/axios/lib/adapters/http.js +604 -553
- package/node_modules/axios/lib/adapters/xhr.js +187 -165
- package/node_modules/axios/lib/axios.js +6 -6
- package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
- package/node_modules/axios/lib/core/Axios.js +57 -43
- package/node_modules/axios/lib/core/AxiosError.js +52 -35
- package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
- package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
- package/node_modules/axios/lib/core/mergeConfig.js +10 -22
- package/node_modules/axios/lib/core/settle.js +11 -7
- package/node_modules/axios/lib/defaults/index.js +85 -74
- package/node_modules/axios/lib/defaults/transitional.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
- package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +12 -8
- package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
- package/node_modules/axios/lib/helpers/buildURL.js +15 -13
- package/node_modules/axios/lib/helpers/callbackify.js +13 -11
- package/node_modules/axios/lib/helpers/composeSignals.js +22 -14
- package/node_modules/axios/lib/helpers/cookies.js +44 -49
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
- package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +32 -26
- package/node_modules/axios/lib/helpers/fromDataURI.js +2 -2
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
- package/node_modules/axios/lib/helpers/parseHeaders.js +34 -20
- package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/node_modules/axios/lib/helpers/progressEventReducer.js +22 -15
- package/node_modules/axios/lib/helpers/readBlob.js +4 -4
- package/node_modules/axios/lib/helpers/resolveConfig.js +23 -14
- package/node_modules/axios/lib/helpers/speedometer.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +4 -4
- package/node_modules/axios/lib/helpers/toFormData.js +43 -25
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
- package/node_modules/axios/lib/helpers/trackStream.js +33 -31
- package/node_modules/axios/lib/helpers/validator.js +16 -5
- package/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
- package/node_modules/axios/lib/platform/browser/index.js +5 -5
- package/node_modules/axios/lib/platform/common/utils.js +6 -5
- package/node_modules/axios/lib/platform/index.js +2 -2
- package/node_modules/axios/lib/platform/node/index.js +9 -10
- package/node_modules/axios/lib/utils.js +149 -93
- package/node_modules/axios/package.json +10 -4
- package/node_modules/editorconfig/lib/cli.js +18 -8
- package/node_modules/editorconfig/lib/index.d.ts +0 -1
- package/node_modules/editorconfig/lib/index.js +24 -15
- package/node_modules/editorconfig/node_modules/minimatch/README.md +39 -2
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts +2 -6
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.js +229 -48
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/index.d.ts +4 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/index.js +135 -123
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/unescape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts +2 -6
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.js +229 -48
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/index.d.ts +4 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/index.js +135 -123
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/unescape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/package.json +31 -35
- package/node_modules/editorconfig/package.json +4 -30
- package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
- package/node_modules/fast-xml-builder/LICENSE +21 -0
- package/node_modules/fast-xml-builder/README.md +23 -0
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
- package/node_modules/fast-xml-builder/package.json +80 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
- package/node_modules/fast-xml-builder/src/fxb.js +529 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/README.md +135 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/package.json +49 -0
- package/node_modules/js-beautify/node_modules/minimatch/README.md +37 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js +179 -24
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +124 -118
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js +179 -24
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts +4 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +124 -118
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/package.json +14 -14
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +12 -16
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/minipass/dist/commonjs/index.js +13 -3
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -1
- package/node_modules/minipass/dist/esm/index.d.ts +12 -16
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
- package/node_modules/minipass/dist/esm/index.js +3 -1
- package/node_modules/minipass/dist/esm/index.js.map +1 -1
- package/node_modules/minipass/package.json +9 -14
- package/node_modules/mjml-cli/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/README.md +135 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/package.json +49 -0
- package/node_modules/mjml-cli/node_modules/minimatch/README.md +37 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js +179 -24
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +124 -118
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js +179 -24
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts +4 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +124 -118
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/package.json +14 -14
- package/node_modules/path-expression-matcher/LICENSE +21 -0
- package/node_modules/path-expression-matcher/README.md +635 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
- package/node_modules/path-expression-matcher/package.json +78 -0
- package/node_modules/path-expression-matcher/src/Expression.js +232 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
- package/node_modules/path-expression-matcher/src/index.js +28 -0
- package/node_modules/pump/empty.js +1 -0
- package/node_modules/pump/package.json +7 -1
- package/node_modules/strnum/README.md +1 -0
- package/node_modules/strnum/package.json +3 -3
- package/node_modules/strnum/strnum.js +85 -59
- package/node_modules/strnum/tests/infinity_test.js +18 -0
- package/node_modules/strnum/{strnum.test.js → tests/strnum_test.js} +67 -68
- package/package.json +22 -22
- package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso/README.md +0 -244
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +0 -161
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -21
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -158
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -67
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -91
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/@aws-sdk/client-sso/package.json +0 -99
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- package/node_modules/minipass/LICENSE +0 -15
- package/node_modules/strnum/test.js +0 -9
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/SSOServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/errors.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js → nested-clients/dist-es/submodules/sso/models/models_0.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/.github/FUNDING.yml +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/LICENSE +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/README.md +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/index.js +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/package.json +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/package.json +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/package.json +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
|
@@ -94,7 +94,7 @@ var require_package = __commonJS({
|
|
|
94
94
|
"node_modules/@slack/web-api/package.json"(exports2, module2) {
|
|
95
95
|
module2.exports = {
|
|
96
96
|
name: "@slack/web-api",
|
|
97
|
-
version: "7.
|
|
97
|
+
version: "7.15.0",
|
|
98
98
|
description: "Official library for using the Slack Platform's Web API",
|
|
99
99
|
author: "Slack Technologies, LLC",
|
|
100
100
|
license: "MIT",
|
|
@@ -131,21 +131,21 @@ var require_package = __commonJS({
|
|
|
131
131
|
},
|
|
132
132
|
scripts: {
|
|
133
133
|
build: "npm run build:clean && tsc",
|
|
134
|
-
"build:clean": "shx rm -rf ./dist
|
|
134
|
+
"build:clean": "shx rm -rf ./dist",
|
|
135
135
|
docs: "npx typedoc --plugin typedoc-plugin-markdown",
|
|
136
|
-
mocha: 'mocha --config ./test/.mocharc.json "./src/**/*.spec.ts"',
|
|
137
136
|
prepack: "npm run build",
|
|
138
|
-
test: "npm run test:
|
|
137
|
+
test: "npm run test:unit",
|
|
138
|
+
"test:node18": "npm run build && bash -c 'node --test --test-reporter=spec --import tsx src/*.test.ts'",
|
|
139
139
|
"test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts",
|
|
140
140
|
"test:integration:ts": "cd test/integration/ts-4.7-project && npm i && npm run build",
|
|
141
141
|
"test:types": "tsd",
|
|
142
|
-
"test:unit": "npm run build &&
|
|
142
|
+
"test:unit": "npm run build && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=junit --test-reporter-destination=test-results.xml --import tsx --test src/*.test.ts",
|
|
143
143
|
watch: "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"
|
|
144
144
|
},
|
|
145
145
|
dependencies: {
|
|
146
|
-
"@slack/logger": "^4.0.
|
|
147
|
-
"@slack/types": "^2.20.
|
|
148
|
-
"@types/node": ">=18
|
|
146
|
+
"@slack/logger": "^4.0.1",
|
|
147
|
+
"@slack/types": "^2.20.1",
|
|
148
|
+
"@types/node": ">=18",
|
|
149
149
|
"@types/retry": "0.12.0",
|
|
150
150
|
axios: "^1.13.5",
|
|
151
151
|
eventemitter3: "^5.0.1",
|
|
@@ -157,26 +157,12 @@ var require_package = __commonJS({
|
|
|
157
157
|
retry: "^0.13.1"
|
|
158
158
|
},
|
|
159
159
|
devDependencies: {
|
|
160
|
-
"@tsconfig/recommended": "^1",
|
|
161
160
|
"@types/busboy": "^1.5.4",
|
|
162
|
-
"@types/chai": "^4",
|
|
163
|
-
"@types/mocha": "^10",
|
|
164
161
|
"@types/sinon": "^21",
|
|
165
162
|
busboy: "^1",
|
|
166
|
-
c8: "^10.1.2",
|
|
167
|
-
chai: "^4",
|
|
168
|
-
mocha: "^11",
|
|
169
|
-
"mocha-junit-reporter": "^2.2.1",
|
|
170
|
-
"mocha-multi-reporters": "^1.5.1",
|
|
171
163
|
nock: "^14",
|
|
172
|
-
shx: "^0.4.0",
|
|
173
164
|
sinon: "^21",
|
|
174
|
-
|
|
175
|
-
"ts-node": "^10",
|
|
176
|
-
tsd: "^0.33.0",
|
|
177
|
-
typedoc: "^0.28.7",
|
|
178
|
-
"typedoc-plugin-markdown": "^4.7.1",
|
|
179
|
-
typescript: "5.9.3"
|
|
165
|
+
tsd: "^0.33.0"
|
|
180
166
|
},
|
|
181
167
|
tsd: {
|
|
182
168
|
directory: "test/types"
|
|
@@ -259,7 +245,7 @@ var require_dist = __commonJS({
|
|
|
259
245
|
LogLevel2["WARN"] = "warn";
|
|
260
246
|
LogLevel2["INFO"] = "info";
|
|
261
247
|
LogLevel2["DEBUG"] = "debug";
|
|
262
|
-
})(LogLevel
|
|
248
|
+
})(LogLevel || (exports2.LogLevel = LogLevel = {}));
|
|
263
249
|
var ConsoleLogger = class _ConsoleLogger {
|
|
264
250
|
constructor() {
|
|
265
251
|
this.level = LogLevel.INFO;
|
|
@@ -283,7 +269,7 @@ var require_dist = __commonJS({
|
|
|
283
269
|
/**
|
|
284
270
|
* Log a debug message
|
|
285
271
|
*/
|
|
286
|
-
//
|
|
272
|
+
// biome-ignore lint/suspicious/noExplicitAny: can log anything
|
|
287
273
|
debug(...msg) {
|
|
288
274
|
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.DEBUG, this.level)) {
|
|
289
275
|
console.debug(_ConsoleLogger.labels.get(LogLevel.DEBUG), this.name, ...msg);
|
|
@@ -292,7 +278,7 @@ var require_dist = __commonJS({
|
|
|
292
278
|
/**
|
|
293
279
|
* Log an info message
|
|
294
280
|
*/
|
|
295
|
-
//
|
|
281
|
+
// biome-ignore lint/suspicious/noExplicitAny: can log anything
|
|
296
282
|
info(...msg) {
|
|
297
283
|
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.INFO, this.level)) {
|
|
298
284
|
console.info(_ConsoleLogger.labels.get(LogLevel.INFO), this.name, ...msg);
|
|
@@ -301,7 +287,7 @@ var require_dist = __commonJS({
|
|
|
301
287
|
/**
|
|
302
288
|
* Log a warning message
|
|
303
289
|
*/
|
|
304
|
-
//
|
|
290
|
+
// biome-ignore lint/suspicious/noExplicitAny: can log anything
|
|
305
291
|
warn(...msg) {
|
|
306
292
|
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.WARN, this.level)) {
|
|
307
293
|
console.warn(_ConsoleLogger.labels.get(LogLevel.WARN), this.name, ...msg);
|
|
@@ -310,7 +296,7 @@ var require_dist = __commonJS({
|
|
|
310
296
|
/**
|
|
311
297
|
* Log an error message
|
|
312
298
|
*/
|
|
313
|
-
//
|
|
299
|
+
// biome-ignore lint/suspicious/noExplicitAny: can log anything
|
|
314
300
|
error(...msg) {
|
|
315
301
|
if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.ERROR, this.level)) {
|
|
316
302
|
console.error(_ConsoleLogger.labels.get(LogLevel.ERROR), this.name, ...msg);
|
|
@@ -417,33 +403,6 @@ var require_response = __commonJS({
|
|
|
417
403
|
var require_chat_stream = __commonJS({
|
|
418
404
|
"node_modules/@slack/web-api/dist/chat-stream.js"(exports2) {
|
|
419
405
|
"use strict";
|
|
420
|
-
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
421
|
-
function adopt(value) {
|
|
422
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
423
|
-
resolve(value);
|
|
424
|
-
});
|
|
425
|
-
}
|
|
426
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
427
|
-
function fulfilled(value) {
|
|
428
|
-
try {
|
|
429
|
-
step(generator.next(value));
|
|
430
|
-
} catch (e) {
|
|
431
|
-
reject(e);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
function rejected(value) {
|
|
435
|
-
try {
|
|
436
|
-
step(generator["throw"](value));
|
|
437
|
-
} catch (e) {
|
|
438
|
-
reject(e);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
function step(result) {
|
|
442
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
443
|
-
}
|
|
444
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
445
|
-
});
|
|
446
|
-
};
|
|
447
406
|
var __rest = exports2 && exports2.__rest || function(s, e) {
|
|
448
407
|
var t = {};
|
|
449
408
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -511,32 +470,30 @@ var require_chat_stream = __commonJS({
|
|
|
511
470
|
* await streamer.stop();
|
|
512
471
|
* @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
|
|
513
472
|
*/
|
|
514
|
-
append(args) {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
return null;
|
|
539
|
-
});
|
|
473
|
+
async append(args) {
|
|
474
|
+
if (this.state === "completed") {
|
|
475
|
+
throw new Error(`failed to append stream: stream state is ${this.state}`);
|
|
476
|
+
}
|
|
477
|
+
const { markdown_text, chunks } = args, opts = __rest(args, ["markdown_text", "chunks"]);
|
|
478
|
+
if (opts.token) {
|
|
479
|
+
this.token = opts.token;
|
|
480
|
+
}
|
|
481
|
+
if (markdown_text) {
|
|
482
|
+
this.buffer += markdown_text;
|
|
483
|
+
}
|
|
484
|
+
if (this.buffer.length >= this.options.buffer_size || chunks) {
|
|
485
|
+
return await this.flushBuffer(Object.assign({ chunks }, opts));
|
|
486
|
+
}
|
|
487
|
+
const details = {
|
|
488
|
+
bufferLength: this.buffer.length,
|
|
489
|
+
bufferSize: this.options.buffer_size,
|
|
490
|
+
channel: this.streamArgs.channel,
|
|
491
|
+
recipientTeamId: this.streamArgs.recipient_team_id,
|
|
492
|
+
recipientUserId: this.streamArgs.recipient_user_id,
|
|
493
|
+
threadTs: this.streamArgs.thread_ts
|
|
494
|
+
};
|
|
495
|
+
this.logger.debug(`ChatStreamer appended to buffer: ${JSON.stringify(details)}`);
|
|
496
|
+
return null;
|
|
540
497
|
}
|
|
541
498
|
/**
|
|
542
499
|
* Stop the stream and finalize the message.
|
|
@@ -556,65 +513,61 @@ var require_chat_stream = __commonJS({
|
|
|
556
513
|
* await streamer.stop();
|
|
557
514
|
* @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
|
|
558
515
|
*/
|
|
559
|
-
stop(args) {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
return response;
|
|
592
|
-
});
|
|
516
|
+
async stop(args) {
|
|
517
|
+
if (this.state === "completed") {
|
|
518
|
+
throw new Error(`failed to stop stream: stream state is ${this.state}`);
|
|
519
|
+
}
|
|
520
|
+
const _a = args !== null && args !== void 0 ? args : {}, { markdown_text, chunks } = _a, opts = __rest(_a, ["markdown_text", "chunks"]);
|
|
521
|
+
if (opts.token) {
|
|
522
|
+
this.token = opts.token;
|
|
523
|
+
}
|
|
524
|
+
if (markdown_text) {
|
|
525
|
+
this.buffer += markdown_text;
|
|
526
|
+
}
|
|
527
|
+
if (!this.streamTs) {
|
|
528
|
+
const response2 = await this.client.chat.startStream(Object.assign(Object.assign({}, this.streamArgs), { token: this.token }));
|
|
529
|
+
if (!response2.ts) {
|
|
530
|
+
throw new Error("failed to stop stream: stream not started");
|
|
531
|
+
}
|
|
532
|
+
this.streamTs = response2.ts;
|
|
533
|
+
this.state = "in_progress";
|
|
534
|
+
}
|
|
535
|
+
const chunksToFlush = [];
|
|
536
|
+
if (this.buffer.length > 0) {
|
|
537
|
+
chunksToFlush.push({
|
|
538
|
+
type: "markdown_text",
|
|
539
|
+
text: this.buffer
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
if (chunks) {
|
|
543
|
+
chunksToFlush.push(...chunks);
|
|
544
|
+
}
|
|
545
|
+
const response = await this.client.chat.stopStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
|
|
546
|
+
this.state = "completed";
|
|
547
|
+
return response;
|
|
593
548
|
}
|
|
594
|
-
flushBuffer(args) {
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
const response2 = yield this.client.chat.startStream(Object.assign(Object.assign(Object.assign({}, this.streamArgs), { token: this.token, chunks: chunksToFlush }), opts));
|
|
609
|
-
this.buffer = "";
|
|
610
|
-
this.streamTs = response2.ts;
|
|
611
|
-
this.state = "in_progress";
|
|
612
|
-
return response2;
|
|
613
|
-
}
|
|
614
|
-
const response = yield this.client.chat.appendStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
|
|
549
|
+
async flushBuffer(args) {
|
|
550
|
+
const _a = args !== null && args !== void 0 ? args : {}, { chunks } = _a, opts = __rest(_a, ["chunks"]);
|
|
551
|
+
const chunksToFlush = [];
|
|
552
|
+
if (this.buffer.length > 0) {
|
|
553
|
+
chunksToFlush.push({
|
|
554
|
+
type: "markdown_text",
|
|
555
|
+
text: this.buffer
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
if (chunks) {
|
|
559
|
+
chunksToFlush.push(...chunks);
|
|
560
|
+
}
|
|
561
|
+
if (!this.streamTs) {
|
|
562
|
+
const response2 = await this.client.chat.startStream(Object.assign(Object.assign(Object.assign({}, this.streamArgs), { token: this.token, chunks: chunksToFlush }), opts));
|
|
615
563
|
this.buffer = "";
|
|
616
|
-
|
|
617
|
-
|
|
564
|
+
this.streamTs = response2.ts;
|
|
565
|
+
this.state = "in_progress";
|
|
566
|
+
return response2;
|
|
567
|
+
}
|
|
568
|
+
const response = await this.client.chat.appendStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
|
|
569
|
+
this.buffer = "";
|
|
570
|
+
return response;
|
|
618
571
|
}
|
|
619
572
|
};
|
|
620
573
|
exports2.ChatStreamer = ChatStreamer;
|
|
@@ -12345,12 +12298,25 @@ var require_axios = __commonJS({
|
|
|
12345
12298
|
};
|
|
12346
12299
|
var isDate = kindOfTest("Date");
|
|
12347
12300
|
var isFile = kindOfTest("File");
|
|
12301
|
+
var isReactNativeBlob = (value) => {
|
|
12302
|
+
return !!(value && typeof value.uri !== "undefined");
|
|
12303
|
+
};
|
|
12304
|
+
var isReactNative = (formData) => formData && typeof formData.getParts !== "undefined";
|
|
12348
12305
|
var isBlob = kindOfTest("Blob");
|
|
12349
12306
|
var isFileList = kindOfTest("FileList");
|
|
12350
12307
|
var isStream = (val) => isObject(val) && isFunction$1(val.pipe);
|
|
12308
|
+
function getGlobal() {
|
|
12309
|
+
if (typeof globalThis !== "undefined") return globalThis;
|
|
12310
|
+
if (typeof self !== "undefined") return self;
|
|
12311
|
+
if (typeof window !== "undefined") return window;
|
|
12312
|
+
if (typeof global !== "undefined") return global;
|
|
12313
|
+
return {};
|
|
12314
|
+
}
|
|
12315
|
+
var G = getGlobal();
|
|
12316
|
+
var FormDataCtor = typeof G.FormData !== "undefined" ? G.FormData : void 0;
|
|
12351
12317
|
var isFormData = (thing) => {
|
|
12352
12318
|
let kind;
|
|
12353
|
-
return thing && (
|
|
12319
|
+
return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
12354
12320
|
kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
|
|
12355
12321
|
};
|
|
12356
12322
|
var isURLSearchParams = kindOfTest("URLSearchParams");
|
|
@@ -12360,7 +12326,9 @@ var require_axios = __commonJS({
|
|
|
12360
12326
|
"Response",
|
|
12361
12327
|
"Headers"
|
|
12362
12328
|
].map(kindOfTest);
|
|
12363
|
-
var trim = (str) =>
|
|
12329
|
+
var trim = (str) => {
|
|
12330
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
12331
|
+
};
|
|
12364
12332
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
12365
12333
|
if (obj === null || typeof obj === "undefined") {
|
|
12366
12334
|
return;
|
|
@@ -12462,10 +12430,7 @@ var require_axios = __commonJS({
|
|
|
12462
12430
|
return content;
|
|
12463
12431
|
};
|
|
12464
12432
|
var inherits = (constructor, superConstructor, props, descriptors) => {
|
|
12465
|
-
constructor.prototype = Object.create(
|
|
12466
|
-
superConstructor.prototype,
|
|
12467
|
-
descriptors
|
|
12468
|
-
);
|
|
12433
|
+
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
12469
12434
|
Object.defineProperty(constructor.prototype, "constructor", {
|
|
12470
12435
|
value: constructor,
|
|
12471
12436
|
writable: true,
|
|
@@ -12664,6 +12629,8 @@ var require_axios = __commonJS({
|
|
|
12664
12629
|
isUndefined,
|
|
12665
12630
|
isDate,
|
|
12666
12631
|
isFile,
|
|
12632
|
+
isReactNativeBlob,
|
|
12633
|
+
isReactNative,
|
|
12667
12634
|
isBlob,
|
|
12668
12635
|
isRegExp,
|
|
12669
12636
|
isFunction: isFunction$1,
|
|
@@ -12710,6 +12677,9 @@ var require_axios = __commonJS({
|
|
|
12710
12677
|
const axiosError = new _AxiosError(error.message, code || error.code, config, request, response);
|
|
12711
12678
|
axiosError.cause = error;
|
|
12712
12679
|
axiosError.name = error.name;
|
|
12680
|
+
if (error.status != null && axiosError.status == null) {
|
|
12681
|
+
axiosError.status = error.status;
|
|
12682
|
+
}
|
|
12713
12683
|
customProps && Object.assign(axiosError, customProps);
|
|
12714
12684
|
return axiosError;
|
|
12715
12685
|
}
|
|
@@ -12726,6 +12696,12 @@ var require_axios = __commonJS({
|
|
|
12726
12696
|
*/
|
|
12727
12697
|
constructor(message, code, config, request, response) {
|
|
12728
12698
|
super(message);
|
|
12699
|
+
Object.defineProperty(this, "message", {
|
|
12700
|
+
value: message,
|
|
12701
|
+
enumerable: true,
|
|
12702
|
+
writable: true,
|
|
12703
|
+
configurable: true
|
|
12704
|
+
});
|
|
12729
12705
|
this.name = "AxiosError";
|
|
12730
12706
|
this.isAxiosError = true;
|
|
12731
12707
|
code && (this.code = code);
|
|
@@ -12793,13 +12769,18 @@ var require_axios = __commonJS({
|
|
|
12793
12769
|
throw new TypeError("target must be an object");
|
|
12794
12770
|
}
|
|
12795
12771
|
formData = formData || new (FormData__default["default"] || FormData)();
|
|
12796
|
-
options = utils$1.toFlatObject(
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
12800
|
-
|
|
12801
|
-
|
|
12802
|
-
|
|
12772
|
+
options = utils$1.toFlatObject(
|
|
12773
|
+
options,
|
|
12774
|
+
{
|
|
12775
|
+
metaTokens: true,
|
|
12776
|
+
dots: false,
|
|
12777
|
+
indexes: false
|
|
12778
|
+
},
|
|
12779
|
+
false,
|
|
12780
|
+
function defined(option, source) {
|
|
12781
|
+
return !utils$1.isUndefined(source[option]);
|
|
12782
|
+
}
|
|
12783
|
+
);
|
|
12803
12784
|
const metaTokens = options.metaTokens;
|
|
12804
12785
|
const visitor = options.visitor || defaultVisitor;
|
|
12805
12786
|
const dots = options.dots;
|
|
@@ -12827,6 +12808,10 @@ var require_axios = __commonJS({
|
|
|
12827
12808
|
}
|
|
12828
12809
|
function defaultVisitor(value, key, path) {
|
|
12829
12810
|
let arr = value;
|
|
12811
|
+
if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
|
|
12812
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
12813
|
+
return false;
|
|
12814
|
+
}
|
|
12830
12815
|
if (value && !path && typeof value === "object") {
|
|
12831
12816
|
if (utils$1.endsWith(key, "{}")) {
|
|
12832
12817
|
key = metaTokens ? key : key.slice(0, -2);
|
|
@@ -12862,13 +12847,7 @@ var require_axios = __commonJS({
|
|
|
12862
12847
|
}
|
|
12863
12848
|
stack.push(value);
|
|
12864
12849
|
utils$1.forEach(value, function each(el, key) {
|
|
12865
|
-
const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(
|
|
12866
|
-
formData,
|
|
12867
|
-
el,
|
|
12868
|
-
utils$1.isString(key) ? key.trim() : key,
|
|
12869
|
-
path,
|
|
12870
|
-
exposedHelpers
|
|
12871
|
-
);
|
|
12850
|
+
const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
12872
12851
|
if (result === true) {
|
|
12873
12852
|
build(el, path ? path.concat(key) : [key]);
|
|
12874
12853
|
}
|
|
@@ -13134,70 +13113,74 @@ var require_axios = __commonJS({
|
|
|
13134
13113
|
var defaults = {
|
|
13135
13114
|
transitional: transitionalDefaults,
|
|
13136
13115
|
adapter: ["xhr", "http", "fetch"],
|
|
13137
|
-
transformRequest: [
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
if (utils$1.isArrayBufferView(data)) {
|
|
13152
|
-
return data.buffer;
|
|
13153
|
-
}
|
|
13154
|
-
if (utils$1.isURLSearchParams(data)) {
|
|
13155
|
-
headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
|
|
13156
|
-
return data.toString();
|
|
13157
|
-
}
|
|
13158
|
-
let isFileList2;
|
|
13159
|
-
if (isObjectPayload) {
|
|
13160
|
-
if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
|
|
13161
|
-
return toURLEncodedForm(data, this.formSerializer).toString();
|
|
13116
|
+
transformRequest: [
|
|
13117
|
+
function transformRequest(data, headers) {
|
|
13118
|
+
const contentType = headers.getContentType() || "";
|
|
13119
|
+
const hasJSONContentType = contentType.indexOf("application/json") > -1;
|
|
13120
|
+
const isObjectPayload = utils$1.isObject(data);
|
|
13121
|
+
if (isObjectPayload && utils$1.isHTMLForm(data)) {
|
|
13122
|
+
data = new FormData(data);
|
|
13123
|
+
}
|
|
13124
|
+
const isFormData2 = utils$1.isFormData(data);
|
|
13125
|
+
if (isFormData2) {
|
|
13126
|
+
return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
|
|
13127
|
+
}
|
|
13128
|
+
if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
|
|
13129
|
+
return data;
|
|
13162
13130
|
}
|
|
13163
|
-
if (
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13167
|
-
|
|
13168
|
-
|
|
13169
|
-
|
|
13131
|
+
if (utils$1.isArrayBufferView(data)) {
|
|
13132
|
+
return data.buffer;
|
|
13133
|
+
}
|
|
13134
|
+
if (utils$1.isURLSearchParams(data)) {
|
|
13135
|
+
headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
|
|
13136
|
+
return data.toString();
|
|
13137
|
+
}
|
|
13138
|
+
let isFileList2;
|
|
13139
|
+
if (isObjectPayload) {
|
|
13140
|
+
if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
|
|
13141
|
+
return toURLEncodedForm(data, this.formSerializer).toString();
|
|
13142
|
+
}
|
|
13143
|
+
if ((isFileList2 = utils$1.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
|
|
13144
|
+
const _FormData = this.env && this.env.FormData;
|
|
13145
|
+
return toFormData(
|
|
13146
|
+
isFileList2 ? { "files[]": data } : data,
|
|
13147
|
+
_FormData && new _FormData(),
|
|
13148
|
+
this.formSerializer
|
|
13149
|
+
);
|
|
13150
|
+
}
|
|
13151
|
+
}
|
|
13152
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
13153
|
+
headers.setContentType("application/json", false);
|
|
13154
|
+
return stringifySafely(data);
|
|
13170
13155
|
}
|
|
13171
|
-
}
|
|
13172
|
-
if (isObjectPayload || hasJSONContentType) {
|
|
13173
|
-
headers.setContentType("application/json", false);
|
|
13174
|
-
return stringifySafely(data);
|
|
13175
|
-
}
|
|
13176
|
-
return data;
|
|
13177
|
-
}],
|
|
13178
|
-
transformResponse: [function transformResponse(data) {
|
|
13179
|
-
const transitional = this.transitional || defaults.transitional;
|
|
13180
|
-
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
13181
|
-
const JSONRequested = this.responseType === "json";
|
|
13182
|
-
if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
|
|
13183
13156
|
return data;
|
|
13184
13157
|
}
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
|
|
13189
|
-
|
|
13190
|
-
|
|
13191
|
-
|
|
13192
|
-
|
|
13193
|
-
|
|
13158
|
+
],
|
|
13159
|
+
transformResponse: [
|
|
13160
|
+
function transformResponse(data) {
|
|
13161
|
+
const transitional = this.transitional || defaults.transitional;
|
|
13162
|
+
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
13163
|
+
const JSONRequested = this.responseType === "json";
|
|
13164
|
+
if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
|
|
13165
|
+
return data;
|
|
13166
|
+
}
|
|
13167
|
+
if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
13168
|
+
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
13169
|
+
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
13170
|
+
try {
|
|
13171
|
+
return JSON.parse(data, this.parseReviver);
|
|
13172
|
+
} catch (e) {
|
|
13173
|
+
if (strictJSONParsing) {
|
|
13174
|
+
if (e.name === "SyntaxError") {
|
|
13175
|
+
throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
|
13176
|
+
}
|
|
13177
|
+
throw e;
|
|
13194
13178
|
}
|
|
13195
|
-
throw e;
|
|
13196
13179
|
}
|
|
13197
13180
|
}
|
|
13181
|
+
return data;
|
|
13198
13182
|
}
|
|
13199
|
-
|
|
13200
|
-
}],
|
|
13183
|
+
],
|
|
13201
13184
|
/**
|
|
13202
13185
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
13203
13186
|
* timeout is not created.
|
|
@@ -13216,7 +13199,7 @@ var require_axios = __commonJS({
|
|
|
13216
13199
|
},
|
|
13217
13200
|
headers: {
|
|
13218
13201
|
common: {
|
|
13219
|
-
|
|
13202
|
+
Accept: "application/json, text/plain, */*",
|
|
13220
13203
|
"Content-Type": void 0
|
|
13221
13204
|
}
|
|
13222
13205
|
}
|
|
@@ -13483,7 +13466,14 @@ var require_axios = __commonJS({
|
|
|
13483
13466
|
return this;
|
|
13484
13467
|
}
|
|
13485
13468
|
};
|
|
13486
|
-
AxiosHeaders.accessor([
|
|
13469
|
+
AxiosHeaders.accessor([
|
|
13470
|
+
"Content-Type",
|
|
13471
|
+
"Content-Length",
|
|
13472
|
+
"Accept",
|
|
13473
|
+
"Accept-Encoding",
|
|
13474
|
+
"User-Agent",
|
|
13475
|
+
"Authorization"
|
|
13476
|
+
]);
|
|
13487
13477
|
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
13488
13478
|
let mapped = key[0].toUpperCase() + key.slice(1);
|
|
13489
13479
|
return {
|
|
@@ -13531,13 +13521,15 @@ var require_axios = __commonJS({
|
|
|
13531
13521
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
13532
13522
|
resolve(response);
|
|
13533
13523
|
} else {
|
|
13534
|
-
reject(
|
|
13535
|
-
|
|
13536
|
-
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13524
|
+
reject(
|
|
13525
|
+
new AxiosError$1(
|
|
13526
|
+
"Request failed with status code " + response.status,
|
|
13527
|
+
[AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
13528
|
+
response.config,
|
|
13529
|
+
response.request,
|
|
13530
|
+
response
|
|
13531
|
+
)
|
|
13532
|
+
);
|
|
13541
13533
|
}
|
|
13542
13534
|
}
|
|
13543
13535
|
function isAbsoluteURL(url2) {
|
|
@@ -13556,7 +13548,7 @@ var require_axios = __commonJS({
|
|
|
13556
13548
|
}
|
|
13557
13549
|
return requestedURL;
|
|
13558
13550
|
}
|
|
13559
|
-
var VERSION = "1.13.
|
|
13551
|
+
var VERSION = "1.13.6";
|
|
13560
13552
|
function parseProtocol(url2) {
|
|
13561
13553
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
13562
13554
|
return match && match[1] || "";
|
|
@@ -13591,16 +13583,21 @@ var require_axios = __commonJS({
|
|
|
13591
13583
|
var kInternals = /* @__PURE__ */ Symbol("internals");
|
|
13592
13584
|
var AxiosTransformStream = class extends stream__default["default"].Transform {
|
|
13593
13585
|
constructor(options) {
|
|
13594
|
-
options = utils$1.toFlatObject(
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
13586
|
+
options = utils$1.toFlatObject(
|
|
13587
|
+
options,
|
|
13588
|
+
{
|
|
13589
|
+
maxRate: 0,
|
|
13590
|
+
chunkSize: 64 * 1024,
|
|
13591
|
+
minChunkSize: 100,
|
|
13592
|
+
timeWindow: 500,
|
|
13593
|
+
ticksRate: 2,
|
|
13594
|
+
samplesCount: 15
|
|
13595
|
+
},
|
|
13596
|
+
null,
|
|
13597
|
+
(prop, source) => {
|
|
13598
|
+
return !utils$1.isUndefined(source[prop]);
|
|
13599
|
+
}
|
|
13600
|
+
);
|
|
13604
13601
|
super({
|
|
13605
13602
|
readableHighWaterMark: options.chunkSize
|
|
13606
13603
|
});
|
|
@@ -13683,9 +13680,12 @@ var require_axios = __commonJS({
|
|
|
13683
13680
|
chunkRemainder = _chunk.subarray(maxChunkSize);
|
|
13684
13681
|
_chunk = _chunk.subarray(0, maxChunkSize);
|
|
13685
13682
|
}
|
|
13686
|
-
pushChunk(
|
|
13687
|
-
|
|
13688
|
-
|
|
13683
|
+
pushChunk(
|
|
13684
|
+
_chunk,
|
|
13685
|
+
chunkRemainder ? () => {
|
|
13686
|
+
process.nextTick(_callback, null, chunkRemainder);
|
|
13687
|
+
} : _callback
|
|
13688
|
+
);
|
|
13689
13689
|
};
|
|
13690
13690
|
transformChunk(chunk, function transformNextChunk(err, _chunk) {
|
|
13691
13691
|
if (err) {
|
|
@@ -13745,11 +13745,14 @@ var require_axios = __commonJS({
|
|
|
13745
13745
|
yield CRLF_BYTES;
|
|
13746
13746
|
}
|
|
13747
13747
|
static escapeName(name) {
|
|
13748
|
-
return String(name).replace(
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13748
|
+
return String(name).replace(
|
|
13749
|
+
/[\r\n"]/g,
|
|
13750
|
+
(match) => ({
|
|
13751
|
+
"\r": "%0D",
|
|
13752
|
+
"\n": "%0A",
|
|
13753
|
+
'"': "%22"
|
|
13754
|
+
})[match]
|
|
13755
|
+
);
|
|
13753
13756
|
}
|
|
13754
13757
|
};
|
|
13755
13758
|
var formDataToStream = (form, headersHandler, options) => {
|
|
@@ -13781,13 +13784,15 @@ var require_axios = __commonJS({
|
|
|
13781
13784
|
computedHeaders["Content-Length"] = contentLength;
|
|
13782
13785
|
}
|
|
13783
13786
|
headersHandler && headersHandler(computedHeaders);
|
|
13784
|
-
return stream.Readable.from(
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
|
|
13790
|
-
|
|
13787
|
+
return stream.Readable.from(
|
|
13788
|
+
(async function* () {
|
|
13789
|
+
for (const part of parts) {
|
|
13790
|
+
yield boundaryBytes;
|
|
13791
|
+
yield* part.encode();
|
|
13792
|
+
}
|
|
13793
|
+
yield footerBytes;
|
|
13794
|
+
})()
|
|
13795
|
+
);
|
|
13791
13796
|
};
|
|
13792
13797
|
var formDataToStream$1 = formDataToStream;
|
|
13793
13798
|
var ZlibHeaderTransformStream = class extends stream__default["default"].Transform {
|
|
@@ -13913,11 +13918,14 @@ var require_axios = __commonJS({
|
|
|
13913
13918
|
};
|
|
13914
13919
|
var progressEventDecorator = (total, throttled) => {
|
|
13915
13920
|
const lengthComputable = total != null;
|
|
13916
|
-
return [
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
|
|
13920
|
-
|
|
13921
|
+
return [
|
|
13922
|
+
(loaded) => throttled[0]({
|
|
13923
|
+
lengthComputable,
|
|
13924
|
+
total,
|
|
13925
|
+
loaded
|
|
13926
|
+
}),
|
|
13927
|
+
throttled[1]
|
|
13928
|
+
];
|
|
13921
13929
|
};
|
|
13922
13930
|
var asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
|
|
13923
13931
|
function estimateDataURLDecodedBytes(url2) {
|
|
@@ -13992,9 +14000,12 @@ var require_axios = __commonJS({
|
|
|
13992
14000
|
this.sessions = /* @__PURE__ */ Object.create(null);
|
|
13993
14001
|
}
|
|
13994
14002
|
getSession(authority, options) {
|
|
13995
|
-
options = Object.assign(
|
|
13996
|
-
|
|
13997
|
-
|
|
14003
|
+
options = Object.assign(
|
|
14004
|
+
{
|
|
14005
|
+
sessionTimeout: 1e3
|
|
14006
|
+
},
|
|
14007
|
+
options
|
|
14008
|
+
);
|
|
13998
14009
|
let authoritySessions = this.sessions[authority];
|
|
13999
14010
|
if (authoritySessions) {
|
|
14000
14011
|
let len = authoritySessions.length;
|
|
@@ -14048,10 +14059,7 @@ var require_axios = __commonJS({
|
|
|
14048
14059
|
};
|
|
14049
14060
|
}
|
|
14050
14061
|
session.once("close", removeSession);
|
|
14051
|
-
let entry = [
|
|
14052
|
-
session,
|
|
14053
|
-
options
|
|
14054
|
-
];
|
|
14062
|
+
let entry = [session, options];
|
|
14055
14063
|
authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
|
|
14056
14064
|
return session;
|
|
14057
14065
|
}
|
|
@@ -14137,12 +14145,7 @@ var require_axios = __commonJS({
|
|
|
14137
14145
|
const authority = options.protocol + "//" + options.hostname + ":" + (options.port || (options.protocol === "https:" ? 443 : 80));
|
|
14138
14146
|
const { http2Options, headers } = options;
|
|
14139
14147
|
const session = http2Sessions.getSession(authority, http2Options);
|
|
14140
|
-
const {
|
|
14141
|
-
HTTP2_HEADER_SCHEME,
|
|
14142
|
-
HTTP2_HEADER_METHOD,
|
|
14143
|
-
HTTP2_HEADER_PATH,
|
|
14144
|
-
HTTP2_HEADER_STATUS
|
|
14145
|
-
} = http2__default["default"].constants;
|
|
14148
|
+
const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = http2__default["default"].constants;
|
|
14146
14149
|
const http2Headers = {
|
|
14147
14150
|
[HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
|
|
14148
14151
|
[HTTP2_HEADER_METHOD]: options.method,
|
|
@@ -14195,7 +14198,10 @@ var require_axios = __commonJS({
|
|
|
14195
14198
|
const abortEmitter = new events.EventEmitter();
|
|
14196
14199
|
function abort(reason) {
|
|
14197
14200
|
try {
|
|
14198
|
-
abortEmitter.emit(
|
|
14201
|
+
abortEmitter.emit(
|
|
14202
|
+
"abort",
|
|
14203
|
+
!reason || reason.type ? new CanceledError$1(null, config, req) : reason
|
|
14204
|
+
);
|
|
14199
14205
|
} catch (err) {
|
|
14200
14206
|
console.warn("emit error", err);
|
|
14201
14207
|
}
|
|
@@ -14241,11 +14247,13 @@ var require_axios = __commonJS({
|
|
|
14241
14247
|
const dataUrl = String(config.url || fullPath || "");
|
|
14242
14248
|
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
14243
14249
|
if (estimated > config.maxContentLength) {
|
|
14244
|
-
return reject(
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14250
|
+
return reject(
|
|
14251
|
+
new AxiosError$1(
|
|
14252
|
+
"maxContentLength size of " + config.maxContentLength + " exceeded",
|
|
14253
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
14254
|
+
config
|
|
14255
|
+
)
|
|
14256
|
+
);
|
|
14249
14257
|
}
|
|
14250
14258
|
}
|
|
14251
14259
|
let convertedData;
|
|
@@ -14281,11 +14289,9 @@ var require_axios = __commonJS({
|
|
|
14281
14289
|
});
|
|
14282
14290
|
}
|
|
14283
14291
|
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
14284
|
-
return reject(
|
|
14285
|
-
"Unsupported protocol " + protocol,
|
|
14286
|
-
|
|
14287
|
-
config
|
|
14288
|
-
));
|
|
14292
|
+
return reject(
|
|
14293
|
+
new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_BAD_REQUEST, config)
|
|
14294
|
+
);
|
|
14289
14295
|
}
|
|
14290
14296
|
const headers = AxiosHeaders$1.from(config.headers).normalize();
|
|
14291
14297
|
headers.set("User-Agent", "axios/" + VERSION, false);
|
|
@@ -14295,12 +14301,16 @@ var require_axios = __commonJS({
|
|
|
14295
14301
|
let maxDownloadRate = void 0;
|
|
14296
14302
|
if (utils$1.isSpecCompliantForm(data)) {
|
|
14297
14303
|
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
14298
|
-
data = formDataToStream$1(
|
|
14299
|
-
|
|
14300
|
-
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
+
data = formDataToStream$1(
|
|
14305
|
+
data,
|
|
14306
|
+
(formHeaders) => {
|
|
14307
|
+
headers.set(formHeaders);
|
|
14308
|
+
},
|
|
14309
|
+
{
|
|
14310
|
+
tag: `axios-${VERSION}-boundary`,
|
|
14311
|
+
boundary: userBoundary && userBoundary[1] || void 0
|
|
14312
|
+
}
|
|
14313
|
+
);
|
|
14304
14314
|
} else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
|
|
14305
14315
|
headers.set(data.getHeaders());
|
|
14306
14316
|
if (!headers.hasContentLength()) {
|
|
@@ -14321,19 +14331,23 @@ var require_axios = __commonJS({
|
|
|
14321
14331
|
} else if (utils$1.isString(data)) {
|
|
14322
14332
|
data = Buffer.from(data, "utf-8");
|
|
14323
14333
|
} else {
|
|
14324
|
-
return reject(
|
|
14325
|
-
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
|
|
14334
|
+
return reject(
|
|
14335
|
+
new AxiosError$1(
|
|
14336
|
+
"Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
|
|
14337
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
14338
|
+
config
|
|
14339
|
+
)
|
|
14340
|
+
);
|
|
14329
14341
|
}
|
|
14330
14342
|
headers.setContentLength(data.length, false);
|
|
14331
14343
|
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
|
|
14332
|
-
return reject(
|
|
14333
|
-
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14344
|
+
return reject(
|
|
14345
|
+
new AxiosError$1(
|
|
14346
|
+
"Request body larger than maxBodyLength limit",
|
|
14347
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
14348
|
+
config
|
|
14349
|
+
)
|
|
14350
|
+
);
|
|
14337
14351
|
}
|
|
14338
14352
|
}
|
|
14339
14353
|
const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
|
|
@@ -14347,16 +14361,25 @@ var require_axios = __commonJS({
|
|
|
14347
14361
|
if (!utils$1.isStream(data)) {
|
|
14348
14362
|
data = stream__default["default"].Readable.from(data, { objectMode: false });
|
|
14349
14363
|
}
|
|
14350
|
-
data = stream__default["default"].pipeline(
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
|
|
14354
|
-
|
|
14355
|
-
|
|
14356
|
-
|
|
14357
|
-
|
|
14364
|
+
data = stream__default["default"].pipeline(
|
|
14365
|
+
[
|
|
14366
|
+
data,
|
|
14367
|
+
new AxiosTransformStream$1({
|
|
14368
|
+
maxRate: utils$1.toFiniteNumber(maxUploadRate)
|
|
14369
|
+
})
|
|
14370
|
+
],
|
|
14371
|
+
utils$1.noop
|
|
14372
|
+
);
|
|
14373
|
+
onUploadProgress && data.on(
|
|
14374
|
+
"progress",
|
|
14375
|
+
flushOnFinish(
|
|
14376
|
+
data,
|
|
14377
|
+
progressEventDecorator(
|
|
14378
|
+
contentLength,
|
|
14379
|
+
progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
|
|
14380
|
+
)
|
|
14358
14381
|
)
|
|
14359
|
-
)
|
|
14382
|
+
);
|
|
14360
14383
|
}
|
|
14361
14384
|
let auth = void 0;
|
|
14362
14385
|
if (config.auth) {
|
|
@@ -14407,7 +14430,11 @@ var require_axios = __commonJS({
|
|
|
14407
14430
|
} else {
|
|
14408
14431
|
options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
|
|
14409
14432
|
options.port = parsed.port;
|
|
14410
|
-
setProxy(
|
|
14433
|
+
setProxy(
|
|
14434
|
+
options,
|
|
14435
|
+
config.proxy,
|
|
14436
|
+
protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path
|
|
14437
|
+
);
|
|
14411
14438
|
}
|
|
14412
14439
|
let transport;
|
|
14413
14440
|
const isHttpsRequest = isHttps.test(options.protocol);
|
|
@@ -14445,13 +14472,16 @@ var require_axios = __commonJS({
|
|
|
14445
14472
|
const transformStream = new AxiosTransformStream$1({
|
|
14446
14473
|
maxRate: utils$1.toFiniteNumber(maxDownloadRate)
|
|
14447
14474
|
});
|
|
14448
|
-
onDownloadProgress && transformStream.on(
|
|
14449
|
-
|
|
14450
|
-
|
|
14451
|
-
|
|
14452
|
-
|
|
14475
|
+
onDownloadProgress && transformStream.on(
|
|
14476
|
+
"progress",
|
|
14477
|
+
flushOnFinish(
|
|
14478
|
+
transformStream,
|
|
14479
|
+
progressEventDecorator(
|
|
14480
|
+
responseLength,
|
|
14481
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
|
|
14482
|
+
)
|
|
14453
14483
|
)
|
|
14454
|
-
)
|
|
14484
|
+
);
|
|
14455
14485
|
streams.push(transformStream);
|
|
14456
14486
|
}
|
|
14457
14487
|
let responseStream = res;
|
|
@@ -14501,12 +14531,14 @@ var require_axios = __commonJS({
|
|
|
14501
14531
|
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
14502
14532
|
rejected = true;
|
|
14503
14533
|
responseStream.destroy();
|
|
14504
|
-
abort(
|
|
14505
|
-
|
|
14506
|
-
|
|
14507
|
-
|
|
14508
|
-
|
|
14509
|
-
|
|
14534
|
+
abort(
|
|
14535
|
+
new AxiosError$1(
|
|
14536
|
+
"maxContentLength size of " + config.maxContentLength + " exceeded",
|
|
14537
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
14538
|
+
config,
|
|
14539
|
+
lastRequest
|
|
14540
|
+
)
|
|
14541
|
+
);
|
|
14510
14542
|
}
|
|
14511
14543
|
});
|
|
14512
14544
|
responseStream.on("aborted", function handlerStreamAborted() {
|
|
@@ -14565,12 +14597,14 @@ var require_axios = __commonJS({
|
|
|
14565
14597
|
if (config.timeout) {
|
|
14566
14598
|
const timeout = parseInt(config.timeout, 10);
|
|
14567
14599
|
if (Number.isNaN(timeout)) {
|
|
14568
|
-
abort(
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14600
|
+
abort(
|
|
14601
|
+
new AxiosError$1(
|
|
14602
|
+
"error trying to parse `config.timeout` to int",
|
|
14603
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE,
|
|
14604
|
+
config,
|
|
14605
|
+
req
|
|
14606
|
+
)
|
|
14607
|
+
);
|
|
14574
14608
|
return;
|
|
14575
14609
|
}
|
|
14576
14610
|
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
@@ -14580,12 +14614,14 @@ var require_axios = __commonJS({
|
|
|
14580
14614
|
if (config.timeoutErrorMessage) {
|
|
14581
14615
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
14582
14616
|
}
|
|
14583
|
-
abort(
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
|
|
14617
|
+
abort(
|
|
14618
|
+
new AxiosError$1(
|
|
14619
|
+
timeoutErrorMessage,
|
|
14620
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
14621
|
+
config,
|
|
14622
|
+
req
|
|
14623
|
+
)
|
|
14624
|
+
);
|
|
14589
14625
|
});
|
|
14590
14626
|
} else {
|
|
14591
14627
|
req.setTimeout(0);
|
|
@@ -14734,27 +14770,29 @@ var require_axios = __commonJS({
|
|
|
14734
14770
|
validateStatus: mergeDirectKeys,
|
|
14735
14771
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
14736
14772
|
};
|
|
14737
|
-
utils$1.forEach(
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
|
|
14743
|
-
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
14744
|
-
utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
14745
|
-
}
|
|
14746
|
-
);
|
|
14773
|
+
utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
14774
|
+
if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
|
|
14775
|
+
const merge2 = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
14776
|
+
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
14777
|
+
utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
14778
|
+
});
|
|
14747
14779
|
return config;
|
|
14748
14780
|
}
|
|
14749
14781
|
var resolveConfig = (config) => {
|
|
14750
14782
|
const newConfig = mergeConfig({}, config);
|
|
14751
14783
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
14752
14784
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
14753
|
-
newConfig.url = buildURL(
|
|
14785
|
+
newConfig.url = buildURL(
|
|
14786
|
+
buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
|
|
14787
|
+
config.params,
|
|
14788
|
+
config.paramsSerializer
|
|
14789
|
+
);
|
|
14754
14790
|
if (auth) {
|
|
14755
14791
|
headers.set(
|
|
14756
14792
|
"Authorization",
|
|
14757
|
-
"Basic " + btoa(
|
|
14793
|
+
"Basic " + btoa(
|
|
14794
|
+
(auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : "")
|
|
14795
|
+
)
|
|
14758
14796
|
);
|
|
14759
14797
|
}
|
|
14760
14798
|
if (utils$1.isFormData(data)) {
|
|
@@ -14816,13 +14854,17 @@ var require_axios = __commonJS({
|
|
|
14816
14854
|
config,
|
|
14817
14855
|
request
|
|
14818
14856
|
};
|
|
14819
|
-
settle(
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14825
|
-
|
|
14857
|
+
settle(
|
|
14858
|
+
function _resolve(value) {
|
|
14859
|
+
resolve(value);
|
|
14860
|
+
done();
|
|
14861
|
+
},
|
|
14862
|
+
function _reject(err) {
|
|
14863
|
+
reject(err);
|
|
14864
|
+
done();
|
|
14865
|
+
},
|
|
14866
|
+
response
|
|
14867
|
+
);
|
|
14826
14868
|
request = null;
|
|
14827
14869
|
}
|
|
14828
14870
|
if ("onloadend" in request) {
|
|
@@ -14858,12 +14900,14 @@ var require_axios = __commonJS({
|
|
|
14858
14900
|
if (_config.timeoutErrorMessage) {
|
|
14859
14901
|
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
14860
14902
|
}
|
|
14861
|
-
reject(
|
|
14862
|
-
|
|
14863
|
-
|
|
14864
|
-
|
|
14865
|
-
|
|
14866
|
-
|
|
14903
|
+
reject(
|
|
14904
|
+
new AxiosError$1(
|
|
14905
|
+
timeoutErrorMessage,
|
|
14906
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
14907
|
+
config,
|
|
14908
|
+
request
|
|
14909
|
+
)
|
|
14910
|
+
);
|
|
14867
14911
|
request = null;
|
|
14868
14912
|
};
|
|
14869
14913
|
requestData === void 0 && requestHeaders.setContentType(null);
|
|
@@ -14903,7 +14947,13 @@ var require_axios = __commonJS({
|
|
|
14903
14947
|
}
|
|
14904
14948
|
const protocol = parseProtocol(_config.url);
|
|
14905
14949
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
14906
|
-
reject(
|
|
14950
|
+
reject(
|
|
14951
|
+
new AxiosError$1(
|
|
14952
|
+
"Unsupported protocol " + protocol + ":",
|
|
14953
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
14954
|
+
config
|
|
14955
|
+
)
|
|
14956
|
+
);
|
|
14907
14957
|
return;
|
|
14908
14958
|
}
|
|
14909
14959
|
request.send(requestData || null);
|
|
@@ -14919,7 +14969,9 @@ var require_axios = __commonJS({
|
|
|
14919
14969
|
aborted = true;
|
|
14920
14970
|
unsubscribe();
|
|
14921
14971
|
const err = reason instanceof Error ? reason : this.reason;
|
|
14922
|
-
controller.abort(
|
|
14972
|
+
controller.abort(
|
|
14973
|
+
err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err)
|
|
14974
|
+
);
|
|
14923
14975
|
}
|
|
14924
14976
|
};
|
|
14925
14977
|
let timer = timeout && setTimeout(() => {
|
|
@@ -14990,33 +15042,36 @@ var require_axios = __commonJS({
|
|
|
14990
15042
|
onFinish && onFinish(e);
|
|
14991
15043
|
}
|
|
14992
15044
|
};
|
|
14993
|
-
return new ReadableStream(
|
|
14994
|
-
|
|
14995
|
-
|
|
14996
|
-
|
|
14997
|
-
|
|
14998
|
-
|
|
14999
|
-
|
|
15000
|
-
|
|
15001
|
-
|
|
15002
|
-
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15045
|
+
return new ReadableStream(
|
|
15046
|
+
{
|
|
15047
|
+
async pull(controller) {
|
|
15048
|
+
try {
|
|
15049
|
+
const { done: done2, value } = await iterator2.next();
|
|
15050
|
+
if (done2) {
|
|
15051
|
+
_onFinish();
|
|
15052
|
+
controller.close();
|
|
15053
|
+
return;
|
|
15054
|
+
}
|
|
15055
|
+
let len = value.byteLength;
|
|
15056
|
+
if (onProgress) {
|
|
15057
|
+
let loadedBytes = bytes += len;
|
|
15058
|
+
onProgress(loadedBytes);
|
|
15059
|
+
}
|
|
15060
|
+
controller.enqueue(new Uint8Array(value));
|
|
15061
|
+
} catch (err) {
|
|
15062
|
+
_onFinish(err);
|
|
15063
|
+
throw err;
|
|
15006
15064
|
}
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
_onFinish(
|
|
15010
|
-
|
|
15065
|
+
},
|
|
15066
|
+
cancel(reason) {
|
|
15067
|
+
_onFinish(reason);
|
|
15068
|
+
return iterator2.return();
|
|
15011
15069
|
}
|
|
15012
15070
|
},
|
|
15013
|
-
|
|
15014
|
-
|
|
15015
|
-
return iterator2.return();
|
|
15071
|
+
{
|
|
15072
|
+
highWaterMark: 2
|
|
15016
15073
|
}
|
|
15017
|
-
|
|
15018
|
-
highWaterMark: 2
|
|
15019
|
-
});
|
|
15074
|
+
);
|
|
15020
15075
|
};
|
|
15021
15076
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
15022
15077
|
var { isFunction } = utils$1;
|
|
@@ -15024,10 +15079,7 @@ var require_axios = __commonJS({
|
|
|
15024
15079
|
Request,
|
|
15025
15080
|
Response
|
|
15026
15081
|
}))(utils$1.global);
|
|
15027
|
-
var {
|
|
15028
|
-
ReadableStream: ReadableStream$1,
|
|
15029
|
-
TextEncoder: TextEncoder$1
|
|
15030
|
-
} = utils$1.global;
|
|
15082
|
+
var { ReadableStream: ReadableStream$1, TextEncoder: TextEncoder$1 } = utils$1.global;
|
|
15031
15083
|
var test = (fn, ...args) => {
|
|
15032
15084
|
try {
|
|
15033
15085
|
return !!fn(...args);
|
|
@@ -15036,9 +15088,13 @@ var require_axios = __commonJS({
|
|
|
15036
15088
|
}
|
|
15037
15089
|
};
|
|
15038
15090
|
var factory = (env) => {
|
|
15039
|
-
env = utils$1.merge.call(
|
|
15040
|
-
|
|
15041
|
-
|
|
15091
|
+
env = utils$1.merge.call(
|
|
15092
|
+
{
|
|
15093
|
+
skipUndefined: true
|
|
15094
|
+
},
|
|
15095
|
+
globalFetchAPI,
|
|
15096
|
+
env
|
|
15097
|
+
);
|
|
15042
15098
|
const { fetch: envFetch, Request, Response } = env;
|
|
15043
15099
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
|
|
15044
15100
|
const isRequestSupported = isFunction(Request);
|
|
@@ -15071,7 +15127,11 @@ var require_axios = __commonJS({
|
|
|
15071
15127
|
if (method) {
|
|
15072
15128
|
return method.call(res);
|
|
15073
15129
|
}
|
|
15074
|
-
throw new AxiosError$1(
|
|
15130
|
+
throw new AxiosError$1(
|
|
15131
|
+
`Response type '${type}' is not supported`,
|
|
15132
|
+
AxiosError$1.ERR_NOT_SUPPORT,
|
|
15133
|
+
config
|
|
15134
|
+
);
|
|
15075
15135
|
});
|
|
15076
15136
|
});
|
|
15077
15137
|
})();
|
|
@@ -15120,7 +15180,10 @@ var require_axios = __commonJS({
|
|
|
15120
15180
|
} = resolveConfig(config);
|
|
15121
15181
|
let _fetch = envFetch || fetch;
|
|
15122
15182
|
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
15123
|
-
let composedSignal = composeSignals$1(
|
|
15183
|
+
let composedSignal = composeSignals$1(
|
|
15184
|
+
[signal, cancelToken && cancelToken.toAbortSignal()],
|
|
15185
|
+
timeout
|
|
15186
|
+
);
|
|
15124
15187
|
let request = null;
|
|
15125
15188
|
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
15126
15189
|
composedSignal.unsubscribe();
|
|
@@ -15180,7 +15243,10 @@ var require_axios = __commonJS({
|
|
|
15180
15243
|
);
|
|
15181
15244
|
}
|
|
15182
15245
|
responseType = responseType || "text";
|
|
15183
|
-
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](
|
|
15246
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](
|
|
15247
|
+
response,
|
|
15248
|
+
config
|
|
15249
|
+
);
|
|
15184
15250
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
15185
15251
|
return await new Promise((resolve, reject) => {
|
|
15186
15252
|
settle(resolve, reject, {
|
|
@@ -15196,7 +15262,13 @@ var require_axios = __commonJS({
|
|
|
15196
15262
|
unsubscribe && unsubscribe();
|
|
15197
15263
|
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
15198
15264
|
throw Object.assign(
|
|
15199
|
-
new AxiosError$1(
|
|
15265
|
+
new AxiosError$1(
|
|
15266
|
+
"Network Error",
|
|
15267
|
+
AxiosError$1.ERR_NETWORK,
|
|
15268
|
+
config,
|
|
15269
|
+
request,
|
|
15270
|
+
err && err.response
|
|
15271
|
+
),
|
|
15200
15272
|
{
|
|
15201
15273
|
cause: err.cause || err
|
|
15202
15274
|
}
|
|
@@ -15210,11 +15282,7 @@ var require_axios = __commonJS({
|
|
|
15210
15282
|
var getFetch = (config) => {
|
|
15211
15283
|
let env = config && config.env || {};
|
|
15212
15284
|
const { fetch: fetch2, Request, Response } = env;
|
|
15213
|
-
const seeds = [
|
|
15214
|
-
Request,
|
|
15215
|
-
Response,
|
|
15216
|
-
fetch2
|
|
15217
|
-
];
|
|
15285
|
+
const seeds = [Request, Response, fetch2];
|
|
15218
15286
|
let len = seeds.length, i = len, seed, target, map = seedCache;
|
|
15219
15287
|
while (i--) {
|
|
15220
15288
|
seed = seeds[i];
|
|
@@ -15299,37 +15367,33 @@ var require_axios = __commonJS({
|
|
|
15299
15367
|
function dispatchRequest(config) {
|
|
15300
15368
|
throwIfCancellationRequested(config);
|
|
15301
15369
|
config.headers = AxiosHeaders$1.from(config.headers);
|
|
15302
|
-
config.data = transformData.call(
|
|
15303
|
-
config,
|
|
15304
|
-
config.transformRequest
|
|
15305
|
-
);
|
|
15370
|
+
config.data = transformData.call(config, config.transformRequest);
|
|
15306
15371
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
15307
15372
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
15308
15373
|
}
|
|
15309
15374
|
const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
|
|
15310
|
-
return adapter(config).then(
|
|
15311
|
-
|
|
15312
|
-
response.data = transformData.call(
|
|
15313
|
-
config,
|
|
15314
|
-
config.transformResponse,
|
|
15315
|
-
response
|
|
15316
|
-
);
|
|
15317
|
-
response.headers = AxiosHeaders$1.from(response.headers);
|
|
15318
|
-
return response;
|
|
15319
|
-
}, function onAdapterRejection(reason) {
|
|
15320
|
-
if (!isCancel(reason)) {
|
|
15375
|
+
return adapter(config).then(
|
|
15376
|
+
function onAdapterResolution(response) {
|
|
15321
15377
|
throwIfCancellationRequested(config);
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15378
|
+
response.data = transformData.call(config, config.transformResponse, response);
|
|
15379
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
15380
|
+
return response;
|
|
15381
|
+
},
|
|
15382
|
+
function onAdapterRejection(reason) {
|
|
15383
|
+
if (!isCancel(reason)) {
|
|
15384
|
+
throwIfCancellationRequested(config);
|
|
15385
|
+
if (reason && reason.response) {
|
|
15386
|
+
reason.response.data = transformData.call(
|
|
15387
|
+
config,
|
|
15388
|
+
config.transformResponse,
|
|
15389
|
+
reason.response
|
|
15390
|
+
);
|
|
15391
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
15392
|
+
}
|
|
15329
15393
|
}
|
|
15394
|
+
return Promise.reject(reason);
|
|
15330
15395
|
}
|
|
15331
|
-
|
|
15332
|
-
});
|
|
15396
|
+
);
|
|
15333
15397
|
}
|
|
15334
15398
|
var validators$1 = {};
|
|
15335
15399
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
@@ -15380,7 +15444,10 @@ var require_axios = __commonJS({
|
|
|
15380
15444
|
const value = options[opt];
|
|
15381
15445
|
const result = value === void 0 || validator2(value, opt, options);
|
|
15382
15446
|
if (result !== true) {
|
|
15383
|
-
throw new AxiosError$1(
|
|
15447
|
+
throw new AxiosError$1(
|
|
15448
|
+
"option " + opt + " must be " + result,
|
|
15449
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE
|
|
15450
|
+
);
|
|
15384
15451
|
}
|
|
15385
15452
|
continue;
|
|
15386
15453
|
}
|
|
@@ -15440,12 +15507,16 @@ var require_axios = __commonJS({
|
|
|
15440
15507
|
config = mergeConfig(this.defaults, config);
|
|
15441
15508
|
const { transitional, paramsSerializer, headers } = config;
|
|
15442
15509
|
if (transitional !== void 0) {
|
|
15443
|
-
validator.assertOptions(
|
|
15444
|
-
|
|
15445
|
-
|
|
15446
|
-
|
|
15447
|
-
|
|
15448
|
-
|
|
15510
|
+
validator.assertOptions(
|
|
15511
|
+
transitional,
|
|
15512
|
+
{
|
|
15513
|
+
silentJSONParsing: validators.transitional(validators.boolean),
|
|
15514
|
+
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
15515
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
15516
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
|
|
15517
|
+
},
|
|
15518
|
+
false
|
|
15519
|
+
);
|
|
15449
15520
|
}
|
|
15450
15521
|
if (paramsSerializer != null) {
|
|
15451
15522
|
if (utils$1.isFunction(paramsSerializer)) {
|
|
@@ -15453,10 +15524,14 @@ var require_axios = __commonJS({
|
|
|
15453
15524
|
serialize: paramsSerializer
|
|
15454
15525
|
};
|
|
15455
15526
|
} else {
|
|
15456
|
-
validator.assertOptions(
|
|
15457
|
-
|
|
15458
|
-
|
|
15459
|
-
|
|
15527
|
+
validator.assertOptions(
|
|
15528
|
+
paramsSerializer,
|
|
15529
|
+
{
|
|
15530
|
+
encode: validators.function,
|
|
15531
|
+
serialize: validators.function
|
|
15532
|
+
},
|
|
15533
|
+
true
|
|
15534
|
+
);
|
|
15460
15535
|
}
|
|
15461
15536
|
}
|
|
15462
15537
|
if (config.allowAbsoluteUrls !== void 0) ;
|
|
@@ -15465,21 +15540,19 @@ var require_axios = __commonJS({
|
|
|
15465
15540
|
} else {
|
|
15466
15541
|
config.allowAbsoluteUrls = true;
|
|
15467
15542
|
}
|
|
15468
|
-
validator.assertOptions(
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15474
|
-
|
|
15475
|
-
headers[config.method]
|
|
15476
|
-
);
|
|
15477
|
-
headers && utils$1.forEach(
|
|
15478
|
-
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
15479
|
-
(method) => {
|
|
15480
|
-
delete headers[method];
|
|
15481
|
-
}
|
|
15543
|
+
validator.assertOptions(
|
|
15544
|
+
config,
|
|
15545
|
+
{
|
|
15546
|
+
baseUrl: validators.spelling("baseURL"),
|
|
15547
|
+
withXsrfToken: validators.spelling("withXSRFToken")
|
|
15548
|
+
},
|
|
15549
|
+
true
|
|
15482
15550
|
);
|
|
15551
|
+
config.method = (config.method || this.defaults.method || "get").toLowerCase();
|
|
15552
|
+
let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
|
|
15553
|
+
headers && utils$1.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (method) => {
|
|
15554
|
+
delete headers[method];
|
|
15555
|
+
});
|
|
15483
15556
|
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
15484
15557
|
const requestInterceptorChain = [];
|
|
15485
15558
|
let synchronousRequestInterceptors = true;
|
|
@@ -15546,24 +15619,28 @@ var require_axios = __commonJS({
|
|
|
15546
15619
|
};
|
|
15547
15620
|
utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoData(method) {
|
|
15548
15621
|
Axios.prototype[method] = function(url2, config) {
|
|
15549
|
-
return this.request(
|
|
15550
|
-
|
|
15551
|
-
|
|
15552
|
-
|
|
15553
|
-
|
|
15622
|
+
return this.request(
|
|
15623
|
+
mergeConfig(config || {}, {
|
|
15624
|
+
method,
|
|
15625
|
+
url: url2,
|
|
15626
|
+
data: (config || {}).data
|
|
15627
|
+
})
|
|
15628
|
+
);
|
|
15554
15629
|
};
|
|
15555
15630
|
});
|
|
15556
15631
|
utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method) {
|
|
15557
15632
|
function generateHTTPMethod(isForm) {
|
|
15558
15633
|
return function httpMethod(url2, data, config) {
|
|
15559
|
-
return this.request(
|
|
15560
|
-
|
|
15561
|
-
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
|
|
15634
|
+
return this.request(
|
|
15635
|
+
mergeConfig(config || {}, {
|
|
15636
|
+
method,
|
|
15637
|
+
headers: isForm ? {
|
|
15638
|
+
"Content-Type": "multipart/form-data"
|
|
15639
|
+
} : {},
|
|
15640
|
+
url: url2,
|
|
15641
|
+
data
|
|
15642
|
+
})
|
|
15643
|
+
);
|
|
15567
15644
|
};
|
|
15568
15645
|
}
|
|
15569
15646
|
Axios.prototype[method] = generateHTTPMethod();
|
|
@@ -16695,33 +16772,6 @@ var require_p_retry = __commonJS({
|
|
|
16695
16772
|
var require_file_upload = __commonJS({
|
|
16696
16773
|
"node_modules/@slack/web-api/dist/file-upload.js"(exports2) {
|
|
16697
16774
|
"use strict";
|
|
16698
|
-
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
16699
|
-
function adopt(value) {
|
|
16700
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
16701
|
-
resolve(value);
|
|
16702
|
-
});
|
|
16703
|
-
}
|
|
16704
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
16705
|
-
function fulfilled(value) {
|
|
16706
|
-
try {
|
|
16707
|
-
step(generator.next(value));
|
|
16708
|
-
} catch (e) {
|
|
16709
|
-
reject(e);
|
|
16710
|
-
}
|
|
16711
|
-
}
|
|
16712
|
-
function rejected(value) {
|
|
16713
|
-
try {
|
|
16714
|
-
step(generator["throw"](value));
|
|
16715
|
-
} catch (e) {
|
|
16716
|
-
reject(e);
|
|
16717
|
-
}
|
|
16718
|
-
}
|
|
16719
|
-
function step(result) {
|
|
16720
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
16721
|
-
}
|
|
16722
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
16723
|
-
});
|
|
16724
|
-
};
|
|
16725
16775
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16726
16776
|
exports2.getFileUploadJob = getFileUploadJob;
|
|
16727
16777
|
exports2.getMultipleFileUploadJobs = getMultipleFileUploadJobs;
|
|
@@ -16749,94 +16799,88 @@ var require_file_upload = __commonJS({
|
|
|
16749
16799
|
var node_fs_1 = require("node:fs");
|
|
16750
16800
|
var node_stream_1 = require("node:stream");
|
|
16751
16801
|
var errors_1 = require_errors();
|
|
16752
|
-
function getFileUploadJob(options, logger) {
|
|
16753
|
-
|
|
16754
|
-
|
|
16755
|
-
|
|
16756
|
-
|
|
16757
|
-
|
|
16758
|
-
|
|
16759
|
-
|
|
16760
|
-
|
|
16761
|
-
|
|
16762
|
-
|
|
16763
|
-
|
|
16764
|
-
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
|
|
16771
|
-
|
|
16772
|
-
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16776
|
-
|
|
16777
|
-
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
|
|
16788
|
-
});
|
|
16802
|
+
async function getFileUploadJob(options, logger) {
|
|
16803
|
+
var _a, _b, _c, _d;
|
|
16804
|
+
warnIfLegacyFileType(options, logger);
|
|
16805
|
+
warnIfChannels(options, logger);
|
|
16806
|
+
errorIfChannelsCsv(options);
|
|
16807
|
+
const fileName = warnIfMissingOrInvalidFileNameAndDefault(options, logger);
|
|
16808
|
+
const fileData = await getFileData(options);
|
|
16809
|
+
const fileDataBytesLength = getFileDataLength(fileData);
|
|
16810
|
+
const fileUploadJob = {
|
|
16811
|
+
// supplied by user
|
|
16812
|
+
alt_text: options.alt_text,
|
|
16813
|
+
blocks: options.blocks,
|
|
16814
|
+
channel_id: (_a = options.channels) !== null && _a !== void 0 ? _a : options.channel_id,
|
|
16815
|
+
filename: (_b = options.filename) !== null && _b !== void 0 ? _b : fileName,
|
|
16816
|
+
initial_comment: options.initial_comment,
|
|
16817
|
+
snippet_type: options.snippet_type,
|
|
16818
|
+
title: (_d = (_c = options.title) !== null && _c !== void 0 ? _c : options.filename) !== null && _d !== void 0 ? _d : fileName,
|
|
16819
|
+
// default title to filename unless otherwise specified
|
|
16820
|
+
// calculated
|
|
16821
|
+
data: fileData,
|
|
16822
|
+
length: fileDataBytesLength
|
|
16823
|
+
};
|
|
16824
|
+
if ("thread_ts" in options) {
|
|
16825
|
+
fileUploadJob.thread_ts = options.thread_ts;
|
|
16826
|
+
}
|
|
16827
|
+
if ("token" in options) {
|
|
16828
|
+
fileUploadJob.token = options.token;
|
|
16829
|
+
}
|
|
16830
|
+
if ("content" in options) {
|
|
16831
|
+
return Object.assign({ content: options.content }, fileUploadJob);
|
|
16832
|
+
}
|
|
16833
|
+
if ("file" in options) {
|
|
16834
|
+
return Object.assign({ file: options.file }, fileUploadJob);
|
|
16835
|
+
}
|
|
16836
|
+
throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
|
|
16789
16837
|
}
|
|
16790
|
-
function getMultipleFileUploadJobs(options, logger) {
|
|
16791
|
-
|
|
16792
|
-
|
|
16793
|
-
|
|
16794
|
-
|
|
16795
|
-
|
|
16796
|
-
|
|
16797
|
-
|
|
16798
|
-
|
|
16799
|
-
|
|
16800
|
-
|
|
16801
|
-
|
|
16802
|
-
|
|
16803
|
-
|
|
16804
|
-
|
|
16805
|
-
|
|
16806
|
-
|
|
16807
|
-
|
|
16808
|
-
|
|
16809
|
-
|
|
16810
|
-
|
|
16811
|
-
|
|
16812
|
-
|
|
16813
|
-
|
|
16814
|
-
throw new Error(buildFilesUploadMissingMessage());
|
|
16815
|
-
});
|
|
16838
|
+
async function getMultipleFileUploadJobs(options, logger) {
|
|
16839
|
+
if ("file_uploads" in options) {
|
|
16840
|
+
return Promise.all(options.file_uploads.map((upload) => {
|
|
16841
|
+
const { blocks, channel_id, channels, initial_comment, thread_ts } = upload;
|
|
16842
|
+
if (blocks || channel_id || channels || initial_comment || thread_ts) {
|
|
16843
|
+
throw (0, errors_1.errorWithCode)(new Error(buildInvalidFilesUploadParamError()), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
|
|
16844
|
+
}
|
|
16845
|
+
const uploadJobArgs = Object.assign(Object.assign({}, upload), { blocks: options.blocks, channels: options.channels, channel_id: options.channel_id, initial_comment: options.initial_comment });
|
|
16846
|
+
if ("thread_ts" in options) {
|
|
16847
|
+
uploadJobArgs.thread_ts = options.thread_ts;
|
|
16848
|
+
}
|
|
16849
|
+
if ("token" in options) {
|
|
16850
|
+
uploadJobArgs.token = options.token;
|
|
16851
|
+
}
|
|
16852
|
+
if ("content" in upload) {
|
|
16853
|
+
return getFileUploadJob(Object.assign({ content: upload.content }, uploadJobArgs), logger);
|
|
16854
|
+
}
|
|
16855
|
+
if ("file" in upload) {
|
|
16856
|
+
return getFileUploadJob(Object.assign({ file: upload.file }, uploadJobArgs), logger);
|
|
16857
|
+
}
|
|
16858
|
+
throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
|
|
16859
|
+
}));
|
|
16860
|
+
}
|
|
16861
|
+
throw new Error(buildFilesUploadMissingMessage());
|
|
16816
16862
|
}
|
|
16817
|
-
function getFileData(options) {
|
|
16818
|
-
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
|
|
16822
|
-
|
|
16823
|
-
|
|
16824
|
-
|
|
16825
|
-
|
|
16826
|
-
|
|
16827
|
-
|
|
16828
|
-
}
|
|
16829
|
-
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);
|
|
16830
|
-
}
|
|
16863
|
+
async function getFileData(options) {
|
|
16864
|
+
errorIfInvalidOrMissingFileData(options);
|
|
16865
|
+
if ("file" in options) {
|
|
16866
|
+
const { file } = options;
|
|
16867
|
+
if (Buffer.isBuffer(file))
|
|
16868
|
+
return file;
|
|
16869
|
+
if (typeof file === "string") {
|
|
16870
|
+
try {
|
|
16871
|
+
const dataBuffer = (0, node_fs_1.readFileSync)(file);
|
|
16872
|
+
return dataBuffer;
|
|
16873
|
+
} catch (_err) {
|
|
16874
|
+
throw (0, errors_1.errorWithCode)(new Error(`Unable to resolve file data for ${file}. Please supply a filepath string, or binary data Buffer or String directly.`), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
|
|
16831
16875
|
}
|
|
16832
|
-
const data = yield getFileDataAsStream(file);
|
|
16833
|
-
if (data)
|
|
16834
|
-
return data;
|
|
16835
16876
|
}
|
|
16836
|
-
|
|
16837
|
-
|
|
16838
|
-
|
|
16839
|
-
}
|
|
16877
|
+
const data = await getFileDataAsStream(file);
|
|
16878
|
+
if (data)
|
|
16879
|
+
return data;
|
|
16880
|
+
}
|
|
16881
|
+
if ("content" in options)
|
|
16882
|
+
return Buffer.from(options.content);
|
|
16883
|
+
throw (0, errors_1.errorWithCode)(new Error("There was an issue getting the file data for the file or content supplied"), errors_1.ErrorCode.FileUploadReadFileDataError);
|
|
16840
16884
|
}
|
|
16841
16885
|
function getFileDataLength(data) {
|
|
16842
16886
|
if (data) {
|
|
@@ -16844,25 +16888,23 @@ var require_file_upload = __commonJS({
|
|
|
16844
16888
|
}
|
|
16845
16889
|
throw (0, errors_1.errorWithCode)(new Error(buildFileSizeErrorMsg()), errors_1.ErrorCode.FileUploadReadFileDataError);
|
|
16846
16890
|
}
|
|
16847
|
-
function getFileDataAsStream(readable) {
|
|
16848
|
-
|
|
16849
|
-
|
|
16850
|
-
|
|
16851
|
-
readable.
|
|
16852
|
-
|
|
16853
|
-
|
|
16854
|
-
|
|
16855
|
-
|
|
16856
|
-
|
|
16857
|
-
|
|
16858
|
-
|
|
16859
|
-
|
|
16860
|
-
|
|
16861
|
-
|
|
16862
|
-
|
|
16863
|
-
|
|
16864
|
-
}
|
|
16865
|
-
});
|
|
16891
|
+
async function getFileDataAsStream(readable) {
|
|
16892
|
+
const chunks = [];
|
|
16893
|
+
return new Promise((resolve, reject) => {
|
|
16894
|
+
readable.on("readable", () => {
|
|
16895
|
+
let chunk = readable.read();
|
|
16896
|
+
while (chunk !== null) {
|
|
16897
|
+
chunks.push(chunk);
|
|
16898
|
+
chunk = readable.read();
|
|
16899
|
+
}
|
|
16900
|
+
});
|
|
16901
|
+
readable.on("end", () => {
|
|
16902
|
+
if (chunks.length > 0) {
|
|
16903
|
+
const content = Buffer.concat(chunks);
|
|
16904
|
+
resolve(content);
|
|
16905
|
+
} else {
|
|
16906
|
+
reject(Error("No data in supplied file"));
|
|
16907
|
+
}
|
|
16866
16908
|
});
|
|
16867
16909
|
});
|
|
16868
16910
|
}
|
|
@@ -18225,7 +18267,16 @@ var require_methods = __commonJS({
|
|
|
18225
18267
|
* @description Uninstalls your app from a workspace.
|
|
18226
18268
|
* @see {@link https://docs.slack.dev/reference/methods/apps.uninstall `apps.uninstall` API reference}.
|
|
18227
18269
|
*/
|
|
18228
|
-
uninstall: bindApiCall(this, "apps.uninstall")
|
|
18270
|
+
uninstall: bindApiCall(this, "apps.uninstall"),
|
|
18271
|
+
user: {
|
|
18272
|
+
connection: {
|
|
18273
|
+
/**
|
|
18274
|
+
* @description Updates the connection status between a user and an app.
|
|
18275
|
+
* @see {@link https://docs.slack.dev/reference/methods/apps.user.connection.update `apps.user.connection.update` API reference}.
|
|
18276
|
+
*/
|
|
18277
|
+
update: bindApiCall(this, "apps.user.connection.update")
|
|
18278
|
+
}
|
|
18279
|
+
}
|
|
18229
18280
|
};
|
|
18230
18281
|
this.auth = {
|
|
18231
18282
|
/**
|
|
@@ -19230,33 +19281,6 @@ var require_WebClient = __commonJS({
|
|
|
19230
19281
|
return result;
|
|
19231
19282
|
};
|
|
19232
19283
|
})();
|
|
19233
|
-
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
19234
|
-
function adopt(value) {
|
|
19235
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
19236
|
-
resolve(value);
|
|
19237
|
-
});
|
|
19238
|
-
}
|
|
19239
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
19240
|
-
function fulfilled(value) {
|
|
19241
|
-
try {
|
|
19242
|
-
step(generator.next(value));
|
|
19243
|
-
} catch (e) {
|
|
19244
|
-
reject(e);
|
|
19245
|
-
}
|
|
19246
|
-
}
|
|
19247
|
-
function rejected(value) {
|
|
19248
|
-
try {
|
|
19249
|
-
step(generator["throw"](value));
|
|
19250
|
-
} catch (e) {
|
|
19251
|
-
reject(e);
|
|
19252
|
-
}
|
|
19253
|
-
}
|
|
19254
|
-
function step(result) {
|
|
19255
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
19256
|
-
}
|
|
19257
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19258
|
-
});
|
|
19259
|
-
};
|
|
19260
19284
|
var __await = exports2 && exports2.__await || function(v) {
|
|
19261
19285
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
19262
19286
|
};
|
|
@@ -19434,54 +19458,52 @@ var require_WebClient = __commonJS({
|
|
|
19434
19458
|
* @param method - the Web API method to call {@link https://docs.slack.dev/reference/methods}
|
|
19435
19459
|
* @param options - options
|
|
19436
19460
|
*/
|
|
19437
|
-
apiCall(
|
|
19438
|
-
|
|
19439
|
-
|
|
19440
|
-
|
|
19441
|
-
|
|
19442
|
-
|
|
19443
|
-
|
|
19444
|
-
|
|
19445
|
-
|
|
19446
|
-
|
|
19447
|
-
|
|
19448
|
-
|
|
19449
|
-
|
|
19450
|
-
|
|
19451
|
-
|
|
19452
|
-
|
|
19453
|
-
|
|
19454
|
-
|
|
19455
|
-
|
|
19456
|
-
|
|
19457
|
-
|
|
19458
|
-
|
|
19459
|
-
|
|
19460
|
-
|
|
19461
|
-
|
|
19462
|
-
|
|
19463
|
-
|
|
19464
|
-
|
|
19465
|
-
|
|
19466
|
-
|
|
19467
|
-
|
|
19468
|
-
|
|
19469
|
-
|
|
19470
|
-
|
|
19471
|
-
this.logger.warn(warnMatch[1].trim());
|
|
19472
|
-
}
|
|
19461
|
+
async apiCall(method, options = {}) {
|
|
19462
|
+
this.logger.debug(`apiCall('${method}') start`);
|
|
19463
|
+
warnDeprecations(method, this.logger);
|
|
19464
|
+
warnIfFallbackIsMissing(method, this.logger, options);
|
|
19465
|
+
warnIfThreadTsIsNotString(method, this.logger, options);
|
|
19466
|
+
if (typeof options === "string" || typeof options === "number" || typeof options === "boolean") {
|
|
19467
|
+
throw new TypeError(`Expected an options argument but instead received a ${typeof options}`);
|
|
19468
|
+
}
|
|
19469
|
+
(0, file_upload_1.warnIfNotUsingFilesUploadV2)(method, this.logger);
|
|
19470
|
+
if (method === "files.uploadV2")
|
|
19471
|
+
return this.filesUploadV2(options);
|
|
19472
|
+
const headers = {};
|
|
19473
|
+
if (options.token)
|
|
19474
|
+
headers.Authorization = `Bearer ${options.token}`;
|
|
19475
|
+
const url = this.deriveRequestUrl(method);
|
|
19476
|
+
const response = await this.makeRequest(url, Object.assign({ team_id: this.teamId }, options), headers);
|
|
19477
|
+
const result = await this.buildResult(response);
|
|
19478
|
+
this.logger.debug(`http request result: ${JSON.stringify(result)}`);
|
|
19479
|
+
if (result.response_metadata !== void 0 && result.response_metadata.warnings !== void 0) {
|
|
19480
|
+
result.response_metadata.warnings.forEach(this.logger.warn.bind(this.logger));
|
|
19481
|
+
}
|
|
19482
|
+
if (result.response_metadata !== void 0 && result.response_metadata.messages !== void 0) {
|
|
19483
|
+
for (const msg of result.response_metadata.messages) {
|
|
19484
|
+
const errReg = /\[ERROR\](.*)/;
|
|
19485
|
+
const warnReg = /\[WARN\](.*)/;
|
|
19486
|
+
if (errReg.test(msg)) {
|
|
19487
|
+
const errMatch = msg.match(errReg);
|
|
19488
|
+
if (errMatch != null) {
|
|
19489
|
+
this.logger.error(errMatch[1].trim());
|
|
19490
|
+
}
|
|
19491
|
+
} else if (warnReg.test(msg)) {
|
|
19492
|
+
const warnMatch = msg.match(warnReg);
|
|
19493
|
+
if (warnMatch != null) {
|
|
19494
|
+
this.logger.warn(warnMatch[1].trim());
|
|
19473
19495
|
}
|
|
19474
19496
|
}
|
|
19475
19497
|
}
|
|
19476
|
-
|
|
19477
|
-
|
|
19478
|
-
|
|
19479
|
-
|
|
19480
|
-
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19498
|
+
}
|
|
19499
|
+
if (!result.ok && response.headers["content-type"] !== "application/gzip") {
|
|
19500
|
+
throw (0, errors_1.platformErrorFromResult)(result);
|
|
19501
|
+
}
|
|
19502
|
+
if ("ok" in result && result.ok === false) {
|
|
19503
|
+
throw (0, errors_1.platformErrorFromResult)(result);
|
|
19504
|
+
}
|
|
19505
|
+
this.logger.debug(`apiCall('${method}') end`);
|
|
19506
|
+
return result;
|
|
19485
19507
|
}
|
|
19486
19508
|
paginate(method, options, shouldStop, reduce) {
|
|
19487
19509
|
const pageSize = (() => {
|
|
@@ -19513,10 +19535,10 @@ var require_WebClient = __commonJS({
|
|
|
19513
19535
|
}
|
|
19514
19536
|
const pageReducer = reduce !== void 0 ? reduce : noopPageReducer;
|
|
19515
19537
|
let index = 0;
|
|
19516
|
-
return (() =>
|
|
19538
|
+
return (async () => {
|
|
19517
19539
|
var _a, e_1, _b, _c;
|
|
19518
19540
|
const pageIterator = generatePages.call(this);
|
|
19519
|
-
const firstIteratorResult =
|
|
19541
|
+
const firstIteratorResult = await pageIterator.next(void 0);
|
|
19520
19542
|
const firstPage = firstIteratorResult.value;
|
|
19521
19543
|
let accumulator = pageReducer(void 0, firstPage, index);
|
|
19522
19544
|
index += 1;
|
|
@@ -19524,7 +19546,7 @@ var require_WebClient = __commonJS({
|
|
|
19524
19546
|
return accumulator;
|
|
19525
19547
|
}
|
|
19526
19548
|
try {
|
|
19527
|
-
for (var _d = true, pageIterator_1 = __asyncValues(pageIterator), pageIterator_1_1; pageIterator_1_1 =
|
|
19549
|
+
for (var _d = true, pageIterator_1 = __asyncValues(pageIterator), pageIterator_1_1; pageIterator_1_1 = await pageIterator_1.next(), _a = pageIterator_1_1.done, !_a; _d = true) {
|
|
19528
19550
|
_c = pageIterator_1_1.value;
|
|
19529
19551
|
_d = false;
|
|
19530
19552
|
const page = _c;
|
|
@@ -19538,13 +19560,13 @@ var require_WebClient = __commonJS({
|
|
|
19538
19560
|
e_1 = { error: e_1_1 };
|
|
19539
19561
|
} finally {
|
|
19540
19562
|
try {
|
|
19541
|
-
if (!_d && !_a && (_b = pageIterator_1.return))
|
|
19563
|
+
if (!_d && !_a && (_b = pageIterator_1.return)) await _b.call(pageIterator_1);
|
|
19542
19564
|
} finally {
|
|
19543
19565
|
if (e_1) throw e_1.error;
|
|
19544
19566
|
}
|
|
19545
19567
|
}
|
|
19546
19568
|
return accumulator;
|
|
19547
|
-
})
|
|
19569
|
+
})();
|
|
19548
19570
|
}
|
|
19549
19571
|
/**
|
|
19550
19572
|
* Stream markdown text into a conversation.
|
|
@@ -19592,19 +19614,17 @@ var require_WebClient = __commonJS({
|
|
|
19592
19614
|
* **#3**: Complete uploads {@link https://docs.slack.dev/reference/methods/files.completeuploadexternal files.completeUploadExternal}
|
|
19593
19615
|
* @param options
|
|
19594
19616
|
*/
|
|
19595
|
-
filesUploadV2(options) {
|
|
19596
|
-
|
|
19597
|
-
|
|
19598
|
-
|
|
19599
|
-
|
|
19600
|
-
|
|
19601
|
-
|
|
19602
|
-
fileUploads[idx].file_id = res.file_id;
|
|
19603
|
-
});
|
|
19604
|
-
yield this.postFileUploadsToExternalURL(fileUploads, options);
|
|
19605
|
-
const completion = yield this.completeFileUploads(fileUploads);
|
|
19606
|
-
return { ok: true, files: completion };
|
|
19617
|
+
async filesUploadV2(options) {
|
|
19618
|
+
this.logger.debug("files.uploadV2() start");
|
|
19619
|
+
const fileUploads = await this.getAllFileUploads(options);
|
|
19620
|
+
const fileUploadsURLRes = await this.fetchAllUploadURLExternal(fileUploads);
|
|
19621
|
+
fileUploadsURLRes.forEach((res, idx) => {
|
|
19622
|
+
fileUploads[idx].upload_url = res.upload_url;
|
|
19623
|
+
fileUploads[idx].file_id = res.file_id;
|
|
19607
19624
|
});
|
|
19625
|
+
await this.postFileUploadsToExternalURL(fileUploads, options);
|
|
19626
|
+
const completion = await this.completeFileUploads(fileUploads);
|
|
19627
|
+
return { ok: true, files: completion };
|
|
19608
19628
|
}
|
|
19609
19629
|
/**
|
|
19610
19630
|
* For each file submitted with this method, submits filenames
|
|
@@ -19612,132 +19632,122 @@ var require_WebClient = __commonJS({
|
|
|
19612
19632
|
* which to send the file data to and an id for the file
|
|
19613
19633
|
* @param fileUploads
|
|
19614
19634
|
*/
|
|
19615
|
-
fetchAllUploadURLExternal(fileUploads) {
|
|
19616
|
-
return
|
|
19617
|
-
|
|
19618
|
-
|
|
19619
|
-
|
|
19620
|
-
|
|
19621
|
-
|
|
19622
|
-
|
|
19623
|
-
|
|
19624
|
-
|
|
19625
|
-
|
|
19626
|
-
|
|
19627
|
-
|
|
19628
|
-
}));
|
|
19629
|
-
});
|
|
19635
|
+
async fetchAllUploadURLExternal(fileUploads) {
|
|
19636
|
+
return Promise.all(fileUploads.map((upload) => {
|
|
19637
|
+
const options = {
|
|
19638
|
+
filename: upload.filename,
|
|
19639
|
+
length: upload.length,
|
|
19640
|
+
alt_text: upload.alt_text,
|
|
19641
|
+
snippet_type: upload.snippet_type
|
|
19642
|
+
};
|
|
19643
|
+
if ("token" in upload) {
|
|
19644
|
+
options.token = upload.token;
|
|
19645
|
+
}
|
|
19646
|
+
return this.files.getUploadURLExternal(options);
|
|
19647
|
+
}));
|
|
19630
19648
|
}
|
|
19631
19649
|
/**
|
|
19632
19650
|
* Complete uploads.
|
|
19633
19651
|
* @param fileUploads
|
|
19634
19652
|
* @returns
|
|
19635
19653
|
*/
|
|
19636
|
-
completeFileUploads(fileUploads) {
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
return Promise.all(toComplete.map((job) => this.files.completeUploadExternal(job)));
|
|
19640
|
-
});
|
|
19654
|
+
async completeFileUploads(fileUploads) {
|
|
19655
|
+
const toComplete = Object.values((0, file_upload_1.getAllFileUploadsToComplete)(fileUploads));
|
|
19656
|
+
return Promise.all(toComplete.map((job) => this.files.completeUploadExternal(job)));
|
|
19641
19657
|
}
|
|
19642
19658
|
/**
|
|
19643
19659
|
* for each returned file upload URL, upload corresponding file
|
|
19644
19660
|
* @param fileUploads
|
|
19645
19661
|
* @returns
|
|
19646
19662
|
*/
|
|
19647
|
-
postFileUploadsToExternalURL(fileUploads, options) {
|
|
19648
|
-
return
|
|
19649
|
-
|
|
19650
|
-
|
|
19651
|
-
|
|
19652
|
-
|
|
19653
|
-
|
|
19654
|
-
|
|
19655
|
-
|
|
19656
|
-
|
|
19657
|
-
|
|
19658
|
-
|
|
19659
|
-
|
|
19660
|
-
return Promise.reject(Error(`Failed to upload file (id:${file_id}, filename: ${filename})`));
|
|
19661
|
-
}
|
|
19662
|
-
const returnData = { ok: true, body: uploadRes.data };
|
|
19663
|
-
return Promise.resolve(returnData);
|
|
19663
|
+
async postFileUploadsToExternalURL(fileUploads, options) {
|
|
19664
|
+
return Promise.all(fileUploads.map(async (upload) => {
|
|
19665
|
+
const { upload_url, file_id, filename, data } = upload;
|
|
19666
|
+
const body = data;
|
|
19667
|
+
if (upload_url) {
|
|
19668
|
+
const headers = {};
|
|
19669
|
+
if (options.token)
|
|
19670
|
+
headers.Authorization = `Bearer ${options.token}`;
|
|
19671
|
+
const uploadRes = await this.makeRequest(upload_url, {
|
|
19672
|
+
body
|
|
19673
|
+
}, headers);
|
|
19674
|
+
if (uploadRes.status !== 200) {
|
|
19675
|
+
return Promise.reject(Error(`Failed to upload file (id:${file_id}, filename: ${filename})`));
|
|
19664
19676
|
}
|
|
19665
|
-
|
|
19666
|
-
|
|
19667
|
-
|
|
19677
|
+
const returnData = { ok: true, body: uploadRes.data };
|
|
19678
|
+
return Promise.resolve(returnData);
|
|
19679
|
+
}
|
|
19680
|
+
return Promise.reject(Error(`No upload url found for file (id: ${file_id}, filename: ${filename}`));
|
|
19681
|
+
}));
|
|
19668
19682
|
}
|
|
19669
19683
|
/**
|
|
19670
19684
|
* @param options All file uploads arguments
|
|
19671
19685
|
* @returns An array of file upload entries
|
|
19672
19686
|
*/
|
|
19673
|
-
getAllFileUploads(options) {
|
|
19674
|
-
|
|
19675
|
-
|
|
19676
|
-
|
|
19677
|
-
|
|
19678
|
-
|
|
19679
|
-
|
|
19680
|
-
|
|
19681
|
-
|
|
19682
|
-
return fileUploads;
|
|
19683
|
-
});
|
|
19687
|
+
async getAllFileUploads(options) {
|
|
19688
|
+
let fileUploads = [];
|
|
19689
|
+
if ("file" in options || "content" in options) {
|
|
19690
|
+
fileUploads.push(await (0, file_upload_1.getFileUploadJob)(options, this.logger));
|
|
19691
|
+
}
|
|
19692
|
+
if ("file_uploads" in options) {
|
|
19693
|
+
fileUploads = fileUploads.concat(await (0, file_upload_1.getMultipleFileUploadJobs)(options, this.logger));
|
|
19694
|
+
}
|
|
19695
|
+
return fileUploads;
|
|
19684
19696
|
}
|
|
19685
19697
|
/**
|
|
19686
19698
|
* Low-level function to make a single API request. handles queuing, retries, and http-level errors
|
|
19687
19699
|
*/
|
|
19688
|
-
makeRequest(
|
|
19689
|
-
|
|
19690
|
-
|
|
19691
|
-
|
|
19692
|
-
|
|
19693
|
-
|
|
19694
|
-
|
|
19695
|
-
|
|
19696
|
-
|
|
19697
|
-
|
|
19700
|
+
async makeRequest(url, body, headers = {}) {
|
|
19701
|
+
const task = () => this.requestQueue.add(async () => {
|
|
19702
|
+
try {
|
|
19703
|
+
const config = Object.assign({ headers }, this.tlsConfig);
|
|
19704
|
+
if (url.endsWith("admin.analytics.getFile")) {
|
|
19705
|
+
config.responseType = "arraybuffer";
|
|
19706
|
+
}
|
|
19707
|
+
if (url.endsWith("apps.event.authorizations.list")) {
|
|
19708
|
+
body.token = void 0;
|
|
19709
|
+
}
|
|
19710
|
+
this.logger.debug(`http request url: ${url}`);
|
|
19711
|
+
this.logger.debug(`http request body: ${JSON.stringify(redact(body))}`);
|
|
19712
|
+
let allHeaders = Object.keys(this.axios.defaults.headers).reduce((acc, cur) => {
|
|
19713
|
+
if (!axiosHeaderPropsToIgnore.includes(cur)) {
|
|
19714
|
+
acc[cur] = this.axios.defaults.headers[cur];
|
|
19698
19715
|
}
|
|
19699
|
-
|
|
19700
|
-
|
|
19701
|
-
|
|
19702
|
-
|
|
19703
|
-
|
|
19704
|
-
|
|
19705
|
-
|
|
19706
|
-
|
|
19707
|
-
|
|
19708
|
-
|
|
19709
|
-
|
|
19710
|
-
|
|
19711
|
-
if (response.status === 429) {
|
|
19712
|
-
const retrySec = parseRetryHeaders(response);
|
|
19713
|
-
if (retrySec !== void 0) {
|
|
19714
|
-
this.emit(WebClientEvent.RATE_LIMITED, retrySec, { url, body });
|
|
19715
|
-
if (this.rejectRateLimitedCalls) {
|
|
19716
|
-
throw new p_retry_1.AbortError((0, errors_1.rateLimitedErrorWithDelay)(retrySec));
|
|
19717
|
-
}
|
|
19718
|
-
this.logger.info(`API Call failed due to rate limiting. Will retry in ${retrySec} seconds.`);
|
|
19719
|
-
this.requestQueue.pause();
|
|
19720
|
-
yield (0, helpers_1.default)(retrySec * 1e3);
|
|
19721
|
-
this.requestQueue.start();
|
|
19722
|
-
throw new Error(`A rate limit was exceeded (url: ${url}, retry-after: ${retrySec})`);
|
|
19716
|
+
return acc;
|
|
19717
|
+
}, {});
|
|
19718
|
+
allHeaders = Object.assign(Object.assign(Object.assign({}, this.axios.defaults.headers.common), allHeaders), headers);
|
|
19719
|
+
this.logger.debug(`http request headers: ${JSON.stringify(redact(allHeaders))}`);
|
|
19720
|
+
const response = await this.axios.post(url, body, config);
|
|
19721
|
+
this.logger.debug("http response received");
|
|
19722
|
+
if (response.status === 429) {
|
|
19723
|
+
const retrySec = parseRetryHeaders(response);
|
|
19724
|
+
if (retrySec !== void 0) {
|
|
19725
|
+
this.emit(WebClientEvent.RATE_LIMITED, retrySec, { url, body });
|
|
19726
|
+
if (this.rejectRateLimitedCalls) {
|
|
19727
|
+
throw new p_retry_1.AbortError((0, errors_1.rateLimitedErrorWithDelay)(retrySec));
|
|
19723
19728
|
}
|
|
19724
|
-
|
|
19725
|
-
|
|
19726
|
-
|
|
19727
|
-
|
|
19728
|
-
|
|
19729
|
-
return response;
|
|
19730
|
-
} catch (error) {
|
|
19731
|
-
const e = error;
|
|
19732
|
-
this.logger.warn("http request failed", e.message);
|
|
19733
|
-
if (e.request) {
|
|
19734
|
-
throw (0, errors_1.requestErrorWithOriginal)(e, this.attachOriginalToWebAPIRequestError);
|
|
19729
|
+
this.logger.info(`API Call failed due to rate limiting. Will retry in ${retrySec} seconds.`);
|
|
19730
|
+
this.requestQueue.pause();
|
|
19731
|
+
await (0, helpers_1.default)(retrySec * 1e3);
|
|
19732
|
+
this.requestQueue.start();
|
|
19733
|
+
throw new Error(`A rate limit was exceeded (url: ${url}, retry-after: ${retrySec})`);
|
|
19735
19734
|
}
|
|
19736
|
-
throw
|
|
19735
|
+
throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers["retry-after"]})`));
|
|
19737
19736
|
}
|
|
19738
|
-
|
|
19739
|
-
|
|
19737
|
+
if (response.status !== 200) {
|
|
19738
|
+
throw (0, errors_1.httpErrorFromResponse)(response);
|
|
19739
|
+
}
|
|
19740
|
+
return response;
|
|
19741
|
+
} catch (error) {
|
|
19742
|
+
const e = error;
|
|
19743
|
+
this.logger.warn("http request failed", e.message);
|
|
19744
|
+
if (e.request) {
|
|
19745
|
+
throw (0, errors_1.requestErrorWithOriginal)(e, this.attachOriginalToWebAPIRequestError);
|
|
19746
|
+
}
|
|
19747
|
+
throw error;
|
|
19748
|
+
}
|
|
19740
19749
|
});
|
|
19750
|
+
return (0, p_retry_1.default)(task, this.retryConfig);
|
|
19741
19751
|
}
|
|
19742
19752
|
/**
|
|
19743
19753
|
* Get the complete request URL for the provided URL.
|
|
@@ -19819,59 +19829,57 @@ var require_WebClient = __commonJS({
|
|
|
19819
19829
|
* HTTP headers into the object.
|
|
19820
19830
|
* @param response - an http response
|
|
19821
19831
|
*/
|
|
19822
|
-
buildResult(response) {
|
|
19823
|
-
|
|
19824
|
-
|
|
19825
|
-
|
|
19826
|
-
|
|
19827
|
-
|
|
19828
|
-
|
|
19829
|
-
|
|
19830
|
-
|
|
19831
|
-
|
|
19832
|
-
|
|
19833
|
-
return resolve(buf.toString().split("\n"));
|
|
19834
|
-
});
|
|
19835
|
-
}).then((res) => res).catch((err) => {
|
|
19836
|
-
throw err;
|
|
19832
|
+
async buildResult(response) {
|
|
19833
|
+
let { data } = response;
|
|
19834
|
+
const isGzipResponse = response.headers["content-type"] === "application/gzip";
|
|
19835
|
+
if (isGzipResponse) {
|
|
19836
|
+
try {
|
|
19837
|
+
const unzippedData = await new Promise((resolve, reject) => {
|
|
19838
|
+
node_zlib_1.default.unzip(data, (err, buf) => {
|
|
19839
|
+
if (err) {
|
|
19840
|
+
return reject(err);
|
|
19841
|
+
}
|
|
19842
|
+
return resolve(buf.toString().split("\n"));
|
|
19837
19843
|
});
|
|
19838
|
-
|
|
19839
|
-
|
|
19840
|
-
|
|
19841
|
-
|
|
19842
|
-
|
|
19843
|
-
|
|
19844
|
+
}).then((res) => res).catch((err) => {
|
|
19845
|
+
throw err;
|
|
19846
|
+
});
|
|
19847
|
+
const fileData = [];
|
|
19848
|
+
if (Array.isArray(unzippedData)) {
|
|
19849
|
+
for (const dataset of unzippedData) {
|
|
19850
|
+
if (dataset && dataset.length > 0) {
|
|
19851
|
+
fileData.push(JSON.parse(dataset));
|
|
19844
19852
|
}
|
|
19845
19853
|
}
|
|
19846
|
-
data = { file_data: fileData };
|
|
19847
|
-
} catch (err) {
|
|
19848
|
-
data = { ok: false, error: err };
|
|
19849
19854
|
}
|
|
19850
|
-
|
|
19851
|
-
|
|
19852
|
-
|
|
19853
|
-
if (typeof data === "string") {
|
|
19854
|
-
try {
|
|
19855
|
-
data = JSON.parse(data);
|
|
19856
|
-
} catch (_) {
|
|
19857
|
-
data = { ok: false, error: data };
|
|
19858
|
-
}
|
|
19859
|
-
}
|
|
19860
|
-
if (data.response_metadata === void 0) {
|
|
19861
|
-
data.response_metadata = {};
|
|
19862
|
-
}
|
|
19863
|
-
if (response.headers["x-oauth-scopes"] !== void 0) {
|
|
19864
|
-
data.response_metadata.scopes = response.headers["x-oauth-scopes"].trim().split(/\s*,\s*/);
|
|
19865
|
-
}
|
|
19866
|
-
if (response.headers["x-accepted-oauth-scopes"] !== void 0) {
|
|
19867
|
-
data.response_metadata.acceptedScopes = response.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/);
|
|
19855
|
+
data = { file_data: fileData };
|
|
19856
|
+
} catch (err) {
|
|
19857
|
+
data = { ok: false, error: err };
|
|
19868
19858
|
}
|
|
19869
|
-
|
|
19870
|
-
|
|
19871
|
-
|
|
19859
|
+
} else if (!isGzipResponse && response.request.path === "/api/admin.analytics.getFile") {
|
|
19860
|
+
data = JSON.parse(new node_util_1.TextDecoder().decode(data));
|
|
19861
|
+
}
|
|
19862
|
+
if (typeof data === "string") {
|
|
19863
|
+
try {
|
|
19864
|
+
data = JSON.parse(data);
|
|
19865
|
+
} catch (_) {
|
|
19866
|
+
data = { ok: false, error: data };
|
|
19872
19867
|
}
|
|
19873
|
-
|
|
19874
|
-
|
|
19868
|
+
}
|
|
19869
|
+
if (data.response_metadata === void 0) {
|
|
19870
|
+
data.response_metadata = {};
|
|
19871
|
+
}
|
|
19872
|
+
if (response.headers["x-oauth-scopes"] !== void 0) {
|
|
19873
|
+
data.response_metadata.scopes = response.headers["x-oauth-scopes"].trim().split(/\s*,\s*/);
|
|
19874
|
+
}
|
|
19875
|
+
if (response.headers["x-accepted-oauth-scopes"] !== void 0) {
|
|
19876
|
+
data.response_metadata.acceptedScopes = response.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/);
|
|
19877
|
+
}
|
|
19878
|
+
const retrySec = parseRetryHeaders(response);
|
|
19879
|
+
if (retrySec !== void 0) {
|
|
19880
|
+
data.response_metadata.retryAfter = retrySec;
|
|
19881
|
+
}
|
|
19882
|
+
return data;
|
|
19875
19883
|
}
|
|
19876
19884
|
};
|
|
19877
19885
|
exports2.WebClient = WebClient2;
|
|
@@ -26694,5 +26702,5 @@ mime-types/index.js:
|
|
|
26694
26702
|
*)
|
|
26695
26703
|
|
|
26696
26704
|
axios/dist/node/axios.cjs:
|
|
26697
|
-
(*! Axios v1.13.
|
|
26705
|
+
(*! Axios v1.13.6 Copyright (c) 2026 Matt Zabriskie and contributors *)
|
|
26698
26706
|
*/
|