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AUC,KAAK,8BAA+BC,MAAO,IAE9KC,KAAK,EACLC,GAAI,YACJC,EAAG,mBACHC,EAAG,YAEHC,IAAK,GAGLC,GAAI,gCAOAjB,EAF4B,+EACXM,EAAQ,KAQzBN,EAF4B,8BACXM,EAAQ,OAMjCzD,OAAOqE,aAAerE,OAAOqE,cAAgB,GAC7CrE,OAAOqE,aAAapB,QAAOhB,EAAAA,EAAA,GACpBjC,OAAOqE,aAAapB,SAAW,IAC/BD,EAAQC,SAGXjD,OAAOqE,aAAanB,YAAWjB,EAAAA,EAAA,GAC5BjC,OAAOqE,aAAanB,aAAe,IACnCF,EAAQE,aAEY,MAAMoB,EAAiB,GAC9BA,EAAe,iEAAmE,CAC1F/D,EAAGA,IAAMkD,EAAQ,MACjBc,GAAI,wCAEpBvE,OAAOqE,aAAerE,OAAOqE,cAAgB,GAC7CrE,OAAOqE,aAAaC,eAAcrC,EAAAA,EAAA,GACPjC,OAAOqE,aAAaC,gBAAkB,IACtCA,UC1F3BE,EAAOC,QAAUxF,cCAjBuF,EAAOC,QAAUC","sources":["webpack://Msdyn365.Commerce.Online/./src/actions/ContactActions/DataServiceEntities.g.ts?c7c8","webpack://Msdyn365.Commerce.Online/./src/actions/ContactActions/DataActionExtension.g.ts?25e5","webpack://Msdyn365.Commerce.Online/./src/actions/PeetsExtension/DataServiceEntities.g.ts?2ec1","webpack://Msdyn365.Commerce.Online/./src/actions/PeetsExtension/DataActionExtension.g.ts?b4a2","webpack://Msdyn365.Commerce.Online/./src/actions/get-customers-count.ts?8198","webpack://Msdyn365.Commerce.Online/./src/modules/eve-sobo-checker/eve-sobo-checker.tsx?c8e5","webpack://Msdyn365.Commerce.Online/./src/modules/eve-sobo-checker/eve-sobo-checker.view.tsx?fee4","webpack://Msdyn365.Commerce.Online/./lib/eve-sobo-checker/module-registration.js?c193","webpack://Msdyn365.Commerce.Online/external var \"React\"?0d3b","webpack://Msdyn365.Commerce.Online/external var \"ReactDOM\"?853b"],"sourcesContent":["\r\n // @ts-ignore -- Unused import\r\n import * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n import * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\n // @ts-ignore -- Unused import\r\n import { jsonLightReadStringPropertyValue } from '@msdyn365-commerce/retail-proxy/dist/externals';\r\n\r\n \r\n /**\r\n * PCTProductCatalog entity interface.\r\n */\r\n export interface IPCTProductCatalog {\r\n RecordId: number;\r\n ChannelId: number;\r\n Name?: string;\r\n Description?: string;\r\n Language?: string;\r\n Images?: Entities.MediaLocation[];\r\n DefaultImage?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n }\r\n \r\n /**\r\n * ContactEntity entity interface.\r\n */\r\n export interface IContactEntity {\r\n ContactPersonId?: string;\r\n PersonId?: string;\r\n BusinessPartnerId?: string;\r\n FirstName?: string;\r\n LastName?: string;\r\n Email?: string;\r\n SpendingLimit: number;\r\n IsAdmin: number;\r\n AccountNumber?: string;\r\n B2BUserId?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n }\r\n \r\n /**\r\n * EligibleCustomerEntity entity interface.\r\n */\r\n export interface IEligibleCustomerEntity {\r\n Name?: string;\r\n AccountNumber?: string;\r\n ContactPersonID?: string;\r\n IsSelected: boolean;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n }\r\n \r\n /**\r\n * UserInfoEntity entity interface.\r\n */\r\n export interface IUserInfoEntity {\r\n BusinessPartnerId?: string;\r\n B2BUserId?: string;\r\n IsB2BAdmin: number;\r\n ContactPersonID?: string;\r\n FirstName?: string;\r\n LastName?: string;\r\n AccountNumber?: string;\r\n Email?: string;\r\n Phone?: string;\r\n VatNumber?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n }\r\n \r\n /**\r\n * CreateContactResponse entity interface.\r\n */\r\n export interface ICreateContactResponse {\r\n Success?: boolean;\r\n }\r\n \r\n /**\r\n * UpdateContactResponse entity interface.\r\n */\r\n export interface IUpdateContactResponse {\r\n Success?: boolean;\r\n }\r\n \r\n /**\r\n * RemoveContactResponse entity interface.\r\n */\r\n export interface IRemoveContactResponse {\r\n Success?: boolean;\r\n }\r\n \r\n /**\r\n * SaveSessionCustomerResponse entity interface.\r\n */\r\n export interface ISaveSessionCustomerResponse {\r\n Message?: string;\r\n }\r\n \r\n /**\r\n * GetEligibleCustomersTotalResponse entity interface.\r\n */\r\n export interface IGetEligibleCustomersTotalResponse {\r\n Total?: number;\r\n ChargeOverriden?: boolean;\r\n }\r\n \r\n /**\r\n * GetUserInfoResponse entity interface.\r\n */\r\n export interface IGetUserInfoResponse {\r\n UserInfo?: IUserInfoEntity;\r\n }\r\n \r\n /**\r\n * PCTProductCatalog entity class.\r\n */\r\n export class PCTProductCatalogExtensionClass implements IPCTProductCatalog {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RecordId: number;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ChannelId: number;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Name: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Description: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Language: 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 Images: Entities.MediaLocation[];\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public DefaultImage: 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.RecordId = (odataObject.RecordId) ? parseInt(odataObject.RecordId, 10) : 0;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ChannelId = (odataObject.ChannelId) ? parseInt(odataObject.ChannelId, 10) : 0;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Name = odataObject.Name;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Description = odataObject.Description;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Language = odataObject.Language;\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.Images = undefined;\r\n if (odataObject.Images) {\r\n this.Images = [];\r\n for (var i = 0; i < odataObject.Images.length; i++) {\r\n if (odataObject.Images[i]) {\r\n if (odataObject.Images[i]['@odata.type']) {\r\n var className: string = odataObject.Images[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Images[i] = new EntityClasses[className](odataObject.Images[i])\r\n }\r\n } else {\r\n this.Images[i] = new EntityClasses.MediaLocationClass(odataObject.Images[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.Images[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.DefaultImage = odataObject.DefaultImage;\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 * ContactEntity entity class.\r\n */\r\n export class ContactEntityExtensionClass implements IContactEntity {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ContactPersonId: 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 PersonId: 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 BusinessPartnerId: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public FirstName: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public LastName: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Email: 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 SpendingLimit: 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 IsAdmin: 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 AccountNumber: 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 B2BUserId: 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.ContactPersonId = odataObject.ContactPersonId;\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.PersonId = odataObject.PersonId;\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.BusinessPartnerId = odataObject.BusinessPartnerId;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.FirstName = odataObject.FirstName;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.LastName = odataObject.LastName;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Email = odataObject.Email;\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.SpendingLimit = (odataObject.SpendingLimit) ? parseFloat(odataObject.SpendingLimit) : 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.IsAdmin = odataObject.IsAdmin;\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.AccountNumber = odataObject.AccountNumber;\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.B2BUserId = odataObject.B2BUserId;\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 * EligibleCustomerEntity entity class.\r\n */\r\n export class EligibleCustomerEntityExtensionClass implements IEligibleCustomerEntity {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Name: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public AccountNumber: 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 ContactPersonID: 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 IsSelected: 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.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.AccountNumber = odataObject.AccountNumber;\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.ContactPersonID = odataObject.ContactPersonID;\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.IsSelected = odataObject.IsSelected;\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 * UserInfoEntity entity class.\r\n */\r\n export class UserInfoEntityExtensionClass implements IUserInfoEntity {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public BusinessPartnerId: 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 B2BUserId: 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 IsB2BAdmin: 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 ContactPersonID: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public FirstName: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public LastName: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public AccountNumber: 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 Email: 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 Phone: 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 VatNumber: 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.BusinessPartnerId = odataObject.BusinessPartnerId;\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.B2BUserId = odataObject.B2BUserId;\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.IsB2BAdmin = odataObject.IsB2BAdmin;\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.ContactPersonID = odataObject.ContactPersonID;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.FirstName = odataObject.FirstName;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.LastName = odataObject.LastName;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.AccountNumber = odataObject.AccountNumber;\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.Email = odataObject.Email;\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.Phone = odataObject.Phone;\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.VatNumber = odataObject.VatNumber;\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 * CreateContactResponse entity class.\r\n */\r\n export class CreateContactResponseExtensionClass implements ICreateContactResponse {\r\n \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 /**\r\n * UpdateContactResponse entity class.\r\n */\r\n export class UpdateContactResponseExtensionClass implements IUpdateContactResponse {\r\n \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 /**\r\n * RemoveContactResponse entity class.\r\n */\r\n export class RemoveContactResponseExtensionClass implements IRemoveContactResponse {\r\n \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 /**\r\n * SaveSessionCustomerResponse entity class.\r\n */\r\n export class SaveSessionCustomerResponseExtensionClass implements ISaveSessionCustomerResponse {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Message: 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.Message = odataObject.Message;\r\n \r\n }\r\n }\r\n\r\n /**\r\n * GetEligibleCustomersTotalResponse entity class.\r\n */\r\n export class GetEligibleCustomersTotalResponseExtensionClass implements IGetEligibleCustomersTotalResponse {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Total: 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 ChargeOverriden: 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.Total = odataObject.Total;\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.ChargeOverriden = odataObject.ChargeOverriden;\r\n \r\n }\r\n }\r\n\r\n /**\r\n * GetUserInfoResponse entity class.\r\n */\r\n export class GetUserInfoResponseExtensionClass implements IGetUserInfoResponse {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public UserInfo: \r\n IUserInfoEntity;\r\n \r\n // Navigation properties names\r\n \r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n if (odataObject.UserInfo === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.UserInfo = undefined;\r\n } else if (odataObject.UserInfo['@odata.type'] == null) {\r\n this.UserInfo = new UserInfoEntityExtensionClass(odataObject.UserInfo);\r\n } else {\r\n var className: string = odataObject.UserInfo['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.UserInfo = new EntityClasses[className](odataObject.UserInfo)\r\n }\r\n }\r\n\r\n \r\n }\r\n }\r\n","\r\n /*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n * THIS FILE IS AN AUTOGENERATED TYPESCRIPT PROXY EXTENSION.\r\n * TO USE THIS FILE, IT MUST BE ADDED TO A D365COMMERCE APPLICATION\r\n */\r\n import {\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\n import * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n // @ts-ignore -- Unused import\r\n import * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\n import * as DataServiceEntities from './DataServiceEntities.g';\r\n\r\n \r\n function pCTGetCatalogsQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function pCTGetCatalogsInput (\r\n queryResultSettings: IQueryResultSettings, channelId:\r\n number,\r\n activeOnly:\r\n boolean\r\n ): IDataServiceRequest {\r\n const query = pCTGetCatalogsQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'PCTGetCatalogs',\r\n true, \r\n DataServiceEntities.PCTProductCatalogExtensionClass\r\n ,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IPCTProductCatalog' },\r\n {\r\n channelId: channelId,\r\n activeOnly: activeOnly\r\n }\r\n );\r\n }\r\n\r\n export function pCTGetCatalogsAsync (\r\n context: IContext, channelId:\r\n number,\r\n activeOnly:\r\n boolean\r\n ): AsyncResult {\r\n const request = pCTGetCatalogsInput(\r\n context.queryResultSettings || {}, channelId, activeOnly);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function getContactsQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function getContactsInput (\r\n queryResultSettings: IQueryResultSettings\r\n ): IDataServiceRequest {\r\n const query = getContactsQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetContacts',\r\n false, \r\n DataServiceEntities.ContactEntityExtensionClass\r\n ,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IContactEntity' },\r\n {\r\n \r\n }\r\n );\r\n }\r\n\r\n export function getContactsAsync (\r\n context: IContext\r\n ): AsyncResult {\r\n const request = getContactsInput(\r\n context.queryResultSettings || {});\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function createContactQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function createContactInput (\r\n accountNum:\r\n string,\r\n firstName:\r\n string,\r\n lastName:\r\n string,\r\n email:\r\n string\r\n ): IDataServiceRequest {\r\n const query = createContactQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'CreateContact',\r\n false, \r\n DataServiceEntities.CreateContactResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.ICreateContactResponse' },\r\n {\r\n accountNum: accountNum,\r\n firstName: firstName,\r\n lastName: lastName,\r\n email: email\r\n }\r\n );\r\n }\r\n\r\n export function createContactAsync (\r\n context: IContext, accountNum:\r\n string,\r\n firstName:\r\n string,\r\n lastName:\r\n string,\r\n email:\r\n string\r\n ): AsyncResult {\r\n const request = createContactInput(accountNum, firstName, lastName, email);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function updateContactQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function updateContactInput (\r\n contactPersonId:\r\n string,\r\n personId:\r\n string,\r\n firstName:\r\n string,\r\n lastName:\r\n string\r\n ): IDataServiceRequest {\r\n const query = updateContactQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'UpdateContact',\r\n false, \r\n DataServiceEntities.UpdateContactResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IUpdateContactResponse' },\r\n {\r\n contactPersonId: contactPersonId,\r\n personId: personId,\r\n firstName: firstName,\r\n lastName: lastName\r\n }\r\n );\r\n }\r\n\r\n export function updateContactAsync (\r\n context: IContext, contactPersonId:\r\n string,\r\n personId:\r\n string,\r\n firstName:\r\n string,\r\n lastName:\r\n string\r\n ): AsyncResult {\r\n const request = updateContactInput(contactPersonId, personId, firstName, lastName);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function removeContactQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function removeContactInput (\r\n contactPersonId:\r\n string,\r\n personId:\r\n string\r\n ): IDataServiceRequest {\r\n const query = removeContactQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'RemoveContact',\r\n false, \r\n DataServiceEntities.RemoveContactResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IRemoveContactResponse' },\r\n {\r\n contactPersonId: contactPersonId,\r\n personId: personId\r\n }\r\n );\r\n }\r\n\r\n export function removeContactAsync (\r\n context: IContext, contactPersonId:\r\n string,\r\n personId:\r\n string\r\n ): AsyncResult {\r\n const request = removeContactInput(contactPersonId, personId);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function getEligibleCustomersQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function getEligibleCustomersInput (\r\n queryResultSettings: IQueryResultSettings\r\n ): IDataServiceRequest {\r\n const query = getEligibleCustomersQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetEligibleCustomers',\r\n false, \r\n DataServiceEntities.EligibleCustomerEntityExtensionClass\r\n ,\r\n 'true',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IEligibleCustomerEntity' },\r\n {\r\n \r\n }\r\n );\r\n }\r\n\r\n export function getEligibleCustomersAsync (\r\n context: IContext\r\n ): AsyncResult {\r\n const request = getEligibleCustomersInput(\r\n context.queryResultSettings || {});\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function saveSessionCustomerQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function saveSessionCustomerInput (\r\n accountNum:\r\n string,\r\n contactPersonId:\r\n string,\r\n cartId:\r\n string\r\n ): IDataServiceRequest {\r\n const query = saveSessionCustomerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'SaveSessionCustomer',\r\n false, \r\n DataServiceEntities.SaveSessionCustomerResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.ISaveSessionCustomerResponse' },\r\n {\r\n accountNum: accountNum,\r\n contactPersonId: contactPersonId,\r\n cartId: cartId\r\n }\r\n );\r\n }\r\n\r\n export function saveSessionCustomerAsync (\r\n context: IContext, accountNum:\r\n string,\r\n contactPersonId:\r\n string,\r\n cartId:\r\n string\r\n ): AsyncResult {\r\n const request = saveSessionCustomerInput(accountNum, contactPersonId, cartId);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function getEligibleCustomersTotalQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function getEligibleCustomersTotalInput (\r\n cartId:\r\n string,\r\n checkoutCartId:\r\n string\r\n ): IDataServiceRequest {\r\n const query = getEligibleCustomersTotalQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetEligibleCustomersTotal',\r\n false, \r\n DataServiceEntities.GetEligibleCustomersTotalResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IGetEligibleCustomersTotalResponse' },\r\n {\r\n cartId: cartId,\r\n checkoutCartId: checkoutCartId\r\n }\r\n );\r\n }\r\n\r\n export function getEligibleCustomersTotalAsync (\r\n context: IContext, cartId:\r\n string,\r\n checkoutCartId:\r\n string\r\n ): AsyncResult {\r\n const request = getEligibleCustomersTotalInput(cartId, checkoutCartId);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function getUserInfoQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function getUserInfoInput (\r\n \r\n ): IDataServiceRequest {\r\n const query = getUserInfoQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetUserInfo',\r\n false, \r\n DataServiceEntities.GetUserInfoResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IGetUserInfoResponse' },\r\n {\r\n \r\n }\r\n );\r\n }\r\n\r\n export function getUserInfoAsync (\r\n context: IContext\r\n ): AsyncResult {\r\n const request = getUserInfoInput();\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n ","\r\n // @ts-ignore -- Unused import\r\n import * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n import * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\n // @ts-ignore -- Unused import\r\n import { jsonLightReadStringPropertyValue } from '@msdyn365-commerce/retail-proxy/dist/externals';\r\n\r\n \r\n /**\r\n * GetOrderAttributesResponse entity interface.\r\n */\r\n export interface IGetOrderAttributesResponse {\r\n Attributes?: string;\r\n }\r\n \r\n /**\r\n * GetUserInfoResponse entity interface.\r\n */\r\n export interface IGetUserInfoResponse {\r\n UserInfo?: IUserInfoEntity;\r\n }\r\n \r\n /**\r\n * UserInfoEntity entity interface.\r\n */\r\n export interface IUserInfoEntity {\r\n BusinessPartnerId?: string;\r\n B2BUserId?: string;\r\n IsB2BAdmin: number;\r\n ContactPersonID?: string;\r\n FirstName?: string;\r\n LastName?: string;\r\n Email?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n }\r\n \r\n /**\r\n * GetOrderAttributesResponse entity class.\r\n */\r\n export class GetOrderAttributesResponseExtensionClass implements IGetOrderAttributesResponse {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Attributes: 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.Attributes = odataObject.Attributes;\r\n \r\n }\r\n }\r\n\r\n /**\r\n * GetUserInfoResponse entity class.\r\n */\r\n export class GetUserInfoResponseExtensionClass implements IGetUserInfoResponse {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public UserInfo: \r\n IUserInfoEntity;\r\n \r\n // Navigation properties names\r\n \r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n if (odataObject.UserInfo === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.UserInfo = undefined;\r\n } else if (odataObject.UserInfo['@odata.type'] == null) {\r\n this.UserInfo = new UserInfoEntityExtensionClass(odataObject.UserInfo);\r\n } else {\r\n var className: string = odataObject.UserInfo['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.UserInfo = new EntityClasses[className](odataObject.UserInfo)\r\n }\r\n }\r\n\r\n \r\n }\r\n }\r\n\r\n /**\r\n * UserInfoEntity entity class.\r\n */\r\n export class UserInfoEntityExtensionClass implements IUserInfoEntity {\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public BusinessPartnerId: 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 B2BUserId: 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 IsB2BAdmin: 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 ContactPersonID: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public FirstName: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public LastName: string;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Email: 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.BusinessPartnerId = odataObject.BusinessPartnerId;\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.B2BUserId = odataObject.B2BUserId;\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.IsB2BAdmin = odataObject.IsB2BAdmin;\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.ContactPersonID = odataObject.ContactPersonID;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.FirstName = odataObject.FirstName;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.LastName = odataObject.LastName;\r\n \r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Email = odataObject.Email;\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 * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n * THIS FILE IS AN AUTOGENERATED TYPESCRIPT PROXY EXTENSION.\r\n * TO USE THIS FILE, IT MUST BE ADDED TO A D365COMMERCE APPLICATION\r\n */\r\n import {\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\n import * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n // @ts-ignore -- Unused import\r\n import * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\n import * as DataServiceEntities from './DataServiceEntities.g';\r\n\r\n \r\n function getOrderAttributesQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function getOrderAttributesInput (\r\n orderId:\r\n string\r\n ): IDataServiceRequest {\r\n const query = getOrderAttributesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetOrderAttributes',\r\n false, \r\n DataServiceEntities.GetOrderAttributesResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IGetOrderAttributesResponse' },\r\n {\r\n orderId: orderId\r\n }\r\n );\r\n }\r\n\r\n export function getOrderAttributesAsync (\r\n context: IContext, orderId:\r\n string\r\n ): AsyncResult {\r\n const request = getOrderAttributesInput(orderId);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function getUserInfoQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function getUserInfoInput (\r\n email:\r\n string\r\n ): IDataServiceRequest {\r\n const query = getUserInfoQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetUserInfo',\r\n false, \r\n DataServiceEntities.GetUserInfoResponseExtensionClass\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IGetUserInfoResponse' },\r\n {\r\n email: email\r\n }\r\n );\r\n }\r\n\r\n export function getUserInfoAsync (\r\n context: IContext, email:\r\n string\r\n ): AsyncResult {\r\n const request = getUserInfoInput(email);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n \r\n function checkDataQuery(): DataServiceQuery {\r\n return new DataServiceQuery();\r\n }\r\n\r\n \r\n export function checkDataInput (\r\n id:\r\n string,\r\n schema:\r\n string\r\n ): IDataServiceRequest {\r\n const query = checkDataQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'CheckData',\r\n false, \r\n ''\r\n ,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: '' },\r\n {\r\n id: id,\r\n schema: schema\r\n }\r\n );\r\n }\r\n\r\n export function checkDataAsync (\r\n context: IContext, id:\r\n string,\r\n schema:\r\n string\r\n ): AsyncResult {\r\n const request = checkDataInput(id, schema);\r\n return callActionOrExecute(request, context.callerContext);\r\n }\r\n ","/*--------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * See License.txt in the project root for license information.\r\n *--------------------------------------------------------------*/\r\n\r\nimport { buildCacheKey } from '@msdyn365-commerce-modules/retail-actions';\r\nimport {\r\n CacheType,\r\n createObservableDataAction,\r\n IAction,\r\n IActionContext,\r\n IActionInput,\r\n ICommerceApiSettings,\r\n ICreateActionContext\r\n} from '@msdyn365-commerce/core';\r\nimport { getEligibleCustomersTotalAsync } from './ContactActions/DataActionExtension.g';\r\nimport { IGetEligibleCustomersTotalResponse } from './ContactActions/DataServiceEntities.g';\r\n\r\n/**\r\n * Input class for get customer data action.\r\n */\r\nexport class CustomersTotalInput implements IActionInput {\r\n private readonly apiSettings: ICommerceApiSettings;\r\n\r\n constructor(apiSettings: ICommerceApiSettings) {\r\n this.apiSettings = apiSettings;\r\n }\r\n\r\n public getCacheKey = () => buildCacheKey('CustomersTotal', this.apiSettings);\r\n\r\n public getCacheObjectType = () => 'CustomersTotal';\r\n\r\n public dataCacheType = (): CacheType => 'none';\r\n}\r\n\r\nexport const createGetCustomersTotalInput = (inputData: ICreateActionContext): IActionInput => {\r\n const { requestContext } = inputData;\r\n\r\n // Check if the user is authenticated.\r\n if (!requestContext.user.isAuthenticated) {\r\n throw new Error('User is not logged in.');\r\n }\r\n\r\n return new CustomersTotalInput(requestContext.apiSettings);\r\n};\r\n\r\nexport async function getCustomersTotal(input: CustomersTotalInput, ctx: IActionContext): Promise {\r\n const cartId = ctx.requestContext.cookies.getCartCookie();\r\n const checkoutCartId = ctx.requestContext.cookies.getCheckoutCartCookie();\r\n return getEligibleCustomersTotalAsync({ callerContext: ctx }, cartId?.split(':')[1] || '', checkoutCartId?.split(':')[1] || '')\r\n .then(data => {\r\n return data;\r\n })\r\n .catch(error => {\r\n ctx.telemetry.exception(error);\r\n ctx.trace('[get-customers-total] Unable to load customers total');\r\n throw new Error('[get-customers-total] Unable to load customers total');\r\n });\r\n}\r\n\r\nexport const getCustomersTotalDataAction = createObservableDataAction({\r\n id: 'get-customer-total',\r\n action: >(getCustomersTotal),\r\n input: createGetCustomersTotalInput\r\n});\r\n\r\nexport default getCustomersTotalDataAction;\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as React from 'react';\r\nimport MsDyn365 from '@msdyn365-commerce/core';\r\nimport { IEveSoboCheckerData } from './eve-sobo-checker.data';\r\nimport { IEveSoboCheckerProps } from './eve-sobo-checker.props.autogenerated';\r\nimport { IEligibleCustomerEntity } from '../../actions/ContactActions/DataServiceEntities.g';\r\nimport { getEligibleCustomersAsync, saveSessionCustomerAsync } from '../../actions/ContactActions/DataActionExtension.g';\r\nimport { computed } from 'mobx';\r\nimport { checkDataAsync } from '../../actions/PeetsExtension/DataActionExtension.g';\r\n\r\nexport interface IEveSoboCheckerState {\r\n customersList: IEligibleCustomerEntity[];\r\n errorMessage: string;\r\n loaded: boolean;\r\n showModal: boolean;\r\n}\r\n\r\nexport interface IEveSoboCheckerViewProps extends IEveSoboCheckerProps {\r\n renderLink: React.ReactNode;\r\n renderTable: React.ReactNode;\r\n showModal: boolean;\r\n closeModal: any;\r\n cartNotEmpty: boolean;\r\n}\r\n\r\n/**\r\n *\r\n * EveSoboChecker component\r\n * @extends {React.PureComponent, IEveSoboCheckerState>}\r\n */\r\nclass EveSoboChecker extends React.PureComponent, IEveSoboCheckerState> {\r\n constructor(props: IEveSoboCheckerProps, state: IEveSoboCheckerData) {\r\n super(props);\r\n this.state = {\r\n customersList: [],\r\n errorMessage: '',\r\n loaded: false,\r\n showModal: false\r\n };\r\n }\r\n\r\n @computed private get cartNotEmpty(): boolean {\r\n const {\r\n data: {\r\n cart: { result }\r\n }\r\n } = this.props;\r\n return !!result?.cart.CartLines?.length;\r\n }\r\n\r\n private readonly _loadCustomers = async (): Promise => {\r\n const {\r\n context: { actionContext, telemetry },\r\n resources: { errorMessage }\r\n } = this.props;\r\n if (this.state.customersList.length) {\r\n return;\r\n }\r\n\r\n await getEligibleCustomersAsync({ callerContext: actionContext })\r\n .then((data: IEligibleCustomerEntity[]) => {\r\n if (data && data.length) {\r\n this.setState({\r\n customersList: data\r\n });\r\n } else {\r\n this.setState({\r\n customersList: [],\r\n errorMessage: errorMessage\r\n });\r\n }\r\n this.setState({\r\n loaded: true,\r\n showModal: true\r\n });\r\n })\r\n .catch(error => {\r\n telemetry.trace(error);\r\n this.setState({ loaded: true });\r\n });\r\n };\r\n\r\n private readonly _closeModal = () => {\r\n this.setState({\r\n showModal: false\r\n });\r\n };\r\n\r\n private readonly _selectCustomer = async (row: IEligibleCustomerEntity): Promise => {\r\n if (!row.AccountNumber || !row.ContactPersonID) {\r\n return;\r\n }\r\n const {\r\n context: { request, actionContext, telemetry },\r\n resources: { errorMessage }\r\n } = this.props;\r\n const cartId = request.cookies.getCartCookie();\r\n\r\n this.setState({ errorMessage: '' });\r\n await saveSessionCustomerAsync(\r\n { callerContext: actionContext },\r\n row.AccountNumber,\r\n row.ContactPersonID,\r\n cartId?.split(':')[1] || ''\r\n )\r\n .then((data: any) => {\r\n if (data?.Message === 'Success' || data?.Message === 'Cart exists') {\r\n window.location.reload();\r\n } else {\r\n console.log('error saving session customer');\r\n this.setState({ errorMessage: errorMessage });\r\n }\r\n })\r\n .catch(error => {\r\n telemetry.trace(error);\r\n });\r\n };\r\n\r\n private _renderTable = (): React.ReactNode => {\r\n const customersList = this.state.customersList;\r\n if (customersList.length) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {customersList.map(c => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n \r\n
Account NumberName
{c.AccountNumber}{c.Name}\r\n {c.IsSelected ? (\r\n
Selected
\r\n ) : (\r\n \r\n )}\r\n
\r\n );\r\n }\r\n return

