diff --git a/Jenkinsfile b/Jenkinsfile index 4af1befe..c0715dad 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,6 +28,9 @@ pipeline { } stage('Save Docker image') { + when { + branch 'main' + } steps { sh 'docker save ${IMAGE_PREFIX}-app:${IMAGE_VERSION} | gzip > app-image.tar.gz' } diff --git a/openalex_ude_hr_sample.csv b/openalex_ude_hr_sample.csv new file mode 100644 index 00000000..807b8407 --- /dev/null +++ b/openalex_ude_hr_sample.csv @@ -0,0 +1,1360 @@ +openalex_author_id,openalex_source_id,display_name,orcid,works_count,cited_by_count,institution_scope,matching_institution,company_count,roles,statuses,common_name_warning,warning_de +A5040796987,https://openalex.org/A5040796987,Ahmet Karkar,https://orcid.org/0000-0003-3338-5202,3,30,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5119657791,https://openalex.org/A5119657791,Aleksandar Milosevic,,1,0,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5114121778,https://openalex.org/A5114121778,Alexander Eitner,,1,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5038673553,https://openalex.org/A5038673553,Alexander Hoppe,https://orcid.org/0000-0001-6710-788X,29,142,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5048333515,https://openalex.org/A5048333515,Alexander Porsch,,4,27,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5086212982,https://openalex.org/A5086212982,Alexander Possberg,https://orcid.org/0000-0002-9149-1938,11,33,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5042180141,https://openalex.org/A5042180141,Alexander Weitz,,7,234,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5015160914,https://openalex.org/A5015160914,Alexandra Beckmann,,1,87,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5006118048,https://openalex.org/A5006118048,Alexandra Heinrich,,4,21,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5102559736,https://openalex.org/A5102559736,Alina Becker,,1,5,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5095550948,https://openalex.org/A5095550948,Andrea Budde,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5041659654,https://openalex.org/A5041659654,Andrea Kiesewetter,https://orcid.org/0000-0002-7805-9294,1,12,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5094255071,https://openalex.org/A5094255071,Andrea van Wasen,,1,13,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5082709720,https://openalex.org/A5082709720,Andreas Clément,,9,0,child_of_ude,Institut für Energie- und Umwelttechnik,1,Prokurist:1,removed:1,no, +A5123856046,https://openalex.org/A5123856046,Andreas Metzger,,2,0,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5124394183,https://openalex.org/A5124394183,Andreas Metzger,,1,0,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5102482202,https://openalex.org/A5102482202,Andreas Mueller,,2,78,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5111642526,https://openalex.org/A5111642526,Andreas Mueller,,2,17,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5055408774,https://openalex.org/A5055408774,Andreas Ranft,https://orcid.org/0000-0003-4424-7569,151,3148,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5121527342,https://openalex.org/A5121527342,Andreas Ranft,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5040303703,https://openalex.org/A5040303703,Andreas Scharff,,22,435,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5045510897,https://openalex.org/A5045510897,Andreas Smolka,,1,24,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:1,removed:1,no, +A5000133541,https://openalex.org/A5000133541,Andreas Tacke,,2,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5050109106,https://openalex.org/A5050109106,Andreas Unterberger,https://orcid.org/0000-0002-5216-1514,22,279,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2; Prokurist:2,currently registered:1,no, +A5070284444,https://openalex.org/A5070284444,Andreas Wohlleben,,1,52,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:1,currently registered:1,no, +A5043288842,https://openalex.org/A5043288842,Andrey Krekhov,https://orcid.org/0000-0003-0637-6263,33,335,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5045504111,https://openalex.org/A5045504111,Anette Reinders,,1,52,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5024125758,https://openalex.org/A5024125758,Angelika Pietsch,,17,1452,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5128214934,https://openalex.org/A5128214934,Anh Duc Vu,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5052830111,https://openalex.org/A5052830111,Anita Winter,,48,550,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5021812220,https://openalex.org/A5021812220,Anja Stecker,,1,12,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5078754334,https://openalex.org/A5078754334,Anja Stein,https://orcid.org/0000-0002-0497-4609,125,1780,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5000474957,https://openalex.org/A5000474957,Anke Kramer,,2,14,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5029441982,https://openalex.org/A5029441982,Anna Michel,https://orcid.org/0000-0003-1420-5878,40,1684,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5111354878,https://openalex.org/A5111354878,Anna Volz,https://orcid.org/0000-0003-0444-1893,30,127,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5023261750,https://openalex.org/A5023261750,Anna Zeller,,1,27,direct_ude,University of Duisburg-Essen,1,Inhaber:2,currently registered:1,no, +A5106082671,https://openalex.org/A5106082671,Anne Pfeiffer,,1,29,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5110587738,https://openalex.org/A5110587738,Annette Förster,,50,76,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5076856973,https://openalex.org/A5076856973,Annika Becker,https://orcid.org/0000-0003-2374-6502,4,5,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5055641653,https://openalex.org/A5055641653,Annika Lenkeit,https://orcid.org/0000-0002-9698-4723,13,95,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5113291297,https://openalex.org/A5113291297,Anto Filipovic,,1,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5078752887,https://openalex.org/A5078752887,Arne Sönnichsen,https://orcid.org/0000-0002-4921-3758,13,10,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5103427814,https://openalex.org/A5103427814,Barbara Vogt,,1,3,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5123684310,https://openalex.org/A5123684310,Bastian Wegner,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5003893010,https://openalex.org/A5003893010,Beate Römer,,3,46,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5007119880,https://openalex.org/A5007119880,Benedikt Frank,https://orcid.org/0000-0001-8837-9489,123,1863,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5020852620,https://openalex.org/A5020852620,Benjamin Kersten,,2,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5048760511,https://openalex.org/A5048760511,Benjamin Scheller,,3,14,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Prokurist:1,currently registered:1,no, +A5128122987,https://openalex.org/A5128122987,Bernd Ringel,,1,0,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5040027495,https://openalex.org/A5040027495,Bernd Schultze,,26,107,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5047506887,https://openalex.org/A5047506887,Bettina Binder,,3,101,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5099050002,https://openalex.org/A5099050002,Bianca Nowak,https://orcid.org/0000-0001-5858-6735,6,5,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5008086801,https://openalex.org/A5008086801,Bianca Reitberger,,1,6,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5042450540,https://openalex.org/A5042450540,Birgit Kremer,,7,9,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5058122544,https://openalex.org/A5058122544,Birgit Maranca-Hüwel,,1,7,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5094640509,https://openalex.org/A5094640509,Brigitte Mai,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5062262517,https://openalex.org/A5062262517,Brunhilde Krüger,,4,77,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5090497666,https://openalex.org/A5090497666,Bruno Albrecht,,13,309,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5109563230,https://openalex.org/A5109563230,Bruno Schramm,,3,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5040325392,https://openalex.org/A5040325392,Carina Büttner,,3,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5117488673,https://openalex.org/A5117488673,Carl Barthel,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5038023543,https://openalex.org/A5038023543,Carsten Hohendorf,,3,38,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5079004093,https://openalex.org/A5079004093,Carsten Seeger,,2,38,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5077645687,https://openalex.org/A5077645687,Cemal Öztürk,https://orcid.org/0000-0003-3607-1356,52,340,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5127327286,https://openalex.org/A5127327286,Cemal Öztürk,,5,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5061307187,https://openalex.org/A5061307187,Charlotte Rudolph,https://orcid.org/0000-0001-9060-8850,18,141,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2; Liquidator:1,removed:1,no, +A5049180230,https://openalex.org/A5049180230,Christian Fehring,,2,112,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5087346407,https://openalex.org/A5087346407,Christian Heid,https://orcid.org/0000-0003-3344-6909,16,402,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5020001154,https://openalex.org/A5020001154,Christian Högel,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5009387190,https://openalex.org/A5009387190,Christian Jenne,,4,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5119533775,https://openalex.org/A5119533775,Christian Mütze,,1,0,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5084543947,https://openalex.org/A5084543947,Christian Stienen,,20,54,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5121031569,https://openalex.org/A5121031569,Christian Taube,,4,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5017500482,https://openalex.org/A5017500482,Christian Wiethoff,,7,105,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5012023718,https://openalex.org/A5012023718,Christiane Jürgens,,5,7,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5080114872,https://openalex.org/A5080114872,Christiane Lübke,,31,288,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5058580008,https://openalex.org/A5058580008,Christine Heil,https://orcid.org/0009-0000-5232-6924,7,2,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5122756265,https://openalex.org/A5122756265,Christof Schulz,,3,0,direct_ude,University of Duisburg-Essen,1,Prokurist:2; Geschäftsführer:1,currently registered:1,no, +A5113697261,https://openalex.org/A5113697261,Christoph Hassel,,5,138,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:3,currently registered:1,no, +A5012658572,https://openalex.org/A5012658572,Christoph Katzer,,3,90,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5056018215,https://openalex.org/A5056018215,Christoph Warnecke,,2,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5071643310,https://openalex.org/A5071643310,Christoph Wotzlaw,,23,1531,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5029514013,https://openalex.org/A5029514013,Christoph Wölper,,1126,4801,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5047171248,https://openalex.org/A5047171248,Christopher Eckert,,14,152,direct_ude,University of Duisburg-Essen,1,Prokurist:2; Geschäftsführer:1,currently registered:1,no, +A5091701081,https://openalex.org/A5091701081,Christopher Kruse,https://orcid.org/0000-0001-8490-8363,9,59,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5056320023,https://openalex.org/A5056320023,Christopher Schroeder,https://orcid.org/0000-0002-9283-3012,105,2301,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5108151622,https://openalex.org/A5108151622,Christopher Schroeder,,3,226,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5126942232,https://openalex.org/A5126942232,Claudia Graser,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5046218941,https://openalex.org/A5046218941,Claudia Lenzen,,4,127,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5062074938,https://openalex.org/A5062074938,Claudia Padberg,https://orcid.org/0000-0002-2475-1525,6,90,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5043039034,https://openalex.org/A5043039034,Claudia Pieper,https://orcid.org/0000-0001-5986-9788,35,371,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5017886365,https://openalex.org/A5017886365,Claudia Veltkamp,,2,33,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5068914203,https://openalex.org/A5068914203,Claudia Veltkamp,,25,2419,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5085149735,https://openalex.org/A5085149735,Daniel Brandenburger,,8,35,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5058208716,https://openalex.org/A5058208716,Daniel Kilimann,,3,10,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5050883082,https://openalex.org/A5050883082,Daniel Sacher,,21,222,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5043673838,https://openalex.org/A5043673838,Daniel Sager,,4,154,direct_ude,University of Duisburg-Essen,1,Liquidator:1,removed:1,no, +A5065290634,https://openalex.org/A5065290634,Daniela Freyer,,2,66,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5101998061,https://openalex.org/A5101998061,David Schuster,https://orcid.org/0000-0003-4868-7107,82,212,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5016239306,https://openalex.org/A5016239306,Dennis Dreyer,,1,92,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:1,currently registered:1,no, +A5024576582,https://openalex.org/A5024576582,Diana Lindner,https://orcid.org/0000-0001-5477-769X,117,4555,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5113506669,https://openalex.org/A5113506669,Dieter Hoffmeister,,1,27,direct_ude,University of Duisburg-Essen,1,Inhaber:1,removed:1,no, +A5057831135,https://openalex.org/A5057831135,Dietmar Knop,,17,563,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5069955866,https://openalex.org/A5069955866,Dietmar Lohmann,https://orcid.org/0000-0002-2624-9889,313,11546,direct_ude,University of Duisburg-Essen,1,Liquidator:1,removed:1,no, +A5045510904,https://openalex.org/A5045510904,Dirk Straub,,3,3,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5070772777,https://openalex.org/A5070772777,Dominic Winter,https://orcid.org/0000-0001-6788-6641,105,3612,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5008449217,https://openalex.org/A5008449217,Dominik Raab,https://orcid.org/0000-0003-4514-1053,25,38,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5020803751,https://openalex.org/A5020803751,Dominik Reiner,https://orcid.org/0000-0002-9255-3686,4,67,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5107653304,https://openalex.org/A5107653304,Doris Brandt,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5101478947,https://openalex.org/A5101478947,Ekaterina Morozova,https://orcid.org/0009-0001-1024-512X,35,193,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2; Liquidator:1,removed:1,no, +A5114144035,https://openalex.org/A5114144035,Elisabeth Funk,,2,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5026676335,https://openalex.org/A5026676335,Enno Lohmann,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5038704518,https://openalex.org/A5038704518,Erik Lange,,3,15,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5045815179,https://openalex.org/A5045815179,Erwin Amann,https://orcid.org/0000-0001-6396-2061,79,464,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5117255976,https://openalex.org/A5117255976,Erwin Amann,,3,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5117255984,https://openalex.org/A5117255984,Erwin Amann,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5005872032,https://openalex.org/A5005872032,Eva Koch,,4,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5050141868,https://openalex.org/A5050141868,Eva Overfeld,,1,20,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5039035463,https://openalex.org/A5039035463,Eva Ziegler,,2,20,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5000766657,https://openalex.org/A5000766657,Fabian Hübner,,2,5,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:1,removed:1,no, +A5004725011,https://openalex.org/A5004725011,Fabian Lutz,,3,17,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5000166770,https://openalex.org/A5000166770,Fawad Sheikh,https://orcid.org/0000-0003-4112-5988,66,577,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5062848747,https://openalex.org/A5062848747,Felix Meurer,,5,6,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5101894409,https://openalex.org/A5101894409,Feng Zheng,https://orcid.org/0000-0002-9031-5043,83,837,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5045333748,https://openalex.org/A5045333748,Florian Blum,https://orcid.org/0000-0002-2307-2387,16,151,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5089485313,https://openalex.org/A5089485313,Florian Stehling,https://orcid.org/0000-0002-2417-2048,157,2194,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5037918949,https://openalex.org/A5037918949,Frank Bonin,,8,1213,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5059162112,https://openalex.org/A5059162112,Frank Kensy,,33,1425,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5041417063,https://openalex.org/A5041417063,Frank Liepold,,2,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5073457797,https://openalex.org/A5073457797,Frank Saßmannshausen,,1,11,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5090814925,https://openalex.org/A5090814925,Frank Schreier,,6,90,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5011988694,https://openalex.org/A5011988694,Frank Stock,,3,177,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5085471055,https://openalex.org/A5085471055,Franz-Josef Schumacher,,12,162,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5104724077,https://openalex.org/A5104724077,Frederik Hamm,https://orcid.org/0009-0002-2482-9916,7,56,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5112848045,https://openalex.org/A5112848045,Friederike Schmidt,,84,877,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5077223798,https://openalex.org/A5077223798,Friedrich Waag,,22,1043,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5004249555,https://openalex.org/A5004249555,Gabriel Gomez,https://orcid.org/0000-0003-1917-8768,33,260,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5040165911,https://openalex.org/A5040165911,Gabriele Gauß,,15,116,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5027843014,https://openalex.org/A5027843014,Gaby Herrmann,,14,213,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5070896019,https://openalex.org/A5070896019,Georg Hennecke,,2,12,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:2,currently registered:1,no, +A5105675784,https://openalex.org/A5105675784,Gerhard Bösch,https://orcid.org/0000-0002-7629-985X,421,3209,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5002241289,https://openalex.org/A5002241289,Gerhard Rapp,,4,10,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5060415016,https://openalex.org/A5060415016,Günther Hilger,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5076616002,https://openalex.org/A5076616002,Halil-Ibrahim Karadag,,3,17,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5111945828,https://openalex.org/A5111945828,Hans Dieter Sitz,,2,54,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5017865330,https://openalex.org/A5017865330,Hans Rupp,,33,277,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5036866194,https://openalex.org/A5036866194,Hans-Christian Schnack,,2,6,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5090778840,https://openalex.org/A5090778840,Hans-Jörg Köhler,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5081070872,https://openalex.org/A5081070872,Harald Sanders,,3,28,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5030236051,https://openalex.org/A5030236051,Harpreet Kaur,https://orcid.org/0009-0006-3209-0890,164,1545,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5087755476,https://openalex.org/A5087755476,Hauke Springer,https://orcid.org/0000-0002-4288-6431,161,6647,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5080797073,https://openalex.org/A5080797073,Heidi Meyer,,7,5,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:2,currently registered:1,no, +A5080795837,https://openalex.org/A5080795837,Heike Hesse,https://orcid.org/0000-0002-8398-2518,26,143,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5076442919,https://openalex.org/A5076442919,Heike Heuer,https://orcid.org/0000-0001-7094-6959,186,5774,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5064670118,https://openalex.org/A5064670118,Heinz Kaminski,,88,2400,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:1,currently registered:1,no, +A5067868124,https://openalex.org/A5067868124,Helmut Breier,,2,10,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5109552942,https://openalex.org/A5109552942,Hendrik Schäfer,,5,8,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5020103124,https://openalex.org/A5020103124,Henrik Hanke,,7,9,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5118899748,https://openalex.org/A5118899748,Henrik Schneider,https://orcid.org/0009-0002-5072-5758,389,68,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5061706562,https://openalex.org/A5061706562,Herbert Marschall,,10,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5093728336,https://openalex.org/A5093728336,Horst Tonn,,1,0,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5047671213,https://openalex.org/A5047671213,Hubertus von Stein,,2,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5017272004,https://openalex.org/A5017272004,Ina Schumann,,1,17,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5088398932,https://openalex.org/A5088398932,Irmgard Winkels,,4,16,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5061578974,https://openalex.org/A5061578974,Isabelle Kraft,,3,19,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5071231662,https://openalex.org/A5071231662,Israa Al-Qaysi,,4,6,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5066538226,https://openalex.org/A5066538226,Ivan Radev,https://orcid.org/0000-0002-3895-6871,60,799,child_of_ude,The Hydrogen and Fuel Cell Center,1,Geschäftsführer:2,removed:1,no, +A5128575435,https://openalex.org/A5128575435,Ivan Radev,,1,0,child_of_ude,The Hydrogen and Fuel Cell Center,1,Geschäftsführer:2,removed:1,no, +A5128676335,https://openalex.org/A5128676335,Ivan Radev,,1,0,child_of_ude,The Hydrogen and Fuel Cell Center,1,Geschäftsführer:2,removed:1,no, +A5068780119,https://openalex.org/A5068780119,Ivana Radulovic,https://orcid.org/0000-0003-4949-6011,3,30,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5057279620,https://openalex.org/A5057279620,Jacqueline Hassel,,6,8,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5004726913,https://openalex.org/A5004726913,Jan Gehrmann,,1,30,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5110748857,https://openalex.org/A5110748857,Jan Martini,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5114492513,https://openalex.org/A5114492513,Jan Siefert,,1,0,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5118574914,https://openalex.org/A5118574914,Jan Siefert,,1,0,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5108666196,https://openalex.org/A5108666196,Janine Biermann,,37,536,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5008876995,https://openalex.org/A5008876995,Jelka Müller,,1,55,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5036054187,https://openalex.org/A5036054187,Jennifer Klatt,,13,299,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5072503343,https://openalex.org/A5072503343,Jennifer Schäfer,,6,51,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5005916878,https://openalex.org/A5005916878,Jens Leber,https://orcid.org/0009-0004-3369-9310,8,7,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,removed:1,no, +A5070743643,https://openalex.org/A5070743643,Jens Leister,,1,46,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5019237165,https://openalex.org/A5019237165,Jens Voskuhl,https://orcid.org/0000-0002-9612-2306,191,2824,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5039380118,https://openalex.org/A5039380118,Jessica Wagner,,34,1379,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:3,currently registered:1,no, +A5065950441,https://openalex.org/A5065950441,Joachim Felix,,2,64,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5093010306,https://openalex.org/A5093010306,Jochen Laub,,1,2,child_of_ude,Institute for Advanced Study in the Humanities Essen,1,Geschäftsführer:2; Liquidator:1,currently registered:1,no, +A5052002212,https://openalex.org/A5052002212,Jochen Schiemann,,8,123,child_of_ude,Institut für Energie- und Umwelttechnik,1,Liquidator:1,removed:1,no, +A5039240740,https://openalex.org/A5039240740,Jochen Welker,,1,6,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5070209669,https://openalex.org/A5070209669,Johanna Christina Czeschik,https://orcid.org/0000-0002-9254-0084,29,1692,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5048923333,https://openalex.org/A5048923333,Johannes Fuß,https://orcid.org/0000-0003-0445-5021,143,3507,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5120144706,https://openalex.org/A5120144706,Johannes Fuß,,4,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5129542229,https://openalex.org/A5129542229,Johannes Fuß,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5112955990,https://openalex.org/A5112955990,Johannes Kubacki,,1,4,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5092455758,https://openalex.org/A5092455758,Johannes Morzeck,,3,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5032636758,https://openalex.org/A5032636758,Johannes Tiemer,,1,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5062591501,https://openalex.org/A5062591501,Jonas Dorlöchter,,2,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5049096789,https://openalex.org/A5049096789,Jonas Schäfer,,4,75,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5013982747,https://openalex.org/A5013982747,Julia Kotte,,3,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5104300770,https://openalex.org/A5104300770,Julia Specht,,3,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5037354453,https://openalex.org/A5037354453,Julia Wiedmann,,4,6,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5010618332,https://openalex.org/A5010618332,Julian Börner,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5048272221,https://openalex.org/A5048272221,Julian Friedrich,https://orcid.org/0000-0003-1364-4596,17,222,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Prokurist:1,currently registered:1,no, +A5071196344,https://openalex.org/A5071196344,Julian Klein,https://orcid.org/0000-0003-2349-6953,14,555,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5049967267,https://openalex.org/A5049967267,Juliane Hauschild,,2,5,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5030302430,https://openalex.org/A5030302430,Jutta Langer,,1,26,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5038720735,https://openalex.org/A5038720735,Jörg Uhlemann,https://orcid.org/0000-0001-9542-7055,57,420,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Prokurist:1,currently registered:1,no, +A5056682397,https://openalex.org/A5056682397,Jörg Wissler,https://orcid.org/0000-0002-2099-2444,15,59,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5024741328,https://openalex.org/A5024741328,Jürgen Turek,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5071760917,https://openalex.org/A5071760917,Karin Kress,,2,0,direct_ude,University of Duisburg-Essen,1,Prokurist:2,removed:1,no, +A5013765314,https://openalex.org/A5013765314,Katharina Nebel,,25,690,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5050045690,https://openalex.org/A5050045690,Kathrin Bischof,,2,12,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5073438747,https://openalex.org/A5073438747,Katrin Moses,,7,914,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5027732212,https://openalex.org/A5027732212,Kerstin Heise,,11,428,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5016450244,https://openalex.org/A5016450244,Kerstin Linke,,2,20,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5020366724,https://openalex.org/A5020366724,Kerstin Schiffer,,2,2,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5016337319,https://openalex.org/A5016337319,Kira Schmidt,https://orcid.org/0000-0002-2308-509X,20,144,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5036108521,https://openalex.org/A5036108521,Konrad Mueller,,14,493,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5071311431,https://openalex.org/A5071311431,Kurt Retter,,1,0,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5013704112,https://openalex.org/A5013704112,Lars Großmann,,15,549,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5093724216,https://openalex.org/A5093724216,Lars Mohren,,2,6,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5094240143,https://openalex.org/A5094240143,Lars Mohren,https://orcid.org/0009-0002-8990-7487,3,32,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5060428160,https://openalex.org/A5060428160,Lars Pape,https://orcid.org/0000-0002-3635-6418,396,8930,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5114129179,https://openalex.org/A5114129179,Lars Pape,,2,3,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5014404906,https://openalex.org/A5014404906,Laura Beutel,,4,4,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5065808255,https://openalex.org/A5065808255,Lena Zimmer,,1,26,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5066702983,https://openalex.org/A5066702983,Leoni Bussmann,,3,14,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5121364042,https://openalex.org/A5121364042,Li Song,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5056185884,https://openalex.org/A5056185884,Lina Philipp,,1,2,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5009329425,https://openalex.org/A5009329425,Linda Sauter,,3,653,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5108670181,https://openalex.org/A5108670181,Lisa Kroll,,2,200,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5024649380,https://openalex.org/A5024649380,Lisa Richter,,14,124,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5103009677,https://openalex.org/A5103009677,Lisa Walter,https://orcid.org/0000-0003-3453-1304,11,169,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5118565942,https://openalex.org/A5118565942,Lisa Walter,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5064923908,https://openalex.org/A5064923908,Lisa Zimmer,https://orcid.org/0000-0002-3680-3521,376,20577,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5126334393,https://openalex.org/A5126334393,Lisa Zimmer,,17,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5066213830,https://openalex.org/A5066213830,Lothar Wefers,,3,20,child_of_ude,Deutsches Textilforschungszentrum Nord-West,1,Geschäftsführer:1,currently registered:1,no, +A5093091778,https://openalex.org/A5093091778,Lucas Schulz,,2,2,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5098906756,https://openalex.org/A5098906756,Lukas Höptner,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5064434141,https://openalex.org/A5064434141,Maic Masuch,https://orcid.org/0000-0002-7965-6269,135,2233,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5126271856,https://openalex.org/A5126271856,Maic Masuch,,5,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5114071897,https://openalex.org/A5114071897,Maik Arnold,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5078750152,https://openalex.org/A5078750152,Maik Dreyer,https://orcid.org/0000-0001-8158-3946,17,241,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5036867308,https://openalex.org/A5036867308,Maike Reinders,,3,5,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5053746965,https://openalex.org/A5053746965,Maike Uhlig,,1,35,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5057673751,https://openalex.org/A5057673751,Mandy Sander,https://orcid.org/0000-0003-3335-6217,15,195,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5113171169,https://openalex.org/A5113171169,Manfred Jensen,,49,1236,direct_ude,University of Duisburg-Essen,1,Liquidator:1,currently registered:1,no, +A5068530955,https://openalex.org/A5068530955,Manja Jonas,,8,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5047587792,https://openalex.org/A5047587792,Marc Bosse,,5,21,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5054058904,https://openalex.org/A5054058904,Marc Hitzke,,2,49,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5113907885,https://openalex.org/A5113907885,Marcel Rohde,,2,3,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5005068080,https://openalex.org/A5005068080,Marcel Wöllbrink,,2,20,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5019879976,https://openalex.org/A5019879976,Marcin Krawczyk,https://orcid.org/0000-0002-0113-0777,574,7435,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5049534528,https://openalex.org/A5049534528,Marco Russ,,5,59,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5007170803,https://openalex.org/A5007170803,Marcus Handte,https://orcid.org/0000-0003-4054-1306,107,843,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5079117291,https://openalex.org/A5079117291,Maren Schulze,https://orcid.org/0000-0002-4577-6473,58,1306,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5033725849,https://openalex.org/A5033725849,Marion Gallus,,4,88,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5079458733,https://openalex.org/A5079458733,Marion Lindner,https://orcid.org/0000-0002-4689-8659,28,274,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5024781039,https://openalex.org/A5024781039,Marius Reinders,,2,113,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:2,currently registered:1,no, +A5110087827,https://openalex.org/A5110087827,Mark Bormann,,1,54,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5058616263,https://openalex.org/A5058616263,Markus Feurstein,,72,1273,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5073381146,https://openalex.org/A5073381146,Markus Großweischede,,9,10,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5008210663,https://openalex.org/A5008210663,Markus Kuepper,,7,75,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5001509958,https://openalex.org/A5001509958,Marten Clausen,,35,492,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5049699371,https://openalex.org/A5049699371,Martin Braunersreuther,,1,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5001167896,https://openalex.org/A5001167896,Martin Glas,https://orcid.org/0000-0003-3167-3403,450,6081,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5013459956,https://openalex.org/A5013459956,Martin Goeke,https://orcid.org/0000-0003-1026-8716,21,55,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5057981860,https://openalex.org/A5057981860,Martin Heisler,,8,133,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5078670601,https://openalex.org/A5078670601,Martin Kowalski,,5,12,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5050989539,https://openalex.org/A5050989539,Martin Mackowiak,,2,120,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5110936047,https://openalex.org/A5110936047,Martin Pelzer,,2,53,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5074197647,https://openalex.org/A5074197647,Martin Rosenkranz,,5,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5100167482,https://openalex.org/A5100167482,Martin Schlosser,,1,0,child_of_ude,Institute for Advanced Study in the Humanities Essen,1,Prokurist:1,currently registered:1,no, +A5106679393,https://openalex.org/A5106679393,Martina Velten,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5067906488,https://openalex.org/A5067906488,Matthias Czerwonka,,3,16,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5078302132,https://openalex.org/A5078302132,Matthias Stüwe,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5006138482,https://openalex.org/A5006138482,Max Frei,https://orcid.org/0000-0001-8992-7205,17,207,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5055234849,https://openalex.org/A5055234849,Maximilian Petri,https://orcid.org/0000-0002-1424-2815,27,1510,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5081973623,https://openalex.org/A5081973623,Mehmet Sanlialp,https://orcid.org/0000-0003-1159-1427,16,754,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5104045857,https://openalex.org/A5104045857,Melanie Baumann,,21,286,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5087645890,https://openalex.org/A5087645890,Melanie Kaufmann,,1,5,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5062241567,https://openalex.org/A5062241567,Michael Beißwenger,https://orcid.org/0000-0001-9442-5402,101,807,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5105097515,https://openalex.org/A5105097515,Michael Beißwenger,,7,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5080063285,https://openalex.org/A5080063285,Michael Ehrmann,https://orcid.org/0000-0002-1927-260X,354,20372,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5108960748,https://openalex.org/A5108960748,Michael Ehrmann,,3,1,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5034866368,https://openalex.org/A5034866368,Michael Eisinger,,16,252,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5057021245,https://openalex.org/A5057021245,Michael Lorke,https://orcid.org/0000-0002-9716-855X,121,2558,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5128167886,https://openalex.org/A5128167886,Michael Lorke,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5006409004,https://openalex.org/A5006409004,Michael Michalski,,2,10,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5015834718,https://openalex.org/A5015834718,Michael Neurath,,3,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5013942006,https://openalex.org/A5013942006,Michael Noweski,https://orcid.org/0000-0002-7113-9320,29,58,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5011767928,https://openalex.org/A5011767928,Michael Pingen,,4,25,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5015241303,https://openalex.org/A5015241303,Michael Siebers,https://orcid.org/0000-0003-1891-3572,54,463,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5120585934,https://openalex.org/A5120585934,Michael Siebers,https://orcid.org/0000-0002-1400-2176,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5041200016,https://openalex.org/A5041200016,Michael Wagenknecht,,5,0,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5054232482,https://openalex.org/A5054232482,Michael Wohlgemuth,,4,101,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5088820865,https://openalex.org/A5088820865,Michelle Kulbatzki,,1,20,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5064463286,https://openalex.org/A5064463286,Ming Sun,https://orcid.org/0000-0002-6416-312X,87,1147,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5047402970,https://openalex.org/A5047402970,Mirco Kaponig,,2,66,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5107202957,https://openalex.org/A5107202957,Miriam Schilling,,4,1,direct_ude,University of Duisburg-Essen,1,Liquidator:1,currently registered:1,no, +A5115559958,https://openalex.org/A5115559958,Mohamed Hassoun,,2,5,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5090678919,https://openalex.org/A5090678919,Mohammed Youssef,,1,16,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5034793612,https://openalex.org/A5034793612,Monika Hardt,,7,61,direct_ude,University of Duisburg-Essen,1,Inhaber:2,removed:1,no, +A5044829228,https://openalex.org/A5044829228,Monika Rogge,,7,81,direct_ude,University of Duisburg-Essen,1,Liquidator:1,removed:1,no, +A5069356501,https://openalex.org/A5069356501,Muhammad Asif,https://orcid.org/0000-0002-6944-5214,6,60,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5037609071,https://openalex.org/A5037609071,Nadine Coym,,1,10,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5103228465,https://openalex.org/A5103228465,Nadine Schroeder,https://orcid.org/0000-0003-0909-9572,2,25,direct_ude,University of Duisburg-Essen,1,Inhaber:1,removed:1,no, +A5110970122,https://openalex.org/A5110970122,Nadine Schroeder,,4,47,direct_ude,University of Duisburg-Essen,1,Inhaber:1,removed:1,no, +A5053960816,https://openalex.org/A5053960816,Natalie Wolff,,8,106,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5005921146,https://openalex.org/A5005921146,Nico Koch,,3,20,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5127359118,https://openalex.org/A5127359118,Nico Schreiber,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5126212355,https://openalex.org/A5126212355,Nico Schwarz,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5079749161,https://openalex.org/A5079749161,Nicole Hülsmann,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5015620831,https://openalex.org/A5015620831,Nicole Lewandowski,,16,930,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5013799951,https://openalex.org/A5013799951,Nikolai Fischer,,1,15,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5112613860,https://openalex.org/A5112613860,Nils Dieckmann,,5,18,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5068650603,https://openalex.org/A5068650603,Nils Hartmann,https://orcid.org/0000-0001-6804-514X,93,1333,direct_ude,University of Duisburg-Essen,1,Persönlich haftender Gesellschafter:1,currently registered:1,no, +A5048433515,https://openalex.org/A5048433515,Nina Winkler,,2,32,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5062473614,https://openalex.org/A5062473614,Nora Meyer,,2,4,child_of_ude,Institute for Advanced Study in the Humanities Essen,1,Geschäftsführer:1,currently registered:1,no, +A5017423020,https://openalex.org/A5017423020,Norbert Fröhler,,40,50,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5012071823,https://openalex.org/A5012071823,Norbert Runge,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5009985094,https://openalex.org/A5009985094,Norbert Schwab,,2,3,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5014326133,https://openalex.org/A5014326133,Olaf Wiesner,,71,2681,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5108364487,https://openalex.org/A5108364487,Oliver Woll,,1,6,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5107158979,https://openalex.org/A5107158979,Onur Keskin,,1,2,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5017974502,https://openalex.org/A5017974502,Patrick Clasen,https://orcid.org/0000-0002-5804-2057,3,9,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5102793926,https://openalex.org/A5102793926,Patrick Urban,https://orcid.org/0000-0003-1051-5086,2,15,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5039495249,https://openalex.org/A5039495249,Paul Mauer,,11,5,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5036166423,https://openalex.org/A5036166423,Peter Czerner,,6,121,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5062834348,https://openalex.org/A5062834348,Peter Englisch,,2,0,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5061591858,https://openalex.org/A5061591858,Peter Faupel,,8,38,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5050784184,https://openalex.org/A5050784184,Peter Hüsken,,4,21,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5034367329,https://openalex.org/A5034367329,Peter Sutter,,2,46,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5016091481,https://openalex.org/A5016091481,Petra Mersmann,,8,727,child_of_ude,Deutsches Textilforschungszentrum Nord-West,1,Geschäftsführer:1,currently registered:1,no, +A5083616686,https://openalex.org/A5083616686,Petra Wyrowski,,1,55,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5108471127,https://openalex.org/A5108471127,Philip Vogel,,10,120,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5127716714,https://openalex.org/A5127716714,Philipp Jansen,,1,0,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5101606624,https://openalex.org/A5101606624,Ping Zhou,https://orcid.org/0000-0003-3837-8458,338,7011,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5123782002,https://openalex.org/A5123782002,Ping Zhou,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5089821209,https://openalex.org/A5089821209,Ralf Flassenberg,,1,24,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5007200360,https://openalex.org/A5007200360,Ralf Maibaum,,1,372,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2; Prokurist:2,currently registered:1,no, +A5028172633,https://openalex.org/A5028172633,Ralf Reißmann,,5,12,direct_ude,University of Duisburg-Essen,1,Prokurist:2; Geschäftsführer:1,currently registered:1,no, +A5112890667,https://openalex.org/A5112890667,Regina König,,3,2,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5053507266,https://openalex.org/A5053507266,Regina Schleicher,,18,1,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5029651565,https://openalex.org/A5029651565,Robert Marks,https://orcid.org/0000-0002-8196-8114,15,203,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5109458583,https://openalex.org/A5109458583,Robert Potthoff,,5,118,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5025407978,https://openalex.org/A5025407978,Robin Sprenger,,11,4,direct_ude,University of Duisburg-Essen,1,Inhaber:1,removed:1,no, +A5065126328,https://openalex.org/A5065126328,Roland Broll,https://orcid.org/0000-0002-9223-8141,3,47,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5011282396,https://openalex.org/A5011282396,Rolf Moeller,,3,7,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5064030128,https://openalex.org/A5064030128,Sabine Erkens,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5060940363,https://openalex.org/A5060940363,Sabine Schramm,,27,864,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5102793521,https://openalex.org/A5102793521,Sarah Hofmann,,7,24,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:3,currently registered:1,no, +A5101692938,https://openalex.org/A5101692938,Sarah Schmid,https://orcid.org/0000-0002-2392-7234,27,632,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2; Liquidator:1,currently registered:1,no, +A5012945966,https://openalex.org/A5012945966,Sarah Tillmann,,2,52,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5018830497,https://openalex.org/A5018830497,Sascha Lang,https://orcid.org/0000-0001-6850-0464,7,126,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5103336903,https://openalex.org/A5103336903,Sascha Lang,,1,8,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5062425859,https://openalex.org/A5062425859,Sascha Nolte,,1,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5039669109,https://openalex.org/A5039669109,Saskia Schmidt,https://orcid.org/0000-0001-8043-7912,4,29,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5030054874,https://openalex.org/A5030054874,Sebastian Bartling,,4,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5050737096,https://openalex.org/A5050737096,Sebastian Bartling,,3,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5035946845,https://openalex.org/A5035946845,Sebastian Blume,https://orcid.org/0000-0001-6504-0343,28,217,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5029172573,https://openalex.org/A5029172573,Sebastian Hofmeister,,3,19,direct_ude,University of Duisburg-Essen,1,Prokurist:2,removed:1,no, +A5112675659,https://openalex.org/A5112675659,Sebastian Hofmeister,,5,119,direct_ude,University of Duisburg-Essen,1,Prokurist:2,removed:1,no, +A5013243118,https://openalex.org/A5013243118,Sebastian Jeschke,,39,155,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5054728144,https://openalex.org/A5054728144,Sebastian Krull,,6,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5090567165,https://openalex.org/A5090567165,Sebastian Putz,,2,25,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5010475697,https://openalex.org/A5010475697,Sebastian Tewes,,7,20,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5053166425,https://openalex.org/A5053166425,Sebastian Tewes,,2,0,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5033560201,https://openalex.org/A5033560201,Siegfried Frey,,2,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5020497154,https://openalex.org/A5020497154,Siegfried Jahnke,https://orcid.org/0000-0002-4086-2567,120,3004,direct_ude,University of Duisburg-Essen,1,Liquidator:1,removed:1,no, +A5112745971,https://openalex.org/A5112745971,Silke Dittmer,,9,205,direct_ude,University of Duisburg-Essen,1,Liquidator:1,currently registered:1,no, +A5094406658,https://openalex.org/A5094406658,Simon Heide,,1,0,direct_ude,University of Duisburg-Essen,1,Liquidator:1,removed:1,no, +A5058898852,https://openalex.org/A5058898852,Simon Thies,https://orcid.org/0000-0002-7041-145X,6,63,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5022438334,https://openalex.org/A5022438334,Solveig Hofmann,,4,61,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5063699777,https://openalex.org/A5063699777,Songül Özdemir,,1,13,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5110829775,https://openalex.org/A5110829775,Sonja Krebs,,1,3,direct_ude,University of Duisburg-Essen,1,Liquidator:1,currently registered:1,no, +A5080839320,https://openalex.org/A5080839320,Sonja Schmittmann,https://orcid.org/0000-0003-3886-3453,6,29,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5007861447,https://openalex.org/A5007861447,Stefan Kasper,https://orcid.org/0000-0002-5947-8733,294,13092,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5069191084,https://openalex.org/A5069191084,Stefan Kirschner,,3,25,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5051936861,https://openalex.org/A5051936861,Stefan Löbbecke,,46,524,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5062839956,https://openalex.org/A5062839956,Stefan Schmiedel,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5026810932,https://openalex.org/A5026810932,Stefan Sell,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5045604426,https://openalex.org/A5045604426,Stefan Zillmann,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5057341721,https://openalex.org/A5057341721,Stefan Zöllner,,43,1274,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5056027753,https://openalex.org/A5056027753,Stefanie Beckmann,,2,134,child_of_ude,Institut für Energie- und Umwelttechnik,1,Geschäftsführer:2,currently registered:1,no, +A5091298186,https://openalex.org/A5091298186,Stefanie Köhler,https://orcid.org/0000-0002-7176-1240,5,73,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5112814108,https://openalex.org/A5112814108,Steffen Bender,,12,8,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5016825386,https://openalex.org/A5016825386,Stephan Brauckmann,,6,124,direct_ude,University of Duisburg-Essen,1,Liquidator:1,removed:1,no, +A5051908628,https://openalex.org/A5051908628,Stephan Durst,,3,309,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5033015229,https://openalex.org/A5033015229,Stephan Schweig,https://orcid.org/0000-0001-9869-2479,19,58,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5053376953,https://openalex.org/A5053376953,Stephan Tiedemann,,2,263,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5069502596,https://openalex.org/A5069502596,Susanne Fiedler,,8,432,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5034766781,https://openalex.org/A5034766781,Susanne Gäde,,3,17,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5059835114,https://openalex.org/A5059835114,Susanne Löhr,,2,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,currently registered:1,no, +A5091297759,https://openalex.org/A5091297759,Sven Sachse,https://orcid.org/0009-0006-7742-4743,4,3,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5089516451,https://openalex.org/A5089516451,Swen Hesse,https://orcid.org/0000-0002-2055-2764,274,5314,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5061378179,https://openalex.org/A5061378179,Sylvia Hartmann,https://orcid.org/0000-0003-3424-1091,262,9391,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5101314779,https://openalex.org/A5101314779,Sören Köhler,,4,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5118718256,https://openalex.org/A5118718256,Tanja Ulrich,,2,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5106922500,https://openalex.org/A5106922500,Thomas Beckers,,8,358,direct_ude,University of Duisburg-Essen,1,Inhaber:1,removed:1,no, +A5115787598,https://openalex.org/A5115787598,Thomas Homm,,1,5,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5023405815,https://openalex.org/A5023405815,Thomas Johanndeiter,,2,20,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5030597886,https://openalex.org/A5030597886,Thomas Rampp,,119,1687,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5124530922,https://openalex.org/A5124530922,Thomas Rampp,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5084945725,https://openalex.org/A5084945725,Thomas Retzmann,,45,147,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5081741992,https://openalex.org/A5081741992,Thomas Sawitowski,,31,1263,direct_ude,University of Duisburg-Essen,1,Prokurist:2,currently registered:1,no, +A5009457064,https://openalex.org/A5009457064,Thomas Scholten,,2,31,direct_ude,University of Duisburg-Essen,1,Prokurist:1,removed:1,no, +A5015351093,https://openalex.org/A5015351093,Thomas Schweer,,2,19,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5060560919,https://openalex.org/A5060560919,Thomas Schweer,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5027775756,https://openalex.org/A5027775756,Thomas Spitzley,,47,59,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5022478353,https://openalex.org/A5022478353,Thomas Theiselmann,,1,1,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5030354170,https://openalex.org/A5030354170,Thorsten Brenner,https://orcid.org/0000-0002-4570-877X,351,8344,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5125191411,https://openalex.org/A5125191411,Thorsten Brenner,,6,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5126942268,https://openalex.org/A5126942268,Thorsten Brenner,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,currently registered:1,no, +A5087080432,https://openalex.org/A5087080432,Tim Brand,https://orcid.org/0000-0002-3375-3178,21,206,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5083757409,https://openalex.org/A5083757409,Timo Bartel,,3,19,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5112755428,https://openalex.org/A5112755428,Timo Bartel,,22,129,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5043034757,https://openalex.org/A5043034757,Tobias Hagemeier,,2,22,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:2,removed:1,no, +A5102457222,https://openalex.org/A5102457222,Tobias Kollmann,,45,2,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5021881029,https://openalex.org/A5021881029,Torsten Binder,https://orcid.org/0000-0001-6578-8992,7,77,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5013171104,https://openalex.org/A5013171104,Torsten Endres,https://orcid.org/0000-0001-8100-3921,55,433,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5123411133,https://openalex.org/A5123411133,Torsten Endres,,1,0,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5111443707,https://openalex.org/A5111443707,Torsten Heine,,3,126,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5015797087,https://openalex.org/A5015797087,Ulrich Dierkes,https://orcid.org/0000-0002-6938-6912,72,834,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5036657126,https://openalex.org/A5036657126,Ulrich Kilian,,4,1,direct_ude,University of Duisburg-Essen,1,Liquidator:1,removed:1,no, +A5095550945,https://openalex.org/A5095550945,Ulrike Berger,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5074941150,https://openalex.org/A5074941150,Ute Pascher,,10,18,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5095550961,https://openalex.org/A5095550961,Ute Reusch,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1; Liquidator:1,removed:1,no, +A5036671939,https://openalex.org/A5036671939,Uwe Knierim,,2,6,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5000119283,https://openalex.org/A5000119283,Uwe Pflaum,,1,5,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5052599699,https://openalex.org/A5052599699,Verena Beck,,15,1013,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5027154134,https://openalex.org/A5027154134,Werner Gaulke,,22,127,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5071766547,https://openalex.org/A5071766547,Wilfried Eberhardt,https://orcid.org/0000-0003-4284-3586,496,38376,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5019228221,https://openalex.org/A5019228221,Wilhelm Koop,,14,88,direct_ude,University of Duisburg-Essen,1,Inhaber:1,currently registered:1,no, +A5095335388,https://openalex.org/A5095335388,Willi Eßer,,2,4,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5063395947,https://openalex.org/A5063395947,Wojciech Kowalczyk,https://orcid.org/0000-0002-7390-2836,87,718,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5097337259,https://openalex.org/A5097337259,Wolfgang Kleem,,2,20,direct_ude,University of Duisburg-Essen,1,Prokurist:1,currently registered:1,no, +A5062554171,https://openalex.org/A5062554171,Xiaoxiao Zhou,,104,1760,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5007716502,https://openalex.org/A5007716502,Xiaxiao Zhou,,1,0,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5055394334,https://openalex.org/A5055394334,Yan Qi,,3,25,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5065806273,https://openalex.org/A5065806273,Yan Qi,https://orcid.org/0009-0007-4565-7232,19,63,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5023904510,https://openalex.org/A5023904510,Yingying Wang,https://orcid.org/0000-0002-9437-8447,4,29,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,removed:1,no, +A5101477617,https://openalex.org/A5101477617,Yuqing Wu,https://orcid.org/0009-0002-7623-5677,34,1185,direct_ude,University of Duisburg-Essen,1,Geschäftsführer:1,currently registered:1,no, +A5030044886,https://openalex.org/A5030044886,Alexander Berges,,1,11,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5028232392,https://openalex.org/A5028232392,Alexander Bäuerle,,15,27,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5083878535,https://openalex.org/A5083878535,Alexander Bäuerle,https://orcid.org/0000-0003-1488-8592,138,2805,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5124212331,https://openalex.org/A5124212331,Alexander Bäuerle,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5125542871,https://openalex.org/A5125542871,Alexander Bäuerle,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5125724201,https://openalex.org/A5125724201,Alexander Bäuerle,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5126543706,https://openalex.org/A5126543706,Alexander Bäuerle,,4,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5126964584,https://openalex.org/A5126964584,Alexander Bäuerle,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5120154138,https://openalex.org/A5120154138,Alexander Kuß,https://orcid.org/0000-0002-9304-8403,1,3,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5074256634,https://openalex.org/A5074256634,Alexander Neuhaus,https://orcid.org/0000-0003-0477-3281,26,621,direct_ude,University of Duisburg-Essen,2,Liquidator:1; Prokurist:1,currently registered:1; removed:1,no, +A5102914099,https://openalex.org/A5102914099,Alexander Neuhaus,https://orcid.org/0009-0001-6844-1924,4,34,direct_ude,University of Duisburg-Essen,2,Liquidator:1; Prokurist:1,currently registered:1; removed:1,no, +A5124241431,https://openalex.org/A5124241431,Alexander Neuhaus,,1,0,direct_ude,University of Duisburg-Essen,2,Liquidator:1; Prokurist:1,currently registered:1; removed:1,no, +A5036432950,https://openalex.org/A5036432950,Alexandra Frey,https://orcid.org/0000-0001-5502-581X,50,293,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5012900736,https://openalex.org/A5012900736,Amir Ahmadi,https://orcid.org/0000-0002-5747-7112,103,3534,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5023371876,https://openalex.org/A5023371876,Andreas Jaekel,,7,109,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Liquidator:1,removed:2,no, +A5038964333,https://openalex.org/A5038964333,André Heuer,,16,96,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:1; removed:1,no, +A5056731063,https://openalex.org/A5056731063,André Niemann,https://orcid.org/0009-0001-6428-9427,37,193,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5061572098,https://openalex.org/A5061572098,Angelika Eßer,,16,28,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3; Liquidator:2,currently registered:1; removed:1,no, +A5040988642,https://openalex.org/A5040988642,Anja Mayer,,3,66,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5072170197,https://openalex.org/A5072170197,Anna Caspari,,4,27,child_of_ude,Institut für Energie- und Umwelttechnik,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5113404409,https://openalex.org/A5113404409,Anna Knorr,https://orcid.org/0009-0004-6377-4529,5,8,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,removed:2,no, +A5039446944,https://openalex.org/A5039446944,Annette Kaiser,https://orcid.org/0000-0001-7873-3958,58,1211,direct_ude,University of Duisburg-Essen,2,Inhaber:2; Prokurist:1,currently registered:2,no, +A5085521861,https://openalex.org/A5085521861,Arne Grundmann,,1,2,direct_ude,University of Duisburg-Essen,2,Liquidator:2; Geschäftsführer:1,removed:2,no, +A5103103785,https://openalex.org/A5103103785,Barbara König,https://orcid.org/0000-0002-4193-2889,229,2070,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5122594045,https://openalex.org/A5122594045,Barbara König,,4,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5086434486,https://openalex.org/A5086434486,Beate Lux,,10,510,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5117522592,https://openalex.org/A5117522592,Benedikt Roth,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5051561955,https://openalex.org/A5051561955,Benedikt Sommer,,4,85,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Geschäftsführer:1,currently registered:2,no, +A5047053024,https://openalex.org/A5047053024,Benjamin Hildebrandt,https://orcid.org/0000-0002-0011-3801,3,7,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5022511826,https://openalex.org/A5022511826,Bernhard Neuhaus,,5,294,direct_ude,University of Duisburg-Essen,2,Liquidator:1; Prokurist:1,currently registered:1; removed:1,no, +A5037766479,https://openalex.org/A5037766479,Bernhard Schütz,https://orcid.org/0000-0002-9449-5088,53,562,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1,currently registered:1; removed:1,no, +A5004181272,https://openalex.org/A5004181272,Birgit Meier,,2,30,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5100614119,https://openalex.org/A5100614119,Bo Yu,https://orcid.org/0000-0002-0910-2228,13,380,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5091592150,https://openalex.org/A5091592150,Britta Ervens,https://orcid.org/0000-0001-9534-9616,1,2,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5035407848,https://openalex.org/A5035407848,Burkhard Stüve,,11,124,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5109274767,https://openalex.org/A5109274767,Carmen Nickel,,24,1871,child_of_ude,Institut für Energie- und Umwelttechnik,2,Geschäftsführer:2,currently registered:2,no, +A5113286606,https://openalex.org/A5113286606,Carsten Schroeder,,6,22,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5047582798,https://openalex.org/A5047582798,Chris Schönherr,,1,11,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3; Liquidator:1,currently registered:1; removed:1,no, +A5058870391,https://openalex.org/A5058870391,Christian Schweiger,,2,456,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5113313442,https://openalex.org/A5113313442,Christian Temme,,1,3,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5065413632,https://openalex.org/A5065413632,Christina Alt,,9,1836,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Geschäftsführer:1,currently registered:2,no, +A5031278214,https://openalex.org/A5031278214,Christine Kube,,19,106,child_of_ude,Institut für Energie- und Umwelttechnik,2,Geschäftsführer:2,currently registered:2,no, +A5076386821,https://openalex.org/A5076386821,Christoph Leonhardt,,24,28,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4,currently registered:2,no, +A5100905519,https://openalex.org/A5100905519,Christoph Mueller,,5,7,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Geschäftsführer:1; Liquidator:1,currently registered:2,no, +A5113921527,https://openalex.org/A5113921527,Christoph Mueller,,2,92,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Geschäftsführer:1; Liquidator:1,currently registered:2,no, +A5074697803,https://openalex.org/A5074697803,Christoph Oster,https://orcid.org/0000-0002-0683-0430,62,224,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5096227567,https://openalex.org/A5096227567,Christoph Oster,,1,1,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5111926807,https://openalex.org/A5111926807,Claudia Voigt,,13,269,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5104165371,https://openalex.org/A5104165371,Dana Hofmann,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5087006281,https://openalex.org/A5087006281,Daniel Preuß,,3,14,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5057327561,https://openalex.org/A5057327561,Daniel Reimann,https://orcid.org/0000-0002-9083-4396,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5058315719,https://openalex.org/A5058315719,Dennis Michels,https://orcid.org/0000-0002-7530-9104,23,78,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:2,no, +A5113426808,https://openalex.org/A5113426808,Dennis Nagel,https://orcid.org/0009-0004-2911-9301,6,16,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5003692129,https://openalex.org/A5003692129,Diana Klein,https://orcid.org/0000-0002-1770-443X,137,3054,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5061726728,https://openalex.org/A5061726728,Dieter Loos,,5,18,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5047514819,https://openalex.org/A5047514819,Dirk Blasius,,5,1,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:2,no, +A5027161261,https://openalex.org/A5027161261,Dobromir Dobrev,https://orcid.org/0000-0002-4612-117X,640,61209,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5126402560,https://openalex.org/A5126402560,Dobromir Dobrev,,3,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5127444535,https://openalex.org/A5127444535,Dobromir Dobrev,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5130073673,https://openalex.org/A5130073673,Dobromir Dobrev,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5016661814,https://openalex.org/A5016661814,Dominik Esser,,16,754,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5116347062,https://openalex.org/A5116347062,Dorothee Nitsch,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:1; removed:1,no, +A5009897292,https://openalex.org/A5009897292,Elisabeth Maurer,,2,33,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5061252774,https://openalex.org/A5061252774,Elke Wessel,,7,185,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5011988398,https://openalex.org/A5011988398,Fatih Özcan,https://orcid.org/0000-0002-2584-7000,43,269,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5086528994,https://openalex.org/A5086528994,Fatih Özcan,https://orcid.org/0000-0002-3922-7902,51,500,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5123512479,https://openalex.org/A5123512479,Fatih Özcan,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5125278989,https://openalex.org/A5125278989,Fatih Özcan,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5065356264,https://openalex.org/A5065356264,Felix Bergmann,https://orcid.org/0000-0002-1224-9036,369,5442,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5103117681,https://openalex.org/A5103117681,Felix Bergmann,https://orcid.org/0009-0005-5621-6972,52,521,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5121086538,https://openalex.org/A5121086538,Felix Bergmann,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5024294120,https://openalex.org/A5024294120,Felix Kraus,,2,18,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1; Persönlich haftender Gesellschafter:1,currently registered:2,no, +A5111920811,https://openalex.org/A5111920811,Felix Wiegand,,33,66,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5111023305,https://openalex.org/A5111023305,Ferdinand Beckmann,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Persönlich haftender Gesellschafter:1,currently registered:2,no, +A5060063811,https://openalex.org/A5060063811,Florian Buchner,https://orcid.org/0000-0001-9440-1566,25,602,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Persönlich haftender Gesellschafter:1,currently registered:2,no, +A5071929694,https://openalex.org/A5071929694,Frank Heidtmann,,3,16,direct_ude,University of Duisburg-Essen,2,Persönlich haftender Gesellschafter:2,currently registered:1; removed:1,no, +A5058553419,https://openalex.org/A5058553419,Franz-Josef Glandorf,,5,66,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:1; removed:1,no, +A5081067232,https://openalex.org/A5081067232,Georg von Oepen,,2,0,child_of_ude,Rhein-Ruhr Institut für Sozialforschung und Politikberatung,2,Prokurist:5,currently registered:1; removed:1,no, +A5087443584,https://openalex.org/A5087443584,Gerhard Lackner,,10,266,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4,currently registered:2,no, +A5074872047,https://openalex.org/A5074872047,Hans Josef Dohmen,https://orcid.org/0000-0003-0828-2324,102,1346,direct_ude,University of Duisburg-Essen,2,Prokurist:2,currently registered:2,no, +A5071612550,https://openalex.org/A5071612550,Hansjobst Hirschfelder,,2,1,child_of_ude,Institut für Energie- und Umwelttechnik,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5055774787,https://openalex.org/A5055774787,Heike Averbeck,,4,104,direct_ude,University of Duisburg-Essen,2,Prokurist:2,currently registered:2,no, +A5080287017,https://openalex.org/A5080287017,Heike Mauer,https://orcid.org/0000-0002-5597-2283,122,120,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5087252344,https://openalex.org/A5087252344,Heike Siegert,,2,14,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5116888667,https://openalex.org/A5116888667,Heinrich Stork,,1,2,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1,currently registered:1; removed:1,no, +A5034936069,https://openalex.org/A5034936069,Hendrik Kramer,,12,124,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5059829997,https://openalex.org/A5059829997,Herbert Sanders,,4,36,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,removed:2,no, +A5009182476,https://openalex.org/A5009182476,Hermann Nienhaus,https://orcid.org/0000-0002-6549-6188,143,2979,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Persönlich haftender Gesellschafter:1,currently registered:2,no, +A5087499823,https://openalex.org/A5087499823,Holger Hilmer,,4,15,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,removed:2,no, +A5017579702,https://openalex.org/A5017579702,Holger Hirsch,,104,368,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5106329054,https://openalex.org/A5106329054,Hülya Yildirim,,2,1,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:1; removed:1,no, +A5116866984,https://openalex.org/A5116866984,Hülya Yildirim,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:1; removed:1,no, +A5083388613,https://openalex.org/A5083388613,Jakob Penner,,12,41,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5017110462,https://openalex.org/A5017110462,Jan Berends,https://orcid.org/0000-0003-4224-5455,3,58,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4,currently registered:1; removed:1,no, +A5044443427,https://openalex.org/A5044443427,Jens Hämmerling,,6,20,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5005124395,https://openalex.org/A5005124395,Johannes Köster,https://orcid.org/0000-0001-9818-9320,137,11545,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5022044556,https://openalex.org/A5022044556,Johannes Köster,,12,611,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5120888419,https://openalex.org/A5120888419,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5121626672,https://openalex.org/A5121626672,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5122765175,https://openalex.org/A5122765175,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5123007760,https://openalex.org/A5123007760,Johannes Köster,,2,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5123186606,https://openalex.org/A5123186606,Johannes Köster,,2,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5123260579,https://openalex.org/A5123260579,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5123387479,https://openalex.org/A5123387479,Johannes Köster,,2,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5123477225,https://openalex.org/A5123477225,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5124078048,https://openalex.org/A5124078048,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5124781563,https://openalex.org/A5124781563,Johannes Köster,,2,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5125090843,https://openalex.org/A5125090843,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5125141745,https://openalex.org/A5125141745,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5125388610,https://openalex.org/A5125388610,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5126295394,https://openalex.org/A5126295394,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5126796725,https://openalex.org/A5126796725,Johannes Köster,,4,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5128643085,https://openalex.org/A5128643085,Johannes Köster,,2,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5129873775,https://openalex.org/A5129873775,Johannes Köster,,2,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5130620706,https://openalex.org/A5130620706,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5130740025,https://openalex.org/A5130740025,Johannes Köster,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5089418966,https://openalex.org/A5089418966,Johannes Wiebe,,3,15,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,removed:2,no, +A5103436086,https://openalex.org/A5103436086,Jonathan Herrmann,,2,220,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5054049165,https://openalex.org/A5054049165,Judith Schröder,https://orcid.org/0000-0002-9916-8334,7,28,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1; Prokurist:1,currently registered:1; removed:1,no, +A5111911281,https://openalex.org/A5111911281,Judith Wagner,,58,401,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:1; removed:1,no, +A5068324427,https://openalex.org/A5068324427,Jutta Walter,,2,1,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,removed:2,no, +A5017014003,https://openalex.org/A5017014003,Jörg Niemeyer,,5,14,direct_ude,University of Duisburg-Essen,2,Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:2,no, +A5093067464,https://openalex.org/A5093067464,Kai Schröer,,7,23,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5103019792,https://openalex.org/A5103019792,Khanh Do,https://orcid.org/0000-0001-7834-3781,87,1267,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4,currently registered:2,no, +A5050451281,https://openalex.org/A5050451281,Kristina Kirsch,,1,49,direct_ude,University of Duisburg-Essen,2,Prokurist:4,currently registered:2,no, +A5053330077,https://openalex.org/A5053330077,Lars Breuer,https://orcid.org/0000-0002-7797-9662,61,416,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5123426135,https://openalex.org/A5123426135,Lars Breuer,,3,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5047592898,https://openalex.org/A5047592898,Liane John,,3,75,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5006651872,https://openalex.org/A5006651872,Ludmilla Schumacher,,14,182,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Geschäftsführer:1,currently registered:1; removed:1,no, +A5104440681,https://openalex.org/A5104440681,Manfred Baer,,17,480,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:2,no, +A5017950910,https://openalex.org/A5017950910,Manfred Mai,,117,398,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:1; removed:1,no, +A5056975067,https://openalex.org/A5056975067,Marc Eulerich,https://orcid.org/0000-0002-9965-7584,275,2429,direct_ude,University of Duisburg-Essen,2,Liquidator:2; Geschäftsführer:1,currently registered:2,no, +A5113933991,https://openalex.org/A5113933991,Marc Eulerich,,5,92,direct_ude,University of Duisburg-Essen,2,Liquidator:2; Geschäftsführer:1,currently registered:2,no, +A5123580203,https://openalex.org/A5123580203,Marc Eulerich,,1,0,direct_ude,University of Duisburg-Essen,2,Liquidator:2; Geschäftsführer:1,currently registered:2,no, +A5128493173,https://openalex.org/A5128493173,Marc Eulerich,,1,0,direct_ude,University of Duisburg-Essen,2,Liquidator:2; Geschäftsführer:1,currently registered:2,no, +A5010126702,https://openalex.org/A5010126702,Marcus Urbani,,2,32,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:2,currently registered:2,no, +A5111666539,https://openalex.org/A5111666539,Margit Schröder,,2,56,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5112074473,https://openalex.org/A5112074473,Maria Schröder,,14,312,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5091405189,https://openalex.org/A5091405189,Marina Braun,,2,11,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:2,no, +A5019356146,https://openalex.org/A5019356146,Markus Deckert,,6,63,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5112653053,https://openalex.org/A5112653053,Markus Taube,https://orcid.org/0000-0003-1202-2023,100,1353,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5032578309,https://openalex.org/A5032578309,Martin Hermes,,2,47,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Geschäftsführer:1,removed:2,no, +A5044199100,https://openalex.org/A5044199100,Martin Mittendorff,https://orcid.org/0000-0003-3998-2518,120,2075,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5110287782,https://openalex.org/A5110287782,Martin Panitz,,1,40,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5047010496,https://openalex.org/A5047010496,Matthias Jeschke,https://orcid.org/0000-0001-5110-2080,13,130,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:2,no, +A5123364852,https://openalex.org/A5123364852,Matthias Jeschke,,1,1,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:2,no, +A5047692972,https://openalex.org/A5047692972,Matthias Matthes,,1,7,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5053309957,https://openalex.org/A5053309957,Melanie Hirt,https://orcid.org/0000-0003-2085-6124,1,17,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1,currently registered:2,no, +A5051242665,https://openalex.org/A5051242665,Michael Klocke,,2,3,direct_ude,University of Duisburg-Essen,2,Prokurist:3; Geschäftsführer:1,currently registered:2,no, +A5081701545,https://openalex.org/A5081701545,Michael Leineweber,,2,135,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1; Prokurist:1,currently registered:1; removed:1,no, +A5071583742,https://openalex.org/A5071583742,Michael Ruwe,,1,29,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:2,no, +A5110739861,https://openalex.org/A5110739861,Michael Westermann,,2,71,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1,currently registered:1; removed:1,no, +A5026680251,https://openalex.org/A5026680251,Michaela Wirtz,,20,382,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:1; removed:1,no, +A5121300831,https://openalex.org/A5121300831,Michaela Wirtz,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:1; removed:1,no, +A5012499865,https://openalex.org/A5012499865,Muhammad Aslam,https://orcid.org/0000-0002-8529-4217,120,1455,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4,currently registered:2,no, +A5083269491,https://openalex.org/A5083269491,Nico Hahn,https://orcid.org/0000-0003-0554-0076,12,22,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5029227325,https://openalex.org/A5029227325,Nicole Unger,https://orcid.org/0000-0002-5161-8711,114,1781,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5049371415,https://openalex.org/A5049371415,Nina Bauer,https://orcid.org/0009-0003-6137-1585,33,529,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5011621994,https://openalex.org/A5011621994,Nina Schulze,,36,1034,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:2,no, +A5058184980,https://openalex.org/A5058184980,Nina Völkel,,3,22,direct_ude,University of Duisburg-Essen,2,Prokurist:2; Inhaber:1,currently registered:2,no, +A5082158679,https://openalex.org/A5082158679,Olga Just,,1,26,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,removed:2,no, +A5077536077,https://openalex.org/A5077536077,Oliver Ehret,,11,201,child_of_ude,The Hydrogen and Fuel Cell Center,2,Geschäftsführer:2,currently registered:2,no, +A5035410961,https://openalex.org/A5035410961,Oliver Kamp,https://orcid.org/0000-0001-7593-4471,38,762,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:1; removed:1,no, +A5010051651,https://openalex.org/A5010051651,Pascal Krahmer,,1,17,direct_ude,University of Duisburg-Essen,2,Liquidator:2; Geschäftsführer:1,removed:2,no, +A5101791113,https://openalex.org/A5101791113,Patrick May,https://orcid.org/0000-0003-1311-6267,4,81,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5025829015,https://openalex.org/A5025829015,Patrick Thiel,https://orcid.org/0000-0001-5838-4658,6,9,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,removed:2,no, +A5089882657,https://openalex.org/A5089882657,Paul Graf,,4,25,direct_ude,University of Duisburg-Essen,2,Prokurist:3,currently registered:2,no, +A5020390680,https://openalex.org/A5020390680,Peter Pfänder,,3,1,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1,currently registered:1; removed:1,no, +A5094782607,https://openalex.org/A5094782607,Peter Schroth,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Inhaber:1,currently registered:2,no, +A5082288318,https://openalex.org/A5082288318,Peter Waldmann,,3,17,direct_ude,University of Duisburg-Essen,2,Persönlich haftender Gesellschafter:1; Vorstand:1,currently registered:2,no, +A5050553334,https://openalex.org/A5050553334,Philipp Jahn,https://orcid.org/0000-0003-2062-1421,4,51,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Persönlich haftender Gesellschafter:1,removed:2,no, +A5100405791,https://openalex.org/A5100405791,Ping Zhang,https://orcid.org/0000-0002-0647-0375,31,67,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5046113011,https://openalex.org/A5046113011,Renate Petersen,,15,37,direct_ude,University of Duisburg-Essen,2,Liquidator:2; Geschäftsführer:1,currently registered:2,no, +A5020998418,https://openalex.org/A5020998418,Robert Haensel,,1,24,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1,currently registered:1; removed:1,no, +A5047093707,https://openalex.org/A5047093707,Robert Schaefer,https://orcid.org/0000-0002-1669-2086,223,4378,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5038123873,https://openalex.org/A5038123873,Roland Schwarzer,https://orcid.org/0000-0002-7497-5180,59,736,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5001845440,https://openalex.org/A5001845440,Rouven Malecki,,1,9,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5019419369,https://openalex.org/A5019419369,Rudi Schäfer,https://orcid.org/0000-0002-8987-7313,63,962,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5070249489,https://openalex.org/A5070249489,Sascha Maassen,https://orcid.org/0000-0002-1022-0563,11,106,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5064200928,https://openalex.org/A5064200928,Sebastian Eck,https://orcid.org/0000-0002-1931-1023,4,3,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5128723742,https://openalex.org/A5128723742,Sebastian Eck,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5034621075,https://openalex.org/A5034621075,Sebastian Just,,7,165,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,removed:2,no, +A5083681670,https://openalex.org/A5083681670,Sebastian Urban,,4,64,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5021113981,https://openalex.org/A5021113981,Sebastian Willen,,8,143,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,removed:2,no, +A5107669141,https://openalex.org/A5107669141,Sebastian Willen,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,removed:2,no, +A5076891196,https://openalex.org/A5076891196,Silvia Ernst,,4,59,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5108495045,https://openalex.org/A5108495045,Simone Schmid,,1,5,direct_ude,University of Duisburg-Essen,2,Inhaber:1; Prokurist:1,currently registered:1; removed:1,no, +A5077785097,https://openalex.org/A5077785097,Stefan Eßer,https://orcid.org/0000-0002-3625-9650,234,5993,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:1; removed:1,no, +A5084459124,https://openalex.org/A5084459124,Stefan Felder,https://orcid.org/0000-0002-5029-7274,241,3781,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:2,no, +A5024987770,https://openalex.org/A5024987770,Stefan Konermann,,2,44,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3; Prokurist:1,currently registered:2,no, +A5061640496,https://openalex.org/A5061640496,Stefan Westermann,https://orcid.org/0000-0001-6921-9113,88,4333,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5006353407,https://openalex.org/A5006353407,Stefanie Hanke,https://orcid.org/0000-0002-9952-1919,87,1215,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:1; removed:1,no, +A5054932604,https://openalex.org/A5054932604,Steffen Köcher,,6,137,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4,currently registered:2,no, +A5089406272,https://openalex.org/A5089406272,Stephan Faust,,4,111,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Prokurist:1,currently registered:2,no, +A5060126568,https://openalex.org/A5060126568,Stephan Grimm,,2,6,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5003700004,https://openalex.org/A5003700004,Sven Brandau,https://orcid.org/0000-0002-2702-4163,288,14467,direct_ude,University of Duisburg-Essen,2,Prokurist:3; Geschäftsführer:1,currently registered:2,no, +A5125629313,https://openalex.org/A5125629313,Sven Brandau,,1,0,direct_ude,University of Duisburg-Essen,2,Prokurist:3; Geschäftsführer:1,currently registered:2,no, +A5128284510,https://openalex.org/A5128284510,Sven Brandau,,1,0,direct_ude,University of Duisburg-Essen,2,Prokurist:3; Geschäftsführer:1,currently registered:2,no, +A5002483227,https://openalex.org/A5002483227,Sven Frost,,13,143,direct_ude,University of Duisburg-Essen,2,Inhaber:2,currently registered:2,no, +A5040840923,https://openalex.org/A5040840923,Sven Manske,https://orcid.org/0000-0002-5098-1682,53,332,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,removed:2,no, +A5094303760,https://openalex.org/A5094303760,Thomas Droll,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5026909134,https://openalex.org/A5026909134,Thomas Lodzinski,,1,4,direct_ude,University of Duisburg-Essen,2,Prokurist:2,currently registered:2,no, +A5009253164,https://openalex.org/A5009253164,Thomas Mühlmann,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5012875198,https://openalex.org/A5012875198,Thorsten Schultze,,10,11,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5078030262,https://openalex.org/A5078030262,Thorsten Schultze,https://orcid.org/0009-0007-3690-8714,64,398,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5069586127,https://openalex.org/A5069586127,Tobias Altmann,https://orcid.org/0000-0001-7294-7808,71,373,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5130207347,https://openalex.org/A5130207347,Tobias Hackel,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5034475438,https://openalex.org/A5034475438,Tobias Hesse,,15,82,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Liquidator:1,currently registered:1; removed:1,no, +A5027780655,https://openalex.org/A5027780655,Tobias Rasche,,3,7,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5012619076,https://openalex.org/A5012619076,Torsten Ulmer,,4,5,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5079685335,https://openalex.org/A5079685335,Ulrich Görtz,https://orcid.org/0000-0001-5584-0558,86,1096,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5055349387,https://openalex.org/A5055349387,Ulrich Schroeder,,6,106,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5091133675,https://openalex.org/A5091133675,Ulrike Behrens,,2,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4,currently registered:2,no, +A5039550945,https://openalex.org/A5039550945,Umut Kaya,,6,20,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5038671684,https://openalex.org/A5038671684,Ursula Renner,,4,1,direct_ude,University of Duisburg-Essen,2,Prokurist:2,currently registered:2,no, +A5053345209,https://openalex.org/A5053345209,Ursula Renner,,2,1,direct_ude,University of Duisburg-Essen,2,Prokurist:2,currently registered:2,no, +A5059841395,https://openalex.org/A5059841395,Valerie Lemke,,8,19,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2; Liquidator:1,currently registered:1; removed:1,no, +A5062324759,https://openalex.org/A5062324759,Verena Schröder,,7,61,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Prokurist:1,currently registered:2,no, +A5094421324,https://openalex.org/A5094421324,Volker Schanz,,1,0,direct_ude,University of Duisburg-Essen,2,Inhaber:1; Persönlich haftender Gesellschafter:1,currently registered:1; removed:1,no, +A5101821492,https://openalex.org/A5101821492,Wei Cheng,https://orcid.org/0000-0003-4369-6530,27,100,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:4; Liquidator:1,removed:2,no, +A5055278591,https://openalex.org/A5055278591,Wiebke Hansen,https://orcid.org/0000-0002-6020-0886,137,4810,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5053083092,https://openalex.org/A5053083092,Wolfgang Burghardt,,59,845,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:1; Inhaber:1,currently registered:2,no, +A5026378357,https://openalex.org/A5026378357,Wolfgang Löhr,,12,154,direct_ude,University of Duisburg-Essen,2,Inhaber:1; Prokurist:1,currently registered:1; removed:1,no, +A5071475574,https://openalex.org/A5071475574,Wu Chen,https://orcid.org/0000-0002-1835-7564,426,8138,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:1; removed:1,no, +A5092103086,https://openalex.org/A5092103086,Xiaoyu Zhang,https://orcid.org/0000-0002-0565-6370,4,3,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:2,no, +A5033912226,https://openalex.org/A5033912226,Yao Li,https://orcid.org/0000-0002-1151-7369,2,19,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5130026761,https://openalex.org/A5130026761,Yao Wang,,1,0,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:2,currently registered:2,no, +A5015043554,https://openalex.org/A5015043554,Yvonne Krause,,7,232,direct_ude,University of Duisburg-Essen,2,Geschäftsführer:3,currently registered:1; removed:1,no, +A5082223886,https://openalex.org/A5082223886,Achim Koch,https://orcid.org/0000-0002-1616-4873,134,1632,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5041164084,https://openalex.org/A5041164084,Alexander Diel,https://orcid.org/0000-0002-4362-8856,32,281,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:1,currently registered:2; removed:1,no, +A5082773640,https://openalex.org/A5082773640,Alexander Heinemann,,3,16,direct_ude,University of Duisburg-Essen,3,Liquidator:3; Geschäftsführer:2,removed:3,no, +A5077174863,https://openalex.org/A5077174863,Alexander Oldenburger,,2,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Inhaber:1,currently registered:2; removed:1,no, +A5041217146,https://openalex.org/A5041217146,Alexander Ries,,6,87,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Persönlich haftender Gesellschafter:2,currently registered:3,no, +A5017791085,https://openalex.org/A5017791085,Andreas Büchter,https://orcid.org/0000-0001-8411-1004,103,303,direct_ude,University of Duisburg-Essen,3,Persönlich haftender Gesellschafter:2; Geschäftsführer:1,currently registered:3,no, +A5030807249,https://openalex.org/A5030807249,Andreas Kunzmann,,34,802,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Prokurist:2,currently registered:2; removed:1,no, +A5080262061,https://openalex.org/A5080262061,Andreas Stang,https://orcid.org/0000-0001-6363-9061,630,38057,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:2; removed:1,no, +A5102144950,https://openalex.org/A5102144950,Andreas Stang,,8,51,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:2; removed:1,no, +A5032121745,https://openalex.org/A5032121745,Andrej Klassen,,4,3,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:2,removed:2; currently registered:1,no, +A5063166257,https://openalex.org/A5063166257,Anja Steinbach,https://orcid.org/0000-0002-3642-2374,106,1564,direct_ude,University of Duisburg-Essen,3,Prokurist:4,currently registered:2; removed:1,no, +A5102461913,https://openalex.org/A5102461913,Anja Steinbach,,6,1,direct_ude,University of Duisburg-Essen,3,Prokurist:4,currently registered:2; removed:1,no, +A5064009668,https://openalex.org/A5064009668,Barbara Jeschke,,12,332,direct_ude,University of Duisburg-Essen,3,Inhaber:3; Geschäftsführer:1,currently registered:2; removed:1,no, +A5015901810,https://openalex.org/A5015901810,Benjamin Köhler,,5,81,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:1,currently registered:2; removed:1,no, +A5116789043,https://openalex.org/A5116789043,Benjamin Schröer,,4,2,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:3,no, +A5053327457,https://openalex.org/A5053327457,Bernd Schweiger,https://orcid.org/0000-0002-8037-2159,97,1240,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,removed:3,no, +A5123200218,https://openalex.org/A5123200218,Bernd Schweiger,,3,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,removed:3,no, +A5103078784,https://openalex.org/A5103078784,Bernd Weiß,https://orcid.org/0000-0002-1176-8408,92,738,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:2; removed:1,no, +A5123007937,https://openalex.org/A5123007937,Bernd Weiß,,7,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:2; removed:1,no, +A5030980984,https://openalex.org/A5030980984,Carsten Reinhardt,https://orcid.org/0000-0003-2905-1920,160,5068,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5,currently registered:2; removed:1,no, +A5037448733,https://openalex.org/A5037448733,Christian Marschner,,5,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:3,no, +A5103899403,https://openalex.org/A5103899403,Christian Mette,,19,252,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:2; removed:1,no, +A5103255017,https://openalex.org/A5103255017,Christian Preuss,https://orcid.org/0009-0003-9837-0746,25,141,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5109008810,https://openalex.org/A5109008810,Christine Ritter,,1,1,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5032774881,https://openalex.org/A5032774881,Christopher Reimann,,3,4,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5109152416,https://openalex.org/A5109152416,Claudia Frank,,24,586,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:3,no, +A5000724228,https://openalex.org/A5000724228,Claudia Freimuth,,2,7,direct_ude,University of Duisburg-Essen,3,Prokurist:3,currently registered:3,no, +A5015122896,https://openalex.org/A5015122896,Cornelius Grimm,,6,27,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,currently registered:2; removed:1,no, +A5035540236,https://openalex.org/A5035540236,Daniel Erni,https://orcid.org/0000-0002-1467-6373,398,5023,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5,currently registered:2; removed:1,no, +A5031147249,https://openalex.org/A5031147249,Daniel Hering,https://orcid.org/0000-0002-5436-4753,326,18868,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:3,no, +A5101579321,https://openalex.org/A5101579321,Daniel Wendt,https://orcid.org/0000-0001-7257-444X,246,5268,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,currently registered:2; removed:1,no, +A5104534944,https://openalex.org/A5104534944,Daniel Wendt,,1,1,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,currently registered:2; removed:1,no, +A5041645777,https://openalex.org/A5041645777,Dennis Meier,https://orcid.org/0000-0002-8623-6705,205,5614,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,currently registered:3,no, +A5072771601,https://openalex.org/A5072771601,Dietrich Koch,,3,129,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5,currently registered:3,no, +A5123869890,https://openalex.org/A5123869890,Dirk Hermann,,1,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Liquidator:1,removed:2; currently registered:1,no, +A5110137004,https://openalex.org/A5110137004,Erika König,,2,28,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:1; Liquidator:1; Prokurist:1,removed:2; currently registered:1,no, +A5029058702,https://openalex.org/A5029058702,Eva Berndt,,3,70,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Inhaber:1,currently registered:2; removed:1,no, +A5114036991,https://openalex.org/A5114036991,Florian Kühne,,9,50,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:2; removed:1,no, +A5041694590,https://openalex.org/A5041694590,Frank Kleemann,https://orcid.org/0000-0002-3588-7022,106,1097,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Prokurist:1,currently registered:2; removed:1,no, +A5114433523,https://openalex.org/A5114433523,Frank Kleemann,,7,2,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Prokurist:1,currently registered:2; removed:1,no, +A5023299755,https://openalex.org/A5023299755,Friedrich Jaeger,,4,1,child_of_ude,Institute for Advanced Study in the Humanities Essen,3,Geschäftsführer:4,removed:3,no, +A5111518819,https://openalex.org/A5111518819,Fritz Götz,,18,627,direct_ude,University of Duisburg-Essen,3,Prokurist:3,currently registered:3,no, +A5110262484,https://openalex.org/A5110262484,Fritz Sörgel,,247,7546,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:2; removed:1,no, +A5058950547,https://openalex.org/A5058950547,Georg Hein,,59,192,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Liquidator:1,removed:2; currently registered:1,no, +A5086068040,https://openalex.org/A5086068040,Gerhard Bäcker,,138,973,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Prokurist:1,currently registered:3,no, +A5066679330,https://openalex.org/A5066679330,Gerhard Starke,https://orcid.org/0000-0001-5985-173X,85,1619,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:3,no, +A5015113224,https://openalex.org/A5015113224,Gertrud Schmitz,https://orcid.org/0000-0002-3373-7901,74,270,direct_ude,University of Duisburg-Essen,3,Prokurist:4,currently registered:3,no, +A5037573739,https://openalex.org/A5037573739,Grit Hoffmann,,6,50,direct_ude,University of Duisburg-Essen,3,Prokurist:4,currently registered:2; removed:1,no, +A5065313412,https://openalex.org/A5065313412,Guido Sieber,https://orcid.org/0000-0002-7966-5368,15,152,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5; Prokurist:2,currently registered:3,no, +A5090395061,https://openalex.org/A5090395061,Heiko Jacobs,https://orcid.org/0000-0003-1261-6593,36,1342,direct_ude,University of Duisburg-Essen,3,Liquidator:2; Prokurist:1,removed:2; currently registered:1,no, +A5025346693,https://openalex.org/A5025346693,Hendrik Schröder,,119,684,direct_ude,University of Duisburg-Essen,3,Inhaber:2; Geschäftsführer:1,currently registered:3,no, +A5007315178,https://openalex.org/A5007315178,Holger Kraus,,2,68,child_of_ude,The Hydrogen and Fuel Cell Center,3,Prokurist:2; Geschäftsführer:1; Inhaber:1,currently registered:3,no, +A5033169519,https://openalex.org/A5033169519,Hubert Kuhn,https://orcid.org/0000-0001-5122-2189,2,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:1; Liquidator:1; Prokurist:1,currently registered:2; removed:1,no, +A5111939993,https://openalex.org/A5111939993,Jan Busch,,30,712,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:3,no, +A5075848932,https://openalex.org/A5075848932,Jan Dinter,,12,38,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5087145453,https://openalex.org/A5087145453,Joachim Prinz,,55,847,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:2,removed:2; currently registered:1,no, +A5031265819,https://openalex.org/A5031265819,Jochen Heß,https://orcid.org/0000-0002-9902-5368,89,871,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,removed:2; currently registered:1,no, +A5123334300,https://openalex.org/A5123334300,Jochen Heß,,2,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,removed:2; currently registered:1,no, +A5001673346,https://openalex.org/A5001673346,Jochen Türk,,24,208,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:1; Inhaber:1; Prokurist:1,currently registered:2; removed:1,no, +A5128463492,https://openalex.org/A5128463492,Johannes Breuer,,2,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Inhaber:1,currently registered:2; removed:1,no, +A5129911625,https://openalex.org/A5129911625,Johannes Breuer,,4,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Inhaber:1,currently registered:2; removed:1,no, +A5111266639,https://openalex.org/A5111266639,Johannes Jäger,https://orcid.org/0009-0003-3697-0973,14,34,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Prokurist:1,currently registered:3,no, +A5031838990,https://openalex.org/A5031838990,Johannes Oertel,https://orcid.org/0000-0003-2621-8422,8,111,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:2,currently registered:3,no, +A5042511428,https://openalex.org/A5042511428,Johannes Specht,,9,239,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:3,no, +A5091734620,https://openalex.org/A5091734620,Jürgen Kampf,https://orcid.org/0000-0001-8370-6882,31,117,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:2; removed:1,no, +A5046205825,https://openalex.org/A5046205825,Katharina König,,2,4,direct_ude,University of Duisburg-Essen,3,Prokurist:3; Geschäftsführer:2,currently registered:2; removed:1,no, +A5020102768,https://openalex.org/A5020102768,Katja Bergmann,,3,45,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:1; Liquidator:1; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:2; removed:1,no, +A5045432311,https://openalex.org/A5045432311,Kerstin Köhler,,3,61,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:2,currently registered:2; removed:1,no, +A5020367700,https://openalex.org/A5020367700,Kerstin Schmitz,,2,71,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:3,no, +A5029238621,https://openalex.org/A5029238621,Kristina Wagner,,2,207,direct_ude,University of Duisburg-Essen,3,Prokurist:3; Geschäftsführer:1,currently registered:3,no, +A5112896037,https://openalex.org/A5112896037,Lina Weber,,2,5,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:2; removed:1,no, +A5113914021,https://openalex.org/A5113914021,Marc Stevens,,63,1318,direct_ude,University of Duisburg-Essen,3,Prokurist:3; Geschäftsführer:1,currently registered:2; removed:1,no, +A5050357599,https://openalex.org/A5050357599,Marcel Walter,,6,3,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,removed:2; currently registered:1,no, +A5049325057,https://openalex.org/A5049325057,Markus May,https://orcid.org/0000-0003-3869-9681,25,109,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5093034515,https://openalex.org/A5093034515,Martin Kurka,,1,1,direct_ude,University of Duisburg-Essen,3,Prokurist:4,currently registered:2; removed:1,no, +A5113019777,https://openalex.org/A5113019777,Martin Kurka,,2,0,direct_ude,University of Duisburg-Essen,3,Prokurist:4,currently registered:2; removed:1,no, +A5095550954,https://openalex.org/A5095550954,Martin Lücke,,1,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,currently registered:3,no, +A5074594733,https://openalex.org/A5074594733,Martin Schild,,7,189,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5; Liquidator:1,removed:2; currently registered:1,no, +A5061363376,https://openalex.org/A5061363376,Martin Teufel,https://orcid.org/0000-0003-2120-1840,431,9270,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:3,no, +A5063762172,https://openalex.org/A5063762172,Martina Sauer,https://orcid.org/0000-0002-4787-3189,120,239,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:1,currently registered:3,no, +A5123363823,https://openalex.org/A5123363823,Martina Schmid,,1,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5103929943,https://openalex.org/A5103929943,Mathias Kamp,,3,45,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5049457314,https://openalex.org/A5049457314,Maximilian Krug,https://orcid.org/0000-0002-8979-3099,27,143,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Inhaber:1,currently registered:2; removed:1,no, +A5031978837,https://openalex.org/A5031978837,Maximilian Pohl,,16,5,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:1,currently registered:3,no, +A5045722123,https://openalex.org/A5045722123,Maximilian Pohl,,2,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:1,currently registered:3,no, +A5004156626,https://openalex.org/A5004156626,Melanie Fiedler,,2,9,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5042895787,https://openalex.org/A5042895787,Melanie Fiedler,,82,1691,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5124761678,https://openalex.org/A5124761678,Melanie Fiedler,,1,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5024170181,https://openalex.org/A5024170181,Melanie Geisler,,1,569,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5109228350,https://openalex.org/A5109228350,Michael Küper,,25,1095,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:1; Inhaber:1; Liquidator:1,currently registered:2; removed:1,no, +A5113345650,https://openalex.org/A5113345650,Michael Pfitzner,,25,53,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:1; Inhaber:1; Prokurist:1,currently registered:2; removed:1,no, +A5120461949,https://openalex.org/A5120461949,Michael Staiger,https://orcid.org/0009-0002-0975-6392,1,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4; Prokurist:1,currently registered:2; removed:1,no, +A5086049958,https://openalex.org/A5086049958,Michael Thome,https://orcid.org/0009-0002-0525-7289,7,18,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5009526667,https://openalex.org/A5009526667,Michael Wittlinger,,16,534,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Prokurist:1,currently registered:3,no, +A5045457334,https://openalex.org/A5045457334,Mohammad Sharif,https://orcid.org/0000-0002-1241-007X,55,712,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5,currently registered:2; removed:1,no, +A5117379408,https://openalex.org/A5117379408,Mohammad Sharif,,2,1,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5,currently registered:2; removed:1,no, +A5082612844,https://openalex.org/A5082612844,Nadine Schröder,https://orcid.org/0000-0001-6650-4656,10,45,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:1,currently registered:3,no, +A5077392508,https://openalex.org/A5077392508,Oliver Blatt,,1,16,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5006686937,https://openalex.org/A5006686937,Oliver Gries,,130,587,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5016035673,https://openalex.org/A5016035673,Peter Roch,,15,25,direct_ude,University of Duisburg-Essen,3,Prokurist:6; Geschäftsführer:1,removed:2; currently registered:1,no, +A5091927263,https://openalex.org/A5091927263,Petra Denk,,1,0,child_of_ude,Institut für Energie- und Umwelttechnik,3,Geschäftsführer:2; Prokurist:1,currently registered:2; removed:1,no, +A5110542142,https://openalex.org/A5110542142,Phillip Becker,,1,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:4,removed:2; currently registered:1,no, +A5002710564,https://openalex.org/A5002710564,Pia Buck,,2,1,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Persönlich haftender Gesellschafter:1,removed:2; currently registered:1,no, +A5034120685,https://openalex.org/A5034120685,Reinhard Lechner,,14,21,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5102665422,https://openalex.org/A5102665422,Sandy Müller,,3,17,direct_ude,University of Duisburg-Essen,3,Inhaber:2; Geschäftsführer:1,currently registered:3,no, +A5103951416,https://openalex.org/A5103951416,Sebastian Otten,,11,150,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Prokurist:1,currently registered:3,no, +A5028042436,https://openalex.org/A5028042436,Sebastian Pfeifer,,4,12,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Inhaber:1; Prokurist:1,currently registered:2; removed:1,no, +A5042525920,https://openalex.org/A5042525920,Sebastian Schröer,,32,118,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5055485518,https://openalex.org/A5055485518,Simone Schwarz,,33,335,direct_ude,University of Duisburg-Essen,3,Liquidator:2; Inhaber:1,removed:3,no, +A5024212155,https://openalex.org/A5024212155,Stefan Hermes,https://orcid.org/0000-0001-7487-3945,33,145,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:1,currently registered:2; removed:1,no, +A5114514120,https://openalex.org/A5114514120,Stefan Hermes,,1,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3; Liquidator:1,currently registered:2; removed:1,no, +A5049577078,https://openalex.org/A5049577078,Stefan Kleine,,9,349,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5032635842,https://openalex.org/A5032635842,Stefan Reining,https://orcid.org/0000-0002-5295-8101,18,140,direct_ude,University of Duisburg-Essen,3,Prokurist:3; Geschäftsführer:2,currently registered:3,no, +A5060348004,https://openalex.org/A5060348004,Stefan Thür,,1,9,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Prokurist:2,currently registered:3,no, +A5091427277,https://openalex.org/A5091427277,Steffen Jost,,11,1048,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Persönlich haftender Gesellschafter:1,currently registered:3,no, +A5022354254,https://openalex.org/A5022354254,Steffen Spitzner,,17,5,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:6,currently registered:3,no, +A5009094490,https://openalex.org/A5009094490,Thomas Mönnig,,7,0,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:2; Liquidator:2,currently registered:2; removed:1,no, +A5054911713,https://openalex.org/A5054911713,Thomas Pfeil,,3,0,child_of_ude,Institut für Energie- und Umwelttechnik,3,Geschäftsführer:3; Inhaber:2,currently registered:3,no, +A5017921085,https://openalex.org/A5017921085,Thomas Zadow,,1,34,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:5,removed:3,no, +A5085076144,https://openalex.org/A5085076144,Tim Schulte,,6,34,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5009664226,https://openalex.org/A5009664226,Ulrich Hecker,,4,140,direct_ude,University of Duisburg-Essen,3,Liquidator:2; Geschäftsführer:1,currently registered:2; removed:1,no, +A5034434556,https://openalex.org/A5034434556,Ulrich Westphal,,270,6262,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:1; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:2; removed:1,no, +A5075663980,https://openalex.org/A5075663980,Ursula Neumann,https://orcid.org/0000-0001-8578-5641,4,6,direct_ude,University of Duisburg-Essen,3,Persönlich haftender Gesellschafter:2; Geschäftsführer:1; Liquidator:1; Prokurist:1,currently registered:2; removed:1,no, +A5019626840,https://openalex.org/A5019626840,Vanessa Fischer,https://orcid.org/0000-0002-2601-3825,8,28,direct_ude,University of Duisburg-Essen,3,Prokurist:2; Geschäftsführer:1,currently registered:3,no, +A5035200670,https://openalex.org/A5035200670,Viktor Fuchs,,3,3,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:3,no, +A5100357649,https://openalex.org/A5100357649,Xiaoyu Wu,https://orcid.org/0000-0003-2985-0917,101,442,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5108120374,https://openalex.org/A5108120374,Xiaoyu Wu,https://orcid.org/0009-0002-5426-5373,38,688,direct_ude,University of Duisburg-Essen,3,Geschäftsführer:3,currently registered:2; removed:1,no, +A5014094111,https://openalex.org/A5014094111,Alexandra König,https://orcid.org/0000-0003-1439-1156,161,1148,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5076816539,https://openalex.org/A5076816539,Andrea Wasmuth,,1,25,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5013535629,https://openalex.org/A5013535629,Andreas Hölzer,,19,1224,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Liquidator:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5017514329,https://openalex.org/A5017514329,André Busch,https://orcid.org/0000-0002-7440-9015,64,911,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5007643000,https://openalex.org/A5007643000,Anke Walendzik,,4,3,direct_ude,University of Duisburg-Essen,4,Prokurist:4; Geschäftsführer:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5012054701,https://openalex.org/A5012054701,Anke Walendzik,https://orcid.org/0000-0001-9687-7525,93,199,direct_ude,University of Duisburg-Essen,4,Prokurist:4; Geschäftsführer:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5037434171,https://openalex.org/A5037434171,Aylin Yildirim,,2,203,child_of_ude,Institut für Energie- und Umwelttechnik,4,Geschäftsführer:4,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5062438505,https://openalex.org/A5062438505,Bettina Kunz,,1,72,direct_ude,University of Duisburg-Essen,4,Prokurist:3; Geschäftsführer:2; Liquidator:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5086977297,https://openalex.org/A5086977297,Björn Sossong,,2,7,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Prokurist:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5067354713,https://openalex.org/A5067354713,Carmen Wolf,https://orcid.org/0000-0001-9362-942X,3,43,child_of_ude,Institut für Energie- und Umwelttechnik,4,Geschäftsführer:6,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5110744314,https://openalex.org/A5110744314,Carmen Wolf,,28,189,child_of_ude,Institut für Energie- und Umwelttechnik,4,Geschäftsführer:6,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102928755,https://openalex.org/A5102928755,Christian Büscher,https://orcid.org/0000-0002-3447-6854,21,77,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Prokurist:2; Liquidator:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5039677720,https://openalex.org/A5039677720,Christian Köster,,10,409,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:1; Inhaber:1; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5112440783,https://openalex.org/A5112440783,Christian Lösch,,23,1181,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5081119418,https://openalex.org/A5081119418,Christian Pohlmann,,17,4,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5075679674,https://openalex.org/A5075679674,Christina Schröder,,143,862,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Prokurist:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5045337336,https://openalex.org/A5045337336,Christoph Schlee,,3,42,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5082105394,https://openalex.org/A5082105394,Christoph Schlee,,6,24,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5064594118,https://openalex.org/A5064594118,Christoph Wieland,https://orcid.org/0000-0002-7020-5568,11,241,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4; Prokurist:2,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5128881947,https://openalex.org/A5128881947,Christoph Wieland,,1,0,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4; Prokurist:2,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5007180322,https://openalex.org/A5007180322,David Huber,,3,0,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Prokurist:2,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5037283509,https://openalex.org/A5037283509,Dirk Bruns,,5,6,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5; Inhaber:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5084473679,https://openalex.org/A5084473679,Falk Hoppe,,1,0,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5022373299,https://openalex.org/A5022373299,Florian Schmitz,https://orcid.org/0000-0001-6368-628X,79,3610,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5091546460,https://openalex.org/A5091546460,Frank Hölscher,,7,63,direct_ude,University of Duisburg-Essen,4,Prokurist:3; Geschäftsführer:2; Liquidator:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5003188843,https://openalex.org/A5003188843,Gerd Witt,,152,2279,direct_ude,University of Duisburg-Essen,4,Prokurist:3; Geschäftsführer:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5094372701,https://openalex.org/A5094372701,Gerhard Igl,,10,0,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5023292691,https://openalex.org/A5023292691,Harald Stephan,,40,2848,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Inhaber:2; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5059941495,https://openalex.org/A5059941495,Helmut Bendig,,1,2,child_of_ude,Institut für Energie- und Umwelttechnik,4,Prokurist:8,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5072230284,https://openalex.org/A5072230284,Horst Wegner,,9,34,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Inhaber:1,removed:3; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5066093773,https://openalex.org/A5066093773,Jens Neugebauer,https://orcid.org/0000-0003-2549-8354,38,260,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Prokurist:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5061411374,https://openalex.org/A5061411374,Jochen Seitz,https://orcid.org/0000-0002-0110-7980,156,9308,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Liquidator:1; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108765608,https://openalex.org/A5108765608,Jochen Seitz,,4,0,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Liquidator:1; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5110518795,https://openalex.org/A5110518795,Jochen Seitz,,7,0,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Liquidator:1; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5090731199,https://openalex.org/A5090731199,Jochen Vöge,,4,191,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5005493564,https://openalex.org/A5005493564,Johannes Deckers,,6,61,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Persönlich haftender Gesellschafter:2,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5013058102,https://openalex.org/A5013058102,Johannes Kunkel,https://orcid.org/0000-0002-4265-8498,24,489,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5017017370,https://openalex.org/A5017017370,Julia Schröder,https://orcid.org/0000-0002-7185-9280,4,7,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:7,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5045562580,https://openalex.org/A5045562580,Jörg Miller,,2,10,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5029505640,https://openalex.org/A5029505640,Kai Werner,,10,34,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Inhaber:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5024005570,https://openalex.org/A5024005570,Klaus Küppers,,13,154,direct_ude,University of Duisburg-Essen,4,Prokurist:3; Geschäftsführer:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5015992672,https://openalex.org/A5015992672,Lars Schulz,,2,33,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:1; Inhaber:1; Liquidator:1; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5110937581,https://openalex.org/A5110937581,Lena Weber,,1,0,direct_ude,University of Duisburg-Essen,4,Prokurist:4; Geschäftsführer:1; Liquidator:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5111126900,https://openalex.org/A5111126900,Leon Müller,https://orcid.org/0009-0000-8974-3537,8,2,direct_ude,University of Duisburg-Essen,4,Prokurist:3; Geschäftsführer:2,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5057966782,https://openalex.org/A5057966782,Lokman Coban,,1,7,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:6,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5035281768,https://openalex.org/A5035281768,Lukas Schmidt,,5,10,child_of_ude,The Hydrogen and Fuel Cell Center,4,Geschäftsführer:7; Prokurist:2,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5009817478,https://openalex.org/A5009817478,Manuel Gruber,https://orcid.org/0000-0002-8353-4651,102,2255,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5111377943,https://openalex.org/A5111377943,Marcel Blum,,2,61,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4; Prokurist:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5039476363,https://openalex.org/A5039476363,Marcel Jung,https://orcid.org/0000-0002-8277-3052,5,18,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5083133917,https://openalex.org/A5083133917,Marion Meier,,1,6,direct_ude,University of Duisburg-Essen,4,Prokurist:3; Inhaber:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5050705095,https://openalex.org/A5050705095,Marion Richter,,7,442,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5012138747,https://openalex.org/A5012138747,Martin Dickmann,,3,31,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5; Liquidator:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5107484510,https://openalex.org/A5107484510,Mathias Baumann,,1,92,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Prokurist:2,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5005757538,https://openalex.org/A5005757538,Mathis Richter,https://orcid.org/0000-0002-3110-6137,26,211,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5045407269,https://openalex.org/A5045407269,Mirko Krüger,https://orcid.org/0000-0002-4739-7151,17,125,direct_ude,University of Duisburg-Essen,4,Inhaber:5; Geschäftsführer:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5041244680,https://openalex.org/A5041244680,Nadia Schneider,,2,22,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5040325001,https://openalex.org/A5040325001,Nicolas Witte,,4,6,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5; Prokurist:2,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5003921169,https://openalex.org/A5003921169,Norbert Knoche,,21,119,direct_ude,University of Duisburg-Essen,4,Prokurist:4,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5069883065,https://openalex.org/A5069883065,Oliver Westphal,https://orcid.org/0000-0001-8947-0348,6,10,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Prokurist:2,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5071329147,https://openalex.org/A5071329147,Peter Seydel,,9,187,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Prokurist:2,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108210549,https://openalex.org/A5108210549,Ping Liu,,1,35,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5113645671,https://openalex.org/A5113645671,Rudolph Meyer,,17,375,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:6,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5118598124,https://openalex.org/A5118598124,Rudolph Meyer,,6,2,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:6,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5088354669,https://openalex.org/A5088354669,Simon Schumacher,https://orcid.org/0000-0001-5807-0878,7,184,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Inhaber:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102108148,https://openalex.org/A5102108148,Simon Schumacher,,2,160,child_of_ude,Deutsches Textilforschungszentrum Nord-West,4,Geschäftsführer:3; Inhaber:1,currently registered:2; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5009757205,https://openalex.org/A5009757205,Thomas Dreier,,3,33,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Liquidator:1; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5028487967,https://openalex.org/A5028487967,Thomas Dreier,https://orcid.org/0000-0001-8313-4992,338,3764,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:2; Liquidator:1; Prokurist:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5089311554,https://openalex.org/A5089311554,Thomas Rinke,,2,3,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:3; Inhaber:1,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5104619148,https://openalex.org/A5104619148,Tim Richter,https://orcid.org/0009-0003-8310-6803,1,7,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108850477,https://openalex.org/A5108850477,Tim Richter,,2,4,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:4,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5109529212,https://openalex.org/A5109529212,Ulrich Stephan,,25,178,direct_ude,University of Duisburg-Essen,4,Prokurist:3; Inhaber:1,currently registered:3; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5113843371,https://openalex.org/A5113843371,Wilhelm Kuttler,https://orcid.org/0000-0002-7789-8280,83,2332,direct_ude,University of Duisburg-Essen,4,Geschäftsführer:5,currently registered:4,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5035165383,https://openalex.org/A5035165383,Adrian Engel,,17,29,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5121332174,https://openalex.org/A5121332174,Adrian Engel,,1,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5127667725,https://openalex.org/A5127667725,Adrian Engel,,1,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5128742521,https://openalex.org/A5128742521,Adrian Engel,,1,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5082525618,https://openalex.org/A5082525618,Alexander Beer,,17,212,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5109845912,https://openalex.org/A5109845912,Alexander Korn,https://orcid.org/0009-0002-6258-6791,2,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:6,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5032835186,https://openalex.org/A5032835186,Andreas Sprengel,,5,238,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5036222998,https://openalex.org/A5036222998,Andreas de Vries,https://orcid.org/0000-0001-5754-2749,27,297,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5016563483,https://openalex.org/A5016563483,Angelika Sommer,,2,8,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:6; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5064827445,https://openalex.org/A5064827445,Anja Weiß,https://orcid.org/0000-0002-9676-8326,94,977,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Persönlich haftender Gesellschafter:2; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5073916434,https://openalex.org/A5073916434,Astrid Müller,https://orcid.org/0000-0001-6176-2947,347,10183,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Inhaber:1; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5069214188,https://openalex.org/A5069214188,Carolin Schneider,https://orcid.org/0000-0001-7923-0965,7,25,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100337531,https://openalex.org/A5100337531,Chen Wang,https://orcid.org/0000-0002-0213-9642,91,2510,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:6,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5012757803,https://openalex.org/A5012757803,Christine Ludwig,,31,563,direct_ude,University of Duisburg-Essen,5,Prokurist:2; Geschäftsführer:1; Inhaber:1; Liquidator:1; Persönlich haftender Gesellschafter:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5072032162,https://openalex.org/A5072032162,Christoph Abraham,https://orcid.org/0000-0003-3536-6507,19,122,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1; Liquidator:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5052392832,https://openalex.org/A5052392832,Christoph Jansen,https://orcid.org/0009-0008-1823-8283,36,290,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103022752,https://openalex.org/A5103022752,Christoph Jansen,https://orcid.org/0000-0001-7473-4160,90,207,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5053198971,https://openalex.org/A5053198971,Daniel Jokisch,,28,1245,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5021967698,https://openalex.org/A5021967698,Daniel Pieper,,2,4,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5081487814,https://openalex.org/A5081487814,Daniela Richter,,3,14,direct_ude,University of Duisburg-Essen,5,Prokurist:4; Geschäftsführer:3; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5021650598,https://openalex.org/A5021650598,Dieter Schramm,https://orcid.org/0000-0002-7945-1853,442,2524,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1; Liquidator:1,removed:4; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5105506256,https://openalex.org/A5105506256,Dieter Schramm,,4,9,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1; Liquidator:1,removed:4; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5076502958,https://openalex.org/A5076502958,Dirk Reinhardt,https://orcid.org/0000-0002-7027-4483,1032,22797,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Prokurist:3,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5110565330,https://openalex.org/A5110565330,Dominik Schröder,,7,153,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Prokurist:3,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5002410327,https://openalex.org/A5002410327,Gerd Stein,,2,0,child_of_ude,Deutsches Textilforschungszentrum Nord-West,5,Prokurist:4; Geschäftsführer:1; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5024573522,https://openalex.org/A5024573522,Harald Heim,,19,1,child_of_ude,Deutsches Textilforschungszentrum Nord-West,5,Geschäftsführer:6; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5086342121,https://openalex.org/A5086342121,Hartmut Finger,,4,103,child_of_ude,Institut für Energie- und Umwelttechnik,5,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5058549966,https://openalex.org/A5058549966,Hubert Beyer,,1,21,child_of_ude,The Hydrogen and Fuel Cell Center,5,Geschäftsführer:6; Persönlich haftender Gesellschafter:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102174490,https://openalex.org/A5102174490,Jens Kuhn,,2,7,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Prokurist:3,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5088818714,https://openalex.org/A5088818714,Julia Hartmann,https://orcid.org/0000-0002-8873-1419,1,4,direct_ude,University of Duisburg-Essen,5,Prokurist:6; Geschäftsführer:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5004185689,https://openalex.org/A5004185689,Karsten Klemm,,3,26,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:9; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5014302673,https://openalex.org/A5014302673,Klaus Hagedorn,,1,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:6; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5110055012,https://openalex.org/A5110055012,Klaus Klemm,,142,1646,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:9,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5117494989,https://openalex.org/A5117494989,Lukas Becker,,2,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5006359291,https://openalex.org/A5006359291,Magdalena Wagner,,1,4,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Prokurist:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5021645988,https://openalex.org/A5021645988,Martin Wagener,https://orcid.org/0000-0001-9180-268X,11,282,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103485046,https://openalex.org/A5103485046,Matthias Schramm,,19,896,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Prokurist:2; Liquidator:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5083099474,https://openalex.org/A5083099474,Michael Bätz,,5,120,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5007586290,https://openalex.org/A5007586290,Michael Lehner,,5,1,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5062924220,https://openalex.org/A5062924220,Michael Lehner,,2,1,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102435026,https://openalex.org/A5102435026,Niklas Müller,https://orcid.org/0009-0005-7904-3525,17,6,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5071569590,https://openalex.org/A5071569590,Nils Beckmann,https://orcid.org/0000-0001-6415-0217,11,94,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5088798409,https://openalex.org/A5088798409,Peter Brockhaus,,3,31,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:6,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5070887199,https://openalex.org/A5070887199,Peter Hopp,,3,106,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5049104171,https://openalex.org/A5049104171,Philip Kahl,https://orcid.org/0000-0003-2362-8645,14,742,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5037780525,https://openalex.org/A5037780525,Philipp Richter,,2,2,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Liquidator:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5101450663,https://openalex.org/A5101450663,Philipp Richter,https://orcid.org/0000-0002-8891-3861,21,165,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Liquidator:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5088027497,https://openalex.org/A5088027497,Sascha Neumann,,4,121,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5036698793,https://openalex.org/A5036698793,Sebastian Grimm,https://orcid.org/0000-0002-7378-3224,10,117,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:8,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5079723288,https://openalex.org/A5079723288,Sebastian Voigt,https://orcid.org/0000-0003-1544-9903,231,5623,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5020707312,https://openalex.org/A5020707312,Stefan Stoll,https://orcid.org/0000-0002-3656-417X,114,4901,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5030899511,https://openalex.org/A5030899511,Sven Behnke,,4,77,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5; Inhaber:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125290627,https://openalex.org/A5125290627,Sven Lang,,1,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Inhaber:2; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5042329879,https://openalex.org/A5042329879,Tanja Becker,,69,907,direct_ude,University of Duisburg-Essen,5,Prokurist:3; Geschäftsführer:2; Inhaber:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5041130965,https://openalex.org/A5041130965,Tanja Werner,,62,1319,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5028122232,https://openalex.org/A5028122232,Thomas Bogenschütz,,7,166,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:7,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108367853,https://openalex.org/A5108367853,Tim Schmitz,,4,78,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Prokurist:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5060917094,https://openalex.org/A5060917094,Torsten Franz,https://orcid.org/0000-0002-8879-0814,15,217,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:5,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5074048659,https://openalex.org/A5074048659,Ulrich Hagemann,https://orcid.org/0000-0002-1880-6550,170,2550,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Liquidator:1; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5062127160,https://openalex.org/A5062127160,Ulrich Martin,,3,5,child_of_ude,Institut für Energie- und Umwelttechnik,5,Geschäftsführer:5; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5047969867,https://openalex.org/A5047969867,Ulrich Pickartz,,2,5,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5001987856,https://openalex.org/A5001987856,Viktor Grünwald,https://orcid.org/0000-0003-2083-7687,637,19737,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Inhaber:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5130826226,https://openalex.org/A5130826226,Viktor Grünwald,,1,0,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Inhaber:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5012503494,https://openalex.org/A5012503494,Volker Hans,,39,303,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:3; Prokurist:2; Persönlich haftender Gesellschafter:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5054284319,https://openalex.org/A5054284319,Wolfgang Trautmann,,4,11,direct_ude,University of Duisburg-Essen,5,Geschäftsführer:4; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108949396,https://openalex.org/A5108949396,Ali Ahmad,,2,17,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Inhaber:1; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5111293900,https://openalex.org/A5111293900,Ali Ahmad,,8,35,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Inhaber:1; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5130533550,https://openalex.org/A5130533550,Ali Ahmad,,2,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Inhaber:1; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5130685520,https://openalex.org/A5130685520,Ali Ahmad,,1,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Inhaber:1; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5022652001,https://openalex.org/A5022652001,Andrea Herrmann,https://orcid.org/0000-0002-7850-8344,214,2110,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Prokurist:2; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5069736561,https://openalex.org/A5069736561,Andreas Junker,https://orcid.org/0000-0002-8063-9765,67,2524,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5022998651,https://openalex.org/A5022998651,Andreas Vogelsang,https://orcid.org/0000-0003-1041-0815,225,1477,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Inhaber:2,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5127045878,https://openalex.org/A5127045878,Andreas Vogelsang,,1,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Inhaber:2,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5026173847,https://openalex.org/A5026173847,André Giese,https://orcid.org/0000-0002-8987-8009,1,33,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Liquidator:2; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5070250060,https://openalex.org/A5070250060,Anja Neumann,https://orcid.org/0000-0002-0921-1360,200,2152,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100857275,https://openalex.org/A5100857275,Anja Neumann,,1,41,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5123255867,https://openalex.org/A5123255867,Anja Neumann,,2,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100813838,https://openalex.org/A5100813838,Anja Schwarz,,3,1,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Prokurist:2; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5032007353,https://openalex.org/A5032007353,Bernhard Ganter,https://orcid.org/0000-0003-0767-1379,111,10305,child_of_ude,The Hydrogen and Fuel Cell Center,6,Geschäftsführer:4; Liquidator:3,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5013556611,https://openalex.org/A5013556611,Carsten Ullrich,https://orcid.org/0000-0003-2826-9821,212,2884,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Liquidator:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5114883287,https://openalex.org/A5114883287,Christian Scheller,,1,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:7; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5002582354,https://openalex.org/A5002582354,Christoph Blume,,6,43,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:8,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5002857697,https://openalex.org/A5002857697,Felix Weber,https://orcid.org/0000-0002-5910-7182,26,223,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5111523838,https://openalex.org/A5111523838,Fritz Beck,,17,32,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Persönlich haftender Gesellschafter:2; Inhaber:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5093811094,https://openalex.org/A5093811094,Gerhard Stahl,,2,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Liquidator:3,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5111350063,https://openalex.org/A5111350063,Jasmin Schmidt,,2,1,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:6,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5036037677,https://openalex.org/A5036037677,Jens Kohlmann,,5,38,direct_ude,University of Duisburg-Essen,6,Prokurist:5; Geschäftsführer:3,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5082298383,https://openalex.org/A5082298383,Jessica Schneider,,4,42,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:2; Liquidator:2; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5046233775,https://openalex.org/A5046233775,Joachim Schuler,,17,103,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103409660,https://openalex.org/A5103409660,Jochen Peters,,7,242,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5024590692,https://openalex.org/A5024590692,Johanna Müller,https://orcid.org/0000-0001-5699-7047,9,71,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Prokurist:2; Liquidator:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5010069325,https://openalex.org/A5010069325,Katharina Klein,,3,25,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Liquidator:1; Vorstand:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5039487332,https://openalex.org/A5039487332,Malte Weber,https://orcid.org/0009-0006-3074-4205,14,68,direct_ude,University of Duisburg-Essen,6,Prokurist:3; Geschäftsführer:1; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108620165,https://openalex.org/A5108620165,Mario Werner,https://orcid.org/0000-0003-3432-5471,98,1176,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Prokurist:3; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5046094206,https://openalex.org/A5046094206,Martin Blüggel,,48,1831,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Prokurist:4,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108951191,https://openalex.org/A5108951191,Martin Schuler,,5,11,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5123864478,https://openalex.org/A5123864478,Martin Schuler,,1,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5127353107,https://openalex.org/A5127353107,Martin Schuler,,22,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5129089154,https://openalex.org/A5129089154,Martin Schuler,,1,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102185738,https://openalex.org/A5102185738,Maximilian Wolf,,7,41,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:6,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103891301,https://openalex.org/A5103891301,Maximilian Wolf,,32,138,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:6,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5123135447,https://openalex.org/A5123135447,Maximilian Wolf,,1,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:6,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5058513513,https://openalex.org/A5058513513,Mike Wenzel,,272,2227,child_of_ude,Institut für Energie- und Umwelttechnik,6,Geschäftsführer:3; Prokurist:2; Liquidator:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5113888013,https://openalex.org/A5113888013,Mike Wenzel,,6,210,child_of_ude,Institut für Energie- und Umwelttechnik,6,Geschäftsführer:3; Prokurist:2; Liquidator:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103078695,https://openalex.org/A5103078695,Nicole Krämer,https://orcid.org/0000-0002-4224-0059,22,395,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:7; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5030114850,https://openalex.org/A5030114850,Oliver Martens,,2,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5088381140,https://openalex.org/A5088381140,Peter Kratzer,https://orcid.org/0000-0001-5947-1366,258,6049,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Prokurist:4,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5003116527,https://openalex.org/A5003116527,Qi Zhang,https://orcid.org/0009-0004-3982-1217,6,14,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:6; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100641189,https://openalex.org/A5100641189,Qi Zhang,https://orcid.org/0000-0003-3359-2172,16,101,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:6; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5074280631,https://openalex.org/A5074280631,Ralf Kuhlmann,,3,13,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5017131649,https://openalex.org/A5017131649,Robert Seifert,https://orcid.org/0000-0001-5985-7701,197,3380,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5127119058,https://openalex.org/A5127119058,Robert Seifert,,3,0,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:5; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5021741090,https://openalex.org/A5021741090,Rüdiger Schultz,,134,3581,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:6,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5079342266,https://openalex.org/A5079342266,Sebastian Schuster,https://orcid.org/0000-0002-2055-1163,72,741,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Prokurist:3,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5054081254,https://openalex.org/A5054081254,Simone Weiß,,14,504,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Inhaber:2; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5022241592,https://openalex.org/A5022241592,Tobias Stein,https://orcid.org/0000-0001-5145-3630,30,71,direct_ude,University of Duisburg-Essen,6,Geschäftsführer:4; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5089753284,https://openalex.org/A5089753284,Andreas Hellmann,https://orcid.org/0000-0002-3573-5344,151,1720,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:4; Liquidator:1; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5066213817,https://openalex.org/A5066213817,Andreas Hüttner,,1,7,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Inhaber:2,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5056706108,https://openalex.org/A5056706108,Andreas Roos,https://orcid.org/0000-0003-2833-0928,264,3999,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5091715739,https://openalex.org/A5091715739,Andreas Roos,,28,479,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108819622,https://openalex.org/A5108819622,Andreas Roos,,24,123,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5113291047,https://openalex.org/A5113291047,Andreas Roos,,7,20,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5123688451,https://openalex.org/A5123688451,Andreas Roos,,1,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125129945,https://openalex.org/A5125129945,Andreas Roos,,1,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125749206,https://openalex.org/A5125749206,Andreas Roos,,1,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5126021790,https://openalex.org/A5126021790,Andreas Roos,,1,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5126630247,https://openalex.org/A5126630247,Andreas Roos,,1,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5128123846,https://openalex.org/A5128123846,Andreas Roos,,1,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5129683483,https://openalex.org/A5129683483,Andreas Roos,,1,1,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5041211483,https://openalex.org/A5041211483,Anja Lange,,25,650,direct_ude,University of Duisburg-Essen,7,Prokurist:5; Geschäftsführer:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5028653294,https://openalex.org/A5028653294,Axel Klein,https://orcid.org/0000-0002-4203-2938,86,282,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:8,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5101697057,https://openalex.org/A5101697057,Axel Klein,https://orcid.org/0000-0002-1762-0201,41,189,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:8,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5008201488,https://openalex.org/A5008201488,Daniel Diekmann,https://orcid.org/0000-0002-0941-4096,27,177,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:5,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5040913972,https://openalex.org/A5040913972,Dennis Schneider,,12,19,direct_ude,University of Duisburg-Essen,7,Prokurist:6; Geschäftsführer:3,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5086202332,https://openalex.org/A5086202332,Dirk Broska,,4,30,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:9; Prokurist:2; Liquidator:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5108458907,https://openalex.org/A5108458907,Günter Zimmer,,17,144,direct_ude,University of Duisburg-Essen,7,Prokurist:3; Geschäftsführer:2; Persönlich haftender Gesellschafter:1,removed:4; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100396981,https://openalex.org/A5100396981,Hao Zhang,https://orcid.org/0000-0002-9447-1019,176,1380,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:7; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5008052136,https://openalex.org/A5008052136,Jörg Schaller,https://orcid.org/0000-0003-0477-5877,139,2479,direct_ude,University of Duisburg-Essen,7,Prokurist:3; Geschäftsführer:2; Persönlich haftender Gesellschafter:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125152883,https://openalex.org/A5125152883,Jörg Schaller,,3,0,direct_ude,University of Duisburg-Essen,7,Prokurist:3; Geschäftsführer:2; Persönlich haftender Gesellschafter:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5112788772,https://openalex.org/A5112788772,Jürgen Bruckner,,26,424,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:6; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100612485,https://openalex.org/A5100612485,Katharina Schmidt,https://orcid.org/0000-0001-9397-5285,52,557,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:7; Liquidator:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103840064,https://openalex.org/A5103840064,Katharina Schmidt,,17,454,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:7; Liquidator:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5069715592,https://openalex.org/A5069715592,Klaus Barth,,2,1,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5091584361,https://openalex.org/A5091584361,Klaus Barth,,2,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5052755853,https://openalex.org/A5052755853,Marina Schmidt,,2,26,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102080356,https://openalex.org/A5102080356,Max Weber,,8,25,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:4; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5057316063,https://openalex.org/A5057316063,Michael Kloster,https://orcid.org/0000-0001-9244-4925,68,510,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:7,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5085192643,https://openalex.org/A5085192643,Olaf Liedtke,,3,11,direct_ude,University of Duisburg-Essen,7,Prokurist:3; Geschäftsführer:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5033748664,https://openalex.org/A5033748664,Pascal Schneider,,6,11,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Inhaber:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5111726893,https://openalex.org/A5111726893,Peter Rath,,25,424,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Persönlich haftender Gesellschafter:2; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5022560140,https://openalex.org/A5022560140,Rainer Schnell,https://orcid.org/0000-0001-7843-4974,359,3923,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:5; Inhaber:1; Liquidator:1,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5073162924,https://openalex.org/A5073162924,Simon Ritter,,2,24,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5076980201,https://openalex.org/A5076980201,Stefan Friese,,4,10,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:7; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5034732630,https://openalex.org/A5034732630,Thorsten Sander,https://orcid.org/0000-0002-0880-8843,26,226,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:6; Liquidator:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5123978064,https://openalex.org/A5123978064,Thorsten Sander,,1,0,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:6; Liquidator:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5000662140,https://openalex.org/A5000662140,Tim Krüger,,2,5,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5080716370,https://openalex.org/A5080716370,Volker Clausen,,52,268,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:6; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5076575576,https://openalex.org/A5076575576,Walter Reinhardt,https://orcid.org/0000-0002-8713-5279,68,1134,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:4; Liquidator:2,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5014001330,https://openalex.org/A5014001330,Wolfgang Gruber,https://orcid.org/0000-0003-2186-9269,191,4152,direct_ude,University of Duisburg-Essen,7,Geschäftsführer:6,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5115595123,https://openalex.org/A5115595123,Andreas Albert,,1,1,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:4; Inhaber:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5115603880,https://openalex.org/A5115603880,Andreas Albert,https://orcid.org/0000-0002-0582-2674,133,4162,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:4; Inhaber:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5063056312,https://openalex.org/A5063056312,André Haase,https://orcid.org/0000-0002-4529-1396,12,72,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:5; Prokurist:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5095550956,https://openalex.org/A5095550956,Birgit Meyer,,1,0,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5069912429,https://openalex.org/A5069912429,Christian Knobloch,https://orcid.org/0000-0001-5131-039X,7,7,direct_ude,University of Duisburg-Essen,8,Prokurist:3; Geschäftsführer:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5029326684,https://openalex.org/A5029326684,Christoph Horn,https://orcid.org/0000-0002-2762-6463,6,39,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102865092,https://openalex.org/A5102865092,Christopher Schröder,https://orcid.org/0000-0002-4483-8951,134,1823,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:5,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5062096123,https://openalex.org/A5062096123,Dirk Schlüter,,5,7,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:5; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5019895745,https://openalex.org/A5019895745,Franz-Josef Meyer,,2,53,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:6; Liquidator:1,removed:4; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5069914957,https://openalex.org/A5069914957,Henning Kuhlmann,,5,22,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:6; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5076247663,https://openalex.org/A5076247663,Jing Zhang,https://orcid.org/0000-0002-3750-374X,548,27348,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:7,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5045144525,https://openalex.org/A5045144525,Jochen Vogt,,2,0,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:6,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5039736409,https://openalex.org/A5039736409,Manuel Weber,https://orcid.org/0000-0002-8649-5977,239,4548,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:4; Inhaber:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5046636790,https://openalex.org/A5046636790,Martina Richter,,40,287,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:5; Liquidator:1; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100869399,https://openalex.org/A5100869399,Martina Richter,,36,62,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:5; Liquidator:1; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5068775949,https://openalex.org/A5068775949,Matthias Benz,https://orcid.org/0000-0002-7577-9691,178,7014,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5036362880,https://openalex.org/A5036362880,Patrick Bohn,https://orcid.org/0000-0002-8515-2067,39,626,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:6; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5085357328,https://openalex.org/A5085357328,Peter Rettig,,1,1,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:6; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100667510,https://openalex.org/A5100667510,Qi Liu,https://orcid.org/0000-0003-0110-7750,181,2253,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:5,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5018713421,https://openalex.org/A5018713421,Sascha Hagemann,,16,532,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:4; Inhaber:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5036922099,https://openalex.org/A5036922099,Thomas Bartz,,13,64,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103078122,https://openalex.org/A5103078122,Thomas Kiefer,https://orcid.org/0000-0002-7283-4990,120,2701,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:2; Inhaber:1; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5023162593,https://openalex.org/A5023162593,Tobias Braun,,2,0,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:9,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102983474,https://openalex.org/A5102983474,Tobias Braun,https://orcid.org/0000-0001-9336-9306,1,28,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:9,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5110556007,https://openalex.org/A5110556007,Tobias Thiele,,43,501,direct_ude,University of Duisburg-Essen,8,Geschäftsführer:4; Persönlich haftender Gesellschafter:2; Inhaber:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5015016155,https://openalex.org/A5015016155,Albert Beer,,2,12,direct_ude,University of Duisburg-Essen,9,Prokurist:3; Geschäftsführer:1; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5054828466,https://openalex.org/A5054828466,Albert Beer,,6,0,direct_ude,University of Duisburg-Essen,9,Prokurist:3; Geschäftsführer:1; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5087345789,https://openalex.org/A5087345789,Alexander Brüning,,2,18,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:8,removed:4; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5006251667,https://openalex.org/A5006251667,Andreas Thieme,,6,7,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:4; Prokurist:4; Persönlich haftender Gesellschafter:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5073100876,https://openalex.org/A5073100876,Andreas Thieme,https://orcid.org/0000-0001-6221-8601,65,585,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:4; Prokurist:4; Persönlich haftender Gesellschafter:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125618394,https://openalex.org/A5125618394,Andreas Thieme,,1,0,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:4; Prokurist:4; Persönlich haftender Gesellschafter:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5102797453,https://openalex.org/A5102797453,Christoph Marx,https://orcid.org/0009-0000-7620-8017,100,231,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:7,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5067642493,https://openalex.org/A5067642493,Frank Pfeifer,,48,1981,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:3; Inhaber:1; Persönlich haftender Gesellschafter:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5057804983,https://openalex.org/A5057804983,Klaus Bartl,,3,59,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:8,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5056334688,https://openalex.org/A5056334688,Manuel Fiedler,,22,25,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:8,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125542216,https://openalex.org/A5125542216,Marcus Roth,,1,0,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:9,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5036507802,https://openalex.org/A5036507802,Martin Schüler,https://orcid.org/0000-0002-2166-3394,996,44791,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5000482421,https://openalex.org/A5000482421,Michael Meltzer,,17,418,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:5,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5121940305,https://openalex.org/A5121940305,Peter Hoyer,,1,0,direct_ude,University of Duisburg-Essen,9,Prokurist:3; Geschäftsführer:2; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5110586432,https://openalex.org/A5110586432,Stefanie Becker,,2,11,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:6; Liquidator:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5006447283,https://openalex.org/A5006447283,Thomas Küpper,,22,1,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5011345883,https://openalex.org/A5011345883,Tobias Hübner,,2,3,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:7,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103027229,https://openalex.org/A5103027229,Tobias Kuhn,https://orcid.org/0000-0002-6725-3470,2,10,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:6,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100380339,https://openalex.org/A5100380339,Yan Li,https://orcid.org/0000-0002-3906-9481,200,3860,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:6,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103876626,https://openalex.org/A5103876626,Yan Li,https://orcid.org/0000-0002-3450-6806,14,38,direct_ude,University of Duisburg-Essen,9,Geschäftsführer:6,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103881897,https://openalex.org/A5103881897,Andrea Schmitz,,44,673,direct_ude,University of Duisburg-Essen,10,Prokurist:3; Geschäftsführer:2; Persönlich haftender Gesellschafter:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5047071096,https://openalex.org/A5047071096,Andrea Schäfer,,2,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5091806917,https://openalex.org/A5091806917,Andreas Behr,https://orcid.org/0000-0002-6818-1878,107,1172,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5001746184,https://openalex.org/A5001746184,Andreas Kempf,,227,6307,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:2; Inhaber:2; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5128774002,https://openalex.org/A5128774002,Andreas Kempf,,1,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:2; Inhaber:2; Prokurist:2,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5065059084,https://openalex.org/A5065059084,Andreas Kopf,https://orcid.org/0000-0002-0111-4638,2,15,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:2; Prokurist:2; Persönlich haftender Gesellschafter:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5046865796,https://openalex.org/A5046865796,Andreas Stöhr,https://orcid.org/0000-0003-1036-2120,291,5084,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5126618638,https://openalex.org/A5126618638,Anja Niemann,,1,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:4; Inhaber:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5026130647,https://openalex.org/A5026130647,Carsten Krause,,20,172,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:4; Inhaber:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5112174027,https://openalex.org/A5112174027,Dieter Reinhardt,,4,5,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5074831805,https://openalex.org/A5074831805,Guido Wolf,,23,46,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:4; Inhaber:1; Prokurist:1,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5006001806,https://openalex.org/A5006001806,Jan Siebert,https://orcid.org/0000-0001-7378-3876,6,8,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:7,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5103234025,https://openalex.org/A5103234025,Jens Schumacher,https://orcid.org/0000-0003-4884-7764,10,124,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5035003250,https://openalex.org/A5035003250,Klaus Pohl,,6,30,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5074036780,https://openalex.org/A5074036780,Klaus Pohl,https://orcid.org/0000-0003-2199-5257,306,12954,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5039283594,https://openalex.org/A5039283594,Marco Meier,https://orcid.org/0000-0002-6080-8904,1,8,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:4; Inhaber:1; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5086007116,https://openalex.org/A5086007116,Matthias Linke,https://orcid.org/0000-0002-8814-6316,9,100,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5044176437,https://openalex.org/A5044176437,Michael Erkelenz,https://orcid.org/0000-0003-3485-0380,30,868,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5; Prokurist:1,removed:4; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5105098228,https://openalex.org/A5105098228,Michael Erkelenz,,2,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5; Prokurist:1,removed:4; currently registered:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5085748095,https://openalex.org/A5085748095,Michael Fleischer,https://orcid.org/0000-0002-5720-8393,39,827,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5079734558,https://openalex.org/A5079734558,Michael Stratmann,,3,63,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:7; Liquidator:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5062809846,https://openalex.org/A5062809846,Peter Berndt,,2,19,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:4; Inhaber:1; Liquidator:1,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5090934184,https://openalex.org/A5090934184,Petra Stein,,60,651,direct_ude,University of Duisburg-Essen,10,Prokurist:4; Geschäftsführer:2; Inhaber:2,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5035669105,https://openalex.org/A5035669105,Rolf Küpper,,1,11,direct_ude,University of Duisburg-Essen,10,Prokurist:4; Geschäftsführer:2,removed:3; currently registered:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5011673386,https://openalex.org/A5011673386,Simone Lange,,11,1539,direct_ude,University of Duisburg-Essen,10,Prokurist:4; Geschäftsführer:3,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5053775098,https://openalex.org/A5053775098,Stefan Hölscher,,2,8,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:5,currently registered:4; removed:1,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5030649192,https://openalex.org/A5030649192,Stephan Lang,https://orcid.org/0009-0000-4420-9664,873,16973,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5122822060,https://openalex.org/A5122822060,Stephan Lang,,2,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125675957,https://openalex.org/A5125675957,Stephan Lang,,6,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5125682548,https://openalex.org/A5125682548,Stephan Lang,,1,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5126583281,https://openalex.org/A5126583281,Stephan Lang,,2,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5126658578,https://openalex.org/A5126658578,Stephan Lang,,1,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5130106768,https://openalex.org/A5130106768,Stephan Lang,,1,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:5,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5100383092,https://openalex.org/A5100383092,Ying Chen,https://orcid.org/0000-0002-8894-0085,15,285,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:6,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5123572043,https://openalex.org/A5123572043,Ying Chen,,8,0,direct_ude,University of Duisburg-Essen,10,Geschäftsführer:6,currently registered:3; removed:2,no,Mehrere Handelsregister-Treffer für denselben Namen; manuelle Prüfung empfohlen. +A5120052452,https://openalex.org/A5120052452,Alex Hoppe,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5020656602,https://openalex.org/A5020656602,Alexander Hahn,https://orcid.org/0000-0002-9305-1768,1,2,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5015660909,https://openalex.org/A5015660909,Alexander Hoffmann,https://orcid.org/0000-0002-8360-6862,129,2699,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5068899403,https://openalex.org/A5068899403,Alexander Huber,,18,181,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Inhaber:2; Persönlich haftender Gesellschafter:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5124753921,https://openalex.org/A5124753921,Alexander Huber,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Inhaber:2; Persönlich haftender Gesellschafter:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5108639570,https://openalex.org/A5108639570,Alexander Jahn,,10,171,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5025003490,https://openalex.org/A5025003490,Alexander Neumann,https://orcid.org/0000-0003-1457-354X,64,1058,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:4,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5013496413,https://openalex.org/A5013496413,Alexander Schmitz,https://orcid.org/0000-0002-1018-7054,16,259,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5019137844,https://openalex.org/A5019137844,Alexander Schramm,https://orcid.org/0000-0001-7670-7529,571,16274,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5027254219,https://openalex.org/A5027254219,Alexander Schwarz,https://orcid.org/0000-0003-2276-5947,70,449,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5048818593,https://openalex.org/A5048818593,Alexander Thomas,https://orcid.org/0000-0003-4013-8963,15,90,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5102020873,https://openalex.org/A5102020873,Alexander Thomas,https://orcid.org/0000-0001-8185-6828,176,2011,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5103267686,https://openalex.org/A5103267686,Alexander Wagner,https://orcid.org/0000-0002-6162-4875,22,1199,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5039847128,https://openalex.org/A5039847128,Andreas Bayer,,5,44,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:4; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5126946569,https://openalex.org/A5126946569,Andreas Giese,,1,0,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:3; Persönlich haftender Gesellschafter:2; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5082807445,https://openalex.org/A5082807445,Andreas Göbel,,7,66,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2; Liquidator:1,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5082867129,https://openalex.org/A5082867129,Andreas Hüttmann,https://orcid.org/0000-0003-2230-3873,192,8323,direct_ude,University of Duisburg-Essen,>=11,Liquidator:3; Geschäftsführer:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5114186435,https://openalex.org/A5114186435,Andreas Hüttmann,,1,95,direct_ude,University of Duisburg-Essen,>=11,Liquidator:3; Geschäftsführer:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5125397163,https://openalex.org/A5125397163,Andreas Hüttmann,,1,0,direct_ude,University of Duisburg-Essen,>=11,Liquidator:3; Geschäftsführer:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5030957194,https://openalex.org/A5030957194,Andreas Jansen,,15,59,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5088483719,https://openalex.org/A5088483719,Andreas Kraus,,25,581,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5014874075,https://openalex.org/A5014874075,Andreas Köhler,https://orcid.org/0000-0001-8904-0380,16,50,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5086206513,https://openalex.org/A5086206513,Andreas Müller,,17,17,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5087818310,https://openalex.org/A5087818310,Andreas Müller,https://orcid.org/0000-0002-7447-700X,132,3425,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5126339947,https://openalex.org/A5126339947,Andreas Müller,,1,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5128888404,https://openalex.org/A5128888404,Andreas Müller,,2,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5084350670,https://openalex.org/A5084350670,Andreas Nickel,https://orcid.org/0000-0001-6847-6011,50,268,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Inhaber:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5066427300,https://openalex.org/A5066427300,Andreas Peters,https://orcid.org/0000-0002-3868-7552,152,1212,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1; Prokurist:1,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5066751418,https://openalex.org/A5066751418,Andreas Pieper,https://orcid.org/0000-0002-9054-7274,34,216,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5058513288,https://openalex.org/A5058513288,Andreas Schönfeld,,35,238,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5004942312,https://openalex.org/A5004942312,Andreas Schütte,https://orcid.org/0000-0002-9915-0601,48,956,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Persönlich haftender Gesellschafter:1,removed:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5034195386,https://openalex.org/A5034195386,André Lorenz,,12,63,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:2,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5037792167,https://openalex.org/A5037792167,André Müller,https://orcid.org/0000-0002-7804-8640,68,409,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5078993317,https://openalex.org/A5078993317,Benjamin Otto,,7,10,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5090083006,https://openalex.org/A5090083006,Bernd Menzel,,2,20,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,removed:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5049751836,https://openalex.org/A5049751836,Bernd Wagner,https://orcid.org/0000-0003-0877-6906,29,581,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5090572749,https://openalex.org/A5090572749,Bernhard Müller,https://orcid.org/0000-0002-9573-1417,284,6315,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:3; Inhaber:1; Liquidator:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5110010176,https://openalex.org/A5110010176,Christian Baier,,1,39,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5108402711,https://openalex.org/A5108402711,Christian Berg,,14,478,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5086730050,https://openalex.org/A5086730050,Christian Hoffmann,https://orcid.org/0000-0002-5776-439X,16,79,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5038994918,https://openalex.org/A5038994918,Christian Johannes,,69,3119,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5022286426,https://openalex.org/A5022286426,Christian Mayer,https://orcid.org/0000-0003-1681-0553,242,5370,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5075343853,https://openalex.org/A5075343853,Christian Müller,https://orcid.org/0000-0002-2950-446X,75,630,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5120610207,https://openalex.org/A5120610207,Christian Scholz,https://orcid.org/0009-0003-2601-2202,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Persönlich haftender Gesellschafter:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101815496,https://openalex.org/A5101815496,Christian Thiel,https://orcid.org/0000-0002-2290-8242,33,267,direct_ude,University of Duisburg-Essen,>=11,Prokurist:4; Geschäftsführer:3,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5081725415,https://openalex.org/A5081725415,Christian Vogel,,7,23,direct_ude,University of Duisburg-Essen,>=11,Inhaber:2; Prokurist:2; Geschäftsführer:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5100603203,https://openalex.org/A5100603203,Christian Weber,https://orcid.org/0000-0003-4610-8714,1837,99587,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Persönlich haftender Gesellschafter:2; Inhaber:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5103691262,https://openalex.org/A5103691262,Christian Witt,,32,526,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101676729,https://openalex.org/A5101676729,Christoph Müller,https://orcid.org/0009-0006-0910-9135,11,12,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Inhaber:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5013924170,https://openalex.org/A5013924170,Christoph Schramm,https://orcid.org/0000-0001-6752-0690,93,740,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5065790260,https://openalex.org/A5065790260,Christoph Weber,https://orcid.org/0000-0003-0197-7991,545,5820,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5121605940,https://openalex.org/A5121605940,Christoph Weber,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5123271660,https://openalex.org/A5123271660,Christoph Weber,,1,1,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5129104343,https://openalex.org/A5129104343,Christoph Weber,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5034523099,https://openalex.org/A5034523099,Claus Günther,,2,25,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5074555350,https://openalex.org/A5074555350,Daniel Hoffmann,https://orcid.org/0000-0003-2973-7869,332,7243,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5100660461,https://openalex.org/A5100660461,Daniel Huber,,7,161,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5104102189,https://openalex.org/A5104102189,Daniel Schäfer,,24,303,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5124708205,https://openalex.org/A5124708205,Daniel Schäfer,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5049860860,https://openalex.org/A5049860860,Daniel Steiner,https://orcid.org/0000-0002-1061-9064,34,189,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5105122933,https://openalex.org/A5105122933,Daniel Steiner,,3,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5125298692,https://openalex.org/A5125298692,Daniel Steiner,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5007177481,https://openalex.org/A5007177481,Daniel Ziegler,,4,9,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5114803792,https://openalex.org/A5114803792,David Fuchs,https://orcid.org/0009-0008-1483-0714,15,946,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5013220191,https://openalex.org/A5013220191,David Meyer,,12,37,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5024490563,https://openalex.org/A5024490563,Dieter Wolters,,1,13,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5086437544,https://openalex.org/A5086437544,Florian Kunz,https://orcid.org/0000-0002-6640-1814,2,23,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:4; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5098818654,https://openalex.org/A5098818654,Frank Becker,,6,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5102274030,https://openalex.org/A5102274030,Frank Becker,,2,5,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5107174442,https://openalex.org/A5107174442,Frank Becker,,5,9,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5016436943,https://openalex.org/A5016436943,Frank Kirchner,https://orcid.org/0000-0002-1713-9784,463,6924,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5111842190,https://openalex.org/A5111842190,Frank Schmidt,,159,4718,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:3; Liquidator:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5026728906,https://openalex.org/A5026728906,Frank Schneider,,3,65,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7; Prokurist:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5032121594,https://openalex.org/A5032121594,Frank Weber,https://orcid.org/0000-0002-0995-667X,244,5651,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:2; Persönlich haftender Gesellschafter:2; Liquidator:1; Prokurist:1,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5062189732,https://openalex.org/A5062189732,Frank Weber,https://orcid.org/0000-0001-8285-5544,394,9324,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:2; Persönlich haftender Gesellschafter:2; Liquidator:1; Prokurist:1,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5123207204,https://openalex.org/A5123207204,Frank Weber,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:2; Persönlich haftender Gesellschafter:2; Liquidator:1; Prokurist:1,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5010957617,https://openalex.org/A5010957617,Georg Jansen,https://orcid.org/0000-0002-0724-3895,191,7215,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5090280161,https://openalex.org/A5090280161,Gregor Braun,,4,5,direct_ude,University of Duisburg-Essen,11,Liquidator:4; Geschäftsführer:3,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5095407533,https://openalex.org/A5095407533,Hans Bach,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:2; Prokurist:2; Liquidator:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5035617524,https://openalex.org/A5035617524,Hartmut Engler,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5015932441,https://openalex.org/A5015932441,Hartmut Schmidt,https://orcid.org/0000-0002-2402-7764,1031,21471,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5064646832,https://openalex.org/A5064646832,Hartmut Schmidt,,60,371,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5110660963,https://openalex.org/A5110660963,Heiko Schmidt,,1,38,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5017152518,https://openalex.org/A5017152518,Heiko Schulz,,4,7,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Liquidator:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5026150065,https://openalex.org/A5026150065,Helmut Schneider,,9,7,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5038040583,https://openalex.org/A5038040583,Hubert Müller,,51,817,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2; Inhaber:1; Liquidator:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5108956560,https://openalex.org/A5108956560,Hui Wang,,5,30,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:2; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5032210373,https://openalex.org/A5032210373,Jan Müller,,6,30,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5068488252,https://openalex.org/A5068488252,Jan Weber,https://orcid.org/0000-0002-2799-7352,190,4567,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Liquidator:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5059941086,https://openalex.org/A5059941086,Jens Bauer,,20,268,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Inhaber:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5087449583,https://openalex.org/A5087449583,Jens Krüger,https://orcid.org/0000-0002-9197-0613,67,1176,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:8; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5036965906,https://openalex.org/A5036965906,Jens Meyer,https://orcid.org/0000-0001-7265-1628,8,143,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5082133427,https://openalex.org/A5082133427,Jens Zimmermann,,2,2,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:3,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5112145711,https://openalex.org/A5112145711,Jochen Schmitz,,72,7028,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5108419254,https://openalex.org/A5108419254,Johannes Koch,,43,1006,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:3,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5113022614,https://openalex.org/A5113022614,Johannes Koch,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:3,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5008300748,https://openalex.org/A5008300748,Johannes Wendt,,10,152,direct_ude,University of Duisburg-Essen,11,Prokurist:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5034230486,https://openalex.org/A5034230486,Jörg Meyer,,9,388,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:3,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101542746,https://openalex.org/A5101542746,Jörg Schröder,https://orcid.org/0000-0001-7167-6022,102,277,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101542747,https://openalex.org/A5101542747,Jörg Schröder,https://orcid.org/0000-0001-7960-9553,550,6814,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5106830254,https://openalex.org/A5106830254,Jörg Schröder,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5120984621,https://openalex.org/A5120984621,Jörg Schröder,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5019933867,https://openalex.org/A5019933867,Jörg Simon,,3,209,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5109281644,https://openalex.org/A5109281644,Jürgen Berger,,5,1705,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Persönlich haftender Gesellschafter:2; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5005751493,https://openalex.org/A5005751493,Jürgen Herzog,https://orcid.org/0000-0002-2971-2859,351,8302,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5072189999,https://openalex.org/A5072189999,Jürgen Herzog,,18,268,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5110555184,https://openalex.org/A5110555184,Jürgen Herzog,,10,6,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5127161804,https://openalex.org/A5127161804,Jürgen Jung,,14,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5032714872,https://openalex.org/A5032714872,Jürgen König,https://orcid.org/0000-0003-3836-4611,255,8464,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Persönlich haftender Gesellschafter:2; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5040353606,https://openalex.org/A5040353606,Jürgen Ziegler,https://orcid.org/0000-0001-9603-5272,359,3119,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5114019148,https://openalex.org/A5114019148,Jürgen Ziegler,,16,3,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5127157117,https://openalex.org/A5127157117,Jürgen Ziegler,,8,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5104427325,https://openalex.org/A5104427325,Karina Kruse,,1,16,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5045780650,https://openalex.org/A5045780650,Karsten Schmidt,https://orcid.org/0000-0001-8373-9406,153,2581,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5104361385,https://openalex.org/A5104361385,Klaus Jacobs,,2,2,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7; Prokurist:1,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5108971031,https://openalex.org/A5108971031,Konrad Müller,,36,1258,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5005130277,https://openalex.org/A5005130277,Lars Becker,https://orcid.org/0000-0001-7876-2580,88,500,direct_ude,University of Duisburg-Essen,>=11,Persönlich haftender Gesellschafter:3; Geschäftsführer:2; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5123109097,https://openalex.org/A5123109097,Lars Becker,,1,0,direct_ude,University of Duisburg-Essen,>=11,Persönlich haftender Gesellschafter:3; Geschäftsführer:2; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5015192554,https://openalex.org/A5015192554,Lars Geiger,,16,402,direct_ude,University of Duisburg-Essen,>=11,Prokurist:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5025015463,https://openalex.org/A5025015463,Lars Johannsen,,38,1177,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5109197029,https://openalex.org/A5109197029,Lars Meyer,,103,1275,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5128958719,https://openalex.org/A5128958719,Lars Möller,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Vorstand:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5083295173,https://openalex.org/A5083295173,Lars Schmidt,,6,45,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7; Prokurist:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5105774195,https://openalex.org/A5105774195,Lars Schmidt,,10,3,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7; Prokurist:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5027311573,https://openalex.org/A5027311573,Maike Müller,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Liquidator:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5045955262,https://openalex.org/A5045955262,Manfred Lange,,17,228,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5083105835,https://openalex.org/A5083105835,Marc Birkner,,2,79,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5017148486,https://openalex.org/A5017148486,Marcel Kremer,https://orcid.org/0000-0001-9130-7670,14,121,direct_ude,University of Duisburg-Essen,>=11,Persönlich haftender Gesellschafter:4; Geschäftsführer:3,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5018246741,https://openalex.org/A5018246741,Marcel Noack,,18,57,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:8,removed:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5003062229,https://openalex.org/A5003062229,Marcus Brinkmann,https://orcid.org/0000-0001-6370-5380,28,761,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:4,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5127193245,https://openalex.org/A5127193245,Marcus Schmitt,,9,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5027482134,https://openalex.org/A5027482134,Marion Weber,,4,12,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:4; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5024191146,https://openalex.org/A5024191146,Markus Kaiser,https://orcid.org/0000-0002-6540-8520,359,8863,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5028999855,https://openalex.org/A5028999855,Martin Beck,https://orcid.org/0000-0002-7397-1321,252,18495,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Inhaber:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5049649829,https://openalex.org/A5049649829,Martin Busch,,4,191,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:2,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5002958357,https://openalex.org/A5002958357,Martin Friedrich,,2,19,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Liquidator:1; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5045477517,https://openalex.org/A5045477517,Martin Lang,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5072066931,https://openalex.org/A5072066931,Martin Lemke,,4,44,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5125936671,https://openalex.org/A5125936671,Martin May,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Liquidator:1; Prokurist:1,removed:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5007762483,https://openalex.org/A5007762483,Martin Schäfer,https://orcid.org/0000-0002-4580-6337,100,2270,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Persönlich haftender Gesellschafter:2; Geschäftsführer:1; Inhaber:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5016786021,https://openalex.org/A5016786021,Martin Steinmetz,https://orcid.org/0000-0002-9109-0720,2,7,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5047106177,https://openalex.org/A5047106177,Matthias Brand,https://orcid.org/0000-0001-7194-7697,80,1420,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5121446709,https://openalex.org/A5121446709,Matthias Brand,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5123730804,https://openalex.org/A5123730804,Matthias Brand,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5125038989,https://openalex.org/A5125038989,Matthias Brand,,1,1,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5129971313,https://openalex.org/A5129971313,Matthias Brand,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5130612736,https://openalex.org/A5130612736,Matthias Brand,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5018982548,https://openalex.org/A5018982548,Matthias Bähr,https://orcid.org/0000-0003-2598-1442,27,146,child_of_ude,The Hydrogen and Fuel Cell Center,>=11,Geschäftsführer:5,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5083966487,https://openalex.org/A5083966487,Matthias Kramer,https://orcid.org/0000-0002-4865-7023,12,4,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5003105833,https://openalex.org/A5003105833,Michael Berger,https://orcid.org/0000-0002-3469-0076,185,6927,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5085864136,https://openalex.org/A5085864136,Michael Berger,,10,55,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5102099848,https://openalex.org/A5102099848,Michael Berger,,41,3027,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5125930652,https://openalex.org/A5125930652,Michael Berger,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5045643257,https://openalex.org/A5045643257,Michael Braun,https://orcid.org/0000-0002-3961-6211,33,608,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5103428777,https://openalex.org/A5103428777,Michael Braun,,15,117,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5104591730,https://openalex.org/A5104591730,Michael Faust,,1,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5039072748,https://openalex.org/A5039072748,Michael Giese,https://orcid.org/0000-0001-6355-536X,239,3476,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5073979306,https://openalex.org/A5073979306,Michael Jahn,https://orcid.org/0000-0002-7493-205X,72,1278,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Inhaber:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5080777994,https://openalex.org/A5080777994,Michael Kamp,https://orcid.org/0000-0001-6231-0694,71,1138,child_of_ude,Institute for Advanced Study in the Humanities Essen,>=11,Geschäftsführer:7; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5067507616,https://openalex.org/A5067507616,Michael Klein,https://orcid.org/0000-0002-1448-9535,83,908,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5060412934,https://openalex.org/A5060412934,Michael Korn,,3,36,direct_ude,University of Duisburg-Essen,>=11,Prokurist:4; Geschäftsführer:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5073107581,https://openalex.org/A5073107581,Michael Philipp,,202,3070,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:3,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5061602677,https://openalex.org/A5061602677,Michael Pies,,5,24,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:8,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5117265306,https://openalex.org/A5117265306,Michael Schmitz,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5025836402,https://openalex.org/A5025836402,Michael Steffen,,42,379,child_of_ude,The Hydrogen and Fuel Cell Center,>=11,Geschäftsführer:3; Prokurist:3; Inhaber:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101742920,https://openalex.org/A5101742920,Michael Wurm,https://orcid.org/0000-0002-3419-2202,7,50,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5034259217,https://openalex.org/A5034259217,Norbert Schwarz,https://orcid.org/0000-0002-8868-7067,764,91389,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Inhaber:1; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5007001298,https://openalex.org/A5007001298,Oliver Schwarz,https://orcid.org/0000-0003-3434-5640,209,1803,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5118729889,https://openalex.org/A5118729889,Oliver Schwarz,https://orcid.org/0000-0003-0930-9752,1,1,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5069695058,https://openalex.org/A5069695058,Peter Bayer,https://orcid.org/0000-0003-0435-7202,163,4001,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5122335477,https://openalex.org/A5122335477,Peter Haase,,4,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Liquidator:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5126565073,https://openalex.org/A5126565073,Peter Haase,,1,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Liquidator:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5128761798,https://openalex.org/A5128761798,Peter Haase,,1,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Liquidator:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5128789493,https://openalex.org/A5128789493,Peter Haase,,1,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Liquidator:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5044056577,https://openalex.org/A5044056577,Peter Hinz,,2,35,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5015245862,https://openalex.org/A5015245862,Peter Jung,https://orcid.org/0000-0001-7679-9697,894,22945,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101501818,https://openalex.org/A5101501818,Peter Jung,https://orcid.org/0000-0001-7002-8840,62,70,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5130157755,https://openalex.org/A5130157755,Peter Jung,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5130524017,https://openalex.org/A5130524017,Peter Jung,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5095512590,https://openalex.org/A5095512590,Peter Klein,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Liquidator:2; Inhaber:1; Prokurist:1,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5073786564,https://openalex.org/A5073786564,Peter Kramer,,4,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5005284699,https://openalex.org/A5005284699,Peter Vogel,,1,0,child_of_ude,Deutsches Textilforschungszentrum Nord-West,>=11,Geschäftsführer:3; Liquidator:1; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5078736126,https://openalex.org/A5078736126,Peter Vogel,,2,0,child_of_ude,Deutsches Textilforschungszentrum Nord-West,>=11,Geschäftsführer:3; Liquidator:1; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5073677785,https://openalex.org/A5073677785,Philipp Heim,,40,677,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5000527934,https://openalex.org/A5000527934,Ralf Herrmann,,99,3438,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5091333429,https://openalex.org/A5091333429,Ralf Küppers,https://orcid.org/0000-0002-6691-7191,510,44299,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:4; Liquidator:1; Persönlich haftender Gesellschafter:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5103187419,https://openalex.org/A5103187419,Ralf Müller,,200,4724,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1; Liquidator:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5077021691,https://openalex.org/A5077021691,Ralf Sauer,,3,32,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Inhaber:1; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5014597935,https://openalex.org/A5014597935,Reinhard Schulz,,1,0,direct_ude,University of Duisburg-Essen,>=11,Liquidator:3; Geschäftsführer:2; Prokurist:2,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101832860,https://openalex.org/A5101832860,Robert Huber,https://orcid.org/0000-0002-0133-5334,746,81882,direct_ude,University of Duisburg-Essen,>=11,Prokurist:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5113600462,https://openalex.org/A5113600462,Robert Huber,,7,794,direct_ude,University of Duisburg-Essen,>=11,Prokurist:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5078738600,https://openalex.org/A5078738600,Rolf Braun,,4,11,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:2,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5129673745,https://openalex.org/A5129673745,Rudolf Walter,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,removed:4; currently registered:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5122103793,https://openalex.org/A5122103793,Sebastian Bauer,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5127808287,https://openalex.org/A5127808287,Sebastian Bauer,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5130591899,https://openalex.org/A5130591899,Sebastian Bauer,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7; Prokurist:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5104110302,https://openalex.org/A5104110302,Sebastian Klein,,123,992,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5078421413,https://openalex.org/A5078421413,Sebastian Seidel,,6,72,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5028574608,https://openalex.org/A5028574608,Stefan Behrendt,,2,31,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:3; Prokurist:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5058806029,https://openalex.org/A5058806029,Stefan Blum,,4,56,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:3; Inhaber:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5072469617,https://openalex.org/A5072469617,Stefan Esser,,19,574,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:5,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5125494958,https://openalex.org/A5125494958,Stefan Esser,,2,0,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:5,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5111761334,https://openalex.org/A5111761334,Stefan Franke,,1,14,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2; Liquidator:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5079997249,https://openalex.org/A5079997249,Stefan Heimann,,40,469,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:2; Prokurist:2; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5029839616,https://openalex.org/A5029839616,Stefan Klein,,4,29,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:3,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5090938768,https://openalex.org/A5090938768,Stefan Wagner,https://orcid.org/0000-0001-9737-2246,123,1396,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Inhaber:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5062639221,https://openalex.org/A5062639221,Steffen Schulze,,2,1,child_of_ude,The Hydrogen and Fuel Cell Center,>=11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5004351252,https://openalex.org/A5004351252,Stephan Schulz,https://orcid.org/0000-0003-2896-4488,991,10298,direct_ude,University of Duisburg-Essen,>=11,Prokurist:4; Geschäftsführer:3,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5081179735,https://openalex.org/A5081179735,Stephan Schulz,https://orcid.org/0000-0002-3271-0897,10,20,direct_ude,University of Duisburg-Essen,>=11,Prokurist:4; Geschäftsführer:3,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5128899158,https://openalex.org/A5128899158,Stephan Schulz,,1,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:4; Geschäftsführer:3,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5114232030,https://openalex.org/A5114232030,Sven Kaiser,,2,12,child_of_ude,The Hydrogen and Fuel Cell Center,>=11,Geschäftsführer:6; Liquidator:2,removed:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5080964269,https://openalex.org/A5080964269,Sven Schulz,https://orcid.org/0000-0002-2663-5157,76,438,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:1; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5039812689,https://openalex.org/A5039812689,Sven Simon,https://orcid.org/0000-0002-6204-5437,229,2665,direct_ude,University of Duisburg-Essen,>=11,Prokurist:5,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5003438467,https://openalex.org/A5003438467,Thilo Krämer,https://orcid.org/0000-0001-8806-8138,2,26,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5126851559,https://openalex.org/A5126851559,Thomas Brock,,1,0,child_of_ude,The Hydrogen and Fuel Cell Center,11,Geschäftsführer:3; Liquidator:2; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5107844819,https://openalex.org/A5107844819,Thomas Ernst,,93,8229,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5128656245,https://openalex.org/A5128656245,Thomas Günther,,2,0,direct_ude,University of Duisburg-Essen,>=11,Prokurist:4; Geschäftsführer:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5104272425,https://openalex.org/A5104272425,Thomas Herold,,135,2512,direct_ude,University of Duisburg-Essen,>=11,Prokurist:4; Liquidator:1,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5071644998,https://openalex.org/A5071644998,Thomas Kaiser,https://orcid.org/0000-0001-9679-5968,542,5080,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5111380960,https://openalex.org/A5111380960,Thomas Kaiser,,2,43,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5112411494,https://openalex.org/A5112411494,Thomas Kaiser,,36,182,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5121025589,https://openalex.org/A5121025589,Thomas Kaiser,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5122994949,https://openalex.org/A5122994949,Thomas Kaiser,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5128141811,https://openalex.org/A5128141811,Thomas Kaiser,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5043600020,https://openalex.org/A5043600020,Thomas Keller,https://orcid.org/0000-0002-0126-4206,11,56,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5001102432,https://openalex.org/A5001102432,Thomas Klaus,,7,73,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5100733589,https://openalex.org/A5100733589,Thomas Schmidt,https://orcid.org/0000-0003-0026-6450,431,2352,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Inhaber:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5111432183,https://openalex.org/A5111432183,Thomas Schrader,,5,188,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2; Inhaber:1,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5101881137,https:/A5101881137/openalex.org/,Thomas Wagner,https://orcid.org/0000-0002-6853-0572,81,2335,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:2; Persönlich haftender Gesellschafter:2; Prokurist:2; Inhaber:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5082063437,https://openalex.org/A5082063437,Thomas Weber,https://orcid.org/0000-0002-3758-4279,42,154,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:1,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5089915448,https://openalex.org/A5089915448,Thomas Wilke,,2,6,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Inhaber:1; Liquidator:1,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5001069608,https://openalex.org/A5001069608,Tim Becker,https://orcid.org/0009-0005-2072-4801,10,27,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5102492004,https://openalex.org/A5102492004,Tim Becker,,6,1,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5123126640,https://openalex.org/A5123126640,Tobias Koch,,2,0,child_of_ude,Institut für Energie- und Umwelttechnik,>=11,Geschäftsführer:6,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5036606635,https://openalex.org/A5036606635,Tobias Lerchner,https://orcid.org/0000-0003-1120-4087,15,59,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5114473811,https://openalex.org/A5114473811,Tobias Schwarz,,1,1,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:6; Prokurist:3,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5013486947,https://openalex.org/A5013486947,Ulrich Frank,https://orcid.org/0000-0002-8057-1836,281,5408,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:3,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5113980542,https://openalex.org/A5113980542,Ulrich Frank,,2,9,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:3,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5028558427,https://openalex.org/A5028558427,Ulrich Schmitz,https://orcid.org/0000-0002-9975-9716,185,985,direct_ude,University of Duisburg-Essen,>=11,Prokurist:3; Geschäftsführer:2,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5112081965,https://openalex.org/A5112081965,Ulrich Schneider,,9,4,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5010002069,https://openalex.org/A5010002069,Ulrich Schreiber,https://orcid.org/0000-0002-3775-5058,649,6664,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5102336075,https://openalex.org/A5102336075,Ulrich Schreiber,,6,13,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5120714179,https://openalex.org/A5120714179,Ulrich Schreiber,,1,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:3; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5088909041,https://openalex.org/A5088909041,Uwe Martens,,3,9,direct_ude,University of Duisburg-Essen,11,Geschäftsführer:4; Prokurist:2; Liquidator:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5028270597,https://openalex.org/A5028270597,Verena Schmitt,https://orcid.org/0000-0002-6951-6406,42,638,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:7,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5009676373,https://openalex.org/A5009676373,Wolfgang Franke,,4,28,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:3,currently registered:5,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5024948331,https://openalex.org/A5024948331,Wolfgang Funk,,1,2,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Inhaber:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5102399620,https://openalex.org/A5102399620,Wolfgang Günther,,5,8,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Prokurist:2,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5085834772,https://openalex.org/A5085834772,Wolfgang Schmidt,,2,0,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:4; Liquidator:1; Persönlich haftender Gesellschafter:1; Prokurist:1,currently registered:4; removed:1,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5070205178,https://openalex.org/A5070205178,Wolfgang Stein,,3,0,child_of_ude,Deutsches Textilforschungszentrum Nord-West,>=11,Geschäftsführer:5; Liquidator:1,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5125267612,https://openalex.org/A5125267612,Xin Wang,,4,1,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5; Inhaber:1,removed:3; currently registered:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. +A5066622183,https://openalex.org/A5066622183,Yu Zhang,https://orcid.org/0000-0003-3579-4675,1,23,direct_ude,University of Duisburg-Essen,>=11,Geschäftsführer:5,currently registered:3; removed:2,yes,Häufig vorkommender Name: Die Ergebnisse basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten. diff --git a/service/sentence_transformer/index_topics.py b/service/sentence_transformer/index_topics.py index 35cea0cb..7b506427 100644 --- a/service/sentence_transformer/index_topics.py +++ b/service/sentence_transformer/index_topics.py @@ -35,15 +35,6 @@ headers = { "Content-Type": "application/json" } -def float_array_to_base64(vector): - """ - Convert a float vector into a Base64 string representing 32-bit big-endian float bytes. - Elasticsearch expects big-endian floats for binary/Base64 dense_vector encoding. - """ - arr = np.asarray(vector, dtype=np.float32) - big_endian_bytes = arr.astype('>f4').tobytes() - return base64.b64encode(big_endian_bytes).decode('utf-8') - def split_into_sentences(text): if not text: return [] @@ -52,77 +43,6 @@ def split_into_sentences(text): # Filter out empty or extremely short sentences return [s for s in sentences if len(s.strip()) > 3] -def check_and_update_mapping(): - print("Checking 'topicvectors' index...") - - with httpx.Client(timeout=30.0) as client: - exists_resp = client.head(f"{ELASTIC_URL}topicvectors", headers=headers) - if exists_resp.status_code == 404: - print("Index 'topicvectors' does not exist. Creating index with mapping...") - create_payload = { - "mappings": { - "properties": { - "id": {"type": "keyword"}, - "display_name": { - "type": "text", - "fields": { - "keyword": {"type": "keyword", "ignore_above": 256} - } - }, - "display_name_vector": { - "type": "dense_vector", - "dims": 768, - "index": True, - "similarity": "cosine", - "index_options": { - "type": "int8_hnsw", - "m": 16, - "ef_construction": 100 - } - }, - "description": {"type": "text"}, - "description_vectors": { - "type": "nested", - "properties": { - "vector": { - "type": "dense_vector", - "dims": 768, - "index": True, - "similarity": "cosine", - "index_options": { - "type": "int8_hnsw", - "m": 16, - "ef_construction": 100 - } - } - } - }, - "keywords": { - "type": "text", - "fields": { - "keyword": {"type": "keyword"} - } - }, - "cited_by_count": {"type": "long"}, - "works_count": {"type": "long"}, - "updated_date": {"type": "date"}, - "created_date": {"type": "date"} - } - } - } - resp = client.put( - f"{ELASTIC_URL}topicvectors", - json=create_payload, - headers=headers - ) - if resp.status_code == 200: - print("Successfully created 'topicvectors' index.") - else: - print(f"Failed to create index: {resp.status_code} - {resp.text}") - resp.raise_for_status() - else: - print("Index 'topicvectors' already exists.") - def fetch_all_topics(): print("Fetching topics from 'openalex-topics'...") topics = [] @@ -204,8 +124,6 @@ def bulk_index_topics(topics, display_name_vectors, nested_description_vectors): print(f"Indexed batch {i} to {i + len(batch_topics)}") def main(): - check_and_update_mapping() - topics = fetch_all_topics() if not topics: print("No topics found. Exiting.") diff --git a/service/src/data/search_scores.json b/service/src/data/search_scores.json index 3f7d4e0b..303a117b 100644 --- a/service/src/data/search_scores.json +++ b/service/src/data/search_scores.json @@ -1,150 +1,114 @@ { - "query": "Robotics", - "max_score": 22.734766, + "query": "localization", + "max_score": 23.237041, "results": [ { - "topic_name": "Soft Robotics and Applications", - "score": 22.734766 - }, - { - "topic_name": "Robotics and Automated Systems", - "score": 21.997686 - }, - { - "topic_name": "Educational Robotics and Engineering", - "score": 21.919401 - }, - { - "topic_name": "Prosthetics and Rehabilitation Robotics", - "score": 21.846806 - }, - { - "topic_name": "Micro and Nano Robotics", - "score": 21.820261 - }, - { - "topic_name": "Reinforcement Learning in Robotics", - "score": 21.757397 + "topic_name": "Indoor and Outdoor Localization Technologies", + "score": 23.237041 }, { "topic_name": "Robotics and Sensor-Based Localization", - "score": 19.993645 + "score": 21.511477 }, { - "topic_name": "Social Robot Interaction and HRI", - "score": 13.187252 + "topic_name": "Spectral Theory in Mathematical Physics", + "score": 14.039959 }, { - "topic_name": "Robotic Locomotion and Control", - "score": 12.283064 + "topic_name": "Socioeconomic Development in MENA", + "score": 11.518878 }, { - "topic_name": "Power Line Inspection Robots", - "score": 11.873396 + "topic_name": "Electrical Fault Detection and Protection", + "score": 10.770052 }, { - "topic_name": "Mechatronics Education and Applications", - "score": 11.171629 + "topic_name": "Machine Learning in Bioinformatics", + "score": 10.322677 }, { - "topic_name": "Educational Technology and Optimization", - "score": 10.924184 + "topic_name": "Software System Performance and Reliability", + "score": 10.112644 }, { - "topic_name": "Mechanical and Thermal Properties Analysis", - "score": 10.924184 + "topic_name": "Quantum many-body systems", + "score": 10.112644 }, { - "topic_name": "Psychiatry, Mental Health, Neuroscience", - "score": 10.687462 + "topic_name": "Random lasers and scattering media", + "score": 10.112644 }, { - "topic_name": "Advanced Materials and Mechanics", - "score": 10.460782 + "topic_name": "Insect Pheromone Research and Control", + "score": 9.910988 }, { - "topic_name": "Wetland Management and Conservation", - "score": 10.460782 + "topic_name": "Tactile and Sensory Interactions", + "score": 9.910988 }, { - "topic_name": "Artificial Intelligence Applications", - "score": 10.243518 + "topic_name": "Handwritten Text Recognition Techniques", + "score": 9.910988 }, { - "topic_name": "Digitalization, Law, and Regulation", - "score": 10.243518 + "topic_name": "Integrated Circuits and Semiconductor Failure Analysis", + "score": 9.910988 }, { - "topic_name": "Engineering and Technology Innovations", - "score": 10.243518 + "topic_name": "Medical Imaging and Analysis", + "score": 9.7172165 }, { - "topic_name": "Advanced Algorithms and Applications", - "score": 10.035095 + "topic_name": "Microwave Imaging and Scattering Analysis", + "score": 9.7172165 }, { - "topic_name": "Teaching and Learning Programming", - "score": 10.035095 + "topic_name": "Neurology and Historical Studies", + "score": 9.7172165 }, { - "topic_name": "Distributed Control Multi-Agent Systems", - "score": 10.035095 + "topic_name": "High-Velocity Impact and Material Behavior", + "score": 9.7172165 }, { - "topic_name": "Advanced Scientific and Engineering Studies", - "score": 9.834986 + "topic_name": "Software Engineering Research", + "score": 9.530875 }, { - "topic_name": "Space Satellite Systems and Control", - "score": 9.6427 + "topic_name": "Software Testing and Debugging Techniques", + "score": 9.530875 }, { - "topic_name": "Smart Agriculture and AI", - "score": 9.279837 + "topic_name": "Digital Media Forensic Detection", + "score": 9.530875 + }, + { + "topic_name": "Infrared Thermography in Medicine", + "score": 9.351548 + }, + { + "topic_name": "Explainable Artificial Intelligence (XAI)", + "score": 9.351548 }, { "topic_name": "Underwater Vehicles and Communication Systems", - "score": 9.279837 + "score": 9.351548 }, { - "topic_name": "Modular Robots and Swarm Intelligence", - "score": 7.7584143 + "topic_name": "Diffusion and Search Dynamics", + "score": 8.8518915 }, { - "topic_name": "Diverse Perspectives in Modern Studies", + "topic_name": "Direction-of-Arrival Estimation Techniques", + "score": 5.968384 + }, + { + "topic_name": "Retinal Imaging and Analysis", "score": 5.6107 }, { - "topic_name": "Teleoperation and Haptic Systems", - "score": 5.2510495 - }, - { - "topic_name": "Optimization and Search Problems", - "score": 5.1682277 - }, - { - "topic_name": "Adaptive Dynamic Programming Control", - "score": 4.8615155 - }, - { - "topic_name": "Robotic Mechanisms and Dynamics", - "score": 2.6450925 - }, - { - "topic_name": "Control and Dynamics of Mobile Robots", - "score": 2.5917463 - }, - { - "topic_name": "Robot Manipulation and Learning", - "score": 2.5859585 - }, - { - "topic_name": "Robotic Process Automation Applications", - "score": 1.7370787 - }, - { - "topic_name": "Robotic Path Planning Algorithms", - "score": 1.6302633 + "topic_name": "Radar Systems and Signal Processing", + "score": 4.721418 } ] } diff --git a/service/src/data/users.json b/service/src/data/users.json index 6d5b0836..450db22c 100644 --- a/service/src/data/users.json +++ b/service/src/data/users.json @@ -1,17 +1,21 @@ { "users": [ { - "account": 0, - "organization": 0, "username": "superadmin", "password": "superadmin", + "email": "some_email@uni-due.de", + "account": 0, + "organization": 0, + "organization_name": "University of Duisburg-Essen", "superadmin": true }, { - "account": 1, - "organization": 1, "username": "user", "password": "user", + "email": "user_email@uni-due.de", + "account": 1, + "organization": 1, + "organization_name": "University of Duisburg-Essen", "superadmin": false } ] diff --git a/service/src/main/inse/.env b/service/src/main/inse/.env index b5adb53d..c7f128ed 100644 --- a/service/src/main/inse/.env +++ b/service/src/main/inse/.env @@ -1,12 +1,19 @@ ELASTICSEARCH_URL=https://project.nes.uni-due.de/elastic/ ELASTICSEARCH_API_KEY=am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ -ELASTICSEARCH_INSE_URL=https://inse.nes.uni-due.de/elastic/ -ELASTICSEARCH_INSE_API_KEY=bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== - LLM_API_URL=https://project.nes.uni-due.de/llm2/v1/ LLM_API_KEY=c2d5e7ccf7a4760dd3d19bed2caed9d85ff7437400e0ea82a6d6f912ebc2f212 LLM_MODEL=gemma4-e4b +# Patent search (EPO + USPTO) +PATENT_ELASTICSEARCH_URL=https://inse.nes.uni-due.de/elastic +PATENT_ELASTICSEARCH_API_KEY=bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +ELASTICSEARCH_URL=https://project.nes.uni-due.de/elastic +ELASTICSEARCH_API_KEY=am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ + ELASTICSEARCH_INSE_URL=https://inse.nes.uni-due.de/elastic -ELASTICSEARCH_INSE_API_KEY=bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== \ No newline at end of file +ELASTICSEARCH_INSE_API_KEY=bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== + +LLM_API_URL=https://project.nes.uni-due.de/llm2/v1/ +LLM_API_KEY=c2d5e7ccf7a4760dd3d19bed2caed9d85ff7437400e0ea82a6d6f912ebc2f212 +LLM_MODEL=gemma4-e4b diff --git a/service/src/main/inse/account/logic.py b/service/src/main/inse/account/logic.py index 96257b7e..b443254c 100644 --- a/service/src/main/inse/account/logic.py +++ b/service/src/main/inse/account/logic.py @@ -33,3 +33,34 @@ def validate_user(username: str, password: str) -> typing.Optional[model.User]: if user and user.password == password: return user return None + +def create_user(username, password, email, institution, superadmin) -> typing.Optional[model.User]: + ''' Adds a new user to the user configuration file. ''' + users = _get_users() + if any(u.username == username for u in users): + logger.warning("Attempt to create duplicate user: %s", username) + return None + + # Determine new IDs + next_account = max((u.account for u in users), default=0) + 1 + next_org = max((u.organization for u in users), default=0) + 1 + + new_user = model.User( + username=username, + password=password, + email=email, + account=next_account, + organization=next_org, + organization_name=institution, + superadmin=superadmin + ) + + users.append(new_user) + user_file = model.UserFile(users=users) + try: + with open('../data/users.json', 'w') as file: + file.write(user_file.model_dump_json(indent=4)) + return new_user + except Exception as e: + logger.error('Could not write user configuration file.', exc_info=e) + return None diff --git a/service/src/main/inse/account/model.py b/service/src/main/inse/account/model.py index dd409091..6a2cca19 100644 --- a/service/src/main/inse/account/model.py +++ b/service/src/main/inse/account/model.py @@ -13,8 +13,10 @@ class User(BaseModel): ''' An entry in the user configuration file. ''' username: str = Field(description="The username of the user.") password: str = Field(description="The password of the user.") + email: str = Field(description="The email of the user.") account: StrictInt = Field(description="The account id of the user.") organization: StrictInt = Field(description="The organization id of the user.") + organization_name: str = Field(description="The organization name of the user.") superadmin: bool = Field(default=False, description="Indicates whether the user is a superadmin.") @@ -27,6 +29,8 @@ class AuthAccount(BaseModel): i: int l: str o: int + e: str + on: str class AuthScope(BaseModel): diff --git a/service/src/main/inse/account/service.py b/service/src/main/inse/account/service.py index 7e67bb19..ae99cd7b 100644 --- a/service/src/main/inse/account/service.py +++ b/service/src/main/inse/account/service.py @@ -27,6 +27,7 @@ router = fastapi.APIRouter( @router.post( "/auth/id", + operation_id="getIdentityGrant", responses={ HTTP_200_OK: {"model": model.IdentityGrant}, HTTP_400_BAD_REQUEST: { @@ -55,7 +56,11 @@ async def get_identity_grant( exp = 12 * 60 * 60 token = security.id_token(user, exp=exp) account = model.AuthAccount( - i=user.account, l=user.username, o=user.organization + i=user.account, + l=user.username, + o=user.organization, + e=user.email, + on=user.organization_name, ) scope = model.AuthScope(t="ID", a=account, d=None, r=[]) grant = model.IdentityGrant( @@ -70,6 +75,7 @@ async def get_identity_grant( @router.post( "/auth/access", + operation_id="getAccessGrant", responses={ HTTP_200_OK: {"model": model.AccessGrant}, HTTP_400_BAD_REQUEST: { @@ -104,7 +110,11 @@ async def get_access_grant( token = security.access_token(user, exp=exp) refresh = security.refresh_token(user, exp=exp) auth_account = model.AuthAccount( - i=user.account, l=user.username, o=user.organization + i=user.account, + l=user.username, + o=user.organization, + e=user.email, + on=user.organization_name, ) scope = model.AuthScope( t="ACCESS", @@ -124,3 +134,36 @@ async def get_access_grant( except Exception as e: logger.error("Token generation failed (%s).", user.username, exc_info=e) raise fastapi.HTTPException(status_code=HTTP_500_INTERNAL_SERVER_ERROR) + + +@router.post( + "/create", + operation_id="createUser", + responses={ + HTTP_200_OK: {"model": model.User}, + HTTP_400_BAD_REQUEST: { + "model": None, + "description": "User creation failed (e.g. duplicate username).", + }, + HTTP_500_INTERNAL_SERVER_ERROR: { + "model": None, + "description": "Internal server error.", + }, + }, +) +async def create_user( + username: typing.Annotated[str, fastapi.Body()], + password: typing.Annotated[str, fastapi.Body()], + email: typing.Annotated[str, fastapi.Body()], + institution: typing.Annotated[str, fastapi.Body()], + superadmin: typing.Annotated[bool, fastapi.Body()] = False, +): + user = logic.create_user(username, password, email, institution, superadmin) + if user is None: + logger.info("User creation failed for (%s).", username) + raise fastapi.HTTPException( + status_code=HTTP_400_BAD_REQUEST, + detail="User creation failed. Username might already exist." + ) + logger.info("User created successfully (%s).", username) + return user diff --git a/service/src/main/inse/company_connections/__init__.py b/service/src/main/inse/company_connections/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/service/src/main/inse/company_connections/logic.py b/service/src/main/inse/company_connections/logic.py new file mode 100644 index 00000000..1ffea295 --- /dev/null +++ b/service/src/main/inse/company_connections/logic.py @@ -0,0 +1,298 @@ +import logging +from typing import Any + +import httpx +from fastapi import HTTPException +from starlette.status import HTTP_502_BAD_GATEWAY, HTTP_503_SERVICE_UNAVAILABLE + +from . import model +from .search_client import CompanyConnectionsSearchClient, MissingApiKeyError + +logger = logging.getLogger(__name__) + +UDE_OPENALEX_ID = "https://openalex.org/I62318514" +UDE_ROR = "https://ror.org/04mz5ra38" +UDE_DISPLAY_NAME = "University of Duisburg-Essen" + +MATCHING_METHOD = "exact_openalex_display_name_to_handelsregister_officer_name" + + +async def get_company_connections_by_author_id( + author_id: str, + client: CompanyConnectionsSearchClient | None = None, +) -> model.CompanyConnectionsResponse: + search_client = client or CompanyConnectionsSearchClient() + + try: + author_hit = await search_client.get_openalex_author(author_id) + except MissingApiKeyError as exc: + raise HTTPException( + status_code=HTTP_503_SERVICE_UNAVAILABLE, + detail="Elasticsearch is not configured.", + ) from exc + except httpx.HTTPError as exc: + logger.exception("OpenAlex author lookup failed for %s.", author_id) + raise HTTPException( + status_code=HTTP_502_BAD_GATEWAY, + detail="OpenAlex author lookup failed.", + ) from exc + + if author_hit is None: + raise HTTPException(status_code=404, detail=f"Author {author_id} not found.") + + source = author_hit.get("_source", {}) + display_name = _clean(source.get("display_name")) + institution_scope, matching_institutions = _get_ude_institution_scope(source) + is_ude_author = institution_scope is not None + + if not is_ude_author or not display_name: + return model.CompanyConnectionsResponse( + author_id=author_id, + display_name=display_name or None, + is_ude_author=is_ude_author, + institution_scope=institution_scope, + matching_institutions=matching_institutions, + matching_method=None, + company_count=0, + has_more_results=False, + common_name_warning=False, + connections=[], + ) + + try: + hr_response = await search_client.search_handelsregister_by_officer_name( + display_name + ) + except MissingApiKeyError as exc: + raise HTTPException( + status_code=HTTP_503_SERVICE_UNAVAILABLE, + detail="Elasticsearch is not configured.", + ) from exc + except httpx.HTTPError as exc: + logger.exception("Handelsregister lookup failed for %s.", display_name) + raise HTTPException( + status_code=HTTP_502_BAD_GATEWAY, + detail="Handelsregister lookup failed.", + ) from exc + + company_count, company_count_relation = _parse_total(hr_response) + connections = _parse_company_connections( + response=hr_response, + matched_person_name=display_name, + ) + + has_more_results = company_count_relation == "gte" or company_count > len( + connections + ) + common_name_warning = has_more_results or company_count > 3 + + return model.CompanyConnectionsResponse( + author_id=author_id, + display_name=display_name, + is_ude_author=True, + institution_scope=institution_scope, + matching_institutions=matching_institutions, + matching_method=MATCHING_METHOD, + company_count=company_count, + has_more_results=has_more_results, + common_name_warning=common_name_warning, + connections=connections, + ) + + +def _get_ude_institution_scope(source: dict[str, Any]) -> tuple[str | None, list[str]]: + institutions = source.get("last_known_institutions") or [] + + direct_matches: list[str] = [] + child_matches: list[str] = [] + + for institution in institutions: + if not isinstance(institution, dict): + continue + + institution_id = _clean(institution.get("id")) + ror = _clean(institution.get("ror")) + name = _clean(institution.get("display_name")) + lineage = institution.get("lineage") or [] + + label = name or institution_id or ror + + is_direct = ( + institution_id == UDE_OPENALEX_ID + or ror == UDE_ROR + or name == UDE_DISPLAY_NAME + ) + is_child = UDE_OPENALEX_ID in lineage and not is_direct + + if is_direct: + direct_matches.append(label) + elif is_child: + child_matches.append(label) + + if direct_matches: + return "direct_ude", sorted(set(direct_matches)) + + if child_matches: + return "child_of_ude", sorted(set(child_matches)) + + return None, [] + + +def _parse_total(response: dict[str, Any]) -> tuple[int, str]: + total = response.get("hits", {}).get("total", 0) + + if isinstance(total, dict): + return int(total.get("value") or 0), total.get("relation") or "eq" + + return int(total or 0), "eq" + + +def _parse_company_connections( + response: dict[str, Any], + matched_person_name: str, +) -> list[model.CompanyConnection]: + connections: list[model.CompanyConnection] = [] + + hits = response.get("hits", {}).get("hits", []) + + for hit in hits: + source = hit.get("_source", {}) + + matched_officers = _parse_inner_hit_officers(hit) + officers = _parse_source_officers( + source=source, + matched_person_name=matched_person_name, + ) + + connections.append( + model.CompanyConnection( + company_number=source.get("company_number"), + company_name=source.get("name"), + company_status=source.get("current_status"), + register_art=source.get("register_art"), + register_nummer=source.get("register_nummer"), + native_company_number=source.get("native_company_number"), + registrar=source.get("registrar"), + registered_office=source.get("registered_office"), + registered_address=source.get("registered_address"), + retrieved_at=source.get("retrieved_at"), + matched_officers=matched_officers, + officers=officers, + ) + ) + + return connections + + +def _parse_inner_hit_officers(hit: dict[str, Any]) -> list[model.MatchedOfficer]: + inner_hits = ( + hit.get("inner_hits", {}).get("officers", {}).get("hits", {}).get("hits", []) + ) + + officers: list[model.MatchedOfficer] = [] + + for inner_hit in inner_hits: + source = inner_hit.get("_source", {}) + officer_source = _normalize_officer_source(source) + + officers.append( + _to_officer( + officer_source, + is_matched_person=True, + ) + ) + + return _deduplicate_officers(officers) + + +def _parse_source_officers( + source: dict[str, Any], + matched_person_name: str, +) -> list[model.MatchedOfficer]: + raw_officers = source.get("officers") or [] + + if not isinstance(raw_officers, list): + return [] + + officers: list[model.MatchedOfficer] = [] + + for raw_officer in raw_officers: + if not isinstance(raw_officer, dict): + continue + + if _clean(raw_officer.get("type")) != "person": + continue + + officer_name = _clean(raw_officer.get("name")) + is_matched_person = officer_name == matched_person_name + + officers.append( + _to_officer( + raw_officer, + is_matched_person=is_matched_person, + ) + ) + + return _deduplicate_officers(officers) + + +def _to_officer( + source: dict[str, Any], + is_matched_person: bool, +) -> model.MatchedOfficer: + return model.MatchedOfficer( + name=_clean_or_none(source.get("name")), + firstname=_clean_or_none(source.get("firstname")), + lastname=_clean_or_none(source.get("lastname")), + city=_clean_or_none(source.get("city")), + position=_clean_or_none(source.get("position")), + start_date=_clean_or_none(source.get("start_date")), + type=_clean_or_none(source.get("type")), + flag=_clean_or_none(source.get("flag")), + is_matched_person=is_matched_person, + ) + + +def _deduplicate_officers( + officers: list[model.MatchedOfficer], +) -> list[model.MatchedOfficer]: + seen: set[tuple[str, str, str, str]] = set() + deduplicated: list[model.MatchedOfficer] = [] + + for officer in officers: + key = ( + officer.name or "", + officer.position or "", + officer.city or "", + officer.start_date or "", + ) + + if key in seen: + continue + + seen.add(key) + deduplicated.append(officer) + + return deduplicated + + +def _normalize_officer_source(source: dict[str, Any]) -> dict[str, Any]: + officers = source.get("officers") + + if isinstance(officers, dict): + return officers + + return source + + +def _clean_or_none(value: Any) -> str | None: + cleaned = _clean(value) + + return cleaned or None + + +def _clean(value: Any) -> str: + if value is None: + return "" + + return str(value).strip() diff --git a/service/src/main/inse/company_connections/model.py b/service/src/main/inse/company_connections/model.py new file mode 100644 index 00000000..dd7d28c0 --- /dev/null +++ b/service/src/main/inse/company_connections/model.py @@ -0,0 +1,44 @@ +from pydantic import BaseModel, Field + + +class MatchedOfficer(BaseModel): + name: str | None = None + firstname: str | None = None + lastname: str | None = None + city: str | None = None + position: str | None = None + start_date: str | None = None + type: str | None = None + flag: str | None = None + is_matched_person: bool = False + + +class CompanyConnection(BaseModel): + company_number: str | None = None + company_name: str | None = None + company_status: str | None = None + register_art: str | None = None + register_nummer: str | None = None + native_company_number: str | None = None + registrar: str | None = None + registered_office: str | None = None + registered_address: str | None = None + retrieved_at: str | None = None + matched_officers: list[MatchedOfficer] = Field(default_factory=list) + officers: list[MatchedOfficer] = Field(default_factory=list) + + +class CompanyConnectionsResponse(BaseModel): + author_id: str + display_name: str | None = None + is_ude_author: bool + institution_scope: str | None = None + matching_institutions: list[str] = Field(default_factory=list) + + matching_method: str | None = None + + company_count: int + has_more_results: bool + common_name_warning: bool + + connections: list[CompanyConnection] = Field(default_factory=list) diff --git a/service/src/main/inse/company_connections/search_client.py b/service/src/main/inse/company_connections/search_client.py new file mode 100644 index 00000000..80934c96 --- /dev/null +++ b/service/src/main/inse/company_connections/search_client.py @@ -0,0 +1,141 @@ +from typing import Any + +import httpx + +from .. import config + + +class MissingApiKeyError(Exception): + pass + + +class CompanyConnectionsSearchClient: + def __init__( + self, + base_url: str | None = None, + api_key: str | None = None, + openalex_index: str = "openalex-authors", + handelsregister_index: str = "handelsregister", + timeout: float = 30.0, + transport: httpx.AsyncBaseTransport | None = None, + ): + self.base_url = ( + base_url + or config.settings.elasticsearch_url + or config.settings.openalex_works_search_base_url + ).rstrip("/") + self.api_key = ( + api_key + if api_key is not None + else config.settings.elasticsearch_api_key + or config.settings.openalex_works_api_key + ) + self.openalex_index = openalex_index + self.handelsregister_index = handelsregister_index + self.timeout = timeout + self.transport = transport + + @staticmethod + def openalex_doc_id(author_id: str) -> str: + return author_id.strip().removeprefix("https://openalex.org/") + + async def get_openalex_author(self, author_id: str) -> dict[str, Any] | None: + if not self.api_key: + raise MissingApiKeyError("Elasticsearch API key is not configured.") + + doc_id = self.openalex_doc_id(author_id) + + async with httpx.AsyncClient( + base_url=self.base_url, + timeout=self.timeout, + transport=self.transport, + ) as client: + response = await client.get( + f"/{self.openalex_index}/_doc/{doc_id}", + headers={"Authorization": f"ApiKey {self.api_key}"}, + ) + + if response.status_code == 404: + return None + + response.raise_for_status() + return response.json() + + async def search_handelsregister_by_officer_name( + self, + officer_name: str, + size: int = 10000, + track_total_hits: bool = True, + ) -> dict[str, Any]: + if not self.api_key: + raise MissingApiKeyError("Elasticsearch API key is not configured.") + + payload = self.handelsregister_officer_name_query( + officer_name=officer_name, + size=size, + track_total_hits=track_total_hits, + ) + + async with httpx.AsyncClient( + base_url=self.base_url, + timeout=self.timeout, + transport=self.transport, + ) as client: + response = await client.post( + f"/{self.handelsregister_index}/_search", + headers={"Authorization": f"ApiKey {self.api_key}"}, + json=payload, + ) + response.raise_for_status() + return response.json() + + @staticmethod + def handelsregister_officer_name_query( + officer_name: str, + size: int, + track_total_hits: bool, + ) -> dict[str, Any]: + return { + "track_total_hits": track_total_hits, + "size": size, + "_source": [ + "company_number", + "name", + "current_status", + "registered_address", + "registered_office", + "registrar", + "register_art", + "register_nummer", + "native_company_number", + "retrieved_at", + "officers", + ], + "query": { + "nested": { + "path": "officers", + "query": { + "bool": { + "filter": [ + {"term": {"officers.type": "person"}}, + {"term": {"officers.name.keyword": officer_name}}, + ] + } + }, + "inner_hits": { + "size": 10, + "_source": [ + "officers.name", + "officers.firstname", + "officers.lastname", + "officers.city", + "officers.position", + "officers.start_date", + "officers.type", + "officers.flag", + ], + }, + } + }, + "sort": [{"company_number": {"order": "asc"}}], + } diff --git a/service/src/main/inse/company_connections/service.py b/service/src/main/inse/company_connections/service.py new file mode 100644 index 00000000..a739aa1c --- /dev/null +++ b/service/src/main/inse/company_connections/service.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" +REST API for possible company connections of OpenAlex authors. +""" + +from fastapi import APIRouter + +from . import logic, model + +router = APIRouter( + prefix="/api/inse-service/authors", + tags=["Company Connections"], +) + + +@router.get( + "/{author_id}/company-connections", + operation_id="getCompanyConnectionsByAuthor", + response_model=model.CompanyConnectionsResponse, + response_model_exclude_none=True, + summary="Get possible company connections by OpenAlex author ID.", +) +async def get_company_connections_by_author(author_id: str): + return await logic.get_company_connections_by_author_id(author_id) diff --git a/service/src/main/inse/config.py b/service/src/main/inse/config.py index c72e5db4..80335dab 100644 --- a/service/src/main/inse/config.py +++ b/service/src/main/inse/config.py @@ -39,6 +39,11 @@ class Settings(BaseSettings): openalex_api_key: Optional[str] = None openalex_api_timeout_seconds: float = 30.0 + # Patent elasticsearch config + patent_elasticsearch_url: str = "https://inse.nes.uni-due.de/elastic" + patent_elasticsearch_api_key: str = "" + + # LLM config llm_api_url: Optional[str] = None llm_api_key: Optional[str] = None diff --git a/service/src/main/inse/institutions/institutions_search_client.py b/service/src/main/inse/institutions/institutions_search_client.py index 23a736af..0d9f0ff8 100644 --- a/service/src/main/inse/institutions/institutions_search_client.py +++ b/service/src/main/inse/institutions/institutions_search_client.py @@ -1,79 +1,178 @@ import logging from typing import List, Set +from typing import Any, Dict, Literal, Optional -import httpx from inse.models.openalex.institution import Institution from inse.exceptions import NotFoundException +from inse.integrations import elasticsearch +from inse.institutions.model import InstitutionPage logger = logging.getLogger(__name__) class InstitutionsSearchClient: - def __init__( - self, - base_url: str, - api_key: str, - ): - self.base_url = base_url - self.api_key = api_key - self.headers = { - "Content-Type": "application/json", - "Authorization": f"ApiKey {self.api_key}", + def __init__(self): + """ + Initializes the client. Credentials and URLs are handled by the + centralized elasticsearch integration. + """ + pass + + def get_institution_by_id(self, raw_institution_id: str) -> Institution: + """ + Retrieves a single institution by its OpenAlex ID from the local Elasticsearch cluster. + """ + query = { + "match": { + "id": f"https://openalex.org/{raw_institution_id.upper()}", + } } - async def get_institution_by_id(self, raw_institution_id: str) -> Institution: - query = { - "query": { - "match": { - "id": f"https://openalex.org/{raw_institution_id.upper()}", - } - }, - "size": 1, + res = elasticsearch.search(index="openalex-institutions", query=query, size=1) + + hits = res.get("hits", {}).get("hits", []) + if not hits: + raise NotFoundException( + f"Institution with ID '{raw_institution_id}' not found." + ) + + institution = self._convert_hit_to_institution(hits[0]) + if not institution: + raise NotFoundException( + f"Institution with ID '{raw_institution_id}' could not be parsed." + ) + + return institution + + async def get_eu_organisation_id_by_oa_institution_id( + self, raw_institution_id: str + ) -> Optional[str]: + """Retrieves the corresponding EU organisation ID for a given OpenAlex institution ID, if available. + + Args: + raw_institution_id (str): The raw OpenAlex institution ID for which to retrieve the EU organisation ID. + + Returns: + Optional[str]: The corresponding EU organisation ID, or None if not found. + """ + raw_institution_id = raw_institution_id.upper() + cache = { + "I62318514": "999843312", } - authors = await self.get_authors_by_institution_id(raw_institution_id) + # TODO: Implement actual retrieval of RCN from Elasticsearch or another source instead of using a hardcoded cache. + return cache.get(raw_institution_id) + + def get_institutions_by_name( + self, + name: str, + page: int = 0, + size: int = 10, + sort_by: Literal[ + "relevance", "name", "works_count", "citations_count" + ] = "relevance", + sorting_direction: Literal["asc", "desc"] = "asc", + ) -> InstitutionPage: + sort_config: list = [] + + if sort_by == "relevance": + sort_config.append( + { + "_score": { + "order": sorting_direction if sorting_direction else "desc" + } + } + ) + elif sort_by == "works_count": + sort_config.append({"works_count": {"order": sorting_direction}}) + elif sort_by == "citations_count": + sort_config.append({"cited_by_count": {"order": sorting_direction}}) + else: + sort_config.append({"display_name.keyword": {"order": sorting_direction}}) + + query: Dict[str, Any] = {"match_all": {}} + + if len(name) > 0: + query = { + "match_phrase_prefix": { + "display_name": { + "query": name, + "max_expansions": 50, + } + } + } + elif sort_by == "relevance": + sort_config = [{"display_name.keyword": {"order": sorting_direction}}] + logger.debug( - "Retrieved authors for institution_id=%s: %s", raw_institution_id, authors + "Searching institutions with name='%s', page=%d, size=%d, sorting_direction='%s', query: %s", + name, + page, + size, + sorting_direction, + query, + ) + try: + response = elasticsearch.search( + index="openalex-institutions", + offset=page * size, + size=size, + sort=sort_config, + query=query, + ) + except Exception as e: + logger.exception("Error while searching for institutions: %s", e) + raise + + return self.response_to_institution_page(response, page, size) + + def response_to_institution_page( + self, response: Dict[str, Any], page: int, size: int + ) -> InstitutionPage: + hits = response.get("hits", {}).get("hits", []) + + institutions = [] + for hit in hits: + institution = self._convert_hit_to_institution(hit) + if institution: + institutions.append(institution) + + total = response.get("hits", {}).get("total", {}).get("value", 0) + logger.debug( + "Parsed institution page: page=%d, size=%d, total=%d", page, size, total + ) + return InstitutionPage( + elements=institutions, + page=page, + size=size, + total=total, ) - async with httpx.AsyncClient() as client: - response = await client.post( - f"{self.base_url}/openalex-institutions/_search", - json=query, - headers=self.headers, - ) - response.raise_for_status() - hits = response.json().get("hits", {}).get("hits", []) - if not hits: - raise NotFoundException( - f"Institution with ID '{raw_institution_id}' not found." - ) - - return Institution.from_dict(hits[0]["_source"]) - async def get_authors_by_institution_id(self, raw_institution_id: str) -> List[str]: + """ + Fetches authors associated with an institution. + Note: This query is specifically looking for current affiliations (2026). + """ query = { - "query": { - "nested": { - "path": "affiliations", - "query": { - "bool": { - "must": [ - { - "term": { - "affiliations.institution.id": f"https://openalex.org/{raw_institution_id.upper()}" - } - }, - { - "range": { - "affiliations.years": {"gte": 2026, "lte": 2026} - } - }, - ] - } - }, - } + "nested": { + "path": "affiliations", + "query": { + "bool": { + "must": [ + { + "term": { + "affiliations.institution.id": f"https://openalex.org/{raw_institution_id.upper()}" + } + }, + { + "range": { + "affiliations.years": {"gte": 2026, "lte": 2026} + } + }, + ] + } + }, } } logger.debug( @@ -81,32 +180,105 @@ class InstitutionsSearchClient: raw_institution_id, query, ) - async with httpx.AsyncClient() as client: - response = await client.post( - "https://project.nes.uni-due.de/elastic/openalex-authors/_search", - json=query, - headers=self.headers, - ) - try: - response.raise_for_status() - except httpx.HTTPStatusError as e: - logger.exception( - "Error fetching authors for institution_id=%s: %s, response content: %s", - raw_institution_id, - str(e), - response.text, - ) - return [] - hits = response.json().get("hits", {}).get("hits", []) - authors = set() - for hit in hits: - authors.update( - auth["author"]["display_name"] - for auth in hit["_source"].get("authorships", []) - ) - return list(authors) - async def get_institution_aliases_by_id(self, raw_institution_id: str) -> List[str]: + res = elasticsearch.search(index="openalex-authors", query=query) + hits = res.get("hits", {}).get("hits", []) + + # Extracting display_name directly from the author document source + authors = { + hit["_source"].get("display_name") + for hit in hits + if hit["_source"].get("display_name") + } + return list(authors) + + def search_institutions( + self, + query_text: str, + country_code: str | None = None, + institution_type: str | None = None, + limit: int = 10, + ) -> list[Institution]: + """ + Autocomplete search for institutions using multi_match on search_as_you_type fields. + Falls back to fuzzy match for typo tolerance on longer queries. + """ + must = [] + + if query_text: + stripped = query_text.strip() + + must.append({ + "bool": { + "should": [ + { + "wildcard": { + "display_name.keyword": { + "value": f"*{stripped}*", + "boost": 2 + } + } + }, + { + "wildcard": { + "display_name_alternatives.keyword": { + "value": f"*{stripped}*", + "boost": 2 + } + } + }, + { + "wildcard": { + "display_name_acronyms.keyword": { + "value": f"*{stripped.upper()}*", + "boost": 10 + } + } + } + ], + "minimum_should_match": 1 + } + }) + + filter_queries = [] + + if country_code: + filter_queries.append({"term": {"country_code": country_code.upper()}}) + + if institution_type: + filter_queries.append({"term": {"type": institution_type}}) + + query = { + "bool": { + "must": must, + "filter": filter_queries, + } + } + + res = elasticsearch.search( + index="openalex-institutions", + query=query, + size=limit, + # Blend relevance score with works_count popularity signal + sort=[ + {"works_count": {"order": "desc"}}, + ], + source=[ + "id", + "display_name", + "country_code", + "type", + "works_count", + "cited_by_count", + "geo", + ], + ) + + hits = res.get("hits", {}).get("hits", []) + + return [Institution.from_dict(hit["_source"]) for hit in hits] + + def get_institution_aliases_by_id(self, raw_institution_id: str) -> List[str]: """Get a list of institution aliases for a given institution ID, including both display name alternatives and predefined aliases. Args: @@ -115,7 +287,7 @@ class InstitutionsSearchClient: Returns: List[str]: A list of aliases for the given institution ID. """ - institution = await self.get_institution_by_id(raw_institution_id) + institution = self.get_institution_by_id(raw_institution_id) aliases = list( self.augment_aliases(set(institution.display_name_alternatives or [])) | self.get_predefined_institution_aliases(raw_institution_id) @@ -192,3 +364,46 @@ class InstitutionsSearchClient: ) aliases.append(alias.replace("-", " ")) return aliases + + def _convert_hit_to_institution(self, hit: Dict[str, Any]) -> Optional[Institution]: + """Convert an Elasticsearch hit to an Institution object, applying necessary data cleaning and validation. + + Args: + hit (Dict[str, Any]): The Elasticsearch hit to convert. + + Returns: + Optional[Institution]: The converted Institution object or None if conversion fails. + """ + source = hit.get("_source") + if not source: + return None + + ALLOWED_TYPES = { + "education", + "healthcare", + "company", + "archive", + "nonprofit", + "government", + "facility", + "other", + } + + cleaned_source = {} + for key, value in source.items(): + if isinstance(value, str) and "T" in value: + cleaned_source[key] = value.split("T")[0] + + elif key == "type" and value not in ALLOWED_TYPES: + cleaned_source[key] = "other" + + else: + cleaned_source[key] = value + + try: + return Institution.model_validate(cleaned_source) + except Exception as e: + logger.exception( + "Failed to validate institution hit ID %s: %s", hit.get("_id"), e + ) + return None diff --git a/service/src/main/inse/institutions/logic.py b/service/src/main/inse/institutions/logic.py index a4f834ee..10f53cc6 100644 --- a/service/src/main/inse/institutions/logic.py +++ b/service/src/main/inse/institutions/logic.py @@ -41,7 +41,7 @@ _VALID_INSTITUTION_TYPES = { async def get_institution_by_id( raw_institution_id: str, client: InstitutionsSearchClient ) -> Institution: - return await client.get_institution_by_id(raw_institution_id) + return client.get_institution_by_id(raw_institution_id) async def list_institutions( @@ -114,34 +114,29 @@ async def autocomplete_institutions( country_code: str | None = None, institution_type: str | None = None, limit: int = 10, - client: OpenAlexInstitutionsClient | None = None, + client: InstitutionsSearchClient, ) -> AutocompleteResponse: - filters = [] - if country_code: - filters.append(f"country_code:{country_code}") - if institution_type: - filters.append(f"type:{institution_type}") - - response = await list_institutions( - search=query, - filter=",".join(filters) if filters else None, - sort="works_count:desc", - per_page=limit, - page=1, - select=("id,ror,display_name,country_code,type,works_count,cited_by_count,geo"), - client=client, + """ + Returns institution options for autocomplete inputs using the local + Elasticsearch cluster via the provided client. + """ + institutions = client.search_institutions( + query_text=query, + country_code=country_code, + institution_type=institution_type, + limit=limit, ) results = [] - for institution in response.results or []: + for institution in institutions: if not institution.id or not institution.display_name: continue hint_parts = [] - if institution.geo: - if institution.geo.city: + if hasattr(institution, "geo") and institution.geo: + if hasattr(institution.geo, "city") and institution.geo.city: hint_parts.append(institution.geo.city) - if institution.geo.country: + if hasattr(institution.geo, "country") and institution.geo.country: hint_parts.append(institution.geo.country) elif institution.country_code: hint_parts.append(institution.country_code) @@ -161,12 +156,7 @@ async def autocomplete_institutions( ) return AutocompleteResponse( - meta=AutocompleteResponseMeta( - count=response.meta.count if response.meta else len(results), - db_response_time_ms=( - response.meta.db_response_time_ms if response.meta else None - ), - ), + meta=AutocompleteResponseMeta(count=len(results)), results=results, ) diff --git a/service/src/main/inse/institutions/model.py b/service/src/main/inse/institutions/model.py new file mode 100644 index 00000000..0eaf3c61 --- /dev/null +++ b/service/src/main/inse/institutions/model.py @@ -0,0 +1,17 @@ +from typing import List + +from pydantic import BaseModel, Field + +from inse.models.openalex.institution import Institution + + +class InstitutionPage(BaseModel): + elements: List[Institution] = Field( + default_factory=list, description="List of institutions in the current page." + ) + page: int = Field(default=0, description="Current page number. (0-indexed)") + size: int = Field(default=10, description="Number of institutions per page.") + total: int = Field( + default=0, + description="Total number of institutions matching the search criteria.", + ) diff --git a/service/src/main/inse/institutions/service.py b/service/src/main/inse/institutions/router.py similarity index 67% rename from service/src/main/inse/institutions/service.py rename to service/src/main/inse/institutions/router.py index dd13b718..423281c0 100644 --- a/service/src/main/inse/institutions/service.py +++ b/service/src/main/inse/institutions/router.py @@ -5,56 +5,80 @@ REST API for OpenAlex institutions. """ from functools import lru_cache -from typing import Annotated +from typing import Annotated, Literal from fastapi import APIRouter, Depends, status, Query from inse.models.openalex.autocomplete_response import AutocompleteResponse from inse.models.openalex.institutions_list_response import InstitutionsListResponse from inse.tags import Tags -from inse.config import get_settings from inse.models.openalex.institution import Institution +from inse.institutions.model import InstitutionPage from . import logic from inse.institutions.institutions_search_client import InstitutionsSearchClient -router = APIRouter(prefix="/api/institutions", tags=[Tags.INSTITUTIONS]) +router = APIRouter(prefix="/api/inse-service/institutions", tags=[Tags.INSTITUTIONS]) @lru_cache def get_institutions_search_client() -> InstitutionsSearchClient: - settings = get_settings() - if not settings.elasticsearch_url: - raise ValueError("Elasticsearch URL is missing in settings.") - if not settings.elasticsearch_api_key: - raise ValueError("Elasticsearch API key is missing in settings.") - - return InstitutionsSearchClient( - api_key=settings.elasticsearch_api_key, - base_url=settings.elasticsearch_url, - ) + return InstitutionsSearchClient() @router.get( - "/{id}", - summary="Returns a single institution by ID.", - description="Returns a single institution by its OpenAlex ID.", - operation_id="getInstitutionById", + "/search", + summary="Searches for institutions by name.", + description="Searches for institutions by name with pagination.", + operation_id="searchInstitutionsByName", responses={ status.HTTP_200_OK: { "description": "Successful Response", - "model": Institution, + "model": InstitutionPage, }, - status.HTTP_404_NOT_FOUND: {"description": "Institution not found"}, }, + response_model_exclude_none=True, ) -async def get_institution( - id: str, +async def search_institutions_by_name( client: Annotated[ InstitutionsSearchClient, Depends(get_institutions_search_client) ], -) -> Institution: - return await logic.get_institution_by_id(raw_institution_id=id, client=client) + name: Annotated[ + str, + Query( + description="Institution name to search for, for example 'University of Duisburg Essen'.", + ), + ] = "", + page: Annotated[ + int, + Query(description="Page number (0-indexed).", ge=0), + ] = 0, + size: Annotated[ + int, + Query(description="Number of institutions per page.", ge=1, le=100), + ] = 10, + sort_by: Annotated[ + Literal["relevance", "name", "works_count", "citations_count"], + Query( + description="Field to sort by, either 'relevance', 'name', 'works_count', or 'citations_count'.", + regex="^(relevance|name|works_count|citations_count)$", + ), + ] = "name", + sorting_direction: Annotated[ + Literal["asc", "desc"], + Query( + description="Sorting direction, either 'asc' or 'desc'.", + regex="^(asc|desc)$", + ), + ] = "asc", +) -> InstitutionPage: + return client.get_institutions_by_name( + name=name, + page=page, + size=size, + sort_by=sort_by, + sorting_direction=sorting_direction, + ) @router.get( @@ -84,14 +108,40 @@ async def autocomplete_institutions( int, Query(description="Maximum number of autocomplete options.", ge=1, le=25), ] = 10, + client: Annotated[ + InstitutionsSearchClient, Depends(get_institutions_search_client) + ] = None, ): return await logic.autocomplete_institutions( query=query, country_code=country_code, institution_type=institution_type, limit=limit, + client=client, ) +@router.get( + "/{id}", + summary="Returns a single institution by ID.", + description="Returns a single institution by its OpenAlex ID.", + operation_id="getInstitutionById", + responses={ + status.HTTP_200_OK: { + "description": "Successful Response", + "model": Institution, + }, + status.HTTP_404_NOT_FOUND: {"description": "Institution not found"}, + }, +) +async def get_institution( + id: str, + client: Annotated[ + InstitutionsSearchClient, Depends(get_institutions_search_client) + ], +) -> Institution: + return await logic.get_institution_by_id(raw_institution_id=id, client=client) + + @router.get( "", diff --git a/service/src/main/inse/institutions/test_logic.py b/service/src/main/inse/institutions/test_logic.py index e079ff8e..bebf52c0 100644 --- a/service/src/main/inse/institutions/test_logic.py +++ b/service/src/main/inse/institutions/test_logic.py @@ -176,61 +176,3 @@ async def test_list_institutions_accepts_practical_openalex_type_variants(): assert result.results[0].counts_by_year[0].cited_by_count is None assert result.group_by[0].key == "true" - -@pytest.mark.anyio -async def test_autocomplete_institutions_returns_frontend_options(): - def handler(request: httpx.Request) -> httpx.Response: - assert request.url.params["search"] == "Duisburg Essen" - assert request.url.params["filter"] == "country_code:DE,type:education" - assert request.url.params["sort"] == "works_count:desc" - assert request.url.params["per_page"] == "5" - assert request.url.params["select"] == ( - "id,ror,display_name,country_code,type,works_count," - "cited_by_count,geo" - ) - return httpx.Response( - 200, - json={ - "meta": {"count": 1, "db_response_time_ms": 12}, - "results": [ - { - "id": "https://openalex.org/I123", - "ror": "https://ror.org/04mz5ra38", - "display_name": "University of Duisburg-Essen", - "country_code": "DE", - "type": "education", - "works_count": 123, - "cited_by_count": 456, - "geo": { - "city": "Duisburg", - "country": "Germany", - }, - } - ], - }, - ) - - client = OpenAlexInstitutionsClient( - api_key="test-key", - transport=httpx.MockTransport(handler), - ) - - result = await logic.autocomplete_institutions( - query="Duisburg Essen", - country_code="DE", - institution_type="education", - limit=5, - client=client, - ) - - assert result.meta.count == 1 - assert result.meta.db_response_time_ms == 12 - assert len(result.results) == 1 - option = result.results[0] - assert option.id == "https://openalex.org/I123" - assert option.display_name == "University of Duisburg-Essen" - assert option.hint == "Duisburg · Germany · education" - assert option.works_count == 123 - assert option.cited_by_count == 456 - assert option.entity_type == "institution" - assert option.external_id == "https://ror.org/04mz5ra38" diff --git a/service/src/main/inse/integrations/elasticsearch.py b/service/src/main/inse/integrations/elasticsearch.py index 870d833f..449b748f 100644 --- a/service/src/main/inse/integrations/elasticsearch.py +++ b/service/src/main/inse/integrations/elasticsearch.py @@ -1,38 +1,87 @@ -from typing import Any, Optional +import logging +from typing import Any, Dict, List, Optional, Tuple import httpx from .. import config +logger = logging.getLogger(__name__) -def _cluster_credentials(cluster: str) -> tuple[str, str]: + +def _cluster_credentials(cluster: str) -> Tuple[str, str]: + """Retrieves the Elasticsearch URL and API key for the specified cluster from the configuration. + + Args: + cluster (str): The cluster for which to retrieve credentials. Allowed values are "nes" and "inse". + + Raises: + ValueError: If the cluster is unknown or the credentials are not set in the configuration. + + Returns: + Tuple[str, str]: The Elasticsearch URL and API key for the specified cluster. + """ if cluster == "nes": + if ( + not config.settings.elasticsearch_url + or not config.settings.elasticsearch_api_key + ): + raise ValueError( + "Elasticsearch URL and API key must be set in the configuration for cluster 'nes'" + ) return config.settings.elasticsearch_url, config.settings.elasticsearch_api_key elif cluster == "inse": - return config.settings.elasticsearch_inse_url, config.settings.elasticsearch_inse_api_key + if ( + not config.settings.elasticsearch_inse_url + or not config.settings.elasticsearch_inse_api_key + ): + raise ValueError( + "Elasticsearch INSE URL and API key must be set in the configuration for cluster 'inse'" + ) + + return ( + config.settings.elasticsearch_inse_url, + config.settings.elasticsearch_inse_api_key, + ) else: - raise ValueError(f"Unbekannter Cluster: {cluster!r} (erlaubt: 'nes', 'inse')") + raise ValueError(f"Unknown cluster: {cluster!r} (allowed: 'nes', 'inse')") def search( index: str, - query_field: str = None, - query_value: str = None, - query: dict = None, - source = None, - size: int = None, - offset:int = None, - sort: list = None, - body: dict = None, - track_total_hits = False, + query_field: Optional[str] = None, + query_value: Optional[str] = None, + query: Optional[Dict] = None, + source: Optional[List] = None, + size: Optional[int] = None, + offset: Optional[int] = None, + sort: Optional[List] = None, + body: Optional[Dict] = None, + track_total_hits=False, cluster: str = "nes", -) -> dict[str, Any]: +) -> Dict[str, Any]: + """Searches the specified Elasticsearch index using either a simple query string or a full query body. + + Args: + index (str): The name of the Elasticsearch index to search. + query_field (Optional[str], optional): The field to search in. Defaults to None. + query_value (Optional[str], optional): The value to search for. Defaults to None. + query (Optional[Dict], optional): The full query body. Defaults to None. + source (Optional[List], optional): The fields to include in the response. Defaults to None. + size (Optional[int], optional): The maximum number of results to return. Defaults to None. + offset (Optional[int], optional): The number of results to skip. Defaults to None. + sort (Optional[List], optional): The fields to sort by. Defaults to None. + body (Optional[Dict], optional): The full query body. Defaults to None. + track_total_hits (bool, optional): Whether to track the total number of hits. Defaults to False. + cluster (str, optional): The Elasticsearch cluster to search. Defaults to "nes". + + Returns: + Dict[str, Any]: The search results. + """ elasticsearch_url, api_key = _cluster_credentials(cluster) - headers = { - "Authorization": f"ApiKey {api_key}", - "Content-Type": "application/json" - } + headers = {"Authorization": f"ApiKey {api_key}", "Content-Type": "application/json"} + + payload: Dict[str, Any] if body is not None: payload = body @@ -51,18 +100,16 @@ def search( else: payload = { "query": { - "query_string": { - "default_field": query_field, - "query": query_value - } + "query_string": {"default_field": query_field, "query": query_value} } } with httpx.Client(timeout=httpx.Timeout(30.0)) as client: + logger.debug( + f"Sending search request to Elasticsearch cluster '{cluster}' at {elasticsearch_url} with payload: {payload}" + ) response = client.post( - f"{elasticsearch_url}/{index}/_search", - json=payload, - headers=headers + f"{elasticsearch_url}/{index}/_search", json=payload, headers=headers ) response.raise_for_status() return response.json() @@ -71,16 +118,13 @@ def search( def get( index: str, doc_id: str, - source: list = None, + source: Optional[list] = None, cluster: str = "nes", ) -> dict[str, Any]: elasticsearch_url, api_key = _cluster_credentials(cluster) - headers = { - "Authorization": f"ApiKey {api_key}", - "Content-Type": "application/json" - } + headers = {"Authorization": f"ApiKey {api_key}", "Content-Type": "application/json"} params = {} if source is not None: @@ -88,9 +132,7 @@ def get( with httpx.Client() as client: response = client.get( - f"{elasticsearch_url}/{index}/_doc/{doc_id}", - params=params, - headers=headers + f"{elasticsearch_url}/{index}/_doc/{doc_id}", params=params, headers=headers ) response.raise_for_status() return response.json() diff --git a/service/src/main/inse/main.py b/service/src/main/inse/main.py index 450a4dd9..7dae7575 100644 --- a/service/src/main/inse/main.py +++ b/service/src/main/inse/main.py @@ -7,23 +7,31 @@ webapp. """ import logging + from fastapi import FastAPI, Request -from fastapi.responses import JSONResponse, RedirectResponse from fastapi.middleware.cors import CORSMiddleware +from fastapi.responses import JSONResponse, RedirectResponse + from inse.collaboration_network.router import router as collaboration_network_router -from inse.institutions.service import router as institutions_service_router +from inse.company_connections.service import router as company_connections_router +from inse.exceptions import NotFoundException +from inse.funders.service import router as funders_service_router +from inse.projects.router import router as projects_router +from inse.university_ranking.router import router as university_ranking_router +# caching +from inse.middleware.etag_cache import ETagCacheMiddleware +from inse.persons.service import router as persons_service_router +from inse.projects.router import router as projects_router from inse.topics.service import router as topics_service_router from inse.works.service import router as works_service_router from inse.persons.service import router as persons_service_router from inse.funders.service import router as funders_service_router -from inse.projects.router import router as projects_router +from inse.patents.service import router as patents_service_router -# caching -from inse.middleware.etag_cache import ETagCacheMiddleware -from inse.exceptions import NotFoundException +from inse.institutions.router import router as institutions_router from . import config -from .service import router as service_router from .account.service import router as account_router +from .service import router as service_router logger = logging.getLogger(__name__) @@ -39,14 +47,16 @@ app = FastAPI( servers=settings.servers, ) app.include_router(collaboration_network_router) -app.include_router(institutions_service_router) +app.include_router(institutions_router) app.include_router(topics_service_router) app.include_router(works_service_router) app.include_router(persons_service_router) app.include_router(funders_service_router) +app.include_router(company_connections_router) app.include_router(service_router) app.include_router(account_router) - +app.include_router(patents_service_router) +app.include_router(university_ranking_router) app.include_router(projects_router) app.add_middleware( diff --git a/service/src/main/inse/models/bund_project_details.py b/service/src/main/inse/models/bund_project_details.py new file mode 100644 index 00000000..d7c4baf1 --- /dev/null +++ b/service/src/main/inse/models/bund_project_details.py @@ -0,0 +1,337 @@ +# coding: utf-8 + +""" + Bund Project Clean Model + + Summary model that consolidates scattered fields from the raw projects_bund index + into clean, semantic field names with proper native Python types. +""" + +from datetime import date, datetime +from typing import Optional, List, Set, Any + +from pydantic import BaseModel, ConfigDict, Field, field_validator + + +class BundProjectDetails(BaseModel): + """ + Clean summary model for a Bund (federal) project, consolidating all fields + into semantic English names with proper native types. + """ + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + ) + + # Core identifiers + id: str = Field(description="The ID of the Bund project") + funding_reference: Optional[str] = Field( + default=None, + + description="The funding reference number (Förderkennzeichen)", + ) + + # Project metadata + title: Optional[str] = Field( + default=None, + + description="The project topic/title", + ) + description: Optional[str] = Field( + default=None, + + description="Plain text description of the performance plan classification", + ) + joint_project: Optional[str] = Field( + default=None, + + description="Parent joint project if this is a sub-project", + ) + + # Funding information + funding_type: Optional[str] = Field( + default=None, + + description="Type of funding (Förderart)", + ) + funding_profile: Optional[str] = Field( + default=None, + + description="Funding profile (Förderprofil)", + ) + funding_amount: Optional[float] = Field( + default=None, + + description="Funding amount in EUR", + ) + funding_start_date: Optional[date] = Field( + default=None, + description="Funding start date", + ) + funding_end_date: Optional[date] = Field( + default=None, + description="Funding end date", + ) + duration: Optional[str] = Field( + default=None, + + description="Project duration (Laufzeit)", + ) + + # Classification + performance_plan_code: Optional[str] = Field( + default=None, + + description="Performance plan classification code", + ) + performance_plan_fullname: Optional[str] = Field( + default=None, + + description="Full name of the performance plan classification", + ) + + # Organizational + executing_agency: Optional[str] = Field( + default=None, + + description="Executing agency", + ) + funding_recipient: Optional[str] = Field( + default=None, + + description="Funding recipient", + ) + project_agency: Optional[str] = Field( + default=None, + + description="Project management agency", + ) + project_agency_fullname: Optional[str] = Field( + default=None, + + description="Full name of the project management agency", + ) + + # Government hierarchy + department: Optional[str] = Field( + default=None, + + description="Government department code", + ) + department_fullname: Optional[str] = Field( + default=None, + + description="Full name of the government department", + ) + division: Optional[str] = Field( + default=None, + + description="Division/unit reference", + ) + + # Location + location: Optional[str] = Field( + default=None, + + description="Location/city", + ) + municipality: Optional[str] = Field( + default=None, + + description="City/Municipality", + ) + state: Optional[str] = Field( + default=None, + + description="Federal state", + ) + country: Optional[str] = Field( + default=None, + + description="Country", + ) + municipality_code: Optional[str] = Field( + default=None, + + description="Municipality code", + ) + + # Publication + publication_date: Optional[str] = Field( + default=None, + + description="Publication date", + ) + + # Additional + is_new: Optional[bool] = Field( + default=None, + + description="Flag indicating if the project is new", + ) + record_date: Optional[str] = Field( + default=None, + + description="Record date", + ) + unix_timestamp: Optional[int] = Field( + default=None, + description="Unix timestamp of the record", + ) + + # Unified lists for aggregation + associated_persons: List[str] = Field( + default_factory=list, + description="All persons associated with the Bund project (from nested Arb object)", + ) + institutions: List[str] = Field( + default_factory=list, + description="All institutions associated with the Bund project", + ) + + # --- Validators for type coercion --- + + @field_validator("funding_amount", mode="before") + @classmethod + def parse_funding_amount(cls, v: Any) -> Optional[float]: + """Parse funding amount from string or number.""" + if v is None: + return None + if isinstance(v, (int, float)): + return float(v) + if isinstance(v, str): + # Remove thousands separators and trim + cleaned = v.replace(".", "").replace(",", ".").strip() + try: + return float(cleaned) + except ValueError: + return None + return None + + @field_validator("funding_start_date", "funding_end_date", mode="before") + @classmethod + def parse_german_date(cls, v: Any) -> Optional[date]: + """Parse date from German format (dd.MM.yyyy) or date/datetime object.""" + if v is None: + return None + if isinstance(v, datetime): + return v.date() + if isinstance(v, date): + return v + if isinstance(v, str): + v = v.strip() + # Try German format first: dd.MM.yyyy + try: + return datetime.strptime(v, "%d.%m.%Y").date() + except ValueError: + pass + # Try ISO format: yyyy-MM-dd + try: + return datetime.strptime(v, "%Y-%m-%d").date() + except ValueError: + pass + # Try with time component + try: + return datetime.fromisoformat(v).date() + except ValueError: + pass + return None + + @field_validator("is_new", mode="before") + @classmethod + def parse_is_new(cls, v: Any) -> Optional[bool]: + """Parse is_new from bool or string.""" + if v is None: + return None + if isinstance(v, bool): + return v + if isinstance(v, str): + return v.lower() in ("true", "1", "yes", "ja") + if isinstance(v, (int, float)): + return bool(v) + return None + + @field_validator("unix_timestamp", mode="before") + @classmethod + def parse_unix_timestamp(cls, v: Any) -> Optional[int]: + """Parse unix timestamp from int, float, or string.""" + if v is None: + return None + if isinstance(v, (int, float)): + return int(v) + if isinstance(v, str): + try: + return int(v) + except ValueError: + return None + return None + + @classmethod + def from_elastic_hit(cls, hit: dict) -> "BundProject": + """ + Create a BundProject from an Elasticsearch hit, consolidating all fields. + """ + source = hit.get("_source", {}) + + # --- Extract persons from nested Arb object --- + persons: Set[str] = set() + arb = source.get("Arb") + if arb and isinstance(arb, dict): + for key, value in arb.items(): + if isinstance(value, str) and value.strip(): + for person in value.split(";"): + person = person.strip() + if person: + persons.add(person) + + # --- Extract institutions --- + institutions: Set[str] = set() + inst_fields = [ + "Ausführende Stelle", + "Zuwendungsempfänger", + "Projektträger", + ] + for field in inst_fields: + if field in source and source[field]: + for inst in source[field].split(";"): + inst = inst.strip() + if inst: + institutions.add(inst) + + if source.get("PT_fullname"): + institutions.add(source["PT_fullname"].strip()) + + return cls( + id=hit["_id"], + funding_reference=source.get("Förderkennzeichen"), + title=source.get("Thema"), + description=source.get("Klartext Leistungsplansystematik"), + joint_project=source.get("Verbundprojekt"), + funding_type=source.get("Förderart"), + funding_profile=source.get("Förderprofil"), + funding_amount=source.get("Fördersumme"), + funding_start_date=source.get("funding_start"), + funding_end_date=source.get("funding_end"), + duration=source.get("Laufzeit"), + performance_plan_code=source.get("Leistungsplansystematik"), + performance_plan_fullname=source.get("Leistungsplansystematik_fullname"), + executing_agency=source.get("Ausführende Stelle"), + funding_recipient=source.get("Zuwendungsempfänger"), + project_agency=source.get("Projektträger"), + project_agency_fullname=source.get("PT_fullname"), + department=source.get("Ressort"), + department_fullname=source.get("Ressort_fullname"), + division=source.get("Referat"), + location=source.get("Ort"), + municipality=source.get("Stadt/Gemeinde"), + state=source.get("Bundesland"), + country=source.get("Staat"), + municipality_code=source.get("Gemeindekennziffer"), + publication_date=source.get("Publikationsdatum"), + is_new=source.get("new"), + record_date=source.get("datum"), + unix_timestamp=source.get("unix_timestamp"), + associated_persons=sorted(persons), + institutions=sorted(institutions), + ) \ No newline at end of file diff --git a/service/src/main/inse/models/cordis_eu_project.py b/service/src/main/inse/models/cordis_eu_project.py new file mode 100644 index 00000000..557dfd57 --- /dev/null +++ b/service/src/main/inse/models/cordis_eu_project.py @@ -0,0 +1,62 @@ +from datetime import datetime +from typing import Optional, List, Union +from pydantic import BaseModel, Field + + +class CordisEuProject(BaseModel): + id: str = Field( + description="Unique identifier for the project, typically the CORDIS ID" + ) + rcn: Optional[str] = Field( + None, description="Research and Innovation project number (CORDIS RCN)" + ) + acronym: Optional[str] = Field(None, description="Acronym for the project") + title: Optional[str] = Field(None, description="Title of the project") + objective: Optional[str] = Field(None, description="Objective of the project") + + frameworkProgramme: Optional[str] = Field( + None, description="Framework Programme under which the project was funded" + ) + fundingScheme: Optional[str] = Field( + None, description="Funding scheme of the project" + ) + legalBasis: Optional[str] = Field( + None, description="Legal basis for the project funding" + ) + masterCall: Optional[str] = Field( + None, description="Master call identifier if applicable" + ) + subCall: Optional[str] = Field( + None, description="Sub call identifier if applicable" + ) + topics: Optional[Union[str, List[str]]] = ( + None # Elastic keyword can map to a single string or list of strings + ) + nature: Optional[str] = Field(None, description="Nature of the project") + status: Optional[str] = Field(None, description="Status of the project") + + ecMaxContribution: Optional[float] = Field( + None, description="Maximum European Commission contribution" + ) + totalCost: Optional[float] = Field(None, description="Total cost of the project") + + startDate: Optional[datetime] = Field(None, description="Start date of the project") + endDate: Optional[datetime] = Field(None, description="End date of the project") + ecSignatureDate: Optional[datetime] = Field( + None, description="Date of the European Commission signature" + ) + contentUpdateDate: Optional[datetime] = Field( + None, description="Date when the project content was last updated" + ) + + grantDoi: Optional[str] = Field(None, description="DOI for the project grant") + humanValidated: Optional[bool] = Field( + None, + description="Indicates if the project information has been human validated", + ) + keywords: Optional[Union[str, List[str]]] = Field( + None, description="Keywords associated with the project" + ) + + class Config: + populate_by_name = True diff --git a/service/src/main/inse/models/dfg_project_details.py b/service/src/main/inse/models/dfg_project_details.py new file mode 100644 index 00000000..96ee5dc9 --- /dev/null +++ b/service/src/main/inse/models/dfg_project_details.py @@ -0,0 +1,275 @@ +# coding: utf-8 + +""" + DFG Project Clean Model + + Summary model that consolidates all scattered person and institution fields + from the raw projects_dfg_all index into clean, unified lists. +""" + +from typing import Optional, List, Set + +from pydantic import BaseModel, ConfigDict, Field + + +class DfgProjectDetails(BaseModel): + """ + Clean summary model for a DFG project, consolidating all person roles + and institution references into unified lists. + """ + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + ) + + id: str = Field(description="The ID of the DFG project") + link: Optional[str] = Field(default=None, description="The link to the DFG project") + title: Optional[str] = Field( + default=None, description="The title of the DFG project" + ) + description: Optional[str] = Field( + default=None, description="The description of the DFG project" + ) + + project_identifier: Optional[str] = Field( + default=None, + description="The project identifier of the DFG project", + ) + + funding_start_date: Optional[str] = Field( + default=None, description="The funding start date of the DFG project" + ) + funding_end_date: Optional[str] = Field( + default=None, description="The funding end date of the DFG project" + ) + + dfg_procedure: Optional[str] = Field( + default=None, description="The DFG procedure" + ) + subject_area: Optional[str] = Field( + default=None, + description="The subject area classification", + ) + funding_type: Optional[str] = Field( + default=None, description="The type of funding" + ) + international_reference: Optional[str] = Field( + default=None, + + description="International reference", + ) + + website: Optional[str] = Field( + default=None, description="The project website" + ) + + # Unified person list: all person names from any role + associated_persons: List[str] = Field( + default_factory=list, + description="All persons associated with the DFG project (any role)", + ) + + # Unified institution list: all institutions involved + institutions: List[str] = Field( + default_factory=list, + description="All institutions associated with the DFG project", + ) + + # Sub-project reference + subproject_of: Optional[str] = Field( + default=None, + description="Parent project this is a sub-project of", + ) + + @classmethod + def from_elastic_hit(cls, hit: dict) -> "DfgProjectDetails": + """ + Create a DfgProject from an Elasticsearch hit, consolidating all + person and institution fields into unified lists. + """ + + source = hit.get("_source", {}) + + associated_persons: Set[str] = set() + institutions: Set[str] = set() + + # --- Collect all persons from every person-related field --- + + # Applicant fields + _add_persons(source, associated_persons, "Antragsteller") # semicolon-separated + _add_person(source, associated_persons, "Antragstellerin") + _add_persons( + source, associated_persons, "Antragstellerinnen" + ) # semicolon-separated + _add_persons( + source, associated_persons, "Antragstellerinnen / Antragsteller" + ) # semicolon-separated + + # Co-applicant fields + _add_persons(source, associated_persons, "Mitantragsteller") + _add_person(source, associated_persons, "Mitantragstellerin") + _add_persons(source, associated_persons, "Mitantragstellerinnen") + _add_persons( + source, associated_persons, "Mitantragstellerinnen / Mitantragsteller" + ) + + # Former applicant fields + _add_persons(source, associated_persons, "Ehemalige Antragsteller") + _add_person(source, associated_persons, "Ehemalige Antragstellerin") + _add_persons(source, associated_persons, "Ehemalige Antragstellerinnen") + _add_persons( + source, + associated_persons, + "Ehemalige Antragstellerinnen / Ehemalige Antragsteller", + ) + _add_person(source, associated_persons, "Ehemaliger Antragsteller") + + # Speaker / coordinator fields + _add_person(source, associated_persons, "Sprecher") + _add_person(source, associated_persons, "Sprecherin") + _add_persons(source, associated_persons, "Sprecherinnen") + _add_persons(source, associated_persons, "Sprecherinnen / Sprecher") + _add_person(source, associated_persons, "Co-Sprecher") + _add_persons(source, associated_persons, "Co-Sprecherinnen / Co-Sprecher") + + # IGK partner speaker fields + _add_person(source, associated_persons, "Sprecher (IGK-Partner)") + _add_person(source, associated_persons, "Sprecherin (IGK-Partner)") + _add_persons( + source, + associated_persons, + "Sprecherinnen (IGK-Partner) / Sprecher (IGK-Partner)", + ) + + # Leader fields + _add_person(source, associated_persons, "Leiter") + _add_person(source, associated_persons, "Leiterin") + _add_persons(source, associated_persons, "Leiterinnen") + _add_persons(source, associated_persons, "Leiterinnen / Leiter") + + # Sub-project leader fields + _add_persons(source, associated_persons, "Teilprojektleiter") + _add_person(source, associated_persons, "Teilprojektleiterin") + _add_persons(source, associated_persons, "Teilprojektleiterinnen") + _add_persons( + source, associated_persons, "Teilprojektleiterinnen / Teilprojektleiter" + ) + + # Participating scientist fields + _add_persons(source, associated_persons, "beteiligte Wissenschaftler") + _add_person(source, associated_persons, "beteiligte Wissenschaftlerin") + _add_persons(source, associated_persons, "beteiligte Wissenschaftlerinnen") + _add_persons( + source, + associated_persons, + "beteiligte Wissenschaftlerinnen / beteiligte Wissenschaftler", + ) + _add_person(source, associated_persons, "beteiligter Wissenschaftler") + + # Participating person fields + _add_person(source, associated_persons, "Beteiligte Person") + _add_persons(source, associated_persons, "Beteiligte Personen") + + # Host fields (for guest researchers) + _add_person(source, associated_persons, "Gastgeber") + _add_person(source, associated_persons, "Gastgeberin") + _add_persons(source, associated_persons, "Gastgeberinnen") + _add_persons(source, associated_persons, "Gastgeberinnen / Gastgeber") + + # Cooperation partner fields + _add_person(source, associated_persons, "Kooperationspartner") + _add_person(source, associated_persons, "Kooperationspartnerin") + _add_persons(source, associated_persons, "Kooperationspartnerinnen") + _add_persons( + source, associated_persons, "Kooperationspartnerinnen / Kooperationspartner" + ) + + # Co-responsible fields + _add_person(source, associated_persons, "Mitverantwortlich") + _add_person(source, associated_persons, "Mitverantwortlich(e)") + _add_persons(source, associated_persons, "Mitverantwortliche") + + # Application partner + _add_person(source, associated_persons, "Anwendungspartner") + + # Foreign co-applicant fields + _add_persons(source, associated_persons, "ausländische Mitantragsteller") + _add_person(source, associated_persons, "ausländischer Mitantragsteller") + + # Person creator (from nested fields) + if "person_creater_name" in source and source["person_creater_name"]: + associated_persons.add(source["person_creater_name"].strip()) + + # Deputy (stellvertr) - nested object + stellvertr = source.get("stellvertr") + if stellvertr and isinstance(stellvertr, dict): + for field in ["stellvertreter", "stellvertreterin"]: + if field in stellvertr and stellvertr[field]: + associated_persons.add(stellvertr[field].strip()) + + # --- Collect all institutions --- + + _add_institution(source, institutions, "Antragstellende Institution") + _add_institution(source, institutions, "Mitantragstellende Institution") + _add_institution(source, institutions, "Beteiligte Einrichtung") + _add_institution(source, institutions, "Beteiligte Hochschule") + _add_institution(source, institutions, "Beteiligte Institution") + _add_institution(source, institutions, "IGK-Partnerinstitution") + _add_institution(source, institutions, "Partnerorganisation") + _add_institution(source, institutions, "Unternehmen") + + # Foreign institution (nested object) + auslaend = source.get("ausländ") + if auslaend and isinstance(auslaend, dict): + for field in [ + "auslaendischeInstitution", + "auslaendischeInstitution2", + "auslaendischesUnternehmen", + "auslaendischesUnternehmen2", + ]: + if field in auslaend and auslaend[field]: + institutions.add(auslaend[field].strip()) + return cls( + id=hit["_id"], + link=source.get("link"), + title=source.get("title"), + description=source.get("description"), + project_identifier=source.get("Projektkennung"), + funding_start_date=source.get("funding_start"), + funding_end_date=source.get("funding_end"), + dfg_procedure=source.get("DFG-Verfahren"), + subject_area=source.get("Fachliche Zuordnung"), + funding_type=source.get("Förderung"), + international_reference=source.get("Internationaler Bezug"), + website=source.get("Webseite"), + associated_persons=sorted(associated_persons), # sorted for consistency + institutions=sorted(institutions), + subproject_of=source.get("Teilprojekt zu"), + ) + + +# --- Helper functions for parsing source fields --- + +def _add_person(source: dict, persons: Set[str], field: str) -> None: + """Add a single person value from a field.""" + if field in source and source[field]: + value = source[field].strip() + if value: + persons.add(value) + + +def _add_persons(source: dict, persons: Set[str], field: str) -> None: + """Add persons from a semicolon-separated field.""" + if field in source and source[field]: + for person in source[field].split(";"): + cleaned = person.strip() + if cleaned: + persons.add(cleaned) + + +def _add_institution(source: dict, institutions: Set[str], field: str) -> None: + """Add a single institution value from a field.""" + if field in source and source[field]: + value = source[field].strip() + if value: + institutions.add(value) \ No newline at end of file diff --git a/service/src/main/inse/models/openalex/institution.py b/service/src/main/inse/models/openalex/institution.py index a81ae678..1d1062b5 100644 --- a/service/src/main/inse/models/openalex/institution.py +++ b/service/src/main/inse/models/openalex/institution.py @@ -33,7 +33,7 @@ class Institution(BaseModel): """ A university, research organization, or other affiliation """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The OpenAlex ID for this institution.") + id: Optional[StrictStr] = Field(default=None, description="The OpenAlex ID for this institution.", json_schema_extra={"examples": ["https://openalex.org/I27837315"]}) ror: Optional[StrictStr] = Field(default=None, description="The ROR ID for this institution. This is the Canonical External ID for institutions.") display_name: Optional[StrictStr] = Field(default=None, description="The primary name of the institution.") country_code: Optional[StrictStr] = Field(default=None, description="ISO two-letter country code where this institution is located.") diff --git a/service/src/main/inse/patents/__init__.py b/service/src/main/inse/patents/__init__.py new file mode 100644 index 00000000..d10d63ca --- /dev/null +++ b/service/src/main/inse/patents/__init__.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + Patents domain package. +""" diff --git a/service/src/main/inse/patents/elastic_search_client.py b/service/src/main/inse/patents/elastic_search_client.py new file mode 100644 index 00000000..64d5865e --- /dev/null +++ b/service/src/main/inse/patents/elastic_search_client.py @@ -0,0 +1,182 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + HTTP client for patent searches in EPO and USPTO Elasticsearch indices. +""" +from typing import Any + +import httpx + +from .. import config +from .name_matching import search_name_variants + +EPO_INDEX = "epo_index_1.0" +USPTO_INDEX = "uspto_patents_3.0" + +DEFAULT_SEARCH_SIZE = 100 + + +def _match_name_field(field: str, name: str) -> dict[str, Any]: + """Match a name field, including transliterated variants (Müller/Mueller).""" + variants = search_name_variants(name) + if len(variants) <= 1: + return {"match": {field: variants[0] if variants else name}} + return { + "bool": { + "should": [{"match": {field: variant}} for variant in variants], + "minimum_should_match": 1, + } + } + + +class MissingApiKeyError(Exception): + pass + + +class PatentSearchClient: + def __init__( + self, + base_url: str | None = None, + api_key: str | None = None, + timeout: float = 30.0, + transport: httpx.AsyncBaseTransport | None = None, + ): + self.base_url = (base_url or config.settings.patent_elasticsearch_url).rstrip("/") + self.api_key = api_key if api_key is not None else config.settings.patent_elasticsearch_api_key + self.timeout = timeout + self.transport = transport + + def _headers(self) -> dict[str, str]: + if not self.api_key: + raise MissingApiKeyError("Patent Elasticsearch API key is not configured.") + return { + "Authorization": f"ApiKey {self.api_key}", + "Content-Type": "application/json", + } + + def epo_query_by_inventor( + self, + last_name: str, + first_name: str | None = None, + size: int = DEFAULT_SEARCH_SIZE, + ) -> dict[str, Any]: + """Search EPO index: first AND last name in the SAME inventor entry.""" + if first_name: + query = { + "nested": { + "path": "inventors_name_nested", + "query": { + "bool": { + "must": [ + _match_name_field("inventors_name_nested.inventor", last_name), + _match_name_field("inventors_name_nested.inventor", first_name), + ] + } + }, + } + } + else: + query = { + "nested": { + "path": "inventors_name_nested", + "query": _match_name_field("inventors_name_nested.inventor", last_name), + } + } + + return { + "size": size, + "track_total_hits": True, + "sort": [ + {"_score": {"order": "desc"}}, + {"date_publication": {"order": "desc", "missing": "_last"}}, + "_doc", + ], + "_source": [ + "doc_number", + "country", + "kind", + "date_publication", + "date_publication_year", + "title_en", + "title_de", + "abstract", + "inventors_name", + "applicants_name", + "ipc", + "ipc_text", + ], + "query": query, + } + + def uspto_query_by_inventor( + self, + last_name: str, + first_name: str | None = None, + size: int = DEFAULT_SEARCH_SIZE, + ) -> dict[str, Any]: + """Search USPTO index: first AND last name in the SAME inventor entry.""" + if first_name: + query = { + "nested": { + "path": "inventors", + "query": { + "bool": { + "must": [ + _match_name_field("inventors.name", last_name), + _match_name_field("inventors.name", first_name), + ] + } + }, + } + } + else: + query = { + "nested": { + "path": "inventors", + "query": _match_name_field("inventors.name", last_name), + } + } + + return { + "size": size, + "track_total_hits": True, + "sort": [ + {"_score": {"order": "desc"}}, + {"publication_date": {"order": "desc", "missing": "_last"}}, + "_doc", + ], + "_source": [ + "publication_number", + "country", + "publication_date", + "publication_year", + "title", + "abstract", + "inventors_names", + "inventors_names_text", + "assignees_orgs", + "ipcr", + "ipcr_text", + ], + "query": query, + } + + async def search_epo(self, payload: dict[str, Any]) -> dict[str, Any]: + return await self._search(EPO_INDEX, payload) + + async def search_uspto(self, payload: dict[str, Any]) -> dict[str, Any]: + return await self._search(USPTO_INDEX, payload) + + async def _search(self, index: str, payload: dict[str, Any]) -> dict[str, Any]: + async with httpx.AsyncClient( + base_url=self.base_url, + timeout=self.timeout, + transport=self.transport, + ) as client: + response = await client.post( + f"/{index}/_search", + headers=self._headers(), + json=payload, + ) + response.raise_for_status() + return response.json() diff --git a/service/src/main/inse/patents/logic.py b/service/src/main/inse/patents/logic.py new file mode 100644 index 00000000..7e82cc31 --- /dev/null +++ b/service/src/main/inse/patents/logic.py @@ -0,0 +1,156 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + Business logic for patent matching by author name. +""" +import logging + +import httpx +from fastapi import HTTPException +from starlette.status import HTTP_502_BAD_GATEWAY +from starlette.status import HTTP_503_SERVICE_UNAVAILABLE + +from ..persons import logic as person_logic +from ..models.openalex.author import Author +from . import model +from .elastic_search_client import MissingApiKeyError +from .elastic_search_client import PatentSearchClient +from .name_matching import name_matches + +logger = logging.getLogger(__name__) + + +async def get_patents_by_author_id( + author_id: str, + client: PatentSearchClient | None = None, +) -> model.PatentsByAuthorResponse: + search_client = client or PatentSearchClient() + + author = _get_author(author_id) + if not author: + return model.PatentsByAuthorResponse( + author_id=author_id, + author_name=None, + patent_count=0, + patents=[], + ) + + author_name = author.display_name + last_name = _extract_last_name(author_name) + first_name = _extract_first_name(author_name) + + if not last_name: + return model.PatentsByAuthorResponse( + author_id=author_id, + author_name=author_name, + patent_count=0, + patents=[], + ) + + try: + epo_data, uspto_data = await _search_both_indices( + search_client, last_name, first_name + ) + except MissingApiKeyError as exc: + raise HTTPException(status_code=HTTP_503_SERVICE_UNAVAILABLE, + detail="Patent search is not configured.") from exc + except httpx.HTTPError as exc: + raise HTTPException(status_code=HTTP_502_BAD_GATEWAY, + detail="Patent search request failed.") from exc + + all_patents = _parse_epo_hits(epo_data) + _parse_uspto_hits(uspto_data) + + if first_name and last_name: + all_patents = _filter_patents_by_name(all_patents, first_name, last_name) + + return model.PatentsByAuthorResponse( + author_id=author_id, + author_name=author_name, + patent_count=len(all_patents), + patents=all_patents, + ) + + +async def _search_both_indices(client, last_name, first_name): + import asyncio + epo_result, uspto_result = await asyncio.gather( + client.search_epo(client.epo_query_by_inventor(last_name, first_name)), + client.search_uspto(client.uspto_query_by_inventor(last_name, first_name)), + ) + return epo_result, uspto_result + + +def _parse_epo_hits(data: dict) -> list[model.PatentEntry]: + patents = [] + for hit in data.get("hits", {}).get("hits", []): + src = hit.get("_source", {}) + inventors = src.get("inventors_name") or [] + applicants = src.get("applicants_name") or [] + ipc = src.get("ipc") or [] + patents.append(model.PatentEntry( + patent_id=f"EP{src.get('doc_number', hit.get('_id', ''))}", + source="EPO", + title=src.get("title_en") or src.get("title_de"), + abstract=src.get("abstract"), + publication_date=str(src.get("date_publication")) if src.get("date_publication") else None, + publication_year=str(src.get("date_publication_year")) if src.get("date_publication_year") else None, + inventors=inventors if isinstance(inventors, list) else [inventors], + assignees=applicants if isinstance(applicants, list) else [applicants], + ipc=ipc if isinstance(ipc, list) else [ipc], + country=src.get("country", "EP"), + )) + return patents + + +def _parse_uspto_hits(data: dict) -> list[model.PatentEntry]: + patents = [] + for hit in data.get("hits", {}).get("hits", []): + src = hit.get("_source", {}) + inventors = src.get("inventors_names") or [] + assignees = src.get("assignees_orgs") or [] + ipc = src.get("ipcr") or [] + patents.append(model.PatentEntry( + patent_id=f"US{src.get('publication_number', hit.get('_id', ''))}", + source="USPTO", + title=src.get("title"), + abstract=src.get("abstract"), + publication_date=str(src.get("publication_date")) if src.get("publication_date") else None, + publication_year=str(src.get("publication_year")) if src.get("publication_year") else None, + inventors=inventors if isinstance(inventors, list) else [inventors], + assignees=assignees if isinstance(assignees, list) else [assignees], + ipc=ipc if isinstance(ipc, list) else [ipc], + country=src.get("country", "US"), + )) + return patents + + +def _filter_patents_by_name( + patents: list[model.PatentEntry], + first_name: str, + last_name: str, +) -> list[model.PatentEntry]: + """Keep patents where at least one inventor matches the author name.""" + return [ + patent for patent in patents + if any(name_matches(inventor, first_name, last_name) for inventor in patent.inventors) + ] + + +def _get_author(author_id: str) -> Author | None: + short_id = author_id.replace("https://openalex.org/", "") + result = person_logic.search_persons(author_id=short_id) + return result.results[0] if result.results else None + + +def _extract_last_name(name: str | None) -> str | None: + if not name: + return None + parts = name.strip().split() + return parts[-1] if parts else None + + +def _extract_first_name(name: str | None) -> str | None: + if not name: + return None + parts = name.strip().split() + return parts[0] if len(parts) > 1 else None \ No newline at end of file diff --git a/service/src/main/inse/patents/model.py b/service/src/main/inse/patents/model.py new file mode 100644 index 00000000..31ebc18c --- /dev/null +++ b/service/src/main/inse/patents/model.py @@ -0,0 +1,20 @@ +from pydantic import BaseModel, Field + + +class PatentEntry(BaseModel): + patent_id: str + source: str # "EPO" or "USPTO" + title: str | None = None + abstract: str | None = None + publication_date: str | None = None + publication_year: str | None = None + inventors: list[str] = Field(default_factory=list) + assignees: list[str] = Field(default_factory=list) + ipc: list[str] = Field(default_factory=list) + country: str | None = None + +class PatentsByAuthorResponse(BaseModel): + author_id: str + author_name: str | None = None + patent_count: int + patents: list[PatentEntry] diff --git a/service/src/main/inse/patents/name_matching.py b/service/src/main/inse/patents/name_matching.py new file mode 100644 index 00000000..659b295c --- /dev/null +++ b/service/src/main/inse/patents/name_matching.py @@ -0,0 +1,242 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + Name normalization and matching for patent inventor lookup. + + Handles umlauts, diacritics, and common Latin transliterations so that + e.g. 'Müller' matches 'Mueller' and 'Muller'. +""" +import re +import unicodedata + +# Characters that NFKD does not map to ASCII-friendly forms. +_CHAR_REPLACEMENTS: dict[str, str] = { + "ß": "ss", + "ẞ": "ss", + "æ": "ae", + "Æ": "ae", + "œ": "oe", + "Œ": "oe", + "ø": "o", + "Ø": "o", + "đ": "d", + "Đ": "d", + "ð": "d", + "Ð": "d", + "þ": "th", + "Þ": "th", + "ł": "l", + "Ł": "l", + "ı": "i", + "ſ": "s", +} + +# German patent transliterations: ae/oe/ue often stand in for ä/ö/ü. +_DIGRAPH_COLLAPSES: tuple[tuple[str, str], ...] = ( + ("ae", "a"), + ("oe", "o"), + ("ue", "u"), +) + +# Common ASCII spellings in patent records for umlaut-derived vowels. +_PATENT_VOWEL_EXPANSIONS: tuple[tuple[str, str], ...] = ( + (r"u([lmnrt])", r"ue\1"), + (r"o([lmnrt])", r"oe\1"), + (r"a([lmnrt])", r"ae\1"), +) + + +def normalize_name_part(value: str | None) -> str: + """ + Normalize a single name token for comparison. + + Steps: transliteration map -> NFKD -> strip diacritics -> lowercase + -> remove apostrophes/punctuation -> collapse whitespace. + """ + if not value: + return "" + + text = value.strip() + for src, dst in _CHAR_REPLACEMENTS.items(): + text = text.replace(src, dst) + + text = unicodedata.normalize("NFKD", text) + text = "".join(c for c in text if not unicodedata.combining(c)) + text = text.lower() + text = re.sub(r"[''`´]", "", text) + text = re.sub(r"[^\w\s-]", "", text) + text = re.sub(r"\s+", " ", text).strip() + return text + + +def name_token_variants(value: str | None) -> set[str]: + """ + Return equivalent forms of a name token. + + Includes the normalized base plus German digraph collapses + (Mueller -> muller) and hyphen Relaxed forms (Jean-Pierre -> jean pierre). + """ + base = normalize_name_part(value) + if not base: + return set() + + variants = {base} + + for src, dst in _DIGRAPH_COLLAPSES: + if src in base: + variants.add(base.replace(src, dst)) + + if "-" in base: + variants.add(base.replace("-", "")) + variants.add(base.replace("-", " ")) + + return {v for v in variants if v} + + +def _patent_transliteration_expansions(normalized: str) -> set[str]: + """ + ASCII spellings used in patent records (e.g. Müller indexed as Mueller). + + Used for Elasticsearch recall only; post-filter applies stricter matching. + """ + expanded = {normalized} + for pattern, repl in _PATENT_VOWEL_EXPANSIONS: + if re.search(pattern, normalized): + expanded.add(re.sub(pattern, repl, normalized)) + return expanded + + +def tokens_equal( + left: str | None, + right: str | None, + *, + allow_initial: bool = True, +) -> bool: + """True when two name tokens are equivalent after normalization.""" + left_variants = name_token_variants(left) + right_variants = name_token_variants(right) + if not left_variants or not right_variants: + return False + if left_variants & right_variants: + return True + + if not allow_initial: + return False + + return _initial_tokens_match(left, right) + + +def _initial_letter(token: str | None) -> str | None: + normalized = normalize_name_part(token) + if len(normalized) == 1 and normalized.isalpha(): + return normalized + return None + + +def _initial_tokens_match(left: str | None, right: str | None) -> bool: + """True when one token is a single-letter initial matching the other token.""" + left_initial = _initial_letter(left) + right_initial = _initial_letter(right) + left_full = normalize_name_part(left) + right_full = normalize_name_part(right) + + if left_initial and right_full and len(right_full) > 1: + return right_full.startswith(left_initial) + if right_initial and left_full and len(left_full) > 1: + return left_full.startswith(right_initial) + if left_initial and right_initial: + return left_initial == right_initial + return False + + +def _inventor_first_token(inventor_name: str) -> str: + if "," in inventor_name: + _, first_part = [p.strip() for p in inventor_name.split(",", 1)] + return first_part.split()[0] if first_part else "" + parts = inventor_name.split() + return parts[0] if parts else "" + + +def first_name_match_kind( + inventor_name: str, + first_name: str, + last_name: str, +) -> str: + """ + Match quality for the inventor first name: 'full', 'initial', or 'none'. + """ + if not name_matches(inventor_name, first_name, last_name): + return "none" + + inventor_first = _inventor_first_token(inventor_name) + if tokens_equal(inventor_first, first_name, allow_initial=False): + return "full" + return "initial" + + +def search_name_variants(value: str | None) -> list[str]: + """ + Distinct search strings for Elasticsearch, preserving original casing + where useful but including normalized and transliterated forms. + """ + if not value or not value.strip(): + return [] + + seen: set[str] = set() + ordered: list[str] = [] + + def _add(candidate: str) -> None: + key = candidate.casefold() + if candidate.strip() and key not in seen: + seen.add(key) + ordered.append(candidate.strip()) + + _add(value.strip()) + + normalized = normalize_name_part(value) + if normalized: + _add(normalized.title()) + + for variant in name_token_variants(value): + _add(variant.title()) + + for variant in _patent_transliteration_expansions(normalized): + _add(variant.title()) + + if normalized and len(normalized) > 1: + _add(normalized[0].upper()) + + return ordered + + +def name_matches(inventor_name: str, first_name: str, last_name: str) -> bool: + """ + True when an inventor entry matches first_name + last_name. + + Supports: + - USPTO: 'Christian Weber', 'Christian Hans Weber' + - EPO: 'Weber, Christian', 'Weber, Christian Hans' + """ + if not inventor_name or not last_name: + return False + + name = inventor_name.strip() + + if "," in name: + last_part, first_part = [p.strip() for p in name.split(",", 1)] + first_token = first_part.split()[0] if first_part else "" + return ( + tokens_equal(last_part, last_name, allow_initial=False) + and bool(first_name) + and tokens_equal(first_token, first_name) + ) + + parts = name.split() + if len(parts) < 2: + return False + + return ( + tokens_equal(parts[-1], last_name, allow_initial=False) + and bool(first_name) + and tokens_equal(parts[0], first_name) + ) diff --git a/service/src/main/inse/patents/service.py b/service/src/main/inse/patents/service.py new file mode 100644 index 00000000..53a27446 --- /dev/null +++ b/service/src/main/inse/patents/service.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + REST API for patent matching by author. +""" +from fastapi import APIRouter +from . import logic +from . import model + +router = APIRouter(prefix="/api/inse-service/authors", tags=["Patents"]) + + +@router.get( + "/{author_id}/patents", + operation_id="getPatentsByAuthor", + response_model=model.PatentsByAuthorResponse, + summary="Get patents matched to an author by name.", +) +async def get_patents_by_author(author_id: str): + return await logic.get_patents_by_author_id(author_id) diff --git a/service/src/main/inse/patents/test_elastic_search_client.py b/service/src/main/inse/patents/test_elastic_search_client.py new file mode 100644 index 00000000..08729ea6 --- /dev/null +++ b/service/src/main/inse/patents/test_elastic_search_client.py @@ -0,0 +1,49 @@ +import httpx +import pytest + +from inse.patents.elastic_search_client import ( + DEFAULT_SEARCH_SIZE, + EPO_INDEX, + PatentSearchClient, + USPTO_INDEX, +) + + +@pytest.fixture +def anyio_backend(): + return "asyncio" + + +def test_epo_query_uses_nested_search_and_name_variants(): + client = PatentSearchClient(api_key="test-key") + payload = client.epo_query_by_inventor("Müller", "Christian") + + assert payload["size"] == DEFAULT_SEARCH_SIZE + assert payload["sort"][0] == {"_score": {"order": "desc"}} + nested = payload["query"]["nested"] + assert nested["path"] == "inventors_name_nested" + must = nested["query"]["bool"]["must"] + assert len(must) == 2 + assert "should" in must[0]["bool"] + + +def test_uspto_index_is_3_0(): + assert USPTO_INDEX == "uspto_patents_3.0" + assert EPO_INDEX == "epo_index_1.0" + + +@pytest.mark.anyio +async def test_search_epo_posts_to_correct_index(): + requests: list[str] = [] + + def handler(request: httpx.Request) -> httpx.Response: + requests.append(request.url.path) + return httpx.Response(200, json={"hits": {"hits": []}}) + + transport = httpx.MockTransport(handler) + client = PatentSearchClient(api_key="test-key", transport=transport) + + await client.search_epo(client.epo_query_by_inventor("Weber", "Christian")) + + assert len(requests) == 1 + assert requests[0].endswith(f"/{EPO_INDEX}/_search") diff --git a/service/src/main/inse/patents/test_name_matching.py b/service/src/main/inse/patents/test_name_matching.py new file mode 100644 index 00000000..cc93465d --- /dev/null +++ b/service/src/main/inse/patents/test_name_matching.py @@ -0,0 +1,123 @@ +import pytest + +from inse.patents.name_matching import ( + first_name_match_kind, + name_matches, + name_token_variants, + normalize_name_part, + search_name_variants, + tokens_equal, +) + + +@pytest.mark.parametrize( + ("left", "right"), + [ + ("Müller", "Mueller"), + ("Müller", "Muller"), + ("Schöning", "Schoening"), + ("François", "Francois"), + ("José", "Jose"), + ("García", "Garcia"), + ("Bräun", "Braun"), + ("Straß", "Strass"), + ("Grøn", "Gron"), + ("Małgorzata", "Malgorzata"), + ("Øystein", "Oystein"), + ], +) +def test_tokens_equal_transliteration(left: str, right: str) -> None: + assert tokens_equal(left, right) + + +@pytest.mark.parametrize( + ("left", "right"), + [ + ("Christian", "Marc"), + ("Weber", "Wagner"), + ("Müller", "Meier"), + ], +) +def test_tokens_equal_rejects_different_names(left: str, right: str) -> None: + assert not tokens_equal(left, right) + + +def test_hyphenated_first_name() -> None: + assert tokens_equal("Jean-Pierre", "Jean Pierre") + assert tokens_equal("Jean-Pierre", "JeanPierre") + + +@pytest.mark.parametrize( + ("inventor", "first", "last", "expected"), + [ + ("Christian Weber", "Christian", "Weber", True), + ("Weber, Christian", "Christian", "Weber", True), + ("Marc Christian Weber", "Christian", "Weber", False), + ("Müller, Hans", "Hans", "Müller", True), + ("Mueller, Hans", "Hans", "Müller", True), + ("Hans Mueller", "Hans", "Müller", True), + ("Weber, Christian Hans", "Christian", "Weber", True), + ("Schoening, Klaus", "Klaus", "Schöning", True), + ], +) +def test_name_matches(inventor: str, first: str, last: str, expected: bool) -> None: + assert name_matches(inventor, first, last) is expected + + +def test_normalize_name_part_strips_diacritics() -> None: + assert normalize_name_part("François") == "francois" + assert normalize_name_part(" O'Brien ") == "obrien" + + +def test_search_name_variants_includes_transliterations() -> None: + variants = search_name_variants("Müller") + folded = {v.casefold() for v in variants} + assert "müller" in folded or "Müller".casefold() in folded + assert "mueller" in folded + assert "muller" in folded + + +def test_name_token_variants_mueller() -> None: + variants = name_token_variants("Mueller") + assert "mueller" in variants + assert "muller" in variants + + +@pytest.mark.parametrize( + ("left", "right"), + [ + ("C", "Christian"), + ("C.", "Christian"), + ("Christian", "C"), + ], +) +def test_tokens_equal_initials(left: str, right: str) -> None: + assert tokens_equal(left, right) + + +def test_tokens_equal_initials_not_for_last_names_by_default() -> None: + assert not tokens_equal("W", "Weber", allow_initial=False) + + +@pytest.mark.parametrize( + ("inventor", "first", "last", "expected"), + [ + ("C. Weber", "Christian", "Weber", True), + ("Weber, C.", "Christian", "Weber", True), + ("Weber, C", "Christian", "Weber", True), + ], +) +def test_name_matches_initials(inventor: str, first: str, last: str, expected: bool) -> None: + assert name_matches(inventor, first, last) is expected + + +def test_first_name_match_kind() -> None: + assert first_name_match_kind("Christian Weber", "Christian", "Weber") == "full" + assert first_name_match_kind("C. Weber", "Christian", "Weber") == "initial" + assert first_name_match_kind("Marc Christian Weber", "Christian", "Weber") == "none" + + +def test_search_name_variants_includes_initial() -> None: + variants = search_name_variants("Christian") + assert "C" in variants + diff --git a/service/src/main/inse/persons/logic.py b/service/src/main/inse/persons/logic.py index 88b36788..76db43c7 100644 --- a/service/src/main/inse/persons/logic.py +++ b/service/src/main/inse/persons/logic.py @@ -7,7 +7,9 @@ Business logic for persons / authors. import json import logging import time +from datetime import datetime from typing import Optional, Callable, Any, List +from elasticsearch import ApiError, NotFoundError import hashlib import httpx from fastapi import HTTPException @@ -24,8 +26,8 @@ from inse.persons.model import ( CustomAuthor, CustomAuthorsListResponse, PersonSearchRequest, + CareerMetrics, ) - logger = logging.getLogger(__name__) INDEX_NAME = "openalex-authors" @@ -186,6 +188,120 @@ def _fetch_works_and_topics(author_id: str) -> tuple[list, list]: return works, topics +def _get_publication_years_for_author(author_id: str) -> list[int]: + author_url = f"https://openalex.org/{author_id.strip()}" + + body = { + "size": 0, + "query": { + "nested": { + "path": "authorships", + "query": { + "bool": { + "filter": [ + {"term": {"authorships.author.id": author_url}}, + ], + }, + }, + }, + }, + "aggs": { + "publication_years": { + "terms": { + "field": "publication_year", + "size": 1000, + }, + }, + }, + } + + response = elasticsearch.search( + index=config.settings.openalex_works_search_index, + body=body, + ) + + buckets = ( + response.get("aggregations", {}) + .get("publication_years", {}) + .get("buckets", []) + ) + + publication_years: list[int] = [] + + for bucket in buckets: + year = bucket.get("key") + count = bucket.get("doc_count", 0) + + if isinstance(year, int): + publication_years.extend([year] * count) + + return publication_years + +def _classify_career_stage(active_years: int) -> str: + if active_years <= 0: + return "unknown" + + if active_years <= 4: + return "Early Researcher" + + if active_years <= 10: + return "Emerging Researcher" + + if active_years <= 20: + return "Established Researcher" + + return "Senior Researcher" + + +def _compute_career_metrics(publication_years: list[int]) -> CareerMetrics: + current_year = datetime.now().year + + if not publication_years: + return CareerMetrics() + + sorted_years = sorted(publication_years) + unique_years = sorted(set(publication_years)) + + first_year = sorted_years[0] + last_year = sorted_years[-1] + + publication_count = len(sorted_years) + active_years = len(unique_years) + career_stage = _classify_career_stage(active_years) + career_age = last_year - first_year + career_span = last_year - first_year + 1 + + publications_per_active_year = ( + publication_count / active_years if active_years > 0 else None + ) + + publications_per_career_year = ( + publication_count / career_span if career_span > 0 else None + ) + + years_since_last_publication = current_year - last_year + has_suspicious_publication_years = first_year < 1970 or career_span > 60 + + return CareerMetrics( + first_publication_year=first_year, + last_publication_year=last_year, + career_age=career_age, + career_span=career_span, + career_stage=career_stage, + active_years=active_years, + publication_count=publication_count, + publications_per_active_year=publications_per_active_year, + publications_per_career_year=publications_per_career_year, + years_since_last_publication=years_since_last_publication, + has_suspicious_publication_years=has_suspicious_publication_years, + ) + + +def get_career_metrics_for_author(author_id: str) -> CareerMetrics: + publication_years = _get_publication_years_for_author(author_id) + return _compute_career_metrics(publication_years) + + def _build_papers(works: list) -> list: papers = [] @@ -254,23 +370,34 @@ def generate_person_bio(author_id: str, include: Optional[set[str]] = None) -> s def get_person_by_id( author_id: str, include: Optional[str] = None -) -> AuthorsListResponse: +) -> CustomAuthorsListResponse: body = { "_source": include.split(",") if include else True, } try: - hit = elasticsearch.get(index="openalex-authors", body=body, doc_id=author_id) + hit = elasticsearch.get( + index="openalex-authors", + body=body, + doc_id=author_id, + ) except NotFoundError: raise HTTPException( status_code=404, detail=f"Person with id {author_id} not found" ) - except ApiError as e: raise HTTPException(status_code=500, detail=f"Elasticsearch error: {str(e)}") - persons = [util.get_persons_data(hit)] - return AuthorsListResponse(results=persons) + author = util.get_persons_data(hit) + career_metrics = get_career_metrics_for_author(author_id) + + custom_author = CustomAuthor( + **author.model_dump(), + career_metrics=career_metrics, + ) + + return CustomAuthorsListResponse(results=[custom_author]) + def search_persons_by_name( diff --git a/service/src/main/inse/persons/model.py b/service/src/main/inse/persons/model.py index 1973c763..300ec2d9 100644 --- a/service/src/main/inse/persons/model.py +++ b/service/src/main/inse/persons/model.py @@ -13,20 +13,59 @@ from inse.models.openalex.authors_list_response import AuthorsListResponse from inse.models.openalex.group_by_result import GroupByResult +class CareerMetrics(BaseModel): + first_publication_year: Optional[int] = Field( + default=None, description="First publication year of the author." + ) + last_publication_year: Optional[int] = Field( + default=None, description="Last publication year of the author." + ) + career_age: Optional[int] = Field( + default=None, description="Difference between last and first publication year." + ) + career_span: Optional[int] = Field( + default=None, description="Inclusive span from first to last publication year." + ) + career_stage: Optional[str] = Field( + default=None, + description="Threshold-based career stage derived from active publication years.", + ) + active_years: int = Field( + default=0, description="Number of distinct years with at least one publication." + ) + publication_count: int = Field( + default=0, description="Number of publications used for career metrics." + ) + publications_per_active_year: Optional[float] = Field( + default=None, description="Average publications per active publication year." + ) + publications_per_career_year: Optional[float] = Field( + default=None, description="Average publications per year over the full career span." + ) + years_since_last_publication: Optional[int] = Field( + default=None, description="Years since the last publication." + ) + has_suspicious_publication_years: bool = Field( + default=False, description="True if publication years look suspicious." + ) + class CustomAuthor(Author): relevance_rating: Optional[str] = Field( default=None, description="The relevance suitability rating." ) + career_metrics: Optional[CareerMetrics] = Field( + default=None, description="Publication-history-based career metrics." + ) class CustomAuthorsListResponse(AuthorsListResponse): placeholder: Optional[CustomAuthor] = Field( default=None, description="A placeholder field for generation." ) - # meta: Optional[Meta] = None - # results: Optional[List[CustomAuthor]] = None - # group_by: Optional[List[GroupByResult]] = None + results: Optional[List[CustomAuthor]] = None + meta: Optional[Meta] = None + group_by: Optional[List[GroupByResult]] = None class PersonBio(BaseModel): diff --git a/service/src/main/inse/persons/service.py b/service/src/main/inse/persons/service.py index 35034d82..c6cae176 100644 --- a/service/src/main/inse/persons/service.py +++ b/service/src/main/inse/persons/service.py @@ -85,7 +85,7 @@ def generate_person_bio( @router.get( "/person/{id}", operation_id="getPersonByID", - response_model=AuthorsListResponse, + response_model=model.CustomAuthorsListResponse, summary="Searches for person by ID.", tags=["Persons"], ) @@ -102,7 +102,7 @@ def get_person_by_id( ), example="topics_full,topic_share", ), - ], + ] = None, ): return logic.get_person_by_id(author_id=id, include=include) diff --git a/service/src/main/inse/projects/model.py b/service/src/main/inse/projects/model.py index 03a3caa3..ae05256b 100644 --- a/service/src/main/inse/projects/model.py +++ b/service/src/main/inse/projects/model.py @@ -1,9 +1,31 @@ +from datetime import date +import datetime +from enum import StrEnum from typing import List, Optional -from pydantic import BaseModel, Field +from pydantic import BaseModel, Field, field_validator from inse.models.bund_project import BundProject from inse.models.eu_project import EuProject +from inse.models.cordis_eu_project import CordisEuProject + + +class ProjectType(StrEnum): + BUND = "bund" + EU = "eu" + DFG = "dfg" + + +class ProjectsSortBy(StrEnum): + TITLE = "title" + FUNDING_START = "funding_start" + FUNDING_END = "funding_end" + FUNDING_AMOUNT = "funding_amount" + + +class SortDirection(StrEnum): + ASC = "asc" + DESC = "desc" class Page(BaseModel): @@ -73,3 +95,133 @@ class DfgProjectPage(Page): elements: List[DfgProjectSummary] = Field( default_factory=list, description="The DFG projects on this page." ) + + +class InstitutionFunderSummary(BaseModel): + type: ProjectType = Field( + description="The type of funding data (e.g., 'bund', 'eu', 'dfg')." + ) + funding_per_year: dict = Field( + default_factory=dict, + description="A dictionary mapping years to total funding amounts for that year.", + ) + annual_average_over_period: float = Field( + default=0.0, + description="The average annual funding over the continuous period covered by the data.", + ) + + +class ProjectsFilteringProperties(BaseModel): + project_type: ProjectType = Field(description="The type of projects to filter by.") + page: int = Field(description="The page number for pagination.") + size: int = Field(description="The page size for pagination.") + raw_oa_institution_id: Optional[str] = Field( + default=None, description="The raw OA institution ID to filter by." + ) + query: Optional[str] = Field( + default=None, description="The query string to filter projects by." + ) + sort_by: ProjectsSortBy = Field( + default=ProjectsSortBy.TITLE, description="The field to sort by." + ) + sort_direction: SortDirection = Field( + default=SortDirection.ASC, description="The sort direction (asc or desc)." + ) + + +class CordisEuProjectPage(Page): + elements: List[CordisEuProject] = Field( + default_factory=list, description="The CORDIS EU projects on this page." + ) + + +class FundingProject(BaseModel): + type: ProjectType = Field( + description="The type of the project.", + examples=[ProjectType.BUND, ProjectType.EU, ProjectType.DFG], + ) + id: str = Field(description="The unique identifier of the project.") + title: Optional[str] = Field(default=None, description="The title of the project.") + start_date: Optional[date] = Field( + default=None, description="The funding start date of the project." + ) + end_date: Optional[date] = Field( + default=None, description="The funding end date of the project." + ) + funding_amount: Optional[float] = Field( + default=None, description="The total funding amount for the project." + ) + + @field_validator("start_date", "end_date", mode="before") + @classmethod + def parse_all_date_formats(cls, value): + if isinstance(value, str): + value = value.strip() + + if len(value) == 4 and value.isdigit(): + return f"{value}-01-01" + + if "." in value: + return datetime.datetime.strptime(value, "%d.%m.%Y").date() + + return value + + return value + + @classmethod + def from_cordis_projects_hit(cls, hit: dict) -> "FundingProject": + if not hit.get("_index", "").startswith("cordis_eu_") and not hit.get( + "_index", "" + ).endswith("_projects"): + raise ValueError( + "The provided hit does not belong to an index starting with 'cordis_eu_' and ending with '_projects'." + ) + + source = hit.get("_source", {}) + return cls( + type=ProjectType.EU, + id=hit.get("_id", ""), + title=source.get("title"), + start_date=source.get("startDate"), + end_date=source.get("endDate"), + funding_amount=source.get("ecMacContribution"), + ) + + @classmethod + def from_bund_projects_hit(cls, hit: dict) -> "FundingProject": + if hit.get("_index") != "projects_bund_v1": + raise ValueError( + "The provided hit does not belong to the 'projects_bund_v1' index." + ) + + source = hit.get("_source", {}) + return cls( + type=ProjectType.BUND, + id=source.get("Förderkennzeichen", ""), + title=source.get("Thema"), + start_date=source.get("funding_start"), + end_date=source.get("funding_end"), + funding_amount=source.get("Fördersumme"), + ) + + @classmethod + def from_dfg_projects_hit(cls, hit: dict) -> "FundingProject": + if hit.get("_index") != "projects_dfg_all": + raise ValueError( + "The provided hit does not belong to the 'projects_dfg_all' index." + ) + + source = hit.get("_source", {}) + return cls( + type=ProjectType.DFG, + id=hit.get("_id", ""), + title=source.get("title"), + start_date=source.get("funding_start"), + end_date=source.get("funding_end"), + ) + + +class FundingProjectPage(Page): + elements: List[FundingProject] = Field( + default_factory=list, description="The funding projects on this page." + ) diff --git a/service/src/main/inse/projects/projects_search_client.py b/service/src/main/inse/projects/projects_search_client.py index c448c704..8f8c93cd 100644 --- a/service/src/main/inse/projects/projects_search_client.py +++ b/service/src/main/inse/projects/projects_search_client.py @@ -1,6 +1,6 @@ import json import logging -from typing import Any, Dict, List, Optional +from typing import Any, Dict, List, Literal, Optional, Set import httpx @@ -8,11 +8,21 @@ from inse.config import get_settings from inse.models.bund_project import BundProject from inse.projects.model import ( BundProjectPage, + CordisEuProjectPage, DfgProjectPage, DfgProjectSummary, EuProjectPage, + FundingProject, + FundingProjectPage, + ProjectType, + ProjectsFilteringProperties, + ProjectsSortBy, + SortDirection, ) from inse.models.eu_project import EuProject +from inse.models.dfg_project_details import DfgProjectDetails +from inse.models.bund_project_details import BundProjectDetails +from inse.models.cordis_eu_project import CordisEuProject settings = get_settings() @@ -97,10 +107,12 @@ class ProjectsSearchClient: "Authorization": f"ApiKey {self.api_key}", } - async def make_search_request(self, query: dict) -> dict: + async def make_search_request( + self, query: dict, index: Optional[str] = None + ) -> dict: async with httpx.AsyncClient() as client: response = await client.post( - f"{self.base_url}/{self.index}/_search", + f"{self.base_url}/{index or self.index}/_search", json=query, headers=self.headers, ) @@ -124,19 +136,29 @@ class BundProjectsSearchClient(ProjectsSearchClient): raise ValueError("Elasticsearch INSE API key is missing in settings.") super().__init__( base_url=settings.elasticsearch_inse_url, - index="projects_bund", + index="projects_bund_v1", api_key=settings.elasticsearch_inse_api_key, ) - def bund_projects_query( + def _bund_projects_sort_by_field(self, sort_by: ProjectsSortBy) -> str: + if sort_by == ProjectsSortBy.TITLE: + return "Thema.keyword" + elif sort_by == ProjectsSortBy.FUNDING_START: + return "funding_start" + elif sort_by == ProjectsSortBy.FUNDING_END: + return "funding_end" + elif sort_by == ProjectsSortBy.FUNDING_AMOUNT: + return "Fördersumme" + + def _bund_projects_query( self, page: int, size: int, id: Optional[str] = None, institution_names: List[str] = [], topic: Optional[str] = None, - sort_by: str = "topic", - sort_direction: str = "asc", + sort_by: ProjectsSortBy = ProjectsSortBy.TITLE, + sort_direction: SortDirection = SortDirection.ASC, ) -> dict: from_ = page * size query: Dict[str, Any] = {"size": size, "from": from_, "query": {}} @@ -182,19 +204,9 @@ class BundProjectsSearchClient(ProjectsSearchClient): else: query["query"] = {"match_all": {}} - sort_by = sort_by.strip() - if sort_by == "topic": - sort_by = "Thema.keyword" - elif sort_by == "department": - sort_by = "Ressort_fullname.keyword" - elif sort_by == "grant_amount": - sort_by = "Fördersumme" - - sort_direction = sort_direction.strip().lower() - if sort_direction not in ["asc", "desc"]: - sort_direction = "asc" - - query["sort"] = [{f"{sort_by}": {"order": sort_direction}}] + query["sort"] = [ + {self._bund_projects_sort_by_field(sort_by): {"order": sort_direction}} + ] query_str = json.dumps(query, indent=2) logger.debug(f"Constructed Bund project query: {query_str}") @@ -221,10 +233,10 @@ class BundProjectsSearchClient(ProjectsSearchClient): id: Optional[str] = None, institution_names: List[str] = [], topic: Optional[str] = None, - sort_by: str = "topic", - sort_direction: str = "asc", + sort_by: ProjectsSortBy = ProjectsSortBy.TITLE, + sort_direction: SortDirection = SortDirection.ASC, ) -> BundProjectPage: - query = self.bund_projects_query( + query = self._bund_projects_query( page=page, size=size, id=id, @@ -254,6 +266,24 @@ class BundProjectsSearchClient(ProjectsSearchClient): response = await self.make_search_request(query) return self.response_to_bund_project_page(response, page, size) + async def get_bund_project_by_id( + self, project_id: str + ) -> Optional[BundProjectDetails]: + + query = { + "query": {"term": {"Förderkennzeichen.keyword": {"value": project_id}}}, + "_source": True, + } + + response = await self.make_search_request(query) + hits = response.get("hits", {}).get("hits", []) + if hits: + hit = hits[0] + print(hit) + details = BundProjectDetails.from_elastic_hit(hit=hit) + return details + return None + class EuProjectsSearchClient(ProjectsSearchClient): def __init__(self): @@ -356,8 +386,149 @@ class EuProjectsSearchClient(ProjectsSearchClient): return query + def _eu_projects_id_body(self, eu_organisation_id: str) -> Dict[str, Any]: + body: Dict[str, Any] = { + "size": 0, + "query": { + "bool": {"filter": [{"term": {"organisationID": eu_organisation_id}}]} + }, + "aggs": { + "associated_project_ids": { + "terms": {"field": "projectID", "size": 10000} + } + }, + } + + query_str = json.dumps(body, indent=2) + logger.debug(f"Constructed EU project ID query: {query_str}") + return body + + def _eu_projects_id_response_to_ids(self, response: Dict[str, Any]) -> List[str]: + """Converts the Elasticsearch aggregation response to a list of project IDs. + + Args: + response (Dict[str, Any]): The Elasticsearch aggregation response. + + Returns: + List[str]: A list of project IDs. + """ + buckets = ( + response.get("aggregations", {}) + .get("associated_project_ids", {}) + .get("buckets", []) + ) + ids = [bucket.get("key") for bucket in buckets if "key" in bucket] + logger.debug(f"Extracted project IDs from response: {ids}") + return ids + + def _eu_project_sort_by_field(self, sort_by: ProjectsSortBy) -> str: + if sort_by == ProjectsSortBy.TITLE: + return "title.keyword" + elif sort_by == ProjectsSortBy.FUNDING_START: + return "startDate" + elif sort_by == ProjectsSortBy.FUNDING_END: + return "endDate" + elif sort_by == ProjectsSortBy.FUNDING_AMOUNT: + return "totalCost" + else: + return "id.keyword" + + def _eu_projects_body( + self, + project_ids: List[str], + projects_filtering_properties: ProjectsFilteringProperties, + ) -> Dict[str, Any]: + bool_query: Dict[str, Any] = {"filter": [{"terms": {"id": project_ids}}]} + + if ( + projects_filtering_properties.query is not None + and projects_filtering_properties.query.strip() != "" + ): + bool_query["must"] = [ + { + "match_phrase_prefix": { + "title": { + "query": projects_filtering_properties.query, + "max_expansions": 50, + } + } + } + ] + + body: Dict[str, Any] = { + "from": projects_filtering_properties.page + * projects_filtering_properties.size, + "size": projects_filtering_properties.size, + "query": {"bool": bool_query}, + "sort": [ + { + self._eu_project_sort_by_field( + projects_filtering_properties.sort_by + ): { + "order": projects_filtering_properties.sort_direction, + } + } + ], + } + + query_str = json.dumps(body, indent=2) + logger.debug(f"Constructed EU project details query: {query_str}") + return body + + async def search_eu_projects2( + self, + eu_organisation_id: str, + projects_filtering_properties: ProjectsFilteringProperties, + ) -> CordisEuProjectPage: + projects_id_body = self._eu_projects_id_body(eu_organisation_id) + id_response = await self.make_search_request( + projects_id_body, index="cordis_eu_*_organizations" + ) + project_ids = self._eu_projects_id_response_to_ids(id_response) + logger.debug( + f"Found project IDs for organization ID {eu_organisation_id}: {project_ids}" + ) + if not project_ids: + logger.debug( + f"No project IDs found for organization ID {eu_organisation_id}" + ) + return CordisEuProjectPage( + elements=[], + total=0, + page=projects_filtering_properties.page, + size=projects_filtering_properties.size, + ) + projects_body = self._eu_projects_body( + project_ids=project_ids, + projects_filtering_properties=projects_filtering_properties, + ) + projects_response = await self.make_search_request( + projects_body, index="cordis_eu_*_projects" + ) + logger.debug( + f"Received projects response: {json.dumps(projects_response, indent=2)}" + ) + return self._response_to_cordis_eu_project_page( + projects_response, + projects_filtering_properties.page, + projects_filtering_properties.size, + ) + + def _response_to_cordis_eu_project_page( + self, response: Dict[str, Any], page: int, size: int + ) -> CordisEuProjectPage: + hits_block = response.get("hits", {}) + total_hits = hits_block.get("total", {}).get("value", 0) + elements = [ + CordisEuProject.model_validate(hit["_source"]) + for hit in hits_block.get("hits", []) + ] + return CordisEuProjectPage( + elements=elements, total=total_hits, page=page, size=size + ) + def response_to_eu_project_page( - self, response: dict, page: int, size: int + self, response: Dict[str, Any], page: int, size: int ) -> EuProjectPage: hits_block = response.get("hits", {}) total_hits = hits_block.get("total", {}).get("value", 0) @@ -623,3 +794,147 @@ class DfgProjectsSearchClient(ProjectsSearchClient): ) response = await self.make_search_request(query) return self.response_to_dfg_project_page(response, page, size) + + async def get_dfg_project_by_id( + self, project_id: str + ) -> Optional[DfgProjectDetails]: + query = {"query": {"ids": {"values": [project_id]}}, "_source": True} + + response = await self.make_search_request(query) + hits = response.get("hits", {}).get("hits", []) + + if hits: + hit = hits[0] + details = DfgProjectDetails.from_elastic_hit(hit=hit) + return details + return None + + +class CompleteProjectsSearchClient(ProjectsSearchClient): + def __init__(self): + if not settings.elasticsearch_inse_url: + raise ValueError("Elasticsearch INSE URL is missing in settings.") + if not settings.elasticsearch_inse_api_key: + raise ValueError("Elasticsearch INSE API key is missing in settings.") + super().__init__( + base_url=settings.elasticsearch_inse_url, + index="cordis_eu_*_projects,projects_bund_v1,projects_dfg_all", + api_key=settings.elasticsearch_inse_api_key, + ) + + def _build_projects_search_body( + self, + page: int, + size: int, + title: Optional[str] = None, + sort_by: ProjectsSortBy = ProjectsSortBy.TITLE, + sort_direction: SortDirection = SortDirection.ASC, + ) -> Dict[str, Any]: + if sort_by != ProjectsSortBy.TITLE: + raise ValueError("Currently only sorting by title is supported.") + + query: Dict[str, Any] = { + "size": size, + "from": page * size, + "sort": [ + { + "title.keyword": { + "order": sort_direction, + "missing": "_last", + "unmapped_type": "keyword", + } + }, + { + "Thema.keyword": { + "order": sort_direction, + "missing": "_last", + "unmapped_type": "keyword", + } + }, + ], + } + + if title and len(title.strip()) > 0: + title = f"*{title.strip()}*" + query["query"] = { + "bool": { + "should": [ + { + "wildcard": { + "title.keyword": { + "value": title, + "case_insensitive": True, + } + } + }, + { + "wildcard": { + "Thema.keyword": { + "value": title, + "case_insensitive": True, + } + } + }, + ], + "minimum_should_match": 1, + } + } + + return query + + def _project_type_to_index(self, project_type: ProjectType) -> str: + if project_type == ProjectType.BUND: + return "projects_bund_v1" + elif project_type == ProjectType.EU: + return "cordis_eu_*_projects" + elif project_type == ProjectType.DFG: + return "projects_dfg_all" + else: + raise ValueError(f"Unsupported project type: {project_type}") + + def _hit_to_funding_project(self, hit: Dict[str, Any]) -> FundingProject: + if hit.get("_index", "").startswith("cordis_eu_") and hit.get( + "_index", "" + ).endswith("_projects"): + return FundingProject.from_cordis_projects_hit(hit=hit) + elif hit.get("_index") == "projects_bund_v1": + return FundingProject.from_bund_projects_hit(hit=hit) + elif hit.get("_index") == "projects_dfg_all": + return FundingProject.from_dfg_projects_hit(hit=hit) + else: + raise ValueError( + "The provided hit does not belong to a recognized project index." + ) + + def _response_to_funding_project_page( + self, response: Dict[str, Any], page: int, size: int + ) -> FundingProjectPage: + hits = response.get("hits", {}).get("hits", []) + projects = [self._hit_to_funding_project(hit=hit) for hit in hits] + total = response.get("hits", {}).get("total", {}).get("value", 0) + return FundingProjectPage(elements=projects, total=total, page=page, size=size) + + async def search_projects( + self, + page: int, + size: int, + selected_project_types: Optional[Set[ProjectType]] = None, + title: Optional[str] = None, + sort_by: ProjectsSortBy = ProjectsSortBy.TITLE, + sort_direction: SortDirection = SortDirection.ASC, + ): + body = self._build_projects_search_body( + page=page, + size=size, + title=title, + sort_by=sort_by, + sort_direction=sort_direction, + ) + if not selected_project_types: + selected_project_types = {ProjectType.BUND, ProjectType.EU, ProjectType.DFG} + index = ",".join( + self._project_type_to_index(pt) for pt in selected_project_types + ) + + projects_response = await self.make_search_request(body, index=index) + return self._response_to_funding_project_page(projects_response, page, size) diff --git a/service/src/main/inse/projects/router.py b/service/src/main/inse/projects/router.py index cf8e2a12..60beae82 100644 --- a/service/src/main/inse/projects/router.py +++ b/service/src/main/inse/projects/router.py @@ -1,21 +1,34 @@ from functools import lru_cache import logging -from typing import Annotated, Optional +from typing import Annotated, Optional, Set -from fastapi import APIRouter, Depends, Query, status +from fastapi import APIRouter, Body, Depends, Path, Query, status -from inse.projects.model import BundProjectPage, DfgProjectPage, EuProjectPage +from inse.projects.model import ( + BundProjectPage, + CordisEuProjectPage, + DfgProjectPage, + FundingProjectPage, + InstitutionFunderSummary, + ProjectType, + ProjectsFilteringProperties, + ProjectsSortBy, + SortDirection, +) +from inse.models.dfg_project_details import DfgProjectDetails +from inse.models.bund_project_details import BundProjectDetails from inse.tags import Tags from inse.projects import service as projects_service from inse.projects.projects_search_client import ( BundProjectsSearchClient, + CompleteProjectsSearchClient, DfgProjectsSearchClient, EuProjectsSearchClient, ) from inse.institutions.institutions_search_client import ( InstitutionsSearchClient, ) -from inse.institutions.service import get_institutions_search_client +from inse.institutions.router import get_institutions_search_client logger = logging.getLogger(__name__) @@ -37,11 +50,16 @@ def get_dfg_search_client() -> DfgProjectsSearchClient: return DfgProjectsSearchClient() -@router.get( +@lru_cache +def get_complete_projects_search_client() -> CompleteProjectsSearchClient: + return CompleteProjectsSearchClient() + + +@router.post( "/institution/bund/search", summary="Get bund projects.", description="Returns a page of bund projects based on the provided pagination parameters and optional institution filter.", - operation_id="getBundProjects", + operation_id="searchBundProjects", responses={ status.HTTP_200_OK: { "description": "Successful Response", @@ -51,79 +69,169 @@ def get_dfg_search_client() -> DfgProjectsSearchClient: }, response_model_by_alias=False, ) -async def get_bund_projects( +async def search_bund_projects( bund_search_client: Annotated[ BundProjectsSearchClient, Depends(get_bund_search_client) ], institutions_search_client: Annotated[ InstitutionsSearchClient, Depends(get_institutions_search_client) ], - institution_id: Annotated[ - str, Query(description="The institution ID to filter by.") + filtering_properties: Annotated[ + ProjectsFilteringProperties, + Body(description="The filtering properties for the projects search."), ], - topic: Annotated[ - Optional[str], Query(description="The topic to filter by.") - ] = None, - page: Annotated[int, Query(description="The page number.", ge=0)] = 0, - size: Annotated[int, Query(description="The page size.", ge=1)] = 20, - sort_by: Annotated[str, Query(description="The field to sort by.")] = "topic", - sort_direction: Annotated[ - str, Query(description="The sort direction (asc or desc).") - ] = "asc", ) -> BundProjectPage: - return await projects_service.get_bund_projects_by_institution_id( + return await projects_service.search_bund_projects( bund_search_client=bund_search_client, institutions_search_client=institutions_search_client, - institution_id=institution_id, - page=page, - size=size, - topic=topic, - sort_by=sort_by, - sort_direction=sort_direction, + filtering_properties=filtering_properties, ) @router.get( - "/institution/eu/search", - summary="Get EU projects.", - description="Returns a page of EU projects based on the provided pagination parameters and optional institution filter.", - operation_id="getEuProjects", + "/dfg/{id}", + summary="Get a single DFG project.", + description="Returns a single DFG project based on its ID.", + operation_id="getSingleDfgProject", responses={ status.HTTP_200_OK: { "description": "Successful Response", - "model": EuProjectPage, + "model": DfgProjectDetails, + }, + status.HTTP_404_NOT_FOUND: {"description": "Project not found"}, + }, + response_model_by_alias=False, +) +async def get_single_dfg_project( + dfg_search_client: Annotated[ + DfgProjectsSearchClient, Depends(get_dfg_search_client) + ], + id: Annotated[str, Path(description="The ID of the DFG project to retrieve.")], +) -> DfgProjectDetails: + logger.debug(f"Received request to get single DFG project for id={id}") + return await projects_service.get_single_dfg_project( + dfg_search_client=dfg_search_client, + project_id=id, + ) + + +@router.get( + "/bund/{id}", + summary="Get a single BUND project.", + description="Returns a single BUND project based on its ID.", + operation_id="getSingleBundProject", + responses={ + status.HTTP_200_OK: { + "description": "Successful Response", + "model": BundProjectDetails, + }, + status.HTTP_404_NOT_FOUND: {"description": "Project not found"}, + }, + response_model_by_alias=False, +) +async def get_single_bund_project( + bund_search_client: Annotated[ + BundProjectsSearchClient, Depends(get_bund_search_client) + ], + id: Annotated[str, Path(description="The ID of the BUND project to retrieve.")], +) -> BundProjectDetails: + logger.debug(f"Received request to get single BUND project for id={id}") + return await projects_service.get_single_bund_project( + bund_search_client=bund_search_client, + project_id=id, + ) + + +@router.get( + "/institution/bund/funding-over-time", + summary="Get funding over time for bund projects.", + description="Returns the funding over time for bund projects associated with the specified institution.", + operation_id="getInstitutionBundProjectsFundingOverTime", + responses={ + status.HTTP_200_OK: { + "description": "Successful Response", + "model": InstitutionFunderSummary, }, status.HTTP_404_NOT_FOUND: {"description": "Institution not found"}, }, response_model_by_alias=False, ) -async def get_eu_projects( +async def get_institution_bund_projects_funding_over_time( + bund_search_client: Annotated[ + BundProjectsSearchClient, Depends(get_bund_search_client) + ], + institutions_search_client: Annotated[ + InstitutionsSearchClient, Depends(get_institutions_search_client) + ], + raw_oa_institution_id: Annotated[ + str, Query(description="The institution ID to filter by.") + ], +) -> InstitutionFunderSummary: + return await projects_service.get_institution_bund_projects_funding_over_time( + bund_search_client=bund_search_client, + institutions_search_client=institutions_search_client, + raw_oa_institution_id=raw_oa_institution_id, + ) + + +@router.post( + "/institution/eu/search", + summary="Get EU projects.", + description="Returns a page of EU projects based on the provided pagination parameters and optional institution filter.", + operation_id="searchCordisEuProjects", + responses={ + status.HTTP_200_OK: { + "description": "Successful Response", + "model": CordisEuProjectPage, + }, + status.HTTP_404_NOT_FOUND: {"description": "Institution not found"}, + }, + response_model_by_alias=False, +) +async def search_cordis_eu_projects( eu_search_client: Annotated[EuProjectsSearchClient, Depends(get_eu_search_client)], institutions_search_client: Annotated[ InstitutionsSearchClient, Depends(get_institutions_search_client) ], - institution_id: Annotated[ - str, Query(description="The institution ID to filter by.") + projects_filtering_properties: Annotated[ + ProjectsFilteringProperties, + Body(description="The filtering properties for the projects search."), ], - topic: Annotated[ - Optional[str], Query(description="The topic to filter by.") - ] = None, - page: Annotated[int, Query(description="The page number.", ge=0)] = 0, - size: Annotated[int, Query(description="The page size.", ge=1)] = 20, - sort_by: Annotated[str, Query(description="The field to sort by.")] = "topic", - sort_direction: Annotated[ - str, Query(description="The sort direction (asc or desc).") - ] = "asc", -) -> EuProjectPage: - return await projects_service.get_eu_projects_by_institution_id( +) -> CordisEuProjectPage: + return await projects_service.search_cordis_eu_projects( eu_search_client=eu_search_client, institutions_search_client=institutions_search_client, - institution_id=institution_id, - topic=topic, - page=page, - size=size, - sort_by=sort_by, - sort_direction=sort_direction, + projects_filtering_properties=projects_filtering_properties, + ) + + +@router.get( + "/institution/eu/funding-over-time", + summary="Get funding over time for EU projects.", + description="Returns the funding over time for EU projects associated with the specified institution.", + operation_id="getInstitutionCordisEuProjectsFundingOverTime", + responses={ + status.HTTP_200_OK: { + "description": "Successful Response", + "model": InstitutionFunderSummary, + }, + status.HTTP_404_NOT_FOUND: {"description": "Institution not found"}, + }, + response_model_by_alias=False, +) +async def get_institution_cordis_eu_projects_funding_over_time( + eu_search_client: Annotated[EuProjectsSearchClient, Depends(get_eu_search_client)], + institutions_search_client: Annotated[ + InstitutionsSearchClient, Depends(get_institutions_search_client) + ], + raw_oa_institution_id: Annotated[ + str, Query(description="The institution ID to filter by.") + ], +) -> InstitutionFunderSummary: + return await projects_service.get_institution_cordis_eu_projects_funding_over_time( + eu_search_client=eu_search_client, + institutions_search_client=institutions_search_client, + raw_oa_institution_id=raw_oa_institution_id, ) @@ -174,3 +282,49 @@ async def get_dfg_projects( sort_by=sort_by, sort_direction=sort_direction, ) + + +@router.get( + "/search", + summary="Search projects across all funders.", + description="Returns a page of projects across all funders based on the provided pagination parameters and optional institution filter.", + operation_id="searchProjects", + responses={ + status.HTTP_200_OK: { + "description": "Successful Response", + "model": FundingProjectPage, + }, + }, + response_model_by_alias=False, +) +async def search_projects( + complete_projects_search_client: Annotated[ + CompleteProjectsSearchClient, Depends(get_complete_projects_search_client) + ], + page: Annotated[int, Query(description="The page number.", ge=0)] = 0, + size: Annotated[int, Query(description="The page size.", ge=1)] = 10, + selected_project_types: Annotated[ + Optional[Set[ProjectType]], + Query( + description="The set of project types to filter by (e.g., 'bund', 'eu', 'dfg'). If not provided, projects of all types will be included." + ), + ] = None, + title: Annotated[ + Optional[str], Query(description="The title to filter by.") + ] = None, + sort_by: Annotated[ + ProjectsSortBy, Query(description="The field to sort by.") + ] = ProjectsSortBy.TITLE, + sort_direction: Annotated[ + SortDirection, Query(description="The sort direction (asc or desc).") + ] = SortDirection.ASC, +) -> FundingProjectPage: + return await projects_service.search_projects( + projects_search_client=complete_projects_search_client, + page=page, + size=size, + selected_project_types=selected_project_types, + title=title, + sort_by=sort_by, + sort_direction=sort_direction, + ) diff --git a/service/src/main/inse/projects/service.py b/service/src/main/inse/projects/service.py index f6693a57..83f55211 100644 --- a/service/src/main/inse/projects/service.py +++ b/service/src/main/inse/projects/service.py @@ -1,12 +1,27 @@ +import datetime import logging -from typing import List, Optional +from typing import Any, Dict, List, Optional, Set from inse.projects.projects_search_client import ( BundProjectsSearchClient, + CompleteProjectsSearchClient, DfgProjectsSearchClient, EuProjectsSearchClient, ) -from inse.projects.model import BundProjectPage, DfgProjectPage, EuProjectPage +from inse.projects.model import ( + BundProjectPage, + CordisEuProjectPage, + DfgProjectPage, + EuProjectPage, + FundingProjectPage, + InstitutionFunderSummary, + ProjectType, + ProjectsFilteringProperties, + ProjectsSortBy, + SortDirection, +) +from inse.models.dfg_project_details import DfgProjectDetails +from inse.models.bund_project_details import BundProjectDetails from inse.institutions.institutions_search_client import ( InstitutionsSearchClient, ) @@ -16,41 +31,133 @@ from inse.persons.logic import get_author_name_by_id logger = logging.getLogger(__name__) +async def search_projects( + projects_search_client: CompleteProjectsSearchClient, + page: int, + size: int, + sort_by: ProjectsSortBy, + sort_direction: SortDirection, + selected_project_types: Optional[Set[ProjectType]] = None, + title: Optional[str] = None, +) -> FundingProjectPage: + return await projects_search_client.search_projects( + page=page, + size=size, + selected_project_types=selected_project_types, + title=title, + sort_by=sort_by, + sort_direction=sort_direction, + ) + + +async def search_bund_projects( + bund_search_client: BundProjectsSearchClient, + institutions_search_client: InstitutionsSearchClient, + filtering_properties: ProjectsFilteringProperties, +) -> BundProjectPage: + if filtering_properties.project_type != "bund": + raise ValueError( + f"Invalid project type: {filtering_properties.project_type}. Expected 'bund'." + ) + + return await get_bund_projects_by_institution_id( + bund_search_client=bund_search_client, + institutions_search_client=institutions_search_client, + filtering_properties=filtering_properties, + ) + + async def get_bund_projects_by_institution_id( bund_search_client: BundProjectsSearchClient, institutions_search_client: InstitutionsSearchClient, - institution_id: str, - page: int, - size: int, - topic: Optional[str], - sort_by: str = "topic", - sort_direction: str = "asc", + filtering_properties: ProjectsFilteringProperties, ) -> BundProjectPage: + if filtering_properties.raw_oa_institution_id is None: + raise ValueError("raw_oa_institution_id must be provided") + logger.info( - f"Fetching bund projects for institution_id={institution_id}, page={page}, size={size}" + f"Fetching bund projects for institution_id={filtering_properties.raw_oa_institution_id}, page={filtering_properties.page}, size={filtering_properties.size}" ) - institution_aliases = ( - await institutions_search_client.get_institution_aliases_by_id(institution_id) + institution_aliases = institutions_search_client.get_institution_aliases_by_id( + filtering_properties.raw_oa_institution_id ) logger.debug( - f"Found institution aliases for institution_id={institution_id}: {institution_aliases}" + f"Found institution aliases for institution_id={filtering_properties.raw_oa_institution_id}: {institution_aliases}" ) response = await bund_search_client.search_bund_projects( - page=page, - size=size, + page=filtering_properties.page, + size=filtering_properties.size, institution_names=institution_aliases, - topic=topic, - sort_by=sort_by, - sort_direction=sort_direction, + topic=filtering_properties.query, + sort_by=filtering_properties.sort_by, + sort_direction=filtering_properties.sort_direction, ) logger.debug(f"get_bund_projects_by_institution_id response: {response}") return response +async def search_cordis_eu_projects( + eu_search_client: EuProjectsSearchClient, + institutions_search_client: InstitutionsSearchClient, + projects_filtering_properties: ProjectsFilteringProperties, +) -> CordisEuProjectPage: + if projects_filtering_properties.project_type != "eu": + raise ValueError( + f"Invalid project type: {projects_filtering_properties.project_type}. Expected 'eu'." + ) + + return await get_cordis_eu_projects_by_institution_id( + eu_search_client=eu_search_client, + institutions_search_client=institutions_search_client, + projects_filtering_properties=projects_filtering_properties, + ) + + +async def get_cordis_eu_projects_by_institution_id( + eu_search_client: EuProjectsSearchClient, + institutions_search_client: InstitutionsSearchClient, + projects_filtering_properties: ProjectsFilteringProperties, +) -> CordisEuProjectPage: + if not projects_filtering_properties.raw_oa_institution_id: + raise ValueError( + "raw_oa_institution_id must be provided to fetch CORDIS EU projects by institution ID" + ) + + logger.info( + f"Fetching CORDIS EU projects for institution_id={projects_filtering_properties.raw_oa_institution_id}, page={projects_filtering_properties.page}, size={projects_filtering_properties.size}" + ) + institution_aliases = institutions_search_client.get_institution_aliases_by_id( + projects_filtering_properties.raw_oa_institution_id + ) + logger.debug( + f"Found institution aliases for institution_id={projects_filtering_properties.raw_oa_institution_id}: {institution_aliases}" + ) + + institution_eu_organisation_id = await ( + institutions_search_client.get_eu_organisation_id_by_oa_institution_id( + projects_filtering_properties.raw_oa_institution_id + ) + ) + if not institution_eu_organisation_id: + logger.debug( + f"No EU organization ID found for institution_id={projects_filtering_properties.raw_oa_institution_id}" + ) + raise NotFoundException( + f"EU organization ID for institution with id {projects_filtering_properties.raw_oa_institution_id} not found" + ) + + cordis_eu_project_page = await eu_search_client.search_eu_projects2( + eu_organisation_id=institution_eu_organisation_id, + projects_filtering_properties=projects_filtering_properties, + ) + + return cordis_eu_project_page + + async def get_eu_projects_by_institution_id( eu_search_client: EuProjectsSearchClient, institutions_search_client: InstitutionsSearchClient, - institution_id: str, + raw_oa_institution_id: str, topic: Optional[str], page: int, size: int, @@ -58,14 +165,28 @@ async def get_eu_projects_by_institution_id( sort_direction: str = "asc", ) -> EuProjectPage: logger.info( - f"Fetching EU projects for institution_id={institution_id}, page={page}, size={size}" + f"Fetching EU projects for institution_id={raw_oa_institution_id}, page={page}, size={size}" ) - institution_aliases = ( - await institutions_search_client.get_institution_aliases_by_id(institution_id) + institution_aliases = institutions_search_client.get_institution_aliases_by_id( + raw_oa_institution_id ) logger.debug( - f"Found institution aliases for institution_id={institution_id}: {institution_aliases}" + f"Found institution aliases for institution_id={raw_oa_institution_id}: {institution_aliases}" ) + + institution_eu_organisation_id = await ( + institutions_search_client.get_eu_organisation_id_by_oa_institution_id( + raw_oa_institution_id + ) + ) + if not institution_eu_organisation_id: + logger.debug( + f"No EU organization ID found for institution_id={raw_oa_institution_id}" + ) + raise NotFoundException( + f"EU organization ID for institution with id {raw_oa_institution_id} not found" + ) + response = await eu_search_client.search_eu_projects( page=page, size=size, @@ -78,30 +199,6 @@ async def get_eu_projects_by_institution_id( return response -async def get_bund_projects_by_institution_name( - bund_search_client: BundProjectsSearchClient, - page: int, - size: int, - institution_names: List[str] = [], - sort_by: str = "topic", - sort_direction: str = "asc", -) -> BundProjectPage: - logger.info( - f"Fetching bund projects for institution_names={institution_names}, page={page}, size={size}" - ) - response = await bund_search_client.search_bund_projects( - page=page, - size=size, - institution_names=institution_names, - sort_by=sort_by, - sort_direction=sort_direction, - ) - - logger.debug(f"get_bund_projects_by_institution_name response: {response}") - - return response - - async def get_dfg_projects_by_author_id( dfg_search_client: DfgProjectsSearchClient, author_id: str, @@ -131,3 +228,150 @@ async def get_dfg_projects_by_author_id( sort_direction=sort_direction, ) return response + + +async def get_institution_cordis_eu_projects_funding_over_time( + eu_search_client: EuProjectsSearchClient, + institutions_search_client: InstitutionsSearchClient, + raw_oa_institution_id: str, +) -> InstitutionFunderSummary: + + cordis_eu_project_page = await search_cordis_eu_projects( + eu_search_client, + institutions_search_client, + ProjectsFilteringProperties( + project_type=ProjectType.EU, + raw_oa_institution_id=raw_oa_institution_id, + page=0, + size=10000, + ), + ) + + return _calculate_funding_over_time( + project_type=ProjectType.EU, + projects=cordis_eu_project_page.elements, + funding_start_attr="startDate", + funding_end_attr="endDate", + funding_amount_attr="totalCost", + ) + + +async def get_institution_bund_projects_funding_over_time( + bund_search_client: BundProjectsSearchClient, + institutions_search_client: InstitutionsSearchClient, + raw_oa_institution_id: str, +) -> InstitutionFunderSummary: + logger.info( + f"Fetching funding over time for institution_id={raw_oa_institution_id}" + ) + institution_aliases = institutions_search_client.get_institution_aliases_by_id( + raw_oa_institution_id + ) + logger.debug( + f"Found institution aliases for institution_id={raw_oa_institution_id}: {institution_aliases}" + ) + response = await bund_search_client.search_bund_projects( + page=0, + size=10000, + institution_names=institution_aliases, + ) + + return _calculate_funding_over_time( + project_type=ProjectType.BUND, + projects=response.elements, + funding_start_attr="funding_start", + funding_end_attr="funding_end", + funding_amount_attr="grant_amount", + ) + + +def _calculate_funding_over_time( + project_type: ProjectType, + projects: List[Any], + funding_start_attr: str, + funding_end_attr: str, + funding_amount_attr: str, +) -> InstitutionFunderSummary: + funding_per_year: Dict[int, float] = {} + + for project in projects: + funding_start = getattr(project, funding_start_attr) + funding_end = getattr(project, funding_end_attr) + funding_amount = getattr(project, funding_amount_attr) + if not funding_start or not funding_end or not funding_amount: + continue + + if hasattr(funding_start, "date"): + funding_start = funding_start.date() + if hasattr(funding_end, "date"): + funding_end = funding_end.date() + + delta = (funding_end - funding_start).days + 1 + if delta <= 0: + continue + + amount_per_day = funding_amount / delta + start_year = funding_start.year + end_year = funding_end.year + + for year in range(start_year, end_year + 1): + if year == start_year: + year_start = funding_start + else: + year_start = datetime.date(year, 1, 1) + + if year == end_year: + year_end = funding_end + else: + year_end = datetime.date(year, 12, 31) + + days_in_year = (year_end - year_start).days + 1 + proportional_share = days_in_year * amount_per_day + + funding_per_year[year] = ( + funding_per_year.get(year, 0.0) + proportional_share + ) + + sorted_funding_per_year: Dict[int, float] = {} + + if funding_per_year: + min_year = min(funding_per_year.keys()) + max_year = max(funding_per_year.keys()) + + for year in range(min_year, max_year + 1): + sorted_funding_per_year[year] = funding_per_year.get(year, 0.0) + + total_sum = sum(sorted_funding_per_year.values()) + annual_average_over_period = total_sum / len(sorted_funding_per_year) + else: + annual_average_over_period = 0.0 + + return InstitutionFunderSummary( + type=project_type, + funding_per_year=sorted_funding_per_year, + annual_average_over_period=annual_average_over_period, + ) + + +async def get_single_dfg_project( + dfg_search_client: DfgProjectsSearchClient, + project_id: str, +) -> DfgProjectDetails: + logger.debug(f"Fetching single DFG project for id={project_id}") + + project = await dfg_search_client.get_dfg_project_by_id(project_id) + if not project: + raise NotFoundException(f"DFG project with id {project_id} not found") + return project + + +async def get_single_bund_project( + bund_search_client: BundProjectsSearchClient, + project_id: str, +) -> BundProjectDetails: + logger.debug(f"Fetching single BUND project for id={project_id}") + + project = await bund_search_client.get_bund_project_by_id(project_id) + if not project: + raise NotFoundException(f"BUND project with id {project_id} not found") + return project diff --git a/service/src/main/inse/university_ranking/logic.py b/service/src/main/inse/university_ranking/logic.py new file mode 100644 index 00000000..bd1e58f9 --- /dev/null +++ b/service/src/main/inse/university_ranking/logic.py @@ -0,0 +1,113 @@ +import logging +from typing import List, Dict, Any +from .model import UniversityTopicData, YearlyData, UniversityRanking, ResearchTopic, DashboardMetric, RankingResponse +from inse.integrations import elasticsearch + +logger = logging.getLogger(__name__) + +START_YEAR = 2015 +END_YEAR = 2026 + +async def get_ranking_data(topic: ResearchTopic, metric: DashboardMetric) -> RankingResponse: + """ + Fetches real data from Elasticsearch and computes metrics for the dashboard. + """ + query = { + "bool": { + "must": [ + { + "match_phrase": { + "topics.display_name": topic + } + }, + { + "term": { + "geo.country_code": "DE" + } + } + ] + } + } + + + # Fetch top institutions for the topic by works_count + res = elasticsearch.search( + index="openalex-institutions", + query=query, + size=10, + sort=[{"works_count": "desc"}], + cluster="nes" + ) + + hits = res.get("hits", {}).get("hits", []) + timeseries: List[UniversityTopicData] = [] + + for hit in hits: + source = hit["_source"] + # Map the counts_by_year from ES to our model + # We ensure every year from START_YEAR to END_YEAR is present, defaulting to 0 + es_counts = {c["year"]: c for c in source.get("counts_by_year", [])} + + yearly_data = [] + for year in range(START_YEAR, END_YEAR + 1): + count_item = es_counts.get(year, {}) + yearly_data.append(YearlyData( + year=year, + publications=count_item.get("works_count", 0), + citations=count_item.get("cited_by_count", 0) + )) + + timeseries.append(UniversityTopicData( + university=source.get("display_name", "Unknown"), + topic=topic, + yearly_data=yearly_data + )) + + rankings = _compute_rankings(timeseries, metric) + + return RankingResponse(timeseries=timeseries, rankings=rankings) + +def _compute_rankings(data: List[UniversityTopicData], metric: DashboardMetric) -> List[UniversityRanking]: + """Computes ranking metrics based on the timeseries data.""" + latest_year = END_YEAR + five_years_ago = latest_year - 5 + three_years_ago = latest_year - 3 + + processed: List[Dict[str, Any]] = [] + for item in data: + latest = next((d for d in item.yearly_data if d.year == latest_year), YearlyData(year=latest_year, publications=0, citations=0)) + prev = next((d for d in item.yearly_data if d.year == latest_year - 1), YearlyData(year=latest_year-1, publications=0, citations=0)) + start_range = next((d for d in item.yearly_data if d.year == five_years_ago), YearlyData(year=five_years_ago, publications=0, citations=0)) + mover_range = next((d for d in item.yearly_data if d.year == three_years_ago), YearlyData(year=three_years_ago, publications=0, citations=0)) + + curr_val = getattr(latest, metric) or 0 + prev_val = getattr(prev, metric) or 0 + old_val = getattr(start_range, metric) or 0 + mover_old_val = getattr(mover_range, metric) or 0 + + growth_rate = ((curr_val - old_val) / old_val * 100) if old_val > 0 else 0 + recent_growth = ((curr_val - mover_old_val) / mover_old_val * 100) if mover_old_val > 0 else 0 + + processed.append({ + "university": item.university, + "publications": latest.publications, + "citations": latest.citations, + "growth_rate": growth_rate, + "trend": 'up' if curr_val > prev_val else ('down' if curr_val < prev_val else 'stable'), + "recent_growth": recent_growth, + "sort_val": curr_val + }) + + processed.sort(key=lambda x: x["sort_val"], reverse=True) + # Top movers: top 2 by recent growth + growth_sorted = sorted([p["recent_growth"] for p in processed], reverse=True) + threshold = growth_sorted[1] if len(growth_sorted) > 1 else 0 + + return [ + UniversityRanking( + rank=i + 1, + is_top_mover=p["recent_growth"] >= threshold and p["recent_growth"] > 0, + **{k: v for k, v in p.items() if k != "sort_val" and k != "recent_growth"} + ) + for i, p in enumerate(processed) + ] \ No newline at end of file diff --git a/service/src/main/inse/university_ranking/model.py b/service/src/main/inse/university_ranking/model.py new file mode 100644 index 00000000..1b4b8605 --- /dev/null +++ b/service/src/main/inse/university_ranking/model.py @@ -0,0 +1,30 @@ +from pydantic import BaseModel +from typing import List, Literal + +ResearchTopic = Literal['Artificial Intelligence', 'Quantum Computing', 'Renewable Energy', 'Biotechnology'] +DashboardMetric = Literal['publications', 'citations'] + +class YearlyData(BaseModel): + year: int + publications: int + citations: int + +class UniversityTopicData(BaseModel): + university: str + topic: ResearchTopic + yearly_data: List[YearlyData] + +class UniversityRanking(BaseModel): + rank: int + university: str + publications: int + citations: int + growth_rate: float + trend: Literal['up', 'down', 'stable'] + is_top_mover: bool + +class RankingResponse(BaseModel): + # Raw timeseries data for the ECharts line race + timeseries: List[UniversityTopicData] + # Computed metrics for the ranking table + rankings: List[UniversityRanking] \ No newline at end of file diff --git a/service/src/main/inse/university_ranking/router.py b/service/src/main/inse/university_ranking/router.py new file mode 100644 index 00000000..60c52c9d --- /dev/null +++ b/service/src/main/inse/university_ranking/router.py @@ -0,0 +1,23 @@ +from fastapi import APIRouter, Query +from . import service +from .model import RankingResponse, ResearchTopic, DashboardMetric +from inse.tags import Tags + +router = APIRouter( + prefix="/api/inse-service/university-rankings", + tags=[Tags.INSTITUTIONS] +) + +@router.get( + "", + response_model=RankingResponse, + summary="Returns data for the University Ranking Dashboard." +) +async def get_rankings( + topic: ResearchTopic = Query( + ..., + description="Research topic (e.g., 'Artificial Intelligence')" + ), + metric: DashboardMetric = Query("publications", description="Metric to rank by") +): + return await service.get_university_dashboard_data(topic, metric) \ No newline at end of file diff --git a/service/src/main/inse/university_ranking/service.py b/service/src/main/inse/university_ranking/service.py new file mode 100644 index 00000000..4eac89e6 --- /dev/null +++ b/service/src/main/inse/university_ranking/service.py @@ -0,0 +1,6 @@ +from . import logic +from .model import RankingResponse, ResearchTopic, DashboardMetric + +async def get_university_dashboard_data(topic: ResearchTopic, metric: DashboardMetric) -> RankingResponse: + """Orchestrates data retrieval and computation for the dashboard.""" + return await logic.get_ranking_data(topic, metric) \ No newline at end of file diff --git a/service/src/main/inse/works/logic.py b/service/src/main/inse/works/logic.py index 0addb229..fd132d5d 100644 --- a/service/src/main/inse/works/logic.py +++ b/service/src/main/inse/works/logic.py @@ -6,7 +6,7 @@ Business logic for publication works. import logging from time import time -from typing import List +from typing import Any, List import httpx from fastapi import HTTPException @@ -330,6 +330,30 @@ async def get_topics_by_time_by_author( target_publications: int = 300, include_all: bool = False, client: OpenAlexWorksSearchClient | None = None, +) -> TopicsByTime: + if client is not None: + return await _get_topics_by_time_by_author_from_work_pages( + author_id, + max_topics_per_year=max_topics_per_year, + target_publications=target_publications, + include_all=include_all, + client=client, + ) + + return _get_topics_by_time_by_author_from_es( + author_id, + max_topics_per_year=max_topics_per_year, + target_publications=target_publications, + include_all=include_all, + ) + + +async def _get_topics_by_time_by_author_from_work_pages( + author_id: str, + max_topics_per_year: int = 3, + target_publications: int = 300, + include_all: bool = False, + client: OpenAlexWorksSearchClient | None = None, ) -> TopicsByTime: if include_all: works = await get_all_author_works(author_id, client=client) @@ -461,6 +485,304 @@ async def get_topics_by_time_by_author( ) +def _get_topics_by_time_by_author_from_es( + author_id: str, + max_topics_per_year: int = 3, + target_publications: int = 300, + include_all: bool = False, +) -> TopicsByTime: + year_buckets, total_publications = _get_publication_year_counts_from_es(author_id) + selected_years, is_limited = _select_complete_timeline_years( + year_buckets, + target_publications=target_publications, + include_all=include_all, + ) + + if not selected_years: + return TopicsByTime( + elements=[], + total=0, + is_limited=False, + used_publications=0, + total_publications=total_publications, + ) + + year_topic_buckets = _get_timeline_topic_counts_from_es( + author_id, + years=selected_years, + max_topics_per_year=max_topics_per_year, + ) + topic_ids = _collect_topic_ids_from_year_buckets(year_topic_buckets) + topic_details = _get_topic_details(list(topic_ids)) + + elements = _build_timeline_elements_from_aggregations( + year_topic_buckets, + topic_details=topic_details, + max_topics_per_year=max_topics_per_year, + ) + + return TopicsByTime( + elements=elements, + total=len(elements), + is_limited=is_limited, + used_publications=sum(element.publication_count for element in elements), + total_publications=total_publications, + ) + + +def _get_publication_year_counts_from_es(author_id: str) -> tuple[list[dict], int]: + body = { + "size": 0, + "track_total_hits": True, + "query": _author_works_query(author_id), + "aggs": { + "publication_years": { + "terms": { + "field": "publication_year", + "size": 300, + "order": {"_key": "desc"}, + }, + }, + }, + } + + try: + response = elasticsearch.search( + index=config.settings.openalex_works_search_index, + body=body, + ) + except httpx.HTTPError as exc: + logger.exception("OpenAlex publication year aggregation request failed.") + raise HTTPException( + status_code=HTTP_502_BAD_GATEWAY, + detail="OpenAlex works search request failed.", + ) from exc + + return _parse_year_count_buckets(response), _parse_total_hits(response) + + +def _get_timeline_topic_counts_from_es( + author_id: str, + years: list[int], + max_topics_per_year: int, +) -> list[dict]: + body = { + "size": 0, + "query": { + "bool": { + "must": [_author_works_query(author_id)], + "filter": [{"terms": {"publication_year": years}}], + }, + }, + "aggs": { + "by_year": { + "terms": { + "field": "publication_year", + "size": len(years), + "order": {"_key": "asc"}, + }, + "aggs": { + "primary_topics": { + "terms": { + "field": "primary_topic.id", + "size": max_topics_per_year, + "order": [ + {"_count": "desc"}, + {"_key": "asc"}, + ], + }, + }, + "topics_nested": { + "nested": {"path": "topics"}, + "aggs": { + "topics": { + "terms": { + "field": "topics.id", + "size": max_topics_per_year, + "order": [ + {"_count": "desc"}, + {"_key": "asc"}, + ], + }, + "aggs": { + "works": { + "reverse_nested": {}, + }, + }, + }, + }, + }, + }, + }, + }, + } + + try: + response = elasticsearch.search( + index=config.settings.openalex_works_search_index, + body=body, + ) + except httpx.HTTPError as exc: + logger.exception("OpenAlex timeline topic aggregation request failed.") + raise HTTPException( + status_code=HTTP_502_BAD_GATEWAY, + detail="OpenAlex works search request failed.", + ) from exc + + return response.get("aggregations", {}).get("by_year", {}).get("buckets", []) + + +def _author_works_query(author_id: str) -> dict[str, Any]: + indexed_author_id = f"https://openalex.org/{author_id.strip()}" + + return { + "nested": { + "path": "authorships", + "query": { + "bool": { + "filter": [ + {"term": {"authorships.author.id": indexed_author_id}}, + ], + }, + }, + }, + } + + +def _parse_year_count_buckets(response: dict) -> list[dict]: + return ( + response.get("aggregations", {}) + .get("publication_years", {}) + .get("buckets", []) + ) + + +def _parse_total_hits(response: dict) -> int: + total = response.get("hits", {}).get("total", 0) + + if isinstance(total, dict): + return total.get("value", 0) + + return total + + +def _select_complete_timeline_years( + year_buckets: list[dict], + target_publications: int, + include_all: bool, +) -> tuple[list[int], bool]: + if include_all: + return [bucket["key"] for bucket in year_buckets], False + + selected_years: list[int] = [] + selected_publications = 0 + + for bucket in year_buckets: + selected_years.append(bucket["key"]) + selected_publications += bucket.get("doc_count", 0) + + if selected_publications >= target_publications: + break + + is_limited = len(selected_years) < len(year_buckets) + + return selected_years, is_limited + + +def _collect_topic_ids_from_year_buckets(year_buckets: list[dict]) -> set[str]: + topic_ids: set[str] = set() + + for year_bucket in year_buckets: + primary_buckets = ( + year_bucket.get("primary_topics", {}).get("buckets", []) + ) + topic_buckets = ( + year_bucket.get("topics_nested", {}) + .get("topics", {}) + .get("buckets", []) + ) + + for bucket in primary_buckets + topic_buckets: + topic_id = bucket.get("key") + + if topic_id: + topic_ids.add(topic_id) + + return topic_ids + + +def _build_timeline_elements_from_aggregations( + year_buckets: list[dict], + topic_details: dict[str, dict], + max_topics_per_year: int, +) -> list[TopicsByYear]: + elements: list[TopicsByYear] = [] + + for year_bucket in year_buckets: + year = year_bucket.get("key") + + if year is None: + continue + + topics = _build_topic_counts_from_buckets( + year_bucket.get("topics_nested", {}) + .get("topics", {}) + .get("buckets", []), + topic_details=topic_details, + max_topics_per_year=max_topics_per_year, + use_reverse_nested_count=True, + ) + primary_topics = _build_topic_counts_from_buckets( + year_bucket.get("primary_topics", {}).get("buckets", []), + topic_details=topic_details, + max_topics_per_year=max_topics_per_year, + use_reverse_nested_count=False, + ) + + elements.append( + TopicsByYear( + year=year, + publication_count=year_bucket.get("doc_count", 0), + topics=topics, + primary_topics=primary_topics, + ) + ) + + return elements + + +def _build_topic_counts_from_buckets( + buckets: list[dict], + topic_details: dict[str, dict], + max_topics_per_year: int, + use_reverse_nested_count: bool, +) -> list[TopicCount]: + topics: list[TopicCount] = [] + + for bucket in buckets[:max_topics_per_year]: + topic_id = bucket.get("key") + + if not topic_id: + continue + + info = topic_details.get(topic_id, {}) + display_name = info.get("display_name") or topic_id + count = bucket.get("doc_count", 0) + + if use_reverse_nested_count: + count = bucket.get("works", {}).get("doc_count", count) + + topics.append( + TopicCount( + id=topic_id, + name=display_name, + count=count, + description=info.get("description"), + ) + ) + + return topics + async def _search_author_works_data( search_client: OpenAlexWorksSearchClient, author_id: str, @@ -542,4 +864,4 @@ def _parse_full_work_search_response(data: dict) -> tuple[list[Work], int]: detail="OpenAlex works search response could not be parsed.", ) from exc - return elements, total + return elements, total \ No newline at end of file diff --git a/ude_person.http b/ude_person.http index e41036ba..35ed2607 100644 --- a/ude_person.http +++ b/ude_person.http @@ -13,10 +13,192 @@ Content-Type: application/json } ### -GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_search +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_publications/_search Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== Content-Type: application/json +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_organizations/_mapping +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_projects/_mapping +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_projects/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +{ + "size": 100, + "query": { + "bool": { + "filter": [ + { + "terms": { + "id": ["604123", "101003555"] + } + } + ] + } + } +} + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_organizations/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { + "term": { + "organisationID": "999843312" + } + } + ] + } + }, + "aggs": { + "associated_project_ids": { + "terms": { + "field": "projectID" + } + } + } +} + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_organizations/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { + "term": { + "name.keyword": "UNIVERSITAET DUISBURG-ESSEN" + } + } + ] + } + }, + "aggs": { + "associated_project_ids": { + "terms": { + "field": "projectID" + } + } + } +} + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_organizations/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +{ + "size": 10, + "query": { + "bool": { + "filter": [ + { + "term": { + "name.keyword": "UNIVERSITAET DUISBURG-ESSEN" + } + } + ] + } + } +} + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_*_organizations/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { + "term": { + "name.keyword": "UNIVERSITAET DUISBURG-ESSEN" + } + } + ] + } + }, + "aggs": { + "specific_org_rcn_values": { + "terms": { + "field": "organisationID", + "size": 1000 + } + } + } +} + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_horizon_europe_organizations/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +{ + "size": 0, + "query": { + "match": { + "name": { + "query": "Essen", + "fuzziness": "AUTO" + } + } + }, + "aggs": { + "distinct_matched_names": { + "terms": { + "field": "name.keyword", + "size": 100 + } + } + } +} + +### +GET https://inse.nes.uni-due.de/elastic/cordis_eu_fp7_organizations/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +{ + "size": 0, + "query": { + "match": { + "name": { + "query": "Essen", + "fuzziness": "AUTO" + } + } + }, + "aggs": { + "distinct_matched_names": { + "terms": { + "field": "name.keyword", + "size": 100 + } + } + } +} + ### GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_search Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== @@ -342,6 +524,42 @@ GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_search Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== Content-Type: application/json +{ + "query": { + "bool": { + "should": [ + { + "wildcard": { + "title.keyword": { + "value": "*generic*", + "case_insensitive": true + } + } + }, + { + "wildcard": { + "Thema.keyword": { + "value": "*generic*", + "case_insensitive": true + } + } + } + ] + } + } +} + + +### +GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_mapping +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + +### +GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_search +Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== +Content-Type: application/json + { "size": 100, "query": { @@ -451,37 +669,157 @@ Content-Type: application/json ### -GET https://inse.nes.uni-due.de/elastic/projects_bund/_mapping +GET https://inse.nes.uni-due.de/elastic/projects_bund_v1/_mapping Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== Content-Type: application/json ### -GET https://inse.nes.uni-due.de/elastic/projects_bund/_search +GET https://inse.nes.uni-due.de/elastic/projects_bund_v1/_search Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw== Content-Type: application/json { - - "size": 10, - "from": 1000, + "size": 0, "query": { - "match": { - "Zuwendungsempf\u00e4nger": { - "query": "Universit\u00e4t Duisburg-Essen", - "operator": "and" - } + "bool": { + "must": [ + { + "bool": { + "should": [ + { + "match": { + "Zuwendungsempfänger": { + "query": "university of duisburg-eßen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "university of duisburg-essen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universitaet duisburg-essen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universitaet duisburg essen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universität duisburg-essen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universitat duisburg-eßen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universitat duisburg essen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "university of duisburg essen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universitat duisburg-essen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universität duisburg-eßen", + "operator": "and" + } + } + }, + { + "match": { + "Zuwendungsempfänger": { + "query": "universität duisburg essen", + "operator": "and" + } + } + } + ], + "minimum_should_match": 1 + } + } + ] } }, - "sort": [ - { - "Thema.keyword": { - "order": "asc" + "aggs": { + "distributed_annual_amounts": { + "scripted_metric": { + "init_script": "state.years_map = [:]", + "map_script": "if (doc['funding_start'].size() == 0 || doc['funding_end'].size() == 0 || doc['Fördersumme'].size() == 0) { return; } def start = doc['funding_start'].value.toLocalDate(); def end = doc['funding_end'].value.toLocalDate(); def totalAmount = doc['Fördersumme'].value; def startYear = start.getYear(); def endYear = end.getYear(); if (startYear == endYear) { state.years_map[startYear] = state.years_map.getOrDefault(startYear, 0.0) + totalAmount; } else { long totalDays = ChronoUnit.DAYS.between(start, end) + 1; if (totalDays <= 0) return; double amountPerDay = totalAmount / (double)totalDays; for (int y = startYear; y <= endYear; y++) { def yearStart = (y == startYear) ? start : LocalDate.of(y, 1, 1); def yearEnd = (y == endYear) ? end : LocalDate.of(y, 12, 31); long daysInYear = ChronoUnit.DAYS.between(yearStart, yearEnd) + 1; double proportionalShare = daysInYear * amountPerDay; state.years_map[y] = state.years_map.getOrDefault(y, 0.0) + proportionalShare; } }", + "combine_script": "return state.years_map", + "reduce_script": "def final_map = [:]; for (state in states) { for (entry in state.entrySet()) { final_map[entry.getKey()] = final_map.getOrDefault(entry.getKey(), 0.0) + entry.getValue(); } } if (final_map.isEmpty()) { return ['funding_per_year': final_map, 'annual_average_over_period': 0.0]; } double totalSum = 0.0; for (val in final_map.values()) { totalSum += val; } double avg = totalSum / final_map.size(); return ['funding_per_year': final_map, 'annual_average_over_period': avg];" } } - ] - + } } + + + +### + +# { + +# "size": 10, +# "from": 1000, +# "query": { +# "match": { +# "Zuwendungsempf\u00e4nger": { +# "query": "Universit\u00e4t Duisburg-Essen", +# "operator": "and" +# } +# } +# }, +# "sort": [ +# { +# "Thema.keyword": { +# "order": "asc" +# } +# } +# ] + +# } + #{'size': 10, 'from': 0, 'query': {'match': {'Zuwendungsempfänger': {'query': 'Universität Duisburg-Essen', 'operator': 'and'}}}, 'sort': [{'Thema': {'order': 'asc'}}]} # { @@ -688,6 +1026,29 @@ GET https://project.nes.uni-due.de/elastic/openalex-authors/_search Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ== Content-Type: application/json +{ + "query": { + "bool": { + "must": [ + { + "prefix": { + "display_name.keyword": "Marcus Roth" + } + }, + { + "nested": { + "path": "last_known_institutions", + "query": { + "match": { + "last_known_institutions.display_name": "University of Duisburg-Essen" + } + } + } + } + ] + } + } +} ### @@ -783,6 +1144,20 @@ GET https://project.nes.uni-due.de/elastic/openalex-authors/_mapping Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ== Content-Type: application/json +### + +GET https://project.nes.uni-due.de/elastic/openalex-institutions/_search +Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ== +Content-Type: application/json + +{ + "query": {}, + "size": 10, + "from": 0, + "sort": [{ "works_count": { "order": "desc" } }] +} + + ### GET https://project.nes.uni-due.de/elastic/openalex-awards/_search diff --git a/webapp/src/app/api/.openapi-generator/FILES b/webapp/src/app/api/.openapi-generator/FILES index 8e08ac07..a8e4f29f 100644 --- a/webapp/src/app/api/.openapi-generator/FILES +++ b/webapp/src/app/api/.openapi-generator/FILES @@ -4,6 +4,7 @@ README.md api.base.service.ts api.module.ts api/api.ts +api/companyConnections.service.ts api/funding.service.ts api/iNSEAccountService.service.ts api/iNSEService.service.ts @@ -36,12 +37,18 @@ model/autocompleteResponse.ts model/autocompleteResponseMeta.ts model/autocompleteResponseResultsInner.ts model/award.ts +model/bodyCreateUser.ts model/bundProject.ts +model/bundProjectDetails.ts model/bundProjectPage.ts -model/categoryNested.ts +model/careerMetrics.ts model/collaborationNetwork.ts model/collaborationNetworkEdge.ts model/collaborationNetworkNodeType.ts +model/companyConnection.ts +model/companyConnectionsResponse.ts +model/cordisEuProject.ts +model/cordisEuProjectPage.ts model/costUsd.ts model/customAuthor.ts model/customAuthorsListResponse.ts @@ -49,52 +56,62 @@ model/dehydratedAuthor.ts model/dehydratedFunder.ts model/dehydratedInstitution.ts model/dehydratedSource.ts +model/dfgProjectDetails.ts model/dfgProjectPage.ts model/dfgProjectSummary.ts -model/displayCodeSplittedNested.ts -model/euProject.ts -model/euProjectPage.ts model/filterInformation.ts model/filterProperties.ts model/funderByAuthor.ts model/fundersByAuthorResponse.ts +model/fundingProject.ts +model/fundingProjectPage.ts model/fwci.ts model/groupByResult.ts model/hTTPValidationError.ts model/identityGrant.ts model/institution.ts +model/institutionFunderSummary.ts model/institutionGeo.ts model/institutionIds.ts model/institutionInformation.ts model/institutionNetworkNode.ts +model/institutionPage.ts model/institutionsListResponse.ts model/item.ts model/itemCreate.ts model/itemPage.ts -model/keywordNested.ts +model/keywords.ts model/latitude.ts model/location.ts model/longitude.ts +model/matchedOfficer.ts model/meta.ts model/model2YrMeanCitedness.ts model/models.ts model/openAccess.ts -model/organizationNested.ts model/personBio.ts -model/programmeNested.ts +model/projectType.ts +model/projectsFilteringProperties.ts +model/projectsSortBy.ts model/publicationDetailByFunder.ts model/publicationIdsByAuthorPosition.ts model/publicationsByAuthorResponse.ts +model/rankingResponse.ts model/score.ts +model/sortDirection.ts model/topic.ts model/topicCount.ts model/topicDomain.ts model/topicField.ts model/topicIds.ts model/topicSubfield.ts +model/topics.ts model/topicsByTime.ts model/topicsByYear.ts model/topicsListResponse.ts +model/universityRanking.ts +model/universityTopicData.ts +model/user.ts model/validationError.ts model/validationErrorLocInner.ts model/value.ts @@ -117,6 +134,7 @@ model/workTopicInformation.ts model/workTopicSubfield.ts model/worksFilterProperties.ts model/worksListResponse.ts +model/yearlyData.ts param.ts provide-api.ts variables.ts diff --git a/webapp/src/app/api/README.md b/webapp/src/app/api/README.md index 2df9da7b..dfa7b6e7 100644 --- a/webapp/src/app/api/README.md +++ b/webapp/src/app/api/README.md @@ -46,10 +46,10 @@ npm link In your project: ```console -npm link +npm link ``` -**Note for Windows users:** The Angular CLI has troubles to use linked npm packages. +__Note for Windows users:__ The Angular CLI has troubles to use linked npm packages. Please refer to this issue for a solution / workaround. Published packages are not effected by this issue. @@ -58,22 +58,22 @@ Published packages are not effected by this issue. In your Angular project: ```typescript + import { ApplicationConfig } from '@angular/core'; import { provideHttpClient } from '@angular/common/http'; import { provideApi } from ''; export const appConfig: ApplicationConfig = { - providers: [ - // ... - provideHttpClient(), - provideApi(), - ], + providers: [ + // ... + provideHttpClient(), + provideApi() + ], }; ``` **NOTE** If you're still using `AppModule` and haven't [migrated](https://angular.dev/reference/migrations/standalone) yet, you can still import an Angular module: - ```typescript import { ApiModule } from ''; ``` @@ -86,11 +86,11 @@ import { provideHttpClient } from '@angular/common/http'; import { provideApi } from ''; export const appConfig: ApplicationConfig = { - providers: [ - // ... - provideHttpClient(), - provideApi('http://localhost:9999'), - ], + providers: [ + // ... + provideHttpClient(), + provideApi('http://localhost:9999') + ], }; ``` @@ -101,15 +101,15 @@ import { provideHttpClient } from '@angular/common/http'; import { provideApi } from ''; export const appConfig: ApplicationConfig = { - providers: [ - // ... - provideHttpClient(), - provideApi({ - withCredentials: true, - username: 'user', - password: 'password', - }), - ], + providers: [ + // ... + provideHttpClient(), + provideApi({ + withCredentials: true, + username: 'user', + password: 'password' + }) + ], }; ``` @@ -120,22 +120,21 @@ import { provideHttpClient } from '@angular/common/http'; import { provideApi, Configuration } from ''; export const appConfig: ApplicationConfig = { - providers: [ - // ... - provideHttpClient(), - { - provide: Configuration, - useFactory: (authService: AuthService) => - new Configuration({ - basePath: 'http://localhost:9999', - withCredentials: true, - username: authService.getUsername(), - password: authService.getPassword(), - }), - deps: [AuthService], - multi: false, - }, - ], + providers: [ + // ... + provideHttpClient(), + { + provide: Configuration, + useFactory: (authService: AuthService) => new Configuration({ + basePath: 'http://localhost:9999', + withCredentials: true, + username: authService.getUsername(), + password: authService.getPassword(), + }), + deps: [AuthService], + multi: false + } + ], }; ``` @@ -152,12 +151,12 @@ import { HttpClientModule } from '@angular/common/http'; import { environment } from '../environments/environment'; export const appConfig: ApplicationConfig = { - providers: [ - // ... - provideHttpClient(), - provideUserApi(environment.basePath), - provideAdminApi(environment.basePath), - ], + providers: [ + // ... + provideHttpClient(), + provideUserApi(environment.basePath), + provideAdminApi(environment.basePath), + ], }; ``` @@ -177,8 +176,8 @@ Example value for use in your Configuration-Provider: ```typescript new Configuration({ - encodeParam: (param: Param) => myFancyParamEncoder(param), -}); + encodeParam: (param: Param) => myFancyParamEncoder(param), +}) ``` [parameter-locations-url]: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-locations diff --git a/webapp/src/app/api/api.base.service.ts b/webapp/src/app/api/api.base.service.ts index d9ec8f2e..dcf56358 100644 --- a/webapp/src/app/api/api.base.service.ts +++ b/webapp/src/app/api/api.base.service.ts @@ -1,109 +1,83 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -import { - HttpHeaders, - HttpParams, - HttpParameterCodec, -} from '@angular/common/http'; +import { HttpHeaders, HttpParams, HttpParameterCodec } from '@angular/common/http'; import { CustomHttpParameterCodec } from './encoder'; import { Configuration } from './configuration'; export class BaseService { - protected basePath = 'http://localhost:8000'; - public defaultHeaders = new HttpHeaders(); - public configuration: Configuration; - public encoder: HttpParameterCodec; + protected basePath = 'http://localhost:8000'; + public defaultHeaders = new HttpHeaders(); + public configuration: Configuration; + public encoder: HttpParameterCodec; - constructor(basePath?: string | string[], configuration?: Configuration) { - this.configuration = configuration || new Configuration(); - if (typeof this.configuration.basePath !== 'string') { - const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; - if (firstBasePath != undefined) { - basePath = firstBasePath; - } + constructor(basePath?: string|string[], configuration?: Configuration) { + this.configuration = configuration || new Configuration(); + if (typeof this.configuration.basePath !== 'string') { + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; + } - if (typeof basePath !== 'string') { - basePath = this.basePath; - } - this.configuration.basePath = basePath; - } - this.encoder = this.configuration.encoder || new CustomHttpParameterCodec(); - } - - protected canConsumeForm(consumes: string[]): boolean { - return consumes.indexOf('multipart/form-data') !== -1; - } - - protected addToHttpParams( - httpParams: HttpParams, - value: any, - key?: string, - isDeep: boolean = false, - ): HttpParams { - // If the value is an object (but not a Date), recursively add its keys. - if (typeof value === 'object' && !(value instanceof Date)) { - return this.addToHttpParamsRecursive( - httpParams, - value, - isDeep ? key : undefined, - isDeep, - ); - } - return this.addToHttpParamsRecursive(httpParams, value, key); - } - - protected addToHttpParamsRecursive( - httpParams: HttpParams, - value?: any, - key?: string, - isDeep: boolean = false, - ): HttpParams { - if (value === null || value === undefined) { - return httpParams; - } - if (typeof value === 'object') { - // If JSON format is preferred, key must be provided. - if (key != null) { - return isDeep - ? Object.keys(value as Record).reduce( - (hp, k) => hp.append(`${key}[${k}]`, value[k]), - httpParams, - ) - : httpParams.append(key, JSON.stringify(value)); - } - // Otherwise, if it's an array, add each element. - if (Array.isArray(value)) { - value.forEach( - (elem) => - (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)), - ); - } else if (value instanceof Date) { - if (key != null) { - httpParams = httpParams.append(key, value.toISOString()); - } else { - throw Error('key may not be null if value is Date'); + if (typeof basePath !== 'string') { + basePath = this.basePath; + } + this.configuration.basePath = basePath; } - } else { - Object.keys(value).forEach((k) => { - const paramKey = key ? `${key}.${k}` : k; - httpParams = this.addToHttpParamsRecursive( - httpParams, - value[k], - paramKey, - ); - }); - } - return httpParams; - } else if (key != null) { - return httpParams.append(key, value); + this.encoder = this.configuration.encoder || new CustomHttpParameterCodec(); + } + + protected canConsumeForm(consumes: string[]): boolean { + return consumes.indexOf('multipart/form-data') !== -1; + } + + protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep: boolean = false): HttpParams { + // If the value is an object (but not a Date), recursively add its keys. + if (typeof value === 'object' && !(value instanceof Date)) { + return this.addToHttpParamsRecursive(httpParams, value, isDeep ? key : undefined, isDeep); + } + return this.addToHttpParamsRecursive(httpParams, value, key); + } + + protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep: boolean = false): HttpParams { + if (value === null || value === undefined) { + return httpParams; + } + if (typeof value === 'object') { + // If JSON format is preferred, key must be provided. + if (key != null) { + return isDeep + ? Object.keys(value as Record).reduce( + (hp, k) => hp.append(`${key}[${k}]`, value[k]), + httpParams, + ) + : httpParams.append(key, JSON.stringify(value)); + } + // Otherwise, if it's an array, add each element. + if (Array.isArray(value)) { + value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)); + } else if (value instanceof Date) { + if (key != null) { + httpParams = httpParams.append(key, value.toISOString()); + } else { + throw Error("key may not be null if value is Date"); + } + } else { + Object.keys(value).forEach(k => { + const paramKey = key ? `${key}.${k}` : k; + httpParams = this.addToHttpParamsRecursive(httpParams, value[k], paramKey); + }); + } + return httpParams; + } else if (key != null) { + return httpParams.append(key, value); + } + throw Error("key may not be null if value is not object or array"); } - throw Error('key may not be null if value is not object or array'); - } } diff --git a/webapp/src/app/api/api.module.ts b/webapp/src/app/api/api.module.ts index e29250f2..58d341fb 100644 --- a/webapp/src/app/api/api.module.ts +++ b/webapp/src/app/api/api.module.ts @@ -1,42 +1,30 @@ -import { - NgModule, - ModuleWithProviders, - SkipSelf, - Optional, -} from '@angular/core'; +import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core'; import { Configuration } from './configuration'; import { HttpClient } from '@angular/common/http'; + @NgModule({ - imports: [], + imports: [], declarations: [], - exports: [], - providers: [], + exports: [], + providers: [] }) export class ApiModule { - public static forRoot( - configurationFactory: () => Configuration, - ): ModuleWithProviders { - return { - ngModule: ApiModule, - providers: [{ provide: Configuration, useFactory: configurationFactory }], - }; - } + public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders { + return { + ngModule: ApiModule, + providers: [ { provide: Configuration, useFactory: configurationFactory } ] + }; + } - constructor( - @Optional() @SkipSelf() parentModule: ApiModule, - @Optional() http: HttpClient, - ) { - if (parentModule) { - throw new Error( - 'ApiModule is already loaded. Import in your base AppModule only.', - ); + constructor( @Optional() @SkipSelf() parentModule: ApiModule, + @Optional() http: HttpClient) { + if (parentModule) { + throw new Error('ApiModule is already loaded. Import in your base AppModule only.'); + } + if (!http) { + throw new Error('You need to import the HttpClientModule in your AppModule! \n' + + 'See also https://github.com/angular/angular/issues/20575'); + } } - if (!http) { - throw new Error( - 'You need to import the HttpClientModule in your AppModule! \n' + - 'See also https://github.com/angular/angular/issues/20575', - ); - } - } } diff --git a/webapp/src/app/api/api/api.ts b/webapp/src/app/api/api/api.ts index 559a00bc..7344de8e 100644 --- a/webapp/src/app/api/api/api.ts +++ b/webapp/src/app/api/api/api.ts @@ -1,3 +1,5 @@ +export * from './companyConnections.service'; +import { CompanyConnectionsService } from './companyConnections.service'; export * from './funding.service'; import { FundingService } from './funding.service'; export * from './iNSEAccountService.service'; @@ -18,15 +20,4 @@ export * from './topics.service'; import { TopicsService } from './topics.service'; export * from './works.service'; import { WorksService } from './works.service'; -export const APIS = [ - FundingService, - INSEAccountServiceService, - INSEServiceService, - InstitutionsService, - ItemsService, - PersonNetworkService, - PersonsService, - ProjectsService, - TopicsService, - WorksService, -]; +export const APIS = [CompanyConnectionsService, FundingService, INSEAccountServiceService, INSEServiceService, InstitutionsService, ItemsService, PersonNetworkService, PersonsService, ProjectsService, TopicsService, WorksService]; diff --git a/webapp/src/app/api/api/companyConnections.service.ts b/webapp/src/app/api/api/companyConnections.service.ts new file mode 100644 index 00000000..cbc5f803 --- /dev/null +++ b/webapp/src/app/api/api/companyConnections.service.ts @@ -0,0 +1,95 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +/* tslint:disable:no-unused-variable member-ordering */ + +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; + +// @ts-ignore +import { CompanyConnectionsResponse } from '../model/companyConnectionsResponse'; +// @ts-ignore +import { HTTPValidationError } from '../model/hTTPValidationError'; + +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; +import { BaseService } from '../api.base.service'; + + + +@Injectable({ + providedIn: 'root' +}) +export class CompanyConnectionsService extends BaseService { + + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); + } + + /** + * Get possible company connections by OpenAlex author ID. + * @endpoint get /api/inse-service/authors/{author_id}/company-connections + * @param authorId + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getCompanyConnectionsByAuthor(authorId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getCompanyConnectionsByAuthor(authorId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getCompanyConnectionsByAuthor(authorId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getCompanyConnectionsByAuthor(authorId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling getCompanyConnectionsByAuthor.'); + } + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/authors/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/company-connections`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + +} diff --git a/webapp/src/app/api/api/funding.service.ts b/webapp/src/app/api/api/funding.service.ts index f1f0a1a7..46772768 100644 --- a/webapp/src/app/api/api/funding.service.ts +++ b/webapp/src/app/api/api/funding.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { FundersByAuthorResponse } from '../model/fundersByAuthorResponse'; @@ -30,246 +24,138 @@ import { HTTPValidationError } from '../model/hTTPValidationError'; import { PublicationsByAuthorResponse } from '../model/publicationsByAuthorResponse'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class FundingService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Get funding organizations by author. - * @endpoint get /api/inse-service/authors/{author_id}/funders - * @param authorId - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getFundersByAuthor( - authorId: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getFundersByAuthor( - authorId: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getFundersByAuthor( - authorId: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getFundersByAuthor( - authorId: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorId === null || authorId === undefined) { - throw new Error( - 'Required parameter authorId was null or undefined when calling getFundersByAuthor.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarHeaders = this.defaultHeaders; + /** + * Get funding organizations by author. + * @endpoint get /api/inse-service/authors/{author_id}/funders + * @param authorId + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getFundersByAuthor(authorId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getFundersByAuthor(authorId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getFundersByAuthor(authorId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getFundersByAuthor(authorId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling getFundersByAuthor.'); + } - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/authors/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/funders`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Get funded publications by author. + * @endpoint get /api/inse-service/authors/{author_id}/publications + * @param authorId + * @param page + * @param pageSize + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getPublicationsByAuthor(authorId: string, page?: number, pageSize?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getPublicationsByAuthor(authorId: string, page?: number, pageSize?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getPublicationsByAuthor(authorId: string, page?: number, pageSize?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getPublicationsByAuthor(authorId: string, page?: number, pageSize?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling getPublicationsByAuthor.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageSize, 'page_size'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/authors/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/publications`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/inse-service/authors/${this.configuration.encodeParam({ name: 'authorId', value: authorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/funders`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Get funded publications by author. - * @endpoint get /api/inse-service/authors/{author_id}/publications - * @param authorId - * @param page - * @param pageSize - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getPublicationsByAuthor( - authorId: string, - page?: number, - pageSize?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getPublicationsByAuthor( - authorId: string, - page?: number, - pageSize?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getPublicationsByAuthor( - authorId: string, - page?: number, - pageSize?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getPublicationsByAuthor( - authorId: string, - page?: number, - pageSize?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorId === null || authorId === undefined) { - throw new Error( - 'Required parameter authorId was null or undefined when calling getPublicationsByAuthor.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageSize, - 'page_size', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/authors/${this.configuration.encodeParam({ name: 'authorId', value: authorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/publications`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } } diff --git a/webapp/src/app/api/api/iNSEAccountService.service.ts b/webapp/src/app/api/api/iNSEAccountService.service.ts index 116f1dd4..90181dbd 100644 --- a/webapp/src/app/api/api/iNSEAccountService.service.ts +++ b/webapp/src/app/api/api/iNSEAccountService.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,335 +9,274 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { AccessGrant } from '../model/accessGrant'; // @ts-ignore +import { BodyCreateUser } from '../model/bodyCreateUser'; +// @ts-ignore import { HTTPValidationError } from '../model/hTTPValidationError'; // @ts-ignore import { IdentityGrant } from '../model/identityGrant'; +// @ts-ignore +import { User } from '../model/user'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class INSEAccountServiceService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Get Access Grant - * @endpoint post /inse-account/auth/access - * @param secret - * @param account - * @param organization - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getAccessGrantInseAccountAuthAccessPost( - secret: string, - account: number, - organization: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getAccessGrantInseAccountAuthAccessPost( - secret: string, - account: number, - organization: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getAccessGrantInseAccountAuthAccessPost( - secret: string, - account: number, - organization: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getAccessGrantInseAccountAuthAccessPost( - secret: string, - account: number, - organization: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (secret === null || secret === undefined) { - throw new Error( - 'Required parameter secret was null or undefined when calling getAccessGrantInseAccountAuthAccessPost.', - ); - } - if (account === null || account === undefined) { - throw new Error( - 'Required parameter account was null or undefined when calling getAccessGrantInseAccountAuthAccessPost.', - ); - } - if (organization === null || organization === undefined) { - throw new Error( - 'Required parameter organization was null or undefined when calling getAccessGrantInseAccountAuthAccessPost.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarHeaders = this.defaultHeaders; + /** + * Create User + * @endpoint post /inse-account/create + * @param bodyCreateUser + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public createUser(bodyCreateUser: BodyCreateUser, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public createUser(bodyCreateUser: BodyCreateUser, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public createUser(bodyCreateUser: BodyCreateUser, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public createUser(bodyCreateUser: BodyCreateUser, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (bodyCreateUser === null || bodyCreateUser === undefined) { + throw new Error('Required parameter bodyCreateUser was null or undefined when calling createUser.'); + } - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/inse-account/create`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: bodyCreateUser, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Get Access Grant + * @endpoint post /inse-account/auth/access + * @param secret + * @param account + * @param organization + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getAccessGrant(secret: string, account: number, organization: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getAccessGrant(secret: string, account: number, organization: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getAccessGrant(secret: string, account: number, organization: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getAccessGrant(secret: string, account: number, organization: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (secret === null || secret === undefined) { + throw new Error('Required parameter secret was null or undefined when calling getAccessGrant.'); + } + if (account === null || account === undefined) { + throw new Error('Required parameter account was null or undefined when calling getAccessGrant.'); + } + if (organization === null || organization === undefined) { + throw new Error('Required parameter organization was null or undefined when calling getAccessGrant.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarHeaders = this.defaultHeaders; - // to determine the Content-Type header - const consumes: string[] = ['application/x-www-form-urlencoded']; + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } - const canConsumeForm = this.canConsumeForm(consumes); + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); - let localVarFormParams: { append(param: string, value: any): any }; - let localVarUseForm = false; - let localVarConvertFormParamsToString = false; - if (localVarUseForm) { - localVarFormParams = new FormData(); - } else { - localVarFormParams = new HttpParams({ encoder: this.encoder }); + const localVarTransferCache: boolean = options?.transferCache ?? true; + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/x-www-form-urlencoded' + ]; + + const canConsumeForm = this.canConsumeForm(consumes); + + let localVarFormParams: { append(param: string, value: any): any; }; + let localVarUseForm = false; + let localVarConvertFormParamsToString = false; + if (localVarUseForm) { + localVarFormParams = new FormData(); + } else { + localVarFormParams = new HttpParams({encoder: this.encoder}); + } + + if (secret !== undefined) { + localVarFormParams = localVarFormParams.append('secret', secret) as any || localVarFormParams; + } + if (account !== undefined) { + localVarFormParams = localVarFormParams.append('account', account) as any || localVarFormParams; + } + if (organization !== undefined) { + localVarFormParams = localVarFormParams.append('organization', organization) as any || localVarFormParams; + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/inse-account/auth/access`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - if (secret !== undefined) { - localVarFormParams = - (localVarFormParams.append('secret', secret) as any) || - localVarFormParams; - } - if (account !== undefined) { - localVarFormParams = - (localVarFormParams.append('account', account) as any) || - localVarFormParams; - } - if (organization !== undefined) { - localVarFormParams = - (localVarFormParams.append('organization', organization) as any) || - localVarFormParams; + /** + * Get Identity Grant + * @endpoint post /inse-account/auth/id + * @param username + * @param password + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getIdentityGrant(username: string, password: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getIdentityGrant(username: string, password: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getIdentityGrant(username: string, password: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getIdentityGrant(username: string, password: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (username === null || username === undefined) { + throw new Error('Required parameter username was null or undefined when calling getIdentityGrant.'); + } + if (password === null || password === undefined) { + throw new Error('Required parameter password was null or undefined when calling getIdentityGrant.'); + } + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/x-www-form-urlencoded' + ]; + + const canConsumeForm = this.canConsumeForm(consumes); + + let localVarFormParams: { append(param: string, value: any): any; }; + let localVarUseForm = false; + let localVarConvertFormParamsToString = false; + if (localVarUseForm) { + localVarFormParams = new FormData(); + } else { + localVarFormParams = new HttpParams({encoder: this.encoder}); + } + + if (username !== undefined) { + localVarFormParams = localVarFormParams.append('username', username) as any || localVarFormParams; + } + if (password !== undefined) { + localVarFormParams = localVarFormParams.append('password', password) as any || localVarFormParams; + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/inse-account/auth/id`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/inse-account/auth/access`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'post', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - body: localVarConvertFormParamsToString - ? localVarFormParams.toString() - : localVarFormParams, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Get Identity Grant - * @endpoint post /inse-account/auth/id - * @param username - * @param password - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getIdentityGrantInseAccountAuthIdPost( - username: string, - password: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getIdentityGrantInseAccountAuthIdPost( - username: string, - password: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getIdentityGrantInseAccountAuthIdPost( - username: string, - password: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getIdentityGrantInseAccountAuthIdPost( - username: string, - password: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (username === null || username === undefined) { - throw new Error( - 'Required parameter username was null or undefined when calling getIdentityGrantInseAccountAuthIdPost.', - ); - } - if (password === null || password === undefined) { - throw new Error( - 'Required parameter password was null or undefined when calling getIdentityGrantInseAccountAuthIdPost.', - ); - } - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - // to determine the Content-Type header - const consumes: string[] = ['application/x-www-form-urlencoded']; - - const canConsumeForm = this.canConsumeForm(consumes); - - let localVarFormParams: { append(param: string, value: any): any }; - let localVarUseForm = false; - let localVarConvertFormParamsToString = false; - if (localVarUseForm) { - localVarFormParams = new FormData(); - } else { - localVarFormParams = new HttpParams({ encoder: this.encoder }); - } - - if (username !== undefined) { - localVarFormParams = - (localVarFormParams.append('username', username) as any) || - localVarFormParams; - } - if (password !== undefined) { - localVarFormParams = - (localVarFormParams.append('password', password) as any) || - localVarFormParams; - } - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/inse-account/auth/id`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'post', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - body: localVarConvertFormParamsToString - ? localVarFormParams.toString() - : localVarFormParams, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } } diff --git a/webapp/src/app/api/api/iNSEService.service.ts b/webapp/src/app/api/api/iNSEService.service.ts index 8788adee..cf95d68e 100644 --- a/webapp/src/app/api/api/iNSEService.service.ts +++ b/webapp/src/app/api/api/iNSEService.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { HTTPValidationError } from '../model/hTTPValidationError'; @@ -32,922 +26,513 @@ import { ItemCreate } from '../model/itemCreate'; import { ItemPage } from '../model/itemPage'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class INSEServiceService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Adds a new item. - * @endpoint post /api/inse-service/items - * @param itemCreate - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public addItem( - itemCreate: ItemCreate, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public addItem( - itemCreate: ItemCreate, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public addItem( - itemCreate: ItemCreate, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public addItem( - itemCreate: ItemCreate, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (itemCreate === null || itemCreate === undefined) { - throw new Error( - 'Required parameter itemCreate was null or undefined when calling addItem.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarHeaders = this.defaultHeaders; + /** + * Adds a new item. + * @endpoint post /api/inse-service/items + * @param itemCreate + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public addItem(itemCreate: ItemCreate, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public addItem(itemCreate: ItemCreate, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public addItem(itemCreate: ItemCreate, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public addItem(itemCreate: ItemCreate, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (itemCreate === null || itemCreate === undefined) { + throw new Error('Required parameter itemCreate was null or undefined when calling addItem.'); + } - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); - // to determine the Content-Type header - const consumes: string[] = ['application/json']; - const httpContentTypeSelected: string | undefined = - this.configuration.selectHeaderContentType(consumes); - if (httpContentTypeSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Content-Type', - httpContentTypeSelected, - ); - } + const localVarTransferCache: boolean = options?.transferCache ?? true; - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - let localVarPath = `/api/inse-service/items`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request('post', `${basePath}${localVarPath}`, { - context: localVarHttpContext, - body: itemCreate, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }); - } + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } - /** - * Builds the topic hierarchy cache. - * @endpoint get /api/inse-service/topics/cache - * @param pageSize Page size for each search page. - * @param saveJson Persist cache JSON to data folder. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageSize, - 'page_size', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - saveJson, - 'save_json', - ); + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/topics/cache`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Counts topic hierarchy occurrences from cache. - * @endpoint get /api/inse-service/topics/count - * @param topic Topic names (repeat parameter). - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public countTopicHierarchy( - topic: Array, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public countTopicHierarchy( - topic: Array, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public countTopicHierarchy( - topic: Array, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public countTopicHierarchy( - topic: Array, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (topic === null || topic === undefined) { - throw new Error( - 'Required parameter topic was null or undefined when calling countTopicHierarchy.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - if (topic) { - topic.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'topic', + let localVarPath = `/api/inse-service/items`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: itemCreate, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } ); - }); } - let localVarHeaders = this.defaultHeaders; + /** + * Builds the topic hierarchy cache. + * @endpoint get /api/inse-service/topics/cache + * @param pageSize Page size for each search page. + * @param saveJson Persist cache JSON to data folder. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageSize, 'page_size'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + saveJson, 'save_json'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/topics/cache`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Counts topic hierarchy occurrences from cache. + * @endpoint get /api/inse-service/topics/count + * @param topic Topic names (repeat parameter). + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public countTopicHierarchy(topic: Array, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public countTopicHierarchy(topic: Array, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public countTopicHierarchy(topic: Array, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public countTopicHierarchy(topic: Array, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (topic === null || topic === undefined) { + throw new Error('Required parameter topic was null or undefined when calling countTopicHierarchy.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + if (topic) { + topic.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'topic'); + }) + } - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/topics/count`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/inse-service/topics/count`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Deletes the item with the id. + * @endpoint delete /api/inse-service/items/{id} + * @param id The item id. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public deleteItem(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public deleteItem(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public deleteItem(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public deleteItem(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling deleteItem.'); + } - /** - * Deletes the item with the id. - * @endpoint delete /api/inse-service/items/{id} - * @param id The item id. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public deleteItem( - id: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public deleteItem( - id: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public deleteItem( - id: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public deleteItem( - id: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling deleteItem.', - ); + let localVarHeaders = this.defaultHeaders; + + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('delete', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarHeaders = this.defaultHeaders; + /** + * Returns the item with the id. + * @endpoint get /api/inse-service/items/{id} + * @param id The item id. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getItem(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getItem(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItem(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItem(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling getItem.'); + } - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Returns a page of items. + * @endpoint get /api/inse-service/items + * @param pageOffset The page offset. + * @param pageSize The page size. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getItems(pageOffset?: number, pageSize?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getItems(pageOffset?: number, pageSize?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItems(pageOffset?: number, pageSize?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItems(pageOffset?: number, pageSize?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageOffset, 'pageOffset'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageSize, 'pageSize'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'number', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'delete', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Returns the nested topic hierarchy (Domains -> Fields -> Subfields -> Topics). + * @endpoint get /api/inse-service/topics/hierarchy + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getTopicHierarchy(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getTopicHierarchy(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getTopicHierarchy(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getTopicHierarchy(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - /** - * Returns the item with the id. - * @endpoint get /api/inse-service/items/{id} - * @param id The item id. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getItem( - id: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getItem( - id: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItem( - id: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItem( - id: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling getItem.', - ); + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/topics/hierarchy`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarHeaders = this.defaultHeaders; + /** + * Updates the item with the id. + * @endpoint put /api/inse-service/items/{id} + * @param id The item id. + * @param itemCreate + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public updateItem(id: number, itemCreate: ItemCreate, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public updateItem(id: number, itemCreate: ItemCreate, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public updateItem(id: number, itemCreate: ItemCreate, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public updateItem(id: number, itemCreate: ItemCreate, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling updateItem.'); + } + if (itemCreate === null || itemCreate === undefined) { + throw new Error('Required parameter itemCreate was null or undefined when calling updateItem.'); + } - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('put', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: itemCreate, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'number', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request('get', `${basePath}${localVarPath}`, { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }); - } - - /** - * Returns a page of items. - * @endpoint get /api/inse-service/items - * @param pageOffset The page offset. - * @param pageSize The page size. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getItems( - pageOffset?: number, - pageSize?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getItems( - pageOffset?: number, - pageSize?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItems( - pageOffset?: number, - pageSize?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItems( - pageOffset?: number, - pageSize?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageOffset, - 'pageOffset', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageSize, - 'pageSize', - ); - - let localVarHeaders = this.defaultHeaders; - - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/items`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Returns the nested topic hierarchy (Domains -> Fields -> Subfields -> Topics). - * @endpoint get /api/inse-service/topics/hierarchy - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getTopicHierarchy( - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getTopicHierarchy( - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getTopicHierarchy( - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getTopicHierarchy( - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/topics/hierarchy`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Updates the item with the id. - * @endpoint put /api/inse-service/items/{id} - * @param id The item id. - * @param itemCreate - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public updateItem( - id: number, - itemCreate: ItemCreate, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public updateItem( - id: number, - itemCreate: ItemCreate, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public updateItem( - id: number, - itemCreate: ItemCreate, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public updateItem( - id: number, - itemCreate: ItemCreate, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling updateItem.', - ); - } - if (itemCreate === null || itemCreate === undefined) { - throw new Error( - 'Required parameter itemCreate was null or undefined when calling updateItem.', - ); - } - - let localVarHeaders = this.defaultHeaders; - - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - // to determine the Content-Type header - const consumes: string[] = ['application/json']; - const httpContentTypeSelected: string | undefined = - this.configuration.selectHeaderContentType(consumes); - if (httpContentTypeSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Content-Type', - httpContentTypeSelected, - ); - } - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'number', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request('put', `${basePath}${localVarPath}`, { - context: localVarHttpContext, - body: itemCreate, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }); - } } diff --git a/webapp/src/app/api/api/institutions.service.ts b/webapp/src/app/api/api/institutions.service.ts index e365240f..a4ba3d62 100644 --- a/webapp/src/app/api/api/institutions.service.ts +++ b/webapp/src/app/api/api/institutions.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { AutocompleteResponse } from '../model/autocompleteResponse'; @@ -29,449 +23,365 @@ import { HTTPValidationError } from '../model/hTTPValidationError'; // @ts-ignore import { Institution } from '../model/institution'; // @ts-ignore +import { InstitutionPage } from '../model/institutionPage'; +// @ts-ignore import { InstitutionsListResponse } from '../model/institutionsListResponse'; +// @ts-ignore +import { RankingResponse } from '../model/rankingResponse'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class InstitutionsService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Returns institution options for autocomplete inputs. - * @endpoint get /api/institutions/autocomplete - * @param query Institution search text, for example \'Duisburg Essen\'. - * @param countryCode Optional ISO country code filter. - * @param type Optional institution type filter. - * @param limit Maximum number of autocomplete options. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public autocompleteInstitutions( - query: string, - countryCode?: string, - type?: string, - limit?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public autocompleteInstitutions( - query: string, - countryCode?: string, - type?: string, - limit?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public autocompleteInstitutions( - query: string, - countryCode?: string, - type?: string, - limit?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public autocompleteInstitutions( - query: string, - countryCode?: string, - type?: string, - limit?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (query === null || query === undefined) { - throw new Error( - 'Required parameter query was null or undefined when calling autocompleteInstitutions.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - query, - 'query', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - countryCode, - 'countryCode', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - type, - 'type', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - limit, - 'limit', - ); + /** + * Returns institution options for autocomplete inputs. + * @endpoint get /api/inse-service/institutions/autocomplete + * @param query Institution search text, for example \'Duisburg Essen\'. + * @param countryCode Optional ISO country code filter. + * @param type Optional institution type filter. + * @param limit Maximum number of autocomplete options. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public autocompleteInstitutions(query: string, countryCode?: string, type?: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public autocompleteInstitutions(query: string, countryCode?: string, type?: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public autocompleteInstitutions(query: string, countryCode?: string, type?: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public autocompleteInstitutions(query: string, countryCode?: string, type?: string, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (query === null || query === undefined) { + throw new Error('Required parameter query was null or undefined when calling autocompleteInstitutions.'); + } - let localVarHeaders = this.defaultHeaders; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + query, 'query'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + countryCode, 'countryCode'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + type, 'type'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + limit, 'limit'); - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/institutions/autocomplete`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Returns a single institution by ID. + * Returns a single institution by its OpenAlex ID. + * @endpoint get /api/inse-service/institutions/{id} + * @param id + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getInstitutionById(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getInstitutionById(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getInstitutionById(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getInstitutionById(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling getInstitutionById.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarHeaders = this.defaultHeaders; - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/institutions/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/institutions/autocomplete`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Returns data for the University Ranking Dashboard. + * @endpoint get /api/inse-service/university-rankings + * @param topic Research topic (e.g., \'Artificial Intelligence\') + * @param metric Metric to rank by + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getRankingsApiInseServiceUniversityRankingsGet(topic: 'Artificial Intelligence' | 'Quantum Computing' | 'Renewable Energy' | 'Biotechnology', metric?: 'publications' | 'citations', observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getRankingsApiInseServiceUniversityRankingsGet(topic: 'Artificial Intelligence' | 'Quantum Computing' | 'Renewable Energy' | 'Biotechnology', metric?: 'publications' | 'citations', observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getRankingsApiInseServiceUniversityRankingsGet(topic: 'Artificial Intelligence' | 'Quantum Computing' | 'Renewable Energy' | 'Biotechnology', metric?: 'publications' | 'citations', observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getRankingsApiInseServiceUniversityRankingsGet(topic: 'Artificial Intelligence' | 'Quantum Computing' | 'Renewable Energy' | 'Biotechnology', metric?: 'publications' | 'citations', observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (topic === null || topic === undefined) { + throw new Error('Required parameter topic was null or undefined when calling getRankingsApiInseServiceUniversityRankingsGet.'); + } - /** - * Returns a single institution by ID. - * Returns a single institution by its OpenAlex ID. - * @endpoint get /api/institutions/{id} - * @param id - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getInstitutionById( - id: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getInstitutionById( - id: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getInstitutionById( - id: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getInstitutionById( - id: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling getInstitutionById.', - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + topic, 'topic'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + metric, 'metric'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/university-rankings`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarHeaders = this.defaultHeaders; + /** + * Returns a list of OpenAlex institutions. + * @endpoint get /api/inse-service/institutions + * @param search Full-text search, for example \'Duisburg Essen\'. + * @param filter OpenAlex filter, for example \'country_code:DE,type:education\'. + * @param sort Sort field, for example \'works_count:desc\'. + * @param groupBy OpenAlex group_by field, for example \'country_code\'. + * @param perPage Results per page. + * @param page Page number. Use cursor for deep pagination. + * @param cursor Cursor pagination token. Use \'*\' to start. + * @param sample Random sample size. Cannot be combined with sort or page. + * @param select Comma-separated fields to return. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public listInstitutions(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public listInstitutions(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public listInstitutions(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public listInstitutions(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + search, 'search'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + filter, 'filter'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sort, 'sort'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + groupBy, 'group_by'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + perPage, 'per_page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + cursor, 'cursor'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sample, 'sample'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + select, 'select'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/institutions`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Searches for institutions by name. + * Searches for institutions by name with pagination. + * @endpoint get /api/inse-service/institutions/search + * @param name Institution name to search for, for example \'University of Duisburg Essen\'. + * @param page Page number (0-indexed). + * @param size Number of institutions per page. + * @param sortBy Field to sort by, either \'relevance\', \'name\', \'works_count\', or \'citations_count\'. + * @param sortingDirection Sorting direction, either \'asc\' or \'desc\'. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchInstitutionsByName(name?: string, page?: number, size?: number, sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count', sortingDirection?: 'asc' | 'desc', observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchInstitutionsByName(name?: string, page?: number, size?: number, sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count', sortingDirection?: 'asc' | 'desc', observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchInstitutionsByName(name?: string, page?: number, size?: number, sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count', sortingDirection?: 'asc' | 'desc', observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchInstitutionsByName(name?: string, page?: number, size?: number, sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count', sortingDirection?: 'asc' | 'desc', observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + name, 'name'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + size, 'size'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortBy, 'sort_by'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortingDirection, 'sorting_direction'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/institutions/search`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/institutions/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Returns a list of OpenAlex institutions. - * @endpoint get /api/institutions - * @param search Full-text search, for example \'Duisburg Essen\'. - * @param filter OpenAlex filter, for example \'country_code:DE,type:education\'. - * @param sort Sort field, for example \'works_count:desc\'. - * @param groupBy OpenAlex group_by field, for example \'country_code\'. - * @param perPage Results per page. - * @param page Page number. Use cursor for deep pagination. - * @param cursor Cursor pagination token. Use \'*\' to start. - * @param sample Random sample size. Cannot be combined with sort or page. - * @param select Comma-separated fields to return. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public listInstitutions( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public listInstitutions( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public listInstitutions( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public listInstitutions( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - search, - 'search', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - filter, - 'filter', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sort, - 'sort', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - groupBy, - 'group_by', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - perPage, - 'per_page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - cursor, - 'cursor', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sample, - 'sample', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - select, - 'select', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/institutions`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } } diff --git a/webapp/src/app/api/api/items.service.ts b/webapp/src/app/api/api/items.service.ts index bc3c2293..69cd8e54 100644 --- a/webapp/src/app/api/api/items.service.ts +++ b/webapp/src/app/api/api/items.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { HTTPValidationError } from '../model/hTTPValidationError'; @@ -32,603 +26,338 @@ import { ItemCreate } from '../model/itemCreate'; import { ItemPage } from '../model/itemPage'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class ItemsService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Adds a new item. - * @endpoint post /api/inse-service/items - * @param itemCreate - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public addItem( - itemCreate: ItemCreate, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public addItem( - itemCreate: ItemCreate, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public addItem( - itemCreate: ItemCreate, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public addItem( - itemCreate: ItemCreate, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (itemCreate === null || itemCreate === undefined) { - throw new Error( - 'Required parameter itemCreate was null or undefined when calling addItem.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarHeaders = this.defaultHeaders; + /** + * Adds a new item. + * @endpoint post /api/inse-service/items + * @param itemCreate + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public addItem(itemCreate: ItemCreate, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public addItem(itemCreate: ItemCreate, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public addItem(itemCreate: ItemCreate, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public addItem(itemCreate: ItemCreate, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (itemCreate === null || itemCreate === undefined) { + throw new Error('Required parameter itemCreate was null or undefined when calling addItem.'); + } - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: itemCreate, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Deletes the item with the id. + * @endpoint delete /api/inse-service/items/{id} + * @param id The item id. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public deleteItem(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public deleteItem(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public deleteItem(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public deleteItem(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling deleteItem.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarHeaders = this.defaultHeaders; - // to determine the Content-Type header - const consumes: string[] = ['application/json']; - const httpContentTypeSelected: string | undefined = - this.configuration.selectHeaderContentType(consumes); - if (httpContentTypeSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Content-Type', - httpContentTypeSelected, - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('delete', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + /** + * Returns the item with the id. + * @endpoint get /api/inse-service/items/{id} + * @param id The item id. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getItem(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getItem(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItem(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItem(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling getItem.'); + } + + let localVarHeaders = this.defaultHeaders; + + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/inse-service/items`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request('post', `${basePath}${localVarPath}`, { - context: localVarHttpContext, - body: itemCreate, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }); - } + /** + * Returns a page of items. + * @endpoint get /api/inse-service/items + * @param pageOffset The page offset. + * @param pageSize The page size. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getItems(pageOffset?: number, pageSize?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getItems(pageOffset?: number, pageSize?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItems(pageOffset?: number, pageSize?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getItems(pageOffset?: number, pageSize?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - /** - * Deletes the item with the id. - * @endpoint delete /api/inse-service/items/{id} - * @param id The item id. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public deleteItem( - id: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public deleteItem( - id: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public deleteItem( - id: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public deleteItem( - id: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling deleteItem.', - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageOffset, 'pageOffset'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageSize, 'pageSize'); + + let localVarHeaders = this.defaultHeaders; + + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarHeaders = this.defaultHeaders; + /** + * Updates the item with the id. + * @endpoint put /api/inse-service/items/{id} + * @param id The item id. + * @param itemCreate + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public updateItem(id: number, itemCreate: ItemCreate, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public updateItem(id: number, itemCreate: ItemCreate, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public updateItem(id: number, itemCreate: ItemCreate, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public updateItem(id: number, itemCreate: ItemCreate, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling updateItem.'); + } + if (itemCreate === null || itemCreate === undefined) { + throw new Error('Required parameter itemCreate was null or undefined when calling updateItem.'); + } - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('put', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: itemCreate, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'number', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'delete', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Returns the item with the id. - * @endpoint get /api/inse-service/items/{id} - * @param id The item id. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getItem( - id: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getItem( - id: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItem( - id: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItem( - id: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling getItem.', - ); - } - - let localVarHeaders = this.defaultHeaders; - - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'number', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request('get', `${basePath}${localVarPath}`, { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }); - } - - /** - * Returns a page of items. - * @endpoint get /api/inse-service/items - * @param pageOffset The page offset. - * @param pageSize The page size. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getItems( - pageOffset?: number, - pageSize?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getItems( - pageOffset?: number, - pageSize?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItems( - pageOffset?: number, - pageSize?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getItems( - pageOffset?: number, - pageSize?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageOffset, - 'pageOffset', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageSize, - 'pageSize', - ); - - let localVarHeaders = this.defaultHeaders; - - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/items`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Updates the item with the id. - * @endpoint put /api/inse-service/items/{id} - * @param id The item id. - * @param itemCreate - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public updateItem( - id: number, - itemCreate: ItemCreate, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public updateItem( - id: number, - itemCreate: ItemCreate, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public updateItem( - id: number, - itemCreate: ItemCreate, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public updateItem( - id: number, - itemCreate: ItemCreate, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling updateItem.', - ); - } - if (itemCreate === null || itemCreate === undefined) { - throw new Error( - 'Required parameter itemCreate was null or undefined when calling updateItem.', - ); - } - - let localVarHeaders = this.defaultHeaders; - - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - // to determine the Content-Type header - const consumes: string[] = ['application/json']; - const httpContentTypeSelected: string | undefined = - this.configuration.selectHeaderContentType(consumes); - if (httpContentTypeSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Content-Type', - httpContentTypeSelected, - ); - } - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/items/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'number', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request('put', `${basePath}${localVarPath}`, { - context: localVarHttpContext, - body: itemCreate, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }); - } } diff --git a/webapp/src/app/api/api/patents.service.ts b/webapp/src/app/api/api/patents.service.ts new file mode 100644 index 00000000..6a0e0b8a --- /dev/null +++ b/webapp/src/app/api/api/patents.service.ts @@ -0,0 +1,158 @@ +/** + * Innovation Search Engine API + */ +/* tslint:disable:no-unused-variable member-ordering */ + +import { Inject, Injectable, Optional } from '@angular/core'; +import { + HttpClient, + HttpHeaders, + HttpParams, + HttpResponse, + HttpEvent, + HttpParameterCodec, + HttpContext, +} from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; + +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; +import { BaseService } from '../api.base.service'; + +export interface PatentEntry { + patent_id: string; + source: string; + title: string | null; + abstract: string | null; + publication_date: string | null; + publication_year: string | null; + inventors: string[]; + assignees: string[]; + ipc: string[]; + country: string | null; + confidence_score: number; + +} + +export interface PatentsByAuthorResponse { + author_id: string; + author_name: string | null; + patent_count: number; + patents: PatentEntry[]; +} + +type GetPatentsByAuthorOptions = { + httpHeaderAccept?: 'application/json'; + context?: HttpContext; + transferCache?: boolean; +}; + +@Injectable({ + providedIn: 'root', +}) +export class PatentsService extends BaseService { + constructor( + protected httpClient: HttpClient, + @Optional() @Inject(BASE_PATH) basePath: string | string[], + @Optional() configuration?: Configuration, + ) { + super(basePath, configuration); + } + + /** + * Get patents by author. + * @endpoint get /api/inse-service/authors/{author_id}/patents + * @param authorId + * @param observe + * @param reportProgress + */ + public getPatentsByAuthor( + authorId: string, + observe?: 'body', + reportProgress?: boolean, + options?: GetPatentsByAuthorOptions, + ): Observable; + public getPatentsByAuthor( + authorId: string, + observe?: 'response', + reportProgress?: boolean, + options?: GetPatentsByAuthorOptions, + ): Observable>; + public getPatentsByAuthor( + authorId: string, + observe?: 'events', + reportProgress?: boolean, + options?: GetPatentsByAuthorOptions, + ): Observable>; + public getPatentsByAuthor( + authorId: string, + observe: any = 'body', + reportProgress: boolean = false, + options?: GetPatentsByAuthorOptions, + ): Observable { + if (authorId === null || authorId === undefined) { + throw new Error( + 'Required parameter authorId was null or undefined when calling getPatentsByAuthor.', + ); + } + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = + options?.httpHeaderAccept ?? + this.configuration.selectHeaderAccept(['application/json']); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set( + 'Accept', + localVarHttpHeaderAcceptSelected, + ); + } + + const localVarHttpContext: HttpContext = + options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if ( + this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) + ) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/authors/${this.configuration.encodeParam({ + name: 'authorId', + value: authorId, + in: 'path', + style: 'simple', + explode: false, + dataType: 'string', + dataFormat: undefined, + })}/patents`; + + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request( + 'get', + `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined + ? { transferCache: localVarTransferCache } + : {}), + reportProgress: reportProgress, + }, + ); + } +} diff --git a/webapp/src/app/api/api/personNetwork.service.ts b/webapp/src/app/api/api/personNetwork.service.ts index 5b468938..b1183ff6 100644 --- a/webapp/src/app/api/api/personNetwork.service.ts +++ b/webapp/src/app/api/api/personNetwork.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { CollaborationNetwork } from '../model/collaborationNetwork'; @@ -30,139 +24,86 @@ import { FilterProperties } from '../model/filterProperties'; import { HTTPValidationError } from '../model/hTTPValidationError'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class PersonNetworkService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Get a person\'s collaboration network. - * Returns a person\'s collaboration network based on their works and co-authors. - * @endpoint post /api/person/network/{raw_user_id} - * @param rawUserId The raw user ID of the person. - * @param filterProperties - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getCollaborationNetwork( - rawUserId: string, - filterProperties?: FilterProperties, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getCollaborationNetwork( - rawUserId: string, - filterProperties?: FilterProperties, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getCollaborationNetwork( - rawUserId: string, - filterProperties?: FilterProperties, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getCollaborationNetwork( - rawUserId: string, - filterProperties?: FilterProperties, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (rawUserId === null || rawUserId === undefined) { - throw new Error( - 'Required parameter rawUserId was null or undefined when calling getCollaborationNetwork.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarHeaders = this.defaultHeaders; + /** + * Get a person\'s collaboration network. + * Returns a person\'s collaboration network based on their works and co-authors. + * @endpoint post /api/person/network/{raw_user_id} + * @param rawUserId The raw user ID of the person. + * @param filterProperties + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getCollaborationNetwork(rawUserId: string, filterProperties?: FilterProperties, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getCollaborationNetwork(rawUserId: string, filterProperties?: FilterProperties, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getCollaborationNetwork(rawUserId: string, filterProperties?: FilterProperties, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getCollaborationNetwork(rawUserId: string, filterProperties?: FilterProperties, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (rawUserId === null || rawUserId === undefined) { + throw new Error('Required parameter rawUserId was null or undefined when calling getCollaborationNetwork.'); + } - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/person/network/${this.configuration.encodeParam({name: "rawUserId", value: rawUserId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: filterProperties, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - // to determine the Content-Type header - const consumes: string[] = ['application/json']; - const httpContentTypeSelected: string | undefined = - this.configuration.selectHeaderContentType(consumes); - if (httpContentTypeSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Content-Type', - httpContentTypeSelected, - ); - } - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/person/network/${this.configuration.encodeParam({ name: 'rawUserId', value: rawUserId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'post', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - body: filterProperties, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } } diff --git a/webapp/src/app/api/api/persons.service.ts b/webapp/src/app/api/api/persons.service.ts index 4c6206a2..03222a4c 100644 --- a/webapp/src/app/api/api/persons.service.ts +++ b/webapp/src/app/api/api/persons.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { AuthorsListResponse } from '../model/authorsListResponse'; @@ -32,1749 +26,869 @@ import { HTTPValidationError } from '../model/hTTPValidationError'; import { PersonBio } from '../model/personBio'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class PersonsService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Generates a bio for a person by author ID. - * @endpoint get /api/inse-service/persons/bio - * @param authorId OpenAlex author ID (e.g., A5093075883) - * @param include Comma-separated list to include tags - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public generatePersonBio( - authorId: string, - include?: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public generatePersonBio( - authorId: string, - include?: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public generatePersonBio( - authorId: string, - include?: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public generatePersonBio( - authorId: string, - include?: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorId === null || authorId === undefined) { - throw new Error( - 'Required parameter authorId was null or undefined when calling generatePersonBio.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - authorId, - 'author_id', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/bio`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for person by ID. - * @endpoint get /api/inse-service/person/{id} - * @param id OpenAlex author ID - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getPersonByID( - id: string, - include: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getPersonByID( - id: string, - include: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getPersonByID( - id: string, - include: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getPersonByID( - id: string, - include: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling getPersonByID.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling getPersonByID.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/person/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for person by ID. - * @endpoint get /api/inse-service/person/{id} - * @param id OpenAlex author ID - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getPersonByID_1( - id: string, - include: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getPersonByID_1( - id: string, - include: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getPersonByID_1( - id: string, - include: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getPersonByID_1( - id: string, - include: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (id === null || id === undefined) { - throw new Error( - 'Required parameter id was null or undefined when calling getPersonByID_1.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling getPersonByID_1.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/person/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for persons by ID or name. - * @endpoint get /api/inse-service/persons/search - * @param authorId OpenAlex author ID (e.g., A5093075883) - * @param query Search query (e.g., Arman AND Arzani) - * @param include Comma-separated include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, sources, counts_by_year, works_api_url, dates, cited_by_count_boost - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersons( - authorId?: string, - query?: string, - include?: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersons( - authorId?: string, - query?: string, - include?: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersons( - authorId?: string, - query?: string, - include?: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersons( - authorId?: string, - query?: string, - include?: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - authorId, - 'author_id', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - query, - 'query', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/search`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for person by name. - * @endpoint get /api/inse-service/persons/autocomplete - * @param authorName Authors name (e.g., Arman Arzani) - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsAutocomplete( - authorName: string, - include: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsAutocomplete( - authorName: string, - include: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsAutocomplete( - authorName: string, - include: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsAutocomplete( - authorName: string, - include: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorName === null || authorName === undefined) { - throw new Error( - 'Required parameter authorName was null or undefined when calling searchPersonsAutocomplete.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling searchPersonsAutocomplete.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - authorName, - 'author_name', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/autocomplete`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for person by name. - * @endpoint get /api/inse-service/persons/autocomplete - * @param authorName Authors name (e.g., Arman Arzani) - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsAutocomplete_2( - authorName: string, - include: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsAutocomplete_2( - authorName: string, - include: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsAutocomplete_2( - authorName: string, - include: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsAutocomplete_2( - authorName: string, - include: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorName === null || authorName === undefined) { - throw new Error( - 'Required parameter authorName was null or undefined when calling searchPersonsAutocomplete_2.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling searchPersonsAutocomplete_2.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - authorName, - 'author_name', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/autocomplete`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for persons by institution name. - * @endpoint get /api/inse-service/persons/searchByInstitution - * @param institutionName Institution name (e.g., MIT, Oxford University) - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param limit Limit of search page results - * @param pageOffset Offset of the result page - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsByInstitution( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsByInstitution( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByInstitution( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByInstitution( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (institutionName === null || institutionName === undefined) { - throw new Error( - 'Required parameter institutionName was null or undefined when calling searchPersonsByInstitution.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling searchPersonsByInstitution.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - institutionName, - 'institution_name', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - limit, - 'limit', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageOffset, - 'page_offset', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/searchByInstitution`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for persons by institution name. - * @endpoint get /api/inse-service/persons/searchByInstitution - * @param institutionName Institution name (e.g., MIT, Oxford University) - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param limit Limit of search page results - * @param pageOffset Offset of the result page - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsByInstitution_3( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsByInstitution_3( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByInstitution_3( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByInstitution_3( - institutionName: string, - include: string, - limit?: number, - pageOffset?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (institutionName === null || institutionName === undefined) { - throw new Error( - 'Required parameter institutionName was null or undefined when calling searchPersonsByInstitution_3.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling searchPersonsByInstitution_3.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - institutionName, - 'institution_name', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - limit, - 'limit', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageOffset, - 'page_offset', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/searchByInstitution`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for person by name. - * @endpoint get /api/inse-service/persons/searchByName - * @param authorName Authors name (e.g., Arman Arzani) - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param limit Limit of search page results - * @param pageOffset Offset of the result page - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsByName( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsByName( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByName( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByName( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorName === null || authorName === undefined) { - throw new Error( - 'Required parameter authorName was null or undefined when calling searchPersonsByName.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling searchPersonsByName.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - authorName, - 'author_name', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - limit, - 'limit', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageOffset, - 'page_offset', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/searchByName`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for person by name. - * @endpoint get /api/inse-service/persons/searchByName - * @param authorName Authors name (e.g., Arman Arzani) - * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... - * @param limit Limit of search page results - * @param pageOffset Offset of the result page - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsByName_4( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsByName_4( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByName_4( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsByName_4( - authorName: string, - include: string, - limit?: number, - pageOffset?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorName === null || authorName === undefined) { - throw new Error( - 'Required parameter authorName was null or undefined when calling searchPersonsByName_4.', - ); - } - if (include === null || include === undefined) { - throw new Error( - 'Required parameter include was null or undefined when calling searchPersonsByName_4.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - authorName, - 'author_name', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - limit, - 'limit', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageOffset, - 'page_offset', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/persons/searchByName`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Searches for persons with advanced filters (Topic & Institution) and pagination. - * @endpoint get /api/inse-service/persons/search-list - * @param query Search query (e.g., Arman AND Arzani) - * @param institutionName Filter by institution name - * @param sortBy Value to sort by - * @param sortOrder asc or desc? - * @param topic Filter by topic display names - * @param page Page number (1-indexed) - * @param pageSize Results per page - * @param include Comma-separated include tags - * @param strict Strict institution search by target year - * @param filterMode Filter mode: \'in\' or \'from\' - * @param filterYear Filter year - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsList( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsList( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsList( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsList( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - query, - 'query', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - institutionName, - 'institutionName', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortBy, - 'sortBy', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortOrder, - 'sortOrder', - ); - if (topic) { - topic.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'topic', + /** + * Generates a bio for a person by author ID. + * @endpoint get /api/inse-service/persons/bio + * @param authorId OpenAlex author ID (e.g., A5093075883) + * @param include Comma-separated list to include tags + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public generatePersonBio(authorId: string, include?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public generatePersonBio(authorId: string, include?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public generatePersonBio(authorId: string, include?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public generatePersonBio(authorId: string, include?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling generatePersonBio.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + authorId, 'author_id'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/bio`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } ); - }); - } - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageSize, - 'pageSize', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - strict, - 'strict', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - filterMode, - 'filterMode', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - filterYear, - 'filterYear', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Searches for person by ID. + * @endpoint get /api/inse-service/person/{id} + * @param id OpenAlex author ID + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getPersonByID(id: string, include?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getPersonByID(id: string, include?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getPersonByID(id: string, include?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getPersonByID(id: string, include?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling getPersonByID.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } + let localVarHeaders = this.defaultHeaders; - let localVarPath = `/api/inse-service/persons/search-list`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } - /** - * Searches for persons with advanced filters (Topic & Institution) and pagination. - * @endpoint get /api/inse-service/persons/search-list - * @param query Search query (e.g., Arman AND Arzani) - * @param institutionName Filter by institution name - * @param sortBy Value to sort by - * @param sortOrder asc or desc? - * @param topic Filter by topic display names - * @param page Page number (1-indexed) - * @param pageSize Results per page - * @param include Comma-separated include tags - * @param strict Strict institution search by target year - * @param filterMode Filter mode: \'in\' or \'from\' - * @param filterYear Filter year - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public searchPersonsList_5( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public searchPersonsList_5( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsList_5( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public searchPersonsList_5( - query?: string, - institutionName?: string, - sortBy?: string, - sortOrder?: string, - topic?: Array, - page?: number, - pageSize?: number, - include?: string, - strict?: boolean, - filterMode?: string, - filterYear?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - query, - 'query', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - institutionName, - 'institutionName', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortBy, - 'sortBy', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortOrder, - 'sortOrder', - ); - if (topic) { - topic.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'topic', + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/person/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } ); - }); - } - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageSize, - 'pageSize', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - include, - 'include', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - strict, - 'strict', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - filterMode, - 'filterMode', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - filterYear, - 'filterYear', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Searches for person by ID. + * @endpoint get /api/inse-service/person/{id} + * @param id OpenAlex author ID + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getPersonByID_1(id: string, include?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getPersonByID_1(id: string, include?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getPersonByID_1(id: string, include?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getPersonByID_1(id: string, include?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling getPersonByID_1.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/person/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for persons by ID or name. + * @endpoint get /api/inse-service/persons/search + * @param authorId OpenAlex author ID (e.g., A5093075883) + * @param query Search query (e.g., Arman AND Arzani) + * @param include Comma-separated include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, sources, counts_by_year, works_api_url, dates, cited_by_count_boost + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersons(authorId?: string, query?: string, include?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersons(authorId?: string, query?: string, include?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersons(authorId?: string, query?: string, include?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersons(authorId?: string, query?: string, include?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + authorId, 'author_id'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + query, 'query'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/search`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for person by name. + * @endpoint get /api/inse-service/persons/autocomplete + * @param authorName Authors name (e.g., Arman Arzani) + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsAutocomplete(authorName: string, include: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsAutocomplete(authorName: string, include: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsAutocomplete(authorName: string, include: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsAutocomplete(authorName: string, include: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorName === null || authorName === undefined) { + throw new Error('Required parameter authorName was null or undefined when calling searchPersonsAutocomplete.'); + } + if (include === null || include === undefined) { + throw new Error('Required parameter include was null or undefined when calling searchPersonsAutocomplete.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + authorName, 'author_name'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/autocomplete`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for person by name. + * @endpoint get /api/inse-service/persons/autocomplete + * @param authorName Authors name (e.g., Arman Arzani) + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsAutocomplete_2(authorName: string, include: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsAutocomplete_2(authorName: string, include: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsAutocomplete_2(authorName: string, include: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsAutocomplete_2(authorName: string, include: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorName === null || authorName === undefined) { + throw new Error('Required parameter authorName was null or undefined when calling searchPersonsAutocomplete_2.'); + } + if (include === null || include === undefined) { + throw new Error('Required parameter include was null or undefined when calling searchPersonsAutocomplete_2.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + authorName, 'author_name'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/autocomplete`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for persons by institution name. + * @endpoint get /api/inse-service/persons/searchByInstitution + * @param institutionName Institution name (e.g., MIT, Oxford University) + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param limit Limit of search page results + * @param pageOffset Offset of the result page + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsByInstitution(institutionName: string, include: string, limit?: number, pageOffset?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsByInstitution(institutionName: string, include: string, limit?: number, pageOffset?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByInstitution(institutionName: string, include: string, limit?: number, pageOffset?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByInstitution(institutionName: string, include: string, limit?: number, pageOffset?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (institutionName === null || institutionName === undefined) { + throw new Error('Required parameter institutionName was null or undefined when calling searchPersonsByInstitution.'); + } + if (include === null || include === undefined) { + throw new Error('Required parameter include was null or undefined when calling searchPersonsByInstitution.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + institutionName, 'institution_name'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + limit, 'limit'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageOffset, 'page_offset'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/searchByInstitution`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for persons by institution name. + * @endpoint get /api/inse-service/persons/searchByInstitution + * @param institutionName Institution name (e.g., MIT, Oxford University) + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param limit Limit of search page results + * @param pageOffset Offset of the result page + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsByInstitution_3(institutionName: string, include: string, limit?: number, pageOffset?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsByInstitution_3(institutionName: string, include: string, limit?: number, pageOffset?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByInstitution_3(institutionName: string, include: string, limit?: number, pageOffset?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByInstitution_3(institutionName: string, include: string, limit?: number, pageOffset?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (institutionName === null || institutionName === undefined) { + throw new Error('Required parameter institutionName was null or undefined when calling searchPersonsByInstitution_3.'); + } + if (include === null || include === undefined) { + throw new Error('Required parameter include was null or undefined when calling searchPersonsByInstitution_3.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + institutionName, 'institution_name'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + limit, 'limit'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageOffset, 'page_offset'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/searchByInstitution`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for person by name. + * @endpoint get /api/inse-service/persons/searchByName + * @param authorName Authors name (e.g., Arman Arzani) + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param limit Limit of search page results + * @param pageOffset Offset of the result page + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsByName(authorName: string, include: string, limit?: number, pageOffset?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsByName(authorName: string, include: string, limit?: number, pageOffset?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByName(authorName: string, include: string, limit?: number, pageOffset?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByName(authorName: string, include: string, limit?: number, pageOffset?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorName === null || authorName === undefined) { + throw new Error('Required parameter authorName was null or undefined when calling searchPersonsByName.'); + } + if (include === null || include === undefined) { + throw new Error('Required parameter include was null or undefined when calling searchPersonsByName.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + authorName, 'author_name'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + limit, 'limit'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageOffset, 'page_offset'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/searchByName`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for person by name. + * @endpoint get /api/inse-service/persons/searchByName + * @param authorName Authors name (e.g., Arman Arzani) + * @param include Which data do we require? include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, ... + * @param limit Limit of search page results + * @param pageOffset Offset of the result page + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsByName_4(authorName: string, include: string, limit?: number, pageOffset?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsByName_4(authorName: string, include: string, limit?: number, pageOffset?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByName_4(authorName: string, include: string, limit?: number, pageOffset?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsByName_4(authorName: string, include: string, limit?: number, pageOffset?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorName === null || authorName === undefined) { + throw new Error('Required parameter authorName was null or undefined when calling searchPersonsByName_4.'); + } + if (include === null || include === undefined) { + throw new Error('Required parameter include was null or undefined when calling searchPersonsByName_4.'); + } + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + authorName, 'author_name'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + limit, 'limit'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageOffset, 'page_offset'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/searchByName`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for persons with advanced filters (Topic & Institution) and pagination. + * @endpoint get /api/inse-service/persons/search-list + * @param query Search query (e.g., Arman AND Arzani) + * @param institutionName Filter by institution name + * @param sortBy Value to sort by + * @param sortOrder asc or desc? + * @param topic Filter by topic display names + * @param page Page number (1-indexed) + * @param pageSize Results per page + * @param include Comma-separated include tags + * @param strict Strict institution search by target year + * @param filterMode Filter mode: \'in\' or \'from\' + * @param filterYear Filter year + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsList(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsList(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsList(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsList(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + query, 'query'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + institutionName, 'institutionName'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortBy, 'sortBy'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortOrder, 'sortOrder'); + if (topic) { + topic.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'topic'); + }) + } + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageSize, 'pageSize'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + strict, 'strict'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + filterMode, 'filterMode'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + filterYear, 'filterYear'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/search-list`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); + } + + /** + * Searches for persons with advanced filters (Topic & Institution) and pagination. + * @endpoint get /api/inse-service/persons/search-list + * @param query Search query (e.g., Arman AND Arzani) + * @param institutionName Filter by institution name + * @param sortBy Value to sort by + * @param sortOrder asc or desc? + * @param topic Filter by topic display names + * @param page Page number (1-indexed) + * @param pageSize Results per page + * @param include Comma-separated include tags + * @param strict Strict institution search by target year + * @param filterMode Filter mode: \'in\' or \'from\' + * @param filterYear Filter year + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchPersonsList_5(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchPersonsList_5(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsList_5(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchPersonsList_5(query?: string, institutionName?: string, sortBy?: string, sortOrder?: string, topic?: Array, page?: number, pageSize?: number, include?: string, strict?: boolean, filterMode?: string, filterYear?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + query, 'query'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + institutionName, 'institutionName'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortBy, 'sortBy'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortOrder, 'sortOrder'); + if (topic) { + topic.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'topic'); + }) + } + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageSize, 'pageSize'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + include, 'include'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + strict, 'strict'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + filterMode, 'filterMode'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + filterYear, 'filterYear'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/persons/search-list`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/inse-service/persons/search-list`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } } diff --git a/webapp/src/app/api/api/projects.service.ts b/webapp/src/app/api/api/projects.service.ts index b08a911f..584633f1 100644 --- a/webapp/src/app/api/api/projects.service.ts +++ b/webapp/src/app/api/api/projects.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,525 +9,571 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; +// @ts-ignore +import { BundProjectDetails } from '../model/bundProjectDetails'; // @ts-ignore import { BundProjectPage } from '../model/bundProjectPage'; // @ts-ignore +import { CordisEuProjectPage } from '../model/cordisEuProjectPage'; +// @ts-ignore +import { DfgProjectDetails } from '../model/dfgProjectDetails'; +// @ts-ignore import { DfgProjectPage } from '../model/dfgProjectPage'; // @ts-ignore -import { EuProjectPage } from '../model/euProjectPage'; +import { FundingProjectPage } from '../model/fundingProjectPage'; // @ts-ignore import { HTTPValidationError } from '../model/hTTPValidationError'; +// @ts-ignore +import { InstitutionFunderSummary } from '../model/institutionFunderSummary'; +// @ts-ignore +import { ProjectType } from '../model/projectType'; +// @ts-ignore +import { ProjectsFilteringProperties } from '../model/projectsFilteringProperties'; +// @ts-ignore +import { ProjectsSortBy } from '../model/projectsSortBy'; +// @ts-ignore +import { SortDirection } from '../model/sortDirection'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class ProjectsService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Get bund projects. - * Returns a page of bund projects based on the provided pagination parameters and optional institution filter. - * @endpoint get /api/projects/institution/bund/search - * @param institutionId The institution ID to filter by. - * @param topic The topic to filter by. - * @param page The page number. - * @param size The page size. - * @param sortBy The field to sort by. - * @param sortDirection The sort direction (asc or desc). - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getBundProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getBundProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getBundProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getBundProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (institutionId === null || institutionId === undefined) { - throw new Error( - 'Required parameter institutionId was null or undefined when calling getBundProjects.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - institutionId, - 'institution_id', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - topic, - 'topic', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - size, - 'size', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortBy, - 'sort_by', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortDirection, - 'sort_direction', - ); + /** + * Get DFG projects. + * Returns a page of DFG projects based on the provided pagination parameters and optional institution filter. + * @endpoint get /api/projects/person/dfg/search + * @param authorId The author ID to filter by. + * @param topic The topic to filter by. + * @param page The page number. + * @param size The page size. + * @param sortBy The field to sort by. + * @param sortDirection The sort direction (asc or desc). + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getDfgProjects(authorId: string, topic?: string, page?: number, size?: number, sortBy?: string, sortDirection?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getDfgProjects(authorId: string, topic?: string, page?: number, size?: number, sortBy?: string, sortDirection?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getDfgProjects(authorId: string, topic?: string, page?: number, size?: number, sortBy?: string, sortDirection?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getDfgProjects(authorId: string, topic?: string, page?: number, size?: number, sortBy?: string, sortDirection?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling getDfgProjects.'); + } - let localVarHeaders = this.defaultHeaders; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + authorId, 'author_id'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + topic, 'topic'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + size, 'size'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortBy, 'sort_by'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortDirection, 'sort_direction'); - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/person/dfg/search`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Get funding over time for bund projects. + * Returns the funding over time for bund projects associated with the specified institution. + * @endpoint get /api/projects/institution/bund/funding-over-time + * @param rawOaInstitutionId The institution ID to filter by. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getInstitutionBundProjectsFundingOverTime(rawOaInstitutionId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getInstitutionBundProjectsFundingOverTime(rawOaInstitutionId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getInstitutionBundProjectsFundingOverTime(rawOaInstitutionId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getInstitutionBundProjectsFundingOverTime(rawOaInstitutionId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (rawOaInstitutionId === null || rawOaInstitutionId === undefined) { + throw new Error('Required parameter rawOaInstitutionId was null or undefined when calling getInstitutionBundProjectsFundingOverTime.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + rawOaInstitutionId, 'raw_oa_institution_id'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/institution/bund/funding-over-time`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/projects/institution/bund/search`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Get funding over time for EU projects. + * Returns the funding over time for EU projects associated with the specified institution. + * @endpoint get /api/projects/institution/eu/funding-over-time + * @param rawOaInstitutionId The institution ID to filter by. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getInstitutionCordisEuProjectsFundingOverTime(rawOaInstitutionId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getInstitutionCordisEuProjectsFundingOverTime(rawOaInstitutionId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getInstitutionCordisEuProjectsFundingOverTime(rawOaInstitutionId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getInstitutionCordisEuProjectsFundingOverTime(rawOaInstitutionId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (rawOaInstitutionId === null || rawOaInstitutionId === undefined) { + throw new Error('Required parameter rawOaInstitutionId was null or undefined when calling getInstitutionCordisEuProjectsFundingOverTime.'); + } - /** - * Get DFG projects. - * Returns a page of DFG projects based on the provided pagination parameters and optional institution filter. - * @endpoint get /api/projects/person/dfg/search - * @param authorId The author ID to filter by. - * @param topic The topic to filter by. - * @param page The page number. - * @param size The page size. - * @param sortBy The field to sort by. - * @param sortDirection The sort direction (asc or desc). - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getDfgProjects( - authorId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getDfgProjects( - authorId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getDfgProjects( - authorId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getDfgProjects( - authorId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorId === null || authorId === undefined) { - throw new Error( - 'Required parameter authorId was null or undefined when calling getDfgProjects.', - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + rawOaInstitutionId, 'raw_oa_institution_id'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/institution/eu/funding-over-time`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - authorId, - 'author_id', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - topic, - 'topic', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - size, - 'size', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortBy, - 'sort_by', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortDirection, - 'sort_direction', - ); + /** + * Get a single BUND project. + * Returns a single BUND project based on its ID. + * @endpoint get /api/projects/bund/{id} + * @param id The ID of the BUND project to retrieve. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getSingleBundProject(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getSingleBundProject(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getSingleBundProject(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getSingleBundProject(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling getSingleBundProject.'); + } - let localVarHeaders = this.defaultHeaders; + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/bund/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Get a single DFG project. + * Returns a single DFG project based on its ID. + * @endpoint get /api/projects/dfg/{id} + * @param id The ID of the DFG project to retrieve. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getSingleDfgProject(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getSingleDfgProject(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getSingleDfgProject(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getSingleDfgProject(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling getSingleDfgProject.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarHeaders = this.defaultHeaders; - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/dfg/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/projects/person/dfg/search`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Get bund projects. + * Returns a page of bund projects based on the provided pagination parameters and optional institution filter. + * @endpoint post /api/projects/institution/bund/search + * @param projectsFilteringProperties + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchBundProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchBundProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchBundProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchBundProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (projectsFilteringProperties === null || projectsFilteringProperties === undefined) { + throw new Error('Required parameter projectsFilteringProperties was null or undefined when calling searchBundProjects.'); + } - /** - * Get EU projects. - * Returns a page of EU projects based on the provided pagination parameters and optional institution filter. - * @endpoint get /api/projects/institution/eu/search - * @param institutionId The institution ID to filter by. - * @param topic The topic to filter by. - * @param page The page number. - * @param size The page size. - * @param sortBy The field to sort by. - * @param sortDirection The sort direction (asc or desc). - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getEuProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getEuProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getEuProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getEuProjects( - institutionId: string, - topic?: string, - page?: number, - size?: number, - sortBy?: string, - sortDirection?: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (institutionId === null || institutionId === undefined) { - throw new Error( - 'Required parameter institutionId was null or undefined when calling getEuProjects.', - ); + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/institution/bund/search`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: projectsFilteringProperties, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - institutionId, - 'institution_id', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - topic, - 'topic', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - size, - 'size', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortBy, - 'sort_by', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sortDirection, - 'sort_direction', - ); + /** + * Get EU projects. + * Returns a page of EU projects based on the provided pagination parameters and optional institution filter. + * @endpoint post /api/projects/institution/eu/search + * @param projectsFilteringProperties + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchCordisEuProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchCordisEuProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchCordisEuProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchCordisEuProjects(projectsFilteringProperties: ProjectsFilteringProperties, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (projectsFilteringProperties === null || projectsFilteringProperties === undefined) { + throw new Error('Required parameter projectsFilteringProperties was null or undefined when calling searchCordisEuProjects.'); + } - let localVarHeaders = this.defaultHeaders; + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + // to determine the Content-Type header + const consumes: string[] = [ + 'application/json' + ]; + const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); + if (httpContentTypeSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); + } + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/institution/eu/search`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('post', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + body: projectsFilteringProperties, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Search projects across all funders. + * Returns a page of projects across all funders based on the provided pagination parameters and optional institution filter. + * @endpoint get /api/projects/search + * @param page The page number. + * @param size The page size. + * @param selectedProjectTypes The set of project types to filter by (e.g., \'bund\', \'eu\', \'dfg\'). If not provided, projects of all types will be included. + * @param title The title to filter by. + * @param sortBy The field to sort by. + * @param sortDirection The sort direction (asc or desc). + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public searchProjects(page?: number, size?: number, selectedProjectTypes?: Set, title?: string, sortBy?: ProjectsSortBy, sortDirection?: SortDirection, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public searchProjects(page?: number, size?: number, selectedProjectTypes?: Set, title?: string, sortBy?: ProjectsSortBy, sortDirection?: SortDirection, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchProjects(page?: number, size?: number, selectedProjectTypes?: Set, title?: string, sortBy?: ProjectsSortBy, sortDirection?: SortDirection, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public searchProjects(page?: number, size?: number, selectedProjectTypes?: Set, title?: string, sortBy?: ProjectsSortBy, sortDirection?: SortDirection, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + size, 'size'); + if (selectedProjectTypes) { + selectedProjectTypes.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'selected_project_types'); + }) + } + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + title, 'title'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortBy, 'sort_by'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sortDirection, 'sort_direction'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/projects/search`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/projects/institution/eu/search`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } } diff --git a/webapp/src/app/api/api/topics.service.ts b/webapp/src/app/api/api/topics.service.ts index 88d63fef..4c2902a1 100644 --- a/webapp/src/app/api/api/topics.service.ts +++ b/webapp/src/app/api/api/topics.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { AutocompleteResponse } from '../model/autocompleteResponse'; @@ -30,792 +24,410 @@ import { HTTPValidationError } from '../model/hTTPValidationError'; import { TopicsListResponse } from '../model/topicsListResponse'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class TopicsService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Returns topic options for autocomplete inputs. - * @endpoint get /api/topics/autocomplete - * @param query Topic search text, for example \'machine learning\'. - * @param domainId Optional OpenAlex domain id filter. - * @param fieldId Optional OpenAlex field id filter. - * @param subfieldId Optional OpenAlex subfield id filter. - * @param limit Maximum number of autocomplete options. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public autocompleteTopics( - query: string, - domainId?: string, - fieldId?: string, - subfieldId?: string, - limit?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public autocompleteTopics( - query: string, - domainId?: string, - fieldId?: string, - subfieldId?: string, - limit?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public autocompleteTopics( - query: string, - domainId?: string, - fieldId?: string, - subfieldId?: string, - limit?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public autocompleteTopics( - query: string, - domainId?: string, - fieldId?: string, - subfieldId?: string, - limit?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (query === null || query === undefined) { - throw new Error( - 'Required parameter query was null or undefined when calling autocompleteTopics.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - query, - 'query', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - domainId, - 'domainId', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - fieldId, - 'fieldId', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - subfieldId, - 'subfieldId', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - limit, - 'limit', - ); + /** + * Returns topic options for autocomplete inputs. + * @endpoint get /api/topics/autocomplete + * @param query Topic search text, for example \'machine learning\'. + * @param domainId Optional OpenAlex domain id filter. + * @param fieldId Optional OpenAlex field id filter. + * @param subfieldId Optional OpenAlex subfield id filter. + * @param limit Maximum number of autocomplete options. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public autocompleteTopics(query: string, domainId?: string, fieldId?: string, subfieldId?: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public autocompleteTopics(query: string, domainId?: string, fieldId?: string, subfieldId?: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public autocompleteTopics(query: string, domainId?: string, fieldId?: string, subfieldId?: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public autocompleteTopics(query: string, domainId?: string, fieldId?: string, subfieldId?: string, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (query === null || query === undefined) { + throw new Error('Required parameter query was null or undefined when calling autocompleteTopics.'); + } - let localVarHeaders = this.defaultHeaders; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + query, 'query'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + domainId, 'domainId'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + fieldId, 'fieldId'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + subfieldId, 'subfieldId'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + limit, 'limit'); - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } + let localVarHeaders = this.defaultHeaders; - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } + const localVarTransferCache: boolean = options?.transferCache ?? true; - let localVarPath = `/api/topics/autocomplete`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - /** - * Builds the topic hierarchy cache. - * @endpoint get /api/inse-service/topics/cache - * @param pageSize Page size for each search page. - * @param saveJson Persist cache JSON to data folder. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public buildTopicCache( - pageSize?: number, - saveJson?: boolean, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - pageSize, - 'page_size', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - saveJson, - 'save_json', - ); + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/inse-service/topics/cache`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Counts topic hierarchy occurrences from cache. - * @endpoint get /api/inse-service/topics/count - * @param topic Topic names (repeat parameter). - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public countTopicHierarchy( - topic: Array, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public countTopicHierarchy( - topic: Array, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public countTopicHierarchy( - topic: Array, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public countTopicHierarchy( - topic: Array, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (topic === null || topic === undefined) { - throw new Error( - 'Required parameter topic was null or undefined when calling countTopicHierarchy.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - if (topic) { - topic.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'topic', + let localVarPath = `/api/topics/autocomplete`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } ); - }); } - let localVarHeaders = this.defaultHeaders; + /** + * Builds the topic hierarchy cache. + * @endpoint get /api/inse-service/topics/cache + * @param pageSize Page size for each search page. + * @param saveJson Persist cache JSON to data folder. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public buildTopicCache(pageSize?: number, saveJson?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + pageSize, 'page_size'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + saveJson, 'save_json'); + + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/topics/cache`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Counts topic hierarchy occurrences from cache. + * @endpoint get /api/inse-service/topics/count + * @param topic Topic names (repeat parameter). + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public countTopicHierarchy(topic: Array, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public countTopicHierarchy(topic: Array, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public countTopicHierarchy(topic: Array, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public countTopicHierarchy(topic: Array, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (topic === null || topic === undefined) { + throw new Error('Required parameter topic was null or undefined when calling countTopicHierarchy.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + if (topic) { + topic.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'topic'); + }) + } - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/topics/count`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/inse-service/topics/count`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Returns the nested topic hierarchy (Domains -> Fields -> Subfields -> Topics). + * @endpoint get /api/inse-service/topics/hierarchy + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getTopicHierarchy(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getTopicHierarchy(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getTopicHierarchy(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getTopicHierarchy(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - /** - * Returns the nested topic hierarchy (Domains -> Fields -> Subfields -> Topics). - * @endpoint get /api/inse-service/topics/hierarchy - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getTopicHierarchy( - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getTopicHierarchy( - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getTopicHierarchy( - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getTopicHierarchy( - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarHeaders = this.defaultHeaders; + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/inse-service/topics/hierarchy`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Returns a list of OpenAlex topics. + * @endpoint get /api/topics + * @param search Full-text search, for example \'machine learning\'. + * @param filter OpenAlex filter, for example \'domain.id:1,works_count:>1000\'. + * @param sort Sort field, for example \'works_count:desc\'. + * @param groupBy OpenAlex group_by field, for example \'domain.id\'. + * @param perPage Results per page. + * @param page Page number. Use cursor for deep pagination. + * @param cursor Cursor pagination token. Use \'*\' to start. + * @param sample Random sample size. Cannot be combined with sort or page. + * @param select Comma-separated fields to return. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public listTopics(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public listTopics(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public listTopics(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public listTopics(search?: string, filter?: string, sort?: string, groupBy?: string, perPage?: number, page?: number, cursor?: string, sample?: number, select?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + search, 'search'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + filter, 'filter'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sort, 'sort'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + groupBy, 'group_by'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + perPage, 'per_page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + cursor, 'cursor'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + sample, 'sample'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + select, 'select'); - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + let localVarHeaders = this.defaultHeaders; + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/topics`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/inse-service/topics/hierarchy`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Semantic / vector search for topics using a keyword/sentence. + * @endpoint get /api/topics/vector-search + * @param query Word or sentence to search by similarity. + * @param limit Maximum number of topics to return. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public vectorSearchTopics(query: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public vectorSearchTopics(query: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public vectorSearchTopics(query: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public vectorSearchTopics(query: string, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (query === null || query === undefined) { + throw new Error('Required parameter query was null or undefined when calling vectorSearchTopics.'); + } - /** - * Returns a list of OpenAlex topics. - * @endpoint get /api/topics - * @param search Full-text search, for example \'machine learning\'. - * @param filter OpenAlex filter, for example \'domain.id:1,works_count:>1000\'. - * @param sort Sort field, for example \'works_count:desc\'. - * @param groupBy OpenAlex group_by field, for example \'domain.id\'. - * @param perPage Results per page. - * @param page Page number. Use cursor for deep pagination. - * @param cursor Cursor pagination token. Use \'*\' to start. - * @param sample Random sample size. Cannot be combined with sort or page. - * @param select Comma-separated fields to return. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public listTopics( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public listTopics( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public listTopics( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public listTopics( - search?: string, - filter?: string, - sort?: string, - groupBy?: string, - perPage?: number, - page?: number, - cursor?: string, - sample?: number, - select?: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - search, - 'search', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - filter, - 'filter', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sort, - 'sort', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - groupBy, - 'group_by', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - perPage, - 'per_page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - cursor, - 'cursor', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - sample, - 'sample', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - select, - 'select', - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + query, 'query'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + limit, 'limit'); - let localVarHeaders = this.defaultHeaders; + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/topics/vector-search`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/topics`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Semantic / vector search for topics using a keyword/sentence. - * @endpoint get /api/topics/vector-search - * @param query Word or sentence to search by similarity. - * @param limit Maximum number of topics to return. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public vectorSearchTopics( - query: string, - limit?: number, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public vectorSearchTopics( - query: string, - limit?: number, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public vectorSearchTopics( - query: string, - limit?: number, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public vectorSearchTopics( - query: string, - limit?: number, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (query === null || query === undefined) { - throw new Error( - 'Required parameter query was null or undefined when calling vectorSearchTopics.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - query, - 'query', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - limit, - 'limit', - ); - - let localVarHeaders = this.defaultHeaders; - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/topics/vector-search`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } } diff --git a/webapp/src/app/api/api/works.service.ts b/webapp/src/app/api/api/works.service.ts index ed802a33..5abbe754 100644 --- a/webapp/src/app/api/api/works.service.ts +++ b/webapp/src/app/api/api/works.service.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,12 @@ */ /* tslint:disable:no-unused-variable member-ordering */ -import { Inject, Injectable, Optional } from '@angular/core'; -import { - HttpClient, - HttpHeaders, - HttpParams, - HttpResponse, - HttpEvent, - HttpParameterCodec, - HttpContext, -} from '@angular/common/http'; -import { CustomHttpParameterCodec } from '../encoder'; -import { Observable } from 'rxjs'; +import { Inject, Injectable, Optional } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, + HttpResponse, HttpEvent, HttpParameterCodec, HttpContext + } from '@angular/common/http'; +import { CustomHttpParameterCodec } from '../encoder'; +import { Observable } from 'rxjs'; // @ts-ignore import { HTTPValidationError } from '../model/hTTPValidationError'; @@ -36,132 +30,79 @@ import { WorkPage } from '../model/workPage'; import { WorksListResponse } from '../model/worksListResponse'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; -import { Configuration } from '../configuration'; +import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; +import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; + + @Injectable({ - providedIn: 'root', + providedIn: 'root' }) export class WorksService extends BaseService { - constructor( - protected httpClient: HttpClient, - @Optional() @Inject(BASE_PATH) basePath: string | string[], - @Optional() configuration?: Configuration, - ) { - super(basePath, configuration); - } - /** - * Returns all works for an author. - * @endpoint get /api/works/{author_id}/all - * @param authorId The author id, for example A5023888391. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getAllAuthorWorks( - authorId: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getAllAuthorWorks( - authorId: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getAllAuthorWorks( - authorId: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getAllAuthorWorks( - authorId: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorId === null || authorId === undefined) { - throw new Error( - 'Required parameter authorId was null or undefined when calling getAllAuthorWorks.', - ); + constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) { + super(basePath, configuration); } - let localVarHeaders = this.defaultHeaders; + /** + * Returns all works for an author. + * @endpoint get /api/works/{author_id}/all + * @param authorId The author id, for example A5023888391. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getAllAuthorWorks(authorId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getAllAuthorWorks(authorId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getAllAuthorWorks(authorId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getAllAuthorWorks(authorId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling getAllAuthorWorks.'); + } - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/works/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/all`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/works/${this.configuration.encodeParam({ name: 'authorId', value: authorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/all`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - /** * Returns a page of works for an author. * @endpoint get /api/works/{author_id} @@ -255,482 +196,275 @@ export class WorksService extends BaseService { ); } - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - page, - 'page', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - size, - 'size', - ); - if (publicationYear) { - publicationYear.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'publication_year', - ); - }); - } - if (type) { - type.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'type', - ); - }); - } - if (language) { - language.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'language', - ); - }); - } - if (institutionId) { - institutionId.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'institution_id', - ); - }); - } - if (topicId) { - topicId.forEach((element) => { - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - element, - 'topic_id', - ); - }); - } + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + page, 'page'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + size, 'size'); + if (publicationYear) { + publicationYear.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'publication_year'); + }) + } + if (type) { + type.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'type'); + }) + } + if (language) { + language.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'language'); + }) + } + if (institutionId) { + institutionId.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'institution_id'); + }) + } + if (topicId) { + topicId.forEach((element) => { + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + element, 'topic_id'); + }) + } localVarQueryParameters = this.addToHttpParams( localVarQueryParameters, search, 'search', ); - let localVarHeaders = this.defaultHeaders; + let localVarHeaders = this.defaultHeaders; - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/works/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); + /** + * Returns work counts per primary topic for an author. + * @endpoint get /api/works/{author_id}/primary-topic-counts + * @param authorId The author id, for example A5023888391. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getPrimaryTopicCountsByAuthor(authorId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getPrimaryTopicCountsByAuthor(authorId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>>; + public getPrimaryTopicCountsByAuthor(authorId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>>; + public getPrimaryTopicCountsByAuthor(authorId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling getPrimaryTopicCountsByAuthor.'); + } - const localVarTransferCache: boolean = options?.transferCache ?? true; + let localVarHeaders = this.defaultHeaders; - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/works/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/primary-topic-counts`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request>('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarPath = `/api/works/${this.configuration.encodeParam({ name: 'authorId', value: authorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } + /** + * Returns topics grouped by publication year for an author. + * @endpoint get /api/works/{author_id}/topics-by-time + * @param authorId The author id, for example A5023888391. + * @param maxTopicsPerYear The maximum number of topics per year. + * @param targetPublications Target number of publications used for the timeline. Complete years are always included. + * @param includeAll If true, all publications are used for the timeline. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getTopicsByTimeByAuthor(authorId: string, maxTopicsPerYear?: number, targetPublications?: number, includeAll?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getTopicsByTimeByAuthor(authorId: string, maxTopicsPerYear?: number, targetPublications?: number, includeAll?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getTopicsByTimeByAuthor(authorId: string, maxTopicsPerYear?: number, targetPublications?: number, includeAll?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getTopicsByTimeByAuthor(authorId: string, maxTopicsPerYear?: number, targetPublications?: number, includeAll?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (authorId === null || authorId === undefined) { + throw new Error('Required parameter authorId was null or undefined when calling getTopicsByTimeByAuthor.'); + } - /** - * Returns work counts per primary topic for an author. - * @endpoint get /api/works/{author_id}/primary-topic-counts - * @param authorId The author id, for example A5023888391. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getPrimaryTopicCountsByAuthor( - authorId: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getPrimaryTopicCountsByAuthor( - authorId: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>>; - public getPrimaryTopicCountsByAuthor( - authorId: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>>; - public getPrimaryTopicCountsByAuthor( - authorId: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorId === null || authorId === undefined) { - throw new Error( - 'Required parameter authorId was null or undefined when calling getPrimaryTopicCountsByAuthor.', - ); + let localVarQueryParameters = new HttpParams({encoder: this.encoder}); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + maxTopicsPerYear, 'max_topics_per_year'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + targetPublications, 'target_publications'); + localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, + includeAll, 'include_all'); + + let localVarHeaders = this.defaultHeaders; + + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/works/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/topics-by-time`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + params: localVarQueryParameters, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - let localVarHeaders = this.defaultHeaders; + /** + * Returns one publication. + * @endpoint get /api/works/detail/{work_id} + * @param workId The OpenAlex work id, for example W2741809807. + * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. + * @param reportProgress flag to report request and response progress. + */ + public getWork(workId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable; + public getWork(workId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getWork(workId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable>; + public getWork(workId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable { + if (workId === null || workId === undefined) { + throw new Error('Required parameter workId was null or undefined when calling getWork.'); + } - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); + let localVarHeaders = this.defaultHeaders; - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); + // authentication (bearer) required + localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer '); + + const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([ + 'application/json' + ]); + if (localVarHttpHeaderAcceptSelected !== undefined) { + localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); + } + + const localVarHttpContext: HttpContext = options?.context ?? new HttpContext(); + + const localVarTransferCache: boolean = options?.transferCache ?? true; + + + let responseType_: 'text' | 'json' | 'blob' = 'json'; + if (localVarHttpHeaderAcceptSelected) { + if (localVarHttpHeaderAcceptSelected.startsWith('text')) { + responseType_ = 'text'; + } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { + responseType_ = 'json'; + } else { + responseType_ = 'blob'; + } + } + + let localVarPath = `/api/works/detail/${this.configuration.encodeParam({name: "workId", value: workId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; + const { basePath, withCredentials } = this.configuration; + return this.httpClient.request('get', `${basePath}${localVarPath}`, + { + context: localVarHttpContext, + responseType: responseType_, + ...(withCredentials ? { withCredentials } : {}), + headers: localVarHeaders, + observe: observe, + ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}), + reportProgress: reportProgress + } + ); } - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/works/${this.configuration.encodeParam({ name: 'authorId', value: authorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/primary-topic-counts`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request>( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Returns topics grouped by publication year for an author. - * @endpoint get /api/works/{author_id}/topics-by-time - * @param authorId The author id, for example A5023888391. - * @param maxTopicsPerYear The maximum number of topics per year. - * @param targetPublications Target number of publications used for the timeline. Complete years are always included. - * @param includeAll If true, all publications are used for the timeline. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getTopicsByTimeByAuthor( - authorId: string, - maxTopicsPerYear?: number, - targetPublications?: number, - includeAll?: boolean, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getTopicsByTimeByAuthor( - authorId: string, - maxTopicsPerYear?: number, - targetPublications?: number, - includeAll?: boolean, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getTopicsByTimeByAuthor( - authorId: string, - maxTopicsPerYear?: number, - targetPublications?: number, - includeAll?: boolean, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getTopicsByTimeByAuthor( - authorId: string, - maxTopicsPerYear?: number, - targetPublications?: number, - includeAll?: boolean, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (authorId === null || authorId === undefined) { - throw new Error( - 'Required parameter authorId was null or undefined when calling getTopicsByTimeByAuthor.', - ); - } - - let localVarQueryParameters = new HttpParams({ encoder: this.encoder }); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - maxTopicsPerYear, - 'max_topics_per_year', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - targetPublications, - 'target_publications', - ); - localVarQueryParameters = this.addToHttpParams( - localVarQueryParameters, - includeAll, - 'include_all', - ); - - let localVarHeaders = this.defaultHeaders; - - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/works/${this.configuration.encodeParam({ name: 'authorId', value: authorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/topics-by-time`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request( - 'get', - `${basePath}${localVarPath}`, - { - context: localVarHttpContext, - params: localVarQueryParameters, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }, - ); - } - - /** - * Returns one publication. - * @endpoint get /api/works/detail/{work_id} - * @param workId The OpenAlex work id, for example W2741809807. - * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. - * @param reportProgress flag to report request and response progress. - */ - public getWork( - workId: string, - observe?: 'body', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable; - public getWork( - workId: string, - observe?: 'response', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getWork( - workId: string, - observe?: 'events', - reportProgress?: boolean, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable>; - public getWork( - workId: string, - observe: any = 'body', - reportProgress: boolean = false, - options?: { - httpHeaderAccept?: 'application/json'; - context?: HttpContext; - transferCache?: boolean; - }, - ): Observable { - if (workId === null || workId === undefined) { - throw new Error( - 'Required parameter workId was null or undefined when calling getWork.', - ); - } - - let localVarHeaders = this.defaultHeaders; - - // authentication (bearer) required - localVarHeaders = this.configuration.addCredentialToHeaders( - 'bearer', - 'Authorization', - localVarHeaders, - 'Bearer ', - ); - - const localVarHttpHeaderAcceptSelected: string | undefined = - options?.httpHeaderAccept ?? - this.configuration.selectHeaderAccept(['application/json']); - if (localVarHttpHeaderAcceptSelected !== undefined) { - localVarHeaders = localVarHeaders.set( - 'Accept', - localVarHttpHeaderAcceptSelected, - ); - } - - const localVarHttpContext: HttpContext = - options?.context ?? new HttpContext(); - - const localVarTransferCache: boolean = options?.transferCache ?? true; - - let responseType_: 'text' | 'json' | 'blob' = 'json'; - if (localVarHttpHeaderAcceptSelected) { - if (localVarHttpHeaderAcceptSelected.startsWith('text')) { - responseType_ = 'text'; - } else if ( - this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected) - ) { - responseType_ = 'json'; - } else { - responseType_ = 'blob'; - } - } - - let localVarPath = `/api/works/detail/${this.configuration.encodeParam({ name: 'workId', value: workId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`; - const { basePath, withCredentials } = this.configuration; - return this.httpClient.request('get', `${basePath}${localVarPath}`, { - context: localVarHttpContext, - responseType: responseType_, - ...(withCredentials ? { withCredentials } : {}), - headers: localVarHeaders, - observe: observe, - ...(localVarTransferCache !== undefined - ? { transferCache: localVarTransferCache } - : {}), - reportProgress: reportProgress, - }); - } } diff --git a/webapp/src/app/api/configuration.ts b/webapp/src/app/api/configuration.ts index 664630b3..c39ce2d6 100644 --- a/webapp/src/app/api/configuration.ts +++ b/webapp/src/app/api/configuration.ts @@ -1,219 +1,193 @@ -import { - HttpHeaders, - HttpParams, - HttpParameterCodec, -} from '@angular/common/http'; +import { HttpHeaders, HttpParams, HttpParameterCodec } from '@angular/common/http'; import { Param } from './param'; export interface ConfigurationParameters { - /** - * @deprecated Since 5.0. Use credentials instead - */ - apiKeys?: { [key: string]: string }; - username?: string; - password?: string; - /** - * @deprecated Since 5.0. Use credentials instead - */ - accessToken?: string | (() => string); - basePath?: string; - withCredentials?: boolean; - /** - * Takes care of encoding query- and form-parameters. - */ - encoder?: HttpParameterCodec; - /** - * Override the default method for encoding path parameters in various - * styles. - *

- * See {@link README.md} for more details - *

- */ - encodeParam?: (param: Param) => string; - /** - * The keys are the names in the securitySchemes section of the OpenAPI - * document. They should map to the value used for authentication - * minus any standard prefixes such as 'Basic' or 'Bearer'. - */ - credentials?: { [key: string]: string | (() => string | undefined) }; + /** + * @deprecated Since 5.0. Use credentials instead + */ + apiKeys?: {[ key: string ]: string}; + username?: string; + password?: string; + /** + * @deprecated Since 5.0. Use credentials instead + */ + accessToken?: string | (() => string); + basePath?: string; + withCredentials?: boolean; + /** + * Takes care of encoding query- and form-parameters. + */ + encoder?: HttpParameterCodec; + /** + * Override the default method for encoding path parameters in various + * styles. + *

+ * See {@link README.md} for more details + *

+ */ + encodeParam?: (param: Param) => string; + /** + * The keys are the names in the securitySchemes section of the OpenAPI + * document. They should map to the value used for authentication + * minus any standard prefixes such as 'Basic' or 'Bearer'. + */ + credentials?: {[ key: string ]: string | (() => string | undefined)}; } export class Configuration { - /** - * @deprecated Since 5.0. Use credentials instead - */ - apiKeys?: { [key: string]: string }; - username?: string; - password?: string; - /** - * @deprecated Since 5.0. Use credentials instead - */ - accessToken?: string | (() => string); - basePath?: string; - withCredentials?: boolean; - /** - * Takes care of encoding query- and form-parameters. - */ - encoder?: HttpParameterCodec; - /** - * Encoding of various path parameter - * styles. - *

- * See {@link README.md} for more details - *

- */ - encodeParam: (param: Param) => string; - /** - * The keys are the names in the securitySchemes section of the OpenAPI - * document. They should map to the value used for authentication - * minus any standard prefixes such as 'Basic' or 'Bearer'. - */ - credentials: { [key: string]: string | (() => string | undefined) }; + /** + * @deprecated Since 5.0. Use credentials instead + */ + apiKeys?: {[ key: string ]: string}; + username?: string; + password?: string; + /** + * @deprecated Since 5.0. Use credentials instead + */ + accessToken?: string | (() => string); + basePath?: string; + withCredentials?: boolean; + /** + * Takes care of encoding query- and form-parameters. + */ + encoder?: HttpParameterCodec; + /** + * Encoding of various path parameter + * styles. + *

+ * See {@link README.md} for more details + *

+ */ + encodeParam: (param: Param) => string; + /** + * The keys are the names in the securitySchemes section of the OpenAPI + * document. They should map to the value used for authentication + * minus any standard prefixes such as 'Basic' or 'Bearer'. + */ + credentials: {[ key: string ]: string | (() => string | undefined)}; - constructor({ - accessToken, - apiKeys, - basePath, - credentials, - encodeParam, - encoder, - password, - username, - withCredentials, - }: ConfigurationParameters = {}) { - if (apiKeys) { - this.apiKeys = apiKeys; - } - if (username !== undefined) { - this.username = username; - } - if (password !== undefined) { - this.password = password; - } - if (accessToken !== undefined) { - this.accessToken = accessToken; - } - if (basePath !== undefined) { - this.basePath = basePath; - } - if (withCredentials !== undefined) { - this.withCredentials = withCredentials; - } - if (encoder) { - this.encoder = encoder; - } - this.encodeParam = - encodeParam ?? ((param) => this.defaultEncodeParam(param)); - this.credentials = credentials ?? {}; +constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }: ConfigurationParameters = {}) { + if (apiKeys) { + this.apiKeys = apiKeys; + } + if (username !== undefined) { + this.username = username; + } + if (password !== undefined) { + this.password = password; + } + if (accessToken !== undefined) { + this.accessToken = accessToken; + } + if (basePath !== undefined) { + this.basePath = basePath; + } + if (withCredentials !== undefined) { + this.withCredentials = withCredentials; + } + if (encoder) { + this.encoder = encoder; + } + this.encodeParam = encodeParam ?? (param => this.defaultEncodeParam(param)); + this.credentials = credentials ?? {}; - // init default bearer credential - if (!this.credentials['bearer']) { - this.credentials['bearer'] = () => { - return typeof this.accessToken === 'function' - ? this.accessToken() - : this.accessToken; - }; - } - } - - /** - * Select the correct content-type to use for a request. - * Uses {@link Configuration#isJsonMime} to determine the correct content-type. - * If no content type is found return the first found type if the contentTypes is not empty - * @param contentTypes - the array of content types that are available for selection - * @returns the selected content-type or undefined if no selection could be made. - */ - public selectHeaderContentType(contentTypes: string[]): string | undefined { - if (contentTypes.length === 0) { - return undefined; + // init default bearer credential + if (!this.credentials['bearer']) { + this.credentials['bearer'] = () => { + return typeof this.accessToken === 'function' + ? this.accessToken() + : this.accessToken; + }; + } } - const type = contentTypes.find((x: string) => this.isJsonMime(x)); - if (type === undefined) { - return contentTypes[0]; - } - return type; - } + /** + * Select the correct content-type to use for a request. + * Uses {@link Configuration#isJsonMime} to determine the correct content-type. + * If no content type is found return the first found type if the contentTypes is not empty + * @param contentTypes - the array of content types that are available for selection + * @returns the selected content-type or undefined if no selection could be made. + */ + public selectHeaderContentType (contentTypes: string[]): string | undefined { + if (contentTypes.length === 0) { + return undefined; + } - /** - * Select the correct accept content-type to use for a request. - * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type. - * If no content type is found return the first found type if the contentTypes is not empty - * @param accepts - the array of content types that are available for selection. - * @returns the selected content-type or undefined if no selection could be made. - */ - public selectHeaderAccept(accepts: string[]): string | undefined { - if (accepts.length === 0) { - return undefined; + const type = contentTypes.find((x: string) => this.isJsonMime(x)); + if (type === undefined) { + return contentTypes[0]; + } + return type; } - const type = accepts.find((x: string) => this.isJsonMime(x)); - if (type === undefined) { - return accepts[0]; + /** + * Select the correct accept content-type to use for a request. + * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type. + * If no content type is found return the first found type if the contentTypes is not empty + * @param accepts - the array of content types that are available for selection. + * @returns the selected content-type or undefined if no selection could be made. + */ + public selectHeaderAccept(accepts: string[]): string | undefined { + if (accepts.length === 0) { + return undefined; + } + + const type = accepts.find((x: string) => this.isJsonMime(x)); + if (type === undefined) { + return accepts[0]; + } + return type; } - return type; - } - /** - * Check if the given MIME is a JSON MIME. - * JSON MIME examples: - * application/json - * application/json; charset=UTF8 - * APPLICATION/JSON - * application/vnd.company+json - * @param mime - MIME (Multipurpose Internet Mail Extensions) - * @return True if the given MIME is JSON, false otherwise. - */ - public isJsonMime(mime: string): boolean { - const jsonMime: RegExp = new RegExp( - '^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', - 'i', - ); - return ( - mime !== null && - (jsonMime.test(mime) || - mime.toLowerCase() === 'application/json-patch+json') - ); - } + /** + * Check if the given MIME is a JSON MIME. + * JSON MIME examples: + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json + * @param mime - MIME (Multipurpose Internet Mail Extensions) + * @return True if the given MIME is JSON, false otherwise. + */ + public isJsonMime(mime: string): boolean { + const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i'); + return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json'); + } - public lookupCredential(key: string): string | undefined { - const value = this.credentials[key]; - return typeof value === 'function' ? value() : value; - } + public lookupCredential(key: string): string | undefined { + const value = this.credentials[key]; + return typeof value === 'function' + ? value() + : value; + } - public addCredentialToHeaders( - credentialKey: string, - headerName: string, - headers: HttpHeaders, - prefix?: string, - ): HttpHeaders { - const value = this.lookupCredential(credentialKey); - return value ? headers.set(headerName, (prefix ?? '') + value) : headers; - } + public addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders { + const value = this.lookupCredential(credentialKey); + return value + ? headers.set(headerName, (prefix ?? '') + value) + : headers; + } - public addCredentialToQuery( - credentialKey: string, - paramName: string, - query: HttpParams, - ): HttpParams { - const value = this.lookupCredential(credentialKey); - return value ? query.set(paramName, value) : query; - } + public addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams { + const value = this.lookupCredential(credentialKey); + return value + ? query.set(paramName, value) + : query; + } - private defaultEncodeParam(param: Param): string { - // This implementation exists as fallback for missing configuration - // and for backwards compatibility to older typescript-angular generator versions. - // It only works for the 'simple' parameter style. - // Date-handling only works for the 'date-time' format. - // All other styles and Date-formats are probably handled incorrectly. - // - // But: if that's all you need (i.e.: the most common use-case): no need for customization! + private defaultEncodeParam(param: Param): string { + // This implementation exists as fallback for missing configuration + // and for backwards compatibility to older typescript-angular generator versions. + // It only works for the 'simple' parameter style. + // Date-handling only works for the 'date-time' format. + // All other styles and Date-formats are probably handled incorrectly. + // + // But: if that's all you need (i.e.: the most common use-case): no need for customization! - const value = - param.dataFormat === 'date-time' && param.value instanceof Date - ? (param.value as Date).toISOString() - : param.value; + const value = param.dataFormat === 'date-time' && param.value instanceof Date + ? (param.value as Date).toISOString() + : param.value; - return encodeURIComponent(String(value)); - } + return encodeURIComponent(String(value)); + } } diff --git a/webapp/src/app/api/encoder.ts b/webapp/src/app/api/encoder.ts index 889ef00d..138c4d5c 100644 --- a/webapp/src/app/api/encoder.ts +++ b/webapp/src/app/api/encoder.ts @@ -5,16 +5,16 @@ import { HttpParameterCodec } from '@angular/common/http'; * Workaround for https://github.com/angular/angular/issues/18261 */ export class CustomHttpParameterCodec implements HttpParameterCodec { - encodeKey(k: string): string { - return encodeURIComponent(k); - } - encodeValue(v: string): string { - return encodeURIComponent(v); - } - decodeKey(k: string): string { - return decodeURIComponent(k); - } - decodeValue(v: string): string { - return decodeURIComponent(v); - } + encodeKey(k: string): string { + return encodeURIComponent(k); + } + encodeValue(v: string): string { + return encodeURIComponent(v); + } + decodeKey(k: string): string { + return decodeURIComponent(k); + } + decodeValue(v: string): string { + return decodeURIComponent(v); + } } diff --git a/webapp/src/app/api/model/accessGrant.ts b/webapp/src/app/api/model/accessGrant.ts index 0aa29f6f..ad1f537a 100644 --- a/webapp/src/app/api/model/accessGrant.ts +++ b/webapp/src/app/api/model/accessGrant.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,10 +9,12 @@ */ import { AuthScope } from './authScope'; -export interface AccessGrant { - token_type: string; - access_token: string; - expires_in: number; - scope: AuthScope; - refresh_token: string; + +export interface AccessGrant { + token_type: string; + access_token: string; + expires_in: number; + scope: AuthScope; + refresh_token: string; } + diff --git a/webapp/src/app/api/model/authAccount.ts b/webapp/src/app/api/model/authAccount.ts index 179a3e67..770a61f5 100644 --- a/webapp/src/app/api/model/authAccount.ts +++ b/webapp/src/app/api/model/authAccount.ts @@ -1,15 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface AuthAccount { - i: number; - l: string; - o: number; + +export interface AuthAccount { + i: number; + l: string; + o: number; + e: string; + on: string; } + diff --git a/webapp/src/app/api/model/authScope.ts b/webapp/src/app/api/model/authScope.ts index 3ccd752e..65ffa9b5 100644 --- a/webapp/src/app/api/model/authScope.ts +++ b/webapp/src/app/api/model/authScope.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,9 +9,11 @@ */ import { AuthAccount } from './authAccount'; -export interface AuthScope { - t: string; - a: AuthAccount; - d?: number | null; - r?: Array; + +export interface AuthScope { + t: string; + a: AuthAccount; + d?: number | null; + r?: Array; } + diff --git a/webapp/src/app/api/model/author.ts b/webapp/src/app/api/model/author.ts index 0a050590..9ba12273 100644 --- a/webapp/src/app/api/model/author.ts +++ b/webapp/src/app/api/model/author.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -15,25 +15,27 @@ import { AuthorIds } from './authorIds'; import { AuthorSummaryStats } from './authorSummaryStats'; import { WorkTopic } from './workTopic'; + /** * A person who creates scholarly works */ -export interface Author { - id?: string | null; - orcid?: string | null; - display_name?: string | null; - display_name_alternatives?: Array | null; - longest_name?: string | null; - parsed_longest_name?: AuthorParsedLongestName | null; - works_count?: number | null; - cited_by_count?: number | null; - summary_stats?: AuthorSummaryStats | null; - affiliations?: Array | null; - last_known_institutions?: Array | null; - topics?: Array | null; - counts_by_year?: Array | null; - ids?: AuthorIds | null; - works_api_url?: string | null; - created_date?: string | null; - updated_date?: string | null; +export interface Author { + id?: string | null; + orcid?: string | null; + display_name?: string | null; + display_name_alternatives?: Array | null; + longest_name?: string | null; + parsed_longest_name?: AuthorParsedLongestName | null; + works_count?: number | null; + cited_by_count?: number | null; + summary_stats?: AuthorSummaryStats | null; + affiliations?: Array | null; + last_known_institutions?: Array | null; + topics?: Array | null; + counts_by_year?: Array | null; + ids?: AuthorIds | null; + works_api_url?: string | null; + created_date?: string | null; + updated_date?: string | null; } + diff --git a/webapp/src/app/api/model/authorAffiliationsInner.ts b/webapp/src/app/api/model/authorAffiliationsInner.ts index d1e8f764..270443ff 100644 --- a/webapp/src/app/api/model/authorAffiliationsInner.ts +++ b/webapp/src/app/api/model/authorAffiliationsInner.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,10 +9,12 @@ */ import { DehydratedInstitution } from './dehydratedInstitution'; + /** * AuthorAffiliationsInner */ -export interface AuthorAffiliationsInner { - institution?: DehydratedInstitution | null; - years?: Array | null; +export interface AuthorAffiliationsInner { + institution?: DehydratedInstitution | null; + years?: Array | null; } + diff --git a/webapp/src/app/api/model/authorCountsByYearInner.ts b/webapp/src/app/api/model/authorCountsByYearInner.ts index 1fac5b45..d16c7c21 100644 --- a/webapp/src/app/api/model/authorCountsByYearInner.ts +++ b/webapp/src/app/api/model/authorCountsByYearInner.ts @@ -1,18 +1,20 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * AuthorCountsByYearInner */ -export interface AuthorCountsByYearInner { - year?: number | null; - works_count?: number | null; - cited_by_count?: number | null; +export interface AuthorCountsByYearInner { + year?: number | null; + works_count?: number | null; + cited_by_count?: number | null; } + diff --git a/webapp/src/app/api/model/authorIds.ts b/webapp/src/app/api/model/authorIds.ts index 0b079d33..9235a207 100644 --- a/webapp/src/app/api/model/authorIds.ts +++ b/webapp/src/app/api/model/authorIds.ts @@ -1,18 +1,20 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * External identifiers: */ -export interface AuthorIds { - openalex?: string | null; - orcid?: string | null; - scopus?: string | null; +export interface AuthorIds { + openalex?: string | null; + orcid?: string | null; + scopus?: string | null; } + diff --git a/webapp/src/app/api/model/authorNetworkNode.ts b/webapp/src/app/api/model/authorNetworkNode.ts index f67c7148..aee98d47 100644 --- a/webapp/src/app/api/model/authorNetworkNode.ts +++ b/webapp/src/app/api/model/authorNetworkNode.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,22 @@ */ import { CollaborationNetworkNodeType } from './collaborationNetworkNodeType'; -export interface AuthorNetworkNode { - /** - * The raw ID of the node. For an author node, this is the raw person ID. For an institution node, this is the raw institution ID. For a work node, this is the raw work ID. - */ - raw_id: string; - /** - * The display name of the node. - */ - display_name: string; - /** - * The category of the node, either \'author\', \'institution\', or \'work\'. - */ - category: CollaborationNetworkNodeType; + +export interface AuthorNetworkNode { + /** + * The raw ID of the node. For an author node, this is the raw person ID. For an institution node, this is the raw institution ID. For a work node, this is the raw work ID. + */ + raw_id: string; + /** + * The display name of the node. + */ + display_name: string; + /** + * The category of the node, either \'author\', \'institution\', or \'work\'. + */ + category: CollaborationNetworkNodeType; } -export namespace AuthorNetworkNode {} +export namespace AuthorNetworkNode { +} + + diff --git a/webapp/src/app/api/model/authorParsedLongestName.ts b/webapp/src/app/api/model/authorParsedLongestName.ts index f08df27d..f49e04be 100644 --- a/webapp/src/app/api/model/authorParsedLongestName.ts +++ b/webapp/src/app/api/model/authorParsedLongestName.ts @@ -1,20 +1,22 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * The longest name parsed into its component parts. */ -export interface AuthorParsedLongestName { - first?: string | null; - middle?: string | null; - last?: string | null; - suffix?: string | null; - nickname?: string | null; +export interface AuthorParsedLongestName { + first?: string | null; + middle?: string | null; + last?: string | null; + suffix?: string | null; + nickname?: string | null; } + diff --git a/webapp/src/app/api/model/authorPositionCount.ts b/webapp/src/app/api/model/authorPositionCount.ts index 989d2c18..a02e3749 100644 --- a/webapp/src/app/api/model/authorPositionCount.ts +++ b/webapp/src/app/api/model/authorPositionCount.ts @@ -1,16 +1,18 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface AuthorPositionCount { - first?: number; - middle?: number; - last?: number; - unknown?: number; + +export interface AuthorPositionCount { + first?: number; + middle?: number; + last?: number; + unknown?: number; } + diff --git a/webapp/src/app/api/model/authorSummaryStats.ts b/webapp/src/app/api/model/authorSummaryStats.ts index 63c35c31..1cfc0bdb 100644 --- a/webapp/src/app/api/model/authorSummaryStats.ts +++ b/webapp/src/app/api/model/authorSummaryStats.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,11 +9,13 @@ */ import { Model2YrMeanCitedness } from './model2YrMeanCitedness'; + /** * Citation metrics: */ -export interface AuthorSummaryStats { - '2yr_mean_citedness'?: Model2YrMeanCitedness | null; - h_index?: number | null; - i10_index?: number | null; +export interface AuthorSummaryStats { + '2yr_mean_citedness'?: Model2YrMeanCitedness | null; + h_index?: number | null; + i10_index?: number | null; } + diff --git a/webapp/src/app/api/model/authorsFilterProperties.ts b/webapp/src/app/api/model/authorsFilterProperties.ts index 50795f2a..7312558f 100644 --- a/webapp/src/app/api/model/authorsFilterProperties.ts +++ b/webapp/src/app/api/model/authorsFilterProperties.ts @@ -1,24 +1,26 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface AuthorsFilterProperties { - /** - * The list of raw institution IDs to include in the collaboration network. If empty, all institutions will be included. - */ - allowed_institutions?: Array; - /** - * The minimum number of collaborations required for an author to be included in the collaboration network. - */ - min_collaborations?: number; - /** - * The maximum number of collaborations allowed for an author to be included in the collaboration network. - */ - max_collaborations?: number; + +export interface AuthorsFilterProperties { + /** + * The list of raw institution IDs to include in the collaboration network. If empty, all institutions will be included. + */ + allowed_institutions?: Array; + /** + * The minimum number of collaborations required for an author to be included in the collaboration network. + */ + min_collaborations?: number; + /** + * The maximum number of collaborations allowed for an author to be included in the collaboration network. + */ + max_collaborations?: number; } + diff --git a/webapp/src/app/api/model/authorsListResponse.ts b/webapp/src/app/api/model/authorsListResponse.ts index bb1a602c..d309ae43 100644 --- a/webapp/src/app/api/model/authorsListResponse.ts +++ b/webapp/src/app/api/model/authorsListResponse.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -11,11 +11,13 @@ import { Meta } from './meta'; import { Author } from './author'; import { GroupByResult } from './groupByResult'; + /** * AuthorsListResponse */ -export interface AuthorsListResponse { - meta?: Meta | null; - results?: Array | null; - group_by?: Array | null; +export interface AuthorsListResponse { + meta?: Meta | null; + results?: Array | null; + group_by?: Array | null; } + diff --git a/webapp/src/app/api/model/authorship.ts b/webapp/src/app/api/model/authorship.ts index f1b9d48e..db3a0bf0 100644 --- a/webapp/src/app/api/model/authorship.ts +++ b/webapp/src/app/api/model/authorship.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -10,15 +10,17 @@ import { DehydratedInstitution } from './dehydratedInstitution'; import { DehydratedAuthor } from './dehydratedAuthor'; + /** * Author and their affiliation for a work */ -export interface Authorship { - author_position?: string | null; - author?: DehydratedAuthor | null; - institutions?: Array | null; - countries?: Array | null; - is_corresponding?: boolean | null; - raw_author_name?: string | null; - raw_affiliation_strings?: Array | null; +export interface Authorship { + author_position?: string | null; + author?: DehydratedAuthor | null; + institutions?: Array | null; + countries?: Array | null; + is_corresponding?: boolean | null; + raw_author_name?: string | null; + raw_affiliation_strings?: Array | null; } + diff --git a/webapp/src/app/api/model/autocompleteResponse.ts b/webapp/src/app/api/model/autocompleteResponse.ts index 8b52b300..e220f57b 100644 --- a/webapp/src/app/api/model/autocompleteResponse.ts +++ b/webapp/src/app/api/model/autocompleteResponse.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -10,10 +10,12 @@ import { AutocompleteResponseMeta } from './autocompleteResponseMeta'; import { AutocompleteResponseResultsInner } from './autocompleteResponseResultsInner'; + /** * AutocompleteResponse */ -export interface AutocompleteResponse { - meta?: AutocompleteResponseMeta | null; - results?: Array | null; +export interface AutocompleteResponse { + meta?: AutocompleteResponseMeta | null; + results?: Array | null; } + diff --git a/webapp/src/app/api/model/autocompleteResponseMeta.ts b/webapp/src/app/api/model/autocompleteResponseMeta.ts index 5bf94a57..2e080d39 100644 --- a/webapp/src/app/api/model/autocompleteResponseMeta.ts +++ b/webapp/src/app/api/model/autocompleteResponseMeta.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * AutocompleteResponseMeta */ -export interface AutocompleteResponseMeta { - count?: number | null; - db_response_time_ms?: number | null; +export interface AutocompleteResponseMeta { + count?: number | null; + db_response_time_ms?: number | null; } + diff --git a/webapp/src/app/api/model/autocompleteResponseResultsInner.ts b/webapp/src/app/api/model/autocompleteResponseResultsInner.ts index 0fa956b7..99ba71fe 100644 --- a/webapp/src/app/api/model/autocompleteResponseResultsInner.ts +++ b/webapp/src/app/api/model/autocompleteResponseResultsInner.ts @@ -1,22 +1,24 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * AutocompleteResponseResultsInner */ -export interface AutocompleteResponseResultsInner { - id?: string | null; - display_name?: string | null; - hint?: string | null; - cited_by_count?: number | null; - works_count?: number | null; - entity_type?: string | null; - external_id?: string | null; +export interface AutocompleteResponseResultsInner { + id?: string | null; + display_name?: string | null; + hint?: string | null; + cited_by_count?: number | null; + works_count?: number | null; + entity_type?: string | null; + external_id?: string | null; } + diff --git a/webapp/src/app/api/model/award.ts b/webapp/src/app/api/model/award.ts index a461c971..4e3b5cc9 100644 --- a/webapp/src/app/api/model/award.ts +++ b/webapp/src/app/api/model/award.ts @@ -1,21 +1,23 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * Award */ -export interface Award { - id?: string | null; - display_name?: string | null; - funder_award_id?: string | null; - funder_id?: string | null; - funder_display_name?: string | null; - doi?: string | null; +export interface Award { + id?: string | null; + display_name?: string | null; + funder_award_id?: string | null; + funder_id?: string | null; + funder_display_name?: string | null; + doi?: string | null; } + diff --git a/webapp/src/app/api/model/bodyCreateUser.ts b/webapp/src/app/api/model/bodyCreateUser.ts new file mode 100644 index 00000000..76caab3b --- /dev/null +++ b/webapp/src/app/api/model/bodyCreateUser.ts @@ -0,0 +1,19 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export interface BodyCreateUser { + username: string; + password: string; + email: string; + institution: string; + superadmin?: boolean; +} + diff --git a/webapp/src/app/api/model/bundProject.ts b/webapp/src/app/api/model/bundProject.ts index 9f291399..3463aa78 100644 --- a/webapp/src/app/api/model/bundProject.ts +++ b/webapp/src/app/api/model/bundProject.ts @@ -1,40 +1,42 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface BundProject { - funding_code?: string | null; - department?: string | null; - department_fullname?: string | null; - referat?: string | null; - project_sponsor?: string | null; - project_sponsor_fullname?: string | null; - work_unit?: string | null; - recipient?: string | null; - municipal_code?: string | null; - municipality?: string | null; - place?: string | null; - state?: string | null; - country?: string | null; - implementing_agency?: string | null; - topic?: string | null; - performance_plan_system?: string | null; - performance_plan_system_text?: string | null; - funding_start?: string | null; - funding_end?: string | null; - grant_amount?: number | null; - funding_profile?: string | null; - joint_project?: string | null; - funding_type?: string | null; - publication_date?: string | null; - unix_timestamp?: number | null; - date?: string | null; - new?: boolean | null; - duration?: string | null; + +export interface BundProject { + funding_code?: string | null; + department?: string | null; + department_fullname?: string | null; + referat?: string | null; + project_sponsor?: string | null; + project_sponsor_fullname?: string | null; + work_unit?: string | null; + recipient?: string | null; + municipal_code?: string | null; + municipality?: string | null; + place?: string | null; + state?: string | null; + country?: string | null; + implementing_agency?: string | null; + topic?: string | null; + performance_plan_system?: string | null; + performance_plan_system_text?: string | null; + funding_start?: string | null; + funding_end?: string | null; + grant_amount?: number | null; + funding_profile?: string | null; + joint_project?: string | null; + funding_type?: string | null; + publication_date?: string | null; + unix_timestamp?: number | null; + date?: string | null; + 'new'?: boolean | null; + duration?: string | null; } + diff --git a/webapp/src/app/api/model/bundProjectDetails.ts b/webapp/src/app/api/model/bundProjectDetails.ts new file mode 100644 index 00000000..2193563c --- /dev/null +++ b/webapp/src/app/api/model/bundProjectDetails.ts @@ -0,0 +1,57 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +/** + * Clean summary model for a Bund (federal) project, consolidating all fields into semantic English names with proper native types. + */ +export interface BundProjectDetails { + /** + * The ID of the Bund project + */ + id: string; + funding_reference?: string | null; + title?: string | null; + description?: string | null; + joint_project?: string | null; + funding_type?: string | null; + funding_profile?: string | null; + funding_amount?: number | null; + funding_start_date?: string | null; + funding_end_date?: string | null; + duration?: string | null; + performance_plan_code?: string | null; + performance_plan_fullname?: string | null; + executing_agency?: string | null; + funding_recipient?: string | null; + project_agency?: string | null; + project_agency_fullname?: string | null; + department?: string | null; + department_fullname?: string | null; + division?: string | null; + location?: string | null; + municipality?: string | null; + state?: string | null; + country?: string | null; + municipality_code?: string | null; + publication_date?: string | null; + is_new?: boolean | null; + record_date?: string | null; + unix_timestamp?: number | null; + /** + * All persons associated with the Bund project (from nested Arb object) + */ + associated_persons?: Array; + /** + * All institutions associated with the Bund project + */ + institutions?: Array; +} + diff --git a/webapp/src/app/api/model/bundProjectPage.ts b/webapp/src/app/api/model/bundProjectPage.ts index 6c38e7a6..10514bce 100644 --- a/webapp/src/app/api/model/bundProjectPage.ts +++ b/webapp/src/app/api/model/bundProjectPage.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,21 +9,23 @@ */ import { BundProject } from './bundProject'; -export interface BundProjectPage { - /** - * The current page number. - */ - page?: number; - /** - * The requested page size. - */ - size?: number; - /** - * The total number of items. - */ - total?: number; - /** - * The bund projects on this page. - */ - elements?: Array; + +export interface BundProjectPage { + /** + * The current page number. + */ + page?: number; + /** + * The requested page size. + */ + size?: number; + /** + * The total number of items. + */ + total?: number; + /** + * The bund projects on this page. + */ + elements?: Array; } + diff --git a/webapp/src/app/api/model/careerMetrics.ts b/webapp/src/app/api/model/careerMetrics.ts new file mode 100644 index 00000000..abb58689 --- /dev/null +++ b/webapp/src/app/api/model/careerMetrics.ts @@ -0,0 +1,34 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export interface CareerMetrics { + first_publication_year?: number | null; + last_publication_year?: number | null; + career_age?: number | null; + career_span?: number | null; + career_stage?: string | null; + /** + * Number of distinct years with at least one publication. + */ + active_years?: number; + /** + * Number of publications used for career metrics. + */ + publication_count?: number; + publications_per_active_year?: number | null; + publications_per_career_year?: number | null; + years_since_last_publication?: number | null; + /** + * True if publication years look suspicious. + */ + has_suspicious_publication_years?: boolean; +} + diff --git a/webapp/src/app/api/model/categoryNested.ts b/webapp/src/app/api/model/categoryNested.ts deleted file mode 100644 index 2e92a624..00000000 --- a/webapp/src/app/api/model/categoryNested.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Innovation Search Engine API - * - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { DisplayCodeSplittedNested } from './displayCodeSplittedNested'; - -export interface CategoryNested { - category?: string | null; - code?: string | null; - display_code?: string | null; - /** - * A tokenized hierarchy breakdown of the display code represented as an array of strings. - */ - display_code_splitted?: Array; - /** - * Granular, nested breakdowns of the split parts of the display code. - */ - display_code_splitted_nested?: Array; -} diff --git a/webapp/src/app/api/model/collaborationNetwork.ts b/webapp/src/app/api/model/collaborationNetwork.ts index a2fbdc5b..e439c061 100644 --- a/webapp/src/app/api/model/collaborationNetwork.ts +++ b/webapp/src/app/api/model/collaborationNetwork.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,29 +13,31 @@ import { CollaborationNetworkEdge } from './collaborationNetworkEdge'; import { InstitutionNetworkNode } from './institutionNetworkNode'; import { AuthorNetworkNode } from './authorNetworkNode'; -export interface CollaborationNetwork { - /** - * The raw person ID of the person whose collaboration network this is. - */ - raw_person_id: string; - /** - * The work nodes in the collaboration network. - */ - work_nodes: Array; - /** - * The author nodes in the collaboration network. - */ - author_nodes: Array; - /** - * The institution nodes in the collaboration network. - */ - institution_nodes: Array; - /** - * The collaboration edges in the collaboration network. A collaboration edge represents a collaboration between two nodes. A -> W and A -> I - */ - collaboration_edges: Array; - /** - * The filter information for the collaboration network, including the minimum and maximum publication years of the works in the collaboration network. - */ - filter_information: FilterInformation; + +export interface CollaborationNetwork { + /** + * The raw person ID of the person whose collaboration network this is. + */ + raw_person_id: string; + /** + * The work nodes in the collaboration network. + */ + work_nodes: Array; + /** + * The author nodes in the collaboration network. + */ + author_nodes: Array; + /** + * The institution nodes in the collaboration network. + */ + institution_nodes: Array; + /** + * The collaboration edges in the collaboration network. A collaboration edge represents a collaboration between two nodes. A -> W and A -> I + */ + collaboration_edges: Array; + /** + * The filter information for the collaboration network, including the minimum and maximum publication years of the works in the collaboration network. + */ + filter_information: FilterInformation; } + diff --git a/webapp/src/app/api/model/collaborationNetworkEdge.ts b/webapp/src/app/api/model/collaborationNetworkEdge.ts index baffb178..16fb5fc6 100644 --- a/webapp/src/app/api/model/collaborationNetworkEdge.ts +++ b/webapp/src/app/api/model/collaborationNetworkEdge.ts @@ -1,20 +1,22 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface CollaborationNetworkEdge { - /** - * The raw ID of the source node. - */ - raw_source_id: string; - /** - * The raw ID of the target node. - */ - raw_target_id: string; + +export interface CollaborationNetworkEdge { + /** + * The raw ID of the source node. + */ + raw_source_id: string; + /** + * The raw ID of the target node. + */ + raw_target_id: string; } + diff --git a/webapp/src/app/api/model/collaborationNetworkNodeType.ts b/webapp/src/app/api/model/collaborationNetworkNodeType.ts index 3e673f35..752e35b0 100644 --- a/webapp/src/app/api/model/collaborationNetworkNodeType.ts +++ b/webapp/src/app/api/model/collaborationNetworkNodeType.ts @@ -1,17 +1,18 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + export const CollaborationNetworkNodeType = { - Author: 'author', - Institution: 'institution', - Work: 'work', + Author: 'author', + Institution: 'institution', + Work: 'work' } as const; -export type CollaborationNetworkNodeType = - (typeof CollaborationNetworkNodeType)[keyof typeof CollaborationNetworkNodeType]; +export type CollaborationNetworkNodeType = typeof CollaborationNetworkNodeType[keyof typeof CollaborationNetworkNodeType]; + diff --git a/webapp/src/app/api/model/companyConnection.ts b/webapp/src/app/api/model/companyConnection.ts new file mode 100644 index 00000000..4ce31814 --- /dev/null +++ b/webapp/src/app/api/model/companyConnection.ts @@ -0,0 +1,27 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { MatchedOfficer } from './matchedOfficer'; + + +export interface CompanyConnection { + company_number?: string | null; + company_name?: string | null; + company_status?: string | null; + register_art?: string | null; + register_nummer?: string | null; + native_company_number?: string | null; + registrar?: string | null; + registered_office?: string | null; + registered_address?: string | null; + retrieved_at?: string | null; + matched_officers?: Array; + officers?: Array; +} + diff --git a/webapp/src/app/api/model/companyConnectionsResponse.ts b/webapp/src/app/api/model/companyConnectionsResponse.ts new file mode 100644 index 00000000..9beabd1e --- /dev/null +++ b/webapp/src/app/api/model/companyConnectionsResponse.ts @@ -0,0 +1,25 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { CompanyConnection } from './companyConnection'; + + +export interface CompanyConnectionsResponse { + author_id: string; + display_name?: string | null; + is_ude_author: boolean; + institution_scope?: string | null; + matching_institutions?: Array; + matching_method?: string | null; + company_count: number; + has_more_results: boolean; + common_name_warning: boolean; + connections?: Array; +} + diff --git a/webapp/src/app/api/model/cordisEuProject.ts b/webapp/src/app/api/model/cordisEuProject.ts new file mode 100644 index 00000000..f18dd3d4 --- /dev/null +++ b/webapp/src/app/api/model/cordisEuProject.ts @@ -0,0 +1,41 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { Keywords } from './keywords'; +import { Topics } from './topics'; + + +export interface CordisEuProject { + /** + * Unique identifier for the project, typically the CORDIS ID + */ + id: string; + rcn?: string | null; + acronym?: string | null; + title?: string | null; + objective?: string | null; + frameworkProgramme?: string | null; + fundingScheme?: string | null; + legalBasis?: string | null; + masterCall?: string | null; + subCall?: string | null; + topics?: Topics | null; + nature?: string | null; + status?: string | null; + ecMaxContribution?: number | null; + totalCost?: number | null; + startDate?: string | null; + endDate?: string | null; + ecSignatureDate?: string | null; + contentUpdateDate?: string | null; + grantDoi?: string | null; + humanValidated?: boolean | null; + keywords?: Keywords | null; +} + diff --git a/webapp/src/app/api/model/cordisEuProjectPage.ts b/webapp/src/app/api/model/cordisEuProjectPage.ts new file mode 100644 index 00000000..393f6db8 --- /dev/null +++ b/webapp/src/app/api/model/cordisEuProjectPage.ts @@ -0,0 +1,31 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { CordisEuProject } from './cordisEuProject'; + + +export interface CordisEuProjectPage { + /** + * The current page number. + */ + page?: number; + /** + * The requested page size. + */ + size?: number; + /** + * The total number of items. + */ + total?: number; + /** + * The CORDIS EU projects on this page. + */ + elements?: Array; +} + diff --git a/webapp/src/app/api/model/costUsd.ts b/webapp/src/app/api/model/costUsd.ts index 494cb094..c7bcbee8 100644 --- a/webapp/src/app/api/model/costUsd.ts +++ b/webapp/src/app/api/model/costUsd.ts @@ -1,14 +1,17 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * Cost of this request in USD */ -export interface CostUsd {} +export interface CostUsd { +} + diff --git a/webapp/src/app/api/model/customAuthor.ts b/webapp/src/app/api/model/customAuthor.ts index 58943756..0cf7eb21 100644 --- a/webapp/src/app/api/model/customAuthor.ts +++ b/webapp/src/app/api/model/customAuthor.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,29 +9,33 @@ */ import { AuthorAffiliationsInner } from './authorAffiliationsInner'; import { AuthorParsedLongestName } from './authorParsedLongestName'; +import { CareerMetrics } from './careerMetrics'; import { DehydratedInstitution } from './dehydratedInstitution'; import { AuthorCountsByYearInner } from './authorCountsByYearInner'; import { AuthorIds } from './authorIds'; import { AuthorSummaryStats } from './authorSummaryStats'; import { WorkTopic } from './workTopic'; -export interface CustomAuthor { - id?: string | null; - orcid?: string | null; - display_name?: string | null; - display_name_alternatives?: Array | null; - longest_name?: string | null; - parsed_longest_name?: AuthorParsedLongestName | null; - works_count?: number | null; - cited_by_count?: number | null; - summary_stats?: AuthorSummaryStats | null; - affiliations?: Array | null; - last_known_institutions?: Array | null; - topics?: Array | null; - counts_by_year?: Array | null; - ids?: AuthorIds | null; - works_api_url?: string | null; - created_date?: string | null; - updated_date?: string | null; - relevance_rating?: string | null; + +export interface CustomAuthor { + id?: string | null; + orcid?: string | null; + display_name?: string | null; + display_name_alternatives?: Array | null; + longest_name?: string | null; + parsed_longest_name?: AuthorParsedLongestName | null; + works_count?: number | null; + cited_by_count?: number | null; + summary_stats?: AuthorSummaryStats | null; + affiliations?: Array | null; + last_known_institutions?: Array | null; + topics?: Array | null; + counts_by_year?: Array | null; + ids?: AuthorIds | null; + works_api_url?: string | null; + created_date?: string | null; + updated_date?: string | null; + relevance_rating?: string | null; + career_metrics?: CareerMetrics | null; } + diff --git a/webapp/src/app/api/model/customAuthorsListResponse.ts b/webapp/src/app/api/model/customAuthorsListResponse.ts index d1017811..3c80ddf5 100644 --- a/webapp/src/app/api/model/customAuthorsListResponse.ts +++ b/webapp/src/app/api/model/customAuthorsListResponse.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,12 +9,13 @@ */ import { Meta } from './meta'; import { CustomAuthor } from './customAuthor'; -import { Author } from './author'; import { GroupByResult } from './groupByResult'; -export interface CustomAuthorsListResponse { - meta?: Meta | null; - results?: Array | null; - group_by?: Array | null; - placeholder?: CustomAuthor | null; + +export interface CustomAuthorsListResponse { + meta?: Meta | null; + results?: Array | null; + group_by?: Array | null; + placeholder?: CustomAuthor | null; } + diff --git a/webapp/src/app/api/model/dehydratedAuthor.ts b/webapp/src/app/api/model/dehydratedAuthor.ts index 350718ef..4d3817f1 100644 --- a/webapp/src/app/api/model/dehydratedAuthor.ts +++ b/webapp/src/app/api/model/dehydratedAuthor.ts @@ -1,18 +1,20 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * [Dehydrated Author](/api-reference/authors#the-dehydratedauthor-object) — reduced-field version used in nested contexts */ -export interface DehydratedAuthor { - id?: string | null; - display_name?: string | null; - orcid?: string | null; +export interface DehydratedAuthor { + id?: string | null; + display_name?: string | null; + orcid?: string | null; } + diff --git a/webapp/src/app/api/model/dehydratedFunder.ts b/webapp/src/app/api/model/dehydratedFunder.ts index c4231c13..b134bbb1 100644 --- a/webapp/src/app/api/model/dehydratedFunder.ts +++ b/webapp/src/app/api/model/dehydratedFunder.ts @@ -1,18 +1,20 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * [Dehydrated Funder](/api-reference/funders) — reduced-field version used in nested contexts */ -export interface DehydratedFunder { - id?: string | null; - display_name?: string | null; - ror?: string | null; +export interface DehydratedFunder { + id?: string | null; + display_name?: string | null; + ror?: string | null; } + diff --git a/webapp/src/app/api/model/dehydratedInstitution.ts b/webapp/src/app/api/model/dehydratedInstitution.ts index 956fc03e..7b6c9824 100644 --- a/webapp/src/app/api/model/dehydratedInstitution.ts +++ b/webapp/src/app/api/model/dehydratedInstitution.ts @@ -1,21 +1,23 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * [Dehydrated Institution](/api-reference/institutions#the-dehydratedinstitution-object) — reduced-field version used in nested contexts */ -export interface DehydratedInstitution { - id?: string | null; - display_name?: string | null; - ror?: string | null; - country_code?: string | null; - type?: string | null; - lineage?: Array | null; +export interface DehydratedInstitution { + id?: string | null; + display_name?: string | null; + ror?: string | null; + country_code?: string | null; + type?: string | null; + lineage?: Array | null; } + diff --git a/webapp/src/app/api/model/dehydratedSource.ts b/webapp/src/app/api/model/dehydratedSource.ts index b672b5dd..ae714846 100644 --- a/webapp/src/app/api/model/dehydratedSource.ts +++ b/webapp/src/app/api/model/dehydratedSource.ts @@ -1,26 +1,28 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * [Dehydrated Source](/api-reference/sources#the-dehydratedsource-object) — reduced-field version used in nested contexts */ -export interface DehydratedSource { - id?: string | null; - display_name?: string | null; - issn_l?: string | null; - issn?: Array | null; - is_oa?: boolean | null; - is_in_doaj?: boolean | null; - is_core?: boolean | null; - host_organization?: string | null; - host_organization_name?: string | null; - host_organization_lineage?: Array | null; - type?: string | null; +export interface DehydratedSource { + id?: string | null; + display_name?: string | null; + issn_l?: string | null; + issn?: Array | null; + is_oa?: boolean | null; + is_in_doaj?: boolean | null; + is_core?: boolean | null; + host_organization?: string | null; + host_organization_name?: string | null; + host_organization_lineage?: Array | null; + type?: string | null; } + diff --git a/webapp/src/app/api/model/dfgProjectDetails.ts b/webapp/src/app/api/model/dfgProjectDetails.ts new file mode 100644 index 00000000..5fe29ff9 --- /dev/null +++ b/webapp/src/app/api/model/dfgProjectDetails.ts @@ -0,0 +1,41 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +/** + * Clean summary model for a DFG project, consolidating all person roles and institution references into unified lists. + */ +export interface DfgProjectDetails { + /** + * The ID of the DFG project + */ + id: string; + link?: string | null; + title?: string | null; + description?: string | null; + project_identifier?: string | null; + funding_start_date?: string | null; + funding_end_date?: string | null; + dfg_procedure?: string | null; + subject_area?: string | null; + funding_type?: string | null; + international_reference?: string | null; + website?: string | null; + /** + * All persons associated with the DFG project (any role) + */ + associated_persons?: Array; + /** + * All institutions associated with the DFG project + */ + institutions?: Array; + subproject_of?: string | null; +} + diff --git a/webapp/src/app/api/model/dfgProjectPage.ts b/webapp/src/app/api/model/dfgProjectPage.ts index a05d81d2..8f67e170 100644 --- a/webapp/src/app/api/model/dfgProjectPage.ts +++ b/webapp/src/app/api/model/dfgProjectPage.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,21 +9,23 @@ */ import { DfgProjectSummary } from './dfgProjectSummary'; -export interface DfgProjectPage { - /** - * The current page number. - */ - page?: number; - /** - * The requested page size. - */ - size?: number; - /** - * The total number of items. - */ - total?: number; - /** - * The DFG projects on this page. - */ - elements?: Array; + +export interface DfgProjectPage { + /** + * The current page number. + */ + page?: number; + /** + * The requested page size. + */ + size?: number; + /** + * The total number of items. + */ + total?: number; + /** + * The DFG projects on this page. + */ + elements?: Array; } + diff --git a/webapp/src/app/api/model/dfgProjectSummary.ts b/webapp/src/app/api/model/dfgProjectSummary.ts index 10c05a08..145dba4a 100644 --- a/webapp/src/app/api/model/dfgProjectSummary.ts +++ b/webapp/src/app/api/model/dfgProjectSummary.ts @@ -1,25 +1,27 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface DfgProjectSummary { - /** - * The unique identifier of the DFG project. - */ - id: string; - link?: string | null; - title?: string | null; - professional_classification?: string | null; - funding_start?: string | null; - funding_end?: string | null; - /** - * The names of the researchers involved in the DFG project. - */ - names?: Array; + +export interface DfgProjectSummary { + /** + * The unique identifier of the DFG project. + */ + id: string; + link?: string | null; + title?: string | null; + professional_classification?: string | null; + funding_start?: string | null; + funding_end?: string | null; + /** + * The names of the researchers involved in the DFG project. + */ + names?: Array; } + diff --git a/webapp/src/app/api/model/euProject.ts b/webapp/src/app/api/model/euProject.ts deleted file mode 100644 index 66469d1f..00000000 --- a/webapp/src/app/api/model/euProject.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * Innovation Search Engine API - * - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { ProgrammeNested } from './programmeNested'; -import { KeywordNested } from './keywordNested'; -import { OrganizationNested } from './organizationNested'; -import { CategoryNested } from './categoryNested'; - -export interface EuProject { - acronym?: string | null; - /** - * Structured lists of classification categories and taxonomy mappings assigned to the project. - */ - categories_nested?: Array; - doc_number?: string | null; - doi?: string | null; - ec_max_contribution?: string | null; - end_date?: string | null; - funding_end?: string | null; - funding_start?: string | null; - id?: string | null; - keywords?: string | null; - /** - * Strictly tokenized and isolated keywords nested for targeted search engine aggregations. - */ - keywords_nested?: Array; - link?: string | null; - objective?: string | null; - /** - * The full roster of academic, public, or private organizations participating in the project consortium. - */ - organization_nested?: Array; - /** - * The nested historical line of EU funding frameworks and structural grants supporting this project. - */ - programme_nested?: Array; - source?: string | null; - start_date?: string | null; - status?: string | null; - teaser?: string | null; - title?: string | null; - total_cost?: string | null; -} diff --git a/webapp/src/app/api/model/euProjectPage.ts b/webapp/src/app/api/model/euProjectPage.ts deleted file mode 100644 index 276e0b06..00000000 --- a/webapp/src/app/api/model/euProjectPage.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Innovation Search Engine API - * - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { EuProject } from './euProject'; - -export interface EuProjectPage { - /** - * The current page number. - */ - page?: number; - /** - * The requested page size. - */ - size?: number; - /** - * The total number of items. - */ - total?: number; - /** - * The EU projects on this page. - */ - elements?: Array; -} diff --git a/webapp/src/app/api/model/filterInformation.ts b/webapp/src/app/api/model/filterInformation.ts index 1c4af66d..b2078376 100644 --- a/webapp/src/app/api/model/filterInformation.ts +++ b/webapp/src/app/api/model/filterInformation.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -10,21 +10,23 @@ import { InstitutionInformation } from './institutionInformation'; import { WorkTopicInformation } from './workTopicInformation'; -export interface FilterInformation { - /** - * The minimum publication year of the works in the collaboration network. - */ - min_possible_year: number; - /** - * The maximum publication year of the works in the collaboration network. - */ - max_possible_year: number; - /** - * The list of institutions associated with the works in the collaboration network. - */ - institutions: Array; - /** - * The list of topics associated with the works in the collaboration network. - */ - topics: Array; + +export interface FilterInformation { + /** + * The minimum publication year of the works in the collaboration network. + */ + min_possible_year: number; + /** + * The maximum publication year of the works in the collaboration network. + */ + max_possible_year: number; + /** + * The list of institutions associated with the works in the collaboration network. + */ + institutions: Array; + /** + * The list of topics associated with the works in the collaboration network. + */ + topics: Array; } + diff --git a/webapp/src/app/api/model/filterProperties.ts b/webapp/src/app/api/model/filterProperties.ts index 7caac0b6..608acab4 100644 --- a/webapp/src/app/api/model/filterProperties.ts +++ b/webapp/src/app/api/model/filterProperties.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -10,11 +10,13 @@ import { WorksFilterProperties } from './worksFilterProperties'; import { AuthorsFilterProperties } from './authorsFilterProperties'; -export interface FilterProperties { - /** - * The type of filter to apply when generating the collaboration network. Can be either \'works\' or \'authors\'. If \'works\', the filter properties in the \'works_filter_properties\' field will be used. If \'authors\', the filter properties in the \'authors_filter_properties\' field will be used. - */ - filter_by?: string; - works_filter_properties: WorksFilterProperties | null; - authors_filter_properties: AuthorsFilterProperties | null; + +export interface FilterProperties { + /** + * The type of filter to apply when generating the collaboration network. Can be either \'works\' or \'authors\'. If \'works\', the filter properties in the \'works_filter_properties\' field will be used. If \'authors\', the filter properties in the \'authors_filter_properties\' field will be used. + */ + filter_by?: string; + works_filter_properties: WorksFilterProperties | null; + authors_filter_properties: AuthorsFilterProperties | null; } + diff --git a/webapp/src/app/api/model/funderByAuthor.ts b/webapp/src/app/api/model/funderByAuthor.ts index c62110e7..247e5629 100644 --- a/webapp/src/app/api/model/funderByAuthor.ts +++ b/webapp/src/app/api/model/funderByAuthor.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -11,13 +11,15 @@ import { PublicationIdsByAuthorPosition } from './publicationIdsByAuthorPosition import { AuthorPositionCount } from './authorPositionCount'; import { PublicationDetailByFunder } from './publicationDetailByFunder'; -export interface FunderByAuthor { - funder_id?: string | null; - funder_name?: string | null; - publication_count: number; - author_position_count: AuthorPositionCount; - publication_ids: PublicationIdsByAuthorPosition; - publication_urls?: { [key: string]: string }; - publication_titles?: { [key: string]: string }; - publication_details?: { [key: string]: PublicationDetailByFunder }; + +export interface FunderByAuthor { + funder_id?: string | null; + funder_name?: string | null; + publication_count: number; + author_position_count: AuthorPositionCount; + publication_ids: PublicationIdsByAuthorPosition; + publication_urls?: { [key: string]: string; }; + publication_titles?: { [key: string]: string; }; + publication_details?: { [key: string]: PublicationDetailByFunder; }; } + diff --git a/webapp/src/app/api/model/fundersByAuthorResponse.ts b/webapp/src/app/api/model/fundersByAuthorResponse.ts index d6e0e02f..1286429e 100644 --- a/webapp/src/app/api/model/fundersByAuthorResponse.ts +++ b/webapp/src/app/api/model/fundersByAuthorResponse.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,9 +9,11 @@ */ import { FunderByAuthor } from './funderByAuthor'; -export interface FundersByAuthorResponse { - author_id: string; - author_name?: string | null; - funder_count: number; - funders: Array; + +export interface FundersByAuthorResponse { + author_id: string; + author_name?: string | null; + funder_count: number; + funders: Array; } + diff --git a/webapp/src/app/api/model/fundingProject.ts b/webapp/src/app/api/model/fundingProject.ts new file mode 100644 index 00000000..d8645a05 --- /dev/null +++ b/webapp/src/app/api/model/fundingProject.ts @@ -0,0 +1,30 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { ProjectType } from './projectType'; + + +export interface FundingProject { + /** + * The type of the project. + */ + type: ProjectType; + /** + * The unique identifier of the project. + */ + id: string; + title?: string | null; + start_date?: string | null; + end_date?: string | null; + funding_amount?: number | null; +} +export namespace FundingProject { +} + + diff --git a/webapp/src/app/api/model/fundingProjectPage.ts b/webapp/src/app/api/model/fundingProjectPage.ts new file mode 100644 index 00000000..db43c9c4 --- /dev/null +++ b/webapp/src/app/api/model/fundingProjectPage.ts @@ -0,0 +1,31 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { FundingProject } from './fundingProject'; + + +export interface FundingProjectPage { + /** + * The current page number. + */ + page?: number; + /** + * The requested page size. + */ + size?: number; + /** + * The total number of items. + */ + total?: number; + /** + * The funding projects on this page. + */ + elements?: Array; +} + diff --git a/webapp/src/app/api/model/fwci.ts b/webapp/src/app/api/model/fwci.ts index bd7eea69..0c0cf8de 100644 --- a/webapp/src/app/api/model/fwci.ts +++ b/webapp/src/app/api/model/fwci.ts @@ -1,14 +1,17 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * Field-weighted Citation Impact, calculated as citations received / citations expected. */ -export interface Fwci {} +export interface Fwci { +} + diff --git a/webapp/src/app/api/model/groupByResult.ts b/webapp/src/app/api/model/groupByResult.ts index 98580663..68c51855 100644 --- a/webapp/src/app/api/model/groupByResult.ts +++ b/webapp/src/app/api/model/groupByResult.ts @@ -1,18 +1,20 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * GroupByResult */ -export interface GroupByResult { - key?: string | null; - key_display_name?: string | null; - count?: number | null; +export interface GroupByResult { + key?: string | null; + key_display_name?: string | null; + count?: number | null; } + diff --git a/webapp/src/app/api/model/hTTPValidationError.ts b/webapp/src/app/api/model/hTTPValidationError.ts index c8e65c3e..f624be37 100644 --- a/webapp/src/app/api/model/hTTPValidationError.ts +++ b/webapp/src/app/api/model/hTTPValidationError.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,6 +9,8 @@ */ import { ValidationError } from './validationError'; -export interface HTTPValidationError { - detail?: Array; + +export interface HTTPValidationError { + detail?: Array; } + diff --git a/webapp/src/app/api/model/identityGrant.ts b/webapp/src/app/api/model/identityGrant.ts index 4bf172b8..9ec3fe50 100644 --- a/webapp/src/app/api/model/identityGrant.ts +++ b/webapp/src/app/api/model/identityGrant.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,9 +9,11 @@ */ import { AuthScope } from './authScope'; -export interface IdentityGrant { - token_type: string; - access_token: string; - expires_in: number; - scope: AuthScope; + +export interface IdentityGrant { + token_type: string; + access_token: string; + expires_in: number; + scope: AuthScope; } + diff --git a/webapp/src/app/api/model/institution.ts b/webapp/src/app/api/model/institution.ts index c099fc57..6b1a5778 100644 --- a/webapp/src/app/api/model/institution.ts +++ b/webapp/src/app/api/model/institution.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -12,28 +12,30 @@ import { AuthorCountsByYearInner } from './authorCountsByYearInner'; import { AuthorSummaryStats } from './authorSummaryStats'; import { InstitutionGeo } from './institutionGeo'; + /** * A university, research organization, or other affiliation */ -export interface Institution { - id?: string | null; - ror?: string | null; - display_name?: string | null; - country_code?: string | null; - type?: string | null; - homepage_url?: string | null; - image_url?: string | null; - image_thumbnail_url?: string | null; - display_name_acronyms?: Array | null; - display_name_alternatives?: Array | null; - works_count?: number | null; - cited_by_count?: number | null; - summary_stats?: AuthorSummaryStats | null; - geo?: InstitutionGeo | null; - lineage?: Array | null; - ids?: InstitutionIds | null; - counts_by_year?: Array | null; - works_api_url?: string | null; - created_date?: string | null; - updated_date?: string | null; +export interface Institution { + id?: string | null; + ror?: string | null; + display_name?: string | null; + country_code?: string | null; + type?: string | null; + homepage_url?: string | null; + image_url?: string | null; + image_thumbnail_url?: string | null; + display_name_acronyms?: Array | null; + display_name_alternatives?: Array | null; + works_count?: number | null; + cited_by_count?: number | null; + summary_stats?: AuthorSummaryStats | null; + geo?: InstitutionGeo | null; + lineage?: Array | null; + ids?: InstitutionIds | null; + counts_by_year?: Array | null; + works_api_url?: string | null; + created_date?: string | null; + updated_date?: string | null; } + diff --git a/webapp/src/app/api/model/institutionFunderSummary.ts b/webapp/src/app/api/model/institutionFunderSummary.ts new file mode 100644 index 00000000..48d147b2 --- /dev/null +++ b/webapp/src/app/api/model/institutionFunderSummary.ts @@ -0,0 +1,30 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { ProjectType } from './projectType'; + + +export interface InstitutionFunderSummary { + /** + * The type of funding data (e.g., \'bund\', \'eu\', \'dfg\'). + */ + type: ProjectType; + /** + * A dictionary mapping years to total funding amounts for that year. + */ + funding_per_year?: object; + /** + * The average annual funding over the continuous period covered by the data. + */ + annual_average_over_period?: number; +} +export namespace InstitutionFunderSummary { +} + + diff --git a/webapp/src/app/api/model/institutionGeo.ts b/webapp/src/app/api/model/institutionGeo.ts index b438d37c..949b73f4 100644 --- a/webapp/src/app/api/model/institutionGeo.ts +++ b/webapp/src/app/api/model/institutionGeo.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -10,15 +10,17 @@ import { Latitude } from './latitude'; import { Longitude } from './longitude'; + /** * Location information: */ -export interface InstitutionGeo { - city?: string | null; - geonames_city_id?: string | null; - region?: string | null; - country_code?: string | null; - country?: string | null; - latitude?: Latitude | null; - longitude?: Longitude | null; +export interface InstitutionGeo { + city?: string | null; + geonames_city_id?: string | null; + region?: string | null; + country_code?: string | null; + country?: string | null; + latitude?: Latitude | null; + longitude?: Longitude | null; } + diff --git a/webapp/src/app/api/model/institutionIds.ts b/webapp/src/app/api/model/institutionIds.ts index fd952098..93d801e1 100644 --- a/webapp/src/app/api/model/institutionIds.ts +++ b/webapp/src/app/api/model/institutionIds.ts @@ -1,21 +1,23 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * External identifiers: */ -export interface InstitutionIds { - openalex?: string | null; - ror?: string | null; - mag?: number | null; - grid?: string | null; - wikipedia?: string | null; - wikidata?: string | null; +export interface InstitutionIds { + openalex?: string | null; + ror?: string | null; + mag?: number | null; + grid?: string | null; + wikipedia?: string | null; + wikidata?: string | null; } + diff --git a/webapp/src/app/api/model/institutionInformation.ts b/webapp/src/app/api/model/institutionInformation.ts index 9e12986d..e287b0fa 100644 --- a/webapp/src/app/api/model/institutionInformation.ts +++ b/webapp/src/app/api/model/institutionInformation.ts @@ -1,20 +1,22 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface InstitutionInformation { - /** - * The raw institution ID of the institution. - */ - raw_id: string; - /** - * The display name of the institution. - */ - display_name: string; + +export interface InstitutionInformation { + /** + * The raw institution ID of the institution. + */ + raw_id: string; + /** + * The display name of the institution. + */ + display_name: string; } + diff --git a/webapp/src/app/api/model/institutionNetworkNode.ts b/webapp/src/app/api/model/institutionNetworkNode.ts index 791645b7..a558a8cf 100644 --- a/webapp/src/app/api/model/institutionNetworkNode.ts +++ b/webapp/src/app/api/model/institutionNetworkNode.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,18 +9,22 @@ */ import { CollaborationNetworkNodeType } from './collaborationNetworkNodeType'; -export interface InstitutionNetworkNode { - /** - * The raw ID of the node. For an author node, this is the raw person ID. For an institution node, this is the raw institution ID. For a work node, this is the raw work ID. - */ - raw_id: string; - /** - * The display name of the node. - */ - display_name: string; - /** - * The category of the node, either \'author\', \'institution\', or \'work\'. - */ - category: CollaborationNetworkNodeType; + +export interface InstitutionNetworkNode { + /** + * The raw ID of the node. For an author node, this is the raw person ID. For an institution node, this is the raw institution ID. For a work node, this is the raw work ID. + */ + raw_id: string; + /** + * The display name of the node. + */ + display_name: string; + /** + * The category of the node, either \'author\', \'institution\', or \'work\'. + */ + category: CollaborationNetworkNodeType; } -export namespace InstitutionNetworkNode {} +export namespace InstitutionNetworkNode { +} + + diff --git a/webapp/src/app/api/model/institutionPage.ts b/webapp/src/app/api/model/institutionPage.ts new file mode 100644 index 00000000..01267ee3 --- /dev/null +++ b/webapp/src/app/api/model/institutionPage.ts @@ -0,0 +1,31 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { Institution } from './institution'; + + +export interface InstitutionPage { + /** + * List of institutions in the current page. + */ + elements?: Array; + /** + * Current page number. (0-indexed) + */ + page?: number; + /** + * Number of institutions per page. + */ + size?: number; + /** + * Total number of institutions matching the search criteria. + */ + total?: number; +} + diff --git a/webapp/src/app/api/model/institutionsListResponse.ts b/webapp/src/app/api/model/institutionsListResponse.ts index 0ac2c185..908d72fe 100644 --- a/webapp/src/app/api/model/institutionsListResponse.ts +++ b/webapp/src/app/api/model/institutionsListResponse.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -11,11 +11,13 @@ import { Meta } from './meta'; import { Institution } from './institution'; import { GroupByResult } from './groupByResult'; + /** * InstitutionsListResponse */ -export interface InstitutionsListResponse { - meta?: Meta | null; - results?: Array | null; - group_by?: Array | null; +export interface InstitutionsListResponse { + meta?: Meta | null; + results?: Array | null; + group_by?: Array | null; } + diff --git a/webapp/src/app/api/model/item.ts b/webapp/src/app/api/model/item.ts index 377f3a81..cc33194a 100644 --- a/webapp/src/app/api/model/item.ts +++ b/webapp/src/app/api/model/item.ts @@ -1,24 +1,26 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface Item { - /** - * The id of the entity. - */ - id: number; - /** - * The name of the item. - */ - name: string; - /** - * The description of the item. - */ - description: string; + +export interface Item { + /** + * The id of the entity. + */ + id: number; + /** + * The name of the item. + */ + name: string; + /** + * The description of the item. + */ + description: string; } + diff --git a/webapp/src/app/api/model/itemCreate.ts b/webapp/src/app/api/model/itemCreate.ts index 36920a12..608d6910 100644 --- a/webapp/src/app/api/model/itemCreate.ts +++ b/webapp/src/app/api/model/itemCreate.ts @@ -1,20 +1,22 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface ItemCreate { - /** - * The name of the item. - */ - name: string; - /** - * The description of the item. - */ - description: string; + +export interface ItemCreate { + /** + * The name of the item. + */ + name: string; + /** + * The description of the item. + */ + description: string; } + diff --git a/webapp/src/app/api/model/itemPage.ts b/webapp/src/app/api/model/itemPage.ts index 53a7140a..56595b8a 100644 --- a/webapp/src/app/api/model/itemPage.ts +++ b/webapp/src/app/api/model/itemPage.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,21 +9,23 @@ */ import { Item } from './item'; -export interface ItemPage { - /** - * The elements of the page. - */ - elements?: Array; - /** - * The page offset in elements. - */ - offset?: number; - /** - * The total number of elements. - */ - total?: number; - /** - * The page size in elements. - */ - size?: number; + +export interface ItemPage { + /** + * The elements of the page. + */ + elements?: Array; + /** + * The page offset in elements. + */ + offset?: number; + /** + * The total number of elements. + */ + total?: number; + /** + * The page size in elements. + */ + size?: number; } + diff --git a/webapp/src/app/api/model/displayCodeSplittedNested.ts b/webapp/src/app/api/model/keywords.ts similarity index 70% rename from webapp/src/app/api/model/displayCodeSplittedNested.ts rename to webapp/src/app/api/model/keywords.ts index 8d7317dc..c65c7600 100644 --- a/webapp/src/app/api/model/displayCodeSplittedNested.ts +++ b/webapp/src/app/api/model/keywords.ts @@ -1,13 +1,17 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface DisplayCodeSplittedNested { - single_display_code?: string | null; + +/** + * Keywords associated with the project + */ +export interface Keywords { } + diff --git a/webapp/src/app/api/model/latitude.ts b/webapp/src/app/api/model/latitude.ts index 8fb58a9b..fe6b49aa 100644 --- a/webapp/src/app/api/model/latitude.ts +++ b/webapp/src/app/api/model/latitude.ts @@ -1,11 +1,14 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface Latitude {} + +export interface Latitude { +} + diff --git a/webapp/src/app/api/model/location.ts b/webapp/src/app/api/model/location.ts index f92e2ffb..f207d751 100644 --- a/webapp/src/app/api/model/location.ts +++ b/webapp/src/app/api/model/location.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,17 +9,19 @@ */ import { DehydratedSource } from './dehydratedSource'; + /** * Where a work is hosted */ -export interface Location { - is_oa?: boolean | null; - landing_page_url?: string | null; - pdf_url?: string | null; - source?: DehydratedSource | null; - license?: string | null; - license_id?: string | null; - version?: string | null; - is_accepted?: boolean | null; - is_published?: boolean | null; +export interface Location { + is_oa?: boolean | null; + landing_page_url?: string | null; + pdf_url?: string | null; + source?: DehydratedSource | null; + license?: string | null; + license_id?: string | null; + version?: string | null; + is_accepted?: boolean | null; + is_published?: boolean | null; } + diff --git a/webapp/src/app/api/model/longitude.ts b/webapp/src/app/api/model/longitude.ts index d222a6ff..b0d39fce 100644 --- a/webapp/src/app/api/model/longitude.ts +++ b/webapp/src/app/api/model/longitude.ts @@ -1,11 +1,14 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface Longitude {} + +export interface Longitude { +} + diff --git a/webapp/src/app/api/model/matchedOfficer.ts b/webapp/src/app/api/model/matchedOfficer.ts new file mode 100644 index 00000000..4ad5c354 --- /dev/null +++ b/webapp/src/app/api/model/matchedOfficer.ts @@ -0,0 +1,23 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export interface MatchedOfficer { + name?: string | null; + firstname?: string | null; + lastname?: string | null; + city?: string | null; + position?: string | null; + start_date?: string | null; + type?: string | null; + flag?: string | null; + is_matched_person?: boolean; +} + diff --git a/webapp/src/app/api/model/meta.ts b/webapp/src/app/api/model/meta.ts index f9f56443..8481062a 100644 --- a/webapp/src/app/api/model/meta.ts +++ b/webapp/src/app/api/model/meta.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,15 +9,17 @@ */ import { CostUsd } from './costUsd'; + /** * Metadata about the query results */ -export interface Meta { - count?: number | null; - db_response_time_ms?: number | null; - page?: number | null; - per_page?: number | null; - next_cursor?: string | null; - groups_count?: number | null; - cost_usd?: CostUsd | null; +export interface Meta { + count?: number | null; + db_response_time_ms?: number | null; + page?: number | null; + per_page?: number | null; + next_cursor?: string | null; + groups_count?: number | null; + cost_usd?: CostUsd | null; } + diff --git a/webapp/src/app/api/model/model2YrMeanCitedness.ts b/webapp/src/app/api/model/model2YrMeanCitedness.ts index d9c3d9df..67ec623c 100644 --- a/webapp/src/app/api/model/model2YrMeanCitedness.ts +++ b/webapp/src/app/api/model/model2YrMeanCitedness.ts @@ -1,11 +1,14 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface Model2YrMeanCitedness {} + +export interface Model2YrMeanCitedness { +} + diff --git a/webapp/src/app/api/model/models.ts b/webapp/src/app/api/model/models.ts index 8caaecfd..60006d17 100644 --- a/webapp/src/app/api/model/models.ts +++ b/webapp/src/app/api/model/models.ts @@ -16,12 +16,18 @@ export * from './autocompleteResponse'; export * from './autocompleteResponseMeta'; export * from './autocompleteResponseResultsInner'; export * from './award'; +export * from './bodyCreateUser'; export * from './bundProject'; +export * from './bundProjectDetails'; export * from './bundProjectPage'; -export * from './categoryNested'; +export * from './careerMetrics'; export * from './collaborationNetwork'; export * from './collaborationNetworkEdge'; export * from './collaborationNetworkNodeType'; +export * from './companyConnection'; +export * from './companyConnectionsResponse'; +export * from './cordisEuProject'; +export * from './cordisEuProjectPage'; export * from './costUsd'; export * from './customAuthor'; export * from './customAuthorsListResponse'; @@ -29,51 +35,61 @@ export * from './dehydratedAuthor'; export * from './dehydratedFunder'; export * from './dehydratedInstitution'; export * from './dehydratedSource'; +export * from './dfgProjectDetails'; export * from './dfgProjectPage'; export * from './dfgProjectSummary'; -export * from './displayCodeSplittedNested'; -export * from './euProject'; -export * from './euProjectPage'; export * from './filterInformation'; export * from './filterProperties'; export * from './funderByAuthor'; export * from './fundersByAuthorResponse'; +export * from './fundingProject'; +export * from './fundingProjectPage'; export * from './fwci'; export * from './groupByResult'; export * from './hTTPValidationError'; export * from './identityGrant'; export * from './institution'; +export * from './institutionFunderSummary'; export * from './institutionGeo'; export * from './institutionIds'; export * from './institutionInformation'; export * from './institutionNetworkNode'; +export * from './institutionPage'; export * from './institutionsListResponse'; export * from './item'; export * from './itemCreate'; export * from './itemPage'; -export * from './keywordNested'; +export * from './keywords'; export * from './latitude'; export * from './location'; export * from './longitude'; +export * from './matchedOfficer'; export * from './meta'; export * from './model2YrMeanCitedness'; export * from './openAccess'; -export * from './organizationNested'; export * from './personBio'; -export * from './programmeNested'; +export * from './projectType'; +export * from './projectsFilteringProperties'; +export * from './projectsSortBy'; export * from './publicationDetailByFunder'; export * from './publicationIdsByAuthorPosition'; export * from './publicationsByAuthorResponse'; +export * from './rankingResponse'; export * from './score'; +export * from './sortDirection'; export * from './topic'; export * from './topicCount'; export * from './topicDomain'; export * from './topicField'; export * from './topicIds'; export * from './topicSubfield'; +export * from './topics'; export * from './topicsByTime'; export * from './topicsByYear'; export * from './topicsListResponse'; +export * from './universityRanking'; +export * from './universityTopicData'; +export * from './user'; export * from './validationError'; export * from './validationErrorLocInner'; export * from './value'; @@ -96,3 +112,4 @@ export * from './workTopicInformation'; export * from './workTopicSubfield'; export * from './worksFilterProperties'; export * from './worksListResponse'; +export * from './yearlyData'; diff --git a/webapp/src/app/api/model/openAccess.ts b/webapp/src/app/api/model/openAccess.ts index 40d7b1d0..32a4ddd9 100644 --- a/webapp/src/app/api/model/openAccess.ts +++ b/webapp/src/app/api/model/openAccess.ts @@ -1,19 +1,21 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * Open access information */ -export interface OpenAccess { - is_oa?: boolean | null; - oa_status?: string | null; - oa_url?: string | null; - any_repository_has_fulltext?: boolean | null; +export interface OpenAccess { + is_oa?: boolean | null; + oa_status?: string | null; + oa_url?: string | null; + any_repository_has_fulltext?: boolean | null; } + diff --git a/webapp/src/app/api/model/organizationNested.ts b/webapp/src/app/api/model/organizationNested.ts deleted file mode 100644 index 8c948d35..00000000 --- a/webapp/src/app/api/model/organizationNested.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Innovation Search Engine API - * - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -export interface OrganizationNested { - ec_contribution?: string | null; - id?: string | null; - name?: string | null; - net_ec_contribution?: string | null; - total_cost?: string | null; - organization_type?: string | null; -} diff --git a/webapp/src/app/api/model/personBio.ts b/webapp/src/app/api/model/personBio.ts index b060c9a9..f7291e6f 100644 --- a/webapp/src/app/api/model/personBio.ts +++ b/webapp/src/app/api/model/personBio.ts @@ -1,16 +1,18 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface PersonBio { - /** - * The generated biography. - */ - bio: string; + +export interface PersonBio { + /** + * The generated biography. + */ + bio: string; } + diff --git a/webapp/src/app/api/model/projectType.ts b/webapp/src/app/api/model/projectType.ts new file mode 100644 index 00000000..a01a743c --- /dev/null +++ b/webapp/src/app/api/model/projectType.ts @@ -0,0 +1,18 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export const ProjectType = { + Bund: 'bund', + Eu: 'eu', + Dfg: 'dfg' +} as const; +export type ProjectType = typeof ProjectType[keyof typeof ProjectType]; + diff --git a/webapp/src/app/api/model/projectsFilteringProperties.ts b/webapp/src/app/api/model/projectsFilteringProperties.ts new file mode 100644 index 00000000..7ce7cfc2 --- /dev/null +++ b/webapp/src/app/api/model/projectsFilteringProperties.ts @@ -0,0 +1,42 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { SortDirection } from './sortDirection'; +import { ProjectsSortBy } from './projectsSortBy'; +import { ProjectType } from './projectType'; + + +export interface ProjectsFilteringProperties { + /** + * The type of projects to filter by. + */ + project_type: ProjectType; + /** + * The page number for pagination. + */ + page: number; + /** + * The page size for pagination. + */ + size: number; + raw_oa_institution_id?: string | null; + query?: string | null; + /** + * The field to sort by. + */ + sort_by?: ProjectsSortBy; + /** + * The sort direction (asc or desc). + */ + sort_direction?: SortDirection; +} +export namespace ProjectsFilteringProperties { +} + + diff --git a/webapp/src/app/api/model/projectsSortBy.ts b/webapp/src/app/api/model/projectsSortBy.ts new file mode 100644 index 00000000..79824096 --- /dev/null +++ b/webapp/src/app/api/model/projectsSortBy.ts @@ -0,0 +1,19 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export const ProjectsSortBy = { + Title: 'title', + FundingStart: 'funding_start', + FundingEnd: 'funding_end', + FundingAmount: 'funding_amount' +} as const; +export type ProjectsSortBy = typeof ProjectsSortBy[keyof typeof ProjectsSortBy]; + diff --git a/webapp/src/app/api/model/publicationDetailByFunder.ts b/webapp/src/app/api/model/publicationDetailByFunder.ts index 0fd6b7c5..123ded7e 100644 --- a/webapp/src/app/api/model/publicationDetailByFunder.ts +++ b/webapp/src/app/api/model/publicationDetailByFunder.ts @@ -1,43 +1,45 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface PublicationDetailByFunder { - id: string; - title: string; - abstract?: string | null; - doi?: string | null; - publication_year?: number | null; - publication_date?: string | null; - publication_type?: string | null; - language?: string | null; - publication_url?: string | null; - pdf_url?: string | null; - source_name?: string | null; - source_type?: string | null; - is_open_access?: boolean | null; - open_access_status?: string | null; - has_fulltext?: boolean | null; - license?: string | null; - cited_by_count?: number | null; - is_retracted?: boolean | null; - primary_topic?: string | null; - topic_field?: string | null; - topic_subfield?: string | null; - topic_domain?: string | null; - author_position?: string | null; - authors?: Array; - funder_names?: Array; - institutions?: Array; - countries?: Array; - topics?: Array; - keywords?: Array; - grant_labels?: Array; - counts_by_year?: Array; + +export interface PublicationDetailByFunder { + id: string; + title: string; + 'abstract'?: string | null; + doi?: string | null; + publication_year?: number | null; + publication_date?: string | null; + publication_type?: string | null; + language?: string | null; + publication_url?: string | null; + pdf_url?: string | null; + source_name?: string | null; + source_type?: string | null; + is_open_access?: boolean | null; + open_access_status?: string | null; + has_fulltext?: boolean | null; + license?: string | null; + cited_by_count?: number | null; + is_retracted?: boolean | null; + primary_topic?: string | null; + topic_field?: string | null; + topic_subfield?: string | null; + topic_domain?: string | null; + author_position?: string | null; + authors?: Array; + funder_names?: Array; + institutions?: Array; + countries?: Array; + topics?: Array; + keywords?: Array; + grant_labels?: Array; + counts_by_year?: Array; } + diff --git a/webapp/src/app/api/model/publicationIdsByAuthorPosition.ts b/webapp/src/app/api/model/publicationIdsByAuthorPosition.ts index d549f8ed..c35050ef 100644 --- a/webapp/src/app/api/model/publicationIdsByAuthorPosition.ts +++ b/webapp/src/app/api/model/publicationIdsByAuthorPosition.ts @@ -1,16 +1,18 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface PublicationIdsByAuthorPosition { - first?: Array; - middle?: Array; - last?: Array; - unknown?: Array; + +export interface PublicationIdsByAuthorPosition { + first?: Array; + middle?: Array; + last?: Array; + unknown?: Array; } + diff --git a/webapp/src/app/api/model/publicationsByAuthorResponse.ts b/webapp/src/app/api/model/publicationsByAuthorResponse.ts index 35333880..5176fe39 100644 --- a/webapp/src/app/api/model/publicationsByAuthorResponse.ts +++ b/webapp/src/app/api/model/publicationsByAuthorResponse.ts @@ -1,19 +1,21 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface PublicationsByAuthorResponse { - author_id: string; - page: number; - page_size: number; - total_works: number; - total: number; - results_count: number; - results: Array; + +export interface PublicationsByAuthorResponse { + author_id: string; + page: number; + page_size: number; + total_works: number; + total: number; + results_count: number; + results: Array; } + diff --git a/webapp/src/app/api/model/rankingResponse.ts b/webapp/src/app/api/model/rankingResponse.ts new file mode 100644 index 00000000..099ec660 --- /dev/null +++ b/webapp/src/app/api/model/rankingResponse.ts @@ -0,0 +1,18 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { UniversityRanking } from './universityRanking'; +import { UniversityTopicData } from './universityTopicData'; + + +export interface RankingResponse { + timeseries: Array; + rankings: Array; +} + diff --git a/webapp/src/app/api/model/score.ts b/webapp/src/app/api/model/score.ts index 5b0b5935..fac39735 100644 --- a/webapp/src/app/api/model/score.ts +++ b/webapp/src/app/api/model/score.ts @@ -1,11 +1,14 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface Score {} + +export interface Score { +} + diff --git a/webapp/src/app/api/model/sortDirection.ts b/webapp/src/app/api/model/sortDirection.ts new file mode 100644 index 00000000..4f9362f2 --- /dev/null +++ b/webapp/src/app/api/model/sortDirection.ts @@ -0,0 +1,17 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export const SortDirection = { + Asc: 'asc', + Desc: 'desc' +} as const; +export type SortDirection = typeof SortDirection[keyof typeof SortDirection]; + diff --git a/webapp/src/app/api/model/topic.ts b/webapp/src/app/api/model/topic.ts index eaac16f6..9fc0ee63 100644 --- a/webapp/src/app/api/model/topic.ts +++ b/webapp/src/app/api/model/topic.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -12,21 +12,23 @@ import { TopicIds } from './topicIds'; import { TopicSubfield } from './topicSubfield'; import { TopicField } from './topicField'; + /** * A research topic automatically assigned to works */ -export interface Topic { - id?: string | null; - display_name?: string | null; - description?: string | null; - keywords?: Array | null; - subfield?: TopicSubfield | null; - field?: TopicField | null; - domain?: TopicDomain | null; - works_count?: number | null; - cited_by_count?: number | null; - ids?: TopicIds | null; - works_api_url?: string | null; - created_date?: string | null; - updated_date?: string | null; +export interface Topic { + id?: string | null; + display_name?: string | null; + description?: string | null; + keywords?: Array | null; + subfield?: TopicSubfield | null; + field?: TopicField | null; + domain?: TopicDomain | null; + works_count?: number | null; + cited_by_count?: number | null; + ids?: TopicIds | null; + works_api_url?: string | null; + created_date?: string | null; + updated_date?: string | null; } + diff --git a/webapp/src/app/api/model/topicCount.ts b/webapp/src/app/api/model/topicCount.ts index 559242d9..520042ec 100644 --- a/webapp/src/app/api/model/topicCount.ts +++ b/webapp/src/app/api/model/topicCount.ts @@ -1,22 +1,24 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface TopicCount { - id?: string | null; - /** - * The topic display name. - */ - name: string; - /** - * The number of occurrences. - */ - count?: number; - description?: string | null; + +export interface TopicCount { + id?: string | null; + /** + * The topic display name. + */ + name: string; + /** + * The number of occurrences. + */ + count?: number; + description?: string | null; } + diff --git a/webapp/src/app/api/model/topicDomain.ts b/webapp/src/app/api/model/topicDomain.ts index 573bef0d..652b1bca 100644 --- a/webapp/src/app/api/model/topicDomain.ts +++ b/webapp/src/app/api/model/topicDomain.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * The domain (highest level) containing this topic: */ -export interface TopicDomain { - id?: string | null; - display_name?: string | null; +export interface TopicDomain { + id?: string | null; + display_name?: string | null; } + diff --git a/webapp/src/app/api/model/topicField.ts b/webapp/src/app/api/model/topicField.ts index cd7d08c8..c7351675 100644 --- a/webapp/src/app/api/model/topicField.ts +++ b/webapp/src/app/api/model/topicField.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * The field (second level) containing this topic: */ -export interface TopicField { - id?: string | null; - display_name?: string | null; +export interface TopicField { + id?: string | null; + display_name?: string | null; } + diff --git a/webapp/src/app/api/model/topicIds.ts b/webapp/src/app/api/model/topicIds.ts index 22ca3343..4aa6738f 100644 --- a/webapp/src/app/api/model/topicIds.ts +++ b/webapp/src/app/api/model/topicIds.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * External identifiers: */ -export interface TopicIds { - openalex?: string | null; - wikipedia?: string | null; +export interface TopicIds { + openalex?: string | null; + wikipedia?: string | null; } + diff --git a/webapp/src/app/api/model/topicSubfield.ts b/webapp/src/app/api/model/topicSubfield.ts index 79f3c9c7..53d37842 100644 --- a/webapp/src/app/api/model/topicSubfield.ts +++ b/webapp/src/app/api/model/topicSubfield.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * The subfield (third level) containing this topic: */ -export interface TopicSubfield { - id?: string | null; - display_name?: string | null; +export interface TopicSubfield { + id?: string | null; + display_name?: string | null; } + diff --git a/webapp/src/app/api/model/keywordNested.ts b/webapp/src/app/api/model/topics.ts similarity index 77% rename from webapp/src/app/api/model/keywordNested.ts rename to webapp/src/app/api/model/topics.ts index f52bb734..44f0eb98 100644 --- a/webapp/src/app/api/model/keywordNested.ts +++ b/webapp/src/app/api/model/topics.ts @@ -1,13 +1,14 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface KeywordNested { - keyword?: string | null; + +export interface Topics { } + diff --git a/webapp/src/app/api/model/topicsByTime.ts b/webapp/src/app/api/model/topicsByTime.ts index 007dc43d..8af7c9bb 100644 --- a/webapp/src/app/api/model/topicsByTime.ts +++ b/webapp/src/app/api/model/topicsByTime.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,25 +9,27 @@ */ import { TopicsByYear } from './topicsByYear'; -export interface TopicsByTime { - /** - * Topics grouped by year. - */ - elements?: Array; - /** - * The number of years. - */ - total?: number; - /** - * True if the timeline contains only a limited subset of the author\'s publications. - */ - is_limited?: boolean; - /** - * The number of publications used to build the timeline. - */ - used_publications?: number; - /** - * The total number of publications found for this author. - */ - total_publications?: number; + +export interface TopicsByTime { + /** + * Topics grouped by year. + */ + elements?: Array; + /** + * The number of years. + */ + total?: number; + /** + * True if the timeline contains only a limited subset of the author\'s publications. + */ + is_limited?: boolean; + /** + * The number of publications used to build the timeline. + */ + used_publications?: number; + /** + * The total number of publications found for this author. + */ + total_publications?: number; } + diff --git a/webapp/src/app/api/model/topicsByYear.ts b/webapp/src/app/api/model/topicsByYear.ts index bb2f1820..fded8da0 100644 --- a/webapp/src/app/api/model/topicsByYear.ts +++ b/webapp/src/app/api/model/topicsByYear.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,21 +9,23 @@ */ import { TopicCount } from './topicCount'; -export interface TopicsByYear { - /** - * The publication year. - */ - year: number; - /** - * The number of works in this year. - */ - publication_count?: number; - /** - * The topics in this year. - */ - topics?: Array; - /** - * The primary topics in this year. - */ - primary_topics?: Array; + +export interface TopicsByYear { + /** + * The publication year. + */ + year: number; + /** + * The number of works in this year. + */ + publication_count?: number; + /** + * The topics in this year. + */ + topics?: Array; + /** + * The primary topics in this year. + */ + primary_topics?: Array; } + diff --git a/webapp/src/app/api/model/topicsListResponse.ts b/webapp/src/app/api/model/topicsListResponse.ts index 058b45fd..43f21226 100644 --- a/webapp/src/app/api/model/topicsListResponse.ts +++ b/webapp/src/app/api/model/topicsListResponse.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -11,11 +11,13 @@ import { Meta } from './meta'; import { GroupByResult } from './groupByResult'; import { Topic } from './topic'; + /** * TopicsListResponse */ -export interface TopicsListResponse { - meta?: Meta | null; - results?: Array | null; - group_by?: Array | null; +export interface TopicsListResponse { + meta?: Meta | null; + results?: Array | null; + group_by?: Array | null; } + diff --git a/webapp/src/app/api/model/universityRanking.ts b/webapp/src/app/api/model/universityRanking.ts new file mode 100644 index 00000000..3099e73e --- /dev/null +++ b/webapp/src/app/api/model/universityRanking.ts @@ -0,0 +1,30 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export interface UniversityRanking { + rank: number; + university: string; + publications: number; + citations: number; + growth_rate: number; + trend: UniversityRanking.TrendEnum; + is_top_mover: boolean; +} +export namespace UniversityRanking { + export const TrendEnum = { + Up: 'up', + Down: 'down', + Stable: 'stable' + } as const; + export type TrendEnum = typeof TrendEnum[keyof typeof TrendEnum]; +} + + diff --git a/webapp/src/app/api/model/universityTopicData.ts b/webapp/src/app/api/model/universityTopicData.ts new file mode 100644 index 00000000..fc517b7c --- /dev/null +++ b/webapp/src/app/api/model/universityTopicData.ts @@ -0,0 +1,28 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { YearlyData } from './yearlyData'; + + +export interface UniversityTopicData { + university: string; + topic: UniversityTopicData.TopicEnum; + yearly_data: Array; +} +export namespace UniversityTopicData { + export const TopicEnum = { + ArtificialIntelligence: 'Artificial Intelligence', + QuantumComputing: 'Quantum Computing', + RenewableEnergy: 'Renewable Energy', + Biotechnology: 'Biotechnology' + } as const; + export type TopicEnum = typeof TopicEnum[keyof typeof TopicEnum]; +} + + diff --git a/webapp/src/app/api/model/user.ts b/webapp/src/app/api/model/user.ts new file mode 100644 index 00000000..def604e1 --- /dev/null +++ b/webapp/src/app/api/model/user.ts @@ -0,0 +1,45 @@ +/** + * Innovation Search Engine API + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +/** + * An entry in the user configuration file. + */ +export interface User { + /** + * The username of the user. + */ + username: string; + /** + * The password of the user. + */ + password: string; + /** + * The email of the user. + */ + email: string; + /** + * The account id of the user. + */ + account: number; + /** + * The organization id of the user. + */ + organization: number; + /** + * The organization name of the user. + */ + organization_name: string; + /** + * Indicates whether the user is a superadmin. + */ + superadmin?: boolean; +} + diff --git a/webapp/src/app/api/model/validationError.ts b/webapp/src/app/api/model/validationError.ts index 18cd1b61..bdbd57ad 100644 --- a/webapp/src/app/api/model/validationError.ts +++ b/webapp/src/app/api/model/validationError.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,8 +9,10 @@ */ import { ValidationErrorLocInner } from './validationErrorLocInner'; -export interface ValidationError { - loc: Array; - msg: string; - type: string; + +export interface ValidationError { + loc: Array; + msg: string; + type: string; } + diff --git a/webapp/src/app/api/model/validationErrorLocInner.ts b/webapp/src/app/api/model/validationErrorLocInner.ts index 3c1ffa29..d248a9b7 100644 --- a/webapp/src/app/api/model/validationErrorLocInner.ts +++ b/webapp/src/app/api/model/validationErrorLocInner.ts @@ -1,11 +1,14 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface ValidationErrorLocInner {} + +export interface ValidationErrorLocInner { +} + diff --git a/webapp/src/app/api/model/value.ts b/webapp/src/app/api/model/value.ts index 016b21cb..a9fc79ba 100644 --- a/webapp/src/app/api/model/value.ts +++ b/webapp/src/app/api/model/value.ts @@ -1,11 +1,14 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface Value {} + +export interface Value { +} + diff --git a/webapp/src/app/api/model/work.ts b/webapp/src/app/api/model/work.ts index 6c6ae99b..07d94a1c 100644 --- a/webapp/src/app/api/model/work.ts +++ b/webapp/src/app/api/model/work.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -24,46 +24,48 @@ import { WorkHasContent } from './workHasContent'; import { Location } from './location'; import { WorkBiblio } from './workBiblio'; + /** * A scholarly document (article, book, dataset, thesis, etc.) */ -export interface Work { - id?: string | null; - doi?: string | null; - title?: string | null; - display_name?: string | null; - publication_year?: number | null; - publication_date?: string | null; - type?: string | null; - language?: string | null; - cited_by_count?: number | null; - is_retracted?: boolean | null; - is_paratext?: boolean | null; - primary_location?: Location | null; - locations?: Array | null; - best_oa_location?: Location | null; - open_access?: OpenAccess | null; - authorships?: Array | null; - ids?: WorkIds | null; - biblio?: WorkBiblio | null; - abstract_inverted_index?: object | null; - referenced_works?: Array | null; - referenced_works_count?: number | null; - related_works?: Array | null; - topics?: Array | null; - primary_topic?: WorkTopic | null; - keywords?: Array | null; - funders?: Array | null; - awards?: Array | null; - fwci?: Fwci | null; - citation_normalized_percentile?: WorkCitationNormalizedPercentile | null; - cited_by_percentile_year?: WorkCitedByPercentileYear | null; - counts_by_year?: Array | null; - sustainable_development_goals?: Array | null; - mesh?: Array | null; - indexed_in?: Array | null; - has_content?: WorkHasContent | null; - content_url?: string | null; - created_date?: string | null; - updated_date?: string | null; +export interface Work { + id?: string | null; + doi?: string | null; + title?: string | null; + display_name?: string | null; + publication_year?: number | null; + publication_date?: string | null; + type?: string | null; + language?: string | null; + cited_by_count?: number | null; + is_retracted?: boolean | null; + is_paratext?: boolean | null; + primary_location?: Location | null; + locations?: Array | null; + best_oa_location?: Location | null; + open_access?: OpenAccess | null; + authorships?: Array | null; + ids?: WorkIds | null; + biblio?: WorkBiblio | null; + abstract_inverted_index?: object | null; + referenced_works?: Array | null; + referenced_works_count?: number | null; + related_works?: Array | null; + topics?: Array | null; + primary_topic?: WorkTopic | null; + keywords?: Array | null; + funders?: Array | null; + awards?: Array | null; + fwci?: Fwci | null; + citation_normalized_percentile?: WorkCitationNormalizedPercentile | null; + cited_by_percentile_year?: WorkCitedByPercentileYear | null; + counts_by_year?: Array | null; + sustainable_development_goals?: Array | null; + mesh?: Array | null; + indexed_in?: Array | null; + has_content?: WorkHasContent | null; + content_url?: string | null; + created_date?: string | null; + updated_date?: string | null; } + diff --git a/webapp/src/app/api/model/workBiblio.ts b/webapp/src/app/api/model/workBiblio.ts index 65c0a34b..f6d7079b 100644 --- a/webapp/src/app/api/model/workBiblio.ts +++ b/webapp/src/app/api/model/workBiblio.ts @@ -1,19 +1,21 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * Bibliographic info: `volume`, `issue`, `first_page`, `last_page`. */ -export interface WorkBiblio { - volume?: string | null; - issue?: string | null; - first_page?: string | null; - last_page?: string | null; +export interface WorkBiblio { + volume?: string | null; + issue?: string | null; + first_page?: string | null; + last_page?: string | null; } + diff --git a/webapp/src/app/api/model/workCitationNormalizedPercentile.ts b/webapp/src/app/api/model/workCitationNormalizedPercentile.ts index 4a2bc6d4..a587ddf6 100644 --- a/webapp/src/app/api/model/workCitationNormalizedPercentile.ts +++ b/webapp/src/app/api/model/workCitationNormalizedPercentile.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,11 +9,13 @@ */ import { Value } from './value'; + /** * Percentile of citation count normalized by work type, year, and subfield. Includes `value`, `is_in_top_1_percent`, `is_in_top_10_percent`. */ -export interface WorkCitationNormalizedPercentile { - value?: Value | null; - is_in_top_1_percent?: boolean | null; - is_in_top_10_percent?: boolean | null; +export interface WorkCitationNormalizedPercentile { + value?: Value | null; + is_in_top_1_percent?: boolean | null; + is_in_top_10_percent?: boolean | null; } + diff --git a/webapp/src/app/api/model/workCitedByPercentileYear.ts b/webapp/src/app/api/model/workCitedByPercentileYear.ts index 7bcd3c85..5257eb3b 100644 --- a/webapp/src/app/api/model/workCitedByPercentileYear.ts +++ b/webapp/src/app/api/model/workCitedByPercentileYear.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * Percentile rank compared to other works published in the same year. Contains `min` and `max`. */ -export interface WorkCitedByPercentileYear { - min?: number | null; - max?: number | null; +export interface WorkCitedByPercentileYear { + min?: number | null; + max?: number | null; } + diff --git a/webapp/src/app/api/model/workCountsByYearInner.ts b/webapp/src/app/api/model/workCountsByYearInner.ts index 496a11db..76d97d77 100644 --- a/webapp/src/app/api/model/workCountsByYearInner.ts +++ b/webapp/src/app/api/model/workCountsByYearInner.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * WorkCountsByYearInner */ -export interface WorkCountsByYearInner { - year?: number | null; - cited_by_count?: number | null; +export interface WorkCountsByYearInner { + year?: number | null; + cited_by_count?: number | null; } + diff --git a/webapp/src/app/api/model/workHasContent.ts b/webapp/src/app/api/model/workHasContent.ts index 76871238..44fbe446 100644 --- a/webapp/src/app/api/model/workHasContent.ts +++ b/webapp/src/app/api/model/workHasContent.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * Information about downloadable full-text content: */ -export interface WorkHasContent { - pdf?: boolean | null; - grobid_xml?: boolean | null; +export interface WorkHasContent { + pdf?: boolean | null; + grobid_xml?: boolean | null; } + diff --git a/webapp/src/app/api/model/workIds.ts b/webapp/src/app/api/model/workIds.ts index fe562e40..e8315250 100644 --- a/webapp/src/app/api/model/workIds.ts +++ b/webapp/src/app/api/model/workIds.ts @@ -1,20 +1,22 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * External identifiers: `openalex`, `doi`, `mag`, `pmid`, `pmcid`. */ -export interface WorkIds { - openalex?: string | null; - doi?: string | null; - mag?: number | null; - pmid?: string | null; - pmcid?: string | null; +export interface WorkIds { + openalex?: string | null; + doi?: string | null; + mag?: number | null; + pmid?: string | null; + pmcid?: string | null; } + diff --git a/webapp/src/app/api/model/workKeyword.ts b/webapp/src/app/api/model/workKeyword.ts index 7270db25..c9c99afb 100644 --- a/webapp/src/app/api/model/workKeyword.ts +++ b/webapp/src/app/api/model/workKeyword.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,11 +9,13 @@ */ import { Score } from './score'; + /** * WorkKeyword */ -export interface WorkKeyword { - id?: string | null; - display_name?: string | null; - score?: Score | null; +export interface WorkKeyword { + id?: string | null; + display_name?: string | null; + score?: Score | null; } + diff --git a/webapp/src/app/api/model/workMeshInner.ts b/webapp/src/app/api/model/workMeshInner.ts index 36a0c569..40633524 100644 --- a/webapp/src/app/api/model/workMeshInner.ts +++ b/webapp/src/app/api/model/workMeshInner.ts @@ -1,20 +1,22 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * WorkMeshInner */ -export interface WorkMeshInner { - descriptor_ui?: string | null; - descriptor_name?: string | null; - qualifier_ui?: string | null; - qualifier_name?: string | null; - is_major_topic?: boolean | null; +export interface WorkMeshInner { + descriptor_ui?: string | null; + descriptor_name?: string | null; + qualifier_ui?: string | null; + qualifier_name?: string | null; + is_major_topic?: boolean | null; } + diff --git a/webapp/src/app/api/model/workNetworkNode.ts b/webapp/src/app/api/model/workNetworkNode.ts index 445cd8ad..abc04a69 100644 --- a/webapp/src/app/api/model/workNetworkNode.ts +++ b/webapp/src/app/api/model/workNetworkNode.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -10,20 +10,24 @@ import { WorkTopicInformation } from './workTopicInformation'; import { CollaborationNetworkNodeType } from './collaborationNetworkNodeType'; -export interface WorkNetworkNode { - /** - * The raw ID of the node. For an author node, this is the raw person ID. For an institution node, this is the raw institution ID. For a work node, this is the raw work ID. - */ - raw_id: string; - /** - * The display name of the node. - */ - display_name: string; - /** - * The category of the node, either \'author\', \'institution\', or \'work\'. - */ - category: CollaborationNetworkNodeType; - publication_year: number | null; - work_topics_information: Set | null; + +export interface WorkNetworkNode { + /** + * The raw ID of the node. For an author node, this is the raw person ID. For an institution node, this is the raw institution ID. For a work node, this is the raw work ID. + */ + raw_id: string; + /** + * The display name of the node. + */ + display_name: string; + /** + * The category of the node, either \'author\', \'institution\', or \'work\'. + */ + category: CollaborationNetworkNodeType; + publication_year: number | null; + work_topics_information: Set | null; } -export namespace WorkNetworkNode {} +export namespace WorkNetworkNode { +} + + diff --git a/webapp/src/app/api/model/workPage.ts b/webapp/src/app/api/model/workPage.ts index 285d2065..8490c3ab 100644 --- a/webapp/src/app/api/model/workPage.ts +++ b/webapp/src/app/api/model/workPage.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,25 +9,27 @@ */ import { Work } from './work'; -export interface WorkPage { - /** - * Total number of works matching the query - */ - total: number; - /** - * List of works on the current page - */ - elements: Array; - /** - * Offset of the current page - */ - offset: number; - /** - * Size of the current page - */ - size: number; - /** - * Indicates if the current page is the last page - */ - last_page: boolean; + +export interface WorkPage { + /** + * Total number of works matching the query + */ + total: number; + /** + * List of works on the current page + */ + elements: Array; + /** + * Offset of the current page + */ + offset: number; + /** + * Size of the current page + */ + size: number; + /** + * Indicates if the current page is the last page + */ + last_page: boolean; } + diff --git a/webapp/src/app/api/model/workSustainableDevelopmentGoalsInner.ts b/webapp/src/app/api/model/workSustainableDevelopmentGoalsInner.ts index 8bc67292..c9ecd00f 100644 --- a/webapp/src/app/api/model/workSustainableDevelopmentGoalsInner.ts +++ b/webapp/src/app/api/model/workSustainableDevelopmentGoalsInner.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -9,11 +9,13 @@ */ import { Score } from './score'; + /** * WorkSustainableDevelopmentGoalsInner */ -export interface WorkSustainableDevelopmentGoalsInner { - id?: string | null; - display_name?: string | null; - score?: Score | null; +export interface WorkSustainableDevelopmentGoalsInner { + id?: string | null; + display_name?: string | null; + score?: Score | null; } + diff --git a/webapp/src/app/api/model/workTopic.ts b/webapp/src/app/api/model/workTopic.ts index 4b326824..925ead4f 100644 --- a/webapp/src/app/api/model/workTopic.ts +++ b/webapp/src/app/api/model/workTopic.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -12,14 +12,16 @@ import { WorkTopicDomain } from './workTopicDomain'; import { WorkTopicSubfield } from './workTopicSubfield'; import { WorkTopicField } from './workTopicField'; + /** * WorkTopic */ -export interface WorkTopic { - id?: string | null; - display_name?: string | null; - score?: Score | null; - subfield?: WorkTopicSubfield | null; - field?: WorkTopicField | null; - domain?: WorkTopicDomain | null; +export interface WorkTopic { + id?: string | null; + display_name?: string | null; + score?: Score | null; + subfield?: WorkTopicSubfield | null; + field?: WorkTopicField | null; + domain?: WorkTopicDomain | null; } + diff --git a/webapp/src/app/api/model/workTopicDomain.ts b/webapp/src/app/api/model/workTopicDomain.ts index 13b227df..1a9879d4 100644 --- a/webapp/src/app/api/model/workTopicDomain.ts +++ b/webapp/src/app/api/model/workTopicDomain.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * The parent [domain](/api-reference/domains) */ -export interface WorkTopicDomain { - id?: string | null; - display_name?: string | null; +export interface WorkTopicDomain { + id?: string | null; + display_name?: string | null; } + diff --git a/webapp/src/app/api/model/workTopicField.ts b/webapp/src/app/api/model/workTopicField.ts index 432b993e..1807cfc1 100644 --- a/webapp/src/app/api/model/workTopicField.ts +++ b/webapp/src/app/api/model/workTopicField.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * The parent [field](/api-reference/fields) */ -export interface WorkTopicField { - id?: string | null; - display_name?: string | null; +export interface WorkTopicField { + id?: string | null; + display_name?: string | null; } + diff --git a/webapp/src/app/api/model/workTopicInformation.ts b/webapp/src/app/api/model/workTopicInformation.ts index 5dbbfc78..ca3b9454 100644 --- a/webapp/src/app/api/model/workTopicInformation.ts +++ b/webapp/src/app/api/model/workTopicInformation.ts @@ -1,20 +1,22 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface WorkTopicInformation { - /** - * The ID of the topic. - */ - raw_topic_id: string; - /** - * The name of the topic. - */ - display_name: string; + +export interface WorkTopicInformation { + /** + * The ID of the topic. + */ + raw_topic_id: string; + /** + * The name of the topic. + */ + display_name: string; } + diff --git a/webapp/src/app/api/model/workTopicSubfield.ts b/webapp/src/app/api/model/workTopicSubfield.ts index 49c1155b..b6e7278a 100644 --- a/webapp/src/app/api/model/workTopicSubfield.ts +++ b/webapp/src/app/api/model/workTopicSubfield.ts @@ -1,17 +1,19 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ + /** * The parent [subfield](/api-reference/subfields) */ -export interface WorkTopicSubfield { - id?: string | null; - display_name?: string | null; +export interface WorkTopicSubfield { + id?: string | null; + display_name?: string | null; } + diff --git a/webapp/src/app/api/model/worksFilterProperties.ts b/webapp/src/app/api/model/worksFilterProperties.ts index fd25fd26..bd6cc9a4 100644 --- a/webapp/src/app/api/model/worksFilterProperties.ts +++ b/webapp/src/app/api/model/worksFilterProperties.ts @@ -1,32 +1,34 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface WorksFilterProperties { - /** - * The start publication year for the works to include in the collaboration network. - */ - start_year?: number; - /** - * The end publication year for the works to include in the collaboration network. - */ - end_year?: number; - /** - * The list of raw topic IDs to include in the collaboration network. If empty, all topics will be included. - */ - allowed_topics?: Array; - /** - * The minimum number of contributors required for a work to be included in the collaboration network. - */ - min_contributors?: number; - /** - * The maximum number of contributors allowed for a work to be included in the collaboration network. - */ - max_contributors?: number; + +export interface WorksFilterProperties { + /** + * The start publication year for the works to include in the collaboration network. + */ + start_year?: number; + /** + * The end publication year for the works to include in the collaboration network. + */ + end_year?: number; + /** + * The list of raw topic IDs to include in the collaboration network. If empty, all topics will be included. + */ + allowed_topics?: Array; + /** + * The minimum number of contributors required for a work to be included in the collaboration network. + */ + min_contributors?: number; + /** + * The maximum number of contributors allowed for a work to be included in the collaboration network. + */ + max_contributors?: number; } + diff --git a/webapp/src/app/api/model/worksListResponse.ts b/webapp/src/app/api/model/worksListResponse.ts index bc21a41b..a65d3849 100644 --- a/webapp/src/app/api/model/worksListResponse.ts +++ b/webapp/src/app/api/model/worksListResponse.ts @@ -1,7 +1,7 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -11,11 +11,13 @@ import { Meta } from './meta'; import { Work } from './work'; import { GroupByResult } from './groupByResult'; + /** * WorksListResponse */ -export interface WorksListResponse { - meta?: Meta | null; - results?: Array | null; - group_by?: Array | null; +export interface WorksListResponse { + meta?: Meta | null; + results?: Array | null; + group_by?: Array | null; } + diff --git a/webapp/src/app/api/model/programmeNested.ts b/webapp/src/app/api/model/yearlyData.ts similarity index 65% rename from webapp/src/app/api/model/programmeNested.ts rename to webapp/src/app/api/model/yearlyData.ts index 98710fdb..3272805e 100644 --- a/webapp/src/app/api/model/programmeNested.ts +++ b/webapp/src/app/api/model/yearlyData.ts @@ -1,15 +1,17 @@ /** * Innovation Search Engine API * - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ -export interface ProgrammeNested { - code?: string | null; - id?: string | null; - programme?: string | null; + +export interface YearlyData { + year: number; + publications: number; + citations: number; } + diff --git a/webapp/src/app/api/param.ts b/webapp/src/app/api/param.ts index 486c804e..78a2d20a 100644 --- a/webapp/src/app/api/param.ts +++ b/webapp/src/app/api/param.ts @@ -8,7 +8,8 @@ export type StandardParamStyle = | 'simple' | 'spaceDelimited' | 'pipeDelimited' - | 'deepObject'; + | 'deepObject' + ; /** * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user. @@ -24,12 +25,13 @@ export type ParamLocation = 'query' | 'header' | 'path' | 'cookie'; * Standard types as defined in OpenAPI Specification: Data Types */ export type StandardDataType = - | 'integer' - | 'number' - | 'boolean' - | 'string' - | 'object' - | 'array'; + | "integer" + | "number" + | "boolean" + | "string" + | "object" + | "array" + ; /** * Standard {@link DataType}s plus your own types/classes. @@ -40,15 +42,16 @@ export type DataType = StandardDataType | string; * Standard formats as defined in OpenAPI Specification: Data Types */ export type StandardDataFormat = - | 'int32' - | 'int64' - | 'float' - | 'double' - | 'byte' - | 'binary' - | 'date' - | 'date-time' - | 'password'; + | "int32" + | "int64" + | "float" + | "double" + | "byte" + | "binary" + | "date" + | "date-time" + | "password" + ; export type DataFormat = StandardDataFormat | string; @@ -59,7 +62,7 @@ export interface Param { name: string; value: unknown; in: ParamLocation; - style: ParamStyle; + style: ParamStyle, explode: boolean; dataType: DataType; dataFormat: DataFormat | undefined; diff --git a/webapp/src/app/api/provide-api.ts b/webapp/src/app/api/provide-api.ts index 960132f8..19c762ac 100644 --- a/webapp/src/app/api/provide-api.ts +++ b/webapp/src/app/api/provide-api.ts @@ -1,17 +1,15 @@ -import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core'; +import { EnvironmentProviders, makeEnvironmentProviders } from "@angular/core"; import { Configuration, ConfigurationParameters } from './configuration'; import { BASE_PATH } from './variables'; // Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig). -export function provideApi( - configOrBasePath: string | ConfigurationParameters, -): EnvironmentProviders { - return makeEnvironmentProviders([ - typeof configOrBasePath === 'string' - ? { provide: BASE_PATH, useValue: configOrBasePath } - : { - provide: Configuration, - useValue: new Configuration({ ...configOrBasePath }), - }, - ]); -} +export function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders { + return makeEnvironmentProviders([ + typeof configOrBasePath === "string" + ? { provide: BASE_PATH, useValue: configOrBasePath } + : { + provide: Configuration, + useValue: new Configuration({ ...configOrBasePath }), + }, + ]); +} \ No newline at end of file diff --git a/webapp/src/app/api/variables.ts b/webapp/src/app/api/variables.ts index 2277a9cc..6fe58549 100644 --- a/webapp/src/app/api/variables.ts +++ b/webapp/src/app/api/variables.ts @@ -2,8 +2,8 @@ import { InjectionToken } from '@angular/core'; export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { - csv: ',', - tsv: ' ', - ssv: ' ', - pipes: '|', -}; + 'csv': ',', + 'tsv': ' ', + 'ssv': ' ', + 'pipes': '|' +} diff --git a/webapp/src/app/app.config.ts b/webapp/src/app/app.config.ts index fe2175b6..0325060b 100644 --- a/webapp/src/app/app.config.ts +++ b/webapp/src/app/app.config.ts @@ -51,6 +51,8 @@ export const appConfig: ApplicationConfig = { return; } + console.error('Fehler beim Navigieren:', navigationError); + const error = navigationError.error; let errorMessage: string = 'Unbekannter Fehler'; if (error instanceof HttpErrorResponse) { diff --git a/webapp/src/app/app.routes.ts b/webapp/src/app/app.routes.ts index 1f7b3f08..fa3f3446 100644 --- a/webapp/src/app/app.routes.ts +++ b/webapp/src/app/app.routes.ts @@ -5,9 +5,15 @@ import { personListResolver } from './resolvers/person-list.resolver'; import { personBioResolver } from './resolvers/person-bio.resolver'; import { personResolver } from './resolvers/person.resolver'; import { institutionResolver } from './resolvers/institution.resolver'; -import { bundProjectsResolver } from './resolvers/bund-projects.resolver'; -import { euProjectsResolver } from './resolvers/eu-projects.resolver'; +import { bundProjectPageResolver } from './resolvers/bund-project-page.resolver'; import { dfgProjectsResolver } from './resolvers/dfg-projects.resolver'; +import { institutionsResolver } from './resolvers/institutions.resolver'; +import { bundProjectsFundingResolver } from './resolvers/bund-projects-funding.resolver'; +import { dfgSingleProjectResolver } from './resolvers/dfg-single-project-resolver'; +import { bundSingleProjectResolver } from './resolvers/bund-single-project-resolver'; +import { cordisEuProjectPageResolver } from './resolvers/cordis-eu-project-page.resolver'; +import { cordisEuProjectsFundingResolver } from './resolvers/cordis-eu-projects-funding.resolver'; +import { fundingProjectPageResolver } from './resolvers/funding-project-page.resolver'; import { publicationsResolver } from './resolvers/publications.resolver'; export const routes: Routes = [ @@ -23,6 +29,13 @@ export const routes: Routes = [ (mod) => mod.AppLoginComponent, ), }, + { + path: 'register', + loadComponent: () => + import('./modules/app-register/app-register.component').then( + (mod) => mod.AppRegisterComponent, + ), + }, { path: 'dashboard', canActivate: [userGuard], @@ -78,6 +91,30 @@ export const routes: Routes = [ (mod) => mod.PublicationDetailComponent, ), }, + { + path: 'projects/dfg/:id', + canActivate: [userGuard], + pathMatch: 'full', + loadComponent: () => + import('./modules/person-projects/dfg-details/dfg-details.component').then( + (mod) => mod.DfgDetailsComponent, + ), + resolve: { + dfgSingleProject: dfgSingleProjectResolver, + }, + }, + { + path: 'projects/bund/:id', + canActivate: [userGuard], + pathMatch: 'full', + loadComponent: () => + import('./modules/person-projects/bund-details/bund-details.component').then( + (mod) => mod.BundDetailsComponent, + ), + resolve: { + bundSingleProject: bundSingleProjectResolver, + }, + }, { path: 'person/:id', canActivate: [userGuard], @@ -184,8 +221,40 @@ export const routes: Routes = [ (mod) => mod.PersonFundingComponent, ), }, + { + path: 'patents', + loadComponent: () => + import('./modules/person-patents/person-patents.component').then( + (mod) => mod.PersonPatentsComponent, + ), + }, + { + path: 'company-connections', + loadComponent: () => + import('./modules/person-company-connections/person-company-connections.component').then( + (mod) => mod.PersonCompanyConnectionsComponent, + ), + }, ], }, + { + path: 'institutions', + canActivate: [userGuard], + loadComponent: () => + import('./modules/institutions/institutions.component').then( + (mod) => mod.InstitutionsComponent, + ), + resolve: { + institutionPage: institutionsResolver, + }, + runGuardsAndResolvers: (from, to) => { + const keys = ['search', 'page', 'size', 'sort_by', 'sorting_order']; + + return keys.some( + (key) => from.queryParamMap.get(key) !== to.queryParamMap.get(key), + ); + }, + }, { path: 'institution/:institutionId', canActivate: [userGuard], @@ -209,6 +278,13 @@ export const routes: Routes = [ (mod) => mod.InstitutionOverviewComponent, ), }, + { + path: 'publications', + loadComponent: () => + import('./modules/institution-publications/institution-publications.component').then( + (mod) => mod.InstitutionPublicationsComponent, + ), + }, { path: 'projects', loadComponent: () => { @@ -217,8 +293,10 @@ export const routes: Routes = [ ); }, resolve: { - bundProjectPage: bundProjectsResolver, - euProjectPage: euProjectsResolver, + bundProjectPage: bundProjectPageResolver, + bundProjectsFunding: bundProjectsFundingResolver, + cordisEuProjectPage: cordisEuProjectPageResolver, + cordisEuProjectsFunding: cordisEuProjectsFundingResolver, }, runGuardsAndResolvers: (from, to) => { const keys = ['page', 'size', 'sort_by', 'sort_direction', 'search']; @@ -229,8 +307,26 @@ export const routes: Routes = [ }, }, ], + }, + { + path: 'projects', + canActivate: [userGuard], + loadComponent: () => + import('./modules/projects/projects.component').then( + (mod) => mod.ProjectsComponent, + ), + resolve: { + fundingProjectPage: fundingProjectPageResolver, + }, runGuardsAndResolvers: (from, to) => { - const keys = ['page', 'size', 'sort_by', 'sort_direction']; + const keys = [ + 'search', + 'page', + 'size', + 'selected_project_types', + 'sort_by', + 'sorting_order', + ]; return keys.some( (key) => from.queryParamMap.get(key) !== to.queryParamMap.get(key), @@ -256,5 +352,6 @@ export const routes: Routes = [ routeMessage: 'Die gesuchte Seite existiert leider nicht oder wurde verschoben.', }, + canActivate: [userGuard], }, ]; diff --git a/webapp/src/app/modules/app-login/app-login.component.html b/webapp/src/app/modules/app-login/app-login.component.html index 4ebfd0be..e7cb87a6 100644 --- a/webapp/src/app/modules/app-login/app-login.component.html +++ b/webapp/src/app/modules/app-login/app-login.component.html @@ -42,6 +42,12 @@ [disabled]="!loginForm.valid || (credentialService.validating | async)"> Anmelden + +
+ +

@if (credentialService.validating | async) { diff --git a/webapp/src/app/modules/app-login/app-login.component.scss b/webapp/src/app/modules/app-login/app-login.component.scss index 56b7c05a..034b92ac 100644 --- a/webapp/src/app/modules/app-login/app-login.component.scss +++ b/webapp/src/app/modules/app-login/app-login.component.scss @@ -37,7 +37,7 @@ } .field { - width: 300px; + width: 400px; } .progress { diff --git a/webapp/src/app/modules/app-login/app-login.component.ts b/webapp/src/app/modules/app-login/app-login.component.ts index 17353a00..24fd129f 100644 --- a/webapp/src/app/modules/app-login/app-login.component.ts +++ b/webapp/src/app/modules/app-login/app-login.component.ts @@ -13,7 +13,7 @@ import { MatIconModule } from '@angular/material/icon'; import { CommonModule } from '@angular/common'; import { Subscription } from 'rxjs'; import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar'; -import { Router } from '@angular/router'; +import { Router, RouterLink } from '@angular/router'; @Component({ selector: 'app-app-login', @@ -25,6 +25,7 @@ import { Router } from '@angular/router'; MatButtonModule, MatIconModule, MatSnackBarModule, + RouterLink, ], templateUrl: './app-login.component.html', styleUrl: './app-login.component.scss', diff --git a/webapp/src/app/modules/app-register/app-register.component.html b/webapp/src/app/modules/app-register/app-register.component.html new file mode 100644 index 00000000..e6349bc5 --- /dev/null +++ b/webapp/src/app/modules/app-register/app-register.component.html @@ -0,0 +1,102 @@ +

+
+

Konto erstellen

+

Bitte gib Deine Daten ein, um Dich zu registrieren.

+ + + Benutzername + + @if (registerForm.controls['username'].hasError('required')) { + Fehler: Benutzername erforderlich. + } @else if (registerForm.controls['username'].hasError('minlength')) { + Fehler: Benutzername ist unvollständig. + } + + + + E-Mail + + @if (registerForm.controls['email'].hasError('required')) { + Fehler: E-Mail erforderlich. + } @else if (registerForm.controls['email'].hasError('email')) { + Fehler: Ungültige E-Mail Adresse. + } + + + + Passwort + + @if (showPassword) { + visibility + } @else { + visibility_off + } + @if (registerForm.controls['password'].hasError('required')) { + Fehler: Passwort erforderlich. + } @else if (registerForm.controls['password'].hasError('minlength')) { + Fehler: Passwort ist unvollständig. + } + + + + Institution + + apartment + + @if (registerForm.controls['institution'].hasError('required')) { + Fehler: Institution erforderlich. + } + + @for (institution of institutionOptions(); track institution.id) { + +
+ {{ institution.display_name }} +
+ @if (institution.hint) { + {{ institution.hint }} + } +
+ } +
+
+ +
+ Superadmin Rechte +
+ + + +
+ +
+
+

+ +

+
diff --git a/webapp/src/app/modules/app-register/app-register.component.scss b/webapp/src/app/modules/app-register/app-register.component.scss new file mode 100644 index 00000000..d1585259 --- /dev/null +++ b/webapp/src/app/modules/app-register/app-register.component.scss @@ -0,0 +1,56 @@ +.container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + background: linear-gradient(160deg, #f4f6fb, #e8ecf7); +} + +.form { + display: flex; + flex-direction: column; + align-items: center; + background: #fff; + border: none; + border-radius: 12px; + box-shadow: + 0 2px 12px #1a3a6e1a, + 0 1px 4px #0000000f; + gap: 20px; + padding: 36px 32px 28px; + + h3 { + margin: 0 0 4px; + font-weight: 600; + color: #1a3a6e; + } +} + +.button { + min-height: 48px; + min-width: 140px; + border-radius: 8px; + font-weight: 500; + letter-spacing: 0.02em; +} + +.field { + width: 400px; +} + +.checkbox-container { + display: flex; + align-items: center; + justify-content: flex-start; +} + +.progress { + padding-top: 5px; + width: 300px; + height: 2em; + text-align: center; + font-size: small; + color: #585f71; +} diff --git a/webapp/src/app/modules/app-register/app-register.component.ts b/webapp/src/app/modules/app-register/app-register.component.ts new file mode 100644 index 00000000..42d53887 --- /dev/null +++ b/webapp/src/app/modules/app-register/app-register.component.ts @@ -0,0 +1,173 @@ +import { + Component, + inject, + OnDestroy, + signal, + DestroyRef, + OnInit, +} from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; +import { Router, RouterLink } from '@angular/router'; +import { + FormBuilder, + FormGroup, + ReactiveFormsModule, + Validators, +} from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatInputModule } from '@angular/material/input'; +import { MatIconModule } from '@angular/material/icon'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { CredentialService } from '../../shared/services/credential.service'; +import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar'; +import { + Subscription, + map, + switchMap, + debounceTime, + distinctUntilChanged, + catchError, + of, +} from 'rxjs'; +import { + MatAutocompleteModule, + MatAutocompleteSelectedEvent, +} from '@angular/material/autocomplete'; +import { InstitutionsService } from '../../api'; +@Component({ + selector: 'app-register', + standalone: true, + imports: [ + CommonModule, + ReactiveFormsModule, + MatButtonModule, + MatFormFieldModule, + MatInputModule, + MatIconModule, + MatCheckboxModule, + RouterLink, + MatSnackBarModule, + MatAutocompleteModule, + ], + templateUrl: './app-register.component.html', + styleUrl: './app-register.component.scss', +}) +export class AppRegisterComponent implements OnDestroy, OnInit { + private readonly fb = inject(FormBuilder); + protected readonly credentialService = inject(CredentialService); + private readonly router = inject(Router); + private readonly snackBar = inject(MatSnackBar); + private readonly destroyRef = inject(DestroyRef); + private subscription?: Subscription; + private institutionsService = inject(InstitutionsService); + registerForm: FormGroup = this.fb.group({ + username: ['', [Validators.required, Validators.minLength(4)]], + email: ['', [Validators.required, Validators.email]], + password: ['', [Validators.required, Validators.minLength(8)]], + institution: ['', [Validators.required]], + superadmin: [false], + }); + readonly institutionOptions = signal([]); + showPassword = false; + + constructor() { + this.setupInstitutionAutocomplete(); + } + ngOnInit(): void { + this.subscription = this.credentialService.validating.subscribe( + (validating) => { + if (validating) { + this.registerForm.disable(); + } else { + this.registerForm.enable(); + this.checkEnter(); + } + }, + ); + if (!this.credentialService.validating) { + this.checkEnter(); + } + } + ngOnDestroy(): void { + this.subscription?.unsubscribe(); + } + + checkEnter(): void { + if (this.credentialService.authenticated.value) { + this.router.navigate(['/dashboard']); + } + } + submit() { + if (this.registerForm.valid) { + this.credentialService.validating.next(true); + this.registerForm.disable(); + + this.subscription = this.credentialService + .registerAccount(this.registerForm.value) + .subscribe({ + next: () => { + this.credentialService.validating.next(false); + this.snackBar.open( + 'Konto erfolgreich erstellt! Du kannst Dich jetzt anmelden.', + 'OK', + { duration: 5000 }, + ); + this.router.navigate(['/login']); + }, + error: (err) => { + this.credentialService.validating.next(false); + this.registerForm.enable(); + const message = + err.error?.message || + 'Fehler bei der Registrierung. Bitte versuche es später erneut.'; + this.snackBar.open(message, 'Schließen', { + panelClass: ['error-snackbar'], + duration: 5000, + }); + }, + }); + } + } + + private setupInstitutionAutocomplete(): void { + this.registerForm.controls['institution'].valueChanges + .pipe( + debounceTime(250), + map((value) => (typeof value === 'string' ? value.trim() : '')), + distinctUntilChanged(), + switchMap((query) => { + if (query.length < 2) { + this.institutionOptions.set([]); + return of([]); + } + + return this.searchInstitutions(query).pipe( + catchError((ev) => { + console.log(ev); + return of([]); + }), + ); + }), + takeUntilDestroyed(this.destroyRef), + ) + .subscribe((options) => { + this.institutionOptions.set(options); + }); + } + + private searchInstitutions(query: string) { + return this.institutionsService + .autocompleteInstitutions(query, undefined, undefined, 10) + .pipe(map((response) => response.results ?? [])); + } + + onInstitutionSelected(event: MatAutocompleteSelectedEvent): void { + const val = event.option.value; + this.registerForm.controls['institution'].setValue(val, { + emitEvent: false, + }); + this.institutionOptions.set([]); + } +} diff --git a/webapp/src/app/modules/dashboard/dashboard.component.html b/webapp/src/app/modules/dashboard/dashboard.component.html index e69de29b..24af417d 100644 --- a/webapp/src/app/modules/dashboard/dashboard.component.html +++ b/webapp/src/app/modules/dashboard/dashboard.component.html @@ -0,0 +1,28 @@ +
+
+

University Performance Dashboard

+
+ + +
+ + +
+
+
+ +
+
+ +
+ + +
+
\ No newline at end of file diff --git a/webapp/src/app/modules/dashboard/dashboard.component.scss b/webapp/src/app/modules/dashboard/dashboard.component.scss index e69de29b..0545d9e8 100644 --- a/webapp/src/app/modules/dashboard/dashboard.component.scss +++ b/webapp/src/app/modules/dashboard/dashboard.component.scss @@ -0,0 +1,73 @@ +// src/app/modules/university-ranking/dashboard.component.scss +.dashboard-wrapper { + padding: 2rem; + font-family: 'Inter', sans-serif; + color: #333; + + .dashboard-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 2rem; + border-bottom: 1px solid #eee; + padding-bottom: 1rem; + } + + .content-grid { + display: grid; + grid-template-columns: 2fr 1fr; + gap: 2rem; + + @media (max-width: 1024px) { + grid-template-columns: 1fr; + } + } + + .controls { + display: flex; + gap: 1rem; + + select { + padding: 0.5rem; + border-radius: 4px; + border: 1px solid #ccc; + } + + .toggle-group { + button { + padding: 0.5rem 1rem; + border: 1px solid #0056b3; + background: white; + color: #0056b3; + cursor: pointer; + &:first-child { border-radius: 4px 0 0 4px; } + &:last-child { border-radius: 0 4px 4px 0; } + &.active { background: #0056b3; color: white; } + } + } + } +} + +// Table styling +.ranking-table { + width: 100%; + border-collapse: collapse; + font-size: 0.9rem; + + th, td { + padding: 0.75rem; + text-align: left; + border-bottom: 1px solid #f0f0f0; + } + + .top-tier { background-color: #f8fbff; font-weight: 600; } + .positive { color: #28a745; } + .negative { color: #dc3545; } + .mover-badge { margin-left: 4px; font-size: 0.8rem; } + + .trend-col { + font-weight: bold; + &[data-trend="up"] { color: #28a745; } + &[data-trend="down"] { color: #dc3545; } + } +} diff --git a/webapp/src/app/modules/dashboard/dashboard.component.ts b/webapp/src/app/modules/dashboard/dashboard.component.ts index 7d31c1db..27b8ab24 100644 --- a/webapp/src/app/modules/dashboard/dashboard.component.ts +++ b/webapp/src/app/modules/dashboard/dashboard.component.ts @@ -1,10 +1,53 @@ -import { Component } from '@angular/core'; + + +import { Component, OnInit } from '@angular/core'; +import { UniversityRankingService } from '../university-ranking/services/uni-ranking-service'; +import {UniversityLineChartComponent} from '../university-ranking/uni-line-chart/uni-line-chart.component'; +import { UniversityRankingTableComponent } from '../university-ranking/uni-ranking-table/uni-ranking-table.component'; +import { UniversityTopicData, UniversityRanking } from '../../api'; +export type ResearchTopic = 'Artificial Intelligence' | 'Quantum Computing' | 'Renewable Energy' | 'Biotechnology'; +export type DashboardMetric = 'publications' | 'citations'; @Component({ - selector: 'app-dashboard', - imports: [], + selector: 'dashboard', + imports: [UniversityLineChartComponent,UniversityRankingTableComponent], templateUrl: './dashboard.component.html', styleUrl: './dashboard.component.scss', - standalone: true, }) -export class DashboardComponent {} +export class DashboardComponent implements OnInit { + topics: ResearchTopic[] = ['Artificial Intelligence', 'Quantum Computing', 'Renewable Energy', 'Biotechnology']; + selectedTopic: ResearchTopic = 'Artificial Intelligence'; + metric: DashboardMetric = 'publications'; + + rawDataSource: UniversityTopicData[] = []; + computedRankings: UniversityRanking[] = []; + isLoading = false; + + constructor(private dataService: UniversityRankingService) {} + + ngOnInit() { + this.loadData(); + } + + onTopicChange(topic: ResearchTopic) { + this.selectedTopic = topic; + this.loadData(); // Re-fetch as rankings depend on the topic + } + + setMetric(metric: DashboardMetric) { + this.metric = metric; + this.loadData(); // Re-fetch as ranking order changes based on metric + } + + private loadData() { + this.isLoading = true; + this.dataService.getRankingData(this.selectedTopic, this.metric).subscribe(response => { + // Map backend snake_case properties to frontend camelCase if necessary, + // though OpenAPI Generator usually handles this. + console.log(response); + this.rawDataSource = (response.timeseries as any) || []; + this.computedRankings = (response.rankings as any) || []; + this.isLoading = false; + }); + } +} diff --git a/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.html b/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.html new file mode 100644 index 00000000..d96211ba --- /dev/null +++ b/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.html @@ -0,0 +1 @@ +
diff --git a/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.scss b/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.ts b/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.ts new file mode 100644 index 00000000..8a2e1f21 --- /dev/null +++ b/webapp/src/app/modules/institution-projects-funding-graph/institution-projects-funding-graph.component.ts @@ -0,0 +1,153 @@ +import { Component, effect, input } from '@angular/core'; + +import * as echarts from 'echarts/core'; +import { EChartsOption } from 'echarts'; + +import { GridComponent, LegendComponent } from 'echarts/components'; +import { CanvasRenderer } from 'echarts/renderers'; +import { NgxEchartsDirective } from 'ngx-echarts'; +import { InstitutionFunderSummary } from '../../api'; + +echarts.use([GridComponent, CanvasRenderer, LegendComponent]); + +type FunderData = { + funderName: string; + fundingMap: Record; +}; + +@Component({ + selector: 'app-institution-projects-funding-graph', + imports: [NgxEchartsDirective], + templateUrl: './institution-projects-funding-graph.component.html', + styleUrl: './institution-projects-funding-graph.component.scss', +}) +export class InstitutionProjectsFundingGraphComponent { + options!: EChartsOption; + + fundings = input.required(); + + constructor() { + effect(() => { + const fundings = this.fundings(); + this.generateChartOptions(fundings); + }); + } + + generateChartOptions(fundings: InstitutionFunderSummary[]): void { + const floorToTwoDecimals = (value: number): string => { + const floored = Math.floor(value * 100) / 100; + return floored.toLocaleString(undefined, { + style: 'currency', + currency: 'EUR', + minimumFractionDigits: 2, + maximumFractionDigits: 2, + }); + }; + + const yearsSet = new Set(); + + fundings.forEach((series) => { + if (series.funding_per_year) { + Object.keys(series.funding_per_year).forEach((year) => + yearsSet.add(year), + ); + } + }); + + const xAxisYears = Array.from(yearsSet).sort( + (a, b) => Number(a) - Number(b), + ); + + const currentYearStr = new Date().getFullYear().toString(); + + const chartSeries = fundings.map((series, index) => { + const fundingMap = (series.funding_per_year || {}) as Record< + string, + number + >; + const dataPoints = xAxisYears.map((year) => fundingMap[year] ?? 0); + + const baseSeries: any = { + name: series.type.toUpperCase(), + type: 'line', + stack: 'TotalInstitutionalFunding', + areaStyle: {}, + emphasis: { focus: 'series' }, + data: dataPoints, + }; + + if (index === 0) { + baseSeries.markLine = { + symbol: ['none', 'none'], + silent: true, + label: { + show: true, + position: 'end', + formatter: 'Aktuelles Jahr', + backgroundColor: '#333', + color: '#fff', + padding: [4, 6], + borderRadius: 4, + }, + lineStyle: { + color: '#ff4d4f', + type: 'dashed', + width: 2, + }, + data: [ + { + xAxis: currentYearStr, + }, + ], + }; + } + + return baseSeries; + }); + + this.options = { + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'cross', + label: { backgroundColor: '#6a7985' }, + }, + valueFormatter: (value) => { + const numericValue = Array.isArray(value) ? 0 : Number(value ?? 0); + return floorToTwoDecimals(numericValue); + }, + }, + legend: { + data: fundings.map((series) => series.type.toUpperCase()), + top: '10%', + }, + grid: { + left: '4%', + right: '4%', + bottom: '5%', + containLabel: true, + }, + xAxis: [ + { + type: 'category', + boundaryGap: false, + data: xAxisYears, + }, + ], + yAxis: [ + { + type: 'value', + axisLabel: { + formatter: (value: number) => + value.toLocaleString(undefined, { + style: 'currency', + currency: 'EUR', + maximumFractionDigits: 0, + }), + }, + }, + ], + series: chartSeries, + }; + } +} diff --git a/webapp/src/app/modules/institution-projects/institution-projects.component.html b/webapp/src/app/modules/institution-projects/institution-projects.component.html index 77736b04..e4982ec6 100644 --- a/webapp/src/app/modules/institution-projects/institution-projects.component.html +++ b/webapp/src/app/modules/institution-projects/institution-projects.component.html @@ -1,48 +1,88 @@

Projekte

- - - - Suche nach Themen - - search - - - - - - - - - - - - - +
+ + + + Suche nach Themen + + search + + + + + + + + + + + + + +
+ + + Förderung über Zeit + + + + + + +
+ + + + +
+
+
@@ -51,6 +91,6 @@ {{ row.funding_end | date: 'dd.MM.yyyy' }} - - {{ row.grant_amount | currency: 'EUR' : 'symbol' : '1.0-0' : 'de' }} + + {{ row.funding_amount | currency: 'EUR' : 'symbol' : '1.0-0' : 'de' }} diff --git a/webapp/src/app/modules/institution-projects/institution-projects.component.scss b/webapp/src/app/modules/institution-projects/institution-projects.component.scss index c8534b0d..3226d421 100644 --- a/webapp/src/app/modules/institution-projects/institution-projects.component.scss +++ b/webapp/src/app/modules/institution-projects/institution-projects.component.scss @@ -6,3 +6,26 @@ mat-card, mat-paginator { background-color: var(--sg-background); } + +.funding-area { + display: flex; + flex-direction: column; + gap: 1rem; +} + +.funding-info-section { + display: flex; + flex-direction: column; + gap: 1rem; +} + +.funding-info-cards { + display: flex; + flex-direction: row; + gap: 1rem; + + app-person-network-info-card { + width: 100%; + height: 100%; + } +} diff --git a/webapp/src/app/modules/institution-projects/institution-projects.component.ts b/webapp/src/app/modules/institution-projects/institution-projects.component.ts index b5218f2a..4f547c61 100644 --- a/webapp/src/app/modules/institution-projects/institution-projects.component.ts +++ b/webapp/src/app/modules/institution-projects/institution-projects.component.ts @@ -12,8 +12,9 @@ import { ActivatedRoute, Router } from '@angular/router'; import { BundProject, BundProjectPage, - EuProject, - EuProjectPage, + CordisEuProject, + CordisEuProjectPage, + InstitutionFunderSummary, } from '../../api'; import { MatCardModule } from '@angular/material/card'; import { MatFormFieldModule } from '@angular/material/form-field'; @@ -31,12 +32,14 @@ import { Sort, SortDirection } from '@angular/material/sort'; import { DebounceDirective } from '../../directives/debounce.directive'; import { MatIconModule } from '@angular/material/icon'; import { MatButtonModule } from '@angular/material/button'; +import { InstitutionProjectsFundingGraphComponent } from '../institution-projects-funding-graph/institution-projects-funding-graph.component'; +import { PersonNetworkInfoCardComponent } from '../person-network-info-card/person-network-info-card.component'; type BundProjectRow = { topic: string; funding_start: Date; funding_end: Date; - grant_amount: number; + funding_amount: number; department: string; }; @@ -44,7 +47,7 @@ type EuProjectRow = { topic: string; funding_start: Date; funding_end: Date; - grant_amount: number; + funding_amount: number; }; @Component({ @@ -62,6 +65,8 @@ type EuProjectRow = { DebounceDirective, MatIconModule, MatButtonModule, + InstitutionProjectsFundingGraphComponent, + PersonNetworkInfoCardComponent, ], templateUrl: './institution-projects.component.html', styleUrl: './institution-projects.component.scss', @@ -69,9 +74,9 @@ type EuProjectRow = { export class InstitutionProjectsComponent implements OnInit { fundingStartTmp = viewChild.required>('fundingStartTmp'); fundingEndTmp = viewChild.required>('fundingEndTmp'); - grantAmountTmp = viewChild.required>('grantAmountTmp'); + fundingAmountTmp = viewChild.required>('fundingAmountTmp'); - euProjectPage = input.required(); + cordisEuProjectPage = input.required(); euProjectColumns: GenericColumn[] = []; euProjectData: EuProjectRow[] = []; @@ -79,6 +84,30 @@ export class InstitutionProjectsComponent implements OnInit { bundProjectColumns: GenericColumn[] = []; bundProjectData: BundProjectRow[] = []; + bundProjectsFunding = input.required(); + bundTotalFunding = computed(() => { + const funding = this.bundProjectsFunding(); + return Object.values( + funding.funding_per_year as Record, + ).reduce((sum, yearFunding) => sum + yearFunding, 0); + }); + bundAverageAnnualFunding = computed(() => { + const funding = this.bundProjectsFunding(); + return funding.annual_average_over_period ?? 0; + }); + + cordisEuProjectsFunding = input.required(); + euTotalFunding = computed(() => { + const funding = this.cordisEuProjectsFunding(); + return Object.values( + funding.funding_per_year as Record, + ).reduce((sum, yearFunding) => sum + yearFunding, 0); + }); + euAverageAnnualFunding = computed(() => { + const funding = this.cordisEuProjectsFunding(); + return funding.annual_average_over_period ?? 0; + }); + urlSortKey = signal(''); urlSortDirection = signal(''); urlSearchTerm = signal(''); @@ -98,7 +127,7 @@ export class InstitutionProjectsComponent implements OnInit { }); effect(() => { - const euPage = this.euProjectPage(); + const euPage = this.cordisEuProjectPage(); if (euPage) { this.euProjectData = euPage.elements ? euPage.elements.map(this.transformEuRow.bind(this)) @@ -118,11 +147,15 @@ export class InstitutionProjectsComponent implements OnInit { const searchTerm = this.urlSearchTerm(); if (searchTerm) { this.router.navigate([], { - queryParams: { search: searchTerm }, + queryParams: { search: searchTerm, page: 0, size: 10 }, queryParamsHandling: 'merge', }); } }); + + effect(() => { + console.log('Funding over time data:', this.bundProjectsFunding()); + }); } readonly queryParams = toSignal(this.activatedRoute.queryParamMap, { @@ -141,7 +174,7 @@ export class InstitutionProjectsComponent implements OnInit { readonly selectedPage = computed(() => { if (this.displayedProjects() === 'eu') { - return this.euProjectPage(); + return this.cordisEuProjectPage(); } else { return this.bundProjectPage(); } @@ -162,8 +195,8 @@ export class InstitutionProjectsComponent implements OnInit { ngOnInit(): void { this.euProjectColumns = [ { - id: 'topic', - header: 'Thema', + id: 'title', + header: 'Titel', type: 'accessor', accessorKey: 'topic', }, @@ -182,17 +215,17 @@ export class InstitutionProjectsComponent implements OnInit { cellTemplate: this.fundingEndTmp(), }, { - id: 'grant_amount', + id: 'funding_amount', header: 'Fördersumme', type: 'accessor', - accessorKey: 'grant_amount', - cellTemplate: this.grantAmountTmp(), + accessorKey: 'funding_amount', + cellTemplate: this.fundingAmountTmp(), }, ]; this.bundProjectColumns = [ { id: 'topic', - header: 'Thema', + header: 'Titel', type: 'accessor', accessorKey: 'topic', }, @@ -211,29 +244,23 @@ export class InstitutionProjectsComponent implements OnInit { cellTemplate: this.fundingEndTmp(), }, { - id: 'grant_amount', + id: 'funding_amount', header: 'Fördersumme', type: 'accessor', - accessorKey: 'grant_amount', - cellTemplate: this.grantAmountTmp(), - }, - { - id: 'department', - header: 'Abteilung', - type: 'accessor', - accessorKey: 'department', + accessorKey: 'funding_amount', + cellTemplate: this.fundingAmountTmp(), }, ]; } - transformEuRow(project: EuProject): EuProjectRow { + transformEuRow(project: CordisEuProject): EuProjectRow { return { topic: project.title || '', - funding_start: project.start_date - ? new Date(project.start_date) + funding_start: project.startDate + ? new Date(project.startDate) : new Date(0), - funding_end: project.end_date ? new Date(project.end_date) : new Date(0), - grant_amount: Number(project.total_cost) || 0, + funding_end: project.endDate ? new Date(project.endDate) : new Date(0), + funding_amount: Number(project.totalCost) || 0, }; } @@ -246,7 +273,7 @@ export class InstitutionProjectsComponent implements OnInit { funding_end: project.funding_end ? new Date(project.funding_end) : new Date(0), - grant_amount: project.grant_amount || 0, + funding_amount: project.grant_amount || 0, department: project.department_fullname || '', }; } @@ -265,7 +292,7 @@ export class InstitutionProjectsComponent implements OnInit { selectedTabChange(event: MatTabChangeEvent): void { const tab = ['eu', 'bund'][event.index]; this.router.navigate([], { - queryParams: { project_tab: tab, page: 1, size: 10 }, + queryParams: { project_tab: tab, page: 0, size: 10 }, queryParamsHandling: 'merge', }); } @@ -286,14 +313,14 @@ export class InstitutionProjectsComponent implements OnInit { handleSearchTermChange(newTerm: string): void { this.router.navigate([], { - queryParams: { search: newTerm }, + queryParams: { search: newTerm, page: 0, size: 10 }, queryParamsHandling: 'merge', }); } clearSearchTerm(): void { this.router.navigate([], { - queryParams: { search: null }, + queryParams: { search: null, page: 0, size: 10 }, queryParamsHandling: 'merge', }); } diff --git a/webapp/src/app/modules/institution-publications/institution-publications.component.html b/webapp/src/app/modules/institution-publications/institution-publications.component.html new file mode 100644 index 00000000..1f6b1f02 --- /dev/null +++ b/webapp/src/app/modules/institution-publications/institution-publications.component.html @@ -0,0 +1 @@ +

institution-publications works!

diff --git a/webapp/src/app/modules/institution-publications/institution-publications.component.scss b/webapp/src/app/modules/institution-publications/institution-publications.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/webapp/src/app/modules/institution-publications/institution-publications.component.ts b/webapp/src/app/modules/institution-publications/institution-publications.component.ts new file mode 100644 index 00000000..b1227d7c --- /dev/null +++ b/webapp/src/app/modules/institution-publications/institution-publications.component.ts @@ -0,0 +1,9 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-institution-publications', + imports: [], + templateUrl: './institution-publications.component.html', + styleUrl: './institution-publications.component.scss', +}) +export class InstitutionPublicationsComponent {} diff --git a/webapp/src/app/modules/institution/institution.component.ts b/webapp/src/app/modules/institution/institution.component.ts index acd4b205..03ffd347 100644 --- a/webapp/src/app/modules/institution/institution.component.ts +++ b/webapp/src/app/modules/institution/institution.component.ts @@ -26,16 +26,17 @@ export class InstitutionComponent implements OnInit { links = [ { label: 'Übersicht', path: 'overview', disabled: false }, + { label: 'Publikationen', path: 'publications', disabled: false }, { label: 'Projekte', path: 'projects', disabled: false, queryParams: { project_tab: 'bund', - page: 1, + page: 0, size: 10, search: '', - sort_by: 'topic', + sort_by: 'title', sort_direction: 'asc', }, }, diff --git a/webapp/src/app/modules/institutions/institutions.component.html b/webapp/src/app/modules/institutions/institutions.component.html new file mode 100644 index 00000000..4702d7fe --- /dev/null +++ b/webapp/src/app/modules/institutions/institutions.component.html @@ -0,0 +1,116 @@ +
+

Passende Institutionen finden

+ + + +
+ + Suche nach Namen + + search + + + +
+ + + +
+
+ + + + @let institutionPageValue = institutionPage(); + + @if ( + institutionPageValue.elements && institutionPageValue.elements.length > 0 + ) { +
+ @for (institution of institutionPageValue.elements; track $index) { + @let institutionId = extractInstitutionId(institution); + + + {{ getDisplayName(institution) }} + {{ institution.geo?.city }}, + {{ institution.geo?.country }} + + + + + + + + + + + + info + Übersicht + + + article + Publikationen + + + work + Projekte + + + + + } +
+ } @else { +
+

Keine passenden Institutionen gefunden.

+
+ } + + + + + +
diff --git a/webapp/src/app/modules/institutions/institutions.component.scss b/webapp/src/app/modules/institutions/institutions.component.scss new file mode 100644 index 00000000..95ff7534 --- /dev/null +++ b/webapp/src/app/modules/institutions/institutions.component.scss @@ -0,0 +1,99 @@ +.content { + display: flex; + flex-direction: column; + gap: 1rem; + padding: 1rem; +} + +.sorting { + display: flex; + justify-content: flex-end; + gap: 0.5rem; +} + +.sorting select { + padding: 0.75rem; + border: 1px solid var(--sg-border); + border-radius: var(--sg-radius-sm); + font-size: 1rem; +} + +.sorting select:hover { + cursor: pointer; +} + +.cards { + display: grid; + gap: 1.5rem; + grid-template-columns: repeat(4, 1fr); + padding: 0 1rem; +} + +@media (max-width: 900px) { + .cards { + grid-template-columns: repeat(2, 1fr); + } +} + +@media (max-width: 600px) { + .cards { + grid-template-columns: 1fr; + } +} + +mat-paginator { + background-color: var(--sg-background); +} + +.card { + padding: 0.5rem; + background-color: var(--sg-background); + transition: transform 0.3s ease; + display: flex; + flex-direction: column; + gap: 0.5rem; +} + +.card:hover { + cursor: pointer; + transform: scale(1.05); +} + +.card-content { + display: flex; + flex-direction: column; + justify-content: flex-end; + gap: 0.5rem; + flex: 1; +} + +.card-metadata { + display: flex; + flex-direction: column; + gap: 0.2rem; + font-size: 0.9rem; + color: var(--sg-text-secondary); +} + +mat-card-actions { + padding-top: 0.5rem; + display: flex; + gap: 0.5rem; +} + +mat-card-actions a { + width: 100%; + text-decoration: none; + border: 1px solid var(--sg-border); + border-radius: var(--sg-radius-sm); +} + +.no-results { + text-align: center; + padding: 2rem; + color: var(--sg-text-secondary); +} + +.search-and-sorting { + padding: 0 1rem; +} diff --git a/webapp/src/app/modules/institutions/institutions.component.ts b/webapp/src/app/modules/institutions/institutions.component.ts new file mode 100644 index 00000000..e2449349 --- /dev/null +++ b/webapp/src/app/modules/institutions/institutions.component.ts @@ -0,0 +1,108 @@ +import { Component, effect, input, signal } from '@angular/core'; +import { Institution, InstitutionPage } from '../../api'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatInputModule } from '@angular/material/input'; +import { ActivatedRoute, Router, RouterModule } from '@angular/router'; +import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; +import { MatIconModule } from '@angular/material/icon'; +import { DebounceDirective } from '../../directives/debounce.directive'; +import { MatPaginator, PageEvent } from '@angular/material/paginator'; +import { MatDividerModule } from '@angular/material/divider'; + +@Component({ + selector: 'app-institutions', + imports: [ + MatButtonModule, + MatCardModule, + MatInputModule, + MatIconModule, + DebounceDirective, + MatPaginator, + MatDividerModule, + RouterModule, + ], + templateUrl: './institutions.component.html', + styleUrl: './institutions.component.scss', +}) +export class InstitutionsComponent { + institutionPage = input.required(); + + urlSearchTerm = signal(''); + urlSortBy = signal('relevance'); + urlSortingOrder = signal('desc'); + + constructor( + private readonly activatedRoute: ActivatedRoute, + private readonly router: Router, + ) { + this.activatedRoute.queryParams + .pipe(takeUntilDestroyed()) + .subscribe((params) => { + this.urlSearchTerm.set(params['search'] || ''); + this.urlSortBy.set(params['sort_by'] || 'relevance'); + this.urlSortingOrder.set(params['sorting_order'] || 'desc'); + }); + + effect(() => { + const searchTerm = this.urlSearchTerm(); + this.router.navigate([], { + queryParams: { search: searchTerm }, + queryParamsHandling: 'merge', + }); + }); + } + + handleSearchTermChange(newTerm: string): void { + this.router.navigate([], { + queryParams: { search: newTerm }, + queryParamsHandling: 'merge', + }); + } + + clearSearchTerm(): void { + this.router.navigate([], { + queryParams: { search: null }, + queryParamsHandling: 'merge', + }); + } + + handlePageChange(event: PageEvent): void { + this.router.navigate([], { + queryParams: { page: event.pageIndex, size: event.pageSize }, + queryParamsHandling: 'merge', + }); + } + + extractInstitutionId(institution: Institution): string { + return institution.id?.split('/').pop() ?? ''; + } + + handleSortFieldChange(event: Event): void { + const selectElement = event.target as HTMLSelectElement; + const sortField = selectElement.value; + this.router.navigate([], { + queryParams: { sort_by: sortField }, + queryParamsHandling: 'merge', + }); + } + + handleSortOrderChange(event: Event): void { + const selectElement = event.target as HTMLSelectElement; + const sortOrder = selectElement.value; + this.router.navigate([], { + queryParams: { sorting_order: sortOrder }, + queryParamsHandling: 'merge', + }); + } + + getDisplayName(institution: Institution): string { + const primary = institution.display_name?.trim(); + if (primary && primary.length > 0) return primary; + + const alt = institution.display_name_alternatives?.[0]?.trim(); + if (alt && alt.length > 0) return alt; + + return 'Unbekannte Institution'; + } +} diff --git a/webapp/src/app/modules/person-card/person-card.component.html b/webapp/src/app/modules/person-card/person-card.component.html index d8e39eae..df244ae9 100644 --- a/webapp/src/app/modules/person-card/person-card.component.html +++ b/webapp/src/app/modules/person-card/person-card.component.html @@ -5,15 +5,7 @@ {{ getInitials(person.display_name) }}
-
- @if (person.relevance_rating) { - - {{ person.relevance_rating }} - - } +
@@ -60,9 +56,12 @@ " >apartment - {{ - inst.display_name ?? '' | truncate: 30 - }} + {{ inst.display_name ?? '' }} @if (inst.country_code && !loading) { {{ inst.country_code.toUpperCase() }} diff --git a/webapp/src/app/modules/person-card/person-card.component.scss b/webapp/src/app/modules/person-card/person-card.component.scss index 02be7ac6..f3a53722 100644 --- a/webapp/src/app/modules/person-card/person-card.component.scss +++ b/webapp/src/app/modules/person-card/person-card.component.scss @@ -108,6 +108,11 @@ font-size: 16px; font-weight: 600; color: var(--sg-text); + min-height: 24px; + line-height: 24px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .institution { display: flex; @@ -133,6 +138,26 @@ display: inline-flex; align-items: center; transition: all 0.2s ease; + max-width: 100%; + box-sizing: border-box; + + .institution-name { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + min-width: 0; + flex: 1; + } + + .flag-img { + flex-shrink: 0; + } + + .country-code { + display: inline-block; + flex-shrink: 0; + white-space: nowrap; + } &:hover { background: var(--sg-primary); @@ -143,13 +168,15 @@ .flag-img { border: 1px solid; - vertical-align: -10px; + vertical-align: middle; } .person-id { margin: 2px 0 0; font-size: 10px; color: var(--sg-text-soft); + min-height: 15px; + line-height: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -159,6 +186,11 @@ margin: 4px 0 0; font-size: 10px; color: var(--sg-text-muted); + min-height: 15px; + line-height: 15px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .card-body { @@ -186,6 +218,11 @@ border-radius: 4px; cursor: pointer; transition: all 0.2s ease; + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + box-sizing: border-box; &:hover { background: var(--sg-primary-soft); diff --git a/webapp/src/app/modules/person-card/person-card.component.ts b/webapp/src/app/modules/person-card/person-card.component.ts index 13e889bd..89f0440c 100644 --- a/webapp/src/app/modules/person-card/person-card.component.ts +++ b/webapp/src/app/modules/person-card/person-card.component.ts @@ -3,18 +3,11 @@ import { CommonModule } from '@angular/common'; import { RouterLink } from '@angular/router'; import { MatIconModule } from '@angular/material/icon'; import { CustomAuthor, DehydratedInstitution, WorkTopic } from '../../api'; -import { TruncatePipe } from '../../shared/pipes/truncate.pipe'; import { SkTextDirective } from '../../custom-directives/sk-text.directive'; @Component({ selector: 'app-person-card', standalone: true, - imports: [ - CommonModule, - RouterLink, - MatIconModule, - TruncatePipe, - SkTextDirective, - ], + imports: [CommonModule, RouterLink, MatIconModule, SkTextDirective], templateUrl: './person-card.component.html', styleUrl: './person-card.component.scss', }) @@ -62,8 +55,11 @@ export class PersonCardComponent { if (topic.field?.display_name) parts.push(topic.field.display_name); if (topic.subfield?.display_name) parts.push(topic.subfield.display_name); - if (parts.length === 0) return topic.display_name || ''; - return parts.join(' - '); + const path = parts.join(' - '); + if (topic.display_name) { + return path ? `${topic.display_name}\n(${path})` : topic.display_name; + } + return path; } getDistinguishingId(person: CustomAuthor): string { @@ -74,6 +70,30 @@ export class PersonCardComponent { return ''; } + getStatsString(): string { + const works = this.person.works_count; + const citations = this.person.cited_by_count; + const hasWorks = works !== undefined && works !== null; + const hasCitations = citations !== undefined && citations !== null; + + if (hasWorks && hasCitations) { + return `Publikationen: ${works} · Zitationen: ${citations}`; + } else if (hasWorks) { + return `Publikationen: ${works}`; + } else if (hasCitations) { + return `Zitationen: ${citations}`; + } + return ''; + } + + getHIndexString(): string { + const hIndex = this.person.summary_stats?.h_index; + if (hIndex !== undefined && hIndex !== null) { + return `h_index: ${hIndex}`; + } + return ''; + } + toggleBookmark(): void { this.bookmarkToggle.emit(this.person); } diff --git a/webapp/src/app/modules/person-company-connections/person-company-connections.component.html b/webapp/src/app/modules/person-company-connections/person-company-connections.component.html new file mode 100644 index 00000000..f4e9453b --- /dev/null +++ b/webapp/src/app/modules/person-company-connections/person-company-connections.component.html @@ -0,0 +1,269 @@ +@if (loading) { +
+ + Verbindungen zu Unternehmen werden geladen ... +
+} @else if (error) { +
+ Verbindungen zu Unternehmen konnten nicht geladen werden. +
+} @else if (data && !data.is_ude_author) { +
+

Keine Unternehmenssuche verfügbar

+

Für diese Person wird aktuell keine Suche nach Unternehmen angezeigt.

+
+} @else if (data && connections.length === 0) { +
+

Keine Treffer im Handelsregister

+

+ Für diese Person wurden keine passenden Treffer im Handelsregister + gefunden. +

+
+} @else if (data) { +
+ + + @if (data.common_name_warning) { +
+ Für diesen Namen gibt es mehrere Treffer im Handelsregister. Die + Ergebnisse sollten besonders vorsichtig interpretiert werden. +
+ } + +
+
+ @if (graphOptions) { + +
+ + +
+
+ + @if (roleLegendItems.length > 0) { +
+ @for (item of roleLegendItems; track item.role) { + + + {{ item.role }} + + } +
+ } + + @if (connections.length > 10) { +

+ Der Graph zeigt die ersten 10 Unternehmen. Die vollständige + Liste ist rechts sichtbar. +

+ } +
+ } + +

+ {{ disclaimer }} +

+
+ +
+ +
+ Unternehmen + Rolle +
+ +
+ @for (connection of connections; track getCompanyKey(connection)) { + @let officer = getPrimaryOfficer(connection); + @let companyKey = getCompanyKey(connection); + @let relatedOfficers = getRelatedOfficers(connection); + +
+
+ + {{ connection.company_name || 'Unbekanntes Unternehmen' }} + + + + {{ officer?.position || '—' }} + +
+ + @if (companyKey === selectedCompanyKey) { +
+
+
+ Register + + {{ getCompanyRegisterLabel(connection) }} + +
+ +
+ Amtsgericht + + {{ getRegistrarLabel(connection) }} + +
+ +
+ Adresse + + {{ getCompanyAddressLabel(connection) }} + +
+ +
+ Unternehmensstatus + + {{ getCompanyStatusLabel(connection.company_status) }} + +
+ +
+ Gegenstand + + {{ getGegenstandLabel() }} + +
+
+ + @if (relatedOfficers.length > 0) { + + + @if (isCompanyOfficersExpanded(connection)) { + + } + } +
+ } +
+ } +
+
+
+
+
+} diff --git a/webapp/src/app/modules/person-company-connections/person-company-connections.component.scss b/webapp/src/app/modules/person-company-connections/person-company-connections.component.scss new file mode 100644 index 00000000..91824dd7 --- /dev/null +++ b/webapp/src/app/modules/person-company-connections/person-company-connections.component.scss @@ -0,0 +1,505 @@ +$marked-color: #5470c6; +$related-person-color: #4f8df5; +$timeline-purple: #7255d9; +$timeline-purple-bg: #f6f0ff; + +$timeline-orange-bg: #fff7e8; +$timeline-orange-border: #ffd796; +$timeline-orange-text: #c67500; + +$card-border: #dbe5f6; +$text-main: #07163d; +$text-muted: #64718f; + +:host { + display: block; +} + +.company-connections { + display: flex; + flex-direction: column; + gap: 16px; + padding: 20px 28px 32px; +} + +.page-header { + h2 { + margin: 0 0 6px; + color: $text-main; + font-size: 20px; + font-weight: 700; + line-height: 1.25; + } + + p { + margin: 0; + color: $text-muted; + font-size: 14px; + line-height: 1.4; + } +} + +.state { + display: flex; + align-items: center; + justify-content: center; + gap: 14px; + min-height: 220px; + color: $text-muted; + font-size: 14px; +} + +.state-error { + color: #b42318; +} + +.empty-state { + margin: 14px 28px; + padding: 18px 22px; + border: 1px solid $card-border; + border-radius: 16px; + background: #ffffff; + box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); + + h2 { + margin: 0 0 6px; + color: $text-main; + font-size: 18px; + font-weight: 700; + line-height: 1.3; + } + + p { + margin: 0; + color: $text-muted; + font-size: 14px; + line-height: 1.4; + } +} + +.warning-box { + padding: 12px 14px; + border: 1px solid $timeline-orange-border; + border-radius: 12px; + background: $timeline-orange-bg; + color: $timeline-orange-text; + font-size: 14px; + line-height: 1.45; +} + +.main-layout { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); + gap: 18px; + height: 680px; + align-items: stretch; +} + +.graph-column, +.list-column { + min-width: 0; + min-height: 0; + display: flex; + flex-direction: column; +} + +.graph-card, +.connection-list { + border-radius: 16px; + background: #ffffff; + box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); + overflow: hidden; +} + +.graph-card { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; +} + +.graph-stage { + position: relative; + flex: 1 1 auto; + min-height: 0; + overflow: hidden; +} + +.graph-related-persons-button { + position: absolute; + top: 12px; + right: 12px; + z-index: 2; + + width: 50px; + height: 50px; + padding: 0; + + background: transparent; + color: $related-person-color; + box-shadow: none; +} + +.graph-related-persons-button:hover { + background: rgba(84, 112, 198, 0.08); +} + +.graph-related-persons-icon { + width: 51px; + height: 51px; + + font-size: 51px; + line-height: 51px; + font-variation-settings: + 'FILL' 1, + 'wght' 400, + 'GRAD' 0, + 'opsz' 48; +} + +.graph { + width: 100%; + height: 100%; + min-height: 0; + overscroll-behavior: contain; + touch-action: none; + user-select: none; + cursor: grab; +} + +.graph:active { + cursor: grabbing; +} + +.role-legend { + flex: 0 0 auto; + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + gap: 10px 18px; + padding: 10px 18px 6px; +} + +.role-legend-item { + display: inline-flex; + align-items: center; + gap: 8px; + min-width: 0; + color: $text-muted; + font-size: 12px; + font-weight: 600; +} + +.role-legend-line { + flex: 0 0 auto; + display: inline-block; + width: 24px; + height: 3px; + border-radius: 999px; +} + +.role-legend-text { + min-width: 0; + max-width: 260px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.graph-note { + flex: 0 0 auto; + margin: 0; + padding: 4px 18px 16px; + color: $text-muted; + font-size: 13px; + line-height: 1.35; + text-align: left; +} + +.disclaimer { + flex: 0 0 auto; + margin: 14px 0 0; + padding: 12px 14px; + border-left: 3px solid $timeline-purple; + border-radius: 8px; + background: $timeline-purple-bg; + color: $text-muted; + font-size: 13px; + line-height: 1.45; +} + +.connection-list { + flex: 1 1 auto; + min-height: 0; + display: flex; + flex-direction: column; +} + +.list-header, +.connection-row { + display: grid; + grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); + gap: clamp(10px, 1vw, 18px); + align-items: center; +} + +.list-header { + flex: 0 0 auto; + padding: 12px 16px; + border-bottom: 1px solid $card-border; + background: #fbfdff; + color: $text-muted; + font-size: 11px; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.02em; + line-height: 1.3; +} + +.list-header span, +.connection-row span { + min-width: 0; + justify-self: start; + text-align: left; +} + +.list-scroll { + flex: 1 1 auto; + min-height: 0; + overflow-y: auto; +} + +.connection-item { + border-bottom: 1px solid #edf2fb; +} + +.connection-row { + padding: 14px 16px; + color: $text-main; + font-size: 14px; + cursor: pointer; + + &:hover { + background: #f8fbff; + } + + &.selected { + background: #f0f6ff; + box-shadow: inset 3px 0 0 $marked-color; + } + + &.removed { + color: $text-muted; + } +} + +.company-name, +.role-value, +.detail-value, +.officer-name, +.officer-role { + display: block; + max-width: 100%; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.company-name { + font-weight: 700; +} + +.role-value { + width: auto; + padding-left: 8px; + border-left: 3px solid; + color: $text-main; +} + +.connection-detail { + padding: 0 16px 16px; + background: #f8fbff; +} + +.detail-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 10px 18px; + padding: 14px 0 4px; + border-top: 1px solid #e5edf8; +} + +.detail-field { + min-width: 0; +} + +.detail-field--wide { + grid-column: 1 / -1; +} + +.detail-field--address .detail-value, +.detail-field--wide .detail-value { + overflow: visible; + text-overflow: unset; + white-space: normal; +} + +.detail-label { + display: block; + margin-bottom: 3px; + color: $text-muted; + font-size: 11px; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.02em; +} + +.detail-value { + color: $text-main; + font-size: 13px; + line-height: 1.35; +} + +.detail-value.detail-status { + display: block; + margin: 0; + padding: 0; + border: 0; + border-radius: 0; + background: transparent; + font-size: 13px; + font-weight: 700; + line-height: 1.35; +} + +.detail-value.detail-status--active { + color: #218354; +} + +.detail-value.detail-status--removed { + color: #6b7280; +} + +.officers-toggle { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + margin-top: 14px; + padding: 12px 0 0; + border: 0; + border-top: 1px solid #e5edf8; + background: transparent; + color: $text-muted; + font-size: 11px; + font-weight: 700; + text-align: left; + text-transform: uppercase; + letter-spacing: 0.02em; + cursor: pointer; +} + +.officers-toggle mat-icon { + color: $text-muted; +} + +.related-officers { + display: flex; + flex-direction: column; + gap: 6px; + margin: 8px 0 0; + padding: 0; +} + +.related-officer { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) 40px; + gap: 12px; + align-items: center; + color: $text-main; + font-size: 13px; +} + +.officer-name { + color: $text-main; + font-weight: 400; +} + +.officer-role { + padding-left: 10px; + border-left: 4px solid #8a95b3; + color: $text-main; + font-weight: 600; +} + +.officer-open-link { + justify-self: center; + color: $marked-color; +} + +.officer-open-placeholder { + display: block; + width: 40px; + height: 40px; +} + +@media (max-width: 1450px) { + .main-layout { + grid-template-columns: 1fr; + height: auto; + } + + .graph-card { + height: 520px; + } + + .connection-list { + height: 520px; + } +} + +@media (max-width: 760px) { + .company-connections { + padding: 18px 16px 28px; + } + + .empty-state { + margin: 14px 16px; + } + + .graph-card { + height: 420px; + } + + .list-header { + display: none; + } + + .connection-row { + grid-template-columns: 1fr; + gap: 8px; + } + + .detail-grid { + grid-template-columns: 1fr; + } + + .related-officer { + grid-template-columns: minmax(0, 1fr) 40px; + gap: 6px 10px; + } + + .officer-role { + grid-column: 1 / 2; + } + + .officer-open-link, + .officer-open-placeholder { + grid-column: 2 / 3; + grid-row: 1 / 3; + align-self: center; + justify-self: center; + } +} diff --git a/webapp/src/app/modules/person-company-connections/person-company-connections.component.ts b/webapp/src/app/modules/person-company-connections/person-company-connections.component.ts new file mode 100644 index 00000000..742349e8 --- /dev/null +++ b/webapp/src/app/modules/person-company-connections/person-company-connections.component.ts @@ -0,0 +1,702 @@ +import { CommonModule, LocationStrategy } from '@angular/common'; +import { + Component, + ElementRef, + OnInit, + QueryList, + ViewChildren, + inject, +} from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltip, MatTooltipModule } from '@angular/material/tooltip'; +import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; +import { ActivatedRoute, Router, RouterModule } from '@angular/router'; +import { EChartsOption } from 'echarts'; +import { NgxEchartsDirective } from 'ngx-echarts'; + +import { + CompanyConnection, + CompanyConnectionsResponse, + CompanyConnectionsService, + MatchedOfficer, +} from '../../api'; + +interface RoleLegendItem { + role: string; + color: string; +} + +@Component({ + selector: 'app-person-company-connections', + imports: [ + CommonModule, + MatProgressSpinnerModule, + NgxEchartsDirective, + MatButtonModule, + MatCardModule, + MatIconModule, + MatTooltipModule, + MatTooltip, + RouterModule, + ], + templateUrl: './person-company-connections.component.html', + styleUrl: './person-company-connections.component.scss', +}) +export class PersonCompanyConnectionsComponent implements OnInit { + private readonly route = inject(ActivatedRoute); + private readonly router = inject(Router); + private readonly locationStrategy = inject(LocationStrategy); + private readonly companyConnectionsApi = inject(CompanyConnectionsService); + + private readonly graphCompanyLimit = 10; + + private readonly personCategoryIndex = 0; + private readonly activeCompanyCategoryIndex = 1; + private readonly removedCompanyCategoryIndex = 2; + private readonly registerPersonCategoryIndex = 3; + + private readonly personCategoryName = 'Person'; + private readonly activeCompanyCategoryName = 'Aktives Unternehmen'; + private readonly removedCompanyCategoryName = 'Gelöschtes Unternehmen'; + private readonly registerPersonCategoryName = 'Registerperson'; + + private readonly authorColor = '#7255d9'; + private readonly companyActiveColor = '#39a96b'; + private readonly companyRemovedColor = '#8a95b3'; + private readonly relatedPersonColor = '#4f8df5'; + private readonly fallbackRoleColor = '#8a95b3'; + + private readonly personIconSymbol = this.createAccountCircleSymbol( + this.authorColor, + ); + + private readonly registerPersonIconSymbol = this.createAccountCircleSymbol( + this.relatedPersonColor, + ); + + private readonly activeCompanyIconSymbol = this.createApartmentSymbol( + this.companyActiveColor, + ); + + private readonly removedCompanyIconSymbol = this.createApartmentSymbol( + this.companyRemovedColor, + ); + + private readonly roleColors: Record = { + Geschäftsführer: '#2678e8', + Prokurist: '#39a96b', + 'Persönlich haftender Gesellschafter': '#7255d9', + Liquidator: '#f59e0b', + Inhaber: '#e0527c', + Vorstand: '#0f766e', + }; + + readonly disclaimer = + 'Die angezeigten Verbindungen basieren nur auf einem Namensabgleich und können gleichnamige Personen enthalten.'; + + loading = true; + error = false; + data: CompanyConnectionsResponse | null = null; + + graphOptions: EChartsOption | null = null; + roleLegendItems: RoleLegendItem[] = []; + + selectedCompanyKey: string | null = null; + expandedOfficersCompanyKey: string | null = null; + showRelatedPersons = false; + + @ViewChildren('connectionRow', { read: ElementRef }) + private connectionRows!: QueryList>; + + get connections(): CompanyConnection[] { + return this.data?.connections ?? []; + } + + ngOnInit(): void { + this.route.parent?.paramMap.subscribe((params) => { + const authorId = params.get('id'); + + if (!authorId) { + this.loading = false; + this.error = true; + return; + } + + this.loadCompanyConnections(authorId); + }); + } + + getPrimaryOfficer(connection: CompanyConnection): MatchedOfficer | null { + return connection.matched_officers?.[0] ?? null; + } + + getRelatedOfficers(connection: CompanyConnection): MatchedOfficer[] { + const displayName = this.data?.display_name?.trim(); + + return (connection.officers ?? []).filter((officer) => { + const officerName = officer.name?.trim(); + + if (!officerName) { + return false; + } + + if (officer.is_matched_person) { + return false; + } + + return officerName !== displayName; + }); + } + + getCompanyStatusLabel(status?: string | null): string { + if (status === 'currently registered') { + return 'Aktiv'; + } + + if (status === 'removed') { + return 'Gelöscht'; + } + + return status || 'Unbekannt'; + } + + getCompanyKey(connection: CompanyConnection): string { + return ( + connection.company_number || + `${connection.company_name}-${connection.register_art}-${connection.register_nummer}` + ); + } + + getCompanyRegisterLabel(connection: CompanyConnection): string { + const parts = [connection.register_art, connection.register_nummer].filter( + Boolean, + ); + + return parts.length > 0 ? parts.join(' ') : '—'; + } + + getRegistrarLabel(connection: CompanyConnection): string { + return connection.registrar || '—'; + } + + getCompanyAddressLabel(connection: CompanyConnection): string { + return connection.registered_address || connection.registered_office || '—'; + } + + getGegenstandLabel(): string { + return 'Noch nicht verfügbar.'; + } + + getResultCountLabel(): string { + if (!this.data) { + return ''; + } + + const companyCount = this.data.company_count ?? this.connections.length; + + if (companyCount === 1) { + return '1 Treffer'; + } + + return `${companyCount} Treffer`; + } + + getRoleColor(role?: string | null): string { + if (!role) { + return this.fallbackRoleColor; + } + + return this.roleColors[role] ?? this.fallbackRoleColor; + } + + isCompanySelected(connection: CompanyConnection): boolean { + return this.selectedCompanyKey === this.getCompanyKey(connection); + } + + isCompanyOfficersExpanded(connection: CompanyConnection): boolean { + return this.expandedOfficersCompanyKey === this.getCompanyKey(connection); + } + + selectCompany(connection: CompanyConnection): void { + const companyKey = this.getCompanyKey(connection); + + if (this.selectedCompanyKey === companyKey) { + this.selectedCompanyKey = null; + this.expandedOfficersCompanyKey = null; + return; + } + + this.selectedCompanyKey = companyKey; + this.expandedOfficersCompanyKey = null; + } + + toggleCompanyOfficers(connection: CompanyConnection, event: Event): void { + event.stopPropagation(); + + const companyKey = this.getCompanyKey(connection); + + if (this.expandedOfficersCompanyKey === companyKey) { + this.expandedOfficersCompanyKey = null; + return; + } + + this.expandedOfficersCompanyKey = companyKey; + } + + onGraphClick(event: any): void { + if (event.dataType !== 'node') { + return; + } + + if (event.data?.category === this.personCategoryIndex) { + return; + } + + if (this.isCompanyNodeCategory(event.data?.category)) { + this.selectedCompanyKey = event.data.id; + this.expandedOfficersCompanyKey = null; + this.scrollSelectedCompanyIntoView(); + return; + } + + if (event.data?.category === this.registerPersonCategoryIndex) { + this.openPersonSearchInNewTab(event.data.searchName || event.data.name); + } + } + + onGraphWheel(event: WheelEvent): void { + event.preventDefault(); + } + + private isCompanyNodeCategory(category: unknown): boolean { + return ( + category === this.activeCompanyCategoryIndex || + category === this.removedCompanyCategoryIndex + ); + } + + toggleRelatedPersons(tooltip?: MatTooltip): void { + this.showRelatedPersons = !this.showRelatedPersons; + this.refreshGraph(); + + tooltip?.hide(0); + + window.setTimeout(() => { + tooltip?.show(0); + }); + } + + private loadCompanyConnections(authorId: string): void { + this.loading = true; + this.error = false; + this.data = null; + this.graphOptions = null; + this.roleLegendItems = []; + this.selectedCompanyKey = null; + this.expandedOfficersCompanyKey = null; + this.showRelatedPersons = false; + + this.companyConnectionsApi + .getCompanyConnectionsByAuthor(authorId) + .subscribe({ + next: (response) => { + this.data = response; + this.graphOptions = this.createGraphOptions(response); + this.loading = false; + }, + error: (error) => { + console.error('Failed to load company connections:', error); + this.error = true; + this.loading = false; + }, + }); + } + + private refreshGraph(): void { + if (!this.data) { + this.graphOptions = null; + this.roleLegendItems = []; + return; + } + + this.graphOptions = this.createGraphOptions(this.data); + } + + private createGraphOptions( + response: CompanyConnectionsResponse, + ): EChartsOption | null { + const connections = response.connections ?? []; + + if (!response.is_ude_author || connections.length === 0) { + return null; + } + + const graphConnections = connections.slice(0, this.graphCompanyLimit); + + this.roleLegendItems = this.createRoleLegendItems(graphConnections); + + const personNodeId = `author-${response.author_id}`; + + const nodes: any[] = [ + { + id: personNodeId, + name: response.display_name || 'Person', + category: this.personCategoryIndex, + symbol: this.personIconSymbol, + symbolSize: 42, + symbolKeepAspect: true, + itemStyle: { + color: this.authorColor, + }, + label: { + show: true, + position: 'bottom', + fontWeight: 700, + color: '#07163d', + }, + }, + ]; + + const links: any[] = []; + + for (const connection of graphConnections) { + const companyKey = this.getCompanyKey(connection); + const isRemoved = connection.company_status === 'removed'; + + nodes.push({ + id: companyKey, + name: connection.company_name || 'Unbekanntes Unternehmen', + category: isRemoved + ? this.removedCompanyCategoryIndex + : this.activeCompanyCategoryIndex, + symbol: isRemoved + ? this.removedCompanyIconSymbol + : this.activeCompanyIconSymbol, + symbolSize: 44, + symbolKeepAspect: true, + itemStyle: { + color: isRemoved ? this.companyRemovedColor : this.companyActiveColor, + }, + label: { + show: true, + position: 'bottom', + color: '#07163d', + width: 125, + overflow: 'truncate', + }, + }); + + const officer = this.getPrimaryOfficer(connection); + const role = officer?.position || 'Unbekannte Rolle'; + const color = this.getRoleColor(officer?.position); + + links.push({ + source: personNodeId, + target: companyKey, + value: role, + lineStyle: { + color, + width: 2.4, + opacity: 1, + }, + }); + + if (this.showRelatedPersons) { + const relatedOfficers = this.getRelatedOfficers(connection); + + relatedOfficers.forEach((relatedOfficer, index) => { + const relatedOfficerId = `officer-${companyKey}-${index}`; + const relatedRole = relatedOfficer.position || 'Unbekannte Rolle'; + + nodes.push({ + id: relatedOfficerId, + name: relatedOfficer.name || 'Registerperson', + searchName: relatedOfficer.name, + role: relatedRole, + category: this.registerPersonCategoryIndex, + symbol: this.registerPersonIconSymbol, + symbolSize: 30, + symbolKeepAspect: true, + itemStyle: { + color: this.relatedPersonColor, + }, + label: { + show: true, + position: 'bottom', + color: '#07163d', + width: 110, + overflow: 'truncate', + fontSize: 11, + }, + }); + + links.push({ + source: companyKey, + target: relatedOfficerId, + value: relatedRole, + lineStyle: { + color: this.getRoleColor(relatedOfficer.position), + width: 1.8, + opacity: 1, + }, + }); + }); + } + } + + const graphSeries: any = { + type: 'graph', + layout: 'force', + roam: true, + roamTrigger: 'global', + animation: false, + top: 34, + left: 20, + right: 20, + bottom: 64, + data: nodes, + links, + categories: this.createGraphCategories(), + force: { + repulsion: this.showRelatedPersons ? 760 : 620, + edgeLength: this.showRelatedPersons ? 145 : 170, + gravity: 0.08, + }, + lineStyle: { + curveness: 0.05, + opacity: 1, + }, + edgeSymbol: ['none', 'none'], + emphasis: { + focus: 'adjacency', + lineStyle: { + width: 3.5, + }, + }, + }; + + return { + legend: { + data: this.createNodeLegendData(graphConnections), + bottom: 8, + left: 'center', + orient: 'horizontal', + itemGap: 18, + itemWidth: 20, + itemHeight: 20, + selectedMode: false, + textStyle: { + color: '#3f4659', + fontSize: 13, + fontWeight: 500, + }, + }, + tooltip: { + trigger: 'item', + formatter: (params: any) => { + if (params.dataType === 'node') { + if (params.data?.category === this.registerPersonCategoryIndex) { + return params.data?.role + ? `${params.data.name}
Rolle: ${params.data.role}` + : params.data?.name; + } + + return params.data?.name ?? ''; + } + + if (params.dataType === 'edge') { + return params.data?.value + ? `Rolle: ${params.data.value}` + : 'Verbindung'; + } + + return ''; + }, + }, + series: [graphSeries], + } as EChartsOption; + } + + private createGraphCategories(): any[] { + return [ + { + name: this.personCategoryName, + symbol: this.personIconSymbol, + }, + { + name: this.activeCompanyCategoryName, + symbol: this.activeCompanyIconSymbol, + }, + { + name: this.removedCompanyCategoryName, + symbol: this.removedCompanyIconSymbol, + }, + { + name: this.registerPersonCategoryName, + symbol: this.registerPersonIconSymbol, + }, + ]; + } + + private createNodeLegendData(connections: CompanyConnection[]): any[] { + const hasActiveCompany = connections.some( + (connection) => connection.company_status !== 'removed', + ); + const hasRemovedCompany = connections.some( + (connection) => connection.company_status === 'removed', + ); + + const legendData = [ + { + name: this.personCategoryName, + icon: this.personIconSymbol, + }, + ]; + + if (hasActiveCompany) { + legendData.push({ + name: this.activeCompanyCategoryName, + icon: this.activeCompanyIconSymbol, + }); + } + + if (hasRemovedCompany) { + legendData.push({ + name: this.removedCompanyCategoryName, + icon: this.removedCompanyIconSymbol, + }); + } + + if (this.showRelatedPersons) { + legendData.push({ + name: this.registerPersonCategoryName, + icon: this.registerPersonIconSymbol, + }); + } + + return legendData; + } + + private createRoleLegendItems( + connections: CompanyConnection[], + ): RoleLegendItem[] { + const usedRoles = new Set(); + + for (const connection of connections) { + const role = this.getPrimaryOfficer(connection)?.position; + + if (role) { + usedRoles.add(role); + } + + if (this.showRelatedPersons) { + for (const officer of this.getRelatedOfficers(connection)) { + if (officer.position) { + usedRoles.add(officer.position); + } + } + } + } + + return [...usedRoles] + .sort((a, b) => a.localeCompare(b)) + .map((role) => ({ + role, + color: this.getRoleColor(role), + })); + } + + openPersonSearchInNewTab(name?: string | null): void { + const url = this.createPersonSearchUrl(name); + + if (!url) { + return; + } + + window.open(url, '_blank', 'noopener,noreferrer'); + } + + private createPersonSearchUrl(name?: string | null): string | null { + const query = name?.trim(); + + if (!query) { + return null; + } + + const urlTree = this.router.createUrlTree(['/persons'], { + queryParams: this.getPersonSearchQueryParams(query), + }); + + const internalUrl = this.router.serializeUrl(urlTree); + + return this.locationStrategy.prepareExternalUrl(internalUrl); + } + + getPersonSearchQueryParams(name?: string | null): { + query: string; + page: number; + } { + return { + query: name?.trim() ?? '', + page: 1, + }; + } + + private scrollSelectedCompanyIntoView(): void { + window.setTimeout(() => { + if (!this.selectedCompanyKey) { + return; + } + + const selectedRow = this.connectionRows.find((row) => { + return ( + row.nativeElement.dataset['companyKey'] === this.selectedCompanyKey + ); + }); + + selectedRow?.nativeElement.scrollIntoView({ + block: 'nearest', + behavior: 'smooth', + }); + }); + } + + private createAccountCircleSymbol(color: string): string { + const backgroundPath = + 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z'; + + const foregroundPath = + 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z'; + + const svg = ` + + + + + `; + + return this.toSvgImageSymbol(svg); + } + + private createApartmentSymbol(color: string): string { + const backgroundPath = 'M17 11V3H7v4H3v14h18V11h-4z'; + + const foregroundPath = + 'M17 11V3H7v4H3v14h18V11h-4zM7 19H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm4 8H9v-2h2v2zm0-4H9v-2h2v2zm0-4H9V9h2v2zm0-4H9V5h2v2zm4 12h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm4 12h-2v-2h2v2zm0-4h-2v-2h2v2z'; + + const svg = ` + + + + + `; + + return this.toSvgImageSymbol(svg); + } + + private toSvgImageSymbol(svg: string): string { + return `image://data:image/svg+xml;utf8,${encodeURIComponent(svg.trim())}`; + } +} diff --git a/webapp/src/app/modules/person-funding/person-funding.component.html b/webapp/src/app/modules/person-funding/person-funding.component.html index 8c579e5f..119b3a5a 100644 --- a/webapp/src/app/modules/person-funding/person-funding.component.html +++ b/webapp/src/app/modules/person-funding/person-funding.component.html @@ -303,17 +303,6 @@ } } @else {
-
-

- {{ getUniquePublicationCount() }} - Einzigartige Publikationen -

-

- {{ filteredFunders.length }} - Förderer -

-
-
@@ -321,22 +310,30 @@
Filter nach Position: @@ -466,7 +463,44 @@
} @else {
-

Klicke auf einen Förderer für Details.

+
+ @if (activeFilter !== 'all') { + + Filter: {{ getPositionLabel(activeFilter) }} + + } +

Förderübersicht

+

+ @if (activeFilter === 'all') { + Alle geförderten Publikationen dieser Person im Überblick. + } @else { + Nur Publikationen mit der gewählten Autorenposition. + } +

+
+
+ {{ + getUniquePublicationCount() + }} + Einzigartige Publikationen +
+
+ {{ + filteredFunders.length + }} + Förderer +
+
+
+ +

+ Wähle links einen Förderer aus, um die zugehörigen Publikationen + anzuzeigen. +

+
+
}
diff --git a/webapp/src/app/modules/person-funding/person-funding.component.scss b/webapp/src/app/modules/person-funding/person-funding.component.scss index 949d838c..c9bd848e 100644 --- a/webapp/src/app/modules/person-funding/person-funding.component.scss +++ b/webapp/src/app/modules/person-funding/person-funding.component.scss @@ -23,38 +23,58 @@ button { padding: 6px 14px; - border: 1px solid #ccc; + border: 1px solid transparent; border-radius: 20px; - background: white; + background: #fff; cursor: pointer; font-size: 14px; + font-weight: 500; - &:hover { - background: #f0f0f0; + &.active { + font-weight: 600; + border-width: 2px; + padding: 5px 13px; } } + button:nth-child(2) { - background: #f0f6ff; - color: #0b63ce; - border-color: #bdd4ff; + color: #3b82c4; + border-color: #c7dcfa; + &.active { + color: #0b4f9e; + background: #e8f2ff; + border-color: #3b82c4; + } } button:nth-child(3) { - background: #effaf3; - color: #24834f; - border-color: #bdebcf; + color: #3d9a66; + border-color: #b8e6cb; + &.active { + color: #1a6b3f; + background: #e8f7ee; + border-color: #3d9a66; + } } button:nth-child(4) { - background: #f6f0ff; - color: #7255d9; - border-color: #d8cafe; + color: #7c65d9; + border-color: #d5c8f8; + &.active { + color: #5b3fc9; + background: #f0ebff; + border-color: #7c65d9; + } } button:nth-child(5) { - background: #fff7e8; - color: #c67500; - border-color: #ffd796; + color: #d1435f; + border-color: #f8c4ce; + &.active { + color: #a61e3a; + background: #ffe8ec; + border-color: #d1435f; + } } } @@ -119,11 +139,6 @@ tr { cursor: pointer; - - &:hover { - background: #f5f5f5; - } - &.selected { background: #f0f0f0; } @@ -152,18 +167,26 @@ display: flex; align-items: center; justify-content: center; - color: #999; - min-height: 200px; + min-height: 280px; + padding: 24px; + background: + radial-gradient( + circle at 100% 0%, + rgba(200, 217, 255, 0.35), + transparent 45% + ), + linear-gradient(160deg, #fff 0%, #f8faff 100%); + border-color: #dbe3f2; } h3 { - margin: 0 0 16px 0; + margin: 0 0 16px; font-size: 16px; color: #333; } h4 { - margin: 16px 0 8px 0; + margin: 16px 0 8px; font-size: 14px; color: #555; } @@ -172,16 +195,13 @@ .position-stats { display: flex; gap: 12px; - margin-bottom: 16px; + margin: 0 auto 16px; width: fit-content; - margin-left: auto; - margin-right: auto; .stat { - flex: 0 auto; min-width: 100px; text-align: center; - background: white; + background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px; @@ -200,20 +220,50 @@ color: #333; } } - .stat-first { - background: #effaf3; - border-color: #bdebcf; - } +} - .stat-middle { - background: #f6f0ff; - border-color: #d8cafe; - } +.stat-first, +.position-badge--first, +.hero-highlight--open, +.publication-detail-grid .access-badge--open { + background: #effaf3; +} - .stat-last { - background: #fff7e8; - border-color: #ffd796; - } +.stat-first { + border-color: #bdebcf; +} + +.position-badge--first { + color: #24834f; + border: 1px solid #bdebcf; +} + +.hero-highlight--open, +.publication-detail-grid .access-badge--open { + border-color: #bdebcf; + color: #24834f; +} + +.stat-middle, +.position-badge--middle { + background: #f6f0ff; + border-color: #d8cafe; +} + +.position-badge--middle { + color: #7255d9; + border: 1px solid #d8cafe; +} + +.stat-last, +.position-badge--last { + background: #fff1f2; + border-color: #fda4af; +} + +.position-badge--last { + color: #be123c; + border: 1px solid #fda4af; } .publication-list { @@ -241,7 +291,7 @@ padding: 4px 10px; border: 1px solid #d0d0d0; border-radius: 6px; - background: white; + background: #fff; cursor: pointer; font-size: 12px; @@ -257,22 +307,87 @@ } } -.funding-summary { - margin-bottom: 16px; +.empty-overview { + width: 100%; + text-align: center; - .summary-line { - margin: 0 0 4px 0; - font-size: 14px; - color: #333; - } - - .summary-label { - color: #333; - } - - .summary-value { + &__filter { + display: inline-block; + margin-bottom: 12px; + padding: 4px 12px; + border: 1px solid #dbe3f2; + border-radius: 999px; + background: rgba(255, 255, 255, 0.9); + color: #475569; + font-size: 0.75rem; font-weight: 600; - color: #333; + text-transform: uppercase; + } + + &__title { + margin: 0 0 8px; + font-size: 1.125rem; + color: #1e3a5f; + } + + &__subtitle { + margin: 0 0 20px; + color: #64748b; + font-size: 0.875rem; + line-height: 1.5; + } + + &__stats { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 12px; + margin-bottom: 20px; + } + + &__stat { + display: flex; + flex-direction: column; + gap: 6px; + padding: 16px 12px; + border: 1px solid #e0e6f0; + border-radius: 10px; + background: rgba(255, 255, 255, 0.85); + } + + &__stat-value { + font-size: 1.75rem; + font-weight: 700; + line-height: 1.1; + color: #1e3a5f; + } + + &__stat-label { + font-size: 0.8rem; + line-height: 1.35; + color: #64748b; + } + + &__hint { + display: flex; + align-items: flex-start; + gap: 10px; + padding: 12px 14px; + border: 1px dashed #c7d5ea; + border-radius: 10px; + background: rgba(255, 255, 255, 0.7); + text-align: left; + + .material-icons { + font-size: 20px; + color: #3b82c4; + } + + p { + margin: 0; + color: #475569; + font-size: 0.875rem; + line-height: 1.45; + } } } @@ -280,15 +395,25 @@ padding: 16px; } -.publication-detail-back { +.publication-detail-back, +.publication-more-info { display: inline-flex; align-items: center; - gap: 6px; border: 0; background: transparent; cursor: pointer; } +.publication-detail-back { + gap: 6px; +} + +.publication-more-info { + gap: 4px; + margin-top: 6px; + padding: 0; +} + .publication-detail-hero { display: flex; justify-content: space-between; @@ -326,7 +451,6 @@ font-size: 0.75rem; font-weight: 700; text-transform: uppercase; - letter-spacing: 0.02em; } } @@ -362,7 +486,6 @@ display: inline-flex; align-items: center; gap: 6px; - flex-shrink: 0; padding: 10px 16px; border: 1px solid #bdd4ff; border-radius: 8px; @@ -371,11 +494,6 @@ font-weight: 600; font-size: 0.875rem; text-decoration: none; - white-space: nowrap; - - &:hover { - background: #e3efff; - } .material-icons { font-size: 18px; @@ -383,21 +501,9 @@ } } -@media (max-width: 720px) { - .publication-detail-hero { - flex-direction: column; - align-items: stretch; - - &__action { - justify-content: center; - } - } -} - .hero-highlight { display: inline-flex; flex-direction: column; - min-width: 72px; padding: 8px 12px; border: 1px solid #e0e6f0; border-radius: 8px; @@ -414,7 +520,6 @@ font-size: 0.7rem; color: #64748b; text-transform: uppercase; - letter-spacing: 0.03em; } &--badge { @@ -426,12 +531,6 @@ color: #475569; } - &--open { - border-color: #bdebcf; - background: #effaf3; - color: #24834f; - } - &--closed { border-color: #e0e6f0; background: #f8fafc; @@ -447,24 +546,6 @@ font-size: 0.8rem; font-weight: 700; - &--first { - background: #effaf3; - color: #24834f; - border: 1px solid #bdebcf; - } - - &--middle { - background: #f6f0ff; - color: #7255d9; - border: 1px solid #d8cafe; - } - - &--last { - background: #fff7e8; - color: #c67500; - border: 1px solid #ffd796; - } - &--unknown { background: #f1f5f9; color: #64748b; @@ -472,179 +553,125 @@ } } -.publication-detail-grid { +$g: '.publication-detail-grid'; + +#{$g} { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 12px; +} - .publication-detail-main, - .publication-detail-side { - display: grid; - gap: 12px; - min-width: 0; - } +#{$g} .publication-detail-main, +#{$g} .publication-detail-side { + display: grid; + gap: 12px; + min-width: 0; +} - .publication-detail-section { - border: 1px solid #e0e6f0; - border-radius: 10px; - padding: 18px; - background: #fff; +#{$g} .publication-detail-section { + border: 1px solid #e0e6f0; + border-radius: 10px; + padding: 18px; + background: #fff; - h3 { - margin: 0 0 14px; - font-size: 1rem; - color: #1e3a5f; - } - - &--funding { - background: #fafbfd; - } - } - - .publication-overview, - .publication-abstract { - margin: 0; - color: #334155; - line-height: 1.65; - } - - .publication-detail-facts { - display: grid; - gap: 12px; - margin: 0; - - div { - display: grid; - grid-template-columns: 130px minmax(0, 1fr); - gap: 12px; - } - - dt { - color: #64748b; - font-size: 0.875rem; - } - - dd { - margin: 0; - word-break: break-word; - color: #1e293b; - } - } - - .tag-list { - display: flex; - flex-wrap: wrap; - gap: 6px; - margin: 0; - padding: 0; - list-style: none; - - &--compact .tag { - font-size: 0.75rem; - padding: 3px 8px; - } - } - - .tag { - padding: 4px 10px; - border-radius: 999px; - background: #f0f6ff; - border: 1px solid #dbeafe; - color: #1e40af; - font-size: 0.8rem; - line-height: 1.3; - } - - .access-badge { - display: inline-flex; - padding: 4px 10px; - border-radius: 999px; - font-size: 0.8rem; - font-weight: 600; - background: #f1f5f9; - color: #64748b; - - &--open { - background: #effaf3; - color: #24834f; - } - - &--closed { - background: #f8fafc; - color: #475569; - } - } - - .access-actions { - display: flex; - flex-wrap: wrap; - gap: 10px; - align-items: center; - } - - .inline-action { - display: inline-flex; - align-items: center; - gap: 4px; - color: #0b63ce; - font-weight: 600; - font-size: 0.875rem; - text-decoration: none; - - .material-icons { - font-size: 16px; - } - } - - .warning-badge { - display: inline-flex; - padding: 4px 10px; - border-radius: 999px; - background: #fef2f2; - border: 1px solid #fecaca; - color: #b91c1c; - font-size: 0.8rem; - font-weight: 600; - } - - .citation-year-table { - border-collapse: collapse; - - th, - td { - padding: 2px 0; - font-weight: normal; - text-align: left; - vertical-align: top; - } - - th { - padding-right: 20px; - font-weight: 600; - color: #334155; - white-space: nowrap; - } - - td { - color: #1e293b; - } + h3 { + margin: 0 0 14px; + font-size: 1rem; + color: #1e3a5f; } } -@media (max-width: 960px) { - .publication-detail-grid { - grid-template-columns: 1fr; +#{$g} .publication-overview, +#{$g} .publication-abstract { + margin: 0; + color: #334155; + line-height: 1.65; +} + +#{$g} .publication-detail-facts { + display: grid; + gap: 12px; + margin: 0; +} + +#{$g} .publication-detail-facts div { + display: grid; + grid-template-columns: 130px minmax(0, 1fr); + gap: 12px; +} + +#{$g} .publication-detail-facts dt { + color: #64748b; + font-size: 0.875rem; +} + +#{$g} .publication-detail-facts dd { + margin: 0; + word-break: break-word; + color: #1e293b; +} + +#{$g} .tag-list { + display: flex; + flex-wrap: wrap; + gap: 6px; + margin: 0; + padding: 0; + list-style: none; +} + +#{$g} .tag, +#{$g} .access-badge, +#{$g} .warning-badge { + display: inline-flex; + padding: 4px 10px; + border-radius: 999px; + font-size: 0.8rem; +} + +#{$g} .tag { + background: #f0f6ff; + border: 1px solid #dbeafe; + color: #1e40af; + line-height: 1.3; +} + +#{$g} .access-badge { + font-weight: 600; + background: #f1f5f9; + color: #64748b; +} + +#{$g} .access-badge--closed { + background: #f8fafc; + color: #475569; +} + +#{$g} .inline-action { + display: inline-flex; + align-items: center; + gap: 4px; + color: #0b63ce; + font-weight: 600; + font-size: 0.875rem; + text-decoration: none; + + .material-icons { + font-size: 16px; } } +#{$g} .warning-badge { + background: #fef2f2; + border: 1px solid #fecaca; + color: #b91c1c; + font-weight: 600; +} + .publication-item { padding: 8px 0; border-bottom: 2px solid #5b5555; cursor: pointer; - - &:hover { - background: #f9f9f9; - } } .publication-title { @@ -654,30 +681,39 @@ word-break: break-word; display: block; } -.publication-more-info { - display: flex; - align-items: center; - gap: 4px; - margin-top: 6px; - border: 0; - background: transparent; - padding: 0; - cursor: pointer; + +.mehr-infos-label, +.publication-link-icon { + color: #1976d2; } .mehr-infos-label { font-size: 0.8rem; - color: #1976d2; font-weight: 500; } .publication-link-icon { display: flex; align-items: center; - color: #1976d2; - flex-shrink: 0; .material-icons { font-size: 16px; } } + +@media (max-width: 720px) { + .publication-detail-hero { + flex-direction: column; + align-items: stretch; + + &__action { + justify-content: center; + } + } +} + +@media (max-width: 960px) { + #{$g} { + grid-template-columns: 1fr; + } +} diff --git a/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.html b/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.html index 5376284b..dc6026c8 100644 --- a/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.html +++ b/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.html @@ -59,7 +59,7 @@
@@ -110,13 +110,6 @@ {{ maxYear }}
- -
- -
@@ -225,6 +218,10 @@ type="button" class="main-topic-button" [disabled]="!getMainTopicItem(item)?.id" + [matTooltip]="getTopicDescription(getMainTopicItem(item))" + [matTooltipDisabled]=" + !hasTopicDescription(getMainTopicItem(item)) + " (click)=" selectTopic(getMainTopicItem(item), [item.year]) "> @@ -261,8 +258,17 @@ [ngClass]="getColorClass(index)" [disabled]="!topic.id" (click)="selectTopic(topic, [item.year])"> - {{ topic.name }} - {{ topic.count }} + + {{ topic.name }} + + + {{ topic.count }} + @@ -322,6 +328,10 @@ type="button" class="main-topic-button" [disabled]="!phase.primaryTopic.id" + [matTooltip]="getTopicDescription(phase.primaryTopic)" + [matTooltipDisabled]=" + !hasTopicDescription(phase.primaryTopic) + " (click)=" selectTopic(phase.primaryTopic, getPhaseYears(phase)) "> @@ -341,8 +351,17 @@ [ngClass]="getColorClass(index)" [disabled]="!topic.id" (click)="selectTopic(topic, getPhaseYears(phase))"> - {{ topic.name }} - {{ topic.count }} + + {{ topic.name }} + + + {{ topic.count }} + @@ -413,8 +432,15 @@ class="mini-topic-chip" [disabled]="!topic.id" (click)="selectTopic(topic, [year.year])"> - {{ topic.name }} - {{ topic.count }} + + {{ topic.name }} + + + {{ topic.count }} + diff --git a/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.scss b/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.scss index 0535e874..adf3af43 100644 --- a/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.scss +++ b/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.scss @@ -38,7 +38,7 @@ .timeline-header { display: grid; - grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr); + grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: flex-start; gap: 24px; margin-bottom: 28px; @@ -103,6 +103,7 @@ border: 1px solid #dbe5f6; border-radius: 10px; background: #fbfdff; + box-sizing: border-box; } .year-filter-top, @@ -409,7 +410,6 @@ .topic-count { display: inline-flex; - flex: 0 0 auto; align-items: center; justify-content: center; min-width: 18px; @@ -453,7 +453,6 @@ } .phase-marker { - flex: 0 0 auto; width: 11px; height: 11px; margin-top: 5px; @@ -493,7 +492,6 @@ .phase-publications-button { display: inline-flex; - flex: 0 0 auto; width: fit-content; color: #68748f; font-size: 12px; @@ -602,6 +600,9 @@ } strong { + display: inline-flex; + align-items: center; + gap: 2px; color: var(--accent); font-size: 10px; } diff --git a/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.ts b/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.ts index 90dfbe9f..43c99ff3 100644 --- a/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.ts +++ b/webapp/src/app/modules/person-overview/components/research-timeline/research-timeline.component.ts @@ -17,6 +17,7 @@ export interface TopicTimelineTopic { id?: string; name: string; count: number; + description?: string; } export interface TopicTimelineElement { @@ -330,6 +331,31 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { ); } + getTopicDescription(topic: TopicTimelineTopic | undefined): string { + return (topic?.description ?? '').trim(); + } + + hasTopicDescription(topic: TopicTimelineTopic | undefined): boolean { + return this.getTopicDescription(topic).length > 0; + } + + getYearTopicCountTooltip( + topic: TopicTimelineTopic, + item: TopicTimelineElement, + ): string { + return this.getTopicCountTooltip(topic, `im Jahr ${item.year}`); + } + + getPhaseTopicCountTooltip( + topic: TopicTimelineTopic, + phase: ResearchTimelinePhase, + ): string { + return this.getTopicCountTooltip( + topic, + this.getPhasePublicationTooltipPeriod(phase), + ); + } + togglePhase(phase: ResearchTimelinePhase): void { if (this.expandedPhaseIds.has(phase.id)) { this.expandedPhaseIds.delete(phase.id); @@ -462,6 +488,17 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { return `Insgesamt ${count} ${publicationLabel} ${period} veröffentlicht.`; } + private getTopicCountTooltip( + topic: TopicTimelineTopic, + period: string, + ): string { + const publicationLabel = + topic.count === 1 ? 'Publikation' : 'Publikationen'; + const verb = topic.count === 1 ? 'hat' : 'haben'; + + return `${topic.count} ${publicationLabel} ${period} ${verb} das Topic ${topic.name}.`; + } + private getPhasePublicationTooltipPeriod( phase: ResearchTimelinePhase, ): string { @@ -608,6 +645,7 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { const primaryTopicName = primaryTopic.name; let count = 0; let id = primaryTopic.id; + let description = primaryTopic.description; for (const year of years) { for (const topic of year.primary_topics ?? []) { @@ -620,6 +658,10 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { if (!id && topic.id) { id = topic.id; } + + if (!description && topic.description) { + description = topic.description; + } } } @@ -627,6 +669,7 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { id, name: primaryTopicName, count: count > 0 ? count : primaryTopic.count, + description, }; } @@ -637,6 +680,7 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { const counts = new Map(); const originalNames = new Map(); const ids = new Map(); + const descriptions = new Map(); for (const year of years) { for (const topic of year.topics ?? []) { @@ -652,6 +696,10 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { ids.set(normalizedName, topic.id); } + if (topic.description) { + descriptions.set(normalizedName, topic.description); + } + counts.set( normalizedName, (counts.get(normalizedName) ?? 0) + topic.count, @@ -664,6 +712,7 @@ export class ResearchTimelineComponent implements OnChanges, AfterViewChecked { id: ids.get(normalizedName), name: originalNames.get(normalizedName) ?? normalizedName, count, + description: descriptions.get(normalizedName), })) .sort((left, right) => { if (right.count !== left.count) { diff --git a/webapp/src/app/modules/person-overview/person-overview.component.html b/webapp/src/app/modules/person-overview/person-overview.component.html index 3d3ffa2d..31ac9ae8 100644 --- a/webapp/src/app/modules/person-overview/person-overview.component.html +++ b/webapp/src/app/modules/person-overview/person-overview.component.html @@ -14,26 +14,6 @@ (topicSelect)="onTimelineTopicSelect($event)" (yearSelect)="onTimelineYearSelect($event)" (loadEarlierYears)="onTimelineLoadEarlierYears()"> -
- @if (loadingWordCloud) { - Themen laden ... - } @else if (wordCloudOptions && sliderMax > 5) { - {{ topN }} Themen -
-
- -
- } @else { - Themen - } -
-
@if (loadingWordCloud) {
Forschungsthemen werden geladen ...
diff --git a/webapp/src/app/modules/person-overview/person-overview.component.scss b/webapp/src/app/modules/person-overview/person-overview.component.scss index 7b40485a..7e0732ce 100644 --- a/webapp/src/app/modules/person-overview/person-overview.component.scss +++ b/webapp/src/app/modules/person-overview/person-overview.component.scss @@ -5,91 +5,6 @@ box-sizing: border-box; } -.word-cloud-slider-wrapper { - display: flex; - align-items: center; - justify-content: center; - gap: 0.75rem; - min-height: 86px; -} - -.slider-label { - font-size: 13px; - color: var(--sg-text-muted); - white-space: nowrap; - min-width: 4.5rem; - text-align: right; -} - -.word-cloud-slider { - --accent: #0057ff; - --range-value: 50%; - - position: relative; - width: 160px; - height: 22px; - - .range-track { - position: absolute; - top: 50%; - left: 0; - right: 0; - height: 5px; - transform: translateY(-50%); - border-radius: 999px; - background: linear-gradient( - to right, - var(--accent) 0%, - var(--accent) var(--range-value), - #d8e2f4 var(--range-value), - #d8e2f4 100% - ); - } - - input[type='range'] { - position: absolute; - inset: 0; - width: 100%; - height: 22px; - margin: 0; - appearance: none; - background: transparent; - - &::-webkit-slider-runnable-track, - &::-moz-range-track { - height: 5px; - background: transparent; - border: none; - } - - &::-webkit-slider-thumb { - appearance: none; - width: 15px; - height: 15px; - margin-top: -5px; - border: 2px solid #ffffff; - border-radius: 50%; - background: var(--accent); - box-shadow: - 0 0 0 1px #9ab7ff, - 0 2px 6px rgba(0, 87, 255, 0.22); - cursor: pointer; - } - - &::-moz-range-thumb { - width: 15px; - height: 15px; - border: 2px solid #ffffff; - border-radius: 50%; - background: var(--accent); - box-shadow: - 0 0 0 1px #9ab7ff, - 0 2px 6px rgba(0, 87, 255, 0.22); - cursor: pointer; - } - } -} - .word-cloud-view { min-height: 420px; } diff --git a/webapp/src/app/modules/person-overview/person-overview.component.ts b/webapp/src/app/modules/person-overview/person-overview.component.ts index 5291c82a..5c6c0420 100644 --- a/webapp/src/app/modules/person-overview/person-overview.component.ts +++ b/webapp/src/app/modules/person-overview/person-overview.component.ts @@ -54,32 +54,10 @@ export class PersonOverviewComponent implements OnInit { loadingWordCloud = false; wordCloudEmpty = false; - topN = 30; - sliderMax = 50; - - get sliderPercent(): string { - if (this.sliderMax <= 5) return '100%'; - return `${(((this.topN - 5) / (this.sliderMax - 5)) * 100).toFixed(1)}%`; - } - - onTopNChange(event: Event): void { - this.topN = Number((event.target as HTMLInputElement).value); - this.rebuildWordCloud(); - } - - private allTopicData: Array<{ + private rawTopicOccurrences: Array<{ name: string; - value: number; - topicId: string | undefined; - textStyle: { color: string; fontSize: number }; - emphasis: { - textStyle: { - fontSize: number; - color: string; - shadowBlur: number; - shadowColor: string; - }; - }; + topicId: string; + year: number | undefined; }> = []; ngOnInit(): void { @@ -123,6 +101,7 @@ export class PersonOverviewComponent implements OnInit { onTimelineYearRangeChange(range: TimelineYearRange): void { this.timelineStartYear = range.startYear; this.timelineEndYear = range.endYear; + this.rebuildWordCloud(); this.updateTimelineQueryParams( { @@ -308,30 +287,20 @@ export class PersonOverviewComponent implements OnInit { this.timelineEarlierYearsLoadFailed = false; } - private readonly blueShades = [ - '#0057ff', - '#1a6fff', - '#2952d9', - '#3d7cff', - '#1240cc', - '#5a90ff', - '#0044cc', - '#4d85ff', - '#0b4fe0', - '#2563eb', + private readonly timelineColors = [ + '#7255d9', + '#2678e8', + '#39a96b', + '#f59e0b', + '#e0527c', ]; - private topicColor(name: string): string { - const hash = name.split('').reduce((acc, c) => acc + c.charCodeAt(0), 0); - return this.blueShades[hash % this.blueShades.length]; - } - private loadWordCloud(authorId: string): void { if (!authorId || authorId === '0') { this.wordCloudOptions = null; this.wordCloudEmpty = false; this.loadingWordCloud = false; - this.allTopicData = []; + this.rawTopicOccurrences = []; return; } @@ -344,64 +313,28 @@ export class PersonOverviewComponent implements OnInit { .pipe(takeUntilDestroyed(this.destroyRef)) .subscribe({ next: (page) => { - const counts = new Map(); - const nameToId = new Map(); - + this.rawTopicOccurrences = []; page.elements?.forEach((work) => { + const year = work.publication_year ?? undefined; work.topics?.forEach((topic) => { if (topic.display_name && topic.id) { - counts.set( - topic.display_name, - (counts.get(topic.display_name) ?? 0) + 1, - ); - if (!nameToId.has(topic.display_name)) { - nameToId.set(topic.display_name, topic.id); - } + this.rawTopicOccurrences.push({ + name: topic.display_name, + topicId: topic.id, + year, + }); } }); }); - const allValues = Array.from(counts.values()); - const minVal = Math.min(...allValues); - const maxVal = Math.max(...allValues); - const computeSize = (v: number): number => - maxVal === minVal - ? 22 - : Math.round(12 + ((v - minVal) / (maxVal - minVal)) * (32 - 12)); - - this.allTopicData = Array.from(counts.entries()) - .sort((a, b) => b[1] - a[1]) - .map(([name, value]) => { - const fontSize = computeSize(value); - return { - name, - value, - topicId: nameToId.get(name), - textStyle: { color: this.topicColor(name), fontSize }, - emphasis: { - textStyle: { - fontSize: Math.round(fontSize * 1.1), - color: '#101a3d', - shadowBlur: 16, - shadowColor: 'rgba(0, 87, 255, 0.35)', - }, - }, - }; - }); - this.loadingWordCloud = false; - if (this.allTopicData.length === 0) { + if (this.rawTopicOccurrences.length === 0) { this.wordCloudEmpty = true; return; } - this.sliderMax = Math.min(50, this.allTopicData.length); - this.topN = Math.min(30, this.sliderMax); - - setTimeout(() => { - this.rebuildWordCloud(); - }); + setTimeout(() => this.rebuildWordCloud()); }, error: (error) => { console.error('Word cloud could not be loaded.', error); @@ -412,8 +345,57 @@ export class PersonOverviewComponent implements OnInit { } private rebuildWordCloud(): void { - const data = this.allTopicData.slice(0, this.topN); - if (data.length === 0) return; + const start = this.timelineStartYear; + const end = this.timelineEndYear; + const counts = new Map(); + const nameToId = new Map(); + + for (const occ of this.rawTopicOccurrences) { + if (start !== undefined && (occ.year === undefined || occ.year < start)) + continue; + if (end !== undefined && (occ.year === undefined || occ.year > end)) + continue; + counts.set(occ.name, (counts.get(occ.name) ?? 0) + 1); + if (!nameToId.has(occ.name)) nameToId.set(occ.name, occ.topicId); + } + + if (counts.size === 0) { + this.wordCloudOptions = null; + this.wordCloudEmpty = true; + return; + } + + this.wordCloudEmpty = false; + + const allValues = Array.from(counts.values()); + const minVal = Math.min(...allValues); + const maxVal = Math.max(...allValues); + const computeSize = (v: number): number => + maxVal === minVal + ? 22 + : Math.round(12 + ((v - minVal) / (maxVal - minVal)) * (32 - 12)); + + const sorted = Array.from(counts.entries()).sort((a, b) => b[1] - a[1]); + + const data = sorted.slice(0, 30).map(([name, value], i) => { + const fontSize = computeSize(value); + const color = this.timelineColors[i % this.timelineColors.length]; + return { + name, + value, + topicId: nameToId.get(name), + textStyle: { color, fontSize }, + emphasis: { + textStyle: { + fontSize: Math.round(fontSize * 1.1), + color, + shadowBlur: 16, + shadowColor: 'rgba(0, 87, 255, 0.35)', + }, + }, + }; + }); + // eslint-disable-next-line @typescript-eslint/no-explicit-any this.wordCloudOptions = { series: [ @@ -453,6 +435,7 @@ export class PersonOverviewComponent implements OnInit { id: topic.id ?? undefined, name: topic.name, count: topic.count ?? 0, + description: topic.description ?? undefined, })); } diff --git a/webapp/src/app/modules/person-patents/person-patents.component.html b/webapp/src/app/modules/person-patents/person-patents.component.html new file mode 100644 index 00000000..559aa284 --- /dev/null +++ b/webapp/src/app/modules/person-patents/person-patents.component.html @@ -0,0 +1,157 @@ +@if (loading) { +

Lade Patente...

+} @else if (error) { +

Fehler beim Laden der Patente.

+} @else if (patents.length === 0) { +

Keine Patente gefunden.

+} @else { +
+
+

+ {{ filteredPatents.length }} + Patente +

+

+ {{ getEpoCount() }} + EPO +

+

+ {{ getUsptoCount() }} + USPTO +

+
+ + @if (showDetail && selectedPatent) { + + } + +
+ @if (showDetail && selectedPatent) { +
+

{{ selectedPatent.title ?? selectedPatent.patent_id }}

+ + @if (selectedPatent.abstract) { +
+

Abstract

+

{{ selectedPatent.abstract }}

+
+ } + +
+

Erfinder

+
    + @for (inventor of selectedPatent.inventors; track inventor) { +
  • {{ inventor }}
  • + } +
+
+ + @if (selectedPatent.assignees.length > 0) { +
+

Anmelder

+
    + @for (assignee of selectedPatent.assignees; track assignee) { +
  • {{ assignee }}
  • + } +
+
+ } + + @if (selectedPatent.ipc.length > 0) { +
+

Klassifikation (IPC)

+
    + @for (ipc of selectedPatent.ipc; track ipc) { +
  • {{ ipc }}
  • + } +
+
+ } +
+ } + +
+
+ + +
+ + + + + + + + + + + @for (patent of getPagedPatents(); track patent.patent_id) { + + + + + + } + +
PatentQuelleJahr
{{ patent.title ?? patent.patent_id }} + + {{ patent.source }} + + {{ patent.publication_year ?? '-' }}
+ + @if (hasPagination()) { + + } +
+ + @if (selectedPatent) { +
+

{{ selectedPatent.title ?? selectedPatent.patent_id }}

+
+
+ Quelle + + + {{ selectedPatent.source }} + + +
+
+ Patent-Nr. + {{ selectedPatent.patent_id }} +
+
+ Datum + {{ formatDate(selectedPatent.publication_date) }} +
+
+
+ } @else { +
+

Klicke auf ein Patent für Details.

+
+ } +
+
+} diff --git a/webapp/src/app/modules/person-patents/person-patents.component.scss b/webapp/src/app/modules/person-patents/person-patents.component.scss new file mode 100644 index 00000000..df70826d --- /dev/null +++ b/webapp/src/app/modules/person-patents/person-patents.component.scss @@ -0,0 +1,304 @@ +.message { + padding: 16px; + color: #666; +} + +.patents-container { + padding: 16px; + display: flex; + flex-direction: column; + gap: 16px; +} + +.patents-summary { + margin-bottom: 8px; + display: flex; + gap: 24px; + + .summary-line { + margin: 0; + font-size: 14px; + color: #333; + } + + .summary-label { + color: #333; + } + + .summary-value { + font-weight: 600; + color: #333; + } +} + +.sort-control { + display: inline-flex; + align-items: center; + gap: 6px; + width: fit-content; + padding: 10px 14px; + border-radius: 20px; + background: #f2f2f2; + color: #333; + font-size: 14px; + + span { + color: #555; + } + + select { + border: 0; + background: transparent; + color: #111827; + font: inherit; + cursor: pointer; + outline: none; + } +} + +.patents-content { + display: flex; + gap: 24px; + align-items: flex-start; +} + +.patents-list { + flex: 1; + + &.hidden { + display: none; + } + + .patents-list-toolbar { + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + margin-bottom: 18px; + flex-wrap: wrap; + } + + table { + width: 100%; + border-collapse: collapse; + + th { + text-align: left; + padding: 10px 12px; + border-bottom: 2px solid #e0e0e0; + font-weight: 600; + color: #333; + } + + tr { + cursor: pointer; + + &:hover { + background: #f5f5f5; + } + + &.selected { + background: #f0f0f0; + } + } + + td { + padding: 10px 12px; + border-bottom: 1px solid #f0f0f0; + } + + .patent-title { + color: #333; + font-weight: 500; + max-width: 400px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } +} + +.source-badge { + display: inline-flex; + align-items: center; + padding: 3px 10px; + border-radius: 999px; + font-size: 0.75rem; + font-weight: 700; + + &--epo { + background: #effaf3; + color: #24834f; + border: 1px solid #bdebcf; + } + + &--uspto { + background: #f0f6ff; + color: #0b63ce; + border: 1px solid #bdd4ff; + } +} + +.patent-detail { + width: 440px; + border: 1px solid #e0e0e0; + border-radius: 8px; + padding: 20px; + background: #fafafa; + + &.empty { + display: flex; + align-items: center; + justify-content: center; + color: #999; + min-height: 200px; + } + + h3 { + margin: 0 0 16px 0; + font-size: 16px; + color: #333; + line-height: 1.4; + } +} + +.detail-stats { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 10px; + + .stat { + background: white; + border: 1px solid #e0e0e0; + border-radius: 8px; + padding: 10px; + text-align: center; + + .stat-label { + display: block; + font-size: 11px; + color: #666; + margin-bottom: 4px; + text-transform: uppercase; + letter-spacing: 0.03em; + } + + .stat-value { + display: block; + font-size: 15px; + font-weight: bold; + color: #333; + } + } +} + +.stat--clickable { + cursor: pointer; + transition: border-color 0.15s, background 0.15s; + + &:hover { + border-color: #0b63ce; + background: #f0f6ff; + } +} + +.patent-full-detail { + flex: 1; + border: 1px solid #e0e0e0; + border-radius: 8px; + padding: 20px; + background: #fafafa; + + h3 { + margin: 0 0 16px 0; + font-size: 16px; + color: #333; + line-height: 1.4; + } + + h4 { + margin: 16px 0 8px 0; + font-size: 14px; + color: #555; + font-weight: 600; + } + + p { + font-size: 13px; + color: #444; + line-height: 1.6; + margin: 0; + } +} + +.back-btn { + border: none; + background: none; + color: #333; + cursor: pointer; + font-size: 14px; + font-weight: 400; + padding: 0; + align-self: flex-start; // NEU + + &:hover { + text-decoration: underline; + } +} + +.detail-section { + margin-top: 12px; + padding-top: 12px; + border-top: 1px solid #eee; +} + +.tag-list { + display: flex; + flex-wrap: wrap; + gap: 6px; + margin: 0; + padding: 0; + list-style: none; + + &--compact .tag { + font-size: 0.75rem; + padding: 3px 8px; + } +} + +.tag { + padding: 4px 10px; + border-radius: 999px; + background: #f0f6ff; + border: 1px solid #dbeafe; + color: #1e40af; + font-size: 0.8rem; + line-height: 1.3; +} + +.pagination { + display: flex; + align-items: center; + justify-content: space-between; + gap: 8px; + margin-top: 12px; + + button { + padding: 4px 10px; + border: 1px solid #d0d0d0; + border-radius: 6px; + background: white; + cursor: pointer; + font-size: 12px; + + &:disabled { + opacity: 0.5; + cursor: default; + } + } + + span { + font-size: 12px; + color: #666; + } +} diff --git a/webapp/src/app/modules/person-patents/person-patents.component.ts b/webapp/src/app/modules/person-patents/person-patents.component.ts new file mode 100644 index 00000000..4c71be01 --- /dev/null +++ b/webapp/src/app/modules/person-patents/person-patents.component.ts @@ -0,0 +1,161 @@ +import { Component, OnInit, inject } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { ActivatedRoute, Router } from '@angular/router'; +import { PatentsService, PatentEntry } from '../../api/api/patents.service'; + +type SortMode = 'date' | 'title'; +type SourceFilter = 'all' | 'EPO' | 'USPTO'; + +@Component({ + selector: 'app-person-patents', + imports: [CommonModule], + templateUrl: './person-patents.component.html', + styleUrl: './person-patents.component.scss', +}) +export class PersonPatentsComponent implements OnInit { + private route = inject(ActivatedRoute); + private router = inject(Router); + private patentsApi = inject(PatentsService); + + patents: PatentEntry[] = []; + filteredPatents: PatentEntry[] = []; + authorName: string | null = null; + selectedPatent: PatentEntry | null = null; + showDetail = false; + + loading = true; + error = false; + + activeFilter: SourceFilter = 'all'; + sortMode: SortMode = 'date'; + + selectedPage = 1; + readonly pageSize = 10; + + ngOnInit(): void { + this.route.parent?.paramMap.subscribe((params) => { + const authorId = params.get('id') ?? ''; + + const filterFromUrl = this.route.snapshot.queryParamMap.get('filter'); + const sortFromUrl = this.route.snapshot.queryParamMap.get('sortBy'); + + if (this.isValidFilter(filterFromUrl)) { + this.activeFilter = filterFromUrl; + } + if (this.isValidSortMode(sortFromUrl)) { + this.sortMode = sortFromUrl; + } + + if (authorId) { + this.patentsApi.getPatentsByAuthor(authorId, 'body').subscribe({ + next: (result) => { + this.patents = result.patents ?? []; + this.authorName = result.author_name ?? null; + this.applyFilter(); + this.loading = false; + }, + error: () => { + this.error = true; + this.loading = false; + }, + }); + } + }); + } + + setFilter(filter: SourceFilter): void { + this.activeFilter = filter; + this.selectedPage = 1; + this.selectedPatent = null; + this.showDetail = false; + this.applyFilter(); + this.updateQueryParams(); + } + + setSortMode(sortMode: SortMode): void { + this.sortMode = sortMode; + this.applyFilter(); + this.updateQueryParams(); + } + + selectPatent(patent: PatentEntry): void { + this.selectedPatent = patent; + this.showDetail = false; + this.updateQueryParams(); + } + + openDetail(): void { + this.showDetail = true; + } + + private applyFilter(): void { + let patents = this.patents; + + if (this.activeFilter !== 'all') { + patents = patents.filter((p) => p.source === this.activeFilter); + } + + this.filteredPatents = this.sortPatents(patents); + } + + private sortPatents(patents: PatentEntry[]): PatentEntry[] { + return [...patents].sort((a, b) => { + if (this.sortMode === 'date') { + return (b.publication_date ?? '').localeCompare(a.publication_date ?? ''); + } + return (a.title ?? '').localeCompare(b.title ?? '', 'de', { sensitivity: 'base' }); + }); + } + + private updateQueryParams(): void { + this.router.navigate([], { + relativeTo: this.route, + queryParams: { + filter: this.activeFilter, + sortBy: this.sortMode, + }, + queryParamsHandling: 'merge', + replaceUrl: true, + }); + } + + private isValidFilter(value: string | null): value is SourceFilter { + return value === 'all' || value === 'EPO' || value === 'USPTO'; + } + + private isValidSortMode(value: string | null): value is SortMode { + return value === 'date' || value === 'title'; + } + + getPagedPatents(): PatentEntry[] { + const start = (this.selectedPage - 1) * this.pageSize; + return this.filteredPatents.slice(start, start + this.pageSize); + } + + getPageCount(): number { + return Math.max(1, Math.ceil(this.filteredPatents.length / this.pageSize)); + } + + hasPagination(): boolean { + return this.getPageCount() > 1; + } + + setPage(page: number): void { + this.selectedPage = Math.min(Math.max(page, 1), this.getPageCount()); + this.updateQueryParams(); + } + + formatDate(date: string | null): string { + if (!date) return '-'; + const d = date.replace(/(\d{4})(\d{2})(\d{2})/, '$1-$2-$3'); + return new Intl.DateTimeFormat('de-DE').format(new Date(d)); + } + + getEpoCount(): number { + return this.patents.filter((p) => p.source === 'EPO').length; + } + + getUsptoCount(): number { + return this.patents.filter((p) => p.source === 'USPTO').length; + } +} diff --git a/webapp/src/app/modules/person-projects/bund-details/bund-details.component.html b/webapp/src/app/modules/person-projects/bund-details/bund-details.component.html new file mode 100644 index 00000000..b98a231d --- /dev/null +++ b/webapp/src/app/modules/person-projects/bund-details/bund-details.component.html @@ -0,0 +1,391 @@ +
+ + + @if (bundProject) { +
+
+
+ Bund Projekt + ID: {{ bundProject.funding_reference }} + +
+

{{ bundProject.title || 'Ohne Titel' }}

+ @if (bundProject.funding_reference) { +

+ {{ bundProject.funding_type }} +

+ } +
+ + +
+
+ +
+
+ calendar_today +
+ {{ getStartDate() || 'N/A' }} + Startdatum +
+
+
+ event_busy +
+ {{ + getFundingStatus(getEndDate()) + }} + Enddatum +
+
+ @if (bundProject.funding_amount) { +
+ paid +
+ {{ getFundingAmountDisplay() }} + Fördersumme +
+
+ } + @if (bundProject.funding_profile) { +
+ assignment +
+ {{ bundProject.funding_profile }} + Förderprofil +
+
+ } +
+
+ + @if (bundProject.description) { + +
+ description +

Beschreibung

+
+

{{ bundProject.description }}

+
+ } + +
+
+ + @if (getAssociatedPersons().length > 0) { + +
+ people +

Beteiligte Personen

+ {{ + getAssociatedPersons().length + }} +
+
+ @for (person of getAssociatedPersons(); track person) { +
+
{{ getInitials(person) }}
+
{{ person }}
+
+ } +
+
+ } + + + @if (getInstitutions().length > 0) { + +
+ business +

Beteiligte Institutionen

+ {{ getInstitutions().length }} +
+
+ @for (institution of getInstitutions(); track institution) { +
+ apartment + {{ institution }} +
+ } +
+
+ } + + + + @if ( + bundProject.executing_agency || + bundProject.funding_recipient || + bundProject.project_agency || + bundProject.department || + bundProject.division + ) { + +
+ organization +

Organisation

+
+
+ @if (bundProject.executing_agency) { +
+
Ausführende Stelle
+
+ {{ bundProject.executing_agency }} + +
+
+ } + @if (bundProject.funding_recipient) { +
+
Förderempfänger
+
{{ bundProject.funding_recipient }}
+
+ } + @if (bundProject.project_agency) { +
+
Projektagentur
+
+ {{ + bundProject.project_agency_fullname || + bundProject.project_agency + }} + +
+
+ } + @if (bundProject.department) { +
+
Abteilung
+
+ {{ + bundProject.department_fullname || bundProject.department + }} +
+
+ } + @if (bundProject.division) { +
+
Division
+
{{ bundProject.division }}
+
+ } +
+
+ } + + + @if ( + bundProject.location || + bundProject.municipality || + bundProject.state || + bundProject.country + ) { + +
+ location_on +

Standort

+
+
+ @if (bundProject.location) { +
+
Standort
+
+ {{ bundProject.location }} + +
+
+ } + @if (bundProject.municipality) { +
+
Gemeinde
+
{{ bundProject.municipality }}
+
+ } + @if (bundProject.state) { +
+
Bundesland
+
+ {{ bundProject.state }} +
+
+ } + @if (bundProject.country) { +
+
Land
+
{{ bundProject.country }}
+
+ } + @if (bundProject.municipality_code) { +
+
Gemeindeschlüssel
+
{{ bundProject.municipality_code }}
+
+ } +
+
+ } + + + @if ( + bundProject.performance_plan_code || + bundProject.performance_plan_fullname || + bundProject.publication_date || + bundProject.record_date + ) { + +
+ more_info +

Weitere Informationen

+
+
+ @if (bundProject.performance_plan_code) { +
+
Leistungsplancode
+
{{ bundProject.performance_plan_code }}
+
+ } + @if (bundProject.performance_plan_fullname) { +
+
Leistungsplan
+
{{ bundProject.performance_plan_fullname }}
+
+ } + @if (bundProject.publication_date) { +
+
Veröffentlichungsdatum
+
{{ bundProject.publication_date }}
+
+ } + @if (bundProject.record_date) { +
+
Datensatzdatum
+
{{ bundProject.record_date }}
+
+ } +
+
+ } +
+ + +
+ } @else { +
+
+ error_outline +

Bund Projekt nicht gefunden.

+
+
+ } +
diff --git a/webapp/src/app/modules/person-projects/bund-details/bund-details.component.scss b/webapp/src/app/modules/person-projects/bund-details/bund-details.component.scss new file mode 100644 index 00000000..1cc4e13f --- /dev/null +++ b/webapp/src/app/modules/person-projects/bund-details/bund-details.component.scss @@ -0,0 +1,527 @@ +// Complete SCSS with all styles including clickable elements + +.detail-page { + padding: 28px 32px 42px; + max-width: 100%; + margin: 0 auto; +} + +.page-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 18px; + margin-bottom: 24px; +} + +.back-link { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 8px 16px; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-sm); + background: #fff; + color: var(--sg-text); + cursor: pointer; + font-size: 14px; + transition: all 0.2s; +} + +.back-link:hover { + background: #f5f7fa; + border-color: #b8c5d6; +} + +.back-link mat-icon { + width: 20px; + height: 20px; + font-size: 20px; +} + +.breadcrumb { + display: flex; + align-items: center; + gap: 6px; + color: var(--sg-text-muted); + font-size: 13px; +} + +.breadcrumb mat-icon { + width: 18px; + height: 18px; + font-size: 18px; +} + +.breadcrumb span:last-child { + color: var(--sg-text); + font-weight: 500; +} + +.project-hero { + background: #f8fafc; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-md); + padding: 28px 32px; + margin-bottom: 28px; +} + +.hero-content { + margin-bottom: 24px; +} + +.eyebrow { + display: flex; + align-items: center; + gap: 12px; + margin-bottom: 12px; + flex-wrap: wrap; +} + +.project-badge { + display: inline-block; + padding: 4px 12px; + background: #e8edf5; + color: var(--sg-text); + border-radius: var(--sg-radius-sm); + font-size: 12px; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.5px; +} + +.project-id { + color: var(--sg-text-muted); + font-size: 13px; +} + +.new-badge { + display: inline-block; + padding: 2px 10px; + background: #27ae60; + color: #fff; + border-radius: var(--sg-radius-sm); + font-size: 11px; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.5px; +} + +h1 { + margin: 0 0 8px; + font-size: 26px; + line-height: 1.3; + font-weight: 700; + color: var(--sg-text); +} + +.project-reference { + margin: 0 0 16px; + color: var(--sg-text-muted); + font-size: 14px; +} + +.hero-actions { + display: flex; + flex-wrap: wrap; + gap: 10px; +} + +.agency-info, +.funding-type-info { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 8px 16px; + background: #fff; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-sm); + color: var(--sg-text); + font-size: 14px; + cursor: pointer; + transition: all 0.2s; +} + +.agency-info:hover, +.funding-type-info:hover { + background: #f5f7fa; + border-color: #b8c5d6; +} + +.agency-info mat-icon, +.funding-type-info mat-icon { + color: var(--sg-text-muted); + width: 20px; + height: 20px; + font-size: 20px; +} + +.metrics-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 16px; + padding-top: 20px; + border-top: 1px solid #d9e2f0; +} + +.metric-item { + display: flex; + align-items: center; + gap: 12px; +} + +.metric-item mat-icon { + color: var(--sg-text-muted); + width: 24px; + height: 24px; + font-size: 24px; +} + +.metric-content { + display: flex; + flex-direction: column; +} + +.metric-content strong { + font-size: 15px; + color: var(--sg-text); + line-height: 1.3; +} + +.metric-content span { + font-size: 12px; + color: var(--sg-text-muted); +} + +.card { + margin-bottom: 24px; + border-color: #d9e2f0 !important; + border-radius: var(--sg-radius-md) !important; +} + +.card ::ng-deep .mat-mdc-card-content { + padding: 0; +} + +.section-header { + display: flex; + align-items: center; + gap: 10px; + padding: 16px 20px 12px; + border-bottom: 1px solid #f0f2f5; +} + +.section-header mat-icon { + color: var(--sg-text-muted); + width: 22px; + height: 22px; + font-size: 22px; +} + +.section-header h2 { + margin: 0; + font-size: 16px; + font-weight: 600; + color: var(--sg-text); +} + +.count-badge { + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 24px; + height: 24px; + padding: 0 8px; + margin-left: auto; + background: #e8edf5; + border-radius: 12px; + color: var(--sg-text-muted); + font-size: 12px; + font-weight: 500; +} + +.description-text { + padding: 16px 20px 20px; + margin: 0; + color: var(--sg-text); + font-size: 14px; + line-height: 1.6; +} + +.content-grid { + display: grid; + grid-template-columns: 2fr 1fr; + gap: 24px; +} + +.main-content { + display: flex; + flex-direction: column; + gap: 24px; +} + +.sidebar { + display: flex; + flex-direction: column; + gap: 24px; +} + +.person-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); + gap: 12px; + padding: 16px 20px 20px; +} + +.person-item { + display: flex; + align-items: center; + gap: 10px; + padding: 8px 12px; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-sm); + background: #fff; + cursor: pointer; + transition: all 0.2s; +} + +.person-item:hover { + background: #f8fafc; + border-color: #b8c5d6; + transform: translateY(-1px); +} + +.avatar { + display: flex; + align-items: center; + justify-content: center; + width: 32px; + height: 32px; + border-radius: 50%; + background: #e8edf5; + color: var(--sg-text); + font-size: 13px; + font-weight: 600; + flex-shrink: 0; +} + +.person-name { + font-size: 13px; + font-weight: 500; + color: var(--sg-text); +} + +.institution-grid { + display: grid; + grid-template-columns: 1fr; + gap: 8px; + padding: 16px 20px 20px; +} + +.institution-item { + display: flex; + align-items: center; + gap: 10px; + padding: 8px 12px; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-sm); + background: #fff; + font-size: 13px; + color: var(--sg-text); + cursor: pointer; + transition: all 0.2s; +} + +.institution-item:hover { + background: #f8fafc; + border-color: #b8c5d6; +} + +.institution-item mat-icon { + color: var(--sg-text-muted); + width: 20px; + height: 20px; + font-size: 20px; + flex-shrink: 0; +} + +.joint-project-content { + display: flex; + align-items: center; + gap: 12px; + padding: 16px 20px 20px; + color: var(--sg-text); + font-size: 14px; +} + +.joint-project-content mat-icon { + color: var(--sg-text-muted); + width: 24px; + height: 24px; + font-size: 24px; + flex-shrink: 0; +} + +.details-list { + margin: 0; + padding: 16px 20px 20px; +} + +.detail-row { + display: grid; + grid-template-columns: 140px 1fr; + gap: 24px; + padding: 8px 0; + border-bottom: 1px solid #f0f2f5; +} + +.detail-row:last-child { + border-bottom: none; +} + +.detail-row dt { + color: var(--sg-text-muted); + font-size: 13px; + font-weight: 500; +} + +.detail-row dd { + margin: 0; + color: var(--sg-text); + font-size: 13px; + word-break: break-word; + display: flex; + align-items: center; + gap: 6px; +} + +.detail-row dd.clickable { + cursor: pointer; + transition: color 0.2s; +} + +.detail-row dd.clickable:hover { + color: var(--sg-primary, #0066cc); +} + +.detail-row dd.clickable:hover .search-icon { + opacity: 1; +} + +.search-icon { + width: 16px; + height: 16px; + font-size: 16px; + opacity: 0; + transition: opacity 0.2s; + color: var(--sg-text-muted); +} + +.detail-row dd:hover .search-icon { + opacity: 1; +} + +.empty-state { + padding: 20px; + text-align: center; + color: var(--sg-text-muted); + font-size: 14px; +} + +.error-container { + display: flex; + align-items: center; + justify-content: center; + min-height: 400px; +} + +.error-state { + display: flex; + flex-direction: column; + align-items: center; + gap: 12px; + color: var(--sg-text-muted); +} + +.error-state mat-icon { + width: 48px; + height: 48px; + font-size: 48px; + color: #e74c3c; +} + +.error-state p { + margin: 0; + font-size: 16px; +} + +// Clickable external link styling +.external-link { + color: var(--sg-primary, #0066cc); + text-decoration: none; +} + +.external-link:hover { + text-decoration: underline; +} + +@media (max-width: 992px) { + .content-grid { + grid-template-columns: 1fr; + gap: 20px; + } +} + +@media (max-width: 768px) { + .detail-page { + padding: 16px; + } + + .page-header { + flex-direction: column; + align-items: flex-start; + gap: 12px; + } + + .project-hero { + padding: 20px; + } + + .metrics-grid { + grid-template-columns: 1fr 1fr; + gap: 12px; + } + + h1 { + font-size: 22px; + } + + .detail-row { + grid-template-columns: 1fr; + gap: 4px; + } + + .person-grid { + grid-template-columns: 1fr; + } + + .eyebrow { + gap: 8px; + } +} + +@media (max-width: 480px) { + .metrics-grid { + grid-template-columns: 1fr; + } + + .hero-actions { + flex-direction: column; + } + + .agency-info, + .funding-type-info { + width: 100%; + justify-content: center; + } +} \ No newline at end of file diff --git a/webapp/src/app/modules/person-projects/bund-details/bund-details.component.ts b/webapp/src/app/modules/person-projects/bund-details/bund-details.component.ts new file mode 100644 index 00000000..5ad9007b --- /dev/null +++ b/webapp/src/app/modules/person-projects/bund-details/bund-details.component.ts @@ -0,0 +1,163 @@ +import { Component, OnInit, inject } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { MatCardModule } from '@angular/material/card'; +import { MatIconModule } from '@angular/material/icon'; +import { BundProjectDetails } from '../../../api/model/bundProjectDetails'; +import { Router } from '@angular/router'; + +@Component({ + selector: 'app-bund-details', + standalone: true, + imports: [CommonModule, MatCardModule, MatIconModule], + templateUrl: './bund-details.component.html', + styleUrl: './bund-details.component.scss', +}) +export class BundDetailsComponent implements OnInit { + private route = inject(ActivatedRoute); + bundProject: BundProjectDetails | undefined; + + constructor(private router: Router) {} + + ngOnInit(): void { + this.route.data.subscribe(({ bundSingleProject }) => { + console.log('Bund Project:', bundSingleProject); + this.bundProject = bundSingleProject; + }); + } + + getInitials(name: string | null | undefined): string { + if (!name) return ''; + const parts = name.trim().split(/\s+/); + if (parts.length > 1) { + return (parts[0][0] + parts[parts.length - 1][0]).toUpperCase(); + } + return parts[0][0].toUpperCase(); + } + + getFundingStatus(fundingEndDate: string | null | undefined): string { + if (!fundingEndDate) return 'N/A'; + if (fundingEndDate === '2999') return 'laufend'; + const year = parseInt(fundingEndDate, 10); + if (isNaN(year)) return fundingEndDate; + return year >= new Date().getFullYear() + ? `${fundingEndDate} (laufend)` + : `${fundingEndDate} (abgeschlossen)`; + } + + formatCurrency(amount: number | null | undefined): string { + if (amount === null || amount === undefined) return 'N/A'; + + // Format as Euro with thousands separators + return new Intl.NumberFormat('de-DE', { + style: 'currency', + currency: 'EUR', + minimumFractionDigits: 0, + maximumFractionDigits: 0, + }).format(amount); + } + + searchForPersonName(personName: string): void { + this.router.navigate(['/persons'], { + queryParams: { + query: personName, + }, + }); + } + + searchForInstitutionName(institutionName: string): void { + this.router.navigate(['/institutions'], { + queryParams: { + search: institutionName, + }, + }); + } + + // searchForLocation(location: string): void { + // this.router.navigate(['/bund-projects'], { + // queryParams: { + // location: location + // } + // }); + // } + + // searchForState(state: string): void { + // this.router.navigate(['/bund-projects'], { + // queryParams: { + // state: state + // } + // }); + // } + + // searchForFundingType(fundingType: string): void { + // this.router.navigate(['/bund-projects'], { + // queryParams: { + // fundingType: fundingType + // } + // }); + // } + + // searchForAgency(agency: string): void { + // this.router.navigate(['/bund-projects'], { + // queryParams: { + // agency: agency + // } + // }); + // } + private formatGermanDate(dateString: string): string { + if (!dateString) return ''; + + return new Intl.DateTimeFormat('de-DE', { + day: 'numeric', + month: 'long', + year: 'numeric', + }).format(new Date(dateString)); + } + /** + * All associated persons as a simple list. + */ + getAssociatedPersons(): string[] { + return this.bundProject?.associated_persons || []; + } + getStartDate(): string { + return this.formatGermanDate(this.bundProject?.funding_start_date ?? ''); + } + + getEndDate(): string { + return this.formatGermanDate(this.bundProject?.funding_end_date ?? ''); + } + + getDuration(): string { + const start = this.bundProject?.funding_start_date; + const end = this.bundProject?.funding_end_date; + + if (!start || !end) return ''; + + return `von ${this.formatGermanDate(start)} bis ${this.formatGermanDate(end)}`; + } + /** + * All institutions as a simple list. + */ + getInstitutions(): string[] { + return this.bundProject?.institutions || []; + } + + /** + * Check if project is new + */ + isNewProject(): boolean { + return this.bundProject?.is_new === true; + } + + /** + * Get display name for funding amount + */ + getFundingAmountDisplay(): string { + if (!this.bundProject?.funding_amount) return 'N/A'; + return this.formatCurrency(this.bundProject.funding_amount); + } + + goBack(): void { + window.history.back(); + } +} diff --git a/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.html b/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.html new file mode 100644 index 00000000..9b351084 --- /dev/null +++ b/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.html @@ -0,0 +1,243 @@ +
+ + + @if (dfgProject) { +
+
+
+ DFG Projekt + ID: {{ dfgProject.id }} +
+

{{ dfgProject.title }}

+ @if (dfgProject.project_identifier) { +

+ {{ dfgProject.project_identifier.split('-')[0] }} +

+ } +
+ @if (dfgProject.link) { + + open_in_new + Zum Projekt + + } + @if (dfgProject.website) { + + language + Webseite + + } +
+
+ +
+
+ calendar_today +
+ {{ dfgProject.funding_start_date || 'N/A' }} + Fördersbeginn +
+
+
+ event_busy +
+ {{ getFundingStatus(dfgProject.funding_end_date) }} + Fördersende +
+
+ + @if (dfgProject.dfg_procedure) { +
+ gavel +
+ {{ dfgProject.dfg_procedure }} + DFG Verfahren +
+
+ } + + @if (dfgProject.international_reference) { +
+ public +
+ {{ dfgProject.international_reference }} + Internationaler Bezug +
+
+ } +
+
+ + @if (dfgProject.description) { + +
+ description +

Beschreibung

+
+

{{ dfgProject.description }}

+
+ } + +
+
+ + +
+ people +

Beteiligte Personen

+ {{ getAssociatedPersons().length }} +
+ @if (getAssociatedPersons().length > 0) { +
+ @for (person of getAssociatedPersons(); track person) { +
+
{{ getInitials(person) }}
+
{{ person }}
+
+ } +
+ } @else { +
Keine Personen gefunden.
+ } +
+ + + +
+ business +

Beteiligte Institutionen

+ {{ getInstitutions().length }} +
+ @if (getInstitutions().length > 0) { +
+ @for (institution of getInstitutions(); track institution) { +
+ apartment + {{ institution }} +
+ } +
+ } @else { +
Keine Institutionen gefunden.
+ } +
+ + +
+ + +
+ } @else { +
+
+ error_outline +

DFG Projekt nicht gefunden.

+
+
+ } +
diff --git a/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.scss b/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.scss new file mode 100644 index 00000000..4b2b0a8b --- /dev/null +++ b/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.scss @@ -0,0 +1,467 @@ +.detail-page { + padding: 28px 32px 42px; + max-width: 100%; + margin: 0 auto; +} + +.page-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 18px; + margin-bottom: 24px; +} + +.back-link { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 8px 16px; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-sm); + background: #fff; + color: var(--sg-text); + cursor: pointer; + font-size: 14px; + transition: all 0.2s; +} + +.back-link:hover { + background: #f5f7fa; + border-color: #b8c5d6; +} + +.back-link mat-icon { + width: 20px; + height: 20px; + font-size: 20px; +} + +.breadcrumb { + display: flex; + align-items: center; + gap: 6px; + color: var(--sg-text-muted); + font-size: 13px; +} + +.breadcrumb mat-icon { + width: 18px; + height: 18px; + font-size: 18px; +} + +.breadcrumb span:last-child { + color: var(--sg-text); + font-weight: 500; +} + +.project-hero { + background: #f8fafc; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-md); + padding: 28px 32px; + margin-bottom: 28px; +} + +.hero-content { + margin-bottom: 24px; +} + +.eyebrow { + display: flex; + align-items: center; + gap: 12px; + margin-bottom: 12px; +} + +.project-badge { + display: inline-block; + padding: 4px 12px; + background: #e8edf5; + color: var(--sg-text); + border-radius: var(--sg-radius-sm); + font-size: 12px; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.5px; +} + +.project-id { + color: var(--sg-text-muted); + font-size: 13px; +} + +h1 { + margin: 0 0 8px; + font-size: 26px; + line-height: 1.3; + font-weight: 700; + color: var(--sg-text); +} + +.project-identifier { + margin: 0 0 16px; + color: var(--sg-text-muted); + font-size: 14px; +} + +.hero-actions { + display: flex; + flex-wrap: wrap; + gap: 10px; +} + +.primary-action, +.secondary-action { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 10px 20px; + border-radius: var(--sg-radius-sm); + text-decoration: none; + font-size: 14px; + font-weight: 500; + transition: all 0.2s; +} + +.primary-action { + background: var(--sg-primary, #0066cc); + color: #fff; + border: none; +} + +.primary-action:hover { + background: var(--sg-primary-dark, #0052a3); +} + +.secondary-action { + background: #fff; + color: var(--sg-text); + border: 1px solid #d9e2f0; +} + +.secondary-action:hover { + background: #f5f7fa; + border-color: #b8c5d6; +} + +.primary-action mat-icon, +.secondary-action mat-icon { + width: 20px; + height: 20px; + font-size: 20px; +} + +.metrics-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 16px; + padding-top: 20px; + border-top: 1px solid #d9e2f0; +} + +.metric-item { + display: flex; + align-items: center; + gap: 12px; +} + +.metric-item mat-icon { + color: var(--sg-text-muted); + width: 24px; + height: 24px; + font-size: 24px; +} + +.metric-content { + display: flex; + flex-direction: column; +} + +.metric-content strong { + font-size: 15px; + color: var(--sg-text); + line-height: 1.3; +} + +.metric-content span { + font-size: 12px; + color: var(--sg-text-muted); +} + +.card { + margin-bottom: 24px; + border-color: #d9e2f0 !important; + border-radius: var(--sg-radius-md) !important; +} + +.card ::ng-deep .mat-mdc-card-content { + padding: 0; +} + +.section-header { + display: flex; + align-items: center; + gap: 10px; + padding: 16px 20px 12px; + border-bottom: 1px solid #f0f2f5; +} + +.section-header mat-icon { + color: var(--sg-text-muted); + width: 22px; + height: 22px; + font-size: 22px; +} + +.section-header h2 { + margin: 0; + font-size: 16px; + font-weight: 600; + color: var(--sg-text); +} + +.count-badge { + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 24px; + height: 24px; + padding: 0 8px; + margin-left: auto; + background: #e8edf5; + border-radius: 12px; + color: var(--sg-text-muted); + font-size: 12px; + font-weight: 500; +} + +.description-text { + padding: 16px 20px 20px; + margin: 0; + color: var(--sg-text); + font-size: 14px; + line-height: 1.6; +} + +.content-grid { + display: grid; + grid-template-columns: 2fr 1fr; + gap: 24px; +} + +.main-content { + display: flex; + flex-direction: column; + gap: 24px; +} + +.sidebar { + display: flex; + flex-direction: column; + gap: 24px; +} + +.person-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); + gap: 12px; + padding: 16px 20px 20px; +} + +.person-item { + display: flex; + align-items: center; + gap: 10px; + padding: 8px 12px; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-sm); + background: #fff; + transition: all 0.2s; +} + +.person-item:hover { + cursor:pointer; + background: #f8fafc; + border-color: #b8c5d6; +} + +.avatar { + display: flex; + align-items: center; + justify-content: center; + width: 32px; + height: 32px; + border-radius: 50%; + background: #e8edf5; + color: var(--sg-text); + font-size: 13px; + font-weight: 600; + flex-shrink: 0; +} + +.person-name { + cursor:pointer; + font-size: 13px; + font-weight: 500; + color: var(--sg-text); +} + +.institution-grid { + cursor:pointer; + display: grid; + grid-template-columns: 1fr; + gap: 8px; + padding: 16px 20px 20px; +} + +.institution-item { + display: flex; + align-items: center; + gap: 10px; + padding: 8px 12px; + border: 1px solid #d9e2f0; + border-radius: var(--sg-radius-sm); + background: #fff; + font-size: 13px; + color: var(--sg-text); +} + +.institution-item mat-icon { + color: var(--sg-text-muted); + width: 20px; + height: 20px; + font-size: 20px; + flex-shrink: 0; +} + +.details-list { + margin: 0; + padding: 16px 20px 20px; +} + +.detail-row { + display: grid; + grid-template-columns: 140px 1fr; + gap: 12px; + padding: 8px 0; + border-bottom: 1px solid #f0f2f5; +} + +.detail-row:last-child { + border-bottom: none; +} + +.detail-row dt { + color: var(--sg-text-muted); + font-size: 13px; + font-weight: 500; +} + +.detail-row dd { + margin: 0; + color: var(--sg-text); + font-size: 13px; + word-break: break-word; +} + +.external-link { + color: var(--sg-primary, #0066cc); + text-decoration: none; +} + +.external-link:hover { + text-decoration: underline; +} + +.empty-state { + padding: 20px; + text-align: center; + color: var(--sg-text-muted); + font-size: 14px; +} + +.error-container { + display: flex; + align-items: center; + justify-content: center; + min-height: 400px; +} + +.error-state { + display: flex; + flex-direction: column; + align-items: center; + gap: 12px; + color: var(--sg-text-muted); +} + +.error-state mat-icon { + width: 48px; + height: 48px; + font-size: 48px; + color: #e74c3c; +} + +.error-state p { + margin: 0; + font-size: 16px; +} + +@media (max-width: 992px) { + .content-grid { + grid-template-columns: 1fr; + gap: 20px; + } +} + +@media (max-width: 768px) { + .detail-page { + padding: 16px; + } + + .page-header { + flex-direction: column; + align-items: flex-start; + gap: 12px; + } + + .project-hero { + padding: 20px; + } + + .metrics-grid { + grid-template-columns: 1fr 1fr; + gap: 12px; + } + + h1 { + font-size: 22px; + } + + .detail-row { + grid-template-columns: 1fr; + gap: 4px; + } + + .person-grid { + grid-template-columns: 1fr; + } +} + +@media (max-width: 480px) { + .metrics-grid { + grid-template-columns: 1fr; + } + + .hero-actions { + flex-direction: column; + } + + .primary-action, + .secondary-action { + width: 100%; + justify-content: center; + } +} \ No newline at end of file diff --git a/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.ts b/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.ts new file mode 100644 index 00000000..95e6d644 --- /dev/null +++ b/webapp/src/app/modules/person-projects/dfg-details/dfg-details.component.ts @@ -0,0 +1,77 @@ +import { Component, OnInit, inject } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { CommonModule } from '@angular/common'; +import { MatCardModule } from '@angular/material/card'; +import { MatIconModule } from '@angular/material/icon'; +import { DfgProjectDetails } from '../../../api'; +import { Router } from '@angular/router'; +@Component({ + selector: 'app-dfg-details', + standalone: true, + imports: [CommonModule, MatCardModule, MatIconModule], + templateUrl: './dfg-details.component.html', + styleUrl: './dfg-details.component.scss', +}) +export class DfgDetailsComponent implements OnInit { + private route = inject(ActivatedRoute); + dfgProject: DfgProjectDetails | undefined; + + constructor (private router:Router){} + + ngOnInit(): void { + this.route.data.subscribe(({ dfgSingleProject }) => { + console.log('DFG Project:', dfgSingleProject); + this.dfgProject = dfgSingleProject; + }); + } + + getInitials(name: string | null | undefined): string { + if (!name) return ''; + const parts = name.trim().split(/\s+/); + if (parts.length > 1) { + return (parts[0][0] + parts[parts.length - 1][0]).toUpperCase(); + } + return parts[0][0].toUpperCase(); + } + + getFundingStatus(fundingEndDate: string | null | undefined): string { + if (!fundingEndDate) return 'N/A'; + if (fundingEndDate === '2999') return 'laufend'; + const year = parseInt(fundingEndDate, 10); + if (isNaN(year)) return fundingEndDate; + return year >= new Date().getFullYear() + ? `${fundingEndDate} (laufend)` + : `${fundingEndDate} (abgeschlossen)`; + } + searchForPersonName(personName: string): void { + this.router.navigate(['/persons'], { + queryParams: { + query: personName + } + }); + } + searchForInstitutionName(institutionName: string): void { + this.router.navigate(['/institutions'], { + queryParams: { + search: institutionName + } + }); + } + /** + * All associated persons as a simple list (no role grouping). + */ + getAssociatedPersons(): string[] { + return this.dfgProject?.associated_persons || []; + } + + /** + * All institutions as a simple list. + */ + getInstitutions(): string[] { + return this.dfgProject?.institutions || []; + } + + goBack(): void { + window.history.back(); + } +} diff --git a/webapp/src/app/modules/person-projects/person-projects.component.html b/webapp/src/app/modules/person-projects/person-projects.component.html index b1f8bb43..90e01edf 100644 --- a/webapp/src/app/modules/person-projects/person-projects.component.html +++ b/webapp/src/app/modules/person-projects/person-projects.component.html @@ -39,7 +39,11 @@
- + open_in_new diff --git a/webapp/src/app/modules/person-projects/person-projects.component.ts b/webapp/src/app/modules/person-projects/person-projects.component.ts index 660576e3..6374de4f 100644 --- a/webapp/src/app/modules/person-projects/person-projects.component.ts +++ b/webapp/src/app/modules/person-projects/person-projects.component.ts @@ -20,7 +20,7 @@ import { MatTabsModule } from '@angular/material/tabs'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; import { DebounceDirective } from '../../directives/debounce.directive'; -import { ActivatedRoute, Router } from '@angular/router'; +import { ActivatedRoute, Router, RouterModule } from '@angular/router'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { MatPaginatorModule, PageEvent } from '@angular/material/paginator'; import { Sort, SortDirection } from '@angular/material/sort'; @@ -37,6 +37,7 @@ import { Sort, SortDirection } from '@angular/material/sort'; MatInputModule, DebounceDirective, MatPaginatorModule, + RouterModule, ], templateUrl: './person-projects.component.html', styleUrl: './person-projects.component.scss', diff --git a/webapp/src/app/modules/person/person.component.ts b/webapp/src/app/modules/person/person.component.ts index 724e9882..a74be3fe 100644 --- a/webapp/src/app/modules/person/person.component.ts +++ b/webapp/src/app/modules/person/person.component.ts @@ -184,8 +184,9 @@ export class PersonComponent { }, { label: 'Publikationen', path: 'publications', disabled: false }, { label: 'Netzwerk', path: 'network', disabled: false }, - { label: 'Gründungen', path: 'foundings', disabled: true }, + { label: 'Unternehmen', path: 'company-connections', disabled: false }, { label: 'Förderungen', path: 'funding', disabled: false }, + { label: 'Patente', path: 'patents', disabled: false }, ]; onInterestingTagClick(selection: { id: string; name: string }): void { diff --git a/webapp/src/app/modules/projects/projects.component.html b/webapp/src/app/modules/projects/projects.component.html new file mode 100644 index 00000000..8d2a3884 --- /dev/null +++ b/webapp/src/app/modules/projects/projects.component.html @@ -0,0 +1,112 @@ +
+

Passende Projekte finden

+ + + +
+ + Suche nach Namen + + search + + + +
+ + EU + BUND + DFG + + +
+ + + +
+
+
+ + + + @let fundingProjectPageValue = fundingProjectPage(); + + @if ( + fundingProjectPageValue.elements && + fundingProjectPageValue.elements.length > 0 + ) { +
+ @for (fundingProject of fundingProjectPageValue.elements; track $index) { + + + {{ fundingProject.title }} + {{ + fundingProject.type | uppercase + }} + + + + + + + + + + + + info + Übersicht + + + + + } +
+ } @else { +
+

Keine passenden Projekte gefunden.

+
+ } + + + + + +
diff --git a/webapp/src/app/modules/projects/projects.component.scss b/webapp/src/app/modules/projects/projects.component.scss new file mode 100644 index 00000000..e3d0edc0 --- /dev/null +++ b/webapp/src/app/modules/projects/projects.component.scss @@ -0,0 +1,99 @@ +.content { + display: flex; + flex-direction: column; + gap: 1rem; + padding: 1rem; +} + +.sorting { + display: flex; + justify-content: flex-end; + gap: 0.5rem; +} + +.sorting select { + padding: 0.75rem; + border: 1px solid var(--sg-border); + border-radius: var(--sg-radius-sm); + font-size: 1rem; +} + +.sorting select:hover { + cursor: pointer; +} + +.cards { + display: grid; + gap: 1.5rem; + grid-template-columns: repeat(4, 1fr); + padding: 0 1rem; +} + +@media (max-width: 900px) { + .cards { + grid-template-columns: repeat(2, 1fr); + } +} + +@media (max-width: 600px) { + .cards { + grid-template-columns: 1fr; + } +} + +mat-paginator { + background-color: var(--sg-background); +} + +.card { + padding: 0.5rem; + background-color: var(--sg-background); + transition: transform 0.3s ease; + display: flex; + flex-direction: column; + gap: 0.5rem; +} + +.card:hover { + cursor: pointer; + transform: scale(1.05); +} + +.card-content { + display: flex; + flex-direction: column; + justify-content: flex-end; + gap: 0.5rem; + flex: 1; +} + +.card-metadata { + display: flex; + flex-direction: column; + gap: 0.2rem; + font-size: 0.9rem; + color: var(--sg-text-secondary); +} + +mat-card-actions { + padding-top: 0.5rem; + display: flex; + gap: 0.5rem; +} + +mat-card-actions a { + width: 100%; + text-decoration: none; + border: 1px solid var(--sg-border); + border-radius: var(--sg-radius-sm); +} + +.no-results { + text-align: center; + padding: 2rem; + color: var(--sg-text-secondary); +} + +.mat-mdc-standard-chip { + border-radius: var(--sg-radius-sm); +} diff --git a/webapp/src/app/modules/projects/projects.component.ts b/webapp/src/app/modules/projects/projects.component.ts new file mode 100644 index 00000000..3e68025a --- /dev/null +++ b/webapp/src/app/modules/projects/projects.component.ts @@ -0,0 +1,128 @@ +import { Component, effect, input, signal } from '@angular/core'; +import { FundingProject, FundingProjectPage, ProjectType } from '../../api'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { DebounceDirective } from '../../directives/debounce.directive'; +import { MatIconModule } from '@angular/material/icon'; +import { MatCardModule } from '@angular/material/card'; +import { ActivatedRoute, Router, RouterModule } from '@angular/router'; +import { MatPaginator, PageEvent } from '@angular/material/paginator'; +import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; +import { MatInputModule } from '@angular/material/input'; +import { MatButtonModule } from '@angular/material/button'; +import { DatePipe, UpperCasePipe } from '@angular/common'; +import { MatChipListboxChange, MatChipsModule } from '@angular/material/chips'; + +@Component({ + selector: 'app-projects', + imports: [ + MatDividerModule, + MatFormFieldModule, + DebounceDirective, + MatIconModule, + MatCardModule, + RouterModule, + MatPaginator, + MatInputModule, + MatButtonModule, + UpperCasePipe, + DatePipe, + MatChipsModule, + ], + templateUrl: './projects.component.html', + styleUrl: './projects.component.scss', +}) +export class ProjectsComponent { + fundingProjectPage = input.required(); + + urlSearchTerm = signal(''); + urlSortBy = signal('relevance'); + urlSortingOrder = signal('desc'); + urlChips = signal(['eu', 'bund', 'dfg']); + + constructor( + private readonly activatedRoute: ActivatedRoute, + private readonly router: Router, + ) { + this.activatedRoute.queryParams + .pipe(takeUntilDestroyed()) + .subscribe((params) => { + this.urlSearchTerm.set(params['search'] || ''); + this.urlSortBy.set(params['sort_by'] || 'relevance'); + this.urlSortingOrder.set(params['sorting_order'] || 'desc'); + this.urlChips.set( + (params['selected_project_types'] || 'eu,bund,dfg').split(','), + ); + }); + + effect(() => { + const searchTerm = this.urlSearchTerm(); + this.router.navigate([], { + queryParams: { search: searchTerm }, + queryParamsHandling: 'merge', + }); + }); + } + + handleSearchTermChange(newTerm: string): void { + this.router.navigate([], { + queryParams: { search: newTerm }, + queryParamsHandling: 'merge', + }); + } + + clearSearchTerm(): void { + this.router.navigate([], { + queryParams: { search: null }, + queryParamsHandling: 'merge', + }); + } + + handlePageChange(event: PageEvent): void { + this.router.navigate([], { + queryParams: { page: event.pageIndex, size: event.pageSize }, + queryParamsHandling: 'merge', + }); + } + + handleSortFieldChange(event: Event): void { + const selectElement = event.target as HTMLSelectElement; + const sortField = selectElement.value; + this.router.navigate([], { + queryParams: { sort_by: sortField }, + queryParamsHandling: 'merge', + }); + } + + handleSortOrderChange(event: Event): void { + const selectElement = event.target as HTMLSelectElement; + const sortOrder = selectElement.value; + this.router.navigate([], { + queryParams: { sorting_order: sortOrder }, + queryParamsHandling: 'merge', + }); + } + + handleChipBoxChange(change: MatChipListboxChange): void { + const selectedValues = change.value as string[]; + + this.router.navigate([], { + queryParams: { + selected_project_types: selectedValues.length + ? selectedValues.join(',') + : null, + }, + queryParamsHandling: 'merge', + }); + } + + getDetaiLink(fundingProject: FundingProject): string | null { + if (fundingProject.type === 'bund') { + return '/projects/bund/' + fundingProject.id; + } else if (fundingProject.type === 'dfg') { + return '/projects/dfg/' + fundingProject.id; + } else { + return null; + } + } +} diff --git a/webapp/src/app/modules/university-ranking/services/uni-ranking-service.ts b/webapp/src/app/modules/university-ranking/services/uni-ranking-service.ts new file mode 100644 index 00000000..f1508357 --- /dev/null +++ b/webapp/src/app/modules/university-ranking/services/uni-ranking-service.ts @@ -0,0 +1,20 @@ +// src/app/modules/university-ranking/services/university-data.service.ts +import { inject, Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { InstitutionsService, RankingResponse } from '../../../api'; +export type ResearchTopic = 'Artificial Intelligence' | 'Quantum Computing' | 'Renewable Energy' | 'Biotechnology'; +export type DashboardMetric = 'publications' | 'citations'; + + +@Injectable({ providedIn: 'root' }) +export class UniversityRankingService { + private apiService = inject(InstitutionsService); + + /** + * Fetches ranking and timeseries data directly from the backend. + * Calculations for growth and trends are now handled server-side. + */ + getRankingData(topic: ResearchTopic, metric: DashboardMetric): Observable { + return this.apiService.getRankingsApiInseServiceUniversityRankingsGet(topic, metric); + } +} diff --git a/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.html b/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.html new file mode 100644 index 00000000..5694b596 --- /dev/null +++ b/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.html @@ -0,0 +1,6 @@ +
+
\ No newline at end of file diff --git a/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.scss b/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.scss new file mode 100644 index 00000000..a4a1e7f5 --- /dev/null +++ b/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.scss @@ -0,0 +1 @@ +.chart-container { height: 500px; width: 100%; } \ No newline at end of file diff --git a/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.ts b/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.ts new file mode 100644 index 00000000..5cbc4702 --- /dev/null +++ b/webapp/src/app/modules/university-ranking/uni-line-chart/uni-line-chart.component.ts @@ -0,0 +1,57 @@ +// src/app/modules/university-ranking/components/line-chart/university-line-chart.component.ts +import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; +import { EChartsOption } from 'echarts'; +import { NgxEchartsDirective} from 'ngx-echarts'; +import { UniversityTopicData, YearlyData } from '../../../api'; +export type ResearchTopic = 'Artificial Intelligence' | 'Quantum Computing' | 'Renewable Energy' | 'Biotechnology'; +export type DashboardMetric = 'publications' | 'citations'; + +@Component({ + selector: 'app-university-line-chart', + templateUrl: './uni-line-chart.component.html', + styleUrl: './uni-line-chart.component.scss', + imports: [NgxEchartsDirective], + standalone: true, + +}) +export class UniversityLineChartComponent implements OnChanges { + @Input() data: UniversityTopicData[] = []; + @Input() metric: DashboardMetric = 'publications'; + + chartOption: EChartsOption = { + title: { text: 'Research Output Over Time', left: 'center', textStyle: { fontWeight: 'lighter' } }, + tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, + legend: { bottom: 0 }, + grid: { left: '3%', right: '4%', bottom: '15%', containLabel: true }, + xAxis: { type: 'category', boundaryGap: false, data: [] }, + yAxis: { type: 'value', name: 'Volume' }, + dataZoom: [{ type: 'slider', show: true, bottom: 40 }], + series: [] + }; + + mergeOption: EChartsOption = {}; + + ngOnChanges(changes: SimpleChanges): void { + if (this.data.length > 0) { + this.updateChart(); + console.log("CHANGES!") + } + } + + private updateChart() { + const years = this.data[0].yearly_data.map(d => d.year); + const series = this.data.map(uni => ({ + name: uni.university, + type: 'line', + smooth: true, + emphasis: { focus: 'series' }, + animationDuration: 2000, + data: uni.yearly_data.map(d => d[this.metric]) + })); + + this.mergeOption = { + xAxis: { data: years.map(String) }, + series: series as any + }; + } +} diff --git a/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.html b/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.html new file mode 100644 index 00000000..09367497 --- /dev/null +++ b/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.html @@ -0,0 +1,42 @@ +
+

Topic Rankings

+ @if (loading) { +
Loading rankings...
+ } @else{ + + + + + + + + + + + + @for (row of rankings; track $index) { + + + + + + + + } + +
RankUniversityLatest5Y GrowthTrend
#{{ row.rank }} + {{ row.university }} + @if (row.is_top_mover) { + 🔥 + } + {{ row.publications | number }} + {{ row.growth_rate | number: '1.0-1' }}% + + {{ getTrendIcon(row.trend) }} +
+ } +
diff --git a/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.scss b/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.ts b/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.ts new file mode 100644 index 00000000..a07832eb --- /dev/null +++ b/webapp/src/app/modules/university-ranking/uni-ranking-table/uni-ranking-table.component.ts @@ -0,0 +1,22 @@ +// src/app/modules/university-ranking/components/ranking-table/university-ranking-table.component.ts +import { Component, Input } from '@angular/core'; +import { UniversityRanking } from '../../../api'; +import { DecimalPipe } from '@angular/common'; + +@Component({ + selector: 'app-university-ranking-table', + templateUrl: './uni-ranking-table.component.html', + styleUrls: ['./uni-ranking-table.component.scss'], + imports:[DecimalPipe], + +}) +export class UniversityRankingTableComponent { + @Input() rankings: UniversityRanking[] = []; + @Input() loading: boolean = false; + + getTrendIcon(trend: string): string { + if (trend === 'up') return '↑'; + if (trend === 'down') return '↓'; + return '→'; + } +} diff --git a/webapp/src/app/resolvers/bund-project-page.resolver.ts b/webapp/src/app/resolvers/bund-project-page.resolver.ts new file mode 100644 index 00000000..57657d8c --- /dev/null +++ b/webapp/src/app/resolvers/bund-project-page.resolver.ts @@ -0,0 +1,38 @@ +import { ResolveFn } from '@angular/router'; +import { + BundProjectPage, + ProjectsService, + ProjectsSortBy, + SortDirection, +} from '../api'; +import { inject } from '@angular/core'; + +export const bundProjectPageResolver: ResolveFn = ( + route, + state, +) => { + console.log('bundProjectPageResolver called with route:', route); + const page = route.queryParamMap.get('page') ?? '0'; + const size = route.queryParamMap.get('size') ?? '10'; + let institutionId = route.paramMap.get('institutionId'); + if (!institutionId) { + institutionId = route.parent?.paramMap.get('institutionId') ?? null; + } + + const sortBy = (route.queryParamMap.get('sort_by') ?? + 'title') as ProjectsSortBy; + const sortDirection = (route.queryParamMap.get('sort_direction') ?? + 'asc') as SortDirection; + + const search = route.queryParamMap.get('search'); + + return inject(ProjectsService).searchBundProjects({ + project_type: 'bund', + page: Number(page), + size: Number(size), + raw_oa_institution_id: institutionId, + query: search, + sort_by: sortBy, + sort_direction: sortDirection, + }); +}; diff --git a/webapp/src/app/resolvers/bund-projects-funding.resolver.ts b/webapp/src/app/resolvers/bund-projects-funding.resolver.ts new file mode 100644 index 00000000..27f188c5 --- /dev/null +++ b/webapp/src/app/resolvers/bund-projects-funding.resolver.ts @@ -0,0 +1,15 @@ +import { ResolveFn } from '@angular/router'; +import { InstitutionFunderSummary, ProjectsService } from '../api'; +import { inject } from '@angular/core'; + +export const bundProjectsFundingResolver: ResolveFn< + InstitutionFunderSummary +> = (route, state) => { + let institutionId = route.parent?.paramMap.get('institutionId') ?? null; + if (!institutionId) { + institutionId = route.parent?.paramMap.get('institutionId') ?? null; + } + return inject(ProjectsService).getInstitutionBundProjectsFundingOverTime( + institutionId!, + ); +}; diff --git a/webapp/src/app/resolvers/bund-projects.resolver.ts b/webapp/src/app/resolvers/bund-projects.resolver.ts deleted file mode 100644 index 88025139..00000000 --- a/webapp/src/app/resolvers/bund-projects.resolver.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { ResolveFn } from '@angular/router'; -import { BundProjectPage, ProjectsService } from '../api'; -import { inject } from '@angular/core'; - -export const bundProjectsResolver: ResolveFn = ( - route, - state, -) => { - console.log('bundProjectsResolver called with route:', route); - const page = route.queryParamMap.get('page') ?? '1'; - const size = route.queryParamMap.get('size') ?? '10'; - let institutionId = route.paramMap.get('institutionId'); - if (!institutionId) { - institutionId = route.parent?.paramMap.get('institutionId') ?? null; - } - - const sortBy = route.queryParamMap.get('sort_by') ?? 'topic'; - const sortDirection = route.queryParamMap.get('sort_direction') ?? 'asc'; - - const search = route.queryParamMap.get('search'); - - return inject(ProjectsService).getBundProjects( - institutionId || '', - search || undefined, - Number(page), - Number(size), - sortBy, - sortDirection, - ); -}; diff --git a/webapp/src/app/resolvers/bund-single-project-resolver.ts b/webapp/src/app/resolvers/bund-single-project-resolver.ts new file mode 100644 index 00000000..db90f7a8 --- /dev/null +++ b/webapp/src/app/resolvers/bund-single-project-resolver.ts @@ -0,0 +1,16 @@ +import { inject } from '@angular/core'; +import { ResolveFn } from '@angular/router'; +import { ProjectsService } from '../api/api/projects.service'; +import { BundProjectDetails } from '../api/model/bundProjectDetails'; + +export const bundSingleProjectResolver: ResolveFn = ( + route, + state, +) => { + const projectsService = inject(ProjectsService); + const projectId = route.paramMap.get('id'); + if (!projectId) { + throw new Error('BUND Project ID is required'); + } + return projectsService.getSingleBundProject(projectId); +}; \ No newline at end of file diff --git a/webapp/src/app/resolvers/cordis-eu-project-page.resolver.ts b/webapp/src/app/resolvers/cordis-eu-project-page.resolver.ts new file mode 100644 index 00000000..791a0423 --- /dev/null +++ b/webapp/src/app/resolvers/cordis-eu-project-page.resolver.ts @@ -0,0 +1,29 @@ +import { ResolveFn } from '@angular/router'; +import { CordisEuProjectPage, ProjectsService } from '../api'; +import { inject } from '@angular/core'; + +export const cordisEuProjectPageResolver: ResolveFn = ( + route, + state, +) => { + const page = route.queryParamMap.get('page') ?? '1'; + const size = route.queryParamMap.get('size') ?? '10'; + let institutionId = route.paramMap.get('institutionId'); + if (!institutionId) { + institutionId = route.parent?.paramMap.get('institutionId') ?? null; + } + + const sortBy = route.queryParamMap.get('sort_by') ?? 'title'; + const sortDirection = route.queryParamMap.get('sort_direction') ?? 'asc'; + const search = route.queryParamMap.get('search'); + + return inject(ProjectsService).searchCordisEuProjects({ + project_type: 'eu', + page: Number(page), + size: Number(size), + raw_oa_institution_id: institutionId, + query: search, + sort_by: sortBy as 'title' | 'funding_start' | 'funding_end', + sort_direction: sortDirection as 'asc' | 'desc', + }); +}; diff --git a/webapp/src/app/resolvers/cordis-eu-projects-funding.resolver.ts b/webapp/src/app/resolvers/cordis-eu-projects-funding.resolver.ts new file mode 100644 index 00000000..4b1e5385 --- /dev/null +++ b/webapp/src/app/resolvers/cordis-eu-projects-funding.resolver.ts @@ -0,0 +1,17 @@ +import { ResolveFn } from '@angular/router'; +import { InstitutionFunderSummary, ProjectsService } from '../api'; +import { inject } from '@angular/core'; + +export const cordisEuProjectsFundingResolver: ResolveFn< + InstitutionFunderSummary +> = (route, state) => { + let institutionId = route.parent?.paramMap.get('institutionId') ?? null; + if (!institutionId) { + throw new Error( + 'Institution ID is required to resolve Cordis EU projects funding', + ); + } + return inject(ProjectsService).getInstitutionCordisEuProjectsFundingOverTime( + institutionId, + ); +}; diff --git a/webapp/src/app/resolvers/dfg-single-project-resolver.ts b/webapp/src/app/resolvers/dfg-single-project-resolver.ts new file mode 100644 index 00000000..b06a3d67 --- /dev/null +++ b/webapp/src/app/resolvers/dfg-single-project-resolver.ts @@ -0,0 +1,16 @@ +import { inject } from '@angular/core'; +import { ResolveFn } from '@angular/router'; +import { ProjectsService } from '../api/api/projects.service'; +import { DfgProjectDetails } from '../api'; + +export const dfgSingleProjectResolver: ResolveFn = ( + route, + state, +) => { + const projectsService = inject(ProjectsService); + const projectId = route.paramMap.get('id'); + if (!projectId) { + throw new Error('DFG Project ID is required'); + } + return projectsService.getSingleDfgProject(projectId); +}; \ No newline at end of file diff --git a/webapp/src/app/resolvers/eu-projects.resolver.ts b/webapp/src/app/resolvers/eu-projects.resolver.ts deleted file mode 100644 index 5ca019aa..00000000 --- a/webapp/src/app/resolvers/eu-projects.resolver.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ResolveFn } from '@angular/router'; -import { EuProjectPage, ProjectsService } from '../api'; -import { inject } from '@angular/core'; - -export const euProjectsResolver: ResolveFn = (route, state) => { - const page = route.queryParamMap.get('page') ?? '1'; - const size = route.queryParamMap.get('size') ?? '10'; - let institutionId = route.paramMap.get('institutionId'); - if (!institutionId) { - institutionId = route.parent?.paramMap.get('institutionId') ?? null; - } - - const sortBy = route.queryParamMap.get('sort_by') ?? 'topic'; - const sortDirection = route.queryParamMap.get('sort_direction') ?? 'asc'; - const search = route.queryParamMap.get('search'); - - return inject(ProjectsService).getEuProjects( - institutionId || '', - search || undefined, - Number(page), - Number(size), - sortBy, - sortDirection, - ); -}; diff --git a/webapp/src/app/resolvers/funding-project-page.resolver.ts b/webapp/src/app/resolvers/funding-project-page.resolver.ts new file mode 100644 index 00000000..496e7958 --- /dev/null +++ b/webapp/src/app/resolvers/funding-project-page.resolver.ts @@ -0,0 +1,37 @@ +import { ResolveFn } from '@angular/router'; +import { + FundingProjectPage, + ProjectsService, + ProjectsSortBy, + ProjectType, + SortDirection, +} from '../api'; +import { inject } from '@angular/core'; + +export const fundingProjectPageResolver: ResolveFn = ( + route, + state, +) => { + const page = Number(route.queryParamMap.get('page') || '0'); + const size = Number(route.queryParamMap.get('size') || '10'); + const sortBy = (route.queryParamMap.get('sort_by') ?? + 'title') as ProjectsSortBy; + const sortOrder = (route.queryParamMap.get('sorting_order') ?? + 'asc') as SortDirection; + const title = route.queryParamMap.get('search') ?? undefined; + const selectedProjectTypes = route.queryParamMap.get('selected_project_types') + ? new Set( + route.queryParamMap + .get('selected_project_types')! + .split(',') as ProjectType[], + ) + : undefined; + return inject(ProjectsService).searchProjects( + page, + size, + selectedProjectTypes, + title, + sortBy, + sortOrder, + ); +}; diff --git a/webapp/src/app/resolvers/institutions.resolver.ts b/webapp/src/app/resolvers/institutions.resolver.ts new file mode 100644 index 00000000..a0657fab --- /dev/null +++ b/webapp/src/app/resolvers/institutions.resolver.ts @@ -0,0 +1,29 @@ +import { inject } from '@angular/core'; +import { ResolveFn } from '@angular/router'; +import { InstitutionPage, InstitutionsService } from '../api'; + +export const institutionsResolver: ResolveFn = ( + route, + state, +) => { + const queryParamMap = route.queryParamMap; + const query = queryParamMap.get('search') ?? ''; + const page = Number(queryParamMap.get('page') ?? '0'); + const pageSize = Number(queryParamMap.get('size') ?? '10'); + const sortBy = (queryParamMap.get('sort_by') ?? 'works_count') as + | 'relevance' + | 'name' + | 'works_count' + | 'citations_count'; + const sortOrder = (queryParamMap.get('sorting_order') ?? 'desc') as + | 'asc' + | 'desc'; + + return inject(InstitutionsService).searchInstitutionsByName( + query, + page, + pageSize, + sortBy, + sortOrder, + ); +}; diff --git a/webapp/src/app/resolvers/person.resolver.ts b/webapp/src/app/resolvers/person.resolver.ts index a20198f2..aadfdf0d 100644 --- a/webapp/src/app/resolvers/person.resolver.ts +++ b/webapp/src/app/resolvers/person.resolver.ts @@ -6,11 +6,7 @@ export const personResolver: ResolveFn = ( route, state, ) => { - const parseQueryParamArray = (val: any): string[] => { - if (!val) return []; - if (Array.isArray(val)) return val; - return [val]; - }; + const PERSON_INCLUDE_TAGS = 'topics_full,topic_share,summary_stats,ids,last_known_institutions,' + 'sources,counts_by_year,works_api_url,dates,cited_by_count_boost'; diff --git a/webapp/src/app/shared/interceptors/authentication.interceptor.ts b/webapp/src/app/shared/interceptors/authentication.interceptor.ts index 788ed84a..ac649afd 100644 --- a/webapp/src/app/shared/interceptors/authentication.interceptor.ts +++ b/webapp/src/app/shared/interceptors/authentication.interceptor.ts @@ -5,8 +5,11 @@ import { switchMap, throwError } from 'rxjs'; export const authenticationInterceptor: HttpInterceptorFn = (req, next) => { if ( - req.method == 'POST' && - (req.url.endsWith('/auth/id') || req.url.endsWith('/auth/access')) + (req.method == 'POST' && + (req.url.endsWith('/auth/id') || + req.url.endsWith('/auth/access') || + req.url.endsWith('/inse-account/create'))) || + req.url.endsWith('/institutions/autocomplete') ) { return next(req); } else { diff --git a/webapp/src/app/shared/services/credential.service.ts b/webapp/src/app/shared/services/credential.service.ts index 13bf6ad5..a6963764 100644 --- a/webapp/src/app/shared/services/credential.service.ts +++ b/webapp/src/app/shared/services/credential.service.ts @@ -1,14 +1,19 @@ -import { Injectable } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; -//import { BehaviorSubject, Observable, takeWhile } from 'rxjs'; +import { Injectable, inject } from '@angular/core'; import { filter, take, map } from 'rxjs/operators'; //TODO: review by arman import { Observable, of } from 'rxjs'; // review import { BehaviorSubject } from 'rxjs'; //review +import { + INSEAccountServiceService, + IdentityGrant as ApiIdentityGrant, + AccessGrant as ApiAccessGrant, +} from '../../api'; export interface AuthAccount { i: number; l: string; o: number; + e: string; + on: string; } export interface AuthScope { @@ -47,6 +52,8 @@ interface TimedAccessGrant { providedIn: 'root', }) export class CredentialService { + private accountService = inject(INSEAccountServiceService); + private static readonly KEY_GRANT = 'grant'; public readonly validating = new BehaviorSubject(false); @@ -57,6 +64,8 @@ export class CredentialService { undefined, ); public readonly login = new BehaviorSubject(''); + public readonly email = new BehaviorSubject(''); + public readonly organizationName = new BehaviorSubject(''); private readonly identityToken = new BehaviorSubject< TimedIdentityGrant | undefined @@ -67,17 +76,21 @@ export class CredentialService { private request = 0; - constructor(private http: HttpClient) { + constructor() { this.accessToken.subscribe((token) => { if (token) { const r = token.grant.scope.r as string[]; this.superadmin.next(r.includes('SUPER_ADMIN')); this.universityadmin.next(r.includes('UNI_ADMIN')); this.login.next(token.grant.scope.a?.l ?? ''); + this.email.next(token.grant.scope.a?.e ?? ''); + this.organizationName.next(token.grant.scope.a?.on ?? ''); } else { this.superadmin.next(false); this.universityadmin.next(false); this.login.next(''); + this.email.next(''); + this.organizationName.next(''); } }); const data = localStorage.getItem(CredentialService.KEY_GRANT); @@ -104,29 +117,25 @@ export class CredentialService { body.set('username', login); body.set('password', password); - this.http - .post('/inse-account/auth/id', body.toString(), { - headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, - }) - .subscribe({ - next: (result) => { - if (this.request != request) return; - const token = { - grant: result, - expiration: result.expires_in * 1000 + now, - }; - this.identityToken.next(token); - localStorage.setItem( - CredentialService.KEY_GRANT, - JSON.stringify(token), - ); - this.refreshAccessToken(token); - }, - error: () => { - if (this.request != request) return; - this.validating.next(false); - }, - }); + this.accountService.getIdentityGrant(login, password).subscribe({ + next: (result) => { + if (this.request != request) return; + const token: TimedIdentityGrant = { + grant: result as any as IdentityGrant, + expiration: result.expires_in * 1000 + now, + }; + this.identityToken.next(token); + localStorage.setItem( + CredentialService.KEY_GRANT, + JSON.stringify(token), + ); + this.refreshAccessToken(token); + }, + error: () => { + if (this.request != request) return; + this.validating.next(false); + }, + }); } public refreshAccessToken(identityToken: TimedIdentityGrant) { @@ -137,20 +146,13 @@ export class CredentialService { const uid = identityToken.grant.scope.a!.i; const org = identityToken.grant.scope.a!.o; - const body = new URLSearchParams(); - body.set('secret', identityToken.grant.access_token); - body.set('account', uid.toString()); - body.set('organization', org.toString()); - - this.http - .post('/inse-account/auth/access', body.toString(), { - headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, - }) + this.accountService + .getAccessGrant(identityToken.grant.access_token, uid, org) .subscribe({ next: (result) => { if (this.request != request) return; - const token = { - grant: result, + const token: TimedAccessGrant = { + grant: result as any as AccessGrant, expiration: result.expires_in * 1000 + now, }; this.accessToken.next(token); @@ -182,6 +184,10 @@ export class CredentialService { this.validating.next(false); } + public registerAccount(data: any): Observable { + return this.accountService.createUser(data); + } + //review: arman (generated fix) public getBearerToken(): Observable { // 1. If we have a valid access token, return it immediately and complete. diff --git a/webapp/src/app/shared/ui/app-layout/app-layout.component.html b/webapp/src/app/shared/ui/app-layout/app-layout.component.html index 1c3a8d9b..cb95bb99 100644 --- a/webapp/src/app/shared/ui/app-layout/app-layout.component.html +++ b/webapp/src/app/shared/ui/app-layout/app-layout.component.html @@ -1,6 +1,8 @@
- + @if ( (credentialService.authenticated | async) && ((credentialService.superadmin | async) || @@ -8,52 +10,69 @@ ) { - + + } - -
- @if ( - mediaQuery.matches && (credentialService.authenticated | async) - ) { - + } + - } - -
- -
- -
-
+
+ +
+ +
+ + }
- @if (resolverState.isResolvingFromOutside('/persons')) { - - } @else if (resolverState.isResolvingFromOutside('/person/')) { - - } @else { - - } +
+ @if (resolverState.isResolvingFromOutside('/persons')) { + + } @else if (resolverState.isResolvingFromOutside('/person/')) { + + } @else if (resolverState.isResolvingFromOutside('/projects/')){ + + } @else { + + } +
+ +
+ +
diff --git a/webapp/src/app/shared/ui/app-layout/app-layout.component.scss b/webapp/src/app/shared/ui/app-layout/app-layout.component.scss index 8311f123..adba06a1 100644 --- a/webapp/src/app/shared/ui/app-layout/app-layout.component.scss +++ b/webapp/src/app/shared/ui/app-layout/app-layout.component.scss @@ -18,7 +18,10 @@ } .content-shell { - min-height: 100%; + display: flex; + flex-direction: column; + height: 100%; + overflow: hidden; background: var(--sg-background); } @@ -34,10 +37,9 @@ mat-toolbar.main { gap: 24px; height: 76px; padding: 0 32px; - background: rgba(255, 255, 255, 0.92); + background: var(--sg-surface-soft); border-bottom: 1px solid var(--sg-border); color: var(--sg-text); - backdrop-filter: blur(16px); box-shadow: none; } @@ -78,14 +80,39 @@ mat-toolbar.main { width: var(--sg-sidebar-width); background: var(--sg-surface); border-right: 1px solid var(--sg-border); + border-radius: 0; box-shadow: none; } +.drawer--collapsed { + width: 76px; +} + .content { - min-height: calc(100svh - 76px); + display: flex; + flex-direction: column; + flex: 1; + overflow-y: auto; background: var(--sg-background); } +.main-content-body { + flex: 1; +} + +.footer-container { + flex-shrink: 0; + padding: 12px 32px; + background: var(--sg-surface-soft); + border-top: 1px solid var(--sg-border); +} + +.footer { + font-size: 12px; + color: var(--sg-text-muted); + text-align: center; +} + @media (max-width: 900px) { mat-toolbar.main { grid-template-columns: auto 1fr auto; @@ -115,7 +142,7 @@ mat-toolbar.main { } .content { - min-height: calc(100svh - 124px); + min-height: 0; } } .search-wrapper { diff --git a/webapp/src/app/shared/ui/app-layout/app-layout.component.ts b/webapp/src/app/shared/ui/app-layout/app-layout.component.ts index 7ac7e077..f0a1e6c1 100644 --- a/webapp/src/app/shared/ui/app-layout/app-layout.component.ts +++ b/webapp/src/app/shared/ui/app-layout/app-layout.component.ts @@ -45,7 +45,10 @@ export class AppLayoutComponent implements OnInit, OnDestroy { protected resolverState = inject(ResolverStateService); mediaQueryListener: () => void; + private readonly sidebarCollapsedStorageKey = 'inse.sidebar.collapsed'; sideNavOpen = false; + sideNavCollapsed = this.readSidebarCollapsedState(); + constructor( public credentialService: CredentialService, public router: Router, @@ -56,6 +59,11 @@ export class AppLayoutComponent implements OnInit, OnDestroy { this.mediaQuery = media.matchMedia('(max-width: 600px)'); this.mediaQueryListener = () => { this.sideNavOpen = !this.mediaQuery.matches; + + if (this.mediaQuery.matches) { + this.sideNavCollapsed = false; + } + changeDetector.detectChanges(); }; } @@ -66,6 +74,26 @@ export class AppLayoutComponent implements OnInit, OnDestroy { } } + private readSidebarCollapsedState(): boolean { + return localStorage.getItem(this.sidebarCollapsedStorageKey) === 'true'; + } + + isSidebarCollapsed(): boolean { + return this.sideNavCollapsed && !this.mediaQuery.matches; + } + + toggleSidebarCollapsed(): void { + if (this.mediaQuery.matches) { + return; + } + + this.sideNavCollapsed = !this.sideNavCollapsed; + localStorage.setItem( + this.sidebarCollapsedStorageKey, + String(this.sideNavCollapsed), + ); + } + ngOnInit() { this.sideNavOpen = !this.mediaQuery.matches; this.mediaQuery.addEventListener('change', this.mediaQueryListener); diff --git a/webapp/src/app/shared/ui/app-menu/app-menu.component.html b/webapp/src/app/shared/ui/app-menu/app-menu.component.html index 942b7cbd..f20b8878 100644 --- a/webapp/src/app/shared/ui/app-menu/app-menu.component.html +++ b/webapp/src/app/shared/ui/app-menu/app-menu.component.html @@ -1,30 +1,71 @@ -
-