@scaleleap/amazon-mws-api-sdk
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -6,2 +6,10 @@ # Changelog | ||
## [1.9.2](https://github.com/ScaleLeap/amazon-mws-api-sdk/compare/v1.9.1...v1.9.2) (2020-08-14) | ||
### Bug Fixes | ||
* remove volatile work around ([362937d](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/362937dd07ad137cf2524ff7d78b7ea887dfd127)) | ||
* workaround to fix api-extractor issues ([42d3f6b](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/42d3f6b56013331f32f87cd7f8553318e017e5f1)) | ||
## [1.9.1](https://github.com/ScaleLeap/amazon-mws-api-sdk/compare/v1.9.0...v1.9.1) (2020-08-13) | ||
@@ -8,0 +16,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
*/ | ||
exports.USER_AGENT = '@scaleleap/amazon-mws-api-sdk/1.9.1'; | ||
exports.USER_AGENT = '@scaleleap/amazon-mws-api-sdk/1.9.2'; | ||
//# sourceMappingURL=constants.js.map |
@@ -13,81 +13,81 @@ import { GetInterface } from 'purify-ts/Codec'; | ||
} | ||
export declare class InputStreamDisconnected extends HttpError { | ||
export declare class InputStreamDisconnectedError extends HttpError { | ||
} | ||
export declare class InvalidParameterValue extends HttpError { | ||
export declare class InvalidParameterValueError extends HttpError { | ||
} | ||
export declare class AccessDenied extends HttpError { | ||
export declare class AccessDeniedError extends HttpError { | ||
} | ||
export declare class InvalidAccessKeyId extends HttpError { | ||
export declare class InvalidAccessKeyIdError extends HttpError { | ||
} | ||
export declare class SignatureDoesNotMatch extends HttpError { | ||
export declare class SignatureDoesNotMatchError extends HttpError { | ||
} | ||
export declare class InvalidAddress extends HttpError { | ||
export declare class InvalidAddressError extends HttpError { | ||
} | ||
export declare class InternalError extends HttpError { | ||
export declare class InternalErrorError extends HttpError { | ||
} | ||
export declare class QuotaExceeded extends HttpError { | ||
export declare class QuotaExceededError extends HttpError { | ||
} | ||
export declare class RequestThrottled extends HttpError { | ||
export declare class RequestThrottledError extends HttpError { | ||
} | ||
export declare class ResourceNotFound extends HttpError { | ||
export declare class ResourceNotFoundError extends HttpError { | ||
} | ||
export declare class ScheduledPackageAlreadyExists extends HttpError { | ||
export declare class ScheduledPackageAlreadyExistsError extends HttpError { | ||
} | ||
export declare class RegionNotSupported extends HttpError { | ||
export declare class RegionNotSupportedError extends HttpError { | ||
} | ||
export declare class ScheduleWindowExpired extends HttpError { | ||
export declare class ScheduleWindowExpiredError extends HttpError { | ||
} | ||
export declare class InvalidOrderState extends HttpError { | ||
export declare class InvalidOrderStateError extends HttpError { | ||
} | ||
export declare class PickupSlotNotAvailable extends HttpError { | ||
export declare class PickupSlotNotAvailableError extends HttpError { | ||
} | ||
export declare class AccessToFeedProcessingResultDenied extends HttpError { | ||
export declare class AccessToFeedProcessingResultDeniedError extends HttpError { | ||
} | ||
export declare class ContentMD5Missing extends HttpError { | ||
export declare class ContentMD5MissingError extends HttpError { | ||
} | ||
export declare class ContentMD5DoesNotMatch extends HttpError { | ||
export declare class ContentMD5DoesNotMatchError extends HttpError { | ||
} | ||
export declare class FeedCanceled extends HttpError { | ||
export declare class FeedCanceledError extends HttpError { | ||
} | ||
export declare class FeedProcessingResultNoLongerAvailable extends HttpError { | ||
export declare class FeedProcessingResultNoLongerAvailableError extends HttpError { | ||
} | ||
export declare class FeedProcessingResultNotReady extends HttpError { | ||
export declare class FeedProcessingResultNotReadyError extends HttpError { | ||
} | ||
export declare class InputDataError extends HttpError { | ||
export declare class InputDataErrorError extends HttpError { | ||
} | ||
export declare class InvalidFeedSubmissionId extends HttpError { | ||
export declare class InvalidFeedSubmissionIdError extends HttpError { | ||
} | ||
export declare class InvalidFeedType extends HttpError { | ||
export declare class InvalidFeedTypeError extends HttpError { | ||
} | ||
export declare class InvalidRequest extends HttpError { | ||
export declare class InvalidRequestError extends HttpError { | ||
} | ||
export declare class NonRetriableInternalError extends HttpError { | ||
export declare class NonRetriableInternalErrorError extends HttpError { | ||
} | ||
export declare class RetriableInternalError extends HttpError { | ||
export declare class RetriableInternalErrorError extends HttpError { | ||
} | ||
export declare class InvalidUPCIdentifier extends HttpError { | ||
export declare class InvalidUPCIdentifierError extends HttpError { | ||
} | ||
export declare class AccessToReportDenied extends HttpError { | ||
export declare class AccessToReportDeniedError extends HttpError { | ||
} | ||
export declare class InvalidReportId extends HttpError { | ||
export declare class InvalidReportIdError extends HttpError { | ||
} | ||
export declare class InvalidReportRequestId extends HttpError { | ||
export declare class InvalidReportRequestIdError extends HttpError { | ||
} | ||
export declare class InvalidReportType extends HttpError { | ||
export declare class InvalidReportTypeError extends HttpError { | ||
} | ||
export declare class InvalidScheduleFrequency extends HttpError { | ||
export declare class InvalidScheduleFrequencyError extends HttpError { | ||
} | ||
export declare class ReportNoLongerAvailable extends HttpError { | ||
export declare class ReportNoLongerAvailableError extends HttpError { | ||
} | ||
export declare class ReportNotReady extends HttpError { | ||
export declare class ReportNotReadyError extends HttpError { | ||
} | ||
export declare class DependencyFatalException extends HttpError { | ||
export declare class DependencyFatalExceptionError extends HttpError { | ||
} | ||
export declare class DependencyRetriableException extends HttpError { | ||
export declare class DependencyRetriableExceptionError extends HttpError { | ||
} | ||
export declare class DependencyUnauthorizedException extends HttpError { | ||
export declare class DependencyUnauthorizedExceptionError extends HttpError { | ||
} | ||
export declare class InternalErrorFatalException extends HttpError { | ||
export declare class InternalErrorFatalExceptionError extends HttpError { | ||
} | ||
export declare class InvalidInputFatalException extends HttpError { | ||
export declare class InvalidInputFatalExceptionError extends HttpError { | ||
} | ||
@@ -94,0 +94,0 @@ export declare class ParsingError extends MWSError { |
162
lib/error.js
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.enhanceError = exports.ParsingError = exports.InvalidInputFatalException = exports.InternalErrorFatalException = exports.DependencyUnauthorizedException = exports.DependencyRetriableException = exports.DependencyFatalException = exports.ReportNotReady = exports.ReportNoLongerAvailable = exports.InvalidScheduleFrequency = exports.InvalidReportType = exports.InvalidReportRequestId = exports.InvalidReportId = exports.AccessToReportDenied = exports.InvalidUPCIdentifier = exports.RetriableInternalError = exports.NonRetriableInternalError = exports.InvalidRequest = exports.InvalidFeedType = exports.InvalidFeedSubmissionId = exports.InputDataError = exports.FeedProcessingResultNotReady = exports.FeedProcessingResultNoLongerAvailable = exports.FeedCanceled = exports.ContentMD5DoesNotMatch = exports.ContentMD5Missing = exports.AccessToFeedProcessingResultDenied = exports.PickupSlotNotAvailable = exports.InvalidOrderState = exports.ScheduleWindowExpired = exports.RegionNotSupported = exports.ScheduledPackageAlreadyExists = exports.ResourceNotFound = exports.RequestThrottled = exports.QuotaExceeded = exports.InternalError = exports.InvalidAddress = exports.SignatureDoesNotMatch = exports.InvalidAccessKeyId = exports.AccessDenied = exports.InvalidParameterValue = exports.InputStreamDisconnected = exports.HttpError = exports.MWSError = void 0; | ||
exports.enhanceError = exports.ParsingError = exports.InvalidInputFatalExceptionError = exports.InternalErrorFatalExceptionError = exports.DependencyUnauthorizedExceptionError = exports.DependencyRetriableExceptionError = exports.DependencyFatalExceptionError = exports.ReportNotReadyError = exports.ReportNoLongerAvailableError = exports.InvalidScheduleFrequencyError = exports.InvalidReportTypeError = exports.InvalidReportRequestIdError = exports.InvalidReportIdError = exports.AccessToReportDeniedError = exports.InvalidUPCIdentifierError = exports.RetriableInternalErrorError = exports.NonRetriableInternalErrorError = exports.InvalidRequestError = exports.InvalidFeedTypeError = exports.InvalidFeedSubmissionIdError = exports.InputDataErrorError = exports.FeedProcessingResultNotReadyError = exports.FeedProcessingResultNoLongerAvailableError = exports.FeedCanceledError = exports.ContentMD5DoesNotMatchError = exports.ContentMD5MissingError = exports.AccessToFeedProcessingResultDeniedError = exports.PickupSlotNotAvailableError = exports.InvalidOrderStateError = exports.ScheduleWindowExpiredError = exports.RegionNotSupportedError = exports.ScheduledPackageAlreadyExistsError = exports.ResourceNotFoundError = exports.RequestThrottledError = exports.QuotaExceededError = exports.InternalErrorError = exports.InvalidAddressError = exports.SignatureDoesNotMatchError = exports.InvalidAccessKeyIdError = exports.AccessDeniedError = exports.InvalidParameterValueError = exports.InputStreamDisconnectedError = exports.HttpError = exports.MWSError = void 0; | ||
const ts_error_1 = require("ts-error"); | ||
@@ -12,128 +12,128 @@ class MWSError extends ts_error_1.ExtendableError { | ||
// General errors | ||
class InputStreamDisconnected extends HttpError { | ||
class InputStreamDisconnectedError extends HttpError { | ||
} | ||
exports.InputStreamDisconnected = InputStreamDisconnected; | ||
class InvalidParameterValue extends HttpError { | ||
exports.InputStreamDisconnectedError = InputStreamDisconnectedError; | ||
class InvalidParameterValueError extends HttpError { | ||
} | ||
exports.InvalidParameterValue = InvalidParameterValue; | ||
class AccessDenied extends HttpError { | ||
exports.InvalidParameterValueError = InvalidParameterValueError; | ||
class AccessDeniedError extends HttpError { | ||
} | ||
exports.AccessDenied = AccessDenied; | ||
class InvalidAccessKeyId extends HttpError { | ||
exports.AccessDeniedError = AccessDeniedError; | ||
class InvalidAccessKeyIdError extends HttpError { | ||
} | ||
exports.InvalidAccessKeyId = InvalidAccessKeyId; | ||
class SignatureDoesNotMatch extends HttpError { | ||
exports.InvalidAccessKeyIdError = InvalidAccessKeyIdError; | ||
class SignatureDoesNotMatchError extends HttpError { | ||
} | ||
exports.SignatureDoesNotMatch = SignatureDoesNotMatch; | ||
class InvalidAddress extends HttpError { | ||
exports.SignatureDoesNotMatchError = SignatureDoesNotMatchError; | ||
class InvalidAddressError extends HttpError { | ||
} | ||
exports.InvalidAddress = InvalidAddress; | ||
class InternalError extends HttpError { | ||
exports.InvalidAddressError = InvalidAddressError; | ||
class InternalErrorError extends HttpError { | ||
} | ||
exports.InternalError = InternalError; | ||
class QuotaExceeded extends HttpError { | ||
exports.InternalErrorError = InternalErrorError; | ||
class QuotaExceededError extends HttpError { | ||
} | ||
exports.QuotaExceeded = QuotaExceeded; | ||
class RequestThrottled extends HttpError { | ||
exports.QuotaExceededError = QuotaExceededError; | ||
class RequestThrottledError extends HttpError { | ||
} | ||
exports.RequestThrottled = RequestThrottled; | ||
exports.RequestThrottledError = RequestThrottledError; | ||
// Easy Ship errors | ||
class ResourceNotFound extends HttpError { | ||
class ResourceNotFoundError extends HttpError { | ||
} | ||
exports.ResourceNotFound = ResourceNotFound; | ||
class ScheduledPackageAlreadyExists extends HttpError { | ||
exports.ResourceNotFoundError = ResourceNotFoundError; | ||
class ScheduledPackageAlreadyExistsError extends HttpError { | ||
} | ||
exports.ScheduledPackageAlreadyExists = ScheduledPackageAlreadyExists; | ||
class RegionNotSupported extends HttpError { | ||
exports.ScheduledPackageAlreadyExistsError = ScheduledPackageAlreadyExistsError; | ||
class RegionNotSupportedError extends HttpError { | ||
} | ||
exports.RegionNotSupported = RegionNotSupported; | ||
class ScheduleWindowExpired extends HttpError { | ||
exports.RegionNotSupportedError = RegionNotSupportedError; | ||
class ScheduleWindowExpiredError extends HttpError { | ||
} | ||
exports.ScheduleWindowExpired = ScheduleWindowExpired; | ||
class InvalidOrderState extends HttpError { | ||
exports.ScheduleWindowExpiredError = ScheduleWindowExpiredError; | ||
class InvalidOrderStateError extends HttpError { | ||
} | ||
exports.InvalidOrderState = InvalidOrderState; | ||
class PickupSlotNotAvailable extends HttpError { | ||
exports.InvalidOrderStateError = InvalidOrderStateError; | ||
class PickupSlotNotAvailableError extends HttpError { | ||
} | ||
exports.PickupSlotNotAvailable = PickupSlotNotAvailable; | ||
exports.PickupSlotNotAvailableError = PickupSlotNotAvailableError; | ||
// Feeds errors | ||
class AccessToFeedProcessingResultDenied extends HttpError { | ||
class AccessToFeedProcessingResultDeniedError extends HttpError { | ||
} | ||
exports.AccessToFeedProcessingResultDenied = AccessToFeedProcessingResultDenied; | ||
class ContentMD5Missing extends HttpError { | ||
exports.AccessToFeedProcessingResultDeniedError = AccessToFeedProcessingResultDeniedError; | ||
class ContentMD5MissingError extends HttpError { | ||
} | ||
exports.ContentMD5Missing = ContentMD5Missing; | ||
class ContentMD5DoesNotMatch extends HttpError { | ||
exports.ContentMD5MissingError = ContentMD5MissingError; | ||
class ContentMD5DoesNotMatchError extends HttpError { | ||
} | ||
exports.ContentMD5DoesNotMatch = ContentMD5DoesNotMatch; | ||
class FeedCanceled extends HttpError { | ||
exports.ContentMD5DoesNotMatchError = ContentMD5DoesNotMatchError; | ||
class FeedCanceledError extends HttpError { | ||
} | ||
exports.FeedCanceled = FeedCanceled; | ||
class FeedProcessingResultNoLongerAvailable extends HttpError { | ||
exports.FeedCanceledError = FeedCanceledError; | ||
class FeedProcessingResultNoLongerAvailableError extends HttpError { | ||
} | ||
exports.FeedProcessingResultNoLongerAvailable = FeedProcessingResultNoLongerAvailable; | ||
class FeedProcessingResultNotReady extends HttpError { | ||
exports.FeedProcessingResultNoLongerAvailableError = FeedProcessingResultNoLongerAvailableError; | ||
class FeedProcessingResultNotReadyError extends HttpError { | ||
} | ||
exports.FeedProcessingResultNotReady = FeedProcessingResultNotReady; | ||
class InputDataError extends HttpError { | ||
exports.FeedProcessingResultNotReadyError = FeedProcessingResultNotReadyError; | ||
class InputDataErrorError extends HttpError { | ||
} | ||
exports.InputDataError = InputDataError; | ||
class InvalidFeedSubmissionId extends HttpError { | ||
exports.InputDataErrorError = InputDataErrorError; | ||
class InvalidFeedSubmissionIdError extends HttpError { | ||
} | ||
exports.InvalidFeedSubmissionId = InvalidFeedSubmissionId; | ||
class InvalidFeedType extends HttpError { | ||
exports.InvalidFeedSubmissionIdError = InvalidFeedSubmissionIdError; | ||
class InvalidFeedTypeError extends HttpError { | ||
} | ||
exports.InvalidFeedType = InvalidFeedType; | ||
class InvalidRequest extends HttpError { | ||
exports.InvalidFeedTypeError = InvalidFeedTypeError; | ||
class InvalidRequestError extends HttpError { | ||
} | ||
exports.InvalidRequest = InvalidRequest; | ||
exports.InvalidRequestError = InvalidRequestError; | ||
// Finances errors | ||
class NonRetriableInternalError extends HttpError { | ||
class NonRetriableInternalErrorError extends HttpError { | ||
} | ||
exports.NonRetriableInternalError = NonRetriableInternalError; | ||
class RetriableInternalError extends HttpError { | ||
exports.NonRetriableInternalErrorError = NonRetriableInternalErrorError; | ||
class RetriableInternalErrorError extends HttpError { | ||
} | ||
exports.RetriableInternalError = RetriableInternalError; | ||
exports.RetriableInternalErrorError = RetriableInternalErrorError; | ||
// Products errors | ||
class InvalidUPCIdentifier extends HttpError { | ||
class InvalidUPCIdentifierError extends HttpError { | ||
} | ||
exports.InvalidUPCIdentifier = InvalidUPCIdentifier; | ||
exports.InvalidUPCIdentifierError = InvalidUPCIdentifierError; | ||
// Reports errors | ||
class AccessToReportDenied extends HttpError { | ||
class AccessToReportDeniedError extends HttpError { | ||
} | ||
exports.AccessToReportDenied = AccessToReportDenied; | ||
class InvalidReportId extends HttpError { | ||
exports.AccessToReportDeniedError = AccessToReportDeniedError; | ||
class InvalidReportIdError extends HttpError { | ||
} | ||
exports.InvalidReportId = InvalidReportId; | ||
class InvalidReportRequestId extends HttpError { | ||
exports.InvalidReportIdError = InvalidReportIdError; | ||
class InvalidReportRequestIdError extends HttpError { | ||
} | ||
exports.InvalidReportRequestId = InvalidReportRequestId; | ||
class InvalidReportType extends HttpError { | ||
exports.InvalidReportRequestIdError = InvalidReportRequestIdError; | ||
class InvalidReportTypeError extends HttpError { | ||
} | ||
exports.InvalidReportType = InvalidReportType; | ||
class InvalidScheduleFrequency extends HttpError { | ||
exports.InvalidReportTypeError = InvalidReportTypeError; | ||
class InvalidScheduleFrequencyError extends HttpError { | ||
} | ||
exports.InvalidScheduleFrequency = InvalidScheduleFrequency; | ||
class ReportNoLongerAvailable extends HttpError { | ||
exports.InvalidScheduleFrequencyError = InvalidScheduleFrequencyError; | ||
class ReportNoLongerAvailableError extends HttpError { | ||
} | ||
exports.ReportNoLongerAvailable = ReportNoLongerAvailable; | ||
class ReportNotReady extends HttpError { | ||
exports.ReportNoLongerAvailableError = ReportNoLongerAvailableError; | ||
class ReportNotReadyError extends HttpError { | ||
} | ||
exports.ReportNotReady = ReportNotReady; | ||
exports.ReportNotReadyError = ReportNotReadyError; | ||
// Subscriptions errors | ||
class DependencyFatalException extends HttpError { | ||
class DependencyFatalExceptionError extends HttpError { | ||
} | ||
exports.DependencyFatalException = DependencyFatalException; | ||
class DependencyRetriableException extends HttpError { | ||
exports.DependencyFatalExceptionError = DependencyFatalExceptionError; | ||
class DependencyRetriableExceptionError extends HttpError { | ||
} | ||
exports.DependencyRetriableException = DependencyRetriableException; | ||
class DependencyUnauthorizedException extends HttpError { | ||
exports.DependencyRetriableExceptionError = DependencyRetriableExceptionError; | ||
class DependencyUnauthorizedExceptionError extends HttpError { | ||
} | ||
exports.DependencyUnauthorizedException = DependencyUnauthorizedException; | ||
class InternalErrorFatalException extends HttpError { | ||
exports.DependencyUnauthorizedExceptionError = DependencyUnauthorizedExceptionError; | ||
class InternalErrorFatalExceptionError extends HttpError { | ||
} | ||
exports.InternalErrorFatalException = InternalErrorFatalException; | ||
class InvalidInputFatalException extends HttpError { | ||
exports.InternalErrorFatalExceptionError = InternalErrorFatalExceptionError; | ||
class InvalidInputFatalExceptionError extends HttpError { | ||
} | ||
exports.InvalidInputFatalException = InvalidInputFatalException; | ||
exports.InvalidInputFatalExceptionError = InvalidInputFatalExceptionError; | ||
class ParsingError extends MWSError { | ||
@@ -140,0 +140,0 @@ } |
@@ -177,3 +177,3 @@ "use strict"; | ||
response.data.includes('Invalid UPC identifier')) { | ||
throw new error_1.InvalidUPCIdentifier(`${info.action} request failed`); | ||
throw new error_1.InvalidUPCIdentifierError(`${info.action} request failed`); | ||
} | ||
@@ -191,43 +191,43 @@ return exports.parseResponse(response, stringResponse); | ||
const errorMap = { | ||
InputStreamDisconnected: error_1.InputStreamDisconnected, | ||
InvalidParameterValue: error_1.InvalidParameterValue, | ||
AccessDenied: error_1.AccessDenied, | ||
InvalidAccessKeyId: error_1.InvalidAccessKeyId, | ||
SignatureDoesNotMatch: error_1.SignatureDoesNotMatch, | ||
InvalidAddress: error_1.InvalidAddress, | ||
InternalError: error_1.InternalError, | ||
// Subscriptions-specific | ||
'Internal Error': error_1.InternalError, | ||
QuotaExceeded: error_1.QuotaExceeded, | ||
RequestThrottled: error_1.RequestThrottled, | ||
ResourceNotFound: error_1.ResourceNotFound, | ||
ScheduledPackageAlreadyExists: error_1.ScheduledPackageAlreadyExists, | ||
RegionNotSupported: error_1.RegionNotSupported, | ||
ScheduleWindowExpired: error_1.ScheduleWindowExpired, | ||
InvalidOrderState: error_1.InvalidOrderState, | ||
PickupSlotNotAvailable: error_1.PickupSlotNotAvailable, | ||
AccessToFeedProcessingResultDenied: error_1.AccessToFeedProcessingResultDenied, | ||
ContentMD5Missing: error_1.ContentMD5Missing, | ||
ContentMD5DoesNotMatch: error_1.ContentMD5DoesNotMatch, | ||
FeedCanceled: error_1.FeedCanceled, | ||
FeedProcessingResultNoLongerAvailable: error_1.FeedProcessingResultNoLongerAvailable, | ||
FeedProcessingResultNotReady: error_1.FeedProcessingResultNotReady, | ||
InputDataError: error_1.InputDataError, | ||
InvalidFeedSubmissionId: error_1.InvalidFeedSubmissionId, | ||
InvalidFeedType: error_1.InvalidFeedType, | ||
InvalidRequest: error_1.InvalidRequest, | ||
NonRetriableInternalError: error_1.NonRetriableInternalError, | ||
RetriableInternalError: error_1.RetriableInternalError, | ||
AccessToReportDenied: error_1.AccessToReportDenied, | ||
InvalidReportId: error_1.InvalidReportId, | ||
InvalidReportRequestId: error_1.InvalidReportRequestId, | ||
InvalidReportType: error_1.InvalidReportType, | ||
InvalidScheduleFrequency: error_1.InvalidScheduleFrequency, | ||
ReportNoLongerAvailable: error_1.ReportNoLongerAvailable, | ||
ReportNotReady: error_1.ReportNotReady, | ||
DependencyFatalException: error_1.DependencyFatalException, | ||
DependencyRetriableException: error_1.DependencyRetriableException, | ||
DependencyUnauthorizedException: error_1.DependencyUnauthorizedException, | ||
InternalErrorFatalException: error_1.InternalErrorFatalException, | ||
InvalidInputFatalException: error_1.InvalidInputFatalException, | ||
InputStreamDisconnected: error_1.InputStreamDisconnectedError, | ||
InvalidParameterValue: error_1.InvalidParameterValueError, | ||
AccessDenied: error_1.AccessDeniedError, | ||
InvalidAccessKeyId: error_1.InvalidAccessKeyIdError, | ||
SignatureDoesNotMatch: error_1.SignatureDoesNotMatchError, | ||
InvalidAddress: error_1.InvalidAddressError, | ||
InternalError: error_1.InternalErrorError, | ||
// Subscriptions-fispecic | ||
'Internal Error': error_1.InternalErrorError, | ||
QuotaExceeded: error_1.QuotaExceededError, | ||
RequestThrottled: error_1.RequestThrottledError, | ||
ResourceNotFound: error_1.ResourceNotFoundError, | ||
ScheduledPackageAlreadyExists: error_1.ScheduledPackageAlreadyExistsError, | ||
RegionNotSupported: error_1.RegionNotSupportedError, | ||
ScheduleWindowExpired: error_1.ScheduleWindowExpiredError, | ||
InvalidOrderState: error_1.InvalidOrderStateError, | ||
PickupSlotNotAvailable: error_1.PickupSlotNotAvailableError, | ||
AccessToFeedProcessingResultDenied: error_1.AccessToFeedProcessingResultDeniedError, | ||
ContentMD5Missing: error_1.ContentMD5MissingError, | ||
ContentMD5DoesNotMatch: error_1.ContentMD5DoesNotMatchError, | ||
FeedCanceled: error_1.FeedCanceledError, | ||
FeedProcessingResultNoLongerAvailable: error_1.FeedProcessingResultNoLongerAvailableError, | ||
FeedProcessingResultNotReady: error_1.FeedProcessingResultNotReadyError, | ||
InputDataError: error_1.InputDataErrorError, | ||
InvalidFeedSubmissionId: error_1.InvalidFeedSubmissionIdError, | ||
InvalidFeedType: error_1.InvalidFeedTypeError, | ||
InvalidRequest: error_1.InvalidRequestError, | ||
NonRetriableInternalError: error_1.NonRetriableInternalErrorError, | ||
RetriableInternalError: error_1.RetriableInternalErrorError, | ||
AccessToReportDenied: error_1.AccessToReportDeniedError, | ||
InvalidReportId: error_1.InvalidReportIdError, | ||
InvalidReportRequestId: error_1.InvalidReportRequestIdError, | ||
InvalidReportType: error_1.InvalidReportTypeError, | ||
InvalidScheduleFrequency: error_1.InvalidScheduleFrequencyError, | ||
ReportNoLongerAvailable: error_1.ReportNoLongerAvailableError, | ||
ReportNotReady: error_1.ReportNotReadyError, | ||
DependencyFatalException: error_1.DependencyFatalExceptionError, | ||
DependencyRetriableException: error_1.DependencyRetriableExceptionError, | ||
DependencyUnauthorizedException: error_1.DependencyUnauthorizedExceptionError, | ||
InternalErrorFatalException: error_1.InternalErrorFatalExceptionError, | ||
InvalidInputFatalException: error_1.InvalidInputFatalExceptionError, | ||
}; | ||
@@ -234,0 +234,0 @@ const ErrorToThrow = errorMap[errorCode]; |
@@ -22,3 +22,3 @@ { | ||
"homepage": "https://github.com/ScaleLeap/amazon-mws-api-sdk/#readme", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"main": "lib/index.js", | ||
@@ -25,0 +25,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1098476
19147