Refactored several model/ files.
This commit is contained in:
parent
79eac5977b
commit
6496104e30
|
|
@ -48,6 +48,7 @@ import { GetBrowseNodesResource } from "./model/GetBrowseNodesResource";
|
|||
import { GetBrowseNodesResponse } from "./model/GetBrowseNodesResponse";
|
||||
import { GetItemsRequest } from "./model/GetItemsRequest";
|
||||
import { GetItemsResource } from "./model/GetItemsResource";
|
||||
import { GetVariationsResource } from "./model/GetVariationsResource";
|
||||
import { ImageSize } from "./model/ImageSize";
|
||||
import { ImageType } from "./model/ImageType";
|
||||
import { Images } from "./model/Images";
|
||||
|
|
@ -60,6 +61,8 @@ import { ManufactureInfo } from "./model/ManufactureInfo";
|
|||
import { MaxPrice } from "./model/MaxPrice";
|
||||
import { Merchant } from "./model/Merchant";
|
||||
import { MinPrice } from "./model/MinPrice";
|
||||
import { MinReviewsRating } from "./model/MinReviewsRating";
|
||||
import { MinSavingPercent } from "./model/MinSavingPercent";
|
||||
import { MultiValuedAttribute } from "./model/MultiValuedAttribute";
|
||||
import { OfferAvailability } from "./model/OfferAvailability";
|
||||
import { OfferCondition } from "./model/OfferCondition";
|
||||
|
|
@ -90,12 +93,14 @@ import { RefinementBin } from "./model/RefinementBin";
|
|||
import { RentalOfferListing } from "./model/RentalOfferListing";
|
||||
import { RentalOffers } from "./model/RentalOffers";
|
||||
import { SearchItemsRequest } from "./model/SearchItemsRequest";
|
||||
import { SearchItemsResource } from "./model/SearchItemsResource";
|
||||
import { SearchItemsResponse } from "./model/SearchItemsResponse";
|
||||
import { SearchRefinements } from "./model/SearchRefinements";
|
||||
import { SearchResult } from "./model/SearchResult";
|
||||
import { SingleBooleanValuedAttribute } from "./model/SingleBooleanValuedAttribute";
|
||||
import { SingleIntegerValuedAttribute } from "./model/SingleIntegerValuedAttribute";
|
||||
import { SingleStringValuedAttribute } from "./model/SingleStringValuedAttribute";
|
||||
import { SortBy } from "./model/SortBy";
|
||||
import { TechnicalInfo } from "./model/TechnicalInfo";
|
||||
import { TradeInInfo } from "./model/TradeInInfo";
|
||||
import { TradeInPrice } from "./model/TradeInPrice";
|
||||
|
|
|
|||
|
|
@ -337,6 +337,7 @@ export class GetItemsResource {
|
|||
const self = this;
|
||||
Object.keys(GetItemsResourceValues).forEach((key: string) => self[key] = GetItemsResource[key]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a <code>GetItemsResource</code> enum value from a Javascript object name.
|
||||
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
||||
|
|
|
|||
|
|
@ -21,351 +21,341 @@
|
|||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['ApiClient'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
module.exports = factory(require('../ApiClient'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
if (!root.ProductAdvertisingAPIv1) {
|
||||
root.ProductAdvertisingAPIv1 = {};
|
||||
}
|
||||
root.ProductAdvertisingAPIv1.GetVariationsResource = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||
}
|
||||
}(this, function(ApiClient) {
|
||||
'use strict';
|
||||
|
||||
|
||||
/**
|
||||
* Enum class GetVariationsResource.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
*/
|
||||
export const GetVariationsResourceValues = {
|
||||
/**
|
||||
* Enum class GetVariationsResource.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
* value: "BrowseNodeInfo.BrowseNodes"
|
||||
* @const
|
||||
*/
|
||||
var exports = {
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes": "BrowseNodeInfo.BrowseNodes",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.Ancestor"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.Ancestor": "BrowseNodeInfo.BrowseNodes.Ancestor",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.SalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.SalesRank": "BrowseNodeInfo.BrowseNodes.SalesRank",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.WebsiteSalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.WebsiteSalesRank": "BrowseNodeInfo.WebsiteSalesRank",
|
||||
/**
|
||||
* value: "CustomerReviews.Count"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.Count": "CustomerReviews.Count",
|
||||
/**
|
||||
* value: "CustomerReviews.StarRating"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.StarRating": "CustomerReviews.StarRating",
|
||||
/**
|
||||
* value: "Images.Primary.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Small": "Images.Primary.Small",
|
||||
/**
|
||||
* value: "Images.Primary.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Medium": "Images.Primary.Medium",
|
||||
/**
|
||||
* value: "Images.Primary.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Large": "Images.Primary.Large",
|
||||
/**
|
||||
* value: "Images.Variants.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Small": "Images.Variants.Small",
|
||||
/**
|
||||
* value: "Images.Variants.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Medium": "Images.Variants.Medium",
|
||||
/**
|
||||
* value: "Images.Variants.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Large": "Images.Variants.Large",
|
||||
/**
|
||||
* value: "ItemInfo.ByLineInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ByLineInfo": "ItemInfo.ByLineInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentInfo": "ItemInfo.ContentInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentRating"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentRating": "ItemInfo.ContentRating",
|
||||
/**
|
||||
* value: "ItemInfo.Classifications"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Classifications": "ItemInfo.Classifications",
|
||||
/**
|
||||
* value: "ItemInfo.ExternalIds"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ExternalIds": "ItemInfo.ExternalIds",
|
||||
/**
|
||||
* value: "ItemInfo.Features"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Features": "ItemInfo.Features",
|
||||
/**
|
||||
* value: "ItemInfo.ManufactureInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ManufactureInfo": "ItemInfo.ManufactureInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ProductInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ProductInfo": "ItemInfo.ProductInfo",
|
||||
/**
|
||||
* value: "ItemInfo.TechnicalInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TechnicalInfo": "ItemInfo.TechnicalInfo",
|
||||
/**
|
||||
* value: "ItemInfo.Title"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Title": "ItemInfo.Title",
|
||||
/**
|
||||
* value: "ItemInfo.TradeInInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TradeInInfo": "ItemInfo.TradeInInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MaxOrderQuantity": "Offers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Message": "Offers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MinOrderQuantity": "Offers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Type": "Offers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition": "Offers.Listings.Condition",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.ConditionNote": "Offers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.SubCondition": "Offers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsAmazonFulfilled": "Offers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsFreeShippingEligible": "Offers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsPrimeEligible": "Offers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.ShippingCharges": "Offers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "Offers.Listings.IsBuyBoxWinner"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.IsBuyBoxWinner": "Offers.Listings.IsBuyBoxWinner",
|
||||
/**
|
||||
* value: "Offers.Listings.LoyaltyPoints.Points"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.LoyaltyPoints.Points": "Offers.Listings.LoyaltyPoints.Points",
|
||||
/**
|
||||
* value: "Offers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.MerchantInfo": "Offers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Price"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Price": "Offers.Listings.Price",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimeExclusive"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimeExclusive": "Offers.Listings.ProgramEligibility.IsPrimeExclusive",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimePantry"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimePantry": "Offers.Listings.ProgramEligibility.IsPrimePantry",
|
||||
/**
|
||||
* value: "Offers.Listings.Promotions"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Promotions": "Offers.Listings.Promotions",
|
||||
/**
|
||||
* value: "Offers.Listings.SavingBasis"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.SavingBasis": "Offers.Listings.SavingBasis",
|
||||
/**
|
||||
* value: "Offers.Summaries.HighestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.HighestPrice": "Offers.Summaries.HighestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.LowestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.LowestPrice": "Offers.Summaries.LowestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.OfferCount"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.OfferCount": "Offers.Summaries.OfferCount",
|
||||
/**
|
||||
* value: "ParentASIN"
|
||||
* @const
|
||||
*/
|
||||
"ParentASIN": "ParentASIN",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MaxOrderQuantity": "RentalOffers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Message": "RentalOffers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MinOrderQuantity": "RentalOffers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Type": "RentalOffers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.BasePrice"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.BasePrice": "RentalOffers.Listings.BasePrice",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition": "RentalOffers.Listings.Condition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.ConditionNote": "RentalOffers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.SubCondition": "RentalOffers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled": "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible": "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsPrimeEligible": "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.ShippingCharges": "RentalOffers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.MerchantInfo": "RentalOffers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "VariationSummary.Price.HighestPrice"
|
||||
* @const
|
||||
*/
|
||||
"VariationSummary.Price.HighestPrice": "VariationSummary.Price.HighestPrice",
|
||||
/**
|
||||
* value: "VariationSummary.Price.LowestPrice"
|
||||
* @const
|
||||
*/
|
||||
"VariationSummary.Price.LowestPrice": "VariationSummary.Price.LowestPrice",
|
||||
/**
|
||||
* value: "VariationSummary.VariationDimension"
|
||||
* @const
|
||||
*/
|
||||
"VariationSummary.VariationDimension": "VariationSummary.VariationDimension" };
|
||||
"BrowseNodeInfo.BrowseNodes": "BrowseNodeInfo.BrowseNodes",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.Ancestor"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.Ancestor": "BrowseNodeInfo.BrowseNodes.Ancestor",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.SalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.SalesRank": "BrowseNodeInfo.BrowseNodes.SalesRank",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.WebsiteSalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.WebsiteSalesRank": "BrowseNodeInfo.WebsiteSalesRank",
|
||||
/**
|
||||
* value: "CustomerReviews.Count"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.Count": "CustomerReviews.Count",
|
||||
/**
|
||||
* value: "CustomerReviews.StarRating"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.StarRating": "CustomerReviews.StarRating",
|
||||
/**
|
||||
* value: "Images.Primary.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Small": "Images.Primary.Small",
|
||||
/**
|
||||
* value: "Images.Primary.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Medium": "Images.Primary.Medium",
|
||||
/**
|
||||
* value: "Images.Primary.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Large": "Images.Primary.Large",
|
||||
/**
|
||||
* value: "Images.Variants.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Small": "Images.Variants.Small",
|
||||
/**
|
||||
* value: "Images.Variants.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Medium": "Images.Variants.Medium",
|
||||
/**
|
||||
* value: "Images.Variants.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Large": "Images.Variants.Large",
|
||||
/**
|
||||
* value: "ItemInfo.ByLineInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ByLineInfo": "ItemInfo.ByLineInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentInfo": "ItemInfo.ContentInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentRating"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentRating": "ItemInfo.ContentRating",
|
||||
/**
|
||||
* value: "ItemInfo.Classifications"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Classifications": "ItemInfo.Classifications",
|
||||
/**
|
||||
* value: "ItemInfo.ExternalIds"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ExternalIds": "ItemInfo.ExternalIds",
|
||||
/**
|
||||
* value: "ItemInfo.Features"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Features": "ItemInfo.Features",
|
||||
/**
|
||||
* value: "ItemInfo.ManufactureInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ManufactureInfo": "ItemInfo.ManufactureInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ProductInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ProductInfo": "ItemInfo.ProductInfo",
|
||||
/**
|
||||
* value: "ItemInfo.TechnicalInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TechnicalInfo": "ItemInfo.TechnicalInfo",
|
||||
/**
|
||||
* value: "ItemInfo.Title"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Title": "ItemInfo.Title",
|
||||
/**
|
||||
* value: "ItemInfo.TradeInInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TradeInInfo": "ItemInfo.TradeInInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MaxOrderQuantity": "Offers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Message": "Offers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MinOrderQuantity": "Offers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Type": "Offers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition": "Offers.Listings.Condition",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.ConditionNote": "Offers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.SubCondition": "Offers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsAmazonFulfilled": "Offers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsFreeShippingEligible": "Offers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsPrimeEligible": "Offers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.ShippingCharges": "Offers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "Offers.Listings.IsBuyBoxWinner"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.IsBuyBoxWinner": "Offers.Listings.IsBuyBoxWinner",
|
||||
/**
|
||||
* value: "Offers.Listings.LoyaltyPoints.Points"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.LoyaltyPoints.Points": "Offers.Listings.LoyaltyPoints.Points",
|
||||
/**
|
||||
* value: "Offers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.MerchantInfo": "Offers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Price"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Price": "Offers.Listings.Price",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimeExclusive"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimeExclusive": "Offers.Listings.ProgramEligibility.IsPrimeExclusive",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimePantry"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimePantry": "Offers.Listings.ProgramEligibility.IsPrimePantry",
|
||||
/**
|
||||
* value: "Offers.Listings.Promotions"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Promotions": "Offers.Listings.Promotions",
|
||||
/**
|
||||
* value: "Offers.Listings.SavingBasis"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.SavingBasis": "Offers.Listings.SavingBasis",
|
||||
/**
|
||||
* value: "Offers.Summaries.HighestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.HighestPrice": "Offers.Summaries.HighestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.LowestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.LowestPrice": "Offers.Summaries.LowestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.OfferCount"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.OfferCount": "Offers.Summaries.OfferCount",
|
||||
/**
|
||||
* value: "ParentASIN"
|
||||
* @const
|
||||
*/
|
||||
"ParentASIN": "ParentASIN",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MaxOrderQuantity": "RentalOffers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Message": "RentalOffers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MinOrderQuantity": "RentalOffers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Type": "RentalOffers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.BasePrice"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.BasePrice": "RentalOffers.Listings.BasePrice",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition": "RentalOffers.Listings.Condition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.ConditionNote": "RentalOffers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.SubCondition": "RentalOffers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled": "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible": "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsPrimeEligible": "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.ShippingCharges": "RentalOffers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.MerchantInfo": "RentalOffers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "VariationSummary.Price.HighestPrice"
|
||||
* @const
|
||||
*/
|
||||
"VariationSummary.Price.HighestPrice": "VariationSummary.Price.HighestPrice",
|
||||
/**
|
||||
* value: "VariationSummary.Price.LowestPrice"
|
||||
* @const
|
||||
*/
|
||||
"VariationSummary.Price.LowestPrice": "VariationSummary.Price.LowestPrice",
|
||||
/**
|
||||
* value: "VariationSummary.VariationDimension"
|
||||
* @const
|
||||
*/
|
||||
"VariationSummary.VariationDimension": "VariationSummary.VariationDimension"
|
||||
};
|
||||
|
||||
/**
|
||||
* Enum class GetVariationsResource.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
*/
|
||||
export class GetVariationsResource {
|
||||
[key: string]: any;
|
||||
|
||||
public constructor() {
|
||||
const self = this;
|
||||
Object.keys(GetVariationsResourceValues).forEach((key: string) => self[key] = GetVariationsResourceValues[key]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a <code>GetVariationsResource</code> enum value from a Javascript object name.
|
||||
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
||||
* @return {module:model/GetVariationsResource} The enum <code>GetVariationsResource</code> value.
|
||||
*/
|
||||
exports.constructFromObject = function(object) {
|
||||
return object;
|
||||
}
|
||||
|
||||
return exports;
|
||||
}));
|
||||
|
||||
|
||||
public static constructFromObject(object: any) { return object; }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,42 +21,18 @@
|
|||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['ApiClient'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
module.exports = factory(require('../ApiClient'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
if (!root.ProductAdvertisingAPIv1) {
|
||||
root.ProductAdvertisingAPIv1 = {};
|
||||
}
|
||||
root.ProductAdvertisingAPIv1.MinReviewsRating = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||
}
|
||||
}(this, function(ApiClient) {
|
||||
'use strict';
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* The MinReviewsRating model module.
|
||||
* @module model/MinReviewsRating
|
||||
* @version 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Constructs a new <code>MinReviewsRating</code>.
|
||||
* @alias module:model/MinReviewsRating
|
||||
* @class
|
||||
*/
|
||||
var exports = function() {
|
||||
var _this = this;
|
||||
|
||||
};
|
||||
/**
|
||||
* The MinReviewsRating model module.
|
||||
* @module model/MinReviewsRating
|
||||
* @version 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Constructs a new <code>MinReviewsRating</code>.
|
||||
* @alias module:model/MinReviewsRating
|
||||
* @class
|
||||
*/
|
||||
export class MinReviewsRating {
|
||||
/**
|
||||
* Constructs a <code>MinReviewsRating</code> from a plain JavaScript object, optionally creating a new instance.
|
||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
||||
|
|
@ -64,14 +40,5 @@
|
|||
* @param {module:model/MinReviewsRating} obj Optional instance to populate.
|
||||
* @return {module:model/MinReviewsRating} The populated <code>MinReviewsRating</code> instance.
|
||||
*/
|
||||
exports.constructFromObject = function(data, obj) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return exports;
|
||||
}));
|
||||
|
||||
|
||||
public static constructFromObject(data: any, _obj?: MinReviewsRating) { return data; }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,42 +21,18 @@
|
|||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['ApiClient'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
module.exports = factory(require('../ApiClient'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
if (!root.ProductAdvertisingAPIv1) {
|
||||
root.ProductAdvertisingAPIv1 = {};
|
||||
}
|
||||
root.ProductAdvertisingAPIv1.MinSavingPercent = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||
}
|
||||
}(this, function(ApiClient) {
|
||||
'use strict';
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* The MinSavingPercent model module.
|
||||
* @module model/MinSavingPercent
|
||||
* @version 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Constructs a new <code>MinSavingPercent</code>.
|
||||
* @alias module:model/MinSavingPercent
|
||||
* @class
|
||||
*/
|
||||
var exports = function() {
|
||||
var _this = this;
|
||||
|
||||
};
|
||||
/**
|
||||
* The MinSavingPercent model module.
|
||||
* @module model/MinSavingPercent
|
||||
* @version 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Constructs a new <code>MinSavingPercent</code>.
|
||||
* @alias module:model/MinSavingPercent
|
||||
* @class
|
||||
*/
|
||||
export class MinSavingPercent {
|
||||
/**
|
||||
* Constructs a <code>MinSavingPercent</code> from a plain JavaScript object, optionally creating a new instance.
|
||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
||||
|
|
@ -64,14 +40,5 @@
|
|||
* @param {module:model/MinSavingPercent} obj Optional instance to populate.
|
||||
* @return {module:model/MinSavingPercent} The populated <code>MinSavingPercent</code> instance.
|
||||
*/
|
||||
exports.constructFromObject = function(data, obj) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return exports;
|
||||
}));
|
||||
|
||||
|
||||
public static constructFromObject(data: any, _obj?: MinSavingPercent) { return data; }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,341 +21,326 @@
|
|||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['ApiClient'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
module.exports = factory(require('../ApiClient'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
if (!root.ProductAdvertisingAPIv1) {
|
||||
root.ProductAdvertisingAPIv1 = {};
|
||||
}
|
||||
root.ProductAdvertisingAPIv1.SearchItemsResource = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||
}
|
||||
}(this, function(ApiClient) {
|
||||
'use strict';
|
||||
|
||||
|
||||
/**
|
||||
* Enum class SearchItemsResource.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
*/
|
||||
export const SearchItemsResourceValues = {
|
||||
/**
|
||||
* Enum class SearchItemsResource.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
* value: "BrowseNodeInfo.BrowseNodes"
|
||||
* @const
|
||||
*/
|
||||
var exports = {
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes": "BrowseNodeInfo.BrowseNodes",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.Ancestor"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.Ancestor": "BrowseNodeInfo.BrowseNodes.Ancestor",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.SalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.SalesRank": "BrowseNodeInfo.BrowseNodes.SalesRank",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.WebsiteSalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.WebsiteSalesRank": "BrowseNodeInfo.WebsiteSalesRank",
|
||||
/**
|
||||
* value: "CustomerReviews.Count"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.Count": "CustomerReviews.Count",
|
||||
/**
|
||||
* value: "CustomerReviews.StarRating"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.StarRating": "CustomerReviews.StarRating",
|
||||
/**
|
||||
* value: "Images.Primary.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Small": "Images.Primary.Small",
|
||||
/**
|
||||
* value: "Images.Primary.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Medium": "Images.Primary.Medium",
|
||||
/**
|
||||
* value: "Images.Primary.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Large": "Images.Primary.Large",
|
||||
/**
|
||||
* value: "Images.Variants.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Small": "Images.Variants.Small",
|
||||
/**
|
||||
* value: "Images.Variants.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Medium": "Images.Variants.Medium",
|
||||
/**
|
||||
* value: "Images.Variants.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Large": "Images.Variants.Large",
|
||||
/**
|
||||
* value: "ItemInfo.ByLineInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ByLineInfo": "ItemInfo.ByLineInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentInfo": "ItemInfo.ContentInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentRating"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentRating": "ItemInfo.ContentRating",
|
||||
/**
|
||||
* value: "ItemInfo.Classifications"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Classifications": "ItemInfo.Classifications",
|
||||
/**
|
||||
* value: "ItemInfo.ExternalIds"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ExternalIds": "ItemInfo.ExternalIds",
|
||||
/**
|
||||
* value: "ItemInfo.Features"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Features": "ItemInfo.Features",
|
||||
/**
|
||||
* value: "ItemInfo.ManufactureInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ManufactureInfo": "ItemInfo.ManufactureInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ProductInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ProductInfo": "ItemInfo.ProductInfo",
|
||||
/**
|
||||
* value: "ItemInfo.TechnicalInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TechnicalInfo": "ItemInfo.TechnicalInfo",
|
||||
/**
|
||||
* value: "ItemInfo.Title"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Title": "ItemInfo.Title",
|
||||
/**
|
||||
* value: "ItemInfo.TradeInInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TradeInInfo": "ItemInfo.TradeInInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MaxOrderQuantity": "Offers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Message": "Offers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MinOrderQuantity": "Offers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Type": "Offers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition": "Offers.Listings.Condition",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.ConditionNote": "Offers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.SubCondition": "Offers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsAmazonFulfilled": "Offers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsFreeShippingEligible": "Offers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsPrimeEligible": "Offers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.ShippingCharges": "Offers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "Offers.Listings.IsBuyBoxWinner"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.IsBuyBoxWinner": "Offers.Listings.IsBuyBoxWinner",
|
||||
/**
|
||||
* value: "Offers.Listings.LoyaltyPoints.Points"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.LoyaltyPoints.Points": "Offers.Listings.LoyaltyPoints.Points",
|
||||
/**
|
||||
* value: "Offers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.MerchantInfo": "Offers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Price"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Price": "Offers.Listings.Price",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimeExclusive"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimeExclusive": "Offers.Listings.ProgramEligibility.IsPrimeExclusive",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimePantry"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimePantry": "Offers.Listings.ProgramEligibility.IsPrimePantry",
|
||||
/**
|
||||
* value: "Offers.Listings.Promotions"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Promotions": "Offers.Listings.Promotions",
|
||||
/**
|
||||
* value: "Offers.Listings.SavingBasis"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.SavingBasis": "Offers.Listings.SavingBasis",
|
||||
/**
|
||||
* value: "Offers.Summaries.HighestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.HighestPrice": "Offers.Summaries.HighestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.LowestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.LowestPrice": "Offers.Summaries.LowestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.OfferCount"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.OfferCount": "Offers.Summaries.OfferCount",
|
||||
/**
|
||||
* value: "ParentASIN"
|
||||
* @const
|
||||
*/
|
||||
"ParentASIN": "ParentASIN",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MaxOrderQuantity": "RentalOffers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Message": "RentalOffers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MinOrderQuantity": "RentalOffers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Type": "RentalOffers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.BasePrice"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.BasePrice": "RentalOffers.Listings.BasePrice",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition": "RentalOffers.Listings.Condition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.ConditionNote": "RentalOffers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.SubCondition": "RentalOffers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled": "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible": "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsPrimeEligible": "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.ShippingCharges": "RentalOffers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.MerchantInfo": "RentalOffers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "SearchRefinements"
|
||||
* @const
|
||||
*/
|
||||
"SearchRefinements": "SearchRefinements" };
|
||||
"BrowseNodeInfo.BrowseNodes": "BrowseNodeInfo.BrowseNodes",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.Ancestor"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.Ancestor": "BrowseNodeInfo.BrowseNodes.Ancestor",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.BrowseNodes.SalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.BrowseNodes.SalesRank": "BrowseNodeInfo.BrowseNodes.SalesRank",
|
||||
/**
|
||||
* value: "BrowseNodeInfo.WebsiteSalesRank"
|
||||
* @const
|
||||
*/
|
||||
"BrowseNodeInfo.WebsiteSalesRank": "BrowseNodeInfo.WebsiteSalesRank",
|
||||
/**
|
||||
* value: "CustomerReviews.Count"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.Count": "CustomerReviews.Count",
|
||||
/**
|
||||
* value: "CustomerReviews.StarRating"
|
||||
* @const
|
||||
*/
|
||||
"CustomerReviews.StarRating": "CustomerReviews.StarRating",
|
||||
/**
|
||||
* value: "Images.Primary.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Small": "Images.Primary.Small",
|
||||
/**
|
||||
* value: "Images.Primary.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Medium": "Images.Primary.Medium",
|
||||
/**
|
||||
* value: "Images.Primary.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Primary.Large": "Images.Primary.Large",
|
||||
/**
|
||||
* value: "Images.Variants.Small"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Small": "Images.Variants.Small",
|
||||
/**
|
||||
* value: "Images.Variants.Medium"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Medium": "Images.Variants.Medium",
|
||||
/**
|
||||
* value: "Images.Variants.Large"
|
||||
* @const
|
||||
*/
|
||||
"Images.Variants.Large": "Images.Variants.Large",
|
||||
/**
|
||||
* value: "ItemInfo.ByLineInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ByLineInfo": "ItemInfo.ByLineInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentInfo": "ItemInfo.ContentInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ContentRating"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ContentRating": "ItemInfo.ContentRating",
|
||||
/**
|
||||
* value: "ItemInfo.Classifications"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Classifications": "ItemInfo.Classifications",
|
||||
/**
|
||||
* value: "ItemInfo.ExternalIds"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ExternalIds": "ItemInfo.ExternalIds",
|
||||
/**
|
||||
* value: "ItemInfo.Features"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Features": "ItemInfo.Features",
|
||||
/**
|
||||
* value: "ItemInfo.ManufactureInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ManufactureInfo": "ItemInfo.ManufactureInfo",
|
||||
/**
|
||||
* value: "ItemInfo.ProductInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.ProductInfo": "ItemInfo.ProductInfo",
|
||||
/**
|
||||
* value: "ItemInfo.TechnicalInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TechnicalInfo": "ItemInfo.TechnicalInfo",
|
||||
/**
|
||||
* value: "ItemInfo.Title"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.Title": "ItemInfo.Title",
|
||||
/**
|
||||
* value: "ItemInfo.TradeInInfo"
|
||||
* @const
|
||||
*/
|
||||
"ItemInfo.TradeInInfo": "ItemInfo.TradeInInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MaxOrderQuantity": "Offers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Message": "Offers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.MinOrderQuantity": "Offers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "Offers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Availability.Type": "Offers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition": "Offers.Listings.Condition",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.ConditionNote": "Offers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "Offers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Condition.SubCondition": "Offers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsAmazonFulfilled": "Offers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsFreeShippingEligible": "Offers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.IsPrimeEligible": "Offers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "Offers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.DeliveryInfo.ShippingCharges": "Offers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "Offers.Listings.IsBuyBoxWinner"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.IsBuyBoxWinner": "Offers.Listings.IsBuyBoxWinner",
|
||||
/**
|
||||
* value: "Offers.Listings.LoyaltyPoints.Points"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.LoyaltyPoints.Points": "Offers.Listings.LoyaltyPoints.Points",
|
||||
/**
|
||||
* value: "Offers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.MerchantInfo": "Offers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "Offers.Listings.Price"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Price": "Offers.Listings.Price",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimeExclusive"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimeExclusive": "Offers.Listings.ProgramEligibility.IsPrimeExclusive",
|
||||
/**
|
||||
* value: "Offers.Listings.ProgramEligibility.IsPrimePantry"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.ProgramEligibility.IsPrimePantry": "Offers.Listings.ProgramEligibility.IsPrimePantry",
|
||||
/**
|
||||
* value: "Offers.Listings.Promotions"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.Promotions": "Offers.Listings.Promotions",
|
||||
/**
|
||||
* value: "Offers.Listings.SavingBasis"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Listings.SavingBasis": "Offers.Listings.SavingBasis",
|
||||
/**
|
||||
* value: "Offers.Summaries.HighestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.HighestPrice": "Offers.Summaries.HighestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.LowestPrice"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.LowestPrice": "Offers.Summaries.LowestPrice",
|
||||
/**
|
||||
* value: "Offers.Summaries.OfferCount"
|
||||
* @const
|
||||
*/
|
||||
"Offers.Summaries.OfferCount": "Offers.Summaries.OfferCount",
|
||||
/**
|
||||
* value: "ParentASIN"
|
||||
* @const
|
||||
*/
|
||||
"ParentASIN": "ParentASIN",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MaxOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MaxOrderQuantity": "RentalOffers.Listings.Availability.MaxOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Message"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Message": "RentalOffers.Listings.Availability.Message",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.MinOrderQuantity"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.MinOrderQuantity": "RentalOffers.Listings.Availability.MinOrderQuantity",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Availability.Type"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Availability.Type": "RentalOffers.Listings.Availability.Type",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.BasePrice"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.BasePrice": "RentalOffers.Listings.BasePrice",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition": "RentalOffers.Listings.Condition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.ConditionNote"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.ConditionNote": "RentalOffers.Listings.Condition.ConditionNote",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.Condition.SubCondition"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.Condition.SubCondition": "RentalOffers.Listings.Condition.SubCondition",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled": "RentalOffers.Listings.DeliveryInfo.IsAmazonFulfilled",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible": "RentalOffers.Listings.DeliveryInfo.IsFreeShippingEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.IsPrimeEligible": "RentalOffers.Listings.DeliveryInfo.IsPrimeEligible",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.DeliveryInfo.ShippingCharges"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.DeliveryInfo.ShippingCharges": "RentalOffers.Listings.DeliveryInfo.ShippingCharges",
|
||||
/**
|
||||
* value: "RentalOffers.Listings.MerchantInfo"
|
||||
* @const
|
||||
*/
|
||||
"RentalOffers.Listings.MerchantInfo": "RentalOffers.Listings.MerchantInfo",
|
||||
/**
|
||||
* value: "SearchRefinements"
|
||||
* @const
|
||||
*/
|
||||
"SearchRefinements": "SearchRefinements"
|
||||
};
|
||||
|
||||
export class SearchItemsResource {
|
||||
[key: string]: any;
|
||||
|
||||
public constructor() {
|
||||
const self = this;
|
||||
Object.keys(SearchItemsResourceValues).forEach((key: string) => self[key] = SearchItemsResourceValues[key]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a <code>SearchItemsResource</code> enum value from a Javascript object name.
|
||||
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
||||
* @return {module:model/SearchItemsResource} The enum <code>SearchItemsResource</code> value.
|
||||
*/
|
||||
exports.constructFromObject = function(object) {
|
||||
return object;
|
||||
}
|
||||
|
||||
return exports;
|
||||
}));
|
||||
|
||||
|
||||
public static constructFromObject(object: any) { return object; }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,30 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['ApiClient'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports, like Node.
|
||||
module.exports = factory(require('../ApiClient'));
|
||||
} else {
|
||||
// Browser globals (root is window)
|
||||
if (!root.ProductAdvertisingAPIv1) {
|
||||
root.ProductAdvertisingAPIv1 = {};
|
||||
}
|
||||
root.ProductAdvertisingAPIv1.SortBy = factory(root.ProductAdvertisingAPIv1.ApiClient);
|
||||
}
|
||||
}(this, function(ApiClient) {
|
||||
'use strict';
|
||||
|
||||
|
||||
/**
|
||||
* Enum class SortBy.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
*/
|
||||
var exports = {
|
||||
/**
|
||||
* Enum class SortBy.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
*/
|
||||
export const SortByValues = {
|
||||
/**
|
||||
* value: "AvgCustomerReviews"
|
||||
* @const
|
||||
|
|
@ -74,18 +56,26 @@
|
|||
* value: "Relevance"
|
||||
* @const
|
||||
*/
|
||||
"Relevance": "Relevance" };
|
||||
"Relevance": "Relevance",
|
||||
};
|
||||
|
||||
/**
|
||||
* Enum class SortBy.
|
||||
* @enum {}
|
||||
* @readonly
|
||||
*/
|
||||
export class SortBy {
|
||||
[key: string]: any;
|
||||
|
||||
public constructor() {
|
||||
const self = this;
|
||||
Object.keys(SortByValues).forEach((key: string) => self[key] = SortByValues[key]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a <code>SortBy</code> enum value from a Javascript object name.
|
||||
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
||||
* @return {module:model/SortBy} The enum <code>SortBy</code> value.
|
||||
*/
|
||||
exports.constructFromObject = function(object) {
|
||||
return object;
|
||||
}
|
||||
|
||||
return exports;
|
||||
}));
|
||||
|
||||
|
||||
public static constructFromObject(object: any) { return object; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user