@mavogel/awscdk-rootmail 0.1.2 → 0.1.3
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
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const { PassThrough } = require('stream');
|
|
11
|
-
const shared = require('../shared');
|
|
12
|
-
|
|
1
|
+
import * as packageData from '../package-info.js';
|
|
2
|
+
import { EventEmitter } from 'node:events';
|
|
3
|
+
import net from 'node:net';
|
|
4
|
+
import tls from 'node:tls';
|
|
5
|
+
import os from 'node:os';
|
|
6
|
+
import crypto from 'node:crypto';
|
|
7
|
+
import DataStream from './data-stream.js';
|
|
8
|
+
import { PassThrough } from 'node:stream';
|
|
9
|
+
import * as shared from '../shared/index.js';
|
|
13
10
|
// default timeout values in ms
|
|
14
11
|
const CONNECTION_TIMEOUT = 2 * 60 * 1000; // how much to wait for the connection to be established
|
|
15
12
|
const SOCKET_TIMEOUT = 10 * 60 * 1000; // how much to wait for socket inactivity before disconnecting the client
|
|
16
13
|
const GREETING_TIMEOUT = 30 * 1000; // how much to wait after connection is established but SMTP greeting is not receieved
|
|
17
14
|
const DNS_TIMEOUT = 30 * 1000; // how much to wait for resolveHostname
|
|
18
|
-
const TEARDOWN_NOOP = () => {}; // reusable no-op handler for absorbing errors during socket teardown
|
|
19
|
-
|
|
15
|
+
const TEARDOWN_NOOP = () => { }; // reusable no-op handler for absorbing errors during socket teardown
|
|
20
16
|
/**
|
|
21
17
|
* Re-interpret a server response stored in fake 8-bit byte-container form
|
|
22
18
|
* (the result of chunk.toString('binary') in _onData) as UTF-8.
|
|
@@ -38,7 +34,19 @@ function decodeServerResponse(str) {
|
|
|
38
34
|
// decoder for invalid bytes, which means we should return the original bytes intact.
|
|
39
35
|
return utf8.includes('\uFFFD') ? str : utf8;
|
|
40
36
|
}
|
|
41
|
-
|
|
37
|
+
/**
|
|
38
|
+
* True when the last line of a queued reply is a continuation ("250-..."), which means
|
|
39
|
+
* the rest of the reply is still on its way.
|
|
40
|
+
*
|
|
41
|
+
* Called with the byte-container form the queue holds (see _onData): the check only looks
|
|
42
|
+
* at leading ASCII digits and '-' of the last line, and a UTF-8 continuation byte is never
|
|
43
|
+
* 0x0A, so line boundaries and the tested prefix are the same before and after decoding.
|
|
44
|
+
* The last line is read with lastIndexOf rather than split() because a queue entry grows
|
|
45
|
+
* with every chunk appended to it and only its final line matters.
|
|
46
|
+
*/
|
|
47
|
+
function isPartialResponse(str) {
|
|
48
|
+
return /^\d+-/.test(str.slice(str.lastIndexOf('\n') + 1));
|
|
49
|
+
}
|
|
42
50
|
/**
|
|
43
51
|
* Generates a SMTP connection object
|
|
44
52
|
*
|
|
@@ -64,39 +72,29 @@ function decodeServerResponse(str) {
|
|
|
64
72
|
*
|
|
65
73
|
* @constructor
|
|
66
74
|
* @namespace SMTP Client module
|
|
67
|
-
* @param
|
|
75
|
+
* @param [options] Option properties
|
|
68
76
|
*/
|
|
69
77
|
class SMTPConnection extends EventEmitter {
|
|
70
78
|
constructor(options) {
|
|
71
79
|
super(options);
|
|
72
|
-
|
|
73
80
|
this.id = crypto.randomBytes(8).toString('base64').replace(/\W/g, '');
|
|
74
81
|
this.stage = 'init';
|
|
75
|
-
|
|
76
82
|
this.options = options || {};
|
|
77
|
-
|
|
78
83
|
this.secureConnection = !!this.options.secure;
|
|
79
84
|
this.alreadySecured = !!this.options.secured;
|
|
80
|
-
|
|
81
85
|
this.port = Number(this.options.port) || (this.secureConnection ? 465 : 587);
|
|
82
86
|
this.host = this.options.host || 'localhost';
|
|
83
|
-
|
|
84
87
|
this.servername = this.options.servername ? this.options.servername : !net.isIP(this.host) ? this.host : false;
|
|
85
|
-
|
|
86
88
|
this.allowInternalNetworkInterfaces = this.options.allowInternalNetworkInterfaces || false;
|
|
87
|
-
|
|
88
89
|
if (typeof this.options.secure === 'undefined' && this.port === 465) {
|
|
89
90
|
// if secure option is not set but port is 465, then default to secure
|
|
90
91
|
this.secureConnection = true;
|
|
91
92
|
}
|
|
92
|
-
|
|
93
93
|
this.name = (this.options.name || this._getHostname()).toString().replace(/[\r\n]+/g, '');
|
|
94
|
-
|
|
95
94
|
this.logger = shared.getLogger(this.options, {
|
|
96
95
|
component: this.options.component || 'smtp-connection',
|
|
97
96
|
sid: this.id
|
|
98
97
|
});
|
|
99
|
-
|
|
100
98
|
this.customAuth = new Map();
|
|
101
99
|
for (const key of Object.keys(this.options.customAuth || {})) {
|
|
102
100
|
const mapKey = (key || '').toString().trim().toUpperCase();
|
|
@@ -104,141 +102,34 @@ class SMTPConnection extends EventEmitter {
|
|
|
104
102
|
this.customAuth.set(mapKey, this.options.customAuth[key]);
|
|
105
103
|
}
|
|
106
104
|
}
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Expose version nr, just for the reference
|
|
110
|
-
* @type {String}
|
|
111
|
-
*/
|
|
112
|
-
this.version = packageInfo.version;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* If true, then the user is authenticated
|
|
116
|
-
* @type {Boolean}
|
|
117
|
-
*/
|
|
105
|
+
this.version = packageData.version;
|
|
118
106
|
this.authenticated = false;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* If set to true, this instance is no longer active
|
|
122
|
-
* @private
|
|
123
|
-
*/
|
|
124
107
|
this.destroyed = false;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Defines if the current connection is secure or not. If not,
|
|
128
|
-
* STARTTLS can be used if available
|
|
129
|
-
* @private
|
|
130
|
-
*/
|
|
131
108
|
this.secure = !!this.secureConnection;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Store incomplete messages coming from the server
|
|
135
|
-
* @private
|
|
136
|
-
*/
|
|
137
109
|
this._remainder = '';
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Unprocessed responses from the server
|
|
141
|
-
* @type {Array}
|
|
142
|
-
*/
|
|
143
110
|
this._responseQueue = [];
|
|
144
|
-
|
|
145
111
|
this.lastServerResponse = false;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* The socket connecting to the server
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
112
|
this._socket = false;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Lists supported auth mechanisms
|
|
155
|
-
* @private
|
|
156
|
-
*/
|
|
157
113
|
this._supportedAuth = [];
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Set to true, if EHLO response includes "AUTH".
|
|
161
|
-
* If false then authentication is not tried
|
|
162
|
-
*/
|
|
163
114
|
this.allowsAuth = false;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Includes current envelope (from, to)
|
|
167
|
-
* @private
|
|
168
|
-
*/
|
|
169
115
|
this._envelope = false;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Lists supported extensions
|
|
173
|
-
* @private
|
|
174
|
-
*/
|
|
175
116
|
this._supportedExtensions = [];
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Defines the maximum allowed size for a single message
|
|
179
|
-
* @private
|
|
180
|
-
*/
|
|
181
117
|
this._maxAllowedSize = 0;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Function queue to run if a data chunk comes from the server
|
|
185
|
-
* @private
|
|
186
|
-
*/
|
|
187
118
|
this._responseActions = [];
|
|
188
119
|
this._recipientQueue = [];
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Timeout variable for waiting the greeting
|
|
192
|
-
* @private
|
|
193
|
-
*/
|
|
194
120
|
this._greetingTimeout = false;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Timeout variable for waiting the connection to start
|
|
198
|
-
* @private
|
|
199
|
-
*/
|
|
200
121
|
this._connectionTimeout = false;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* If the socket is deemed already closed
|
|
204
|
-
* @private
|
|
205
|
-
*/
|
|
206
122
|
this._destroyed = false;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* If the socket is already being closed
|
|
210
|
-
* @private
|
|
211
|
-
*/
|
|
212
123
|
this._closing = false;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Message DATA stream currently piped to the socket, if any. Tracked so
|
|
216
|
-
* close() can unpipe it before tearing the socket down.
|
|
217
|
-
* @private
|
|
218
|
-
*/
|
|
219
124
|
this._currentDataStream = false;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Callbacks for socket's listeners
|
|
223
|
-
*/
|
|
224
125
|
this._onSocketData = chunk => this._onData(chunk);
|
|
225
126
|
this._onSocketError = error => this._onError(error, 'ESOCKET', false, 'CONN');
|
|
226
127
|
this._onSocketClose = () => this._onClose();
|
|
227
128
|
this._onSocketEnd = () => this._onEnd();
|
|
228
129
|
this._onSocketTimeout = () => this._onTimeout();
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Connection-phase error handler (supports fallback to alternative addresses)
|
|
232
|
-
*/
|
|
233
130
|
this._onConnectionSocketError = err => this._onConnectionError(err, 'ESOCKET');
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Connection attempt counter for fallback race condition protection
|
|
237
|
-
* @private
|
|
238
|
-
*/
|
|
239
131
|
this._connectionAttemptId = 0;
|
|
240
132
|
}
|
|
241
|
-
|
|
242
133
|
/**
|
|
243
134
|
* Creates a connection to a SMTP server and sets up connection
|
|
244
135
|
* listener
|
|
@@ -246,59 +137,50 @@ class SMTPConnection extends EventEmitter {
|
|
|
246
137
|
connect(connectCallback) {
|
|
247
138
|
if (typeof connectCallback === 'function') {
|
|
248
139
|
this.once('connect', () => {
|
|
249
|
-
this.logger.debug(
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
},
|
|
253
|
-
'SMTP handshake finished'
|
|
254
|
-
);
|
|
140
|
+
this.logger.debug({
|
|
141
|
+
tnx: 'smtp'
|
|
142
|
+
}, 'SMTP handshake finished');
|
|
255
143
|
connectCallback();
|
|
256
144
|
});
|
|
257
|
-
|
|
258
145
|
const isDestroyedMessage = this._isDestroyedMessage('connect');
|
|
259
146
|
if (isDestroyedMessage) {
|
|
260
147
|
return connectCallback(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'CONN'));
|
|
261
148
|
}
|
|
262
149
|
}
|
|
263
|
-
|
|
264
150
|
let opts = {
|
|
265
151
|
port: this.port,
|
|
266
152
|
host: this.host,
|
|
267
153
|
allowInternalNetworkInterfaces: this.allowInternalNetworkInterfaces,
|
|
268
154
|
timeout: this.options.dnsTimeout || DNS_TIMEOUT
|
|
269
155
|
};
|
|
270
|
-
|
|
271
156
|
if (this.options.localAddress) {
|
|
272
157
|
opts.localAddress = this.options.localAddress;
|
|
273
158
|
}
|
|
274
|
-
|
|
275
159
|
if (this.options.connection) {
|
|
276
160
|
// connection is already opened
|
|
277
161
|
this._socket = this.options.connection;
|
|
278
162
|
this._setupConnectionHandlers();
|
|
279
|
-
|
|
280
163
|
if (this.secureConnection && !this.alreadySecured) {
|
|
281
|
-
setImmediate(() =>
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
} else {
|
|
164
|
+
setImmediate(() => this._upgradeConnection(err => {
|
|
165
|
+
if (err) {
|
|
166
|
+
this._onError(new Error('Error initiating TLS - ' + (err.message || err)), 'ETLS', false, 'CONN');
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
this._onConnect();
|
|
170
|
+
}));
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
291
173
|
setImmediate(() => this._onConnect());
|
|
292
174
|
}
|
|
293
175
|
return;
|
|
294
|
-
}
|
|
176
|
+
}
|
|
177
|
+
else if (this.options.socket) {
|
|
295
178
|
// socket object is set up but not yet connected
|
|
296
179
|
this._socket = this.options.socket;
|
|
297
180
|
return this._resolveAndConnect(opts, _resolved => {
|
|
298
181
|
try {
|
|
299
182
|
this._socket.connect(this.port, this.host, () => {
|
|
300
183
|
this._socket.setKeepAlive(true);
|
|
301
|
-
|
|
302
184
|
// a `secure` connection over a caller-provided socket must still
|
|
303
185
|
// perform the TLS handshake, otherwise AUTH and the message body
|
|
304
186
|
// would be sent in cleartext despite the caller requesting TLS
|
|
@@ -311,58 +193,50 @@ class SMTPConnection extends EventEmitter {
|
|
|
311
193
|
this._onConnect();
|
|
312
194
|
});
|
|
313
195
|
}
|
|
314
|
-
|
|
315
196
|
this._onConnect();
|
|
316
197
|
});
|
|
317
198
|
this._setupConnectionHandlers();
|
|
318
|
-
}
|
|
319
|
-
|
|
199
|
+
}
|
|
200
|
+
catch (E) {
|
|
201
|
+
setImmediate(() => this._onError(E, 'ECONNECTION', false, 'CONN'));
|
|
202
|
+
return;
|
|
320
203
|
}
|
|
321
204
|
});
|
|
322
|
-
}
|
|
205
|
+
}
|
|
206
|
+
else {
|
|
323
207
|
if (this.secureConnection) {
|
|
324
208
|
Object.assign(opts, this.options.tls || {});
|
|
325
|
-
|
|
326
209
|
// ensure servername for SNI
|
|
327
210
|
if (this.servername && !opts.servername) {
|
|
328
211
|
opts.servername = this.servername;
|
|
329
212
|
}
|
|
330
213
|
}
|
|
331
|
-
|
|
332
214
|
return this._resolveAndConnect(opts, resolved => {
|
|
333
215
|
// Store fallback addresses for retry on connection failure
|
|
334
216
|
this._fallbackAddresses = (resolved._addresses || []).filter(addr => addr !== opts.host);
|
|
335
217
|
this._connectOpts = Object.assign({}, opts);
|
|
336
|
-
|
|
337
218
|
this._connectToHost(opts, this.secureConnection);
|
|
338
219
|
});
|
|
339
220
|
}
|
|
340
221
|
}
|
|
341
|
-
|
|
342
222
|
/**
|
|
343
223
|
* Resolves the hostname and applies resolved values to opts,
|
|
344
224
|
* then calls the provided callback with the resolved data
|
|
345
225
|
*
|
|
346
|
-
* @param
|
|
347
|
-
* @param
|
|
226
|
+
* @param opts Connection options (modified in place)
|
|
227
|
+
* @param callback Called with resolved data on success
|
|
348
228
|
*/
|
|
349
229
|
_resolveAndConnect(opts, callback) {
|
|
350
230
|
return shared.resolveHostname(opts, (err, resolved) => {
|
|
351
231
|
if (err) {
|
|
352
232
|
return setImmediate(() => this._onError(err, 'EDNS', false, 'CONN'));
|
|
353
233
|
}
|
|
354
|
-
this.logger.debug(
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
},
|
|
361
|
-
'Resolved %s as %s [cache %s]',
|
|
362
|
-
opts.host,
|
|
363
|
-
resolved.host,
|
|
364
|
-
resolved.cached ? 'hit' : 'miss'
|
|
365
|
-
);
|
|
234
|
+
this.logger.debug({
|
|
235
|
+
tnx: 'dns',
|
|
236
|
+
source: opts.host,
|
|
237
|
+
resolved: resolved.host,
|
|
238
|
+
cached: !!resolved.cached
|
|
239
|
+
}, 'Resolved %s as %s [cache %s]', opts.host, resolved.host, resolved.cached ? 'hit' : 'miss');
|
|
366
240
|
for (const key of Object.keys(resolved)) {
|
|
367
241
|
if (key.charAt(0) !== '_' && resolved[key]) {
|
|
368
242
|
opts[key] = resolved[key];
|
|
@@ -371,26 +245,25 @@ class SMTPConnection extends EventEmitter {
|
|
|
371
245
|
callback(resolved);
|
|
372
246
|
});
|
|
373
247
|
}
|
|
374
|
-
|
|
375
248
|
/**
|
|
376
249
|
* Attempts to connect to the specified host address
|
|
377
250
|
*
|
|
378
|
-
* @param
|
|
379
|
-
* @param
|
|
251
|
+
* @param opts Connection options
|
|
252
|
+
* @param secure Whether to use TLS
|
|
380
253
|
*/
|
|
381
254
|
_connectToHost(opts, secure) {
|
|
382
255
|
// If the client was closed while DNS resolution was in flight, do not open
|
|
383
256
|
// a socket here: close() ran with this._socket still unset and so had
|
|
384
257
|
// nothing to tear down, and _onConnect's remedial close() is a no-op once
|
|
385
|
-
// _closing is set
|
|
258
|
+
// _closing is set, the freshly connected socket would leak.
|
|
386
259
|
if (this._destroyed || this._closing) {
|
|
387
260
|
return;
|
|
388
261
|
}
|
|
389
|
-
|
|
390
262
|
this._connectionAttemptId++;
|
|
391
263
|
const currentAttemptId = this._connectionAttemptId;
|
|
392
|
-
|
|
393
|
-
|
|
264
|
+
const connectFn = secure
|
|
265
|
+
? tls.connect
|
|
266
|
+
: net.connect;
|
|
394
267
|
try {
|
|
395
268
|
this._socket = connectFn(opts, () => {
|
|
396
269
|
// Ignore callback if this is a stale connection attempt
|
|
@@ -401,11 +274,12 @@ class SMTPConnection extends EventEmitter {
|
|
|
401
274
|
this._onConnect();
|
|
402
275
|
});
|
|
403
276
|
this._setupConnectionHandlers();
|
|
404
|
-
}
|
|
405
|
-
|
|
277
|
+
}
|
|
278
|
+
catch (E) {
|
|
279
|
+
setImmediate(() => this._onError(E, 'ECONNECTION', false, 'CONN'));
|
|
280
|
+
return;
|
|
406
281
|
}
|
|
407
282
|
}
|
|
408
|
-
|
|
409
283
|
/**
|
|
410
284
|
* Sets up connection timeout and error handlers
|
|
411
285
|
*/
|
|
@@ -413,42 +287,30 @@ class SMTPConnection extends EventEmitter {
|
|
|
413
287
|
this._connectionTimeout = setTimeout(() => {
|
|
414
288
|
this._onConnectionError('Connection timeout', 'ETIMEDOUT');
|
|
415
289
|
}, this.options.connectionTimeout || CONNECTION_TIMEOUT);
|
|
416
|
-
|
|
417
290
|
this._socket.on('error', this._onConnectionSocketError);
|
|
418
291
|
}
|
|
419
|
-
|
|
420
292
|
/**
|
|
421
293
|
* Handles connection errors with fallback to alternative addresses
|
|
422
294
|
*
|
|
423
|
-
* @param
|
|
424
|
-
* @param
|
|
295
|
+
* @param err Error object or message
|
|
296
|
+
* @param code Error code
|
|
425
297
|
*/
|
|
426
298
|
_onConnectionError(err, code) {
|
|
427
299
|
clearTimeout(this._connectionTimeout);
|
|
428
|
-
|
|
429
300
|
// Check if we have fallback addresses to try
|
|
430
301
|
const canFallback = this._fallbackAddresses && this._fallbackAddresses.length && this.stage === 'init' && !this._destroyed;
|
|
431
|
-
|
|
432
302
|
if (!canFallback) {
|
|
433
303
|
// No more fallback addresses, report the error
|
|
434
304
|
this._onError(err, code, false, 'CONN');
|
|
435
305
|
return;
|
|
436
306
|
}
|
|
437
|
-
|
|
438
307
|
const nextHost = this._fallbackAddresses.shift();
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
error: err.message || err
|
|
446
|
-
},
|
|
447
|
-
'Connection to %s failed, trying %s',
|
|
448
|
-
this._connectOpts.host,
|
|
449
|
-
nextHost
|
|
450
|
-
);
|
|
451
|
-
|
|
308
|
+
this.logger.info({
|
|
309
|
+
tnx: 'network',
|
|
310
|
+
failedHost: this._connectOpts.host,
|
|
311
|
+
nextHost,
|
|
312
|
+
error: err.message || err
|
|
313
|
+
}, 'Connection to %s failed, trying %s', this._connectOpts.host, nextHost);
|
|
452
314
|
// Clean up current socket
|
|
453
315
|
if (this._socket) {
|
|
454
316
|
try {
|
|
@@ -457,17 +319,16 @@ class SMTPConnection extends EventEmitter {
|
|
|
457
319
|
// after destroy), mirroring the guard used in close()
|
|
458
320
|
this._socket.on('error', TEARDOWN_NOOP);
|
|
459
321
|
this._socket.destroy();
|
|
460
|
-
}
|
|
322
|
+
}
|
|
323
|
+
catch (_E) {
|
|
461
324
|
// ignore
|
|
462
325
|
}
|
|
463
326
|
this._socket = null;
|
|
464
327
|
}
|
|
465
|
-
|
|
466
328
|
// Update host and retry
|
|
467
329
|
this._connectOpts.host = nextHost;
|
|
468
330
|
this._connectToHost(this._connectOpts, this.secureConnection);
|
|
469
331
|
}
|
|
470
|
-
|
|
471
332
|
/**
|
|
472
333
|
* Sends QUIT
|
|
473
334
|
*/
|
|
@@ -475,7 +336,6 @@ class SMTPConnection extends EventEmitter {
|
|
|
475
336
|
this._sendCommand('QUIT');
|
|
476
337
|
this._responseActions.push(this.close);
|
|
477
338
|
}
|
|
478
|
-
|
|
479
339
|
/**
|
|
480
340
|
* Closes the connection to the server
|
|
481
341
|
*/
|
|
@@ -483,36 +343,27 @@ class SMTPConnection extends EventEmitter {
|
|
|
483
343
|
clearTimeout(this._connectionTimeout);
|
|
484
344
|
clearTimeout(this._greetingTimeout);
|
|
485
345
|
this._responseActions = [];
|
|
486
|
-
|
|
487
346
|
// allow to run this function only once
|
|
488
347
|
if (this._closing) {
|
|
489
348
|
return;
|
|
490
349
|
}
|
|
491
350
|
this._closing = true;
|
|
492
|
-
|
|
493
351
|
const closeMethod = this.stage === 'init' ? 'destroy' : 'end';
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
tnx: 'smtp'
|
|
498
|
-
},
|
|
499
|
-
'Closing connection to the server using "%s"',
|
|
500
|
-
closeMethod
|
|
501
|
-
);
|
|
502
|
-
|
|
352
|
+
this.logger.debug({
|
|
353
|
+
tnx: 'smtp'
|
|
354
|
+
}, 'Closing connection to the server using "%s"', closeMethod);
|
|
503
355
|
const socket = (this._socket && this._socket.socket) || this._socket;
|
|
504
|
-
|
|
505
356
|
// Detach any in-flight DATA stream from the socket so the source stream
|
|
506
357
|
// can be garbage-collected once the socket is gone.
|
|
507
358
|
if (this._currentDataStream) {
|
|
508
359
|
try {
|
|
509
360
|
this._currentDataStream.unpipe(this._socket);
|
|
510
|
-
}
|
|
361
|
+
}
|
|
362
|
+
catch (_E) {
|
|
511
363
|
// ignore
|
|
512
364
|
}
|
|
513
365
|
this._currentDataStream = false;
|
|
514
366
|
}
|
|
515
|
-
|
|
516
367
|
if (socket && !socket.destroyed) {
|
|
517
368
|
try {
|
|
518
369
|
// Clear socket timeout to prevent timer leaks
|
|
@@ -528,14 +379,13 @@ class SMTPConnection extends EventEmitter {
|
|
|
528
379
|
// sending cleartext after TLS shutdown triggers ERR_SSL_BAD_RECORD_TYPE)
|
|
529
380
|
socket.on('error', TEARDOWN_NOOP);
|
|
530
381
|
socket[closeMethod]();
|
|
531
|
-
}
|
|
382
|
+
}
|
|
383
|
+
catch (_E) {
|
|
532
384
|
// just ignore
|
|
533
385
|
}
|
|
534
386
|
}
|
|
535
|
-
|
|
536
387
|
this._destroy();
|
|
537
388
|
}
|
|
538
|
-
|
|
539
389
|
/**
|
|
540
390
|
* Authenticate user
|
|
541
391
|
*/
|
|
@@ -544,18 +394,16 @@ class SMTPConnection extends EventEmitter {
|
|
|
544
394
|
if (isDestroyedMessage) {
|
|
545
395
|
return callback(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'API'));
|
|
546
396
|
}
|
|
547
|
-
|
|
548
397
|
this._auth = authData || {};
|
|
549
398
|
// Select SASL authentication method
|
|
550
399
|
this._authMethod = (this._auth.method || '').toString().trim().toUpperCase() || false;
|
|
551
|
-
|
|
552
400
|
if (!this._authMethod && this._auth.oauth2 && !this._auth.credentials) {
|
|
553
401
|
this._authMethod = 'XOAUTH2';
|
|
554
|
-
}
|
|
402
|
+
}
|
|
403
|
+
else if (!this._authMethod || (this._authMethod === 'XOAUTH2' && !this._auth.oauth2)) {
|
|
555
404
|
// use first supported
|
|
556
405
|
this._authMethod = (this._supportedAuth[0] || 'PLAIN').toUpperCase().trim();
|
|
557
406
|
}
|
|
558
|
-
|
|
559
407
|
if (this._authMethod !== 'XOAUTH2' && (!this._auth.credentials || !this._auth.credentials.user || !this._auth.credentials.pass)) {
|
|
560
408
|
if ((this._auth.user && this._auth.pass) || this.customAuth.has(this._authMethod)) {
|
|
561
409
|
this._auth.credentials = {
|
|
@@ -563,63 +411,51 @@ class SMTPConnection extends EventEmitter {
|
|
|
563
411
|
pass: this._auth.pass,
|
|
564
412
|
options: this._auth.options
|
|
565
413
|
};
|
|
566
|
-
}
|
|
414
|
+
}
|
|
415
|
+
else {
|
|
567
416
|
return callback(this._formatError('Missing credentials for "' + this._authMethod + '"', 'EAUTH', false, 'API'));
|
|
568
417
|
}
|
|
569
418
|
}
|
|
570
|
-
|
|
571
419
|
if (this.customAuth.has(this._authMethod)) {
|
|
572
420
|
const handler = this.customAuth.get(this._authMethod);
|
|
573
421
|
let lastResponse;
|
|
574
422
|
let returned = false;
|
|
575
|
-
|
|
576
423
|
const resolve = () => {
|
|
577
424
|
if (returned) {
|
|
578
425
|
return;
|
|
579
426
|
}
|
|
580
427
|
returned = true;
|
|
581
|
-
this.logger.info(
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
},
|
|
588
|
-
'User %s authenticated',
|
|
589
|
-
JSON.stringify(this._auth.user)
|
|
590
|
-
);
|
|
428
|
+
this.logger.info({
|
|
429
|
+
tnx: 'smtp',
|
|
430
|
+
username: this._auth.user,
|
|
431
|
+
action: 'authenticated',
|
|
432
|
+
method: this._authMethod
|
|
433
|
+
}, 'User %s authenticated', JSON.stringify(this._auth.user));
|
|
591
434
|
this.authenticated = true;
|
|
592
435
|
callback(null, true);
|
|
593
436
|
};
|
|
594
|
-
|
|
595
|
-
const reject = err => {
|
|
437
|
+
const reject = (err) => {
|
|
596
438
|
if (returned) {
|
|
597
439
|
return;
|
|
598
440
|
}
|
|
599
441
|
returned = true;
|
|
600
442
|
callback(this._formatError(err, 'EAUTH', lastResponse, 'AUTH ' + this._authMethod));
|
|
601
443
|
};
|
|
602
|
-
|
|
603
444
|
const handlerResponse = handler({
|
|
604
445
|
auth: this._auth,
|
|
605
446
|
method: this._authMethod,
|
|
606
|
-
|
|
607
447
|
extensions: [].concat(this._supportedExtensions),
|
|
608
448
|
authMethods: [].concat(this._supportedAuth),
|
|
609
449
|
maxAllowedSize: this._maxAllowedSize || false,
|
|
610
|
-
|
|
611
450
|
sendCommand: (cmd, done) => {
|
|
612
451
|
let promise;
|
|
613
|
-
|
|
614
452
|
if (!done) {
|
|
615
453
|
promise = new Promise((resolve, reject) => {
|
|
616
454
|
done = shared.callbackPromise(resolve, reject);
|
|
617
455
|
});
|
|
618
456
|
}
|
|
619
|
-
|
|
620
457
|
this._responseActions.push(str => {
|
|
621
458
|
lastResponse = str;
|
|
622
|
-
|
|
623
459
|
let codes = str.match(/^(\d+)(?:\s(\d+\.\d+\.\d+))?\s/);
|
|
624
460
|
let data = {
|
|
625
461
|
command: cmd,
|
|
@@ -631,29 +467,25 @@ class SMTPConnection extends EventEmitter {
|
|
|
631
467
|
data.code = codes[2];
|
|
632
468
|
}
|
|
633
469
|
data.text = str.substr(codes[0].length);
|
|
634
|
-
}
|
|
470
|
+
}
|
|
471
|
+
else {
|
|
635
472
|
data.text = str;
|
|
636
473
|
data.status = 0; // just in case we need to perform numeric comparisons
|
|
637
474
|
}
|
|
638
475
|
done(null, data);
|
|
639
476
|
});
|
|
640
477
|
setImmediate(() => this._sendCommand(cmd));
|
|
641
|
-
|
|
642
478
|
return promise;
|
|
643
479
|
},
|
|
644
|
-
|
|
645
480
|
resolve,
|
|
646
481
|
reject
|
|
647
482
|
});
|
|
648
|
-
|
|
649
483
|
if (handlerResponse && typeof handlerResponse.catch === 'function') {
|
|
650
484
|
// a promise was returned
|
|
651
485
|
handlerResponse.then(resolve).catch(reject);
|
|
652
486
|
}
|
|
653
|
-
|
|
654
487
|
return;
|
|
655
488
|
}
|
|
656
|
-
|
|
657
489
|
switch (this._authMethod) {
|
|
658
490
|
case 'XOAUTH2':
|
|
659
491
|
this._handleXOauth2Token(false, callback);
|
|
@@ -668,27 +500,21 @@ class SMTPConnection extends EventEmitter {
|
|
|
668
500
|
this._responseActions.push(str => {
|
|
669
501
|
this._actionAUTHComplete(str, callback);
|
|
670
502
|
});
|
|
671
|
-
this._sendCommand(
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
//
|
|
682
|
-
'
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
this._auth.credentials.user +
|
|
687
|
-
'\u0000' +
|
|
688
|
-
'/* secret */',
|
|
689
|
-
'utf-8'
|
|
690
|
-
).toString('base64')
|
|
691
|
-
);
|
|
503
|
+
this._sendCommand('AUTH PLAIN ' +
|
|
504
|
+
Buffer.from(
|
|
505
|
+
//this._auth.user+'\u0000'+
|
|
506
|
+
'\u0000' + // skip authorization identity as it causes problems with some servers
|
|
507
|
+
this._auth.credentials.user +
|
|
508
|
+
'\u0000' +
|
|
509
|
+
this._auth.credentials.pass, 'utf-8').toString('base64'),
|
|
510
|
+
// log entry without passwords
|
|
511
|
+
'AUTH PLAIN ' +
|
|
512
|
+
Buffer.from(
|
|
513
|
+
//this._auth.user+'\u0000'+
|
|
514
|
+
'\u0000' + // skip authorization identity as it causes problems with some servers
|
|
515
|
+
this._auth.credentials.user +
|
|
516
|
+
'\u0000' +
|
|
517
|
+
'/* secret */', 'utf-8').toString('base64'));
|
|
692
518
|
return;
|
|
693
519
|
case 'CRAM-MD5':
|
|
694
520
|
this._responseActions.push(str => {
|
|
@@ -697,49 +523,42 @@ class SMTPConnection extends EventEmitter {
|
|
|
697
523
|
this._sendCommand('AUTH CRAM-MD5');
|
|
698
524
|
return;
|
|
699
525
|
}
|
|
700
|
-
|
|
701
526
|
return callback(this._formatError('Unknown authentication method "' + this._authMethod + '"', 'EAUTH', false, 'API'));
|
|
702
527
|
}
|
|
703
|
-
|
|
704
528
|
/**
|
|
705
529
|
* Sends a message
|
|
706
530
|
*
|
|
707
|
-
* @param
|
|
708
|
-
* @param
|
|
709
|
-
* @param
|
|
531
|
+
* @param envelope Envelope object, {from: addr, to: [addr]}
|
|
532
|
+
* @param message String, Buffer or a Stream
|
|
533
|
+
* @param callback Callback to return once sending is completed
|
|
710
534
|
*/
|
|
711
535
|
send(envelope, message, done) {
|
|
712
536
|
if (!message) {
|
|
713
537
|
return done(this._formatError('Empty message', 'EMESSAGE', false, 'API'));
|
|
714
538
|
}
|
|
715
|
-
|
|
716
539
|
const isDestroyedMessage = this._isDestroyedMessage('send message');
|
|
717
540
|
if (isDestroyedMessage) {
|
|
718
541
|
return done(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'API'));
|
|
719
542
|
}
|
|
720
|
-
|
|
721
543
|
// reject larger messages than allowed
|
|
722
544
|
if (this._maxAllowedSize && envelope.size > this._maxAllowedSize) {
|
|
723
|
-
|
|
545
|
+
setImmediate(() => {
|
|
724
546
|
done(this._formatError('Message size larger than allowed ' + this._maxAllowedSize, 'EMESSAGE', false, 'MAIL FROM'));
|
|
725
547
|
});
|
|
548
|
+
return;
|
|
726
549
|
}
|
|
727
|
-
|
|
728
550
|
// ensure that callback is only called once
|
|
729
551
|
let returned = false;
|
|
730
|
-
const callback = function () {
|
|
552
|
+
const callback = function (...args) {
|
|
731
553
|
if (returned) {
|
|
732
554
|
return;
|
|
733
555
|
}
|
|
734
556
|
returned = true;
|
|
735
|
-
|
|
736
|
-
done(...arguments);
|
|
557
|
+
done(...args);
|
|
737
558
|
};
|
|
738
|
-
|
|
739
559
|
if (typeof message.on === 'function') {
|
|
740
560
|
message.on('error', err => callback(this._formatError(err, 'ESTREAM', false, 'API')));
|
|
741
561
|
}
|
|
742
|
-
|
|
743
562
|
const startTime = Date.now();
|
|
744
563
|
this._setEnvelope(envelope, (err, info) => {
|
|
745
564
|
if (err) {
|
|
@@ -747,11 +566,11 @@ class SMTPConnection extends EventEmitter {
|
|
|
747
566
|
const stream = new PassThrough();
|
|
748
567
|
if (typeof message.pipe === 'function') {
|
|
749
568
|
message.pipe(stream);
|
|
750
|
-
}
|
|
569
|
+
}
|
|
570
|
+
else {
|
|
751
571
|
stream.write(message);
|
|
752
572
|
stream.end();
|
|
753
573
|
}
|
|
754
|
-
|
|
755
574
|
return callback(err);
|
|
756
575
|
}
|
|
757
576
|
const envelopeTime = Date.now();
|
|
@@ -759,34 +578,31 @@ class SMTPConnection extends EventEmitter {
|
|
|
759
578
|
if (err) {
|
|
760
579
|
return callback(err);
|
|
761
580
|
}
|
|
762
|
-
|
|
763
581
|
info.envelopeTime = envelopeTime - startTime;
|
|
764
582
|
info.messageTime = Date.now() - envelopeTime;
|
|
765
583
|
info.messageSize = stream.outByteCount;
|
|
766
584
|
info.response = str;
|
|
767
|
-
|
|
768
585
|
return callback(null, info);
|
|
769
586
|
});
|
|
770
587
|
if (typeof message.pipe === 'function') {
|
|
771
588
|
message.pipe(stream);
|
|
772
|
-
}
|
|
589
|
+
}
|
|
590
|
+
else {
|
|
773
591
|
stream.write(message);
|
|
774
592
|
stream.end();
|
|
775
593
|
}
|
|
776
594
|
});
|
|
777
595
|
}
|
|
778
|
-
|
|
779
596
|
/**
|
|
780
597
|
* Resets connection state
|
|
781
598
|
*
|
|
782
|
-
* @param
|
|
599
|
+
* @param callback Callback to return once connection is reset
|
|
783
600
|
*/
|
|
784
601
|
reset(callback) {
|
|
785
602
|
const isDestroyedMessage = this._isDestroyedMessage('reset');
|
|
786
603
|
if (isDestroyedMessage) {
|
|
787
604
|
return callback(this._formatError(isDestroyedMessage, 'ECONNECTION', false, 'API'));
|
|
788
605
|
}
|
|
789
|
-
|
|
790
606
|
this._sendCommand('RSET');
|
|
791
607
|
this._responseActions.push(str => {
|
|
792
608
|
if (str.charAt(0) !== '2') {
|
|
@@ -796,7 +612,6 @@ class SMTPConnection extends EventEmitter {
|
|
|
796
612
|
return callback(null, true);
|
|
797
613
|
});
|
|
798
614
|
}
|
|
799
|
-
|
|
800
615
|
/**
|
|
801
616
|
* Connection listener that is run when the connection to
|
|
802
617
|
* the server is opened
|
|
@@ -804,161 +619,130 @@ class SMTPConnection extends EventEmitter {
|
|
|
804
619
|
* @event
|
|
805
620
|
*/
|
|
806
621
|
_onConnect() {
|
|
622
|
+
const socket = this._socket;
|
|
807
623
|
clearTimeout(this._connectionTimeout);
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
remotePort: this._socket.remotePort
|
|
816
|
-
},
|
|
817
|
-
'%s established to %s:%s',
|
|
818
|
-
this.secure ? 'Secure connection' : 'Connection',
|
|
819
|
-
this._socket.remoteAddress,
|
|
820
|
-
this._socket.remotePort
|
|
821
|
-
);
|
|
822
|
-
|
|
624
|
+
this.logger.info({
|
|
625
|
+
tnx: 'network',
|
|
626
|
+
localAddress: socket.localAddress,
|
|
627
|
+
localPort: socket.localPort,
|
|
628
|
+
remoteAddress: socket.remoteAddress,
|
|
629
|
+
remotePort: socket.remotePort
|
|
630
|
+
}, '%s established to %s:%s', this.secure ? 'Secure connection' : 'Connection', socket.remoteAddress, socket.remotePort);
|
|
823
631
|
if (this._destroyed) {
|
|
824
632
|
// Connection was established after we already had canceled it
|
|
825
633
|
this.close();
|
|
826
634
|
return;
|
|
827
635
|
}
|
|
828
|
-
|
|
829
636
|
this.stage = 'connected';
|
|
830
|
-
|
|
831
637
|
// clear existing listeners for the socket
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
638
|
+
socket.removeListener('data', this._onSocketData);
|
|
639
|
+
socket.removeListener('timeout', this._onSocketTimeout);
|
|
640
|
+
socket.removeListener('close', this._onSocketClose);
|
|
641
|
+
socket.removeListener('end', this._onSocketEnd);
|
|
836
642
|
// Switch from connection-phase error handler to normal error handler
|
|
837
|
-
|
|
643
|
+
socket.removeListener('error', this._onConnectionSocketError);
|
|
838
644
|
// _upgradeConnection (options.connection + secure) may already have attached
|
|
839
645
|
// the normal handler; remove it first so we never end up with a duplicate
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
this.
|
|
846
|
-
|
|
847
|
-
this._socket.setTimeout(this.options.socketTimeout || SOCKET_TIMEOUT);
|
|
848
|
-
this._socket.on('timeout', this._onSocketTimeout);
|
|
849
|
-
|
|
646
|
+
socket.removeListener('error', this._onSocketError);
|
|
647
|
+
socket.on('error', this._onSocketError);
|
|
648
|
+
socket.on('data', this._onSocketData);
|
|
649
|
+
socket.once('close', this._onSocketClose);
|
|
650
|
+
socket.once('end', this._onSocketEnd);
|
|
651
|
+
socket.setTimeout(this.options.socketTimeout || SOCKET_TIMEOUT);
|
|
652
|
+
socket.on('timeout', this._onSocketTimeout);
|
|
850
653
|
this._greetingTimeout = setTimeout(() => {
|
|
851
654
|
// if still waiting for greeting, give up
|
|
852
655
|
if (this._socket && !this._destroyed && this._responseActions[0] === this._actionGreeting) {
|
|
853
656
|
this._onError('Greeting never received', 'ETIMEDOUT', false, 'CONN');
|
|
854
657
|
}
|
|
855
658
|
}, this.options.greetingTimeout || GREETING_TIMEOUT);
|
|
856
|
-
|
|
857
659
|
this._responseActions.push(this._actionGreeting);
|
|
858
|
-
|
|
859
660
|
// we have a 'data' listener set up so resume socket if it was paused
|
|
860
|
-
|
|
661
|
+
socket.resume();
|
|
861
662
|
}
|
|
862
|
-
|
|
863
663
|
/**
|
|
864
664
|
* 'data' listener for data coming from the server
|
|
865
665
|
*
|
|
866
666
|
* @event
|
|
867
|
-
* @param
|
|
667
|
+
* @param chunk Data chunk coming from the server
|
|
868
668
|
*/
|
|
869
669
|
_onData(chunk) {
|
|
870
670
|
if (this._destroyed || !chunk || !chunk.length) {
|
|
871
671
|
return;
|
|
872
672
|
}
|
|
873
|
-
|
|
874
673
|
let data = chunk.toString('binary');
|
|
875
674
|
let lines = (this._remainder + data).split(/\r?\n/);
|
|
876
675
|
let lastline;
|
|
877
|
-
|
|
878
676
|
this._remainder = lines.pop();
|
|
879
|
-
|
|
880
677
|
for (let i = 0, len = lines.length; i < len; i++) {
|
|
881
678
|
if (this._responseQueue.length) {
|
|
882
679
|
lastline = this._responseQueue[this._responseQueue.length - 1];
|
|
883
|
-
if (
|
|
680
|
+
if (isPartialResponse(lastline)) {
|
|
884
681
|
this._responseQueue[this._responseQueue.length - 1] += '\n' + lines[i];
|
|
885
682
|
continue;
|
|
886
683
|
}
|
|
887
684
|
}
|
|
888
685
|
this._responseQueue.push(lines[i]);
|
|
889
686
|
}
|
|
890
|
-
|
|
891
687
|
if (this._responseQueue.length) {
|
|
892
688
|
lastline = this._responseQueue[this._responseQueue.length - 1];
|
|
893
|
-
if (
|
|
689
|
+
if (isPartialResponse(lastline)) {
|
|
894
690
|
return;
|
|
895
691
|
}
|
|
896
692
|
}
|
|
897
|
-
|
|
898
693
|
this._processResponse();
|
|
899
694
|
}
|
|
900
|
-
|
|
901
695
|
/**
|
|
902
696
|
* 'error' listener for the socket
|
|
903
697
|
*
|
|
904
698
|
* @event
|
|
905
|
-
* @param
|
|
906
|
-
* @param
|
|
699
|
+
* @param err Error object
|
|
700
|
+
* @param type Error name
|
|
907
701
|
*/
|
|
908
702
|
_onError(err, type, data, command) {
|
|
909
703
|
clearTimeout(this._connectionTimeout);
|
|
910
704
|
clearTimeout(this._greetingTimeout);
|
|
911
|
-
|
|
912
705
|
if (this._destroyed) {
|
|
913
706
|
// just ignore, already closed
|
|
914
707
|
// this might happen when a socket is canceled because of reached timeout
|
|
915
708
|
// but the socket timeout error itself receives only after
|
|
916
709
|
return;
|
|
917
710
|
}
|
|
918
|
-
|
|
919
711
|
err = this._formatError(err, type, data, command);
|
|
920
|
-
|
|
921
712
|
const transientCodes = ['ETIMEDOUT', 'ESOCKET', 'ECONNECTION'];
|
|
922
713
|
if (transientCodes.includes(err.code)) {
|
|
923
714
|
this.logger.warn(data, err.message);
|
|
924
|
-
}
|
|
715
|
+
}
|
|
716
|
+
else {
|
|
925
717
|
this.logger.error(data, err.message);
|
|
926
718
|
}
|
|
927
|
-
|
|
928
719
|
this.emit('error', err);
|
|
929
720
|
this.close();
|
|
930
721
|
}
|
|
931
|
-
|
|
932
722
|
_formatError(message, type, response, command) {
|
|
933
723
|
let err;
|
|
934
|
-
|
|
935
724
|
if (/Error\]$/i.test(Object.prototype.toString.call(message))) {
|
|
936
725
|
err = message;
|
|
937
|
-
}
|
|
726
|
+
}
|
|
727
|
+
else {
|
|
938
728
|
err = new Error(message);
|
|
939
729
|
}
|
|
940
|
-
|
|
941
730
|
if (type && type !== 'Error') {
|
|
942
731
|
err.code = type;
|
|
943
732
|
}
|
|
944
|
-
|
|
945
733
|
if (response) {
|
|
946
734
|
err.response = response;
|
|
947
735
|
err.message += ': ' + response;
|
|
948
736
|
}
|
|
949
|
-
|
|
950
737
|
const responseCode = (typeof response === 'string' && Number((response.match(/^\d+/) || [])[0])) || false;
|
|
951
738
|
if (responseCode) {
|
|
952
739
|
err.responseCode = responseCode;
|
|
953
740
|
}
|
|
954
|
-
|
|
955
741
|
if (command) {
|
|
956
742
|
err.command = command;
|
|
957
743
|
}
|
|
958
|
-
|
|
959
744
|
return err;
|
|
960
745
|
}
|
|
961
|
-
|
|
962
746
|
/**
|
|
963
747
|
* 'close' listener for the socket
|
|
964
748
|
*
|
|
@@ -966,37 +750,28 @@ class SMTPConnection extends EventEmitter {
|
|
|
966
750
|
*/
|
|
967
751
|
_onClose() {
|
|
968
752
|
let serverResponse = false;
|
|
969
|
-
|
|
970
753
|
if (this._remainder && this._remainder.trim()) {
|
|
971
754
|
this.lastServerResponse = serverResponse = decodeServerResponse(this._remainder.trim());
|
|
972
755
|
if (this.options.debug || this.options.transactionLog) {
|
|
973
|
-
this.logger.debug(
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
},
|
|
977
|
-
serverResponse
|
|
978
|
-
);
|
|
756
|
+
this.logger.debug({
|
|
757
|
+
tnx: 'server'
|
|
758
|
+
}, serverResponse);
|
|
979
759
|
}
|
|
980
760
|
}
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
tnx: 'network'
|
|
985
|
-
},
|
|
986
|
-
'Connection closed'
|
|
987
|
-
);
|
|
988
|
-
|
|
761
|
+
this.logger.info({
|
|
762
|
+
tnx: 'network'
|
|
763
|
+
}, 'Connection closed');
|
|
989
764
|
if (this.upgrading && !this._destroyed) {
|
|
990
765
|
return this._onError(new Error('Connection closed unexpectedly'), 'ETLS', serverResponse, 'CONN');
|
|
991
|
-
}
|
|
766
|
+
}
|
|
767
|
+
else if (![this._actionGreeting, this.close].includes(this._responseActions[0]) && !this._destroyed) {
|
|
992
768
|
return this._onError(new Error('Connection closed unexpectedly'), 'ECONNECTION', serverResponse, 'CONN');
|
|
993
|
-
}
|
|
769
|
+
}
|
|
770
|
+
else if (/^[45]\d{2}\b/.test(serverResponse)) {
|
|
994
771
|
return this._onError(new Error('Connection closed unexpectedly'), 'ECONNECTION', serverResponse, 'CONN');
|
|
995
772
|
}
|
|
996
|
-
|
|
997
773
|
this._destroy();
|
|
998
774
|
}
|
|
999
|
-
|
|
1000
775
|
/**
|
|
1001
776
|
* 'end' listener for the socket
|
|
1002
777
|
*
|
|
@@ -1004,12 +779,11 @@ class SMTPConnection extends EventEmitter {
|
|
|
1004
779
|
*/
|
|
1005
780
|
_onEnd() {
|
|
1006
781
|
if (this._socket && !this._socket.destroyed) {
|
|
1007
|
-
// Peer sent FIN
|
|
782
|
+
// Peer sent FIN, finish our half of the close gracefully rather
|
|
1008
783
|
// than destroying. 'close' fires after the OS finalizes teardown.
|
|
1009
784
|
this._socket.end();
|
|
1010
785
|
}
|
|
1011
786
|
}
|
|
1012
|
-
|
|
1013
787
|
/**
|
|
1014
788
|
* 'timeout' listener for the socket
|
|
1015
789
|
*
|
|
@@ -1018,7 +792,6 @@ class SMTPConnection extends EventEmitter {
|
|
|
1018
792
|
_onTimeout() {
|
|
1019
793
|
return this._onError(new Error('Timeout'), 'ETIMEDOUT', false, 'CONN');
|
|
1020
794
|
}
|
|
1021
|
-
|
|
1022
795
|
/**
|
|
1023
796
|
* Destroys the client, emits 'end'
|
|
1024
797
|
*/
|
|
@@ -1029,13 +802,18 @@ class SMTPConnection extends EventEmitter {
|
|
|
1029
802
|
this._destroyed = true;
|
|
1030
803
|
// keep the documented public flag in sync with the private state
|
|
1031
804
|
this.destroyed = true;
|
|
805
|
+
// a connection the server dropped before the greeting would otherwise keep
|
|
806
|
+
// the greeting timer, and with it the process, alive until it fires
|
|
807
|
+
clearTimeout(this._connectionTimeout);
|
|
808
|
+
clearTimeout(this._greetingTimeout);
|
|
809
|
+
this._connectionTimeout = false;
|
|
810
|
+
this._greetingTimeout = false;
|
|
1032
811
|
this.emit('end');
|
|
1033
812
|
}
|
|
1034
|
-
|
|
1035
813
|
/**
|
|
1036
814
|
* Upgrades the connection to TLS
|
|
1037
815
|
*
|
|
1038
|
-
* @param
|
|
816
|
+
* @param callback Callback function to run when the connection
|
|
1039
817
|
* has been secured
|
|
1040
818
|
*/
|
|
1041
819
|
_upgradeConnection(callback) {
|
|
@@ -1047,28 +825,20 @@ class SMTPConnection extends EventEmitter {
|
|
|
1047
825
|
// part of the secured EHLO capabilities). STARTTLS response injection.
|
|
1048
826
|
this._remainder = '';
|
|
1049
827
|
this._responseQueue = [];
|
|
1050
|
-
|
|
1051
828
|
// do not remove all listeners or it breaks node v0.10 as there's
|
|
1052
829
|
// apparently a 'finish' event set that would be cleared as well
|
|
1053
|
-
|
|
1054
830
|
// we can safely keep 'error', 'end', 'close' etc. events
|
|
1055
|
-
this._socket.removeListener('data', this._onSocketData); // incoming data is going to be gibberish from this point onwards
|
|
1056
|
-
this._socket.removeListener('timeout', this._onSocketTimeout); // timeout will be re-set for the new socket object
|
|
1057
|
-
|
|
1058
831
|
const socketPlain = this._socket;
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
);
|
|
1066
|
-
|
|
832
|
+
socketPlain.removeListener('data', this._onSocketData); // incoming data is going to be gibberish from this point onwards
|
|
833
|
+
socketPlain.removeListener('timeout', this._onSocketTimeout); // timeout will be re-set for the new socket object
|
|
834
|
+
const opts = Object.assign({
|
|
835
|
+
socket: socketPlain,
|
|
836
|
+
host: this.host
|
|
837
|
+
}, this.options.tls || {});
|
|
1067
838
|
// ensure servername for SNI
|
|
1068
839
|
if (this.servername && !opts.servername) {
|
|
1069
840
|
opts.servername = this.servername;
|
|
1070
841
|
}
|
|
1071
|
-
|
|
1072
842
|
// Remove all listeners from the plain socket to allow proper garbage
|
|
1073
843
|
// collection. Used on both the TLS-success path and the synchronous
|
|
1074
844
|
// tls.connect() throw path; either way the plain socket is done.
|
|
@@ -1080,7 +850,6 @@ class SMTPConnection extends EventEmitter {
|
|
|
1080
850
|
// options.connection socket; strip it so nothing lingers on the plain socket
|
|
1081
851
|
socketPlain.removeListener('error', this._onConnectionSocketError);
|
|
1082
852
|
};
|
|
1083
|
-
|
|
1084
853
|
this.upgrading = true;
|
|
1085
854
|
// tls.connect is not an asynchronous function however it may still throw errors and requires to be wrapped with try/catch
|
|
1086
855
|
try {
|
|
@@ -1088,27 +857,22 @@ class SMTPConnection extends EventEmitter {
|
|
|
1088
857
|
this.secure = true;
|
|
1089
858
|
this.upgrading = false;
|
|
1090
859
|
this._socket.on('data', this._onSocketData);
|
|
1091
|
-
|
|
1092
860
|
removePlainSocketListeners();
|
|
1093
|
-
|
|
1094
861
|
return callback(null, true);
|
|
1095
862
|
});
|
|
1096
|
-
}
|
|
863
|
+
}
|
|
864
|
+
catch (err) {
|
|
1097
865
|
removePlainSocketListeners();
|
|
1098
866
|
return callback(err);
|
|
1099
867
|
}
|
|
1100
|
-
|
|
1101
868
|
this._socket.on('error', this._onSocketError);
|
|
1102
869
|
this._socket.once('close', this._onSocketClose);
|
|
1103
870
|
this._socket.once('end', this._onSocketEnd);
|
|
1104
|
-
|
|
1105
871
|
this._socket.setTimeout(this.options.socketTimeout || SOCKET_TIMEOUT); // 10 min.
|
|
1106
872
|
this._socket.on('timeout', this._onSocketTimeout);
|
|
1107
|
-
|
|
1108
873
|
// resume in case the socket was paused
|
|
1109
874
|
socketPlain.resume();
|
|
1110
875
|
}
|
|
1111
|
-
|
|
1112
876
|
/**
|
|
1113
877
|
* Processes queued responses from the server
|
|
1114
878
|
*/
|
|
@@ -1116,77 +880,62 @@ class SMTPConnection extends EventEmitter {
|
|
|
1116
880
|
if (!this._responseQueue.length) {
|
|
1117
881
|
return false;
|
|
1118
882
|
}
|
|
1119
|
-
|
|
1120
883
|
const raw = (this._responseQueue.shift() || '').toString();
|
|
1121
|
-
|
|
1122
884
|
// Skip unexpected empty lines without consuming a response action or
|
|
1123
885
|
// overwriting lastServerResponse; reprocess whatever else is queued.
|
|
1124
886
|
if (!raw.trim()) {
|
|
1125
887
|
setImmediate(() => this._processResponse());
|
|
1126
888
|
return;
|
|
1127
889
|
}
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
// last line is still a continuation: put the partial response back on the
|
|
1133
|
-
// queue and wait for the rest rather than dropping it
|
|
890
|
+
if (isPartialResponse(raw)) {
|
|
891
|
+
// the rest of the reply is still on its way: put it back on the queue and wait
|
|
892
|
+
// rather than dropping it. It has not been received in full, so it must not be
|
|
893
|
+
// reported as the last server response either
|
|
1134
894
|
this._responseQueue.unshift(raw);
|
|
1135
895
|
return;
|
|
1136
896
|
}
|
|
1137
|
-
|
|
897
|
+
const str = (this.lastServerResponse = decodeServerResponse(raw));
|
|
1138
898
|
if (this.options.debug || this.options.transactionLog) {
|
|
1139
|
-
this.logger.debug(
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
},
|
|
1143
|
-
str.replace(/\r?\n$/, '')
|
|
1144
|
-
);
|
|
899
|
+
this.logger.debug({
|
|
900
|
+
tnx: 'server'
|
|
901
|
+
}, str.replace(/\r?\n$/, ''));
|
|
1145
902
|
}
|
|
1146
|
-
|
|
1147
903
|
const action = this._responseActions.shift();
|
|
1148
|
-
|
|
1149
904
|
if (typeof action === 'function') {
|
|
1150
905
|
action.call(this, str);
|
|
1151
906
|
setImmediate(() => this._processResponse());
|
|
1152
|
-
}
|
|
907
|
+
}
|
|
908
|
+
else {
|
|
1153
909
|
return this._onError(new Error('Unexpected Response'), 'EPROTOCOL', str, 'CONN');
|
|
1154
910
|
}
|
|
1155
911
|
}
|
|
1156
|
-
|
|
1157
912
|
/**
|
|
1158
913
|
* Send a command to the server, append \r\n
|
|
1159
914
|
*
|
|
1160
|
-
* @param
|
|
1161
|
-
* @param
|
|
915
|
+
* @param str String to be sent to the server
|
|
916
|
+
* @param logStr Optional string to be used for logging instead of the actual string
|
|
1162
917
|
*/
|
|
1163
918
|
_sendCommand(str, logStr) {
|
|
1164
919
|
if (this._destroyed) {
|
|
1165
920
|
// Connection already closed, can't send any more data
|
|
1166
921
|
return;
|
|
1167
922
|
}
|
|
1168
|
-
|
|
1169
|
-
if (
|
|
923
|
+
const socket = this._socket;
|
|
924
|
+
if (socket.destroyed) {
|
|
1170
925
|
return this.close();
|
|
1171
926
|
}
|
|
1172
|
-
|
|
1173
927
|
if (this.options.debug || this.options.transactionLog) {
|
|
1174
|
-
this.logger.debug(
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
},
|
|
1178
|
-
(logStr || str || '').toString().replace(/\r?\n$/, '')
|
|
1179
|
-
);
|
|
928
|
+
this.logger.debug({
|
|
929
|
+
tnx: 'client'
|
|
930
|
+
}, (logStr || str || '').toString().replace(/\r?\n$/, ''));
|
|
1180
931
|
}
|
|
1181
|
-
|
|
1182
|
-
this._socket.write(Buffer.from(str + '\r\n', 'utf-8'));
|
|
932
|
+
socket.write(Buffer.from(str + '\r\n', 'utf-8'));
|
|
1183
933
|
}
|
|
1184
|
-
|
|
1185
934
|
/**
|
|
1186
935
|
* Initiates a new message by submitting envelope data, starting with
|
|
1187
936
|
* MAIL FROM: command
|
|
1188
937
|
*
|
|
1189
|
-
* @param
|
|
938
|
+
* @param envelope Envelope object in the form of
|
|
1190
939
|
* {from:'...', to:['...']}
|
|
1191
940
|
* or
|
|
1192
941
|
* {from:{address:'...',name:'...'}, to:[address:'...',name:'...']}
|
|
@@ -1194,94 +943,80 @@ class SMTPConnection extends EventEmitter {
|
|
|
1194
943
|
_setEnvelope(envelope, callback) {
|
|
1195
944
|
const args = [];
|
|
1196
945
|
let useSmtpUtf8 = false;
|
|
1197
|
-
|
|
1198
|
-
this._envelope =
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
this._envelope.to = []
|
|
1202
|
-
|
|
946
|
+
this._envelope = (envelope || {});
|
|
947
|
+
this._envelope.from = ((this._envelope.from && this._envelope.from.address) || this._envelope.from || '')
|
|
948
|
+
.toString()
|
|
949
|
+
.trim();
|
|
950
|
+
this._envelope.to = []
|
|
951
|
+
.concat(this._envelope.to || [])
|
|
952
|
+
.map(to => ((to && to.address) || to || '').toString().trim());
|
|
1203
953
|
if (!this._envelope.to.length) {
|
|
1204
954
|
return callback(this._formatError('No recipients defined', 'EENVELOPE', false, 'API'));
|
|
1205
955
|
}
|
|
1206
|
-
|
|
1207
956
|
if (this._envelope.from && /[\r\n<>]/.test(this._envelope.from)) {
|
|
1208
957
|
return callback(this._formatError('Invalid sender ' + JSON.stringify(this._envelope.from), 'EENVELOPE', false, 'API'));
|
|
1209
958
|
}
|
|
1210
|
-
|
|
1211
959
|
// check if the sender address uses only ASCII characters,
|
|
1212
960
|
// otherwise require usage of SMTPUTF8 extension
|
|
1213
961
|
if (/[\x80-\uFFFF]/.test(this._envelope.from)) {
|
|
1214
962
|
useSmtpUtf8 = true;
|
|
1215
963
|
}
|
|
1216
|
-
|
|
1217
964
|
for (let i = 0, len = this._envelope.to.length; i < len; i++) {
|
|
1218
965
|
if (!this._envelope.to[i] || /[\r\n<>]/.test(this._envelope.to[i])) {
|
|
1219
966
|
return callback(this._formatError('Invalid recipient ' + JSON.stringify(this._envelope.to[i]), 'EENVELOPE', false, 'API'));
|
|
1220
967
|
}
|
|
1221
|
-
|
|
1222
968
|
// check if the recipients addresses use only ASCII characters,
|
|
1223
969
|
// otherwise require usage of SMTPUTF8 extension
|
|
1224
970
|
if (/[\x80-\uFFFF]/.test(this._envelope.to[i])) {
|
|
1225
971
|
useSmtpUtf8 = true;
|
|
1226
972
|
}
|
|
1227
973
|
}
|
|
1228
|
-
|
|
1229
974
|
// clone the recipients array for latter manipulation
|
|
1230
975
|
this._envelope.rcptQueue = [].concat(this._envelope.to || []);
|
|
1231
976
|
this._envelope.rejected = [];
|
|
1232
977
|
this._envelope.rejectedErrors = [];
|
|
1233
978
|
this._envelope.accepted = [];
|
|
1234
|
-
|
|
1235
979
|
if (this._envelope.dsn) {
|
|
1236
980
|
try {
|
|
1237
981
|
this._envelope.dsn = this._setDsnEnvelope(this._envelope.dsn);
|
|
1238
|
-
}
|
|
982
|
+
}
|
|
983
|
+
catch (err) {
|
|
1239
984
|
return callback(this._formatError('Invalid DSN ' + err.message, 'EENVELOPE', false, 'API'));
|
|
1240
985
|
}
|
|
1241
986
|
}
|
|
1242
|
-
|
|
1243
987
|
// RFC 8689: validate REQUIRETLS eligibility before queuing the MAIL FROM
|
|
1244
988
|
// response action, so a rejection here cannot leave an orphaned action in
|
|
1245
989
|
// _responseActions (which would consume the next reply and desync a reused
|
|
1246
990
|
// connection).
|
|
1247
991
|
if (this._envelope.requireTLSExtensionEnabled) {
|
|
1248
992
|
if (!this.secure) {
|
|
1249
|
-
return callback(
|
|
1250
|
-
this._formatError('REQUIRETLS can only be used over TLS connections (RFC 8689)', 'EREQUIRETLS', false, 'MAIL FROM')
|
|
1251
|
-
);
|
|
993
|
+
return callback(this._formatError('REQUIRETLS can only be used over TLS connections (RFC 8689)', 'EREQUIRETLS', false, 'MAIL FROM'));
|
|
1252
994
|
}
|
|
1253
995
|
if (!this._supportedExtensions.includes('REQUIRETLS')) {
|
|
1254
|
-
return callback(
|
|
1255
|
-
this._formatError('Server does not support REQUIRETLS extension (RFC 8689)', 'EREQUIRETLS', false, 'MAIL FROM')
|
|
1256
|
-
);
|
|
996
|
+
return callback(this._formatError('Server does not support REQUIRETLS extension (RFC 8689)', 'EREQUIRETLS', false, 'MAIL FROM'));
|
|
1257
997
|
}
|
|
1258
998
|
}
|
|
1259
|
-
|
|
1260
999
|
this._responseActions.push(str => {
|
|
1261
1000
|
this._actionMAIL(str, callback);
|
|
1262
1001
|
});
|
|
1263
|
-
|
|
1264
1002
|
// If the server supports SMTPUTF8 and the envelope includes an internationalized
|
|
1265
1003
|
// email address then append SMTPUTF8 keyword to the MAIL FROM command
|
|
1266
1004
|
if (useSmtpUtf8 && this._supportedExtensions.includes('SMTPUTF8')) {
|
|
1267
1005
|
args.push('SMTPUTF8');
|
|
1268
1006
|
this._usingSmtpUtf8 = true;
|
|
1269
1007
|
}
|
|
1270
|
-
|
|
1271
1008
|
// If the server supports 8BITMIME and the message might contain non-ascii bytes
|
|
1272
1009
|
// then append the 8BITMIME keyword to the MAIL FROM command
|
|
1273
1010
|
if (this._envelope.use8BitMime && this._supportedExtensions.includes('8BITMIME')) {
|
|
1274
1011
|
args.push('BODY=8BITMIME');
|
|
1275
1012
|
this._using8BitMime = true;
|
|
1276
1013
|
}
|
|
1277
|
-
|
|
1278
1014
|
if (this._envelope.size && this._supportedExtensions.includes('SIZE')) {
|
|
1279
1015
|
const sizeValue = Number(this._envelope.size) || 0;
|
|
1280
1016
|
if (sizeValue > 0) {
|
|
1281
1017
|
args.push('SIZE=' + sizeValue);
|
|
1282
1018
|
}
|
|
1283
1019
|
}
|
|
1284
|
-
|
|
1285
1020
|
// If the server supports DSN and the envelope includes an DSN prop
|
|
1286
1021
|
// then append DSN params to the MAIL FROM command
|
|
1287
1022
|
if (this._envelope.dsn && this._supportedExtensions.includes('DSN')) {
|
|
@@ -1292,17 +1027,14 @@ class SMTPConnection extends EventEmitter {
|
|
|
1292
1027
|
args.push('ENVID=' + shared.encodeXText(this._envelope.dsn.envid));
|
|
1293
1028
|
}
|
|
1294
1029
|
}
|
|
1295
|
-
|
|
1296
1030
|
// RFC 8689: append the REQUIRETLS keyword to MAIL FROM. Eligibility
|
|
1297
1031
|
// (TLS connection + server support) was already validated above, before
|
|
1298
1032
|
// the response action was queued.
|
|
1299
1033
|
if (this._envelope.requireTLSExtensionEnabled) {
|
|
1300
1034
|
args.push('REQUIRETLS');
|
|
1301
1035
|
}
|
|
1302
|
-
|
|
1303
1036
|
this._sendCommand('MAIL FROM:<' + this._envelope.from + '>' + (args.length ? ' ' + args.join(' ') : ''));
|
|
1304
1037
|
}
|
|
1305
|
-
|
|
1306
1038
|
_setDsnEnvelope(params) {
|
|
1307
1039
|
let ret = (params.ret || params.return || '').toString().toUpperCase() || null;
|
|
1308
1040
|
if (ret) {
|
|
@@ -1317,13 +1049,10 @@ class SMTPConnection extends EventEmitter {
|
|
|
1317
1049
|
break;
|
|
1318
1050
|
}
|
|
1319
1051
|
}
|
|
1320
|
-
|
|
1321
1052
|
if (ret && !['FULL', 'HDRS'].includes(ret)) {
|
|
1322
1053
|
throw new Error('ret: ' + JSON.stringify(ret));
|
|
1323
1054
|
}
|
|
1324
|
-
|
|
1325
1055
|
const envid = (params.envid || params.id || '').toString() || null;
|
|
1326
|
-
|
|
1327
1056
|
let notify = params.notify || null;
|
|
1328
1057
|
if (notify) {
|
|
1329
1058
|
if (typeof notify === 'string') {
|
|
@@ -1337,12 +1066,10 @@ class SMTPConnection extends EventEmitter {
|
|
|
1337
1066
|
}
|
|
1338
1067
|
notify = notify.join(',');
|
|
1339
1068
|
}
|
|
1340
|
-
|
|
1341
1069
|
let orcpt = (params.recipient || params.orcpt || '').toString() || null;
|
|
1342
1070
|
if (orcpt && orcpt.indexOf(';') < 0) {
|
|
1343
1071
|
orcpt = 'rfc822;' + orcpt;
|
|
1344
1072
|
}
|
|
1345
|
-
|
|
1346
1073
|
return {
|
|
1347
1074
|
ret,
|
|
1348
1075
|
envid,
|
|
@@ -1350,292 +1077,241 @@ class SMTPConnection extends EventEmitter {
|
|
|
1350
1077
|
orcpt
|
|
1351
1078
|
};
|
|
1352
1079
|
}
|
|
1353
|
-
|
|
1354
1080
|
_getDsnRcptToArgs() {
|
|
1081
|
+
const envelope = this._envelope;
|
|
1355
1082
|
const args = [];
|
|
1356
1083
|
// If the server supports DSN and the envelope includes an DSN prop
|
|
1357
1084
|
// then append DSN params to the RCPT TO command
|
|
1358
|
-
if (
|
|
1359
|
-
if (
|
|
1360
|
-
args.push('NOTIFY=' + shared.encodeXText(
|
|
1085
|
+
if (envelope.dsn && this._supportedExtensions.includes('DSN')) {
|
|
1086
|
+
if (envelope.dsn.notify) {
|
|
1087
|
+
args.push('NOTIFY=' + shared.encodeXText(envelope.dsn.notify));
|
|
1361
1088
|
}
|
|
1362
|
-
if (
|
|
1363
|
-
args.push('ORCPT=' + shared.encodeXText(
|
|
1089
|
+
if (envelope.dsn.orcpt) {
|
|
1090
|
+
args.push('ORCPT=' + shared.encodeXText(envelope.dsn.orcpt));
|
|
1364
1091
|
}
|
|
1365
1092
|
}
|
|
1366
1093
|
return args.length ? ' ' + args.join(' ') : '';
|
|
1367
1094
|
}
|
|
1368
|
-
|
|
1369
1095
|
_createSendStream(callback) {
|
|
1096
|
+
const envelope = this._envelope;
|
|
1370
1097
|
const dataStream = new DataStream();
|
|
1371
|
-
|
|
1372
1098
|
if (this.options.lmtp) {
|
|
1373
|
-
|
|
1374
|
-
const final = i ===
|
|
1099
|
+
envelope.accepted.forEach((recipient, i) => {
|
|
1100
|
+
const final = i === envelope.accepted.length - 1;
|
|
1375
1101
|
this._responseActions.push(str => {
|
|
1376
1102
|
this._actionLMTPStream(recipient, final, str, callback);
|
|
1377
1103
|
});
|
|
1378
1104
|
});
|
|
1379
|
-
}
|
|
1105
|
+
}
|
|
1106
|
+
else {
|
|
1380
1107
|
this._responseActions.push(str => {
|
|
1381
1108
|
this._actionSMTPStream(str, callback);
|
|
1382
1109
|
});
|
|
1383
1110
|
}
|
|
1384
|
-
|
|
1385
1111
|
this._currentDataStream = dataStream;
|
|
1386
1112
|
dataStream.pipe(this._socket, {
|
|
1387
1113
|
end: false
|
|
1388
1114
|
});
|
|
1389
|
-
|
|
1390
1115
|
if (this.options.debug) {
|
|
1391
1116
|
const logStream = new PassThrough();
|
|
1392
1117
|
logStream.on('readable', () => {
|
|
1393
1118
|
let chunk;
|
|
1394
1119
|
while ((chunk = logStream.read())) {
|
|
1395
|
-
this.logger.debug(
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
},
|
|
1399
|
-
chunk.toString('binary').replace(/\r?\n$/, '')
|
|
1400
|
-
);
|
|
1120
|
+
this.logger.debug({
|
|
1121
|
+
tnx: 'message'
|
|
1122
|
+
}, chunk.toString('binary').replace(/\r?\n$/, ''));
|
|
1401
1123
|
}
|
|
1402
1124
|
});
|
|
1403
1125
|
dataStream.pipe(logStream);
|
|
1404
1126
|
}
|
|
1405
|
-
|
|
1406
1127
|
dataStream.once('end', () => {
|
|
1407
1128
|
if (this._currentDataStream === dataStream) {
|
|
1408
1129
|
this._currentDataStream = false;
|
|
1409
1130
|
}
|
|
1410
|
-
this.logger.info(
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
},
|
|
1416
|
-
'<%s bytes encoded mime message (source size %s bytes)>',
|
|
1417
|
-
dataStream.outByteCount,
|
|
1418
|
-
dataStream.inByteCount
|
|
1419
|
-
);
|
|
1131
|
+
this.logger.info({
|
|
1132
|
+
tnx: 'message',
|
|
1133
|
+
inByteCount: dataStream.inByteCount,
|
|
1134
|
+
outByteCount: dataStream.outByteCount
|
|
1135
|
+
}, '<%s bytes encoded mime message (source size %s bytes)>', dataStream.outByteCount, dataStream.inByteCount);
|
|
1420
1136
|
});
|
|
1421
|
-
|
|
1422
1137
|
return dataStream;
|
|
1423
1138
|
}
|
|
1424
|
-
|
|
1425
1139
|
/** ACTIONS **/
|
|
1426
|
-
|
|
1427
1140
|
/**
|
|
1428
1141
|
* Will be run after the connection is created and the server sends
|
|
1429
1142
|
* a greeting. If the incoming message starts with 220 initiate
|
|
1430
1143
|
* SMTP session by sending EHLO command
|
|
1431
1144
|
*
|
|
1432
|
-
* @param
|
|
1145
|
+
* @param str Message from the server
|
|
1433
1146
|
*/
|
|
1434
1147
|
_actionGreeting(str) {
|
|
1435
1148
|
clearTimeout(this._greetingTimeout);
|
|
1436
|
-
|
|
1437
1149
|
if (str.substr(0, 3) !== '220') {
|
|
1438
1150
|
this._onError(new Error('Invalid greeting. response=' + str), 'EPROTOCOL', str, 'CONN');
|
|
1439
1151
|
return;
|
|
1440
1152
|
}
|
|
1441
|
-
|
|
1442
1153
|
if (this.options.lmtp) {
|
|
1443
1154
|
this._responseActions.push(this._actionLHLO);
|
|
1444
1155
|
this._sendCommand('LHLO ' + this.name);
|
|
1445
|
-
}
|
|
1156
|
+
}
|
|
1157
|
+
else {
|
|
1446
1158
|
this._responseActions.push(this._actionEHLO);
|
|
1447
1159
|
this._sendCommand('EHLO ' + this.name);
|
|
1448
1160
|
}
|
|
1449
1161
|
}
|
|
1450
|
-
|
|
1451
1162
|
/**
|
|
1452
1163
|
* Handles server response for LHLO command. If it yielded in
|
|
1453
1164
|
* error, emit 'error', otherwise treat this as an EHLO response
|
|
1454
1165
|
*
|
|
1455
|
-
* @param
|
|
1166
|
+
* @param str Message from the server
|
|
1456
1167
|
*/
|
|
1457
1168
|
_actionLHLO(str) {
|
|
1458
1169
|
if (str.charAt(0) !== '2') {
|
|
1459
1170
|
this._onError(new Error('Invalid LHLO. response=' + str), 'EPROTOCOL', str, 'LHLO');
|
|
1460
1171
|
return;
|
|
1461
1172
|
}
|
|
1462
|
-
|
|
1463
1173
|
this._actionEHLO(str);
|
|
1464
1174
|
}
|
|
1465
|
-
|
|
1466
1175
|
/**
|
|
1467
1176
|
* Handles server response for EHLO command. If it yielded in
|
|
1468
1177
|
* error, try HELO instead, otherwise initiate TLS negotiation
|
|
1469
1178
|
* if STARTTLS is supported by the server or move into the
|
|
1470
1179
|
* authentication phase.
|
|
1471
1180
|
*
|
|
1472
|
-
* @param
|
|
1181
|
+
* @param str Message from the server
|
|
1473
1182
|
*/
|
|
1474
1183
|
_actionEHLO(str) {
|
|
1475
1184
|
let match;
|
|
1476
|
-
|
|
1477
1185
|
if (str.substr(0, 3) === '421') {
|
|
1478
1186
|
this._onError(new Error('Server terminates connection. response=' + str), 'ECONNECTION', str, 'EHLO');
|
|
1479
1187
|
return;
|
|
1480
1188
|
}
|
|
1481
|
-
|
|
1482
1189
|
if (str.charAt(0) !== '2') {
|
|
1483
1190
|
if (this.options.requireTLS) {
|
|
1484
|
-
this._onError(
|
|
1485
|
-
new Error('EHLO failed but HELO does not support required STARTTLS. response=' + str),
|
|
1486
|
-
'ECONNECTION',
|
|
1487
|
-
str,
|
|
1488
|
-
'EHLO'
|
|
1489
|
-
);
|
|
1191
|
+
this._onError(new Error('EHLO failed but HELO does not support required STARTTLS. response=' + str), 'ECONNECTION', str, 'EHLO');
|
|
1490
1192
|
return;
|
|
1491
1193
|
}
|
|
1492
|
-
|
|
1493
1194
|
// Try HELO instead
|
|
1494
1195
|
this._responseActions.push(this._actionHELO);
|
|
1495
1196
|
this._sendCommand('HELO ' + this.name);
|
|
1496
1197
|
return;
|
|
1497
1198
|
}
|
|
1498
|
-
|
|
1499
1199
|
this._ehloLines = str
|
|
1500
1200
|
.split(/\r?\n/)
|
|
1501
1201
|
.map(line => line.replace(/^\d+[ -]/, '').trim())
|
|
1502
1202
|
.filter(line => line)
|
|
1503
1203
|
.slice(1);
|
|
1504
|
-
|
|
1505
1204
|
// Detect if the server supports STARTTLS
|
|
1506
1205
|
if (!this.secure && !this.options.ignoreTLS && (/[ -]STARTTLS\b/im.test(str) || this.options.requireTLS)) {
|
|
1507
1206
|
this._sendCommand('STARTTLS');
|
|
1508
1207
|
this._responseActions.push(this._actionSTARTTLS);
|
|
1509
1208
|
return;
|
|
1510
1209
|
}
|
|
1511
|
-
|
|
1512
1210
|
// Detect if the server supports SMTPUTF8
|
|
1513
1211
|
if (/[ -]SMTPUTF8\b/im.test(str)) {
|
|
1514
1212
|
this._supportedExtensions.push('SMTPUTF8');
|
|
1515
1213
|
}
|
|
1516
|
-
|
|
1517
1214
|
// Detect if the server supports DSN
|
|
1518
1215
|
if (/[ -]DSN\b/im.test(str)) {
|
|
1519
1216
|
this._supportedExtensions.push('DSN');
|
|
1520
1217
|
}
|
|
1521
|
-
|
|
1522
1218
|
// Detect if the server supports 8BITMIME
|
|
1523
1219
|
if (/[ -]8BITMIME\b/im.test(str)) {
|
|
1524
1220
|
this._supportedExtensions.push('8BITMIME');
|
|
1525
1221
|
}
|
|
1526
|
-
|
|
1527
1222
|
// Detect if the server supports REQUIRETLS (RFC 8689)
|
|
1528
1223
|
if (/[ -]REQUIRETLS\b/im.test(str)) {
|
|
1529
1224
|
this._supportedExtensions.push('REQUIRETLS');
|
|
1530
1225
|
}
|
|
1531
|
-
|
|
1532
1226
|
// Detect if the server supports PIPELINING
|
|
1533
1227
|
if (/[ -]PIPELINING\b/im.test(str)) {
|
|
1534
1228
|
this._supportedExtensions.push('PIPELINING');
|
|
1535
1229
|
}
|
|
1536
|
-
|
|
1537
1230
|
// Detect if the server supports AUTH
|
|
1538
1231
|
if (/[ -]AUTH\b/i.test(str)) {
|
|
1539
1232
|
this.allowsAuth = true;
|
|
1540
1233
|
}
|
|
1541
|
-
|
|
1542
1234
|
// Detect if the server supports PLAIN auth
|
|
1543
1235
|
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)PLAIN/i.test(str)) {
|
|
1544
1236
|
this._supportedAuth.push('PLAIN');
|
|
1545
1237
|
}
|
|
1546
|
-
|
|
1547
1238
|
// Detect if the server supports LOGIN auth
|
|
1548
1239
|
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)LOGIN/i.test(str)) {
|
|
1549
1240
|
this._supportedAuth.push('LOGIN');
|
|
1550
1241
|
}
|
|
1551
|
-
|
|
1552
1242
|
// Detect if the server supports CRAM-MD5 auth
|
|
1553
1243
|
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)CRAM-MD5/i.test(str)) {
|
|
1554
1244
|
this._supportedAuth.push('CRAM-MD5');
|
|
1555
1245
|
}
|
|
1556
|
-
|
|
1557
1246
|
// Detect if the server supports XOAUTH2 auth
|
|
1558
1247
|
if (/[ -]AUTH(?:(\s+|=)[^\n]*\s+|\s+|=)XOAUTH2/i.test(str)) {
|
|
1559
1248
|
this._supportedAuth.push('XOAUTH2');
|
|
1560
1249
|
}
|
|
1561
|
-
|
|
1562
1250
|
// Detect if the server supports SIZE extensions (and the max allowed size)
|
|
1563
1251
|
if ((match = str.match(/[ -]SIZE(?:[ \t]+(\d+))?/im))) {
|
|
1564
1252
|
this._supportedExtensions.push('SIZE');
|
|
1565
1253
|
this._maxAllowedSize = Number(match[1]) || 0;
|
|
1566
1254
|
}
|
|
1567
|
-
|
|
1568
1255
|
this.emit('connect');
|
|
1569
1256
|
}
|
|
1570
|
-
|
|
1571
1257
|
/**
|
|
1572
1258
|
* Handles server response for HELO command. If it yielded in
|
|
1573
1259
|
* error, emit 'error', otherwise move into the authentication phase.
|
|
1574
1260
|
*
|
|
1575
|
-
* @param
|
|
1261
|
+
* @param str Message from the server
|
|
1576
1262
|
*/
|
|
1577
1263
|
_actionHELO(str) {
|
|
1578
1264
|
if (str.charAt(0) !== '2') {
|
|
1579
1265
|
this._onError(new Error('Invalid HELO. response=' + str), 'EPROTOCOL', str, 'HELO');
|
|
1580
1266
|
return;
|
|
1581
1267
|
}
|
|
1582
|
-
|
|
1583
1268
|
// assume that authentication is enabled (most probably is not though)
|
|
1584
1269
|
this.allowsAuth = true;
|
|
1585
|
-
|
|
1586
1270
|
this.emit('connect');
|
|
1587
1271
|
}
|
|
1588
|
-
|
|
1589
1272
|
/**
|
|
1590
1273
|
* Handles server response for STARTTLS command. If there's an error
|
|
1591
1274
|
* try HELO instead, otherwise initiate TLS upgrade. If the upgrade
|
|
1592
1275
|
* succeedes restart the EHLO
|
|
1593
1276
|
*
|
|
1594
|
-
* @param
|
|
1277
|
+
* @param str Message from the server
|
|
1595
1278
|
*/
|
|
1596
1279
|
_actionSTARTTLS(str) {
|
|
1597
1280
|
if (str.charAt(0) !== '2') {
|
|
1598
1281
|
if (this.options.opportunisticTLS) {
|
|
1599
|
-
this.logger.info(
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
);
|
|
1605
|
-
return this.emit('connect');
|
|
1282
|
+
this.logger.info({
|
|
1283
|
+
tnx: 'smtp'
|
|
1284
|
+
}, 'Failed STARTTLS upgrade, continuing unencrypted');
|
|
1285
|
+
this.emit('connect');
|
|
1286
|
+
return;
|
|
1606
1287
|
}
|
|
1607
1288
|
this._onError(new Error('Error upgrading connection with STARTTLS'), 'ETLS', str, 'STARTTLS');
|
|
1608
1289
|
return;
|
|
1609
1290
|
}
|
|
1610
|
-
|
|
1611
1291
|
this._upgradeConnection((err, secured) => {
|
|
1612
1292
|
if (err) {
|
|
1613
1293
|
this._onError(new Error('Error initiating TLS - ' + (err.message || err)), 'ETLS', false, 'STARTTLS');
|
|
1614
1294
|
return;
|
|
1615
1295
|
}
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
tnx: 'smtp'
|
|
1620
|
-
},
|
|
1621
|
-
'Connection upgraded with STARTTLS'
|
|
1622
|
-
);
|
|
1623
|
-
|
|
1296
|
+
this.logger.info({
|
|
1297
|
+
tnx: 'smtp'
|
|
1298
|
+
}, 'Connection upgraded with STARTTLS');
|
|
1624
1299
|
if (secured) {
|
|
1625
1300
|
// restart session
|
|
1626
1301
|
if (this.options.lmtp) {
|
|
1627
1302
|
this._responseActions.push(this._actionLHLO);
|
|
1628
1303
|
this._sendCommand('LHLO ' + this.name);
|
|
1629
|
-
}
|
|
1304
|
+
}
|
|
1305
|
+
else {
|
|
1630
1306
|
this._responseActions.push(this._actionEHLO);
|
|
1631
1307
|
this._sendCommand('EHLO ' + this.name);
|
|
1632
1308
|
}
|
|
1633
|
-
}
|
|
1309
|
+
}
|
|
1310
|
+
else {
|
|
1634
1311
|
this.emit('connect');
|
|
1635
1312
|
}
|
|
1636
1313
|
});
|
|
1637
1314
|
}
|
|
1638
|
-
|
|
1639
1315
|
/**
|
|
1640
1316
|
* Handle the response for AUTH LOGIN command. We are expecting
|
|
1641
1317
|
* '334 VXNlcm5hbWU6' (base64 for 'Username:'). Data to be sent as
|
|
@@ -1643,7 +1319,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1643
1319
|
* exact match but settle with 334 response in general as some
|
|
1644
1320
|
* hosts invalidly use a longer message than VXNlcm5hbWU6
|
|
1645
1321
|
*
|
|
1646
|
-
* @param
|
|
1322
|
+
* @param str Message from the server
|
|
1647
1323
|
*/
|
|
1648
1324
|
_actionAUTH_LOGIN_USER(str, callback) {
|
|
1649
1325
|
if (!/^334[ -]/.test(str)) {
|
|
@@ -1651,14 +1327,11 @@ class SMTPConnection extends EventEmitter {
|
|
|
1651
1327
|
callback(this._formatError('Invalid login sequence while waiting for "334 VXNlcm5hbWU6"', 'EAUTH', str, 'AUTH LOGIN'));
|
|
1652
1328
|
return;
|
|
1653
1329
|
}
|
|
1654
|
-
|
|
1655
1330
|
this._responseActions.push(str => {
|
|
1656
1331
|
this._actionAUTH_LOGIN_PASS(str, callback);
|
|
1657
1332
|
});
|
|
1658
|
-
|
|
1659
1333
|
this._sendCommand(Buffer.from(this._auth.credentials.user + '', 'utf-8').toString('base64'));
|
|
1660
1334
|
}
|
|
1661
|
-
|
|
1662
1335
|
/**
|
|
1663
1336
|
* Handle the response for AUTH CRAM-MD5 command. We are expecting
|
|
1664
1337
|
* '334 <challenge string>'. Data to be sent as response needs to be
|
|
@@ -1666,102 +1339,80 @@ class SMTPConnection extends EventEmitter {
|
|
|
1666
1339
|
* a HMAC key, prefixed by the username and a space, and finally all
|
|
1667
1340
|
* base64 encoded again.
|
|
1668
1341
|
*
|
|
1669
|
-
* @param
|
|
1342
|
+
* @param str Message from the server
|
|
1670
1343
|
*/
|
|
1671
1344
|
_actionAUTH_CRAM_MD5(str, callback) {
|
|
1672
1345
|
const challengeMatch = str.match(/^334\s+(.+)$/);
|
|
1673
|
-
|
|
1674
1346
|
if (!challengeMatch) {
|
|
1675
|
-
return callback(
|
|
1676
|
-
this._formatError('Invalid login sequence while waiting for server challenge string', 'EAUTH', str, 'AUTH CRAM-MD5')
|
|
1677
|
-
);
|
|
1347
|
+
return callback(this._formatError('Invalid login sequence while waiting for server challenge string', 'EAUTH', str, 'AUTH CRAM-MD5'));
|
|
1678
1348
|
}
|
|
1679
|
-
|
|
1680
1349
|
// Decode from base64
|
|
1681
1350
|
const base64decoded = Buffer.from(challengeMatch[1], 'base64').toString('ascii');
|
|
1682
1351
|
const hmacMD5 = crypto.createHmac('md5', this._auth.credentials.pass);
|
|
1683
|
-
|
|
1684
1352
|
hmacMD5.update(base64decoded);
|
|
1685
|
-
|
|
1686
1353
|
const prepended = this._auth.credentials.user + ' ' + hmacMD5.digest('hex');
|
|
1687
|
-
|
|
1688
1354
|
this._responseActions.push(str => {
|
|
1689
1355
|
this._actionAUTH_CRAM_MD5_PASS(str, callback);
|
|
1690
1356
|
});
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
// hidden hash for logs
|
|
1695
|
-
Buffer.from(this._auth.credentials.user + ' /* secret */').toString('base64')
|
|
1696
|
-
);
|
|
1357
|
+
this._sendCommand(Buffer.from(prepended).toString('base64'),
|
|
1358
|
+
// hidden hash for logs
|
|
1359
|
+
Buffer.from(this._auth.credentials.user + ' /* secret */').toString('base64'));
|
|
1697
1360
|
}
|
|
1698
|
-
|
|
1699
1361
|
/**
|
|
1700
1362
|
* Handles the response to CRAM-MD5 authentication, if there's no error,
|
|
1701
1363
|
* the user can be considered logged in. Start waiting for a message to send
|
|
1702
1364
|
*
|
|
1703
|
-
* @param
|
|
1365
|
+
* @param str Message from the server
|
|
1704
1366
|
*/
|
|
1705
1367
|
_actionAUTH_CRAM_MD5_PASS(str, callback) {
|
|
1706
1368
|
if (!str.match(/^235\s+/)) {
|
|
1707
1369
|
return callback(this._formatError('Invalid login sequence while waiting for "235"', 'EAUTH', str, 'AUTH CRAM-MD5'));
|
|
1708
1370
|
}
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
method: this._authMethod
|
|
1716
|
-
},
|
|
1717
|
-
'User %s authenticated',
|
|
1718
|
-
JSON.stringify(this._auth.user)
|
|
1719
|
-
);
|
|
1371
|
+
this.logger.info({
|
|
1372
|
+
tnx: 'smtp',
|
|
1373
|
+
username: this._auth.user,
|
|
1374
|
+
action: 'authenticated',
|
|
1375
|
+
method: this._authMethod
|
|
1376
|
+
}, 'User %s authenticated', JSON.stringify(this._auth.user));
|
|
1720
1377
|
this.authenticated = true;
|
|
1721
1378
|
callback(null, true);
|
|
1722
1379
|
}
|
|
1723
|
-
|
|
1724
1380
|
/**
|
|
1725
1381
|
* Handle the response for AUTH LOGIN command. We are expecting
|
|
1726
1382
|
* '334 UGFzc3dvcmQ6' (base64 for 'Password:'). Data to be sent as
|
|
1727
1383
|
* response needs to be base64 encoded password.
|
|
1728
1384
|
*
|
|
1729
|
-
* @param
|
|
1385
|
+
* @param str Message from the server
|
|
1730
1386
|
*/
|
|
1731
1387
|
_actionAUTH_LOGIN_PASS(str, callback) {
|
|
1732
1388
|
if (!/^334[ -]/.test(str)) {
|
|
1733
1389
|
// expecting '334 UGFzc3dvcmQ6'
|
|
1734
1390
|
return callback(this._formatError('Invalid login sequence while waiting for "334 UGFzc3dvcmQ6"', 'EAUTH', str, 'AUTH LOGIN'));
|
|
1735
1391
|
}
|
|
1736
|
-
|
|
1737
1392
|
this._responseActions.push(str => {
|
|
1738
1393
|
this._actionAUTHComplete(str, callback);
|
|
1739
1394
|
});
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
// Hidden pass for logs
|
|
1744
|
-
Buffer.from('/* secret */', 'utf-8').toString('base64')
|
|
1745
|
-
);
|
|
1395
|
+
this._sendCommand(Buffer.from((this._auth.credentials.pass || '').toString(), 'utf-8').toString('base64'),
|
|
1396
|
+
// Hidden pass for logs
|
|
1397
|
+
Buffer.from('/* secret */', 'utf-8').toString('base64'));
|
|
1746
1398
|
}
|
|
1747
|
-
|
|
1748
1399
|
/**
|
|
1749
1400
|
* Handles the response for authentication, if there's no error,
|
|
1750
1401
|
* the user can be considered logged in. Start waiting for a message to send
|
|
1751
1402
|
*
|
|
1752
|
-
* @param
|
|
1403
|
+
* @param str Message from the server
|
|
1753
1404
|
*/
|
|
1754
1405
|
_actionAUTHComplete(str, isRetry, callback) {
|
|
1755
1406
|
if (!callback && typeof isRetry === 'function') {
|
|
1756
1407
|
callback = isRetry;
|
|
1757
1408
|
isRetry = false;
|
|
1758
1409
|
}
|
|
1759
|
-
|
|
1760
1410
|
if (str.substr(0, 3) === '334') {
|
|
1761
1411
|
this._responseActions.push(str => {
|
|
1762
1412
|
if (isRetry || this._authMethod !== 'XOAUTH2') {
|
|
1763
1413
|
this._actionAUTHComplete(str, true, callback);
|
|
1764
|
-
}
|
|
1414
|
+
}
|
|
1415
|
+
else {
|
|
1765
1416
|
// fetch a new OAuth2 access token
|
|
1766
1417
|
setImmediate(() => this._handleXOauth2Token(true, callback));
|
|
1767
1418
|
}
|
|
@@ -1769,103 +1420,90 @@ class SMTPConnection extends EventEmitter {
|
|
|
1769
1420
|
this._sendCommand('');
|
|
1770
1421
|
return;
|
|
1771
1422
|
}
|
|
1772
|
-
|
|
1773
1423
|
if (str.charAt(0) !== '2') {
|
|
1774
|
-
this.logger.info(
|
|
1775
|
-
{
|
|
1776
|
-
tnx: 'smtp',
|
|
1777
|
-
username: this._auth.user,
|
|
1778
|
-
action: 'authfail',
|
|
1779
|
-
method: this._authMethod
|
|
1780
|
-
},
|
|
1781
|
-
'User %s failed to authenticate',
|
|
1782
|
-
JSON.stringify(this._auth.user)
|
|
1783
|
-
);
|
|
1784
|
-
return callback(this._formatError('Invalid login', 'EAUTH', str, 'AUTH ' + this._authMethod));
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
this.logger.info(
|
|
1788
|
-
{
|
|
1424
|
+
this.logger.info({
|
|
1789
1425
|
tnx: 'smtp',
|
|
1790
1426
|
username: this._auth.user,
|
|
1791
|
-
action: '
|
|
1427
|
+
action: 'authfail',
|
|
1792
1428
|
method: this._authMethod
|
|
1793
|
-
},
|
|
1794
|
-
'
|
|
1795
|
-
|
|
1796
|
-
|
|
1429
|
+
}, 'User %s failed to authenticate', JSON.stringify(this._auth.user));
|
|
1430
|
+
return callback(this._formatError('Invalid login', 'EAUTH', str, 'AUTH ' + this._authMethod));
|
|
1431
|
+
}
|
|
1432
|
+
this.logger.info({
|
|
1433
|
+
tnx: 'smtp',
|
|
1434
|
+
username: this._auth.user,
|
|
1435
|
+
action: 'authenticated',
|
|
1436
|
+
method: this._authMethod
|
|
1437
|
+
}, 'User %s authenticated', JSON.stringify(this._auth.user));
|
|
1797
1438
|
this.authenticated = true;
|
|
1798
1439
|
callback(null, true);
|
|
1799
1440
|
}
|
|
1800
|
-
|
|
1801
1441
|
/**
|
|
1802
1442
|
* Handle response for a MAIL FROM: command
|
|
1803
1443
|
*
|
|
1804
|
-
* @param
|
|
1444
|
+
* @param str Message from the server
|
|
1805
1445
|
*/
|
|
1806
1446
|
_actionMAIL(str, callback) {
|
|
1447
|
+
const envelope = this._envelope;
|
|
1807
1448
|
if (Number(str.charAt(0)) !== 2) {
|
|
1808
|
-
const message =
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
: 'Mail command failed';
|
|
1449
|
+
const message = this._usingSmtpUtf8 && /^550 /.test(str) && /[\x80-\uFFFF]/.test(envelope.from)
|
|
1450
|
+
? 'Internationalized mailbox name not allowed'
|
|
1451
|
+
: 'Mail command failed';
|
|
1812
1452
|
return callback(this._formatError(message, 'EENVELOPE', str, 'MAIL FROM'));
|
|
1813
1453
|
}
|
|
1814
|
-
|
|
1815
|
-
if (!this._envelope.rcptQueue.length) {
|
|
1454
|
+
if (!envelope.rcptQueue.length) {
|
|
1816
1455
|
return callback(this._formatError("Can't send mail - no recipients defined", 'EENVELOPE', false, 'API'));
|
|
1817
1456
|
}
|
|
1818
|
-
|
|
1819
1457
|
this._recipientQueue = [];
|
|
1820
1458
|
const usePipelining = this._supportedExtensions.includes('PIPELINING');
|
|
1821
|
-
|
|
1822
1459
|
do {
|
|
1823
|
-
const curRecipient =
|
|
1460
|
+
const curRecipient = envelope.rcptQueue.shift();
|
|
1824
1461
|
this._recipientQueue.push(curRecipient);
|
|
1825
1462
|
this._responseActions.push(str => {
|
|
1826
1463
|
this._actionRCPT(str, callback);
|
|
1827
1464
|
});
|
|
1828
1465
|
this._sendCommand('RCPT TO:<' + curRecipient + '>' + this._getDsnRcptToArgs());
|
|
1829
|
-
} while (usePipelining &&
|
|
1466
|
+
} while (usePipelining && envelope.rcptQueue.length);
|
|
1830
1467
|
}
|
|
1831
|
-
|
|
1832
1468
|
/**
|
|
1833
1469
|
* Handle response for a RCPT TO: command
|
|
1834
1470
|
*
|
|
1835
|
-
* @param
|
|
1471
|
+
* @param str Message from the server
|
|
1836
1472
|
*/
|
|
1837
1473
|
_actionRCPT(str, callback) {
|
|
1474
|
+
const envelope = this._envelope;
|
|
1838
1475
|
let err;
|
|
1839
1476
|
const curRecipient = this._recipientQueue.shift();
|
|
1840
1477
|
if (Number(str.charAt(0)) !== 2) {
|
|
1841
1478
|
// this is a soft error
|
|
1842
|
-
const message =
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
this._envelope.rejected.push(curRecipient);
|
|
1479
|
+
const message = this._usingSmtpUtf8 && /^553 /.test(str) && /[\x80-\uFFFF]/.test(curRecipient)
|
|
1480
|
+
? 'Internationalized mailbox name not allowed'
|
|
1481
|
+
: 'Recipient command failed';
|
|
1482
|
+
envelope.rejected.push(curRecipient);
|
|
1847
1483
|
// store error for the failed recipient
|
|
1848
1484
|
err = this._formatError(message, 'EENVELOPE', str, 'RCPT TO');
|
|
1849
1485
|
err.recipient = curRecipient;
|
|
1850
|
-
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1486
|
+
envelope.rejectedErrors.push(err);
|
|
1487
|
+
}
|
|
1488
|
+
else {
|
|
1489
|
+
envelope.accepted.push(curRecipient);
|
|
1853
1490
|
}
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
if (this._envelope.rejected.length < this._envelope.to.length) {
|
|
1491
|
+
if (!envelope.rcptQueue.length && !this._recipientQueue.length) {
|
|
1492
|
+
if (envelope.rejected.length < envelope.to.length) {
|
|
1857
1493
|
this._responseActions.push(str => {
|
|
1858
1494
|
this._actionDATA(str, callback);
|
|
1859
1495
|
});
|
|
1860
1496
|
this._sendCommand('DATA');
|
|
1861
|
-
}
|
|
1497
|
+
}
|
|
1498
|
+
else {
|
|
1862
1499
|
err = this._formatError("Can't send mail - all recipients were rejected", 'EENVELOPE', str, 'RCPT TO');
|
|
1863
|
-
err.rejected =
|
|
1864
|
-
err.rejectedErrors =
|
|
1500
|
+
err.rejected = envelope.rejected;
|
|
1501
|
+
err.rejectedErrors = envelope.rejectedErrors;
|
|
1865
1502
|
return callback(err);
|
|
1866
1503
|
}
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1504
|
+
}
|
|
1505
|
+
else if (envelope.rcptQueue.length) {
|
|
1506
|
+
const nextRecipient = envelope.rcptQueue.shift();
|
|
1869
1507
|
this._recipientQueue.push(nextRecipient);
|
|
1870
1508
|
this._responseActions.push(str => {
|
|
1871
1509
|
this._actionRCPT(str, callback);
|
|
@@ -1873,40 +1511,35 @@ class SMTPConnection extends EventEmitter {
|
|
|
1873
1511
|
this._sendCommand('RCPT TO:<' + nextRecipient + '>' + this._getDsnRcptToArgs());
|
|
1874
1512
|
}
|
|
1875
1513
|
}
|
|
1876
|
-
|
|
1877
1514
|
/**
|
|
1878
1515
|
* Handle response for a DATA command
|
|
1879
1516
|
*
|
|
1880
|
-
* @param
|
|
1517
|
+
* @param str Message from the server
|
|
1881
1518
|
*/
|
|
1882
1519
|
_actionDATA(str, callback) {
|
|
1520
|
+
const envelope = this._envelope;
|
|
1883
1521
|
// response should be 354 but according to this issue https://github.com/eleith/emailjs/issues/24
|
|
1884
1522
|
// some servers might use 250 instead, so lets check for 2 or 3 as the first digit
|
|
1885
1523
|
if (!/^[23]/.test(str)) {
|
|
1886
1524
|
return callback(this._formatError('Data command failed', 'EENVELOPE', str, 'DATA'));
|
|
1887
1525
|
}
|
|
1888
|
-
|
|
1889
1526
|
const response = {
|
|
1890
|
-
accepted:
|
|
1891
|
-
rejected:
|
|
1527
|
+
accepted: envelope.accepted,
|
|
1528
|
+
rejected: envelope.rejected
|
|
1892
1529
|
};
|
|
1893
|
-
|
|
1894
1530
|
if (this._ehloLines && this._ehloLines.length) {
|
|
1895
1531
|
response.ehlo = this._ehloLines;
|
|
1896
1532
|
}
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
response.rejectedErrors = this._envelope.rejectedErrors;
|
|
1533
|
+
if (envelope.rejectedErrors.length) {
|
|
1534
|
+
response.rejectedErrors = envelope.rejectedErrors;
|
|
1900
1535
|
}
|
|
1901
|
-
|
|
1902
1536
|
callback(null, response);
|
|
1903
1537
|
}
|
|
1904
|
-
|
|
1905
1538
|
/**
|
|
1906
1539
|
* Handle response for a DATA stream when using SMTP
|
|
1907
1540
|
* We expect a single response that defines if the sending succeeded or failed
|
|
1908
1541
|
*
|
|
1909
|
-
* @param
|
|
1542
|
+
* @param str Message from the server
|
|
1910
1543
|
*/
|
|
1911
1544
|
_actionSMTPStream(str, callback) {
|
|
1912
1545
|
if (Number(str.charAt(0)) !== 2) {
|
|
@@ -1914,27 +1547,27 @@ class SMTPConnection extends EventEmitter {
|
|
|
1914
1547
|
}
|
|
1915
1548
|
return callback(null, str);
|
|
1916
1549
|
}
|
|
1917
|
-
|
|
1918
1550
|
/**
|
|
1919
1551
|
* Handle response for a DATA stream
|
|
1920
1552
|
* We expect a separate response for every recipient. All recipients can either
|
|
1921
1553
|
* succeed or fail separately
|
|
1922
1554
|
*
|
|
1923
|
-
* @param
|
|
1924
|
-
* @param
|
|
1925
|
-
* @param
|
|
1555
|
+
* @param recipient The recipient this response applies to
|
|
1556
|
+
* @param final Is this the final recipient?
|
|
1557
|
+
* @param str Message from the server
|
|
1926
1558
|
*/
|
|
1927
1559
|
_actionLMTPStream(recipient, final, str, callback) {
|
|
1560
|
+
const envelope = this._envelope;
|
|
1928
1561
|
let err;
|
|
1929
1562
|
if (Number(str.charAt(0)) !== 2) {
|
|
1930
1563
|
// Message failed
|
|
1931
1564
|
err = this._formatError('Message failed for recipient ' + recipient, 'EMESSAGE', str, 'DATA');
|
|
1932
1565
|
err.recipient = recipient;
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
for (let i = 0, len =
|
|
1936
|
-
if (
|
|
1937
|
-
|
|
1566
|
+
envelope.rejected.push(recipient);
|
|
1567
|
+
envelope.rejectedErrors.push(err);
|
|
1568
|
+
for (let i = 0, len = envelope.accepted.length; i < len; i++) {
|
|
1569
|
+
if (envelope.accepted[i] === recipient) {
|
|
1570
|
+
envelope.accepted.splice(i, 1);
|
|
1938
1571
|
}
|
|
1939
1572
|
}
|
|
1940
1573
|
}
|
|
@@ -1942,76 +1575,62 @@ class SMTPConnection extends EventEmitter {
|
|
|
1942
1575
|
return callback(null, str);
|
|
1943
1576
|
}
|
|
1944
1577
|
}
|
|
1945
|
-
|
|
1946
1578
|
_handleXOauth2Token(isRetry, callback) {
|
|
1947
1579
|
this._auth.oauth2.getToken(isRetry, (err, accessToken) => {
|
|
1948
1580
|
if (err) {
|
|
1949
|
-
this.logger.info(
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
},
|
|
1956
|
-
'User %s failed to authenticate',
|
|
1957
|
-
JSON.stringify(this._auth.user)
|
|
1958
|
-
);
|
|
1581
|
+
this.logger.info({
|
|
1582
|
+
tnx: 'smtp',
|
|
1583
|
+
username: this._auth.user,
|
|
1584
|
+
action: 'authfail',
|
|
1585
|
+
method: this._authMethod
|
|
1586
|
+
}, 'User %s failed to authenticate', JSON.stringify(this._auth.user));
|
|
1959
1587
|
return callback(this._formatError(err, 'EAUTH', false, 'AUTH XOAUTH2'));
|
|
1960
1588
|
}
|
|
1961
1589
|
this._responseActions.push(str => {
|
|
1962
1590
|
this._actionAUTHComplete(str, isRetry, callback);
|
|
1963
1591
|
});
|
|
1964
|
-
this._sendCommand(
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
'AUTH XOAUTH2 ' + this._auth.oauth2.buildXOAuth2Token('/* secret */')
|
|
1968
|
-
);
|
|
1592
|
+
this._sendCommand('AUTH XOAUTH2 ' + this._auth.oauth2.buildXOAuth2Token(accessToken),
|
|
1593
|
+
// Hidden for logs
|
|
1594
|
+
'AUTH XOAUTH2 ' + this._auth.oauth2.buildXOAuth2Token('/* secret */'));
|
|
1969
1595
|
});
|
|
1970
1596
|
}
|
|
1971
|
-
|
|
1972
1597
|
/**
|
|
1973
1598
|
*
|
|
1974
|
-
* @param
|
|
1599
|
+
* @param command
|
|
1975
1600
|
* @private
|
|
1976
1601
|
*/
|
|
1977
1602
|
_isDestroyedMessage(command) {
|
|
1978
1603
|
if (this._destroyed) {
|
|
1979
1604
|
return 'Cannot ' + command + ' - smtp connection is already destroyed.';
|
|
1980
1605
|
}
|
|
1981
|
-
|
|
1982
1606
|
if (this._socket) {
|
|
1983
1607
|
if (this._socket.destroyed) {
|
|
1984
1608
|
return 'Cannot ' + command + ' - smtp connection socket is already destroyed.';
|
|
1985
1609
|
}
|
|
1986
|
-
|
|
1987
1610
|
if (!this._socket.writable) {
|
|
1988
1611
|
return 'Cannot ' + command + ' - smtp connection socket is already half-closed.';
|
|
1989
1612
|
}
|
|
1990
1613
|
}
|
|
1991
1614
|
}
|
|
1992
|
-
|
|
1993
1615
|
_getHostname() {
|
|
1994
1616
|
// defaul hostname is machine hostname or [IP]
|
|
1995
1617
|
let defaultHostname;
|
|
1996
1618
|
try {
|
|
1997
1619
|
defaultHostname = os.hostname() || '';
|
|
1998
|
-
}
|
|
1620
|
+
}
|
|
1621
|
+
catch (_err) {
|
|
1999
1622
|
// fails on windows 7
|
|
2000
1623
|
defaultHostname = 'localhost';
|
|
2001
1624
|
}
|
|
2002
|
-
|
|
2003
1625
|
// ignore if not FQDN
|
|
2004
1626
|
if (!defaultHostname || defaultHostname.indexOf('.') < 0) {
|
|
2005
1627
|
defaultHostname = '[127.0.0.1]';
|
|
2006
1628
|
}
|
|
2007
|
-
|
|
2008
1629
|
// IP should be enclosed in []
|
|
2009
1630
|
if (defaultHostname.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)) {
|
|
2010
1631
|
defaultHostname = '[' + defaultHostname + ']';
|
|
2011
1632
|
}
|
|
2012
|
-
|
|
2013
1633
|
return defaultHostname;
|
|
2014
1634
|
}
|
|
2015
1635
|
}
|
|
2016
|
-
|
|
2017
|
-
module.exports = SMTPConnection;
|
|
1636
|
+
export default SMTPConnection;
|