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GAGA,OADcnB,IACDS,qCACX,eACA,EACAL,EACA,QACA,CACEM,YAAa,MACbC,aAAc,4CAEhB,CAAEQ,YAAaA,IAQDC,CAAuBD,GACvC,OAAON,EAAAA,EAAAA,qBACLL,EACAF,EAAQQ,eAqBN,SAAUO,EACdf,EACAU,GAEA,MAAMR,EArBF,SACJQ,GAGA,OADchB,IACDS,qCACX,cACA,EACAL,EACA,QACA,CACEM,YAAa,MACbC,aAAc,2CAEhB,CAAEK,YAAaA,IAQDM,CAAsBN,GACtC,OAAOH,EAAAA,EAAAA,qBACLL,EACAF,EAAQQ,eAmBN,SAAUS,EACdjB,EACAkB,GAEA,MAAMhB,EAnBF,SAAkCgB,GAEtC,OADcxB,IACDS,qCACX,gBACA,EACAL,EACA,QACA,CACEM,YAAa,OACbC,aAAc,6CAEhB,CAAEa,OAAQA,IAQIC,CAAwBD,GACxC,OAAOX,EAAAA,EAAAA,qBACLL,EACAF,EAAQQ,eAqBN,SAAUY,EACdpB,EACAqB,GAEA,MAAMnB,EArBF,SACJmB,GAGA,OADc3B,IACDS,qCACX,mBACA,EACAL,EACA,QACA,CACEM,YAAa,OACbC,aAAc,gDAEhB,CAAEgB,eAAgBA,IAQJC,CAA2BD,GAC3C,OAAOd,EAAAA,EAAAA,qBACLL,EACAF,EAAQQ,eAqBN,SAAUe,EACdvB,EACAwB,GAEA,MAAMtB,EArBF,SACJsB,GAGA,OADc9B,IACDS,qCACX,2BACA,EACAL,EACA,QACA,CACEM,YAAa,OACbC,aAAc,2CAEhB,CAAEmB,aAAcA,IAQFC,CAAmCD,GACnD,OAAOjB,EAAAA,EAAAA,qBACLL,EACAF,EAAQQ,eA6CN,SAAUkB,EACd1B,GAEA,MAAME,EAjBQR,IACDS,qCACX,mBACA,EACAL,EACA,QACA,CACEM,YAAa,OACbC,aAAc,6CAEhB,IAQF,OAAOE,EAAAA,EAAAA,qBACLL,EACAF,EAAQQ","sources":["webpack://@msdyn365-commerce-partners/fabrikam/./src/actions/ClaimManagementDataServiceEntities.g.ts?0f50","webpack://@msdyn365-commerce-partners/fabrikam/./src/actions/ClaimManagementDataActionExtension.g.ts?1a7b"],"sourcesContent":["// tslint:disable\r\nimport * as EntityClasses from \"@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g\";\r\nimport * as Entities from \"@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g\";\r\nimport { jsonLightReadStringPropertyValue } from \"@msdyn365-commerce/retail-proxy/dist/externals\";\r\n\r\n/**\r\n * Cases entity interface.\r\n */\r\nexport interface ICases {\r\n Id: number;\r\n ExtensionProperties?: Entities.CommerceProperty[];\r\n}\r\n\r\n/**\r\n * AllCustomerCasesResponse entity interface.\r\n */\r\nexport interface IAllCustomerCasesResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Data?: IAllCustomerCases;\r\n}\r\n\r\n/**\r\n * CreateCaseResponse entity interface.\r\n */\r\nexport interface ICreateCaseResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Data?: ICase;\r\n}\r\n\r\n/**\r\n * UpdateClaimResponse entity interface.\r\n */\r\nexport interface IUpdateClaimResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Message?: string;\r\n}\r\n\r\n/**\r\n * UpdateCaseResponse entity interface.\r\n */\r\nexport interface IUpdateCaseResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Data?: ICase;\r\n}\r\n\r\n/**\r\n * GetCaseNotesResponse entity interface.\r\n */\r\nexport interface IGetCaseNotesResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Data?: ICaseNotes;\r\n}\r\n\r\n/**\r\n * GetSpecificCaseResponse entity interface.\r\n */\r\nexport interface IGetSpecificCaseResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Line_Data?: ILineData;\r\n Data?: ICaseData;\r\n}\r\n\r\n/**\r\n * GetLatestNoteResponse entity interface.\r\n */\r\nexport interface IGetLatestNoteResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Data?: ILatestNotes;\r\n}\r\n\r\n/**\r\n * ClaimReasonsResponse entity interface.\r\n */\r\nexport interface IClaimReasonsResponse {\r\n Success: boolean;\r\n Exception?: string;\r\n Data?: IClaimReasons;\r\n}\r\n\r\n/**\r\n * GetCrtTableFields entity interface.\r\n */\r\nexport interface IGetCrtTableFields {\r\n Success: boolean;\r\n Exception?: string;\r\n Data?: string;\r\n}\r\n\r\n/**\r\n * AllCustomerCases entity interface.\r\n */\r\nexport interface IAllCustomerCases {\r\n OdataContext?: string;\r\n Value?: IValue[];\r\n}\r\n\r\n/**\r\n * Value entity interface.\r\n */\r\nexport interface IValue {\r\n ODataEtag?: string;\r\n TicketNumber?: string;\r\n CreatedOn: Date;\r\n StatusCode: number;\r\n Br_ClaimCity?: string;\r\n New_NotifyMePerEmailWhenClaimIsUpdated?: string;\r\n New_ConsumerName?: string;\r\n Description?: string;\r\n New_ShipmentTrackingId?: string;\r\n New_InvoiceNumber?: string;\r\n IncidentId?: string;\r\n new_confirmationemail?: string;\r\n new_contactpersonname?: string;\r\n SubjectId?: ISubjectid;\r\n Customerid_account?: ICustomerid_Account;\r\n PrimaryContactId?: IPrimarycontactid;\r\n new_ClaimReasonId?: INew_ClaimReasonId;\r\n Incident_Annotation?: IIncidentAnnotation[];\r\n}\r\n\r\n/**\r\n * Subjectid entity interface.\r\n */\r\nexport interface ISubjectid {\r\n Title?: string;\r\n SubjectId?: string;\r\n}\r\n\r\n/**\r\n * Customerid_Account entity interface.\r\n */\r\nexport interface ICustomerid_Account {\r\n Accountnumber?: string;\r\n Accountid?: string;\r\n}\r\n\r\n/**\r\n * Primarycontactid entity interface.\r\n */\r\nexport interface IPrimarycontactid {\r\n Emailaddress1?: string;\r\n Contactid?: string;\r\n}\r\n\r\n/**\r\n * New_ClaimReasonId entity interface.\r\n */\r\nexport interface INew_ClaimReasonId {\r\n new_ClaimReasonId?: string;\r\n new_name?: string;\r\n}\r\n\r\n/**\r\n * IncidentAnnotation entity interface.\r\n */\r\nexport interface IIncidentAnnotation {\r\n notetext?: string;\r\n createdon?: string;\r\n annotationid?: string;\r\n objecttypecode?: string;\r\n isdocument: boolean;\r\n}\r\n\r\n/**\r\n * Case entity interface.\r\n */\r\nexport interface ICase {\r\n incidentid?: string;\r\n ticketnumber?: string;\r\n}\r\n\r\n/**\r\n * CaseNotes entity interface.\r\n */\r\nexport interface ICaseNotes {\r\n ODataContext?: string;\r\n Value?: ICaseNote[];\r\n}\r\n\r\n/**\r\n * CaseNote entity interface.\r\n */\r\nexport interface ICaseNote {\r\n ODataETag?: string;\r\n NoteText?: string;\r\n FileName?: string;\r\n IsDocument: boolean;\r\n DocumentBody?: string;\r\n CreatedOn?: string;\r\n AnnotationId?: string;\r\n CreatedBy?: ICreatedBy;\r\n}\r\n\r\n/**\r\n * CreatedBy entity interface.\r\n */\r\nexport interface ICreatedBy {\r\n FullName?: string;\r\n SystemUserId?: string;\r\n OwnerId?: string;\r\n}\r\n\r\n/**\r\n * LineData entity interface.\r\n */\r\nexport interface ILineData {\r\n ODataContext?: string;\r\n Value?: ILine_Level[];\r\n}\r\n\r\n/**\r\n * Line_Level entity interface.\r\n */\r\nexport interface ILine_Level {\r\n ODataETag?: string;\r\n New_ClaimedProductColour?: string;\r\n New_ProductSerialNumber?: string;\r\n New_HasThisProductBeenInAnAccident: boolean;\r\n New_Comment?: string;\r\n New_ClaimId?: string;\r\n new_ClaimReasonId?: INew_ClaimReasonId;\r\n new_ProductId?: IProductid;\r\n}\r\n\r\n/**\r\n * Productid entity interface.\r\n */\r\nexport interface IProductid {\r\n Productnumber?: string;\r\n ProductId?: string;\r\n name?: string;\r\n}\r\n\r\n/**\r\n * CaseData entity interface.\r\n */\r\nexport interface ICaseData {\r\n ODataContext?: string;\r\n Value?: ICustomerCase[];\r\n}\r\n\r\n/**\r\n * CustomerCase entity interface.\r\n */\r\nexport interface ICustomerCase {\r\n ODataETag?: string;\r\n TicketNumber?: string;\r\n CreatedOn?: string;\r\n StatusCode?: string;\r\n EmailAddress?: string;\r\n Br_DeliveryAddress?: string;\r\n Br_Country?: string;\r\n Br_ClaimCity?: string;\r\n Br_ClaimPostCode?: string;\r\n Br_ClaimStreet?: string;\r\n New_NotifyMePerEmailWhenClaimIsUpdated?: string;\r\n New_ConsumerName?: string;\r\n New_ConsumerContactDetails?: string;\r\n New_CustomerConfirmedThePrivacyPolicy?: string;\r\n Description?: string;\r\n New_OrderNumber?: string;\r\n New_OrderDate?: string;\r\n New_SalesOrderLineNumber?: string;\r\n Br_DateOfPurchase?: string;\r\n New_SerialNumber?: string;\r\n Br_HasThisProductBeenInAnAccident?: string;\r\n Br_TrackingNumber?: string;\r\n New_ShipmentTrackingId?: string;\r\n New_LoadId?: string;\r\n New_DeliveryNoteId?: string;\r\n New_InvoiceNumber?: string;\r\n New_InvoiceDate?: string;\r\n New_InvoiceLineNumber?: string;\r\n IncidentId?: string;\r\n new_customercountry?: string;\r\n new_customercity?: string;\r\n new_customerstreet?: string;\r\n new_customerpostcode?: string;\r\n new_nonewarrantycase: boolean;\r\n new_confirmationemail?: string;\r\n new_contactpersonname?: string;\r\n SubjectId?: ISubjectid;\r\n Customerid_account?: ICustomerid_Account;\r\n PrimaryContactId?: IPrimarycontactid;\r\n}\r\n\r\n/**\r\n * LatestNotes entity interface.\r\n */\r\nexport interface ILatestNotes {\r\n ODataContext?: string;\r\n Value?: ICaseNote[];\r\n}\r\n\r\n/**\r\n * ClaimReasons entity interface.\r\n */\r\nexport interface IClaimReasons {\r\n Value?: IClaimReason[];\r\n}\r\n\r\n/**\r\n * ClaimReason entity interface.\r\n */\r\nexport interface IClaimReason {\r\n new_claimreasonid?: string;\r\n new_name?: string;\r\n new_price: boolean;\r\n new_shipment: boolean;\r\n new_product: boolean;\r\n new_commentRequired: boolean;\r\n new_receivedQuantityRequired: boolean;\r\n}\r\n\r\n/**\r\n * CaseWithAttachment entity interface.\r\n */\r\nexport interface ICaseWithAttachment {\r\n StatusCodes: number;\r\n SubjectIdOdataBind?: string;\r\n CustomerIdAccountOdataBind?: string;\r\n ContactPersonName?: string;\r\n ConfirmationEmailAddress?: string;\r\n ConsumerName?: string;\r\n ConsumerContact?: string;\r\n DeliveryAddress?: string;\r\n ConsumerCountry?: string;\r\n ConsumerCity?: string;\r\n ConsumerStreet?: string;\r\n ConsumerPostCode?: string;\r\n Country?: string;\r\n City?: string;\r\n Street?: string;\r\n PostCode?: string;\r\n Br_DateOfPurchase?: string;\r\n NonWarrantyCase: boolean;\r\n NotifyMePerEmailWhenClaimIsUpdated: boolean;\r\n PrimaryContactIdOdataBind?: string;\r\n EmailAddress?: string;\r\n CustomerConfirmedThePrivacyPolicy: boolean;\r\n ClaimDescription?: string;\r\n SaleOrderNumber?: string;\r\n New_OrderDate?: string;\r\n New_InvoiceNumber?: string;\r\n New_InvoiceDate?: string;\r\n New_InvoiceLineNumber?: string;\r\n ClaimSession?: string;\r\n Lines?: ILines[];\r\n}\r\n\r\n/**\r\n * UpdateClaim entity interface.\r\n */\r\nexport interface IUpdateClaim {\r\n IncidentId?: string;\r\n NotifyMePerEmailWhenClaimIsUpdated: boolean;\r\n}\r\n\r\n/**\r\n * UpdateCase entity interface.\r\n */\r\nexport interface IUpdateCase {\r\n NoteText?: string;\r\n FileName?: string;\r\n IsDocument: boolean;\r\n DocumentBody?: string;\r\n IncidentId?: string;\r\n}\r\n\r\n/**\r\n * Lines entity interface.\r\n */\r\nexport interface ILines {\r\n IncidentId?: string;\r\n D365itemnumber?: string;\r\n Color?: string;\r\n ProductIdOdataBind?: string;\r\n SerialNumber?: string;\r\n ClaimReason?: string;\r\n HasThisProductBeenInAnAccident: boolean;\r\n Comment?: string;\r\n ShipmentId?: string;\r\n TrackingNumber?: string;\r\n DeliveryNoteNumber?: string;\r\n EANCode?: string;\r\n}\r\n\r\n/**\r\n * Cases entity class.\r\n */\r\nexport class CasesExtensionClass implements ICases {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Id: number;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ExtensionProperties: Entities.CommerceProperty[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Id = odataObject.Id;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.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 =\r\n odataObject.ExtensionProperties[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.ExtensionProperties[i] = new EntityClasses[className](\r\n odataObject.ExtensionProperties[i]\r\n );\r\n }\r\n } else {\r\n this.ExtensionProperties[i] =\r\n new EntityClasses.CommercePropertyClass(\r\n 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 * AllCustomerCasesResponse entity class.\r\n */\r\nexport class AllCustomerCasesResponseExtensionClass\r\n implements IAllCustomerCasesResponse\r\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Data: IAllCustomerCases;\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n if (odataObject.Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = undefined;\r\n } else if (odataObject.Data[\"@odata.type\"] == null) {\r\n this.Data = new AllCustomerCasesExtensionClass(odataObject.Data);\r\n } else {\r\n var className: string = odataObject.Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Data = new EntityClasses[className](odataObject.Data);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * CreateCaseResponse entity class.\r\n */\r\nexport class CreateCaseResponseExtensionClass implements ICreateCaseResponse {\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Data: ICase;\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n if (odataObject.Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = undefined;\r\n } else if (odataObject.Data[\"@odata.type\"] == null) {\r\n this.Data = new CaseExtensionClass(odataObject.Data);\r\n } else {\r\n var className: string = odataObject.Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Data = new EntityClasses[className](odataObject.Data);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * UpdateClaimResponse entity class.\r\n */\r\nexport class UpdateClaimResponseExtensionClass implements IUpdateClaimResponse {\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 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.Success = odataObject.Success;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\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 * UpdateCaseResponse entity class.\r\n */\r\nexport class UpdateCaseResponseExtensionClass implements IUpdateCaseResponse {\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Data: ICase;\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n if (odataObject.Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = undefined;\r\n } else if (odataObject.Data[\"@odata.type\"] == null) {\r\n this.Data = new CaseExtensionClass(odataObject.Data);\r\n } else {\r\n var className: string = odataObject.Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Data = new EntityClasses[className](odataObject.Data);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * GetCaseNotesResponse entity class.\r\n */\r\nexport class GetCaseNotesResponseExtensionClass\r\n implements IGetCaseNotesResponse\r\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Data: ICaseNotes;\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n if (odataObject.Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = undefined;\r\n } else if (odataObject.Data[\"@odata.type\"] == null) {\r\n this.Data = new CaseNotesExtensionClass(odataObject.Data);\r\n } else {\r\n var className: string = odataObject.Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Data = new EntityClasses[className](odataObject.Data);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * GetSpecificCaseResponse entity class.\r\n */\r\nexport class GetSpecificCaseResponseExtensionClass\r\n implements IGetSpecificCaseResponse\r\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Line_Data: ILineData;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Data: ICaseData;\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n if (odataObject.Line_Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Line_Data = undefined;\r\n } else if (odataObject.Line_Data[\"@odata.type\"] == null) {\r\n this.Line_Data = new LineDataExtensionClass(odataObject.Line_Data);\r\n } else {\r\n var className: string = odataObject.Line_Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Line_Data = new EntityClasses[className](odataObject.Line_Data);\r\n }\r\n }\r\n\r\n if (odataObject.Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = undefined;\r\n } else if (odataObject.Data[\"@odata.type\"] == null) {\r\n this.Data = new CaseDataExtensionClass(odataObject.Data);\r\n } else {\r\n var className: string = odataObject.Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Data = new EntityClasses[className](odataObject.Data);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * GetLatestNoteResponse entity class.\r\n */\r\nexport class GetLatestNoteResponseExtensionClass\r\n implements IGetLatestNoteResponse\r\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Data: ILatestNotes;\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n if (odataObject.Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = undefined;\r\n } else if (odataObject.Data[\"@odata.type\"] == null) {\r\n this.Data = new LatestNotesExtensionClass(odataObject.Data);\r\n } else {\r\n var className: string = odataObject.Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Data = new EntityClasses[className](odataObject.Data);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * ClaimReasonsResponse entity class.\r\n */\r\nexport class ClaimReasonsResponseExtensionClass\r\n implements IClaimReasonsResponse\r\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Data: IClaimReasons;\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n if (odataObject.Data === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = undefined;\r\n } else if (odataObject.Data[\"@odata.type\"] == null) {\r\n this.Data = new ClaimReasonsExtensionClass(odataObject.Data);\r\n } else {\r\n var className: string = odataObject.Data[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Data = new EntityClasses[className](odataObject.Data);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * GetCrtTableFields entity class.\r\n */\r\nexport class GetCrtTableFieldsExtensionClass implements IGetCrtTableFields {\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 // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Exception: 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 Data: 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.Success = odataObject.Success;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Exception = odataObject.Exception;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Data = odataObject.Data;\r\n }\r\n}\r\n\r\n/**\r\n * AllCustomerCases entity class.\r\n */\r\nexport class AllCustomerCasesExtensionClass implements IAllCustomerCases {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public OdataContext: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Value: IValue[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.OdataContext = odataObject.OdataContext;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Value = undefined;\r\n if (odataObject.Value) {\r\n this.Value = [];\r\n for (var i = 0; i < odataObject.Value.length; i++) {\r\n if (odataObject.Value[i]) {\r\n if (odataObject.Value[i][\"@odata.type\"]) {\r\n var className: string = odataObject.Value[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Value[i] = new EntityClasses[className](\r\n odataObject.Value[i]\r\n );\r\n }\r\n } else {\r\n this.Value[i] = new ValueExtensionClass(odataObject.Value[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.Value[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * Value entity class.\r\n */\r\nexport class ValueExtensionClass implements IValue {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataEtag: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TicketNumber: 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 CreatedOn: Date;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public StatusCode: 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 Br_ClaimCity: 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 New_NotifyMePerEmailWhenClaimIsUpdated: 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 New_ConsumerName: 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 New_ShipmentTrackingId: 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 New_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 IncidentId: 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 new_confirmationemail: 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 new_contactpersonname: 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 SubjectId: ISubjectid;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Customerid_account: ICustomerid_Account;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public PrimaryContactId: IPrimarycontactid;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public new_ClaimReasonId: INew_ClaimReasonId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Incident_Annotation: IIncidentAnnotation[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataEtag = odataObject.ODataEtag;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TicketNumber = odataObject.TicketNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CreatedOn =\r\n odataObject.CreatedOn instanceof Date\r\n ? odataObject.CreatedOn\r\n : odataObject.CreatedOn\r\n ? jsonLightReadStringPropertyValue(\r\n odataObject.CreatedOn,\r\n \"Edm.DateTimeOffset\",\r\n false\r\n )\r\n : undefined;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StatusCode = odataObject.StatusCode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_ClaimCity = odataObject.Br_ClaimCity;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_NotifyMePerEmailWhenClaimIsUpdated =\r\n odataObject.New_NotifyMePerEmailWhenClaimIsUpdated;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_ConsumerName = odataObject.New_ConsumerName;\r\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.New_ShipmentTrackingId = odataObject.New_ShipmentTrackingId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_InvoiceNumber = odataObject.New_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.IncidentId = odataObject.IncidentId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_confirmationemail = odataObject.new_confirmationemail;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_contactpersonname = odataObject.new_contactpersonname;\r\n\r\n if (odataObject.SubjectId === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SubjectId = undefined;\r\n } else if (odataObject.SubjectId[\"@odata.type\"] == null) {\r\n this.SubjectId = new SubjectidExtensionClass(odataObject.SubjectId);\r\n } else {\r\n var className: string = odataObject.SubjectId[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.SubjectId = new EntityClasses[className](odataObject.SubjectId);\r\n }\r\n }\r\n\r\n if (odataObject.Customerid_account === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Customerid_account = undefined;\r\n } else if (odataObject.Customerid_account[\"@odata.type\"] == null) {\r\n this.Customerid_account = new Customerid_AccountExtensionClass(\r\n odataObject.Customerid_account\r\n );\r\n } else {\r\n var className: string = odataObject.Customerid_account[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Customerid_account = new EntityClasses[className](\r\n odataObject.Customerid_account\r\n );\r\n }\r\n }\r\n\r\n if (odataObject.PrimaryContactId === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PrimaryContactId = undefined;\r\n } else if (odataObject.PrimaryContactId[\"@odata.type\"] == null) {\r\n this.PrimaryContactId = new PrimarycontactidExtensionClass(\r\n odataObject.PrimaryContactId\r\n );\r\n } else {\r\n var className: string = odataObject.PrimaryContactId[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.PrimaryContactId = new EntityClasses[className](\r\n odataObject.PrimaryContactId\r\n );\r\n }\r\n }\r\n\r\n if (\r\n odataObject.new_ClaimReasonId === null ||\r\n odataObject.new_ClaimReasonId === undefined\r\n ) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_ClaimReasonId = undefined;\r\n } else if (odataObject.new_ClaimReasonId[\"@odata.type\"] == null) {\r\n this.new_ClaimReasonId = new New_ClaimReasonIdExtensionClass(\r\n odataObject.new_ClaimReasonId\r\n );\r\n } else {\r\n var className: string = odataObject.new_ClaimReasonId[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.new_ClaimReasonId = new EntityClasses[className](\r\n odataObject.new_ClaimReasonId\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.Incident_Annotation = undefined;\r\n if (odataObject.Incident_Annotation) {\r\n this.Incident_Annotation = [];\r\n for (var i = 0; i < odataObject.Incident_Annotation.length; i++) {\r\n if (odataObject.Incident_Annotation[i]) {\r\n if (odataObject.Incident_Annotation[i][\"@odata.type\"]) {\r\n var className: string =\r\n odataObject.Incident_Annotation[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Incident_Annotation[i] = new EntityClasses[className](\r\n odataObject.Incident_Annotation[i]\r\n );\r\n }\r\n } else {\r\n this.Incident_Annotation[i] = new IncidentAnnotationExtensionClass(\r\n odataObject.Incident_Annotation[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.Incident_Annotation[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * Subjectid entity class.\r\n */\r\nexport class SubjectidExtensionClass implements ISubjectid {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Title: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public SubjectId: 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.Title = odataObject.Title;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SubjectId = odataObject.SubjectId;\r\n }\r\n}\r\n\r\n/**\r\n * Customerid_Account entity class.\r\n */\r\nexport class Customerid_AccountExtensionClass implements ICustomerid_Account {\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 Accountid: 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.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.Accountid = odataObject.Accountid;\r\n }\r\n}\r\n\r\n/**\r\n * Primarycontactid entity class.\r\n */\r\nexport class PrimarycontactidExtensionClass implements IPrimarycontactid {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Emailaddress1: 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 Contactid: 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.Emailaddress1 = odataObject.Emailaddress1;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Contactid = odataObject.Contactid;\r\n }\r\n}\r\n\r\n/**\r\n * New_ClaimReasonId entity class.\r\n */\r\nexport class New_ClaimReasonIdExtensionClass implements INew_ClaimReasonId {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public new_ClaimReasonId: 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 new_name: 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.new_ClaimReasonId = odataObject.new_ClaimReasonId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_name = odataObject.new_name;\r\n }\r\n}\r\n\r\n/**\r\n * IncidentAnnotation entity class.\r\n */\r\nexport class IncidentAnnotationExtensionClass implements IIncidentAnnotation {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public notetext: 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 createdon: 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 annotationid: 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 objecttypecode: 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 isdocument: 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.notetext = odataObject.notetext;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.createdon = odataObject.createdon;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.annotationid = odataObject.annotationid;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.objecttypecode = odataObject.objecttypecode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.isdocument = odataObject.isdocument;\r\n }\r\n}\r\n\r\n/**\r\n * Case entity class.\r\n */\r\nexport class CaseExtensionClass implements ICase {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public incidentid: 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 ticketnumber: 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.incidentid = odataObject.incidentid;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ticketnumber = odataObject.ticketnumber;\r\n }\r\n}\r\n\r\n/**\r\n * CaseNotes entity class.\r\n */\r\nexport class CaseNotesExtensionClass implements ICaseNotes {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataContext: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Value: ICaseNote[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataContext = odataObject.ODataContext;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Value = undefined;\r\n if (odataObject.Value) {\r\n this.Value = [];\r\n for (var i = 0; i < odataObject.Value.length; i++) {\r\n if (odataObject.Value[i]) {\r\n if (odataObject.Value[i][\"@odata.type\"]) {\r\n var className: string = odataObject.Value[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Value[i] = new EntityClasses[className](\r\n odataObject.Value[i]\r\n );\r\n }\r\n } else {\r\n this.Value[i] = new CaseNoteExtensionClass(odataObject.Value[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.Value[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * CaseNote entity class.\r\n */\r\nexport class CaseNoteExtensionClass implements ICaseNote {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataETag: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public NoteText: 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 FileName: 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 IsDocument: 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 DocumentBody: 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 CreatedOn: 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 AnnotationId: 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 CreatedBy: ICreatedBy;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataETag = odataObject.ODataETag;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.NoteText = odataObject.NoteText;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.FileName = odataObject.FileName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IsDocument = odataObject.IsDocument;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DocumentBody = odataObject.DocumentBody;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CreatedOn = odataObject.CreatedOn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.AnnotationId = odataObject.AnnotationId;\r\n\r\n if (odataObject.CreatedBy === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CreatedBy = undefined;\r\n } else if (odataObject.CreatedBy[\"@odata.type\"] == null) {\r\n this.CreatedBy = new CreatedByExtensionClass(odataObject.CreatedBy);\r\n } else {\r\n var className: string = odataObject.CreatedBy[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.CreatedBy = new EntityClasses[className](odataObject.CreatedBy);\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * CreatedBy entity class.\r\n */\r\nexport class CreatedByExtensionClass implements ICreatedBy {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public FullName: 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 SystemUserId: 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 OwnerId: 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.FullName = odataObject.FullName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SystemUserId = odataObject.SystemUserId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.OwnerId = odataObject.OwnerId;\r\n }\r\n}\r\n\r\n/**\r\n * LineData entity class.\r\n */\r\nexport class LineDataExtensionClass implements ILineData {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataContext: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Value: ILine_Level[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataContext = odataObject.ODataContext;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Value = undefined;\r\n if (odataObject.Value) {\r\n this.Value = [];\r\n for (var i = 0; i < odataObject.Value.length; i++) {\r\n if (odataObject.Value[i]) {\r\n if (odataObject.Value[i][\"@odata.type\"]) {\r\n var className: string = odataObject.Value[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Value[i] = new EntityClasses[className](\r\n odataObject.Value[i]\r\n );\r\n }\r\n } else {\r\n this.Value[i] = new Line_LevelExtensionClass(odataObject.Value[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.Value[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * Line_Level entity class.\r\n */\r\nexport class Line_LevelExtensionClass implements ILine_Level {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataETag: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public New_ClaimedProductColour: 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 New_ProductSerialNumber: 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 New_HasThisProductBeenInAnAccident: 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 New_Comment: 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 New_ClaimId: 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 new_ClaimReasonId: INew_ClaimReasonId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public new_ProductId: IProductid;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataETag = odataObject.ODataETag;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_ClaimedProductColour = odataObject.New_ClaimedProductColour;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_ProductSerialNumber = odataObject.New_ProductSerialNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_HasThisProductBeenInAnAccident =\r\n odataObject.New_HasThisProductBeenInAnAccident;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_Comment = odataObject.New_Comment;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_ClaimId = odataObject.New_ClaimId;\r\n\r\n if (odataObject.new_ClaimReasonId === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_ClaimReasonId = undefined;\r\n } else if (odataObject.new_ClaimReasonId[\"@odata.type\"] == null) {\r\n this.new_ClaimReasonId = new New_ClaimReasonIdExtensionClass(\r\n odataObject.new_ClaimReasonId\r\n );\r\n } else {\r\n var className: string = odataObject.new_ClaimReasonId[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.new_ClaimReasonId = new EntityClasses[className](\r\n odataObject.new_ClaimReasonId\r\n );\r\n }\r\n }\r\n\r\n if (odataObject.new_ProductId === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_ProductId = undefined;\r\n } else if (odataObject.new_ProductId[\"@odata.type\"] == null) {\r\n this.new_ProductId = new ProductidExtensionClass(\r\n odataObject.new_ProductId\r\n );\r\n } else {\r\n var className: string = odataObject.new_ProductId[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.new_ProductId = new EntityClasses[className](\r\n odataObject.new_ProductId\r\n );\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * Productid entity class.\r\n */\r\nexport class ProductidExtensionClass implements IProductid {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Productnumber: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ProductId: 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 // 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.Productnumber = odataObject.Productnumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ProductId = odataObject.ProductId;\r\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}\r\n\r\n/**\r\n * CaseData entity class.\r\n */\r\nexport class CaseDataExtensionClass implements ICaseData {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataContext: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Value: ICustomerCase[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataContext = odataObject.ODataContext;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Value = undefined;\r\n if (odataObject.Value) {\r\n this.Value = [];\r\n for (var i = 0; i < odataObject.Value.length; i++) {\r\n if (odataObject.Value[i]) {\r\n if (odataObject.Value[i][\"@odata.type\"]) {\r\n var className: string = odataObject.Value[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Value[i] = new EntityClasses[className](\r\n odataObject.Value[i]\r\n );\r\n }\r\n } else {\r\n this.Value[i] = new CustomerCaseExtensionClass(\r\n odataObject.Value[i]\r\n );\r\n }\r\n } else {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Value[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * CustomerCase entity class.\r\n */\r\nexport class CustomerCaseExtensionClass implements ICustomerCase {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataETag: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public TicketNumber: 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 CreatedOn: 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 StatusCode: 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 Br_DeliveryAddress: 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 Br_Country: 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 Br_ClaimCity: 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 Br_ClaimPostCode: 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 Br_ClaimStreet: 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 New_NotifyMePerEmailWhenClaimIsUpdated: 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 New_ConsumerName: 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 New_ConsumerContactDetails: 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 New_CustomerConfirmedThePrivacyPolicy: 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 New_OrderNumber: 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 New_OrderDate: 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 New_SalesOrderLineNumber: 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 Br_DateOfPurchase: 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 New_SerialNumber: 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 Br_HasThisProductBeenInAnAccident: 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 Br_TrackingNumber: 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 New_ShipmentTrackingId: 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 New_LoadId: 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 New_DeliveryNoteId: 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 New_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 New_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 New_InvoiceLineNumber: 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 IncidentId: 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 new_customercountry: 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 new_customercity: 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 new_customerstreet: 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 new_customerpostcode: 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 new_nonewarrantycase: 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 new_confirmationemail: 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 new_contactpersonname: 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 SubjectId: ISubjectid;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Customerid_account: ICustomerid_Account;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public PrimaryContactId: IPrimarycontactid;\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataETag = odataObject.ODataETag;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TicketNumber = odataObject.TicketNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CreatedOn = odataObject.CreatedOn;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.StatusCode = odataObject.StatusCode;\r\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.Br_DeliveryAddress = odataObject.Br_DeliveryAddress;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_Country = odataObject.Br_Country;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_ClaimCity = odataObject.Br_ClaimCity;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_ClaimPostCode = odataObject.Br_ClaimPostCode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_ClaimStreet = odataObject.Br_ClaimStreet;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_NotifyMePerEmailWhenClaimIsUpdated =\r\n odataObject.New_NotifyMePerEmailWhenClaimIsUpdated;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_ConsumerName = odataObject.New_ConsumerName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_ConsumerContactDetails = odataObject.New_ConsumerContactDetails;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_CustomerConfirmedThePrivacyPolicy =\r\n odataObject.New_CustomerConfirmedThePrivacyPolicy;\r\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.New_OrderNumber = odataObject.New_OrderNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_OrderDate = odataObject.New_OrderDate;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_SalesOrderLineNumber = odataObject.New_SalesOrderLineNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_DateOfPurchase = odataObject.Br_DateOfPurchase;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_SerialNumber = odataObject.New_SerialNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_HasThisProductBeenInAnAccident =\r\n odataObject.Br_HasThisProductBeenInAnAccident;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Br_TrackingNumber = odataObject.Br_TrackingNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_ShipmentTrackingId = odataObject.New_ShipmentTrackingId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_LoadId = odataObject.New_LoadId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_DeliveryNoteId = odataObject.New_DeliveryNoteId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_InvoiceNumber = odataObject.New_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.New_InvoiceDate = odataObject.New_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.New_InvoiceLineNumber = odataObject.New_InvoiceLineNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IncidentId = odataObject.IncidentId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_customercountry = odataObject.new_customercountry;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_customercity = odataObject.new_customercity;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_customerstreet = odataObject.new_customerstreet;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_customerpostcode = odataObject.new_customerpostcode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_nonewarrantycase = odataObject.new_nonewarrantycase;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_confirmationemail = odataObject.new_confirmationemail;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_contactpersonname = odataObject.new_contactpersonname;\r\n\r\n if (odataObject.SubjectId === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SubjectId = undefined;\r\n } else if (odataObject.SubjectId[\"@odata.type\"] == null) {\r\n this.SubjectId = new SubjectidExtensionClass(odataObject.SubjectId);\r\n } else {\r\n var className: string = odataObject.SubjectId[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.SubjectId = new EntityClasses[className](odataObject.SubjectId);\r\n }\r\n }\r\n\r\n if (odataObject.Customerid_account === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Customerid_account = undefined;\r\n } else if (odataObject.Customerid_account[\"@odata.type\"] == null) {\r\n this.Customerid_account = new Customerid_AccountExtensionClass(\r\n odataObject.Customerid_account\r\n );\r\n } else {\r\n var className: string = odataObject.Customerid_account[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Customerid_account = new EntityClasses[className](\r\n odataObject.Customerid_account\r\n );\r\n }\r\n }\r\n\r\n if (odataObject.PrimaryContactId === null) {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PrimaryContactId = undefined;\r\n } else if (odataObject.PrimaryContactId[\"@odata.type\"] == null) {\r\n this.PrimaryContactId = new PrimarycontactidExtensionClass(\r\n odataObject.PrimaryContactId\r\n );\r\n } else {\r\n var className: string = odataObject.PrimaryContactId[\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.PrimaryContactId = new EntityClasses[className](\r\n odataObject.PrimaryContactId\r\n );\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * LatestNotes entity class.\r\n */\r\nexport class LatestNotesExtensionClass implements ILatestNotes {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public ODataContext: string;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Value: ICaseNote[];\r\n\r\n // Navigation properties names\r\n\r\n /**\r\n * Construct an object from odata response.\r\n * @param {any} odataObject The odata result object.\r\n */\r\n constructor(odataObject?: any) {\r\n odataObject = odataObject || {};\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ODataContext = odataObject.ODataContext;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Value = undefined;\r\n if (odataObject.Value) {\r\n this.Value = [];\r\n for (var i = 0; i < odataObject.Value.length; i++) {\r\n if (odataObject.Value[i]) {\r\n if (odataObject.Value[i][\"@odata.type\"]) {\r\n var className: string = odataObject.Value[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Value[i] = new EntityClasses[className](\r\n odataObject.Value[i]\r\n );\r\n }\r\n } else {\r\n this.Value[i] = new CaseNoteExtensionClass(odataObject.Value[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.Value[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * ClaimReasons entity class.\r\n */\r\nexport class ClaimReasonsExtensionClass implements IClaimReasons {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public Value: IClaimReason[];\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.Value = undefined;\r\n if (odataObject.Value) {\r\n this.Value = [];\r\n for (var i = 0; i < odataObject.Value.length; i++) {\r\n if (odataObject.Value[i]) {\r\n if (odataObject.Value[i][\"@odata.type\"]) {\r\n var className: string = odataObject.Value[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Value[i] = new EntityClasses[className](\r\n odataObject.Value[i]\r\n );\r\n }\r\n } else {\r\n this.Value[i] = new ClaimReasonExtensionClass(odataObject.Value[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.Value[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * ClaimReason entity class.\r\n */\r\nexport class ClaimReasonExtensionClass implements IClaimReason {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public new_claimreasonid: 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 new_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 new_price: 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 new_shipment: 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 new_product: 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 new_commentRequired: 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 new_receivedQuantityRequired: 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.new_claimreasonid = odataObject.new_claimreasonid;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_name = odataObject.new_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.new_price = odataObject.new_price;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_shipment = odataObject.new_shipment;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_product = odataObject.new_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.new_commentRequired = odataObject.new_commentRequired;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.new_receivedQuantityRequired =\r\n odataObject.new_receivedQuantityRequired;\r\n }\r\n}\r\n\r\n/**\r\n * CaseWithAttachment entity class.\r\n */\r\nexport class CaseWithAttachmentExtensionClass implements ICaseWithAttachment {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public StatusCodes: 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 SubjectIdOdataBind: 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 CustomerIdAccountOdataBind: 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 ContactPersonName: 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 ConfirmationEmailAddress: 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 ConsumerName: 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 ConsumerContact: 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 DeliveryAddress: 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 ConsumerCountry: 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 ConsumerCity: 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 ConsumerStreet: 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 ConsumerPostCode: 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 Country: 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 City: 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 Street: 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 Br_DateOfPurchase: 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 NonWarrantyCase: 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 NotifyMePerEmailWhenClaimIsUpdated: 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 PrimaryContactIdOdataBind: 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 CustomerConfirmedThePrivacyPolicy: 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 ClaimDescription: 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 SaleOrderNumber: 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 New_OrderDate: 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 New_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 New_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 New_InvoiceLineNumber: 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 ClaimSession: 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 Lines: ILines[];\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.StatusCodes = odataObject.StatusCodes;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SubjectIdOdataBind = odataObject.SubjectIdOdataBind;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.CustomerIdAccountOdataBind = odataObject.CustomerIdAccountOdataBind;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ContactPersonName = odataObject.ContactPersonName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConfirmationEmailAddress = odataObject.ConfirmationEmailAddress;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumerName = odataObject.ConsumerName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumerContact = odataObject.ConsumerContact;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DeliveryAddress = odataObject.DeliveryAddress;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumerCountry = odataObject.ConsumerCountry;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumerCity = odataObject.ConsumerCity;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumerStreet = odataObject.ConsumerStreet;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ConsumerPostCode = odataObject.ConsumerPostCode;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Country = odataObject.Country;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.City = odataObject.City;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Street = odataObject.Street;\r\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.Br_DateOfPurchase = odataObject.Br_DateOfPurchase;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.NonWarrantyCase = odataObject.NonWarrantyCase;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.NotifyMePerEmailWhenClaimIsUpdated =\r\n odataObject.NotifyMePerEmailWhenClaimIsUpdated;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.PrimaryContactIdOdataBind = odataObject.PrimaryContactIdOdataBind;\r\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.CustomerConfirmedThePrivacyPolicy =\r\n odataObject.CustomerConfirmedThePrivacyPolicy;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ClaimDescription = odataObject.ClaimDescription;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SaleOrderNumber = odataObject.SaleOrderNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_OrderDate = odataObject.New_OrderDate;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.New_InvoiceNumber = odataObject.New_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.New_InvoiceDate = odataObject.New_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.New_InvoiceLineNumber = odataObject.New_InvoiceLineNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ClaimSession = odataObject.ClaimSession;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Lines = undefined;\r\n if (odataObject.Lines) {\r\n this.Lines = [];\r\n for (var i = 0; i < odataObject.Lines.length; i++) {\r\n if (odataObject.Lines[i]) {\r\n if (odataObject.Lines[i][\"@odata.type\"]) {\r\n var className: string = odataObject.Lines[i][\"@odata.type\"];\r\n className = className\r\n .substr(className.lastIndexOf(\".\") + 1)\r\n .concat(\"Class\");\r\n if (EntityClasses[className]) {\r\n this.Lines[i] = new EntityClasses[className](\r\n odataObject.Lines[i]\r\n );\r\n }\r\n } else {\r\n this.Lines[i] = new LinesExtensionClass(odataObject.Lines[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.Lines[i] = undefined;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * UpdateClaim entity class.\r\n */\r\nexport class UpdateClaimExtensionClass implements IUpdateClaim {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public IncidentId: 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 NotifyMePerEmailWhenClaimIsUpdated: 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.IncidentId = odataObject.IncidentId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.NotifyMePerEmailWhenClaimIsUpdated =\r\n odataObject.NotifyMePerEmailWhenClaimIsUpdated;\r\n }\r\n}\r\n\r\n/**\r\n * UpdateCase entity class.\r\n */\r\nexport class UpdateCaseExtensionClass implements IUpdateCase {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public NoteText: 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 FileName: 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 IsDocument: 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 DocumentBody: 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 IncidentId: 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.NoteText = odataObject.NoteText;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.FileName = odataObject.FileName;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IsDocument = odataObject.IsDocument;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DocumentBody = odataObject.DocumentBody;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.IncidentId = odataObject.IncidentId;\r\n }\r\n}\r\n\r\n/**\r\n * Lines entity class.\r\n */\r\nexport class LinesExtensionClass implements ILines {\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n public IncidentId: 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 D365itemnumber: 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 ProductIdOdataBind: 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 SerialNumber: 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 ClaimReason: 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 HasThisProductBeenInAnAccident: 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 Comment: 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 ShipmentId: 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 TrackingNumber: 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 DeliveryNoteNumber: 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 EANCode: 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.IncidentId = odataObject.IncidentId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.D365itemnumber = odataObject.D365itemnumber;\r\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.ProductIdOdataBind = odataObject.ProductIdOdataBind;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.SerialNumber = odataObject.SerialNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ClaimReason = odataObject.ClaimReason;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.HasThisProductBeenInAnAccident =\r\n odataObject.HasThisProductBeenInAnAccident;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.Comment = odataObject.Comment;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.ShipmentId = odataObject.ShipmentId;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.TrackingNumber = odataObject.TrackingNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.DeliveryNoteNumber = odataObject.DeliveryNoteNumber;\r\n\r\n // @ts-ignore - TODO bug fix #23427261 - remove ts-ignore - https://microsoft.visualstudio.com/DefaultCollection/OSGS/_workitems/edit/23427261/\r\n this.EANCode = odataObject.EANCode;\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// tslint:disable\r\nimport {\r\n AsyncResult,\r\n callActionOrExecute,\r\n DataServiceQuery,\r\n IContext,\r\n IDataServiceRequest,\r\n} from \"@msdyn365-commerce/retail-proxy\";\r\n// @ts-ignore\r\nimport * as EntityClasses from \"@msdyn365-commerce/retail-proxy/dist/Entities/CommerceModels.g\";\r\nimport * as DataServiceEntities from \"./ClaimManagementDataServiceEntities.g\";\r\n\r\n// @ts-ignore\r\nfunction casesQuery(id?: number): DataServiceQuery {\r\n const key = id ? { Id: id } : null;\r\n return new DataServiceQuery(\r\n \"Cases\",\r\n \"Cases\",\r\n DataServiceEntities.CasesExtensionClass,\r\n key\r\n );\r\n}\r\n\r\nexport function createGetAllCustomerCasesInput(\r\n customerEmail: string\r\n): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"GetAllCustomerCases\",\r\n true,\r\n DataServiceEntities.AllCustomerCasesResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"none\",\r\n returnEntity: \"DataServiceEntities.IAllCustomerCasesResponse\",\r\n },\r\n { customerEmail: customerEmail }\r\n );\r\n}\r\n\r\nexport function getAllCustomerCasesAsync(\r\n context: IContext,\r\n customerEmail: string\r\n): AsyncResult {\r\n const request = createGetAllCustomerCasesInput(customerEmail);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createCreateCaseInput(\r\n caseDetails: DataServiceEntities.ICaseWithAttachment\r\n): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"CreateCase\",\r\n true,\r\n DataServiceEntities.CreateCaseResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"get\",\r\n returnEntity: \"DataServiceEntities.ICreateCaseResponse\",\r\n },\r\n { caseDetails: caseDetails }\r\n );\r\n}\r\n\r\nexport function createCaseAsync(\r\n context: IContext,\r\n caseDetails: DataServiceEntities.ICaseWithAttachment\r\n): AsyncResult {\r\n const request = createCreateCaseInput(caseDetails);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createUpdateClaimInput(\r\n updateClaim: DataServiceEntities.IUpdateClaim\r\n): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"UpdateClaim\",\r\n true,\r\n DataServiceEntities.UpdateClaimResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"get\",\r\n returnEntity: \"DataServiceEntities.IUpdateClaimResponse\",\r\n },\r\n { updateClaim: updateClaim }\r\n );\r\n}\r\n\r\nexport function updateClaimAsync(\r\n context: IContext,\r\n updateClaim: DataServiceEntities.IUpdateClaim\r\n): AsyncResult {\r\n const request = createUpdateClaimInput(updateClaim);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createUpdateCaseInput(\r\n caseDetails: DataServiceEntities.IUpdateCase\r\n): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"UpdateCase\",\r\n true,\r\n DataServiceEntities.UpdateCaseResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"get\",\r\n returnEntity: \"DataServiceEntities.IUpdateCaseResponse\",\r\n },\r\n { caseDetails: caseDetails }\r\n );\r\n}\r\n\r\nexport function updateCaseAsync(\r\n context: IContext,\r\n caseDetails: DataServiceEntities.IUpdateCase\r\n): AsyncResult {\r\n const request = createUpdateCaseInput(caseDetails);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createGetCaseNotesInput(caseId: string): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"GetCaseNotes\",\r\n true,\r\n DataServiceEntities.GetCaseNotesResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"none\",\r\n returnEntity: \"DataServiceEntities.IGetCaseNotesResponse\",\r\n },\r\n { caseId: caseId }\r\n );\r\n}\r\n\r\nexport function getCaseNotesAsync(\r\n context: IContext,\r\n caseId: string\r\n): AsyncResult {\r\n const request = createGetCaseNotesInput(caseId);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createGetSpecificCaseInput(\r\n specificCaseId: string\r\n): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"GetSpecificCase\",\r\n true,\r\n DataServiceEntities.GetSpecificCaseResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"none\",\r\n returnEntity: \"DataServiceEntities.IGetSpecificCaseResponse\",\r\n },\r\n { specificCaseId: specificCaseId }\r\n );\r\n}\r\n\r\nexport function getSpecificCaseAsync(\r\n context: IContext,\r\n specificCaseId: string\r\n): AsyncResult {\r\n const request = createGetSpecificCaseInput(specificCaseId);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createGetCaseIdByClaimSessionInput(\r\n claimSession: string\r\n): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"GetCaseIdByClaimSession\",\r\n true,\r\n DataServiceEntities.CreateCaseResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"none\",\r\n returnEntity: \"DataServiceEntities.ICreateCaseResponse\",\r\n },\r\n { claimSession: claimSession }\r\n );\r\n}\r\n\r\nexport function getCaseIdByClaimSessionAsync(\r\n context: IContext,\r\n claimSession: string\r\n): AsyncResult {\r\n const request = createGetCaseIdByClaimSessionInput(claimSession);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createGetLatestNoteInput(caseId: string): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"GetLatestNote\",\r\n true,\r\n DataServiceEntities.GetLatestNoteResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"none\",\r\n returnEntity: \"DataServiceEntities.IGetLatestNoteResponse\",\r\n },\r\n { caseId: caseId }\r\n );\r\n}\r\n\r\nexport function getLatestNoteAsync(\r\n context: IContext,\r\n caseId: string\r\n): AsyncResult {\r\n const request = createGetLatestNoteInput(caseId);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createGetClaimReasonsInput(): IDataServiceRequest {\r\n const query = casesQuery();\r\n return query.createDataServiceRequestForOperation(\r\n \"GetClaimReasons\",\r\n true,\r\n DataServiceEntities.ClaimReasonsResponseExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"none\",\r\n returnEntity: \"DataServiceEntities.IClaimReasonsResponse\",\r\n },\r\n {}\r\n );\r\n}\r\n\r\nexport function getClaimReasonsAsync(\r\n context: IContext\r\n): AsyncResult {\r\n const request = createGetClaimReasonsInput();\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n\r\nexport function createGetTableFieldsInput(\r\n tableName: string,\r\n query: string\r\n): IDataServiceRequest {\r\n const querys = casesQuery();\r\n return querys.createDataServiceRequestForOperation(\r\n \"GetTableFields\",\r\n true,\r\n DataServiceEntities.GetCrtTableFieldsExtensionClass,\r\n \"false\",\r\n {\r\n bypassCache: \"none\",\r\n returnEntity: \"DataServiceEntities.IGetCrtTableFields\",\r\n },\r\n { TableName: tableName, Query: query }\r\n );\r\n}\r\n\r\nexport function getTableFieldsAsync(\r\n context: IContext,\r\n tableName: string,\r\n query: string\r\n): AsyncResult {\r\n const request = createGetTableFieldsInput(tableName, query);\r\n return callActionOrExecute(\r\n request,\r\n context.callerContext\r\n );\r\n}\r\n"],"names":["CasesExtensionClass","constructor","odataObject","this","Id","ExtensionProperties","undefined","i","length","className","substr","lastIndexOf","concat","EntityClasses","AllCustomerCasesResponseExtensionClass","Success","Exception","Data","AllCustomerCasesExtensionClass","CreateCaseResponseExtensionClass","CaseExtensionClass","UpdateClaimResponseExtensionClass","Message","UpdateCaseResponseExtensionClass","GetCaseNotesResponseExtensionClass","CaseNotesExtensionClass","GetSpecificCaseResponseExtensionClass","Line_Data","LineDataExtensionClass","CaseDataExtensionClass","ClaimReasonsResponseExtensionClass","ClaimReasonsExtensionClass","OdataContext","Value","ValueExtensionClass","ODataEtag","TicketNumber","CreatedOn","Date","jsonLightReadStringPropertyValue","StatusCode","Br_ClaimCity","New_NotifyMePerEmailWhenClaimIsUpdated","New_ConsumerName","Description","New_ShipmentTrackingId","New_InvoiceNumber","IncidentId","new_confirmationemail","new_contactpersonname","SubjectId","SubjectidExtensionClass","Customerid_account","Customerid_AccountExtensionClass","PrimaryContactId","PrimarycontactidExtensionClass","new_ClaimReasonId","New_ClaimReasonIdExtensionClass","Incident_Annotation","IncidentAnnotationExtensionClass","Title","Accountnumber","Accountid","Emailaddress1","Contactid","new_name","notetext","createdon","annotationid","objecttypecode","isdocument","incidentid","ticketnumber","ODataContext","CaseNoteExtensionClass","ODataETag","NoteText","FileName","IsDocument","DocumentBody","AnnotationId","CreatedBy","CreatedByExtensionClass","FullName","SystemUserId","OwnerId","Line_LevelExtensionClass","New_ClaimedProductColour","New_ProductSerialNumber","New_HasThisProductBeenInAnAccident","New_Comment","New_ClaimId","new_ProductId","ProductidExtensionClass","Productnumber","ProductId","name","CustomerCaseExtensionClass","EmailAddress","Br_DeliveryAddress","Br_Country","Br_ClaimPostCode","Br_ClaimStreet","New_ConsumerContactDetails","New_CustomerConfirmedThePrivacyPolicy","New_OrderNumber","New_OrderDate","New_SalesOrderLineNumber","Br_DateOfPurchase","New_SerialNumber","Br_HasThisProductBeenInAnAccident","Br_TrackingNumber","New_LoadId","New_DeliveryNoteId","New_InvoiceDate","New_InvoiceLineNumber","new_customercountry","new_customercity","new_customerstreet","new_customerpostcode","new_nonewarrantycase","ClaimReasonExtensionClass","new_claimreasonid","new_price","new_shipment","new_product","new_commentRequired","new_receivedQuantityRequired","casesQuery","id","key","DataServiceQuery","DataServiceEntities","getAllCustomerCasesAsync","context","customerEmail","request","createDataServiceRequestForOperation","bypassCache","returnEntity","createGetAllCustomerCasesInput","callActionOrExecute","callerContext","createCaseAsync","caseDetails","createCreateCaseInput","updateClaimAsync","updateClaim","createUpdateClaimInput","updateCaseAsync","createUpdateCaseInput","getCaseNotesAsync","caseId","createGetCaseNotesInput","getSpecificCaseAsync","specificCaseId","createGetSpecificCaseInput","getCaseIdByClaimSessionAsync","claimSession","createGetCaseIdByClaimSessionInput","getClaimReasonsAsync"],"sourceRoot":""}