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CM,GAE/F,OADcH,IAAsBF,eAAeD,GACtCT,qCACT,gCACA,EACAH,EACA,OACA,CAAEI,YAAa,OAAQC,aAAc,sCACrC,CAAEa,QAASA,IASb,SAAUC,EAAoCP,GAEhD,OADcG,IAAsBF,eAAeD,GACtCT,qCACT,4BACA,EACAH,EACA,OACA,CAAEI,YAAa,OAAQC,aAAc,sCACrC,IAaF,SAAUe,EACZvB,EACAwB,EACAC,EACAC,EACAC,GAGA,OAXO,IAAIzB,EAAAA,kBAWEI,qCACT,+BACA,EACA,GACA,QACA,CAAEC,YAAa,MAAOC,aAAc,IACpC,CACIR,GAAIA,EACJwB,WAAYA,EACZC,QAASA,EACTC,UAAWA,EACXC,eAAgBA,IAKtB,SAAUC,EACZlB,EACAV,EACAwB,EACAC,EACAC,EACAC,GAEA,MAAMhB,EAAUY,EAAiCvB,EAAIwB,EAAYC,EAASC,EAAWC,GACrF,OAAOf,EAAAA,EAAAA,qBAA6BD,EAASD,EAAQG,eAQnD,SAAUgB,EACZd,EACAe,EACAC,GAGA,OAXJ,SAAoCC,GAChC,MAAM/B,EAAM+B,EAAW,CAAE9D,SAAU8D,GAAa,KAChD,OAAO,IAAI9B,EAAAA,iBAAiB,wBAAyB,aAAcC,EAA8CF,GAQnGgC,GAA6BjB,eAAeD,GAC7CT,qCACT,oDACA,EACApE,EAAAA,gDACA,OACA,CAAEqE,YAAa,MAAOC,aAAc,uDACpC,CAAEsB,UAAWA,EAAWC,SAAUA,IAIpC,SAAUG,EACZxB,EACAoB,EACAC,GAEA,MAAMpB,EAAUkB,EAA4DnB,EAAQK,qBAAuB,GAAIe,EAAWC,GAC1H,OAAOnB,EAAAA,EAAAA,qBAAkED,EAASD,EAAQG","sources":["webpack://Msdyn365.Commerce.Online/./src/actions/DataServiceEntities.g.ts?6c17","webpack://Msdyn365.Commerce.Online/./src/actions/DataActionExtension.g.ts?ff78"],"sourcesContent":["/* eslint-disable no-redeclare */\r\n// tslint:disable\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\nimport { jsonLightReadStringPropertyValue } from '@msdyn365-commerce/retail-proxy/dist/externals';\r\n\r\n/**\r\n * Article entity interface.\r\n */\r\nexport interface IArticle {\r\n Title?: string;\r\n Summary?: string;\r\n Content?: string;\r\n Keywords?: string;\r\n FilterKeywords?: string;\r\n URL?: string;\r\n ThumbnailImage?: string;\r\n DatePlannedRelease?: Date;\r\n DateReleased?: Date;\r\n ModifiedDateTime?: Date;\r\n MediaLocations?: IArticleMediaLocation[];\r\n Id: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * Roof entity interface.\r\n */\r\nexport interface IRoof {\r\n TypeName?: string;\r\n CoveringName?: string;\r\n ManufacturerName?: string;\r\n ModelName?: string;\r\n TypeDescription?: string;\r\n CoveringDescription?: string;\r\n ManufacturerDescription?: string;\r\n ModelDescription?: string;\r\n CoverWidth?: number;\r\n MinRowDistance?: number;\r\n MaxRowDistance?: number;\r\n ProfileWidth?: number;\r\n ItemReferences?: IItemReference[];\r\n Id: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * ItemReference entity interface.\r\n */\r\nexport interface IItemReference {\r\n Product?: number;\r\n Model?: number;\r\n Name?: string;\r\n Description?: string;\r\n Category?: string;\r\n CategoryName?: string;\r\n ProductReference?: number;\r\n Id?: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\nexport interface IArticleMediaLocation {\r\n Url?: string;\r\n ArticleId?: number;\r\n Id: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * LOBProduct entity interface.\r\n */\r\nexport interface ILOBProduct {\r\n DefaultUnitOfMeasure?: string;\r\n Name?: string;\r\n RecordId: number;\r\n ItemId?: string;\r\n Locale?: string;\r\n ProductNumber?: string;\r\n OfflineImage?: string;\r\n Rules?: Entities.ProductRules;\r\n IsMasterProduct?: boolean;\r\n IsKit?: boolean;\r\n IsRemote?: boolean;\r\n ChangeTrackingInformation?: Entities.ProductChangeTrackingInformation;\r\n Image?: Entities.RichMediaLocations;\r\n UnitsOfMeasureSymbol?: string[];\r\n LinkedProducts?: Entities.LinkedProduct[];\r\n BasePrice?: number;\r\n Price?: number;\r\n AdjustedPrice?: number;\r\n RetailContext?: Entities.ProjectionDomain;\r\n PrimaryCategoryId?: number;\r\n CategoryIds?: number[];\r\n DisplayOrderInCategories?: Entities.DisplayOrderInCategory[];\r\n RelatedProducts?: Entities.RelatedProduct[];\r\n ProductsRelatedToThis?: Entities.RelatedProduct[];\r\n ProductSchema?: string[];\r\n ProductProperties?: Entities.ProductPropertyTranslation[];\r\n CompositionInformation?: Entities.ProductCompositionInformation;\r\n DefaultProductProperties?: IKeyValuePair_2OfString_ProductProperty[];\r\n ParentKits?: Entities.KitComponent[];\r\n SearchName?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * KeyValuePair_2OfString_ProductProperty entity interface.\r\n */\r\nexport interface IKeyValuePair_2OfString_ProductProperty {}\r\n\r\n/**\r\n * Article entity class.\r\n */\r\nexport class ArticleExtensionClass implements IArticle {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Title: 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 Summary: 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 Content: 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 Keywords: 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 FilterKeywords: 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 URL: 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 ThumbnailImage: 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 DatePlannedRelease: Date;\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 DateReleased: Date;\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 ModifiedDateTime: Date;\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 MediaLocations?: IArticleMediaLocations[];\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 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.Title = odataObject.Title;\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.Summary = odataObject.Summary;\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.Content = odataObject.Content;\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.Keywords = odataObject.Keywords;\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.FilterKeywords = odataObject.FilterKeywords;\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.URL = odataObject.URL;\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.ThumbnailImage = odataObject.ThumbnailImage;\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.DatePlannedRelease =\r\n odataObject.DatePlannedRelease instanceof Date\r\n ? odataObject.DatePlannedRelease\r\n : odataObject.DatePlannedRelease\r\n ? jsonLightReadStringPropertyValue(odataObject.DatePlannedRelease, 'Edm.DateTimeOffset', false)\r\n : undefined;\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.DateReleased =\r\n odataObject.DateReleased instanceof Date\r\n ? odataObject.DateReleased\r\n : odataObject.DateReleased\r\n ? jsonLightReadStringPropertyValue(odataObject.DateReleased, 'Edm.DateTimeOffset', false)\r\n : undefined;\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.ModifiedDateTime =\r\n odataObject.ModifiedDateTime instanceof Date\r\n ? odataObject.ModifiedDateTime\r\n : odataObject.ModifiedDateTime\r\n ? jsonLightReadStringPropertyValue(odataObject.ModifiedDateTime, 'Edm.DateTimeOffset', false)\r\n : undefined;\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.MediaLocations = undefined;\r\n if (odataObject.MediaLocations) {\r\n this.MediaLocations = [];\r\n for (var i = 0; i < odataObject.MediaLocations.length; i++) {\r\n if (odataObject.MediaLocations[i]) {\r\n if (odataObject.MediaLocations[i]['@odata.type']) {\r\n var className: string = odataObject.MediaLocations[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.MediaLocations[i] = new EntityClasses[className](odataObject.MediaLocations[i]);\r\n }\r\n } else {\r\n this.MediaLocations[i] = new ArticleMediaLocationExtensionClass(odataObject.MediaLocations[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.MediaLocations[i] = undefined;\r\n }\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.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.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n // eslint-disable-next-line no-redeclare\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 * Roof entity class.\r\n */\r\nexport class RoofExtensionClass implements IRoof {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TypeName: 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 CoveringName: 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 ManufacturerName: 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 ModelName: 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 TypeDescription: 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 CoveringDescription: 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 ManufacturerDescription: 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 ModelDescription: 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 CoverWidth: 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 MinRowDistance: 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 MaxRowDistance: 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 ProfileWidth: 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 ItemReferences: IItemReference[];\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 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.TypeName = odataObject.TypeName;\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.CoveringName = odataObject.CoveringName;\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.ManufacturerName = odataObject.ManufacturerName;\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.ModelName = odataObject.ModelName;\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.TypeDescription = odataObject.TypeDescription;\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.CoveringDescription = odataObject.CoveringDescription;\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.ManufacturerDescription = odataObject.ManufacturerDescription;\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.ModelDescription = odataObject.ModelDescription;\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.CoverWidth = odataObject.CoverWidth ? parseFloat(odataObject.CoverWidth) : 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.MinRowDistance = odataObject.MinRowDistance ? parseFloat(odataObject.MinRowDistance) : 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.MaxRowDistance = odataObject.MaxRowDistance ? parseFloat(odataObject.MaxRowDistance) : 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.ProfileWidth = odataObject.ProfileWidth ? parseFloat(odataObject.ProfileWidth) : 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.ItemReferences = undefined;\r\n if (odataObject.ItemReferences) {\r\n this.ItemReferences = [];\r\n for (var i = 0; i < odataObject.ItemReferences.length; i++) {\r\n if (odataObject.ItemReferences[i]) {\r\n if (odataObject.ItemReferences[i]['@odata.type']) {\r\n var className: string = odataObject.ItemReferences[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ItemReferences[i] = new EntityClasses[className](odataObject.ItemReferences[i]);\r\n }\r\n } else {\r\n this.ItemReferences[i] = new ItemReferenceExtensionClass(odataObject.ItemReferences[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.ItemReferences[i] = undefined;\r\n }\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.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.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n // eslint-disable-next-line no-redeclare\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 * ItemReference entity class.\r\n */\r\nexport class ItemReferenceExtensionClass implements IItemReference {\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 Model: 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 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 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 Category: 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 CategoryName: 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 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 ProductReference: 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.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.Model = odataObject.Model ? parseInt(odataObject.Model, 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.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.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.Category = odataObject.Category;\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.CategoryName = odataObject.CategoryName;\r\n\r\n this.ProductReference = odataObject.ProductReference ? parseInt(odataObject.ProductReference, 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.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.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 * ItemReference entity class.\r\n */\r\nexport class ArticleMediaLocationExtensionClass implements IArticleMediaLocation {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Url: 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 ArticleId: 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 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 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.Url = odataObject.Url;\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.ArticleId = odataObject.ArticleId ? parseInt(odataObject.ArticleId, 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.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.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 * LOBProduct entity class.\r\n */\r\nexport class LOBProductExtensionClass implements ILOBProduct {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public DefaultUnitOfMeasure: 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 RecordId: 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 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 Locale: 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 ProductNumber: 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 OfflineImage: 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 Rules: Entities.ProductRules;\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 IsMasterProduct: 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 IsKit: 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 IsRemote: 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 ChangeTrackingInformation: Entities.ProductChangeTrackingInformation;\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 Image: Entities.RichMediaLocations;\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 UnitsOfMeasureSymbol: 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 LinkedProducts: Entities.LinkedProduct[];\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 BasePrice: 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 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 AdjustedPrice: 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 RetailContext: Entities.ProjectionDomain;\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 PrimaryCategoryId: 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 CategoryIds: 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 DisplayOrderInCategories: Entities.DisplayOrderInCategory[];\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 RelatedProducts: Entities.RelatedProduct[];\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 ProductsRelatedToThis: Entities.RelatedProduct[];\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 ProductSchema: 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 ProductProperties: Entities.ProductPropertyTranslation[];\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 CompositionInformation: Entities.ProductCompositionInformation;\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 DefaultProductProperties: IKeyValuePair_2OfString_ProductProperty[];\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 ParentKits: Entities.KitComponent[];\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 SearchName: 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.DefaultUnitOfMeasure = odataObject.DefaultUnitOfMeasure;\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.RecordId = odataObject.RecordId ? parseInt(odataObject.RecordId, 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.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.Locale = odataObject.Locale;\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.ProductNumber = odataObject.ProductNumber;\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.OfflineImage = odataObject.OfflineImage;\r\n\r\n if (odataObject.Rules === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Rules = undefined;\r\n } else if (odataObject.Rules['@odata.type'] === null) {\r\n this.Rules = new EntityClasses.ProductRulesClass(odataObject.Rules);\r\n } else {\r\n var className: string = odataObject.Rules['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.Rules = new EntityClasses[className](odataObject.Rules);\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.IsMasterProduct = odataObject.IsMasterProduct;\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.IsKit = odataObject.IsKit;\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.IsRemote = odataObject.IsRemote;\r\n\r\n if (odataObject.ChangeTrackingInformation === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ChangeTrackingInformation = undefined;\r\n } else if (odataObject.ChangeTrackingInformation['@odata.type'] === null) {\r\n this.ChangeTrackingInformation = new EntityClasses.ProductChangeTrackingInformationClass(odataObject.ChangeTrackingInformation);\r\n } else {\r\n var className: string = odataObject.ChangeTrackingInformation['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ChangeTrackingInformation = new EntityClasses[className](odataObject.ChangeTrackingInformation);\r\n }\r\n }\r\n\r\n if (odataObject.Image === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Image = undefined;\r\n } else if (odataObject.Image['@odata.type'] === null) {\r\n this.Image = new EntityClasses.RichMediaLocationsClass(odataObject.Image);\r\n } else {\r\n var className: string = odataObject.Image['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.Image = new EntityClasses[className](odataObject.Image);\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.UnitsOfMeasureSymbol = undefined;\r\n if (odataObject.UnitsOfMeasureSymbol) {\r\n this.UnitsOfMeasureSymbol = [];\r\n for (var i = 0; i < odataObject.UnitsOfMeasureSymbol.length; i++) {\r\n if (odataObject.UnitsOfMeasureSymbol[i]) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.UnitsOfMeasureSymbol[i] = odataObject.UnitsOfMeasureSymbol[i];\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.UnitsOfMeasureSymbol[i] = undefined;\r\n }\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.LinkedProducts = undefined;\r\n if (odataObject.LinkedProducts) {\r\n this.LinkedProducts = [];\r\n for (var i = 0; i < odataObject.LinkedProducts.length; i++) {\r\n if (odataObject.LinkedProducts[i]) {\r\n if (odataObject.LinkedProducts[i]['@odata.type']) {\r\n var className: string = odataObject.LinkedProducts[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.LinkedProducts[i] = new EntityClasses[className](odataObject.LinkedProducts[i]);\r\n }\r\n } else {\r\n this.LinkedProducts[i] = new EntityClasses.LinkedProductClass(odataObject.LinkedProducts[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.LinkedProducts[i] = undefined;\r\n }\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.BasePrice = odataObject.BasePrice ? parseFloat(odataObject.BasePrice) : 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.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.AdjustedPrice = odataObject.AdjustedPrice ? parseFloat(odataObject.AdjustedPrice) : 0;\r\n\r\n if (odataObject.RetailContext === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RetailContext = undefined;\r\n } else if (odataObject.RetailContext['@odata.type'] === null) {\r\n this.RetailContext = new EntityClasses.ProjectionDomainClass(odataObject.RetailContext);\r\n } else {\r\n var className: string = odataObject.RetailContext['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.RetailContext = new EntityClasses[className](odataObject.RetailContext);\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.PrimaryCategoryId = odataObject.PrimaryCategoryId ? parseInt(odataObject.PrimaryCategoryId, 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.CategoryIds = undefined;\r\n if (odataObject.CategoryIds) {\r\n this.CategoryIds = [];\r\n for (var i = 0; i < odataObject.CategoryIds.length; i++) {\r\n if (odataObject.CategoryIds[i]) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CategoryIds[i] = parseInt(odataObject.CategoryIds[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.CategoryIds[i] = undefined;\r\n }\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.DisplayOrderInCategories = undefined;\r\n if (odataObject.DisplayOrderInCategories) {\r\n this.DisplayOrderInCategories = [];\r\n for (var i = 0; i < odataObject.DisplayOrderInCategories.length; i++) {\r\n if (odataObject.DisplayOrderInCategories[i]) {\r\n if (odataObject.DisplayOrderInCategories[i]['@odata.type']) {\r\n var className: string = odataObject.DisplayOrderInCategories[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.DisplayOrderInCategories[i] = new EntityClasses[className](odataObject.DisplayOrderInCategories[i]);\r\n }\r\n } else {\r\n this.DisplayOrderInCategories[i] = new EntityClasses.DisplayOrderInCategoryClass(\r\n odataObject.DisplayOrderInCategories[i]\r\n );\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.DisplayOrderInCategories[i] = undefined;\r\n }\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.RelatedProducts = undefined;\r\n if (odataObject.RelatedProducts) {\r\n this.RelatedProducts = [];\r\n for (var i = 0; i < odataObject.RelatedProducts.length; i++) {\r\n if (odataObject.RelatedProducts[i]) {\r\n if (odataObject.RelatedProducts[i]['@odata.type']) {\r\n // eslint-disable-next-line no-redeclare\r\n var className: string = odataObject.RelatedProducts[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.RelatedProducts[i] = new EntityClasses[className](odataObject.RelatedProducts[i]);\r\n }\r\n } else {\r\n this.RelatedProducts[i] = new EntityClasses.RelatedProductClass(odataObject.RelatedProducts[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.RelatedProducts[i] = undefined;\r\n }\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.ProductsRelatedToThis = undefined;\r\n if (odataObject.ProductsRelatedToThis) {\r\n this.ProductsRelatedToThis = [];\r\n for (var i = 0; i < odataObject.ProductsRelatedToThis.length; i++) {\r\n if (odataObject.ProductsRelatedToThis[i]) {\r\n if (odataObject.ProductsRelatedToThis[i]['@odata.type']) {\r\n // eslint-disable-next-line no-redeclare\r\n var className: string = odataObject.ProductsRelatedToThis[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ProductsRelatedToThis[i] = new EntityClasses[className](odataObject.ProductsRelatedToThis[i]);\r\n }\r\n } else {\r\n this.ProductsRelatedToThis[i] = new EntityClasses.RelatedProductClass(odataObject.ProductsRelatedToThis[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.ProductsRelatedToThis[i] = undefined;\r\n }\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.ProductSchema = undefined;\r\n if (odataObject.ProductSchema) {\r\n this.ProductSchema = [];\r\n for (var i = 0; i < odataObject.ProductSchema.length; i++) {\r\n if (odataObject.ProductSchema[i]) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductSchema[i] = odataObject.ProductSchema[i];\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.ProductSchema[i] = undefined;\r\n }\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.ProductProperties = undefined;\r\n if (odataObject.ProductProperties) {\r\n this.ProductProperties = [];\r\n for (var i = 0; i < odataObject.ProductProperties.length; i++) {\r\n if (odataObject.ProductProperties[i]) {\r\n if (odataObject.ProductProperties[i]['@odata.type']) {\r\n // eslint-disable-next-line no-redeclare\r\n var className: string = odataObject.ProductProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ProductProperties[i] = new EntityClasses[className](odataObject.ProductProperties[i]);\r\n }\r\n } else {\r\n this.ProductProperties[i] = new EntityClasses.ProductPropertyTranslationClass(odataObject.ProductProperties[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.ProductProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n\r\n if (odataObject.CompositionInformation === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CompositionInformation = undefined;\r\n } else if (odataObject.CompositionInformation['@odata.type'] === null) {\r\n this.CompositionInformation = new EntityClasses.ProductCompositionInformationClass(odataObject.CompositionInformation);\r\n } else {\r\n var className: string = odataObject.CompositionInformation['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.CompositionInformation = new EntityClasses[className](odataObject.CompositionInformation);\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.DefaultProductProperties = undefined;\r\n if (odataObject.DefaultProductProperties) {\r\n this.DefaultProductProperties = [];\r\n for (var i = 0; i < odataObject.DefaultProductProperties.length; i++) {\r\n if (odataObject.DefaultProductProperties[i]) {\r\n if (odataObject.DefaultProductProperties[i]['@odata.type']) {\r\n var className: string = odataObject.DefaultProductProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.DefaultProductProperties[i] = new EntityClasses[className](odataObject.DefaultProductProperties[i]);\r\n }\r\n } else {\r\n this.DefaultProductProperties[i] = new KeyValuePair_2OfString_ProductPropertyExtensionClass(\r\n odataObject.DefaultProductProperties[i]\r\n );\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.DefaultProductProperties[i] = undefined;\r\n }\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.ParentKits = undefined;\r\n if (odataObject.ParentKits) {\r\n this.ParentKits = [];\r\n for (var i = 0; i < odataObject.ParentKits.length; i++) {\r\n if (odataObject.ParentKits[i]) {\r\n if (odataObject.ParentKits[i]['@odata.type']) {\r\n var className: string = odataObject.ParentKits[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ParentKits[i] = new EntityClasses[className](odataObject.ParentKits[i]);\r\n }\r\n } else {\r\n this.ParentKits[i] = new EntityClasses.KitComponentClass(odataObject.ParentKits[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.ParentKits[i] = undefined;\r\n }\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.SearchName = odataObject.SearchName;\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 * KeyValuePair_2OfString_ProductProperty entity class.\r\n */\r\n// eslint-disable-next-line @typescript-eslint/no-extraneous-class\r\nexport class KeyValuePair_2OfString_ProductPropertyExtensionClass implements IKeyValuePair_2OfString_ProductProperty {\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 }\r\n}\r\n","/* eslint-disable no-debugger */\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\n// tslint:disable\r\nimport {\r\n AsyncResult,\r\n callActionOrExecute,\r\n DataServiceQuery,\r\n executeAction,\r\n IContext,\r\n IDataServiceRequest,\r\n IQueryResultSettings,\r\n ProductDimensionAvailabilitySearchCriteria,\r\n ProductDimensionValueInventoryAvailability\r\n} from '@msdyn365-commerce/retail-proxy';\r\n// @ts-ignore\r\nimport * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\nimport * as DataServiceEntities from './DataServiceEntities.g';\r\n\r\n// @ts-ignore\r\nfunction articleControllerQuery(id?: number): DataServiceQuery {\r\n const key = id ? { Id: id } : null;\r\n return new DataServiceQuery('ArticleController', 'Article', DataServiceEntities.ArticleExtensionClass, key);\r\n}\r\n\r\nexport function createGetArticleByURLInput(url: string): IDataServiceRequest {\r\n const query = articleControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetArticleByURL',\r\n true,\r\n DataServiceEntities.ArticleExtensionClass,\r\n 'false',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IArticle' },\r\n { url: url }\r\n );\r\n}\r\n\r\nexport function getArticleByURLAsync(context: IContext, url: string): AsyncResult {\r\n const request = createGetArticleByURLInput(url);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetAllArticlesInput(queryResultSettings: IQueryResultSettings): IDataServiceRequest {\r\n const query = articleControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetAllArticles',\r\n false,\r\n DataServiceEntities.ArticleExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IArticle' },\r\n {}\r\n );\r\n}\r\n\r\nexport function getAllArticlesAsync(context: IContext): AsyncResult {\r\n const request = createGetAllArticlesInput(context.queryResultSettings || {});\r\n return executeAction(request, context.callerContext);\r\n}\r\n\r\nexport function createGetArticleMediaLocationsInput(queryResultSettings: IQueryResultSettings, articleIds: number[]): IDataServiceRequest {\r\n const query = articleControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetArticleMediaLocations',\r\n true,\r\n DataServiceEntities.ArticleMediaLocationExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IArticleMediaLocation' },\r\n { articleIds: articleIds }\r\n );\r\n}\r\n\r\nexport function getArticleMediaLocationsAsync(\r\n context: IContext,\r\n articleIds: number[]\r\n): AsyncResult {\r\n const request = createGetArticleMediaLocationsInput(context.queryResultSettings || {}, articleIds);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\n// @ts-ignore\r\nfunction roofControllerQuery(id?: number): DataServiceQuery {\r\n const key = id ? { Id: id } : null;\r\n return new DataServiceQuery('RoofController', 'Roof', DataServiceEntities.RoofExtensionClass, key);\r\n}\r\n\r\nexport function createGetRoofTableInput(queryResultSettings: IQueryResultSettings): IDataServiceRequest {\r\n const query = roofControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetRoofTable',\r\n false,\r\n DataServiceEntities.RoofExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IRoof' },\r\n {}\r\n );\r\n}\r\n\r\nexport function getRoofTableAsync(context: IContext): AsyncResult {\r\n const request = createGetRoofTableInput(context.queryResultSettings || {});\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetRoofItemReferencesByModelInput(queryResultSettings: IQueryResultSettings, modelId: number): IDataServiceRequest {\r\n const query = roofControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetRoofItemReferencesByModel',\r\n false,\r\n DataServiceEntities.ItemReferenceExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IItemReference' },\r\n { modelId: modelId }\r\n );\r\n}\r\n\r\nexport function getRoofItemReferencesByModelAsync(context: IContext, modelId: number): AsyncResult {\r\n const request = createGetRoofItemReferencesByModelInput(context.queryResultSettings || {}, modelId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetAllRoofItemReferencesInput(queryResultSettings: IQueryResultSettings): IDataServiceRequest {\r\n const query = roofControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetAllRoofItemReferences',\r\n false,\r\n DataServiceEntities.ItemReferenceExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IItemReference' },\r\n {}\r\n );\r\n}\r\n\r\nexport function getAllRoofItemReferencesAsync(context: IContext): AsyncResult {\r\n const request = createGetAllRoofItemReferencesInput(context.queryResultSettings || {});\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction updateSalesOrderRequisitionQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\nexport function updateSalesOrderRequisitionInput(\r\n id: string,\r\n terminalId: string,\r\n storeId: string,\r\n channelId: number,\r\n custPurchOrder: string\r\n): IDataServiceRequest {\r\n const query = updateSalesOrderRequisitionQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'UpdateSalesOrderRequisition',\r\n true,\r\n '',\r\n 'false',\r\n { bypassCache: 'get', returnEntity: '' },\r\n {\r\n id: id,\r\n terminalId: terminalId,\r\n storeId: storeId,\r\n channelId: channelId,\r\n custPurchOrder: custPurchOrder\r\n }\r\n );\r\n}\r\n\r\nexport function updateSalesOrderRequisitionAsync(\r\n context: IContext,\r\n id: string,\r\n terminalId: string,\r\n storeId: string,\r\n channelId: number,\r\n custPurchOrder: string\r\n): AsyncResult {\r\n const request = updateSalesOrderRequisitionInput(id, terminalId, storeId, channelId, custPurchOrder);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction lOBProductsControllerQuery(recordId?: number): DataServiceQuery {\r\n const key = recordId ? { RecordId: recordId } : null;\r\n return new DataServiceQuery('LOBProductsController', 'LOBProduct', DataServiceEntities.LOBProductExtensionClass, key);\r\n}\r\n\r\nexport function createLOBGetDimensionValuesWithEstimatedAvailabilitiesInput(\r\n queryResultSettings: IQueryResultSettings,\r\n productId: number,\r\n criteria: ProductDimensionAvailabilitySearchCriteria\r\n): IDataServiceRequest {\r\n const query = lOBProductsControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'LOBGetDimensionValuesWithEstimatedAvailabilities',\r\n true,\r\n EntityClasses.ProductDimensionValueInventoryAvailabilityClass,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'Entities.ProductDimensionValueInventoryAvailability' },\r\n { productId: productId, criteria: criteria }\r\n );\r\n}\r\n\r\nexport function lOBGetDimensionValuesWithEstimatedAvailabilitiesAsync(\r\n context: IContext,\r\n productId: number,\r\n criteria: ProductDimensionAvailabilitySearchCriteria\r\n): AsyncResult {\r\n const request = createLOBGetDimensionValuesWithEstimatedAvailabilitiesInput(context.queryResultSettings || {}, productId, criteria);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n"],"names":["ArticleExtensionClass","constructor","odataObject","this","Title","Summary","Content","Keywords","FilterKeywords","URL","ThumbnailImage","DatePlannedRelease","Date","jsonLightReadStringPropertyValue","undefined","DateReleased","ModifiedDateTime","MediaLocations","i","length","className","substr","lastIndexOf","concat","EntityClasses","ArticleMediaLocationExtensionClass","Id","parseInt","ExtensionProperties","RoofExtensionClass","TypeName","CoveringName","ManufacturerName","ModelName","TypeDescription","CoveringDescription","ManufacturerDescription","ModelDescription","CoverWidth","parseFloat","MinRowDistance","MaxRowDistance","ProfileWidth","ItemReferences","ItemReferenceExtensionClass","Product","Model","Name","Description","Category","CategoryName","ProductReference","Url","ArticleId","LOBProductExtensionClass","DefaultUnitOfMeasure","RecordId","ItemId","Locale","ProductNumber","OfflineImage","Rules","IsMasterProduct","IsKit","IsRemote","ChangeTrackingInformation","Image","UnitsOfMeasureSymbol","LinkedProducts","BasePrice","Price","AdjustedPrice","RetailContext","PrimaryCategoryId","CategoryIds","DisplayOrderInCategories","RelatedProducts","ProductsRelatedToThis","ProductSchema","ProductProperties","CompositionInformation","DefaultProductProperties","KeyValuePair_2OfString_ProductPropertyExtensionClass","ParentKits","SearchName","articleControllerQuery","id","key","DataServiceQuery","DataServiceEntities","createGetArticleByURLInput","url","createDataServiceRequestForOperation","bypassCache","returnEntity","getArticleByURLAsync","context","request","callActionOrExecute","callerContext","getAllArticlesAsync","queryResultSettings","resultSettings","executeAction","roofControllerQuery","createGetRoofTableInput","createGetRoofItemReferencesByModelInput","modelId","createGetAllRoofItemReferencesInput","updateSalesOrderRequisitionInput","terminalId","storeId","channelId","custPurchOrder","updateSalesOrderRequisitionAsync","createLOBGetDimensionValuesWithEstimatedAvailabilitiesInput","productId","criteria","recordId","lOBProductsControllerQuery","lOBGetDimensionValuesWithEstimatedAvailabilitiesAsync"],"sourceRoot":""}