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AW2C,EACXxC,YAAayC,EACbS,eAAgBR,EAChBC,SAAUA,GAGtB,CAcoBQ,CACZjB,EAAQW,qBAAuB,CAAC,EAChCV,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEJ,OAAOS,EAAAA,EAAAA,qBAA+DR,EAASV,EAAQmB,cAC3F,CAoGM,SAAUC,EACZpB,EACAqB,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,MAAMpD,EA/IJ,SACFW,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,OADcpE,IACDmB,qCACT,aACA,EACAf,EACA,QACA,CAAEgB,YAAa,MAAOC,aAAc,gEACpC,CACIM,aAAcA,EACdC,iBAAkBA,EAClBC,SAAUA,EACVC,gBAAiBA,EACjBC,iBAAkBA,EAClBC,WAAYA,EACZC,wBAAyBA,EACzBC,WAAYA,EACZC,SAAUA,EACVC,cAAeA,EACfC,eAAgBA,EAChBC,mBAAoBA,EACpBC,2BAA4BA,EAC5BC,wBAAyBA,EACzBC,iBAAkBA,EAClBC,qBAAsBA,EACtBC,+BAAgCA,EAChCC,qBAAsBA,EACtBC,mBAAoBA,EACpBC,qBAAsBA,EACtBC,QAASA,EACTC,SAAUA,EACVC,wBAAyBA,EACzBC,0BAA2BA,EAC3BC,UAAWA,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V,EAAQmB,cACxF","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 * CustomerIssueReportingEntity entity interface.\r\n */\r\nexport interface ICustomerIssueReportingEntity {\r\n RetailerDetails_StoreName?: string;\r\n RetailerDetails_ContactPerson?: string;\r\n RetailerDetails_Phone?: string;\r\n RetailerDetails_EmailAddress?: string;\r\n RetailerDetails_EmailAddress2?: string;\r\n InvoiceNumber?: string;\r\n CustomerInvoiceValue: number;\r\n Product?: string;\r\n Color?: string;\r\n RollNumber?: string;\r\n BatchNumber?: string;\r\n SerailNumber?: string;\r\n InvoiceName?: string;\r\n InvoiceDate?: string;\r\n ConsumerBalance: number;\r\n MetersInvolvedToRectify: number;\r\n TotalMetersInstalled: number;\r\n DateInstalled?: string;\r\n DateIssueReported?: string;\r\n ConsumersReceiveMaintenance: number;\r\n IsCarpetInstalled: number;\r\n IsPropertyOwner: number;\r\n WishOurInspection: number;\r\n Name?: string;\r\n Phone?: string;\r\n StreetAddressPrimary?: string;\r\n StreetAddressSecondary?: string;\r\n Suburb?: string;\r\n PostCode?: string;\r\n EmailAddress?: string;\r\n IssueRaisedByConcern?: string;\r\n InspectedBy?: string;\r\n InspectionDate?: string;\r\n RetailerInspectionPhone?: string;\r\n RetailerInspectionEmail?: string;\r\n PersonRetailerInspection?: string;\r\n CarpetLayerName?: string;\r\n CarpetLayerPhone?: string;\r\n IssueType: number;\r\n RetailerReport?: string;\r\n i_Image1?: string;\r\n i_Image2?: string;\r\n i_Image3?: string;\r\n i_Image4?: string;\r\n i_Image5?: string;\r\n i_imageId?: string;\r\n PDF?: string;\r\n RequestId: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * ComplaintDetailsAndImagesResponseEntity entity interface.\r\n */\r\nexport interface IComplaintDetailsAndImagesResponseEntity {\r\n id?: string;\r\n}\r\n\r\n/**\r\n * InventoryStockEntity entity interface.\r\n */\r\nexport interface IInventoryStockEntity {\r\n BactchId?: string;\r\n SerialId?: string;\r\n InventoryStatusId?: string;\r\n Qty: number;\r\n StockOnHand: number;\r\n Production: number;\r\n Intransit: number;\r\n Container?: string;\r\n ReferenceId?: string;\r\n ExpectedQty: number;\r\n ExpectedDate?: string;\r\n Description?: string;\r\n CompanyId?: string;\r\n ClearancePrice: number;\r\n ClearanceThreshold: number;\r\n TRInventoryStatusId?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * OrderHistoryEntity entity interface.\r\n */\r\nexport interface IOrderHistoryEntity {\r\n CustomerAccount?: string;\r\n OrderNo?: string;\r\n CreatedDateTime?: string;\r\n Items: number;\r\n Total: number;\r\n Origin?: string;\r\n POReference?: string;\r\n OrderHold?: string;\r\n Currency?: string;\r\n SalesId?: string;\r\n SalesStatus: number;\r\n OrderPlacedBy?: string;\r\n IsOrderPlacedBy: boolean;\r\n StaffId?: string;\r\n StaffName?: string;\r\n TransactionId?: string;\r\n ChannelId: number;\r\n DeliveryDateTime?: string;\r\n HoldExpiryDateTime?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * ComplaintInvoiceEntity entity interface.\r\n */\r\nexport interface IComplaintInvoiceEntity {\r\n CustomerAccount?: string;\r\n InvoiceId?: string;\r\n OrigSalesId?: string;\r\n ItemId?: string;\r\n InventColorId?: string;\r\n InventBatchId?: string;\r\n InventSerialId?: string;\r\n Name?: string;\r\n EcoResCategoryName?: string;\r\n Qty: number;\r\n SalesPrice: number;\r\n Amount: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * ComplaintHistoryEntity entity interface.\r\n */\r\nexport interface IComplaintHistoryEntity {\r\n CustomerAccount?: string;\r\n RequestId?: string;\r\n CreatedDate?: string;\r\n Email?: string;\r\n Status?: string;\r\n DocumentPdf?: string;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * IssueTypeEntity entity interface.\r\n */\r\nexport interface IIssueTypeEntity {\r\n Type?: string;\r\n Description?: string;\r\n ChannelId: number;\r\n DataAreaId?: string;\r\n RecordId: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * CustomerIssueReportingEntity entity class.\r\n */\r\nexport class CustomerIssueReportingEntityExtensionClass implements ICustomerIssueReportingEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public RetailerDetails_StoreName: 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 RetailerDetails_ContactPerson: 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 RetailerDetails_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 RetailerDetails_EmailAddress: 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 RetailerDetails_EmailAddress2: 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 InvoiceNumber: 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 CustomerInvoiceValue: 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 Product: 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 Color: 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 RollNumber: 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 BatchNumber: 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 SerailNumber: 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 InvoiceName: 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 InvoiceDate: 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 ConsumerBalance: 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 MetersInvolvedToRectify: 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 TotalMetersInstalled: 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 DateInstalled: 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 DateIssueReported: 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 ConsumersReceiveMaintenance: 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 IsCarpetInstalled: 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 IsPropertyOwner: 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 WishOurInspection: 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 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 StreetAddressPrimary: 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 StreetAddressSecondary: 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 Suburb: 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 PostCode: 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 EmailAddress: 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 IssueRaisedByConcern: 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 InspectedBy: 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 InspectionDate: 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 RetailerInspectionPhone: 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 RetailerInspectionEmail: 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 PersonRetailerInspection: 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 CarpetLayerName: 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 CarpetLayerPhone: 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 IssueType: 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 RetailerReport: 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 i_Image1: 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 i_Image2: 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 i_Image3: 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 i_Image4: 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 i_Image5: 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 i_imageId: 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 PDF: 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 RequestId: 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.RetailerDetails_StoreName = odataObject.RetailerDetails_StoreName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RetailerDetails_ContactPerson = odataObject.RetailerDetails_ContactPerson;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RetailerDetails_Phone = odataObject.RetailerDetails_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.RetailerDetails_EmailAddress = odataObject.RetailerDetails_EmailAddress;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RetailerDetails_EmailAddress2 = odataObject.RetailerDetails_EmailAddress2;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InvoiceNumber = odataObject.InvoiceNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CustomerInvoiceValue = odataObject.CustomerInvoiceValue ? parseFloat(odataObject.CustomerInvoiceValue) : 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.Product = odataObject.Product;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Color = odataObject.Color;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RollNumber = odataObject.RollNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.BatchNumber = odataObject.BatchNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SerailNumber = odataObject.SerailNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InvoiceName = odataObject.InvoiceName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InvoiceDate = odataObject.InvoiceDate;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumerBalance = odataObject.ConsumerBalance ? parseFloat(odataObject.ConsumerBalance) : 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.MetersInvolvedToRectify = odataObject.MetersInvolvedToRectify ? parseFloat(odataObject.MetersInvolvedToRectify) : 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.TotalMetersInstalled = odataObject.TotalMetersInstalled ? parseFloat(odataObject.TotalMetersInstalled) : 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.DateInstalled = odataObject.DateInstalled;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DateIssueReported = odataObject.DateIssueReported;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumersReceiveMaintenance = odataObject.ConsumersReceiveMaintenance;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IsCarpetInstalled = odataObject.IsCarpetInstalled;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IsPropertyOwner = odataObject.IsPropertyOwner;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.WishOurInspection = odataObject.WishOurInspection;\r\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.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.StreetAddressPrimary = odataObject.StreetAddressPrimary;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StreetAddressSecondary = odataObject.StreetAddressSecondary;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Suburb = odataObject.Suburb;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PostCode = odataObject.PostCode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.EmailAddress = odataObject.EmailAddress;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IssueRaisedByConcern = odataObject.IssueRaisedByConcern;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InspectedBy = odataObject.InspectedBy;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InspectionDate = odataObject.InspectionDate;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RetailerInspectionPhone = odataObject.RetailerInspectionPhone;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RetailerInspectionEmail = odataObject.RetailerInspectionEmail;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PersonRetailerInspection = odataObject.PersonRetailerInspection;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CarpetLayerName = odataObject.CarpetLayerName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CarpetLayerPhone = odataObject.CarpetLayerPhone;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IssueType = odataObject.IssueType ? parseInt(odataObject.IssueType, 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.RetailerReport = odataObject.RetailerReport;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.i_Image1 = odataObject.i_Image1;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.i_Image2 = odataObject.i_Image2;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.i_Image3 = odataObject.i_Image3;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.i_Image4 = odataObject.i_Image4;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.i_Image5 = odataObject.i_Image5;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.i_imageId = odataObject.i_imageId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PDF = odataObject.PDF;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.RequestId = odataObject.RequestId;\r\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 * ComplaintDetailsAndImagesResponseEntity entity class.\r\n */\r\nexport class ComplaintDetailsAndImagesResponseEntityExtensionClass implements IComplaintDetailsAndImagesResponseEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public id: 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.id = odataObject.id;\r\n }\r\n}\r\n\r\n/**\r\n * InventoryStockEntity entity class.\r\n */\r\nexport class InventoryStockEntityExtensionClass implements IInventoryStockEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public BactchId: 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 SerialId: 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 InventoryStatusId: 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 Qty: 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 StockOnHand: 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 Production: 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 Intransit: 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 Container: 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 ReferenceId: 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 ExpectedQty: 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 ExpectedDate: 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 CompanyId: 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 ClearancePrice: 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 ClearanceThreshold: 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 TRInventoryStatusId: 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.BactchId = odataObject.BactchId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SerialId = odataObject.SerialId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InventoryStatusId = odataObject.InventoryStatusId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Qty = odataObject.Qty ? parseFloat(odataObject.Qty) : 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.StockOnHand = odataObject.StockOnHand ? parseFloat(odataObject.StockOnHand) : 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.Production = odataObject.Production ? parseFloat(odataObject.Production) : 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.Intransit = odataObject.Intransit ? parseFloat(odataObject.Intransit) : 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.Container = odataObject.Container;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ReferenceId = odataObject.ReferenceId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExpectedQty = odataObject.ExpectedQty ? parseFloat(odataObject.ExpectedQty) : 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.ExpectedDate = odataObject.ExpectedDate;\r\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.CompanyId = odataObject.CompanyId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ClearancePrice = odataObject.ClearancePrice ? parseFloat(odataObject.ClearancePrice) : 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.ClearanceThreshold = odataObject.ClearanceThreshold ? parseFloat(odataObject.ClearanceThreshold) : 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.TRInventoryStatusId = odataObject.TRInventoryStatusId;\r\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 * OrderHistoryEntity entity class.\r\n */\r\nexport class OrderHistoryEntityExtensionClass implements IOrderHistoryEntity {\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 OrderNo: 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 CreatedDateTime: 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 Items: 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 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 Origin: 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 POReference: 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 OrderHold: 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 Currency: 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 SalesId: 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 SalesStatus: 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 OrderPlacedBy: 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 IsOrderPlacedBy: 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 StaffId: 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 StaffName: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TransactionId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public 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 DeliveryDateTime: 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 HoldExpiryDateTime: 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.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.OrderNo = odataObject.OrderNo;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CreatedDateTime = odataObject.CreatedDateTime;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Items = odataObject.Items ? parseFloat(odataObject.Items) : 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.Total = odataObject.Total ? parseFloat(odataObject.Total) : 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.Origin = odataObject.Origin;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.POReference = odataObject.POReference;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.OrderHold = odataObject.OrderHold;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Currency = odataObject.Currency;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SalesId = odataObject.SalesId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SalesStatus = odataObject.SalesStatus;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.OrderPlacedBy = odataObject.OrderPlacedBy;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IsOrderPlacedBy = odataObject.IsOrderPlacedBy;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StaffId = odataObject.StaffId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StaffName = odataObject.StaffName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TransactionId = odataObject.TransactionId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.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.DeliveryDateTime = odataObject.DeliveryDateTime;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.HoldExpiryDateTime = odataObject.HoldExpiryDateTime;\r\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 * ComplaintInvoiceEntity entity class.\r\n */\r\nexport class ComplaintInvoiceEntityExtensionClass implements IComplaintInvoiceEntity {\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 InvoiceId: 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 OrigSalesId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ItemId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public InventColorId: 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 InventBatchId: 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 InventSerialId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Name: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public EcoResCategoryName: 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 Qty: 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 SalesPrice: 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 Amount: 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.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.InvoiceId = odataObject.InvoiceId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.OrigSalesId = odataObject.OrigSalesId;\r\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.InventColorId = odataObject.InventColorId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InventBatchId = odataObject.InventBatchId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.InventSerialId = odataObject.InventSerialId;\r\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.EcoResCategoryName = odataObject.EcoResCategoryName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Qty = odataObject.Qty ? parseFloat(odataObject.Qty) : 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.SalesPrice = odataObject.SalesPrice ? parseFloat(odataObject.SalesPrice) : 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.Amount = odataObject.Amount ? parseFloat(odataObject.Amount) : 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 * ComplaintHistoryEntity entity class.\r\n */\r\nexport class ComplaintHistoryEntityExtensionClass implements IComplaintHistoryEntity {\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 RequestId: 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 CreatedDate: 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 Status: 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 DocumentPdf: 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.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.RequestId = odataObject.RequestId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CreatedDate = odataObject.CreatedDate;\r\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.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.DocumentPdf = odataObject.DocumentPdf;\r\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 * IssueTypeEntity entity class.\r\n */\r\nexport class IssueTypeEntityExtensionClass implements IIssueTypeEntity {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Type: 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 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 DataAreaId: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public 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 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.Type = odataObject.Type;\r\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.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.DataAreaId = odataObject.DataAreaId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.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.ExtensionProperties = undefined;\r\n if (odataObject.ExtensionProperties) {\r\n this.ExtensionProperties = [];\r\n for (var i = 0; i < odataObject.ExtensionProperties.length; i++) {\r\n if (odataObject.ExtensionProperties[i]) {\r\n if (odataObject.ExtensionProperties[i]['@odata.type']) {\r\n var className: string = odataObject.ExtensionProperties[i]['@odata.type'];\r\n className = className.substr(className.lastIndexOf('.') + 1).concat('Class');\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n this.ExtensionProperties[i] = new EntityClasses.CommercePropertyClass(odataObject.ExtensionProperties[i]);\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ExtensionProperties[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n * THIS FILE IS AN AUTOGENERATED TYPESCRIPT PROXY EXTENSION.\r\n * TO USE THIS FILE, IT MUST BE ADDED TO A D365COMMERCE APPLICATION\r\n */\r\nimport {\r\n AsyncResult,\r\n callActionOrExecute,\r\n DataServiceQuery,\r\n IContext,\r\n IDataServiceRequest,\r\n IQueryResultSettings,\r\n // @ts-ignore -- Unused import\r\n NullResult\r\n} from '@msdyn365-commerce/retail-proxy';\r\n// @ts-ignore -- Unused import\r\nimport * as EntityClasses from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g';\r\n// @ts-ignore -- Unused import\r\nimport * as Entities from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\nimport * as DataServiceEntities from './DataServiceEntities.g';\r\n\r\n// @ts-ignore\r\nfunction customControllerQuery(requestId?: string): DataServiceQuery {\r\n const key = requestId ? { RequestId: requestId } : null;\r\n return new DataServiceQuery(\r\n 'CustomController',\r\n 'CustomerIssueReportingEntity',\r\n DataServiceEntities.CustomerIssueReportingEntityExtensionClass,\r\n key\r\n );\r\n}\r\n\r\nexport function createGetOrderHistoryInput(\r\n queryResultSettings: IQueryResultSettings,\r\n customerAccount: string,\r\n orderNo: string,\r\n createdDateTime: string,\r\n origin: string,\r\n pOReference: string,\r\n orderHold: string,\r\n salesStatus: number,\r\n isOrderHistory: boolean,\r\n sortedBy: string\r\n): IDataServiceRequest {\r\n const query = customControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetOrderHistory',\r\n true,\r\n DataServiceEntities.OrderHistoryEntityExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IOrderHistoryEntity' },\r\n {\r\n CustomerAccount: customerAccount,\r\n OrderNo: orderNo,\r\n CreatedDateTime: createdDateTime,\r\n Origin: origin,\r\n POReference: pOReference,\r\n OrderHold: orderHold,\r\n SalesStatus: salesStatus,\r\n IsOrderHistory: isOrderHistory,\r\n sortedBy: sortedBy\r\n }\r\n );\r\n}\r\n\r\nexport function getOrderHistoryAsync(\r\n context: IContext,\r\n customerAccount: string,\r\n orderNo: string,\r\n createdDateTime: string,\r\n origin: string,\r\n pOReference: string,\r\n orderHold: string,\r\n salesStatus: number,\r\n isOrderHistory: boolean,\r\n sortedBy: string\r\n): AsyncResult {\r\n const request = createGetOrderHistoryInput(\r\n context.queryResultSettings || {},\r\n customerAccount,\r\n orderNo,\r\n createdDateTime,\r\n origin,\r\n pOReference,\r\n orderHold,\r\n salesStatus,\r\n isOrderHistory,\r\n sortedBy\r\n );\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createContactUsInput(\r\n rd_storeName: string,\r\n rd_contactPerson: string,\r\n rd_phone: string,\r\n rd_emailAddress: string,\r\n rd_emailAddress2: string,\r\n pd_invoice: string,\r\n pd_customerInvoiceValue: number,\r\n pd_product: string,\r\n pd_color: string,\r\n pd_rollNumber: string,\r\n pd_invoiceDate: string,\r\n pd_consumerBalance: number,\r\n pd_metersInvolvedToRectify: number,\r\n pd_totalMetersInstalled: number,\r\n pd_dateInstalled: string,\r\n pd_dateIssueReported: string,\r\n pd_consumersReceiveMaintenance: number,\r\n pd_isCarpetInstalled: number,\r\n pd_isPropertyOwner: number,\r\n pd_wishOurInspection: number,\r\n cd_Name: string,\r\n cd_Phone: string,\r\n cd_streetAddressPrimary: string,\r\n cd_streetAddressSecondary: string,\r\n cd_suburb: string,\r\n cd_postCode: string,\r\n cd_emailAddress: string,\r\n cd_issueRaisedByConcern: string,\r\n rid_inspectedBy: string,\r\n rid_inspectionDate: string,\r\n rid_retailerInspectionPhone: string,\r\n rid_retailerInspectionEmail: string,\r\n rid_personRetailerInspection: string,\r\n rid_carpetLayerName: string,\r\n rid_carpetLayerPhone: string,\r\n rid_issueType: number,\r\n rid_retailerReport: string,\r\n imageId: string,\r\n pd_serial: string,\r\n pd_batch: string,\r\n pd_invoiceName: string,\r\n pdf: string\r\n): IDataServiceRequest {\r\n const query = customControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'ContactUs',\r\n true,\r\n DataServiceEntities.ComplaintDetailsAndImagesResponseEntityExtensionClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IComplaintDetailsAndImagesResponseEntity' },\r\n {\r\n rd_storeName: rd_storeName,\r\n rd_contactPerson: rd_contactPerson,\r\n rd_phone: rd_phone,\r\n rd_emailAddress: rd_emailAddress,\r\n rd_emailAddress2: rd_emailAddress2,\r\n pd_invoice: pd_invoice,\r\n pd_customerInvoiceValue: pd_customerInvoiceValue,\r\n pd_product: pd_product,\r\n pd_color: pd_color,\r\n pd_rollNumber: pd_rollNumber,\r\n pd_invoiceDate: pd_invoiceDate,\r\n pd_consumerBalance: pd_consumerBalance,\r\n pd_metersInvolvedToRectify: pd_metersInvolvedToRectify,\r\n pd_totalMetersInstalled: pd_totalMetersInstalled,\r\n pd_dateInstalled: pd_dateInstalled,\r\n pd_dateIssueReported: pd_dateIssueReported,\r\n pd_consumersReceiveMaintenance: pd_consumersReceiveMaintenance,\r\n pd_isCarpetInstalled: pd_isCarpetInstalled,\r\n pd_isPropertyOwner: pd_isPropertyOwner,\r\n pd_wishOurInspection: pd_wishOurInspection,\r\n cd_Name: cd_Name,\r\n cd_Phone: cd_Phone,\r\n cd_streetAddressPrimary: cd_streetAddressPrimary,\r\n cd_streetAddressSecondary: cd_streetAddressSecondary,\r\n cd_suburb: cd_suburb,\r\n cd_postCode: cd_postCode,\r\n cd_emailAddress: cd_emailAddress,\r\n cd_issueRaisedByConcern: cd_issueRaisedByConcern,\r\n rid_inspectedBy: rid_inspectedBy,\r\n rid_inspectionDate: rid_inspectionDate,\r\n rid_retailerInspectionPhone: rid_retailerInspectionPhone,\r\n rid_retailerInspectionEmail: rid_retailerInspectionEmail,\r\n rid_personRetailerInspection: rid_personRetailerInspection,\r\n rid_carpetLayerName: rid_carpetLayerName,\r\n rid_carpetLayerPhone: rid_carpetLayerPhone,\r\n rid_issueType: rid_issueType,\r\n rid_retailerReport: rid_retailerReport,\r\n imageId: imageId,\r\n pd_serial: pd_serial,\r\n pd_batch: pd_batch,\r\n pd_invoiceName: pd_invoiceName,\r\n pdf: pdf\r\n }\r\n );\r\n}\r\n\r\nexport function contactUsAsync(\r\n context: IContext,\r\n rd_storeName: string,\r\n rd_contactPerson: string,\r\n rd_phone: string,\r\n rd_emailAddress: string,\r\n rd_emailAddress2: string,\r\n pd_invoice: string,\r\n pd_customerInvoiceValue: number,\r\n pd_product: string,\r\n pd_color: string,\r\n pd_rollNumber: string,\r\n pd_invoiceDate: string,\r\n pd_consumerBalance: number,\r\n pd_metersInvolvedToRectify: number,\r\n pd_totalMetersInstalled: number,\r\n pd_dateInstalled: string,\r\n pd_dateIssueReported: string,\r\n pd_consumersReceiveMaintenance: number,\r\n pd_isCarpetInstalled: number,\r\n pd_isPropertyOwner: number,\r\n pd_wishOurInspection: number,\r\n cd_Name: string,\r\n cd_Phone: string,\r\n cd_streetAddressPrimary: string,\r\n cd_streetAddressSecondary: string,\r\n cd_suburb: string,\r\n cd_postCode: string,\r\n cd_emailAddress: string,\r\n cd_issueRaisedByConcern: string,\r\n rid_inspectedBy: string,\r\n rid_inspectionDate: string,\r\n rid_retailerInspectionPhone: string,\r\n rid_retailerInspectionEmail: string,\r\n rid_personRetailerInspection: string,\r\n rid_carpetLayerName: string,\r\n rid_carpetLayerPhone: string,\r\n rid_issueType: number,\r\n rid_retailerReport: string,\r\n imageId: string,\r\n pd_serial: string,\r\n pd_batch: string,\r\n pd_invoiceName: string,\r\n pdf: string\r\n): AsyncResult {\r\n const request = createContactUsInput(\r\n rd_storeName,\r\n rd_contactPerson,\r\n rd_phone,\r\n rd_emailAddress,\r\n rd_emailAddress2,\r\n pd_invoice,\r\n pd_customerInvoiceValue,\r\n pd_product,\r\n pd_color,\r\n pd_rollNumber,\r\n pd_invoiceDate,\r\n pd_consumerBalance,\r\n pd_metersInvolvedToRectify,\r\n pd_totalMetersInstalled,\r\n pd_dateInstalled,\r\n pd_dateIssueReported,\r\n pd_consumersReceiveMaintenance,\r\n pd_isCarpetInstalled,\r\n pd_isPropertyOwner,\r\n pd_wishOurInspection,\r\n cd_Name,\r\n cd_Phone,\r\n cd_streetAddressPrimary,\r\n cd_streetAddressSecondary,\r\n cd_suburb,\r\n cd_postCode,\r\n cd_emailAddress,\r\n cd_issueRaisedByConcern,\r\n rid_inspectedBy,\r\n rid_inspectionDate,\r\n rid_retailerInspectionPhone,\r\n rid_retailerInspectionEmail,\r\n rid_personRetailerInspection,\r\n rid_carpetLayerName,\r\n rid_carpetLayerPhone,\r\n rid_issueType,\r\n rid_retailerReport,\r\n imageId,\r\n pd_serial,\r\n pd_batch,\r\n pd_invoiceName,\r\n pdf\r\n );\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createContactUsImagesInput(image: string, imageNum: number, id: string): IDataServiceRequest {\r\n const query = customControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'ContactUsImages',\r\n true,\r\n DataServiceEntities.ComplaintDetailsAndImagesResponseEntityExtensionClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IComplaintDetailsAndImagesResponseEntity' },\r\n { image: image, imageNum: imageNum, id: id }\r\n );\r\n}\r\n\r\nexport function contactUsImagesAsync(\r\n context: IContext,\r\n image: string,\r\n imageNum: number,\r\n id: string\r\n): AsyncResult {\r\n const request = createContactUsImagesInput(image, imageNum, id);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createContactUsImagesCancelInput(imageNum: number, id: string): IDataServiceRequest {\r\n const query = customControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'ContactUsImagesCancel',\r\n true,\r\n DataServiceEntities.ComplaintDetailsAndImagesResponseEntityExtensionClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'DataServiceEntities.IComplaintDetailsAndImagesResponseEntity' },\r\n { imageNum: imageNum, id: id }\r\n );\r\n}\r\n\r\nexport function contactUsImagesCancelAsync(\r\n context: IContext,\r\n imageNum: number,\r\n id: string\r\n): AsyncResult {\r\n const request = createContactUsImagesCancelInput(imageNum, id);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createAddOrderCustomFieldsInput(transactionId: string, customerReference: string, orderHold: number): IDataServiceRequest {\r\n const query = customControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'AddOrderCustomFields',\r\n true,\r\n '',\r\n 'false',\r\n { bypassCache: 'get', returnEntity: '' },\r\n { transactionId: transactionId, customerReference: customerReference, orderHold: orderHold }\r\n );\r\n}\r\n\r\nexport function addOrderCustomFieldsAsync(\r\n context: IContext,\r\n transactionId: string,\r\n customerReference: string,\r\n orderHold: number\r\n): AsyncResult {\r\n const request = createAddOrderCustomFieldsInput(transactionId, customerReference, orderHold);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createAddDeliveryDateInput(cartId: string, cartLineId: string, deliveryDate: string, cuts: string): IDataServiceRequest {\r\n const query = customControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'AddDeliveryDate',\r\n true,\r\n EntityClasses.CartClass,\r\n 'false',\r\n { bypassCache: 'get', returnEntity: 'Entities.Cart' },\r\n { CartId: cartId, cartLineId: cartLineId, deliveryDate: deliveryDate, cuts: cuts }\r\n );\r\n}\r\n\r\nexport function addDeliveryDateAsync(\r\n context: IContext,\r\n cartId: string,\r\n cartLineId: string,\r\n deliveryDate: string,\r\n cuts: string\r\n): AsyncResult {\r\n const request = createAddDeliveryDateInput(cartId, cartLineId, deliveryDate, cuts);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetInventoryStockInput(\r\n queryResultSettings: IQueryResultSettings,\r\n itemId: string,\r\n inventColorId: string,\r\n isBlindStock: boolean\r\n): IDataServiceRequest {\r\n const query = customControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetInventoryStock',\r\n true,\r\n DataServiceEntities.InventoryStockEntityExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IInventoryStockEntity' },\r\n { ItemId: itemId, InventColorId: inventColorId, IsBlindStock: isBlindStock }\r\n );\r\n}\r\n\r\nexport function getInventoryStockAsync(\r\n context: IContext,\r\n itemId: string,\r\n inventColorId: string,\r\n isBlindStock: boolean\r\n): AsyncResult {\r\n const request = createGetInventoryStockInput(context.queryResultSettings || {}, itemId, inventColorId, isBlindStock);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetComplaintInvoiceInput(\r\n queryResultSettings: IQueryResultSettings,\r\n customerAccount: string,\r\n invoiceNo: string,\r\n duration: number\r\n): IDataServiceRequest {\r\n const query = customControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetComplaintInvoice',\r\n true,\r\n DataServiceEntities.ComplaintInvoiceEntityExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IComplaintInvoiceEntity' },\r\n { CustomerAccount: customerAccount, InvoiceNo: invoiceNo, Duration: duration }\r\n );\r\n}\r\n\r\nexport function getComplaintInvoiceAsync(\r\n context: IContext,\r\n customerAccount: string,\r\n invoiceNo: string,\r\n duration: number\r\n): AsyncResult {\r\n const request = createGetComplaintInvoiceInput(context.queryResultSettings || {}, customerAccount, invoiceNo, duration);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetComplaintHistoryInput(\r\n queryResultSettings: IQueryResultSettings,\r\n customerAccount: string,\r\n isUserHistory: boolean\r\n): IDataServiceRequest {\r\n const query = customControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetComplaintHistory',\r\n true,\r\n DataServiceEntities.ComplaintHistoryEntityExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IComplaintHistoryEntity' },\r\n { CustomerAccount: customerAccount, IsUserHistory: isUserHistory }\r\n );\r\n}\r\n\r\nexport function getComplaintHistoryAsync(\r\n context: IContext,\r\n customerAccount: string,\r\n isUserHistory: boolean\r\n): AsyncResult {\r\n const request = createGetComplaintHistoryInput(context.queryResultSettings || {}, customerAccount, isUserHistory);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetComplaintPDFInput(requestId: string): IDataServiceRequest {\r\n const query = customControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'GetComplaintPDF',\r\n true,\r\n DataServiceEntities.ComplaintHistoryEntityExtensionClass,\r\n 'false',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IComplaintHistoryEntity' },\r\n { RequestId: requestId }\r\n );\r\n}\r\n\r\nexport function getComplaintPDFAsync(context: IContext, requestId: string): AsyncResult {\r\n const request = createGetComplaintPDFInput(requestId);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetCouponCodesInput(queryResultSettings: IQueryResultSettings, custAcccount: string): IDataServiceRequest {\r\n const query = customControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetCouponCodes',\r\n true,\r\n EntityClasses.CouponClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'Entities.Coupon' },\r\n { CustAcccount: custAcccount }\r\n );\r\n}\r\n\r\nexport function getCouponCodesAsync(context: IContext, custAcccount: string): AsyncResult {\r\n const request = createGetCouponCodesInput(context.queryResultSettings || {}, custAcccount);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createUpdateOrderHoldInput(orderNo: string): IDataServiceRequest {\r\n const query = customControllerQuery();\r\n return query.createDataServiceRequestForOperation(\r\n 'UpdateOrderHold',\r\n true,\r\n '',\r\n 'false',\r\n { bypassCache: 'get', returnEntity: '' },\r\n { OrderNo: orderNo }\r\n );\r\n}\r\n\r\nexport function updateOrderHoldAsync(context: IContext, orderNo: string): AsyncResult {\r\n const request = createUpdateOrderHoldInput(orderNo);\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n\r\nexport function createGetIssueTypeInput(queryResultSettings: IQueryResultSettings): IDataServiceRequest {\r\n const query = customControllerQuery().resultSettings(queryResultSettings);\r\n return query.createDataServiceRequestForOperation(\r\n 'GetIssueType',\r\n false,\r\n DataServiceEntities.IssueTypeEntityExtensionClass,\r\n 'true',\r\n { bypassCache: 'none', returnEntity: 'DataServiceEntities.IIssueTypeEntity' },\r\n {}\r\n );\r\n}\r\n\r\nexport function getIssueTypeAsync(context: IContext): AsyncResult {\r\n const request = createGetIssueTypeInput(context.queryResultSettings || {});\r\n return callActionOrExecute(request, context.callerContext);\r\n}\r\n"],"names":["CustomerIssueReportingEntityExtensionClass","constructor","odataObject","this","RetailerDetails_StoreName","RetailerDetails_ContactPerson","RetailerDetails_Phone","RetailerDetails_EmailAddress","RetailerDetails_EmailAddress2","InvoiceNumber","CustomerInvoiceValue","parseFloat","Product","Color","RollNumber","BatchNumber","SerailNumber","InvoiceName","InvoiceDate","ConsumerBalance","MetersInvolvedToRectify","TotalMetersInstalled","DateInstalled","DateIssueReported","ConsumersReceiveMaintenance","IsCarpetInstalled","IsPropertyOwner","WishOurInspection","Name","Phone","StreetAddressPrimary","StreetAddressSecondary","Suburb","PostCode","EmailAddress","IssueRaisedByConcern","InspectedBy","InspectionDate","RetailerInspectionPhone","RetailerInspectionEmail","PersonRetailerInspection","CarpetLayerName","CarpetLayerPhone","IssueType","parseInt","RetailerReport","i_Image1","i_Image2","i_Image3","i_Image4","i_Image5","i_imageId","PDF","RequestId","ExtensionProperties","undefined","i","length","className","substr","lastIndexOf","concat","EntityClasses","ComplaintDetailsAndImagesResponseEntityExtensionClass","id","InventoryStockEntityExtensionClass","BactchId","SerialId","InventoryStatusId","Qty","StockOnHand","Production","Intransit","Container","ReferenceId","ExpectedQty","ExpectedDate","Description","CompanyId","ClearancePrice","ClearanceThreshold","TRInventoryStatusId","OrderHistoryEntityExtensionClass","CustomerAccount","OrderNo","CreatedDateTime","Items","Total","Origin","POReference","OrderHold","Currency","SalesId","SalesStatus","OrderPlacedBy","IsOrderPlacedBy","StaffId","StaffName","TransactionId","ChannelId","DeliveryDateTime","HoldExpiryDateTime","ComplaintInvoiceEntityExtensionClass","InvoiceId","OrigSalesId","ItemId","InventColorId","InventBatchId","InventSerialId","EcoResCategoryName","SalesPrice","Amount","ComplaintHistoryEntityExtensionClass","CreatedDate","Email","Status","DocumentPdf","IssueTypeEntityExtensionClass","Type","DataAreaId","RecordId","customControllerQuery","requestId","key","DataServiceQuery","DataServiceEntities","getOrderHistoryAsync","context","customerAccount","orderNo","createdDateTime","origin","pOReference","orderHold","salesStatus","isOrderHistory","sortedBy","request","queryResultSettings","resultSettings","createDataServiceRequestForOperation","bypassCache","returnEntity","IsOrderHistory","createGetOrderHistoryInput","callActionOrExecute","callerContext","contactUsAsync","rd_storeName","rd_contactPerson","rd_phone","rd_emailAddress","rd_emailAddress2","pd_invoice","pd_customerInvoiceValue","pd_product","pd_color","pd_rollNumber","pd_invoiceDate","pd_consumerBalance","pd_metersInvolvedToRectify","pd_totalMetersInstalled","pd_dateInstalled","pd_dateIssueReported","pd_consumersReceiveMaintenance","pd_isCarpetInstalled","pd_isPropertyOwner","pd_wishOurInspection","cd_Name","cd_Phone","cd_streetAddressPrimary","cd_streetAddressSecondary","cd_suburb","cd_postCode","cd_emailAddress","cd_issueRaisedByConcern","rid_inspectedBy","rid_inspectionDate","rid_retailerInspectionPhone","rid_retailerInspectionEmail","rid_personRetailerInspection","rid_carpetLayerName","rid_carpetLayerPhone","rid_issueType","rid_retailerReport","imageId","pd_serial","pd_batch","pd_invoiceName","pdf","createContactUsInput","contactUsImagesAsync","image","imageNum","createContactUsImagesInput","contactUsImagesCancelAsync","createContactUsImagesCancelInput","addOrderCustomFieldsAsync","transactionId","customerReference","createAddOrderCustomFieldsInput","addDeliveryDateAsync","cartId","cartLineId","deliveryDate","cuts","CartId","createAddDeliveryDateInput","getInventoryStockAsync","itemId","inventColorId","isBlindStock","IsBlindStock","createGetInventoryStockInput","getComplaintInvoiceAsync","invoiceNo","duration","InvoiceNo","Duration","createGetComplaintInvoiceInput","getComplaintHistoryAsync","isUserHistory","IsUserHistory","createGetComplaintHistoryInput","getComplaintPDFAsync","createGetComplaintPDFInput","updateOrderHoldAsync","createUpdateOrderHoldInput","getIssueTypeAsync"],"sourceRoot":""}