cloudstructs 0.12.7 → 0.12.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +5 -5
- package/assets/slack-textract/detect.lambda/index.js +437 -344
- package/assets/ssl-server-test/analyze.lambda/index.js +51 -31
- package/assets/toolkit-cleaner/clean.lambda/index.js +51 -31
- 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 +3 -3
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +101 -33
- 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 +101 -33
- 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/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -0
- 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/with-durable-execution.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +287 -3988
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +28 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
- package/node_modules/@aws-sdk/client-lambda/package.json +20 -20
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +32 -239
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/errors.js +56 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +161 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +32 -26
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +12 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/client-sso/package.json +18 -18
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +30 -50
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -50
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +20 -198
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +20 -347
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +21 -308
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
- package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
- 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 +1 -1
- 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/package.json +4 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +2 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +55 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
- package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
- package/node_modules/@slack/types/dist/chunk.js +3 -0
- package/node_modules/@slack/types/dist/chunk.js.map +1 -0
- package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
- package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.d.ts +1 -0
- package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.js +1 -0
- package/node_modules/@slack/types/dist/index.js.map +1 -1
- package/node_modules/@slack/types/package.json +8 -8
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +48 -12
- package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
- package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/index.js +3 -1
- package/node_modules/@slack/web-api/dist/index.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
- package/node_modules/@slack/web-api/dist/types/request/chat.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/child_process.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@slack/web-api/package.json +10 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +31 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/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/child_process.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@types/http-cache-semantics/README.md +1 -1
- package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
- package/node_modules/@types/http-cache-semantics/package.json +4 -3
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/axios/CHANGELOG.md +296 -239
- package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
- package/node_modules/axios/README.md +584 -447
- package/node_modules/axios/dist/axios.js +779 -897
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +4 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +353 -283
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +353 -283
- 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 +388 -315
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +22 -3
- package/node_modules/axios/index.d.ts +341 -116
- package/node_modules/axios/lib/adapters/README.md +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +2 -2
- package/node_modules/axios/lib/adapters/http.js +13 -10
- package/node_modules/axios/lib/adapters/xhr.js +2 -2
- package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
- package/node_modules/axios/lib/core/Axios.js +12 -3
- package/node_modules/axios/lib/core/AxiosError.js +65 -102
- package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
- package/node_modules/axios/lib/core/mergeConfig.js +24 -11
- package/node_modules/axios/lib/core/transformData.js +1 -1
- package/node_modules/axios/lib/defaults/transitional.js +2 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +7 -10
- package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
- package/node_modules/axios/lib/helpers/cookies.js +1 -1
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +5 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
- package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
- package/node_modules/axios/lib/helpers/spread.js +1 -1
- package/node_modules/axios/lib/utils.js +221 -140
- package/node_modules/axios/package.json +49 -68
- package/node_modules/bowser/README.md +72 -3
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +44 -6
- package/node_modules/bowser/package.json +10 -5
- package/node_modules/bowser/src/bowser.js +24 -8
- package/node_modules/bowser/src/constants.js +8 -0
- package/node_modules/bowser/src/parser-browsers.js +89 -0
- package/node_modules/bowser/src/parser-platforms.js +42 -0
- package/node_modules/bowser/src/parser.js +86 -5
- package/node_modules/semver/README.md +3 -2
- package/node_modules/semver/bin/semver.js +1 -1
- package/node_modules/semver/functions/diff.js +1 -1
- package/node_modules/semver/internal/re.js +2 -2
- package/node_modules/semver/package.json +4 -4
- package/node_modules/semver/ranges/subset.js +1 -1
- package/package.json +20 -20
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
- package/node_modules/bowser/CHANGELOG.md +0 -218
|
@@ -33,6 +33,7 @@ declare module "node:v8" {
|
|
|
33
33
|
total_global_handles_size: number;
|
|
34
34
|
used_global_handles_size: number;
|
|
35
35
|
external_memory: number;
|
|
36
|
+
total_allocated_bytes: number;
|
|
36
37
|
}
|
|
37
38
|
interface HeapCodeStatistics {
|
|
38
39
|
code_and_metadata_size: number;
|
|
@@ -93,6 +94,9 @@ declare module "node:v8" {
|
|
|
93
94
|
* `external_memory` The value of external\_memory is the memory size of array
|
|
94
95
|
* buffers and external strings.
|
|
95
96
|
*
|
|
97
|
+
* `total_allocated_bytes` The value of total allocated bytes since the Isolate
|
|
98
|
+
* creation
|
|
99
|
+
*
|
|
96
100
|
* ```js
|
|
97
101
|
* {
|
|
98
102
|
* total_heap_size: 7326976,
|
|
@@ -749,7 +749,7 @@ declare module "node:vm" {
|
|
|
749
749
|
* // "contextifiedObject" when creating the context.
|
|
750
750
|
* export default secret;
|
|
751
751
|
* `, { context: referencingModule.context });
|
|
752
|
-
* moduleMap.set(specifier,
|
|
752
|
+
* moduleMap.set(specifier, requestedModule);
|
|
753
753
|
* // Resolve the dependencies of the new module as well.
|
|
754
754
|
* resolveAndLinkDependencies(requestedModule);
|
|
755
755
|
* }
|
|
@@ -819,19 +819,47 @@ declare module "node:vm" {
|
|
|
819
819
|
*/
|
|
820
820
|
status: ModuleStatus;
|
|
821
821
|
/**
|
|
822
|
-
* Evaluate the module.
|
|
823
|
-
*
|
|
824
|
-
*
|
|
825
|
-
*
|
|
826
|
-
*
|
|
827
|
-
*
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
831
|
-
*
|
|
832
|
-
*
|
|
833
|
-
*
|
|
834
|
-
*
|
|
822
|
+
* Evaluate the module and its depenendencies. Corresponds to the [Evaluate() concrete method](https://tc39.es/ecma262/#sec-moduleevaluation) field of
|
|
823
|
+
* [Cyclic Module Record](https://tc39.es/ecma262/#sec-cyclic-module-records)s in the ECMAScript specification.
|
|
824
|
+
*
|
|
825
|
+
* If the module is a `vm.SourceTextModule`, `evaluate()` must be called after the module has been instantiated;
|
|
826
|
+
* otherwise `evaluate()` will return a rejected promise.
|
|
827
|
+
*
|
|
828
|
+
* For a `vm.SourceTextModule`, the promise returned by `evaluate()` may be fulfilled either
|
|
829
|
+
* synchronously or asynchronously:
|
|
830
|
+
*
|
|
831
|
+
* 1. If the `vm.SourceTextModule` has no top-level `await` in itself or any of its dependencies, the promise will be
|
|
832
|
+
* fulfilled _synchronously_ after the module and all its dependencies have been evaluated.
|
|
833
|
+
* 1. If the evaluation succeeds, the promise will be _synchronously_ resolved to `undefined`.
|
|
834
|
+
* 2. If the evaluation results in an exception, the promise will be _synchronously_ rejected with the exception
|
|
835
|
+
* that causes the evaluation to fail, which is the same as `module.error`.
|
|
836
|
+
* 2. If the `vm.SourceTextModule` has top-level `await` in itself or any of its dependencies, the promise will be
|
|
837
|
+
* fulfilled _asynchronously_ after the module and all its dependencies have been evaluated.
|
|
838
|
+
* 1. If the evaluation succeeds, the promise will be _asynchronously_ resolved to `undefined`.
|
|
839
|
+
* 2. If the evaluation results in an exception, the promise will be _asynchronously_ rejected with the exception
|
|
840
|
+
* that causes the evaluation to fail.
|
|
841
|
+
*
|
|
842
|
+
* If the module is a `vm.SyntheticModule`, `evaluate()` always returns a promise that fulfills synchronously, see
|
|
843
|
+
* the specification of [Evaluate() of a Synthetic Module Record](https://tc39.es/ecma262/#sec-smr-Evaluate):
|
|
844
|
+
*
|
|
845
|
+
* 1. If the `evaluateCallback` passed to its constructor throws an exception synchronously, `evaluate()` returns
|
|
846
|
+
* a promise that will be synchronously rejected with that exception.
|
|
847
|
+
* 2. If the `evaluateCallback` does not throw an exception, `evaluate()` returns a promise that will be
|
|
848
|
+
* synchronously resolved to `undefined`.
|
|
849
|
+
*
|
|
850
|
+
* The `evaluateCallback` of a `vm.SyntheticModule` is executed synchronously within the `evaluate()` call, and its
|
|
851
|
+
* return value is discarded. This means if `evaluateCallback` is an asynchronous function, the promise returned by
|
|
852
|
+
* `evaluate()` will not reflect its asynchronous behavior, and any rejections from an asynchronous
|
|
853
|
+
* `evaluateCallback` will be lost.
|
|
854
|
+
*
|
|
855
|
+
* `evaluate()` could also be called again after the module has already been evaluated, in which case:
|
|
856
|
+
*
|
|
857
|
+
* 1. If the initial evaluation ended in success (`module.status` is `'evaluated'`), it will do nothing
|
|
858
|
+
* and return a promise that resolves to `undefined`.
|
|
859
|
+
* 2. If the initial evaluation resulted in an exception (`module.status` is `'errored'`), it will re-reject
|
|
860
|
+
* the exception that the initial evaluation resulted in.
|
|
861
|
+
*
|
|
862
|
+
* This method cannot be called while the module is being evaluated (`module.status` is `'evaluating'`).
|
|
835
863
|
* @return Fulfills with `undefined` upon success.
|
|
836
864
|
*/
|
|
837
865
|
evaluate(options?: ModuleEvaluateOptions): Promise<void>;
|
|
@@ -3,16 +3,21 @@ export {};
|
|
|
3
3
|
import * as undici from "undici-types";
|
|
4
4
|
|
|
5
5
|
type _CloseEvent = typeof globalThis extends { onmessage: any } ? {} : undici.CloseEvent;
|
|
6
|
+
type _CloseEventInit = typeof globalThis extends { onmessage: any } ? {} : undici.CloseEventInit;
|
|
6
7
|
type _ErrorEvent = typeof globalThis extends { onmessage: any } ? {} : undici.ErrorEvent;
|
|
8
|
+
type _ErrorEventInit = typeof globalThis extends { onmessage: any } ? {} : undici.ErrorEventInit;
|
|
7
9
|
type _EventSource = typeof globalThis extends { onmessage: any } ? {} : undici.EventSource;
|
|
10
|
+
type _EventSourceInit = typeof globalThis extends { onmessage: any } ? {} : undici.EventSourceInit;
|
|
8
11
|
type _FormData = typeof globalThis extends { onmessage: any } ? {} : undici.FormData;
|
|
9
12
|
type _Headers = typeof globalThis extends { onmessage: any } ? {} : undici.Headers;
|
|
10
13
|
type _MessageEvent = typeof globalThis extends { onmessage: any } ? {} : undici.MessageEvent;
|
|
14
|
+
type _MessageEventInit = typeof globalThis extends { onmessage: any } ? {} : undici.MessageEventInit;
|
|
11
15
|
type _Request = typeof globalThis extends { onmessage: any } ? {} : undici.Request;
|
|
12
16
|
type _RequestInit = typeof globalThis extends { onmessage: any } ? {} : undici.RequestInit;
|
|
13
17
|
type _Response = typeof globalThis extends { onmessage: any } ? {} : undici.Response;
|
|
14
18
|
type _ResponseInit = typeof globalThis extends { onmessage: any } ? {} : undici.ResponseInit;
|
|
15
19
|
type _WebSocket = typeof globalThis extends { onmessage: any } ? {} : undici.WebSocket;
|
|
20
|
+
type _WebSocketInit = typeof globalThis extends { onmessage: any } ? {} : undici.WebSocketInit;
|
|
16
21
|
|
|
17
22
|
declare global {
|
|
18
23
|
function fetch(
|
|
@@ -23,12 +28,18 @@ declare global {
|
|
|
23
28
|
interface CloseEvent extends _CloseEvent {}
|
|
24
29
|
var CloseEvent: typeof globalThis extends { onmessage: any; CloseEvent: infer T } ? T : typeof undici.CloseEvent;
|
|
25
30
|
|
|
31
|
+
interface CloseEventInit extends _CloseEventInit {}
|
|
32
|
+
|
|
26
33
|
interface ErrorEvent extends _ErrorEvent {}
|
|
27
34
|
var ErrorEvent: typeof globalThis extends { onmessage: any; ErrorEvent: infer T } ? T : typeof undici.ErrorEvent;
|
|
28
35
|
|
|
36
|
+
interface ErrorEventInit extends _ErrorEventInit {}
|
|
37
|
+
|
|
29
38
|
interface EventSource extends _EventSource {}
|
|
30
39
|
var EventSource: typeof globalThis extends { onmessage: any; EventSource: infer T } ? T : typeof undici.EventSource;
|
|
31
40
|
|
|
41
|
+
interface EventSourceInit extends _EventSourceInit {}
|
|
42
|
+
|
|
32
43
|
interface FormData extends _FormData {}
|
|
33
44
|
var FormData: typeof globalThis extends { onmessage: any; FormData: infer T } ? T : typeof undici.FormData;
|
|
34
45
|
|
|
@@ -39,6 +50,8 @@ declare global {
|
|
|
39
50
|
var MessageEvent: typeof globalThis extends { onmessage: any; MessageEvent: infer T } ? T
|
|
40
51
|
: typeof undici.MessageEvent;
|
|
41
52
|
|
|
53
|
+
interface MessageEventInit extends _MessageEventInit {}
|
|
54
|
+
|
|
42
55
|
interface Request extends _Request {}
|
|
43
56
|
var Request: typeof globalThis extends { onmessage: any; Request: infer T } ? T : typeof undici.Request;
|
|
44
57
|
|
|
@@ -51,4 +64,6 @@ declare global {
|
|
|
51
64
|
|
|
52
65
|
interface WebSocket extends _WebSocket {}
|
|
53
66
|
var WebSocket: typeof globalThis extends { onmessage: any; WebSocket: infer T } ? T : typeof undici.WebSocket;
|
|
67
|
+
|
|
68
|
+
interface WebSocketInit extends _WebSocketInit {}
|
|
54
69
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slack/web-api",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.14.1",
|
|
4
4
|
"description": "Official library for using the Slack Platform's Web API",
|
|
5
5
|
"author": "Slack Technologies, LLC",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
"node": ">= 18",
|
|
25
25
|
"npm": ">= 8.6.0"
|
|
26
26
|
},
|
|
27
|
-
"repository":
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/slackapi/node-slack-sdk.git"
|
|
30
|
+
},
|
|
28
31
|
"homepage": "https://docs.slack.dev/tools/node-slack-sdk/web-api/",
|
|
29
32
|
"publishConfig": {
|
|
30
33
|
"access": "public"
|
|
@@ -33,26 +36,24 @@
|
|
|
33
36
|
"url": "https://github.com/slackapi/node-slack-sdk/issues"
|
|
34
37
|
},
|
|
35
38
|
"scripts": {
|
|
36
|
-
"prepare": "npm run build",
|
|
37
39
|
"build": "npm run build:clean && tsc",
|
|
38
40
|
"build:clean": "shx rm -rf ./dist ./coverage",
|
|
39
41
|
"docs": "npx typedoc --plugin typedoc-plugin-markdown",
|
|
40
|
-
"lint": "npx @biomejs/biome check .",
|
|
41
|
-
"lint:fix": "npx @biomejs/biome check --write .",
|
|
42
42
|
"mocha": "mocha --config ./test/.mocharc.json \"./src/**/*.spec.ts\"",
|
|
43
|
-
"
|
|
43
|
+
"prepack": "npm run build",
|
|
44
|
+
"test": "npm run test:types && npm run test:integration && npm run test:unit",
|
|
44
45
|
"test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts",
|
|
45
46
|
"test:integration:ts": "cd test/integration/ts-4.7-project && npm i && npm run build",
|
|
46
|
-
"test:unit": "npm run build && c8 --config ./test/.c8rc.json npm run mocha",
|
|
47
47
|
"test:types": "tsd",
|
|
48
|
+
"test:unit": "npm run build && c8 --config ./test/.c8rc.json npm run mocha",
|
|
48
49
|
"watch": "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"
|
|
49
50
|
},
|
|
50
51
|
"dependencies": {
|
|
51
52
|
"@slack/logger": "^4.0.0",
|
|
52
|
-
"@slack/types": "^2.
|
|
53
|
+
"@slack/types": "^2.20.0",
|
|
53
54
|
"@types/node": ">=18.0.0",
|
|
54
55
|
"@types/retry": "0.12.0",
|
|
55
|
-
"axios": "^1.
|
|
56
|
+
"axios": "^1.13.5",
|
|
56
57
|
"eventemitter3": "^5.0.1",
|
|
57
58
|
"form-data": "^4.0.4",
|
|
58
59
|
"is-electron": "2.2.2",
|
|
@@ -62,7 +63,6 @@
|
|
|
62
63
|
"retry": "^0.13.1"
|
|
63
64
|
},
|
|
64
65
|
"devDependencies": {
|
|
65
|
-
"@biomejs/biome": "^2.0.5",
|
|
66
66
|
"@tsconfig/recommended": "^1",
|
|
67
67
|
"@types/busboy": "^1.5.4",
|
|
68
68
|
"@types/chai": "^4",
|
|
@@ -990,8 +990,8 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
|
|
|
990
990
|
codec = new CborCodec();
|
|
991
991
|
serializer = this.codec.createSerializer();
|
|
992
992
|
deserializer = this.codec.createDeserializer();
|
|
993
|
-
constructor({ defaultNamespace }) {
|
|
994
|
-
super({ defaultNamespace });
|
|
993
|
+
constructor({ defaultNamespace, errorTypeRegistries, }) {
|
|
994
|
+
super({ defaultNamespace, errorTypeRegistries });
|
|
995
995
|
}
|
|
996
996
|
getShapeId() {
|
|
997
997
|
return "smithy.protocols#rpcv2Cbor";
|
|
@@ -1035,15 +1035,17 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
1037
1037
|
const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
|
|
1038
|
-
let namespace = this.options.defaultNamespace;
|
|
1039
|
-
if (errorName.includes("#")) {
|
|
1040
|
-
[namespace] = errorName.split("#");
|
|
1041
|
-
}
|
|
1042
1038
|
const errorMetadata = {
|
|
1043
1039
|
$metadata: metadata,
|
|
1044
1040
|
$fault: response.statusCode <= 500 ? "client" : "server",
|
|
1045
1041
|
};
|
|
1046
|
-
|
|
1042
|
+
let namespace = this.options.defaultNamespace;
|
|
1043
|
+
if (errorName.includes("#")) {
|
|
1044
|
+
[namespace] = errorName.split("#");
|
|
1045
|
+
}
|
|
1046
|
+
const registry = this.compositeErrorRegistry;
|
|
1047
|
+
const nsRegistry = schema.TypeRegistry.for(namespace);
|
|
1048
|
+
registry.copyFrom(nsRegistry);
|
|
1047
1049
|
let errorSchema;
|
|
1048
1050
|
try {
|
|
1049
1051
|
errorSchema = registry.getSchema(errorName);
|
|
@@ -1052,10 +1054,11 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
|
|
|
1052
1054
|
if (dataObject.Message) {
|
|
1053
1055
|
dataObject.message = dataObject.Message;
|
|
1054
1056
|
}
|
|
1055
|
-
const
|
|
1056
|
-
|
|
1057
|
+
const syntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
|
|
1058
|
+
registry.copyFrom(syntheticRegistry);
|
|
1059
|
+
const baseExceptionSchema = registry.getBaseException();
|
|
1057
1060
|
if (baseExceptionSchema) {
|
|
1058
|
-
const ErrorCtor =
|
|
1061
|
+
const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);
|
|
1059
1062
|
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
1060
1063
|
}
|
|
1061
1064
|
throw Object.assign(new Error(errorName), errorMetadata, dataObject);
|
|
@@ -33,9 +33,14 @@ class SerdeContext {
|
|
|
33
33
|
|
|
34
34
|
class HttpProtocol extends SerdeContext {
|
|
35
35
|
options;
|
|
36
|
+
compositeErrorRegistry;
|
|
36
37
|
constructor(options) {
|
|
37
38
|
super();
|
|
38
39
|
this.options = options;
|
|
40
|
+
this.compositeErrorRegistry = schema.TypeRegistry.for(options.defaultNamespace);
|
|
41
|
+
for (const etr of options.errorTypeRegistries ?? []) {
|
|
42
|
+
this.compositeErrorRegistry.copyFrom(etr);
|
|
43
|
+
}
|
|
39
44
|
}
|
|
40
45
|
getRequestType() {
|
|
41
46
|
return protocolHttp.HttpRequest;
|
|
@@ -323,7 +323,7 @@ class NormalizedSchema {
|
|
|
323
323
|
}
|
|
324
324
|
getSchema() {
|
|
325
325
|
const sc = this.schema;
|
|
326
|
-
if (sc[0] === 0) {
|
|
326
|
+
if (Array.isArray(sc) && sc[0] === 0) {
|
|
327
327
|
return sc[4];
|
|
328
328
|
}
|
|
329
329
|
return sc;
|
|
@@ -353,6 +353,9 @@ class NormalizedSchema {
|
|
|
353
353
|
}
|
|
354
354
|
isStructSchema() {
|
|
355
355
|
const sc = this.getSchema();
|
|
356
|
+
if (typeof sc !== "object") {
|
|
357
|
+
return false;
|
|
358
|
+
}
|
|
356
359
|
const id = sc[0];
|
|
357
360
|
return (id === 3 ||
|
|
358
361
|
id === -3 ||
|
|
@@ -360,6 +363,9 @@ class NormalizedSchema {
|
|
|
360
363
|
}
|
|
361
364
|
isUnionSchema() {
|
|
362
365
|
const sc = this.getSchema();
|
|
366
|
+
if (typeof sc !== "object") {
|
|
367
|
+
return false;
|
|
368
|
+
}
|
|
363
369
|
return sc[0] === 4;
|
|
364
370
|
}
|
|
365
371
|
isBlobSchema() {
|
|
@@ -560,10 +566,24 @@ class TypeRegistry {
|
|
|
560
566
|
}
|
|
561
567
|
return TypeRegistry.registries.get(namespace);
|
|
562
568
|
}
|
|
569
|
+
copyFrom(other) {
|
|
570
|
+
const { schemas, exceptions } = this;
|
|
571
|
+
for (const [k, v] of other.schemas) {
|
|
572
|
+
if (!schemas.has(k)) {
|
|
573
|
+
schemas.set(k, v);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
for (const [k, v] of other.exceptions) {
|
|
577
|
+
if (!exceptions.has(k)) {
|
|
578
|
+
exceptions.set(k, v);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
563
582
|
register(shapeId, schema) {
|
|
564
583
|
const qualifiedName = this.normalizeShapeId(shapeId);
|
|
565
|
-
const
|
|
566
|
-
|
|
584
|
+
for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) {
|
|
585
|
+
r.schemas.set(qualifiedName, schema);
|
|
586
|
+
}
|
|
567
587
|
}
|
|
568
588
|
getSchema(shapeId) {
|
|
569
589
|
const id = this.normalizeShapeId(shapeId);
|
|
@@ -574,12 +594,17 @@ class TypeRegistry {
|
|
|
574
594
|
}
|
|
575
595
|
registerError(es, ctor) {
|
|
576
596
|
const $error = es;
|
|
577
|
-
const
|
|
578
|
-
|
|
579
|
-
|
|
597
|
+
const ns = $error[1];
|
|
598
|
+
for (const r of [this, TypeRegistry.for(ns)]) {
|
|
599
|
+
r.schemas.set(ns + "#" + $error[2], $error);
|
|
600
|
+
r.exceptions.set($error, ctor);
|
|
601
|
+
}
|
|
580
602
|
}
|
|
581
603
|
getErrorCtor(es) {
|
|
582
604
|
const $error = es;
|
|
605
|
+
if (this.exceptions.has($error)) {
|
|
606
|
+
return this.exceptions.get($error);
|
|
607
|
+
}
|
|
583
608
|
const registry = TypeRegistry.for($error[1]);
|
|
584
609
|
return registry.exceptions.get($error);
|
|
585
610
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RpcProtocol } from "@smithy/core/protocols";
|
|
2
|
-
import {
|
|
2
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
3
|
+
import { deref, NormalizedSchema } from "@smithy/core/schema";
|
|
3
4
|
import { getSmithyContext } from "@smithy/util-middleware";
|
|
4
5
|
import { CborCodec } from "./CborCodec";
|
|
5
6
|
import { loadSmithyRpcV2CborErrorCode } from "./parseCborBody";
|
|
@@ -7,8 +8,8 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
7
8
|
codec = new CborCodec();
|
|
8
9
|
serializer = this.codec.createSerializer();
|
|
9
10
|
deserializer = this.codec.createDeserializer();
|
|
10
|
-
constructor({ defaultNamespace }) {
|
|
11
|
-
super({ defaultNamespace });
|
|
11
|
+
constructor({ defaultNamespace, errorTypeRegistries, }) {
|
|
12
|
+
super({ defaultNamespace, errorTypeRegistries });
|
|
12
13
|
}
|
|
13
14
|
getShapeId() {
|
|
14
15
|
return "smithy.protocols#rpcv2Cbor";
|
|
@@ -52,15 +53,17 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
52
53
|
}
|
|
53
54
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
54
55
|
const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
|
|
55
|
-
let namespace = this.options.defaultNamespace;
|
|
56
|
-
if (errorName.includes("#")) {
|
|
57
|
-
[namespace] = errorName.split("#");
|
|
58
|
-
}
|
|
59
56
|
const errorMetadata = {
|
|
60
57
|
$metadata: metadata,
|
|
61
58
|
$fault: response.statusCode <= 500 ? "client" : "server",
|
|
62
59
|
};
|
|
63
|
-
|
|
60
|
+
let namespace = this.options.defaultNamespace;
|
|
61
|
+
if (errorName.includes("#")) {
|
|
62
|
+
[namespace] = errorName.split("#");
|
|
63
|
+
}
|
|
64
|
+
const registry = this.compositeErrorRegistry;
|
|
65
|
+
const nsRegistry = TypeRegistry.for(namespace);
|
|
66
|
+
registry.copyFrom(nsRegistry);
|
|
64
67
|
let errorSchema;
|
|
65
68
|
try {
|
|
66
69
|
errorSchema = registry.getSchema(errorName);
|
|
@@ -69,10 +72,11 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
69
72
|
if (dataObject.Message) {
|
|
70
73
|
dataObject.message = dataObject.Message;
|
|
71
74
|
}
|
|
72
|
-
const
|
|
73
|
-
|
|
75
|
+
const syntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
|
|
76
|
+
registry.copyFrom(syntheticRegistry);
|
|
77
|
+
const baseExceptionSchema = registry.getBaseException();
|
|
74
78
|
if (baseExceptionSchema) {
|
|
75
|
-
const ErrorCtor =
|
|
79
|
+
const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);
|
|
76
80
|
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
77
81
|
}
|
|
78
82
|
throw Object.assign(new Error(errorName), errorMetadata, dataObject);
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import { NormalizedSchema, translateTraits } from "@smithy/core/schema";
|
|
1
|
+
import { NormalizedSchema, translateTraits, TypeRegistry } from "@smithy/core/schema";
|
|
2
2
|
import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
|
|
3
3
|
import { SerdeContext } from "./SerdeContext";
|
|
4
4
|
export class HttpProtocol extends SerdeContext {
|
|
5
5
|
options;
|
|
6
|
+
compositeErrorRegistry;
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super();
|
|
8
9
|
this.options = options;
|
|
10
|
+
this.compositeErrorRegistry = TypeRegistry.for(options.defaultNamespace);
|
|
11
|
+
for (const etr of options.errorTypeRegistries ?? []) {
|
|
12
|
+
this.compositeErrorRegistry.copyFrom(etr);
|
|
13
|
+
}
|
|
9
14
|
}
|
|
10
15
|
getRequestType() {
|
|
11
16
|
return HttpRequest;
|
|
@@ -14,10 +14,24 @@ export class TypeRegistry {
|
|
|
14
14
|
}
|
|
15
15
|
return TypeRegistry.registries.get(namespace);
|
|
16
16
|
}
|
|
17
|
+
copyFrom(other) {
|
|
18
|
+
const { schemas, exceptions } = this;
|
|
19
|
+
for (const [k, v] of other.schemas) {
|
|
20
|
+
if (!schemas.has(k)) {
|
|
21
|
+
schemas.set(k, v);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
for (const [k, v] of other.exceptions) {
|
|
25
|
+
if (!exceptions.has(k)) {
|
|
26
|
+
exceptions.set(k, v);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
17
30
|
register(shapeId, schema) {
|
|
18
31
|
const qualifiedName = this.normalizeShapeId(shapeId);
|
|
19
|
-
const
|
|
20
|
-
|
|
32
|
+
for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) {
|
|
33
|
+
r.schemas.set(qualifiedName, schema);
|
|
34
|
+
}
|
|
21
35
|
}
|
|
22
36
|
getSchema(shapeId) {
|
|
23
37
|
const id = this.normalizeShapeId(shapeId);
|
|
@@ -28,12 +42,17 @@ export class TypeRegistry {
|
|
|
28
42
|
}
|
|
29
43
|
registerError(es, ctor) {
|
|
30
44
|
const $error = es;
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
const ns = $error[1];
|
|
46
|
+
for (const r of [this, TypeRegistry.for(ns)]) {
|
|
47
|
+
r.schemas.set(ns + "#" + $error[2], $error);
|
|
48
|
+
r.exceptions.set($error, ctor);
|
|
49
|
+
}
|
|
34
50
|
}
|
|
35
51
|
getErrorCtor(es) {
|
|
36
52
|
const $error = es;
|
|
53
|
+
if (this.exceptions.has($error)) {
|
|
54
|
+
return this.exceptions.get($error);
|
|
55
|
+
}
|
|
37
56
|
const registry = TypeRegistry.for($error[1]);
|
|
38
57
|
return registry.exceptions.get($error);
|
|
39
58
|
}
|
|
@@ -83,7 +83,7 @@ export class NormalizedSchema {
|
|
|
83
83
|
}
|
|
84
84
|
getSchema() {
|
|
85
85
|
const sc = this.schema;
|
|
86
|
-
if (sc[0] === 0) {
|
|
86
|
+
if (Array.isArray(sc) && sc[0] === 0) {
|
|
87
87
|
return sc[4];
|
|
88
88
|
}
|
|
89
89
|
return sc;
|
|
@@ -113,6 +113,9 @@ export class NormalizedSchema {
|
|
|
113
113
|
}
|
|
114
114
|
isStructSchema() {
|
|
115
115
|
const sc = this.getSchema();
|
|
116
|
+
if (typeof sc !== "object") {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
116
119
|
const id = sc[0];
|
|
117
120
|
return (id === 3 ||
|
|
118
121
|
id === -3 ||
|
|
@@ -120,6 +123,9 @@ export class NormalizedSchema {
|
|
|
120
123
|
}
|
|
121
124
|
isUnionSchema() {
|
|
122
125
|
const sc = this.getSchema();
|
|
126
|
+
if (typeof sc !== "object") {
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
123
129
|
return sc[0] === 4;
|
|
124
130
|
}
|
|
125
131
|
isBlobSchema() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RpcProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
3
|
import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
|
|
3
4
|
import { CborCodec } from "./CborCodec";
|
|
4
5
|
/**
|
|
@@ -7,11 +8,16 @@ import { CborCodec } from "./CborCodec";
|
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
9
10
|
export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
11
|
+
/**
|
|
12
|
+
* @override
|
|
13
|
+
*/
|
|
14
|
+
protected compositeErrorRegistry: TypeRegistry;
|
|
10
15
|
private codec;
|
|
11
16
|
protected serializer: import("./CborCodec").CborShapeSerializer;
|
|
12
17
|
protected deserializer: import("./CborCodec").CborShapeDeserializer;
|
|
13
|
-
constructor({ defaultNamespace }: {
|
|
18
|
+
constructor({ defaultNamespace, errorTypeRegistries, }: {
|
|
14
19
|
defaultNamespace: string;
|
|
20
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
15
21
|
});
|
|
16
22
|
getShapeId(): string;
|
|
17
23
|
getPayloadCodec(): CborCodec;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
1
|
+
import { type TypeRegistry, NormalizedSchema } from "@smithy/core/schema";
|
|
2
2
|
import { HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, Schema, SerdeFunctions } from "@smithy/types";
|
|
4
4
|
import { HttpProtocol } from "./HttpProtocol";
|
|
@@ -9,6 +9,10 @@ import { HttpProtocol } from "./HttpProtocol";
|
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
export declare abstract class HttpBindingProtocol extends HttpProtocol {
|
|
12
|
+
/**
|
|
13
|
+
* @override
|
|
14
|
+
*/
|
|
15
|
+
protected compositeErrorRegistry: TypeRegistry;
|
|
12
16
|
serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
13
17
|
protected serializeQuery(ns: NormalizedSchema, data: any, query: HttpRequest["query"]): void;
|
|
14
18
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EventStreamSerde } from "@smithy/core/event-streams";
|
|
2
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
+
import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
|
|
3
3
|
import type { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
4
4
|
import { SerdeContext } from "./SerdeContext";
|
|
5
5
|
/**
|
|
@@ -10,11 +10,24 @@ import { SerdeContext } from "./SerdeContext";
|
|
|
10
10
|
export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
|
|
11
11
|
readonly options: {
|
|
12
12
|
defaultNamespace: string;
|
|
13
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
13
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* An error registry having the namespace of the modeled service,
|
|
17
|
+
* but combining all error schemas found within the service closure.
|
|
18
|
+
*
|
|
19
|
+
* Used to look up error schema during deserialization.
|
|
20
|
+
*/
|
|
21
|
+
protected compositeErrorRegistry: TypeRegistry;
|
|
14
22
|
protected abstract serializer: ShapeSerializer<string | Uint8Array>;
|
|
15
23
|
protected abstract deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
24
|
+
/**
|
|
25
|
+
* @param options.defaultNamespace - used by various implementing classes.
|
|
26
|
+
* @param options.errorTypeRegistries - registry instances that contribute to error deserialization.
|
|
27
|
+
*/
|
|
16
28
|
protected constructor(options: {
|
|
17
29
|
defaultNamespace: string;
|
|
30
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
18
31
|
});
|
|
19
32
|
abstract getShapeId(): string;
|
|
20
33
|
abstract getPayloadCodec(): Codec<any, any>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, SerdeFunctions } from "@smithy/types";
|
|
2
3
|
import { HttpProtocol } from "./HttpProtocol";
|
|
3
4
|
/**
|
|
@@ -6,6 +7,10 @@ import { HttpProtocol } from "./HttpProtocol";
|
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
8
9
|
export declare abstract class RpcProtocol extends HttpProtocol {
|
|
10
|
+
/**
|
|
11
|
+
* @override
|
|
12
|
+
*/
|
|
13
|
+
protected compositeErrorRegistry: TypeRegistry;
|
|
9
14
|
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
10
15
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
|
|
11
16
|
}
|
|
@@ -17,7 +17,14 @@ export declare class TypeRegistry {
|
|
|
17
17
|
*/
|
|
18
18
|
static for(namespace: string): TypeRegistry;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Copies entries from another instance without changing the namespace of self.
|
|
21
|
+
* The composition is additive but non-destructive and will not overwrite existing entries.
|
|
22
|
+
*
|
|
23
|
+
* @param other - another TypeRegistry.
|
|
24
|
+
*/
|
|
25
|
+
copyFrom(other: TypeRegistry): void;
|
|
26
|
+
/**
|
|
27
|
+
* Adds the given schema to a type registry with the same namespace, and this registry.
|
|
21
28
|
*
|
|
22
29
|
* @param shapeId - to be registered.
|
|
23
30
|
* @param schema - to be registered.
|