@mavogel/awscdk-rootmail 0.1.2 → 0.1.4
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/.claude/skills/.pilot-sync-manifest.json +4 -0
- package/.jsii +5 -4
- package/AGENTS.md +138 -0
- package/CLAUDE.md +1 -138
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/checksums/README.md +80 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/index.d.ts +1 -5
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/index.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +2 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +2 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/configuration.d.ts +1 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsInputMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsResponseMiddleware.d.ts +2 -5
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksum.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmForRequest.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmListForResponse.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumLocationName.d.ts +1 -3
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getFlexibleChecksumsPlugin.d.ts +3 -2
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/hasHeaderWithPrefix.d.ts +1 -4
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/resolveFlexibleChecksumsConfig.d.ts +4 -11
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/selectChecksumAlgorithmFunction.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringHasher.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringUnionSelector.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/validateChecksumFromResponse.d.ts +1 -1
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +1 -6
- package/node_modules/@aws-sdk/checksums/package.json +64 -61
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +33 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/enums.js +7 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +24 -12
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLookupTableCommand.d.ts +9 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateScheduledQueryCommand.d.ts +10 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeFieldIndexesCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetQueryResultsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetScheduledQueryCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetScheduledQueryHistoryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetStorageTierPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListScheduledQueriesCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutStorageTierPolicyCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateLookupTableCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateScheduledQueryCommand.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +158 -32
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_1.d.ts +34 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +39 -37
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogs.d.ts +378 -407
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +11 -36
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/AssociateSourceToS3TableIntegrationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateDeliveryCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateImportTaskCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateLogAnomalyDetectorCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateLookupTableCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteDeliveryCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteDeliveryDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteDeliverySourceCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteIndexPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteLogAnomalyDetectorCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteLookupTableCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteSyslogConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeAccountPoliciesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeConfigurationTemplatesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeDeliveriesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeDeliveryDestinationsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeDeliverySourcesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeFieldIndexesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeImportTaskBatchesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeImportTasksCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeIndexPoliciesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeLookupTablesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DisassociateSourceFromS3TableIntegrationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetDeliveryCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetDeliveryDestinationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetDeliveryDestinationPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetDeliverySourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogAnomalyDetectorCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogFieldsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLookupTableCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetScheduledQueryCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetScheduledQueryHistoryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetStorageTierPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListAggregateLogGroupSummariesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListAnomaliesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListLogAnomalyDetectorsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListLogGroupsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListLogGroupsForQueryCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListSourcesForS3TableIntegrationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListSyslogConfigurationsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutAccountPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutBearerTokenAuthenticationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutDeliveryDestinationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutDeliveryDestinationPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutDeliverySourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutIndexPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutLogGroupDeletionProtectionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutStorageTierPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutSyslogConfigurationCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutTransformerCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/StartLiveTailCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/StartQueryCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/StopQueryCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TestTransformerCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/enums.d.ts +22 -28
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/errors.d.ts +20 -60
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +18 -16
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_1.d.ts +8 -7
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +60 -73
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +62 -68
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +64 -77
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +42 -42
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +38 -36
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53.d.ts +222 -255
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +17 -33
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commandBuilder.d.ts +9 -15
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ChangeCidrCollectionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateCidrCollectionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteCidrCollectionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetChangeCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListCidrBlocksCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListCidrCollectionsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListCidrLocationsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/UpdateHostedZoneFeaturesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/enums.d.ts +8 -16
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/errors.d.ts +48 -167
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +60 -73
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +62 -68
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +64 -77
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +3 -6
- package/node_modules/@aws-sdk/client-route-53/package.json +43 -43
- package/node_modules/@aws-sdk/client-s3/README.md +17 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +6 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +17 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +17 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAnnotationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAnnotationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +0 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +18 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +58 -56
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +61 -59
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +57 -55
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +354 -501
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +25 -59
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commandBuilder.d.ts +21 -31
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +9 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +8 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +37 -64
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +10 -30
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +12 -36
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +2 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -122
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +106 -122
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -126
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/package.json +46 -46
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +38 -36
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SES.d.ts +219 -345
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +16 -32
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CloneReceiptRuleSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateReceiptFilterCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateReceiptRuleCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateReceiptRuleSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteIdentityCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteIdentityPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteReceiptFilterCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteReceiptRuleCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteReceiptRuleSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DeleteVerifiedEmailAddressCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DescribeActiveReceiptRuleSetCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DescribeConfigurationSetCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DescribeReceiptRuleCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/DescribeReceiptRuleSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetAccountSendingEnabledCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetIdentityDkimAttributesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetIdentityNotificationAttributesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetIdentityPoliciesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetIdentityVerificationAttributesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetSendQuotaCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetSendStatisticsCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListIdentityPoliciesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListReceiptFiltersCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListReceiptRuleSetsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ListVerifiedEmailAddressesCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/PutIdentityPolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/ReorderReceiptRuleSetCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SendBounceCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SendBulkTemplatedEmailCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SendEmailCommand.d.ts +7 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SendRawEmailCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SendTemplatedEmailCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SetActiveReceiptRuleSetCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SetIdentityDkimEnabledCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SetIdentityMailFromDomainCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SetIdentityNotificationTopicCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/SetReceiptRulePositionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/TestRenderTemplateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateAccountSendingEnabledCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateReceiptRuleCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/VerifyDomainDkimCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/VerifyDomainIdentityCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/VerifyEmailAddressCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/commands/VerifyEmailIdentityCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/models/enums.d.ts +9 -18
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/models/errors.d.ts +33 -150
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/models/models_0.d.ts +4 -12
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +60 -73
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +62 -68
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +64 -77
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/waiters/waitForIdentityExists.d.ts +3 -7
- package/node_modules/@aws-sdk/client-ses/package.json +42 -42
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +15 -10
- package/node_modules/@aws-sdk/client-ssm/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/schemas/schemas_0.js +14 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +8 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +16 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +41 -39
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +36 -34
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +38 -36
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +513 -642
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +17 -36
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateCloudConnectorCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +4 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteCloudConnectorCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePropertiesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCloudConnectorCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCloudConnectorsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateCloudConnectorCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts +4 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts +5 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ValidateCloudConnectorCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/enums.d.ts +31 -62
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/errors.d.ts +115 -458
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +9 -18
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +7 -21
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +1 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +60 -73
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +62 -68
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +64 -77
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/waitForCommandExecuted.d.ts +3 -5
- package/node_modules/@aws-sdk/client-ssm/package.json +41 -41
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +67 -29
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1441 -406
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +7 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +28 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +8 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.browser.js +9 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +5 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +8 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonCodec.js → codec-v1/JsonCodec.js} +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeDeserializer.js → codec-v1/JsonShapeDeserializer.js} +15 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeSerializer.js → codec-v1/JsonShapeSerializer.js} +18 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +103 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +200 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +519 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +108 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +41 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +33 -13
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +6 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +22 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +22 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +9 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +4 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +4 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +7 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +4 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +2 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +5 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +3 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +3 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +2 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +2 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +2 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +6 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +13 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +32 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +10 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -19
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -11
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +6 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +4 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +3 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +27 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +39 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +9 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +3 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +71 -63
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +33 -33
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +35 -35
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +4 -8
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +41 -41
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +39 -32
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +39 -32
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +1 -6
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-login/package.json +36 -36
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +4 -11
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +40 -40
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +33 -33
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +2 -8
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +35 -35
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +3 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +5 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts +1 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +41 -41
- package/node_modules/@aws-sdk/middleware-sdk-route53/dist-types/ts3.4/change-resource-record-sets.d.ts +3 -12
- package/node_modules/@aws-sdk/middleware-sdk-route53/dist-types/ts3.4/id-normalizer.d.ts +3 -12
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +32 -32
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/NodeUseArnRegionConfigOptions.d.ts +1 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketEndpointMiddleware.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostname.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.d.ts +9 -12
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts +3 -12
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts +3 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-configuration/s3Configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +1 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +3 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressMiddleware.d.ts +2 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/signS3Express.d.ts +3 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentityProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-ssec/middleware-ssec.d.ts +3 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts +2 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/protocol/S3RestXmlProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/index.d.ts +1 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +3 -12
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +1 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +2 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +3 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +63 -60
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +11 -9
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +121 -76
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +6 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +6 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +12 -8
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +80 -70
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -2
- 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/commandBuilder.d.ts +8 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +41 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
- 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/runtimeConfig.browser.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -40
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
- 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/runtimeConfig.browser.d.ts +44 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +7 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +7 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -28
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +71 -88
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +71 -83
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +75 -92
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +9 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +20 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +25 -27
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +13 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +9 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +73 -90
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +71 -83
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +77 -94
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +8 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +13 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +70 -85
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +70 -80
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +74 -89
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +8 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +4 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +16 -29
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -34
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +70 -85
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +70 -80
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +74 -89
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +8 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +7 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +16 -30
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +8 -18
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -24
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +75 -95
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +77 -94
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +79 -99
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +9 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +1 -5
- package/node_modules/@aws-sdk/nested-clients/package.json +53 -50
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +5 -13
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4SignWithCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +2 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts +1 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +30 -30
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +1 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +2 -6
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +2 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +1 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +1 -5
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +1 -4
- package/node_modules/@aws-sdk/token-providers/package.json +36 -36
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +1 -7
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +2 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +1 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +7 -39
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +1 -9
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +1 -6
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +1 -4
- package/node_modules/@aws-sdk/types/package.json +31 -31
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +14 -4
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +14 -4
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +2 -12
- package/node_modules/@aws-sdk/xml-builder/package.json +35 -35
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1671 -361
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +33 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +49 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +49 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +35 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +4 -14
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +10 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +22 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +10 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +8 -1
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -205
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +30 -14
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +13 -5
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +122 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +110 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +650 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +620 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +5 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js +8 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +11 -9
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js +8 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +45 -15
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +5 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +11 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -27
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +24 -4
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/constants.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
- package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/pagination/createPaginator.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/memoizeIdentityProvider.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-blob-browser/blobHasher.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/HashCalculator.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/fileStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/readableStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.browser.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.native.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidFunction.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidProvider.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/MiddlewareStack.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/types.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/NoOpLogger.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +84 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/command.d.ts +118 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/create-aggregated-client.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/default-error-handler.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/defaults-mode.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +42 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +32 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-array-if-single-item.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-value-from-text-node.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/is-serializable-header-value.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/object-mapping.d.ts +179 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/ser-utils.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/serde-json.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/createWaiter.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/poller.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/sleep.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/validate.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/waiter.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.d.ts +57 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/utils/getEndpointFromRegion.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/config.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/resolveRegionConfig.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariant.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariantTag.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/PartitionHash.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/RegionHash.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getHostnameFromVariants.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getRegionInfo.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedHostname.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedPartition.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedSigningRegion.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/constants.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/defaultsModeConfig.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.native.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/configLoader.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromEnv.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromSharedConfigFiles.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromStatic.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/getSelectorName.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/CredentialsProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/ProviderError.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/TokenProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/chain.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/fromValue.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/memoize.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.d.ts +53 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseIni.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/readFile.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/types.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/booleanSelector.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/numberSelector.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/types.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.browser.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +122 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/s3.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/cache/EndpointCache.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/debugId.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/toDebugString.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/decideEndpoint.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/booleanEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/coalesce.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttr.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttrPathList.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/index.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isIpAddress.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isSet.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/ite.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/not.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/parseURL.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/split.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/stringEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/substring.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/uriEncode.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/resolveEndpoint.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointError.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointRuleObject.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/ErrorRuleObject.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/RuleSetObject.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/TreeRuleObject.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/shared.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/callFunction.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/endpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateEndpointRule.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTemplate.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTreeRule.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperty.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointUrl.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +80 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/EventStreamCodec.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/HeaderMarshaller.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Int64.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Message.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageEncoderStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageEncoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/splitMessage.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.d.ts +46 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/utils.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-config-resolver/EventStreamSerdeConfig.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getChunkedStream.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.browser.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +95 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/middleware-content-length/contentLengthMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Field.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Fields.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/httpHandler.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/types.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/querystring-builder/buildQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.browser.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/configurations.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/longPollMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/parseRetryAfterHeader.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retryMiddleware.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/util.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/AdaptiveRetryStrategy.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRateLimiter.d.ts +119 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryBackoffStrategy.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryToken.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/StandardRetryStrategy.d.ts +56 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/config.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/constants.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/types.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +146 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +61 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/hash-node/hash-node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +42 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/is-array-buffer/is-array-buffer.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +43 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/deserializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serdePlugin.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +250 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/constants-for-browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.browser.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-buffer-from/buffer-from.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-hex-encoding/hex-encoding.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/ByteArrayCollector.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +82 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.browser.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.browser.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-type-check.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/uuid/v4.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpRequest.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpResponse.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostLabel.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostname.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseUrl.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/package.json +88 -93
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +26 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +5 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +15 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +32 -42
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +7 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +38 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +31 -41
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +27 -8
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- 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/constants.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/package.json +32 -42
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +21 -9
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +5 -2
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +25 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +20 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +43 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +30 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +12 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +10 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +23 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +2 -0
- package/node_modules/@smithy/signature-v4/package.json +27 -37
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +45 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +59 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +37 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +61 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointParameterInstructions.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +142 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +110 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +52 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +93 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +541 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +162 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +251 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +118 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +79 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +172 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +54 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +42 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/package.json +29 -39
- package/node_modules/@zone-eu/mailsplit/lib/headers.js +81 -10
- package/node_modules/@zone-eu/mailsplit/lib/message-splitter.js +233 -73
- package/node_modules/@zone-eu/mailsplit/lib/mime-node.d.ts +3 -0
- package/node_modules/@zone-eu/mailsplit/lib/mime-node.js +4 -0
- package/node_modules/@zone-eu/mailsplit/lib/types.d.ts +3 -0
- package/node_modules/@zone-eu/mailsplit/package.json +5 -5
- package/node_modules/deepmerge-ts/CHANGELOG.md +69 -0
- package/node_modules/deepmerge-ts/README.md +25 -1
- package/node_modules/deepmerge-ts/dist/index.cjs +1366 -189
- package/node_modules/deepmerge-ts/dist/index.d.cts +560 -506
- package/node_modules/deepmerge-ts/dist/index.d.mts +560 -506
- package/node_modules/deepmerge-ts/dist/index.mjs +1362 -190
- package/node_modules/deepmerge-ts/package.json +85 -77
- package/node_modules/encoding-japanese/README.md +5 -4
- package/node_modules/encoding-japanese/encoding.js +173 -25
- package/node_modules/encoding-japanese/encoding.min.js +2 -2
- package/node_modules/encoding-japanese/package.json +5 -7
- package/node_modules/encoding-japanese/src/encoding-convert.js +34 -5
- package/node_modules/encoding-japanese/src/encoding-detect.js +22 -11
- package/node_modules/encoding-japanese/src/index.js +13 -1
- package/node_modules/encoding-japanese/src/sjis-ext.js +94 -0
- package/node_modules/html-to-text/CHANGELOG.md +8 -0
- package/node_modules/html-to-text/package.json +2 -2
- package/node_modules/libmime/CHANGELOG.md +14 -0
- package/node_modules/libmime/lib/libmime.js +157 -99
- package/node_modules/libmime/package.json +4 -4
- package/node_modules/mailparser/.release-please-manifest.json +1 -1
- package/node_modules/mailparser/CHANGELOG.md +57 -0
- package/node_modules/mailparser/lib/mail-parser.js +111 -12
- package/node_modules/mailparser/package.json +14 -11
- package/node_modules/nodemailer/CHANGELOG.md +87 -0
- package/node_modules/nodemailer/README.md +10 -9
- package/node_modules/nodemailer/SECURITY.md +7 -7
- package/node_modules/nodemailer/dist/cjs/addressparser/index.d.ts +47 -0
- package/node_modules/nodemailer/dist/cjs/addressparser/index.js +508 -0
- package/node_modules/nodemailer/dist/cjs/base64/index.d.ts +40 -0
- package/node_modules/nodemailer/{lib → dist/cjs}/base64/index.js +31 -53
- package/node_modules/nodemailer/dist/cjs/dkim/index.d.ts +40 -0
- package/node_modules/nodemailer/dist/cjs/dkim/index.js +211 -0
- package/node_modules/nodemailer/dist/cjs/dkim/message-parser.d.ts +41 -0
- package/node_modules/nodemailer/dist/cjs/dkim/message-parser.js +147 -0
- package/node_modules/nodemailer/dist/cjs/dkim/relaxed-body.d.ts +46 -0
- package/node_modules/nodemailer/dist/cjs/dkim/relaxed-body.js +143 -0
- package/node_modules/nodemailer/dist/cjs/dkim/sign.d.ts +49 -0
- package/node_modules/nodemailer/dist/cjs/dkim/sign.js +148 -0
- package/node_modules/nodemailer/dist/cjs/errors.d.ts +95 -0
- package/node_modules/nodemailer/dist/cjs/errors.js +70 -0
- package/node_modules/nodemailer/dist/cjs/fetch/cookies.d.ts +94 -0
- package/node_modules/nodemailer/dist/cjs/fetch/cookies.js +268 -0
- package/node_modules/nodemailer/dist/cjs/fetch/index.d.ts +51 -0
- package/node_modules/nodemailer/dist/cjs/fetch/index.js +409 -0
- package/node_modules/nodemailer/dist/cjs/json-transport/index.d.ts +54 -0
- package/node_modules/nodemailer/dist/cjs/json-transport/index.js +97 -0
- package/node_modules/nodemailer/dist/cjs/mail-composer/index.d.ts +224 -0
- package/node_modules/nodemailer/dist/cjs/mail-composer/index.js +602 -0
- package/node_modules/nodemailer/dist/cjs/mailer/index.d.ts +226 -0
- package/node_modules/nodemailer/dist/cjs/mailer/index.js +401 -0
- package/node_modules/nodemailer/dist/cjs/mailer/mail-message.d.ts +94 -0
- package/node_modules/nodemailer/dist/cjs/mailer/mail-message.js +339 -0
- package/node_modules/nodemailer/dist/cjs/mime-funcs/index.d.ts +157 -0
- package/node_modules/nodemailer/dist/cjs/mime-funcs/index.js +670 -0
- package/node_modules/nodemailer/dist/cjs/mime-funcs/mime-types.d.ts +2 -0
- package/node_modules/nodemailer/dist/cjs/mime-funcs/mime-types.js +2103 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/index.d.ts +484 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/index.js +1422 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/last-newline.d.ts +7 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/last-newline.js +30 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/le-unix.d.ts +13 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/le-unix.js +39 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/le-windows.d.ts +14 -0
- package/node_modules/nodemailer/dist/cjs/mime-node/le-windows.js +46 -0
- package/node_modules/nodemailer/dist/cjs/nodemailer.d.ts +102 -0
- package/node_modules/nodemailer/dist/cjs/nodemailer.js +207 -0
- package/node_modules/nodemailer/dist/cjs/package-info.d.ts +3 -0
- package/node_modules/nodemailer/dist/cjs/package-info.js +7 -0
- package/node_modules/nodemailer/dist/cjs/package.json +3 -0
- package/node_modules/nodemailer/dist/cjs/punycode/index.d.ts +73 -0
- package/node_modules/nodemailer/{lib → dist/cjs}/punycode/index.js +62 -112
- package/node_modules/nodemailer/dist/cjs/qp/index.d.ts +33 -0
- package/node_modules/nodemailer/{lib → dist/cjs}/qp/index.js +30 -64
- package/node_modules/nodemailer/dist/cjs/sendmail-transport/index.d.ts +69 -0
- package/node_modules/nodemailer/dist/cjs/sendmail-transport/index.js +210 -0
- package/node_modules/nodemailer/dist/cjs/ses-transport/index.d.ts +75 -0
- package/node_modules/nodemailer/dist/cjs/ses-transport/index.js +248 -0
- package/node_modules/nodemailer/dist/cjs/shared/index.d.ts +230 -0
- package/node_modules/nodemailer/dist/cjs/shared/index.js +665 -0
- package/node_modules/nodemailer/dist/cjs/shared/objects.d.ts +23 -0
- package/node_modules/nodemailer/dist/cjs/shared/objects.js +43 -0
- package/node_modules/nodemailer/dist/cjs/shared/url.d.ts +21 -0
- package/node_modules/nodemailer/dist/cjs/shared/url.js +255 -0
- package/node_modules/nodemailer/dist/cjs/smtp-connection/data-stream.d.ts +22 -0
- package/node_modules/nodemailer/dist/cjs/smtp-connection/data-stream.js +98 -0
- package/node_modules/nodemailer/dist/cjs/smtp-connection/http-proxy-client.d.ts +39 -0
- package/node_modules/nodemailer/dist/cjs/smtp-connection/http-proxy-client.js +177 -0
- package/node_modules/nodemailer/dist/cjs/smtp-connection/index.d.ts +719 -0
- package/node_modules/nodemailer/dist/cjs/smtp-connection/index.js +1676 -0
- package/node_modules/nodemailer/dist/cjs/smtp-pool/index.d.ts +163 -0
- package/node_modules/nodemailer/dist/cjs/smtp-pool/index.js +530 -0
- package/node_modules/nodemailer/dist/cjs/smtp-pool/pool-resource.d.ts +64 -0
- package/node_modules/nodemailer/dist/cjs/smtp-pool/pool-resource.js +261 -0
- package/node_modules/nodemailer/dist/cjs/smtp-transport/index.d.ts +143 -0
- package/node_modules/nodemailer/dist/cjs/smtp-transport/index.js +379 -0
- package/node_modules/nodemailer/dist/cjs/stream-transport/index.d.ts +63 -0
- package/node_modules/nodemailer/dist/cjs/stream-transport/index.js +146 -0
- package/node_modules/nodemailer/dist/cjs/well-known/index.d.ts +35 -0
- package/node_modules/nodemailer/dist/cjs/well-known/index.js +41 -0
- package/node_modules/nodemailer/dist/cjs/well-known/services.d.ts +2 -0
- package/node_modules/nodemailer/dist/cjs/well-known/services.js +666 -0
- package/node_modules/nodemailer/dist/cjs/xoauth2/index.d.ts +191 -0
- package/node_modules/nodemailer/dist/cjs/xoauth2/index.js +414 -0
- package/node_modules/nodemailer/dist/esm/addressparser/index.d.ts +47 -0
- package/node_modules/nodemailer/{lib → dist/esm}/addressparser/index.js +187 -82
- package/node_modules/nodemailer/dist/esm/base64/index.d.ts +40 -0
- package/node_modules/nodemailer/dist/esm/base64/index.js +110 -0
- package/node_modules/nodemailer/dist/esm/dkim/index.d.ts +40 -0
- package/node_modules/nodemailer/{lib → dist/esm}/dkim/index.js +29 -70
- package/node_modules/nodemailer/dist/esm/dkim/message-parser.d.ts +41 -0
- package/node_modules/nodemailer/{lib → dist/esm}/dkim/message-parser.js +28 -40
- package/node_modules/nodemailer/dist/esm/dkim/relaxed-body.d.ts +46 -0
- package/node_modules/nodemailer/dist/esm/dkim/relaxed-body.js +135 -0
- package/node_modules/nodemailer/dist/esm/dkim/sign.d.ts +49 -0
- package/node_modules/nodemailer/{lib → dist/esm}/dkim/sign.js +38 -46
- package/node_modules/nodemailer/dist/esm/errors.d.ts +95 -0
- package/node_modules/nodemailer/{lib → dist/esm}/errors.js +27 -18
- package/node_modules/nodemailer/dist/esm/fetch/cookies.d.ts +94 -0
- package/node_modules/nodemailer/{lib → dist/esm}/fetch/cookies.js +75 -121
- package/node_modules/nodemailer/dist/esm/fetch/index.d.ts +51 -0
- package/node_modules/nodemailer/{lib → dist/esm}/fetch/index.js +149 -81
- package/node_modules/nodemailer/dist/esm/json-transport/index.d.ts +54 -0
- package/node_modules/nodemailer/{lib → dist/esm}/json-transport/index.js +18 -40
- package/node_modules/nodemailer/dist/esm/mail-composer/index.d.ts +224 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mail-composer/index.js +191 -266
- package/node_modules/nodemailer/dist/esm/mailer/index.d.ts +226 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mailer/index.js +120 -213
- package/node_modules/nodemailer/dist/esm/mailer/mail-message.d.ts +94 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mailer/mail-message.js +102 -126
- package/node_modules/nodemailer/dist/esm/mime-funcs/index.d.ts +157 -0
- package/node_modules/nodemailer/dist/esm/mime-funcs/index.js +621 -0
- package/node_modules/nodemailer/dist/esm/mime-funcs/mime-types.d.ts +2 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mime-funcs/mime-types.js +29 -42
- package/node_modules/nodemailer/dist/esm/mime-node/index.d.ts +484 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mime-node/index.js +418 -374
- package/node_modules/nodemailer/dist/esm/mime-node/last-newline.d.ts +7 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mime-node/last-newline.js +2 -10
- package/node_modules/nodemailer/dist/esm/mime-node/le-unix.d.ts +13 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mime-node/le-unix.js +5 -11
- package/node_modules/nodemailer/dist/esm/mime-node/le-windows.d.ts +14 -0
- package/node_modules/nodemailer/{lib → dist/esm}/mime-node/le-windows.js +5 -13
- package/node_modules/nodemailer/dist/esm/nodemailer.d.ts +102 -0
- package/node_modules/nodemailer/{lib → dist/esm}/nodemailer.js +65 -69
- package/node_modules/nodemailer/dist/esm/package-info.d.ts +3 -0
- package/node_modules/nodemailer/dist/esm/package-info.js +4 -0
- package/node_modules/nodemailer/dist/esm/package.json +3 -0
- package/node_modules/nodemailer/dist/esm/punycode/index.d.ts +73 -0
- package/node_modules/nodemailer/dist/esm/punycode/index.js +404 -0
- package/node_modules/nodemailer/dist/esm/qp/index.d.ts +33 -0
- package/node_modules/nodemailer/dist/esm/qp/index.js +190 -0
- package/node_modules/nodemailer/dist/esm/sendmail-transport/index.d.ts +69 -0
- package/node_modules/nodemailer/{lib → dist/esm}/sendmail-transport/index.js +56 -103
- package/node_modules/nodemailer/dist/esm/ses-transport/index.d.ts +75 -0
- package/node_modules/nodemailer/dist/esm/ses-transport/index.js +208 -0
- package/node_modules/nodemailer/dist/esm/shared/index.d.ts +230 -0
- package/node_modules/nodemailer/{lib → dist/esm}/shared/index.js +155 -270
- package/node_modules/nodemailer/dist/esm/shared/objects.d.ts +23 -0
- package/node_modules/nodemailer/dist/esm/shared/objects.js +38 -0
- package/node_modules/nodemailer/dist/esm/shared/url.d.ts +21 -0
- package/node_modules/nodemailer/dist/esm/shared/url.js +214 -0
- package/node_modules/nodemailer/dist/esm/smtp-connection/data-stream.d.ts +22 -0
- package/node_modules/nodemailer/{lib → dist/esm}/smtp-connection/data-stream.js +14 -26
- package/node_modules/nodemailer/dist/esm/smtp-connection/http-proxy-client.d.ts +39 -0
- package/node_modules/nodemailer/{lib → dist/esm}/smtp-connection/http-proxy-client.js +27 -64
- package/node_modules/nodemailer/dist/esm/smtp-connection/index.d.ts +719 -0
- package/node_modules/nodemailer/{lib → dist/esm}/smtp-connection/index.js +332 -713
- package/node_modules/nodemailer/dist/esm/smtp-pool/index.d.ts +163 -0
- package/node_modules/nodemailer/{lib → dist/esm}/smtp-pool/index.js +120 -271
- package/node_modules/nodemailer/dist/esm/smtp-pool/pool-resource.d.ts +64 -0
- package/node_modules/nodemailer/{lib → dist/esm}/smtp-pool/pool-resource.js +36 -72
- package/node_modules/nodemailer/dist/esm/smtp-transport/index.d.ts +143 -0
- package/node_modules/nodemailer/{lib → dist/esm}/smtp-transport/index.js +58 -148
- package/node_modules/nodemailer/dist/esm/stream-transport/index.d.ts +63 -0
- package/node_modules/nodemailer/{lib → dist/esm}/stream-transport/index.js +37 -75
- package/node_modules/nodemailer/dist/esm/well-known/index.d.ts +35 -0
- package/node_modules/nodemailer/{lib → dist/esm}/well-known/index.js +5 -16
- package/node_modules/nodemailer/dist/esm/well-known/services.d.ts +2 -0
- package/node_modules/nodemailer/dist/esm/well-known/services.js +663 -0
- package/node_modules/nodemailer/dist/esm/xoauth2/index.d.ts +191 -0
- package/node_modules/nodemailer/{lib → dist/esm}/xoauth2/index.js +101 -175
- package/node_modules/nodemailer/{lib → dist}/well-known/services.json +14 -0
- package/node_modules/nodemailer/package.json +142 -17
- package/node_modules/uuid/README.md +19 -19
- package/node_modules/uuid/dist/v1.js +7 -3
- package/node_modules/uuid/dist/v7.js +5 -2
- package/node_modules/uuid/dist-node/v1.js +7 -3
- package/node_modules/uuid/dist-node/v7.js +5 -2
- package/node_modules/uuid/package.json +4 -3
- package/package.json +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +0 -135
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -17
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/getEndpointUrlConfig.js +0 -21
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +0 -12
- package/node_modules/nodemailer/.gitattributes +0 -6
- package/node_modules/nodemailer/.ncurc.js +0 -9
- package/node_modules/nodemailer/.prettierignore +0 -8
- package/node_modules/nodemailer/.prettierrc +0 -12
- package/node_modules/nodemailer/.prettierrc.js +0 -10
- package/node_modules/nodemailer/.release-please-config.json +0 -9
- package/node_modules/nodemailer/CLAUDE.md +0 -56
- package/node_modules/nodemailer/CODE_OF_CONDUCT.md +0 -76
- package/node_modules/nodemailer/eslint.config.js +0 -88
- package/node_modules/nodemailer/lib/dkim/relaxed-body.js +0 -154
- package/node_modules/nodemailer/lib/mime-funcs/index.js +0 -610
- package/node_modules/nodemailer/lib/ses-transport/index.js +0 -265
- package/node_modules/nodemailer/lib/shared/url.js +0 -151
|
@@ -0,0 +1,1676 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
const packageData = __importStar(require("../package-info.js"));
|
|
40
|
+
const node_events_1 = require("node:events");
|
|
41
|
+
const node_net_1 = __importDefault(require("node:net"));
|
|
42
|
+
const node_tls_1 = __importDefault(require("node:tls"));
|
|
43
|
+
const node_os_1 = __importDefault(require("node:os"));
|
|
44
|
+
const node_crypto_1 = __importDefault(require("node:crypto"));
|
|
45
|
+
const data_stream_js_1 = __importDefault(require("./data-stream.js"));
|
|
46
|
+
const node_stream_1 = require("node:stream");
|
|
47
|
+
const shared = __importStar(require("../shared/index.js"));
|
|
48
|
+
// default timeout values in ms
|
|
49
|
+
const CONNECTION_TIMEOUT = 2 * 60 * 1000; // how much to wait for the connection to be established
|
|
50
|
+
const SOCKET_TIMEOUT = 10 * 60 * 1000; // how much to wait for socket inactivity before disconnecting the client
|
|
51
|
+
const GREETING_TIMEOUT = 30 * 1000; // how much to wait after connection is established but SMTP greeting is not receieved
|
|
52
|
+
const DNS_TIMEOUT = 30 * 1000; // how much to wait for resolveHostname
|
|
53
|
+
const TEARDOWN_NOOP = () => { }; // reusable no-op handler for absorbing errors during socket teardown
|
|
54
|
+
/**
|
|
55
|
+
* Re-interpret a server response stored in fake 8-bit byte-container form
|
|
56
|
+
* (the result of chunk.toString('binary') in _onData) as UTF-8.
|
|
57
|
+
*
|
|
58
|
+
* Server reply text has no formally defined charset (RFC 5321 §4.2.1), but
|
|
59
|
+
* modern MTAs commonly use UTF-8. The byte-container plumbing in _onData is
|
|
60
|
+
* required to reassemble multi-byte sequences split across socket chunks;
|
|
61
|
+
* this helper performs the actual decode at the line boundary, falling back
|
|
62
|
+
* to the byte-container form when the bytes are not valid UTF-8 so that
|
|
63
|
+
* legacy 8-bit replies are still recoverable byte-for-byte.
|
|
64
|
+
*/
|
|
65
|
+
function decodeServerResponse(str) {
|
|
66
|
+
if (!str) {
|
|
67
|
+
return str;
|
|
68
|
+
}
|
|
69
|
+
const utf8 = Buffer.from(str, 'binary').toString('utf8');
|
|
70
|
+
// The input is a byte container (each char is in U+0000..U+00FF) so it can never
|
|
71
|
+
// already contain U+FFFD; any \uFFFD in the result was inserted by Node's UTF-8
|
|
72
|
+
// decoder for invalid bytes, which means we should return the original bytes intact.
|
|
73
|
+
return utf8.includes('\uFFFD') ? str : utf8;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* True when the last line of a queued reply is a continuation ("250-..."), which means
|
|
77
|
+
* the rest of the reply is still on its way.
|
|
78
|
+
*
|
|
79
|
+
* Called with the byte-container form the queue holds (see _onData): the check only looks
|
|
80
|
+
* at leading ASCII digits and '-' of the last line, and a UTF-8 continuation byte is never
|
|
81
|
+
* 0x0A, so line boundaries and the tested prefix are the same before and after decoding.
|
|
82
|
+
* The last line is read with lastIndexOf rather than split() because a queue entry grows
|
|
83
|
+
* with every chunk appended to it and only its final line matters.
|
|
84
|
+
*/
|
|
85
|
+
function isPartialResponse(str) {
|
|
86
|
+
return /^\d+-/.test(str.slice(str.lastIndexOf('\n') + 1));
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Generates a SMTP connection object
|
|
90
|
+
*
|
|
91
|
+
* Optional options object takes the following possible properties:
|
|
92
|
+
*
|
|
93
|
+
* * **port** - is the port to connect to (defaults to 587 or 465)
|
|
94
|
+
* * **host** - is the hostname or IP address to connect to (defaults to 'localhost')
|
|
95
|
+
* * **secure** - use SSL
|
|
96
|
+
* * **ignoreTLS** - ignore server support for STARTTLS
|
|
97
|
+
* * **requireTLS** - forces the client to use STARTTLS
|
|
98
|
+
* * **name** - the name of the client server
|
|
99
|
+
* * **localAddress** - outbound address to bind to (see: http://nodejs.org/api/net.html#net_net_connect_options_connectionlistener)
|
|
100
|
+
* * **greetingTimeout** - Time to wait in ms until greeting message is received from the server (defaults to 30 seconds)
|
|
101
|
+
* * **connectionTimeout** - how many milliseconds to wait for the connection to establish (defaults to 2 minutes)
|
|
102
|
+
* * **socketTimeout** - Time of inactivity until the connection is closed (defaults to 10 minutes)
|
|
103
|
+
* * **dnsTimeout** - Time to wait in ms for the DNS requests to be resolved (defaults to 30 seconds)
|
|
104
|
+
* * **lmtp** - if true, uses LMTP instead of SMTP protocol
|
|
105
|
+
* * **logger** - bunyan compatible logger interface
|
|
106
|
+
* * **debug** - if true pass SMTP traffic to the logger
|
|
107
|
+
* * **tls** - options for createCredentials
|
|
108
|
+
* * **socket** - existing socket to use instead of creating a new one (see: http://nodejs.org/api/net.html#net_class_net_socket)
|
|
109
|
+
* * **secured** - boolean indicates that the provided socket has already been upgraded to tls
|
|
110
|
+
*
|
|
111
|
+
* @constructor
|
|
112
|
+
* @namespace SMTP Client module
|
|
113
|
+
* @param [options] Option properties
|
|
114
|
+
*/
|
|
115
|
+
class SMTPConnection extends node_events_1.EventEmitter {
|
|
116
|
+
constructor(options) {
|
|
117
|
+
super(options);
|
|
118
|
+
this.id = node_crypto_1.default.randomBytes(8).toString('base64').replace(/\W/g, '');
|
|
119
|
+
this.stage = 'init';
|
|
120
|
+
this.options = options || {};
|
|
121
|
+
this.secureConnection = !!this.options.secure;
|
|
122
|
+
this.alreadySecured = !!this.options.secured;
|
|
123
|
+
this.port = Number(this.options.port) || (this.secureConnection ? 465 : 587);
|
|
124
|
+
this.host = this.options.host || 'localhost';
|
|
125
|
+
this.servername = this.options.servername ? this.options.servername : !node_net_1.default.isIP(this.host) ? this.host : false;
|
|
126
|
+
this.allowInternalNetworkInterfaces = this.options.allowInternalNetworkInterfaces || false;
|
|
127
|
+
if (typeof this.options.secure === 'undefined' && this.port === 465) {
|
|
128
|
+
// if secure option is not set but port is 465, then default to secure
|
|
129
|
+
this.secureConnection = true;
|
|
130
|
+
}
|
|
131
|
+
this.name = (this.options.name || this._getHostname()).toString().replace(/[\r\n]+/g, '');
|
|
132
|
+
this.logger = shared.getLogger(this.options, {
|
|
133
|
+
component: this.options.component || 'smtp-connection',
|
|
134
|
+
sid: this.id
|
|
135
|
+
});
|
|
136
|
+
this.customAuth = new Map();
|
|
137
|
+
for (const key of Object.keys(this.options.customAuth || {})) {
|
|
138
|
+
const mapKey = (key || '').toString().trim().toUpperCase();
|
|
139
|
+
if (mapKey) {
|
|
140
|
+
this.customAuth.set(mapKey, this.options.customAuth[key]);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
this.version = packageData.version;
|
|
144
|
+
this.authenticated = false;
|
|
145
|
+
this.destroyed = false;
|
|
146
|
+
this.secure = !!this.secureConnection;
|
|
147
|
+
this._remainder = '';
|
|
148
|
+
this._responseQueue = [];
|
|
149
|
+
this.lastServerResponse = false;
|
|
150
|
+
this._socket = false;
|
|
151
|
+
this._supportedAuth = [];
|
|
152
|
+
this.allowsAuth = false;
|
|
153
|
+
this._envelope = false;
|
|
154
|
+
this._supportedExtensions = [];
|
|
155
|
+
this._maxAllowedSize = 0;
|
|
156
|
+
this._responseActions = [];
|
|
157
|
+
this._recipientQueue = [];
|
|
158
|
+
this._greetingTimeout = false;
|
|
159
|
+
this._connectionTimeout = false;
|
|
160
|
+
this._destroyed = false;
|
|
161
|
+
this._closing = false;
|
|
162
|
+
this._currentDataStream = false;
|
|
163
|
+
this._onSocketData = chunk => this._onData(chunk);
|
|
164
|
+
this._onSocketError = error => this._onError(error, 'ESOCKET', false, 'CONN');
|
|
165
|
+
this._onSocketClose = () => this._onClose();
|
|
166
|
+
this._onSocketEnd = () => this._onEnd();
|
|
167
|
+
this._onSocketTimeout = () => this._onTimeout();
|
|
168
|
+
this._onConnectionSocketError = err => this._onConnectionError(err, 'ESOCKET');
|
|
169
|
+
this._connectionAttemptId = 0;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Creates a connection to a SMTP server and sets up connection
|
|
173
|
+
* listener
|
|
174
|
+
*/
|
|
175
|
+
connect(connectCallback) {
|
|
176
|
+
if (typeof connectCallback === 'function') {
|
|
177
|
+
this.once('connect', () => {
|
|
178
|
+
this.logger.debug({
|
|
179
|
+
tnx: 'smtp'
|
|
180
|
+
}, 'SMTP handshake finished');
|
|
181
|
+
connectCallback();
|
|
182
|
+
});
|
|
183
|
+
const isDestroyedMessage = this._isDestroyedMessage('connect');
|
|
184
|
+
if (isDestroyedMessage) {
|
|
185
|
+
return connectCallback(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'CONN'));
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
let opts = {
|
|
189
|
+
port: this.port,
|
|
190
|
+
host: this.host,
|
|
191
|
+
allowInternalNetworkInterfaces: this.allowInternalNetworkInterfaces,
|
|
192
|
+
timeout: this.options.dnsTimeout || DNS_TIMEOUT
|
|
193
|
+
};
|
|
194
|
+
if (this.options.localAddress) {
|
|
195
|
+
opts.localAddress = this.options.localAddress;
|
|
196
|
+
}
|
|
197
|
+
if (this.options.connection) {
|
|
198
|
+
// connection is already opened
|
|
199
|
+
this._socket = this.options.connection;
|
|
200
|
+
this._setupConnectionHandlers();
|
|
201
|
+
if (this.secureConnection && !this.alreadySecured) {
|
|
202
|
+
setImmediate(() => this._upgradeConnection(err => {
|
|
203
|
+
if (err) {
|
|
204
|
+
this._onError(new Error('Error initiating TLS - ' + (err.message || err)), 'ETLS', false, 'CONN');
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
this._onConnect();
|
|
208
|
+
}));
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
setImmediate(() => this._onConnect());
|
|
212
|
+
}
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
else if (this.options.socket) {
|
|
216
|
+
// socket object is set up but not yet connected
|
|
217
|
+
this._socket = this.options.socket;
|
|
218
|
+
return this._resolveAndConnect(opts, _resolved => {
|
|
219
|
+
try {
|
|
220
|
+
this._socket.connect(this.port, this.host, () => {
|
|
221
|
+
this._socket.setKeepAlive(true);
|
|
222
|
+
// a `secure` connection over a caller-provided socket must still
|
|
223
|
+
// perform the TLS handshake, otherwise AUTH and the message body
|
|
224
|
+
// would be sent in cleartext despite the caller requesting TLS
|
|
225
|
+
if (this.secureConnection && !this.alreadySecured) {
|
|
226
|
+
return this._upgradeConnection(err => {
|
|
227
|
+
if (err) {
|
|
228
|
+
this._onError(new Error('Error initiating TLS - ' + (err.message || err)), 'ETLS', false, 'CONN');
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
this._onConnect();
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
this._onConnect();
|
|
235
|
+
});
|
|
236
|
+
this._setupConnectionHandlers();
|
|
237
|
+
}
|
|
238
|
+
catch (E) {
|
|
239
|
+
setImmediate(() => this._onError(E, 'ECONNECTION', false, 'CONN'));
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
if (this.secureConnection) {
|
|
246
|
+
Object.assign(opts, this.options.tls || {});
|
|
247
|
+
// ensure servername for SNI
|
|
248
|
+
if (this.servername && !opts.servername) {
|
|
249
|
+
opts.servername = this.servername;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return this._resolveAndConnect(opts, resolved => {
|
|
253
|
+
// Store fallback addresses for retry on connection failure
|
|
254
|
+
this._fallbackAddresses = (resolved._addresses || []).filter(addr => addr !== opts.host);
|
|
255
|
+
this._connectOpts = Object.assign({}, opts);
|
|
256
|
+
this._connectToHost(opts, this.secureConnection);
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Resolves the hostname and applies resolved values to opts,
|
|
262
|
+
* then calls the provided callback with the resolved data
|
|
263
|
+
*
|
|
264
|
+
* @param opts Connection options (modified in place)
|
|
265
|
+
* @param callback Called with resolved data on success
|
|
266
|
+
*/
|
|
267
|
+
_resolveAndConnect(opts, callback) {
|
|
268
|
+
return shared.resolveHostname(opts, (err, resolved) => {
|
|
269
|
+
if (err) {
|
|
270
|
+
return setImmediate(() => this._onError(err, 'EDNS', false, 'CONN'));
|
|
271
|
+
}
|
|
272
|
+
this.logger.debug({
|
|
273
|
+
tnx: 'dns',
|
|
274
|
+
source: opts.host,
|
|
275
|
+
resolved: resolved.host,
|
|
276
|
+
cached: !!resolved.cached
|
|
277
|
+
}, 'Resolved %s as %s [cache %s]', opts.host, resolved.host, resolved.cached ? 'hit' : 'miss');
|
|
278
|
+
for (const key of Object.keys(resolved)) {
|
|
279
|
+
if (key.charAt(0) !== '_' && resolved[key]) {
|
|
280
|
+
opts[key] = resolved[key];
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
callback(resolved);
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Attempts to connect to the specified host address
|
|
288
|
+
*
|
|
289
|
+
* @param opts Connection options
|
|
290
|
+
* @param secure Whether to use TLS
|
|
291
|
+
*/
|
|
292
|
+
_connectToHost(opts, secure) {
|
|
293
|
+
// If the client was closed while DNS resolution was in flight, do not open
|
|
294
|
+
// a socket here: close() ran with this._socket still unset and so had
|
|
295
|
+
// nothing to tear down, and _onConnect's remedial close() is a no-op once
|
|
296
|
+
// _closing is set, the freshly connected socket would leak.
|
|
297
|
+
if (this._destroyed || this._closing) {
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
this._connectionAttemptId++;
|
|
301
|
+
const currentAttemptId = this._connectionAttemptId;
|
|
302
|
+
const connectFn = secure
|
|
303
|
+
? node_tls_1.default.connect
|
|
304
|
+
: node_net_1.default.connect;
|
|
305
|
+
try {
|
|
306
|
+
this._socket = connectFn(opts, () => {
|
|
307
|
+
// Ignore callback if this is a stale connection attempt
|
|
308
|
+
if (this._connectionAttemptId !== currentAttemptId) {
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
this._socket.setKeepAlive(true);
|
|
312
|
+
this._onConnect();
|
|
313
|
+
});
|
|
314
|
+
this._setupConnectionHandlers();
|
|
315
|
+
}
|
|
316
|
+
catch (E) {
|
|
317
|
+
setImmediate(() => this._onError(E, 'ECONNECTION', false, 'CONN'));
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Sets up connection timeout and error handlers
|
|
323
|
+
*/
|
|
324
|
+
_setupConnectionHandlers() {
|
|
325
|
+
this._connectionTimeout = setTimeout(() => {
|
|
326
|
+
this._onConnectionError('Connection timeout', 'ETIMEDOUT');
|
|
327
|
+
}, this.options.connectionTimeout || CONNECTION_TIMEOUT);
|
|
328
|
+
this._socket.on('error', this._onConnectionSocketError);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Handles connection errors with fallback to alternative addresses
|
|
332
|
+
*
|
|
333
|
+
* @param err Error object or message
|
|
334
|
+
* @param code Error code
|
|
335
|
+
*/
|
|
336
|
+
_onConnectionError(err, code) {
|
|
337
|
+
clearTimeout(this._connectionTimeout);
|
|
338
|
+
// Check if we have fallback addresses to try
|
|
339
|
+
const canFallback = this._fallbackAddresses && this._fallbackAddresses.length && this.stage === 'init' && !this._destroyed;
|
|
340
|
+
if (!canFallback) {
|
|
341
|
+
// No more fallback addresses, report the error
|
|
342
|
+
this._onError(err, code, false, 'CONN');
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
const nextHost = this._fallbackAddresses.shift();
|
|
346
|
+
this.logger.info({
|
|
347
|
+
tnx: 'network',
|
|
348
|
+
failedHost: this._connectOpts.host,
|
|
349
|
+
nextHost,
|
|
350
|
+
error: err.message || err
|
|
351
|
+
}, 'Connection to %s failed, trying %s', this._connectOpts.host, nextHost);
|
|
352
|
+
// Clean up current socket
|
|
353
|
+
if (this._socket) {
|
|
354
|
+
try {
|
|
355
|
+
this._socket.removeListener('error', this._onConnectionSocketError);
|
|
356
|
+
// Absorb any late teardown error (e.g. a TLS fallback socket emitting
|
|
357
|
+
// after destroy), mirroring the guard used in close()
|
|
358
|
+
this._socket.on('error', TEARDOWN_NOOP);
|
|
359
|
+
this._socket.destroy();
|
|
360
|
+
}
|
|
361
|
+
catch (_E) {
|
|
362
|
+
// ignore
|
|
363
|
+
}
|
|
364
|
+
this._socket = null;
|
|
365
|
+
}
|
|
366
|
+
// Update host and retry
|
|
367
|
+
this._connectOpts.host = nextHost;
|
|
368
|
+
this._connectToHost(this._connectOpts, this.secureConnection);
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Sends QUIT
|
|
372
|
+
*/
|
|
373
|
+
quit() {
|
|
374
|
+
this._sendCommand('QUIT');
|
|
375
|
+
this._responseActions.push(this.close);
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Closes the connection to the server
|
|
379
|
+
*/
|
|
380
|
+
close() {
|
|
381
|
+
clearTimeout(this._connectionTimeout);
|
|
382
|
+
clearTimeout(this._greetingTimeout);
|
|
383
|
+
this._responseActions = [];
|
|
384
|
+
// allow to run this function only once
|
|
385
|
+
if (this._closing) {
|
|
386
|
+
return;
|
|
387
|
+
}
|
|
388
|
+
this._closing = true;
|
|
389
|
+
const closeMethod = this.stage === 'init' ? 'destroy' : 'end';
|
|
390
|
+
this.logger.debug({
|
|
391
|
+
tnx: 'smtp'
|
|
392
|
+
}, 'Closing connection to the server using "%s"', closeMethod);
|
|
393
|
+
const socket = (this._socket && this._socket.socket) || this._socket;
|
|
394
|
+
// Detach any in-flight DATA stream from the socket so the source stream
|
|
395
|
+
// can be garbage-collected once the socket is gone.
|
|
396
|
+
if (this._currentDataStream) {
|
|
397
|
+
try {
|
|
398
|
+
this._currentDataStream.unpipe(this._socket);
|
|
399
|
+
}
|
|
400
|
+
catch (_E) {
|
|
401
|
+
// ignore
|
|
402
|
+
}
|
|
403
|
+
this._currentDataStream = false;
|
|
404
|
+
}
|
|
405
|
+
if (socket && !socket.destroyed) {
|
|
406
|
+
try {
|
|
407
|
+
// Clear socket timeout to prevent timer leaks
|
|
408
|
+
socket.setTimeout(0);
|
|
409
|
+
// Remove all listeners to allow proper garbage collection
|
|
410
|
+
socket.removeListener('data', this._onSocketData);
|
|
411
|
+
socket.removeListener('timeout', this._onSocketTimeout);
|
|
412
|
+
socket.removeListener('close', this._onSocketClose);
|
|
413
|
+
socket.removeListener('end', this._onSocketEnd);
|
|
414
|
+
socket.removeListener('error', this._onSocketError);
|
|
415
|
+
socket.removeListener('error', this._onConnectionSocketError);
|
|
416
|
+
// Absorb errors that may fire during socket teardown (e.g. server
|
|
417
|
+
// sending cleartext after TLS shutdown triggers ERR_SSL_BAD_RECORD_TYPE)
|
|
418
|
+
socket.on('error', TEARDOWN_NOOP);
|
|
419
|
+
socket[closeMethod]();
|
|
420
|
+
}
|
|
421
|
+
catch (_E) {
|
|
422
|
+
// just ignore
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
this._destroy();
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Authenticate user
|
|
429
|
+
*/
|
|
430
|
+
login(authData, callback) {
|
|
431
|
+
const isDestroyedMessage = this._isDestroyedMessage('login');
|
|
432
|
+
if (isDestroyedMessage) {
|
|
433
|
+
return callback(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'API'));
|
|
434
|
+
}
|
|
435
|
+
this._auth = authData || {};
|
|
436
|
+
// Select SASL authentication method
|
|
437
|
+
this._authMethod = (this._auth.method || '').toString().trim().toUpperCase() || false;
|
|
438
|
+
if (!this._authMethod && this._auth.oauth2 && !this._auth.credentials) {
|
|
439
|
+
this._authMethod = 'XOAUTH2';
|
|
440
|
+
}
|
|
441
|
+
else if (!this._authMethod || (this._authMethod === 'XOAUTH2' && !this._auth.oauth2)) {
|
|
442
|
+
// use first supported
|
|
443
|
+
this._authMethod = (this._supportedAuth[0] || 'PLAIN').toUpperCase().trim();
|
|
444
|
+
}
|
|
445
|
+
if (this._authMethod !== 'XOAUTH2' && (!this._auth.credentials || !this._auth.credentials.user || !this._auth.credentials.pass)) {
|
|
446
|
+
if ((this._auth.user && this._auth.pass) || this.customAuth.has(this._authMethod)) {
|
|
447
|
+
this._auth.credentials = {
|
|
448
|
+
user: this._auth.user,
|
|
449
|
+
pass: this._auth.pass,
|
|
450
|
+
options: this._auth.options
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
else {
|
|
454
|
+
return callback(this._formatError('Missing credentials for "' + this._authMethod + '"', 'EAUTH', false, 'API'));
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
if (this.customAuth.has(this._authMethod)) {
|
|
458
|
+
const handler = this.customAuth.get(this._authMethod);
|
|
459
|
+
let lastResponse;
|
|
460
|
+
let returned = false;
|
|
461
|
+
const resolve = () => {
|
|
462
|
+
if (returned) {
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
returned = true;
|
|
466
|
+
this.logger.info({
|
|
467
|
+
tnx: 'smtp',
|
|
468
|
+
username: this._auth.user,
|
|
469
|
+
action: 'authenticated',
|
|
470
|
+
method: this._authMethod
|
|
471
|
+
}, 'User %s authenticated', JSON.stringify(this._auth.user));
|
|
472
|
+
this.authenticated = true;
|
|
473
|
+
callback(null, true);
|
|
474
|
+
};
|
|
475
|
+
const reject = (err) => {
|
|
476
|
+
if (returned) {
|
|
477
|
+
return;
|
|
478
|
+
}
|
|
479
|
+
returned = true;
|
|
480
|
+
callback(this._formatError(err, 'EAUTH', lastResponse, 'AUTH ' + this._authMethod));
|
|
481
|
+
};
|
|
482
|
+
const handlerResponse = handler({
|
|
483
|
+
auth: this._auth,
|
|
484
|
+
method: this._authMethod,
|
|
485
|
+
extensions: [].concat(this._supportedExtensions),
|
|
486
|
+
authMethods: [].concat(this._supportedAuth),
|
|
487
|
+
maxAllowedSize: this._maxAllowedSize || false,
|
|
488
|
+
sendCommand: (cmd, done) => {
|
|
489
|
+
let promise;
|
|
490
|
+
if (!done) {
|
|
491
|
+
promise = new Promise((resolve, reject) => {
|
|
492
|
+
done = shared.callbackPromise(resolve, reject);
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
this._responseActions.push(str => {
|
|
496
|
+
lastResponse = str;
|
|
497
|
+
let codes = str.match(/^(\d+)(?:\s(\d+\.\d+\.\d+))?\s/);
|
|
498
|
+
let data = {
|
|
499
|
+
command: cmd,
|
|
500
|
+
response: str
|
|
501
|
+
};
|
|
502
|
+
if (codes) {
|
|
503
|
+
data.status = Number(codes[1]) || 0;
|
|
504
|
+
if (codes[2]) {
|
|
505
|
+
data.code = codes[2];
|
|
506
|
+
}
|
|
507
|
+
data.text = str.substr(codes[0].length);
|
|
508
|
+
}
|
|
509
|
+
else {
|
|
510
|
+
data.text = str;
|
|
511
|
+
data.status = 0; // just in case we need to perform numeric comparisons
|
|
512
|
+
}
|
|
513
|
+
done(null, data);
|
|
514
|
+
});
|
|
515
|
+
setImmediate(() => this._sendCommand(cmd));
|
|
516
|
+
return promise;
|
|
517
|
+
},
|
|
518
|
+
resolve,
|
|
519
|
+
reject
|
|
520
|
+
});
|
|
521
|
+
if (handlerResponse && typeof handlerResponse.catch === 'function') {
|
|
522
|
+
// a promise was returned
|
|
523
|
+
handlerResponse.then(resolve).catch(reject);
|
|
524
|
+
}
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
switch (this._authMethod) {
|
|
528
|
+
case 'XOAUTH2':
|
|
529
|
+
this._handleXOauth2Token(false, callback);
|
|
530
|
+
return;
|
|
531
|
+
case 'LOGIN':
|
|
532
|
+
this._responseActions.push(str => {
|
|
533
|
+
this._actionAUTH_LOGIN_USER(str, callback);
|
|
534
|
+
});
|
|
535
|
+
this._sendCommand('AUTH LOGIN');
|
|
536
|
+
return;
|
|
537
|
+
case 'PLAIN':
|
|
538
|
+
this._responseActions.push(str => {
|
|
539
|
+
this._actionAUTHComplete(str, callback);
|
|
540
|
+
});
|
|
541
|
+
this._sendCommand('AUTH PLAIN ' +
|
|
542
|
+
Buffer.from(
|
|
543
|
+
//this._auth.user+'\u0000'+
|
|
544
|
+
'\u0000' + // skip authorization identity as it causes problems with some servers
|
|
545
|
+
this._auth.credentials.user +
|
|
546
|
+
'\u0000' +
|
|
547
|
+
this._auth.credentials.pass, 'utf-8').toString('base64'),
|
|
548
|
+
// log entry without passwords
|
|
549
|
+
'AUTH PLAIN ' +
|
|
550
|
+
Buffer.from(
|
|
551
|
+
//this._auth.user+'\u0000'+
|
|
552
|
+
'\u0000' + // skip authorization identity as it causes problems with some servers
|
|
553
|
+
this._auth.credentials.user +
|
|
554
|
+
'\u0000' +
|
|
555
|
+
'/* secret */', 'utf-8').toString('base64'));
|
|
556
|
+
return;
|
|
557
|
+
case 'CRAM-MD5':
|
|
558
|
+
this._responseActions.push(str => {
|
|
559
|
+
this._actionAUTH_CRAM_MD5(str, callback);
|
|
560
|
+
});
|
|
561
|
+
this._sendCommand('AUTH CRAM-MD5');
|
|
562
|
+
return;
|
|
563
|
+
}
|
|
564
|
+
return callback(this._formatError('Unknown authentication method "' + this._authMethod + '"', 'EAUTH', false, 'API'));
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* Sends a message
|
|
568
|
+
*
|
|
569
|
+
* @param envelope Envelope object, {from: addr, to: [addr]}
|
|
570
|
+
* @param message String, Buffer or a Stream
|
|
571
|
+
* @param callback Callback to return once sending is completed
|
|
572
|
+
*/
|
|
573
|
+
send(envelope, message, done) {
|
|
574
|
+
if (!message) {
|
|
575
|
+
return done(this._formatError('Empty message', 'EMESSAGE', false, 'API'));
|
|
576
|
+
}
|
|
577
|
+
const isDestroyedMessage = this._isDestroyedMessage('send message');
|
|
578
|
+
if (isDestroyedMessage) {
|
|
579
|
+
return done(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'API'));
|
|
580
|
+
}
|
|
581
|
+
// reject larger messages than allowed
|
|
582
|
+
if (this._maxAllowedSize && envelope.size > this._maxAllowedSize) {
|
|
583
|
+
setImmediate(() => {
|
|
584
|
+
done(this._formatError('Message size larger than allowed ' + this._maxAllowedSize, 'EMESSAGE', false, 'MAIL FROM'));
|
|
585
|
+
});
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
// ensure that callback is only called once
|
|
589
|
+
let returned = false;
|
|
590
|
+
const callback = function (...args) {
|
|
591
|
+
if (returned) {
|
|
592
|
+
return;
|
|
593
|
+
}
|
|
594
|
+
returned = true;
|
|
595
|
+
done(...args);
|
|
596
|
+
};
|
|
597
|
+
if (typeof message.on === 'function') {
|
|
598
|
+
message.on('error', err => callback(this._formatError(err, 'ESTREAM', false, 'API')));
|
|
599
|
+
}
|
|
600
|
+
const startTime = Date.now();
|
|
601
|
+
this._setEnvelope(envelope, (err, info) => {
|
|
602
|
+
if (err) {
|
|
603
|
+
// create passthrough stream to consume to prevent OOM
|
|
604
|
+
const stream = new node_stream_1.PassThrough();
|
|
605
|
+
if (typeof message.pipe === 'function') {
|
|
606
|
+
message.pipe(stream);
|
|
607
|
+
}
|
|
608
|
+
else {
|
|
609
|
+
stream.write(message);
|
|
610
|
+
stream.end();
|
|
611
|
+
}
|
|
612
|
+
return callback(err);
|
|
613
|
+
}
|
|
614
|
+
const envelopeTime = Date.now();
|
|
615
|
+
const stream = this._createSendStream((err, str) => {
|
|
616
|
+
if (err) {
|
|
617
|
+
return callback(err);
|
|
618
|
+
}
|
|
619
|
+
info.envelopeTime = envelopeTime - startTime;
|
|
620
|
+
info.messageTime = Date.now() - envelopeTime;
|
|
621
|
+
info.messageSize = stream.outByteCount;
|
|
622
|
+
info.response = str;
|
|
623
|
+
return callback(null, info);
|
|
624
|
+
});
|
|
625
|
+
if (typeof message.pipe === 'function') {
|
|
626
|
+
message.pipe(stream);
|
|
627
|
+
}
|
|
628
|
+
else {
|
|
629
|
+
stream.write(message);
|
|
630
|
+
stream.end();
|
|
631
|
+
}
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Resets connection state
|
|
636
|
+
*
|
|
637
|
+
* @param callback Callback to return once connection is reset
|
|
638
|
+
*/
|
|
639
|
+
reset(callback) {
|
|
640
|
+
const isDestroyedMessage = this._isDestroyedMessage('reset');
|
|
641
|
+
if (isDestroyedMessage) {
|
|
642
|
+
return callback(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'API'));
|
|
643
|
+
}
|
|
644
|
+
this._sendCommand('RSET');
|
|
645
|
+
this._responseActions.push(str => {
|
|
646
|
+
if (str.charAt(0) !== '2') {
|
|
647
|
+
return callback(this._formatError('Could not reset session state. response=' + str, 'EPROTOCOL', str, 'RSET'));
|
|
648
|
+
}
|
|
649
|
+
this._envelope = false;
|
|
650
|
+
return callback(null, true);
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Connection listener that is run when the connection to
|
|
655
|
+
* the server is opened
|
|
656
|
+
*
|
|
657
|
+
* @event
|
|
658
|
+
*/
|
|
659
|
+
_onConnect() {
|
|
660
|
+
const socket = this._socket;
|
|
661
|
+
clearTimeout(this._connectionTimeout);
|
|
662
|
+
this.logger.info({
|
|
663
|
+
tnx: 'network',
|
|
664
|
+
localAddress: socket.localAddress,
|
|
665
|
+
localPort: socket.localPort,
|
|
666
|
+
remoteAddress: socket.remoteAddress,
|
|
667
|
+
remotePort: socket.remotePort
|
|
668
|
+
}, '%s established to %s:%s', this.secure ? 'Secure connection' : 'Connection', socket.remoteAddress, socket.remotePort);
|
|
669
|
+
if (this._destroyed) {
|
|
670
|
+
// Connection was established after we already had canceled it
|
|
671
|
+
this.close();
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
this.stage = 'connected';
|
|
675
|
+
// clear existing listeners for the socket
|
|
676
|
+
socket.removeListener('data', this._onSocketData);
|
|
677
|
+
socket.removeListener('timeout', this._onSocketTimeout);
|
|
678
|
+
socket.removeListener('close', this._onSocketClose);
|
|
679
|
+
socket.removeListener('end', this._onSocketEnd);
|
|
680
|
+
// Switch from connection-phase error handler to normal error handler
|
|
681
|
+
socket.removeListener('error', this._onConnectionSocketError);
|
|
682
|
+
// _upgradeConnection (options.connection + secure) may already have attached
|
|
683
|
+
// the normal handler; remove it first so we never end up with a duplicate
|
|
684
|
+
socket.removeListener('error', this._onSocketError);
|
|
685
|
+
socket.on('error', this._onSocketError);
|
|
686
|
+
socket.on('data', this._onSocketData);
|
|
687
|
+
socket.once('close', this._onSocketClose);
|
|
688
|
+
socket.once('end', this._onSocketEnd);
|
|
689
|
+
socket.setTimeout(this.options.socketTimeout || SOCKET_TIMEOUT);
|
|
690
|
+
socket.on('timeout', this._onSocketTimeout);
|
|
691
|
+
this._greetingTimeout = setTimeout(() => {
|
|
692
|
+
// if still waiting for greeting, give up
|
|
693
|
+
if (this._socket && !this._destroyed && this._responseActions[0] === this._actionGreeting) {
|
|
694
|
+
this._onError('Greeting never received', 'ETIMEDOUT', false, 'CONN');
|
|
695
|
+
}
|
|
696
|
+
}, this.options.greetingTimeout || GREETING_TIMEOUT);
|
|
697
|
+
this._responseActions.push(this._actionGreeting);
|
|
698
|
+
// we have a 'data' listener set up so resume socket if it was paused
|
|
699
|
+
socket.resume();
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* 'data' listener for data coming from the server
|
|
703
|
+
*
|
|
704
|
+
* @event
|
|
705
|
+
* @param chunk Data chunk coming from the server
|
|
706
|
+
*/
|
|
707
|
+
_onData(chunk) {
|
|
708
|
+
if (this._destroyed || !chunk || !chunk.length) {
|
|
709
|
+
return;
|
|
710
|
+
}
|
|
711
|
+
let data = chunk.toString('binary');
|
|
712
|
+
let lines = (this._remainder + data).split(/\r?\n/);
|
|
713
|
+
let lastline;
|
|
714
|
+
this._remainder = lines.pop();
|
|
715
|
+
for (let i = 0, len = lines.length; i < len; i++) {
|
|
716
|
+
if (this._responseQueue.length) {
|
|
717
|
+
lastline = this._responseQueue[this._responseQueue.length - 1];
|
|
718
|
+
if (isPartialResponse(lastline)) {
|
|
719
|
+
this._responseQueue[this._responseQueue.length - 1] += '\n' + lines[i];
|
|
720
|
+
continue;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
this._responseQueue.push(lines[i]);
|
|
724
|
+
}
|
|
725
|
+
if (this._responseQueue.length) {
|
|
726
|
+
lastline = this._responseQueue[this._responseQueue.length - 1];
|
|
727
|
+
if (isPartialResponse(lastline)) {
|
|
728
|
+
return;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
this._processResponse();
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* 'error' listener for the socket
|
|
735
|
+
*
|
|
736
|
+
* @event
|
|
737
|
+
* @param err Error object
|
|
738
|
+
* @param type Error name
|
|
739
|
+
*/
|
|
740
|
+
_onError(err, type, data, command) {
|
|
741
|
+
clearTimeout(this._connectionTimeout);
|
|
742
|
+
clearTimeout(this._greetingTimeout);
|
|
743
|
+
if (this._destroyed) {
|
|
744
|
+
// just ignore, already closed
|
|
745
|
+
// this might happen when a socket is canceled because of reached timeout
|
|
746
|
+
// but the socket timeout error itself receives only after
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
err = this._formatError(err, type, data, command);
|
|
750
|
+
const transientCodes = ['ETIMEDOUT', 'ESOCKET', 'ECONNECTION'];
|
|
751
|
+
if (transientCodes.includes(err.code)) {
|
|
752
|
+
this.logger.warn(data, err.message);
|
|
753
|
+
}
|
|
754
|
+
else {
|
|
755
|
+
this.logger.error(data, err.message);
|
|
756
|
+
}
|
|
757
|
+
this.emit('error', err);
|
|
758
|
+
this.close();
|
|
759
|
+
}
|
|
760
|
+
_formatError(message, type, response, command) {
|
|
761
|
+
let err;
|
|
762
|
+
if (/Error\]$/i.test(Object.prototype.toString.call(message))) {
|
|
763
|
+
err = message;
|
|
764
|
+
}
|
|
765
|
+
else {
|
|
766
|
+
err = new Error(message);
|
|
767
|
+
}
|
|
768
|
+
if (type && type !== 'Error') {
|
|
769
|
+
err.code = type;
|
|
770
|
+
}
|
|
771
|
+
if (response) {
|
|
772
|
+
err.response = response;
|
|
773
|
+
err.message += ': ' + response;
|
|
774
|
+
}
|
|
775
|
+
const responseCode = (typeof response === 'string' && Number((response.match(/^\d+/) || [])[0])) || false;
|
|
776
|
+
if (responseCode) {
|
|
777
|
+
err.responseCode = responseCode;
|
|
778
|
+
}
|
|
779
|
+
if (command) {
|
|
780
|
+
err.command = command;
|
|
781
|
+
}
|
|
782
|
+
return err;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* 'close' listener for the socket
|
|
786
|
+
*
|
|
787
|
+
* @event
|
|
788
|
+
*/
|
|
789
|
+
_onClose() {
|
|
790
|
+
let serverResponse = false;
|
|
791
|
+
if (this._remainder && this._remainder.trim()) {
|
|
792
|
+
this.lastServerResponse = serverResponse = decodeServerResponse(this._remainder.trim());
|
|
793
|
+
if (this.options.debug || this.options.transactionLog) {
|
|
794
|
+
this.logger.debug({
|
|
795
|
+
tnx: 'server'
|
|
796
|
+
}, serverResponse);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
this.logger.info({
|
|
800
|
+
tnx: 'network'
|
|
801
|
+
}, 'Connection closed');
|
|
802
|
+
if (this.upgrading && !this._destroyed) {
|
|
803
|
+
return this._onError(new Error('Connection closed unexpectedly'), 'ETLS', serverResponse, 'CONN');
|
|
804
|
+
}
|
|
805
|
+
else if (![this._actionGreeting, this.close].includes(this._responseActions[0]) && !this._destroyed) {
|
|
806
|
+
return this._onError(new Error('Connection closed unexpectedly'), 'ECONNECTION', serverResponse, 'CONN');
|
|
807
|
+
}
|
|
808
|
+
else if (/^[45]\d{2}\b/.test(serverResponse)) {
|
|
809
|
+
return this._onError(new Error('Connection closed unexpectedly'), 'ECONNECTION', serverResponse, 'CONN');
|
|
810
|
+
}
|
|
811
|
+
this._destroy();
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* 'end' listener for the socket
|
|
815
|
+
*
|
|
816
|
+
* @event
|
|
817
|
+
*/
|
|
818
|
+
_onEnd() {
|
|
819
|
+
if (this._socket && !this._socket.destroyed) {
|
|
820
|
+
// Peer sent FIN, finish our half of the close gracefully rather
|
|
821
|
+
// than destroying. 'close' fires after the OS finalizes teardown.
|
|
822
|
+
this._socket.end();
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* 'timeout' listener for the socket
|
|
827
|
+
*
|
|
828
|
+
* @event
|
|
829
|
+
*/
|
|
830
|
+
_onTimeout() {
|
|
831
|
+
return this._onError(new Error('Timeout'), 'ETIMEDOUT', false, 'CONN');
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Destroys the client, emits 'end'
|
|
835
|
+
*/
|
|
836
|
+
_destroy() {
|
|
837
|
+
if (this._destroyed) {
|
|
838
|
+
return;
|
|
839
|
+
}
|
|
840
|
+
this._destroyed = true;
|
|
841
|
+
// keep the documented public flag in sync with the private state
|
|
842
|
+
this.destroyed = true;
|
|
843
|
+
// a connection the server dropped before the greeting would otherwise keep
|
|
844
|
+
// the greeting timer, and with it the process, alive until it fires
|
|
845
|
+
clearTimeout(this._connectionTimeout);
|
|
846
|
+
clearTimeout(this._greetingTimeout);
|
|
847
|
+
this._connectionTimeout = false;
|
|
848
|
+
this._greetingTimeout = false;
|
|
849
|
+
this.emit('end');
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* Upgrades the connection to TLS
|
|
853
|
+
*
|
|
854
|
+
* @param callback Callback function to run when the connection
|
|
855
|
+
* has been secured
|
|
856
|
+
*/
|
|
857
|
+
_upgradeConnection(callback) {
|
|
858
|
+
// RFC 3207 section 6: the client MUST discard any knowledge obtained from
|
|
859
|
+
// the server that was not received over the TLS-protected session. Drop any
|
|
860
|
+
// buffered input received before the handshake so a man-in-the-middle cannot
|
|
861
|
+
// inject plaintext bytes after the "220" reply (e.g. a CRLF-free fragment that
|
|
862
|
+
// would otherwise be prepended to the first post-TLS response and parsed as
|
|
863
|
+
// part of the secured EHLO capabilities). STARTTLS response injection.
|
|
864
|
+
this._remainder = '';
|
|
865
|
+
this._responseQueue = [];
|
|
866
|
+
// do not remove all listeners or it breaks node v0.10 as there's
|
|
867
|
+
// apparently a 'finish' event set that would be cleared as well
|
|
868
|
+
// we can safely keep 'error', 'end', 'close' etc. events
|
|
869
|
+
const socketPlain = this._socket;
|
|
870
|
+
socketPlain.removeListener('data', this._onSocketData); // incoming data is going to be gibberish from this point onwards
|
|
871
|
+
socketPlain.removeListener('timeout', this._onSocketTimeout); // timeout will be re-set for the new socket object
|
|
872
|
+
const opts = Object.assign({
|
|
873
|
+
socket: socketPlain,
|
|
874
|
+
host: this.host
|
|
875
|
+
}, this.options.tls || {});
|
|
876
|
+
// ensure servername for SNI
|
|
877
|
+
if (this.servername && !opts.servername) {
|
|
878
|
+
opts.servername = this.servername;
|
|
879
|
+
}
|
|
880
|
+
// Remove all listeners from the plain socket to allow proper garbage
|
|
881
|
+
// collection. Used on both the TLS-success path and the synchronous
|
|
882
|
+
// tls.connect() throw path; either way the plain socket is done.
|
|
883
|
+
const removePlainSocketListeners = () => {
|
|
884
|
+
socketPlain.removeListener('close', this._onSocketClose);
|
|
885
|
+
socketPlain.removeListener('end', this._onSocketEnd);
|
|
886
|
+
socketPlain.removeListener('error', this._onSocketError);
|
|
887
|
+
// the connection-phase handler is attached when upgrading a pre-opened
|
|
888
|
+
// options.connection socket; strip it so nothing lingers on the plain socket
|
|
889
|
+
socketPlain.removeListener('error', this._onConnectionSocketError);
|
|
890
|
+
};
|
|
891
|
+
this.upgrading = true;
|
|
892
|
+
// tls.connect is not an asynchronous function however it may still throw errors and requires to be wrapped with try/catch
|
|
893
|
+
try {
|
|
894
|
+
this._socket = node_tls_1.default.connect(opts, () => {
|
|
895
|
+
this.secure = true;
|
|
896
|
+
this.upgrading = false;
|
|
897
|
+
this._socket.on('data', this._onSocketData);
|
|
898
|
+
removePlainSocketListeners();
|
|
899
|
+
return callback(null, true);
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
catch (err) {
|
|
903
|
+
removePlainSocketListeners();
|
|
904
|
+
return callback(err);
|
|
905
|
+
}
|
|
906
|
+
this._socket.on('error', this._onSocketError);
|
|
907
|
+
this._socket.once('close', this._onSocketClose);
|
|
908
|
+
this._socket.once('end', this._onSocketEnd);
|
|
909
|
+
this._socket.setTimeout(this.options.socketTimeout || SOCKET_TIMEOUT); // 10 min.
|
|
910
|
+
this._socket.on('timeout', this._onSocketTimeout);
|
|
911
|
+
// resume in case the socket was paused
|
|
912
|
+
socketPlain.resume();
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Processes queued responses from the server
|
|
916
|
+
*/
|
|
917
|
+
_processResponse() {
|
|
918
|
+
if (!this._responseQueue.length) {
|
|
919
|
+
return false;
|
|
920
|
+
}
|
|
921
|
+
const raw = (this._responseQueue.shift() || '').toString();
|
|
922
|
+
// Skip unexpected empty lines without consuming a response action or
|
|
923
|
+
// overwriting lastServerResponse; reprocess whatever else is queued.
|
|
924
|
+
if (!raw.trim()) {
|
|
925
|
+
setImmediate(() => this._processResponse());
|
|
926
|
+
return;
|
|
927
|
+
}
|
|
928
|
+
if (isPartialResponse(raw)) {
|
|
929
|
+
// the rest of the reply is still on its way: put it back on the queue and wait
|
|
930
|
+
// rather than dropping it. It has not been received in full, so it must not be
|
|
931
|
+
// reported as the last server response either
|
|
932
|
+
this._responseQueue.unshift(raw);
|
|
933
|
+
return;
|
|
934
|
+
}
|
|
935
|
+
const str = (this.lastServerResponse = decodeServerResponse(raw));
|
|
936
|
+
if (this.options.debug || this.options.transactionLog) {
|
|
937
|
+
this.logger.debug({
|
|
938
|
+
tnx: 'server'
|
|
939
|
+
}, str.replace(/\r?\n$/, ''));
|
|
940
|
+
}
|
|
941
|
+
const action = this._responseActions.shift();
|
|
942
|
+
if (typeof action === 'function') {
|
|
943
|
+
action.call(this, str);
|
|
944
|
+
setImmediate(() => this._processResponse());
|
|
945
|
+
}
|
|
946
|
+
else {
|
|
947
|
+
return this._onError(new Error('Unexpected Response'), 'EPROTOCOL', str, 'CONN');
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* Send a command to the server, append \r\n
|
|
952
|
+
*
|
|
953
|
+
* @param str String to be sent to the server
|
|
954
|
+
* @param logStr Optional string to be used for logging instead of the actual string
|
|
955
|
+
*/
|
|
956
|
+
_sendCommand(str, logStr) {
|
|
957
|
+
if (this._destroyed) {
|
|
958
|
+
// Connection already closed, can't send any more data
|
|
959
|
+
return;
|
|
960
|
+
}
|
|
961
|
+
const socket = this._socket;
|
|
962
|
+
if (socket.destroyed) {
|
|
963
|
+
return this.close();
|
|
964
|
+
}
|
|
965
|
+
if (this.options.debug || this.options.transactionLog) {
|
|
966
|
+
this.logger.debug({
|
|
967
|
+
tnx: 'client'
|
|
968
|
+
}, (logStr || str || '').toString().replace(/\r?\n$/, ''));
|
|
969
|
+
}
|
|
970
|
+
socket.write(Buffer.from(str + '\r\n', 'utf-8'));
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Initiates a new message by submitting envelope data, starting with
|
|
974
|
+
* MAIL FROM: command
|
|
975
|
+
*
|
|
976
|
+
* @param envelope Envelope object in the form of
|
|
977
|
+
* {from:'...', to:['...']}
|
|
978
|
+
* or
|
|
979
|
+
* {from:{address:'...',name:'...'}, to:[address:'...',name:'...']}
|
|
980
|
+
*/
|
|
981
|
+
_setEnvelope(envelope, callback) {
|
|
982
|
+
const args = [];
|
|
983
|
+
let useSmtpUtf8 = false;
|
|
984
|
+
this._envelope = (envelope || {});
|
|
985
|
+
this._envelope.from = ((this._envelope.from && this._envelope.from.address) || this._envelope.from || '')
|
|
986
|
+
.toString()
|
|
987
|
+
.trim();
|
|
988
|
+
this._envelope.to = []
|
|
989
|
+
.concat(this._envelope.to || [])
|
|
990
|
+
.map(to => ((to && to.address) || to || '').toString().trim());
|
|
991
|
+
if (!this._envelope.to.length) {
|
|
992
|
+
return callback(this._formatError('No recipients defined', 'EENVELOPE', false, 'API'));
|
|
993
|
+
}
|
|
994
|
+
if (this._envelope.from && /[\r\n<>]/.test(this._envelope.from)) {
|
|
995
|
+
return callback(this._formatError('Invalid sender ' + JSON.stringify(this._envelope.from), 'EENVELOPE', false, 'API'));
|
|
996
|
+
}
|
|
997
|
+
// check if the sender address uses only ASCII characters,
|
|
998
|
+
// otherwise require usage of SMTPUTF8 extension
|
|
999
|
+
if (/[\x80-\uFFFF]/.test(this._envelope.from)) {
|
|
1000
|
+
useSmtpUtf8 = true;
|
|
1001
|
+
}
|
|
1002
|
+
for (let i = 0, len = this._envelope.to.length; i < len; i++) {
|
|
1003
|
+
if (!this._envelope.to[i] || /[\r\n<>]/.test(this._envelope.to[i])) {
|
|
1004
|
+
return callback(this._formatError('Invalid recipient ' + JSON.stringify(this._envelope.to[i]), 'EENVELOPE', false, 'API'));
|
|
1005
|
+
}
|
|
1006
|
+
// check if the recipients addresses use only ASCII characters,
|
|
1007
|
+
// otherwise require usage of SMTPUTF8 extension
|
|
1008
|
+
if (/[\x80-\uFFFF]/.test(this._envelope.to[i])) {
|
|
1009
|
+
useSmtpUtf8 = true;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
// clone the recipients array for latter manipulation
|
|
1013
|
+
this._envelope.rcptQueue = [].concat(this._envelope.to || []);
|
|
1014
|
+
this._envelope.rejected = [];
|
|
1015
|
+
this._envelope.rejectedErrors = [];
|
|
1016
|
+
this._envelope.accepted = [];
|
|
1017
|
+
if (this._envelope.dsn) {
|
|
1018
|
+
try {
|
|
1019
|
+
this._envelope.dsn = this._setDsnEnvelope(this._envelope.dsn);
|
|
1020
|
+
}
|
|
1021
|
+
catch (err) {
|
|
1022
|
+
return callback(this._formatError('Invalid DSN ' + err.message, 'EENVELOPE', false, 'API'));
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
// RFC 8689: validate REQUIRETLS eligibility before queuing the MAIL FROM
|
|
1026
|
+
// response action, so a rejection here cannot leave an orphaned action in
|
|
1027
|
+
// _responseActions (which would consume the next reply and desync a reused
|
|
1028
|
+
// connection).
|
|
1029
|
+
if (this._envelope.requireTLSExtensionEnabled) {
|
|
1030
|
+
if (!this.secure) {
|
|
1031
|
+
return callback(this._formatError('REQUIRETLS can only be used over TLS connections (RFC 8689)', 'EREQUIRETLS', false, 'MAIL FROM'));
|
|
1032
|
+
}
|
|
1033
|
+
if (!this._supportedExtensions.includes('REQUIRETLS')) {
|
|
1034
|
+
return callback(this._formatError('Server does not support REQUIRETLS extension (RFC 8689)', 'EREQUIRETLS', false, 'MAIL FROM'));
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
this._responseActions.push(str => {
|
|
1038
|
+
this._actionMAIL(str, callback);
|
|
1039
|
+
});
|
|
1040
|
+
// If the server supports SMTPUTF8 and the envelope includes an internationalized
|
|
1041
|
+
// email address then append SMTPUTF8 keyword to the MAIL FROM command
|
|
1042
|
+
if (useSmtpUtf8 && this._supportedExtensions.includes('SMTPUTF8')) {
|
|
1043
|
+
args.push('SMTPUTF8');
|
|
1044
|
+
this._usingSmtpUtf8 = true;
|
|
1045
|
+
}
|
|
1046
|
+
// If the server supports 8BITMIME and the message might contain non-ascii bytes
|
|
1047
|
+
// then append the 8BITMIME keyword to the MAIL FROM command
|
|
1048
|
+
if (this._envelope.use8BitMime && this._supportedExtensions.includes('8BITMIME')) {
|
|
1049
|
+
args.push('BODY=8BITMIME');
|
|
1050
|
+
this._using8BitMime = true;
|
|
1051
|
+
}
|
|
1052
|
+
if (this._envelope.size && this._supportedExtensions.includes('SIZE')) {
|
|
1053
|
+
const sizeValue = Number(this._envelope.size) || 0;
|
|
1054
|
+
if (sizeValue > 0) {
|
|
1055
|
+
args.push('SIZE=' + sizeValue);
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
// If the server supports DSN and the envelope includes an DSN prop
|
|
1059
|
+
// then append DSN params to the MAIL FROM command
|
|
1060
|
+
if (this._envelope.dsn && this._supportedExtensions.includes('DSN')) {
|
|
1061
|
+
if (this._envelope.dsn.ret) {
|
|
1062
|
+
args.push('RET=' + shared.encodeXText(this._envelope.dsn.ret));
|
|
1063
|
+
}
|
|
1064
|
+
if (this._envelope.dsn.envid) {
|
|
1065
|
+
args.push('ENVID=' + shared.encodeXText(this._envelope.dsn.envid));
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
// RFC 8689: append the REQUIRETLS keyword to MAIL FROM. Eligibility
|
|
1069
|
+
// (TLS connection + server support) was already validated above, before
|
|
1070
|
+
// the response action was queued.
|
|
1071
|
+
if (this._envelope.requireTLSExtensionEnabled) {
|
|
1072
|
+
args.push('REQUIRETLS');
|
|
1073
|
+
}
|
|
1074
|
+
this._sendCommand('MAIL FROM:<' + this._envelope.from + '>' + (args.length ? ' ' + args.join(' ') : ''));
|
|
1075
|
+
}
|
|
1076
|
+
_setDsnEnvelope(params) {
|
|
1077
|
+
let ret = (params.ret || params.return || '').toString().toUpperCase() || null;
|
|
1078
|
+
if (ret) {
|
|
1079
|
+
switch (ret) {
|
|
1080
|
+
case 'HDRS':
|
|
1081
|
+
case 'HEADERS':
|
|
1082
|
+
ret = 'HDRS';
|
|
1083
|
+
break;
|
|
1084
|
+
case 'FULL':
|
|
1085
|
+
case 'BODY':
|
|
1086
|
+
ret = 'FULL';
|
|
1087
|
+
break;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
if (ret && !['FULL', 'HDRS'].includes(ret)) {
|
|
1091
|
+
throw new Error('ret: ' + JSON.stringify(ret));
|
|
1092
|
+
}
|
|
1093
|
+
const envid = (params.envid || params.id || '').toString() || null;
|
|
1094
|
+
let notify = params.notify || null;
|
|
1095
|
+
if (notify) {
|
|
1096
|
+
if (typeof notify === 'string') {
|
|
1097
|
+
notify = notify.split(',');
|
|
1098
|
+
}
|
|
1099
|
+
notify = notify.map(n => n.trim().toUpperCase());
|
|
1100
|
+
const validNotify = ['NEVER', 'SUCCESS', 'FAILURE', 'DELAY'];
|
|
1101
|
+
const invalidNotify = notify.filter(n => !validNotify.includes(n));
|
|
1102
|
+
if (invalidNotify.length || (notify.length > 1 && notify.includes('NEVER'))) {
|
|
1103
|
+
throw new Error('notify: ' + JSON.stringify(notify.join(',')));
|
|
1104
|
+
}
|
|
1105
|
+
notify = notify.join(',');
|
|
1106
|
+
}
|
|
1107
|
+
let orcpt = (params.recipient || params.orcpt || '').toString() || null;
|
|
1108
|
+
if (orcpt && orcpt.indexOf(';') < 0) {
|
|
1109
|
+
orcpt = 'rfc822;' + orcpt;
|
|
1110
|
+
}
|
|
1111
|
+
return {
|
|
1112
|
+
ret,
|
|
1113
|
+
envid,
|
|
1114
|
+
notify,
|
|
1115
|
+
orcpt
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
_getDsnRcptToArgs() {
|
|
1119
|
+
const envelope = this._envelope;
|
|
1120
|
+
const args = [];
|
|
1121
|
+
// If the server supports DSN and the envelope includes an DSN prop
|
|
1122
|
+
// then append DSN params to the RCPT TO command
|
|
1123
|
+
if (envelope.dsn && this._supportedExtensions.includes('DSN')) {
|
|
1124
|
+
if (envelope.dsn.notify) {
|
|
1125
|
+
args.push('NOTIFY=' + shared.encodeXText(envelope.dsn.notify));
|
|
1126
|
+
}
|
|
1127
|
+
if (envelope.dsn.orcpt) {
|
|
1128
|
+
args.push('ORCPT=' + shared.encodeXText(envelope.dsn.orcpt));
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
return args.length ? ' ' + args.join(' ') : '';
|
|
1132
|
+
}
|
|
1133
|
+
_createSendStream(callback) {
|
|
1134
|
+
const envelope = this._envelope;
|
|
1135
|
+
const dataStream = new data_stream_js_1.default();
|
|
1136
|
+
if (this.options.lmtp) {
|
|
1137
|
+
envelope.accepted.forEach((recipient, i) => {
|
|
1138
|
+
const final = i === envelope.accepted.length - 1;
|
|
1139
|
+
this._responseActions.push(str => {
|
|
1140
|
+
this._actionLMTPStream(recipient, final, str, callback);
|
|
1141
|
+
});
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
else {
|
|
1145
|
+
this._responseActions.push(str => {
|
|
1146
|
+
this._actionSMTPStream(str, callback);
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
this._currentDataStream = dataStream;
|
|
1150
|
+
dataStream.pipe(this._socket, {
|
|
1151
|
+
end: false
|
|
1152
|
+
});
|
|
1153
|
+
if (this.options.debug) {
|
|
1154
|
+
const logStream = new node_stream_1.PassThrough();
|
|
1155
|
+
logStream.on('readable', () => {
|
|
1156
|
+
let chunk;
|
|
1157
|
+
while ((chunk = logStream.read())) {
|
|
1158
|
+
this.logger.debug({
|
|
1159
|
+
tnx: 'message'
|
|
1160
|
+
}, chunk.toString('binary').replace(/\r?\n$/, ''));
|
|
1161
|
+
}
|
|
1162
|
+
});
|
|
1163
|
+
dataStream.pipe(logStream);
|
|
1164
|
+
}
|
|
1165
|
+
dataStream.once('end', () => {
|
|
1166
|
+
if (this._currentDataStream === dataStream) {
|
|
1167
|
+
this._currentDataStream = false;
|
|
1168
|
+
}
|
|
1169
|
+
this.logger.info({
|
|
1170
|
+
tnx: 'message',
|
|
1171
|
+
inByteCount: dataStream.inByteCount,
|
|
1172
|
+
outByteCount: dataStream.outByteCount
|
|
1173
|
+
}, '<%s bytes encoded mime message (source size %s bytes)>', dataStream.outByteCount, dataStream.inByteCount);
|
|
1174
|
+
});
|
|
1175
|
+
return dataStream;
|
|
1176
|
+
}
|
|
1177
|
+
/** ACTIONS **/
|
|
1178
|
+
/**
|
|
1179
|
+
* Will be run after the connection is created and the server sends
|
|
1180
|
+
* a greeting. If the incoming message starts with 220 initiate
|
|
1181
|
+
* SMTP session by sending EHLO command
|
|
1182
|
+
*
|
|
1183
|
+
* @param str Message from the server
|
|
1184
|
+
*/
|
|
1185
|
+
_actionGreeting(str) {
|
|
1186
|
+
clearTimeout(this._greetingTimeout);
|
|
1187
|
+
if (str.substr(0, 3) !== '220') {
|
|
1188
|
+
this._onError(new Error('Invalid greeting. response=' + str), 'EPROTOCOL', str, 'CONN');
|
|
1189
|
+
return;
|
|
1190
|
+
}
|
|
1191
|
+
if (this.options.lmtp) {
|
|
1192
|
+
this._responseActions.push(this._actionLHLO);
|
|
1193
|
+
this._sendCommand('LHLO ' + this.name);
|
|
1194
|
+
}
|
|
1195
|
+
else {
|
|
1196
|
+
this._responseActions.push(this._actionEHLO);
|
|
1197
|
+
this._sendCommand('EHLO ' + this.name);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
/**
|
|
1201
|
+
* Handles server response for LHLO command. If it yielded in
|
|
1202
|
+
* error, emit 'error', otherwise treat this as an EHLO response
|
|
1203
|
+
*
|
|
1204
|
+
* @param str Message from the server
|
|
1205
|
+
*/
|
|
1206
|
+
_actionLHLO(str) {
|
|
1207
|
+
if (str.charAt(0) !== '2') {
|
|
1208
|
+
this._onError(new Error('Invalid LHLO. response=' + str), 'EPROTOCOL', str, 'LHLO');
|
|
1209
|
+
return;
|
|
1210
|
+
}
|
|
1211
|
+
this._actionEHLO(str);
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Handles server response for EHLO command. If it yielded in
|
|
1215
|
+
* error, try HELO instead, otherwise initiate TLS negotiation
|
|
1216
|
+
* if STARTTLS is supported by the server or move into the
|
|
1217
|
+
* authentication phase.
|
|
1218
|
+
*
|
|
1219
|
+
* @param str Message from the server
|
|
1220
|
+
*/
|
|
1221
|
+
_actionEHLO(str) {
|
|
1222
|
+
let match;
|
|
1223
|
+
if (str.substr(0, 3) === '421') {
|
|
1224
|
+
this._onError(new Error('Server terminates connection. response=' + str), 'ECONNECTION', str, 'EHLO');
|
|
1225
|
+
return;
|
|
1226
|
+
}
|
|
1227
|
+
if (str.charAt(0) !== '2') {
|
|
1228
|
+
if (this.options.requireTLS) {
|
|
1229
|
+
this._onError(new Error('EHLO failed but HELO does not support required STARTTLS. response=' + str), 'ECONNECTION', str, 'EHLO');
|
|
1230
|
+
return;
|
|
1231
|
+
}
|
|
1232
|
+
// Try HELO instead
|
|
1233
|
+
this._responseActions.push(this._actionHELO);
|
|
1234
|
+
this._sendCommand('HELO ' + this.name);
|
|
1235
|
+
return;
|
|
1236
|
+
}
|
|
1237
|
+
this._ehloLines = str
|
|
1238
|
+
.split(/\r?\n/)
|
|
1239
|
+
.map(line => line.replace(/^\d+[ -]/, '').trim())
|
|
1240
|
+
.filter(line => line)
|
|
1241
|
+
.slice(1);
|
|
1242
|
+
// Detect if the server supports STARTTLS
|
|
1243
|
+
if (!this.secure && !this.options.ignoreTLS && (/[ -]STARTTLS\b/im.test(str) || this.options.requireTLS)) {
|
|
1244
|
+
this._sendCommand('STARTTLS');
|
|
1245
|
+
this._responseActions.push(this._actionSTARTTLS);
|
|
1246
|
+
return;
|
|
1247
|
+
}
|
|
1248
|
+
// Detect if the server supports SMTPUTF8
|
|
1249
|
+
if (/[ -]SMTPUTF8\b/im.test(str)) {
|
|
1250
|
+
this._supportedExtensions.push('SMTPUTF8');
|
|
1251
|
+
}
|
|
1252
|
+
// Detect if the server supports DSN
|
|
1253
|
+
if (/[ -]DSN\b/im.test(str)) {
|
|
1254
|
+
this._supportedExtensions.push('DSN');
|
|
1255
|
+
}
|
|
1256
|
+
// Detect if the server supports 8BITMIME
|
|
1257
|
+
if (/[ -]8BITMIME\b/im.test(str)) {
|
|
1258
|
+
this._supportedExtensions.push('8BITMIME');
|
|
1259
|
+
}
|
|
1260
|
+
// Detect if the server supports REQUIRETLS (RFC 8689)
|
|
1261
|
+
if (/[ -]REQUIRETLS\b/im.test(str)) {
|
|
1262
|
+
this._supportedExtensions.push('REQUIRETLS');
|
|
1263
|
+
}
|
|
1264
|
+
// Detect if the server supports PIPELINING
|
|
1265
|
+
if (/[ -]PIPELINING\b/im.test(str)) {
|
|
1266
|
+
this._supportedExtensions.push('PIPELINING');
|
|
1267
|
+
}
|
|
1268
|
+
// Detect if the server supports AUTH
|
|
1269
|
+
if (/[ -]AUTH\b/i.test(str)) {
|
|
1270
|
+
this.allowsAuth = true;
|
|
1271
|
+
}
|
|
1272
|
+
// Detect if the server supports PLAIN auth
|
|
1273
|
+
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)PLAIN/i.test(str)) {
|
|
1274
|
+
this._supportedAuth.push('PLAIN');
|
|
1275
|
+
}
|
|
1276
|
+
// Detect if the server supports LOGIN auth
|
|
1277
|
+
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)LOGIN/i.test(str)) {
|
|
1278
|
+
this._supportedAuth.push('LOGIN');
|
|
1279
|
+
}
|
|
1280
|
+
// Detect if the server supports CRAM-MD5 auth
|
|
1281
|
+
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)CRAM-MD5/i.test(str)) {
|
|
1282
|
+
this._supportedAuth.push('CRAM-MD5');
|
|
1283
|
+
}
|
|
1284
|
+
// Detect if the server supports XOAUTH2 auth
|
|
1285
|
+
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)XOAUTH2/i.test(str)) {
|
|
1286
|
+
this._supportedAuth.push('XOAUTH2');
|
|
1287
|
+
}
|
|
1288
|
+
// Detect if the server supports SIZE extensions (and the max allowed size)
|
|
1289
|
+
if ((match = str.match(/[ -]SIZE(?:[ \t]+(\d+))?/im))) {
|
|
1290
|
+
this._supportedExtensions.push('SIZE');
|
|
1291
|
+
this._maxAllowedSize = Number(match[1]) || 0;
|
|
1292
|
+
}
|
|
1293
|
+
this.emit('connect');
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
* Handles server response for HELO command. If it yielded in
|
|
1297
|
+
* error, emit 'error', otherwise move into the authentication phase.
|
|
1298
|
+
*
|
|
1299
|
+
* @param str Message from the server
|
|
1300
|
+
*/
|
|
1301
|
+
_actionHELO(str) {
|
|
1302
|
+
if (str.charAt(0) !== '2') {
|
|
1303
|
+
this._onError(new Error('Invalid HELO. response=' + str), 'EPROTOCOL', str, 'HELO');
|
|
1304
|
+
return;
|
|
1305
|
+
}
|
|
1306
|
+
// assume that authentication is enabled (most probably is not though)
|
|
1307
|
+
this.allowsAuth = true;
|
|
1308
|
+
this.emit('connect');
|
|
1309
|
+
}
|
|
1310
|
+
/**
|
|
1311
|
+
* Handles server response for STARTTLS command. If there's an error
|
|
1312
|
+
* try HELO instead, otherwise initiate TLS upgrade. If the upgrade
|
|
1313
|
+
* succeedes restart the EHLO
|
|
1314
|
+
*
|
|
1315
|
+
* @param str Message from the server
|
|
1316
|
+
*/
|
|
1317
|
+
_actionSTARTTLS(str) {
|
|
1318
|
+
if (str.charAt(0) !== '2') {
|
|
1319
|
+
if (this.options.opportunisticTLS) {
|
|
1320
|
+
this.logger.info({
|
|
1321
|
+
tnx: 'smtp'
|
|
1322
|
+
}, 'Failed STARTTLS upgrade, continuing unencrypted');
|
|
1323
|
+
this.emit('connect');
|
|
1324
|
+
return;
|
|
1325
|
+
}
|
|
1326
|
+
this._onError(new Error('Error upgrading connection with STARTTLS'), 'ETLS', str, 'STARTTLS');
|
|
1327
|
+
return;
|
|
1328
|
+
}
|
|
1329
|
+
this._upgradeConnection((err, secured) => {
|
|
1330
|
+
if (err) {
|
|
1331
|
+
this._onError(new Error('Error initiating TLS - ' + (err.message || err)), 'ETLS', false, 'STARTTLS');
|
|
1332
|
+
return;
|
|
1333
|
+
}
|
|
1334
|
+
this.logger.info({
|
|
1335
|
+
tnx: 'smtp'
|
|
1336
|
+
}, 'Connection upgraded with STARTTLS');
|
|
1337
|
+
if (secured) {
|
|
1338
|
+
// restart session
|
|
1339
|
+
if (this.options.lmtp) {
|
|
1340
|
+
this._responseActions.push(this._actionLHLO);
|
|
1341
|
+
this._sendCommand('LHLO ' + this.name);
|
|
1342
|
+
}
|
|
1343
|
+
else {
|
|
1344
|
+
this._responseActions.push(this._actionEHLO);
|
|
1345
|
+
this._sendCommand('EHLO ' + this.name);
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
else {
|
|
1349
|
+
this.emit('connect');
|
|
1350
|
+
}
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
/**
|
|
1354
|
+
* Handle the response for AUTH LOGIN command. We are expecting
|
|
1355
|
+
* '334 VXNlcm5hbWU6' (base64 for 'Username:'). Data to be sent as
|
|
1356
|
+
* response needs to be base64 encoded username. We do not need
|
|
1357
|
+
* exact match but settle with 334 response in general as some
|
|
1358
|
+
* hosts invalidly use a longer message than VXNlcm5hbWU6
|
|
1359
|
+
*
|
|
1360
|
+
* @param str Message from the server
|
|
1361
|
+
*/
|
|
1362
|
+
_actionAUTH_LOGIN_USER(str, callback) {
|
|
1363
|
+
if (!/^334[ -]/.test(str)) {
|
|
1364
|
+
// expecting '334 VXNlcm5hbWU6'
|
|
1365
|
+
callback(this._formatError('Invalid login sequence while waiting for "334 VXNlcm5hbWU6"', 'EAUTH', str, 'AUTH LOGIN'));
|
|
1366
|
+
return;
|
|
1367
|
+
}
|
|
1368
|
+
this._responseActions.push(str => {
|
|
1369
|
+
this._actionAUTH_LOGIN_PASS(str, callback);
|
|
1370
|
+
});
|
|
1371
|
+
this._sendCommand(Buffer.from(this._auth.credentials.user + '', 'utf-8').toString('base64'));
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* Handle the response for AUTH CRAM-MD5 command. We are expecting
|
|
1375
|
+
* '334 <challenge string>'. Data to be sent as response needs to be
|
|
1376
|
+
* base64 decoded challenge string, MD5 hashed using the password as
|
|
1377
|
+
* a HMAC key, prefixed by the username and a space, and finally all
|
|
1378
|
+
* base64 encoded again.
|
|
1379
|
+
*
|
|
1380
|
+
* @param str Message from the server
|
|
1381
|
+
*/
|
|
1382
|
+
_actionAUTH_CRAM_MD5(str, callback) {
|
|
1383
|
+
const challengeMatch = str.match(/^334\s+(.+)$/);
|
|
1384
|
+
if (!challengeMatch) {
|
|
1385
|
+
return callback(this._formatError('Invalid login sequence while waiting for server challenge string', 'EAUTH', str, 'AUTH CRAM-MD5'));
|
|
1386
|
+
}
|
|
1387
|
+
// Decode from base64
|
|
1388
|
+
const base64decoded = Buffer.from(challengeMatch[1], 'base64').toString('ascii');
|
|
1389
|
+
const hmacMD5 = node_crypto_1.default.createHmac('md5', this._auth.credentials.pass);
|
|
1390
|
+
hmacMD5.update(base64decoded);
|
|
1391
|
+
const prepended = this._auth.credentials.user + ' ' + hmacMD5.digest('hex');
|
|
1392
|
+
this._responseActions.push(str => {
|
|
1393
|
+
this._actionAUTH_CRAM_MD5_PASS(str, callback);
|
|
1394
|
+
});
|
|
1395
|
+
this._sendCommand(Buffer.from(prepended).toString('base64'),
|
|
1396
|
+
// hidden hash for logs
|
|
1397
|
+
Buffer.from(this._auth.credentials.user + ' /* secret */').toString('base64'));
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* Handles the response to CRAM-MD5 authentication, if there's no error,
|
|
1401
|
+
* the user can be considered logged in. Start waiting for a message to send
|
|
1402
|
+
*
|
|
1403
|
+
* @param str Message from the server
|
|
1404
|
+
*/
|
|
1405
|
+
_actionAUTH_CRAM_MD5_PASS(str, callback) {
|
|
1406
|
+
if (!str.match(/^235\s+/)) {
|
|
1407
|
+
return callback(this._formatError('Invalid login sequence while waiting for "235"', 'EAUTH', str, 'AUTH CRAM-MD5'));
|
|
1408
|
+
}
|
|
1409
|
+
this.logger.info({
|
|
1410
|
+
tnx: 'smtp',
|
|
1411
|
+
username: this._auth.user,
|
|
1412
|
+
action: 'authenticated',
|
|
1413
|
+
method: this._authMethod
|
|
1414
|
+
}, 'User %s authenticated', JSON.stringify(this._auth.user));
|
|
1415
|
+
this.authenticated = true;
|
|
1416
|
+
callback(null, true);
|
|
1417
|
+
}
|
|
1418
|
+
/**
|
|
1419
|
+
* Handle the response for AUTH LOGIN command. We are expecting
|
|
1420
|
+
* '334 UGFzc3dvcmQ6' (base64 for 'Password:'). Data to be sent as
|
|
1421
|
+
* response needs to be base64 encoded password.
|
|
1422
|
+
*
|
|
1423
|
+
* @param str Message from the server
|
|
1424
|
+
*/
|
|
1425
|
+
_actionAUTH_LOGIN_PASS(str, callback) {
|
|
1426
|
+
if (!/^334[ -]/.test(str)) {
|
|
1427
|
+
// expecting '334 UGFzc3dvcmQ6'
|
|
1428
|
+
return callback(this._formatError('Invalid login sequence while waiting for "334 UGFzc3dvcmQ6"', 'EAUTH', str, 'AUTH LOGIN'));
|
|
1429
|
+
}
|
|
1430
|
+
this._responseActions.push(str => {
|
|
1431
|
+
this._actionAUTHComplete(str, callback);
|
|
1432
|
+
});
|
|
1433
|
+
this._sendCommand(Buffer.from((this._auth.credentials.pass || '').toString(), 'utf-8').toString('base64'),
|
|
1434
|
+
// Hidden pass for logs
|
|
1435
|
+
Buffer.from('/* secret */', 'utf-8').toString('base64'));
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Handles the response for authentication, if there's no error,
|
|
1439
|
+
* the user can be considered logged in. Start waiting for a message to send
|
|
1440
|
+
*
|
|
1441
|
+
* @param str Message from the server
|
|
1442
|
+
*/
|
|
1443
|
+
_actionAUTHComplete(str, isRetry, callback) {
|
|
1444
|
+
if (!callback && typeof isRetry === 'function') {
|
|
1445
|
+
callback = isRetry;
|
|
1446
|
+
isRetry = false;
|
|
1447
|
+
}
|
|
1448
|
+
if (str.substr(0, 3) === '334') {
|
|
1449
|
+
this._responseActions.push(str => {
|
|
1450
|
+
if (isRetry || this._authMethod !== 'XOAUTH2') {
|
|
1451
|
+
this._actionAUTHComplete(str, true, callback);
|
|
1452
|
+
}
|
|
1453
|
+
else {
|
|
1454
|
+
// fetch a new OAuth2 access token
|
|
1455
|
+
setImmediate(() => this._handleXOauth2Token(true, callback));
|
|
1456
|
+
}
|
|
1457
|
+
});
|
|
1458
|
+
this._sendCommand('');
|
|
1459
|
+
return;
|
|
1460
|
+
}
|
|
1461
|
+
if (str.charAt(0) !== '2') {
|
|
1462
|
+
this.logger.info({
|
|
1463
|
+
tnx: 'smtp',
|
|
1464
|
+
username: this._auth.user,
|
|
1465
|
+
action: 'authfail',
|
|
1466
|
+
method: this._authMethod
|
|
1467
|
+
}, 'User %s failed to authenticate', JSON.stringify(this._auth.user));
|
|
1468
|
+
return callback(this._formatError('Invalid login', 'EAUTH', str, 'AUTH ' + this._authMethod));
|
|
1469
|
+
}
|
|
1470
|
+
this.logger.info({
|
|
1471
|
+
tnx: 'smtp',
|
|
1472
|
+
username: this._auth.user,
|
|
1473
|
+
action: 'authenticated',
|
|
1474
|
+
method: this._authMethod
|
|
1475
|
+
}, 'User %s authenticated', JSON.stringify(this._auth.user));
|
|
1476
|
+
this.authenticated = true;
|
|
1477
|
+
callback(null, true);
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
* Handle response for a MAIL FROM: command
|
|
1481
|
+
*
|
|
1482
|
+
* @param str Message from the server
|
|
1483
|
+
*/
|
|
1484
|
+
_actionMAIL(str, callback) {
|
|
1485
|
+
const envelope = this._envelope;
|
|
1486
|
+
if (Number(str.charAt(0)) !== 2) {
|
|
1487
|
+
const message = this._usingSmtpUtf8 && /^550 /.test(str) && /[\x80-\uFFFF]/.test(envelope.from)
|
|
1488
|
+
? 'Internationalized mailbox name not allowed'
|
|
1489
|
+
: 'Mail command failed';
|
|
1490
|
+
return callback(this._formatError(message, 'EENVELOPE', str, 'MAIL FROM'));
|
|
1491
|
+
}
|
|
1492
|
+
if (!envelope.rcptQueue.length) {
|
|
1493
|
+
return callback(this._formatError("Can't send mail - no recipients defined", 'EENVELOPE', false, 'API'));
|
|
1494
|
+
}
|
|
1495
|
+
this._recipientQueue = [];
|
|
1496
|
+
const usePipelining = this._supportedExtensions.includes('PIPELINING');
|
|
1497
|
+
do {
|
|
1498
|
+
const curRecipient = envelope.rcptQueue.shift();
|
|
1499
|
+
this._recipientQueue.push(curRecipient);
|
|
1500
|
+
this._responseActions.push(str => {
|
|
1501
|
+
this._actionRCPT(str, callback);
|
|
1502
|
+
});
|
|
1503
|
+
this._sendCommand('RCPT TO:<' + curRecipient + '>' + this._getDsnRcptToArgs());
|
|
1504
|
+
} while (usePipelining && envelope.rcptQueue.length);
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Handle response for a RCPT TO: command
|
|
1508
|
+
*
|
|
1509
|
+
* @param str Message from the server
|
|
1510
|
+
*/
|
|
1511
|
+
_actionRCPT(str, callback) {
|
|
1512
|
+
const envelope = this._envelope;
|
|
1513
|
+
let err;
|
|
1514
|
+
const curRecipient = this._recipientQueue.shift();
|
|
1515
|
+
if (Number(str.charAt(0)) !== 2) {
|
|
1516
|
+
// this is a soft error
|
|
1517
|
+
const message = this._usingSmtpUtf8 && /^553 /.test(str) && /[\x80-\uFFFF]/.test(curRecipient)
|
|
1518
|
+
? 'Internationalized mailbox name not allowed'
|
|
1519
|
+
: 'Recipient command failed';
|
|
1520
|
+
envelope.rejected.push(curRecipient);
|
|
1521
|
+
// store error for the failed recipient
|
|
1522
|
+
err = this._formatError(message, 'EENVELOPE', str, 'RCPT TO');
|
|
1523
|
+
err.recipient = curRecipient;
|
|
1524
|
+
envelope.rejectedErrors.push(err);
|
|
1525
|
+
}
|
|
1526
|
+
else {
|
|
1527
|
+
envelope.accepted.push(curRecipient);
|
|
1528
|
+
}
|
|
1529
|
+
if (!envelope.rcptQueue.length && !this._recipientQueue.length) {
|
|
1530
|
+
if (envelope.rejected.length < envelope.to.length) {
|
|
1531
|
+
this._responseActions.push(str => {
|
|
1532
|
+
this._actionDATA(str, callback);
|
|
1533
|
+
});
|
|
1534
|
+
this._sendCommand('DATA');
|
|
1535
|
+
}
|
|
1536
|
+
else {
|
|
1537
|
+
err = this._formatError("Can't send mail - all recipients were rejected", 'EENVELOPE', str, 'RCPT TO');
|
|
1538
|
+
err.rejected = envelope.rejected;
|
|
1539
|
+
err.rejectedErrors = envelope.rejectedErrors;
|
|
1540
|
+
return callback(err);
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
else if (envelope.rcptQueue.length) {
|
|
1544
|
+
const nextRecipient = envelope.rcptQueue.shift();
|
|
1545
|
+
this._recipientQueue.push(nextRecipient);
|
|
1546
|
+
this._responseActions.push(str => {
|
|
1547
|
+
this._actionRCPT(str, callback);
|
|
1548
|
+
});
|
|
1549
|
+
this._sendCommand('RCPT TO:<' + nextRecipient + '>' + this._getDsnRcptToArgs());
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
/**
|
|
1553
|
+
* Handle response for a DATA command
|
|
1554
|
+
*
|
|
1555
|
+
* @param str Message from the server
|
|
1556
|
+
*/
|
|
1557
|
+
_actionDATA(str, callback) {
|
|
1558
|
+
const envelope = this._envelope;
|
|
1559
|
+
// response should be 354 but according to this issue https://github.com/eleith/emailjs/issues/24
|
|
1560
|
+
// some servers might use 250 instead, so lets check for 2 or 3 as the first digit
|
|
1561
|
+
if (!/^[23]/.test(str)) {
|
|
1562
|
+
return callback(this._formatError('Data command failed', 'EENVELOPE', str, 'DATA'));
|
|
1563
|
+
}
|
|
1564
|
+
const response = {
|
|
1565
|
+
accepted: envelope.accepted,
|
|
1566
|
+
rejected: envelope.rejected
|
|
1567
|
+
};
|
|
1568
|
+
if (this._ehloLines && this._ehloLines.length) {
|
|
1569
|
+
response.ehlo = this._ehloLines;
|
|
1570
|
+
}
|
|
1571
|
+
if (envelope.rejectedErrors.length) {
|
|
1572
|
+
response.rejectedErrors = envelope.rejectedErrors;
|
|
1573
|
+
}
|
|
1574
|
+
callback(null, response);
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* Handle response for a DATA stream when using SMTP
|
|
1578
|
+
* We expect a single response that defines if the sending succeeded or failed
|
|
1579
|
+
*
|
|
1580
|
+
* @param str Message from the server
|
|
1581
|
+
*/
|
|
1582
|
+
_actionSMTPStream(str, callback) {
|
|
1583
|
+
if (Number(str.charAt(0)) !== 2) {
|
|
1584
|
+
return callback(this._formatError('Message failed', 'EMESSAGE', str, 'DATA'));
|
|
1585
|
+
}
|
|
1586
|
+
return callback(null, str);
|
|
1587
|
+
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Handle response for a DATA stream
|
|
1590
|
+
* We expect a separate response for every recipient. All recipients can either
|
|
1591
|
+
* succeed or fail separately
|
|
1592
|
+
*
|
|
1593
|
+
* @param recipient The recipient this response applies to
|
|
1594
|
+
* @param final Is this the final recipient?
|
|
1595
|
+
* @param str Message from the server
|
|
1596
|
+
*/
|
|
1597
|
+
_actionLMTPStream(recipient, final, str, callback) {
|
|
1598
|
+
const envelope = this._envelope;
|
|
1599
|
+
let err;
|
|
1600
|
+
if (Number(str.charAt(0)) !== 2) {
|
|
1601
|
+
// Message failed
|
|
1602
|
+
err = this._formatError('Message failed for recipient ' + recipient, 'EMESSAGE', str, 'DATA');
|
|
1603
|
+
err.recipient = recipient;
|
|
1604
|
+
envelope.rejected.push(recipient);
|
|
1605
|
+
envelope.rejectedErrors.push(err);
|
|
1606
|
+
for (let i = 0, len = envelope.accepted.length; i < len; i++) {
|
|
1607
|
+
if (envelope.accepted[i] === recipient) {
|
|
1608
|
+
envelope.accepted.splice(i, 1);
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
if (final) {
|
|
1613
|
+
return callback(null, str);
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
_handleXOauth2Token(isRetry, callback) {
|
|
1617
|
+
this._auth.oauth2.getToken(isRetry, (err, accessToken) => {
|
|
1618
|
+
if (err) {
|
|
1619
|
+
this.logger.info({
|
|
1620
|
+
tnx: 'smtp',
|
|
1621
|
+
username: this._auth.user,
|
|
1622
|
+
action: 'authfail',
|
|
1623
|
+
method: this._authMethod
|
|
1624
|
+
}, 'User %s failed to authenticate', JSON.stringify(this._auth.user));
|
|
1625
|
+
return callback(this._formatError(err, 'EAUTH', false, 'AUTH XOAUTH2'));
|
|
1626
|
+
}
|
|
1627
|
+
this._responseActions.push(str => {
|
|
1628
|
+
this._actionAUTHComplete(str, isRetry, callback);
|
|
1629
|
+
});
|
|
1630
|
+
this._sendCommand('AUTH XOAUTH2 ' + this._auth.oauth2.buildXOAuth2Token(accessToken),
|
|
1631
|
+
// Hidden for logs
|
|
1632
|
+
'AUTH XOAUTH2 ' + this._auth.oauth2.buildXOAuth2Token('/* secret */'));
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @param command
|
|
1638
|
+
* @private
|
|
1639
|
+
*/
|
|
1640
|
+
_isDestroyedMessage(command) {
|
|
1641
|
+
if (this._destroyed) {
|
|
1642
|
+
return 'Cannot ' + command + ' - smtp connection is already destroyed.';
|
|
1643
|
+
}
|
|
1644
|
+
if (this._socket) {
|
|
1645
|
+
if (this._socket.destroyed) {
|
|
1646
|
+
return 'Cannot ' + command + ' - smtp connection socket is already destroyed.';
|
|
1647
|
+
}
|
|
1648
|
+
if (!this._socket.writable) {
|
|
1649
|
+
return 'Cannot ' + command + ' - smtp connection socket is already half-closed.';
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
_getHostname() {
|
|
1654
|
+
// defaul hostname is machine hostname or [IP]
|
|
1655
|
+
let defaultHostname;
|
|
1656
|
+
try {
|
|
1657
|
+
defaultHostname = node_os_1.default.hostname() || '';
|
|
1658
|
+
}
|
|
1659
|
+
catch (_err) {
|
|
1660
|
+
// fails on windows 7
|
|
1661
|
+
defaultHostname = 'localhost';
|
|
1662
|
+
}
|
|
1663
|
+
// ignore if not FQDN
|
|
1664
|
+
if (!defaultHostname || defaultHostname.indexOf('.') < 0) {
|
|
1665
|
+
defaultHostname = '[127.0.0.1]';
|
|
1666
|
+
}
|
|
1667
|
+
// IP should be enclosed in []
|
|
1668
|
+
if (defaultHostname.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)) {
|
|
1669
|
+
defaultHostname = '[' + defaultHostname + ']';
|
|
1670
|
+
}
|
|
1671
|
+
return defaultHostname;
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
exports.default = SMTPConnection;
|
|
1675
|
+
module.exports = exports.default;
|
|
1676
|
+
Object.defineProperty(module.exports, 'default', { value: exports.default, enumerable: false, writable: true, configurable: true });
|