{this.props.resources.noUsersText}

;\r\n };\r\n\r\n private _renderLink = (total: number, linkText: string): React.ReactNode => {\r\n if (total > 0) {\r\n let url = '/shop-as';\r\n if (MsDyn365.isBrowser) {\r\n const ocs = window.location.href.indexOf('/ocs') > 1;\r\n if (ocs) {\r\n url = '/ocs' + url;\r\n }\r\n const scr = window.location.href.indexOf('/scr') > 1;\r\n if (scr) {\r\n url = '/scr' + url;\r\n }\r\n\r\n if (document.referrer.indexOf('b2clogin.com') > -1 && window.location.href.toLowerCase().indexOf('shop-as') === -1) {\r\n this._loadCustomers();\r\n }\r\n }\r\n\r\n return {linkText};\r\n }\r\n return <>;\r\n };\r\n public render(): JSX.Element | null {\r\n if (MsDyn365.isBrowser) {\r\n document.addEventListener('CHECK_DATA', (data: any) => {\r\n checkDataAsync(\r\n { callerContext: this.props.context.actionContext },\r\n data.detail.id, data.detail.schema\r\n )\r\n .catch((error: Error) => {\r\n console.log(error);\r\n })\r\n .then((response: any) => {});\r\n });\r\n\r\n // JWilliams - 2024-07-04 - Prevent breaking checkout page on local environments\r\n // if (window.location.href.indexOf('localhost') > -1) {\r\n // setTimeout(() => {\r\n // let iframe = document.getElementsByTagName('iframe');\r\n // if (iframe.length) {\r\n // iframe[0].remove();\r\n // }\r\n // }, 1000);\r\n // }\r\n }\r\n\r\n const total = this.props.data.total.result?.Total || 0;\r\n const linkText = this.props.resources.shopAsLinkText;\r\n\r\n const viewProps = {\r\n ...this.props,\r\n cartNotEmpty: this.cartNotEmpty,\r\n renderTable: this._renderTable(),\r\n renderLink: this._renderLink(total, linkText),\r\n showModal: this.state.showModal,\r\n closeModal: this._closeModal\r\n };\r\n return this.props.renderView(viewProps);\r\n }\r\n}\r\n\r\nexport default EveSoboChecker;\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as React from 'react';\r\nimport { Button, Modal, ModalBody, ModalFooter } from '@msdyn365-commerce-modules/utilities';\r\nimport { IEveSoboCheckerViewProps } from './eve-sobo-checker';\r\n\r\nexport default (props: IEveSoboCheckerViewProps) => {\r\n const {\r\n showModal,\r\n closeModal,\r\n renderLink,\r\n renderTable,\r\n cartNotEmpty,\r\n resources: {\r\n cartWarning,\r\n selectUserHeading\r\n }\r\n } = props;\r\n \r\n return (\r\n
\r\n
\r\n {renderLink}\r\n
\r\n \r\n \r\n \r\n

{selectUserHeading}

\r\n
\r\n {cartNotEmpty ? cartWarning : renderTable} \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n );\r\n};\r\n","const binding = { modules: {}, dataActions: {} };\n\n const registerActionId = (actionPath) => {\n if (binding.dataActions[actionPath] &&\n binding.dataActions[actionPath].default &&\n binding.dataActions[actionPath].default.prototype &&\n binding.dataActions[actionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[actionPath].default.prototype.id] = binding.dataActions[actionPath];\n } else {\n Object.keys(binding.dataActions[actionPath] || {}).forEach(exportName => {\n if (binding.dataActions[actionPath][exportName] &&\n binding.dataActions[actionPath][exportName].prototype &&\n binding.dataActions[actionPath][exportName].prototype.Action) {\n binding.dataActions[binding.dataActions[actionPath][exportName].prototype.id] = binding.dataActions[actionPath][exportName];\n }\n })\n }\n };\n\n const registerSanitizedActionPath = (sanitizedActionPath, dataAction) => {\n if (process.env.NODE_ENV === 'development') {\n if (!dataAction.default) {\n throw new Error('Data action path does not have a default export');\n }\n if (!(dataAction.default.prototype.id && binding.dataActions[dataAction.default.prototype.id]) || !binding.dataActions[sanitizedActionPath]) {\n binding.dataActions[sanitizedActionPath] = dataAction;\n }\n } else {\n binding.dataActions[sanitizedActionPath] = dataAction;\n if (!binding.dataActions[sanitizedActionPath].default) {\n throw new Error('Data action path ' + sanitizedActionPath + ' does not have a default export');\n }\n binding.dataActions[sanitizedActionPath].default.prototype.RegistrationId = sanitizedActionPath;\n if (binding.dataActions[sanitizedActionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[sanitizedActionPath].default.prototype.id] = sanitizedActionPath;\n }\n }\n };\n \n\n (binding.modules['eve-sobo-checker'] = {\n c: () => require('partner/modules/eve-sobo-checker/eve-sobo-checker.tsx'),\n $type: 'contentModule',\n da: [{name:'cart', path:'@msdyn365-commerce/global-state/dist/lib/data-actions/cart-state-data-action', runOn: 0},{name:'total', path:'actions/get-customers-count', runOn: 1}],\n \n iNM: false,\n ns: '__local__',\n n: 'eve-sobo-checker',\n p: '__local__',\n \n pdp: '',\n \n \n md: 'src/modules/eve-sobo-checker'\n });\n \n\n {\n const sanitizedActionPath = '@msdyn365-commerce/global-state/dist/lib/data-actions/cart-state-data-action';\n let dataAction = require('@msdyn365-commerce/global-state/dist/lib/data-actions/cart-state-data-action');\n registerSanitizedActionPath(sanitizedActionPath, dataAction);\n }\n \n\n {\n const sanitizedActionPath = 'actions/get-customers-count';\n let dataAction = require('partner/actions/get-customers-count');\n registerSanitizedActionPath(sanitizedActionPath, dataAction);\n }\n \n\n \n window.__bindings__ = window.__bindings__ || {};\n window.__bindings__.modules = {\n ...window.__bindings__.modules || {},\n ...binding.modules\n };\n \n window.__bindings__.dataActions = {\n ...window.__bindings__.dataActions || {},\n ...binding.dataActions\n };\n export const viewDictionary = {};\n viewDictionary['__local__|__local__|modules|eve-sobo-checker|eve-sobo-checker'] = {\n c: () => require('partner/modules/eve-sobo-checker/eve-sobo-checker.view.tsx'),\n cn: '__local__-__local__-eve-sobo-checker'\n };\nwindow.__bindings__ = window.__bindings__ || {};\nwindow.__bindings__.viewDictionary = {\n ...window.__bindings__.viewDictionary || {},\n ...viewDictionary\n };","module.exports = React;","module.exports = ReactDOM;"],"names":["ContactEntityExtensionClass","constructor","odataObject","this","ContactPersonId","PersonId","BusinessPartnerId","FirstName","LastName","Email","SpendingLimit","parseFloat","IsAdmin","AccountNumber","B2BUserId","ExtensionProperties","undefined","i","length","className","substr","lastIndexOf","concat","EntityClasses","EligibleCustomerEntityExtensionClass","Name","ContactPersonID","IsSelected","UserInfoEntityExtensionClass","IsB2BAdmin","Phone","VatNumber","CreateContactResponseExtensionClass","Success","UpdateContactResponseExtensionClass","RemoveContactResponseExtensionClass","SaveSessionCustomerResponseExtensionClass","Message","GetEligibleCustomersTotalResponseExtensionClass","Total","ChargeOverriden","GetUserInfoResponseExtensionClass","UserInfo","getContactsInput","queryResultSettings","DataServiceQuery","resultSettings","createDataServiceRequestForOperation","DataServiceEntities","bypassCache","returnEntity","getContactsAsync","context","request","callActionOrExecute","callerContext","createContactInput","accountNum","firstName","lastName","email","createContactAsync","updateContactInput","contactPersonId","personId","updateContactAsync","removeContactInput","removeContactAsync","getEligibleCustomersInput","getEligibleCustomersAsync","saveSessionCustomerInput","cartId","saveSessionCustomerAsync","getEligibleCustomersTotalInput","checkoutCartId","getEligibleCustomersTotalAsync","getUserInfoInput","getUserInfoAsync","checkDataInput","id","schema","checkDataAsync","CustomersTotalInput","apiSettings","getCacheKey","buildCacheKey","getCacheObjectType","dataCacheType","createGetCustomersTotalInput","inputData","requestContext","user","isAuthenticated","Error","async","getCustomersTotal","input","ctx","cookies","getCartCookie","getCheckoutCartCookie","split","then","data","catch","error","telemetry","exception","trace","getCustomersTotalDataAction","createObservableDataAction","action","EveSoboChecker","React","props","state","super","_loadCustomers","actionContext","resources","errorMessage","customersList","setState","loaded","showModal","_closeModal","_selectCustomer","row","window","location","reload","console","log","_renderTable","map","c","type","onClick","noUsersText","_renderLink","total","linkText","url","MsDyn365","isBrowser","href","indexOf","document","referrer","toLowerCase","_result$cart$CartLine","cart","result","CartLines","render","_this$props$data$tota","addEventListener","detail","response","shopAsLinkText","viewProps","_objectSpread","cartNotEmpty","renderTable","renderLink","closeModal","renderView","__decorate","computed","cartWarning","selectUserHeading","Modal","isOpen","ModalBody","ModalFooter","Button","binding","modules","dataActions","registerSanitizedActionPath","sanitizedActionPath","dataAction","default","prototype","RegistrationId","require","$type","da","name","path","runOn","iNM","ns","n","p","pdp","md","__bindings__","viewDictionary","cn","module","exports","ReactDOM"],"sourceRoot":""}