ebay-promised
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,3 +0,2 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
module.exports = ["AddDispute", "AddDisputeResponse", "AddFixedPriceItem", "AddItem", "AddItemFromSellingManagerTemplate", "AddItems", "AddMemberMessageAAQToPartner", "AddMemberMessageRTQ", "AddMemberMessagesAAQToBidder", "AddOrder", "AddSecondChanceItem", "AddSellingManagerInventoryFolder", "AddSellingManagerProduct", "AddSellingManagerTemplate", "AddToItemDescription", "AddToWatchList", "AddTransactionConfirmationItem", "CompleteSale", "ConfirmIdentity", "DeleteMyMessages", "DeleteSellingManagerInventoryFolder", "DeleteSellingManagerItemAutomationRule", "DeleteSellingManagerProduct", "DeleteSellingManagerTemplate", "DeleteSellingManagerTemplateAutomationRule", "DisableUnpaidItemAssistance", "EndFixedPriceItem", "EndItem", "EndItems", "ExtendSiteHostedPictures", "FetchToken", "GetAccount", "GetAdFormatLeads", "GetAllBidders", "GetApiAccessRules", "GetBestOffers", "GetBidderList", "GetCategories", "GetCategory2CS", "GetCategoryFeatures", "GetCategoryMappings", "GetCategorySpecifics", "GetChallengeToken", "GetCharities", "GetClientAlertsAuthToken", "GetContextualKeywords", "GetCrossPromotions", "GetDescriptionTemplates", "GetDispute", "GeteBayDetails", "GeteBayOfficialTime", "GetFeedback", "GetItem", "GetItemRecommendations", "GetItemsAwaitingFeedback", "GetItemShipping", "GetItemTransactions", "GetMemberMessages", "GetMessagePreferences", "GetMyeBayBuying", "GetMyeBayReminders", "GetMyeBaySelling", "GetMyMessages", "GetNotificationPreferences", "GetNotificationsUsage", "GetOrders", "GetOrderTransactions", "GetPromotionalSaleDetails", "GetPromotionRules", "GetSellerDashboard", "GetSellerEvents", "GetSellerList", "GetSellerPayments", "GetSellerTransactions", "GetSellingManagerAlerts", "GetSellingManagerEmailLog", "GetSellingManagerInventory", "GetSellingManagerInventoryFolder", "GetSellingManagerItemAutomationRule", "GetSellingManagerSaleRecord", "GetSellingManagerSoldListings", "GetSellingManagerTemplateAutomationRule", "GetSellingManagerTemplates", "GetSessionID", "GetShippingDiscountProfiles", "GetStore", "GetStoreCategoryUpdateStatus", "GetStoreCustomPage", "GetStoreOptions", "GetStorePreferences", "GetSuggestedCategories", "GetTaxTable", "GetTokenStatus", "GetUser", "GetUserContactDetails", "GetUserDisputes", "GetUserPreferences", "GetVeROReasonCodeDetails", "GetVeROReportStatus", "IssueRefund", "LeaveFeedback", "MoveSellingManagerInventoryFolder", "PlaceOffer", "RelistFixedPriceItem", "RelistItem", "RemoveFromWatchList", "RespondToBestOffer", "RespondToFeedback", "ReviseCheckoutStatus", "ReviseFixedPriceItem", "ReviseInventoryStatus", "ReviseItem", "ReviseMyMessages", "ReviseMyMessagesFolders", "ReviseSellingManagerInventoryFolder", "ReviseSellingManagerProduct", "ReviseSellingManagerSaleRecord", "ReviseSellingManagerTemplate", "RevokeToken", "SaveItemToSellingManagerTemplate", "SellerReverseDispute", "SendInvoice", "SetMessagePreferences", "SetNotificationPreferences", "SetPromotionalSale", "SetPromotionalSaleListings", "SetSellingManagerFeedbackOptions", "SetSellingManagerItemAutomationRule", "SetSellingManagerTemplateAutomationRule", "SetShippingDiscountProfiles", "SetStore", "SetStoreCategories", "SetStoreCustomPage", "SetStorePreferences", "SetTaxTable", "SetUserNotes", "SetUserPreferences", "UploadSiteHostedPictures", "ValidateChallengeInput", "ValidateTestUserRegistration", "VerifyAddFixedPriceItem", "VerifyAddItem", "VerifyAddSecondChanceItem", "VerifyRelistItem", "VeROReportItems"]; | ||
// Generated by CoffeeScript 1.9.1 | ||
module.exports = ["AddDispute", "AddDisputeResponse", "AddFixedPriceItem", "AddItem", "AddItemFromSellingManagerTemplate", "AddItems", "AddMemberMessageAAQToPartner", "AddMemberMessageRTQ", "AddMemberMessagesAAQToBidder", "AddOrder", "AddSecondChanceItem", "AddSellingManagerInventoryFolder", "AddSellingManagerProduct", "AddSellingManagerTemplate", "AddToItemDescription", "AddToWatchList", "AddTransactionConfirmationItem", "CompleteSale", "ConfirmIdentity", "DeleteMyMessages", "DeleteSellingManagerInventoryFolder", "DeleteSellingManagerItemAutomationRule", "DeleteSellingManagerProduct", "DeleteSellingManagerTemplate", "DeleteSellingManagerTemplateAutomationRule", "DisableUnpaidItemAssistance", "EndFixedPriceItem", "EndItem", "EndItems", "ExtendSiteHostedPictures", "FetchToken", "GetAccount", "GetAdFormatLeads", "GetAllBidders", "GetApiAccessRules", "GetBestOffers", "GetBidderList", "GetCategories", "GetCategory2CS", "GetCategoryFeatures", "GetCategoryMappings", "GetCategorySpecifics", "GetChallengeToken", "GetCharities", "GetClientAlertsAuthToken", "GetContextualKeywords", "GetCrossPromotions", "GetDescriptionTemplates", "GetDispute", "GeteBayDetails", "GeteBayOfficialTime", "GetFeedback", "GetItem", "GetItemRecommendations", "GetItemsAwaitingFeedback", "GetItemShipping", "GetItemTransactions", "GetMemberMessages", "GetMessagePreferences", "GetMyeBayBuying", "GetMyeBayReminders", "GetMyeBaySelling", "GetMyMessages", "GetNotificationPreferences", "GetNotificationsUsage", "GetOrders", "GetOrderTransactions", "GetPromotionalSaleDetails", "GetPromotionRules", "GetSellerDashboard", "GetSellerEvents", "GetSellerList", "GetSellerPayments", "GetSellerTransactions", "GetSellingManagerAlerts", "GetSellingManagerEmailLog", "GetSellingManagerInventory", "GetSellingManagerInventoryFolder", "GetSellingManagerItemAutomationRule", "GetSellingManagerSaleRecord", "GetSellingManagerSoldListings", "GetSellingManagerTemplateAutomationRule", "GetSellingManagerTemplates", "GetSessionID", "GetTokenStatusRequest", "GetShippingDiscountProfiles", "GetStore", "GetStoreCategoryUpdateStatus", "GetStoreCustomPage", "GetStoreOptions", "GetStorePreferences", "GetSuggestedCategories", "GetTaxTable", "GetTokenStatus", "GetUser", "GetUserContactDetails", "GetUserDisputes", "GetUserPreferences", "GetVeROReasonCodeDetails", "GetVeROReportStatus", "IssueRefund", "LeaveFeedback", "MoveSellingManagerInventoryFolder", "PlaceOffer", "RelistFixedPriceItem", "RelistItem", "RemoveFromWatchList", "RespondToBestOffer", "RespondToFeedback", "ReviseCheckoutStatus", "ReviseFixedPriceItem", "ReviseInventoryStatus", "ReviseItem", "ReviseMyMessages", "ReviseMyMessagesFolders", "ReviseSellingManagerInventoryFolder", "ReviseSellingManagerProduct", "ReviseSellingManagerSaleRecord", "ReviseSellingManagerTemplate", "RevokeToken", "SaveItemToSellingManagerTemplate", "SellerReverseDispute", "SendInvoice", "SetMessagePreferences", "SetNotificationPreferences", "SetPromotionalSale", "SetPromotionalSaleListings", "SetSellingManagerFeedbackOptions", "SetSellingManagerItemAutomationRule", "SetSellingManagerTemplateAutomationRule", "SetShippingDiscountProfiles", "SetStore", "SetStoreCategories", "SetStoreCustomPage", "SetStorePreferences", "SetTaxTable", "SetUserNotes", "SetUserPreferences", "UploadSiteHostedPictures", "ValidateChallengeInput", "ValidateTestUserRegistration", "VerifyAddFixedPriceItem", "VerifyAddItem", "VerifyAddSecondChanceItem", "VerifyRelistItem", "VeROReportItems"]; |
@@ -1,3 +0,2 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
// Generated by CoffeeScript 1.9.1 | ||
module.exports = ['@', 'Timestamp', 'Ack', 'Version', 'Build']; |
@@ -1,3 +0,2 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
// Generated by CoffeeScript 1.9.1 | ||
module.exports = ["AboutMePage", "Accent", "AcceptedTime", "AccountCode", "AccountDetailsEntryType", "AccountEntries", "AccountEntry", "AccountEntrySortType", "AccountHistorySelection", "AccountID", "AccountNumber", "AccountState", "AccountSummary", "Ack", "Action", "ActionRequiredBy", "ActiveAuctionCount", "ActiveItemsOnly", "ActiveList", "ActualDeliveryTime", "ActualHandlingCost", "ActualShippingCost", "AddItemRequestContainer", "AddItemResponseContainer", "AdditionalAccount", "AdditionalCompatibilityEnabled", "AdditionalContactInformation", "AdditionalInformation", "AddMemberMessagesAAQToBidderRequestContainer", "AddMemberMessagesAAQToBidderResponseContainer", "Address", "AddressID", "AddressOwner", "AddressUsage", "AddToFavoriteStores", "AdFormatEnabled", "AdFormatLead", "AdFormatLeadCount", "AdjustmentAmount", "AdminEnded", "AdminEndedItemsOnly", "Adult", "AdvancedThemeArray", "AffiliateTrackingDetails", "AffiliateUserID", "AffiliationType", "Alert", "AlertEmail", "AlertEnable", "AlertType", "AllAuctionItems", "AllFeaturesForCategory", "AllFixedPriceItems", "AllowPaymentEdit", "AllStoreInventoryItems", "AlternateText", "AlwaysUseThisPaymentAddress", "Amount", "AmountLimitRemaining", "AmountPaid", "AmountPastDue", "AmountSaved", "AnnouncementStartTime", "Answer1", "Answer2", "ApiAccessRule", "ApplicationData", "ApplicationDeliveryPreferences", "ApplicationDeviceType", "ApplicationEnable", "ApplicationURL", "ApplyBuyerProtection", "Archived", "ASQPreferences", "Attribute", "AttributeArray", "AttributeRecommendations", "AttributeSetArray", "AttributeSetID", "AttributeSetVersion", "AttributeSystemVersion", "AuctionBidCount", "AuctionSellingCount", "AudioChallengeURL", "AutomatedLeaveFeedbackEvent", "AutomatedListingRule", "AutomatedRelistingRule", "AutomatedSecondChanceOfferRule", "AutomationAlert", "AutoOptDonationRefund", "AutoPay", "AutoPayEnabled", "AutoRelist", "AverageRatingDetails", "AverageRatingSummary", "AverageSellingPrice", "AverageSoldPrice", "AverageStartPrice", "B2BVATEnabled", "Balance", "BankAccountInfo", "BankModifyDate", "BaseURL", "BasicThemeArray", "BasicUpgradePackEnabled", "BeginDate", "BestOffer", "BestOfferArray", "BestOfferAutoAcceptEnabled", "BestOfferAutoAcceptPrice", "BestOfferAutoDeclineEnabled", "BestOfferCodeType", "BestOfferCount", "BestOfferCounterEnabled", "BestOfferDetails", "BestOfferEnabled", "BestOfferID", "BestOfferList", "BestOfferSale", "BestOfferStatus", "BestTimeToCall", "BidActivityWithSeller", "BidArray", "BidAssistantList", "BidCount", "BidCountMax", "BidCountMin", "Bidder", "BidderCount", "BidderNoticePreferences", "BiddingCount", "BiddingDetails", "BiddingSummary", "BidIncrement", "BidItemArray", "BidList", "BidRetractionFeedbackPeriodArray", "BidRetractions", "BidsToUniqueCategories", "BidsToUniqueSellers", "BillingCycleDate", "BillingEmail", "BindingAuction", "BlockOnWarning", "Body", "BoldTitle", "Border", "BotBlock", "BotBlockAudioUrl", "BotBlockToken", "BotBlockUrl", "BotBlockUserInput", "Brand", "BrandMPN", "BrandMPNIdentifierEnabled", "BriefText", "Build", "BusinessRole", "BusinessSeller", "BusinessSellerDetails", "Buyer", "BuyerCheckoutMessage", "BuyerEmail", "BuyerExternalTransactionID", "BuyerGuaranteeEnabled", "BuyerGuaranteePrice", "BuyerID", "BuyerInfo", "BuyerMessage", "BuyerPaidStatus", "BuyerProtection", "BuyerProtectionSource", "BuyerProtectionStatus", "BuyerRequirementDetails", "BuyerResponsibleForShipping", "BuyerRoleMetrics", "BuyerSatisfaction", "BuyerSelectedShipping", "BuyerUserID", "BuyingReminders", "BuyingSummary", "BuyItNowAdded", "BuyItNowAvailable", "BuyItNowLowered", "BuyItNowPrice", "CalculatedHandlingDiscount", "CalculatedShippingDiscount", "CalculatedShippingRate", "CallMode", "CallName", "CallStatus", "CampaignDisplayName", "CampaignID", "CancelCompleteDate", "CancelDetail", "CancelIntiationDate", "CancelIntiator", "CancelReason", "CancelReasonDetails", "CancelStatus", "CarrierID", "CartID", "CashOnDeliveryCost", "CatalogEnabled", "Category", "Category2ID", "CategoryArray", "CategoryBasedAttributesPrefill", "CategoryCount", "CategoryGroup", "CategoryID", "CategoryLevel", "CategoryMapping", "CategoryMappingAllowed", "CategoryName", "CategoryParent", "CategoryParentID", "CategoryParentName", "CategorySiteID", "CategorySpecific", "CategorySpecificsFileInfo", "CategoryStructureOnly", "CategoryVersion", "CeilingPrice", "ChallengeToken", "ChangePaymentInstructions", "CharacteristicsSet", "CharacteristicsSets", "Charity", "CharityAffiliationDetail", "CharityAffiliationDetails", "CharityAffiliations", "CharityDomain", "CharityID", "CharityListing", "CharityName", "CharityNumber", "CharityRegion", "CharityRegistered", "CheckoutEnabled", "CheckoutInstructions", "CheckoutStatus", "ChildCategory", "ChildFolder", "CIPBankAccountStored", "CityName", "ClassifiedAdAutoAcceptEnabled", "ClassifiedAdAutoDeclineEnabled", "ClassifiedAdBestOfferEnabled", "ClassifiedAdCompanyNameEnabled", "ClassifiedAdContactByAddressEnabled", "ClassifiedAdContactByEmailEnabled", "ClassifiedAdContactByPhoneEnabled", "ClassifiedAdCount", "ClassifiedAdCounterOfferEnabled", "ClassifiedAdOfferCount", "ClassifiedAdPaymentMethodEnabled", "ClassifiedAdPayPerLeadEnabled", "ClassifiedAdPhoneCount", "ClassifiedAdShippingMethodEnabled", "ClassifiedAdStreetCount", "ClientAlertsAuthToken", "CODCost", "Code", "CodiceFiscale", "CODService", "Color", "ColorScheme", "ColorSchemeID", "CombinedDuration", "CombinedFixedPriceTreatmentEnabled", "CombinedPaymentOption", "CombinedPaymentPreferences", "Comment", "CommentingUser", "CommentingUserScore", "CommentReplaced", "Comments", "CommentText", "CommentTime", "CommentType", "Commission", "CompanyName", "Compatibility", "CompatibilityNotes", "CompatibleVehicleType", "CompleteStatus", "Condition", "ConditionDescription", "ConditionDisplayName", "ConditionEnabled", "ConditionHelpURL", "ConditionID", "ConditionValues", "Confidence", "ContactAddress", "ContactHoursDetails", "ContactID", "ContainingOrder", "Content", "ContextSearchAsset", "ConversionRate", "ConvertedAdjustmentAmount", "ConvertedAmountPaid", "ConvertedBuyItNowPrice", "ConvertedCurrentPrice", "ConvertedMaxBid", "ConvertedPrice", "ConvertedReservePrice", "ConvertedStartPrice", "ConvertedTransactionPrice", "CopyEmail", "CopyEmailToRightsOwner", "Copyright", "CorrelationID", "CostGroupFlat", "Count", "Countable", "CounterOfferPrice", "CounterOfferQuantity", "Country", "CountryDetails", "CountryName", "CountryOfOrigin", "CountsTowardAggregate", "County", "CreatedDate", "CreatedTime", "CreateTimeFrom", "CreateTimeTo", "CreatingUserRole", "CreationDate", "CreationTime", "CreditCardExpiration", "CreditCardInfo", "CreditCardModifyDate", "CrossBorderTrade", "CrossBorderTradeAustraliaEnabled", "CrossBorderTradeGBEnabled", "CrossBorderTradeNorthAmericaEnabled", "CrossBorderTransactionCount", "CrossBorderTransactionPercent", "CrossPromotion", "CrossPromotionEnabled", "CrossPromotionPreferences", "CrossSellGallerySortFilter", "CrossSellItemFormatSortFilter", "CrossSellItemSortFilter", "Currency", "CurrencyDetails", "CurrencyID", "CurrentBalance", "CurrentFieldText", "CurrentFieldValue", "CurrentPrice", "CustomCategories", "CustomCategory", "CustomEmailName", "CustomHeader", "CustomHeaderLayout", "CustomLabel", "CustomListingHeader", "CustomPage", "CustomPageArray", "CutoffTime", "DailyHardLimit", "DailySoftLimit", "DailyUsage", "Date", "DaylightSavingsInEffect", "DaylightSavingsLabel", "DaylightSavingsOffset", "DayOfWeek", "DaysSinceSale", "DaysToFullPayment", "DeclinedRTERequestCount", "DefaultPayPalEmailAddress", "DefaultValue", "DelayBeforeOpeningDispute", "Delete", "DeleteAutomatedListingRule", "DeleteAutomatedRelistingRule", "DeleteAutomatedSecondChanceOfferRule", "DeletedField", "DeletedFromLostList", "DeletedFromSoldList", "DeletedFromUnsoldList", "DeletedFromWonList", "DeletedSaleTemplateID", "DeletedSaleTemplateName", "DeletedSellingManagerProductDetails", "DeliveredCount", "DeliveryStatus", "DeliveryTime", "DeliveryURL", "DeliveryURLDetails", "DeliveryURLName", "DepositAmount", "DepositSupported", "DepositType", "DeprecationDetails", "DescColor", "DescFace", "Description", "DescriptionReviseMode", "DescriptionTemplate", "DescSize", "DestinationCountryCode", "DestinationParentCategoryID", "DestinationPostalCode", "DetailedMessage", "DetailedText", "DetailLevel", "DetailName", "DetailsURL", "DetailVersion", "DeviceType", "DimensionsRequired", "DimensionsSupported", "DisableBuyerRequirements", "DiscountName", "DiscountPriceInfo", "DiscountProfile", "DiscountProfileID", "DiscountProfileName", "DiscountReason", "DiscountType", "DiscountValue", "DispatchCutoffTimePreference", "DispatchTimeMax", "DispatchTimeMaxDetails", "DisplayLogoSelling", "DisplayMessageStoreCustomText", "DisplayName", "DisplayPayNowButton", "DisplayToPublic", "DisplayType", "Dispute", "DisputeActivity", "DisputeArray", "DisputeCreatedTime", "DisputeCreditEligibility", "DisputeExplanation", "DisputeFilterCount", "DisputeFilterType", "DisputeID", "DisputeMessage", "DisputeModifiedTime", "DisputeReason", "DisputeRecordType", "DisputeResolution", "DisputeResolutionReason", "DisputeResolutionRecordType", "DisputeSortType", "DisputeState", "DisputeStatus", "DocsForCCProcessingToSendCount", "DomesticRateTable", "DonationPercent", "DuplicateInvocationDetails", "DuplicateInvocationID", "Duration", "DurationInDays", "DutchBINEnabled", "EachAdditionalAmount", "EachAdditionalAmountOff", "EachAdditionalOffAmount", "EachAdditionalPercentOff", "EAN", "EANIdentifierEnabled", "eBayAuthToken", "eBayGoodStanding", "eBayMotorsProAdFormatEnabled", "eBayMotorsProAutoAcceptEnabled", "eBayMotorsProAutoDeclineEnabled", "eBayMotorsProBestOfferEnabled", "eBayMotorsProCompanyNameEnabled", "eBayMotorsProContactByAddressEnabled", "eBayMotorsProContactByEmailEnabled", "eBayMotorsProContactByPhoneEnabled", "eBayMotorsProCounterOfferEnabled", "eBayMotorsProPaymentMethodCheckOutEnabled", "eBayMotorsProPhoneCount", "eBayMotorsProSellerContactDetailsEnabled", "eBayMotorsProShippingMethodEnabled", "eBayMotorsProStreetCount", "eBayNotes", "eBayNowEligible", "eBayPaymentMismatchDetails", "eBayPaymentStatus", "eBayWikiReadOnly", "EIASToken", "EligibleForPickupInStore", "Email", "EmailCopyToSeller", "EmailCopyToSender", "EmailCustomized", "EmailDateRange", "EmailLog", "EmailShipmentTrackingNumberPreference", "EmailsSent", "EmailState", "EmailType", "Encoding", "EncryptedID", "EndCreationTime", "EndDate", "EndingDisputeID", "EndingReason", "EndItemRequestContainer", "EndItemResponseContainer", "EndOfAuctionEmailPreferences", "EndTime", "EndTimeFrom", "EndTimeTo", "EndUserIP", "EnforcedOnListingSite", "EnforcedOnRegistrationSite", "EnterpriseSeller", "EntriesPerPage", "EPID", "ErrorClassification", "ErrorCode", "ErrorCount", "ErrorHandling", "ErrorLanguage", "ErrorMessage", "ErrorParameters", "Errors", "Escalation", "EstimatedRefundCompletionTime", "EventEnable", "EventProperty", "EventTime", "EventTitle", "EventType", "ExcludeBalance", "ExcludeCategoryID", "ExcludedUser", "ExcludeRelationships", "ExcludeShippingLocationDetails", "ExcludeShipToLocation", "ExcludeSummary", "ExpectedReleaseDate", "ExpeditedService", "ExpirationDate", "ExpirationTime", "Expired", "ExpiredCount", "ExportListings", "ExpressConditionRequired", "ExpressEnabled", "ExpressPicturesRequired", "ExtendedHandling", "ExtendedSellerContactDetails", "ExtensionInDays", "ExternalAddressID", "ExternalEmail", "ExternalID", "ExternalMessageID", "ExternalMessageIDs", "ExternalPictureURL", "ExternalProductID", "ExternalReferenceID", "ExternalTransaction", "ExternalTransactionID", "ExternalTransactionStatus", "ExternalTransactionTime", "ExternalUserData", "FavoriteItemID", "FavoriteSearch", "FavoriteSearches", "FavoriteSeller", "FavoriteSellerCount", "FavoriteSellers", "Fax", "Featured", "FeatureDefinitions", "FeaturedFirst", "FeaturedPlus", "FeatureEligibility", "FeatureID", "FedExRateOption", "Fee", "FeedbackDetail", "FeedbackDetailArray", "FeedbackDetailItemTotal", "FeedbackID", "FeedbackInfo", "FeedbackLeft", "FeedbackLeftPercent", "FeedbackPeriod", "FeedbackPrivate", "FeedbackRatingStar", "FeedbackReceived", "FeedbackResponse", "FeedbackRevised", "FeedbackScore", "FeedbackSent", "FeedbackSummary", "FeedbackSummaryPeriod", "FeedbackToReceiveCount", "FeedbackToSendCount", "FeedbackType", "FeeOrCreditAmount", "Fees", "Field", "FieldName", "FieldTip", "FileReferenceID", "Filter", "FinalValueFee", "FinancingAnswer", "FirstName", "Flagged", "FlaggedMessageCount", "FlatRateInsuranceRange", "FlatRateInsuranceRangeCost", "FlatShippingDiscount", "FloorPrice", "Folder", "FolderComment", "FolderID", "FolderLevel", "FolderName", "FolderSummary", "Followup", "FollowUpReplaced", "Font", "ForwardDetails", "FreeAddedCategory", "FreeGalleryPlusEnabled", "FreePicturePackEnabled", "FreeShipping", "Frequency", "FullRecursion", "FullURL", "GalleryDuration", "GalleryErrorInfo", "GalleryFeaturedDurations", "GalleryStatus", "GalleryType", "GalleryURL", "GeneralAlert", "GenericColorSchemeArray", "GetItFast", "GetRecommendationsRequestContainer", "GetRecommendationsResponseContainer", "GiftIcon", "GiftServices", "GlobalShipping", "GlobalShippingEnabled", "GlobalShippingProgramListingPreference", "GoodStanding", "GranularityLevel", "GrossDetailAmount", "Group", "Group1MaxFlatShippingCost", "Group2MaxFlatShippingCost", "Group3MaxFlatShippingCost", "GroupID", "GroupName", "GTIN", "HandlingTimeEnabled", "HardExpirationTime", "HardExpirationWarning", "HasMoreEntries", "HasMoreItems", "HasMoreOrders", "HasMorePayments", "HasMoreTransactions", "HasPublicMessages", "HasReservePrice", "HasUnansweredQuestions", "HeaderStyle", "HelpText", "HelpURL", "HelpURLPath", "HideFixedPriceStoreItems", "HideFromSearch", "HideSendersEmailAddress", "HideVariations", "HighBidder", "HighestBid", "Highlight", "HighPriority", "HitCount", "HitCounter", "HomePage", "HomePageFeatured", "HomePageFeaturedEnabled", "HourlyHardLimit", "HourlySoftLimit", "HourlyUsage", "Hours1AnyTime", "Hours1Days", "Hours1From", "Hours1To", "Hours2AnyTime", "Hours2Days", "Hours2From", "Hours2To", "HoursToDeposit", "ID", "IDVerified", "ImageChallengeURL", "ImageURL", "ImmediatePayEligible", "ImportCharge", "Imposition", "Include", "IncludeASQPreferences", "IncludeBiddingSummary", "IncludeCodiceFiscale", "IncludeConfidence", "IncludeContainingOrder", "IncludeConversionRate", "IncludeCrossPromotion", "IncludeDescription", "IncludeFavoriteSellerCount", "IncludeFeatureEligibility", "IncludeFinalValueFee", "IncludeFinalValueFees", "IncludeHighPriorityMessageOnly", "IncludeItemCompatibilityList", "IncludeItemCount", "IncludeItemSpecifics", "IncludeListContents", "IncludeMemberMessages", "IncludeNotes", "IncludePrefilledItemInformation", "IncludeRecommendations", "IncludeReportedItemDetails", "IncludeStockPhotoURL", "IncludeTaxTable", "IncludeVariations", "IncludeVariationSpecifics", "IncludeWatchCount", "INEscrowWorkflowTimeline", "InsuranceCost", "InsuranceDetails", "InsuranceFee", "InsuranceOption", "InsuranceType", "InsuranceWanted", "IntangibleItem", "IntegratedMerchantCreditCardEnabled", "IntegratedMerchantCreditCardInfo", "InternationalCalculatedShippingDiscount", "InternationalFlatShippingDiscount", "InternationalInsuranceDetails", "InternationalName", "InternationalPackagingHandlingCosts", "InternationalPromotionalShippingDiscount", "InternationalRateTable", "InternationalService", "InternationalShippingDiscountProfileID", "InternationalShippingInsurance", "InternationalShippingServiceOption", "InternationalShippingServiceOptions", "InternationalStateAndCity", "InternationalStreet", "IntlAutosFixedCat", "InventoryAlert", "InventoryCountLastCalculatedDate", "InventoryStatus", "InventoryTrackingMethod", "InvocationID", "InvocationTrackingID", "InvoiceBalance", "InvoiceCredit", "InvoiceDate", "InvoiceNewFee", "InvoiceNumber", "InvoicePayment", "InvoiceSentTime", "ISBN", "ISBNIdentifierEnabled", "IsDefault", "IsIntermediatedShippingEligible", "IsMultiLegShipping", "Item", "ItemArray", "ItemBestOffers", "ItemBestOffersArray", "ItemBidDetails", "ItemCompatibilityCount", "ItemCompatibilityEnabled", "ItemCompatibilityList", "ItemCost", "ItemCount", "ItemDestinationCategoryID", "ItemDiscountAmount", "ItemEndTime", "ItemID", "ItemListLayout", "ItemListSortOrder", "ItemPolicyViolation", "ItemPrice", "ItemRatingDetails", "ItemReasonForFailure", "ItemReceiptConfirmationToReceiveCount", "ItemReceiptToConfirmCount", "ItemRevised", "ItemsAvailableTo", "ItemsAwaitingFeedback", "ItemsLocatedIn", "ItemSort", "ItemSpecificDetails", "ItemSpecifics", "ItemSpecificsEnabled", "ItemsPerPage", "ItemStatus", "ItemTitle", "ItemToUnsubscribe", "ItemTransactionID", "ItemTransactionIDArray", "ItemType", "JurisdictionID", "JurisdictionName", "KeepMinActive", "KeepTokenValid", "Keyword", "LastAmountPaid", "LastBidTime", "LastEmailSentTime", "LastModifiedDate", "LastModifiedTime", "LastName", "LastOpenedTime", "LastPaymentDate", "LastTimeModified", "LastUpdateTime", "LastUsedTime", "LayoutID", "LayoutTotal", "LeadCount", "LeafCategory", "LeftNav", "LegalInvoice", "Level", "LevelLimit", "LineItem", "LinkedPayPalAccount", "LinkID", "LinkToInclude", "LinkType", "ListAccordingToSchedule", "ListAtSpecificTimeOfDay", "ListedOn", "ListIfNoProduct", "ListingAnalyzerRecommendations", "ListingCheckoutRedirectPreference", "ListingDesigner", "ListingDetails", "ListingDuration", "ListingDurations", "ListingEnhancement", "ListingFeatureDetails", "ListingFlow", "ListingHoldInventoryLevel", "ListingPeriodInWeeks", "ListingRecommendations", "ListingStartPriceDetails", "ListingStatus", "ListingSubtype2", "ListingTip", "ListingTipArray", "ListingTipFieldID", "ListingTipID", "ListingTipMessageID", "ListingType", "ListTimeFrom", "ListTimeTo", "LocalListingDistance", "LocalListingDistancesNonSubscription", "LocalListingDistancesRegular", "LocalListingDistancesSpecialty", "LocalMarketAdFormatEnabled", "LocalMarketAutoAcceptEnabled", "LocalMarketAutoDeclineEnabled", "LocalMarketBestOfferEnabled", "LocalMarketCompanyNameEnabled", "LocalMarketContactByAddressEnabled", "LocalMarketContactByEmailEnabled", "LocalMarketContactByPhoneEnabled", "LocalMarketCounterOfferEnabled", "LocalMarketNonSubscription", "LocalMarketPaymentMethodCheckOutEnabled", "LocalMarketPhoneCount", "LocalMarketPremiumSubscription", "LocalMarketRegularSubscription", "LocalMarketSellerContactDetailsEnabled", "LocalMarketShippingMethodEnabled", "LocalMarketSpecialitySubscription", "LocalMarketStreetCount", "LocalPickup", "Location", "LocationDefaulted", "Logo", "LogoArray", "LogoCustomized", "LogoID", "LogoType", "LogoURL", "LogoURLSelling", "LongMessage", "LookupAttributeArray", "LostList", "LotSize", "LSD", "MadeForOutletComparisonPrice", "MailMessageType", "MappedCategoryArray", "MappedDiscountProfileID", "MappedToShippingServiceID", "MarkUpMarkDownEvent", "MarkUpMarkDownHistory", "MatchType", "MaxActiveItemCount", "MaxBid", "MaxCategories", "MaxCategoryLevels", "MaxCharactersPerName", "MaxCharactersPerValue", "MaxDepth", "MaxDistance", "MaxFlatShippingCost", "MaxFlatShippingCostCBTExempt", "MaxGranularFitmentCount", "MaximumBuyerPolicyViolations", "MaximumItemCount", "MaximumItemRequirements", "MaximumQuantity", "MaximumUnpaidItemStrikesCount", "MaximumUnpaidItemStrikesDuration", "MaximumUnpaidItemStrikesInfo", "MaxItemCompatibility", "MaxItemSpecificsPerItem", "MaxNames", "MaxNamesPerVariationSpecificsSet", "MaxPrice", "MaxResults", "MaxScheduledItems", "MaxScheduledMinutes", "MaxValues", "MaxValuesPerName", "MaxValuesPerVariationSpecificsSetName", "MaxVariationsPerItem", "MeasurementUnit", "MechanicalCheckAccepted", "MediaName", "MediaURL", "MemberMessage", "MemberMessageExchange", "MemberMessageID", "MemberURL", "Memo", "MerchandizingPref", "MerchantPickupCode", "MerchDisplay", "Message", "MessageCreationTime", "MessageID", "MessageIDs", "MessageItem", "MessageMedia", "Messages", "MessageSource", "MessageStatus", "MessageStore", "MessageStoreCustomText", "MessageText", "MessageToSeller", "MessageType", "MinActiveItemCount", "MinBuyItNowPricePercent", "MinimumAdvertisedPrice", "MinimumAdvertisedPriceExposure", "MinimumBestOfferPrice", "MinimumFeedbackScore", "MinimumRemnantSet", "MinimumReservePrice", "MinimumToBid", "MinItemCompatibility", "MinPrice", "MinScheduledMinutes", "MinValues", "MismatchAmount", "MismatchType", "Mission", "ModifyActionCode", "ModifyName", "ModifyNameList", "ModTime", "ModTimeFrom", "ModTimeTo", "MonetaryDetails", "MotorsDealer", "MotorsDealerUsers", "MotorsGermanySearchable", "MotorVehicles", "MPN", "MultiLegShippingDetails", "MultipleSellerPaymentID", "MyMaxBid", "Name", "NameColor", "NameFace", "NameRecommendation", "NameSize", "NameValueList", "NegativeFeedbackLeftCount", "NegativeFeedbackPeriodArray", "NegotiatedPrice", "NetDetailAmount", "NetInsuranceFee", "NetShippingFee", "NetTotalAmount", "NeutralCommentCountFromSuspendedUsers", "NeutralFeedbackLeftCount", "NeutralFeedbackPeriodArray", "NewAlertCount", "NewBestOffer", "NewHighPriorityCount", "NewItemFilter", "NewLeadCount", "NewMessageCount", "NewName", "NewParentFolderID", "NewUser", "NextRetryTime", "NonSubscription", "Note", "Notes", "NotesFromBuyer", "NotesToBuyer", "NotesToSeller", "NoteText", "NotificationDetails", "NotificationDetailsArray", "NotificationEnable", "NotificationPayloadType", "NotificationStatistics", "NumberOfDays", "NumberOfPolicyViolations", "NumOfReqSellerActions", "ObsoleteLayoutID", "ObsoleteThemeID", "Offer", "OfferGlobalShippingProgramPreference", "OnVacation", "Operation", "OptedIn", "OptimalPictureSize", "OptInStatus", "Order", "OrderAmount", "OrderArray", "OrderHandlingAmount", "OrderID", "OrderIDArray", "OrderLineItemID", "OrderRole", "OrdersPerPage", "OrderStatus", "OrderStatusFilter", "OrderTransaction", "OrderTransactionArray", "OriginalItemPrice", "OriginalItemShippingCost", "OriginalPrice", "OriginalRetailPrice", "OriginatingPostalCode", "ORPA", "ORRA", "OtherPartyName", "OtherPartyRole", "OutbidCount", "OutOfStockControl", "OutputSelector", "OverrideGSPserviceWithIntlService", "OverrideGSPServiceWithIntlServicePreference", "PackageDepth", "PackageID", "PackageLength", "PackageWidth", "PackagingHandlingCosts", "PageID", "PageNumber", "Pagination", "PaginationResult", "Paid", "PaidStatus", "PaidTime", "PaisaPayAlert", "PaisaPayEscrowEMIStatus", "PaisaPayFullEscrowEnabled", "PaisaPayID", "PaisaPayStatus", "ParentFolderID", "ParentMessageID", "ParentName", "ParentValue", "PastDue", "Patent", "Payee", "Payer", "PayloadVersion", "Payment", "PaymentAllowedSite", "PaymentAmount", "PaymentDetails", "PaymentEdited", "PaymentHoldDetails", "PaymentHoldReason", "PaymentHoldStatus", "PaymentInstructions", "PaymentMethod", "PaymentMethods", "PaymentMethodUsed", "PaymentOptionDetails", "PaymentOptionsGroup", "PaymentOrRefundAmount", "PaymentProfileCategoryGroup", "PaymentProfileID", "PaymentProfileName", "PaymentReferenceID", "Payments", "PaymentsPerPage", "PaymentStatus", "PaymentTime", "PaymentTimeFrom", "PaymentTimeTo", "PaymentToReceiveCount", "PaymentToSendCount", "PaymentType", "PayoutMethod", "PayoutMethodSet", "PayPalAccountLevel", "PayPalAccountStatus", "PayPalAccountType", "PayPalAlwaysOn", "PayPalBuyerProtectionEnabled", "PayPalEmailAddress", "PayPalPreferred", "PayPalRequired", "PayPalRequiredForStoreOwner", "PayPalTransactionID", "PendingRTERequestCount", "Percent", "PercentItemFound", "Performance", "Period", "PeriodicHardLimit", "PeriodicSoftLimit", "PeriodicStartDate", "PeriodicUsage", "PeriodInDays", "Phone", "Phone2", "Phone2AreaOrCityCode", "Phone2CountryCode", "Phone2CountryPrefix", "Phone2LocalNumber", "PhoneAreaOrCityCode", "PhoneCountryCode", "PhoneCountryPrefix", "PhoneLocalNumber", "PhotoDisplay", "PickupDetails", "PickupFulfillmentTime", "PickupInStoreDetails", "PickupMethod", "PickupMethodSelected", "PickupOptions", "PickupPriority", "PickupStatus", "PickupStoreID", "PictureData", "PictureDetails", "PictureFormat", "PictureHeight", "PictureName", "Pictures", "PictureSet", "PictureSetMember", "PictureSource", "PictureSystemVersion", "PictureUploadPolicy", "PictureURL", "PictureWatermark", "PictureWidth", "Platform", "PolicyID", "PolicyText", "PolicyViolationDuration", "PositiveFeedbackLeftCount", "PositiveFeedbackPercent", "PositiveFeedbackPeriodArray", "PostalCode", "PostCheckoutExperienceEnabled", "PowerSellerStatus", "PreferenceLevel", "PreferredLocation", "PremiumSubscription", "PreviewEnabled", "Price", "PriceMax", "PriceMin", "PricingRecommendations", "PricingTreatment", "Primary", "PrimaryCategory", "PrimaryCategoryID", "PrimaryScheme", "PrintedDate", "PrintedTime", "Priority", "PrivateListing", "PrivateNotes", "Product", "ProductCreationEnabled", "ProductDetailsURL", "ProductFinderBuySide", "ProductFinderID", "ProductFinderIDs", "ProductID", "ProductInfo", "ProductListingDetails", "ProductName", "ProductRecommendations", "ProductReferenceID", "ProductSearchPageAvailable", "ProductState", "ProductSuggestion", "ProductSuggestions", "ProfileID", "ProfileName", "ProfileType", "ProfitPercent", "PromotedItem", "PromotionalDiscount", "PromotionalSale", "PromotionalSaleDetails", "PromotionalSaleEndTime", "PromotionalSaleID", "PromotionalSaleItemIDArray", "PromotionalSaleName", "PromotionalSaleStartTime", "PromotionalSaleStatus", "PromotionalSaleType", "PromotionalShippingDiscount", "PromotionalShippingDiscountDetails", "PromotionMethod", "PromotionRuleArray", "PromotionViewMode", "ProPack", "ProPackEnabled", "ProPackPlusEnabled", "ProStoresPreference", "ProStoresStoreName", "ProxyItem", "PurchaseProtection", "PurchaseReminderEmailPreferences", "PurchaseTimeFrame", "QualifiedForAuctionOneDayDuration", "QualifiedForFixedPriceOneDayDuration", "QualifiesForB2BVAT", "QualifiesForBuyItNow", "QualifiesForBuyItNowMultiple", "QualifiesForSelling", "QualifiesForVariations", "Quantity", "QuantityActive", "QuantityAvailable", "QuantityAvailableHint", "QuantityBid", "QuantityInfo", "QuantityLimitRemaining", "QuantityOperator", "QuantityPurchased", "QuantityRestrictionPerBuyer", "QuantityScheduled", "QuantitySold", "QuantitySoldByPickupInStore", "QuantityThreshold", "QuantityUnsold", "QuantityWon", "Query", "QueryKeywords", "Question", "QuestionCount", "QuestionType", "QueuedNewCount", "QueuedPendingCount", "Ranking", "RateTableDetails", "Rating", "RatingCount", "RatingDetail", "Read", "Reason", "ReasonCodeDetail", "ReasonCodeID", "ReasonHideFromSearch", "ReceiveDate", "ReceivedTopRatedDiscount", "RecipientBidderUserID", "RecipientID", "RecipientPostalCode", "RecipientRelationType", "RecipientUserID", "Recommendation", "RecommendationEngine", "Recommendations", "Recommended", "RecoupmentPolicyConsent", "RecoupmentPolicyDetails", "ReduceReserveAllowed", "ReferenceID", "RefNumber", "Refund", "RefundAmount", "RefundArray", "RefundCancelledCount", "RefundCompletionTime", "RefundFailureCode", "RefundFailureReason", "RefundFromSeller", "RefundFundingSource", "RefundFundingSourceArray", "RefundID", "RefundingSourceType", "RefundInitiatedCount", "RefundLine", "RefundLineArray", "RefundMessage", "RefundOnHoldCount", "RefundOption", "RefundReason", "RefundRequestedTime", "Refunds", "RefundStatus", "RefundTime", "RefundTo", "RefundTransaction", "RefundTransactionArray", "RefundType", "Region", "RegionDetails", "RegionOfOriginDetails", "RegisteredBusinessSeller", "RegistrationAddress", "RegistrationDate", "RegularSubscription", "Relationship", "RelistAfterDays", "RelistAfterHours", "RelistAtSpecificTimeOfDay", "RelistCondition", "Relisted", "RelistedItemID", "RelistingNeededCount", "RelistLink", "RelistParentID", "RemoveAllExcludedUsers", "RemoveAllItems", "RepeatBuyerCount", "RepeatBuyerPercent", "ReplaceAll", "Replied", "ReportedItem", "ReportedItemDetails", "ReportItem", "ReportItems", "RequesterID", "RequiredSellerAction", "RequiredSellerActionArray", "RequiredShipPhoneNumberPreference", "ReserveLowered", "ReserveMet", "ReservePrice", "ReservePriceAllowed", "ReserveRemoved", "ResetDefaultSubjects", "ResolutionTime", "RespondToBestOffer", "Response", "ResponseDetails", "ResponseEnabled", "ResponseReplaced", "ResponseText", "ResponseType", "ResponseURL", "RestockAlert", "RestockingFeeValue", "RestockingFeeValueOption", "RestockThreshold", "RestrictedToBusiness", "RESTToken", "Retries", "ReturnAllSites", "ReturnDate", "ReturnedItemCountActual", "ReturnedOrderCountActual", "ReturnedPaymentCountActual", "ReturnedTransactionCountActual", "ReturnPolicy", "ReturnPolicyDetails", "ReturnPolicyEnabled", "ReturnPolicyProfileCategoryGroup", "ReturnProfileID", "ReturnProfileName", "ReturnsAccepted", "ReturnsAcceptedOption", "ReturnSearchResultOnDuplicates", "ReturnsWithin", "ReturnsWithinOption", "RevisePriceAllowed", "ReviseQuantityAllowed", "ReviseStatus", "RevocationTime", "RightsOwnerID", "Role", "RootCategoryID", "RTEToProcessCount", "RuleCurrentStatus", "RuleStatus", "RuName", "SafePaymentExempt", "SafePaymentRequired", "SaleDateRange", "SalePrice", "SaleRecord", "SaleRecordID", "SalesTax", "SalesTaxAmount", "SalesTaxPercent", "SalesTaxState", "SaleTemplateGroupID", "SaleTemplateID", "SaleTemplateName", "ScheduledDeliveryTimeMax", "ScheduledDeliveryTimeMin", "ScheduledList", "ScheduleTime", "SchedulingInfo", "Search", "SearchBox", "SearchFlag", "SearchKeywords", "SearchName", "SearchQuery", "SearchSortOrder", "SearchStanding", "SearchType", "SearchValue", "Secondary", "SecondaryCategory", "SecondChanceEligible", "SecondChanceEnabled", "SecondChanceOffer", "SecondChanceOfferCondition", "SecondChanceOfferCount", "SecondChanceOfferSent", "SecondChanceOriginalItemID", "SecretID", "SelectionMode", "Seller", "SellerAccount", "SellerBusinessType", "SellerContactBuyerByEmail", "SellerContactDetails", "SellerContactDetailsEnabled", "SellerDiscount", "SellerDiscounts", "SellereBayPaymentProcessConsent", "SellereBayPaymentProcessEnableTime", "SellereBayPaymentProcessStatus", "SellerEIASToken", "SellerEmail", "SellerExcludeShipToLocationPreferences", "SellerExcludeShipToLocationsPreference", "SellerExternalTransactionID", "SellerFavoriteItemPreferences", "SellerFeeDiscount", "SellerGuaranteeEligible", "SellerGuaranteeLevel", "SellerID", "SellerIDExclude", "SellerInfo", "SellerInventoryID", "SellerInvoiceNumber", "SellerInvoiceTime", "SellerItemRatingDetailArray", "SellerLevel", "SellerMessage", "SellerNoteToBuyer", "SellerPaidStatus", "SellerPayment", "SellerPaymentAddress", "SellerPaymentPreferences", "SellerPaymentProfile", "SellerProfileOptedIn", "SellerProfilePreferences", "SellerProfiles", "SellerProvidedTitle", "SellerProvidedTitleSupported", "SellerRatingSummaryArray", "SellerResponse", "SellerReturnPreferences", "SellerReturnProfile", "SellerRoleMetrics", "SellerShipmentToLogisticsProvider", "SellerShippingProfile", "SellerThirdPartyCheckoutDisabled", "SellerThirdPartyUsername", "SellerUserID", "SellerVacationNote", "SellingManagerFolderDetails", "SellingManagerProduct", "SellingManagerProductDetails", "SellingManagerProductInventoryStatus", "SellingManagerProductSpecifics", "SellingManagerSalesRecordNumber", "SellingManagerSoldOrder", "SellingManagerSoldTransaction", "SellingManagerTemplateDetails", "SellingManagerTemplateDetailsArray", "SellingReminders", "SellingStatus", "SellingSummary", "Sender", "SenderEmail", "SenderID", "SendToName", "ServiceType", "SessionID", "Severity", "SeverityCode", "Shipment", "ShipmentLineItem", "ShipmentTrackingDetails", "ShipmentTrackingNumber", "ShipmentTrackNumber", "Shipped", "ShippedStatus", "ShippedTime", "ShippingAddress", "ShippingCarrier", "ShippingCarrierDetails", "ShippingCarrierID", "ShippingCarrierUsed", "ShippingCategory", "ShippingCategoryDetails", "ShippingConvenienceCharge", "ShippingCost", "ShippingCostPaidBy", "ShippingCostPaidByOption", "ShippingDetails", "ShippingDetailsToBeProvidedCount", "ShippingDiscount", "ShippingDiscountAmount", "ShippingDiscountProfileID", "ShippingIncludedInTax", "ShippingInsurance", "ShippingInsuranceCost", "ShippingIrregular", "ShippingLocation", "ShippingLocationDetails", "ShippingNeededCount", "ShippingPackage", "ShippingPackageDetails", "ShippingPackageInfo", "ShippingProfileCategoryGroup", "ShippingProfileID", "ShippingProfileName", "ShippingRateErrorMessage", "ShippingRateType", "ShippingReimbursement", "ShippingService", "ShippingServiceAdditionalCost", "ShippingServiceCost", "ShippingServiceCostOverride", "ShippingServiceCostOverrideList", "ShippingServiceCutOffTime", "ShippingServiceDetails", "ShippingServiceID", "ShippingServiceOptions", "ShippingServicePackageDetails", "ShippingServicePriority", "ShippingServiceSelected", "ShippingServiceType", "ShippingServiceUsed", "ShippingSurcharge", "ShippingTermsInDescription", "ShippingTermsRequired", "ShippingTime", "ShippingTimeMax", "ShippingTimeMin", "ShippingTrackingEvent", "ShippingType", "ShipToAddress", "ShipToLocation", "ShipToLocations", "ShipToRegistrationCountry", "ShortMessage", "ShortSummary", "ShowBidderNoticePreferences", "ShowCombinedPaymentPreferences", "ShowCrossPromotionPreferences", "ShowDispatchCutoffTimePreferences", "ShowEmailShipmentTrackingNumberPreference", "ShowEndOfAuctionEmailPreferences", "ShowGlobalShippingProgramListingPreference", "ShowGlobalShippingProgramPreference", "ShowOverrideGSPServiceWithIntlServicePreference", "ShowProStoresPreferences", "ShowPurchaseReminderEmailPreferences", "ShowRequiredShipPhoneNumberPreference", "ShowSellerExcludeShipToLocationPreference", "ShowSellerFavoriteItemPreferences", "ShowSellerPaymentPreferences", "ShowSellerProfilePreferences", "ShowSellerReturnPreferences", "ShowUnpaidItemAssistanceExclusionList", "ShowUnpaidItemAssistancePreference", "SignUpForStoreNewsletter", "Site", "SiteCurrency", "SiteDefaults", "SiteDetails", "SiteHostedPictureDetails", "SiteID", "SiteWideCharacteristicSets", "SKU", "SKUArray", "SkypeContactOption", "SkypeEnabled", "SkypeID", "SkypeMeNonTransactionalEnabled", "SkypeMeTransactionalEnabled", "SMSPhone", "SMSSubscription", "SoldAlert", "SoldAsBin", "SoldDurationInDays", "SoldList", "SoldOffeBay", "SoldOn", "SoldOneBay", "Sort", "SortingOrder", "SortOrder", "Source", "SourceSaleTemplateID", "SpacingIntervalInMinutes", "SpecialitySubscription", "StandardLabel", "StandardOffset", "StartCreationTime", "StartingDisputeID", "StartPrice", "StartTime", "StartTimeFrom", "StartTimeTo", "StateOrProvince", "StaticAlias", "Status", "StockPhoto", "StockPhotoURL", "Store", "StoreCategories", "StoreCategory2ID", "StoreCategory2Name", "StoreCategoryID", "StoreCategoryName", "StoredComments", "StoredCommentText", "Storefront", "StoreID", "StoreInventoryEnabled", "StoreName", "StoreOwner", "StoreOwnerExtendedListingDurations", "StoreOwnerExtendedListingDurationsEnabled", "StorePreferences", "StoreSite", "StoreURL", "Street", "Street1", "Street2", "Subject", "SubmittedTime", "SubscribeSA", "SubscribeSAPro", "SubscribeSM", "SubscribeSMPro", "Subscription", "SubscriptionArray", "SubscriptionLevel", "SubTitle", "Subtotal", "SubtotalAmount", "SuccessPercent", "SuggestedCategory", "SuggestedCategoryArray", "SuggestedText", "Summary", "SummaryDays", "SummaryPeriod", "SummarySchedule", "SupportedSellerProfile", "SupportedSellerProfiles", "SupportedSite", "SurchargeApplicable", "TargetUser", "TargetUserID", "TaskID", "TaskReferenceID", "TaxAmount", "TaxCategory", "TaxDescription", "TaxDetails", "Taxes", "TaxJurisdiction", "TaxOnHandlingAmount", "TaxOnShippingAmount", "TaxOnSubtotalAmount", "TaxTable", "TCROriginalItemID", "Template", "TemplateID", "TemplateName", "TemplateText", "TemplateXML", "TermsAndConditions", "Text", "TextCustomized", "Theme", "ThemeGroup", "ThemeID", "ThemeTotal", "ThirdPartyCheckout", "TicketListingDetails", "Time", "TimeBid", "TimeFrom", "TimeLeft", "Timestamp", "TimeTo", "TimeZoneDetails", "TimeZoneID", "Title", "TitleColor", "TitleFace", "TitleSize", "TitleWithCompatibility", "TokenStatus", "TopRatedListing", "TopRatedProgram", "TopRatedSeller", "TopRatedSellerDetails", "Total", "TotalAlertCount", "TotalAmount", "TotalAuctionSellingValue", "TotalAvailable", "TotalBids", "TotalEmailsSent", "TotalFeedbackPeriodArray", "TotalHighPriorityCount", "TotalLeadCount", "TotalListingsWithLeads", "TotalMessageCount", "TotalNewLeadsCount", "TotalNumberOfEntries", "TotalNumberOfPages", "TotalPrice", "TotalQuantity", "TotalQuestionCount", "TotalRefundToBuyer", "TotalShippingCost", "TotalSoldCount", "TotalSoldValue", "TotalTaxAmount", "TotalWinningCost", "TotalWonCost", "TrackingID", "TrackingPartnerCode", "TradeInMake", "TradeInModel", "TradeInYear", "TradeRegistrationNumber", "Transaction", "TransactionArray", "TransactionConfirmationRequestEnabled", "TransactionID", "TransactionPercent", "TransactionPrice", "TransactionSiteID", "TransactionsPerPage", "TUVLevel", "Type", "UniqueBuyerCount", "UniqueNegativeFeedbackCount", "UniqueNeutralFeedbackCount", "UniquePositiveFeedbackCount", "UnitCost", "UnitInfo", "UnitOfMeasurement", "UnitOfMeasurementDetails", "UnitQuantity", "UnitsAvailable", "UnitType", "UnmappedCategoryArray", "UnpaidItem", "UnpaidItemAssistancePreferences", "UnpaidItemStatus", "UnresolvedAlertCount", "UnsoldList", "UnsubscribeNotification", "UnsuccessfulBidderNoticeIncludeMyItems", "UPC", "UPCIdentifierEnabled", "Updated", "UpdateReturnPolicy", "UpdateSellerInfo", "UpdateTime", "UpSellGallerySortFilter", "UpSellItemFormatSortFilter", "UpSellItemSortFilter", "UPSRateOption", "URL", "URLDetails", "URLPath", "URLType", "UseByDate", "UseFirstProduct", "User", "UserAgreementInfo", "UserAgreementURL", "UserAnonymized", "UserConsent", "UserConsentRequired", "UserData", "UserDefinedList", "UserDefinedListName", "UserDefinedLists", "UserDeliveryPreferenceArray", "UserDisplayHint", "UseRecommendedProduct", "UserID", "UserIDChanged", "UserIDLastChanged", "UserInput", "UserRole", "UserStatus", "UserSubscription", "UseStockPhotoURLAsGallery", "UseTaxTable", "USPSRateOption", "UUID", "VacationPreferences", "ValidationRules", "ValidForSellingFlow", "ValidToken", "Value", "ValueCategory", "ValueFormat", "ValueLiteral", "ValuePackEnabled", "ValueRecommendation", "ValueType", "Variation", "VariationDetails", "VariationKey", "VariationPicture", "Variations", "VariationsEnabled", "VariationSKU", "VariationSpecificName", "VariationSpecificPictureSet", "VariationSpecifics", "VariationSpecificsSet", "VariationSpecificValue", "VariationTitle", "VariationViewItemURL", "VATDetails", "VATID", "VATInsuranceFee", "VATPercent", "VATRate", "VATShippingFee", "VATSite", "VATStatus", "VATTotalAmount", "VendorContactInfo", "VendorInfo", "VendorName", "Venue", "VerifiedUser", "VerifiedUserRequirements", "VerifyEligibilityOnly", "VerifyOnly", "VeROReasonCodeDetails", "VeROReasonCodeID", "VeROReportPacketID", "VeROReportPacketStatus", "VeROSiteDetail", "Version", "ViewAllNodes", "ViewItemURL", "ViewItemURLForNaturalSearch", "VIN", "VINLink", "VINSupported", "Virtual", "VRM", "VRMLink", "VRMSupported", "WarningLevel", "WarrantyDuration", "WarrantyDurationOption", "WarrantyOffered", "WarrantyOfferedOption", "WarrantyType", "WarrantyTypeOption", "WatchCount", "WatchList", "WatchListCount", "WatchListMaximum", "WeightMajor", "WeightMinor", "WeightOff", "WeightRequired", "WinningCount", "WonCount", "WonDurationInDays", "WonList", "ZeroFeedbackScore"]; |
@@ -1,3 +0,2 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
module.exports = ["authToken", "cert", "devName", 'serviceName', 'appId', "sandbox", "raw", "debug"]; | ||
// Generated by CoffeeScript 1.9.1 | ||
module.exports = ["authToken", "cert", "devName", 'serviceName', 'appId', "sandbox", "site", "app", "raw", "perPage"]; |
307
lib/index.js
@@ -1,8 +0,6 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
var Ebay, Lazy, Q, api, async, debug, defaults, extraneous, globals, utils, _, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
// Generated by CoffeeScript 1.9.1 | ||
var Ebay, Lazy, Q, _, api, async, debug, defaults, ecjson, endpoints, extraneous, globals, o2x, request, utils, | ||
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
hasProp = {}.hasOwnProperty; | ||
_ = require('underscore'); | ||
async = require('async'); | ||
@@ -14,4 +12,14 @@ | ||
o2x = require('object-to-xml'); | ||
request = require('request-promise'); | ||
ecjson = require("ecjson"); | ||
_ = require('underscore'); | ||
Lazy = require('lazy.js'); | ||
endpoints = require('./definitions/endpoints'); | ||
globals = require('./definitions/globals'); | ||
@@ -30,11 +38,12 @@ | ||
sandbox: false, | ||
debug: false, | ||
raw: false | ||
site: 0, | ||
app: 'ebay-promised', | ||
raw: false, | ||
perPage: 100 | ||
} | ||
}; | ||
module.exports = Ebay = (function(_super) { | ||
module.exports = Ebay = (function(superClass) { | ||
extend(Ebay, superClass); | ||
__extends(Ebay, _super); | ||
Ebay.include(defaults); | ||
@@ -54,3 +63,3 @@ | ||
} | ||
this.__fields__[field] = [val]; | ||
this.__fields__[field] = val; | ||
return this; | ||
@@ -71,5 +80,3 @@ }; | ||
function Ebay() { | ||
this.client = api; | ||
this; | ||
} | ||
@@ -85,16 +92,19 @@ | ||
Ebay.prototype.pagination = function(pageNumber, entriesPerPage) { | ||
Ebay.prototype.endpoint = function() { | ||
if (!endpoints[this.serviceName()]) { | ||
throw new Error("unknown endpoint for serviceName " + (this.serviceName())); | ||
} | ||
return endpoints[this.serviceName()][this.sandbox() ? 'sandbox' : 'production']; | ||
}; | ||
Ebay.prototype.pagination = function(pageNumber) { | ||
if (pageNumber == null) { | ||
pageNumber = 1; | ||
} | ||
if (entriesPerPage == null) { | ||
entriesPerPage = 100; | ||
} | ||
return [ | ||
{ | ||
PageNumber: pageNumber | ||
}, { | ||
EntriesPerPage: entriesPerPage | ||
return { | ||
Pagination: { | ||
PageNumber: pageNumber, | ||
EntriesPerPage: this.perPage() | ||
} | ||
]; | ||
}; | ||
}; | ||
@@ -106,191 +116,104 @@ | ||
Ebay.prototype.build = function(pageNumber, perPage) { | ||
var fields, params, request; | ||
params = { | ||
authToken: this.authToken() | ||
}; | ||
Ebay.prototype.__inject__ = function(pageNumber) { | ||
var fields, listKey; | ||
fields = this.fields(); | ||
if (pageNumber) { | ||
_.extend(params, { | ||
Pagination: this.pagination(pageNumber) | ||
}); | ||
listKey = utils.getListKeyName(fields); | ||
if (listKey) { | ||
debug("listKey detected:: " + listKey); | ||
} | ||
_.extend(params, fields); | ||
request = { | ||
serviceName: this.serviceName(), | ||
opType: this.op(), | ||
cert: this.cert(), | ||
appId: this.appId(), | ||
params: params | ||
}; | ||
return request; | ||
if (listKey) { | ||
fields[listKey] = _.extend(fields[listKey], this.pagination(pageNumber)); | ||
} | ||
return fields; | ||
}; | ||
Ebay.prototype.parralelPageRequest = function(page, callback) { | ||
debug("[parralelPageRequest #" + page + "] Called " + __function + " " + __line); | ||
return this.client.ebayApiPostXmlRequest.apply(this.client, [this.build(page), callback]); | ||
Ebay.prototype.__build__ = function(pageNumber) { | ||
var body, doc, xml; | ||
if (pageNumber == null) { | ||
pageNumber = 1; | ||
} | ||
body = []; | ||
doc = {}; | ||
body.push({ | ||
RequesterCredentials: { | ||
eBayAuthToken: this.authToken() | ||
} | ||
}); | ||
body.push(this.__inject__(pageNumber)); | ||
doc['xml version="1.0" encoding="utf-8"?'] = null; | ||
doc[(this.op()) + "Request xmlns=\"urn:ebay:apis:eBLBaseComponents\""] = _.extend.apply(_, body); | ||
debug(this.endpoint()); | ||
xml = o2x(doc); | ||
return xml; | ||
}; | ||
Ebay.prototype.promisedParallel = function(page) { | ||
return Q.npost(this.client, 'ebayApiPostXmlRequest', [this.build(page)]); | ||
Ebay.prototype.__headers__ = function() { | ||
return { | ||
'X-EBAY-API-CALL-NAME': this.op(), | ||
'X-EBAY-API-COMPATIBILITY-LEVEL': '775', | ||
'X-EBAY-API-SITEID': this.site(), | ||
'X-EBAY-API-CERT-NAME': this.cert(), | ||
'X-EBAY-API-APP-NAME': this.app() | ||
}; | ||
}; | ||
Ebay.prototype.invoke = function(page) { | ||
var d, | ||
_this = this; | ||
Ebay.prototype.__request__ = function(page, cb) { | ||
var req; | ||
if (page == null) { | ||
page = 1; | ||
} | ||
d = Q.defer(); | ||
debug(">> Invoking..."); | ||
debug("[invoke] Caller " + __function + " " + __line); | ||
Q.npost(this.client, 'ebayApiPostXmlRequest', [this.build(page)]).done(function(results) { | ||
var list, pageReqs, range; | ||
if (results.Errors) { | ||
return d.reject(new Error(results.Errors.LongMessage)); | ||
} | ||
if (_this.raw()) { | ||
return d.resolve(results); | ||
} | ||
list = _this.normalizeResponse(results); | ||
if (!(list.pages && list.pages > 1)) { | ||
return d.resolve(list); | ||
} | ||
debug("Beginning pagination for " + (list.pages - 1) + " more pages"); | ||
range = list.pages > 2 ? Lazy.range(2, list.pages).value() : [2]; | ||
pageReqs = Q.all(range.map(_this.promisedParallel.bind(_this))); | ||
pageReqs.then(function(pages) { | ||
results = pages.map(function(page) { | ||
return _this.normalizeResponse(page).results; | ||
}); | ||
results.push(list.results); | ||
list.results = Lazy.ArrayLikeSequence.prototype.concat.apply(Lazy([]), results).value(); | ||
list.n = list.results.length; | ||
return d.resolve(list); | ||
}); | ||
return pageReqs.fail(function(err) { | ||
return d.reject(err); | ||
}); | ||
req = request.post({ | ||
url: this.endpoint(), | ||
body: this.__build__(page), | ||
headers: this.__headers__() | ||
}); | ||
return d.promise; | ||
}; | ||
Ebay.prototype.asyncInvoke = function() { | ||
var callback, page, | ||
_this = this; | ||
callback = _.isFunction(arguments[0]) ? arguments[0] : arguments[1]; | ||
page = _.isNumber(arguments[0]) ? arguments[0] : 1; | ||
debug(">> Invoking..."); | ||
debug("[asyncInvoke] Called " + __function + " " + __line); | ||
return Q.npost(this.client, 'ebayApiPostXmlRequest', [this.build(page)]).done(function(results) { | ||
var list, range; | ||
if (results.Errors) { | ||
return callback(new Error(results.Errors.LongMessage)); | ||
} | ||
if (_this.raw()) { | ||
return callback(null, results); | ||
} | ||
list = _this.normalizeResponse(results); | ||
if (!(list.pages && list.pages > 1)) { | ||
return callback(null, list); | ||
} | ||
debug("Beginning pagination for " + (list.pages - 1) + " more pages"); | ||
range = list.pages > 2 ? Lazy.range(2, list.pages).value() : [2]; | ||
return async.map(range, _this.parralelPageRequest.bind(_this), function(err, pages) { | ||
results = pages.map(function(page) { | ||
return _this.normalizeResponse(page).results; | ||
req.then((function(_this) { | ||
return function(res) { | ||
debug("response recieved from eBay"); | ||
return ecjson.XmlToJson(res, function(json) { | ||
return cb(null, utils.normalizeResponse.bind(_this)(json)); | ||
}); | ||
results.push(list.results); | ||
list.results = Lazy.ArrayLikeSequence.prototype.concat.apply(Lazy([]), results).value(); | ||
list.n = list.results.length; | ||
return callback(null, list); | ||
}); | ||
}; | ||
})(this)); | ||
return req["catch"](function(err) { | ||
return cb(err); | ||
}); | ||
}; | ||
Ebay.prototype.normalizeResponse = function(results) { | ||
var key, keys, _i, _len; | ||
debug("[normalizeResponse] Caller " + __function + " " + __line); | ||
for (_i = 0, _len = extraneous.length; _i < _len; _i++) { | ||
key = extraneous[_i]; | ||
delete results[key]; | ||
Ebay.prototype.invoke = function(page) { | ||
var d; | ||
if (page == null) { | ||
page = 1; | ||
} | ||
keys = Lazy(Object.keys(results)); | ||
if (keys.contains('PaginationResult') && keys.findWhere(function(key) { | ||
return key.indexOf("Array") > -1; | ||
})) { | ||
return this.parseNestedResponse(results); | ||
} else if (keys.length() === 1 && _.isArray(results[keys.value()[0]])) { | ||
return this.parseNestedResponse(results[keys.value()[0]]); | ||
} else if (keys.length() === 1) { | ||
return results[keys.value()[0]]; | ||
} else { | ||
return results; | ||
} | ||
d = Q.defer(); | ||
this.__request__(page, (function(_this) { | ||
return function(err, pageOne) { | ||
var i, pages, ref, results; | ||
if (pageOne.Errors) { | ||
return d.reject(pageOne.Errors); | ||
} | ||
if (!(pageOne.pagination && pageOne.pagination.pages > 1)) { | ||
return d.resolve(pageOne); | ||
} | ||
pages = (function() { | ||
results = []; | ||
for (var i = 2, ref = pageOne.pagination.pages; 2 <= ref ? i <= ref : i >= ref; 2 <= ref ? i++ : i--){ results.push(i); } | ||
return results; | ||
}).apply(this); | ||
debug("Beginning pagination for pages: " + (pages.join(', '))); | ||
return async.mapLimit(pages, 2, _this.__request__.bind(_this), function(err, responses) { | ||
if (err) { | ||
return d.reject(err); | ||
} | ||
pageOne.results = Lazy(pageOne.results).concat(Lazy(responses).pluck('results')).value(); | ||
debug(pageOne.pagination.n + " === " + pageOne.results.length + " ?"); | ||
return d.resolve(pageOne); | ||
}); | ||
}; | ||
})(this)); | ||
return d.promise; | ||
}; | ||
Ebay.prototype.parseNestedResponse = function(results) { | ||
var cleaned, itemContainer, keys, listKey; | ||
debug("[parseNestedResponse] Caller " + __function + " " + __line); | ||
keys = Lazy(Object.keys(results)); | ||
listKey = keys.findWhere(function(key) { | ||
return key.indexOf("Array") > -1; | ||
}); | ||
if (keys.contains('PaginationResult') && listKey) { | ||
itemContainer = Object.keys(results[listKey])[0]; | ||
cleaned = {}; | ||
if (results[listKey][itemContainer]) { | ||
cleaned.results = results[listKey][itemContainer].length ? results[listKey][itemContainer] : [results[listKey][itemContainer]]; | ||
} else { | ||
cleaned.results = []; | ||
} | ||
cleaned.pages = Number(results.PaginationResult.TotalNumberOfPages); | ||
cleaned.total = Number(results.PaginationResult.TotalNumberOfEntries); | ||
if (_.isArray(results)) { | ||
cleaned.n = cleaned.results.length; | ||
} | ||
return cleaned; | ||
} else { | ||
return results; | ||
} | ||
}; | ||
/* | ||
leakyInvoke: (page=1)-> | ||
d = Q.defer() | ||
debug ">> Invoking..." | ||
debug "[leakyInvoke] Caller #{__function} #{__line}" | ||
@client.ebayApiPostXmlRequest @build(page), (err, results)=> | ||
return d.reject new Error results.Errors.LongMessage if results.Errors | ||
return d.resolve results if @raw() | ||
list = @normalizeResponse(results) | ||
return d.resolve list unless list.pages && list.pages > 1 | ||
debug "Beginning pagination for #{list.pages-1} more pages" | ||
# Lazy.js will not autogenerate a range of 1 (ala [2]) | ||
range = if list.pages > 2 then Lazy.range(2, list.pages).value() else [2] | ||
pageReqs = Q.all range.map @promisedParallel.bind(@) | ||
pageReqs.then (pages)=> | ||
results = pages.map (page)=> @normalizeResponse(page).results | ||
results.push list.results | ||
list.results = Lazy.ArrayLikeSequence.prototype.concat.apply(Lazy([]), results).value(); | ||
list.n = list.results.length | ||
d.resolve list | ||
pageReqs.fail (err)-> | ||
d.reject err | ||
return d.promise | ||
*/ | ||
return Ebay; | ||
})(utils.Module); |
@@ -1,5 +0,13 @@ | ||
// Generated by CoffeeScript 1.4.0 | ||
var Module, exports, moduleKeywords, utils, | ||
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | ||
// Generated by CoffeeScript 1.9.1 | ||
var Lazy, Module, _, debug, extraneous, moduleKeywords, utils, | ||
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | ||
Lazy = require('lazy.js'); | ||
_ = require('underscore'); | ||
debug = require('debug')('Ebay'); | ||
extraneous = require('../definitions/extraneous'); | ||
moduleKeywords = ['extended', 'included', 'methodize']; | ||
@@ -9,3 +17,3 @@ | ||
utils.normalize = function(method) { | ||
utils.normalizeMethodName = function(method) { | ||
method = method[0].toLowerCase() + method.substring(1); | ||
@@ -16,15 +24,14 @@ return method; | ||
utils.Module = Module = (function() { | ||
function Module() {} | ||
Module.extend = function(obj) { | ||
var key, value, _ref; | ||
var key, ref, value; | ||
for (key in obj) { | ||
value = obj[key]; | ||
if (__indexOf.call(moduleKeywords, key) < 0) { | ||
if (indexOf.call(moduleKeywords, key) < 0) { | ||
this[key] = value; | ||
} | ||
} | ||
if ((_ref = obj.extended) != null) { | ||
_ref.apply(this); | ||
if ((ref = obj.extended) != null) { | ||
ref.apply(this); | ||
} | ||
@@ -35,11 +42,11 @@ return this; | ||
Module.include = function(obj) { | ||
var key, value, _ref; | ||
var key, ref, value; | ||
for (key in obj) { | ||
value = obj[key]; | ||
if (__indexOf.call(moduleKeywords, key) < 0) { | ||
if (indexOf.call(moduleKeywords, key) < 0) { | ||
this.prototype[key] = value; | ||
} | ||
} | ||
if ((_ref = obj.included) != null) { | ||
_ref.apply(this); | ||
if ((ref = obj.included) != null) { | ||
ref.apply(this); | ||
} | ||
@@ -50,7 +57,7 @@ return this; | ||
Module.methodize = function(methods, fn) { | ||
var method, _i, _len; | ||
for (_i = 0, _len = methods.length; _i < _len; _i++) { | ||
method = methods[_i]; | ||
if (__indexOf.call(moduleKeywords, method) < 0) { | ||
this.prototype[utils.normalize(method)] = fn(method); | ||
var i, len, method; | ||
for (i = 0, len = methods.length; i < len; i++) { | ||
method = methods[i]; | ||
if (indexOf.call(moduleKeywords, method) < 0) { | ||
this.prototype[utils.normalizeMethodName(method)] = fn(method); | ||
} | ||
@@ -73,2 +80,70 @@ } | ||
exports = utils; | ||
utils.firstKey = function(o) { | ||
return o[Object.keys(o)[0]]; | ||
}; | ||
utils.parsePagination = function(o) { | ||
if (!o.PaginationResult) { | ||
throw new Error("utils.parsePagination called on Object without `PaginationResult` key"); | ||
} | ||
return { | ||
pages: o.PaginationResult.TotalNumberOfPages.value, | ||
n: o.PaginationResult.TotalNumberOfEntries.value | ||
}; | ||
}; | ||
utils.getArrayKey = function(o) { | ||
var i, key, len, ref; | ||
ref = Object.keys(o); | ||
for (i = 0, len = ref.length; i < len; i++) { | ||
key = ref[i]; | ||
if (Lazy(key).contains("Array")) { | ||
return utils.firstKey(o[key]); | ||
} | ||
} | ||
}; | ||
utils.getListKey = function(o) { | ||
var i, key, len, ref; | ||
ref = Object.keys(o); | ||
for (i = 0, len = ref.length; i < len; i++) { | ||
key = ref[i]; | ||
if (Lazy(key).contains("List")) { | ||
return o[key]; | ||
} | ||
} | ||
}; | ||
utils.getListKeyName = function(o) { | ||
var i, key, len, ref; | ||
ref = Object.keys(o); | ||
for (i = 0, len = ref.length; i < len; i++) { | ||
key = ref[i]; | ||
if (Lazy(key).contains("List")) { | ||
return key; | ||
} | ||
} | ||
return null; | ||
}; | ||
utils.normalizeResponse = function(results, cb) { | ||
var arr, i, key, keys, len, list, parsed, root; | ||
parsed = {}; | ||
debug("[normalizingResponse] ..."); | ||
root = results[(this.op()) + "Response"]; | ||
keys = Lazy(Object.keys(root)); | ||
for (i = 0, len = extraneous.length; i < len; i++) { | ||
key = extraneous[i]; | ||
delete root[key]; | ||
} | ||
list = utils.getListKey(root); | ||
if (!list) { | ||
return root; | ||
} | ||
parsed.pagination = utils.parsePagination(list); | ||
arr = utils.getArrayKey(list); | ||
parsed.results = Array.isArray(arr) ? arr : [arr]; | ||
return parsed; | ||
}; | ||
module.exports = utils; |
{ | ||
"name": "ebay-promised", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "promise wrapped Ebay requests with sensible response parsers", | ||
@@ -8,7 +8,10 @@ "main": "lib/index.js", | ||
"async": "~0.2.10", | ||
"colors": "^0.6.2", | ||
"debug": "^2.1.1", | ||
"ebay-api": "~0.1.1", | ||
"ecjson": "^0.1.2", | ||
"lazy.js": "^0.3.2", | ||
"object-to-xml": "0.0.2", | ||
"q": "~1.0.1", | ||
"request": "^2.53.0", | ||
"request-promise": "^0.4.0", | ||
"underscore": "~1.6.0" | ||
@@ -15,0 +18,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
133717
18
482
10
+ Addedecjson@^0.1.2
+ Addedobject-to-xml@0.0.2
+ Addedrequest@^2.53.0
+ Addedrequest-promise@^0.4.0
+ Addedajv@6.12.6(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedbluebird@2.11.0(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddank-map@0.1.0(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedecjson@0.1.2(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedlodash@3.10.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedobject-to-xml@0.0.2(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.10.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedrequest-promise@0.4.3(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsanitizer@0.0.15(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
+ Addedxmldom@0.6.0(transitive)
- Removedcolors@^0.6.2
- Removedcolors@0.6.2(transitive)