{"version":3,"file":"static/js/ee395b88dffb8e587058.bundle.js","mappings":"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","sources":["webpack://henrys-ecommerce/./src/actions/DataServiceEntities.g.ts?6c17","webpack://henrys-ecommerce/./src/actions/DataActionExtension.g.ts?ff78"],"sourcesContent":["// @ts-ignore -- Unused import\r\nimport * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\nimport * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\n// @ts-ignore -- Unused import\r\nimport { jsonLightReadStringPropertyValue } from '@msdyn365-commerce/retail-proxy/dist/externals';\r\n\r\n/**\r\n * NetworkInventoryAvailableQuantity entity interface.\r\n */\r\nexport interface INetworkInventoryAvailableQuantity {\r\n BundleId: number;\r\n PhysicalInventory: number;\r\n PhysicalReserved: number;\r\n PhysicalAvailable: number;\r\n OrderedInTotal: number;\r\n TotalAvailable: number;\r\n UnprocessedQuantity: number;\r\n ProductId: number;\r\n LocationId?: string;\r\n IsShippingLocation: boolean;\r\n InventCheck: boolean;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * FlexitiTransactions entity interface.\r\n */\r\nexport interface IFlexitiTransactions {\r\n term?: string;\r\n transactionId: string;\r\n transactionStatus?: string;\r\n customerName?: string;\r\n transactionBalance?: string;\r\n transactionDate?: string;\r\n}\r\n\r\n/**\r\n * MfrCodeClass entity interface.\r\n */\r\nexport interface IMfrCodeClass {\r\n Product: number;\r\n ExternalItemId?: string;\r\n ItemId?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * NetworkInventoryLabelInput entity interface.\r\n */\r\nexport interface INetworkInventoryLabelInput {\r\n RecId: number;\r\n Quantity: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * NetworkInventoryLabel entity interface.\r\n */\r\nexport interface INetworkInventoryLabel {\r\n RecId: number;\r\n UpperBoundInclusive: number;\r\n Label?: string;\r\n LanguageId?: string;\r\n Txt?: string;\r\n ProductId: number;\r\n Code?: string;\r\n Quantity: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * CustomerSignature entity interface.\r\n */\r\nexport interface ICustomerSignature {\r\n Succeed: boolean;\r\n Id: number;\r\n ErrorCode?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * SignItem entity interface.\r\n */\r\nexport interface ISignItem {\r\n ItemId?: string;\r\n Description?: string;\r\n Price: number;\r\n}\r\n\r\n/**\r\n * DemoStore entity interface.\r\n */\r\nexport interface IDemoStore {\r\n Store?: string;\r\n StoreLocationId?: string;\r\n DefaultCustAccount?: string;\r\n}\r\n\r\n/**\r\n * FlexitiPaymentCustomer entity interface.\r\n */\r\nexport interface IFlexitiPaymentCustomer {\r\n transactionStatus?: string;\r\n FirstName?: string;\r\n LastName?: string;\r\n PostalCode?: string;\r\n Birthday?: string;\r\n}\r\n\r\n/**\r\n * ProductAttributeGroup entity interface.\r\n */\r\nexport interface IProductAttributeGroup {\r\n GroupId: number;\r\n Group?: string;\r\n Name?: string;\r\n DisplayOrder: number;\r\n Attributes?: Entities.AttributeValue[];\r\n}\r\n\r\n/**\r\n * ProductInfo entity interface.\r\n */\r\nexport interface IProductInfo {\r\n ProductInfoId: number;\r\n Sku?: string;\r\n WebText?: string;\r\n}\r\n\r\n/**\r\n * WhatisinBox entity interface.\r\n */\r\nexport interface IWhatisinBox {\r\n ProductInfoId: number;\r\n Sku?: string;\r\n WhatsIntheBox?: string;\r\n}\r\n\r\n/**\r\n * ProductPromotion entity interface.\r\n */\r\nexport interface IProductPromotion {\r\n OfferId?: string;\r\n Name?: string;\r\n ProductIds?: number[];\r\n DiscountInfo?: IDiscountInfo;\r\n}\r\n\r\n/**\r\n * DiscountInfo entity interface.\r\n */\r\nexport interface IDiscountInfo {\r\n MarketingHtml?: string;\r\n MarketingName?: string;\r\n CartHtml?: string;\r\n Expired: boolean;\r\n}\r\n\r\n/**\r\n * ProductPriceInfo entity interface.\r\n */\r\nexport interface IProductPriceInfo {\r\n Price?: Entities.ProductPrice;\r\n RecId: number;\r\n MasterRecId: number;\r\n Sku?: string;\r\n MasterSku?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * ProductFeedInfo entity interface.\r\n */\r\nexport interface IProductFeedInfo {\r\n FlatProduct: boolean;\r\n ColorId?: string;\r\n StyleId?: string;\r\n SizeId?: string;\r\n Mpn?: string;\r\n BreadcrumbEn?: string;\r\n BreadcrumbFr?: string;\r\n TotalAvaliable: number;\r\n InventoryCode?: string;\r\n Brand?: string;\r\n AdWordsGroup?: string;\r\n AdWordsLabel?: string;\r\n AdWordsCategory?: string;\r\n TitleEn?: string;\r\n TitleFr?: string;\r\n Price: number;\r\n SalePrice: number;\r\n StyleEn?: string;\r\n StyleFr?: string;\r\n ColorEn?: string;\r\n ColorFr?: string;\r\n SizeEn?: string;\r\n SizeFr?: string;\r\n Barcode?: string;\r\n CategoryRecId: number;\r\n RecId: number;\r\n MasterRecId: number;\r\n Sku?: string;\r\n MasterSku?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * NetworkInventoryAvailableQuantity entity class.\r\n */\r\nexport class NetworkInventoryAvailableQuantityExtensionClass implements INetworkInventoryAvailableQuantity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public BundleId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public PhysicalInventory: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public PhysicalReserved: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public PhysicalAvailable: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public OrderedInTotal: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TotalAvailable: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public UnprocessedQuantity: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public LocationId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public IsShippingLocation: boolean;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public InventCheck: boolean;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.BundleId = odataObject.BundleId ? parseInt(odataObject.BundleId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PhysicalInventory = odataObject.PhysicalInventory ? parseFloat(odataObject.PhysicalInventory) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PhysicalReserved = odataObject.PhysicalReserved ? parseFloat(odataObject.PhysicalReserved) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PhysicalAvailable = odataObject.PhysicalAvailable ? parseFloat(odataObject.PhysicalAvailable) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.OrderedInTotal = odataObject.OrderedInTotal ? parseFloat(odataObject.OrderedInTotal) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TotalAvailable = odataObject.TotalAvailable ? parseFloat(odataObject.TotalAvailable) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.UnprocessedQuantity = odataObject.UnprocessedQuantity ? parseFloat(odataObject.UnprocessedQuantity) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductId = odataObject.ProductId ? parseInt(odataObject.ProductId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.LocationId = odataObject.LocationId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IsShippingLocation = odataObject.IsShippingLocation;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InventCheck = odataObject.InventCheck;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * FlexitiTransactions entity class.\r\n */\r\nexport class FlexitiTransactionsExtensionClass implements IFlexitiTransactions {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public term: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public transactionId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public transactionStatus: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public customerName: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public transactionBalance: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public transactionDate: string;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.term = odataObject.term;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.transactionId = odataObject.transactionId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.transactionStatus = odataObject.transactionStatus;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.customerName = odataObject.customerName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.transactionBalance = odataObject.transactionBalance;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.transactionDate = odataObject.transactionDate;\r\n }\r\n}\r\n\r\n/**\r\n * MfrCodeClass entity class.\r\n */\r\nexport class MfrCodeClassExtensionClass implements IMfrCodeClass {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Product: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExternalItemId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ItemId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Product = odataObject.Product ? parseInt(odataObject.Product, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExternalItemId = odataObject.ExternalItemId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ItemId = odataObject.ItemId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * NetworkInventoryLabelInput entity class.\r\n */\r\nexport class NetworkInventoryLabelInputExtensionClass implements INetworkInventoryLabelInput {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Quantity: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RecId = odataObject.RecId ? parseInt(odataObject.RecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Quantity = odataObject.Quantity ? parseFloat(odataObject.Quantity) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * NetworkInventoryLabel entity class.\r\n */\r\nexport class NetworkInventoryLabelExtensionClass implements INetworkInventoryLabel {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public UpperBoundInclusive: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Label: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public LanguageId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Txt: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Code: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Quantity: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RecId = odataObject.RecId ? parseInt(odataObject.RecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.UpperBoundInclusive = odataObject.UpperBoundInclusive ? parseFloat(odataObject.UpperBoundInclusive) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Label = odataObject.Label;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.LanguageId = odataObject.LanguageId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Txt = odataObject.Txt;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductId = odataObject.ProductId ? parseInt(odataObject.ProductId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Code = odataObject.Code;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Quantity = odataObject.Quantity ? parseFloat(odataObject.Quantity) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * CustomerSignature entity class.\r\n */\r\nexport class CustomerSignatureExtensionClass implements ICustomerSignature {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Succeed: boolean;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Id: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ErrorCode: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Succeed = odataObject.Succeed;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Id = odataObject.Id ? parseInt(odataObject.Id, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ErrorCode = odataObject.ErrorCode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * SignItem entity class.\r\n */\r\nexport class SignItemExtensionClass implements ISignItem {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ItemId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Description: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Price: number;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ItemId = odataObject.ItemId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Description = odataObject.Description;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Price = odataObject.Price ? parseFloat(odataObject.Price) : 0;\r\n }\r\n}\r\n\r\n/**\r\n * DemoStore entity class.\r\n */\r\nexport class DemoStoreExtensionClass implements IDemoStore {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Store: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public StoreLocationId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public DefaultCustAccount: string;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Store = odataObject.Store;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StoreLocationId = odataObject.StoreLocationId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DefaultCustAccount = odataObject.DefaultCustAccount;\r\n }\r\n}\r\n\r\n/**\r\n * FlexitiPaymentCustomer entity class.\r\n */\r\nexport class FlexitiPaymentCustomerExtensionClass implements IFlexitiPaymentCustomer {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public transactionStatus: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public FirstName: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public LastName: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public PostalCode: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Birthday: string;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.transactionStatus = odataObject.transactionStatus;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.FirstName = odataObject.FirstName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.LastName = odataObject.LastName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PostalCode = odataObject.PostalCode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Birthday = odataObject.Birthday;\r\n }\r\n}\r\n\r\n/**\r\n * ProductAttributeGroup entity class.\r\n */\r\nexport class ProductAttributeGroupExtensionClass implements IProductAttributeGroup {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public GroupId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Group: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Name: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public DisplayOrder: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Attributes: Entities.AttributeValue[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.GroupId = odataObject.GroupId ? parseInt(odataObject.GroupId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Group = odataObject.Group;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Name = odataObject.Name;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DisplayOrder = odataObject.DisplayOrder ? parseFloat(odataObject.DisplayOrder) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Attributes = undefined;\r\n if (odataObject.Attributes) {\r\n this.Attributes = [];\r\n for (var i = 0; i < odataObject.Attributes.length; i++) {\r\n if (odataObject.Attributes[i]) {\r\n if (odataObject.Attributes[i]['@odata.type']) {\r\n var className: string = odataObject.Attributes[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.Attributes[i] = new EntityClasses[className](odataObject.Attributes[i]);\r\n }\r\n } else {\r\n this.Attributes[i] = new EntityClasses.AttributeValueClass(odataObject.Attributes[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Attributes[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * ProductInfo entity class.\r\n */\r\nexport class ProductInfoExtensionClass implements IProductInfo {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductInfoId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Sku: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public WebText: string;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductInfoId = odataObject.ProductInfoId ? parseInt(odataObject.ProductInfoId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Sku = odataObject.Sku;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.WebText = odataObject.WebText;\r\n }\r\n}\r\n\r\n/**\r\n * WhatisinBox entity class.\r\n */\r\nexport class WhatisinBoxExtensionClass implements IWhatisinBox {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductInfoId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Sku: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public WhatsIntheBox: string;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductInfoId = odataObject.ProductInfoId ? parseInt(odataObject.ProductInfoId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Sku = odataObject.Sku;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.WhatsIntheBox = odataObject.WhatsIntheBox;\r\n }\r\n}\r\n\r\n/**\r\n * ProductPromotion entity class.\r\n */\r\nexport class ProductPromotionExtensionClass implements IProductPromotion {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public OfferId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Name: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductIds: number[];\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public DiscountInfo: IDiscountInfo;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.OfferId = odataObject.OfferId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Name = odataObject.Name;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductIds = undefined;\r\n if (odataObject.ProductIds) {\r\n this.ProductIds = [];\r\n for (var i = 0; i < odataObject.ProductIds.length; i++) {\r\n if (odataObject.ProductIds[i]) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductIds[i] = parseInt(odataObject.ProductIds[i], 10);\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductIds[i] = undefined;\r\n }\r\n }\r\n }\r\n\r\n if (odataObject.DiscountInfo === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DiscountInfo = undefined;\r\n } else if (odataObject.DiscountInfo['@odata.type'] == null) {\r\n this.DiscountInfo = new DiscountInfoExtensionClass(odataObject.DiscountInfo);\r\n } else {\r\n var className: string = odataObject.DiscountInfo['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.DiscountInfo = new EntityClasses[className](odataObject.DiscountInfo);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * DiscountInfo entity class.\r\n */\r\nexport class DiscountInfoExtensionClass implements IDiscountInfo {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public MarketingHtml: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public MarketingName: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public CartHtml: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Expired: boolean;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.MarketingHtml = odataObject.MarketingHtml;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.MarketingName = odataObject.MarketingName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CartHtml = odataObject.CartHtml;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Expired = odataObject.Expired;\r\n }\r\n}\r\n\r\n/**\r\n * ProductPriceInfo entity class.\r\n */\r\nexport class ProductPriceInfoExtensionClass implements IProductPriceInfo {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Price: Entities.ProductPrice;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public MasterRecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Sku: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public MasterSku: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n if (odataObject.Price === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Price = undefined;\r\n } else if (odataObject.Price['@odata.type'] == null) {\r\n this.Price = new EntityClasses.ProductPriceClass(odataObject.Price);\r\n } else {\r\n var className: string = odataObject.Price['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.Price = new EntityClasses[className](odataObject.Price);\r\n }\r\n }\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RecId = odataObject.RecId ? parseInt(odataObject.RecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.MasterRecId = odataObject.MasterRecId ? parseInt(odataObject.MasterRecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Sku = odataObject.Sku;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.MasterSku = odataObject.MasterSku;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * ProductFeedInfo entity class.\r\n */\r\nexport class ProductFeedInfoExtensionClass implements IProductFeedInfo {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public FlatProduct: boolean;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ColorId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public StyleId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public SizeId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Mpn: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public BreadcrumbEn: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public BreadcrumbFr: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TotalAvaliable: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public InventoryCode: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Brand: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public AdWordsGroup: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public AdWordsLabel: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public AdWordsCategory: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TitleEn: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TitleFr: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Price: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public SalePrice: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public StyleEn: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public StyleFr: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ColorEn: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ColorFr: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public SizeEn: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public SizeFr: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Barcode: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public CategoryRecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public MasterRecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Sku: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public MasterSku: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.FlatProduct = odataObject.FlatProduct;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ColorId = odataObject.ColorId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StyleId = odataObject.StyleId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SizeId = odataObject.SizeId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Mpn = odataObject.Mpn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.BreadcrumbEn = odataObject.BreadcrumbEn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.BreadcrumbFr = odataObject.BreadcrumbFr;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TotalAvaliable = odataObject.TotalAvaliable ? parseFloat(odataObject.TotalAvaliable) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InventoryCode = odataObject.InventoryCode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Brand = odataObject.Brand;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.AdWordsGroup = odataObject.AdWordsGroup;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.AdWordsLabel = odataObject.AdWordsLabel;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.AdWordsCategory = odataObject.AdWordsCategory;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TitleEn = odataObject.TitleEn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TitleFr = odataObject.TitleFr;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Price = odataObject.Price ? parseFloat(odataObject.Price) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SalePrice = odataObject.SalePrice ? parseFloat(odataObject.SalePrice) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StyleEn = odataObject.StyleEn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StyleFr = odataObject.StyleFr;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ColorEn = odataObject.ColorEn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ColorFr = odataObject.ColorFr;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SizeEn = odataObject.SizeEn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SizeFr = odataObject.SizeFr;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Barcode = odataObject.Barcode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CategoryRecId = odataObject.CategoryRecId ? parseInt(odataObject.CategoryRecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RecId = odataObject.RecId ? parseInt(odataObject.RecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.MasterRecId = odataObject.MasterRecId ? parseInt(odataObject.MasterRecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Sku = odataObject.Sku;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.MasterSku = odataObject.MasterSku;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n * THIS FILE IS AN AUTOGENERATED TYPESCRIPT PROXY EXTENSION.\r\n * TO USE THIS FILE, IT MUST BE ADDED TO A D365COMMERCE APPLICATION\r\n */\r\nimport {\r\n AsyncResult,\r\n callActionOrExecute,\r\n DataServiceQuery,\r\n IContext,\r\n IDataServiceRequest,\r\n IQueryResultSettings,\r\n // @ts-ignore -- Unused import\r\n NullResult\r\n} from '@msdyn365-commerce/retail-proxy';\r\n// @ts-ignore -- Unused import\r\nimport * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n// @ts-ignore -- Unused import\r\nimport * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\nimport * as DataServiceEntities from './DataServiceEntities.g';\r\n\r\nfunction promptCustomerSignatureQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function promptCustomerSignatureInput(poiId: string, saleId: string, serviceId: string): IDataServiceRequest {\r\n const query = promptCustomerSignatureQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'PromptCustomerSignature',\r\n true,\r\n DataServiceEntities.CustomerSignatureExtensionClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.ICustomerSignature' },\r\n {\r\n poiId: poiId,\r\n saleId: saleId,\r\n serviceId: serviceId\r\n }\r\n );\r\n}\r\n\r\nexport function promptCustomerSignatureAsync(\r\n context: IContext,\r\n poiId: string,\r\n saleId: string,\r\n serviceId: string\r\n): AsyncResult {\r\n const request = promptCustomerSignatureInput(poiId, saleId, serviceId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getDemoProductsQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function getDemoProductsInput(\r\n queryResultSettings: IQueryResultSettings,\r\n locationId: string,\r\n languageId: string\r\n): IDataServiceRequest {\r\n const query = getDemoProductsQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetDemoProducts',\r\n true,\r\n DataServiceEntities.SignItemExtensionClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.ISignItem' },\r\n {\r\n locationId: locationId,\r\n languageId: languageId\r\n }\r\n );\r\n}\r\n\r\nexport function getDemoProductsAsync(\r\n context: IContext,\r\n locationId: string,\r\n languageId: string\r\n): AsyncResult {\r\n const request = getDemoProductsInput(context.queryResultSettings || {}, locationId, languageId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getDemoStoresQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function getDemoStoresInput(queryResultSettings: IQueryResultSettings): IDataServiceRequest {\r\n const query = getDemoStoresQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetDemoStores',\r\n true,\r\n DataServiceEntities.DemoStoreExtensionClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IDemoStore' },\r\n {}\r\n );\r\n}\r\n\r\nexport function getDemoStoresAsync(context: IContext): AsyncResult {\r\n const request = getDemoStoresInput(context.queryResultSettings || {});\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getGroupedAttributesQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function getGroupedAttributesInput(\r\n queryResultSettings: IQueryResultSettings,\r\n channelId: number,\r\n catalogId: number,\r\n productId: number\r\n): IDataServiceRequest {\r\n const query = getGroupedAttributesQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetGroupedAttributes',\r\n true,\r\n DataServiceEntities.ProductAttributeGroupExtensionClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IProductAttributeGroup' },\r\n {\r\n channelId: channelId,\r\n catalogId: catalogId,\r\n productId: productId\r\n }\r\n );\r\n}\r\n\r\nexport function getGroupedAttributesAsync(\r\n context: IContext,\r\n channelId: number,\r\n catalogId: number,\r\n productId: number\r\n): AsyncResult {\r\n const request = getGroupedAttributesInput(context.queryResultSettings || {}, channelId, catalogId, productId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction exportProductPricesQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function exportProductPricesInput(queryResultSettings: IQueryResultSettings, skip: number, top: number): IDataServiceRequest {\r\n const query = exportProductPricesQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'ExportProductPrices',\r\n true,\r\n DataServiceEntities.ProductPriceInfoExtensionClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IProductPriceInfo' },\r\n {\r\n skip: skip,\r\n top: top\r\n }\r\n );\r\n}\r\n\r\nexport function exportProductPricesAsync(\r\n context: IContext,\r\n skip: number,\r\n top: number\r\n): AsyncResult {\r\n const request = exportProductPricesInput(context.queryResultSettings || {}, skip, top);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction exportProductFeedQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function exportProductFeedInput(\r\n queryResultSettings: IQueryResultSettings,\r\n skip: number,\r\n top: number,\r\n sku: string\r\n): IDataServiceRequest {\r\n const query = exportProductFeedQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'ExportProductFeed',\r\n true,\r\n DataServiceEntities.ProductFeedInfoExtensionClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IProductFeedInfo' },\r\n {\r\n skip: skip,\r\n top: top,\r\n sku: sku\r\n }\r\n );\r\n}\r\n\r\nexport function exportProductFeedAsync(\r\n context: IContext,\r\n skip: number,\r\n top: number,\r\n sku: string\r\n): AsyncResult {\r\n const request = exportProductFeedInput(context.queryResultSettings || {}, skip, top, sku);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction refreshProductFeedQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function refreshProductFeedInput(): IDataServiceRequest {\r\n const query = refreshProductFeedQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'RefreshProductFeed',\r\n true,\r\n '',\r\n 'false',\r\n { bypassCache: 'get', returnEntity: '' },\r\n {}\r\n );\r\n}\r\n\r\nexport function refreshProductFeedAsync(context: IContext): AsyncResult {\r\n const request = refreshProductFeedInput();\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getProductInfoQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function getProductInfoInput(sku: string): IDataServiceRequest {\r\n const query = getProductInfoQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetProductInfo',\r\n true,\r\n DataServiceEntities.ProductInfoExtensionClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IProductInfo' },\r\n {\r\n sku: sku\r\n }\r\n );\r\n}\r\n\r\nexport function getProductInfoAsync(context: IContext, sku: string): AsyncResult {\r\n const request = getProductInfoInput(sku);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getWhatisinBoxQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function getWhatisinBoxInput(sku: string): IDataServiceRequest {\r\n const query = getWhatisinBoxQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetWhatisinBox',\r\n true,\r\n DataServiceEntities.WhatisinBoxExtensionClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IWhatisinBox' },\r\n {\r\n sku: sku\r\n }\r\n );\r\n}\r\n\r\nexport function getWhatisinBoxAsync(context: IContext, sku: string): AsyncResult {\r\n const request = getWhatisinBoxInput(sku);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getProductPromotionsQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function getProductPromotionsInput(\r\n queryResultSettings: IQueryResultSettings,\r\n recordId: number,\r\n distinctProductVariantId: number\r\n): IDataServiceRequest {\r\n const query = getProductPromotionsQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetProductPromotions',\r\n true,\r\n DataServiceEntities.ProductPromotionExtensionClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IProductPromotion' },\r\n {\r\n recordId: recordId,\r\n distinctProductVariantId: distinctProductVariantId\r\n }\r\n );\r\n}\r\n\r\nexport function getProductPromotionsAsync(\r\n context: IContext,\r\n recordId: number,\r\n distinctProductVariantId: number\r\n): AsyncResult {\r\n const request = getProductPromotionsInput(context.queryResultSettings || {}, recordId, distinctProductVariantId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getPromotionInfoQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function getPromotionInfoInput(code: string): IDataServiceRequest {\r\n const query = getPromotionInfoQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetPromotionInfo',\r\n true,\r\n DataServiceEntities.DiscountInfoExtensionClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IDiscountInfo' },\r\n {\r\n code: code\r\n }\r\n );\r\n}\r\n\r\nexport function getPromotionInfoAsync(context: IContext, code: string): AsyncResult {\r\n const request = getPromotionInfoInput(code);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\n// @ts-ignore\r\nfunction networkInventoryQuery(productId?: number): DataServiceQuery {\r\n const key = productId ? { ProductId: productId } : null;\r\n return new DataServiceQuery(\r\n 'NetworkInventory',\r\n 'NetworkInventoryAvailableQuantity',\r\n DataServiceEntities.NetworkInventoryAvailableQuantityExtensionClass,\r\n key\r\n );\r\n}\r\n\r\nexport function createCheckInventoryInput(\r\n queryResultSettings: IQueryResultSettings,\r\n itemIds: number[],\r\n shouldCheckAttribute: boolean\r\n): IDataServiceRequest {\r\n const query = networkInventoryQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'CheckInventory',\r\n true,\r\n DataServiceEntities.NetworkInventoryAvailableQuantityExtensionClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.INetworkInventoryAvailableQuantity' },\r\n { itemIds: itemIds, shouldCheckAttribute: shouldCheckAttribute }\r\n );\r\n}\r\n\r\nexport function checkInventoryAsync(\r\n context: IContext,\r\n itemIds: number[],\r\n shouldCheckAttribute: boolean\r\n): AsyncResult {\r\n const request = createCheckInventoryInput(context.queryResultSettings || {}, itemIds, shouldCheckAttribute);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetInventoryLabelInput(\r\n queryResultSettings: IQueryResultSettings,\r\n availabilities: DataServiceEntities.INetworkInventoryLabelInput[],\r\n channelId: number\r\n): IDataServiceRequest {\r\n const query = networkInventoryQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetInventoryLabel',\r\n true,\r\n DataServiceEntities.NetworkInventoryLabelExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.INetworkInventoryLabel' },\r\n { availabilities: availabilities, channelId: channelId }\r\n );\r\n}\r\n\r\nexport function getInventoryLabelAsync(\r\n context: IContext,\r\n availabilities: DataServiceEntities.INetworkInventoryLabelInput[],\r\n channelId: number\r\n): AsyncResult {\r\n const request = createGetInventoryLabelInput(context.queryResultSettings || {}, availabilities, channelId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createTestInput(itemIds: number[]): IDataServiceRequest {\r\n const query = networkInventoryQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'Test',\r\n true,\r\n '',\r\n 'false',\r\n { bypassCache: 'get', returnEntity: '' },\r\n { itemIds: itemIds }\r\n );\r\n}\r\n\r\nexport function testAsync(context: IContext, itemIds: number[]): AsyncResult {\r\n const request = createTestInput(itemIds);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\n// @ts-ignore\r\nfunction flexitiPaymentQuery(transactionId?: string): DataServiceQuery {\r\n const key = transactionId ? { transactionId: transactionId } : null;\r\n return new DataServiceQuery('FlexitiPayment', 'FlexitiTransactions', DataServiceEntities.FlexitiTransactionsExtensionClass, key);\r\n}\r\n\r\nexport function createGetFlexitiPaymentTransactionsInput(\r\n queryResultSettings: IQueryResultSettings,\r\n flexitiPaymentCustomer: DataServiceEntities.IFlexitiPaymentCustomer\r\n): IDataServiceRequest {\r\n const query = flexitiPaymentQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetFlexitiPaymentTransactions',\r\n true,\r\n DataServiceEntities.FlexitiTransactionsExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IFlexitiTransactions' },\r\n { flexitiPaymentCustomer: flexitiPaymentCustomer }\r\n );\r\n}\r\n\r\nexport function getFlexitiPaymentTransactionsAsync(\r\n context: IContext,\r\n flexitiPaymentCustomer: DataServiceEntities.IFlexitiPaymentCustomer\r\n): AsyncResult {\r\n const request = createGetFlexitiPaymentTransactionsInput(context.queryResultSettings || {}, flexitiPaymentCustomer);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\n// @ts-ignore\r\nfunction mfrCodeQuery(product?: number): DataServiceQuery {\r\n const key = product ? { Product: product } : null;\r\n return new DataServiceQuery('MfrCode', 'MfrCodeClass', DataServiceEntities.MfrCodeClassExtensionClass, key);\r\n}\r\n\r\nexport function createGetMfrCodeInput(productId: number): IDataServiceRequest {\r\n const query = mfrCodeQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetMfrCode',\r\n false,\r\n DataServiceEntities.MfrCodeClassExtensionClass,\r\n 'false',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IMfrCodeClass' },\r\n { productId: productId }\r\n );\r\n}\r\n\r\nexport function getMfrCodeAsync(context: IContext, productId: number): AsyncResult {\r\n const request = createGetMfrCodeInput(productId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n"],"names":["MfrCodeClassExtensionClass","constructor","odataObject","this","Product","parseInt","ExternalItemId","ItemId","ExtensionProperties","undefined","i","length","className","substr","lastIndexOf","concat","EntityClasses","ProductAttributeGroupExtensionClass","GroupId","Group","Name","DisplayOrder","parseFloat","Attributes","ProductInfoExtensionClass","ProductInfoId","Sku","WebText","WhatisinBoxExtensionClass","WhatsIntheBox","ProductPromotionExtensionClass","OfferId","ProductIds","DiscountInfo","DiscountInfoExtensionClass","MarketingHtml","MarketingName","CartHtml","Expired","getGroupedAttributesInput","queryResultSettings","channelId","catalogId","productId","DataServiceQuery","resultSettings","createDataServiceRequestForOperation","DataServiceEntities","bypassCache","returnEntity","getGroupedAttributesAsync","context","request","callActionOrExecute","callerContext","getProductInfoInput","sku","getWhatisinBoxInput","getProductPromotionsInput","recordId","distinctProductVariantId","getProductPromotionsAsync","getPromotionInfoInput","code","getPromotionInfoAsync","createGetMfrCodeInput","product","key","mfrCodeQuery","getMfrCodeAsync"],"sourceRoot":""}