{"version":3,"sources":["webpack:///./EnBW.Vertrieb.Websites.Dsc/StaticResources/TypeScript/Models/DataItemDto.ts","webpack:///./EnBW.Vertrieb.Websites.Dsc/StaticResources/TypeScript/Models/DataComponentDto.ts","webpack:///./EnBW.Vertrieb.Websites.Dsc/StaticResources/TypeScript/Models/BaiConversationDto.ts","webpack:///./EnBW.Vertrieb.Websites.Dsc/StaticResources/TypeScript/Models/ApiError.ts","webpack:///./EnBW.Vertrieb.Websites.Dsc/StaticResources/TypeScript/Models/UserContextDto.ts","webpack:///./EnBW.Vertrieb.Websites.Dsc/StaticResources/TypeScript/Models/ContactPointEmailDto.ts","webpack:///./EnBW.Vertrieb.Websites.Dsc/StaticResources/TypeScript/Models/SearchSuggestionDto.ts"],"names":["DataItemDto","this","isExpanded","isSideItem","exports","DataComponentDto","BaiConversationDto","ApiError","prototype","setErrorMessage","error","response","status","data","errors","serverError","validationErros","ajaxMessages","AjaxStatusMessages_1","default","fehlermeldung","request","noResponse","noRequest","UserContextDto","ContactPointEmailDto","SearchSuggestionDto"],"mappings":"kLAIA,SAAAA,IAUIC,KAAAC,YAAsB,EActBD,KAAAE,YAAsB,EAxBbC,EAAAJ,iKCFb,SAAAK,KAAaD,EAAAC,sKCFb,SAAAC,KAAaF,EAAAE,0LCGb,IAAAC,GAWYA,EAAAC,UAAAC,gBAAR,SAAwBC,GAMpB,GALIA,EAAMC,UAAsC,MAA1BD,EAAMC,SAASC,QAAkBF,EAAMC,SAASE,MAAQH,EAAMC,SAASE,KAAKC,SAC9Fb,KAAKc,aAAc,EACnBd,KAAKe,gBAAkBN,EAAMC,SAASE,KAAKC,QAG3Cb,KAAKc,YAAa,CAClB,IAAME,EAAe,IAAIC,EAAAC,QAErBT,GAASA,EAAMC,SACfV,KAAKmB,cAAgBH,EAAaP,EAAMC,SAASC,QAC1CF,GAASA,EAAMW,QAEtBpB,KAAKmB,cAAgBH,EAAaK,WAGlCrB,KAAKmB,cAAgBH,EAAaM,YAIlDhB,GA1BI,SAAAA,EAAYG,GAJZT,KAAAmB,cAAwB,GACxBnB,KAAAc,aAAuB,EAIfL,GACAT,KAAKQ,gBAAgBC,GAPpBN,EAAAG,yJCDb,SAAAiB,KAAapB,EAAAoB,oKCFb,SAAAC,KAAarB,EAAAqB,0KCAb,SAAAC,KAAatB,EAAAsB","file":"models.01a6f6d2f39ed91aee96.chunk.js","sourcesContent":["import { IconDto } from './IconDto';\r\nimport { BaiContextDto } from './BaiContextDto';\r\nimport { CallToActionDto } from './CallToActionDto';\r\n\r\nexport class DataItemDto {\r\n id: string;\r\n key: string;\r\n title: string;\r\n titleMobile: string;\r\n parentTitle: string;\r\n parentKey: string;\r\n parentSeoSlug: string;\r\n type: string;\r\n description: string;\r\n isExpanded: boolean = false;\r\n icon: IconDto;\r\n iconWidth: number;\r\n iconHeight: number;\r\n link: any;\r\n likes: number;\r\n seoSlug: string;\r\n selectedFaq: string;\r\n selectedTaxonomy: string;\r\n webtrekkId: string;\r\n rank: number;\r\n baiContext: BaiContextDto;\r\n callToActionList: Array;\r\n columnSpan: number;\r\n isSideItem: boolean = false;\r\n triggerCustomValue: string;\r\n contextValues: Array;\r\n contentCardTitle: string;\r\n additionalTrackingId: string;\r\n}","import { DataItemDto } from './DataItemDto';\r\n\r\nexport class DataComponentDto {\r\n id: string;\r\n dataItems: Array;\r\n dashboardMobileView: string;\r\n}","export class BaiConversationDto {\r\n brickId: string;\r\n optionsId: string;\r\n conversationName: string;\r\n scope: string;\r\n}\r\n","import { AxiosError } from 'axios';\r\nimport AjaxStatusMessages from 'ComponentExtras/AjaxStatusMessages';\r\n\r\nexport class ApiError {\r\n fehlermeldung: string = '';\r\n serverError: boolean = true;\r\n validationErros: any;\r\n\r\n constructor(error?: AxiosError) {\r\n if (error) {\r\n this.setErrorMessage(error);\r\n }\r\n }\r\n\r\n private setErrorMessage(error: AxiosError) {\r\n if (error.response && error.response.status === 422 && error.response.data && error.response.data.errors) {\r\n this.serverError = false;\r\n this.validationErros = error.response.data.errors;\r\n }\r\n\r\n if (this.serverError) {\r\n const ajaxMessages = new AjaxStatusMessages();\r\n\r\n if (error && error.response) {\r\n this.fehlermeldung = ajaxMessages[error.response.status];\r\n } else if (error && error.request) {\r\n // The request was made but no response was received\r\n this.fehlermeldung = ajaxMessages.noResponse;\r\n } else {\r\n // Something happened in setting up the request that triggered an Error\r\n this.fehlermeldung = ajaxMessages.noRequest;\r\n }\r\n }\r\n }\r\n}\r\n","import { BaiContextDto } from './BaiContextDto';\r\n\r\nexport class UserContextDto {\r\n public thema: String;\r\n public selectedFaqKey: String;\r\n public loginStatus: String;\r\n public kontaktkanal: String;\r\n public nutzergruppe: String;\r\n public kontaktgrund: String;\r\n public userSurveyExecutedTriggers: Array;\r\n public baiContext: BaiContextDto;\r\n}","export class ContactPointEmailDto {\r\n\r\n public thema: string;\r\n\r\n public anrede: string;\r\n\r\n public nachname: string;\r\n\r\n public vorname: string;\r\n\r\n public email: string;\r\n\r\n public vertragsnummer: string;\r\n\r\n public recipientEmailAddress: string;\r\n\r\n public nachricht: string;\r\n\r\n public hasErrors: boolean;\r\n\r\n public telefon: string;\r\n\r\n public kontaktgrund: string;\r\n\r\n public isCustomer: boolean;\r\n\r\n public errors: any; // { [key: string]: string; }\r\n\r\n public subjectExtension: string;\r\n\r\n public attachments: any;\r\n\r\n public isEmailCopyNeeded: boolean;\r\n\r\n public contactDataItemUpdateStrategy: number;\r\n\r\n public serviceUpdateStrategy: Array;\r\n\r\n public isCopyEmailDeactivated: boolean;\r\n\r\n public paybackCustomerNumber: string;\r\n\r\n public meterType: string;\r\n\r\n public singleMeter: string;\r\n\r\n public dualMeterHT: string;\r\n\r\n public dualMeterNT: string;\r\n\r\n public meterTopic: string;\r\n\r\n public readingDay: string;\r\n\r\n public readingMonth: string;\r\n\r\n public readingYear: string;\r\n}","export class SearchSuggestionDto {\r\n public key: String;\r\n public suggestion: String;\r\n}"],"sourceRoot":""}