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,OAAOzC,EAAAA,EAAAA,qBAA2FD,EAASD,EAAQG,eAQjH,SAAU0C,EACd7B,EAEI8B,GAIN,OAXW,IAAInD,EAAAA,kBAWFC,qCACT,sBACA,EACEW,EAEF,QACA,CAAEV,YAAa,MAAOC,aAAc,mDACpC,CACAkB,OAAQA,EACN8B,aAAcA,IAKd,SAAUC,EACd/C,EAAmBgB,EAEf8B,GAGJ,MAAM7C,EAAU4C,EAAwB7B,EAAQ8B,GAChD,OAAO5C,EAAAA,EAAAA,qBAAqED,EAASD,EAAQG","sources":["webpack://Msdyn365.Commerce.Online/./src/actions/DataServiceEntities.g.ts?6c17","webpack://Msdyn365.Commerce.Online/./src/actions/DataActionExtension.g.ts?ff78"],"sourcesContent":["// @ts-ignore -- Unused import\r\nimport * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\nimport * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\n// @ts-ignore -- Unused import\r\nimport { jsonLightReadStringPropertyValue } from '@msdyn365-commerce/retail-proxy/dist/externals';\r\n\r\n/**\r\n * FormSubmissionEntity entity interface.\r\n */\r\nexport interface IFormSubmissionEntity {\r\n FormSubmissionId: string;\r\n RecId?: number;\r\n EmailTo?: string;\r\n TemplateId?: string;\r\n FormTitle?: string;\r\n SubmissionData?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * WLDInventoryAlertDataEntity entity interface.\r\n */\r\nexport interface IWLDInventoryAlertDataEntity {\r\n EmailTypeID?: string;\r\n CustomerAccount: string;\r\n Status?: boolean;\r\n ItemID?: string;\r\n ReportDeliveryMethod?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * FormSubmissionValue entity interface.\r\n */\r\nexport interface IFormSubmissionValue {\r\n Name?: string;\r\n Value?: string;\r\n Friendly?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * PostFormSubmissionResponse entity interface.\r\n */\r\nexport interface IPostFormSubmissionResponse {\r\n Success: boolean;\r\n}\r\n\r\n/**\r\n * WldEmailSubscriptionStatus entity interface.\r\n */\r\nexport interface IWldEmailSubscriptionStatus {\r\n EmailName?: string;\r\n IsSubscribed?: boolean;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * WLDCommunicationPreferences entity interface.\r\n */\r\nexport interface IWLDCommunicationPreferences {\r\n ReportDeliveryMethodType?: string;\r\n Subscriptions?: IWldEmailSubscriptionStatus[];\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * WLDInventoryAlertEmailSubscriptionResponseEntity entity interface.\r\n */\r\nexport interface IWLDInventoryAlertEmailSubscriptionResponseEntity {\r\n IsSuccessful?: boolean;\r\n IsSuccessfulMessage?: string;\r\n}\r\n\r\n/**\r\n * WldSpecialOrderDetailsSubmission entity interface.\r\n */\r\nexport interface IWldSpecialOrderDetailsSubmission {\r\n RfqNumber?: string;\r\n RfqItemDescription?: string;\r\n ItemName?: string;\r\n RfqQuoteOnly?: boolean;\r\n CasesToOrder?: number;\r\n BottlesPerCase?: number;\r\n AbvProof?: number;\r\n OnlyVintage?: number;\r\n AgeOrVintage?: string;\r\n RfqOrigin?: number;\r\n CountryOfOrigin?: string;\r\n BottleSize?: string;\r\n Broker?: string;\r\n RfqNameOrDescription?: string;\r\n RfqVendor?: string;\r\n}\r\n\r\n/**\r\n * ZonePricingEntity entity interface.\r\n */\r\nexport interface IZonePricingEntity {\r\n RecId?: number;\r\n Value?: number;\r\n Zone?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * EveEachPriceRequestMap entity interface.\r\n */\r\nexport interface IEveEachPriceRequestMap {\r\n ProductRecordId?: number;\r\n ProductItemId?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * EveEachPrice entity interface.\r\n */\r\nexport interface IEveEachPrice {\r\n ItemId?: string;\r\n UnitOfMeasure?: string;\r\n InventoryDimensionId?: string;\r\n BasePrice?: number;\r\n AdjustedPrice?: number;\r\n CustomerContextualPrice?: number;\r\n TradeAgreementPrice?: number;\r\n DiscountAmount?: number;\r\n ProductId?: number;\r\n Factor?: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * HasAccountInCreditWrapper entity interface.\r\n */\r\nexport interface IHasAccountInCreditWrapper {\r\n HasAccountInCredit: boolean;\r\n}\r\n\r\n/**\r\n * UpdatedCartEntity entity interface.\r\n */\r\nexport interface IUpdatedCartEntity {\r\n Cart?: Entities.Cart;\r\n}\r\n\r\n/**\r\n * AddLicenseAndTaxPaymentToCartResponse entity interface.\r\n */\r\nexport interface IAddLicenseAndTaxPaymentToCartResponse {}\r\n\r\n/**\r\n * CalculateSurchargeResponseEntity entity interface.\r\n */\r\nexport interface ICalculateSurchargeResponseEntity {\r\n Cart?: Entities.Cart;\r\n}\r\n\r\n/**\r\n * CalculateSurchargeResponse entity interface.\r\n */\r\nexport interface ICalculateSurchargeResponse {}\r\n\r\n/**\r\n * FormSubmissionEntity entity class.\r\n */\r\nexport class FormSubmissionEntityExtensionClass implements IFormSubmissionEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public FormSubmissionId: 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 RecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public EmailTo: 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 TemplateId: 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 FormTitle: 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 SubmissionData: 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.FormSubmissionId = odataObject.FormSubmissionId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RecId = odataObject.RecId ? parseInt(odataObject.RecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.EmailTo = odataObject.EmailTo;\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.TemplateId = odataObject.TemplateId;\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.FormTitle = odataObject.FormTitle;\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.SubmissionData = odataObject.SubmissionData;\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 * WLDInventoryAlertDataEntity entity class.\r\n */\r\nexport class WLDInventoryAlertDataEntityExtensionClass implements IWLDInventoryAlertDataEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public EmailTypeID: 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 CustomerAccount: 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 Status: 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 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 ReportDeliveryMethod: 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.EmailTypeID = odataObject.EmailTypeID;\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.CustomerAccount = odataObject.CustomerAccount;\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.Status = odataObject.Status;\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.ReportDeliveryMethod = odataObject.ReportDeliveryMethod;\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 * FormSubmissionValue entity class.\r\n */\r\nexport class FormSubmissionValueExtensionClass implements IFormSubmissionValue {\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 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: 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.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.Value = odataObject.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 } 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 * PostFormSubmissionResponse entity class.\r\n */\r\nexport class PostFormSubmissionResponseExtensionClass implements IPostFormSubmissionResponse {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Success: boolean;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Success = odataObject.Success;\r\n }\r\n}\r\n\r\n/**\r\n * WldEmailSubscriptionStatus entity class.\r\n */\r\nexport class WldEmailSubscriptionStatusExtensionClass implements IWldEmailSubscriptionStatus {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public EmailName: 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 IsSubscribed: boolean;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.EmailName = odataObject.EmailName;\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.IsSubscribed = odataObject.IsSubscribed;\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 * WLDCommunicationPreferences entity class.\r\n */\r\nexport class WLDCommunicationPreferencesExtensionClass implements IWLDCommunicationPreferences {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ReportDeliveryMethodType: 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 Subscriptions: IWldEmailSubscriptionStatus[];\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.ReportDeliveryMethodType = odataObject.ReportDeliveryMethodType;\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.Subscriptions = undefined;\r\n if (odataObject.Subscriptions) {\r\n this.Subscriptions = [];\r\n for (var i = 0; i < odataObject.Subscriptions.length; i++) {\r\n if (odataObject.Subscriptions[i]) {\r\n if (odataObject.Subscriptions[i]['@odata.type']) {\r\n var className: string = odataObject.Subscriptions[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.Subscriptions[i] = new EntityClasses[className](odataObject.Subscriptions[i]);\r\n }\r\n } else {\r\n this.Subscriptions[i] = new WldEmailSubscriptionStatusExtensionClass(odataObject.Subscriptions[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.Subscriptions[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.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 * WLDInventoryAlertEmailSubscriptionResponseEntity entity class.\r\n */\r\nexport class WLDInventoryAlertEmailSubscriptionResponseEntityExtensionClass implements IWLDInventoryAlertEmailSubscriptionResponseEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public IsSuccessful: 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 IsSuccessfulMessage: 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.IsSuccessful = odataObject.IsSuccessful;\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.IsSuccessfulMessage = odataObject.IsSuccessfulMessage;\r\n }\r\n}\r\n\r\n/**\r\n * WldSpecialOrderDetailsSubmission entity class.\r\n */\r\nexport class WldSpecialOrderDetailsSubmissionExtensionClass implements IWldSpecialOrderDetailsSubmission {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RfqNumber: 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 RfqItemDescription: 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 ItemName: 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 RfqQuoteOnly: 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 CasesToOrder: 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 BottlesPerCase: 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 AbvProof: 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 AgeOrVintage: 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 RfqOrigin: 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 CountryOfOrigin: 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 BottleSize: 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 Broker: 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 RfqNameOrDescription: 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 RfqVendor: 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.RfqNumber = odataObject.RfqNumber;\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.RfqItemDescription = odataObject.RfqItemDescription;\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.ItemName = odataObject.ItemName;\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.RfqQuoteOnly = odataObject.RfqQuoteOnly;\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.CasesToOrder = odataObject.CasesToOrder;\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.BottlesPerCase = odataObject.BottlesPerCase;\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.AbvProof = odataObject.AbvProof ? parseFloat(odataObject.AbvProof) : 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.AgeOrVintage = odataObject.AgeOrVintage;\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.RfqOrigin = odataObject.RfqOrigin;\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.CountryOfOrigin = odataObject.CountryOfOrigin;\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.BottleSize = odataObject.BottleSize;\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.Broker = odataObject.Broker;\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.RfqNameOrDescription = odataObject.RfqNameOrDescription;\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.RfqVendor = odataObject.RfqVendor;\r\n }\r\n}\r\n\r\n/**\r\n * ZonePricingEntity entity class.\r\n */\r\nexport class ZonePricingEntityExtensionClass implements IZonePricingEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RecId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Value: 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 Zone: 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.RecId = odataObject.RecId ? parseInt(odataObject.RecId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Value = odataObject.Value ? parseFloat(odataObject.Value) : 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.Zone = odataObject.Zone;\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 * EveEachPriceRequestMap entity class.\r\n */\r\nexport class EveEachPriceRequestMapExtensionClass implements IEveEachPriceRequestMap {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductRecordId: 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 ProductItemId: 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.ProductRecordId = odataObject.ProductRecordId ? parseInt(odataObject.ProductRecordId, 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.ProductItemId = odataObject.ProductItemId;\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 * EveEachPrice entity class.\r\n */\r\nexport class EveEachPriceExtensionClass implements IEveEachPrice {\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 UnitOfMeasure: 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 InventoryDimensionId: 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 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 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 CustomerContextualPrice: 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 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 DiscountAmount: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductId: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Factor: 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.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.UnitOfMeasure = odataObject.UnitOfMeasure;\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.InventoryDimensionId = odataObject.InventoryDimensionId;\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.AdjustedPrice = odataObject.AdjustedPrice ? parseFloat(odataObject.AdjustedPrice) : 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.CustomerContextualPrice = odataObject.CustomerContextualPrice ? parseFloat(odataObject.CustomerContextualPrice) : 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.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.DiscountAmount = odataObject.DiscountAmount ? parseFloat(odataObject.DiscountAmount) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductId = odataObject.ProductId ? parseInt(odataObject.ProductId, 10) : 0;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Factor = odataObject.Factor ? parseFloat(odataObject.Factor) : 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 * HasAccountInCreditWrapper entity class.\r\n */\r\nexport class HasAccountInCreditWrapperExtensionClass implements IHasAccountInCreditWrapper {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public HasAccountInCredit: boolean;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.HasAccountInCredit = odataObject.HasAccountInCredit;\r\n }\r\n}\r\n\r\n/**\r\n * UpdatedCartEntity entity class.\r\n */\r\nexport class UpdatedCartEntityExtensionClass implements IUpdatedCartEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Cart: Entities.Cart;\r\n\r\n // Navigation properties names\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 static cartPropertyName: string = 'Cart';\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n if (odataObject.Cart === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Cart = undefined;\r\n } else if (odataObject.Cart['@odata.type'] == null) {\r\n this.Cart = new EntityClasses.CartClass(odataObject.Cart);\r\n } else {\r\n var className: string = odataObject.Cart['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.Cart = new EntityClasses[className](odataObject.Cart);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * AddLicenseAndTaxPaymentToCartResponse entity class.\r\n */\r\nexport class AddLicenseAndTaxPaymentToCartResponseExtensionClass implements IAddLicenseAndTaxPaymentToCartResponse {\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\r\n/**\r\n * CalculateSurchargeResponseEntity entity class.\r\n */\r\nexport class CalculateSurchargeResponseEntityExtensionClass implements ICalculateSurchargeResponseEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Cart: Entities.Cart;\r\n\r\n // Navigation properties names\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 static cartPropertyName: string = 'Cart';\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n if (odataObject.Cart === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Cart = undefined;\r\n } else if (odataObject.Cart['@odata.type'] == null) {\r\n this.Cart = new EntityClasses.CartClass(odataObject.Cart);\r\n } else {\r\n var className: string = odataObject.Cart['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.Cart = new EntityClasses[className](odataObject.Cart);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * CalculateSurchargeResponse entity class.\r\n */\r\nexport class CalculateSurchargeResponseExtensionClass implements ICalculateSurchargeResponse {\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","\r\n/*!\r\n* Copyright (c) Microsoft Corporation.\r\n* All rights reserved. See LICENSE in the project root for license information.\r\n* THIS FILE IS AN AUTOGENERATED TYPESCRIPT PROXY EXTENSION.\r\n* TO USE THIS FILE, IT MUST BE ADDED TO A D365COMMERCE APPLICATION\r\n*/\r\nimport {\r\n AsyncResult,\r\n callActionOrExecute,\r\n DataServiceQuery,\r\n IContext,\r\n IDataServiceRequest,\r\n IQueryResultSettings,\r\n // @ts-ignore -- Unused import\r\n NullResult\r\n} from '@msdyn365-commerce/retail-proxy';\r\n// @ts-ignore -- Unused import\r\nimport * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n// @ts-ignore -- Unused import\r\nimport * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\nimport * as DataServiceEntities from './DataServiceEntities.g';\r\n\r\n\r\nfunction postFormDataSpecialOrderQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\n\r\nexport function postFormDataSpecialOrderInput(\r\n specialOrderSubmission:\r\n DataServiceEntities.IWldSpecialOrderDetailsSubmission\r\n): IDataServiceRequest {\r\n const query = postFormDataSpecialOrderQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'PostFormDataSpecialOrder',\r\n true,\r\n ''\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: '' },\r\n {\r\n specialOrderSubmission: specialOrderSubmission\r\n }\r\n );\r\n}\r\n\r\nexport function postFormDataSpecialOrderAsync(\r\n context: IContext, specialOrderSubmission:\r\n DataServiceEntities.IWldSpecialOrderDetailsSubmission\r\n): AsyncResult {\r\n const request = postFormDataSpecialOrderInput(specialOrderSubmission);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction getZonePricesQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\n\r\nexport function getZonePricesInput(\r\n queryResultSettings: IQueryResultSettings\r\n): IDataServiceRequest {\r\n const query = getZonePricesQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetZonePrices',\r\n false,\r\n DataServiceEntities.ZonePricingEntityExtensionClass\r\n ,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IZonePricingEntity' },\r\n {\r\n\r\n }\r\n );\r\n}\r\n\r\nexport function getZonePricesAsync(\r\n context: IContext\r\n): AsyncResult {\r\n const request = getZonePricesInput(\r\n context.queryResultSettings || {});\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction postEveUomRequestQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\n\r\nexport function postEveUomRequestInput(\r\n queryResultSettings: IQueryResultSettings, productRequests:\r\n DataServiceEntities.IEveEachPriceRequestMap[],\r\n catalogId:\r\n number\r\n): IDataServiceRequest {\r\n const query = postEveUomRequestQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'PostEveUomRequest',\r\n true,\r\n DataServiceEntities.EveEachPriceExtensionClass\r\n ,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IEveEachPrice' },\r\n {\r\n productRequests: productRequests,\r\n catalogId: catalogId\r\n }\r\n );\r\n}\r\n\r\nexport function postEveUomRequestAsync(\r\n context: IContext, productRequests:\r\n DataServiceEntities.IEveEachPriceRequestMap[],\r\n catalogId:\r\n number\r\n): AsyncResult {\r\n const request = postEveUomRequestInput(\r\n context.queryResultSettings || {}, productRequests, catalogId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction pastDueNoticeEntityQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\n\r\nexport function pastDueNoticeEntityInput(\r\n\r\n): IDataServiceRequest {\r\n const query = pastDueNoticeEntityQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'PastDueNoticeEntity',\r\n false,\r\n DataServiceEntities.HasAccountInCreditWrapperExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IHasAccountInCreditWrapper' },\r\n {\r\n\r\n }\r\n );\r\n}\r\n\r\nexport function pastDueNoticeEntityAsync(\r\n context: IContext\r\n): AsyncResult {\r\n const request = pastDueNoticeEntityInput();\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction addLicenseAndTaxPaymentToCartQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n}\r\n\r\n\r\nexport function addLicenseAndTaxPaymentToCartInput(\r\n cartId:\r\n string,\r\n itemId:\r\n string,\r\n price:\r\n number,\r\n catalogId:\r\n number,\r\n cartVersion:\r\n number,\r\n productId:\r\n number\r\n): IDataServiceRequest {\r\n const query = addLicenseAndTaxPaymentToCartQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'AddLicenseAndTaxPaymentToCart',\r\n false,\r\n DataServiceEntities.AddLicenseAndTaxPaymentToCartResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IAddLicenseAndTaxPaymentToCartResponse' },\r\n {\r\n cartId: cartId,\r\n itemId: itemId,\r\n price: price,\r\n catalogId: catalogId,\r\n cartVersion: cartVersion,\r\n productId: productId\r\n }\r\n );\r\n}\r\n\r\nexport function addLicenseAndTaxPaymentToCartAsync(\r\n context: IContext, cartId:\r\n string,\r\n itemId:\r\n string,\r\n price:\r\n number,\r\n catalogId:\r\n number,\r\n cartVersion:\r\n number,\r\n productId:\r\n number\r\n): AsyncResult {\r\n const request = addLicenseAndTaxPaymentToCartInput(cartId, itemId, price, catalogId, cartVersion, productId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\n\r\n// @ts-ignore\r\nfunction eveFormQuery(formSubmissionId?: string): DataServiceQuery {\r\n const key = (formSubmissionId) ? { FormSubmissionId: formSubmissionId } : null;\r\n return new DataServiceQuery(\"EveForm\", \"FormSubmissionEntity\", DataServiceEntities.FormSubmissionEntityExtensionClass, key);\r\n}\r\n\r\n\r\nexport function createPostFormDataInput(templateId: string, formValues: DataServiceEntities.IFormSubmissionValue[], formTitle: string, emailTo: string): IDataServiceRequest {\r\n const query = eveFormQuery();\r\n return query.createDataServiceRequestForOperation('PostFormData', true, DataServiceEntities.PostFormSubmissionResponseExtensionClass, 'false', { bypassCache: 'get', returnEntity: 'DataServiceEntities.IPostFormSubmissionResponse' }, { TemplateId: templateId, FormValues: formValues, FormTitle: formTitle, EmailTo: emailTo });\r\n}\r\n\r\n\r\nexport function postFormDataAsync(context: IContext, templateId: string, formValues: DataServiceEntities.IFormSubmissionValue[], formTitle: string, emailTo: string): AsyncResult {\r\n const request = createPostFormDataInput(templateId, formValues, formTitle, emailTo);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\n\r\n// @ts-ignore\r\nfunction wLDInventoryAlertControllerQuery(customerAccount?: string): DataServiceQuery {\r\n const key = (customerAccount) ? { CustomerAccount: customerAccount } : null;\r\n return new DataServiceQuery(\"WLDInventoryAlertController\", \"WLDInventoryAlertDataEntity\", DataServiceEntities.WLDInventoryAlertDataEntityExtensionClass, key);\r\n}\r\n\r\n\r\nexport function createGetCommunicationPreferencesStatusInput(): IDataServiceRequest {\r\n const query = wLDInventoryAlertControllerQuery();\r\n return query.createDataServiceRequestForOperation('GetCommunicationPreferencesStatus', true, DataServiceEntities.WLDCommunicationPreferencesExtensionClass, 'false', { bypassCache: 'none', returnEntity: 'DataServiceEntities.IWLDCommunicationPreferences' }, {});\r\n}\r\n\r\n\r\nexport function getCommunicationPreferencesStatusAsync(context: IContext): AsyncResult {\r\n const request = createGetCommunicationPreferencesStatusInput();\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createSetCommunicationPreferencesStatusInput(emailName: string, isSubscribing: boolean): IDataServiceRequest {\r\n const query = wLDInventoryAlertControllerQuery();\r\n return query.createDataServiceRequestForOperation('SetCommunicationPreferencesStatus', true, DataServiceEntities.WLDCommunicationPreferencesExtensionClass, 'false', { bypassCache: 'get', returnEntity: 'DataServiceEntities.IWLDCommunicationPreferences' }, { emailName: emailName, isSubscribing: isSubscribing });\r\n}\r\n\r\n\r\nexport function setCommunicationPreferencesStatusAsync(context: IContext, emailName: string, isSubscribing: boolean): AsyncResult {\r\n const request = createSetCommunicationPreferencesStatusInput(emailName, isSubscribing);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createSetCommunicationReportTypeInput(method: string): IDataServiceRequest {\r\n const query = wLDInventoryAlertControllerQuery();\r\n return query.createDataServiceRequestForOperation('SetCommunicationReportType', true, DataServiceEntities.WLDCommunicationPreferencesExtensionClass, 'false', { bypassCache: 'get', returnEntity: 'DataServiceEntities.IWLDCommunicationPreferences' }, { method: method });\r\n}\r\n\r\n\r\nexport function setCommunicationReportTypeAsync(context: IContext, method: string): AsyncResult {\r\n const request = createSetCommunicationReportTypeInput(method);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createupdateEmailSubscriptionStatusInput(entityData: DataServiceEntities.IWLDInventoryAlertDataEntity): IDataServiceRequest {\r\n const query = wLDInventoryAlertControllerQuery();\r\n return query.createDataServiceRequestForOperation('updateEmailSubscriptionStatus', true, DataServiceEntities.WLDInventoryAlertEmailSubscriptionResponseEntityExtensionClass, 'false', { bypassCache: 'get', returnEntity: 'DataServiceEntities.IWLDInventoryAlertEmailSubscriptionResponseEntity' }, { entityData: entityData });\r\n}\r\n\r\n\r\nexport function updateEmailSubscriptionStatusAsync(context: IContext, entityData: DataServiceEntities.IWLDInventoryAlertDataEntity): AsyncResult {\r\n const request = createupdateEmailSubscriptionStatusInput(entityData);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nfunction calculateSurchargeQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n\r\nexport function calculateSurchargeInput (\r\n cartId:\r\n string,\r\n tenderTypeId:\r\n string\r\n): IDataServiceRequest {\r\nconst query = calculateSurchargeQuery();\r\nreturn query.createDataServiceRequestForOperation(\r\n 'CalculateSurcharge',\r\n true, \r\n DataServiceEntities.CalculateSurchargeResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.ICalculateSurchargeResponse' },\r\n {\r\n cartId: cartId,\r\n tenderTypeId: tenderTypeId\r\n }\r\n);\r\n}\r\n\r\nexport function calculateSurchargeAsync (\r\n context: IContext, cartId:\r\n string,\r\n tenderTypeId:\r\n string\r\n ): AsyncResult {\r\n const request = calculateSurchargeInput(cartId, tenderTypeId);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n"],"names":["FormSubmissionEntityExtensionClass","constructor","odataObject","this","FormSubmissionId","RecId","parseInt","EmailTo","TemplateId","FormTitle","SubmissionData","ExtensionProperties","undefined","i","length","className","substr","lastIndexOf","concat","EntityClasses","WLDInventoryAlertDataEntityExtensionClass","EmailTypeID","CustomerAccount","Status","ItemID","ReportDeliveryMethod","PostFormSubmissionResponseExtensionClass","Success","WldEmailSubscriptionStatusExtensionClass","EmailName","IsSubscribed","WLDCommunicationPreferencesExtensionClass","ReportDeliveryMethodType","Subscriptions","WLDInventoryAlertEmailSubscriptionResponseEntityExtensionClass","IsSuccessful","IsSuccessfulMessage","ZonePricingEntityExtensionClass","Value","parseFloat","Zone","EveEachPriceExtensionClass","ItemId","UnitOfMeasure","InventoryDimensionId","BasePrice","AdjustedPrice","CustomerContextualPrice","TradeAgreementPrice","DiscountAmount","ProductId","Factor","HasAccountInCreditWrapperExtensionClass","HasAccountInCredit","AddLicenseAndTaxPaymentToCartResponseExtensionClass","CalculateSurchargeResponseExtensionClass","postFormDataSpecialOrderInput","specialOrderSubmission","DataServiceQuery","createDataServiceRequestForOperation","bypassCache","returnEntity","postFormDataSpecialOrderAsync","context","request","callActionOrExecute","callerContext","getZonePricesInput","queryResultSettings","resultSettings","DataServiceEntities","getZonePricesAsync","postEveUomRequestInput","productRequests","catalogId","postEveUomRequestAsync","pastDueNoticeEntityInput","pastDueNoticeEntityAsync","addLicenseAndTaxPaymentToCartInput","cartId","itemId","price","cartVersion","productId","addLicenseAndTaxPaymentToCartAsync","createPostFormDataInput","templateId","formValues","formTitle","emailTo","formSubmissionId","key","eveFormQuery","FormValues","postFormDataAsync","wLDInventoryAlertControllerQuery","customerAccount","getCommunicationPreferencesStatusAsync","setCommunicationPreferencesStatusAsync","emailName","isSubscribing","createSetCommunicationPreferencesStatusInput","setCommunicationReportTypeAsync","method","createSetCommunicationReportTypeInput","updateEmailSubscriptionStatusAsync","entityData","createupdateEmailSubscriptionStatusInput","calculateSurchargeInput","tenderTypeId","calculateSurchargeAsync"],"sourceRoot":""}