{"version":3,"file":"lifeSearchService-Ot5fzD0Q.js","sources":["../../src/project/AramcoLife/services/lifeSearchService.ts"],"sourcesContent":["/* eslint-disable */\r\n//------------------------------------------------------------------------------\r\n// \r\n// This code was generated by a tool.\r\n//\r\n//\r\n// Changes to this file may cause incorrect behavior and will be lost if\r\n// the code is regenerated.\r\n// \r\n//------------------------------------------------------------------------------\r\n\r\nimport { http, type Meta } from \"~/foundation/Api\";\r\nimport { SearchRequest } from \"~/feature/Search/generated-types\";\r\nimport { SearchTeaserHtmlResponseModel } from \"~/project/AramcoLife/generated-types\";\r\nimport { TeaserRequestModel } from \"~/project/AramcoLife/generated-types\";\r\nimport { ArticleTeaserRequestModel } from \"~/project/AramcoLife/generated-types\";\r\n\r\nexport const lifeSearchServiceMeta: Meta = {\r\n\tsiteSearch: [\"GET\", \"/aramcolife/lifesearch/sitesearch\"],\r\n\tsiteSearchApi: [\"POST\", \"/aramcolife/lifesearch/sitesearchapi\"],\r\n\tlatestContentSlider: [\"GET\", \"/aramcolife/lifesearch/latestcontentslider\"],\r\n\tlatestContentList: [\"GET\", \"/aramcolife/lifesearch/latestcontentlist\"],\r\n\trelatedContent: [\"GET\", \"/aramcolife/lifesearch/relatedcontent\"],\r\n\tcontentTeaser: [\"GET\", \"/aramcolife/lifesearch/contentteaser\"],\r\n\tarticleTeaser: [\"GET\", \"/aramcolife/lifesearch/articleteaser\"],\r\n\ttravelTeaser: [\"GET\", \"/aramcolife/lifesearch/travelteaser\"],\r\n\tpodcastTeaser: [\"GET\", \"/aramcolife/lifesearch/podcastteaser\"],\r\n\tpollGroupTeaser: [\"GET\", \"/aramcolife/lifesearch/pollgroupteaser\"],\r\n\tindex: [\"GET\", \"/aramcolife/lifesearch/index\"],\r\n};\r\n\r\n// Project.AramcoLife.Areas.AramcoLife.Controllers.LifeSearchController\r\nexport const lifeSearchService = {\r\n\tasync siteSearch() {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.siteSearch, { });\r\n\t},\r\n\tasync siteSearchApi(body: SearchRequest) {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.siteSearchApi, { body });\r\n\t},\r\n\tasync latestContentSlider() {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.latestContentSlider, { });\r\n\t},\r\n\tasync latestContentList() {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.latestContentList, { });\r\n\t},\r\n\tasync relatedContent() {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.relatedContent, { });\r\n\t},\r\n\tasync contentTeaser(queryStrings: TeaserRequestModel) {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.contentTeaser, { queryStrings });\r\n\t},\r\n\tasync articleTeaser(queryStrings: ArticleTeaserRequestModel) {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.articleTeaser, { queryStrings });\r\n\t},\r\n\tasync travelTeaser(queryStrings: TeaserRequestModel) {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.travelTeaser, { queryStrings });\r\n\t},\r\n\tasync podcastTeaser(queryStrings: TeaserRequestModel) {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.podcastTeaser, { queryStrings });\r\n\t},\r\n\tasync pollGroupTeaser(queryStrings: TeaserRequestModel) {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.pollGroupTeaser, { queryStrings });\r\n\t},\r\n\tasync index() {\r\n\t\treturn await http.fetch(lifeSearchServiceMeta.index, { });\r\n\t},\r\n};\r\n"],"names":["lifeSearchServiceMeta","lifeSearchService","http","body","queryStrings"],"mappings":"uCAiBO,MAAMA,EAAwD,CACpE,WAAY,CAAC,MAAO,mCAAmC,EACvD,cAAe,CAAC,OAAQ,sCAAsC,EAC9D,oBAAqB,CAAC,MAAO,4CAA4C,EACzE,kBAAmB,CAAC,MAAO,0CAA0C,EACrE,eAAgB,CAAC,MAAO,uCAAuC,EAC/D,cAAe,CAAC,MAAO,sCAAsC,EAC7D,cAAe,CAAC,MAAO,sCAAsC,EAC7D,aAAc,CAAC,MAAO,qCAAqC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