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,WAG9B7E,KAAK8E,oBAAsB/E,EAAY+E,oBAG3C9E,KAAKU,yBAAsBC,EACvBZ,EAAYW,oBAAqB,CACnCV,KAAKU,oBAAsB,GAC3B,IAAK,IAAIE,EAAI,EAAGA,EAAIb,EAAYW,oBAAoBG,OAAQD,IAC1D,GAAIb,EAAYW,oBAAoBE,GACxC,GAAIb,EAAYW,oBAAoBE,GAAG,eAAgB,CACrD,IAAIE,EAAoBf,EAAYW,oBAAoBE,GAAG,eAC3DE,EAAYA,EAAUC,OAAOD,EAAUE,YAAY,KAAO,GAAGC,OAAO,SAChEC,EAAcJ,KAChBd,KAAKU,oBAAoBE,GAAK,IAAIM,EAAcJ,GAAWf,EAAYW,oBAAoBE,UAG7FZ,KAAKU,oBAAoBE,GAAK,IAAIM,EAAAA,sBAAoCnB,EAAYW,oBAAoBE,SAKlGZ,KAAKU,oBAAoBE,QAAKD","sources":["webpack://Msdyn365.Commerce.Online/./src/actions/AlternateItemsEntity.g.ts?a691"],"sourcesContent":["\r\n// tslint:disable\r\nimport { CommerceProperty } from '@msdyn365-commerce/retail-proxy';\r\nimport * as Entities from '@msdyn365-commerce/retail-proxy';\r\nimport * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n\r\n /**\r\n * GCFitmentSearchCriteria entity interface.\r\n */\r\n export interface IGCFitmentSearchCriteria {\r\n CategoryId?: string;\r\n Year?: string;\r\n Make?: string;\r\n Model?: string;\r\n CallType?: string;\r\n Keyword?: string;\r\n }\r\n\r\n/**\r\n* ProductDetails entity interface.\r\n*/\r\nexport interface IProductDetails {\r\n OdataContext?: string;\r\n value?: IValue[];\r\n}\r\n\r\nexport interface IProductETAInfo {\r\n ErrorMessage?: string;\r\n ETADate?: string;\r\n ResultMessage?: string;\r\n}\r\n\r\n/**\r\n* Value entity interface.\r\n*/\r\nexport interface IValue {\r\n OdataEtag?: string;\r\n dataAreaId?: string;\r\n ItemId?: string;\r\n AltItemId?: string;\r\n UseAltItemId?: string;\r\n}\r\n\r\n /**\r\n * GCFitmentFilterDataEntity entity interface.\r\n */\r\n export interface IGCFitmentFilterDataEntity {\r\n Year?: string;\r\n Make?: string;\r\n Model?: string;\r\n ExtensionProperties?: CommerceProperty[];\r\n }\r\n\r\n/**\r\n* APIConfiguration entity interface.\r\n*/\r\nexport interface IAPIConfiguration {\r\n ClientId?: string;\r\n ClientSecret?: string;\r\n Resource?: string;\r\n GrantType?: string;\r\n APIUrl?: string;\r\n LoginUrl?: string;\r\n AnnotationUrl?: string;\r\n}\r\n\r\n\r\n /**\r\n * ProductSpecificationsEntity entity interface.\r\n */\r\n export interface IProductSpecificationsEntity {\r\n Product_Id?: string;\r\n Specification_Id?: string;\r\n Public_Display_Name?: string;\r\n Product_Attirbute_Value?: string;\r\n ExtensionProperties?: CommerceProperty[];\r\n }\r\n\r\n\r\n /**\r\n * ProductInterchangesEntity entity interface.\r\n */\r\n export interface IProductInterchangesEntity {\r\n Product_Id?: string;\r\n Interchange_Id?: string;\r\n Public_Display_Name?: string;\r\n Interchange_Part_Number?: string;\r\n Interchange_Type_Code?: string;\r\n ExtensionProperties?: CommerceProperty[];\r\n }\r\n\r\n\r\n/**\r\n* APIConfiguration entity class.\r\n*/\r\nexport class APIConfigurationExtensionClass implements IAPIConfiguration {\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 ClientId: 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 ClientSecret: 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 Resource: 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 GrantType: 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 AlternatItemeUrl: 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 LoginUrl: 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.ClientId = odataObject.ClientId;\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.ClientSecret = odataObject.ClientSecret;\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.Resource = odataObject.Resource;\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.GrantType = odataObject.GrantType;\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.AlternatItemeUrl = odataObject.AlternatItemeUrl;\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.LoginUrl = odataObject.LoginUrl;\r\n\r\n }\r\n}\r\n\r\n\r\n/**\r\n * ProductDetails entity class.\r\n */\r\nexport class ProductDetailsExtensionClass implements IProductDetails {\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 OdataContext: 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 value:\r\n IValue[];\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\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.OdataContext = odataObject.OdataContext;\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.value = undefined;\r\n if (odataObject.value) {\r\n this.value = [];\r\n for (var i = 0; i < odataObject.value.length; i++) {\r\n if (odataObject.value[`${i}`]) {\r\n if (odataObject.value[`${i}`]['@odata.type']) {\r\n var className: string = odataObject.value[`${i}`]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[`${className}`]) {\r\n this.value[`${i}`] = new EntityClasses[`${className}`](odataObject.value[`${i}`]);\r\n }\r\n } else {\r\n this.value[`${i}`] = new ValueExtensionClass(odataObject.value[`${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.value[`${i}`] = undefined;\r\n }\r\n }\r\n }\r\n\r\n }\r\n}\r\n\r\n/**\r\n * Value entity class.\r\n */\r\nexport class ValueExtensionClass implements IValue {\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 OdataEtag: 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 dataAreaId: 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 AltItemId: 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 UseAltItemId: 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\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.OdataEtag = odataObject.OdataEtag;\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.dataAreaId = odataObject.dataAreaId;\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.AltItemId = odataObject.AltItemId;\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.UseAltItemId = odataObject.UseAltItemId;\r\n\r\n }\r\n}\r\n\r\n/**\r\n * GCFitmentSearchCriteria entity class.\r\n */\r\n export class GCFitmentSearchCriteriaExtensionClass implements IGCFitmentSearchCriteria {\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 CategoryId: 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 Year: 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 Make: 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 Model: 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\nconstructor(odataObject?: any) {\r\nodataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CategoryId = odataObject.CategoryId;\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.Year = odataObject.Year;\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.Make = odataObject.Make;\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;\r\n\r\n}\r\n}\r\n\r\n\r\n/**\r\n * GCFitmentFilterDataEntity entity class.\r\n */\r\n export class GCFitmentFilterDataEntityExtensionClass implements IGCFitmentFilterDataEntity {\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 Year: 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 Make: 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 Model: 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: 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\nconstructor(odataObject?: any) {\r\nodataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Year = odataObject.Year;\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.Make = odataObject.Make;\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;\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\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/**\r\n * ProductSpecificationsEntity entity class.\r\n */\r\n export class ProductSpecificationsEntityExtensionClass implements IProductSpecificationsEntity {\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 Product_Id: 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 Specification_Id: 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 Public_Display_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 Product_Attirbute_Value: 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: 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\nconstructor(odataObject?: any) {\r\nodataObject = 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_Id = odataObject.Product_Id;\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.Specification_Id = odataObject.Specification_Id;\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.Public_Display_Name = odataObject.Public_Display_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.Product_Attirbute_Value = odataObject.Product_Attirbute_Value;\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\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\r\n /**\r\n * ProductInterchangesEntity entity class.\r\n */\r\n export class ProductInterchangesEntityExtensionClass implements IProductInterchangesEntity {\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 Product_Id: 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 Interchange_Id: 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 Public_Display_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 Interchange_Part_Number: 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 Interchange_Type_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 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_Id = odataObject.Product_Id;\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.Interchange_Id = odataObject.Interchange_Id;\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.Public_Display_Name = odataObject.Public_Display_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.Interchange_Part_Number = odataObject.Interchange_Part_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 this.Interchange_Type_Code = odataObject.Interchange_Type_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.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\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\nexport class ProductETAInfo implements IProductETAInfo{\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ETADate?: string | undefined;\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ErrorMessage: string;\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ResultMessage?: string | undefined;\r\n constructor(odataObject?: any) {\r\n this.ETADate = odataObject.ETADate;\r\n this.ErrorMessage = odataObject.ErrorMessage;\r\n this.ResultMessage = odataObject.ResultMessage;\r\n }\r\n }\r\n\r\n /**\r\n * ItemIds entity interface.\r\n */\r\n export interface IItemIds {\r\n ItemId?: string;\r\n }\r\n\r\n\r\n export class ItemIdsExtensionClass implements IItemIds {\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 // 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 }\r\n }\r\n\r\n export interface ProductWarehouses{\r\n dataAreaId?: string;\r\n ItemNumber?: string;\r\n InventorySiteId?: string;\r\n InventoryWarehouseId?: string;\r\n AvailableOrderedQuantity?: number;\r\n OnHandQuantity?: number;\r\n AvailableOnHandQuantity?: number;\r\n OnOrderQuantity?: number;\r\n TotalAvailableQuantity?: number;\r\n AreWarehouseManagementProcessesUsed?: string;\r\n DistributionCenter?: string;\r\n }\r\n\r\n export interface IProductAdditionalDetailsEntity {\r\n Product_Id?: string;\r\n CountryLongName?: string;\r\n ProductLifeCycleDescription?: string;\r\n Public_Display_Name?: string;\r\n Product_Attirbute_Value?: string;\r\n ExtensionProperties?: CommerceProperty[];\r\n\r\n }\r\n\r\n export interface IProductApplicationEntity {\r\n Make?: string;\r\n Model?: string;\r\n Year?: string;\r\n Qualifier: string[];\r\n Attribute?: string;\r\n Locations?: string;\r\n RecordId?: number;\r\n Note?: string;\r\n ExtensionProperties?: CommerceProperty[];\r\n }\r\n\r\n export class ProductAdditionalDetailsExtensionClass implements IProductAdditionalDetailsEntity {\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 CountryLongName: string;\r\n public ProductLifeCycleDescription: string;\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.CountryLongName = odataObject.CountryLongName;\r\n this.ProductLifeCycleDescription = odataObject.ProductLifeCycleDescription;\r\n\r\n }\r\n }\r\n\r\n export class ProductApplicationExtensionClass implements IProductApplicationEntity {\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 Make: string;\r\n public Model?: string;\r\n public Year?: string;\r\n public Qualifier: string[];\r\n public Attribute?: string;\r\n public Locations?: string;\r\n public Note?: 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\r\n this.Make = odataObject.Make;\r\n this.Model = odataObject.Model;\r\n this.Year = odataObject.Year;\r\n this.Qualifier = odataObject.Qualifier;\r\n this.Note = odataObject.Note;\r\n\r\n }\r\n }\r\n\r\n/**\r\n * NewAccountEntity entity interface.\r\n */\r\n export interface INewAccountEntity {\r\n emailaddress1?: string;\r\n firstname?: string;\r\n lastname?: string;\r\n telephone1?: string;\r\n address1_line1?: string;\r\n address1_stateorprovince?: string;\r\n address1_city?: string;\r\n address1_postalcode?: string;\r\n address1_country?: string;\r\n companyname?: string;\r\n websiteurl?: string;\r\n gc_department?: string;\r\n jobtitle?: string;\r\n gc_companysize?: string;\r\n mobilephone?: string;\r\n address1_composite?: string;\r\n gc_einnumber?: string;\r\n msdyn_company?: string;\r\n leadsourcecode?: number;\r\n }\r\n\r\n /**\r\n * NewAccountResponse entity interface.\r\n */\r\n export interface INewAccountResponse {\r\n Result?: string;\r\n }\r\n\r\n /**\r\n * NewAccountResponse entity class.\r\n */\r\n export class NewAccountResponseExtensionClass implements INewAccountResponse {\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 Result: 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.Result = odataObject.Result;\r\n\r\n }\r\n}\r\n\r\n /**\r\n * OrganizationUserEntity entity interface.\r\n */\r\n export interface IOrganizationUserEntity {\r\n OrganizationUserName?: string;\r\n Addresses?: Entities.Address[];\r\n }\r\n\r\n export class OrganizationUserEntityExtensionClass implements IOrganizationUserEntity {\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 OrganizationUserName: 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 Addresses: Entities.Address[];\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.OrganizationUserName = odataObject.OrganizationUserName;\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.Addresses = undefined;\r\n if (odataObject.Addresses) {\r\n this.Addresses = [];\r\n for (var i = 0; i < odataObject.Addresses.length; i++) {\r\n if (odataObject.Addresses[`${i}`]) {\r\n if (odataObject.Addresses[`${i}`]['@odata.type']) {\r\n var className: string = odataObject.Addresses[`${i}`]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[`${className}`]) {\r\n this.Addresses[`${i}`] = new EntityClasses[`${className}`](odataObject.Addresses[`${i}`]);\r\n }\r\n } else {\r\n this.Addresses[`${i}`] = new EntityClasses.AddressClass(odataObject.Addresses[`${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.Addresses[`${i}`] = undefined;\r\n }\r\n }\r\n }\r\n\r\n }\r\n}\r\n\r\n /**\r\n * GCWarehouseDetails entity interface.\r\n */\r\n export interface IGCWarehouseDetails {\r\n OdataContext?: string;\r\n value?: IValue2[];\r\n }\r\n\r\n\r\n /**\r\n * GCWarehouseDetails entity class.\r\n */\r\n export class GCWarehouseDetailsExtensionClass implements IGCWarehouseDetails {\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 OdataContext: 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 value:\r\n IValue2[];\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.OdataContext = odataObject.OdataContext;\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.value = undefined;\r\n if (odataObject.value) {\r\n this.value = [];\r\n for (var i = 0; i < odataObject.value.length; i++) {\r\n if (odataObject.value[`${i}`]) {\r\n if (odataObject.value[`${i}`]['@odata.type']) {\r\n var className: string = odataObject.value[`${i}`]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[`${className}`]) {\r\n this.value[`${i}`] = new EntityClasses[`${className}`](odataObject.value[`${i}`]);\r\n }\r\n } else {\r\n this.value[`${i}`] = new Value2ExtensionClass(odataObject.value[`${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.value[`${i}`] = undefined;\r\n }\r\n }\r\n }\r\n\r\n }\r\n}\r\n\r\n /**\r\n * Value2 entity interface.\r\n */\r\n export interface IValue2 {\r\n OdataEtag?: string;\r\n dataAreaId?: string;\r\n ItemNumber?: string;\r\n ProductColorId?: string;\r\n ProductStyleId?: string;\r\n ProductVersionId?: string;\r\n InventorySiteId?: string;\r\n InventoryWarehouseId: string;\r\n AvailableOrderedQuantity: number;\r\n OnHandQuantity: number;\r\n AvailableOnHandQuantity: number;\r\n OnOrderQuantity: number;\r\n TotalAvailableQuantity: number;\r\n OrderedQuantity: number;\r\n AreWarehouseManagementProcessesUsed?: string;\r\n DistributionCenter?: string;\r\n ReservedOrderedQuantity: number;\r\n ProductName?: string;\r\n ReservedOnHandQuantity: number;\r\n }\r\n\r\n /**\r\n * Value2 entity class.\r\n */\r\n export class Value2ExtensionClass implements IValue2 {\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 OdataEtag: 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 dataAreaId: 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 ItemNumber: 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 ProductColorId: 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 ProductStyleId: 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 ProductVersionId: 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 InventorySiteId: 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 InventoryWarehouseId: 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 AvailableOrderedQuantity: 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 OnHandQuantity: 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 AvailableOnHandQuantity: 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 OnOrderQuantity: 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 TotalAvailableQuantity: 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 OrderedQuantity: 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 AreWarehouseManagementProcessesUsed: 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 DistributionCenter: 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 ReservedOrderedQuantity: 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 ProductName: 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 ReservedOnHandQuantity: 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.OdataEtag = odataObject.OdataEtag;\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.dataAreaId = odataObject.dataAreaId;\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.ItemNumber = odataObject.ItemNumber;\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.ProductColorId = odataObject.ProductColorId;\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.ProductStyleId = odataObject.ProductStyleId;\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.ProductVersionId = odataObject.ProductVersionId;\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.InventorySiteId = odataObject.InventorySiteId;\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.InventoryWarehouseId = odataObject.InventoryWarehouseId;\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.AvailableOrderedQuantity = (odataObject.AvailableOrderedQuantity) ? parseInt(odataObject.AvailableOrderedQuantity, 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.OnHandQuantity = (odataObject.OnHandQuantity) ? parseInt(odataObject.OnHandQuantity, 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.AvailableOnHandQuantity = (odataObject.AvailableOnHandQuantity) ? parseInt(odataObject.AvailableOnHandQuantity, 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.OnOrderQuantity = (odataObject.OnOrderQuantity) ? parseInt(odataObject.OnOrderQuantity, 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.TotalAvailableQuantity = (odataObject.TotalAvailableQuantity) ? parseInt(odataObject.TotalAvailableQuantity, 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.OrderedQuantity = (odataObject.OrderedQuantity) ? parseInt(odataObject.OrderedQuantity, 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.AreWarehouseManagementProcessesUsed = odataObject.AreWarehouseManagementProcessesUsed;\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.DistributionCenter = odataObject.DistributionCenter;\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.ReservedOrderedQuantity = (odataObject.ReservedOrderedQuantity) ? parseInt(odataObject.ReservedOrderedQuantity, 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.ProductName = odataObject.ProductName;\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.ReservedOnHandQuantity = (odataObject.ReservedOnHandQuantity) ? parseInt(odataObject.ReservedOnHandQuantity, 10) : 0;\r\n\r\n }\r\n}\r\n\r\n/**\r\n * GCProductWiseWarehouseDetails entity class.\r\n */\r\nexport class GCProductWiseWarehouseDetailsExtensionClass implements IGCProductWiseWarehouseDetails {\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 warehouseDetails:\r\n IGCWarehouseDetails;\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\nconstructor(odataObject?: any) {\r\nodataObject = 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 if (odataObject.warehouseDetails === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.warehouseDetails = undefined;\r\n } else if (odataObject.warehouseDetails !== undefined && odataObject.warehouseDetails['@odata.type'] === null) {\r\n this.warehouseDetails = new GCWarehouseDetailsExtensionClass(odataObject.warehouseDetails);\r\n } else {\r\n this.warehouseDetails = new GCWarehouseDetailsExtensionClass(odataObject.warehouseDetails);\r\n // var className: string = odataObject.warehouseDetails['@odata.type'];\r\n // if(className !== undefined && className.length > 0)\r\n // {\r\n // className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n // if (EntityClasses[className]) {\r\n // this.warehouseDetails = new EntityClasses[className](odataObject.warehouseDetails);\r\n // }\r\n // }\r\n }\r\n\r\n\r\n}\r\n}\r\n\r\n /**\r\n * GCProductWiseWarehouseDetails entity interface.\r\n */\r\n export interface IGCProductWiseWarehouseDetails {\r\n ItemId?: string;\r\n warehouseDetails?: IGCWarehouseDetails;\r\n }\r\n\r\n /**\r\n * GCProductIds entity interface.\r\n */\r\n export interface IGCProductIds {\r\n prodIds?: string[];\r\n }\r\n\r\n /**\r\n * GCProductIds entity class.\r\n */\r\n export class GCProductIdsExtensionClass implements IGCProductIds {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public prodIds: 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.prodIds = undefined;\r\n if (odataObject.prodIds) {\r\n this.prodIds = [];\r\n for (var i = 0; i < odataObject.prodIds.length; i++) {\r\n if (odataObject.prodIds[`${i}`]) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.prodIds[`${i}`] =\r\n odataObject.prodIds[`${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.prodIds[`${i}`] = undefined;\r\n }\r\n }\r\n }\r\n\r\n }\r\n}\r\n\r\n /**\r\n * ProductIdWiseETADetails entity interface.\r\n */\r\n export interface IProductIdWiseETADetails {\r\n ItemId?: string;\r\n etaInfo?: IProductETAInfo;\r\n }\r\n\r\n /**\r\n * ProductIdWiseETADetails entity class.\r\n */\r\n export class ProductIdWiseETADetailsExtensionClass implements IProductIdWiseETADetails {\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 etaInfo:\r\n IProductETAInfo;\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 if (odataObject.etaInfo === undefined || odataObject.etaInfo === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.etaInfo = undefined;\r\n } else if (odataObject.etaInfo !== undefined && odataObject.etaInfo['@odata.type'] === null || odataObject.etaInfo['@odata.type'] === undefined) {\r\n this.etaInfo = new ProductETAInfoExtensionClass(odataObject.etaInfo);\r\n } else {\r\n var className: string = odataObject.etaInfo && odataObject.etaInfo['@odata.type'];\r\n if(className !== undefined && className.length > 0)\r\n {\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[`${className}`]) {\r\n this.etaInfo = new EntityClasses[`${className}`](odataObject.etaInfo);\r\n }\r\n }\r\n }\r\n\r\n\r\n }\r\n}\r\n\r\n /**\r\n * ProductETAInfo entity class.\r\n */\r\n export class ProductETAInfoExtensionClass implements IProductETAInfo {\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 ErrorMessage: 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 ETADate: 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 ResultMessage: 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.ErrorMessage = odataObject.ErrorMessage;\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.ETADate = odataObject.ETADate;\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.ResultMessage = odataObject.ResultMessage;\r\n\r\n }\r\n}\r\n\r\n /**\r\n * GCGetCustomTradeAgreementResponse entity interface.\r\n */\r\n export interface IGCGetCustomTradeAgreementResponse {\r\n gcProductTradeAgreementsEntity?: IGCProductTradeAgreementsEntity[];\r\n }\r\n\r\n /**\r\n * GCProductTradeAgreementsEntity entity interface.\r\n */\r\n export interface IGCProductTradeAgreementsEntity {\r\n ProductRecId: number;\r\n ItemId?: string;\r\n TradeAgreementPrice: number;\r\n PriceGroup?: string;\r\n UnitOfMeasureSymbol?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n }\r\n\r\n/**\r\n * GCGetCustomTradeAgreementResponse entity class.\r\n */\r\nexport class GCGetCustomTradeAgreementResponseExtensionClass implements IGCGetCustomTradeAgreementResponse {\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 gcProductTradeAgreementsEntity:\r\n IGCProductTradeAgreementsEntity[];\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\nconstructor(odataObject?: any) {\r\nodataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.gcProductTradeAgreementsEntity = undefined;\r\n if (odataObject.gcProductTradeAgreementsEntity) {\r\n this.gcProductTradeAgreementsEntity = [];\r\n for (var i = 0; i < odataObject.gcProductTradeAgreementsEntity.length; i++) {\r\n if (odataObject.gcProductTradeAgreementsEntity[i]) {\r\n if (odataObject.gcProductTradeAgreementsEntity[i]['@odata.type']) {\r\n var className: string = odataObject.gcProductTradeAgreementsEntity[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.gcProductTradeAgreementsEntity[i] = new EntityClasses[className](odataObject.gcProductTradeAgreementsEntity[i]);\r\n }\r\n } else {\r\n this.gcProductTradeAgreementsEntity[i] = new GCProductTradeAgreementsEntityExtensionClass(odataObject.gcProductTradeAgreementsEntity[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.gcProductTradeAgreementsEntity[i] = undefined;\r\n }\r\n }\r\n }\r\n\r\n}\r\n}\r\n\r\n/**\r\n * GCProductTradeAgreementsEntity entity class.\r\n */\r\nexport class GCProductTradeAgreementsEntityExtensionClass implements IGCProductTradeAgreementsEntity {\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 ProductRecId: 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 TradeAgreementPrice: 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 PriceGroup: 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 UnitOfMeasureSymbol: 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\nconstructor(odataObject?: any) {\r\nodataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductRecId = (odataObject.ProductRecId) ? parseInt(odataObject.ProductRecId, 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.TradeAgreementPrice = (odataObject.TradeAgreementPrice) ? parseFloat(odataObject.TradeAgreementPrice) : 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.PriceGroup = odataObject.PriceGroup;\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.UnitOfMeasureSymbol = odataObject.UnitOfMeasureSymbol;\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\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}"],"names":["ValueExtensionClass","constructor","odataObject","this","OdataEtag","dataAreaId","ItemId","AltItemId","UseAltItemId","GCFitmentFilterDataEntityExtensionClass","Year","Make","Model","ExtensionProperties","undefined","i","length","className","substr","lastIndexOf","concat","EntityClasses","ProductSpecificationsEntityExtensionClass","Product_Id","Specification_Id","Public_Display_Name","Product_Attirbute_Value","ProductInterchangesEntityExtensionClass","Interchange_Id","Interchange_Part_Number","Interchange_Type_Code","ProductETAInfo","ETADate","ErrorMessage","ResultMessage","ItemIdsExtensionClass","ProductAdditionalDetailsExtensionClass","CountryLongName","ProductLifeCycleDescription","ProductApplicationExtensionClass","Qualifier","Note","NewAccountResponseExtensionClass","Result","OrganizationUserEntityExtensionClass","OrganizationUserName","Addresses","GCWarehouseDetailsExtensionClass","OdataContext","value","Value2ExtensionClass","ItemNumber","ProductColorId","ProductStyleId","ProductVersionId","InventorySiteId","InventoryWarehouseId","AvailableOrderedQuantity","parseInt","OnHandQuantity","AvailableOnHandQuantity","OnOrderQuantity","TotalAvailableQuantity","OrderedQuantity","AreWarehouseManagementProcessesUsed","DistributionCenter","ReservedOrderedQuantity","ProductName","ReservedOnHandQuantity","GCProductWiseWarehouseDetailsExtensionClass","warehouseDetails","ProductIdWiseETADetailsExtensionClass","etaInfo","ProductETAInfoExtensionClass","GCGetCustomTradeAgreementResponseExtensionClass","gcProductTradeAgreementsEntity","GCProductTradeAgreementsEntityExtensionClass","ProductRecId","TradeAgreementPrice","parseFloat","PriceGroup","UnitOfMeasureSymbol"],"sourceRoot":""}